'use client' import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' import cn from 'classnames' import { useContext } from 'use-context-selector' import { Plan } from '../type' import { ALL_PLANS, NUM_INFINITE, contactSalesUrl, contractSales, unAvailable } from '../config' import Toast from '../../base/toast' import TooltipPlus from '../../base/tooltip-plus' import { PlanRange } from './select-plan-range' import { HelpCircle } from '@/app/components/base/icons/src/vender/line/general' import { useAppContext } from '@/context/app-context' import { fetchSubscriptionUrls } from '@/service/billing' import { LanguagesSupported } from '@/i18n/language' import I18n from '@/context/i18n' type Props = { currentPlan: Plan plan: Plan planRange: PlanRange canPay: boolean } const KeyValue = ({ label, value, tooltip }: { label: string; value: string | number | JSX.Element; tooltip?: string }) => { return (