@fern-api/csharp-dynamic-snippets 2.68.1 → 2.68.3
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 oc=Object.defineProperty;var od=(e,t,r)=>t in e?oc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ar=(e,t)=>()=>(e&&(t=e(e=0)),t);var z=(e,t)=>{for(var r in t)oc(e,r,{get:t[r],enumerable:!0})};var y=(e,t,r)=>od(e,typeof t!="symbol"?t+"":t,r);var n=ar(()=>{"use strict"});var f={};z(f,{_debugEnd:()=>Qc,_debugProcess:()=>Kc,_events:()=>fp,_eventsCount:()=>mp,_exiting:()=>Cc,_fatalExceptions:()=>Wc,_getActiveHandles:()=>Lc,_getActiveRequests:()=>Fc,_kill:()=>Bc,_linkedBinding:()=>Oc,_maxListeners:()=>lp,_preload_modules:()=>up,_rawDebug:()=>Nc,_startProfilerIdleNotifier:()=>Yc,_stopProfilerIdleNotifier:()=>Xc,_tickCallback:()=>Jc,abort:()=>rp,addListener:()=>dp,allowedNodeEnvironmentFlags:()=>zc,arch:()=>fc,argv:()=>hc,argv0:()=>op,assert:()=>qc,binding:()=>Sc,browser:()=>Ac,chdir:()=>Ec,config:()=>_c,cpuUsage:()=>Bn,cwd:()=>Tc,debugPort:()=>ap,default:()=>Ep,dlopen:()=>kc,domain:()=>Pc,emit:()=>xp,emitWarning:()=>xc,env:()=>dc,execArgv:()=>yc,execPath:()=>sp,exit:()=>vc,features:()=>Gc,hasUncaughtExceptionCaptureCallback:()=>Hc,hrtime:()=>jn,kill:()=>Mc,listeners:()=>Tp,memoryUsage:()=>Uc,moduleLoadList:()=>Rc,nextTick:()=>cc,off:()=>yp,on:()=>st,once:()=>hp,openStdin:()=>Vc,pid:()=>ip,platform:()=>mc,ppid:()=>np,prependListener:()=>Sp,prependOnceListener:()=>wp,reallyExit:()=>jc,release:()=>Ic,removeAllListeners:()=>bp,removeListener:()=>gp,resourceUsage:()=>Dc,setSourceMapsEnabled:()=>cp,setUncaughtExceptionCaptureCallback:()=>$c,stderr:()=>ep,stdin:()=>tp,stdout:()=>Zc,title:()=>lc,umask:()=>wc,uptime:()=>pp,version:()=>gc,versions:()=>bc});function Po(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function ud(){!or||!qt||(or=!1,qt.length?nt=qt.concat(nt):Ln=-1,nt.length&&uc())}function uc(){if(!or){var e=setTimeout(ud,0);or=!0;for(var t=nt.length;t;){for(qt=nt,nt=[];++Ln<t;)qt&&qt[Ln].run();Ln=-1,t=nt.length}qt=null,or=!1,clearTimeout(e)}}function cc(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];nt.push(new pc(e,t)),nt.length===1&&!or&&setTimeout(uc,0)}function pc(e,t){this.fun=e,this.array=t}function Oe(){}function Oc(e){Po("_linkedBinding")}function kc(e){Po("dlopen")}function Fc(){return[]}function Lc(){return[]}function qc(e,t){if(!e)throw new Error(t||"assertion error")}function Hc(){return!1}function pp(){return bt.now()/1e3}function jn(e){var t=Math.floor((Date.now()-bt.now())*.001),r=bt.now()*.001,i=Math.floor(r)+t,o=Math.floor(r%1*1e9);return e&&(i=i-e[0],o=o-e[1],o<0&&(i--,o+=Oo)),[i,o]}function st(){return Ep}function Tp(e){return[]}var nt,or,qt,Ln,lc,fc,mc,dc,hc,yc,gc,bc,xc,Sc,wc,Tc,Ec,Ic,Ac,Nc,Rc,Pc,Cc,_c,jc,Bc,Bn,Dc,Uc,Mc,vc,Vc,zc,Gc,Wc,$c,Jc,Kc,Qc,Yc,Xc,Zc,ep,tp,rp,ip,np,sp,ap,op,up,cp,bt,Ro,Oo,lp,fp,mp,dp,hp,yp,gp,bp,xp,Sp,wp,Ep,Ip=ar(()=>{"use strict";n();a();s();nt=[],or=!1,Ln=-1;pc.prototype.run=function(){this.fun.apply(null,this.array)};lc="browser",fc="x64",mc="browser",dc={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},hc=["/usr/bin/node"],yc=[],gc="v16.8.0",bc={},xc=function(e,t){console.warn((t?t+": ":"")+e)},Sc=function(e){Po("binding")},wc=function(e){return 0},Tc=function(){return"/"},Ec=function(e){},Ic={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Ac=!0,Nc=Oe,Rc=[];Pc={},Cc=!1,_c={};jc=Oe,Bc=Oe,Bn=function(){return{}},Dc=Bn,Uc=Bn,Mc=Oe,vc=Oe,Vc=Oe,zc={};Gc={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Wc=Oe,$c=Oe;Jc=Oe,Kc=Oe,Qc=Oe,Yc=Oe,Xc=Oe,Zc=void 0,ep=void 0,tp=void 0,rp=Oe,ip=2,np=1,sp="/bin/usr/node",ap=9229,op="node",up=[],cp=Oe,bt={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};bt.now===void 0&&(Ro=Date.now(),bt.timing&&bt.timing.navigationStart&&(Ro=bt.timing.navigationStart),bt.now=()=>Date.now()-Ro);Oo=1e9;jn.bigint=function(e){var t=jn(e);return typeof BigInt>"u"?t[0]*Oo+t[1]:BigInt(t[0]*Oo)+BigInt(t[1])};lp=10,fp={},mp=0;dp=st,hp=st,yp=st,gp=st,bp=st,xp=Oe,Sp=st,wp=st;Ep={version:gc,versions:bc,arch:fc,platform:mc,browser:Ac,release:Ic,_rawDebug:Nc,moduleLoadList:Rc,binding:Sc,_linkedBinding:Oc,_events:fp,_eventsCount:mp,_maxListeners:lp,on:st,addListener:dp,once:hp,off:yp,removeListener:gp,removeAllListeners:bp,emit:xp,prependListener:Sp,prependOnceListener:wp,listeners:Tp,domain:Pc,_exiting:Cc,config:_c,dlopen:kc,uptime:pp,_getActiveRequests:Fc,_getActiveHandles:Lc,reallyExit:jc,_kill:Bc,cpuUsage:Bn,resourceUsage:Dc,memoryUsage:Uc,kill:Mc,exit:vc,openStdin:Vc,allowedNodeEnvironmentFlags:zc,assert:qc,features:Gc,_fatalExceptions:Wc,setUncaughtExceptionCaptureCallback:$c,hasUncaughtExceptionCaptureCallback:Hc,emitWarning:xc,nextTick:cc,_tickCallback:Jc,_debugProcess:Kc,_debugEnd:Qc,_startProfilerIdleNotifier:Yc,_stopProfilerIdleNotifier:Xc,stdout:Zc,stdin:tp,stderr:ep,abort:rp,umask:wc,chdir:Ec,cwd:Tc,env:dc,title:lc,argv:hc,execArgv:yc,pid:ip,ppid:np,execPath:sp,debugPort:ap,hrtime:jn,argv0:op,_preload_modules:up,setSourceMapsEnabled:cp}});var s=ar(()=>{"use strict";Ip()});function cd(){if(Ap)return Pi;Ap=!0,Pi.byteLength=x,Pi.toByteArray=I,Pi.fromByteArray=F;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=i.length;o<c;++o)e[o]=i[o],t[i.charCodeAt(o)]=o;t[45]=62,t[95]=63;function p(N){var j=N.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=N.indexOf("=");M===-1&&(M=j);var D=M===j?0:4-M%4;return[M,D]}function x(N){var j=p(N),M=j[0],D=j[1];return(M+D)*3/4-D}function w(N,j,M){return(j+M)*3/4-M}function I(N){var j,M=p(N),D=M[0],G=M[1],Q=new r(w(N,D,G)),oe=0,X=G>0?D-4:D,K;for(K=0;K<X;K+=4)j=t[N.charCodeAt(K)]<<18|t[N.charCodeAt(K+1)]<<12|t[N.charCodeAt(K+2)]<<6|t[N.charCodeAt(K+3)],Q[oe++]=j>>16&255,Q[oe++]=j>>8&255,Q[oe++]=j&255;return G===2&&(j=t[N.charCodeAt(K)]<<2|t[N.charCodeAt(K+1)]>>4,Q[oe++]=j&255),G===1&&(j=t[N.charCodeAt(K)]<<10|t[N.charCodeAt(K+1)]<<4|t[N.charCodeAt(K+2)]>>2,Q[oe++]=j>>8&255,Q[oe++]=j&255),Q}function A(N){return e[N>>18&63]+e[N>>12&63]+e[N>>6&63]+e[N&63]}function P(N,j,M){for(var D,G=[],Q=j;Q<M;Q+=3)D=(N[Q]<<16&16711680)+(N[Q+1]<<8&65280)+(N[Q+2]&255),G.push(A(D));return G.join("")}function F(N){for(var j,M=N.length,D=M%3,G=[],Q=16383,oe=0,X=M-D;oe<X;oe+=Q)G.push(P(N,oe,oe+Q>X?X:oe+Q));return D===1?(j=N[M-1],G.push(e[j>>2]+e[j<<4&63]+"==")):D===2&&(j=(N[M-2]<<8)+N[M-1],G.push(e[j>>10]+e[j>>4&63]+e[j<<2&63]+"=")),G.join("")}return Pi}function pd(){if(Np)return Dn;Np=!0;return Dn.read=function(e,t,r,i,o){var c,p,x=o*8-i-1,w=(1<<x)-1,I=w>>1,A=-7,P=r?o-1:0,F=r?-1:1,N=e[t+P];for(P+=F,c=N&(1<<-A)-1,N>>=-A,A+=x;A>0;c=c*256+e[t+P],P+=F,A-=8);for(p=c&(1<<-A)-1,c>>=-A,A+=i;A>0;p=p*256+e[t+P],P+=F,A-=8);if(c===0)c=1-I;else{if(c===w)return p?NaN:(N?-1:1)*(1/0);p=p+Math.pow(2,i),c=c-I}return(N?-1:1)*p*Math.pow(2,c-i)},Dn.write=function(e,t,r,i,o,c){var p,x,w,I=c*8-o-1,A=(1<<I)-1,P=A>>1,F=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=i?0:c-1,j=i?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(x=isNaN(t)?1:0,p=A):(p=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-p))<1&&(p--,w*=2),p+P>=1?t+=F/w:t+=F*Math.pow(2,1-P),t*w>=2&&(p++,w/=2),p+P>=A?(x=0,p=A):p+P>=1?(x=(t*w-1)*Math.pow(2,o),p=p+P):(x=t*Math.pow(2,P-1)*Math.pow(2,o),p=0));o>=8;e[r+N]=x&255,N+=j,x/=256,o-=8);for(p=p<<o|x,I+=o;I>0;e[r+N]=p&255,N+=j,p/=256,I-=8);e[r+N-j]|=M*128},Dn}function Op(){if(Rp)return Gt;Rp=!0;let e=cd(),t=pd(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Gt.Buffer=p,Gt.SlowBuffer=G,Gt.INSPECT_MAX_BYTES=50;let i=2147483647;Gt.kMaxLength=i,p.TYPED_ARRAY_SUPPORT=o(),!p.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 o(){try{let g=new Uint8Array(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,Uint8Array.prototype),Object.setPrototypeOf(g,u),g.foo()===42}catch{return!1}}Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}});function c(g){if(g>i)throw new RangeError('The value "'+g+'" is invalid for option "size"');let u=new Uint8Array(g);return Object.setPrototypeOf(u,p.prototype),u}function p(g,u,h){if(typeof g=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(g)}return x(g,u,h)}p.poolSize=8192;function x(g,u,h){if(typeof g=="string")return P(g,u);if(ArrayBuffer.isView(g))return N(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(et(g,ArrayBuffer)||g&&et(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(et(g,SharedArrayBuffer)||g&&et(g.buffer,SharedArrayBuffer)))return j(g,u,h);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let S=g.valueOf&&g.valueOf();if(S!=null&&S!==g)return p.from(S,u,h);let T=M(g);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return p.from(g[Symbol.toPrimitive]("string"),u,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}p.from=function(g,u,h){return x(g,u,h)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array);function w(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function I(g,u,h){return w(g),g<=0?c(g):u!==void 0?typeof h=="string"?c(g).fill(u,h):c(g).fill(u):c(g)}p.alloc=function(g,u,h){return I(g,u,h)};function A(g){return w(g),c(g<0?0:D(g)|0)}p.allocUnsafe=function(g){return A(g)},p.allocUnsafeSlow=function(g){return A(g)};function P(g,u){if((typeof u!="string"||u==="")&&(u="utf8"),!p.isEncoding(u))throw new TypeError("Unknown encoding: "+u);let h=Q(g,u)|0,S=c(h),T=S.write(g,u);return T!==h&&(S=S.slice(0,T)),S}function F(g){let u=g.length<0?0:D(g.length)|0,h=c(u);for(let S=0;S<u;S+=1)h[S]=g[S]&255;return h}function N(g){if(et(g,Uint8Array)){let u=new Uint8Array(g);return j(u.buffer,u.byteOffset,u.byteLength)}return F(g)}function j(g,u,h){if(u<0||g.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<u+(h||0))throw new RangeError('"length" is outside of buffer bounds');let S;return u===void 0&&h===void 0?S=new Uint8Array(g):h===void 0?S=new Uint8Array(g,u):S=new Uint8Array(g,u,h),Object.setPrototypeOf(S,p.prototype),S}function M(g){if(p.isBuffer(g)){let u=D(g.length)|0,h=c(u);return h.length===0||g.copy(h,0,0,u),h}if(g.length!==void 0)return typeof g.length!="number"||No(g.length)?c(0):F(g);if(g.type==="Buffer"&&Array.isArray(g.data))return F(g.data)}function D(g){if(g>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return g|0}function G(g){return+g!=g&&(g=0),p.alloc(+g)}p.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==p.prototype},p.compare=function(u,h){if(et(u,Uint8Array)&&(u=p.from(u,u.offset,u.byteLength)),et(h,Uint8Array)&&(h=p.from(h,h.offset,h.byteLength)),!p.isBuffer(u)||!p.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===h)return 0;let S=u.length,T=h.length;for(let R=0,_=Math.min(S,T);R<_;++R)if(u[R]!==h[R]){S=u[R],T=h[R];break}return S<T?-1:T<S?1:0},p.isEncoding=function(u){switch(String(u).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}},p.concat=function(u,h){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return p.alloc(0);let S;if(h===void 0)for(h=0,S=0;S<u.length;++S)h+=u[S].length;let T=p.allocUnsafe(h),R=0;for(S=0;S<u.length;++S){let _=u[S];if(et(_,Uint8Array))R+_.length>T.length?(p.isBuffer(_)||(_=p.from(_)),_.copy(T,R)):Uint8Array.prototype.set.call(T,_,R);else if(p.isBuffer(_))_.copy(T,R);else throw new TypeError('"list" argument must be an Array of Buffers');R+=_.length}return T};function Q(g,u){if(p.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||et(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);let h=g.length,S=arguments.length>2&&arguments[2]===!0;if(!S&&h===0)return 0;let T=!1;for(;;)switch(u){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return Ao(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return ac(g).length;default:if(T)return S?-1:Ao(g).length;u=(""+u).toLowerCase(),T=!0}}p.byteLength=Q;function oe(g,u,h){let S=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,u>>>=0,h<=u))return"";for(g||(g="utf8");;)switch(g){case"hex":return Xm(this,u,h);case"utf8":case"utf-8":return Yu(this,u,h);case"ascii":return Qm(this,u,h);case"latin1":case"binary":return Ym(this,u,h);case"base64":return Jm(this,u,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zm(this,u,h);default:if(S)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),S=!0}}p.prototype._isBuffer=!0;function X(g,u,h){let S=g[u];g[u]=g[h],g[h]=S}p.prototype.swap16=function(){let u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;h<u;h+=2)X(this,h,h+1);return this},p.prototype.swap32=function(){let u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let h=0;h<u;h+=4)X(this,h,h+3),X(this,h+1,h+2);return this},p.prototype.swap64=function(){let u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let h=0;h<u;h+=8)X(this,h,h+7),X(this,h+1,h+6),X(this,h+2,h+5),X(this,h+3,h+4);return this},p.prototype.toString=function(){let u=this.length;return u===0?"":arguments.length===0?Yu(this,0,u):oe.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(u){if(!p.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:p.compare(this,u)===0},p.prototype.inspect=function(){let u="",h=Gt.INSPECT_MAX_BYTES;return u=this.toString("hex",0,h).replace(/(.{2})/g,"$1 ").trim(),this.length>h&&(u+=" ... "),"<Buffer "+u+">"},r&&(p.prototype[r]=p.prototype.inspect),p.prototype.compare=function(u,h,S,T,R){if(et(u,Uint8Array)&&(u=p.from(u,u.offset,u.byteLength)),!p.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(h===void 0&&(h=0),S===void 0&&(S=u?u.length:0),T===void 0&&(T=0),R===void 0&&(R=this.length),h<0||S>u.length||T<0||R>this.length)throw new RangeError("out of range index");if(T>=R&&h>=S)return 0;if(T>=R)return-1;if(h>=S)return 1;if(h>>>=0,S>>>=0,T>>>=0,R>>>=0,this===u)return 0;let _=R-T,Z=S-h,he=Math.min(_,Z),fe=this.slice(T,R),ye=u.slice(h,S);for(let le=0;le<he;++le)if(fe[le]!==ye[le]){_=fe[le],Z=ye[le];break}return _<Z?-1:Z<_?1:0};function K(g,u,h,S,T){if(g.length===0)return-1;if(typeof h=="string"?(S=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,No(h)&&(h=T?0:g.length-1),h<0&&(h=g.length+h),h>=g.length){if(T)return-1;h=g.length-1}else if(h<0)if(T)h=0;else return-1;if(typeof u=="string"&&(u=p.from(u,S)),p.isBuffer(u))return u.length===0?-1:C(g,u,h,S,T);if(typeof u=="number")return u=u&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(g,u,h):Uint8Array.prototype.lastIndexOf.call(g,u,h):C(g,[u],h,S,T);throw new TypeError("val must be string, number or Buffer")}function C(g,u,h,S,T){let R=1,_=g.length,Z=u.length;if(S!==void 0&&(S=String(S).toLowerCase(),S==="ucs2"||S==="ucs-2"||S==="utf16le"||S==="utf-16le")){if(g.length<2||u.length<2)return-1;R=2,_/=2,Z/=2,h/=2}function he(ye,le){return R===1?ye[le]:ye.readUInt16BE(le*R)}let fe;if(T){let ye=-1;for(fe=h;fe<_;fe++)if(he(g,fe)===he(u,ye===-1?0:fe-ye)){if(ye===-1&&(ye=fe),fe-ye+1===Z)return ye*R}else ye!==-1&&(fe-=fe-ye),ye=-1}else for(h+Z>_&&(h=_-Z),fe=h;fe>=0;fe--){let ye=!0;for(let le=0;le<Z;le++)if(he(g,fe+le)!==he(u,le)){ye=!1;break}if(ye)return fe}return-1}p.prototype.includes=function(u,h,S){return this.indexOf(u,h,S)!==-1},p.prototype.indexOf=function(u,h,S){return K(this,u,h,S,!0)},p.prototype.lastIndexOf=function(u,h,S){return K(this,u,h,S,!1)};function U(g,u,h,S){h=Number(h)||0;let T=g.length-h;S?(S=Number(S),S>T&&(S=T)):S=T;let R=u.length;S>R/2&&(S=R/2);let _;for(_=0;_<S;++_){let Z=parseInt(u.substr(_*2,2),16);if(No(Z))return _;g[h+_]=Z}return _}function re(g,u,h,S){return Fn(Ao(u,g.length-h),g,h,S)}function He(g,u,h,S){return Fn(id(u),g,h,S)}function Ni(g,u,h,S){return Fn(ac(u),g,h,S)}function Ri(g,u,h,S){return Fn(nd(u,g.length-h),g,h,S)}p.prototype.write=function(u,h,S,T){if(h===void 0)T="utf8",S=this.length,h=0;else if(S===void 0&&typeof h=="string")T=h,S=this.length,h=0;else if(isFinite(h))h=h>>>0,isFinite(S)?(S=S>>>0,T===void 0&&(T="utf8")):(T=S,S=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let R=this.length-h;if((S===void 0||S>R)&&(S=R),u.length>0&&(S<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");let _=!1;for(;;)switch(T){case"hex":return U(this,u,h,S);case"utf8":case"utf-8":return re(this,u,h,S);case"ascii":case"latin1":case"binary":return He(this,u,h,S);case"base64":return Ni(this,u,h,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ri(this,u,h,S);default:if(_)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),_=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Jm(g,u,h){return u===0&&h===g.length?e.fromByteArray(g):e.fromByteArray(g.slice(u,h))}function Yu(g,u,h){h=Math.min(g.length,h);let S=[],T=u;for(;T<h;){let R=g[T],_=null,Z=R>239?4:R>223?3:R>191?2:1;if(T+Z<=h){let he,fe,ye,le;switch(Z){case 1:R<128&&(_=R);break;case 2:he=g[T+1],(he&192)===128&&(le=(R&31)<<6|he&63,le>127&&(_=le));break;case 3:he=g[T+1],fe=g[T+2],(he&192)===128&&(fe&192)===128&&(le=(R&15)<<12|(he&63)<<6|fe&63,le>2047&&(le<55296||le>57343)&&(_=le));break;case 4:he=g[T+1],fe=g[T+2],ye=g[T+3],(he&192)===128&&(fe&192)===128&&(ye&192)===128&&(le=(R&15)<<18|(he&63)<<12|(fe&63)<<6|ye&63,le>65535&&le<1114112&&(_=le))}}_===null?(_=65533,Z=1):_>65535&&(_-=65536,S.push(_>>>10&1023|55296),_=56320|_&1023),S.push(_),T+=Z}return Km(S)}let Xu=4096;function Km(g){let u=g.length;if(u<=Xu)return String.fromCharCode.apply(String,g);let h="",S=0;for(;S<u;)h+=String.fromCharCode.apply(String,g.slice(S,S+=Xu));return h}function Qm(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]&127);return S}function Ym(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]);return S}function Xm(g,u,h){let S=g.length;(!u||u<0)&&(u=0),(!h||h<0||h>S)&&(h=S);let T="";for(let R=u;R<h;++R)T+=sd[g[R]];return T}function Zm(g,u,h){let S=g.slice(u,h),T="";for(let R=0;R<S.length-1;R+=2)T+=String.fromCharCode(S[R]+S[R+1]*256);return T}p.prototype.slice=function(u,h){let S=this.length;u=~~u,h=h===void 0?S:~~h,u<0?(u+=S,u<0&&(u=0)):u>S&&(u=S),h<0?(h+=S,h<0&&(h=0)):h>S&&(h=S),h<u&&(h=u);let T=this.subarray(u,h);return Object.setPrototypeOf(T,p.prototype),T};function be(g,u,h){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+u>h)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUintLE=p.prototype.readUIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],R=1,_=0;for(;++_<h&&(R*=256);)T+=this[u+_]*R;return T},p.prototype.readUintBE=p.prototype.readUIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u+--h],R=1;for(;h>0&&(R*=256);)T+=this[u+--h]*R;return T},p.prototype.readUint8=p.prototype.readUInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]|this[u+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]<<8|this[u+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},p.prototype.readBigUInt64LE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24,R=this[++u]+this[++u]*2**8+this[++u]*2**16+S*2**24;return BigInt(T)+(BigInt(R)<<BigInt(32))}),p.prototype.readBigUInt64BE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=h*2**24+this[++u]*2**16+this[++u]*2**8+this[++u],R=this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S;return(BigInt(T)<<BigInt(32))+BigInt(R)}),p.prototype.readIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],R=1,_=0;for(;++_<h&&(R*=256);)T+=this[u+_]*R;return R*=128,T>=R&&(T-=Math.pow(2,8*h)),T},p.prototype.readIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=h,R=1,_=this[u+--T];for(;T>0&&(R*=256);)_+=this[u+--T]*R;return R*=128,_>=R&&(_-=Math.pow(2,8*h)),_},p.prototype.readInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},p.prototype.readInt16LE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u]|this[u+1]<<8;return S&32768?S|4294901760:S},p.prototype.readInt16BE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u+1]|this[u]<<8;return S&32768?S|4294901760:S},p.prototype.readInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},p.prototype.readInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},p.prototype.readBigInt64LE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=this[u+4]+this[u+5]*2**8+this[u+6]*2**16+(S<<24);return(BigInt(T)<<BigInt(32))+BigInt(h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24)}),p.prototype.readBigInt64BE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=(h<<24)+this[++u]*2**16+this[++u]*2**8+this[++u];return(BigInt(T)<<BigInt(32))+BigInt(this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S)}),p.prototype.readFloatLE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!0,23,4)},p.prototype.readFloatBE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!1,23,4)},p.prototype.readDoubleLE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!0,52,8)},p.prototype.readDoubleBE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!1,52,8)};function Fe(g,u,h,S,T,R){if(!p.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>T||u<R)throw new RangeError('"value" argument is out of bounds');if(h+S>g.length)throw new RangeError("Index out of range")}p.prototype.writeUintLE=p.prototype.writeUIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let R=1,_=0;for(this[h]=u&255;++_<S&&(R*=256);)this[h+_]=u/R&255;return h+S},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let R=S-1,_=1;for(this[h+R]=u&255;--R>=0&&(_*=256);)this[h+R]=u/_&255;return h+S},p.prototype.writeUint8=p.prototype.writeUInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,255,0),this[h]=u&255,h+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u&255,this[h+1]=u>>>8,h+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u>>>8,this[h+1]=u&255,h+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h+3]=u>>>24,this[h+2]=u>>>16,this[h+1]=u>>>8,this[h]=u&255,h+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4};function Zu(g,u,h,S,T){sc(u,S,T,g,h,7);let R=Number(u&BigInt(4294967295));g[h++]=R,R=R>>8,g[h++]=R,R=R>>8,g[h++]=R,R=R>>8,g[h++]=R;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,h}function ec(g,u,h,S,T){sc(u,S,T,g,h,7);let R=Number(u&BigInt(4294967295));g[h+7]=R,R=R>>8,g[h+6]=R,R=R>>8,g[h+5]=R,R=R>>8,g[h+4]=R;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h+3]=_,_=_>>8,g[h+2]=_,_=_>>8,g[h+1]=_,_=_>>8,g[h]=_,h+8}p.prototype.writeBigUInt64LE=gt(function(u,h=0){return Zu(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=gt(function(u,h=0){return ec(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let R=0,_=1,Z=0;for(this[h]=u&255;++R<S&&(_*=256);)u<0&&Z===0&&this[h+R-1]!==0&&(Z=1),this[h+R]=(u/_>>0)-Z&255;return h+S},p.prototype.writeIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let R=S-1,_=1,Z=0;for(this[h+R]=u&255;--R>=0&&(_*=256);)u<0&&Z===0&&this[h+R+1]!==0&&(Z=1),this[h+R]=(u/_>>0)-Z&255;return h+S},p.prototype.writeInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,127,-128),u<0&&(u=255+u+1),this[h]=u&255,h+1},p.prototype.writeInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u&255,this[h+1]=u>>>8,h+2},p.prototype.writeInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u>>>8,this[h+1]=u&255,h+2},p.prototype.writeInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),this[h]=u&255,this[h+1]=u>>>8,this[h+2]=u>>>16,this[h+3]=u>>>24,h+4},p.prototype.writeInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4},p.prototype.writeBigInt64LE=gt(function(u,h=0){return Zu(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=gt(function(u,h=0){return ec(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function tc(g,u,h,S,T,R){if(h+S>g.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function rc(g,u,h,S,T){return u=+u,h=h>>>0,T||tc(g,u,h,4),t.write(g,u,h,S,23,4),h+4}p.prototype.writeFloatLE=function(u,h,S){return rc(this,u,h,!0,S)},p.prototype.writeFloatBE=function(u,h,S){return rc(this,u,h,!1,S)};function ic(g,u,h,S,T){return u=+u,h=h>>>0,T||tc(g,u,h,8),t.write(g,u,h,S,52,8),h+8}p.prototype.writeDoubleLE=function(u,h,S){return ic(this,u,h,!0,S)},p.prototype.writeDoubleBE=function(u,h,S){return ic(this,u,h,!1,S)},p.prototype.copy=function(u,h,S,T){if(!p.isBuffer(u))throw new TypeError("argument should be a Buffer");if(S||(S=0),!T&&T!==0&&(T=this.length),h>=u.length&&(h=u.length),h||(h=0),T>0&&T<S&&(T=S),T===S||u.length===0||this.length===0)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(S<0||S>=this.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),u.length-h<T-S&&(T=u.length-h+S);let R=T-S;return this===u&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(h,S,T):Uint8Array.prototype.set.call(u,this.subarray(S,T),h),R},p.prototype.fill=function(u,h,S,T){if(typeof u=="string"){if(typeof h=="string"?(T=h,h=0,S=this.length):typeof S=="string"&&(T=S,S=this.length),T!==void 0&&typeof T!="string")throw new TypeError("encoding must be a string");if(typeof T=="string"&&!p.isEncoding(T))throw new TypeError("Unknown encoding: "+T);if(u.length===1){let _=u.charCodeAt(0);(T==="utf8"&&_<128||T==="latin1")&&(u=_)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(h<0||this.length<h||this.length<S)throw new RangeError("Out of range index");if(S<=h)return this;h=h>>>0,S=S===void 0?this.length:S>>>0,u||(u=0);let R;if(typeof u=="number")for(R=h;R<S;++R)this[R]=u;else{let _=p.isBuffer(u)?u:p.from(u,T),Z=_.length;if(Z===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(R=0;R<S-h;++R)this[R+h]=_[R%Z]}return this};let nr={};function Io(g,u,h){nr[g]=class extends h{constructor(){super(),Object.defineProperty(this,"message",{value:u.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(T){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:T,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}Io("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Io("ERR_INVALID_ARG_TYPE",function(g,u){return`The "${g}" argument must be of type number. Received type ${typeof u}`},TypeError),Io("ERR_OUT_OF_RANGE",function(g,u,h){let S=`The value of "${g}" is out of range.`,T=h;return Number.isInteger(h)&&Math.abs(h)>2**32?T=nc(String(h)):typeof h=="bigint"&&(T=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(T=nc(T)),T+="n"),S+=` It must be ${u}. Received ${T}`,S},RangeError);function nc(g){let u="",h=g.length,S=g[0]==="-"?1:0;for(;h>=S+4;h-=3)u=`_${g.slice(h-3,h)}${u}`;return`${g.slice(0,h)}${u}`}function ed(g,u,h){sr(u,"offset"),(g[u]===void 0||g[u+h]===void 0)&&Oi(u,g.length-(h+1))}function sc(g,u,h,S,T,R){if(g>h||g<u){let _=typeof u=="bigint"?"n":"",Z;throw u===0||u===BigInt(0)?Z=`>= 0${_} and < 2${_} ** ${(R+1)*8}${_}`:Z=`>= -(2${_} ** ${(R+1)*8-1}${_}) and < 2 ** ${(R+1)*8-1}${_}`,new nr.ERR_OUT_OF_RANGE("value",Z,g)}ed(S,T,R)}function sr(g,u){if(typeof g!="number")throw new nr.ERR_INVALID_ARG_TYPE(u,"number",g)}function Oi(g,u,h){throw Math.floor(g)!==g?(sr(g,h),new nr.ERR_OUT_OF_RANGE("offset","an integer",g)):u<0?new nr.ERR_BUFFER_OUT_OF_BOUNDS:new nr.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${u}`,g)}let td=/[^+/0-9A-Za-z-_]/g;function rd(g){if(g=g.split("=")[0],g=g.trim().replace(td,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function Ao(g,u){u=u||1/0;let h,S=g.length,T=null,R=[];for(let _=0;_<S;++_){if(h=g.charCodeAt(_),h>55295&&h<57344){if(!T){if(h>56319){(u-=3)>-1&&R.push(239,191,189);continue}else if(_+1===S){(u-=3)>-1&&R.push(239,191,189);continue}T=h;continue}if(h<56320){(u-=3)>-1&&R.push(239,191,189),T=h;continue}h=(T-55296<<10|h-56320)+65536}else T&&(u-=3)>-1&&R.push(239,191,189);if(T=null,h<128){if((u-=1)<0)break;R.push(h)}else if(h<2048){if((u-=2)<0)break;R.push(h>>6|192,h&63|128)}else if(h<65536){if((u-=3)<0)break;R.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((u-=4)<0)break;R.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return R}function id(g){let u=[];for(let h=0;h<g.length;++h)u.push(g.charCodeAt(h)&255);return u}function nd(g,u){let h,S,T,R=[];for(let _=0;_<g.length&&!((u-=2)<0);++_)h=g.charCodeAt(_),S=h>>8,T=h%256,R.push(T),R.push(S);return R}function ac(g){return e.toByteArray(rd(g))}function Fn(g,u,h,S){let T;for(T=0;T<S&&!(T+h>=u.length||T>=g.length);++T)u[T+h]=g[T];return T}function et(g,u){return g instanceof u||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===u.name}function No(g){return g!==g}let sd=(function(){let g="0123456789abcdef",u=new Array(256);for(let h=0;h<16;++h){let S=h*16;for(let T=0;T<16;++T)u[S+T]=g[h]+g[T]}return u})();function gt(g){return typeof BigInt>"u"?ad:g}function ad(){throw new Error("BigInt not supported")}return Gt}var Pi,Ap,Dn,Np,Gt,Rp,Pp=ar(()=>{"use strict";n();a();s();Pi={},Ap=!1;Dn={},Np=!1;Gt={},Rp=!1});var Wt,m,eg,tg,Cp=ar(()=>{"use strict";n();a();s();Pp();Wt=Op();Wt.Buffer;Wt.SlowBuffer;Wt.INSPECT_MAX_BYTES;Wt.kMaxLength;m=Wt.Buffer,eg=Wt.INSPECT_MAX_BYTES,tg=Wt.kMaxLength});var a=ar(()=>{"use strict";Cp()});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var ld=typeof global=="object"&&global&&global.Object===Object&&global,_p=ld;var fd=typeof self=="object"&&self&&self.Object===Object&&self,md=_p||fd||Function("return this")(),kp=md;var dd=kp.Symbol,at=dd;n();a();s();var Fp=Object.prototype,hd=Fp.hasOwnProperty,yd=Fp.toString,Ci=at?at.toStringTag:void 0;function gd(e){var t=hd.call(e,Ci),r=e[Ci];try{e[Ci]=void 0;var i=!0}catch{}var o=yd.call(e);return i&&(t?e[Ci]=r:delete e[Ci]),o}var Lp=gd;n();a();s();var bd=Object.prototype,xd=bd.toString;function Sd(e){return xd.call(e)}var jp=Sd;var wd="[object Null]",Td="[object Undefined]",Bp=at?at.toStringTag:void 0;function Ed(e){return e==null?e===void 0?Td:wd:Bp&&Bp in Object(e)?Lp(e):jp(e)}var Dp=Ed;n();a();s();function Id(e){return e!=null&&typeof e=="object"}var Up=Id;var Ad="[object Symbol]";function Nd(e){return typeof e=="symbol"||Up(e)&&Dp(e)==Ad}var Mp=Nd;n();a();s();n();a();s();function Rd(e,t){for(var r=-1,i=e==null?0:e.length,o=Array(i);++r<i;)o[r]=t(e[r],r,e);return o}var vp=Rd;n();a();s();var Od=Array.isArray,Vp=Od;var Pd=1/0,zp=at?at.prototype:void 0,qp=zp?zp.toString:void 0;function Gp(e){if(typeof e=="string")return e;if(Vp(e))return vp(e,Gp)+"";if(Mp(e))return qp?qp.call(e):"";var t=e+"";return t=="0"&&1/e==-Pd?"-0":t}var Wp=Gp;n();a();s();function Cd(e){return e==null?"":Wp(e)}var xt=Cd;n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function _d(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var c=Array(o);++i<o;)c[i]=e[i+t];return c}var $p=_d;function kd(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:$p(e,t,r)}var Hp=kd;n();a();s();var Fd="\\ud800-\\udfff",Ld="\\u0300-\\u036f",jd="\\ufe20-\\ufe2f",Bd="\\u20d0-\\u20ff",Dd=Ld+jd+Bd,Ud="\\ufe0e\\ufe0f",Md="\\u200d",vd=RegExp("["+Md+Fd+Dd+Ud+"]");function Vd(e){return vd.test(e)}var Un=Vd;n();a();s();n();a();s();function zd(e){return e.split("")}var Jp=zd;n();a();s();var Kp="\\ud800-\\udfff",qd="\\u0300-\\u036f",Gd="\\ufe20-\\ufe2f",Wd="\\u20d0-\\u20ff",$d=qd+Gd+Wd,Hd="\\ufe0e\\ufe0f",Jd="["+Kp+"]",Co="["+$d+"]",_o="\\ud83c[\\udffb-\\udfff]",Kd="(?:"+Co+"|"+_o+")",Qp="[^"+Kp+"]",Yp="(?:\\ud83c[\\udde6-\\uddff]){2}",Xp="[\\ud800-\\udbff][\\udc00-\\udfff]",Qd="\\u200d",Zp=Kd+"?",el="["+Hd+"]?",Yd="(?:"+Qd+"(?:"+[Qp,Yp,Xp].join("|")+")"+el+Zp+")*",Xd=el+Zp+Yd,Zd="(?:"+[Qp+Co+"?",Co,Yp,Xp,Jd].join("|")+")",eh=RegExp(_o+"(?="+_o+")|"+Zd+Xd,"g");function th(e){return e.match(eh)||[]}var tl=th;function rh(e){return Un(e)?tl(e):Jp(e)}var rl=rh;function ih(e){return function(t){t=xt(t);var r=Un(t)?rl(t):void 0,i=r?r[0]:t.charAt(0),o=r?Hp(r,1).join(""):t.slice(1);return i[e]()+o}}var il=ih;var nh=il("toUpperCase"),Le=nh;function sh(e){return Le(xt(e).toLowerCase())}var nl=sh;n();a();s();n();a();s();function ah(e,t,r,i){var o=-1,c=e==null?0:e.length;for(i&&c&&(r=e[++o]);++o<c;)r=t(r,e[o],o,e);return r}var sl=ah;n();a();s();n();a();s();n();a();s();function oh(e){return function(t){return e?.[t]}}var al=oh;var uh={\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"},ch=al(uh),ol=ch;var ph=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lh="\\u0300-\\u036f",fh="\\ufe20-\\ufe2f",mh="\\u20d0-\\u20ff",dh=lh+fh+mh,hh="["+dh+"]",yh=RegExp(hh,"g");function gh(e){return e=xt(e),e&&e.replace(ph,ol).replace(yh,"")}var ul=gh;n();a();s();n();a();s();var bh=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function xh(e){return e.match(bh)||[]}var cl=xh;n();a();s();var Sh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function wh(e){return Sh.test(e)}var pl=wh;n();a();s();var hl="\\ud800-\\udfff",Th="\\u0300-\\u036f",Eh="\\ufe20-\\ufe2f",Ih="\\u20d0-\\u20ff",Ah=Th+Eh+Ih,yl="\\u2700-\\u27bf",gl="a-z\\xdf-\\xf6\\xf8-\\xff",Nh="\\xac\\xb1\\xd7\\xf7",Rh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Oh="\\u2000-\\u206f",Ph=" \\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",bl="A-Z\\xc0-\\xd6\\xd8-\\xde",Ch="\\ufe0e\\ufe0f",xl=Nh+Rh+Oh+Ph,Sl="['\u2019]",ll="["+xl+"]",_h="["+Ah+"]",wl="\\d+",kh="["+yl+"]",Tl="["+gl+"]",El="[^"+hl+xl+wl+yl+gl+bl+"]",Fh="\\ud83c[\\udffb-\\udfff]",Lh="(?:"+_h+"|"+Fh+")",jh="[^"+hl+"]",Il="(?:\\ud83c[\\udde6-\\uddff]){2}",Al="[\\ud800-\\udbff][\\udc00-\\udfff]",ur="["+bl+"]",Bh="\\u200d",fl="(?:"+Tl+"|"+El+")",Dh="(?:"+ur+"|"+El+")",ml="(?:"+Sl+"(?:d|ll|m|re|s|t|ve))?",dl="(?:"+Sl+"(?:D|LL|M|RE|S|T|VE))?",Nl=Lh+"?",Rl="["+Ch+"]?",Uh="(?:"+Bh+"(?:"+[jh,Il,Al].join("|")+")"+Rl+Nl+")*",Mh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vh=Rl+Nl+Uh,zh="(?:"+[kh,Il,Al].join("|")+")"+Vh,qh=RegExp([ur+"?"+Tl+"+"+ml+"(?="+[ll,ur,"$"].join("|")+")",Dh+"+"+dl+"(?="+[ll,ur+fl,"$"].join("|")+")",ur+"?"+fl+"+"+ml,ur+"+"+dl,vh,Mh,wl,zh].join("|"),"g");function Gh(e){return e.match(qh)||[]}var Ol=Gh;function Wh(e,t,r){return e=xt(e),t=r?void 0:t,t===void 0?pl(e)?Ol(e):cl(e):e.match(t)||[]}var _i=Wh;var $h="['\u2019]",Hh=RegExp($h,"g");function Jh(e){return function(t){return sl(_i(ul(t).replace(Hh,"")),e,"")}}var Mn=Jh;var Kh=Mn(function(e,t,r){return t=t.toLowerCase(),e+(r?nl(t):t)}),cr=Kh;n();a();s();var Qh=Mn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),vn=Qh;n();a();s();function ue(e){throw new Error("Unexpected value: "+JSON.stringify(e))}n();a();s();function ki(e){return Object.keys(e)}n();a();s();n();a();s();n();a();s();var Fi=f.env.FERN_STACK_TRACK?.toLowerCase()??"",je=Fi!==""&&Fi!=="0"&&Fi!=="false",ko=["single","multiline","box"].includes(Fi)?Fi:"single";je&&(Error.stackTraceLimit=50);var Pl=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),Yh=new Set(["stacktrace"]);function Fo(e){je&&Pl.add(e)}function Li({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:p=!0,formatFilename:x=w=>w}={}){if(!je)return[];i=[...i,...Pl],r=[...r,...Yh],o=[...o,"runInteractiveTask"];let w=!1;return(new Error().stack??"").split(`
|
|
1
|
+
var oc=Object.defineProperty;var od=(e,t,r)=>t in e?oc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ar=(e,t,r)=>()=>{if(r)throw r[0];try{return e&&(t=e(e=0)),t}catch(i){throw r=[i],i}};var z=(e,t)=>{for(var r in t)oc(e,r,{get:t[r],enumerable:!0})};var y=(e,t,r)=>od(e,typeof t!="symbol"?t+"":t,r);var n=ar(()=>{"use strict"});var f={};z(f,{_debugEnd:()=>Qc,_debugProcess:()=>Kc,_events:()=>fp,_eventsCount:()=>mp,_exiting:()=>Cc,_fatalExceptions:()=>Wc,_getActiveHandles:()=>Lc,_getActiveRequests:()=>Fc,_kill:()=>Bc,_linkedBinding:()=>Oc,_maxListeners:()=>lp,_preload_modules:()=>up,_rawDebug:()=>Nc,_startProfilerIdleNotifier:()=>Yc,_stopProfilerIdleNotifier:()=>Xc,_tickCallback:()=>Jc,abort:()=>rp,addListener:()=>dp,allowedNodeEnvironmentFlags:()=>zc,arch:()=>fc,argv:()=>hc,argv0:()=>op,assert:()=>qc,binding:()=>Sc,browser:()=>Ac,chdir:()=>Ec,config:()=>_c,cpuUsage:()=>Bn,cwd:()=>Tc,debugPort:()=>ap,default:()=>Ep,dlopen:()=>kc,domain:()=>Pc,emit:()=>xp,emitWarning:()=>xc,env:()=>dc,execArgv:()=>yc,execPath:()=>sp,exit:()=>vc,features:()=>Gc,hasUncaughtExceptionCaptureCallback:()=>Hc,hrtime:()=>jn,kill:()=>Mc,listeners:()=>Tp,memoryUsage:()=>Uc,moduleLoadList:()=>Rc,nextTick:()=>cc,off:()=>yp,on:()=>st,once:()=>hp,openStdin:()=>Vc,pid:()=>ip,platform:()=>mc,ppid:()=>np,prependListener:()=>Sp,prependOnceListener:()=>wp,reallyExit:()=>jc,release:()=>Ic,removeAllListeners:()=>bp,removeListener:()=>gp,resourceUsage:()=>Dc,setSourceMapsEnabled:()=>cp,setUncaughtExceptionCaptureCallback:()=>$c,stderr:()=>ep,stdin:()=>tp,stdout:()=>Zc,title:()=>lc,umask:()=>wc,uptime:()=>pp,version:()=>gc,versions:()=>bc});function Po(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function ud(){!or||!qt||(or=!1,qt.length?nt=qt.concat(nt):Ln=-1,nt.length&&uc())}function uc(){if(!or){var e=setTimeout(ud,0);or=!0;for(var t=nt.length;t;){for(qt=nt,nt=[];++Ln<t;)qt&&qt[Ln].run();Ln=-1,t=nt.length}qt=null,or=!1,clearTimeout(e)}}function cc(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];nt.push(new pc(e,t)),nt.length===1&&!or&&setTimeout(uc,0)}function pc(e,t){this.fun=e,this.array=t}function Oe(){}function Oc(e){Po("_linkedBinding")}function kc(e){Po("dlopen")}function Fc(){return[]}function Lc(){return[]}function qc(e,t){if(!e)throw new Error(t||"assertion error")}function Hc(){return!1}function pp(){return bt.now()/1e3}function jn(e){var t=Math.floor((Date.now()-bt.now())*.001),r=bt.now()*.001,i=Math.floor(r)+t,o=Math.floor(r%1*1e9);return e&&(i=i-e[0],o=o-e[1],o<0&&(i--,o+=Oo)),[i,o]}function st(){return Ep}function Tp(e){return[]}var nt,or,qt,Ln,lc,fc,mc,dc,hc,yc,gc,bc,xc,Sc,wc,Tc,Ec,Ic,Ac,Nc,Rc,Pc,Cc,_c,jc,Bc,Bn,Dc,Uc,Mc,vc,Vc,zc,Gc,Wc,$c,Jc,Kc,Qc,Yc,Xc,Zc,ep,tp,rp,ip,np,sp,ap,op,up,cp,bt,Ro,Oo,lp,fp,mp,dp,hp,yp,gp,bp,xp,Sp,wp,Ep,Ip=ar(()=>{"use strict";n();a();s();nt=[],or=!1,Ln=-1;pc.prototype.run=function(){this.fun.apply(null,this.array)};lc="browser",fc="x64",mc="browser",dc={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},hc=["/usr/bin/node"],yc=[],gc="v16.8.0",bc={},xc=function(e,t){console.warn((t?t+": ":"")+e)},Sc=function(e){Po("binding")},wc=function(e){return 0},Tc=function(){return"/"},Ec=function(e){},Ic={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Ac=!0,Nc=Oe,Rc=[];Pc={},Cc=!1,_c={};jc=Oe,Bc=Oe,Bn=function(){return{}},Dc=Bn,Uc=Bn,Mc=Oe,vc=Oe,Vc=Oe,zc={};Gc={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Wc=Oe,$c=Oe;Jc=Oe,Kc=Oe,Qc=Oe,Yc=Oe,Xc=Oe,Zc=void 0,ep=void 0,tp=void 0,rp=Oe,ip=2,np=1,sp="/bin/usr/node",ap=9229,op="node",up=[],cp=Oe,bt={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};bt.now===void 0&&(Ro=Date.now(),bt.timing&&bt.timing.navigationStart&&(Ro=bt.timing.navigationStart),bt.now=()=>Date.now()-Ro);Oo=1e9;jn.bigint=function(e){var t=jn(e);return typeof BigInt>"u"?t[0]*Oo+t[1]:BigInt(t[0]*Oo)+BigInt(t[1])};lp=10,fp={},mp=0;dp=st,hp=st,yp=st,gp=st,bp=st,xp=Oe,Sp=st,wp=st;Ep={version:gc,versions:bc,arch:fc,platform:mc,browser:Ac,release:Ic,_rawDebug:Nc,moduleLoadList:Rc,binding:Sc,_linkedBinding:Oc,_events:fp,_eventsCount:mp,_maxListeners:lp,on:st,addListener:dp,once:hp,off:yp,removeListener:gp,removeAllListeners:bp,emit:xp,prependListener:Sp,prependOnceListener:wp,listeners:Tp,domain:Pc,_exiting:Cc,config:_c,dlopen:kc,uptime:pp,_getActiveRequests:Fc,_getActiveHandles:Lc,reallyExit:jc,_kill:Bc,cpuUsage:Bn,resourceUsage:Dc,memoryUsage:Uc,kill:Mc,exit:vc,openStdin:Vc,allowedNodeEnvironmentFlags:zc,assert:qc,features:Gc,_fatalExceptions:Wc,setUncaughtExceptionCaptureCallback:$c,hasUncaughtExceptionCaptureCallback:Hc,emitWarning:xc,nextTick:cc,_tickCallback:Jc,_debugProcess:Kc,_debugEnd:Qc,_startProfilerIdleNotifier:Yc,_stopProfilerIdleNotifier:Xc,stdout:Zc,stdin:tp,stderr:ep,abort:rp,umask:wc,chdir:Ec,cwd:Tc,env:dc,title:lc,argv:hc,execArgv:yc,pid:ip,ppid:np,execPath:sp,debugPort:ap,hrtime:jn,argv0:op,_preload_modules:up,setSourceMapsEnabled:cp}});var s=ar(()=>{"use strict";Ip()});function cd(){if(Ap)return Pi;Ap=!0,Pi.byteLength=x,Pi.toByteArray=I,Pi.fromByteArray=F;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,c=i.length;o<c;++o)e[o]=i[o],t[i.charCodeAt(o)]=o;t[45]=62,t[95]=63;function p(N){var j=N.length;if(j%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var M=N.indexOf("=");M===-1&&(M=j);var D=M===j?0:4-M%4;return[M,D]}function x(N){var j=p(N),M=j[0],D=j[1];return(M+D)*3/4-D}function w(N,j,M){return(j+M)*3/4-M}function I(N){var j,M=p(N),D=M[0],G=M[1],Q=new r(w(N,D,G)),oe=0,X=G>0?D-4:D,K;for(K=0;K<X;K+=4)j=t[N.charCodeAt(K)]<<18|t[N.charCodeAt(K+1)]<<12|t[N.charCodeAt(K+2)]<<6|t[N.charCodeAt(K+3)],Q[oe++]=j>>16&255,Q[oe++]=j>>8&255,Q[oe++]=j&255;return G===2&&(j=t[N.charCodeAt(K)]<<2|t[N.charCodeAt(K+1)]>>4,Q[oe++]=j&255),G===1&&(j=t[N.charCodeAt(K)]<<10|t[N.charCodeAt(K+1)]<<4|t[N.charCodeAt(K+2)]>>2,Q[oe++]=j>>8&255,Q[oe++]=j&255),Q}function A(N){return e[N>>18&63]+e[N>>12&63]+e[N>>6&63]+e[N&63]}function P(N,j,M){for(var D,G=[],Q=j;Q<M;Q+=3)D=(N[Q]<<16&16711680)+(N[Q+1]<<8&65280)+(N[Q+2]&255),G.push(A(D));return G.join("")}function F(N){for(var j,M=N.length,D=M%3,G=[],Q=16383,oe=0,X=M-D;oe<X;oe+=Q)G.push(P(N,oe,oe+Q>X?X:oe+Q));return D===1?(j=N[M-1],G.push(e[j>>2]+e[j<<4&63]+"==")):D===2&&(j=(N[M-2]<<8)+N[M-1],G.push(e[j>>10]+e[j>>4&63]+e[j<<2&63]+"=")),G.join("")}return Pi}function pd(){if(Np)return Dn;Np=!0;return Dn.read=function(e,t,r,i,o){var c,p,x=o*8-i-1,w=(1<<x)-1,I=w>>1,A=-7,P=r?o-1:0,F=r?-1:1,N=e[t+P];for(P+=F,c=N&(1<<-A)-1,N>>=-A,A+=x;A>0;c=c*256+e[t+P],P+=F,A-=8);for(p=c&(1<<-A)-1,c>>=-A,A+=i;A>0;p=p*256+e[t+P],P+=F,A-=8);if(c===0)c=1-I;else{if(c===w)return p?NaN:(N?-1:1)*(1/0);p=p+Math.pow(2,i),c=c-I}return(N?-1:1)*p*Math.pow(2,c-i)},Dn.write=function(e,t,r,i,o,c){var p,x,w,I=c*8-o-1,A=(1<<I)-1,P=A>>1,F=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,N=i?0:c-1,j=i?1:-1,M=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(x=isNaN(t)?1:0,p=A):(p=Math.floor(Math.log(t)/Math.LN2),t*(w=Math.pow(2,-p))<1&&(p--,w*=2),p+P>=1?t+=F/w:t+=F*Math.pow(2,1-P),t*w>=2&&(p++,w/=2),p+P>=A?(x=0,p=A):p+P>=1?(x=(t*w-1)*Math.pow(2,o),p=p+P):(x=t*Math.pow(2,P-1)*Math.pow(2,o),p=0));o>=8;e[r+N]=x&255,N+=j,x/=256,o-=8);for(p=p<<o|x,I+=o;I>0;e[r+N]=p&255,N+=j,p/=256,I-=8);e[r+N-j]|=M*128},Dn}function Op(){if(Rp)return Gt;Rp=!0;let e=cd(),t=pd(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Gt.Buffer=p,Gt.SlowBuffer=G,Gt.INSPECT_MAX_BYTES=50;let i=2147483647;Gt.kMaxLength=i,p.TYPED_ARRAY_SUPPORT=o(),!p.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 o(){try{let g=new Uint8Array(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,Uint8Array.prototype),Object.setPrototypeOf(g,u),g.foo()===42}catch{return!1}}Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}});function c(g){if(g>i)throw new RangeError('The value "'+g+'" is invalid for option "size"');let u=new Uint8Array(g);return Object.setPrototypeOf(u,p.prototype),u}function p(g,u,h){if(typeof g=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return A(g)}return x(g,u,h)}p.poolSize=8192;function x(g,u,h){if(typeof g=="string")return P(g,u);if(ArrayBuffer.isView(g))return N(g);if(g==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g);if(et(g,ArrayBuffer)||g&&et(g.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(et(g,SharedArrayBuffer)||g&&et(g.buffer,SharedArrayBuffer)))return j(g,u,h);if(typeof g=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let S=g.valueOf&&g.valueOf();if(S!=null&&S!==g)return p.from(S,u,h);let T=M(g);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof g[Symbol.toPrimitive]=="function")return p.from(g[Symbol.toPrimitive]("string"),u,h);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof g)}p.from=function(g,u,h){return x(g,u,h)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array);function w(g){if(typeof g!="number")throw new TypeError('"size" argument must be of type number');if(g<0)throw new RangeError('The value "'+g+'" is invalid for option "size"')}function I(g,u,h){return w(g),g<=0?c(g):u!==void 0?typeof h=="string"?c(g).fill(u,h):c(g).fill(u):c(g)}p.alloc=function(g,u,h){return I(g,u,h)};function A(g){return w(g),c(g<0?0:D(g)|0)}p.allocUnsafe=function(g){return A(g)},p.allocUnsafeSlow=function(g){return A(g)};function P(g,u){if((typeof u!="string"||u==="")&&(u="utf8"),!p.isEncoding(u))throw new TypeError("Unknown encoding: "+u);let h=Q(g,u)|0,S=c(h),T=S.write(g,u);return T!==h&&(S=S.slice(0,T)),S}function F(g){let u=g.length<0?0:D(g.length)|0,h=c(u);for(let S=0;S<u;S+=1)h[S]=g[S]&255;return h}function N(g){if(et(g,Uint8Array)){let u=new Uint8Array(g);return j(u.buffer,u.byteOffset,u.byteLength)}return F(g)}function j(g,u,h){if(u<0||g.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(g.byteLength<u+(h||0))throw new RangeError('"length" is outside of buffer bounds');let S;return u===void 0&&h===void 0?S=new Uint8Array(g):h===void 0?S=new Uint8Array(g,u):S=new Uint8Array(g,u,h),Object.setPrototypeOf(S,p.prototype),S}function M(g){if(p.isBuffer(g)){let u=D(g.length)|0,h=c(u);return h.length===0||g.copy(h,0,0,u),h}if(g.length!==void 0)return typeof g.length!="number"||No(g.length)?c(0):F(g);if(g.type==="Buffer"&&Array.isArray(g.data))return F(g.data)}function D(g){if(g>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return g|0}function G(g){return+g!=g&&(g=0),p.alloc(+g)}p.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==p.prototype},p.compare=function(u,h){if(et(u,Uint8Array)&&(u=p.from(u,u.offset,u.byteLength)),et(h,Uint8Array)&&(h=p.from(h,h.offset,h.byteLength)),!p.isBuffer(u)||!p.isBuffer(h))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===h)return 0;let S=u.length,T=h.length;for(let R=0,_=Math.min(S,T);R<_;++R)if(u[R]!==h[R]){S=u[R],T=h[R];break}return S<T?-1:T<S?1:0},p.isEncoding=function(u){switch(String(u).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}},p.concat=function(u,h){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return p.alloc(0);let S;if(h===void 0)for(h=0,S=0;S<u.length;++S)h+=u[S].length;let T=p.allocUnsafe(h),R=0;for(S=0;S<u.length;++S){let _=u[S];if(et(_,Uint8Array))R+_.length>T.length?(p.isBuffer(_)||(_=p.from(_)),_.copy(T,R)):Uint8Array.prototype.set.call(T,_,R);else if(p.isBuffer(_))_.copy(T,R);else throw new TypeError('"list" argument must be an Array of Buffers');R+=_.length}return T};function Q(g,u){if(p.isBuffer(g))return g.length;if(ArrayBuffer.isView(g)||et(g,ArrayBuffer))return g.byteLength;if(typeof g!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof g);let h=g.length,S=arguments.length>2&&arguments[2]===!0;if(!S&&h===0)return 0;let T=!1;for(;;)switch(u){case"ascii":case"latin1":case"binary":return h;case"utf8":case"utf-8":return Ao(g).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h*2;case"hex":return h>>>1;case"base64":return ac(g).length;default:if(T)return S?-1:Ao(g).length;u=(""+u).toLowerCase(),T=!0}}p.byteLength=Q;function oe(g,u,h){let S=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((h===void 0||h>this.length)&&(h=this.length),h<=0)||(h>>>=0,u>>>=0,h<=u))return"";for(g||(g="utf8");;)switch(g){case"hex":return Xm(this,u,h);case"utf8":case"utf-8":return Yu(this,u,h);case"ascii":return Qm(this,u,h);case"latin1":case"binary":return Ym(this,u,h);case"base64":return Jm(this,u,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zm(this,u,h);default:if(S)throw new TypeError("Unknown encoding: "+g);g=(g+"").toLowerCase(),S=!0}}p.prototype._isBuffer=!0;function X(g,u,h){let S=g[u];g[u]=g[h],g[h]=S}p.prototype.swap16=function(){let u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let h=0;h<u;h+=2)X(this,h,h+1);return this},p.prototype.swap32=function(){let u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let h=0;h<u;h+=4)X(this,h,h+3),X(this,h+1,h+2);return this},p.prototype.swap64=function(){let u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let h=0;h<u;h+=8)X(this,h,h+7),X(this,h+1,h+6),X(this,h+2,h+5),X(this,h+3,h+4);return this},p.prototype.toString=function(){let u=this.length;return u===0?"":arguments.length===0?Yu(this,0,u):oe.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(u){if(!p.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:p.compare(this,u)===0},p.prototype.inspect=function(){let u="",h=Gt.INSPECT_MAX_BYTES;return u=this.toString("hex",0,h).replace(/(.{2})/g,"$1 ").trim(),this.length>h&&(u+=" ... "),"<Buffer "+u+">"},r&&(p.prototype[r]=p.prototype.inspect),p.prototype.compare=function(u,h,S,T,R){if(et(u,Uint8Array)&&(u=p.from(u,u.offset,u.byteLength)),!p.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(h===void 0&&(h=0),S===void 0&&(S=u?u.length:0),T===void 0&&(T=0),R===void 0&&(R=this.length),h<0||S>u.length||T<0||R>this.length)throw new RangeError("out of range index");if(T>=R&&h>=S)return 0;if(T>=R)return-1;if(h>=S)return 1;if(h>>>=0,S>>>=0,T>>>=0,R>>>=0,this===u)return 0;let _=R-T,Z=S-h,he=Math.min(_,Z),fe=this.slice(T,R),ye=u.slice(h,S);for(let le=0;le<he;++le)if(fe[le]!==ye[le]){_=fe[le],Z=ye[le];break}return _<Z?-1:Z<_?1:0};function K(g,u,h,S,T){if(g.length===0)return-1;if(typeof h=="string"?(S=h,h=0):h>2147483647?h=2147483647:h<-2147483648&&(h=-2147483648),h=+h,No(h)&&(h=T?0:g.length-1),h<0&&(h=g.length+h),h>=g.length){if(T)return-1;h=g.length-1}else if(h<0)if(T)h=0;else return-1;if(typeof u=="string"&&(u=p.from(u,S)),p.isBuffer(u))return u.length===0?-1:C(g,u,h,S,T);if(typeof u=="number")return u=u&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(g,u,h):Uint8Array.prototype.lastIndexOf.call(g,u,h):C(g,[u],h,S,T);throw new TypeError("val must be string, number or Buffer")}function C(g,u,h,S,T){let R=1,_=g.length,Z=u.length;if(S!==void 0&&(S=String(S).toLowerCase(),S==="ucs2"||S==="ucs-2"||S==="utf16le"||S==="utf-16le")){if(g.length<2||u.length<2)return-1;R=2,_/=2,Z/=2,h/=2}function he(ye,le){return R===1?ye[le]:ye.readUInt16BE(le*R)}let fe;if(T){let ye=-1;for(fe=h;fe<_;fe++)if(he(g,fe)===he(u,ye===-1?0:fe-ye)){if(ye===-1&&(ye=fe),fe-ye+1===Z)return ye*R}else ye!==-1&&(fe-=fe-ye),ye=-1}else for(h+Z>_&&(h=_-Z),fe=h;fe>=0;fe--){let ye=!0;for(let le=0;le<Z;le++)if(he(g,fe+le)!==he(u,le)){ye=!1;break}if(ye)return fe}return-1}p.prototype.includes=function(u,h,S){return this.indexOf(u,h,S)!==-1},p.prototype.indexOf=function(u,h,S){return K(this,u,h,S,!0)},p.prototype.lastIndexOf=function(u,h,S){return K(this,u,h,S,!1)};function U(g,u,h,S){h=Number(h)||0;let T=g.length-h;S?(S=Number(S),S>T&&(S=T)):S=T;let R=u.length;S>R/2&&(S=R/2);let _;for(_=0;_<S;++_){let Z=parseInt(u.substr(_*2,2),16);if(No(Z))return _;g[h+_]=Z}return _}function re(g,u,h,S){return Fn(Ao(u,g.length-h),g,h,S)}function He(g,u,h,S){return Fn(id(u),g,h,S)}function Ni(g,u,h,S){return Fn(ac(u),g,h,S)}function Ri(g,u,h,S){return Fn(nd(u,g.length-h),g,h,S)}p.prototype.write=function(u,h,S,T){if(h===void 0)T="utf8",S=this.length,h=0;else if(S===void 0&&typeof h=="string")T=h,S=this.length,h=0;else if(isFinite(h))h=h>>>0,isFinite(S)?(S=S>>>0,T===void 0&&(T="utf8")):(T=S,S=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let R=this.length-h;if((S===void 0||S>R)&&(S=R),u.length>0&&(S<0||h<0)||h>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");let _=!1;for(;;)switch(T){case"hex":return U(this,u,h,S);case"utf8":case"utf-8":return re(this,u,h,S);case"ascii":case"latin1":case"binary":return He(this,u,h,S);case"base64":return Ni(this,u,h,S);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ri(this,u,h,S);default:if(_)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),_=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Jm(g,u,h){return u===0&&h===g.length?e.fromByteArray(g):e.fromByteArray(g.slice(u,h))}function Yu(g,u,h){h=Math.min(g.length,h);let S=[],T=u;for(;T<h;){let R=g[T],_=null,Z=R>239?4:R>223?3:R>191?2:1;if(T+Z<=h){let he,fe,ye,le;switch(Z){case 1:R<128&&(_=R);break;case 2:he=g[T+1],(he&192)===128&&(le=(R&31)<<6|he&63,le>127&&(_=le));break;case 3:he=g[T+1],fe=g[T+2],(he&192)===128&&(fe&192)===128&&(le=(R&15)<<12|(he&63)<<6|fe&63,le>2047&&(le<55296||le>57343)&&(_=le));break;case 4:he=g[T+1],fe=g[T+2],ye=g[T+3],(he&192)===128&&(fe&192)===128&&(ye&192)===128&&(le=(R&15)<<18|(he&63)<<12|(fe&63)<<6|ye&63,le>65535&&le<1114112&&(_=le))}}_===null?(_=65533,Z=1):_>65535&&(_-=65536,S.push(_>>>10&1023|55296),_=56320|_&1023),S.push(_),T+=Z}return Km(S)}let Xu=4096;function Km(g){let u=g.length;if(u<=Xu)return String.fromCharCode.apply(String,g);let h="",S=0;for(;S<u;)h+=String.fromCharCode.apply(String,g.slice(S,S+=Xu));return h}function Qm(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]&127);return S}function Ym(g,u,h){let S="";h=Math.min(g.length,h);for(let T=u;T<h;++T)S+=String.fromCharCode(g[T]);return S}function Xm(g,u,h){let S=g.length;(!u||u<0)&&(u=0),(!h||h<0||h>S)&&(h=S);let T="";for(let R=u;R<h;++R)T+=sd[g[R]];return T}function Zm(g,u,h){let S=g.slice(u,h),T="";for(let R=0;R<S.length-1;R+=2)T+=String.fromCharCode(S[R]+S[R+1]*256);return T}p.prototype.slice=function(u,h){let S=this.length;u=~~u,h=h===void 0?S:~~h,u<0?(u+=S,u<0&&(u=0)):u>S&&(u=S),h<0?(h+=S,h<0&&(h=0)):h>S&&(h=S),h<u&&(h=u);let T=this.subarray(u,h);return Object.setPrototypeOf(T,p.prototype),T};function be(g,u,h){if(g%1!==0||g<0)throw new RangeError("offset is not uint");if(g+u>h)throw new RangeError("Trying to access beyond buffer length")}p.prototype.readUintLE=p.prototype.readUIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],R=1,_=0;for(;++_<h&&(R*=256);)T+=this[u+_]*R;return T},p.prototype.readUintBE=p.prototype.readUIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u+--h],R=1;for(;h>0&&(R*=256);)T+=this[u+--h]*R;return T},p.prototype.readUint8=p.prototype.readUInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]|this[u+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(u,h){return u=u>>>0,h||be(u,2,this.length),this[u]<<8|this[u+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},p.prototype.readBigUInt64LE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24,R=this[++u]+this[++u]*2**8+this[++u]*2**16+S*2**24;return BigInt(T)+(BigInt(R)<<BigInt(32))}),p.prototype.readBigUInt64BE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=h*2**24+this[++u]*2**16+this[++u]*2**8+this[++u],R=this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S;return(BigInt(T)<<BigInt(32))+BigInt(R)}),p.prototype.readIntLE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=this[u],R=1,_=0;for(;++_<h&&(R*=256);)T+=this[u+_]*R;return R*=128,T>=R&&(T-=Math.pow(2,8*h)),T},p.prototype.readIntBE=function(u,h,S){u=u>>>0,h=h>>>0,S||be(u,h,this.length);let T=h,R=1,_=this[u+--T];for(;T>0&&(R*=256);)_+=this[u+--T]*R;return R*=128,_>=R&&(_-=Math.pow(2,8*h)),_},p.prototype.readInt8=function(u,h){return u=u>>>0,h||be(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},p.prototype.readInt16LE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u]|this[u+1]<<8;return S&32768?S|4294901760:S},p.prototype.readInt16BE=function(u,h){u=u>>>0,h||be(u,2,this.length);let S=this[u+1]|this[u]<<8;return S&32768?S|4294901760:S},p.prototype.readInt32LE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},p.prototype.readInt32BE=function(u,h){return u=u>>>0,h||be(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},p.prototype.readBigInt64LE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=this[u+4]+this[u+5]*2**8+this[u+6]*2**16+(S<<24);return(BigInt(T)<<BigInt(32))+BigInt(h+this[++u]*2**8+this[++u]*2**16+this[++u]*2**24)}),p.prototype.readBigInt64BE=gt(function(u){u=u>>>0,sr(u,"offset");let h=this[u],S=this[u+7];(h===void 0||S===void 0)&&Oi(u,this.length-8);let T=(h<<24)+this[++u]*2**16+this[++u]*2**8+this[++u];return(BigInt(T)<<BigInt(32))+BigInt(this[++u]*2**24+this[++u]*2**16+this[++u]*2**8+S)}),p.prototype.readFloatLE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!0,23,4)},p.prototype.readFloatBE=function(u,h){return u=u>>>0,h||be(u,4,this.length),t.read(this,u,!1,23,4)},p.prototype.readDoubleLE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!0,52,8)},p.prototype.readDoubleBE=function(u,h){return u=u>>>0,h||be(u,8,this.length),t.read(this,u,!1,52,8)};function Fe(g,u,h,S,T,R){if(!p.isBuffer(g))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>T||u<R)throw new RangeError('"value" argument is out of bounds');if(h+S>g.length)throw new RangeError("Index out of range")}p.prototype.writeUintLE=p.prototype.writeUIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let R=1,_=0;for(this[h]=u&255;++_<S&&(R*=256);)this[h+_]=u/R&255;return h+S},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,S=S>>>0,!T){let Z=Math.pow(2,8*S)-1;Fe(this,u,h,S,Z,0)}let R=S-1,_=1;for(this[h+R]=u&255;--R>=0&&(_*=256);)this[h+R]=u/_&255;return h+S},p.prototype.writeUint8=p.prototype.writeUInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,255,0),this[h]=u&255,h+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u&255,this[h+1]=u>>>8,h+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,65535,0),this[h]=u>>>8,this[h+1]=u&255,h+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h+3]=u>>>24,this[h+2]=u>>>16,this[h+1]=u>>>8,this[h]=u&255,h+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,4294967295,0),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4};function Zu(g,u,h,S,T){sc(u,S,T,g,h,7);let R=Number(u&BigInt(4294967295));g[h++]=R,R=R>>8,g[h++]=R,R=R>>8,g[h++]=R,R=R>>8,g[h++]=R;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,_=_>>8,g[h++]=_,h}function ec(g,u,h,S,T){sc(u,S,T,g,h,7);let R=Number(u&BigInt(4294967295));g[h+7]=R,R=R>>8,g[h+6]=R,R=R>>8,g[h+5]=R,R=R>>8,g[h+4]=R;let _=Number(u>>BigInt(32)&BigInt(4294967295));return g[h+3]=_,_=_>>8,g[h+2]=_,_=_>>8,g[h+1]=_,_=_>>8,g[h]=_,h+8}p.prototype.writeBigUInt64LE=gt(function(u,h=0){return Zu(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeBigUInt64BE=gt(function(u,h=0){return ec(this,u,h,BigInt(0),BigInt("0xffffffffffffffff"))}),p.prototype.writeIntLE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let R=0,_=1,Z=0;for(this[h]=u&255;++R<S&&(_*=256);)u<0&&Z===0&&this[h+R-1]!==0&&(Z=1),this[h+R]=(u/_>>0)-Z&255;return h+S},p.prototype.writeIntBE=function(u,h,S,T){if(u=+u,h=h>>>0,!T){let he=Math.pow(2,8*S-1);Fe(this,u,h,S,he-1,-he)}let R=S-1,_=1,Z=0;for(this[h+R]=u&255;--R>=0&&(_*=256);)u<0&&Z===0&&this[h+R+1]!==0&&(Z=1),this[h+R]=(u/_>>0)-Z&255;return h+S},p.prototype.writeInt8=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,1,127,-128),u<0&&(u=255+u+1),this[h]=u&255,h+1},p.prototype.writeInt16LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u&255,this[h+1]=u>>>8,h+2},p.prototype.writeInt16BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,2,32767,-32768),this[h]=u>>>8,this[h+1]=u&255,h+2},p.prototype.writeInt32LE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),this[h]=u&255,this[h+1]=u>>>8,this[h+2]=u>>>16,this[h+3]=u>>>24,h+4},p.prototype.writeInt32BE=function(u,h,S){return u=+u,h=h>>>0,S||Fe(this,u,h,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[h]=u>>>24,this[h+1]=u>>>16,this[h+2]=u>>>8,this[h+3]=u&255,h+4},p.prototype.writeBigInt64LE=gt(function(u,h=0){return Zu(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),p.prototype.writeBigInt64BE=gt(function(u,h=0){return ec(this,u,h,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function tc(g,u,h,S,T,R){if(h+S>g.length)throw new RangeError("Index out of range");if(h<0)throw new RangeError("Index out of range")}function rc(g,u,h,S,T){return u=+u,h=h>>>0,T||tc(g,u,h,4),t.write(g,u,h,S,23,4),h+4}p.prototype.writeFloatLE=function(u,h,S){return rc(this,u,h,!0,S)},p.prototype.writeFloatBE=function(u,h,S){return rc(this,u,h,!1,S)};function ic(g,u,h,S,T){return u=+u,h=h>>>0,T||tc(g,u,h,8),t.write(g,u,h,S,52,8),h+8}p.prototype.writeDoubleLE=function(u,h,S){return ic(this,u,h,!0,S)},p.prototype.writeDoubleBE=function(u,h,S){return ic(this,u,h,!1,S)},p.prototype.copy=function(u,h,S,T){if(!p.isBuffer(u))throw new TypeError("argument should be a Buffer");if(S||(S=0),!T&&T!==0&&(T=this.length),h>=u.length&&(h=u.length),h||(h=0),T>0&&T<S&&(T=S),T===S||u.length===0||this.length===0)return 0;if(h<0)throw new RangeError("targetStart out of bounds");if(S<0||S>=this.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),u.length-h<T-S&&(T=u.length-h+S);let R=T-S;return this===u&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(h,S,T):Uint8Array.prototype.set.call(u,this.subarray(S,T),h),R},p.prototype.fill=function(u,h,S,T){if(typeof u=="string"){if(typeof h=="string"?(T=h,h=0,S=this.length):typeof S=="string"&&(T=S,S=this.length),T!==void 0&&typeof T!="string")throw new TypeError("encoding must be a string");if(typeof T=="string"&&!p.isEncoding(T))throw new TypeError("Unknown encoding: "+T);if(u.length===1){let _=u.charCodeAt(0);(T==="utf8"&&_<128||T==="latin1")&&(u=_)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(h<0||this.length<h||this.length<S)throw new RangeError("Out of range index");if(S<=h)return this;h=h>>>0,S=S===void 0?this.length:S>>>0,u||(u=0);let R;if(typeof u=="number")for(R=h;R<S;++R)this[R]=u;else{let _=p.isBuffer(u)?u:p.from(u,T),Z=_.length;if(Z===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(R=0;R<S-h;++R)this[R+h]=_[R%Z]}return this};let nr={};function Io(g,u,h){nr[g]=class extends h{constructor(){super(),Object.defineProperty(this,"message",{value:u.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${g}]`,this.stack,delete this.name}get code(){return g}set code(T){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:T,writable:!0})}toString(){return`${this.name} [${g}]: ${this.message}`}}}Io("ERR_BUFFER_OUT_OF_BOUNDS",function(g){return g?`${g} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Io("ERR_INVALID_ARG_TYPE",function(g,u){return`The "${g}" argument must be of type number. Received type ${typeof u}`},TypeError),Io("ERR_OUT_OF_RANGE",function(g,u,h){let S=`The value of "${g}" is out of range.`,T=h;return Number.isInteger(h)&&Math.abs(h)>2**32?T=nc(String(h)):typeof h=="bigint"&&(T=String(h),(h>BigInt(2)**BigInt(32)||h<-(BigInt(2)**BigInt(32)))&&(T=nc(T)),T+="n"),S+=` It must be ${u}. Received ${T}`,S},RangeError);function nc(g){let u="",h=g.length,S=g[0]==="-"?1:0;for(;h>=S+4;h-=3)u=`_${g.slice(h-3,h)}${u}`;return`${g.slice(0,h)}${u}`}function ed(g,u,h){sr(u,"offset"),(g[u]===void 0||g[u+h]===void 0)&&Oi(u,g.length-(h+1))}function sc(g,u,h,S,T,R){if(g>h||g<u){let _=typeof u=="bigint"?"n":"",Z;throw u===0||u===BigInt(0)?Z=`>= 0${_} and < 2${_} ** ${(R+1)*8}${_}`:Z=`>= -(2${_} ** ${(R+1)*8-1}${_}) and < 2 ** ${(R+1)*8-1}${_}`,new nr.ERR_OUT_OF_RANGE("value",Z,g)}ed(S,T,R)}function sr(g,u){if(typeof g!="number")throw new nr.ERR_INVALID_ARG_TYPE(u,"number",g)}function Oi(g,u,h){throw Math.floor(g)!==g?(sr(g,h),new nr.ERR_OUT_OF_RANGE("offset","an integer",g)):u<0?new nr.ERR_BUFFER_OUT_OF_BOUNDS:new nr.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${u}`,g)}let td=/[^+/0-9A-Za-z-_]/g;function rd(g){if(g=g.split("=")[0],g=g.trim().replace(td,""),g.length<2)return"";for(;g.length%4!==0;)g=g+"=";return g}function Ao(g,u){u=u||1/0;let h,S=g.length,T=null,R=[];for(let _=0;_<S;++_){if(h=g.charCodeAt(_),h>55295&&h<57344){if(!T){if(h>56319){(u-=3)>-1&&R.push(239,191,189);continue}else if(_+1===S){(u-=3)>-1&&R.push(239,191,189);continue}T=h;continue}if(h<56320){(u-=3)>-1&&R.push(239,191,189),T=h;continue}h=(T-55296<<10|h-56320)+65536}else T&&(u-=3)>-1&&R.push(239,191,189);if(T=null,h<128){if((u-=1)<0)break;R.push(h)}else if(h<2048){if((u-=2)<0)break;R.push(h>>6|192,h&63|128)}else if(h<65536){if((u-=3)<0)break;R.push(h>>12|224,h>>6&63|128,h&63|128)}else if(h<1114112){if((u-=4)<0)break;R.push(h>>18|240,h>>12&63|128,h>>6&63|128,h&63|128)}else throw new Error("Invalid code point")}return R}function id(g){let u=[];for(let h=0;h<g.length;++h)u.push(g.charCodeAt(h)&255);return u}function nd(g,u){let h,S,T,R=[];for(let _=0;_<g.length&&!((u-=2)<0);++_)h=g.charCodeAt(_),S=h>>8,T=h%256,R.push(T),R.push(S);return R}function ac(g){return e.toByteArray(rd(g))}function Fn(g,u,h,S){let T;for(T=0;T<S&&!(T+h>=u.length||T>=g.length);++T)u[T+h]=g[T];return T}function et(g,u){return g instanceof u||g!=null&&g.constructor!=null&&g.constructor.name!=null&&g.constructor.name===u.name}function No(g){return g!==g}let sd=(function(){let g="0123456789abcdef",u=new Array(256);for(let h=0;h<16;++h){let S=h*16;for(let T=0;T<16;++T)u[S+T]=g[h]+g[T]}return u})();function gt(g){return typeof BigInt>"u"?ad:g}function ad(){throw new Error("BigInt not supported")}return Gt}var Pi,Ap,Dn,Np,Gt,Rp,Pp=ar(()=>{"use strict";n();a();s();Pi={},Ap=!1;Dn={},Np=!1;Gt={},Rp=!1});var Wt,m,eg,tg,Cp=ar(()=>{"use strict";n();a();s();Pp();Wt=Op();Wt.Buffer;Wt.SlowBuffer;Wt.INSPECT_MAX_BYTES;Wt.kMaxLength;m=Wt.Buffer,eg=Wt.INSPECT_MAX_BYTES,tg=Wt.kMaxLength});var a=ar(()=>{"use strict";Cp()});n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var ld=typeof global=="object"&&global&&global.Object===Object&&global,_p=ld;var fd=typeof self=="object"&&self&&self.Object===Object&&self,md=_p||fd||Function("return this")(),kp=md;var dd=kp.Symbol,at=dd;n();a();s();var Fp=Object.prototype,hd=Fp.hasOwnProperty,yd=Fp.toString,Ci=at?at.toStringTag:void 0;function gd(e){var t=hd.call(e,Ci),r=e[Ci];try{e[Ci]=void 0;var i=!0}catch{}var o=yd.call(e);return i&&(t?e[Ci]=r:delete e[Ci]),o}var Lp=gd;n();a();s();var bd=Object.prototype,xd=bd.toString;function Sd(e){return xd.call(e)}var jp=Sd;var wd="[object Null]",Td="[object Undefined]",Bp=at?at.toStringTag:void 0;function Ed(e){return e==null?e===void 0?Td:wd:Bp&&Bp in Object(e)?Lp(e):jp(e)}var Dp=Ed;n();a();s();function Id(e){return e!=null&&typeof e=="object"}var Up=Id;var Ad="[object Symbol]";function Nd(e){return typeof e=="symbol"||Up(e)&&Dp(e)==Ad}var Mp=Nd;n();a();s();n();a();s();function Rd(e,t){for(var r=-1,i=e==null?0:e.length,o=Array(i);++r<i;)o[r]=t(e[r],r,e);return o}var vp=Rd;n();a();s();var Od=Array.isArray,Vp=Od;var Pd=1/0,zp=at?at.prototype:void 0,qp=zp?zp.toString:void 0;function Gp(e){if(typeof e=="string")return e;if(Vp(e))return vp(e,Gp)+"";if(Mp(e))return qp?qp.call(e):"";var t=e+"";return t=="0"&&1/e==-Pd?"-0":t}var Wp=Gp;n();a();s();function Cd(e){return e==null?"":Wp(e)}var xt=Cd;n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();function _d(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var c=Array(o);++i<o;)c[i]=e[i+t];return c}var $p=_d;function kd(e,t,r){var i=e.length;return r=r===void 0?i:r,!t&&r>=i?e:$p(e,t,r)}var Hp=kd;n();a();s();var Fd="\\ud800-\\udfff",Ld="\\u0300-\\u036f",jd="\\ufe20-\\ufe2f",Bd="\\u20d0-\\u20ff",Dd=Ld+jd+Bd,Ud="\\ufe0e\\ufe0f",Md="\\u200d",vd=RegExp("["+Md+Fd+Dd+Ud+"]");function Vd(e){return vd.test(e)}var Un=Vd;n();a();s();n();a();s();function zd(e){return e.split("")}var Jp=zd;n();a();s();var Kp="\\ud800-\\udfff",qd="\\u0300-\\u036f",Gd="\\ufe20-\\ufe2f",Wd="\\u20d0-\\u20ff",$d=qd+Gd+Wd,Hd="\\ufe0e\\ufe0f",Jd="["+Kp+"]",Co="["+$d+"]",_o="\\ud83c[\\udffb-\\udfff]",Kd="(?:"+Co+"|"+_o+")",Qp="[^"+Kp+"]",Yp="(?:\\ud83c[\\udde6-\\uddff]){2}",Xp="[\\ud800-\\udbff][\\udc00-\\udfff]",Qd="\\u200d",Zp=Kd+"?",el="["+Hd+"]?",Yd="(?:"+Qd+"(?:"+[Qp,Yp,Xp].join("|")+")"+el+Zp+")*",Xd=el+Zp+Yd,Zd="(?:"+[Qp+Co+"?",Co,Yp,Xp,Jd].join("|")+")",eh=RegExp(_o+"(?="+_o+")|"+Zd+Xd,"g");function th(e){return e.match(eh)||[]}var tl=th;function rh(e){return Un(e)?tl(e):Jp(e)}var rl=rh;function ih(e){return function(t){t=xt(t);var r=Un(t)?rl(t):void 0,i=r?r[0]:t.charAt(0),o=r?Hp(r,1).join(""):t.slice(1);return i[e]()+o}}var il=ih;var nh=il("toUpperCase"),Le=nh;function sh(e){return Le(xt(e).toLowerCase())}var nl=sh;n();a();s();n();a();s();function ah(e,t,r,i){var o=-1,c=e==null?0:e.length;for(i&&c&&(r=e[++o]);++o<c;)r=t(r,e[o],o,e);return r}var sl=ah;n();a();s();n();a();s();n();a();s();function oh(e){return function(t){return e?.[t]}}var al=oh;var uh={\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"},ch=al(uh),ol=ch;var ph=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lh="\\u0300-\\u036f",fh="\\ufe20-\\ufe2f",mh="\\u20d0-\\u20ff",dh=lh+fh+mh,hh="["+dh+"]",yh=RegExp(hh,"g");function gh(e){return e=xt(e),e&&e.replace(ph,ol).replace(yh,"")}var ul=gh;n();a();s();n();a();s();var bh=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function xh(e){return e.match(bh)||[]}var cl=xh;n();a();s();var Sh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function wh(e){return Sh.test(e)}var pl=wh;n();a();s();var hl="\\ud800-\\udfff",Th="\\u0300-\\u036f",Eh="\\ufe20-\\ufe2f",Ih="\\u20d0-\\u20ff",Ah=Th+Eh+Ih,yl="\\u2700-\\u27bf",gl="a-z\\xdf-\\xf6\\xf8-\\xff",Nh="\\xac\\xb1\\xd7\\xf7",Rh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Oh="\\u2000-\\u206f",Ph=" \\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",bl="A-Z\\xc0-\\xd6\\xd8-\\xde",Ch="\\ufe0e\\ufe0f",xl=Nh+Rh+Oh+Ph,Sl="['\u2019]",ll="["+xl+"]",_h="["+Ah+"]",wl="\\d+",kh="["+yl+"]",Tl="["+gl+"]",El="[^"+hl+xl+wl+yl+gl+bl+"]",Fh="\\ud83c[\\udffb-\\udfff]",Lh="(?:"+_h+"|"+Fh+")",jh="[^"+hl+"]",Il="(?:\\ud83c[\\udde6-\\uddff]){2}",Al="[\\ud800-\\udbff][\\udc00-\\udfff]",ur="["+bl+"]",Bh="\\u200d",fl="(?:"+Tl+"|"+El+")",Dh="(?:"+ur+"|"+El+")",ml="(?:"+Sl+"(?:d|ll|m|re|s|t|ve))?",dl="(?:"+Sl+"(?:D|LL|M|RE|S|T|VE))?",Nl=Lh+"?",Rl="["+Ch+"]?",Uh="(?:"+Bh+"(?:"+[jh,Il,Al].join("|")+")"+Rl+Nl+")*",Mh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",vh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Vh=Rl+Nl+Uh,zh="(?:"+[kh,Il,Al].join("|")+")"+Vh,qh=RegExp([ur+"?"+Tl+"+"+ml+"(?="+[ll,ur,"$"].join("|")+")",Dh+"+"+dl+"(?="+[ll,ur+fl,"$"].join("|")+")",ur+"?"+fl+"+"+ml,ur+"+"+dl,vh,Mh,wl,zh].join("|"),"g");function Gh(e){return e.match(qh)||[]}var Ol=Gh;function Wh(e,t,r){return e=xt(e),t=r?void 0:t,t===void 0?pl(e)?Ol(e):cl(e):e.match(t)||[]}var _i=Wh;var $h="['\u2019]",Hh=RegExp($h,"g");function Jh(e){return function(t){return sl(_i(ul(t).replace(Hh,"")),e,"")}}var Mn=Jh;var Kh=Mn(function(e,t,r){return t=t.toLowerCase(),e+(r?nl(t):t)}),cr=Kh;n();a();s();var Qh=Mn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}),vn=Qh;n();a();s();function ue(e){throw new Error("Unexpected value: "+JSON.stringify(e))}n();a();s();function ki(e){return Object.keys(e)}n();a();s();n();a();s();n();a();s();var Fi=f.env.FERN_STACK_TRACK?.toLowerCase()??"",je=Fi!==""&&Fi!=="0"&&Fi!=="false",ko=["single","multiline","box"].includes(Fi)?Fi:"single";je&&(Error.stackTraceLimit=50);var Pl=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),Yh=new Set(["stacktrace"]);function Fo(e){je&&Pl.add(e)}function Li({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:p=!0,formatFilename:x=w=>w}={}){if(!je)return[];i=[...i,...Pl],r=[...r,...Yh],o=[...o,"runInteractiveTask"];let w=!1;return(new Error().stack??"").split(`
|
|
2
2
|
`).map(I=>{let A=I.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(A&&A.length===5){let[,P,F,N,j]=A;if(!P||!F||!N||!j)return;if(w||o.some(M=>P?.includes(M))){w=!0;return}switch(P){case"Object.<anonymous>":P="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":P=`${P.substring(P.indexOf(".")+1)}()=> { ... }`;break}return{fn:P,path:x(F),position:`${N}:${j}`}}}).filter(I=>I&&!i.some(A=>I.fn.includes(A))&&!(c&&I.path?.startsWith("node:"))&&!(p&&I.path?.endsWith(".js"))&&!r.some(A=>I.path.includes(A))).slice(t,t+e)}function ji({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=["runInteractiveTask"],filterNode:c=!0,filterJs:p=!0,multiline:x=!1,formatFilename:w=I=>I}={}){return je?`${Li({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:p,formatFilename:w}).map(I=>`${x?`
|
|
3
3
|
`:" > "}${I.fn} - ${I.path}:${I.position}`).join("")}`:""}var Vn=class{constructor({maxFrames:t=50,skip:r=0,filterPaths:i=[],filterFunctions:o=[],stopOn:c=[],filterNode:p=!0,filterJs:x=!0,multiline:w=!1,formatFilename:I=A=>A}={}){y(this,"maxFrames");y(this,"skip");y(this,"filterPaths");y(this,"filterFunctions");y(this,"stopOn");y(this,"filterNode");y(this,"filterJs");y(this,"multiline");y(this,"formatFilename");y(this,"tracking",new WeakMap);this.maxFrames=t,this.skip=r,this.filterPaths=i,this.filterFunctions=o,this.stopOn=c,this.filterNode=p,this.filterJs=x,this.multiline=w,this.formatFilename=I}tag(t){let r=this.tracking.get(t)||new Set;Li({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(i=>r.add(i)),this.tracking.set(t,r)}trace(t){if(!je)return"";let r=this.tracking.get(t);return r?[...r].map(i=>`${this.multiline?`
|
|
4
4
|
`:""}${i.fn} - ${i.path}:${i.position}`).join(""):""}frames(t){let r=this.tracking.get(t);return r?[...r]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},Lo;function Cl({maxFrames:e=50,skip:t=0,filterPaths:r=[],filterFunctions:i=[],stopOn:o=[],filterNode:c=!0,filterJs:p=!0,multiline:x=!1,formatFilename:w=I=>I}={}){je&&(Lo??(Lo=new Vn({maxFrames:e,skip:t,filterPaths:r,filterFunctions:i,stopOn:o,filterNode:c,filterJs:p,multiline:x,formatFilename:w})))}function _l(e){Lo?.tag(e)}function Bi(e){return Lo?.frames(e)??[]}var ot=class{constructor(){_l(this)}};n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();n();a();s();var Xh="__package__",Qx=`${Xh}.yml`;var kl="default-group",Fl="spec-origin",Ll="async-api",jl="openapi",Bl="openapi-overrides",Dl="api-settings";var Ul="local";var qe={};z(qe,{API_ORIGIN_LOCATION_KEY:()=>Fl,API_SETTINGS_KEY:()=>Dl,ASYNC_API_LOCATION_KEY:()=>Ll,CoerceConstsTo:()=>ef,DEFAULT_GROUP_GENERATORS_CONFIG_KEY:()=>kl,DEFAULT_GROUP_NAME:()=>Ul,DefaultIntegerFormat:()=>tf,ExampleStyle:()=>rf,FormParameterEncoding:()=>nf,GenerationLanguage:()=>Ml,GithubCommitAndReleaseMode:()=>lf,GithubLicenseType:()=>mf,GithubSelfhostedMode:()=>ff,Language:()=>sf,MessageNamingSettingsSchema:()=>af,ModelProvider:()=>ql,MultiServerStrategy:()=>of,OPENAPI_LOCATION_KEY:()=>jl,OPENAPI_OVERRIDES_LOCATION_KEY:()=>Bl,PathParameterOrder:()=>uf,RemoveDiscriminantsFromSchemas:()=>cf,UnionSettingsSchema:()=>pf,ai:()=>jo,automation:()=>Gl,fernDefinition:()=>Do,generators:()=>Uo,getPackageName:()=>vl,group:()=>Mo,isApiConfigurationV2Schema:()=>Gf,isAsyncApiSpecSchema:()=>Wf,isConjureSchema:()=>$f,isGraphQLSpecSchema:()=>Hf,isNamespacedApiConfiguration:()=>Jf,isOpenApiSpecSchema:()=>Kf,isOpenRpcSpecSchema:()=>Qf,isProtoSpecSchema:()=>Yf,isRawProtobufAPIDefinitionSchema:()=>Vl,license:()=>vo,replay:()=>df,resolveAutomationConfig:()=>zl,reviewers:()=>hf,serialization:()=>cu});n();a();s();n();a();s();var Ml={TYPESCRIPT:"typescript",JAVA:"java",PYTHON:"python",GO:"go",RUBY:"ruby",CSHARP:"csharp",SWIFT:"swift",PHP:"php",RUST:"rust"};function vl({generatorInvocation:e}){return e.language==="go"?Zh(e):e.outputMode._visit({downloadFiles:()=>{},github:t=>t.publishInfo?._visit({maven:r=>r.coordinate,npm:r=>r.packageName,pypi:r=>r.packageName,postman:()=>{},rubygems:r=>r.packageName,nuget:r=>r.packageName,crates:r=>r.packageName,_other:()=>{}}),githubV2:t=>t.publishInfo?._visit({maven:r=>r.coordinate,npm:r=>r.packageName,pypi:r=>r.packageName,postman:()=>{},rubygems:r=>r.packageName,nuget:r=>r.packageName,crates:r=>r.packageName,_other:()=>{}}),publish:()=>{},publishV2:()=>{},_other:()=>{}})}function Zh(e){return e.outputMode._visit({downloadFiles:()=>{},github:t=>`github.com/${t.owner}/${t.repo}`,githubV2:t=>`github.com/${t.owner}/${t.repo}`,publish:()=>{},publishV2:()=>{},_other:()=>{}})}n();a();s();function Vl(e){return typeof e!="string"&&"proto"in e}n();a();s();var zn={generate:!0,upgrade:!0,preview:!0,verify:!0};function zl({rootAutomation:e,groupAutomation:t,generatorAutomation:r}){return{generate:r?.generate??t?.generate??e?.generate??zn.generate,upgrade:r?.upgrade??t?.upgrade??e?.upgrade??zn.upgrade,preview:r?.preview??t?.preview??e?.preview??zn.preview,verify:r?.verify??t?.verify??e?.verify??zn.verify}}n();a();s();n();a();s();var jo={};z(jo,{ModelProvider:()=>ql});n();a();s();n();a();s();var ql={Openai:"openai",Anthropic:"anthropic",AwsBedrock:"aws-bedrock"};var Gl={};n();a();s();var Do={};z(Do,{AvailabilityStatusSchema:()=>$l,auth:()=>Wl,availability:()=>Bo,commons:()=>Hl,encoding:()=>Jl,environments:()=>Kl,file:()=>Ql,service:()=>Yl,types:()=>Xl,validation:()=>Zl});n();a();s();n();a();s();var Wl={};n();a();s();var Bo={};z(Bo,{AvailabilityStatusSchema:()=>$l});n();a();s();n();a();s();var $l={InDevelopment:"in-development",PreRelease:"pre-release",Deprecated:"deprecated",GenerallyAvailable:"generally-available"};var Hl={};n();a();s();var Jl={};n();a();s();var Kl={};n();a();s();var Ql={};n();a();s();var Yl={};n();a();s();var Xl={};n();a();s();var Zl={};n();a();s();var Uo={};z(Uo,{CoerceConstsTo:()=>ef,DefaultIntegerFormat:()=>tf,ExampleStyle:()=>rf,FormParameterEncoding:()=>nf,Language:()=>sf,MessageNamingSettingsSchema:()=>af,MultiServerStrategy:()=>of,PathParameterOrder:()=>uf,RemoveDiscriminantsFromSchemas:()=>cf,UnionSettingsSchema:()=>pf});n();a();s();n();a();s();var ef={Literals:"literals",Enums:"enums",EnumsCoerceableToLiterals:"enums-coerceable-to-literals"};n();a();s();var tf={Int32:"int32",Int64:"int64",Uint32:"uint32",Uint64:"uint64"};n();a();s();var rf={Minimal:"minimal",Comprehensive:"comprehensive"};n();a();s();var nf={Form:"form",Json:"json"};n();a();s();var sf={Java:"java",Python:"python",Go:"go",Ruby:"ruby",Csharp:"csharp",Typescript:"typescript",Php:"php",Rust:"rust",Swift:"swift"};n();a();s();var af={V1:"v1",V2:"v2"};n();a();s();var of={EnvironmentPerServer:"environment-per-server",UrlsPerEnvironment:"urls-per-environment"};n();a();s();var uf={UrlOrder:"url-order",SpecOrder:"spec-order"};n();a();s();var cf={Always:"always",Never:"never"};n();a();s();var pf={V1:"v1"};var Mo={};z(Mo,{GithubCommitAndReleaseMode:()=>lf,GithubSelfhostedMode:()=>ff});n();a();s();n();a();s();var lf={Commit:"commit",Release:"release"};n();a();s();var ff={PullRequest:"pull-request",Push:"push",CommitAndRelease:"commit-and-release"};var vo={};z(vo,{GithubLicenseType:()=>mf});n();a();s();n();a();s();var mf={Mit:"MIT",Apache:"Apache-2.0"};var df={};n();a();s();var hf={};n();a();s();var cu={};z(cu,{AiServicesSchema:()=>Kn,ApiConfigurationSchema:()=>ea,ApiConfigurationSchemaInternal:()=>Rr,ApiConfigurationV2Schema:()=>Xs,ApiConfigurationV2SettingsSchema:()=>Cr,ApiConfigurationV2SpecsSchema:()=>_r,ApiDefinitionList:()=>Ds,ApiDefinitionPathSchema:()=>It,ApiDefinitionSchema:()=>Bs,ApiDefinitionSettingsSchema:()=>Er,ApiDefinitionWithOverridesSchema:()=>Ir,AsyncApiSettingsSchema:()=>Pr,AsyncApiSpecSchema:()=>$s,AutomationSchema:()=>St,BaseApiSettingsSchema:()=>Or,BaseGeneratorInvocationSchema:()=>kr,CoerceConstsTo:()=>Us,ConjureSchema:()=>Ws,CratesOutputLocationSchema:()=>sa,CustomGeneratorInvocationSchema:()=>Na,DefaultGeneratorInvocationSchema:()=>Ra,DefaultIntegerFormat:()=>Ms,ExampleStyle:()=>ta,FormParameterEncoding:()=>vs,GeneratorApiSettingsSchema:()=>na,GeneratorGroupSchema:()=>Pa,GeneratorImageObjectSchema:()=>ra,GeneratorInvocationSchema:()=>Oa,GeneratorOutputSchema:()=>ha,GeneratorPublishMetadataSchema:()=>Vi,GeneratorSnippetsSchema:()=>ba,GeneratorsConfigurationSchema:()=>qf,GeneratorsOpenApiObjectSchema:()=>_a,GeneratorsOpenApiSchema:()=>ka,GithubCommitAndReleaseMode:()=>xa,GithubCommitAndReleaseSchema:()=>Sa,GithubConfigurationSchema:()=>Aa,GithubLicenseCustomSchema:()=>ya,GithubLicenseSchema:()=>ze,GithubLicenseType:()=>ga,GithubPullRequestSchema:()=>wa,GithubPushSchema:()=>Ta,GithubSelfhostedMode:()=>Ea,GithubSelfhostedSchema:()=>Ia,GraphQlSpecSchema:()=>Hs,Language:()=>Fa,LocalFileSystemOutputLocationSchema:()=>aa,MavenOutputLocationSchema:()=>ua,MavenOutputSignatureSchema:()=>oa,MessageNamingSettingsSchema:()=>xr,ModelName:()=>Hn,ModelProvider:()=>Jn,MultiServerStrategy:()=>Sr,NamespacedApiConfigurationSchema:()=>Zs,NpmOutputLocationSchema:()=>ca,NugetOutputLocationSchema:()=>pa,OpenApiExampleGenerationSchema:()=>Vs,OpenApiFilterSchema:()=>zs,OpenApiSettingsSchema:()=>At,OpenApiSpecSchema:()=>Js,OpenRpcSpecSchema:()=>Ks,OutputMetadataAuthor:()=>ia,OutputMetadataSchema:()=>Nt,OverridesSchema:()=>Ve,PathParameterOrder:()=>wr,PostmanOutputLocationSchema:()=>la,ProtobufApiDefinitionSchema:()=>Nr,ProtobufDefinitionSchema:()=>Ar,ProtobufSpecSchema:()=>Qs,PypiOutputLocationSchema:()=>ma,PypiOutputMetadataSchema:()=>fa,ReadmeCustomSectionSchema:()=>La,ReadmeEndpointObjectSchema:()=>ja,ReadmeEndpointSchema:()=>zi,ReadmeSchema:()=>Ba,RemoveDiscriminantsFromSchemas:()=>Tr,ReplayConfigSchema:()=>Ca,RequestOrResponseExampleGenerationSchema:()=>Mi,ResolveAliases:()=>Gs,ResolveAliasesSchema:()=>qs,ReviewerSchema:()=>vi,ReviewersSchema:()=>Rt,RubyGemsOutputLocationSchema:()=>da,SpecSchema:()=>Ys,UnionSettingsSchema:()=>js,WhitelabelConfigurationSchema:()=>Ua,WhitelabelGithubConfigurationSchema:()=>Da,ai:()=>$o,automation:()=>Ho,fernDefinition:()=>iu,generators:()=>nu,group:()=>su,license:()=>au,replay:()=>ou,reviewers:()=>uu});n();a();s();n();a();s();var $o={};z($o,{AiServicesSchema:()=>Kn,ModelName:()=>Hn,ModelProvider:()=>Jn});n();a();s();n();a();s();n();a();s();var l={};z(l,{JsonError:()=>pr,ParseError:()=>lr,any:()=>Pf,bigint:()=>gf,boolean:()=>Cf,booleanLiteral:()=>Rf,date:()=>bf,discriminant:()=>vf,enum_:()=>Gn,getObjectLikeUtils:()=>Je,getObjectUtils:()=>$t,getSchemaUtils:()=>ae,isProperty:()=>ct,lazy:()=>xf,lazyObject:()=>Af,list:()=>$n,never:()=>_f,number:()=>kf,object:()=>Wn,objectWithoutOptionalProperties:()=>If,optional:()=>Vo,property:()=>wf,record:()=>Bf,set:()=>Df,string:()=>Ff,stringLiteral:()=>Of,transform:()=>zo,undiscriminatedUnion:()=>Mf,union:()=>zf,unknown:()=>Lf,withParsedProperties:()=>Wo});n();a();s();n();a();s();n();a();s();n();a();s();var H={BIGINT:"bigint",DATE:"date",ENUM:"enum",LIST:"list",STRING_LITERAL:"stringLiteral",BOOLEAN_LITERAL:"booleanLiteral",OBJECT:"object",ANY:"any",BOOLEAN:"boolean",NUMBER:"number",STRING:"string",UNKNOWN:"unknown",NEVER:"never",RECORD:"record",SET:"set",UNION:"union",UNDISCRIMINATED_UNION:"undiscriminatedUnion",NULLABLE:"nullable",OPTIONAL:"optional",OPTIONAL_NULLABLE:"optionalNullable"};n();a();s();function ie(e,t){return`Expected ${t}. Received ${e0(e)}.`}function e0(e){if(Array.isArray(e))return"list";if(e===null)return"null";if(e instanceof BigInt)return"BigInt";switch(typeof e){case"string":return`"${e}"`;case"bigint":case"number":case"boolean":case"undefined":return`${e}`}return typeof e}n();a();s();function xe(e){return{...e,json:yf(e.json),parse:yf(e.parse)}}function yf(e){return(t,r)=>{let i=e(t,r),{skipValidation:o=!1}=r??{};return!i.ok&&o?(console.warn(["Failed to validate.",...i.errors.map(c=>" - "+(c.path.length>0?`${c.path.join(".")}: ${c.message}`:c.message))].join(`
|