vendor: 25,677 bytes, lines 1-7
1import{A as lt,H as l,Q as ut,M as U,w as dt,N as O}from"./main-DUaClxz-.js";import{w as ft}from"./use-translation-CaQJspvC.js";import{u as ht}from"./useLocation-dlFR9j8b.js";import{a as gt}from"./authClient-dhxl390O.js";import{D as mt,a as pt,d as wt,e as yt}from"./dialog-CsCWWgT2.js";import{a as F}from"./cn-DeUeD3zY.js";import{B as xt}from"./button-vmCfZC6q.js";import{P as Ct}from"./entitlement-CZD4w1xq.js";import{m as $,S as Nt,Z as bt,a as Et}from"./proxy-CIwTsWJJ.js";import{S as vt}from"./sparkles-N1A5qps0.js";import{a as Bt,C as Ie}from"./credit-card-DtkLfa3n.js";import{c as rt}from"./createLucideIcon-kb0Cfg4n.js";import{C as Pt}from"./check-CBFGxjuX.js";import{L as Rt}from"./loader-circle-BfiaOy7s.js";import{A as It}from"./arrow-right-DWhJOYpg.js";import"./index-B1y6_y9c.js";import"./index-CKE_Xare.js";import"./index-By2ZY9OT.js";import"./index-DZrEkhlY.js";import"./x-B98Ao-ZO.js";const jt=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],At=rt("crown",jt);const St=[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]],Tt=rt("heart",St);var J={},ne,je;function Mt(){return je||(je=1,ne=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ne}var re={},_={},Ae;function z(){if(Ae)return _;Ae=1;let r;const i=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return _.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17},_.getSymbolTotalCodewords=function(t){return i[t]},_.getBCHDigit=function(o){let t=0;for(;o!==0;)t++,o>>>=1;return t},_.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');r=t},_.isKanjiModeEnabled=function(){return typeof r<"u"},_.toSJIS=function(t){return r(t)},_}var ie={},Se;function Be(){return Se||(Se=1,(function(r){r.L={bit:1},r.M={bit:0},r.Q={bit:3},r.H={bit:2};function i(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"l":case"low":return r.L;case"m":case"medium":return r.M;case"q":case"quartile":return r.Q;case"h":case"high":return r.H;default:throw new Error("Unknown EC Level: "+o)}}r.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4},r.from=function(t,e){if(r.isValid(t))return t;try{return i(t)}catch{return e}}})(ie)),ie}var oe,Te;function Lt(){if(Te)return oe;Te=1;function r(){this.buffer=[],this.length=0}return r.prototype={get:function(i){const o=Math.floor(i/8);return(this.buffer[o]>>>7-i%8&1)===1},put:function(i,o){for(let t=0;t<o;t++)this.putBit((i>>>o-t-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(i){const o=Math.floor(this.length/8);this.buffer.length<=o&&this.buffer.push(0),i&&(this.buffer[o]|=128>>>this.length%8),this.length++}},oe=r,oe}var se,Me;function Dt(){if(Me)return se;Me=1;function r(i){if(!i||i<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=i,this.data=new Uint8Array(i*i),this.reservedBit=new Uint8Array(i*i)}return r.prototype.set=function(i,o,t,e){const n=i*this.size+o;this.data[n]=t,e&&(this.reservedBit[n]=!0)},r.prototype.get=function(i,o){return this.data[i*this.size+o]},r.prototype.xor=function(i,o,t){this.data[i*this.size+o]^=t},r.prototype.isReserved=function(i,o){return this.reservedBit[i*this.size+o]},se=r,se}var ae={},Le;function kt(){return Le||(Le=1,(function(r){const i=z().getSymbolSize;r.getRowColCoords=function(t){if(t===1)return[];const e=Math.floor(t/7)+2,n=i(t),s=n===145?26:Math.ceil((n-13)/(2*e-2))*2,c=[n-7];for(let a=1;a<e-1;a++)c[a]=c[a-1]-s;return c.push(6),c.reverse()},r.getPositions=function(t){const e=[],n=r.getRowColCoords(t),s=n.length;for(let c=0;c<s;c++)for(let a=0;a<s;a++)c===0&&a===0||c===0&&a===s-1||c===s-1&&a===0||e.push([n[c],n[a]]);return e}})(ae)),ae}var ce={},De;function qt(){if(De)return ce;De=1;const r=z().getSymbolSize,i=7;return ce.getPositions=function(t){const e=r(t);return[[0,0],[e-i,0],[0,e-i]]},ce}var le={},ke;function Ut(){return ke||(ke=1,(function(r){r.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const i={N1:3,N2:3,N3:40,N4:10};r.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7},r.from=function(e){return r.isValid(e)?parseInt(e,10):void 0},r.getPenaltyN1=function(e){const n=e.size;let s=0,c=0,a=0,d=null,m=null;for(let b=0;b<n;b++){c=a=0,d=m=null;for(let w=0;w<n;w++){let f=e.get(b,w);f===d?c++:(c>=5&&(s+=i.N1+(c-5)),d=f,c=1),f=e.get(w,b),f===m?a++:(a>=5&&(s+=i.N1+(a-5)),m=f,a=1)}c>=5&&(s+=i.N1+(c-5)),a>=5&&(s+=i.N1+(a-5))}return s},r.getPenaltyN2=function(e){const n=e.size;let s=0;for(let c=0;c<n-1;c++)for(let a=0;a<n-1;a++){const d=e.get(c,a)+e.get(c,a+1)+e.get(c+1,a)+e.get(c+1,a+1);(d===4||d===0)&&s++}return s*i.N2},r.getPenaltyN3=function(e){const n=e.size;let s=0,c=0,a=0;for(let d=0;d<n;d++){c=a=0;for(let m=0;m<n;m++)c=c<<1&2047|e.get(d,m),m>=10&&(c===1488||c===93)&&s++,a=a<<1&2047|e.get(m,d),m>=10&&(a===1488||a===93)&&s++}return s*i.N3},r.getPenaltyN4=function(e){let n=0;const s=e.data.length;for(let a=0;a<s;a++)n+=e.data[a];return Math.abs(Math.ceil(n*100/s/5)-10)*i.N4};function o(t,e,n){switch(t){case r.Patterns.PATTERN000:return(e+n)%2===0;case r.Patterns.PATTERN001:return e%2===0;case r.Patterns.PATTERN010:return n%3===0;case r.Patterns.PATTERN011:return(e+n)%3===0;case r.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2===0;case r.Patterns.PATTERN101:return e*n%2+e*n%3===0;case r.Patterns.PATTERN110:return(e*n%2+e*n%3)%2===0;case r.Patterns.PATTERN111:return(e*n%3+(e+n)%2)%2===0;default:throw new Error("bad maskPattern:"+t)}}r.applyMask=function(e,n){const s=n.size;for(let c=0;c<s;c++)for(let a=0;a<s;a++)n.isReserved(a,c)||n.xor(a,c,o(e,a,c))},r.getBestMask=function(e,n){const s=Object.keys(r.Patterns).length;let c=0,a=1/0;for(let d=0;d<s;d++){n(d),r.applyMask(d,e);const m=r.getPenaltyN1(e)+r.getPenaltyN2(e)+r.getPenaltyN3(e)+r.getPenaltyN4(e);r.applyMask(d,e),m<a&&(a=m,c=d)}return c}})(le)),le}var Z={},qe;function it(){if(qe)return Z;qe=1;const r=Be(),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Z.getBlocksCount=function(e,n){switch(n){case r.L:return i[(e-1)*4+0];case r.M:return i[(e-1)*4+1];case r.Q:return i[(e-1)*4+2];case r.H:return i[(e-1)*4+3];default:return}},Z.getTotalCodewordsCount=function(e,n){switch(n){case r.L:return o[(e-1)*4+0];case r.M:return o[(e-1)*4+1];case r.Q:return o[(e-1)*4+2];case r.H:return o[(e-1)*4+3];default:return}},Z}var ue={},Y={},Ue;function _t(){if(Ue)return Y;Ue=1;const r=new Uint8Array(512),i=new Uint8Array(256);return(function(){let t=1;for(let e=0;e<255;e++)r[e]=t,i[t]=e,t<<=1,t&256&&(t^=285);for(let e=255;e<512;e++)r[e]=r[e-255]})(),Y.log=function(t){if(t<1)throw new Error("log("+t+")");return i[t]},Y.exp=function(t){return r[t]},Y.mul=function(t,e){return t===0||e===0?0:r[i[t]+i[e]]},Y}var _e;function Ft(){return _e||(_e=1,(function(r){const i=_t();r.mul=function(t,e){const n=new Uint8Array(t.length+e.length-1);for(let s=0;s<t.length;s++)for(let c=0;c<e.length;c++)n[s+c]^=i.mul(t[s],e[c]);return n},r.mod=function(t,e){let n=new Uint8Array(t);for(;n.length-e.length>=0;){const s=n[0];for(let a=0;a<e.length;a++)n[a]^=i.mul(e[a],s);let c=0;for(;c<n.length&&n[c]===0;)c++;n=n.slice(c)}return n},r.generateECPolynomial=function(t){let e=new Uint8Array([1]);for(let n=0;n<t;n++)e=r.mul(e,new Uint8Array([1,i.exp(n)]));return e}})(ue)),ue}var de,Fe;function zt(){if(Fe)return de;Fe=1;const r=Ft();function i(o){this.genPoly=void 0,this.degree=o,this.degree&&this.initialize(this.degree)}return i.prototype.initialize=function(t){this.degree=t,this.genPoly=r.generateECPolynomial(this.degree)},i.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const e=new Uint8Array(t.length+this.degree);e.set(t);const n=r.mod(e,this.genPoly),s=this.degree-n.length;if(s>0){const c=new Uint8Array(this.degree);return c.set(n,s),c}return n},de=i,de}var fe={},he={},ge={},ze;function ot(){return ze||(ze=1,ge.isValid=function(i){return!isNaN(i)&&i>=1&&i<=40}),ge}var L={},Ve;function st(){if(Ve)return L;Ve=1;const r="[0-9]+",i="[A-Z $%*+\\-./:]+";let o="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";o=o.replace(/u/g,"\\u");const t="(?:(?![A-Z0-9 $%*+\\-./:]|"+o+`)(?:.|[\r 2]))+`;L.KANJI=new RegExp(o,"g"),L.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),L.BYTE=new RegExp(t,"g"),L.NUMERIC=new RegExp(r,"g"),L.ALPHANUMERIC=new RegExp(i,"g");const e=new RegExp("^"+o+"$"),n=new RegExp("^"+r+"$"),s=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return L.testKanji=function(a){return e.test(a)},L.testNumeric=function(a){return n.test(a)},L.testAlphanumeric=function(a){return s.test(a)},L}var He;function V(){return He||(He=1,(function(r){const i=ot(),o=st();r.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},r.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},r.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},r.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},r.MIXED={bit:-1},r.getCharCountIndicator=function(n,s){if(!n.ccBits)throw new Error("Invalid mode: "+n);if(!i.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?n.ccBits[0]:s<27?n.ccBits[1]:n.ccBits[2]},r.getBestModeForData=function(n){return o.testNumeric(n)?r.NUMERIC:o.testAlphanumeric(n)?r.ALPHANUMERIC:o.testKanji(n)?r.KANJI:r.BYTE},r.toString=function(n){if(n&&n.id)return n.id;throw new Error("Invalid mode")},r.isValid=function(n){return n&&n.bit&&n.ccBits};function t(e){if(typeof e!="string")throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return r.NUMERIC;case"alphanumeric":return r.ALPHANUMERIC;case"kanji":return r.KANJI;case"byte":return r.BYTE;default:throw new Error("Unknown mode: "+e)}}r.from=function(n,s){if(r.isValid(n))return n;try{return t(n)}catch{return s}}})(he)),he}var Ke;function Vt(){return Ke||(Ke=1,(function(r){const i=z(),o=it(),t=Be(),e=V(),n=ot(),s=7973,c=i.getBCHDigit(s);function a(w,f,E){for(let I=1;I<=40;I++)if(f<=r.getCapacity(I,E,w))return I}function d(w,f){return e.getCharCountIndicator(w,f)+4}function m(w,f){let E=0;return w.forEach(function(I){const S=d(I.mode,f);E+=S+I.getBitsLength()}),E}function b(w,f){for(let E=1;E<=40;E++)if(m(w,E)<=r.getCapacity(E,f,e.MIXED))return E}r.from=function(f,E){return n.isValid(f)?parseInt(f,10):E},r.getCapacity=function(f,E,I){if(!n.isValid(f))throw new Error("Invalid QR Code version");typeof I>"u"&&(I=e.BYTE);const S=i.getSymbolTotalCodewords(f),R=o.getTotalCodewordsCount(f,E),j=(S-R)*8;if(I===e.MIXED)return j;const P=j-d(I,f);switch(I){case e.NUMERIC:return Math.floor(P/10*3);case e.ALPHANUMERIC:return Math.floor(P/11*2);case e.KANJI:return Math.floor(P/13);case e.BYTE:default:return Math.floor(P/8)}},r.getBestVersionForData=function(f,E){let I;const S=t.from(E,t.M);if(Array.isArray(f)){if(f.length>1)return b(f,S);if(f.length===0)return 1;I=f[0]}else I=f;return a(I.mode,I.getLength(),S)},r.getEncodedBits=function(f){if(!n.isValid(f)||f<7)throw new Error("Invalid QR Code version");let E=f<<12;for(;i.getBCHDigit(E)-c>=0;)E^=s<<i.getBCHDigit(E)-c;return f<<12|E}})(fe)),fe}var me={},Oe;function Ht(){if(Oe)return me;Oe=1;const r=z(),i=1335,o=21522,t=r.getBCHDigit(i);return me.getEncodedBits=function(n,s){const c=n.bit<<3|s;let a=c<<10;for(;r.getBCHDigit(a)-t>=0;)a^=i<<r.getBCHDigit(a)-t;return(c<<10|a)^o},me}var pe={},we,Je;function Kt(){if(Je)return we;Je=1;const r=V();function i(o){this.mode=r.NUMERIC,this.data=o.toString()}return i.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){let e,n,s;for(e=0;e+3<=this.data.length;e+=3)n=this.data.substr(e,3),s=parseInt(n,10),t.put(s,10);const c=this.data.length-e;c>0&&(n=this.data.substr(e),s=parseInt(n,10),t.put(s,c*3+1))},we=i,we}var ye,$e;function Ot(){if($e)return ye;$e=1;const r=V(),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(t){this.mode=r.ALPHANUMERIC,this.data=t}return o.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let s=i.indexOf(this.data[n])*45;s+=i.indexOf(this.data[n+1]),e.put(s,11)}this.data.length%2&&e.put(i.indexOf(this.data[n]),6)},ye=o,ye}var xe,Ye;function Jt(){if(Ye)return xe;Ye=1;const r=V();function i(o){this.mode=r.BYTE,typeof o=="string"?this.data=new TextEncoder().encode(o):this.data=new Uint8Array(o)}return i.getBitsLength=function(t){return t*8},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(o){for(let t=0,e=this.data.length;t<e;t++)o.put(this.data[t],8)},xe=i,xe}var Ce,Qe;function $t(){if(Qe)return Ce;Qe=1;const r=V(),i=z();function o(t){this.mode=r.KANJI,this.data=t}return o.getBitsLength=function(e){return e*13},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){let e;for(e=0;e<this.data.length;e++){let n=i.toSJIS(this.data[e]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+` 3Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),t.put(n,13)}},Ce=o,Ce}var Ne={exports:{}},Ge;function Yt(){return Ge||(Ge=1,(function(r){var i={single_source_shortest_paths:function(o,t,e){var n={},s={};s[t]=0;var c=i.PriorityQueue.make();c.push(t,0);for(var a,d,m,b,w,f,E,I,S;!c.empty();){a=c.pop(),d=a.value,b=a.cost,w=o[d]||{};for(m in w)w.hasOwnProperty(m)&&(f=w[m],E=b+f,I=s[m],S=typeof s[m]>"u",(S||I>E)&&(s[m]=E,c.push(m,E),n[m]=d))}if(typeof e<"u"&&typeof s[e]>"u"){var R=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(R)}return n},extract_shortest_path_from_predecessor_list:function(o,t){for(var e=[],n=t;n;)e.push(n),o[n],n=o[n];return e.reverse(),e},find_path:function(o,t,e){var n=i.single_source_shortest_paths(o,t,e);return i.extract_shortest_path_from_predecessor_list(n,e)},PriorityQueue:{make:function(o){var t=i.PriorityQueue,e={},n;o=o||{};for(n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e.queue=[],e.sorter=o.sorter||t.default_sorter,e},default_sorter:function(o,t){return o.cost-t.cost},push:function(o,t){var e={value:o,cost:t};this.queue.push(e),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};r.exports=i})(Ne)),Ne.exports}var Ze;function Qt(){return Ze||(Ze=1,(function(r){const i=V(),o=Kt(),t=Ot(),e=Jt(),n=$t(),s=st(),c=z(),a=Yt();function d(R){return unescape(encodeURIComponent(R)).length}function m(R,j,P){const v=[];let T;for(;(T=R.exec(P))!==null;)v.push({data:T[0],index:T.index,mode:j,length:T[0].length});return v}function b(R){const j=m(s.NUMERIC,i.NUMERIC,R),P=m(s.ALPHANUMERIC,i.ALPHANUMERIC,R);let v,T;return c.isKanjiModeEnabled()?(v=m(s.BYTE,i.BYTE,R),T=m(s.KANJI,i.KANJI,R)):(v=m(s.BYTE_KANJI,i.BYTE,R),T=[]),j.concat(P,v,T).sort(function(C,x){return C.index-x.index}).map(function(C){return{data:C.data,mode:C.mode,length:C.length}})}function w(R,j){switch(j){case i.NUMERIC:return o.getBitsLength(R);case i.ALPHANUMERIC:return t.getBitsLength(R);case i.KANJI:return n.getBitsLength(R);case i.BYTE:return e.getBitsLength(R)}}function f(R){return R.reduce(function(j,P){const v=j.length-1>=0?j[j.length-1]:null;return v&&v.mode===P.mode?(j[j.length-1].data+=P.data,j):(j.push(P),j)},[])}function E(R){const j=[];for(let P=0;P<R.length;P++){const v=R[P];switch(v.mode){case i.NUMERIC:j.push([v,{data:v.data,mode:i.ALPHANUMERIC,length:v.length},{data:v.data,mode:i.BYTE,length:v.length}]);break;case i.ALPHANUMERIC:j.push([v,{data:v.data,mode:i.BYTE,length:v.length}]);break;case i.KANJI:j.push([v,{data:v.data,mode:i.BYTE,length:d(v.data)}]);break;case i.BYTE:j.push([{data:v.data,mode:i.BYTE,length:d(v.data)}])}}return j}function I(R,j){const P={},v={start:{}};let T=["start"];for(let h=0;h<R.length;h++){const C=R[h],x=[];for(let g=0;g<C.length;g++){const B=C[g],y=""+h+g;x.push(y),P[y]={node:B,lastCount:0},v[y]={};for(let N=0;N<T.length;N++){const u=T[N];P[u]&&P[u].node.mode===B.mode?(v[u][y]=w(P[u].lastCount+B.length,B.mode)-w(P[u].lastCount,B.mode),P[u].lastCount+=B.length):(P[u]&&(P[u].lastCount=B.length),v[u][y]=w(B.length,B.mode)+4+i.getCharCountIndicator(B.mode,j))}}T=x}for(let h=0;h<T.length;h++)v[T[h]].end=0;return{map:v,table:P}}function S(R,j){let P;const v=i.getBestModeForData(R);if(P=i.from(j,v),P!==i.BYTE&&P.bit<v.bit)throw new Error('"'+R+'" cannot be encoded with mode '+i.toString(P)+`. 4 Suggested mode is: `+i.toString(v));switch(P===i.KANJI&&!c.isKanjiModeEnabled()&&(P=i.BYTE),P){case i.NUMERIC:return new o(R);case i.ALPHANUMERIC:return new t(R);case i.KANJI:return new n(R);case i.BYTE:return new e(R)}}r.fromArray=function(j){return j.reduce(function(P,v){return typeof v=="string"?P.push(S(v,null)):v.data&&P.push(S(v.data,v.mode)),P},[])},r.fromString=function(j,P){const v=b(j,c.isKanjiModeEnabled()),T=E(v),h=I(T,P),C=a.find_path(h.map,"start","end"),x=[];for(let g=1;g<C.length-1;g++)x.push(h.table[C[g]].node);return r.fromArray(f(x))},r.rawSplit=function(j){return r.fromArray(b(j,c.isKanjiModeEnabled()))}})(pe)),pe}var We;function Gt(){if(We)return re;We=1;const r=z(),i=Be(),o=Lt(),t=Dt(),e=kt(),n=qt(),s=Ut(),c=it(),a=zt(),d=Vt(),m=Ht(),b=V(),w=Qt();function f(h,C){const x=h.size,g=n.getPositions(C);for(let B=0;B<g.length;B++){const y=g[B][0],N=g[B][1];for(let u=-1;u<=7;u++)if(!(y+u<=-1||x<=y+u))for(let p=-1;p<=7;p++)N+p<=-1||x<=N+p||(u>=0&&u<=6&&(p===0||p===6)||p>=0&&p<=6&&(u===0||u===6)||u>=2&&u<=4&&p>=2&&p<=4?h.set(y+u,N+p,!0,!0):h.set(y+u,N+p,!1,!0))}}function E(h){const C=h.size;for(let x=8;x<C-8;x++){const g=x%2===0;h.set(x,6,g,!0),h.set(6,x,g,!0)}}function I(h,C){const x=e.getPositions(C);for(let g=0;g<x.length;g++){const B=x[g][0],y=x[g][1];for(let N=-2;N<=2;N++)for(let u=-2;u<=2;u++)N===-2||N===2||u===-2||u===2||N===0&&u===0?h.set(B+N,y+u,!0,!0):h.set(B+N,y+u,!1,!0)}}function S(h,C){const x=h.size,g=d.getEncodedBits(C);let B,y,N;for(let u=0;u<18;u++)B=Math.floor(u/3),y=u%3+x-8-3,N=(g>>u&1)===1,h.set(B,y,N,!0),h.set(y,B,N,!0)}function R(h,C,x){const g=h.size,B=m.getEncodedBits(C,x);let y,N;for(y=0;y<15;y++)N=(B>>y&1)===1,y<6?h.set(y,8,N,!0):y<8?h.set(y+1,8,N,!0):h.set(g-15+y,8,N,!0),y<8?h.set(8,g-y-1,N,!0):y<9?h.set(8,15-y-1+1,N,!0):h.set(8,15-y-1,N,!0);h.set(g-8,8,1,!0)}function j(h,C){const x=h.size;let g=-1,B=x-1,y=7,N=0;for(let u=x-1;u>0;u-=2)for(u===6&&u--;;){for(let p=0;p<2;p++)if(!h.isReserved(B,u-p)){let M=!1;N<C.length&&(M=(C[N]>>>y&1)===1),h.set(B,u-p,M),y--,y===-1&&(N++,y=7)}if(B+=g,B<0||x<=B){B-=g,g=-g;break}}}function P(h,C,x){const g=new o;x.forEach(function(p){g.put(p.mode.bit,4),g.put(p.getLength(),b.getCharCountIndicator(p.mode,h)),p.write(g)});const B=r.getSymbolTotalCodewords(h),y=c.getTotalCodewordsCount(h,C),N=(B-y)*8;for(g.getLengthInBits()+4<=N&&g.put(0,4);g.getLengthInBits()%8!==0;)g.putBit(0);const u=(N-g.getLengthInBits())/8;for(let p=0;p<u;p++)g.put(p%2?17:236,8);return v(g,h,C)}function v(h,C,x){const g=r.getSymbolTotalCodewords(C),B=c.getTotalCodewordsCount(C,x),y=g-B,N=c.getBlocksCount(C,x),u=g%N,p=N-u,M=Math.floor(g/N),A=Math.floor(y/N),D=A+1,Q=M-A,W=new a(Q);let H=0;const G=new Array(N),Pe=new Array(N);let X=0;const ct=new Uint8Array(h.buffer);for(let K=0;K<N;K++){const te=K<p?A:D;G[K]=ct.slice(H,H+te),Pe[K]=W.encode(G[K]),H+=te,X=Math.max(X,te)}const ee=new Uint8Array(g);let Re=0,k,q;for(k=0;k<X;k++)for(q=0;q<N;q++)k<G[q].length&&(ee[Re++]=G[q][k]);for(k=0;k<Q;k++)for(q=0;q<N;q++)ee[Re++]=Pe[q][k];return ee}function T(h,C,x,g){let B;if(Array.isArray(h))B=w.fromArray(h);else if(typeof h=="string"){let M=C;if(!M){const A=w.rawSplit(h);M=d.getBestVersionForData(A,x)}B=w.fromString(h,M||40)}else throw new Error("Invalid data");const y=d.getBestVersionForData(B,x);if(!y)throw new Error("The amount of data is too big to be stored in a QR Code");if(!C)C=y;else if(C<y)throw new Error(` 5The chosen QR Code version cannot contain this amount of data. 6Minimum version required to store current data is: `+y+`. 7`);const N=P(C,x,B),u=r.getSymbolSize(C),p=new t(u);return f(p,C),E(p),I(p,C),R(p,x,0),C>=7&&S(p,C),j(p,N),isNaN(g)&&(g=s.getBestMask(p,R.bind(null,p,x))),s.applyMask(g,p),R(p,x,g),{modules:p,version:C,errorCorrectionLevel:x,maskPattern:g,segments:B}}return re.create=function(C,x){if(typeof C>"u"||C==="")throw new Error("No input text");let g=i.M,B,y;return typeof x<"u"&&(g=i.from(x.errorCorrectionLevel,i.M),B=d.from(x.version),y=s.from(x.maskPattern),x.toSJISFunc&&r.setToSJISFunction(x.toSJISFunc)),T(C,B,g,y)},re}var be={},Ee={},Xe;function at(){return Xe||(Xe=1,(function(r){function i(o){if(typeof o=="number"&&(o=o.toString()),typeof o!="string")throw new Error("Color should be defined as hex string");let t=o.slice().replace("#","").split("");if(t.length<3||t.length===5||t.length>8)throw new Error("Invalid hex color: "+o);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(n){return[n,n]}))),t.length===6&&t.push("F","F");const e=parseInt(t.join(""),16);return{r:e>>24&255,g:e>>16&255,b:e>>8&255,a:e&255,hex:"#"+t.slice(0,6).join("")}}r.getOptions=function(t){t||(t={}),t.color||(t.color={});const e=typeof t.margin>"u"||t.margin===null||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,s=t.scale||4;return{width:n,scale:n?4:s,margin:e,color:{dark:i(t.color.dark||"#000000ff"),light:i(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},r.getScale=function(t,e){return e.width&&e.width>=t+e.margin*2?e.width/(t+e.margin*2):e.scale},r.getImageWidth=function(t,e){const n=r.getScale(t,e);return Math.floor((t+e.margin*2)*n)},r.qrToImageData=function(t,e,n){const s=e.modules.size,c=e.modules.data,a=r.getScale(s,n),d=Math.floor((s+n.margin*2)*a),m=n.margin*a,b=[n.color.light,n.color.dark];for(let w=0;w<d;w++)for(let f=0;f<d;f++){let E=(w*d+f)*4,I=n.color.light;if(w>=m&&f>=m&&w<d-m&&f<d-m){const S=Math.floor((w-m)/a),R=Math.floor((f-m)/a);I=b[c[S*s+R]?1:0]}t[E++]=I.r,t[E++]=I.g,t[E++]=I.b,t[E]=I.a}}})(Ee)),Ee}var et;function Zt(){return et||(et=1,(function(r){const i=at();function o(e,n,s){e.clearRect(0,0,n.width,n.height),n.style||(n.style={}),n.height=s,n.width=s,n.style.height=s+"px",n.style.width=s+"px"}function t(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}r.render=function(n,s,c){let a=c,d=s;typeof a>"u"&&(!s||!s.getContext)&&(a=s,s=void 0),s||(d=t()),a=i.getOptions(a);const m=i.getImageWidth(n.modules.size,a),b=d.getContext("2d"),w=b.createImageData(m,m);return i.qrToImageData(w.data,n,a),o(b,d,m),b.putImageData(w,0,0),d},r.renderToDataURL=function(n,s,c){let a=c;typeof a>"u"&&(!s||!s.getContext)&&(a=s,s=void 0),a||(a={});const d=r.render(n,s,a),m=a.type||"image/png",b=a.rendererOpts||{};return d.toDataURL(m,b.quality)}})(be)),be}var ve={},tt;function Wt(){if(tt)return ve;tt=1;const r=at();function i(e,n){const s=e.a/255,c=n+'="'+e.hex+'"';return s<1?c+" "+n+'-opacity="'+s.toFixed(2).slice(1)+'"':c}function o(e,n,s){let c=e+n;return typeof s<"u"&&(c+=" "+s),c}function t(e,n,s){let c="",a=0,d=!1,m=0;for(let b=0;b<e.length;b++){const w=Math.floor(b%n),f=Math.floor(b/n);!w&&!d&&(d=!0),e[b]?(m++,b>0&&w>0&&e[b-1]||(c+=d?o("M",w+s,.5+f+s):o("m",a,0),a=0,d=!1),w+1<n&&e[b+1]||(c+=o("h",m),m=0)):a++}return c}return ve.render=function(n,s,c){const a=r.getOptions(s),d=n.modules.size,m=n.modules.data,b=d+a.margin*2,w=a.color.light.a?"<path "+i(a.color.light,"fill")+' d="M0 0h'+b+"v"+b+'H0z"/>':"",f="<path "+i(a.color.dark,"stroke")+' d="'+t(m,d,a.margin)+'"/>
7',E='viewBox="0 0 '+b+" "+b+'"',S='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+E+' shape-rendering="crispEdges">'+w+f+`</svg> 8`;return typeof c=="function"&&c(null,S),S},ve}var nt;function Xt(){if(nt)return J;nt=1;const r=Mt(),i=Gt(),o=Zt(),t=Wt();function e(n,s,c,a,d){const m=[].slice.call(arguments,1),b=m.length,w=typeof m[b-1]=="function";if(!w&&!r())throw new Error("Callback required as last argument");if(w){if(b<2)throw new Error("Too few arguments provided");b===2?(d=c,c=s,s=a=void 0):b===3&&(s.getContext&&typeof d>"u"?(d=a,a=void 0):(d=a,a=c,c=s,s=void 0))}else{if(b<1)throw new Error("Too few arguments provided");return b===1?(c=s,s=a=void 0):b===2&&!s.getContext&&(a=c,c=s,s=void 0),new Promise(function(f,E){try{const I=i.create(c,a);f(n(I,s,a))}catch(I){E(I)}})}try{const f=i.create(c,a);d(null,n(f,s,a))}catch(f){d(f)}}return J.create=i.create,J.toCanvas=e.bind(null,o.render),J.toDataURL=e.bind(null,o.renderToDataURL),J.toString=e.bind(null,function(n,s,c){return t.render(n,c)}),J}var en=Xt();const tn=lt(en);function nn({steps:r,currentStep:i,className:o}){return l.jsx("div",{className:F("w-full max-w-md mx-auto",o),children:l.jsx("div",{className:"relative after:absolute after:inset-x-0 after:top-1/2 after:block after:h-0.5 after:-translate-y-1/2 after:rounded-lg after:bg-muted",children:l.jsx("div",{className:"relative z-10 flex justify-between",children:r.map((t,e)=>l.jsxs("div",{className:"flex flex-col items-center",children:[l.jsx("div",{className:F("flex h-10 w-10 items-center justify-center rounded-full border-2 font-semibold",e<=i?"border-primary bg-primary text-primary-foreground":"border-border bg-background text-muted-foreground"),children:e+1}),l.jsxs("div",{className:"mt-3 w-24 text-center",children:[l.jsx("div",{className:F("text-sm font-semibold",e<=i?"text-primary":"text-muted-foreground"),children:t.title}),l.jsx("div",{className:F("mt-1 text-xs",e<=i?"text-foreground":"text-muted-foreground"),children:t.description})]})]},t.title))})})})}function vn(){const{t:r,locale:i}=ft();ut();const t=ht().pathname,[e,n]=U.useState(null),[s,c]=U.useState(null),[a,d]=U.useState(null),[m,b]=U.useState(0),[w,f]=U.useState(null),[E,I]=U.useState(null),{data:S,isPending:R}=gt.useSession(),j=S?.user,[P,v]=U.useState("subscription"),T=Object.values(dt.payment.plans),h=U.useMemo(()=>T.filter(u=>u.id in Ct).sort((u,p)=>u.amount-p.amount),[T]),C=[];U.useEffect(()=>()=>{E&&clearInterval(E)},[E]);const x=u=>{E&&clearInterval(E);const p=setInterval(async()=>{try{const A=await(await fetch(`/api/payment/query?orderId=${u}&provider=wechat`)).json();A.status==="paid"?(clearInterval(p),I(null),window.location.href=`/${i}/payment-success?provider=wechat`):A.status==="failed"&&(clearInterval(p),I(null),O.error(r.payment.result.failed),B())}catch(M){console.error("Payment polling error:",M)}},3e3);I(p)},g=async u=>{try{if(!j){const D=encodeURIComponent(t);window.location.href=`/${i}/signin?returnTo=${D}`;return}n(u.id);const p=u.provider||"stripe";d(u);const M=await fetch("/api/payment/initiate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({planId:u.id,provider:p,locale:i})}),A=await M.json();if(!M.ok)throw new Error(A.error||"Failed to initiate payment");if(p==="wechat"){if(A.paymentUrl)try{const D=await tn.toDataURL(A.paymentUrl);c(D),f(A.providerOrderId),b(1),x(A.providerOrderId)}catch(D){console.error("QR code generation error:",D),O.error(r.common.unexpectedError)}}else A.paymentUrl&&(window.location.href=A.paymentUrl)}catch(p){console.error("Payment error:",p),O.error(r.common.unexpectedError)}finally{n(null)}},B=()=>{if(m<2&&w){if(!window.confirm(r.payment.confirmCancel))return;fetch(`/api/payment/cancel?orderId=${w}&provider=wechat`,{method:"POST"}).then(p=>{p.ok?O.info(r.payment.orderCanceled):(console.error("Failed to cancel order"),O.error(r.common.unexpectedError))}).catch(p=>{console.error("Cancel order error:",p),O.error(r.common.unexpectedError)})}c(null),d(null),b(0),f(null),E&&(clearInterval(E),I(null))},y=[{title:r.payment.steps.initiate,description:r.payment.steps.initiateDesc},{title:r.payment.steps.scan,description:r.payment.steps.scanDesc},{title:r.payment.steps.pay,description:r.payment.steps.payDesc}];return h.find(u=>u.recommended)||h[0],l.jsxs(l.Fragment,{children:[l.jsx("style",{children:` 9 .animate-blob { 10 animation: blob 7s infinite; 11 } 12 .animation-delay-2000 { 13 animation-delay: 2s; 14 } 15 .animation-delay-4000 { 16 animation-delay: 4s; 17 } 18 @keyframes blob { 19 0% { 20 transform: translate(0px, 0px) scale(1); 21 } 22 33% { 23 transform: translate(30px, -50px) scale(1.1); 24 } 25 66% { 26 transform: translate(-20px, 20px) scale(0.9); 27 } 28 100% { 29 transform: translate(0px, 0px) scale(1); 30 } 31 } 32 `}),l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx("section",{className:"relative py-24 sm:py-32 overflow-hidden",children:l.jsx("div",{className:"mx-auto max-w-7xl px-6 lg:px-8 relative z-10",children:l.jsxs($.div,{className:"mx-auto max-w-4xl text-center",initial:{opacity:0,y:20}
32,animate:{opacity:1,y:0},transition:{duration:.8},children:[l.jsxs($.div,{className:"inline-flex items-center space-x-2 px-4 py-2 bg-chart-1-bg-15 rounded-full border border-chart-1/20 mb-8",initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6,delay:.2},children:[l.jsx(vt,{className:"h-4 w-4 text-chart-1"}),l.jsx("span",{className:"text-xs font-medium text-chart-1",children:r.pricing.title})]}),l.jsx("h2",{className:"text-4xl md:text-6xl font-bold tracking-tight text-foreground mb-6",children:l.jsx("span",{className:"text-gradient-chart-warm",children:r.pricing.subtitle})}),l.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:r.pricing.description})]})})}),l.jsx("section",{className:"py-24",children:l.jsxs("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[C.length>0&&l.jsx($.div,{className:"flex justify-center mb-12",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5},children:l.jsxs("div",{className:"inline-flex p-1 bg-muted rounded-xl",children:[l.jsxs("button",{onClick:()=>v("subscription"),className:F("flex items-center gap-2 px-6 py-3 rounded-lg text-sm font-medium transition-all duration-200",P==="subscription"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:[l.jsx(Bt,{className:"h-4 w-4"}),r.pricing.tabs?.subscription||(i==="zh-CN"?"订é
å¥é¤":"Subscription")]}),l.jsxs("button",{onClick:()=>v("credits"),className:F("flex items-center gap-2 px-6 py-3 rounded-lg text-sm font-medium transition-all duration-200",P==="credits"?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:[l.jsx(Ie,{className:"h-4 w-4"}),r.pricing.tabs?.credits||(i==="zh-CN"?"积åå
å¼":"Credits")]})]})}),l.jsx("div",{className:F("grid gap-8 lg:gap-12",h.length===1?"grid-cols-1 max-w-md mx-auto":h.length===2?"grid-cols-1 md:grid-cols-2 max-w-3xl mx-auto":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3"),children:h.map((u,p)=>{const M=u.i18n&&typeof u.i18n=="object"?u.i18n[i]:void 0,A=u.recommended,D=u.id==="lifetime",Q=u.duration?.type==="credits",W=M?.features||[];return l.jsxs($.div,{className:`relative rounded-xl p-6 shadow-lg transition-all duration-300 hover:scale-[1.02] ${A?"bg-card border-2 border-chart-1 shadow-chart-1/20":"bg-card border border-border hover:border-border/80"}`,initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:p*.1},viewport:{once:!0},children:[A&&l.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2",children:l.jsxs("div",{className:"inline-flex items-center space-x-2 px-3 py-1.5 bg-gradient-chart-warm text-white rounded-full shadow-md",children:[l.jsx(At,{className:"h-3.5 w-3.5"}),l.jsx("span",{className:"text-xs font-medium",children:r.pricing.recommendedBadge})]})}),Q&&!A&&l.jsx("div",{className:"absolute -top-4 left-1/2 transform -translate-x-1/2",children:l.jsxs("div",{className:"inline-flex items-center space-x-2 px-3 py-1.5 bg-primary text-primary-foreground rounded-full shadow-md",children:[l.jsx(Ie,{className:"h-3.5 w-3.5"}),l.jsx("span",{className:"text-xs font-medium",children:r.pricing.creditsBadge||"Credits"})]})}),l.jsxs("div",{className:"text-center mb-6",children:[l.jsx("h3",{className:`text-xl font-bold mb-2 ${A?"text-card-foreground":"text-foreground"}`,children:M?.name||"Plan"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:M?.description||"Description"})]}),l.jsxs("div",{className:"text-center mb-6",children:[l.jsxs("div",{className:"flex items-baseline justify-center space-x-2",children:[l.jsxs("span",{className:`text-4xl font-bold ${A?"text-card-foreground":"text-foreground"}`,children:[u.currency==="CNY"?"Â¥":"$",u.amount]}),l.jsxs("span",{className:"text-base font-medium text-muted-foreground",children:["/",M?.duration||"Duration"]})]}),D&&l.jsxs("div",{className:"mt-2 inline-flex items-center space-x-1 px-2.5 py-1 bg-chart-5-bg-15 text-chart-5 rounded-full text-xs font-medium",children:[l.jsx(Tt,{className:"h-3.5 w-3.5"}),l.jsx("span",{children:r.pricing.lifetimeBadge})]})]}),l.jsx("div",{className:"space-y-3 mb-6",children:W.map(H=>l.jsxs("div",{className:"flex items-start space-x-3",children:[l.jsx("div",{className:`w-5 h-5 rounded-full flex items-center justify-center shrink-0 mt-0.5 ${A?"bg-chart-1":"bg-chart-2-bg-15"}`,children:l.jsx(Pt,{className:`h-3 w-3 ${A?"text-white":"text-chart-2"}`})}),l.jsx("span",{className:"text-sm leading-6 text-card-foreground",children:H})]},H))}),l.jsx(xt,{onClick:()=>g(u),disabled:e===u.id||R,className:F("w-full py-3 rounded-lg font-semibold text-base transition-all duration-300 hover:scale-[1.02]","shadow-md hover:shadow-lg disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100","bg-primary text-primary-foreground hover:bg-primary/90"),children:e===u.id?l.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[l.jsx(Rt,{className:"h-4 w-4 animate-spin"}),l.jsx("span",{children:r.common.loading})]}):l.jsxs("div",{className:"flex items-center justify-center space-x-2",children:[l.jsx("span",{children:r.pricing.cta}),l.jsx(It,{className:"h-4 w-4"})]})}),A&&l.jsx("div",{className:"absolute inset-0 bg-gradient-chart-warm opacity-5 rounded-xl pointer-events-none"})]},u.id)})}),l.jsx($.div,{className:"mt-16 text-center",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.5},viewport:{once:!0},children:l.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 max-w-4xl mx-auto",children:[l.jsxs("div",{className:"flex flex-col items-center space-y-3",children:[l.jsx("div",{className:"w-12 h-12 bg-chart-2-bg-15 rounded-xl flex items-center justify-center",children:l.jsx(Nt,{className:"h-6 w-6 text-chart-2"})}),l.jsx("h4",{className:"font-semibold text-foreground",children:r.pricing.features.securePayment.title}),l.jsx("p",{className:"text-sm text-muted-foreground text-center",children:r.pricing.features.securePayment.description})]}),l.jsxs("div",{className:"flex flex-col items-center space-y-3",children:[l.jsx("div",{className:"w-12 h-12 bg-chart-1-bg-15 rounded-xl flex items-center justify-center",children:l.jsx(bt,{className:"h-6 w-6 text-chart-1"})}),l.jsx("h4",{className:"font-semibold text-foreground",children:r.pricing.features.flexibleSubscription.title}),l.jsx("p",{className:"text-sm text-muted-foreground text-center",children:r.pricing.features.flexibleSubscription.description})]}),l.jsxs("div",{className:"flex flex-col items-center space-y-3",children:[l.jsx("div",{className:"w-12 h-12 bg-chart-3-bg-15 rounded-xl flex items-center justify-center",children:l.jsx(Et,{className:"h-6 w-6 text-chart-3"})}),l.jsx("h4",{className:"font-semibold text-foreground",children:r.pricing.features.globalCoverage.title}),l.jsx("p",{className:"text-sm text-muted-foreground text-center",children:r.pricing.features.globalCoverage.description})]})]})})]})})]}),l.jsx(mt,{open:!!s,onOpenChange:u=>!u&&B(),children:l.jsxs(pt,{className:"sm:max-w-md",children:[l.jsx(wt,{children:l.jsx(yt,{className:"text-center",children:a&&l.jsxs("span",{children:[a.currency==="CNY"?"Â¥":"$",a.amount," -"," ",a.i18n?.[i]?.n
32ame||"Plan"]})})}),l.jsxs("div",{className:"flex flex-col items-center space-y-6",children:[l.jsx(nn,{steps:y,currentStep:m}),s&&l.jsxs("div",{className:"flex flex-col items-center space-y-4",children:[l.jsx("img",{src:s,alt:"WeChat Pay QR Code",className:"w-64 h-64"}),l.jsx("p",{className:"text-sm text-muted-foreground",children:r.payment.scanQrCode})]})]})]})})]})}export{vn as component};
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.