PageSourceSearch

https://nanobanana.org/_next/static/chunks/195db4f0dc64a00a.js?dpl=dpl_A4R1Z2oUzowcLKwbEjEPzwaWjEpJ

js nanobanana.org collected 2026-09-28 06:57:15 UTC 38,036 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,683679,e=>{"use strict";let t=(0,e.i(769074).default)("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);e.s(["Loader",()=>t],683679)},198755,e=>{"use strict";var t=e.i(818362),a=e.i(520133);function s({text:e,linkClassName:s="underline underline-offset-4 transition-colors hover:text-green-600 dark:hover:text-green-400"}){let r=[],n=0;for(let i of e.matchAll(/\[([^\]]+)\]\(([^)]+)\)/g)){let l=i.index;l>n&&r.push(e.slice(n,l));let d=i[1],c=i[2].trim();c.startsWith("/")?r.push((0,t.jsx)(a.Link,{href:c,className:s,children:d},`${l}-${c}`)):/^\s*(?:javascript|data|vbscript):/i.test(c)?r.push(d):r.push((0,t.jsx)("a",{href:c,className:s,children:d},`${l}-${c}`)),n=l+i[0].length}return r.push(e.slice(n)),(0,t.jsx)(t.Fragment,{children:r})}e.s(["InlineLinks",()=>s])},333770,e=>{"use strict";var t=e.i(818362),a=e.i(487486),s=e.i(198755),r=e.i(520133),n=e.i(287937);function i({section:e,variant:i="default"}){if(e.disabled)return null;let[l,d]=(0,n.useState)(null);return"pricing"===i?(0,t.jsxs)("section",{id:e.name,className:"relative overflow-hidden bg-white py-16 text-zinc-950 dark:bg-[#080808] dark:text-white lg:py-24",children:[(0,t.jsx)("div",{className:"absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-zinc-900/10 to-transparent dark:via-white/15"}),(0,t.jsx)("div",{className:"container relative",children:(0,t.jsxs)("div",{className:"grid gap-10 lg:grid-cols-[320px_1fr] lg:gap-24",children:[(0,t.jsxs)("div",{children:[e.label&&(0,t.jsx)(a.Badge,{className:"mb-4 rounded-full border-0 bg-zinc-100 px-3 py-1 text-xs font-semibold text-zinc-600 shadow-none dark:bg-white/10 dark:text-white/55",children:e.label}),(0,t.jsx)("h2",{className:"text-3xl font-semibold tracking-tight text-zinc-950 dark:text-white lg:text-4xl",children:e.title||"FAQs"}),e.description&&(0,t.jsx)("p",{className:"mt-4 text-sm leading-7 text-zinc-500 dark:text-white/45",children:(0,t.jsx)(s.InlineLinks,{text:e.description})})]}),(0,t.jsx)("div",{className:"space-y-1",children:e.items?.map((e,a)=>(0,t.jsxs)("details",{open:0===a,className:"group border-b border-zinc-200/70 py-3 last:border-b-0 dark:border-white/10",children:[(0,t.jsxs)("summary",{className:"flex cursor-pointer list-none items-start gap-5 rounded-lg py-2 text-left marker:hidden",children:[(0,t.jsx)("span",{className:"mt-1 flex h-5 w-5 shrink-0 items-center justify-center text-zinc-900 transition-transform duration-200 group-open:rotate-90 dark:text-white/90",children:(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.2,d:"M9 5l7 7-7 7"})})}),(0,t.jsx)("h3",{className:"text-lg font-semibold leading-8 text-zinc-950 dark:text-white lg:text-xl",children:e.title})]}),e.description&&(0,t.jsx)("p",{className:"ml-10 max-w-4xl pb-6 pt-1 text-sm leading-7 text-zinc-500 dark:text-white/45 lg:text-base",children:(0,t.jsx)(s.InlineLinks,{text:e.description})}),e.buttons&&e.buttons.length>0&&(0,t.jsx)("div",{className:"ml-10 flex flex-wrap gap-3 pb-6",children:e.buttons.map((e,a)=>(0,t.jsxs)(r.Link,{href:e.url||"/contact",className:"inline-flex items-center rounded-full border border-zinc-300 px-4 py-2 text-sm font-semibold text-zinc-800 transition-colors hover:border-emerald-500 hover:text-emerald-700 dark:border-white/20 dark:text-white/80 dark:hover:border-emerald-400 dark:hover:text-emerald-300",children:[e.title,(0,t.jsx)("span",{"aria-hidden":"true",className:"ml-1.5",children:"→"})]},a))})]},a))})]})})]}):(0,t.jsxs)("section",{id:e.name,className:"relative py-20 lg:py-32 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-10"}),(0,t.jsxs)("div",{className:"container relative",children:[(0,t.jsxs)("div",{className:"text-center mb-16",children:[e.label&&(0,t.jsx)(a.Badge,{className:"mb-6 bg-gradient-to-r from-green-500/10 to-cyan-500/10 [.dark_&]:from-green-400/20 [.dark_&]:to-cyan-400/20 text-green-700 [.dark_&]:text-green-600  border-green-500/30 [.dark_&]:border-green-400/40 px-4 py-1.5 text-xs font-semibold",children:e.label}),(0,t.jsx)("h2",{className:"text-4xl md:text-5xl lg:text-6xl font-bold bg-gradient-to-r from-slate-900 via-green-800 to-slate-900 [.dark_&]:from-white [.dark_&]:via-green-300 [.dark_&]:to-white bg-clip-text text-transparent leading-tight mb-6",children:e.title}),(0,t.jsx)("p",{className:"text-lg md:text-xl text-slate-600 [.dark_&]:text-slate-300 max-w-2xl mx-auto leading-relaxed",children:(0,t.jsx)(s.InlineLinks,{text:e.description||""})})]}),(0,t.jsx)("div",{className:"flex flex-col gap-6 lg:gap-8 max-w-4xl mx-auto",children:e.items?.map((e,a)=>(0,t.jsxs)("div",{className:"group relative",onMouseEnter:()=>d(a),onMouseLeave:()=>d(null),children:[(0,t.jsx)("div",{className:`absolute -inset-0.5 bg-gradient-to-r from-green-500 to-cyan-500 [.dark_&]:from-green-400 [.dark_&]:to-cyan-400 rounded-2xl opacity-0 group-hover:opacity-30 blur-sm transition-all duration-500 ${l===a?"opacity-30":""}`}),(0,t.jsxs)("div",{className:"relative bg-gradient-to-br from-white/80 to-slate-50/60 [.dark_&]:from-slate-800/60 [.dark_&]:to-slate-900/50 backdrop-blur-sm border border-slate-200/60 [.dark_&]:border-slate-700/50 rounded-2xl p-6 lg:p-8 transition-all duration-300 group-hover:border-green-500/30 [.dark_&]:group-hover:border-green-400/50 group-hover:shadow-xl group-hover:shadow-green-500/10 [.dark_&]:group-hover:shadow-green-400/20",children:[(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"relative flex-shrink-0",children:(0,t.jsx)("div",{className:"relative w-12 h-12 bg-gradient-to-br from-green-500/20 to-cyan-500/20 [.dark_&]:from-green-400/30 [.dark_&]:to-cyan-400/30 group-hover:from-green-500 group-hover:to-cyan-500 [.dark_&]:group-hover:from-green-400 [.dark_&]:group-hover:to-cyan-400 rounded-xl flex items-center justify-center transition-all duration-300",children:(0,t.jsx)("span",{className:"text-sm font-bold  group-hover:text-white transition-colors",children:String(a+1).padStart(2,"0")})})}),(0,t.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,t.jsx)("h3",{className:"text-lg lg:text-xl font-semibold text-slate-900 [.dark_&]:text-white group-hover:text-green-600 [.dark_&]:group-hover:text-green-400 transition-colors leading-tight",children:e.title}),(0,t.jsx)("p",{className:"text-slate-600 [.dark_&]:text-slate-300 leading-relaxed",children:(0,t.jsx)(s.InlineLinks,{text:e.description||""})})]}),(0,t.jsx)("div",{className:"flex-shrink-0 self-start opacity-0 group-hover:opacity-100 transition-all duration-300 transform group-hover:translate-x-2",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-green-500 [.dark_&]:text-green-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7l5 5m0 0l-5 5m5-5H6"})})})]}),(0,t.jsx)("div",{className:"absolute top-0 right-0 w-16 h-16 opacity-10 group-hover:opacity-20 transition-opacity",children:(0,t.jsx)("svg",{viewBox:"0 0 100 100",className:"w-full h-full",children:(0,t.jsx)("path",{d:"M100,
10 L100,100 L0,100",className:"stroke-green-500 [.dark_&]:stroke-green-400",strokeWidth:"2",fill:"none"})})})]})]},a))}),(0,t.jsx)("div",{className:"mt-16 text-center",children:(0,t.jsxs)("p",{className:"text-sm text-slate-500 [.dark_&]:text-slate-400",children:["Have more questions?",(0,t.jsx)(r.Link,{href:"/contact",className:"ml-2 text-green-600 [.dark_&]:text-green-400 hover:text-green-700 [.dark_&]:hover:text-green-300 font-semibold transition-colors",children:"Contact our support team →"})]})})]})]})}e.s(["default",()=>i])},238708,e=>{"use strict";let t=(0,e.i(769074).default)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);e.s(["Zap",()=>t],238708)},247241,e=>{"use strict";var t=e.i(818362),a=e.i(11505),s=e.i(542343),r=e.i(417269),n=e.i(683679),i=e.i(238708),l=e.i(629288),d=e.i(287937),c=e.i(487486),o=e.i(519455),x=e.i(198755),m=e.i(939432),h=e.i(110204),p=e.i(520133),g=e.i(566317),u=e.i(167173),b=e.i(557444),f=e.i(798522),j=e.i(681855),k=e.i(776639),y=e.i(380678),w=e.i(98552),N=e.i(631941);let v=[{name:"Mastercard",src:"/payment-methods/mastercard.png"},{name:"Visa",src:"/payment-methods/visa.png"},{name:"AmericanExpress",src:"/payment-methods/american-express.png"},{name:"ApplePay",src:"/payment-methods/apple-pay.png"},{name:"UnionPay",src:"/payment-methods/union-pay.png"},{name:"GooglePay",src:"/payment-methods/google-pay.png"},{name:"JCB",src:"/payment-methods/jcb.png"},{name:"Discover",src:"/payment-methods/discover.png"},{name:"ClickToPay",src:"/payment-methods/click-to-pay.png"}],_=[{key:"north_america",methods:["Visa","Mastercard","AmericanExpress","Discover","DinersClub","ClickToPay","ApplePay","GooglePay","Link","CashAppPay"]},{key:"europe",methods:["Visa","Mastercard","AmericanExpress","Discover","DinersClub","ClickToPay","ApplePay","GooglePay","Link","iDEAL","Bancontact","CartesBancaires","Postepay","PostFinance","TrueLayer","RevolutPay","Fonix"]},{key:"latin_america",methods:["Visa","Mastercard","AmericanExpress","ClickToPay","ApplePay","GooglePay","SPEI"]},{key:"asia_pacific",methods:["Visa","Mastercard","AmericanExpress","Discover","DinersClub","ClickToPay","ApplePay","GooglePay","Link","JCB","UnionPay","Rakuten Pay","MerPay","Konbini"]},{key:"middle_east_africa",methods:["Visa","Mastercard","AmericanExpress","ClickToPay","ApplePay","GooglePay"]}],z="h-8 w-auto max-w-[112px]";function C({name:e}){switch(e){case"Visa":return(0,t.jsx)(N.SiVisa,{className:`${z} text-[#1434CB]`});case"Mastercard":return(0,t.jsx)(N.SiMastercard,{className:`${z} text-[#EB001B]`});case"AmericanExpress":return(0,t.jsx)(N.SiAmericanexpress,{className:`${z} text-[#006FCF]`});case"Discover":return(0,t.jsx)(N.SiDiscover,{className:`${z} text-[#F58220]`});case"DinersClub":return(0,t.jsx)(N.SiDinersclub,{className:`${z} text-[#0079BE]`});case"ApplePay":return(0,t.jsx)(N.SiApplepay,{className:`${z} text-black`});case"GooglePay":return(0,t.jsx)(N.SiGooglepay,{className:`${z} text-[#4285F4]`});case"JCB":return(0,t.jsx)(N.SiJcb,{className:`${z} text-[#0B4EA2]`});case"CashAppPay":return(0,t.jsxs)("span",{className:"flex items-center gap-2 text-[15px] font-semibold text-black",children:[(0,t.jsx)(N.SiCashapp,{className:"h-6 w-6 text-[#00D64F]"}),"Cash App Pay"]});case"RevolutPay":return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-[17px] font-medium text-[#25252D]",children:[(0,t.jsx)(N.SiRevolut,{className:"h-7 w-7"}),"Pay"]});case"Rakuten Pay":return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-[16px] font-semibold text-[#BF0000]",children:[(0,t.jsx)(N.SiRakuten,{className:"h-7 w-7"}),"Pay"]});case"ClickToPay":return(0,t.jsx)("span",{className:"text-[36px] font-light leading-none tracking-[-0.25em] text-[#697786]",children:"▷▷"});case"Link":return(0,t.jsx)("span",{className:"text-[28px] font-bold tracking-tight text-black",children:"link"});case"iDEAL":return(0,t.jsxs)("span",{className:"flex items-center text-[19px] font-bold text-black",children:[(0,t.jsx)("span",{className:"mr-1 inline-flex h-8 w-5 items-end justify-center rounded-sm bg-[#CC0066] pb-0.5 text-xs font-black text-white",children:"i"}),"DEAL"]});case"Bancontact":return(0,t.jsxs)("span",{className:"flex flex-col items-center text-[11px] font-bold leading-none text-[#005498]",children:[(0,t.jsx)("span",{className:"mb-1 h-3.5 w-14 -skew-x-[28deg] rounded-sm bg-[linear-gradient(135deg,#005498_0_48%,#FFD800_49%)]"}),"Bancontact"]});case"CartesBancaires":return(0,t.jsx)("span",{className:"rounded-md bg-[#00A875] px-2 py-1 text-lg font-black tracking-[-0.12em] text-white",children:"CB"});case"Postepay":return(0,t.jsx)("span",{className:"text-[22px] font-black italic text-[#0046B8]",children:"Postepay"});case"PostFinance":return(0,t.jsx)("span",{className:"bg-[#FFD500] px-2 py-1 text-[13px] font-black italic text-black",children:"PostFinance"});case"TrueLayer":return(0,t.jsxs)("span",{className:"flex items-center gap-2 text-[14px] font-semibold text-black",children:[(0,t.jsx)("span",{className:"text-3xl leading-none",children:"◇"}),"TrueLayer"]});case"Fonix":return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-[21px] font-medium text-[#101057]",children:[(0,t.jsx)("span",{className:"h-5 w-5 rounded-full border-[6px] border-[#5247D7]"}),"fonix"]});case"SPEI":return(0,t.jsxs)("span",{className:"text-[25px] font-black tracking-tight text-[#25156B]",children:["SPE",(0,t.jsx)("span",{className:"text-[#F4A300]",children:"I"})]});
1case"UnionPay":return(0,t.jsxs)("span",{className:"flex -skew-x-6 overflow-hidden rounded text-sm font-black text-white",children:[(0,t.jsx)("span",{className:"bg-[#D71920] px-1.5 py-1",children:"Union"}),(0,t.jsx)("span",{className:"bg-[#007A4D] px-1.5 py-1",children:"Pay"})]});case"MerPay":return(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-[17px] font-semibold text-[#666]",children:[(0,t.jsx)("span",{className:"h-6 w-6 rounded-full bg-[#FF3951]"}),"MerPay"]});case"Konbini":return(0,t.jsxs)("span",{className:"flex items-center gap-2 text-[16px] font-semibold text-[#4A4A4A]",children:[(0,t.jsx)("span",{className:"text-2xl",children:"▥"}),"Konbini"]});default:return(0,t.jsx)("span",{className:"text-base font-semibold text-black",children:e})}}function P({name:e}){return(0,t.jsx)("div",{className:"flex h-[84px] w-full cursor-default items-center justify-center rounded-md border border-[#dfe3e8] bg-white px-3","aria-label":e,children:(0,t.jsx)(C,{name:e})})}function A(){let e=(0,f.useTranslations)("payment_security");return(0,t.jsxs)(k.Dialog,{children:[(0,t.jsxs)("section",{className:"mt-5 bg-transparent py-4 text-zinc-900 dark:text-white",children:[(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-center gap-2 text-center text-base font-medium sm:text-lg",children:[(0,t.jsx)(y.ShieldCheck,{className:"h-5 w-5",strokeWidth:2.1}),(0,t.jsx)("h2",{children:e("title")})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-2.5 sm:gap-3",children:[v.map(e=>(0,t.jsx)("img",{src:e.src,alt:e.name,width:68,height:52,className:"h-[52px] w-[68px] shrink-0"},e.name)),(0,t.jsx)(k.DialogTrigger,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",className:"inline-flex h-[52px] min-w-[68px] shrink-0 items-center justify-center whitespace-nowrap px-1 text-xs font-medium text-zinc-700 transition-opacity hover:opacity-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500 dark:text-white/85 sm:text-sm",children:[e("more")," >>"]})})]})]}),(0,t.jsxs)(k.DialogContent,{hideCloseButton:!0,className:"max-h-[90vh] w-[calc(100%-1.5rem)] max-w-[1416px] grid-rows-[minmax(0,1fr)] gap-0 overflow-hidden rounded-xl border-0 bg-white p-0 text-black shadow-2xl sm:w-[calc(100%-3rem)]",children:[(0,t.jsxs)(k.DialogHeader,{className:"sr-only",children:[(0,t.jsx)(k.DialogTitle,{children:e("dialog_title")}),(0,t.jsx)(k.DialogDescription,{children:e("dialog_description")})]}),(0,t.jsxs)(k.DialogClose,{className:"absolute right-5 top-5 z-10 text-black/70 transition-opacity hover:text-black focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-black sm:right-7 sm:top-6",children:[(0,t.jsx)(w.X,{className:"h-7 w-7",strokeWidth:2.4}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),(0,t.jsx)("div",{className:"min-h-0 overflow-y-auto px-5 py-8 sm:px-9 sm:py-10 md:px-14",children:(0,t.jsx)("ul",{children:_.map(a=>(0,t.jsxs)("li",{className:"mb-8 border-b border-[#dfe3e8] pb-9 last:mb-0 last:border-0 last:pb-0",children:[(0,t.jsx)("h3",{className:"mb-5 text-2xl font-semibold text-black sm:text-[30px]",children:e(`regions.${a.key}`)}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:gap-5",children:a.methods.map(e=>(0,t.jsx)(P,{name:e},`${a.key}-${e}`))})]},a.key))})})]})]})}var D=e.i(325160),L=e.i(316064),B=e.i(665103);function $({className:e}){return(0,t.jsx)("svg",{className:e,viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M23.638 14.904c-1.602 6.43-8.113 10.34-14.542 8.736C2.67 22.05-1.244 15.525.362 9.105 1.962 2.67 8.475-1.243 14.9.358c6.43 1.605 10.342 8.115 8.738 14.546zm-6.35-4.613c.24-1.59-.974-2.45-2.64-3.03l.54-2.153-1.315-.33-.525 2.107c-.345-.087-.705-.167-1.064-.25l.526-2.127-1.32-.33-.54 2.165c-.285-.067-.565-.132-.84-.2l-1.815-.45-.35 1.407s.975.225.955.236c.535.136.63.486.615.766l-1.477 5.92c-.075.166-.24.406-.614.314.015.02-.96-.24-.96-.24l-.66 1.51 1.71.426.93.242-.54 2.19 1.32.327.54-2.17c.36.1.705.19 1.05.273l-.51 2.154 1.32.33.545-2.19c2.24.427 3.93.257 4.64-1.774.57-1.637-.03-2.58-1.217-3.196.854-.193 1.5-.76 1.68-1.93h.01zm-3.01 4.22c-.404 1.64-3.157.75-4.05.53l.72-2.9c.896.23 3.757.67 3.33 2.37zm.41-4.24c-.37 1.49-2.662.735-3.405.55l.654-2.64c.744.18 3.137.52 2.75 2.084v.006z"})})}let S={1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6"};function F({pricing:e}){if(e.disabled)return null;let y=(0,b.useLocale)(),w="zh"===y||"zh-CN"===y||"zh-hant"===y,N=(0,f.useTranslations)(),v=N("pricing.credits")||"credits",_=e.annual_billing||"Billed annually",{user:z,setShowSignModal:C,checkoutRecoveryOffer:P}=(0,u.useAppContext)(),[F,T]=(0,d.useState)(e.groups?.[1]?.name||"yearly"),[M,E]=(0,d.useState)(!1),[I,R]=(0,d.useState)(null),[G,V]=(0,d.useState)(!1),[O,H]=(0,d.useState)(null),[U,W]=(0,d.useState)(!1),[J,K]=(0,d.useState)(null),[q,Z]=(0,d.useState)(!1),[Q,X]=(0,d.useState)(null),[Y,ee]=(0,d.useState)({});(0,d.useEffect)(()=>
1{if(P)for(let t of(T(P.group),R(P.productId),e.items||[])){let e=(0,L.getPremiumPricingTiers)(t)?.findIndex(e=>e.product_id===P.productId);if(null!=e&&e>=0){ee(a=>({...a,[t.product_id]:e}));break}}},[P,e.items]);let et=e=>"year"===e.interval&&e.discount_amount?e.discount_amount:e.amount,ea=async(t,a=!1,s="card")=>{try{if(!z)return void C(!0);let r={product_id:t.product_id,currency:a?"cny":t.currency,locale:y||"en",tracking_data:(0,j.getTrackingData)(),payment_method:s};E(!0),R(t.product_id);let n=await fetch("/api/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)});if(401===n.status){E(!1),R(null),C(!0);return}let{code:i,message:l,data:d}=await n.json();if(0!==i)return void("Trial credits pack can only be purchased once"===l?g.toast.warning(e.trial_pack_limit_error):g.toast.error(l));let{checkout_url:c}=d;if(!c)return void g.toast.error("checkout failed");window.location.href=c}catch(e){console.log("checkout failed: ",e),g.toast.error("checkout failed")}finally{E(!1),R(null)}};(0,d.useEffect)(()=>{if(e.items){let t=F||"yearly",a=e.items.find(e=>e.group===t);if(a)R(a.product_id);else{let t=e.items.find(e=>"yearly"===e.group);t?(T("yearly"),R(t.product_id)):(T(e.items[0].group||"monthly"),R(e.items[0].product_id))}E(!1)}},[e.items,F]);let es=e.items?.filter(e=>!e.group||e.group===F)||[],er=S[es.length||1]||"md:grid-cols-1";return(0,t.jsxs)("section",{id:e.name,className:"relative overflow-hidden bg-white py-10 text-zinc-950 dark:bg-[#080808] dark:text-white lg:py-16",children:[(0,t.jsxs)("div",{className:"container relative z-10",children:[(0,t.jsxs)("div",{className:"mx-auto mb-10 max-w-3xl text-center",children:[(0,t.jsx)("h2",{className:"mb-4 text-3xl font-semibold tracking-tight text-zinc-950 dark:text-white lg:text-5xl",children:e.title}),(0,t.jsx)("p",{className:"text-base leading-relaxed text-zinc-500 dark:text-white/50 lg:text-lg",children:(0,t.jsx)(x.InlineLinks,{text:e.description||""})})]}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-2",children:[e.groups&&e.groups.length>0&&(0,t.jsx)("div",{className:"mb-2 flex w-full justify-center sm:w-auto",children:(0,t.jsx)(l.RadioGroup,{value:F,className:"flex w-full flex-wrap justify-center gap-1 rounded-full bg-zinc-100 p-1.5 shadow-inner shadow-zinc-950/5 dark:bg-[#252525] dark:shadow-none sm:w-auto",onValueChange:e=>{T(e)},children:e.groups.map((a,s)=>{let r=F===a.name;return(0,t.jsxs)("div",{className:'min-w-fit flex-1 rounded-full transition-all duration-300 has-[button[data-state="checked"]]:bg-[linear-gradient(105deg,#e8ff9b_0%,#d8fff8_48%,#ff9f86_100%)] has-[button[data-state="checked"]]:shadow-[0_10px_28px_-18px_rgba(0,0,0,0.55)] sm:flex-none',children:[(0,t.jsx)(l.RadioGroupItem,{value:a.name||"",id:a.name,className:"peer sr-only"}),(0,t.jsxs)(h.Label,{htmlFor:a.name,className:`flex min-h-11 cursor-pointer items-center justify-center gap-2 rounded-full px-4 py-1.5 text-sm transition-all duration-300 sm:min-w-24 sm:px-7 md:text-[15px] ${r?"font-bold text-zinc-950 dark:text-zinc-950":"font-semibold text-zinc-600 hover:text-zinc-900 dark:text-white/70 dark:hover:text-white"}`,children:[(0,t.jsx)("span",{className:"whitespace-nowrap",children:a.title}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[a.label&&(0,t.jsx)(c.Badge,{variant:"outline",className:"border-0 bg-zinc-950 px-2.5 py-0.5 text-[11px] text-white shadow-sm",children:a.label}),"yearly"===a.name&&(0,t.jsx)(c.Badge,{className:"rounded-full border-0 bg-[linear-gradient(100deg,#fb923c_0%,#ff4fa3_100%)] px-2.5 py-0.5 text-[11px] font-bold text-white shadow-[0_10px_24px_-14px_rgba(244,63,94,0.95)] ring-1 ring-white/30 md:text-xs",children:e.save_yearly}),w&&"积分包"===a.title&&(0,t.jsx)(c.Badge,{className:"rounded-full border-0 bg-zinc-950 px-2.5 py-0.5 text-[11px] font-semibold text-white shadow-none md:text-xs",children:"降50%"})]})]})]},s)})})}),e.cancel_anytime&&(0,t.jsx)("p",{className:"mb-9 text-center text-sm font-medium text-zinc-500 dark:text-white/45",children:e.cancel_anytime}),(0,t.jsx)("div",{className:`mt-0 grid w-full gap-8 ${er}`,children:es.map((a,l)=>{let d=(0,L.getPremiumPricingTiers)(a),x=Y[a.product_id]||0,h=(0,L.getPricingItemAtTier)(a,x),p=P?.productId===h.product_id;return(0,t.jsxs)("div",{className:`group relative overflow-hidden rounded-[28px] border p-6 transition-all duration-300 sm:p-7 lg:p-8 ${h.is_featured?"border-green-500/30 bg-gradient-to-br from-green-500/10 to-cyan-500/10 text-zinc-950 shadow-[0_24px_80px_-44px_rgba(34,197,94,0.55)] dark:border-green-500/35 dar
1k:bg-[#232323] dark:text-white dark:shadow-[0_24px_80px_-34px_rgba(34,211,238,0.35)]":"border-zinc-200 bg-zinc-100 text-zinc-950 shadow-[0_24px_70px_-48px_rgba(24,24,27,0.25)] hover:border-zinc-300 dark:border-transparent dark:bg-[#242424] dark:text-white dark:shadow-[0_24px_70px_-42px_rgba(0,0,0,0.75)] dark:hover:border-white/10"} ${p?"ring-2 ring-amber-400/80 ring-offset-4 ring-offset-white dark:ring-amber-300/70 dark:ring-offset-[#080808]":""}`,children:[h.is_featured&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute right-0 top-0 z-20",children:(0,t.jsx)(c.Badge,{className:"rounded-bl-[18px] rounded-br-none rounded-tl-none rounded-tr-[26px] border-0 bg-gradient-to-r from-green-500 to-cyan-500 px-5 py-2.5 text-xs font-semibold text-white shadow-none",children:N("pricing.most_popular")})}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 rounded-[28px] ring-1 ring-green-500/20 dark:ring-cyan-500/30"})]}),(0,t.jsx)("div",{className:"relative z-10 flex h-full flex-col justify-between gap-7",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:`mb-8 flex items-start gap-4 ${h.is_featured?"pr-24":""}`,children:[(0,t.jsx)("div",{className:`hidden h-11 w-11 shrink-0 items-center justify-center rounded-lg border ${h.is_featured?"border-green-300/60 bg-gradient-to-br from-green-500 to-cyan-500 shadow-md shadow-green-500/20":"border-green-200/70 bg-green-50 text-green-600 dark:border-green-400/20 dark:bg-green-400/10"}`,children:h.is_featured?(0,t.jsx)(r.Crown,{className:"h-5 w-5 text-zinc-950"}):(0,t.jsx)(i.Zap,{className:"h-5 w-5 text-green-600 dark:text-green-300"})}),(0,t.jsx)("div",{className:"min-w-0 flex-1",children:h.title&&(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,t.jsx)("h3",{className:"text-2xl font-semibold tracking-tight text-zinc-950 dark:text-white lg:text-3xl",children:h.title}),"year"===h.interval&&(0,t.jsx)(c.Badge,{className:"rounded-full border-0 bg-[linear-gradient(100deg,#fb923c_0%,#ff4fa3_100%)] px-3.5 py-1 text-xs font-bold text-white shadow-[0_14px_30px_-16px_rgba(244,63,94,0.95)] ring-1 ring-white/30 dark:ring-white/15 lg:text-sm",children:0===l&&e.save_30?e.save_30:e.save_yearly})]})})]}),(0,t.jsxs)("div",{className:"mb-7 flex items-end gap-4",children:[h.price&&(0,t.jsx)("span",{className:"text-[2.625rem] font-semibold leading-none tracking-tight text-zinc-950 dark:text-white lg:text-5xl",children:d?(0,t.jsx)(B.default,{value:"year"===h.interval&&h.discount_price||h.price}):"year"===h.interval&&h.discount_price||h.price}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col items-start justify-end gap-1 pb-1",children:[h.original_price&&(0,t.jsx)("span",{className:"text-sm font-medium leading-none text-zinc-500 line-through dark:text-white/55",children:h.original_price}),"one-time"!==h.interval&&(0,t.jsxs)("span",{className:"text-lg font-semibold leading-none text-zinc-700 dark:text-white/85 lg:text-xl",children:[h.currency," / ",e.mo]})]})]}),"year"===h.interval&&(0,t.jsx)("div",{className:`flex flex-wrap items-center gap-2 ${d?"mb-3":"mb-7"}`,children:(0,t.jsxs)("span",{className:"text-sm font-medium text-zinc-600 dark:text-white/70",children:[_," · $",(et(h)/100).toFixed(2)," /"," ",e.year]})}),d&&(0,t.jsx)(D.default,{tiers:d,value:x,onValueChange:e=>ee(t=>({...t,[a.product_id]:e})),creditsLabel:v,billingLabel:"year"===h.interval?_:"month"===h.interval?e.groups?.find(e=>"monthly"===e.name)?.title||e.mo||"Monthly":e.groups?.find(e=>e.name===h.group)?.title||"One-time purchase",className:"mb-7"}),w&&h.original_cn_price&&h.cn_amount&&(0,t.jsxs)("div",{className:"mb-4 flex items-center gap-3",children:[(0,t.jsx)("span",{className:"text-lg text-zinc-500 line-through dark:text-white/55",children:h.original_cn_price}),(0,t.jsxs)("span",{className:"text-xl font-semibold text-zinc-950 dark:text-white",children:["¥",(h.cn_amount/100).toFixed(2)]}),(0,t.jsx)(c.Badge,{className:"rounded-md border border-zinc-300 bg-white px-2.5 py-1 text-xs font-semibold text-zinc-700 dark:border-white/10 dark:bg-white/10 dark:text-white/80",children:"降50%"})]}),w&&h.cn_amount&&h.cn_amount>0&&"one-time"===h.interval&&"试用积分包"===h.title?(0,t.jsx)("div",{className:"mb-6",children:(0,t.jsx)(c.Badge,{variant:"outline",className:"w-fit roun
1ded-md border-zinc-300 bg-white px-2 py-0.5 text-xs text-zinc-700 dark:border-white/10 dark:bg-white/10 dark:text-white/80",children:"使用微信支付宝支付享中国限时特惠"})}):null,h.credits&&h.credits>0&&"one-time"!==h.interval&&(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsxs)("span",{className:"inline-flex cursor-help items-center text-xs font-medium text-zinc-600 dark:text-white/70",title:N("pricing.unit_price_tip"),children:["100 ",v," ≈ $",(et(h)/100/h.credits*100).toFixed(2)]})}),h.description&&(0,t.jsx)("p",{className:"mb-6 min-h-[2.75rem] text-sm leading-6 text-zinc-700 dark:text-white/78",children:h.description}),(0,t.jsxs)("div",{className:"mb-6 flex flex-col gap-2",children:[h.button&&(0,t.jsxs)(o.Button,{className:"flex h-12 w-full items-center justify-center gap-3 rounded-full border-0 bg-gradient-to-r from-green-500 to-cyan-500 text-sm font-bold text-white shadow-[0_16px_34px_-24px_rgba(34,197,94,0.9)] ring-1 ring-green-200/70 transition-all duration-300 hover:from-green-600 hover:to-cyan-600 hover:shadow-[0_18px_40px_-24px_rgba(34,211,238,1)] dark:ring-cyan-100/20",disabled:M,onClick:()=>{M||ea(h)},children:[(!M||M&&I!==h.product_id)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:h.button.title}),h.button.icon&&(0,t.jsx)(m.default,{name:h.button.icon,className:"h-5 w-5"})]}),M&&I===h.product_id&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Loader,{className:"h-5 w-5 animate-spin"}),(0,t.jsx)("span",{children:h.button.title})]})]}),(0,t.jsxs)("div",{className:"mt-3 flex flex-wrap items-center justify-center gap-2",children:[w&&h.cn_amount&&h.cn_amount>0?(0,t.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded-full border border-zinc-300 bg-white px-4 text-xs font-medium text-zinc-700 transition-all duration-200 hover:bg-zinc-100 hover:text-zinc-950 disabled:cursor-not-allowed disabled:opacity-50 dark:border-white/10 dark:bg-white/5 dark:text-white/78 dark:hover:bg-white/10 dark:hover:text-white",disabled:M,onClick:()=>{if(!M){if("one-time"!==h.interval){K(h),W(!0);return}ea(h,!0)}},children:[(0,t.jsx)("span",{children:"人民币支付"}),(0,t.jsx)("img",{src:"/imgs/cnpay.png",alt:"cnpay",className:"h-5 w-auto rounded-sm"})]}):null,"ko"===y&&h.krw_amount&&h.krw_amount>=100?(0,t.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded-full border border-[#03c75a]/35 bg-[#03c75a]/10 px-4 text-xs font-semibold text-[#02a94f] transition-all duration-200 hover:border-[#03c75a]/60 hover:bg-[#03c75a]/15 disabled:cursor-not-allowed disabled:opacity-50 dark:text-[#45dc83]",disabled:M,onClick:()=>{M||ea(h,!1,"naver_pay")},children:[(0,t.jsx)("span",{className:"flex h-5 w-5 items-center justify-center rounded bg-[#03c75a] text-[11px] font-black text-white",children:"N"}),(0,t.jsx)("span",{children:"네이버페이"})]}):null,"ru"===y&&(0,t.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded-full border border-zinc-300 bg-white px-4 text-xs font-medium text-zinc-700 transition-all duration-200 hover:bg-zinc-100 hover:text-zinc-950 disabled:cursor-not-allowed disabled:opacity-50 dark:border-white/10 dark:bg-white/5 dark:text-white/78 dark:hover:bg-white/10 dark:hover:text-white",disabled:M,onClick:()=>{M||(H(h),V(!0))},children:[(0,t.jsx)("span",{className:"text-sm",children:"₽"}),(0,t.jsx)("span",{children:"Оплата в рублях"})]}),(0,t.jsxs)("button",{type:"button",className:"inline-flex h-9 items-center gap-2 rounded-full border border-zinc-300 bg-white px-4 text-xs font-medium text-zinc-700 transition-all duration-200 hover:bg-zinc-100 hover:text-zinc-950 disabled:cursor-not-allowed disabled:opacity-50 dark:border-white/10 dark:bg-white/5 dark:text-white/78 dark:hover:bg-white/10 dark:hover:text-white",disabled:M,onClick:()=>{M||(X(h),Z(!0))},children:[(0,t.jsx)($,{className:"w-4 h-4 text-[#f7931a]"}),(0,t.jsx)("span",{children:e.pay_with_crypto||"Crypto"})]})]})]}),h.features_title&&(0,t.jsx)("p",{className:"mb-4 border-t border-dashed border-zinc-300 pt-6 text-xs font-semibold uppercase tracking-[0.14em] text-zinc-700 dark:border-white/10 dark:text-white/70",children:h.features_title}),h.features&&(0,t.jsx)("ul",{className:"flex flex-col gap-3",children:h.features.map((a,r)=>
1(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"mt-0.5 flex h-5 w-5 flex-shrink-0 items-center justify-center",children:(0,t.jsx)(s.Check,{className:"h-4 w-4 text-zinc-700 dark:text-white/85"})}),(0,t.jsx)("span",{className:"text-sm leading-6 text-zinc-700 dark:text-white/78",children:d&&r===+("one-time"===h.interval)?`${h.credits?.toLocaleString()} ${v}${"year"===h.interval?` / ${e.year||"year"}`:"month"===h.interval?` / ${e.mo||"mo"}`:""}`:a})]},`feature-${r}`))}),h.tip&&(0,t.jsx)("p",{className:"mt-6 rounded-full border border-zinc-300 bg-white p-2 text-center text-xs text-zinc-600 dark:border-white/10 dark:bg-white/5 dark:text-white/70",children:h.tip})]})})]},`${a.product_id}-${l}`)})})]}),(0,t.jsx)("div",{className:"mt-15 text-center text-muted-foreground",children:(0,t.jsxs)("p",{className:"text-sm",children:[e.cancel_subscription_text,(0,t.jsx)(p.Link,{href:"/contact",className:"text-cyan-600 transition-colors hover:text-cyan-700 hover:underline",children:e.contact_support_text||"Contact support"})]})}),(0,t.jsx)(A,{})]}),(0,t.jsx)(k.Dialog,{open:G,onOpenChange:V,children:(0,t.jsxs)(k.DialogContent,{className:"max-w-[400px] rounded-2xl border-green-500/20 bg-white p-6 shadow-2xl shadow-green-500/10 dark:bg-zinc-900",children:[(0,t.jsx)(k.DialogHeader,{className:"mb-4",children:(0,t.jsx)(k.DialogTitle,{className:"text-xl font-semibold text-zinc-900 dark:text-zinc-100",children:"Оплата в рублях"})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-green-500/20 bg-green-50/70 p-4 dark:bg-green-900/10",children:[(0,t.jsx)("div",{className:"mb-1 text-sm text-muted-foreground",children:"Примерная сумма к оплате"}),(0,t.jsxs)("div",{className:"text-3xl font-bold text-foreground",children:["₽",O?Math.ceil(80*(et(O)/100)*1.07*1.1).toLocaleString():0]})]}),(0,t.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,t.jsx)("p",{children:"• Включает комиссию платежного провайдера."}),(0,t.jsx)("p",{children:"• Все платежи в рублях являются разовыми. Подписка не поддерживается."}),(0,t.jsx)("p",{children:"• Автоматическое списание средств отсутствует."})]}),(0,t.jsx)(o.Button,{onClick:()=>{O&&(V(!1),ea(O,!1,"pay302"))},disabled:M||!O,className:"h-12 w-full gap-2 rounded-xl bg-gradient-to-r from-green-500 to-cyan-500 text-base font-semibold text-white shadow-lg shadow-green-500/20 transition-all duration-200 hover:from-green-600 hover:to-cyan-600",children:M?(0,t.jsx)(n.Loader,{className:"h-5 w-5 animate-spin"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"Продолжить оплату"}),(0,t.jsx)(a.ArrowRight,{className:"h-5 w-5"})]})})]})]})}),(0,t.jsx)(k.Dialog,{open:U,onOpenChange:W,children:(0,t.jsxs)(k.DialogContent,{className:"max-w-[400px] rounded-2xl border-green-500/20 bg-white p-6 shadow-2xl shadow-green-500/10 dark:bg-zinc-900",children:[(0,t.jsx)(k.DialogHeader,{className:"mb-4",children:(0,t.jsxs)(k.DialogTitle,{className:"flex items-center gap-2 text-xl font-semibold text-zinc-900 dark:text-zinc-100",children:[(0,t.jsx)("span",{className:"flex h-6 w-6 items-center justify-center rounded-full bg-gradient-to-r from-green-500 to-cyan-500 text-sm font-bold text-white",children:"¥"}),"人民币支付"]})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-green-500/20 bg-green-50/70 p-4 dark:bg-green-900/10",children:[(0,t.jsx)("div",{className:"mb-1 text-sm text-muted-foreground",children:e.amount_to_pay||"Amount to Pay"}),(0,t.jsxs)("div",{className:"text-3xl font-bold text-foreground",children:["¥",J?.cn_amount?(J.cn_amount/100).toFixed(2):"0.00"]})]}),(0,t.jsxs)("div",{className:"space-y-2 text-sm text-muted-foreground",children:[(0,t.jsxs)("p",{className:"flex items-start gap-2",children:[(0,t.jsx)(s.Check,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-emerald-500"}),(0,t.jsx)("span",{children:"人民币支付为一次性付款,不会自动续费或自动扣款。"})]}),(0,t.jsxs)("p",{className:"flex items-start gap-2",children:[(0,t.jsx)(s.Check,{className:"mt-0.5 h-4 w-4 flex-shrink-0 text-emerald-500"}),(0,t.jsx)("span",{children:J?.interval==="month"?"月度订阅需要每个月手动重新订阅。":"订阅到期后需要手动重新订阅。"})]})]}),(0,t.jsx)(o.Button,{onClick:()=>{J&&(W(!1),ea(J,!0))},disabled:M||!J,className:"h-12 w-full gap-2 rounded-xl bg-gradient-to-r from-green-500 to-cyan-500 text-base font-semibold text-white shadow-lg shadow-green-500/20 transition-all duration-200 hover:from-green-600 hover:to-cyan-600",children:M?(0,t.jsx)(n.Loader,{className:"h-5 w-5 animate-spin"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:"继续支付"}),(0,t.jsx)(a.ArrowRight,{className:"h-5 w-5"})]})})]})]})}),(0,t.jsx)(k.Dialog,{open:q,onOpenChange:Z,children:(0,t.jsxs)(k.DialogContent,{className:"max-w-[400px] rounded-2xl p-6 gap-0 border-border/40 shadow-2xl bg-white dark:bg-zinc-900",children:[(0,t.jsx)(k.DialogHeader,{className:"mb-4",children:(0,t.jsxs)(k.DialogTitle,{className:"text-xl font-semibold text-zinc-900 dark:text-zinc-100 flex items-center gap-2",children:[(0,t.jsx)($,{className:"w-6 h-6 text-[#f7931a]"}),e.crypto_payment_title||e.pay_with_crypto||"Crypto"]})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"p-4 bg-zinc-50 dark:bg-zinc-800/50 rounded-xl",children:[(0,t.jsx)("div",{className:"text-sm text-zinc-500 dark:text-zinc-400 mb-1",children:e.amount_to_pay||"Amount to Pay"}),(0,t.jsxs)("div",{className:"text-3xl font-bold text-zinc-900 dark:text-zinc-100",children:["$",Q?(et(Q)/100).toFixed(2):0]})]}),(0,t.jsx)("div",{className:"text-sm text-zinc-600 dark:text-zinc-400 space-y-2",children:(0,t.jsxs)("p",{className:"flex items-start gap-2",children:[(0,t.jsx)(s.Check,{className:"w-4 h-4 text-emerald-500 mt-0.5 flex-shrink-0"}),(0,t.jsx)("span",{children:e.crypto_one_time_tip||"Crypto payments are one-time only. No auto-renewal, no recurring charges."})]})}),(0,t.jsx)(o.Button,{onClick:()=>{Q&&(Z(!1),ea(Q,!1,"crypto"))},disabled:M||!Q,className:"w-full h-12 flex items-center justify-center gap-2 font-semibold text-base bg-[#f7931a] hover:bg-[#e8850f] text-white rounded-xl transition-all duration-200",children:M?(0,t.jsx)(n.Loader,{className:"w-5 h-5 animate-spin"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:e.continue_payment||"Continue to Pay"}),(0,t.jsx)(a.ArrowRight,{className:"h-5 w-5"})]})})]})]})})]})}e.s(["default",()=>F],247241)}]);

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.