PageSourceSearch

https://paper2gal.com/assets/SupportPage-BnePHPp2.js

js paper2gal.com collected 2026-10-09 22:39:50 UTC 13,553 bytes, 1 lines download raw bytes

1import{r as a,j as e}from"./react-vendor-CHQL15iE.js";import{l as k}from"./main-Dck1T9BT.js";import{ae as j,C as w,au as y,aC as N,E as x,ap as v,b as S,J as q,aT as P}from"./lucide-BFLOpGdB.js";import"./pdfjs-ji3DqnKJ.js";import"./markdown-W-rE_H7s.js";import"./katex-math-BxKHCrdI.js";const u={zh:{title:"Paper2Gal 支持中心",subtitle:"账号、订阅、退款与使用问题都可以在这里提交。",responseTime:"通常会在 2 个工作日内回复。",formTitle:"联系支持",email:"回复邮箱",topic:"问题类型",message:"问题描述",send:"提交",sending:"提交中",sent:"已收到,我们会尽快回复。",failed:"提交失败,请稍后重试。",topicOptions:["账号与登录","订阅与购买","退款","内容生成","隐私与数据删除","其他"],faqTitle:"常见问题",legalTitle:"政策与条款",privacy:"隐私政策",terms:"使用条款",back:"返回",faqs:[{question:"如何管理或取消 App Store 订阅?",answer:"在 iPhone 或 iPad 的“设置”中打开 Apple ID,再进入“订阅”管理 Paper2Gal。删除 Paper2Gal 账号不会自动取消 App Store 订阅。"},{question:"如何恢复购买?",answer:"登录原购买账号后,在会员页面点击“恢复购买”。请同时确认设备使用的是原 Apple ID。"},{question:"如何申请退款?",answer:"App Store 订单请通过 Apple 的“报告问题”页面申请;网页订单可在会员页面提交退款申请。"},{question:"如何删除账号和数据?",answer:"登录后进入“个人主页 → 账号与安全 → 删除账号”。删除后无法恢复,云端存档、角色、背景和关联资源会一并清理。"}]},en:{title:"Paper2Gal Support",subtitle:"Contact us about accounts, subscriptions, refunds, or product issues.",responseTime:"We usually reply within 2 business days.",formTitle:"Contact support",email:"Reply email",topic:"Topic",message:"Description",send:"Submit",sending:"Submitting",sent:"Received. We will reply as soon as possible.",failed:"Could not submit your request. Please try again later.",topicOptions:["Account and login","Subscription and purchase","Refund","Content generation","Privacy and data deletion","Other"],faqTitle:"Frequently asked questions",legalTitle:"Policies and terms",privacy:"Privacy Policy",terms:"Terms of Service",back:"Back",faqs:[{question:"How do I manage or cancel an App Store subscription?",answer:"On iPhone or iPad, open Settings, select your Apple ID, then Subscriptions. Deleting your Paper2Gal account does not automatically cancel an App Store subscription."},{question:"How do I restore a purchase?",answer:"Sign in to the account used for the purchase and select Restore Purchases on the Membership page. The device must use the original Apple ID."},{question:"How do I request a refund?",answer:"Request App Store refunds through Apple Report a Problem. For web orders, submit a refund request from the Membership page."},{question:"How do I delete my account and data?",answer:"After signing in, open Profile, Account & Security, then Delete Account. This permanently removes cloud saves, characters, backgrounds, and related assets."}]},ja:{title:"Paper2Gal サポート",subtitle:"アカウント、サブスクリプション、返金、利用上の問題はこちらからお問い合わせください。",responseTime:"通常2営業日以内に返信します。",formTitle:"サポートに連絡",email:"返信先メール",topic:"お問い合わせ内容",message:"詳細",send:"送信",sending:"送信中",sent:"受け付けました。できるだけ早く返信します。",failed:"送信できませんでした。しばらくしてから再度お試しください。",topicOptions:["アカウントとログイン","サブスクリプションと購入","返金","コンテンツ生成","プライバシーとデータ削除","その他"],faqTitle:"よくある質問",legalTitle:"ポリシーと規約",privacy:"プライバシーポリシー",terms:"利用規約",back:"戻る",faqs:[{question:"App Storeのサブスクリプションを管理・解約するには?",answer:"iPhoneまたはiPadの「設定」でApple IDを開き、「サブスクリプション」から管理できます。Paper2Galアカウントを削除してもApp Storeのサブスクリプションは自動的に解約されません。"},{question:"購入を復元するには?",answer:"購入時のアカウントでログインし、メンバーシップ画面の「購入を復元」を選択してください。端末では購入時と同じApple IDをご利用ください。"},{question:"返金を申請するには?",answer:"App Storeの注文はAppleの「問題を報告」から申請してください。Web注文はメンバーシップ画面から返金申請できます。"},{question:"アカウントとデータを削除するには?",answer:"ログイン後、「プロフィール → アカウントとセキュリティ → アカウントを削除」から操作できます。クラウド上のセーブ、キャラクター、背景、関連データは完全に削除されます。"}]},ru:{title:"Поддержка Paper2Gal",subtitle:"Обратитесь к нам по вопросам аккаунта, подписки, возврата или работы сервиса.",responseTime:"Обычно мы отвечаем в течение 2 рабочих дней.",formTitle:"Связаться с поддержкой",email:"Email для ответа",topic:"Тема",message:"Описание",send:"Отправить",
1sending:"Отправка",sent:"Запрос получен. Мы ответим как можно скорее.",failed:"Не удалось отправить запрос. Повторите попытку позже.",topicOptions:["Аккаунт и вход","Подписка и покупка","Возврат","Создание контента","Конфиденциальность и удаление данных","Другое"],faqTitle:"Частые вопросы",legalTitle:"Политики и условия",privacy:"Политика конфиденциальности",terms:"Условия использования",back:"Назад",faqs:[{question:"Как управлять подпиской App Store или отменить ее?",answer:"На iPhone или iPad откройте «Настройки», выберите Apple ID, затем «Подписки». Удаление аккаунта Paper2Gal не отменяет подписку App Store автоматически."},{question:"Как восстановить покупку?",answer:"Войдите в аккаунт, с которого была совершена покупка, и выберите «Восстановить покупки» на странице подписки. На устройстве должен использоваться исходный Apple ID."},{question:"Как запросить возврат?",answer:"Возврат за покупки App Store оформляется через Apple Report a Problem. Для веб-заказов отправьте запрос на странице подписки."},{question:"Как удалить аккаунт и данные?",answer:"После входа откройте «Профиль → Аккаунт и безопасность → Удалить аккаунт». Облачные сохранения, персонажи, фоны и связанные ресурсы будут удалены без возможности восстановления."}]}},G=({language:r,onBack:b})=>
1{const t=u[r]||u.en,[l,h]=a.useState(""),[o,p]=a.useState(t.topicOptions[0]),[c,d]=a.useState(""),[m,f]=a.useState(""),[i,n]=a.useState("idle");a.useEffect(()=>{const s=document.title;return document.title="Support | Paper2Gal",()=>{document.title=s}},[]),a.useEffect(()=>{p(t.topicOptions[0])},[r,t.topicOptions]);const g=async s=>{if(s.preventDefault(),i!=="sending"){n("sending");try{if(!(await k("/api/support/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,topic:o,message:c,website:m})})).ok)throw new Error("Support request failed");d(""),n("sent")}catch{n("failed")}}};return e.jsxs("div",{className:"fixed inset-0 z-[100] overflow-y-auto bg-[#fff7fb] text-slate-900",children:[e.jsx("header",{className:"sticky top-0 z-20 border-b border-pink-100 bg-white/95 backdrop-blur-xl",children:e.jsxs("div",{className:"mx-auto flex min-h-16 max-w-6xl items-center gap-4 px-4 py-2 md:px-8",children:[e.jsxs("button",{type:"button",onClick:b,className:"inline-flex min-h-11 items-center gap-2 rounded-xl border border-pink-100 bg-white px-4 text-sm font-black text-pink-500",children:[e.jsx(j,{size:17}),t.back]}),e.jsx("span",{className:"text-base font-black md:text-lg",children:"Paper2Gal"})]})}),e.jsxs("main",{className:"mx-auto w-full max-w-6xl px-4 pb-[calc(3rem+env(safe-area-inset-bottom))] pt-8 md:px-8 md:pt-12",children:[e.jsxs("section",{className:"max-w-3xl",children:[e.jsxs("div",{className:"flex items-center gap-3 text-pink-500",children:[e.jsx(w,{size:26}),e.jsx("span",{className:"text-sm font-black uppercase",children:"Support"})]}),e.jsx("h1",{className:"mt-4 text-3xl font-black leading-tight md:text-5xl",children:t.title}),e.jsx("p",{className:"mt-4 text-base font-bold leading-7 text-slate-500 md:text-lg",children:t.subtitle}),e.jsxs("div",{className:"mt-5 inline-flex items-center gap-2 rounded-xl border border-pink-100 bg-white px-4 py-3 text-sm font-bold text-slate-600",children:[e.jsx(y,{size:17,className:"text-pink-500"}),t.responseTime]})]}),e.jsxs("div",{className:"mt-10 grid gap-8 lg:grid-cols-[minmax(0,1fr)_minmax(320px,420px)] lg:items-start",children:[e.jsxs("section",{children:[e.jsx("h2",{className:"text-xl font-black md:text-2xl",children:t.faqTitle}),e.jsx("div",{className:"mt-4 divide-y divide-pink-100 border-y border-pink-100 bg-white",children:t.faqs.map(s=>e.jsxs("details",{className:"group px-4 py-1 md:px-5",children:[e.jsxs("summary",{className:"flex min-h-14 cursor-pointer list-none items-center justify-between gap-4 py-3 text-sm font-black md:text-base [&::-webkit-details-marker]:hidden",children:[e.jsx("span",{children:s.question}),e.jsx("span",{className:"text-xl text-pink-400 group-open:rotate-45",children:"+"})]}),e.jsx("p",{className:"pb-5 text-sm font-bold leading-7 text-slate-500",children:s.answer})]},s.question))}),e.jsxs("div",{className:"mt-8 border-t border-pink-100 pt-6",children:[e.jsxs("h2",{className:"flex items-center gap-2 text-lg font-black",children:[e.jsx(N,{size:20,className:"text-pink-500"}),t.legalTitle]}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-3",children:[e.jsxs("a",{href:"https://paper2gal.com/privacy",target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center gap-2 rounded-xl border border-pink-100 bg-white px-4 text-sm font-black text-pink-500",children:[t.privacy,e.jsx(x,{size:15})]}),e.jsxs("a",{href:"https://paper2gal.com/terms",target:"_blank",rel:"noreferrer",className:"inline-flex min-h-11 items-center gap-2 rounded-xl border border-pink-100 bg-white px-4 text-sm font-black text-pink-500",children:[t.terms,e.jsx(x,{size:15})]})]})]})]}),e.jsxs("form",{onSubmit:g,className:"rounded-2xl border border-pink-100 bg-white p-5 shadow-[0_18px_60px_rgba(236,72,153,0.10)] md:p-6",children:[e.jsxs("h2",{className:"flex items-center gap-2 text-xl font-black",children:[e.jsx(v,{size:21,className:"text-pink-500"}),t.formTitle]}),e.jsxs("label",{className:"mt-5 block text-sm font-black text-slate-600",children:[t.email,e.jsx("input",{type:"email",required:!0,maxLength:254,value:l,onChange:s=>h(s.target.value),className:"mt-2 min-h-12 w-full rounded-xl border-2 border-slate-100 bg-slate-50 px-4 text-base font-bold outline-none focus:border-pink-300 focus:bg-white"})]}),e.jsxs("label",{className:"mt-4 block text-sm font-black text-slate-600",children:[t.topic,e.jsx("select",{value:o,onChange:s=>p(s.target.value),className:"mt-2 min-h-12 w-full rounded-xl border-2 border-slate-100 bg-slate-50 px-4 text-base font-bold outline-none focus:border-pink-300 focus:bg-white",children:t.topicOptions.map(s=>e.jsx("option",{children:s},s))})]}),e.jsxs("label",{className:"mt-4 block text-sm font-black text-slate-600",children:[t.message,e.jsx("textarea",{required:!0,minLength:10,maxLength:5e3,rows:6,value:c,onChange:s=>d(s.target.value),className:"mt-2 w-full resize-y rounded-xl border-2 border-slate-100 bg-slate-50 p-4 text-base font-bold leading-6 outline-none focus:border-pink-300 focus:bg-white"})]}),e.jsxs("label",{className:"sr-only","aria-hidden":"true",children:["Website",e.jsx("input",{tabIndex:-1,autoComplete:"off",value:m,onChange:s=>
1f(s.target.value)})]}),i==="sent"&&e.jsxs("div",{className:"mt-4 flex items-start gap-2 rounded-xl bg-emerald-50 p-3 text-sm font-bold text-emerald-700",children:[e.jsx(S,{size:18,className:"mt-0.5 shrink-0"}),t.sent]}),i==="failed"&&e.jsx("div",{className:"mt-4 rounded-xl bg-rose-50 p-3 text-sm font-bold text-rose-600",children:t.failed}),e.jsxs("button",{type:"submit",disabled:i==="sending",className:"mt-5 inline-flex min-h-12 w-full items-center justify-center gap-2 rounded-xl bg-pink-500 px-5 text-sm font-black text-white transition hover:bg-pink-600 disabled:opacity-60",children:[i==="sending"?e.jsx(q,{size:18,className:"animate-spin"}):e.jsx(P,{size:18}),i==="sending"?t.sending:t.send]})]})]})]})]})};export{G as default};

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.