@fern-api/typescript-dynamic-snippets 3.62.0 → 3.62.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";var qe=Object.defineProperty;var _i=Object.getOwnPropertyDescriptor;var Di=Object.getOwnPropertyNames;var Wi=Object.prototype.hasOwnProperty;var Vi=(s,t,e)=>t in s?qe(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var ye=(s,t)=>()=>(s&&(t=s(s=0)),t);var K=(s,t)=>{for(var e in t)qe(s,e,{get:t[e],enumerable:!0})},qi=(s,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let p of Di(t))!Wi.call(s,p)&&p!==e&&qe(s,p,{get:()=>t[p],enumerable:!(i=_i(t,p))||i.enumerable});return s};var Gi=s=>qi(qe({},"__esModule",{value:!0}),s);var v=(s,t,e)=>Vi(s,typeof t!="symbol"?t+"":t,e);var l=ye(()=>{"use strict"});var x={};K(x,{_debugEnd:()=>Ir,_debugProcess:()=>br,_events:()=>$r,_eventsCount:()=>jr,_exiting:()=>rr,_fatalExceptions:()=>xr,_getActiveHandles:()=>ar,_getActiveRequests:()=>or,_kill:()=>ur,_linkedBinding:()=>er,_maxListeners:()=>Mr,_preload_modules:()=>Pr,_rawDebug:()=>Xt,_startProfilerIdleNotifier:()=>Er,_stopProfilerIdleNotifier:()=>Tr,_tickCallback:()=>vr,abort:()=>Nr,addListener:()=>_r,allowedNodeEnvironmentFlags:()=>mr,arch:()=>$t,argv:()=>Dt,argv0:()=>kr,assert:()=>hr,binding:()=>zt,browser:()=>Kt,chdir:()=>Jt,config:()=>nr,cpuUsage:()=>He,cwd:()=>Yt,debugPort:()=>Cr,default:()=>Jr,dlopen:()=>ir,domain:()=>tr,emit:()=>Gr,emitWarning:()=>Gt,env:()=>_t,execArgv:()=>Wt,execPath:()=>Lr,exit:()=>fr,features:()=>yr,hasUncaughtExceptionCaptureCallback:()=>wr,hrtime:()=>ze,kill:()=>cr,listeners:()=>Yr,memoryUsage:()=>lr,moduleLoadList:()=>Qt,nextTick:()=>Ot,off:()=>Wr,on:()=>ee,once:()=>Dr,openStdin:()=>dr,pid:()=>Fr,platform:()=>jt,ppid:()=>Sr,prependListener:()=>zr,prependOnceListener:()=>Hr,reallyExit:()=>sr,release:()=>Zt,removeAllListeners:()=>qr,removeListener:()=>Vr,resourceUsage:()=>pr,setSourceMapsEnabled:()=>Or,setUncaughtExceptionCaptureCallback:()=>gr,stderr:()=>Rr,stdin:()=>Br,stdout:()=>Ar,title:()=>Mt,umask:()=>Ht,uptime:()=>Ur,version:()=>Vt,versions:()=>qt});function pt(s){throw new Error("Node.js process "+s+" is not supported by JSPM core outside of Node.js")}function zi(){!xe||!se||(xe=!1,se.length?Q=se.concat(Q):Ge=-1,Q.length&&Pt())}function Pt(){if(!xe){var s=setTimeout(zi,0);xe=!0;for(var t=Q.length;t;){for(se=Q,Q=[];++Ge<t;)se&&se[Ge].run();Ge=-1,t=Q.length}se=null,xe=!1,clearTimeout(s)}}function Ot(s){var t=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];Q.push(new Ut(s,t)),Q.length===1&&!xe&&setTimeout(Pt,0)}function Ut(s,t){this.fun=s,this.array=t}function D(){}function er(s){pt("_linkedBinding")}function ir(s){pt("dlopen")}function or(){return[]}function ar(){return[]}function hr(s,t){if(!s)throw new Error(t||"assertion error")}function wr(){return!1}function Ur(){return ie.now()/1e3}function ze(s){var t=Math.floor((Date.now()-ie.now())*.001),e=ie.now()*.001,i=Math.floor(e)+t,p=Math.floor(e%1*1e9);return s&&(i=i-s[0],p=p-s[1],p<0&&(i--,p+=ut)),[i,p]}function ee(){return Jr}function Yr(s){return[]}var Q,xe,se,Ge,Mt,$t,jt,_t,Dt,Wt,Vt,qt,Gt,zt,Ht,Yt,Jt,Zt,Kt,Xt,Qt,tr,rr,nr,sr,ur,He,pr,lr,cr,fr,dr,mr,yr,xr,gr,vr,br,Ir,Er,Tr,Ar,Rr,Br,Nr,Fr,Sr,Lr,Cr,kr,Pr,Or,ie,st,ut,Mr,$r,jr,_r,Dr,Wr,Vr,qr,Gr,zr,Hr,Jr,Zr=ye(()=>{"use strict";l();f();c();Q=[],xe=!1,Ge=-1;Ut.prototype.run=function(){this.fun.apply(null,this.array)};Mt="browser",$t="x64",jt="browser",_t={PATH:"/usr/bin",LANG:typeof navigator<"u"?navigator.language+".UTF-8":void 0,PWD:"/",HOME:"/home",TMP:"/tmp"},Dt=["/usr/bin/node"],Wt=[],Vt="v16.8.0",qt={},Gt=function(s,t){console.warn((t?t+": ":"")+s)},zt=function(s){pt("binding")},Ht=function(s){return 0},Yt=function(){return"/"},Jt=function(s){},Zt={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Kt=!0,Xt=D,Qt=[];tr={},rr=!1,nr={};sr=D,ur=D,He=function(){return{}},pr=He,lr=He,cr=D,fr=D,dr=D,mr={};yr={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},xr=D,gr=D;vr=D,br=D,Ir=D,Er=D,Tr=D,Ar=void 0,Rr=void 0,Br=void 0,Nr=D,Fr=2,Sr=1,Lr="/bin/usr/node",Cr=9229,kr="node",Pr=[],Or=D,ie={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};ie.now===void 0&&(st=Date.now(),ie.timing&&ie.timing.navigationStart&&(st=ie.timing.navigationStart),ie.now=()=>Date.now()-st);ut=1e9;ze.bigint=function(s){var t=ze(s);return typeof BigInt>"u"?t[0]*ut+t[1]:BigInt(t[0]*ut)+BigInt(t[1])};Mr=10,$r={},jr=0;_r=ee,Dr=ee,Wr=ee,Vr=ee,qr=ee,Gr=D,zr=ee,Hr=ee;Jr={version:Vt,versions:qt,arch:$t,platform:jt,browser:Kt,release:Zt,_rawDebug:Xt,moduleLoadList:Qt,binding:zt,_linkedBinding:er,_events:$r,_eventsCount:jr,_maxListeners:Mr,on:ee,addListener:_r,once:Dr,off:Wr,removeListener:Vr,removeAllListeners:qr,emit:Gr,prependListener:zr,prependOnceListener:Hr,listeners:Yr,domain:tr,_exiting:rr,config:nr,dlopen:ir,uptime:Ur,_getActiveRequests:or,_getActiveHandles:ar,reallyExit:sr,_kill:ur,cpuUsage:He,resourceUsage:pr,memoryUsage:lr,kill:cr,exit:fr,openStdin:dr,allowedNodeEnvironmentFlags:mr,assert:hr,features:yr,_fatalExceptions:xr,setUncaughtExceptionCaptureCallback:gr,hasUncaughtExceptionCaptureCallback:wr,emitWarning:Gt,nextTick:Ot,_tickCallback:vr,_debugProcess:br,_debugEnd:Ir,_startProfilerIdleNotifier:Er,_stopProfilerIdleNotifier:Tr,stdout:Ar,stdin:Br,stderr:Rr,abort:Nr,umask:Ht,chdir:Jt,cwd:Yt,env:_t,title:Mt,argv:Dt,execArgv:Wt,pid:Fr,ppid:Sr,execPath:Lr,debugPort:Cr,hrtime:ze,argv0:kr,_preload_modules:Pr,setSourceMapsEnabled:Or}});var c=ye(()=>{"use strict";Zr()});function Hi(){if(Kr)return Ne;Kr=!0,Ne.byteLength=I,Ne.toByteArray=F,Ne.fromByteArray=W;for(var s=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,d=i.length;p<d;++p)s[p]=i[p],t[i.charCodeAt(p)]=p;t[45]=62,t[95]=63;function u(T){var A=T.length;if(A%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var S=T.indexOf("=");S===-1&&(S=A);var j=S===A?0:4-S%4;return[S,j]}function I(T){var A=u(T),S=A[0],j=A[1];return(S+j)*3/4-j}function E(T,A,S){return(A+S)*3/4-S}function F(T){var A,S=u(T),j=S[0],q=S[1],$=new e(E(T,j,q)),G=0,H=q>0?j-4:j,V;for(V=0;V<H;V+=4)A=t[T.charCodeAt(V)]<<18|t[T.charCodeAt(V+1)]<<12|t[T.charCodeAt(V+2)]<<6|t[T.charCodeAt(V+3)],$[G++]=A>>16&255,$[G++]=A>>8&255,$[G++]=A&255;return q===2&&(A=t[T.charCodeAt(V)]<<2|t[T.charCodeAt(V+1)]>>4,$[G++]=A&255),q===1&&(A=t[T.charCodeAt(V)]<<10|t[T.charCodeAt(V+1)]<<4|t[T.charCodeAt(V+2)]>>2,$[G++]=A>>8&255,$[G++]=A&255),$}function R(T){return s[T>>18&63]+s[T>>12&63]+s[T>>6&63]+s[T&63]}function C(T,A,S){for(var j,q=[],$=A;$<S;$+=3)j=(T[$]<<16&16711680)+(T[$+1]<<8&65280)+(T[$+2]&255),q.push(R(j));return q.join("")}function W(T){for(var A,S=T.length,j=S%3,q=[],$=16383,G=0,H=S-j;G<H;G+=$)q.push(C(T,G,G+$>H?H:G+$));return j===1?(A=T[S-1],q.push(s[A>>2]+s[A<<4&63]+"==")):j===2&&(A=(T[S-2]<<8)+T[S-1],q.push(s[A>>10]+s[A>>4&63]+s[A<<2&63]+"=")),q.join("")}return Ne}function Yi(){if(Xr)return Ye;Xr=!0;return Ye.read=function(s,t,e,i,p){var d,u,I=p*8-i-1,E=(1<<I)-1,F=E>>1,R=-7,C=e?p-1:0,W=e?-1:1,T=s[t+C];for(C+=W,d=T&(1<<-R)-1,T>>=-R,R+=I;R>0;d=d*256+s[t+C],C+=W,R-=8);for(u=d&(1<<-R)-1,d>>=-R,R+=i;R>0;u=u*256+s[t+C],C+=W,R-=8);if(d===0)d=1-F;else{if(d===E)return u?NaN:(T?-1:1)*(1/0);u=u+Math.pow(2,i),d=d-F}return(T?-1:1)*u*Math.pow(2,d-i)},Ye.write=function(s,t,e,i,p,d){var u,I,E,F=d*8-p-1,R=(1<<F)-1,C=R>>1,W=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=i?0:d-1,A=i?1:-1,S=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(I=isNaN(t)?1:0,u=R):(u=Math.floor(Math.log(t)/Math.LN2),t*(E=Math.pow(2,-u))<1&&(u--,E*=2),u+C>=1?t+=W/E:t+=W*Math.pow(2,1-C),t*E>=2&&(u++,E/=2),u+C>=R?(I=0,u=R):u+C>=1?(I=(t*E-1)*Math.pow(2,p),u=u+C):(I=t*Math.pow(2,C-1)*Math.pow(2,p),u=0));p>=8;s[e+T]=I&255,T+=A,I/=256,p-=8);for(u=u<<p|I,F+=p;F>0;s[e+T]=u&255,T+=A,u/=256,F-=8);s[e+T-A]|=S*128},Ye}function en(){if(Qr)return ue;Qr=!0;let s=Hi(),t=Yi(),e=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ue.Buffer=u,ue.SlowBuffer=q,ue.INSPECT_MAX_BYTES=50;let i=2147483647;ue.kMaxLength=i,u.TYPED_ARRAY_SUPPORT=p(),!u.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function p(){try{let o=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(o,r),o.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function d(o){if(o>i)throw new RangeError('The value "'+o+'" is invalid for option "size"');let r=new Uint8Array(o);return Object.setPrototypeOf(r,u.prototype),r}function u(o,r,n){if(typeof o=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(o)}return I(o,r,n)}u.poolSize=8192;function I(o,r,n){if(typeof o=="string")return C(o,r);if(ArrayBuffer.isView(o))return T(o);if(o==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof o);if(Z(o,ArrayBuffer)||o&&Z(o.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Z(o,SharedArrayBuffer)||o&&Z(o.buffer,SharedArrayBuffer)))return A(o,r,n);if(typeof o=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let a=o.valueOf&&o.valueOf();if(a!=null&&a!==o)return u.from(a,r,n);let m=S(o);if(m)return m;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof o[Symbol.toPrimitive]=="function")return u.from(o[Symbol.toPrimitive]("string"),r,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof o)}u.from=function(o,r,n){return I(o,r,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array);function E(o){if(typeof o!="number")throw new TypeError('"size" argument must be of type number');if(o<0)throw new RangeError('The value "'+o+'" is invalid for option "size"')}function F(o,r,n){return E(o),o<=0?d(o):r!==void 0?typeof n=="string"?d(o).fill(r,n):d(o).fill(r):d(o)}u.alloc=function(o,r,n){return F(o,r,n)};function R(o){return E(o),d(o<0?0:j(o)|0)}u.allocUnsafe=function(o){return R(o)},u.allocUnsafeSlow=function(o){return R(o)};function C(o,r){if((typeof r!="string"||r==="")&&(r="utf8"),!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r);let n=$(o,r)|0,a=d(n),m=a.write(o,r);return m!==n&&(a=a.slice(0,m)),a}function W(o){let r=o.length<0?0:j(o.length)|0,n=d(r);for(let a=0;a<r;a+=1)n[a]=o[a]&255;return n}function T(o){if(Z(o,Uint8Array)){let r=new Uint8Array(o);return A(r.buffer,r.byteOffset,r.byteLength)}return W(o)}function A(o,r,n){if(r<0||o.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(o.byteLength<r+(n||0))throw new RangeError('"length" is outside of buffer bounds');let a;return r===void 0&&n===void 0?a=new Uint8Array(o):n===void 0?a=new Uint8Array(o,r):a=new Uint8Array(o,r,n),Object.setPrototypeOf(a,u.prototype),a}function S(o){if(u.isBuffer(o)){let r=j(o.length)|0,n=d(r);return n.length===0||o.copy(n,0,0,r),n}if(o.length!==void 0)return typeof o.length!="number"||at(o.length)?d(0):W(o);if(o.type==="Buffer"&&Array.isArray(o.data))return W(o.data)}function j(o){if(o>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return o|0}function q(o){return+o!=o&&(o=0),u.alloc(+o)}u.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==u.prototype},u.compare=function(r,n){if(Z(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),Z(n,Uint8Array)&&(n=u.from(n,n.offset,n.byteLength)),!u.isBuffer(r)||!u.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===n)return 0;let a=r.length,m=n.length;for(let h=0,y=Math.min(a,m);h<y;++h)if(r[h]!==n[h]){a=r[h],m=n[h];break}return a<m?-1:m<a?1:0},u.isEncoding=function(r){switch(String(r).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(r,n){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return u.alloc(0);let a;if(n===void 0)for(n=0,a=0;a<r.length;++a)n+=r[a].length;let m=u.allocUnsafe(n),h=0;for(a=0;a<r.length;++a){let y=r[a];if(Z(y,Uint8Array))h+y.length>m.length?(u.isBuffer(y)||(y=u.from(y)),y.copy(m,h)):Uint8Array.prototype.set.call(m,y,h);else if(u.isBuffer(y))y.copy(m,h);else throw new TypeError('"list" argument must be an Array of Buffers');h+=y.length}return m};function $(o,r){if(u.isBuffer(o))return o.length;if(ArrayBuffer.isView(o)||Z(o,ArrayBuffer))return o.byteLength;if(typeof o!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof o);let n=o.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&n===0)return 0;let m=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ot(o).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return kt(o).length;default:if(m)return a?-1:ot(o).length;r=(""+r).toLowerCase(),m=!0}}u.byteLength=$;function G(o,r,n){let a=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,r>>>=0,n<=r))return"";for(o||(o="utf8");;)switch(o){case"hex":return Li(this,r,n);case"utf8":case"utf-8":return Tt(this,r,n);case"ascii":return Fi(this,r,n);case"latin1":case"binary":return Si(this,r,n);case"base64":return Bi(this,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ci(this,r,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(o+"").toLowerCase(),a=!0}}u.prototype._isBuffer=!0;function H(o,r,n){let a=o[r];o[r]=o[n],o[n]=a}u.prototype.swap16=function(){let r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;n<r;n+=2)H(this,n,n+1);return this},u.prototype.swap32=function(){let r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let n=0;n<r;n+=4)H(this,n,n+3),H(this,n+1,n+2);return this},u.prototype.swap64=function(){let r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let n=0;n<r;n+=8)H(this,n,n+7),H(this,n+1,n+6),H(this,n+2,n+5),H(this,n+3,n+4);return this},u.prototype.toString=function(){let r=this.length;return r===0?"":arguments.length===0?Tt(this,0,r):G.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(r){if(!u.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:u.compare(this,r)===0},u.prototype.inspect=function(){let r="",n=ue.INSPECT_MAX_BYTES;return r=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(r+=" ... "),"<Buffer "+r+">"},e&&(u.prototype[e]=u.prototype.inspect),u.prototype.compare=function(r,n,a,m,h){if(Z(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(n===void 0&&(n=0),a===void 0&&(a=r?r.length:0),m===void 0&&(m=0),h===void 0&&(h=this.length),n<0||a>r.length||m<0||h>this.length)throw new RangeError("out of range index");if(m>=h&&n>=a)return 0;if(m>=h)return-1;if(n>=a)return 1;if(n>>>=0,a>>>=0,m>>>=0,h>>>=0,this===r)return 0;let y=h-m,B=a-n,U=Math.min(y,B),O=this.slice(m,h),M=r.slice(n,a);for(let L=0;L<U;++L)if(O[L]!==M[L]){y=O[L],B=M[L];break}return y<B?-1:B<y?1:0};function V(o,r,n,a,m){if(o.length===0)return-1;if(typeof n=="string"?(a=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,at(n)&&(n=m?0:o.length-1),n<0&&(n=o.length+n),n>=o.length){if(m)return-1;n=o.length-1}else if(n<0)if(m)n=0;else return-1;if(typeof r=="string"&&(r=u.from(r,a)),u.isBuffer(r))return r.length===0?-1:Et(o,r,n,a,m);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?m?Uint8Array.prototype.indexOf.call(o,r,n):Uint8Array.prototype.lastIndexOf.call(o,r,n):Et(o,[r],n,a,m);throw new TypeError("val must be string, number or Buffer")}function Et(o,r,n,a,m){let h=1,y=o.length,B=r.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(o.length<2||r.length<2)return-1;h=2,y/=2,B/=2,n/=2}function U(M,L){return h===1?M[L]:M.readUInt16BE(L*h)}let O;if(m){let M=-1;for(O=n;O<y;O++)if(U(o,O)===U(r,M===-1?0:O-M)){if(M===-1&&(M=O),O-M+1===B)return M*h}else M!==-1&&(O-=O-M),M=-1}else for(n+B>y&&(n=y-B),O=n;O>=0;O--){let M=!0;for(let L=0;L<B;L++)if(U(o,O+L)!==U(r,L)){M=!1;break}if(M)return O}return-1}u.prototype.includes=function(r,n,a){return this.indexOf(r,n,a)!==-1},u.prototype.indexOf=function(r,n,a){return V(this,r,n,a,!0)},u.prototype.lastIndexOf=function(r,n,a){return V(this,r,n,a,!1)};function Ii(o,r,n,a){n=Number(n)||0;let m=o.length-n;a?(a=Number(a),a>m&&(a=m)):a=m;let h=r.length;a>h/2&&(a=h/2);let y;for(y=0;y<a;++y){let B=parseInt(r.substr(y*2,2),16);if(at(B))return y;o[n+y]=B}return y}function Ei(o,r,n,a){return Ve(ot(r,o.length-n),o,n,a)}function Ti(o,r,n,a){return Ve(Ui(r),o,n,a)}function Ai(o,r,n,a){return Ve(kt(r),o,n,a)}function Ri(o,r,n,a){return Ve(Mi(r,o.length-n),o,n,a)}u.prototype.write=function(r,n,a,m){if(n===void 0)m="utf8",a=this.length,n=0;else if(a===void 0&&typeof n=="string")m=n,a=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(a)?(a=a>>>0,m===void 0&&(m="utf8")):(m=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-n;if((a===void 0||a>h)&&(a=h),r.length>0&&(a<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");m||(m="utf8");let y=!1;for(;;)switch(m){case"hex":return Ii(this,r,n,a);case"utf8":case"utf-8":return Ei(this,r,n,a);case"ascii":case"latin1":case"binary":return Ti(this,r,n,a);case"base64":return Ai(this,r,n,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ri(this,r,n,a);default:if(y)throw new TypeError("Unknown encoding: "+m);m=(""+m).toLowerCase(),y=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Bi(o,r,n){return r===0&&n===o.length?s.fromByteArray(o):s.fromByteArray(o.slice(r,n))}function Tt(o,r,n){n=Math.min(o.length,n);let a=[],m=r;for(;m<n;){let h=o[m],y=null,B=h>239?4:h>223?3:h>191?2:1;if(m+B<=n){let U,O,M,L;switch(B){case 1:h<128&&(y=h);break;case 2:U=o[m+1],(U&192)===128&&(L=(h&31)<<6|U&63,L>127&&(y=L));break;case 3:U=o[m+1],O=o[m+2],(U&192)===128&&(O&192)===128&&(L=(h&15)<<12|(U&63)<<6|O&63,L>2047&&(L<55296||L>57343)&&(y=L));break;case 4:U=o[m+1],O=o[m+2],M=o[m+3],(U&192)===128&&(O&192)===128&&(M&192)===128&&(L=(h&15)<<18|(U&63)<<12|(O&63)<<6|M&63,L>65535&&L<1114112&&(y=L))}}y===null?(y=65533,B=1):y>65535&&(y-=65536,a.push(y>>>10&1023|55296),y=56320|y&1023),a.push(y),m+=B}return Ni(a)}let At=4096;function Ni(o){let r=o.length;if(r<=At)return String.fromCharCode.apply(String,o);let n="",a=0;for(;a<r;)n+=String.fromCharCode.apply(String,o.slice(a,a+=At));return n}function Fi(o,r,n){let a="";n=Math.min(o.length,n);for(let m=r;m<n;++m)a+=String.fromCharCode(o[m]&127);return a}function Si(o,r,n){let a="";n=Math.min(o.length,n);for(let m=r;m<n;++m)a+=String.fromCharCode(o[m]);return a}function Li(o,r,n){let a=o.length;(!r||r<0)&&(r=0),(!n||n<0||n>a)&&(n=a);let m="";for(let h=r;h<n;++h)m+=$i[o[h]];return m}function Ci(o,r,n){let a=o.slice(r,n),m="";for(let h=0;h<a.length-1;h+=2)m+=String.fromCharCode(a[h]+a[h+1]*256);return m}u.prototype.slice=function(r,n){let a=this.length;r=~~r,n=n===void 0?a:~~n,r<0?(r+=a,r<0&&(r=0)):r>a&&(r=a),n<0?(n+=a,n<0&&(n=0)):n>a&&(n=a),n<r&&(n=r);let m=this.subarray(r,n);return Object.setPrototypeOf(m,u.prototype),m};function _(o,r,n){if(o%1!==0||o<0)throw new RangeError("offset is not uint");if(o+r>n)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(r,n,a){r=r>>>0,n=n>>>0,a||_(r,n,this.length);let m=this[r],h=1,y=0;for(;++y<n&&(h*=256);)m+=this[r+y]*h;return m},u.prototype.readUintBE=u.prototype.readUIntBE=function(r,n,a){r=r>>>0,n=n>>>0,a||_(r,n,this.length);let m=this[r+--n],h=1;for(;n>0&&(h*=256);)m+=this[r+--n]*h;return m},u.prototype.readUint8=u.prototype.readUInt8=function(r,n){return r=r>>>0,n||_(r,1,this.length),this[r]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(r,n){return r=r>>>0,n||_(r,2,this.length),this[r]|this[r+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(r,n){return r=r>>>0,n||_(r,2,this.length),this[r]<<8|this[r+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(r,n){return r=r>>>0,n||_(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(r,n){return r=r>>>0,n||_(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])},u.prototype.readBigUInt64LE=ne(function(r){r=r>>>0,he(r,"offset");let n=this[r],a=this[r+7];(n===void 0||a===void 0)&&Be(r,this.length-8);let m=n+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24,h=this[++r]+this[++r]*2**8+this[++r]*2**16+a*2**24;return BigInt(m)+(BigInt(h)<<BigInt(32))}),u.prototype.readBigUInt64BE=ne(function(r){r=r>>>0,he(r,"offset");let n=this[r],a=this[r+7];(n===void 0||a===void 0)&&Be(r,this.length-8);let m=n*2**24+this[++r]*2**16+this[++r]*2**8+this[++r],h=this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+a;return(BigInt(m)<<BigInt(32))+BigInt(h)}),u.prototype.readIntLE=function(r,n,a){r=r>>>0,n=n>>>0,a||_(r,n,this.length);let m=this[r],h=1,y=0;for(;++y<n&&(h*=256);)m+=this[r+y]*h;return h*=128,m>=h&&(m-=Math.pow(2,8*n)),m},u.prototype.readIntBE=function(r,n,a){r=r>>>0,n=n>>>0,a||_(r,n,this.length);let m=n,h=1,y=this[r+--m];for(;m>0&&(h*=256);)y+=this[r+--m]*h;return h*=128,y>=h&&(y-=Math.pow(2,8*n)),y},u.prototype.readInt8=function(r,n){return r=r>>>0,n||_(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]},u.prototype.readInt16LE=function(r,n){r=r>>>0,n||_(r,2,this.length);let a=this[r]|this[r+1]<<8;return a&32768?a|4294901760:a},u.prototype.readInt16BE=function(r,n){r=r>>>0,n||_(r,2,this.length);let a=this[r+1]|this[r]<<8;return a&32768?a|4294901760:a},u.prototype.readInt32LE=function(r,n){return r=r>>>0,n||_(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24},u.prototype.readInt32BE=function(r,n){return r=r>>>0,n||_(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]},u.prototype.readBigInt64LE=ne(function(r){r=r>>>0,he(r,"offset");let n=this[r],a=this[r+7];(n===void 0||a===void 0)&&Be(r,this.length-8);let m=this[r+4]+this[r+5]*2**8+this[r+6]*2**16+(a<<24);return(BigInt(m)<<BigInt(32))+BigInt(n+this[++r]*2**8+this[++r]*2**16+this[++r]*2**24)}),u.prototype.readBigInt64BE=ne(function(r){r=r>>>0,he(r,"offset");let n=this[r],a=this[r+7];(n===void 0||a===void 0)&&Be(r,this.length-8);let m=(n<<24)+this[++r]*2**16+this[++r]*2**8+this[++r];return(BigInt(m)<<BigInt(32))+BigInt(this[++r]*2**24+this[++r]*2**16+this[++r]*2**8+a)}),u.prototype.readFloatLE=function(r,n){return r=r>>>0,n||_(r,4,this.length),t.read(this,r,!0,23,4)},u.prototype.readFloatBE=function(r,n){return r=r>>>0,n||_(r,4,this.length),t.read(this,r,!1,23,4)},u.prototype.readDoubleLE=function(r,n){return r=r>>>0,n||_(r,8,this.length),t.read(this,r,!0,52,8)},u.prototype.readDoubleBE=function(r,n){return r=r>>>0,n||_(r,8,this.length),t.read(this,r,!1,52,8)};function z(o,r,n,a,m,h){if(!u.isBuffer(o))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>m||r<h)throw new RangeError('"value" argument is out of bounds');if(n+a>o.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(r,n,a,m){if(r=+r,n=n>>>0,a=a>>>0,!m){let B=Math.pow(2,8*a)-1;z(this,r,n,a,B,0)}let h=1,y=0;for(this[n]=r&255;++y<a&&(h*=256);)this[n+y]=r/h&255;return n+a},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(r,n,a,m){if(r=+r,n=n>>>0,a=a>>>0,!m){let B=Math.pow(2,8*a)-1;z(this,r,n,a,B,0)}let h=a-1,y=1;for(this[n+h]=r&255;--h>=0&&(y*=256);)this[n+h]=r/y&255;return n+a},u.prototype.writeUint8=u.prototype.writeUInt8=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,1,255,0),this[n]=r&255,n+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,2,65535,0),this[n]=r&255,this[n+1]=r>>>8,n+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,2,65535,0),this[n]=r>>>8,this[n+1]=r&255,n+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,4,4294967295,0),this[n+3]=r>>>24,this[n+2]=r>>>16,this[n+1]=r>>>8,this[n]=r&255,n+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,4,4294967295,0),this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=r&255,n+4};function Rt(o,r,n,a,m){Ct(r,a,m,o,n,7);let h=Number(r&BigInt(4294967295));o[n++]=h,h=h>>8,o[n++]=h,h=h>>8,o[n++]=h,h=h>>8,o[n++]=h;let y=Number(r>>BigInt(32)&BigInt(4294967295));return o[n++]=y,y=y>>8,o[n++]=y,y=y>>8,o[n++]=y,y=y>>8,o[n++]=y,n}function Bt(o,r,n,a,m){Ct(r,a,m,o,n,7);let h=Number(r&BigInt(4294967295));o[n+7]=h,h=h>>8,o[n+6]=h,h=h>>8,o[n+5]=h,h=h>>8,o[n+4]=h;let y=Number(r>>BigInt(32)&BigInt(4294967295));return o[n+3]=y,y=y>>8,o[n+2]=y,y=y>>8,o[n+1]=y,y=y>>8,o[n]=y,n+8}u.prototype.writeBigUInt64LE=ne(function(r,n=0){return Rt(this,r,n,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=ne(function(r,n=0){return Bt(this,r,n,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(r,n,a,m){if(r=+r,n=n>>>0,!m){let U=Math.pow(2,8*a-1);z(this,r,n,a,U-1,-U)}let h=0,y=1,B=0;for(this[n]=r&255;++h<a&&(y*=256);)r<0&&B===0&&this[n+h-1]!==0&&(B=1),this[n+h]=(r/y>>0)-B&255;return n+a},u.prototype.writeIntBE=function(r,n,a,m){if(r=+r,n=n>>>0,!m){let U=Math.pow(2,8*a-1);z(this,r,n,a,U-1,-U)}let h=a-1,y=1,B=0;for(this[n+h]=r&255;--h>=0&&(y*=256);)r<0&&B===0&&this[n+h+1]!==0&&(B=1),this[n+h]=(r/y>>0)-B&255;return n+a},u.prototype.writeInt8=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,1,127,-128),r<0&&(r=255+r+1),this[n]=r&255,n+1},u.prototype.writeInt16LE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,2,32767,-32768),this[n]=r&255,this[n+1]=r>>>8,n+2},u.prototype.writeInt16BE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,2,32767,-32768),this[n]=r>>>8,this[n+1]=r&255,n+2},u.prototype.writeInt32LE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,4,2147483647,-2147483648),this[n]=r&255,this[n+1]=r>>>8,this[n+2]=r>>>16,this[n+3]=r>>>24,n+4},u.prototype.writeInt32BE=function(r,n,a){return r=+r,n=n>>>0,a||z(this,r,n,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[n]=r>>>24,this[n+1]=r>>>16,this[n+2]=r>>>8,this[n+3]=r&255,n+4},u.prototype.writeBigInt64LE=ne(function(r,n=0){return Rt(this,r,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=ne(function(r,n=0){return Bt(this,r,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Nt(o,r,n,a,m,h){if(n+a>o.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ft(o,r,n,a,m){return r=+r,n=n>>>0,m||Nt(o,r,n,4),t.write(o,r,n,a,23,4),n+4}u.prototype.writeFloatLE=function(r,n,a){return Ft(this,r,n,!0,a)},u.prototype.writeFloatBE=function(r,n,a){return Ft(this,r,n,!1,a)};function St(o,r,n,a,m){return r=+r,n=n>>>0,m||Nt(o,r,n,8),t.write(o,r,n,a,52,8),n+8}u.prototype.writeDoubleLE=function(r,n,a){return St(this,r,n,!0,a)},u.prototype.writeDoubleBE=function(r,n,a){return St(this,r,n,!1,a)},u.prototype.copy=function(r,n,a,m){if(!u.isBuffer(r))throw new TypeError("argument should be a Buffer");if(a||(a=0),!m&&m!==0&&(m=this.length),n>=r.length&&(n=r.length),n||(n=0),m>0&&m<a&&(m=a),m===a||r.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("sourceEnd out of bounds");m>this.length&&(m=this.length),r.length-n<m-a&&(m=r.length-n+a);let h=m-a;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,a,m):Uint8Array.prototype.set.call(r,this.subarray(a,m),n),h},u.prototype.fill=function(r,n,a,m){if(typeof r=="string"){if(typeof n=="string"?(m=n,n=0,a=this.length):typeof a=="string"&&(m=a,a=this.length),m!==void 0&&typeof m!="string")throw new TypeError("encoding must be a string");if(typeof m=="string"&&!u.isEncoding(m))throw new TypeError("Unknown encoding: "+m);if(r.length===1){let y=r.charCodeAt(0);(m==="utf8"&&y<128||m==="latin1")&&(r=y)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(n<0||this.length<n||this.length<a)throw new RangeError("Out of range index");if(a<=n)return this;n=n>>>0,a=a===void 0?this.length:a>>>0,r||(r=0);let h;if(typeof r=="number")for(h=n;h<a;++h)this[h]=r;else{let y=u.isBuffer(r)?r:u.from(r,m),B=y.length;if(B===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(h=0;h<a-n;++h)this[h+n]=y[h%B]}return this};let me={};function it(o,r,n){me[o]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:r.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${o}]`,this.stack,delete this.name}get code(){return o}set code(m){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:m,writable:!0})}toString(){return`${this.name} [${o}]: ${this.message}`}}}it("ERR_BUFFER_OUT_OF_BOUNDS",function(o){return o?`${o} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),it("ERR_INVALID_ARG_TYPE",function(o,r){return`The "${o}" argument must be of type number. Received type ${typeof r}`},TypeError),it("ERR_OUT_OF_RANGE",function(o,r,n){let a=`The value of "${o}" is out of range.`,m=n;return Number.isInteger(n)&&Math.abs(n)>2**32?m=Lt(String(n)):typeof n=="bigint"&&(m=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(m=Lt(m)),m+="n"),a+=` It must be ${r}. Received ${m}`,a},RangeError);function Lt(o){let r="",n=o.length,a=o[0]==="-"?1:0;for(;n>=a+4;n-=3)r=`_${o.slice(n-3,n)}${r}`;return`${o.slice(0,n)}${r}`}function ki(o,r,n){he(r,"offset"),(o[r]===void 0||o[r+n]===void 0)&&Be(r,o.length-(n+1))}function Ct(o,r,n,a,m,h){if(o>n||o<r){let y=typeof r=="bigint"?"n":"",B;throw r===0||r===BigInt(0)?B=`>= 0${y} and < 2${y} ** ${(h+1)*8}${y}`:B=`>= -(2${y} ** ${(h+1)*8-1}${y}) and < 2 ** ${(h+1)*8-1}${y}`,new me.ERR_OUT_OF_RANGE("value",B,o)}ki(a,m,h)}function he(o,r){if(typeof o!="number")throw new me.ERR_INVALID_ARG_TYPE(r,"number",o)}function Be(o,r,n){throw Math.floor(o)!==o?(he(o,n),new me.ERR_OUT_OF_RANGE("offset","an integer",o)):r<0?new me.ERR_BUFFER_OUT_OF_BOUNDS:new me.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${r}`,o)}let Pi=/[^+/0-9A-Za-z-_]/g;function Oi(o){if(o=o.split("=")[0],o=o.trim().replace(Pi,""),o.length<2)return"";for(;o.length%4!==0;)o=o+"=";return o}function ot(o,r){r=r||1/0;let n,a=o.length,m=null,h=[];for(let y=0;y<a;++y){if(n=o.charCodeAt(y),n>55295&&n<57344){if(!m){if(n>56319){(r-=3)>-1&&h.push(239,191,189);continue}else if(y+1===a){(r-=3)>-1&&h.push(239,191,189);continue}m=n;continue}if(n<56320){(r-=3)>-1&&h.push(239,191,189),m=n;continue}n=(m-55296<<10|n-56320)+65536}else m&&(r-=3)>-1&&h.push(239,191,189);if(m=null,n<128){if((r-=1)<0)break;h.push(n)}else if(n<2048){if((r-=2)<0)break;h.push(n>>6|192,n&63|128)}else if(n<65536){if((r-=3)<0)break;h.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((r-=4)<0)break;h.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw new Error("Invalid code point")}return h}function Ui(o){let r=[];for(let n=0;n<o.length;++n)r.push(o.charCodeAt(n)&255);return r}function Mi(o,r){let n,a,m,h=[];for(let y=0;y<o.length&&!((r-=2)<0);++y)n=o.charCodeAt(y),a=n>>8,m=n%256,h.push(m),h.push(a);return h}function kt(o){return s.toByteArray(Oi(o))}function Ve(o,r,n,a){let m;for(m=0;m<a&&!(m+n>=r.length||m>=o.length);++m)r[m+n]=o[m];return m}function Z(o,r){return o instanceof r||o!=null&&o.constructor!=null&&o.constructor.name!=null&&o.constructor.name===r.name}function at(o){return o!==o}let $i=(function(){let o="0123456789abcdef",r=new Array(256);for(let n=0;n<16;++n){let a=n*16;for(let m=0;m<16;++m)r[a+m]=o[n]+o[m]}return r})();function ne(o){return typeof BigInt>"u"?ji:o}function ji(){throw new Error("BigInt not supported")}return ue}var Ne,Kr,Ye,Xr,ue,Qr,tn=ye(()=>{"use strict";l();f();c();Ne={},Kr=!1;Ye={},Xr=!1;ue={},Qr=!1});var pe,g,ds,ms,rn=ye(()=>{"use strict";l();f();c();tn();pe=en();pe.Buffer;pe.SlowBuffer;pe.INSPECT_MAX_BYTES;pe.kMaxLength;g=pe.Buffer,ds=pe.INSPECT_MAX_BYTES,ms=pe.kMaxLength});var f=ye(()=>{"use strict";rn()});var es={};K(es,{DynamicSnippetsGenerator:()=>nt});module.exports=Gi(es);l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();var Ji=typeof global=="object"&&global&&global.Object===Object&&global,nn=Ji;var Zi=typeof self=="object"&&self&&self.Object===Object&&self,Ki=nn||Zi||Function("return this")(),on=Ki;var Xi=on.Symbol,te=Xi;l();f();c();var an=Object.prototype,Qi=an.hasOwnProperty,eo=an.toString,Fe=te?te.toStringTag:void 0;function to(s){var t=Qi.call(s,Fe),e=s[Fe];try{s[Fe]=void 0;var i=!0}catch{}var p=eo.call(s);return i&&(t?s[Fe]=e:delete s[Fe]),p}var sn=to;l();f();c();var ro=Object.prototype,no=ro.toString;function io(s){return no.call(s)}var un=io;var oo="[object Null]",ao="[object Undefined]",pn=te?te.toStringTag:void 0;function so(s){return s==null?s===void 0?ao:oo:pn&&pn in Object(s)?sn(s):un(s)}var ln=so;l();f();c();function uo(s){return s!=null&&typeof s=="object"}var cn=uo;var po="[object Symbol]";function lo(s){return typeof s=="symbol"||cn(s)&&ln(s)==po}var fn=lo;l();f();c();l();f();c();function co(s,t){for(var e=-1,i=s==null?0:s.length,p=Array(i);++e<i;)p[e]=t(s[e],e,s);return p}var dn=co;l();f();c();var fo=Array.isArray,mn=fo;var mo=1/0,hn=te?te.prototype:void 0,yn=hn?hn.toString:void 0;function xn(s){if(typeof s=="string")return s;if(mn(s))return dn(s,xn)+"";if(fn(s))return yn?yn.call(s):"";var t=s+"";return t=="0"&&1/s==-mo?"-0":t}var gn=xn;l();f();c();function ho(s){return s==null?"":gn(s)}var oe=ho;l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();l();f();c();function yo(s,t,e){var i=-1,p=s.length;t<0&&(t=-t>p?0:p+t),e=e>p?p:e,e<0&&(e+=p),p=t>e?0:e-t>>>0,t>>>=0;for(var d=Array(p);++i<p;)d[i]=s[i+t];return d}var wn=yo;function xo(s,t,e){var i=s.length;return e=e===void 0?i:e,!t&&e>=i?s:wn(s,t,e)}var vn=xo;l();f();c();var go="\\ud800-\\udfff",wo="\\u0300-\\u036f",vo="\\ufe20-\\ufe2f",bo="\\u20d0-\\u20ff",Io=wo+vo+bo,Eo="\\ufe0e\\ufe0f",To="\\u200d",Ao=RegExp("["+To+go+Io+Eo+"]");function Ro(s){return Ao.test(s)}var Je=Ro;l();f();c();l();f();c();function Bo(s){return s.split("")}var bn=Bo;l();f();c();var In="\\ud800-\\udfff",No="\\u0300-\\u036f",Fo="\\ufe20-\\ufe2f",So="\\u20d0-\\u20ff",Lo=No+Fo+So,Co="\\ufe0e\\ufe0f",ko="["+In+"]",lt="["+Lo+"]",ct="\\ud83c[\\udffb-\\udfff]",Po="(?:"+lt+"|"+ct+")",En="[^"+In+"]",Tn="(?:\\ud83c[\\udde6-\\uddff]){2}",An="[\\ud800-\\udbff][\\udc00-\\udfff]",Oo="\\u200d",Rn=Po+"?",Bn="["+Co+"]?",Uo="(?:"+Oo+"(?:"+[En,Tn,An].join("|")+")"+Bn+Rn+")*",Mo=Bn+Rn+Uo,$o="(?:"+[En+lt+"?",lt,Tn,An,ko].join("|")+")",jo=RegExp(ct+"(?="+ct+")|"+$o+Mo,"g");function _o(s){return s.match(jo)||[]}var Nn=_o;function Do(s){return Je(s)?Nn(s):bn(s)}var Fn=Do;function Wo(s){return function(t){t=oe(t);var e=Je(t)?Fn(t):void 0,i=e?e[0]:t.charAt(0),p=e?vn(e,1).join(""):t.slice(1);return i[s]()+p}}var Sn=Wo;var Vo=Sn("toUpperCase"),le=Vo;function qo(s){return le(oe(s).toLowerCase())}var Ln=qo;l();f();c();l();f();c();function Go(s,t,e,i){var p=-1,d=s==null?0:s.length;for(i&&d&&(e=s[++p]);++p<d;)e=t(e,s[p],p,s);return e}var Cn=Go;l();f();c();l();f();c();l();f();c();function zo(s){return function(t){return s?.[t]}}var kn=zo;var Ho={\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"},Yo=kn(Ho),Pn=Yo;var Jo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zo="\\u0300-\\u036f",Ko="\\ufe20-\\ufe2f",Xo="\\u20d0-\\u20ff",Qo=Zo+Ko+Xo,ea="["+Qo+"]",ta=RegExp(ea,"g");function ra(s){return s=oe(s),s&&s.replace(Jo,Pn).replace(ta,"")}var On=ra;l();f();c();l();f();c();var na=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function ia(s){return s.match(na)||[]}var Un=ia;l();f();c();var oa=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function aa(s){return oa.test(s)}var Mn=aa;l();f();c();var Wn="\\ud800-\\udfff",sa="\\u0300-\\u036f",ua="\\ufe20-\\ufe2f",pa="\\u20d0-\\u20ff",la=sa+ua+pa,Vn="\\u2700-\\u27bf",qn="a-z\\xdf-\\xf6\\xf8-\\xff",ca="\\xac\\xb1\\xd7\\xf7",fa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",da="\\u2000-\\u206f",ma=" \\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",Gn="A-Z\\xc0-\\xd6\\xd8-\\xde",ha="\\ufe0e\\ufe0f",zn=ca+fa+da+ma,Hn="['\u2019]",$n="["+zn+"]",ya="["+la+"]",Yn="\\d+",xa="["+Vn+"]",Jn="["+qn+"]",Zn="[^"+Wn+zn+Yn+Vn+qn+Gn+"]",ga="\\ud83c[\\udffb-\\udfff]",wa="(?:"+ya+"|"+ga+")",va="[^"+Wn+"]",Kn="(?:\\ud83c[\\udde6-\\uddff]){2}",Xn="[\\ud800-\\udbff][\\udc00-\\udfff]",ge="["+Gn+"]",ba="\\u200d",jn="(?:"+Jn+"|"+Zn+")",Ia="(?:"+ge+"|"+Zn+")",_n="(?:"+Hn+"(?:d|ll|m|re|s|t|ve))?",Dn="(?:"+Hn+"(?:D|LL|M|RE|S|T|VE))?",Qn=wa+"?",ei="["+ha+"]?",Ea="(?:"+ba+"(?:"+[va,Kn,Xn].join("|")+")"+ei+Qn+")*",Ta="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Aa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ra=ei+Qn+Ea,Ba="(?:"+[xa,Kn,Xn].join("|")+")"+Ra,Na=RegExp([ge+"?"+Jn+"+"+_n+"(?="+[$n,ge,"$"].join("|")+")",Ia+"+"+Dn+"(?="+[$n,ge+jn,"$"].join("|")+")",ge+"?"+jn+"+"+_n,ge+"+"+Dn,Aa,Ta,Yn,Ba].join("|"),"g");function Fa(s){return s.match(Na)||[]}var ti=Fa;function Sa(s,t,e){return s=oe(s),t=e?void 0:t,t===void 0?Mn(s)?ti(s):Un(s):s.match(t)||[]}var ri=Sa;var La="['\u2019]",Ca=RegExp(La,"g");function ka(s){return function(t){return Cn(ri(On(t).replace(Ca,"")),s,"")}}var ni=ka;var Pa=ni(function(s,t,e){return t=t.toLowerCase(),s+(e?Ln(t):t)}),Se=Pa;l();f();c();function P(s){throw new Error("Unexpected value: "+JSON.stringify(s))}l();f();c();function Le(s){return Object.keys(s)}l();f();c();l();f();c();l();f();c();var Ce=x.env.FERN_STACK_TRACK?.toLowerCase()??"",X=Ce!==""&&Ce!=="0"&&Ce!=="false",ft=["single","multiline","box"].includes(Ce)?Ce:"single";X&&(Error.stackTraceLimit=50);var Oa=new Set(["SdkGeneratorCLI","runCli","LoggerImpl","Array.forEach"]),Ua=new Set(["stacktrace"]);function Ke({maxFrames:s=50,skip:t=0,filterPaths:e=[],filterFunctions:i=[],stopOn:p=[],filterNode:d=!0,filterJs:u=!0,formatFilename:I=E=>E}={}){if(!X)return[];i=[...i,...Oa],e=[...e,...Ua],p=[...p,"runInteractiveTask"];let E=!1;return(new Error().stack??"").split(`
2
2
  `).map(F=>{let R=F.match(/at\s+(.*)\s+\((.*):(\d+):(\d+)\)/);if(R&&R.length===5){let[,C,W,T,A]=R;if(!C||!W||!T||!A)return;if(E||p.some(S=>C?.includes(S))){E=!0;return}switch(C){case"Object.<anonymous>":C="";break;case"Object.object":case"Object.alias":case"Object.union":case"Object.enum":case"Object.undiscriminatedUnion":C=`${C.substring(C.indexOf(".")+1)}()=> { ... }`;break}return{fn:C,path:I(W),position:`${T}:${A}`}}}).filter(F=>F&&!i.some(R=>F.fn.includes(R))&&!(d&&F.path?.startsWith("node:"))&&!(u&&F.path?.endsWith(".js"))&&!e.some(R=>F.path.includes(R))).slice(t,t+s)}var Ze=class{constructor({maxFrames:t=50,skip:e=0,filterPaths:i=[],filterFunctions:p=[],stopOn:d=[],filterNode:u=!0,filterJs:I=!0,multiline:E=!1,formatFilename:F=R=>R}={}){v(this,"maxFrames");v(this,"skip");v(this,"filterPaths");v(this,"filterFunctions");v(this,"stopOn");v(this,"filterNode");v(this,"filterJs");v(this,"multiline");v(this,"formatFilename");v(this,"tracking",new WeakMap);this.maxFrames=t,this.skip=e,this.filterPaths=i,this.filterFunctions=p,this.stopOn=d,this.filterNode=u,this.filterJs=I,this.multiline=E,this.formatFilename=F}tag(t){let e=this.tracking.get(t)||new Set;Ke({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=>e.add(i)),this.tracking.set(t,e)}trace(t){if(!X)return"";let e=this.tracking.get(t);return e?[...e].map(i=>`${this.multiline?`
3
- `:""}${i.fn} - ${i.path}:${i.position}`).join(""):""}frames(t){let e=this.tracking.get(t);return e?[...e]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},dt;function ii({maxFrames:s=50,skip:t=0,filterPaths:e=[],filterFunctions:i=[],stopOn:p=[],filterNode:d=!0,filterJs:u=!0,multiline:I=!1,formatFilename:E=F=>F}={}){X&&(dt??(dt=new Ze({maxFrames:s,skip:t,filterPaths:e,filterFunctions:i,stopOn:p,filterNode:d,filterJs:u,multiline:I,formatFilename:E})))}function oi(s){dt?.tag(s)}function mt(s){return dt?.frames(s)??[]}var ce=class{constructor(){oi(this)}};l();f();c();var Xe=class{formatMultiple(t){return Promise.all(t.map(e=>this.format(e)))}formatMultipleSync(t){return t.map(e=>this.formatSync(e))}},ke=class extends Xe{async format(t){return t}formatSync(t){return t}};l();f();c();l();f();c();l();f();c();var Y=class extends ce{constructor(e){super();v(this,"value");this.value=e}write(e){typeof this.value=="string"?e.write(this.value):typeof this.value=="function"?this.value(e):this.value.write(e)}};var Ma=4;ii({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var Pe=class{constructor(){v(this,"lineBuffer",[]);v(this,"indentLevel",0);v(this,"hasWrittenAnything",!1);v(this,"lastCharacterIsSemicolon",!1);v(this,"lastCharacterIsNewline",!1);v(this,"nodeStackFrames",[])}get buffer(){return X&&this.nodeStackFrames.length>0&&this.writeInternal(`
3
+ `:""}${i.fn} - ${i.path}:${i.position}`).join(""):""}frames(t){let e=this.tracking.get(t);return e?[...e]:[]}free(t){this.tracking.delete(t)}clear(){this.tracking=new WeakMap}},dt;function ii({maxFrames:s=50,skip:t=0,filterPaths:e=[],filterFunctions:i=[],stopOn:p=[],filterNode:d=!0,filterJs:u=!0,multiline:I=!1,formatFilename:E=F=>F}={}){X&&(dt??(dt=new Ze({maxFrames:s,skip:t,filterPaths:e,filterFunctions:i,stopOn:p,filterNode:d,filterJs:u,multiline:I,formatFilename:E})))}function oi(s){dt?.tag(s)}function mt(s){return dt?.frames(s)??[]}var ce=class{constructor(){oi(this)}};l();f();c();var Xe=class{formatMultiple(t){return Promise.all(t.map(e=>this.format(e)))}formatMultipleSync(t){return t.map(e=>this.formatSync(e))}dispose(){}},ke=class extends Xe{async format(t){return t}formatSync(t){return t}};l();f();c();l();f();c();l();f();c();var Y=class extends ce{constructor(e){super();v(this,"value");this.value=e}write(e){typeof this.value=="string"?e.write(this.value):typeof this.value=="function"?this.value(e):this.value.write(e)}};var Ma=4;ii({skip:0,maxFrames:15,filterFunctions:["Abstract"]});var Pe=class{constructor(){v(this,"lineBuffer",[]);v(this,"indentLevel",0);v(this,"hasWrittenAnything",!1);v(this,"lastCharacterIsSemicolon",!1);v(this,"lastCharacterIsNewline",!1);v(this,"nodeStackFrames",[])}get buffer(){return X&&this.nodeStackFrames.length>0&&this.writeInternal(`
4
4
  `),this.lineBuffer.join(`
5
5
  `)+(this.lastCharacterIsNewline?`
6
6
  `:"")}write(...t){for(let e of t)if(e!=null)if(typeof e=="string"){let i=e.length>0&&e.endsWith(`