import{M as j,N as Sr}from"./index-808fa7dd.js";var q=Object.prototype.toString,yr=function(r){var e=q.call(r),t=e==="[object Arguments]";return t||(t=e!=="[object Array]"&&r!==null&&typeof r=="object"&&typeof r.length=="number"&&r.length>=0&&q.call(r.callee)==="[object Function]"),t},N,H;function wr(){if(H)return N;H=1;var o;if(!Object.keys){var r=Object.prototype.hasOwnProperty,e=Object.prototype.toString,t=yr,n=Object.prototype.propertyIsEnumerable,p=!n.call({toString:null},"toString"),u=n.call(function(){},"prototype"),y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(l){var i=l.constructor;return i&&i.prototype===l},v={$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},c=function(){if(typeof window>"u")return!1;for(var l in window)try{if(!v["$"+l]&&r.call(window,l)&&window[l]!==null&&typeof window[l]=="object")try{s(window[l])}catch{return!0}}catch{return!0}return!1}(),b=function(l){if(typeof window>"u"||!c)return s(l);try{return s(l)}catch{return!1}};o=function(i){var d=i!==null&&typeof i=="object",m=e.call(i)==="[object Function]",Y=t(i),hr=d&&e.call(i)==="[object String]",$=[];if(!d&&!m&&!Y)throw new TypeError("Object.keys called on a non-object");var Ar=u&&m;if(hr&&i.length>0&&!r.call(i,0))for(var k=0;k0)for(var _=0;_"u"||!f?a:f(Uint8Array),A={"%AggregateError%":typeof AggregateError>"u"?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?a:ArrayBuffer,"%ArrayIteratorPrototype%":P&&f?f([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":w,"%AsyncGenerator%":w,"%AsyncGeneratorFunction%":w,"%AsyncIteratorPrototype%":w,"%Atomics%":typeof Atomics>"u"?a:Atomics,"%BigInt%":typeof BigInt>"u"?a:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?a:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?a:Float32Array,"%Float64Array%":typeof Float64Array>"u"?a:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?a:FinalizationRegistry,"%Function%":pr,"%GeneratorFunction%":w,"%Int8Array%":typeof Int8Array>"u"?a:Int8Array,"%Int16Array%":typeof Int16Array>"u"?a:Int16Array,"%Int32Array%":typeof Int32Array>"u"?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&f?f(f([][Symbol.iterator]())):a,"%JSON%":typeof JSON=="object"?JSON:a,"%Map%":typeof Map>"u"?a:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!f?a:f(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?a:Promise,"%Proxy%":typeof Proxy>"u"?a:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?a:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?a:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!f?a:f(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&f?f(""[Symbol.iterator]()):a,"%Symbol%":P?Symbol:a,"%SyntaxError%":I,"%ThrowTypeError%":Nr,"%TypedArray%":Cr,"%TypeError%":E,"%Uint8Array%":typeof Uint8Array>"u"?a:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?a:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?a:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?a:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?a:WeakMap,"%WeakRef%":typeof WeakRef>"u"?a:WeakRef,"%WeakSet%":typeof WeakSet>"u"?a:WeakSet};if(f)try{null.error}catch(o){var Wr=f(f(o));A["%Error.prototype%"]=Wr}var Jr=function o(r){var e;if(r==="%AsyncFunction%")e=C("async function () {}");else if(r==="%GeneratorFunction%")e=C("function* () {}");else if(r==="%AsyncGeneratorFunction%")e=C("async function* () {}");else if(r==="%AsyncGenerator%"){var t=o("%AsyncGeneratorFunction%");t&&(e=t.prototype)}else if(r==="%AsyncIteratorPrototype%"){var n=o("%AsyncGenerator%");n&&f&&(e=f(n.prototype))}return A[r]=e,e},er={"%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"]},R=lr,T=Gr,Lr=R.call(Function.call,Array.prototype.concat),Vr=R.call(Function.apply,Array.prototype.splice),tr=R.call(Function.call,String.prototype.replace),D=R.call(Function.call,String.prototype.slice),zr=R.call(Function.call,RegExp.prototype.exec),Kr=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Yr=/\\(\\)?/g,qr=function(r){var e=D(r,0,1),t=D(r,-1);if(e==="%"&&t!=="%")throw new I("invalid intrinsic syntax, expected closing `%`");if(t==="%"&&e!=="%")throw new I("invalid intrinsic syntax, expected opening `%`");var n=[];return tr(r,Kr,function(p,u,y,s){n[n.length]=y?tr(s,Yr,"$1"):u||p}),n},Hr=function(r,e){var t=r,n;if(T(er,t)&&(n=er[t],t="%"+n[0]+"%"),T(A,t)){var p=A[t];if(p===w&&(p=Jr(t)),typeof p>"u"&&!e)throw new E("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:n,name:t,value:p}}throw new I("intrinsic "+r+" does not exist!")},z=function(r,e){if(typeof r!="string"||r.length===0)throw new E("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof e!="boolean")throw new E('"allowMissing" argument must be a boolean');if(zr(/^%?[^%]*%?$/,r)===null)throw new I("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var t=qr(r),n=t.length>0?t[0]:"",p=Hr("%"+n+"%",e),u=p.name,y=p.value,s=!1,v=p.alias;v&&(n=v[0],Vr(t,Lr([0,1],v)));for(var c=1,b=!0;c=t.length){var m=h(y,l);b=!!m,b&&"get"in m&&!("originalValue"in m.get)?y=m.get:y=y[l]}else b=T(y,l),y=y[l];b&&!s&&(A[u]=y)}}return y},Xr=z,L=Xr("%Object.defineProperty%",!0),V=function(){if(L)try{return L({},"a",{value:1}),!0}catch{return!1}return!1};V.hasArrayLengthDefineBug=function(){if(!V())return null;try{return L([],"length",{value:1}).length!==1}catch{return!0}};var sr=V,J,or;function Qr(){if(or)return J;or=1;var o=z,r=o("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch{r=null}return J=r,J}var Zr=sr(),K=z,nr=Zr&&K("%Object.defineProperty%",!0),re=K("%SyntaxError%"),S=K("%TypeError%"),ar=Qr(),ee=function(r,e,t){if(!r||typeof r!="object"&&typeof r!="function")throw new S("`obj` must be an object or a function`");if(typeof e!="string"&&typeof e!="symbol")throw new S("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new S("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new S("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new S("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new S("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,p=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,s=!!ar&&ar(r,e);if(nr)nr(r,e,{configurable:u===null&&s?s.configurable:!u,enumerable:n===null&&s?s.enumerable:!n,value:t,writable:p===null&&s?s.writable:!p});else if(y||!n&&!p&&!u)r[e]=t;else throw new re("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},te=Ir,oe=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",ne=Object.prototype.toString,ae=Array.prototype.concat,ir=ee,ie=function(o){return typeof o=="function"&&ne.call(o)==="[object Function]"},fr=sr(),ye=function(o,r,e,t){if(r in o){if(t===!0){if(o[r]===e)return}else if(!ie(t)||!t())return}fr?ir(o,r,e,!0):ir(o,r,e)},ur=function(o,r){var e=arguments.length>2?arguments[2]:{},t=te(r);oe&&(t=ae.call(t,Object.getOwnPropertySymbols(r)));for(var n=0;n{mr[o]=O});U.console=console.hasOwnProperty("log")?console:mr;U.console.error,U.console.info,U.console.log,U.console.warn;const g=Object.create(null);g.Float32Array=Float32Array;g.Float64Array=Float64Array;g.Uint8Array=Uint8Array;g.Int8Array=Int8Array;g.Uint16Array=Uint16Array;g.Int16Array=Int16Array;g.Uint32Array=Uint32Array;g.Int32Array=Int32Array;g.Uint8ClampedArray=Uint8ClampedArray;try{g.BigInt64Array=BigInt64Array,g.BigUint64Array=BigUint64Array}catch{}