import{aasfn,casTn}from"./chunk-LRNH5AEO.js";varDn=Tn((nt,bt)=>{var_=_||{};_.scope={};_.arrayIteratorImpl=function(p){varc=0;returnfunction(){returnc<p.length?{done:!1,value:p[c++]}:{done:!0}}};_.arrayIterator=function(p){return{next:_.arrayIteratorImpl(p)}};_.makeIterator=function(p){varc=typeofSymbol<"u"&&Symbol.iterator&&p[Symbol.iterator];returnc?c.call(p):_.arrayIterator(p)};_.ASSUME_ES5=!1;_.ASSUME_NO_NATIVE_MAP=!1;_.ASSUME_NO_NATIVE_SET=!1;_.SIMPLE_FROUND_POLYFILL=!1;_.ISOLATE_POLYFILLS=!1;_.FORCE_POLYFILL_PROMISE=!1;_.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;_.getGlobal=function(p){p=[typeofglobalThis=="object"&&globalThis,p,typeofwindow=="object"&&window,typeofself=="object"&&self,typeofglobal=="object"&&global];for(varc=0;c<p.length;++c){vars=p[c];if(s&&s.Math==Math)returns}throwError("Cannot find global object")};_.global=_.getGlobal(nt);_.defineProperty=_.ASSUME_ES5||typeofObject.defineProperties=="function"?Object.defineProperty:function(p,c,s){returnp==Array.prototype||p==Object.prototype||(p[c]=s.value),p};_.IS_SYMBOL_NATIVE=typeofSymbol=="function"&&typeofSymbol("x")=="symbol";_.TRUST_ES6_POLYFILLS=!_.ISOLATE_POLYFILLS||_.IS_SYMBOL_NATIVE;_.polyfills={};_.propertyToPolyfillSymbol={};_.POLYFILL_PREFIX="$jscp$";_.polyfill=function(p,c,s,y){c&&(_.ISOLATE_POLYFILLS?_.polyfillIsolated(p,c,s,y):_.polyfillUnisolated(p,c,s,y))};_.polyfillUnisolated=function(p,c,s,y){for(s=_.global,p=p.split("."),y=0;y<p.length-1;y++){vara=p[y];if(!(ains))return;s=s[a]}p=p[p.length-1],y=s[p],c=c(y),c!=y&&c!=null&&_.defineProperty(s,p,{configurable:!0,writable:!0,value:c})};_.polyfillIsolated=function(p,c,s,y){vara=p.split(".");p=a.length===1,y=a[0],y=!p&&yin_.polyfills?_.polyfills:_.global;for(varg=0;g<a.length-1;g++){vari=a[g];if(!(iiny))return;y=y[i]}a=a[a.length-1],s=_.IS_SYMBOL_NATIVE&&s==="es6"?y[a]:null,c=c(s),c!=null&&(p?_.defineProperty(_.polyfills,a,{configurable:!0,writable:!0,value:c}):c!==s&&(_.propertyToPolyfillSymbol[a]===void0&&(s=1e9*Math.random()>>>0,_.propertyToPolyfillSymbol[a]=_.IS_SYMBOL_NATIVE?_.global.Symbol(a):_.POLYFILL_PREFIX+s+"$"+a),_.defineProperty(y,_.propertyToPolyfillSymbol[a],{configurable:!0,writable:!0,value:c})))};_.polyfill("Promise",function(p){functionc(){this.batch_=null}functions(i){returniinstanceofa?i:newa(function(l,h){l(i)})}if(p&&(!(_.FORCE_POLYFILL_PROMISE||_.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&typeof_.global.PromiseRejectionEvent>"u")||!_.global.Promise||_.global.Promise.toString().indexOf("[native code]")===-1))returnp;c.prototype.asyncExecute=function(i){if(this.batch_==null){this.batch_=[];varl=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(i)};vary=_.global.setTimeout;c.prototype.asyncExecuteFunction=function(i){y(i,0)},c.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){vari=this.batch_;this.batch_=[];for(varl=0;l<i.length;++l){varh=i[l];i[l]=null;try{h()}catch(I){this.asyncThrow_(I)}}}this.batch_=null},c.prototype.asyncThrow_=function(i){this.asyncExecuteFunction(function(){throwi})};vara=function(i){this.state_=0,this.result_=void0,this.onSettledCallbacks_=[],this.isRejectionHandled_=!1;varl=this.createResolveAndReject_();try{i(l.resolve,l.reject)}catch(h){l.reject(h)}};a.prototype.createResolveAndReject_=function(){functioni(I){returnfunction(C){h||(h=!0,I.call(l,C))}}varl=this,h=!1;return{resolve:i(this.resolveTo_),reject:i(this.reject_)}},a.prototype.resolveTo_=function(i){if(i===this)this.reject_(newTypeError("A Promise cannot resolve to itself"));elseif(iinstanceofa)this.settleSameAsPromise_(i);else{t:switch(typeofi){case"object":varl=i!=null;breakt;case"function":l=!0;breakt;default:l=!1}l?this.resolveToNonPromiseObj_(i):this.fulfill_(i)}},a.prototype.resolveToNonPromiseObj_=function(i){varl=void0;try{l=i.then}catch(h){this.reject_(h);return}typeofl=="function"?this.settleSameAsThenable_(l,i):this.fulfill_(i)},a.prototype.reject_=function(i){this.settle_(2,i)},a.prototype.fulfill_=function(i){this.settle_(1,i)},a.prototyp