PageSourceSearch

https://xbyvideohub.com/_next/static/chunks/0mu2mwny_gfmj.js

js xbyvideohub.com collected 2026-09-30 09:19:56 UTC 37,657 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8460,(e,a,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return d}};for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]});let i=e.r(81258),n=e.r(87219),l=e.r(33111),o=i._(e.r(23769));function d(e){let{props:a}=(0,n.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,t]of Object.entries(a))void 0===t&&delete a[e];return{props:a}}let c=l.Image},45227,(e,a,t)=>{a.exports=e.r(8460)},40587,(e,a,t)=>{a.exports=e.r(46833)},85404,e=>{"use strict";let a=(0,e.i(16735).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,a],85404)},42438,39546,e=>{"use strict";var a=e.i(16735);let t=(0,a.default)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["BadgeCheck",0,t],42438);let r=(0,a.default)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCard",0,r],39546)},57499,e=>{"use strict";var a=e.i(81994),t=e.i(89919),r=e.i(51492),s=e.i(45227),i=e.i(40587),n=e.i(16735);let l=(0,n.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var o=e.i(67348),d=e.i(42438),c=e.i(85404);let m=(0,n.default)("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);var x=e.i(39546);let h=(0,n.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);var p=e.i(2594);let u={en:{signIn:"Sign in",signInHint:"Sign in with Google or email",account:"Account",subscription:"Subscription",pro:"Pro",free:"Free",loading:"Loading account",signOut:"Sign out"},zh:{signIn:"登录",signInHint:"使用 Google 或邮箱登录",account:"账户",subscription:"订阅状态",pro:"专业版",free:"免费版",loading:"正在加载账户",signOut:"退出登录"}};function y({lang:e,fullWidth:s=!1}){let{user:i,loading:n,subscription:l,openLogin:o,signOut:f}=(0,p.useAuth)(),[b,g]=(0,t.useState)(!1),k=(0,t.useRef)(null),w=u[e];return((0,t.useEffect)(()=>{if(!b)return;let e=e=>{k.current?.contains(e.target)||g(!1)},a=e=>{"Escape"===e.key&&g(!1)};return document.addEventListener("mousedown",e),window.addEventListener("keydown",a),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("keydown",a)}},[b]),n)?(0,a.jsx)("span",{"aria-label":w.loading,className:s?"block h-10 w-full":"inline-block h-9 w-9"}):i?(0,a.jsxs)("div",{ref:k,className:`relative ${s?"w-full":""}`,children:[(0,a.jsxs)("button",{type:"button","aria-haspopup":"menu","aria-expanded":b,"aria-label":w.account,onClick:()=>g(e=>!e),className:s?"flex w-full items-center gap-2 rounded-lg px-3 py-2.5 text-left font-medium text-ink-700 transition hover:bg-sky-50":"btn-ghost inline-flex max-w-40 shrink-0 items-center gap-1.5 whitespace-nowrap px-2.5 text-sm",children:[(0,a.jsx)(m,{className:"h-4 w-4 shrink-0"}),(0,a.jsx)("span",{className:"min-w-0 flex-1 truncate",children:i.email||w.account}),(0,a.jsx)(c.ChevronDown,{className:"h-3.5 w-3.5 shrink-0"})]}),b&&(0,a.jsxs)("div",{role:"menu",className:`z-[70] mt-2 rounded-lg border border-ink-100 bg-paper p-2 shadow-xl ${s?"w-full":"absolute right-0 w-64"}`,children:[(0,a.jsxs)("div",{className:"px-2 py-2",children:[(0,a.jsx)("p",{className:"truncate text-sm font-semibold text-ink-900",children:i.email}),(0,a.jsxs)("p",{className:`mt-1 inline-flex items-center gap-1 text-xs font-medium ${"pro"===l?"text-emerald-600 dark:text-emerald-400":"text-ink-500"}`,children:[(0,a.jsx)(d.BadgeCheck,{className:"h-3.5 w-3.5"})," ","pro"===l?w.pro:w.free]})]}),(0,a.jsxs)(r.default,{role:"menuitem",href:"en"===e?"/en/account/":"/account/",onClick:()=>g(!1),className:"flex w-full items-center gap-2 rounded-lg px-2 py-2 text-left text-sm text-ink-700 transition hover:bg-sky-50 hover:text-ink-900",children:[(0,a.jsx)(x.CreditCard,{className:"h-4 w-4"})," ",w.subscription]}),(0,a.jsxs)("button",{role:"menuitem",type:"button",onClick:async()=>{g(!1),await f()},className:"flex w-full items-center gap-2 rounded-lg px-2 py-2 text-left text-sm text-ink-700 transition hover:bg-sky-50 hover:text-ink-900",children:[(0,a.jsx)(h,{className:"h-4 w-4"})," ",w.signOut]})]})]}):(0,a.jsxs)("button",{type:"button","aria-label":w.signInHint,title:w.signInHint,onClick:()=>o(e),className:s?"flex w-full items-center gap-2 rounded-lg px-3 py-2.5 text-left font-medium text-ink-700 transition hover:bg-sky-50 hover:text-skype-deep":"btn-ghost inline-flex shrink-0 items-center gap-2 whitespace-nowrap px-2.5 text-sm",children:[(0,a.jsx)(m,{className:"h-4 w-4"}
1)," ",w.signIn]})}var f=e.i(78976);let b=[{href:"#features",label:"功能"},{href:"/guides/",label:"使用指南",absolute:!0},{href:"/pricing/",label:"价格",absolute:!0},{href:"/support/",label:"工单",absolute:!0}],g=[{href:"#features",label:"Features"},{href:"/en/guides/",label:"Guides",absolute:!0},{href:"/en/pricing/",label:"Pricing",absolute:!0},{href:"/en/support/",label:"Support",absolute:!0}];e.s(["default",0,function({lang:e="zh"}){let n="en"===e?g:b,[d,c]=(0,t.useState)(!1),m=(0,i.usePathname)()||"/",x=m.startsWith("/en"),h=x?m.replace(/^\/en/,"")||"/":`/en${"/"===m?"":m}`,p=x?"/en/":"/",u=x?{mainNav:"Main navigation",home:"BoxPlayer home",download:"Get BoxPlayer — jump to download section",menuOpen:"Open menu",menuClose:"Close menu"}:{mainNav:"主导航",home:"BoxPlayer 首页",download:"Get BoxPlayer — 跳转到下载区域",menuOpen:"打开菜单",menuClose:"关闭菜单"};return(0,a.jsxs)("header",{role:"banner",className:"sticky top-0 z-50 backdrop-blur-md bg-paper/80 border-b border-ink-100/60",children:[(0,a.jsxs)("nav",{"aria-label":u.mainNav,className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-10 h-14 sm:h-16 flex items-center justify-between",children:[(0,a.jsxs)(r.default,{href:x?"/en":"/","aria-label":u.home,className:"flex items-center gap-2 sm:gap-2.5",children:[(0,a.jsx)("div",{className:"w-7 h-7 sm:w-8 sm:h-8 rounded-xl bg-sky-100 grid place-items-center ring-1 ring-sky-200","aria-hidden":!0,children:(0,a.jsx)(s.default,{src:"/images/icons/blue.svg",alt:"",width:20,height:20,className:"w-4 h-4 sm:w-5 sm:h-5"})}),(0,a.jsx)("span",{className:"font-semibold text-ink-900 tracking-tight",children:"BoxPlayer"})]}),(0,a.jsx)("ul",{className:"hidden xl:flex items-center gap-0.5 text-sm list-none flex-shrink-0",children:n.map(e=>(0,a.jsx)("li",{className:"flex-shrink-0",children:(0,a.jsx)(r.default,{href:e.absolute?e.href:`${p}${e.href}`,className:"btn-ghost text-sm whitespace-nowrap px-3 py-2",children:e.label})},e.href))}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,a.jsx)("div",{className:"hidden sm:block",children:(0,a.jsx)(y,{lang:e})}),(0,a.jsx)("div",{className:"hidden sm:block",children:(0,a.jsx)(f.default,{lang:e})}),(0,a.jsx)(r.default,{href:h,hrefLang:x?"zh-CN":"en-US",className:"btn-ghost text-sm px-2.5 sm:px-3 whitespace-nowrap","aria-label":x?"Switch to Chinese":"切换到英文",children:x?"中文":"EN"}),(0,a.jsx)(r.default,{href:x?"/en/#download":"/#download",className:"btn-primary text-xs sm:text-sm px-3 sm:px-6 py-2 sm:py-3 whitespace-nowrap","aria-label":u.download,children:x?"Get BoxPlayer":"免费下载"}),(0,a.jsx)("button",{type:"button","aria-label":d?u.menuClose:u.menuOpen,"aria-expanded":d,"aria-controls":"mobile-nav",onClick:()=>c(e=>!e),className:"xl:hidden inline-flex items-center justify-center w-9 h-9 rounded-lg text-ink-700 hover:bg-sky-50 transition",children:d?(0,a.jsx)(o.X,{className:"w-5 h-5","aria-hidden":!0}):(0,a.jsx)(l,{className:"w-5 h-5","aria-hidden":!0})})]})]}),d&&(0,a.jsx)("div",{id:"mobile-nav",className:"xl:hidden border-t border-ink-100/60 bg-paper/95 backdrop-blur-md",children:(0,a.jsxs)("ul",{className:"mx-auto max-w-7xl px-4 sm:px-6 py-3 flex flex-col gap-1 list-none",children:[n.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:e.absolute?e.href:`${p}${e.href}`,onClick:()=>c(!1),className:"block px-3 py-2.5 rounded-lg text-ink-700 font-medium hover:bg-sky-50 hover:text-skype-deep transition",children:e.label})},e.href)),(0,a.jsx)("li",{className:"mt-1 pt-2 border-t border-ink-100",children:(0,a.jsx)(y,{lang:e,fullWidth:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(f.default,{lang:e,fullWidth:!0})}),(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:h,hrefLang:x?"zh-CN":"en-US",onClick:()=>c(!1),className:"block px-3 py-2.5 rounded-lg text-ink-700 font-medium hover:bg-sky-50 hover:text-skype-deep transition",children:x?"中文":"English"})})]})})]})}],57499)},5195,24102,42302,e=>{"use strict";var a=e.i(16735);let t=(0,a.default)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);e.s(["AlertCircle",0,t],5195);let r=(0,a.default)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["ShieldCheck",0,r],24102);let s=(0,a.default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["XCircle",0,s],42302)},34452,e=>{"use strict";let a=(0,e.i(16735).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",0,a],34452)},53679,e=>{"use strict";var a=e.i(81994),t=e.i(89919),r=e.i(5195),s=e.i(16735);let i=(0,s.default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);var n=e.i(34452);let l=(0,s.default)("hard-drive",[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]]),o=(0,s.default)("library-big",[["rect",{width:"8",height:"18",x:"3",y:"3",rx:"1",key:"oynpb5"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M20.4 18.9c.2.5-.1 1.1-.6 1.3l-1.9.7c-.5.2-1.1-.1-1.3-.6L11.1 5.1c-.2-.5.1-1.1.6-1.3l1.9-.7c.5-.2 1.1.1 1.3.6Z",key:"1qboyk"}]]),d=(0,s.default)("monitor-smartphone",[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]]),c=(0,s.default)("network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]),m=(0,s.default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);var x=e.i(24102);let h=(0,s.default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);var p=e.i(42302),u=e.i(2594);let y={en:{badge:"BoxPlayer Pro",title:(0,a.jsxs)(a.Fragment,{children:["One account. ",(0,a.jsx)("span",{className:"italic text-skype-deep",children:"A better way to play."})]}),desc:"Choose Android Pro for Android-only use, or all-platform Pro to keep your benefits with the same BoxPlayer account everywhere you play.",discount:"30% OFF",discountNote:"Launch offer · 70%",proPrice:{amount:"$139",oldAmount:"$199",unit:"",note:"One purchase · all platforms · lifetime access"},monthly:{name:"Monthly",cycle:"monthly",amount:"$1.4",oldAmount:"$2",unit:"/mo",note:"per month · billed monthly",tagline:"Monthly flexibility.",features:["Everything in Free","Hosted AI fair-use credits","Search, reader, translation & Agent","Movie discovery & AI scraping","Priority support"],cta:"Subscribe Monthly"},yearly:{name:"Yearly",cycle:"yearly",amount:"$13.3",oldAmount:"$19",unit:"/yr",note:"per year · billed annually",tagline:"Best annual value.",features:["Everything in Free","Hosted AI fair-use credits","Search, reader, translation & Agent","Movie discovery & AI scraping","Priority support"],cta:"Subscribe Yearly"},free:{name:"Free",cost:"$0",tagline:"Core cloud-drive tools.",features:["Cloud files","Video & music","Local reader","Local TTS","Multi-drive","Local media library","Open-source CLI","BYOK AI","5 web searches/day"],cta:"Get Started"},android:{name:"Android Pro",cycle:"android_lifetime",amount:"¥90",note:"Early access · one-time purchase",features:["Android & Android TV only","Cloud drives, LAN storage & media servers","TVBox, poster wall, scraping & media library","Advanced player + AI reading & scraping","Not for Apple, Windows or Linux"],cta:"Buy Android Pro"},pro:{badge:"Best long-term value",name:"Lifetime",tagline:"Buy once. Share Pro across every platform.",features:["Apple, Windows & Linux","Android access","Everything in Free","Hosted AI fair-use credits","Search, reader, translation & Agent","Movie discovery & AI scraping","Priority support"],cta:"Lifetime subscription"},currentPlan:"Current plan",purchased:"Purchased",successTitle:"Payment successful!",successDesc:"Activating Pro in the app…",cancelledTitle:"Purchase cancelled",cancelledDesc:"No payment was completed. You can retry whenever you are ready.",failedTitle:"Payment not completed",failedDesc:"The checkout did not finish successfully. Please try again or contact support if this keeps happening.",membershipTitle:"Choose your membership before paying",membershipAndroid:"Android Pro (¥90, one-time purchase) is only for Android and Android TV. It does not unlock Apple, Windows, or Linux apps.",membershipAll:"For Android plus iPhone, iPad, Apple TV, Mac, Windows, or Linux, choose an all-platform Pro plan. Benefits sync after signing in to the same BoxPlayer account.",ctaFoot:"All-platform Pro is shared across iPhone, iPad, Apple TV, Mac, Android, Windows, and Linux when signed in with the same BoxPlayer account.",faqTitle:"Pricing FAQ",faqs:[{q:"Is BoxPlayer free? Do I need a paid subscription?",a:"BoxPlayer's app features are free. There is no paywall for playback, cloud-drive management, reading, media libraries, search workflows, or BYOK AI. Pro only includes optional BoxPlayer-hosted AI fair-use credits for users who do not want to configure their own API key."},{q:"How do hosted AI credits work?",a:"Hosted AI credits apply only when you use BoxPlayer-provided AI capacity, such as AI search, reader conversations, translation, text-to-speech, and AI media scraping. BYOK uses your own provider quota and does not consume BoxPlayer-hosted credits."},{q:"Can I use my own API key instead of Pro?",a:"Yes. After signing in, configure OpenAI, DeepSeek, OpenRouter, Ollama, or any OpenAI-compatible key in Settings. BYOK keeps the same app workflows available while billing usage to your own AI provider."},{q:"How do I upgrade to Pro? Which payment methods are supported?",a:"Download BoxPlayer and log in, then choose Android Pro Early Access (Android / Android T
1V only) or a monthly, yearly, or lifetime all-platform Pro plan. Payment is completed securely through Waffo Pancake hosted checkout."},{q:"Does Pro work on all my devices?",a:"All-platform Pro does: sign in with the same BoxPlayer account to share access across iPhone, iPad, Apple TV, Mac, Android, Windows, and Linux. Android Pro Early Access is deliberately limited to Android and Android TV."},{q:"What is the difference between Android Pro and all-platform Pro?",a:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"Android Pro is for Android and Android TV only, including phones, tablets, and TV devices. It does not work on Apple, Windows, or Linux."}),(0,a.jsx)("p",{className:"mt-2",children:"All-platform Pro supports Android, Android TV, iOS, iPadOS, macOS, tvOS, Windows, and Linux. Benefits are bound to your BoxPlayer account and sync when you sign in on another supported device."})]})},{q:"How do I redeem a BoxPlayer Pro code?",a:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"Monthly, yearly, and lifetime Pro codes apply to a registered BoxPlayer account."}),(0,a.jsxs)("ol",{className:"mt-2 list-decimal space-y-1 pl-5",children:[(0,a.jsxs)("li",{children:["Open ",(0,a.jsx)("a",{className:"font-medium text-skype-deep underline underline-offset-2",href:"https://xbyvideohub.com/account/",children:"BoxPlayer Account Center"}),"."]}),(0,a.jsx)("li",{children:"Register or sign in to your BoxPlayer account."}),(0,a.jsx)("li",{children:"Open Account → Subscription status."}),(0,a.jsx)("li",{children:"Enter the code and confirm redemption."}),(0,a.jsx)("li",{children:"Sign in with the same account on another device and refresh the account status to sync the entitlement."})]})]})},{q:"Can I get a refund?",a:"Subscriptions may include a 7-day free trial and renew automatically after the trial unless cancelled. Completed subscription charges and lifetime purchases are generally non-refundable, except where required by law or for duplicate charges, unauthorized transactions, technical failures, or service unavailability reported within 7 days."}]},zh:{badge:"BoxPlayer Pro",title:(0,a.jsxs)(a.Fragment,{children:["一个账号,",(0,a.jsx)("span",{className:"italic text-skype-deep",children:"畅享更好的播放体验。"})]}),desc:"仅使用 Android 可选择 Android Pro;需要跨平台使用,则选择全平台 Pro,同一 BoxPlayer 账号即可同步权益。",discount:"30% OFF",discountNote:"首发 7 折",proPrice:{amount:"$139",oldAmount:"$199",unit:"",note:"一次购买 · 全端共享 · 终身使用"},monthly:{name:"包月",cycle:"monthly",amount:"$1.4",oldAmount:"$2",unit:"/月",note:"按月订阅",tagline:"按月灵活使用。",features:["包含免费版","托管 AI 公平使用额度","AI 搜索、阅读、翻译与整理","影视发现与 AI 刮削","优先支持"],cta:"按月订阅"},yearly:{name:"包年",cycle:"yearly",amount:"$13.3",oldAmount:"$19",unit:"/年",note:"按年订阅",tagline:"长期使用更划算。",features:["包含免费版","托管 AI 公平使用额度","AI 搜索、阅读、翻译与整理","影视发现与 AI 刮削","优先支持"],cta:"按年订阅"},free:{name:"免费版",cost:"$0",tagline:"基础云盘工具。",features:["网盘文件","视频和音乐","本地阅读","本地 TTS","多网盘连接","本地媒体库","开源 CLI","BYOK AI","全网资源搜索 5 次/天"],cta:"免费开始"},android:{name:"Android Pro",cycle:"android_lifetime",amount:"¥90",note:"早鸟计划 · 一次购买",features:["仅限 Android / Android TV","主流网盘、局域网存储与媒体服务器","TVBox、海报墙、刮削与媒体库管理","高级播放器 + AI 阅读与 AI 刮削","不支持 Apple、Windows、Linux"],cta:"购买 Android Pro"},pro:{badge:"长期使用更划算",name:"终身",tagline:"一次购买,全端共享。",features:["Apple 全家桶、Windows、Linux","Android 权益共享","包含免费版","托管 AI 公平使用额度","AI 搜索、阅读、翻译与整理","影视发现与 AI 刮削","优先支持"],cta:"终身订阅"},currentPlan:"当前套餐",purchased:"已购买",successTitle:"支付成功!",successDesc:"正在激活 App Pro…",cancelledTitle:"已取消购买",cancelledDesc:"本次未完成支付,没有产生专业版授权。你可以随时重新购买。",failedTitle:"支付未完成",failedDesc:"本次结账没有成功完成,请重试;如果持续失败,请联系支持。",membershipTitle:"购买前请确认会员类型",membershipAndroid:"Android Pro(¥90,一次购买)仅支持 Android / Android T
1V,不支持 Apple、Windows、Linux 平台。",membershipAll:"如需 Android + iPhone、iPad、Apple TV、Mac、Windows 或 Linux,请选择全平台 Pro;使用同一 BoxPlayer 账号即可同步权益。",ctaFoot:"全平台 Pro 一次购买后,使用同一 BoxPlayer 账号即可在 iPhone、iPad、Apple TV、Mac、Android、Windows 和 Linux 共享权益。",faqTitle:"价格常见问题",faqs:[{q:"BoxPlayer 是免费的吗?需要付费订阅吗?",a:"BoxPlayer 的功能全部免费。播放、网盘管理、阅读、媒体库、搜索流程、BYOK AI 都不设置付费墙。Pro 只包含可选的 BoxPlayer 托管 AI 公平使用额度,适合不想配置自己 API Key 的用户。"},{q:"托管 AI 额度怎么算?哪些操作会消耗?",a:"只有使用 BoxPlayer 托管 AI 能力时才会消耗额度,例如 AI 搜索、AI 阅读助手对话、翻译、云端语音朗读、AI 影视刮削。BYOK(使用你自己的 OpenAI/DeepSeek 等 API Key)走你自己的服务商额度,不消耗 BoxPlayer 托管 AI 额度。"},{q:"可以不用 Pro,只用自己的 API Key 吗?",a:"可以。登录 BoxPlayer 账号后,在设置里配置 OpenAI、DeepSeek、OpenRouter、Ollama 或任何 OpenAI 兼容 Key,即可使用同样的 AI 工作流,用量由你自己的服务商计费。"},{q:"怎么升级到 Pro?支持哪些支付方式?",a:"下载 BoxPlayer 并登录后,可选择仅限 Android / Android TV 的 Android Pro 早鸟计划,或包月、包年、终身全平台 Pro。支付通过 Waffo Pancake 托管结账页安全完成。"},{q:"Pro 能在所有设备上使用吗?",a:"全平台 Pro 可以:同一 BoxPlayer 账号可在 Apple 全家桶(iPhone、iPad、Apple TV、Mac)、Android、Windows 和 Linux 共享权益。Android Pro 早鸟计划仅限 Android / Android TV。"},{q:"Android Pro 和全平台 Pro 有什么区别?",a:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{children:"Android Pro"})," 仅支持 Android / Android TV,适合仅在 Android 手机、平板、电视设备上使用 BoxPlayer 的用户。",(0,a.jsx)("strong",{children:"不支持 Apple、Windows、Linux 平台。"})]}),(0,a.jsxs)("p",{className:"mt-2",children:[(0,a.jsx)("strong",{children:"全平台 Pro"})," 支持 Android / Android TV / iOS / iPadOS / macOS / tvOS / Windows / Linux。权益绑定至 BoxPlayer 账号,在其他支持设备登录同一账号即可同步,无需重复购买。"]})]})},{q:"BoxPlayer Pro 兑换码如何使用?",a:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{children:"提供包月 Pro、包年 Pro、终身 Pro;兑换码适用于已注册的 BoxPlayer 账号,兑换成功后权益绑定至当前账号。"}),(0,a.jsxs)("ol",{className:"mt-2 list-decimal space-y-1 pl-5",children:[(0,a.jsxs)("li",{children:["前往 ",(0,a.jsx)("a",{className:"font-medium text-skype-deep underline underline-offset-2",href:"https://xbyvideohub.com/account/",children:"BoxPlayer 账号中心"}),"。"]}),(0,a.jsx)("li",{children:"注册或登录 BoxPlayer 账号。"}),(0,a.jsx)("li",{children:"进入“账号 → 订阅状态”。"}),(0,a.jsx)("li",{children:"输入兑换码并确认兑换。"}),(0,a.jsx)("li",{children:"在其他设备登录同一账号并刷新账号状态,即可同步权益。"})]})]})},{q:"可以退款吗?",a:"订阅产品可能包含 7 天免费试用,试用结束后如未取消将自动续费。除法律要求或重复扣费、未经授权交易、技术故障、服务不可用等在付款后 7 天内反馈的情况外,已完成的订阅扣费和一次买断购买通常不予退款。"}]}};function f({plan:e,active:t,featured:r=!1,loading:s,lang:n,onCheckout:l}){return(0,a.jsxs)("div",{className:`relative flex min-w-0 flex-col rounded-2xl border p-5 ${r?"border-skype-deep bg-sky-50/70 dark:bg-sky-100/70 shadow-[0_16px_30px_-24px_rgba(1,119,201,0.8)]":"border-ink-100 dark:border-ink-200 bg-white dark:bg-cloud"}`,children:[r&&(0,a.jsx)("span",{className:"absolute right-3 top-0 -translate-y-1/2 rounded-full bg-accent-solid px-2.5 py-1 text-[11px] font-bold text-white",children:"zh"===n?"最受欢迎":"Most popular"}),(0,a.jsx)("h4",{className:`font-display text-2xl ${r?"text-skype-deep":"text-ink-900"}`,children:e.name}),t&&(0,a.jsx)(b,{label:"zh"===n?"当前套餐":"Current plan"}),(0,a.jsxs)("div",{className:"mt-6 flex min-h-14 items-baseline gap-1",children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-ink-300 line-through",children:e.oldAmount}),(0,a.jsx)("span",{className:"font-display text-4xl tracking-[-0.03em] text-ink-900",children:e.amount}),e.unit&&(0,a.jsx)("span",{className:"text-base font-medium text-ink-500",children:e.unit})]}),(0,a.jsx)("p",{className:"mt-2 min-h-10 text-sm leading-5 text-ink-500",children:e.note}),(0,a.jsxs)("button",{type:"button",disabled:s,onClick:()=>l(e.cycle),className:`mt-5 inline-flex min-h-11 items-center justify-center gap-2 rounded-xl px-4 py-3 text-sm font-semibold transition disabled:opacity-60 ${r?"bg-accent-solid text-white shadow-lg shadow-accent-solid/20 hover:opacity-90":"border border-ink-200 dark:border-ink-300 bg-white dark:bg-onyx-soft text-ink-700 hover:border-skype-deep hover:text-skype-deep"}`,children:[s?"zh"===n?"正在打开支付...":"Opening checkout...":e.cta,(0,a.jsx)(i,{className:"h-4 w-4"})]})]})}function b({label:e}){return(0,a.jsxs)("div",{className:"mt-3 inline-flex w-fit items-center gap-1.5 whitespace-nowrap rounded-full border border-emerald-200 bg-emerald-50 px-3 py-1 text-xs font-semibold text-emerald-700 dark:border-emerald-500/30 dark:bg-emerald-500/12 dark:text-emerald-300",children:[(0,a.jsx)(n.CheckCircle,{className:"h-3.5 w-3.5"}),e]})}e.s(["default",0,function({lang:e="zh"}){let s=function(){let[e,a]=(0,t.useState)("");return(0,t.useEffect)(()=>{let e=new URLSearchParams(window.location.hash.replace("#pricing","").replace(/^\?/,"")||window.location.search),t=e.get("paid"),r="success"===t?"success":"cancelled"===t||"canceled"===t||"cancel"===t?"cancelled":"failed"===t||"failure"===t?"failed":"";if(!r)return;let s=window.setTimeout(()=>a(r),0),i="app"===e.get("source")?window.setTimeout(()=>
1{window.location.href=`boxplayer-auth://payment-${r}`},1200):void 0;return()=>{window.clearTimeout(s),i&&window.clearTimeout(i)}},[]),e}(),{session:g,openLogin:k,refreshSubscription:w,subscription:j}=(0,u.useAuth)(),A=y[e],[v,P]=(0,t.useState)(!1),[N,I]=(0,t.useState)(""),[B,C]=(0,t.useState)(null),S=A.faqs,O=A.proPrice,T="zh"===e?"全平台 Pro":"All-platform Pro",M="zh"===e?"一个账号,在所有支持设备上同步 Pro 权益。":"One account, with Pro benefits synced across every supported device.",L="zh"===e?[{icon:l,title:"多来源媒体",desc:"网盘、局域网与媒体服务器"},{icon:o,title:"智能媒体库",desc:"海报墙、刮削与分类整理"},{icon:m,title:"AI 阅读与搜索",desc:"阅读、翻译、搜索与 AI 刮削"},{icon:x.ShieldCheck,title:"持续更新与支持",desc:"优先体验新功能与支持"}]:[{icon:l,title:"Every media source",desc:"Cloud, LAN and media servers"},{icon:o,title:"Smart library",desc:"Posters, scraping and organization"},{icon:m,title:"AI reading & search",desc:"Reader, translation, search and scraping"},{icon:x.ShieldCheck,title:"Ongoing updates",desc:"New capabilities and priority support"}],z=new URLSearchParams(window.location.search).get("source"),q="app"===z||"boxplayer-desktop"===z?"app":"web",V=g?.access_token||"",$="success"===s&&"pro"!==j,_=B?.isPro?B.plan:"",W=e=>_===e||"lifetime"===e&&"pro"===_;async function E(a){if(I(""),!g?.access_token)return void k(e);P(!0);try{let e=await fetch("/api/waffo/checkout",{method:"POST",headers:{"content-type":"application/json",Authorization:`Bearer ${g.access_token}`},body:JSON.stringify({cycle:a,source:q})}),t=await e.json();if(!e.ok||!t.checkoutUrl)throw Error(t.error||"checkout_failed");window.open(t.checkoutUrl,"_blank","noopener,noreferrer")}catch(e){I(e instanceof Error?e.message:"checkout_failed")}finally{P(!1)}}return(0,t.useEffect)(()=>{"success"===s&&w()},[s,w]),(0,t.useEffect)(()=>{if(!$||!g?.access_token)return;let e=setInterval(()=>void w(),3e3);return()=>clearInterval(e)},[$,g,w]),(0,t.useEffect)(()=>{let e=!0;return(async()=>{if(await Promise.resolve(),!e)return;if(!V)return C(null);let a=await fetch("/api/me/subscription",{cache:"no-store",headers:{Authorization:`Bearer ${V}`}}),t=await a.json().catch(()=>({}));e&&a.ok&&C(t)})(),()=>{e=!1}},[V,j]),(0,a.jsxs)("div",{id:"pricing","aria-labelledby":"pricing-heading",className:"relative py-16 sm:py-24 md:py-32 bg-sky-50/30",children:["success"===s&&$&&(0,a.jsx)("div",{className:"mx-auto max-w-4xl px-4 mb-8",children:(0,a.jsxs)("div",{className:"bg-emerald-50 dark:bg-emerald-500/12 border border-emerald-200 dark:border-emerald-500/30 rounded-2xl p-6 flex items-center gap-4",children:[(0,a.jsx)(n.CheckCircle,{className:"w-8 h-8 text-emerald-500 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-lg font-semibold text-emerald-800 dark:text-emerald-200",children:A.successTitle}),(0,a.jsx)("p",{className:"text-sm text-emerald-600 dark:text-emerald-300",children:A.successDesc})]})]})}),"cancelled"===s&&(0,a.jsx)("div",{className:"mx-auto max-w-4xl px-4 mb-8",children:(0,a.jsxs)("div",{className:"bg-amber-50 dark:bg-amber-500/12 border border-amber-200 dark:border-amber-500/30 rounded-2xl p-6 flex items-center gap-4",children:[(0,a.jsx)(r.AlertCircle,{className:"w-8 h-8 text-amber-500 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-lg font-semibold text-amber-800 dark:text-amber-200",children:A.cancelledTitle}),(0,a.jsx)("p",{className:"text-sm text-amber-700 dark:text-amber-300",children:A.cancelledDesc})]})]})}),"failed"===s&&(0,a.jsx)("div",{className:"mx-auto max-w-4xl px-4 mb-8",children:(0,a.jsxs)("div",{className:"bg-rose-50 dark:bg-rose-500/12 border border-rose-200 dark:border-rose-500/30 rounded-2xl p-6 flex items-center gap-4",children:[(0,a.jsx)(p.XCircle,{className:"w-8 h-8 text-rose-500 flex-shrink-0"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-lg font-semibold text-rose-800 dark:text-rose-200",children:A.failedTitle}),(0,a.jsx)("p",{className:"text-sm text-rose-700 dark:text-rose-300",children:A.failedDesc})]})]})}),(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-10",children:[(0,a.jsxs)("div",{className:"text-center max-w-3xl mx-auto mb-12",children:[(0,a.jsx)("span",{className:"text-skype-deep font-semibold text-xs sm:text-sm tracking-[0.18em] uppercase",children:A.badge}),(0,a.jsx)("h2",{id:"pricing-heading",className:"font-display mt-3 text-[clamp(1.75rem,5vw,3rem)] leading-[1.1] tracking-[-0.02em] text-ink-900",children:A.title}),(0,a.jsx)("p",{className:"mt-4 text-ink-500 text-base sm:text-lg leading-relaxed",children:A.desc}),(0,a.jsx)("p",{className:"mt-4 text-sm text-ink-500",children:"zh"===e?"基础功能永久免费,Pro 解锁更多托管 AI 与高级体验。":"Core features stay free. Pro adds hosted AI credits and advanced experiences."})]}),N&&(0,a.jsx)("p",{className:"mx-auto mb-6 max-w-5xl text-center text-sm text-red-500 leading-relaxed",children:N}),(0,a.jsxs)("div",{className:"grid items-stretch gap-6 lg:grid-cols-[minmax(18rem,0.8fr)_minmax(0,1.8fr)]",children:[(0,a.jsxs)("section",{className:"relative flex min-w-0 flex-col overflow-hidden rounded-[28px] border border-amber-300 dark:border-amber-400/70 bg-gradient-to-b from-amber-50/80 via-cloud to-cloud dark:from-amber-500/20 dark:via-cloud dark:to-cloud p-7 shadow-[0_20px_50px_-35px_rgba(217,119,6,0.55)] sm:p-8",children:[(0,a.jsxs)("div",{className:"inline-flex w-fit items-center gap-2 rounded-full bg-amber-100 px-3 py-1.5 text-xs font-bold text-amber-800",children:[(0,a.jsx)(d,{className:"h-4 w-4"}
1),"Android / Android TV"]}),(0,a.jsx)("h3",{className:"mt-6 font-display text-3xl text-ink-900",children:A.android.name}),W("android_lifetime")&&(0,a.jsx)(b,{label:"success"===s?A.purchased:A.currentPlan}),(0,a.jsx)("div",{className:"mt-6 flex items-baseline gap-2",children:(0,a.jsx)("span",{className:"font-display text-6xl tracking-[-0.04em] text-ink-900",children:A.android.amount})}),(0,a.jsx)("p",{className:"mt-2 text-sm text-ink-500",children:A.android.note}),(0,a.jsx)("div",{className:"mt-7 space-y-3 text-sm leading-6 text-ink-700",children:A.android.features.slice(1,4).map(e=>(0,a.jsx)("p",{children:e},e))}),(0,a.jsxs)("button",{type:"button",disabled:v,onClick:()=>E(A.android.cycle),className:"mt-8 inline-flex min-h-12 items-center justify-center gap-2 rounded-xl bg-amber-500 px-5 py-3 text-base font-semibold text-white shadow-lg shadow-amber-500/20 transition hover:bg-amber-600 disabled:opacity-60",children:[v?"en"===e?"Opening checkout...":"正在打开支付...":A.android.cta,(0,a.jsx)(i,{className:"h-4 w-4"})]}),(0,a.jsxs)("div",{className:"mt-5 flex gap-3 rounded-2xl border border-amber-200 dark:border-amber-400/50 bg-amber-100/60 dark:bg-amber-500/15 p-4 text-sm leading-6 text-amber-900 dark:text-amber-200",children:[(0,a.jsx)(r.AlertCircle,{className:"mt-0.5 h-5 w-5 shrink-0"}),(0,a.jsx)("p",{children:A.membershipAndroid})]})]}),(0,a.jsxs)("section",{className:"relative min-w-0 rounded-[28px] border-2 border-skype-deep/70 bg-cloud p-6 shadow-[0_20px_50px_-38px_rgba(1,119,201,0.6)] sm:p-8",children:[(0,a.jsxs)("span",{className:"absolute right-5 top-0 -translate-y-1/2 inline-flex items-center gap-1 rounded-full bg-accent-solid px-3 py-1.5 text-xs font-bold text-white shadow",children:[(0,a.jsx)(h,{className:"h-3.5 w-3.5"}),"zh"===e?"推荐选择":"Recommended"]}),(0,a.jsx)("div",{className:"flex flex-col gap-4 border-b border-skype-deep/15 pb-6 sm:flex-row sm:items-start sm:justify-between",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-2 rounded-full bg-sky-100 px-3 py-1.5 text-xs font-bold text-skype-deep",children:[(0,a.jsx)(c,{className:"h-4 w-4"}),"zh"===e?"全平台畅享":"Every platform"]}),(0,a.jsx)("h3",{className:"mt-4 font-display text-3xl text-ink-900",children:T}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-6 text-ink-500",children:M})]})}),(0,a.jsx)("div",{className:"mt-5 grid grid-cols-2 gap-2 sm:grid-cols-4",children:["Android","Android TV","iOS","iPadOS","macOS","tvOS","Windows","Linux"].map(e=>(0,a.jsx)("span",{className:"flex min-h-10 items-center justify-center rounded-xl border border-ink-100 dark:border-ink-200 bg-white dark:bg-onyx-soft px-2 text-xs font-semibold text-ink-600 dark:text-ink-700",children:e},e))}),(0,a.jsxs)("div",{className:"mt-6 grid gap-3 md:grid-cols-3",children:[(0,a.jsx)(f,{plan:A.monthly,active:W("monthly"),loading:v,lang:e,onCheckout:E}),(0,a.jsx)(f,{plan:A.yearly,active:W("yearly"),loading:v,lang:e,onCheckout:E}),(0,a.jsx)(f,{plan:{...A.pro,cycle:"lifetime",amount:O.amount,oldAmount:O.oldAmount,unit:O.unit,note:O.note},active:W("lifetime"),loading:v,lang:e,onCheckout:E,featured:!0})]})]})]}),(0,a.jsxs)("section",{className:"mt-8 rounded-[24px] border border-sky-100 dark:border-ink-200 bg-white/70 dark:bg-cloud/70 px-5 py-6 sm:px-8",children:[(0,a.jsx)("p",{className:"text-center text-sm font-bold text-ink-900",children:"zh"===e?"BoxPlayer Pro 包含以下高级权益":"BoxPlayer Pro includes these advanced benefits"}),(0,a.jsx)("div",{className:"mt-5 grid gap-5 sm:grid-cols-2 lg:grid-cols-4",children:L.map(e=>{let t=e.icon;return(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-sky-50 dark:bg-sky-100 text-skype-deep",children:(0,a.jsx)(t,{className:"h-5 w-5"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-ink-900",children:e.title}),(0,a.jsx)("p",{className:"mt-1 text-xs leading-5 text-ink-500",children:e.desc})]})]},e.title)})})]}),(0,a.jsxs)("div",{className:"mt-16",children:[(0,a.jsx)("h3",{className:"font-display text-center text-2xl sm:text-3xl text-ink-900 mb-8",children:A.faqTitle}),(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:S.map(e=>(0,a.jsxs)("div",{className:"card-soft p-6",children:[(0,a.jsx)("h4",{className:"font-semibold text-ink-900 text-[15px]",children:e.q}),(0,a.jsx)("div",{className:"mt-2 text-sm text-ink-500 leading-relaxed",children:e.a})]},e.q))})]}),(0,a.jsxs)("div",{className:"text-center mt-16",children:[(0,a.jsx)("p",{className:"text-ink-500 text-sm mb-4",children:A.ctaFoot}),(0,a.jsxs)("button",{type:"button",disabled:v,onClick:()=>E("lifetime"),className:"inline-flex items-center gap-2 whitespace-nowrap rounded-xl bg-accent-solid px-8 py-3.5 text-base font-semibold text-white transition hover:opacity-90 disabled:opacity-60",children:[A.pro.cta," ",(0,a.jsx)(i,{className:"w-4 h-4"})]})]})]})]})}],53679)}]);

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.