1import{r as u,j as e}from"./react-vendor-CHQL15iE.js";import{u as it,a2 as at,a3 as nt,a4 as st,l as I,a5 as rt,a6 as lt,a7 as ot}from"./main-Dck1T9BT.js";import{c as L,aU as Ue,aa as H,G as Re,u as W,aB as Ce,az as Be,aV as J,aC as ct,j as Y,a5 as dt,aW as pt,ae as ut,J as q,aI as X,A as Te,q as K,o as De,h as Ie,b as xt,C as mt,f as bt,X as ft,ap as ht,aT as gt}from"./lucide-BFLOpGdB.js";import"./pdfjs-ji3DqnKJ.js";import"./markdown-W-rE_H7s.js";import"./katex-math-BxKHCrdI.js";const Ee={zh:{title:"Paper2Gal ä¼å",subtitle:"å¤ææ¡£ãè¯é³åé«é¢é
读é½èµ°ä¼åæçã",heroTitle:"è§£éæ´å¤åä½å¯è½",heroSubtitle:"æè®ºæä¸é®åæå¯è¯»ãå¯å¬ãå¯ç©ç Galgame ä½éªã",choosePlan:"éæ©éåä½ çä¼åæ¹æ¡",billingOneTime:"30 天䏿¬¡æ§",billingAutoRenew:"æ¯æèªå¨ç»è´¹",billingSave:"èç 10%",freePlan:"å
è´¹ç",basicPlan:"Basic ä¼å",proPlan:"Pro ä¼å",freePlanDesc:"éåè½»éä½éªåå¶å°é
读",currentPlan:"å½åæ¹æ¡",freeFeatureUses:"åºç¡æ¯æ¥çæé¢åº¦",freeFeatureUpload:"æ¯æ¬¡ä¸ä¼ 1 ä¸ªææ¡£",freeFeatureVoice:"æ¯å¤© 1 次è¯é³",freeFeatureQuestions:"æ¯å¤© 20 æ¬¡å§æ
é®ç",freeFeatureSaves:"æå¤ 100 ä¸ªåæ¡£",compareTitle:"æç对æ¯",faqTitle:"常è§é®é¢",faqSubtitle:"å
³äºè®¡è´¹ãç»è´¹åæçèå´",faqOneTimeQ:"30 天䏿¬¡æ§åèªå¨ç»è´¹æä»ä¹åºå«ï¼",faqOneTimeA:"两è
æçç¸åã30 天䏿¬¡æ§æ¹æ¡å½å临æ¶äº«å 3 æï¼å°æä¸ä¼æ£æ¬¾ï¼èªå¨ç»è´¹ä¿æåä»·æææ£æ¬¾ï¼å¯éæ¶åæ¶ã",faqCancelQ:"å¦ä½åæ¶èªå¨ç»è´¹ï¼",faqCancelA:"ç¹å»é¡µé¢å³ä¸è§â管çè´¦åâè¿å
¥ Stripe Customer Portal åæ¶ãåæ¶åä¸ä¼ç»§ç»æ£æ¬¾ï¼æçä¿çå°å½åè®¡è´¹å¨æç»æã",faqInfinityQ:"Infinity çâæ éå¶âå
æ¬åªäºå
容ï¼",faqInfinityA:"å
æ¬çæãè¯é³ãå¤ææ¡£æ°éãå§æ
é®çãåæ¡£æ°éåè§é¢é¾æ¥è§£æãåæä»¶å¤§å°ãæ¯ææ ¼å¼ãå
容é¿åº¦åå®å
¨é£æ§éå¶ä»ç¶çæã",faqActiveQ:"仿¬¾åå¤ä¹
çæï¼",faqActiveA:"Stripe ç¡®è®¤ä»æ¬¾åé常ä¼ç«å³å¼éãè¥é¡µé¢æ²¡ææ´æ°ï¼å¯è¿å主èååéæ°è¿å
¥ä¼å页ã",faqSwitchQ:"å¯ä»¥ç´æ¥åæ¢ä¼åæ¹æ¡åï¼",faqSwitchA:"ææä¼åæé´ä¸è½éå¤è´ä¹°ã订é
çæ¯ä»æ¹å¼ååæ¶æä½å¯å¨ Stripe 管çï¼ä¸æ¬¡æ§æ¹æ¡ä¸è®¢é
æ¹æ¡ä¸è½å¨ Stripe å
ç´æ¥äºæ¢ã",faqRefundQ:"å¦ä½ç³è¯·é款ï¼",faqRefundA:"ç¹å»å³ä¸è§â鿬¾ç³è¯·âæäº¤åå ãç¬¦åæ¡ä»¶ç订åå¯è½èªå¨é款ï¼å
¶ä»ç³è¯·ä¼è¿å
¥äººå·¥å®¡æ ¸ã",active:"ä¼åææ",login:"ç»å½åè´ä¹°",processing:"æ£å¨æå¼ Stripe...",loading:"å è½½ä¸...",close:"å
³é",validUntil:"æææè³",cancelAtPeriodEnd:"å°æååæ¶",benefitsTitle:"ææä¼åæç",benefitUses:"æ¯æ¥é¢å¤ 30 次çæ",benefitVoice:"æ éå¶è¯é³æ¬¡æ°",benefitPriority:"èªå¨èµ° Pro è¯é³ä¼å
éé",benefitMultiUpload:"å¤ææ¡£ä¸ä¼ ï¼æå¤ 5 个æä»¶",benefitQuestions:"å§æ
å
举æé®çæ¯å¤© 100 次",benefitSaves:"åæ¡£ä¸éæåå° 500 个",benefitVideoParsing:"è§é¢é¾æ¥è§£ææ¯å¤© 15 次",benefitVideoParsingUnlimited:"è§é¢é¾æ¥è§£ææ éå¶",benefitGameUi:"樱è±ä¸å¥ç¹ä¸¤å¥ä¼åä¸å±æ¸¸æ UI",benefitProfileDecoration:"ä¸å±ä¸»é¡µè£
é¥°ãæµç§°æ ·å¼ä¸ä¼åæ è¯",orderTitle:"订å",orderSubtitle:"30 天å¯ä¸æ¬¡æ§è´ä¹°ï¼ä¹å¯éæ©èªå¨ç»è´¹ã",thirtyDay:"30 天ä¼å",autoRenew:"30 天èªå¨ç»è´¹",autoRenewBadge:"乿",promotionBadge:"临æ¶ä¼æ ·3æ",unlimitedThirtyDay:"Infinity ä¼å",unlimitedBadge:"Infinity",unlimitedValueBadge:"æé«æç",oneTime:"䏿¬¡æ§",recurring:"èªå¨ç»è´¹",unlimitedBenefit:"çæãè¯é³ãå§æ
é®çãåæ¡£ãå¤ææ¡£ä¸è§é¢é¾æ¥è§£æå
¨é¨æ éå¶",pay:"廿¯ä»",current:"å½åä¼åä¸å¯éå¤è´ä¹°",billing:"æ¥ç订å / 管çè´¦å",manageBilling:"管çè´¦å",billingLoading:"æ£å¨æå¼è´¦å...",billingError:"æ æ³æå¼è®¢å页é¢ï¼è¯·ç¨åéè¯ã",contactSupport:"èç³»æ¯æ / 鿬¾ç³è¯·",refundRequestShort:"鿬¾ç³è¯·",refundTitle:"鿬¾ç³è¯·",refundEmail:"æ¶æ¬¾é®ç®±",refundReason:"鿬¾åå ",refundReasonPlaceholder:"请说æé款åå ï¼ä¾å¦è¯¯è´ãæ æ³ä½¿ç¨ãéå¤ä»æ¬¾ç",refundSubmit:"æäº¤ç³è¯·",refundSubmitting:"æäº¤ä¸...",refundSuccessManual:"鿬¾ç³è¯·å·²æäº¤ï¼å°è¿å
¥åå°äººå·¥å®¡æ ¸ã",refundError:"æäº¤é款ç³è¯·å¤±è´¥ï¼è¯·ç¨åéè¯ã",note:"èªå¨ç»è´¹ä¿æåä»·ï¼Basic 9 ç¾å
/æãPro 18 ç¾å
/æãInfinity 90 ç¾å
/æï¼å¯å¨ Str
1ipe è´¦å页忶ã",poweredBy:"æ¯ä»å®å
¨ç± Stripe æä¾",secure:"å®å
¨å¯é ",secureSub:"æ¯ä»ä¿¡æ¯å å¯å¤ç",cancelAnytime:"éæ¶åæ¶",cancelAnytimeSub:"订é
å¯å¨ Stripe è´¦æ·ä¸åæ¶",privacy:"éç§ä¿æ¤",privacySub:"æä»¬ä¸ä¼åå¨ä½ çæ¯ä»ä¿¡æ¯",support:"ä¸å±æ¯æ",supportSub:"ä¼åé®é¢ä¼å
å¤ç",back:"è¿å",checkoutError:"æ æ³å建æ¯ä»ä¼è¯ï¼è¯·ç¨åéè¯ã"},en:{title:"Paper2Gal Membership",subtitle:"Member benefits for multi-document uploads, voice, and frequent reading.",heroTitle:"Unlock more creation",heroSubtitle:"Turn papers into readable, listenable, playable Galgame experiences.",choosePlan:"Choose your membership plan",billingOneTime:"30-day one-time",billingAutoRenew:"Monthly auto-renew",billingSave:"Save 10%",freePlan:"Free",basicPlan:"Basic",proPlan:"Pro",freePlanDesc:"For light use and occasional reading",currentPlan:"Current plan",freeFeatureUses:"Base daily generation quota",freeFeatureUpload:"Upload 1 document at a time",freeFeatureVoice:"1 voice session per day",freeFeatureQuestions:"20 in-story questions per day",freeFeatureSaves:"Up to 100 saves",compareTitle:"Benefit comparison",faqTitle:"Frequently Asked Questions",faqSubtitle:"Billing, renewals, and benefit coverage",faqOneTimeQ:"What is the difference between one-time and auto-renew?",faqOneTimeA:"Benefits are identical. One-time 30-day plans are temporarily 70% off with no further charge; auto-renew remains at its regular monthly price and can be cancelled anytime.",faqCancelQ:"How do I cancel auto-renewal?",faqCancelA:"Select Manage Billing at the top right to open the Stripe Customer Portal. Cancellation stops future charges while benefits remain active through the current billing period.",faqInfinityQ:"What does unlimited mean for Infinity?",faqInfinityA:"It covers generations, voice, document count, in-story questions, saves, and video transcriptions. Per-file size, supported formats, content length, and safety controls still apply.",faqActiveQ:"When do benefits become active?",faqActiveA:"Benefits normally activate as soon as Stripe confirms payment. If the page has not refreshed, return to the main menu and reopen Membership.",faqSwitchQ:"Can I switch plans directly?",faqSwitchA:"You cannot purchase another plan while a membership is active. Stripe can manage payment methods and cancellation, but one-time purchases cannot be converted directly into subscriptions.",faqRefundQ:"How do I request a refund?",faqRefundA:"Select Refund Request at the top right and provide a reason. Eligible orders may be refunded automatically; other requests are reviewed manually.",active:"Membership active",login:"Log in to buy",processing:"Opening Stripe...",loading:"Loading...",close:"Close",validUntil:"Valid until",cancelAtPeriodEnd:"cancels at period end",benefitsTitle:"All member benefits",benefitUses:"+30 daily generations",benefitVoice:"Unlimited voice usage",benefitPriority:"Automatic Pro priority voice queue",benefitMultiUpload:"Multi-document upload, up to 5 files",benefitQuestions:"100 in-story questions per day",benefitSaves:"Save limit increased to 500",benefitVideoParsing:"15 video transcriptions per day",benefitVideoParsingUnlimited:"Unlimited video transcriptions",benefitGameUi:"Exclusive Sakura and Gothic game UI presets",benefitProfileDecoration:"Exclusive profile, name style, and member badge",orderTitle:"Order",orderSubtitle:"Choose a one-time 30-day plan or auto-renewal.",thirtyDay:"30-day membership",autoRenew:"30-day auto-renew",autoRenewBadge:"10% off",promotionBadge:"Limited-time 70% off",unlimitedThirtyDay:"Infinity",unlimitedBadge:"Infinity",unlimitedValueBadge:"Maximum access",oneTime:"One-time",recurring:"Recurring",unlimitedBenefit:"Unlimited generations, voice, questions, saves, document uploads, and video transcriptions",pay:"Checkout",current:"Already active",billing:"View orders / Manage billing",manageBilling:"Manage billing",billingLoading:"Opening billing...",billingError:"Could not open billing portal. Please try again.",contactSupport:"Contact support / Refund request",refundRequestShort:"Refund request",refundTitle:"Refund request",refundEmail:"Email",refundReason:"Reason",refundReasonPlaceholder:"Tell us why you need a refund, e.g. accidental purchase, unable to use, duplicate payment.",refundSubmit:"Submit request",refundSubmitting:"Submitting...",refundSuccessManual:"Refund request submitted for manual review.",refundError:"Could not submit refund request. Please try again.",note:"Auto-renew remains at its regular price: $9/month for Basic, $18/month for Pro, and $90/month for Infinity. Cancel anytime through Stripe.",poweredBy:"Secure payments by Stripe",secure:"Secure",secureSub:"Encrypted payment processing",cancelAnytime:"C
1ancel anytime",cancelAnytimeSub:"Subscriptions can be cancelled in Stripe",privacy:"Private",privacySub:"We do not store payment details",support:"Priority support",supportSub:"Member issues are handled first",back:"Back",checkoutError:"Could not start checkout. Please try again."},ja:{title:"Paper2Gal ã¡ã³ãã¼ã·ãã",subtitle:"è¤æ°ããã¥ã¡ã³ãã»é³å£°ã»é«é »åº¦ã®èªæ¸ã¯ã¡ã³ãã¼ç¹å
¸ã§ã",heroTitle:"ãããªãåµä½ã®å¯è½æ§ãè§£æ¾",heroSubtitle:"è«æãã¯ã³ã¯ãªãã¯ã§ãèªãã»è´ãã»éã¶ãã®ã£ã«ã²ã¼ä½é¨ã¸ã",choosePlan:"ããªãã«åã£ããã©ã³ãé¸ã¶",billingOneTime:"30æ¥ è²·ãåã",billingAutoRenew:"æé¡èªåæ´æ°",billingSave:"10%ãå¾",freePlan:"ç¡æç",basicPlan:"Basic ã¡ã³ãã¼",proPlan:"Pro ã¡ã³ãã¼",freePlanDesc:"æ°è»½ãªä½é¨ããã¾ã®èªæ¸ã«",currentPlan:"ç¾å¨ã®ãã©ã³",freeFeatureUses:"åºæ¬ã®1æ¥çææ ",freeFeatureUpload:"ã¢ãããã¼ãã¯1å1ä»¶",freeFeatureVoice:"é³å£°ã¯1æ¥1å",freeFeatureQuestions:"ã¹ãã¼ãªã¼è³ªåã¯1æ¥20å",freeFeatureSaves:"ã»ã¼ãã¯æå¤§100ä»¶",compareTitle:"ç¹å
¸æ¯è¼",faqTitle:"ãããã質å",faqSubtitle:"課éã»æ´æ°ã»ç¹å
¸ç¯å²ã«ã¤ãã¦",faqOneTimeQ:"30æ¥è²·ãåãã¨èªåæ´æ°ã®éãã¯ï¼",faqOneTimeA:"ç¹å
¸å
容ã¯åãã§ãã30æ¥è²·ãåããã©ã³ã¯æééå®70%ãªãã§ããèªåæ´æ°ã¯éå¸¸ä¾¡æ ¼ã§æ¯æèª²éããããã¤ã§ãè§£ç´ã§ãã¾ãã",faqCancelQ:"èªåæ´æ°ã®è§£ç´æ¹æ³ã¯ï¼",faqCancelA:"å³ä¸ã®ããæ¯æã管çãããStripeã«ã¹ã¿ãã¼ãã¼ã¿ã«ã§è§£ç´ã§ãã¾ããè§£ç´å¾ã¯èª²éããããç¹å
¸ã¯ç¾å¨ã®è«æ±æéã®çµäºã¾ã§æå¹ã§ãã",faqInfinityQ:"Infinityã®ãç¡å¶éãã«å«ã¾ãããã®ã¯ï¼",faqInfinityA:"çæã»é³å£°ã»ãã«ãããã¥ã¡ã³ãæ°ã»ã¹ãã¼ãªã¼è³ªåã»ã»ã¼ãæ°ã»åç»ãªã³ã¯è§£æã対象ã§ãããã¡ã¤ã«ãµã¤ãºã»å¯¾å¿å½¢å¼ã»ã³ã³ãã³ãé·ã»å®å
¨å¶éã¯å¼ãç¶ãé©ç¨ããã¾ãã",faqActiveQ:"æ¯æãå¾ã©ããããã§æå¹ã«ãªãï¼",faqActiveA:"Stripeã®æ¯æã確èªå¾ãé常ããã«æå¹ã«ãªãã¾ãããã¼ã¸ãæ´æ°ãããªãå ´åã¯ãã¡ã¤ã³ã¡ãã¥ã¼ã«æ»ã£ã¦ã¡ã³ãã¼ãã¼ã¸ãéãç´ãã¦ãã ããã",faqSwitchQ:"ãã©ã³ãç´æ¥åãæ¿ããããï¼",faqSwitchA:"ã¡ã³ãã¼æå¹æéä¸ã¯éè¤è³¼å
¥ã§ãã¾ãããæ¯æãæ¹æ³ãè§£ç´ã¯Stripeã§ç®¡çã§ãã¾ãããè²·ãåãã¨å®æè³¼èªã®ç´æ¥ã®ç¸äºå¤æã¯ã§ãã¾ããã",faqRefundQ:"è¿éç³è«ã®æ¹æ³ã¯ï¼",faqRefundA:"å³ä¸ã®ãè¿éç³è«ãããçç±ãéä¿¡ãã¦ãã ãããæ¡ä»¶ãæºããæ³¨æã¯èªåè¿éãããå ´åãããããã®ä»ã¯åå¥å¯©æ»ã«ãªãã¾ãã",active:"ã¡ã³ãã¼æå¹",login:"ãã°ã¤ã³ãã¦è³¼å
¥",processing:"Stripeãéãã¦ãã¾ã...",loading:"èªã¿è¾¼ã¿ä¸...",close:"éãã",validUntil:"æå¹æé",cancelAtPeriodEnd:"æéçµäºå¾ã«è§£ç´",benefitsTitle:"ãã¹ã¦ã®ã¡ã³ãã¼ç¹å
¸",benefitUses:"1æ¥è¿½å 30åçæ",benefitVoice:"é³å£°åæ°ç¡å¶é",benefitPriority:"èªåã§Proé³å£°åªå
ã¬ã¼ã³",benefitMultiUpload:"ãã«ãããã¥ã¡ã³ããæå¤§5ãã¡ã¤ã«",benefitQuestions:"ã¹ãã¼ãªã¼è³ªå1æ¥100å",benefitSaves:"ã»ã¼ãä¸é500ä»¶ã«æ¡å¤§",benefitVideoParsing:"åç»ãªã³ã¯è§£æ1æ¥15å",benefitVideoParsingUnlimited:"åç»ãªã³ã¯è§£æç¡å¶é",benefitGameUi:"æ¡ã»ã´ã·ãã¯ã®2種ã®ã¡ã³ãã¼éå®ã²ã¼ã UI",benefitProfileDecoration:"éå®ãããã£ã¼ã«è£
飾ã»ãã¼ã ã¹ã¿ã¤ã«ã»ã¡ã³ãã¼ããã¸",orderTitle:"注æ",orderSubtitle:"30æ¥è²·ãåããèªåæ´æ°ãé¸ã¹ã¾ãã",thirtyDay:"30æ¥ã¡ã³ãã¼",autoRenew:"30æ¥èªåæ´æ°",autoRenewBadge:"10%ãªã",promotionBadge:"æééå®70%ãªã",unlimitedThirtyDay:"Infinityã¡ã³ãã¼",unlimitedBadge:"Infinity",unlimitedValueBadge:"æé«ç¹å
¸",oneTime:"è²·ãåã",recurring:"èªåæ´æ°",unlimitedBenefit:"çæã»é³å£°ã»ã¹ãã¼ãªã¼è³ªåã»ã»ã¼ãã»ãã«ãããã¥ã¡ã³ãã»åç»ãªã³ã¯è§£æãã¹ã¦ç¡å¶é",pay:"æ¯æãã¸",current:"ç¾å¨ã®ã¡ã³ãã¼ã¯åè³¼å
¥ã§ãã¾ãã",billing:"注æç¢ºèª / ãæ¯æã管ç",manageBilling:"ãæ¯æã管ç",billingLoading:"ãæ¯æãç»é¢ãéãã¦ãã¾ã...",billingError:"注æãã¼ã¸ãéãã¾ããã§ããããã°ãããã¦ããã試ããã ããã",contactSupport:"ãµãã¼ã / è¿éç³è«",refundRequestShort:"è¿éç³è«",refundTitle:"è¿éç³è«",refundEmail:"ååã¡ã¼ã«ã¢ãã¬ã¹",refundReason:"è¿éçç±",refundReasonPlaceholder:"誤購å
¥ã»å©ç¨ä¸å¯ã»éè¤æ±ºæ¸ãªã©ãè¿éçç±ããè¨å
¥ãã ãã",refundSubmit:"ç³è«ãéä¿¡",refundSubmitting:"éä¿¡ä¸...",refundSuccessManual:"è¿éç³è«ãéä¿¡ãã¾ãããåå¥å¯©æ»ã«é²ã¿ã¾ãã",refundError:"è¿éç³è«ãéä¿¡ã§ãã¾ããã§ããããã°ãããã¦ããã試ããã ããã",note:"èªåæ´æ°ã¯éå¸¸ä¾¡æ ¼ï¼Basicã¯æé¡9ãã«ãProã¯æé¡18ãã«ãInfinityã¯æé¡90ãã«ãStripeã®è«æ±ãã¼ã¸ã§è§£ç´ã§ãã¾ãã",poweredBy:"Stripeã«ããå®å
¨ãªæ±ºæ¸",secure:"å®å
¨ã»å®å¿",secureSub:"æ±ºæ¸æ
å ±ã¯æå·åå¦ç",cancelAnytime:"ãã¤ã§ãè§£ç´",cancelAnytimeSub:"è³¼èªã¯Stripeã¢ã«ã¦ã³ãã§è§£ç´å¯è½",privacy:"ãã©ã¤ãã·ã¼ä¿è·",privacySub:"æ±ºæ¸æ
å ±ã¯ä¿åãã¾ãã",support:"å°å±ãµãã¼ã",supportSub:"ã¡ã³ãã¼ã®åãåãããåªå
対å¿",back:"æ»ã",checkoutError:"決æ¸ã»ãã·ã§ã³ã使ã§ãã¾ããã§ããããã°ãããã¦ããã試ããã ããã"},ru:{title:"ÐодпиÑка Paper2Gal",subtitle:"ÐÑлÑÑидокÑменÑÑ, озвÑÑка и ÑаÑÑое ÑÑение â по подпиÑке.",heroTitle:"ÐÑкÑойÑе болÑÑе возможноÑÑей Ð´Ð»Ñ ÑвоÑÑеÑÑва",heroSubtitle:"ÐÑевÑаÑайÑе ÑÑаÑÑи в геймлайÑ: ÑиÑайÑе, ÑлÑÑайÑе, игÑайÑе.",choosePlan:"ÐÑбеÑиÑе подÑ
одÑÑий план",billingOneTime:"30 дней Ñазово",b
1illingAutoRenew:"ÐвÑопÑодление ежемеÑÑÑно",billingSave:"Скидка 10%",freePlan:"ÐеÑплаÑнÑй",basicPlan:"Basic",proPlan:"Pro",freePlanDesc:"ÐÐ»Ñ Ð»Ñгкого иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¸ ÑÑÐµÐ½Ð¸Ñ Ð²ÑÐµÐ¼Ñ Ð¾Ñ Ð²Ñемени",currentPlan:"ТекÑÑий план",freeFeatureUses:"ÐÐ°Ð·Ð¾Ð²Ð°Ñ Ð´Ð½ÐµÐ²Ð½Ð°Ñ ÐºÐ²Ð¾Ñа генеÑаÑий",freeFeatureUpload:"1 докÑÐ¼ÐµÐ½Ñ Ð·Ð° загÑÑзкÑ",freeFeatureVoice:"1 озвÑÑка в денÑ",freeFeatureQuestions:"20 вопÑоÑов в ÑÑжеÑе в денÑ",freeFeatureSaves:"Ðо 100 ÑоÑ
Ñанений",compareTitle:"СÑавнение пÑеимÑÑеÑÑв",faqTitle:"ЧаÑÑÑе вопÑоÑÑ",faqSubtitle:"ÐплаÑа, пÑодление и покÑÑÑие пÑеимÑÑеÑÑв",faqOneTimeQ:"Чем ÑазовÑй план на 30 дней оÑлиÑаеÑÑÑ Ð¾Ñ Ð°Ð²ÑопÑодлениÑ?",faqOneTimeA:"ÐÑеимÑÑеÑÑва одинаковÑ. РазовÑе Ð¿Ð»Ð°Ð½Ñ Ð½Ð° 30 дней вÑеменно пÑодаÑÑÑÑ Ñо Ñкидкой 70%; авÑопÑодление оÑÑаÑÑÑÑ Ð¿Ð¾ обÑÑной ежемеÑÑÑной Ñене и оÑменÑеÑÑÑ Ð² лÑбой моменÑ.",faqCancelQ:"Ðак оÑмениÑÑ Ð°Ð²ÑопÑодление?",faqCancelA:"ÐажмиÑе «УпÑавление оплаÑой» в пÑавом веÑÑ
нем ÑÐ³Ð»Ñ Ð¸ оÑмениÑе в Stripe Customer Portal. СпиÑÐ°Ð½Ð¸Ñ Ð¿ÑекÑаÑÑÑÑÑ, пÑеимÑÑеÑÑва ÑоÑ
ÑанÑÑÑÑ Ð´Ð¾ конÑа ÑекÑÑего пеÑиода.",faqInfinityQ:"ЧÑо вÑ
Ð¾Ð´Ð¸Ñ Ð² «безлимиÑ» Infinity?",faqInfinityA:"ÐенеÑаÑии, озвÑÑка, колиÑеÑÑво докÑменÑов, вопÑоÑÑ Ð² ÑÑжеÑе, ÑоÑ
ÑÐ°Ð½ÐµÐ½Ð¸Ñ Ð¸ ÑаÑпознавание видео по ÑÑÑлке. ÐгÑаниÑÐµÐ½Ð¸Ñ Ð½Ð° ÑÐ°Ð·Ð¼ÐµÑ Ñайла, ÑоÑмаÑÑ, Ð´Ð»Ð¸Ð½Ñ ÐºÐ¾Ð½ÑенÑа и пÑавила безопаÑноÑÑи ÑоÑ
ÑанÑÑÑÑÑ.",faqActiveQ:"Ðогда акÑивиÑÑÑÑÑÑ Ð¿ÑеимÑÑеÑÑва поÑле оплаÑÑ?",faqActiveA:"ÐбÑÑно ÑÑÐ°Ð·Ñ Ð¿Ð¾Ñле подÑвеÑÐ¶Ð´ÐµÐ½Ð¸Ñ Ð¿Ð»Ð°Ñежа Stripe. ÐÑли ÑÑÑаниÑа не обновилаÑÑ, веÑниÑеÑÑ Ð² главное Ð¼ÐµÐ½Ñ Ð¸ оÑкÑойÑе ÑÑÑаниÑÑ Ð¿Ð¾Ð´Ð¿Ð¸Ñки заново.",faqSwitchQ:"Ðожно ли ÑÑÐ°Ð·Ñ ÑмениÑÑ Ð¿Ð»Ð°Ð½?",faqSwitchA:"ÐÑи акÑивной подпиÑке повÑоÑÐ½Ð°Ñ Ð¿Ð¾ÐºÑпка невозможна. СпоÑÐ¾Ð±Ñ Ð¾Ð¿Ð»Ð°ÑÑ Ð¸ оÑмена ÑпÑавлÑÑÑÑÑ Ð² Stripe; ÑазовÑй план и подпиÑка напÑÑмÑÑ Ð½Ðµ конвеÑÑиÑÑÑÑÑÑ.",faqRefundQ:"Ðак запÑоÑиÑÑ Ð²Ð¾Ð·Ð²ÑаÑ?",faqRefundA:"ÐажмиÑе «ÐапÑÐ¾Ñ Ð½Ð° возвÑаÑ» в пÑавом веÑÑ
нем ÑÐ³Ð»Ñ Ð¸ ÑкажиÑе пÑиÑинÑ. ÐодÑ
одÑÑие Ð·Ð°ÐºÐ°Ð·Ñ Ð¼Ð¾Ð³ÑÑ Ð±ÑÑÑ Ð²Ð¾Ð·Ð²ÑаÑÐµÐ½Ñ Ð°Ð²ÑомаÑиÑеÑки, оÑÑалÑнÑе заÑвки ÑаÑÑмаÑÑиваÑÑÑÑ Ð²ÑÑÑнÑÑ.",active:"ÐодпиÑка акÑивна",login:"ÐойдиÑе, ÑÑÐ¾Ð±Ñ ÐºÑпиÑÑ",processing:"ÐÑкÑÑваем Stripe...",loading:"ÐагÑÑзка...",close:"ÐакÑÑÑÑ",validUntil:"ÐейÑÑвÑÐµÑ Ð´Ð¾",cancelAtPeriodEnd:"оÑмена в конÑе пеÑиода",benefitsTitle:"ÐÑе пÑеимÑÑеÑÑва подпиÑки",benefitUses:"+30 генеÑаÑий в денÑ",benefitVoice:"ÐезлимиÑÐ½Ð°Ñ Ð¾Ð·Ð²ÑÑка",benefitPriority:"ÐвÑомаÑиÑеÑкий пÑиоÑиÑÐµÑ Pro-оÑеÑеди озвÑÑки",benefitMultiUpload:"ÐÑлÑÑизагÑÑзка до 5 Ñайлов",benefitQuestions:"100 вопÑоÑов в ÑÑжеÑе в денÑ",benefitSaves:"ÐÐ¸Ð¼Ð¸Ñ ÑоÑ
Ñанений ÑвелиÑен до 500",benefitVideoParsing:"15 ÑаÑпознаваний видео по ÑÑÑлке в денÑ",benefitVideoParsingUnlimited:"ÐезлимиÑное ÑаÑпознавание видео по ÑÑÑлке",benefitGameUi:"ÐкÑклÑзивнÑе игÑовÑе UI «СакÑÑа» и «ÐоÑика
1»",benefitProfileDecoration:"ÐкÑклÑзивное оÑоÑмление пÑоÑилÑ, ÑÑÐ¸Ð»Ñ Ð½Ð¸ÐºÐ° и знаÑок",orderTitle:"Ðаказ",orderSubtitle:"30 дней Ñазово или Ñ Ð°Ð²ÑопÑодлением.",thirtyDay:"ÐодпиÑка на 30 дней",autoRenew:"ÐвÑопÑодление 30 дней",autoRenewBadge:"â10%",promotionBadge:"ÐÑеменно â70%",unlimitedThirtyDay:"Infinity",unlimitedBadge:"Infinity",unlimitedValueBadge:"ÐакÑимÑм пÑеимÑÑеÑÑв",oneTime:"Разово",recurring:"ÐвÑопÑодление",unlimitedBenefit:"ÐезлимиÑ: генеÑаÑии, озвÑÑка, вопÑоÑÑ, ÑоÑ
ÑанениÑ, докÑменÑÑ Ð¸ ÑаÑпознавание видео",pay:"РоплаÑе",current:"ÐейÑÑвÑÑÑÑÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÐºÑ Ð½ÐµÐ»ÑÐ·Ñ ÐºÑпиÑÑ Ð¿Ð¾Ð²ÑоÑно",billing:"ÐÐ°ÐºÐ°Ð·Ñ / УпÑавление оплаÑой",manageBilling:"УпÑавление оплаÑой",billingLoading:"ÐÑкÑÑваем оплаÑÑ...",billingError:"Ðе ÑдалоÑÑ Ð¾ÑкÑÑÑÑ ÑÑÑаниÑÑ Ð·Ð°ÐºÐ°Ð·Ð°. ÐопÑобÑйÑе позже.",contactSupport:"ÐоддеÑжка / ÐозвÑаÑ",refundRequestShort:"ÐозвÑаÑ",refundTitle:"ÐапÑÐ¾Ñ Ð½Ð° возвÑаÑ",refundEmail:"Email Ð´Ð»Ñ Ð²Ð¾Ð·Ð²ÑаÑа",refundReason:"ÐÑиÑина возвÑаÑа",refundReasonPlaceholder:"ÐпиÑиÑе пÑиÑинÑ: оÑибоÑÐ½Ð°Ñ Ð¿Ð¾ÐºÑпка, не ÑабоÑаеÑ, двойное ÑпиÑание и Ñ.д.",refundSubmit:"ÐÑпÑавиÑÑ Ð·Ð°ÑвкÑ",refundSubmitting:"ÐÑпÑавка...",refundSuccessManual:"ÐаÑвка на возвÑÐ°Ñ Ð¾ÑпÑавлена и бÑÐ´ÐµÑ ÑаÑÑмоÑÑена вÑÑÑнÑÑ.",refundError:"Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ Ð·Ð°ÑвкÑ. ÐопÑобÑйÑе позже.",note:"ÐвÑопÑодление оÑÑаÑÑÑÑ Ð¿Ð¾ обÑÑной Ñене: Basic $9/меÑ, Pro $18/меÑ, Infinity $90/меÑ. ÐÑмена â на ÑÑÑаниÑе оплаÑÑ Stripe.",poweredBy:"ÐезопаÑнÑе плаÑежи ÑеÑез Stripe",secure:"ÐадÑжно",secureSub:"ÐлаÑÑжнÑе даннÑе заÑиÑÑованÑ",cancelAnytime:"ÐÑмена в лÑбой моменÑ",cancelAnytimeSub:"ÐодпиÑÐºÑ Ð¼Ð¾Ð¶Ð½Ð¾ оÑмениÑÑ Ð² Stripe",privacy:"ÐÑиваÑноÑÑÑ",privacySub:"ÐÑ Ð½Ðµ Ñ
Ñаним плаÑÑжнÑе даннÑе",support:"ÐÑиоÑиÑеÑÐ½Ð°Ñ Ð¿Ð¾Ð´Ð´ÐµÑжка",supportSub:"ÐопÑоÑÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑиков обÑабаÑÑваÑÑÑÑ Ð¿ÐµÑвÑми",back:"Ðазад",checkoutError:"Ðе ÑдалоÑÑ ÑоздаÑÑ Ð¿Ð»Ð°ÑÑжнÑÑ ÑеÑÑиÑ. ÐопÑобÑйÑе позже."}},yt=f=>Ee[f]??Ee.en,wt=f=>({zh:"zh-CN",en:"en-US",ja:"ja-JP",ru:"ru-RU"})[f]||"en-US",Me=f=>{const o=Math.max(0,Number(f)||0)/100;return o%1===0?`$${o.toFixed(0)}`:`$${o.toFixed(2)}`},Ut=({language:f,user:o,onBack:ze,onLogin:m})=>{var fe,he;const P=it(),t=yt(f),i=(n,s,r,d)=>f==="zh"?n:f==="ja"?r:f==="ru"?d:s,[a,S]=u.useState(null),[Z,ee]=u.useState(!1),[N,te]=u.useState(null),[U,ie]=u.useState(!1),[Qe,Fe]=u.useState("thirty_day"),[v,E]=u.useState("one_time"),[ae,h]=u.useState(null),[Ve,M]=u.useState(!1),[z,Q]=u.useState((o==null?void 0:o.email)||""),[ne,se]=u.useState(""),[R,re]=u.useState(!1),[le,A]=u.useState(null),[c,$e]=u.useState(at),[x,Oe]=u.useState({channel:"web"}),[C,F]=u.useState("alipay"),[B,oe]=u.useState(!1);u.useEffect(()=>{let n=!0;return nt().then(async s=>{var r,d;if(n&&($e(s),s==="direct"&&E("one_time"),s!=="web"))try{const l=await st();if(!n)return;Oe(l),s==="direct"&&!((r=l.direct)!=null&&r.alipay)&&((d=l.direct)!=null&&d.wechat)&&F("wechat")}catch(l){n&&h((l==null?void 0:l.message)||"Unable to load mobile billing")}}),()=>{n=!1}},[]);const ce=async()=>{if(!o){S(null);return}const n=localStorage.getItem("p2g_token");if(n){ee(!0);try{const s=await I("/api/membership/status",{headers:{Authorization:`Bearer ${n}`}});if(s.status===401){m();return}const r=await s.json().catch(()=>({}));s.ok&&S(r.membership||null)}finally{ee(!1)}}},de=async()=>{const n=localStorage.getItem("p2g_token");if(!o||!n){m();return}oe(!0),h(null);
1try{const s=c==="apple"?await rt({token:n,catalog:x}):await lt({userId:o.id,token:n,catalog:x});S(s)}catch(s){h((s==null?void 0:s.message)||"Unable to restore store purchase")}finally{oe(!1)}};u.useEffect(()=>{ce()},[o==null?void 0:o.id]),u.useEffect(()=>{o!=null&&o.email&&Q(o.email)},[o==null?void 0:o.email]);const pe=async n=>{if(!o){m();return}const s=n||Qe;if(!(N||a!=null&&a.active)){Fe(s),te(s),h(null);try{const r=localStorage.getItem("p2g_token");if(!r){m();return}if(c!=="web"){if(s==="experience_three_day")throw new Error(i("iOS/Android ååºçæä¸æä¾ 3 天ä½éªå
","The 3-day experience package is not available in the mobile store build yet","ã¢ãã¤ã«ã¹ãã¢çã§ã¯3æ¥éä½é¨ããã¯ãã¾ã æä¾ãã¦ãã¾ãã","ТÑÑÑ
дневнÑй Ð¿Ð°ÐºÐµÑ Ð¿Ð¾ÐºÐ° недоÑÑÑпен в мобилÑной веÑÑии"));const _=await ot({channel:c,plan:c==="direct"?s==="unlimited_monthly_auto_renew"||s==="unlimited_thirty_day"?"unlimited_thirty_day":s==="basic_monthly_auto_renew"||s==="basic_thirty_day"?"basic_thirty_day":"thirty_day":s,userId:o.id,token:r,directProvider:C,catalog:x});S(_);return}const d=s==="monthly_auto_renew"||s==="unlimited_monthly_auto_renew"||s==="basic_monthly_auto_renew"?"subscription":"one_time",l=await I("/api/membership/checkout",{method:"POST",headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/json"},body:JSON.stringify({mode:d,plan:s})}),p=await l.json().catch(()=>({}));if(l.status===401){m();return}if(l.status===409&&(p!=null&&p.membership)){S(p.membership),(p==null?void 0:p.code)==="EXPERIENCE_ALREADY_PURCHASED"&&h(i("æ¯ä¸ªè´¦å·åªè½è´ä¹°ä¸æ¬¡ä½éªå
","The experience package can only be purchased once per account","ä½é¨ããã¯ã¯1ã¢ã«ã¦ã³ãã«ã¤ã1åã®ã¿è³¼å
¥ã§ãã¾ã","ÐÑобнÑй Ð¿Ð°ÐºÐµÑ Ð¼Ð¾Ð¶Ð½Ð¾ кÑпиÑÑ ÑолÑко один Ñаз на аккаÑнÑ"));return}if(!l.ok||!(p!=null&&p.url))throw new Error((p==null?void 0:p.error)||t.checkoutError);window.location.href=p.url}catch(r){h((r==null?void 0:r.message)||t.checkoutError)}finally{te(null)}}},Ge=async()=>{if(!o){m();return}if(!U){ie(!0),h(null);try{const n=localStorage.getItem("p2g_token");if(!n){m();return}const s=await I("/api/membership/billing-portal",{method:"POST",headers:{Authorization:`Bearer ${n}`}}),r=await s.json().catch(()=>({}));if(s.status===401){m();return}if(!s.ok||!(r!=null&&r.url))throw new Error((r==null?void 0:r.error)||t.billingError);window.location.href=r.url}catch(n){h((n==null?void 0:n.message)||t.billingError)}finally{ie(!1)}}},Le=()=>{if(!o){m();return}A(null),h(null),Q(o.email||z),M(!0)},He=()=>{if(c==="apple"){window.open("https://reportaproblem.apple.com/","_blank","noopener,noreferrer");return}Le()},We=async()=>{if(!o){m();return}if(R)return;const n=z.trim(),s=ne.trim();if(!n||!s){A(i("请填åé®ç®±å鿬¾åå ã","Email and reason are required.","ã¡ã¼ã«ã¢ãã¬ã¹ã¨è¿éçç±ãå
¥åãã¦ãã ããã","УкажиÑе email и пÑиÑÐ¸Ð½Ñ Ð²Ð¾Ð·Ð²ÑаÑа."));return}re(!0),A(null);try{const r=localStorage.getItem("p2g_token");if(!r){m();return}const d=await I("/api/membership/refund-request",{method:"POST",headers:{Authorization:`Bearer ${r}`,"Content-Type":"application/json"},body:JSON.stringify({email:n,reason:s})}),l=await d.json().catch(()=>({}));if(d.status===401){m();return}if(!d.ok&&d.status!==202)throw new Error((l==null?void 0:l.error)||t.refundError);A(l!=null&&l.autoRefunded?null:(l==null?void 0:l.message)||t.refundSuccessManual),se(""),ce()}catch(r){A((r==null?void 0:r.message)||t.refundError)}finally{re(!1)}},y={experience_three_day:(a==null?void 0:a.experiencePriceUsdCents)||200,basic_thirty_day:(a==null?void 0:a.basicThirtyDayPriceUsdCents)||300,basic_monthly_auto_renew:(a==null?void 0:a.basicAutoRenewPriceUsdCents)||900,thirty_day:(a==null?void 0:a.thirtyDayPriceUsdCents)||(a==null?void 0:a.priceUsdCents)||600,monthly_auto_renew:(a==null?void 0:a.autoRenewPriceUsdCents)||1800,unlimited_thirty_day:(a==null?void 0:a.unlimitedThirtyDayPriceUsdCents)||3e3,unlimited_monthly_auto_renew:(a==null?void 0:a.unlimitedAutoRenewPriceUsdCents)||9e3},V={basic_thirty_day:(a==null?void 0:a.basicThirtyDayOriginalPriceUsdCents)||1e3,basic_monthly_auto_renew:(a==null?void 0:a.basicAutoRenewOriginalPriceUsdCents)||900,thirty_day:(a==null?void 0:a.thirtyDayOriginalPriceUsdCents)||2e3,monthly_auto_renew:(a==null?void 0:a.autoRenewOriginalPriceUsdCents)||1800,unlimited_thirty_day:(a==null?void 0:a.unlimitedThirtyDayOriginalPriceUsdCents)||1e4,unlimited_monthly_auto_renew:(a==null?void 0:a.unlimitedAutoRenewOriginalPriceUsdCents)||9e3}
1,ue=(a==null?void 0:a.promotionActive)??!0,Je=(a==null?void 0:a.promotionDiscountRate)||.3,w=(n,s)=>{var r,d,l,p,k,_,g,T,j;if(c==="direct"){const b=(l=(d=(r=x.direct)==null?void 0:r.plans)==null?void 0:d[n])==null?void 0:l.amountCents;if(b)return`Â¥${(b/100).toFixed(b%100===0?0:2)}`}if(c==="google"){const b=(_=(k=(p=x.google)==null?void 0:p.plans)==null?void 0:k[n])==null?void 0:_.price;if(b)return b}if(c==="apple"){const b=(j=(T=(g=x.apple)==null?void 0:g.plans)==null?void 0:T[n])==null?void 0:j.price;if(b)return b}return Me(s)},$=(n,s)=>{var r,d,l;if(ue&&!(n==="basic_monthly_auto_renew"||n==="monthly_auto_renew"||n==="unlimited_monthly_auto_renew")){if(c==="direct"){const p=(l=(d=(r=x.direct)==null?void 0:r.plans)==null?void 0:d[n])==null?void 0:l.amountCents;if(p)return`Â¥${(p/Je/100).toFixed(0)}`}if(!(c==="google"||c==="apple"))return Me(s)}},xe=[{id:"experience_three_day",title:i("3 天 Pro ä½éªå
","3-Day Pro Experience","3æ¥é Pro ä½é¨ããã¯","ÐÑобнÑй Pro на 3 днÑ"),price:w("experience_three_day",y.experience_three_day),meta:i("/3 天","/3 days","/3æ¥","/3 днÑ")},{id:"basic_thirty_day",title:t.basicPlan,price:w("basic_thirty_day",y.basic_thirty_day),originalPrice:$("basic_thirty_day",V.basic_thirty_day),meta:t.oneTime},{id:"basic_monthly_auto_renew",title:t.basicPlan,price:w("basic_monthly_auto_renew",y.basic_monthly_auto_renew),meta:t.recurring,badge:t.autoRenewBadge},{id:"thirty_day",title:t.proPlan,price:w("thirty_day",y.thirty_day),originalPrice:$("thirty_day",V.thirty_day),meta:t.oneTime},{id:"monthly_auto_renew",title:t.proPlan,price:w("monthly_auto_renew",y.monthly_auto_renew),meta:t.recurring,badge:t.autoRenewBadge},{id:"unlimited_thirty_day",title:t.unlimitedThirtyDay,price:w("unlimited_thirty_day",y.unlimited_thirty_day),originalPrice:$("unlimited_thirty_day",V.unlimited_thirty_day),meta:t.oneTime},{id:"unlimited_monthly_auto_renew",title:t.unlimitedThirtyDay,price:w("unlimited_monthly_auto_renew",y.unlimited_monthly_auto_renew),meta:t.recurring,badge:t.autoRenewBadge}],Ye=[{icon:L,text:t.benefitUses},{icon:Ue,text:t.benefitVoice},{icon:H,text:t.benefitPriority},{icon:Re,text:t.benefitMultiUpload},{icon:W,text:t.benefitQuestions},{icon:Ce,text:t.benefitSaves},{icon:Be,text:t.benefitVideoParsing},{icon:J,text:t.benefitGameUi},{icon:J,text:t.benefitProfileDecoration}],me={experience_three_day:{sub:i("æ¯ä¸ªè´¦å·ä»
å¯è´ä¹°ä¸æ¬¡","One purchase per account","1ã¢ã«ã¦ã³ãã«ã¤ã1åã®ã¿","Ðдна покÑпка на аккаÑнÑ"),cta:i("ç«å³ä½éª Pro","Try Pro now","Proãä½é¨","ÐопÑобоваÑÑ Pro"),features:[i("宿´ Pro æçï¼è¿ç»ä½¿ç¨ 3 天","Full Pro benefits for 3 consecutive days","Proã®å
¨ç¹å
¸ã3æ¥éå©ç¨å¯è½","ÐÑе пÑеимÑÑеÑÑва Pro на 3 днÑ"),t.benefitVoice,t.benefitMultiUpload,t.benefitVideoParsing]},basic_thirty_day:{sub:i("ä¸å«è¯é³æçï¼å
¶ä½ Pro æçé½å
¨","All Pro benefits except voice perks","é³å£°ç¹å
¸ä»¥å¤ã®Proç¹å
¸ããã¹ã¦å«ã","ÐÑе пÑеимÑÑеÑÑва Pro, кÑоме озвÑÑки"),cta:i("è´ä¹° Basic ä¼å","Buy Basic","Basicã¡ã³ãã¼ãè³¼å
¥","ÐÑпиÑÑ Basic"),features:[t.benefitUses,t.benefitMultiUpload,t.benefitQuestions,t.benefitSaves,t.benefitVideoParsing,t.benefitGameUi,t.benefitProfileDecoration]},basic_monthly_auto_renew:{sub:i("ä¸å«è¯é³æçï¼èªå¨ç»è´¹å¯éæ¶åæ¶","No voice perks, auto-renews, cancel anytime","é³å£°ç¹å
¸ãªãã»èªåæ´æ°ã»ãã¤ã§ãè§£ç´å¯è½","Ðез озвÑÑки, авÑопÑодление, оÑмена в лÑбой моменÑ"),cta:i("订é
Basic","Subscribe Basic","Basicãè³¼èª","ÐÑоÑмиÑÑ Basic"),features:[t.benefitUses,t.benefitMultiUpload,t.benefitQuestions,t.benefitSaves,t.benefitVideoParsing,t.benefitGameUi,t.benefitProfileDecoration]},monthly_auto_renew:{sub:i("èªå¨ç»è´¹ï¼å¯éæ¶åæ¶","Auto-renews, cancel anytime","èªåæ´æ°ã»ãã¤ã§ãè§£ç´å¯è½","ÐвÑопÑодление, оÑмена в лÑбой моменÑ"),cta:i("订é
Pro","Subscribe Pro","Proãè³¼èª","ÐÑоÑмиÑÑ Pro"),featured:!0,features:[t.benefitUses,t.benefitVoice,t.benefitPriority,t.benefitMultiUpload,t.benefitQuestions,t.benefitSaves,t.benefitVideoParsing,t.benefitGameUi,t.benefitProfileDecoration]},thirty_day:{sub:i("ä¸èªå¨ç»è´¹ï¼è´ä¹°åä½¿ç¨ 30 天","One-time payment for 30 days","èªåæ´æ°ãªãã»è³¼å
¥å¾30æ¥éæå¹","Ðез авÑопÑодлениÑ, 30 дней поÑле покÑпки"),cta:i("è´ä¹° 30 å
1¤©ä¼å","Buy 30 days","30æ¥ã¡ã³ãã¼ãè³¼å
¥","ÐÑпиÑÑ 30 дней"),featured:!0,features:[t.benefitUses,t.benefitVoice,t.benefitPriority,t.benefitMultiUpload,t.benefitQuestions,t.benefitSaves,t.benefitVideoParsing,t.benefitGameUi,t.benefitProfileDecoration]},unlimited_thirty_day:{sub:i("䏿¬¡è´ä¹°ï¼30 天å
å
¨é¨æ ¸å¿é¢åº¦æ éå¶","One payment with unlimited core quotas for 30 days","1åã®è³¼å
¥ã§30æ¥éã³ã¢æ ããã¹ã¦ç¡å¶é","Ðдин плаÑÑж â 30 дней безлимиÑнÑÑ
оÑновнÑÑ
квоÑ"),cta:i("è´ä¹° Infinity ä¼å","Buy Infinity","Infinityã¡ã³ãã¼ãè³¼å
¥","ÐÑпиÑÑ Infinity"),features:[t.unlimitedBenefit,t.benefitPriority,t.benefitVideoParsingUnlimited,t.benefitGameUi,t.benefitProfileDecoration]},unlimited_monthly_auto_renew:{sub:i("æ¯æèªå¨ç»è´¹ï¼å¯éæ¶åæ¶","Auto-renews monthly, cancel anytime","æé¡èªåæ´æ°ã»ãã¤ã§ãè§£ç´å¯è½","ÐжемеÑÑÑное авÑопÑодление, оÑмена в лÑбой моменÑ"),cta:i("订é
Infinity","Subscribe Infinity","Infinityãè³¼èª","ÐÑоÑмиÑÑ Infinity"),features:[t.unlimitedBenefit,t.benefitPriority,t.benefitVideoParsingUnlimited,t.benefitGameUi,t.benefitProfileDecoration]}},Xe=[v==="auto_renew"?"basic_monthly_auto_renew":"basic_thirty_day",v==="auto_renew"?"monthly_auto_renew":"thirty_day",v==="auto_renew"?"unlimited_monthly_auto_renew":"unlimited_thirty_day"],O=xe.find(n=>n.id==="experience_three_day"),G=me.experience_three_day,be=(a==null?void 0:a.experienceAvailable)===!1,Ke=[t.freeFeatureUses,t.freeFeatureUpload,t.freeFeatureVoice,t.freeFeatureQuestions,t.freeFeatureSaves],Ze=[{icon:L,label:i("æ¯æ¥çææ¬¡æ°","Daily generations","1æ¥ã®çæåæ°","ÐенеÑаÑии в денÑ"),values:[i("åºç¡é¢åº¦","Base quota","åºæ¬æ ","ÐÐ°Ð·Ð¾Ð²Ð°Ñ ÐºÐ²Ð¾Ñа"),i("åºç¡é¢åº¦ +30","Base quota +30","åºæ¬æ +30","ÐÐ°Ð·Ð¾Ð²Ð°Ñ ÐºÐ²Ð¾Ñа +30"),i("åºç¡é¢åº¦ +30","Base quota +30","åºæ¬æ +30","ÐÐ°Ð·Ð¾Ð²Ð°Ñ ÐºÐ²Ð¾Ñа +30"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ")]},{icon:De,label:i("è¯é³æè¯»","Voice reading","é³å£°èªã¿ä¸ã","ÐзвÑÑка"),values:[i("é 1 次 / 天","1/day","1æ¥1åã¾ã§","1/денÑ"),i("é 1 次 / 天","1/day","1æ¥1åã¾ã§","1/денÑ"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ")]},{icon:H,label:i("è¯é³éé","Voice queue","é³å£°ã¬ã¼ã³","ÐÑеÑÐµÐ´Ñ Ð¾Ð·Ð²ÑÑки"),values:[i("æ å","Standard","æ¨æº","СÑандаÑÑ"),i("æ å","Standard","æ¨æº","СÑандаÑÑ"),i("Pro ä¼å
éé","Pro priority","Proåªå
ã¬ã¼ã³","ÐÑиоÑиÑÐµÑ Pro"),i("Pro ä¼å
éé","Pro priority","Proåªå
ã¬ã¼ã³","ÐÑиоÑиÑÐµÑ Pro")]},{icon:Re,label:i("ææ¡£ä¸ä¼ æ°é","Document uploads","ããã¥ã¡ã³ãã¢ãããã¼ãæ°","ÐагÑÑзка докÑменÑов"),values:[i("1 个","1 file","1ä»¶","1 Ñайл"),i("æå¤ 5 个","Up to 5","æå¤§5ä»¶","Ðо 5"),i("æå¤ 5 个","Up to 5","æå¤§5ä»¶","Ðо 5"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ")]},{icon:W,label:i("å§æ
é®ç次æ°","In-story questions","ã¹ãã¼ãªã¼è³ªååæ°","ÐопÑоÑÑ Ð² ÑÑжеÑе"),values:[i("20 次 / 天","20/day","1æ¥20å","20/денÑ"),i("100 次 / 天","100/day","1æ¥100å","100/денÑ"),i("100 次 / 天","100/day","1æ¥100å","100/денÑ"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ")]},{icon:Ce,label:i("åæ¡£ä¸é","Save limit","ã»ã¼ãä¸é","ÐÐ¸Ð¼Ð¸Ñ ÑоÑ
Ñанений"),values:[i("100 个","100","100ä»¶","100"),i("500 个","500","500ä»¶","500"),i("500 个","500","500ä»¶","500"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ")]},{icon:Be,label:i("è§é¢é¾æ¥è§£æ","Video transcription","åç»ãªã³ã¯è§£æ","РаÑпознавание видео"),values:[i("2 次 / 天","2/day","1æ¥2å","2/денÑ"),i("15 次 / 天","15/day","1æ¥15å","15/денÑ"),i("15 次 / 天","15/day","1æ¥15å","15/денÑ"),i("æ éå¶","Unlimited","ç¡å¶é","ÐезлимиÑ")]},{icon:J,label:i("游æ UI é¢è®¾","Game UI presets","ã²ã¼ã UIããªã»ãã","ÐгÑовÑе UI-пÑеÑеÑÑ"),values:[i("2 å¥å
è´¹","2 free presets","ç¡æ2種","2 беÑплаÑнÑÑ
"),i("é¢å¤ 2 å¥ä¸å±","2 more exclusive presets","追å éå®2種","еÑÑ 2 ÑкÑклÑзивнÑÑ
"),i("é¢å¤ 2 å¥ä¸å±","2 more exclusive presets","追å éå®2種","еÑÑ 2 ÑкÑклÑзивнÑÑ
"),i("å
¨é¨é¢è®¾","All presets","å
¨ããªã»ãã","ÐÑе пÑеÑеÑÑ")]},{icon:K,label:i("个人主页è£
饰","Profile decoration","ãããã£ã¼ã«è£
飾","ÐÑоÑмление пÑоÑилÑ"),values:[i("æ å","Standard","æ¨æº","СÑандаÑÑ"),i("è£
é¥°ãæµç§°ä¸æ è¯","Decoration, name, and badge","è£
飾ã»ãã¼ã ã»ããã¸","ÐÑоÑмление, ник и знаÑок"),i("è£
é¥°ãæµç§°ä¸æ è¯","Decoration, name, and badge","è£
飾ã»ãã¼ã ã»ããã¸","ÐÑоÑмление, ник и знаÑок"),i("è£
é¥°ãæµç§°ä¸æ è¯","Decoration, name, and badge","è£
飾ã»ãã¼ã ã»ããã¸","ÐÑоÑмление, ник и знаÑок")]}],et=c==="apple"?[{question:i("å¦ä½ç®¡çæåæ¶ App Store 订é
ï¼","How do I manage or cancel an App Store subscription?","App Storeã®ãµãã¹ã¯ãªãã·ã§ã³ã管çã»è§£ç´ããã«ã¯ï¼","Ðак ÑпÑавлÑÑÑ Ð¿Ð¾Ð´Ð¿Ð¸Ñкой App Store или оÑмениÑÑ ÐµÐµ?"),answer:i("æå¼è®¾å¤â设置âï¼éæ© Apple IDï¼åè¿å
¥â订é
â管ç Paper2Galãåæ¶åæçä¿çå°å½åå¨æç»æã","Open device Settings, select your Apple ID, then Subscriptions to manage Paper2Gal. Benefits remain active through the current billing period after cancellation.","端æ«ã®ãè¨å®ãã§Apple IDã鏿ããããµãã¹ã¯ãªãã·ã§ã³ãããPaper2Galã管çã§ãã¾ããè§£ç´å¾ãç¾å¨ã®æéçµäºã¾ã§ç¹å
¸ãå©ç¨ã§ãã¾ãã","ÐÑкÑойÑе наÑÑÑойки ÑÑÑÑойÑÑва, вÑбеÑиÑе Apple ID, заÑем «ÐодпиÑки». ÐоÑле оÑÐ¼ÐµÐ½Ñ Ð¿ÑеимÑÑеÑÑва ÑоÑ
ÑанÑÑÑÑÑ Ð´Ð¾ конÑа ÑекÑÑего пеÑиода.")},{question:i("å¦ä½æ¢å¤è´ä¹°ï¼","How do I restore purchases?","è³¼å
¥ã復å
ããã«ã¯ï¼","Ðак воÑÑÑановиÑÑ Ð¿Ð¾ÐºÑпки?"),answer:i("使ç¨å Apple ID åå Paper2Gal è´¦å·ç»å½ï¼ç¶åç¹å»æ¬é¡µâæ¢å¤è´ä¹°âã","Sign in with the original Apple ID and Paper2Gal account, then select Restore Purchases on this page.","è³¼å
¥æã®Apple IDã¨Paper2Galã¢ã«ã¦ã³ãã§ãã°ã¤ã³ãããã®ãã¼ã¸ã®ãè³¼å
¥ã復å
ãã鏿ãã¦ãã ããã","ÐойдиÑе Ñ Ð¸ÑÑ
однÑм Apple ID и аккаÑнÑом Paper2Gal, заÑем вÑбеÑиÑе «ÐоÑÑÑановиÑÑ Ð¿Ð¾ÐºÑпки» на ÑÑой ÑÑÑаниÑе.")},{question:i("å¦ä½ç³è¯· App Store 鿬¾ï¼","How do I request an App Store refund?","App Storeã®è¿éãç³è«ããã«ã¯ï¼","Ðак запÑоÑиÑÑ Ð²Ð¾Ð·Ð²ÑÐ°Ñ App Store?"),answer:i("App Store 订åç± Apple å¤çï¼è¯·ç¹å»é¡µé¢å³ä¸è§â鿬¾ç³è¯·âè¿å
¥ Apple çâæ¥åé®é¢â页é¢ã","App Store orders are handled by Apple. Select Refund Request at the top right to open Apple Report a Problem.","App Storeã®æ³¨æã¯Appleãå¦çãã¾ããå³ä¸ã®ãè¿éç³è«ãããAppleã®ãåé¡ãå ±åããéãã¦ãã ããã","Ðаказ
1Ñ App Store обÑабаÑÑÐ²Ð°ÐµÑ Apple. ÐажмиÑе «ÐапÑÐ¾Ñ Ð²Ð¾Ð·Ð²ÑаÑа» ввеÑÑ
Ñ ÑпÑава, ÑÑÐ¾Ð±Ñ Ð¾ÑкÑÑÑÑ Apple Report a Problem.")}]:[{question:t.faqOneTimeQ,answer:t.faqOneTimeA},{question:t.faqCancelQ,answer:t.faqCancelA},{question:t.faqInfinityQ,answer:t.faqInfinityA},{question:t.faqActiveQ,answer:t.faqActiveA},{question:t.faqSwitchQ,answer:t.faqSwitchA},{question:t.faqRefundQ,answer:t.faqRefundA}],tt=[{icon:ct,title:t.secure,sub:t.secureSub,tone:"text-pink-500 bg-pink-50 border-pink-100"},{icon:Y,title:t.cancelAnytime,sub:c==="apple"?i("订é
å¯å¨ App Store ä¸åæ¶","Subscriptions can be cancelled in the App Store","App Storeã§ãµãã¹ã¯ãªãã·ã§ã³ãè§£ç´ã§ãã¾ã","ÐодпиÑÐºÑ Ð¼Ð¾Ð¶Ð½Ð¾ оÑмениÑÑ Ð² App Store"):t.cancelAnytimeSub,tone:"text-emerald-500 bg-emerald-50 border-emerald-100"},{icon:dt,title:t.privacy,sub:t.privacySub,tone:"text-violet-500 bg-violet-50 border-violet-100"},{icon:pt,title:t.support,sub:t.supportSub,tone:"text-amber-500 bg-amber-50 border-amber-100"}];return e.jsx("div",{className:"absolute inset-0 z-40 overflow-y-auto bg-[#fff7fb] text-slate-800 font-sans",children:e.jsxs("div",{className:"relative min-h-full overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.14]",style:{backgroundImage:"url(/background.jpg)",backgroundSize:"cover",backgroundPosition:"center"},"aria-hidden":"true"}),e.jsx("div",{className:"absolute inset-0 bg-[linear-gradient(135deg,rgba(255,255,255,0.94),rgba(255,244,250,0.94)_45%,rgba(253,242,248,0.98)),radial-gradient(circle_at_52%_4%,rgba(244,114,182,0.12),transparent_28%),linear-gradient(90deg,rgba(244,114,182,0.06)_1px,transparent_1px),linear-gradient(rgba(244,114,182,0.06)_1px,transparent_1px)] bg-[size:auto,auto,32px_32px,32px_32px]","aria-hidden":"true"}),e.jsx("header",{className:"sticky top-0 z-20 border-b border-pink-100/70 bg-white/82 shadow-sm shadow-pink-100/50 backdrop-blur-xl",children:e.jsxs("div",{className:"mx-auto flex max-w-7xl flex-wrap items-center justify-between gap-2 px-4 py-3 md:px-8",children:[e.jsxs("button",{type:"button",onClick:ze,className:"inline-flex min-h-11 items-center gap-2 rounded-xl border border-pink-100 bg-white px-3 py-2 text-sm font-black text-slate-600 shadow-sm transition hover:border-pink-300 hover:text-pink-600 active:scale-95",children:[e.jsx(ut,{size:16}),t.back]}),e.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[c==="web"&&e.jsxs("button",{type:"button",onClick:Ge,disabled:U,className:"inline-flex min-h-11 items-center gap-2 rounded-xl border border-pink-100 bg-white px-3 py-2 text-sm font-black text-slate-700 shadow-sm transition hover:border-pink-300 hover:text-pink-600 active:scale-95 disabled:text-slate-400",children:[U?e.jsx(q,{size:16,className:"animate-spin"}):e.jsx(X,{size:16}),e.jsx("span",{children:U?t.billingLoading:t.manageBilling})]}),e.jsxs("button",{type:"button",onClick:He,className:"inline-flex min-h-11 items-center gap-2 rounded-xl border border-pink-100 bg-white px-3 py-2 text-sm font-black text-slate-700 shadow-sm transition hover:border-pink-300 hover:text-pink-600 active:scale-95",children:[e.jsx(Te,{size:16}),t.refundRequestShort]})]})]})}),e.jsxs("main",{className:`relative z-10 mx-auto max-w-7xl px-4 pb-10 md:px-8 md:pb-16 ${P?"pt-5":"pt-8"}`,children:[e.jsxs("section",{className:`grid items-center md:grid-cols-[minmax(0,1fr)_420px] ${P?"gap-4":"gap-8 md:py-8"}`,children:[e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"inline-flex items-center gap-3 text-2xl font-black text-slate-950 md:text-3xl",children:[e.jsx("span",{className:"inline-flex h-12 w-12 items-center justify-center rounded-2xl bg-pink-500 text-white shadow-lg shadow-pink-200",children:e.jsx(K,{size:26})}),"Paper2Gal ",e.jsx("span",{className:"text-pink-500",children:"Pro"})]}),e.jsx("h1",{className:"mt-5 max-w-2xl text-3xl font-black leading-tight text-slate-950 md:text-5xl lg:text-6xl",children:i(e.jsxs(e.Fragment,{children:["è§£é",e.jsx("span",{className:"text-pink-500",children:"æ´å¤åä½å¯è½"})]}),e.jsxs(e.Fragment,{children:["Unlock ",e.jsx("span",{className:"text-pink-500",children:"more creation"})]}),e.jsxs(e.Fragment,{children:["ãããªã",e.jsx("span",{className:"text-pink-500",children:"åµä½ã®å¯è½æ§"}),"ãè§£æ¾"]}),e.jsxs(e.Fragment,{children:["ÐÑкÑойÑе ",e.jsx("span",{className:"text-pink-500",children:"болÑÑе возможноÑÑей"})," Ð´Ð»Ñ ÑвоÑÑеÑÑва"]}))}),e.jsx("p",{className:"mt-5 max-w-2xl text-base font-bold leading-relaxed text-slate-500 md:text-lg",children:t.heroSubtitle}),e.jsx("div",{className:"mt-8 grid max-w-2xl gap-4 sm:grid-cols-2",children:Ye.slice(0,4).map(({icon:n,text:s})=>e.jsxs("div",{className:"group flex items-start gap-3",children:[e.jsx("span",{className:"mt-0.5 inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-pink-100 text-pink-500 transition duration-200 group-hover:-translate-y-0.5 group-hover:scale-105 group-hover:bg-pink-500 group-hover:text-white group-hover:shadow-lg group-hover:shadow-
1pink-200",children:e.jsx(n,{size:18})}),e.jsx("span",{className:"text-sm font-black leading-snug text-slate-700 transition group-hover:text-pink-600",children:s})]},s))})]}),e.jsxs("div",{className:`relative min-h-[360px] ${P?"hidden":"hidden md:block"}`,"aria-hidden":"true",children:[e.jsx("div",{className:"absolute left-1/2 top-1/2 h-72 w-72 -translate-x-1/2 -translate-y-1/2 rounded-full border-[28px] border-pink-100/80 bg-white/65 shadow-[0_30px_100px_rgba(236,72,153,0.25)]"}),e.jsxs("div",{className:"absolute left-1/2 top-1/2 flex h-56 w-48 -translate-x-1/2 -translate-y-1/2 rotate-6 flex-col items-center justify-center rounded-[34px] border border-white/70 bg-pink-500 text-white shadow-[0_30px_80px_rgba(236,72,153,0.45)]",children:[e.jsx(K,{size:58,fill:"currentColor"}),e.jsx("div",{className:"mt-3 text-5xl font-black",children:"Pro"})]}),e.jsx("div",{className:"absolute left-8 top-20 flex h-16 w-16 items-center justify-center rounded-2xl bg-white text-violet-400 shadow-xl shadow-pink-100",children:e.jsx(De,{size:28})}),e.jsx("div",{className:"absolute bottom-16 left-16 flex h-16 w-16 items-center justify-center rounded-2xl bg-white text-pink-400 shadow-xl shadow-pink-100",children:e.jsx(Ue,{size:28})}),e.jsx("div",{className:"absolute right-8 top-24 flex h-16 w-16 items-center justify-center rounded-2xl bg-white text-violet-400 shadow-xl shadow-pink-100",children:e.jsx(W,{size:28})}),e.jsx("div",{className:"absolute bottom-20 right-14 flex h-16 w-16 items-center justify-center rounded-2xl bg-pink-500 text-white shadow-xl shadow-pink-200",children:e.jsx(H,{size:28})})]})]}),e.jsxs("section",{className:"mt-8 rounded-[24px] border border-pink-100 bg-white/76 px-4 py-7 shadow-[0_24px_80px_rgba(236,72,153,0.12)] backdrop-blur-xl md:px-8",children:[e.jsx("h2",{className:"text-center text-xl font-black text-slate-950",children:t.choosePlan}),c==="apple"&&e.jsx("div",{"aria-label":"App Store subscription disclosure",className:"mx-auto mt-6 max-w-5xl rounded-2xl border border-slate-200 bg-white p-5 text-sm font-bold leading-6 text-slate-600 shadow-sm",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-xl bg-slate-950 text-white",children:e.jsx(X,{size:20})}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("h3",{className:"text-base font-black text-slate-950",children:i("App Store è´ä¹°ä¸èªå¨ç»è®¢","App Store purchases and auto-renewal","App Storeã§ã®è³¼å
¥ã¨èªåæ´æ°","ÐокÑпки и авÑопÑодление в App Store")}),e.jsx("p",{className:"mt-2",children:i("æ¯ä¸ªæ¹æ¡ä¼æ¾ç¤ºåç§°ãè®¡è´¹å¨æå App Store æ¬å°ä»·æ ¼ãèªå¨ç»è®¢æ¹æ¡ä¼ä» Apple ID æ£æ¬¾ï¼å¹¶å¨å½åå¨æç»æå 24 å°æ¶å
ææç¤ºæä»·ç»è®¢ï¼é¤éå¨å¨æç»æè³å° 24 å°æ¶ååæ¶ã","Each plan shows its name, billing period, and local App Store price. Auto-renewing subscriptions are charged to your Apple ID and renew at the displayed monthly price within 24 hours before the current period ends unless cancelled at least 24 hours before renewal.","åãã©ã³ã«ã¯åç§°ãè«æ±æéãApp Storeã®ç¾å°ä¾¡æ ¼ã表示ããã¾ããèªåæ´æ°ãã©ã³ã¯Apple IDã«è«æ±ãããæ´æ°ã®24æéåã¾ã§ã«è§£ç´ããªãéããç¾å¨ã®æéçµäºå24æé以å
ã«è¡¨ç¤ºã®æé¡ã§æ´æ°ããã¾ãã","ÐÐ»Ñ ÐºÐ°Ð¶Ð´Ð¾Ð³Ð¾ плана ÑÐºÐ°Ð·Ð°Ð½Ñ Ð½Ð°Ð·Ð²Ð°Ð½Ð¸Ðµ, пеÑиод и локалÑÐ½Ð°Ñ Ñена App Store. ÐвÑопÑодлÑÐµÐ¼Ð°Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñка оплаÑиваеÑÑÑ ÑеÑез Apple ID и пÑодлеваеÑÑÑ Ð¿Ð¾ Ñказанной меÑÑÑной Ñене в ÑеÑение 24 ÑаÑов до конÑа пеÑиода, еÑли ее не оÑмениÑÑ Ð¼Ð¸Ð½Ð¸Ð¼Ñм за 24 ÑаÑа до пÑодлениÑ.")}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-2",children:[e.jsxs("button",{type:"button",onClick:de,disabled:B,className:"inline-flex min-h-11 items-center gap-2 rounded-xl bg-slate-950 px-4 text-xs font-black text-white disabled:opacity-50",children:[e.jsx(Y,{size:15,className:B?"animate-spin":""}),i("æ¢å¤è´ä¹°","Restore purchases","è³¼å
¥ã復å
","ÐоÑÑÑановиÑÑ Ð¿Ð¾ÐºÑпки")]}),e.jsx("a",{href:"https://apps.apple.com/account/subscriptions",target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center rounded-xl border border-slate-200 bg-white px-4 text-xs font-black text-slate-700",children:i("管ç订é
","Manage subscriptions","ãµãã¹ã¯ãªãã·ã§ã³ã管ç","УпÑавление подпиÑками")}),e.jsx("a",{href:"https://paper2gal.com/terms",target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center rounded-xl border border-slate-200 bg-white px-4 text-xs font-black text-slate-700",children:i("ä½¿ç¨æ¡æ¬¾","Terms of Service","å©ç¨è¦ç´","УÑÐ»Ð¾Ð²Ð¸Ñ Ð¸ÑполÑзованиÑ")}),e.jsx("a",{href:"https://paper2gal.com/privacy",target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center rounded-xl border border-slate-200 bg-white px-4 text-xs font-black text-slate-700",children:i("éç§æ¿ç","Privacy Policy","ãã©ã¤ãã·ã¼ããªã·ã¼","ÐолиÑика конÑиденÑиалÑноÑÑи")})]})]})]})}),c==="web"&&e.jsxs("div",{className:"mx-auto mt-6 flex max-w-5xl flex-col gap-5 rounded-2xl border border-emerald-200 bg-emerald-50 p-5 shadow-[0_14px_40px_rgba(16,185,129,0.10)] sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-start gap-4",children:[e.jsx("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-emerald-500 text-white shadow-lg shadow-emerald-200",children:e.jsx(L,{size:24})}),e.jsxs("div",{className:"min-w-0",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("h3",{className:"text-lg font-black text-slate-950",children:O.title}),e.jsx("span",{className:"rounded-full bg-white px-2.5 py-1 text-[11px] font-black text-emerald-700 shadow-sm",children:i("æ°ç¨æ·ä½éª","Starter offer","ååéå®","СÑаÑÑовое пÑедложение")})]}),e.jsx("p",{className:"mt-1 text-sm font-bold text-slate-600",children:G.sub}),e.jsx("p",{className:"mt-2 text-xs font-semibold text-slate-500",children:G.features[0]})]})]}),e.jsxs("div",{className:"flex shrink-0 items-center justify-between gap-4 sm:justify-end",children:[e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"text-3xl font-black leading-none text-emerald-600",children:O.price}),e.jsx("div",{className:"mt-1 text-xs font-bold text-slate-400",children:O.meta}
1)]}),e.jsxs("button",{type:"button",onClick:()=>pe("experience_three_day"),disabled:!!N||Z||!!(a!=null&&a.active)||be,className:"inline-flex min-h-11 min-w-28 items-center justify-center rounded-full bg-emerald-500 px-5 py-2.5 text-sm font-black text-white shadow-lg shadow-emerald-200 transition hover:bg-emerald-600 active:scale-[0.98] disabled:cursor-not-allowed disabled:bg-slate-200 disabled:text-slate-400 disabled:shadow-none",children:[N==="experience_three_day"&&e.jsx(q,{size:17,className:"mr-2 animate-spin"}),a!=null&&a.active?t.current:be?i("å·²è´ä¹°è¿","Already purchased","è³¼å
¥æ¸ã¿","Уже кÑплено"):o?G.cta:t.login]})]})]}),c==="direct"&&e.jsxs("div",{className:"mx-auto mt-5 flex w-fit max-w-full items-center rounded-2xl border border-slate-200 bg-slate-50 p-1.5 shadow-sm","aria-label":i("æ¯ä»æ¹å¼","Payment method","ãæ¯æãæ¹æ³","СпоÑоб оплаÑÑ"),children:[e.jsx("button",{type:"button",disabled:!((fe=x.direct)!=null&&fe.alipay),onClick:()=>F("alipay"),className:`min-h-11 rounded-xl px-5 text-sm font-black transition disabled:cursor-not-allowed disabled:opacity-40 ${C==="alipay"?"bg-[#1677ff] text-white shadow-md":"text-slate-500 hover:bg-white"}`,children:i("æ¯ä»å®","Alipay","Alipay","Alipay")}),e.jsx("button",{type:"button",disabled:!((he=x.direct)!=null&&he.wechat),onClick:()=>F("wechat"),className:`min-h-11 rounded-xl px-5 text-sm font-black transition disabled:cursor-not-allowed disabled:opacity-40 ${C==="wechat"?"bg-[#07c160] text-white shadow-md":"text-slate-500 hover:bg-white"}`,children:i("微信æ¯ä»","WeChat Pay","WeChat Pay","WeChat Pay")})]}),e.jsxs("div",{className:"mx-auto mt-5 flex w-fit max-w-full items-center rounded-2xl border border-pink-100 bg-white p-1.5 shadow-sm",children:[e.jsx("button",{type:"button",onClick:()=>E("one_time"),className:`min-h-11 rounded-xl px-4 text-xs font-black transition sm:text-sm ${v==="one_time"?"bg-slate-900 text-white shadow-md":"text-slate-500 hover:bg-slate-50"}`,children:t.billingOneTime}),c!=="direct"&&e.jsxs("button",{type:"button",onClick:()=>E("auto_renew"),className:`min-h-11 rounded-xl px-4 text-xs font-black transition sm:text-sm ${v==="auto_renew"?"bg-pink-500 text-white shadow-md shadow-pink-100":"text-slate-500 hover:bg-pink-50"}`,children:[t.billingAutoRenew,e.jsx("span",{className:`ml-2 rounded-full px-2 py-0.5 text-[10px] ${v==="auto_renew"?"bg-white/20 text-white":"bg-pink-100 text-pink-500"}`,children:t.billingSave})]})]}),e.jsxs("div",{className:"mx-auto mt-7 grid max-w-7xl gap-5 md:grid-cols-2 xl:grid-cols-4",children:[e.jsxs("div",{className:`flex flex-col rounded-[24px] border border-slate-200 bg-white shadow-[0_16px_50px_rgba(15,23,42,0.06)] ${P?"min-h-0 p-5":"min-h-[450px] p-6"}`,children:[e.jsxs("div",{className:"text-center",children:[e.jsx("h3",{className:"text-2xl font-black text-slate-950",children:t.freePlan}),e.jsx("p",{className:"mt-2 min-h-[34px] text-sm font-bold text-slate-500",children:t.freePlanDesc}),e.jsxs("div",{className:"mt-6 flex items-end justify-center gap-2",children:[e.jsx("span",{className:"text-5xl font-black leading-none text-slate-950",children:"$0"}),e.jsx("span",{className:"pb-1 text-sm font-black text-slate-400",children:i("/æ","/month","/æ","/меÑ")})]})]}),e.jsx("div",{className:"mt-7 flex-1 space-y-3",children:Ke.map(n=>e.jsxs("div",{className:"flex items-start gap-3 text-sm font-bold text-slate-600",children:[e.jsx(Ie,{size:16,className:"mt-0.5 shrink-0 text-emerald-500"}),e.jsx("span",{children:n})]},n))}),e.jsx("div",{className:"mt-7 min-h-[82px]",children:e.jsx("button",{type:"button",disabled:!0,className:"inline-flex min-h-[50px] w-full items-center justify-center rounded-full bg-slate-100 px-4 py-3 text-sm font-black text-slate-400",children:a!=null&&a.active?t.freePlan:t.currentPlan})})]}),Xe.map(n=>{var b,ge,ye,we,je,ve,ke,_e,Pe,Se,Ne,Ae,qe;const s=xe.find(D=>D.id===n),r=me[n],d=!!r.featured,l=N===n,p=C==="alipay"?(b=x.direct)==null?void 0:b.alipay:(ge=x.direct)==null?void 0:ge.wechat,k=c==="direct"?!p||!((je=(we=(ye=x.direct)==null?void 0:ye.plans)==null?void 0:we[n])!=null&&je.amountCents):c==="google"?!((ve=x.google)!=null&&ve.configured)||!((Pe=(_e=(ke=x.google)==null?void 0:ke.plans)==null?void 0:_e[n])!=null&&Pe.productId):c==="apple"?n==="experience_three_day"||!((Se
1=x.apple)!=null&&Se.configured)||!((qe=(Ae=(Ne=x.apple)==null?void 0:Ne.plans)==null?void 0:Ae[n])!=null&&qe.productId):!1,_=!!(a!=null&&a.active)||k,g=n==="unlimited_thirty_day"||n==="unlimited_monthly_auto_renew",T=n==="basic_thirty_day"||n==="basic_monthly_auto_renew",j=n==="monthly_auto_renew"||n==="unlimited_monthly_auto_renew"||n==="basic_monthly_auto_renew";return e.jsxs("div",{className:`group relative flex flex-col rounded-[24px] border bg-white shadow-sm transition duration-300 hover:-translate-y-1.5 hover:border-pink-400 hover:shadow-[0_28px_80px_rgba(236,72,153,0.20)] ${P?"min-h-0 p-5":"min-h-[450px] p-6"} ${d?"border-pink-500 shadow-[0_24px_70px_rgba(236,72,153,0.18)]":"border-slate-100 shadow-[0_16px_50px_rgba(15,23,42,0.06)]"}`,children:[d&&e.jsx("div",{className:"absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full bg-pink-500 px-5 py-1.5 text-xs font-black text-white shadow-lg shadow-pink-200",children:i("æ¨è","Recommended","ãããã","РекомендÑем")}),g&&e.jsx("div",{className:"absolute left-1/2 top-0 -translate-x-1/2 -translate-y-1/2 rounded-full bg-violet-600 px-5 py-1.5 text-xs font-black text-white shadow-lg shadow-violet-200",children:t.unlimitedValueBadge}),e.jsxs("div",{className:"text-center",children:[e.jsx("h3",{className:"text-2xl font-black text-slate-950 transition group-hover:text-pink-600",children:s.title}),e.jsx("p",{className:"mt-2 min-h-[34px] text-sm font-bold text-slate-500",children:r.sub}),e.jsxs("div",{className:"mt-6 flex items-end justify-center gap-2",children:[e.jsx("span",{className:`text-5xl font-black leading-none ${d?"text-pink-500":"text-slate-950"}`,children:s.price}),e.jsx("span",{className:"pb-1 text-sm font-black text-slate-400",children:s.meta})]}),j&&s.badge&&e.jsxs("div",{className:`mt-2 inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-black ${g?"bg-violet-50 text-violet-600":"bg-pink-50 text-pink-500"}`,children:[e.jsx("span",{className:"line-through text-slate-400",children:g?"$100":T?"$10":"$20"}),s.badge]}),g&&!j&&e.jsx("div",{className:"mt-2 inline-flex rounded-full bg-violet-50 px-3 py-1 text-xs font-black text-violet-600",children:t.unlimitedBadge}),ue&&!j&&e.jsxs("div",{className:`mt-2 inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-black ${g?"bg-violet-50 text-violet-600":"bg-pink-50 text-pink-500"}`,children:[s.originalPrice&&e.jsx("span",{className:"line-through text-slate-400",children:s.originalPrice}),t.promotionBadge]})]}),e.jsx("div",{className:"mt-7 flex-1 space-y-3",children:r.features.map(D=>e.jsxs("div",{className:"flex items-start gap-3 text-sm font-bold text-slate-600",children:[e.jsx(Ie,{size:16,className:"mt-0.5 shrink-0 text-slate-700"}),e.jsx("span",{children:D})]},D))}),e.jsxs("div",{className:"mt-7 min-h-[82px]",children:[e.jsxs("button",{type:"button",onClick:()=>pe(n),disabled:!!N||_,className:`inline-flex min-h-[50px] w-full items-center justify-center rounded-full px-4 py-3 text-sm font-black transition duration-200 hover:-translate-y-0.5 active:scale-[0.98] disabled:cursor-not-allowed disabled:translate-y-0 disabled:bg-slate-200 disabled:text-slate-400 ${d?"bg-pink-500 text-white shadow-xl shadow-pink-200 hover:bg-pink-600 hover:shadow-pink-300":"border-2 border-pink-400 bg-white text-pink-500 hover:bg-pink-50 hover:shadow-lg hover:shadow-pink-100"}`,children:[l?e.jsx(q,{size:18,className:"animate-spin"}):null,e.jsx("span",{className:l?"ml-2":"",children:l?i("æ£å¨å¤çæ¯ä»...","Processing payment...","ãæ¯æãå¦çä¸...","ÐбÑабоÑка плаÑежа..."):a!=null&&a.active?t.current:k?i("æ¯ä»æä¸å¯ç¨","Payment unavailable","ãæ¯æãå©ç¨ä¸å¯","ÐплаÑа недоÑÑÑпна"):o?r.cta:t.login})]}),d&&j&&e.jsx("div",{className:"mt-4 text-center text-xs font-bold text-slate-500",children:c==="google"?i("å¯å¨ Google Play ä¸ç®¡çæåæ¶","Manage or cancel in Google Play","Google Playã§ç®¡çã»è§£ç´ã§ãã¾ã","УпÑавление и оÑмена в Google Play"):c==="apple"?i("å¯å¨ App Store ä¸ç®¡çæåæ¶","Manage or cancel in the App Store","App Storeã§ç®¡çã»è§£ç´ã§ãã¾ã","УпÑавление и оÑмена в App Store"):i("å¯éæ¶å¨ Stripe è´¦æ·ä¸åæ¶","Cancel anytime in Stripe","Stripeã¢ã«ã¦ã³ãã§ãã¤ã§ãè§£ç´å¯è½","ÐÑмена в лÑбой Ð¼Ð¾Ð¼ÐµÐ½Ñ Ð² Stripe")})]})]},n)})]}),e.jsxs("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-2 text-xs font-black text-slate-500",children:[e.jsx("span",{className:"mr-1",children:c==="direct"?i("Direct çæ¯æ","Direct build supp
1orts","Directç対å¿","Direct-веÑÑÐ¸Ñ Ð¿Ð¾Ð´Ð´ÐµÑживаеÑ"):c==="google"?"Google Play Billing":c==="apple"?"Apple In-App Purchase":t.poweredBy}),c==="direct"?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"inline-flex h-7 min-w-16 items-center justify-center rounded-md bg-[#1677ff] px-3 text-[11px] font-black text-white shadow-sm",children:"æ¯ä»å®"}),e.jsx("span",{className:"inline-flex h-7 min-w-16 items-center justify-center rounded-md bg-[#07c160] px-3 text-[11px] font-black text-white shadow-sm",children:"微信æ¯ä»"})]}):c==="google"?e.jsx("span",{className:"inline-flex h-7 min-w-24 items-center justify-center rounded-md border border-slate-200 bg-white px-3 text-[11px] font-black text-slate-700 shadow-sm",children:"Google Play"}):c==="apple"?e.jsx("span",{className:"inline-flex h-7 min-w-24 items-center justify-center rounded-md border border-slate-200 bg-white px-3 text-[11px] font-black text-slate-900 shadow-sm",children:" App Store"}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-white px-2 text-[13px] font-black italic text-[#1a1f71] shadow-sm",children:"VISA"}),e.jsxs("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-white px-2 shadow-sm",children:[e.jsx("span",{className:"h-4 w-4 rounded-full bg-[#eb001b]"}),e.jsx("span",{className:"-ml-1 h-4 w-4 rounded-full bg-[#f79e1b] opacity-90"})]}),e.jsx("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-[#1f72cd] px-2 text-[10px] font-black text-white shadow-sm",children:"AMEX"}),e.jsx("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-white px-2 text-[11px] font-black text-slate-950 shadow-sm",children:" Pay"}),e.jsx("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-white px-2 text-[11px] font-black text-slate-700 shadow-sm",children:"G Pay"}),e.jsx("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-white px-2 text-[11px] font-black text-[#07c160] shadow-sm",children:"微信"}),e.jsx("span",{className:"inline-flex h-7 min-w-11 items-center justify-center rounded-md border border-slate-200 bg-white px-2 text-[11px] font-black text-[#1677ff] shadow-sm",children:"æ¯ä»å®"})]}),c==="google"&&e.jsxs("button",{type:"button",onClick:de,disabled:B,className:"ml-2 inline-flex min-h-11 items-center justify-center gap-2 rounded-lg border border-slate-200 bg-white px-3 text-xs font-black text-slate-600 shadow-sm transition hover:border-pink-200 hover:text-pink-600 disabled:opacity-50",children:[e.jsx(Y,{size:14,className:B?"animate-spin":""}),i("æ¢å¤è´ä¹°","Restore purchases","è³¼å
¥ã復å
","ÐоÑÑÑановиÑÑ Ð¿Ð¾ÐºÑпки")]})]}),Z?e.jsxs("div",{className:"mt-4 flex items-center justify-center gap-2 text-sm font-bold text-slate-500",children:[e.jsx(q,{size:16,className:"animate-spin"}),t.loading]}):a!=null&&a.active?e.jsxs("div",{className:"mx-auto mt-5 max-w-xl rounded-2xl border border-emerald-100 bg-emerald-50 px-4 py-3 text-sm font-bold text-emerald-700",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 font-black",children:[e.jsx(xt,{size:16}),a.unlimitedAll?t.unlimitedThirtyDay:t.active]}),a.currentPeriodEnd&&e.jsxs("div",{className:"mt-1 text-center text-xs",children:[t.validUntil,": ",new Date(a.currentPeriodEnd).toLocaleDateString(wt(f)),a.cancelAtPeriodEnd?`, ${t.cancelAtPeriodEnd}`:""]})]}):null,ae&&e.jsx("div",{className:"mx-auto mt-4 max-w-xl rounded-2xl border border-red-100 bg-red-50 px-4 py-3 text-center text-xs font-bold text-red-600",children:ae})]}),e.jsxs("section",{className:"mx-auto mt-8 max-w-6xl rounded-[24px] border border-pink-100 bg-white/88 p-4 shadow-[0_24px_80px_rgba(236,72,153,0.10)] backdrop-blur-xl md:p-7",children:[e.jsxs("div",{className:"flex flex-col gap-2 text-center md:flex-row md:items-end md:justify-between md:text-left",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-xs font-black uppercase tracking-[0.18em] text-pink-400",children:"Pro"}),e.jsx("h2",{className:"mt-1 text-xl font-black text-slate-950",children:t.compareTitle})]}),e.jsx("div",{className:"text-xs font-bold text-slate-400",children:i("å
è´¹çä¸ä¼åæçä¸è§","Free and member benefits at a glance","ç¡æçã
1¨ã¡ã³ãã¼ç¹å
¸ã®ä¸è¦§","ÐеÑплаÑнÑй план и пÑеимÑÑеÑÑва подпиÑки")})]}),e.jsx("div",{className:"mt-5 overflow-x-auto rounded-[20px] border border-slate-100 bg-white shadow-sm",children:e.jsxs("table",{className:"w-full min-w-[900px] border-separate border-spacing-0 text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"text-slate-900",children:[e.jsx("th",{className:"w-[28%] border-b border-slate-100 bg-slate-50/80 px-5 py-3.5 text-left font-black",children:i("åè½æç","Benefit","æ©è½ã»ç¹å
¸","ÐÑеимÑÑеÑÑво")}),e.jsx("th",{className:"w-[18%] border-b border-slate-100 bg-slate-50/80 px-5 py-3.5 text-center font-black",children:i("å
è´¹ç","Free","ç¡æç","ÐеÑплаÑнÑй")}),e.jsx("th",{className:"w-[18%] border-b border-sky-100 bg-sky-50/80 px-5 py-3.5 text-center font-black text-sky-600 shadow-[inset_1px_0_0_rgba(14,165,233,0.14)]",children:e.jsx("span",{className:"inline-flex items-center justify-center rounded-full bg-sky-500 px-4 py-1.5 text-xs font-black text-white shadow-md shadow-sky-100",children:"Basic"})}),e.jsx("th",{className:"w-[18%] border-b border-pink-100 bg-pink-50/80 px-5 py-3.5 text-center font-black text-pink-500 shadow-[inset_1px_0_0_rgba(244,114,182,0.14)]",children:e.jsx("span",{className:"inline-flex items-center justify-center rounded-full bg-pink-500 px-4 py-1.5 text-xs font-black text-white shadow-md shadow-pink-100",children:"Pro"})}),e.jsx("th",{className:"w-[18%] border-b border-violet-100 bg-violet-50/80 px-5 py-3.5 text-center font-black text-violet-600 shadow-[inset_1px_0_0_rgba(139,92,246,0.14)]",children:e.jsx("span",{className:"inline-flex items-center justify-center rounded-full bg-violet-600 px-4 py-1.5 text-xs font-black text-white shadow-md shadow-violet-100",children:"Infinity"})})]})}),e.jsx("tbody",{children:Ze.map(({icon:n,label:s,values:r},d)=>e.jsxs("tr",{className:"group",children:[e.jsx("td",{className:`border-b border-slate-100 px-5 py-3 font-black text-slate-700 last:border-b-0 ${d%2===0?"bg-white":"bg-slate-50/45"}`,children:e.jsxs("span",{className:"inline-flex items-center gap-3",children:[e.jsx("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-xl bg-pink-50 text-pink-500 transition group-hover:bg-pink-500 group-hover:text-white group-hover:shadow-md group-hover:shadow-pink-100",children:e.jsx(n,{size:16})}),e.jsx("span",{className:"whitespace-nowrap",children:s})]})}),e.jsx("td",{className:`border-b border-slate-100 px-5 py-3 text-center last:border-b-0 ${d%2===0?"bg-white":"bg-slate-50/45"}`,children:e.jsx("span",{className:"inline-flex min-w-24 items-center justify-center rounded-full border border-slate-100 bg-white px-3 py-1.5 text-xs font-black text-slate-500 shadow-sm",children:r[0]})}),e.jsx("td",{className:`border-b border-sky-100 px-5 py-3 text-center shadow-[inset_1px_0_0_rgba(14,165,233,0.14)] last:border-b-0 ${d%2===0?"bg-sky-50/35":"bg-sky-50/65"}`,children:e.jsx("span",{className:"inline-flex min-w-28 items-center justify-center rounded-full bg-white px-4 py-1.5 text-xs font-black text-sky-600 shadow-sm ring-1 ring-sky-100",children:r[1]})}),e.jsx("td",{className:`border-b border-pink-100 px-5 py-3 text-center shadow-[inset_1px_0_0_rgba(244,114,182,0.14)] last:border-b-0 ${d%2===0?"bg-pink-50/35":"bg-pink-50/65"}`,children:e.jsx("span",{className:"inline-flex min-w-28 items-center justify-center rounded-full bg-white px-4 py-1.5 text-xs font-black text-pink-500 shadow-sm ring-1 ring-pink-100",children:r[2]})}),e.jsx("td",{className:`border-b border-violet-100 px-5 py-3 text-center shadow-[inset_1px_0_0_rgba(139,92,246,0.14)] last:border-b-0 ${d%2===0?"bg-violet-50/35":"bg-violet-50/65"}`,children:e.jsx("span",{className:"inline-flex min-w-28 items-center justify-center rounded-full bg-white px-4 py-1.5 text-xs font-black text-violet-600 shadow-sm ring-1 ring-violet-100",children:r[3]})})]},s))})]})})]}),e.jsxs("section",{className:"mx-auto mt-8 max-w-6xl px-1 py-3 md:px-2",children:[e.jsxs("div",{className:"text-center",children:[e.jsx("span",{className:"mx-auto flex h-11 w-11 items-center justify-center rounded-2xl bg-pink-100 text-pink-500",children:e.jsx(mt,{size:22})}),e.jsx("h2",{className:"mt-3 text-2xl font-black text-slate-950",children:t.faqTitle}),e.jsx("p",{className:"mt-1 text-sm font-bold text-slate-400",children:t.faqSubtitle})]}),e.jsx("div",{className:"mx-auto mt-6 grid max-w-4xl items-start gap-3",children:et.map(({question:n,answer:s})=>e.jsxs("details",{className:"group overflow-hidden rounded-2xl border border-pink-100 bg-white shadow-sm open:sha
1dow-md",children:[e.jsxs("summary",{className:"flex min-h-[62px] cursor-pointer list-none items-center gap-3 px-4 py-3 text-left text-sm font-black text-slate-800 transition hover:bg-pink-50/60 [&::-webkit-details-marker]:hidden",children:[e.jsx("span",{className:"min-w-0 flex-1",children:n}),e.jsx(bt,{size:17,className:"shrink-0 text-pink-400 transition-transform group-open:rotate-180"})]}),e.jsx("div",{className:"border-t border-pink-50 px-4 py-4 text-sm font-bold leading-7 text-slate-500",children:s})]},n))})]}),e.jsx("section",{className:"mt-8 grid gap-4 rounded-[24px] border border-pink-100 bg-white/82 p-5 shadow-[0_24px_80px_rgba(236,72,153,0.10)] backdrop-blur-xl md:grid-cols-4 md:p-7",children:tt.map(({icon:n,title:s,sub:r,tone:d})=>e.jsxs("div",{className:"group flex items-center gap-4 transition duration-200 hover:-translate-y-0.5 md:border-r md:border-slate-100 md:last:border-r-0",children:[e.jsx("span",{className:`inline-flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl border transition duration-200 group-hover:scale-105 group-hover:shadow-lg ${d}`,children:e.jsx(n,{size:25})}),e.jsxs("span",{children:[e.jsx("span",{className:"block text-sm font-black text-slate-900 transition group-hover:text-pink-600",children:s}),e.jsx("span",{className:"mt-1 block text-xs font-bold leading-relaxed text-slate-500",children:r})]})]},s))}),e.jsx("div",{className:"mt-5 text-center text-xs font-bold leading-relaxed text-slate-400",children:c==="apple"?i("è´ä¹°ç¡®è®¤åå°ä» Apple ID æ£æ¬¾ã订é
ä¸éæ¬¾ç± Apple 管çã","Your Apple ID is charged after purchase confirmation. Subscriptions and refunds are managed by Apple.","è³¼å
¥ç¢ºèªå¾ãApple IDã«è«æ±ããã¾ãããµãã¹ã¯ãªãã·ã§ã³ã¨è¿éã¯Appleã管çãã¾ãã","ÐоÑле подÑвеÑÐ¶Ð´ÐµÐ½Ð¸Ñ Ð¿Ð¾ÐºÑпки ÑÑедÑÑва ÑпиÑÑваÑÑÑÑ Ñ Apple ID. ÐодпиÑками и возвÑаÑами ÑпÑавлÑÐµÑ Apple."):t.note})]}),Ve&&e.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-slate-950/30 p-4 backdrop-blur-sm",children:e.jsx("div",{className:"w-full max-w-lg overflow-hidden rounded-[28px] border border-white/75 bg-white/90 shadow-[0_28px_90px_rgba(236,72,153,0.24)] backdrop-blur-xl",children:e.jsxs("div",{className:"custom-scrollbar max-h-[calc(100dvh-2rem-2px)] touch-pan-y overflow-y-auto overscroll-y-contain p-5 md:p-6",children:[e.jsxs("div",{className:"flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"flex h-12 w-12 items-center justify-center rounded-2xl bg-pink-50 text-pink-500",children:e.jsx(X,{size:23})}),e.jsx("div",{children:e.jsx("h2",{className:"text-xl font-black text-slate-950",children:t.refundTitle})})]}),e.jsx("button",{type:"button",onClick:()=>M(!1),className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-2xl border border-pink-100 bg-white text-slate-400 transition hover:text-pink-500","aria-label":t.close,children:e.jsx(ft,{size:18})})]}),e.jsxs("div",{className:"mt-5 space-y-4",children:[e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"mb-2 flex items-center gap-2 text-xs font-black uppercase tracking-wide text-slate-400",children:[e.jsx(ht,{size:14}),t.refundEmail]}),e.jsx("input",{type:"email",value:z,onChange:n=>Q(n.target.value),className:"h-12 w-full rounded-2xl border border-pink-100 bg-white/80 px-4 text-sm font-bold text-slate-800 outline-none transition focus:border-pink-300 focus:ring-4 focus:ring-pink-50",placeholder:(o==null?void 0:o.email)||"[email protected]"})]}),e.jsxs("label",{className:"block",children:[e.jsxs("span",{className:"mb-2 flex items-center gap-2 text-xs font-black uppercase tracking-wide text-slate-400",children:[e.jsx(Te,{size:14}),t.refundReason]}),e.jsx("textarea",{value:ne,onChange:n=>se(n.target.value),rows:5,className:"w-full resize-none rounded-2xl border border-pink-100 bg-white/80 px-4 py-3 text-sm font-bold leading-relaxed text-slate-800 outline-none transition placeholder:text-slate-300 focus:border-pink-300 focus:ring-4 focus:ring-pink-50",placeholder:t.refundReasonPlaceholder})]}),le&&e.jsx("div",{className:"rounded-2xl border border-pink-100 bg-pink-50/80 px-4 py-3 text-sm font-bold leading-relaxed text-pink-700",children:le}),e.jsxs("div",{className:"flex flex-col-reverse gap-3 sm:flex-row sm:justify-end",children:[e.jsx("button",{type:"button",onClick:()=>M(!1),className:"h-12 rounded-2xl border border-slate-200 bg-white px-5 text-sm font-black text-slate-500 transition hover:text-slate-900",children:t.close}),e.jsxs("button",{type:"button",onClick:We,disabled:R,className:"inline-flex h-12 items-center justify-center gap-2 rounded-2xl bg-pink-500 px-5 text-sm font-black text-white shadow-lg shadow-pink-200 transition hover:bg-pink-600 disabled:opacity-60",children:[R?e.jsx(q,{size:16,className:"animate-spin"}):e.jsx(gt,{size:16}),R?t.refundSubmitting:t.refundSubmit]})]})]})]})})})]})})};export{Ee as MEMBERSHIP_COPY,Ut as default,wt as getMembershipLocale};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.