@ampt/cli 1.1.19 → 1.1.21
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/dist/cjs-loader.js +11 -11
- package/dist/cjs-loader.js.map +2 -2
- package/dist/cli.js +134 -136
- package/dist/cli.js.map +3 -3
- package/dist/esm-loader.mjs +11 -11
- package/dist/esm-loader.mjs.map +2 -2
- package/dist/ttyStub.js +1 -1
- package/dist/ttyStub.js.map +1 -1
- package/dist/webapi-polyfill.js +2 -2
- package/dist/webapi-polyfill.js.map +1 -1
- package/dist/workers/cli-update.js +2 -0
- package/dist/workers/cli-update.js.map +6 -0
- package/dist/workers/hash.js +1 -1
- package/dist/workers/hash.js.map +1 -1
- package/dist/workers/package-update.js +2 -0
- package/dist/workers/package-update.js.map +6 -0
- package/package.json +2 -2
package/dist/webapi-polyfill.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Rg=Object.create;var go=Object.defineProperty;var vg=Object.getOwnPropertyDescriptor;var Tg=Object.getOwnPropertyNames;var Bg=Object.getPrototypeOf,Pg=Object.prototype.hasOwnProperty;var ie=(e,t)=>()=>(e&&(t=e(e=0)),t);var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),zf=(e,t)=>{for(var r in t)go(e,r,{get:t[r],enumerable:!0})},yo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Tg(t))!Pg.call(e,o)&&o!==r&&go(e,o,{get:()=>t[o],enumerable:!(n=vg(t,o))||n.enumerable});return e},Vt=(e,t,r)=>(yo(e,t,"default"),r&&yo(r,t,"default")),De=(e,t,r)=>(r=e!=null?Rg(Bg(e)):{},yo(t||!e||!e.__esModule?go(r,"default",{value:e,enumerable:!0}):r,e)),Og=e=>yo(go({},"__esModule",{value:!0}),e);var Uf=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var W=(e,t,r)=>(Uf(e,t,"read from private field"),r?r.call(e):t.get(e)),ue=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},re=(e,t,r,n)=>(Uf(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Ig,d=ie(()=>{Ig=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Ig.SENTRY_RELEASE={id:"1.1.19"}});var Hf=_(Eo=>{"use strict";d();Object.defineProperty(Eo,"__esModule",{value:!0});Eo.boolean=void 0;var Lg=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1"].includes(e.trim().toLowerCase());case"[object Number]":return e.valueOf()===1;case"[object Boolean]":return e.valueOf();default:return!1}};Eo.boolean=Lg});var Gf=_(Co=>{"use strict";d();Object.defineProperty(Co,"__esModule",{value:!0});Co.isBooleanable=void 0;var xg=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1","false","f","no","n","off","0"].includes(e.trim().toLowerCase());case"[object Number]":return[0,1].includes(e.valueOf());case"[object Boolean]":return!0;default:return!1}};Co.isBooleanable=xg});var Ao=_(Lr=>{"use strict";d();Object.defineProperty(Lr,"__esModule",{value:!0});Lr.isBooleanable=Lr.boolean=void 0;var qg=Hf();Object.defineProperty(Lr,"boolean",{enumerable:!0,get:function(){return qg.boolean}});var Ng=Gf();Object.defineProperty(Lr,"isBooleanable",{enumerable:!0,get:function(){return Ng.isBooleanable}})});var _o=_((v1,Vf)=>{d();Vf.exports=Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"});var fa=_((B1,Xf)=>{"use strict";d();var Yf=Object.prototype.toString;Xf.exports=function(t){var r=Yf.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Yf.call(t.callee)==="[object Function]"),n}});var ud=_((O1,nd)=>{"use strict";d();var rd;Object.keys||(On=Object.prototype.hasOwnProperty,da=Object.prototype.toString,Qf=fa(),ha=Object.prototype.propertyIsEnumerable,Jf=!ha.call({toString:null},"toString"),Zf=ha.call(function(){},"prototype"),In=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],So=function(e){var t=e.constructor;return t&&t.prototype===e},Kf={$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},ed=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!Kf["$"+e]&&On.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{So(window[e])}catch{return!0}}catch{return!0}return!1}(),td=function(e){if(typeof window>"u"||!ed)return So(e);try{return So(e)}catch{return!1}},rd=function(t){var r=t!==null&&typeof t=="object",n=da.call(t)==="[object Function]",o=Qf(t),i=r&&da.call(t)==="[object String]",a=[];if(!r&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var c=Zf&&n;if(i&&t.length>0&&!On.call(t,0))for(var f=0;f<t.length;++f)a.push(String(f));if(o&&t.length>0)for(var D=0;D<t.length;++D)a.push(String(D));else for(var h in t)!(c&&h==="prototype")&&On.call(t,h)&&a.push(String(h));if(Jf)for(var m=td(t),b=0;b<In.length;++b)!(m&&In[b]==="constructor")&&On.call(t,In[b])&&a.push(In[b]);return a});var On,da,Qf,ha,Jf,Zf,In,So,Kf,ed,td;nd.exports=rd});var ad=_((L1,sd)=>{"use strict";d();var kg=Array.prototype.slice,Wg=fa(),od=Object.keys,Fo=od?function(t){return od(t)}:ud(),id=Object.keys;Fo.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Wg(n)?id(kg.call(n)):id(n)})}else Object.keys=Fo;return Object.keys||Fo};sd.exports=Fo});var cd=_((q1,ld)=>{"use strict";d();ld.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==o||a.enumerable!==!0)return!1}return!0}});var hd=_((k1,dd)=>{"use strict";d();var fd=typeof Symbol<"u"&&Symbol,$g=cd();dd.exports=function(){return typeof fd!="function"||typeof Symbol!="function"||typeof fd("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:$g()}});var md=_(($1,Dd)=>{"use strict";d();var pd={foo:{}},jg=Object;Dd.exports=function(){return{__proto__:pd}.foo===pd.foo&&!({__proto__:null}instanceof jg)}});var gd=_((M1,yd)=>{"use strict";d();var Mg="Function.prototype.bind called on incompatible ",zg=Object.prototype.toString,Ug=Math.max,Hg="[object Function]",bd=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},Gg=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},Vg=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};yd.exports=function(t){var r=this;if(typeof r!="function"||zg.apply(r)!==Hg)throw new TypeError(Mg+r);for(var n=Gg(arguments,1),o,i=function(){if(this instanceof o){var h=r.apply(this,bd(n,arguments));return Object(h)===h?h:this}return r.apply(t,bd(n,arguments))},a=Ug(0,r.length-n.length),c=[],f=0;f<a;f++)c[f]="$"+f;if(o=Function("binder","return function ("+Vg(c,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var D=function(){};D.prototype=r.prototype,o.prototype=new D,D.prototype=null}return o}});var pa=_((U1,Ed)=>{"use strict";d();var Yg=gd();Ed.exports=Function.prototype.bind||Yg});var Ad=_((G1,Cd)=>{"use strict";d();var Xg=Function.prototype.call,Qg=Object.prototype.hasOwnProperty,Jg=pa();Cd.exports=Jg.call(Xg,Qg)});var vd=_((Y1,Rd)=>{"use strict";d();var U,kr=SyntaxError,wd=Function,Nr=TypeError,Da=function(e){try{return wd('"use strict"; return ('+e+").constructor;")()}catch{}},Yt=Object.getOwnPropertyDescriptor;if(Yt)try{Yt({},"")}catch{Yt=null}var ma=function(){throw new Nr},Zg=Yt?function(){try{return arguments.callee,ma}catch{try{return Yt(arguments,"callee").get}catch{return ma}}}():ma,xr=hd()(),Kg=md()(),le=Object.getPrototypeOf||(Kg?function(e){return e.__proto__}:null),qr={},eE=typeof Uint8Array>"u"||!le?U:le(Uint8Array),Xt={"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":xr&&le?le([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":qr,"%AsyncGenerator%":qr,"%AsyncGeneratorFunction%":qr,"%AsyncIteratorPrototype%":qr,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":wd,"%GeneratorFunction%":qr,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xr&&le?le(le([][Symbol.iterator]())):U,"%JSON%":typeof JSON=="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xr||!le?U:le(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xr||!le?U:le(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xr&&le?le(""[Symbol.iterator]()):U,"%Symbol%":xr?Symbol:U,"%SyntaxError%":kr,"%ThrowTypeError%":Zg,"%TypedArray%":eE,"%TypeError%":Nr,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet};if(le)try{null.error}catch(e){_d=le(le(e)),Xt["%Error.prototype%"]=_d}var _d,tE=function e(t){var r;if(t==="%AsyncFunction%")r=Da("async function () {}");else if(t==="%GeneratorFunction%")r=Da("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Da("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&le&&(r=le(o.prototype))}return Xt[t]=r,r},Sd={"%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"]},Ln=pa(),wo=Ad(),rE=Ln.call(Function.call,Array.prototype.concat),nE=Ln.call(Function.apply,Array.prototype.splice),Fd=Ln.call(Function.call,String.prototype.replace),Ro=Ln.call(Function.call,String.prototype.slice),uE=Ln.call(Function.call,RegExp.prototype.exec),oE=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,iE=/\\(\\)?/g,sE=function(t){var r=Ro(t,0,1),n=Ro(t,-1);if(r==="%"&&n!=="%")throw new kr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new kr("invalid intrinsic syntax, expected opening `%`");var o=[];return Fd(t,oE,function(i,a,c,f){o[o.length]=c?Fd(f,iE,"$1"):a||i}),o},aE=function(t,r){var n=t,o;if(wo(Sd,n)&&(o=Sd[n],n="%"+o[0]+"%"),wo(Xt,n)){var i=Xt[n];if(i===qr&&(i=tE(n)),typeof i>"u"&&!r)throw new Nr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new kr("intrinsic "+t+" does not exist!")};Rd.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Nr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Nr('"allowMissing" argument must be a boolean');if(uE(/^%?[^%]*%?$/,t)===null)throw new kr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=sE(t),o=n.length>0?n[0]:"",i=aE("%"+o+"%",r),a=i.name,c=i.value,f=!1,D=i.alias;D&&(o=D[0],nE(n,rE([0,1],D)));for(var h=1,m=!0;h<n.length;h+=1){var b=n[h],y=Ro(b,0,1),E=Ro(b,-1);if((y==='"'||y==="'"||y==="`"||E==='"'||E==="'"||E==="`")&&y!==E)throw new kr("property names with quotes must have matching quotes");if((b==="constructor"||!m)&&(f=!0),o+="."+b,a="%"+o+"%",wo(Xt,a))c=Xt[a];else if(c!=null){if(!(b in c)){if(!r)throw new Nr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Yt&&h+1>=n.length){var O=Yt(c,b);m=!!O,m&&"get"in O&&!("originalValue"in O.get)?c=O.get:c=c[b]}else m=wo(c,b),c=c[b];m&&!f&&(Xt[a]=c)}}return c}});var Bd=_((Q1,Td)=>{"use strict";d();var lE=vd(),ba=lE("%Object.defineProperty%",!0),ya=function(){if(ba)try{return ba({},"a",{value:1}),!0}catch{return!1}return!1};ya.hasArrayLengthDefineBug=function(){if(!ya())return null;try{return ba([],"length",{value:1}).length!==1}catch{return!0}};Td.exports=ya});var ga=_((Z1,Ld)=>{"use strict";d();var cE=ad(),fE=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",dE=Object.prototype.toString,hE=Array.prototype.concat,Pd=Object.defineProperty,pE=function(e){return typeof e=="function"&&dE.call(e)==="[object Function]"},DE=Bd()(),Od=Pd&&DE,mE=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!pE(n)||!n())return}Od?Pd(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},Id=function(e,t){var r=arguments.length>2?arguments[2]:{},n=cE(t);fE&&(n=hE.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o<n.length;o+=1)mE(e,n[o],t[n[o]],r[n[o]])};Id.supportsDescriptors=!!Od;Ld.exports=Id});var Ea=_((ev,xd)=>{"use strict";d();xd.exports=global});var Ca=_((rv,qd)=>{"use strict";d();var bE=Ea();qd.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?bE:global}});var kd=_((uv,Nd)=>{"use strict";d();var yE=ga(),gE=Ca();Nd.exports=function(){var t=gE();if(yE.supportsDescriptors){var r=Object.getOwnPropertyDescriptor(t,"globalThis");(!r||r.configurable&&(r.enumerable||!r.writable||globalThis!==t))&&Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else(typeof globalThis!="object"||globalThis!==t)&&(t.globalThis=t);return t}});var Aa=_((iv,jd)=>{"use strict";d();var EE=ga(),CE=Ea(),Wd=Ca(),AE=kd(),_E=Wd(),$d=function(){return _E};EE($d,{getPolyfill:Wd,implementation:CE,shim:AE});jd.exports=$d});var Ud=_((_a,zd)=>{d();_a=zd.exports=SE;_a.getSerialize=Md;function SE(e,t,r,n){return JSON.stringify(e,Md(t,n),r)}function Md(e,t){var r=[],n=[];return t==null&&(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}});var Hd=_(vo=>{d();(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(a){return n(i(a),arguments)}function r(a,c){return t.apply(null,[a].concat(c||[]))}function n(a,c){var f=1,D=a.length,h,m="",b,y,E,O,F,v,I,k;for(b=0;b<D;b++)if(typeof a[b]=="string")m+=a[b];else if(typeof a[b]=="object"){if(E=a[b],E.keys)for(h=c[f],y=0;y<E.keys.length;y++){if(h==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',E.keys[y],E.keys[y-1]));h=h[E.keys[y]]}else E.param_no?h=c[E.param_no]:h=c[f++];if(e.not_type.test(E.type)&&e.not_primitive.test(E.type)&&h instanceof Function&&(h=h()),e.numeric_arg.test(E.type)&&typeof h!="number"&&isNaN(h))throw new TypeError(t("[sprintf] expecting number but found %T",h));switch(e.number.test(E.type)&&(I=h>=0),E.type){case"b":h=parseInt(h,10).toString(2);break;case"c":h=String.fromCharCode(parseInt(h,10));break;case"d":case"i":h=parseInt(h,10);break;case"j":h=JSON.stringify(h,null,E.width?parseInt(E.width):0);break;case"e":h=E.precision?parseFloat(h).toExponential(E.precision):parseFloat(h).toExponential();break;case"f":h=E.precision?parseFloat(h).toFixed(E.precision):parseFloat(h);break;case"g":h=E.precision?String(Number(h.toPrecision(E.precision))):parseFloat(h);break;case"o":h=(parseInt(h,10)>>>0).toString(8);break;case"s":h=String(h),h=E.precision?h.substring(0,E.precision):h;break;case"t":h=String(!!h),h=E.precision?h.substring(0,E.precision):h;break;case"T":h=Object.prototype.toString.call(h).slice(8,-1).toLowerCase(),h=E.precision?h.substring(0,E.precision):h;break;case"u":h=parseInt(h,10)>>>0;break;case"v":h=h.valueOf(),h=E.precision?h.substring(0,E.precision):h;break;case"x":h=(parseInt(h,10)>>>0).toString(16);break;case"X":h=(parseInt(h,10)>>>0).toString(16).toUpperCase();break}e.json.test(E.type)?m+=h:(e.number.test(E.type)&&(!I||E.sign)?(k=I?"+":"-",h=h.toString().replace(e.sign,"")):k="",F=E.pad_char?E.pad_char==="0"?"0":E.pad_char.charAt(1):" ",v=E.width-(k+h).length,O=E.width&&v>0?F.repeat(v):"",m+=E.align?k+h+O:F==="0"?k+O+h:O+k+h)}return m}var o=Object.create(null);function i(a){if(o[a])return o[a];for(var c=a,f,D=[],h=0;c;){if((f=e.text.exec(c))!==null)D.push(f[0]);else if((f=e.modulo.exec(c))!==null)D.push("%");else if((f=e.placeholder.exec(c))!==null){if(f[2]){h|=1;var m=[],b=f[2],y=[];if((y=e.key.exec(b))!==null)for(m.push(y[1]);(b=b.substring(y[0].length))!=="";)if((y=e.key_access.exec(b))!==null)m.push(y[1]);else if((y=e.index_access.exec(b))!==null)m.push(y[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");f[2]=m}else h|=2;if(h===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");D.push({placeholder:f[0],param_no:f[1],keys:f[2],sign:f[3],pad_char:f[4],align:f[5],width:f[6],precision:f[7],type:f[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");c=c.substring(f[0].length)}return o[a]=D}typeof vo<"u"&&(vo.sprintf=t,vo.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var Sa=_(To=>{"use strict";d();Object.defineProperty(To,"__esModule",{value:!0});To.logLevels=void 0;var FE={debug:20,error:50,fatal:60,info:30,trace:10,warn:40};To.logLevels=FE});var Yd=_(Po=>{"use strict";d();Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var wE=va(_o()),RE=va(Aa()),vE=va(Ud()),Fa=Hd(),Gd=Sa();function va(e){return e&&e.__esModule?e:{default:e}}function wa(){return wa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wa.apply(this,arguments)}function Vd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vd(Object(r),!0).forEach(function(n){TE(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function TE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var BE=(0,RE.default)(),xn;wE.default&&(xn=require("domain"));var PE=()=>{if(!xn)return{};let e=[],t=process.domain;if(!t||!t.parentDomain)return{};for(;t&&t.parentDomain;)t=t.parentDomain,t.roarr&&t.roarr.context&&e.push(t.roarr.context);let r={};for(let n of e)r=Ae(Ae({},r),n);return r},Bo=()=>{if(!xn)return{};let e=process.domain;if(e&&e.roarr&&e.roarr.context)return e.roarr.context;if(!e||!e.parentDomain)return{};for(;e&&e.parentDomain;)if(e=e.parentDomain,e.roarr&&e.roarr.context)return e.roarr.context;return{}},Ra=(e,t)=>{let r=(n,o,i,a,c,f,D,h,m,b)=>{let y=Date.now(),E=BE.ROARR.sequence++,O,F;if(typeof n=="string"){O=Ae(Ae({},Bo()),t||{});let v=wa({},{a:n,b:o,c:i,d:a,e:c,f,g:D,h,i:m,k:b});F=Object.keys(v).map(L=>v[L]).reduce((L,S)=>L+=typeof S>"u"?0:1,0)===1?(0,Fa.sprintf)("%s",n):(0,Fa.sprintf)(n,o,i,a,c,f,D,h,m,b)}else{if(typeof o!="string")throw new TypeError("Message must be a string.");O=JSON.parse((0,vE.default)(Ae(Ae(Ae({},Bo()),t||{}),n))),F=(0,Fa.sprintf)(o,i,a,c,f,D,h,m,b)}e({context:O,message:F,sequence:E,time:y,version:"1.0.0"})};r.child=n=>typeof n=="function"?Ra(o=>{if(typeof n!="function")throw new TypeError("Unexpected state.");e(n(o))},t):Ra(e,Ae(Ae(Ae({},Bo()),t),n)),r.getContext=()=>Ae(Ae({},Bo()),t||{}),r.adopt=async(n,o)=>{if(!xn)return n();let i=xn.create();return i.run(()=>(i.roarr={context:Ae(Ae({},PE()),o)},n()))};for(let n of Object.keys(Gd.logLevels))r[n]=(o,i,a,c,f,D,h,m,b,y)=>r.child({logLevel:Gd.logLevels[n]})(o,i,a,c,f,D,h,m,b,y);return r},OE=Ra;Po.default=OE});var Jd=_(Oo=>{"use strict";d();Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Xd=Sa(),Qd=(e,t)=>{let r=(n,o,i,a,c,f,D,h,m,b)=>{};r.adopt=async n=>n(),r.child=n=>Qd(e,t),r.getContext=()=>({});for(let n of Object.keys(Xd.logLevels))r[n]=(o,i,a,c,f,D,h,m,b,y)=>r.child({logLevel:Xd.logLevels[n]})(o,i,a,c,f,D,h,m,b,y);return r},IE=Qd;Oo.default=IE});var Kd=_((bv,Zd)=>{d();Zd.exports=function(t,r){for(var n=t.split("."),o=r.split("."),i=0;i<3;i++){var a=Number(n[i]),c=Number(o[i]);if(a>c)return 1;if(c>a)return-1;if(!isNaN(a)&&isNaN(c))return 1;if(isNaN(a)&&!isNaN(c))return-1}return 0}});var eh=_((gv,LE)=>{LE.exports={author:{email:"gajus@gajus.com",name:"Gajus Kuizinas",url:"http://gajus.com"},ava:{babel:{compileAsTests:["test/helpers/**/*"]},files:["test/roarr/**/*"],require:["@babel/register"]},dependencies:{boolean:"^3.0.1","detect-node":"^2.0.4",globalthis:"^1.0.1","json-stringify-safe":"^5.0.1","semver-compare":"^1.0.0","sprintf-js":"^1.1.2"},description:"JSON logger for Node.js and browser.",devDependencies:{"@ava/babel":"^1.0.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/plugin-transform-flow-strip-types":"^7.10.4","@babel/preset-env":"^7.11.5","@babel/register":"^7.11.5",ava:"^3.12.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4",coveralls:"^3.1.0","domain-parent":"^1.0.0",eslint:"^7.9.0","eslint-config-canonical":"^24.1.1","flow-bin":"^0.133.0","flow-copy-source":"^2.0.9",gitdown:"^3.1.3",husky:"^4.3.0",nyc:"^15.1.0","semantic-release":"^17.1.1"},engines:{node:">=8.0"},husky:{hooks:{"pre-commit":"npm run lint && npm run test && npm run build","pre-push":"gitdown ./.README/README.md --output-file ./README.md --check"}},keywords:["log","logger","json"],main:"./dist/log.js",name:"roarr",nyc:{include:["src/**/*.js"],instrument:!1,reporter:["text-lcov"],require:["@babel/register"],sourceMap:!1},license:"BSD-3-Clause",repository:{type:"git",url:"git@github.com:gajus/roarr.git"},scripts:{build:"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","create-readme":"gitdown ./.README/README.md --output-file ./README.md",dev:"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",lint:"eslint ./src ./test && flow",test:"NODE_ENV=test ava --serial --verbose"},version:"2.15.4"}});var th=_(Io=>{"use strict";d();Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var xE=e=>({write:t=>{e.write(t+`
|
|
1
|
+
var Rg=Object.create;var go=Object.defineProperty;var vg=Object.getOwnPropertyDescriptor;var Tg=Object.getOwnPropertyNames;var Bg=Object.getPrototypeOf,Pg=Object.prototype.hasOwnProperty;var ie=(e,t)=>()=>(e&&(t=e(e=0)),t);var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),zf=(e,t)=>{for(var r in t)go(e,r,{get:t[r],enumerable:!0})},yo=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Tg(t))!Pg.call(e,o)&&o!==r&&go(e,o,{get:()=>t[o],enumerable:!(n=vg(t,o))||n.enumerable});return e},Vt=(e,t,r)=>(yo(e,t,"default"),r&&yo(r,t,"default")),De=(e,t,r)=>(r=e!=null?Rg(Bg(e)):{},yo(t||!e||!e.__esModule?go(r,"default",{value:e,enumerable:!0}):r,e)),Og=e=>yo(go({},"__esModule",{value:!0}),e);var Uf=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var W=(e,t,r)=>(Uf(e,t,"read from private field"),r?r.call(e):t.get(e)),ue=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},re=(e,t,r,n)=>(Uf(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Ig,d=ie(()=>{Ig=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};Ig.SENTRY_RELEASE={id:"1.1.21"}});var Hf=_(Eo=>{"use strict";d();Object.defineProperty(Eo,"__esModule",{value:!0});Eo.boolean=void 0;var Lg=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1"].includes(e.trim().toLowerCase());case"[object Number]":return e.valueOf()===1;case"[object Boolean]":return e.valueOf();default:return!1}};Eo.boolean=Lg});var Gf=_(Co=>{"use strict";d();Object.defineProperty(Co,"__esModule",{value:!0});Co.isBooleanable=void 0;var xg=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1","false","f","no","n","off","0"].includes(e.trim().toLowerCase());case"[object Number]":return[0,1].includes(e.valueOf());case"[object Boolean]":return!0;default:return!1}};Co.isBooleanable=xg});var Ao=_(Lr=>{"use strict";d();Object.defineProperty(Lr,"__esModule",{value:!0});Lr.isBooleanable=Lr.boolean=void 0;var qg=Hf();Object.defineProperty(Lr,"boolean",{enumerable:!0,get:function(){return qg.boolean}});var Ng=Gf();Object.defineProperty(Lr,"isBooleanable",{enumerable:!0,get:function(){return Ng.isBooleanable}})});var _o=_((v1,Vf)=>{d();Vf.exports=Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"});var fa=_((B1,Xf)=>{"use strict";d();var Yf=Object.prototype.toString;Xf.exports=function(t){var r=Yf.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Yf.call(t.callee)==="[object Function]"),n}});var ud=_((O1,nd)=>{"use strict";d();var rd;Object.keys||(On=Object.prototype.hasOwnProperty,da=Object.prototype.toString,Qf=fa(),ha=Object.prototype.propertyIsEnumerable,Jf=!ha.call({toString:null},"toString"),Zf=ha.call(function(){},"prototype"),In=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],So=function(e){var t=e.constructor;return t&&t.prototype===e},Kf={$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},ed=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!Kf["$"+e]&&On.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{So(window[e])}catch{return!0}}catch{return!0}return!1}(),td=function(e){if(typeof window>"u"||!ed)return So(e);try{return So(e)}catch{return!1}},rd=function(t){var r=t!==null&&typeof t=="object",n=da.call(t)==="[object Function]",o=Qf(t),i=r&&da.call(t)==="[object String]",a=[];if(!r&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var c=Zf&&n;if(i&&t.length>0&&!On.call(t,0))for(var f=0;f<t.length;++f)a.push(String(f));if(o&&t.length>0)for(var D=0;D<t.length;++D)a.push(String(D));else for(var h in t)!(c&&h==="prototype")&&On.call(t,h)&&a.push(String(h));if(Jf)for(var m=td(t),b=0;b<In.length;++b)!(m&&In[b]==="constructor")&&On.call(t,In[b])&&a.push(In[b]);return a});var On,da,Qf,ha,Jf,Zf,In,So,Kf,ed,td;nd.exports=rd});var ad=_((L1,sd)=>{"use strict";d();var kg=Array.prototype.slice,Wg=fa(),od=Object.keys,Fo=od?function(t){return od(t)}:ud(),id=Object.keys;Fo.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return Wg(n)?id(kg.call(n)):id(n)})}else Object.keys=Fo;return Object.keys||Fo};sd.exports=Fo});var cd=_((q1,ld)=>{"use strict";d();ld.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==o||a.enumerable!==!0)return!1}return!0}});var hd=_((k1,dd)=>{"use strict";d();var fd=typeof Symbol<"u"&&Symbol,$g=cd();dd.exports=function(){return typeof fd!="function"||typeof Symbol!="function"||typeof fd("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:$g()}});var md=_(($1,Dd)=>{"use strict";d();var pd={foo:{}},jg=Object;Dd.exports=function(){return{__proto__:pd}.foo===pd.foo&&!({__proto__:null}instanceof jg)}});var gd=_((M1,yd)=>{"use strict";d();var Mg="Function.prototype.bind called on incompatible ",zg=Object.prototype.toString,Ug=Math.max,Hg="[object Function]",bd=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},Gg=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},Vg=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};yd.exports=function(t){var r=this;if(typeof r!="function"||zg.apply(r)!==Hg)throw new TypeError(Mg+r);for(var n=Gg(arguments,1),o,i=function(){if(this instanceof o){var h=r.apply(this,bd(n,arguments));return Object(h)===h?h:this}return r.apply(t,bd(n,arguments))},a=Ug(0,r.length-n.length),c=[],f=0;f<a;f++)c[f]="$"+f;if(o=Function("binder","return function ("+Vg(c,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var D=function(){};D.prototype=r.prototype,o.prototype=new D,D.prototype=null}return o}});var pa=_((U1,Ed)=>{"use strict";d();var Yg=gd();Ed.exports=Function.prototype.bind||Yg});var Ad=_((G1,Cd)=>{"use strict";d();var Xg=Function.prototype.call,Qg=Object.prototype.hasOwnProperty,Jg=pa();Cd.exports=Jg.call(Xg,Qg)});var vd=_((Y1,Rd)=>{"use strict";d();var U,kr=SyntaxError,wd=Function,Nr=TypeError,Da=function(e){try{return wd('"use strict"; return ('+e+").constructor;")()}catch{}},Yt=Object.getOwnPropertyDescriptor;if(Yt)try{Yt({},"")}catch{Yt=null}var ma=function(){throw new Nr},Zg=Yt?function(){try{return arguments.callee,ma}catch{try{return Yt(arguments,"callee").get}catch{return ma}}}():ma,xr=hd()(),Kg=md()(),le=Object.getPrototypeOf||(Kg?function(e){return e.__proto__}:null),qr={},eE=typeof Uint8Array>"u"||!le?U:le(Uint8Array),Xt={"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":xr&&le?le([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":qr,"%AsyncGenerator%":qr,"%AsyncGeneratorFunction%":qr,"%AsyncIteratorPrototype%":qr,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":wd,"%GeneratorFunction%":qr,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xr&&le?le(le([][Symbol.iterator]())):U,"%JSON%":typeof JSON=="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xr||!le?U:le(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xr||!le?U:le(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xr&&le?le(""[Symbol.iterator]()):U,"%Symbol%":xr?Symbol:U,"%SyntaxError%":kr,"%ThrowTypeError%":Zg,"%TypedArray%":eE,"%TypeError%":Nr,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet};if(le)try{null.error}catch(e){_d=le(le(e)),Xt["%Error.prototype%"]=_d}var _d,tE=function e(t){var r;if(t==="%AsyncFunction%")r=Da("async function () {}");else if(t==="%GeneratorFunction%")r=Da("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Da("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&le&&(r=le(o.prototype))}return Xt[t]=r,r},Sd={"%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"]},Ln=pa(),wo=Ad(),rE=Ln.call(Function.call,Array.prototype.concat),nE=Ln.call(Function.apply,Array.prototype.splice),Fd=Ln.call(Function.call,String.prototype.replace),Ro=Ln.call(Function.call,String.prototype.slice),uE=Ln.call(Function.call,RegExp.prototype.exec),oE=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,iE=/\\(\\)?/g,sE=function(t){var r=Ro(t,0,1),n=Ro(t,-1);if(r==="%"&&n!=="%")throw new kr("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new kr("invalid intrinsic syntax, expected opening `%`");var o=[];return Fd(t,oE,function(i,a,c,f){o[o.length]=c?Fd(f,iE,"$1"):a||i}),o},aE=function(t,r){var n=t,o;if(wo(Sd,n)&&(o=Sd[n],n="%"+o[0]+"%"),wo(Xt,n)){var i=Xt[n];if(i===qr&&(i=tE(n)),typeof i>"u"&&!r)throw new Nr("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new kr("intrinsic "+t+" does not exist!")};Rd.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Nr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Nr('"allowMissing" argument must be a boolean');if(uE(/^%?[^%]*%?$/,t)===null)throw new kr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=sE(t),o=n.length>0?n[0]:"",i=aE("%"+o+"%",r),a=i.name,c=i.value,f=!1,D=i.alias;D&&(o=D[0],nE(n,rE([0,1],D)));for(var h=1,m=!0;h<n.length;h+=1){var b=n[h],y=Ro(b,0,1),E=Ro(b,-1);if((y==='"'||y==="'"||y==="`"||E==='"'||E==="'"||E==="`")&&y!==E)throw new kr("property names with quotes must have matching quotes");if((b==="constructor"||!m)&&(f=!0),o+="."+b,a="%"+o+"%",wo(Xt,a))c=Xt[a];else if(c!=null){if(!(b in c)){if(!r)throw new Nr("base intrinsic for "+t+" exists, but the property is not available.");return}if(Yt&&h+1>=n.length){var O=Yt(c,b);m=!!O,m&&"get"in O&&!("originalValue"in O.get)?c=O.get:c=c[b]}else m=wo(c,b),c=c[b];m&&!f&&(Xt[a]=c)}}return c}});var Bd=_((Q1,Td)=>{"use strict";d();var lE=vd(),ba=lE("%Object.defineProperty%",!0),ya=function(){if(ba)try{return ba({},"a",{value:1}),!0}catch{return!1}return!1};ya.hasArrayLengthDefineBug=function(){if(!ya())return null;try{return ba([],"length",{value:1}).length!==1}catch{return!0}};Td.exports=ya});var ga=_((Z1,Ld)=>{"use strict";d();var cE=ad(),fE=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",dE=Object.prototype.toString,hE=Array.prototype.concat,Pd=Object.defineProperty,pE=function(e){return typeof e=="function"&&dE.call(e)==="[object Function]"},DE=Bd()(),Od=Pd&&DE,mE=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!pE(n)||!n())return}Od?Pd(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},Id=function(e,t){var r=arguments.length>2?arguments[2]:{},n=cE(t);fE&&(n=hE.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o<n.length;o+=1)mE(e,n[o],t[n[o]],r[n[o]])};Id.supportsDescriptors=!!Od;Ld.exports=Id});var Ea=_((ev,xd)=>{"use strict";d();xd.exports=global});var Ca=_((rv,qd)=>{"use strict";d();var bE=Ea();qd.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?bE:global}});var kd=_((uv,Nd)=>{"use strict";d();var yE=ga(),gE=Ca();Nd.exports=function(){var t=gE();if(yE.supportsDescriptors){var r=Object.getOwnPropertyDescriptor(t,"globalThis");(!r||r.configurable&&(r.enumerable||!r.writable||globalThis!==t))&&Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else(typeof globalThis!="object"||globalThis!==t)&&(t.globalThis=t);return t}});var Aa=_((iv,jd)=>{"use strict";d();var EE=ga(),CE=Ea(),Wd=Ca(),AE=kd(),_E=Wd(),$d=function(){return _E};EE($d,{getPolyfill:Wd,implementation:CE,shim:AE});jd.exports=$d});var Ud=_((_a,zd)=>{d();_a=zd.exports=SE;_a.getSerialize=Md;function SE(e,t,r,n){return JSON.stringify(e,Md(t,n),r)}function Md(e,t){var r=[],n=[];return t==null&&(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}});var Hd=_(vo=>{d();(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(a){return n(i(a),arguments)}function r(a,c){return t.apply(null,[a].concat(c||[]))}function n(a,c){var f=1,D=a.length,h,m="",b,y,E,O,F,v,I,k;for(b=0;b<D;b++)if(typeof a[b]=="string")m+=a[b];else if(typeof a[b]=="object"){if(E=a[b],E.keys)for(h=c[f],y=0;y<E.keys.length;y++){if(h==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',E.keys[y],E.keys[y-1]));h=h[E.keys[y]]}else E.param_no?h=c[E.param_no]:h=c[f++];if(e.not_type.test(E.type)&&e.not_primitive.test(E.type)&&h instanceof Function&&(h=h()),e.numeric_arg.test(E.type)&&typeof h!="number"&&isNaN(h))throw new TypeError(t("[sprintf] expecting number but found %T",h));switch(e.number.test(E.type)&&(I=h>=0),E.type){case"b":h=parseInt(h,10).toString(2);break;case"c":h=String.fromCharCode(parseInt(h,10));break;case"d":case"i":h=parseInt(h,10);break;case"j":h=JSON.stringify(h,null,E.width?parseInt(E.width):0);break;case"e":h=E.precision?parseFloat(h).toExponential(E.precision):parseFloat(h).toExponential();break;case"f":h=E.precision?parseFloat(h).toFixed(E.precision):parseFloat(h);break;case"g":h=E.precision?String(Number(h.toPrecision(E.precision))):parseFloat(h);break;case"o":h=(parseInt(h,10)>>>0).toString(8);break;case"s":h=String(h),h=E.precision?h.substring(0,E.precision):h;break;case"t":h=String(!!h),h=E.precision?h.substring(0,E.precision):h;break;case"T":h=Object.prototype.toString.call(h).slice(8,-1).toLowerCase(),h=E.precision?h.substring(0,E.precision):h;break;case"u":h=parseInt(h,10)>>>0;break;case"v":h=h.valueOf(),h=E.precision?h.substring(0,E.precision):h;break;case"x":h=(parseInt(h,10)>>>0).toString(16);break;case"X":h=(parseInt(h,10)>>>0).toString(16).toUpperCase();break}e.json.test(E.type)?m+=h:(e.number.test(E.type)&&(!I||E.sign)?(k=I?"+":"-",h=h.toString().replace(e.sign,"")):k="",F=E.pad_char?E.pad_char==="0"?"0":E.pad_char.charAt(1):" ",v=E.width-(k+h).length,O=E.width&&v>0?F.repeat(v):"",m+=E.align?k+h+O:F==="0"?k+O+h:O+k+h)}return m}var o=Object.create(null);function i(a){if(o[a])return o[a];for(var c=a,f,D=[],h=0;c;){if((f=e.text.exec(c))!==null)D.push(f[0]);else if((f=e.modulo.exec(c))!==null)D.push("%");else if((f=e.placeholder.exec(c))!==null){if(f[2]){h|=1;var m=[],b=f[2],y=[];if((y=e.key.exec(b))!==null)for(m.push(y[1]);(b=b.substring(y[0].length))!=="";)if((y=e.key_access.exec(b))!==null)m.push(y[1]);else if((y=e.index_access.exec(b))!==null)m.push(y[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");f[2]=m}else h|=2;if(h===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");D.push({placeholder:f[0],param_no:f[1],keys:f[2],sign:f[3],pad_char:f[4],align:f[5],width:f[6],precision:f[7],type:f[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");c=c.substring(f[0].length)}return o[a]=D}typeof vo<"u"&&(vo.sprintf=t,vo.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var Sa=_(To=>{"use strict";d();Object.defineProperty(To,"__esModule",{value:!0});To.logLevels=void 0;var FE={debug:20,error:50,fatal:60,info:30,trace:10,warn:40};To.logLevels=FE});var Yd=_(Po=>{"use strict";d();Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var wE=va(_o()),RE=va(Aa()),vE=va(Ud()),Fa=Hd(),Gd=Sa();function va(e){return e&&e.__esModule?e:{default:e}}function wa(){return wa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wa.apply(this,arguments)}function Vd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ae(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Vd(Object(r),!0).forEach(function(n){TE(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function TE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var BE=(0,RE.default)(),xn;wE.default&&(xn=require("domain"));var PE=()=>{if(!xn)return{};let e=[],t=process.domain;if(!t||!t.parentDomain)return{};for(;t&&t.parentDomain;)t=t.parentDomain,t.roarr&&t.roarr.context&&e.push(t.roarr.context);let r={};for(let n of e)r=Ae(Ae({},r),n);return r},Bo=()=>{if(!xn)return{};let e=process.domain;if(e&&e.roarr&&e.roarr.context)return e.roarr.context;if(!e||!e.parentDomain)return{};for(;e&&e.parentDomain;)if(e=e.parentDomain,e.roarr&&e.roarr.context)return e.roarr.context;return{}},Ra=(e,t)=>{let r=(n,o,i,a,c,f,D,h,m,b)=>{let y=Date.now(),E=BE.ROARR.sequence++,O,F;if(typeof n=="string"){O=Ae(Ae({},Bo()),t||{});let v=wa({},{a:n,b:o,c:i,d:a,e:c,f,g:D,h,i:m,k:b});F=Object.keys(v).map(L=>v[L]).reduce((L,S)=>L+=typeof S>"u"?0:1,0)===1?(0,Fa.sprintf)("%s",n):(0,Fa.sprintf)(n,o,i,a,c,f,D,h,m,b)}else{if(typeof o!="string")throw new TypeError("Message must be a string.");O=JSON.parse((0,vE.default)(Ae(Ae(Ae({},Bo()),t||{}),n))),F=(0,Fa.sprintf)(o,i,a,c,f,D,h,m,b)}e({context:O,message:F,sequence:E,time:y,version:"1.0.0"})};r.child=n=>typeof n=="function"?Ra(o=>{if(typeof n!="function")throw new TypeError("Unexpected state.");e(n(o))},t):Ra(e,Ae(Ae(Ae({},Bo()),t),n)),r.getContext=()=>Ae(Ae({},Bo()),t||{}),r.adopt=async(n,o)=>{if(!xn)return n();let i=xn.create();return i.run(()=>(i.roarr={context:Ae(Ae({},PE()),o)},n()))};for(let n of Object.keys(Gd.logLevels))r[n]=(o,i,a,c,f,D,h,m,b,y)=>r.child({logLevel:Gd.logLevels[n]})(o,i,a,c,f,D,h,m,b,y);return r},OE=Ra;Po.default=OE});var Jd=_(Oo=>{"use strict";d();Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var Xd=Sa(),Qd=(e,t)=>{let r=(n,o,i,a,c,f,D,h,m,b)=>{};r.adopt=async n=>n(),r.child=n=>Qd(e,t),r.getContext=()=>({});for(let n of Object.keys(Xd.logLevels))r[n]=(o,i,a,c,f,D,h,m,b,y)=>r.child({logLevel:Xd.logLevels[n]})(o,i,a,c,f,D,h,m,b,y);return r},IE=Qd;Oo.default=IE});var Kd=_((bv,Zd)=>{d();Zd.exports=function(t,r){for(var n=t.split("."),o=r.split("."),i=0;i<3;i++){var a=Number(n[i]),c=Number(o[i]);if(a>c)return 1;if(c>a)return-1;if(!isNaN(a)&&isNaN(c))return 1;if(isNaN(a)&&!isNaN(c))return-1}return 0}});var eh=_((gv,LE)=>{LE.exports={author:{email:"gajus@gajus.com",name:"Gajus Kuizinas",url:"http://gajus.com"},ava:{babel:{compileAsTests:["test/helpers/**/*"]},files:["test/roarr/**/*"],require:["@babel/register"]},dependencies:{boolean:"^3.0.1","detect-node":"^2.0.4",globalthis:"^1.0.1","json-stringify-safe":"^5.0.1","semver-compare":"^1.0.0","sprintf-js":"^1.1.2"},description:"JSON logger for Node.js and browser.",devDependencies:{"@ava/babel":"^1.0.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/plugin-transform-flow-strip-types":"^7.10.4","@babel/preset-env":"^7.11.5","@babel/register":"^7.11.5",ava:"^3.12.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4",coveralls:"^3.1.0","domain-parent":"^1.0.0",eslint:"^7.9.0","eslint-config-canonical":"^24.1.1","flow-bin":"^0.133.0","flow-copy-source":"^2.0.9",gitdown:"^3.1.3",husky:"^4.3.0",nyc:"^15.1.0","semantic-release":"^17.1.1"},engines:{node:">=8.0"},husky:{hooks:{"pre-commit":"npm run lint && npm run test && npm run build","pre-push":"gitdown ./.README/README.md --output-file ./README.md --check"}},keywords:["log","logger","json"],main:"./dist/log.js",name:"roarr",nyc:{include:["src/**/*.js"],instrument:!1,reporter:["text-lcov"],require:["@babel/register"],sourceMap:!1},license:"BSD-3-Clause",repository:{type:"git",url:"git@github.com:gajus/roarr.git"},scripts:{build:"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","create-readme":"gitdown ./.README/README.md --output-file ./README.md",dev:"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",lint:"eslint ./src ./test && flow",test:"NODE_ENV=test ava --serial --verbose"},version:"2.15.4"}});var th=_(Io=>{"use strict";d();Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var xE=e=>({write:t=>{e.write(t+`
|
|
2
2
|
`)}}),qE=()=>{let t=(process.env.ROARR_STREAM||"STDOUT").toUpperCase().toUpperCase()==="STDOUT"?process.stdout:process.stderr;return xE(t)},NE=qE;Io.default=NE});var nh=_(xo=>{"use strict";d();Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var kE=Pa(_o()),Ta=Pa(Kd()),Ba=eh(),WE=Pa(th());function Pa(e){return e&&e.__esModule?e:{default:e}}function rh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Lo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rh(Object(r),!0).forEach(function(n){$E(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function $E(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jE=e=>{let t=(e.versions||[]).concat();t.sort(Ta.default);let r=!t.length||(0,Ta.default)(Ba.version,t[t.length-1])===1;t.includes(Ba.version)||t.push(Ba.version),t.sort(Ta.default);let n=Lo(Lo({sequence:0},e),{},{versions:t});return kE.default&&(r||!n.write)&&(n=Lo(Lo({},n),(0,WE.default)())),n},ME=jE;xo.default=ME});var uh=_(qn=>{"use strict";d();Object.defineProperty(qn,"__esModule",{value:!0});Object.defineProperty(qn,"createLogger",{enumerable:!0,get:function(){return zE.default}});Object.defineProperty(qn,"createMockLogger",{enumerable:!0,get:function(){return UE.default}});Object.defineProperty(qn,"createRoarrInititialGlobalState",{enumerable:!0,get:function(){return HE.default}});var zE=Oa(Yd()),UE=Oa(Jd()),HE=Oa(nh());function Oa(e){return e&&e.__esModule?e:{default:e}}});var ah=_(Wr=>{"use strict";d();Object.defineProperty(Wr,"__esModule",{value:!0});Wr.default=Wr.ROARR=void 0;var GE=Ao(),VE=ih(_o()),YE=ih(Aa()),La=uh();function ih(e){return e&&e.__esModule?e:{default:e}}var oh=(0,YE.default)(),Ia=oh.ROARR=(0,La.createRoarrInititialGlobalState)(oh.ROARR||{});Wr.ROARR=Ia;var sh=La.createLogger;VE.default&&((0,GE.boolean)(process.env.ROARR_LOG||"")||(sh=La.createMockLogger));var XE=sh(e=>{if(Ia.write){let t=JSON.stringify(e);Ia.write(t)}});Wr.default=XE});var Nn=_(qo=>{"use strict";d();Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var QE=JE(ah());function JE(e){return e&&e.__esModule?e:{default:e}}var ZE=QE.default.child({package:"global-agent"}),KE=ZE;qo.default=KE});var kn=_((Bv,lh)=>{d();var eC="2.0.0",tC=Number.MAX_SAFE_INTEGER||9007199254740991,rC=16;lh.exports={SEMVER_SPEC_VERSION:eC,MAX_LENGTH:256,MAX_SAFE_INTEGER:tC,MAX_SAFE_COMPONENT_LENGTH:rC}});var Wn=_((Ov,ch)=>{d();var nC=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};ch.exports=nC});var Qt=_((vt,fh)=>{d();var{MAX_SAFE_COMPONENT_LENGTH:xa}=kn(),uC=Wn();vt=fh.exports={};var oC=vt.re=[],B=vt.src=[],P=vt.t={},iC=0,M=(e,t,r)=>{let n=iC++;uC(e,n,t),P[e]=n,B[n]=t,oC[n]=new RegExp(t,r?"g":void 0)};M("NUMERICIDENTIFIER","0|[1-9]\\d*");M("NUMERICIDENTIFIERLOOSE","[0-9]+");M("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");M("MAINVERSION",`(${B[P.NUMERICIDENTIFIER]})\\.(${B[P.NUMERICIDENTIFIER]})\\.(${B[P.NUMERICIDENTIFIER]})`);M("MAINVERSIONLOOSE",`(${B[P.NUMERICIDENTIFIERLOOSE]})\\.(${B[P.NUMERICIDENTIFIERLOOSE]})\\.(${B[P.NUMERICIDENTIFIERLOOSE]})`);M("PRERELEASEIDENTIFIER",`(?:${B[P.NUMERICIDENTIFIER]}|${B[P.NONNUMERICIDENTIFIER]})`);M("PRERELEASEIDENTIFIERLOOSE",`(?:${B[P.NUMERICIDENTIFIERLOOSE]}|${B[P.NONNUMERICIDENTIFIER]})`);M("PRERELEASE",`(?:-(${B[P.PRERELEASEIDENTIFIER]}(?:\\.${B[P.PRERELEASEIDENTIFIER]})*))`);M("PRERELEASELOOSE",`(?:-?(${B[P.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${B[P.PRERELEASEIDENTIFIERLOOSE]})*))`);M("BUILDIDENTIFIER","[0-9A-Za-z-]+");M("BUILD",`(?:\\+(${B[P.BUILDIDENTIFIER]}(?:\\.${B[P.BUILDIDENTIFIER]})*))`);M("FULLPLAIN",`v?${B[P.MAINVERSION]}${B[P.PRERELEASE]}?${B[P.BUILD]}?`);M("FULL",`^${B[P.FULLPLAIN]}$`);M("LOOSEPLAIN",`[v=\\s]*${B[P.MAINVERSIONLOOSE]}${B[P.PRERELEASELOOSE]}?${B[P.BUILD]}?`);M("LOOSE",`^${B[P.LOOSEPLAIN]}$`);M("GTLT","((?:<|>)?=?)");M("XRANGEIDENTIFIERLOOSE",`${B[P.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);M("XRANGEIDENTIFIER",`${B[P.NUMERICIDENTIFIER]}|x|X|\\*`);M("XRANGEPLAIN",`[v=\\s]*(${B[P.XRANGEIDENTIFIER]})(?:\\.(${B[P.XRANGEIDENTIFIER]})(?:\\.(${B[P.XRANGEIDENTIFIER]})(?:${B[P.PRERELEASE]})?${B[P.BUILD]}?)?)?`);M("XRANGEPLAINLOOSE",`[v=\\s]*(${B[P.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B[P.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B[P.XRANGEIDENTIFIERLOOSE]})(?:${B[P.PRERELEASELOOSE]})?${B[P.BUILD]}?)?)?`);M("XRANGE",`^${B[P.GTLT]}\\s*${B[P.XRANGEPLAIN]}$`);M("XRANGELOOSE",`^${B[P.GTLT]}\\s*${B[P.XRANGEPLAINLOOSE]}$`);M("COERCE",`(^|[^\\d])(\\d{1,${xa}})(?:\\.(\\d{1,${xa}}))?(?:\\.(\\d{1,${xa}}))?(?:$|[^\\d])`);M("COERCERTL",B[P.COERCE],!0);M("LONETILDE","(?:~>?)");M("TILDETRIM",`(\\s*)${B[P.LONETILDE]}\\s+`,!0);vt.tildeTrimReplace="$1~";M("TILDE",`^${B[P.LONETILDE]}${B[P.XRANGEPLAIN]}$`);M("TILDELOOSE",`^${B[P.LONETILDE]}${B[P.XRANGEPLAINLOOSE]}$`);M("LONECARET","(?:\\^)");M("CARETTRIM",`(\\s*)${B[P.LONECARET]}\\s+`,!0);vt.caretTrimReplace="$1^";M("CARET",`^${B[P.LONECARET]}${B[P.XRANGEPLAIN]}$`);M("CARETLOOSE",`^${B[P.LONECARET]}${B[P.XRANGEPLAINLOOSE]}$`);M("COMPARATORLOOSE",`^${B[P.GTLT]}\\s*(${B[P.LOOSEPLAIN]})$|^$`);M("COMPARATOR",`^${B[P.GTLT]}\\s*(${B[P.FULLPLAIN]})$|^$`);M("COMPARATORTRIM",`(\\s*)${B[P.GTLT]}\\s*(${B[P.LOOSEPLAIN]}|${B[P.XRANGEPLAIN]})`,!0);vt.comparatorTrimReplace="$1$2$3";M("HYPHENRANGE",`^\\s*(${B[P.XRANGEPLAIN]})\\s+-\\s+(${B[P.XRANGEPLAIN]})\\s*$`);M("HYPHENRANGELOOSE",`^\\s*(${B[P.XRANGEPLAINLOOSE]})\\s+-\\s+(${B[P.XRANGEPLAINLOOSE]})\\s*$`);M("STAR","(<|>)?=?\\s*\\*");M("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");M("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var $n=_((xv,dh)=>{d();var sC=["includePrerelease","loose","rtl"],aC=e=>e?typeof e!="object"?{loose:!0}:sC.filter(t=>e[t]).reduce((t,r)=>(t[r]=!0,t),{}):{};dh.exports=aC});var qa=_((Nv,Dh)=>{d();var hh=/^[0-9]+$/,ph=(e,t)=>{let r=hh.test(e),n=hh.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},lC=(e,t)=>ph(t,e);Dh.exports={compareIdentifiers:ph,rcompareIdentifiers:lC}});var me=_((Wv,gh)=>{d();var No=Wn(),{MAX_LENGTH:mh,MAX_SAFE_INTEGER:ko}=kn(),{re:bh,t:yh}=Qt(),cC=$n(),{compareIdentifiers:$r}=qa(),Na=class e{constructor(t,r){if(r=cC(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid Version: ${t}`);if(t.length>mh)throw new TypeError(`version is longer than ${mh} characters`);No("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?bh[yh.LOOSE]:bh[yh.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>ko||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ko||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ko||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let i=+o;if(i>=0&&i<ko)return i}return o}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(No("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),$r(this.major,t.major)||$r(this.minor,t.minor)||$r(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],o=t.prerelease[r];if(No("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return $r(n,o)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],o=t.build[r];if(No("prerelease compare",r,n,o),n===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(n===void 0)return-1;if(n===o)continue;return $r(n,o)}while(++r)}inc(t,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r),this.inc("pre",r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);n===-1&&this.prerelease.push(0)}r&&($r(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}};gh.exports=Na});var Jt=_((jv,_h)=>{d();var{MAX_LENGTH:fC}=kn(),{re:Eh,t:Ch}=Qt(),Ah=me(),dC=$n(),hC=(e,t)=>{if(t=dC(t),e instanceof Ah)return e;if(typeof e!="string"||e.length>fC||!(t.loose?Eh[Ch.LOOSE]:Eh[Ch.FULL]).test(e))return null;try{return new Ah(e,t)}catch{return null}};_h.exports=hC});var Fh=_((zv,Sh)=>{d();var pC=Jt(),DC=(e,t)=>{let r=pC(e,t);return r?r.version:null};Sh.exports=DC});var Rh=_((Hv,wh)=>{d();var mC=Jt(),bC=(e,t)=>{let r=mC(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};wh.exports=bC});var Bh=_((Vv,Th)=>{d();var vh=me(),yC=(e,t,r,n)=>{typeof r=="string"&&(n=r,r=void 0);try{return new vh(e instanceof vh?e.version:e,r).inc(t,n).version}catch{return null}};Th.exports=yC});var qe=_((Xv,Oh)=>{d();var Ph=me(),gC=(e,t,r)=>new Ph(e,r).compare(new Ph(t,r));Oh.exports=gC});var Wo=_((Jv,Ih)=>{d();var EC=qe(),CC=(e,t,r)=>EC(e,t,r)===0;Ih.exports=CC});var qh=_((Kv,xh)=>{d();var Lh=Jt(),AC=Wo(),_C=(e,t)=>{if(AC(e,t))return null;{let r=Lh(e),n=Lh(t),o=r.prerelease.length||n.prerelease.length,i=o?"pre":"",a=o?"prerelease":"";for(let c in r)if((c==="major"||c==="minor"||c==="patch")&&r[c]!==n[c])return i+c;return a}};xh.exports=_C});var kh=_((tT,Nh)=>{d();var SC=me(),FC=(e,t)=>new SC(e,t).major;Nh.exports=FC});var $h=_((nT,Wh)=>{d();var wC=me(),RC=(e,t)=>new wC(e,t).minor;Wh.exports=RC});var Mh=_((oT,jh)=>{d();var vC=me(),TC=(e,t)=>new vC(e,t).patch;jh.exports=TC});var Uh=_((sT,zh)=>{d();var BC=Jt(),PC=(e,t)=>{let r=BC(e,t);return r&&r.prerelease.length?r.prerelease:null};zh.exports=PC});var Gh=_((lT,Hh)=>{d();var OC=qe(),IC=(e,t,r)=>OC(t,e,r);Hh.exports=IC});var Yh=_((fT,Vh)=>{d();var LC=qe(),xC=(e,t)=>LC(e,t,!0);Vh.exports=xC});var $o=_((hT,Qh)=>{d();var Xh=me(),qC=(e,t,r)=>{let n=new Xh(e,r),o=new Xh(t,r);return n.compare(o)||n.compareBuild(o)};Qh.exports=qC});var Zh=_((DT,Jh)=>{d();var NC=$o(),kC=(e,t)=>e.sort((r,n)=>NC(r,n,t));Jh.exports=kC});var ep=_((bT,Kh)=>{d();var WC=$o(),$C=(e,t)=>e.sort((r,n)=>WC(n,r,t));Kh.exports=$C});var jn=_((gT,tp)=>{d();var jC=qe(),MC=(e,t,r)=>jC(e,t,r)>0;tp.exports=MC});var jo=_((CT,rp)=>{d();var zC=qe(),UC=(e,t,r)=>zC(e,t,r)<0;rp.exports=UC});var ka=_((_T,np)=>{d();var HC=qe(),GC=(e,t,r)=>HC(e,t,r)!==0;np.exports=GC});var Mo=_((FT,up)=>{d();var VC=qe(),YC=(e,t,r)=>VC(e,t,r)>=0;up.exports=YC});var zo=_((RT,op)=>{d();var XC=qe(),QC=(e,t,r)=>XC(e,t,r)<=0;op.exports=QC});var Wa=_((TT,ip)=>{d();var JC=Wo(),ZC=ka(),KC=jn(),eA=Mo(),tA=jo(),rA=zo(),nA=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return JC(e,r,n);case"!=":return ZC(e,r,n);case">":return KC(e,r,n);case">=":return eA(e,r,n);case"<":return tA(e,r,n);case"<=":return rA(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};ip.exports=nA});var ap=_((PT,sp)=>{d();var uA=me(),oA=Jt(),{re:Uo,t:Ho}=Qt(),iA=(e,t)=>{if(e instanceof uA)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(Uo[Ho.COERCE]);else{let n;for(;(n=Uo[Ho.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),Uo[Ho.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;Uo[Ho.COERCERTL].lastIndex=-1}return r===null?null:oA(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};sp.exports=iA});var cp=_((IT,lp)=>{"use strict";d();lp.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var dp=_((xT,fp)=>{"use strict";d();fp.exports=Q;Q.Node=Zt;Q.create=Q;function Q(e){var t=this;if(t instanceof Q||(t=new Q),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var r=0,n=arguments.length;r<n;r++)t.push(arguments[r]);return t}Q.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Q.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Q.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Q.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)aA(this,arguments[e]);return this.length};Q.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)lA(this,arguments[e]);return this.length};Q.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Q.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Q.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,n=0;r!==null;n++)e.call(t,r.value,n,this),r=r.next};Q.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,n=this.length-1;r!==null;n--)e.call(t,r.value,n,this),r=r.prev};Q.prototype.get=function(e){for(var t=0,r=this.head;r!==null&&t<e;t++)r=r.next;if(t===e&&r!==null)return r.value};Q.prototype.getReverse=function(e){for(var t=0,r=this.tail;r!==null&&t<e;t++)r=r.prev;if(t===e&&r!==null)return r.value};Q.prototype.map=function(e,t){t=t||this;for(var r=new Q,n=this.head;n!==null;)r.push(e.call(t,n.value,this)),n=n.next;return r};Q.prototype.mapReverse=function(e,t){t=t||this;for(var r=new Q,n=this.tail;n!==null;)r.push(e.call(t,n.value,this)),n=n.prev;return r};Q.prototype.reduce=function(e,t){var r,n=this.head;if(arguments.length>1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;n!==null;o++)r=e(r,n.value,o),n=n.next;return r};Q.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;n!==null;o--)r=e(r,n.value,o),n=n.prev;return r};Q.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};Q.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};Q.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Q;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,o=this.head;o!==null&&n<e;n++)o=o.next;for(;o!==null&&n<t;n++,o=o.next)r.push(o.value);return r};Q.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new Q;if(t<e||t<0)return r;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,o=this.tail;o!==null&&n>t;n--)o=o.prev;for(;o!==null&&n>e;n--,o=o.prev)r.push(o.value);return r};Q.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;o!==null&&n<e;n++)o=o.next;for(var i=[],n=0;o&&n<t;n++)i.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var n=0;n<r.length;n++)o=sA(this,o,r[n]);return i};Q.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;r!==null;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=t,this.tail=e,this};function sA(e,t,r){var n=t===e.head?new Zt(r,null,t,e):new Zt(r,t,t.next,e);return n.next===null&&(e.tail=n),n.prev===null&&(e.head=n),e.length++,n}function aA(e,t){e.tail=new Zt(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function lA(e,t){e.head=new Zt(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Zt(e,t,r,n){if(!(this instanceof Zt))return new Zt(e,t,r,n);this.list=n,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}try{cp()(Q)}catch{}});var bp=_((NT,mp)=>{"use strict";d();var cA=dp(),Kt=Symbol("max"),ft=Symbol("length"),jr=Symbol("lengthCalculator"),zn=Symbol("allowStale"),er=Symbol("maxAge"),ct=Symbol("dispose"),hp=Symbol("noDisposeOnSet"),ce=Symbol("lruList"),Ve=Symbol("cache"),Dp=Symbol("updateAgeOnGet"),$a=()=>1,Ma=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let r=this[Kt]=t.max||1/0,n=t.length||$a;if(this[jr]=typeof n!="function"?$a:n,this[zn]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[er]=t.maxAge||0,this[ct]=t.dispose,this[hp]=t.noDisposeOnSet||!1,this[Dp]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Kt]=t||1/0,Mn(this)}get max(){return this[Kt]}set allowStale(t){this[zn]=!!t}get allowStale(){return this[zn]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[er]=t,Mn(this)}get maxAge(){return this[er]}set lengthCalculator(t){typeof t!="function"&&(t=$a),t!==this[jr]&&(this[jr]=t,this[ft]=0,this[ce].forEach(r=>{r.length=this[jr](r.value,r.key),this[ft]+=r.length})),Mn(this)}get lengthCalculator(){return this[jr]}get length(){return this[ft]}get itemCount(){return this[ce].length}rforEach(t,r){r=r||this;for(let n=this[ce].tail;n!==null;){let o=n.prev;pp(this,t,n,r),n=o}}forEach(t,r){r=r||this;for(let n=this[ce].head;n!==null;){let o=n.next;pp(this,t,n,r),n=o}}keys(){return this[ce].toArray().map(t=>t.key)}values(){return this[ce].toArray().map(t=>t.value)}reset(){this[ct]&&this[ce]&&this[ce].length&&this[ce].forEach(t=>this[ct](t.key,t.value)),this[Ve]=new Map,this[ce]=new cA,this[ft]=0}dump(){return this[ce].map(t=>Go(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[ce]}set(t,r,n){if(n=n||this[er],n&&typeof n!="number")throw new TypeError("maxAge must be a number");let o=n?Date.now():0,i=this[jr](r,t);if(this[Ve].has(t)){if(i>this[Kt])return Mr(this,this[Ve].get(t)),!1;let f=this[Ve].get(t).value;return this[ct]&&(this[hp]||this[ct](t,f.value)),f.now=o,f.maxAge=n,f.value=r,this[ft]+=i-f.length,f.length=i,this.get(t),Mn(this),!0}let a=new za(t,r,i,o,n);return a.length>this[Kt]?(this[ct]&&this[ct](t,r),!1):(this[ft]+=a.length,this[ce].unshift(a),this[Ve].set(t,this[ce].head),Mn(this),!0)}has(t){if(!this[Ve].has(t))return!1;let r=this[Ve].get(t).value;return!Go(this,r)}get(t){return ja(this,t,!0)}peek(t){return ja(this,t,!1)}pop(){let t=this[ce].tail;return t?(Mr(this,t),t.value):null}del(t){Mr(this,this[Ve].get(t))}load(t){this.reset();let r=Date.now();for(let n=t.length-1;n>=0;n--){let o=t[n],i=o.e||0;if(i===0)this.set(o.k,o.v);else{let a=i-r;a>0&&this.set(o.k,o.v,a)}}}prune(){this[Ve].forEach((t,r)=>ja(this,r,!1))}},ja=(e,t,r)=>{let n=e[Ve].get(t);if(n){let o=n.value;if(Go(e,o)){if(Mr(e,n),!e[zn])return}else r&&(e[Dp]&&(n.value.now=Date.now()),e[ce].unshiftNode(n));return o.value}},Go=(e,t)=>{if(!t||!t.maxAge&&!e[er])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[er]&&r>e[er]},Mn=e=>{if(e[ft]>e[Kt])for(let t=e[ce].tail;e[ft]>e[Kt]&&t!==null;){let r=t.prev;Mr(e,t),t=r}},Mr=(e,t)=>{if(t){let r=t.value;e[ct]&&e[ct](r.key,r.value),e[ft]-=r.length,e[Ve].delete(r.key),e[ce].removeNode(t)}},za=class{constructor(t,r,n,o,i){this.key=t,this.value=r,this.length=n,this.now=o,this.maxAge=i||0}},pp=(e,t,r,n)=>{let o=r.value;Go(e,o)&&(Mr(e,r),e[zn]||(o=void 0)),o&&t.call(n,o.value,o.key,e)};mp.exports=Ma});var Ne=_((WT,Cp)=>{d();var Ua=class e{constructor(t,r){if(r=dA(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof Ha)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t,this.set=t.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${t}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(o=>!gp(o[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&bA(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){t=t.trim();let n=`parseRange:${Object.keys(this.options).join(",")}:${t}`,o=yp.get(n);if(o)return o;let i=this.options.loose,a=i?_e[ge.HYPHENRANGELOOSE]:_e[ge.HYPHENRANGE];t=t.replace(a,RA(this.options.includePrerelease)),ne("hyphen replace",t),t=t.replace(_e[ge.COMPARATORTRIM],pA),ne("comparator trim",t),t=t.replace(_e[ge.TILDETRIM],DA),t=t.replace(_e[ge.CARETTRIM],mA),t=t.split(/\s+/).join(" ");let c=t.split(" ").map(m=>yA(m,this.options)).join(" ").split(/\s+/).map(m=>wA(m,this.options));i&&(c=c.filter(m=>(ne("loose invalid filter",m,this.options),!!m.match(_e[ge.COMPARATORLOOSE])))),ne("range list",c);let f=new Map,D=c.map(m=>new Ha(m,this.options));for(let m of D){if(gp(m))return[m];f.set(m.value,m)}f.size>1&&f.has("")&&f.delete("");let h=[...f.values()];return yp.set(n,h),h}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>Ep(n,r)&&t.set.some(o=>Ep(o,r)&&n.every(i=>o.every(a=>i.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new hA(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(vA(this.set[r],t,this.options))return!0;return!1}};Cp.exports=Ua;var fA=bp(),yp=new fA({max:1e3}),dA=$n(),Ha=Un(),ne=Wn(),hA=me(),{re:_e,t:ge,comparatorTrimReplace:pA,tildeTrimReplace:DA,caretTrimReplace:mA}=Qt(),gp=e=>e.value==="<0.0.0-0",bA=e=>e.value==="",Ep=(e,t)=>{let r=!0,n=e.slice(),o=n.pop();for(;r&&n.length;)r=n.every(i=>o.intersects(i,t)),o=n.pop();return r},yA=(e,t)=>(ne("comp",e,t),e=CA(e,t),ne("caret",e),e=gA(e,t),ne("tildes",e),e=_A(e,t),ne("xrange",e),e=FA(e,t),ne("stars",e),e),Ee=e=>!e||e.toLowerCase()==="x"||e==="*",gA=(e,t)=>e.trim().split(/\s+/).map(r=>EA(r,t)).join(" "),EA=(e,t)=>{let r=t.loose?_e[ge.TILDELOOSE]:_e[ge.TILDE];return e.replace(r,(n,o,i,a,c)=>{ne("tilde",e,n,o,i,a,c);let f;return Ee(o)?f="":Ee(i)?f=`>=${o}.0.0 <${+o+1}.0.0-0`:Ee(a)?f=`>=${o}.${i}.0 <${o}.${+i+1}.0-0`:c?(ne("replaceTilde pr",c),f=`>=${o}.${i}.${a}-${c} <${o}.${+i+1}.0-0`):f=`>=${o}.${i}.${a} <${o}.${+i+1}.0-0`,ne("tilde return",f),f})},CA=(e,t)=>e.trim().split(/\s+/).map(r=>AA(r,t)).join(" "),AA=(e,t)=>{ne("caret",e,t);let r=t.loose?_e[ge.CARETLOOSE]:_e[ge.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(o,i,a,c,f)=>{ne("caret",e,o,i,a,c,f);let D;return Ee(i)?D="":Ee(a)?D=`>=${i}.0.0${n} <${+i+1}.0.0-0`:Ee(c)?i==="0"?D=`>=${i}.${a}.0${n} <${i}.${+a+1}.0-0`:D=`>=${i}.${a}.0${n} <${+i+1}.0.0-0`:f?(ne("replaceCaret pr",f),i==="0"?a==="0"?D=`>=${i}.${a}.${c}-${f} <${i}.${a}.${+c+1}-0`:D=`>=${i}.${a}.${c}-${f} <${i}.${+a+1}.0-0`:D=`>=${i}.${a}.${c}-${f} <${+i+1}.0.0-0`):(ne("no pr"),i==="0"?a==="0"?D=`>=${i}.${a}.${c}${n} <${i}.${a}.${+c+1}-0`:D=`>=${i}.${a}.${c}${n} <${i}.${+a+1}.0-0`:D=`>=${i}.${a}.${c} <${+i+1}.0.0-0`),ne("caret return",D),D})},_A=(e,t)=>(ne("replaceXRanges",e,t),e.split(/\s+/).map(r=>SA(r,t)).join(" ")),SA=(e,t)=>{e=e.trim();let r=t.loose?_e[ge.XRANGELOOSE]:_e[ge.XRANGE];return e.replace(r,(n,o,i,a,c,f)=>{ne("xRange",e,n,o,i,a,c,f);let D=Ee(i),h=D||Ee(a),m=h||Ee(c),b=m;return o==="="&&b&&(o=""),f=t.includePrerelease?"-0":"",D?o===">"||o==="<"?n="<0.0.0-0":n="*":o&&b?(h&&(a=0),c=0,o===">"?(o=">=",h?(i=+i+1,a=0,c=0):(a=+a+1,c=0)):o==="<="&&(o="<",h?i=+i+1:a=+a+1),o==="<"&&(f="-0"),n=`${o+i}.${a}.${c}${f}`):h?n=`>=${i}.0.0${f} <${+i+1}.0.0-0`:m&&(n=`>=${i}.${a}.0${f} <${i}.${+a+1}.0-0`),ne("xRange return",n),n})},FA=(e,t)=>(ne("replaceStars",e,t),e.trim().replace(_e[ge.STAR],"")),wA=(e,t)=>(ne("replaceGTE0",e,t),e.trim().replace(_e[t.includePrerelease?ge.GTE0PRE:ge.GTE0],"")),RA=e=>(t,r,n,o,i,a,c,f,D,h,m,b,y)=>(Ee(n)?r="":Ee(o)?r=`>=${n}.0.0${e?"-0":""}`:Ee(i)?r=`>=${n}.${o}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,Ee(D)?f="":Ee(h)?f=`<${+D+1}.0.0-0`:Ee(m)?f=`<${D}.${+h+1}.0-0`:b?f=`<=${D}.${h}.${m}-${b}`:e?f=`<${D}.${h}.${+m+1}-0`:f=`<=${f}`,`${r} ${f}`.trim()),vA=(e,t,r)=>{for(let n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let n=0;n<e.length;n++)if(ne(e[n].semver),e[n].semver!==Ha.ANY&&e[n].semver.prerelease.length>0){let o=e[n].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var Un=_((jT,wp)=>{d();var Hn=Symbol("SemVer ANY"),Ya=class e{static get ANY(){return Hn}constructor(t,r){if(r=TA(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}Va("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===Hn?this.value="":this.value=this.operator+this.semver.version,Va("comp",this)}parse(t){let r=this.options.loose?Ap[_p.COMPARATORLOOSE]:Ap[_p.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Sp(n[2],this.options.loose):this.semver=Hn}toString(){return this.value}test(t){if(Va("Comparator.test",t,this.options.loose),this.semver===Hn||t===Hn)return!0;if(typeof t=="string")try{t=new Sp(t,this.options)}catch{return!1}return Ga(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");if((!r||typeof r!="object")&&(r={loose:!!r,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new Fp(t.value,r).test(this.value);if(t.operator==="")return t.value===""?!0:new Fp(this.value,r).test(t.semver);let n=(this.operator===">="||this.operator===">")&&(t.operator===">="||t.operator===">"),o=(this.operator==="<="||this.operator==="<")&&(t.operator==="<="||t.operator==="<"),i=this.semver.version===t.semver.version,a=(this.operator===">="||this.operator==="<=")&&(t.operator===">="||t.operator==="<="),c=Ga(this.semver,"<",t.semver,r)&&(this.operator===">="||this.operator===">")&&(t.operator==="<="||t.operator==="<"),f=Ga(this.semver,">",t.semver,r)&&(this.operator==="<="||this.operator==="<")&&(t.operator===">="||t.operator===">");return n||o||i&&a||c||f}};wp.exports=Ya;var TA=$n(),{re:Ap,t:_p}=Qt(),Ga=Wa(),Va=Wn(),Sp=me(),Fp=Ne()});var Gn=_((zT,Rp)=>{d();var BA=Ne(),PA=(e,t,r)=>{try{t=new BA(t,r)}catch{return!1}return t.test(e)};Rp.exports=PA});var Tp=_((HT,vp)=>{d();var OA=Ne(),IA=(e,t)=>new OA(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));vp.exports=IA});var Pp=_((VT,Bp)=>{d();var LA=me(),xA=Ne(),qA=(e,t,r)=>{let n=null,o=null,i=null;try{i=new xA(t,r)}catch{return null}return e.forEach(a=>{i.test(a)&&(!n||o.compare(a)===-1)&&(n=a,o=new LA(n,r))}),n};Bp.exports=qA});var Ip=_((XT,Op)=>{d();var NA=me(),kA=Ne(),WA=(e,t,r)=>{let n=null,o=null,i=null;try{i=new kA(t,r)}catch{return null}return e.forEach(a=>{i.test(a)&&(!n||o.compare(a)===1)&&(n=a,o=new NA(n,r))}),n};Op.exports=WA});var qp=_((JT,xp)=>{d();var Xa=me(),$A=Ne(),Lp=jn(),jA=(e,t)=>{e=new $A(e,t);let r=new Xa("0.0.0");if(e.test(r)||(r=new Xa("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n<e.set.length;++n){let o=e.set[n],i=null;o.forEach(a=>{let c=new Xa(a.semver.version);switch(a.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!i||Lp(c,i))&&(i=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),i&&(!r||Lp(r,i))&&(r=i)}return r&&e.test(r)?r:null};xp.exports=jA});var kp=_((KT,Np)=>{d();var MA=Ne(),zA=(e,t)=>{try{return new MA(e,t).range||"*"}catch{return null}};Np.exports=zA});var Vo=_((tB,Mp)=>{d();var UA=me(),jp=Un(),{ANY:HA}=jp,GA=Ne(),VA=Gn(),Wp=jn(),$p=jo(),YA=zo(),XA=Mo(),QA=(e,t,r,n)=>{e=new UA(e,n),t=new GA(t,n);let o,i,a,c,f;switch(r){case">":o=Wp,i=YA,a=$p,c=">",f=">=";break;case"<":o=$p,i=XA,a=Wp,c="<",f="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(VA(e,t,n))return!1;for(let D=0;D<t.set.length;++D){let h=t.set[D],m=null,b=null;if(h.forEach(y=>{y.semver===HA&&(y=new jp(">=0.0.0")),m=m||y,b=b||y,o(y.semver,m.semver,n)?m=y:a(y.semver,b.semver,n)&&(b=y)}),m.operator===c||m.operator===f||(!b.operator||b.operator===c)&&i(e,b.semver))return!1;if(b.operator===f&&a(e,b.semver))return!1}return!0};Mp.exports=QA});var Up=_((nB,zp)=>{d();var JA=Vo(),ZA=(e,t,r)=>JA(e,t,">",r);zp.exports=ZA});var Gp=_((oB,Hp)=>{d();var KA=Vo(),e_=(e,t,r)=>KA(e,t,"<",r);Hp.exports=e_});var Xp=_((sB,Yp)=>{d();var Vp=Ne(),t_=(e,t,r)=>(e=new Vp(e,r),t=new Vp(t,r),e.intersects(t));Yp.exports=t_});var Jp=_((lB,Qp)=>{d();var r_=Gn(),n_=qe();Qp.exports=(e,t,r)=>{let n=[],o=null,i=null,a=e.sort((h,m)=>n_(h,m,r));for(let h of a)r_(h,t,r)?(i=h,o||(o=h)):(i&&n.push([o,i]),i=null,o=null);o&&n.push([o,null]);let c=[];for(let[h,m]of n)h===m?c.push(h):!m&&h===a[0]?c.push("*"):m?h===a[0]?c.push(`<=${m}`):c.push(`${h} - ${m}`):c.push(`>=${h}`);let f=c.join(" || "),D=typeof t.raw=="string"?t.raw:String(t);return f.length<D.length?f:t}});var r0=_((fB,t0)=>{d();var Zp=Ne(),Yo=Un(),{ANY:Qa}=Yo,Vn=Gn(),Ja=qe(),u_=(e,t,r={})=>{if(e===t)return!0;e=new Zp(e,r),t=new Zp(t,r);let n=!1;e:for(let o of e.set){for(let i of t.set){let a=o_(o,i,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},o_=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Qa){if(t.length===1&&t[0].semver===Qa)return!0;r.includePrerelease?e=[new Yo(">=0.0.0-0")]:e=[new Yo(">=0.0.0")]}if(t.length===1&&t[0].semver===Qa){if(r.includePrerelease)return!0;t=[new Yo(">=0.0.0")]}let n=new Set,o,i;for(let y of e)y.operator===">"||y.operator===">="?o=Kp(o,y,r):y.operator==="<"||y.operator==="<="?i=e0(i,y,r):n.add(y.semver);if(n.size>1)return null;let a;if(o&&i){if(a=Ja(o.semver,i.semver,r),a>0)return null;if(a===0&&(o.operator!==">="||i.operator!=="<="))return null}for(let y of n){if(o&&!Vn(y,String(o),r)||i&&!Vn(y,String(i),r))return null;for(let E of t)if(!Vn(y,String(E),r))return!1;return!0}let c,f,D,h,m=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,b=o&&!r.includePrerelease&&o.semver.prerelease.length?o.semver:!1;m&&m.prerelease.length===1&&i.operator==="<"&&m.prerelease[0]===0&&(m=!1);for(let y of t){if(h=h||y.operator===">"||y.operator===">=",D=D||y.operator==="<"||y.operator==="<=",o){if(b&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===b.major&&y.semver.minor===b.minor&&y.semver.patch===b.patch&&(b=!1),y.operator===">"||y.operator===">="){if(c=Kp(o,y,r),c===y&&c!==o)return!1}else if(o.operator===">="&&!Vn(o.semver,String(y),r))return!1}if(i){if(m&&y.semver.prerelease&&y.semver.prerelease.length&&y.semver.major===m.major&&y.semver.minor===m.minor&&y.semver.patch===m.patch&&(m=!1),y.operator==="<"||y.operator==="<="){if(f=e0(i,y,r),f===y&&f!==i)return!1}else if(i.operator==="<="&&!Vn(i.semver,String(y),r))return!1}if(!y.operator&&(i||o)&&a!==0)return!1}return!(o&&D&&!i&&a!==0||i&&h&&!o&&a!==0||b||m)},Kp=(e,t,r)=>{if(!e)return t;let n=Ja(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},e0=(e,t,r)=>{if(!e)return t;let n=Ja(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};t0.exports=u_});var o0=_((hB,u0)=>{d();var Za=Qt(),i_=kn(),s_=me(),n0=qa(),a_=Jt(),l_=Fh(),c_=Rh(),f_=Bh(),d_=qh(),h_=kh(),p_=$h(),D_=Mh(),m_=Uh(),b_=qe(),y_=Gh(),g_=Yh(),E_=$o(),C_=Zh(),A_=ep(),__=jn(),S_=jo(),F_=Wo(),w_=ka(),R_=Mo(),v_=zo(),T_=Wa(),B_=ap(),P_=Un(),O_=Ne(),I_=Gn(),L_=Tp(),x_=Pp(),q_=Ip(),N_=qp(),k_=kp(),W_=Vo(),$_=Up(),j_=Gp(),M_=Xp(),z_=Jp(),U_=r0();u0.exports={parse:a_,valid:l_,clean:c_,inc:f_,diff:d_,major:h_,minor:p_,patch:D_,prerelease:m_,compare:b_,rcompare:y_,compareLoose:g_,compareBuild:E_,sort:C_,rsort:A_,gt:__,lt:S_,eq:F_,neq:w_,gte:R_,lte:v_,cmp:T_,coerce:B_,Comparator:P_,Range:O_,satisfies:I_,toComparators:L_,maxSatisfying:x_,minSatisfying:q_,minVersion:N_,validRange:k_,outside:W_,gtr:$_,ltr:j_,intersects:M_,simplifyRange:z_,subset:U_,SemVer:s_,re:Za.re,src:Za.src,tokens:Za.t,SEMVER_SPEC_VERSION:i_.SEMVER_SPEC_VERSION,compareIdentifiers:n0.compareIdentifiers,rcompareIdentifiers:n0.rcompareIdentifiers}});var s0=_((DB,i0)=>{"use strict";d();var Ka=class e extends Error{constructor(t){super(e._prepareSuperMessage(t)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,e)}static _prepareSuperMessage(t){try{return JSON.stringify(t)}catch{return String(t)}}},H_=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],el=({from:e,seen:t,to_:r,forceEnumerable:n})=>{let o=r||(Array.isArray(e)?[]:{});t.push(e);for(let[i,a]of Object.entries(e))if(typeof a!="function"){if(!a||typeof a!="object"){o[i]=a;continue}if(!t.includes(e[i])){o[i]=el({from:e[i],seen:t.slice(),forceEnumerable:n});continue}o[i]="[Circular]"}for(let{property:i,enumerable:a}of H_)typeof e[i]=="string"&&Object.defineProperty(o,i,{value:e[i],enumerable:n?!0:a,configurable:!0,writable:!0});return o},G_=e=>typeof e=="object"&&e!==null?el({from:e,seen:[],forceEnumerable:!0}):typeof e=="function"?`[Function: ${e.name||"anonymous"}]`:e,V_=e=>{if(e instanceof Error)return e;if(typeof e=="object"&&e!==null&&!Array.isArray(e)){let t=new Error;return el({from:e,seen:[],to_:t}),t}return new Ka(e)};i0.exports={serializeError:G_,deserializeError:V_}});var Qo=_(Xo=>{"use strict";d();Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var a0=s0(),Y_=Ao(),X_=Q_(Nn());function Q_(e){return e&&e.__esModule?e:{default:e}}var tt=X_.default.child({namespace:"Agent"}),J_=0,tl=class{constructor(t,r,n,o,i){this.fallbackAgent=o,this.isProxyConfigured=t,this.mustUrlUseProxy=r,this.getUrlProxy=n,this.socketConnectionTimeout=i}addRequest(t,r){let n;if(t.path.startsWith("http://")||t.path.startsWith("https://")?n=t.path:n=this.protocol+"//"+(r.hostname||r.host)+(r.port===80||r.port===443?"":":"+r.port)+t.path,!this.isProxyConfigured()){tt.trace({destination:n},"not proxying request; GLOBAL_AGENT.HTTP_PROXY is not configured"),this.fallbackAgent.addRequest(t,r);return}if(!this.mustUrlUseProxy(n)){tt.trace({destination:n},"not proxying request; url matches GLOBAL_AGENT.NO_PROXY"),this.fallbackAgent.addRequest(t,r);return}let o=J_++,i=this.getUrlProxy(n);this.protocol==="http:"&&(t.path=n,i.authorization&&t.setHeader("proxy-authorization","Basic "+Buffer.from(i.authorization).toString("base64"))),tt.trace({destination:n,proxy:"http://"+i.hostname+":"+i.port,requestId:o},"proxying request"),t.on("error",c=>{tt.error({error:(0,a0.serializeError)(c)},"request error")}),t.once("response",c=>{tt.trace({headers:c.headers,requestId:o,statusCode:c.statusCode},"proxying response")}),t.shouldKeepAlive=!1;let a={host:r.hostname||r.host,port:r.port||80,proxy:i,tls:{}};this.protocol==="https:"&&(a.tls={ca:r.ca,cert:r.cert,ciphers:r.ciphers,clientCertEngine:r.clientCertEngine,crl:r.crl,dhparam:r.dhparam,ecdhCurve:r.ecdhCurve,honorCipherOrder:r.honorCipherOrder,key:r.key,passphrase:r.passphrase,pfx:r.pfx,rejectUnauthorized:r.rejectUnauthorized,secureOptions:r.secureOptions,secureProtocol:r.secureProtocol,servername:r.servername||a.host,sessionIdContext:r.sessionIdContext},typeof process.env.NODE_TLS_REJECT_UNAUTHORIZED=="string"&&(0,Y_.boolean)(process.env.NODE_TLS_REJECT_UNAUTHORIZED)===!1&&(a.tls.rejectUnauthorized=!1)),this.createConnection(a,(c,f)=>{tt.trace({target:a},"connecting"),f&&(f.setTimeout(this.socketConnectionTimeout,()=>{f.destroy()}),f.once("connect",()=>{tt.trace({target:a},"connected"),f.setTimeout(0)}),f.once("secureConnect",()=>{tt.trace({target:a},"connected (secure)"),f.setTimeout(0)})),c?t.emit("error",c):(tt.debug("created socket"),f.on("error",D=>{tt.error({error:(0,a0.serializeError)(D)},"socket error")}),t.onSocket(f))})}},Z_=tl;Xo.default=Z_});var c0=_(Jo=>{"use strict";d();Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var K_=l0(require("net")),eS=l0(Qo());function l0(e){return e&&e.__esModule?e:{default:e}}var rl=class extends eS.default{constructor(...t){super(...t),this.protocol="http:",this.defaultPort=80}createConnection(t,r){let n=K_.default.connect(t.proxy.port,t.proxy.hostname);r(null,n)}},tS=rl;Jo.default=tS});var f0=_(Zo=>{"use strict";d();Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var rS=ul(require("net")),nS=ul(require("tls")),uS=ul(Qo());function ul(e){return e&&e.__esModule?e:{default:e}}var nl=class extends uS.default{constructor(...t){super(...t),this.protocol="https:",this.defaultPort=443}createConnection(t,r){let n=rS.default.connect(t.proxy.port,t.proxy.hostname);n.on("error",i=>{r(i)}),n.once("data",()=>{let i=nS.default.connect({...t.tls,socket:n});r(null,i)});let o="";o+="CONNECT "+t.host+":"+t.port+` HTTP/1.1\r
|
|
3
3
|
`,o+="Host: "+t.host+":"+t.port+`\r
|
|
4
4
|
`,t.proxy.authorization&&(o+="Proxy-Authorization: Basic "+Buffer.from(t.proxy.authorization).toString("base64")+`\r
|
|
@@ -18,7 +18,7 @@ Content-Type: ${i.type||"application/octet-stream"}\r
|
|
|
18
18
|
\r
|
|
19
19
|
`),n=!1,o=!1,i;e.on("response",a=>{let{headers:c}=a;n=c["transfer-encoding"]==="chunked"&&!c["content-length"]}),e.on("socket",a=>{let c=()=>{if(n&&!o){let D=new Error("Premature close");D.code="ERR_STREAM_PREMATURE_CLOSE",t(D)}},f=D=>{o=su.Buffer.compare(D.slice(-5),r)===0,!o&&i&&(o=su.Buffer.compare(i.slice(-3),r.slice(0,3))===0&&su.Buffer.compare(D.slice(-2),r.slice(3))===0),i=D};a.prependListener("close",c),a.on("data",f),e.on("close",()=>{a.removeListener("close",c),a.removeListener("data",f)})})}var CD,AD,ir,Oe,su,RF,Rl=ie(()=>{d();CD=De(require("http"),1),AD=De(require("https"),1),ir=De(require("zlib"),1),Oe=De(require("stream"),1),su=require("buffer");q0();gi();iD();Ci();gD();bl();ED();Fl();di();Di();wl();El();RF=new Set(["data:","http:","https:"])});function Hl(e,t,...r){if(!e)throw new TypeError(cm(t,r))}function cm(e,t){let r=0;return e.replace(/%[os]/gu,()=>fm(t[r++]))}function fm(e){return typeof e!="object"||e===null?String(e):Object.prototype.toString.call(e)}function OF(e){try{let t=e instanceof Error?e:new Error(fm(e));if(typeof dispatchEvent=="function"&&typeof ErrorEvent=="function")dispatchEvent(new ErrorEvent("error",{error:t,message:t.message}));else if(typeof process<"u"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)}catch{}}function se(e,t="this"){let r=kl.get(e);return Hl(r!=null,"'%s' must be an object that Event constructor created, but got another one: %o",t,e),r}function TD(e){if(e.inPassiveListenerFlag){kF.warn();return}if(!e.cancelable){NF.warn();return}e.canceledFlag=!0}function Ot(e){let t=dm.get(e);return Hl(t!=null,"'this' is expected an Event object, but got",e),t}function hm(e){let t=Object.getPrototypeOf(e);if(t==null)return pu;let r=Wl.get(t);return r==null&&(r=jF(hm(t),t),Wl.set(t,r)),r}function jF(e,t){class r extends e{}let n=Object.keys(t);for(let o=0;o<n.length;++o)Object.defineProperty(r.prototype,n[o],pm(t,n[o]));return r}function pm(e,t){let r=Object.getOwnPropertyDescriptor(e,t);return{get(){let n=Ot(this).original,o=n[t];return typeof o=="function"?o.bind(n):o},set(n){let o=Ot(this).original;o[t]=n},configurable:r.configurable,enumerable:r.enumerable}}function MF(e,t,r,n,o,i){return{callback:e,flags:(t?1:0)|(r?2:0)|(n?4:0),signal:o,signalListener:i}}function zF(e){e.flags|=8}function Dm(e){return(e.flags&1)===1}function mm(e){return(e.flags&2)===2}function bm(e){return(e.flags&4)===4}function UF(e){return(e.flags&8)===8}function HF({callback:e},t,r){try{typeof e=="function"?e.call(t,r):typeof e.handleEvent=="function"&&e.handleEvent(r)}catch(n){OF(n)}}function ym({listeners:e},t,r){for(let n=0;n<e.length;++n)if(e[n].callback===t&&Dm(e[n])===r)return n;return-1}function gm(e,t,r,n,o,i){let a;i&&(a=Gl.bind(null,e,t,r),i.addEventListener("abort",a));let c=MF(t,r,n,o,i,a);return e.cow?(e.cow=!1,e.listeners=[...e.listeners,c]):e.listeners.push(c),c}function Gl(e,t,r){let n=ym(e,t,r);return n!==-1?Em(e,n):!1}function Em(e,t,r=!1){let n=e.listeners[t];return zF(n),n.signal&&n.signal.removeEventListener("abort",n.signalListener),e.cow&&!r?(e.cow=!1,e.listeners=e.listeners.filter((o,i)=>i!==t),!1):(e.listeners.splice(t,1),!0)}function GF(){return Object.create(null)}function Cm(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e[t]={attrCallback:void 0,attrListener:void 0,cow:!1,listeners:[]}}function en(e,t="this"){let r=Am.get(e);return Hl(r!=null,"'%s' must be an object that EventTarget constructor created, but got another one: %o",t,e),r}function VF(e,t,r){var n;return _m(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture,passive:!!r.passive,once:!!r.once,signal:(n=r.signal)!==null&&n!==void 0?n:void 0}:{type:String(e),callback:t??void 0,capture:!!r,passive:!1,once:!1,signal:void 0}}function YF(e,t,r){return _m(t),typeof r=="object"&&r!==null?{type:String(e),callback:t??void 0,capture:!!r.capture}:{type:String(e),callback:t??void 0,capture:!!r}}function _m(e){if(!(typeof e=="function"||typeof e=="object"&&e!==null&&typeof e.handleEvent=="function")){if(e==null||typeof e=="object"){SD.warn(e);return}throw new TypeError(cm(SD.message,[e]))}}function XF(e,t,r,n){WF.warn(Dm(e)?"capture":"bubble",e.callback),mm(e)!==t&&vl.warn("passive"),bm(e)!==r&&vl.warn("once"),e.signal!==n&&vl.warn("signal")}function QF(e,t){var r,n;return(n=(r=en(e,"target")[t])===null||r===void 0?void 0:r.attrCallback)!==null&&n!==void 0?n:null}function JF(e,t,r){r!=null&&typeof r!="function"&&$F.warn(r),typeof r=="function"||typeof r=="object"&&r!==null?ZF(e,t,r):KF(e,t)}function ZF(e,t,r){let n=Cm(en(e,"target"),String(t));n.attrCallback=r,n.attrListener==null&&(n.attrListener=gm(n,ew(n),!1,!1,!1,void 0))}function KF(e,t){let n=en(e,"target")[String(t)];n&&n.attrListener&&(Gl(n,n.attrListener.callback,!1),n.attrCallback=n.attrListener=void 0)}function ew(e){return function(t){let r=e.attrCallback;typeof r=="function"&&r.call(this,t)}}function tw(e,t,r){Object.defineProperty(e,`on${t}`,{get(){return QF(this,t)},set(n){JF(this,t,n)},configurable:!0,enumerable:!0})}function rw(){let e=Object.create(mr.prototype);return Ie.call(e),Wi.set(e,!1),e}function nw(e){Wi.get(e)===!1&&(Wi.set(e,!0),e.dispatchEvent({type:"abort"}))}function BD(e){let t=Sm.get(e);if(t==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${e===null?"null":typeof e}`);return t}function Vl(){}function Re(e){return typeof e=="object"&&e!==null||typeof e=="function"}function be(e){return new Yl(e)}function Z(e){return ow(e)}function N(e){return iw(e)}function It(e,t,r){return uw.call(e,t,r)}function Ze(e,t,r){It(It(e,t,r),void 0,Fm)}function Pl(e,t){Ze(e,t)}function Xl(e,t){Ze(e,void 0,t)}function Dr(e,t,r){return It(e,t,r)}function qu(e){It(e,void 0,Fm)}function As(e,t,r){if(typeof e!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,r)}function Er(e,t,r){try{return Z(As(e,t,r))}catch(n){return N(n)}}function wm(e,t){e._ownerReadableStream=t,t._reader=e,t._state==="readable"?Jl(e):t._state==="closed"?sw(e):Rm(e,t._storedError)}function Ql(e,t){let r=e._ownerReadableStream;return Qe(r,t)}function bt(e){e._ownerReadableStream._state==="readable"?Zl(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):aw(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function un(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function Jl(e){e._closedPromise=be((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r})}function Rm(e,t){Jl(e),Zl(e,t)}function sw(e){Jl(e),vm(e)}function Zl(e,t){e._closedPromise_reject!==void 0&&(qu(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function aw(e,t){Rm(e,t)}function vm(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function cw(e){return typeof e=="object"||typeof e=="function"}function Et(e,t){if(e!==void 0&&!cw(e))throw new TypeError(`${t} is not an object.`)}function Ke(e,t){if(typeof e!="function")throw new TypeError(`${t} is not a function.`)}function fw(e){return typeof e=="object"&&e!==null||typeof e=="function"}function Pm(e,t){if(!fw(e))throw new TypeError(`${t} is not an object.`)}function yt(e,t,r){if(e===void 0)throw new TypeError(`Parameter ${t} is required in '${r}'.`)}function $l(e,t,r){if(e===void 0)throw new TypeError(`${t} is required in '${r}'.`)}function tc(e){return Number(e)}function Om(e){return e===0?0:e}function dw(e){return Om(lw(e))}function Im(e,t){let n=Number.MAX_SAFE_INTEGER,o=Number(e);if(o=Om(o),!OD(o))throw new TypeError(`${t} is not a finite number`);if(o=dw(o),o<0||o>n)throw new TypeError(`${t} is outside the accepted range of 0 to ${n}, inclusive`);return!OD(o)||o===0?0:o}function rc(e,t){if(!Bt(e))throw new TypeError(`${t} is not a ReadableStream.`)}function on(e){return new sn(e)}function Lm(e,t){e._reader._readRequests.push(t)}function nc(e,t,r){let o=e._reader._readRequests.shift();r?o._closeSteps():o._chunkSteps(t)}function _s(e){return e._reader._readRequests.length}function xm(e){let t=e._reader;return!(t===void 0||!Lt(t))}function Lt(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_readRequests")?!1:e instanceof sn}function Nu(e,t){let r=e._ownerReadableStream;r._disturbed=!0,r._state==="closed"?t._closeSteps():r._state==="errored"?t._errorSteps(r._storedError):r._readableStreamController[ec](t)}function Fi(e){return new TypeError(`ReadableStreamDefaultReader.prototype.${e} can only be used on a ReadableStreamDefaultReader`)}function pw(e,t){let r=on(e),n=new $i(r,t),o=Object.create(hw);return o._asyncIteratorImpl=n,o}function ID(e){if(!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof $i}catch{return!1}}function LD(e){return new TypeError(`ReadableStreamAsyncIterator.${e} can only be used on a ReadableSteamAsyncIterator`)}function Du(e){return e.slice()}function Nm(e,t,r,n,o){new Uint8Array(e).set(new Uint8Array(r,n,o),t)}function ji(e){return!1}function km(e,t,r){if(e.slice)return e.slice(t,r);let n=r-t,o=new ArrayBuffer(n);return Nm(o,0,e,t,n),o}function Dw(e){return!(typeof e!="number"||qm(e)||e<0)}function xD(e){let t=km(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function uc(e){let t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function oc(e,t,r){if(!Dw(r)||r===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:r}),e._queueTotalSize+=r}function mw(e){return e._queue.peek().value}function Wt(e){e._queue=new Le,e._queueTotalSize=0}function fr(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")?!1:e instanceof br}function Ol(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")?!1:e instanceof an}function Cr(e){if(!Ew(e))return;if(e._pulling){e._pullAgain=!0;return}e._pulling=!0;let r=e._pullAlgorithm();Ze(r,()=>{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Cr(e))},n=>{Xe(e,n)})}function Wm(e){sc(e),e._pendingPullIntos=new Le}function ic(e,t){let r=!1;e._state==="closed"&&(r=!0);let n=$m(t);t.readerType==="default"?nc(e,n,r):_w(e,n,r)}function $m(e){let t=e.bytesFilled,r=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/r)}function xi(e,t,r,n){e._queue.push({buffer:t,byteOffset:r,byteLength:n}),e._queueTotalSize+=n}function jm(e,t){let r=t.elementSize,n=t.bytesFilled-t.bytesFilled%r,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i%r,c=o,f=!1;a>n&&(c=a-t.bytesFilled,f=!0);let D=e._queue;for(;c>0;){let h=D.peek(),m=Math.min(c,h.byteLength),b=t.byteOffset+t.bytesFilled;Nm(t.buffer,b,h.buffer,h.byteOffset,m),h.byteLength===m?D.shift():(h.byteOffset+=m,h.byteLength-=m),e._queueTotalSize-=m,Mm(e,m,t),c-=m}return f}function Mm(e,t,r){r.bytesFilled+=t}function zm(e){e._queueTotalSize===0&&e._closeRequested?(Fs(e),ku(e._controlledReadableByteStream)):Cr(e)}function sc(e){e._byobRequest!==null&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function Um(e){for(;e._pendingPullIntos.length>0;){if(e._queueTotalSize===0)return;let t=e._pendingPullIntos.peek();jm(e,t)&&(Ss(e),ic(e._controlledReadableByteStream,t))}}function bw(e,t,r){let n=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);let i=t.constructor,a=t.buffer,c={buffer:a,bufferByteLength:a.byteLength,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,viewConstructor:i,readerType:"byob"};if(e._pendingPullIntos.length>0){e._pendingPullIntos.push(c),qD(n,r);return}if(n._state==="closed"){let f=new i(c.buffer,c.byteOffset,0);r._closeSteps(f);return}if(e._queueTotalSize>0){if(jm(e,c)){let f=$m(c);zm(e),r._chunkSteps(f);return}if(e._closeRequested){let f=new TypeError("Insufficient bytes to fill elements in the given buffer");Xe(e,f),r._errorSteps(f);return}}e._pendingPullIntos.push(c),qD(n,r),Cr(e)}function yw(e,t){let r=e._controlledReadableByteStream;if(ac(r))for(;Xm(r)>0;){let n=Ss(e);ic(r,n)}}function gw(e,t,r){if(Mm(e,t,r),r.bytesFilled<r.elementSize)return;Ss(e);let n=r.bytesFilled%r.elementSize;if(n>0){let o=r.byteOffset+r.bytesFilled,i=km(r.buffer,o-n,o);xi(e,i,0,i.byteLength)}r.bytesFilled-=n,ic(e._controlledReadableByteStream,r),Um(e)}function Hm(e,t){let r=e._pendingPullIntos.peek();sc(e),e._controlledReadableByteStream._state==="closed"?yw(e):gw(e,t,r),Cr(e)}function Ss(e){return e._pendingPullIntos.shift()}function Ew(e){let t=e._controlledReadableByteStream;return t._state!=="readable"||e._closeRequested||!e._started?!1:!!(xm(t)&&_s(t)>0||ac(t)&&Xm(t)>0||Gm(e)>0)}function Fs(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function fu(e){let t=e._controlledReadableByteStream;if(!(e._closeRequested||t._state!=="readable")){if(e._queueTotalSize>0){e._closeRequested=!0;return}if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){let n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Xe(e,n),n}Fs(e),ku(t)}}function qi(e,t){let r=e._controlledReadableByteStream;if(e._closeRequested||r._state!=="readable")return;let n=t.buffer,o=t.byteOffset,i=t.byteLength,a=n;if(e._pendingPullIntos.length>0){let c=e._pendingPullIntos.peek();ji(c.buffer),c.buffer=c.buffer}if(sc(e),xm(r))if(_s(r)===0)xi(e,a,o,i);else{e._pendingPullIntos.length>0&&Ss(e);let c=new Uint8Array(a,o,i);nc(r,c,!1)}else ac(r)?(xi(e,a,o,i),Um(e)):xi(e,a,o,i);Cr(e)}function Xe(e,t){let r=e._controlledReadableByteStream;r._state==="readable"&&(Wm(e),Wt(e),Fs(e),pb(r,t))}function jl(e){if(e._byobRequest===null&&e._pendingPullIntos.length>0){let t=e._pendingPullIntos.peek(),r=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),n=Object.create(an.prototype);Aw(n,e,r),e._byobRequest=n}return e._byobRequest}function Gm(e){let t=e._controlledReadableByteStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function Ni(e,t){let r=e._pendingPullIntos.peek();if(e._controlledReadableByteStream._state==="closed"){if(t!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(t===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(r.bytesFilled+t>r.byteLength)throw new RangeError("bytesWritten out of range")}r.buffer=r.buffer,Hm(e,t)}function ki(e,t){let r=e._pendingPullIntos.peek();if(e._controlledReadableByteStream._state==="closed"){if(t.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(t.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(r.byteOffset+r.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(r.bufferByteLength!==t.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(r.bytesFilled+t.byteLength>r.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let o=t.byteLength;r.buffer=t.buffer,Hm(e,o)}function Vm(e,t,r,n,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,Wt(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=new Le,e._readableStreamController=t;let c=r();Ze(Z(c),()=>{t._started=!0,Cr(t)},f=>{Xe(t,f)})}function Cw(e,t,r){let n=Object.create(br.prototype),o=()=>{},i=()=>Z(void 0),a=()=>Z(void 0);t.start!==void 0&&(o=()=>t.start(n)),t.pull!==void 0&&(i=()=>t.pull(n)),t.cancel!==void 0&&(a=f=>t.cancel(f));let c=t.autoAllocateChunkSize;if(c===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");Vm(e,n,o,i,a,r,c)}function Aw(e,t,r){e._associatedReadableByteStreamController=t,e._view=r}function Il(e){return new TypeError(`ReadableStreamBYOBRequest.prototype.${e} can only be used on a ReadableStreamBYOBRequest`)}function au(e){return new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`)}function Ym(e){return new ln(e)}function qD(e,t){e._reader._readIntoRequests.push(t)}function _w(e,t,r){let o=e._reader._readIntoRequests.shift();r?o._closeSteps(t):o._chunkSteps(t)}function Xm(e){return e._reader._readIntoRequests.length}function ac(e){let t=e._reader;return!(t===void 0||!pr(t))}function pr(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")?!1:e instanceof ln}function Qm(e,t,r){let n=e._ownerReadableStream;n._disturbed=!0,n._state==="errored"?r._errorSteps(n._storedError):bw(n._readableStreamController,t,r)}function wi(e){return new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`)}function mu(e,t){let{highWaterMark:r}=e;if(r===void 0)return t;if(qm(r)||r<0)throw new RangeError("Invalid highWaterMark");return r}function Mi(e){let{size:t}=e;return t||(()=>1)}function zi(e,t){Et(e,t);let r=e==null?void 0:e.highWaterMark,n=e==null?void 0:e.size;return{highWaterMark:r===void 0?void 0:tc(r),size:n===void 0?void 0:Sw(n,`${t} has member 'size' that`)}}function Sw(e,t){return Ke(e,t),r=>tc(e(r))}function Fw(e,t){Et(e,t);let r=e==null?void 0:e.abort,n=e==null?void 0:e.close,o=e==null?void 0:e.start,i=e==null?void 0:e.type,a=e==null?void 0:e.write;return{abort:r===void 0?void 0:ww(r,e,`${t} has member 'abort' that`),close:n===void 0?void 0:Rw(n,e,`${t} has member 'close' that`),start:o===void 0?void 0:vw(o,e,`${t} has member 'start' that`),write:a===void 0?void 0:Tw(a,e,`${t} has member 'write' that`),type:i}}function ww(e,t,r){return Ke(e,r),n=>Er(e,t,[n])}function Rw(e,t,r){return Ke(e,r),()=>Er(e,t,[])}function vw(e,t,r){return Ke(e,r),n=>As(e,t,[n])}function Tw(e,t,r){return Ke(e,r),(n,o)=>Er(e,t,[n,o])}function Jm(e,t){if(!Kr(e))throw new TypeError(`${t} is not a WritableStream.`)}function Bw(e){if(typeof e!="object"||e===null)return!1;try{return typeof e.aborted=="boolean"}catch{return!1}}function Zm(e){return new fn(e)}function Pw(e,t,r,n,o=1,i=()=>1){let a=Object.create(cn.prototype);Km(a);let c=Object.create(yr.prototype);return ib(a,c,e,t,r,n,o,i),a}function Km(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new Le,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Kr(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")?!1:e instanceof cn}function tn(e){return e._writer!==void 0}function Ui(e,t){var r;if(e._state==="closed"||e._state==="errored")return Z(void 0);e._writableStreamController._abortReason=t,(r=e._writableStreamController._abortController)===null||r===void 0||r.abort();let n=e._state;if(n==="closed"||n==="errored")return Z(void 0);if(e._pendingAbortRequest!==void 0)return e._pendingAbortRequest._promise;let o=!1;n==="erroring"&&(o=!0,t=void 0);let i=be((a,c)=>{e._pendingAbortRequest={_promise:void 0,_resolve:a,_reject:c,_reason:t,_wasAlreadyErroring:o}});return e._pendingAbortRequest._promise=i,o||cc(e,t),i}function eb(e){let t=e._state;if(t==="closed"||t==="errored")return N(new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));let r=be((o,i)=>{let a={_resolve:o,_reject:i};e._closeRequest=a}),n=e._writer;return n!==void 0&&e._backpressure&&t==="writable"&&mc(n),Hw(e._writableStreamController),r}function Ow(e){return be((r,n)=>{let o={_resolve:r,_reject:n};e._writeRequests.push(o)})}function lc(e,t){if(e._state==="writable"){cc(e,t);return}fc(e)}function cc(e,t){let r=e._writableStreamController;e._state="erroring",e._storedError=t;let n=e._writer;n!==void 0&&rb(n,t),!Nw(e)&&r._started&&fc(e)}function fc(e){e._state="errored",e._writableStreamController[Bm]();let t=e._storedError;if(e._writeRequests.forEach(o=>{o._reject(t)}),e._writeRequests=new Le,e._pendingAbortRequest===void 0){Ri(e);return}let r=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,r._wasAlreadyErroring){r._reject(t),Ri(e);return}let n=e._writableStreamController[Tm](r._reason);Ze(n,()=>{r._resolve(),Ri(e)},o=>{r._reject(o),Ri(e)})}function Iw(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function Lw(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,lc(e,t)}function xw(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,e._state==="erroring"&&(e._storedError=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";let r=e._writer;r!==void 0&&cb(r)}function qw(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,e._pendingAbortRequest!==void 0&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),lc(e,t)}function ut(e){return!(e._closeRequest===void 0&&e._inFlightCloseRequest===void 0)}function Nw(e){return!(e._inFlightWriteRequest===void 0&&e._inFlightCloseRequest===void 0)}function kw(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function Ww(e){e._inFlightWriteRequest=e._writeRequests.shift()}function Ri(e){e._closeRequest!==void 0&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);let t=e._writer;t!==void 0&&Dc(t,e._storedError)}function dc(e,t){let r=e._writer;r!==void 0&&t!==e._backpressure&&(t?Zw(r):mc(r)),e._backpressure=t}function sr(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")?!1:e instanceof fn}function $w(e,t){let r=e._ownerWritableStream;return Ui(r,t)}function tb(e){let t=e._ownerWritableStream;return eb(t)}function jw(e){let t=e._ownerWritableStream,r=t._state;return ut(t)||r==="closed"?Z(void 0):r==="errored"?N(t._storedError):tb(e)}function Mw(e,t){e._closedPromiseState==="pending"?Dc(e,t):Jw(e,t)}function rb(e,t){e._readyPromiseState==="pending"?fb(e,t):Kw(e,t)}function zw(e){let t=e._ownerWritableStream,r=t._state;return r==="errored"||r==="erroring"?null:r==="closed"?0:sb(t._writableStreamController)}function nb(e){let t=e._ownerWritableStream,r=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");rb(e,r),Mw(e,r),t._writer=void 0,e._ownerWritableStream=void 0}function ub(e,t){let r=e._ownerWritableStream,n=r._writableStreamController,o=Gw(n,t);if(r!==e._ownerWritableStream)return N(du("write to"));let i=r._state;if(i==="errored")return N(r._storedError);if(ut(r)||i==="closed")return N(new TypeError("The stream is closing or closed and cannot be written to"));if(i==="erroring")return N(r._storedError);let a=Ow(r);return Vw(n,t,o),a}function Ll(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")?!1:e instanceof yr}function ib(e,t,r,n,o,i,a,c){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Wt(t),t._abortReason=void 0,t._abortController=new nn,t._started=!1,t._strategySizeAlgorithm=c,t._strategyHWM=a,t._writeAlgorithm=n,t._closeAlgorithm=o,t._abortAlgorithm=i;let f=pc(t);dc(e,f);let D=r(),h=Z(D);Ze(h,()=>{t._started=!0,Rs(t)},m=>{t._started=!0,lc(e,m)})}function Uw(e,t,r,n){let o=Object.create(yr.prototype),i=()=>{},a=()=>Z(void 0),c=()=>Z(void 0),f=()=>Z(void 0);t.start!==void 0&&(i=()=>t.start(o)),t.write!==void 0&&(a=D=>t.write(D,o)),t.close!==void 0&&(c=()=>t.close()),t.abort!==void 0&&(f=D=>t.abort(D)),ib(e,o,i,a,c,f,r,n)}function ws(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function Hw(e){oc(e,ob,0),Rs(e)}function Gw(e,t){try{return e._strategySizeAlgorithm(t)}catch(r){return hc(e,r),1}}function sb(e){return e._strategyHWM-e._queueTotalSize}function Vw(e,t,r){try{oc(e,t,r)}catch(o){hc(e,o);return}let n=e._controlledWritableStream;if(!ut(n)&&n._state==="writable"){let o=pc(e);dc(n,o)}Rs(e)}function Rs(e){let t=e._controlledWritableStream;if(!e._started||t._inFlightWriteRequest!==void 0)return;if(t._state==="erroring"){fc(t);return}if(e._queue.length===0)return;let n=mw(e);n===ob?Yw(e):Xw(e,n)}function hc(e,t){e._controlledWritableStream._state==="writable"&&ab(e,t)}function Yw(e){let t=e._controlledWritableStream;kw(t),uc(e);let r=e._closeAlgorithm();ws(e),Ze(r,()=>{xw(t)},n=>{qw(t,n)})}function Xw(e,t){let r=e._controlledWritableStream;Ww(r);let n=e._writeAlgorithm(t);Ze(n,()=>{Iw(r);let o=r._state;if(uc(e),!ut(r)&&o==="writable"){let i=pc(e);dc(r,i)}Rs(e)},o=>{r._state==="writable"&&ws(e),Lw(r,o)})}function pc(e){return sb(e)<=0}function ab(e,t){let r=e._controlledWritableStream;ws(e),cc(r,t)}function vi(e){return new TypeError(`WritableStream.prototype.${e} can only be used on a WritableStream`)}function xl(e){return new TypeError(`WritableStreamDefaultController.prototype.${e} can only be used on a WritableStreamDefaultController`)}function ar(e){return new TypeError(`WritableStreamDefaultWriter.prototype.${e} can only be used on a WritableStreamDefaultWriter`)}function du(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function Hi(e){e._closedPromise=be((t,r)=>{e._closedPromise_resolve=t,e._closedPromise_reject=r,e._closedPromiseState="pending"})}function lb(e,t){Hi(e),Dc(e,t)}function Qw(e){Hi(e),cb(e)}function Dc(e,t){e._closedPromise_reject!==void 0&&(qu(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function Jw(e,t){lb(e,t)}function cb(e){e._closedPromise_resolve!==void 0&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function vs(e){e._readyPromise=be((t,r)=>{e._readyPromise_resolve=t,e._readyPromise_reject=r}),e._readyPromiseState="pending"}function Ml(e,t){vs(e),fb(e,t)}function ND(e){vs(e),mc(e)}function fb(e,t){e._readyPromise_reject!==void 0&&(qu(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function Zw(e){vs(e)}function Kw(e,t){Ml(e,t)}function mc(e){e._readyPromise_resolve!==void 0&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}function kD(e,t,r,n,o,i){let a=on(e),c=Zm(t);e._disturbed=!0;let f=!1,D=Z(void 0);return be((h,m)=>{let b;if(i!==void 0){if(b=()=>{let S=new J("Aborted","AbortError"),w=[];n||w.push(()=>t._state==="writable"?Ui(t,S):Z(void 0)),o||w.push(()=>e._state==="readable"?Qe(e,S):Z(void 0)),I(()=>Promise.all(w.map($=>$())),!0,S)},i.aborted){b();return}i.addEventListener("abort",b)}function y(){return be((S,w)=>{function $(H){H?S():It(E(),$,w)}$(!1)})}function E(){return f?Z(!0):It(c._readyPromise,()=>be((S,w)=>{Nu(a,{_chunkSteps:$=>{D=It(ub(c,$),void 0,Vl),S(!1)},_closeSteps:()=>S(!0),_errorSteps:w})}))}if(F(e,a._closedPromise,S=>{n?k(!0,S):I(()=>Ui(t,S),!0,S)}),F(t,c._closedPromise,S=>{o?k(!0,S):I(()=>Qe(e,S),!0,S)}),v(e,a._closedPromise,()=>{r?k():I(()=>jw(c))}),ut(t)||t._state==="closed"){let S=new TypeError("the destination writable stream closed before all data could be piped to it");o?k(!0,S):I(()=>Qe(e,S),!0,S)}qu(y());function O(){let S=D;return It(D,()=>S!==D?O():void 0)}function F(S,w,$){S._state==="errored"?$(S._storedError):Xl(w,$)}function v(S,w,$){S._state==="closed"?$():Pl(w,$)}function I(S,w,$){if(f)return;f=!0,t._state==="writable"&&!ut(t)?Pl(O(),H):H();function H(){Ze(S(),()=>L(w,$),Me=>L(!0,Me))}}function k(S,w){f||(f=!0,t._state==="writable"&&!ut(t)?Pl(O(),()=>L(S,w)):L(S,w))}function L(S,w){nb(c),bt(a),i!==void 0&&i.removeEventListener("abort",b),S?m(w):h(void 0)}})}function Ti(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")?!1:e instanceof gr}function bu(e){if(!db(e))return;if(e._pulling){e._pullAgain=!0;return}e._pulling=!0;let r=e._pullAlgorithm();Ze(r,()=>{e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,bu(e))},n=>{qt(e,n)})}function db(e){let t=e._controlledReadableStream;return!dn(e)||!e._started?!1:!!(xt(t)&&_s(t)>0||bc(e)>0)}function Gi(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function yu(e){if(!dn(e))return;let t=e._controlledReadableStream;e._closeRequested=!0,e._queue.length===0&&(Gi(e),ku(t))}function Vi(e,t){if(!dn(e))return;let r=e._controlledReadableStream;if(xt(r)&&_s(r)>0)nc(r,t,!1);else{let n;try{n=e._strategySizeAlgorithm(t)}catch(o){throw qt(e,o),o}try{oc(e,t,n)}catch(o){throw qt(e,o),o}}bu(e)}function qt(e,t){let r=e._controlledReadableStream;r._state==="readable"&&(Wt(e),Gi(e),pb(r,t))}function bc(e){let t=e._controlledReadableStream._state;return t==="errored"?null:t==="closed"?0:e._strategyHWM-e._queueTotalSize}function eR(e){return!db(e)}function dn(e){let t=e._controlledReadableStream._state;return!e._closeRequested&&t==="readable"}function hb(e,t,r,n,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Wt(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=n,t._cancelAlgorithm=o,e._readableStreamController=t;let c=r();Ze(Z(c),()=>{t._started=!0,bu(t)},f=>{qt(t,f)})}function tR(e,t,r,n){let o=Object.create(gr.prototype),i=()=>{},a=()=>Z(void 0),c=()=>Z(void 0);t.start!==void 0&&(i=()=>t.start(o)),t.pull!==void 0&&(a=()=>t.pull(o)),t.cancel!==void 0&&(c=f=>t.cancel(f)),hb(e,o,i,a,c,r,n)}function Bi(e){return new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`)}function rR(e,t){return fr(e._readableStreamController)?uR(e):nR(e)}function nR(e,t){let r=on(e),n=!1,o=!1,i=!1,a=!1,c,f,D,h,m,b=be(v=>{m=v});function y(){return n?(o=!0,Z(void 0)):(n=!0,Nu(r,{_chunkSteps:I=>{queueMicrotask(()=>{o=!1;let k=I,L=I;i||Vi(D._readableStreamController,k),a||Vi(h._readableStreamController,L),n=!1,o&&y()})},_closeSteps:()=>{n=!1,i||yu(D._readableStreamController),a||yu(h._readableStreamController),(!i||!a)&&m(void 0)},_errorSteps:()=>{n=!1}}),Z(void 0))}function E(v){if(i=!0,c=v,a){let I=Du([c,f]),k=Qe(e,I);m(k)}return b}function O(v){if(a=!0,f=v,i){let I=Du([c,f]),k=Qe(e,I);m(k)}return b}function F(){}return D=zl(F,y,E),h=zl(F,y,O),Xl(r._closedPromise,v=>{qt(D._readableStreamController,v),qt(h._readableStreamController,v),(!i||!a)&&m(void 0)}),[D,h]}function uR(e){let t=on(e),r=!1,n=!1,o=!1,i=!1,a=!1,c,f,D,h,m,b=be(S=>{m=S});function y(S){Xl(S._closedPromise,w=>{S===t&&(Xe(D._readableStreamController,w),Xe(h._readableStreamController,w),(!i||!a)&&m(void 0))})}function E(){pr(t)&&(bt(t),t=on(e),y(t)),Nu(t,{_chunkSteps:w=>{queueMicrotask(()=>{n=!1,o=!1;let $=w,H=w;if(!i&&!a)try{H=xD(w)}catch(Me){Xe(D._readableStreamController,Me),Xe(h._readableStreamController,Me),m(Qe(e,Me));return}i||qi(D._readableStreamController,$),a||qi(h._readableStreamController,H),r=!1,n?F():o&&v()})},_closeSteps:()=>{r=!1,i||fu(D._readableStreamController),a||fu(h._readableStreamController),D._readableStreamController._pendingPullIntos.length>0&&Ni(D._readableStreamController,0),h._readableStreamController._pendingPullIntos.length>0&&Ni(h._readableStreamController,0),(!i||!a)&&m(void 0)},_errorSteps:()=>{r=!1}})}function O(S,w){Lt(t)&&(bt(t),t=Ym(e),y(t));let $=w?h:D,H=w?D:h;Qm(t,S,{_chunkSteps:ve=>{queueMicrotask(()=>{n=!1,o=!1;let K=w?a:i;if(w?i:a)K||ki($._readableStreamController,ve);else{let ot;try{ot=xD(ve)}catch(Ar){Xe($._readableStreamController,Ar),Xe(H._readableStreamController,Ar),m(Qe(e,Ar));return}K||ki($._readableStreamController,ve),qi(H._readableStreamController,ot)}r=!1,n?F():o&&v()})},_closeSteps:ve=>{r=!1;let K=w?a:i,pe=w?i:a;K||fu($._readableStreamController),pe||fu(H._readableStreamController),ve!==void 0&&(K||ki($._readableStreamController,ve),!pe&&H._readableStreamController._pendingPullIntos.length>0&&Ni(H._readableStreamController,0)),(!K||!pe)&&m(void 0)},_errorSteps:()=>{r=!1}})}function F(){if(r)return n=!0,Z(void 0);r=!0;let S=jl(D._readableStreamController);return S===null?E():O(S._view,!1),Z(void 0)}function v(){if(r)return o=!0,Z(void 0);r=!0;let S=jl(h._readableStreamController);return S===null?E():O(S._view,!0),Z(void 0)}function I(S){if(i=!0,c=S,a){let w=Du([c,f]),$=Qe(e,w);m($)}return b}function k(S){if(a=!0,f=S,i){let w=Du([c,f]),$=Qe(e,w);m($)}return b}function L(){}return D=$D(L,F,I),h=$D(L,v,k),y(t),[D,h]}function oR(e,t){Et(e,t);let r=e,n=r==null?void 0:r.autoAllocateChunkSize,o=r==null?void 0:r.cancel,i=r==null?void 0:r.pull,a=r==null?void 0:r.start,c=r==null?void 0:r.type;return{autoAllocateChunkSize:n===void 0?void 0:Im(n,`${t} has member 'autoAllocateChunkSize' that`),cancel:o===void 0?void 0:iR(o,r,`${t} has member 'cancel' that`),pull:i===void 0?void 0:sR(i,r,`${t} has member 'pull' that`),start:a===void 0?void 0:aR(a,r,`${t} has member 'start' that`),type:c===void 0?void 0:lR(c,`${t} has member 'type' that`)}}function iR(e,t,r){return Ke(e,r),n=>Er(e,t,[n])}function sR(e,t,r){return Ke(e,r),n=>Er(e,t,[n])}function aR(e,t,r){return Ke(e,r),n=>As(e,t,[n])}function lR(e,t){if(e=`${e}`,e!=="bytes")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);return e}function cR(e,t){Et(e,t);let r=e==null?void 0:e.mode;return{mode:r===void 0?void 0:fR(r,`${t} has member 'mode' that`)}}function fR(e,t){if(e=`${e}`,e!=="byob")throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);return e}function dR(e,t){return Et(e,t),{preventCancel:!!(e==null?void 0:e.preventCancel)}}function WD(e,t){Et(e,t);let r=e==null?void 0:e.preventAbort,n=e==null?void 0:e.preventCancel,o=e==null?void 0:e.preventClose,i=e==null?void 0:e.signal;return i!==void 0&&hR(i,`${t} has member 'signal' that`),{preventAbort:!!r,preventCancel:!!n,preventClose:!!o,signal:i}}function hR(e,t){if(!Bw(e))throw new TypeError(`${t} is not an AbortSignal.`)}function pR(e,t){Et(e,t);let r=e==null?void 0:e.readable;$l(r,"readable","ReadableWritablePair"),rc(r,`${t} has member 'readable' that`);let n=e==null?void 0:e.writable;return $l(n,"writable","ReadableWritablePair"),Jm(n,`${t} has member 'writable' that`),{readable:r,writable:n}}function zl(e,t,r,n=1,o=()=>1){let i=Object.create(gt.prototype);yc(i);let a=Object.create(gr.prototype);return hb(i,a,e,t,r,n,o),i}function $D(e,t,r){let n=Object.create(gt.prototype);yc(n);let o=Object.create(br.prototype);return Vm(n,o,e,t,r,0,void 0),n}function yc(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function Bt(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")?!1:e instanceof gt}function xt(e){return e._reader!==void 0}function Qe(e,t){if(e._disturbed=!0,e._state==="closed")return Z(void 0);if(e._state==="errored")return N(e._storedError);ku(e);let r=e._reader;r!==void 0&&pr(r)&&(r._readIntoRequests.forEach(o=>{o._closeSteps(void 0)}),r._readIntoRequests=new Le);let n=e._readableStreamController[Kl](t);return Dr(n,Vl)}function ku(e){e._state="closed";let t=e._reader;t!==void 0&&(vm(t),Lt(t)&&(t._readRequests.forEach(r=>{r._closeSteps()}),t._readRequests=new Le))}function pb(e,t){e._state="errored",e._storedError=t;let r=e._reader;r!==void 0&&(Zl(r,t),Lt(r)?(r._readRequests.forEach(n=>{n._errorSteps(t)}),r._readRequests=new Le):(r._readIntoRequests.forEach(n=>{n._errorSteps(t)}),r._readIntoRequests=new Le))}function lr(e){return new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`)}function Db(e,t){Et(e,t);let r=e==null?void 0:e.highWaterMark;return $l(r,"highWaterMark","QueuingStrategyInit"),{highWaterMark:tc(r)}}function jD(e){return new TypeError(`ByteLengthQueuingStrategy.prototype.${e} can only be used on a ByteLengthQueuingStrategy`)}function MD(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")?!1:e instanceof gu}function zD(e){return new TypeError(`CountQueuingStrategy.prototype.${e} can only be used on a CountQueuingStrategy`)}function UD(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")?!1:e instanceof Eu}function DR(e,t){Et(e,t);let r=e==null?void 0:e.flush,n=e==null?void 0:e.readableType,o=e==null?void 0:e.start,i=e==null?void 0:e.transform,a=e==null?void 0:e.writableType;return{flush:r===void 0?void 0:mR(r,e,`${t} has member 'flush' that`),readableType:n,start:o===void 0?void 0:bR(o,e,`${t} has member 'start' that`),transform:i===void 0?void 0:yR(i,e,`${t} has member 'transform' that`),writableType:a}}function mR(e,t,r){return Ke(e,r),n=>Er(e,t,[n])}function bR(e,t,r){return Ke(e,r),n=>As(e,t,[n])}function yR(e,t,r){return Ke(e,r),(n,o)=>Er(e,t,[n,o])}function gR(e,t,r,n,o,i){function a(){return t}function c(b){return SR(e,b)}function f(b){return FR(e,b)}function D(){return wR(e)}e._writable=Pw(a,c,D,f,r,n);function h(){return RR(e)}function m(b){return Bs(e,b),Z(void 0)}e._readable=zl(a,h,m,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Ps(e,!0),e._transformStreamController=void 0}function HD(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")?!1:e instanceof Cu}function Ts(e,t){qt(e._readable._readableStreamController,t),Bs(e,t)}function Bs(e,t){yb(e._transformStreamController),hc(e._writable._writableStreamController,t),e._backpressure&&Ps(e,!1)}function Ps(e,t){e._backpressureChangePromise!==void 0&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=be(r=>{e._backpressureChangePromise_resolve=r}),e._backpressure=t}function Pi(e){return!Re(e)||!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")?!1:e instanceof Au}function ER(e,t,r,n){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=r,t._flushAlgorithm=n}function CR(e,t){let r=Object.create(Au.prototype),n=i=>{try{return gb(r,i),Z(void 0)}catch(a){return N(a)}},o=()=>Z(void 0);t.transform!==void 0&&(n=i=>t.transform(i,r)),t.flush!==void 0&&(o=()=>t.flush(r)),ER(e,r,n,o)}function yb(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function gb(e,t){let r=e._controlledTransformStream,n=r._readable._readableStreamController;if(!dn(n))throw new TypeError("Readable side is not in a state that permits enqueue");try{Vi(n,t)}catch(i){throw Bs(r,i),r._readable._storedError}eR(n)!==r._backpressure&&Ps(r,!0)}function AR(e,t){Ts(e._controlledTransformStream,t)}function GD(e,t){let r=e._transformAlgorithm(t);return Dr(r,void 0,n=>{throw Ts(e._controlledTransformStream,n),n})}function _R(e){let t=e._controlledTransformStream,r=t._readable._readableStreamController;yu(r);let n=new TypeError("TransformStream terminated");Bs(t,n)}function SR(e,t){let r=e._transformStreamController;if(e._backpressure){let n=e._backpressureChangePromise;return Dr(n,()=>{let o=e._writable;if(o._state==="erroring")throw o._storedError;return GD(r,t)})}return GD(r,t)}function FR(e,t){return Ts(e,t),Z(void 0)}function wR(e){let t=e._readable,r=e._transformStreamController,n=r._flushAlgorithm();return yb(r),Dr(n,()=>{if(t._state==="errored")throw t._storedError;yu(t._readableStreamController)},o=>{throw Ts(e,o),t._storedError})}function RR(e){return Ps(e,!1),e._backpressureChangePromise}function Oi(e){return new TypeError(`TransformStreamDefaultController.prototype.${e} can only be used on a TransformStreamDefaultController`)}function VD(e){return new TypeError(`TransformStream.prototype.${e} can only be used on a TransformStream`)}async function*ql(e,t=!0){for(let r of e)if("stream"in r)yield*r.stream();else if(ArrayBuffer.isView(r))if(t){let n=r.byteOffset,o=r.byteOffset+r.byteLength;for(;n!==o;){let i=Math.min(o-n,YD),a=r.buffer.slice(n,n+i);n+=a.byteLength,yield new Uint8Array(a)}}else yield r;else{let n=0,o=r;for(;n!==o.size;){let a=await o.slice(n,Math.min(o.size,n+YD)).arrayBuffer();n+=a.byteLength,yield new Uint8Array(a)}}}function QD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cb(e,t,r){return t&&QD(e.prototype,t),r&&QD(e,r),e}function JD(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Yi(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(o,i){if(o){if(typeof o=="string")return JD(o,i);var a=Object.prototype.toString.call(o).slice(8,-1);return a==="Object"&&o.constructor&&(a=o.constructor.name),a==="Map"||a==="Set"?Array.from(o):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?JD(o,i):void 0}}(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
20
20
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xR(e,t){return(t?/^[\x00-\xFF]*$/:/^[\x00-\x7F]*$/).test(e)}function Ab(e,t){t===void 0&&(t=!1);for(var r=[],n=0;n<e.length;){var o=e[n],i=function(y){if(!t)throw new TypeError(y);r.push({type:"INVALID_CHAR",index:n,value:e[n++]})};if(o!=="*")if(o!=="+"&&o!=="?")if(o!=="\\")if(o!=="{")if(o!=="}")if(o!==":")if(o!=="(")r.push({type:"CHAR",index:n,value:e[n++]});else{var a=1,c="",f=n+1,D=!1;if(e[f]==="?"){i('Pattern cannot start with "?" at '+f);continue}for(;f<e.length;){if(!xR(e[f],!1)){i("Invalid character '"+e[f]+"' at "+f+"."),D=!0;break}if(e[f]!=="\\"){if(e[f]===")"){if(--a==0){f++;break}}else if(e[f]==="("&&(a++,e[f+1]!=="?")){i("Capturing groups are not allowed at "+f),D=!0;break}c+=e[f++]}else c+=e[f++]+e[f++]}if(D)continue;if(a){i("Unbalanced pattern at "+n);continue}if(!c){i("Missing pattern at "+n);continue}r.push({type:"PATTERN",index:n,value:c}),n=f}else{for(var h="",m=n+1;m<e.length;){var b=e.substr(m,1);if(!(m===n+1&&IR.test(b)||m!==n+1&&LR.test(b)))break;h+=e[m++]}if(!h){i("Missing parameter name at "+n);continue}r.push({type:"NAME",index:n,value:h}),n=m}else r.push({type:"CLOSE",index:n,value:e[n++]});else r.push({type:"OPEN",index:n,value:e[n++]});else r.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});else r.push({type:"MODIFIER",index:n,value:e[n++]});else r.push({type:"ASTERISK",index:n,value:e[n++]})}return r.push({type:"END",index:n,value:""}),r}function _b(e,t){t===void 0&&(t={});for(var r=Ab(e),n=t.prefixes,o=n===void 0?"./":n,i="[^"+Zr(t.delimiter||"/#?")+"]+?",a=[],c=0,f=0,D="",h=new Set,m=function(K){if(f<r.length&&r[f].type===K)return r[f++].value},b=function(){return m("MODIFIER")||m("ASTERISK")},y=function(K){var pe=m(K);if(pe!==void 0)return pe;var ot=r[f];throw new TypeError("Unexpected "+ot.type+" at "+ot.index+", expected "+K)},E=function(){for(var K,pe="";K=m("CHAR")||m("ESCAPED_CHAR");)pe+=K;return pe},O=t.encodePart||function(K){return K};f<r.length;){var F=m("CHAR"),v=m("NAME"),I=m("PATTERN");if(v||I||!m("ASTERISK")||(I=".*"),v||I){var k=F||"";o.indexOf(k)===-1&&(D+=k,k=""),D&&(a.push(O(D)),D="");var L=v||c++;if(h.has(L))throw new TypeError("Duplicate name '"+L+"'.");h.add(L),a.push({name:L,prefix:O(k),suffix:"",pattern:I||i,modifier:b()||""})}else{var S=F||m("ESCAPED_CHAR");if(S)D+=S;else if(m("OPEN")){var w=E(),$=m("NAME")||"",H=m("PATTERN")||"";$||H||!m("ASTERISK")||(H=".*");var Me=E();y("CLOSE");var ve=b()||"";if(!$&&!H&&!ve){D+=w;continue}if(!$&&!H&&!w)continue;D&&(a.push(O(D)),D=""),a.push({name:$||(H?c++:""),pattern:$&&!H?i:H,prefix:O(w),suffix:O(Me),modifier:ve})}else D&&(a.push(O(D)),D=""),y("END")}}return a}function Zr(e){return e.replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")}function Sb(e){return e&&e.sensitive?"u":"ui"}function Fb(e,t,r){r===void 0&&(r={});for(var n,o=r.strict,i=o!==void 0&&o,a=r.start,c=a===void 0||a,f=r.end,D=f===void 0||f,h=r.encode,m=h===void 0?function(S){return S}:h,b="["+Zr(r.endsWith||"")+"]|$",y="["+Zr(r.delimiter||"/#?")+"]",E=c?"^":"",O=Yi(e);!(n=O()).done;){var F=n.value;if(typeof F=="string")E+=Zr(m(F));else{var v=Zr(m(F.prefix)),I=Zr(m(F.suffix));F.pattern?(t&&t.push(F),E+=v||I?F.modifier==="+"||F.modifier==="*"?"(?:"+v+"((?:"+F.pattern+")(?:"+I+v+"(?:"+F.pattern+"))*)"+I+")"+(F.modifier==="*"?"?":""):"(?:"+v+"("+F.pattern+")"+I+")"+F.modifier:F.modifier==="+"||F.modifier==="*"?"((?:"+F.pattern+")"+F.modifier+")":"("+F.pattern+")"+F.modifier):E+="(?:"+v+I+")"+F.modifier}}if(D)i||(E+=y+"?"),E+=r.endsWith?"(?="+b+")":"$";else{var k=e[e.length-1],L=typeof k=="string"?y.indexOf(k[k.length-1])>-1:k===void 0;i||(E+="(?:"+y+"(?="+b+"))?"),L||(E+="(?="+y+"|"+b+")")}return new RegExp(E,Sb(r))}function wb(e,t,r){return e instanceof RegExp?function(n,o){if(!o)return n;for(var i=/\((?:\?<(.*?)>)?(?!\?)/g,a=0,c=i.exec(n.source);c;)o.push({name:c[1]||a++,prefix:"",suffix:"",modifier:"",pattern:""}),c=i.exec(n.source);return n}(e,t):Array.isArray(e)?function(n,o,i){var a=n.map(function(c){return wb(c,o,i).source});return new RegExp("(?:"+a.join("|")+")",Sb(i))}(e,t,r):function(n,o,i){return Fb(_b(n,i),o,i)}(e,t,r)}function ZD(e,t){return e.startsWith(t)?e.substring(t.length,e.length):e}function Rb(e){return!(!e||e.length<2||e[0]!=="["&&(e[0]!=="\\"&&e[0]!=="{"||e[1]!=="["))}function Tb(e){if(!e)return!0;for(var t,r=Yi(vb);!(t=r()).done;)if(e.test(t.value))return!0;return!1}function Bb(e){switch(e){case"ws":case"http":return"80";case"wws":case"https":return"443";case"ftp":return"21";default:return""}}function Ec(e){if(e==="")return e;if(/^[-+.A-Za-z0-9]*$/.test(e))return e.toLowerCase();throw new TypeError("Invalid protocol '"+e+"'.")}function kR(e){if(e==="")return e;var t=new URL("https://example.com");return t.username=e,t.username}function WR(e){if(e==="")return e;var t=new URL("https://example.com");return t.password=e,t.password}function Pb(e){if(e==="")return e;if(/[\t\n\r #%/:<>?@[\]^\\|]/g.test(e))throw new TypeError("Invalid hostname '"+e+"'");var t=new URL("https://example.com");return t.hostname=e,t.hostname}function Ob(e){if(e==="")return e;if(/[^0-9a-fA-F[\]:]/g.test(e))throw new TypeError("Invalid IPv6 hostname '"+e+"'");return e.toLowerCase()}function Ib(e){if(e===""||/^[0-9]*$/.test(e)&&parseInt(e)<=65535)return e;throw new TypeError("Invalid port '"+e+"'.")}function $R(e){if(e==="")return e;var t=new URL("https://example.com");return t.pathname=e[0]!=="/"?"/-"+e:e,e[0]!=="/"?t.pathname.substring(2,t.pathname.length):t.pathname}function jR(e){return e===""?e:new URL("data:"+e).pathname}function MR(e){if(e==="")return e;var t=new URL("https://example.com");return t.search=e,t.search.substring(1,t.search.length)}function zR(e){if(e==="")return e;var t=new URL("https://example.com");return t.hash=e,t.hash.substring(1,t.hash.length)}function KD(e,t){if(typeof e!="string")throw new TypeError("parameter 1 is not of type 'string'.");var r=new URL(e,t);return{protocol:r.protocol.substring(0,r.protocol.length-1),username:r.username,password:r.password,hostname:r.hostname,port:r.port,pathname:r.pathname,search:r.search!=""?r.search.substring(1,r.search.length):void 0,hash:r.hash!=""?r.hash.substring(1,r.hash.length):void 0}}function Nl(e,t,r){var n;if(typeof t.baseURL=="string")try{n=new URL(t.baseURL),e.protocol=n.protocol?n.protocol.substring(0,n.protocol.length-1):"",e.username=n.username,e.password=n.password,e.hostname=n.hostname,e.port=n.port,e.pathname=n.pathname,e.search=n.search?n.search.substring(1,n.search.length):"",e.hash=n.hash?n.hash.substring(1,n.hash.length):""}catch{throw new TypeError("invalid baseURL '"+t.baseURL+"'.")}if(typeof t.protocol=="string"&&(e.protocol=function(i,a){var c;return i=(c=i).endsWith(":")?c.substr(0,c.length-1):c,a||i===""?i:Ec(i)}(t.protocol,r)),typeof t.username=="string"&&(e.username=function(i,a){if(a||i==="")return i;var c=new URL("https://example.com");return c.username=i,c.username}(t.username,r)),typeof t.password=="string"&&(e.password=function(i,a){if(a||i==="")return i;var c=new URL("https://example.com");return c.password=i,c.password}(t.password,r)),typeof t.hostname=="string"&&(e.hostname=function(i,a){return a||i===""?i:Rb(i)?Ob(i):Pb(i)}(t.hostname,r)),typeof t.port=="string"&&(e.port=function(i,a,c){return Bb(a)===i&&(i=""),c||i===""?i:Ib(i)}(t.port,e.protocol,r)),typeof t.pathname=="string"){if(e.pathname=t.pathname,n&&!function(i,a){return!(!i.length||i[0]!=="/"&&(!a||i.length<2||i[0]!="\\"&&i[0]!="{"||i[1]!="/"))}(e.pathname,r)){var o=n.pathname.lastIndexOf("/");o>=0&&(e.pathname=n.pathname.substring(0,o+1)+e.pathname)}e.pathname=function(i,a,c){if(c||i==="")return i;if(a&&!vb.includes(a))return new URL(a+":"+i).pathname;var f=i[0]=="/";return i=new URL(f?i:"/-"+i,"https://example.com").pathname,f||(i=i.substring(2,i.length)),i}(e.pathname,e.protocol,r)}return typeof t.search=="string"&&(e.search=function(i,a){if(i=ZD(i,"?"),a||i==="")return i;var c=new URL("https://example.com");return c.search=i,c.search?c.search.substring(1,c.search.length):""}(t.search,r)),typeof t.hash=="string"&&(e.hash=function(i,a){if(i=ZD(i,"#"),a||i==="")return i;var c=new URL("https://example.com");return c.hash=i,c.hash?c.hash.substring(1,c.hash.length):""}(t.hash,r)),e}function lu(e){return e.replace(/([+*?:{}()\\])/g,"\\$1")}function GR(e,t){for(var r="[^"+(t.delimiter||"/#?").replace(/([.+*?^${}()[\]|/\\])/g,"\\$1")+"]+?",n=/(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u08D3-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])/,o="",i=0;i<e.length;++i){var a=e[i],c=i>0?e[i-1]:null,f=i<e.length-1?e[i+1]:null;if(typeof a!="string")if(a.pattern!==""){var D=typeof a.name!="number",h=t.prefixes!==void 0?t.prefixes:"./",m=a.suffix!==""||a.prefix!==""&&(a.prefix.length!==1||!h.includes(a.prefix));m||!D||a.pattern!==r||a.modifier!==""||!f||f.prefix||f.suffix||(m=typeof f=="string"?n.test(f.length>0?f[0]:""):typeof f.name=="number"),!m&&a.prefix===""&&c&&typeof c=="string"&&c.length>0&&(m=h.includes(c[c.length-1])),m&&(o+="{"),o+=lu(a.prefix),D&&(o+=":"+a.name),a.pattern===".*"?o+=D||c&&typeof c!="string"&&!c.modifier&&!m&&a.prefix===""?"(.*)":"*":a.pattern===r?D||(o+="("+r+")"):o+="("+a.pattern+")",a.pattern===r&&D&&a.suffix!==""&&n.test(a.suffix[0])&&(o+="\\"),o+=lu(a.suffix),m&&(o+="}"),o+=a.modifier}else{if(a.modifier===""){o+=lu(a.prefix);continue}o+="{"+lu(a.prefix)+"}"+a.modifier}else o+=lu(a)}return o}function VR(e){dr.pool.size||(0,kt.setTimeout)(()=>{let n=lm();for(let o of dr.pool.values())o(n);dr.pool.clear()},1e3/16);let t=Ul(e,void 0),r=++dr.tick;return dr.pool.set(r,t),r}function YR(e){let t=dr.pool.get(e);t&&((0,kt.clearTimeout)(t),dr.pool.delete(e))}function XR(e){return Buffer.from(e,"base64").toString("binary")}function QR(e){return Buffer.from(e,"binary").toString("base64")}function ZR(e){hr.pool.size||(0,kt.setTimeout)(()=>{let n=lm();for(let o of hr.pool.values())o(n);hr.pool.clear()},1e3/16);let t=Ul(e,void 0),r=++hr.tick;return hr.pool.set(r,t),r}function KR(e){let t=hr.pool.get(e);t&&((0,kt.clearTimeout)(t),hr.pool.delete(e))}function s1(e,t=0,...r){let n=Ul(e,globalThis),o=++es.tick,i=(0,kt.setTimeout)(n,t,...r);return es.pool.set(o,i),o}function a1(e){let t=es.pool.get(e);t&&((0,kt.clearTimeout)(t),es.pool.delete(e))}function Wb(){he.set(this,{attributes:{},localName:"img",innerHTML:"",shadowRoot:null,shadowInit:null})}function c1(...e){console.log(...e)}var im,kt,sm,am,Ul,TF,Es,lm,BF,he,R,V,_D,J,PF,IF,Je,LF,xF,qF,NF,kF,WF,vl,SD,$F,je,FD,wD,RD,vD,kl,Tl,pu,dm,Wl,Ie,Am,Bl,mr,Wi,nn,Sm,Cs,Fm,Yl,uw,ow,iw,PD,Le,Tm,Bm,Kl,ec,OD,lw,sn,$i,hw,qm,an,br,ln,cn,fn,ob,yr,gr,gt,mb,gu,bb,Eu,Cu,Au,vR,YD,mt,Iu,rn,gs,mn,Eb,hn,Lu,xu,um,TR,Os,hu,BR,PR,OR,XD,cr,$e,om,gc,IR,LR,Pt,qR,NR,q,vb,UR,HR,Is,dr,Nt,_u,Su,JR,Xi,pn,Qi,Fu,Ji,Cc,hr,Ls,Zi,Ki,Ac,_c,Sc,Fc,Lb,xb,em,e1,t1,Jr,r1,n1,cu,Ii,u1,o1,i1,es,wu,Dn,Li,Ru,qb,ts,Nb,vu,we,rs,ns,us,os,is,ss,as,Tu,Bu,ls,kb,cs,Pu,fs,$b,ds,hs,ps,Ds,l1,ms,tm,jb,Ou,bs,ys,Mb,f1,zb,d1,Ub,h1,Hb,p1,Gb,Vb,Yb,Xb,wc,D1,m1,rm,nm,b1,Qb=ie(()=>{d();im=require("perf_hooks"),kt=require("timers"),sm=De(L0(),1);Rl();Rl();am=De(require("stream"),1),Ul=Function.bind.bind(Function.call);Function.call.bind(Function.call);TF=Function.call.bind(Object.prototype.hasOwnProperty);Function.call.bind(Object.prototype.toString);Es=Function.call.bind(Object.prototype.isPrototypeOf),lm=im.performance.now,BF=e=>e.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"),he=new WeakMap,R=(e,t,r)=>{let n=he.get(e);if(!n)throw new TypeError(`${t}.${r} can only be used on instances of ${t}`);return n},V=e=>e.prototype[Symbol.toStringTag]=e.name,_D=e=>String(e??"").replace(/\\+/g,"/").replace(/^(?=[A-Za-z]:\/)/,"/").replace(/%/g,"%25").replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/\t/g,"%09"),J=class extends Error{constructor(t="",r="Error"){super(t),this.code=0,this.name=r}};J.INDEX_SIZE_ERR=1;J.DOMSTRING_SIZE_ERR=2;J.HIERARCHY_REQUEST_ERR=3;J.WRONG_DOCUMENT_ERR=4;J.INVALID_CHARACTER_ERR=5;J.NO_DATA_ALLOWED_ERR=6;J.NO_MODIFICATION_ALLOWED_ERR=7;J.NOT_FOUND_ERR=8;J.NOT_SUPPORTED_ERR=9;J.INUSE_ATTRIBUTE_ERR=10;J.INVALID_STATE_ERR=11;J.SYNTAX_ERR=12;J.INVALID_MODIFICATION_ERR=13;J.NAMESPACE_ERR=14;J.INVALID_ACCESS_ERR=15;J.VALIDATION_ERR=16;J.TYPE_MISMATCH_ERR=17;J.SECURITY_ERR=18;J.NETWORK_ERR=19;J.ABORT_ERR=20;J.URL_MISMATCH_ERR=21;J.QUOTA_EXCEEDED_ERR=22;J.TIMEOUT_ERR=23;J.INVALID_NODE_TYPE_ERR=24;J.DATA_CLONE_ERR=25;V(J);Je=class{constructor(t,r){this.code=t,this.message=r}warn(...t){var r;try{let n=((r=new Error().stack)!==null&&r!==void 0?r:"").replace(/^(?:.+?\n){2}/gu,`
|
|
21
|
-
`);console.warn(this.message,...t,n)}catch{}}},LF=new Je("W01","Unable to initialize event under dispatching."),xF=new Je("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),qF=new Je("W03","Assigning any truthy value to 'returnValue' property has no effect."),NF=new Je("W04","Unable to preventDefault on non-cancelable events."),kF=new Je("W05","Unable to preventDefault inside passive event listener invocation."),WF=new Je("W06","An event listener wasn't added because it has been added already: %o, %o"),vl=new Je("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),SD=new Je("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o"),$F=new Je("W09","Event attribute handler must be a function: %o"),je=class{static get NONE(){return FD}static get CAPTURING_PHASE(){return wD}static get AT_TARGET(){return RD}static get BUBBLING_PHASE(){return vD}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let n=r??{};kl.set(this,{type:String(t),bubbles:!!n.bubbles,cancelable:!!n.cancelable,composed:!!n.composed,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return se(this).type}get target(){return se(this).target}get srcElement(){return se(this).target}get currentTarget(){return se(this).currentTarget}composedPath(){let t=se(this).currentTarget;return t?[t]:[]}get NONE(){return FD}get CAPTURING_PHASE(){return wD}get AT_TARGET(){return RD}get BUBBLING_PHASE(){return vD}get eventPhase(){return se(this).dispatchFlag?2:0}stopPropagation(){se(this).stopPropagationFlag=!0}get cancelBubble(){return se(this).stopPropagationFlag}set cancelBubble(t){t?se(this).stopPropagationFlag=!0:xF.warn()}stopImmediatePropagation(){let t=se(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return se(this).bubbles}get cancelable(){return se(this).cancelable}get returnValue(){return!se(this).canceledFlag}set returnValue(t){t?qF.warn():TD(se(this))}preventDefault(){TD(se(this))}get defaultPrevented(){return se(this).canceledFlag}get composed(){return se(this).composed}get isTrusted(){return!1}get timeStamp(){return se(this).timeStamp}initEvent(t,r=!1,n=!1){let o=se(this);if(o.dispatchFlag){LF.warn();return}kl.set(this,{...o,type:String(t),bubbles:!!r,cancelable:!!n,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}},FD=0,wD=1,RD=2,vD=3,kl=new WeakMap;Object.defineProperty(je,"NONE",{enumerable:!0});Object.defineProperty(je,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(je,"AT_TARGET",{enumerable:!0});Object.defineProperty(je,"BUBBLING_PHASE",{enumerable:!0});Tl=Object.getOwnPropertyNames(je.prototype);for(let e=0;e<Tl.length;++e)Tl[e]!=="constructor"&&Object.defineProperty(je.prototype,Tl[e],{enumerable:!0});pu=class extends je{static wrap(t){return new(hm(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),dm.set(this,{original:t});let r=Object.keys(t);for(let n=0;n<r.length;++n){let o=r[n];o in this||Object.defineProperty(this,o,pm(t,o))}}stopPropagation(){super.stopPropagation();let{original:t}=Ot(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;let{original:r}=Ot(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();let{original:t}=Ot(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;let{original:r}=Ot(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();let{original:t}=Ot(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){let{original:t}=Ot(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}},dm=new WeakMap;Wl=new WeakMap;Wl.set(Object.prototype,pu);Ie=class{constructor(){Am.set(this,GF())}addEventListener(t,r,n){let o=en(this),{callback:i,capture:a,once:c,passive:f,signal:D,type:h}=VF(t,r,n);if(i==null||D!=null&&D.aborted)return;let m=Cm(o,h),b=ym(m,i,a);if(b!==-1){XF(m.listeners[b],f,c,D);return}gm(m,i,a,f,c,D)}removeEventListener(t,r,n){let o=en(this),{callback:i,capture:a,type:c}=YF(t,r,n),f=o[c];i!=null&&f&&Gl(f,i,a)}dispatchEvent(t){let r=en(this)[String(t.type)];if(r==null)return!0;let n=t instanceof je?t:pu.wrap(t),o=se(n,"event");if(o.dispatchFlag)throw new J("This event has been in dispatching.");if(o.dispatchFlag=!0,o.target=o.currentTarget=this,!o.stopPropagationFlag){let{cow:i,listeners:a}=r;r.cow=!0;for(let c=0;c<a.length;++c){let f=a[c];if(!UF(f)&&(bm(f)&&Em(r,c,!i)&&(c-=1),o.inPassiveListenerFlag=mm(f),HF(f,this,n),o.inPassiveListenerFlag=!1,o.stopImmediatePropagationFlag))break}i||(r.cow=!1)}return o.target=null,o.currentTarget=null,o.stopImmediatePropagationFlag=!1,o.stopPropagationFlag=!1,o.dispatchFlag=!1,!o.canceledFlag}},Am=new WeakMap;Bl=Object.getOwnPropertyNames(Ie.prototype);for(let e=0;e<Bl.length;++e)Bl[e]!=="constructor"&&Object.defineProperty(Ie.prototype,Bl[e],{enumerable:!0});mr=class extends Ie{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let t=Wi.get(this);if(typeof t!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return t}};tw(mr.prototype,"abort");Wi=new WeakMap;Object.defineProperties(mr.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(mr.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});nn=class{constructor(){Sm.set(this,rw())}get signal(){return BD(this)}abort(){nw(BD(this))}},Sm=new WeakMap;Object.defineProperties(nn.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(nn.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});Cs=Symbol;Fm=Vl,Yl=Promise,uw=Promise.prototype.then,ow=Promise.resolve.bind(Yl),iw=Promise.reject.bind(Yl);PD=16384,Le=class{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(t){let r=this._back,n=r;r._elements.length===PD-1&&(n={_elements:[],_next:void 0}),r._elements.push(t),n!==r&&(this._back=n,r._next=n),++this._size}shift(){let t=this._front,r=t,n=this._cursor,o=n+1,i=t._elements,a=i[n];return o===PD&&(r=t._next,o=0),--this._size,this._cursor=o,t!==r&&(this._front=r),i[n]=void 0,a}forEach(t){let r=this._cursor,n=this._front,o=n._elements;for(;(r!==o.length||n._next!==void 0)&&!(r===o.length&&(n=n._next,o=n._elements,r=0,o.length===0));)t(o[r]),++r}peek(){let t=this._front,r=this._cursor;return t._elements[r]}};Tm=Cs("[[AbortSteps]]"),Bm=Cs("[[ErrorSteps]]"),Kl=Cs("[[CancelSteps]]"),ec=Cs("[[PullSteps]]"),OD=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},lw=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};sn=class{constructor(t){if(yt(t,1,"ReadableStreamDefaultReader"),rc(t,"First parameter"),xt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");wm(this,t),this._readRequests=new Le}get closed(){return Lt(this)?this._closedPromise:N(Fi("closed"))}cancel(t=void 0){return Lt(this)?this._ownerReadableStream===void 0?N(un("cancel")):Ql(this,t):N(Fi("cancel"))}read(){if(!Lt(this))return N(Fi("read"));if(this._ownerReadableStream===void 0)return N(un("read from"));let t,r,n=be((i,a)=>{t=i,r=a});return Nu(this,{_chunkSteps:i=>t({value:i,done:!1}),_closeSteps:()=>t({value:void 0,done:!0}),_errorSteps:i=>r(i)}),n}releaseLock(){if(!Lt(this))throw Fi("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");bt(this)}}};Object.defineProperties(sn.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});$i=class{constructor(t,r){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=t,this._preventCancel=r}next(){let t=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?Dr(this._ongoingPromise,t,t):t(),this._ongoingPromise}return(t){let r=()=>this._returnSteps(t);return this._ongoingPromise?Dr(this._ongoingPromise,r,r):r()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let t=this._reader;if(t._ownerReadableStream===void 0)return N(un("iterate"));let r,n,o=be((a,c)=>{r=a,n=c});return Nu(t,{_chunkSteps:a=>{this._ongoingPromise=void 0,queueMicrotask(()=>r({value:a,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,bt(t),r({value:void 0,done:!0})},_errorSteps:a=>{this._ongoingPromise=void 0,this._isFinished=!0,bt(t),n(a)}}),o}_returnSteps(t){if(this._isFinished)return Promise.resolve({value:t,done:!0});this._isFinished=!0;let r=this._reader;if(r._ownerReadableStream===void 0)return N(un("finish iterating"));if(!this._preventCancel){let n=Ql(r,t);return bt(r),Dr(n,()=>({value:t,done:!0}))}return bt(r),Z({value:t,done:!0})}},hw={next(){return ID(this)?this._asyncIteratorImpl.next():N(LD("next"))},return(e){return ID(this)?this._asyncIteratorImpl.return(e):N(LD("return"))}};qm=Number.isNaN||function(e){return e!==e};an=class{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!Ol(this))throw Il("view");return this._view}respond(t){if(!Ol(this))throw Il("respond");if(yt(t,1,"respond"),t=Im(t,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");ji(this._view.buffer),Ni(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!Ol(this))throw Il("respondWithNewView");if(yt(t,1,"respondWithNewView"),!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");ji(t.buffer),ki(this._associatedReadableByteStreamController,t)}};Object.defineProperties(an.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}});br=class{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!fr(this))throw au("byobRequest");return jl(this)}get desiredSize(){if(!fr(this))throw au("desiredSize");return Gm(this)}close(){if(!fr(this))throw au("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`);fu(this)}enqueue(t){if(!fr(this))throw au("enqueue");if(yt(t,1,"enqueue"),!ArrayBuffer.isView(t))throw new TypeError("chunk must be an array buffer view");if(t.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(t.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let r=this._controlledReadableByteStream._state;if(r!=="readable")throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`);qi(this,t)}error(t=void 0){if(!fr(this))throw au("error");Xe(this,t)}[Kl](t){Wm(this),Wt(this);let r=this._cancelAlgorithm(t);return Fs(this),r}[ec](t){let r=this._controlledReadableByteStream;if(this._queueTotalSize>0){let o=this._queue.shift();this._queueTotalSize-=o.byteLength,zm(this);let i=new Uint8Array(o.buffer,o.byteOffset,o.byteLength);t._chunkSteps(i);return}let n=this._autoAllocateChunkSize;if(n!==void 0){let o;try{o=new ArrayBuffer(n)}catch(a){t._errorSteps(a);return}let i={buffer:o,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(i)}Lm(r,t),Cr(this)}};Object.defineProperties(br.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}});ln=class{constructor(t){if(yt(t,1,"ReadableStreamBYOBReader"),rc(t,"First parameter"),xt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!fr(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");wm(this,t),this._readIntoRequests=new Le}get closed(){return pr(this)?this._closedPromise:N(wi("closed"))}cancel(t=void 0){return pr(this)?this._ownerReadableStream===void 0?N(un("cancel")):Ql(this,t):N(wi("cancel"))}read(t){if(!pr(this))return N(wi("read"));if(!ArrayBuffer.isView(t))return N(new TypeError("view must be an array buffer view"));if(t.byteLength===0)return N(new TypeError("view must have non-zero byteLength"));if(t.buffer.byteLength===0)return N(new TypeError("view's buffer must have non-zero byteLength"));if(ji(t.buffer),this._ownerReadableStream===void 0)return N(un("read from"));let r,n,o=be((a,c)=>{r=a,n=c});return Qm(this,t,{_chunkSteps:a=>r({value:a,done:!1}),_closeSteps:a=>r({value:a,done:!0}),_errorSteps:a=>n(a)}),o}releaseLock(){if(!pr(this))throw wi("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");bt(this)}}};Object.defineProperties(ln.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});cn=class{constructor(t={},r={}){t===void 0?t=null:Pm(t,"First parameter");let n=zi(r,"Second parameter"),o=Fw(t,"First parameter");if(Km(this),o.type!==void 0)throw new RangeError("Invalid type is specified");let a=Mi(n),c=mu(n,1);Uw(this,o,c,a)}get locked(){if(!Kr(this))throw vi("locked");return tn(this)}abort(t=void 0){return Kr(this)?tn(this)?N(new TypeError("Cannot abort a stream that already has a writer")):Ui(this,t):N(vi("abort"))}close(){return Kr(this)?tn(this)?N(new TypeError("Cannot close a stream that already has a writer")):ut(this)?N(new TypeError("Cannot close an already-closing stream")):eb(this):N(vi("close"))}getWriter(){if(!Kr(this))throw vi("getWriter");return Zm(this)}};Object.defineProperties(cn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}});fn=class{constructor(t){if(yt(t,1,"WritableStreamDefaultWriter"),Jm(t,"First parameter"),tn(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;let r=t._state;if(r==="writable")!ut(t)&&t._backpressure?vs(this):ND(this),Hi(this);else if(r==="erroring")Ml(this,t._storedError),Hi(this);else if(r==="closed")ND(this),Qw(this);else{let n=t._storedError;Ml(this,n),lb(this,n)}}get closed(){return sr(this)?this._closedPromise:N(ar("closed"))}get desiredSize(){if(!sr(this))throw ar("desiredSize");if(this._ownerWritableStream===void 0)throw du("desiredSize");return zw(this)}get ready(){return sr(this)?this._readyPromise:N(ar("ready"))}abort(t=void 0){return sr(this)?this._ownerWritableStream===void 0?N(du("abort")):$w(this,t):N(ar("abort"))}close(){if(!sr(this))return N(ar("close"));let t=this._ownerWritableStream;return t===void 0?N(du("close")):ut(t)?N(new TypeError("Cannot close an already-closing stream")):tb(this)}releaseLock(){if(!sr(this))throw ar("releaseLock");this._ownerWritableStream!==void 0&&nb(this)}write(t=void 0){return sr(this)?this._ownerWritableStream===void 0?N(du("write to")):ub(this,t):N(ar("write"))}};Object.defineProperties(fn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}});ob={},yr=class{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Ll(this))throw xl("abortReason");return this._abortReason}get signal(){if(!Ll(this))throw xl("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(t=void 0){if(!Ll(this))throw xl("error");this._controlledWritableStream._state==="writable"&&ab(this,t)}[Tm](t){let r=this._abortAlgorithm(t);return ws(this),r}[Bm](){Wt(this)}};Object.defineProperties(yr.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}});gr=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Ti(this))throw Bi("desiredSize");return bc(this)}close(){if(!Ti(this))throw Bi("close");if(!dn(this))throw new TypeError("The stream is not in a state that permits close");yu(this)}enqueue(t=void 0){if(!Ti(this))throw Bi("enqueue");if(!dn(this))throw new TypeError("The stream is not in a state that permits enqueue");return Vi(this,t)}error(t=void 0){if(!Ti(this))throw Bi("error");qt(this,t)}[Kl](t){Wt(this);let r=this._cancelAlgorithm(t);return Gi(this),r}[ec](t){let r=this._controlledReadableStream;if(this._queue.length>0){let n=uc(this);this._closeRequested&&this._queue.length===0?(Gi(this),ku(r)):bu(this),t._chunkSteps(n)}else Lm(r,t),bu(this)}};Object.defineProperties(gr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}});gt=class{constructor(t={},r={}){t===void 0?t=null:Pm(t,"First parameter");let n=zi(r,"Second parameter"),o=oR(t,"First parameter");if(yc(this),o.type==="bytes"){if(n.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let i=mu(n,0);Cw(this,o,i)}else{let i=Mi(n),a=mu(n,1);tR(this,o,a,i)}}get locked(){if(!Bt(this))throw lr("locked");return xt(this)}cancel(t=void 0){return Bt(this)?xt(this)?N(new TypeError("Cannot cancel a stream that already has a reader")):Qe(this,t):N(lr("cancel"))}getReader(t=void 0){if(!Bt(this))throw lr("getReader");return cR(t,"First parameter").mode===void 0?on(this):Ym(this)}pipeThrough(t,r={}){if(!Bt(this))throw lr("pipeThrough");yt(t,1,"pipeThrough");let n=pR(t,"First parameter"),o=WD(r,"Second parameter");if(xt(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(tn(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let i=kD(this,n.writable,o.preventClose,o.preventAbort,o.preventCancel,o.signal);return qu(i),n.readable}pipeTo(t,r={}){if(!Bt(this))return N(lr("pipeTo"));if(t===void 0)return N("Parameter 1 is required in 'pipeTo'.");if(!Kr(t))return N(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=WD(r,"Second parameter")}catch(o){return N(o)}return xt(this)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):tn(t)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):kD(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!Bt(this))throw lr("tee");let t=rR(this);return Du(t)}values(t=void 0){if(!Bt(this))throw lr("values");let r=dR(t,"First parameter");return pw(this,r.preventCancel)}};Object.defineProperties(gt.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}});mb=e=>e.byteLength;try{Object.defineProperty(mb,"name",{value:"size",configurable:!0})}catch{}gu=class{constructor(t){yt(t,1,"ByteLengthQueuingStrategy"),t=Db(t,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!MD(this))throw jD("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!MD(this))throw jD("size");return mb}};Object.defineProperties(gu.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});bb=()=>1;try{Object.defineProperty(bb,"name",{value:"size",configurable:!0})}catch{}Eu=class{constructor(t){yt(t,1,"CountQueuingStrategy"),t=Db(t,"First parameter"),this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!UD(this))throw zD("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!UD(this))throw zD("size");return bb}};Object.defineProperties(Eu.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});Cu=class{constructor(t={},r={},n={}){t===void 0&&(t=null);let o=zi(r,"Second parameter"),i=zi(n,"Third parameter"),a=DR(t,"First parameter");if(a.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(a.writableType!==void 0)throw new RangeError("Invalid writableType specified");let c=mu(i,0),f=Mi(i),D=mu(o,1),h=Mi(o),m,b=be(y=>{m=y});gR(this,b,D,h,c,f),CR(this,a),a.start!==void 0?m(a.start(this._transformStreamController)):m(void 0)}get readable(){if(!HD(this))throw VD("readable");return this._readable}get writable(){if(!HD(this))throw VD("writable");return this._writable}};Object.defineProperties(Cu.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}});Au=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Pi(this))throw Oi("desiredSize");let t=this._controlledTransformStream._readable._readableStreamController;return bc(t)}enqueue(t=void 0){if(!Pi(this))throw Oi("enqueue");gb(this,t)}error(t=void 0){if(!Pi(this))throw Oi("error");AR(this,t)}terminate(){if(!Pi(this))throw Oi("terminate");_R(this)}};Object.defineProperties(Au.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}});vR=65536;try{let{Blob:e}=require("buffer");e&&!e.prototype.stream&&(e.prototype.stream=function(r){let n=0,o=this;return new gt({type:"bytes",async pull(i){let c=await o.slice(n,Math.min(o.size,n+vR)).arrayBuffer();n+=c.byteLength,i.enqueue(new Uint8Array(c)),n===o.size&&i.close()}})})}catch{}YD=65536;Eb=(mn=class{constructor(t=[],r={}){ue(this,mt,[]);ue(this,Iu,"");ue(this,rn,0);ue(this,gs,"transparent");if(typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(typeof t[Symbol.iterator]!="function")throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&typeof r!="function")throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");r===null&&(r={});let n=new TextEncoder;for(let i of t){let a;ArrayBuffer.isView(i)?a=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)):i instanceof ArrayBuffer?a=new Uint8Array(i.slice(0)):i instanceof mn?a=i:a=n.encode(`${i}`),re(this,rn,W(this,rn)+(ArrayBuffer.isView(a)?a.byteLength:a.size)),W(this,mt).push(a)}re(this,gs,`${r.endings===void 0?"transparent":r.endings}`);let o=r.type===void 0?"":String(r.type);re(this,Iu,/^[\x20-\x7E]*$/.test(o)?o:"")}get size(){return W(this,rn)}get type(){return W(this,Iu)}async text(){let t=new TextDecoder,r="";for await(let n of ql(W(this,mt),!1))r+=t.decode(n,{stream:!0});return r+=t.decode(),r}async arrayBuffer(){let t=new Uint8Array(this.size),r=0;for await(let n of ql(W(this,mt),!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=ql(W(this,mt),!0);return new gt({type:"bytes",async pull(r){let n=await t.next();n.done?r.close():r.enqueue(n.value)},async cancel(){await t.return()}})}slice(t=0,r=this.size,n=""){let{size:o}=this,i=t<0?Math.max(o+t,0):Math.min(t,o),a=r<0?Math.max(o+r,0):Math.min(r,o),c=Math.max(a-i,0),f=W(this,mt),D=[],h=0;for(let b of f){if(h>=c)break;let y=ArrayBuffer.isView(b)?b.byteLength:b.size;if(i&&y<=i)i-=y,a-=y;else{let E;ArrayBuffer.isView(b)?(E=b.subarray(i,Math.min(y,a)),h+=E.byteLength):(E=b.slice(i,Math.min(y,a)),h+=E.size),a-=y,D.push(E),i=0}}let m=new mn([],{type:String(n).toLowerCase()});return re(m,rn,c),re(m,mt,D),m}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](t){return t&&typeof t=="object"&&typeof t.constructor=="function"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}},mt=new WeakMap,Iu=new WeakMap,rn=new WeakMap,gs=new WeakMap,mn);Object.defineProperties(Eb.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});hn=Eb,TR=(um=class extends hn{constructor(r,n,o={}){if(arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(r,o);ue(this,Lu,0);ue(this,xu,"");o===null&&(o={});let i=o.lastModified===void 0?Date.now():Number(o.lastModified);Number.isNaN(i)||re(this,Lu,i),re(this,xu,String(n))}get name(){return W(this,xu)}get lastModified(){return W(this,Lu)}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](r){return!!r&&r instanceof hn&&/^(File)$/.test(r[Symbol.toStringTag])}},Lu=new WeakMap,xu=new WeakMap,um),Os=TR;({toStringTag:hu,iterator:BR,hasInstance:PR}=Symbol),OR="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),XD=(e,t,r)=>(e+="",/^(Blob|File)$/.test(t&&t[hu])?[(r=r!==void 0?r+"":t[hu]=="File"?t.name:"blob",e),t.name!==r||t[hu]=="blob"?new Os([t],r,t):t]:[e,t+""]),cr=(e,t,r)=>{if(t.length<r)throw new TypeError(`Failed to execute '${e}' on 'FormData': ${r} arguments required, but only ${t.length} present.`)},gc=(om=class{constructor(...t){ue(this,$e,[]);if(t.length)throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[hu](){return"FormData"}[BR](){return this.entries()}static[PR](t){return t&&typeof t=="object"&&t[hu]==="FormData"&&!OR.some(r=>typeof t[r]!="function")}append(...t){cr("append",arguments,2),W(this,$e).push(XD(...t))}delete(t){cr("delete",arguments,1),t+="",re(this,$e,W(this,$e).filter(([r])=>r!==t))}get(t){cr("get",arguments,1),t+="";for(var r=W(this,$e),n=r.length,o=0;o<n;o++)if(r[o][0]===t)return r[o][1];return null}getAll(t,r){return cr("getAll",arguments,1),r=[],t+="",W(this,$e).forEach(n=>n[0]===t&&r.push(n[1])),r}has(t){return cr("has",arguments,1),t+="",W(this,$e).some(r=>r[0]===t)}forEach(t,r){cr("forEach",arguments,1);for(var[n,o]of this)t.call(r,o,n,this)}set(...t){cr("set",arguments,2);var r=[],n=!0;t=XD(...t),W(this,$e).forEach(o=>{o[0]===t[0]?n&&(n=!r.push(t)):r.push(o)}),n&&r.push(t),re(this,$e,r)}*entries(){yield*W(this,$e)}*keys(){for(var[t]of this)yield t}*values(){for(var[,t]of this)yield t}},$e=new WeakMap,om);IR=/(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/,LR=/(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u08D3-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])/;Pt={delimiter:"",prefixes:"",sensitive:!0,strict:!0},qR={delimiter:".",prefixes:"",sensitive:!0,strict:!0},NR={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};vb=["ftp","file","http","https","ws","wss"];(function(e){e[e.INIT=0]="INIT",e[e.PROTOCOL=1]="PROTOCOL",e[e.AUTHORITY=2]="AUTHORITY",e[e.USERNAME=3]="USERNAME",e[e.PASSWORD=4]="PASSWORD",e[e.HOSTNAME=5]="HOSTNAME",e[e.PORT=6]="PORT",e[e.PATHNAME=7]="PATHNAME",e[e.SEARCH=8]="SEARCH",e[e.HASH=9]="HASH",e[e.DONE=10]="DONE"})(q||(q={}));UR=function(){function e(r){this.input=void 0,this.tokenList=[],this.internalResult={},this.tokenIndex=0,this.tokenIncrement=1,this.componentStart=0,this.state=q.INIT,this.groupDepth=0,this.hostnameIPv6BracketDepth=0,this.shouldTreatAsStandardURL=!1,this.input=r}var t=e.prototype;return t.parse=function(){for(this.tokenList=Ab(this.input,!0);this.tokenIndex<this.tokenList.length;this.tokenIndex+=this.tokenIncrement){if(this.tokenIncrement=1,this.tokenList[this.tokenIndex].type==="END"){if(this.state===q.INIT){this.rewind(),this.isHashPrefix()?this.changeState(q.HASH,1):this.isSearchPrefix()?(this.changeState(q.SEARCH,1),this.internalResult.hash=""):(this.changeState(q.PATHNAME,0),this.internalResult.search="",this.internalResult.hash="");continue}if(this.state===q.AUTHORITY){this.rewindAndSetState(q.HOSTNAME);continue}this.changeState(q.DONE,0);break}if(this.groupDepth>0){if(!this.isGroupClose())continue;this.groupDepth-=1}if(this.isGroupOpen())this.groupDepth+=1;else switch(this.state){case q.INIT:this.isProtocolSuffix()&&(this.internalResult.username="",this.internalResult.password="",this.internalResult.hostname="",this.internalResult.port="",this.internalResult.pathname="",this.internalResult.search="",this.internalResult.hash="",this.rewindAndSetState(q.PROTOCOL));break;case q.PROTOCOL:if(this.isProtocolSuffix()){this.computeShouldTreatAsStandardURL();var r=q.PATHNAME,n=1;this.shouldTreatAsStandardURL&&(this.internalResult.pathname="/"),this.nextIsAuthoritySlashes()?(r=q.AUTHORITY,n=3):this.shouldTreatAsStandardURL&&(r=q.AUTHORITY),this.changeState(r,n)}break;case q.AUTHORITY:this.isIdentityTerminator()?this.rewindAndSetState(q.USERNAME):(this.isPathnameStart()||this.isSearchPrefix()||this.isHashPrefix())&&this.rewindAndSetState(q.HOSTNAME);break;case q.USERNAME:this.isPasswordPrefix()?this.changeState(q.PASSWORD,1):this.isIdentityTerminator()&&this.changeState(q.HOSTNAME,1);break;case q.PASSWORD:this.isIdentityTerminator()&&this.changeState(q.HOSTNAME,1);break;case q.HOSTNAME:this.isIPv6Open()?this.hostnameIPv6BracketDepth+=1:this.isIPv6Close()&&(this.hostnameIPv6BracketDepth-=1),this.isPortPrefix()&&!this.hostnameIPv6BracketDepth?this.changeState(q.PORT,1):this.isPathnameStart()?this.changeState(q.PATHNAME,0):this.isSearchPrefix()?this.changeState(q.SEARCH,1):this.isHashPrefix()&&this.changeState(q.HASH,1);break;case q.PORT:this.isPathnameStart()?this.changeState(q.PATHNAME,0):this.isSearchPrefix()?this.changeState(q.SEARCH,1):this.isHashPrefix()&&this.changeState(q.HASH,1);break;case q.PATHNAME:this.isSearchPrefix()?this.changeState(q.SEARCH,1):this.isHashPrefix()&&this.changeState(q.HASH,1);break;case q.SEARCH:this.isHashPrefix()&&this.changeState(q.HASH,1)}}},t.changeState=function(r,n){switch(this.state){case q.INIT:break;case q.PROTOCOL:this.internalResult.protocol=this.makeComponentString();break;case q.AUTHORITY:break;case q.USERNAME:this.internalResult.username=this.makeComponentString();break;case q.PASSWORD:this.internalResult.password=this.makeComponentString();break;case q.HOSTNAME:this.internalResult.hostname=this.makeComponentString();break;case q.PORT:this.internalResult.port=this.makeComponentString();break;case q.PATHNAME:this.internalResult.pathname=this.makeComponentString();break;case q.SEARCH:this.internalResult.search=this.makeComponentString();break;case q.HASH:this.internalResult.hash=this.makeComponentString()}this.changeStateWithoutSettingComponent(r,n)},t.changeStateWithoutSettingComponent=function(r,n){this.state=r,this.componentStart=this.tokenIndex+n,this.tokenIndex+=n,this.tokenIncrement=0},t.rewind=function(){this.tokenIndex=this.componentStart,this.tokenIncrement=0},t.rewindAndSetState=function(r){this.rewind(),this.state=r},t.safeToken=function(r){return r<0&&(r=this.tokenList.length-r),r<this.tokenList.length?this.tokenList[r]:this.tokenList[this.tokenList.length-1]},t.isNonSpecialPatternChar=function(r,n){var o=this.safeToken(r);return o.value===n&&(o.type==="CHAR"||o.type==="ESCAPED_CHAR"||o.type==="INVALID_CHAR")},t.isProtocolSuffix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.nextIsAuthoritySlashes=function(){return this.isNonSpecialPatternChar(this.tokenIndex+1,"/")&&this.isNonSpecialPatternChar(this.tokenIndex+2,"/")},t.isIdentityTerminator=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"@")},t.isPasswordPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPortPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPathnameStart=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"/")},t.isSearchPrefix=function(){if(this.isNonSpecialPatternChar(this.tokenIndex,"?"))return!0;if(this.tokenList[this.tokenIndex].value!=="?")return!1;var r=this.safeToken(this.tokenIndex-1);return r.type!=="NAME"&&r.type!=="PATTERN"&&r.type!=="CLOSE"&&r.type!=="ASTERISK"},t.isHashPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"#")},t.isGroupOpen=function(){return this.tokenList[this.tokenIndex].type=="OPEN"},t.isGroupClose=function(){return this.tokenList[this.tokenIndex].type=="CLOSE"},t.isIPv6Open=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"[")},t.isIPv6Close=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"]")},t.makeComponentString=function(){var r=this.tokenList[this.tokenIndex],n=this.safeToken(this.componentStart).index;return this.input.substring(n,r.index)},t.computeShouldTreatAsStandardURL=function(){var r={};Object.assign(r,Pt),r.encodePart=Ec;var n=wb(this.makeComponentString(),void 0,r);this.shouldTreatAsStandardURL=Tb(n)},Cb(e,[{key:"result",get:function(){return this.internalResult}}]),e}(),HR=["protocol","username","password","hostname","port","pathname","search","hash"];Is=function(){function e(r,n){r===void 0&&(r={}),this.pattern=void 0,this.regexp={},this.keys={},this.component_pattern={};try{if(typeof r=="string"){var o=new UR(r);if(o.parse(),r=o.result,n){if(typeof n!="string")throw new TypeError("'baseURL' parameter is not of type 'string'.");r.baseURL=n}else if(typeof r.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.")}else if(n)throw new TypeError("parameter 1 is not of type 'string'.");if(!r||typeof r!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");var i;this.pattern=Nl({pathname:"*",protocol:"*",username:"*",password:"*",hostname:"*",port:"*",search:"*",hash:"*"},r,!0),Bb(this.pattern.protocol)===this.pattern.port&&(this.pattern.port="");for(var a,c=Yi(HR);!(a=c()).done;)if((i=a.value)in this.pattern){var f={},D=this.pattern[i];switch(this.keys[i]=[],i){case"protocol":Object.assign(f,Pt),f.encodePart=Ec;break;case"username":Object.assign(f,Pt),f.encodePart=kR;break;case"password":Object.assign(f,Pt),f.encodePart=WR;break;case"hostname":Object.assign(f,qR),f.encodePart=Rb(D)?Ob:Pb;break;case"port":Object.assign(f,Pt),f.encodePart=Ib;break;case"pathname":Tb(this.regexp.protocol)?(Object.assign(f,NR),f.encodePart=$R):(Object.assign(f,Pt),f.encodePart=jR);break;case"search":Object.assign(f,Pt),f.encodePart=MR;break;case"hash":Object.assign(f,Pt),f.encodePart=zR}try{var h=_b(D,f);this.regexp[i]=Fb(h,this.keys[i],f),this.component_pattern[i]=GR(h,f)}catch{throw new TypeError("invalid "+i+" pattern '"+this.pattern[i]+"'.")}}}catch(m){throw new TypeError("Failed to construct 'URLPattern': "+m.message)}}var t=e.prototype;return t.test=function(r,n){r===void 0&&(r={});var o,i={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r===void 0)return!1;try{i=Nl(i,typeof r=="object"?r:KD(r,n),!1)}catch{return!1}for(o in this.pattern)if(!this.regexp[o].exec(i[o]))return!1;return!0},t.exec=function(r,n){r===void 0&&(r={});var o={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r!==void 0){try{o=Nl(o,typeof r=="object"?r:KD(r,n),!1)}catch{return null}var i,a={};for(i in a.inputs=n?[r,n]:[r],this.pattern){var c=this.regexp[i].exec(o[i]);if(!c)return null;for(var f,D={},h=Yi(this.keys[i].entries());!(f=h()).done;){var m=f.value,b=m[1];typeof b.name!="string"&&typeof b.name!="number"||(D[b.name]=c[m[0]+1]||"")}a[i]={input:o[i]||"",groups:D}}return a}},Cb(e,[{key:"protocol",get:function(){return this.component_pattern.protocol}},{key:"username",get:function(){return this.component_pattern.username}},{key:"password",get:function(){return this.component_pattern.password}},{key:"hostname",get:function(){return this.component_pattern.hostname}},{key:"port",get:function(){return this.component_pattern.port}},{key:"pathname",get:function(){return this.component_pattern.pathname}},{key:"search",get:function(){return this.component_pattern.search}},{key:"hash",get:function(){return this.component_pattern.hash}}]),e}(),dr={tick:0,pool:new Map};Nt=class extends Ie{append(...t){}appendChild(t){return t}after(...t){}before(...t){}prepend(...t){}replaceChild(t,r){return r}removeChild(t){return t}get attributes(){return{}}get childNodes(){return[]}get children(){return[]}get ownerDocument(){return null}get nodeValue(){return""}set nodeValue(t){}get textContent(){return""}set textContent(t){}get previousElementSibling(){return null}get nextElementSibling(){return null}[Symbol.for("nodejs.util.inspect.custom")](t,r){return`${this.constructor.name}`}},_u=class extends Nt{},Su=class extends _u{get innerHTML(){return""}set innerHTML(t){}},JR=Object.assign({NodeFilter(){throw new TypeError("Illegal constructor")}}.NodeFilter,{FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048}),Xi=class{nextNode(){return null}previousNode(){return null}get filter(){return R(this,"NodeIterator","filter").filter}get pointerBeforeReferenceNode(){return R(this,"NodeIterator","pointerBeforeReferenceNode").pointerBeforeReferenceNode}get referenceNode(){return R(this,"NodeIterator","referenceNode").referenceNode}get root(){return R(this,"NodeIterator","root").root}get whatToShow(){return R(this,"NodeIterator","whatToShow").whatToShow}};V(Nt);V(Xi);V(_u);V(Su);pn=class extends Nt{constructor(t){he.set(super(),{data:String(t)})}get data(){return R(this,"CharacterData","data").data}get textContent(){return R(this,"CharacterData","textContent").data}},Qi=class extends pn{},Fu=class extends pn{get assignedSlot(){return null}get wholeText(){return R(this,"CharacterData","textContent").data}};V(pn);V(Fu);V(Qi);Ji=class extends je{constructor(t,r){r=Object(r),super(t,r),"detail"in r&&(this.detail=r.detail)}};V(Ji);(0,sm.bootstrap)({environmentVariableNamespace:""});Cc={fetch(e,t){let r=new URL(Es(Pe.prototype,e)?e.url:_D(e),typeof Object(globalThis.process).cwd=="function"?"file:"+_D(process.cwd())+"/":"file:");return r.protocol.toLowerCase()==="file:"?import("fs").then(n=>{try{let o=n.statSync(r),i=n.createReadStream(r);return new ae(i,{status:200,statusText:"",headers:{"content-length":String(o.size),date:new Date().toUTCString(),"last-modified":new Date(o.mtimeMs).toUTCString()}})}catch{let i=new am.default.Readable;return i._read=()=>{},i.push(null),new ae(i,{status:404,statusText:"",headers:{date:new Date().toUTCString()}})}}):Si(e,t)}}.fetch,hr={tick:0,pool:new Map};Ls=0,Zi=1,Ki=2,Ac=3,_c=4,Sc=5,Fc=6,Lb=7,xb=8,em=typeof self=="object"?self:globalThis,e1=(e,t)=>{let r=(o,i)=>(e.set(i,o),o),n=o=>{if(e.has(o))return e.get(o);let[i,a]=t[o];switch(i){case Ls:return r(a,o);case Zi:{let c=r([],o);for(let f of a)c.push(n(f));return c}case Ki:{let c=r({},o);for(let[f,D]of a)c[n(f)]=n(D);return c}case Ac:return r(new Date(a),o);case _c:{let{source:c,flags:f}=a;return r(new RegExp(c,f),o)}case Sc:{let c=r(new Map,o);for(let[f,D]of a)c.set(n(f),n(D));return c}case Fc:{let c=r(new Set,o);for(let f of a)c.add(n(f));return c}case Lb:{let{name:c,message:f}=a;return r(new em[c](f),o)}case xb:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o)}return r(new em[i](a),o)};return n},t1=e=>e1(new Map,e)(0),Jr="",{toString:r1}={},{keys:n1}=Object,cu=e=>{let t=typeof e;if(t!=="object"||!e)return[Ls,t];let r=r1.call(e).slice(8,-1);switch(r){case"Array":return[Zi,Jr];case"Object":return[Ki,Jr];case"Date":return[Ac,Jr];case"RegExp":return[_c,Jr];case"Map":return[Sc,Jr];case"Set":return[Fc,Jr]}return r.includes("Array")?[Zi,r]:r.includes("Error")?[Lb,r]:[Ki,r]},Ii=([e,t])=>e===Ls&&(t==="function"||t==="symbol"),u1=(e,t,r,n)=>{let o=(a,c)=>{let f=n.push(a)-1;return r.set(c,f),f},i=a=>{if(r.has(a))return r.get(a);let[c,f]=cu(a);switch(c){case Ls:{let h=a;switch(f){case"bigint":c=xb,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);h=null;break}return o([c,h],a)}case Zi:{if(f)return o([f,[...a]],a);let h=[],m=o([c,h],a);for(let b of a)h.push(i(b));return m}case Ki:{if(f)switch(f){case"BigInt":return o([f,a.toString()],a);case"Boolean":case"Number":case"String":return o([f,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());let h=[],m=o([c,h],a);for(let b of n1(a))(e||!Ii(cu(a[b])))&&h.push([i(b),i(a[b])]);return m}case Ac:return o([c,a.toISOString()],a);case _c:{let{source:h,flags:m}=a;return o([c,{source:h,flags:m}],a)}case Sc:{let h=[],m=o([c,h],a);for(let[b,y]of a)(e||!(Ii(cu(b))||Ii(cu(y))))&&h.push([i(b),i(y)]);return m}case Fc:{let h=[],m=o([c,h],a);for(let b of a)(e||!Ii(cu(b)))&&h.push(i(b));return m}}let{message:D}=a;return o([c,{name:f,message:D}],a)};return i},o1=(e,{json:t,lossy:r}={})=>{let n=[];return u1(!(t||r),!!t,new Map,n)(e),n},i1=(e,t)=>t1(o1(e,t)),es={tick:0,pool:new Map};wu=class{parentNode(){return null}firstChild(){return null}lastChild(){return null}previousSibling(){return null}nextSibling(){return null}previousNode(){return null}nextNode(){return null}get currentNode(){return R(this,"TreeWalker","currentNode").currentNode}get root(){return R(this,"TreeWalker","root").root}get whatToShow(){return R(this,"TreeWalker","whatToShow").whatToShow}};V(wu);Dn=class{constructor(t,r,...n){if(arguments.length<2)throw new TypeError("Failed to construct 'ImageData': 2 arguments required.");let o=Es(Uint8ClampedArray.prototype,t),i=o?t:new Uint8ClampedArray(Li(t,"width")*Li(r,"height")*4),a=Li(o?r:t,"width"),c=i.length/a/4,f=String(Object(o?n[1]:n[0]).colorSpace||"srgb");if(n.length&&Li(n[0],"height")!==c)throw new J("height is not equal to (4 * width * height)","IndexSizeError");if(f!=="srgb"&&f!=="rec2020"&&f!=="display-p3")throw new TypeError("colorSpace is not known value");Object.defineProperty(this,"data",{configurable:!0,enumerable:!0,value:i}),he.set(this,{width:a,height:c,colorSpace:f})}get data(){return R(this,"ImageData","data"),Object.getOwnPropertyDescriptor(this,"data").value}get width(){return R(this,"ImageData","width").width}get height(){return R(this,"ImageData","height").height}};V(Dn);Li=(e,t)=>{if(e=Number(e)||0,e===0)throw new TypeError(`The source ${t} is zero or not a number.`);return e},Ru=class{get canvas(){return R(this,"CanvasRenderingContext2D","canvas").canvas}get direction(){return R(this,"CanvasRenderingContext2D","direction").direction}get fillStyle(){return R(this,"CanvasRenderingContext2D","fillStyle").fillStyle}get filter(){return R(this,"CanvasRenderingContext2D","filter").filter}get globalAlpha(){return R(this,"CanvasRenderingContext2D","globalAlpha").globalAlpha}get globalCompositeOperation(){return R(this,"CanvasRenderingContext2D","globalCompositeOperation").globalCompositeOperation}get font(){return R(this,"CanvasRenderingContext2D","font").font}get imageSmoothingEnabled(){return R(this,"CanvasRenderingContext2D","imageSmoothingEnabled").imageSmoothingEnabled}get imageSmoothingQuality(){return R(this,"CanvasRenderingContext2D","imageSmoothingQuality").imageSmoothingQuality}get lineCap(){return R(this,"CanvasRenderingContext2D","lineCap").lineCap}get lineDashOffset(){return R(this,"CanvasRenderingContext2D","lineDashOffset").lineDashOffset}get lineJoin(){return R(this,"CanvasRenderingContext2D","lineJoin").lineJoin}get lineWidth(){return R(this,"CanvasRenderingContext2D","lineWidth").lineWidth}get miterLimit(){return R(this,"CanvasRenderingContext2D","miterLimit").miterLimit}get strokeStyle(){return R(this,"CanvasRenderingContext2D","strokeStyle").strokeStyle}get shadowOffsetX(){return R(this,"CanvasRenderingContext2D","shadowOffsetX").shadowOffsetX}get shadowOffsetY(){return R(this,"CanvasRenderingContext2D","shadowOffsetY").shadowOffsetY}get shadowBlur(){return R(this,"CanvasRenderingContext2D","shadowBlur").shadowBlur}get shadowColor(){return R(this,"CanvasRenderingContext2D","shadowColor").shadowColor}get textAlign(){return R(this,"CanvasRenderingContext2D","textAlign").textAlign}get textBaseline(){return R(this,"CanvasRenderingContext2D","textBaseline").textBaseline}arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}createImageData(t,r){let n=Es(Dn.prototype,t),o=n?t.width:t,i=n?t.height:r,a=n?t.data:new Uint8ClampedArray(o*i*4);return new Dn(a,o,i)}createLinearGradient(){}createPattern(){}createRadialGradient(){}drawFocusIfNeeded(){}drawImage(){}ellipse(){}fill(){}fillRect(){}fillText(){}getContextAttributes(){}getImageData(){}getLineDash(){}getTransform(){}isPointInPath(){}isPointInStroke(){}lineTo(){}measureText(){}moveTo(){}putImageData(){}quadraticCurveTo(){}rect(){}resetTransform(){}restore(){}rotate(){}save(){}scale(){}setLineDash(){}setTransform(){}stroke(){}strokeRect(){}strokeText(){}transform(){}translate(){}};V(Ru);qb=e=>{let t=Object.create(Ru.prototype);return he.set(t,{canvas:e,direction:"inherit",fillStyle:"#000",filter:"none",font:"10px sans-serif",globalAlpha:0,globalCompositeOperation:"source-over",imageSmoothingEnabled:!1,imageSmoothingQuality:"high",lineCap:"butt",lineDashOffset:0,lineJoin:"miter",lineWidth:1,miterLimit:10,shadowBlur:0,shadowColor:"#000",shadowOffsetX:0,shadowOffsetY:0,strokeStyle:"#000",textAlign:"start",textBaseline:"alphabetic"}),t},ts=class{define(t,r,n){let o=R(this,"CustomElementRegistry","define");if(t=String(t),/[A-Z]/.test(t))throw new SyntaxError("Custom element name cannot contain an uppercase ASCII letter");if(!/^[a-z]/.test(t))throw new SyntaxError("Custom element name must have a lowercase ASCII letter as its first character");if(!/-/.test(t))throw new SyntaxError("Custom element name must contain a hyphen");he.set(r,{attributes:{},localName:t}),o.constructorByName.set(t,r),o.nameByConstructor.set(r,t)}get(t){let r=R(this,"CustomElementRegistry","get");return t=String(t).toLowerCase(),r.constructorByName.get(t)}getName(t){return R(this,"CustomElementRegistry","getName").nameByConstructor.get(t)}};V(ts);Nb=(e,t)=>{if(t.has("customElements"))return;let r=e.CustomElementRegistry||globalThis.CustomElementRegistry,n=e.customElements||(e.customElements=new r);he.set(n,{constructorByName:new Map,nameByConstructor:new Map})},vu=class extends Nt{constructor(){if(super(),he.has(new.target)){let t=R(new.target,"Element","localName");he.set(this,{attributes:{},localName:t.localName,ownerDocument:this.ownerDocument,shadowInit:null,shadowRoot:null})}}hasAttribute(t){return!1}getAttribute(t){return null}setAttribute(t,r){}removeAttribute(t){}attachShadow(t){if(arguments.length<1)throw new TypeError("Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.");if(t!==Object(t))throw new TypeError("Failed to execute 'attachShadow' on 'Element': The provided value is not of type 'ShadowRootInit'.");if(t.mode!=="open"&&t.mode!=="closed")throw new TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${t.mode}' is not a valid enum value of type ShadowRootMode.`);let r=R(this,"Element","attachShadow");if(r.shadowRoot)throw new Error("The operation is not supported.");return r.shadowInit=r.shadowInit||{mode:t.mode,delegatesFocus:!!t.delegatesFocus},r.shadowRoot=r.shadowRoot||(/^open$/.test(r.shadowInit.mode)?Object.setPrototypeOf(new Ie,Su.prototype):null),r.shadowRoot}get assignedSlot(){return null}get innerHTML(){return R(this,"Element","innerHTML"),""}set innerHTML(t){R(this,"Element","innerHTML")}get shadowRoot(){let t=R(this,"Element","shadowRoot");return Object(t.shadowInit).mode==="open"?t.shadowRoot:null}get localName(){return R(this,"Element","localName").localName}get nodeName(){return R(this,"Element","nodeName").localName.toUpperCase()}get tagName(){return R(this,"Element","tagName").localName.toUpperCase()}},we=class extends vu{},rs=class extends we{},ns=class extends we{},us=class extends we{},os=class extends we{},is=class extends we{},ss=class extends we{},as=class extends we{},Tu=class extends we{};V(vu);V(we);V(rs);V(ns);V(us);V(os);V(is);V(ss);V(as);V(Tu);Bu=class extends Nt{createElement(t){let r=R(this,"Document","createElement"),n=he.get(r.target.customElements);t=String(t).toLowerCase();let o=r.constructorByName.get(t)||n&&n.constructorByName.get(t)||Tu,i=Object.setPrototypeOf(new Ie,o.prototype);return he.set(i,{attributes:{},localName:t,ownerDocument:this,shadowInit:null,shadowRoot:null}),i}createNodeIterator(t,r=NodeFilter.SHOW_ALL,n){let o=Object.create(NodeIterator.prototype);return he.set(o,{filter:n,pointerBeforeReferenceNode:!1,referenceNode:t,root:t,whatToShow:r}),o}createTextNode(t){return new Fu(t)}createTreeWalker(t,r=NodeFilter.SHOW_ALL,n,o){let i=Object.create(wu.prototype);return he.set(i,{filter:n,currentNode:t,root:t,whatToShow:r}),i}get adoptedStyleSheets(){return[]}get styleSheets(){return[]}},ls=class extends Bu{};V(Bu);V(ls);kb=(e,t)=>{if(t.has("document"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.HTMLDocument||globalThis.HTMLDocument,o=e.document=Object.setPrototypeOf(new r,n.prototype);he.set(o,{target:e,constructorByName:new Map([["body",e.HTMLBodyElement],["canvas",e.HTMLCanvasElement],["div",e.HTMLDivElement],["head",e.HTMLHeadElement],["html",e.HTMLHtmlElement],["img",e.HTMLImageElement],["span",e.HTMLSpanElement],["style",e.HTMLStyleElement]]),nameByConstructor:new Map});let i=(a,c)=>{let f=Object.setPrototypeOf(new r,c.prototype);return he.set(f,{attributes:{},localName:a,ownerDocument:o,shadowRoot:null,shadowInit:null}),f};o.body=i("body",e.HTMLBodyElement),o.head=i("head",e.HTMLHeadElement),o.documentElement=i("html",e.HTMLHtmlElement)},cs=class extends we{get height(){return R(this,"HTMLCanvasElement","height").height}set height(t){R(this,"HTMLCanvasElement","height").height=Number(t)||0}get width(){return R(this,"HTMLCanvasElement","width").width}set width(t){R(this,"HTMLCanvasElement","width").width=Number(t)||0}captureStream(){return null}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=qb(this)),r.renderingContext2D;default:return null}}toBlob(){}toDataURL(){}transferControlToOffscreen(){}};V(cs);Pu=class extends we{get src(){return R(this,"HTMLImageElement","src").src}set src(t){let r=R(this,"HTMLImageElement","src");r.src=String(t)}};V(Pu);Wb.prototype=Pu.prototype;fs=class extends Ie{get matches(){return R(this,"MediaQueryList","matches").matches}get media(){return R(this,"MediaQueryList","media").media}};V(fs);$b=(e,t)=>{if(t.has("MediaQueryList")||t.has("matchMedia"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.MediaQueryList||globalThis.MediaQueryList;e.matchMedia=function(i){let a=Object.setPrototypeOf(new r,n.prototype);return he.set(a,{matches:!1,media:i}),a}},ds=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},hs=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},ps=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}};V(hs);V(ds);V(ps);Ds=class extends Ie{constructor(t,r){if(super(),arguments.length<2)throw new TypeError("Failed to construct 'OffscreenCanvas': 2 arguments required.");t=Number(t)||0,r=Number(r)||0,he.set(this,{width:t,height:r})}get height(){return R(this,"OffscreenCanvas","height").height}set height(t){R(this,"OffscreenCanvas","height").height=Number(t)||0}get width(){return R(this,"OffscreenCanvas","width").width}set width(t){R(this,"OffscreenCanvas","width").width=Number(t)||0}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=qb(this)),r.renderingContext2D;default:return null}}convertToBlob(t){t=Object(t),Number(t.quality);let r=l1(String(t.type).trim().toLowerCase());return Promise.resolve(new hn([],{type:r}))}};V(Ds);l1=e=>e==="image/avif"||e==="image/jpeg"||e==="image/png"||e==="image/webp"?e:"image/png",ms=class{clear(){R(this,"Storage","clear").storage.clear()}getItem(t){return tm(R(this,"Storage","getItem").storage.get(String(t)))}key(t){return tm([...R(this,"Storage","key").storage.keys()][Number(t)||0])}removeItem(t){R(this,"Storage","getItem").storage.delete(String(t))}setItem(t,r){R(this,"Storage","getItem").storage.set(String(t),String(r))}get length(){return R(this,"Storage","size").storage.size}},tm=e=>typeof e=="string"?e:null,jb=(e,t)=>{if(t.has("Storage")||t.has("localStorage"))return;e.localStorage=Object.create(ms.prototype);let r=new Map;he.set(e.localStorage,{storage:r})},Ou=class{},bs=class e extends Ou{async replace(t){return new e}replaceSync(t){return new e}get cssRules(){return[]}};V(Ou);V(bs);ys=class extends Ie{get self(){return this}get top(){return this}get window(){return this}get innerHeight(){return 0}get innerWidth(){return 0}get scrollX(){return 0}get scrollY(){return 0}};V(ys);Mb=(e,t)=>{t.has("Window")||t.has("window")||(e.window=e)};f1={hasOwn(e,t){return TF(e,t)}}.hasOwn,zb=(e,t)=>{if(t.has("Object")||t.has("object")||t.has("hasOwn"))return;let r=e.Object||globalThis.Object;Object.defineProperty(r,"hasOwn",{value:f1,writable:!0,enumerable:!1,configurable:!0})},d1={async any(e){return Promise.all([...e].map(t=>new Promise((r,n)=>Promise.resolve(t).then(n,r)))).then(t=>Promise.reject(t),t=>Promise.resolve(t))}}.any,Ub=(e,t)=>{if(t.has("Promise")||t.has("any"))return;let r=e.Promise||globalThis.Promise;r.any||Object.defineProperty(r,"any",{value:d1,writable:!0,enumerable:!1,configurable:!0})},h1={at(e){if(e=Math.trunc(e)||0,e<0&&(e+=this.length),!(e<0||e>=this.length))return this[e]}}.at,Hb=(e,t)=>{if(t.has("at"))return;let r=[];t.has("TypedArray")||r.push(Object.getPrototypeOf(e.Int8Array||globalThis.Int8Array)),t.has("Array")||r.push(e.Array||globalThis.Array),t.has("String")||r.push(e.String||globalThis.String);for(let n of r)n.prototype.at||Object.defineProperty(n.prototype,"at",{value:h1,writable:!0,enumerable:!1,configurable:!0})},p1={replaceAll(e,t){return Es(RegExp.prototype,e)?this.replace(e,t):this.replace(new RegExp(BF(e),"g"),t)}}.replaceAll,Gb=(e,t)=>{if(t.has("String")||t.has("replaceAll"))return;let r=e.String||globalThis.String;r.prototype.replaceAll||Object.defineProperty(r.prototype,"replaceAll",{value:p1,writable:!0,enumerable:!1,configurable:!0})},Vb=["CustomElementsRegistry","HTMLElement","HTMLBodyElement","HTMLCanvasElement","HTMLDivElement","HTMLHeadElement","HTMLHtmlElement","HTMLImageElement","HTMLStyleElement","HTMLTemplateElement","HTMLUnknownElement","Image"],Yb=["Element",...Vb],Xb=["CustomElementsRegistry","Document","HTMLDocument","document","customElements"],wc=["Node","DocumentFragment","ShadowRoot",...Xb,...Yb],D1=["AbortSignal","Event","CustomEvent","EventTarget","OffscreenCanvas","MediaQueryList","Window",...wc],m1=["AbortSignal","Event","CustomEvent","EventTarget","MediaQueryList","OffscreenCanvas","Window",...wc],rm={"Blob+":["Blob","File"],"Document+":Xb,"Element+":Yb,"Event+":m1,"EventTarget+":D1,"HTMLElement+":Vb,"Node+":wc,"StyleSheet+":["StyleSheet","CSSStyleSheet"]},nm={CSSStyleSheet:"StyleSheet",CustomEvent:"Event",DOMException:"Error",Document:"Node",DocumentFragment:"Node",Element:"Node",File:"Blob",HTMLDocument:"Document",HTMLElement:"Element",HTMLBodyElement:"HTMLElement",HTMLCanvasElement:"HTMLElement",HTMLDivElement:"HTMLElement",HTMLHeadElement:"HTMLElement",HTMLHtmlElement:"HTMLElement",HTMLImageElement:"HTMLElement",HTMLSpanElement:"HTMLElement",HTMLStyleElement:"HTMLElement",HTMLTemplateElement:"HTMLElement",HTMLUnknownElement:"HTMLElement",Image:"HTMLElement",MediaQueryList:"EventTarget",Node:"EventTarget",OffscreenCanvas:"EventTarget",ShadowRoot:"DocumentFragment",Window:"EventTarget"},b1=(e,t)=>{let r={AbortController:nn,AbortSignal:mr,Blob:hn,ByteLengthQueuingStrategy:gu,CanvasRenderingContext2D:Ru,CharacterData:pn,Comment:Qi,CountQueuingStrategy:Eu,CSSStyleSheet:bs,CustomElementRegistry:ts,CustomEvent:Ji,Document:Bu,DocumentFragment:_u,DOMException:J,Element:vu,Event:je,EventTarget:Ie,File:Os,FormData:gc,HTMLDocument:ls,HTMLElement:we,HTMLBodyElement:rs,HTMLCanvasElement:cs,HTMLDivElement:ns,HTMLHeadElement:us,HTMLHtmlElement:os,HTMLImageElement:Pu,HTMLSpanElement:is,HTMLStyleElement:ss,HTMLTemplateElement:as,HTMLUnknownElement:Tu,Headers:fe,IntersectionObserver:ds,Image:Wb,ImageData:Dn,MediaQueryList:fs,MutationObserver:hs,Node:Nt,NodeFilter:JR,NodeIterator:Xi,OffscreenCanvas:Ds,ReadableByteStreamController:br,ReadableStream:gt,ReadableStreamBYOBReader:ln,ReadableStreamBYOBRequest:an,ReadableStreamDefaultController:gr,ReadableStreamDefaultReader:sn,Request:Pe,ResizeObserver:ps,Response:ae,ShadowRoot:Su,Storage:ms,StyleSheet:Ou,Text:Fu,TransformStream:Cu,TreeWalker:wu,URLPattern:Is,WritableStream:cn,WritableStreamDefaultController:yr,WritableStreamDefaultWriter:fn,Window:ys,alert:c1,atob:XR,btoa:QR,cancelAnimationFrame:YR,cancelIdleCallback:KR,clearTimeout:a1,fetch:Cc,requestAnimationFrame:VR,requestIdleCallback:ZR,setTimeout:s1,structuredClone:i1},n=new Set(typeof Object(t).exclude=="string"?String(Object(t).exclude).trim().split(/\s+/):Array.isArray(Object(t).exclude)?Object(t).exclude.reduce((o,i)=>o.splice(o.length,0,...typeof i=="string"?i.trim().split(/\s+/):[])&&o,[]):[]);for(let o of n)if(o in rm)for(let i of rm[o])n.add(i);for(let o of Object.keys(r))n.has(o)||Object.hasOwnProperty.call(e,o)||Object.defineProperty(e,o,{configurable:!0,enumerable:!0,writable:!0,value:r[o]});for(let o of Object.keys(r)){if(n.has(o)||!Object.hasOwnProperty.call(nm,o))continue;let i=e[o],a=e[nm[o]];!i||!a||Object.getPrototypeOf(i.prototype)!==a.prototype&&Object.setPrototypeOf(i.prototype,a.prototype)}return!n.has("HTMLDocument")&&!n.has("HTMLElement")&&(kb(e,n),n.has("CustomElementRegistry")||Nb(e,n)),zb(e,n),$b(e,n),Ub(e,n),Hb(e,n),jb(e,n),Gb(e,n),Mb(e,n),e};b1.internals=(e,t)=>({CustomElementRegistry:Nb,Document:kb,MediaQueryList:$b,Object:zb,Promise:Ub,RelativeIndexingMethod:Hb,Storage:jb,String:Gb,Window:Mb}[t](e,new Set),e)});var vc=_(()=>{"use strict";d();var Zb=De(require("http")),Kb=De(require("https")),Rc=require("crypto"),ey=De(require("stream/web"));Qb();Object.assign(Zb.default.globalAgent,{keepAlive:!0});Object.assign(Kb.default.globalAgent,{keepAlive:!0});var Jb=parseInt(process.version.slice(1).split(".")[0]);Jb<18?Object.assign(globalThis,{fetch:Cc,Request:Pe,Response:ae,Headers:fe,Blob:hn,File:Os,FormData:gc,URLPattern:Is,crypto:Rc.webcrypto},ey.default):Jb<20&&Object.assign(globalThis,{URLPattern:Is,crypto:Rc.webcrypto})});var $t={};zf($t,{default:()=>y1});module.exports=Og($t);d();d();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="32d06969-5936-4e6a-ac46-b0813a26d0fe",e._sentryDebugIdIdentifier="sentry-dbid-32d06969-5936-4e6a-ac46-b0813a26d0fe")}catch{}})();var ty=De(vc());Vt($t,De(vc()),module.exports);var y1=ty.default;
|
|
21
|
+
`);console.warn(this.message,...t,n)}catch{}}},LF=new Je("W01","Unable to initialize event under dispatching."),xF=new Je("W02","Assigning any falsy value to 'cancelBubble' property has no effect."),qF=new Je("W03","Assigning any truthy value to 'returnValue' property has no effect."),NF=new Je("W04","Unable to preventDefault on non-cancelable events."),kF=new Je("W05","Unable to preventDefault inside passive event listener invocation."),WF=new Je("W06","An event listener wasn't added because it has been added already: %o, %o"),vl=new Je("W07","The %o option value was abandoned because the event listener wasn't added as duplicated."),SD=new Je("W08","The 'callback' argument must be a function or an object that has 'handleEvent' method: %o"),$F=new Je("W09","Event attribute handler must be a function: %o"),je=class{static get NONE(){return FD}static get CAPTURING_PHASE(){return wD}static get AT_TARGET(){return RD}static get BUBBLING_PHASE(){return vD}constructor(t,r){Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let n=r??{};kl.set(this,{type:String(t),bubbles:!!n.bubbles,cancelable:!!n.cancelable,composed:!!n.composed,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1,inPassiveListenerFlag:!1,dispatchFlag:!1,timeStamp:Date.now()})}get type(){return se(this).type}get target(){return se(this).target}get srcElement(){return se(this).target}get currentTarget(){return se(this).currentTarget}composedPath(){let t=se(this).currentTarget;return t?[t]:[]}get NONE(){return FD}get CAPTURING_PHASE(){return wD}get AT_TARGET(){return RD}get BUBBLING_PHASE(){return vD}get eventPhase(){return se(this).dispatchFlag?2:0}stopPropagation(){se(this).stopPropagationFlag=!0}get cancelBubble(){return se(this).stopPropagationFlag}set cancelBubble(t){t?se(this).stopPropagationFlag=!0:xF.warn()}stopImmediatePropagation(){let t=se(this);t.stopPropagationFlag=t.stopImmediatePropagationFlag=!0}get bubbles(){return se(this).bubbles}get cancelable(){return se(this).cancelable}get returnValue(){return!se(this).canceledFlag}set returnValue(t){t?qF.warn():TD(se(this))}preventDefault(){TD(se(this))}get defaultPrevented(){return se(this).canceledFlag}get composed(){return se(this).composed}get isTrusted(){return!1}get timeStamp(){return se(this).timeStamp}initEvent(t,r=!1,n=!1){let o=se(this);if(o.dispatchFlag){LF.warn();return}kl.set(this,{...o,type:String(t),bubbles:!!r,cancelable:!!n,target:null,currentTarget:null,stopPropagationFlag:!1,stopImmediatePropagationFlag:!1,canceledFlag:!1})}},FD=0,wD=1,RD=2,vD=3,kl=new WeakMap;Object.defineProperty(je,"NONE",{enumerable:!0});Object.defineProperty(je,"CAPTURING_PHASE",{enumerable:!0});Object.defineProperty(je,"AT_TARGET",{enumerable:!0});Object.defineProperty(je,"BUBBLING_PHASE",{enumerable:!0});Tl=Object.getOwnPropertyNames(je.prototype);for(let e=0;e<Tl.length;++e)Tl[e]!=="constructor"&&Object.defineProperty(je.prototype,Tl[e],{enumerable:!0});pu=class extends je{static wrap(t){return new(hm(t))(t)}constructor(t){super(t.type,{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed}),t.cancelBubble&&super.stopPropagation(),t.defaultPrevented&&super.preventDefault(),dm.set(this,{original:t});let r=Object.keys(t);for(let n=0;n<r.length;++n){let o=r[n];o in this||Object.defineProperty(this,o,pm(t,o))}}stopPropagation(){super.stopPropagation();let{original:t}=Ot(this);"stopPropagation"in t&&t.stopPropagation()}get cancelBubble(){return super.cancelBubble}set cancelBubble(t){super.cancelBubble=t;let{original:r}=Ot(this);"cancelBubble"in r&&(r.cancelBubble=t)}stopImmediatePropagation(){super.stopImmediatePropagation();let{original:t}=Ot(this);"stopImmediatePropagation"in t&&t.stopImmediatePropagation()}get returnValue(){return super.returnValue}set returnValue(t){super.returnValue=t;let{original:r}=Ot(this);"returnValue"in r&&(r.returnValue=t)}preventDefault(){super.preventDefault();let{original:t}=Ot(this);"preventDefault"in t&&t.preventDefault()}get timeStamp(){let{original:t}=Ot(this);return"timeStamp"in t?t.timeStamp:super.timeStamp}},dm=new WeakMap;Wl=new WeakMap;Wl.set(Object.prototype,pu);Ie=class{constructor(){Am.set(this,GF())}addEventListener(t,r,n){let o=en(this),{callback:i,capture:a,once:c,passive:f,signal:D,type:h}=VF(t,r,n);if(i==null||D!=null&&D.aborted)return;let m=Cm(o,h),b=ym(m,i,a);if(b!==-1){XF(m.listeners[b],f,c,D);return}gm(m,i,a,f,c,D)}removeEventListener(t,r,n){let o=en(this),{callback:i,capture:a,type:c}=YF(t,r,n),f=o[c];i!=null&&f&&Gl(f,i,a)}dispatchEvent(t){let r=en(this)[String(t.type)];if(r==null)return!0;let n=t instanceof je?t:pu.wrap(t),o=se(n,"event");if(o.dispatchFlag)throw new J("This event has been in dispatching.");if(o.dispatchFlag=!0,o.target=o.currentTarget=this,!o.stopPropagationFlag){let{cow:i,listeners:a}=r;r.cow=!0;for(let c=0;c<a.length;++c){let f=a[c];if(!UF(f)&&(bm(f)&&Em(r,c,!i)&&(c-=1),o.inPassiveListenerFlag=mm(f),HF(f,this,n),o.inPassiveListenerFlag=!1,o.stopImmediatePropagationFlag))break}i||(r.cow=!1)}return o.target=null,o.currentTarget=null,o.stopImmediatePropagationFlag=!1,o.stopPropagationFlag=!1,o.dispatchFlag=!1,!o.canceledFlag}},Am=new WeakMap;Bl=Object.getOwnPropertyNames(Ie.prototype);for(let e=0;e<Bl.length;++e)Bl[e]!=="constructor"&&Object.defineProperty(Ie.prototype,Bl[e],{enumerable:!0});mr=class extends Ie{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let t=Wi.get(this);if(typeof t!="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return t}};tw(mr.prototype,"abort");Wi=new WeakMap;Object.defineProperties(mr.prototype,{aborted:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(mr.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});nn=class{constructor(){Sm.set(this,rw())}get signal(){return BD(this)}abort(){nw(BD(this))}},Sm=new WeakMap;Object.defineProperties(nn.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol"&&Object.defineProperty(nn.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});Cs=Symbol;Fm=Vl,Yl=Promise,uw=Promise.prototype.then,ow=Promise.resolve.bind(Yl),iw=Promise.reject.bind(Yl);PD=16384,Le=class{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(t){let r=this._back,n=r;r._elements.length===PD-1&&(n={_elements:[],_next:void 0}),r._elements.push(t),n!==r&&(this._back=n,r._next=n),++this._size}shift(){let t=this._front,r=t,n=this._cursor,o=n+1,i=t._elements,a=i[n];return o===PD&&(r=t._next,o=0),--this._size,this._cursor=o,t!==r&&(this._front=r),i[n]=void 0,a}forEach(t){let r=this._cursor,n=this._front,o=n._elements;for(;(r!==o.length||n._next!==void 0)&&!(r===o.length&&(n=n._next,o=n._elements,r=0,o.length===0));)t(o[r]),++r}peek(){let t=this._front,r=this._cursor;return t._elements[r]}};Tm=Cs("[[AbortSteps]]"),Bm=Cs("[[ErrorSteps]]"),Kl=Cs("[[CancelSteps]]"),ec=Cs("[[PullSteps]]"),OD=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},lw=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};sn=class{constructor(t){if(yt(t,1,"ReadableStreamDefaultReader"),rc(t,"First parameter"),xt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");wm(this,t),this._readRequests=new Le}get closed(){return Lt(this)?this._closedPromise:N(Fi("closed"))}cancel(t=void 0){return Lt(this)?this._ownerReadableStream===void 0?N(un("cancel")):Ql(this,t):N(Fi("cancel"))}read(){if(!Lt(this))return N(Fi("read"));if(this._ownerReadableStream===void 0)return N(un("read from"));let t,r,n=be((i,a)=>{t=i,r=a});return Nu(this,{_chunkSteps:i=>t({value:i,done:!1}),_closeSteps:()=>t({value:void 0,done:!0}),_errorSteps:i=>r(i)}),n}releaseLock(){if(!Lt(this))throw Fi("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");bt(this)}}};Object.defineProperties(sn.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});$i=class{constructor(t,r){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=t,this._preventCancel=r}next(){let t=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?Dr(this._ongoingPromise,t,t):t(),this._ongoingPromise}return(t){let r=()=>this._returnSteps(t);return this._ongoingPromise?Dr(this._ongoingPromise,r,r):r()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let t=this._reader;if(t._ownerReadableStream===void 0)return N(un("iterate"));let r,n,o=be((a,c)=>{r=a,n=c});return Nu(t,{_chunkSteps:a=>{this._ongoingPromise=void 0,queueMicrotask(()=>r({value:a,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,bt(t),r({value:void 0,done:!0})},_errorSteps:a=>{this._ongoingPromise=void 0,this._isFinished=!0,bt(t),n(a)}}),o}_returnSteps(t){if(this._isFinished)return Promise.resolve({value:t,done:!0});this._isFinished=!0;let r=this._reader;if(r._ownerReadableStream===void 0)return N(un("finish iterating"));if(!this._preventCancel){let n=Ql(r,t);return bt(r),Dr(n,()=>({value:t,done:!0}))}return bt(r),Z({value:t,done:!0})}},hw={next(){return ID(this)?this._asyncIteratorImpl.next():N(LD("next"))},return(e){return ID(this)?this._asyncIteratorImpl.return(e):N(LD("return"))}};qm=Number.isNaN||function(e){return e!==e};an=class{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!Ol(this))throw Il("view");return this._view}respond(t){if(!Ol(this))throw Il("respond");if(yt(t,1,"respond"),t=Im(t,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");ji(this._view.buffer),Ni(this._associatedReadableByteStreamController,t)}respondWithNewView(t){if(!Ol(this))throw Il("respondWithNewView");if(yt(t,1,"respondWithNewView"),!ArrayBuffer.isView(t))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");ji(t.buffer),ki(this._associatedReadableByteStreamController,t)}};Object.defineProperties(an.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}});br=class{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!fr(this))throw au("byobRequest");return jl(this)}get desiredSize(){if(!fr(this))throw au("desiredSize");return Gm(this)}close(){if(!fr(this))throw au("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let t=this._controlledReadableByteStream._state;if(t!=="readable")throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`);fu(this)}enqueue(t){if(!fr(this))throw au("enqueue");if(yt(t,1,"enqueue"),!ArrayBuffer.isView(t))throw new TypeError("chunk must be an array buffer view");if(t.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(t.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let r=this._controlledReadableByteStream._state;if(r!=="readable")throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`);qi(this,t)}error(t=void 0){if(!fr(this))throw au("error");Xe(this,t)}[Kl](t){Wm(this),Wt(this);let r=this._cancelAlgorithm(t);return Fs(this),r}[ec](t){let r=this._controlledReadableByteStream;if(this._queueTotalSize>0){let o=this._queue.shift();this._queueTotalSize-=o.byteLength,zm(this);let i=new Uint8Array(o.buffer,o.byteOffset,o.byteLength);t._chunkSteps(i);return}let n=this._autoAllocateChunkSize;if(n!==void 0){let o;try{o=new ArrayBuffer(n)}catch(a){t._errorSteps(a);return}let i={buffer:o,bufferByteLength:n,byteOffset:0,byteLength:n,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(i)}Lm(r,t),Cr(this)}};Object.defineProperties(br.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}});ln=class{constructor(t){if(yt(t,1,"ReadableStreamBYOBReader"),rc(t,"First parameter"),xt(t))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!fr(t._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");wm(this,t),this._readIntoRequests=new Le}get closed(){return pr(this)?this._closedPromise:N(wi("closed"))}cancel(t=void 0){return pr(this)?this._ownerReadableStream===void 0?N(un("cancel")):Ql(this,t):N(wi("cancel"))}read(t){if(!pr(this))return N(wi("read"));if(!ArrayBuffer.isView(t))return N(new TypeError("view must be an array buffer view"));if(t.byteLength===0)return N(new TypeError("view must have non-zero byteLength"));if(t.buffer.byteLength===0)return N(new TypeError("view's buffer must have non-zero byteLength"));if(ji(t.buffer),this._ownerReadableStream===void 0)return N(un("read from"));let r,n,o=be((a,c)=>{r=a,n=c});return Qm(this,t,{_chunkSteps:a=>r({value:a,done:!1}),_closeSteps:a=>r({value:a,done:!0}),_errorSteps:a=>n(a)}),o}releaseLock(){if(!pr(this))throw wi("releaseLock");if(this._ownerReadableStream!==void 0){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");bt(this)}}};Object.defineProperties(ln.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}});cn=class{constructor(t={},r={}){t===void 0?t=null:Pm(t,"First parameter");let n=zi(r,"Second parameter"),o=Fw(t,"First parameter");if(Km(this),o.type!==void 0)throw new RangeError("Invalid type is specified");let a=Mi(n),c=mu(n,1);Uw(this,o,c,a)}get locked(){if(!Kr(this))throw vi("locked");return tn(this)}abort(t=void 0){return Kr(this)?tn(this)?N(new TypeError("Cannot abort a stream that already has a writer")):Ui(this,t):N(vi("abort"))}close(){return Kr(this)?tn(this)?N(new TypeError("Cannot close a stream that already has a writer")):ut(this)?N(new TypeError("Cannot close an already-closing stream")):eb(this):N(vi("close"))}getWriter(){if(!Kr(this))throw vi("getWriter");return Zm(this)}};Object.defineProperties(cn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}});fn=class{constructor(t){if(yt(t,1,"WritableStreamDefaultWriter"),Jm(t,"First parameter"),tn(t))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=t,t._writer=this;let r=t._state;if(r==="writable")!ut(t)&&t._backpressure?vs(this):ND(this),Hi(this);else if(r==="erroring")Ml(this,t._storedError),Hi(this);else if(r==="closed")ND(this),Qw(this);else{let n=t._storedError;Ml(this,n),lb(this,n)}}get closed(){return sr(this)?this._closedPromise:N(ar("closed"))}get desiredSize(){if(!sr(this))throw ar("desiredSize");if(this._ownerWritableStream===void 0)throw du("desiredSize");return zw(this)}get ready(){return sr(this)?this._readyPromise:N(ar("ready"))}abort(t=void 0){return sr(this)?this._ownerWritableStream===void 0?N(du("abort")):$w(this,t):N(ar("abort"))}close(){if(!sr(this))return N(ar("close"));let t=this._ownerWritableStream;return t===void 0?N(du("close")):ut(t)?N(new TypeError("Cannot close an already-closing stream")):tb(this)}releaseLock(){if(!sr(this))throw ar("releaseLock");this._ownerWritableStream!==void 0&&nb(this)}write(t=void 0){return sr(this)?this._ownerWritableStream===void 0?N(du("write to")):ub(this,t):N(ar("write"))}};Object.defineProperties(fn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}});ob={},yr=class{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!Ll(this))throw xl("abortReason");return this._abortReason}get signal(){if(!Ll(this))throw xl("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(t=void 0){if(!Ll(this))throw xl("error");this._controlledWritableStream._state==="writable"&&ab(this,t)}[Tm](t){let r=this._abortAlgorithm(t);return ws(this),r}[Bm](){Wt(this)}};Object.defineProperties(yr.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}});gr=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Ti(this))throw Bi("desiredSize");return bc(this)}close(){if(!Ti(this))throw Bi("close");if(!dn(this))throw new TypeError("The stream is not in a state that permits close");yu(this)}enqueue(t=void 0){if(!Ti(this))throw Bi("enqueue");if(!dn(this))throw new TypeError("The stream is not in a state that permits enqueue");return Vi(this,t)}error(t=void 0){if(!Ti(this))throw Bi("error");qt(this,t)}[Kl](t){Wt(this);let r=this._cancelAlgorithm(t);return Gi(this),r}[ec](t){let r=this._controlledReadableStream;if(this._queue.length>0){let n=uc(this);this._closeRequested&&this._queue.length===0?(Gi(this),ku(r)):bu(this),t._chunkSteps(n)}else Lm(r,t),bu(this)}};Object.defineProperties(gr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}});gt=class{constructor(t={},r={}){t===void 0?t=null:Pm(t,"First parameter");let n=zi(r,"Second parameter"),o=oR(t,"First parameter");if(yc(this),o.type==="bytes"){if(n.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");let i=mu(n,0);Cw(this,o,i)}else{let i=Mi(n),a=mu(n,1);tR(this,o,a,i)}}get locked(){if(!Bt(this))throw lr("locked");return xt(this)}cancel(t=void 0){return Bt(this)?xt(this)?N(new TypeError("Cannot cancel a stream that already has a reader")):Qe(this,t):N(lr("cancel"))}getReader(t=void 0){if(!Bt(this))throw lr("getReader");return cR(t,"First parameter").mode===void 0?on(this):Ym(this)}pipeThrough(t,r={}){if(!Bt(this))throw lr("pipeThrough");yt(t,1,"pipeThrough");let n=pR(t,"First parameter"),o=WD(r,"Second parameter");if(xt(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(tn(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");let i=kD(this,n.writable,o.preventClose,o.preventAbort,o.preventCancel,o.signal);return qu(i),n.readable}pipeTo(t,r={}){if(!Bt(this))return N(lr("pipeTo"));if(t===void 0)return N("Parameter 1 is required in 'pipeTo'.");if(!Kr(t))return N(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let n;try{n=WD(r,"Second parameter")}catch(o){return N(o)}return xt(this)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):tn(t)?N(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):kD(this,t,n.preventClose,n.preventAbort,n.preventCancel,n.signal)}tee(){if(!Bt(this))throw lr("tee");let t=rR(this);return Du(t)}values(t=void 0){if(!Bt(this))throw lr("values");let r=dR(t,"First parameter");return pw(this,r.preventCancel)}};Object.defineProperties(gt.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}});mb=e=>e.byteLength;try{Object.defineProperty(mb,"name",{value:"size",configurable:!0})}catch{}gu=class{constructor(t){yt(t,1,"ByteLengthQueuingStrategy"),t=Db(t,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!MD(this))throw jD("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!MD(this))throw jD("size");return mb}};Object.defineProperties(gu.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});bb=()=>1;try{Object.defineProperty(bb,"name",{value:"size",configurable:!0})}catch{}Eu=class{constructor(t){yt(t,1,"CountQueuingStrategy"),t=Db(t,"First parameter"),this._countQueuingStrategyHighWaterMark=t.highWaterMark}get highWaterMark(){if(!UD(this))throw zD("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!UD(this))throw zD("size");return bb}};Object.defineProperties(Eu.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}});Cu=class{constructor(t={},r={},n={}){t===void 0&&(t=null);let o=zi(r,"Second parameter"),i=zi(n,"Third parameter"),a=DR(t,"First parameter");if(a.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(a.writableType!==void 0)throw new RangeError("Invalid writableType specified");let c=mu(i,0),f=Mi(i),D=mu(o,1),h=Mi(o),m,b=be(y=>{m=y});gR(this,b,D,h,c,f),CR(this,a),a.start!==void 0?m(a.start(this._transformStreamController)):m(void 0)}get readable(){if(!HD(this))throw VD("readable");return this._readable}get writable(){if(!HD(this))throw VD("writable");return this._writable}};Object.defineProperties(Cu.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}});Au=class{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!Pi(this))throw Oi("desiredSize");let t=this._controlledTransformStream._readable._readableStreamController;return bc(t)}enqueue(t=void 0){if(!Pi(this))throw Oi("enqueue");gb(this,t)}error(t=void 0){if(!Pi(this))throw Oi("error");AR(this,t)}terminate(){if(!Pi(this))throw Oi("terminate");_R(this)}};Object.defineProperties(Au.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}});vR=65536;try{let{Blob:e}=require("buffer");e&&!e.prototype.stream&&(e.prototype.stream=function(r){let n=0,o=this;return new gt({type:"bytes",async pull(i){let c=await o.slice(n,Math.min(o.size,n+vR)).arrayBuffer();n+=c.byteLength,i.enqueue(new Uint8Array(c)),n===o.size&&i.close()}})})}catch{}YD=65536;Eb=(mn=class{constructor(t=[],r={}){ue(this,mt,[]);ue(this,Iu,"");ue(this,rn,0);ue(this,gs,"transparent");if(typeof t!="object"||t===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(typeof t[Symbol.iterator]!="function")throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof r!="object"&&typeof r!="function")throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");r===null&&(r={});let n=new TextEncoder;for(let i of t){let a;ArrayBuffer.isView(i)?a=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)):i instanceof ArrayBuffer?a=new Uint8Array(i.slice(0)):i instanceof mn?a=i:a=n.encode(`${i}`),re(this,rn,W(this,rn)+(ArrayBuffer.isView(a)?a.byteLength:a.size)),W(this,mt).push(a)}re(this,gs,`${r.endings===void 0?"transparent":r.endings}`);let o=r.type===void 0?"":String(r.type);re(this,Iu,/^[\x20-\x7E]*$/.test(o)?o:"")}get size(){return W(this,rn)}get type(){return W(this,Iu)}async text(){let t=new TextDecoder,r="";for await(let n of ql(W(this,mt),!1))r+=t.decode(n,{stream:!0});return r+=t.decode(),r}async arrayBuffer(){let t=new Uint8Array(this.size),r=0;for await(let n of ql(W(this,mt),!1))t.set(n,r),r+=n.length;return t.buffer}stream(){let t=ql(W(this,mt),!0);return new gt({type:"bytes",async pull(r){let n=await t.next();n.done?r.close():r.enqueue(n.value)},async cancel(){await t.return()}})}slice(t=0,r=this.size,n=""){let{size:o}=this,i=t<0?Math.max(o+t,0):Math.min(t,o),a=r<0?Math.max(o+r,0):Math.min(r,o),c=Math.max(a-i,0),f=W(this,mt),D=[],h=0;for(let b of f){if(h>=c)break;let y=ArrayBuffer.isView(b)?b.byteLength:b.size;if(i&&y<=i)i-=y,a-=y;else{let E;ArrayBuffer.isView(b)?(E=b.subarray(i,Math.min(y,a)),h+=E.byteLength):(E=b.slice(i,Math.min(y,a)),h+=E.size),a-=y,D.push(E),i=0}}let m=new mn([],{type:String(n).toLowerCase()});return re(m,rn,c),re(m,mt,D),m}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](t){return t&&typeof t=="object"&&typeof t.constructor=="function"&&(typeof t.stream=="function"||typeof t.arrayBuffer=="function")&&/^(Blob|File)$/.test(t[Symbol.toStringTag])}},mt=new WeakMap,Iu=new WeakMap,rn=new WeakMap,gs=new WeakMap,mn);Object.defineProperties(Eb.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});hn=Eb,TR=(um=class extends hn{constructor(r,n,o={}){if(arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(r,o);ue(this,Lu,0);ue(this,xu,"");o===null&&(o={});let i=o.lastModified===void 0?Date.now():Number(o.lastModified);Number.isNaN(i)||re(this,Lu,i),re(this,xu,String(n))}get name(){return W(this,xu)}get lastModified(){return W(this,Lu)}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](r){return!!r&&r instanceof hn&&/^(File)$/.test(r[Symbol.toStringTag])}},Lu=new WeakMap,xu=new WeakMap,um),Os=TR;({toStringTag:hu,iterator:BR,hasInstance:PR}=Symbol),OR="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),XD=(e,t,r)=>(e+="",/^(Blob|File)$/.test(t&&t[hu])?[(r=r!==void 0?r+"":t[hu]=="File"?t.name:"blob",e),t.name!==r||t[hu]=="blob"?new Os([t],r,t):t]:[e,t+""]),cr=(e,t,r)=>{if(t.length<r)throw new TypeError(`Failed to execute '${e}' on 'FormData': ${r} arguments required, but only ${t.length} present.`)},gc=(om=class{constructor(...t){ue(this,$e,[]);if(t.length)throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[hu](){return"FormData"}[BR](){return this.entries()}static[PR](t){return t&&typeof t=="object"&&t[hu]==="FormData"&&!OR.some(r=>typeof t[r]!="function")}append(...t){cr("append",arguments,2),W(this,$e).push(XD(...t))}delete(t){cr("delete",arguments,1),t+="",re(this,$e,W(this,$e).filter(([r])=>r!==t))}get(t){cr("get",arguments,1),t+="";for(var r=W(this,$e),n=r.length,o=0;o<n;o++)if(r[o][0]===t)return r[o][1];return null}getAll(t,r){return cr("getAll",arguments,1),r=[],t+="",W(this,$e).forEach(n=>n[0]===t&&r.push(n[1])),r}has(t){return cr("has",arguments,1),t+="",W(this,$e).some(r=>r[0]===t)}forEach(t,r){cr("forEach",arguments,1);for(var[n,o]of this)t.call(r,o,n,this)}set(...t){cr("set",arguments,2);var r=[],n=!0;t=XD(...t),W(this,$e).forEach(o=>{o[0]===t[0]?n&&(n=!r.push(t)):r.push(o)}),n&&r.push(t),re(this,$e,r)}*entries(){yield*W(this,$e)}*keys(){for(var[t]of this)yield t}*values(){for(var[,t]of this)yield t}},$e=new WeakMap,om);IR=/(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/,LR=/(?:[\$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05EF-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u07FD\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u08D3-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u09FE\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D81-\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1878\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1ABF\u1AC0\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CD0-\u1CD2\u1CD4-\u1CFA\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA827\uA82C\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD27\uDD30-\uDD39\uDE80-\uDEA9\uDEAB\uDEAC\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF50\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD44-\uDD47\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDC9-\uDDCC\uDDCE-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3B-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC5E-\uDC61\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDC00-\uDC3A\uDCA0-\uDCE9\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD35\uDD37\uDD38\uDD3B-\uDD43\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD7\uDDDA-\uDDE1\uDDE3\uDDE4\uDE00-\uDE3E\uDE47\uDE50-\uDE99\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD8E\uDD90\uDD91\uDD93-\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF6\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF4F-\uDF87\uDF8F-\uDF9F\uDFE0\uDFE1\uDFE3\uDFE4\uDFF0\uDFF1]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD00-\uDD2C\uDD30-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4B\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A]|\uDB40[\uDD00-\uDDEF])/;Pt={delimiter:"",prefixes:"",sensitive:!0,strict:!0},qR={delimiter:".",prefixes:"",sensitive:!0,strict:!0},NR={delimiter:"/",prefixes:"/",sensitive:!0,strict:!0};vb=["ftp","file","http","https","ws","wss"];(function(e){e[e.INIT=0]="INIT",e[e.PROTOCOL=1]="PROTOCOL",e[e.AUTHORITY=2]="AUTHORITY",e[e.USERNAME=3]="USERNAME",e[e.PASSWORD=4]="PASSWORD",e[e.HOSTNAME=5]="HOSTNAME",e[e.PORT=6]="PORT",e[e.PATHNAME=7]="PATHNAME",e[e.SEARCH=8]="SEARCH",e[e.HASH=9]="HASH",e[e.DONE=10]="DONE"})(q||(q={}));UR=function(){function e(r){this.input=void 0,this.tokenList=[],this.internalResult={},this.tokenIndex=0,this.tokenIncrement=1,this.componentStart=0,this.state=q.INIT,this.groupDepth=0,this.hostnameIPv6BracketDepth=0,this.shouldTreatAsStandardURL=!1,this.input=r}var t=e.prototype;return t.parse=function(){for(this.tokenList=Ab(this.input,!0);this.tokenIndex<this.tokenList.length;this.tokenIndex+=this.tokenIncrement){if(this.tokenIncrement=1,this.tokenList[this.tokenIndex].type==="END"){if(this.state===q.INIT){this.rewind(),this.isHashPrefix()?this.changeState(q.HASH,1):this.isSearchPrefix()?(this.changeState(q.SEARCH,1),this.internalResult.hash=""):(this.changeState(q.PATHNAME,0),this.internalResult.search="",this.internalResult.hash="");continue}if(this.state===q.AUTHORITY){this.rewindAndSetState(q.HOSTNAME);continue}this.changeState(q.DONE,0);break}if(this.groupDepth>0){if(!this.isGroupClose())continue;this.groupDepth-=1}if(this.isGroupOpen())this.groupDepth+=1;else switch(this.state){case q.INIT:this.isProtocolSuffix()&&(this.internalResult.username="",this.internalResult.password="",this.internalResult.hostname="",this.internalResult.port="",this.internalResult.pathname="",this.internalResult.search="",this.internalResult.hash="",this.rewindAndSetState(q.PROTOCOL));break;case q.PROTOCOL:if(this.isProtocolSuffix()){this.computeShouldTreatAsStandardURL();var r=q.PATHNAME,n=1;this.shouldTreatAsStandardURL&&(this.internalResult.pathname="/"),this.nextIsAuthoritySlashes()?(r=q.AUTHORITY,n=3):this.shouldTreatAsStandardURL&&(r=q.AUTHORITY),this.changeState(r,n)}break;case q.AUTHORITY:this.isIdentityTerminator()?this.rewindAndSetState(q.USERNAME):(this.isPathnameStart()||this.isSearchPrefix()||this.isHashPrefix())&&this.rewindAndSetState(q.HOSTNAME);break;case q.USERNAME:this.isPasswordPrefix()?this.changeState(q.PASSWORD,1):this.isIdentityTerminator()&&this.changeState(q.HOSTNAME,1);break;case q.PASSWORD:this.isIdentityTerminator()&&this.changeState(q.HOSTNAME,1);break;case q.HOSTNAME:this.isIPv6Open()?this.hostnameIPv6BracketDepth+=1:this.isIPv6Close()&&(this.hostnameIPv6BracketDepth-=1),this.isPortPrefix()&&!this.hostnameIPv6BracketDepth?this.changeState(q.PORT,1):this.isPathnameStart()?this.changeState(q.PATHNAME,0):this.isSearchPrefix()?this.changeState(q.SEARCH,1):this.isHashPrefix()&&this.changeState(q.HASH,1);break;case q.PORT:this.isPathnameStart()?this.changeState(q.PATHNAME,0):this.isSearchPrefix()?this.changeState(q.SEARCH,1):this.isHashPrefix()&&this.changeState(q.HASH,1);break;case q.PATHNAME:this.isSearchPrefix()?this.changeState(q.SEARCH,1):this.isHashPrefix()&&this.changeState(q.HASH,1);break;case q.SEARCH:this.isHashPrefix()&&this.changeState(q.HASH,1)}}},t.changeState=function(r,n){switch(this.state){case q.INIT:break;case q.PROTOCOL:this.internalResult.protocol=this.makeComponentString();break;case q.AUTHORITY:break;case q.USERNAME:this.internalResult.username=this.makeComponentString();break;case q.PASSWORD:this.internalResult.password=this.makeComponentString();break;case q.HOSTNAME:this.internalResult.hostname=this.makeComponentString();break;case q.PORT:this.internalResult.port=this.makeComponentString();break;case q.PATHNAME:this.internalResult.pathname=this.makeComponentString();break;case q.SEARCH:this.internalResult.search=this.makeComponentString();break;case q.HASH:this.internalResult.hash=this.makeComponentString()}this.changeStateWithoutSettingComponent(r,n)},t.changeStateWithoutSettingComponent=function(r,n){this.state=r,this.componentStart=this.tokenIndex+n,this.tokenIndex+=n,this.tokenIncrement=0},t.rewind=function(){this.tokenIndex=this.componentStart,this.tokenIncrement=0},t.rewindAndSetState=function(r){this.rewind(),this.state=r},t.safeToken=function(r){return r<0&&(r=this.tokenList.length-r),r<this.tokenList.length?this.tokenList[r]:this.tokenList[this.tokenList.length-1]},t.isNonSpecialPatternChar=function(r,n){var o=this.safeToken(r);return o.value===n&&(o.type==="CHAR"||o.type==="ESCAPED_CHAR"||o.type==="INVALID_CHAR")},t.isProtocolSuffix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.nextIsAuthoritySlashes=function(){return this.isNonSpecialPatternChar(this.tokenIndex+1,"/")&&this.isNonSpecialPatternChar(this.tokenIndex+2,"/")},t.isIdentityTerminator=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"@")},t.isPasswordPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPortPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,":")},t.isPathnameStart=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"/")},t.isSearchPrefix=function(){if(this.isNonSpecialPatternChar(this.tokenIndex,"?"))return!0;if(this.tokenList[this.tokenIndex].value!=="?")return!1;var r=this.safeToken(this.tokenIndex-1);return r.type!=="NAME"&&r.type!=="PATTERN"&&r.type!=="CLOSE"&&r.type!=="ASTERISK"},t.isHashPrefix=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"#")},t.isGroupOpen=function(){return this.tokenList[this.tokenIndex].type=="OPEN"},t.isGroupClose=function(){return this.tokenList[this.tokenIndex].type=="CLOSE"},t.isIPv6Open=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"[")},t.isIPv6Close=function(){return this.isNonSpecialPatternChar(this.tokenIndex,"]")},t.makeComponentString=function(){var r=this.tokenList[this.tokenIndex],n=this.safeToken(this.componentStart).index;return this.input.substring(n,r.index)},t.computeShouldTreatAsStandardURL=function(){var r={};Object.assign(r,Pt),r.encodePart=Ec;var n=wb(this.makeComponentString(),void 0,r);this.shouldTreatAsStandardURL=Tb(n)},Cb(e,[{key:"result",get:function(){return this.internalResult}}]),e}(),HR=["protocol","username","password","hostname","port","pathname","search","hash"];Is=function(){function e(r,n){r===void 0&&(r={}),this.pattern=void 0,this.regexp={},this.keys={},this.component_pattern={};try{if(typeof r=="string"){var o=new UR(r);if(o.parse(),r=o.result,n){if(typeof n!="string")throw new TypeError("'baseURL' parameter is not of type 'string'.");r.baseURL=n}else if(typeof r.protocol!="string")throw new TypeError("A base URL must be provided for a relative constructor string.")}else if(n)throw new TypeError("parameter 1 is not of type 'string'.");if(!r||typeof r!="object")throw new TypeError("parameter 1 is not of type 'string' and cannot convert to dictionary.");var i;this.pattern=Nl({pathname:"*",protocol:"*",username:"*",password:"*",hostname:"*",port:"*",search:"*",hash:"*"},r,!0),Bb(this.pattern.protocol)===this.pattern.port&&(this.pattern.port="");for(var a,c=Yi(HR);!(a=c()).done;)if((i=a.value)in this.pattern){var f={},D=this.pattern[i];switch(this.keys[i]=[],i){case"protocol":Object.assign(f,Pt),f.encodePart=Ec;break;case"username":Object.assign(f,Pt),f.encodePart=kR;break;case"password":Object.assign(f,Pt),f.encodePart=WR;break;case"hostname":Object.assign(f,qR),f.encodePart=Rb(D)?Ob:Pb;break;case"port":Object.assign(f,Pt),f.encodePart=Ib;break;case"pathname":Tb(this.regexp.protocol)?(Object.assign(f,NR),f.encodePart=$R):(Object.assign(f,Pt),f.encodePart=jR);break;case"search":Object.assign(f,Pt),f.encodePart=MR;break;case"hash":Object.assign(f,Pt),f.encodePart=zR}try{var h=_b(D,f);this.regexp[i]=Fb(h,this.keys[i],f),this.component_pattern[i]=GR(h,f)}catch{throw new TypeError("invalid "+i+" pattern '"+this.pattern[i]+"'.")}}}catch(m){throw new TypeError("Failed to construct 'URLPattern': "+m.message)}}var t=e.prototype;return t.test=function(r,n){r===void 0&&(r={});var o,i={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r===void 0)return!1;try{i=Nl(i,typeof r=="object"?r:KD(r,n),!1)}catch{return!1}for(o in this.pattern)if(!this.regexp[o].exec(i[o]))return!1;return!0},t.exec=function(r,n){r===void 0&&(r={});var o={pathname:"",protocol:"",username:"",password:"",hostname:"",port:"",search:"",hash:""};if(typeof r!="string"&&n)throw new TypeError("parameter 1 is not of type 'string'.");if(r!==void 0){try{o=Nl(o,typeof r=="object"?r:KD(r,n),!1)}catch{return null}var i,a={};for(i in a.inputs=n?[r,n]:[r],this.pattern){var c=this.regexp[i].exec(o[i]);if(!c)return null;for(var f,D={},h=Yi(this.keys[i].entries());!(f=h()).done;){var m=f.value,b=m[1];typeof b.name!="string"&&typeof b.name!="number"||(D[b.name]=c[m[0]+1]||"")}a[i]={input:o[i]||"",groups:D}}return a}},Cb(e,[{key:"protocol",get:function(){return this.component_pattern.protocol}},{key:"username",get:function(){return this.component_pattern.username}},{key:"password",get:function(){return this.component_pattern.password}},{key:"hostname",get:function(){return this.component_pattern.hostname}},{key:"port",get:function(){return this.component_pattern.port}},{key:"pathname",get:function(){return this.component_pattern.pathname}},{key:"search",get:function(){return this.component_pattern.search}},{key:"hash",get:function(){return this.component_pattern.hash}}]),e}(),dr={tick:0,pool:new Map};Nt=class extends Ie{append(...t){}appendChild(t){return t}after(...t){}before(...t){}prepend(...t){}replaceChild(t,r){return r}removeChild(t){return t}get attributes(){return{}}get childNodes(){return[]}get children(){return[]}get ownerDocument(){return null}get nodeValue(){return""}set nodeValue(t){}get textContent(){return""}set textContent(t){}get previousElementSibling(){return null}get nextElementSibling(){return null}[Symbol.for("nodejs.util.inspect.custom")](t,r){return`${this.constructor.name}`}},_u=class extends Nt{},Su=class extends _u{get innerHTML(){return""}set innerHTML(t){}},JR=Object.assign({NodeFilter(){throw new TypeError("Illegal constructor")}}.NodeFilter,{FILTER_ACCEPT:1,FILTER_REJECT:2,FILTER_SKIP:3,SHOW_ALL:4294967295,SHOW_ELEMENT:1,SHOW_ATTRIBUTE:2,SHOW_TEXT:4,SHOW_CDATA_SECTION:8,SHOW_ENTITY_REFERENCE:16,SHOW_ENTITY:32,SHOW_PROCESSING_INSTRUCTION:64,SHOW_COMMENT:128,SHOW_DOCUMENT:256,SHOW_DOCUMENT_TYPE:512,SHOW_DOCUMENT_FRAGMENT:1024,SHOW_NOTATION:2048}),Xi=class{nextNode(){return null}previousNode(){return null}get filter(){return R(this,"NodeIterator","filter").filter}get pointerBeforeReferenceNode(){return R(this,"NodeIterator","pointerBeforeReferenceNode").pointerBeforeReferenceNode}get referenceNode(){return R(this,"NodeIterator","referenceNode").referenceNode}get root(){return R(this,"NodeIterator","root").root}get whatToShow(){return R(this,"NodeIterator","whatToShow").whatToShow}};V(Nt);V(Xi);V(_u);V(Su);pn=class extends Nt{constructor(t){he.set(super(),{data:String(t)})}get data(){return R(this,"CharacterData","data").data}get textContent(){return R(this,"CharacterData","textContent").data}},Qi=class extends pn{},Fu=class extends pn{get assignedSlot(){return null}get wholeText(){return R(this,"CharacterData","textContent").data}};V(pn);V(Fu);V(Qi);Ji=class extends je{constructor(t,r){r=Object(r),super(t,r),"detail"in r&&(this.detail=r.detail)}};V(Ji);(0,sm.bootstrap)({environmentVariableNamespace:""});Cc={fetch(e,t){let r=new URL(Es(Pe.prototype,e)?e.url:_D(e),typeof Object(globalThis.process).cwd=="function"?"file:"+_D(process.cwd())+"/":"file:");return r.protocol.toLowerCase()==="file:"?import("fs").then(n=>{try{let o=n.statSync(r),i=n.createReadStream(r);return new ae(i,{status:200,statusText:"",headers:{"content-length":String(o.size),date:new Date().toUTCString(),"last-modified":new Date(o.mtimeMs).toUTCString()}})}catch{let i=new am.default.Readable;return i._read=()=>{},i.push(null),new ae(i,{status:404,statusText:"",headers:{date:new Date().toUTCString()}})}}):Si(e,t)}}.fetch,hr={tick:0,pool:new Map};Ls=0,Zi=1,Ki=2,Ac=3,_c=4,Sc=5,Fc=6,Lb=7,xb=8,em=typeof self=="object"?self:globalThis,e1=(e,t)=>{let r=(o,i)=>(e.set(i,o),o),n=o=>{if(e.has(o))return e.get(o);let[i,a]=t[o];switch(i){case Ls:return r(a,o);case Zi:{let c=r([],o);for(let f of a)c.push(n(f));return c}case Ki:{let c=r({},o);for(let[f,D]of a)c[n(f)]=n(D);return c}case Ac:return r(new Date(a),o);case _c:{let{source:c,flags:f}=a;return r(new RegExp(c,f),o)}case Sc:{let c=r(new Map,o);for(let[f,D]of a)c.set(n(f),n(D));return c}case Fc:{let c=r(new Set,o);for(let f of a)c.add(n(f));return c}case Lb:{let{name:c,message:f}=a;return r(new em[c](f),o)}case xb:return r(BigInt(a),o);case"BigInt":return r(Object(BigInt(a)),o)}return r(new em[i](a),o)};return n},t1=e=>e1(new Map,e)(0),Jr="",{toString:r1}={},{keys:n1}=Object,cu=e=>{let t=typeof e;if(t!=="object"||!e)return[Ls,t];let r=r1.call(e).slice(8,-1);switch(r){case"Array":return[Zi,Jr];case"Object":return[Ki,Jr];case"Date":return[Ac,Jr];case"RegExp":return[_c,Jr];case"Map":return[Sc,Jr];case"Set":return[Fc,Jr]}return r.includes("Array")?[Zi,r]:r.includes("Error")?[Lb,r]:[Ki,r]},Ii=([e,t])=>e===Ls&&(t==="function"||t==="symbol"),u1=(e,t,r,n)=>{let o=(a,c)=>{let f=n.push(a)-1;return r.set(c,f),f},i=a=>{if(r.has(a))return r.get(a);let[c,f]=cu(a);switch(c){case Ls:{let h=a;switch(f){case"bigint":c=xb,h=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);h=null;break}return o([c,h],a)}case Zi:{if(f)return o([f,[...a]],a);let h=[],m=o([c,h],a);for(let b of a)h.push(i(b));return m}case Ki:{if(f)switch(f){case"BigInt":return o([f,a.toString()],a);case"Boolean":case"Number":case"String":return o([f,a.valueOf()],a)}if(t&&"toJSON"in a)return i(a.toJSON());let h=[],m=o([c,h],a);for(let b of n1(a))(e||!Ii(cu(a[b])))&&h.push([i(b),i(a[b])]);return m}case Ac:return o([c,a.toISOString()],a);case _c:{let{source:h,flags:m}=a;return o([c,{source:h,flags:m}],a)}case Sc:{let h=[],m=o([c,h],a);for(let[b,y]of a)(e||!(Ii(cu(b))||Ii(cu(y))))&&h.push([i(b),i(y)]);return m}case Fc:{let h=[],m=o([c,h],a);for(let b of a)(e||!Ii(cu(b)))&&h.push(i(b));return m}}let{message:D}=a;return o([c,{name:f,message:D}],a)};return i},o1=(e,{json:t,lossy:r}={})=>{let n=[];return u1(!(t||r),!!t,new Map,n)(e),n},i1=(e,t)=>t1(o1(e,t)),es={tick:0,pool:new Map};wu=class{parentNode(){return null}firstChild(){return null}lastChild(){return null}previousSibling(){return null}nextSibling(){return null}previousNode(){return null}nextNode(){return null}get currentNode(){return R(this,"TreeWalker","currentNode").currentNode}get root(){return R(this,"TreeWalker","root").root}get whatToShow(){return R(this,"TreeWalker","whatToShow").whatToShow}};V(wu);Dn=class{constructor(t,r,...n){if(arguments.length<2)throw new TypeError("Failed to construct 'ImageData': 2 arguments required.");let o=Es(Uint8ClampedArray.prototype,t),i=o?t:new Uint8ClampedArray(Li(t,"width")*Li(r,"height")*4),a=Li(o?r:t,"width"),c=i.length/a/4,f=String(Object(o?n[1]:n[0]).colorSpace||"srgb");if(n.length&&Li(n[0],"height")!==c)throw new J("height is not equal to (4 * width * height)","IndexSizeError");if(f!=="srgb"&&f!=="rec2020"&&f!=="display-p3")throw new TypeError("colorSpace is not known value");Object.defineProperty(this,"data",{configurable:!0,enumerable:!0,value:i}),he.set(this,{width:a,height:c,colorSpace:f})}get data(){return R(this,"ImageData","data"),Object.getOwnPropertyDescriptor(this,"data").value}get width(){return R(this,"ImageData","width").width}get height(){return R(this,"ImageData","height").height}};V(Dn);Li=(e,t)=>{if(e=Number(e)||0,e===0)throw new TypeError(`The source ${t} is zero or not a number.`);return e},Ru=class{get canvas(){return R(this,"CanvasRenderingContext2D","canvas").canvas}get direction(){return R(this,"CanvasRenderingContext2D","direction").direction}get fillStyle(){return R(this,"CanvasRenderingContext2D","fillStyle").fillStyle}get filter(){return R(this,"CanvasRenderingContext2D","filter").filter}get globalAlpha(){return R(this,"CanvasRenderingContext2D","globalAlpha").globalAlpha}get globalCompositeOperation(){return R(this,"CanvasRenderingContext2D","globalCompositeOperation").globalCompositeOperation}get font(){return R(this,"CanvasRenderingContext2D","font").font}get imageSmoothingEnabled(){return R(this,"CanvasRenderingContext2D","imageSmoothingEnabled").imageSmoothingEnabled}get imageSmoothingQuality(){return R(this,"CanvasRenderingContext2D","imageSmoothingQuality").imageSmoothingQuality}get lineCap(){return R(this,"CanvasRenderingContext2D","lineCap").lineCap}get lineDashOffset(){return R(this,"CanvasRenderingContext2D","lineDashOffset").lineDashOffset}get lineJoin(){return R(this,"CanvasRenderingContext2D","lineJoin").lineJoin}get lineWidth(){return R(this,"CanvasRenderingContext2D","lineWidth").lineWidth}get miterLimit(){return R(this,"CanvasRenderingContext2D","miterLimit").miterLimit}get strokeStyle(){return R(this,"CanvasRenderingContext2D","strokeStyle").strokeStyle}get shadowOffsetX(){return R(this,"CanvasRenderingContext2D","shadowOffsetX").shadowOffsetX}get shadowOffsetY(){return R(this,"CanvasRenderingContext2D","shadowOffsetY").shadowOffsetY}get shadowBlur(){return R(this,"CanvasRenderingContext2D","shadowBlur").shadowBlur}get shadowColor(){return R(this,"CanvasRenderingContext2D","shadowColor").shadowColor}get textAlign(){return R(this,"CanvasRenderingContext2D","textAlign").textAlign}get textBaseline(){return R(this,"CanvasRenderingContext2D","textBaseline").textBaseline}arc(){}arcTo(){}beginPath(){}bezierCurveTo(){}clearRect(){}clip(){}closePath(){}createImageData(t,r){let n=Es(Dn.prototype,t),o=n?t.width:t,i=n?t.height:r,a=n?t.data:new Uint8ClampedArray(o*i*4);return new Dn(a,o,i)}createLinearGradient(){}createPattern(){}createRadialGradient(){}drawFocusIfNeeded(){}drawImage(){}ellipse(){}fill(){}fillRect(){}fillText(){}getContextAttributes(){}getImageData(){}getLineDash(){}getTransform(){}isPointInPath(){}isPointInStroke(){}lineTo(){}measureText(){}moveTo(){}putImageData(){}quadraticCurveTo(){}rect(){}resetTransform(){}restore(){}rotate(){}save(){}scale(){}setLineDash(){}setTransform(){}stroke(){}strokeRect(){}strokeText(){}transform(){}translate(){}};V(Ru);qb=e=>{let t=Object.create(Ru.prototype);return he.set(t,{canvas:e,direction:"inherit",fillStyle:"#000",filter:"none",font:"10px sans-serif",globalAlpha:0,globalCompositeOperation:"source-over",imageSmoothingEnabled:!1,imageSmoothingQuality:"high",lineCap:"butt",lineDashOffset:0,lineJoin:"miter",lineWidth:1,miterLimit:10,shadowBlur:0,shadowColor:"#000",shadowOffsetX:0,shadowOffsetY:0,strokeStyle:"#000",textAlign:"start",textBaseline:"alphabetic"}),t},ts=class{define(t,r,n){let o=R(this,"CustomElementRegistry","define");if(t=String(t),/[A-Z]/.test(t))throw new SyntaxError("Custom element name cannot contain an uppercase ASCII letter");if(!/^[a-z]/.test(t))throw new SyntaxError("Custom element name must have a lowercase ASCII letter as its first character");if(!/-/.test(t))throw new SyntaxError("Custom element name must contain a hyphen");he.set(r,{attributes:{},localName:t}),o.constructorByName.set(t,r),o.nameByConstructor.set(r,t)}get(t){let r=R(this,"CustomElementRegistry","get");return t=String(t).toLowerCase(),r.constructorByName.get(t)}getName(t){return R(this,"CustomElementRegistry","getName").nameByConstructor.get(t)}};V(ts);Nb=(e,t)=>{if(t.has("customElements"))return;let r=e.CustomElementRegistry||globalThis.CustomElementRegistry,n=e.customElements||(e.customElements=new r);he.set(n,{constructorByName:new Map,nameByConstructor:new Map})},vu=class extends Nt{constructor(){if(super(),he.has(new.target)){let t=R(new.target,"Element","localName");he.set(this,{attributes:{},localName:t.localName,ownerDocument:this.ownerDocument,shadowInit:null,shadowRoot:null})}}hasAttribute(t){return!1}getAttribute(t){return null}setAttribute(t,r){}removeAttribute(t){}attachShadow(t){if(arguments.length<1)throw new TypeError("Failed to execute 'attachShadow' on 'Element': 1 argument required, but only 0 present.");if(t!==Object(t))throw new TypeError("Failed to execute 'attachShadow' on 'Element': The provided value is not of type 'ShadowRootInit'.");if(t.mode!=="open"&&t.mode!=="closed")throw new TypeError(`Failed to execute 'attachShadow' on 'Element': Failed to read the 'mode' property from 'ShadowRootInit': The provided value '${t.mode}' is not a valid enum value of type ShadowRootMode.`);let r=R(this,"Element","attachShadow");if(r.shadowRoot)throw new Error("The operation is not supported.");return r.shadowInit=r.shadowInit||{mode:t.mode,delegatesFocus:!!t.delegatesFocus},r.shadowRoot=r.shadowRoot||(/^open$/.test(r.shadowInit.mode)?Object.setPrototypeOf(new Ie,Su.prototype):null),r.shadowRoot}get assignedSlot(){return null}get innerHTML(){return R(this,"Element","innerHTML"),""}set innerHTML(t){R(this,"Element","innerHTML")}get shadowRoot(){let t=R(this,"Element","shadowRoot");return Object(t.shadowInit).mode==="open"?t.shadowRoot:null}get localName(){return R(this,"Element","localName").localName}get nodeName(){return R(this,"Element","nodeName").localName.toUpperCase()}get tagName(){return R(this,"Element","tagName").localName.toUpperCase()}},we=class extends vu{},rs=class extends we{},ns=class extends we{},us=class extends we{},os=class extends we{},is=class extends we{},ss=class extends we{},as=class extends we{},Tu=class extends we{};V(vu);V(we);V(rs);V(ns);V(us);V(os);V(is);V(ss);V(as);V(Tu);Bu=class extends Nt{createElement(t){let r=R(this,"Document","createElement"),n=he.get(r.target.customElements);t=String(t).toLowerCase();let o=r.constructorByName.get(t)||n&&n.constructorByName.get(t)||Tu,i=Object.setPrototypeOf(new Ie,o.prototype);return he.set(i,{attributes:{},localName:t,ownerDocument:this,shadowInit:null,shadowRoot:null}),i}createNodeIterator(t,r=NodeFilter.SHOW_ALL,n){let o=Object.create(NodeIterator.prototype);return he.set(o,{filter:n,pointerBeforeReferenceNode:!1,referenceNode:t,root:t,whatToShow:r}),o}createTextNode(t){return new Fu(t)}createTreeWalker(t,r=NodeFilter.SHOW_ALL,n,o){let i=Object.create(wu.prototype);return he.set(i,{filter:n,currentNode:t,root:t,whatToShow:r}),i}get adoptedStyleSheets(){return[]}get styleSheets(){return[]}},ls=class extends Bu{};V(Bu);V(ls);kb=(e,t)=>{if(t.has("document"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.HTMLDocument||globalThis.HTMLDocument,o=e.document=Object.setPrototypeOf(new r,n.prototype);he.set(o,{target:e,constructorByName:new Map([["body",e.HTMLBodyElement],["canvas",e.HTMLCanvasElement],["div",e.HTMLDivElement],["head",e.HTMLHeadElement],["html",e.HTMLHtmlElement],["img",e.HTMLImageElement],["span",e.HTMLSpanElement],["style",e.HTMLStyleElement]]),nameByConstructor:new Map});let i=(a,c)=>{let f=Object.setPrototypeOf(new r,c.prototype);return he.set(f,{attributes:{},localName:a,ownerDocument:o,shadowRoot:null,shadowInit:null}),f};o.body=i("body",e.HTMLBodyElement),o.head=i("head",e.HTMLHeadElement),o.documentElement=i("html",e.HTMLHtmlElement)},cs=class extends we{get height(){return R(this,"HTMLCanvasElement","height").height}set height(t){R(this,"HTMLCanvasElement","height").height=Number(t)||0}get width(){return R(this,"HTMLCanvasElement","width").width}set width(t){R(this,"HTMLCanvasElement","width").width=Number(t)||0}captureStream(){return null}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=qb(this)),r.renderingContext2D;default:return null}}toBlob(){}toDataURL(){}transferControlToOffscreen(){}};V(cs);Pu=class extends we{get src(){return R(this,"HTMLImageElement","src").src}set src(t){let r=R(this,"HTMLImageElement","src");r.src=String(t)}};V(Pu);Wb.prototype=Pu.prototype;fs=class extends Ie{get matches(){return R(this,"MediaQueryList","matches").matches}get media(){return R(this,"MediaQueryList","media").media}};V(fs);$b=(e,t)=>{if(t.has("MediaQueryList")||t.has("matchMedia"))return;let r=e.EventTarget||globalThis.EventTarget,n=e.MediaQueryList||globalThis.MediaQueryList;e.matchMedia=function(i){let a=Object.setPrototypeOf(new r,n.prototype);return he.set(a,{matches:!1,media:i}),a}},ds=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},hs=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}},ps=class{disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}};V(hs);V(ds);V(ps);Ds=class extends Ie{constructor(t,r){if(super(),arguments.length<2)throw new TypeError("Failed to construct 'OffscreenCanvas': 2 arguments required.");t=Number(t)||0,r=Number(r)||0,he.set(this,{width:t,height:r})}get height(){return R(this,"OffscreenCanvas","height").height}set height(t){R(this,"OffscreenCanvas","height").height=Number(t)||0}get width(){return R(this,"OffscreenCanvas","width").width}set width(t){R(this,"OffscreenCanvas","width").width=Number(t)||0}getContext(t){let r=R(this,"HTMLCanvasElement","getContext");switch(t){case"2d":return r.renderingContext2D||(r.renderingContext2D=qb(this)),r.renderingContext2D;default:return null}}convertToBlob(t){t=Object(t),Number(t.quality);let r=l1(String(t.type).trim().toLowerCase());return Promise.resolve(new hn([],{type:r}))}};V(Ds);l1=e=>e==="image/avif"||e==="image/jpeg"||e==="image/png"||e==="image/webp"?e:"image/png",ms=class{clear(){R(this,"Storage","clear").storage.clear()}getItem(t){return tm(R(this,"Storage","getItem").storage.get(String(t)))}key(t){return tm([...R(this,"Storage","key").storage.keys()][Number(t)||0])}removeItem(t){R(this,"Storage","getItem").storage.delete(String(t))}setItem(t,r){R(this,"Storage","getItem").storage.set(String(t),String(r))}get length(){return R(this,"Storage","size").storage.size}},tm=e=>typeof e=="string"?e:null,jb=(e,t)=>{if(t.has("Storage")||t.has("localStorage"))return;e.localStorage=Object.create(ms.prototype);let r=new Map;he.set(e.localStorage,{storage:r})},Ou=class{},bs=class e extends Ou{async replace(t){return new e}replaceSync(t){return new e}get cssRules(){return[]}};V(Ou);V(bs);ys=class extends Ie{get self(){return this}get top(){return this}get window(){return this}get innerHeight(){return 0}get innerWidth(){return 0}get scrollX(){return 0}get scrollY(){return 0}};V(ys);Mb=(e,t)=>{t.has("Window")||t.has("window")||(e.window=e)};f1={hasOwn(e,t){return TF(e,t)}}.hasOwn,zb=(e,t)=>{if(t.has("Object")||t.has("object")||t.has("hasOwn"))return;let r=e.Object||globalThis.Object;Object.defineProperty(r,"hasOwn",{value:f1,writable:!0,enumerable:!1,configurable:!0})},d1={async any(e){return Promise.all([...e].map(t=>new Promise((r,n)=>Promise.resolve(t).then(n,r)))).then(t=>Promise.reject(t),t=>Promise.resolve(t))}}.any,Ub=(e,t)=>{if(t.has("Promise")||t.has("any"))return;let r=e.Promise||globalThis.Promise;r.any||Object.defineProperty(r,"any",{value:d1,writable:!0,enumerable:!1,configurable:!0})},h1={at(e){if(e=Math.trunc(e)||0,e<0&&(e+=this.length),!(e<0||e>=this.length))return this[e]}}.at,Hb=(e,t)=>{if(t.has("at"))return;let r=[];t.has("TypedArray")||r.push(Object.getPrototypeOf(e.Int8Array||globalThis.Int8Array)),t.has("Array")||r.push(e.Array||globalThis.Array),t.has("String")||r.push(e.String||globalThis.String);for(let n of r)n.prototype.at||Object.defineProperty(n.prototype,"at",{value:h1,writable:!0,enumerable:!1,configurable:!0})},p1={replaceAll(e,t){return Es(RegExp.prototype,e)?this.replace(e,t):this.replace(new RegExp(BF(e),"g"),t)}}.replaceAll,Gb=(e,t)=>{if(t.has("String")||t.has("replaceAll"))return;let r=e.String||globalThis.String;r.prototype.replaceAll||Object.defineProperty(r.prototype,"replaceAll",{value:p1,writable:!0,enumerable:!1,configurable:!0})},Vb=["CustomElementsRegistry","HTMLElement","HTMLBodyElement","HTMLCanvasElement","HTMLDivElement","HTMLHeadElement","HTMLHtmlElement","HTMLImageElement","HTMLStyleElement","HTMLTemplateElement","HTMLUnknownElement","Image"],Yb=["Element",...Vb],Xb=["CustomElementsRegistry","Document","HTMLDocument","document","customElements"],wc=["Node","DocumentFragment","ShadowRoot",...Xb,...Yb],D1=["AbortSignal","Event","CustomEvent","EventTarget","OffscreenCanvas","MediaQueryList","Window",...wc],m1=["AbortSignal","Event","CustomEvent","EventTarget","MediaQueryList","OffscreenCanvas","Window",...wc],rm={"Blob+":["Blob","File"],"Document+":Xb,"Element+":Yb,"Event+":m1,"EventTarget+":D1,"HTMLElement+":Vb,"Node+":wc,"StyleSheet+":["StyleSheet","CSSStyleSheet"]},nm={CSSStyleSheet:"StyleSheet",CustomEvent:"Event",DOMException:"Error",Document:"Node",DocumentFragment:"Node",Element:"Node",File:"Blob",HTMLDocument:"Document",HTMLElement:"Element",HTMLBodyElement:"HTMLElement",HTMLCanvasElement:"HTMLElement",HTMLDivElement:"HTMLElement",HTMLHeadElement:"HTMLElement",HTMLHtmlElement:"HTMLElement",HTMLImageElement:"HTMLElement",HTMLSpanElement:"HTMLElement",HTMLStyleElement:"HTMLElement",HTMLTemplateElement:"HTMLElement",HTMLUnknownElement:"HTMLElement",Image:"HTMLElement",MediaQueryList:"EventTarget",Node:"EventTarget",OffscreenCanvas:"EventTarget",ShadowRoot:"DocumentFragment",Window:"EventTarget"},b1=(e,t)=>{let r={AbortController:nn,AbortSignal:mr,Blob:hn,ByteLengthQueuingStrategy:gu,CanvasRenderingContext2D:Ru,CharacterData:pn,Comment:Qi,CountQueuingStrategy:Eu,CSSStyleSheet:bs,CustomElementRegistry:ts,CustomEvent:Ji,Document:Bu,DocumentFragment:_u,DOMException:J,Element:vu,Event:je,EventTarget:Ie,File:Os,FormData:gc,HTMLDocument:ls,HTMLElement:we,HTMLBodyElement:rs,HTMLCanvasElement:cs,HTMLDivElement:ns,HTMLHeadElement:us,HTMLHtmlElement:os,HTMLImageElement:Pu,HTMLSpanElement:is,HTMLStyleElement:ss,HTMLTemplateElement:as,HTMLUnknownElement:Tu,Headers:fe,IntersectionObserver:ds,Image:Wb,ImageData:Dn,MediaQueryList:fs,MutationObserver:hs,Node:Nt,NodeFilter:JR,NodeIterator:Xi,OffscreenCanvas:Ds,ReadableByteStreamController:br,ReadableStream:gt,ReadableStreamBYOBReader:ln,ReadableStreamBYOBRequest:an,ReadableStreamDefaultController:gr,ReadableStreamDefaultReader:sn,Request:Pe,ResizeObserver:ps,Response:ae,ShadowRoot:Su,Storage:ms,StyleSheet:Ou,Text:Fu,TransformStream:Cu,TreeWalker:wu,URLPattern:Is,WritableStream:cn,WritableStreamDefaultController:yr,WritableStreamDefaultWriter:fn,Window:ys,alert:c1,atob:XR,btoa:QR,cancelAnimationFrame:YR,cancelIdleCallback:KR,clearTimeout:a1,fetch:Cc,requestAnimationFrame:VR,requestIdleCallback:ZR,setTimeout:s1,structuredClone:i1},n=new Set(typeof Object(t).exclude=="string"?String(Object(t).exclude).trim().split(/\s+/):Array.isArray(Object(t).exclude)?Object(t).exclude.reduce((o,i)=>o.splice(o.length,0,...typeof i=="string"?i.trim().split(/\s+/):[])&&o,[]):[]);for(let o of n)if(o in rm)for(let i of rm[o])n.add(i);for(let o of Object.keys(r))n.has(o)||Object.hasOwnProperty.call(e,o)||Object.defineProperty(e,o,{configurable:!0,enumerable:!0,writable:!0,value:r[o]});for(let o of Object.keys(r)){if(n.has(o)||!Object.hasOwnProperty.call(nm,o))continue;let i=e[o],a=e[nm[o]];!i||!a||Object.getPrototypeOf(i.prototype)!==a.prototype&&Object.setPrototypeOf(i.prototype,a.prototype)}return!n.has("HTMLDocument")&&!n.has("HTMLElement")&&(kb(e,n),n.has("CustomElementRegistry")||Nb(e,n)),zb(e,n),$b(e,n),Ub(e,n),Hb(e,n),jb(e,n),Gb(e,n),Mb(e,n),e};b1.internals=(e,t)=>({CustomElementRegistry:Nb,Document:kb,MediaQueryList:$b,Object:zb,Promise:Ub,RelativeIndexingMethod:Hb,Storage:jb,String:Gb,Window:Mb}[t](e,new Set),e)});var vc=_(()=>{"use strict";d();var Zb=De(require("http")),Kb=De(require("https")),Rc=require("crypto"),ey=De(require("stream/web"));Qb();Object.assign(Zb.default.globalAgent,{keepAlive:!0});Object.assign(Kb.default.globalAgent,{keepAlive:!0});var Jb=parseInt(process.version.slice(1).split(".")[0]);Jb<18?Object.assign(globalThis,{fetch:Cc,Request:Pe,Response:ae,Headers:fe,Blob:hn,File:Os,FormData:gc,URLPattern:Is,crypto:Rc.webcrypto},ey.default):Jb<20&&Object.assign(globalThis,{URLPattern:Is,crypto:Rc.webcrypto})});var $t={};zf($t,{default:()=>y1});module.exports=Og($t);d();d();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6cc26118-9130-4492-9edf-1aef7a861bc1",e._sentryDebugIdIdentifier="sentry-dbid-6cc26118-9130-4492-9edf-1aef7a861bc1")}catch{}})();var ty=De(vc());Vt($t,De(vc()),module.exports);var y1=ty.default;
|
|
22
22
|
/*! Bundled license information:
|
|
23
23
|
|
|
24
24
|
fetch-blob/index.js:
|