@fern-api/java-dynamic-snippets 3.28.1 → 3.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var $r=Object.defineProperty;var Gi=(n,e,t)=>e in n?$r(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var pt=(n,e)=>()=>(n&&(e=n(n=0)),e);var cr=(n,e)=>{for(var t in e)$r(n,t,{get:e[t],enumerable:!0})};var _=(n,e,t)=>Gi(n,typeof e!="symbol"?e+"":e,t);var m=pt(()=>{"use strict"});var T={};cr(T,{_debugEnd:()=>Cn,_debugProcess:()=>En,_events:()=>Zn,_eventsCount:()=>Gn,_exiting:()=>cn,_fatalExceptions:()=>Nn,_getActiveHandles:()=>mn,_getActiveRequests:()=>fn,_kill:()=>yn,_linkedBinding:()=>un,_maxListeners:()=>zn,_preload_modules:()=>Vn,_rawDebug:()=>sn,_startProfilerIdleNotifier:()=>Sn,_stopProfilerIdleNotifier:()=>Ln,_tickCallback:()=>An,abort:()=>On,addListener:()=>Hn,allowedNodeEnvironmentFlags:()=>Tn,arch:()=>zr,argv:()=>Hr,argv0:()=>Dn,assert:()=>_n,binding:()=>Xr,browser:()=>an,chdir:()=>rn,config:()=>pn,cpuUsage:()=>Vt,cwd:()=>tn,debugPort:()=>$n,default:()=>na,dlopen:()=>dn,domain:()=>ln,emit:()=>Xn,emitWarning:()=>Qr,env:()=>Gr,execArgv:()=>Jr,execPath:()=>Mn,exit:()=>wn,features:()=>kn,hasUncaughtExceptionCaptureCallback:()=>In,hrtime:()=>Dt,kill:()=>vn,listeners:()=>ra,memoryUsage:()=>xn,moduleLoadList:()=>on,nextTick:()=>Vr,off:()=>Yn,on:()=>Te,once:()=>Jn,openStdin:()=>bn,pid:()=>Un,platform:()=>Zr,ppid:()=>jn,prependListener:()=>ea,prependOnceListener:()=>ta,reallyExit:()=>hn,release:()=>nn,removeAllListeners:()=>Qn,removeListener:()=>Kn,resourceUsage:()=>gn,setSourceMapsEnabled:()=>qn,setUncaughtExceptionCaptureCallback:()=>Rn,stderr:()=>Pn,stdin:()=>Fn,stdout:()=>Bn,title:()=>Wr,umask:()=>en,uptime:()=>Wn,version:()=>Yr,versions:()=>Kr});function fr(n){throw new Error("Node.js process "+n+" is not supported by JSPM core outside of Node.js")}function Hi(){!dt||!Fe||(dt=!1,Fe.length?be=Fe.concat(be):$t=-1,be.length&&Dr())}function Dr(){if(!dt){var n=setTimeout(Hi,0);dt=!0;for(var e=be.length;e;){for(Fe=be,be=[];++$t<e;)Fe&&Fe[$t].run();$t=-1,e=be.length}Fe=null,dt=!1,clearTimeout(n)}}function Vr(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];be.push(new qr(n,e)),be.length===1&&!dt&&setTimeout(Dr,0)}function qr(n,e){this.fun=n,this.array=e}function ee(){}function un(n){fr("_linkedBinding")}function dn(n){fr("dlopen")}function fn(){return[]}function mn(){return[]}function _n(n,e){if(!n)throw new Error(e||"assertion error")}function In(){return!1}function Wn(){return Ee.now()/1e3}function Dt(n){var e=Math.floor((Date.now()-Ee.now())*.001),t=Ee.now()*.001,r=Math.floor(t)+e,a=Math.floor(t%1*1e9);return n&&(r=r-n[0],a=a-n[1],a<0&&(r--,a+=dr)),[r,a]}function Te(){return na}function ra(n){return[]}var be,dt,Fe,$t,Wr,zr,Zr,Gr,Hr,Jr,Yr,Kr,Qr,Xr,en,tn,rn,nn,an,sn,on,ln,cn,pn,hn,yn,Vt,gn,xn,vn,wn,bn,Tn,kn,Nn,Rn,An,En,Cn,Sn,Ln,Bn,Pn,Fn,On,Un,jn,Mn,$n,Dn,Vn,qn,Ee,pr,dr,zn,Zn,Gn,Hn,Jn,Yn,Kn,Qn,Xn,ea,ta,na,aa=pt(()=>{"use strict";m();y();h();be=[],dt=!1,$t=-1;qr.prototype.run=function(){this.fun.apply(null,this.array)};Wr="browser",zr="x64",Zr="browser",Gr={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},Hr=["/usr/bin/node"],Jr=[],Yr="v16.8.0",Kr={},Qr=function(n,e){console.warn((e?e+": ":"")+n)},Xr=function(n){fr("binding")},en=function(n){return 0},tn=function(){return"/"},rn=function(n){},nn={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};an=!0,sn=ee,on=[];ln={},cn=!1,pn={};hn=ee,yn=ee,Vt=function(){return{}},gn=Vt,xn=Vt,vn=ee,wn=ee,bn=ee,Tn={};kn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Nn=ee,Rn=ee;An=ee,En=ee,Cn=ee,Sn=ee,Ln=ee,Bn=void 0,Pn=void 0,Fn=void 0,On=ee,Un=2,jn=1,Mn="/bin/usr/node",$n=9229,Dn="node",Vn=[],qn=ee,Ee={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};Ee.now===void 0&&(pr=Date.now(),Ee.timing&&Ee.timing.navigationStart&&(pr=Ee.timing.navigationStart),Ee.now=()=>Date.now()-pr);dr=1e9;Dt.bigint=function(n){var e=Dt(n);return typeof BigInt>"u"?e[0]*dr+e[1]:BigInt(e[0]*dr)+BigInt(e[1])};zn=10,Zn={},Gn=0;Hn=Te,Jn=Te,Yn=Te,Kn=Te,Qn=Te,Xn=ee,ea=Te,ta=Te;na={version:Yr,versions:Kr,arch:zr,platform:Zr,browser:an,release:nn,_rawDebug:sn,moduleLoadList:on,binding:Xr,_linkedBinding:un,_events:Zn,_eventsCount:Gn,_maxListeners:zn,on:Te,addListener:Hn,once:Jn,off:Yn,removeListener:Kn,removeAllListeners:Qn,emit:Xn,prependListener:ea,prependOnceListener:ta,listeners:ra,domain:ln,_exiting:cn,config:pn,dlopen:dn,uptime:Wn,_getActiveRequests:fn,_getActiveHandles:mn,reallyExit:hn,_kill:yn,cpuUsage:Vt,resourceUsage:gn,memoryUsage:xn,kill:vn,exit:wn,openStdin:bn,allowedNodeEnvironmentFlags:Tn,assert:_n,features:kn,_fatalExceptions:Nn,setUncaughtExceptionCaptureCallback:Rn,hasUncaughtExceptionCaptureCallback:In,emitWarning:Qr,nextTick:Vr,_tickCallback:An,_debugProcess:En,_debugEnd:Cn,_startProfilerIdleNotifier:Sn,_stopProfilerIdleNotifier:Ln,stdout:Bn,stdin:Fn,stderr:Pn,abort:On,umask:en,chdir:rn,cwd:tn,env:Gr,title:Wr,argv:Hr,execArgv:Jr,pid:Un,ppid:jn,execPath:Mn,debugPort:$n,hrtime:Dt,argv0:Dn,_preload_modules:Vn,setSourceMapsEnabled:qn}});var h=pt(()=>{"use strict";aa()});function Ji(){if(ia)return _t;ia=!0,_t.byteLength=p,_t.toByteArray=w,_t.fromByteArray=J;for(var n=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=r.length;a<o;++a)n[a]=r[a],e[r.charCodeAt(a)]=a;e[45]=62,e[95]=63;function u(C){var S=C.length;if(S%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=C.indexOf("=");q===-1&&(q=S);var K=q===S?0:4-q%4;return[q,K]}function p(C){var S=u(C),q=S[0],K=S[1];return(q+K)*3/4-K}function g(C,S,q){return(S+q)*3/4-q}function w(C){var S,q=u(C),K=q[0],ne=q[1],Y=new t(g(C,K,ne)),ae=0,ce=ne>0?K-4:K,re;for(re=0;re<ce;re+=4)S=e[C.charCodeAt(re)]<<18|e[C.charCodeAt(re+1)]<<12|e[C.charCodeAt(re+2)]<<6|e[C.charCodeAt(re+3)],Y[ae++]=S>>16&255,Y[ae++]=S>>8&255,Y[ae++]=S&255;return ne===2&&(S=e[C.charCodeAt(re)]<<2|e[C.charCodeAt(re+1)]>>4,Y[ae++]=S&255),ne===1&&(S=e[C.charCodeAt(re)]<<10|e[C.charCodeAt(re+1)]<<4|e[C.charCodeAt(re+2)]>>2,Y[ae++]=S>>8&255,Y[ae++]=S&255),Y}function A(C){return n[C>>18&63]+n[C>>12&63]+n[C>>6&63]+n[C&63]}function F(C,S,q){for(var K,ne=[],Y=S;Y<q;Y+=3)K=(C[Y]<<16&16711680)+(C[Y+1]<<8&65280)+(C[Y+2]&255),ne.push(A(K));return ne.join("")}function J(C){for(var S,q=C.length,K=q%3,ne=[],Y=16383,ae=0,ce=q-K;ae<ce;ae+=Y)ne.push(F(C,ae,ae+Y>ce?ce:ae+Y));return K===1?(S=C[q-1],ne.push(n[S>>2]+n[S<<4&63]+"==")):K===2&&(S=(C[q-2]<<8)+C[q-1],ne.push(n[S>>10]+n[S>>4&63]+n[S<<2&63]+"=")),ne.join("")}return _t}function Yi(){if(sa)return qt;sa=!0;return qt.read=function(n,e,t,r,a){var o,u,p=a*8-r-1,g=(1<<p)-1,w=g>>1,A=-7,F=t?a-1:0,J=t?-1:1,C=n[e+F];for(F+=J,o=C&(1<<-A)-1,C>>=-A,A+=p;A>0;o=o*256+n[e+F],F+=J,A-=8);for(u=o&(1<<-A)-1,o>>=-A,A+=r;A>0;u=u*256+n[e+F],F+=J,A-=8);if(o===0)o=1-w;else{if(o===g)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,r),o=o-w}return(C?-1:1)*u*Math.pow(2,o-r)},qt.write=function(n,e,t,r,a,o){var u,p,g,w=o*8-a-1,A=(1<<w)-1,F=A>>1,J=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=r?0:o-1,S=r?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,u=A):(u=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-u))<1&&(u--,g*=2),u+F>=1?e+=J/g:e+=J*Math.pow(2,1-F),e*g>=2&&(u++,g/=2),u+F>=A?(p=0,u=A):u+F>=1?(p=(e*g-1)*Math.pow(2,a),u=u+F):(p=e*Math.pow(2,F-1)*Math.pow(2,a),u=0));a>=8;n[t+C]=p&255,C+=S,p/=256,a-=8);for(u=u<<a|p,w+=a;w>0;n[t+C]=u&255,C+=S,u/=256,w-=8);n[t+C-S]|=q*128},qt}function ua(){if(oa)return Oe;oa=!0;let n=Ji(),e=Yi(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Oe.Buffer=u,Oe.SlowBuffer=ne,Oe.INSPECT_MAX_BYTES=50;let r=2147483647;Oe.kMaxLength=r,u.TYPED_ARRAY_SUPPORT=a(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let l=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(l,i),l.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function o(l){if(l>r)throw new RangeError('The value "'+l+'" is invalid for option "size"');let i=new Uint8Array(l);return Object.setPrototypeOf(i,u.prototype),i}function u(l,i,s){if(typeof l=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(l)}return p(l,i,s)}u.poolSize=8192;function p(l,i,s){if(typeof l=="string")return F(l,i);if(ArrayBuffer.isView(l))return C(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(ye(l,ArrayBuffer)||l&&ye(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ye(l,SharedArrayBuffer)||l&&ye(l.buffer,SharedArrayBuffer)))return S(l,i,s);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let c=l.valueOf&&l.valueOf();if(c!=null&&c!==l)return u.from(c,i,s);let f=q(l);if(f)return f;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return u.from(l[Symbol.toPrimitive]("string"),i,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}u.from=function(l,i,s){return p(l,i,s)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function g(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function w(l,i,s){return g(l),l<=0?o(l):i!==void 0?typeof s=="string"?o(l).fill(i,s):o(l).fill(i):o(l)}u.alloc=function(l,i,s){return w(l,i,s)};function A(l){return g(l),o(l<0?0:K(l)|0)}u.allocUnsafe=function(l){return A(l)},u.allocUnsafeSlow=function(l){return A(l)};function F(l,i){if((typeof i!="string"||i==="")&&(i="utf8"),!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);let s=Y(l,i)|0,c=o(s),f=c.write(l,i);return f!==s&&(c=c.slice(0,f)),c}function J(l){let i=l.length<0?0:K(l.length)|0,s=o(i);for(let c=0;c<i;c+=1)s[c]=l[c]&255;return s}function C(l){if(ye(l,Uint8Array)){let i=new Uint8Array(l);return S(i.buffer,i.byteOffset,i.byteLength)}return J(l)}function S(l,i,s){if(i<0||l.byteLength<i)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<i+(s||0))throw new RangeError('"length" is outside of buffer bounds');let c;return i===void 0&&s===void 0?c=new Uint8Array(l):s===void 0?c=new Uint8Array(l,i):c=new Uint8Array(l,i,s),Object.setPrototypeOf(c,u.prototype),c}function q(l){if(u.isBuffer(l)){let i=K(l.length)|0,s=o(i);return s.length===0||l.copy(s,0,0,i),s}if(l.length!==void 0)return typeof l.length!="number"||lr(l.length)?o(0):J(l);if(l.type==="Buffer"&&Array.isArray(l.data))return J(l.data)}function K(l){if(l>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return l|0}function ne(l){return+l!=l&&(l=0),u.alloc(+l)}u.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==u.prototype},u.compare=function(i,s){if(ye(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),ye(s,Uint8Array)&&(s=u.from(s,s.offset,s.byteLength)),!u.isBuffer(i)||!u.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===s)return 0;let c=i.length,f=s.length;for(let x=0,v=Math.min(c,f);x<v;++x)if(i[x]!==s[x]){c=i[x],f=s[x];break}return c<f?-1:f<c?1:0},u.isEncoding=function(i){switch(String(i).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(i,s){if(!Array.isArray(i))throw new TypeError('"list" argument must be an Array of Buffers');if(i.length===0)return u.alloc(0);let c;if(s===void 0)for(s=0,c=0;c<i.length;++c)s+=i[c].length;let f=u.allocUnsafe(s),x=0;for(c=0;c<i.length;++c){let v=i[c];if(ye(v,Uint8Array))x+v.length>f.length?(u.isBuffer(v)||(v=u.from(v)),v.copy(f,x)):Uint8Array.prototype.set.call(f,v,x);else if(u.isBuffer(v))v.copy(f,x);else throw new TypeError('"list" argument must be an Array of Buffers');x+=v.length}return f};function Y(l,i){if(u.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||ye(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);let s=l.length,c=arguments.length>2&&arguments[2]===!0;if(!c&&s===0)return 0;let f=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return ur(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return Mr(l).length;default:if(f)return c?-1:ur(l).length;i=(""+i).toLowerCase(),f=!0}}u.byteLength=Y;function ae(l,i,s){let c=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,i>>>=0,s<=i))return"";for(l||(l="utf8");;)switch(l){case"hex":return ji(this,i,s);case"utf8":case"utf-8":return Cr(this,i,s);case"ascii":return Oi(this,i,s);case"latin1":case"binary":return Ui(this,i,s);case"base64":return Pi(this,i,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mi(this,i,s);default:if(c)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),c=!0}}u.prototype._isBuffer=!0;function ce(l,i,s){let c=l[i];l[i]=l[s],l[s]=c}u.prototype.swap16=function(){let i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;s<i;s+=2)ce(this,s,s+1);return this},u.prototype.swap32=function(){let i=this.length;if(i%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let s=0;s<i;s+=4)ce(this,s,s+3),ce(this,s+1,s+2);return this},u.prototype.swap64=function(){let i=this.length;if(i%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let s=0;s<i;s+=8)ce(this,s,s+7),ce(this,s+1,s+6),ce(this,s+2,s+5),ce(this,s+3,s+4);return this},u.prototype.toString=function(){let i=this.length;return i===0?"":arguments.length===0?Cr(this,0,i):ae.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(i){if(!u.isBuffer(i))throw new TypeError("Argument must be a Buffer");return this===i?!0:u.compare(this,i)===0},u.prototype.inspect=function(){let i="",s=Oe.INSPECT_MAX_BYTES;return i=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(i+=" ... "),"<Buffer "+i+">"},t&&(u.prototype[t]=u.prototype.inspect),u.prototype.compare=function(i,s,c,f,x){if(ye(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(s===void 0&&(s=0),c===void 0&&(c=i?i.length:0),f===void 0&&(f=0),x===void 0&&(x=this.length),s<0||c>i.length||f<0||x>this.length)throw new RangeError("out of range index");if(f>=x&&s>=c)return 0;if(f>=x)return-1;if(s>=c)return 1;if(s>>>=0,c>>>=0,f>>>=0,x>>>=0,this===i)return 0;let v=x-f,U=c-s,G=Math.min(v,U),z=this.slice(f,x),H=i.slice(s,c);for(let W=0;W<G;++W)if(z[W]!==H[W]){v=z[W],U=H[W];break}return v<U?-1:U<v?1:0};function re(l,i,s,c,f){if(l.length===0)return-1;if(typeof s=="string"?(c=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,lr(s)&&(s=f?0:l.length-1),s<0&&(s=l.length+s),s>=l.length){if(f)return-1;s=l.length-1}else if(s<0)if(f)s=0;else return-1;if(typeof i=="string"&&(i=u.from(i,c)),u.isBuffer(i))return i.length===0?-1:Er(l,i,s,c,f);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?f?Uint8Array.prototype.indexOf.call(l,i,s):Uint8Array.prototype.lastIndexOf.call(l,i,s):Er(l,[i],s,c,f);throw new TypeError("val must be string, number or Buffer")}function Er(l,i,s,c,f){let x=1,v=l.length,U=i.length;if(c!==void 0&&(c=String(c).toLowerCase(),c==="ucs2"||c==="ucs-2"||c==="utf16le"||c==="utf-16le")){if(l.length<2||i.length<2)return-1;x=2,v/=2,U/=2,s/=2}function G(H,W){return x===1?H[W]:H.readUInt16BE(W*x)}let z;if(f){let H=-1;for(z=s;z<v;z++)if(G(l,z)===G(i,H===-1?0:z-H)){if(H===-1&&(H=z),z-H+1===U)return H*x}else H!==-1&&(z-=z-H),H=-1}else for(s+U>v&&(s=v-U),z=s;z>=0;z--){let H=!0;for(let W=0;W<U;W++)if(G(l,z+W)!==G(i,W)){H=!1;break}if(H)return z}return-1}u.prototype.includes=function(i,s,c){return this.indexOf(i,s,c)!==-1},u.prototype.indexOf=function(i,s,c){return re(this,i,s,c,!0)},u.prototype.lastIndexOf=function(i,s,c){return re(this,i,s,c,!1)};function Ei(l,i,s,c){s=Number(s)||0;let f=l.length-s;c?(c=Number(c),c>f&&(c=f)):c=f;let x=i.length;c>x/2&&(c=x/2);let v;for(v=0;v<c;++v){let U=parseInt(i.substr(v*2,2),16);if(lr(U))return v;l[s+v]=U}return v}function Ci(l,i,s,c){return Mt(ur(i,l.length-s),l,s,c)}function Si(l,i,s,c){return Mt(qi(i),l,s,c)}function Li(l,i,s,c){return Mt(Mr(i),l,s,c)}function Bi(l,i,s,c){return Mt(Wi(i,l.length-s),l,s,c)}u.prototype.write=function(i,s,c,f){if(s===void 0)f="utf8",c=this.length,s=0;else if(c===void 0&&typeof s=="string")f=s,c=this.length,s=0;else if(isFinite(s))s=s>>>0,isFinite(c)?(c=c>>>0,f===void 0&&(f="utf8")):(f=c,c=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let x=this.length-s;if((c===void 0||c>x)&&(c=x),i.length>0&&(c<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let v=!1;for(;;)switch(f){case"hex":return Ei(this,i,s,c);case"utf8":case"utf-8":return Ci(this,i,s,c);case"ascii":case"latin1":case"binary":return Si(this,i,s,c);case"base64":return Li(this,i,s,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Bi(this,i,s,c);default:if(v)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),v=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pi(l,i,s){return i===0&&s===l.length?n.fromByteArray(l):n.fromByteArray(l.slice(i,s))}function Cr(l,i,s){s=Math.min(l.length,s);let c=[],f=i;for(;f<s;){let x=l[f],v=null,U=x>239?4:x>223?3:x>191?2:1;if(f+U<=s){let G,z,H,W;switch(U){case 1:x<128&&(v=x);break;case 2:G=l[f+1],(G&192)===128&&(W=(x&31)<<6|G&63,W>127&&(v=W));break;case 3:G=l[f+1],z=l[f+2],(G&192)===128&&(z&192)===128&&(W=(x&15)<<12|(G&63)<<6|z&63,W>2047&&(W<55296||W>57343)&&(v=W));break;case 4:G=l[f+1],z=l[f+2],H=l[f+3],(G&192)===128&&(z&192)===128&&(H&192)===128&&(W=(x&15)<<18|(G&63)<<12|(z&63)<<6|H&63,W>65535&&W<1114112&&(v=W))}}v===null?(v=65533,U=1):v>65535&&(v-=65536,c.push(v>>>10&1023|55296),v=56320|v&1023),c.push(v),f+=U}return Fi(c)}let Sr=4096;function Fi(l){let i=l.length;if(i<=Sr)return String.fromCharCode.apply(String,l);let s="",c=0;for(;c<i;)s+=String.fromCharCode.apply(String,l.slice(c,c+=Sr));return s}function Oi(l,i,s){let c="";s=Math.min(l.length,s);for(let f=i;f<s;++f)c+=String.fromCharCode(l[f]&127);return c}function Ui(l,i,s){let c="";s=Math.min(l.length,s);for(let f=i;f<s;++f)c+=String.fromCharCode(l[f]);return c}function ji(l,i,s){let c=l.length;(!i||i<0)&&(i=0),(!s||s<0||s>c)&&(s=c);let f="";for(let x=i;x<s;++x)f+=zi[l[x]];return f}function Mi(l,i,s){let c=l.slice(i,s),f="";for(let x=0;x<c.length-1;x+=2)f+=String.fromCharCode(c[x]+c[x+1]*256);return f}u.prototype.slice=function(i,s){let c=this.length;i=~~i,s=s===void 0?c:~~s,i<0?(i+=c,i<0&&(i=0)):i>c&&(i=c),s<0?(s+=c,s<0&&(s=0)):s>c&&(s=c),s<i&&(s=i);let f=this.subarray(i,s);return Object.setPrototypeOf(f,u.prototype),f};function Q(l,i,s){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+i>s)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=this[i],x=1,v=0;for(;++v<s&&(x*=256);)f+=this[i+v]*x;return f},u.prototype.readUintBE=u.prototype.readUIntBE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=this[i+--s],x=1;for(;s>0&&(x*=256);)f+=this[i+--s]*x;return f},u.prototype.readUint8=u.prototype.readUInt8=function(i,s){return i=i>>>0,s||Q(i,1,this.length),this[i]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(i,s){return i=i>>>0,s||Q(i,2,this.length),this[i]|this[i+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(i,s){return i=i>>>0,s||Q(i,2,this.length),this[i]<<8|this[i+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},u.prototype.readBigUInt64LE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,x=this[++i]+this[++i]*2**8+this[++i]*2**16+c*2**24;return BigInt(f)+(BigInt(x)<<BigInt(32))}),u.prototype.readBigUInt64BE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=s*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],x=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+c;return(BigInt(f)<<BigInt(32))+BigInt(x)}),u.prototype.readIntLE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=this[i],x=1,v=0;for(;++v<s&&(x*=256);)f+=this[i+v]*x;return x*=128,f>=x&&(f-=Math.pow(2,8*s)),f},u.prototype.readIntBE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=s,x=1,v=this[i+--f];for(;f>0&&(x*=256);)v+=this[i+--f]*x;return x*=128,v>=x&&(v-=Math.pow(2,8*s)),v},u.prototype.readInt8=function(i,s){return i=i>>>0,s||Q(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},u.prototype.readInt16LE=function(i,s){i=i>>>0,s||Q(i,2,this.length);let c=this[i]|this[i+1]<<8;return c&32768?c|4294901760:c},u.prototype.readInt16BE=function(i,s){i=i>>>0,s||Q(i,2,this.length);let c=this[i+1]|this[i]<<8;return c&32768?c|4294901760:c},u.prototype.readInt32LE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},u.prototype.readInt32BE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},u.prototype.readBigInt64LE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(c<<24);return(BigInt(f)<<BigInt(32))+BigInt(s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24)}),u.prototype.readBigInt64BE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=(s<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(f)<<BigInt(32))+BigInt(this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+c)}),u.prototype.readFloatLE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),e.read(this,i,!0,23,4)},u.prototype.readFloatBE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),e.read(this,i,!1,23,4)},u.prototype.readDoubleLE=function(i,s){return i=i>>>0,s||Q(i,8,this.length),e.read(this,i,!0,52,8)},u.prototype.readDoubleBE=function(i,s){return i=i>>>0,s||Q(i,8,this.length),e.read(this,i,!1,52,8)};function ie(l,i,s,c,f,x){if(!u.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>f||i<x)throw new RangeError('"value" argument is out of bounds');if(s+c>l.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(i,s,c,f){if(i=+i,s=s>>>0,c=c>>>0,!f){let U=Math.pow(2,8*c)-1;ie(this,i,s,c,U,0)}let x=1,v=0;for(this[s]=i&255;++v<c&&(x*=256);)this[s+v]=i/x&255;return s+c},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(i,s,c,f){if(i=+i,s=s>>>0,c=c>>>0,!f){let U=Math.pow(2,8*c)-1;ie(this,i,s,c,U,0)}let x=c-1,v=1;for(this[s+x]=i&255;--x>=0&&(v*=256);)this[s+x]=i/v&255;return s+c},u.prototype.writeUint8=u.prototype.writeUInt8=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,1,255,0),this[s]=i&255,s+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,65535,0),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=i&255,s+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4};function Lr(l,i,s,c,f){jr(i,c,f,l,s,7);let x=Number(i&BigInt(4294967295));l[s++]=x,x=x>>8,l[s++]=x,x=x>>8,l[s++]=x,x=x>>8,l[s++]=x;let v=Number(i>>BigInt(32)&BigInt(4294967295));return l[s++]=v,v=v>>8,l[s++]=v,v=v>>8,l[s++]=v,v=v>>8,l[s++]=v,s}function Br(l,i,s,c,f){jr(i,c,f,l,s,7);let x=Number(i&BigInt(4294967295));l[s+7]=x,x=x>>8,l[s+6]=x,x=x>>8,l[s+5]=x,x=x>>8,l[s+4]=x;let v=Number(i>>BigInt(32)&BigInt(4294967295));return l[s+3]=v,v=v>>8,l[s+2]=v,v=v>>8,l[s+1]=v,v=v>>8,l[s]=v,s+8}u.prototype.writeBigUInt64LE=Ae(function(i,s=0){return Lr(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Ae(function(i,s=0){return Br(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(i,s,c,f){if(i=+i,s=s>>>0,!f){let G=Math.pow(2,8*c-1);ie(this,i,s,c,G-1,-G)}let x=0,v=1,U=0;for(this[s]=i&255;++x<c&&(v*=256);)i<0&&U===0&&this[s+x-1]!==0&&(U=1),this[s+x]=(i/v>>0)-U&255;return s+c},u.prototype.writeIntBE=function(i,s,c,f){if(i=+i,s=s>>>0,!f){let G=Math.pow(2,8*c-1);ie(this,i,s,c,G-1,-G)}let x=c-1,v=1,U=0;for(this[s+x]=i&255;--x>=0&&(v*=256);)i<0&&U===0&&this[s+x+1]!==0&&(U=1),this[s+x]=(i/v>>0)-U&255;return s+c},u.prototype.writeInt8=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=i&255,s+1},u.prototype.writeInt16LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,32767,-32768),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeInt16BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeInt32LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,2147483647,-2147483648),this[s]=i&255,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},u.prototype.writeInt32BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4},u.prototype.writeBigInt64LE=Ae(function(i,s=0){return Lr(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Ae(function(i,s=0){return Br(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Pr(l,i,s,c,f,x){if(s+c>l.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function Fr(l,i,s,c,f){return i=+i,s=s>>>0,f||Pr(l,i,s,4),e.write(l,i,s,c,23,4),s+4}u.prototype.writeFloatLE=function(i,s,c){return Fr(this,i,s,!0,c)},u.prototype.writeFloatBE=function(i,s,c){return Fr(this,i,s,!1,c)};function Or(l,i,s,c,f){return i=+i,s=s>>>0,f||Pr(l,i,s,8),e.write(l,i,s,c,52,8),s+8}u.prototype.writeDoubleLE=function(i,s,c){return Or(this,i,s,!0,c)},u.prototype.writeDoubleBE=function(i,s,c){return Or(this,i,s,!1,c)},u.prototype.copy=function(i,s,c,f){if(!u.isBuffer(i))throw new TypeError("argument should be a Buffer");if(c||(c=0),!f&&f!==0&&(f=this.length),s>=i.length&&(s=i.length),s||(s=0),f>0&&f<c&&(f=c),f===c||i.length===0||this.length===0)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("sourceEnd out of bounds");f>this.length&&(f=this.length),i.length-s<f-c&&(f=i.length-s+c);let x=f-c;return this===i&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(s,c,f):Uint8Array.prototype.set.call(i,this.subarray(c,f),s),x},u.prototype.fill=function(i,s,c,f){if(typeof i=="string"){if(typeof s=="string"?(f=s,s=0,c=this.length):typeof c=="string"&&(f=c,c=this.length),f!==void 0&&typeof f!="string")throw new TypeError("encoding must be a string");if(typeof f=="string"&&!u.isEncoding(f))throw new TypeError("Unknown encoding: "+f);if(i.length===1){let v=i.charCodeAt(0);(f==="utf8"&&v<128||f==="latin1")&&(i=v)}}else typeof i=="number"?i=i&255:typeof i=="boolean"&&(i=Number(i));if(s<0||this.length<s||this.length<c)throw new RangeError("Out of range index");if(c<=s)return this;s=s>>>0,c=c===void 0?this.length:c>>>0,i||(i=0);let x;if(typeof i=="number")for(x=s;x<c;++x)this[x]=i;else{let v=u.isBuffer(i)?i:u.from(i,f),U=v.length;if(U===0)throw new TypeError('The value "'+i+'" is invalid for argument "value"');for(x=0;x<c-s;++x)this[x+s]=v[x%U]}return this};let lt={};function or(l,i,s){lt[l]=class extends s{constructor(){super(),Object.defineProperty(this,"message",{value:i.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(f){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:f,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}or("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),or("ERR_INVALID_ARG_TYPE",function(l,i){return`The "${l}" argument must be of type number. Received type ${typeof i}`},TypeError),or("ERR_OUT_OF_RANGE",function(l,i,s){let c=`The value of "${l}" is out of range.`,f=s;return Number.isInteger(s)&&Math.abs(s)>2**32?f=Ur(String(s)):typeof s=="bigint"&&(f=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(f=Ur(f)),f+="n"),c+=` It must be ${i}. Received ${f}`,c},RangeError);function Ur(l){let i="",s=l.length,c=l[0]==="-"?1:0;for(;s>=c+4;s-=3)i=`_${l.slice(s-3,s)}${i}`;return`${l.slice(0,s)}${i}`}function $i(l,i,s){ct(i,"offset"),(l[i]===void 0||l[i+s]===void 0)&&Tt(i,l.length-(s+1))}function jr(l,i,s,c,f,x){if(l>s||l<i){let v=typeof i=="bigint"?"n":"",U;throw i===0||i===BigInt(0)?U=`>= 0${v} and < 2${v} ** ${(x+1)*8}${v}`:U=`>= -(2${v} ** ${(x+1)*8-1}${v}) and < 2 ** ${(x+1)*8-1}${v}`,new lt.ERR_OUT_OF_RANGE("value",U,l)}$i(c,f,x)}function ct(l,i){if(typeof l!="number")throw new lt.ERR_INVALID_ARG_TYPE(i,"number",l)}function Tt(l,i,s){throw Math.floor(l)!==l?(ct(l,s),new lt.ERR_OUT_OF_RANGE("offset","an integer",l)):i<0?new lt.ERR_BUFFER_OUT_OF_BOUNDS:new lt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${i}`,l)}let Di=/[^+/0-9A-Za-z-_]/g;function Vi(l){if(l=l.split("=")[0],l=l.trim().replace(Di,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function ur(l,i){i=i||1/0;let s,c=l.length,f=null,x=[];for(let v=0;v<c;++v){if(s=l.charCodeAt(v),s>55295&&s<57344){if(!f){if(s>56319){(i-=3)>-1&&x.push(239,191,189);continue}else if(v+1===c){(i-=3)>-1&&x.push(239,191,189);continue}f=s;continue}if(s<56320){(i-=3)>-1&&x.push(239,191,189),f=s;continue}s=(f-55296<<10|s-56320)+65536}else f&&(i-=3)>-1&&x.push(239,191,189);if(f=null,s<128){if((i-=1)<0)break;x.push(s)}else if(s<2048){if((i-=2)<0)break;x.push(s>>6|192,s&63|128)}else if(s<65536){if((i-=3)<0)break;x.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((i-=4)<0)break;x.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return x}function qi(l){let i=[];for(let s=0;s<l.length;++s)i.push(l.charCodeAt(s)&255);return i}function Wi(l,i){let s,c,f,x=[];for(let v=0;v<l.length&&!((i-=2)<0);++v)s=l.charCodeAt(v),c=s>>8,f=s%256,x.push(f),x.push(c);return x}function Mr(l){return n.toByteArray(Vi(l))}function Mt(l,i,s,c){let f;for(f=0;f<c&&!(f+s>=i.length||f>=l.length);++f)i[f+s]=l[f];return f}function ye(l,i){return l instanceof i||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===i.name}function lr(l){return l!==l}let zi=(function(){let l="0123456789abcdef",i=new Array(256);for(let s=0;s<16;++s){let c=s*16;for(let f=0;f<16;++f)i[c+f]=l[s]+l[f]}return i})();function Ae(l){return typeof BigInt>"u"?Zi:l}function Zi(){throw new Error("BigInt not supported")}return Oe}var _t,ia,qt,sa,Oe,oa,la=pt(()=>{"use strict";m();y();h();_t={},ia=!1;qt={},sa=!1;Oe={},oa=!1});var Ue,k,$l,Dl,ca=pt(()=>{"use strict";m();y();h();la();Ue=ua();Ue.Buffer;Ue.SlowBuffer;Ue.INSPECT_MAX_BYTES;Ue.kMaxLength;k=Ue.Buffer,$l=Ue.INSPECT_MAX_BYTES,Dl=Ue.kMaxLength});var y=pt(()=>{"use strict";ca()});m();y();h();m();y();h();m();y();h();m();y();h();function M(n){throw new Error("Unexpected value: "+JSON.stringify(n))}m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();var Ki=typeof global=="object"&&global&&global.Object===Object&&global,pa=Ki;var Qi=typeof self=="object"&&self&&self.Object===Object&&self,Xi=pa||Qi||Function("return this")(),da=Xi;var es=da.Symbol,_e=es;m();y();h();var fa=Object.prototype,ts=fa.hasOwnProperty,rs=fa.toString,kt=_e?_e.toStringTag:void 0;function ns(n){var e=ts.call(n,kt),t=n[kt];try{n[kt]=void 0;var r=!0}catch{}var a=rs.call(n);return r&&(e?n[kt]=t:delete n[kt]),a}var ma=ns;m();y();h();var as=Object.prototype,is=as.toString;function ss(n){return is.call(n)}var ha=ss;var os="[object Null]",us="[object Undefined]",ya=_e?_e.toStringTag:void 0;function ls(n){return n==null?n===void 0?us:os:ya&&ya in Object(n)?ma(n):ha(n)}var ga=ls;m();y();h();function cs(n){return n!=null&&typeof n=="object"}var xa=cs;var ps="[object Symbol]";function ds(n){return typeof n=="symbol"||xa(n)&&ga(n)==ps}var va=ds;m();y();h();m();y();h();function fs(n,e){for(var t=-1,r=n==null?0:n.length,a=Array(r);++t<r;)a[t]=e(n[t],t,n);return a}var wa=fs;m();y();h();var ms=Array.isArray,ba=ms;var hs=1/0,Ta=_e?_e.prototype:void 0,_a=Ta?Ta.toString:void 0;function ka(n){if(typeof n=="string")return n;if(ba(n))return wa(n,ka)+"";if(va(n))return _a?_a.call(n):"";var e=n+"";return e=="0"&&1/n==-hs?"-0":e}var Na=ka;m();y();h();function ys(n){return n==null?"":Na(n)}var Ce=ys;m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();function gs(n,e,t){var r=-1,a=n.length;e<0&&(e=-e>a?0:a+e),t=t>a?a:t,t<0&&(t+=a),a=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(a);++r<a;)o[r]=n[r+e];return o}var Ra=gs;function xs(n,e,t){var r=n.length;return t=t===void 0?r:t,!e&&t>=r?n:Ra(n,e,t)}var Ia=xs;m();y();h();var vs="\\ud800-\\udfff",ws="\\u0300-\\u036f",bs="\\ufe20-\\ufe2f",Ts="\\u20d0-\\u20ff",_s=ws+bs+Ts,ks="\\ufe0e\\ufe0f",Ns="\\u200d",Rs=RegExp("["+Ns+vs+_s+ks+"]");function Is(n){return Rs.test(n)}var Wt=Is;m();y();h();m();y();h();function As(n){return n.split("")}var Aa=As;m();y();h();var Ea="\\ud800-\\udfff",Es="\\u0300-\\u036f",Cs="\\ufe20-\\ufe2f",Ss="\\u20d0-\\u20ff",Ls=Es+Cs+Ss,Bs="\\ufe0e\\ufe0f",Ps="["+Ea+"]",mr="["+Ls+"]",hr="\\ud83c[\\udffb-\\udfff]",Fs="(?:"+mr+"|"+hr+")",Ca="[^"+Ea+"]",Sa="(?:\\ud83c[\\udde6-\\uddff]){2}",La="[\\ud800-\\udbff][\\udc00-\\udfff]",Os="\\u200d",Ba=Fs+"?",Pa="["+Bs+"]?",Us="(?:"+Os+"(?:"+[Ca,Sa,La].join("|")+")"+Pa+Ba+")*",js=Pa+Ba+Us,Ms="(?:"+[Ca+mr+"?",mr,Sa,La,Ps].join("|")+")",$s=RegExp(hr+"(?="+hr+")|"+Ms+js,"g");function Ds(n){return n.match($s)||[]}var Fa=Ds;function Vs(n){return Wt(n)?Fa(n):Aa(n)}var Oa=Vs;function qs(n){return function(e){e=Ce(e);var t=Wt(e)?Oa(e):void 0,r=t?t[0]:e.charAt(0),a=t?Ia(t,1).join(""):e.slice(1);return r[n]()+a}}var Ua=qs;var Ws=Ua("toUpperCase"),ja=Ws;function zs(n){return ja(Ce(n).toLowerCase())}var Ma=zs;m();y();h();m();y();h();function Zs(n,e,t,r){var a=-1,o=n==null?0:n.length;for(r&&o&&(t=n[++a]);++a<o;)t=e(t,n[a],a,n);return t}var $a=Zs;m();y();h();m();y();h();m();y();h();function Gs(n){return function(e){return n?.[e]}}var Da=Gs;var Hs={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Js=Da(Hs),Va=Js;var Ys=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ks="\\u0300-\\u036f",Qs="\\ufe20-\\ufe2f",Xs="\\u20d0-\\u20ff",eo=Ks+Qs+Xs,to="["+eo+"]",ro=RegExp(to,"g");function no(n){return n=Ce(n),n&&n.replace(Ys,Va).replace(ro,"")}var qa=no;m();y();h();m();y();h();var ao=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function io(n){return n.match(ao)||[]}var Wa=io;m();y();h();var so=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function oo(n){return so.test(n)}var za=oo;m();y();h();var Ya="\\ud800-\\udfff",uo="\\u0300-\\u036f",lo="\\ufe20-\\ufe2f",co="\\u20d0-\\u20ff",po=uo+lo+co,Ka="\\u2700-\\u27bf",Qa="a-z\\xdf-\\xf6\\xf8-\\xff",fo="\\xac\\xb1\\xd7\\xf7",mo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ho="\\u2000-\\u206f",yo=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xa="A-Z\\xc0-\\xd6\\xd8-\\xde",go="\\ufe0e\\ufe0f",ei=fo+mo+ho+yo,ti="['\u2019]",Za="["+ei+"]",xo="["+po+"]",ri="\\d+",vo="["+Ka+"]",ni="["+Qa+"]",ai="[^"+Ya+ei+ri+Ka+Qa+Xa+"]",wo="\\ud83c[\\udffb-\\udfff]",bo="(?:"+xo+"|"+wo+")",To="[^"+Ya+"]",ii="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="["+Xa+"]",_o="\\u200d",Ga="(?:"+ni+"|"+ai+")",ko="(?:"+ft+"|"+ai+")",Ha="(?:"+ti+"(?:d|ll|m|re|s|t|ve))?",Ja="(?:"+ti+"(?:D|LL|M|RE|S|T|VE))?",oi=bo+"?",ui="["+go+"]?",No="(?:"+_o+"(?:"+[To,ii,si].join("|")+")"+ui+oi+")*",Ro="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Io="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ao=ui+oi+No,Eo="(?:"+[vo,ii,si].join("|")+")"+Ao,Co=RegExp([ft+"?"+ni+"+"+Ha+"(?="+[Za,ft,"$"].join("|")+")",ko+"+"+Ja+"(?="+[Za,ft+Ga,"$"].join("|")+")",ft+"?"+Ga+"+"+Ha,ft+"+"+Ja,Io,Ro,ri,Eo].join("|"),"g");function So(n){return n.match(Co)||[]}var li=So;function Lo(n,e,t){return n=Ce(n),e=t?void 0:e,e===void 0?za(n)?li(n):Wa(n):n.match(e)||[]}var ci=Lo;var Bo="['\u2019]",Po=RegExp(Bo,"g");function Fo(n){return function(e){return $a(ci(qa(e).replace(Po,"")),n,"")}}var pi=Fo;var Oo=pi(function(n,e,t){return e=e.toLowerCase(),n+(t?Ma(e):e)}),yr=Oo;m();y();h();function Nt(n){return Object.keys(n)}m();y();h();m();y();h();m();y();h();var Rt=T.env.FERN_STACK_TRACK?.toLowerCase()??"",ge=Rt!==""&&Rt!=="0"&&Rt!=="false",gr=["single","multiline","box"].includes(Rt)?Rt:"single";ge&&(Error.stackTraceLimit=50);var Uo=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),jo=new Set(["stacktrace"]);function Zt({maxFrames:n=50,skip:e=0,filterPaths:t=[],filterFunctions:r=[],stopOn:a=[],filterNode:o=!0,filterJs:u=!0,formatFilename:p=g=>g}={}){if(!ge)return[];r=[...r,...Uo],t=[...t,...jo],a=[...a,"runInteractiveTask"];let g=!1;return(new Error().stack??"").split(`
|
|
1
|
+
var $r=Object.defineProperty;var Gi=(n,e,t)=>e in n?$r(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var pt=(n,e)=>()=>(n&&(e=n(n=0)),e);var cr=(n,e)=>{for(var t in e)$r(n,t,{get:e[t],enumerable:!0})};var _=(n,e,t)=>Gi(n,typeof e!="symbol"?e+"":e,t);var m=pt(()=>{"use strict"});var T={};cr(T,{_debugEnd:()=>Cn,_debugProcess:()=>En,_events:()=>Zn,_eventsCount:()=>Gn,_exiting:()=>cn,_fatalExceptions:()=>Nn,_getActiveHandles:()=>mn,_getActiveRequests:()=>fn,_kill:()=>yn,_linkedBinding:()=>un,_maxListeners:()=>zn,_preload_modules:()=>Vn,_rawDebug:()=>sn,_startProfilerIdleNotifier:()=>Sn,_stopProfilerIdleNotifier:()=>Ln,_tickCallback:()=>An,abort:()=>On,addListener:()=>Hn,allowedNodeEnvironmentFlags:()=>Tn,arch:()=>zr,argv:()=>Hr,argv0:()=>Dn,assert:()=>_n,binding:()=>Xr,browser:()=>an,chdir:()=>rn,config:()=>pn,cpuUsage:()=>Vt,cwd:()=>tn,debugPort:()=>$n,default:()=>na,dlopen:()=>dn,domain:()=>ln,emit:()=>Xn,emitWarning:()=>Qr,env:()=>Gr,execArgv:()=>Jr,execPath:()=>Mn,exit:()=>wn,features:()=>kn,hasUncaughtExceptionCaptureCallback:()=>In,hrtime:()=>Dt,kill:()=>vn,listeners:()=>ra,memoryUsage:()=>xn,moduleLoadList:()=>on,nextTick:()=>Vr,off:()=>Yn,on:()=>Te,once:()=>Jn,openStdin:()=>bn,pid:()=>Un,platform:()=>Zr,ppid:()=>jn,prependListener:()=>ea,prependOnceListener:()=>ta,reallyExit:()=>hn,release:()=>nn,removeAllListeners:()=>Qn,removeListener:()=>Kn,resourceUsage:()=>gn,setSourceMapsEnabled:()=>qn,setUncaughtExceptionCaptureCallback:()=>Rn,stderr:()=>Pn,stdin:()=>Fn,stdout:()=>Bn,title:()=>Wr,umask:()=>en,uptime:()=>Wn,version:()=>Yr,versions:()=>Kr});function fr(n){throw new Error("Node.js process "+n+" is not supported by JSPM core outside of Node.js")}function Hi(){!dt||!Fe||(dt=!1,Fe.length?be=Fe.concat(be):$t=-1,be.length&&Dr())}function Dr(){if(!dt){var n=setTimeout(Hi,0);dt=!0;for(var e=be.length;e;){for(Fe=be,be=[];++$t<e;)Fe&&Fe[$t].run();$t=-1,e=be.length}Fe=null,dt=!1,clearTimeout(n)}}function Vr(n){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];be.push(new qr(n,e)),be.length===1&&!dt&&setTimeout(Dr,0)}function qr(n,e){this.fun=n,this.array=e}function ee(){}function un(n){fr("_linkedBinding")}function dn(n){fr("dlopen")}function fn(){return[]}function mn(){return[]}function _n(n,e){if(!n)throw new Error(e||"assertion error")}function In(){return!1}function Wn(){return Ee.now()/1e3}function Dt(n){var e=Math.floor((Date.now()-Ee.now())*.001),t=Ee.now()*.001,r=Math.floor(t)+e,a=Math.floor(t%1*1e9);return n&&(r=r-n[0],a=a-n[1],a<0&&(r--,a+=dr)),[r,a]}function Te(){return na}function ra(n){return[]}var be,dt,Fe,$t,Wr,zr,Zr,Gr,Hr,Jr,Yr,Kr,Qr,Xr,en,tn,rn,nn,an,sn,on,ln,cn,pn,hn,yn,Vt,gn,xn,vn,wn,bn,Tn,kn,Nn,Rn,An,En,Cn,Sn,Ln,Bn,Pn,Fn,On,Un,jn,Mn,$n,Dn,Vn,qn,Ee,pr,dr,zn,Zn,Gn,Hn,Jn,Yn,Kn,Qn,Xn,ea,ta,na,aa=pt(()=>{"use strict";m();y();h();be=[],dt=!1,$t=-1;qr.prototype.run=function(){this.fun.apply(null,this.array)};Wr="browser",zr="x64",Zr="browser",Gr={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},Hr=["/usr/bin/node"],Jr=[],Yr="v16.8.0",Kr={},Qr=function(n,e){console.warn((e?e+": ":"")+n)},Xr=function(n){fr("binding")},en=function(n){return 0},tn=function(){return"/"},rn=function(n){},nn={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};an=!0,sn=ee,on=[];ln={},cn=!1,pn={};hn=ee,yn=ee,Vt=function(){return{}},gn=Vt,xn=Vt,vn=ee,wn=ee,bn=ee,Tn={};kn={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Nn=ee,Rn=ee;An=ee,En=ee,Cn=ee,Sn=ee,Ln=ee,Bn=void 0,Pn=void 0,Fn=void 0,On=ee,Un=2,jn=1,Mn="/bin/usr/node",$n=9229,Dn="node",Vn=[],qn=ee,Ee={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};Ee.now===void 0&&(pr=Date.now(),Ee.timing&&Ee.timing.navigationStart&&(pr=Ee.timing.navigationStart),Ee.now=()=>Date.now()-pr);dr=1e9;Dt.bigint=function(n){var e=Dt(n);return typeof BigInt>"u"?e[0]*dr+e[1]:BigInt(e[0]*dr)+BigInt(e[1])};zn=10,Zn={},Gn=0;Hn=Te,Jn=Te,Yn=Te,Kn=Te,Qn=Te,Xn=ee,ea=Te,ta=Te;na={version:Yr,versions:Kr,arch:zr,platform:Zr,browser:an,release:nn,_rawDebug:sn,moduleLoadList:on,binding:Xr,_linkedBinding:un,_events:Zn,_eventsCount:Gn,_maxListeners:zn,on:Te,addListener:Hn,once:Jn,off:Yn,removeListener:Kn,removeAllListeners:Qn,emit:Xn,prependListener:ea,prependOnceListener:ta,listeners:ra,domain:ln,_exiting:cn,config:pn,dlopen:dn,uptime:Wn,_getActiveRequests:fn,_getActiveHandles:mn,reallyExit:hn,_kill:yn,cpuUsage:Vt,resourceUsage:gn,memoryUsage:xn,kill:vn,exit:wn,openStdin:bn,allowedNodeEnvironmentFlags:Tn,assert:_n,features:kn,_fatalExceptions:Nn,setUncaughtExceptionCaptureCallback:Rn,hasUncaughtExceptionCaptureCallback:In,emitWarning:Qr,nextTick:Vr,_tickCallback:An,_debugProcess:En,_debugEnd:Cn,_startProfilerIdleNotifier:Sn,_stopProfilerIdleNotifier:Ln,stdout:Bn,stdin:Fn,stderr:Pn,abort:On,umask:en,chdir:rn,cwd:tn,env:Gr,title:Wr,argv:Hr,execArgv:Jr,pid:Un,ppid:jn,execPath:Mn,debugPort:$n,hrtime:Dt,argv0:Dn,_preload_modules:Vn,setSourceMapsEnabled:qn}});var h=pt(()=>{"use strict";aa()});function Ji(){if(ia)return _t;ia=!0,_t.byteLength=p,_t.toByteArray=w,_t.fromByteArray=J;for(var n=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=r.length;a<o;++a)n[a]=r[a],e[r.charCodeAt(a)]=a;e[45]=62,e[95]=63;function u(C){var S=C.length;if(S%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var q=C.indexOf("=");q===-1&&(q=S);var K=q===S?0:4-q%4;return[q,K]}function p(C){var S=u(C),q=S[0],K=S[1];return(q+K)*3/4-K}function g(C,S,q){return(S+q)*3/4-q}function w(C){var S,q=u(C),K=q[0],ne=q[1],Y=new t(g(C,K,ne)),ae=0,ce=ne>0?K-4:K,re;for(re=0;re<ce;re+=4)S=e[C.charCodeAt(re)]<<18|e[C.charCodeAt(re+1)]<<12|e[C.charCodeAt(re+2)]<<6|e[C.charCodeAt(re+3)],Y[ae++]=S>>16&255,Y[ae++]=S>>8&255,Y[ae++]=S&255;return ne===2&&(S=e[C.charCodeAt(re)]<<2|e[C.charCodeAt(re+1)]>>4,Y[ae++]=S&255),ne===1&&(S=e[C.charCodeAt(re)]<<10|e[C.charCodeAt(re+1)]<<4|e[C.charCodeAt(re+2)]>>2,Y[ae++]=S>>8&255,Y[ae++]=S&255),Y}function A(C){return n[C>>18&63]+n[C>>12&63]+n[C>>6&63]+n[C&63]}function F(C,S,q){for(var K,ne=[],Y=S;Y<q;Y+=3)K=(C[Y]<<16&16711680)+(C[Y+1]<<8&65280)+(C[Y+2]&255),ne.push(A(K));return ne.join("")}function J(C){for(var S,q=C.length,K=q%3,ne=[],Y=16383,ae=0,ce=q-K;ae<ce;ae+=Y)ne.push(F(C,ae,ae+Y>ce?ce:ae+Y));return K===1?(S=C[q-1],ne.push(n[S>>2]+n[S<<4&63]+"==")):K===2&&(S=(C[q-2]<<8)+C[q-1],ne.push(n[S>>10]+n[S>>4&63]+n[S<<2&63]+"=")),ne.join("")}return _t}function Yi(){if(sa)return qt;sa=!0;return qt.read=function(n,e,t,r,a){var o,u,p=a*8-r-1,g=(1<<p)-1,w=g>>1,A=-7,F=t?a-1:0,J=t?-1:1,C=n[e+F];for(F+=J,o=C&(1<<-A)-1,C>>=-A,A+=p;A>0;o=o*256+n[e+F],F+=J,A-=8);for(u=o&(1<<-A)-1,o>>=-A,A+=r;A>0;u=u*256+n[e+F],F+=J,A-=8);if(o===0)o=1-w;else{if(o===g)return u?NaN:(C?-1:1)*(1/0);u=u+Math.pow(2,r),o=o-w}return(C?-1:1)*u*Math.pow(2,o-r)},qt.write=function(n,e,t,r,a,o){var u,p,g,w=o*8-a-1,A=(1<<w)-1,F=A>>1,J=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,C=r?0:o-1,S=r?1:-1,q=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,u=A):(u=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-u))<1&&(u--,g*=2),u+F>=1?e+=J/g:e+=J*Math.pow(2,1-F),e*g>=2&&(u++,g/=2),u+F>=A?(p=0,u=A):u+F>=1?(p=(e*g-1)*Math.pow(2,a),u=u+F):(p=e*Math.pow(2,F-1)*Math.pow(2,a),u=0));a>=8;n[t+C]=p&255,C+=S,p/=256,a-=8);for(u=u<<a|p,w+=a;w>0;n[t+C]=u&255,C+=S,u/=256,w-=8);n[t+C-S]|=q*128},qt}function ua(){if(oa)return Oe;oa=!0;let n=Ji(),e=Yi(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Oe.Buffer=u,Oe.SlowBuffer=ne,Oe.INSPECT_MAX_BYTES=50;let r=2147483647;Oe.kMaxLength=r,u.TYPED_ARRAY_SUPPORT=a(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let l=new Uint8Array(1),i={foo:function(){return 42}};return Object.setPrototypeOf(i,Uint8Array.prototype),Object.setPrototypeOf(l,i),l.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function o(l){if(l>r)throw new RangeError('The value "'+l+'" is invalid for option "size"');let i=new Uint8Array(l);return Object.setPrototypeOf(i,u.prototype),i}function u(l,i,s){if(typeof l=="number"){if(typeof i=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(l)}return p(l,i,s)}u.poolSize=8192;function p(l,i,s){if(typeof l=="string")return F(l,i);if(ArrayBuffer.isView(l))return C(l);if(l==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l);if(ye(l,ArrayBuffer)||l&&ye(l.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ye(l,SharedArrayBuffer)||l&&ye(l.buffer,SharedArrayBuffer)))return S(l,i,s);if(typeof l=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let c=l.valueOf&&l.valueOf();if(c!=null&&c!==l)return u.from(c,i,s);let f=q(l);if(f)return f;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof l[Symbol.toPrimitive]=="function")return u.from(l[Symbol.toPrimitive]("string"),i,s);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof l)}u.from=function(l,i,s){return p(l,i,s)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function g(l){if(typeof l!="number")throw new TypeError('"size" argument must be of type number');if(l<0)throw new RangeError('The value "'+l+'" is invalid for option "size"')}function w(l,i,s){return g(l),l<=0?o(l):i!==void 0?typeof s=="string"?o(l).fill(i,s):o(l).fill(i):o(l)}u.alloc=function(l,i,s){return w(l,i,s)};function A(l){return g(l),o(l<0?0:K(l)|0)}u.allocUnsafe=function(l){return A(l)},u.allocUnsafeSlow=function(l){return A(l)};function F(l,i){if((typeof i!="string"||i==="")&&(i="utf8"),!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);let s=Y(l,i)|0,c=o(s),f=c.write(l,i);return f!==s&&(c=c.slice(0,f)),c}function J(l){let i=l.length<0?0:K(l.length)|0,s=o(i);for(let c=0;c<i;c+=1)s[c]=l[c]&255;return s}function C(l){if(ye(l,Uint8Array)){let i=new Uint8Array(l);return S(i.buffer,i.byteOffset,i.byteLength)}return J(l)}function S(l,i,s){if(i<0||l.byteLength<i)throw new RangeError('"offset" is outside of buffer bounds');if(l.byteLength<i+(s||0))throw new RangeError('"length" is outside of buffer bounds');let c;return i===void 0&&s===void 0?c=new Uint8Array(l):s===void 0?c=new Uint8Array(l,i):c=new Uint8Array(l,i,s),Object.setPrototypeOf(c,u.prototype),c}function q(l){if(u.isBuffer(l)){let i=K(l.length)|0,s=o(i);return s.length===0||l.copy(s,0,0,i),s}if(l.length!==void 0)return typeof l.length!="number"||lr(l.length)?o(0):J(l);if(l.type==="Buffer"&&Array.isArray(l.data))return J(l.data)}function K(l){if(l>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return l|0}function ne(l){return+l!=l&&(l=0),u.alloc(+l)}u.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==u.prototype},u.compare=function(i,s){if(ye(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),ye(s,Uint8Array)&&(s=u.from(s,s.offset,s.byteLength)),!u.isBuffer(i)||!u.isBuffer(s))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===s)return 0;let c=i.length,f=s.length;for(let x=0,v=Math.min(c,f);x<v;++x)if(i[x]!==s[x]){c=i[x],f=s[x];break}return c<f?-1:f<c?1:0},u.isEncoding=function(i){switch(String(i).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(i,s){if(!Array.isArray(i))throw new TypeError('"list" argument must be an Array of Buffers');if(i.length===0)return u.alloc(0);let c;if(s===void 0)for(s=0,c=0;c<i.length;++c)s+=i[c].length;let f=u.allocUnsafe(s),x=0;for(c=0;c<i.length;++c){let v=i[c];if(ye(v,Uint8Array))x+v.length>f.length?(u.isBuffer(v)||(v=u.from(v)),v.copy(f,x)):Uint8Array.prototype.set.call(f,v,x);else if(u.isBuffer(v))v.copy(f,x);else throw new TypeError('"list" argument must be an Array of Buffers');x+=v.length}return f};function Y(l,i){if(u.isBuffer(l))return l.length;if(ArrayBuffer.isView(l)||ye(l,ArrayBuffer))return l.byteLength;if(typeof l!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof l);let s=l.length,c=arguments.length>2&&arguments[2]===!0;if(!c&&s===0)return 0;let f=!1;for(;;)switch(i){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return ur(l).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return s*2;case"hex":return s>>>1;case"base64":return Mr(l).length;default:if(f)return c?-1:ur(l).length;i=(""+i).toLowerCase(),f=!0}}u.byteLength=Y;function ae(l,i,s){let c=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((s===void 0||s>this.length)&&(s=this.length),s<=0)||(s>>>=0,i>>>=0,s<=i))return"";for(l||(l="utf8");;)switch(l){case"hex":return ji(this,i,s);case"utf8":case"utf-8":return Cr(this,i,s);case"ascii":return Oi(this,i,s);case"latin1":case"binary":return Ui(this,i,s);case"base64":return Pi(this,i,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Mi(this,i,s);default:if(c)throw new TypeError("Unknown encoding: "+l);l=(l+"").toLowerCase(),c=!0}}u.prototype._isBuffer=!0;function ce(l,i,s){let c=l[i];l[i]=l[s],l[s]=c}u.prototype.swap16=function(){let i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;s<i;s+=2)ce(this,s,s+1);return this},u.prototype.swap32=function(){let i=this.length;if(i%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let s=0;s<i;s+=4)ce(this,s,s+3),ce(this,s+1,s+2);return this},u.prototype.swap64=function(){let i=this.length;if(i%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let s=0;s<i;s+=8)ce(this,s,s+7),ce(this,s+1,s+6),ce(this,s+2,s+5),ce(this,s+3,s+4);return this},u.prototype.toString=function(){let i=this.length;return i===0?"":arguments.length===0?Cr(this,0,i):ae.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(i){if(!u.isBuffer(i))throw new TypeError("Argument must be a Buffer");return this===i?!0:u.compare(this,i)===0},u.prototype.inspect=function(){let i="",s=Oe.INSPECT_MAX_BYTES;return i=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(i+=" ... "),"<Buffer "+i+">"},t&&(u.prototype[t]=u.prototype.inspect),u.prototype.compare=function(i,s,c,f,x){if(ye(i,Uint8Array)&&(i=u.from(i,i.offset,i.byteLength)),!u.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(s===void 0&&(s=0),c===void 0&&(c=i?i.length:0),f===void 0&&(f=0),x===void 0&&(x=this.length),s<0||c>i.length||f<0||x>this.length)throw new RangeError("out of range index");if(f>=x&&s>=c)return 0;if(f>=x)return-1;if(s>=c)return 1;if(s>>>=0,c>>>=0,f>>>=0,x>>>=0,this===i)return 0;let v=x-f,U=c-s,G=Math.min(v,U),z=this.slice(f,x),H=i.slice(s,c);for(let W=0;W<G;++W)if(z[W]!==H[W]){v=z[W],U=H[W];break}return v<U?-1:U<v?1:0};function re(l,i,s,c,f){if(l.length===0)return-1;if(typeof s=="string"?(c=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,lr(s)&&(s=f?0:l.length-1),s<0&&(s=l.length+s),s>=l.length){if(f)return-1;s=l.length-1}else if(s<0)if(f)s=0;else return-1;if(typeof i=="string"&&(i=u.from(i,c)),u.isBuffer(i))return i.length===0?-1:Er(l,i,s,c,f);if(typeof i=="number")return i=i&255,typeof Uint8Array.prototype.indexOf=="function"?f?Uint8Array.prototype.indexOf.call(l,i,s):Uint8Array.prototype.lastIndexOf.call(l,i,s):Er(l,[i],s,c,f);throw new TypeError("val must be string, number or Buffer")}function Er(l,i,s,c,f){let x=1,v=l.length,U=i.length;if(c!==void 0&&(c=String(c).toLowerCase(),c==="ucs2"||c==="ucs-2"||c==="utf16le"||c==="utf-16le")){if(l.length<2||i.length<2)return-1;x=2,v/=2,U/=2,s/=2}function G(H,W){return x===1?H[W]:H.readUInt16BE(W*x)}let z;if(f){let H=-1;for(z=s;z<v;z++)if(G(l,z)===G(i,H===-1?0:z-H)){if(H===-1&&(H=z),z-H+1===U)return H*x}else H!==-1&&(z-=z-H),H=-1}else for(s+U>v&&(s=v-U),z=s;z>=0;z--){let H=!0;for(let W=0;W<U;W++)if(G(l,z+W)!==G(i,W)){H=!1;break}if(H)return z}return-1}u.prototype.includes=function(i,s,c){return this.indexOf(i,s,c)!==-1},u.prototype.indexOf=function(i,s,c){return re(this,i,s,c,!0)},u.prototype.lastIndexOf=function(i,s,c){return re(this,i,s,c,!1)};function Ei(l,i,s,c){s=Number(s)||0;let f=l.length-s;c?(c=Number(c),c>f&&(c=f)):c=f;let x=i.length;c>x/2&&(c=x/2);let v;for(v=0;v<c;++v){let U=parseInt(i.substr(v*2,2),16);if(lr(U))return v;l[s+v]=U}return v}function Ci(l,i,s,c){return Mt(ur(i,l.length-s),l,s,c)}function Si(l,i,s,c){return Mt(qi(i),l,s,c)}function Li(l,i,s,c){return Mt(Mr(i),l,s,c)}function Bi(l,i,s,c){return Mt(Wi(i,l.length-s),l,s,c)}u.prototype.write=function(i,s,c,f){if(s===void 0)f="utf8",c=this.length,s=0;else if(c===void 0&&typeof s=="string")f=s,c=this.length,s=0;else if(isFinite(s))s=s>>>0,isFinite(c)?(c=c>>>0,f===void 0&&(f="utf8")):(f=c,c=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let x=this.length-s;if((c===void 0||c>x)&&(c=x),i.length>0&&(c<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let v=!1;for(;;)switch(f){case"hex":return Ei(this,i,s,c);case"utf8":case"utf-8":return Ci(this,i,s,c);case"ascii":case"latin1":case"binary":return Si(this,i,s,c);case"base64":return Li(this,i,s,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Bi(this,i,s,c);default:if(v)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),v=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pi(l,i,s){return i===0&&s===l.length?n.fromByteArray(l):n.fromByteArray(l.slice(i,s))}function Cr(l,i,s){s=Math.min(l.length,s);let c=[],f=i;for(;f<s;){let x=l[f],v=null,U=x>239?4:x>223?3:x>191?2:1;if(f+U<=s){let G,z,H,W;switch(U){case 1:x<128&&(v=x);break;case 2:G=l[f+1],(G&192)===128&&(W=(x&31)<<6|G&63,W>127&&(v=W));break;case 3:G=l[f+1],z=l[f+2],(G&192)===128&&(z&192)===128&&(W=(x&15)<<12|(G&63)<<6|z&63,W>2047&&(W<55296||W>57343)&&(v=W));break;case 4:G=l[f+1],z=l[f+2],H=l[f+3],(G&192)===128&&(z&192)===128&&(H&192)===128&&(W=(x&15)<<18|(G&63)<<12|(z&63)<<6|H&63,W>65535&&W<1114112&&(v=W))}}v===null?(v=65533,U=1):v>65535&&(v-=65536,c.push(v>>>10&1023|55296),v=56320|v&1023),c.push(v),f+=U}return Fi(c)}let Sr=4096;function Fi(l){let i=l.length;if(i<=Sr)return String.fromCharCode.apply(String,l);let s="",c=0;for(;c<i;)s+=String.fromCharCode.apply(String,l.slice(c,c+=Sr));return s}function Oi(l,i,s){let c="";s=Math.min(l.length,s);for(let f=i;f<s;++f)c+=String.fromCharCode(l[f]&127);return c}function Ui(l,i,s){let c="";s=Math.min(l.length,s);for(let f=i;f<s;++f)c+=String.fromCharCode(l[f]);return c}function ji(l,i,s){let c=l.length;(!i||i<0)&&(i=0),(!s||s<0||s>c)&&(s=c);let f="";for(let x=i;x<s;++x)f+=zi[l[x]];return f}function Mi(l,i,s){let c=l.slice(i,s),f="";for(let x=0;x<c.length-1;x+=2)f+=String.fromCharCode(c[x]+c[x+1]*256);return f}u.prototype.slice=function(i,s){let c=this.length;i=~~i,s=s===void 0?c:~~s,i<0?(i+=c,i<0&&(i=0)):i>c&&(i=c),s<0?(s+=c,s<0&&(s=0)):s>c&&(s=c),s<i&&(s=i);let f=this.subarray(i,s);return Object.setPrototypeOf(f,u.prototype),f};function Q(l,i,s){if(l%1!==0||l<0)throw new RangeError("offset is not uint");if(l+i>s)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=this[i],x=1,v=0;for(;++v<s&&(x*=256);)f+=this[i+v]*x;return f},u.prototype.readUintBE=u.prototype.readUIntBE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=this[i+--s],x=1;for(;s>0&&(x*=256);)f+=this[i+--s]*x;return f},u.prototype.readUint8=u.prototype.readUInt8=function(i,s){return i=i>>>0,s||Q(i,1,this.length),this[i]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(i,s){return i=i>>>0,s||Q(i,2,this.length),this[i]|this[i+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(i,s){return i=i>>>0,s||Q(i,2,this.length),this[i]<<8|this[i+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},u.prototype.readBigUInt64LE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,x=this[++i]+this[++i]*2**8+this[++i]*2**16+c*2**24;return BigInt(f)+(BigInt(x)<<BigInt(32))}),u.prototype.readBigUInt64BE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=s*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],x=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+c;return(BigInt(f)<<BigInt(32))+BigInt(x)}),u.prototype.readIntLE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=this[i],x=1,v=0;for(;++v<s&&(x*=256);)f+=this[i+v]*x;return x*=128,f>=x&&(f-=Math.pow(2,8*s)),f},u.prototype.readIntBE=function(i,s,c){i=i>>>0,s=s>>>0,c||Q(i,s,this.length);let f=s,x=1,v=this[i+--f];for(;f>0&&(x*=256);)v+=this[i+--f]*x;return x*=128,v>=x&&(v-=Math.pow(2,8*s)),v},u.prototype.readInt8=function(i,s){return i=i>>>0,s||Q(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},u.prototype.readInt16LE=function(i,s){i=i>>>0,s||Q(i,2,this.length);let c=this[i]|this[i+1]<<8;return c&32768?c|4294901760:c},u.prototype.readInt16BE=function(i,s){i=i>>>0,s||Q(i,2,this.length);let c=this[i+1]|this[i]<<8;return c&32768?c|4294901760:c},u.prototype.readInt32LE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},u.prototype.readInt32BE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},u.prototype.readBigInt64LE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(c<<24);return(BigInt(f)<<BigInt(32))+BigInt(s+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24)}),u.prototype.readBigInt64BE=Ae(function(i){i=i>>>0,ct(i,"offset");let s=this[i],c=this[i+7];(s===void 0||c===void 0)&&Tt(i,this.length-8);let f=(s<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(f)<<BigInt(32))+BigInt(this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+c)}),u.prototype.readFloatLE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),e.read(this,i,!0,23,4)},u.prototype.readFloatBE=function(i,s){return i=i>>>0,s||Q(i,4,this.length),e.read(this,i,!1,23,4)},u.prototype.readDoubleLE=function(i,s){return i=i>>>0,s||Q(i,8,this.length),e.read(this,i,!0,52,8)},u.prototype.readDoubleBE=function(i,s){return i=i>>>0,s||Q(i,8,this.length),e.read(this,i,!1,52,8)};function ie(l,i,s,c,f,x){if(!u.isBuffer(l))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>f||i<x)throw new RangeError('"value" argument is out of bounds');if(s+c>l.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(i,s,c,f){if(i=+i,s=s>>>0,c=c>>>0,!f){let U=Math.pow(2,8*c)-1;ie(this,i,s,c,U,0)}let x=1,v=0;for(this[s]=i&255;++v<c&&(x*=256);)this[s+v]=i/x&255;return s+c},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(i,s,c,f){if(i=+i,s=s>>>0,c=c>>>0,!f){let U=Math.pow(2,8*c)-1;ie(this,i,s,c,U,0)}let x=c-1,v=1;for(this[s+x]=i&255;--x>=0&&(v*=256);)this[s+x]=i/v&255;return s+c},u.prototype.writeUint8=u.prototype.writeUInt8=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,1,255,0),this[s]=i&255,s+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,65535,0),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=i&255,s+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4};function Lr(l,i,s,c,f){jr(i,c,f,l,s,7);let x=Number(i&BigInt(4294967295));l[s++]=x,x=x>>8,l[s++]=x,x=x>>8,l[s++]=x,x=x>>8,l[s++]=x;let v=Number(i>>BigInt(32)&BigInt(4294967295));return l[s++]=v,v=v>>8,l[s++]=v,v=v>>8,l[s++]=v,v=v>>8,l[s++]=v,s}function Br(l,i,s,c,f){jr(i,c,f,l,s,7);let x=Number(i&BigInt(4294967295));l[s+7]=x,x=x>>8,l[s+6]=x,x=x>>8,l[s+5]=x,x=x>>8,l[s+4]=x;let v=Number(i>>BigInt(32)&BigInt(4294967295));return l[s+3]=v,v=v>>8,l[s+2]=v,v=v>>8,l[s+1]=v,v=v>>8,l[s]=v,s+8}u.prototype.writeBigUInt64LE=Ae(function(i,s=0){return Lr(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=Ae(function(i,s=0){return Br(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(i,s,c,f){if(i=+i,s=s>>>0,!f){let G=Math.pow(2,8*c-1);ie(this,i,s,c,G-1,-G)}let x=0,v=1,U=0;for(this[s]=i&255;++x<c&&(v*=256);)i<0&&U===0&&this[s+x-1]!==0&&(U=1),this[s+x]=(i/v>>0)-U&255;return s+c},u.prototype.writeIntBE=function(i,s,c,f){if(i=+i,s=s>>>0,!f){let G=Math.pow(2,8*c-1);ie(this,i,s,c,G-1,-G)}let x=c-1,v=1,U=0;for(this[s+x]=i&255;--x>=0&&(v*=256);)i<0&&U===0&&this[s+x+1]!==0&&(U=1),this[s+x]=(i/v>>0)-U&255;return s+c},u.prototype.writeInt8=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=i&255,s+1},u.prototype.writeInt16LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,32767,-32768),this[s]=i&255,this[s+1]=i>>>8,s+2},u.prototype.writeInt16BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=i&255,s+2},u.prototype.writeInt32LE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,2147483647,-2147483648),this[s]=i&255,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},u.prototype.writeInt32BE=function(i,s,c){return i=+i,s=s>>>0,c||ie(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=i&255,s+4},u.prototype.writeBigInt64LE=Ae(function(i,s=0){return Lr(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=Ae(function(i,s=0){return Br(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Pr(l,i,s,c,f,x){if(s+c>l.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function Fr(l,i,s,c,f){return i=+i,s=s>>>0,f||Pr(l,i,s,4),e.write(l,i,s,c,23,4),s+4}u.prototype.writeFloatLE=function(i,s,c){return Fr(this,i,s,!0,c)},u.prototype.writeFloatBE=function(i,s,c){return Fr(this,i,s,!1,c)};function Or(l,i,s,c,f){return i=+i,s=s>>>0,f||Pr(l,i,s,8),e.write(l,i,s,c,52,8),s+8}u.prototype.writeDoubleLE=function(i,s,c){return Or(this,i,s,!0,c)},u.prototype.writeDoubleBE=function(i,s,c){return Or(this,i,s,!1,c)},u.prototype.copy=function(i,s,c,f){if(!u.isBuffer(i))throw new TypeError("argument should be a Buffer");if(c||(c=0),!f&&f!==0&&(f=this.length),s>=i.length&&(s=i.length),s||(s=0),f>0&&f<c&&(f=c),f===c||i.length===0||this.length===0)return 0;if(s<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("sourceEnd out of bounds");f>this.length&&(f=this.length),i.length-s<f-c&&(f=i.length-s+c);let x=f-c;return this===i&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(s,c,f):Uint8Array.prototype.set.call(i,this.subarray(c,f),s),x},u.prototype.fill=function(i,s,c,f){if(typeof i=="string"){if(typeof s=="string"?(f=s,s=0,c=this.length):typeof c=="string"&&(f=c,c=this.length),f!==void 0&&typeof f!="string")throw new TypeError("encoding must be a string");if(typeof f=="string"&&!u.isEncoding(f))throw new TypeError("Unknown encoding: "+f);if(i.length===1){let v=i.charCodeAt(0);(f==="utf8"&&v<128||f==="latin1")&&(i=v)}}else typeof i=="number"?i=i&255:typeof i=="boolean"&&(i=Number(i));if(s<0||this.length<s||this.length<c)throw new RangeError("Out of range index");if(c<=s)return this;s=s>>>0,c=c===void 0?this.length:c>>>0,i||(i=0);let x;if(typeof i=="number")for(x=s;x<c;++x)this[x]=i;else{let v=u.isBuffer(i)?i:u.from(i,f),U=v.length;if(U===0)throw new TypeError('The value "'+i+'" is invalid for argument "value"');for(x=0;x<c-s;++x)this[x+s]=v[x%U]}return this};let lt={};function or(l,i,s){lt[l]=class extends s{constructor(){super(),Object.defineProperty(this,"message",{value:i.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${l}]`,this.stack,delete this.name}get code(){return l}set code(f){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:f,writable:!0})}toString(){return`${this.name} [${l}]: ${this.message}`}}}or("ERR_BUFFER_OUT_OF_BOUNDS",function(l){return l?`${l} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),or("ERR_INVALID_ARG_TYPE",function(l,i){return`The "${l}" argument must be of type number. Received type ${typeof i}`},TypeError),or("ERR_OUT_OF_RANGE",function(l,i,s){let c=`The value of "${l}" is out of range.`,f=s;return Number.isInteger(s)&&Math.abs(s)>2**32?f=Ur(String(s)):typeof s=="bigint"&&(f=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(f=Ur(f)),f+="n"),c+=` It must be ${i}. Received ${f}`,c},RangeError);function Ur(l){let i="",s=l.length,c=l[0]==="-"?1:0;for(;s>=c+4;s-=3)i=`_${l.slice(s-3,s)}${i}`;return`${l.slice(0,s)}${i}`}function $i(l,i,s){ct(i,"offset"),(l[i]===void 0||l[i+s]===void 0)&&Tt(i,l.length-(s+1))}function jr(l,i,s,c,f,x){if(l>s||l<i){let v=typeof i=="bigint"?"n":"",U;throw i===0||i===BigInt(0)?U=`>= 0${v} and < 2${v} ** ${(x+1)*8}${v}`:U=`>= -(2${v} ** ${(x+1)*8-1}${v}) and < 2 ** ${(x+1)*8-1}${v}`,new lt.ERR_OUT_OF_RANGE("value",U,l)}$i(c,f,x)}function ct(l,i){if(typeof l!="number")throw new lt.ERR_INVALID_ARG_TYPE(i,"number",l)}function Tt(l,i,s){throw Math.floor(l)!==l?(ct(l,s),new lt.ERR_OUT_OF_RANGE("offset","an integer",l)):i<0?new lt.ERR_BUFFER_OUT_OF_BOUNDS:new lt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${i}`,l)}let Di=/[^+/0-9A-Za-z-_]/g;function Vi(l){if(l=l.split("=")[0],l=l.trim().replace(Di,""),l.length<2)return"";for(;l.length%4!==0;)l=l+"=";return l}function ur(l,i){i=i||1/0;let s,c=l.length,f=null,x=[];for(let v=0;v<c;++v){if(s=l.charCodeAt(v),s>55295&&s<57344){if(!f){if(s>56319){(i-=3)>-1&&x.push(239,191,189);continue}else if(v+1===c){(i-=3)>-1&&x.push(239,191,189);continue}f=s;continue}if(s<56320){(i-=3)>-1&&x.push(239,191,189),f=s;continue}s=(f-55296<<10|s-56320)+65536}else f&&(i-=3)>-1&&x.push(239,191,189);if(f=null,s<128){if((i-=1)<0)break;x.push(s)}else if(s<2048){if((i-=2)<0)break;x.push(s>>6|192,s&63|128)}else if(s<65536){if((i-=3)<0)break;x.push(s>>12|224,s>>6&63|128,s&63|128)}else if(s<1114112){if((i-=4)<0)break;x.push(s>>18|240,s>>12&63|128,s>>6&63|128,s&63|128)}else throw new Error("Invalid code point")}return x}function qi(l){let i=[];for(let s=0;s<l.length;++s)i.push(l.charCodeAt(s)&255);return i}function Wi(l,i){let s,c,f,x=[];for(let v=0;v<l.length&&!((i-=2)<0);++v)s=l.charCodeAt(v),c=s>>8,f=s%256,x.push(f),x.push(c);return x}function Mr(l){return n.toByteArray(Vi(l))}function Mt(l,i,s,c){let f;for(f=0;f<c&&!(f+s>=i.length||f>=l.length);++f)i[f+s]=l[f];return f}function ye(l,i){return l instanceof i||l!=null&&l.constructor!=null&&l.constructor.name!=null&&l.constructor.name===i.name}function lr(l){return l!==l}let zi=(function(){let l="0123456789abcdef",i=new Array(256);for(let s=0;s<16;++s){let c=s*16;for(let f=0;f<16;++f)i[c+f]=l[s]+l[f]}return i})();function Ae(l){return typeof BigInt>"u"?Zi:l}function Zi(){throw new Error("BigInt not supported")}return Oe}var _t,ia,qt,sa,Oe,oa,la=pt(()=>{"use strict";m();y();h();_t={},ia=!1;qt={},sa=!1;Oe={},oa=!1});var Ue,k,$l,Dl,ca=pt(()=>{"use strict";m();y();h();la();Ue=ua();Ue.Buffer;Ue.SlowBuffer;Ue.INSPECT_MAX_BYTES;Ue.kMaxLength;k=Ue.Buffer,$l=Ue.INSPECT_MAX_BYTES,Dl=Ue.kMaxLength});var y=pt(()=>{"use strict";ca()});m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();var Ki=typeof global=="object"&&global&&global.Object===Object&&global,pa=Ki;var Qi=typeof self=="object"&&self&&self.Object===Object&&self,Xi=pa||Qi||Function("return this")(),da=Xi;var es=da.Symbol,_e=es;m();y();h();var fa=Object.prototype,ts=fa.hasOwnProperty,rs=fa.toString,kt=_e?_e.toStringTag:void 0;function ns(n){var e=ts.call(n,kt),t=n[kt];try{n[kt]=void 0;var r=!0}catch{}var a=rs.call(n);return r&&(e?n[kt]=t:delete n[kt]),a}var ma=ns;m();y();h();var as=Object.prototype,is=as.toString;function ss(n){return is.call(n)}var ha=ss;var os="[object Null]",us="[object Undefined]",ya=_e?_e.toStringTag:void 0;function ls(n){return n==null?n===void 0?us:os:ya&&ya in Object(n)?ma(n):ha(n)}var ga=ls;m();y();h();function cs(n){return n!=null&&typeof n=="object"}var xa=cs;var ps="[object Symbol]";function ds(n){return typeof n=="symbol"||xa(n)&&ga(n)==ps}var va=ds;m();y();h();m();y();h();function fs(n,e){for(var t=-1,r=n==null?0:n.length,a=Array(r);++t<r;)a[t]=e(n[t],t,n);return a}var wa=fs;m();y();h();var ms=Array.isArray,ba=ms;var hs=1/0,Ta=_e?_e.prototype:void 0,_a=Ta?Ta.toString:void 0;function ka(n){if(typeof n=="string")return n;if(ba(n))return wa(n,ka)+"";if(va(n))return _a?_a.call(n):"";var e=n+"";return e=="0"&&1/n==-hs?"-0":e}var Na=ka;m();y();h();function ys(n){return n==null?"":Na(n)}var Ce=ys;m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();m();y();h();function gs(n,e,t){var r=-1,a=n.length;e<0&&(e=-e>a?0:a+e),t=t>a?a:t,t<0&&(t+=a),a=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(a);++r<a;)o[r]=n[r+e];return o}var Ra=gs;function xs(n,e,t){var r=n.length;return t=t===void 0?r:t,!e&&t>=r?n:Ra(n,e,t)}var Ia=xs;m();y();h();var vs="\\ud800-\\udfff",ws="\\u0300-\\u036f",bs="\\ufe20-\\ufe2f",Ts="\\u20d0-\\u20ff",_s=ws+bs+Ts,ks="\\ufe0e\\ufe0f",Ns="\\u200d",Rs=RegExp("["+Ns+vs+_s+ks+"]");function Is(n){return Rs.test(n)}var Wt=Is;m();y();h();m();y();h();function As(n){return n.split("")}var Aa=As;m();y();h();var Ea="\\ud800-\\udfff",Es="\\u0300-\\u036f",Cs="\\ufe20-\\ufe2f",Ss="\\u20d0-\\u20ff",Ls=Es+Cs+Ss,Bs="\\ufe0e\\ufe0f",Ps="["+Ea+"]",mr="["+Ls+"]",hr="\\ud83c[\\udffb-\\udfff]",Fs="(?:"+mr+"|"+hr+")",Ca="[^"+Ea+"]",Sa="(?:\\ud83c[\\udde6-\\uddff]){2}",La="[\\ud800-\\udbff][\\udc00-\\udfff]",Os="\\u200d",Ba=Fs+"?",Pa="["+Bs+"]?",Us="(?:"+Os+"(?:"+[Ca,Sa,La].join("|")+")"+Pa+Ba+")*",js=Pa+Ba+Us,Ms="(?:"+[Ca+mr+"?",mr,Sa,La,Ps].join("|")+")",$s=RegExp(hr+"(?="+hr+")|"+Ms+js,"g");function Ds(n){return n.match($s)||[]}var Fa=Ds;function Vs(n){return Wt(n)?Fa(n):Aa(n)}var Oa=Vs;function qs(n){return function(e){e=Ce(e);var t=Wt(e)?Oa(e):void 0,r=t?t[0]:e.charAt(0),a=t?Ia(t,1).join(""):e.slice(1);return r[n]()+a}}var Ua=qs;var Ws=Ua("toUpperCase"),ja=Ws;function zs(n){return ja(Ce(n).toLowerCase())}var Ma=zs;m();y();h();m();y();h();function Zs(n,e,t,r){var a=-1,o=n==null?0:n.length;for(r&&o&&(t=n[++a]);++a<o;)t=e(t,n[a],a,n);return t}var $a=Zs;m();y();h();m();y();h();m();y();h();function Gs(n){return function(e){return n?.[e]}}var Da=Gs;var Hs={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Js=Da(Hs),Va=Js;var Ys=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ks="\\u0300-\\u036f",Qs="\\ufe20-\\ufe2f",Xs="\\u20d0-\\u20ff",eo=Ks+Qs+Xs,to="["+eo+"]",ro=RegExp(to,"g");function no(n){return n=Ce(n),n&&n.replace(Ys,Va).replace(ro,"")}var qa=no;m();y();h();m();y();h();var ao=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function io(n){return n.match(ao)||[]}var Wa=io;m();y();h();var so=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function oo(n){return so.test(n)}var za=oo;m();y();h();var Ya="\\ud800-\\udfff",uo="\\u0300-\\u036f",lo="\\ufe20-\\ufe2f",co="\\u20d0-\\u20ff",po=uo+lo+co,Ka="\\u2700-\\u27bf",Qa="a-z\\xdf-\\xf6\\xf8-\\xff",fo="\\xac\\xb1\\xd7\\xf7",mo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ho="\\u2000-\\u206f",yo=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xa="A-Z\\xc0-\\xd6\\xd8-\\xde",go="\\ufe0e\\ufe0f",ei=fo+mo+ho+yo,ti="['\u2019]",Za="["+ei+"]",xo="["+po+"]",ri="\\d+",vo="["+Ka+"]",ni="["+Qa+"]",ai="[^"+Ya+ei+ri+Ka+Qa+Xa+"]",wo="\\ud83c[\\udffb-\\udfff]",bo="(?:"+xo+"|"+wo+")",To="[^"+Ya+"]",ii="(?:\\ud83c[\\udde6-\\uddff]){2}",si="[\\ud800-\\udbff][\\udc00-\\udfff]",ft="["+Xa+"]",_o="\\u200d",Ga="(?:"+ni+"|"+ai+")",ko="(?:"+ft+"|"+ai+")",Ha="(?:"+ti+"(?:d|ll|m|re|s|t|ve))?",Ja="(?:"+ti+"(?:D|LL|M|RE|S|T|VE))?",oi=bo+"?",ui="["+go+"]?",No="(?:"+_o+"(?:"+[To,ii,si].join("|")+")"+ui+oi+")*",Ro="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Io="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ao=ui+oi+No,Eo="(?:"+[vo,ii,si].join("|")+")"+Ao,Co=RegExp([ft+"?"+ni+"+"+Ha+"(?="+[Za,ft,"$"].join("|")+")",ko+"+"+Ja+"(?="+[Za,ft+Ga,"$"].join("|")+")",ft+"?"+Ga+"+"+Ha,ft+"+"+Ja,Io,Ro,ri,Eo].join("|"),"g");function So(n){return n.match(Co)||[]}var li=So;function Lo(n,e,t){return n=Ce(n),e=t?void 0:e,e===void 0?za(n)?li(n):Wa(n):n.match(e)||[]}var ci=Lo;var Bo="['\u2019]",Po=RegExp(Bo,"g");function Fo(n){return function(e){return $a(ci(qa(e).replace(Po,"")),n,"")}}var pi=Fo;var Oo=pi(function(n,e,t){return e=e.toLowerCase(),n+(t?Ma(e):e)}),yr=Oo;m();y();h();function M(n){throw new Error("Unexpected value: "+JSON.stringify(n))}m();y();h();function Nt(n){return Object.keys(n)}m();y();h();m();y();h();m();y();h();var Rt=T.env.FERN_STACK_TRACK?.toLowerCase()??"",ge=Rt!==""&&Rt!=="0"&&Rt!=="false",gr=["single","multiline","box"].includes(Rt)?Rt:"single";ge&&(Error.stackTraceLimit=50);var Uo=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),jo=new Set(["stacktrace"]);function Zt({maxFrames:n=50,skip:e=0,filterPaths:t=[],filterFunctions:r=[],stopOn:a=[],filterNode:o=!0,filterJs:u=!0,formatFilename:p=g=>g}={}){if(!ge)return[];r=[...r,...Uo],t=[...t,...jo],a=[...a,"runInteractiveTask"];let g=!1;return(new Error().stack??"").split(`
|
|
2
2
|
`).map(w=>{let A=w.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(A&&A.length===5){let[,F,J,C,S]=A;if(!F||!J||!C||!S)return;if(g||a.some(q=>F?.includes(q))){g=!0;return}switch(F){case"Object.<anonymous>":F="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":F=`${F.substring(F.indexOf(".")+1)}()=> { ... }`;break}return{fn:F,path:p(J),position:`${C}:${S}`}}}).filter(w=>w&&!r.some(A=>w.fn.includes(A))&&!(o&&w.path?.startsWith("node:"))&&!(u&&w.path?.endsWith(".js"))&&!t.some(A=>w.path.includes(A))).slice(e,e+n)}var zt=class{constructor({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:a=[],stopOn:o=[],filterNode:u=!0,filterJs:p=!0,multiline:g=!1,formatFilename:w=A=>A}={}){_(this,"maxFrames");_(this,"skip");_(this,"filterPaths");_(this,"filterFunctions");_(this,"stopOn");_(this,"filterNode");_(this,"filterJs");_(this,"multiline");_(this,"formatFilename");_(this,"tracking",new WeakMap);this.maxFrames=e,this.skip=t,this.filterPaths=r,this.filterFunctions=a,this.stopOn=o,this.filterNode=u,this.filterJs=p,this.multiline=g,this.formatFilename=w}tag(e){let t=this.tracking.get(e)||new Set;Zt({maxFrames:this.maxFrames,skip:this.skip,filterPaths:this.filterPaths,filterFunctions:this.filterFunctions,stopOn:this.stopOn,filterNode:this.filterNode,filterJs:this.filterJs,formatFilename:this.formatFilename}).forEach(r=>t.add(r)),this.tracking.set(e,t)}trace(e){if(!ge)return"";let t=this.tracking.get(e);return t?[...t].map(r=>`${this.multiline?`
|
|
3
3
|
`:""}${r.fn} - ${r.path}:${r.position}`).join(""):""}frames(e){let t=this.tracking.get(e);return t?[...t]:[]}free(e){this.tracking.delete(e)}clear(){this.tracking=new WeakMap}},xr;function di({maxFrames:n=50,skip:e=0,filterPaths:t=[],filterFunctions:r=[],stopOn:a=[],filterNode:o=!0,filterJs:u=!0,multiline:p=!1,formatFilename:g=w=>w}={}){ge&&(xr??(xr=new zt({maxFrames:n,skip:e,filterPaths:t,filterFunctions:r,stopOn:a,filterNode:o,filterJs:u,multiline:p,formatFilename:g})))}function fi(n){xr?.tag(n)}function vr(n){return xr?.frames(n)??[]}var je=class{constructor(){fi(this)}};m();y();h();var Gt=class{formatMultiple(e){return Promise.all(e.map(t=>this.format(t)))}formatMultipleSync(e){return e.map(t=>this.formatSync(t))}},It=class extends Gt{async format(e){return e}formatSync(e){return e}};m();y();h();m();y();h();m();y();h();var me=class extends je{constructor(t){super();_(this,"value");this.value=t}write(t){typeof this.value=="string"?t.write(this.value):typeof this.value=="function"?this.value(t):this.value.write(t)}};var Mo=4;di({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var At=class{constructor(){_(this,"lineBuffer",[]);_(this,"indentLevel",0);_(this,"hasWrittenAnything",!1);_(this,"lastCharacterIsSemicolon",!1);_(this,"lastCharacterIsNewline",!1);_(this,"nodeStackFrames",[])}get buffer(){return ge&&this.nodeStackFrames.length>0&&this.writeInternal(`
|
|
4
4
|
`),this.lineBuffer.join(`
|