vite-plugin-cdn-next 1.0.0
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.
- package/LICENSE +21 -0
- package/README.md +218 -0
- package/dist/chunk-44E5HB7F.mjs +2 -0
- package/dist/chunk-44E5HB7F.mjs.map +1 -0
- package/dist/chunk-D44BBBSZ.mjs +2 -0
- package/dist/chunk-D44BBBSZ.mjs.map +1 -0
- package/dist/chunk-EKMT5YZN.mjs +5 -0
- package/dist/chunk-EKMT5YZN.mjs.map +1 -0
- package/dist/chunk-ULCZGLAT.mjs +2 -0
- package/dist/chunk-ULCZGLAT.mjs.map +1 -0
- package/dist/index.d.mts +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/interface-PoOSHBDD.d.mts +68 -0
- package/dist/interface-PoOSHBDD.d.ts +68 -0
- package/dist/resolve.d.mts +3 -0
- package/dist/resolve.d.ts +3 -0
- package/dist/resolve.js +2 -0
- package/dist/resolve.js.map +1 -0
- package/dist/resolve.mjs +2 -0
- package/dist/resolve.mjs.map +1 -0
- package/dist/resolver/bootcdn.d.mts +7 -0
- package/dist/resolver/bootcdn.d.ts +7 -0
- package/dist/resolver/bootcdn.js +2 -0
- package/dist/resolver/bootcdn.js.map +1 -0
- package/dist/resolver/bootcdn.mjs +2 -0
- package/dist/resolver/bootcdn.mjs.map +1 -0
- package/dist/resolver/cdnjs.d.mts +7 -0
- package/dist/resolver/cdnjs.d.ts +7 -0
- package/dist/resolver/cdnjs.js +2 -0
- package/dist/resolver/cdnjs.js.map +1 -0
- package/dist/resolver/cdnjs.mjs +2 -0
- package/dist/resolver/cdnjs.mjs.map +1 -0
- package/dist/resolver/jsdelivr.d.mts +7 -0
- package/dist/resolver/jsdelivr.d.ts +7 -0
- package/dist/resolver/jsdelivr.js +2 -0
- package/dist/resolver/jsdelivr.js.map +1 -0
- package/dist/resolver/jsdelivr.mjs +2 -0
- package/dist/resolver/jsdelivr.mjs.map +1 -0
- package/dist/resolver/unpkg.d.mts +7 -0
- package/dist/resolver/unpkg.d.ts +7 -0
- package/dist/resolver/unpkg.js +2 -0
- package/dist/resolver/unpkg.js.map +1 -0
- package/dist/resolver/unpkg.mjs +2 -0
- package/dist/resolver/unpkg.mjs.map +1 -0
- package/dist/scanner.d.mts +20 -0
- package/dist/scanner.d.ts +20 -0
- package/dist/scanner.js +5 -0
- package/dist/scanner.js.map +1 -0
- package/dist/scanner.mjs +2 -0
- package/dist/scanner.mjs.map +1 -0
- package/package.json +102 -0
package/dist/scanner.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var _u=Object.create;var We=Object.defineProperty;var Wu=Object.getOwnPropertyDescriptor;var ju=Object.getOwnPropertyNames;var ku=Object.getPrototypeOf,Gu=Object.prototype.hasOwnProperty;var Bu=(r,e)=>()=>(r&&(e=r(r=0)),e);var u=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Uu=(r,e)=>{for(var t in e)We(r,t,{get:e[t],enumerable:!0})},_t=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of ju(e))!Gu.call(r,o)&&o!==t&&We(r,o,{get:()=>e[o],enumerable:!(n=Wu(e,o))||n.enumerable});return r};var O=(r,e,t)=>(t=r!=null?_u(ku(r)):{},_t(e||!r||!r.__esModule?We(t,"default",{value:r,enumerable:!0}):t,r)),Lu=r=>_t(We({},"__esModule",{value:!0}),r);var Vu,s,i=Bu(()=>{Vu=()=>typeof document>"u"?new URL(`file:${__filename}`).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href,s=Vu()});var kt=u((Qd,jt)=>{"use strict";i();var Hu="Function.prototype.bind called on incompatible ",zu=Object.prototype.toString,Ku=Math.max,Ju="[object Function]",Wt=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n},Yu=function(e,t){for(var n=[],o=t||0,a=0;o<e.length;o+=1,a+=1)n[a]=e[o];return n},Xu=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};jt.exports=function(e){var t=this;if(typeof t!="function"||zu.apply(t)!==Ju)throw new TypeError(Hu+t);for(var n=Yu(arguments,1),o,a=function(){if(this instanceof o){var g=t.apply(this,Wt(n,arguments));return Object(g)===g?g:this}return t.apply(e,Wt(n,arguments))},f=Ku(0,t.length-n.length),l=[],c=0;c<f;c++)l[c]="$"+c;if(o=Function("binder","return function ("+Xu(l,",")+"){ return binder.apply(this,arguments); }")(a),t.prototype){var v=function(){};v.prototype=t.prototype,o.prototype=new v,v.prototype=null}return o}});var J=u((ev,Gt)=>{"use strict";i();var Qu=kt();Gt.exports=Function.prototype.bind||Qu});var vr=u((tv,Ut)=>{"use strict";i();var Bt=Object.prototype.toString;Ut.exports=function(e){var t=Bt.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Bt.call(e.callee)==="[object Function]"),n}});var Qt=u((ov,Xt)=>{"use strict";i();var Yt;Object.keys||(ve=Object.prototype.hasOwnProperty,gr=Object.prototype.toString,Lt=vr(),mr=Object.prototype.propertyIsEnumerable,Vt=!mr.call({toString:null},"toString"),Ht=mr.call(function(){},"prototype"),ge=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],je=function(r){var e=r.constructor;return e&&e.prototype===r},zt={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Kt=function(){if(typeof window>"u")return!1;for(var r in window)try{if(!zt["$"+r]&&ve.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{je(window[r])}catch{return!0}}catch{return!0}return!1}(),Jt=function(r){if(typeof window>"u"||!Kt)return je(r);try{return je(r)}catch{return!1}},Yt=function(e){var t=e!==null&&typeof e=="object",n=gr.call(e)==="[object Function]",o=Lt(e),a=t&&gr.call(e)==="[object String]",f=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var l=Ht&&n;if(a&&e.length>0&&!ve.call(e,0))for(var c=0;c<e.length;++c)f.push(String(c));if(o&&e.length>0)for(var v=0;v<e.length;++v)f.push(String(v));else for(var g in e)!(l&&g==="prototype")&&ve.call(e,g)&&f.push(String(g));if(Vt)for(var h=Jt(e),y=0;y<ge.length;++y)!(h&&ge[y]==="constructor")&&ve.call(e,ge[y])&&f.push(ge[y]);return f});var ve,gr,Lt,mr,Vt,Ht,ge,je,zt,Kt,Jt;Xt.exports=Yt});var tn=u((av,rn)=>{"use strict";i();var Zu=Array.prototype.slice,ef=vr(),Zt=Object.keys,ke=Zt?function(e){return Zt(e)}:Qt(),en=Object.keys;ke.shim=function(){if(Object.keys){var e=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);e||(Object.keys=function(n){return ef(n)?en(Zu.call(n)):en(n)})}else Object.keys=ke;return Object.keys||ke};rn.exports=ke});var te=u((uv,nn)=>{"use strict";i();var Ge=Object.defineProperty||!1;if(Ge)try{Ge({},"a",{value:1})}catch{Ge=!1}nn.exports=Ge});var j=u((lv,on)=>{"use strict";i();on.exports=SyntaxError});var p=u((pv,an)=>{"use strict";i();an.exports=TypeError});var un=u((dv,sn)=>{"use strict";i();sn.exports=Object.getOwnPropertyDescriptor});var k=u((gv,fn)=>{"use strict";i();var Be=un();if(Be)try{Be([],"length")}catch{Be=null}fn.exports=Be});var me=u((hv,pn)=>{"use strict";i();var ln=te(),rf=j(),ne=p(),cn=k();pn.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new ne("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new ne("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ne("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ne("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ne("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ne("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,a=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,c=!!cn&&cn(e,t);if(ln)ln(e,t,{configurable:f===null&&c?c.configurable:!f,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:a===null&&c?c.writable:!a});else if(l||!o&&!a&&!f)e[t]=n;else throw new rf("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var oe=u((wv,dn)=>{"use strict";i();var hr=te(),yn=function(){return!!hr};yn.hasArrayLengthDefineBug=function(){if(!hr)return null;try{return hr([],"length",{value:1}).length!==1}catch{return!0}};dn.exports=yn});var he=u((qv,hn)=>{"use strict";i();var tf=tn(),nf=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",of=Object.prototype.toString,af=Array.prototype.concat,vn=me(),sf=function(r){return typeof r=="function"&&of.call(r)==="[object Function]"},gn=oe()(),uf=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!sf(n)||!n())return}gn?vn(r,e,t,!0):vn(r,e,t)},mn=function(r,e){var t=arguments.length>2?arguments[2]:{},n=tf(e);nf&&(n=af.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)uf(r,n[o],e[n[o]],t[n[o]])};mn.supportsDescriptors=!!gn;hn.exports=mn});var wn=u((Av,bn)=>{"use strict";i();var we=function(){return typeof function(){}.name=="string"},be=Object.getOwnPropertyDescriptor;if(be)try{be([],"length")}catch{be=null}we.functionsHaveConfigurableNames=function(){if(!we()||!be)return!1;var e=be(function(){},"name");return!!e&&!!e.configurable};var ff=Function.prototype.bind;we.boundFunctionsHaveNames=function(){return we()&&typeof ff=="function"&&function(){}.bind().name!==""};bn.exports=we});var Pn=u((Ev,qn)=>{"use strict";i();var Sn=me(),lf=oe()(),cf=wn().functionsHaveConfigurableNames(),pf=p();qn.exports=function(e,t){if(typeof e!="function")throw new pf("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||cf)&&(lf?Sn(e,"name",t,!0,!0):Sn(e,"name",t)),e}});var N=u((Ov,An)=>{"use strict";i();An.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var R=u((Mv,xn)=>{"use strict";i();var yf=Function.prototype.call,df=Object.prototype.hasOwnProperty,vf=J();xn.exports=vf.call(yf,df)});var $=u((Cv,En)=>{"use strict";i();var gf=p(),Se=R(),mf={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};En.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(Se(e,t)&&!mf[t])return!1;var n=Se(e,"[[Value]]")||Se(e,"[[Writable]]"),o=Se(e,"[[Get]]")||Se(e,"[[Set]]");if(n&&o)throw new gf("Property Descriptors may not be both accessor and data descriptors");return!0}});var Ue=u((Rv,On)=>{"use strict";i();var hf=p(),In=R(),bf=$();On.exports=function(e){if(typeof e>"u")return!1;if(!bf(e))throw new hf("Assertion failed: `Desc` must be a Property Descriptor");return!(!In(e,"[[Get]]")&&!In(e,"[[Set]]"))}});var Le=u((Dv,$n)=>{"use strict";i();$n.exports=Object});var br=u((Wv,Mn)=>{"use strict";i();Mn.exports=Error});var Cn=u((kv,Tn)=>{"use strict";i();Tn.exports=EvalError});var Rn=u((Bv,Nn)=>{"use strict";i();Nn.exports=RangeError});var Dn=u((Lv,Fn)=>{"use strict";i();Fn.exports=ReferenceError});var Wn=u((Hv,_n)=>{"use strict";i();_n.exports=URIError});var wr=u((Kv,jn)=>{"use strict";i();jn.exports=Math.abs});var Sr=u((Yv,kn)=>{"use strict";i();kn.exports=Math.floor});var Bn=u((Qv,Gn)=>{"use strict";i();Gn.exports=Math.max});var Ln=u((eg,Un)=>{"use strict";i();Un.exports=Math.min});var Hn=u((tg,Vn)=>{"use strict";i();Vn.exports=Math.pow});var Kn=u((og,zn)=>{"use strict";i();zn.exports=Math.round});var ie=u((ag,Jn)=>{"use strict";i();Jn.exports=Number.isNaN||function(e){return e!==e}});var Xn=u((ug,Yn)=>{"use strict";i();var wf=ie();Yn.exports=function(e){return wf(e)||e===0?e:e<0?-1:1}});var qr=u((lg,Qn)=>{"use strict";i();Qn.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var a in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var f=Object.getOwnPropertySymbols(e);if(f.length!==1||f[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(e,t);if(l.value!==o||l.enumerable!==!0)return!1}return!0}});var Ve=u((pg,eo)=>{"use strict";i();var Zn=typeof Symbol<"u"&&Symbol,Sf=qr();eo.exports=function(){return typeof Zn!="function"||typeof Symbol!="function"||typeof Zn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Sf()}});var Pr=u((dg,ro)=>{"use strict";i();ro.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Ar=u((gg,to)=>{"use strict";i();var qf=Le();to.exports=qf.getPrototypeOf||null});var He=u((hg,no)=>{"use strict";i();no.exports=Function.prototype.call});var ze=u((wg,oo)=>{"use strict";i();oo.exports=Function.prototype.apply});var ao=u((qg,io)=>{"use strict";i();io.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var xr=u((Ag,so)=>{"use strict";i();var Pf=J(),Af=ze(),xf=He(),Ef=ao();so.exports=Ef||Pf.call(xf,Af)});var qe=u((Eg,uo)=>{"use strict";i();var If=J(),Of=p(),$f=He(),Mf=xr();uo.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Of("a function is required");return Mf(If,$f,e)}});var vo=u((Og,yo)=>{"use strict";i();var Tf=qe(),fo=k(),co;try{co=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Er=!!co&&fo&&fo(Object.prototype,"__proto__"),po=Object,lo=po.getPrototypeOf;yo.exports=Er&&typeof Er.get=="function"?Tf([Er.get]):typeof lo=="function"?function(e){return lo(e==null?e:po(e))}:!1});var Ir=u((Mg,bo)=>{"use strict";i();var go=Pr(),mo=Ar(),ho=vo();bo.exports=go?function(e){return go(e)}:mo?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return mo(e)}:ho?function(e){return ho(e)}:null});var q=u((Cg,xo)=>{"use strict";i();var d,Cf=Le(),Nf=br(),Rf=Cn(),Ff=Rn(),Df=Dn(),fe=j(),ue=p(),_f=Wn(),Wf=wr(),jf=Sr(),kf=Bn(),Gf=Ln(),Bf=Hn(),Uf=Kn(),Lf=Xn(),Po=Function,Or=function(r){try{return Po('"use strict"; return ('+r+").constructor;")()}catch{}},Pe=k(),Vf=te(),$r=function(){throw new ue},Hf=Pe?function(){try{return arguments.callee,$r}catch{try{return Pe(arguments,"callee").get}catch{return $r}}}():$r,ae=Ve()(),b=Ir(),zf=Ar(),Kf=Pr(),Ao=ze(),Ae=He(),se={},Jf=typeof Uint8Array>"u"||!b?d:b(Uint8Array),Y={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?d:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?d:ArrayBuffer,"%ArrayIteratorPrototype%":ae&&b?b([][Symbol.iterator]()):d,"%AsyncFromSyncIteratorPrototype%":d,"%AsyncFunction%":se,"%AsyncGenerator%":se,"%AsyncGeneratorFunction%":se,"%AsyncIteratorPrototype%":se,"%Atomics%":typeof Atomics>"u"?d:Atomics,"%BigInt%":typeof BigInt>"u"?d:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?d:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?d:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?d:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Nf,"%eval%":eval,"%EvalError%":Rf,"%Float32Array%":typeof Float32Array>"u"?d:Float32Array,"%Float64Array%":typeof Float64Array>"u"?d:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?d:FinalizationRegistry,"%Function%":Po,"%GeneratorFunction%":se,"%Int8Array%":typeof Int8Array>"u"?d:Int8Array,"%Int16Array%":typeof Int16Array>"u"?d:Int16Array,"%Int32Array%":typeof Int32Array>"u"?d:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ae&&b?b(b([][Symbol.iterator]())):d,"%JSON%":typeof JSON=="object"?JSON:d,"%Map%":typeof Map>"u"?d:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ae||!b?d:b(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Cf,"%Object.getOwnPropertyDescriptor%":Pe,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?d:Promise,"%Proxy%":typeof Proxy>"u"?d:Proxy,"%RangeError%":Ff,"%ReferenceError%":Df,"%Reflect%":typeof Reflect>"u"?d:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?d:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ae||!b?d:b(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?d:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ae&&b?b(""[Symbol.iterator]()):d,"%Symbol%":ae?Symbol:d,"%SyntaxError%":fe,"%ThrowTypeError%":Hf,"%TypedArray%":Jf,"%TypeError%":ue,"%Uint8Array%":typeof Uint8Array>"u"?d:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?d:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?d:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?d:Uint32Array,"%URIError%":_f,"%WeakMap%":typeof WeakMap>"u"?d:WeakMap,"%WeakRef%":typeof WeakRef>"u"?d:WeakRef,"%WeakSet%":typeof WeakSet>"u"?d:WeakSet,"%Function.prototype.call%":Ae,"%Function.prototype.apply%":Ao,"%Object.defineProperty%":Vf,"%Object.getPrototypeOf%":zf,"%Math.abs%":Wf,"%Math.floor%":jf,"%Math.max%":kf,"%Math.min%":Gf,"%Math.pow%":Bf,"%Math.round%":Uf,"%Math.sign%":Lf,"%Reflect.getPrototypeOf%":Kf};if(b)try{null.error}catch(r){wo=b(b(r)),Y["%Error.prototype%"]=wo}var wo,Yf=function r(e){var t;if(e==="%AsyncFunction%")t=Or("async function () {}");else if(e==="%GeneratorFunction%")t=Or("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Or("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&b&&(t=b(o.prototype))}return Y[e]=t,t},So={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},xe=J(),Ke=R(),Xf=xe.call(Ae,Array.prototype.concat),Qf=xe.call(Ao,Array.prototype.splice),qo=xe.call(Ae,String.prototype.replace),Je=xe.call(Ae,String.prototype.slice),Zf=xe.call(Ae,RegExp.prototype.exec),el=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,rl=/\\(\\)?/g,tl=function(e){var t=Je(e,0,1),n=Je(e,-1);if(t==="%"&&n!=="%")throw new fe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new fe("invalid intrinsic syntax, expected opening `%`");var o=[];return qo(e,el,function(a,f,l,c){o[o.length]=l?qo(c,rl,"$1"):f||a}),o},nl=function(e,t){var n=e,o;if(Ke(So,n)&&(o=So[n],n="%"+o[0]+"%"),Ke(Y,n)){var a=Y[n];if(a===se&&(a=Yf(n)),typeof a>"u"&&!t)throw new ue("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new fe("intrinsic "+e+" does not exist!")};xo.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ue("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ue('"allowMissing" argument must be a boolean');if(Zf(/^%?[^%]*%?$/,e)===null)throw new fe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=tl(e),o=n.length>0?n[0]:"",a=nl("%"+o+"%",t),f=a.name,l=a.value,c=!1,v=a.alias;v&&(o=v[0],Qf(n,Xf([0,1],v)));for(var g=1,h=!0;g<n.length;g+=1){var y=n[g],m=Je(y,0,1),P=Je(y,-1);if((m==='"'||m==="'"||m==="`"||P==='"'||P==="'"||P==="`")&&m!==P)throw new fe("property names with quotes must have matching quotes");if((y==="constructor"||!h)&&(c=!0),o+="."+y,f="%"+o+"%",Ke(Y,f))l=Y[f];else if(l!=null){if(!(y in l)){if(!t)throw new ue("base intrinsic for "+e+" exists, but the property is not available.");return}if(Pe&&g+1>=n.length){var A=Pe(l,y);h=!!A,h&&"get"in A&&!("originalValue"in A.get)?l=A.get:l=l[y]}else h=Ke(l,y),l=l[y];h&&!c&&(Y[f]=l)}}return l}});var Io=u((Rg,Eo)=>{"use strict";i();Eo.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var To=u((Dg,Mo)=>{"use strict";i();var $o=q(),ol=$o("%Object.preventExtensions%",!0),il=$o("%Object.isExtensible%",!0),Oo=Io();Mo.exports=ol?function(e){return!Oo(e)&&il(e)}:function(e){return!Oo(e)}});var Fo=u((Wg,Ro)=>{"use strict";i();var No=Function.prototype.toString,le=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Tr,Ye;if(typeof le=="function"&&typeof Object.defineProperty=="function")try{Tr=Object.defineProperty({},"length",{get:function(){throw Ye}}),Ye={},le(function(){throw 42},null,Tr)}catch(r){r!==Ye&&(le=null)}else le=null;var al=/^\s*class\b/,Cr=function(e){try{var t=No.call(e);return al.test(t)}catch{return!1}},Mr=function(e){try{return Cr(e)?!1:(No.call(e),!0)}catch{return!1}},Xe=Object.prototype.toString,sl="[object Object]",ul="[object Function]",fl="[object GeneratorFunction]",ll="[object HTMLAllCollection]",cl="[object HTML document.all class]",pl="[object HTMLCollection]",yl=typeof Symbol=="function"&&!!Symbol.toStringTag,dl=!(0 in[,]),Nr=function(){return!1};typeof document=="object"&&(Co=document.all,Xe.call(Co)===Xe.call(document.all)&&(Nr=function(e){if((dl||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Xe.call(e);return(t===ll||t===cl||t===pl||t===sl)&&e("")==null}catch{}return!1}));var Co;Ro.exports=le?function(e){if(Nr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{le(e,null,Tr)}catch(t){if(t!==Ye)return!1}return!Cr(e)&&Mr(e)}:function(e){if(Nr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(yl)return Mr(e);if(Cr(e))return!1;var t=Xe.call(e);return t!==ul&&t!==fl&&!/^\[object HTML/.test(t)?!1:Mr(e)}});var Qe=u((kg,Do)=>{"use strict";i();Do.exports=Fo()});var Rr=u((Bg,_o)=>{"use strict";i();_o.exports=function(e){return!!e}});var w=u((Lg,Wo)=>{"use strict";i();Wo.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Go=u((Hg,ko)=>{"use strict";i();var M=R(),Ze=p(),jo=Qe(),Fr=Rr(),vl=w();ko.exports=function(e){if(!vl(e))throw new Ze("ToPropertyDescriptor requires an object");var t={};if(M(e,"enumerable")&&(t["[[Enumerable]]"]=Fr(e.enumerable)),M(e,"configurable")&&(t["[[Configurable]]"]=Fr(e.configurable)),M(e,"value")&&(t["[[Value]]"]=e.value),M(e,"writable")&&(t["[[Writable]]"]=Fr(e.writable)),M(e,"get")){var n=e.get;if(typeof n<"u"&&!jo(n))throw new Ze("getter must be a function");t["[[Get]]"]=n}if(M(e,"set")){var o=e.set;if(typeof o<"u"&&!jo(o))throw new Ze("setter must be a function");t["[[Set]]"]=o}if((M(t,"[[Get]]")||M(t,"[[Set]]"))&&(M(t,"[[Value]]")||M(t,"[[Writable]]")))throw new Ze("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Dr=u((Kg,Uo)=>{"use strict";i();var Bo=ie();Uo.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Bo(e)&&Bo(t)}});var E=u((Yg,Ho)=>{"use strict";i();var Lo=q(),Vo=qe(),gl=Vo([Lo("%String.prototype.indexOf%")]);Ho.exports=function(e,t){var n=Lo(e,!!t);return typeof n=="function"&&gl(e,".prototype.")>-1?Vo([n]):n}});var _r=u((Qg,Ko)=>{"use strict";i();var ml=q(),zo=ml("%Array%"),hl=!zo.isArray&&E()("Object.prototype.toString");Ko.exports=zo.isArray||function(e){return hl(e)==="[object Array]"}});var Wr=u((em,Xo)=>{"use strict";i();var bl=oe(),Jo=te(),Yo=bl.hasArrayLengthDefineBug(),wl=Yo&&_r(),Sl=E(),ql=Sl("Object.prototype.propertyIsEnumerable");Xo.exports=function(e,t,n,o,a,f){if(!Jo){if(!e(f)||!f["[[Configurable]]"]||!f["[[Writable]]"]||a in o&&ql(o,a)!==!!f["[[Enumerable]]"])return!1;var l=f["[[Value]]"];return o[a]=l,t(o[a],l)}return Yo&&a==="length"&&"[[Value]]"in f&&wl(o)&&o.length!==f["[[Value]]"]?(o.length=f["[[Value]]"],o.length===f["[[Value]]"]):(Jo(o,a,n(f)),!0)}});var Zo=u((tm,Qo)=>{"use strict";i();var Pl=$();Qo.exports=function(e,t){return Pl(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var jr=u((om,ei)=>{"use strict";i();ei.exports=function(e){if(typeof e>"u")return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}});var ti=u((am,ri)=>{"use strict";i();var Al=p(),xl=$(),El=jr();ri.exports=function(e){if(typeof e<"u"&&!xl(e))throw new Al("Assertion failed: `Desc` must be a Property Descriptor");return El(e)}});var kr=u((um,oi)=>{"use strict";i();var Il=p(),ni=R(),Ol=$();oi.exports=function(e){if(typeof e>"u")return!1;if(!Ol(e))throw new Il("Assertion failed: `Desc` must be a Property Descriptor");return!(!ni(e,"[[Value]]")&&!ni(e,"[[Writable]]"))}});var ai=u((lm,ii)=>{"use strict";i();var $l=p(),Ml=Ue(),Tl=kr(),Cl=$();ii.exports=function(e){if(typeof e>"u")return!1;if(!Cl(e))throw new $l("Assertion failed: `Desc` must be a Property Descriptor");return!Ml(e)&&!Tl(e)}});var ui=u((pm,si)=>{"use strict";i();var Nl=w();si.exports=function(e){if(e===null)return"Null";if(typeof e>"u")return"Undefined";if(Nl(e))return"Object";if(typeof e=="number")return"Number";if(typeof e=="boolean")return"Boolean";if(typeof e=="string")return"String"}});var li=u((dm,fi)=>{"use strict";i();var Rl=ui();fi.exports=function(e){return typeof e=="symbol"?"Symbol":typeof e=="bigint"?"BigInt":Rl(e)}});var yi=u((gm,pi)=>{"use strict";i();var ce=p(),Ee=Wr(),Fl=Zo(),ci=$(),Ie=ti(),X=Ue(),G=kr(),Dl=ai(),_l=N(),T=Dr(),Wl=li(),jl=w();pi.exports=function(e,t,n,o,a){var f=Wl(e);if(typeof e<"u"&&!jl(e))throw new ce("Assertion failed: O must be undefined or an Object");if(!_l(t))throw new ce("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new ce("Assertion failed: extensible must be a Boolean");if(!ci(o))throw new ce("Assertion failed: Desc must be a Property Descriptor");if(typeof a<"u"&&!ci(a))throw new ce("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof a>"u")return n?f==="Undefined"?!0:X(o)?Ee(G,T,Ie,e,t,o):Ee(G,T,Ie,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Fl({IsAccessorDescriptor:X,IsDataDescriptor:G},a))throw new ce("`current`, when present, must be a fully populated and valid Property Descriptor");if(!a["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!T(o["[[Enumerable]]"],a["[[Enumerable]]"])||!Dl(o)&&!T(X(o),X(a)))return!1;if(X(a)){if("[[Get]]"in o&&!T(o["[[Get]]"],a["[[Get]]"])||"[[Set]]"in o&&!T(o["[[Set]]"],a["[[Set]]"]))return!1}else if(!a["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!T(o["[[Value]]"],a["[[Value]]"])))return!1}if(f!=="Undefined"){var l,c;return G(a)&&X(o)?(l=("[[Configurable]]"in o?o:a)["[[Configurable]]"],c=("[[Enumerable]]"in o?o:a)["[[Enumerable]]"],Ee(G,T,Ie,e,t,{"[[Configurable]]":!!l,"[[Enumerable]]":!!c,"[[Get]]":("[[Get]]"in o?o:a)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:a)["[[Set]]"]})):X(a)&&G(o)?(l=("[[Configurable]]"in o?o:a)["[[Configurable]]"],c=("[[Enumerable]]"in o?o:a)["[[Enumerable]]"],Ee(G,T,Ie,e,t,{"[[Configurable]]":!!l,"[[Enumerable]]":!!c,"[[Value]]":("[[Value]]"in o?o:a)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:a)["[[Writable]]"]})):Ee(G,T,Ie,e,t,o)}return!0}});var mi=u((hm,gi)=>{"use strict";i();var di=k(),vi=j(),Gr=p(),kl=$(),Gl=Ue(),Bl=To(),Ul=N(),Ll=Go(),Vl=Dr(),Hl=yi(),zl=w();gi.exports=function(e,t,n){if(!zl(e))throw new Gr("Assertion failed: O must be an Object");if(!Ul(t))throw new Gr("Assertion failed: P must be a Property Key");if(!kl(n))throw new Gr("Assertion failed: Desc must be a Property Descriptor");if(!di){if(Gl(n))throw new vi("This environment does not support accessor property descriptors.");var o=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,a=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(o||a)return e[t]=n["[[Value]]"],Vl(e[t],n["[[Value]]"]);throw new vi("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var f=di(e,t),l=f&&Ll(f),c=Bl(e);return Hl(e,t,c,n,l)}});var wi=u((wm,bi)=>{"use strict";i();var hi=p(),Kl=N(),Jl=mi(),Yl=w();bi.exports=function(e,t,n){if(!Yl(e))throw new hi("Assertion failed: Type(O) is not Object");if(!Kl(t))throw new hi("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return Jl(e,t,o)}});var qi=u((qm,Si)=>{"use strict";i();var Br=p(),Xl=wi(),Ql=w(),Zl=N();Si.exports=function(e,t,n){if(!Ql(e))throw new Br("Assertion failed: Type(O) is not Object");if(!Zl(t))throw new Br("Assertion failed: P is not a Property Key");var o=Xl(e,t,n);if(!o)throw new Br("unable to create data property")}});var Ai=u((Am,Pi)=>{"use strict";i();var ec=p(),rc=$(),tc=jr();Pi.exports=function(e){if(typeof e<"u"&&!rc(e))throw new ec("Assertion failed: `Desc` must be a Property Descriptor");return tc(e)}});var Ii=u((Em,Ei)=>{"use strict";i();var nc=p(),xi=R(),oc=$();Ei.exports=function(e){if(typeof e>"u")return!1;if(!oc(e))throw new nc("Assertion failed: `Desc` must be a Property Descriptor");return!(!xi(e,"[[Value]]")&&!xi(e,"[[Writable]]"))}});var Mi=u((Om,$i)=>{"use strict";i();var Oi=ie();$i.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Oi(e)&&Oi(t)}});var Ni=u((Mm,Ci)=>{"use strict";i();var Ti=p(),ic=Wr(),ac=Ai(),sc=Ii(),uc=N(),fc=Mi(),lc=w();Ci.exports=function(e,t,n){if(!lc(e))throw new Ti("Assertion failed: Type(O) is not Object");if(!uc(t))throw new Ti("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!1,"[[Value]]":n,"[[Writable]]":!0};return ic(sc,fc,ac,e,t,o)}});var Fi=u((Cm,Ri)=>{i();Ri.exports=require("util").inspect});var D=u((Rm,ra)=>{i();var Qr=typeof Map=="function"&&Map.prototype,Ur=Object.getOwnPropertyDescriptor&&Qr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rr=Qr&&Ur&&typeof Ur.get=="function"?Ur.get:null,Di=Qr&&Map.prototype.forEach,Zr=typeof Set=="function"&&Set.prototype,Lr=Object.getOwnPropertyDescriptor&&Zr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,tr=Zr&&Lr&&typeof Lr.get=="function"?Lr.get:null,_i=Zr&&Set.prototype.forEach,cc=typeof WeakMap=="function"&&WeakMap.prototype,$e=cc?WeakMap.prototype.has:null,pc=typeof WeakSet=="function"&&WeakSet.prototype,Me=pc?WeakSet.prototype.has:null,yc=typeof WeakRef=="function"&&WeakRef.prototype,Wi=yc?WeakRef.prototype.deref:null,dc=Boolean.prototype.valueOf,vc=Object.prototype.toString,gc=Function.prototype.toString,mc=String.prototype.match,et=String.prototype.slice,B=String.prototype.replace,hc=String.prototype.toUpperCase,ji=String.prototype.toLowerCase,Ki=RegExp.prototype.test,ki=Array.prototype.concat,C=Array.prototype.join,bc=Array.prototype.slice,Gi=Math.floor,zr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Vr=Object.getOwnPropertySymbols,Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,pe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",S=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===pe||!0)?Symbol.toStringTag:null,Ji=Object.prototype.propertyIsEnumerable,Bi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ui(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Ki.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Gi(-r):Gi(r);if(n!==r){var o=String(n),a=et.call(e,o.length+1);return B.call(o,t,"$&_")+"."+B.call(B.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return B.call(e,t,"$&_")}var Jr=Fi(),Li=Jr.custom,Vi=Qi(Li)?Li:null,Yi={__proto__:null,double:'"',single:"'"},wc={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ra.exports=function r(e,t,n,o){var a=t||{};if(F(a,"quoteStyle")&&!F(Yi,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(F(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var f=F(a,"customInspect")?a.customInspect:!0;if(typeof f!="boolean"&&f!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(F(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(F(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=a.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return ea(e,a);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return l?Ui(e,c):c}if(typeof e=="bigint"){var v=String(e)+"n";return l?Ui(e,v):v}var g=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=g&&g>0&&typeof e=="object")return Yr(e)?"[Array]":"[Object]";var h=Wc(a,n);if(typeof o>"u")o=[];else if(Zi(o,e)>=0)return"[Circular]";function y(re,_e,Du){if(_e&&(o=bc.call(o),o.push(_e)),Du){var Dt={depth:a.depth};return F(a,"quoteStyle")&&(Dt.quoteStyle=a.quoteStyle),r(re,Dt,n+1,o)}return r(re,a,n+1,o)}if(typeof e=="function"&&!Hi(e)){var m=$c(e),P=er(e,y);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(P.length>0?" { "+C.call(P,", ")+" }":"")}if(Qi(e)){var A=pe?B.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kr.call(e);return typeof e=="object"&&!pe?Oe(A):A}if(Fc(e)){for(var x="<"+ji.call(String(e.nodeName)),W=e.attributes||[],ee=0;ee<W.length;ee++)x+=" "+W[ee].name+"="+Xi(Sc(W[ee].value),"double",a);return x+=">",e.childNodes&&e.childNodes.length&&(x+="..."),x+="</"+ji.call(String(e.nodeName))+">",x}if(Yr(e)){if(e.length===0)return"[]";var H=er(e,y);return h&&!_c(H)?"["+Xr(H,h)+"]":"[ "+C.call(H,", ")+" ]"}if(Pc(e)){var z=er(e,y);return!("cause"in Error.prototype)&&"cause"in e&&!Ji.call(e,"cause")?"{ ["+String(e)+"] "+C.call(ki.call("[cause]: "+y(e.cause),z),", ")+" }":z.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+C.call(z,", ")+" }"}if(typeof e=="object"&&f){if(Vi&&typeof e[Vi]=="function"&&Jr)return Jr(e,{depth:g-n});if(f!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Mc(e)){var K=[];return Di&&Di.call(e,function(re,_e){K.push(y(_e,e,!0)+" => "+y(re,e))}),zi("Map",rr.call(e),K,h)}if(Nc(e)){var Nt=[];return _i&&_i.call(e,function(re){Nt.push(y(re,e))}),zi("Set",tr.call(e),Nt,h)}if(Tc(e))return Hr("WeakMap");if(Rc(e))return Hr("WeakSet");if(Cc(e))return Hr("WeakRef");if(xc(e))return Oe(y(Number(e)));if(Ic(e))return Oe(y(zr.call(e)));if(Ec(e))return Oe(dc.call(e));if(Ac(e))return Oe(y(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!qc(e)&&!Hi(e)){var pr=er(e,y),Rt=Bi?Bi(e)===Object.prototype:e instanceof Object||e.constructor===Object,yr=e instanceof Object?"":"null prototype",Ft=!Rt&&S&&Object(e)===e&&S in e?et.call(U(e),8,-1):yr?"Object":"",Fu=Rt||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",dr=Fu+(Ft||yr?"["+C.call(ki.call([],Ft||[],yr||[]),": ")+"] ":"");return pr.length===0?dr+"{}":h?dr+"{"+Xr(pr,h)+"}":dr+"{ "+C.call(pr,", ")+" }"}return String(e)};function Xi(r,e,t){var n=t.quoteStyle||e,o=Yi[n];return o+r+o}function Sc(r){return B.call(String(r),/"/g,""")}function Yr(r){return U(r)==="[object Array]"&&(!S||!(typeof r=="object"&&S in r))}function qc(r){return U(r)==="[object Date]"&&(!S||!(typeof r=="object"&&S in r))}function Hi(r){return U(r)==="[object RegExp]"&&(!S||!(typeof r=="object"&&S in r))}function Pc(r){return U(r)==="[object Error]"&&(!S||!(typeof r=="object"&&S in r))}function Ac(r){return U(r)==="[object String]"&&(!S||!(typeof r=="object"&&S in r))}function xc(r){return U(r)==="[object Number]"&&(!S||!(typeof r=="object"&&S in r))}function Ec(r){return U(r)==="[object Boolean]"&&(!S||!(typeof r=="object"&&S in r))}function Qi(r){if(pe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}function Ic(r){if(!r||typeof r!="object"||!zr)return!1;try{return zr.call(r),!0}catch{}return!1}var Oc=Object.prototype.hasOwnProperty||function(r){return r in this};function F(r,e){return Oc.call(r,e)}function U(r){return vc.call(r)}function $c(r){if(r.name)return r.name;var e=mc.call(gc.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Zi(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function Mc(r){if(!rr||!r||typeof r!="object")return!1;try{rr.call(r);try{tr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function Tc(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r,$e);try{Me.call(r,Me)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Cc(r){if(!Wi||!r||typeof r!="object")return!1;try{return Wi.call(r),!0}catch{}return!1}function Nc(r){if(!tr||!r||typeof r!="object")return!1;try{tr.call(r);try{rr.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Rc(r){if(!Me||!r||typeof r!="object")return!1;try{Me.call(r,Me);try{$e.call(r,$e)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Fc(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function ea(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return ea(et.call(r,0,e.maxStringLength),e)+n}var o=wc[e.quoteStyle||"single"];o.lastIndex=0;var a=B.call(B.call(r,o,"\\$1"),/[\x00-\x1f]/g,Dc);return Xi(a,"single",e)}function Dc(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+hc.call(e.toString(16))}function Oe(r){return"Object("+r+")"}function Hr(r){return r+" { ? }"}function zi(r,e,t,n){var o=n?Xr(t,n):C.call(t,", ");return r+" ("+e+") {"+o+"}"}function _c(r){for(var e=0;e<r.length;e++)if(Zi(r[e],`
|
|
2
|
+
`)>=0)return!1;return!0}function Wc(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=C.call(Array(r.indent+1)," ");else return null;return{base:t,prev:C.call(Array(e+1),t)}}function Xr(r,e){if(r.length===0)return"";var t=`
|
|
3
|
+
`+e.prev+e.base;return t+C.call(r,","+t)+`
|
|
4
|
+
`+e.prev}function er(r,e){var t=Yr(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=F(r,o)?e(r[o],r):""}var a=typeof Vr=="function"?Vr(r):[],f;if(pe){f={};for(var l=0;l<a.length;l++)f["$"+a[l]]=a[l]}for(var c in r)F(r,c)&&(t&&String(Number(c))===c&&c<r.length||pe&&f["$"+c]instanceof Symbol||(Ki.call(/[^\w$]/,c)?n.push(e(c,r)+": "+e(r[c],r)):n.push(c+": "+e(r[c],r))));if(typeof Vr=="function")for(var v=0;v<a.length;v++)Ji.call(r,a[v])&&n.push("["+e(a[v])+"]: "+e(r[a[v]],r));return n}});var rt=u((Dm,ta)=>{"use strict";i();ta.exports=function(e){return typeof e=="number"&&e>=55296&&e<=56319}});var tt=u((Wm,na)=>{"use strict";i();na.exports=function(e){return typeof e=="number"&&e>=56320&&e<=57343}});var aa=u((km,ia)=>{"use strict";i();var jc=q(),kc=p(),oa=jc("%String.fromCharCode%"),Gc=rt(),Bc=tt();ia.exports=function(e,t){if(!Gc(e)||!Bc(t))throw new kc("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return oa(e)+oa(t)}});var pa=u((Bm,ca)=>{"use strict";i();var sa=p(),la=E(),Uc=rt(),ua=tt(),Lc=aa(),Vc=la("String.prototype.charAt"),fa=la("String.prototype.charCodeAt");ca.exports=function(e,t){if(typeof e!="string")throw new sa("Assertion failed: `string` must be a String");var n=e.length;if(t<0||t>=n)throw new sa("Assertion failed: `position` must be >= 0, and < the length of `string`");var o=fa(e,t),a=Vc(e,t),f=Uc(o),l=ua(o);if(!f&&!l)return{"[[CodePoint]]":a,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(l||t+1===n)return{"[[CodePoint]]":a,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var c=fa(e,t+1);return ua(c)?{"[[CodePoint]]":Lc(o,c),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":a,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}});var da=u((Lm,ya)=>{"use strict";i();var Hc=ie();ya.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!Hc(e)&&e!==1/0&&e!==-1/0}});var ga=u((Hm,va)=>{"use strict";i();var zc=wr(),Kc=Sr(),Jc=ie(),Yc=da();va.exports=function(e){if(typeof e!="number"||Jc(e)||!Yc(e))return!1;var t=zc(e);return Kc(t)===t}});var ha=u((Km,ma)=>{"use strict";i();ma.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var wa=u((Ym,ba)=>{"use strict";i();var Xc=pa(),nt=p(),Qc=ga(),Zc=ha();ba.exports=function(e,t,n){if(typeof e!="string")throw new nt("Assertion failed: `S` must be a String");if(!Qc(t)||t<0||t>Zc)throw new nt("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if(typeof n!="boolean")throw new nt("Assertion failed: `unicode` must be a Boolean");if(!n)return t+1;var o=e.length;if(t+1>=o)return t+1;var a=Xc(e,t);return t+a["[[CodeUnitCount]]"]}});var ot=u((Qm,Sa)=>{"use strict";i();var ep=p();Sa.exports=function(e,t){if(typeof t!="boolean")throw new ep("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}}});var Te=u((eh,Pa)=>{"use strict";i();var qa=p(),rp=D(),tp=w(),np=N();Pa.exports=function(e,t){if(!tp(e))throw new qa("Assertion failed: Type(O) is not Object");if(!np(t))throw new qa("Assertion failed: P is not a Property Key, got "+rp(t));return e[t]}});var it=u((th,Aa)=>{"use strict";i();var op=p(),ip=Te(),ap=Rr(),sp=w();Aa.exports=function(e){if(!sp(e))throw new op("Assertion failed: Type(iterResult) is not Object");return ap(ip(e,"done"))}});var at=u((oh,xa)=>{"use strict";i();var up=p(),fp=Te(),lp=w();xa.exports=function(e){if(!lp(e))throw new up("Assertion failed: Type(iterResult) is not Object");return fp(e,"value")}});var Ma=u((ah,$a)=>{"use strict";i();var cp=q(),Ea=me(),pp=oe()(),Ia=k(),Oa=p(),yp=cp("%Math.floor%");$a.exports=function(e,t){if(typeof e!="function")throw new Oa("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||yp(t)!==t)throw new Oa("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,a=!0;if("length"in e&&Ia){var f=Ia(e,"length");f&&!f.configurable&&(o=!1),f&&!f.writable&&(a=!1)}return(o||a||!n)&&(pp?Ea(e,"length",t,!0,!0):Ea(e,"length",t)),e}});var Ca=u((uh,Ta)=>{"use strict";i();var dp=J(),vp=ze(),gp=xr();Ta.exports=function(){return gp(dp,vp,arguments)}});var Fa=u((lh,nr)=>{"use strict";i();var mp=Ma(),Na=te(),hp=qe(),Ra=Ca();nr.exports=function(e){var t=hp(arguments),n=e.length-(arguments.length-1);return mp(t,1+(n>0?n:0),!0)};Na?Na(nr.exports,"apply",{value:Ra}):nr.exports.apply=Ra});var ja=u((ph,Wa)=>{"use strict";i();var bp=q(),wp=Fa(),Sp=j(),Da=bp("%Promise.resolve%",!0),_a=Da&&wp(Da);Wa.exports=function(e,t){if(!_a)throw new Sp("This environment does not support Promises.");return _a(e,t)}});var Ba=u((dh,Ga)=>{"use strict";i();var qp=q(),ka=j(),Pp=p(),st=qp("%Promise%",!0),Ap=E(),xp=ot(),Ep=it(),Ip=at(),Op=ja(),$p=w(),Mp=Ap("Promise.prototype.then",!0);Ga.exports=function(e){if(!$p(e))throw new Pp("Assertion failed: Type(O) is not Object");if(arguments.length>1)throw new ka("although AsyncFromSyncIteratorContinuation should take a second argument, it is not used in this implementation");if(!st)throw new ka("This environment does not support Promises.");return new st(function(t){var n=Ep(e),o=Ip(e),a=Op(st,o),f=function(l){return xp(l,n)};t(Mp(a,f))})}});var or=u((gh,Ua)=>{"use strict";i();Ua.exports=_r()});var ir=u((hh,La)=>{"use strict";i();var Tp=q(),Cp=E(),Np=p(),Rp=or(),Fp=Tp("%Reflect.apply%",!0)||Cp("Function.prototype.apply");La.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!Rp(n))throw new Np("Assertion failed: optional `argumentsList`, if provided, must be a List");return Fp(e,t,n)}});var Ha=u((wh,Va)=>{"use strict";i();var Dp=p(),_p=D(),Wp=N();Va.exports=function(e,t){if(!Wp(t))throw new Dp("Assertion failed: P is not a Property Key, got "+_p(t));return e[t]}});var ut=u((qh,Ja)=>{"use strict";i();var za=p(),jp=Ha(),kp=Qe(),Gp=N(),Ka=D();Ja.exports=function(e,t){if(!Gp(t))throw new za("Assertion failed: P is not a Property Key");var n=jp(e,t);if(n!=null){if(!kp(n))throw new za(Ka(t)+" is not a function: "+Ka(n));return n}}});var Ce=u((Ah,Ya)=>{"use strict";i();var ft=R();Ya.exports=function(e){return!!e&&typeof e=="object"&&ft(e,"[[Iterator]]")&&ft(e,"[[NextMethod]]")&&ft(e,"[[Done]]")&&typeof e["[[Done]]"]=="boolean"}});var lt=u((Eh,Za)=>{"use strict";i();var Xa=p(),Qa=ir(),Bp=w(),Up=Ce();Za.exports=function(e){if(!Up(e))throw new Xa("Assertion failed: `iteratorRecord` must be an Iterator Record");var t;if(arguments.length<2?t=Qa(e["[[NextMethod]]"],e["[[Iterator]]"]):t=Qa(e["[[NextMethod]]"],e["[[Iterator]]"],[arguments[1]]),!Bp(t))throw new Xa("iterator next must return an object");return t}});var rs=u((Oh,es)=>{"use strict";i();es.exports=function(e,t){for(var n=0;n<e.length;n+=1)t(e[n],n,e)}});var ns=u((Mh,ts)=>{"use strict";i();var Lp=D(),Vp=p(),ar=function(r,e,t){for(var n=r,o;(o=n.next)!=null;n=o)if(o.key===e)return n.next=o.next,t||(o.next=r.next,r.next=o),o},Hp=function(r,e){if(r){var t=ar(r,e);return t&&t.value}},zp=function(r,e,t){var n=ar(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},Kp=function(r,e){return r?!!ar(r,e):!1},Jp=function(r,e){if(r)return ar(r,e,!0)};ts.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new Vp("Side channel does not contain "+Lp(n))},delete:function(n){var o=e&&e.next,a=Jp(e,n);return a&&o&&o===a&&(e=void 0),!!a},get:function(n){return Hp(e,n)},has:function(n){return Kp(e,n)},set:function(n,o){e||(e={next:void 0}),zp(e,n,o)}};return t}});var ct=u((Ch,is)=>{"use strict";i();var Yp=q(),Ne=E(),Xp=D(),Qp=p(),os=Yp("%Map%",!0),Zp=Ne("Map.prototype.get",!0),ey=Ne("Map.prototype.set",!0),ry=Ne("Map.prototype.has",!0),ty=Ne("Map.prototype.delete",!0),ny=Ne("Map.prototype.size",!0);is.exports=!!os&&function(){var e,t={assert:function(n){if(!t.has(n))throw new Qp("Side channel does not contain "+Xp(n))},delete:function(n){if(e){var o=ty(e,n);return ny(e)===0&&(e=void 0),o}return!1},get:function(n){if(e)return Zp(e,n)},has:function(n){return e?ry(e,n):!1},set:function(n,o){e||(e=new os),ey(e,n,o)}};return t}});var ss=u((Rh,as)=>{"use strict";i();var oy=q(),ur=E(),iy=D(),sr=ct(),ay=p(),ye=oy("%WeakMap%",!0),sy=ur("WeakMap.prototype.get",!0),uy=ur("WeakMap.prototype.set",!0),fy=ur("WeakMap.prototype.has",!0),ly=ur("WeakMap.prototype.delete",!0);as.exports=ye?function(){var e,t,n={assert:function(o){if(!n.has(o))throw new ay("Side channel does not contain "+iy(o))},delete:function(o){if(ye&&o&&(typeof o=="object"||typeof o=="function")){if(e)return ly(e,o)}else if(sr&&t)return t.delete(o);return!1},get:function(o){return ye&&o&&(typeof o=="object"||typeof o=="function")&&e?sy(e,o):t&&t.get(o)},has:function(o){return ye&&o&&(typeof o=="object"||typeof o=="function")&&e?fy(e,o):!!t&&t.has(o)},set:function(o,a){ye&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new ye),uy(e,o,a)):sr&&(t||(t=sr()),t.set(o,a))}};return n}:sr});var fs=u((Dh,us)=>{"use strict";i();var cy=p(),py=D(),yy=ns(),dy=ct(),vy=ss(),gy=vy||dy||yy;us.exports=function(){var e,t={assert:function(n){if(!t.has(n))throw new cy("Side channel does not contain "+py(n))},delete:function(n){return!!e&&e.delete(n)},get:function(n){return e&&e.get(n)},has:function(n){return!!e&&e.has(n)},set:function(n,o){e||(e=gy()),e.set(n,o)}};return t}});var yt=u((Wh,ls)=>{"use strict";i();var my=R(),Re=fs()(),_=p(),pt={assert:function(r,e){if(!r||typeof r!="object"&&typeof r!="function")throw new _("`O` is not an object");if(typeof e!="string")throw new _("`slot` must be a string");if(Re.assert(r),!pt.has(r,e))throw new _("`"+e+"` is not present on `O`")},get:function(r,e){if(!r||typeof r!="object"&&typeof r!="function")throw new _("`O` is not an object");if(typeof e!="string")throw new _("`slot` must be a string");var t=Re.get(r);return t&&t["$"+e]},has:function(r,e){if(!r||typeof r!="object"&&typeof r!="function")throw new _("`O` is not an object");if(typeof e!="string")throw new _("`slot` must be a string");var t=Re.get(r);return!!t&&my(t,"$"+e)},set:function(r,e,t){if(!r||typeof r!="object"&&typeof r!="function")throw new _("`O` is not an object");if(typeof e!="string")throw new _("`slot` must be a string");var n=Re.get(r);n||(n={},Re.set(r,n)),n["$"+e]=t}};Object.freeze&&Object.freeze(pt);ls.exports=pt});var ps=u((kh,cs)=>{"use strict";i();var dt={__proto__:null,foo:{}},hy={__proto__:dt}.foo===dt.foo&&!(dt instanceof Object);cs.exports=function(){return hy}});var gs=u((Bh,vs)=>{"use strict";i();var by=q(),ys=by("%Object.create%",!0),ds=p(),wy=j(),Sy=or(),qy=rs(),Py=w(),Ay=yt(),xy=ps()();vs.exports=function(e){if(e!==null&&!Py(e))throw new ds("Assertion failed: `proto` must be null or an object");var t=arguments.length<2?[]:arguments[1];if(!Sy(t))throw new ds("Assertion failed: `additionalInternalSlotsList` must be an Array");var n;if(ys)n=ys(e);else if(xy)n={__proto__:e};else{if(e===null)throw new wy("native Object.create support is required to create null objects");var o=function(){};o.prototype=e,n=new o}return t.length>0&&qy(t,function(a){Ay.set(n,a,void 0)}),n}});var qs=u((Lh,Ss)=>{"use strict";i();var ws=q(),vt=j(),mt=p(),de=ws("%Promise%",!0),gt=Ba(),L=ir(),Ey=ot(),Iy=Te(),ms=ut(),hs=lt(),Oy=gs(),bs=w(),$y=Ce(),Q=yt(),My=ws("%AsyncFromSyncIteratorPrototype%",!0)||{next:function(e){if(!de)throw new vt("This environment does not support Promises.");var t=this;Q.assert(t,"[[SyncIteratorRecord]]");var n=arguments.length;return new de(function(o){var a=Q.get(t,"[[SyncIteratorRecord]]"),f;n>0?f=hs(a,e):f=hs(a),o(gt(f))})},return:function(){if(!de)throw new vt("This environment does not support Promises.");var r=this;Q.assert(r,"[[SyncIteratorRecord]]");var e=arguments.length>0,t=e?arguments[0]:void 0;return new de(function(n,o){var a=Q.get(r,"[[SyncIteratorRecord]]")["[[Iterator]]"],f=ms(a,"return");if(typeof f>"u"){var l=Ey(t,!0);L(n,void 0,[l]);return}var c;if(e?c=L(f,a,[t]):c=L(f,a),!bs(c)){L(o,void 0,[new mt("Iterator `return` method returned a non-object value.")]);return}n(gt(c))})},throw:function(){if(!de)throw new vt("This environment does not support Promises.");var r=this;Q.assert(r,"[[SyncIteratorRecord]]");var e=arguments.length>0,t=e?arguments[0]:void 0;return new de(function(n,o){var a=Q.get(r,"[[SyncIteratorRecord]]")["[[Iterator]]"],f=ms(a,"throw");if(typeof f>"u"){L(o,void 0,[t]);return}var l;if(e?l=L(f,a,[t]):l=L(f,a),!bs(l)){L(o,void 0,[new mt("Iterator `throw` method returned a non-object value.")]);return}n(gt(l))})}};Ss.exports=function(e){if(!$y(e))throw new mt("Assertion failed: `syncIteratorRecord` must be an Iterator Record");var t=Oy(My);Q.set(t,"[[SyncIteratorRecord]]",e);var n=Iy(t,"next");return{"[[Iterator]]":t,"[[NextMethod]]":n,"[[Done]]":!1}}});var xs=u((Hh,As)=>{"use strict";i();var Ps=p(),Ty=ir(),Cy=Te(),Ny=Qe(),Ry=w();As.exports=function(e,t){if(!Ny(t))throw new Ps("method must be a function");var n=Ty(t,e);if(!Ry(n))throw new Ps("iterator must return an object");var o=Cy(n,"next");return{"[[Iterator]]":n,"[[NextMethod]]":o,"[[Done]]":!1}}});var Is=u((Kh,Es)=>{"use strict";i();var Fy=qr();Es.exports=function(){return Fy()&&!!Symbol.toStringTag}});var Ms=u((Yh,$s)=>{"use strict";i();var Os=E(),Dy=Os("String.prototype.valueOf"),_y=function(e){try{return Dy(e),!0}catch{return!1}},Wy=Os("Object.prototype.toString"),jy="[object String]",ky=Is()();$s.exports=function(e){return typeof e=="string"?!0:!e||typeof e!="object"?!1:ky?_y(e):Wy(e)===jy}});var Ns=u((Qh,Cs)=>{"use strict";i();var Gy=Ve()(),Ts=q(),By=E(),Uy=Ms(),Ly=Ts("%Symbol.iterator%",!0),Vy=By("String.prototype.slice"),Hy=Ts("%String%");Cs.exports=function(e,t){var n;return Gy?n=e.GetMethod(t,Ly):e.IsArray(t)?n=function(){var o=-1,a=this;return{next:function(){return o+=1,{done:o>=a.length,value:a[o]}}}}:Uy(t)&&(n=function(){var o=0;return{next:function(){var a=e.AdvanceStringIndex(Hy(t),o,!0),f=Vy(t,o,a);return o=a,{done:a>t.length,value:f}}}}),n}});var Ws=u((eb,_s)=>{"use strict";i();var zy=q(),ht=p(),Rs=zy("%Symbol.asyncIterator%",!0),Ky=D(),Jy=Ve()(),Yy=wa(),Xy=qs(),Fs=xs(),Ds=ut(),Qy=or(),Zy={AdvanceStringIndex:Yy,GetMethod:Ds,IsArray:Qy},ed=Ns();_s.exports=function(e,t){if(t!=="SYNC"&&t!=="ASYNC")throw new ht("Assertion failed: `kind` must be one of 'sync' or 'async', got "+Ky(t));var n;if(t==="ASYNC"&&Jy&&Rs&&(n=Ds(e,Rs)),typeof n>"u"){var o=ed(Zy,e);if(t==="ASYNC"){if(typeof o>"u")throw new ht("iterator method is `undefined`");var a=Fs(e,o);return Xy(a)}n=o}if(typeof n>"u")throw new ht("iterator method is `undefined`");return Fs(e,n)}});var ks=u((tb,js)=>{"use strict";i();var rd=p(),td=it(),nd=lt(),od=Ce();js.exports=function(e){if(!od(e))throw new rd("Assertion failed: `iteratorRecord` must be an Iterator Record");var t=nd(e),n=td(t);return n===!0?!1:t}});var Bs=u((ob,Gs)=>{"use strict";i();var id=p(),ad=E(),sd=ad("Array.prototype.push"),ud=ks(),fd=at(),ld=Ce();Gs.exports=function(e){if(!ld(e))throw new id("Assertion failed: `iteratorRecord` must be an Iterator Record");for(var t=[],n=!0;n;)if(n=ud(e),n){var o=fd(n);sd(t,o)}return t}});var Ls=u((ab,Us)=>{"use strict";i();Us.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Hs=u((ub,Vs)=>{"use strict";i();var cd=Le();Vs.exports=cd.setPrototypeOf||null});var Ys=u((lb,Js)=>{"use strict";i();var pd=qe(),zs=k(),yd=p(),Ks={};try{Ks.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var dd=!("toString"in Ks),bt=zs&&zs(Object.prototype,"__proto__");Js.exports=dd&&(!!bt&&typeof bt.set=="function"&&pd([bt.set])||function(e,t){if(e==null)throw new yd("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var eu=u((pb,Zs)=>{"use strict";i();var Xs=Ls(),vd=Hs(),Qs=Ys(),gd=p();Zs.exports=Xs?function(e,t){if(Xs(e,t))return e;throw new gd("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:vd||(Qs?function(e,t){return Qs(e,t),e}:null)});var ou=u((db,nu)=>{"use strict";i();var ru=p(),tu=Ir(),md=w();nu.exports=function(e){if(!md(e))throw new ru("Assertion failed: O must be an Object");if(!tu)throw new ru("This environment does not support fetching prototypes.");return tu(e)}});var au=u((gb,iu)=>{"use strict";i();var hd=p(),bd=eu(),wd=ou(),Sd=w();iu.exports=function(e,t){if(t!==null&&!Sd(t))throw new hd("Assertion failed: V must be Object or Null");try{bd(e,t)}catch{return!1}return wd(e)===t}});var St=u((hb,fu)=>{"use strict";i();var qd=qi(),wt=Ni(),Pd=Ws(),Ad=oe()(),xd=Bs(),su=au(),uu=br();function Fe(r,e){var t=new uu(e);su(t,fr),delete t.constructor;var n=xd(Pd(r,"SYNC"));return qd(t,"errors",n),t}Ad&&Object.defineProperty(Fe,"prototype",{writable:!1});var fr=Fe.prototype;if(!wt(fr,"constructor",Fe)||!wt(fr,"message","")||!wt(fr,"name","AggregateError"))throw new uu("unable to install AggregateError.prototype properties; please report this!");su(Fe.prototype,Error.prototype);fu.exports=Fe});var qt=u((wb,lu)=>{"use strict";i();var Ed=St();lu.exports=function(){return typeof AggregateError=="function"?AggregateError:Ed}});var Pt=u((qb,cu)=>{"use strict";i();cu.exports=global});var At=u((Ab,pu)=>{"use strict";i();var Id=Pt();pu.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?Id:global}});var du=u((Eb,yu)=>{"use strict";i();var Od=he(),$d=k(),Md=At();yu.exports=function(){var e=Md();if(Od.supportsDescriptors){var t=$d(e,"globalThis");(!t||t.configurable&&(t.enumerable||!t.writable||globalThis!==e))&&Object.defineProperty(e,"globalThis",{configurable:!0,enumerable:!1,value:e,writable:!0})}else(typeof globalThis!="object"||globalThis!==e)&&(e.globalThis=e);return e}});var hu=u((Ob,mu)=>{"use strict";i();var Td=he(),Cd=Pt(),vu=At(),Nd=du(),Rd=vu(),gu=function(){return Rd};Td(gu,{getPolyfill:vu,implementation:Cd,shim:Nd});mu.exports=gu});var Su=u((Mb,wu)=>{"use strict";i();var Fd=he(),bu=hu()(),Dd=qt();wu.exports=function(){var e=Dd();return Fd(bu,{AggregateError:e},{AggregateError:function(){return bu.AggregateError!==e}}),e}});var Au=u((Cb,Pu)=>{"use strict";i();var _d=J(),Wd=he(),jd=Pn(),kd=me(),Gd=St(),qu=qt(),Bd=Su(),xt=qu(),Et=jd(_d.call(xt),xt.name,!0);kd(Et,"prototype",xt.prototype,!0,!0,!0,!0);Wd(Et,{getPolyfill:qu,implementation:Gd,shim:Bd});Pu.exports=Et});var Jd={};Uu(Jd,{createScanner:()=>Kd,getPackageExports:()=>Ru,serializationExportsFields:()=>Mt});module.exports=Lu(Jd);i();var lr=O(require("fs/promises")),cr=O(require("url")),Cu=O(require("module")),Ct=O(require("path")),V=O(require("worker_threads"));i();var I=require("@babel/core");i();var It=O(require("path")),xu=O(require("fs")),Eu=O(require("os"));var Ud=O(require("magic-string")),Iu=O(Au());function De(r,e){let t=It.default.dirname(r),n=It.default.join(t,e);return xu.default.existsSync(n)?n:De(t,e)}function Z(r){return r.length}function Ou(r,e){if(!r)throw new Error(e)}var $t=new Function("specifier","return import(specifier)");var $u=(()=>{let r=Eu.default.cpus()||{length:1};return Math.max(1,r.length-1)})(),Ot=class{maxConcurrent;queue;running;errors;constructor(e){this.maxConcurrent=e,this.queue=[],this.running=0,this.errors=[]}enqueue(e){this.queue.push(e),this.run()}async run(){for(;this.running<this.maxConcurrent&&this.queue.length;){let e=this.queue.shift();this.running++;try{await e?.()}catch(t){this.errors.push(t)}finally{this.running--,this.run()}}}async wait(){for(;this.running;)await new Promise(e=>setTimeout(e,0));if(Z(this.errors))throw new Iu.default(this.errors,"failed")}};function Mu(r){return new Ot(r)}async function Tu(r){let e=await(0,I.parse)(r,{babelrc:!1,configFile:!1}),{body:t}=e.program;if(!Z(t))return;let n=t[0];if(I.types.isVariableDeclaration(n)){let f=n.declarations[0].id;if(I.types.isIdentifier(f))return f.name}let o="",a="";return(0,I.traverse)(e,{ExpressionStatement:f=>{if(I.types.isCallExpression(f.node.expression)&&I.types.isFunctionExpression(f.node.expression.callee)){let l=f.node.expression.callee.params;Z(l)&&l[0].type==="Identifier"&&!a&&(a=l[0].name)}},AssignmentExpression:f=>{if(o)return f.skip();let l=f.get("left");if(l.node.type==="MemberExpression"){let{start:c,end:v}=l.node.object;new RegExp(a||"global","i").test(r.slice(c,v))&&I.types.isIdentifier(l.node.property)&&(o||(o=l.node.property.name))}}}),o}var Nu=Cu.default.createRequire(s),Ld=cr.default.fileURLToPath(s);function Vd(r,e){let{port1:t,port2:n}=new V.default.MessageChannel,o=new V.default.Worker(Ld,{workerData:{workerPort:n,internalThread:!0,scannerModule:r.modules,defaultWd:e},transferList:[n],execArgv:[]}),a=0;return o.unref(),(()=>{let l=new SharedArrayBuffer(4),c=new Int32Array(l);o.postMessage({sharedBuffer:l,id:a});let v=Atomics.wait(c,0,0);if(v!=="ok"&&v!=="not-equal")throw new Error("Internal error: Atomics.wait() failed: "+v);let{message:g}=V.default.receiveMessageOnPort(t);if(g.id!==a)throw new Error(`Internal error: Expected id ${a} but got id ${g.id}`);if(g.error)throw g.error;let{bindings:h,failedModules:y}=g;return{dependencies:h,failedModules:y}})()}function Mt(r,e=[]){return e.filter(t=>t!==".").map(t=>Ct.default.posix.join(r,t))}async function Ru(...r){let e;switch(Z(r)){case 1:{let o=r[0];if(typeof o!="string")throw new Error("Invalid type");e=await $t(cr.default.pathToFileURL(o));break}case 2:{let[o,a]=r;if(typeof o!="object")throw new Error("Invalid type");let f=Nu.resolve(o.name,{paths:[a]});e=await $t(cr.default.pathToFileURL(f));break}}let t=Object.keys(e);if(t.includes("default")&&Z(t)!==1){let o=t.findIndex(a=>a==="default");t.splice(o,1),t.push(...Object.keys(e.default))}return new Set(t.filter(o=>o!=="__esModule"))}async function Hd(r,e,t,n){let{name:o,relativeModule:a,aliases:f,...l}=r;try{let c=Nu.resolve(o,{paths:[n]}),v=De(c,"package.json"),g=await lr.default.readFile(v,"utf8"),h=JSON.parse(g),{version:y,name:m,unpkg:P,jsdelivr:A}=h;if(!y||!m){let H=De(Ct.default.dirname(v),"package.json"),z=await lr.default.readFile(H,"utf8"),K=JSON.parse(z);y=y||K.version,m=m||K.name,P=P||K.unpkg,A=A||K.jsdelivr}let x=Object.create(null),W=a||A||P;if(!W)throw new Error("try resolve file failed.");if(l.global)Object.assign(x,{name:m,version:y,relativeModule:W,aliases:Mt(m,f),...l});else{let H=De(v,W),z=await lr.default.readFile(H,"utf8");Object.assign(x,{name:m,version:y,code:z,relativeModule:W,aliases:Mt(m,f),...l})}let ee=await Ru(c);e.set(m,{...x,bindings:ee})}catch(c){let v=c instanceof Error?"code"in c&&c.code==="MODULE_NOT_FOUND"?"can't find module.":c.message:c;t.set(o,v)}}function zd(){if(!V.default.workerData.internalThread)return;let{workerPort:r,scannerModule:e,defaultWd:t}=V.default.workerData,{parentPort:n}=V.default,o=new Map,a=new Map;n?.on("message",f=>{(async()=>{let{id:l,sharedBuffer:c}=f,v=new Int32Array(c);try{let g=new Map,h=Mu($u);for(let y of e)h.enqueue(()=>Hd(y,o,a,t));await h.wait();for(let y of e){let{name:m}=y;if(o.has(m)){let{code:P,...A}=o.get(m);if(!P){g.set(m,A);continue}let x=await Tu(P);x?g.set(m,{...A,global:x}):a.set(m,"try resolve global name failed.")}}o.clear(),r.postMessage({bindings:g,id:l,failedModules:a})}catch(g){r.postMessage({error:g,id:l})}Atomics.add(v,0,1),Atomics.notify(v,0,1/0)})()})}V.default.workerData?.internalThread&&zd();var Tt=class{modules;dependencies;failedModules;defaultWd;constructor(e){this.modules=e,this.dependencies=new Map,this.failedModules=new Map,this.defaultWd=process.cwd()}setDefaultWd(e){this.defaultWd=e}scanAllDependencies(){let e=Vd(this.serialization(this.modules),this.defaultWd);this.dependencies=e.dependencies,this.failedModules=e.failedModules}serialization(e){Ou(Array.isArray(e),"vite-plugin-cdn2: option module must be array");let t=[],n=new Set;for(let o of e){if(typeof o=="string"){if(n.has(o)||!o)continue;t.push({name:o}),n.add(o);continue}!o.name||n.has(o.name)||(t.push(o),n.add(o.name))}return{modules:t}}};function Kd(r){return new Tt(r)}0&&(module.exports={createScanner,getPackageExports,serializationExportsFields});
|
|
5
|
+
//# sourceMappingURL=scanner.js.map
|