sg-paisou 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -55531,11 +55531,10 @@ const R6 = {
55531
55531
  }, hG = () => null;
55532
55532
  let J3 = null;
55533
55533
  const O9 = (r) => {
55534
- const t = JSON.parse('{"busKey":"biz_question_info","code":0,"data":{"content":"Darren bought 140 basketballs for the school teams.He gave $$ \\frac { 4 } { 7 } $$ of the basketballs to the boys team and $$ \\frac { 7 } { 1 2 } $$ of the remainder to the girlsteam The rest of the balls were then kept in the storeroom for P. E. classes.How many basketballs were kept for P.E. classes?Answer: basketballs.","envNumber":0,"imagePath":"https://kjdsfz-cdn.thethinkacademy.com/thinksnap/20251121/1763733021540nxcBr7W2vO.jpg","ocrText":"Darren bought 140 basketballs for the school teams.He gave $$ \\frac { 4 } { 7 } $$ of the basketballs to the boys team and $$ \\frac { 7 } { 1 2 } $$ of the remainder to the girlsteam The rest of the balls were then kept in the storeroom for P. E. classes.How many basketballs were kept for P.E. classes?Answer: basketballs.","questionId":"1","sessionId":"","similarity":0.0,"talId":"","pkgName": "snapThink"},"message":""}');
55535
- r(t.data), J3 = (i) => {
55536
- console.log("[Bridge] 收到 sendMsgCommon 消息:", i);
55537
- const Q = JSON.parse(i);
55538
- Q.busKey === "biz_question_info" && r(Q.data);
55534
+ J3 = (e) => {
55535
+ console.log("[Bridge] 收到 sendMsgCommon 消息:", e);
55536
+ const t = JSON.parse(e);
55537
+ t.busKey === "biz_question_info" && r(t.data);
55539
55538
  }, R6.on("sendMsgCommon", J3);
55540
55539
  }, M9 = () => {
55541
55540
  J3 && (R6.off("sendMsgCommon", J3), J3 = null);
@@ -3164,7 +3164,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
3164
3164
  </div>
3165
3165
  `;window.TalqsTemplate.updateTemplateList({[window.TalqsTemplate.components.AnalyzeWrapper]:{exclude:[window.TalqsTemplate.components.QueID],components:[{name:window.TalqsTemplate.components.Answer,template:E}]}}),o.value=window.TalqsTemplate.render(u,{analyzeVersion:2,entryTemplate:window.TalqsTemplate.components.Answer}),V.nextTick(()=>{f(a.value)})}}catch(E){console.error("Answer 渲染失败:",E),o.value="<div>渲染失败</div>"}},f=E=>{E&&setTimeout(()=>{try{window.MathJax&&window.MathJax.typesetPromise?(window.MathJax.typesetClear([E]),window.MathJax.typesetPromise([E]).then(()=>{}).catch(_=>{console.error("MathJax 渲染失败:",_)})):window.MathJax&&window.MathJax.Hub?window.MathJax.Hub.Queue(["Typeset",window.MathJax.Hub,E]):console.warn("MathJax 尚未加载完成,将在加载后自动渲染")}catch(_){console.error("MathJax 渲染失败:",_)}},100)},h=E=>{Q("feedback",E,i.isDownVoted||!1)};return V.watch(()=>i.questionInfo,E=>{l()},{deep:!0,immediate:!0}),V.watch(()=>i.questionInfo.answer,E=>{m()},{deep:!0,immediate:!0}),V.onMounted(()=>{l(),m()}),e({renderSolution:l,renderAnswer:m}),(E,_)=>(V.openBlock(),V.createElementBlock("div",$h,[V.createElementVNode("div",eg,[V.createElementVNode("div",tg,[V.createElementVNode("div",rg,[V.createElementVNode("img",{src:V.unref(p),alt:"Solution"},null,8,ng),_[2]||(_[2]=V.createElementVNode("span",{class:"solution-content-title-text"},"Solution",-1))]),V.createElementVNode("div",{ref_key:"solutionRef",ref:n,class:"solution-content-description",innerHTML:s.value},null,8,ag)]),V.createElementVNode("div",ig,[V.createElementVNode("div",og,[V.createElementVNode("img",{src:V.unref(T),alt:"Answer"},null,8,sg),_[3]||(_[3]=V.createElementVNode("span",{class:"answer-content-title-text"},"Answer",-1))]),V.createElementVNode("div",{ref_key:"answerRef",ref:a,class:"answer-content-description",innerHTML:o.value},null,8,lg)]),V.createElementVNode("div",ug,[_[4]||(_[4]=V.createElementVNode("span",{class:"feedback-content-title"},"Was this solution helpful?",-1)),V.createElementVNode("img",{src:V.unref(d),alt:"Feedback",onClick:_[0]||(_[0]=g=>h("upvote"))},null,8,cg),V.createElementVNode("img",{src:V.unref(c),alt:"Feedback",onClick:_[1]||(_[1]=g=>h("downvote"))},null,8,Tg)])])]))}}),E4=(r,e)=>{const t=r.__vccOpts||r;for(const[i,Q]of e)t[i]=Q;return t},dg=E4(Qg,[["__scopeId","data-v-d0c26818"]]);var jr;(function(r){r.android="android",r.ios="ios",r.notInSea="notInSea",r.ipad="ipad"})(jr||(jr={}));var pg=function(){return typeof navigator<"u"?navigator.userAgent:""};function fg(){var r=pg(),e=/Sea/i.test(r),t=/iPhone|iPad|iPod|iOS/i.test(r)&&e,i=/Android/i.test(r)&&e,Q=/iPad/i.test(r)&&e,p=jr.notInSea;t&&(p=jr.ios),i&&(p=jr.android),Q&&(p=jr.ipad);var T=r.match(/Sea\/[a-zA-Z0-9.-]+/)||[],d=(T[0]||"").split("/")[1]||"",c=typeof navigator<"u"?navigator.language:"*";return{platform:p,version:d,language:c}}var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vt(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function mg(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var t=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(i){var Q=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(t,i,Q.get?Q:{enumerable:!0,get:function(){return r[i]}})}),t}var ht=function(r){try{return!!r()}catch{return!0}},hg=ht,B3=!hg(function(){var r=(function(){}).bind();return typeof r!="function"||r.hasOwnProperty("prototype")}),Y8=B3,z8=Function.prototype,$5=z8.call,gg=Y8&&z8.bind.bind($5,$5),bt=Y8?gg:function(r){return function(){return $5.apply(r,arguments)}},_g=bt,k1=_g({}.isPrototypeOf),V3=function(r){return r&&r.Math===Math&&r},gt=V3(typeof globalThis=="object"&&globalThis)||V3(typeof window=="object"&&window)||V3(typeof self=="object"&&self)||V3(typeof et=="object"&&et)||V3(typeof et=="object"&&et)||function(){return this}()||Function("return this")(),Eg=B3,W8=Function.prototype,Z8=W8.apply,K8=W8.call,G3=typeof Reflect=="object"&&Reflect.apply||(Eg?K8.bind(Z8):function(){return K8.apply(Z8,arguments)}),X8=bt,bg=X8({}.toString),yg=X8("".slice),S2=function(r){return yg(bg(r),8,-1)},vg=S2,Sg=bt,ea=function(r){if(vg(r)==="Function")return Sg(r)},ta=typeof document=="object"&&document.all,Nt=typeof ta>"u"&&ta!==void 0?function(r){return typeof r=="function"||r===ta}:function(r){return typeof r=="function"},b4={},Ag=ht,m1=!Ag(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Lg=B3,y4=Function.prototype.call,jt=Lg?y4.bind(y4):function(){return y4.apply(y4,arguments)},v4={},J8={}.propertyIsEnumerable,$8=Object.getOwnPropertyDescriptor,Cg=$8&&!J8.call({1:2},1);v4.f=Cg?function(e){var t=$8(this,e);return!!t&&t.enumerable}:J8;var or=function(r,e){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:e}},Dg=bt,xg=ht,Og=S2,ra=Object,Mg=Dg("".split),na=xg(function(){return!ra("z").propertyIsEnumerable(0)})?function(r){return Og(r)==="String"?Mg(r,""):ra(r)}:ra,qr=function(r){return r==null},Ng=qr,Rg=TypeError,sr=function(r){if(Ng(r))throw new Rg("Can't call method on "+r);return r},wg=na,Ig=sr,B2=function(r){return wg(Ig(r))},Hg=Nt,Wt=function(r){return typeof r=="object"?r!==null:Hg(r)},E1={},aa=E1,ia=gt,Fg=Nt,el=function(r){return Fg(r)?r:void 0},b1=function(r,e){return arguments.length<2?el(aa[r])||el(ia[r]):aa[r]&&aa[r][e]||ia[r]&&ia[r][e]},kg=gt,tl=kg.navigator,rl=tl&&tl.userAgent,Yr=rl?String(rl):"",nl=gt,oa=Yr,al=nl.process,il=nl.Deno,ol=al&&al.versions||il&&il.version,sl=ol&&ol.v8,z1,S4;sl&&(z1=sl.split("."),S4=z1[0]>0&&z1[0]<4?1:+(z1[0]+z1[1])),!S4&&oa&&(z1=oa.match(/Edge\/(\d+)/),(!z1||z1[1]>=74)&&(z1=oa.match(/Chrome\/(\d+)/),z1&&(S4=+z1[1])));var A4=S4,ll=A4,Pg=ht,Bg=gt,Vg=Bg.String,zr=!!Object.getOwnPropertySymbols&&!Pg(function(){var r=Symbol("symbol detection");return!Vg(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&ll&&ll<41}),Gg=zr,ul=Gg&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Ug=b1,jg=Nt,qg=k1,Yg=ul,zg=Object,U3=Yg?function(r){return typeof r=="symbol"}:function(r){var e=Ug("Symbol");return jg(e)&&qg(e.prototype,zg(r))},Wg=String,lr=function(r){try{return Wg(r)}catch{return"Object"}},Zg=Nt,Kg=lr,Xg=TypeError,n1=function(r){if(Zg(r))return r;throw new Xg(Kg(r)+" is not a function")},Jg=n1,$g=qr,sa=function(r,e){var t=r[e];return $g(t)?void 0:Jg(t)},la=jt,ua=Nt,ca=Wt,e_=TypeError,t_=function(r,e){var t,i;if(e==="string"&&ua(t=r.toString)&&!ca(i=la(t,r))||ua(t=r.valueOf)&&!ca(i=la(t,r))||e!=="string"&&ua(t=r.toString)&&!ca(i=la(t,r)))return i;throw new e_("Can't convert object to primitive value")},cl={exports:{}},L4=!0,Tl=gt,r_=Object.defineProperty,n_=function(r,e){try{r_(Tl,r,{value:e,configurable:!0,writable:!0})}catch{Tl[r]=e}return e},a_=gt,i_=n_,Ql="__core-js_shared__",dl=cl.exports=a_[Ql]||i_(Ql,{});(dl.versions||(dl.versions=[])).push({version:"3.46.0",mode:"pure",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ta=cl.exports,pl=Ta,Wr=function(r,e){return pl[r]||(pl[r]=e||{})},o_=sr,s_=Object,W1=function(r){return s_(o_(r))},l_=bt,u_=W1,c_=l_({}.hasOwnProperty),d1=Object.hasOwn||function(e,t){return c_(u_(e),t)},T_=bt,Q_=0,d_=Math.random(),p_=T_(1.1.toString),C4=function(r){return"Symbol("+(r===void 0?"":r)+")_"+p_(++Q_+d_,36)},f_=gt,m_=Wr,fl=d1,h_=C4,g_=zr,__=ul,Zr=f_.Symbol,Qa=m_("wks"),E_=__?Zr.for||Zr:Zr&&Zr.withoutSetter||h_,Ot=function(r){return fl(Qa,r)||(Qa[r]=g_&&fl(Zr,r)?Zr[r]:E_("Symbol."+r)),Qa[r]},b_=jt,ml=Wt,hl=U3,y_=sa,v_=t_,S_=Ot,A_=TypeError,L_=S_("toPrimitive"),C_=function(r,e){if(!ml(r)||hl(r))return r;var t=y_(r,L_),i;if(t){if(e===void 0&&(e="default"),i=b_(t,r,e),!ml(i)||hl(i))return i;throw new A_("Can't convert object to primitive value")}return e===void 0&&(e="number"),v_(r,e)},D_=C_,x_=U3,da=function(r){var e=D_(r,"string");return x_(e)?e:e+""},O_=gt,gl=Wt,pa=O_.document,M_=gl(pa)&&gl(pa.createElement),fa=function(r){return M_?pa.createElement(r):{}},N_=m1,R_=ht,w_=fa,_l=!N_&&!R_(function(){return Object.defineProperty(w_("div"),"a",{get:function(){return 7}}).a!==7}),I_=m1,H_=jt,F_=v4,k_=or,P_=B2,B_=da,V_=d1,G_=_l,El=Object.getOwnPropertyDescriptor;b4.f=I_?El:function(e,t){if(e=P_(e),t=B_(t),G_)try{return El(e,t)}catch{}if(V_(e,t))return k_(!H_(F_.f,e,t),e[t])};var U_=ht,j_=Nt,q_=/#|\.prototype\./,j3=function(r,e){var t=z_[Y_(r)];return t===Z_?!0:t===W_?!1:j_(e)?U_(e):!!e},Y_=j3.normalize=function(r){return String(r).replace(q_,".").toLowerCase()},z_=j3.data={},W_=j3.NATIVE="N",Z_=j3.POLYFILL="P",bl=j3,yl=ea,K_=n1,X_=B3,J_=yl(yl.bind),y1=function(r,e){return K_(r),e===void 0?r:X_?J_(r,e):function(){return r.apply(e,arguments)}},A1={},$_=m1,eE=ht,vl=$_&&eE(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),tE=Wt,rE=String,nE=TypeError,L1=function(r){if(tE(r))return r;throw new nE(rE(r)+" is not an object")},aE=m1,iE=_l,oE=vl,D4=L1,Sl=da,sE=TypeError,ma=Object.defineProperty,lE=Object.getOwnPropertyDescriptor,ha="enumerable",ga="configurable",_a="writable";A1.f=aE?oE?function(e,t,i){if(D4(e),t=Sl(t),D4(i),typeof e=="function"&&t==="prototype"&&"value"in i&&_a in i&&!i[_a]){var Q=lE(e,t);Q&&Q[_a]&&(e[t]=i.value,i={configurable:ga in i?i[ga]:Q[ga],enumerable:ha in i?i[ha]:Q[ha],writable:!1})}return ma(e,t,i)}:ma:function(e,t,i){if(D4(e),t=Sl(t),D4(i),iE)try{return ma(e,t,i)}catch{}if("get"in i||"set"in i)throw new sE("Accessors not supported");return"value"in i&&(e[t]=i.value),e};var uE=m1,cE=A1,TE=or,V2=uE?function(r,e,t){return cE.f(r,e,TE(1,t))}:function(r,e,t){return r[e]=t,r},q3=gt,QE=G3,dE=ea,pE=Nt,fE=b4.f,mE=bl,Kr=E1,hE=y1,Xr=V2,Al=d1,gE=function(r){var e=function(t,i,Q){if(this instanceof e){switch(arguments.length){case 0:return new r;case 1:return new r(t);case 2:return new r(t,i)}return new r(t,i,Q)}return QE(r,this,arguments)};return e.prototype=r.prototype,e},we=function(r,e){var t=r.target,i=r.global,Q=r.stat,p=r.proto,T=i?q3:Q?q3[t]:q3[t]&&q3[t].prototype,d=i?Kr:Kr[t]||Xr(Kr,t,{})[t],c=d.prototype,n,a,s,o,u,l,m,f,h;for(o in e)n=mE(i?o:t+(Q?".":"#")+o,r.forced),a=!n&&T&&Al(T,o),l=d[o],a&&(r.dontCallGetSet?(h=fE(T,o),m=h&&h.value):m=T[o]),u=a&&m?m:e[o],!(!n&&!p&&typeof l==typeof u)&&(r.bind&&a?f=hE(u,q3):r.wrap&&a?f=gE(u):p&&pE(u)?f=dE(u):f=u,(r.sham||u&&u.sham||l&&l.sham)&&Xr(f,"sham",!0),Xr(d,o,f),p&&(s=t+"Prototype",Al(Kr,s)||Xr(Kr,s,{}),Xr(Kr[s],o,u),r.real&&c&&(n||!c[o])&&Xr(c,o,u)))},_E=bt,ur=_E([].slice),Ll=bt,EE=n1,bE=Wt,yE=d1,Cl=ur,vE=B3,Dl=Function,SE=Ll([].concat),AE=Ll([].join),Ea={},LE=function(r,e,t){if(!yE(Ea,e)){for(var i=[],Q=0;Q<e;Q++)i[Q]="a["+Q+"]";Ea[e]=Dl("C,a","return new C("+AE(i,",")+")")}return Ea[e](r,t)},CE=vE?Dl.bind:function(e){var t=EE(this),i=t.prototype,Q=Cl(arguments,1),p=function(){var d=SE(Q,Cl(arguments));return this instanceof p?LE(t,d.length,d):t.apply(e,d)};return bE(i)&&(p.prototype=i),p},DE=we,xl=CE;DE({target:"Function",proto:!0,forced:Function.bind!==xl},{bind:xl});var xE=gt,OE=E1,A2=function(r,e){var t=OE[r+"Prototype"],i=t&&t[e];if(i)return i;var Q=xE[r],p=Q&&Q.prototype;return p&&p[e]},ME=A2,NE=ME("Function","bind"),RE=k1,wE=NE,ba=Function.prototype,IE=function(r){var e=r.bind;return r===ba||RE(ba,r)&&e===ba.bind?wE:e},HE=IE,FE=HE,kE=FE,PE=kE,BE=PE,VE=BE,GE=VE,UE=GE;const ya=Vt(UE);var Ol,Ml,Nl,G2={log:function(){var e;(e=console).log.apply(e,arguments)},warn:function(){var e;(e=console).warn.apply(e,arguments)},error:function(){var e;(e=console).error.apply(e,arguments)}};if(window&&window.console&&(G2=window.console),document&&document.body){var Jr=document.createElement("iframe");Jr&&Jr.contentWindow&&Jr.contentWindow.console&&(Jr.style.display="none",document.body.appendChild(Jr),G2=Jr.contentWindow.console)}var jE=ya(Ol=G2.log).call(Ol,G2),qE=ya(Ml=G2.warn).call(Ml,G2);ya(Nl=G2.error).call(Nl,G2);var Rl="color:#fff;font-weight:bold;border-radius:5px;background:#67c23a;",YE="".concat(Rl,"background-color:red;");function U2(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return jE("%c Sea-jssdk log: ",Rl,e)}function va(){for(var r=arguments.length,e=new Array(r),t=0;t<r;t++)e[t]=arguments[t];return qE("%c Sea-jssdk log: ",YE,e)}var wl={exports:{}},zE=we,WE=m1,Il=A1.f;zE({target:"Object",stat:!0,forced:Object.defineProperty!==Il,sham:!WE},{defineProperty:Il});var ZE=E1,Hl=ZE.Object,KE=wl.exports=function(e,t,i){return Hl.defineProperty(e,t,i)};Hl.defineProperty.sham&&(KE.sham=!0);var XE=wl.exports,JE=XE,$E=JE,eb=$E,tb=eb,rb=tb,nb=rb,ab=nb;const Fl=Vt(ab);var ib=S2,$r=Array.isArray||function(e){return ib(e)==="Array"},ob=Math.ceil,sb=Math.floor,lb=Math.trunc||function(e){var t=+e;return(t>0?sb:ob)(t)},ub=lb,x4=function(r){var e=+r;return e!==e||e===0?0:ub(e)},cb=x4,Tb=Math.min,Qb=function(r){var e=cb(r);return e>0?Tb(e,9007199254740991):0},db=Qb,j2=function(r){return db(r.length)},pb=TypeError,fb=9007199254740991,Sa=function(r){if(r>fb)throw pb("Maximum allowed index exceeded");return r},mb=m1,hb=A1,gb=or,O4=function(r,e,t){mb?hb.f(r,e,gb(0,t)):r[e]=t},_b=Ot,Eb=_b("toStringTag"),kl={};kl[Eb]="z";var Aa=String(kl)==="[object z]",bb=Aa,yb=Nt,M4=S2,vb=Ot,Sb=vb("toStringTag"),Ab=Object,Lb=M4(function(){return arguments}())==="Arguments",Cb=function(r,e){try{return r[e]}catch{}},Y3=bb?M4:function(r){var e,t,i;return r===void 0?"Undefined":r===null?"Null":typeof(t=Cb(e=Ab(r),Sb))=="string"?t:Lb?M4(e):(i=M4(e))==="Object"&&yb(e.callee)?"Arguments":i},Db=bt,xb=Nt,La=Ta,Ob=Db(Function.toString);xb(La.inspectSource)||(La.inspectSource=function(r){return Ob(r)});var Pl=La.inspectSource,Mb=bt,Nb=ht,Bl=Nt,Rb=Y3,wb=b1,Ib=Pl,Vl=function(){},Gl=wb("Reflect","construct"),Ca=/^\s*(?:class|function)\b/,Hb=Mb(Ca.exec),Fb=!Ca.test(Vl),z3=function(e){if(!Bl(e))return!1;try{return Gl(Vl,[],e),!0}catch{return!1}},Ul=function(e){if(!Bl(e))return!1;switch(Rb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Fb||!!Hb(Ca,Ib(e))}catch{return!0}};Ul.sham=!0;var N4=!Gl||Nb(function(){var r;return z3(z3.call)||!z3(Object)||!z3(function(){r=!0})||r})?Ul:z3,jl=$r,kb=N4,Pb=Wt,Bb=Ot,Vb=Bb("species"),ql=Array,Gb=function(r){var e;return jl(r)&&(e=r.constructor,kb(e)&&(e===ql||jl(e.prototype))?e=void 0:Pb(e)&&(e=e[Vb],e===null&&(e=void 0))),e===void 0?ql:e},Ub=Gb,Da=function(r,e){return new(Ub(r))(e===0?0:e)},jb=ht,qb=Ot,Yb=A4,zb=qb("species"),xa=function(r){return Yb>=51||!jb(function(){var e=[],t=e.constructor={};return t[zb]=function(){return{foo:1}},e[r](Boolean).foo!==1})},Wb=we,Zb=ht,Kb=$r,Xb=Wt,Jb=W1,$b=j2,Yl=Sa,zl=O4,ey=Da,ty=xa,ry=Ot,ny=A4,Wl=ry("isConcatSpreadable"),ay=ny>=51||!Zb(function(){var r=[];return r[Wl]=!1,r.concat()[0]!==r}),iy=function(r){if(!Xb(r))return!1;var e=r[Wl];return e!==void 0?!!e:Kb(r)},oy=!ay||!ty("concat");Wb({target:"Array",proto:!0,forced:oy},{concat:function(e){var t=Jb(this),i=ey(t,0),Q=0,p,T,d,c,n;for(p=-1,d=arguments.length;p<d;p++)if(n=p===-1?t:arguments[p],iy(n))for(c=$b(n),Yl(Q+c),T=0;T<c;T++,Q++)T in n&&zl(i,Q,n[T]);else Yl(Q+1),zl(i,Q++,n);return i.length=Q,i}});var sy=Y3,ly=String,L2=function(r){if(sy(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return ly(r)},Oa={},uy=x4,cy=Math.max,Ty=Math.min,Ma=function(r,e){var t=uy(r);return t<0?cy(t+e,0):Ty(t,e)},Qy=B2,dy=Ma,py=j2,Zl=function(r){return function(e,t,i){var Q=Qy(e),p=py(Q);if(p===0)return!r&&-1;var T=dy(i,p),d;if(r&&t!==t){for(;p>T;)if(d=Q[T++],d!==d)return!0}else for(;p>T;T++)if((r||T in Q)&&Q[T]===t)return r||T||0;return!r&&-1}},Na={includes:Zl(!0),indexOf:Zl(!1)},W3={},fy=bt,Ra=d1,my=B2,hy=Na.indexOf,gy=W3,Kl=fy([].push),Xl=function(r,e){var t=my(r),i=0,Q=[],p;for(p in t)!Ra(gy,p)&&Ra(t,p)&&Kl(Q,p);for(;e.length>i;)Ra(t,p=e[i++])&&(~hy(Q,p)||Kl(Q,p));return Q},wa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_y=Xl,Ey=wa,R4=Object.keys||function(e){return _y(e,Ey)},by=m1,yy=vl,vy=A1,Sy=L1,Ay=B2,Ly=R4;Oa.f=by&&!yy?Object.defineProperties:function(e,t){Sy(e);for(var i=Ay(t),Q=Ly(t),p=Q.length,T=0,d;p>T;)vy.f(e,d=Q[T++],i[d]);return e};var Cy=b1,Jl=Cy("document","documentElement"),Dy=Wr,xy=C4,$l=Dy("keys"),w4=function(r){return $l[r]||($l[r]=xy(r))},Oy=L1,My=Oa,e9=wa,Ny=W3,Ry=Jl,wy=fa,Iy=w4,t9=">",r9="<",Ia="prototype",Ha="script",n9=Iy("IE_PROTO"),Fa=function(){},a9=function(r){return r9+Ha+t9+r+r9+"/"+Ha+t9},i9=function(r){r.write(a9("")),r.close();var e=r.parentWindow.Object;return r=null,e},Hy=function(){var r=wy("iframe"),e="java"+Ha+":",t;return r.style.display="none",Ry.appendChild(r),r.src=String(e),t=r.contentWindow.document,t.open(),t.write(a9("document.F=Object")),t.close(),t.F},I4,H4=function(){try{I4=new ActiveXObject("htmlfile")}catch{}H4=typeof document<"u"?document.domain&&I4?i9(I4):Hy():i9(I4);for(var r=e9.length;r--;)delete H4[Ia][e9[r]];return H4()};Ny[n9]=!0;var Z3=Object.create||function(e,t){var i;return e!==null?(Fa[Ia]=Oy(e),i=new Fa,Fa[Ia]=null,i[n9]=e):i=H4(),t===void 0?i:My.f(i,t)},K3={},Fy=Xl,ky=wa,Py=ky.concat("length","prototype");K3.f=Object.getOwnPropertyNames||function(e){return Fy(e,Py)};var ka={},By=S2,Vy=B2,o9=K3.f,Gy=ur,s9=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Uy=function(r){try{return o9(r)}catch{return Gy(s9)}};ka.f=function(e){return s9&&By(e)==="Window"?Uy(e):o9(Vy(e))};var X3={};X3.f=Object.getOwnPropertySymbols;var jy=V2,e3=function(r,e,t,i){return i&&i.enumerable?r[e]=t:jy(r,e,t),r},qy=A1,Pa=function(r,e,t){return qy.f(r,e,t)},J3={},Yy=Ot;J3.f=Yy;var l9=E1,zy=d1,Wy=J3,Zy=A1.f,Rt=function(r){var e=l9.Symbol||(l9.Symbol={});zy(e,r)||Zy(e,r,{value:Wy.f(r)})},Ky=jt,Xy=b1,Jy=Ot,$y=e3,u9=function(){var r=Xy("Symbol"),e=r&&r.prototype,t=e&&e.valueOf,i=Jy("toPrimitive");e&&!e[i]&&$y(e,i,function(Q){return Ky(t,this)},{})},ev=Aa,tv=Y3,rv=ev?{}.toString:function(){return"[object "+tv(this)+"]"},nv=Aa,av=A1.f,iv=V2,ov=d1,sv=rv,lv=Ot,c9=lv("toStringTag"),q2=function(r,e,t,i){var Q=t?r:r&&r.prototype;Q&&(ov(Q,c9)||av(Q,c9,{configurable:!0,value:e}),i&&!nv&&iv(Q,"toString",sv))},uv=gt,cv=Nt,T9=uv.WeakMap,Tv=cv(T9)&&/native code/.test(String(T9)),Qv=Tv,Q9=gt,dv=Wt,pv=V2,Ba=d1,Va=Ta,fv=w4,mv=W3,d9="Object already initialized",Ga=Q9.TypeError,hv=Q9.WeakMap,F4,$3,k4,gv=function(r){return k4(r)?$3(r):F4(r,{})},_v=function(r){return function(e){var t;if(!dv(e)||(t=$3(e)).type!==r)throw new Ga("Incompatible receiver, "+r+" required");return t}};if(Qv||Va.state){var p2=Va.state||(Va.state=new hv);p2.get=p2.get,p2.has=p2.has,p2.set=p2.set,F4=function(r,e){if(p2.has(r))throw new Ga(d9);return e.facade=r,p2.set(r,e),e},$3=function(r){return p2.get(r)||{}},k4=function(r){return p2.has(r)}}else{var t3=fv("state");mv[t3]=!0,F4=function(r,e){if(Ba(r,t3))throw new Ga(d9);return e.facade=r,pv(r,t3,e),e},$3=function(r){return Ba(r,t3)?r[t3]:{}},k4=function(r){return Ba(r,t3)}}var r3={set:F4,get:$3,has:k4,enforce:gv,getterFor:_v},Ev=y1,bv=bt,yv=na,vv=W1,Sv=j2,Av=Da,p9=bv([].push),Lv=function(r){var e=r===1,t=r===2,i=r===3,Q=r===4,p=r===6,T=r===7,d=r===5||p;return function(c,n,a,s){for(var o=vv(c),u=yv(o),l=Sv(u),m=Ev(n,a),f=0,h=s||Av,E=e?h(c,l):t||T?h(c,0):void 0,_,g;l>f;f++)if((d||f in u)&&(_=u[f],g=m(_,f,o),r))if(e)E[f]=g;else if(g)switch(r){case 3:return!0;case 5:return _;case 6:return f;case 2:p9(E,_)}else switch(r){case 4:return!1;case 7:p9(E,_)}return p?-1:i||Q?Q:E}},Ua={forEach:Lv(0)},P4=we,en=gt,ja=jt,Cv=bt,n3=m1,a3=zr,Dv=ht,a1=d1,xv=k1,qa=L1,B4=B2,Ya=da,Ov=L2,za=or,i3=Z3,f9=R4,Mv=K3,m9=ka,Nv=X3,h9=b4,g9=A1,Rv=Oa,_9=v4,E9=e3,wv=Pa,Wa=Wr,Iv=w4,b9=W3,y9=C4,Hv=Ot,Fv=J3,kv=Rt,Pv=u9,Bv=q2,v9=r3,V4=Ua.forEach,C1=Iv("hidden"),G4="Symbol",tn="prototype",Vv=v9.set,S9=v9.getterFor(G4),Z1=Object[tn],cr=en.Symbol,rn=cr&&cr[tn],Gv=en.RangeError,Uv=en.TypeError,Za=en.QObject,A9=h9.f,Tr=g9.f,L9=m9.f,jv=_9.f,C9=Cv([].push),C2=Wa("symbols"),nn=Wa("op-symbols"),qv=Wa("wks"),Ka=!Za||!Za[tn]||!Za[tn].findChild,D9=function(r,e,t){var i=A9(Z1,e);i&&delete Z1[e],Tr(r,e,t),i&&r!==Z1&&Tr(Z1,e,i)},Xa=n3&&Dv(function(){return i3(Tr({},"a",{get:function(){return Tr(this,"a",{value:7}).a}})).a!==7})?D9:Tr,Ja=function(r,e){var t=C2[r]=i3(rn);return Vv(t,{type:G4,tag:r,description:e}),n3||(t.description=e),t},U4=function(e,t,i){e===Z1&&U4(nn,t,i),qa(e);var Q=Ya(t);return qa(i),a1(C2,Q)?(i.enumerable?(a1(e,C1)&&e[C1][Q]&&(e[C1][Q]=!1),i=i3(i,{enumerable:za(0,!1)})):(a1(e,C1)||Tr(e,C1,za(1,i3(null))),e[C1][Q]=!0),Xa(e,Q,i)):Tr(e,Q,i)},$a=function(e,t){qa(e);var i=B4(t),Q=f9(i).concat(N9(i));return V4(Q,function(p){(!n3||ja(x9,i,p))&&U4(e,p,i[p])}),e},Yv=function(e,t){return t===void 0?i3(e):$a(i3(e),t)},x9=function(e){var t=Ya(e),i=ja(jv,this,t);return this===Z1&&a1(C2,t)&&!a1(nn,t)?!1:i||!a1(this,t)||!a1(C2,t)||a1(this,C1)&&this[C1][t]?i:!0},O9=function(e,t){var i=B4(e),Q=Ya(t);if(!(i===Z1&&a1(C2,Q)&&!a1(nn,Q))){var p=A9(i,Q);return p&&a1(C2,Q)&&!(a1(i,C1)&&i[C1][Q])&&(p.enumerable=!0),p}},M9=function(e){var t=L9(B4(e)),i=[];return V4(t,function(Q){!a1(C2,Q)&&!a1(b9,Q)&&C9(i,Q)}),i},N9=function(r){var e=r===Z1,t=L9(e?nn:B4(r)),i=[];return V4(t,function(Q){a1(C2,Q)&&(!e||a1(Z1,Q))&&C9(i,C2[Q])}),i};a3||(cr=function(){if(xv(rn,this))throw new Uv("Symbol is not a constructor");var e=!arguments.length||arguments[0]===void 0?void 0:Ov(arguments[0]),t=y9(e),i=function(Q){var p=this===void 0?en:this;p===Z1&&ja(i,nn,Q),a1(p,C1)&&a1(p[C1],t)&&(p[C1][t]=!1);var T=za(1,Q);try{Xa(p,t,T)}catch(d){if(!(d instanceof Gv))throw d;D9(p,t,T)}};return n3&&Ka&&Xa(Z1,t,{configurable:!0,set:i}),Ja(t,e)},rn=cr[tn],E9(rn,"toString",function(){return S9(this).tag}),E9(cr,"withoutSetter",function(r){return Ja(y9(r),r)}),_9.f=x9,g9.f=U4,Rv.f=$a,h9.f=O9,Mv.f=m9.f=M9,Nv.f=N9,Fv.f=function(r){return Ja(Hv(r),r)},n3&&wv(rn,"description",{configurable:!0,get:function(){return S9(this).description}})),P4({global:!0,wrap:!0,forced:!a3,sham:!a3},{Symbol:cr}),V4(f9(qv),function(r){kv(r)}),P4({target:G4,stat:!0,forced:!a3},{useSetter:function(){Ka=!0},useSimple:function(){Ka=!1}}),P4({target:"Object",stat:!0,forced:!a3,sham:!n3},{create:Yv,defineProperty:U4,defineProperties:$a,getOwnPropertyDescriptor:O9}),P4({target:"Object",stat:!0,forced:!a3},{getOwnPropertyNames:M9}),Pv(),Bv(cr,G4),b9[C1]=!0;var zv=zr,R9=zv&&!!Symbol.for&&!!Symbol.keyFor,Wv=we,Zv=b1,Kv=d1,Xv=L2,w9=Wr,Jv=R9,ei=w9("string-to-symbol-registry"),$v=w9("symbol-to-string-registry");Wv({target:"Symbol",stat:!0,forced:!Jv},{for:function(r){var e=Xv(r);if(Kv(ei,e))return ei[e];var t=Zv("Symbol")(e);return ei[e]=t,$v[t]=e,t}});var eS=we,tS=d1,rS=U3,nS=lr,aS=Wr,iS=R9,I9=aS("symbol-to-string-registry");eS({target:"Symbol",stat:!0,forced:!iS},{keyFor:function(e){if(!rS(e))throw new TypeError(nS(e)+" is not a symbol");if(tS(I9,e))return I9[e]}});var oS=bt,H9=$r,sS=Nt,F9=S2,lS=L2,k9=oS([].push),uS=function(r){if(sS(r))return r;if(H9(r)){for(var e=r.length,t=[],i=0;i<e;i++){var Q=r[i];typeof Q=="string"?k9(t,Q):(typeof Q=="number"||F9(Q)==="Number"||F9(Q)==="String")&&k9(t,lS(Q))}var p=t.length,T=!0;return function(d,c){if(T)return T=!1,c;if(H9(this))return c;for(var n=0;n<p;n++)if(t[n]===d)return c}}},cS=we,P9=b1,B9=G3,TS=jt,an=bt,V9=ht,G9=Nt,U9=U3,j9=ur,QS=uS,dS=zr,pS=String,Y2=P9("JSON","stringify"),j4=an(/./.exec),q9=an("".charAt),fS=an("".charCodeAt),mS=an("".replace),hS=an(1.1.toString),gS=/[\uD800-\uDFFF]/g,Y9=/^[\uD800-\uDBFF]$/,z9=/^[\uDC00-\uDFFF]$/,W9=!dS||V9(function(){var r=P9("Symbol")("stringify detection");return Y2([r])!=="[null]"||Y2({a:r})!=="{}"||Y2(Object(r))!=="{}"}),Z9=V9(function(){return Y2("\uDF06\uD834")!=='"\\udf06\\ud834"'||Y2("\uDEAD")!=='"\\udead"'}),_S=function(r,e){var t=j9(arguments),i=QS(e);if(!(!G9(i)&&(r===void 0||U9(r))))return t[1]=function(Q,p){if(G9(i)&&(p=TS(i,this,pS(Q),p)),!U9(p))return p},B9(Y2,null,t)},ES=function(r,e,t){var i=q9(t,e-1),Q=q9(t,e+1);return j4(Y9,r)&&!j4(z9,Q)||j4(z9,r)&&!j4(Y9,i)?"\\u"+hS(fS(r,0),16):r};Y2&&cS({target:"JSON",stat:!0,forced:W9||Z9},{stringify:function(e,t,i){var Q=j9(arguments),p=B9(W9?_S:Y2,null,Q);return Z9&&typeof p=="string"?mS(p,gS,ES):p}});var bS=we,yS=zr,vS=ht,K9=X3,SS=W1,AS=!yS||vS(function(){K9.f(1)});bS({target:"Object",stat:!0,forced:AS},{getOwnPropertySymbols:function(e){var t=K9.f;return t?t(SS(e)):[]}});var LS=Rt;LS("asyncDispose");var CS=Rt;CS("asyncIterator");var DS=Rt;DS("dispose");var xS=Rt;xS("hasInstance");var OS=Rt;OS("isConcatSpreadable");var MS=Rt;MS("iterator");var NS=Rt;NS("match");var RS=Rt;RS("matchAll");var wS=Rt;wS("replace");var IS=Rt;IS("search");var HS=Rt;HS("species");var FS=Rt;FS("split");var kS=Rt,PS=u9;kS("toPrimitive"),PS();var BS=b1,VS=Rt,GS=q2;VS("toStringTag"),GS(BS("Symbol"),"Symbol");var US=Rt;US("unscopables");var jS=gt,qS=q2;qS(jS.JSON,"JSON",!0);var YS=E1,zS=YS.Symbol,o3={},ti=m1,WS=d1,X9=Function.prototype,ZS=ti&&Object.getOwnPropertyDescriptor,J9=WS(X9,"name"),KS=J9&&(function(){}).name==="something",XS=J9&&(!ti||ti&&ZS(X9,"name").configurable),JS={PROPER:KS,CONFIGURABLE:XS},$S=ht,eA=!$S(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype}),tA=d1,rA=Nt,nA=W1,aA=w4,iA=eA,$9=aA("IE_PROTO"),ri=Object,oA=ri.prototype,ni=iA?ri.getPrototypeOf:function(r){var e=nA(r);if(tA(e,$9))return e[$9];var t=e.constructor;return rA(t)&&e instanceof t?t.prototype:e instanceof ri?oA:null},sA=ht,lA=Nt,uA=Wt,cA=Z3,eu=ni,TA=e3,QA=Ot,ai=QA("iterator"),tu=!1,D2,ii,oi;[].keys&&(oi=[].keys(),"next"in oi?(ii=eu(eu(oi)),ii!==Object.prototype&&(D2=ii)):tu=!0);var dA=!uA(D2)||sA(function(){var r={};return D2[ai].call(r)!==r});dA?D2={}:D2=cA(D2),lA(D2[ai])||TA(D2,ai,function(){return this});var ru={IteratorPrototype:D2,BUGGY_SAFARI_ITERATORS:tu},pA=ru.IteratorPrototype,fA=Z3,mA=or,hA=q2,gA=o3,_A=function(){return this},EA=function(r,e,t,i){var Q=e+" Iterator";return r.prototype=fA(pA,{next:mA(+!i,t)}),hA(r,Q,!1,!0),gA[Q]=_A,r},bA=bt,yA=n1,vA=function(r,e,t){try{return bA(yA(Object.getOwnPropertyDescriptor(r,e)[t]))}catch{}},SA=Wt,AA=function(r){return SA(r)||r===null},LA=AA,CA=String,DA=TypeError,xA=function(r){if(LA(r))return r;throw new DA("Can't set "+CA(r)+" as a prototype")},OA=vA,MA=Wt,NA=sr,RA=xA,wA=Object.setPrototypeOf||("__proto__"in{}?function(){var r=!1,e={},t;try{t=OA(Object.prototype,"__proto__","set"),t(e,[]),r=e instanceof Array}catch{}return function(Q,p){return NA(Q),RA(p),MA(Q)&&(r?t(Q,p):Q.__proto__=p),Q}}():void 0),IA=we,HA=jt,nu=JS,FA=EA,kA=ni,PA=q2,au=e3,BA=Ot,iu=o3,ou=ru,VA=nu.PROPER;nu.CONFIGURABLE,ou.IteratorPrototype;var q4=ou.BUGGY_SAFARI_ITERATORS,si=BA("iterator"),su="keys",Y4="values",lu="entries",GA=function(){return this},li=function(r,e,t,i,Q,p,T){FA(t,e,i);var d=function(h){if(h===Q&&o)return o;if(!q4&&h&&h in a)return a[h];switch(h){case su:return function(){return new t(this,h)};case Y4:return function(){return new t(this,h)};case lu:return function(){return new t(this,h)}}return function(){return new t(this)}},c=e+" Iterator",n=!1,a=r.prototype,s=a[si]||a["@@iterator"]||Q&&a[Q],o=!q4&&s||d(Q),u=e==="Array"&&a.entries||s,l,m,f;if(u&&(l=kA(u.call(new r)),l!==Object.prototype&&l.next&&(PA(l,c,!0,!0),iu[c]=GA)),VA&&Q===Y4&&s&&s.name!==Y4&&(n=!0,o=function(){return HA(s,this)}),Q)if(m={values:d(Y4),keys:p?o:d(su),entries:d(lu)},T)for(f in m)(q4||n||!(f in a))&&au(a,f,m[f]);else IA({target:e,proto:!0,forced:q4||n},m);return T&&a[si]!==o&&au(a,si,o,{}),iu[e]=o,m},ui=function(r,e){return{value:r,done:e}},UA=B2,uu=o3,cu=r3;A1.f;var jA=li,z4=ui,Tu="Array Iterator",qA=cu.set,YA=cu.getterFor(Tu);jA(Array,"Array",function(r,e){qA(this,{type:Tu,target:UA(r),index:0,kind:e})},function(){var r=YA(this),e=r.target,t=r.index++;if(!e||t>=e.length)return r.target=null,z4(void 0,!0);switch(r.kind){case"keys":return z4(t,!1);case"values":return z4(e[t],!1)}return z4([t,e[t]],!1)},"values"),uu.Arguments=uu.Array;var zA={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},WA=zA,ZA=gt,KA=q2,Qu=o3;for(var ci in WA)KA(ZA[ci],ci),Qu[ci]=Qu.Array;var XA=zS,JA=XA,$A=Ot,eL=A1.f,du=$A("metadata"),pu=Function.prototype;pu[du]===void 0&&eL(pu,du,{value:null});var tL=Rt;tL("metadata");var rL=JA,nL=rL,aL=b1,iL=bt,Ti=aL("Symbol"),oL=Ti.keyFor,sL=iL(Ti.prototype.valueOf),fu=Ti.isRegisteredSymbol||function(e){try{return oL(sL(e))!==void 0}catch{return!1}},lL=we,uL=fu;lL({target:"Symbol",stat:!0},{isRegisteredSymbol:uL});for(var cL=Wr,mu=b1,TL=bt,QL=U3,dL=Ot,W4=mu("Symbol"),hu=W4.isWellKnownSymbol,gu=mu("Object","getOwnPropertyNames"),pL=TL(W4.prototype.valueOf),_u=cL("wks"),Qi=0,Eu=gu(W4),fL=Eu.length;Qi<fL;Qi++)try{var bu=Eu[Qi];QL(W4[bu])&&dL(bu)}catch{}var yu=function(e){if(hu&&hu(e))return!0;try{for(var t=pL(e),i=0,Q=gu(_u),p=Q.length;i<p;i++)if(_u[Q[i]]==t)return!0}catch{}return!1},mL=we,hL=yu;mL({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:hL});var gL=Rt;gL("customMatcher");var _L=Rt;_L("observable");var EL=we,bL=fu;EL({target:"Symbol",stat:!0},{isRegistered:bL});var yL=we,vL=yu;yL({target:"Symbol",stat:!0,forced:!0},{isWellKnown:vL});var SL=Rt;SL("matcher");var AL=Rt;AL("metadataKey");var LL=Rt;LL("patternMatch");var CL=Rt;CL("replaceAll");var DL=nL,xL=DL,OL=xL;const on=Vt(OL);var di=bt,ML=x4,NL=L2,RL=sr,wL=di("".charAt),vu=di("".charCodeAt),IL=di("".slice),HL=function(r){return function(e,t){var i=NL(RL(e)),Q=ML(t),p=i.length,T,d;return Q<0||Q>=p?r?"":void 0:(T=vu(i,Q),T<55296||T>56319||Q+1===p||(d=vu(i,Q+1))<56320||d>57343?r?wL(i,Q):T:r?IL(i,Q,Q+2):(T-55296<<10)+(d-56320)+65536)}},FL={charAt:HL(!0)},kL=FL.charAt,PL=L2,Su=r3,BL=li,Au=ui,Lu="String Iterator",VL=Su.set,GL=Su.getterFor(Lu);BL(String,"String",function(r){VL(this,{type:Lu,string:PL(r),index:0})},function(){var e=GL(this),t=e.string,i=e.index,Q;return i>=t.length?Au(void 0,!0):(Q=kL(t,i),e.index+=Q.length,Au(Q,!1))});var UL=J3,jL=UL.f("iterator"),qL=jL,YL=qL,zL=YL,WL=zL,ZL=WL,KL=ZL,XL=KL;const JL=Vt(XL);function Qr(r){"@babel/helpers - typeof";return Qr=typeof on=="function"&&typeof JL=="symbol"?function(e){return typeof e}:function(e){return e&&typeof on=="function"&&e.constructor===on&&e!==on.prototype?"symbol":typeof e},Qr(r)}var $L=J3,eC=$L.f("toPrimitive"),tC=eC,rC=tC,nC=rC,aC=nC,iC=aC,oC=iC,sC=oC;const lC=Vt(sC);function uC(r,e){if(Qr(r)!="object"||!r)return r;var t=r[lC];if(t!==void 0){var i=t.call(r,e);if(Qr(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function cC(r){var e=uC(r,"string");return Qr(e)=="symbol"?e:e+""}function TC(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Fl(r,cC(i.key),i)}}function Cu(r,e,t){return e&&TC(r.prototype,e),Fl(r,"prototype",{writable:!1}),r}function Du(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}var QC=we,dC=$r;QC({target:"Array",stat:!0},{isArray:dC});var pC=E1,fC=pC.Array.isArray,mC=fC,hC=mC,gC=hC,_C=gC,EC=_C,bC=EC,xu=bC;const yC=Vt(xu);var vC=xu;const pi=Vt(vC);var SC=ht,Ou=function(r,e){var t=[][r];return!!t&&SC(function(){t.call(null,e||function(){return 1},1)})},AC=we,LC=ea,CC=Na.indexOf,DC=Ou,fi=LC([].indexOf),Mu=!!fi&&1/fi([1],1,-0)<0,xC=Mu||!DC("indexOf");AC({target:"Array",proto:!0,forced:xC},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Mu?fi(this,e,t)||0:CC(this,e,t)}});var OC=A2,MC=OC("Array","indexOf"),NC=k1,RC=MC,mi=Array.prototype,wC=function(r){var e=r.indexOf;return r===mi||NC(mi,r)&&e===mi.indexOf?RC:e},IC=wC,HC=IC,FC=HC,kC=FC,PC=kC,BC=PC,VC=BC,GC=VC;const UC=Vt(GC);var jC=m1,qC=$r,YC=TypeError,zC=Object.getOwnPropertyDescriptor,WC=jC&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}(),Nu=WC?function(r,e){if(qC(r)&&!zC(r,"length").writable)throw new YC("Cannot set read only .length");return r.length=e}:function(r,e){return r.length=e},Ru=lr,ZC=TypeError,KC=function(r,e){if(!delete r[e])throw new ZC("Cannot delete property "+Ru(e)+" of "+Ru(r))},XC=we,JC=W1,$C=Ma,eD=x4,tD=j2,rD=Nu,nD=Sa,aD=Da,iD=O4,hi=KC,oD=xa,sD=oD("splice"),lD=Math.max,uD=Math.min;XC({target:"Array",proto:!0,forced:!sD},{splice:function(e,t){var i=JC(this),Q=tD(i),p=$C(e,Q),T=arguments.length,d,c,n,a,s,o;for(T===0?d=c=0:T===1?(d=0,c=Q-p):(d=T-2,c=uD(lD(eD(t),0),Q-p)),nD(Q+d-c),n=aD(i,c),a=0;a<c;a++)s=p+a,s in i&&iD(n,a,i[s]);if(n.length=c,d<c){for(a=p;a<Q-c;a++)s=a+c,o=a+d,s in i?i[o]=i[s]:hi(i,o);for(a=Q;a>Q-c+d;a--)hi(i,a-1)}else if(d>c)for(a=Q-c;a>p;a--)s=a+c-1,o=a+d-1,s in i?i[o]=i[s]:hi(i,o);for(a=0;a<d;a++)i[a+p]=arguments[a+2];return rD(i,Q-c+d),n}});var cD=A2,TD=cD("Array","splice"),QD=k1,dD=TD,gi=Array.prototype,pD=function(r){var e=r.splice;return r===gi||QD(gi,r)&&e===gi.splice?dD:e},fD=pD,mD=fD,hD=mD,gD=hD,_D=gD,ED=_D,bD=ED,yD=bD;const vD=Vt(yD);var SD=Ua.forEach,AD=Ou,LD=AD("forEach"),CD=LD?[].forEach:function(e){return SD(this,e,arguments.length>1?arguments[1]:void 0)},DD=we,wu=CD;DD({target:"Array",proto:!0,forced:[].forEach!==wu},{forEach:wu});var xD=A2,OD=xD("Array","forEach"),MD=OD,ND=MD,RD=Y3,wD=d1,ID=k1,HD=ND,_i=Array.prototype,FD={DOMTokenList:!0,NodeList:!0},kD=function(r){var e=r.forEach;return r===_i||ID(_i,r)&&e===_i.forEach||wD(FD,RD(r))?HD:e},PD=kD,BD=PD,VD=BD,GD=VD,UD=GD,jD=UD;const qD=Vt(jD);var YD=Cu(function r(){var e=this;Du(this,r),this.on=function(t,i){if(!t||typeof i!="function")throw"eventName is null or handle is not a function, on fail";pi(e.eventsHandle[t])||(e.eventsHandle[t]=[]),e.eventsHandle[t].push(i)},this.off=function(t,i){if(!t)throw"eventName is null, invoke off fail";if(!i){e.eventsHandle[t]=[];return}if(pi(e.eventsHandle[t])){var Q,p,T=UC(Q=e.eventsHandle[t]).call(Q,i);T!==-1&&vD(p=e.eventsHandle[t]).call(p,T,1)}},this.execEvent=function(t,i){var Q;pi(e.eventsHandle[t])&&qD(Q=e.eventsHandle[t]).call(Q,function(p){try{p(i)}catch{console.error(i)}})},this.eventsHandle={}}),Ei=new YD;function zD(r){if(yC(r))return r}var WD=Y3,Iu=sa,ZD=qr,KD=o3,XD=Ot,JD=XD("iterator"),Z4=function(r){if(!ZD(r))return Iu(r,JD)||Iu(r,"@@iterator")||KD[WD(r)]},$D=Z4,ex=$D,tx=ex,rx=tx,nx=rx,ax=nx,ix=ax,ox=ix,sx=ox;const lx=Vt(sx);var ux=we,cx=W1,Tx=j2,Qx=Nu,dx=Sa,px=ht,fx=px(function(){return[].push.call({length:4294967296},1)!==4294967297}),mx=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}},hx=fx||!mx();ux({target:"Array",proto:!0,forced:hx},{push:function(e){var t=cx(this),i=Tx(t),Q=arguments.length;dx(i+Q);for(var p=0;p<Q;p++)t[i]=arguments[p],i++;return Qx(t,i),i}});var gx=A2,_x=gx("Array","push"),Ex=k1,bx=_x,bi=Array.prototype,yx=function(r){var e=r.push;return r===bi||Ex(bi,r)&&e===bi.push?bx:e},vx=yx,Sx=vx,Ax=Sx,Lx=Ax,Cx=Lx,Dx=Cx,xx=Dx;const Ox=Vt(xx);function Mx(r,e){var t=r==null?null:typeof on<"u"&&lx(r)||r["@@iterator"];if(t!=null){var i,Q,p,T,d=[],c=!0,n=!1;try{if(p=(t=t.call(r)).next,e!==0)for(;!(c=(i=p.call(t)).done)&&(Ox(d).call(d,i.value),d.length!==e);c=!0);}catch(a){n=!0,Q=a}finally{try{if(!c&&t.return!=null&&(T=t.return(),Object(T)!==T))return}finally{if(n)throw Q}}return d}}var Nx=we,Hu=$r,Rx=N4,wx=Wt,Fu=Ma,Ix=j2,Hx=B2,Fx=O4,kx=Ot,Px=xa,Bx=ur,Vx=Px("slice"),Gx=kx("species"),yi=Array,Ux=Math.max;Nx({target:"Array",proto:!0,forced:!Vx},{slice:function(e,t){var i=Hx(this),Q=Ix(i),p=Fu(e,Q),T=Fu(t===void 0?Q:t,Q),d,c,n;if(Hu(i)&&(d=i.constructor,Rx(d)&&(d===yi||Hu(d.prototype))?d=void 0:wx(d)&&(d=d[Gx],d===null&&(d=void 0)),d===yi||d===void 0))return Bx(i,p,T);for(c=new(d===void 0?yi:d)(Ux(T-p,0)),n=0;p<T;p++,n++)p in i&&Fx(c,n,i[p]);return c.length=n,c}});var jx=A2,qx=jx("Array","slice"),Yx=k1,zx=qx,vi=Array.prototype,Wx=function(r){var e=r.slice;return r===vi||Yx(vi,r)&&e===vi.slice?zx:e},Zx=Wx,Kx=Zx,Xx=Kx,Jx=Xx,$x=Jx,eO=$x,tO=eO;const rO=Vt(tO);var nO=jt,ku=L1,aO=sa,Pu=function(r,e,t){var i,Q;ku(r);try{if(i=aO(r,"return"),!i){if(e==="throw")throw t;return t}i=nO(i,r)}catch(p){Q=!0,i=p}if(e==="throw")throw t;if(Q)throw i;return ku(i),t},iO=L1,oO=Pu,sO=function(r,e,t,i){try{return i?e(iO(t)[0],t[1]):e(t)}catch(Q){oO(r,"throw",Q)}},lO=Ot,uO=o3,cO=lO("iterator"),TO=Array.prototype,Bu=function(r){return r!==void 0&&(uO.Array===r||TO[cO]===r)},QO=jt,dO=n1,pO=L1,fO=lr,mO=Z4,hO=TypeError,Vu=function(r,e){var t=arguments.length<2?mO(r):e;if(dO(t))return pO(QO(t,r));throw new hO(fO(r)+" is not iterable")},gO=y1,_O=jt,EO=W1,bO=sO,yO=Bu,vO=N4,SO=j2,Gu=O4,AO=Vu,LO=Z4,Uu=Array,CO=function(e){var t=EO(e),i=vO(this),Q=arguments.length,p=Q>1?arguments[1]:void 0,T=p!==void 0;T&&(p=gO(p,Q>2?arguments[2]:void 0));var d=LO(t),c=0,n,a,s,o,u,l;if(d&&!(this===Uu&&yO(d)))for(a=i?new this:[],o=AO(t,d),u=o.next;!(s=_O(u,o)).done;c++)l=T?bO(o,p,[s.value,c],!0):s.value,Gu(a,c,l);else for(n=SO(t),a=i?new this(n):Uu(n);n>c;c++)l=T?p(t[c],c):t[c],Gu(a,c,l);return a.length=c,a},DO=Ot,ju=DO("iterator"),qu=!1;try{var xO=0,Yu={next:function(){return{done:!!xO++}},return:function(){qu=!0}};Yu[ju]=function(){return this},Array.from(Yu,function(){throw 2})}catch{}var zu=function(r,e){try{if(!e&&!qu)return!1}catch{return!1}var t=!1;try{var i={};i[ju]=function(){return{next:function(){return{done:t=!0}}}},r(i)}catch{}return t},OO=we,MO=CO,NO=zu,RO=!NO(function(r){Array.from(r)});OO({target:"Array",stat:!0,forced:RO},{from:MO});var wO=E1,IO=wO.Array.from,HO=IO,FO=HO,kO=FO,PO=kO,BO=PO,VO=BO,GO=VO;const UO=Vt(GO);function Wu(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,i=Array(e);t<e;t++)i[t]=r[t];return i}function jO(r,e){if(r){var t;if(typeof r=="string")return Wu(r,e);var i=rO(t={}.toString.call(r)).call(t,8,-1);return i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set"?UO(r):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Wu(r,e):void 0}}function qO(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3166
3166
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function YO(r,e){return zD(r)||Mx(r,e)||jO(r,e)||qO()}var Zu=`
3167
- \v\f\r                 \u2028\u2029\uFEFF`,zO=bt,WO=sr,ZO=L2,Si=Zu,Ku=zO("".replace),KO=RegExp("^["+Si+"]+"),XO=RegExp("(^|[^"+Si+"])["+Si+"]+$"),JO=function(r){return function(e){var t=ZO(WO(e));return r&1&&(t=Ku(t,KO,"")),r&2&&(t=Ku(t,XO,"$1")),t}},$O={trim:JO(3)},Xu=gt,eM=ht,tM=bt,rM=L2,nM=$O.trim,Ju=Zu,sn=Xu.parseInt,$u=Xu.Symbol,ec=$u&&$u.iterator,tc=/^[+-]?0x/i,aM=tM(tc.exec),iM=sn(Ju+"08")!==8||sn(Ju+"0x16")!==22||ec&&!eM(function(){sn(Object(ec))}),oM=iM?function(e,t){var i=nM(rM(e));return sn(i,t>>>0||(aM(tc,i)?16:10))}:sn,sM=we,rc=oM;sM({global:!0,forced:parseInt!==rc},{parseInt:rc});var lM=E1,uM=lM.parseInt,cM=uM,TM=cM,QM=TM,dM=QM,pM=dM,fM=pM,mM=fM,hM=mM;const nc=Vt(hM);var gM=we,_M=W1,ac=R4,EM=ht,bM=EM(function(){ac(1)});gM({target:"Object",stat:!0,forced:bM},{keys:function(e){return ac(_M(e))}});var yM=E1,vM=yM.Object.keys,SM=vM,AM=SM,LM=AM,CM=LM,DM=CM,xM=DM,OM=xM,MM=OM;const NM=Vt(MM);var RM=we,wM=Na.includes,IM=ht,HM=IM(function(){return!Array(1).includes()});RM({target:"Array",proto:!0,forced:HM},{includes:function(e){return wM(this,e,arguments.length>1?arguments[1]:void 0)}});var FM=A2;FM("Array","includes");var kM=Wt,PM=S2,BM=Ot,VM=BM("match"),GM=function(r){var e;return kM(r)&&((e=r[VM])!==void 0?!!e:PM(r)==="RegExp")},UM=GM,jM=TypeError,qM=function(r){if(UM(r))throw new jM("The method doesn't accept regular expressions");return r},YM=Ot,zM=YM("match"),WM=function(r){var e=/./;try{"/./"[r](e)}catch{try{return e[zM]=!1,"/./"[r](e)}catch{}}return!1},ZM=we,KM=bt,XM=qM,JM=sr,ic=L2,$M=WM,eN=KM("".indexOf);ZM({target:"String",proto:!0,forced:!$M("includes")},{includes:function(e){return!!~eN(ic(JM(this)),ic(XM(e)),arguments.length>1?arguments[1]:void 0)}});var tN=A2;tN("String","includes");var rN=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,oc=function(e){if(typeof e!="string")throw new TypeError("Invalid argument expected string");var t=e.match(rN);if(!t)throw new Error("Invalid argument not valid semver ('".concat(e,"' received)"));return t.shift(),t},sc=function(e){return e==="*"||e==="x"||e==="X"},lc=function(e){var t=nc(e,10);return isNaN(t)?e:t},nN=function(e,t){return Qr(e)!==Qr(t)?[String(e),String(t)]:[e,t]},aN=function(e,t){if(sc(e)||sc(t))return 0;var i=nN(lc(e),lc(t)),Q=YO(i,2),p=Q[0],T=Q[1];return p>T?1:p<T?-1:0},uc=function(e,t){for(var i=0;i<Math.max(e.length,t.length);i++){var Q=aN(e[i]||"0",t[i]||"0");if(Q!==0)return Q}return 0},iN={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};NM(iN);var oN=function(e,t){var i=oc(e),Q=oc(t),p=i.pop(),T=Q.pop(),d=uc(i,Q);return d!==0?d:p&&T?uc(p.split("."),T.split(".")):p||T?p?-1:1:0},sN=b1,lN=bt,uN=K3,cN=X3,TN=L1,QN=lN([].concat),dN=sN("Reflect","ownKeys")||function(e){var t=uN.f(TN(e)),i=cN.f;return i?QN(t,i(e)):t},cc=d1,pN=dN,fN=b4,mN=A1,hN=function(r,e,t){for(var i=pN(e),Q=mN.f,p=fN.f,T=0;T<i.length;T++){var d=i[T];!cc(r,d)&&!(t&&cc(t,d))&&Q(r,d,p(e,d))}},gN=Wt,_N=V2,EN=function(r,e){gN(e)&&"cause"in e&&_N(r,"cause",e.cause)},bN=bt,Tc=Error,yN=bN("".replace),vN=function(r){return String(new Tc(r).stack)}("zxcasd"),Qc=/\n\s*at [^:]*:[^\n]*/,SN=Qc.test(vN),AN=function(r,e){if(SN&&typeof r=="string"&&!Tc.prepareStackTrace)for(;e--;)r=yN(r,Qc,"");return r},LN=ht,CN=or,DN=!LN(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",CN(1,7)),r.stack!==7):!0}),xN=V2,ON=AN,MN=DN,dc=Error.captureStackTrace,NN=function(r,e,t,i){MN&&(dc?dc(r,e):xN(r,"stack",ON(t,i)))},RN=y1,wN=jt,IN=L1,HN=lr,FN=Bu,kN=j2,pc=k1,PN=Vu,BN=Z4,fc=Pu,VN=TypeError,K4=function(r,e){this.stopped=r,this.result=e},mc=K4.prototype,K1=function(r,e,t){var i=t&&t.that,Q=!!(t&&t.AS_ENTRIES),p=!!(t&&t.IS_RECORD),T=!!(t&&t.IS_ITERATOR),d=!!(t&&t.INTERRUPTED),c=RN(e,i),n,a,s,o,u,l,m,f=function(E){return n&&fc(n,"normal"),new K4(!0,E)},h=function(E){return Q?(IN(E),d?c(E[0],E[1],f):c(E[0],E[1])):d?c(E,f):c(E)};if(p)n=r.iterator;else if(T)n=r;else{if(a=BN(r),!a)throw new VN(HN(r)+" is not iterable");if(FN(a)){for(s=0,o=kN(r);o>s;s++)if(u=h(r[s]),u&&pc(mc,u))return u;return new K4(!1)}n=PN(r,a)}for(l=p?r.next:n.next;!(m=wN(l,n)).done;){try{u=h(m.value)}catch(E){fc(n,"throw",E)}if(typeof u=="object"&&u&&pc(mc,u))return u}return new K4(!1)},GN=L2,UN=function(r,e){return r===void 0?arguments.length<2?"":e:GN(r)},jN=we,qN=k1,YN=ni,X4=wA,zN=hN,hc=Z3,Ai=V2,Li=or,WN=EN,ZN=NN,KN=K1,XN=UN,JN=Ot,$N=JN("toStringTag"),J4=Error,eR=[].push,s3=function(e,t){var i=qN(Ci,this),Q;X4?Q=X4(new J4,i?YN(this):Ci):(Q=i?this:hc(Ci),Ai(Q,$N,"Error")),t!==void 0&&Ai(Q,"message",XN(t)),ZN(Q,s3,Q.stack,1),arguments.length>2&&WN(Q,arguments[2]);var p=[];return KN(e,eR,{that:p}),Ai(Q,"errors",p),Q};X4?X4(s3,J4):zN(s3,J4,{name:!0});var Ci=s3.prototype=hc(J4.prototype,{constructor:Li(1,s3),message:Li(1,""),name:Li(1,"AggregateError")});jN({global:!0},{AggregateError:s3});var ln=gt,tR=Yr,rR=S2,$4=function(r){return tR.slice(0,r.length)===r},Di=function(){return $4("Bun/")?"BUN":$4("Cloudflare-Workers")?"CLOUDFLARE":$4("Deno/")?"DENO":$4("Node.js/")?"NODE":ln.Bun&&typeof Bun.version=="string"?"BUN":ln.Deno&&typeof Deno.version=="object"?"DENO":rR(ln.process)==="process"?"NODE":ln.window&&ln.document?"BROWSER":"REST"}(),nR=Di,xi=nR==="NODE",aR=b1,iR=Pa,oR=Ot,sR=m1,gc=oR("species"),_c=function(r){var e=aR(r);sR&&e&&!e[gc]&&iR(e,gc,{configurable:!0,get:function(){return this}})},lR=k1,uR=TypeError,Oi=function(r,e){if(lR(e,r))return r;throw new uR("Incorrect invocation")},cR=N4,TR=lr,QR=TypeError,dR=function(r){if(cR(r))return r;throw new QR(TR(r)+" is not a constructor")},Ec=L1,pR=dR,fR=qr,mR=Ot,hR=mR("species"),bc=function(r,e){var t=Ec(r).constructor,i;return t===void 0||fR(i=Ec(t)[hR])?e:pR(i)},gR=TypeError,yc=function(r,e){if(r<e)throw new gR("Not enough arguments");return r},_R=Yr,vc=/(?:ipad|iphone|ipod).*applewebkit/i.test(_R),I1=gt,ER=G3,bR=y1,Sc=Nt,yR=d1,Ac=ht,Lc=Jl,vR=ur,Cc=fa,SR=yc,AR=vc,LR=xi,Mi=I1.setImmediate,Dc=I1.clearImmediate,CR=I1.process,Ni=I1.Dispatch,DR=I1.Function,xc=I1.MessageChannel,xR=I1.String,Ri=0,un={},Oc="onreadystatechange",cn,dr,wi,Ii;Ac(function(){cn=I1.location});var Hi=function(r){if(yR(un,r)){var e=un[r];delete un[r],e()}},Fi=function(r){return function(){Hi(r)}},Mc=function(r){Hi(r.data)},Nc=function(r){I1.postMessage(xR(r),cn.protocol+"//"+cn.host)};(!Mi||!Dc)&&(Mi=function(e){SR(arguments.length,1);var t=Sc(e)?e:DR(e),i=vR(arguments,1);return un[++Ri]=function(){ER(t,void 0,i)},dr(Ri),Ri},Dc=function(e){delete un[e]},LR?dr=function(r){CR.nextTick(Fi(r))}:Ni&&Ni.now?dr=function(r){Ni.now(Fi(r))}:xc&&!AR?(wi=new xc,Ii=wi.port2,wi.port1.onmessage=Mc,dr=bR(Ii.postMessage,Ii)):I1.addEventListener&&Sc(I1.postMessage)&&!I1.importScripts&&cn&&cn.protocol!=="file:"&&!Ac(Nc)?(dr=Nc,I1.addEventListener("message",Mc,!1)):Oc in Cc("script")?dr=function(r){Lc.appendChild(Cc("script"))[Oc]=function(){Lc.removeChild(this),Hi(r)}}:dr=function(r){setTimeout(Fi(r),0)});var Rc={set:Mi},wc=gt,OR=m1,MR=Object.getOwnPropertyDescriptor,NR=function(r){if(!OR)return wc[r];var e=MR(wc,r);return e&&e.value},Ic=function(){this.head=null,this.tail=null};Ic.prototype={add:function(r){var e={item:r,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var r=this.head;if(r){var e=this.head=r.next;return e===null&&(this.tail=null),r.item}}};var Hc=Ic,RR=Yr,wR=/ipad|iphone|ipod/i.test(RR)&&typeof Pebble<"u",IR=Yr,HR=/web0s(?!.*chrome)/i.test(IR),l3=gt,FR=NR,Fc=y1,ki=Rc.set,kR=Hc,PR=vc,BR=wR,VR=HR,Pi=xi,kc=l3.MutationObserver||l3.WebKitMutationObserver,Pc=l3.document,Bc=l3.process,e6=l3.Promise,Bi=FR("queueMicrotask"),u3,Vi,Gi,t6,Vc;if(!Bi){var r6=new kR,n6=function(){var r,e;for(Pi&&(r=Bc.domain)&&r.exit();e=r6.get();)try{e()}catch(t){throw r6.head&&u3(),t}r&&r.enter()};!PR&&!Pi&&!VR&&kc&&Pc?(Vi=!0,Gi=Pc.createTextNode(""),new kc(n6).observe(Gi,{characterData:!0}),u3=function(){Gi.data=Vi=!Vi}):!BR&&e6&&e6.resolve?(t6=e6.resolve(void 0),t6.constructor=e6,Vc=Fc(t6.then,t6),u3=function(){Vc(n6)}):Pi?u3=function(){Bc.nextTick(n6)}:(ki=Fc(ki,l3),u3=function(){ki(n6)}),Bi=function(r){r6.head||u3(),r6.add(r)}}var GR=Bi,UR=function(r,e){try{arguments.length===1?console.error(r):console.error(r,e)}catch{}},c3=function(r){try{return{error:!1,value:r()}}catch(e){return{error:!0,value:e}}},jR=gt,T3=jR.Promise,qR=gt,Tn=T3,YR=Nt,zR=bl,WR=Pl,ZR=Ot,Gc=Di,Ui=A4,Uc=Tn&&Tn.prototype,KR=ZR("species"),ji=!1,jc=YR(qR.PromiseRejectionEvent),XR=zR("Promise",function(){var r=WR(Tn),e=r!==String(Tn);if(!e&&Ui===66||!(Uc.catch&&Uc.finally))return!0;if(!Ui||Ui<51||!/native code/.test(r)){var t=new Tn(function(p){p(1)}),i=function(p){p(function(){},function(){})},Q=t.constructor={};if(Q[KR]=i,ji=t.then(function(){})instanceof i,!ji)return!0}return!e&&(Gc==="BROWSER"||Gc==="DENO")&&!jc}),Qn={CONSTRUCTOR:XR,REJECTION_EVENT:jc,SUBCLASSING:ji},f2={},qc=n1,JR=TypeError,$R=function(r){var e,t;this.promise=new r(function(i,Q){if(e!==void 0||t!==void 0)throw new JR("Bad Promise constructor");e=i,t=Q}),this.resolve=qc(e),this.reject=qc(t)};f2.f=function(r){return new $R(r)};var ew=we,a6=xi,z2=gt,tw=E1,dn=jt,rw=e3,nw=q2,aw=_c,iw=n1,qi=Nt,ow=Wt,sw=Oi,lw=bc,Yc=Rc.set,Yi=GR,uw=UR,cw=c3,Tw=Hc,zc=r3,zi=T3,Wi=Qn,Wc=f2,i6="Promise",Zc=Wi.CONSTRUCTOR,Qw=Wi.REJECTION_EVENT;Wi.SUBCLASSING;var Zi=zc.getterFor(i6),dw=zc.set,pw=zi&&zi.prototype,Q3=zi,Ki=pw,Kc=z2.TypeError,Xi=z2.document,Ji=z2.process,$i=Wc.f,fw=$i,mw=!!(Xi&&Xi.createEvent&&z2.dispatchEvent),Xc="unhandledrejection",hw="rejectionhandled",Jc=0,$c=1,gw=2,eo=1,eT=2,o6,tT,rT,nT=function(r){var e;return ow(r)&&qi(e=r.then)?e:!1},aT=function(r,e){var t=e.value,i=e.state===$c,Q=i?r.ok:r.fail,p=r.resolve,T=r.reject,d=r.domain,c,n,a;try{Q?(i||(e.rejection===eT&&Ew(e),e.rejection=eo),Q===!0?c=t:(d&&d.enter(),c=Q(t),d&&(d.exit(),a=!0)),c===r.promise?T(new Kc("Promise-chain cycle")):(n=nT(c))?dn(n,c,p,T):p(c)):T(t)}catch(s){d&&!a&&d.exit(),T(s)}},iT=function(r,e){r.notified||(r.notified=!0,Yi(function(){for(var t=r.reactions,i;i=t.get();)aT(i,r);r.notified=!1,e&&!r.rejection&&_w(r)}))},oT=function(r,e,t){var i,Q;mw?(i=Xi.createEvent("Event"),i.promise=e,i.reason=t,i.initEvent(r,!1,!0),z2.dispatchEvent(i)):i={promise:e,reason:t},!Qw&&(Q=z2["on"+r])?Q(i):r===Xc&&uw("Unhandled promise rejection",t)},_w=function(r){dn(Yc,z2,function(){var e=r.facade,t=r.value,i=sT(r),Q;if(i&&(Q=cw(function(){a6?Ji.emit("unhandledRejection",t,e):oT(Xc,e,t)}),r.rejection=a6||sT(r)?eT:eo,Q.error))throw Q.value})},sT=function(r){return r.rejection!==eo&&!r.parent},Ew=function(r){dn(Yc,z2,function(){var e=r.facade;a6?Ji.emit("rejectionHandled",e):oT(hw,e,r.value)})},d3=function(r,e,t){return function(i){r(e,i,t)}},p3=function(r,e,t){r.done||(r.done=!0,t&&(r=t),r.value=e,r.state=gw,iT(r,!0))},to=function(r,e,t){if(!r.done){r.done=!0,t&&(r=t);try{if(r.facade===e)throw new Kc("Promise can't be resolved itself");var i=nT(e);i?Yi(function(){var Q={done:!1};try{dn(i,e,d3(to,Q,r),d3(p3,Q,r))}catch(p){p3(Q,p,r)}}):(r.value=e,r.state=$c,iT(r,!1))}catch(Q){p3({done:!1},Q,r)}}};Zc&&(Q3=function(e){sw(this,Ki),iw(e),dn(o6,this);var t=Zi(this);try{e(d3(to,t),d3(p3,t))}catch(i){p3(t,i)}},Ki=Q3.prototype,o6=function(e){dw(this,{type:i6,done:!1,notified:!1,parent:!1,reactions:new Tw,rejection:!1,state:Jc,value:null})},o6.prototype=rw(Ki,"then",function(e,t){var i=Zi(this),Q=$i(lw(this,Q3));return i.parent=!0,Q.ok=qi(e)?e:!0,Q.fail=qi(t)&&t,Q.domain=a6?Ji.domain:void 0,i.state===Jc?i.reactions.add(Q):Yi(function(){aT(Q,i)}),Q.promise}),tT=function(){var r=new o6,e=Zi(r);this.promise=r,this.resolve=d3(to,e),this.reject=d3(p3,e)},Wc.f=$i=function(r){return r===Q3||r===rT?new tT(r):fw(r)}),ew({global:!0,wrap:!0,forced:Zc},{Promise:Q3}),rT=tw.Promise,nw(Q3,i6,!1,!0),aw(i6);var bw=T3,yw=zu,vw=Qn.CONSTRUCTOR,s6=vw||!yw(function(r){bw.all(r).then(void 0,function(){})}),Sw=we,Aw=jt,Lw=n1,Cw=f2,Dw=c3,xw=K1,Ow=s6;Sw({target:"Promise",stat:!0,forced:Ow},{all:function(e){var t=this,i=Cw.f(t),Q=i.resolve,p=i.reject,T=Dw(function(){var d=Lw(t.resolve),c=[],n=0,a=1;xw(e,function(s){var o=n++,u=!1;a++,Aw(d,t,s).then(function(l){u||(u=!0,c[o]=l,--a||Q(c))},p)}),--a||Q(c)});return T.error&&p(T.value),i.promise}});var Mw=we,Nw=Qn.CONSTRUCTOR,lT=T3;lT&&lT.prototype,Mw({target:"Promise",proto:!0,forced:Nw,real:!0},{catch:function(r){return this.then(void 0,r)}});var Rw=we,ww=jt,Iw=n1,Hw=f2,Fw=c3,kw=K1,Pw=s6;Rw({target:"Promise",stat:!0,forced:Pw},{race:function(e){var t=this,i=Hw.f(t),Q=i.reject,p=Fw(function(){var T=Iw(t.resolve);kw(e,function(d){ww(T,t,d).then(i.resolve,Q)})});return p.error&&Q(p.value),i.promise}});var Bw=we,Vw=f2,Gw=Qn.CONSTRUCTOR;Bw({target:"Promise",stat:!0,forced:Gw},{reject:function(e){var t=Vw.f(this),i=t.reject;return i(e),t.promise}});var Uw=L1,jw=Wt,qw=f2,uT=function(r,e){if(Uw(r),jw(e)&&e.constructor===r)return e;var t=qw.f(r),i=t.resolve;return i(e),t.promise},Yw=we,zw=b1,Ww=L4,Zw=T3,Kw=Qn.CONSTRUCTOR,Xw=uT,Jw=zw("Promise"),$w=!Kw;Yw({target:"Promise",stat:!0,forced:Ww},{resolve:function(e){return Xw($w&&this===Jw?Zw:this,e)}});var eI=we,tI=jt,rI=n1,nI=f2,aI=c3,iI=K1,oI=s6;eI({target:"Promise",stat:!0,forced:oI},{allSettled:function(e){var t=this,i=nI.f(t),Q=i.resolve,p=i.reject,T=aI(function(){var d=rI(t.resolve),c=[],n=0,a=1;iI(e,function(s){var o=n++,u=!1;a++,tI(d,t,s).then(function(l){u||(u=!0,c[o]={status:"fulfilled",value:l},--a||Q(c))},function(l){u||(u=!0,c[o]={status:"rejected",reason:l},--a||Q(c))})}),--a||Q(c)});return T.error&&p(T.value),i.promise}});var sI=we,lI=jt,uI=n1,cI=b1,TI=f2,QI=c3,dI=K1,pI=s6,cT="No one promise resolved";sI({target:"Promise",stat:!0,forced:pI},{any:function(e){var t=this,i=cI("AggregateError"),Q=TI.f(t),p=Q.resolve,T=Q.reject,d=QI(function(){var c=uI(t.resolve),n=[],a=0,s=1,o=!1;dI(e,function(u){var l=a++,m=!1;s++,lI(c,t,u).then(function(f){m||o||(o=!0,p(f))},function(f){m||o||(m=!0,n[l]=f,--s||T(new i(n,cT)))})}),--s||T(new i(n,cT))});return d.error&&T(d.value),Q.promise}});var fI=we,mI=gt,hI=G3,gI=ur,_I=f2,EI=n1,TT=c3,ro=mI.Promise,QT=!1,bI=!ro||!ro.try||TT(function(){ro.try(function(r){QT=r===8},8)}).error||!QT;fI({target:"Promise",stat:!0,forced:bI},{try:function(r){var e=arguments.length>1?gI(arguments,1):[],t=_I.f(this),i=TT(function(){return hI(EI(r),void 0,e)});return(i.error?t.reject:t.resolve)(i.value),t.promise}});var yI=we,vI=f2;yI({target:"Promise",stat:!0},{withResolvers:function(){var e=vI.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}});var SI=we,no=T3,AI=ht,LI=b1,CI=Nt,DI=bc,dT=uT,xI=no&&no.prototype,OI=!!no&&AI(function(){xI.finally.call({then:function(){}},function(){})});SI({target:"Promise",proto:!0,real:!0,forced:OI},{finally:function(r){var e=DI(this,LI("Promise")),t=CI(r);return this.then(t?function(i){return dT(e,r()).then(function(){return i})}:r,t?function(i){return dT(e,r()).then(function(){throw i})}:r)}});var MI=E1,NI=MI.Promise,RI=NI,wI=RI,II=wI,HI=II,FI=HI,kI=FI,PI=kI,BI=PI;const ao=Vt(BI);var VI=A2,GI=VI("Array","concat"),UI=k1,jI=GI,io=Array.prototype,qI=function(r){var e=r.concat;return r===io||UI(io,r)&&e===io.concat?jI:e},YI=qI,zI=YI,WI=zI,ZI=WI,KI=ZI,XI=KI,JI=XI,$I=JI;const pT=Vt($I),eH={version:"1.0.1-beta"};var tH=function(){function r(e){var t=this;Du(this,r),this.invokeAPIConfigMapByMethod={},this.platformConfigMap={},this.bridgeInitFnPromise=null,this.env=e,this.exportSdk={version:e.version,sdkVersion:eH.version,env:e,platform:e.platform,ready:function(Q){t.bridgeInitFn().then(function(){Q()})},error:function(Q){va("error")},on:function(Q,p){t.bridgeInitFn().then(function(){t.platformConfigMap[e.platform].event.on(Q,p)})},off:function(Q,p){t.bridgeInitFn().then(function(){t.platformConfigMap[e.platform].event.off(Q,p)})}}}return Cu(r,[{key:"setAPI",value:function(t,i){this.invokeAPIConfigMapByMethod[t]=i}},{key:"setPlatform",value:function(t){var i=t.platform;this.platformConfigMap[i]=t}},{key:"bridgeInitFn",value:function(){if(this.bridgeInitFnPromise)return this.bridgeInitFnPromise;var t=this.platformConfigMap[this.env.platform];if(t)this.bridgeInitFnPromise=t.bridgeInit();else{var i="Do not support the current environment"+this.env.platform;this.bridgeInitFnPromise=ao.reject(new Error(i))}return this.bridgeInitFnPromise}},{key:"_onFail",value:function(t,i,Q,p){p&&typeof p=="function"&&p({code:i,message:Q})}},{key:"invokeAPI",value:function(t,i){var Q;if(i||(i={}),!!t){var p=this.invokeAPIConfigMapByMethod[t];if(!p)return this._onFail(t,"-1","[".concat(t,"] method is not exist"),i.onFail);var T=p[this.env.platform];if(T){var d=T.vs||"0.0.0";if(oN(this.env.version,d)<0){var c;return this._onFail(t,"-1",pT(c="The current application version is ".concat(this.env.version,". This method does not support versions less than ")).call(c,d),i.onFail)}var n=T.paramsDeal?T.paramsDeal(i):i;if(typeof n.onSuccess=="function"){var a=n.onSuccess;n.onSuccess=function(s){a(s)}}console.log("jsbrdige debugger bridgeInitFn: ",this.bridgeInitFn?"run":"not run",t),this.bridgeInitFn&&this.bridgeInitFn().then(function(s){s(t,n).then(function(o){U2("SDK 返回结果成功 ",{method:t,params:n,result:o})}).catch(function(o){U2("SDK 返回结果失败",{method:t,params:n,error:o})})}).catch(function(s){va("sdk err",s)});return}this._onFail(t,"-1",pT(Q="[".concat(t,"] method do not support the current platform (")).call(Q,this.env.platform,")"),i.onFail)}}}])}(),fT=gt,rH=G3,nH=Nt,aH=Di,iH=Yr,oH=ur,sH=yc,lH=fT.Function,uH=/MSIE .\./.test(iH)||aH==="BUN"&&function(){var r=fT.Bun.version.split(".");return r.length<3||r[0]==="0"&&(r[1]<3||r[1]==="3"&&r[2]==="0")}(),mT=function(r,e){var t=e?2:1;return uH?function(i,Q){var p=sH(arguments.length,1)>t,T=nH(i)?i:lH(i),d=p?oH(arguments,t):[],c=p?function(){rH(T,this,d)}:T;return e?r(c,Q):r(c)}:r},cH=we,hT=gt,TH=mT,gT=TH(hT.setInterval,!0);cH({global:!0,bind:!0,forced:hT.setInterval!==gT},{setInterval:gT});var QH=we,_T=gt,dH=mT,ET=dH(_T.setTimeout,!0);QH({global:!0,bind:!0,forced:_T.setTimeout!==ET},{setTimeout:ET});var pH=E1,fH=pH.setTimeout,mH=fH,hH=mH,gH=hH,_H=gH,EH=_H,bH=EH;const yH=Vt(bH);var bT=m1,vH=bt,SH=jt,AH=ht,oo=R4,LH=X3,CH=v4,DH=W1,xH=na,f3=Object.assign,yT=Object.defineProperty,OH=vH([].concat),MH=!f3||AH(function(){if(bT&&f3({b:1},f3(yT({},"a",{enumerable:!0,get:function(){yT(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},e={},t=Symbol("assign detection"),i="abcdefghijklmnopqrst";return r[t]=7,i.split("").forEach(function(Q){e[Q]=Q}),f3({},r)[t]!==7||oo(f3({},e)).join("")!==i})?function(e,t){for(var i=DH(e),Q=arguments.length,p=1,T=LH.f,d=CH.f;Q>p;)for(var c=xH(arguments[p++]),n=T?OH(oo(c),T(c)):oo(c),a=n.length,s=0,o;a>s;)o=n[s++],(!bT||SH(d,c,o))&&(i[o]=c[o]);return i}:f3,NH=we,vT=MH;NH({target:"Object",stat:!0,forced:Object.assign!==vT},{assign:vT});var RH=E1,wH=RH.Object.assign,IH=wH,HH=IH,FH=HH,kH=FH,PH=kH,BH=PH,VH=BH,GH=VH;const UH=Vt(GH);var ST={exports:{}},jH=ht,qH=jH(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}}),YH=ht,zH=Wt,WH=S2,AT=qH,l6=Object.isExtensible,ZH=YH(function(){l6(1)}),KH=ZH||AT?function(e){return!zH(e)||AT&&WH(e)==="ArrayBuffer"?!1:l6?l6(e):!0}:l6,XH=ht,JH=!XH(function(){return Object.isExtensible(Object.preventExtensions({}))}),$H=we,eF=bt,tF=W3,rF=Wt,so=d1,nF=A1.f,LT=K3,aF=ka,lo=KH,iF=C4,oF=JH,CT=!1,x2=iF("meta"),sF=0,uo=function(r){nF(r,x2,{value:{objectID:"O"+sF++,weakData:{}}})},lF=function(r,e){if(!rF(r))return typeof r=="symbol"?r:(typeof r=="string"?"S":"P")+r;if(!so(r,x2)){if(!lo(r))return"F";if(!e)return"E";uo(r)}return r[x2].objectID},uF=function(r,e){if(!so(r,x2)){if(!lo(r))return!0;if(!e)return!1;uo(r)}return r[x2].weakData},cF=function(r){return oF&&CT&&lo(r)&&!so(r,x2)&&uo(r),r},TF=function(){QF.enable=function(){},CT=!0;var r=LT.f,e=eF([].splice),t={};t[x2]=1,r(t).length&&(LT.f=function(i){for(var Q=r(i),p=0,T=Q.length;p<T;p++)if(Q[p]===x2){e(Q,p,1);break}return Q},$H({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:aF.f}))},QF=ST.exports={enable:TF,fastKey:lF,getWeakData:uF,onFreeze:cF};tF[x2]=!0;var DT=ST.exports,dF=we,pF=gt,fF=DT,mF=ht,hF=V2,gF=K1,_F=Oi,EF=Nt,bF=Wt,yF=qr,vF=q2,SF=A1.f,AF=Ua.forEach,LF=m1,xT=r3,CF=xT.set,DF=xT.getterFor,xF=function(r,e,t){var i=r.indexOf("Map")!==-1,Q=r.indexOf("Weak")!==-1,p=i?"set":"add",T=pF[r],d=T&&T.prototype,c={},n;if(!LF||!EF(T)||!(Q||d.forEach&&!mF(function(){new T().entries().next()})))n=t.getConstructor(e,r,i,p),fF.enable();else{n=e(function(o,u){CF(_F(o,a),{type:r,collection:new T}),yF(u)||gF(u,o[p],{that:o,AS_ENTRIES:i})});var a=n.prototype,s=DF(r);AF(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(o){var u=o==="add"||o==="set";o in d&&!(Q&&o==="clear")&&hF(a,o,function(l,m){var f=s(this).collection;if(!u&&Q&&!bF(l))return o==="get"?void 0:!1;var h=f[o](l===0?0:l,m);return u?this:h})}),Q||SF(a,"size",{configurable:!0,get:function(){return s(this).collection.size}})}return vF(n,r,!1,!0),c[r]=n,dF({global:!0,forced:!0},c),Q||t.setStrong(n,r,i),n},OF=e3,MF=function(r,e,t){for(var i in e)t&&t.unsafe&&r[i]?r[i]=e[i]:OF(r,i,e[i],t);return r},OT=Z3,NF=Pa,MT=MF,RF=y1,wF=Oi,IF=qr,HF=K1,FF=li,u6=ui,kF=_c,pn=m1,NT=DT.fastKey,RT=r3,wT=RT.set,co=RT.getterFor,PF={getConstructor:function(r,e,t,i){var Q=r(function(n,a){wF(n,p),wT(n,{type:e,index:OT(null),first:null,last:null,size:0}),pn||(n.size=0),IF(a)||HF(a,n[i],{that:n,AS_ENTRIES:t})}),p=Q.prototype,T=co(e),d=function(n,a,s){var o=T(n),u=c(n,a),l,m;return u?u.value=s:(o.last=u={index:m=NT(a,!0),key:a,value:s,previous:l=o.last,next:null,removed:!1},o.first||(o.first=u),l&&(l.next=u),pn?o.size++:n.size++,m!=="F"&&(o.index[m]=u)),n},c=function(n,a){var s=T(n),o=NT(a),u;if(o!=="F")return s.index[o];for(u=s.first;u;u=u.next)if(u.key===a)return u};return MT(p,{clear:function(){for(var a=this,s=T(a),o=s.first;o;)o.removed=!0,o.previous&&(o.previous=o.previous.next=null),o=o.next;s.first=s.last=null,s.index=OT(null),pn?s.size=0:a.size=0},delete:function(n){var a=this,s=T(a),o=c(a,n);if(o){var u=o.next,l=o.previous;delete s.index[o.index],o.removed=!0,l&&(l.next=u),u&&(u.previous=l),s.first===o&&(s.first=u),s.last===o&&(s.last=l),pn?s.size--:a.size--}return!!o},forEach:function(a){for(var s=T(this),o=RF(a,arguments.length>1?arguments[1]:void 0),u;u=u?u.next:s.first;)for(o(u.value,u.key,this);u&&u.removed;)u=u.previous},has:function(a){return!!c(this,a)}}),MT(p,t?{get:function(a){var s=c(this,a);return s&&s.value},set:function(a,s){return d(this,a===0?0:a,s)}}:{add:function(a){return d(this,a=a===0?0:a,a)}}),pn&&NF(p,"size",{configurable:!0,get:function(){return T(this).size}}),Q},setStrong:function(r,e,t){var i=e+" Iterator",Q=co(e),p=co(i);FF(r,e,function(T,d){wT(this,{type:i,target:T,state:Q(T),kind:d,last:null})},function(){for(var T=p(this),d=T.kind,c=T.last;c&&c.removed;)c=c.previous;return!T.target||!(T.last=c=c?c.next:T.state.first)?(T.target=null,u6(void 0,!0)):u6(d==="keys"?c.key:d==="values"?c.value:[c.key,c.value],!1)},t?"entries":"values",!t,!0),kF(e)}},BF=xF,VF=PF;BF("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},VF);var GF=function(r,e){return e===1?function(t,i){return t[r](i)}:function(t,i,Q){return t[r](i,Q)}},UF=b1,c6=GF,IT=UF("Map"),H1={Map:IT,set:c6("set",2),get:c6("get",1),has:c6("has",1),remove:c6("delete",1),proto:IT.prototype},jF=we,qF=bt,YF=n1,zF=sr,WF=K1,T6=H1,ZF=L4,KF=T6.Map,XF=T6.has,JF=T6.get,$F=T6.set,ek=qF([].push);jF({target:"Map",stat:!0,forced:ZF},{groupBy:function(e,t){zF(e),YF(t);var i=new KF,Q=0;return WF(e,function(p){var T=t(p,Q++);XF(i,T)?ek(JF(i,T),p):$F(i,T,[p])}),i}});var tk=E1,rk=tk.Map,nk=rk,ak=nk,ik=lr,ok=TypeError,h1=function(r){if(typeof r=="object"&&"size"in r&&"has"in r&&"get"in r&&"set"in r&&"delete"in r&&"entries"in r)return r;throw new ok(ik(r)+" is not a map")},sk=we,lk=h1,To=H1,uk=L4,ck=To.get,Tk=To.has,Qk=To.set;sk({target:"Map",proto:!0,real:!0,forced:uk},{getOrInsert:function(e,t){return Tk(lk(this),e)?ck(this,e):(Qk(this,e,t),t)}});var dk=we,pk=n1,fk=h1,Qo=H1,mk=L4,hk=Qo.get,gk=Qo.has,_k=Qo.set;dk({target:"Map",proto:!0,real:!0,forced:mk},{getOrInsertComputed:function(e,t){if(fk(this),pk(t),gk(this,e))return hk(this,e);e===0&&1/e===-1/0&&(e=0);var i=t(e);return _k(this,e,i),i}});var Ek=ak,bk=Ek,yk=y1,vk=L1,Sk=W1,Ak=K1,Lk=function(r,e,t){return function(Q){var p=Sk(Q),T=arguments.length,d=T>1?arguments[1]:void 0,c=d!==void 0,n=c?yk(d,T>2?arguments[2]:void 0):void 0,a=new r,s=0;return Ak(p,function(o){var u=c?n(o,s++):o;t?e(a,vk(u)[0],u[1]):e(a,u)}),a}},Ck=we,HT=H1,Dk=Lk;Ck({target:"Map",stat:!0,forced:!0},{from:Dk(HT.Map,HT.set,!0)});var xk=L1,Ok=function(r,e,t){return function(){for(var Q=new r,p=arguments.length,T=0;T<p;T++){var d=arguments[T];t?e(Q,xk(d)[0],d[1]):e(Q,d)}return Q}},Mk=we,FT=H1,Nk=Ok;Mk({target:"Map",stat:!0,forced:!0},{of:Nk(FT.Map,FT.set,!0)});var Rk=we,wk=jt,Ik=K1,Hk=Nt,kT=n1,Fk=H1.Map;Rk({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var i=Hk(this)?this:Fk,Q=new i;kT(t);var p=kT(Q.set);return Ik(e,function(T){wk(p,Q,t(T),T)}),Q}});var kk=we,Pk=h1,Bk=H1.remove;kk({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e=Pk(this),t=!0,i,Q=0,p=arguments.length;Q<p;Q++)i=Bk(e,arguments[Q]),t=t&&i;return!!t}});var Vk=we,Gk=h1,po=H1,Uk=po.get,jk=po.has,PT=po.set;Vk({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var i=Gk(this),Q,p;return jk(i,e)?(Q=Uk(i,e),"update"in t&&(Q=t.update(Q,e,i),PT(i,e,Q)),Q):(p=t.insert(e,i),PT(i,e,p),p)}});var qk=jt,Yk=function(r,e,t){for(var i=t?r:r.iterator,Q=r.next,p,T;!(p=qk(Q,i)).done;)if(T=e(p.value),T!==void 0)return T},zk=Yk,m2=function(r,e,t){return t?zk(r.entries(),function(i){return e(i[1],i[0])},!0):r.forEach(e)},Wk=we,Zk=y1,Kk=h1,Xk=m2;Wk({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=Kk(this),i=Zk(e,arguments.length>1?arguments[1]:void 0);return Xk(t,function(Q,p){if(!i(Q,p,t))return!1},!0)!==!1}});var Jk=we,$k=y1,eP=h1,BT=H1,tP=m2,rP=BT.Map,nP=BT.set;Jk({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=eP(this),i=$k(e,arguments.length>1?arguments[1]:void 0),Q=new rP;return tP(t,function(p,T){i(p,T,t)&&nP(Q,T,p)}),Q}});var aP=we,iP=y1,oP=h1,sP=m2;aP({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=oP(this),i=iP(e,arguments.length>1?arguments[1]:void 0),Q=sP(t,function(p,T){if(i(p,T,t))return{value:p}},!0);return Q&&Q.value}});var lP=we,uP=y1,cP=h1,TP=m2;lP({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=cP(this),i=uP(e,arguments.length>1?arguments[1]:void 0),Q=TP(t,function(p,T){if(i(p,T,t))return{key:T}},!0);return Q&&Q.key}});var QP=function(r,e){return r===e||r!==r&&e!==e},dP=we,pP=QP,fP=h1,mP=m2;dP({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return mP(fP(this),function(t){if(pP(t,e))return!0},!0)===!0}});var hP=we,gP=h1,_P=m2;hP({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=_P(gP(this),function(i,Q){if(i===e)return{key:Q}},!0);return t&&t.key}});var EP=we,bP=y1,yP=h1,VT=H1,vP=m2,SP=VT.Map,AP=VT.set;EP({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=yP(this),i=bP(e,arguments.length>1?arguments[1]:void 0),Q=new SP;return vP(t,function(p,T){AP(Q,i(p,T,t),p)}),Q}});var LP=we,CP=y1,DP=h1,GT=H1,xP=m2,OP=GT.Map,MP=GT.set;LP({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=DP(this),i=CP(e,arguments.length>1?arguments[1]:void 0),Q=new OP;return xP(t,function(p,T){MP(Q,T,i(p,T,t))}),Q}});var NP=we,RP=h1,wP=K1,IP=H1.set;NP({target:"Map",proto:!0,real:!0,forced:!0},{merge:function(e){for(var t=RP(this),i=arguments.length,Q=0;Q<i;)wP(arguments[Q++],function(p,T){IP(t,p,T)},{AS_ENTRIES:!0});return t}});var HP=we,FP=n1,kP=h1,PP=m2,BP=TypeError;HP({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=kP(this),i=arguments.length<2,Q=i?void 0:arguments[1];if(FP(e),PP(t,function(p,T){i?(i=!1,Q=p):Q=e(Q,p,T,t)}),i)throw new BP("Reduce of empty map with no initial value");return Q}});var VP=we,GP=y1,UP=h1,jP=m2;VP({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=UP(this),i=GP(e,arguments.length>1?arguments[1]:void 0);return jP(t,function(Q,p){if(i(Q,p,t))return!0},!0)===!0}});var qP=we,UT=n1,YP=h1,fo=H1,zP=TypeError,WP=fo.get,ZP=fo.has,KP=fo.set;qP({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var i=YP(this),Q=arguments.length;UT(t);var p=ZP(i,e);if(!p&&Q<3)throw new zP("Updating absent value");var T=p?WP(i,e):UT(Q>2?arguments[2]:void 0)(e,i);return KP(i,e,t(T,e,i)),i}});var Q6=jt,mo=n1,d6=Nt,XP=L1,JP=TypeError,jT=function(e,t){var i=XP(this),Q=mo(i.get),p=mo(i.has),T=mo(i.set),d=arguments.length>2?arguments[2]:void 0,c;if(!d6(t)&&!d6(d))throw new JP("At least one callback required");return Q6(p,i,e)?(c=Q6(Q,i,e),d6(t)&&(c=t(c),Q6(T,i,e,c))):d6(d)&&(c=d(),Q6(T,i,e,c)),c},$P=we,eB=jT;$P({target:"Map",proto:!0,real:!0,forced:!0},{upsert:eB});var tB=we,rB=jT;tB({target:"Map",proto:!0,real:!0,forced:!0},{updateOrInsert:rB});var nB=bk,aB=nB,iB=aB,oB=iB;const sB=Vt(oB);var lB=new sB([[0,"onSuccess"],[-1,"onCancel"],[-2,"onFail"],[-3,"onProgress"],[-4,"onSubmit"]]);function uB(r){return lB.get(r)||"onFail"}var cB=function(){return typeof navigator<"u"?navigator.userAgent:""};function TB(){var r=cB(),e=/Sea/i.test(r),t=/iPhone|iPad|iPod|iOS/i.test(r)&&e,i=/Android/i.test(r)&&e;return{inSea:e,inIOS:t,inAndroid:i}}function qT(r){if(window.WebViewJavascriptBridge)return r(WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(r);var e=TB();if(e.inAndroid){document.addEventListener("WebViewJavascriptBridgeReady",function(){r(WebViewJavascriptBridge)},!1);return}window.WVJBCallbacks=[r];var t=document.createElement("iframe");t.style.display="none",t.src="https://__bridge_loaded__",document.documentElement.appendChild(t),yH(function(){document.documentElement.removeChild(t)},0)}var QB=function(){return new ao(function(e,t){qT(function(i){i.init&&i.init(function(){return console.log("WebViewJavascriptBridge.init")}),U2("注册sendMsgCommon事件"),i.registerHandler("sendMsgCommon",function(Q){U2("sendMsgCommon ",{resData:Q}),Ei.execEvent("sendMsgCommon",Q)}),e(!0)})})},dB=function(e,t){return new ao(function(i,Q){var p=UH({},t);qT(function(T){T.callHandler(e,t,function(d){try{d=JSON.parse(d)}catch{U2("JSON.parse string:",d)}var c=d,n=c.code,a=c.message,s=c.data,o=nc(n),u=uB(o);o===-2&&(U2("SDK执行后回调,相关参数 ",{method:e,param:t,data:s,_code:o,message:a}),Q({_code:o,message:a}));var l=p[u];U2("SDK执行后回调,相关参数 ",{method:e,param:t,data:s,_code:o,message:a,callbackFun:l}),typeof l=="function"&&l(s||a),i({_code:o,message:a,data:s})})})})},YT=fg(),pB=YT.platform,p6=new tH(YT);function fB(){try{var r=function(){return QB().then(function(){return dB})},e={platform:pB,bridgeInit:r,event:{on:function(i,Q){Ei.on(i,Q)},off:function(i,Q){Ei.off(i,Q)}}};p6.setPlatform(e)}catch(t){va("initSdk error",t)}}fB();var zT="0.0.0",mB={ios:{vs:zT},android:{vs:zT}};function st(r,e){var t=e.params,i=t===void 0?{}:t,Q=e.platform,p=Q===void 0?mB:Q;p6.setAPI(r,p),p6.invokeAPI(r,i)}var hB="biz_navigation_setTitle";function gB(r){st(hB,{params:r})}var _B="biz_navigation_close";function EB(r){st(_B,{params:r})}var bB="biz_action_closeDevicePage";function yB(r){st(bB,{params:r})}var vB="biz_navigation_goBack",SB={vs:"0.0.0"},AB={vs:"0.0.0"},LB={ios:SB,android:AB};function CB(r){U2("biz.navigation.goBack",r),st(vB,{params:r,platform:LB})}var DB="biz_telephone_call",xB={vs:"0.0.0"},OB={vs:"0.0.0"},MB={ios:xB,android:OB};function NB(r){st(DB,{params:r,platform:MB})}var RB="biz_notification_toast";function wB(r){st(RB,{params:r})}var IB="biz_notification_confirm";function HB(r){st(IB,{params:r})}var FB="biz_notification_single_confirm";function kB(r){st(FB,{params:r})}var PB="biz_notification_showPreloader",BB={vs:"0.0.0"},VB={vs:"0.0.0"},GB={ios:BB,android:VB};function UB(r){st(PB,{params:r,platform:GB})}var jB="biz_navigation_setType";function qB(r){st(jB,{params:r})}var YB="biz_system_bar_change";function zB(r){st(YB,{params:r})}var WB="biz_system_logout";function ZB(r){st(WB,{params:r})}var KB="biz_system_logger";function XB(r){st(KB,{params:r})}var JB="biz_network_checkNetworkStatus";function $B(r){st(JB,{params:r})}var eV="biz_media_audioSource",tV={vs:"0.0.0"},rV={vs:"0.0.0"},nV={ios:tV,android:rV};function aV(r){st(eV,{params:r,platform:nV})}var iV="biz_media_audioCtrl",oV={vs:"0.0.0"},sV={vs:"0.0.0"},lV={ios:oV,android:sV};function uV(r){st(iV,{params:r,platform:lV})}var cV="biz_permission_requestToken",TV={vs:"0.0.0"},QV={vs:"0.0.0"},dV={ios:TV,android:QV};function pV(r){st(cV,{params:r,platform:dV})}var fV="biz_permission_environment",mV={vs:"0.0.0"},hV={vs:"0.0.0"},gV={ios:mV,android:hV};function _V(r){st(fV,{params:r,platform:gV})}var EV="biz_action_changePad";function bV(r){st(EV,{params:r})}var yV="biz_action_closeLoading";function vV(r){st(yV,{params:r})}var SV="biz_action_selectedPad";function AV(r){st(SV,{params:r})}var LV="biz_action_refreshMain";function CV(r){st(LV,{params:r})}var DV="biz_action_openWebview";function xV(r){st(DV,{params:r})}var OV="biz_action_closeSkeleton";function MV(r){st(OV,{params:r})}var NV="biz_action_cameraPermission";function RV(r){st(NV,{params:r})}var wV="biz_action_hideAppTransitionPage";function IV(r){st(wV,{params:r})}var HV="biz_action_appBackBtnVisible";function FV(r){st(HV,{params:r})}var kV="biz_record_start";function PV(r){st(kV,{params:r})}var BV="biz_record_stop";function VV(r){st(BV,{params:r})}var GV="biz_notifications_confirm";function UV(r){st(GV,{params:r})}var jV="biz_notification_subscribe";function qV(r){st(jV,{params:r})}var YV="biz_eventTracker_event";function zV(r){st(YV,{params:r})}var WV="biz_util_open";function ZV(r){st(WV,{params:r})}var KV="biz_util_safe";function XV(r){st(KV,{params:r})}var JV="biz_utils_getMMKV";function $V(r){st(JV,{params:r})}var eG="biz_utils_setMMKV";function tG(r){st(eG,{params:r})}var W2=p6.exportSdk,rG=W2.version,nG=W2.sdkVersion,aG=W2.env,iG=W2.platform,oG=W2.ready,sG=W2.error,lG=W2.on,uG=W2.off;const f6={version:rG,sdkVersion:nG,env:aG,platform:iG,ready:oG,error:sG,on:lG,off:uG,biz:{telephone:{call:NB},navigation:{setTitle:gB,close:EB,closeDevice:yB,goBack:CB,setType:qB},notification:{toast:wB,confirm:HB,singleConfirm:kB,showPreloader:UB,subscribeResult:qV},media:{audioSource:aV,audioCtrl:uV},permission:{requestToken:pV,environment:_V},action:{changePad:bV,closeLoading:vV,selectedPad:AV,refreshMain:CV,openWebview:xV,closeSkeleton:MV,cameraPermission:RV,hideAppTransitionPage:IV,appBackBtnVisible:FV},asr:{recordStart:PV,recordStop:VV},system:{barChange:zB,logout:ZB,logger:XB},util:{open:ZV,safe:XV},utils:{getMMKV:$V,setMMKV:tG},network:{checkNetworkStatus:$B},notifications:{dialogue:UV},eventTracker:{event:zV}}},cG=()=>{f6.biz.navigation.close()},TG=()=>null;let fn=null;const WT=r=>{const t=JSON.parse('{"busKey":"biz_question_info","code":0,"data":{"content":"Darren bought 140 basketballs for the school teams.He gave $$ \\frac { 4 } { 7 } $$ of the basketballs to the boys team and $$ \\frac { 7 } { 1 2 } $$ of the remainder to the girlsteam The rest of the balls were then kept in the storeroom for P. E. classes.How many basketballs were kept for P.E. classes?Answer: basketballs.","envNumber":0,"imagePath":"https://kjdsfz-cdn.thethinkacademy.com/thinksnap/20251121/1763733021540nxcBr7W2vO.jpg","ocrText":"Darren bought 140 basketballs for the school teams.He gave $$ \\frac { 4 } { 7 } $$ of the basketballs to the boys team and $$ \\frac { 7 } { 1 2 } $$ of the remainder to the girlsteam The rest of the balls were then kept in the storeroom for P. E. classes.How many basketballs were kept for P.E. classes?Answer: basketballs.","questionId":"1","sessionId":"","similarity":0.0,"talId":"","pkgName": "snapThink"},"message":""}');r(t.data),fn=i=>{console.log("[Bridge] ✅ 收到 sendMsgCommon 消息:",i);const Q=JSON.parse(i);Q.busKey==="biz_question_info"&&r(Q.data)},f6.on("sendMsgCommon",fn)},ZT=()=>{fn&&(f6.off("sendMsgCommon",fn),fn=null)},QG=()=>{f6.biz.action.closeLoading()};function KT(r,e){return function(){return r.apply(e,arguments)}}const{toString:dG}=Object.prototype,{getPrototypeOf:ho}=Object,{iterator:m6,toStringTag:XT}=Symbol,h6=(r=>e=>{const t=dG.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),X1=r=>(r=r.toLowerCase(),e=>h6(e)===r),g6=r=>e=>typeof e===r,{isArray:m3}=Array,h3=g6("undefined");function mn(r){return r!==null&&!h3(r)&&r.constructor!==null&&!h3(r.constructor)&&D1(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const JT=X1("ArrayBuffer");function pG(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&JT(r.buffer),e}const fG=g6("string"),D1=g6("function"),$T=g6("number"),hn=r=>r!==null&&typeof r=="object",mG=r=>r===!0||r===!1,_6=r=>{if(h6(r)!=="object")return!1;const e=ho(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(XT in r)&&!(m6 in r)},hG=r=>{if(!hn(r)||mn(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},gG=X1("Date"),_G=X1("File"),EG=X1("Blob"),bG=X1("FileList"),yG=r=>hn(r)&&D1(r.pipe),vG=r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||D1(r.append)&&((e=h6(r))==="formdata"||e==="object"&&D1(r.toString)&&r.toString()==="[object FormData]"))},SG=X1("URLSearchParams"),[AG,LG,CG,DG]=["ReadableStream","Request","Response","Headers"].map(X1),xG=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gn(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let i,Q;if(typeof r!="object"&&(r=[r]),m3(r))for(i=0,Q=r.length;i<Q;i++)e.call(null,r[i],i,r);else{if(mn(r))return;const p=t?Object.getOwnPropertyNames(r):Object.keys(r),T=p.length;let d;for(i=0;i<T;i++)d=p[i],e.call(null,r[d],d,r)}}function eQ(r,e){if(mn(r))return null;e=e.toLowerCase();const t=Object.keys(r);let i=t.length,Q;for(;i-- >0;)if(Q=t[i],e===Q.toLowerCase())return Q;return null}const pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tQ=r=>!h3(r)&&r!==pr;function go(){const{caseless:r,skipUndefined:e}=tQ(this)&&this||{},t={},i=(Q,p)=>{const T=r&&eQ(t,p)||p;_6(t[T])&&_6(Q)?t[T]=go(t[T],Q):_6(Q)?t[T]=go({},Q):m3(Q)?t[T]=Q.slice():(!e||!h3(Q))&&(t[T]=Q)};for(let Q=0,p=arguments.length;Q<p;Q++)arguments[Q]&&gn(arguments[Q],i);return t}const OG=(r,e,t,{allOwnKeys:i}={})=>(gn(e,(Q,p)=>{t&&D1(Q)?r[p]=KT(Q,t):r[p]=Q},{allOwnKeys:i}),r),MG=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),NG=(r,e,t,i)=>{r.prototype=Object.create(e.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},RG=(r,e,t,i)=>{let Q,p,T;const d={};if(e=e||{},r==null)return e;do{for(Q=Object.getOwnPropertyNames(r),p=Q.length;p-- >0;)T=Q[p],(!i||i(T,r,e))&&!d[T]&&(e[T]=r[T],d[T]=!0);r=t!==!1&&ho(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},wG=(r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;const i=r.indexOf(e,t);return i!==-1&&i===t},IG=r=>{if(!r)return null;if(m3(r))return r;let e=r.length;if(!$T(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},HG=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&ho(Uint8Array)),FG=(r,e)=>{const i=(r&&r[m6]).call(r);let Q;for(;(Q=i.next())&&!Q.done;){const p=Q.value;e.call(r,p[0],p[1])}},kG=(r,e)=>{let t;const i=[];for(;(t=r.exec(e))!==null;)i.push(t);return i},PG=X1("HTMLFormElement"),BG=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,i,Q){return i.toUpperCase()+Q}),rQ=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),VG=X1("RegExp"),nQ=(r,e)=>{const t=Object.getOwnPropertyDescriptors(r),i={};gn(t,(Q,p)=>{let T;(T=e(Q,p,r))!==!1&&(i[p]=T||Q)}),Object.defineProperties(r,i)},GG=r=>{nQ(r,(e,t)=>{if(D1(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=r[t];if(D1(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},UG=(r,e)=>{const t={},i=Q=>{Q.forEach(p=>{t[p]=!0})};return m3(r)?i(r):i(String(r).split(e)),t},jG=()=>{},qG=(r,e)=>r!=null&&Number.isFinite(r=+r)?r:e;function YG(r){return!!(r&&D1(r.append)&&r[XT]==="FormData"&&r[m6])}const zG=r=>{const e=new Array(10),t=(i,Q)=>{if(hn(i)){if(e.indexOf(i)>=0)return;if(mn(i))return i;if(!("toJSON"in i)){e[Q]=i;const p=m3(i)?[]:{};return gn(i,(T,d)=>{const c=t(T,Q+1);!h3(c)&&(p[d]=c)}),e[Q]=void 0,p}}return i};return t(r,0)},WG=X1("AsyncFunction"),ZG=r=>r&&(hn(r)||D1(r))&&D1(r.then)&&D1(r.catch),aQ=((r,e)=>r?setImmediate:e?((t,i)=>(pr.addEventListener("message",({source:Q,data:p})=>{Q===pr&&p===t&&i.length&&i.shift()()},!1),Q=>{i.push(Q),pr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",D1(pr.postMessage)),KG=typeof queueMicrotask<"u"?queueMicrotask.bind(pr):typeof process<"u"&&process.nextTick||aQ,oe={isArray:m3,isArrayBuffer:JT,isBuffer:mn,isFormData:vG,isArrayBufferView:pG,isString:fG,isNumber:$T,isBoolean:mG,isObject:hn,isPlainObject:_6,isEmptyObject:hG,isReadableStream:AG,isRequest:LG,isResponse:CG,isHeaders:DG,isUndefined:h3,isDate:gG,isFile:_G,isBlob:EG,isRegExp:VG,isFunction:D1,isStream:yG,isURLSearchParams:SG,isTypedArray:HG,isFileList:bG,forEach:gn,merge:go,extend:OG,trim:xG,stripBOM:MG,inherits:NG,toFlatObject:RG,kindOf:h6,kindOfTest:X1,endsWith:wG,toArray:IG,forEachEntry:FG,matchAll:kG,isHTMLForm:PG,hasOwnProperty:rQ,hasOwnProp:rQ,reduceDescriptors:nQ,freezeMethods:GG,toObjectSet:UG,toCamelCase:BG,noop:jG,toFiniteNumber:qG,findKey:eQ,global:pr,isContextDefined:tQ,isSpecCompliantForm:YG,toJSONObject:zG,isAsyncFn:WG,isThenable:ZG,setImmediate:aQ,asap:KG,isIterable:r=>r!=null&&D1(r[m6])};function rt(r,e,t,i,Q){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),i&&(this.request=i),Q&&(this.response=Q,this.status=Q.status?Q.status:null)}oe.inherits(rt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const iQ=rt.prototype,oQ={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{oQ[r]={value:r}}),Object.defineProperties(rt,oQ),Object.defineProperty(iQ,"isAxiosError",{value:!0}),rt.from=(r,e,t,i,Q,p)=>{const T=Object.create(iQ);oe.toFlatObject(r,T,function(a){return a!==Error.prototype},n=>n!=="isAxiosError");const d=r&&r.message?r.message:"Error",c=e==null&&r?r.code:e;return rt.call(T,d,c,t,i,Q),r&&T.cause==null&&Object.defineProperty(T,"cause",{value:r,configurable:!0}),T.name=r&&r.name||"Error",p&&Object.assign(T,p),T};const XG=null;function _o(r){return oe.isPlainObject(r)||oe.isArray(r)}function sQ(r){return oe.endsWith(r,"[]")?r.slice(0,-2):r}function lQ(r,e,t){return r?r.concat(e).map(function(Q,p){return Q=sQ(Q),!t&&p?"["+Q+"]":Q}).join(t?".":""):e}function JG(r){return oe.isArray(r)&&!r.some(_o)}const $G=oe.toFlatObject(oe,{},null,function(e){return/^is[A-Z]/.test(e)});function E6(r,e,t){if(!oe.isObject(r))throw new TypeError("target must be an object");e=e||new FormData,t=oe.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,f){return!oe.isUndefined(f[m])});const i=t.metaTokens,Q=t.visitor||a,p=t.dots,T=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(e);if(!oe.isFunction(Q))throw new TypeError("visitor must be a function");function n(l){if(l===null)return"";if(oe.isDate(l))return l.toISOString();if(oe.isBoolean(l))return l.toString();if(!c&&oe.isBlob(l))throw new rt("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(l)||oe.isTypedArray(l)?c&&typeof Blob=="function"?new Blob([l]):Buffer.from(l):l}function a(l,m,f){let h=l;if(l&&!f&&typeof l=="object"){if(oe.endsWith(m,"{}"))m=i?m:m.slice(0,-2),l=JSON.stringify(l);else if(oe.isArray(l)&&JG(l)||(oe.isFileList(l)||oe.endsWith(m,"[]"))&&(h=oe.toArray(l)))return m=sQ(m),h.forEach(function(_,g){!(oe.isUndefined(_)||_===null)&&e.append(T===!0?lQ([m],g,p):T===null?m:m+"[]",n(_))}),!1}return _o(l)?!0:(e.append(lQ(f,m,p),n(l)),!1)}const s=[],o=Object.assign($G,{defaultVisitor:a,convertValue:n,isVisitable:_o});function u(l,m){if(!oe.isUndefined(l)){if(s.indexOf(l)!==-1)throw Error("Circular reference detected in "+m.join("."));s.push(l),oe.forEach(l,function(h,E){(!(oe.isUndefined(h)||h===null)&&Q.call(e,h,oe.isString(E)?E.trim():E,m,o))===!0&&u(h,m?m.concat(E):[E])}),s.pop()}}if(!oe.isObject(r))throw new TypeError("data must be an object");return u(r),e}function uQ(r){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function Eo(r,e){this._pairs=[],r&&E6(r,this,e)}const cQ=Eo.prototype;cQ.append=function(e,t){this._pairs.push([e,t])},cQ.toString=function(e){const t=e?function(i){return e.call(this,i,uQ)}:uQ;return this._pairs.map(function(Q){return t(Q[0])+"="+t(Q[1])},"").join("&")};function eU(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function TQ(r,e,t){if(!e)return r;const i=t&&t.encode||eU;oe.isFunction(t)&&(t={serialize:t});const Q=t&&t.serialize;let p;if(Q?p=Q(e,t):p=oe.isURLSearchParams(e)?e.toString():new Eo(e,t).toString(i),p){const T=r.indexOf("#");T!==-1&&(r=r.slice(0,T)),r+=(r.indexOf("?")===-1?"?":"&")+p}return r}class QQ{constructor(){this.handlers=[]}use(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){oe.forEach(this.handlers,function(i){i!==null&&e(i)})}}const dQ={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tU={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Eo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},bo=typeof window<"u"&&typeof document<"u",yo=typeof navigator=="object"&&navigator||void 0,rU=bo&&(!yo||["ReactNative","NativeScript","NS"].indexOf(yo.product)<0),nU=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",aU=bo&&window.location.href||"http://localhost",g1={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bo,hasStandardBrowserEnv:rU,hasStandardBrowserWebWorkerEnv:nU,navigator:yo,origin:aU},Symbol.toStringTag,{value:"Module"})),...tU};function iU(r,e){return E6(r,new g1.classes.URLSearchParams,{visitor:function(t,i,Q,p){return g1.isNode&&oe.isBuffer(t)?(this.append(i,t.toString("base64")),!1):p.defaultVisitor.apply(this,arguments)},...e})}function oU(r){return oe.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}function sU(r){const e={},t=Object.keys(r);let i;const Q=t.length;let p;for(i=0;i<Q;i++)p=t[i],e[p]=r[p];return e}function pQ(r){function e(t,i,Q,p){let T=t[p++];if(T==="__proto__")return!0;const d=Number.isFinite(+T),c=p>=t.length;return T=!T&&oe.isArray(Q)?Q.length:T,c?(oe.hasOwnProp(Q,T)?Q[T]=[Q[T],i]:Q[T]=i,!d):((!Q[T]||!oe.isObject(Q[T]))&&(Q[T]=[]),e(t,i,Q[T],p)&&oe.isArray(Q[T])&&(Q[T]=sU(Q[T])),!d)}if(oe.isFormData(r)&&oe.isFunction(r.entries)){const t={};return oe.forEachEntry(r,(i,Q)=>{e(oU(i),Q,t,0)}),t}return null}function lU(r,e,t){if(oe.isString(r))try{return(e||JSON.parse)(r),oe.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(r)}const _n={transitional:dQ,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const i=t.getContentType()||"",Q=i.indexOf("application/json")>-1,p=oe.isObject(e);if(p&&oe.isHTMLForm(e)&&(e=new FormData(e)),oe.isFormData(e))return Q?JSON.stringify(pQ(e)):e;if(oe.isArrayBuffer(e)||oe.isBuffer(e)||oe.isStream(e)||oe.isFile(e)||oe.isBlob(e)||oe.isReadableStream(e))return e;if(oe.isArrayBufferView(e))return e.buffer;if(oe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(p){if(i.indexOf("application/x-www-form-urlencoded")>-1)return iU(e,this.formSerializer).toString();if((d=oe.isFileList(e))||i.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return E6(d?{"files[]":e}:e,c&&new c,this.formSerializer)}}return p||Q?(t.setContentType("application/json",!1),lU(e)):e}],transformResponse:[function(e){const t=this.transitional||_n.transitional,i=t&&t.forcedJSONParsing,Q=this.responseType==="json";if(oe.isResponse(e)||oe.isReadableStream(e))return e;if(e&&oe.isString(e)&&(i&&!this.responseType||Q)){const T=!(t&&t.silentJSONParsing)&&Q;try{return JSON.parse(e,this.parseReviver)}catch(d){if(T)throw d.name==="SyntaxError"?rt.from(d,rt.ERR_BAD_RESPONSE,this,null,this.response):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:g1.classes.FormData,Blob:g1.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],r=>{_n.headers[r]={}});const uU=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cU=r=>{const e={};let t,i,Q;return r&&r.split(`
3167
+ \v\f\r                 \u2028\u2029\uFEFF`,zO=bt,WO=sr,ZO=L2,Si=Zu,Ku=zO("".replace),KO=RegExp("^["+Si+"]+"),XO=RegExp("(^|[^"+Si+"])["+Si+"]+$"),JO=function(r){return function(e){var t=ZO(WO(e));return r&1&&(t=Ku(t,KO,"")),r&2&&(t=Ku(t,XO,"$1")),t}},$O={trim:JO(3)},Xu=gt,eM=ht,tM=bt,rM=L2,nM=$O.trim,Ju=Zu,sn=Xu.parseInt,$u=Xu.Symbol,ec=$u&&$u.iterator,tc=/^[+-]?0x/i,aM=tM(tc.exec),iM=sn(Ju+"08")!==8||sn(Ju+"0x16")!==22||ec&&!eM(function(){sn(Object(ec))}),oM=iM?function(e,t){var i=nM(rM(e));return sn(i,t>>>0||(aM(tc,i)?16:10))}:sn,sM=we,rc=oM;sM({global:!0,forced:parseInt!==rc},{parseInt:rc});var lM=E1,uM=lM.parseInt,cM=uM,TM=cM,QM=TM,dM=QM,pM=dM,fM=pM,mM=fM,hM=mM;const nc=Vt(hM);var gM=we,_M=W1,ac=R4,EM=ht,bM=EM(function(){ac(1)});gM({target:"Object",stat:!0,forced:bM},{keys:function(e){return ac(_M(e))}});var yM=E1,vM=yM.Object.keys,SM=vM,AM=SM,LM=AM,CM=LM,DM=CM,xM=DM,OM=xM,MM=OM;const NM=Vt(MM);var RM=we,wM=Na.includes,IM=ht,HM=IM(function(){return!Array(1).includes()});RM({target:"Array",proto:!0,forced:HM},{includes:function(e){return wM(this,e,arguments.length>1?arguments[1]:void 0)}});var FM=A2;FM("Array","includes");var kM=Wt,PM=S2,BM=Ot,VM=BM("match"),GM=function(r){var e;return kM(r)&&((e=r[VM])!==void 0?!!e:PM(r)==="RegExp")},UM=GM,jM=TypeError,qM=function(r){if(UM(r))throw new jM("The method doesn't accept regular expressions");return r},YM=Ot,zM=YM("match"),WM=function(r){var e=/./;try{"/./"[r](e)}catch{try{return e[zM]=!1,"/./"[r](e)}catch{}}return!1},ZM=we,KM=bt,XM=qM,JM=sr,ic=L2,$M=WM,eN=KM("".indexOf);ZM({target:"String",proto:!0,forced:!$M("includes")},{includes:function(e){return!!~eN(ic(JM(this)),ic(XM(e)),arguments.length>1?arguments[1]:void 0)}});var tN=A2;tN("String","includes");var rN=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,oc=function(e){if(typeof e!="string")throw new TypeError("Invalid argument expected string");var t=e.match(rN);if(!t)throw new Error("Invalid argument not valid semver ('".concat(e,"' received)"));return t.shift(),t},sc=function(e){return e==="*"||e==="x"||e==="X"},lc=function(e){var t=nc(e,10);return isNaN(t)?e:t},nN=function(e,t){return Qr(e)!==Qr(t)?[String(e),String(t)]:[e,t]},aN=function(e,t){if(sc(e)||sc(t))return 0;var i=nN(lc(e),lc(t)),Q=YO(i,2),p=Q[0],T=Q[1];return p>T?1:p<T?-1:0},uc=function(e,t){for(var i=0;i<Math.max(e.length,t.length);i++){var Q=aN(e[i]||"0",t[i]||"0");if(Q!==0)return Q}return 0},iN={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};NM(iN);var oN=function(e,t){var i=oc(e),Q=oc(t),p=i.pop(),T=Q.pop(),d=uc(i,Q);return d!==0?d:p&&T?uc(p.split("."),T.split(".")):p||T?p?-1:1:0},sN=b1,lN=bt,uN=K3,cN=X3,TN=L1,QN=lN([].concat),dN=sN("Reflect","ownKeys")||function(e){var t=uN.f(TN(e)),i=cN.f;return i?QN(t,i(e)):t},cc=d1,pN=dN,fN=b4,mN=A1,hN=function(r,e,t){for(var i=pN(e),Q=mN.f,p=fN.f,T=0;T<i.length;T++){var d=i[T];!cc(r,d)&&!(t&&cc(t,d))&&Q(r,d,p(e,d))}},gN=Wt,_N=V2,EN=function(r,e){gN(e)&&"cause"in e&&_N(r,"cause",e.cause)},bN=bt,Tc=Error,yN=bN("".replace),vN=function(r){return String(new Tc(r).stack)}("zxcasd"),Qc=/\n\s*at [^:]*:[^\n]*/,SN=Qc.test(vN),AN=function(r,e){if(SN&&typeof r=="string"&&!Tc.prepareStackTrace)for(;e--;)r=yN(r,Qc,"");return r},LN=ht,CN=or,DN=!LN(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",CN(1,7)),r.stack!==7):!0}),xN=V2,ON=AN,MN=DN,dc=Error.captureStackTrace,NN=function(r,e,t,i){MN&&(dc?dc(r,e):xN(r,"stack",ON(t,i)))},RN=y1,wN=jt,IN=L1,HN=lr,FN=Bu,kN=j2,pc=k1,PN=Vu,BN=Z4,fc=Pu,VN=TypeError,K4=function(r,e){this.stopped=r,this.result=e},mc=K4.prototype,K1=function(r,e,t){var i=t&&t.that,Q=!!(t&&t.AS_ENTRIES),p=!!(t&&t.IS_RECORD),T=!!(t&&t.IS_ITERATOR),d=!!(t&&t.INTERRUPTED),c=RN(e,i),n,a,s,o,u,l,m,f=function(E){return n&&fc(n,"normal"),new K4(!0,E)},h=function(E){return Q?(IN(E),d?c(E[0],E[1],f):c(E[0],E[1])):d?c(E,f):c(E)};if(p)n=r.iterator;else if(T)n=r;else{if(a=BN(r),!a)throw new VN(HN(r)+" is not iterable");if(FN(a)){for(s=0,o=kN(r);o>s;s++)if(u=h(r[s]),u&&pc(mc,u))return u;return new K4(!1)}n=PN(r,a)}for(l=p?r.next:n.next;!(m=wN(l,n)).done;){try{u=h(m.value)}catch(E){fc(n,"throw",E)}if(typeof u=="object"&&u&&pc(mc,u))return u}return new K4(!1)},GN=L2,UN=function(r,e){return r===void 0?arguments.length<2?"":e:GN(r)},jN=we,qN=k1,YN=ni,X4=wA,zN=hN,hc=Z3,Ai=V2,Li=or,WN=EN,ZN=NN,KN=K1,XN=UN,JN=Ot,$N=JN("toStringTag"),J4=Error,eR=[].push,s3=function(e,t){var i=qN(Ci,this),Q;X4?Q=X4(new J4,i?YN(this):Ci):(Q=i?this:hc(Ci),Ai(Q,$N,"Error")),t!==void 0&&Ai(Q,"message",XN(t)),ZN(Q,s3,Q.stack,1),arguments.length>2&&WN(Q,arguments[2]);var p=[];return KN(e,eR,{that:p}),Ai(Q,"errors",p),Q};X4?X4(s3,J4):zN(s3,J4,{name:!0});var Ci=s3.prototype=hc(J4.prototype,{constructor:Li(1,s3),message:Li(1,""),name:Li(1,"AggregateError")});jN({global:!0},{AggregateError:s3});var ln=gt,tR=Yr,rR=S2,$4=function(r){return tR.slice(0,r.length)===r},Di=function(){return $4("Bun/")?"BUN":$4("Cloudflare-Workers")?"CLOUDFLARE":$4("Deno/")?"DENO":$4("Node.js/")?"NODE":ln.Bun&&typeof Bun.version=="string"?"BUN":ln.Deno&&typeof Deno.version=="object"?"DENO":rR(ln.process)==="process"?"NODE":ln.window&&ln.document?"BROWSER":"REST"}(),nR=Di,xi=nR==="NODE",aR=b1,iR=Pa,oR=Ot,sR=m1,gc=oR("species"),_c=function(r){var e=aR(r);sR&&e&&!e[gc]&&iR(e,gc,{configurable:!0,get:function(){return this}})},lR=k1,uR=TypeError,Oi=function(r,e){if(lR(e,r))return r;throw new uR("Incorrect invocation")},cR=N4,TR=lr,QR=TypeError,dR=function(r){if(cR(r))return r;throw new QR(TR(r)+" is not a constructor")},Ec=L1,pR=dR,fR=qr,mR=Ot,hR=mR("species"),bc=function(r,e){var t=Ec(r).constructor,i;return t===void 0||fR(i=Ec(t)[hR])?e:pR(i)},gR=TypeError,yc=function(r,e){if(r<e)throw new gR("Not enough arguments");return r},_R=Yr,vc=/(?:ipad|iphone|ipod).*applewebkit/i.test(_R),I1=gt,ER=G3,bR=y1,Sc=Nt,yR=d1,Ac=ht,Lc=Jl,vR=ur,Cc=fa,SR=yc,AR=vc,LR=xi,Mi=I1.setImmediate,Dc=I1.clearImmediate,CR=I1.process,Ni=I1.Dispatch,DR=I1.Function,xc=I1.MessageChannel,xR=I1.String,Ri=0,un={},Oc="onreadystatechange",cn,dr,wi,Ii;Ac(function(){cn=I1.location});var Hi=function(r){if(yR(un,r)){var e=un[r];delete un[r],e()}},Fi=function(r){return function(){Hi(r)}},Mc=function(r){Hi(r.data)},Nc=function(r){I1.postMessage(xR(r),cn.protocol+"//"+cn.host)};(!Mi||!Dc)&&(Mi=function(e){SR(arguments.length,1);var t=Sc(e)?e:DR(e),i=vR(arguments,1);return un[++Ri]=function(){ER(t,void 0,i)},dr(Ri),Ri},Dc=function(e){delete un[e]},LR?dr=function(r){CR.nextTick(Fi(r))}:Ni&&Ni.now?dr=function(r){Ni.now(Fi(r))}:xc&&!AR?(wi=new xc,Ii=wi.port2,wi.port1.onmessage=Mc,dr=bR(Ii.postMessage,Ii)):I1.addEventListener&&Sc(I1.postMessage)&&!I1.importScripts&&cn&&cn.protocol!=="file:"&&!Ac(Nc)?(dr=Nc,I1.addEventListener("message",Mc,!1)):Oc in Cc("script")?dr=function(r){Lc.appendChild(Cc("script"))[Oc]=function(){Lc.removeChild(this),Hi(r)}}:dr=function(r){setTimeout(Fi(r),0)});var Rc={set:Mi},wc=gt,OR=m1,MR=Object.getOwnPropertyDescriptor,NR=function(r){if(!OR)return wc[r];var e=MR(wc,r);return e&&e.value},Ic=function(){this.head=null,this.tail=null};Ic.prototype={add:function(r){var e={item:r,next:null},t=this.tail;t?t.next=e:this.head=e,this.tail=e},get:function(){var r=this.head;if(r){var e=this.head=r.next;return e===null&&(this.tail=null),r.item}}};var Hc=Ic,RR=Yr,wR=/ipad|iphone|ipod/i.test(RR)&&typeof Pebble<"u",IR=Yr,HR=/web0s(?!.*chrome)/i.test(IR),l3=gt,FR=NR,Fc=y1,ki=Rc.set,kR=Hc,PR=vc,BR=wR,VR=HR,Pi=xi,kc=l3.MutationObserver||l3.WebKitMutationObserver,Pc=l3.document,Bc=l3.process,e6=l3.Promise,Bi=FR("queueMicrotask"),u3,Vi,Gi,t6,Vc;if(!Bi){var r6=new kR,n6=function(){var r,e;for(Pi&&(r=Bc.domain)&&r.exit();e=r6.get();)try{e()}catch(t){throw r6.head&&u3(),t}r&&r.enter()};!PR&&!Pi&&!VR&&kc&&Pc?(Vi=!0,Gi=Pc.createTextNode(""),new kc(n6).observe(Gi,{characterData:!0}),u3=function(){Gi.data=Vi=!Vi}):!BR&&e6&&e6.resolve?(t6=e6.resolve(void 0),t6.constructor=e6,Vc=Fc(t6.then,t6),u3=function(){Vc(n6)}):Pi?u3=function(){Bc.nextTick(n6)}:(ki=Fc(ki,l3),u3=function(){ki(n6)}),Bi=function(r){r6.head||u3(),r6.add(r)}}var GR=Bi,UR=function(r,e){try{arguments.length===1?console.error(r):console.error(r,e)}catch{}},c3=function(r){try{return{error:!1,value:r()}}catch(e){return{error:!0,value:e}}},jR=gt,T3=jR.Promise,qR=gt,Tn=T3,YR=Nt,zR=bl,WR=Pl,ZR=Ot,Gc=Di,Ui=A4,Uc=Tn&&Tn.prototype,KR=ZR("species"),ji=!1,jc=YR(qR.PromiseRejectionEvent),XR=zR("Promise",function(){var r=WR(Tn),e=r!==String(Tn);if(!e&&Ui===66||!(Uc.catch&&Uc.finally))return!0;if(!Ui||Ui<51||!/native code/.test(r)){var t=new Tn(function(p){p(1)}),i=function(p){p(function(){},function(){})},Q=t.constructor={};if(Q[KR]=i,ji=t.then(function(){})instanceof i,!ji)return!0}return!e&&(Gc==="BROWSER"||Gc==="DENO")&&!jc}),Qn={CONSTRUCTOR:XR,REJECTION_EVENT:jc,SUBCLASSING:ji},f2={},qc=n1,JR=TypeError,$R=function(r){var e,t;this.promise=new r(function(i,Q){if(e!==void 0||t!==void 0)throw new JR("Bad Promise constructor");e=i,t=Q}),this.resolve=qc(e),this.reject=qc(t)};f2.f=function(r){return new $R(r)};var ew=we,a6=xi,z2=gt,tw=E1,dn=jt,rw=e3,nw=q2,aw=_c,iw=n1,qi=Nt,ow=Wt,sw=Oi,lw=bc,Yc=Rc.set,Yi=GR,uw=UR,cw=c3,Tw=Hc,zc=r3,zi=T3,Wi=Qn,Wc=f2,i6="Promise",Zc=Wi.CONSTRUCTOR,Qw=Wi.REJECTION_EVENT;Wi.SUBCLASSING;var Zi=zc.getterFor(i6),dw=zc.set,pw=zi&&zi.prototype,Q3=zi,Ki=pw,Kc=z2.TypeError,Xi=z2.document,Ji=z2.process,$i=Wc.f,fw=$i,mw=!!(Xi&&Xi.createEvent&&z2.dispatchEvent),Xc="unhandledrejection",hw="rejectionhandled",Jc=0,$c=1,gw=2,eo=1,eT=2,o6,tT,rT,nT=function(r){var e;return ow(r)&&qi(e=r.then)?e:!1},aT=function(r,e){var t=e.value,i=e.state===$c,Q=i?r.ok:r.fail,p=r.resolve,T=r.reject,d=r.domain,c,n,a;try{Q?(i||(e.rejection===eT&&Ew(e),e.rejection=eo),Q===!0?c=t:(d&&d.enter(),c=Q(t),d&&(d.exit(),a=!0)),c===r.promise?T(new Kc("Promise-chain cycle")):(n=nT(c))?dn(n,c,p,T):p(c)):T(t)}catch(s){d&&!a&&d.exit(),T(s)}},iT=function(r,e){r.notified||(r.notified=!0,Yi(function(){for(var t=r.reactions,i;i=t.get();)aT(i,r);r.notified=!1,e&&!r.rejection&&_w(r)}))},oT=function(r,e,t){var i,Q;mw?(i=Xi.createEvent("Event"),i.promise=e,i.reason=t,i.initEvent(r,!1,!0),z2.dispatchEvent(i)):i={promise:e,reason:t},!Qw&&(Q=z2["on"+r])?Q(i):r===Xc&&uw("Unhandled promise rejection",t)},_w=function(r){dn(Yc,z2,function(){var e=r.facade,t=r.value,i=sT(r),Q;if(i&&(Q=cw(function(){a6?Ji.emit("unhandledRejection",t,e):oT(Xc,e,t)}),r.rejection=a6||sT(r)?eT:eo,Q.error))throw Q.value})},sT=function(r){return r.rejection!==eo&&!r.parent},Ew=function(r){dn(Yc,z2,function(){var e=r.facade;a6?Ji.emit("rejectionHandled",e):oT(hw,e,r.value)})},d3=function(r,e,t){return function(i){r(e,i,t)}},p3=function(r,e,t){r.done||(r.done=!0,t&&(r=t),r.value=e,r.state=gw,iT(r,!0))},to=function(r,e,t){if(!r.done){r.done=!0,t&&(r=t);try{if(r.facade===e)throw new Kc("Promise can't be resolved itself");var i=nT(e);i?Yi(function(){var Q={done:!1};try{dn(i,e,d3(to,Q,r),d3(p3,Q,r))}catch(p){p3(Q,p,r)}}):(r.value=e,r.state=$c,iT(r,!1))}catch(Q){p3({done:!1},Q,r)}}};Zc&&(Q3=function(e){sw(this,Ki),iw(e),dn(o6,this);var t=Zi(this);try{e(d3(to,t),d3(p3,t))}catch(i){p3(t,i)}},Ki=Q3.prototype,o6=function(e){dw(this,{type:i6,done:!1,notified:!1,parent:!1,reactions:new Tw,rejection:!1,state:Jc,value:null})},o6.prototype=rw(Ki,"then",function(e,t){var i=Zi(this),Q=$i(lw(this,Q3));return i.parent=!0,Q.ok=qi(e)?e:!0,Q.fail=qi(t)&&t,Q.domain=a6?Ji.domain:void 0,i.state===Jc?i.reactions.add(Q):Yi(function(){aT(Q,i)}),Q.promise}),tT=function(){var r=new o6,e=Zi(r);this.promise=r,this.resolve=d3(to,e),this.reject=d3(p3,e)},Wc.f=$i=function(r){return r===Q3||r===rT?new tT(r):fw(r)}),ew({global:!0,wrap:!0,forced:Zc},{Promise:Q3}),rT=tw.Promise,nw(Q3,i6,!1,!0),aw(i6);var bw=T3,yw=zu,vw=Qn.CONSTRUCTOR,s6=vw||!yw(function(r){bw.all(r).then(void 0,function(){})}),Sw=we,Aw=jt,Lw=n1,Cw=f2,Dw=c3,xw=K1,Ow=s6;Sw({target:"Promise",stat:!0,forced:Ow},{all:function(e){var t=this,i=Cw.f(t),Q=i.resolve,p=i.reject,T=Dw(function(){var d=Lw(t.resolve),c=[],n=0,a=1;xw(e,function(s){var o=n++,u=!1;a++,Aw(d,t,s).then(function(l){u||(u=!0,c[o]=l,--a||Q(c))},p)}),--a||Q(c)});return T.error&&p(T.value),i.promise}});var Mw=we,Nw=Qn.CONSTRUCTOR,lT=T3;lT&&lT.prototype,Mw({target:"Promise",proto:!0,forced:Nw,real:!0},{catch:function(r){return this.then(void 0,r)}});var Rw=we,ww=jt,Iw=n1,Hw=f2,Fw=c3,kw=K1,Pw=s6;Rw({target:"Promise",stat:!0,forced:Pw},{race:function(e){var t=this,i=Hw.f(t),Q=i.reject,p=Fw(function(){var T=Iw(t.resolve);kw(e,function(d){ww(T,t,d).then(i.resolve,Q)})});return p.error&&Q(p.value),i.promise}});var Bw=we,Vw=f2,Gw=Qn.CONSTRUCTOR;Bw({target:"Promise",stat:!0,forced:Gw},{reject:function(e){var t=Vw.f(this),i=t.reject;return i(e),t.promise}});var Uw=L1,jw=Wt,qw=f2,uT=function(r,e){if(Uw(r),jw(e)&&e.constructor===r)return e;var t=qw.f(r),i=t.resolve;return i(e),t.promise},Yw=we,zw=b1,Ww=L4,Zw=T3,Kw=Qn.CONSTRUCTOR,Xw=uT,Jw=zw("Promise"),$w=!Kw;Yw({target:"Promise",stat:!0,forced:Ww},{resolve:function(e){return Xw($w&&this===Jw?Zw:this,e)}});var eI=we,tI=jt,rI=n1,nI=f2,aI=c3,iI=K1,oI=s6;eI({target:"Promise",stat:!0,forced:oI},{allSettled:function(e){var t=this,i=nI.f(t),Q=i.resolve,p=i.reject,T=aI(function(){var d=rI(t.resolve),c=[],n=0,a=1;iI(e,function(s){var o=n++,u=!1;a++,tI(d,t,s).then(function(l){u||(u=!0,c[o]={status:"fulfilled",value:l},--a||Q(c))},function(l){u||(u=!0,c[o]={status:"rejected",reason:l},--a||Q(c))})}),--a||Q(c)});return T.error&&p(T.value),i.promise}});var sI=we,lI=jt,uI=n1,cI=b1,TI=f2,QI=c3,dI=K1,pI=s6,cT="No one promise resolved";sI({target:"Promise",stat:!0,forced:pI},{any:function(e){var t=this,i=cI("AggregateError"),Q=TI.f(t),p=Q.resolve,T=Q.reject,d=QI(function(){var c=uI(t.resolve),n=[],a=0,s=1,o=!1;dI(e,function(u){var l=a++,m=!1;s++,lI(c,t,u).then(function(f){m||o||(o=!0,p(f))},function(f){m||o||(m=!0,n[l]=f,--s||T(new i(n,cT)))})}),--s||T(new i(n,cT))});return d.error&&T(d.value),Q.promise}});var fI=we,mI=gt,hI=G3,gI=ur,_I=f2,EI=n1,TT=c3,ro=mI.Promise,QT=!1,bI=!ro||!ro.try||TT(function(){ro.try(function(r){QT=r===8},8)}).error||!QT;fI({target:"Promise",stat:!0,forced:bI},{try:function(r){var e=arguments.length>1?gI(arguments,1):[],t=_I.f(this),i=TT(function(){return hI(EI(r),void 0,e)});return(i.error?t.reject:t.resolve)(i.value),t.promise}});var yI=we,vI=f2;yI({target:"Promise",stat:!0},{withResolvers:function(){var e=vI.f(this);return{promise:e.promise,resolve:e.resolve,reject:e.reject}}});var SI=we,no=T3,AI=ht,LI=b1,CI=Nt,DI=bc,dT=uT,xI=no&&no.prototype,OI=!!no&&AI(function(){xI.finally.call({then:function(){}},function(){})});SI({target:"Promise",proto:!0,real:!0,forced:OI},{finally:function(r){var e=DI(this,LI("Promise")),t=CI(r);return this.then(t?function(i){return dT(e,r()).then(function(){return i})}:r,t?function(i){return dT(e,r()).then(function(){throw i})}:r)}});var MI=E1,NI=MI.Promise,RI=NI,wI=RI,II=wI,HI=II,FI=HI,kI=FI,PI=kI,BI=PI;const ao=Vt(BI);var VI=A2,GI=VI("Array","concat"),UI=k1,jI=GI,io=Array.prototype,qI=function(r){var e=r.concat;return r===io||UI(io,r)&&e===io.concat?jI:e},YI=qI,zI=YI,WI=zI,ZI=WI,KI=ZI,XI=KI,JI=XI,$I=JI;const pT=Vt($I),eH={version:"1.0.1-beta"};var tH=function(){function r(e){var t=this;Du(this,r),this.invokeAPIConfigMapByMethod={},this.platformConfigMap={},this.bridgeInitFnPromise=null,this.env=e,this.exportSdk={version:e.version,sdkVersion:eH.version,env:e,platform:e.platform,ready:function(Q){t.bridgeInitFn().then(function(){Q()})},error:function(Q){va("error")},on:function(Q,p){t.bridgeInitFn().then(function(){t.platformConfigMap[e.platform].event.on(Q,p)})},off:function(Q,p){t.bridgeInitFn().then(function(){t.platformConfigMap[e.platform].event.off(Q,p)})}}}return Cu(r,[{key:"setAPI",value:function(t,i){this.invokeAPIConfigMapByMethod[t]=i}},{key:"setPlatform",value:function(t){var i=t.platform;this.platformConfigMap[i]=t}},{key:"bridgeInitFn",value:function(){if(this.bridgeInitFnPromise)return this.bridgeInitFnPromise;var t=this.platformConfigMap[this.env.platform];if(t)this.bridgeInitFnPromise=t.bridgeInit();else{var i="Do not support the current environment"+this.env.platform;this.bridgeInitFnPromise=ao.reject(new Error(i))}return this.bridgeInitFnPromise}},{key:"_onFail",value:function(t,i,Q,p){p&&typeof p=="function"&&p({code:i,message:Q})}},{key:"invokeAPI",value:function(t,i){var Q;if(i||(i={}),!!t){var p=this.invokeAPIConfigMapByMethod[t];if(!p)return this._onFail(t,"-1","[".concat(t,"] method is not exist"),i.onFail);var T=p[this.env.platform];if(T){var d=T.vs||"0.0.0";if(oN(this.env.version,d)<0){var c;return this._onFail(t,"-1",pT(c="The current application version is ".concat(this.env.version,". This method does not support versions less than ")).call(c,d),i.onFail)}var n=T.paramsDeal?T.paramsDeal(i):i;if(typeof n.onSuccess=="function"){var a=n.onSuccess;n.onSuccess=function(s){a(s)}}console.log("jsbrdige debugger bridgeInitFn: ",this.bridgeInitFn?"run":"not run",t),this.bridgeInitFn&&this.bridgeInitFn().then(function(s){s(t,n).then(function(o){U2("SDK 返回结果成功 ",{method:t,params:n,result:o})}).catch(function(o){U2("SDK 返回结果失败",{method:t,params:n,error:o})})}).catch(function(s){va("sdk err",s)});return}this._onFail(t,"-1",pT(Q="[".concat(t,"] method do not support the current platform (")).call(Q,this.env.platform,")"),i.onFail)}}}])}(),fT=gt,rH=G3,nH=Nt,aH=Di,iH=Yr,oH=ur,sH=yc,lH=fT.Function,uH=/MSIE .\./.test(iH)||aH==="BUN"&&function(){var r=fT.Bun.version.split(".");return r.length<3||r[0]==="0"&&(r[1]<3||r[1]==="3"&&r[2]==="0")}(),mT=function(r,e){var t=e?2:1;return uH?function(i,Q){var p=sH(arguments.length,1)>t,T=nH(i)?i:lH(i),d=p?oH(arguments,t):[],c=p?function(){rH(T,this,d)}:T;return e?r(c,Q):r(c)}:r},cH=we,hT=gt,TH=mT,gT=TH(hT.setInterval,!0);cH({global:!0,bind:!0,forced:hT.setInterval!==gT},{setInterval:gT});var QH=we,_T=gt,dH=mT,ET=dH(_T.setTimeout,!0);QH({global:!0,bind:!0,forced:_T.setTimeout!==ET},{setTimeout:ET});var pH=E1,fH=pH.setTimeout,mH=fH,hH=mH,gH=hH,_H=gH,EH=_H,bH=EH;const yH=Vt(bH);var bT=m1,vH=bt,SH=jt,AH=ht,oo=R4,LH=X3,CH=v4,DH=W1,xH=na,f3=Object.assign,yT=Object.defineProperty,OH=vH([].concat),MH=!f3||AH(function(){if(bT&&f3({b:1},f3(yT({},"a",{enumerable:!0,get:function(){yT(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var r={},e={},t=Symbol("assign detection"),i="abcdefghijklmnopqrst";return r[t]=7,i.split("").forEach(function(Q){e[Q]=Q}),f3({},r)[t]!==7||oo(f3({},e)).join("")!==i})?function(e,t){for(var i=DH(e),Q=arguments.length,p=1,T=LH.f,d=CH.f;Q>p;)for(var c=xH(arguments[p++]),n=T?OH(oo(c),T(c)):oo(c),a=n.length,s=0,o;a>s;)o=n[s++],(!bT||SH(d,c,o))&&(i[o]=c[o]);return i}:f3,NH=we,vT=MH;NH({target:"Object",stat:!0,forced:Object.assign!==vT},{assign:vT});var RH=E1,wH=RH.Object.assign,IH=wH,HH=IH,FH=HH,kH=FH,PH=kH,BH=PH,VH=BH,GH=VH;const UH=Vt(GH);var ST={exports:{}},jH=ht,qH=jH(function(){if(typeof ArrayBuffer=="function"){var r=new ArrayBuffer(8);Object.isExtensible(r)&&Object.defineProperty(r,"a",{value:8})}}),YH=ht,zH=Wt,WH=S2,AT=qH,l6=Object.isExtensible,ZH=YH(function(){l6(1)}),KH=ZH||AT?function(e){return!zH(e)||AT&&WH(e)==="ArrayBuffer"?!1:l6?l6(e):!0}:l6,XH=ht,JH=!XH(function(){return Object.isExtensible(Object.preventExtensions({}))}),$H=we,eF=bt,tF=W3,rF=Wt,so=d1,nF=A1.f,LT=K3,aF=ka,lo=KH,iF=C4,oF=JH,CT=!1,x2=iF("meta"),sF=0,uo=function(r){nF(r,x2,{value:{objectID:"O"+sF++,weakData:{}}})},lF=function(r,e){if(!rF(r))return typeof r=="symbol"?r:(typeof r=="string"?"S":"P")+r;if(!so(r,x2)){if(!lo(r))return"F";if(!e)return"E";uo(r)}return r[x2].objectID},uF=function(r,e){if(!so(r,x2)){if(!lo(r))return!0;if(!e)return!1;uo(r)}return r[x2].weakData},cF=function(r){return oF&&CT&&lo(r)&&!so(r,x2)&&uo(r),r},TF=function(){QF.enable=function(){},CT=!0;var r=LT.f,e=eF([].splice),t={};t[x2]=1,r(t).length&&(LT.f=function(i){for(var Q=r(i),p=0,T=Q.length;p<T;p++)if(Q[p]===x2){e(Q,p,1);break}return Q},$H({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:aF.f}))},QF=ST.exports={enable:TF,fastKey:lF,getWeakData:uF,onFreeze:cF};tF[x2]=!0;var DT=ST.exports,dF=we,pF=gt,fF=DT,mF=ht,hF=V2,gF=K1,_F=Oi,EF=Nt,bF=Wt,yF=qr,vF=q2,SF=A1.f,AF=Ua.forEach,LF=m1,xT=r3,CF=xT.set,DF=xT.getterFor,xF=function(r,e,t){var i=r.indexOf("Map")!==-1,Q=r.indexOf("Weak")!==-1,p=i?"set":"add",T=pF[r],d=T&&T.prototype,c={},n;if(!LF||!EF(T)||!(Q||d.forEach&&!mF(function(){new T().entries().next()})))n=t.getConstructor(e,r,i,p),fF.enable();else{n=e(function(o,u){CF(_F(o,a),{type:r,collection:new T}),yF(u)||gF(u,o[p],{that:o,AS_ENTRIES:i})});var a=n.prototype,s=DF(r);AF(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(o){var u=o==="add"||o==="set";o in d&&!(Q&&o==="clear")&&hF(a,o,function(l,m){var f=s(this).collection;if(!u&&Q&&!bF(l))return o==="get"?void 0:!1;var h=f[o](l===0?0:l,m);return u?this:h})}),Q||SF(a,"size",{configurable:!0,get:function(){return s(this).collection.size}})}return vF(n,r,!1,!0),c[r]=n,dF({global:!0,forced:!0},c),Q||t.setStrong(n,r,i),n},OF=e3,MF=function(r,e,t){for(var i in e)t&&t.unsafe&&r[i]?r[i]=e[i]:OF(r,i,e[i],t);return r},OT=Z3,NF=Pa,MT=MF,RF=y1,wF=Oi,IF=qr,HF=K1,FF=li,u6=ui,kF=_c,pn=m1,NT=DT.fastKey,RT=r3,wT=RT.set,co=RT.getterFor,PF={getConstructor:function(r,e,t,i){var Q=r(function(n,a){wF(n,p),wT(n,{type:e,index:OT(null),first:null,last:null,size:0}),pn||(n.size=0),IF(a)||HF(a,n[i],{that:n,AS_ENTRIES:t})}),p=Q.prototype,T=co(e),d=function(n,a,s){var o=T(n),u=c(n,a),l,m;return u?u.value=s:(o.last=u={index:m=NT(a,!0),key:a,value:s,previous:l=o.last,next:null,removed:!1},o.first||(o.first=u),l&&(l.next=u),pn?o.size++:n.size++,m!=="F"&&(o.index[m]=u)),n},c=function(n,a){var s=T(n),o=NT(a),u;if(o!=="F")return s.index[o];for(u=s.first;u;u=u.next)if(u.key===a)return u};return MT(p,{clear:function(){for(var a=this,s=T(a),o=s.first;o;)o.removed=!0,o.previous&&(o.previous=o.previous.next=null),o=o.next;s.first=s.last=null,s.index=OT(null),pn?s.size=0:a.size=0},delete:function(n){var a=this,s=T(a),o=c(a,n);if(o){var u=o.next,l=o.previous;delete s.index[o.index],o.removed=!0,l&&(l.next=u),u&&(u.previous=l),s.first===o&&(s.first=u),s.last===o&&(s.last=l),pn?s.size--:a.size--}return!!o},forEach:function(a){for(var s=T(this),o=RF(a,arguments.length>1?arguments[1]:void 0),u;u=u?u.next:s.first;)for(o(u.value,u.key,this);u&&u.removed;)u=u.previous},has:function(a){return!!c(this,a)}}),MT(p,t?{get:function(a){var s=c(this,a);return s&&s.value},set:function(a,s){return d(this,a===0?0:a,s)}}:{add:function(a){return d(this,a=a===0?0:a,a)}}),pn&&NF(p,"size",{configurable:!0,get:function(){return T(this).size}}),Q},setStrong:function(r,e,t){var i=e+" Iterator",Q=co(e),p=co(i);FF(r,e,function(T,d){wT(this,{type:i,target:T,state:Q(T),kind:d,last:null})},function(){for(var T=p(this),d=T.kind,c=T.last;c&&c.removed;)c=c.previous;return!T.target||!(T.last=c=c?c.next:T.state.first)?(T.target=null,u6(void 0,!0)):u6(d==="keys"?c.key:d==="values"?c.value:[c.key,c.value],!1)},t?"entries":"values",!t,!0),kF(e)}},BF=xF,VF=PF;BF("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},VF);var GF=function(r,e){return e===1?function(t,i){return t[r](i)}:function(t,i,Q){return t[r](i,Q)}},UF=b1,c6=GF,IT=UF("Map"),H1={Map:IT,set:c6("set",2),get:c6("get",1),has:c6("has",1),remove:c6("delete",1),proto:IT.prototype},jF=we,qF=bt,YF=n1,zF=sr,WF=K1,T6=H1,ZF=L4,KF=T6.Map,XF=T6.has,JF=T6.get,$F=T6.set,ek=qF([].push);jF({target:"Map",stat:!0,forced:ZF},{groupBy:function(e,t){zF(e),YF(t);var i=new KF,Q=0;return WF(e,function(p){var T=t(p,Q++);XF(i,T)?ek(JF(i,T),p):$F(i,T,[p])}),i}});var tk=E1,rk=tk.Map,nk=rk,ak=nk,ik=lr,ok=TypeError,h1=function(r){if(typeof r=="object"&&"size"in r&&"has"in r&&"get"in r&&"set"in r&&"delete"in r&&"entries"in r)return r;throw new ok(ik(r)+" is not a map")},sk=we,lk=h1,To=H1,uk=L4,ck=To.get,Tk=To.has,Qk=To.set;sk({target:"Map",proto:!0,real:!0,forced:uk},{getOrInsert:function(e,t){return Tk(lk(this),e)?ck(this,e):(Qk(this,e,t),t)}});var dk=we,pk=n1,fk=h1,Qo=H1,mk=L4,hk=Qo.get,gk=Qo.has,_k=Qo.set;dk({target:"Map",proto:!0,real:!0,forced:mk},{getOrInsertComputed:function(e,t){if(fk(this),pk(t),gk(this,e))return hk(this,e);e===0&&1/e===-1/0&&(e=0);var i=t(e);return _k(this,e,i),i}});var Ek=ak,bk=Ek,yk=y1,vk=L1,Sk=W1,Ak=K1,Lk=function(r,e,t){return function(Q){var p=Sk(Q),T=arguments.length,d=T>1?arguments[1]:void 0,c=d!==void 0,n=c?yk(d,T>2?arguments[2]:void 0):void 0,a=new r,s=0;return Ak(p,function(o){var u=c?n(o,s++):o;t?e(a,vk(u)[0],u[1]):e(a,u)}),a}},Ck=we,HT=H1,Dk=Lk;Ck({target:"Map",stat:!0,forced:!0},{from:Dk(HT.Map,HT.set,!0)});var xk=L1,Ok=function(r,e,t){return function(){for(var Q=new r,p=arguments.length,T=0;T<p;T++){var d=arguments[T];t?e(Q,xk(d)[0],d[1]):e(Q,d)}return Q}},Mk=we,FT=H1,Nk=Ok;Mk({target:"Map",stat:!0,forced:!0},{of:Nk(FT.Map,FT.set,!0)});var Rk=we,wk=jt,Ik=K1,Hk=Nt,kT=n1,Fk=H1.Map;Rk({target:"Map",stat:!0,forced:!0},{keyBy:function(e,t){var i=Hk(this)?this:Fk,Q=new i;kT(t);var p=kT(Q.set);return Ik(e,function(T){wk(p,Q,t(T),T)}),Q}});var kk=we,Pk=h1,Bk=H1.remove;kk({target:"Map",proto:!0,real:!0,forced:!0},{deleteAll:function(){for(var e=Pk(this),t=!0,i,Q=0,p=arguments.length;Q<p;Q++)i=Bk(e,arguments[Q]),t=t&&i;return!!t}});var Vk=we,Gk=h1,po=H1,Uk=po.get,jk=po.has,PT=po.set;Vk({target:"Map",proto:!0,real:!0,forced:!0},{emplace:function(e,t){var i=Gk(this),Q,p;return jk(i,e)?(Q=Uk(i,e),"update"in t&&(Q=t.update(Q,e,i),PT(i,e,Q)),Q):(p=t.insert(e,i),PT(i,e,p),p)}});var qk=jt,Yk=function(r,e,t){for(var i=t?r:r.iterator,Q=r.next,p,T;!(p=qk(Q,i)).done;)if(T=e(p.value),T!==void 0)return T},zk=Yk,m2=function(r,e,t){return t?zk(r.entries(),function(i){return e(i[1],i[0])},!0):r.forEach(e)},Wk=we,Zk=y1,Kk=h1,Xk=m2;Wk({target:"Map",proto:!0,real:!0,forced:!0},{every:function(e){var t=Kk(this),i=Zk(e,arguments.length>1?arguments[1]:void 0);return Xk(t,function(Q,p){if(!i(Q,p,t))return!1},!0)!==!1}});var Jk=we,$k=y1,eP=h1,BT=H1,tP=m2,rP=BT.Map,nP=BT.set;Jk({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var t=eP(this),i=$k(e,arguments.length>1?arguments[1]:void 0),Q=new rP;return tP(t,function(p,T){i(p,T,t)&&nP(Q,T,p)}),Q}});var aP=we,iP=y1,oP=h1,sP=m2;aP({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var t=oP(this),i=iP(e,arguments.length>1?arguments[1]:void 0),Q=sP(t,function(p,T){if(i(p,T,t))return{value:p}},!0);return Q&&Q.value}});var lP=we,uP=y1,cP=h1,TP=m2;lP({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var t=cP(this),i=uP(e,arguments.length>1?arguments[1]:void 0),Q=TP(t,function(p,T){if(i(p,T,t))return{key:T}},!0);return Q&&Q.key}});var QP=function(r,e){return r===e||r!==r&&e!==e},dP=we,pP=QP,fP=h1,mP=m2;dP({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return mP(fP(this),function(t){if(pP(t,e))return!0},!0)===!0}});var hP=we,gP=h1,_P=m2;hP({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){var t=_P(gP(this),function(i,Q){if(i===e)return{key:Q}},!0);return t&&t.key}});var EP=we,bP=y1,yP=h1,VT=H1,vP=m2,SP=VT.Map,AP=VT.set;EP({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var t=yP(this),i=bP(e,arguments.length>1?arguments[1]:void 0),Q=new SP;return vP(t,function(p,T){AP(Q,i(p,T,t),p)}),Q}});var LP=we,CP=y1,DP=h1,GT=H1,xP=m2,OP=GT.Map,MP=GT.set;LP({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var t=DP(this),i=CP(e,arguments.length>1?arguments[1]:void 0),Q=new OP;return xP(t,function(p,T){MP(Q,T,i(p,T,t))}),Q}});var NP=we,RP=h1,wP=K1,IP=H1.set;NP({target:"Map",proto:!0,real:!0,forced:!0},{merge:function(e){for(var t=RP(this),i=arguments.length,Q=0;Q<i;)wP(arguments[Q++],function(p,T){IP(t,p,T)},{AS_ENTRIES:!0});return t}});var HP=we,FP=n1,kP=h1,PP=m2,BP=TypeError;HP({target:"Map",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=kP(this),i=arguments.length<2,Q=i?void 0:arguments[1];if(FP(e),PP(t,function(p,T){i?(i=!1,Q=p):Q=e(Q,p,T,t)}),i)throw new BP("Reduce of empty map with no initial value");return Q}});var VP=we,GP=y1,UP=h1,jP=m2;VP({target:"Map",proto:!0,real:!0,forced:!0},{some:function(e){var t=UP(this),i=GP(e,arguments.length>1?arguments[1]:void 0);return jP(t,function(Q,p){if(i(Q,p,t))return!0},!0)===!0}});var qP=we,UT=n1,YP=h1,fo=H1,zP=TypeError,WP=fo.get,ZP=fo.has,KP=fo.set;qP({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,t){var i=YP(this),Q=arguments.length;UT(t);var p=ZP(i,e);if(!p&&Q<3)throw new zP("Updating absent value");var T=p?WP(i,e):UT(Q>2?arguments[2]:void 0)(e,i);return KP(i,e,t(T,e,i)),i}});var Q6=jt,mo=n1,d6=Nt,XP=L1,JP=TypeError,jT=function(e,t){var i=XP(this),Q=mo(i.get),p=mo(i.has),T=mo(i.set),d=arguments.length>2?arguments[2]:void 0,c;if(!d6(t)&&!d6(d))throw new JP("At least one callback required");return Q6(p,i,e)?(c=Q6(Q,i,e),d6(t)&&(c=t(c),Q6(T,i,e,c))):d6(d)&&(c=d(),Q6(T,i,e,c)),c},$P=we,eB=jT;$P({target:"Map",proto:!0,real:!0,forced:!0},{upsert:eB});var tB=we,rB=jT;tB({target:"Map",proto:!0,real:!0,forced:!0},{updateOrInsert:rB});var nB=bk,aB=nB,iB=aB,oB=iB;const sB=Vt(oB);var lB=new sB([[0,"onSuccess"],[-1,"onCancel"],[-2,"onFail"],[-3,"onProgress"],[-4,"onSubmit"]]);function uB(r){return lB.get(r)||"onFail"}var cB=function(){return typeof navigator<"u"?navigator.userAgent:""};function TB(){var r=cB(),e=/Sea/i.test(r),t=/iPhone|iPad|iPod|iOS/i.test(r)&&e,i=/Android/i.test(r)&&e;return{inSea:e,inIOS:t,inAndroid:i}}function qT(r){if(window.WebViewJavascriptBridge)return r(WebViewJavascriptBridge);if(window.WVJBCallbacks)return window.WVJBCallbacks.push(r);var e=TB();if(e.inAndroid){document.addEventListener("WebViewJavascriptBridgeReady",function(){r(WebViewJavascriptBridge)},!1);return}window.WVJBCallbacks=[r];var t=document.createElement("iframe");t.style.display="none",t.src="https://__bridge_loaded__",document.documentElement.appendChild(t),yH(function(){document.documentElement.removeChild(t)},0)}var QB=function(){return new ao(function(e,t){qT(function(i){i.init&&i.init(function(){return console.log("WebViewJavascriptBridge.init")}),U2("注册sendMsgCommon事件"),i.registerHandler("sendMsgCommon",function(Q){U2("sendMsgCommon ",{resData:Q}),Ei.execEvent("sendMsgCommon",Q)}),e(!0)})})},dB=function(e,t){return new ao(function(i,Q){var p=UH({},t);qT(function(T){T.callHandler(e,t,function(d){try{d=JSON.parse(d)}catch{U2("JSON.parse string:",d)}var c=d,n=c.code,a=c.message,s=c.data,o=nc(n),u=uB(o);o===-2&&(U2("SDK执行后回调,相关参数 ",{method:e,param:t,data:s,_code:o,message:a}),Q({_code:o,message:a}));var l=p[u];U2("SDK执行后回调,相关参数 ",{method:e,param:t,data:s,_code:o,message:a,callbackFun:l}),typeof l=="function"&&l(s||a),i({_code:o,message:a,data:s})})})})},YT=fg(),pB=YT.platform,p6=new tH(YT);function fB(){try{var r=function(){return QB().then(function(){return dB})},e={platform:pB,bridgeInit:r,event:{on:function(i,Q){Ei.on(i,Q)},off:function(i,Q){Ei.off(i,Q)}}};p6.setPlatform(e)}catch(t){va("initSdk error",t)}}fB();var zT="0.0.0",mB={ios:{vs:zT},android:{vs:zT}};function st(r,e){var t=e.params,i=t===void 0?{}:t,Q=e.platform,p=Q===void 0?mB:Q;p6.setAPI(r,p),p6.invokeAPI(r,i)}var hB="biz_navigation_setTitle";function gB(r){st(hB,{params:r})}var _B="biz_navigation_close";function EB(r){st(_B,{params:r})}var bB="biz_action_closeDevicePage";function yB(r){st(bB,{params:r})}var vB="biz_navigation_goBack",SB={vs:"0.0.0"},AB={vs:"0.0.0"},LB={ios:SB,android:AB};function CB(r){U2("biz.navigation.goBack",r),st(vB,{params:r,platform:LB})}var DB="biz_telephone_call",xB={vs:"0.0.0"},OB={vs:"0.0.0"},MB={ios:xB,android:OB};function NB(r){st(DB,{params:r,platform:MB})}var RB="biz_notification_toast";function wB(r){st(RB,{params:r})}var IB="biz_notification_confirm";function HB(r){st(IB,{params:r})}var FB="biz_notification_single_confirm";function kB(r){st(FB,{params:r})}var PB="biz_notification_showPreloader",BB={vs:"0.0.0"},VB={vs:"0.0.0"},GB={ios:BB,android:VB};function UB(r){st(PB,{params:r,platform:GB})}var jB="biz_navigation_setType";function qB(r){st(jB,{params:r})}var YB="biz_system_bar_change";function zB(r){st(YB,{params:r})}var WB="biz_system_logout";function ZB(r){st(WB,{params:r})}var KB="biz_system_logger";function XB(r){st(KB,{params:r})}var JB="biz_network_checkNetworkStatus";function $B(r){st(JB,{params:r})}var eV="biz_media_audioSource",tV={vs:"0.0.0"},rV={vs:"0.0.0"},nV={ios:tV,android:rV};function aV(r){st(eV,{params:r,platform:nV})}var iV="biz_media_audioCtrl",oV={vs:"0.0.0"},sV={vs:"0.0.0"},lV={ios:oV,android:sV};function uV(r){st(iV,{params:r,platform:lV})}var cV="biz_permission_requestToken",TV={vs:"0.0.0"},QV={vs:"0.0.0"},dV={ios:TV,android:QV};function pV(r){st(cV,{params:r,platform:dV})}var fV="biz_permission_environment",mV={vs:"0.0.0"},hV={vs:"0.0.0"},gV={ios:mV,android:hV};function _V(r){st(fV,{params:r,platform:gV})}var EV="biz_action_changePad";function bV(r){st(EV,{params:r})}var yV="biz_action_closeLoading";function vV(r){st(yV,{params:r})}var SV="biz_action_selectedPad";function AV(r){st(SV,{params:r})}var LV="biz_action_refreshMain";function CV(r){st(LV,{params:r})}var DV="biz_action_openWebview";function xV(r){st(DV,{params:r})}var OV="biz_action_closeSkeleton";function MV(r){st(OV,{params:r})}var NV="biz_action_cameraPermission";function RV(r){st(NV,{params:r})}var wV="biz_action_hideAppTransitionPage";function IV(r){st(wV,{params:r})}var HV="biz_action_appBackBtnVisible";function FV(r){st(HV,{params:r})}var kV="biz_record_start";function PV(r){st(kV,{params:r})}var BV="biz_record_stop";function VV(r){st(BV,{params:r})}var GV="biz_notifications_confirm";function UV(r){st(GV,{params:r})}var jV="biz_notification_subscribe";function qV(r){st(jV,{params:r})}var YV="biz_eventTracker_event";function zV(r){st(YV,{params:r})}var WV="biz_util_open";function ZV(r){st(WV,{params:r})}var KV="biz_util_safe";function XV(r){st(KV,{params:r})}var JV="biz_utils_getMMKV";function $V(r){st(JV,{params:r})}var eG="biz_utils_setMMKV";function tG(r){st(eG,{params:r})}var W2=p6.exportSdk,rG=W2.version,nG=W2.sdkVersion,aG=W2.env,iG=W2.platform,oG=W2.ready,sG=W2.error,lG=W2.on,uG=W2.off;const f6={version:rG,sdkVersion:nG,env:aG,platform:iG,ready:oG,error:sG,on:lG,off:uG,biz:{telephone:{call:NB},navigation:{setTitle:gB,close:EB,closeDevice:yB,goBack:CB,setType:qB},notification:{toast:wB,confirm:HB,singleConfirm:kB,showPreloader:UB,subscribeResult:qV},media:{audioSource:aV,audioCtrl:uV},permission:{requestToken:pV,environment:_V},action:{changePad:bV,closeLoading:vV,selectedPad:AV,refreshMain:CV,openWebview:xV,closeSkeleton:MV,cameraPermission:RV,hideAppTransitionPage:IV,appBackBtnVisible:FV},asr:{recordStart:PV,recordStop:VV},system:{barChange:zB,logout:ZB,logger:XB},util:{open:ZV,safe:XV},utils:{getMMKV:$V,setMMKV:tG},network:{checkNetworkStatus:$B},notifications:{dialogue:UV},eventTracker:{event:zV}}},cG=()=>{f6.biz.navigation.close()},TG=()=>null;let fn=null;const WT=r=>{fn=e=>{console.log("[Bridge] ✅ 收到 sendMsgCommon 消息:",e);const t=JSON.parse(e);t.busKey==="biz_question_info"&&r(t.data)},f6.on("sendMsgCommon",fn)},ZT=()=>{fn&&(f6.off("sendMsgCommon",fn),fn=null)},QG=()=>{f6.biz.action.closeLoading()};function KT(r,e){return function(){return r.apply(e,arguments)}}const{toString:dG}=Object.prototype,{getPrototypeOf:ho}=Object,{iterator:m6,toStringTag:XT}=Symbol,h6=(r=>e=>{const t=dG.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),X1=r=>(r=r.toLowerCase(),e=>h6(e)===r),g6=r=>e=>typeof e===r,{isArray:m3}=Array,h3=g6("undefined");function mn(r){return r!==null&&!h3(r)&&r.constructor!==null&&!h3(r.constructor)&&D1(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const JT=X1("ArrayBuffer");function pG(r){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&JT(r.buffer),e}const fG=g6("string"),D1=g6("function"),$T=g6("number"),hn=r=>r!==null&&typeof r=="object",mG=r=>r===!0||r===!1,_6=r=>{if(h6(r)!=="object")return!1;const e=ho(r);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(XT in r)&&!(m6 in r)},hG=r=>{if(!hn(r)||mn(r))return!1;try{return Object.keys(r).length===0&&Object.getPrototypeOf(r)===Object.prototype}catch{return!1}},gG=X1("Date"),_G=X1("File"),EG=X1("Blob"),bG=X1("FileList"),yG=r=>hn(r)&&D1(r.pipe),vG=r=>{let e;return r&&(typeof FormData=="function"&&r instanceof FormData||D1(r.append)&&((e=h6(r))==="formdata"||e==="object"&&D1(r.toString)&&r.toString()==="[object FormData]"))},SG=X1("URLSearchParams"),[AG,LG,CG,DG]=["ReadableStream","Request","Response","Headers"].map(X1),xG=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gn(r,e,{allOwnKeys:t=!1}={}){if(r===null||typeof r>"u")return;let i,Q;if(typeof r!="object"&&(r=[r]),m3(r))for(i=0,Q=r.length;i<Q;i++)e.call(null,r[i],i,r);else{if(mn(r))return;const p=t?Object.getOwnPropertyNames(r):Object.keys(r),T=p.length;let d;for(i=0;i<T;i++)d=p[i],e.call(null,r[d],d,r)}}function eQ(r,e){if(mn(r))return null;e=e.toLowerCase();const t=Object.keys(r);let i=t.length,Q;for(;i-- >0;)if(Q=t[i],e===Q.toLowerCase())return Q;return null}const pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tQ=r=>!h3(r)&&r!==pr;function go(){const{caseless:r,skipUndefined:e}=tQ(this)&&this||{},t={},i=(Q,p)=>{const T=r&&eQ(t,p)||p;_6(t[T])&&_6(Q)?t[T]=go(t[T],Q):_6(Q)?t[T]=go({},Q):m3(Q)?t[T]=Q.slice():(!e||!h3(Q))&&(t[T]=Q)};for(let Q=0,p=arguments.length;Q<p;Q++)arguments[Q]&&gn(arguments[Q],i);return t}const OG=(r,e,t,{allOwnKeys:i}={})=>(gn(e,(Q,p)=>{t&&D1(Q)?r[p]=KT(Q,t):r[p]=Q},{allOwnKeys:i}),r),MG=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),NG=(r,e,t,i)=>{r.prototype=Object.create(e.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:e.prototype}),t&&Object.assign(r.prototype,t)},RG=(r,e,t,i)=>{let Q,p,T;const d={};if(e=e||{},r==null)return e;do{for(Q=Object.getOwnPropertyNames(r),p=Q.length;p-- >0;)T=Q[p],(!i||i(T,r,e))&&!d[T]&&(e[T]=r[T],d[T]=!0);r=t!==!1&&ho(r)}while(r&&(!t||t(r,e))&&r!==Object.prototype);return e},wG=(r,e,t)=>{r=String(r),(t===void 0||t>r.length)&&(t=r.length),t-=e.length;const i=r.indexOf(e,t);return i!==-1&&i===t},IG=r=>{if(!r)return null;if(m3(r))return r;let e=r.length;if(!$T(e))return null;const t=new Array(e);for(;e-- >0;)t[e]=r[e];return t},HG=(r=>e=>r&&e instanceof r)(typeof Uint8Array<"u"&&ho(Uint8Array)),FG=(r,e)=>{const i=(r&&r[m6]).call(r);let Q;for(;(Q=i.next())&&!Q.done;){const p=Q.value;e.call(r,p[0],p[1])}},kG=(r,e)=>{let t;const i=[];for(;(t=r.exec(e))!==null;)i.push(t);return i},PG=X1("HTMLFormElement"),BG=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,i,Q){return i.toUpperCase()+Q}),rQ=(({hasOwnProperty:r})=>(e,t)=>r.call(e,t))(Object.prototype),VG=X1("RegExp"),nQ=(r,e)=>{const t=Object.getOwnPropertyDescriptors(r),i={};gn(t,(Q,p)=>{let T;(T=e(Q,p,r))!==!1&&(i[p]=T||Q)}),Object.defineProperties(r,i)},GG=r=>{nQ(r,(e,t)=>{if(D1(r)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;const i=r[t];if(D1(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},UG=(r,e)=>{const t={},i=Q=>{Q.forEach(p=>{t[p]=!0})};return m3(r)?i(r):i(String(r).split(e)),t},jG=()=>{},qG=(r,e)=>r!=null&&Number.isFinite(r=+r)?r:e;function YG(r){return!!(r&&D1(r.append)&&r[XT]==="FormData"&&r[m6])}const zG=r=>{const e=new Array(10),t=(i,Q)=>{if(hn(i)){if(e.indexOf(i)>=0)return;if(mn(i))return i;if(!("toJSON"in i)){e[Q]=i;const p=m3(i)?[]:{};return gn(i,(T,d)=>{const c=t(T,Q+1);!h3(c)&&(p[d]=c)}),e[Q]=void 0,p}}return i};return t(r,0)},WG=X1("AsyncFunction"),ZG=r=>r&&(hn(r)||D1(r))&&D1(r.then)&&D1(r.catch),aQ=((r,e)=>r?setImmediate:e?((t,i)=>(pr.addEventListener("message",({source:Q,data:p})=>{Q===pr&&p===t&&i.length&&i.shift()()},!1),Q=>{i.push(Q),pr.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))(typeof setImmediate=="function",D1(pr.postMessage)),KG=typeof queueMicrotask<"u"?queueMicrotask.bind(pr):typeof process<"u"&&process.nextTick||aQ,oe={isArray:m3,isArrayBuffer:JT,isBuffer:mn,isFormData:vG,isArrayBufferView:pG,isString:fG,isNumber:$T,isBoolean:mG,isObject:hn,isPlainObject:_6,isEmptyObject:hG,isReadableStream:AG,isRequest:LG,isResponse:CG,isHeaders:DG,isUndefined:h3,isDate:gG,isFile:_G,isBlob:EG,isRegExp:VG,isFunction:D1,isStream:yG,isURLSearchParams:SG,isTypedArray:HG,isFileList:bG,forEach:gn,merge:go,extend:OG,trim:xG,stripBOM:MG,inherits:NG,toFlatObject:RG,kindOf:h6,kindOfTest:X1,endsWith:wG,toArray:IG,forEachEntry:FG,matchAll:kG,isHTMLForm:PG,hasOwnProperty:rQ,hasOwnProp:rQ,reduceDescriptors:nQ,freezeMethods:GG,toObjectSet:UG,toCamelCase:BG,noop:jG,toFiniteNumber:qG,findKey:eQ,global:pr,isContextDefined:tQ,isSpecCompliantForm:YG,toJSONObject:zG,isAsyncFn:WG,isThenable:ZG,setImmediate:aQ,asap:KG,isIterable:r=>r!=null&&D1(r[m6])};function rt(r,e,t,i,Q){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),i&&(this.request=i),Q&&(this.response=Q,this.status=Q.status?Q.status:null)}oe.inherits(rt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const iQ=rt.prototype,oQ={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{oQ[r]={value:r}}),Object.defineProperties(rt,oQ),Object.defineProperty(iQ,"isAxiosError",{value:!0}),rt.from=(r,e,t,i,Q,p)=>{const T=Object.create(iQ);oe.toFlatObject(r,T,function(a){return a!==Error.prototype},n=>n!=="isAxiosError");const d=r&&r.message?r.message:"Error",c=e==null&&r?r.code:e;return rt.call(T,d,c,t,i,Q),r&&T.cause==null&&Object.defineProperty(T,"cause",{value:r,configurable:!0}),T.name=r&&r.name||"Error",p&&Object.assign(T,p),T};const XG=null;function _o(r){return oe.isPlainObject(r)||oe.isArray(r)}function sQ(r){return oe.endsWith(r,"[]")?r.slice(0,-2):r}function lQ(r,e,t){return r?r.concat(e).map(function(Q,p){return Q=sQ(Q),!t&&p?"["+Q+"]":Q}).join(t?".":""):e}function JG(r){return oe.isArray(r)&&!r.some(_o)}const $G=oe.toFlatObject(oe,{},null,function(e){return/^is[A-Z]/.test(e)});function E6(r,e,t){if(!oe.isObject(r))throw new TypeError("target must be an object");e=e||new FormData,t=oe.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,f){return!oe.isUndefined(f[m])});const i=t.metaTokens,Q=t.visitor||a,p=t.dots,T=t.indexes,c=(t.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(e);if(!oe.isFunction(Q))throw new TypeError("visitor must be a function");function n(l){if(l===null)return"";if(oe.isDate(l))return l.toISOString();if(oe.isBoolean(l))return l.toString();if(!c&&oe.isBlob(l))throw new rt("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(l)||oe.isTypedArray(l)?c&&typeof Blob=="function"?new Blob([l]):Buffer.from(l):l}function a(l,m,f){let h=l;if(l&&!f&&typeof l=="object"){if(oe.endsWith(m,"{}"))m=i?m:m.slice(0,-2),l=JSON.stringify(l);else if(oe.isArray(l)&&JG(l)||(oe.isFileList(l)||oe.endsWith(m,"[]"))&&(h=oe.toArray(l)))return m=sQ(m),h.forEach(function(_,g){!(oe.isUndefined(_)||_===null)&&e.append(T===!0?lQ([m],g,p):T===null?m:m+"[]",n(_))}),!1}return _o(l)?!0:(e.append(lQ(f,m,p),n(l)),!1)}const s=[],o=Object.assign($G,{defaultVisitor:a,convertValue:n,isVisitable:_o});function u(l,m){if(!oe.isUndefined(l)){if(s.indexOf(l)!==-1)throw Error("Circular reference detected in "+m.join("."));s.push(l),oe.forEach(l,function(h,E){(!(oe.isUndefined(h)||h===null)&&Q.call(e,h,oe.isString(E)?E.trim():E,m,o))===!0&&u(h,m?m.concat(E):[E])}),s.pop()}}if(!oe.isObject(r))throw new TypeError("data must be an object");return u(r),e}function uQ(r){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function Eo(r,e){this._pairs=[],r&&E6(r,this,e)}const cQ=Eo.prototype;cQ.append=function(e,t){this._pairs.push([e,t])},cQ.toString=function(e){const t=e?function(i){return e.call(this,i,uQ)}:uQ;return this._pairs.map(function(Q){return t(Q[0])+"="+t(Q[1])},"").join("&")};function eU(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function TQ(r,e,t){if(!e)return r;const i=t&&t.encode||eU;oe.isFunction(t)&&(t={serialize:t});const Q=t&&t.serialize;let p;if(Q?p=Q(e,t):p=oe.isURLSearchParams(e)?e.toString():new Eo(e,t).toString(i),p){const T=r.indexOf("#");T!==-1&&(r=r.slice(0,T)),r+=(r.indexOf("?")===-1?"?":"&")+p}return r}class QQ{constructor(){this.handlers=[]}use(e,t,i){return this.handlers.push({fulfilled:e,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){oe.forEach(this.handlers,function(i){i!==null&&e(i)})}}const dQ={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tU={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Eo,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},bo=typeof window<"u"&&typeof document<"u",yo=typeof navigator=="object"&&navigator||void 0,rU=bo&&(!yo||["ReactNative","NativeScript","NS"].indexOf(yo.product)<0),nU=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",aU=bo&&window.location.href||"http://localhost",g1={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bo,hasStandardBrowserEnv:rU,hasStandardBrowserWebWorkerEnv:nU,navigator:yo,origin:aU},Symbol.toStringTag,{value:"Module"})),...tU};function iU(r,e){return E6(r,new g1.classes.URLSearchParams,{visitor:function(t,i,Q,p){return g1.isNode&&oe.isBuffer(t)?(this.append(i,t.toString("base64")),!1):p.defaultVisitor.apply(this,arguments)},...e})}function oU(r){return oe.matchAll(/\w+|\[(\w*)]/g,r).map(e=>e[0]==="[]"?"":e[1]||e[0])}function sU(r){const e={},t=Object.keys(r);let i;const Q=t.length;let p;for(i=0;i<Q;i++)p=t[i],e[p]=r[p];return e}function pQ(r){function e(t,i,Q,p){let T=t[p++];if(T==="__proto__")return!0;const d=Number.isFinite(+T),c=p>=t.length;return T=!T&&oe.isArray(Q)?Q.length:T,c?(oe.hasOwnProp(Q,T)?Q[T]=[Q[T],i]:Q[T]=i,!d):((!Q[T]||!oe.isObject(Q[T]))&&(Q[T]=[]),e(t,i,Q[T],p)&&oe.isArray(Q[T])&&(Q[T]=sU(Q[T])),!d)}if(oe.isFormData(r)&&oe.isFunction(r.entries)){const t={};return oe.forEachEntry(r,(i,Q)=>{e(oU(i),Q,t,0)}),t}return null}function lU(r,e,t){if(oe.isString(r))try{return(e||JSON.parse)(r),oe.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(r)}const _n={transitional:dQ,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const i=t.getContentType()||"",Q=i.indexOf("application/json")>-1,p=oe.isObject(e);if(p&&oe.isHTMLForm(e)&&(e=new FormData(e)),oe.isFormData(e))return Q?JSON.stringify(pQ(e)):e;if(oe.isArrayBuffer(e)||oe.isBuffer(e)||oe.isStream(e)||oe.isFile(e)||oe.isBlob(e)||oe.isReadableStream(e))return e;if(oe.isArrayBufferView(e))return e.buffer;if(oe.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let d;if(p){if(i.indexOf("application/x-www-form-urlencoded")>-1)return iU(e,this.formSerializer).toString();if((d=oe.isFileList(e))||i.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return E6(d?{"files[]":e}:e,c&&new c,this.formSerializer)}}return p||Q?(t.setContentType("application/json",!1),lU(e)):e}],transformResponse:[function(e){const t=this.transitional||_n.transitional,i=t&&t.forcedJSONParsing,Q=this.responseType==="json";if(oe.isResponse(e)||oe.isReadableStream(e))return e;if(e&&oe.isString(e)&&(i&&!this.responseType||Q)){const T=!(t&&t.silentJSONParsing)&&Q;try{return JSON.parse(e,this.parseReviver)}catch(d){if(T)throw d.name==="SyntaxError"?rt.from(d,rt.ERR_BAD_RESPONSE,this,null,this.response):d}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:g1.classes.FormData,Blob:g1.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],r=>{_n.headers[r]={}});const uU=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),cU=r=>{const e={};let t,i,Q;return r&&r.split(`
3168
3168
  `).forEach(function(T){Q=T.indexOf(":"),t=T.substring(0,Q).trim().toLowerCase(),i=T.substring(Q+1).trim(),!(!t||e[t]&&uU[t])&&(t==="set-cookie"?e[t]?e[t].push(i):e[t]=[i]:e[t]=e[t]?e[t]+", "+i:i)}),e},fQ=Symbol("internals");function En(r){return r&&String(r).trim().toLowerCase()}function b6(r){return r===!1||r==null?r:oe.isArray(r)?r.map(b6):String(r)}function TU(r){const e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=t.exec(r);)e[i[1]]=i[2];return e}const QU=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function vo(r,e,t,i,Q){if(oe.isFunction(i))return i.call(this,e,t);if(Q&&(e=t),!!oe.isString(e)){if(oe.isString(i))return e.indexOf(i)!==-1;if(oe.isRegExp(i))return i.test(e)}}function dU(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,i)=>t.toUpperCase()+i)}function pU(r,e){const t=oe.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+t,{value:function(Q,p,T){return this[i].call(this,e,Q,p,T)},configurable:!0})})}let x1=class{constructor(e){e&&this.set(e)}set(e,t,i){const Q=this;function p(d,c,n){const a=En(c);if(!a)throw new Error("header name must be a non-empty string");const s=oe.findKey(Q,a);(!s||Q[s]===void 0||n===!0||n===void 0&&Q[s]!==!1)&&(Q[s||c]=b6(d))}const T=(d,c)=>oe.forEach(d,(n,a)=>p(n,a,c));if(oe.isPlainObject(e)||e instanceof this.constructor)T(e,t);else if(oe.isString(e)&&(e=e.trim())&&!QU(e))T(cU(e),t);else if(oe.isObject(e)&&oe.isIterable(e)){let d={},c,n;for(const a of e){if(!oe.isArray(a))throw TypeError("Object iterator must return a key-value pair");d[n=a[0]]=(c=d[n])?oe.isArray(c)?[...c,a[1]]:[c,a[1]]:a[1]}T(d,t)}else e!=null&&p(t,e,i);return this}get(e,t){if(e=En(e),e){const i=oe.findKey(this,e);if(i){const Q=this[i];if(!t)return Q;if(t===!0)return TU(Q);if(oe.isFunction(t))return t.call(this,Q,i);if(oe.isRegExp(t))return t.exec(Q);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=En(e),e){const i=oe.findKey(this,e);return!!(i&&this[i]!==void 0&&(!t||vo(this,this[i],i,t)))}return!1}delete(e,t){const i=this;let Q=!1;function p(T){if(T=En(T),T){const d=oe.findKey(i,T);d&&(!t||vo(i,i[d],d,t))&&(delete i[d],Q=!0)}}return oe.isArray(e)?e.forEach(p):p(e),Q}clear(e){const t=Object.keys(this);let i=t.length,Q=!1;for(;i--;){const p=t[i];(!e||vo(this,this[p],p,e,!0))&&(delete this[p],Q=!0)}return Q}normalize(e){const t=this,i={};return oe.forEach(this,(Q,p)=>{const T=oe.findKey(i,p);if(T){t[T]=b6(Q),delete t[p];return}const d=e?dU(p):String(p).trim();d!==p&&delete t[p],t[d]=b6(Q),i[d]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return oe.forEach(this,(i,Q)=>{i!=null&&i!==!1&&(t[Q]=e&&oe.isArray(i)?i.join(", "):i)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
3169
3169
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const i=new this(e);return t.forEach(Q=>i.set(Q)),i}static accessor(e){const i=(this[fQ]=this[fQ]={accessors:{}}).accessors,Q=this.prototype;function p(T){const d=En(T);i[d]||(pU(Q,T),i[d]=!0)}return oe.isArray(e)?e.forEach(p):p(e),this}};x1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),oe.reduceDescriptors(x1.prototype,({value:r},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>r,set(i){this[t]=i}}}),oe.freezeMethods(x1);function So(r,e){const t=this||_n,i=e||t,Q=x1.from(i.headers);let p=i.data;return oe.forEach(r,function(d){p=d.call(t,p,Q.normalize(),e?e.status:void 0)}),Q.normalize(),p}function mQ(r){return!!(r&&r.__CANCEL__)}function g3(r,e,t){rt.call(this,r??"canceled",rt.ERR_CANCELED,e,t),this.name="CanceledError"}oe.inherits(g3,rt,{__CANCEL__:!0});function hQ(r,e,t){const i=t.config.validateStatus;!t.status||!i||i(t.status)?r(t):e(new rt("Request failed with status code "+t.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function fU(r){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return e&&e[1]||""}function mU(r,e){r=r||10;const t=new Array(r),i=new Array(r);let Q=0,p=0,T;return e=e!==void 0?e:1e3,function(c){const n=Date.now(),a=i[p];T||(T=n),t[Q]=c,i[Q]=n;let s=p,o=0;for(;s!==Q;)o+=t[s++],s=s%r;if(Q=(Q+1)%r,Q===p&&(p=(p+1)%r),n-T<e)return;const u=a&&n-a;return u?Math.round(o*1e3/u):void 0}}function hU(r,e){let t=0,i=1e3/e,Q,p;const T=(n,a=Date.now())=>{t=a,Q=null,p&&(clearTimeout(p),p=null),r(...n)};return[(...n)=>{const a=Date.now(),s=a-t;s>=i?T(n,a):(Q=n,p||(p=setTimeout(()=>{p=null,T(Q)},i-s)))},()=>Q&&T(Q)]}const y6=(r,e,t=3)=>{let i=0;const Q=mU(50,250);return hU(p=>{const T=p.loaded,d=p.lengthComputable?p.total:void 0,c=T-i,n=Q(c),a=T<=d;i=T;const s={loaded:T,total:d,progress:d?T/d:void 0,bytes:c,rate:n||void 0,estimated:n&&d&&a?(d-T)/n:void 0,event:p,lengthComputable:d!=null,[e?"download":"upload"]:!0};r(s)},t)},gQ=(r,e)=>{const t=r!=null;return[i=>e[0]({lengthComputable:t,total:r,loaded:i}),e[1]]},_Q=r=>(...e)=>oe.asap(()=>r(...e)),gU=g1.hasStandardBrowserEnv?((r,e)=>t=>(t=new URL(t,g1.origin),r.protocol===t.protocol&&r.host===t.host&&(e||r.port===t.port)))(new URL(g1.origin),g1.navigator&&/(msie|trident)/i.test(g1.navigator.userAgent)):()=>!0,_U=g1.hasStandardBrowserEnv?{write(r,e,t,i,Q,p,T){if(typeof document>"u")return;const d=[`${r}=${encodeURIComponent(e)}`];oe.isNumber(t)&&d.push(`expires=${new Date(t).toUTCString()}`),oe.isString(i)&&d.push(`path=${i}`),oe.isString(Q)&&d.push(`domain=${Q}`),p===!0&&d.push("secure"),oe.isString(T)&&d.push(`SameSite=${T}`),document.cookie=d.join("; ")},read(r){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+r+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(r){this.write(r,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function EU(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function bU(r,e){return e?r.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):r}function EQ(r,e,t){let i=!EU(e);return r&&(i||t==!1)?bU(r,e):e}const bQ=r=>r instanceof x1?{...r}:r;function fr(r,e){e=e||{};const t={};function i(n,a,s,o){return oe.isPlainObject(n)&&oe.isPlainObject(a)?oe.merge.call({caseless:o},n,a):oe.isPlainObject(a)?oe.merge({},a):oe.isArray(a)?a.slice():a}function Q(n,a,s,o){if(oe.isUndefined(a)){if(!oe.isUndefined(n))return i(void 0,n,s,o)}else return i(n,a,s,o)}function p(n,a){if(!oe.isUndefined(a))return i(void 0,a)}function T(n,a){if(oe.isUndefined(a)){if(!oe.isUndefined(n))return i(void 0,n)}else return i(void 0,a)}function d(n,a,s){if(s in e)return i(n,a);if(s in r)return i(void 0,n)}const c={url:p,method:p,data:p,baseURL:T,transformRequest:T,transformResponse:T,paramsSerializer:T,timeout:T,timeoutMessage:T,withCredentials:T,withXSRFToken:T,adapter:T,responseType:T,xsrfCookieName:T,xsrfHeaderName:T,onUploadProgress:T,onDownloadProgress:T,decompress:T,maxContentLength:T,maxBodyLength:T,beforeRedirect:T,transport:T,httpAgent:T,httpsAgent:T,cancelToken:T,socketPath:T,responseEncoding:T,validateStatus:d,headers:(n,a,s)=>Q(bQ(n),bQ(a),s,!0)};return oe.forEach(Object.keys({...r,...e}),function(a){const s=c[a]||Q,o=s(r[a],e[a],a);oe.isUndefined(o)&&s!==d||(t[a]=o)}),t}const yQ=r=>{const e=fr({},r);let{data:t,withXSRFToken:i,xsrfHeaderName:Q,xsrfCookieName:p,headers:T,auth:d}=e;if(e.headers=T=x1.from(T),e.url=TQ(EQ(e.baseURL,e.url,e.allowAbsoluteUrls),r.params,r.paramsSerializer),d&&T.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?unescape(encodeURIComponent(d.password)):""))),oe.isFormData(t)){if(g1.hasStandardBrowserEnv||g1.hasStandardBrowserWebWorkerEnv)T.setContentType(void 0);else if(oe.isFunction(t.getHeaders)){const c=t.getHeaders(),n=["content-type","content-length"];Object.entries(c).forEach(([a,s])=>{n.includes(a.toLowerCase())&&T.set(a,s)})}}if(g1.hasStandardBrowserEnv&&(i&&oe.isFunction(i)&&(i=i(e)),i||i!==!1&&gU(e.url))){const c=Q&&p&&_U.read(p);c&&T.set(Q,c)}return e},yU=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(t,i){const Q=yQ(r);let p=Q.data;const T=x1.from(Q.headers).normalize();let{responseType:d,onUploadProgress:c,onDownloadProgress:n}=Q,a,s,o,u,l;function m(){u&&u(),l&&l(),Q.cancelToken&&Q.cancelToken.unsubscribe(a),Q.signal&&Q.signal.removeEventListener("abort",a)}let f=new XMLHttpRequest;f.open(Q.method.toUpperCase(),Q.url,!0),f.timeout=Q.timeout;function h(){if(!f)return;const _=x1.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),y={data:!d||d==="text"||d==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:_,config:r,request:f};hQ(function(S){t(S),m()},function(S){i(S),m()},y),f=null}"onloadend"in f?f.onloadend=h:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(h)},f.onabort=function(){f&&(i(new rt("Request aborted",rt.ECONNABORTED,r,f)),f=null)},f.onerror=function(g){const y=g&&g.message?g.message:"Network Error",v=new rt(y,rt.ERR_NETWORK,r,f);v.event=g||null,i(v),f=null},f.ontimeout=function(){let g=Q.timeout?"timeout of "+Q.timeout+"ms exceeded":"timeout exceeded";const y=Q.transitional||dQ;Q.timeoutErrorMessage&&(g=Q.timeoutErrorMessage),i(new rt(g,y.clarifyTimeoutError?rt.ETIMEDOUT:rt.ECONNABORTED,r,f)),f=null},p===void 0&&T.setContentType(null),"setRequestHeader"in f&&oe.forEach(T.toJSON(),function(g,y){f.setRequestHeader(y,g)}),oe.isUndefined(Q.withCredentials)||(f.withCredentials=!!Q.withCredentials),d&&d!=="json"&&(f.responseType=Q.responseType),n&&([o,l]=y6(n,!0),f.addEventListener("progress",o)),c&&f.upload&&([s,u]=y6(c),f.upload.addEventListener("progress",s),f.upload.addEventListener("loadend",u)),(Q.cancelToken||Q.signal)&&(a=_=>{f&&(i(!_||_.type?new g3(null,r,f):_),f.abort(),f=null)},Q.cancelToken&&Q.cancelToken.subscribe(a),Q.signal&&(Q.signal.aborted?a():Q.signal.addEventListener("abort",a)));const E=fU(Q.url);if(E&&g1.protocols.indexOf(E)===-1){i(new rt("Unsupported protocol "+E+":",rt.ERR_BAD_REQUEST,r));return}f.send(p||null)})},vU=(r,e)=>{const{length:t}=r=r?r.filter(Boolean):[];if(e||t){let i=new AbortController,Q;const p=function(n){if(!Q){Q=!0,d();const a=n instanceof Error?n:this.reason;i.abort(a instanceof rt?a:new g3(a instanceof Error?a.message:a))}};let T=e&&setTimeout(()=>{T=null,p(new rt(`timeout ${e} of ms exceeded`,rt.ETIMEDOUT))},e);const d=()=>{r&&(T&&clearTimeout(T),T=null,r.forEach(n=>{n.unsubscribe?n.unsubscribe(p):n.removeEventListener("abort",p)}),r=null)};r.forEach(n=>n.addEventListener("abort",p));const{signal:c}=i;return c.unsubscribe=()=>oe.asap(d),c}},SU=function*(r,e){let t=r.byteLength;if(t<e){yield r;return}let i=0,Q;for(;i<t;)Q=i+e,yield r.slice(i,Q),i=Q},AU=async function*(r,e){for await(const t of LU(r))yield*SU(t,e)},LU=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const e=r.getReader();try{for(;;){const{done:t,value:i}=await e.read();if(t)break;yield i}}finally{await e.cancel()}},vQ=(r,e,t,i)=>{const Q=AU(r,e);let p=0,T,d=c=>{T||(T=!0,i&&i(c))};return new ReadableStream({async pull(c){try{const{done:n,value:a}=await Q.next();if(n){d(),c.close();return}let s=a.byteLength;if(t){let o=p+=s;t(o)}c.enqueue(new Uint8Array(a))}catch(n){throw d(n),n}},cancel(c){return d(c),Q.return()}},{highWaterMark:2})},SQ=64*1024,{isFunction:v6}=oe,CU=(({Request:r,Response:e})=>({Request:r,Response:e}))(oe.global),{ReadableStream:AQ,TextEncoder:LQ}=oe.global,CQ=(r,...e)=>{try{return!!r(...e)}catch{return!1}},DU=r=>{r=oe.merge.call({skipUndefined:!0},CU,r);const{fetch:e,Request:t,Response:i}=r,Q=e?v6(e):typeof fetch=="function",p=v6(t),T=v6(i);if(!Q)return!1;const d=Q&&v6(AQ),c=Q&&(typeof LQ=="function"?(l=>m=>l.encode(m))(new LQ):async l=>new Uint8Array(await new t(l).arrayBuffer())),n=p&&d&&CQ(()=>{let l=!1;const m=new t(g1.origin,{body:new AQ,method:"POST",get duplex(){return l=!0,"half"}}).headers.has("Content-Type");return l&&!m}),a=T&&d&&CQ(()=>oe.isReadableStream(new i("").body)),s={stream:a&&(l=>l.body)};Q&&["text","arrayBuffer","blob","formData","stream"].forEach(l=>{!s[l]&&(s[l]=(m,f)=>{let h=m&&m[l];if(h)return h.call(m);throw new rt(`Response type '${l}' is not supported`,rt.ERR_NOT_SUPPORT,f)})});const o=async l=>{if(l==null)return 0;if(oe.isBlob(l))return l.size;if(oe.isSpecCompliantForm(l))return(await new t(g1.origin,{method:"POST",body:l}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(l)||oe.isArrayBuffer(l))return l.byteLength;if(oe.isURLSearchParams(l)&&(l=l+""),oe.isString(l))return(await c(l)).byteLength},u=async(l,m)=>{const f=oe.toFiniteNumber(l.getContentLength());return f??o(m)};return async l=>{let{url:m,method:f,data:h,signal:E,cancelToken:_,timeout:g,onDownloadProgress:y,onUploadProgress:v,responseType:S,headers:b,withCredentials:A="same-origin",fetchOptions:L}=yQ(l),C=e||fetch;S=S?(S+"").toLowerCase():"text";let D=vU([E,_&&_.toAbortSignal()],g),x=null;const O=D&&D.unsubscribe&&(()=>{D.unsubscribe()});let M;try{if(v&&n&&f!=="get"&&f!=="head"&&(M=await u(b,h))!==0){let j=new t(m,{method:"POST",body:h,duplex:"half"}),H;if(oe.isFormData(h)&&(H=j.headers.get("content-type"))&&b.setContentType(H),j.body){const[F,I]=gQ(M,y6(_Q(v)));h=vQ(j.body,SQ,F,I)}}oe.isString(A)||(A=A?"include":"omit");const N=p&&"credentials"in t.prototype,R={...L,signal:D,method:f.toUpperCase(),headers:b.normalize().toJSON(),body:h,duplex:"half",credentials:N?A:void 0};x=p&&new t(m,R);let w=await(p?C(x,L):C(m,R));const k=a&&(S==="stream"||S==="response");if(a&&(y||k&&O)){const j={};["status","statusText","headers"].forEach(P=>{j[P]=w[P]});const H=oe.toFiniteNumber(w.headers.get("content-length")),[F,I]=y&&gQ(H,y6(_Q(y),!0))||[];w=new i(vQ(w.body,SQ,F,()=>{I&&I(),O&&O()}),j)}S=S||"text";let B=await s[oe.findKey(s,S)||"text"](w,l);return!k&&O&&O(),await new Promise((j,H)=>{hQ(j,H,{data:B,headers:x1.from(w.headers),status:w.status,statusText:w.statusText,config:l,request:x})})}catch(N){throw O&&O(),N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)?Object.assign(new rt("Network Error",rt.ERR_NETWORK,l,x),{cause:N.cause||N}):rt.from(N,N&&N.code,l,x)}}},xU=new Map,DQ=r=>{let e=r&&r.env||{};const{fetch:t,Request:i,Response:Q}=e,p=[i,Q,t];let T=p.length,d=T,c,n,a=xU;for(;d--;)c=p[d],n=a.get(c),n===void 0&&a.set(c,n=d?new Map:DU(e)),a=n;return n};DQ();const Ao={http:XG,xhr:yU,fetch:{get:DQ}};oe.forEach(Ao,(r,e)=>{if(r){try{Object.defineProperty(r,"name",{value:e})}catch{}Object.defineProperty(r,"adapterName",{value:e})}});const xQ=r=>`- ${r}`,OU=r=>oe.isFunction(r)||r===null||r===!1;function MU(r,e){r=oe.isArray(r)?r:[r];const{length:t}=r;let i,Q;const p={};for(let T=0;T<t;T++){i=r[T];let d;if(Q=i,!OU(i)&&(Q=Ao[(d=String(i)).toLowerCase()],Q===void 0))throw new rt(`Unknown adapter '${d}'`);if(Q&&(oe.isFunction(Q)||(Q=Q.get(e))))break;p[d||"#"+T]=Q}if(!Q){const T=Object.entries(p).map(([c,n])=>`adapter ${c} `+(n===!1?"is not supported by the environment":"is not available in the build"));let d=t?T.length>1?`since :
3170
3170
  `+T.map(xQ).join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sg-paisou",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "main": "./dist/ai-chat-sdk.umd.js",
6
6
  "module": "./dist/ai-chat-sdk.es.js",