diff --git a/clients/intellij/node_scripts/tabby-agent.js b/clients/intellij/node_scripts/tabby-agent.js index b636675..2bf567e 100755 --- a/clients/intellij/node_scripts/tabby-agent.js +++ b/clients/intellij/node_scripts/tabby-agent.js @@ -3,59 +3,59 @@ var child_process = require('child_process'); var zn = require('zlib'); -var sr = require('stream'); +var or = require('stream'); var fs$1 = require('fs'); var promises = require('fs/promises'); var path = require('path'); -var yI = require('util'); -var xI = require('events'); -var YC = require('crypto'); -var cF = require('url'); -var hI = require('http'); -var gI = require('https'); +var vF = require('util'); +var bF = require('events'); +var QC = require('crypto'); +var uI = require('url'); +var yF = require('http'); +var xF = require('https'); function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } var zn__default = /*#__PURE__*/_interopDefault(zn); -var sr__default = /*#__PURE__*/_interopDefault(sr); -var yI__default = /*#__PURE__*/_interopDefault(yI); -var xI__default = /*#__PURE__*/_interopDefault(xI); -var YC__default = /*#__PURE__*/_interopDefault(YC); -var cF__default = /*#__PURE__*/_interopDefault(cF); -var hI__default = /*#__PURE__*/_interopDefault(hI); -var gI__default = /*#__PURE__*/_interopDefault(gI); +var or__default = /*#__PURE__*/_interopDefault(or); +var vF__default = /*#__PURE__*/_interopDefault(vF); +var bF__default = /*#__PURE__*/_interopDefault(bF); +var QC__default = /*#__PURE__*/_interopDefault(QC); +var uI__default = /*#__PURE__*/_interopDefault(uI); +var yF__default = /*#__PURE__*/_interopDefault(yF); +var xF__default = /*#__PURE__*/_interopDefault(xF); -var HC=Object.create;var Mr=Object.defineProperty;var WC=Object.getOwnPropertyDescriptor;var GC=Object.getOwnPropertyNames;var VC=Object.getPrototypeOf,KC=Object.prototype.hasOwnProperty;var JC=(t,e,n)=>e in t?Mr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var H=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var io=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Cc=(t,e)=>{for(var n in e)Mr(t,n,{get:e[n],enumerable:!0});},nm=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of GC(e))!KC.call(t,s)&&s!==n&&Mr(t,s,{get:()=>e[s],enumerable:!(i=WC(e,s))||i.enumerable});return t};var xn=(t,e,n)=>(n=t!=null?HC(VC(t)):{},nm(e||!t||!t.__esModule?Mr(n,"default",{value:t,enumerable:!0}):n,t)),Tc=t=>nm(Mr({},"__esModule",{value:!0}),t);var le=(t,e,n)=>(JC(t,typeof e!="symbol"?e+"":e,n),n),Oc=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var w=(t,e,n)=>(Oc(t,e,"read from private field"),n?n.call(t):e.get(t)),ce=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n);},ie=(t,e,n,i)=>(Oc(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n);var ro=(t,e,n,i)=>({set _(s){ie(t,e,s,n);},get _(){return w(t,e,i)}}),oe=(t,e,n)=>(Oc(t,e,"access private method"),n);var Fc=R((tz,sm)=>{var rm=Object.prototype.toString;sm.exports=function(e){var n=rm.call(e),i=n==="[object Arguments]";return i||(i=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&rm.call(e.callee)==="[object Function]"),i};});var mm=R((nz,dm)=>{var fm;Object.keys||(zr=Object.prototype.hasOwnProperty,Ic=Object.prototype.toString,om=Fc(),Lc=Object.prototype.propertyIsEnumerable,am=!Lc.call({toString:null},"toString"),cm=Lc.call(function(){},"prototype"),Hr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ao=function(t){var e=t.constructor;return e&&e.prototype===t},lm={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},um=function(){if(typeof window>"u")return !1;for(var t in window)try{if(!lm["$"+t]&&zr.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{ao(window[t]);}catch{return !0}}catch{return !0}return !1}(),pm=function(t){if(typeof window>"u"||!um)return ao(t);try{return ao(t)}catch{return !1}},fm=function(e){var n=e!==null&&typeof e=="object",i=Ic.call(e)==="[object Function]",s=om(e),r=n&&Ic.call(e)==="[object String]",o=[];if(!n&&!i&&!s)throw new TypeError("Object.keys called on a non-object");var a=cm&&i;if(r&&e.length>0&&!zr.call(e,0))for(var u=0;u0)for(var f=0;f{var ZC=Array.prototype.slice,e1=Fc(),hm=Object.keys,co=hm?function(e){return hm(e)}:mm(),gm=Object.keys;co.shim=function(){if(Object.keys){var e=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);e||(Object.keys=function(i){return e1(i)?gm(ZC.call(i)):gm(i)});}else Object.keys=co;return Object.keys||co};ym.exports=co;});var uo=R((rz,xm)=>{xm.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return !1;if(typeof Symbol.iterator=="symbol")return !0;var e={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return !1;var s=42;e[n]=s;for(n in e)return !1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return !1;var r=Object.getOwnPropertySymbols(e);if(r.length!==1||r[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return !1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,n);if(o.value!==s||o.enumerable!==!0)return !1}return !0};});var qc=R((sz,bm)=>{var vm=typeof Symbol<"u"&&Symbol,t1=uo();bm.exports=function(){return typeof vm!="function"||typeof Symbol!="function"||typeof vm("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t1()};});var Em=R((oz,Sm)=>{var wm={foo:{}},n1=Object;Sm.exports=function(){return {__proto__:wm}.foo===wm.foo&&!({__proto__:null}instanceof n1)};});var _m=R((az,Am)=>{var i1="Function.prototype.bind called on incompatible ",$c=Array.prototype.slice,r1=Object.prototype.toString,s1="[object Function]";Am.exports=function(e){var n=this;if(typeof n!="function"||r1.call(n)!==s1)throw new TypeError(i1+n);for(var i=$c.call(arguments,1),s,r=function(){if(this instanceof s){var c=n.apply(this,i.concat($c.call(arguments)));return Object(c)===c?c:this}else return n.apply(e,i.concat($c.call(arguments)))},o=Math.max(0,n.length-i.length),a=[],u=0;u{var o1=_m();Rm.exports=Function.prototype.bind||o1;});var Tm=R((lz,Cm)=>{var a1=po();Cm.exports=a1.call(Function.call,Object.prototype.hasOwnProperty);});var vn=R((uz,Im)=>{var me,Mi=SyntaxError,Fm=Function,Ui=TypeError,Bc=function(t){try{return Fm('"use strict"; return ('+t+").constructor;")()}catch{}},ci=Object.getOwnPropertyDescriptor;var Dc=function(){throw new Ui},c1=ci?function(){try{return Dc}catch{try{return ci(arguments,"callee").get}catch{return Dc}}}():Dc,ji=qc()(),l1=Em()(),Ne=Object.getPrototypeOf||(l1?function(t){return t.__proto__}:null),Ni={},u1=typeof Uint8Array>"u"||!Ne?me:Ne(Uint8Array),li={"%AggregateError%":typeof AggregateError>"u"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?me:ArrayBuffer,"%ArrayIteratorPrototype%":ji&&Ne?Ne([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":Ni,"%AsyncGenerator%":Ni,"%AsyncGeneratorFunction%":Ni,"%AsyncIteratorPrototype%":Ni,"%Atomics%":typeof Atomics>"u"?me:Atomics,"%BigInt%":typeof BigInt>"u"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?me:FinalizationRegistry,"%Function%":Fm,"%GeneratorFunction%":Ni,"%Int8Array%":typeof Int8Array>"u"?me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ji&&Ne?Ne(Ne([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map>"u"?me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ji||!Ne?me:Ne(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?me:Promise,"%Proxy%":typeof Proxy>"u"?me:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ji||!Ne?me:Ne(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ji&&Ne?Ne(""[Symbol.iterator]()):me,"%Symbol%":ji?Symbol:me,"%SyntaxError%":Mi,"%ThrowTypeError%":c1,"%TypedArray%":u1,"%TypeError%":Ui,"%Uint8Array%":typeof Uint8Array>"u"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?me:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?me:WeakSet};var p1=function t(e){var n;if(e==="%AsyncFunction%")n=Bc("async function () {}");else if(e==="%GeneratorFunction%")n=Bc("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Bc("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype);}else if(e==="%AsyncIteratorPrototype%"){var s=t("%AsyncGenerator%");s&&Ne&&(n=Ne(s.prototype));}return li[e]=n,n},km={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Wr=po(),fo=Tm(),f1=Wr.call(Function.call,Array.prototype.concat),d1=Wr.call(Function.apply,Array.prototype.splice),Pm=Wr.call(Function.call,String.prototype.replace),mo=Wr.call(Function.call,String.prototype.slice),m1=Wr.call(Function.call,RegExp.prototype.exec),h1=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,g1=/\\(\\)?/g,y1=function(e){var n=mo(e,0,1),i=mo(e,-1);if(n==="%"&&i!=="%")throw new Mi("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new Mi("invalid intrinsic syntax, expected opening `%`");var s=[];return Pm(e,h1,function(r,o,a,u){s[s.length]=a?Pm(u,g1,"$1"):o||r;}),s},x1=function(e,n){var i=e,s;if(fo(km,i)&&(s=km[i],i="%"+s[0]+"%"),fo(li,i)){var r=li[i];if(r===Ni&&(r=p1(i)),typeof r>"u"&&!n)throw new Ui("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:s,name:i,value:r}}throw new Mi("intrinsic "+e+" does not exist!")};Im.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Ui("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Ui('"allowMissing" argument must be a boolean');if(m1(/^%?[^%]*%?$/,e)===null)throw new Mi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=y1(e),s=i.length>0?i[0]:"",r=x1("%"+s+"%",n),o=r.name,a=r.value,u=!1,f=r.alias;f&&(s=f[0],d1(i,f1([0,1],f)));for(var c=1,d=!0;c=i.length){var b=ci(a,g);d=!!b,d&&"get"in b&&!("originalValue"in b.get)?a=b.get:a=a[g];}else d=fo(a,g),a=a[g];d&&!u&&(li[o]=a);}}return a};});var qm=R((pz,Lm)=>{var v1=vn(),jc=v1("%Object.defineProperty%",!0),Nc=function(){if(jc)try{return jc({},"a",{value:1}),!0}catch{return !1}return !1};Nc.hasArrayLengthDefineBug=function(){if(!Nc())return null;try{return jc([],"length",{value:1}).length!==1}catch{return !0}};Lm.exports=Nc;});var qn=R((fz,jm)=>{var b1=lo(),w1=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",S1=Object.prototype.toString,E1=Array.prototype.concat,$m=Object.defineProperty,A1=function(t){return typeof t=="function"&&S1.call(t)==="[object Function]"},_1=qm()(),Bm=$m&&_1,R1=function(t,e,n,i){if(e in t){if(i===!0){if(t[e]===n)return}else if(!A1(i)||!i())return}Bm?$m(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n;},Dm=function(t,e){var n=arguments.length>2?arguments[2]:{},i=b1(e);w1&&(i=E1.call(i,Object.getOwnPropertySymbols(e)));for(var s=0;s{var Uc=po(),zi=vn(),Mm=zi("%Function.prototype.apply%"),zm=zi("%Function.prototype.call%"),Hm=zi("%Reflect.apply%",!0)||Uc.call(zm,Mm),Nm=zi("%Object.getOwnPropertyDescriptor%",!0),ui=zi("%Object.defineProperty%",!0),C1=zi("%Math.max%");if(ui)try{ui({},"a",{value:1});}catch{ui=null;}ho.exports=function(e){var n=Hm(Uc,zm,arguments);if(Nm&&ui){var i=Nm(n,"length");i.configurable&&ui(n,"length",{value:1+C1(0,e.length-(arguments.length-1))});}return n};var Um=function(){return Hm(Uc,Mm,arguments)};ui?ui(ho.exports,"apply",{value:Um}):ho.exports.apply=Um;});var _t=R((mz,Vm)=>{var Wm=vn(),Gm=Hi(),T1=Gm(Wm("String.prototype.indexOf"));Vm.exports=function(e,n){var i=Wm(e,!!n);return typeof i=="function"&&T1(e,".prototype.")>-1?Gm(i):i};});var Mc=R((hz,Qm)=>{var O1=lo(),Ym=uo()(),Xm=_t(),Km=Object,k1=Xm("Array.prototype.push"),Jm=Xm("Object.prototype.propertyIsEnumerable"),P1=Ym?Object.getOwnPropertySymbols:null;Qm.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var i=Km(e);if(arguments.length===1)return i;for(var s=1;s{var zc=Mc(),F1=function(){if(!Object.assign)return !1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},i=0;i{var L1=qn(),q1=Hc();eh.exports=function(){var e=q1();return L1(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e};});var sh=R((xz,rh)=>{var $1=qn(),B1=Hi(),D1=Mc(),nh=Hc(),j1=th(),N1=B1.apply(nh()),ih=function(e,n){return N1(Object,arguments)};$1(ih,{getPolyfill:nh,implementation:D1,shim:j1});rh.exports=ih;});var ah=R((vz,oh)=>{var Vr=function(){return typeof function(){}.name=="string"},Gr=Object.getOwnPropertyDescriptor;Vr.functionsHaveConfigurableNames=function(){if(!Vr()||!Gr)return !1;var e=Gr(function(){},"name");return !!e&&!!e.configurable};var U1=Function.prototype.bind;Vr.boundFunctionsHaveNames=function(){return Vr()&&typeof U1=="function"&&function(){}.bind().name!==""};oh.exports=Vr;});var Gc=R((bz,Wc)=>{var M1=ah().functionsHaveConfigurableNames(),z1=Object,H1=TypeError;Wc.exports=function(){if(this!=null&&this!==z1(this))throw new H1("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e};M1&&Object.defineProperty&&Object.defineProperty(Wc.exports,"name",{value:"get flags"});});var Vc=R((wz,ch)=>{var W1=Gc(),G1=qn().supportsDescriptors,V1=Object.getOwnPropertyDescriptor;ch.exports=function(){if(G1&&/a/mig.flags==="gim"){var e=V1(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var n="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){n+="d";}}),Object.defineProperty(i,"sticky",{get:function(){n+="y";}}),n==="dy")return e.get}}return W1};});var ph=R((Sz,uh)=>{var K1=qn().supportsDescriptors,J1=Vc(),Y1=Object.getOwnPropertyDescriptor,X1=Object.defineProperty,Q1=TypeError,lh=Object.getPrototypeOf,Z1=/a/;uh.exports=function(){if(!K1||!lh)throw new Q1("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=J1(),n=lh(Z1),i=Y1(n,"flags");return (!i||i.get!==e)&&X1(n,"flags",{configurable:!0,enumerable:!1,get:e}),e};});var hh=R((Ez,mh)=>{var eT=qn(),tT=Hi(),nT=Gc(),fh=Vc(),iT=ph(),dh=tT(fh());eT(dh,{getPolyfill:fh,implementation:nT,shim:iT});mh.exports=dh;});var xh=R((Az,yh)=>{var gh=Symbol.iterator;yh.exports=function(e){if(e!=null&&typeof e[gh]<"u")return e[gh]()};});var bh=R((_z,vh)=>{vh.exports=H("util").inspect;});var Nh=R((Rz,jh)=>{var il=typeof Map=="function"&&Map.prototype,Kc=Object.getOwnPropertyDescriptor&&il?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,yo=il&&Kc&&typeof Kc.get=="function"?Kc.get:null,wh=il&&Map.prototype.forEach,rl=typeof Set=="function"&&Set.prototype,Jc=Object.getOwnPropertyDescriptor&&rl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,xo=rl&&Jc&&typeof Jc.get=="function"?Jc.get:null,Sh=rl&&Set.prototype.forEach,rT=typeof WeakMap=="function"&&WeakMap.prototype,Jr=rT?WeakMap.prototype.has:null,sT=typeof WeakSet=="function"&&WeakSet.prototype,Yr=sT?WeakSet.prototype.has:null,oT=typeof WeakRef=="function"&&WeakRef.prototype,Eh=oT?WeakRef.prototype.deref:null,aT=Boolean.prototype.valueOf,cT=Object.prototype.toString,lT=Function.prototype.toString,uT=String.prototype.match,sl=String.prototype.slice,Bn=String.prototype.replace,pT=String.prototype.toUpperCase,Ah=String.prototype.toLowerCase,Ih=RegExp.prototype.test,_h=Array.prototype.concat,rn=Array.prototype.join,fT=Array.prototype.slice,Rh=Math.floor,Qc=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Yc=Object.getOwnPropertySymbols,Zc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Wi=typeof Symbol=="function"&&typeof Symbol.iterator=="object",it=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Wi||"symbol")?Symbol.toStringTag:null,Lh=Object.prototype.propertyIsEnumerable,Ch=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Th(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Ih.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var i=t<0?-Rh(-t):Rh(t);if(i!==t){var s=String(i),r=sl.call(e,s.length+1);return Bn.call(s,n,"$&_")+"."+Bn.call(Bn.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Bn.call(e,n,"$&_")}var el=bh(),Oh=el.custom,kh=$h(Oh)?Oh:null;jh.exports=function t(e,n,i,s){var r=n||{};if($n(r,"quoteStyle")&&r.quoteStyle!=="single"&&r.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if($n(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=$n(r,"customInspect")?r.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($n(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($n(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=r.numericSeparator;if(typeof e>"u")return "undefined";if(e===null)return "null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Dh(e,r);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return a?Th(e,u):u}if(typeof e=="bigint"){var f=String(e)+"n";return a?Th(e,f):f}var c=typeof r.depth>"u"?5:r.depth;if(typeof i>"u"&&(i=0),i>=c&&c>0&&typeof e=="object")return tl(e)?"[Array]":"[Object]";var d=kT(r,i);if(typeof s>"u")s=[];else if(Bh(s,e)>=0)return "[Circular]";function g(Z,re,k){if(re&&(s=fT.call(s),s.push(re)),k){var F={depth:r.depth};return $n(r,"quoteStyle")&&(F.quoteStyle=r.quoteStyle),t(Z,F,i+1,s)}return t(Z,r,i+1,s)}if(typeof e=="function"&&!Ph(e)){var h=wT(e),y=go(e,g);return "[Function"+(h?": "+h:" (anonymous)")+"]"+(y.length>0?" { "+rn.call(y,", ")+" }":"")}if($h(e)){var b=Wi?Bn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Zc.call(e);return typeof e=="object"&&!Wi?Kr(b):b}if(CT(e)){for(var A="<"+Ah.call(String(e.nodeName)),_=e.attributes||[],S=0;S<_.length;S++)A+=" "+_[S].name+"="+qh(dT(_[S].value),"double",r);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="",A}if(tl(e)){if(e.length===0)return "[]";var C=go(e,g);return d&&!OT(C)?"["+nl(C,d)+"]":"[ "+rn.call(C,", ")+" ]"}if(hT(e)){var I=go(e,g);return !("cause"in Error.prototype)&&"cause"in e&&!Lh.call(e,"cause")?"{ ["+String(e)+"] "+rn.call(_h.call("[cause]: "+g(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+rn.call(I,", ")+" }"}if(typeof e=="object"&&o){if(kh&&typeof e[kh]=="function"&&el)return el(e,{depth:c-i});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(ST(e)){var q=[];return wh&&wh.call(e,function(Z,re){q.push(g(re,e,!0)+" => "+g(Z,e));}),Fh("Map",yo.call(e),q,d)}if(_T(e)){var J=[];return Sh&&Sh.call(e,function(Z){J.push(g(Z,e));}),Fh("Set",xo.call(e),J,d)}if(ET(e))return Xc("WeakMap");if(RT(e))return Xc("WeakSet");if(AT(e))return Xc("WeakRef");if(yT(e))return Kr(g(Number(e)));if(vT(e))return Kr(g(Qc.call(e)));if(xT(e))return Kr(aT.call(e));if(gT(e))return Kr(g(String(e)));if(!mT(e)&&!Ph(e)){var W=go(e,g),D=Ch?Ch(e)===Object.prototype:e instanceof Object||e.constructor===Object,$=e instanceof Object?"":"null prototype",G=!D&&it&&Object(e)===e&&it in e?sl.call(Dn(e),8,-1):$?"Object":"",T=D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Y=T+(G||$?"["+rn.call(_h.call([],G||[],$||[]),": ")+"] ":"");return W.length===0?Y+"{}":d?Y+"{"+nl(W,d)+"}":Y+"{ "+rn.call(W,", ")+" }"}return String(e)};function qh(t,e,n){var i=(n.quoteStyle||e)==="double"?'"':"'";return i+t+i}function dT(t){return Bn.call(String(t),/"/g,""")}function tl(t){return Dn(t)==="[object Array]"&&(!it||!(typeof t=="object"&&it in t))}function mT(t){return Dn(t)==="[object Date]"&&(!it||!(typeof t=="object"&&it in t))}function Ph(t){return Dn(t)==="[object RegExp]"&&(!it||!(typeof t=="object"&&it in t))}function hT(t){return Dn(t)==="[object Error]"&&(!it||!(typeof t=="object"&&it in t))}function gT(t){return Dn(t)==="[object String]"&&(!it||!(typeof t=="object"&&it in t))}function yT(t){return Dn(t)==="[object Number]"&&(!it||!(typeof t=="object"&&it in t))}function xT(t){return Dn(t)==="[object Boolean]"&&(!it||!(typeof t=="object"&&it in t))}function $h(t){if(Wi)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return !0;if(!t||typeof t!="object"||!Zc)return !1;try{return Zc.call(t),!0}catch{}return !1}function vT(t){if(!t||typeof t!="object"||!Qc)return !1;try{return Qc.call(t),!0}catch{}return !1}var bT=Object.prototype.hasOwnProperty||function(t){return t in this};function $n(t,e){return bT.call(t,e)}function Dn(t){return cT.call(t)}function wT(t){if(t.name)return t.name;var e=uT.call(lT.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function Bh(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return Dh(sl.call(t,0,e.maxStringLength),e)+i}var s=Bn.call(Bn.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,TT);return qh(s,"single",e)}function TT(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+pT.call(e.toString(16))}function Kr(t){return "Object("+t+")"}function Xc(t){return t+" { ? }"}function Fh(t,e,n,i){var s=i?nl(n,i):rn.call(n,", ");return t+" ("+e+") {"+s+"}"}function OT(t){for(var e=0;e=0)return !1;return !0}function kT(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=rn.call(Array(t.indent+1)," ");else return null;return {base:n,prev:rn.call(Array(e+1),n)}}function nl(t,e){if(t.length===0)return "";var n=` +var GC=Object.create;var zr=Object.defineProperty;var VC=Object.getOwnPropertyDescriptor;var KC=Object.getOwnPropertyNames;var JC=Object.getPrototypeOf,YC=Object.prototype.hasOwnProperty;var XC=(t,e,n)=>e in t?zr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var H=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var io=(t,e)=>()=>(t&&(e=t(t=0)),e);var R=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Tc=(t,e)=>{for(var n in e)zr(t,n,{get:e[n],enumerable:!0});},rm=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of KC(e))!YC.call(t,s)&&s!==n&&zr(t,s,{get:()=>e[s],enumerable:!(i=VC(e,s))||i.enumerable});return t};var vn=(t,e,n)=>(n=t!=null?GC(JC(t)):{},rm(e||!t||!t.__esModule?zr(n,"default",{value:t,enumerable:!0}):n,t)),Oc=t=>rm(zr({},"__esModule",{value:!0}),t);var le=(t,e,n)=>(XC(t,typeof e!="symbol"?e+"":e,n),n),kc=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var w=(t,e,n)=>(kc(t,e,"read from private field"),n?n.call(t):e.get(t)),ce=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n);},ie=(t,e,n,i)=>(kc(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n);var ro=(t,e,n,i)=>({set _(s){ie(t,e,s,n);},get _(){return w(t,e,i)}}),oe=(t,e,n)=>(kc(t,e,"access private method"),n);var Fc=R((rz,am)=>{var om=Object.prototype.toString;am.exports=function(e){var n=om.call(e),i=n==="[object Arguments]";return i||(i=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&om.call(e.callee)==="[object Function]"),i};});var gm=R((sz,hm)=>{var mm;Object.keys||(Hr=Object.prototype.hasOwnProperty,Lc=Object.prototype.toString,cm=Fc(),qc=Object.prototype.propertyIsEnumerable,lm=!qc.call({toString:null},"toString"),um=qc.call(function(){},"prototype"),Wr=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ao=function(t){var e=t.constructor;return e&&e.prototype===t},pm={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},fm=function(){if(typeof window>"u")return !1;for(var t in window)try{if(!pm["$"+t]&&Hr.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{ao(window[t]);}catch{return !0}}catch{return !0}return !1}(),dm=function(t){if(typeof window>"u"||!fm)return ao(t);try{return ao(t)}catch{return !1}},mm=function(e){var n=e!==null&&typeof e=="object",i=Lc.call(e)==="[object Function]",s=cm(e),r=n&&Lc.call(e)==="[object String]",o=[];if(!n&&!i&&!s)throw new TypeError("Object.keys called on a non-object");var a=um&&i;if(r&&e.length>0&&!Hr.call(e,0))for(var u=0;u0)for(var f=0;f{var t1=Array.prototype.slice,n1=Fc(),ym=Object.keys,co=ym?function(e){return ym(e)}:gm(),xm=Object.keys;co.shim=function(){if(Object.keys){var e=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);e||(Object.keys=function(i){return n1(i)?xm(t1.call(i)):xm(i)});}else Object.keys=co;return Object.keys||co};vm.exports=co;});var uo=R((az,bm)=>{bm.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return !1;if(typeof Symbol.iterator=="symbol")return !0;var e={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return !1;var s=42;e[n]=s;for(n in e)return !1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return !1;var r=Object.getOwnPropertySymbols(e);if(r.length!==1||r[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return !1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,n);if(o.value!==s||o.enumerable!==!0)return !1}return !0};});var $c=R((cz,Sm)=>{var wm=typeof Symbol<"u"&&Symbol,i1=uo();Sm.exports=function(){return typeof wm!="function"||typeof Symbol!="function"||typeof wm("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:i1()};});var _m=R((lz,Am)=>{var Em={foo:{}},r1=Object;Am.exports=function(){return {__proto__:Em}.foo===Em.foo&&!({__proto__:null}instanceof r1)};});var Cm=R((uz,Rm)=>{var s1="Function.prototype.bind called on incompatible ",Dc=Array.prototype.slice,o1=Object.prototype.toString,a1="[object Function]";Rm.exports=function(e){var n=this;if(typeof n!="function"||o1.call(n)!==a1)throw new TypeError(s1+n);for(var i=Dc.call(arguments,1),s,r=function(){if(this instanceof s){var c=n.apply(this,i.concat(Dc.call(arguments)));return Object(c)===c?c:this}else return n.apply(e,i.concat(Dc.call(arguments)))},o=Math.max(0,n.length-i.length),a=[],u=0;u{var c1=Cm();Tm.exports=Function.prototype.bind||c1;});var km=R((fz,Om)=>{var l1=po();Om.exports=l1.call(Function.call,Object.prototype.hasOwnProperty);});var bn=R((dz,qm)=>{var me,zi=SyntaxError,Lm=Function,Mi=TypeError,Bc=function(t){try{return Lm('"use strict"; return ('+t+").constructor;")()}catch{}},li=Object.getOwnPropertyDescriptor;var jc=function(){throw new Mi},u1=li?function(){try{return jc}catch{try{return li(arguments,"callee").get}catch{return jc}}}():jc,Ni=$c()(),p1=_m()(),ze=Object.getPrototypeOf||(p1?function(t){return t.__proto__}:null),Ui={},f1=typeof Uint8Array>"u"||!ze?me:ze(Uint8Array),ui={"%AggregateError%":typeof AggregateError>"u"?me:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?me:ArrayBuffer,"%ArrayIteratorPrototype%":Ni&&ze?ze([][Symbol.iterator]()):me,"%AsyncFromSyncIteratorPrototype%":me,"%AsyncFunction%":Ui,"%AsyncGenerator%":Ui,"%AsyncGeneratorFunction%":Ui,"%AsyncIteratorPrototype%":Ui,"%Atomics%":typeof Atomics>"u"?me:Atomics,"%BigInt%":typeof BigInt>"u"?me:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?me:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?me:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?me:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?me:Float32Array,"%Float64Array%":typeof Float64Array>"u"?me:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?me:FinalizationRegistry,"%Function%":Lm,"%GeneratorFunction%":Ui,"%Int8Array%":typeof Int8Array>"u"?me:Int8Array,"%Int16Array%":typeof Int16Array>"u"?me:Int16Array,"%Int32Array%":typeof Int32Array>"u"?me:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ni&&ze?ze(ze([][Symbol.iterator]())):me,"%JSON%":typeof JSON=="object"?JSON:me,"%Map%":typeof Map>"u"?me:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ni||!ze?me:ze(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?me:Promise,"%Proxy%":typeof Proxy>"u"?me:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?me:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?me:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ni||!ze?me:ze(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?me:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ni&&ze?ze(""[Symbol.iterator]()):me,"%Symbol%":Ni?Symbol:me,"%SyntaxError%":zi,"%ThrowTypeError%":u1,"%TypedArray%":f1,"%TypeError%":Mi,"%Uint8Array%":typeof Uint8Array>"u"?me:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?me:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?me:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?me:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?me:WeakMap,"%WeakRef%":typeof WeakRef>"u"?me:WeakRef,"%WeakSet%":typeof WeakSet>"u"?me:WeakSet};var d1=function t(e){var n;if(e==="%AsyncFunction%")n=Bc("async function () {}");else if(e==="%GeneratorFunction%")n=Bc("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Bc("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype);}else if(e==="%AsyncIteratorPrototype%"){var s=t("%AsyncGenerator%");s&&ze&&(n=ze(s.prototype));}return ui[e]=n,n},Im={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Gr=po(),fo=km(),m1=Gr.call(Function.call,Array.prototype.concat),h1=Gr.call(Function.apply,Array.prototype.splice),Fm=Gr.call(Function.call,String.prototype.replace),mo=Gr.call(Function.call,String.prototype.slice),g1=Gr.call(Function.call,RegExp.prototype.exec),y1=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x1=/\\(\\)?/g,v1=function(e){var n=mo(e,0,1),i=mo(e,-1);if(n==="%"&&i!=="%")throw new zi("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new zi("invalid intrinsic syntax, expected opening `%`");var s=[];return Fm(e,y1,function(r,o,a,u){s[s.length]=a?Fm(u,x1,"$1"):o||r;}),s},b1=function(e,n){var i=e,s;if(fo(Im,i)&&(s=Im[i],i="%"+s[0]+"%"),fo(ui,i)){var r=ui[i];if(r===Ui&&(r=d1(i)),typeof r>"u"&&!n)throw new Mi("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:s,name:i,value:r}}throw new zi("intrinsic "+e+" does not exist!")};qm.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new Mi("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new Mi('"allowMissing" argument must be a boolean');if(g1(/^%?[^%]*%?$/,e)===null)throw new zi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=v1(e),s=i.length>0?i[0]:"",r=b1("%"+s+"%",n),o=r.name,a=r.value,u=!1,f=r.alias;f&&(s=f[0],h1(i,m1([0,1],f)));for(var c=1,d=!0;c=i.length){var b=li(a,g);d=!!b,d&&"get"in b&&!("originalValue"in b.get)?a=b.get:a=a[g];}else d=fo(a,g),a=a[g];d&&!u&&(ui[o]=a);}}return a};});var Dm=R((mz,$m)=>{var w1=bn(),Nc=w1("%Object.defineProperty%",!0),Uc=function(){if(Nc)try{return Nc({},"a",{value:1}),!0}catch{return !1}return !1};Uc.hasArrayLengthDefineBug=function(){if(!Uc())return null;try{return Nc([],"length",{value:1}).length!==1}catch{return !0}};$m.exports=Uc;});var qn=R((hz,Um)=>{var S1=lo(),E1=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",A1=Object.prototype.toString,_1=Array.prototype.concat,Bm=Object.defineProperty,R1=function(t){return typeof t=="function"&&A1.call(t)==="[object Function]"},C1=Dm()(),jm=Bm&&C1,T1=function(t,e,n,i){if(e in t){if(i===!0){if(t[e]===n)return}else if(!R1(i)||!i())return}jm?Bm(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n;},Nm=function(t,e){var n=arguments.length>2?arguments[2]:{},i=S1(e);E1&&(i=_1.call(i,Object.getOwnPropertySymbols(e)));for(var s=0;s{var Mc=po(),Hi=bn(),Hm=Hi("%Function.prototype.apply%"),Wm=Hi("%Function.prototype.call%"),Gm=Hi("%Reflect.apply%",!0)||Mc.call(Wm,Hm),Mm=Hi("%Object.getOwnPropertyDescriptor%",!0),pi=Hi("%Object.defineProperty%",!0),O1=Hi("%Math.max%");if(pi)try{pi({},"a",{value:1});}catch{pi=null;}ho.exports=function(e){var n=Gm(Mc,Wm,arguments);if(Mm&&pi){var i=Mm(n,"length");i.configurable&&pi(n,"length",{value:1+O1(0,e.length-(arguments.length-1))});}return n};var zm=function(){return Gm(Mc,Hm,arguments)};pi?pi(ho.exports,"apply",{value:zm}):ho.exports.apply=zm;});var _t=R((yz,Jm)=>{var Vm=bn(),Km=Wi(),k1=Km(Vm("String.prototype.indexOf"));Jm.exports=function(e,n){var i=Vm(e,!!n);return typeof i=="function"&&k1(e,".prototype.")>-1?Km(i):i};});var zc=R((xz,eh)=>{var P1=lo(),Qm=uo()(),Zm=_t(),Ym=Object,I1=Zm("Array.prototype.push"),Xm=Zm("Object.prototype.propertyIsEnumerable"),F1=Qm?Object.getOwnPropertySymbols:null;eh.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var i=Ym(e);if(arguments.length===1)return i;for(var s=1;s{var Hc=zc(),L1=function(){if(!Object.assign)return !1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},i=0;i{var $1=qn(),D1=Wc();nh.exports=function(){var e=D1();return $1(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e};});var ah=R((wz,oh)=>{var B1=qn(),j1=Wi(),N1=zc(),rh=Wc(),U1=ih(),M1=j1.apply(rh()),sh=function(e,n){return M1(Object,arguments)};B1(sh,{getPolyfill:rh,implementation:N1,shim:U1});oh.exports=sh;});var lh=R((Sz,ch)=>{var Kr=function(){return typeof function(){}.name=="string"},Vr=Object.getOwnPropertyDescriptor;Kr.functionsHaveConfigurableNames=function(){if(!Kr()||!Vr)return !1;var e=Vr(function(){},"name");return !!e&&!!e.configurable};var z1=Function.prototype.bind;Kr.boundFunctionsHaveNames=function(){return Kr()&&typeof z1=="function"&&function(){}.bind().name!==""};ch.exports=Kr;});var Vc=R((Ez,Gc)=>{var H1=lh().functionsHaveConfigurableNames(),W1=Object,G1=TypeError;Gc.exports=function(){if(this!=null&&this!==W1(this))throw new G1("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e};H1&&Object.defineProperty&&Object.defineProperty(Gc.exports,"name",{value:"get flags"});});var Kc=R((Az,uh)=>{var V1=Vc(),K1=qn().supportsDescriptors,J1=Object.getOwnPropertyDescriptor;uh.exports=function(){if(K1&&/a/mig.flags==="gim"){var e=J1(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var n="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){n+="d";}}),Object.defineProperty(i,"sticky",{get:function(){n+="y";}}),n==="dy")return e.get}}return V1};});var dh=R((_z,fh)=>{var Y1=qn().supportsDescriptors,X1=Kc(),Q1=Object.getOwnPropertyDescriptor,Z1=Object.defineProperty,eT=TypeError,ph=Object.getPrototypeOf,tT=/a/;fh.exports=function(){if(!Y1||!ph)throw new eT("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=X1(),n=ph(tT),i=Q1(n,"flags");return (!i||i.get!==e)&&Z1(n,"flags",{configurable:!0,enumerable:!1,get:e}),e};});var yh=R((Rz,gh)=>{var nT=qn(),iT=Wi(),rT=Vc(),mh=Kc(),sT=dh(),hh=iT(mh());nT(hh,{getPolyfill:mh,implementation:rT,shim:sT});gh.exports=hh;});var bh=R((Cz,vh)=>{var xh=Symbol.iterator;vh.exports=function(e){if(e!=null&&typeof e[xh]<"u")return e[xh]()};});var Sh=R((Tz,wh)=>{wh.exports=H("util").inspect;});var Mh=R((Oz,Uh)=>{var rl=typeof Map=="function"&&Map.prototype,Jc=Object.getOwnPropertyDescriptor&&rl?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,yo=rl&&Jc&&typeof Jc.get=="function"?Jc.get:null,Eh=rl&&Map.prototype.forEach,sl=typeof Set=="function"&&Set.prototype,Yc=Object.getOwnPropertyDescriptor&&sl?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,xo=sl&&Yc&&typeof Yc.get=="function"?Yc.get:null,Ah=sl&&Set.prototype.forEach,oT=typeof WeakMap=="function"&&WeakMap.prototype,Yr=oT?WeakMap.prototype.has:null,aT=typeof WeakSet=="function"&&WeakSet.prototype,Xr=aT?WeakSet.prototype.has:null,cT=typeof WeakRef=="function"&&WeakRef.prototype,_h=cT?WeakRef.prototype.deref:null,lT=Boolean.prototype.valueOf,uT=Object.prototype.toString,pT=Function.prototype.toString,fT=String.prototype.match,ol=String.prototype.slice,Dn=String.prototype.replace,dT=String.prototype.toUpperCase,Rh=String.prototype.toLowerCase,qh=RegExp.prototype.test,Ch=Array.prototype.concat,rn=Array.prototype.join,mT=Array.prototype.slice,Th=Math.floor,Zc=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Xc=Object.getOwnPropertySymbols,el=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Gi=typeof Symbol=="function"&&typeof Symbol.iterator=="object",rt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Gi||"symbol")?Symbol.toStringTag:null,$h=Object.prototype.propertyIsEnumerable,Oh=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function kh(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||qh.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var i=t<0?-Th(-t):Th(t);if(i!==t){var s=String(i),r=ol.call(e,s.length+1);return Dn.call(s,n,"$&_")+"."+Dn.call(Dn.call(r,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Dn.call(e,n,"$&_")}var tl=Sh(),Ph=tl.custom,Ih=Bh(Ph)?Ph:null;Uh.exports=function t(e,n,i,s){var r=n||{};if($n(r,"quoteStyle")&&r.quoteStyle!=="single"&&r.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if($n(r,"maxStringLength")&&(typeof r.maxStringLength=="number"?r.maxStringLength<0&&r.maxStringLength!==1/0:r.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=$n(r,"customInspect")?r.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($n(r,"indent")&&r.indent!==null&&r.indent!==" "&&!(parseInt(r.indent,10)===r.indent&&r.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($n(r,"numericSeparator")&&typeof r.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=r.numericSeparator;if(typeof e>"u")return "undefined";if(e===null)return "null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Nh(e,r);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var u=String(e);return a?kh(e,u):u}if(typeof e=="bigint"){var f=String(e)+"n";return a?kh(e,f):f}var c=typeof r.depth>"u"?5:r.depth;if(typeof i>"u"&&(i=0),i>=c&&c>0&&typeof e=="object")return nl(e)?"[Array]":"[Object]";var d=IT(r,i);if(typeof s>"u")s=[];else if(jh(s,e)>=0)return "[Circular]";function g(Z,re,k){if(re&&(s=mT.call(s),s.push(re)),k){var I={depth:r.depth};return $n(r,"quoteStyle")&&(I.quoteStyle=r.quoteStyle),t(Z,I,i+1,s)}return t(Z,r,i+1,s)}if(typeof e=="function"&&!Fh(e)){var h=ET(e),y=go(e,g);return "[Function"+(h?": "+h:" (anonymous)")+"]"+(y.length>0?" { "+rn.call(y,", ")+" }":"")}if(Bh(e)){var b=Gi?Dn.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):el.call(e);return typeof e=="object"&&!Gi?Jr(b):b}if(OT(e)){for(var A="<"+Rh.call(String(e.nodeName)),_=e.attributes||[],S=0;S<_.length;S++)A+=" "+_[S].name+"="+Dh(hT(_[S].value),"double",r);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="",A}if(nl(e)){if(e.length===0)return "[]";var C=go(e,g);return d&&!PT(C)?"["+il(C,d)+"]":"[ "+rn.call(C,", ")+" ]"}if(yT(e)){var F=go(e,g);return !("cause"in Error.prototype)&&"cause"in e&&!$h.call(e,"cause")?"{ ["+String(e)+"] "+rn.call(Ch.call("[cause]: "+g(e.cause),F),", ")+" }":F.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+rn.call(F,", ")+" }"}if(typeof e=="object"&&o){if(Ih&&typeof e[Ih]=="function"&&tl)return tl(e,{depth:c-i});if(o!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(AT(e)){var q=[];return Eh&&Eh.call(e,function(Z,re){q.push(g(re,e,!0)+" => "+g(Z,e));}),Lh("Map",yo.call(e),q,d)}if(CT(e)){var J=[];return Ah&&Ah.call(e,function(Z){J.push(g(Z,e));}),Lh("Set",xo.call(e),J,d)}if(_T(e))return Qc("WeakMap");if(TT(e))return Qc("WeakSet");if(RT(e))return Qc("WeakRef");if(vT(e))return Jr(g(Number(e)));if(wT(e))return Jr(g(Zc.call(e)));if(bT(e))return Jr(lT.call(e));if(xT(e))return Jr(g(String(e)));if(!gT(e)&&!Fh(e)){var W=go(e,g),B=Oh?Oh(e)===Object.prototype:e instanceof Object||e.constructor===Object,$=e instanceof Object?"":"null prototype",G=!B&&rt&&Object(e)===e&&rt in e?ol.call(Bn(e),8,-1):$?"Object":"",T=B||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Y=T+(G||$?"["+rn.call(Ch.call([],G||[],$||[]),": ")+"] ":"");return W.length===0?Y+"{}":d?Y+"{"+il(W,d)+"}":Y+"{ "+rn.call(W,", ")+" }"}return String(e)};function Dh(t,e,n){var i=(n.quoteStyle||e)==="double"?'"':"'";return i+t+i}function hT(t){return Dn.call(String(t),/"/g,""")}function nl(t){return Bn(t)==="[object Array]"&&(!rt||!(typeof t=="object"&&rt in t))}function gT(t){return Bn(t)==="[object Date]"&&(!rt||!(typeof t=="object"&&rt in t))}function Fh(t){return Bn(t)==="[object RegExp]"&&(!rt||!(typeof t=="object"&&rt in t))}function yT(t){return Bn(t)==="[object Error]"&&(!rt||!(typeof t=="object"&&rt in t))}function xT(t){return Bn(t)==="[object String]"&&(!rt||!(typeof t=="object"&&rt in t))}function vT(t){return Bn(t)==="[object Number]"&&(!rt||!(typeof t=="object"&&rt in t))}function bT(t){return Bn(t)==="[object Boolean]"&&(!rt||!(typeof t=="object"&&rt in t))}function Bh(t){if(Gi)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return !0;if(!t||typeof t!="object"||!el)return !1;try{return el.call(t),!0}catch{}return !1}function wT(t){if(!t||typeof t!="object"||!Zc)return !1;try{return Zc.call(t),!0}catch{}return !1}var ST=Object.prototype.hasOwnProperty||function(t){return t in this};function $n(t,e){return ST.call(t,e)}function Bn(t){return uT.call(t)}function ET(t){if(t.name)return t.name;var e=fT.call(pT.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function jh(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;ne.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return Nh(ol.call(t,0,e.maxStringLength),e)+i}var s=Dn.call(Dn.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,kT);return Dh(s,"single",e)}function kT(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+dT.call(e.toString(16))}function Jr(t){return "Object("+t+")"}function Qc(t){return t+" { ? }"}function Lh(t,e,n,i){var s=i?il(n,i):rn.call(n,", ");return t+" ("+e+") {"+s+"}"}function PT(t){for(var e=0;e=0)return !1;return !0}function IT(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=rn.call(Array(t.indent+1)," ");else return null;return {base:n,prev:rn.call(Array(e+1),n)}}function il(t,e){if(t.length===0)return "";var n=` `+e.prev+e.base;return n+rn.call(t,","+n)+` -`+e.prev}function go(t,e){var n=tl(t),i=[];if(n){i.length=t.length;for(var s=0;s{var ol=vn(),Gi=_t(),PT=Nh(),FT=ol("%TypeError%"),vo=ol("%WeakMap%",!0),bo=ol("%Map%",!0),IT=Gi("WeakMap.prototype.get",!0),LT=Gi("WeakMap.prototype.set",!0),qT=Gi("WeakMap.prototype.has",!0),$T=Gi("Map.prototype.get",!0),BT=Gi("Map.prototype.set",!0),DT=Gi("Map.prototype.has",!0),al=function(t,e){for(var n=t,i;(i=n.next)!==null;n=i)if(i.key===e)return n.next=i.next,i.next=t.next,t.next=i,i},jT=function(t,e){var n=al(t,e);return n&&n.value},NT=function(t,e,n){var i=al(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n};},UT=function(t,e){return !!al(t,e)};Uh.exports=function(){var e,n,i,s={assert:function(r){if(!s.has(r))throw new FT("Side channel does not contain "+PT(r))},get:function(r){if(vo&&r&&(typeof r=="object"||typeof r=="function")){if(e)return IT(e,r)}else if(bo){if(n)return $T(n,r)}else if(i)return jT(i,r)},has:function(r){if(vo&&r&&(typeof r=="object"||typeof r=="function")){if(e)return qT(e,r)}else if(bo){if(n)return DT(n,r)}else if(i)return UT(i,r);return !1},set:function(r,o){vo&&r&&(typeof r=="object"||typeof r=="function")?(e||(e=new vo),LT(e,r,o)):bo?(n||(n=new bo),BT(n,r,o)):(i||(i={key:{},next:null}),NT(i,r,o));}};return s};});var cl=R((Tz,Hh)=>{var zh=function(t){return t!==t};Hh.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||zh(e)&&zh(n))};});var ll=R((Oz,Wh)=>{var MT=cl();Wh.exports=function(){return typeof Object.is=="function"?Object.is:MT};});var Vh=R((kz,Gh)=>{var zT=ll(),HT=qn();Gh.exports=function(){var e=zT();return HT(Object,{is:e},{is:function(){return Object.is!==e}}),e};});var Xh=R((Pz,Yh)=>{var WT=qn(),GT=Hi(),VT=cl(),Kh=ll(),KT=Vh(),Jh=GT(Kh(),Object);WT(Jh,{getPolyfill:Kh,implementation:VT,shim:KT});Yh.exports=Jh;});var bn=R((Fz,Qh)=>{var JT=uo();Qh.exports=function(){return JT()&&!!Symbol.toStringTag};});var tg=R((Iz,eg)=>{var YT=bn()(),XT=_t(),ul=XT("Object.prototype.toString"),wo=function(e){return YT&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:ul(e)==="[object Arguments]"},Zh=function(e){return wo(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ul(e)!=="[object Array]"&&ul(e.callee)==="[object Function]"},QT=function(){return wo(arguments)}();wo.isLegacyArguments=Zh;eg.exports=QT?wo:Zh;});var ig=R((Lz,ng)=>{var ZT={}.toString;ng.exports=Array.isArray||function(t){return ZT.call(t)=="[object Array]"};});var ag=R((qz,og)=>{var sg=Function.prototype.toString,Vi=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,fl,So;if(typeof Vi=="function"&&typeof Object.defineProperty=="function")try{fl=Object.defineProperty({},"length",{get:function(){throw So}}),So={},Vi(function(){throw 42},null,fl);}catch(t){t!==So&&(Vi=null);}else Vi=null;var eO=/^\s*class\b/,dl=function(e){try{var n=sg.call(e);return eO.test(n)}catch{return !1}},pl=function(e){try{return dl(e)?!1:(sg.call(e),!0)}catch{return !1}},Eo=Object.prototype.toString,tO="[object Object]",nO="[object Function]",iO="[object GeneratorFunction]",rO="[object HTMLAllCollection]",sO="[object HTML document.all class]",oO="[object HTMLCollection]",aO=typeof Symbol=="function"&&!!Symbol.toStringTag,cO=!(0 in[,]),ml=function(){return !1};typeof document=="object"&&(rg=document.all,Eo.call(rg)===Eo.call(document.all)&&(ml=function(e){if((cO||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=Eo.call(e);return (n===rO||n===sO||n===oO||n===tO)&&e("")==null}catch{}return !1}));var rg;og.exports=Vi?function(e){if(ml(e))return !0;if(!e||typeof e!="function"&&typeof e!="object")return !1;try{Vi(e,null,fl);}catch(n){if(n!==So)return !1}return !dl(e)&&pl(e)}:function(e){if(ml(e))return !0;if(!e||typeof e!="function"&&typeof e!="object")return !1;if(aO)return pl(e);if(dl(e))return !1;var n=Eo.call(e);return n!==nO&&n!==iO&&!/^\[object HTML/.test(n)?!1:pl(e)};});var hl=R(($z,lg)=>{var lO=ag(),uO=Object.prototype.toString,cg=Object.prototype.hasOwnProperty,pO=function(e,n,i){for(var s=0,r=e.length;s=3&&(s=i),uO.call(e)==="[object Array]"?pO(e,n,s):typeof e=="string"?fO(e,n,s):dO(e,n,s);};lg.exports=mO;});var yl=R((Bz,ug)=>{var gl=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],hO=typeof globalThis>"u"?global:globalThis;ug.exports=function(){for(var e=[],n=0;n{var gO=vn(),Ao=gO("%Object.getOwnPropertyDescriptor%",!0);if(Ao)try{Ao([],"length");}catch{Ao=null;}pg.exports=Ao;});var wl=R((jz,gg)=>{var fg=hl(),yO=yl(),bl=_t(),xO=bl("Object.prototype.toString"),dg=bn()(),_o=xl(),vO=typeof globalThis>"u"?global:globalThis,mg=yO(),bO=bl("Array.prototype.indexOf",!0)||function(e,n){for(var i=0;i-1}return _o?SO(e):!1};});var Sl=R((Nz,Sg)=>{var EO=Hi(),AO=_t(),wg=vn(),_O=wl(),yg=wg("ArrayBuffer",!0),xg=wg("Float32Array",!0),Ro=AO("ArrayBuffer.prototype.byteLength",!0),vg=yg&&!Ro&&new yg().slice,bg=vg&&EO(vg);Sg.exports=Ro||bg?function(e){if(!e||typeof e!="object")return !1;try{return Ro?Ro(e):bg(e,0),!0}catch{return !1}}:xg?function(e){try{return new xg(e).buffer===e&&!_O(e)}catch(n){return typeof e=="object"&&n.name==="RangeError"}}:function(e){return !1};});var Ag=R((Uz,Eg)=>{var RO=Date.prototype.getDay,CO=function(e){try{return RO.call(e),!0}catch{return !1}},TO=Object.prototype.toString,OO="[object Date]",kO=bn()();Eg.exports=function(e){return typeof e!="object"||e===null?!1:kO?CO(e):TO.call(e)===OO};});var Og=R((Mz,Tg)=>{var El=_t(),_g=bn()(),Rg,Cg,Al,_l;_g&&(Rg=El("Object.prototype.hasOwnProperty"),Cg=El("RegExp.prototype.exec"),Al={},Co=function(){throw Al},_l={toString:Co,valueOf:Co},typeof Symbol.toPrimitive=="symbol"&&(_l[Symbol.toPrimitive]=Co));var Co,PO=El("Object.prototype.toString"),FO=Object.getOwnPropertyDescriptor,IO="[object RegExp]";Tg.exports=_g?function(e){if(!e||typeof e!="object")return !1;var n=FO(e,"lastIndex"),i=n&&Rg(n,"value");if(!i)return !1;try{Cg(e,_l);}catch(s){return s===Al}}:function(e){return !e||typeof e!="object"&&typeof e!="function"?!1:PO(e)===IO};});var Fg=R((zz,Pg)=>{var LO=_t(),kg=LO("SharedArrayBuffer.prototype.byteLength",!0);Pg.exports=kg?function(e){if(!e||typeof e!="object")return !1;try{return kg(e),!0}catch{return !1}}:function(e){return !1};});var Lg=R((Hz,Ig)=>{var qO=String.prototype.valueOf,$O=function(e){try{return qO.call(e),!0}catch{return !1}},BO=Object.prototype.toString,DO="[object String]",jO=bn()();Ig.exports=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:jO?$O(e):BO.call(e)===DO};});var $g=R((Wz,qg)=>{var NO=Number.prototype.toString,UO=function(e){try{return NO.call(e),!0}catch{return !1}},MO=Object.prototype.toString,zO="[object Number]",HO=bn()();qg.exports=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:HO?UO(e):MO.call(e)===zO};});var jg=R((Gz,Dg)=>{var Bg=_t(),WO=Bg("Boolean.prototype.toString"),GO=Bg("Object.prototype.toString"),VO=function(e){try{return WO(e),!0}catch{return !1}},KO="[object Boolean]",JO=bn()();Dg.exports=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:JO&&Symbol.toStringTag in e?VO(e):GO(e)===KO};});var zg=R((Vz,Rl)=>{var YO=Object.prototype.toString,XO=qc()();XO?(Ng=Symbol.prototype.toString,Ug=/^Symbol\(.*\)$/,Mg=function(e){return typeof e.valueOf()!="symbol"?!1:Ug.test(Ng.call(e))},Rl.exports=function(e){if(typeof e=="symbol")return !0;if(YO.call(e)!=="[object Symbol]")return !1;try{return Mg(e)}catch{return !1}}):Rl.exports=function(e){return !1};var Ng,Ug,Mg;});var Gg=R((Kz,Wg)=>{var Hg=typeof BigInt<"u"&&BigInt;Wg.exports=function(){return typeof Hg=="function"&&typeof BigInt=="function"&&typeof Hg(42)=="bigint"&&typeof BigInt(42)=="bigint"};});var Jg=R((Jz,Cl)=>{var QO=Gg()();QO?(Vg=BigInt.prototype.valueOf,Kg=function(e){try{return Vg.call(e),!0}catch{}return !1},Cl.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:Kg(e)}):Cl.exports=function(e){return !1};var Vg,Kg;});var Xg=R((Yz,Yg)=>{var ZO=Lg(),ek=$g(),tk=jg(),nk=zg(),ik=Jg();Yg.exports=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(ZO(e))return "String";if(ek(e))return "Number";if(tk(e))return "Boolean";if(nk(e))return "Symbol";if(ik(e))return "BigInt"};});var ty=R((Xz,ey)=>{var Tl=typeof Map=="function"&&Map.prototype?Map:null,rk=typeof Set=="function"&&Set.prototype?Set:null,To;Tl||(To=function(e){return !1});var Zg=Tl?Map.prototype.has:null,Qg=rk?Set.prototype.has:null;!To&&!Zg&&(To=function(e){return !1});ey.exports=To||function(e){if(!e||typeof e!="object")return !1;try{if(Zg.call(e),Qg)try{Qg.call(e);}catch{return !0}return e instanceof Tl}catch{}return !1};});var sy=R((Qz,ry)=>{var sk=typeof Map=="function"&&Map.prototype?Map:null,Ol=typeof Set=="function"&&Set.prototype?Set:null,Oo;Ol||(Oo=function(e){return !1});var ny=sk?Map.prototype.has:null,iy=Ol?Set.prototype.has:null;!Oo&&!iy&&(Oo=function(e){return !1});ry.exports=Oo||function(e){if(!e||typeof e!="object")return !1;try{if(iy.call(e),ny)try{ny.call(e);}catch{return !0}return e instanceof Ol}catch{}return !1};});var cy=R((Zz,ay)=>{var ko=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,oy=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Po;ko||(Po=function(e){return !1});var Pl=ko?ko.prototype.has:null,kl=oy?oy.prototype.has:null;!Po&&!Pl&&(Po=function(e){return !1});ay.exports=Po||function(e){if(!e||typeof e!="object")return !1;try{if(Pl.call(e,Pl),kl)try{kl.call(e,kl);}catch{return !0}return e instanceof ko}catch{}return !1};});var uy=R((e4,Il)=>{var ok=vn(),ly=_t(),ak=ok("%WeakSet%",!0),Fl=ly("WeakSet.prototype.has",!0);Fl?(Fo=ly("WeakMap.prototype.has",!0),Il.exports=function(e){if(!e||typeof e!="object")return !1;try{if(Fl(e,Fl),Fo)try{Fo(e,Fo);}catch{return !0}return e instanceof ak}catch{}return !1}):Il.exports=function(e){return !1};var Fo;});var fy=R((t4,py)=>{var ck=ty(),lk=sy(),uk=cy(),pk=uy();py.exports=function(e){if(e&&typeof e=="object"){if(ck(e))return "Map";if(lk(e))return "Set";if(uk(e))return "WeakMap";if(pk(e))return "WeakSet"}return !1};});var vy=R((n4,xy)=>{var my=hl(),fk=yl(),hy=_t(),Ll=xl(),dk=hy("Object.prototype.toString"),gy=bn()(),dy=typeof globalThis>"u"?global:globalThis,mk=fk(),hk=hy("String.prototype.slice"),yy={},ql=Object.getPrototypeOf;gy&&Ll&&ql&&my(mk,function(t){if(typeof dy[t]=="function"){var e=new dy[t];if(Symbol.toStringTag in e){var n=ql(e),i=Ll(n,Symbol.toStringTag);if(!i){var s=ql(n);i=Ll(s,Symbol.toStringTag);}yy[t]=i.get;}}});var gk=function(e){var n=!1;return my(yy,function(i,s){if(!n)try{var r=i.call(e);r===s&&(n=r);}catch{}}),n},yk=wl();xy.exports=function(e){return yk(e)?!gy||!(Symbol.toStringTag in e)?hk(dk(e),8,-1):gk(e):!1};});var Sy=R((i4,wy)=>{var xk=_t(),by=xk("ArrayBuffer.prototype.byteLength",!0),vk=Sl();wy.exports=function(e){return vk(e)?by?by(e):e.byteLength:NaN};});var Vy=R((r4,Gy)=>{var zy=sh(),sn=_t(),Ey=hh(),bk=vn(),Ki=xh(),wk=Mh(),Ay=Xh(),_y=tg(),Ry=ig(),Cy=Sl(),Ty=Ag(),Oy=Og(),ky=Fg(),Py=lo(),Fy=Xg(),Iy=fy(),Ly=vy(),qy=Sy(),$y=sn("SharedArrayBuffer.prototype.byteLength",!0),By=sn("Date.prototype.getTime"),$l=Object.getPrototypeOf,Dy=sn("Object.prototype.toString"),Lo=bk("%Set%",!0),Bl=sn("Map.prototype.has",!0),qo=sn("Map.prototype.get",!0),jy=sn("Map.prototype.size",!0),$o=sn("Set.prototype.add",!0),Hy=sn("Set.prototype.delete",!0),Bo=sn("Set.prototype.has",!0),Io=sn("Set.prototype.size",!0);function Ny(t,e,n,i){for(var s=Ki(t),r;(r=s.next())&&!r.done;)if(Mt(e,r.value,n,i))return Hy(t,r.value),!0;return !1}function Wy(t){if(typeof t>"u")return null;if(typeof t!="object")return typeof t=="symbol"?!1:typeof t=="string"||typeof t=="number"?+t==+t:!0}function Sk(t,e,n,i,s,r){var o=Wy(n);if(o!=null)return o;var a=qo(e,o),u=zy({},s,{strict:!1});return typeof a>"u"&&!Bl(e,o)||!Mt(i,a,u,r)?!1:!Bl(t,o)&&Mt(i,a,u,r)}function Ek(t,e,n){var i=Wy(n);return i??(Bo(e,i)&&!Bo(t,i))}function Uy(t,e,n,i,s,r){for(var o=Ki(t),a,u;(a=o.next())&&!a.done;)if(u=a.value,Mt(n,u,s,r)&&Mt(i,qo(e,u),s,r))return Hy(t,u),!0;return !1}function Mt(t,e,n,i){var s=n||{};if(s.strict?Ay(t,e):t===e)return !0;var r=Fy(t),o=Fy(e);if(r!==o)return !1;if(!t||!e||typeof t!="object"&&typeof e!="object")return s.strict?Ay(t,e):t==e;var a=i.has(t),u=i.has(e),f;if(a&&u){if(i.get(t)===i.get(e))return !0}else f={};return a||i.set(t,f),u||i.set(e,f),Rk(t,e,s,i)}function My(t){return !t||typeof t!="object"||typeof t.length!="number"||typeof t.copy!="function"||typeof t.slice!="function"||t.length>0&&typeof t[0]!="number"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function Ak(t,e,n,i){if(Io(t)!==Io(e))return !1;for(var s=Ki(t),r=Ki(e),o,a,u;(o=s.next())&&!o.done;)if(o.value&&typeof o.value=="object")u||(u=new Lo),$o(u,o.value);else if(!Bo(e,o.value)){if(n.strict||!Ek(t,e,o.value))return !1;u||(u=new Lo),$o(u,o.value);}if(u){for(;(a=r.next())&&!a.done;)if(a.value&&typeof a.value=="object"){if(!Ny(u,a.value,n.strict,i))return !1}else if(!n.strict&&!Bo(t,a.value)&&!Ny(u,a.value,n.strict,i))return !1;return Io(u)===0}return !0}function _k(t,e,n,i){if(jy(t)!==jy(e))return !1;for(var s=Ki(t),r=Ki(e),o,a,u,f,c,d;(o=s.next())&&!o.done;)if(f=o.value[0],c=o.value[1],f&&typeof f=="object")u||(u=new Lo),$o(u,f);else if(d=qo(e,f),typeof d>"u"&&!Bl(e,f)||!Mt(c,d,n,i)){if(n.strict||!Sk(t,e,f,c,n,i))return !1;u||(u=new Lo),$o(u,f);}if(u){for(;(a=r.next())&&!a.done;)if(f=a.value[0],d=a.value[1],f&&typeof f=="object"){if(!Uy(u,t,f,d,n,i))return !1}else if(!n.strict&&(!t.has(f)||!Mt(qo(t,f),d,n,i))&&!Uy(u,t,f,d,zy({},n,{strict:!1}),i))return !1;return Io(u)===0}return !0}function Rk(t,e,n,i){var s,r;if(typeof t!=typeof e||t==null||e==null||Dy(t)!==Dy(e)||_y(t)!==_y(e))return !1;var o=Ry(t),a=Ry(e);if(o!==a)return !1;var u=t instanceof Error,f=e instanceof Error;if(u!==f||(u||f)&&(t.name!==e.name||t.message!==e.message))return !1;var c=Oy(t),d=Oy(e);if(c!==d||(c||d)&&(t.source!==e.source||Ey(t)!==Ey(e)))return !1;var g=Ty(t),h=Ty(e);if(g!==h||(g||h)&&By(t)!==By(e)||n.strict&&$l&&$l(t)!==$l(e))return !1;var y=Ly(t),b=Ly(e);if((y||b)&&y!==b)return !1;var A=My(t),_=My(e);if(A!==_)return !1;if(A||_){if(t.length!==e.length)return !1;for(s=0;s=0;s--)if(J[s]!=W[s])return !1;for(s=J.length-1;s>=0;s--)if(r=J[s],!Mt(t[r],e[r],n,i))return !1;var D=Iy(t),$=Iy(e);return D!==$?!1:D==="Set"||$==="Set"?Ak(t,e,n,i):D==="Map"?_k(t,e,n,i):!0}Gy.exports=function(e,n,i){return Mt(e,n,i,wk())};});var xx=R((m4,yx)=>{var gx=H("stream").Stream,SP=H("util");yx.exports=zt;function zt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[];}SP.inherits(zt,gx);zt.create=function(t,e){var n=new this;e=e||{};for(var i in e)n[i]=e[i];n.source=t;var s=t.emit;return t.emit=function(){return n._handleEmit(arguments),s.apply(t,arguments)},t.on("error",function(){}),n.pauseStream&&t.pause(),n};Object.defineProperty(zt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});zt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};zt.prototype.resume=function(){this._released||this.release(),this.source.resume();};zt.prototype.pause=function(){this.source.pause();};zt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t);}.bind(this)),this._bufferedEvents=[];};zt.prototype.pipe=function(){var t=gx.prototype.pipe.apply(this,arguments);return this.resume(),t};zt.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t);};zt.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t));}};});var Sx=R((h4,wx)=>{var EP=H("util"),bx=H("stream").Stream,vx=xx();wx.exports=Te;function Te(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1;}EP.inherits(Te,bx);Te.create=function(t){var e=new this;t=t||{};for(var n in t)e[n]=t[n];return e};Te.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};Te.prototype.append=function(t){var e=Te.isStreamLike(t);if(e){if(!(t instanceof vx)){var n=vx.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=n;}this._handleErrors(t),this.pauseStreams&&t.pause();}return this._streams.push(t),this};Te.prototype.pipe=function(t,e){return bx.prototype.pipe.call(this,t,e),this.resume(),t};Te.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1;}};Te.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e(function(n){var i=Te.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n);}.bind(this));};Te.prototype._pipeNext=function(t){this._currentStream=t;var e=Te.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var n=t;this.write(n),this._getNext();};Te.prototype._handleErrors=function(t){var e=this;t.on("error",function(n){e._emitError(n);});};Te.prototype.write=function(t){this.emit("data",t);};Te.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"));};Te.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume");};Te.prototype.end=function(){this._reset(),this.emit("end");};Te.prototype.destroy=function(){this._reset(),this.emit("close");};Te.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null;};Te.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t));}};Te.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize);}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize);};Te.prototype._emitError=function(t){this._reset(),this.emit("error",t);};});var Ex=R((g4,AP)=>{AP.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};});var _x=R((y4,Ax)=>{Ax.exports=Ex();});var Tx=R(ft=>{var Mo=_x(),_P=H("path").extname,Rx=/^\s*([^;\s]*)(?:;|\s|$)/,RP=/^text\//i;ft.charset=Cx;ft.charsets={lookup:Cx};ft.contentType=CP;ft.extension=TP;ft.extensions=Object.create(null);ft.lookup=OP;ft.types=Object.create(null);kP(ft.extensions,ft.types);function Cx(t){if(!t||typeof t!="string")return !1;var e=Rx.exec(t),n=e&&Mo[e[1].toLowerCase()];return n&&n.charset?n.charset:e&&RP.test(e[1])?"UTF-8":!1}function CP(t){if(!t||typeof t!="string")return !1;var e=t.indexOf("/")===-1?ft.lookup(t):t;if(!e)return !1;if(e.indexOf("charset")===-1){var n=ft.charset(e);n&&(e+="; charset="+n.toLowerCase());}return e}function TP(t){if(!t||typeof t!="string")return !1;var e=Rx.exec(t),n=e&&ft.extensions[e[1].toLowerCase()];return !n||!n.length?!1:n[0]}function OP(t){if(!t||typeof t!="string")return !1;var e=_P("x."+t).toLowerCase().substr(1);return e&&ft.types[e]||!1}function kP(t,e){var n=["nginx","apache",void 0,"iana"];Object.keys(Mo).forEach(function(s){var r=Mo[s],o=r.extensions;if(!(!o||!o.length)){t[s]=o;for(var a=0;ac||f===c&&e[u].substr(0,12)==="application/"))continue}e[u]=s;}}});}});var kx=R((v4,Ox)=>{Ox.exports=PP;function PP(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0);}});var Wl=R((b4,Fx)=>{var Px=kx();Fx.exports=FP;function FP(t){var e=!1;return Px(function(){e=!0;}),function(i,s){e?t(i,s):Px(function(){t(i,s);});}}});var Gl=R((w4,Ix)=>{Ix.exports=IP;function IP(t){Object.keys(t.jobs).forEach(LP.bind(t)),t.jobs={};}function LP(t){typeof this.jobs[t]=="function"&&this.jobs[t]();}});var Vl=R((S4,qx)=>{var Lx=Wl(),qP=Gl();qx.exports=$P;function $P(t,e,n,i){var s=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[s]=BP(e,s,t[s],function(r,o){s in n.jobs&&(delete n.jobs[s],r?qP(n):n.results[s]=o,i(r,n.results));});}function BP(t,e,n,i){var s;return t.length==2?s=t(n,Lx(i)):s=t(n,e,Lx(i)),s}});var Kl=R((E4,$x)=>{$x.exports=DP;function DP(t,e){var n=!Array.isArray(t),i={index:0,keyedList:n||e?Object.keys(t):null,jobs:{},results:n?{}:[],size:n?Object.keys(t).length:t.length};return e&&i.keyedList.sort(n?e:function(s,r){return e(t[s],t[r])}),i}});var Jl=R((A4,Bx)=>{var jP=Gl(),NP=Wl();Bx.exports=UP;function UP(t){Object.keys(this.jobs).length&&(this.index=this.size,jP(this),NP(t)(null,this.results));}});var jx=R((_4,Dx)=>{var MP=Vl(),zP=Kl(),HP=Jl();Dx.exports=WP;function WP(t,e,n){for(var i=zP(t);i.index<(i.keyedList||t).length;)MP(t,e,i,function(s,r){if(s){n(s,r);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return HP.bind(i,n)}});var Yl=R((R4,zo)=>{var Nx=Vl(),GP=Kl(),VP=Jl();zo.exports=KP;zo.exports.ascending=Ux;zo.exports.descending=JP;function KP(t,e,n,i){var s=GP(t,n);return Nx(t,e,s,function r(o,a){if(o){i(o,a);return}if(s.index++,s.index<(s.keyedList||t).length){Nx(t,e,s,r);return}i(null,s.results);}),VP.bind(s,i)}function Ux(t,e){return te?1:0}function JP(t,e){return -1*Ux(t,e)}});var zx=R((C4,Mx)=>{var YP=Yl();Mx.exports=XP;function XP(t,e,n){return YP(t,e,null,n)}});var Wx=R((T4,Hx)=>{Hx.exports={parallel:jx(),serial:zx(),serialOrdered:Yl()};});var Vx=R((O4,Gx)=>{Gx.exports=function(t,e){return Object.keys(e).forEach(function(n){t[n]=t[n]||e[n];}),t};});var tu=R((k4,Jx)=>{var eu=Sx(),Kx=H("util"),Xl=H("path"),QP=H("http"),ZP=H("https"),eF=H("url").parse,tF=H("fs"),nF=H("stream").Stream,Ql=Tx(),iF=Wx(),Zl=Vx();Jx.exports=ge;Kx.inherits(ge,eu);function ge(t){if(!(this instanceof ge))return new ge(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],eu.call(this),t=t||{};for(var e in t)this[e]=t[e];}ge.LINE_BREAK=`\r -`;ge.DEFAULT_CONTENT_TYPE="application/octet-stream";ge.prototype.append=function(t,e,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=eu.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),Kx.isArray(e)){this._error(new Error("Arrays are not supported."));return}var s=this._multiPartHeader(t,e,n),r=this._multiPartFooter();i(s),i(e),i(r),this._trackLength(s,e,n);};ge.prototype._trackLength=function(t,e,n){var i=0;n.knownLength!=null?i+=+n.knownLength:Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ge.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof nF))&&(n.knownLength||this._valuesToMeasure.push(e));};ge.prototype._lengthRetriever=function(t,e){t.hasOwnProperty("fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):tF.stat(t.path,function(n,i){var s;if(n){e(n);return}s=i.size-(t.start?t.start:0),e(null,s);}):t.hasOwnProperty("httpVersion")?e(null,+t.headers["content-length"]):t.hasOwnProperty("httpModule")?(t.on("response",function(n){t.pause(),e(null,+n.headers["content-length"]);}),t.resume()):e("Unknown stream");};ge.prototype._multiPartHeader=function(t,e,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(e,n),s=this._getContentType(e,n),r="",o={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(s||[])};typeof n.header=="object"&&Zl(o,n.header);var a;for(var u in o)o.hasOwnProperty(u)&&(a=o[u],a!=null&&(Array.isArray(a)||(a=[a]),a.length&&(r+=u+": "+a.join("; ")+ge.LINE_BREAK)));return "--"+this.getBoundary()+ge.LINE_BREAK+r+ge.LINE_BREAK};ge.prototype._getContentDisposition=function(t,e){var n,i;return typeof e.filepath=="string"?n=Xl.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t.name||t.path?n=Xl.basename(e.filename||t.name||t.path):t.readable&&t.hasOwnProperty("httpVersion")&&(n=Xl.basename(t.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};ge.prototype._getContentType=function(t,e){var n=e.contentType;return !n&&t.name&&(n=Ql.lookup(t.name)),!n&&t.path&&(n=Ql.lookup(t.path)),!n&&t.readable&&t.hasOwnProperty("httpVersion")&&(n=t.headers["content-type"]),!n&&(e.filepath||e.filename)&&(n=Ql.lookup(e.filepath||e.filename)),!n&&typeof t=="object"&&(n=ge.DEFAULT_CONTENT_TYPE),n};ge.prototype._multiPartFooter=function(){return function(t){var e=ge.LINE_BREAK,n=this._streams.length===0;n&&(e+=this._lastBoundary()),t(e);}.bind(this)};ge.prototype._lastBoundary=function(){return "--"+this.getBoundary()+"--"+ge.LINE_BREAK};ge.prototype.getHeaders=function(t){var e,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)t.hasOwnProperty(e)&&(n[e.toLowerCase()]=t[e]);return n};ge.prototype.setBoundary=function(t){this._boundary=t;};ge.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ge.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),n=0,i=this._streams.length;n{var vF=H("url").parse,bF={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},wF=String.prototype.endsWith||function(t){return t.length<=this.length&&this.indexOf(t,this.length-t.length)!==-1};function SF(t){var e=typeof t=="string"?vF(t):t||{},n=e.protocol,i=e.host,s=e.port;if(typeof i!="string"||!i||typeof n!="string"||(n=n.split(":",1)[0],i=i.replace(/:\d*$/,""),s=parseInt(s)||bF[n]||0,!EF(i,s)))return "";var r=er("npm_config_"+n+"_proxy")||er(n+"_proxy")||er("npm_config_proxy")||er("all_proxy");return r&&r.indexOf("://")===-1&&(r=n+"://"+r),r}function EF(t,e){var n=(er("npm_config_no_proxy")||er("no_proxy")).toLowerCase();return n?n==="*"?!1:n.split(/[,\s]/).every(function(i){if(!i)return !0;var s=i.match(/^(.+):(\d+)$/),r=s?s[1]:i,o=s?parseInt(s[2]):0;return o&&o!==e?!0:/^[.*]/.test(r)?(r.charAt(0)==="*"&&(r=r.slice(1)),!wF.call(t,r)):t!==r}):!0}function er(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}av.getProxyForUrl=SF;});var uv=R((FH,lv)=>{var tr=1e3,nr=tr*60,ir=nr*60,di=ir*24,AF=di*7,_F=di*365.25;lv.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return RF(t);if(n==="number"&&isFinite(t))return e.long?TF(t):CF(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function RF(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return n*_F;case"weeks":case"week":case"w":return n*AF;case"days":case"day":case"d":return n*di;case"hours":case"hour":case"hrs":case"hr":case"h":return n*ir;case"minutes":case"minute":case"mins":case"min":case"m":return n*nr;case"seconds":case"second":case"secs":case"sec":case"s":return n*tr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function CF(t){var e=Math.abs(t);return e>=di?Math.round(t/di)+"d":e>=ir?Math.round(t/ir)+"h":e>=nr?Math.round(t/nr)+"m":e>=tr?Math.round(t/tr)+"s":t+"ms"}function TF(t){var e=Math.abs(t);return e>=di?Ko(t,e,di,"day"):e>=ir?Ko(t,e,ir,"hour"):e>=nr?Ko(t,e,nr,"minute"):e>=tr?Ko(t,e,tr,"second"):t+" ms"}function Ko(t,e,n,i){var s=e>=n*1.5;return Math.round(t/n)+" "+i+(s?"s":"")}});var lu=R((IH,pv)=>{function OF(t){n.debug=n,n.default=n,n.coerce=u,n.disable=r,n.enable=s,n.enabled=o,n.humanize=uv(),n.destroy=f,Object.keys(t).forEach(c=>{n[c]=t[c];}),n.names=[],n.skips=[],n.formatters={};function e(c){let d=0;for(let g=0;g{if(J==="%%")return "%";I++;let D=n.formatters[W];if(typeof D=="function"){let $=A[I];J=D.call(_,$),A.splice(I,1),I--;}return J}),n.formatArgs.call(_,A),(_.log||n.log).apply(_,A);}return b.namespace=c,b.useColors=n.useColors(),b.color=n.selectColor(c),b.extend=i,b.destroy=n.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(h!==n.namespaces&&(h=n.namespaces,y=n.enabled(c)),y),set:A=>{g=A;}}),typeof n.init=="function"&&n.init(b),b}function i(c,d){let g=n(this.namespace+(typeof d>"u"?":":d)+c);return g.log=this.log,g}function s(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let d,g=(typeof c=="string"?c:"").split(/[\s,]+/),h=g.length;for(d=0;d"-"+d)].join(",");return n.enable(""),c}function o(c){if(c[c.length-1]==="*")return !0;let d,g;for(d=0,g=n.skips.length;d{Rt.formatArgs=PF;Rt.save=FF;Rt.load=IF;Rt.useColors=kF;Rt.storage=LF();Rt.destroy=(()=>{let t=!1;return ()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));}})();Rt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function kF(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function PF(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Jo.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(n++,s==="%c"&&(i=n));}),t.splice(i,0,e);}Rt.log=console.debug||console.log||(()=>{});function FF(t){try{t?Rt.storage.setItem("debug",t):Rt.storage.removeItem("debug");}catch{}}function IF(){let t;try{t=Rt.storage.getItem("debug");}catch{}return !t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function LF(){try{return localStorage}catch{}}Jo.exports=lu()(Rt);var{formatters:qF}=Jo.exports;qF.j=function(t){try{return JSON.stringify(t)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};});var mv=R((LH,dv)=>{dv.exports=(t,e)=>{e=e||process.argv;let n=t.startsWith("-")?"":t.length===1?"-":"--",i=e.indexOf(n+t),s=e.indexOf("--");return i!==-1&&(s===-1?!0:i{var $F=H("os"),Wt=mv(),rt=process.env,rr;Wt("no-color")||Wt("no-colors")||Wt("color=false")?rr=!1:(Wt("color")||Wt("colors")||Wt("color=true")||Wt("color=always"))&&(rr=!0);"FORCE_COLOR"in rt&&(rr=rt.FORCE_COLOR.length===0||parseInt(rt.FORCE_COLOR,10)!==0);function BF(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function DF(t){if(rr===!1)return 0;if(Wt("color=16m")||Wt("color=full")||Wt("color=truecolor"))return 3;if(Wt("color=256"))return 2;if(t&&!t.isTTY&&rr!==!0)return 0;let e=rr?1:0;if(process.platform==="win32"){let n=$F.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in rt)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in rt)||rt.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in rt)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(rt.TEAMCITY_VERSION)?1:0;if(rt.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in rt){let n=parseInt((rt.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(rt.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(rt.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(rt.TERM)||"COLORTERM"in rt?1:(e)}function uu(t){let e=DF(t);return BF(e)}hv.exports={supportsColor:uu,stdout:uu(process.stdout),stderr:uu(process.stderr)};});var xv=R((et,Xo)=>{var jF=H("tty"),Yo=H("util");et.init=GF;et.log=zF;et.formatArgs=UF;et.save=HF;et.load=WF;et.useColors=NF;et.destroy=Yo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");et.colors=[6,2,3,4,5,1];try{let t=gv();t&&(t.stderr||t).level>=2&&(et.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]);}catch{}et.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let n=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,r)=>r.toUpperCase()),i=process.env[e];return /^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),t[n]=i,t},{});function NF(){return "colors"in et.inspectOpts?!!et.inspectOpts.colors:jF.isatty(process.stderr.fd)}function UF(t){let{namespace:e,useColors:n}=this;if(n){let i=this.color,s="\x1B[3"+(i<8?i:"8;5;"+i),r=` ${s};1m${e} \x1B[0m`;t[0]=r+t[0].split(` +`+e.prev}function go(t,e){var n=nl(t),i=[];if(n){i.length=t.length;for(var s=0;s{var al=bn(),Vi=_t(),FT=Mh(),LT=al("%TypeError%"),vo=al("%WeakMap%",!0),bo=al("%Map%",!0),qT=Vi("WeakMap.prototype.get",!0),$T=Vi("WeakMap.prototype.set",!0),DT=Vi("WeakMap.prototype.has",!0),BT=Vi("Map.prototype.get",!0),jT=Vi("Map.prototype.set",!0),NT=Vi("Map.prototype.has",!0),cl=function(t,e){for(var n=t,i;(i=n.next)!==null;n=i)if(i.key===e)return n.next=i.next,i.next=t.next,t.next=i,i},UT=function(t,e){var n=cl(t,e);return n&&n.value},MT=function(t,e,n){var i=cl(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n};},zT=function(t,e){return !!cl(t,e)};zh.exports=function(){var e,n,i,s={assert:function(r){if(!s.has(r))throw new LT("Side channel does not contain "+FT(r))},get:function(r){if(vo&&r&&(typeof r=="object"||typeof r=="function")){if(e)return qT(e,r)}else if(bo){if(n)return BT(n,r)}else if(i)return UT(i,r)},has:function(r){if(vo&&r&&(typeof r=="object"||typeof r=="function")){if(e)return DT(e,r)}else if(bo){if(n)return NT(n,r)}else if(i)return zT(i,r);return !1},set:function(r,o){vo&&r&&(typeof r=="object"||typeof r=="function")?(e||(e=new vo),$T(e,r,o)):bo?(n||(n=new bo),jT(n,r,o)):(i||(i={key:{},next:null}),MT(i,r,o));}};return s};});var ll=R((Pz,Gh)=>{var Wh=function(t){return t!==t};Gh.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||Wh(e)&&Wh(n))};});var ul=R((Iz,Vh)=>{var HT=ll();Vh.exports=function(){return typeof Object.is=="function"?Object.is:HT};});var Jh=R((Fz,Kh)=>{var WT=ul(),GT=qn();Kh.exports=function(){var e=WT();return GT(Object,{is:e},{is:function(){return Object.is!==e}}),e};});var Zh=R((Lz,Qh)=>{var VT=qn(),KT=Wi(),JT=ll(),Yh=ul(),YT=Jh(),Xh=KT(Yh(),Object);VT(Xh,{getPolyfill:Yh,implementation:JT,shim:YT});Qh.exports=Xh;});var wn=R((qz,eg)=>{var XT=uo();eg.exports=function(){return XT()&&!!Symbol.toStringTag};});var ig=R(($z,ng)=>{var QT=wn()(),ZT=_t(),pl=ZT("Object.prototype.toString"),wo=function(e){return QT&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:pl(e)==="[object Arguments]"},tg=function(e){return wo(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&pl(e)!=="[object Array]"&&pl(e.callee)==="[object Function]"},eO=function(){return wo(arguments)}();wo.isLegacyArguments=tg;ng.exports=eO?wo:tg;});var sg=R((Dz,rg)=>{var tO={}.toString;rg.exports=Array.isArray||function(t){return tO.call(t)=="[object Array]"};});var lg=R((Bz,cg)=>{var ag=Function.prototype.toString,Ki=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,dl,So;if(typeof Ki=="function"&&typeof Object.defineProperty=="function")try{dl=Object.defineProperty({},"length",{get:function(){throw So}}),So={},Ki(function(){throw 42},null,dl);}catch(t){t!==So&&(Ki=null);}else Ki=null;var nO=/^\s*class\b/,ml=function(e){try{var n=ag.call(e);return nO.test(n)}catch{return !1}},fl=function(e){try{return ml(e)?!1:(ag.call(e),!0)}catch{return !1}},Eo=Object.prototype.toString,iO="[object Object]",rO="[object Function]",sO="[object GeneratorFunction]",oO="[object HTMLAllCollection]",aO="[object HTML document.all class]",cO="[object HTMLCollection]",lO=typeof Symbol=="function"&&!!Symbol.toStringTag,uO=!(0 in[,]),hl=function(){return !1};typeof document=="object"&&(og=document.all,Eo.call(og)===Eo.call(document.all)&&(hl=function(e){if((uO||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=Eo.call(e);return (n===oO||n===aO||n===cO||n===iO)&&e("")==null}catch{}return !1}));var og;cg.exports=Ki?function(e){if(hl(e))return !0;if(!e||typeof e!="function"&&typeof e!="object")return !1;try{Ki(e,null,dl);}catch(n){if(n!==So)return !1}return !ml(e)&&fl(e)}:function(e){if(hl(e))return !0;if(!e||typeof e!="function"&&typeof e!="object")return !1;if(lO)return fl(e);if(ml(e))return !1;var n=Eo.call(e);return n!==rO&&n!==sO&&!/^\[object HTML/.test(n)?!1:fl(e)};});var gl=R((jz,pg)=>{var pO=lg(),fO=Object.prototype.toString,ug=Object.prototype.hasOwnProperty,dO=function(e,n,i){for(var s=0,r=e.length;s=3&&(s=i),fO.call(e)==="[object Array]"?dO(e,n,s):typeof e=="string"?mO(e,n,s):hO(e,n,s);};pg.exports=gO;});var xl=R((Nz,fg)=>{var yl=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],yO=typeof globalThis>"u"?global:globalThis;fg.exports=function(){for(var e=[],n=0;n{var xO=bn(),Ao=xO("%Object.getOwnPropertyDescriptor%",!0);if(Ao)try{Ao([],"length");}catch{Ao=null;}dg.exports=Ao;});var Sl=R((Mz,xg)=>{var mg=gl(),vO=xl(),wl=_t(),bO=wl("Object.prototype.toString"),hg=wn()(),_o=vl(),wO=typeof globalThis>"u"?global:globalThis,gg=vO(),SO=wl("Array.prototype.indexOf",!0)||function(e,n){for(var i=0;i-1}return _o?AO(e):!1};});var El=R((zz,Ag)=>{var _O=Wi(),RO=_t(),Eg=bn(),CO=Sl(),vg=Eg("ArrayBuffer",!0),bg=Eg("Float32Array",!0),Ro=RO("ArrayBuffer.prototype.byteLength",!0),wg=vg&&!Ro&&new vg().slice,Sg=wg&&_O(wg);Ag.exports=Ro||Sg?function(e){if(!e||typeof e!="object")return !1;try{return Ro?Ro(e):Sg(e,0),!0}catch{return !1}}:bg?function(e){try{return new bg(e).buffer===e&&!CO(e)}catch(n){return typeof e=="object"&&n.name==="RangeError"}}:function(e){return !1};});var Rg=R((Hz,_g)=>{var TO=Date.prototype.getDay,OO=function(e){try{return TO.call(e),!0}catch{return !1}},kO=Object.prototype.toString,PO="[object Date]",IO=wn()();_g.exports=function(e){return typeof e!="object"||e===null?!1:IO?OO(e):kO.call(e)===PO};});var Pg=R((Wz,kg)=>{var Al=_t(),Cg=wn()(),Tg,Og,_l,Rl;Cg&&(Tg=Al("Object.prototype.hasOwnProperty"),Og=Al("RegExp.prototype.exec"),_l={},Co=function(){throw _l},Rl={toString:Co,valueOf:Co},typeof Symbol.toPrimitive=="symbol"&&(Rl[Symbol.toPrimitive]=Co));var Co,FO=Al("Object.prototype.toString"),LO=Object.getOwnPropertyDescriptor,qO="[object RegExp]";kg.exports=Cg?function(e){if(!e||typeof e!="object")return !1;var n=LO(e,"lastIndex"),i=n&&Tg(n,"value");if(!i)return !1;try{Og(e,Rl);}catch(s){return s===_l}}:function(e){return !e||typeof e!="object"&&typeof e!="function"?!1:FO(e)===qO};});var Lg=R((Gz,Fg)=>{var $O=_t(),Ig=$O("SharedArrayBuffer.prototype.byteLength",!0);Fg.exports=Ig?function(e){if(!e||typeof e!="object")return !1;try{return Ig(e),!0}catch{return !1}}:function(e){return !1};});var $g=R((Vz,qg)=>{var DO=String.prototype.valueOf,BO=function(e){try{return DO.call(e),!0}catch{return !1}},jO=Object.prototype.toString,NO="[object String]",UO=wn()();qg.exports=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:UO?BO(e):jO.call(e)===NO};});var Bg=R((Kz,Dg)=>{var MO=Number.prototype.toString,zO=function(e){try{return MO.call(e),!0}catch{return !1}},HO=Object.prototype.toString,WO="[object Number]",GO=wn()();Dg.exports=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:GO?zO(e):HO.call(e)===WO};});var Ug=R((Jz,Ng)=>{var jg=_t(),VO=jg("Boolean.prototype.toString"),KO=jg("Object.prototype.toString"),JO=function(e){try{return VO(e),!0}catch{return !1}},YO="[object Boolean]",XO=wn()();Ng.exports=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:XO&&Symbol.toStringTag in e?JO(e):KO(e)===YO};});var Wg=R((Yz,Cl)=>{var QO=Object.prototype.toString,ZO=$c()();ZO?(Mg=Symbol.prototype.toString,zg=/^Symbol\(.*\)$/,Hg=function(e){return typeof e.valueOf()!="symbol"?!1:zg.test(Mg.call(e))},Cl.exports=function(e){if(typeof e=="symbol")return !0;if(QO.call(e)!=="[object Symbol]")return !1;try{return Hg(e)}catch{return !1}}):Cl.exports=function(e){return !1};var Mg,zg,Hg;});var Kg=R((Xz,Vg)=>{var Gg=typeof BigInt<"u"&&BigInt;Vg.exports=function(){return typeof Gg=="function"&&typeof BigInt=="function"&&typeof Gg(42)=="bigint"&&typeof BigInt(42)=="bigint"};});var Xg=R((Qz,Tl)=>{var ek=Kg()();ek?(Jg=BigInt.prototype.valueOf,Yg=function(e){try{return Jg.call(e),!0}catch{}return !1},Tl.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:Yg(e)}):Tl.exports=function(e){return !1};var Jg,Yg;});var Zg=R((Zz,Qg)=>{var tk=$g(),nk=Bg(),ik=Ug(),rk=Wg(),sk=Xg();Qg.exports=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(tk(e))return "String";if(nk(e))return "Number";if(ik(e))return "Boolean";if(rk(e))return "Symbol";if(sk(e))return "BigInt"};});var iy=R((e4,ny)=>{var Ol=typeof Map=="function"&&Map.prototype?Map:null,ok=typeof Set=="function"&&Set.prototype?Set:null,To;Ol||(To=function(e){return !1});var ty=Ol?Map.prototype.has:null,ey=ok?Set.prototype.has:null;!To&&!ty&&(To=function(e){return !1});ny.exports=To||function(e){if(!e||typeof e!="object")return !1;try{if(ty.call(e),ey)try{ey.call(e);}catch{return !0}return e instanceof Ol}catch{}return !1};});var ay=R((t4,oy)=>{var ak=typeof Map=="function"&&Map.prototype?Map:null,kl=typeof Set=="function"&&Set.prototype?Set:null,Oo;kl||(Oo=function(e){return !1});var ry=ak?Map.prototype.has:null,sy=kl?Set.prototype.has:null;!Oo&&!sy&&(Oo=function(e){return !1});oy.exports=Oo||function(e){if(!e||typeof e!="object")return !1;try{if(sy.call(e),ry)try{ry.call(e);}catch{return !0}return e instanceof kl}catch{}return !1};});var uy=R((n4,ly)=>{var ko=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,cy=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Po;ko||(Po=function(e){return !1});var Il=ko?ko.prototype.has:null,Pl=cy?cy.prototype.has:null;!Po&&!Il&&(Po=function(e){return !1});ly.exports=Po||function(e){if(!e||typeof e!="object")return !1;try{if(Il.call(e,Il),Pl)try{Pl.call(e,Pl);}catch{return !0}return e instanceof ko}catch{}return !1};});var fy=R((i4,Ll)=>{var ck=bn(),py=_t(),lk=ck("%WeakSet%",!0),Fl=py("WeakSet.prototype.has",!0);Fl?(Io=py("WeakMap.prototype.has",!0),Ll.exports=function(e){if(!e||typeof e!="object")return !1;try{if(Fl(e,Fl),Io)try{Io(e,Io);}catch{return !0}return e instanceof lk}catch{}return !1}):Ll.exports=function(e){return !1};var Io;});var my=R((r4,dy)=>{var uk=iy(),pk=ay(),fk=uy(),dk=fy();dy.exports=function(e){if(e&&typeof e=="object"){if(uk(e))return "Map";if(pk(e))return "Set";if(fk(e))return "WeakMap";if(dk(e))return "WeakSet"}return !1};});var wy=R((s4,by)=>{var gy=gl(),mk=xl(),yy=_t(),ql=vl(),hk=yy("Object.prototype.toString"),xy=wn()(),hy=typeof globalThis>"u"?global:globalThis,gk=mk(),yk=yy("String.prototype.slice"),vy={},$l=Object.getPrototypeOf;xy&&ql&&$l&&gy(gk,function(t){if(typeof hy[t]=="function"){var e=new hy[t];if(Symbol.toStringTag in e){var n=$l(e),i=ql(n,Symbol.toStringTag);if(!i){var s=$l(n);i=ql(s,Symbol.toStringTag);}vy[t]=i.get;}}});var xk=function(e){var n=!1;return gy(vy,function(i,s){if(!n)try{var r=i.call(e);r===s&&(n=r);}catch{}}),n},vk=Sl();by.exports=function(e){return vk(e)?!xy||!(Symbol.toStringTag in e)?yk(hk(e),8,-1):xk(e):!1};});var Ay=R((o4,Ey)=>{var bk=_t(),Sy=bk("ArrayBuffer.prototype.byteLength",!0),wk=El();Ey.exports=function(e){return wk(e)?Sy?Sy(e):e.byteLength:NaN};});var Jy=R((a4,Ky)=>{var Wy=ah(),sn=_t(),_y=yh(),Sk=bn(),Ji=bh(),Ek=Hh(),Ry=Zh(),Cy=ig(),Ty=sg(),Oy=El(),ky=Rg(),Py=Pg(),Iy=Lg(),Fy=lo(),Ly=Zg(),qy=my(),$y=wy(),Dy=Ay(),By=sn("SharedArrayBuffer.prototype.byteLength",!0),jy=sn("Date.prototype.getTime"),Dl=Object.getPrototypeOf,Ny=sn("Object.prototype.toString"),Lo=Sk("%Set%",!0),Bl=sn("Map.prototype.has",!0),qo=sn("Map.prototype.get",!0),Uy=sn("Map.prototype.size",!0),$o=sn("Set.prototype.add",!0),Gy=sn("Set.prototype.delete",!0),Do=sn("Set.prototype.has",!0),Fo=sn("Set.prototype.size",!0);function My(t,e,n,i){for(var s=Ji(t),r;(r=s.next())&&!r.done;)if(Mt(e,r.value,n,i))return Gy(t,r.value),!0;return !1}function Vy(t){if(typeof t>"u")return null;if(typeof t!="object")return typeof t=="symbol"?!1:typeof t=="string"||typeof t=="number"?+t==+t:!0}function Ak(t,e,n,i,s,r){var o=Vy(n);if(o!=null)return o;var a=qo(e,o),u=Wy({},s,{strict:!1});return typeof a>"u"&&!Bl(e,o)||!Mt(i,a,u,r)?!1:!Bl(t,o)&&Mt(i,a,u,r)}function _k(t,e,n){var i=Vy(n);return i??(Do(e,i)&&!Do(t,i))}function zy(t,e,n,i,s,r){for(var o=Ji(t),a,u;(a=o.next())&&!a.done;)if(u=a.value,Mt(n,u,s,r)&&Mt(i,qo(e,u),s,r))return Gy(t,u),!0;return !1}function Mt(t,e,n,i){var s=n||{};if(s.strict?Ry(t,e):t===e)return !0;var r=Ly(t),o=Ly(e);if(r!==o)return !1;if(!t||!e||typeof t!="object"&&typeof e!="object")return s.strict?Ry(t,e):t==e;var a=i.has(t),u=i.has(e),f;if(a&&u){if(i.get(t)===i.get(e))return !0}else f={};return a||i.set(t,f),u||i.set(e,f),Tk(t,e,s,i)}function Hy(t){return !t||typeof t!="object"||typeof t.length!="number"||typeof t.copy!="function"||typeof t.slice!="function"||t.length>0&&typeof t[0]!="number"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function Rk(t,e,n,i){if(Fo(t)!==Fo(e))return !1;for(var s=Ji(t),r=Ji(e),o,a,u;(o=s.next())&&!o.done;)if(o.value&&typeof o.value=="object")u||(u=new Lo),$o(u,o.value);else if(!Do(e,o.value)){if(n.strict||!_k(t,e,o.value))return !1;u||(u=new Lo),$o(u,o.value);}if(u){for(;(a=r.next())&&!a.done;)if(a.value&&typeof a.value=="object"){if(!My(u,a.value,n.strict,i))return !1}else if(!n.strict&&!Do(t,a.value)&&!My(u,a.value,n.strict,i))return !1;return Fo(u)===0}return !0}function Ck(t,e,n,i){if(Uy(t)!==Uy(e))return !1;for(var s=Ji(t),r=Ji(e),o,a,u,f,c,d;(o=s.next())&&!o.done;)if(f=o.value[0],c=o.value[1],f&&typeof f=="object")u||(u=new Lo),$o(u,f);else if(d=qo(e,f),typeof d>"u"&&!Bl(e,f)||!Mt(c,d,n,i)){if(n.strict||!Ak(t,e,f,c,n,i))return !1;u||(u=new Lo),$o(u,f);}if(u){for(;(a=r.next())&&!a.done;)if(f=a.value[0],d=a.value[1],f&&typeof f=="object"){if(!zy(u,t,f,d,n,i))return !1}else if(!n.strict&&(!t.has(f)||!Mt(qo(t,f),d,n,i))&&!zy(u,t,f,d,Wy({},n,{strict:!1}),i))return !1;return Fo(u)===0}return !0}function Tk(t,e,n,i){var s,r;if(typeof t!=typeof e||t==null||e==null||Ny(t)!==Ny(e)||Cy(t)!==Cy(e))return !1;var o=Ty(t),a=Ty(e);if(o!==a)return !1;var u=t instanceof Error,f=e instanceof Error;if(u!==f||(u||f)&&(t.name!==e.name||t.message!==e.message))return !1;var c=Py(t),d=Py(e);if(c!==d||(c||d)&&(t.source!==e.source||_y(t)!==_y(e)))return !1;var g=ky(t),h=ky(e);if(g!==h||(g||h)&&jy(t)!==jy(e)||n.strict&&Dl&&Dl(t)!==Dl(e))return !1;var y=$y(t),b=$y(e);if((y||b)&&y!==b)return !1;var A=Hy(t),_=Hy(e);if(A!==_)return !1;if(A||_){if(t.length!==e.length)return !1;for(s=0;s=0;s--)if(J[s]!=W[s])return !1;for(s=J.length-1;s>=0;s--)if(r=J[s],!Mt(t[r],e[r],n,i))return !1;var B=qy(t),$=qy(e);return B!==$?!1:B==="Set"||$==="Set"?Rk(t,e,n,i):B==="Map"?Ck(t,e,n,i):!0}Ky.exports=function(e,n,i){return Mt(e,n,i,Ek())};});var bx=R((y4,vx)=>{var xx=H("stream").Stream,AP=H("util");vx.exports=zt;function zt(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[];}AP.inherits(zt,xx);zt.create=function(t,e){var n=new this;e=e||{};for(var i in e)n[i]=e[i];n.source=t;var s=t.emit;return t.emit=function(){return n._handleEmit(arguments),s.apply(t,arguments)},t.on("error",function(){}),n.pauseStream&&t.pause(),n};Object.defineProperty(zt.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});zt.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};zt.prototype.resume=function(){this._released||this.release(),this.source.resume();};zt.prototype.pause=function(){this.source.pause();};zt.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t);}.bind(this)),this._bufferedEvents=[];};zt.prototype.pipe=function(){var t=xx.prototype.pipe.apply(this,arguments);return this.resume(),t};zt.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t);};zt.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t));}};});var Ax=R((x4,Ex)=>{var _P=H("util"),Sx=H("stream").Stream,wx=bx();Ex.exports=Oe;function Oe(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1;}_P.inherits(Oe,Sx);Oe.create=function(t){var e=new this;t=t||{};for(var n in t)e[n]=t[n];return e};Oe.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};Oe.prototype.append=function(t){var e=Oe.isStreamLike(t);if(e){if(!(t instanceof wx)){var n=wx.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=n;}this._handleErrors(t),this.pauseStreams&&t.pause();}return this._streams.push(t),this};Oe.prototype.pipe=function(t,e){return Sx.prototype.pipe.call(this,t,e),this.resume(),t};Oe.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1;}};Oe.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e(function(n){var i=Oe.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n);}.bind(this));};Oe.prototype._pipeNext=function(t){this._currentStream=t;var e=Oe.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var n=t;this.write(n),this._getNext();};Oe.prototype._handleErrors=function(t){var e=this;t.on("error",function(n){e._emitError(n);});};Oe.prototype.write=function(t){this.emit("data",t);};Oe.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"));};Oe.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume");};Oe.prototype.end=function(){this._reset(),this.emit("end");};Oe.prototype.destroy=function(){this._reset(),this.emit("close");};Oe.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null;};Oe.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t));}};Oe.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize);}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize);};Oe.prototype._emitError=function(t){this._reset(),this.emit("error",t);};});var _x=R((v4,RP)=>{RP.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};});var Cx=R((b4,Rx)=>{Rx.exports=_x();});var kx=R(ft=>{var Mo=Cx(),CP=H("path").extname,Tx=/^\s*([^;\s]*)(?:;|\s|$)/,TP=/^text\//i;ft.charset=Ox;ft.charsets={lookup:Ox};ft.contentType=OP;ft.extension=kP;ft.extensions=Object.create(null);ft.lookup=PP;ft.types=Object.create(null);IP(ft.extensions,ft.types);function Ox(t){if(!t||typeof t!="string")return !1;var e=Tx.exec(t),n=e&&Mo[e[1].toLowerCase()];return n&&n.charset?n.charset:e&&TP.test(e[1])?"UTF-8":!1}function OP(t){if(!t||typeof t!="string")return !1;var e=t.indexOf("/")===-1?ft.lookup(t):t;if(!e)return !1;if(e.indexOf("charset")===-1){var n=ft.charset(e);n&&(e+="; charset="+n.toLowerCase());}return e}function kP(t){if(!t||typeof t!="string")return !1;var e=Tx.exec(t),n=e&&ft.extensions[e[1].toLowerCase()];return !n||!n.length?!1:n[0]}function PP(t){if(!t||typeof t!="string")return !1;var e=CP("x."+t).toLowerCase().substr(1);return e&&ft.types[e]||!1}function IP(t,e){var n=["nginx","apache",void 0,"iana"];Object.keys(Mo).forEach(function(s){var r=Mo[s],o=r.extensions;if(!(!o||!o.length)){t[s]=o;for(var a=0;ac||f===c&&e[u].substr(0,12)==="application/"))continue}e[u]=s;}}});}});var Ix=R((S4,Px)=>{Px.exports=FP;function FP(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0);}});var Gl=R((E4,Lx)=>{var Fx=Ix();Lx.exports=LP;function LP(t){var e=!1;return Fx(function(){e=!0;}),function(i,s){e?t(i,s):Fx(function(){t(i,s);});}}});var Vl=R((A4,qx)=>{qx.exports=qP;function qP(t){Object.keys(t.jobs).forEach($P.bind(t)),t.jobs={};}function $P(t){typeof this.jobs[t]=="function"&&this.jobs[t]();}});var Kl=R((_4,Dx)=>{var $x=Gl(),DP=Vl();Dx.exports=BP;function BP(t,e,n,i){var s=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[s]=jP(e,s,t[s],function(r,o){s in n.jobs&&(delete n.jobs[s],r?DP(n):n.results[s]=o,i(r,n.results));});}function jP(t,e,n,i){var s;return t.length==2?s=t(n,$x(i)):s=t(n,e,$x(i)),s}});var Jl=R((R4,Bx)=>{Bx.exports=NP;function NP(t,e){var n=!Array.isArray(t),i={index:0,keyedList:n||e?Object.keys(t):null,jobs:{},results:n?{}:[],size:n?Object.keys(t).length:t.length};return e&&i.keyedList.sort(n?e:function(s,r){return e(t[s],t[r])}),i}});var Yl=R((C4,jx)=>{var UP=Vl(),MP=Gl();jx.exports=zP;function zP(t){Object.keys(this.jobs).length&&(this.index=this.size,UP(this),MP(t)(null,this.results));}});var Ux=R((T4,Nx)=>{var HP=Kl(),WP=Jl(),GP=Yl();Nx.exports=VP;function VP(t,e,n){for(var i=WP(t);i.index<(i.keyedList||t).length;)HP(t,e,i,function(s,r){if(s){n(s,r);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return GP.bind(i,n)}});var Xl=R((O4,zo)=>{var Mx=Kl(),KP=Jl(),JP=Yl();zo.exports=YP;zo.exports.ascending=zx;zo.exports.descending=XP;function YP(t,e,n,i){var s=KP(t,n);return Mx(t,e,s,function r(o,a){if(o){i(o,a);return}if(s.index++,s.index<(s.keyedList||t).length){Mx(t,e,s,r);return}i(null,s.results);}),JP.bind(s,i)}function zx(t,e){return te?1:0}function XP(t,e){return -1*zx(t,e)}});var Wx=R((k4,Hx)=>{var QP=Xl();Hx.exports=ZP;function ZP(t,e,n){return QP(t,e,null,n)}});var Vx=R((P4,Gx)=>{Gx.exports={parallel:Ux(),serial:Wx(),serialOrdered:Xl()};});var Jx=R((I4,Kx)=>{Kx.exports=function(t,e){return Object.keys(e).forEach(function(n){t[n]=t[n]||e[n];}),t};});var nu=R((F4,Xx)=>{var tu=Ax(),Yx=H("util"),Ql=H("path"),eI=H("http"),tI=H("https"),nI=H("url").parse,iI=H("fs"),rI=H("stream").Stream,Zl=kx(),sI=Vx(),eu=Jx();Xx.exports=ge;Yx.inherits(ge,tu);function ge(t){if(!(this instanceof ge))return new ge(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],tu.call(this),t=t||{};for(var e in t)this[e]=t[e];}ge.LINE_BREAK=`\r +`;ge.DEFAULT_CONTENT_TYPE="application/octet-stream";ge.prototype.append=function(t,e,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=tu.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),Yx.isArray(e)){this._error(new Error("Arrays are not supported."));return}var s=this._multiPartHeader(t,e,n),r=this._multiPartFooter();i(s),i(e),i(r),this._trackLength(s,e,n);};ge.prototype._trackLength=function(t,e,n){var i=0;n.knownLength!=null?i+=+n.knownLength:Buffer.isBuffer(e)?i=e.length:typeof e=="string"&&(i=Buffer.byteLength(e)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(t)+ge.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof rI))&&(n.knownLength||this._valuesToMeasure.push(e));};ge.prototype._lengthRetriever=function(t,e){t.hasOwnProperty("fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):iI.stat(t.path,function(n,i){var s;if(n){e(n);return}s=i.size-(t.start?t.start:0),e(null,s);}):t.hasOwnProperty("httpVersion")?e(null,+t.headers["content-length"]):t.hasOwnProperty("httpModule")?(t.on("response",function(n){t.pause(),e(null,+n.headers["content-length"]);}),t.resume()):e("Unknown stream");};ge.prototype._multiPartHeader=function(t,e,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(e,n),s=this._getContentType(e,n),r="",o={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(s||[])};typeof n.header=="object"&&eu(o,n.header);var a;for(var u in o)o.hasOwnProperty(u)&&(a=o[u],a!=null&&(Array.isArray(a)||(a=[a]),a.length&&(r+=u+": "+a.join("; ")+ge.LINE_BREAK)));return "--"+this.getBoundary()+ge.LINE_BREAK+r+ge.LINE_BREAK};ge.prototype._getContentDisposition=function(t,e){var n,i;return typeof e.filepath=="string"?n=Ql.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t.name||t.path?n=Ql.basename(e.filename||t.name||t.path):t.readable&&t.hasOwnProperty("httpVersion")&&(n=Ql.basename(t.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};ge.prototype._getContentType=function(t,e){var n=e.contentType;return !n&&t.name&&(n=Zl.lookup(t.name)),!n&&t.path&&(n=Zl.lookup(t.path)),!n&&t.readable&&t.hasOwnProperty("httpVersion")&&(n=t.headers["content-type"]),!n&&(e.filepath||e.filename)&&(n=Zl.lookup(e.filepath||e.filename)),!n&&typeof t=="object"&&(n=ge.DEFAULT_CONTENT_TYPE),n};ge.prototype._multiPartFooter=function(){return function(t){var e=ge.LINE_BREAK,n=this._streams.length===0;n&&(e+=this._lastBoundary()),t(e);}.bind(this)};ge.prototype._lastBoundary=function(){return "--"+this.getBoundary()+"--"+ge.LINE_BREAK};ge.prototype.getHeaders=function(t){var e,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)t.hasOwnProperty(e)&&(n[e.toLowerCase()]=t[e]);return n};ge.prototype.setBoundary=function(t){this._boundary=t;};ge.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};ge.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),n=0,i=this._streams.length;n{var wI=H("url").parse,SI={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},EI=String.prototype.endsWith||function(t){return t.length<=this.length&&this.indexOf(t,this.length-t.length)!==-1};function AI(t){var e=typeof t=="string"?wI(t):t||{},n=e.protocol,i=e.host,s=e.port;if(typeof i!="string"||!i||typeof n!="string"||(n=n.split(":",1)[0],i=i.replace(/:\d*$/,""),s=parseInt(s)||SI[n]||0,!_I(i,s)))return "";var r=tr("npm_config_"+n+"_proxy")||tr(n+"_proxy")||tr("npm_config_proxy")||tr("all_proxy");return r&&r.indexOf("://")===-1&&(r=n+"://"+r),r}function _I(t,e){var n=(tr("npm_config_no_proxy")||tr("no_proxy")).toLowerCase();return n?n==="*"?!1:n.split(/[,\s]/).every(function(i){if(!i)return !0;var s=i.match(/^(.+):(\d+)$/),r=s?s[1]:i,o=s?parseInt(s[2]):0;return o&&o!==e?!0:/^[.*]/.test(r)?(r.charAt(0)==="*"&&(r=r.slice(1)),!EI.call(t,r)):t!==r}):!0}function tr(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}lv.getProxyForUrl=AI;});var fv=R((qH,pv)=>{var nr=1e3,ir=nr*60,rr=ir*60,mi=rr*24,RI=mi*7,CI=mi*365.25;pv.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return TI(t);if(n==="number"&&isFinite(t))return e.long?kI(t):OI(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function TI(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return n*CI;case"weeks":case"week":case"w":return n*RI;case"days":case"day":case"d":return n*mi;case"hours":case"hour":case"hrs":case"hr":case"h":return n*rr;case"minutes":case"minute":case"mins":case"min":case"m":return n*ir;case"seconds":case"second":case"secs":case"sec":case"s":return n*nr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function OI(t){var e=Math.abs(t);return e>=mi?Math.round(t/mi)+"d":e>=rr?Math.round(t/rr)+"h":e>=ir?Math.round(t/ir)+"m":e>=nr?Math.round(t/nr)+"s":t+"ms"}function kI(t){var e=Math.abs(t);return e>=mi?Ko(t,e,mi,"day"):e>=rr?Ko(t,e,rr,"hour"):e>=ir?Ko(t,e,ir,"minute"):e>=nr?Ko(t,e,nr,"second"):t+" ms"}function Ko(t,e,n,i){var s=e>=n*1.5;return Math.round(t/n)+" "+i+(s?"s":"")}});var uu=R(($H,dv)=>{function PI(t){n.debug=n,n.default=n,n.coerce=u,n.disable=r,n.enable=s,n.enabled=o,n.humanize=fv(),n.destroy=f,Object.keys(t).forEach(c=>{n[c]=t[c];}),n.names=[],n.skips=[],n.formatters={};function e(c){let d=0;for(let g=0;g{if(J==="%%")return "%";F++;let B=n.formatters[W];if(typeof B=="function"){let $=A[F];J=B.call(_,$),A.splice(F,1),F--;}return J}),n.formatArgs.call(_,A),(_.log||n.log).apply(_,A);}return b.namespace=c,b.useColors=n.useColors(),b.color=n.selectColor(c),b.extend=i,b.destroy=n.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(h!==n.namespaces&&(h=n.namespaces,y=n.enabled(c)),y),set:A=>{g=A;}}),typeof n.init=="function"&&n.init(b),b}function i(c,d){let g=n(this.namespace+(typeof d>"u"?":":d)+c);return g.log=this.log,g}function s(c){n.save(c),n.namespaces=c,n.names=[],n.skips=[];let d,g=(typeof c=="string"?c:"").split(/[\s,]+/),h=g.length;for(d=0;d"-"+d)].join(",");return n.enable(""),c}function o(c){if(c[c.length-1]==="*")return !0;let d,g;for(d=0,g=n.skips.length;d{Rt.formatArgs=FI;Rt.save=LI;Rt.load=qI;Rt.useColors=II;Rt.storage=$I();Rt.destroy=(()=>{let t=!1;return ()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));}})();Rt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function II(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function FI(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+Jo.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(n++,s==="%c"&&(i=n));}),t.splice(i,0,e);}Rt.log=console.debug||console.log||(()=>{});function LI(t){try{t?Rt.storage.setItem("debug",t):Rt.storage.removeItem("debug");}catch{}}function qI(){let t;try{t=Rt.storage.getItem("debug");}catch{}return !t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function $I(){try{return localStorage}catch{}}Jo.exports=uu()(Rt);var{formatters:DI}=Jo.exports;DI.j=function(t){try{return JSON.stringify(t)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};});var gv=R((DH,hv)=>{hv.exports=(t,e)=>{e=e||process.argv;let n=t.startsWith("-")?"":t.length===1?"-":"--",i=e.indexOf(n+t),s=e.indexOf("--");return i!==-1&&(s===-1?!0:i{var BI=H("os"),Wt=gv(),st=process.env,sr;Wt("no-color")||Wt("no-colors")||Wt("color=false")?sr=!1:(Wt("color")||Wt("colors")||Wt("color=true")||Wt("color=always"))&&(sr=!0);"FORCE_COLOR"in st&&(sr=st.FORCE_COLOR.length===0||parseInt(st.FORCE_COLOR,10)!==0);function jI(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function NI(t){if(sr===!1)return 0;if(Wt("color=16m")||Wt("color=full")||Wt("color=truecolor"))return 3;if(Wt("color=256"))return 2;if(t&&!t.isTTY&&sr!==!0)return 0;let e=sr?1:0;if(process.platform==="win32"){let n=BI.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in st)return ["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(n=>n in st)||st.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in st)return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(st.TEAMCITY_VERSION)?1:0;if(st.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in st){let n=parseInt((st.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(st.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return /-256(color)?$/i.test(st.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(st.TERM)||"COLORTERM"in st?1:(e)}function pu(t){let e=NI(t);return jI(e)}yv.exports={supportsColor:pu,stdout:pu(process.stdout),stderr:pu(process.stderr)};});var bv=R((et,Xo)=>{var UI=H("tty"),Yo=H("util");et.init=KI;et.log=WI;et.formatArgs=zI;et.save=GI;et.load=VI;et.useColors=MI;et.destroy=Yo.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");et.colors=[6,2,3,4,5,1];try{let t=xv();t&&(t.stderr||t).level>=2&&(et.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]);}catch{}et.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let n=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,r)=>r.toUpperCase()),i=process.env[e];return /^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),t[n]=i,t},{});function MI(){return "colors"in et.inspectOpts?!!et.inspectOpts.colors:UI.isatty(process.stderr.fd)}function zI(t){let{namespace:e,useColors:n}=this;if(n){let i=this.color,s="\x1B[3"+(i<8?i:"8;5;"+i),r=` ${s};1m${e} \x1B[0m`;t[0]=r+t[0].split(` `).join(` -`+r),t.push(s+"m+"+Xo.exports.humanize(this.diff)+"\x1B[0m");}else t[0]=MF()+e+" "+t[0];}function MF(){return et.inspectOpts.hideDate?"":new Date().toISOString()+" "}function zF(...t){return process.stderr.write(Yo.format(...t)+` -`)}function HF(t){t?process.env.DEBUG=t:delete process.env.DEBUG;}function WF(){return process.env.DEBUG}function GF(t){t.inspectOpts={};let e=Object.keys(et.inspectOpts);for(let n=0;ne.trim()).join(" ")};yv.O=function(t){return this.inspectOpts.colors=this.useColors,Yo.inspect(t,this.inspectOpts)};});var vv=R(($H,pu)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?pu.exports=fv():pu.exports=xv();});var wv=R((BH,bv)=>{var ss;bv.exports=function(){if(!ss){try{ss=vv()("follow-redirects");}catch{}typeof ss!="function"&&(ss=function(){});}ss.apply(null,arguments);};});var Ov=R((DH,gu)=>{var mi=H("url"),fu=mi.URL,VF=H("http"),KF=H("https"),Av=H("stream").Writable,_v=H("assert"),Rv=wv(),mu=["abort","aborted","connect","error","socket","timeout"],hu=Object.create(null);mu.forEach(function(t){hu[t]=function(e,n,i){this._redirectable.emit(t,e,n,i);};});var JF=as("ERR_INVALID_URL","Invalid URL",TypeError),Sv=as("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),YF=as("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),XF=as("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),QF=as("ERR_STREAM_WRITE_AFTER_END","write after end");function Ct(t,e){Av.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(i){n._processResponse(i);},this._performRequest();}Ct.prototype=Object.create(Av.prototype);Ct.prototype.abort=function(){Tv(this._currentRequest),this.emit("abort");};Ct.prototype.write=function(t,e,n){if(this._ending)throw new QF;if(!hi(t)&&!tI(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(os(e)&&(n=e,e=null),t.length===0){n&&n();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new XF),this.abort());};Ct.prototype.end=function(t,e,n){if(os(t)?(n=t,t=e=null):os(e)&&(n=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else {var i=this,s=this._currentRequest;this.write(t,e,function(){i._ended=!0,s.end(null,null,n);}),this._ending=!0;}};Ct.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e);};Ct.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t);};Ct.prototype.setTimeout=function(t,e){var n=this;function i(o){o.setTimeout(t),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy);}function s(o){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),r();},t),i(o);}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",s);}return e&&this.on("timeout",e),this.socket?s(this.socket):this._currentRequest.once("socket",s),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){Ct.prototype[t]=function(e,n){return this._currentRequest[t](e,n)};});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(Ct.prototype,t,{get:function(){return this._currentRequest[t]}});});Ct.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e));}};Ct.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e){this.emit("error",new TypeError("Unsupported protocol "+t));return}if(this._options.agents){var n=t.slice(0,-1);this._options.agent=this._options.agents[n];}var i=this._currentRequest=e.request(this._options,this._onNativeResponse);i._redirectable=this;for(var s of mu)i.on(s,hu[s]);if(this._currentUrl=/^\//.test(this._options.path)?mi.format(this._options):this._options.path,this._isRedirect){var r=0,o=this,a=this._requestBodyBuffers;(function u(f){if(i===o._currentRequest)if(f)o.emit("error",f);else if(r=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(Tv(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new YF);return}var i,s=this._options.beforeRedirect;s&&(i=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var r=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],du(/^content-/i,this._options.headers));var o=du(/^host$/i,this._options.headers),a=mi.parse(this._currentUrl),u=o||a.host,f=/^\w+:/.test(n)?this._currentUrl:mi.format(Object.assign(a,{host:u})),c;try{c=mi.resolve(f,n);}catch(y){this.emit("error",new Sv({cause:y}));return}Rv("redirecting to",c),this._isRedirect=!0;var d=mi.parse(c);if(Object.assign(this._options,d),(d.protocol!==a.protocol&&d.protocol!=="https:"||d.host!==u&&!eI(d.host,u))&&du(/^(?:authorization|cookie)$/i,this._options.headers),os(s)){var g={headers:t.headers,statusCode:e},h={url:f,method:r,headers:i};try{s(this._options,g,h);}catch(y){this.emit("error",y);return}this._sanitizeOptions(this._options);}try{this._performRequest();}catch(y){this.emit("error",new Sv({cause:y}));}};function Cv(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach(function(i){var s=i+":",r=n[s]=t[i],o=e[i]=Object.create(r);function a(f,c,d){if(hi(f)){var g;try{g=Ev(new fu(f));}catch{g=mi.parse(f);}if(!hi(g.protocol))throw new JF({input:f});f=g;}else fu&&f instanceof fu?f=Ev(f):(d=c,c=f,f={protocol:s});return os(c)&&(d=c,c=null),c=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},f,c),c.nativeProtocols=n,!hi(c.host)&&!hi(c.hostname)&&(c.hostname="::1"),_v.equal(c.protocol,s,"protocol mismatch"),Rv("options",c),new Ct(c,d)}function u(f,c,d){var g=o.request(f,c,d);return g.end(),g}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}});}),e}function ZF(){}function Ev(t){var e={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return t.port!==""&&(e.port=Number(t.port)),e}function du(t,e){var n;for(var i in e)t.test(i)&&(n=e[i],delete e[i]);return n===null||typeof n>"u"?void 0:String(n).trim()}function as(t,e,n){function i(s){Error.captureStackTrace(this,this.constructor),Object.assign(this,s||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e;}return i.prototype=new(n||Error),i.prototype.constructor=i,i.prototype.name="Error ["+t+"]",i}function Tv(t){for(var e of mu)t.removeListener(e,hu[e]);t.on("error",ZF),t.abort();}function eI(t,e){_v(hi(t)&&hi(e));var n=t.length-e.length-1;return n>0&&t[n]==="."&&t.endsWith(e)}function hi(t){return typeof t=="string"||t instanceof String}function os(t){return typeof t=="function"}function tI(t){return typeof t=="object"&&"length"in t}gu.exports=Cv({http:VF,https:KF});gu.exports.wrap=Cv;});var tb={};Cc(tb,{closest:()=>MI,distance:()=>eb});var En,NI,UI,eb,MI,nb=io(()=>{En=new Uint32Array(65536),NI=(t,e)=>{let n=t.length,i=e.length,s=1<{let n=e.length,i=t.length,s=[],r=[],o=Math.ceil(n/32),a=Math.ceil(i/32);for(let y=0;y>>S&1,q=s[S/32|0]>>>S&1,J=C|y,W=((C|q)&b)+b^b|C|q,D=y|~(W|b),$=b&W;D>>>31^I&&(r[S/32|0]^=1<>>31^q&&(s[S/32|0]^=1<>>y&1,_=s[y/32|0]>>>y&1,S=b|f,C=((b|_)&c)+c^c|b|_,I=f|~(C|c),q=c&C;h+=I>>>i-1&1,h-=q>>>i-1&1,I>>>31^A&&(r[y/32|0]^=1<>>31^_&&(s[y/32|0]^=1<{if(t.length{let n=1/0,i=0;for(let s=0;s{(function(){var t;try{t=typeof Intl<"u"&&typeof Intl.Collator<"u"?Intl.Collator("generic",{sensitivity:"base"}):null;}catch{console.log("Collator could not be initialized and wouldn't be used");}var e=(nb(),Tc(tb)),n=[],i=[],s={get:function(r,o,a){var u=a&&t&&a.useCollator;if(u){var f=r.length,c=o.length;if(f===0)return c;if(c===0)return f;var d,g,h,y,b;for(h=0;hb&&(g=b),b=n[y+1]+1,g>b&&(g=b),n[y]=d;n[y]=g;}return g}return e.distance(r,o)}};typeof define<"u"&&define!==null&&define.amd?define(function(){return s}):typeof hs<"u"&&hs!==null&&typeof Pu<"u"&&hs.exports===Pu?hs.exports=s:typeof self<"u"&&typeof self.postMessage=="function"&&typeof self.importScripts=="function"?self.Levenshtein=s:typeof window<"u"&&window!==null&&(window.Levenshtein=s);})();});var ys=io(()=>{});var dt=R(Lu=>{Lu.fromCallback=function(t){return Object.defineProperty(function(...e){if(typeof e[e.length-1]=="function")t.apply(this,e);else return new Promise((n,i)=>{t.call(this,...e,(s,r)=>s!=null?i(s):n(r));})},"name",{value:t.name})};Lu.fromPromise=function(t){return Object.defineProperty(function(...e){let n=e[e.length-1];if(typeof n!="function")return t.apply(this,e);t.apply(this,e.slice(0,-1)).then(i=>n(null,i),n);},"name",{value:t.name})};});var cb=R((WW,ab)=>{var Gn=H("constants"),WI=process.cwd,la=null,GI=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return la||(la=WI.call(process)),la};try{process.cwd();}catch{}typeof process.chdir=="function"&&(qu=process.chdir,process.chdir=function(t){la=null,qu.call(process,t);},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,qu));var qu;ab.exports=VI;function VI(t){Gn.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||n(t),t.chown=r(t.chown),t.fchown=r(t.fchown),t.lchown=r(t.lchown),t.chmod=i(t.chmod),t.fchmod=i(t.fchmod),t.lchmod=i(t.lchmod),t.chownSync=o(t.chownSync),t.fchownSync=o(t.fchownSync),t.lchownSync=o(t.lchownSync),t.chmodSync=s(t.chmodSync),t.fchmodSync=s(t.fchmodSync),t.lchmodSync=s(t.lchmodSync),t.stat=a(t.stat),t.fstat=a(t.fstat),t.lstat=a(t.lstat),t.statSync=u(t.statSync),t.fstatSync=u(t.fstatSync),t.lstatSync=u(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(c,d,g){g&&process.nextTick(g);},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(c,d,g,h){h&&process.nextTick(h);},t.lchownSync=function(){}),GI==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:function(c){function d(g,h,y){var b=Date.now(),A=0;c(g,h,function _(S){if(S&&(S.code==="EACCES"||S.code==="EPERM"||S.code==="EBUSY")&&Date.now()-b<6e4){setTimeout(function(){t.stat(h,function(C,I){C&&C.code==="ENOENT"?c(g,h,_):y(S);});},A),A<100&&(A+=10);return}y&&y(S);});}return Object.setPrototypeOf&&Object.setPrototypeOf(d,c),d}(t.rename)),t.read=typeof t.read!="function"?t.read:function(c){function d(g,h,y,b,A,_){var S;if(_&&typeof _=="function"){var C=0;S=function(I,q,J){if(I&&I.code==="EAGAIN"&&C<10)return C++,c.call(t,g,h,y,b,A,S);_.apply(this,arguments);};}return c.call(t,g,h,y,b,A,S)}return Object.setPrototypeOf&&Object.setPrototypeOf(d,c),d}(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:function(c){return function(d,g,h,y,b){for(var A=0;;)try{return c.call(t,d,g,h,y,b)}catch(_){if(_.code==="EAGAIN"&&A<10){A++;continue}throw _}}}(t.readSync);function e(c){c.lchmod=function(d,g,h){c.open(d,Gn.O_WRONLY|Gn.O_SYMLINK,g,function(y,b){if(y){h&&h(y);return}c.fchmod(b,g,function(A){c.close(b,function(_){h&&h(A||_);});});});},c.lchmodSync=function(d,g){var h=c.openSync(d,Gn.O_WRONLY|Gn.O_SYMLINK,g),y=!0,b;try{b=c.fchmodSync(h,g),y=!1;}finally{if(y)try{c.closeSync(h);}catch{}else c.closeSync(h);}return b};}function n(c){Gn.hasOwnProperty("O_SYMLINK")&&c.futimes?(c.lutimes=function(d,g,h,y){c.open(d,Gn.O_SYMLINK,function(b,A){if(b){y&&y(b);return}c.futimes(A,g,h,function(_){c.close(A,function(S){y&&y(_||S);});});});},c.lutimesSync=function(d,g,h){var y=c.openSync(d,Gn.O_SYMLINK),b,A=!0;try{b=c.futimesSync(y,g,h),A=!1;}finally{if(A)try{c.closeSync(y);}catch{}else c.closeSync(y);}return b}):c.futimes&&(c.lutimes=function(d,g,h,y){y&&process.nextTick(y);},c.lutimesSync=function(){});}function i(c){return c&&function(d,g,h){return c.call(t,d,g,function(y){f(y)&&(y=null),h&&h.apply(this,arguments);})}}function s(c){return c&&function(d,g){try{return c.call(t,d,g)}catch(h){if(!f(h))throw h}}}function r(c){return c&&function(d,g,h,y){return c.call(t,d,g,h,function(b){f(b)&&(b=null),y&&y.apply(this,arguments);})}}function o(c){return c&&function(d,g,h){try{return c.call(t,d,g,h)}catch(y){if(!f(y))throw y}}}function a(c){return c&&function(d,g,h){typeof g=="function"&&(h=g,g=null);function y(b,A){A&&(A.uid<0&&(A.uid+=4294967296),A.gid<0&&(A.gid+=4294967296)),h&&h.apply(this,arguments);}return g?c.call(t,d,g,y):c.call(t,d,y)}}function u(c){return c&&function(d,g){var h=g?c.call(t,d,g):c.call(t,d);return h&&(h.uid<0&&(h.uid+=4294967296),h.gid<0&&(h.gid+=4294967296)),h}}function f(c){if(!c||c.code==="ENOSYS")return !0;var d=!process.getuid||process.getuid()!==0;return !!(d&&(c.code==="EINVAL"||c.code==="EPERM"))}}});var pb=R((GW,ub)=>{var lb=H("stream").Stream;ub.exports=KI;function KI(t){return {ReadStream:e,WriteStream:n};function e(i,s){if(!(this instanceof e))return new e(i,s);lb.call(this);var r=this;this.path=i,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,s=s||{};for(var o=Object.keys(s),a=0,u=o.length;athis.end)throw new Error("start must be <= end");this.pos=this.start;}if(this.fd!==null){process.nextTick(function(){r._read();});return}t.open(this.path,this.flags,this.mode,function(c,d){if(c){r.emit("error",c),r.readable=!1;return}r.fd=d,r.emit("open",d),r._read();});}function n(i,s){if(!(this instanceof n))return new n(i,s);lb.call(this),this.path=i,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,s=s||{};for(var r=Object.keys(s),o=0,a=r.length;o= zero");this.pos=this.start;}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush());}}});var db=R((VW,fb)=>{fb.exports=YI;var JI=Object.getPrototypeOf||function(t){return t.__proto__};function YI(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:JI(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));}),e}});var mt=R((KW,Du)=>{var Ce=H("fs"),XI=cb(),QI=pb(),ZI=db(),ua=H("util"),tt,fa;typeof Symbol=="function"&&typeof Symbol.for=="function"?(tt=Symbol.for("graceful-fs.queue"),fa=Symbol.for("graceful-fs.previous")):(tt="___graceful-fs.queue",fa="___graceful-fs.previous");function eL(){}function gb(t,e){Object.defineProperty(t,tt,{get:function(){return e}});}var bi=eL;ua.debuglog?bi=ua.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(bi=function(){var t=ua.format.apply(ua,arguments);t="GFS4: "+t.split(/\n/).join(` -GFS4: `),console.error(t);});Ce[tt]||(mb=global[tt]||[],gb(Ce,mb),Ce.close=function(t){function e(n,i){return t.call(Ce,n,function(s){s||hb(),typeof i=="function"&&i.apply(this,arguments);})}return Object.defineProperty(e,fa,{value:t}),e}(Ce.close),Ce.closeSync=function(t){function e(n){t.apply(Ce,arguments),hb();}return Object.defineProperty(e,fa,{value:t}),e}(Ce.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){bi(Ce[tt]),H("assert").equal(Ce[tt].length,0);}));var mb;global[tt]||gb(global,Ce[tt]);Du.exports=$u(ZI(Ce));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Ce.__patched&&(Du.exports=$u(Ce),Ce.__patched=!0);function $u(t){XI(t),t.gracefulify=$u,t.createReadStream=q,t.createWriteStream=J;var e=t.readFile;t.readFile=n;function n($,G,T){return typeof G=="function"&&(T=G,G=null),Y($,G,T);function Y(Z,re,k,F){return e(Z,re,function(U){U&&(U.code==="EMFILE"||U.code==="ENFILE")?ur([Y,[Z,re,k],U,F||Date.now(),Date.now()]):typeof k=="function"&&k.apply(this,arguments);})}}var i=t.writeFile;t.writeFile=s;function s($,G,T,Y){return typeof T=="function"&&(Y=T,T=null),Z($,G,T,Y);function Z(re,k,F,U,z){return i(re,k,F,function(ae){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?ur([Z,[re,k,F,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}var r=t.appendFile;r&&(t.appendFile=o);function o($,G,T,Y){return typeof T=="function"&&(Y=T,T=null),Z($,G,T,Y);function Z(re,k,F,U,z){return r(re,k,F,function(ae){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?ur([Z,[re,k,F,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}var a=t.copyFile;a&&(t.copyFile=u);function u($,G,T,Y){return typeof T=="function"&&(Y=T,T=0),Z($,G,T,Y);function Z(re,k,F,U,z){return a(re,k,F,function(ae){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?ur([Z,[re,k,F,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}var f=t.readdir;t.readdir=d;var c=/^v[0-5]\./;function d($,G,T){typeof G=="function"&&(T=G,G=null);var Y=c.test(process.version)?function(k,F,U,z){return f(k,Z(k,F,U,z))}:function(k,F,U,z){return f(k,F,Z(k,F,U,z))};return Y($,G,T);function Z(re,k,F,U){return function(z,ae){z&&(z.code==="EMFILE"||z.code==="ENFILE")?ur([Y,[re,k,F],z,U||Date.now(),Date.now()]):(ae&&ae.sort&&ae.sort(),typeof F=="function"&&F.call(this,z,ae));}}}if(process.version.substr(0,4)==="v0.8"){var g=QI(t);_=g.ReadStream,C=g.WriteStream;}var h=t.ReadStream;h&&(_.prototype=Object.create(h.prototype),_.prototype.open=S);var y=t.WriteStream;y&&(C.prototype=Object.create(y.prototype),C.prototype.open=I),Object.defineProperty(t,"ReadStream",{get:function(){return _},set:function($){_=$;},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return C},set:function($){C=$;},enumerable:!0,configurable:!0});var b=_;Object.defineProperty(t,"FileReadStream",{get:function(){return b},set:function($){b=$;},enumerable:!0,configurable:!0});var A=C;Object.defineProperty(t,"FileWriteStream",{get:function(){return A},set:function($){A=$;},enumerable:!0,configurable:!0});function _($,G){return this instanceof _?(h.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function S(){var $=this;D($.path,$.flags,$.mode,function(G,T){G?($.autoClose&&$.destroy(),$.emit("error",G)):($.fd=T,$.emit("open",T),$.read());});}function C($,G){return this instanceof C?(y.apply(this,arguments),this):C.apply(Object.create(C.prototype),arguments)}function I(){var $=this;D($.path,$.flags,$.mode,function(G,T){G?($.destroy(),$.emit("error",G)):($.fd=T,$.emit("open",T));});}function q($,G){return new t.ReadStream($,G)}function J($,G){return new t.WriteStream($,G)}var W=t.open;t.open=D;function D($,G,T,Y){return typeof T=="function"&&(Y=T,T=null),Z($,G,T,Y);function Z(re,k,F,U,z){return W(re,k,F,function(ae,Le){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?ur([Z,[re,k,F,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}return t}function ur(t){bi("ENQUEUE",t[0].name,t[1]),Ce[tt].push(t),Bu();}var pa;function hb(){for(var t=Date.now(),e=0;e2&&(Ce[tt][e][3]=t,Ce[tt][e][4]=t);Bu();}function Bu(){if(clearTimeout(pa),pa=void 0,Ce[tt].length!==0){var t=Ce[tt].shift(),e=t[0],n=t[1],i=t[2],s=t[3],r=t[4];if(s===void 0)bi("RETRY",e.name,n),e.apply(null,n);else if(Date.now()-s>=6e4){bi("TIMEOUT",e.name,n);var o=n.pop();typeof o=="function"&&o.call(null,i);}else {var a=Date.now()-r,u=Math.max(r-s,1),f=Math.min(u*1.2,100);a>=f?(bi("RETRY",e.name,n),e.apply(null,n.concat([s]))):Ce[tt].push(t);}pa===void 0&&(pa=setTimeout(Bu,0));}}});var wi=R(An=>{var yb=dt().fromCallback,ct=mt(),tL=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(t=>typeof ct[t]=="function");Object.assign(An,ct);tL.forEach(t=>{An[t]=yb(ct[t]);});An.exists=function(t,e){return typeof e=="function"?ct.exists(t,e):new Promise(n=>ct.exists(t,n))};An.read=function(t,e,n,i,s,r){return typeof r=="function"?ct.read(t,e,n,i,s,r):new Promise((o,a)=>{ct.read(t,e,n,i,s,(u,f,c)=>{if(u)return a(u);o({bytesRead:f,buffer:c});});})};An.write=function(t,e,...n){return typeof n[n.length-1]=="function"?ct.write(t,e,...n):new Promise((i,s)=>{ct.write(t,e,...n,(r,o,a)=>{if(r)return s(r);i({bytesWritten:o,buffer:a});});})};An.readv=function(t,e,...n){return typeof n[n.length-1]=="function"?ct.readv(t,e,...n):new Promise((i,s)=>{ct.readv(t,e,...n,(r,o,a)=>{if(r)return s(r);i({bytesRead:o,buffers:a});});})};An.writev=function(t,e,...n){return typeof n[n.length-1]=="function"?ct.writev(t,e,...n):new Promise((i,s)=>{ct.writev(t,e,...n,(r,o,a)=>{if(r)return s(r);i({bytesWritten:o,buffers:a});});})};typeof ct.realpath.native=="function"?An.realpath.native=yb(ct.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003");});var vb=R((YW,xb)=>{var nL=H("path");xb.exports.checkPath=function(e){if(process.platform==="win32"&&/[<>:"|?*]/.test(e.replace(nL.parse(e).root,""))){let i=new Error(`Path contains invalid characters: ${e}`);throw i.code="EINVAL",i}};});var Eb=R((XW,ju)=>{var bb=wi(),{checkPath:wb}=vb(),Sb=t=>{let e={mode:511};return typeof t=="number"?t:{...e,...t}.mode};ju.exports.makeDir=async(t,e)=>(wb(t),bb.mkdir(t,{mode:Sb(e),recursive:!0}));ju.exports.makeDirSync=(t,e)=>(wb(t),bb.mkdirSync(t,{mode:Sb(e),recursive:!0}));});var Vt=R((QW,Ab)=>{var iL=dt().fromPromise,{makeDir:rL,makeDirSync:Nu}=Eb(),Uu=iL(rL);Ab.exports={mkdirs:Uu,mkdirsSync:Nu,mkdirp:Uu,mkdirpSync:Nu,ensureDir:Uu,ensureDirSync:Nu};});var Vn=R((ZW,Rb)=>{var sL=dt().fromPromise,_b=wi();function oL(t){return _b.access(t).then(()=>!0).catch(()=>!1)}Rb.exports={pathExists:sL(oL),pathExistsSync:_b.existsSync};});var Mu=R((e9,Cb)=>{var pr=mt();function aL(t,e,n,i){pr.open(t,"r+",(s,r)=>{if(s)return i(s);pr.futimes(r,e,n,o=>{pr.close(r,a=>{i&&i(o||a);});});});}function cL(t,e,n){let i=pr.openSync(t,"r+");return pr.futimesSync(i,e,n),pr.closeSync(i)}Cb.exports={utimesMillis:aL,utimesMillisSync:cL};});var Si=R((t9,kb)=>{var fr=wi(),ze=H("path"),lL=H("util");function uL(t,e,n){let i=n.dereference?s=>fr.stat(s,{bigint:!0}):s=>fr.lstat(s,{bigint:!0});return Promise.all([i(t),i(e).catch(s=>{if(s.code==="ENOENT")return null;throw s})]).then(([s,r])=>({srcStat:s,destStat:r}))}function pL(t,e,n){let i,s=n.dereference?o=>fr.statSync(o,{bigint:!0}):o=>fr.lstatSync(o,{bigint:!0}),r=s(t);try{i=s(e);}catch(o){if(o.code==="ENOENT")return {srcStat:r,destStat:null};throw o}return {srcStat:r,destStat:i}}function fL(t,e,n,i,s){lL.callbackify(uL)(t,e,i,(r,o)=>{if(r)return s(r);let{srcStat:a,destStat:u}=o;if(u){if(xs(a,u)){let f=ze.basename(t),c=ze.basename(e);return n==="move"&&f!==c&&f.toLowerCase()===c.toLowerCase()?s(null,{srcStat:a,destStat:u,isChangingCase:!0}):s(new Error("Source and destination must not be the same."))}if(a.isDirectory()&&!u.isDirectory())return s(new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`));if(!a.isDirectory()&&u.isDirectory())return s(new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`))}return a.isDirectory()&&zu(t,e)?s(new Error(da(t,e,n))):s(null,{srcStat:a,destStat:u})});}function dL(t,e,n,i){let{srcStat:s,destStat:r}=pL(t,e,i);if(r){if(xs(s,r)){let o=ze.basename(t),a=ze.basename(e);if(n==="move"&&o!==a&&o.toLowerCase()===a.toLowerCase())return {srcStat:s,destStat:r,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!r.isDirectory())throw new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`);if(!s.isDirectory()&&r.isDirectory())throw new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`)}if(s.isDirectory()&&zu(t,e))throw new Error(da(t,e,n));return {srcStat:s,destStat:r}}function Tb(t,e,n,i,s){let r=ze.resolve(ze.dirname(t)),o=ze.resolve(ze.dirname(n));if(o===r||o===ze.parse(o).root)return s();fr.stat(o,{bigint:!0},(a,u)=>a?a.code==="ENOENT"?s():s(a):xs(e,u)?s(new Error(da(t,n,i))):Tb(t,e,o,i,s));}function Ob(t,e,n,i){let s=ze.resolve(ze.dirname(t)),r=ze.resolve(ze.dirname(n));if(r===s||r===ze.parse(r).root)return;let o;try{o=fr.statSync(r,{bigint:!0});}catch(a){if(a.code==="ENOENT")return;throw a}if(xs(e,o))throw new Error(da(t,n,i));return Ob(t,e,r,i)}function xs(t,e){return e.ino&&e.dev&&e.ino===t.ino&&e.dev===t.dev}function zu(t,e){let n=ze.resolve(t).split(ze.sep).filter(s=>s),i=ze.resolve(e).split(ze.sep).filter(s=>s);return n.reduce((s,r,o)=>s&&i[o]===r,!0)}function da(t,e,n){return `Cannot ${n} '${t}' to a subdirectory of itself, '${e}'.`}kb.exports={checkPaths:fL,checkPathsSync:dL,checkParentPaths:Tb,checkParentPathsSync:Ob,isSrcSubdir:zu,areIdentical:xs};});var $b=R((n9,qb)=>{var ht=mt(),vs=H("path"),mL=Vt().mkdirs,hL=Vn().pathExists,gL=Mu().utimesMillis,bs=Si();function yL(t,e,n,i){typeof n=="function"&&!i?(i=n,n={}):typeof n=="function"&&(n={filter:n}),i=i||function(){},n=n||{},n.clobber="clobber"in n?!!n.clobber:!0,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended; +`+r),t.push(s+"m+"+Xo.exports.humanize(this.diff)+"\x1B[0m");}else t[0]=HI()+e+" "+t[0];}function HI(){return et.inspectOpts.hideDate?"":new Date().toISOString()+" "}function WI(...t){return process.stderr.write(Yo.format(...t)+` +`)}function GI(t){t?process.env.DEBUG=t:delete process.env.DEBUG;}function VI(){return process.env.DEBUG}function KI(t){t.inspectOpts={};let e=Object.keys(et.inspectOpts);for(let n=0;ne.trim()).join(" ")};vv.O=function(t){return this.inspectOpts.colors=this.useColors,Yo.inspect(t,this.inspectOpts)};});var wv=R((jH,fu)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?fu.exports=mv():fu.exports=bv();});var Ev=R((NH,Sv)=>{var os;Sv.exports=function(){if(!os){try{os=wv()("follow-redirects");}catch{}typeof os!="function"&&(os=function(){});}os.apply(null,arguments);};});var Pv=R((UH,yu)=>{var hi=H("url"),du=hi.URL,JI=H("http"),YI=H("https"),Rv=H("stream").Writable,Cv=H("assert"),Tv=Ev(),hu=["abort","aborted","connect","error","socket","timeout"],gu=Object.create(null);hu.forEach(function(t){gu[t]=function(e,n,i){this._redirectable.emit(t,e,n,i);};});var XI=cs("ERR_INVALID_URL","Invalid URL",TypeError),Av=cs("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),QI=cs("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),ZI=cs("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),eF=cs("ERR_STREAM_WRITE_AFTER_END","write after end");function Ct(t,e){Rv.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(i){n._processResponse(i);},this._performRequest();}Ct.prototype=Object.create(Rv.prototype);Ct.prototype.abort=function(){kv(this._currentRequest),this.emit("abort");};Ct.prototype.write=function(t,e,n){if(this._ending)throw new eF;if(!gi(t)&&!iF(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(as(e)&&(n=e,e=null),t.length===0){n&&n();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new ZI),this.abort());};Ct.prototype.end=function(t,e,n){if(as(t)?(n=t,t=e=null):as(e)&&(n=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else {var i=this,s=this._currentRequest;this.write(t,e,function(){i._ended=!0,s.end(null,null,n);}),this._ending=!0;}};Ct.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e);};Ct.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t);};Ct.prototype.setTimeout=function(t,e){var n=this;function i(o){o.setTimeout(t),o.removeListener("timeout",o.destroy),o.addListener("timeout",o.destroy);}function s(o){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),r();},t),i(o);}function r(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",r),n.removeListener("error",r),n.removeListener("response",r),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",s);}return e&&this.on("timeout",e),this.socket?s(this.socket):this._currentRequest.once("socket",s),this.on("socket",i),this.on("abort",r),this.on("error",r),this.on("response",r),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){Ct.prototype[t]=function(e,n){return this._currentRequest[t](e,n)};});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(Ct.prototype,t,{get:function(){return this._currentRequest[t]}});});Ct.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e));}};Ct.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e){this.emit("error",new TypeError("Unsupported protocol "+t));return}if(this._options.agents){var n=t.slice(0,-1);this._options.agent=this._options.agents[n];}var i=this._currentRequest=e.request(this._options,this._onNativeResponse);i._redirectable=this;for(var s of hu)i.on(s,gu[s]);if(this._currentUrl=/^\//.test(this._options.path)?hi.format(this._options):this._options.path,this._isRedirect){var r=0,o=this,a=this._requestBodyBuffers;(function u(f){if(i===o._currentRequest)if(f)o.emit("error",f);else if(r=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(kv(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new QI);return}var i,s=this._options.beforeRedirect;s&&(i=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var r=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],mu(/^content-/i,this._options.headers));var o=mu(/^host$/i,this._options.headers),a=hi.parse(this._currentUrl),u=o||a.host,f=/^\w+:/.test(n)?this._currentUrl:hi.format(Object.assign(a,{host:u})),c;try{c=hi.resolve(f,n);}catch(y){this.emit("error",new Av({cause:y}));return}Tv("redirecting to",c),this._isRedirect=!0;var d=hi.parse(c);if(Object.assign(this._options,d),(d.protocol!==a.protocol&&d.protocol!=="https:"||d.host!==u&&!nF(d.host,u))&&mu(/^(?:authorization|cookie)$/i,this._options.headers),as(s)){var g={headers:t.headers,statusCode:e},h={url:f,method:r,headers:i};try{s(this._options,g,h);}catch(y){this.emit("error",y);return}this._sanitizeOptions(this._options);}try{this._performRequest();}catch(y){this.emit("error",new Av({cause:y}));}};function Ov(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach(function(i){var s=i+":",r=n[s]=t[i],o=e[i]=Object.create(r);function a(f,c,d){if(gi(f)){var g;try{g=_v(new du(f));}catch{g=hi.parse(f);}if(!gi(g.protocol))throw new XI({input:f});f=g;}else du&&f instanceof du?f=_v(f):(d=c,c=f,f={protocol:s});return as(c)&&(d=c,c=null),c=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},f,c),c.nativeProtocols=n,!gi(c.host)&&!gi(c.hostname)&&(c.hostname="::1"),Cv.equal(c.protocol,s,"protocol mismatch"),Tv("options",c),new Ct(c,d)}function u(f,c,d){var g=o.request(f,c,d);return g.end(),g}Object.defineProperties(o,{request:{value:a,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}});}),e}function tF(){}function _v(t){var e={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return t.port!==""&&(e.port=Number(t.port)),e}function mu(t,e){var n;for(var i in e)t.test(i)&&(n=e[i],delete e[i]);return n===null||typeof n>"u"?void 0:String(n).trim()}function cs(t,e,n){function i(s){Error.captureStackTrace(this,this.constructor),Object.assign(this,s||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e;}return i.prototype=new(n||Error),i.prototype.constructor=i,i.prototype.name="Error ["+t+"]",i}function kv(t){for(var e of hu)t.removeListener(e,gu[e]);t.on("error",tF),t.abort();}function nF(t,e){Cv(gi(t)&&gi(e));var n=t.length-e.length-1;return n>0&&t[n]==="."&&t.endsWith(e)}function gi(t){return typeof t=="string"||t instanceof String}function as(t){return typeof t=="function"}function iF(t){return typeof t=="object"&&"length"in t}yu.exports=Ov({http:JI,https:YI});yu.exports.wrap=Ov;});var ib={};Tc(ib,{closest:()=>HF,distance:()=>nb});var An,MF,zF,nb,HF,rb=io(()=>{An=new Uint32Array(65536),MF=(t,e)=>{let n=t.length,i=e.length,s=1<{let n=e.length,i=t.length,s=[],r=[],o=Math.ceil(n/32),a=Math.ceil(i/32);for(let y=0;y>>S&1,q=s[S/32|0]>>>S&1,J=C|y,W=((C|q)&b)+b^b|C|q,B=y|~(W|b),$=b&W;B>>>31^F&&(r[S/32|0]^=1<>>31^q&&(s[S/32|0]^=1<>>y&1,_=s[y/32|0]>>>y&1,S=b|f,C=((b|_)&c)+c^c|b|_,F=f|~(C|c),q=c&C;h+=F>>>i-1&1,h-=q>>>i-1&1,F>>>31^A&&(r[y/32|0]^=1<>>31^_&&(s[y/32|0]^=1<{if(t.length{let n=1/0,i=0;for(let s=0;s{(function(){var t;try{t=typeof Intl<"u"&&typeof Intl.Collator<"u"?Intl.Collator("generic",{sensitivity:"base"}):null;}catch{console.log("Collator could not be initialized and wouldn't be used");}var e=(rb(),Oc(ib)),n=[],i=[],s={get:function(r,o,a){var u=a&&t&&a.useCollator;if(u){var f=r.length,c=o.length;if(f===0)return c;if(c===0)return f;var d,g,h,y,b;for(h=0;hb&&(g=b),b=n[y+1]+1,g>b&&(g=b),n[y]=d;n[y]=g;}return g}return e.distance(r,o)}};typeof define<"u"&&define!==null&&define.amd?define(function(){return s}):typeof gs<"u"&&gs!==null&&typeof Iu<"u"&&gs.exports===Iu?gs.exports=s:typeof self<"u"&&typeof self.postMessage=="function"&&typeof self.importScripts=="function"?self.Levenshtein=s:typeof window<"u"&&window!==null&&(window.Levenshtein=s);})();});var xs=io(()=>{});var dt=R(qu=>{qu.fromCallback=function(t){return Object.defineProperty(function(...e){if(typeof e[e.length-1]=="function")t.apply(this,e);else return new Promise((n,i)=>{t.call(this,...e,(s,r)=>s!=null?i(s):n(r));})},"name",{value:t.name})};qu.fromPromise=function(t){return Object.defineProperty(function(...e){let n=e[e.length-1];if(typeof n!="function")return t.apply(this,e);t.apply(this,e.slice(0,-1)).then(i=>n(null,i),n);},"name",{value:t.name})};});var ub=R((KW,lb)=>{var Gn=H("constants"),VF=process.cwd,la=null,KF=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return la||(la=VF.call(process)),la};try{process.cwd();}catch{}typeof process.chdir=="function"&&($u=process.chdir,process.chdir=function(t){la=null,$u.call(process,t);},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,$u));var $u;lb.exports=JF;function JF(t){Gn.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||n(t),t.chown=r(t.chown),t.fchown=r(t.fchown),t.lchown=r(t.lchown),t.chmod=i(t.chmod),t.fchmod=i(t.fchmod),t.lchmod=i(t.lchmod),t.chownSync=o(t.chownSync),t.fchownSync=o(t.fchownSync),t.lchownSync=o(t.lchownSync),t.chmodSync=s(t.chmodSync),t.fchmodSync=s(t.fchmodSync),t.lchmodSync=s(t.lchmodSync),t.stat=a(t.stat),t.fstat=a(t.fstat),t.lstat=a(t.lstat),t.statSync=u(t.statSync),t.fstatSync=u(t.fstatSync),t.lstatSync=u(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(c,d,g){g&&process.nextTick(g);},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(c,d,g,h){h&&process.nextTick(h);},t.lchownSync=function(){}),KF==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:function(c){function d(g,h,y){var b=Date.now(),A=0;c(g,h,function _(S){if(S&&(S.code==="EACCES"||S.code==="EPERM"||S.code==="EBUSY")&&Date.now()-b<6e4){setTimeout(function(){t.stat(h,function(C,F){C&&C.code==="ENOENT"?c(g,h,_):y(S);});},A),A<100&&(A+=10);return}y&&y(S);});}return Object.setPrototypeOf&&Object.setPrototypeOf(d,c),d}(t.rename)),t.read=typeof t.read!="function"?t.read:function(c){function d(g,h,y,b,A,_){var S;if(_&&typeof _=="function"){var C=0;S=function(F,q,J){if(F&&F.code==="EAGAIN"&&C<10)return C++,c.call(t,g,h,y,b,A,S);_.apply(this,arguments);};}return c.call(t,g,h,y,b,A,S)}return Object.setPrototypeOf&&Object.setPrototypeOf(d,c),d}(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:function(c){return function(d,g,h,y,b){for(var A=0;;)try{return c.call(t,d,g,h,y,b)}catch(_){if(_.code==="EAGAIN"&&A<10){A++;continue}throw _}}}(t.readSync);function e(c){c.lchmod=function(d,g,h){c.open(d,Gn.O_WRONLY|Gn.O_SYMLINK,g,function(y,b){if(y){h&&h(y);return}c.fchmod(b,g,function(A){c.close(b,function(_){h&&h(A||_);});});});},c.lchmodSync=function(d,g){var h=c.openSync(d,Gn.O_WRONLY|Gn.O_SYMLINK,g),y=!0,b;try{b=c.fchmodSync(h,g),y=!1;}finally{if(y)try{c.closeSync(h);}catch{}else c.closeSync(h);}return b};}function n(c){Gn.hasOwnProperty("O_SYMLINK")&&c.futimes?(c.lutimes=function(d,g,h,y){c.open(d,Gn.O_SYMLINK,function(b,A){if(b){y&&y(b);return}c.futimes(A,g,h,function(_){c.close(A,function(S){y&&y(_||S);});});});},c.lutimesSync=function(d,g,h){var y=c.openSync(d,Gn.O_SYMLINK),b,A=!0;try{b=c.futimesSync(y,g,h),A=!1;}finally{if(A)try{c.closeSync(y);}catch{}else c.closeSync(y);}return b}):c.futimes&&(c.lutimes=function(d,g,h,y){y&&process.nextTick(y);},c.lutimesSync=function(){});}function i(c){return c&&function(d,g,h){return c.call(t,d,g,function(y){f(y)&&(y=null),h&&h.apply(this,arguments);})}}function s(c){return c&&function(d,g){try{return c.call(t,d,g)}catch(h){if(!f(h))throw h}}}function r(c){return c&&function(d,g,h,y){return c.call(t,d,g,h,function(b){f(b)&&(b=null),y&&y.apply(this,arguments);})}}function o(c){return c&&function(d,g,h){try{return c.call(t,d,g,h)}catch(y){if(!f(y))throw y}}}function a(c){return c&&function(d,g,h){typeof g=="function"&&(h=g,g=null);function y(b,A){A&&(A.uid<0&&(A.uid+=4294967296),A.gid<0&&(A.gid+=4294967296)),h&&h.apply(this,arguments);}return g?c.call(t,d,g,y):c.call(t,d,y)}}function u(c){return c&&function(d,g){var h=g?c.call(t,d,g):c.call(t,d);return h&&(h.uid<0&&(h.uid+=4294967296),h.gid<0&&(h.gid+=4294967296)),h}}function f(c){if(!c||c.code==="ENOSYS")return !0;var d=!process.getuid||process.getuid()!==0;return !!(d&&(c.code==="EINVAL"||c.code==="EPERM"))}}});var db=R((JW,fb)=>{var pb=H("stream").Stream;fb.exports=YF;function YF(t){return {ReadStream:e,WriteStream:n};function e(i,s){if(!(this instanceof e))return new e(i,s);pb.call(this);var r=this;this.path=i,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,s=s||{};for(var o=Object.keys(s),a=0,u=o.length;athis.end)throw new Error("start must be <= end");this.pos=this.start;}if(this.fd!==null){process.nextTick(function(){r._read();});return}t.open(this.path,this.flags,this.mode,function(c,d){if(c){r.emit("error",c),r.readable=!1;return}r.fd=d,r.emit("open",d),r._read();});}function n(i,s){if(!(this instanceof n))return new n(i,s);pb.call(this),this.path=i,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,s=s||{};for(var r=Object.keys(s),o=0,a=r.length;o= zero");this.pos=this.start;}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush());}}});var hb=R((YW,mb)=>{mb.exports=QF;var XF=Object.getPrototypeOf||function(t){return t.__proto__};function QF(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:XF(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));}),e}});var mt=R((XW,ju)=>{var Te=H("fs"),ZF=ub(),eL=db(),tL=hb(),ua=H("util"),nt,fa;typeof Symbol=="function"&&typeof Symbol.for=="function"?(nt=Symbol.for("graceful-fs.queue"),fa=Symbol.for("graceful-fs.previous")):(nt="___graceful-fs.queue",fa="___graceful-fs.previous");function nL(){}function xb(t,e){Object.defineProperty(t,nt,{get:function(){return e}});}var wi=nL;ua.debuglog?wi=ua.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(wi=function(){var t=ua.format.apply(ua,arguments);t="GFS4: "+t.split(/\n/).join(` +GFS4: `),console.error(t);});Te[nt]||(gb=global[nt]||[],xb(Te,gb),Te.close=function(t){function e(n,i){return t.call(Te,n,function(s){s||yb(),typeof i=="function"&&i.apply(this,arguments);})}return Object.defineProperty(e,fa,{value:t}),e}(Te.close),Te.closeSync=function(t){function e(n){t.apply(Te,arguments),yb();}return Object.defineProperty(e,fa,{value:t}),e}(Te.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){wi(Te[nt]),H("assert").equal(Te[nt].length,0);}));var gb;global[nt]||xb(global,Te[nt]);ju.exports=Du(tL(Te));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Te.__patched&&(ju.exports=Du(Te),Te.__patched=!0);function Du(t){ZF(t),t.gracefulify=Du,t.createReadStream=q,t.createWriteStream=J;var e=t.readFile;t.readFile=n;function n($,G,T){return typeof G=="function"&&(T=G,G=null),Y($,G,T);function Y(Z,re,k,I){return e(Z,re,function(U){U&&(U.code==="EMFILE"||U.code==="ENFILE")?pr([Y,[Z,re,k],U,I||Date.now(),Date.now()]):typeof k=="function"&&k.apply(this,arguments);})}}var i=t.writeFile;t.writeFile=s;function s($,G,T,Y){return typeof T=="function"&&(Y=T,T=null),Z($,G,T,Y);function Z(re,k,I,U,z){return i(re,k,I,function(ae){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?pr([Z,[re,k,I,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}var r=t.appendFile;r&&(t.appendFile=o);function o($,G,T,Y){return typeof T=="function"&&(Y=T,T=null),Z($,G,T,Y);function Z(re,k,I,U,z){return r(re,k,I,function(ae){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?pr([Z,[re,k,I,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}var a=t.copyFile;a&&(t.copyFile=u);function u($,G,T,Y){return typeof T=="function"&&(Y=T,T=0),Z($,G,T,Y);function Z(re,k,I,U,z){return a(re,k,I,function(ae){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?pr([Z,[re,k,I,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}var f=t.readdir;t.readdir=d;var c=/^v[0-5]\./;function d($,G,T){typeof G=="function"&&(T=G,G=null);var Y=c.test(process.version)?function(k,I,U,z){return f(k,Z(k,I,U,z))}:function(k,I,U,z){return f(k,I,Z(k,I,U,z))};return Y($,G,T);function Z(re,k,I,U){return function(z,ae){z&&(z.code==="EMFILE"||z.code==="ENFILE")?pr([Y,[re,k,I],z,U||Date.now(),Date.now()]):(ae&&ae.sort&&ae.sort(),typeof I=="function"&&I.call(this,z,ae));}}}if(process.version.substr(0,4)==="v0.8"){var g=eL(t);_=g.ReadStream,C=g.WriteStream;}var h=t.ReadStream;h&&(_.prototype=Object.create(h.prototype),_.prototype.open=S);var y=t.WriteStream;y&&(C.prototype=Object.create(y.prototype),C.prototype.open=F),Object.defineProperty(t,"ReadStream",{get:function(){return _},set:function($){_=$;},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return C},set:function($){C=$;},enumerable:!0,configurable:!0});var b=_;Object.defineProperty(t,"FileReadStream",{get:function(){return b},set:function($){b=$;},enumerable:!0,configurable:!0});var A=C;Object.defineProperty(t,"FileWriteStream",{get:function(){return A},set:function($){A=$;},enumerable:!0,configurable:!0});function _($,G){return this instanceof _?(h.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function S(){var $=this;B($.path,$.flags,$.mode,function(G,T){G?($.autoClose&&$.destroy(),$.emit("error",G)):($.fd=T,$.emit("open",T),$.read());});}function C($,G){return this instanceof C?(y.apply(this,arguments),this):C.apply(Object.create(C.prototype),arguments)}function F(){var $=this;B($.path,$.flags,$.mode,function(G,T){G?($.destroy(),$.emit("error",G)):($.fd=T,$.emit("open",T));});}function q($,G){return new t.ReadStream($,G)}function J($,G){return new t.WriteStream($,G)}var W=t.open;t.open=B;function B($,G,T,Y){return typeof T=="function"&&(Y=T,T=null),Z($,G,T,Y);function Z(re,k,I,U,z){return W(re,k,I,function(ae,De){ae&&(ae.code==="EMFILE"||ae.code==="ENFILE")?pr([Z,[re,k,I,U],ae,z||Date.now(),Date.now()]):typeof U=="function"&&U.apply(this,arguments);})}}return t}function pr(t){wi("ENQUEUE",t[0].name,t[1]),Te[nt].push(t),Bu();}var pa;function yb(){for(var t=Date.now(),e=0;e2&&(Te[nt][e][3]=t,Te[nt][e][4]=t);Bu();}function Bu(){if(clearTimeout(pa),pa=void 0,Te[nt].length!==0){var t=Te[nt].shift(),e=t[0],n=t[1],i=t[2],s=t[3],r=t[4];if(s===void 0)wi("RETRY",e.name,n),e.apply(null,n);else if(Date.now()-s>=6e4){wi("TIMEOUT",e.name,n);var o=n.pop();typeof o=="function"&&o.call(null,i);}else {var a=Date.now()-r,u=Math.max(r-s,1),f=Math.min(u*1.2,100);a>=f?(wi("RETRY",e.name,n),e.apply(null,n.concat([s]))):Te[nt].push(t);}pa===void 0&&(pa=setTimeout(Bu,0));}}});var Si=R(_n=>{var vb=dt().fromCallback,ct=mt(),iL=["access","appendFile","chmod","chown","close","copyFile","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","lchmod","lchown","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","symlink","truncate","unlink","utimes","writeFile"].filter(t=>typeof ct[t]=="function");Object.assign(_n,ct);iL.forEach(t=>{_n[t]=vb(ct[t]);});_n.exists=function(t,e){return typeof e=="function"?ct.exists(t,e):new Promise(n=>ct.exists(t,n))};_n.read=function(t,e,n,i,s,r){return typeof r=="function"?ct.read(t,e,n,i,s,r):new Promise((o,a)=>{ct.read(t,e,n,i,s,(u,f,c)=>{if(u)return a(u);o({bytesRead:f,buffer:c});});})};_n.write=function(t,e,...n){return typeof n[n.length-1]=="function"?ct.write(t,e,...n):new Promise((i,s)=>{ct.write(t,e,...n,(r,o,a)=>{if(r)return s(r);i({bytesWritten:o,buffer:a});});})};_n.readv=function(t,e,...n){return typeof n[n.length-1]=="function"?ct.readv(t,e,...n):new Promise((i,s)=>{ct.readv(t,e,...n,(r,o,a)=>{if(r)return s(r);i({bytesRead:o,buffers:a});});})};_n.writev=function(t,e,...n){return typeof n[n.length-1]=="function"?ct.writev(t,e,...n):new Promise((i,s)=>{ct.writev(t,e,...n,(r,o,a)=>{if(r)return s(r);i({bytesWritten:o,buffers:a});});})};typeof ct.realpath.native=="function"?_n.realpath.native=vb(ct.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003");});var wb=R((ZW,bb)=>{var rL=H("path");bb.exports.checkPath=function(e){if(process.platform==="win32"&&/[<>:"|?*]/.test(e.replace(rL.parse(e).root,""))){let i=new Error(`Path contains invalid characters: ${e}`);throw i.code="EINVAL",i}};});var _b=R((e9,Nu)=>{var Sb=Si(),{checkPath:Eb}=wb(),Ab=t=>{let e={mode:511};return typeof t=="number"?t:{...e,...t}.mode};Nu.exports.makeDir=async(t,e)=>(Eb(t),Sb.mkdir(t,{mode:Ab(e),recursive:!0}));Nu.exports.makeDirSync=(t,e)=>(Eb(t),Sb.mkdirSync(t,{mode:Ab(e),recursive:!0}));});var Vt=R((t9,Rb)=>{var sL=dt().fromPromise,{makeDir:oL,makeDirSync:Uu}=_b(),Mu=sL(oL);Rb.exports={mkdirs:Mu,mkdirsSync:Uu,mkdirp:Mu,mkdirpSync:Uu,ensureDir:Mu,ensureDirSync:Uu};});var Vn=R((n9,Tb)=>{var aL=dt().fromPromise,Cb=Si();function cL(t){return Cb.access(t).then(()=>!0).catch(()=>!1)}Tb.exports={pathExists:aL(cL),pathExistsSync:Cb.existsSync};});var zu=R((i9,Ob)=>{var fr=mt();function lL(t,e,n,i){fr.open(t,"r+",(s,r)=>{if(s)return i(s);fr.futimes(r,e,n,o=>{fr.close(r,a=>{i&&i(o||a);});});});}function uL(t,e,n){let i=fr.openSync(t,"r+");return fr.futimesSync(i,e,n),fr.closeSync(i)}Ob.exports={utimesMillis:lL,utimesMillisSync:uL};});var Ei=R((r9,Ib)=>{var dr=Si(),He=H("path"),pL=H("util");function fL(t,e,n){let i=n.dereference?s=>dr.stat(s,{bigint:!0}):s=>dr.lstat(s,{bigint:!0});return Promise.all([i(t),i(e).catch(s=>{if(s.code==="ENOENT")return null;throw s})]).then(([s,r])=>({srcStat:s,destStat:r}))}function dL(t,e,n){let i,s=n.dereference?o=>dr.statSync(o,{bigint:!0}):o=>dr.lstatSync(o,{bigint:!0}),r=s(t);try{i=s(e);}catch(o){if(o.code==="ENOENT")return {srcStat:r,destStat:null};throw o}return {srcStat:r,destStat:i}}function mL(t,e,n,i,s){pL.callbackify(fL)(t,e,i,(r,o)=>{if(r)return s(r);let{srcStat:a,destStat:u}=o;if(u){if(vs(a,u)){let f=He.basename(t),c=He.basename(e);return n==="move"&&f!==c&&f.toLowerCase()===c.toLowerCase()?s(null,{srcStat:a,destStat:u,isChangingCase:!0}):s(new Error("Source and destination must not be the same."))}if(a.isDirectory()&&!u.isDirectory())return s(new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`));if(!a.isDirectory()&&u.isDirectory())return s(new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`))}return a.isDirectory()&&Hu(t,e)?s(new Error(da(t,e,n))):s(null,{srcStat:a,destStat:u})});}function hL(t,e,n,i){let{srcStat:s,destStat:r}=dL(t,e,i);if(r){if(vs(s,r)){let o=He.basename(t),a=He.basename(e);if(n==="move"&&o!==a&&o.toLowerCase()===a.toLowerCase())return {srcStat:s,destStat:r,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(s.isDirectory()&&!r.isDirectory())throw new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`);if(!s.isDirectory()&&r.isDirectory())throw new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`)}if(s.isDirectory()&&Hu(t,e))throw new Error(da(t,e,n));return {srcStat:s,destStat:r}}function kb(t,e,n,i,s){let r=He.resolve(He.dirname(t)),o=He.resolve(He.dirname(n));if(o===r||o===He.parse(o).root)return s();dr.stat(o,{bigint:!0},(a,u)=>a?a.code==="ENOENT"?s():s(a):vs(e,u)?s(new Error(da(t,n,i))):kb(t,e,o,i,s));}function Pb(t,e,n,i){let s=He.resolve(He.dirname(t)),r=He.resolve(He.dirname(n));if(r===s||r===He.parse(r).root)return;let o;try{o=dr.statSync(r,{bigint:!0});}catch(a){if(a.code==="ENOENT")return;throw a}if(vs(e,o))throw new Error(da(t,n,i));return Pb(t,e,r,i)}function vs(t,e){return e.ino&&e.dev&&e.ino===t.ino&&e.dev===t.dev}function Hu(t,e){let n=He.resolve(t).split(He.sep).filter(s=>s),i=He.resolve(e).split(He.sep).filter(s=>s);return n.reduce((s,r,o)=>s&&i[o]===r,!0)}function da(t,e,n){return `Cannot ${n} '${t}' to a subdirectory of itself, '${e}'.`}Ib.exports={checkPaths:mL,checkPathsSync:hL,checkParentPaths:kb,checkParentPathsSync:Pb,isSrcSubdir:Hu,areIdentical:vs};});var Bb=R((s9,Db)=>{var ht=mt(),bs=H("path"),gL=Vt().mkdirs,yL=Vn().pathExists,xL=zu().utimesMillis,ws=Ei();function vL(t,e,n,i){typeof n=="function"&&!i?(i=n,n={}):typeof n=="function"&&(n={filter:n}),i=i||function(){},n=n||{},n.clobber="clobber"in n?!!n.clobber:!0,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended; - see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001"),bs.checkPaths(t,e,"copy",n,(s,r)=>{if(s)return i(s);let{srcStat:o,destStat:a}=r;bs.checkParentPaths(t,o,e,"copy",u=>{if(u)return i(u);Fb(t,e,n,(f,c)=>{if(f)return i(f);if(!c)return i();xL(a,t,e,n,i);});});});}function xL(t,e,n,i,s){let r=vs.dirname(n);hL(r,(o,a)=>{if(o)return s(o);if(a)return Hu(t,e,n,i,s);mL(r,u=>u?s(u):Hu(t,e,n,i,s));});}function Fb(t,e,n,i){if(!n.filter)return i(null,!0);Promise.resolve(n.filter(t,e)).then(s=>i(null,s),s=>i(s));}function Hu(t,e,n,i,s){(i.dereference?ht.stat:ht.lstat)(e,(o,a)=>o?s(o):a.isDirectory()?_L(a,t,e,n,i,s):a.isFile()||a.isCharacterDevice()||a.isBlockDevice()?vL(a,t,e,n,i,s):a.isSymbolicLink()?TL(t,e,n,i,s):a.isSocket()?s(new Error(`Cannot copy a socket file: ${e}`)):a.isFIFO()?s(new Error(`Cannot copy a FIFO pipe: ${e}`)):s(new Error(`Unknown file: ${e}`)));}function vL(t,e,n,i,s,r){return e?bL(t,n,i,s,r):Ib(t,n,i,s,r)}function bL(t,e,n,i,s){if(i.overwrite)ht.unlink(n,r=>r?s(r):Ib(t,e,n,i,s));else return i.errorOnExist?s(new Error(`'${n}' already exists`)):s()}function Ib(t,e,n,i,s){ht.copyFile(e,n,r=>r?s(r):i.preserveTimestamps?wL(t.mode,e,n,s):ma(n,t.mode,s));}function wL(t,e,n,i){return SL(t)?EL(n,t,s=>s?i(s):Pb(t,e,n,i)):Pb(t,e,n,i)}function SL(t){return (t&128)===0}function EL(t,e,n){return ma(t,e|128,n)}function Pb(t,e,n,i){AL(e,n,s=>s?i(s):ma(n,t,i));}function ma(t,e,n){return ht.chmod(t,e,n)}function AL(t,e,n){ht.stat(t,(i,s)=>i?n(i):gL(e,s.atime,s.mtime,n));}function _L(t,e,n,i,s,r){return e?Lb(n,i,s,r):RL(t.mode,n,i,s,r)}function RL(t,e,n,i,s){ht.mkdir(n,r=>{if(r)return s(r);Lb(e,n,i,o=>o?s(o):ma(n,t,s));});}function Lb(t,e,n,i){ht.readdir(t,(s,r)=>s?i(s):Wu(r,t,e,n,i));}function Wu(t,e,n,i,s){let r=t.pop();return r?CL(t,r,e,n,i,s):s()}function CL(t,e,n,i,s,r){let o=vs.join(n,e),a=vs.join(i,e);Fb(o,a,s,(u,f)=>{if(u)return r(u);if(!f)return Wu(t,n,i,s,r);bs.checkPaths(o,a,"copy",s,(c,d)=>{if(c)return r(c);let{destStat:g}=d;Hu(g,o,a,s,h=>h?r(h):Wu(t,n,i,s,r));});});}function TL(t,e,n,i,s){ht.readlink(e,(r,o)=>{if(r)return s(r);if(i.dereference&&(o=vs.resolve(process.cwd(),o)),t)ht.readlink(n,(a,u)=>a?a.code==="EINVAL"||a.code==="UNKNOWN"?ht.symlink(o,n,s):s(a):(i.dereference&&(u=vs.resolve(process.cwd(),u)),bs.isSrcSubdir(o,u)?s(new Error(`Cannot copy '${o}' to a subdirectory of itself, '${u}'.`)):bs.isSrcSubdir(u,o)?s(new Error(`Cannot overwrite '${u}' with '${o}'.`)):OL(o,n,s)));else return ht.symlink(o,n,s)});}function OL(t,e,n){ht.unlink(e,i=>i?n(i):ht.symlink(t,e,n));}qb.exports=yL;});var Ub=R((i9,Nb)=>{var lt=mt(),ws=H("path"),kL=Vt().mkdirsSync,PL=Mu().utimesMillisSync,Ss=Si();function FL(t,e,n){typeof n=="function"&&(n={filter:n}),n=n||{},n.clobber="clobber"in n?!!n.clobber:!0,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended; + see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001"),ws.checkPaths(t,e,"copy",n,(s,r)=>{if(s)return i(s);let{srcStat:o,destStat:a}=r;ws.checkParentPaths(t,o,e,"copy",u=>{if(u)return i(u);Lb(t,e,n,(f,c)=>{if(f)return i(f);if(!c)return i();bL(a,t,e,n,i);});});});}function bL(t,e,n,i,s){let r=bs.dirname(n);yL(r,(o,a)=>{if(o)return s(o);if(a)return Wu(t,e,n,i,s);gL(r,u=>u?s(u):Wu(t,e,n,i,s));});}function Lb(t,e,n,i){if(!n.filter)return i(null,!0);Promise.resolve(n.filter(t,e)).then(s=>i(null,s),s=>i(s));}function Wu(t,e,n,i,s){(i.dereference?ht.stat:ht.lstat)(e,(o,a)=>o?s(o):a.isDirectory()?CL(a,t,e,n,i,s):a.isFile()||a.isCharacterDevice()||a.isBlockDevice()?wL(a,t,e,n,i,s):a.isSymbolicLink()?kL(t,e,n,i,s):a.isSocket()?s(new Error(`Cannot copy a socket file: ${e}`)):a.isFIFO()?s(new Error(`Cannot copy a FIFO pipe: ${e}`)):s(new Error(`Unknown file: ${e}`)));}function wL(t,e,n,i,s,r){return e?SL(t,n,i,s,r):qb(t,n,i,s,r)}function SL(t,e,n,i,s){if(i.overwrite)ht.unlink(n,r=>r?s(r):qb(t,e,n,i,s));else return i.errorOnExist?s(new Error(`'${n}' already exists`)):s()}function qb(t,e,n,i,s){ht.copyFile(e,n,r=>r?s(r):i.preserveTimestamps?EL(t.mode,e,n,s):ma(n,t.mode,s));}function EL(t,e,n,i){return AL(t)?_L(n,t,s=>s?i(s):Fb(t,e,n,i)):Fb(t,e,n,i)}function AL(t){return (t&128)===0}function _L(t,e,n){return ma(t,e|128,n)}function Fb(t,e,n,i){RL(e,n,s=>s?i(s):ma(n,t,i));}function ma(t,e,n){return ht.chmod(t,e,n)}function RL(t,e,n){ht.stat(t,(i,s)=>i?n(i):xL(e,s.atime,s.mtime,n));}function CL(t,e,n,i,s,r){return e?$b(n,i,s,r):TL(t.mode,n,i,s,r)}function TL(t,e,n,i,s){ht.mkdir(n,r=>{if(r)return s(r);$b(e,n,i,o=>o?s(o):ma(n,t,s));});}function $b(t,e,n,i){ht.readdir(t,(s,r)=>s?i(s):Gu(r,t,e,n,i));}function Gu(t,e,n,i,s){let r=t.pop();return r?OL(t,r,e,n,i,s):s()}function OL(t,e,n,i,s,r){let o=bs.join(n,e),a=bs.join(i,e);Lb(o,a,s,(u,f)=>{if(u)return r(u);if(!f)return Gu(t,n,i,s,r);ws.checkPaths(o,a,"copy",s,(c,d)=>{if(c)return r(c);let{destStat:g}=d;Wu(g,o,a,s,h=>h?r(h):Gu(t,n,i,s,r));});});}function kL(t,e,n,i,s){ht.readlink(e,(r,o)=>{if(r)return s(r);if(i.dereference&&(o=bs.resolve(process.cwd(),o)),t)ht.readlink(n,(a,u)=>a?a.code==="EINVAL"||a.code==="UNKNOWN"?ht.symlink(o,n,s):s(a):(i.dereference&&(u=bs.resolve(process.cwd(),u)),ws.isSrcSubdir(o,u)?s(new Error(`Cannot copy '${o}' to a subdirectory of itself, '${u}'.`)):ws.isSrcSubdir(u,o)?s(new Error(`Cannot overwrite '${u}' with '${o}'.`)):PL(o,n,s)));else return ht.symlink(o,n,s)});}function PL(t,e,n){ht.unlink(e,i=>i?n(i):ht.symlink(t,e,n));}Db.exports=vL;});var zb=R((o9,Mb)=>{var lt=mt(),Ss=H("path"),IL=Vt().mkdirsSync,FL=zu().utimesMillisSync,Es=Ei();function LL(t,e,n){typeof n=="function"&&(n={filter:n}),n=n||{},n.clobber="clobber"in n?!!n.clobber:!0,n.overwrite="overwrite"in n?!!n.overwrite:n.clobber,n.preserveTimestamps&&process.arch==="ia32"&&process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended; - see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat:i,destStat:s}=Ss.checkPathsSync(t,e,"copy",n);if(Ss.checkParentPathsSync(t,i,e,"copy"),n.filter&&!n.filter(t,e))return;let r=ws.dirname(e);return lt.existsSync(r)||kL(r),Bb(s,t,e,n)}function Bb(t,e,n,i){let r=(i.dereference?lt.statSync:lt.lstatSync)(e);if(r.isDirectory())return jL(r,t,e,n,i);if(r.isFile()||r.isCharacterDevice()||r.isBlockDevice())return IL(r,t,e,n,i);if(r.isSymbolicLink())return ML(t,e,n,i);throw r.isSocket()?new Error(`Cannot copy a socket file: ${e}`):r.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${e}`):new Error(`Unknown file: ${e}`)}function IL(t,e,n,i,s){return e?LL(t,n,i,s):Db(t,n,i,s)}function LL(t,e,n,i){if(i.overwrite)return lt.unlinkSync(n),Db(t,e,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}function Db(t,e,n,i){return lt.copyFileSync(e,n),i.preserveTimestamps&&qL(t.mode,e,n),Gu(n,t.mode)}function qL(t,e,n){return $L(t)&&BL(n,t),DL(e,n)}function $L(t){return (t&128)===0}function BL(t,e){return Gu(t,e|128)}function Gu(t,e){return lt.chmodSync(t,e)}function DL(t,e){let n=lt.statSync(t);return PL(e,n.atime,n.mtime)}function jL(t,e,n,i,s){return e?jb(n,i,s):NL(t.mode,n,i,s)}function NL(t,e,n,i){return lt.mkdirSync(n),jb(e,n,i),Gu(n,t)}function jb(t,e,n){lt.readdirSync(t).forEach(i=>UL(i,t,e,n));}function UL(t,e,n,i){let s=ws.join(e,t),r=ws.join(n,t);if(i.filter&&!i.filter(s,r))return;let{destStat:o}=Ss.checkPathsSync(s,r,"copy",i);return Bb(o,s,r,i)}function ML(t,e,n,i){let s=lt.readlinkSync(e);if(i.dereference&&(s=ws.resolve(process.cwd(),s)),t){let r;try{r=lt.readlinkSync(n);}catch(o){if(o.code==="EINVAL"||o.code==="UNKNOWN")return lt.symlinkSync(s,n);throw o}if(i.dereference&&(r=ws.resolve(process.cwd(),r)),Ss.isSrcSubdir(s,r))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${r}'.`);if(Ss.isSrcSubdir(r,s))throw new Error(`Cannot overwrite '${r}' with '${s}'.`);return zL(s,n)}else return lt.symlinkSync(s,n)}function zL(t,e){return lt.unlinkSync(e),lt.symlinkSync(t,e)}Nb.exports=FL;});var ha=R((r9,Mb)=>{var HL=dt().fromCallback;Mb.exports={copy:HL($b()),copySync:Ub()};});var Es=R((s9,Hb)=>{var zb=mt(),WL=dt().fromCallback;function GL(t,e){zb.rm(t,{recursive:!0,force:!0},e);}function VL(t){zb.rmSync(t,{recursive:!0,force:!0});}Hb.exports={remove:WL(GL),removeSync:VL};});var Qb=R((o9,Xb)=>{var KL=dt().fromPromise,Vb=wi(),Kb=H("path"),Jb=Vt(),Yb=Es(),Wb=KL(async function(e){let n;try{n=await Vb.readdir(e);}catch{return Jb.mkdirs(e)}return Promise.all(n.map(i=>Yb.remove(Kb.join(e,i))))});function Gb(t){let e;try{e=Vb.readdirSync(t);}catch{return Jb.mkdirsSync(t)}e.forEach(n=>{n=Kb.join(t,n),Yb.removeSync(n);});}Xb.exports={emptyDirSync:Gb,emptydirSync:Gb,emptyDir:Wb,emptydir:Wb};});var nw=R((a9,tw)=>{var JL=dt().fromCallback,Zb=H("path"),Kn=mt(),ew=Vt();function YL(t,e){function n(){Kn.writeFile(t,"",i=>{if(i)return e(i);e();});}Kn.stat(t,(i,s)=>{if(!i&&s.isFile())return e();let r=Zb.dirname(t);Kn.stat(r,(o,a)=>{if(o)return o.code==="ENOENT"?ew.mkdirs(r,u=>{if(u)return e(u);n();}):e(o);a.isDirectory()?n():Kn.readdir(r,u=>{if(u)return e(u)});});});}function XL(t){let e;try{e=Kn.statSync(t);}catch{}if(e&&e.isFile())return;let n=Zb.dirname(t);try{Kn.statSync(n).isDirectory()||Kn.readdirSync(n);}catch(i){if(i&&i.code==="ENOENT")ew.mkdirsSync(n);else throw i}Kn.writeFileSync(t,"");}tw.exports={createFile:JL(YL),createFileSync:XL};});var aw=R((c9,ow)=>{var QL=dt().fromCallback,iw=H("path"),Jn=mt(),rw=Vt(),ZL=Vn().pathExists,{areIdentical:sw}=Si();function eq(t,e,n){function i(s,r){Jn.link(s,r,o=>{if(o)return n(o);n(null);});}Jn.lstat(e,(s,r)=>{Jn.lstat(t,(o,a)=>{if(o)return o.message=o.message.replace("lstat","ensureLink"),n(o);if(r&&sw(a,r))return n(null);let u=iw.dirname(e);ZL(u,(f,c)=>{if(f)return n(f);if(c)return i(t,e);rw.mkdirs(u,d=>{if(d)return n(d);i(t,e);});});});});}function tq(t,e){let n;try{n=Jn.lstatSync(e);}catch{}try{let r=Jn.lstatSync(t);if(n&&sw(r,n))return}catch(r){throw r.message=r.message.replace("lstat","ensureLink"),r}let i=iw.dirname(e);return Jn.existsSync(i)||rw.mkdirsSync(i),Jn.linkSync(t,e)}ow.exports={createLink:QL(eq),createLinkSync:tq};});var lw=R((l9,cw)=>{var Yn=H("path"),As=mt(),nq=Vn().pathExists;function iq(t,e,n){if(Yn.isAbsolute(t))return As.lstat(t,i=>i?(i.message=i.message.replace("lstat","ensureSymlink"),n(i)):n(null,{toCwd:t,toDst:t}));{let i=Yn.dirname(e),s=Yn.join(i,t);return nq(s,(r,o)=>r?n(r):o?n(null,{toCwd:s,toDst:t}):As.lstat(t,a=>a?(a.message=a.message.replace("lstat","ensureSymlink"),n(a)):n(null,{toCwd:t,toDst:Yn.relative(i,t)})))}}function rq(t,e){let n;if(Yn.isAbsolute(t)){if(n=As.existsSync(t),!n)throw new Error("absolute srcpath does not exist");return {toCwd:t,toDst:t}}else {let i=Yn.dirname(e),s=Yn.join(i,t);if(n=As.existsSync(s),n)return {toCwd:s,toDst:t};if(n=As.existsSync(t),!n)throw new Error("relative srcpath does not exist");return {toCwd:t,toDst:Yn.relative(i,t)}}}cw.exports={symlinkPaths:iq,symlinkPathsSync:rq};});var fw=R((u9,pw)=>{var uw=mt();function sq(t,e,n){if(n=typeof e=="function"?e:n,e=typeof e=="function"?!1:e,e)return n(null,e);uw.lstat(t,(i,s)=>{if(i)return n(null,"file");e=s&&s.isDirectory()?"dir":"file",n(null,e);});}function oq(t,e){let n;if(e)return e;try{n=uw.lstatSync(t);}catch{return "file"}return n&&n.isDirectory()?"dir":"file"}pw.exports={symlinkType:sq,symlinkTypeSync:oq};});var bw=R((p9,vw)=>{var aq=dt().fromCallback,mw=H("path"),Kt=wi(),hw=Vt(),cq=hw.mkdirs,lq=hw.mkdirsSync,gw=lw(),uq=gw.symlinkPaths,pq=gw.symlinkPathsSync,yw=fw(),fq=yw.symlinkType,dq=yw.symlinkTypeSync,mq=Vn().pathExists,{areIdentical:xw}=Si();function hq(t,e,n,i){i=typeof n=="function"?n:i,n=typeof n=="function"?!1:n,Kt.lstat(e,(s,r)=>{!s&&r.isSymbolicLink()?Promise.all([Kt.stat(t),Kt.stat(e)]).then(([o,a])=>{if(xw(o,a))return i(null);dw(t,e,n,i);}):dw(t,e,n,i);});}function dw(t,e,n,i){uq(t,e,(s,r)=>{if(s)return i(s);t=r.toDst,fq(r.toCwd,n,(o,a)=>{if(o)return i(o);let u=mw.dirname(e);mq(u,(f,c)=>{if(f)return i(f);if(c)return Kt.symlink(t,e,a,i);cq(u,d=>{if(d)return i(d);Kt.symlink(t,e,a,i);});});});});}function gq(t,e,n){let i;try{i=Kt.lstatSync(e);}catch{}if(i&&i.isSymbolicLink()){let a=Kt.statSync(t),u=Kt.statSync(e);if(xw(a,u))return}let s=pq(t,e);t=s.toDst,n=dq(s.toCwd,n);let r=mw.dirname(e);return Kt.existsSync(r)||lq(r),Kt.symlinkSync(t,e,n)}vw.exports={createSymlink:aq(hq),createSymlinkSync:gq};});var Tw=R((f9,Cw)=>{var{createFile:ww,createFileSync:Sw}=nw(),{createLink:Ew,createLinkSync:Aw}=aw(),{createSymlink:_w,createSymlinkSync:Rw}=bw();Cw.exports={createFile:ww,createFileSync:Sw,ensureFile:ww,ensureFileSync:Sw,createLink:Ew,createLinkSync:Aw,ensureLink:Ew,ensureLinkSync:Aw,createSymlink:_w,createSymlinkSync:Rw,ensureSymlink:_w,ensureSymlinkSync:Rw};});var ga=R((d9,Ow)=>{function yq(t,{EOL:e=` -`,finalEOL:n=!0,replacer:i=null,spaces:s}={}){let r=n?e:"";return JSON.stringify(t,i,s).replace(/\n/g,e)+r}function xq(t){return Buffer.isBuffer(t)&&(t=t.toString("utf8")),t.replace(/^\uFEFF/,"")}Ow.exports={stringify:yq,stripBom:xq};});var Iw=R((m9,Fw)=>{var dr;try{dr=mt();}catch{dr=H("fs");}var ya=dt(),{stringify:kw,stripBom:Pw}=ga();async function vq(t,e={}){typeof e=="string"&&(e={encoding:e});let n=e.fs||dr,i="throws"in e?e.throws:!0,s=await ya.fromCallback(n.readFile)(t,e);s=Pw(s);let r;try{r=JSON.parse(s,e?e.reviver:null);}catch(o){if(i)throw o.message=`${t}: ${o.message}`,o;return null}return r}var bq=ya.fromPromise(vq);function wq(t,e={}){typeof e=="string"&&(e={encoding:e});let n=e.fs||dr,i="throws"in e?e.throws:!0;try{let s=n.readFileSync(t,e);return s=Pw(s),JSON.parse(s,e.reviver)}catch(s){if(i)throw s.message=`${t}: ${s.message}`,s;return null}}async function Sq(t,e,n={}){let i=n.fs||dr,s=kw(e,n);await ya.fromCallback(i.writeFile)(t,s,n);}var Eq=ya.fromPromise(Sq);function Aq(t,e,n={}){let i=n.fs||dr,s=kw(e,n);return i.writeFileSync(t,s,n)}var _q={readFile:bq,readFileSync:wq,writeFile:Eq,writeFileSync:Aq};Fw.exports=_q;});var qw=R((h9,Lw)=>{var xa=Iw();Lw.exports={readJson:xa.readFile,readJsonSync:xa.readFileSync,writeJson:xa.writeFile,writeJsonSync:xa.writeFileSync};});var va=R((g9,Dw)=>{var Rq=dt().fromCallback,_s=mt(),$w=H("path"),Bw=Vt(),Cq=Vn().pathExists;function Tq(t,e,n,i){typeof n=="function"&&(i=n,n="utf8");let s=$w.dirname(t);Cq(s,(r,o)=>{if(r)return i(r);if(o)return _s.writeFile(t,e,n,i);Bw.mkdirs(s,a=>{if(a)return i(a);_s.writeFile(t,e,n,i);});});}function Oq(t,...e){let n=$w.dirname(t);if(_s.existsSync(n))return _s.writeFileSync(t,...e);Bw.mkdirsSync(n),_s.writeFileSync(t,...e);}Dw.exports={outputFile:Rq(Tq),outputFileSync:Oq};});var Nw=R((y9,jw)=>{var{stringify:kq}=ga(),{outputFile:Pq}=va();async function Fq(t,e,n={}){let i=kq(e,n);await Pq(t,i,n);}jw.exports=Fq;});var Mw=R((x9,Uw)=>{var{stringify:Iq}=ga(),{outputFileSync:Lq}=va();function qq(t,e,n){let i=Iq(e,n);Lq(t,i,n);}Uw.exports=qq;});var Hw=R((v9,zw)=>{var $q=dt().fromPromise,ut=qw();ut.outputJson=$q(Nw());ut.outputJsonSync=Mw();ut.outputJSON=ut.outputJson;ut.outputJSONSync=ut.outputJsonSync;ut.writeJSON=ut.writeJson;ut.writeJSONSync=ut.writeJsonSync;ut.readJSON=ut.readJson;ut.readJSONSync=ut.readJsonSync;zw.exports=ut;});var Jw=R((b9,Kw)=>{var Bq=mt(),Ku=H("path"),Dq=ha().copy,Vw=Es().remove,jq=Vt().mkdirp,Nq=Vn().pathExists,Ww=Si();function Uq(t,e,n,i){typeof n=="function"&&(i=n,n={}),n=n||{};let s=n.overwrite||n.clobber||!1;Ww.checkPaths(t,e,"move",n,(r,o)=>{if(r)return i(r);let{srcStat:a,isChangingCase:u=!1}=o;Ww.checkParentPaths(t,a,e,"move",f=>{if(f)return i(f);if(Mq(e))return Gw(t,e,s,u,i);jq(Ku.dirname(e),c=>c?i(c):Gw(t,e,s,u,i));});});}function Mq(t){let e=Ku.dirname(t);return Ku.parse(e).root===e}function Gw(t,e,n,i,s){if(i)return Vu(t,e,n,s);if(n)return Vw(e,r=>r?s(r):Vu(t,e,n,s));Nq(e,(r,o)=>r?s(r):o?s(new Error("dest already exists.")):Vu(t,e,n,s));}function Vu(t,e,n,i){Bq.rename(t,e,s=>s?s.code!=="EXDEV"?i(s):zq(t,e,n,i):i());}function zq(t,e,n,i){Dq(t,e,{overwrite:n,errorOnExist:!0,preserveTimestamps:!0},r=>r?i(r):Vw(t,i));}Kw.exports=Uq;});var e0=R((w9,Zw)=>{var Xw=mt(),Yu=H("path"),Hq=ha().copySync,Qw=Es().removeSync,Wq=Vt().mkdirpSync,Yw=Si();function Gq(t,e,n){n=n||{};let i=n.overwrite||n.clobber||!1,{srcStat:s,isChangingCase:r=!1}=Yw.checkPathsSync(t,e,"move",n);return Yw.checkParentPathsSync(t,s,e,"move"),Vq(e)||Wq(Yu.dirname(e)),Kq(t,e,i,r)}function Vq(t){let e=Yu.dirname(t);return Yu.parse(e).root===e}function Kq(t,e,n,i){if(i)return Ju(t,e,n);if(n)return Qw(e),Ju(t,e,n);if(Xw.existsSync(e))throw new Error("dest already exists.");return Ju(t,e,n)}function Ju(t,e,n){try{Xw.renameSync(t,e);}catch(i){if(i.code!=="EXDEV")throw i;return Jq(t,e,n)}}function Jq(t,e,n){return Hq(t,e,{overwrite:n,errorOnExist:!0,preserveTimestamps:!0}),Qw(t)}Zw.exports=Gq;});var n0=R((S9,t0)=>{var Yq=dt().fromCallback;t0.exports={move:Yq(Jw()),moveSync:e0()};});var Xu=R((E9,i0)=>{i0.exports={...wi(),...ha(),...Qb(),...Tw(),...Hw(),...Vt(),...n0(),...va(),...Vn(),...Es()};});var Zu=R((R9,o0)=>{var Rs=t=>t&&typeof t.message=="string",Qu=t=>{if(!t)return;let e=t.cause;if(typeof e=="function"){let n=t.cause();return Rs(n)?n:void 0}else return Rs(e)?e:void 0},r0=(t,e)=>{if(!Rs(t))return "";let n=t.stack||"";if(e.has(t))return n+` -causes have become circular...`;let i=Qu(t);return i?(e.add(t),n+` -caused by: `+r0(i,e)):n},Xq=t=>r0(t,new Set),s0=(t,e,n)=>{if(!Rs(t))return "";let i=n?"":t.message||"";if(e.has(t))return i+": ...";let s=Qu(t);if(s){e.add(t);let r=typeof t.cause=="function";return i+(r?"":": ")+s0(s,e,r)}else return i},Qq=t=>s0(t,new Set);o0.exports={isErrorLike:Rs,getErrorCause:Qu,stackWithCauses:Xq,messageWithCauses:Qq};});var ep=R((C9,c0)=>{var Zq=Symbol("circular-ref-tag"),wa=Symbol("pino-raw-err-ref"),a0=Object.create({},{type:{enumerable:!0,writable:!0,value:void 0},message:{enumerable:!0,writable:!0,value:void 0},stack:{enumerable:!0,writable:!0,value:void 0},aggregateErrors:{enumerable:!0,writable:!0,value:void 0},raw:{enumerable:!1,get:function(){return this[wa]},set:function(t){this[wa]=t;}}});Object.defineProperty(a0,wa,{writable:!0,value:{}});c0.exports={pinoErrProto:a0,pinoErrorSymbols:{seen:Zq,rawSymbol:wa}};});var p0=R((T9,u0)=>{u0.exports=np;var{messageWithCauses:e2,stackWithCauses:t2,isErrorLike:l0}=Zu(),{pinoErrProto:n2,pinoErrorSymbols:i2}=ep(),{seen:tp}=i2,{toString:r2}=Object.prototype;function np(t){if(!l0(t))return t;t[tp]=void 0;let e=Object.create(n2);e.type=r2.call(t.constructor)==="[object Function]"?t.constructor.name:t.name,e.message=e2(t),e.stack=t2(t),Array.isArray(t.errors)&&(e.aggregateErrors=t.errors.map(n=>np(n)));for(let n in t)if(e[n]===void 0){let i=t[n];l0(i)?n!=="cause"&&!Object.prototype.hasOwnProperty.call(i,tp)&&(e[n]=np(i)):e[n]=i;}return delete t[tp],e.raw=t,e}});var d0=R((O9,f0)=>{f0.exports=Ea;var{isErrorLike:ip}=Zu(),{pinoErrProto:s2,pinoErrorSymbols:o2}=ep(),{seen:Sa}=o2,{toString:a2}=Object.prototype;function Ea(t){if(!ip(t))return t;t[Sa]=void 0;let e=Object.create(s2);e.type=a2.call(t.constructor)==="[object Function]"?t.constructor.name:t.name,e.message=t.message,e.stack=t.stack,Array.isArray(t.errors)&&(e.aggregateErrors=t.errors.map(n=>Ea(n))),ip(t.cause)&&!Object.prototype.hasOwnProperty.call(t.cause,Sa)&&(e.cause=Ea(t.cause));for(let n in t)if(e[n]===void 0){let i=t[n];ip(i)?Object.prototype.hasOwnProperty.call(i,Sa)||(e[n]=Ea(i)):e[n]=i;}return delete t[Sa],e.raw=t,e}});var y0=R((k9,g0)=>{g0.exports={mapHttpRequest:c2,reqSerializer:h0};var rp=Symbol("pino-raw-req-ref"),m0=Object.create({},{id:{enumerable:!0,writable:!0,value:""},method:{enumerable:!0,writable:!0,value:""},url:{enumerable:!0,writable:!0,value:""},query:{enumerable:!0,writable:!0,value:""},params:{enumerable:!0,writable:!0,value:""},headers:{enumerable:!0,writable:!0,value:{}},remoteAddress:{enumerable:!0,writable:!0,value:""},remotePort:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[rp]},set:function(t){this[rp]=t;}}});Object.defineProperty(m0,rp,{writable:!0,value:{}});function h0(t){let e=t.info||t.socket,n=Object.create(m0);if(n.id=typeof t.id=="function"?t.id():t.id||(t.info?t.info.id:void 0),n.method=t.method,t.originalUrl)n.url=t.originalUrl;else {let i=t.path;n.url=typeof i=="string"?i:t.url?t.url.path||t.url:void 0;}return t.query&&(n.query=t.query),t.params&&(n.params=t.params),n.headers=t.headers,n.remoteAddress=e&&e.remoteAddress,n.remotePort=e&&e.remotePort,n.raw=t.raw||t,n}function c2(t){return {req:h0(t)}}});var w0=R((P9,b0)=>{b0.exports={mapHttpResponse:l2,resSerializer:v0};var sp=Symbol("pino-raw-res-ref"),x0=Object.create({},{statusCode:{enumerable:!0,writable:!0,value:0},headers:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[sp]},set:function(t){this[sp]=t;}}});Object.defineProperty(x0,sp,{writable:!0,value:{}});function v0(t){let e=Object.create(x0);return e.statusCode=t.headersSent?t.statusCode:null,e.headers=t.getHeaders?t.getHeaders():t._headers,e.raw=t,e}function l2(t){return {res:v0(t)}}});var ap=R((F9,S0)=>{var op=p0(),u2=d0(),Aa=y0(),_a=w0();S0.exports={err:op,errWithCause:u2,mapHttpRequest:Aa.mapHttpRequest,mapHttpResponse:_a.mapHttpResponse,req:Aa.reqSerializer,res:_a.resSerializer,wrapErrorSerializer:function(e){return e===op?e:function(i){return e(op(i))}},wrapRequestSerializer:function(e){return e===Aa.reqSerializer?e:function(i){return e(Aa.reqSerializer(i))}},wrapResponseSerializer:function(e){return e===_a.resSerializer?e:function(i){return e(_a.resSerializer(i))}}};});var cp=R((I9,E0)=>{function p2(t,e){return e}E0.exports=function(){let e=Error.prepareStackTrace;Error.prepareStackTrace=p2;let n=new Error().stack;if(Error.prepareStackTrace=e,!Array.isArray(n))return;let i=n.slice(2),s=[];for(let r of i)r&&s.push(r.getFileName());return s};});var _0=R((L9,A0)=>{A0.exports=f2;function f2(t={}){let{ERR_PATHS_MUST_BE_STRINGS:e=()=>"fast-redact - Paths must be (non-empty) strings",ERR_INVALID_PATH:n=i=>`fast-redact \u2013 Invalid path (${i})`}=t;return function({paths:s}){s.forEach(r=>{if(typeof r!="string")throw Error(e());try{if(/〇/.test(r))throw Error();let o=(r[0]==="["?"":".")+r.replace(/^\*/,"\u3007").replace(/\.\*/g,".\u3007").replace(/\[\*\]/g,"[\u3007]");if(/\n|\r|;/.test(o)||/\/\*/.test(o))throw Error();Function(` + see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat:i,destStat:s}=Es.checkPathsSync(t,e,"copy",n);if(Es.checkParentPathsSync(t,i,e,"copy"),n.filter&&!n.filter(t,e))return;let r=Ss.dirname(e);return lt.existsSync(r)||IL(r),jb(s,t,e,n)}function jb(t,e,n,i){let r=(i.dereference?lt.statSync:lt.lstatSync)(e);if(r.isDirectory())return UL(r,t,e,n,i);if(r.isFile()||r.isCharacterDevice()||r.isBlockDevice())return qL(r,t,e,n,i);if(r.isSymbolicLink())return HL(t,e,n,i);throw r.isSocket()?new Error(`Cannot copy a socket file: ${e}`):r.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${e}`):new Error(`Unknown file: ${e}`)}function qL(t,e,n,i,s){return e?$L(t,n,i,s):Nb(t,n,i,s)}function $L(t,e,n,i){if(i.overwrite)return lt.unlinkSync(n),Nb(t,e,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}function Nb(t,e,n,i){return lt.copyFileSync(e,n),i.preserveTimestamps&&DL(t.mode,e,n),Vu(n,t.mode)}function DL(t,e,n){return BL(t)&&jL(n,t),NL(e,n)}function BL(t){return (t&128)===0}function jL(t,e){return Vu(t,e|128)}function Vu(t,e){return lt.chmodSync(t,e)}function NL(t,e){let n=lt.statSync(t);return FL(e,n.atime,n.mtime)}function UL(t,e,n,i,s){return e?Ub(n,i,s):ML(t.mode,n,i,s)}function ML(t,e,n,i){return lt.mkdirSync(n),Ub(e,n,i),Vu(n,t)}function Ub(t,e,n){lt.readdirSync(t).forEach(i=>zL(i,t,e,n));}function zL(t,e,n,i){let s=Ss.join(e,t),r=Ss.join(n,t);if(i.filter&&!i.filter(s,r))return;let{destStat:o}=Es.checkPathsSync(s,r,"copy",i);return jb(o,s,r,i)}function HL(t,e,n,i){let s=lt.readlinkSync(e);if(i.dereference&&(s=Ss.resolve(process.cwd(),s)),t){let r;try{r=lt.readlinkSync(n);}catch(o){if(o.code==="EINVAL"||o.code==="UNKNOWN")return lt.symlinkSync(s,n);throw o}if(i.dereference&&(r=Ss.resolve(process.cwd(),r)),Es.isSrcSubdir(s,r))throw new Error(`Cannot copy '${s}' to a subdirectory of itself, '${r}'.`);if(Es.isSrcSubdir(r,s))throw new Error(`Cannot overwrite '${r}' with '${s}'.`);return WL(s,n)}else return lt.symlinkSync(s,n)}function WL(t,e){return lt.unlinkSync(e),lt.symlinkSync(t,e)}Mb.exports=LL;});var ha=R((a9,Hb)=>{var GL=dt().fromCallback;Hb.exports={copy:GL(Bb()),copySync:zb()};});var As=R((c9,Gb)=>{var Wb=mt(),VL=dt().fromCallback;function KL(t,e){Wb.rm(t,{recursive:!0,force:!0},e);}function JL(t){Wb.rmSync(t,{recursive:!0,force:!0});}Gb.exports={remove:VL(KL),removeSync:JL};});var ew=R((l9,Zb)=>{var YL=dt().fromPromise,Jb=Si(),Yb=H("path"),Xb=Vt(),Qb=As(),Vb=YL(async function(e){let n;try{n=await Jb.readdir(e);}catch{return Xb.mkdirs(e)}return Promise.all(n.map(i=>Qb.remove(Yb.join(e,i))))});function Kb(t){let e;try{e=Jb.readdirSync(t);}catch{return Xb.mkdirsSync(t)}e.forEach(n=>{n=Yb.join(t,n),Qb.removeSync(n);});}Zb.exports={emptyDirSync:Kb,emptydirSync:Kb,emptyDir:Vb,emptydir:Vb};});var rw=R((u9,iw)=>{var XL=dt().fromCallback,tw=H("path"),Kn=mt(),nw=Vt();function QL(t,e){function n(){Kn.writeFile(t,"",i=>{if(i)return e(i);e();});}Kn.stat(t,(i,s)=>{if(!i&&s.isFile())return e();let r=tw.dirname(t);Kn.stat(r,(o,a)=>{if(o)return o.code==="ENOENT"?nw.mkdirs(r,u=>{if(u)return e(u);n();}):e(o);a.isDirectory()?n():Kn.readdir(r,u=>{if(u)return e(u)});});});}function ZL(t){let e;try{e=Kn.statSync(t);}catch{}if(e&&e.isFile())return;let n=tw.dirname(t);try{Kn.statSync(n).isDirectory()||Kn.readdirSync(n);}catch(i){if(i&&i.code==="ENOENT")nw.mkdirsSync(n);else throw i}Kn.writeFileSync(t,"");}iw.exports={createFile:XL(QL),createFileSync:ZL};});var lw=R((p9,cw)=>{var eq=dt().fromCallback,sw=H("path"),Jn=mt(),ow=Vt(),tq=Vn().pathExists,{areIdentical:aw}=Ei();function nq(t,e,n){function i(s,r){Jn.link(s,r,o=>{if(o)return n(o);n(null);});}Jn.lstat(e,(s,r)=>{Jn.lstat(t,(o,a)=>{if(o)return o.message=o.message.replace("lstat","ensureLink"),n(o);if(r&&aw(a,r))return n(null);let u=sw.dirname(e);tq(u,(f,c)=>{if(f)return n(f);if(c)return i(t,e);ow.mkdirs(u,d=>{if(d)return n(d);i(t,e);});});});});}function iq(t,e){let n;try{n=Jn.lstatSync(e);}catch{}try{let r=Jn.lstatSync(t);if(n&&aw(r,n))return}catch(r){throw r.message=r.message.replace("lstat","ensureLink"),r}let i=sw.dirname(e);return Jn.existsSync(i)||ow.mkdirsSync(i),Jn.linkSync(t,e)}cw.exports={createLink:eq(nq),createLinkSync:iq};});var pw=R((f9,uw)=>{var Yn=H("path"),_s=mt(),rq=Vn().pathExists;function sq(t,e,n){if(Yn.isAbsolute(t))return _s.lstat(t,i=>i?(i.message=i.message.replace("lstat","ensureSymlink"),n(i)):n(null,{toCwd:t,toDst:t}));{let i=Yn.dirname(e),s=Yn.join(i,t);return rq(s,(r,o)=>r?n(r):o?n(null,{toCwd:s,toDst:t}):_s.lstat(t,a=>a?(a.message=a.message.replace("lstat","ensureSymlink"),n(a)):n(null,{toCwd:t,toDst:Yn.relative(i,t)})))}}function oq(t,e){let n;if(Yn.isAbsolute(t)){if(n=_s.existsSync(t),!n)throw new Error("absolute srcpath does not exist");return {toCwd:t,toDst:t}}else {let i=Yn.dirname(e),s=Yn.join(i,t);if(n=_s.existsSync(s),n)return {toCwd:s,toDst:t};if(n=_s.existsSync(t),!n)throw new Error("relative srcpath does not exist");return {toCwd:t,toDst:Yn.relative(i,t)}}}uw.exports={symlinkPaths:sq,symlinkPathsSync:oq};});var mw=R((d9,dw)=>{var fw=mt();function aq(t,e,n){if(n=typeof e=="function"?e:n,e=typeof e=="function"?!1:e,e)return n(null,e);fw.lstat(t,(i,s)=>{if(i)return n(null,"file");e=s&&s.isDirectory()?"dir":"file",n(null,e);});}function cq(t,e){let n;if(e)return e;try{n=fw.lstatSync(t);}catch{return "file"}return n&&n.isDirectory()?"dir":"file"}dw.exports={symlinkType:aq,symlinkTypeSync:cq};});var Sw=R((m9,ww)=>{var lq=dt().fromCallback,gw=H("path"),Kt=Si(),yw=Vt(),uq=yw.mkdirs,pq=yw.mkdirsSync,xw=pw(),fq=xw.symlinkPaths,dq=xw.symlinkPathsSync,vw=mw(),mq=vw.symlinkType,hq=vw.symlinkTypeSync,gq=Vn().pathExists,{areIdentical:bw}=Ei();function yq(t,e,n,i){i=typeof n=="function"?n:i,n=typeof n=="function"?!1:n,Kt.lstat(e,(s,r)=>{!s&&r.isSymbolicLink()?Promise.all([Kt.stat(t),Kt.stat(e)]).then(([o,a])=>{if(bw(o,a))return i(null);hw(t,e,n,i);}):hw(t,e,n,i);});}function hw(t,e,n,i){fq(t,e,(s,r)=>{if(s)return i(s);t=r.toDst,mq(r.toCwd,n,(o,a)=>{if(o)return i(o);let u=gw.dirname(e);gq(u,(f,c)=>{if(f)return i(f);if(c)return Kt.symlink(t,e,a,i);uq(u,d=>{if(d)return i(d);Kt.symlink(t,e,a,i);});});});});}function xq(t,e,n){let i;try{i=Kt.lstatSync(e);}catch{}if(i&&i.isSymbolicLink()){let a=Kt.statSync(t),u=Kt.statSync(e);if(bw(a,u))return}let s=dq(t,e);t=s.toDst,n=hq(s.toCwd,n);let r=gw.dirname(e);return Kt.existsSync(r)||pq(r),Kt.symlinkSync(t,e,n)}ww.exports={createSymlink:lq(yq),createSymlinkSync:xq};});var kw=R((h9,Ow)=>{var{createFile:Ew,createFileSync:Aw}=rw(),{createLink:_w,createLinkSync:Rw}=lw(),{createSymlink:Cw,createSymlinkSync:Tw}=Sw();Ow.exports={createFile:Ew,createFileSync:Aw,ensureFile:Ew,ensureFileSync:Aw,createLink:_w,createLinkSync:Rw,ensureLink:_w,ensureLinkSync:Rw,createSymlink:Cw,createSymlinkSync:Tw,ensureSymlink:Cw,ensureSymlinkSync:Tw};});var ga=R((g9,Pw)=>{function vq(t,{EOL:e=` +`,finalEOL:n=!0,replacer:i=null,spaces:s}={}){let r=n?e:"";return JSON.stringify(t,i,s).replace(/\n/g,e)+r}function bq(t){return Buffer.isBuffer(t)&&(t=t.toString("utf8")),t.replace(/^\uFEFF/,"")}Pw.exports={stringify:vq,stripBom:bq};});var qw=R((y9,Lw)=>{var mr;try{mr=mt();}catch{mr=H("fs");}var ya=dt(),{stringify:Iw,stripBom:Fw}=ga();async function wq(t,e={}){typeof e=="string"&&(e={encoding:e});let n=e.fs||mr,i="throws"in e?e.throws:!0,s=await ya.fromCallback(n.readFile)(t,e);s=Fw(s);let r;try{r=JSON.parse(s,e?e.reviver:null);}catch(o){if(i)throw o.message=`${t}: ${o.message}`,o;return null}return r}var Sq=ya.fromPromise(wq);function Eq(t,e={}){typeof e=="string"&&(e={encoding:e});let n=e.fs||mr,i="throws"in e?e.throws:!0;try{let s=n.readFileSync(t,e);return s=Fw(s),JSON.parse(s,e.reviver)}catch(s){if(i)throw s.message=`${t}: ${s.message}`,s;return null}}async function Aq(t,e,n={}){let i=n.fs||mr,s=Iw(e,n);await ya.fromCallback(i.writeFile)(t,s,n);}var _q=ya.fromPromise(Aq);function Rq(t,e,n={}){let i=n.fs||mr,s=Iw(e,n);return i.writeFileSync(t,s,n)}var Cq={readFile:Sq,readFileSync:Eq,writeFile:_q,writeFileSync:Rq};Lw.exports=Cq;});var Dw=R((x9,$w)=>{var xa=qw();$w.exports={readJson:xa.readFile,readJsonSync:xa.readFileSync,writeJson:xa.writeFile,writeJsonSync:xa.writeFileSync};});var va=R((v9,Nw)=>{var Tq=dt().fromCallback,Rs=mt(),Bw=H("path"),jw=Vt(),Oq=Vn().pathExists;function kq(t,e,n,i){typeof n=="function"&&(i=n,n="utf8");let s=Bw.dirname(t);Oq(s,(r,o)=>{if(r)return i(r);if(o)return Rs.writeFile(t,e,n,i);jw.mkdirs(s,a=>{if(a)return i(a);Rs.writeFile(t,e,n,i);});});}function Pq(t,...e){let n=Bw.dirname(t);if(Rs.existsSync(n))return Rs.writeFileSync(t,...e);jw.mkdirsSync(n),Rs.writeFileSync(t,...e);}Nw.exports={outputFile:Tq(kq),outputFileSync:Pq};});var Mw=R((b9,Uw)=>{var{stringify:Iq}=ga(),{outputFile:Fq}=va();async function Lq(t,e,n={}){let i=Iq(e,n);await Fq(t,i,n);}Uw.exports=Lq;});var Hw=R((w9,zw)=>{var{stringify:qq}=ga(),{outputFileSync:$q}=va();function Dq(t,e,n){let i=qq(e,n);$q(t,i,n);}zw.exports=Dq;});var Gw=R((S9,Ww)=>{var Bq=dt().fromPromise,ut=Dw();ut.outputJson=Bq(Mw());ut.outputJsonSync=Hw();ut.outputJSON=ut.outputJson;ut.outputJSONSync=ut.outputJsonSync;ut.writeJSON=ut.writeJson;ut.writeJSONSync=ut.writeJsonSync;ut.readJSON=ut.readJson;ut.readJSONSync=ut.readJsonSync;Ww.exports=ut;});var Xw=R((E9,Yw)=>{var jq=mt(),Ju=H("path"),Nq=ha().copy,Jw=As().remove,Uq=Vt().mkdirp,Mq=Vn().pathExists,Vw=Ei();function zq(t,e,n,i){typeof n=="function"&&(i=n,n={}),n=n||{};let s=n.overwrite||n.clobber||!1;Vw.checkPaths(t,e,"move",n,(r,o)=>{if(r)return i(r);let{srcStat:a,isChangingCase:u=!1}=o;Vw.checkParentPaths(t,a,e,"move",f=>{if(f)return i(f);if(Hq(e))return Kw(t,e,s,u,i);Uq(Ju.dirname(e),c=>c?i(c):Kw(t,e,s,u,i));});});}function Hq(t){let e=Ju.dirname(t);return Ju.parse(e).root===e}function Kw(t,e,n,i,s){if(i)return Ku(t,e,n,s);if(n)return Jw(e,r=>r?s(r):Ku(t,e,n,s));Mq(e,(r,o)=>r?s(r):o?s(new Error("dest already exists.")):Ku(t,e,n,s));}function Ku(t,e,n,i){jq.rename(t,e,s=>s?s.code!=="EXDEV"?i(s):Wq(t,e,n,i):i());}function Wq(t,e,n,i){Nq(t,e,{overwrite:n,errorOnExist:!0,preserveTimestamps:!0},r=>r?i(r):Jw(t,i));}Yw.exports=zq;});var n0=R((A9,t0)=>{var Zw=mt(),Xu=H("path"),Gq=ha().copySync,e0=As().removeSync,Vq=Vt().mkdirpSync,Qw=Ei();function Kq(t,e,n){n=n||{};let i=n.overwrite||n.clobber||!1,{srcStat:s,isChangingCase:r=!1}=Qw.checkPathsSync(t,e,"move",n);return Qw.checkParentPathsSync(t,s,e,"move"),Jq(e)||Vq(Xu.dirname(e)),Yq(t,e,i,r)}function Jq(t){let e=Xu.dirname(t);return Xu.parse(e).root===e}function Yq(t,e,n,i){if(i)return Yu(t,e,n);if(n)return e0(e),Yu(t,e,n);if(Zw.existsSync(e))throw new Error("dest already exists.");return Yu(t,e,n)}function Yu(t,e,n){try{Zw.renameSync(t,e);}catch(i){if(i.code!=="EXDEV")throw i;return Xq(t,e,n)}}function Xq(t,e,n){return Gq(t,e,{overwrite:n,errorOnExist:!0,preserveTimestamps:!0}),e0(t)}t0.exports=Kq;});var r0=R((_9,i0)=>{var Qq=dt().fromCallback;i0.exports={move:Qq(Xw()),moveSync:n0()};});var Qu=R((R9,s0)=>{s0.exports={...Si(),...ha(),...ew(),...kw(),...Gw(),...Vt(),...r0(),...va(),...Vn(),...As()};});var ep=R((O9,c0)=>{var Cs=t=>t&&typeof t.message=="string",Zu=t=>{if(!t)return;let e=t.cause;if(typeof e=="function"){let n=t.cause();return Cs(n)?n:void 0}else return Cs(e)?e:void 0},o0=(t,e)=>{if(!Cs(t))return "";let n=t.stack||"";if(e.has(t))return n+` +causes have become circular...`;let i=Zu(t);return i?(e.add(t),n+` +caused by: `+o0(i,e)):n},Zq=t=>o0(t,new Set),a0=(t,e,n)=>{if(!Cs(t))return "";let i=n?"":t.message||"";if(e.has(t))return i+": ...";let s=Zu(t);if(s){e.add(t);let r=typeof t.cause=="function";return i+(r?"":": ")+a0(s,e,r)}else return i},e2=t=>a0(t,new Set);c0.exports={isErrorLike:Cs,getErrorCause:Zu,stackWithCauses:Zq,messageWithCauses:e2};});var tp=R((k9,u0)=>{var t2=Symbol("circular-ref-tag"),wa=Symbol("pino-raw-err-ref"),l0=Object.create({},{type:{enumerable:!0,writable:!0,value:void 0},message:{enumerable:!0,writable:!0,value:void 0},stack:{enumerable:!0,writable:!0,value:void 0},aggregateErrors:{enumerable:!0,writable:!0,value:void 0},raw:{enumerable:!1,get:function(){return this[wa]},set:function(t){this[wa]=t;}}});Object.defineProperty(l0,wa,{writable:!0,value:{}});u0.exports={pinoErrProto:l0,pinoErrorSymbols:{seen:t2,rawSymbol:wa}};});var d0=R((P9,f0)=>{f0.exports=ip;var{messageWithCauses:n2,stackWithCauses:i2,isErrorLike:p0}=ep(),{pinoErrProto:r2,pinoErrorSymbols:s2}=tp(),{seen:np}=s2,{toString:o2}=Object.prototype;function ip(t){if(!p0(t))return t;t[np]=void 0;let e=Object.create(r2);e.type=o2.call(t.constructor)==="[object Function]"?t.constructor.name:t.name,e.message=n2(t),e.stack=i2(t),Array.isArray(t.errors)&&(e.aggregateErrors=t.errors.map(n=>ip(n)));for(let n in t)if(e[n]===void 0){let i=t[n];p0(i)?n!=="cause"&&!Object.prototype.hasOwnProperty.call(i,np)&&(e[n]=ip(i)):e[n]=i;}return delete t[np],e.raw=t,e}});var h0=R((I9,m0)=>{m0.exports=Ea;var{isErrorLike:rp}=ep(),{pinoErrProto:a2,pinoErrorSymbols:c2}=tp(),{seen:Sa}=c2,{toString:l2}=Object.prototype;function Ea(t){if(!rp(t))return t;t[Sa]=void 0;let e=Object.create(a2);e.type=l2.call(t.constructor)==="[object Function]"?t.constructor.name:t.name,e.message=t.message,e.stack=t.stack,Array.isArray(t.errors)&&(e.aggregateErrors=t.errors.map(n=>Ea(n))),rp(t.cause)&&!Object.prototype.hasOwnProperty.call(t.cause,Sa)&&(e.cause=Ea(t.cause));for(let n in t)if(e[n]===void 0){let i=t[n];rp(i)?Object.prototype.hasOwnProperty.call(i,Sa)||(e[n]=Ea(i)):e[n]=i;}return delete t[Sa],e.raw=t,e}});var v0=R((F9,x0)=>{x0.exports={mapHttpRequest:u2,reqSerializer:y0};var sp=Symbol("pino-raw-req-ref"),g0=Object.create({},{id:{enumerable:!0,writable:!0,value:""},method:{enumerable:!0,writable:!0,value:""},url:{enumerable:!0,writable:!0,value:""},query:{enumerable:!0,writable:!0,value:""},params:{enumerable:!0,writable:!0,value:""},headers:{enumerable:!0,writable:!0,value:{}},remoteAddress:{enumerable:!0,writable:!0,value:""},remotePort:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[sp]},set:function(t){this[sp]=t;}}});Object.defineProperty(g0,sp,{writable:!0,value:{}});function y0(t){let e=t.info||t.socket,n=Object.create(g0);if(n.id=typeof t.id=="function"?t.id():t.id||(t.info?t.info.id:void 0),n.method=t.method,t.originalUrl)n.url=t.originalUrl;else {let i=t.path;n.url=typeof i=="string"?i:t.url?t.url.path||t.url:void 0;}return t.query&&(n.query=t.query),t.params&&(n.params=t.params),n.headers=t.headers,n.remoteAddress=e&&e.remoteAddress,n.remotePort=e&&e.remotePort,n.raw=t.raw||t,n}function u2(t){return {req:y0(t)}}});var E0=R((L9,S0)=>{S0.exports={mapHttpResponse:p2,resSerializer:w0};var op=Symbol("pino-raw-res-ref"),b0=Object.create({},{statusCode:{enumerable:!0,writable:!0,value:0},headers:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[op]},set:function(t){this[op]=t;}}});Object.defineProperty(b0,op,{writable:!0,value:{}});function w0(t){let e=Object.create(b0);return e.statusCode=t.headersSent?t.statusCode:null,e.headers=t.getHeaders?t.getHeaders():t._headers,e.raw=t,e}function p2(t){return {res:w0(t)}}});var cp=R((q9,A0)=>{var ap=d0(),f2=h0(),Aa=v0(),_a=E0();A0.exports={err:ap,errWithCause:f2,mapHttpRequest:Aa.mapHttpRequest,mapHttpResponse:_a.mapHttpResponse,req:Aa.reqSerializer,res:_a.resSerializer,wrapErrorSerializer:function(e){return e===ap?e:function(i){return e(ap(i))}},wrapRequestSerializer:function(e){return e===Aa.reqSerializer?e:function(i){return e(Aa.reqSerializer(i))}},wrapResponseSerializer:function(e){return e===_a.resSerializer?e:function(i){return e(_a.resSerializer(i))}}};});var lp=R(($9,_0)=>{function d2(t,e){return e}_0.exports=function(){let e=Error.prepareStackTrace;Error.prepareStackTrace=d2;let n=new Error().stack;if(Error.prepareStackTrace=e,!Array.isArray(n))return;let i=n.slice(2),s=[];for(let r of i)r&&s.push(r.getFileName());return s};});var C0=R((D9,R0)=>{R0.exports=m2;function m2(t={}){let{ERR_PATHS_MUST_BE_STRINGS:e=()=>"fast-redact - Paths must be (non-empty) strings",ERR_INVALID_PATH:n=i=>`fast-redact \u2013 Invalid path (${i})`}=t;return function({paths:s}){s.forEach(r=>{if(typeof r!="string")throw Error(e());try{if(/〇/.test(r))throw Error();let o=(r[0]==="["?"":".")+r.replace(/^\*/,"\u3007").replace(/\.\*/g,".\u3007").replace(/\[\*\]/g,"[\u3007]");if(/\n|\r|;/.test(o)||/\/\*/.test(o))throw Error();Function(` 'use strict' const o = new Proxy({}, { get: () => o, set: () => { throw Error() } }); const \u3007 = null; o${o} - if ([o${o}].length !== 1) throw Error()`)();}catch{throw Error(n(r))}});}}});var Ra=R((q9,R0)=>{R0.exports=/[^.[\]]+|\[((?:.)*?)\]/g;});var T0=R(($9,C0)=>{var d2=Ra();C0.exports=m2;function m2({paths:t}){let e=[];var n=0;let i=t.reduce(function(s,r,o){var a=r.match(d2).map(c=>c.replace(/'|"|`/g,""));let u=r[0]==="[";a=a.map(c=>c[0]==="["?c.substr(1,c.length-2):c);let f=a.indexOf("*");if(f>-1){let c=a.slice(0,f),d=c.join("."),g=a.slice(f+1,a.length),h=g.length>0;n++,e.push({before:c,beforeStr:d,after:g,nested:h});}else s[r]={path:a,val:void 0,precensored:!1,circle:"",escPath:JSON.stringify(r),leadingBracket:u};return s},{});return {wildcards:e,wcLen:n,secret:i}}});var k0=R((B9,O0)=>{var h2=Ra();O0.exports=g2;function g2({secret:t,serialize:e,wcLen:n,strict:i,isCensorFct:s,censorFctTakesPath:r},o){let a=Function("o",` + if ([o${o}].length !== 1) throw Error()`)();}catch{throw Error(n(r))}});}}});var Ra=R((B9,T0)=>{T0.exports=/[^.[\]]+|\[((?:.)*?)\]/g;});var k0=R((j9,O0)=>{var h2=Ra();O0.exports=g2;function g2({paths:t}){let e=[];var n=0;let i=t.reduce(function(s,r,o){var a=r.match(h2).map(c=>c.replace(/'|"|`/g,""));let u=r[0]==="[";a=a.map(c=>c[0]==="["?c.substr(1,c.length-2):c);let f=a.indexOf("*");if(f>-1){let c=a.slice(0,f),d=c.join("."),g=a.slice(f+1,a.length),h=g.length>0;n++,e.push({before:c,beforeStr:d,after:g,nested:h});}else s[r]={path:a,val:void 0,precensored:!1,circle:"",escPath:JSON.stringify(r),leadingBracket:u};return s},{});return {wildcards:e,wcLen:n,secret:i}}});var I0=R((N9,P0)=>{var y2=Ra();P0.exports=x2;function x2({secret:t,serialize:e,wcLen:n,strict:i,isCensorFct:s,censorFctTakesPath:r},o){let a=Function("o",` if (typeof o !== 'object' || o == null) { - ${b2(i,e)} + ${S2(i,e)} } const { censor, secret } = this - ${y2(t,s,r)} + ${v2(t,s,r)} this.compileRestore() - ${x2(n>0,s,r)} - ${v2(e)} - `).bind(o);return e===!1&&(a.restore=u=>o.restore(u)),a}function y2(t,e,n){return Object.keys(t).map(i=>{let{escPath:s,leadingBracket:r,path:o}=t[i],a=r?1:0,u=r?"":".",f=[];for(var c;(c=h2.exec(i))!==null;){let[,y]=c,{index:b,input:A}=c;b>a&&f.push(A.substring(0,b-(y?0:1)));}var d=f.map(y=>`o${u}${y}`).join(" && ");d.length===0?d+=`o${u}${i} != null`:d+=` && o${u}${i} != null`;let g=` + ${b2(n>0,s,r)} + ${w2(e)} + `).bind(o);return e===!1&&(a.restore=u=>o.restore(u)),a}function v2(t,e,n){return Object.keys(t).map(i=>{let{escPath:s,leadingBracket:r,path:o}=t[i],a=r?1:0,u=r?"":".",f=[];for(var c;(c=y2.exec(i))!==null;){let[,y]=c,{index:b,input:A}=c;b>a&&f.push(A.substring(0,b-(y?0:1)));}var d=f.map(y=>`o${u}${y}`).join(" && ");d.length===0?d+=`o${u}${i} != null`:d+=` && o${u}${i} != null`;let g=` switch (true) { ${f.reverse().map(y=>` case o${u}${y} === censor: @@ -76,7 +76,7 @@ caused by: `+r0(i,e)):n},Xq=t=>r0(t,new Set),s0=(t,e,n)=>{if(!Rs(t))return "";le } } `}).join(` -`)}function x2(t,e,n){return t===!0?` +`)}function b2(t,e,n){return t===!0?` { const { wildcards, wcLen, groupRedact, nestedRedact } = this for (var i = 0; i < wcLen; i++) { @@ -87,16 +87,16 @@ caused by: `+r0(i,e)):n},Xq=t=>r0(t,new Set),s0=(t,e,n)=>{if(!Rs(t))return "";le } else secret[beforeStr] = groupRedact(o, before, censor, ${e}, ${n}) } } - `:""}function v2(t){return t===!1?"return o":` + `:""}function w2(t){return t===!1?"return o":` var s = this.serialize(o) this.restore(o) return s - `}function b2(t,e){return t===!0?"throw Error('fast-redact: primitives cannot be redacted')":e===!1?"return o":"return this.serialize(o)"}});var lp=R((D9,L0)=>{L0.exports={groupRedact:S2,groupRestore:w2,nestedRedact:A2,nestedRestore:E2};function w2({keys:t,values:e,target:n}){if(n==null)return;let i=t.length;for(var s=0;s"u")&&(b=!1);}}return {value:h,parent:y,exists:b,level:I}}function P0(t,e){for(var n=-1,i=e.length,s=t;s!=null&&++n{var{groupRestore:R2,nestedRestore:C2}=lp();q0.exports=T2;function T2({secret:t,wcLen:e}){return function(){if(this.restore)return;let i=Object.keys(t),s=O2(t,i),r=e>0,o=r?{secret:t,groupRestore:R2,nestedRestore:C2}:{secret:t};this.restore=Function("o",k2(s,i,r)).bind(o);}}function O2(t,e){return e.map(n=>{let{circle:i,escPath:s,leadingBracket:r}=t[n],a=i?`o.${i} = secret[${s}].val`:`o${r?"":"."}${n} = secret[${s}].val`,u=`secret[${s}].val = undefined`;return ` + `}function S2(t,e){return t===!0?"throw Error('fast-redact: primitives cannot be redacted')":e===!1?"return o":"return this.serialize(o)"}});var up=R((U9,$0)=>{$0.exports={groupRedact:A2,groupRestore:E2,nestedRedact:R2,nestedRestore:_2};function E2({keys:t,values:e,target:n}){if(n==null)return;let i=t.length;for(var s=0;s"u")&&(b=!1);}}return {value:h,parent:y,exists:b,level:F}}function F0(t,e){for(var n=-1,i=e.length,s=t;s!=null&&++n{var{groupRestore:T2,nestedRestore:O2}=up();D0.exports=k2;function k2({secret:t,wcLen:e}){return function(){if(this.restore)return;let i=Object.keys(t),s=P2(t,i),r=e>0,o=r?{secret:t,groupRestore:T2,nestedRestore:O2}:{secret:t};this.restore=Function("o",I2(s,i,r)).bind(o);}}function P2(t,e){return e.map(n=>{let{circle:i,escPath:s,leadingBracket:r}=t[n],a=i?`o.${i} = secret[${s}].val`:`o${r?"":"."}${n} = secret[${s}].val`,u=`secret[${s}].val = undefined`;return ` if (secret[${s}].val !== undefined) { try { ${a} } catch (e) {} ${u} } - `}).join("")}function k2(t,e,n){return ` + `}).join("")}function I2(t,e,n){return ` const secret = this.secret ${n===!0?` const keys = Object.keys(secret) @@ -111,44 +111,44 @@ caused by: `+r0(i,e)):n},Xq=t=>r0(t,new Set),s0=(t,e,n)=>{if(!Rs(t))return "";le `:""} ${t} return o - `}});var D0=R((N9,B0)=>{B0.exports=P2;function P2(t){let{secret:e,censor:n,compileRestore:i,serialize:s,groupRedact:r,nestedRedact:o,wildcards:a,wcLen:u}=t,f=[{secret:e,censor:n,compileRestore:i}];return s!==!1&&f.push({serialize:s}),u>0&&f.push({groupRedact:r,nestedRedact:o,wildcards:a,wcLen:u}),Object.assign(...f)}});var U0=R((U9,N0)=>{var j0=_0(),F2=T0(),I2=k0(),L2=$0(),{groupRedact:q2,nestedRedact:$2}=lp(),B2=D0(),D2=Ra(),j2=j0(),up=t=>t;up.restore=up;var N2="[REDACTED]";pp.rx=D2;pp.validator=j0;N0.exports=pp;function pp(t={}){let e=Array.from(new Set(t.paths||[])),n="serialize"in t&&(t.serialize===!1||typeof t.serialize=="function")?t.serialize:JSON.stringify,i=t.remove;if(i===!0&&n!==JSON.stringify)throw Error("fast-redact \u2013 remove option may only be set when serializer is JSON.stringify");let s=i===!0?void 0:"censor"in t?t.censor:N2,r=typeof s=="function",o=r&&s.length>1;if(e.length===0)return n||up;j2({paths:e,serialize:n,censor:s});let{wildcards:a,wcLen:u,secret:f}=F2({paths:e,censor:s}),c=L2({secret:f,wcLen:u}),d="strict"in t?t.strict:!0;return I2({secret:f,wcLen:u,serialize:n,strict:d,isCensorFct:r,censorFctTakesPath:o},B2({secret:f,censor:s,compileRestore:c,serialize:n,groupRedact:q2,nestedRedact:$2,wildcards:a,wcLen:u}))}});var hr=R((M9,M0)=>{var U2=Symbol("pino.setLevel"),M2=Symbol("pino.getLevel"),z2=Symbol("pino.levelVal"),H2=Symbol("pino.useLevelLabels"),W2=Symbol("pino.useOnlyCustomLevels"),G2=Symbol("pino.mixin"),V2=Symbol("pino.lsCache"),K2=Symbol("pino.chindings"),J2=Symbol("pino.asJson"),Y2=Symbol("pino.write"),X2=Symbol("pino.redactFmt"),Q2=Symbol("pino.time"),Z2=Symbol("pino.timeSliceIndex"),e$=Symbol("pino.stream"),t$=Symbol("pino.stringify"),n$=Symbol("pino.stringifySafe"),i$=Symbol("pino.stringifiers"),r$=Symbol("pino.end"),s$=Symbol("pino.formatOpts"),o$=Symbol("pino.messageKey"),a$=Symbol("pino.errorKey"),c$=Symbol("pino.nestedKey"),l$=Symbol("pino.nestedKeyStr"),u$=Symbol("pino.mixinMergeStrategy"),p$=Symbol("pino.msgPrefix"),f$=Symbol("pino.wildcardFirst"),d$=Symbol.for("pino.serializers"),m$=Symbol.for("pino.formatters"),h$=Symbol.for("pino.hooks"),g$=Symbol.for("pino.metadata");M0.exports={setLevelSym:U2,getLevelSym:M2,levelValSym:z2,useLevelLabelsSym:H2,mixinSym:G2,lsCacheSym:V2,chindingsSym:K2,asJsonSym:J2,writeSym:Y2,serializersSym:d$,redactFmtSym:X2,timeSym:Q2,timeSliceIndexSym:Z2,streamSym:e$,stringifySym:t$,stringifySafeSym:n$,stringifiersSym:i$,endSym:r$,formatOptsSym:s$,messageKeySym:o$,errorKeySym:a$,nestedKeySym:c$,wildcardFirstSym:f$,needsMetadataGsym:g$,useOnlyCustomLevelsSym:W2,formattersSym:m$,hooksSym:h$,nestedKeyStrSym:l$,mixinMergeStrategySym:u$,msgPrefixSym:p$};});var mp=R((z9,G0)=>{var dp=U0(),{redactFmtSym:y$,wildcardFirstSym:Ca}=hr(),{rx:fp,validator:x$}=dp,z0=x$({ERR_PATHS_MUST_BE_STRINGS:()=>"pino \u2013 redacted paths must be strings",ERR_INVALID_PATH:t=>`pino \u2013 redact paths array contains an invalid path (${t})`}),H0="[Redacted]",W0=!1;function v$(t,e){let{paths:n,censor:i}=b$(t),s=n.reduce((a,u)=>{fp.lastIndex=0;let f=fp.exec(u),c=fp.exec(u),d=f[1]!==void 0?f[1].replace(/^(?:"|'|`)(.*)(?:"|'|`)$/,"$1"):f[0];if(d==="*"&&(d=Ca),c===null)return a[d]=null,a;if(a[d]===null)return a;let{index:g}=c,h=`${u.substr(g,u.length-1)}`;return a[d]=a[d]||[],d!==Ca&&a[d].length===0&&a[d].push(...a[Ca]||[]),d===Ca&&Object.keys(a).forEach(function(y){a[y]&&a[y].push(h);}),a[d].push(h),a},{}),r={[y$]:dp({paths:n,censor:i,serialize:e,strict:W0})},o=(...a)=>e(typeof i=="function"?i(...a):i);return [...Object.keys(s),...Object.getOwnPropertySymbols(s)].reduce((a,u)=>{if(s[u]===null)a[u]=f=>o(f,[u]);else {let f=typeof i=="function"?(c,d)=>i(c,[u,...d]):i;a[u]=dp({paths:s[u],censor:f,serialize:e,strict:W0});}return a},r)}function b$(t){if(Array.isArray(t))return t={paths:t,censor:H0},z0(t),t;let{paths:e,censor:n=H0,remove:i}=t;if(Array.isArray(e)===!1)throw Error("pino \u2013 redact must contain an array of strings");return i===!0&&(n=void 0),z0({paths:e,censor:n}),{paths:e,censor:n}}G0.exports=v$;});var K0=R((H9,V0)=>{var w$=()=>"",S$=()=>`,"time":${Date.now()}`,E$=()=>`,"time":${Math.round(Date.now()/1e3)}`,A$=()=>`,"time":"${new Date(Date.now()).toISOString()}"`;V0.exports={nullTime:w$,epochTime:S$,unixTime:E$,isoTime:A$};});var Y0=R((W9,J0)=>{function _$(t){try{return JSON.stringify(t)}catch{return '"[Circular]"'}}J0.exports=R$;function R$(t,e,n){var i=n&&n.stringify||_$,s=1;if(typeof t=="object"&&t!==null){var r=e.length+s;if(r===1)return t;var o=new Array(r);o[0]=i(t);for(var a=1;a-1?d:0,t.charCodeAt(h+1)){case 100:case 102:if(c>=u||e[c]==null)break;d=u||e[c]==null)break;d=u||e[c]===void 0)break;d",d=h+2,h++;break}f+=i(e[c]),d=h+2,h++;break;case 115:if(c>=u)break;d{if(typeof SharedArrayBuffer<"u"&&typeof Atomics<"u"){let e=function(n){if((n>0&&n<1/0)===!1)throw typeof n!="number"&&typeof n!="bigint"?TypeError("sleep: ms must be a number"):RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");Atomics.wait(t,0,0,Number(n));},t=new Int32Array(new SharedArrayBuffer(4));hp.exports=e;}else {let t=function(e){if((e>0&&e<1/0)===!1)throw typeof e!="number"&&typeof e!="bigint"?TypeError("sleep: ms must be a number"):RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");};hp.exports=t;}});var tS=R((V9,eS)=>{var gt=H("fs"),C$=H("events"),T$=H("util").inherits,X0=H("path"),Q0=gp(),yp=100,O$=16*1024;function Z0(t,e){e._opening=!0,e._writing=!0,e._asyncDrainScheduled=!1;function n(r,o){if(r){e._reopening=!1,e._writing=!1,e._opening=!1,e.sync?process.nextTick(()=>{e.listenerCount("error")>0&&e.emit("error",r);}):e.emit("error",r);return}e.fd=o,e.file=t,e._reopening=!1,e._opening=!1,e._writing=!1,e.sync?process.nextTick(()=>e.emit("ready")):e.emit("ready"),!e._reopening&&!e._writing&&e._len>e.minLength&&!e.destroyed&&gr(e);}let i=e.append?"a":"w",s=e.mode;if(e.sync)try{e.mkdir&>.mkdirSync(X0.dirname(t),{recursive:!0});let r=gt.openSync(t,i,s);n(null,r);}catch(r){throw n(r),r}else e.mkdir?gt.mkdir(X0.dirname(t),{recursive:!0},r=>{if(r)return n(r);gt.open(t,i,s,n);}):gt.open(t,i,s,n);}function yt(t){if(!(this instanceof yt))return new yt(t);let{fd:e,dest:n,minLength:i,maxLength:s,maxWrite:r,sync:o,append:a=!0,mode:u,mkdir:f,retryEAGAIN:c,fsync:d}=t||{};if(e=e||n,this._bufs=[],this._len=0,this.fd=-1,this._writing=!1,this._writingBuf="",this._ending=!1,this._reopening=!1,this._asyncDrainScheduled=!1,this._hwm=Math.max(i||0,16387),this.file=null,this.destroyed=!1,this.minLength=i||0,this.maxLength=s||0,this.maxWrite=r||O$,this.sync=o||!1,this._fsync=d||!1,this.append=a||!1,this.mode=u,this.retryEAGAIN=c||(()=>!0),this.mkdir=f||!1,typeof e=="number")this.fd=e,process.nextTick(()=>this.emit("ready"));else if(typeof e=="string")Z0(e,this);else throw new Error("SonicBoom supports only file descriptors and files");if(this.minLength>=this.maxWrite)throw new Error(`minLength should be smaller than maxWrite (${this.maxWrite})`);this.release=(g,h)=>{if(g){if((g.code==="EAGAIN"||g.code==="EBUSY")&&this.retryEAGAIN(g,this._writingBuf.length,this._len-this._writingBuf.length))if(this.sync)try{Q0(yp),this.release(void 0,0);}catch(b){this.release(b);}else setTimeout(()=>{gt.write(this.fd,this._writingBuf,"utf8",this.release);},yp);else this._writing=!1,this.emit("error",g);return}if(this.emit("write",h),this._len-=h,this._len<0&&(this._len=0),this._writingBuf=this._writingBuf.slice(h),this._writingBuf.length){if(!this.sync){gt.write(this.fd,this._writingBuf,"utf8",this.release);return}try{do{let b=gt.writeSync(this.fd,this._writingBuf,"utf8");this._len-=b,this._writingBuf=this._writingBuf.slice(b);}while(this._writingBuf)}catch(b){this.release(b);return}}this._fsync&>.fsyncSync(this.fd);let y=this._len;this._reopening?(this._writing=!1,this._reopening=!1,this.reopen()):y>this.minLength?gr(this):this._ending?y>0?gr(this):(this._writing=!1,Ta(this)):(this._writing=!1,this.sync?this._asyncDrainScheduled||(this._asyncDrainScheduled=!0,process.nextTick(k$,this)):this.emit("drain"));},this.on("newListener",function(g){g==="drain"&&(this._asyncDrainScheduled=!1);});}function k$(t){t.listenerCount("drain")>0&&(t._asyncDrainScheduled=!1,t.emit("drain"));}T$(yt,C$);yt.prototype.write=function(t){if(this.destroyed)throw new Error("SonicBoom destroyed");let e=this._len+t.length,n=this._bufs;return this.maxLength&&e>this.maxLength?(this.emit("drop",t),this._lenthis.maxWrite?n.push(""+t):n[n.length-1]+=t,this._len=e,!this._writing&&this._len>=this.minLength&&gr(this),this._len{this.reopen(t);});return}if(this._ending)return;if(!this.file)throw new Error("Unable to reopen a file descriptor, you must pass a file to SonicBoom");if(this._reopening=!0,this._writing)return;let e=this.fd;this.once("ready",()=>{e!==this.fd&>.close(e,n=>{if(n)return this.emit("error",n)});}),Z0(t||this.file,this);};yt.prototype.end=function(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this._opening){this.once("ready",()=>{this.end();});return}this._ending||(this._ending=!0,!this._writing&&(this._len>0&&this.fd>=0?gr(this):Ta(this)));};yt.prototype.flushSync=function(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this.fd<0)throw new Error("sonic boom is not ready yet");!this._writing&&this._writingBuf.length>0&&(this._bufs.unshift(this._writingBuf),this._writingBuf="");let t="";for(;this._bufs.length||t.length;){t.length<=0&&(t=this._bufs[0]);try{let e=gt.writeSync(this.fd,t,"utf8");t=t.slice(e),this._len=Math.max(this._len-e,0),t.length<=0&&this._bufs.shift();}catch(e){if((e.code==="EAGAIN"||e.code==="EBUSY")&&!this.retryEAGAIN(e,t.length,this._len-t.length))throw e;Q0(yp);}}};yt.prototype.destroy=function(){this.destroyed||Ta(this);};function gr(t){let e=t.release;if(t._writing=!0,t._writingBuf=t._writingBuf||t._bufs.shift()||"",t.sync)try{let n=gt.writeSync(t.fd,t._writingBuf,"utf8");e(null,n);}catch(n){e(n);}else gt.write(t.fd,t._writingBuf,"utf8",e);}function Ta(t){if(t.fd===-1){t.once("ready",Ta.bind(null,t));return}t.destroyed=!0,t._bufs=[],t.fd!==1&&t.fd!==2?gt.close(t.fd,e):setImmediate(e);function e(n){if(n){t.emit("error",n);return}t._ending&&!t._writing&&t.emit("finish"),t.emit("close");}}yt.SonicBoom=yt;yt.default=yt;eS.exports=yt;});var xp=R((K9,aS)=>{var Qn={exit:[],beforeExit:[]},nS={exit:F$,beforeExit:I$},iS=new FinalizationRegistry(L$);function P$(t){Qn[t].length>0||process.on(t,nS[t]);}function rS(t){Qn[t].length>0||process.removeListener(t,nS[t]);}function F$(){sS("exit");}function I$(){sS("beforeExit");}function sS(t){for(let e of Qn[t]){let n=e.deref(),i=e.fn;n!==void 0&&i(n,t);}}function L$(t){for(let e of ["exit","beforeExit"]){let n=Qn[e].indexOf(t);Qn[e].splice(n,n+1),rS(e);}}function oS(t,e,n){if(e===void 0)throw new Error("the object can't be undefined");P$(t);let i=new WeakRef(e);i.fn=n,iS.register(e,i),Qn[t].push(i);}function q$(t,e){oS("exit",t,e);}function $$(t,e){oS("beforeExit",t,e);}function B$(t){iS.unregister(t);for(let e of ["exit","beforeExit"])Qn[e]=Qn[e].filter(n=>{let i=n.deref();return i&&i!==t}),rS(e);}aS.exports={register:q$,registerBeforeExit:$$,unregister:B$};});var cS=R((J9,D$)=>{D$.exports={name:"thread-stream",version:"2.3.0",description:"A streaming way to send data to a Node.js Worker Thread",main:"index.js",types:"index.d.ts",dependencies:{"real-require":"^0.2.0"},devDependencies:{"@types/node":"^18.0.0","@types/tap":"^15.0.0",desm:"^1.3.0",fastbench:"^1.0.1",husky:"^8.0.1","sonic-boom":"^3.0.0",standard:"^17.0.0",tap:"^16.2.0","ts-node":"^10.8.0",typescript:"^4.7.2","why-is-node-running":"^2.2.2"},scripts:{test:"standard && npm run transpile && tap test/*.test.*js && tap --ts test/*.test.*ts","test:ci":"standard && npm run transpile && npm run test:ci:js && npm run test:ci:ts","test:ci:js":'tap --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*js"',"test:ci:ts":'tap --ts --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*ts"',"test:yarn":'npm run transpile && tap "test/**/*.test.js" --no-check-coverage',transpile:"sh ./test/ts/transpile.sh",prepare:"husky install"},standard:{ignore:["test/ts/**/*"]},repository:{type:"git",url:"git+https://github.com/mcollina/thread-stream.git"},keywords:["worker","thread","threads","stream"],author:"Matteo Collina ",license:"MIT",bugs:{url:"https://github.com/mcollina/thread-stream/issues"},homepage:"https://github.com/mcollina/thread-stream#readme"};});var uS=R((Y9,lS)=>{function j$(t,e,n,i,s){let r=Date.now()+i,o=Atomics.load(t,e);if(o===n){s(null,"ok");return}let a=o,u=f=>{Date.now()>r?s(null,"timed-out"):setTimeout(()=>{a=o,o=Atomics.load(t,e),o===a?u(f>=1e3?1e3:f*2):o===n?s(null,"ok"):s(null,"not-equal");},f);};u(1);}function N$(t,e,n,i,s){let r=Date.now()+i,o=Atomics.load(t,e);if(o!==n){s(null,"ok");return}let a=u=>{Date.now()>r?s(null,"timed-out"):setTimeout(()=>{o=Atomics.load(t,e),o!==n?s(null,"ok"):a(u>=1e3?1e3:u*2);},u);};a(1);}lS.exports={wait:j$,waitDiff:N$};});var fS=R((X9,pS)=>{pS.exports={WRITE_INDEX:4,READ_INDEX:8};});var yS=R((Z9,gS)=>{var{version:U$}=cS(),{EventEmitter:M$}=H("events"),{Worker:z$}=H("worker_threads"),{join:H$}=H("path"),{pathToFileURL:W$}=H("url"),{wait:G$}=uS(),{WRITE_INDEX:xt,READ_INDEX:ln}=fS(),V$=H("buffer"),K$=H("assert"),j=Symbol("kImpl"),J$=V$.constants.MAX_STRING_LENGTH,ka=class{constructor(e){this._value=e;}deref(){return this._value}},Y$=global.FinalizationRegistry||class{register(){}unregister(){}},X$=global.WeakRef||ka,dS=new Y$(t=>{t.exited||t.terminate();});function Q$(t,e){let{filename:n,workerData:i}=e,r=("__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{})["thread-stream-worker"]||H$(__dirname,"lib","worker.js"),o=new z$(r,{...e.workerOpts,trackUnmanagedFds:!1,workerData:{filename:n.indexOf("file://")===0?n:W$(n).href,dataBuf:t[j].dataBuf,stateBuf:t[j].stateBuf,workerData:{$context:{threadStreamVersion:U$},...i}}});return o.stream=new ka(t),o.on("message",Z$),o.on("exit",hS),dS.register(t,o),o}function mS(t){K$(!t[j].sync),t[j].needDrain&&(t[j].needDrain=!1,t.emit("drain"));}function Oa(t){let e=Atomics.load(t[j].state,xt),n=t[j].data.length-e;if(n>0){if(t[j].buf.length===0){t[j].flushing=!1,t[j].ending?Ep(t):t[j].needDrain&&process.nextTick(mS,t);return}let i=t[j].buf.slice(0,n),s=Buffer.byteLength(i);s<=n?(t[j].buf=t[j].buf.slice(n),Pa(t,i,Oa.bind(null,t))):t.flush(()=>{if(!t.destroyed){for(Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0);s>t[j].data.length;)n=n/2,i=t[j].buf.slice(0,n),s=Buffer.byteLength(i);t[j].buf=t[j].buf.slice(n),Pa(t,i,Oa.bind(null,t));}});}else if(n===0){if(e===0&&t[j].buf.length===0)return;t.flush(()=>{Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0),Oa(t);});}else un(t,new Error("overwritten"));}function Z$(t){let e=this.stream.deref();if(e===void 0){this.exited=!0,this.terminate();return}switch(t.code){case"READY":this.stream=new X$(e),e.flush(()=>{e[j].ready=!0,e.emit("ready");});break;case"ERROR":un(e,t.err);break;case"EVENT":Array.isArray(t.args)?e.emit(t.name,...t.args):e.emit(t.name,t.args);break;default:un(e,new Error("this should not happen: "+t.code));}}function hS(t){let e=this.stream.deref();e!==void 0&&(dS.unregister(e),e.worker.exited=!0,e.worker.off("exit",hS),un(e,t!==0?new Error("the worker thread exited"):null));}var bp=class extends M${constructor(e={}){if(super(),e.bufferSize<4)throw new Error("bufferSize must at least fit a 4-byte utf-8 char");this[j]={},this[j].stateBuf=new SharedArrayBuffer(128),this[j].state=new Int32Array(this[j].stateBuf),this[j].dataBuf=new SharedArrayBuffer(e.bufferSize||4*1024*1024),this[j].data=Buffer.from(this[j].dataBuf),this[j].sync=e.sync||!1,this[j].ending=!1,this[j].ended=!1,this[j].needDrain=!1,this[j].destroyed=!1,this[j].flushing=!1,this[j].ready=!1,this[j].finished=!1,this[j].errored=null,this[j].closed=!1,this[j].buf="",this.worker=Q$(this,e);}write(e){if(this[j].destroyed)return wp(this,new Error("the worker has exited")),!1;if(this[j].ending)return wp(this,new Error("the worker is ending")),!1;if(this[j].flushing&&this[j].buf.length+e.length>=J$)try{vp(this),this[j].flushing=!0;}catch(n){return un(this,n),!1}if(this[j].buf+=e,this[j].sync)try{return vp(this),!0}catch(n){return un(this,n),!1}return this[j].flushing||(this[j].flushing=!0,setImmediate(Oa,this)),this[j].needDrain=this[j].data.length-this[j].buf.length-Atomics.load(this[j].state,xt)<=0,!this[j].needDrain}end(){this[j].destroyed||(this[j].ending=!0,Ep(this));}flush(e){if(this[j].destroyed){typeof e=="function"&&process.nextTick(e,new Error("the worker has exited"));return}let n=Atomics.load(this[j].state,xt);G$(this[j].state,ln,n,1/0,(i,s)=>{if(i){un(this,i),process.nextTick(e,i);return}if(s==="not-equal"){this.flush(e);return}process.nextTick(e);});}flushSync(){this[j].destroyed||(vp(this),Sp(this));}unref(){this.worker.unref();}ref(){this.worker.ref();}get ready(){return this[j].ready}get destroyed(){return this[j].destroyed}get closed(){return this[j].closed}get writable(){return !this[j].destroyed&&!this[j].ending}get writableEnded(){return this[j].ending}get writableFinished(){return this[j].finished}get writableNeedDrain(){return this[j].needDrain}get writableObjectMode(){return !1}get writableErrored(){return this[j].errored}};function wp(t,e){setImmediate(()=>{t.emit("error",e);});}function un(t,e){t[j].destroyed||(t[j].destroyed=!0,e&&(t[j].errored=e,wp(t,e)),t.worker.exited?setImmediate(()=>{t[j].closed=!0,t.emit("close");}):t.worker.terminate().catch(()=>{}).then(()=>{t[j].closed=!0,t.emit("close");}));}function Pa(t,e,n){let i=Atomics.load(t[j].state,xt),s=Buffer.byteLength(e);return t[j].data.write(e,i),Atomics.store(t[j].state,xt,i+s),Atomics.notify(t[j].state,xt),n(),!0}function Ep(t){if(!(t[j].ended||!t[j].ending||t[j].flushing)){t[j].ended=!0;try{t.flushSync();let e=Atomics.load(t[j].state,ln);Atomics.store(t[j].state,xt,-1),Atomics.notify(t[j].state,xt);let n=0;for(;e!==-1;){if(Atomics.wait(t[j].state,ln,e,1e3),e=Atomics.load(t[j].state,ln),e===-2){un(t,new Error("end() failed"));return}if(++n===10){un(t,new Error("end() took too long (10s)"));return}}process.nextTick(()=>{t[j].finished=!0,t.emit("finish");});}catch(e){un(t,e);}}}function vp(t){let e=()=>{t[j].ending?Ep(t):t[j].needDrain&&process.nextTick(mS,t);};for(t[j].flushing=!1;t[j].buf.length!==0;){let n=Atomics.load(t[j].state,xt),i=t[j].data.length-n;if(i===0){Sp(t),Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0);continue}else if(i<0)throw new Error("overwritten");let s=t[j].buf.slice(0,i),r=Buffer.byteLength(s);if(r<=i)t[j].buf=t[j].buf.slice(i),Pa(t,s,e);else {for(Sp(t),Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0);r>t[j].buf.length;)i=i/2,s=t[j].buf.slice(0,i),r=Buffer.byteLength(s);t[j].buf=t[j].buf.slice(i),Pa(t,s,e);}}}function Sp(t){if(t[j].flushing)throw new Error("unable to flush while flushing");let e=Atomics.load(t[j].state,xt),n=0;for(;;){let i=Atomics.load(t[j].state,ln);if(i===-2)throw Error("_flushSync failed");if(i!==e)Atomics.wait(t[j].state,ln,i,1e3);else break;if(++n===10)throw new Error("_flushSync took too long (10s)")}}gS.exports=bp;});var Rp=R((eG,xS)=>{var{createRequire:eB}=H("module"),tB=cp(),{join:Ap,isAbsolute:nB}=H("path"),iB=gp(),_p=xp(),rB=yS();function sB(t){_p.register(t,aB),_p.registerBeforeExit(t,cB),t.on("close",function(){_p.unregister(t);});}function oB(t,e,n){let i=new rB({filename:t,workerData:e,workerOpts:n});i.on("ready",s),i.on("close",function(){process.removeListener("exit",r);}),process.on("exit",r);function s(){process.removeListener("exit",r),i.unref(),n.autoEnd!==!1&&sB(i);}function r(){i.closed||(i.flushSync(),iB(100),i.end());}return i}function aB(t){t.ref(),t.flushSync(),t.end(),t.once("close",function(){t.unref();});}function cB(t){t.flushSync();}function lB(t){let{pipeline:e,targets:n,levels:i,dedupe:s,options:r={},worker:o={},caller:a=tB()}=t,u=typeof a=="string"?[a]:a,f="__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{},c=t.target;if(c&&n)throw new Error("only one of target or targets can be specified");return n?(c=f["pino-worker"]||Ap(__dirname,"worker.js"),r.targets=n.map(g=>({...g,target:d(g.target)}))):e&&(c=f["pino-pipeline-worker"]||Ap(__dirname,"worker-pipeline.js"),r.targets=e.map(g=>({...g,target:d(g.target)}))),i&&(r.levels=i),s&&(r.dedupe=s),oB(d(c),r,o);function d(g){if(g=f[g]||g,nB(g)||g.indexOf("file://")===0)return g;if(g==="pino/file")return Ap(__dirname,"..","file.js");let h;for(let y of u)try{h=eB(y).resolve(g);break}catch{continue}if(!h)throw new Error(`unable to determine transport target for "${g}"`);return h}}xS.exports=lB;});var La=R((tG,kS)=>{var vS=Y0(),{mapHttpRequest:uB,mapHttpResponse:pB}=ap(),Cp=tS(),bS=xp(),{lsCacheSym:fB,chindingsSym:AS,writeSym:wS,serializersSym:_S,formatOptsSym:SS,endSym:dB,stringifiersSym:RS,stringifySym:CS,stringifySafeSym:Tp,wildcardFirstSym:TS,nestedKeySym:mB,formattersSym:OS,messageKeySym:hB,errorKeySym:gB,nestedKeyStrSym:yB,msgPrefixSym:Fa}=hr(),{isMainThread:xB}=H("worker_threads"),vB=Rp();function yr(){}function bB(t,e){if(!e)return n;return function(...s){e.call(this,s,n,t);};function n(i,...s){if(typeof i=="object"){let r=i;i!==null&&(i.method&&i.headers&&i.socket?i=uB(i):typeof i.setHeader=="function"&&(i=pB(i)));let o;r===null&&s.length===0?o=[null]:(r=s.shift(),o=s),typeof this[Fa]=="string"&&r!==void 0&&r!==null&&(r=this[Fa]+r),this[wS](i,vS(r,o,this[SS]),t);}else {let r=i===void 0?s.shift():i;typeof this[Fa]=="string"&&r!==void 0&&r!==null&&(r=this[Fa]+r),this[wS](null,vS(r,s,this[SS]),t);}}}function ES(t){let e="",n=0,i=!1,s=255,r=t.length;if(r>100)return JSON.stringify(t);for(var o=0;o=32;o++)s=t.charCodeAt(o),(s===34||s===92)&&(e+=t.slice(n,o)+"\\",n=o,i=!0);return i?e+=t.slice(n):e=t,s<32?JSON.stringify(t):'"'+e+'"'}function wB(t,e,n,i){let s=this[CS],r=this[Tp],o=this[RS],a=this[dB],u=this[AS],f=this[_S],c=this[OS],d=this[hB],g=this[gB],h=this[fB][n]+i;h=h+u;let y;c.log&&(t=c.log(t));let b=o[TS],A="";for(let S in t)if(y=t[S],Object.prototype.hasOwnProperty.call(t,S)&&y!==void 0){f[S]?y=f[S](y):S===g&&f.err&&(y=f.err(y));let C=o[S]||b;switch(typeof y){case"undefined":case"function":continue;case"number":Number.isFinite(y)===!1&&(y=null);case"boolean":C&&(y=C(y));break;case"string":y=(C||ES)(y);break;default:y=(C||s)(y,r);}if(y===void 0)continue;A+=',"'+S+'":'+y;}let _="";if(e!==void 0){y=f[d]?f[d](e):e;let S=o[d]||b;switch(typeof y){case"function":break;case"number":Number.isFinite(y)===!1&&(y=null);case"boolean":S&&(y=S(y)),_=',"'+d+'":'+y;break;case"string":y=(S||ES)(y),_=',"'+d+'":'+y;break;default:y=(S||s)(y,r),_=',"'+d+'":'+y;}}return this[mB]&&A?h+this[yB]+A.slice(1)+"}"+_+a:h+A+_+a}function SB(t,e){let n,i=t[AS],s=t[CS],r=t[Tp],o=t[RS],a=o[TS],u=t[_S],f=t[OS].bindings;e=f(e);for(let c in e)if(n=e[c],(c!=="level"&&c!=="serializers"&&c!=="formatters"&&c!=="customLevels"&&e.hasOwnProperty(c)&&n!==void 0)===!0){if(n=u[c]?u[c](n):n,n=(o[c]||a||s)(n,r),n===void 0)continue;i+=',"'+c+'":'+n;}return i}function EB(t){return t.write!==t.constructor.prototype.write}function Ia(t){let e=new Cp(t);return e.on("error",n),!t.sync&&xB&&(bS.register(e,AB),e.on("close",function(){bS.unregister(e);})),e;function n(i){if(i.code==="EPIPE"){e.write=yr,e.end=yr,e.flushSync=yr,e.destroy=yr;return}e.removeListener("error",n),e.emit("error",i);}}function AB(t,e){t.destroyed||(e==="beforeExit"?(t.flush(),t.on("drain",function(){t.end();})):t.flushSync());}function _B(t){return function(n,i,s={},r){if(typeof s=="string")r=Ia({dest:s}),s={};else if(typeof r=="string"){if(s&&s.transport)throw Error("only one of option.transport or stream can be specified");r=Ia({dest:r});}else if(s instanceof Cp||s.writable||s._writableState)r=s,s={};else if(s.transport){if(s.transport instanceof Cp||s.transport.writable||s.transport._writableState)throw Error("option.transport do not allow stream, please pass to option directly. e.g. pino(transport)");if(s.transport.targets&&s.transport.targets.length&&s.formatters&&typeof s.formatters.level=="function")throw Error("option.transport.targets do not allow custom level formatters");let u;s.customLevels&&(u=s.useOnlyCustomLevels?s.customLevels:Object.assign({},s.levels,s.customLevels)),r=vB({caller:i,...s.transport,levels:u});}if(s=Object.assign({},t,s),s.serializers=Object.assign({},t.serializers,s.serializers),s.formatters=Object.assign({},t.formatters,s.formatters),s.prettyPrint)throw new Error("prettyPrint option is no longer supported, see the pino-pretty package (https://github.com/pinojs/pino-pretty)");let{enabled:o,onChild:a}=s;return o===!1&&(s.level="silent"),a||(s.onChild=yr),r||(EB(process.stdout)?r=process.stdout:r=Ia({fd:process.stdout.fd||1})),{opts:s,stream:r}}}function RB(t,e){try{return JSON.stringify(t)}catch{try{return (e||this[Tp])(t)}catch{return '"[unable to serialize, circular reference is too complex to analyze]"'}}}function CB(t,e,n){return {level:t,bindings:e,log:n}}function TB(t){let e=Number(t);return typeof t=="string"&&Number.isFinite(e)?e:t===void 0?1:t}kS.exports={noop:yr,buildSafeSonicBoom:Ia,asChindings:SB,asJson:wB,genLog:bB,createArgsNormalizer:_B,stringify:RB,buildFormatters:CB,normalizeDestFileDescriptor:TB};});var qa=R((nG,FS)=>{var{lsCacheSym:OB,levelValSym:Op,useOnlyCustomLevelsSym:kB,streamSym:PB,formattersSym:FB,hooksSym:IB}=hr(),{noop:LB,genLog:Ei}=La(),Jt={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},PS={fatal:t=>{let e=Ei(Jt.fatal,t);return function(...n){let i=this[PB];if(e.call(this,...n),typeof i.flushSync=="function")try{i.flushSync();}catch{}}},error:t=>Ei(Jt.error,t),warn:t=>Ei(Jt.warn,t),info:t=>Ei(Jt.info,t),debug:t=>Ei(Jt.debug,t),trace:t=>Ei(Jt.trace,t)},kp=Object.keys(Jt).reduce((t,e)=>(t[Jt[e]]=e,t),{}),qB=Object.keys(kp).reduce((t,e)=>(t[e]='{"level":'+Number(e),t),{});function $B(t){let e=t[FB].level,{labels:n}=t.levels,i={};for(let s in n){let r=e(n[s],Number(s));i[s]=JSON.stringify(r).slice(0,-1);}return t[OB]=i,t}function BB(t,e){if(e)return !1;switch(t){case"fatal":case"error":case"warn":case"info":case"debug":case"trace":return !0;default:return !1}}function DB(t){let{labels:e,values:n}=this.levels;if(typeof t=="number"){if(e[t]===void 0)throw Error("unknown level value"+t);t=e[t];}if(n[t]===void 0)throw Error("unknown level "+t);let i=this[Op],s=this[Op]=n[t],r=this[kB],o=this[IB].logMethod;for(let a in n){if(s>n[a]){this[a]=LB;continue}this[a]=BB(a,r)?PS[a](o):Ei(n[a],o);}this.emit("level-change",t,s,e[i],i,this);}function jB(t){let{levels:e,levelVal:n}=this;return e&&e.labels?e.labels[n]:""}function NB(t){let{values:e}=this.levels,n=e[t];return n!==void 0&&n>=this[Op]}function UB(t=null,e=!1){let n=t?Object.keys(t).reduce((r,o)=>(r[t[o]]=o,r),{}):null,i=Object.assign(Object.create(Object.prototype,{Infinity:{value:"silent"}}),e?null:kp,n),s=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),e?null:Jt,t);return {labels:i,values:s}}function MB(t,e,n){if(typeof t=="number"){if(![].concat(Object.keys(e||{}).map(r=>e[r]),n?[]:Object.keys(kp).map(r=>+r),1/0).includes(t))throw Error(`default level:${t} must be included in custom levels`);return}let i=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),n?null:Jt,e);if(!(t in i))throw Error(`default level:${t} must be included in custom levels`)}function zB(t,e){let{labels:n,values:i}=t;for(let s in e){if(s in i)throw Error("levels cannot be overridden");if(e[s]in n)throw Error("pre-existing level values cannot be used for new levels")}}FS.exports={initialLsCache:qB,genLsCache:$B,levelMethods:PS,getLevel:jB,setLevel:DB,isLevelEnabled:NB,mappings:UB,levels:Jt,assertNoLevelCollisions:zB,assertDefaultLevelFound:MB};});var Pp=R((iG,IS)=>{IS.exports={version:"8.14.1"};});var HS=R((sG,zS)=>{var{EventEmitter:HB}=H("events"),{lsCacheSym:WB,levelValSym:GB,setLevelSym:Ip,getLevelSym:LS,chindingsSym:Lp,parsedChindingsSym:VB,mixinSym:KB,asJsonSym:jS,writeSym:JB,mixinMergeStrategySym:YB,timeSym:XB,timeSliceIndexSym:QB,streamSym:NS,serializersSym:Ai,formattersSym:Fp,errorKeySym:ZB,useOnlyCustomLevelsSym:eD,needsMetadataGsym:tD,redactFmtSym:nD,stringifySym:iD,formatOptsSym:rD,stringifiersSym:sD,msgPrefixSym:qS}=hr(),{getLevel:oD,setLevel:aD,isLevelEnabled:cD,mappings:lD,initialLsCache:uD,genLsCache:pD,assertNoLevelCollisions:fD}=qa(),{asChindings:US,asJson:dD,buildFormatters:$S,stringify:BS}=La(),{version:mD}=Pp(),hD=mp(),gD=class{},MS={constructor:gD,child:yD,bindings:xD,setBindings:vD,flush:ED,isLevelEnabled:cD,version:mD,get level(){return this[LS]()},set level(t){this[Ip](t);},get levelVal(){return this[GB]},set levelVal(t){throw Error("levelVal is read-only")},[WB]:uD,[JB]:wD,[jS]:dD,[LS]:oD,[Ip]:aD};Object.setPrototypeOf(MS,HB.prototype);zS.exports=function(){return Object.create(MS)};var DS=t=>t;function yD(t,e){if(!t)throw Error("missing bindings for child Pino");e=e||{};let n=this[Ai],i=this[Fp],s=Object.create(this);if(e.hasOwnProperty("serializers")===!0){s[Ai]=Object.create(null);for(let c in n)s[Ai][c]=n[c];let u=Object.getOwnPropertySymbols(n);for(var r=0;r{var{hasOwnProperty:$a}=Object.prototype,Ri=Bp();Ri.configure=Bp;Ri.stringify=Ri;Ri.default=Ri;Dp.stringify=Ri;Dp.configure=Bp;KS.exports=Ri;var AD=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/;function Zn(t){return t.length<5e3&&!AD.test(t)?`"${t}"`:JSON.stringify(t)}function qp(t){if(t.length>200)return t.sort();for(let e=1;en;)t[i]=t[i-1],i--;t[i]=n;}return t}var _D=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function $p(t){return _D.call(t)!==void 0&&t.length!==0}function WS(t,e,n){t.length= 1`)}return n===void 0?1/0:n}function _i(t){return t===1?"1 item":`${t} items`}function CD(t){let e=new Set;for(let n of t)(typeof n=="string"||typeof n=="number")&&e.add(String(n));return e}function TD(t){if($a.call(t,"strict")){let e=t.strict;if(typeof e!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(e)return n=>{let i=`Object can not safely be stringified. Received type ${typeof n}`;throw typeof n!="function"&&(i+=` (${n.toString()})`),new Error(i)}}}function Bp(t){t={...t};let e=TD(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let n=RD(t),i=GS(t,"bigint"),s=GS(t,"deterministic"),r=VS(t,"maximumDepth"),o=VS(t,"maximumBreadth");function a(g,h,y,b,A,_){let S=h[g];switch(typeof S=="object"&&S!==null&&typeof S.toJSON=="function"&&(S=S.toJSON(g)),S=b.call(h,g,S),typeof S){case"string":return Zn(S);case"object":{if(S===null)return "null";if(y.indexOf(S)!==-1)return n;let C="",I=",",q=_;if(Array.isArray(S)){if(S.length===0)return "[]";if(ro){let re=S.length-o-1;C+=`${I}"... ${_i(re)} not stringified"`;}return A!==""&&(C+=` -${q}`),y.pop(),`[${C}]`}let J=Object.keys(S),W=J.length;if(W===0)return "{}";if(ro){let T=W-o;C+=`${$}"...":${D}"${_i(T)} not stringified"`,$=I;}return A!==""&&$.length>1&&(C=` + `}});var N0=R((z9,j0)=>{j0.exports=F2;function F2(t){let{secret:e,censor:n,compileRestore:i,serialize:s,groupRedact:r,nestedRedact:o,wildcards:a,wcLen:u}=t,f=[{secret:e,censor:n,compileRestore:i}];return s!==!1&&f.push({serialize:s}),u>0&&f.push({groupRedact:r,nestedRedact:o,wildcards:a,wcLen:u}),Object.assign(...f)}});var z0=R((H9,M0)=>{var U0=C0(),L2=k0(),q2=I0(),$2=B0(),{groupRedact:D2,nestedRedact:B2}=up(),j2=N0(),N2=Ra(),U2=U0(),pp=t=>t;pp.restore=pp;var M2="[REDACTED]";fp.rx=N2;fp.validator=U0;M0.exports=fp;function fp(t={}){let e=Array.from(new Set(t.paths||[])),n="serialize"in t&&(t.serialize===!1||typeof t.serialize=="function")?t.serialize:JSON.stringify,i=t.remove;if(i===!0&&n!==JSON.stringify)throw Error("fast-redact \u2013 remove option may only be set when serializer is JSON.stringify");let s=i===!0?void 0:"censor"in t?t.censor:M2,r=typeof s=="function",o=r&&s.length>1;if(e.length===0)return n||pp;U2({paths:e,serialize:n,censor:s});let{wildcards:a,wcLen:u,secret:f}=L2({paths:e,censor:s}),c=$2({secret:f,wcLen:u}),d="strict"in t?t.strict:!0;return q2({secret:f,wcLen:u,serialize:n,strict:d,isCensorFct:r,censorFctTakesPath:o},j2({secret:f,censor:s,compileRestore:c,serialize:n,groupRedact:D2,nestedRedact:B2,wildcards:a,wcLen:u}))}});var gr=R((W9,H0)=>{var z2=Symbol("pino.setLevel"),H2=Symbol("pino.getLevel"),W2=Symbol("pino.levelVal"),G2=Symbol("pino.useLevelLabels"),V2=Symbol("pino.useOnlyCustomLevels"),K2=Symbol("pino.mixin"),J2=Symbol("pino.lsCache"),Y2=Symbol("pino.chindings"),X2=Symbol("pino.asJson"),Q2=Symbol("pino.write"),Z2=Symbol("pino.redactFmt"),e$=Symbol("pino.time"),t$=Symbol("pino.timeSliceIndex"),n$=Symbol("pino.stream"),i$=Symbol("pino.stringify"),r$=Symbol("pino.stringifySafe"),s$=Symbol("pino.stringifiers"),o$=Symbol("pino.end"),a$=Symbol("pino.formatOpts"),c$=Symbol("pino.messageKey"),l$=Symbol("pino.errorKey"),u$=Symbol("pino.nestedKey"),p$=Symbol("pino.nestedKeyStr"),f$=Symbol("pino.mixinMergeStrategy"),d$=Symbol("pino.msgPrefix"),m$=Symbol("pino.wildcardFirst"),h$=Symbol.for("pino.serializers"),g$=Symbol.for("pino.formatters"),y$=Symbol.for("pino.hooks"),x$=Symbol.for("pino.metadata");H0.exports={setLevelSym:z2,getLevelSym:H2,levelValSym:W2,useLevelLabelsSym:G2,mixinSym:K2,lsCacheSym:J2,chindingsSym:Y2,asJsonSym:X2,writeSym:Q2,serializersSym:h$,redactFmtSym:Z2,timeSym:e$,timeSliceIndexSym:t$,streamSym:n$,stringifySym:i$,stringifySafeSym:r$,stringifiersSym:s$,endSym:o$,formatOptsSym:a$,messageKeySym:c$,errorKeySym:l$,nestedKeySym:u$,wildcardFirstSym:m$,needsMetadataGsym:x$,useOnlyCustomLevelsSym:V2,formattersSym:g$,hooksSym:y$,nestedKeyStrSym:p$,mixinMergeStrategySym:f$,msgPrefixSym:d$};});var hp=R((G9,K0)=>{var mp=z0(),{redactFmtSym:v$,wildcardFirstSym:Ca}=gr(),{rx:dp,validator:b$}=mp,W0=b$({ERR_PATHS_MUST_BE_STRINGS:()=>"pino \u2013 redacted paths must be strings",ERR_INVALID_PATH:t=>`pino \u2013 redact paths array contains an invalid path (${t})`}),G0="[Redacted]",V0=!1;function w$(t,e){let{paths:n,censor:i}=S$(t),s=n.reduce((a,u)=>{dp.lastIndex=0;let f=dp.exec(u),c=dp.exec(u),d=f[1]!==void 0?f[1].replace(/^(?:"|'|`)(.*)(?:"|'|`)$/,"$1"):f[0];if(d==="*"&&(d=Ca),c===null)return a[d]=null,a;if(a[d]===null)return a;let{index:g}=c,h=`${u.substr(g,u.length-1)}`;return a[d]=a[d]||[],d!==Ca&&a[d].length===0&&a[d].push(...a[Ca]||[]),d===Ca&&Object.keys(a).forEach(function(y){a[y]&&a[y].push(h);}),a[d].push(h),a},{}),r={[v$]:mp({paths:n,censor:i,serialize:e,strict:V0})},o=(...a)=>e(typeof i=="function"?i(...a):i);return [...Object.keys(s),...Object.getOwnPropertySymbols(s)].reduce((a,u)=>{if(s[u]===null)a[u]=f=>o(f,[u]);else {let f=typeof i=="function"?(c,d)=>i(c,[u,...d]):i;a[u]=mp({paths:s[u],censor:f,serialize:e,strict:V0});}return a},r)}function S$(t){if(Array.isArray(t))return t={paths:t,censor:G0},W0(t),t;let{paths:e,censor:n=G0,remove:i}=t;if(Array.isArray(e)===!1)throw Error("pino \u2013 redact must contain an array of strings");return i===!0&&(n=void 0),W0({paths:e,censor:n}),{paths:e,censor:n}}K0.exports=w$;});var Y0=R((V9,J0)=>{var E$=()=>"",A$=()=>`,"time":${Date.now()}`,_$=()=>`,"time":${Math.round(Date.now()/1e3)}`,R$=()=>`,"time":"${new Date(Date.now()).toISOString()}"`;J0.exports={nullTime:E$,epochTime:A$,unixTime:_$,isoTime:R$};});var Q0=R((K9,X0)=>{function C$(t){try{return JSON.stringify(t)}catch{return '"[Circular]"'}}X0.exports=T$;function T$(t,e,n){var i=n&&n.stringify||C$,s=1;if(typeof t=="object"&&t!==null){var r=e.length+s;if(r===1)return t;var o=new Array(r);o[0]=i(t);for(var a=1;a-1?d:0,t.charCodeAt(h+1)){case 100:case 102:if(c>=u||e[c]==null)break;d=u||e[c]==null)break;d=u||e[c]===void 0)break;d",d=h+2,h++;break}f+=i(e[c]),d=h+2,h++;break;case 115:if(c>=u)break;d{if(typeof SharedArrayBuffer<"u"&&typeof Atomics<"u"){let e=function(n){if((n>0&&n<1/0)===!1)throw typeof n!="number"&&typeof n!="bigint"?TypeError("sleep: ms must be a number"):RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");Atomics.wait(t,0,0,Number(n));},t=new Int32Array(new SharedArrayBuffer(4));gp.exports=e;}else {let t=function(e){if((e>0&&e<1/0)===!1)throw typeof e!="number"&&typeof e!="bigint"?TypeError("sleep: ms must be a number"):RangeError("sleep: ms must be a number that is greater than 0 but less than Infinity");};gp.exports=t;}});var iS=R((Y9,nS)=>{var gt=H("fs"),O$=H("events"),k$=H("util").inherits,Z0=H("path"),eS=yp(),xp=100,P$=16*1024;function tS(t,e){e._opening=!0,e._writing=!0,e._asyncDrainScheduled=!1;function n(r,o){if(r){e._reopening=!1,e._writing=!1,e._opening=!1,e.sync?process.nextTick(()=>{e.listenerCount("error")>0&&e.emit("error",r);}):e.emit("error",r);return}e.fd=o,e.file=t,e._reopening=!1,e._opening=!1,e._writing=!1,e.sync?process.nextTick(()=>e.emit("ready")):e.emit("ready"),!e._reopening&&!e._writing&&e._len>e.minLength&&!e.destroyed&&yr(e);}let i=e.append?"a":"w",s=e.mode;if(e.sync)try{e.mkdir&>.mkdirSync(Z0.dirname(t),{recursive:!0});let r=gt.openSync(t,i,s);n(null,r);}catch(r){throw n(r),r}else e.mkdir?gt.mkdir(Z0.dirname(t),{recursive:!0},r=>{if(r)return n(r);gt.open(t,i,s,n);}):gt.open(t,i,s,n);}function yt(t){if(!(this instanceof yt))return new yt(t);let{fd:e,dest:n,minLength:i,maxLength:s,maxWrite:r,sync:o,append:a=!0,mode:u,mkdir:f,retryEAGAIN:c,fsync:d}=t||{};if(e=e||n,this._bufs=[],this._len=0,this.fd=-1,this._writing=!1,this._writingBuf="",this._ending=!1,this._reopening=!1,this._asyncDrainScheduled=!1,this._hwm=Math.max(i||0,16387),this.file=null,this.destroyed=!1,this.minLength=i||0,this.maxLength=s||0,this.maxWrite=r||P$,this.sync=o||!1,this._fsync=d||!1,this.append=a||!1,this.mode=u,this.retryEAGAIN=c||(()=>!0),this.mkdir=f||!1,typeof e=="number")this.fd=e,process.nextTick(()=>this.emit("ready"));else if(typeof e=="string")tS(e,this);else throw new Error("SonicBoom supports only file descriptors and files");if(this.minLength>=this.maxWrite)throw new Error(`minLength should be smaller than maxWrite (${this.maxWrite})`);this.release=(g,h)=>{if(g){if((g.code==="EAGAIN"||g.code==="EBUSY")&&this.retryEAGAIN(g,this._writingBuf.length,this._len-this._writingBuf.length))if(this.sync)try{eS(xp),this.release(void 0,0);}catch(b){this.release(b);}else setTimeout(()=>{gt.write(this.fd,this._writingBuf,"utf8",this.release);},xp);else this._writing=!1,this.emit("error",g);return}if(this.emit("write",h),this._len-=h,this._len<0&&(this._len=0),this._writingBuf=this._writingBuf.slice(h),this._writingBuf.length){if(!this.sync){gt.write(this.fd,this._writingBuf,"utf8",this.release);return}try{do{let b=gt.writeSync(this.fd,this._writingBuf,"utf8");this._len-=b,this._writingBuf=this._writingBuf.slice(b);}while(this._writingBuf)}catch(b){this.release(b);return}}this._fsync&>.fsyncSync(this.fd);let y=this._len;this._reopening?(this._writing=!1,this._reopening=!1,this.reopen()):y>this.minLength?yr(this):this._ending?y>0?yr(this):(this._writing=!1,Ta(this)):(this._writing=!1,this.sync?this._asyncDrainScheduled||(this._asyncDrainScheduled=!0,process.nextTick(I$,this)):this.emit("drain"));},this.on("newListener",function(g){g==="drain"&&(this._asyncDrainScheduled=!1);});}function I$(t){t.listenerCount("drain")>0&&(t._asyncDrainScheduled=!1,t.emit("drain"));}k$(yt,O$);yt.prototype.write=function(t){if(this.destroyed)throw new Error("SonicBoom destroyed");let e=this._len+t.length,n=this._bufs;return this.maxLength&&e>this.maxLength?(this.emit("drop",t),this._lenthis.maxWrite?n.push(""+t):n[n.length-1]+=t,this._len=e,!this._writing&&this._len>=this.minLength&&yr(this),this._len{this.reopen(t);});return}if(this._ending)return;if(!this.file)throw new Error("Unable to reopen a file descriptor, you must pass a file to SonicBoom");if(this._reopening=!0,this._writing)return;let e=this.fd;this.once("ready",()=>{e!==this.fd&>.close(e,n=>{if(n)return this.emit("error",n)});}),tS(t||this.file,this);};yt.prototype.end=function(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this._opening){this.once("ready",()=>{this.end();});return}this._ending||(this._ending=!0,!this._writing&&(this._len>0&&this.fd>=0?yr(this):Ta(this)));};yt.prototype.flushSync=function(){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this.fd<0)throw new Error("sonic boom is not ready yet");!this._writing&&this._writingBuf.length>0&&(this._bufs.unshift(this._writingBuf),this._writingBuf="");let t="";for(;this._bufs.length||t.length;){t.length<=0&&(t=this._bufs[0]);try{let e=gt.writeSync(this.fd,t,"utf8");t=t.slice(e),this._len=Math.max(this._len-e,0),t.length<=0&&this._bufs.shift();}catch(e){if((e.code==="EAGAIN"||e.code==="EBUSY")&&!this.retryEAGAIN(e,t.length,this._len-t.length))throw e;eS(xp);}}};yt.prototype.destroy=function(){this.destroyed||Ta(this);};function yr(t){let e=t.release;if(t._writing=!0,t._writingBuf=t._writingBuf||t._bufs.shift()||"",t.sync)try{let n=gt.writeSync(t.fd,t._writingBuf,"utf8");e(null,n);}catch(n){e(n);}else gt.write(t.fd,t._writingBuf,"utf8",e);}function Ta(t){if(t.fd===-1){t.once("ready",Ta.bind(null,t));return}t.destroyed=!0,t._bufs=[],t.fd!==1&&t.fd!==2?gt.close(t.fd,e):setImmediate(e);function e(n){if(n){t.emit("error",n);return}t._ending&&!t._writing&&t.emit("finish"),t.emit("close");}}yt.SonicBoom=yt;yt.default=yt;nS.exports=yt;});var vp=R((X9,lS)=>{var Qn={exit:[],beforeExit:[]},rS={exit:L$,beforeExit:q$},sS=new FinalizationRegistry($$);function F$(t){Qn[t].length>0||process.on(t,rS[t]);}function oS(t){Qn[t].length>0||process.removeListener(t,rS[t]);}function L$(){aS("exit");}function q$(){aS("beforeExit");}function aS(t){for(let e of Qn[t]){let n=e.deref(),i=e.fn;n!==void 0&&i(n,t);}}function $$(t){for(let e of ["exit","beforeExit"]){let n=Qn[e].indexOf(t);Qn[e].splice(n,n+1),oS(e);}}function cS(t,e,n){if(e===void 0)throw new Error("the object can't be undefined");F$(t);let i=new WeakRef(e);i.fn=n,sS.register(e,i),Qn[t].push(i);}function D$(t,e){cS("exit",t,e);}function B$(t,e){cS("beforeExit",t,e);}function j$(t){sS.unregister(t);for(let e of ["exit","beforeExit"])Qn[e]=Qn[e].filter(n=>{let i=n.deref();return i&&i!==t}),oS(e);}lS.exports={register:D$,registerBeforeExit:B$,unregister:j$};});var uS=R((Q9,N$)=>{N$.exports={name:"thread-stream",version:"2.3.0",description:"A streaming way to send data to a Node.js Worker Thread",main:"index.js",types:"index.d.ts",dependencies:{"real-require":"^0.2.0"},devDependencies:{"@types/node":"^18.0.0","@types/tap":"^15.0.0",desm:"^1.3.0",fastbench:"^1.0.1",husky:"^8.0.1","sonic-boom":"^3.0.0",standard:"^17.0.0",tap:"^16.2.0","ts-node":"^10.8.0",typescript:"^4.7.2","why-is-node-running":"^2.2.2"},scripts:{test:"standard && npm run transpile && tap test/*.test.*js && tap --ts test/*.test.*ts","test:ci":"standard && npm run transpile && npm run test:ci:js && npm run test:ci:ts","test:ci:js":'tap --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*js"',"test:ci:ts":'tap --ts --no-check-coverage --coverage-report=lcovonly "test/**/*.test.*ts"',"test:yarn":'npm run transpile && tap "test/**/*.test.js" --no-check-coverage',transpile:"sh ./test/ts/transpile.sh",prepare:"husky install"},standard:{ignore:["test/ts/**/*"]},repository:{type:"git",url:"git+https://github.com/mcollina/thread-stream.git"},keywords:["worker","thread","threads","stream"],author:"Matteo Collina ",license:"MIT",bugs:{url:"https://github.com/mcollina/thread-stream/issues"},homepage:"https://github.com/mcollina/thread-stream#readme"};});var fS=R((Z9,pS)=>{function U$(t,e,n,i,s){let r=Date.now()+i,o=Atomics.load(t,e);if(o===n){s(null,"ok");return}let a=o,u=f=>{Date.now()>r?s(null,"timed-out"):setTimeout(()=>{a=o,o=Atomics.load(t,e),o===a?u(f>=1e3?1e3:f*2):o===n?s(null,"ok"):s(null,"not-equal");},f);};u(1);}function M$(t,e,n,i,s){let r=Date.now()+i,o=Atomics.load(t,e);if(o!==n){s(null,"ok");return}let a=u=>{Date.now()>r?s(null,"timed-out"):setTimeout(()=>{o=Atomics.load(t,e),o!==n?s(null,"ok"):a(u>=1e3?1e3:u*2);},u);};a(1);}pS.exports={wait:U$,waitDiff:M$};});var mS=R((eG,dS)=>{dS.exports={WRITE_INDEX:4,READ_INDEX:8};});var vS=R((nG,xS)=>{var{version:z$}=uS(),{EventEmitter:H$}=H("events"),{Worker:W$}=H("worker_threads"),{join:G$}=H("path"),{pathToFileURL:V$}=H("url"),{wait:K$}=fS(),{WRITE_INDEX:xt,READ_INDEX:ln}=mS(),J$=H("buffer"),Y$=H("assert"),j=Symbol("kImpl"),X$=J$.constants.MAX_STRING_LENGTH,ka=class{constructor(e){this._value=e;}deref(){return this._value}},Q$=global.FinalizationRegistry||class{register(){}unregister(){}},Z$=global.WeakRef||ka,hS=new Q$(t=>{t.exited||t.terminate();});function eD(t,e){let{filename:n,workerData:i}=e,r=("__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{})["thread-stream-worker"]||G$(__dirname,"lib","worker.js"),o=new W$(r,{...e.workerOpts,trackUnmanagedFds:!1,workerData:{filename:n.indexOf("file://")===0?n:V$(n).href,dataBuf:t[j].dataBuf,stateBuf:t[j].stateBuf,workerData:{$context:{threadStreamVersion:z$},...i}}});return o.stream=new ka(t),o.on("message",tD),o.on("exit",yS),hS.register(t,o),o}function gS(t){Y$(!t[j].sync),t[j].needDrain&&(t[j].needDrain=!1,t.emit("drain"));}function Oa(t){let e=Atomics.load(t[j].state,xt),n=t[j].data.length-e;if(n>0){if(t[j].buf.length===0){t[j].flushing=!1,t[j].ending?Ap(t):t[j].needDrain&&process.nextTick(gS,t);return}let i=t[j].buf.slice(0,n),s=Buffer.byteLength(i);s<=n?(t[j].buf=t[j].buf.slice(n),Pa(t,i,Oa.bind(null,t))):t.flush(()=>{if(!t.destroyed){for(Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0);s>t[j].data.length;)n=n/2,i=t[j].buf.slice(0,n),s=Buffer.byteLength(i);t[j].buf=t[j].buf.slice(n),Pa(t,i,Oa.bind(null,t));}});}else if(n===0){if(e===0&&t[j].buf.length===0)return;t.flush(()=>{Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0),Oa(t);});}else un(t,new Error("overwritten"));}function tD(t){let e=this.stream.deref();if(e===void 0){this.exited=!0,this.terminate();return}switch(t.code){case"READY":this.stream=new Z$(e),e.flush(()=>{e[j].ready=!0,e.emit("ready");});break;case"ERROR":un(e,t.err);break;case"EVENT":Array.isArray(t.args)?e.emit(t.name,...t.args):e.emit(t.name,t.args);break;default:un(e,new Error("this should not happen: "+t.code));}}function yS(t){let e=this.stream.deref();e!==void 0&&(hS.unregister(e),e.worker.exited=!0,e.worker.off("exit",yS),un(e,t!==0?new Error("the worker thread exited"):null));}var wp=class extends H${constructor(e={}){if(super(),e.bufferSize<4)throw new Error("bufferSize must at least fit a 4-byte utf-8 char");this[j]={},this[j].stateBuf=new SharedArrayBuffer(128),this[j].state=new Int32Array(this[j].stateBuf),this[j].dataBuf=new SharedArrayBuffer(e.bufferSize||4*1024*1024),this[j].data=Buffer.from(this[j].dataBuf),this[j].sync=e.sync||!1,this[j].ending=!1,this[j].ended=!1,this[j].needDrain=!1,this[j].destroyed=!1,this[j].flushing=!1,this[j].ready=!1,this[j].finished=!1,this[j].errored=null,this[j].closed=!1,this[j].buf="",this.worker=eD(this,e);}write(e){if(this[j].destroyed)return Sp(this,new Error("the worker has exited")),!1;if(this[j].ending)return Sp(this,new Error("the worker is ending")),!1;if(this[j].flushing&&this[j].buf.length+e.length>=X$)try{bp(this),this[j].flushing=!0;}catch(n){return un(this,n),!1}if(this[j].buf+=e,this[j].sync)try{return bp(this),!0}catch(n){return un(this,n),!1}return this[j].flushing||(this[j].flushing=!0,setImmediate(Oa,this)),this[j].needDrain=this[j].data.length-this[j].buf.length-Atomics.load(this[j].state,xt)<=0,!this[j].needDrain}end(){this[j].destroyed||(this[j].ending=!0,Ap(this));}flush(e){if(this[j].destroyed){typeof e=="function"&&process.nextTick(e,new Error("the worker has exited"));return}let n=Atomics.load(this[j].state,xt);K$(this[j].state,ln,n,1/0,(i,s)=>{if(i){un(this,i),process.nextTick(e,i);return}if(s==="not-equal"){this.flush(e);return}process.nextTick(e);});}flushSync(){this[j].destroyed||(bp(this),Ep(this));}unref(){this.worker.unref();}ref(){this.worker.ref();}get ready(){return this[j].ready}get destroyed(){return this[j].destroyed}get closed(){return this[j].closed}get writable(){return !this[j].destroyed&&!this[j].ending}get writableEnded(){return this[j].ending}get writableFinished(){return this[j].finished}get writableNeedDrain(){return this[j].needDrain}get writableObjectMode(){return !1}get writableErrored(){return this[j].errored}};function Sp(t,e){setImmediate(()=>{t.emit("error",e);});}function un(t,e){t[j].destroyed||(t[j].destroyed=!0,e&&(t[j].errored=e,Sp(t,e)),t.worker.exited?setImmediate(()=>{t[j].closed=!0,t.emit("close");}):t.worker.terminate().catch(()=>{}).then(()=>{t[j].closed=!0,t.emit("close");}));}function Pa(t,e,n){let i=Atomics.load(t[j].state,xt),s=Buffer.byteLength(e);return t[j].data.write(e,i),Atomics.store(t[j].state,xt,i+s),Atomics.notify(t[j].state,xt),n(),!0}function Ap(t){if(!(t[j].ended||!t[j].ending||t[j].flushing)){t[j].ended=!0;try{t.flushSync();let e=Atomics.load(t[j].state,ln);Atomics.store(t[j].state,xt,-1),Atomics.notify(t[j].state,xt);let n=0;for(;e!==-1;){if(Atomics.wait(t[j].state,ln,e,1e3),e=Atomics.load(t[j].state,ln),e===-2){un(t,new Error("end() failed"));return}if(++n===10){un(t,new Error("end() took too long (10s)"));return}}process.nextTick(()=>{t[j].finished=!0,t.emit("finish");});}catch(e){un(t,e);}}}function bp(t){let e=()=>{t[j].ending?Ap(t):t[j].needDrain&&process.nextTick(gS,t);};for(t[j].flushing=!1;t[j].buf.length!==0;){let n=Atomics.load(t[j].state,xt),i=t[j].data.length-n;if(i===0){Ep(t),Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0);continue}else if(i<0)throw new Error("overwritten");let s=t[j].buf.slice(0,i),r=Buffer.byteLength(s);if(r<=i)t[j].buf=t[j].buf.slice(i),Pa(t,s,e);else {for(Ep(t),Atomics.store(t[j].state,ln,0),Atomics.store(t[j].state,xt,0);r>t[j].buf.length;)i=i/2,s=t[j].buf.slice(0,i),r=Buffer.byteLength(s);t[j].buf=t[j].buf.slice(i),Pa(t,s,e);}}}function Ep(t){if(t[j].flushing)throw new Error("unable to flush while flushing");let e=Atomics.load(t[j].state,xt),n=0;for(;;){let i=Atomics.load(t[j].state,ln);if(i===-2)throw Error("_flushSync failed");if(i!==e)Atomics.wait(t[j].state,ln,i,1e3);else break;if(++n===10)throw new Error("_flushSync took too long (10s)")}}xS.exports=wp;});var Cp=R((iG,bS)=>{var{createRequire:nD}=H("module"),iD=lp(),{join:_p,isAbsolute:rD}=H("path"),sD=yp(),Rp=vp(),oD=vS();function aD(t){Rp.register(t,lD),Rp.registerBeforeExit(t,uD),t.on("close",function(){Rp.unregister(t);});}function cD(t,e,n){let i=new oD({filename:t,workerData:e,workerOpts:n});i.on("ready",s),i.on("close",function(){process.removeListener("exit",r);}),process.on("exit",r);function s(){process.removeListener("exit",r),i.unref(),n.autoEnd!==!1&&aD(i);}function r(){i.closed||(i.flushSync(),sD(100),i.end());}return i}function lD(t){t.ref(),t.flushSync(),t.end(),t.once("close",function(){t.unref();});}function uD(t){t.flushSync();}function pD(t){let{pipeline:e,targets:n,levels:i,dedupe:s,options:r={},worker:o={},caller:a=iD()}=t,u=typeof a=="string"?[a]:a,f="__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{},c=t.target;if(c&&n)throw new Error("only one of target or targets can be specified");return n?(c=f["pino-worker"]||_p(__dirname,"worker.js"),r.targets=n.map(g=>({...g,target:d(g.target)}))):e&&(c=f["pino-pipeline-worker"]||_p(__dirname,"worker-pipeline.js"),r.targets=e.map(g=>({...g,target:d(g.target)}))),i&&(r.levels=i),s&&(r.dedupe=s),cD(d(c),r,o);function d(g){if(g=f[g]||g,rD(g)||g.indexOf("file://")===0)return g;if(g==="pino/file")return _p(__dirname,"..","file.js");let h;for(let y of u)try{h=nD(y).resolve(g);break}catch{continue}if(!h)throw new Error(`unable to determine transport target for "${g}"`);return h}}bS.exports=pD;});var La=R((rG,IS)=>{var wS=Q0(),{mapHttpRequest:fD,mapHttpResponse:dD}=cp(),Tp=iS(),SS=vp(),{lsCacheSym:mD,chindingsSym:RS,writeSym:ES,serializersSym:CS,formatOptsSym:AS,endSym:hD,stringifiersSym:TS,stringifySym:OS,stringifySafeSym:Op,wildcardFirstSym:kS,nestedKeySym:gD,formattersSym:PS,messageKeySym:yD,errorKeySym:xD,nestedKeyStrSym:vD,msgPrefixSym:Ia}=gr(),{isMainThread:bD}=H("worker_threads"),wD=Cp();function xr(){}function SD(t,e){if(!e)return n;return function(...s){e.call(this,s,n,t);};function n(i,...s){if(typeof i=="object"){let r=i;i!==null&&(i.method&&i.headers&&i.socket?i=fD(i):typeof i.setHeader=="function"&&(i=dD(i)));let o;r===null&&s.length===0?o=[null]:(r=s.shift(),o=s),typeof this[Ia]=="string"&&r!==void 0&&r!==null&&(r=this[Ia]+r),this[ES](i,wS(r,o,this[AS]),t);}else {let r=i===void 0?s.shift():i;typeof this[Ia]=="string"&&r!==void 0&&r!==null&&(r=this[Ia]+r),this[ES](null,wS(r,s,this[AS]),t);}}}function _S(t){let e="",n=0,i=!1,s=255,r=t.length;if(r>100)return JSON.stringify(t);for(var o=0;o=32;o++)s=t.charCodeAt(o),(s===34||s===92)&&(e+=t.slice(n,o)+"\\",n=o,i=!0);return i?e+=t.slice(n):e=t,s<32?JSON.stringify(t):'"'+e+'"'}function ED(t,e,n,i){let s=this[OS],r=this[Op],o=this[TS],a=this[hD],u=this[RS],f=this[CS],c=this[PS],d=this[yD],g=this[xD],h=this[mD][n]+i;h=h+u;let y;c.log&&(t=c.log(t));let b=o[kS],A="";for(let S in t)if(y=t[S],Object.prototype.hasOwnProperty.call(t,S)&&y!==void 0){f[S]?y=f[S](y):S===g&&f.err&&(y=f.err(y));let C=o[S]||b;switch(typeof y){case"undefined":case"function":continue;case"number":Number.isFinite(y)===!1&&(y=null);case"boolean":C&&(y=C(y));break;case"string":y=(C||_S)(y);break;default:y=(C||s)(y,r);}if(y===void 0)continue;A+=',"'+S+'":'+y;}let _="";if(e!==void 0){y=f[d]?f[d](e):e;let S=o[d]||b;switch(typeof y){case"function":break;case"number":Number.isFinite(y)===!1&&(y=null);case"boolean":S&&(y=S(y)),_=',"'+d+'":'+y;break;case"string":y=(S||_S)(y),_=',"'+d+'":'+y;break;default:y=(S||s)(y,r),_=',"'+d+'":'+y;}}return this[gD]&&A?h+this[vD]+A.slice(1)+"}"+_+a:h+A+_+a}function AD(t,e){let n,i=t[RS],s=t[OS],r=t[Op],o=t[TS],a=o[kS],u=t[CS],f=t[PS].bindings;e=f(e);for(let c in e)if(n=e[c],(c!=="level"&&c!=="serializers"&&c!=="formatters"&&c!=="customLevels"&&e.hasOwnProperty(c)&&n!==void 0)===!0){if(n=u[c]?u[c](n):n,n=(o[c]||a||s)(n,r),n===void 0)continue;i+=',"'+c+'":'+n;}return i}function _D(t){return t.write!==t.constructor.prototype.write}function Fa(t){let e=new Tp(t);return e.on("error",n),!t.sync&&bD&&(SS.register(e,RD),e.on("close",function(){SS.unregister(e);})),e;function n(i){if(i.code==="EPIPE"){e.write=xr,e.end=xr,e.flushSync=xr,e.destroy=xr;return}e.removeListener("error",n),e.emit("error",i);}}function RD(t,e){t.destroyed||(e==="beforeExit"?(t.flush(),t.on("drain",function(){t.end();})):t.flushSync());}function CD(t){return function(n,i,s={},r){if(typeof s=="string")r=Fa({dest:s}),s={};else if(typeof r=="string"){if(s&&s.transport)throw Error("only one of option.transport or stream can be specified");r=Fa({dest:r});}else if(s instanceof Tp||s.writable||s._writableState)r=s,s={};else if(s.transport){if(s.transport instanceof Tp||s.transport.writable||s.transport._writableState)throw Error("option.transport do not allow stream, please pass to option directly. e.g. pino(transport)");if(s.transport.targets&&s.transport.targets.length&&s.formatters&&typeof s.formatters.level=="function")throw Error("option.transport.targets do not allow custom level formatters");let u;s.customLevels&&(u=s.useOnlyCustomLevels?s.customLevels:Object.assign({},s.levels,s.customLevels)),r=wD({caller:i,...s.transport,levels:u});}if(s=Object.assign({},t,s),s.serializers=Object.assign({},t.serializers,s.serializers),s.formatters=Object.assign({},t.formatters,s.formatters),s.prettyPrint)throw new Error("prettyPrint option is no longer supported, see the pino-pretty package (https://github.com/pinojs/pino-pretty)");let{enabled:o,onChild:a}=s;return o===!1&&(s.level="silent"),a||(s.onChild=xr),r||(_D(process.stdout)?r=process.stdout:r=Fa({fd:process.stdout.fd||1})),{opts:s,stream:r}}}function TD(t,e){try{return JSON.stringify(t)}catch{try{return (e||this[Op])(t)}catch{return '"[unable to serialize, circular reference is too complex to analyze]"'}}}function OD(t,e,n){return {level:t,bindings:e,log:n}}function kD(t){let e=Number(t);return typeof t=="string"&&Number.isFinite(e)?e:t===void 0?1:t}IS.exports={noop:xr,buildSafeSonicBoom:Fa,asChindings:AD,asJson:ED,genLog:SD,createArgsNormalizer:CD,stringify:TD,buildFormatters:OD,normalizeDestFileDescriptor:kD};});var qa=R((sG,LS)=>{var{lsCacheSym:PD,levelValSym:kp,useOnlyCustomLevelsSym:ID,streamSym:FD,formattersSym:LD,hooksSym:qD}=gr(),{noop:$D,genLog:Ai}=La(),Jt={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},FS={fatal:t=>{let e=Ai(Jt.fatal,t);return function(...n){let i=this[FD];if(e.call(this,...n),typeof i.flushSync=="function")try{i.flushSync();}catch{}}},error:t=>Ai(Jt.error,t),warn:t=>Ai(Jt.warn,t),info:t=>Ai(Jt.info,t),debug:t=>Ai(Jt.debug,t),trace:t=>Ai(Jt.trace,t)},Pp=Object.keys(Jt).reduce((t,e)=>(t[Jt[e]]=e,t),{}),DD=Object.keys(Pp).reduce((t,e)=>(t[e]='{"level":'+Number(e),t),{});function BD(t){let e=t[LD].level,{labels:n}=t.levels,i={};for(let s in n){let r=e(n[s],Number(s));i[s]=JSON.stringify(r).slice(0,-1);}return t[PD]=i,t}function jD(t,e){if(e)return !1;switch(t){case"fatal":case"error":case"warn":case"info":case"debug":case"trace":return !0;default:return !1}}function ND(t){let{labels:e,values:n}=this.levels;if(typeof t=="number"){if(e[t]===void 0)throw Error("unknown level value"+t);t=e[t];}if(n[t]===void 0)throw Error("unknown level "+t);let i=this[kp],s=this[kp]=n[t],r=this[ID],o=this[qD].logMethod;for(let a in n){if(s>n[a]){this[a]=$D;continue}this[a]=jD(a,r)?FS[a](o):Ai(n[a],o);}this.emit("level-change",t,s,e[i],i,this);}function UD(t){let{levels:e,levelVal:n}=this;return e&&e.labels?e.labels[n]:""}function MD(t){let{values:e}=this.levels,n=e[t];return n!==void 0&&n>=this[kp]}function zD(t=null,e=!1){let n=t?Object.keys(t).reduce((r,o)=>(r[t[o]]=o,r),{}):null,i=Object.assign(Object.create(Object.prototype,{Infinity:{value:"silent"}}),e?null:Pp,n),s=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),e?null:Jt,t);return {labels:i,values:s}}function HD(t,e,n){if(typeof t=="number"){if(![].concat(Object.keys(e||{}).map(r=>e[r]),n?[]:Object.keys(Pp).map(r=>+r),1/0).includes(t))throw Error(`default level:${t} must be included in custom levels`);return}let i=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),n?null:Jt,e);if(!(t in i))throw Error(`default level:${t} must be included in custom levels`)}function WD(t,e){let{labels:n,values:i}=t;for(let s in e){if(s in i)throw Error("levels cannot be overridden");if(e[s]in n)throw Error("pre-existing level values cannot be used for new levels")}}LS.exports={initialLsCache:DD,genLsCache:BD,levelMethods:FS,getLevel:UD,setLevel:ND,isLevelEnabled:MD,mappings:zD,levels:Jt,assertNoLevelCollisions:WD,assertDefaultLevelFound:HD};});var Ip=R((oG,qS)=>{qS.exports={version:"8.14.1"};});var GS=R((cG,WS)=>{var{EventEmitter:GD}=H("events"),{lsCacheSym:VD,levelValSym:KD,setLevelSym:Lp,getLevelSym:$S,chindingsSym:qp,parsedChindingsSym:JD,mixinSym:YD,asJsonSym:US,writeSym:XD,mixinMergeStrategySym:QD,timeSym:ZD,timeSliceIndexSym:eB,streamSym:MS,serializersSym:_i,formattersSym:Fp,errorKeySym:tB,useOnlyCustomLevelsSym:nB,needsMetadataGsym:iB,redactFmtSym:rB,stringifySym:sB,formatOptsSym:oB,stringifiersSym:aB,msgPrefixSym:DS}=gr(),{getLevel:cB,setLevel:lB,isLevelEnabled:uB,mappings:pB,initialLsCache:fB,genLsCache:dB,assertNoLevelCollisions:mB}=qa(),{asChindings:zS,asJson:hB,buildFormatters:BS,stringify:jS}=La(),{version:gB}=Ip(),yB=hp(),xB=class{},HS={constructor:xB,child:vB,bindings:bB,setBindings:wB,flush:_B,isLevelEnabled:uB,version:gB,get level(){return this[$S]()},set level(t){this[Lp](t);},get levelVal(){return this[KD]},set levelVal(t){throw Error("levelVal is read-only")},[VD]:fB,[XD]:EB,[US]:hB,[$S]:cB,[Lp]:lB};Object.setPrototypeOf(HS,GD.prototype);WS.exports=function(){return Object.create(HS)};var NS=t=>t;function vB(t,e){if(!t)throw Error("missing bindings for child Pino");e=e||{};let n=this[_i],i=this[Fp],s=Object.create(this);if(e.hasOwnProperty("serializers")===!0){s[_i]=Object.create(null);for(let c in n)s[_i][c]=n[c];let u=Object.getOwnPropertySymbols(n);for(var r=0;r{var{hasOwnProperty:$a}=Object.prototype,Ci=Bp();Ci.configure=Bp;Ci.stringify=Ci;Ci.default=Ci;jp.stringify=Ci;jp.configure=Bp;YS.exports=Ci;var RB=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/;function Zn(t){return t.length<5e3&&!RB.test(t)?`"${t}"`:JSON.stringify(t)}function $p(t){if(t.length>200)return t.sort();for(let e=1;en;)t[i]=t[i-1],i--;t[i]=n;}return t}var CB=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function Dp(t){return CB.call(t)!==void 0&&t.length!==0}function VS(t,e,n){t.length= 1`)}return n===void 0?1/0:n}function Ri(t){return t===1?"1 item":`${t} items`}function OB(t){let e=new Set;for(let n of t)(typeof n=="string"||typeof n=="number")&&e.add(String(n));return e}function kB(t){if($a.call(t,"strict")){let e=t.strict;if(typeof e!="boolean")throw new TypeError('The "strict" argument must be of type boolean');if(e)return n=>{let i=`Object can not safely be stringified. Received type ${typeof n}`;throw typeof n!="function"&&(i+=` (${n.toString()})`),new Error(i)}}}function Bp(t){t={...t};let e=kB(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let n=TB(t),i=KS(t,"bigint"),s=KS(t,"deterministic"),r=JS(t,"maximumDepth"),o=JS(t,"maximumBreadth");function a(g,h,y,b,A,_){let S=h[g];switch(typeof S=="object"&&S!==null&&typeof S.toJSON=="function"&&(S=S.toJSON(g)),S=b.call(h,g,S),typeof S){case"string":return Zn(S);case"object":{if(S===null)return "null";if(y.indexOf(S)!==-1)return n;let C="",F=",",q=_;if(Array.isArray(S)){if(S.length===0)return "[]";if(ro){let re=S.length-o-1;C+=`${F}"... ${Ri(re)} not stringified"`;}return A!==""&&(C+=` +${q}`),y.pop(),`[${C}]`}let J=Object.keys(S),W=J.length;if(W===0)return "{}";if(ro){let T=W-o;C+=`${$}"...":${B}"${Ri(T)} not stringified"`,$=F;}return A!==""&&$.length>1&&(C=` ${_}${C} -${q}`),y.pop(),`{${C}}`}case"number":return isFinite(S)?String(S):e?e(S):"null";case"boolean":return S===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(S);default:return e?e(S):void 0}}function u(g,h,y,b,A,_){switch(typeof h=="object"&&h!==null&&typeof h.toJSON=="function"&&(h=h.toJSON(g)),typeof h){case"string":return Zn(h);case"object":{if(h===null)return "null";if(y.indexOf(h)!==-1)return n;let S=_,C="",I=",";if(Array.isArray(h)){if(h.length===0)return "[]";if(ro){let G=h.length-o-1;C+=`${I}"... ${_i(G)} not stringified"`;}return A!==""&&(C+=` -${S}`),y.pop(),`[${C}]`}y.push(h);let q="";A!==""&&(_+=A,I=`, -${_}`,q=" ");let J="";for(let W of b){let D=u(W,h[W],y,b,A,_);D!==void 0&&(C+=`${J}${Zn(W)}:${q}${D}`,J=I);}return A!==""&&J.length>1&&(C=` +${q}`),y.pop(),`{${C}}`}case"number":return isFinite(S)?String(S):e?e(S):"null";case"boolean":return S===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(S);default:return e?e(S):void 0}}function u(g,h,y,b,A,_){switch(typeof h=="object"&&h!==null&&typeof h.toJSON=="function"&&(h=h.toJSON(g)),typeof h){case"string":return Zn(h);case"object":{if(h===null)return "null";if(y.indexOf(h)!==-1)return n;let S=_,C="",F=",";if(Array.isArray(h)){if(h.length===0)return "[]";if(ro){let G=h.length-o-1;C+=`${F}"... ${Ri(G)} not stringified"`;}return A!==""&&(C+=` +${S}`),y.pop(),`[${C}]`}y.push(h);let q="";A!==""&&(_+=A,F=`, +${_}`,q=" ");let J="";for(let W of b){let B=u(W,h[W],y,b,A,_);B!==void 0&&(C+=`${J}${Zn(W)}:${q}${B}`,J=F);}return A!==""&&J.length>1&&(C=` ${_}${C} -${S}`),y.pop(),`{${C}}`}case"number":return isFinite(h)?String(h):e?e(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(h);default:return e?e(h):void 0}}function f(g,h,y,b,A){switch(typeof h){case"string":return Zn(h);case"object":{if(h===null)return "null";if(typeof h.toJSON=="function"){if(h=h.toJSON(g),typeof h!="object")return f(g,h,y,b,A);if(h===null)return "null"}if(y.indexOf(h)!==-1)return n;let _=A;if(Array.isArray(h)){if(h.length===0)return "[]";if(ro){let Z=h.length-o-1;D+=`${$}"... ${_i(Z)} not stringified"`;}return D+=` -${_}`,y.pop(),`[${D}]`}let S=Object.keys(h),C=S.length;if(C===0)return "{}";if(ro){let D=C-o;q+=`${J}"...": "${_i(D)} not stringified"`,J=I;}return J!==""&&(q=` +${A}`,G=Math.min(h.length,o),T=0;for(;To){let Z=h.length-o-1;B+=`${$}"... ${Ri(Z)} not stringified"`;}return B+=` +${_}`,y.pop(),`[${B}]`}let S=Object.keys(h),C=S.length;if(C===0)return "{}";if(ro){let B=C-o;q+=`${J}"...": "${Ri(B)} not stringified"`,J=F;}return J!==""&&(q=` ${A}${q} -${_}`),y.pop(),`{${q}}`}case"number":return isFinite(h)?String(h):e?e(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(h);default:return e?e(h):void 0}}function c(g,h,y){switch(typeof h){case"string":return Zn(h);case"object":{if(h===null)return "null";if(typeof h.toJSON=="function"){if(h=h.toJSON(g),typeof h!="object")return c(g,h,y);if(h===null)return "null"}if(y.indexOf(h)!==-1)return n;let b="";if(Array.isArray(h)){if(h.length===0)return "[]";if(ro){let W=h.length-o-1;b+=`,"... ${_i(W)} not stringified"`;}return y.pop(),`[${b}]`}let A=Object.keys(h),_=A.length;if(_===0)return "{}";if(ro){let I=_-o;b+=`${S}"...":"${_i(I)} not stringified"`;}return y.pop(),`{${b}}`}case"number":return isFinite(h)?String(h):e?e(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(h);default:return e?e(h):void 0}}function d(g,h,y){if(arguments.length>1){let b="";if(typeof y=="number"?b=" ".repeat(Math.min(y,10)):typeof y=="string"&&(b=y.slice(0,10)),h!=null){if(typeof h=="function")return a("",{"":g},[],h,b,"");if(Array.isArray(h))return u("",g,[],CD(h),b,"")}if(b.length!==0)return f("",g,[],b,"")}return c("",g,[])}return d}});var ZS=R((oG,QS)=>{var jp=Symbol.for("pino.metadata"),{levels:YS}=qa(),XS=Object.create(YS);XS.silent=1/0;var OD=YS.info;function kD(t,e){let n=0;t=t||[],e=e||{dedupe:!1};let i=XS;e.levels&&typeof e.levels=="object"&&(i=e.levels);let s={write:r,add:a,flushSync:o,end:u,minLevel:0,streams:[],clone:f,[jp]:!0};return Array.isArray(t)?t.forEach(a,s):a.call(s,t),t=null,s;function r(c){let d,g=this.lastLevel,{streams:h}=this,y=0,b;for(let A=FD(h.length,e.dedupe);LD(A,h.length,e.dedupe);A=ID(A,e.dedupe))if(d=h[A],d.level<=g){if(y!==0&&y!==d.level)break;if(b=d.stream,b[jp]){let{lastTime:_,lastMsg:S,lastObj:C,lastLogger:I}=this;b.lastLevel=g,b.lastTime=_,b.lastMsg=S,b.lastObj=C,b.lastLogger=I;}b.write(c),e.dedupe&&(y=d.level);}else if(!e.dedupe)break}function o(){for(let{stream:c}of this.streams)typeof c.flushSync=="function"&&c.flushSync();}function a(c){if(!c)return s;let d=typeof c.write=="function"||c.stream,g=c.write?c:c.stream;if(!d)throw Error("stream object needs to implement either StreamEntry or DestinationStream interface");let{streams:h}=this,y;typeof c.levelVal=="number"?y=c.levelVal:typeof c.level=="string"?y=i[c.level]:typeof c.level=="number"?y=c.level:y=OD;let b={stream:g,level:y,levelVal:void 0,id:n++};return h.unshift(b),h.sort(PD),this.minLevel=h[0].level,s}function u(){for(let{stream:c}of this.streams)typeof c.flushSync=="function"&&c.flushSync(),c.end();}function f(c){let d=new Array(this.streams.length);for(let g=0;g=0:t{var qD=H("os"),aE=ap(),$D=cp(),BD=mp(),cE=K0(),DD=HS(),lE=hr(),{configure:jD}=JS(),{assertDefaultLevelFound:ND,mappings:uE,genLsCache:UD,levels:MD}=qa(),{createArgsNormalizer:zD,asChindings:HD,buildSafeSonicBoom:eE,buildFormatters:WD,stringify:Np,normalizeDestFileDescriptor:tE,noop:GD}=La(),{version:VD}=Pp(),{chindingsSym:nE,redactFmtSym:KD,serializersSym:iE,timeSym:JD,timeSliceIndexSym:YD,streamSym:XD,stringifySym:rE,stringifySafeSym:Up,stringifiersSym:sE,setLevelSym:QD,endSym:ZD,formatOptsSym:ej,messageKeySym:tj,errorKeySym:nj,nestedKeySym:ij,mixinSym:rj,useOnlyCustomLevelsSym:sj,formattersSym:oE,hooksSym:oj,nestedKeyStrSym:aj,mixinMergeStrategySym:cj,msgPrefixSym:lj}=lE,{epochTime:pE,nullTime:uj}=cE,{pid:pj}=process,fj=qD.hostname(),dj=aE.err,mj={level:"info",levels:MD,messageKey:"msg",errorKey:"err",nestedKey:null,enabled:!0,base:{pid:pj,hostname:fj},serializers:Object.assign(Object.create(null),{err:dj}),formatters:Object.assign(Object.create(null),{bindings(t){return t},level(t,e){return {level:e}}}),hooks:{logMethod:void 0},timestamp:pE,name:void 0,redact:null,customLevels:null,useOnlyCustomLevels:!1,depthLimit:5,edgeLimit:100},hj=zD(mj),gj=Object.assign(Object.create(null),aE);function Mp(...t){let e={},{opts:n,stream:i}=hj(e,$D(),...t),{redact:s,crlf:r,serializers:o,timestamp:a,messageKey:u,errorKey:f,nestedKey:c,base:d,name:g,level:h,customLevels:y,mixin:b,mixinMergeStrategy:A,useOnlyCustomLevels:_,formatters:S,hooks:C,depthLimit:I,edgeLimit:q,onChild:J,msgPrefix:W}=n,D=jD({maximumDepth:I,maximumBreadth:q}),$=WD(S.level,S.bindings,S.log),G=Np.bind({[Up]:D}),T=s?BD(s,G):{},Y=s?{stringify:T[KD]}:{stringify:G},Z="}"+(r?`\r +${_}`),y.pop(),`{${q}}`}case"number":return isFinite(h)?String(h):e?e(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(h);default:return e?e(h):void 0}}function c(g,h,y){switch(typeof h){case"string":return Zn(h);case"object":{if(h===null)return "null";if(typeof h.toJSON=="function"){if(h=h.toJSON(g),typeof h!="object")return c(g,h,y);if(h===null)return "null"}if(y.indexOf(h)!==-1)return n;let b="";if(Array.isArray(h)){if(h.length===0)return "[]";if(ro){let W=h.length-o-1;b+=`,"... ${Ri(W)} not stringified"`;}return y.pop(),`[${b}]`}let A=Object.keys(h),_=A.length;if(_===0)return "{}";if(ro){let F=_-o;b+=`${S}"...":"${Ri(F)} not stringified"`;}return y.pop(),`{${b}}`}case"number":return isFinite(h)?String(h):e?e(h):"null";case"boolean":return h===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(h);default:return e?e(h):void 0}}function d(g,h,y){if(arguments.length>1){let b="";if(typeof y=="number"?b=" ".repeat(Math.min(y,10)):typeof y=="string"&&(b=y.slice(0,10)),h!=null){if(typeof h=="function")return a("",{"":g},[],h,b,"");if(Array.isArray(h))return u("",g,[],OB(h),b,"")}if(b.length!==0)return f("",g,[],b,"")}return c("",g,[])}return d}});var tE=R((lG,eE)=>{var Np=Symbol.for("pino.metadata"),{levels:QS}=qa(),ZS=Object.create(QS);ZS.silent=1/0;var PB=QS.info;function IB(t,e){let n=0;t=t||[],e=e||{dedupe:!1};let i=ZS;e.levels&&typeof e.levels=="object"&&(i=e.levels);let s={write:r,add:a,flushSync:o,end:u,minLevel:0,streams:[],clone:f,[Np]:!0};return Array.isArray(t)?t.forEach(a,s):a.call(s,t),t=null,s;function r(c){let d,g=this.lastLevel,{streams:h}=this,y=0,b;for(let A=LB(h.length,e.dedupe);$B(A,h.length,e.dedupe);A=qB(A,e.dedupe))if(d=h[A],d.level<=g){if(y!==0&&y!==d.level)break;if(b=d.stream,b[Np]){let{lastTime:_,lastMsg:S,lastObj:C,lastLogger:F}=this;b.lastLevel=g,b.lastTime=_,b.lastMsg=S,b.lastObj=C,b.lastLogger=F;}b.write(c),e.dedupe&&(y=d.level);}else if(!e.dedupe)break}function o(){for(let{stream:c}of this.streams)typeof c.flushSync=="function"&&c.flushSync();}function a(c){if(!c)return s;let d=typeof c.write=="function"||c.stream,g=c.write?c:c.stream;if(!d)throw Error("stream object needs to implement either StreamEntry or DestinationStream interface");let{streams:h}=this,y;typeof c.levelVal=="number"?y=c.levelVal:typeof c.level=="string"?y=i[c.level]:typeof c.level=="number"?y=c.level:y=PB;let b={stream:g,level:y,levelVal:void 0,id:n++};return h.unshift(b),h.sort(FB),this.minLevel=h[0].level,s}function u(){for(let{stream:c}of this.streams)typeof c.flushSync=="function"&&c.flushSync(),c.end();}function f(c){let d=new Array(this.streams.length);for(let g=0;g=0:t{var DB=H("os"),lE=cp(),BB=lp(),jB=hp(),uE=Y0(),NB=GS(),pE=gr(),{configure:UB}=XS(),{assertDefaultLevelFound:MB,mappings:fE,genLsCache:zB,levels:HB}=qa(),{createArgsNormalizer:WB,asChindings:GB,buildSafeSonicBoom:nE,buildFormatters:VB,stringify:Up,normalizeDestFileDescriptor:iE,noop:KB}=La(),{version:JB}=Ip(),{chindingsSym:rE,redactFmtSym:YB,serializersSym:sE,timeSym:XB,timeSliceIndexSym:QB,streamSym:ZB,stringifySym:oE,stringifySafeSym:Mp,stringifiersSym:aE,setLevelSym:ej,endSym:tj,formatOptsSym:nj,messageKeySym:ij,errorKeySym:rj,nestedKeySym:sj,mixinSym:oj,useOnlyCustomLevelsSym:aj,formattersSym:cE,hooksSym:cj,nestedKeyStrSym:lj,mixinMergeStrategySym:uj,msgPrefixSym:pj}=pE,{epochTime:dE,nullTime:fj}=uE,{pid:dj}=process,mj=DB.hostname(),hj=lE.err,gj={level:"info",levels:HB,messageKey:"msg",errorKey:"err",nestedKey:null,enabled:!0,base:{pid:dj,hostname:mj},serializers:Object.assign(Object.create(null),{err:hj}),formatters:Object.assign(Object.create(null),{bindings(t){return t},level(t,e){return {level:e}}}),hooks:{logMethod:void 0},timestamp:dE,name:void 0,redact:null,customLevels:null,useOnlyCustomLevels:!1,depthLimit:5,edgeLimit:100},yj=WB(gj),xj=Object.assign(Object.create(null),lE);function zp(...t){let e={},{opts:n,stream:i}=yj(e,BB(),...t),{redact:s,crlf:r,serializers:o,timestamp:a,messageKey:u,errorKey:f,nestedKey:c,base:d,name:g,level:h,customLevels:y,mixin:b,mixinMergeStrategy:A,useOnlyCustomLevels:_,formatters:S,hooks:C,depthLimit:F,edgeLimit:q,onChild:J,msgPrefix:W}=n,B=UB({maximumDepth:F,maximumBreadth:q}),$=VB(S.level,S.bindings,S.log),G=Up.bind({[Mp]:B}),T=s?jB(s,G):{},Y=s?{stringify:T[YB]}:{stringify:G},Z="}"+(r?`\r `:` -`),re=HD.bind(null,{[nE]:"",[iE]:o,[sE]:T,[rE]:Np,[Up]:D,[oE]:$}),k="";d!==null&&(g===void 0?k=re(d):k=re(Object.assign({},d,{name:g})));let F=a instanceof Function?a:a?pE:uj,U=F().indexOf(":")+1;if(_&&!y)throw Error("customLevels is required if useOnlyCustomLevels is set true");if(b&&typeof b!="function")throw Error(`Unknown mixin type "${typeof b}" - expected "function"`);if(W&&typeof W!="string")throw Error(`Unknown msgPrefix type "${typeof W}" - expected "string"`);ND(h,y,_);let z=uE(y,_);return Object.assign(e,{levels:z,[sj]:_,[XD]:i,[JD]:F,[YD]:U,[rE]:Np,[Up]:D,[sE]:T,[ZD]:Z,[ej]:Y,[tj]:u,[nj]:f,[ij]:c,[aj]:c?`,${JSON.stringify(c)}:{`:"",[iE]:o,[rj]:b,[cj]:A,[nE]:k,[oE]:$,[oj]:C,silent:GD,onChild:J,[lj]:W}),Object.setPrototypeOf(e,DD()),UD(e),e[QD](h),e}Dt.exports=Mp;Dt.exports.destination=(t=process.stdout.fd)=>typeof t=="object"?(t.dest=tE(t.dest||process.stdout.fd),eE(t)):eE({dest:tE(t),minLength:0});Dt.exports.transport=Rp();Dt.exports.multistream=ZS();Dt.exports.levels=uE();Dt.exports.stdSerializers=gj;Dt.exports.stdTimeFunctions=Object.assign({},cE);Dt.exports.symbols=lE;Dt.exports.version=VD;Dt.exports.default=Mp;Dt.exports.pino=Mp;});var vE={};Cc(vE,{RotatingFileStream:()=>ja,RotatingFileStreamError:()=>Cs,createStream:()=>qj});async function mE(t){return new Promise(e=>fs$1.access(t,fs$1.constants.F_OK,n=>e(!n)))}function hE(t){return (e,n,i)=>{let s=parseInt(i,10);if(e!=="number"||s!==i||s<=0)throw new Error(`'${t}' option must be a positive integer number`)}}function Hp(t,e){return (n,i,s)=>{if(n!=="string")throw new Error(`Don't know how to handle 'options.${t}' type: ${n}`);i[t]=e(s);}}function xE(t,e,n){let i={};if(i.num=parseInt(t,10),isNaN(i.num))throw new Error(`Unknown 'options.${e}' format: ${t}`);if(i.num<=0)throw new Error(`A positive integer number is expected for 'options.${e}'`);if(i.unit=t.replace(/^[ 0]*/g,"").substr((i.num+"").length,1),i.unit.length===0)throw new Error(`Missing unit for 'options.${e}'`);if(!n[i.unit])throw new Error(`Unknown 'options.${e}' unit: ${i.unit}`);return i}function Wp(t,e,n){if(parseInt(n/t.num,10)*t.num!==n)throw new Error(`An integer divider of ${n} is expected as ${e} for 'options.interval'`)}function kj(t){let e=xE(t,"interval",Oj);switch(e.unit){case"h":Wp(e,"hours",24);break;case"m":Wp(e,"minutes",60);break;case"s":Wp(e,"seconds",60);break}return e}function gE(t){let e=xE(t,"size",Pj);return e.unit==="K"?e.num*1024:e.unit==="M"?e.num*1048576:e.unit==="G"?e.num*1073741824:e.num}function Fj(t){let e={};for(let n in t){let i=t[n],s=typeof i;if(!(n in yE))throw new Error(`Unknown option: ${n}`);e[n]=t[n],yE[n](s,e,i);}return e.path||(e.path=""),e.interval||(delete e.immutable,delete e.initialRotation,delete e.intervalBoundary),e.rotate&&(delete e.history,delete e.immutable,delete e.maxFiles,delete e.maxSize,delete e.intervalBoundary),e.immutable&&delete e.compress,e.intervalBoundary||delete e.initialRotation,e}function Ij(t,e,n){return i=>i?`${t}.${i}${e&&!n?".gz":""}`:t}function Lj(t,e,n){let i=s=>(s>9?"":"0")+s;return (s,r)=>{if(!s)return t;let o=s.getFullYear()+""+i(s.getMonth()+1),a=i(s.getDate()),u=i(s.getHours()),f=i(s.getMinutes());return o+a+"-"+u+f+"-"+i(r)+"-"+t+(e&&!n?".gz":"")}}function qj(t,e){if(typeof e>"u")e={};else if(typeof e!="object")throw new Error(`The "options" argument must be of type object. Received type ${typeof e}`);let n=Fj(e),{compress:i,omitExtension:s}=n,r;if(typeof t=="string")r=e.rotate?Ij(t,i!==void 0,s):Lj(t,i!==void 0,s);else if(typeof t=="function")r=t;else throw new Error(`The "filename" argument must be one of type string or function. Received type ${typeof t}`);return new ja(r,n)}var Cs,ja,Oj,Pj,yE,bE=io(()=>{Cs=class extends Error{constructor(){super("Too many destination file attempts");le(this,"code","RFS-TOO-MANY");}},ja=class extends sr.Writable{constructor(n,i){let{encoding:s,history:r,maxFiles:o,maxSize:a,path:u}=i;super({decodeStrings:!0,defaultEncoding:s});le(this,"createGzip");le(this,"exec");le(this,"file");le(this,"filename");le(this,"finished");le(this,"fsCreateReadStream");le(this,"fsCreateWriteStream");le(this,"fsOpen");le(this,"fsReadFile");le(this,"fsStat");le(this,"fsUnlink");le(this,"generator");le(this,"initPromise");le(this,"last");le(this,"maxTimeout");le(this,"next");le(this,"options");le(this,"prev");le(this,"rotation");le(this,"size");le(this,"stdout");le(this,"timeout");le(this,"timeoutPromise");this.createGzip=zn.createGzip,this.exec=child_process.exec,this.filename=u+n(null),this.fsCreateReadStream=fs$1.createReadStream,this.fsCreateWriteStream=fs$1.createWriteStream,this.fsOpen=promises.open,this.fsReadFile=promises.readFile,this.fsStat=promises.stat,this.fsUnlink=promises.unlink,this.generator=n,this.maxTimeout=2147483640,this.options=i,this.stdout=process.stdout,(o||a)&&(i.history=u+(r||this.generator(null)+".txt")),this.on("close",()=>this.finished?null:this.emit("finish")),this.on("finish",()=>this.finished=this.clear()),(async()=>{try{this.initPromise=this.init(),await this.initPromise,delete this.initPromise;}catch{}})();}_destroy(n,i){this.refinal(n,i);}_final(n){this.refinal(void 0,n);}_write(n,i,s){this.rewrite([{chunk:n,encoding:i}],0,s);}_writev(n,i){this.rewrite(n,0,i);}async refinal(n,i){try{this.clear(),this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise,await this.reclose();}catch(s){return i(n||s)}i(n);}async rewrite(n,i,s){let{size:r,teeToStdout:o}=this.options;try{this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise;for(let a=0;a=r&&await this.rotate();}}catch(a){return s(a)}s();}async init(){let{immutable:n,initialRotation:i,interval:s,size:r}=this.options;if(n)return new Promise((a,u)=>process.nextTick(()=>this.immutate(!0).then(a).catch(u)));let o;try{o=await promises.stat(this.filename);}catch(a){if(a.code!=="ENOENT")throw a;return this.reopen(0)}if(!o.isFile())throw new Error(`Can't write on: ${this.filename} (it is not a file)`);if(i){this.intervalBounds(this.now());let a=this.prev;if(this.intervalBounds(new Date(o.mtime.getTime())),a!==this.prev)return this.rotate()}return this.size=o.size,!r||o.size0;--o){let a=i+this.generator(o),u=o===1?this.filename:i+this.generator(o-1);if(await mE(u))if(r||(r=a),o===1&&n)await this.compress(a);else try{await promises.rename(u,a);}catch(f){if(f.code!=="ENOENT")throw f;await this.makePath(a),await promises.rename(u,a);}}return this.rotated(r)}clear(){return this.timeout&&(clearTimeout(this.timeout),this.timeout=null),!0}intervalBoundsBig(n){let i=n.getFullYear(),s=n.getMonth(),r=n.getDate(),o=n.getHours(),{num:a,unit:u}=this.options.interval;u==="M"?(r=1,o=0):u==="d"?o=0:o=parseInt(o/a,10)*a,this.prev=new Date(i,s,r,o,0,0,0).getTime(),u==="M"?s+=a:u==="d"?r+=a:o+=a,this.next=new Date(i,s,r,o,0,0,0).getTime();}intervalBounds(n){let i=this.options.interval.unit;if(i==="M"||i==="d"||i==="h")this.intervalBoundsBig(n);else {let s=1e3*this.options.interval.num;i==="m"&&(s*=60),this.prev=parseInt(n.getTime()/s,10)*s,this.next=this.prev+s;}return new Date(this.prev)}interval(){if(!this.options.interval)return;this.intervalBounds(this.now());let n=async()=>{let i=this.next-this.now().getTime();if(i<=0)try{this.timeoutPromise=this.rotate(),await this.timeoutPromise,delete this.timeoutPromise;}catch{}else this.timeout=setTimeout(n,i>this.maxTimeout?this.maxTimeout:i),this.timeout.unref();};n();}async compress(n){let{compress:i}=this.options;return typeof i=="function"?await new Promise((s,r)=>{this.exec(i(this.filename,n),(o,a,u)=>{this.emit("external",a,u),o?r(o):s();});}):await this.gzip(n),this.unlink(this.filename)}async gzip(n){let{mode:i}=this.options,s=i?{mode:i}:{},r=this.fsCreateReadStream(this.filename,{}),o=this.fsCreateWriteStream(n,s),a=this.createGzip();return new Promise((u,f)=>{[r,o,a].map(c=>c.once("error",f)),o.once("finish",u),r.pipe(a).pipe(o);})}async rotated(n){let{maxFiles:i,maxSize:s}=this.options;return (i||s)&&await this.history(n),this.emit("rotated",n),this.reopen(0)}async history(n){let{history:i,maxFiles:s,maxSize:r}=this.options,o=[],a=[n];try{a=[...(await this.fsReadFile(i,"utf8")).toString().split(` +`),re=GB.bind(null,{[rE]:"",[sE]:o,[aE]:T,[oE]:Up,[Mp]:B,[cE]:$}),k="";d!==null&&(g===void 0?k=re(d):k=re(Object.assign({},d,{name:g})));let I=a instanceof Function?a:a?dE:fj,U=I().indexOf(":")+1;if(_&&!y)throw Error("customLevels is required if useOnlyCustomLevels is set true");if(b&&typeof b!="function")throw Error(`Unknown mixin type "${typeof b}" - expected "function"`);if(W&&typeof W!="string")throw Error(`Unknown msgPrefix type "${typeof W}" - expected "string"`);MB(h,y,_);let z=fE(y,_);return Object.assign(e,{levels:z,[aj]:_,[ZB]:i,[XB]:I,[QB]:U,[oE]:Up,[Mp]:B,[aE]:T,[tj]:Z,[nj]:Y,[ij]:u,[rj]:f,[sj]:c,[lj]:c?`,${JSON.stringify(c)}:{`:"",[sE]:o,[oj]:b,[uj]:A,[rE]:k,[cE]:$,[cj]:C,silent:KB,onChild:J,[pj]:W}),Object.setPrototypeOf(e,NB()),zB(e),e[ej](h),e}jt.exports=zp;jt.exports.destination=(t=process.stdout.fd)=>typeof t=="object"?(t.dest=iE(t.dest||process.stdout.fd),nE(t)):nE({dest:iE(t),minLength:0});jt.exports.transport=Cp();jt.exports.multistream=tE();jt.exports.levels=fE();jt.exports.stdSerializers=xj;jt.exports.stdTimeFunctions=Object.assign({},uE);jt.exports.symbols=pE;jt.exports.version=JB;jt.exports.default=zp;jt.exports.pino=zp;});var wE={};Tc(wE,{RotatingFileStream:()=>ja,RotatingFileStreamError:()=>Ts,createStream:()=>Dj});async function gE(t){return new Promise(e=>fs$1.access(t,fs$1.constants.F_OK,n=>e(!n)))}function yE(t){return (e,n,i)=>{let s=parseInt(i,10);if(e!=="number"||s!==i||s<=0)throw new Error(`'${t}' option must be a positive integer number`)}}function Wp(t,e){return (n,i,s)=>{if(n!=="string")throw new Error(`Don't know how to handle 'options.${t}' type: ${n}`);i[t]=e(s);}}function bE(t,e,n){let i={};if(i.num=parseInt(t,10),isNaN(i.num))throw new Error(`Unknown 'options.${e}' format: ${t}`);if(i.num<=0)throw new Error(`A positive integer number is expected for 'options.${e}'`);if(i.unit=t.replace(/^[ 0]*/g,"").substr((i.num+"").length,1),i.unit.length===0)throw new Error(`Missing unit for 'options.${e}'`);if(!n[i.unit])throw new Error(`Unknown 'options.${e}' unit: ${i.unit}`);return i}function Gp(t,e,n){if(parseInt(n/t.num,10)*t.num!==n)throw new Error(`An integer divider of ${n} is expected as ${e} for 'options.interval'`)}function Ij(t){let e=bE(t,"interval",Pj);switch(e.unit){case"h":Gp(e,"hours",24);break;case"m":Gp(e,"minutes",60);break;case"s":Gp(e,"seconds",60);break}return e}function xE(t){let e=bE(t,"size",Fj);return e.unit==="K"?e.num*1024:e.unit==="M"?e.num*1048576:e.unit==="G"?e.num*1073741824:e.num}function Lj(t){let e={};for(let n in t){let i=t[n],s=typeof i;if(!(n in vE))throw new Error(`Unknown option: ${n}`);e[n]=t[n],vE[n](s,e,i);}return e.path||(e.path=""),e.interval||(delete e.immutable,delete e.initialRotation,delete e.intervalBoundary),e.rotate&&(delete e.history,delete e.immutable,delete e.maxFiles,delete e.maxSize,delete e.intervalBoundary),e.immutable&&delete e.compress,e.intervalBoundary||delete e.initialRotation,e}function qj(t,e,n){return i=>i?`${t}.${i}${e&&!n?".gz":""}`:t}function $j(t,e,n){let i=s=>(s>9?"":"0")+s;return (s,r)=>{if(!s)return t;let o=s.getFullYear()+""+i(s.getMonth()+1),a=i(s.getDate()),u=i(s.getHours()),f=i(s.getMinutes());return o+a+"-"+u+f+"-"+i(r)+"-"+t+(e&&!n?".gz":"")}}function Dj(t,e){if(typeof e>"u")e={};else if(typeof e!="object")throw new Error(`The "options" argument must be of type object. Received type ${typeof e}`);let n=Lj(e),{compress:i,omitExtension:s}=n,r;if(typeof t=="string")r=e.rotate?qj(t,i!==void 0,s):$j(t,i!==void 0,s);else if(typeof t=="function")r=t;else throw new Error(`The "filename" argument must be one of type string or function. Received type ${typeof t}`);return new ja(r,n)}var Ts,ja,Pj,Fj,vE,SE=io(()=>{Ts=class extends Error{constructor(){super("Too many destination file attempts");le(this,"code","RFS-TOO-MANY");}},ja=class extends or.Writable{constructor(n,i){let{encoding:s,history:r,maxFiles:o,maxSize:a,path:u}=i;super({decodeStrings:!0,defaultEncoding:s});le(this,"createGzip");le(this,"exec");le(this,"file");le(this,"filename");le(this,"finished");le(this,"fsCreateReadStream");le(this,"fsCreateWriteStream");le(this,"fsOpen");le(this,"fsReadFile");le(this,"fsStat");le(this,"fsUnlink");le(this,"generator");le(this,"initPromise");le(this,"last");le(this,"maxTimeout");le(this,"next");le(this,"options");le(this,"prev");le(this,"rotation");le(this,"size");le(this,"stdout");le(this,"timeout");le(this,"timeoutPromise");this.createGzip=zn.createGzip,this.exec=child_process.exec,this.filename=u+n(null),this.fsCreateReadStream=fs$1.createReadStream,this.fsCreateWriteStream=fs$1.createWriteStream,this.fsOpen=promises.open,this.fsReadFile=promises.readFile,this.fsStat=promises.stat,this.fsUnlink=promises.unlink,this.generator=n,this.maxTimeout=2147483640,this.options=i,this.stdout=process.stdout,(o||a)&&(i.history=u+(r||this.generator(null)+".txt")),this.on("close",()=>this.finished?null:this.emit("finish")),this.on("finish",()=>this.finished=this.clear()),(async()=>{try{this.initPromise=this.init(),await this.initPromise,delete this.initPromise;}catch{}})();}_destroy(n,i){this.refinal(n,i);}_final(n){this.refinal(void 0,n);}_write(n,i,s){this.rewrite([{chunk:n,encoding:i}],0,s);}_writev(n,i){this.rewrite(n,0,i);}async refinal(n,i){try{this.clear(),this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise,await this.reclose();}catch(s){return i(n||s)}i(n);}async rewrite(n,i,s){let{size:r,teeToStdout:o}=this.options;try{this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise;for(let a=0;a=r&&await this.rotate();}}catch(a){return s(a)}s();}async init(){let{immutable:n,initialRotation:i,interval:s,size:r}=this.options;if(n)return new Promise((a,u)=>process.nextTick(()=>this.immutate(!0).then(a).catch(u)));let o;try{o=await promises.stat(this.filename);}catch(a){if(a.code!=="ENOENT")throw a;return this.reopen(0)}if(!o.isFile())throw new Error(`Can't write on: ${this.filename} (it is not a file)`);if(i){this.intervalBounds(this.now());let a=this.prev;if(this.intervalBounds(new Date(o.mtime.getTime())),a!==this.prev)return this.rotate()}return this.size=o.size,!r||o.size0;--o){let a=i+this.generator(o),u=o===1?this.filename:i+this.generator(o-1);if(await gE(u))if(r||(r=a),o===1&&n)await this.compress(a);else try{await promises.rename(u,a);}catch(f){if(f.code!=="ENOENT")throw f;await this.makePath(a),await promises.rename(u,a);}}return this.rotated(r)}clear(){return this.timeout&&(clearTimeout(this.timeout),this.timeout=null),!0}intervalBoundsBig(n){let i=n.getFullYear(),s=n.getMonth(),r=n.getDate(),o=n.getHours(),{num:a,unit:u}=this.options.interval;u==="M"?(r=1,o=0):u==="d"?o=0:o=parseInt(o/a,10)*a,this.prev=new Date(i,s,r,o,0,0,0).getTime(),u==="M"?s+=a:u==="d"?r+=a:o+=a,this.next=new Date(i,s,r,o,0,0,0).getTime();}intervalBounds(n){let i=this.options.interval.unit;if(i==="M"||i==="d"||i==="h")this.intervalBoundsBig(n);else {let s=1e3*this.options.interval.num;i==="m"&&(s*=60),this.prev=parseInt(n.getTime()/s,10)*s,this.next=this.prev+s;}return new Date(this.prev)}interval(){if(!this.options.interval)return;this.intervalBounds(this.now());let n=async()=>{let i=this.next-this.now().getTime();if(i<=0)try{this.timeoutPromise=this.rotate(),await this.timeoutPromise,delete this.timeoutPromise;}catch{}else this.timeout=setTimeout(n,i>this.maxTimeout?this.maxTimeout:i),this.timeout.unref();};n();}async compress(n){let{compress:i}=this.options;return typeof i=="function"?await new Promise((s,r)=>{this.exec(i(this.filename,n),(o,a,u)=>{this.emit("external",a,u),o?r(o):s();});}):await this.gzip(n),this.unlink(this.filename)}async gzip(n){let{mode:i}=this.options,s=i?{mode:i}:{},r=this.fsCreateReadStream(this.filename,{}),o=this.fsCreateWriteStream(n,s),a=this.createGzip();return new Promise((u,f)=>{[r,o,a].map(c=>c.once("error",f)),o.once("finish",u),r.pipe(a).pipe(o);})}async rotated(n){let{maxFiles:i,maxSize:s}=this.options;return (i||s)&&await this.history(n),this.emit("rotated",n),this.reopen(0)}async history(n){let{history:i,maxFiles:s,maxSize:r}=this.options,o=[],a=[n];try{a=[...(await this.fsReadFile(i,"utf8")).toString().split(` `),n];}catch(u){if(u.code!=="ENOENT")throw u}for(let u of a)if(u)try{let f=await this.fsStat(u);f.isFile()?o.push({name:u,size:f.size,time:f.ctime.getTime()}):this.emit("warning",new Error(`File '${u}' contained in history is not a regular file`));}catch(f){if(f.code!=="ENOENT")throw f}if(o.sort((u,f)=>u.time-f.time),s)for(;o.length>s;){let u=o.shift();await this.unlink(u.name),this.emit("removed",u.name,!0);}if(r)for(;o.reduce((u,f)=>u+f.size,0)>r;){let u=o.shift();await this.unlink(u.name),this.emit("removed",u.name,!1);}await promises.writeFile(i,o.map(u=>u.name).join(` `)+` -`,"utf-8"),this.emit("history");}async immutate(n){let{size:i}=this.options,s=this.now();for(let r=1;r<1e3;++r){let o=0,a;this.filename=this.options.path+this.generator(s,r);try{a=await this.fsStat(this.filename);}catch(u){if(u.code!=="ENOENT")throw u}if(a){if(o=a.size,!a.isFile())throw new Error(`Can't write on: '${this.filename}' (it is not a file)`);if(i&&o>=i)continue}if(n)return this.last=this.filename,this.reopen(o);await this.rotated(this.last),this.last=this.filename;return}throw new Cs}async unlink(n){try{await this.fsUnlink(n);}catch(i){if(i.code!=="ENOENT")throw i;this.emit("warning",i);}}};Oj={M:!0,d:!0,h:!0,m:!0,s:!0};Pj={B:!0,G:!0,K:!0,M:!0};yE={encoding:(t,e,n)=>new yI.TextDecoder(n),immutable:()=>{},initialRotation:()=>{},interval:Hp("interval",kj),intervalBoundary:()=>{},maxFiles:hE("maxFiles"),maxSize:Hp("maxSize",gE),mode:()=>{},omitExtension:()=>{},rotate:hE("rotate"),size:Hp("size",gE),teeToStdout:()=>{},compress:(t,e,n)=>{if(!n)throw new Error("A value for 'options.compress' must be specified");if(t==="boolean")return e.compress=(i,s)=>`cat ${i} | gzip -c9 > ${s}`;if(t!=="function"){if(t!=="string")throw new Error(`Don't know how to handle 'options.compress' type: ${t}`);if(n!=="gzip")throw new Error(`Don't know how to handle compression method: ${n}`)}},history:t=>{if(t!=="string")throw new Error(`Don't know how to handle 'options.history' type: ${t}`)},path:(t,e,n)=>{if(t!=="string")throw new Error(`Don't know how to handle 'options.path' type: ${t}`);n[n.length-1]!==path.sep&&(e.path=n+path.sep);}};});var EE={};Cc(EE,{allLoggers:()=>Ts,rootLogger:()=>He});var Gp,wE,He,Ts,_n=io(()=>{Gp=xn(fE());ys();wE=(bE(),Tc(vE)).createStream("tabby-agent.log",{path:H("path").join(H("os").homedir(),".tabby","agent","logs"),size:"10M",interval:"1d"}),He=wE?(0, Gp.default)(wE):(0, Gp.default)();Ts=[He];He.onChild=t=>{Ts.push(t);};});var _E=R((CG,AE)=>{AE.exports=function(){function t(i,s){function r(){this.constructor=i;}r.prototype=s.prototype,i.prototype=new r;}function e(i,s,r,o,a,u){this.message=i,this.expected=s,this.found=r,this.offset=o,this.line=a,this.column=u,this.name="SyntaxError";}t(e,Error);function n(i){var s=arguments.length>1?arguments[1]:{},r={},o={start:qd},a=qd,f=function(){return em},c=r,d="#",g={type:"literal",value:"#",description:'"#"'},h=void 0,y={type:"any",description:"any character"},b="[",A={type:"literal",value:"[",description:'"["'},_="]",S={type:"literal",value:"]",description:'"]"'},C=function(l){_c(Qe("ObjectPath",l,Ye,Xe));},I=function(l){_c(Qe("ArrayPath",l,Ye,Xe));},q=function(l,m){return l.concat(m)},J=function(l){return [l]},W=function(l){return l},D=".",$={type:"literal",value:".",description:'"."'},G="=",T={type:"literal",value:"=",description:'"="'},Y=function(l,m){_c(Qe("Assign",m,Ye,Xe,l));},Z=function(l){return l.join("")},re=function(l){return l.value},k='"""',F={type:"literal",value:'"""',description:'"\\"\\"\\""'},U=null,z=function(l){return Qe("String",l.join(""),Ye,Xe)},ae='"',Le={type:"literal",value:'"',description:'"\\""'},he="'''",St={type:"literal",value:"'''",description:`"'''"`},si="'",ot={type:"literal",value:"'",description:`"'"`},Oe=function(l){return l},pe=function(l){return l},nn="\\",qe={type:"literal",value:"\\",description:'"\\\\"'},Q=function(){return ""},we="e",K={type:"literal",value:"e",description:'"e"'},de="E",Ee={type:"literal",value:"E",description:'"E"'},Je=function(l,m){return Qe("Float",parseFloat(l+"e"+m),Ye,Xe)},ke=function(l){return Qe("Float",parseFloat(l),Ye,Xe)},oi="+",In={type:"literal",value:"+",description:'"+"'},fd=function(l){return l.join("")},qr="-",$r={type:"literal",value:"-",description:'"-"'},dd=function(l){return "-"+l.join("")},TR=function(l){return Qe("Integer",parseInt(l,10),Ye,Xe)},md="true",OR={type:"literal",value:"true",description:'"true"'},kR=function(){return Qe("Boolean",!0,Ye,Xe)},hd="false",PR={type:"literal",value:"false",description:'"false"'},FR=function(){return Qe("Boolean",!1,Ye,Xe)},IR=function(){return Qe("Array",[],Ye,Xe)},LR=function(l){return Qe("Array",l?[l]:[],Ye,Xe)},qR=function(l){return Qe("Array",l,Ye,Xe)},$R=function(l,m){return Qe("Array",l.concat(m),Ye,Xe)},gd=function(l){return l},yd=",",xd={type:"literal",value:",",description:'","'},BR="{",DR={type:"literal",value:"{",description:'"{"'},jR="}",NR={type:"literal",value:"}",description:'"}"'},UR=function(l){return Qe("InlineTable",l,Ye,Xe)},vd=function(l,m){return Qe("InlineTableValue",m,Ye,Xe,l)},MR=function(l){return "."+l},zR=function(l){return l.join("")},Br=":",Dr={type:"literal",value:":",description:'":"'},bd=function(l){return l.join("")},wd="T",Sd={type:"literal",value:"T",description:'"T"'},HR="Z",WR={type:"literal",value:"Z",description:'"Z"'},GR=function(l,m){return Qe("Date",new Date(l+"T"+m+"Z"),Ye,Xe)},VR=function(l,m){return Qe("Date",new Date(l+"T"+m),Ye,Xe)},KR=/^[ \t]/,JR={type:"class",value:"[ \\t]",description:"[ \\t]"},Ed=` -`,Ad={type:"literal",value:` -`,description:'"\\n"'},YR="\r",XR={type:"literal",value:"\r",description:'"\\r"'},QR=/^[0-9a-f]/i,ZR={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},eC=/^[0-9]/,tC={type:"class",value:"[0-9]",description:"[0-9]"},nC="_",iC={type:"literal",value:"_",description:'"_"'},rC=function(){return ""},sC=/^[A-Za-z0-9_\-]/,oC={type:"class",value:"[A-Za-z0-9_\\-]",description:"[A-Za-z0-9_\\-]"},aC=function(l){return l.join("")},_d='\\"',cC={type:"literal",value:'\\"',description:'"\\\\\\""'},lC=function(){return '"'},Rd="\\\\",uC={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},pC=function(){return "\\"},Cd="\\b",fC={type:"literal",value:"\\b",description:'"\\\\b"'},dC=function(){return "\b"},Td="\\t",mC={type:"literal",value:"\\t",description:'"\\\\t"'},hC=function(){return " "},Od="\\n",gC={type:"literal",value:"\\n",description:'"\\\\n"'},yC=function(){return ` -`},kd="\\f",xC={type:"literal",value:"\\f",description:'"\\\\f"'},vC=function(){return "\f"},Pd="\\r",bC={type:"literal",value:"\\r",description:'"\\\\r"'},wC=function(){return "\r"},Fd="\\U",SC={type:"literal",value:"\\U",description:'"\\\\U"'},Id=function(l){return MC(l.join(""))},Ld="\\u",EC={type:"literal",value:"\\u",description:'"\\\\u"'},p=0,ee=0,jr=0,vc={line:1,column:1,seenCR:!1},Qs=0,bc=[],N=0,M={},Zs;if("startRule"in s){if(!(s.startRule in o))throw new Error(`Can't start parsing from rule "`+s.startRule+'".');a=o[s.startRule];}function Ye(){return wc(ee).line}function Xe(){return wc(ee).column}function wc(l){function m(x,v,E){var P,B;for(P=v;Pl&&(jr=0,vc={line:1,column:1,seenCR:!1}),m(vc,jr,l),jr=l),vc}function V(l){pQs&&(Qs=p,bc=[]),bc.push(l));}function Sc(l,m,x){function v(X){var ue=1;for(X.sort(function(ve,ye){return ve.descriptionye.description?1:0});ue1?ye.slice(0,-1).join(", ")+" or "+ye[X.length-1]:ye[0],Pe=ue?'"'+ve(ue)+'"':"end of input","Expected "+Re+" but "+Pe+" found."}var P=wc(x),B=xp?(P=i.charAt(p),p++):(P=r,N===0&&V(y)),P!==r?(E=[E,P],v=E):(p=v,v=c)):(p=v,v=c);v!==r;)x.push(v),v=p,E=p,N++,P=qt(),P===r&&(P=no()),N--,P===r?E=h:(p=E,E=c),E!==r?(i.length>p?(P=i.charAt(p),p++):(P=r,N===0&&V(y)),P!==r?(E=[E,P],v=E):(p=v,v=c)):(p=v,v=c);x!==r?(m=[m,x],l=m):(p=l,l=c);}else p=l,l=c;return M[B]={nextPos:p,result:l},l}function _C(){var l,m,x,v,E,P,B=p*49+4,X=M[B];if(X)return p=X.nextPos,X.result;if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r)if(v=Bd(),v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(i.charCodeAt(p)===93?(P=_,p++):(P=r,N===0&&V(S)),P!==r?(ee=l,m=C(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;return M[B]={nextPos:p,result:l},l}function RC(){var l,m,x,v,E,P,B,X,ue=p*49+5,ve=M[ue];if(ve)return p=ve.nextPos,ve.result;if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r)if(i.charCodeAt(p)===91?(x=b,p++):(x=r,N===0&&V(A)),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(E=Bd(),E!==r){for(P=[],B=te();B!==r;)P.push(B),B=te();P!==r?(i.charCodeAt(p)===93?(B=_,p++):(B=r,N===0&&V(S)),B!==r?(i.charCodeAt(p)===93?(X=_,p++):(X=r,N===0&&V(S)),X!==r?(ee=l,m=I(E),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;return M[ue]={nextPos:p,result:l},l}function Bd(){var l,m,x,v=p*49+6,E=M[v];if(E)return p=E.nextPos,E.result;if(l=p,m=[],x=jd(),x!==r)for(;x!==r;)m.push(x),x=jd();else m=c;return m!==r?(x=Dd(),x!==r?(ee=l,m=q(m,x),l=m):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,m=Dd(),m!==r&&(ee=l,m=J(m)),l=m),M[v]={nextPos:p,result:l},l}function Dd(){var l,m,x,v,E,P=p*49+7,B=M[P];if(B)return p=B.nextPos,B.result;for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Nr(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();v!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;if(l===r){for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ec(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();v!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}return M[P]={nextPos:p,result:l},l}function jd(){var l,m,x,v,E,P,B,X=p*49+8,ue=M[X];if(ue)return p=ue.nextPos,ue.result;for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Nr(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===46?(E=D,p++):(E=r,N===0&&V($)),E!==r){for(P=[],B=te();B!==r;)P.push(B),B=te();P!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;if(l===r){for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ec(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===46?(E=D,p++):(E=r,N===0&&V($)),E!==r){for(P=[],B=te();B!==r;)P.push(B),B=te();P!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}return M[X]={nextPos:p,result:l},l}function CC(){var l,m,x,v,E,P,B=p*49+9,X=M[B];if(X)return p=X.nextPos,X.result;if(l=p,m=Nr(),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r)if(i.charCodeAt(p)===61?(v=G,p++):(v=r,N===0&&V(T)),v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(P=Bi(),P!==r?(ee=l,m=Y(m,P),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;if(l===r)if(l=p,m=Ec(),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r)if(i.charCodeAt(p)===61?(v=G,p++):(v=r,N===0&&V(T)),v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(P=Bi(),P!==r?(ee=l,m=Y(m,P),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;return M[B]={nextPos:p,result:l},l}function Nr(){var l,m,x,v=p*49+10,E=M[v];if(E)return p=E.nextPos,E.result;if(l=p,m=[],x=Qd(),x!==r)for(;x!==r;)m.push(x),x=Qd();else m=c;return m!==r&&(ee=l,m=Z(m)),l=m,M[v]={nextPos:p,result:l},l}function Ec(){var l,m,x=p*49+11,v=M[x];return v?(p=v.nextPos,v.result):(l=p,m=Nd(),m!==r&&(ee=l,m=re(m)),l=m,l===r&&(l=p,m=Ud(),m!==r&&(ee=l,m=re(m)),l=m),M[x]={nextPos:p,result:l},l)}function Bi(){var l,m=p*49+12,x=M[m];return x?(p=x.nextPos,x.result):(l=TC(),l===r&&(l=jC(),l===r&&(l=FC(),l===r&&(l=IC(),l===r&&(l=LC(),l===r&&(l=qC(),l===r&&(l=$C())))))),M[m]={nextPos:p,result:l},l)}function TC(){var l,m=p*49+13,x=M[m];return x?(p=x.nextPos,x.result):(l=OC(),l===r&&(l=Nd(),l===r&&(l=kC(),l===r&&(l=Ud()))),M[m]={nextPos:p,result:l},l)}function OC(){var l,m,x,v,E,P=p*49+14,B=M[P];if(B)return p=B.nextPos,B.result;if(l=p,i.substr(p,3)===k?(m=k,p+=3):(m=r,N===0&&V(F)),m!==r)if(x=qt(),x===r&&(x=U),x!==r){for(v=[],E=Hd();E!==r;)v.push(E),E=Hd();v!==r?(i.substr(p,3)===k?(E=k,p+=3):(E=r,N===0&&V(F)),E!==r?(ee=l,m=z(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function Nd(){var l,m,x,v,E=p*49+15,P=M[E];if(P)return p=P.nextPos,P.result;if(l=p,i.charCodeAt(p)===34?(m=ae,p++):(m=r,N===0&&V(Le)),m!==r){for(x=[],v=Md();v!==r;)x.push(v),v=Md();x!==r?(i.charCodeAt(p)===34?(v=ae,p++):(v=r,N===0&&V(Le)),v!==r?(ee=l,m=z(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;return M[E]={nextPos:p,result:l},l}function kC(){var l,m,x,v,E,P=p*49+16,B=M[P];if(B)return p=B.nextPos,B.result;if(l=p,i.substr(p,3)===he?(m=he,p+=3):(m=r,N===0&&V(St)),m!==r)if(x=qt(),x===r&&(x=U),x!==r){for(v=[],E=Wd();E!==r;)v.push(E),E=Wd();v!==r?(i.substr(p,3)===he?(E=he,p+=3):(E=r,N===0&&V(St)),E!==r?(ee=l,m=z(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function Ud(){var l,m,x,v,E=p*49+17,P=M[E];if(P)return p=P.nextPos,P.result;if(l=p,i.charCodeAt(p)===39?(m=si,p++):(m=r,N===0&&V(ot)),m!==r){for(x=[],v=zd();v!==r;)x.push(v),v=zd();x!==r?(i.charCodeAt(p)===39?(v=si,p++):(v=r,N===0&&V(ot)),v!==r?(ee=l,m=z(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;return M[E]={nextPos:p,result:l},l}function Md(){var l,m,x,v=p*49+18,E=M[v];return E?(p=E.nextPos,E.result):(l=Zd(),l===r&&(l=p,m=p,N++,i.charCodeAt(p)===34?(x=ae,p++):(x=r,N===0&&V(Le)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=Oe(x),l=m):(p=l,l=c)):(p=l,l=c)),M[v]={nextPos:p,result:l},l)}function zd(){var l,m,x,v=p*49+19,E=M[v];return E?(p=E.nextPos,E.result):(l=p,m=p,N++,i.charCodeAt(p)===39?(x=si,p++):(x=r,N===0&&V(ot)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=Oe(x),l=m):(p=l,l=c)):(p=l,l=c),M[v]={nextPos:p,result:l},l)}function Hd(){var l,m,x,v=p*49+20,E=M[v];return E?(p=E.nextPos,E.result):(l=Zd(),l===r&&(l=PC(),l===r&&(l=p,m=p,N++,i.substr(p,3)===k?(x=k,p+=3):(x=r,N===0&&V(F)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=pe(x),l=m):(p=l,l=c)):(p=l,l=c))),M[v]={nextPos:p,result:l},l)}function PC(){var l,m,x,v,E,P=p*49+21,B=M[P];if(B)return p=B.nextPos,B.result;if(l=p,i.charCodeAt(p)===92?(m=nn,p++):(m=r,N===0&&V(qe)),m!==r)if(x=qt(),x!==r){for(v=[],E=Xd();E!==r;)v.push(E),E=Xd();v!==r?(ee=l,m=Q(),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function Wd(){var l,m,x,v=p*49+22,E=M[v];return E?(p=E.nextPos,E.result):(l=p,m=p,N++,i.substr(p,3)===he?(x=he,p+=3):(x=r,N===0&&V(St)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=Oe(x),l=m):(p=l,l=c)):(p=l,l=c),M[v]={nextPos:p,result:l},l)}function FC(){var l,m,x,v,E=p*49+23,P=M[E];return P?(p=P.nextPos,P.result):(l=p,m=Gd(),m===r&&(m=Ac()),m!==r?(i.charCodeAt(p)===101?(x=we,p++):(x=r,N===0&&V(K)),x===r&&(i.charCodeAt(p)===69?(x=de,p++):(x=r,N===0&&V(Ee))),x!==r?(v=Ac(),v!==r?(ee=l,m=Je(m,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,m=Gd(),m!==r&&(ee=l,m=ke(m)),l=m),M[E]={nextPos:p,result:l},l)}function Gd(){var l,m,x,v,E,P,B=p*49+24,X=M[B];return X?(p=X.nextPos,X.result):(l=p,i.charCodeAt(p)===43?(m=oi,p++):(m=r,N===0&&V(In)),m===r&&(m=U),m!==r?(x=p,v=Ur(),v!==r?(i.charCodeAt(p)===46?(E=D,p++):(E=r,N===0&&V($)),E!==r?(P=Ur(),P!==r?(v=[v,E,P],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=fd(x),l=m):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,i.charCodeAt(p)===45?(m=qr,p++):(m=r,N===0&&V($r)),m!==r?(x=p,v=Ur(),v!==r?(i.charCodeAt(p)===46?(E=D,p++):(E=r,N===0&&V($)),E!==r?(P=Ur(),P!==r?(v=[v,E,P],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=dd(x),l=m):(p=l,l=c)):(p=l,l=c)),M[B]={nextPos:p,result:l},l)}function IC(){var l,m,x=p*49+25,v=M[x];return v?(p=v.nextPos,v.result):(l=p,m=Ac(),m!==r&&(ee=l,m=TR(m)),l=m,M[x]={nextPos:p,result:l},l)}function Ac(){var l,m,x,v,E,P=p*49+26,B=M[P];if(B)return p=B.nextPos,B.result;if(l=p,i.charCodeAt(p)===43?(m=oi,p++):(m=r,N===0&&V(In)),m===r&&(m=U),m!==r){if(x=[],v=xe(),v!==r)for(;v!==r;)x.push(v),v=xe();else x=c;x!==r?(v=p,N++,i.charCodeAt(p)===46?(E=D,p++):(E=r,N===0&&V($)),N--,E===r?v=h:(p=v,v=c),v!==r?(ee=l,m=fd(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;if(l===r)if(l=p,i.charCodeAt(p)===45?(m=qr,p++):(m=r,N===0&&V($r)),m!==r){if(x=[],v=xe(),v!==r)for(;v!==r;)x.push(v),v=xe();else x=c;x!==r?(v=p,N++,i.charCodeAt(p)===46?(E=D,p++):(E=r,N===0&&V($)),N--,E===r?v=h:(p=v,v=c),v!==r?(ee=l,m=dd(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;return M[P]={nextPos:p,result:l},l}function LC(){var l,m,x=p*49+27,v=M[x];return v?(p=v.nextPos,v.result):(l=p,i.substr(p,4)===md?(m=md,p+=4):(m=r,N===0&&V(OR)),m!==r&&(ee=l,m=kR()),l=m,l===r&&(l=p,i.substr(p,5)===hd?(m=hd,p+=5):(m=r,N===0&&V(PR)),m!==r&&(ee=l,m=FR()),l=m),M[x]={nextPos:p,result:l},l)}function qC(){var l,m,x,v,E,P=p*49+28,B=M[P];if(B)return p=B.nextPos,B.result;if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){for(x=[],v=Lt();v!==r;)x.push(v),v=Lt();x!==r?(i.charCodeAt(p)===93?(v=_,p++):(v=r,N===0&&V(S)),v!==r?(ee=l,m=IR(),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;if(l===r&&(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r?(x=Vd(),x===r&&(x=U),x!==r?(i.charCodeAt(p)===93?(v=_,p++):(v=r,N===0&&V(S)),v!==r?(ee=l,m=LR(x),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c),l===r)){if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){if(x=[],v=to(),v!==r)for(;v!==r;)x.push(v),v=to();else x=c;x!==r?(i.charCodeAt(p)===93?(v=_,p++):(v=r,N===0&&V(S)),v!==r?(ee=l,m=qR(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;if(l===r)if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){if(x=[],v=to(),v!==r)for(;v!==r;)x.push(v),v=to();else x=c;x!==r?(v=Vd(),v!==r?(i.charCodeAt(p)===93?(E=_,p++):(E=r,N===0&&V(S)),E!==r?(ee=l,m=$R(x,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;}return M[P]={nextPos:p,result:l},l}function Vd(){var l,m,x,v,E,P=p*49+29,B=M[P];if(B)return p=B.nextPos,B.result;for(l=p,m=[],x=Lt();x!==r;)m.push(x),x=Lt();if(m!==r)if(x=Bi(),x!==r){for(v=[],E=Lt();E!==r;)v.push(E),E=Lt();v!==r?(ee=l,m=gd(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function to(){var l,m,x,v,E,P,B,X=p*49+30,ue=M[X];if(ue)return p=ue.nextPos,ue.result;for(l=p,m=[],x=Lt();x!==r;)m.push(x),x=Lt();if(m!==r)if(x=Bi(),x!==r){for(v=[],E=Lt();E!==r;)v.push(E),E=Lt();if(v!==r)if(i.charCodeAt(p)===44?(E=yd,p++):(E=r,N===0&&V(xd)),E!==r){for(P=[],B=Lt();B!==r;)P.push(B),B=Lt();P!==r?(ee=l,m=gd(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;return M[X]={nextPos:p,result:l},l}function Lt(){var l,m=p*49+31,x=M[m];return x?(p=x.nextPos,x.result):(l=te(),l===r&&(l=qt(),l===r&&(l=eo())),M[m]={nextPos:p,result:l},l)}function $C(){var l,m,x,v,E,P,B=p*49+32,X=M[B];if(X)return p=X.nextPos,X.result;if(l=p,i.charCodeAt(p)===123?(m=BR,p++):(m=r,N===0&&V(DR)),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r){for(v=[],E=Kd();E!==r;)v.push(E),E=Kd();if(v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(i.charCodeAt(p)===125?(P=jR,p++):(P=r,N===0&&V(NR)),P!==r?(ee=l,m=UR(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;}else p=l,l=c;}else p=l,l=c;return M[B]={nextPos:p,result:l},l}function Kd(){var l,m,x,v,E,P,B,X,ue,ve,ye,Re=p*49+33,Pe=M[Re];if(Pe)return p=Pe.nextPos,Pe.result;for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Nr(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===61?(E=G,p++):(E=r,N===0&&V(T)),E!==r){for(P=[],B=te();B!==r;)P.push(B),B=te();if(P!==r)if(B=Bi(),B!==r){for(X=[],ue=te();ue!==r;)X.push(ue),ue=te();if(X!==r)if(i.charCodeAt(p)===44?(ue=yd,p++):(ue=r,N===0&&V(xd)),ue!==r){for(ve=[],ye=te();ye!==r;)ve.push(ye),ye=te();ve!==r?(ee=l,m=vd(x,B),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;if(l===r){for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Nr(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===61?(E=G,p++):(E=r,N===0&&V(T)),E!==r){for(P=[],B=te();B!==r;)P.push(B),B=te();P!==r?(B=Bi(),B!==r?(ee=l,m=vd(x,B),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}return M[Re]={nextPos:p,result:l},l}function Jd(){var l,m,x,v=p*49+34,E=M[v];return E?(p=E.nextPos,E.result):(l=p,i.charCodeAt(p)===46?(m=D,p++):(m=r,N===0&&V($)),m!==r?(x=Ur(),x!==r?(ee=l,m=MR(x),l=m):(p=l,l=c)):(p=l,l=c),M[v]={nextPos:p,result:l},l)}function Yd(){var l,m,x,v,E,P,B,X,ue,ve,ye,Re,Pe=p*49+35,Et=M[Pe];return Et?(p=Et.nextPos,Et.result):(l=p,m=p,x=xe(),x!==r?(v=xe(),v!==r?(E=xe(),E!==r?(P=xe(),P!==r?(i.charCodeAt(p)===45?(B=qr,p++):(B=r,N===0&&V($r)),B!==r?(X=xe(),X!==r?(ue=xe(),ue!==r?(i.charCodeAt(p)===45?(ve=qr,p++):(ve=r,N===0&&V($r)),ve!==r?(ye=xe(),ye!==r?(Re=xe(),Re!==r?(x=[x,v,E,P,B,X,ue,ve,ye,Re],m=x):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c),m!==r&&(ee=l,m=zR(m)),l=m,M[Pe]={nextPos:p,result:l},l)}function BC(){var l,m,x,v,E,P,B,X,ue,ve,ye,Re=p*49+36,Pe=M[Re];return Pe?(p=Pe.nextPos,Pe.result):(l=p,m=p,x=xe(),x!==r?(v=xe(),v!==r?(i.charCodeAt(p)===58?(E=Br,p++):(E=r,N===0&&V(Dr)),E!==r?(P=xe(),P!==r?(B=xe(),B!==r?(i.charCodeAt(p)===58?(X=Br,p++):(X=r,N===0&&V(Dr)),X!==r?(ue=xe(),ue!==r?(ve=xe(),ve!==r?(ye=Jd(),ye===r&&(ye=U),ye!==r?(x=[x,v,E,P,B,X,ue,ve,ye],m=x):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c),m!==r&&(ee=l,m=bd(m)),l=m,M[Re]={nextPos:p,result:l},l)}function DC(){var l,m,x,v,E,P,B,X,ue,ve,ye,Re,Pe,Et,Di,Ln,At,tm=p*49+37,Rc=M[tm];return Rc?(p=Rc.nextPos,Rc.result):(l=p,m=p,x=xe(),x!==r?(v=xe(),v!==r?(i.charCodeAt(p)===58?(E=Br,p++):(E=r,N===0&&V(Dr)),E!==r?(P=xe(),P!==r?(B=xe(),B!==r?(i.charCodeAt(p)===58?(X=Br,p++):(X=r,N===0&&V(Dr)),X!==r?(ue=xe(),ue!==r?(ve=xe(),ve!==r?(ye=Jd(),ye===r&&(ye=U),ye!==r?(i.charCodeAt(p)===45?(Re=qr,p++):(Re=r,N===0&&V($r)),Re===r&&(i.charCodeAt(p)===43?(Re=oi,p++):(Re=r,N===0&&V(In))),Re!==r?(Pe=xe(),Pe!==r?(Et=xe(),Et!==r?(i.charCodeAt(p)===58?(Di=Br,p++):(Di=r,N===0&&V(Dr)),Di!==r?(Ln=xe(),Ln!==r?(At=xe(),At!==r?(x=[x,v,E,P,B,X,ue,ve,ye,Re,Pe,Et,Di,Ln,At],m=x):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c),m!==r&&(ee=l,m=bd(m)),l=m,M[tm]={nextPos:p,result:l},l)}function jC(){var l,m,x,v,E,P=p*49+38,B=M[P];return B?(p=B.nextPos,B.result):(l=p,m=Yd(),m!==r?(i.charCodeAt(p)===84?(x=wd,p++):(x=r,N===0&&V(Sd)),x!==r?(v=BC(),v!==r?(i.charCodeAt(p)===90?(E=HR,p++):(E=r,N===0&&V(WR)),E!==r?(ee=l,m=GR(m,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,m=Yd(),m!==r?(i.charCodeAt(p)===84?(x=wd,p++):(x=r,N===0&&V(Sd)),x!==r?(v=DC(),v!==r?(ee=l,m=VR(m,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c)),M[P]={nextPos:p,result:l},l)}function te(){var l,m=p*49+39,x=M[m];return x?(p=x.nextPos,x.result):(KR.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(JR)),M[m]={nextPos:p,result:l},l)}function qt(){var l,m,x,v=p*49+40,E=M[v];return E?(p=E.nextPos,E.result):(i.charCodeAt(p)===10?(l=Ed,p++):(l=r,N===0&&V(Ad)),l===r&&(l=p,i.charCodeAt(p)===13?(m=YR,p++):(m=r,N===0&&V(XR)),m!==r?(i.charCodeAt(p)===10?(x=Ed,p++):(x=r,N===0&&V(Ad)),x!==r?(m=[m,x],l=m):(p=l,l=c)):(p=l,l=c)),M[v]={nextPos:p,result:l},l)}function Xd(){var l,m=p*49+41,x=M[m];return x?(p=x.nextPos,x.result):(l=qt(),l===r&&(l=te()),M[m]={nextPos:p,result:l},l)}function no(){var l,m,x=p*49+42,v=M[x];return v?(p=v.nextPos,v.result):(l=p,N++,i.length>p?(m=i.charAt(p),p++):(m=r,N===0&&V(y)),N--,m===r?l=h:(p=l,l=c),M[x]={nextPos:p,result:l},l)}function $t(){var l,m=p*49+43,x=M[m];return x?(p=x.nextPos,x.result):(QR.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(ZR)),M[m]={nextPos:p,result:l},l)}function xe(){var l,m,x=p*49+44,v=M[x];return v?(p=v.nextPos,v.result):(eC.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(tC)),l===r&&(l=p,i.charCodeAt(p)===95?(m=nC,p++):(m=r,N===0&&V(iC)),m!==r&&(ee=l,m=rC()),l=m),M[x]={nextPos:p,result:l},l)}function Qd(){var l,m=p*49+45,x=M[m];return x?(p=x.nextPos,x.result):(sC.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(oC)),M[m]={nextPos:p,result:l},l)}function Ur(){var l,m,x,v=p*49+46,E=M[v];if(E)return p=E.nextPos,E.result;if(l=p,m=[],x=xe(),x!==r)for(;x!==r;)m.push(x),x=xe();else m=c;return m!==r&&(ee=l,m=aC(m)),l=m,M[v]={nextPos:p,result:l},l}function Zd(){var l,m,x=p*49+47,v=M[x];return v?(p=v.nextPos,v.result):(l=p,i.substr(p,2)===_d?(m=_d,p+=2):(m=r,N===0&&V(cC)),m!==r&&(ee=l,m=lC()),l=m,l===r&&(l=p,i.substr(p,2)===Rd?(m=Rd,p+=2):(m=r,N===0&&V(uC)),m!==r&&(ee=l,m=pC()),l=m,l===r&&(l=p,i.substr(p,2)===Cd?(m=Cd,p+=2):(m=r,N===0&&V(fC)),m!==r&&(ee=l,m=dC()),l=m,l===r&&(l=p,i.substr(p,2)===Td?(m=Td,p+=2):(m=r,N===0&&V(mC)),m!==r&&(ee=l,m=hC()),l=m,l===r&&(l=p,i.substr(p,2)===Od?(m=Od,p+=2):(m=r,N===0&&V(gC)),m!==r&&(ee=l,m=yC()),l=m,l===r&&(l=p,i.substr(p,2)===kd?(m=kd,p+=2):(m=r,N===0&&V(xC)),m!==r&&(ee=l,m=vC()),l=m,l===r&&(l=p,i.substr(p,2)===Pd?(m=Pd,p+=2):(m=r,N===0&&V(bC)),m!==r&&(ee=l,m=wC()),l=m,l===r&&(l=NC()))))))),M[x]={nextPos:p,result:l},l)}function NC(){var l,m,x,v,E,P,B,X,ue,ve,ye,Re=p*49+48,Pe=M[Re];return Pe?(p=Pe.nextPos,Pe.result):(l=p,i.substr(p,2)===Fd?(m=Fd,p+=2):(m=r,N===0&&V(SC)),m!==r?(x=p,v=$t(),v!==r?(E=$t(),E!==r?(P=$t(),P!==r?(B=$t(),B!==r?(X=$t(),X!==r?(ue=$t(),ue!==r?(ve=$t(),ve!==r?(ye=$t(),ye!==r?(v=[v,E,P,B,X,ue,ve,ye],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=Id(x),l=m):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,i.substr(p,2)===Ld?(m=Ld,p+=2):(m=r,N===0&&V(EC)),m!==r?(x=p,v=$t(),v!==r?(E=$t(),E!==r?(P=$t(),P!==r?(B=$t(),B!==r?(v=[v,E,P,B],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=Id(x),l=m):(p=l,l=c)):(p=l,l=c)),M[Re]={nextPos:p,result:l},l)}var em=[];function UC(l,m,x){var v=new Error(l);throw v.line=m,v.column=x,v}function _c(l){em.push(l);}function Qe(l,m,x,v,E){var P={type:l,value:m,line:x(),column:v()};return E&&(P.key=E),P}function MC(l,m,x){var v=parseInt("0x"+l);if(!isFinite(v)||Math.floor(v)!=v||v<0||v>1114111||v>55295&&v<57344)UC("Invalid Unicode escape code: "+l,m,x);else return zC(v)}function zC(){var l=16384,m=[],x,v,E=-1,P=arguments.length;if(!P)return "";for(var B="";++E>10)+55296,v=X%1024+56320,m.push(x,v)),(E+1==P||m.length>l)&&(B+=String.fromCharCode.apply(null,m),m.length=0);}return B}if(Zs=a(),Zs!==r&&p===i.length)return Zs;throw Zs!==r&&p{function Bj(t){var e=[],n=[],i="",s=Object.create(null),r=s;return a(t);function a(S){for(var C,I=0;I"u"?T===C.length-1?G[Y]=I:G[Y]=Object.create(null):T!==C.length-1&&n.indexOf(D)>-1&&u("Cannot redefine existing key '"+D+"'.",q,J),G=G[Y],G instanceof Array&&G.length&&T-1?'"'+S+'"':S}}RE.exports={compile:Bj};});var OE=R((OG,TE)=>{var Dj=_E(),jj=CE();TE.exports={parse:function(t){var e=Dj.parse(t.toString());return jj.compile(e)}};});var Os=R((kG,LE)=>{var Nj=H("path"),pn="\\\\/",kE=`[^${pn}]`,Rn="\\.",Uj="\\+",Mj="\\?",Ua="\\/",zj="(?=.)",PE="[^/]",Vp=`(?:${Ua}|$)`,FE=`(?:^|${Ua})`,Kp=`${Rn}{1,2}${Vp}`,Hj=`(?!${Rn})`,Wj=`(?!${FE}${Kp})`,Gj=`(?!${Rn}{0,1}${Vp})`,Vj=`(?!${Kp})`,Kj=`[^.${Ua}]`,Jj=`${PE}*?`,IE={DOT_LITERAL:Rn,PLUS_LITERAL:Uj,QMARK_LITERAL:Mj,SLASH_LITERAL:Ua,ONE_CHAR:zj,QMARK:PE,END_ANCHOR:Vp,DOTS_SLASH:Kp,NO_DOT:Hj,NO_DOTS:Wj,NO_DOT_SLASH:Gj,NO_DOTS_SLASH:Vj,QMARK_NO_DOT:Kj,STAR:Jj,START_ANCHOR:FE},Yj={...IE,SLASH_LITERAL:`[${pn}]`,QMARK:kE,STAR:`${kE}*?`,DOTS_SLASH:`${Rn}{1,2}(?:[${pn}]|$)`,NO_DOT:`(?!${Rn})`,NO_DOTS:`(?!(?:^|[${pn}])${Rn}{1,2}(?:[${pn}]|$))`,NO_DOT_SLASH:`(?!${Rn}{0,1}(?:[${pn}]|$))`,NO_DOTS_SLASH:`(?!${Rn}{1,2}(?:[${pn}]|$))`,QMARK_NO_DOT:`[^.${pn}]`,START_ANCHOR:`(?:^|[${pn}])`,END_ANCHOR:`(?:[${pn}]|$)`},Xj={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};LE.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Xj,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Nj.sep,extglobChars(t){return {"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?Yj:IE}};});var Ma=R(vt=>{var Qj=H("path"),Zj=process.platform==="win32",{REGEX_BACKSLASH:eN,REGEX_REMOVE_BACKSLASH:tN,REGEX_SPECIAL_CHARS:nN,REGEX_SPECIAL_CHARS_GLOBAL:iN}=Os();vt.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);vt.hasRegexChars=t=>nN.test(t);vt.isRegexChar=t=>t.length===1&&vt.hasRegexChars(t);vt.escapeRegex=t=>t.replace(iN,"\\$1");vt.toPosixSlashes=t=>t.replace(eN,"/");vt.removeBackslashes=t=>t.replace(tN,e=>e==="\\"?"":e);vt.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};vt.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:Zj===!0||Qj.sep==="\\";vt.escapeLast=(t,e,n)=>{let i=t.lastIndexOf(e,n);return i===-1?t:t[i-1]==="\\"?vt.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};vt.removePrefix=(t,e={})=>{let n=t;return n.startsWith("./")&&(n=n.slice(2),e.prefix="./"),n};vt.wrapOutput=(t,e={},n={})=>{let i=n.contains?"":"^",s=n.contains?"":"$",r=`${i}(?:${t})${s}`;return e.negated===!0&&(r=`(?:^(?!${r}).*$)`),r};});var ME=R((FG,UE)=>{var qE=Ma(),{CHAR_ASTERISK:Jp,CHAR_AT:rN,CHAR_BACKWARD_SLASH:ks,CHAR_COMMA:sN,CHAR_DOT:Yp,CHAR_EXCLAMATION_MARK:Xp,CHAR_FORWARD_SLASH:NE,CHAR_LEFT_CURLY_BRACE:Qp,CHAR_LEFT_PARENTHESES:Zp,CHAR_LEFT_SQUARE_BRACKET:oN,CHAR_PLUS:aN,CHAR_QUESTION_MARK:$E,CHAR_RIGHT_CURLY_BRACE:cN,CHAR_RIGHT_PARENTHESES:BE,CHAR_RIGHT_SQUARE_BRACKET:lN}=Os(),DE=t=>t===NE||t===ks,jE=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1);},uN=(t,e)=>{let n=e||{},i=t.length-1,s=n.parts===!0||n.scanToEnd===!0,r=[],o=[],a=[],u=t,f=-1,c=0,d=0,g=!1,h=!1,y=!1,b=!1,A=!1,_=!1,S=!1,C=!1,I=!1,q=!1,J=0,W,D,$={value:"",depth:0,isGlob:!1},G=()=>f>=i,T=()=>u.charCodeAt(f+1),Y=()=>(W=D,u.charCodeAt(++f));for(;f0&&(re=u.slice(0,c),u=u.slice(c),d-=c),Z&&y===!0&&d>0?(Z=u.slice(0,d),k=u.slice(d)):y===!0?(Z="",k=u):Z=u,Z&&Z!==""&&Z!=="/"&&Z!==u&&DE(Z.charCodeAt(Z.length-1))&&(Z=Z.slice(0,-1)),n.unescape===!0&&(k&&(k=qE.removeBackslashes(k)),Z&&S===!0&&(Z=qE.removeBackslashes(Z)));let F={prefix:re,input:t,start:c,base:Z,glob:k,isBrace:g,isBracket:h,isGlob:y,isExtglob:b,isGlobstar:A,negated:C,negatedExtglob:I};if(n.tokens===!0&&(F.maxDepth=0,DE(D)||o.push($),F.tokens=o),n.parts===!0||n.tokens===!0){let U;for(let z=0;z{var za=Os(),Ot=Ma(),{MAX_LENGTH:Ha,POSIX_REGEX_SOURCE:pN,REGEX_NON_SPECIAL_CHARS:fN,REGEX_SPECIAL_CHARS_BACKREF:dN,REPLACEMENTS:zE}=za,mN=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let n=`[${t.join("-")}]`;return n},xr=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,ef=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=zE[t]||t;let n={...e},i=typeof n.maxLength=="number"?Math.min(Ha,n.maxLength):Ha,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);let r={type:"bos",value:"",output:n.prepend||""},o=[r],a=n.capture?"":"?:",u=Ot.isWindows(e),f=za.globChars(u),c=za.extglobChars(f),{DOT_LITERAL:d,PLUS_LITERAL:g,SLASH_LITERAL:h,ONE_CHAR:y,DOTS_SLASH:b,NO_DOT:A,NO_DOT_SLASH:_,NO_DOTS_SLASH:S,QMARK:C,QMARK_NO_DOT:I,STAR:q,START_ANCHOR:J}=f,W=Q=>`(${a}(?:(?!${J}${Q.dot?b:d}).)*?)`,D=n.dot?"":A,$=n.dot?C:I,G=n.bash===!0?W(n):q;n.capture&&(G=`(${G})`),typeof n.noext=="boolean"&&(n.noextglob=n.noext);let T={input:t,index:-1,start:0,dot:n.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};t=Ot.removePrefix(t,T),s=t.length;let Y=[],Z=[],re=[],k=r,F,U=()=>T.index===s-1,z=T.peek=(Q=1)=>t[T.index+Q],ae=T.advance=()=>t[++T.index]||"",Le=()=>t.slice(T.index+1),he=(Q="",we=0)=>{T.consumed+=Q,T.index+=we;},St=Q=>{T.output+=Q.output!=null?Q.output:Q.value,he(Q.value);},si=()=>{let Q=1;for(;z()==="!"&&(z(2)!=="("||z(3)==="?");)ae(),T.start++,Q++;return Q%2===0?!1:(T.negated=!0,T.start++,!0)},ot=Q=>{T[Q]++,re.push(Q);},Oe=Q=>{T[Q]--,re.pop();},pe=Q=>{if(k.type==="globstar"){let we=T.braces>0&&(Q.type==="comma"||Q.type==="brace"),K=Q.extglob===!0||Y.length&&(Q.type==="pipe"||Q.type==="paren");Q.type!=="slash"&&Q.type!=="paren"&&!we&&!K&&(T.output=T.output.slice(0,-k.output.length),k.type="star",k.value="*",k.output=G,T.output+=k.output);}if(Y.length&&Q.type!=="paren"&&(Y[Y.length-1].inner+=Q.value),(Q.value||Q.output)&&St(Q),k&&k.type==="text"&&Q.type==="text"){k.value+=Q.value,k.output=(k.output||"")+Q.value;return}Q.prev=k,o.push(Q),k=Q;},nn=(Q,we)=>{let K={...c[we],conditions:1,inner:""};K.prev=k,K.parens=T.parens,K.output=T.output;let de=(n.capture?"(":"")+K.open;ot("parens"),pe({type:Q,value:we,output:T.output?"":y}),pe({type:"paren",extglob:!0,value:ae(),output:de}),Y.push(K);},qe=Q=>{let we=Q.close+(n.capture?")":""),K;if(Q.type==="negate"){let de=G;if(Q.inner&&Q.inner.length>1&&Q.inner.includes("/")&&(de=W(n)),(de!==G||U()||/^\)+$/.test(Le()))&&(we=Q.close=`)$))${de}`),Q.inner.includes("*")&&(K=Le())&&/^\.[^\\/.]+$/.test(K)){let Ee=ef(K,{...e,fastpaths:!1}).output;we=Q.close=`)${Ee})${de})`;}Q.prev.type==="bos"&&(T.negatedExtglob=!0);}pe({type:"paren",extglob:!0,value:F,output:we}),Oe("parens");};if(n.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let Q=!1,we=t.replace(dN,(K,de,Ee,Je,ke,oi)=>Je==="\\"?(Q=!0,K):Je==="?"?de?de+Je+(ke?C.repeat(ke.length):""):oi===0?$+(ke?C.repeat(ke.length):""):C.repeat(Ee.length):Je==="."?d.repeat(Ee.length):Je==="*"?de?de+Je+(ke?G:""):G:de?K:`\\${K}`);return Q===!0&&(n.unescape===!0?we=we.replace(/\\/g,""):we=we.replace(/\\+/g,K=>K.length%2===0?"\\\\":K?"\\":"")),we===t&&n.contains===!0?(T.output=t,T):(T.output=Ot.wrapOutput(we,T,e),T)}for(;!U();){if(F=ae(),F==="\0")continue;if(F==="\\"){let K=z();if(K==="/"&&n.bash!==!0||K==="."||K===";")continue;if(!K){F+="\\",pe({type:"text",value:F});continue}let de=/^\\+/.exec(Le()),Ee=0;if(de&&de[0].length>2&&(Ee=de[0].length,T.index+=Ee,Ee%2!==0&&(F+="\\")),n.unescape===!0?F=ae():F+=ae(),T.brackets===0){pe({type:"text",value:F});continue}}if(T.brackets>0&&(F!=="]"||k.value==="["||k.value==="[^")){if(n.posix!==!1&&F===":"){let K=k.value.slice(1);if(K.includes("[")&&(k.posix=!0,K.includes(":"))){let de=k.value.lastIndexOf("["),Ee=k.value.slice(0,de),Je=k.value.slice(de+2),ke=pN[Je];if(ke){k.value=Ee+ke,T.backtrack=!0,ae(),!r.output&&o.indexOf(k)===1&&(r.output=y);continue}}}(F==="["&&z()!==":"||F==="-"&&z()==="]")&&(F=`\\${F}`),F==="]"&&(k.value==="["||k.value==="[^")&&(F=`\\${F}`),n.posix===!0&&F==="!"&&k.value==="["&&(F="^"),k.value+=F,St({value:F});continue}if(T.quotes===1&&F!=='"'){F=Ot.escapeRegex(F),k.value+=F,St({value:F});continue}if(F==='"'){T.quotes=T.quotes===1?0:1,n.keepQuotes===!0&&pe({type:"text",value:F});continue}if(F==="("){ot("parens"),pe({type:"paren",value:F});continue}if(F===")"){if(T.parens===0&&n.strictBrackets===!0)throw new SyntaxError(xr("opening","("));let K=Y[Y.length-1];if(K&&T.parens===K.parens+1){qe(Y.pop());continue}pe({type:"paren",value:F,output:T.parens?")":"\\)"}),Oe("parens");continue}if(F==="["){if(n.nobracket===!0||!Le().includes("]")){if(n.nobracket!==!0&&n.strictBrackets===!0)throw new SyntaxError(xr("closing","]"));F=`\\${F}`;}else ot("brackets");pe({type:"bracket",value:F});continue}if(F==="]"){if(n.nobracket===!0||k&&k.type==="bracket"&&k.value.length===1){pe({type:"text",value:F,output:`\\${F}`});continue}if(T.brackets===0){if(n.strictBrackets===!0)throw new SyntaxError(xr("opening","["));pe({type:"text",value:F,output:`\\${F}`});continue}Oe("brackets");let K=k.value.slice(1);if(k.posix!==!0&&K[0]==="^"&&!K.includes("/")&&(F=`/${F}`),k.value+=F,St({value:F}),n.literalBrackets===!1||Ot.hasRegexChars(K))continue;let de=Ot.escapeRegex(k.value);if(T.output=T.output.slice(0,-k.value.length),n.literalBrackets===!0){T.output+=de,k.value=de;continue}k.value=`(${a}${de}|${k.value})`,T.output+=k.value;continue}if(F==="{"&&n.nobrace!==!0){ot("braces");let K={type:"brace",value:F,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};Z.push(K),pe(K);continue}if(F==="}"){let K=Z[Z.length-1];if(n.nobrace===!0||!K){pe({type:"text",value:F,output:F});continue}let de=")";if(K.dots===!0){let Ee=o.slice(),Je=[];for(let ke=Ee.length-1;ke>=0&&(o.pop(),Ee[ke].type!=="brace");ke--)Ee[ke].type!=="dots"&&Je.unshift(Ee[ke].value);de=mN(Je,n),T.backtrack=!0;}if(K.comma!==!0&&K.dots!==!0){let Ee=T.output.slice(0,K.outputIndex),Je=T.tokens.slice(K.tokensIndex);K.value=K.output="\\{",F=de="\\}",T.output=Ee;for(let ke of Je)T.output+=ke.output||ke.value;}pe({type:"brace",value:F,output:de}),Oe("braces"),Z.pop();continue}if(F==="|"){Y.length>0&&Y[Y.length-1].conditions++,pe({type:"text",value:F});continue}if(F===","){let K=F,de=Z[Z.length-1];de&&re[re.length-1]==="braces"&&(de.comma=!0,K="|"),pe({type:"comma",value:F,output:K});continue}if(F==="/"){if(k.type==="dot"&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",o.pop(),k=r;continue}pe({type:"slash",value:F,output:h});continue}if(F==="."){if(T.braces>0&&k.type==="dot"){k.value==="."&&(k.output=d);let K=Z[Z.length-1];k.type="dots",k.output+=F,k.value+=F,K.dots=!0;continue}if(T.braces+T.parens===0&&k.type!=="bos"&&k.type!=="slash"){pe({type:"text",value:F,output:d});continue}pe({type:"dot",value:F,output:d});continue}if(F==="?"){if(!(k&&k.value==="(")&&n.noextglob!==!0&&z()==="("&&z(2)!=="?"){nn("qmark",F);continue}if(k&&k.type==="paren"){let de=z(),Ee=F;if(de==="<"&&!Ot.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(k.value==="("&&!/[!=<:]/.test(de)||de==="<"&&!/<([!=]|\w+>)/.test(Le()))&&(Ee=`\\${F}`),pe({type:"text",value:F,output:Ee});continue}if(n.dot!==!0&&(k.type==="slash"||k.type==="bos")){pe({type:"qmark",value:F,output:I});continue}pe({type:"qmark",value:F,output:C});continue}if(F==="!"){if(n.noextglob!==!0&&z()==="("&&(z(2)!=="?"||!/[!=<:]/.test(z(3)))){nn("negate",F);continue}if(n.nonegate!==!0&&T.index===0){si();continue}}if(F==="+"){if(n.noextglob!==!0&&z()==="("&&z(2)!=="?"){nn("plus",F);continue}if(k&&k.value==="("||n.regex===!1){pe({type:"plus",value:F,output:g});continue}if(k&&(k.type==="bracket"||k.type==="paren"||k.type==="brace")||T.parens>0){pe({type:"plus",value:F});continue}pe({type:"plus",value:g});continue}if(F==="@"){if(n.noextglob!==!0&&z()==="("&&z(2)!=="?"){pe({type:"at",extglob:!0,value:F,output:""});continue}pe({type:"text",value:F});continue}if(F!=="*"){(F==="$"||F==="^")&&(F=`\\${F}`);let K=fN.exec(Le());K&&(F+=K[0],T.index+=K[0].length),pe({type:"text",value:F});continue}if(k&&(k.type==="globstar"||k.star===!0)){k.type="star",k.star=!0,k.value+=F,k.output=G,T.backtrack=!0,T.globstar=!0,he(F);continue}let Q=Le();if(n.noextglob!==!0&&/^\([^?]/.test(Q)){nn("star",F);continue}if(k.type==="star"){if(n.noglobstar===!0){he(F);continue}let K=k.prev,de=K.prev,Ee=K.type==="slash"||K.type==="bos",Je=de&&(de.type==="star"||de.type==="globstar");if(n.bash===!0&&(!Ee||Q[0]&&Q[0]!=="/")){pe({type:"star",value:F,output:""});continue}let ke=T.braces>0&&(K.type==="comma"||K.type==="brace"),oi=Y.length&&(K.type==="pipe"||K.type==="paren");if(!Ee&&K.type!=="paren"&&!ke&&!oi){pe({type:"star",value:F,output:""});continue}for(;Q.slice(0,3)==="/**";){let In=t[T.index+4];if(In&&In!=="/")break;Q=Q.slice(3),he("/**",3);}if(K.type==="bos"&&U()){k.type="globstar",k.value+=F,k.output=W(n),T.output=k.output,T.globstar=!0,he(F);continue}if(K.type==="slash"&&K.prev.type!=="bos"&&!Je&&U()){T.output=T.output.slice(0,-(K.output+k.output).length),K.output=`(?:${K.output}`,k.type="globstar",k.output=W(n)+(n.strictSlashes?")":"|$)"),k.value+=F,T.globstar=!0,T.output+=K.output+k.output,he(F);continue}if(K.type==="slash"&&K.prev.type!=="bos"&&Q[0]==="/"){let In=Q[1]!==void 0?"|$":"";T.output=T.output.slice(0,-(K.output+k.output).length),K.output=`(?:${K.output}`,k.type="globstar",k.output=`${W(n)}${h}|${h}${In})`,k.value+=F,T.output+=K.output+k.output,T.globstar=!0,he(F+ae()),pe({type:"slash",value:"/",output:""});continue}if(K.type==="bos"&&Q[0]==="/"){k.type="globstar",k.value+=F,k.output=`(?:^|${h}|${W(n)}${h})`,T.output=k.output,T.globstar=!0,he(F+ae()),pe({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-k.output.length),k.type="globstar",k.output=W(n),k.value+=F,T.output+=k.output,T.globstar=!0,he(F);continue}let we={type:"star",value:F,output:G};if(n.bash===!0){we.output=".*?",(k.type==="bos"||k.type==="slash")&&(we.output=D+we.output),pe(we);continue}if(k&&(k.type==="bracket"||k.type==="paren")&&n.regex===!0){we.output=F,pe(we);continue}(T.index===T.start||k.type==="slash"||k.type==="dot")&&(k.type==="dot"?(T.output+=_,k.output+=_):n.dot===!0?(T.output+=S,k.output+=S):(T.output+=D,k.output+=D),z()!=="*"&&(T.output+=y,k.output+=y)),pe(we);}for(;T.brackets>0;){if(n.strictBrackets===!0)throw new SyntaxError(xr("closing","]"));T.output=Ot.escapeLast(T.output,"["),Oe("brackets");}for(;T.parens>0;){if(n.strictBrackets===!0)throw new SyntaxError(xr("closing",")"));T.output=Ot.escapeLast(T.output,"("),Oe("parens");}for(;T.braces>0;){if(n.strictBrackets===!0)throw new SyntaxError(xr("closing","}"));T.output=Ot.escapeLast(T.output,"{"),Oe("braces");}if(n.strictSlashes!==!0&&(k.type==="star"||k.type==="bracket")&&pe({type:"maybe_slash",value:"",output:`${h}?`}),T.backtrack===!0){T.output="";for(let Q of T.tokens)T.output+=Q.output!=null?Q.output:Q.value,Q.suffix&&(T.output+=Q.suffix);}return T};ef.fastpaths=(t,e)=>{let n={...e},i=typeof n.maxLength=="number"?Math.min(Ha,n.maxLength):Ha,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=zE[t]||t;let r=Ot.isWindows(e),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:f,NO_DOT:c,NO_DOTS:d,NO_DOTS_SLASH:g,STAR:h,START_ANCHOR:y}=za.globChars(r),b=n.dot?d:c,A=n.dot?g:c,_=n.capture?"":"?:",S={negated:!1,prefix:""},C=n.bash===!0?".*?":h;n.capture&&(C=`(${C})`);let I=D=>D.noglobstar===!0?C:`(${_}(?:(?!${y}${D.dot?f:o}).)*?)`,q=D=>{switch(D){case"*":return `${b}${u}${C}`;case".*":return `${o}${u}${C}`;case"*.*":return `${b}${C}${o}${u}${C}`;case"*/*":return `${b}${C}${a}${u}${A}${C}`;case"**":return b+I(n);case"**/*":return `(?:${b}${I(n)}${a})?${A}${u}${C}`;case"**/*.*":return `(?:${b}${I(n)}${a})?${A}${C}${o}${u}${C}`;case"**/.*":return `(?:${b}${I(n)}${a})?${o}${u}${C}`;default:{let $=/^(.*?)\.(\w+)$/.exec(D);if(!$)return;let G=q($[1]);return G?G+o+$[2]:void 0}}},J=Ot.removePrefix(t,S),W=q(J);return W&&n.strictSlashes!==!0&&(W+=`${a}?`),W};HE.exports=ef;});var VE=R((LG,GE)=>{var hN=H("path"),gN=ME(),tf=WE(),nf=Ma(),yN=Os(),xN=t=>t&&typeof t=="object"&&!Array.isArray(t),Fe=(t,e,n=!1)=>{if(Array.isArray(t)){let c=t.map(g=>Fe(g,e,n));return g=>{for(let h of c){let y=h(g);if(y)return y}return !1}}let i=xN(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},r=nf.isWindows(e),o=i?Fe.compileRe(t,e):Fe.makeRe(t,e,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(s.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};u=Fe(s.ignore,c,n);}let f=(c,d=!1)=>{let{isMatch:g,match:h,output:y}=Fe.test(c,o,e,{glob:t,posix:r}),b={glob:t,state:a,regex:o,posix:r,input:c,output:y,match:h,isMatch:g};return typeof s.onResult=="function"&&s.onResult(b),g===!1?(b.isMatch=!1,d?b:!1):u(c)?(typeof s.onIgnore=="function"&&s.onIgnore(b),b.isMatch=!1,d?b:!1):(typeof s.onMatch=="function"&&s.onMatch(b),d?b:!0)};return n&&(f.state=a),f};Fe.test=(t,e,n,{glob:i,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return {isMatch:!1,output:""};let r=n||{},o=r.format||(s?nf.toPosixSlashes:null),a=t===i,u=a&&o?o(t):t;return a===!1&&(u=o?o(t):t,a=u===i),(a===!1||r.capture===!0)&&(r.matchBase===!0||r.basename===!0?a=Fe.matchBase(t,e,n,s):a=e.exec(u)),{isMatch:!!a,match:a,output:u}};Fe.matchBase=(t,e,n,i=nf.isWindows(n))=>(e instanceof RegExp?e:Fe.makeRe(e,n)).test(hN.basename(t));Fe.isMatch=(t,e,n)=>Fe(e,n)(t);Fe.parse=(t,e)=>Array.isArray(t)?t.map(n=>Fe.parse(n,e)):tf(t,{...e,fastpaths:!1});Fe.scan=(t,e)=>gN(t,e);Fe.compileRe=(t,e,n=!1,i=!1)=>{if(n===!0)return t.output;let s=e||{},r=s.contains?"":"^",o=s.contains?"":"$",a=`${r}(?:${t.output})${o}`;t&&t.negated===!0&&(a=`^(?!${a}).*$`);let u=Fe.toRegex(a,e);return i===!0&&(u.state=t),u};Fe.makeRe=(t,e={},n=!1,i=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=tf.fastpaths(t,e)),s.output||(s=tf(t,e)),Fe.compileRe(s,e,n,i)};Fe.toRegex=(t,e)=>{try{let n=e||{};return new RegExp(t,n.flags||(n.nocase?"i":""))}catch(n){if(e&&e.debug===!0)throw n;return /$^/}};Fe.constants=yN;GE.exports=Fe;});var rf=R((qG,KE)=>{KE.exports=VE();});var nA=R(($G,tA)=>{var Fs=H("fs"),{Readable:vN}=H("stream"),Ps=H("path"),{promisify:Ka}=H("util"),sf=rf(),bN=Ka(Fs.readdir),wN=Ka(Fs.stat),JE=Ka(Fs.lstat),SN=Ka(Fs.realpath),EN="!",ZE="READDIRP_RECURSIVE_ERROR",AN=new Set(["ENOENT","EPERM","EACCES","ELOOP",ZE]),of="files",eA="directories",Ga="files_directories",Wa="all",YE=[of,eA,Ga,Wa],_N=t=>AN.has(t.code),[XE,RN]=process.versions.node.split(".").slice(0,2).map(t=>Number.parseInt(t,10)),CN=process.platform==="win32"&&(XE>10||XE===10&&RN>=5),QE=t=>{if(t!==void 0){if(typeof t=="function")return t;if(typeof t=="string"){let e=sf(t.trim());return n=>e(n.basename)}if(Array.isArray(t)){let e=[],n=[];for(let i of t){let s=i.trim();s.charAt(0)===EN?n.push(sf(s.slice(1))):e.push(sf(s));}return n.length>0?e.length>0?i=>e.some(s=>s(i.basename))&&!n.some(s=>s(i.basename)):i=>!n.some(s=>s(i.basename)):i=>e.some(s=>s(i.basename))}}},Va=class t extends vN{static get defaultOptions(){return {root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:of,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});let n={...t.defaultOptions,...e},{root:i,type:s}=n;this._fileFilter=QE(n.fileFilter),this._directoryFilter=QE(n.directoryFilter);let r=n.lstat?JE:wN;CN?this._stat=o=>r(o,{bigint:!0}):this._stat=r,this._maxDepth=n.depth,this._wantsDir=[eA,Ga,Wa].includes(s),this._wantsFile=[of,Ga,Wa].includes(s),this._wantsEverything=s===Wa,this._root=Ps.resolve(i),this._isDirent="Dirent"in Fs&&!n.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(i,1)],this.reading=!1,this.parent=void 0;}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){let{path:n,depth:i,files:s=[]}=this.parent||{};if(s.length>0){let r=s.splice(0,e).map(o=>this._formatEntry(o,n));for(let o of await Promise.all(r)){if(this.destroyed)return;let a=await this._getEntryType(o);a==="directory"&&this._directoryFilter(o)?(i<=this._maxDepth&&this.parents.push(this._exploreDir(o.fullPath,i+1)),this._wantsDir&&(this.push(o),e--)):(a==="file"||this._includeAsFile(o))&&this._fileFilter(o)&&this._wantsFile&&(this.push(o),e--);}}else {let r=this.parents.pop();if(!r){this.push(null);break}if(this.parent=await r,this.destroyed)return}}}catch(n){this.destroy(n);}finally{this.reading=!1;}}}async _exploreDir(e,n){let i;try{i=await bN(e,this._rdOptions);}catch(s){this._onError(s);}return {files:i,depth:n,path:e}}async _formatEntry(e,n){let i;try{let s=this._isDirent?e.name:e,r=Ps.resolve(Ps.join(n,s));i={path:Ps.relative(this._root,r),fullPath:r,basename:s},i[this._statsProp]=this._isDirent?e:await this._stat(r);}catch(s){this._onError(s);}return i}_onError(e){_N(e)&&!this.destroyed?this.emit("warn",e):this.destroy(e);}async _getEntryType(e){let n=e&&e[this._statsProp];if(n){if(n.isFile())return "file";if(n.isDirectory())return "directory";if(n&&n.isSymbolicLink()){let i=e.fullPath;try{let s=await SN(i),r=await JE(s);if(r.isFile())return "file";if(r.isDirectory()){let o=s.length;if(i.startsWith(s)&&i.substr(o,1)===Ps.sep){let a=new Error(`Circular symlink detected: "${i}" points to "${s}"`);return a.code=ZE,this._onError(a)}return "directory"}}catch(s){this._onError(s);}}}}_includeAsFile(e){let n=e&&e[this._statsProp];return n&&this._wantsEverything&&!n.isDirectory()}},vr=(t,e={})=>{let n=e.entryType||e.type;if(n==="both"&&(n=Ga),n&&(e.type=n),t){if(typeof t!="string")throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(n&&!YE.includes(n))throw new Error(`readdirp: Invalid type passed. Use one of ${YE.join(", ")}`)}else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");return e.root=t,new Va(e)},TN=(t,e={})=>new Promise((n,i)=>{let s=[];vr(t,e).on("data",r=>s.push(r)).on("end",()=>n(s)).on("error",r=>i(r));});vr.promise=TN;vr.ReaddirpStream=Va;vr.default=vr;tA.exports=vr;});var af=R((BG,iA)=>{iA.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return "/";var n=t.length;if(n<=1)return t;var i="";if(n>4&&t[3]==="\\"){var s=t[2];(s==="?"||s===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),i="//");}var r=t.split(/[/\\]+/);return e!==!1&&r[r.length-1]===""&&r.pop(),i+r.join("/")};});var lA=R((aA,cA)=>{Object.defineProperty(aA,"__esModule",{value:!0});var oA=rf(),ON=af(),rA="!",kN={returnIndex:!1},PN=t=>Array.isArray(t)?t:[t],FN=(t,e)=>{if(typeof t=="function")return t;if(typeof t=="string"){let n=oA(t,e);return i=>t===i||n(i)}return t instanceof RegExp?n=>t.test(n):n=>!1},sA=(t,e,n,i)=>{let s=Array.isArray(n),r=s?n[0]:n;if(!s&&typeof r!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(r));let o=ON(r,!1);for(let u=0;u{if(t==null)throw new TypeError("anymatch: specify first argument");let i=typeof n=="boolean"?{returnIndex:n}:n,s=i.returnIndex||!1,r=PN(t),o=r.filter(u=>typeof u=="string"&&u.charAt(0)===rA).map(u=>u.slice(1)).map(u=>oA(u,i)),a=r.filter(u=>typeof u!="string"||typeof u=="string"&&u.charAt(0)!==rA).map(u=>FN(u,i));return e==null?(u,f=!1)=>sA(a,o,u,typeof f=="boolean"?f:!1):sA(a,o,e,s)};cf.default=cf;cA.exports=cf;});var pA=R((DG,uA)=>{uA.exports=function(e){if(typeof e!="string"||e==="")return !1;for(var n;n=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(n[2])return !0;e=e.slice(n.index+n[0].length);}return !1};});var lf=R((jG,dA)=>{var IN=pA(),fA={"{":"}","(":")","[":"]"},LN=function(t){if(t[0]==="!")return !0;for(var e=0,n=-2,i=-2,s=-2,r=-2,o=-2;ee&&(o===-1||o>i||(o=t.indexOf("\\",e),o===-1||o>i)))||s!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(s=t.indexOf("}",e),s>e&&(o=t.indexOf("\\",e),o===-1||o>s))||r!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(r=t.indexOf(")",e),r>e&&(o=t.indexOf("\\",e),o===-1||o>r))||n!==-1&&t[e]==="("&&t[e+1]!=="|"&&(nn&&(o=t.indexOf("\\",n),o===-1||o>r))))return !0;if(t[e]==="\\"){var a=t[e+1];e+=2;var u=fA[a];if(u){var f=t.indexOf(u,e);f!==-1&&(e=f+1);}if(t[e]==="!")return !0}else e++;}return !1},qN=function(t){if(t[0]==="!")return !0;for(var e=0;e{var $N=lf(),BN=H("path").posix.dirname,DN=H("os").platform()==="win32",uf="/",jN=/\\/g,NN=/[\{\[].*[\}\]]$/,UN=/(^|[^\\])([\{\[]|\([^\)]+$)/,MN=/\\([\!\*\?\|\[\]\(\)\{\}])/g;mA.exports=function(e,n){var i=Object.assign({flipBackslashes:!0},n);i.flipBackslashes&&DN&&e.indexOf(uf)<0&&(e=e.replace(jN,uf)),NN.test(e)&&(e+=uf),e+="a";do e=BN(e);while($N(e)||UN.test(e));return e.replace(MN,"$1")};});var Ja=R(jt=>{jt.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;jt.find=(t,e)=>t.nodes.find(n=>n.type===e);jt.exceedsLimit=(t,e,n=1,i)=>i===!1||!jt.isInteger(t)||!jt.isInteger(e)?!1:(Number(e)-Number(t))/Number(n)>=i;jt.escapeNode=(t,e=0,n)=>{let i=t.nodes[e];i&&(n&&i.type===n||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0);};jt.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);jt.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;jt.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;jt.reduce=t=>t.reduce((e,n)=>(n.type==="text"&&e.push(n.value),n.type==="range"&&(n.type="text"),e),[]);jt.flatten=(...t)=>{let e=[],n=i=>{for(let s=0;s{var gA=Ja();yA.exports=(t,e={})=>{let n=(i,s={})=>{let r=e.escapeInvalid&&gA.isInvalidBrace(s),o=i.invalid===!0&&e.escapeInvalid===!0,a="";if(i.value)return (r||o)&&gA.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let u of i.nodes)a+=n(u);return a};return n(t)};});var vA=R((zG,xA)=>{xA.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1};});var TA=R((HG,CA)=>{var bA=vA(),Ci=(t,e,n)=>{if(bA(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(bA(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let s=String(i.relaxZeros),r=String(i.shorthand),o=String(i.capture),a=String(i.wrap),u=t+":"+e+"="+s+r+o+a;if(Ci.cache.hasOwnProperty(u))return Ci.cache[u].result;let f=Math.min(t,e),c=Math.max(t,e);if(Math.abs(f-c)===1){let b=t+"|"+e;return i.capture?`(${b})`:i.wrap===!1?b:`(?:${b})`}let d=RA(t)||RA(e),g={min:t,max:e,a:f,b:c},h=[],y=[];if(d&&(g.isPadded=d,g.maxLen=String(g.max).length),f<0){let b=c<0?Math.abs(c):1;y=wA(b,Math.abs(f),g,i),f=g.a=0;}return c>=0&&(h=wA(f,c,g,i)),g.negatives=y,g.positives=h,g.result=zN(y,h),i.capture===!0?g.result=`(${g.result})`:i.wrap!==!1&&h.length+y.length>1&&(g.result=`(?:${g.result})`),Ci.cache[u]=g,g.result};function zN(t,e,n){let i=pf(t,e,"-",!1)||[],s=pf(e,t,"",!1)||[],r=pf(t,e,"-?",!0)||[];return i.concat(r).concat(s).join("|")}function HN(t,e){let n=1,i=1,s=EA(t,n),r=new Set([e]);for(;t<=s&&s<=e;)r.add(s),n+=1,s=EA(t,n);for(s=AA(e+1,i)-1;t1&&a.count.pop(),a.count.push(c.count[0]),a.string=a.pattern+_A(a.count),o=f+1;continue}n.isPadded&&(d=JN(f,n,i)),c.string=d+c.pattern+_A(c.count),r.push(c),o=f+1,a=c;}return r}function pf(t,e,n,i,s){let r=[];for(let o of t){let{string:a}=o;!i&&!SA(e,"string",a)&&r.push(n+a),i&&SA(e,"string",a)&&r.push(n+a);}return r}function GN(t,e){let n=[];for(let i=0;ie?1:e>t?-1:0}function SA(t,e,n){return t.some(i=>i[e]===n)}function EA(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function AA(t,e){return t-t%Math.pow(10,e)}function _A(t){let[e=0,n=""]=t;return n||e>1?`{${e+(n?","+n:"")}}`:""}function KN(t,e,n){return `[${t}${e-t===1?"":"-"}${e}]`}function RA(t){return /^-?(0+)\d/.test(t)}function JN(t,e,n){if(!e.isPadded)return t;let i=Math.abs(e.maxLen-String(t).length),s=n.relaxZeros!==!1;switch(i){case 0:return "";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}Ci.cache={};Ci.clearCache=()=>Ci.cache={};CA.exports=Ci;});var mf=R((WG,$A)=>{var YN=H("util"),PA=TA(),OA=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),XN=t=>e=>t===!0?Number(e):String(e),ff=t=>typeof t=="number"||typeof t=="string"&&t!=="",Is=t=>Number.isInteger(+t),df=t=>{let e=`${t}`,n=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return !1;for(;e[++n]==="0";);return n>0},QN=(t,e,n)=>typeof t=="string"||typeof e=="string"?!0:n.stringify===!0,ZN=(t,e,n)=>{if(e>0){let i=t[0]==="-"?"-":"";i&&(t=t.slice(1)),t=i+t.padStart(i?e-1:e,"0");}return n===!1?String(t):t},kA=(t,e)=>{let n=t[0]==="-"?"-":"";for(n&&(t=t.slice(1),e--);t.length{t.negatives.sort((o,a)=>oa?1:0),t.positives.sort((o,a)=>oa?1:0);let n=e.capture?"":"?:",i="",s="",r;return t.positives.length&&(i=t.positives.join("|")),t.negatives.length&&(s=`-(${n}${t.negatives.join("|")})`),i&&s?r=`${i}|${s}`:r=i||s,e.wrap?`(${n}${r})`:r},FA=(t,e,n,i)=>{if(n)return PA(t,e,{wrap:!1,...i});let s=String.fromCharCode(t);if(t===e)return s;let r=String.fromCharCode(e);return `[${s}-${r}]`},IA=(t,e,n)=>{if(Array.isArray(t)){let i=n.wrap===!0,s=n.capture?"":"?:";return i?`(${s}${t.join("|")})`:t.join("|")}return PA(t,e,n)},LA=(...t)=>new RangeError("Invalid range arguments: "+YN.inspect(...t)),qA=(t,e,n)=>{if(n.strictRanges===!0)throw LA([t,e]);return []},t3=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return []},n3=(t,e,n=1,i={})=>{let s=Number(t),r=Number(e);if(!Number.isInteger(s)||!Number.isInteger(r)){if(i.strictRanges===!0)throw LA([t,e]);return []}s===0&&(s=0),r===0&&(r=0);let o=s>r,a=String(t),u=String(e),f=String(n);n=Math.max(Math.abs(n),1);let c=df(a)||df(u)||df(f),d=c?Math.max(a.length,u.length,f.length):0,g=c===!1&&QN(t,e,i)===!1,h=i.transform||XN(g);if(i.toRegex&&n===1)return FA(kA(t,d),kA(e,d),!0,i);let y={negatives:[],positives:[]},b=S=>y[S<0?"negatives":"positives"].push(Math.abs(S)),A=[],_=0;for(;o?s>=r:s<=r;)i.toRegex===!0&&n>1?b(s):A.push(ZN(h(s,_),d,g)),s=o?s-n:s+n,_++;return i.toRegex===!0?n>1?e3(y,i):IA(A,null,{wrap:!1,...i}):A},i3=(t,e,n=1,i={})=>{if(!Is(t)&&t.length>1||!Is(e)&&e.length>1)return qA(t,e,i);let s=i.transform||(g=>String.fromCharCode(g)),r=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),a=r>o,u=Math.min(r,o),f=Math.max(r,o);if(i.toRegex&&n===1)return FA(u,f,!1,i);let c=[],d=0;for(;a?r>=o:r<=o;)c.push(s(r,d)),r=a?r-n:r+n,d++;return i.toRegex===!0?IA(c,null,{wrap:!1,options:i}):c},Xa=(t,e,n,i={})=>{if(e==null&&ff(t))return [t];if(!ff(t)||!ff(e))return qA(t,e,i);if(typeof n=="function")return Xa(t,e,1,{transform:n});if(OA(n))return Xa(t,e,0,n);let s={...i};return s.capture===!0&&(s.wrap=!0),n=n||s.step||1,Is(n)?Is(t)&&Is(e)?n3(t,e,n,s):i3(t,e,Math.max(Math.abs(n),1),s):n!=null&&!OA(n)?t3(n,s):Xa(t,e,1,n)};$A.exports=Xa;});var jA=R((GG,DA)=>{var r3=mf(),BA=Ja(),s3=(t,e={})=>{let n=(i,s={})=>{let r=BA.isInvalidBrace(s),o=i.invalid===!0&&e.escapeInvalid===!0,a=r===!0||o===!0,u=e.escapeInvalid===!0?"\\":"",f="";if(i.isOpen===!0||i.isClose===!0)return u+i.value;if(i.type==="open")return a?u+i.value:"(";if(i.type==="close")return a?u+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":a?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let c=BA.reduce(i.nodes),d=r3(...c,{...e,wrap:!1,toRegex:!0});if(d.length!==0)return c.length>1&&d.length>1?`(${d})`:d}if(i.nodes)for(let c of i.nodes)f+=n(c,i);return f};return n(t)};DA.exports=s3;});var MA=R((VG,UA)=>{var o3=mf(),NA=Ya(),br=Ja(),Ti=(t="",e="",n=!1)=>{let i=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return n?br.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let r of s)i.push(Ti(r,e,n));else for(let r of e)n===!0&&typeof r=="string"&&(r=`{${r}}`),i.push(Array.isArray(r)?Ti(s,r,n):s+r);return br.flatten(i)},a3=(t,e={})=>{let n=e.rangeLimit===void 0?1e3:e.rangeLimit,i=(s,r={})=>{s.queue=[];let o=r,a=r.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(s.invalid||s.dollar){a.push(Ti(a.pop(),NA(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){a.push(Ti(a.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let d=br.reduce(s.nodes);if(br.exceedsLimit(...d,e.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let g=o3(...d,e);g.length===0&&(g=NA(s,e)),a.push(Ti(a.pop(),g)),s.nodes=[];return}let u=br.encloseBrace(s),f=s.queue,c=s;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,f=c.queue;for(let d=0;d{zA.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:` -`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"};});var JA=R((JG,KA)=>{var c3=Ya(),{MAX_LENGTH:WA,CHAR_BACKSLASH:hf,CHAR_BACKTICK:l3,CHAR_COMMA:u3,CHAR_DOT:p3,CHAR_LEFT_PARENTHESES:f3,CHAR_RIGHT_PARENTHESES:d3,CHAR_LEFT_CURLY_BRACE:m3,CHAR_RIGHT_CURLY_BRACE:h3,CHAR_LEFT_SQUARE_BRACKET:GA,CHAR_RIGHT_SQUARE_BRACKET:VA,CHAR_DOUBLE_QUOTE:g3,CHAR_SINGLE_QUOTE:y3,CHAR_NO_BREAK_SPACE:x3,CHAR_ZERO_WIDTH_NOBREAK_SPACE:v3}=HA(),b3=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let n=e||{},i=typeof n.maxLength=="number"?Math.min(WA,n.maxLength):WA;if(t.length>i)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${i})`);let s={type:"root",input:t,nodes:[]},r=[s],o=s,a=s,u=0,f=t.length,c=0,d=0,g,y=()=>t[c++],b=A=>{if(A.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&A.type==="text"){a.value+=A.value;return}return o.nodes.push(A),A.parent=o,A.prev=a,a=A,A};for(b({type:"bos"});c0){if(o.ranges>0){o.ranges=0;let A=o.nodes.shift();o.nodes=[A,{type:"text",value:c3(o)}];}b({type:"comma",value:g}),o.commas++;continue}if(g===p3&&d>0&&o.commas===0){let A=o.nodes;if(d===0||A.length===0){b({type:"text",value:g});continue}if(a.type==="dot"){if(o.range=[],a.value+=g,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){A.pop();let _=A[A.length-1];_.value+=a.value+g,a=_,o.ranges--;continue}b({type:"dot",value:g});continue}b({type:"text",value:g});}do if(o=r.pop(),o.type!=="root"){o.nodes.forEach(S=>{S.nodes||(S.type==="open"&&(S.isOpen=!0),S.type==="close"&&(S.isClose=!0),S.nodes||(S.type="text"),S.invalid=!0);});let A=r[r.length-1],_=A.nodes.indexOf(o);A.nodes.splice(_,1,...o.nodes);}while(r.length>0);return b({type:"eos"}),s};KA.exports=b3;});var QA=R((YG,XA)=>{var YA=Ya(),w3=jA(),S3=MA(),E3=JA(),kt=(t,e={})=>{let n=[];if(Array.isArray(t))for(let i of t){let s=kt.create(i,e);Array.isArray(s)?n.push(...s):n.push(s);}else n=[].concat(kt.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(n=[...new Set(n)]),n};kt.parse=(t,e={})=>E3(t,e);kt.stringify=(t,e={})=>YA(typeof t=="string"?kt.parse(t,e):t,e);kt.compile=(t,e={})=>(typeof t=="string"&&(t=kt.parse(t,e)),w3(t,e));kt.expand=(t,e={})=>{typeof t=="string"&&(t=kt.parse(t,e));let n=S3(t,e);return e.noempty===!0&&(n=n.filter(Boolean)),e.nodupes===!0&&(n=[...new Set(n)]),n};kt.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?kt.compile(t,e):kt.expand(t,e);XA.exports=kt;});var ZA=R((XG,A3)=>{A3.exports=["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"];});var t_=R((QG,e_)=>{e_.exports=ZA();});var i_=R((ZG,n_)=>{var _3=H("path"),R3=t_(),C3=new Set(R3);n_.exports=t=>C3.has(_3.extname(t).slice(1).toLowerCase());});var Qa=R(se=>{var{sep:T3}=H("path"),{platform:gf}=process,O3=H("os");se.EV_ALL="all";se.EV_READY="ready";se.EV_ADD="add";se.EV_CHANGE="change";se.EV_ADD_DIR="addDir";se.EV_UNLINK="unlink";se.EV_UNLINK_DIR="unlinkDir";se.EV_RAW="raw";se.EV_ERROR="error";se.STR_DATA="data";se.STR_END="end";se.STR_CLOSE="close";se.FSEVENT_CREATED="created";se.FSEVENT_MODIFIED="modified";se.FSEVENT_DELETED="deleted";se.FSEVENT_MOVED="moved";se.FSEVENT_CLONED="cloned";se.FSEVENT_UNKNOWN="unknown";se.FSEVENT_TYPE_FILE="file";se.FSEVENT_TYPE_DIRECTORY="directory";se.FSEVENT_TYPE_SYMLINK="symlink";se.KEY_LISTENERS="listeners";se.KEY_ERR="errHandlers";se.KEY_RAW="rawEmitters";se.HANDLER_KEYS=[se.KEY_LISTENERS,se.KEY_ERR,se.KEY_RAW];se.DOT_SLASH=`.${T3}`;se.BACK_SLASH_RE=/\\/g;se.DOUBLE_SLASH_RE=/\/\//;se.SLASH_OR_BACK_SLASH_RE=/[/\\]/;se.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/;se.REPLACER_RE=/^\.[/\\]/;se.SLASH="/";se.SLASH_SLASH="//";se.BRACE_START="{";se.BANG="!";se.ONE_DOT=".";se.TWO_DOTS="..";se.STAR="*";se.GLOBSTAR="**";se.ROOT_GLOBSTAR="/**/*";se.SLASH_GLOBSTAR="/**";se.DIR_SUFFIX="Dir";se.ANYMATCH_OPTS={dot:!0};se.STRING_TYPE="string";se.FUNCTION_TYPE="function";se.EMPTY_STR="";se.EMPTY_FN=()=>{};se.IDENTITY_FN=t=>t;se.isWindows=gf==="win32";se.isMacos=gf==="darwin";se.isLinux=gf==="linux";se.isIBMi=O3.type()==="OS400";});var l_=R((t5,c_)=>{var Cn=H("fs"),We=H("path"),{promisify:Bs}=H("util"),k3=i_(),{isWindows:P3,isLinux:F3,EMPTY_FN:I3,EMPTY_STR:L3,KEY_LISTENERS:wr,KEY_ERR:yf,KEY_RAW:Ls,HANDLER_KEYS:q3,EV_CHANGE:ec,EV_ADD:Za,EV_ADD_DIR:$3,EV_ERROR:s_,STR_DATA:B3,STR_END:D3,BRACE_START:j3,STAR:N3}=Qa(),U3="watch",M3=Bs(Cn.open),o_=Bs(Cn.stat),z3=Bs(Cn.lstat),H3=Bs(Cn.close),xf=Bs(Cn.realpath),W3={lstat:z3,stat:o_},bf=(t,e)=>{t instanceof Set?t.forEach(e):e(t);},qs=(t,e,n)=>{let i=t[e];i instanceof Set||(t[e]=i=new Set([i])),i.add(n);},G3=t=>e=>{let n=t[e];n instanceof Set?n.clear():delete t[e];},$s=(t,e,n)=>{let i=t[e];i instanceof Set?i.delete(n):i===n&&delete t[e];},a_=t=>t instanceof Set?t.size===0:!t,tc=new Map;function r_(t,e,n,i,s){let r=(o,a)=>{n(t),s(o,a,{watchedPath:t}),a&&t!==a&&nc(We.resolve(t,a),wr,We.join(t,a));};try{return Cn.watch(t,e,r)}catch(o){i(o);}}var nc=(t,e,n,i,s)=>{let r=tc.get(t);r&&bf(r[e],o=>{o(n,i,s);});},V3=(t,e,n,i)=>{let{listener:s,errHandler:r,rawEmitter:o}=i,a=tc.get(e),u;if(!n.persistent)return u=r_(t,n,s,r,o),u.close.bind(u);if(a)qs(a,wr,s),qs(a,yf,r),qs(a,Ls,o);else {if(u=r_(t,n,nc.bind(null,e,wr),r,nc.bind(null,e,Ls)),!u)return;u.on(s_,async f=>{let c=nc.bind(null,e,yf);if(a.watcherUnusable=!0,P3&&f.code==="EPERM")try{let d=await M3(t,"r");await H3(d),c(f);}catch{}else c(f);}),a={listeners:s,errHandlers:r,rawEmitters:o,watcher:u},tc.set(e,a);}return ()=>{$s(a,wr,s),$s(a,yf,r),$s(a,Ls,o),a_(a.listeners)&&(a.watcher.close(),tc.delete(e),q3.forEach(G3(a)),a.watcher=void 0,Object.freeze(a));}},vf=new Map,K3=(t,e,n,i)=>{let {listener:s,rawEmitter:r}=i,o=vf.get(e),f=o&&o.options;return f&&(f.persistentn.interval)&&(Cn.unwatchFile(e),o=void 0),o?(qs(o,wr,s),qs(o,Ls,r)):(o={listeners:s,rawEmitters:r,options:n,watcher:Cn.watchFile(e,n,(c,d)=>{bf(o.rawEmitters,h=>{h(ec,e,{curr:c,prev:d});});let g=c.mtimeMs;(c.size!==d.size||g>d.mtimeMs||g===0)&&bf(o.listeners,h=>h(t,c));})},vf.set(e,o)),()=>{$s(o,wr,s),$s(o,Ls,r),a_(o.listeners)&&(vf.delete(e),Cn.unwatchFile(e),o.options=o.watcher=void 0,Object.freeze(o));}},wf=class{constructor(e){this.fsw=e,this._boundHandleError=n=>e._handleError(n);}_watchWithNodeFs(e,n){let i=this.fsw.options,s=We.dirname(e),r=We.basename(e);this.fsw._getWatchedDir(s).add(r);let a=We.resolve(e),u={persistent:i.persistent};n||(n=I3);let f;return i.usePolling?(u.interval=i.enableBinaryInterval&&k3(r)?i.binaryInterval:i.interval,f=K3(e,a,u,{listener:n,rawEmitter:this.fsw._emitRaw})):f=V3(e,a,u,{listener:n,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),f}_handleFile(e,n,i){if(this.fsw.closed)return;let s=We.dirname(e),r=We.basename(e),o=this.fsw._getWatchedDir(s),a=n;if(o.has(r))return;let u=async(c,d)=>{if(this.fsw._throttle(U3,e,5)){if(!d||d.mtimeMs===0)try{let g=await o_(e);if(this.fsw.closed)return;let h=g.atimeMs,y=g.mtimeMs;(!h||h<=y||y!==a.mtimeMs)&&this.fsw._emit(ec,e,g),F3&&a.ino!==g.ino?(this.fsw._closeFile(c),a=g,this.fsw._addPathCloser(c,this._watchWithNodeFs(e,u))):a=g;}catch{this.fsw._remove(s,r);}else if(o.has(r)){let g=d.atimeMs,h=d.mtimeMs;(!g||g<=h||h!==a.mtimeMs)&&this.fsw._emit(ec,e,d),a=d;}}},f=this._watchWithNodeFs(e,u);if(!(i&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(Za,e,0))return;this.fsw._emit(Za,e,n);}return f}async _handleSymlink(e,n,i,s){if(this.fsw.closed)return;let r=e.fullPath,o=this.fsw._getWatchedDir(n);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let a;try{a=await xf(i);}catch{return this.fsw._emitReady(),!0}return this.fsw.closed?void 0:(o.has(s)?this.fsw._symlinkPaths.get(r)!==a&&(this.fsw._symlinkPaths.set(r,a),this.fsw._emit(ec,i,e.stats)):(o.add(s),this.fsw._symlinkPaths.set(r,a),this.fsw._emit(Za,i,e.stats)),this.fsw._emitReady(),!0)}if(this.fsw._symlinkPaths.has(r))return !0;this.fsw._symlinkPaths.set(r,!0);}_handleRead(e,n,i,s,r,o,a){if(e=We.join(e,L3),!i.hasGlob&&(a=this.fsw._throttle("readdir",e,1e3),!a))return;let u=this.fsw._getWatchedDir(i.path),f=new Set,c=this.fsw._readdirp(e,{fileFilter:d=>i.filterPath(d),directoryFilter:d=>i.filterDir(d),depth:0}).on(B3,async d=>{if(this.fsw.closed){c=void 0;return}let g=d.path,h=We.join(e,g);if(f.add(g),!(d.stats.isSymbolicLink()&&await this._handleSymlink(d,e,h,g))){if(this.fsw.closed){c=void 0;return}(g===s||!s&&!u.has(g))&&(this.fsw._incrReadyCount(),h=We.join(r,We.relative(r,h)),this._addToNodeFs(h,n,i,o+1));}}).on(s_,this._boundHandleError);return new Promise(d=>c.once(D3,()=>{if(this.fsw.closed){c=void 0;return}let g=a?a.clear():!1;d(),u.getChildren().filter(h=>h!==e&&!f.has(h)&&(!i.hasGlob||i.filterPath({fullPath:We.resolve(e,h)}))).forEach(h=>{this.fsw._remove(e,h);}),c=void 0,g&&this._handleRead(e,!1,i,s,r,o,a);}))}async _handleDir(e,n,i,s,r,o,a){let u=this.fsw._getWatchedDir(We.dirname(e)),f=u.has(We.basename(e));!(i&&this.fsw.options.ignoreInitial)&&!r&&!f&&(!o.hasGlob||o.globFilter(e))&&this.fsw._emit($3,e,n),u.add(We.basename(e)),this.fsw._getWatchedDir(e);let c,d,g=this.fsw.options.depth;if((g==null||s<=g)&&!this.fsw._symlinkPaths.has(a)){if(!r&&(await this._handleRead(e,i,o,r,e,s,c),this.fsw.closed))return;d=this._watchWithNodeFs(e,(h,y)=>{y&&y.mtimeMs===0||this._handleRead(h,!1,o,r,e,s,c);});}return d}async _addToNodeFs(e,n,i,s,r){let o=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return o(),!1;let a=this.fsw._getWatchHelpers(e,s);!a.hasGlob&&i&&(a.hasGlob=i.hasGlob,a.globFilter=i.globFilter,a.filterPath=u=>i.filterPath(u),a.filterDir=u=>i.filterDir(u));try{let u=await W3[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,u))return o(),!1;let f=this.fsw.options.followSymlinks&&!e.includes(N3)&&!e.includes(j3),c;if(u.isDirectory()){let d=We.resolve(e),g=f?await xf(e):e;if(this.fsw.closed||(c=await this._handleDir(a.watchPath,u,n,s,r,a,g),this.fsw.closed))return;d!==g&&g!==void 0&&this.fsw._symlinkPaths.set(d,g);}else if(u.isSymbolicLink()){let d=f?await xf(e):e;if(this.fsw.closed)return;let g=We.dirname(a.watchPath);if(this.fsw._getWatchedDir(g).add(a.watchPath),this.fsw._emit(Za,a.watchPath,u),c=await this._handleDir(g,u,n,s,e,a,d),this.fsw.closed)return;d!==void 0&&this.fsw._symlinkPaths.set(We.resolve(e),d);}else c=this._handleFile(a.watchPath,u,n);return o(),this.fsw._addPathCloser(e,c),!1}catch(u){if(this.fsw._handleError(u))return o(),e}}};c_.exports=wf;});var g_=R((n5,Of)=>{var Cf=H("fs"),Ge=H("path"),{promisify:Tf}=H("util"),Sr;try{Sr=H("fsevents");}catch(t){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(t);}if(Sr){let t=process.version.match(/v(\d+)\.(\d+)/);if(t&&t[1]&&t[2]){let e=Number.parseInt(t[1],10),n=Number.parseInt(t[2],10);e===8&&n<16&&(Sr=void 0);}}var{EV_ADD:Sf,EV_CHANGE:J3,EV_ADD_DIR:u_,EV_UNLINK:ic,EV_ERROR:Y3,STR_DATA:X3,STR_END:Q3,FSEVENT_CREATED:Z3,FSEVENT_MODIFIED:eU,FSEVENT_DELETED:tU,FSEVENT_MOVED:nU,FSEVENT_UNKNOWN:iU,FSEVENT_TYPE_FILE:rU,FSEVENT_TYPE_DIRECTORY:Ds,FSEVENT_TYPE_SYMLINK:h_,ROOT_GLOBSTAR:p_,DIR_SUFFIX:sU,DOT_SLASH:f_,FUNCTION_TYPE:Ef,EMPTY_FN:oU,IDENTITY_FN:aU}=Qa(),cU=t=>isNaN(t)?{}:{depth:t},_f=Tf(Cf.stat),lU=Tf(Cf.lstat),d_=Tf(Cf.realpath),uU={stat:_f,lstat:lU},Oi=new Map,pU=10,fU=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),dU=(t,e)=>({stop:Sr.watch(t,e)});function mU(t,e,n,i){let s=Ge.extname(e)?Ge.dirname(e):e,r=Ge.dirname(s),o=Oi.get(s);hU(r)&&(s=r);let a=Ge.resolve(t),u=a!==e,f=(d,g,h)=>{u&&(d=d.replace(e,a)),(d===a||!d.indexOf(a+Ge.sep))&&n(d,g,h);},c=!1;for(let d of Oi.keys())if(e.indexOf(Ge.resolve(d)+Ge.sep)===0){s=d,o=Oi.get(s),c=!0;break}return o||c?o.listeners.add(f):(o={listeners:new Set([f]),rawEmitter:i,watcher:dU(s,(d,g)=>{if(!o.listeners.size)return;let h=Sr.getInfo(d,g);o.listeners.forEach(y=>{y(d,g,h);}),o.rawEmitter(h.event,d,h);})},Oi.set(s,o)),()=>{let d=o.listeners;if(d.delete(f),!d.size&&(Oi.delete(s),o.watcher))return o.watcher.stop().then(()=>{o.rawEmitter=o.watcher=void 0,Object.freeze(o);})}}var hU=t=>{let e=0;for(let n of Oi.keys())if(n.indexOf(t)===0&&(e++,e>=pU))return !0;return !1},gU=()=>Sr&&Oi.size<128,Af=(t,e)=>{let n=0;for(;!t.indexOf(e)&&(t=Ge.dirname(t))!==e;)n++;return n},m_=(t,e)=>t.type===Ds&&e.isDirectory()||t.type===h_&&e.isSymbolicLink()||t.type===rU&&e.isFile(),Rf=class{constructor(e){this.fsw=e;}checkIgnored(e,n){let i=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,n))return i.add(e),n&&n.isDirectory()&&i.add(e+p_),!0;i.delete(e),i.delete(e+p_);}addOrChange(e,n,i,s,r,o,a,u){let f=r.has(o)?J3:Sf;this.handleEvent(f,e,n,i,s,r,o,a,u);}async checkExists(e,n,i,s,r,o,a,u){try{let f=await _f(e);if(this.fsw.closed)return;m_(a,f)?this.addOrChange(e,n,i,s,r,o,a,u):this.handleEvent(ic,e,n,i,s,r,o,a,u);}catch(f){f.code==="EACCES"?this.addOrChange(e,n,i,s,r,o,a,u):this.handleEvent(ic,e,n,i,s,r,o,a,u);}}handleEvent(e,n,i,s,r,o,a,u,f){if(!(this.fsw.closed||this.checkIgnored(n)))if(e===ic){let c=u.type===Ds;(c||o.has(a))&&this.fsw._remove(r,a,c);}else {if(e===Sf){if(u.type===Ds&&this.fsw._getWatchedDir(n),u.type===h_&&f.followSymlinks){let d=f.depth===void 0?void 0:Af(i,s)+1;return this._addToFsEvents(n,!1,!0,d)}this.fsw._getWatchedDir(r).add(a);}let c=u.type===Ds?e+sU:e;this.fsw._emit(c,n),c===u_&&this._addToFsEvents(n,!1,!0);}}_watchWithFsEvents(e,n,i,s){if(this.fsw.closed||this.fsw._isIgnored(e))return;let r=this.fsw.options,a=mU(e,n,async(u,f,c)=>{if(this.fsw.closed||r.depth!==void 0&&Af(u,n)>r.depth)return;let d=i(Ge.join(e,Ge.relative(e,u)));if(s&&!s(d))return;let g=Ge.dirname(d),h=Ge.basename(d),y=this.fsw._getWatchedDir(c.type===Ds?d:g);if(fU.has(f)||c.event===iU)if(typeof r.ignored===Ef){let b;try{b=await _f(d);}catch{}if(this.fsw.closed||this.checkIgnored(d,b))return;m_(c,b)?this.addOrChange(d,u,n,g,y,h,c,r):this.handleEvent(ic,d,u,n,g,y,h,c,r);}else this.checkExists(d,u,n,g,y,h,c,r);else switch(c.event){case Z3:case eU:return this.addOrChange(d,u,n,g,y,h,c,r);case tU:case nU:return this.checkExists(d,u,n,g,y,h,c,r)}},this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,n,i,s){if(!(this.fsw.closed||this.fsw._symlinkPaths.has(n))){this.fsw._symlinkPaths.set(n,!0),this.fsw._incrReadyCount();try{let r=await d_(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(r))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(r||e,o=>{let a=e;return r&&r!==f_?a=o.replace(r,e):o!==f_&&(a=Ge.join(e,o)),i(a)},!1,s);}catch(r){if(this.fsw._handleError(r))return this.fsw._emitReady()}}}emitAdd(e,n,i,s,r){let o=i(e),a=n.isDirectory(),u=this.fsw._getWatchedDir(Ge.dirname(o)),f=Ge.basename(o);a&&this.fsw._getWatchedDir(o),!u.has(f)&&(u.add(f),(!s.ignoreInitial||r===!0)&&this.fsw._emit(a?u_:Sf,o,n));}initWatch(e,n,i,s){if(this.fsw.closed)return;let r=this._watchWithFsEvents(i.watchPath,Ge.resolve(e||i.watchPath),s,i.globFilter);this.fsw._addPathCloser(n,r);}async _addToFsEvents(e,n,i,s){if(this.fsw.closed)return;let r=this.fsw.options,o=typeof n===Ef?n:aU,a=this.fsw._getWatchHelpers(e);try{let u=await uU[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,u))throw null;if(u.isDirectory()){if(a.globFilter||this.emitAdd(o(e),u,o,r,i),s&&s>r.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:f=>a.filterPath(f),directoryFilter:f=>a.filterDir(f),...cU(r.depth-(s||0))}).on(X3,f=>{if(this.fsw.closed||f.stats.isDirectory()&&!a.filterPath(f))return;let c=Ge.join(a.watchPath,f.path),{fullPath:d}=f;if(a.followSymlinks&&f.stats.isSymbolicLink()){let g=r.depth===void 0?void 0:Af(c,Ge.resolve(a.watchPath))+1;this._handleFsEventsSymlink(c,d,o,g);}else this.emitAdd(c,f.stats,o,r,i);}).on(Y3,oU).on(Q3,()=>{this.fsw._emitReady();});}else this.emitAdd(a.watchPath,u,o,r,i),this.fsw._emitReady();}catch(u){(!u||this.fsw._handleError(u))&&(this.fsw._emitReady(),this.fsw._emitReady());}if(r.persistent&&i!==!0)if(typeof n===Ef)this.initWatch(void 0,e,a,o);else {let u;try{u=await d_(a.watchPath);}catch{}this.initWatch(u,e,a,o);}}};Of.exports=Rf;Of.exports.canUse=gU;});var C_=R(Hf=>{var{EventEmitter:yU}=H("events"),Mf=H("fs"),be=H("path"),{promisify:E_}=H("util"),xU=nA(),qf=lA().default,vU=hA(),kf=lf(),bU=QA(),wU=af(),SU=l_(),y_=g_(),{EV_ALL:Pf,EV_READY:EU,EV_ADD:rc,EV_CHANGE:js,EV_UNLINK:x_,EV_ADD_DIR:AU,EV_UNLINK_DIR:_U,EV_RAW:RU,EV_ERROR:Ff,STR_CLOSE:CU,STR_END:TU,BACK_SLASH_RE:OU,DOUBLE_SLASH_RE:v_,SLASH_OR_BACK_SLASH_RE:kU,DOT_RE:PU,REPLACER_RE:FU,SLASH:If,SLASH_SLASH:IU,BRACE_START:LU,BANG:$f,ONE_DOT:A_,TWO_DOTS:qU,GLOBSTAR:$U,SLASH_GLOBSTAR:Lf,ANYMATCH_OPTS:Bf,STRING_TYPE:zf,FUNCTION_TYPE:BU,EMPTY_STR:Df,EMPTY_FN:DU,isWindows:jU,isMacos:NU,isIBMi:UU}=Qa(),MU=E_(Mf.stat),zU=E_(Mf.readdir),jf=(t=[])=>Array.isArray(t)?t:[t],__=(t,e=[])=>(t.forEach(n=>{Array.isArray(n)?__(n,e):e.push(n);}),e),b_=t=>{let e=__(jf(t));if(!e.every(n=>typeof n===zf))throw new TypeError(`Non-string provided as watch path: ${e}`);return e.map(R_)},w_=t=>{let e=t.replace(OU,If),n=!1;for(e.startsWith(IU)&&(n=!0);e.match(v_);)e=e.replace(v_,If);return n&&(e=If+e),e},R_=t=>w_(be.normalize(w_(t))),S_=(t=Df)=>e=>typeof e!==zf?e:R_(be.isAbsolute(e)?e:be.join(t,e)),HU=(t,e)=>be.isAbsolute(t)?t:t.startsWith($f)?$f+be.join(e,t.slice(1)):be.join(e,t),Yt=(t,e)=>t[e]===void 0,Nf=class{constructor(e,n){this.path=e,this._removeWatcher=n,this.items=new Set;}add(e){let{items:n}=this;n&&e!==A_&&e!==qU&&n.add(e);}async remove(e){let{items:n}=this;if(!n||(n.delete(e),n.size>0))return;let i=this.path;try{await zU(i);}catch{this._removeWatcher&&this._removeWatcher(be.dirname(i),be.basename(i));}}has(e){let{items:n}=this;if(n)return n.has(e)}getChildren(){let{items:e}=this;if(e)return [...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this);}},WU="stat",GU="lstat",Uf=class{constructor(e,n,i,s){this.fsw=s,this.path=e=e.replace(FU,Df),this.watchPath=n,this.fullWatchPath=be.resolve(n),this.hasGlob=n!==e,e===Df&&(this.hasGlob=!1),this.globSymlink=this.hasGlob&&i?void 0:!1,this.globFilter=this.hasGlob?qf(e,void 0,Bf):!1,this.dirParts=this.getDirParts(e),this.dirParts.forEach(r=>{r.length>1&&r.pop();}),this.followSymlinks=i,this.statMethod=i?WU:GU;}checkGlobSymlink(e){return this.globSymlink===void 0&&(this.globSymlink=e.fullParentDir===this.fullWatchPath?!1:{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return be.join(this.watchPath,be.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){let{stats:n}=e;if(n&&n.isSymbolicLink())return this.filterDir(e);let i=this.entryPath(e);return (this.hasGlob&&typeof this.globFilter===BU?this.globFilter(i):!0)&&this.fsw._isntIgnored(i,n)&&this.fsw._hasReadPermissions(n)}getDirParts(e){if(!this.hasGlob)return [];let n=[];return (e.includes(LU)?bU.expand(e):[e]).forEach(s=>{n.push(be.relative(this.watchPath,s).split(kU));}),n}filterDir(e){if(this.hasGlob){let n=this.getDirParts(this.checkGlobSymlink(e)),i=!1;this.unmatchedGlob=!this.dirParts.some(s=>s.every((r,o)=>(r===$U&&(i=!0),i||!n[0][o]||qf(r,n[0][o],Bf))));}return !this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}},sc=class extends yU{constructor(e){super();let n={};e&&Object.assign(n,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,Yt(n,"persistent")&&(n.persistent=!0),Yt(n,"ignoreInitial")&&(n.ignoreInitial=!1),Yt(n,"ignorePermissionErrors")&&(n.ignorePermissionErrors=!1),Yt(n,"interval")&&(n.interval=100),Yt(n,"binaryInterval")&&(n.binaryInterval=300),Yt(n,"disableGlobbing")&&(n.disableGlobbing=!1),n.enableBinaryInterval=n.binaryInterval!==n.interval,Yt(n,"useFsEvents")&&(n.useFsEvents=!n.usePolling),y_.canUse()||(n.useFsEvents=!1),Yt(n,"usePolling")&&!n.useFsEvents&&(n.usePolling=NU),UU&&(n.usePolling=!0);let s=process.env.CHOKIDAR_USEPOLLING;if(s!==void 0){let u=s.toLowerCase();u==="false"||u==="0"?n.usePolling=!1:u==="true"||u==="1"?n.usePolling=!0:n.usePolling=!!u;}let r=process.env.CHOKIDAR_INTERVAL;r&&(n.interval=Number.parseInt(r,10)),Yt(n,"atomic")&&(n.atomic=!n.usePolling&&!n.useFsEvents),n.atomic&&(this._pendingUnlinks=new Map),Yt(n,"followSymlinks")&&(n.followSymlinks=!0),Yt(n,"awaitWriteFinish")&&(n.awaitWriteFinish=!1),n.awaitWriteFinish===!0&&(n.awaitWriteFinish={});let o=n.awaitWriteFinish;o&&(o.stabilityThreshold||(o.stabilityThreshold=2e3),o.pollInterval||(o.pollInterval=100),this._pendingWrites=new Map),n.ignored&&(n.ignored=jf(n.ignored));let a=0;this._emitReady=()=>{a++,a>=this._readyCount&&(this._emitReady=DU,this._readyEmitted=!0,process.nextTick(()=>this.emit(EU)));},this._emitRaw=(...u)=>this.emit(RU,...u),this._readyEmitted=!1,this.options=n,n.useFsEvents?this._fsEventsHandler=new y_(this):this._nodeFsHandler=new SU(this),Object.freeze(n);}add(e,n,i){let{cwd:s,disableGlobbing:r}=this.options;this.closed=!1;let o=b_(e);return s&&(o=o.map(a=>{let u=HU(a,s);return r||!kf(a)?u:wU(u)})),o=o.filter(a=>a.startsWith($f)?(this._ignoredPaths.add(a.slice(1)),!1):(this._ignoredPaths.delete(a),this._ignoredPaths.delete(a+Lf),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach(a=>this._fsEventsHandler._addToFsEvents(a))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map(async a=>{let u=await this._nodeFsHandler._addToNodeFs(a,!i,0,0,n);return u&&this._emitReady(),u})).then(a=>{this.closed||a.filter(u=>u).forEach(u=>{this.add(be.dirname(u),be.basename(n||u));});})),this}unwatch(e){if(this.closed)return this;let n=b_(e),{cwd:i}=this.options;return n.forEach(s=>{!be.isAbsolute(s)&&!this._closers.has(s)&&(i&&(s=be.join(i,s)),s=be.resolve(s)),this._closePath(s),this._ignoredPaths.add(s),this._watched.has(s)&&this._ignoredPaths.add(s+Lf),this._userIgnored=void 0;}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();let e=[];return this._closers.forEach(n=>n.forEach(i=>{let s=i();s instanceof Promise&&e.push(s);})),this._streams.forEach(n=>n.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(n=>n.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(n=>{this[`_${n}`].clear();}),this._closePromise=e.length?Promise.all(e).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){let e={};return this._watched.forEach((n,i)=>{let s=this.options.cwd?be.relative(this.options.cwd,i):i;e[s||A_]=n.getChildren().sort();}),e}emitWithAll(e,n){this.emit(...n),e!==Ff&&this.emit(Pf,...n);}async _emit(e,n,i,s,r){if(this.closed)return;let o=this.options;jU&&(n=be.normalize(n)),o.cwd&&(n=be.relative(o.cwd,n));let a=[e,n];r!==void 0?a.push(i,s,r):s!==void 0?a.push(i,s):i!==void 0&&a.push(i);let u=o.awaitWriteFinish,f;if(u&&(f=this._pendingWrites.get(n)))return f.lastChange=new Date,this;if(o.atomic){if(e===x_)return this._pendingUnlinks.set(n,a),setTimeout(()=>{this._pendingUnlinks.forEach((c,d)=>{this.emit(...c),this.emit(Pf,...c),this._pendingUnlinks.delete(d);});},typeof o.atomic=="number"?o.atomic:100),this;e===rc&&this._pendingUnlinks.has(n)&&(e=a[0]=js,this._pendingUnlinks.delete(n));}if(u&&(e===rc||e===js)&&this._readyEmitted){let c=(d,g)=>{d?(e=a[0]=Ff,a[1]=d,this.emitWithAll(e,a)):g&&(a.length>2?a[2]=g:a.push(g),this.emitWithAll(e,a));};return this._awaitWriteFinish(n,u.stabilityThreshold,e,c),this}if(e===js&&!this._throttle(js,n,50))return this;if(o.alwaysStat&&i===void 0&&(e===rc||e===AU||e===js)){let c=o.cwd?be.join(o.cwd,n):n,d;try{d=await MU(c);}catch{}if(!d||this.closed)return;a.push(d);}return this.emitWithAll(e,a),this}_handleError(e){let n=e&&e.code;return e&&n!=="ENOENT"&&n!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||n!=="EPERM"&&n!=="EACCES")&&this.emit(Ff,e),e||this.closed}_throttle(e,n,i){this._throttled.has(e)||this._throttled.set(e,new Map);let s=this._throttled.get(e),r=s.get(n);if(r)return r.count++,!1;let o,a=()=>{let f=s.get(n),c=f?f.count:0;return s.delete(n),clearTimeout(o),f&&clearTimeout(f.timeoutObject),c};o=setTimeout(a,i);let u={timeoutObject:o,clear:a,count:0};return s.set(n,u),u}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,n,i,s){let r,o=e;this.options.cwd&&!be.isAbsolute(e)&&(o=be.join(this.options.cwd,e));let a=new Date,u=f=>{Mf.stat(o,(c,d)=>{if(c||!this._pendingWrites.has(e)){c&&c.code!=="ENOENT"&&s(c);return}let g=Number(new Date);f&&d.size!==f.size&&(this._pendingWrites.get(e).lastChange=g);let h=this._pendingWrites.get(e);g-h.lastChange>=n?(this._pendingWrites.delete(e),s(void 0,d)):r=setTimeout(u,this.options.awaitWriteFinish.pollInterval,d);});};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:a,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(r),i)}),r=setTimeout(u,this.options.awaitWriteFinish.pollInterval));}_getGlobIgnored(){return [...this._ignoredPaths.values()]}_isIgnored(e,n){if(this.options.atomic&&PU.test(e))return !0;if(!this._userIgnored){let{cwd:i}=this.options,s=this.options.ignored,r=s&&s.map(S_(i)),o=jf(r).filter(u=>typeof u===zf&&!kf(u)).map(u=>u+Lf),a=this._getGlobIgnored().map(S_(i)).concat(r,o);this._userIgnored=qf(a,void 0,Bf);}return this._userIgnored([e,n])}_isntIgnored(e,n){return !this._isIgnored(e,n)}_getWatchHelpers(e,n){let i=n||this.options.disableGlobbing||!kf(e)?e:vU(e),s=this.options.followSymlinks;return new Uf(e,i,s,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));let n=be.resolve(e);return this._watched.has(n)||this._watched.set(n,new Nf(n,this._boundRemove)),this._watched.get(n)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return !0;let i=(e&&Number.parseInt(e.mode,10))&511;return !!(4&Number.parseInt(i.toString(8)[0],10))}_remove(e,n,i){let s=be.join(e,n),r=be.resolve(s);if(i=i??(this._watched.has(s)||this._watched.has(r)),!this._throttle("remove",s,100))return;!i&&!this.options.useFsEvents&&this._watched.size===1&&this.add(e,n,!0),this._getWatchedDir(s).getChildren().forEach(g=>this._remove(s,g));let u=this._getWatchedDir(e),f=u.has(n);u.remove(n),this._symlinkPaths.has(r)&&this._symlinkPaths.delete(r);let c=s;if(this.options.cwd&&(c=be.relative(this.options.cwd,s)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===rc)return;this._watched.delete(s),this._watched.delete(r);let d=i?_U:x_;f&&!this._isIgnored(s)&&this._emit(d,s),this.options.useFsEvents||this._closePath(s);}_closePath(e){this._closeFile(e);let n=be.dirname(e);this._getWatchedDir(n).remove(be.basename(e));}_closeFile(e){let n=this._closers.get(e);n&&(n.forEach(i=>i()),this._closers.delete(e));}_addPathCloser(e,n){if(!n)return;let i=this._closers.get(e);i||(i=[],this._closers.set(e,i)),i.push(n);}_readdirp(e,n){if(this.closed)return;let i={type:Pf,alwaysStat:!0,lstat:!0,...n},s=xU(e,i);return this._streams.add(s),s.once(CU,()=>{s=void 0;}),s.once(TU,()=>{s&&(this._streams.delete(s),s=void 0);}),s}};Hf.FSWatcher=sc;var VU=(t,e)=>{let n=new sc(e);return n.add(t),n};Hf.watch=VU;});var D_=R((Li,B_)=>{var Qf=H("crypto");Li=B_.exports=Vs;function Vs(t,e){return e=q_(t,e),JU(t,e)}Li.sha1=function(t){return Vs(t)};Li.keys=function(t){return Vs(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})};Li.MD5=function(t){return Vs(t,{algorithm:"md5",encoding:"hex"})};Li.keysMD5=function(t){return Vs(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var kr=Qf.getHashes?Qf.getHashes().slice():["sha1","md5"];kr.push("passthrough");var I_=["buffer","hex","binary","base64"];function q_(t,e){e=e||{};var n={};if(n.algorithm=e.algorithm||"sha1",n.encoding=e.encoding||"hex",n.excludeValues=!!e.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=e.ignoreUnknown===!0,n.respectType=e.respectType!==!1,n.respectFunctionNames=e.respectFunctionNames!==!1,n.respectFunctionProperties=e.respectFunctionProperties!==!1,n.unorderedArrays=e.unorderedArrays===!0,n.unorderedSets=e.unorderedSets!==!1,n.unorderedObjects=e.unorderedObjects!==!1,n.replacer=e.replacer||void 0,n.excludeKeys=e.excludeKeys||void 0,typeof t>"u")throw new Error("Object argument required.");for(var i=0;i"u"&&(n.write=n.update,n.end=n.update);var i=Zf(e,n);if(i.dispatch(t),n.update||n.end(""),n.digest)return n.digest(e.encoding==="buffer"?void 0:e.encoding);var s=n.read();return e.encoding==="buffer"?s:s.toString(e.encoding)}Li.writeToStream=function(t,e,n){return typeof n>"u"&&(n=e,e={}),e=q_(t,e),Zf(e,n).dispatch(t)};function Zf(t,e,n){n=n||[];var i=function(s){return e.update?e.update(s,"utf8"):e.write(s,"utf8")};return {dispatch:function(s){t.replacer&&(s=t.replacer(s));var r=typeof s;return s===null&&(r="null"),this["_"+r](s)},_object:function(s){var r=/\[object (.*)\]/i,o=Object.prototype.toString.call(s),a=r.exec(o);a?a=a[1]:a="unknown:["+o+"]",a=a.toLowerCase();var u=null;if((u=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+u+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return i("buffer:"),i(s);if(a!=="object"&&a!=="function"&&a!=="asyncfunction")if(this["_"+a])this["_"+a](s);else {if(t.ignoreUnknown)return i("["+a+"]");throw new Error('Unknown object type "'+a+'"')}else {var f=Object.keys(s);t.unorderedObjects&&(f=f.sort()),t.respectType!==!1&&!L_(s)&&f.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(f=f.filter(function(d){return !t.excludeKeys(d)})),i("object:"+f.length+":");var c=this;return f.forEach(function(d){c.dispatch(d),i(":"),t.excludeValues||c.dispatch(s[d]),i(",");})}},_array:function(s,r){r=typeof r<"u"?r:t.unorderedArrays!==!1;var o=this;if(i("array:"+s.length+":"),!r||s.length<=1)return s.forEach(function(f){return o.dispatch(f)});var a=[],u=s.map(function(f){var c=new $_,d=n.slice(),g=Zf(t,c,d);return g.dispatch(f),a=a.concat(d.slice(n.length)),c.read().toString()});return n=n.concat(a),u.sort(),this._array(u,!1)},_date:function(s){return i("date:"+s.toJSON())},_symbol:function(s){return i("symbol:"+s.toString())},_error:function(s){return i("error:"+s.toString())},_boolean:function(s){return i("bool:"+s.toString())},_string:function(s){i("string:"+s.length+":"),i(s.toString());},_function:function(s){i("fn:"),L_(s)?this.dispatch("[native]"):this.dispatch(s.toString()),t.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),t.respectFunctionProperties&&this._object(s);},_number:function(s){return i("number:"+s.toString())},_xml:function(s){return i("xml:"+s.toString())},_null:function(){return i("Null")},_undefined:function(){return i("Undefined")},_regexp:function(s){return i("regex:"+s.toString())},_uint8array:function(s){return i("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray:function(s){return i("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array:function(s){return i("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array:function(s){return i("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array:function(s){return i("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array:function(s){return i("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array:function(s){return i("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array:function(s){return i("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array:function(s){return i("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer:function(s){return i("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url:function(s){return i("url:"+s.toString())},_map:function(s){i("map:");var r=Array.from(s);return this._array(r,t.unorderedSets!==!1)},_set:function(s){i("set:");var r=Array.from(s);return this._array(r,t.unorderedSets!==!1)},_file:function(s){return i("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},_blob:function(){if(t.ignoreUnknown)return i("[blob]");throw Error(`Hashing Blob objects is currently not supported +`,"utf-8"),this.emit("history");}async immutate(n){let{size:i}=this.options,s=this.now();for(let r=1;r<1e3;++r){let o=0,a;this.filename=this.options.path+this.generator(s,r);try{a=await this.fsStat(this.filename);}catch(u){if(u.code!=="ENOENT")throw u}if(a){if(o=a.size,!a.isFile())throw new Error(`Can't write on: '${this.filename}' (it is not a file)`);if(i&&o>=i)continue}if(n)return this.last=this.filename,this.reopen(o);await this.rotated(this.last),this.last=this.filename;return}throw new Ts}async unlink(n){try{await this.fsUnlink(n);}catch(i){if(i.code!=="ENOENT")throw i;this.emit("warning",i);}}};Pj={M:!0,d:!0,h:!0,m:!0,s:!0};Fj={B:!0,G:!0,K:!0,M:!0};vE={encoding:(t,e,n)=>new vF.TextDecoder(n),immutable:()=>{},initialRotation:()=>{},interval:Wp("interval",Ij),intervalBoundary:()=>{},maxFiles:yE("maxFiles"),maxSize:Wp("maxSize",xE),mode:()=>{},omitExtension:()=>{},rotate:yE("rotate"),size:Wp("size",xE),teeToStdout:()=>{},compress:(t,e,n)=>{if(!n)throw new Error("A value for 'options.compress' must be specified");if(t==="boolean")return e.compress=(i,s)=>`cat ${i} | gzip -c9 > ${s}`;if(t!=="function"){if(t!=="string")throw new Error(`Don't know how to handle 'options.compress' type: ${t}`);if(n!=="gzip")throw new Error(`Don't know how to handle compression method: ${n}`)}},history:t=>{if(t!=="string")throw new Error(`Don't know how to handle 'options.history' type: ${t}`)},path:(t,e,n)=>{if(t!=="string")throw new Error(`Don't know how to handle 'options.path' type: ${t}`);n[n.length-1]!==path.sep&&(e.path=n+path.sep);}};});var _E={};Tc(_E,{allLoggers:()=>Os,rootLogger:()=>$e});var Vp,EE,$e,Os,pn=io(()=>{Vp=vn(mE());xs();EE=(SE(),Oc(wE)).createStream("tabby-agent.log",{path:H("path").join(H("os").homedir(),".tabby","agent","logs"),size:"10M",interval:"1d"}),$e=EE?(0, Vp.default)(EE):(0, Vp.default)();Os=[$e];$e.onChild=t=>{Os.push(t);};});var CE=R((kG,RE)=>{RE.exports=function(){function t(i,s){function r(){this.constructor=i;}r.prototype=s.prototype,i.prototype=new r;}function e(i,s,r,o,a,u){this.message=i,this.expected=s,this.found=r,this.offset=o,this.line=a,this.column=u,this.name="SyntaxError";}t(e,Error);function n(i){var s=arguments.length>1?arguments[1]:{},r={},o={start:Dd},a=Dd,f=function(){return nm},c=r,d="#",g={type:"literal",value:"#",description:'"#"'},h=void 0,y={type:"any",description:"any character"},b="[",A={type:"literal",value:"[",description:'"["'},_="]",S={type:"literal",value:"]",description:'"]"'},C=function(l){Rc(Qe("ObjectPath",l,Ye,Xe));},F=function(l){Rc(Qe("ArrayPath",l,Ye,Xe));},q=function(l,m){return l.concat(m)},J=function(l){return [l]},W=function(l){return l},B=".",$={type:"literal",value:".",description:'"."'},G="=",T={type:"literal",value:"=",description:'"="'},Y=function(l,m){Rc(Qe("Assign",m,Ye,Xe,l));},Z=function(l){return l.join("")},re=function(l){return l.value},k='"""',I={type:"literal",value:'"""',description:'"\\"\\"\\""'},U=null,z=function(l){return Qe("String",l.join(""),Ye,Xe)},ae='"',De={type:"literal",value:'"',description:'"\\""'},he="'''",St={type:"literal",value:"'''",description:`"'''"`},oi="'",at={type:"literal",value:"'",description:`"'"`},ke=function(l){return l},pe=function(l){return l},nn="\\",Be={type:"literal",value:"\\",description:'"\\\\"'},Q=function(){return ""},we="e",K={type:"literal",value:"e",description:'"e"'},de="E",Ee={type:"literal",value:"E",description:'"E"'},Je=function(l,m){return Qe("Float",parseFloat(l+"e"+m),Ye,Xe)},Pe=function(l){return Qe("Float",parseFloat(l),Ye,Xe)},ai="+",Fn={type:"literal",value:"+",description:'"+"'},md=function(l){return l.join("")},$r="-",Dr={type:"literal",value:"-",description:'"-"'},hd=function(l){return "-"+l.join("")},kR=function(l){return Qe("Integer",parseInt(l,10),Ye,Xe)},gd="true",PR={type:"literal",value:"true",description:'"true"'},IR=function(){return Qe("Boolean",!0,Ye,Xe)},yd="false",FR={type:"literal",value:"false",description:'"false"'},LR=function(){return Qe("Boolean",!1,Ye,Xe)},qR=function(){return Qe("Array",[],Ye,Xe)},$R=function(l){return Qe("Array",l?[l]:[],Ye,Xe)},DR=function(l){return Qe("Array",l,Ye,Xe)},BR=function(l,m){return Qe("Array",l.concat(m),Ye,Xe)},xd=function(l){return l},vd=",",bd={type:"literal",value:",",description:'","'},jR="{",NR={type:"literal",value:"{",description:'"{"'},UR="}",MR={type:"literal",value:"}",description:'"}"'},zR=function(l){return Qe("InlineTable",l,Ye,Xe)},wd=function(l,m){return Qe("InlineTableValue",m,Ye,Xe,l)},HR=function(l){return "."+l},WR=function(l){return l.join("")},Br=":",jr={type:"literal",value:":",description:'":"'},Sd=function(l){return l.join("")},Ed="T",Ad={type:"literal",value:"T",description:'"T"'},GR="Z",VR={type:"literal",value:"Z",description:'"Z"'},KR=function(l,m){return Qe("Date",new Date(l+"T"+m+"Z"),Ye,Xe)},JR=function(l,m){return Qe("Date",new Date(l+"T"+m),Ye,Xe)},YR=/^[ \t]/,XR={type:"class",value:"[ \\t]",description:"[ \\t]"},_d=` +`,Rd={type:"literal",value:` +`,description:'"\\n"'},QR="\r",ZR={type:"literal",value:"\r",description:'"\\r"'},eC=/^[0-9a-f]/i,tC={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},nC=/^[0-9]/,iC={type:"class",value:"[0-9]",description:"[0-9]"},rC="_",sC={type:"literal",value:"_",description:'"_"'},oC=function(){return ""},aC=/^[A-Za-z0-9_\-]/,cC={type:"class",value:"[A-Za-z0-9_\\-]",description:"[A-Za-z0-9_\\-]"},lC=function(l){return l.join("")},Cd='\\"',uC={type:"literal",value:'\\"',description:'"\\\\\\""'},pC=function(){return '"'},Td="\\\\",fC={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},dC=function(){return "\\"},Od="\\b",mC={type:"literal",value:"\\b",description:'"\\\\b"'},hC=function(){return "\b"},kd="\\t",gC={type:"literal",value:"\\t",description:'"\\\\t"'},yC=function(){return " "},Pd="\\n",xC={type:"literal",value:"\\n",description:'"\\\\n"'},vC=function(){return ` +`},Id="\\f",bC={type:"literal",value:"\\f",description:'"\\\\f"'},wC=function(){return "\f"},Fd="\\r",SC={type:"literal",value:"\\r",description:'"\\\\r"'},EC=function(){return "\r"},Ld="\\U",AC={type:"literal",value:"\\U",description:'"\\\\U"'},qd=function(l){return HC(l.join(""))},$d="\\u",_C={type:"literal",value:"\\u",description:'"\\\\u"'},p=0,ee=0,Nr=0,bc={line:1,column:1,seenCR:!1},Qs=0,wc=[],N=0,M={},Zs;if("startRule"in s){if(!(s.startRule in o))throw new Error(`Can't start parsing from rule "`+s.startRule+'".');a=o[s.startRule];}function Ye(){return Sc(ee).line}function Xe(){return Sc(ee).column}function Sc(l){function m(x,v,E){var P,D;for(P=v;Pl&&(Nr=0,bc={line:1,column:1,seenCR:!1}),m(bc,Nr,l),Nr=l),bc}function V(l){pQs&&(Qs=p,wc=[]),wc.push(l));}function Ec(l,m,x){function v(X){var ue=1;for(X.sort(function(ve,ye){return ve.descriptionye.description?1:0});ue1?ye.slice(0,-1).join(", ")+" or "+ye[X.length-1]:ye[0],Ie=ue?'"'+ve(ue)+'"':"end of input","Expected "+Re+" but "+Ie+" found."}var P=Sc(x),D=xp?(P=i.charAt(p),p++):(P=r,N===0&&V(y)),P!==r?(E=[E,P],v=E):(p=v,v=c)):(p=v,v=c);v!==r;)x.push(v),v=p,E=p,N++,P=$t(),P===r&&(P=no()),N--,P===r?E=h:(p=E,E=c),E!==r?(i.length>p?(P=i.charAt(p),p++):(P=r,N===0&&V(y)),P!==r?(E=[E,P],v=E):(p=v,v=c)):(p=v,v=c);x!==r?(m=[m,x],l=m):(p=l,l=c);}else p=l,l=c;return M[D]={nextPos:p,result:l},l}function CC(){var l,m,x,v,E,P,D=p*49+4,X=M[D];if(X)return p=X.nextPos,X.result;if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r)if(v=jd(),v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(i.charCodeAt(p)===93?(P=_,p++):(P=r,N===0&&V(S)),P!==r?(ee=l,m=C(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;return M[D]={nextPos:p,result:l},l}function TC(){var l,m,x,v,E,P,D,X,ue=p*49+5,ve=M[ue];if(ve)return p=ve.nextPos,ve.result;if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r)if(i.charCodeAt(p)===91?(x=b,p++):(x=r,N===0&&V(A)),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(E=jd(),E!==r){for(P=[],D=te();D!==r;)P.push(D),D=te();P!==r?(i.charCodeAt(p)===93?(D=_,p++):(D=r,N===0&&V(S)),D!==r?(i.charCodeAt(p)===93?(X=_,p++):(X=r,N===0&&V(S)),X!==r?(ee=l,m=F(E),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;return M[ue]={nextPos:p,result:l},l}function jd(){var l,m,x,v=p*49+6,E=M[v];if(E)return p=E.nextPos,E.result;if(l=p,m=[],x=Ud(),x!==r)for(;x!==r;)m.push(x),x=Ud();else m=c;return m!==r?(x=Nd(),x!==r?(ee=l,m=q(m,x),l=m):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,m=Nd(),m!==r&&(ee=l,m=J(m)),l=m),M[v]={nextPos:p,result:l},l}function Nd(){var l,m,x,v,E,P=p*49+7,D=M[P];if(D)return p=D.nextPos,D.result;for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ur(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();v!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;if(l===r){for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ac(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();v!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}return M[P]={nextPos:p,result:l},l}function Ud(){var l,m,x,v,E,P,D,X=p*49+8,ue=M[X];if(ue)return p=ue.nextPos,ue.result;for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ur(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===46?(E=B,p++):(E=r,N===0&&V($)),E!==r){for(P=[],D=te();D!==r;)P.push(D),D=te();P!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;if(l===r){for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ac(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===46?(E=B,p++):(E=r,N===0&&V($)),E!==r){for(P=[],D=te();D!==r;)P.push(D),D=te();P!==r?(ee=l,m=W(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}return M[X]={nextPos:p,result:l},l}function OC(){var l,m,x,v,E,P,D=p*49+9,X=M[D];if(X)return p=X.nextPos,X.result;if(l=p,m=Ur(),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r)if(i.charCodeAt(p)===61?(v=G,p++):(v=r,N===0&&V(T)),v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(P=Bi(),P!==r?(ee=l,m=Y(m,P),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;if(l===r)if(l=p,m=Ac(),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r)if(i.charCodeAt(p)===61?(v=G,p++):(v=r,N===0&&V(T)),v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(P=Bi(),P!==r?(ee=l,m=Y(m,P),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;return M[D]={nextPos:p,result:l},l}function Ur(){var l,m,x,v=p*49+10,E=M[v];if(E)return p=E.nextPos,E.result;if(l=p,m=[],x=em(),x!==r)for(;x!==r;)m.push(x),x=em();else m=c;return m!==r&&(ee=l,m=Z(m)),l=m,M[v]={nextPos:p,result:l},l}function Ac(){var l,m,x=p*49+11,v=M[x];return v?(p=v.nextPos,v.result):(l=p,m=Md(),m!==r&&(ee=l,m=re(m)),l=m,l===r&&(l=p,m=zd(),m!==r&&(ee=l,m=re(m)),l=m),M[x]={nextPos:p,result:l},l)}function Bi(){var l,m=p*49+12,x=M[m];return x?(p=x.nextPos,x.result):(l=kC(),l===r&&(l=UC(),l===r&&(l=LC(),l===r&&(l=qC(),l===r&&(l=$C(),l===r&&(l=DC(),l===r&&(l=BC())))))),M[m]={nextPos:p,result:l},l)}function kC(){var l,m=p*49+13,x=M[m];return x?(p=x.nextPos,x.result):(l=PC(),l===r&&(l=Md(),l===r&&(l=IC(),l===r&&(l=zd()))),M[m]={nextPos:p,result:l},l)}function PC(){var l,m,x,v,E,P=p*49+14,D=M[P];if(D)return p=D.nextPos,D.result;if(l=p,i.substr(p,3)===k?(m=k,p+=3):(m=r,N===0&&V(I)),m!==r)if(x=$t(),x===r&&(x=U),x!==r){for(v=[],E=Gd();E!==r;)v.push(E),E=Gd();v!==r?(i.substr(p,3)===k?(E=k,p+=3):(E=r,N===0&&V(I)),E!==r?(ee=l,m=z(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function Md(){var l,m,x,v,E=p*49+15,P=M[E];if(P)return p=P.nextPos,P.result;if(l=p,i.charCodeAt(p)===34?(m=ae,p++):(m=r,N===0&&V(De)),m!==r){for(x=[],v=Hd();v!==r;)x.push(v),v=Hd();x!==r?(i.charCodeAt(p)===34?(v=ae,p++):(v=r,N===0&&V(De)),v!==r?(ee=l,m=z(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;return M[E]={nextPos:p,result:l},l}function IC(){var l,m,x,v,E,P=p*49+16,D=M[P];if(D)return p=D.nextPos,D.result;if(l=p,i.substr(p,3)===he?(m=he,p+=3):(m=r,N===0&&V(St)),m!==r)if(x=$t(),x===r&&(x=U),x!==r){for(v=[],E=Vd();E!==r;)v.push(E),E=Vd();v!==r?(i.substr(p,3)===he?(E=he,p+=3):(E=r,N===0&&V(St)),E!==r?(ee=l,m=z(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function zd(){var l,m,x,v,E=p*49+17,P=M[E];if(P)return p=P.nextPos,P.result;if(l=p,i.charCodeAt(p)===39?(m=oi,p++):(m=r,N===0&&V(at)),m!==r){for(x=[],v=Wd();v!==r;)x.push(v),v=Wd();x!==r?(i.charCodeAt(p)===39?(v=oi,p++):(v=r,N===0&&V(at)),v!==r?(ee=l,m=z(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;return M[E]={nextPos:p,result:l},l}function Hd(){var l,m,x,v=p*49+18,E=M[v];return E?(p=E.nextPos,E.result):(l=tm(),l===r&&(l=p,m=p,N++,i.charCodeAt(p)===34?(x=ae,p++):(x=r,N===0&&V(De)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=ke(x),l=m):(p=l,l=c)):(p=l,l=c)),M[v]={nextPos:p,result:l},l)}function Wd(){var l,m,x,v=p*49+19,E=M[v];return E?(p=E.nextPos,E.result):(l=p,m=p,N++,i.charCodeAt(p)===39?(x=oi,p++):(x=r,N===0&&V(at)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=ke(x),l=m):(p=l,l=c)):(p=l,l=c),M[v]={nextPos:p,result:l},l)}function Gd(){var l,m,x,v=p*49+20,E=M[v];return E?(p=E.nextPos,E.result):(l=tm(),l===r&&(l=FC(),l===r&&(l=p,m=p,N++,i.substr(p,3)===k?(x=k,p+=3):(x=r,N===0&&V(I)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=pe(x),l=m):(p=l,l=c)):(p=l,l=c))),M[v]={nextPos:p,result:l},l)}function FC(){var l,m,x,v,E,P=p*49+21,D=M[P];if(D)return p=D.nextPos,D.result;if(l=p,i.charCodeAt(p)===92?(m=nn,p++):(m=r,N===0&&V(Be)),m!==r)if(x=$t(),x!==r){for(v=[],E=Zd();E!==r;)v.push(E),E=Zd();v!==r?(ee=l,m=Q(),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function Vd(){var l,m,x,v=p*49+22,E=M[v];return E?(p=E.nextPos,E.result):(l=p,m=p,N++,i.substr(p,3)===he?(x=he,p+=3):(x=r,N===0&&V(St)),N--,x===r?m=h:(p=m,m=c),m!==r?(i.length>p?(x=i.charAt(p),p++):(x=r,N===0&&V(y)),x!==r?(ee=l,m=ke(x),l=m):(p=l,l=c)):(p=l,l=c),M[v]={nextPos:p,result:l},l)}function LC(){var l,m,x,v,E=p*49+23,P=M[E];return P?(p=P.nextPos,P.result):(l=p,m=Kd(),m===r&&(m=_c()),m!==r?(i.charCodeAt(p)===101?(x=we,p++):(x=r,N===0&&V(K)),x===r&&(i.charCodeAt(p)===69?(x=de,p++):(x=r,N===0&&V(Ee))),x!==r?(v=_c(),v!==r?(ee=l,m=Je(m,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,m=Kd(),m!==r&&(ee=l,m=Pe(m)),l=m),M[E]={nextPos:p,result:l},l)}function Kd(){var l,m,x,v,E,P,D=p*49+24,X=M[D];return X?(p=X.nextPos,X.result):(l=p,i.charCodeAt(p)===43?(m=ai,p++):(m=r,N===0&&V(Fn)),m===r&&(m=U),m!==r?(x=p,v=Mr(),v!==r?(i.charCodeAt(p)===46?(E=B,p++):(E=r,N===0&&V($)),E!==r?(P=Mr(),P!==r?(v=[v,E,P],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=md(x),l=m):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,i.charCodeAt(p)===45?(m=$r,p++):(m=r,N===0&&V(Dr)),m!==r?(x=p,v=Mr(),v!==r?(i.charCodeAt(p)===46?(E=B,p++):(E=r,N===0&&V($)),E!==r?(P=Mr(),P!==r?(v=[v,E,P],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=hd(x),l=m):(p=l,l=c)):(p=l,l=c)),M[D]={nextPos:p,result:l},l)}function qC(){var l,m,x=p*49+25,v=M[x];return v?(p=v.nextPos,v.result):(l=p,m=_c(),m!==r&&(ee=l,m=kR(m)),l=m,M[x]={nextPos:p,result:l},l)}function _c(){var l,m,x,v,E,P=p*49+26,D=M[P];if(D)return p=D.nextPos,D.result;if(l=p,i.charCodeAt(p)===43?(m=ai,p++):(m=r,N===0&&V(Fn)),m===r&&(m=U),m!==r){if(x=[],v=xe(),v!==r)for(;v!==r;)x.push(v),v=xe();else x=c;x!==r?(v=p,N++,i.charCodeAt(p)===46?(E=B,p++):(E=r,N===0&&V($)),N--,E===r?v=h:(p=v,v=c),v!==r?(ee=l,m=md(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;if(l===r)if(l=p,i.charCodeAt(p)===45?(m=$r,p++):(m=r,N===0&&V(Dr)),m!==r){if(x=[],v=xe(),v!==r)for(;v!==r;)x.push(v),v=xe();else x=c;x!==r?(v=p,N++,i.charCodeAt(p)===46?(E=B,p++):(E=r,N===0&&V($)),N--,E===r?v=h:(p=v,v=c),v!==r?(ee=l,m=hd(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;return M[P]={nextPos:p,result:l},l}function $C(){var l,m,x=p*49+27,v=M[x];return v?(p=v.nextPos,v.result):(l=p,i.substr(p,4)===gd?(m=gd,p+=4):(m=r,N===0&&V(PR)),m!==r&&(ee=l,m=IR()),l=m,l===r&&(l=p,i.substr(p,5)===yd?(m=yd,p+=5):(m=r,N===0&&V(FR)),m!==r&&(ee=l,m=LR()),l=m),M[x]={nextPos:p,result:l},l)}function DC(){var l,m,x,v,E,P=p*49+28,D=M[P];if(D)return p=D.nextPos,D.result;if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){for(x=[],v=qt();v!==r;)x.push(v),v=qt();x!==r?(i.charCodeAt(p)===93?(v=_,p++):(v=r,N===0&&V(S)),v!==r?(ee=l,m=qR(),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;if(l===r&&(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r?(x=Jd(),x===r&&(x=U),x!==r?(i.charCodeAt(p)===93?(v=_,p++):(v=r,N===0&&V(S)),v!==r?(ee=l,m=$R(x),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c),l===r)){if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){if(x=[],v=to(),v!==r)for(;v!==r;)x.push(v),v=to();else x=c;x!==r?(i.charCodeAt(p)===93?(v=_,p++):(v=r,N===0&&V(S)),v!==r?(ee=l,m=DR(x),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;if(l===r)if(l=p,i.charCodeAt(p)===91?(m=b,p++):(m=r,N===0&&V(A)),m!==r){if(x=[],v=to(),v!==r)for(;v!==r;)x.push(v),v=to();else x=c;x!==r?(v=Jd(),v!==r?(i.charCodeAt(p)===93?(E=_,p++):(E=r,N===0&&V(S)),E!==r?(ee=l,m=BR(x,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;}return M[P]={nextPos:p,result:l},l}function Jd(){var l,m,x,v,E,P=p*49+29,D=M[P];if(D)return p=D.nextPos,D.result;for(l=p,m=[],x=qt();x!==r;)m.push(x),x=qt();if(m!==r)if(x=Bi(),x!==r){for(v=[],E=qt();E!==r;)v.push(E),E=qt();v!==r?(ee=l,m=xd(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;return M[P]={nextPos:p,result:l},l}function to(){var l,m,x,v,E,P,D,X=p*49+30,ue=M[X];if(ue)return p=ue.nextPos,ue.result;for(l=p,m=[],x=qt();x!==r;)m.push(x),x=qt();if(m!==r)if(x=Bi(),x!==r){for(v=[],E=qt();E!==r;)v.push(E),E=qt();if(v!==r)if(i.charCodeAt(p)===44?(E=vd,p++):(E=r,N===0&&V(bd)),E!==r){for(P=[],D=qt();D!==r;)P.push(D),D=qt();P!==r?(ee=l,m=xd(x),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;return M[X]={nextPos:p,result:l},l}function qt(){var l,m=p*49+31,x=M[m];return x?(p=x.nextPos,x.result):(l=te(),l===r&&(l=$t(),l===r&&(l=eo())),M[m]={nextPos:p,result:l},l)}function BC(){var l,m,x,v,E,P,D=p*49+32,X=M[D];if(X)return p=X.nextPos,X.result;if(l=p,i.charCodeAt(p)===123?(m=jR,p++):(m=r,N===0&&V(NR)),m!==r){for(x=[],v=te();v!==r;)x.push(v),v=te();if(x!==r){for(v=[],E=Yd();E!==r;)v.push(E),E=Yd();if(v!==r){for(E=[],P=te();P!==r;)E.push(P),P=te();E!==r?(i.charCodeAt(p)===125?(P=UR,p++):(P=r,N===0&&V(MR)),P!==r?(ee=l,m=zR(v),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;}else p=l,l=c;}else p=l,l=c;return M[D]={nextPos:p,result:l},l}function Yd(){var l,m,x,v,E,P,D,X,ue,ve,ye,Re=p*49+33,Ie=M[Re];if(Ie)return p=Ie.nextPos,Ie.result;for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ur(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===61?(E=G,p++):(E=r,N===0&&V(T)),E!==r){for(P=[],D=te();D!==r;)P.push(D),D=te();if(P!==r)if(D=Bi(),D!==r){for(X=[],ue=te();ue!==r;)X.push(ue),ue=te();if(X!==r)if(i.charCodeAt(p)===44?(ue=vd,p++):(ue=r,N===0&&V(bd)),ue!==r){for(ve=[],ye=te();ye!==r;)ve.push(ye),ye=te();ve!==r?(ee=l,m=wd(x,D),l=m):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;if(l===r){for(l=p,m=[],x=te();x!==r;)m.push(x),x=te();if(m!==r)if(x=Ur(),x!==r){for(v=[],E=te();E!==r;)v.push(E),E=te();if(v!==r)if(i.charCodeAt(p)===61?(E=G,p++):(E=r,N===0&&V(T)),E!==r){for(P=[],D=te();D!==r;)P.push(D),D=te();P!==r?(D=Bi(),D!==r?(ee=l,m=wd(x,D),l=m):(p=l,l=c)):(p=l,l=c);}else p=l,l=c;else p=l,l=c;}else p=l,l=c;else p=l,l=c;}return M[Re]={nextPos:p,result:l},l}function Xd(){var l,m,x,v=p*49+34,E=M[v];return E?(p=E.nextPos,E.result):(l=p,i.charCodeAt(p)===46?(m=B,p++):(m=r,N===0&&V($)),m!==r?(x=Mr(),x!==r?(ee=l,m=HR(x),l=m):(p=l,l=c)):(p=l,l=c),M[v]={nextPos:p,result:l},l)}function Qd(){var l,m,x,v,E,P,D,X,ue,ve,ye,Re,Ie=p*49+35,Et=M[Ie];return Et?(p=Et.nextPos,Et.result):(l=p,m=p,x=xe(),x!==r?(v=xe(),v!==r?(E=xe(),E!==r?(P=xe(),P!==r?(i.charCodeAt(p)===45?(D=$r,p++):(D=r,N===0&&V(Dr)),D!==r?(X=xe(),X!==r?(ue=xe(),ue!==r?(i.charCodeAt(p)===45?(ve=$r,p++):(ve=r,N===0&&V(Dr)),ve!==r?(ye=xe(),ye!==r?(Re=xe(),Re!==r?(x=[x,v,E,P,D,X,ue,ve,ye,Re],m=x):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c),m!==r&&(ee=l,m=WR(m)),l=m,M[Ie]={nextPos:p,result:l},l)}function jC(){var l,m,x,v,E,P,D,X,ue,ve,ye,Re=p*49+36,Ie=M[Re];return Ie?(p=Ie.nextPos,Ie.result):(l=p,m=p,x=xe(),x!==r?(v=xe(),v!==r?(i.charCodeAt(p)===58?(E=Br,p++):(E=r,N===0&&V(jr)),E!==r?(P=xe(),P!==r?(D=xe(),D!==r?(i.charCodeAt(p)===58?(X=Br,p++):(X=r,N===0&&V(jr)),X!==r?(ue=xe(),ue!==r?(ve=xe(),ve!==r?(ye=Xd(),ye===r&&(ye=U),ye!==r?(x=[x,v,E,P,D,X,ue,ve,ye],m=x):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c),m!==r&&(ee=l,m=Sd(m)),l=m,M[Re]={nextPos:p,result:l},l)}function NC(){var l,m,x,v,E,P,D,X,ue,ve,ye,Re,Ie,Et,ji,Ln,At,im=p*49+37,Cc=M[im];return Cc?(p=Cc.nextPos,Cc.result):(l=p,m=p,x=xe(),x!==r?(v=xe(),v!==r?(i.charCodeAt(p)===58?(E=Br,p++):(E=r,N===0&&V(jr)),E!==r?(P=xe(),P!==r?(D=xe(),D!==r?(i.charCodeAt(p)===58?(X=Br,p++):(X=r,N===0&&V(jr)),X!==r?(ue=xe(),ue!==r?(ve=xe(),ve!==r?(ye=Xd(),ye===r&&(ye=U),ye!==r?(i.charCodeAt(p)===45?(Re=$r,p++):(Re=r,N===0&&V(Dr)),Re===r&&(i.charCodeAt(p)===43?(Re=ai,p++):(Re=r,N===0&&V(Fn))),Re!==r?(Ie=xe(),Ie!==r?(Et=xe(),Et!==r?(i.charCodeAt(p)===58?(ji=Br,p++):(ji=r,N===0&&V(jr)),ji!==r?(Ln=xe(),Ln!==r?(At=xe(),At!==r?(x=[x,v,E,P,D,X,ue,ve,ye,Re,Ie,Et,ji,Ln,At],m=x):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c)):(p=m,m=c),m!==r&&(ee=l,m=Sd(m)),l=m,M[im]={nextPos:p,result:l},l)}function UC(){var l,m,x,v,E,P=p*49+38,D=M[P];return D?(p=D.nextPos,D.result):(l=p,m=Qd(),m!==r?(i.charCodeAt(p)===84?(x=Ed,p++):(x=r,N===0&&V(Ad)),x!==r?(v=jC(),v!==r?(i.charCodeAt(p)===90?(E=GR,p++):(E=r,N===0&&V(VR)),E!==r?(ee=l,m=KR(m,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,m=Qd(),m!==r?(i.charCodeAt(p)===84?(x=Ed,p++):(x=r,N===0&&V(Ad)),x!==r?(v=NC(),v!==r?(ee=l,m=JR(m,v),l=m):(p=l,l=c)):(p=l,l=c)):(p=l,l=c)),M[P]={nextPos:p,result:l},l)}function te(){var l,m=p*49+39,x=M[m];return x?(p=x.nextPos,x.result):(YR.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(XR)),M[m]={nextPos:p,result:l},l)}function $t(){var l,m,x,v=p*49+40,E=M[v];return E?(p=E.nextPos,E.result):(i.charCodeAt(p)===10?(l=_d,p++):(l=r,N===0&&V(Rd)),l===r&&(l=p,i.charCodeAt(p)===13?(m=QR,p++):(m=r,N===0&&V(ZR)),m!==r?(i.charCodeAt(p)===10?(x=_d,p++):(x=r,N===0&&V(Rd)),x!==r?(m=[m,x],l=m):(p=l,l=c)):(p=l,l=c)),M[v]={nextPos:p,result:l},l)}function Zd(){var l,m=p*49+41,x=M[m];return x?(p=x.nextPos,x.result):(l=$t(),l===r&&(l=te()),M[m]={nextPos:p,result:l},l)}function no(){var l,m,x=p*49+42,v=M[x];return v?(p=v.nextPos,v.result):(l=p,N++,i.length>p?(m=i.charAt(p),p++):(m=r,N===0&&V(y)),N--,m===r?l=h:(p=l,l=c),M[x]={nextPos:p,result:l},l)}function Dt(){var l,m=p*49+43,x=M[m];return x?(p=x.nextPos,x.result):(eC.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(tC)),M[m]={nextPos:p,result:l},l)}function xe(){var l,m,x=p*49+44,v=M[x];return v?(p=v.nextPos,v.result):(nC.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(iC)),l===r&&(l=p,i.charCodeAt(p)===95?(m=rC,p++):(m=r,N===0&&V(sC)),m!==r&&(ee=l,m=oC()),l=m),M[x]={nextPos:p,result:l},l)}function em(){var l,m=p*49+45,x=M[m];return x?(p=x.nextPos,x.result):(aC.test(i.charAt(p))?(l=i.charAt(p),p++):(l=r,N===0&&V(cC)),M[m]={nextPos:p,result:l},l)}function Mr(){var l,m,x,v=p*49+46,E=M[v];if(E)return p=E.nextPos,E.result;if(l=p,m=[],x=xe(),x!==r)for(;x!==r;)m.push(x),x=xe();else m=c;return m!==r&&(ee=l,m=lC(m)),l=m,M[v]={nextPos:p,result:l},l}function tm(){var l,m,x=p*49+47,v=M[x];return v?(p=v.nextPos,v.result):(l=p,i.substr(p,2)===Cd?(m=Cd,p+=2):(m=r,N===0&&V(uC)),m!==r&&(ee=l,m=pC()),l=m,l===r&&(l=p,i.substr(p,2)===Td?(m=Td,p+=2):(m=r,N===0&&V(fC)),m!==r&&(ee=l,m=dC()),l=m,l===r&&(l=p,i.substr(p,2)===Od?(m=Od,p+=2):(m=r,N===0&&V(mC)),m!==r&&(ee=l,m=hC()),l=m,l===r&&(l=p,i.substr(p,2)===kd?(m=kd,p+=2):(m=r,N===0&&V(gC)),m!==r&&(ee=l,m=yC()),l=m,l===r&&(l=p,i.substr(p,2)===Pd?(m=Pd,p+=2):(m=r,N===0&&V(xC)),m!==r&&(ee=l,m=vC()),l=m,l===r&&(l=p,i.substr(p,2)===Id?(m=Id,p+=2):(m=r,N===0&&V(bC)),m!==r&&(ee=l,m=wC()),l=m,l===r&&(l=p,i.substr(p,2)===Fd?(m=Fd,p+=2):(m=r,N===0&&V(SC)),m!==r&&(ee=l,m=EC()),l=m,l===r&&(l=MC()))))))),M[x]={nextPos:p,result:l},l)}function MC(){var l,m,x,v,E,P,D,X,ue,ve,ye,Re=p*49+48,Ie=M[Re];return Ie?(p=Ie.nextPos,Ie.result):(l=p,i.substr(p,2)===Ld?(m=Ld,p+=2):(m=r,N===0&&V(AC)),m!==r?(x=p,v=Dt(),v!==r?(E=Dt(),E!==r?(P=Dt(),P!==r?(D=Dt(),D!==r?(X=Dt(),X!==r?(ue=Dt(),ue!==r?(ve=Dt(),ve!==r?(ye=Dt(),ye!==r?(v=[v,E,P,D,X,ue,ve,ye],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=qd(x),l=m):(p=l,l=c)):(p=l,l=c),l===r&&(l=p,i.substr(p,2)===$d?(m=$d,p+=2):(m=r,N===0&&V(_C)),m!==r?(x=p,v=Dt(),v!==r?(E=Dt(),E!==r?(P=Dt(),P!==r?(D=Dt(),D!==r?(v=[v,E,P,D],x=v):(p=x,x=c)):(p=x,x=c)):(p=x,x=c)):(p=x,x=c),x!==r?(ee=l,m=qd(x),l=m):(p=l,l=c)):(p=l,l=c)),M[Re]={nextPos:p,result:l},l)}var nm=[];function zC(l,m,x){var v=new Error(l);throw v.line=m,v.column=x,v}function Rc(l){nm.push(l);}function Qe(l,m,x,v,E){var P={type:l,value:m,line:x(),column:v()};return E&&(P.key=E),P}function HC(l,m,x){var v=parseInt("0x"+l);if(!isFinite(v)||Math.floor(v)!=v||v<0||v>1114111||v>55295&&v<57344)zC("Invalid Unicode escape code: "+l,m,x);else return WC(v)}function WC(){var l=16384,m=[],x,v,E=-1,P=arguments.length;if(!P)return "";for(var D="";++E>10)+55296,v=X%1024+56320,m.push(x,v)),(E+1==P||m.length>l)&&(D+=String.fromCharCode.apply(null,m),m.length=0);}return D}if(Zs=a(),Zs!==r&&p===i.length)return Zs;throw Zs!==r&&p{function jj(t){var e=[],n=[],i="",s=Object.create(null),r=s;return a(t);function a(S){for(var C,F=0;F"u"?T===C.length-1?G[Y]=F:G[Y]=Object.create(null):T!==C.length-1&&n.indexOf(B)>-1&&u("Cannot redefine existing key '"+B+"'.",q,J),G=G[Y],G instanceof Array&&G.length&&T-1?'"'+S+'"':S}}TE.exports={compile:jj};});var PE=R((IG,kE)=>{var Nj=CE(),Uj=OE();kE.exports={parse:function(t){var e=Nj.parse(t.toString());return Uj.compile(e)}};});var ks=R((FG,$E)=>{var Mj=H("path"),fn="\\\\/",IE=`[^${fn}]`,Rn="\\.",zj="\\+",Hj="\\?",Ua="\\/",Wj="(?=.)",FE="[^/]",Kp=`(?:${Ua}|$)`,LE=`(?:^|${Ua})`,Jp=`${Rn}{1,2}${Kp}`,Gj=`(?!${Rn})`,Vj=`(?!${LE}${Jp})`,Kj=`(?!${Rn}{0,1}${Kp})`,Jj=`(?!${Jp})`,Yj=`[^.${Ua}]`,Xj=`${FE}*?`,qE={DOT_LITERAL:Rn,PLUS_LITERAL:zj,QMARK_LITERAL:Hj,SLASH_LITERAL:Ua,ONE_CHAR:Wj,QMARK:FE,END_ANCHOR:Kp,DOTS_SLASH:Jp,NO_DOT:Gj,NO_DOTS:Vj,NO_DOT_SLASH:Kj,NO_DOTS_SLASH:Jj,QMARK_NO_DOT:Yj,STAR:Xj,START_ANCHOR:LE},Qj={...qE,SLASH_LITERAL:`[${fn}]`,QMARK:IE,STAR:`${IE}*?`,DOTS_SLASH:`${Rn}{1,2}(?:[${fn}]|$)`,NO_DOT:`(?!${Rn})`,NO_DOTS:`(?!(?:^|[${fn}])${Rn}{1,2}(?:[${fn}]|$))`,NO_DOT_SLASH:`(?!${Rn}{0,1}(?:[${fn}]|$))`,NO_DOTS_SLASH:`(?!${Rn}{1,2}(?:[${fn}]|$))`,QMARK_NO_DOT:`[^.${fn}]`,START_ANCHOR:`(?:^|[${fn}])`,END_ANCHOR:`(?:[${fn}]|$)`},Zj={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};$E.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Zj,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Mj.sep,extglobChars(t){return {"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?Qj:qE}};});var Ma=R(vt=>{var eN=H("path"),tN=process.platform==="win32",{REGEX_BACKSLASH:nN,REGEX_REMOVE_BACKSLASH:iN,REGEX_SPECIAL_CHARS:rN,REGEX_SPECIAL_CHARS_GLOBAL:sN}=ks();vt.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);vt.hasRegexChars=t=>rN.test(t);vt.isRegexChar=t=>t.length===1&&vt.hasRegexChars(t);vt.escapeRegex=t=>t.replace(sN,"\\$1");vt.toPosixSlashes=t=>t.replace(nN,"/");vt.removeBackslashes=t=>t.replace(iN,e=>e==="\\"?"":e);vt.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};vt.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:tN===!0||eN.sep==="\\";vt.escapeLast=(t,e,n)=>{let i=t.lastIndexOf(e,n);return i===-1?t:t[i-1]==="\\"?vt.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};vt.removePrefix=(t,e={})=>{let n=t;return n.startsWith("./")&&(n=n.slice(2),e.prefix="./"),n};vt.wrapOutput=(t,e={},n={})=>{let i=n.contains?"":"^",s=n.contains?"":"$",r=`${i}(?:${t})${s}`;return e.negated===!0&&(r=`(?:^(?!${r}).*$)`),r};});var HE=R((qG,zE)=>{var DE=Ma(),{CHAR_ASTERISK:Yp,CHAR_AT:oN,CHAR_BACKWARD_SLASH:Ps,CHAR_COMMA:aN,CHAR_DOT:Xp,CHAR_EXCLAMATION_MARK:Qp,CHAR_FORWARD_SLASH:ME,CHAR_LEFT_CURLY_BRACE:Zp,CHAR_LEFT_PARENTHESES:ef,CHAR_LEFT_SQUARE_BRACKET:cN,CHAR_PLUS:lN,CHAR_QUESTION_MARK:BE,CHAR_RIGHT_CURLY_BRACE:uN,CHAR_RIGHT_PARENTHESES:jE,CHAR_RIGHT_SQUARE_BRACKET:pN}=ks(),NE=t=>t===ME||t===Ps,UE=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1);},fN=(t,e)=>{let n=e||{},i=t.length-1,s=n.parts===!0||n.scanToEnd===!0,r=[],o=[],a=[],u=t,f=-1,c=0,d=0,g=!1,h=!1,y=!1,b=!1,A=!1,_=!1,S=!1,C=!1,F=!1,q=!1,J=0,W,B,$={value:"",depth:0,isGlob:!1},G=()=>f>=i,T=()=>u.charCodeAt(f+1),Y=()=>(W=B,u.charCodeAt(++f));for(;f0&&(re=u.slice(0,c),u=u.slice(c),d-=c),Z&&y===!0&&d>0?(Z=u.slice(0,d),k=u.slice(d)):y===!0?(Z="",k=u):Z=u,Z&&Z!==""&&Z!=="/"&&Z!==u&&NE(Z.charCodeAt(Z.length-1))&&(Z=Z.slice(0,-1)),n.unescape===!0&&(k&&(k=DE.removeBackslashes(k)),Z&&S===!0&&(Z=DE.removeBackslashes(Z)));let I={prefix:re,input:t,start:c,base:Z,glob:k,isBrace:g,isBracket:h,isGlob:y,isExtglob:b,isGlobstar:A,negated:C,negatedExtglob:F};if(n.tokens===!0&&(I.maxDepth=0,NE(B)||o.push($),I.tokens=o),n.parts===!0||n.tokens===!0){let U;for(let z=0;z{var za=ks(),Ot=Ma(),{MAX_LENGTH:Ha,POSIX_REGEX_SOURCE:dN,REGEX_NON_SPECIAL_CHARS:mN,REGEX_SPECIAL_CHARS_BACKREF:hN,REPLACEMENTS:WE}=za,gN=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let n=`[${t.join("-")}]`;return n},vr=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,tf=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=WE[t]||t;let n={...e},i=typeof n.maxLength=="number"?Math.min(Ha,n.maxLength):Ha,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);let r={type:"bos",value:"",output:n.prepend||""},o=[r],a=n.capture?"":"?:",u=Ot.isWindows(e),f=za.globChars(u),c=za.extglobChars(f),{DOT_LITERAL:d,PLUS_LITERAL:g,SLASH_LITERAL:h,ONE_CHAR:y,DOTS_SLASH:b,NO_DOT:A,NO_DOT_SLASH:_,NO_DOTS_SLASH:S,QMARK:C,QMARK_NO_DOT:F,STAR:q,START_ANCHOR:J}=f,W=Q=>`(${a}(?:(?!${J}${Q.dot?b:d}).)*?)`,B=n.dot?"":A,$=n.dot?C:F,G=n.bash===!0?W(n):q;n.capture&&(G=`(${G})`),typeof n.noext=="boolean"&&(n.noextglob=n.noext);let T={input:t,index:-1,start:0,dot:n.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};t=Ot.removePrefix(t,T),s=t.length;let Y=[],Z=[],re=[],k=r,I,U=()=>T.index===s-1,z=T.peek=(Q=1)=>t[T.index+Q],ae=T.advance=()=>t[++T.index]||"",De=()=>t.slice(T.index+1),he=(Q="",we=0)=>{T.consumed+=Q,T.index+=we;},St=Q=>{T.output+=Q.output!=null?Q.output:Q.value,he(Q.value);},oi=()=>{let Q=1;for(;z()==="!"&&(z(2)!=="("||z(3)==="?");)ae(),T.start++,Q++;return Q%2===0?!1:(T.negated=!0,T.start++,!0)},at=Q=>{T[Q]++,re.push(Q);},ke=Q=>{T[Q]--,re.pop();},pe=Q=>{if(k.type==="globstar"){let we=T.braces>0&&(Q.type==="comma"||Q.type==="brace"),K=Q.extglob===!0||Y.length&&(Q.type==="pipe"||Q.type==="paren");Q.type!=="slash"&&Q.type!=="paren"&&!we&&!K&&(T.output=T.output.slice(0,-k.output.length),k.type="star",k.value="*",k.output=G,T.output+=k.output);}if(Y.length&&Q.type!=="paren"&&(Y[Y.length-1].inner+=Q.value),(Q.value||Q.output)&&St(Q),k&&k.type==="text"&&Q.type==="text"){k.value+=Q.value,k.output=(k.output||"")+Q.value;return}Q.prev=k,o.push(Q),k=Q;},nn=(Q,we)=>{let K={...c[we],conditions:1,inner:""};K.prev=k,K.parens=T.parens,K.output=T.output;let de=(n.capture?"(":"")+K.open;at("parens"),pe({type:Q,value:we,output:T.output?"":y}),pe({type:"paren",extglob:!0,value:ae(),output:de}),Y.push(K);},Be=Q=>{let we=Q.close+(n.capture?")":""),K;if(Q.type==="negate"){let de=G;if(Q.inner&&Q.inner.length>1&&Q.inner.includes("/")&&(de=W(n)),(de!==G||U()||/^\)+$/.test(De()))&&(we=Q.close=`)$))${de}`),Q.inner.includes("*")&&(K=De())&&/^\.[^\\/.]+$/.test(K)){let Ee=tf(K,{...e,fastpaths:!1}).output;we=Q.close=`)${Ee})${de})`;}Q.prev.type==="bos"&&(T.negatedExtglob=!0);}pe({type:"paren",extglob:!0,value:I,output:we}),ke("parens");};if(n.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let Q=!1,we=t.replace(hN,(K,de,Ee,Je,Pe,ai)=>Je==="\\"?(Q=!0,K):Je==="?"?de?de+Je+(Pe?C.repeat(Pe.length):""):ai===0?$+(Pe?C.repeat(Pe.length):""):C.repeat(Ee.length):Je==="."?d.repeat(Ee.length):Je==="*"?de?de+Je+(Pe?G:""):G:de?K:`\\${K}`);return Q===!0&&(n.unescape===!0?we=we.replace(/\\/g,""):we=we.replace(/\\+/g,K=>K.length%2===0?"\\\\":K?"\\":"")),we===t&&n.contains===!0?(T.output=t,T):(T.output=Ot.wrapOutput(we,T,e),T)}for(;!U();){if(I=ae(),I==="\0")continue;if(I==="\\"){let K=z();if(K==="/"&&n.bash!==!0||K==="."||K===";")continue;if(!K){I+="\\",pe({type:"text",value:I});continue}let de=/^\\+/.exec(De()),Ee=0;if(de&&de[0].length>2&&(Ee=de[0].length,T.index+=Ee,Ee%2!==0&&(I+="\\")),n.unescape===!0?I=ae():I+=ae(),T.brackets===0){pe({type:"text",value:I});continue}}if(T.brackets>0&&(I!=="]"||k.value==="["||k.value==="[^")){if(n.posix!==!1&&I===":"){let K=k.value.slice(1);if(K.includes("[")&&(k.posix=!0,K.includes(":"))){let de=k.value.lastIndexOf("["),Ee=k.value.slice(0,de),Je=k.value.slice(de+2),Pe=dN[Je];if(Pe){k.value=Ee+Pe,T.backtrack=!0,ae(),!r.output&&o.indexOf(k)===1&&(r.output=y);continue}}}(I==="["&&z()!==":"||I==="-"&&z()==="]")&&(I=`\\${I}`),I==="]"&&(k.value==="["||k.value==="[^")&&(I=`\\${I}`),n.posix===!0&&I==="!"&&k.value==="["&&(I="^"),k.value+=I,St({value:I});continue}if(T.quotes===1&&I!=='"'){I=Ot.escapeRegex(I),k.value+=I,St({value:I});continue}if(I==='"'){T.quotes=T.quotes===1?0:1,n.keepQuotes===!0&&pe({type:"text",value:I});continue}if(I==="("){at("parens"),pe({type:"paren",value:I});continue}if(I===")"){if(T.parens===0&&n.strictBrackets===!0)throw new SyntaxError(vr("opening","("));let K=Y[Y.length-1];if(K&&T.parens===K.parens+1){Be(Y.pop());continue}pe({type:"paren",value:I,output:T.parens?")":"\\)"}),ke("parens");continue}if(I==="["){if(n.nobracket===!0||!De().includes("]")){if(n.nobracket!==!0&&n.strictBrackets===!0)throw new SyntaxError(vr("closing","]"));I=`\\${I}`;}else at("brackets");pe({type:"bracket",value:I});continue}if(I==="]"){if(n.nobracket===!0||k&&k.type==="bracket"&&k.value.length===1){pe({type:"text",value:I,output:`\\${I}`});continue}if(T.brackets===0){if(n.strictBrackets===!0)throw new SyntaxError(vr("opening","["));pe({type:"text",value:I,output:`\\${I}`});continue}ke("brackets");let K=k.value.slice(1);if(k.posix!==!0&&K[0]==="^"&&!K.includes("/")&&(I=`/${I}`),k.value+=I,St({value:I}),n.literalBrackets===!1||Ot.hasRegexChars(K))continue;let de=Ot.escapeRegex(k.value);if(T.output=T.output.slice(0,-k.value.length),n.literalBrackets===!0){T.output+=de,k.value=de;continue}k.value=`(${a}${de}|${k.value})`,T.output+=k.value;continue}if(I==="{"&&n.nobrace!==!0){at("braces");let K={type:"brace",value:I,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};Z.push(K),pe(K);continue}if(I==="}"){let K=Z[Z.length-1];if(n.nobrace===!0||!K){pe({type:"text",value:I,output:I});continue}let de=")";if(K.dots===!0){let Ee=o.slice(),Je=[];for(let Pe=Ee.length-1;Pe>=0&&(o.pop(),Ee[Pe].type!=="brace");Pe--)Ee[Pe].type!=="dots"&&Je.unshift(Ee[Pe].value);de=gN(Je,n),T.backtrack=!0;}if(K.comma!==!0&&K.dots!==!0){let Ee=T.output.slice(0,K.outputIndex),Je=T.tokens.slice(K.tokensIndex);K.value=K.output="\\{",I=de="\\}",T.output=Ee;for(let Pe of Je)T.output+=Pe.output||Pe.value;}pe({type:"brace",value:I,output:de}),ke("braces"),Z.pop();continue}if(I==="|"){Y.length>0&&Y[Y.length-1].conditions++,pe({type:"text",value:I});continue}if(I===","){let K=I,de=Z[Z.length-1];de&&re[re.length-1]==="braces"&&(de.comma=!0,K="|"),pe({type:"comma",value:I,output:K});continue}if(I==="/"){if(k.type==="dot"&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",o.pop(),k=r;continue}pe({type:"slash",value:I,output:h});continue}if(I==="."){if(T.braces>0&&k.type==="dot"){k.value==="."&&(k.output=d);let K=Z[Z.length-1];k.type="dots",k.output+=I,k.value+=I,K.dots=!0;continue}if(T.braces+T.parens===0&&k.type!=="bos"&&k.type!=="slash"){pe({type:"text",value:I,output:d});continue}pe({type:"dot",value:I,output:d});continue}if(I==="?"){if(!(k&&k.value==="(")&&n.noextglob!==!0&&z()==="("&&z(2)!=="?"){nn("qmark",I);continue}if(k&&k.type==="paren"){let de=z(),Ee=I;if(de==="<"&&!Ot.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(k.value==="("&&!/[!=<:]/.test(de)||de==="<"&&!/<([!=]|\w+>)/.test(De()))&&(Ee=`\\${I}`),pe({type:"text",value:I,output:Ee});continue}if(n.dot!==!0&&(k.type==="slash"||k.type==="bos")){pe({type:"qmark",value:I,output:F});continue}pe({type:"qmark",value:I,output:C});continue}if(I==="!"){if(n.noextglob!==!0&&z()==="("&&(z(2)!=="?"||!/[!=<:]/.test(z(3)))){nn("negate",I);continue}if(n.nonegate!==!0&&T.index===0){oi();continue}}if(I==="+"){if(n.noextglob!==!0&&z()==="("&&z(2)!=="?"){nn("plus",I);continue}if(k&&k.value==="("||n.regex===!1){pe({type:"plus",value:I,output:g});continue}if(k&&(k.type==="bracket"||k.type==="paren"||k.type==="brace")||T.parens>0){pe({type:"plus",value:I});continue}pe({type:"plus",value:g});continue}if(I==="@"){if(n.noextglob!==!0&&z()==="("&&z(2)!=="?"){pe({type:"at",extglob:!0,value:I,output:""});continue}pe({type:"text",value:I});continue}if(I!=="*"){(I==="$"||I==="^")&&(I=`\\${I}`);let K=mN.exec(De());K&&(I+=K[0],T.index+=K[0].length),pe({type:"text",value:I});continue}if(k&&(k.type==="globstar"||k.star===!0)){k.type="star",k.star=!0,k.value+=I,k.output=G,T.backtrack=!0,T.globstar=!0,he(I);continue}let Q=De();if(n.noextglob!==!0&&/^\([^?]/.test(Q)){nn("star",I);continue}if(k.type==="star"){if(n.noglobstar===!0){he(I);continue}let K=k.prev,de=K.prev,Ee=K.type==="slash"||K.type==="bos",Je=de&&(de.type==="star"||de.type==="globstar");if(n.bash===!0&&(!Ee||Q[0]&&Q[0]!=="/")){pe({type:"star",value:I,output:""});continue}let Pe=T.braces>0&&(K.type==="comma"||K.type==="brace"),ai=Y.length&&(K.type==="pipe"||K.type==="paren");if(!Ee&&K.type!=="paren"&&!Pe&&!ai){pe({type:"star",value:I,output:""});continue}for(;Q.slice(0,3)==="/**";){let Fn=t[T.index+4];if(Fn&&Fn!=="/")break;Q=Q.slice(3),he("/**",3);}if(K.type==="bos"&&U()){k.type="globstar",k.value+=I,k.output=W(n),T.output=k.output,T.globstar=!0,he(I);continue}if(K.type==="slash"&&K.prev.type!=="bos"&&!Je&&U()){T.output=T.output.slice(0,-(K.output+k.output).length),K.output=`(?:${K.output}`,k.type="globstar",k.output=W(n)+(n.strictSlashes?")":"|$)"),k.value+=I,T.globstar=!0,T.output+=K.output+k.output,he(I);continue}if(K.type==="slash"&&K.prev.type!=="bos"&&Q[0]==="/"){let Fn=Q[1]!==void 0?"|$":"";T.output=T.output.slice(0,-(K.output+k.output).length),K.output=`(?:${K.output}`,k.type="globstar",k.output=`${W(n)}${h}|${h}${Fn})`,k.value+=I,T.output+=K.output+k.output,T.globstar=!0,he(I+ae()),pe({type:"slash",value:"/",output:""});continue}if(K.type==="bos"&&Q[0]==="/"){k.type="globstar",k.value+=I,k.output=`(?:^|${h}|${W(n)}${h})`,T.output=k.output,T.globstar=!0,he(I+ae()),pe({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-k.output.length),k.type="globstar",k.output=W(n),k.value+=I,T.output+=k.output,T.globstar=!0,he(I);continue}let we={type:"star",value:I,output:G};if(n.bash===!0){we.output=".*?",(k.type==="bos"||k.type==="slash")&&(we.output=B+we.output),pe(we);continue}if(k&&(k.type==="bracket"||k.type==="paren")&&n.regex===!0){we.output=I,pe(we);continue}(T.index===T.start||k.type==="slash"||k.type==="dot")&&(k.type==="dot"?(T.output+=_,k.output+=_):n.dot===!0?(T.output+=S,k.output+=S):(T.output+=B,k.output+=B),z()!=="*"&&(T.output+=y,k.output+=y)),pe(we);}for(;T.brackets>0;){if(n.strictBrackets===!0)throw new SyntaxError(vr("closing","]"));T.output=Ot.escapeLast(T.output,"["),ke("brackets");}for(;T.parens>0;){if(n.strictBrackets===!0)throw new SyntaxError(vr("closing",")"));T.output=Ot.escapeLast(T.output,"("),ke("parens");}for(;T.braces>0;){if(n.strictBrackets===!0)throw new SyntaxError(vr("closing","}"));T.output=Ot.escapeLast(T.output,"{"),ke("braces");}if(n.strictSlashes!==!0&&(k.type==="star"||k.type==="bracket")&&pe({type:"maybe_slash",value:"",output:`${h}?`}),T.backtrack===!0){T.output="";for(let Q of T.tokens)T.output+=Q.output!=null?Q.output:Q.value,Q.suffix&&(T.output+=Q.suffix);}return T};tf.fastpaths=(t,e)=>{let n={...e},i=typeof n.maxLength=="number"?Math.min(Ha,n.maxLength):Ha,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=WE[t]||t;let r=Ot.isWindows(e),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:f,NO_DOT:c,NO_DOTS:d,NO_DOTS_SLASH:g,STAR:h,START_ANCHOR:y}=za.globChars(r),b=n.dot?d:c,A=n.dot?g:c,_=n.capture?"":"?:",S={negated:!1,prefix:""},C=n.bash===!0?".*?":h;n.capture&&(C=`(${C})`);let F=B=>B.noglobstar===!0?C:`(${_}(?:(?!${y}${B.dot?f:o}).)*?)`,q=B=>{switch(B){case"*":return `${b}${u}${C}`;case".*":return `${o}${u}${C}`;case"*.*":return `${b}${C}${o}${u}${C}`;case"*/*":return `${b}${C}${a}${u}${A}${C}`;case"**":return b+F(n);case"**/*":return `(?:${b}${F(n)}${a})?${A}${u}${C}`;case"**/*.*":return `(?:${b}${F(n)}${a})?${A}${C}${o}${u}${C}`;case"**/.*":return `(?:${b}${F(n)}${a})?${o}${u}${C}`;default:{let $=/^(.*?)\.(\w+)$/.exec(B);if(!$)return;let G=q($[1]);return G?G+o+$[2]:void 0}}},J=Ot.removePrefix(t,S),W=q(J);return W&&n.strictSlashes!==!0&&(W+=`${a}?`),W};GE.exports=tf;});var JE=R((DG,KE)=>{var yN=H("path"),xN=HE(),nf=VE(),rf=Ma(),vN=ks(),bN=t=>t&&typeof t=="object"&&!Array.isArray(t),Fe=(t,e,n=!1)=>{if(Array.isArray(t)){let c=t.map(g=>Fe(g,e,n));return g=>{for(let h of c){let y=h(g);if(y)return y}return !1}}let i=bN(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},r=rf.isWindows(e),o=i?Fe.compileRe(t,e):Fe.makeRe(t,e,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(s.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};u=Fe(s.ignore,c,n);}let f=(c,d=!1)=>{let{isMatch:g,match:h,output:y}=Fe.test(c,o,e,{glob:t,posix:r}),b={glob:t,state:a,regex:o,posix:r,input:c,output:y,match:h,isMatch:g};return typeof s.onResult=="function"&&s.onResult(b),g===!1?(b.isMatch=!1,d?b:!1):u(c)?(typeof s.onIgnore=="function"&&s.onIgnore(b),b.isMatch=!1,d?b:!1):(typeof s.onMatch=="function"&&s.onMatch(b),d?b:!0)};return n&&(f.state=a),f};Fe.test=(t,e,n,{glob:i,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return {isMatch:!1,output:""};let r=n||{},o=r.format||(s?rf.toPosixSlashes:null),a=t===i,u=a&&o?o(t):t;return a===!1&&(u=o?o(t):t,a=u===i),(a===!1||r.capture===!0)&&(r.matchBase===!0||r.basename===!0?a=Fe.matchBase(t,e,n,s):a=e.exec(u)),{isMatch:!!a,match:a,output:u}};Fe.matchBase=(t,e,n,i=rf.isWindows(n))=>(e instanceof RegExp?e:Fe.makeRe(e,n)).test(yN.basename(t));Fe.isMatch=(t,e,n)=>Fe(e,n)(t);Fe.parse=(t,e)=>Array.isArray(t)?t.map(n=>Fe.parse(n,e)):nf(t,{...e,fastpaths:!1});Fe.scan=(t,e)=>xN(t,e);Fe.compileRe=(t,e,n=!1,i=!1)=>{if(n===!0)return t.output;let s=e||{},r=s.contains?"":"^",o=s.contains?"":"$",a=`${r}(?:${t.output})${o}`;t&&t.negated===!0&&(a=`^(?!${a}).*$`);let u=Fe.toRegex(a,e);return i===!0&&(u.state=t),u};Fe.makeRe=(t,e={},n=!1,i=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=nf.fastpaths(t,e)),s.output||(s=nf(t,e)),Fe.compileRe(s,e,n,i)};Fe.toRegex=(t,e)=>{try{let n=e||{};return new RegExp(t,n.flags||(n.nocase?"i":""))}catch(n){if(e&&e.debug===!0)throw n;return /$^/}};Fe.constants=vN;KE.exports=Fe;});var sf=R((BG,YE)=>{YE.exports=JE();});var rA=R((jG,iA)=>{var Fs=H("fs"),{Readable:wN}=H("stream"),Is=H("path"),{promisify:Ka}=H("util"),of=sf(),SN=Ka(Fs.readdir),EN=Ka(Fs.stat),XE=Ka(Fs.lstat),AN=Ka(Fs.realpath),_N="!",tA="READDIRP_RECURSIVE_ERROR",RN=new Set(["ENOENT","EPERM","EACCES","ELOOP",tA]),af="files",nA="directories",Ga="files_directories",Wa="all",QE=[af,nA,Ga,Wa],CN=t=>RN.has(t.code),[ZE,TN]=process.versions.node.split(".").slice(0,2).map(t=>Number.parseInt(t,10)),ON=process.platform==="win32"&&(ZE>10||ZE===10&&TN>=5),eA=t=>{if(t!==void 0){if(typeof t=="function")return t;if(typeof t=="string"){let e=of(t.trim());return n=>e(n.basename)}if(Array.isArray(t)){let e=[],n=[];for(let i of t){let s=i.trim();s.charAt(0)===_N?n.push(of(s.slice(1))):e.push(of(s));}return n.length>0?e.length>0?i=>e.some(s=>s(i.basename))&&!n.some(s=>s(i.basename)):i=>!n.some(s=>s(i.basename)):i=>e.some(s=>s(i.basename))}}},Va=class t extends wN{static get defaultOptions(){return {root:".",fileFilter:e=>!0,directoryFilter:e=>!0,type:af,lstat:!1,depth:2147483648,alwaysStat:!1}}constructor(e={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:e.highWaterMark||4096});let n={...t.defaultOptions,...e},{root:i,type:s}=n;this._fileFilter=eA(n.fileFilter),this._directoryFilter=eA(n.directoryFilter);let r=n.lstat?XE:EN;ON?this._stat=o=>r(o,{bigint:!0}):this._stat=r,this._maxDepth=n.depth,this._wantsDir=[nA,Ga,Wa].includes(s),this._wantsFile=[af,Ga,Wa].includes(s),this._wantsEverything=s===Wa,this._root=Is.resolve(i),this._isDirent="Dirent"in Fs&&!n.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(i,1)],this.reading=!1,this.parent=void 0;}async _read(e){if(!this.reading){this.reading=!0;try{for(;!this.destroyed&&e>0;){let{path:n,depth:i,files:s=[]}=this.parent||{};if(s.length>0){let r=s.splice(0,e).map(o=>this._formatEntry(o,n));for(let o of await Promise.all(r)){if(this.destroyed)return;let a=await this._getEntryType(o);a==="directory"&&this._directoryFilter(o)?(i<=this._maxDepth&&this.parents.push(this._exploreDir(o.fullPath,i+1)),this._wantsDir&&(this.push(o),e--)):(a==="file"||this._includeAsFile(o))&&this._fileFilter(o)&&this._wantsFile&&(this.push(o),e--);}}else {let r=this.parents.pop();if(!r){this.push(null);break}if(this.parent=await r,this.destroyed)return}}}catch(n){this.destroy(n);}finally{this.reading=!1;}}}async _exploreDir(e,n){let i;try{i=await SN(e,this._rdOptions);}catch(s){this._onError(s);}return {files:i,depth:n,path:e}}async _formatEntry(e,n){let i;try{let s=this._isDirent?e.name:e,r=Is.resolve(Is.join(n,s));i={path:Is.relative(this._root,r),fullPath:r,basename:s},i[this._statsProp]=this._isDirent?e:await this._stat(r);}catch(s){this._onError(s);}return i}_onError(e){CN(e)&&!this.destroyed?this.emit("warn",e):this.destroy(e);}async _getEntryType(e){let n=e&&e[this._statsProp];if(n){if(n.isFile())return "file";if(n.isDirectory())return "directory";if(n&&n.isSymbolicLink()){let i=e.fullPath;try{let s=await AN(i),r=await XE(s);if(r.isFile())return "file";if(r.isDirectory()){let o=s.length;if(i.startsWith(s)&&i.substr(o,1)===Is.sep){let a=new Error(`Circular symlink detected: "${i}" points to "${s}"`);return a.code=tA,this._onError(a)}return "directory"}}catch(s){this._onError(s);}}}}_includeAsFile(e){let n=e&&e[this._statsProp];return n&&this._wantsEverything&&!n.isDirectory()}},br=(t,e={})=>{let n=e.entryType||e.type;if(n==="both"&&(n=Ga),n&&(e.type=n),t){if(typeof t!="string")throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");if(n&&!QE.includes(n))throw new Error(`readdirp: Invalid type passed. Use one of ${QE.join(", ")}`)}else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");return e.root=t,new Va(e)},kN=(t,e={})=>new Promise((n,i)=>{let s=[];br(t,e).on("data",r=>s.push(r)).on("end",()=>n(s)).on("error",r=>i(r));});br.promise=kN;br.ReaddirpStream=Va;br.default=br;iA.exports=br;});var cf=R((NG,sA)=>{sA.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return "/";var n=t.length;if(n<=1)return t;var i="";if(n>4&&t[3]==="\\"){var s=t[2];(s==="?"||s===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),i="//");}var r=t.split(/[/\\]+/);return e!==!1&&r[r.length-1]===""&&r.pop(),i+r.join("/")};});var pA=R((lA,uA)=>{Object.defineProperty(lA,"__esModule",{value:!0});var cA=sf(),PN=cf(),oA="!",IN={returnIndex:!1},FN=t=>Array.isArray(t)?t:[t],LN=(t,e)=>{if(typeof t=="function")return t;if(typeof t=="string"){let n=cA(t,e);return i=>t===i||n(i)}return t instanceof RegExp?n=>t.test(n):n=>!1},aA=(t,e,n,i)=>{let s=Array.isArray(n),r=s?n[0]:n;if(!s&&typeof r!="string")throw new TypeError("anymatch: second argument must be a string: got "+Object.prototype.toString.call(r));let o=PN(r,!1);for(let u=0;u{if(t==null)throw new TypeError("anymatch: specify first argument");let i=typeof n=="boolean"?{returnIndex:n}:n,s=i.returnIndex||!1,r=FN(t),o=r.filter(u=>typeof u=="string"&&u.charAt(0)===oA).map(u=>u.slice(1)).map(u=>cA(u,i)),a=r.filter(u=>typeof u!="string"||typeof u=="string"&&u.charAt(0)!==oA).map(u=>LN(u,i));return e==null?(u,f=!1)=>aA(a,o,u,typeof f=="boolean"?f:!1):aA(a,o,e,s)};lf.default=lf;uA.exports=lf;});var dA=R((UG,fA)=>{fA.exports=function(e){if(typeof e!="string"||e==="")return !1;for(var n;n=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(n[2])return !0;e=e.slice(n.index+n[0].length);}return !1};});var uf=R((MG,hA)=>{var qN=dA(),mA={"{":"}","(":")","[":"]"},$N=function(t){if(t[0]==="!")return !0;for(var e=0,n=-2,i=-2,s=-2,r=-2,o=-2;ee&&(o===-1||o>i||(o=t.indexOf("\\",e),o===-1||o>i)))||s!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(s=t.indexOf("}",e),s>e&&(o=t.indexOf("\\",e),o===-1||o>s))||r!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(r=t.indexOf(")",e),r>e&&(o=t.indexOf("\\",e),o===-1||o>r))||n!==-1&&t[e]==="("&&t[e+1]!=="|"&&(nn&&(o=t.indexOf("\\",n),o===-1||o>r))))return !0;if(t[e]==="\\"){var a=t[e+1];e+=2;var u=mA[a];if(u){var f=t.indexOf(u,e);f!==-1&&(e=f+1);}if(t[e]==="!")return !0}else e++;}return !1},DN=function(t){if(t[0]==="!")return !0;for(var e=0;e{var BN=uf(),jN=H("path").posix.dirname,NN=H("os").platform()==="win32",pf="/",UN=/\\/g,MN=/[\{\[].*[\}\]]$/,zN=/(^|[^\\])([\{\[]|\([^\)]+$)/,HN=/\\([\!\*\?\|\[\]\(\)\{\}])/g;gA.exports=function(e,n){var i=Object.assign({flipBackslashes:!0},n);i.flipBackslashes&&NN&&e.indexOf(pf)<0&&(e=e.replace(UN,pf)),MN.test(e)&&(e+=pf),e+="a";do e=jN(e);while(BN(e)||zN.test(e));return e.replace(HN,"$1")};});var Ja=R(Nt=>{Nt.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;Nt.find=(t,e)=>t.nodes.find(n=>n.type===e);Nt.exceedsLimit=(t,e,n=1,i)=>i===!1||!Nt.isInteger(t)||!Nt.isInteger(e)?!1:(Number(e)-Number(t))/Number(n)>=i;Nt.escapeNode=(t,e=0,n)=>{let i=t.nodes[e];i&&(n&&i.type===n||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0);};Nt.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);Nt.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;Nt.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;Nt.reduce=t=>t.reduce((e,n)=>(n.type==="text"&&e.push(n.value),n.type==="range"&&(n.type="text"),e),[]);Nt.flatten=(...t)=>{let e=[],n=i=>{for(let s=0;s{var xA=Ja();vA.exports=(t,e={})=>{let n=(i,s={})=>{let r=e.escapeInvalid&&xA.isInvalidBrace(s),o=i.invalid===!0&&e.escapeInvalid===!0,a="";if(i.value)return (r||o)&&xA.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let u of i.nodes)a+=n(u);return a};return n(t)};});var wA=R((GG,bA)=>{bA.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1};});var kA=R((VG,OA)=>{var SA=wA(),Ti=(t,e,n)=>{if(SA(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(SA(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...n};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let s=String(i.relaxZeros),r=String(i.shorthand),o=String(i.capture),a=String(i.wrap),u=t+":"+e+"="+s+r+o+a;if(Ti.cache.hasOwnProperty(u))return Ti.cache[u].result;let f=Math.min(t,e),c=Math.max(t,e);if(Math.abs(f-c)===1){let b=t+"|"+e;return i.capture?`(${b})`:i.wrap===!1?b:`(?:${b})`}let d=TA(t)||TA(e),g={min:t,max:e,a:f,b:c},h=[],y=[];if(d&&(g.isPadded=d,g.maxLen=String(g.max).length),f<0){let b=c<0?Math.abs(c):1;y=EA(b,Math.abs(f),g,i),f=g.a=0;}return c>=0&&(h=EA(f,c,g,i)),g.negatives=y,g.positives=h,g.result=WN(y,h),i.capture===!0?g.result=`(${g.result})`:i.wrap!==!1&&h.length+y.length>1&&(g.result=`(?:${g.result})`),Ti.cache[u]=g,g.result};function WN(t,e,n){let i=ff(t,e,"-",!1)||[],s=ff(e,t,"",!1)||[],r=ff(t,e,"-?",!0)||[];return i.concat(r).concat(s).join("|")}function GN(t,e){let n=1,i=1,s=_A(t,n),r=new Set([e]);for(;t<=s&&s<=e;)r.add(s),n+=1,s=_A(t,n);for(s=RA(e+1,i)-1;t1&&a.count.pop(),a.count.push(c.count[0]),a.string=a.pattern+CA(a.count),o=f+1;continue}n.isPadded&&(d=XN(f,n,i)),c.string=d+c.pattern+CA(c.count),r.push(c),o=f+1,a=c;}return r}function ff(t,e,n,i,s){let r=[];for(let o of t){let{string:a}=o;!i&&!AA(e,"string",a)&&r.push(n+a),i&&AA(e,"string",a)&&r.push(n+a);}return r}function KN(t,e){let n=[];for(let i=0;ie?1:e>t?-1:0}function AA(t,e,n){return t.some(i=>i[e]===n)}function _A(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function RA(t,e){return t-t%Math.pow(10,e)}function CA(t){let[e=0,n=""]=t;return n||e>1?`{${e+(n?","+n:"")}}`:""}function YN(t,e,n){return `[${t}${e-t===1?"":"-"}${e}]`}function TA(t){return /^-?(0+)\d/.test(t)}function XN(t,e,n){if(!e.isPadded)return t;let i=Math.abs(e.maxLen-String(t).length),s=n.relaxZeros!==!1;switch(i){case 0:return "";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}Ti.cache={};Ti.clearCache=()=>Ti.cache={};OA.exports=Ti;});var hf=R((KG,BA)=>{var QN=H("util"),FA=kA(),PA=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),ZN=t=>e=>t===!0?Number(e):String(e),df=t=>typeof t=="number"||typeof t=="string"&&t!=="",Ls=t=>Number.isInteger(+t),mf=t=>{let e=`${t}`,n=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return !1;for(;e[++n]==="0";);return n>0},e3=(t,e,n)=>typeof t=="string"||typeof e=="string"?!0:n.stringify===!0,t3=(t,e,n)=>{if(e>0){let i=t[0]==="-"?"-":"";i&&(t=t.slice(1)),t=i+t.padStart(i?e-1:e,"0");}return n===!1?String(t):t},IA=(t,e)=>{let n=t[0]==="-"?"-":"";for(n&&(t=t.slice(1),e--);t.length{t.negatives.sort((o,a)=>oa?1:0),t.positives.sort((o,a)=>oa?1:0);let n=e.capture?"":"?:",i="",s="",r;return t.positives.length&&(i=t.positives.join("|")),t.negatives.length&&(s=`-(${n}${t.negatives.join("|")})`),i&&s?r=`${i}|${s}`:r=i||s,e.wrap?`(${n}${r})`:r},LA=(t,e,n,i)=>{if(n)return FA(t,e,{wrap:!1,...i});let s=String.fromCharCode(t);if(t===e)return s;let r=String.fromCharCode(e);return `[${s}-${r}]`},qA=(t,e,n)=>{if(Array.isArray(t)){let i=n.wrap===!0,s=n.capture?"":"?:";return i?`(${s}${t.join("|")})`:t.join("|")}return FA(t,e,n)},$A=(...t)=>new RangeError("Invalid range arguments: "+QN.inspect(...t)),DA=(t,e,n)=>{if(n.strictRanges===!0)throw $A([t,e]);return []},i3=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return []},r3=(t,e,n=1,i={})=>{let s=Number(t),r=Number(e);if(!Number.isInteger(s)||!Number.isInteger(r)){if(i.strictRanges===!0)throw $A([t,e]);return []}s===0&&(s=0),r===0&&(r=0);let o=s>r,a=String(t),u=String(e),f=String(n);n=Math.max(Math.abs(n),1);let c=mf(a)||mf(u)||mf(f),d=c?Math.max(a.length,u.length,f.length):0,g=c===!1&&e3(t,e,i)===!1,h=i.transform||ZN(g);if(i.toRegex&&n===1)return LA(IA(t,d),IA(e,d),!0,i);let y={negatives:[],positives:[]},b=S=>y[S<0?"negatives":"positives"].push(Math.abs(S)),A=[],_=0;for(;o?s>=r:s<=r;)i.toRegex===!0&&n>1?b(s):A.push(t3(h(s,_),d,g)),s=o?s-n:s+n,_++;return i.toRegex===!0?n>1?n3(y,i):qA(A,null,{wrap:!1,...i}):A},s3=(t,e,n=1,i={})=>{if(!Ls(t)&&t.length>1||!Ls(e)&&e.length>1)return DA(t,e,i);let s=i.transform||(g=>String.fromCharCode(g)),r=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),a=r>o,u=Math.min(r,o),f=Math.max(r,o);if(i.toRegex&&n===1)return LA(u,f,!1,i);let c=[],d=0;for(;a?r>=o:r<=o;)c.push(s(r,d)),r=a?r-n:r+n,d++;return i.toRegex===!0?qA(c,null,{wrap:!1,options:i}):c},Xa=(t,e,n,i={})=>{if(e==null&&df(t))return [t];if(!df(t)||!df(e))return DA(t,e,i);if(typeof n=="function")return Xa(t,e,1,{transform:n});if(PA(n))return Xa(t,e,0,n);let s={...i};return s.capture===!0&&(s.wrap=!0),n=n||s.step||1,Ls(n)?Ls(t)&&Ls(e)?r3(t,e,n,s):s3(t,e,Math.max(Math.abs(n),1),s):n!=null&&!PA(n)?i3(n,s):Xa(t,e,1,n)};BA.exports=Xa;});var UA=R((JG,NA)=>{var o3=hf(),jA=Ja(),a3=(t,e={})=>{let n=(i,s={})=>{let r=jA.isInvalidBrace(s),o=i.invalid===!0&&e.escapeInvalid===!0,a=r===!0||o===!0,u=e.escapeInvalid===!0?"\\":"",f="";if(i.isOpen===!0||i.isClose===!0)return u+i.value;if(i.type==="open")return a?u+i.value:"(";if(i.type==="close")return a?u+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":a?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let c=jA.reduce(i.nodes),d=o3(...c,{...e,wrap:!1,toRegex:!0});if(d.length!==0)return c.length>1&&d.length>1?`(${d})`:d}if(i.nodes)for(let c of i.nodes)f+=n(c,i);return f};return n(t)};NA.exports=a3;});var HA=R((YG,zA)=>{var c3=hf(),MA=Ya(),wr=Ja(),Oi=(t="",e="",n=!1)=>{let i=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return n?wr.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let r of s)i.push(Oi(r,e,n));else for(let r of e)n===!0&&typeof r=="string"&&(r=`{${r}}`),i.push(Array.isArray(r)?Oi(s,r,n):s+r);return wr.flatten(i)},l3=(t,e={})=>{let n=e.rangeLimit===void 0?1e3:e.rangeLimit,i=(s,r={})=>{s.queue=[];let o=r,a=r.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(s.invalid||s.dollar){a.push(Oi(a.pop(),MA(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){a.push(Oi(a.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let d=wr.reduce(s.nodes);if(wr.exceedsLimit(...d,e.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let g=c3(...d,e);g.length===0&&(g=MA(s,e)),a.push(Oi(a.pop(),g)),s.nodes=[];return}let u=wr.encloseBrace(s),f=s.queue,c=s;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,f=c.queue;for(let d=0;d{WA.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:` +`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"};});var XA=R((QG,YA)=>{var u3=Ya(),{MAX_LENGTH:VA,CHAR_BACKSLASH:gf,CHAR_BACKTICK:p3,CHAR_COMMA:f3,CHAR_DOT:d3,CHAR_LEFT_PARENTHESES:m3,CHAR_RIGHT_PARENTHESES:h3,CHAR_LEFT_CURLY_BRACE:g3,CHAR_RIGHT_CURLY_BRACE:y3,CHAR_LEFT_SQUARE_BRACKET:KA,CHAR_RIGHT_SQUARE_BRACKET:JA,CHAR_DOUBLE_QUOTE:x3,CHAR_SINGLE_QUOTE:v3,CHAR_NO_BREAK_SPACE:b3,CHAR_ZERO_WIDTH_NOBREAK_SPACE:w3}=GA(),S3=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let n=e||{},i=typeof n.maxLength=="number"?Math.min(VA,n.maxLength):VA;if(t.length>i)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${i})`);let s={type:"root",input:t,nodes:[]},r=[s],o=s,a=s,u=0,f=t.length,c=0,d=0,g,y=()=>t[c++],b=A=>{if(A.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&A.type==="text"){a.value+=A.value;return}return o.nodes.push(A),A.parent=o,A.prev=a,a=A,A};for(b({type:"bos"});c0){if(o.ranges>0){o.ranges=0;let A=o.nodes.shift();o.nodes=[A,{type:"text",value:u3(o)}];}b({type:"comma",value:g}),o.commas++;continue}if(g===d3&&d>0&&o.commas===0){let A=o.nodes;if(d===0||A.length===0){b({type:"text",value:g});continue}if(a.type==="dot"){if(o.range=[],a.value+=g,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){A.pop();let _=A[A.length-1];_.value+=a.value+g,a=_,o.ranges--;continue}b({type:"dot",value:g});continue}b({type:"text",value:g});}do if(o=r.pop(),o.type!=="root"){o.nodes.forEach(S=>{S.nodes||(S.type==="open"&&(S.isOpen=!0),S.type==="close"&&(S.isClose=!0),S.nodes||(S.type="text"),S.invalid=!0);});let A=r[r.length-1],_=A.nodes.indexOf(o);A.nodes.splice(_,1,...o.nodes);}while(r.length>0);return b({type:"eos"}),s};YA.exports=S3;});var e_=R((ZG,ZA)=>{var QA=Ya(),E3=UA(),A3=HA(),_3=XA(),kt=(t,e={})=>{let n=[];if(Array.isArray(t))for(let i of t){let s=kt.create(i,e);Array.isArray(s)?n.push(...s):n.push(s);}else n=[].concat(kt.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(n=[...new Set(n)]),n};kt.parse=(t,e={})=>_3(t,e);kt.stringify=(t,e={})=>QA(typeof t=="string"?kt.parse(t,e):t,e);kt.compile=(t,e={})=>(typeof t=="string"&&(t=kt.parse(t,e)),E3(t,e));kt.expand=(t,e={})=>{typeof t=="string"&&(t=kt.parse(t,e));let n=A3(t,e);return e.noempty===!0&&(n=n.filter(Boolean)),e.nodupes===!0&&(n=[...new Set(n)]),n};kt.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?kt.compile(t,e):kt.expand(t,e);ZA.exports=kt;});var t_=R((e5,R3)=>{R3.exports=["3dm","3ds","3g2","3gp","7z","a","aac","adp","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"];});var i_=R((t5,n_)=>{n_.exports=t_();});var s_=R((n5,r_)=>{var C3=H("path"),T3=i_(),O3=new Set(T3);r_.exports=t=>O3.has(C3.extname(t).slice(1).toLowerCase());});var Qa=R(se=>{var{sep:k3}=H("path"),{platform:yf}=process,P3=H("os");se.EV_ALL="all";se.EV_READY="ready";se.EV_ADD="add";se.EV_CHANGE="change";se.EV_ADD_DIR="addDir";se.EV_UNLINK="unlink";se.EV_UNLINK_DIR="unlinkDir";se.EV_RAW="raw";se.EV_ERROR="error";se.STR_DATA="data";se.STR_END="end";se.STR_CLOSE="close";se.FSEVENT_CREATED="created";se.FSEVENT_MODIFIED="modified";se.FSEVENT_DELETED="deleted";se.FSEVENT_MOVED="moved";se.FSEVENT_CLONED="cloned";se.FSEVENT_UNKNOWN="unknown";se.FSEVENT_TYPE_FILE="file";se.FSEVENT_TYPE_DIRECTORY="directory";se.FSEVENT_TYPE_SYMLINK="symlink";se.KEY_LISTENERS="listeners";se.KEY_ERR="errHandlers";se.KEY_RAW="rawEmitters";se.HANDLER_KEYS=[se.KEY_LISTENERS,se.KEY_ERR,se.KEY_RAW];se.DOT_SLASH=`.${k3}`;se.BACK_SLASH_RE=/\\/g;se.DOUBLE_SLASH_RE=/\/\//;se.SLASH_OR_BACK_SLASH_RE=/[/\\]/;se.DOT_RE=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/;se.REPLACER_RE=/^\.[/\\]/;se.SLASH="/";se.SLASH_SLASH="//";se.BRACE_START="{";se.BANG="!";se.ONE_DOT=".";se.TWO_DOTS="..";se.STAR="*";se.GLOBSTAR="**";se.ROOT_GLOBSTAR="/**/*";se.SLASH_GLOBSTAR="/**";se.DIR_SUFFIX="Dir";se.ANYMATCH_OPTS={dot:!0};se.STRING_TYPE="string";se.FUNCTION_TYPE="function";se.EMPTY_STR="";se.EMPTY_FN=()=>{};se.IDENTITY_FN=t=>t;se.isWindows=yf==="win32";se.isMacos=yf==="darwin";se.isLinux=yf==="linux";se.isIBMi=P3.type()==="OS400";});var p_=R((r5,u_)=>{var Cn=H("fs"),We=H("path"),{promisify:Bs}=H("util"),I3=s_(),{isWindows:F3,isLinux:L3,EMPTY_FN:q3,EMPTY_STR:$3,KEY_LISTENERS:Sr,KEY_ERR:xf,KEY_RAW:qs,HANDLER_KEYS:D3,EV_CHANGE:ec,EV_ADD:Za,EV_ADD_DIR:B3,EV_ERROR:a_,STR_DATA:j3,STR_END:N3,BRACE_START:U3,STAR:M3}=Qa(),z3="watch",H3=Bs(Cn.open),c_=Bs(Cn.stat),W3=Bs(Cn.lstat),G3=Bs(Cn.close),vf=Bs(Cn.realpath),V3={lstat:W3,stat:c_},wf=(t,e)=>{t instanceof Set?t.forEach(e):e(t);},$s=(t,e,n)=>{let i=t[e];i instanceof Set||(t[e]=i=new Set([i])),i.add(n);},K3=t=>e=>{let n=t[e];n instanceof Set?n.clear():delete t[e];},Ds=(t,e,n)=>{let i=t[e];i instanceof Set?i.delete(n):i===n&&delete t[e];},l_=t=>t instanceof Set?t.size===0:!t,tc=new Map;function o_(t,e,n,i,s){let r=(o,a)=>{n(t),s(o,a,{watchedPath:t}),a&&t!==a&&nc(We.resolve(t,a),Sr,We.join(t,a));};try{return Cn.watch(t,e,r)}catch(o){i(o);}}var nc=(t,e,n,i,s)=>{let r=tc.get(t);r&&wf(r[e],o=>{o(n,i,s);});},J3=(t,e,n,i)=>{let{listener:s,errHandler:r,rawEmitter:o}=i,a=tc.get(e),u;if(!n.persistent)return u=o_(t,n,s,r,o),u.close.bind(u);if(a)$s(a,Sr,s),$s(a,xf,r),$s(a,qs,o);else {if(u=o_(t,n,nc.bind(null,e,Sr),r,nc.bind(null,e,qs)),!u)return;u.on(a_,async f=>{let c=nc.bind(null,e,xf);if(a.watcherUnusable=!0,F3&&f.code==="EPERM")try{let d=await H3(t,"r");await G3(d),c(f);}catch{}else c(f);}),a={listeners:s,errHandlers:r,rawEmitters:o,watcher:u},tc.set(e,a);}return ()=>{Ds(a,Sr,s),Ds(a,xf,r),Ds(a,qs,o),l_(a.listeners)&&(a.watcher.close(),tc.delete(e),D3.forEach(K3(a)),a.watcher=void 0,Object.freeze(a));}},bf=new Map,Y3=(t,e,n,i)=>{let {listener:s,rawEmitter:r}=i,o=bf.get(e),f=o&&o.options;return f&&(f.persistentn.interval)&&(Cn.unwatchFile(e),o=void 0),o?($s(o,Sr,s),$s(o,qs,r)):(o={listeners:s,rawEmitters:r,options:n,watcher:Cn.watchFile(e,n,(c,d)=>{wf(o.rawEmitters,h=>{h(ec,e,{curr:c,prev:d});});let g=c.mtimeMs;(c.size!==d.size||g>d.mtimeMs||g===0)&&wf(o.listeners,h=>h(t,c));})},bf.set(e,o)),()=>{Ds(o,Sr,s),Ds(o,qs,r),l_(o.listeners)&&(bf.delete(e),Cn.unwatchFile(e),o.options=o.watcher=void 0,Object.freeze(o));}},Sf=class{constructor(e){this.fsw=e,this._boundHandleError=n=>e._handleError(n);}_watchWithNodeFs(e,n){let i=this.fsw.options,s=We.dirname(e),r=We.basename(e);this.fsw._getWatchedDir(s).add(r);let a=We.resolve(e),u={persistent:i.persistent};n||(n=q3);let f;return i.usePolling?(u.interval=i.enableBinaryInterval&&I3(r)?i.binaryInterval:i.interval,f=Y3(e,a,u,{listener:n,rawEmitter:this.fsw._emitRaw})):f=J3(e,a,u,{listener:n,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw}),f}_handleFile(e,n,i){if(this.fsw.closed)return;let s=We.dirname(e),r=We.basename(e),o=this.fsw._getWatchedDir(s),a=n;if(o.has(r))return;let u=async(c,d)=>{if(this.fsw._throttle(z3,e,5)){if(!d||d.mtimeMs===0)try{let g=await c_(e);if(this.fsw.closed)return;let h=g.atimeMs,y=g.mtimeMs;(!h||h<=y||y!==a.mtimeMs)&&this.fsw._emit(ec,e,g),L3&&a.ino!==g.ino?(this.fsw._closeFile(c),a=g,this.fsw._addPathCloser(c,this._watchWithNodeFs(e,u))):a=g;}catch{this.fsw._remove(s,r);}else if(o.has(r)){let g=d.atimeMs,h=d.mtimeMs;(!g||g<=h||h!==a.mtimeMs)&&this.fsw._emit(ec,e,d),a=d;}}},f=this._watchWithNodeFs(e,u);if(!(i&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(e)){if(!this.fsw._throttle(Za,e,0))return;this.fsw._emit(Za,e,n);}return f}async _handleSymlink(e,n,i,s){if(this.fsw.closed)return;let r=e.fullPath,o=this.fsw._getWatchedDir(n);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let a;try{a=await vf(i);}catch{return this.fsw._emitReady(),!0}return this.fsw.closed?void 0:(o.has(s)?this.fsw._symlinkPaths.get(r)!==a&&(this.fsw._symlinkPaths.set(r,a),this.fsw._emit(ec,i,e.stats)):(o.add(s),this.fsw._symlinkPaths.set(r,a),this.fsw._emit(Za,i,e.stats)),this.fsw._emitReady(),!0)}if(this.fsw._symlinkPaths.has(r))return !0;this.fsw._symlinkPaths.set(r,!0);}_handleRead(e,n,i,s,r,o,a){if(e=We.join(e,$3),!i.hasGlob&&(a=this.fsw._throttle("readdir",e,1e3),!a))return;let u=this.fsw._getWatchedDir(i.path),f=new Set,c=this.fsw._readdirp(e,{fileFilter:d=>i.filterPath(d),directoryFilter:d=>i.filterDir(d),depth:0}).on(j3,async d=>{if(this.fsw.closed){c=void 0;return}let g=d.path,h=We.join(e,g);if(f.add(g),!(d.stats.isSymbolicLink()&&await this._handleSymlink(d,e,h,g))){if(this.fsw.closed){c=void 0;return}(g===s||!s&&!u.has(g))&&(this.fsw._incrReadyCount(),h=We.join(r,We.relative(r,h)),this._addToNodeFs(h,n,i,o+1));}}).on(a_,this._boundHandleError);return new Promise(d=>c.once(N3,()=>{if(this.fsw.closed){c=void 0;return}let g=a?a.clear():!1;d(),u.getChildren().filter(h=>h!==e&&!f.has(h)&&(!i.hasGlob||i.filterPath({fullPath:We.resolve(e,h)}))).forEach(h=>{this.fsw._remove(e,h);}),c=void 0,g&&this._handleRead(e,!1,i,s,r,o,a);}))}async _handleDir(e,n,i,s,r,o,a){let u=this.fsw._getWatchedDir(We.dirname(e)),f=u.has(We.basename(e));!(i&&this.fsw.options.ignoreInitial)&&!r&&!f&&(!o.hasGlob||o.globFilter(e))&&this.fsw._emit(B3,e,n),u.add(We.basename(e)),this.fsw._getWatchedDir(e);let c,d,g=this.fsw.options.depth;if((g==null||s<=g)&&!this.fsw._symlinkPaths.has(a)){if(!r&&(await this._handleRead(e,i,o,r,e,s,c),this.fsw.closed))return;d=this._watchWithNodeFs(e,(h,y)=>{y&&y.mtimeMs===0||this._handleRead(h,!1,o,r,e,s,c);});}return d}async _addToNodeFs(e,n,i,s,r){let o=this.fsw._emitReady;if(this.fsw._isIgnored(e)||this.fsw.closed)return o(),!1;let a=this.fsw._getWatchHelpers(e,s);!a.hasGlob&&i&&(a.hasGlob=i.hasGlob,a.globFilter=i.globFilter,a.filterPath=u=>i.filterPath(u),a.filterDir=u=>i.filterDir(u));try{let u=await V3[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,u))return o(),!1;let f=this.fsw.options.followSymlinks&&!e.includes(M3)&&!e.includes(U3),c;if(u.isDirectory()){let d=We.resolve(e),g=f?await vf(e):e;if(this.fsw.closed||(c=await this._handleDir(a.watchPath,u,n,s,r,a,g),this.fsw.closed))return;d!==g&&g!==void 0&&this.fsw._symlinkPaths.set(d,g);}else if(u.isSymbolicLink()){let d=f?await vf(e):e;if(this.fsw.closed)return;let g=We.dirname(a.watchPath);if(this.fsw._getWatchedDir(g).add(a.watchPath),this.fsw._emit(Za,a.watchPath,u),c=await this._handleDir(g,u,n,s,e,a,d),this.fsw.closed)return;d!==void 0&&this.fsw._symlinkPaths.set(We.resolve(e),d);}else c=this._handleFile(a.watchPath,u,n);return o(),this.fsw._addPathCloser(e,c),!1}catch(u){if(this.fsw._handleError(u))return o(),e}}};u_.exports=Sf;});var x_=R((s5,kf)=>{var Tf=H("fs"),Ge=H("path"),{promisify:Of}=H("util"),Er;try{Er=H("fsevents");}catch(t){process.env.CHOKIDAR_PRINT_FSEVENTS_REQUIRE_ERROR&&console.error(t);}if(Er){let t=process.version.match(/v(\d+)\.(\d+)/);if(t&&t[1]&&t[2]){let e=Number.parseInt(t[1],10),n=Number.parseInt(t[2],10);e===8&&n<16&&(Er=void 0);}}var{EV_ADD:Ef,EV_CHANGE:X3,EV_ADD_DIR:f_,EV_UNLINK:ic,EV_ERROR:Q3,STR_DATA:Z3,STR_END:eU,FSEVENT_CREATED:tU,FSEVENT_MODIFIED:nU,FSEVENT_DELETED:iU,FSEVENT_MOVED:rU,FSEVENT_UNKNOWN:sU,FSEVENT_TYPE_FILE:oU,FSEVENT_TYPE_DIRECTORY:js,FSEVENT_TYPE_SYMLINK:y_,ROOT_GLOBSTAR:d_,DIR_SUFFIX:aU,DOT_SLASH:m_,FUNCTION_TYPE:Af,EMPTY_FN:cU,IDENTITY_FN:lU}=Qa(),uU=t=>isNaN(t)?{}:{depth:t},Rf=Of(Tf.stat),pU=Of(Tf.lstat),h_=Of(Tf.realpath),fU={stat:Rf,lstat:pU},ki=new Map,dU=10,mU=new Set([69888,70400,71424,72704,73472,131328,131840,262912]),hU=(t,e)=>({stop:Er.watch(t,e)});function gU(t,e,n,i){let s=Ge.extname(e)?Ge.dirname(e):e,r=Ge.dirname(s),o=ki.get(s);yU(r)&&(s=r);let a=Ge.resolve(t),u=a!==e,f=(d,g,h)=>{u&&(d=d.replace(e,a)),(d===a||!d.indexOf(a+Ge.sep))&&n(d,g,h);},c=!1;for(let d of ki.keys())if(e.indexOf(Ge.resolve(d)+Ge.sep)===0){s=d,o=ki.get(s),c=!0;break}return o||c?o.listeners.add(f):(o={listeners:new Set([f]),rawEmitter:i,watcher:hU(s,(d,g)=>{if(!o.listeners.size)return;let h=Er.getInfo(d,g);o.listeners.forEach(y=>{y(d,g,h);}),o.rawEmitter(h.event,d,h);})},ki.set(s,o)),()=>{let d=o.listeners;if(d.delete(f),!d.size&&(ki.delete(s),o.watcher))return o.watcher.stop().then(()=>{o.rawEmitter=o.watcher=void 0,Object.freeze(o);})}}var yU=t=>{let e=0;for(let n of ki.keys())if(n.indexOf(t)===0&&(e++,e>=dU))return !0;return !1},xU=()=>Er&&ki.size<128,_f=(t,e)=>{let n=0;for(;!t.indexOf(e)&&(t=Ge.dirname(t))!==e;)n++;return n},g_=(t,e)=>t.type===js&&e.isDirectory()||t.type===y_&&e.isSymbolicLink()||t.type===oU&&e.isFile(),Cf=class{constructor(e){this.fsw=e;}checkIgnored(e,n){let i=this.fsw._ignoredPaths;if(this.fsw._isIgnored(e,n))return i.add(e),n&&n.isDirectory()&&i.add(e+d_),!0;i.delete(e),i.delete(e+d_);}addOrChange(e,n,i,s,r,o,a,u){let f=r.has(o)?X3:Ef;this.handleEvent(f,e,n,i,s,r,o,a,u);}async checkExists(e,n,i,s,r,o,a,u){try{let f=await Rf(e);if(this.fsw.closed)return;g_(a,f)?this.addOrChange(e,n,i,s,r,o,a,u):this.handleEvent(ic,e,n,i,s,r,o,a,u);}catch(f){f.code==="EACCES"?this.addOrChange(e,n,i,s,r,o,a,u):this.handleEvent(ic,e,n,i,s,r,o,a,u);}}handleEvent(e,n,i,s,r,o,a,u,f){if(!(this.fsw.closed||this.checkIgnored(n)))if(e===ic){let c=u.type===js;(c||o.has(a))&&this.fsw._remove(r,a,c);}else {if(e===Ef){if(u.type===js&&this.fsw._getWatchedDir(n),u.type===y_&&f.followSymlinks){let d=f.depth===void 0?void 0:_f(i,s)+1;return this._addToFsEvents(n,!1,!0,d)}this.fsw._getWatchedDir(r).add(a);}let c=u.type===js?e+aU:e;this.fsw._emit(c,n),c===f_&&this._addToFsEvents(n,!1,!0);}}_watchWithFsEvents(e,n,i,s){if(this.fsw.closed||this.fsw._isIgnored(e))return;let r=this.fsw.options,a=gU(e,n,async(u,f,c)=>{if(this.fsw.closed||r.depth!==void 0&&_f(u,n)>r.depth)return;let d=i(Ge.join(e,Ge.relative(e,u)));if(s&&!s(d))return;let g=Ge.dirname(d),h=Ge.basename(d),y=this.fsw._getWatchedDir(c.type===js?d:g);if(mU.has(f)||c.event===sU)if(typeof r.ignored===Af){let b;try{b=await Rf(d);}catch{}if(this.fsw.closed||this.checkIgnored(d,b))return;g_(c,b)?this.addOrChange(d,u,n,g,y,h,c,r):this.handleEvent(ic,d,u,n,g,y,h,c,r);}else this.checkExists(d,u,n,g,y,h,c,r);else switch(c.event){case tU:case nU:return this.addOrChange(d,u,n,g,y,h,c,r);case iU:case rU:return this.checkExists(d,u,n,g,y,h,c,r)}},this.fsw._emitRaw);return this.fsw._emitReady(),a}async _handleFsEventsSymlink(e,n,i,s){if(!(this.fsw.closed||this.fsw._symlinkPaths.has(n))){this.fsw._symlinkPaths.set(n,!0),this.fsw._incrReadyCount();try{let r=await h_(e);if(this.fsw.closed)return;if(this.fsw._isIgnored(r))return this.fsw._emitReady();this.fsw._incrReadyCount(),this._addToFsEvents(r||e,o=>{let a=e;return r&&r!==m_?a=o.replace(r,e):o!==m_&&(a=Ge.join(e,o)),i(a)},!1,s);}catch(r){if(this.fsw._handleError(r))return this.fsw._emitReady()}}}emitAdd(e,n,i,s,r){let o=i(e),a=n.isDirectory(),u=this.fsw._getWatchedDir(Ge.dirname(o)),f=Ge.basename(o);a&&this.fsw._getWatchedDir(o),!u.has(f)&&(u.add(f),(!s.ignoreInitial||r===!0)&&this.fsw._emit(a?f_:Ef,o,n));}initWatch(e,n,i,s){if(this.fsw.closed)return;let r=this._watchWithFsEvents(i.watchPath,Ge.resolve(e||i.watchPath),s,i.globFilter);this.fsw._addPathCloser(n,r);}async _addToFsEvents(e,n,i,s){if(this.fsw.closed)return;let r=this.fsw.options,o=typeof n===Af?n:lU,a=this.fsw._getWatchHelpers(e);try{let u=await fU[a.statMethod](a.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored(a.watchPath,u))throw null;if(u.isDirectory()){if(a.globFilter||this.emitAdd(o(e),u,o,r,i),s&&s>r.depth)return;this.fsw._readdirp(a.watchPath,{fileFilter:f=>a.filterPath(f),directoryFilter:f=>a.filterDir(f),...uU(r.depth-(s||0))}).on(Z3,f=>{if(this.fsw.closed||f.stats.isDirectory()&&!a.filterPath(f))return;let c=Ge.join(a.watchPath,f.path),{fullPath:d}=f;if(a.followSymlinks&&f.stats.isSymbolicLink()){let g=r.depth===void 0?void 0:_f(c,Ge.resolve(a.watchPath))+1;this._handleFsEventsSymlink(c,d,o,g);}else this.emitAdd(c,f.stats,o,r,i);}).on(Q3,cU).on(eU,()=>{this.fsw._emitReady();});}else this.emitAdd(a.watchPath,u,o,r,i),this.fsw._emitReady();}catch(u){(!u||this.fsw._handleError(u))&&(this.fsw._emitReady(),this.fsw._emitReady());}if(r.persistent&&i!==!0)if(typeof n===Af)this.initWatch(void 0,e,a,o);else {let u;try{u=await h_(a.watchPath);}catch{}this.initWatch(u,e,a,o);}}};kf.exports=Cf;kf.exports.canUse=xU;});var O_=R(Wf=>{var{EventEmitter:vU}=H("events"),zf=H("fs"),be=H("path"),{promisify:__}=H("util"),bU=rA(),$f=pA().default,wU=yA(),Pf=uf(),SU=e_(),EU=cf(),AU=p_(),v_=x_(),{EV_ALL:If,EV_READY:_U,EV_ADD:rc,EV_CHANGE:Ns,EV_UNLINK:b_,EV_ADD_DIR:RU,EV_UNLINK_DIR:CU,EV_RAW:TU,EV_ERROR:Ff,STR_CLOSE:OU,STR_END:kU,BACK_SLASH_RE:PU,DOUBLE_SLASH_RE:w_,SLASH_OR_BACK_SLASH_RE:IU,DOT_RE:FU,REPLACER_RE:LU,SLASH:Lf,SLASH_SLASH:qU,BRACE_START:$U,BANG:Df,ONE_DOT:R_,TWO_DOTS:DU,GLOBSTAR:BU,SLASH_GLOBSTAR:qf,ANYMATCH_OPTS:Bf,STRING_TYPE:Hf,FUNCTION_TYPE:jU,EMPTY_STR:jf,EMPTY_FN:NU,isWindows:UU,isMacos:MU,isIBMi:zU}=Qa(),HU=__(zf.stat),WU=__(zf.readdir),Nf=(t=[])=>Array.isArray(t)?t:[t],C_=(t,e=[])=>(t.forEach(n=>{Array.isArray(n)?C_(n,e):e.push(n);}),e),S_=t=>{let e=C_(Nf(t));if(!e.every(n=>typeof n===Hf))throw new TypeError(`Non-string provided as watch path: ${e}`);return e.map(T_)},E_=t=>{let e=t.replace(PU,Lf),n=!1;for(e.startsWith(qU)&&(n=!0);e.match(w_);)e=e.replace(w_,Lf);return n&&(e=Lf+e),e},T_=t=>E_(be.normalize(E_(t))),A_=(t=jf)=>e=>typeof e!==Hf?e:T_(be.isAbsolute(e)?e:be.join(t,e)),GU=(t,e)=>be.isAbsolute(t)?t:t.startsWith(Df)?Df+be.join(e,t.slice(1)):be.join(e,t),Yt=(t,e)=>t[e]===void 0,Uf=class{constructor(e,n){this.path=e,this._removeWatcher=n,this.items=new Set;}add(e){let{items:n}=this;n&&e!==R_&&e!==DU&&n.add(e);}async remove(e){let{items:n}=this;if(!n||(n.delete(e),n.size>0))return;let i=this.path;try{await WU(i);}catch{this._removeWatcher&&this._removeWatcher(be.dirname(i),be.basename(i));}}has(e){let{items:n}=this;if(n)return n.has(e)}getChildren(){let{items:e}=this;if(e)return [...e.values()]}dispose(){this.items.clear(),delete this.path,delete this._removeWatcher,delete this.items,Object.freeze(this);}},VU="stat",KU="lstat",Mf=class{constructor(e,n,i,s){this.fsw=s,this.path=e=e.replace(LU,jf),this.watchPath=n,this.fullWatchPath=be.resolve(n),this.hasGlob=n!==e,e===jf&&(this.hasGlob=!1),this.globSymlink=this.hasGlob&&i?void 0:!1,this.globFilter=this.hasGlob?$f(e,void 0,Bf):!1,this.dirParts=this.getDirParts(e),this.dirParts.forEach(r=>{r.length>1&&r.pop();}),this.followSymlinks=i,this.statMethod=i?VU:KU;}checkGlobSymlink(e){return this.globSymlink===void 0&&(this.globSymlink=e.fullParentDir===this.fullWatchPath?!1:{realPath:e.fullParentDir,linkPath:this.fullWatchPath}),this.globSymlink?e.fullPath.replace(this.globSymlink.realPath,this.globSymlink.linkPath):e.fullPath}entryPath(e){return be.join(this.watchPath,be.relative(this.watchPath,this.checkGlobSymlink(e)))}filterPath(e){let{stats:n}=e;if(n&&n.isSymbolicLink())return this.filterDir(e);let i=this.entryPath(e);return (this.hasGlob&&typeof this.globFilter===jU?this.globFilter(i):!0)&&this.fsw._isntIgnored(i,n)&&this.fsw._hasReadPermissions(n)}getDirParts(e){if(!this.hasGlob)return [];let n=[];return (e.includes($U)?SU.expand(e):[e]).forEach(s=>{n.push(be.relative(this.watchPath,s).split(IU));}),n}filterDir(e){if(this.hasGlob){let n=this.getDirParts(this.checkGlobSymlink(e)),i=!1;this.unmatchedGlob=!this.dirParts.some(s=>s.every((r,o)=>(r===BU&&(i=!0),i||!n[0][o]||$f(r,n[0][o],Bf))));}return !this.unmatchedGlob&&this.fsw._isntIgnored(this.entryPath(e),e.stats)}},sc=class extends vU{constructor(e){super();let n={};e&&Object.assign(n,e),this._watched=new Map,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._symlinkPaths=new Map,this._streams=new Set,this.closed=!1,Yt(n,"persistent")&&(n.persistent=!0),Yt(n,"ignoreInitial")&&(n.ignoreInitial=!1),Yt(n,"ignorePermissionErrors")&&(n.ignorePermissionErrors=!1),Yt(n,"interval")&&(n.interval=100),Yt(n,"binaryInterval")&&(n.binaryInterval=300),Yt(n,"disableGlobbing")&&(n.disableGlobbing=!1),n.enableBinaryInterval=n.binaryInterval!==n.interval,Yt(n,"useFsEvents")&&(n.useFsEvents=!n.usePolling),v_.canUse()||(n.useFsEvents=!1),Yt(n,"usePolling")&&!n.useFsEvents&&(n.usePolling=MU),zU&&(n.usePolling=!0);let s=process.env.CHOKIDAR_USEPOLLING;if(s!==void 0){let u=s.toLowerCase();u==="false"||u==="0"?n.usePolling=!1:u==="true"||u==="1"?n.usePolling=!0:n.usePolling=!!u;}let r=process.env.CHOKIDAR_INTERVAL;r&&(n.interval=Number.parseInt(r,10)),Yt(n,"atomic")&&(n.atomic=!n.usePolling&&!n.useFsEvents),n.atomic&&(this._pendingUnlinks=new Map),Yt(n,"followSymlinks")&&(n.followSymlinks=!0),Yt(n,"awaitWriteFinish")&&(n.awaitWriteFinish=!1),n.awaitWriteFinish===!0&&(n.awaitWriteFinish={});let o=n.awaitWriteFinish;o&&(o.stabilityThreshold||(o.stabilityThreshold=2e3),o.pollInterval||(o.pollInterval=100),this._pendingWrites=new Map),n.ignored&&(n.ignored=Nf(n.ignored));let a=0;this._emitReady=()=>{a++,a>=this._readyCount&&(this._emitReady=NU,this._readyEmitted=!0,process.nextTick(()=>this.emit(_U)));},this._emitRaw=(...u)=>this.emit(TU,...u),this._readyEmitted=!1,this.options=n,n.useFsEvents?this._fsEventsHandler=new v_(this):this._nodeFsHandler=new AU(this),Object.freeze(n);}add(e,n,i){let{cwd:s,disableGlobbing:r}=this.options;this.closed=!1;let o=S_(e);return s&&(o=o.map(a=>{let u=GU(a,s);return r||!Pf(a)?u:EU(u)})),o=o.filter(a=>a.startsWith(Df)?(this._ignoredPaths.add(a.slice(1)),!1):(this._ignoredPaths.delete(a),this._ignoredPaths.delete(a+qf),this._userIgnored=void 0,!0)),this.options.useFsEvents&&this._fsEventsHandler?(this._readyCount||(this._readyCount=o.length),this.options.persistent&&(this._readyCount*=2),o.forEach(a=>this._fsEventsHandler._addToFsEvents(a))):(this._readyCount||(this._readyCount=0),this._readyCount+=o.length,Promise.all(o.map(async a=>{let u=await this._nodeFsHandler._addToNodeFs(a,!i,0,0,n);return u&&this._emitReady(),u})).then(a=>{this.closed||a.filter(u=>u).forEach(u=>{this.add(be.dirname(u),be.basename(n||u));});})),this}unwatch(e){if(this.closed)return this;let n=S_(e),{cwd:i}=this.options;return n.forEach(s=>{!be.isAbsolute(s)&&!this._closers.has(s)&&(i&&(s=be.join(i,s)),s=be.resolve(s)),this._closePath(s),this._ignoredPaths.add(s),this._watched.has(s)&&this._ignoredPaths.add(s+qf),this._userIgnored=void 0;}),this}close(){if(this.closed)return this._closePromise;this.closed=!0,this.removeAllListeners();let e=[];return this._closers.forEach(n=>n.forEach(i=>{let s=i();s instanceof Promise&&e.push(s);})),this._streams.forEach(n=>n.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach(n=>n.dispose()),["closers","watched","streams","symlinkPaths","throttled"].forEach(n=>{this[`_${n}`].clear();}),this._closePromise=e.length?Promise.all(e).then(()=>{}):Promise.resolve(),this._closePromise}getWatched(){let e={};return this._watched.forEach((n,i)=>{let s=this.options.cwd?be.relative(this.options.cwd,i):i;e[s||R_]=n.getChildren().sort();}),e}emitWithAll(e,n){this.emit(...n),e!==Ff&&this.emit(If,...n);}async _emit(e,n,i,s,r){if(this.closed)return;let o=this.options;UU&&(n=be.normalize(n)),o.cwd&&(n=be.relative(o.cwd,n));let a=[e,n];r!==void 0?a.push(i,s,r):s!==void 0?a.push(i,s):i!==void 0&&a.push(i);let u=o.awaitWriteFinish,f;if(u&&(f=this._pendingWrites.get(n)))return f.lastChange=new Date,this;if(o.atomic){if(e===b_)return this._pendingUnlinks.set(n,a),setTimeout(()=>{this._pendingUnlinks.forEach((c,d)=>{this.emit(...c),this.emit(If,...c),this._pendingUnlinks.delete(d);});},typeof o.atomic=="number"?o.atomic:100),this;e===rc&&this._pendingUnlinks.has(n)&&(e=a[0]=Ns,this._pendingUnlinks.delete(n));}if(u&&(e===rc||e===Ns)&&this._readyEmitted){let c=(d,g)=>{d?(e=a[0]=Ff,a[1]=d,this.emitWithAll(e,a)):g&&(a.length>2?a[2]=g:a.push(g),this.emitWithAll(e,a));};return this._awaitWriteFinish(n,u.stabilityThreshold,e,c),this}if(e===Ns&&!this._throttle(Ns,n,50))return this;if(o.alwaysStat&&i===void 0&&(e===rc||e===RU||e===Ns)){let c=o.cwd?be.join(o.cwd,n):n,d;try{d=await HU(c);}catch{}if(!d||this.closed)return;a.push(d);}return this.emitWithAll(e,a),this}_handleError(e){let n=e&&e.code;return e&&n!=="ENOENT"&&n!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||n!=="EPERM"&&n!=="EACCES")&&this.emit(Ff,e),e||this.closed}_throttle(e,n,i){this._throttled.has(e)||this._throttled.set(e,new Map);let s=this._throttled.get(e),r=s.get(n);if(r)return r.count++,!1;let o,a=()=>{let f=s.get(n),c=f?f.count:0;return s.delete(n),clearTimeout(o),f&&clearTimeout(f.timeoutObject),c};o=setTimeout(a,i);let u={timeoutObject:o,clear:a,count:0};return s.set(n,u),u}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(e,n,i,s){let r,o=e;this.options.cwd&&!be.isAbsolute(e)&&(o=be.join(this.options.cwd,e));let a=new Date,u=f=>{zf.stat(o,(c,d)=>{if(c||!this._pendingWrites.has(e)){c&&c.code!=="ENOENT"&&s(c);return}let g=Number(new Date);f&&d.size!==f.size&&(this._pendingWrites.get(e).lastChange=g);let h=this._pendingWrites.get(e);g-h.lastChange>=n?(this._pendingWrites.delete(e),s(void 0,d)):r=setTimeout(u,this.options.awaitWriteFinish.pollInterval,d);});};this._pendingWrites.has(e)||(this._pendingWrites.set(e,{lastChange:a,cancelWait:()=>(this._pendingWrites.delete(e),clearTimeout(r),i)}),r=setTimeout(u,this.options.awaitWriteFinish.pollInterval));}_getGlobIgnored(){return [...this._ignoredPaths.values()]}_isIgnored(e,n){if(this.options.atomic&&FU.test(e))return !0;if(!this._userIgnored){let{cwd:i}=this.options,s=this.options.ignored,r=s&&s.map(A_(i)),o=Nf(r).filter(u=>typeof u===Hf&&!Pf(u)).map(u=>u+qf),a=this._getGlobIgnored().map(A_(i)).concat(r,o);this._userIgnored=$f(a,void 0,Bf);}return this._userIgnored([e,n])}_isntIgnored(e,n){return !this._isIgnored(e,n)}_getWatchHelpers(e,n){let i=n||this.options.disableGlobbing||!Pf(e)?e:wU(e),s=this.options.followSymlinks;return new Mf(e,i,s,this)}_getWatchedDir(e){this._boundRemove||(this._boundRemove=this._remove.bind(this));let n=be.resolve(e);return this._watched.has(n)||this._watched.set(n,new Uf(n,this._boundRemove)),this._watched.get(n)}_hasReadPermissions(e){if(this.options.ignorePermissionErrors)return !0;let i=(e&&Number.parseInt(e.mode,10))&511;return !!(4&Number.parseInt(i.toString(8)[0],10))}_remove(e,n,i){let s=be.join(e,n),r=be.resolve(s);if(i=i??(this._watched.has(s)||this._watched.has(r)),!this._throttle("remove",s,100))return;!i&&!this.options.useFsEvents&&this._watched.size===1&&this.add(e,n,!0),this._getWatchedDir(s).getChildren().forEach(g=>this._remove(s,g));let u=this._getWatchedDir(e),f=u.has(n);u.remove(n),this._symlinkPaths.has(r)&&this._symlinkPaths.delete(r);let c=s;if(this.options.cwd&&(c=be.relative(this.options.cwd,s)),this.options.awaitWriteFinish&&this._pendingWrites.has(c)&&this._pendingWrites.get(c).cancelWait()===rc)return;this._watched.delete(s),this._watched.delete(r);let d=i?CU:b_;f&&!this._isIgnored(s)&&this._emit(d,s),this.options.useFsEvents||this._closePath(s);}_closePath(e){this._closeFile(e);let n=be.dirname(e);this._getWatchedDir(n).remove(be.basename(e));}_closeFile(e){let n=this._closers.get(e);n&&(n.forEach(i=>i()),this._closers.delete(e));}_addPathCloser(e,n){if(!n)return;let i=this._closers.get(e);i||(i=[],this._closers.set(e,i)),i.push(n);}_readdirp(e,n){if(this.closed)return;let i={type:If,alwaysStat:!0,lstat:!0,...n},s=bU(e,i);return this._streams.add(s),s.once(OU,()=>{s=void 0;}),s.once(kU,()=>{s&&(this._streams.delete(s),s=void 0);}),s}};Wf.FSWatcher=sc;var JU=(t,e)=>{let n=new sc(e);return n.add(t),n};Wf.watch=JU;});var N_=R((qi,j_)=>{var Zf=H("crypto");qi=j_.exports=Ks;function Ks(t,e){return e=D_(t,e),XU(t,e)}qi.sha1=function(t){return Ks(t)};qi.keys=function(t){return Ks(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})};qi.MD5=function(t){return Ks(t,{algorithm:"md5",encoding:"hex"})};qi.keysMD5=function(t){return Ks(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var Pr=Zf.getHashes?Zf.getHashes().slice():["sha1","md5"];Pr.push("passthrough");var q_=["buffer","hex","binary","base64"];function D_(t,e){e=e||{};var n={};if(n.algorithm=e.algorithm||"sha1",n.encoding=e.encoding||"hex",n.excludeValues=!!e.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=e.ignoreUnknown===!0,n.respectType=e.respectType!==!1,n.respectFunctionNames=e.respectFunctionNames!==!1,n.respectFunctionProperties=e.respectFunctionProperties!==!1,n.unorderedArrays=e.unorderedArrays===!0,n.unorderedSets=e.unorderedSets!==!1,n.unorderedObjects=e.unorderedObjects!==!1,n.replacer=e.replacer||void 0,n.excludeKeys=e.excludeKeys||void 0,typeof t>"u")throw new Error("Object argument required.");for(var i=0;i"u"&&(n.write=n.update,n.end=n.update);var i=ed(e,n);if(i.dispatch(t),n.update||n.end(""),n.digest)return n.digest(e.encoding==="buffer"?void 0:e.encoding);var s=n.read();return e.encoding==="buffer"?s:s.toString(e.encoding)}qi.writeToStream=function(t,e,n){return typeof n>"u"&&(n=e,e={}),e=D_(t,e),ed(e,n).dispatch(t)};function ed(t,e,n){n=n||[];var i=function(s){return e.update?e.update(s,"utf8"):e.write(s,"utf8")};return {dispatch:function(s){t.replacer&&(s=t.replacer(s));var r=typeof s;return s===null&&(r="null"),this["_"+r](s)},_object:function(s){var r=/\[object (.*)\]/i,o=Object.prototype.toString.call(s),a=r.exec(o);a?a=a[1]:a="unknown:["+o+"]",a=a.toLowerCase();var u=null;if((u=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+u+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return i("buffer:"),i(s);if(a!=="object"&&a!=="function"&&a!=="asyncfunction")if(this["_"+a])this["_"+a](s);else {if(t.ignoreUnknown)return i("["+a+"]");throw new Error('Unknown object type "'+a+'"')}else {var f=Object.keys(s);t.unorderedObjects&&(f=f.sort()),t.respectType!==!1&&!$_(s)&&f.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(f=f.filter(function(d){return !t.excludeKeys(d)})),i("object:"+f.length+":");var c=this;return f.forEach(function(d){c.dispatch(d),i(":"),t.excludeValues||c.dispatch(s[d]),i(",");})}},_array:function(s,r){r=typeof r<"u"?r:t.unorderedArrays!==!1;var o=this;if(i("array:"+s.length+":"),!r||s.length<=1)return s.forEach(function(f){return o.dispatch(f)});var a=[],u=s.map(function(f){var c=new B_,d=n.slice(),g=ed(t,c,d);return g.dispatch(f),a=a.concat(d.slice(n.length)),c.read().toString()});return n=n.concat(a),u.sort(),this._array(u,!1)},_date:function(s){return i("date:"+s.toJSON())},_symbol:function(s){return i("symbol:"+s.toString())},_error:function(s){return i("error:"+s.toString())},_boolean:function(s){return i("bool:"+s.toString())},_string:function(s){i("string:"+s.length+":"),i(s.toString());},_function:function(s){i("fn:"),$_(s)?this.dispatch("[native]"):this.dispatch(s.toString()),t.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),t.respectFunctionProperties&&this._object(s);},_number:function(s){return i("number:"+s.toString())},_xml:function(s){return i("xml:"+s.toString())},_null:function(){return i("Null")},_undefined:function(){return i("Undefined")},_regexp:function(s){return i("regex:"+s.toString())},_uint8array:function(s){return i("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray:function(s){return i("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array:function(s){return i("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array:function(s){return i("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array:function(s){return i("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array:function(s){return i("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array:function(s){return i("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array:function(s){return i("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array:function(s){return i("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer:function(s){return i("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url:function(s){return i("url:"+s.toString())},_map:function(s){i("map:");var r=Array.from(s);return this._array(r,t.unorderedSets!==!1)},_set:function(s){i("set:");var r=Array.from(s);return this._array(r,t.unorderedSets!==!1)},_file:function(s){return i("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},_blob:function(){if(t.ignoreUnknown)return i("[blob]");throw Error(`Hashing Blob objects is currently not supported (see https://github.com/puleos/object-hash/issues/26) Use "options.replacer" or "options.ignoreUnknown" -`)},_domwindow:function(){return i("domwindow")},_bigint:function(s){return i("bigint:"+s.toString())},_process:function(){return i("process")},_timer:function(){return i("timer")},_pipe:function(){return i("pipe")},_tcp:function(){return i("tcp")},_udp:function(){return i("udp")},_tty:function(){return i("tty")},_statwatcher:function(){return i("statwatcher")},_securecontext:function(){return i("securecontext")},_connection:function(){return i("connection")},_zlib:function(){return i("zlib")},_context:function(){return i("context")},_nodescript:function(){return i("nodescript")},_httpparser:function(){return i("httpparser")},_dataview:function(){return i("dataview")},_signal:function(){return i("signal")},_fsevent:function(){return i("fsevent")},_tlswrap:function(){return i("tlswrap")}}}function $_(){return {buf:"",write:function(t){this.buf+=t;},end:function(t){this.buf+=t;},read:function(){return this.buf}}}});var N_=R((p5,j_)=>{j_.exports={STRING:2,BOOLEAN:4,BYTES:4,NUMBER:8,Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};});var z_=R(pc=>{pc.byteLength=XU;pc.toByteArray=ZU;pc.fromByteArray=nM;var gn=[],Nt=[],YU=typeof Uint8Array<"u"?Uint8Array:Array,ed="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(qi=0,U_=ed.length;qi0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var i=n===e?0:4-n%4;return [n,i]}function XU(t){var e=M_(t),n=e[0],i=e[1];return (n+i)*3/4-i}function QU(t,e,n){return (e+n)*3/4-n}function ZU(t){var e,n=M_(t),i=n[0],s=n[1],r=new YU(QU(t,i,s)),o=0,a=s>0?i-4:i,u;for(u=0;u>16&255,r[o++]=e>>8&255,r[o++]=e&255;return s===2&&(e=Nt[t.charCodeAt(u)]<<2|Nt[t.charCodeAt(u+1)]>>4,r[o++]=e&255),s===1&&(e=Nt[t.charCodeAt(u)]<<10|Nt[t.charCodeAt(u+1)]<<4|Nt[t.charCodeAt(u+2)]>>2,r[o++]=e>>8&255,r[o++]=e&255),r}function eM(t){return gn[t>>18&63]+gn[t>>12&63]+gn[t>>6&63]+gn[t&63]}function tM(t,e,n){for(var i,s=[],r=e;ra?a:o+r));return i===1?(e=t[n-1],s.push(gn[e>>2]+gn[e<<4&63]+"==")):i===2&&(e=(t[n-2]<<8)+t[n-1],s.push(gn[e>>10]+gn[e>>4&63]+gn[e<<2&63]+"=")),s.join("")}});var H_=R(td=>{td.read=function(t,e,n,i,s){var r,o,a=s*8-i-1,u=(1<>1,c=-7,d=n?s-1:0,g=n?-1:1,h=t[e+d];for(d+=g,r=h&(1<<-c)-1,h>>=-c,c+=a;c>0;r=r*256+t[e+d],d+=g,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=i;c>0;o=o*256+t[e+d],d+=g,c-=8);if(r===0)r=1-f;else {if(r===u)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,i),r=r-f;}return (h?-1:1)*o*Math.pow(2,r-i)};td.write=function(t,e,n,i,s,r){var o,a,u,f=r*8-s-1,c=(1<>1,g=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:r-1,y=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+d>=1?e+=g/u:e+=g*Math.pow(2,1-d),e*u>=2&&(o++,u/=2),o+d>=c?(a=0,o=c):o+d>=1?(a=(e*u-1)*Math.pow(2,s),o=o+d):(a=e*Math.pow(2,d-1)*Math.pow(2,s),o=0));s>=8;t[n+h]=a&255,h+=y,a/=256,s-=8);for(o=o<0;t[n+h]=o&255,h+=y,o/=256,f-=8);t[n+h-y]|=b*128;};});var aR=R(Lr=>{var nd=z_(),Fr=H_(),W_=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Lr.Buffer=L;Lr.SlowBuffer=cM;Lr.INSPECT_MAX_BYTES=50;var fc=2147483647;Lr.kMaxLength=fc;L.TYPED_ARRAY_SUPPORT=iM();!L.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 iM(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return !1}}Object.defineProperty(L.prototype,"parent",{enumerable:!0,get:function(){if(L.isBuffer(this))return this.buffer}});Object.defineProperty(L.prototype,"offset",{enumerable:!0,get:function(){if(L.isBuffer(this))return this.byteOffset}});function Pn(t){if(t>fc)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,L.prototype),e}function L(t,e,n){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return od(t)}return J_(t,e,n)}L.poolSize=8192;function J_(t,e,n){if(typeof t=="string")return sM(t,e);if(ArrayBuffer.isView(t))return oM(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(yn(t,ArrayBuffer)||t&&yn(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(yn(t,SharedArrayBuffer)||t&&yn(t.buffer,SharedArrayBuffer)))return rd(t,e,n);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return L.from(i,e,n);let s=aM(t);if(s)return s;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return L.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}L.from=function(t,e,n){return J_(t,e,n)};Object.setPrototypeOf(L.prototype,Uint8Array.prototype);Object.setPrototypeOf(L,Uint8Array);function Y_(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function rM(t,e,n){return Y_(t),t<=0?Pn(t):e!==void 0?typeof n=="string"?Pn(t).fill(e,n):Pn(t).fill(e):Pn(t)}L.alloc=function(t,e,n){return rM(t,e,n)};function od(t){return Y_(t),Pn(t<0?0:ad(t)|0)}L.allocUnsafe=function(t){return od(t)};L.allocUnsafeSlow=function(t){return od(t)};function sM(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!L.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let n=X_(t,e)|0,i=Pn(n),s=i.write(t,e);return s!==n&&(i=i.slice(0,s)),i}function id(t){let e=t.length<0?0:ad(t.length)|0,n=Pn(e);for(let i=0;i=fc)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+fc.toString(16)+" bytes");return t|0}function cM(t){return +t!=t&&(t=0),L.alloc(+t)}L.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==L.prototype};L.compare=function(e,n){if(yn(e,Uint8Array)&&(e=L.from(e,e.offset,e.byteLength)),yn(n,Uint8Array)&&(n=L.from(n,n.offset,n.byteLength)),!L.isBuffer(e)||!L.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;let i=e.length,s=n.length;for(let r=0,o=Math.min(i,s);rs.length?(L.isBuffer(o)||(o=L.from(o)),o.copy(s,r)):Uint8Array.prototype.set.call(s,o,r);else if(L.isBuffer(o))o.copy(s,r);else throw new TypeError('"list" argument must be an Array of Buffers');r+=o.length;}return s};function X_(t,e){if(L.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||yn(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let n=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&n===0)return 0;let s=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return sd(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return oR(t).length;default:if(s)return i?-1:sd(t).length;e=(""+e).toLowerCase(),s=!0;}}L.byteLength=X_;function lM(t,e,n){let i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return "";for(t||(t="utf8");;)switch(t){case"hex":return vM(this,e,n);case"utf8":case"utf-8":return Z_(this,e,n);case"ascii":return yM(this,e,n);case"latin1":case"binary":return xM(this,e,n);case"base64":return hM(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bM(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0;}}L.prototype._isBuffer=!0;function $i(t,e,n){let i=t[e];t[e]=t[n],t[n]=i;}L.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;nn&&(e+=" ... "),""};W_&&(L.prototype[W_]=L.prototype.inspect);L.prototype.compare=function(e,n,i,s,r){if(yn(e,Uint8Array)&&(e=L.from(e,e.offset,e.byteLength)),!L.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(n===void 0&&(n=0),i===void 0&&(i=e?e.length:0),s===void 0&&(s=0),r===void 0&&(r=this.length),n<0||i>e.length||s<0||r>this.length)throw new RangeError("out of range index");if(s>=r&&n>=i)return 0;if(s>=r)return -1;if(n>=i)return 1;if(n>>>=0,i>>>=0,s>>>=0,r>>>=0,this===e)return 0;let o=r-s,a=i-n,u=Math.min(o,a),f=this.slice(s,r),c=e.slice(n,i);for(let d=0;d2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,ld(n)&&(n=s?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(s)return -1;n=t.length-1;}else if(n<0)if(s)n=0;else return -1;if(typeof e=="string"&&(e=L.from(e,i)),L.isBuffer(e))return e.length===0?-1:G_(t,e,n,i,s);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):G_(t,[e],n,i,s);throw new TypeError("val must be string, number or Buffer")}function G_(t,e,n,i,s){let r=1,o=t.length,a=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return -1;r=2,o/=2,a/=2,n/=2;}function u(c,d){return r===1?c[d]:c.readUInt16BE(d*r)}let f;if(s){let c=-1;for(f=n;fo&&(n=o-a),f=n;f>=0;f--){let c=!0;for(let d=0;ds&&(i=s)):i=s;let r=e.length;i>r/2&&(i=r/2);let o;for(o=0;o>>0,isFinite(i)?(i=i>>>0,s===void 0&&(s="utf8")):(s=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let r=this.length-n;if((i===void 0||i>r)&&(i=r),e.length>0&&(i<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");let o=!1;for(;;)switch(s){case"hex":return uM(this,e,n,i);case"utf8":case"utf-8":return pM(this,e,n,i);case"ascii":case"latin1":case"binary":return fM(this,e,n,i);case"base64":return dM(this,e,n,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mM(this,e,n,i);default:if(o)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),o=!0;}};L.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function hM(t,e,n){return e===0&&n===t.length?nd.fromByteArray(t):nd.fromByteArray(t.slice(e,n))}function Z_(t,e,n){n=Math.min(t.length,n);let i=[],s=e;for(;s239?4:r>223?3:r>191?2:1;if(s+a<=n){let u,f,c,d;switch(a){case 1:r<128&&(o=r);break;case 2:u=t[s+1],(u&192)===128&&(d=(r&31)<<6|u&63,d>127&&(o=d));break;case 3:u=t[s+1],f=t[s+2],(u&192)===128&&(f&192)===128&&(d=(r&15)<<12|(u&63)<<6|f&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:u=t[s+1],f=t[s+2],c=t[s+3],(u&192)===128&&(f&192)===128&&(c&192)===128&&(d=(r&15)<<18|(u&63)<<12|(f&63)<<6|c&63,d>65535&&d<1114112&&(o=d));}}o===null?(o=65533,a=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|o&1023),i.push(o),s+=a;}return gM(i)}var V_=4096;function gM(t){let e=t.length;if(e<=V_)return String.fromCharCode.apply(String,t);let n="",i=0;for(;ii)&&(n=i);let s="";for(let r=e;ri&&(e=i),n<0?(n+=i,n<0&&(n=0)):n>i&&(n=i),nn)throw new RangeError("Trying to access beyond buffer length")}L.prototype.readUintLE=L.prototype.readUIntLE=function(e,n,i){e=e>>>0,n=n>>>0,i||Ke(e,n,this.length);let s=this[e],r=1,o=0;for(;++o>>0,n=n>>>0,i||Ke(e,n,this.length);let s=this[e+--n],r=1;for(;n>0&&(r*=256);)s+=this[e+--n]*r;return s};L.prototype.readUint8=L.prototype.readUInt8=function(e,n){return e=e>>>0,n||Ke(e,1,this.length),this[e]};L.prototype.readUint16LE=L.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||Ke(e,2,this.length),this[e]|this[e+1]<<8};L.prototype.readUint16BE=L.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||Ke(e,2,this.length),this[e]<<8|this[e+1]};L.prototype.readUint32LE=L.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};L.prototype.readUint32BE=L.prototype.readUInt32BE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};L.prototype.readBigUInt64LE=ri(function(e){e=e>>>0,Ir(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Ks(e,this.length-8);let s=n+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,r=this[++e]+this[++e]*2**8+this[++e]*2**16+i*2**24;return BigInt(s)+(BigInt(r)<>>0,Ir(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Ks(e,this.length-8);let s=n*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],r=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+i;return (BigInt(s)<>>0,n=n>>>0,i||Ke(e,n,this.length);let s=this[e],r=1,o=0;for(;++o=r&&(s-=Math.pow(2,8*n)),s};L.prototype.readIntBE=function(e,n,i){e=e>>>0,n=n>>>0,i||Ke(e,n,this.length);let s=n,r=1,o=this[e+--s];for(;s>0&&(r*=256);)o+=this[e+--s]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*n)),o};L.prototype.readInt8=function(e,n){return e=e>>>0,n||Ke(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};L.prototype.readInt16LE=function(e,n){e=e>>>0,n||Ke(e,2,this.length);let i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};L.prototype.readInt16BE=function(e,n){e=e>>>0,n||Ke(e,2,this.length);let i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};L.prototype.readInt32LE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};L.prototype.readInt32BE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};L.prototype.readBigInt64LE=ri(function(e){e=e>>>0,Ir(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Ks(e,this.length-8);let s=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(i<<24);return (BigInt(s)<>>0,Ir(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Ks(e,this.length-8);let s=(n<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return (BigInt(s)<>>0,n||Ke(e,4,this.length),Fr.read(this,e,!0,23,4)};L.prototype.readFloatBE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),Fr.read(this,e,!1,23,4)};L.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||Ke(e,8,this.length),Fr.read(this,e,!0,52,8)};L.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||Ke(e,8,this.length),Fr.read(this,e,!1,52,8)};function wt(t,e,n,i,s,r){if(!L.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||et.length)throw new RangeError("Index out of range")}L.prototype.writeUintLE=L.prototype.writeUIntLE=function(e,n,i,s){if(e=+e,n=n>>>0,i=i>>>0,!s){let a=Math.pow(2,8*i)-1;wt(this,e,n,i,a,0);}let r=1,o=0;for(this[n]=e&255;++o>>0,i=i>>>0,!s){let a=Math.pow(2,8*i)-1;wt(this,e,n,i,a,0);}let r=i-1,o=1;for(this[n+r]=e&255;--r>=0&&(o*=256);)this[n+r]=e/o&255;return n+i};L.prototype.writeUint8=L.prototype.writeUInt8=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,1,255,0),this[n]=e&255,n+1};L.prototype.writeUint16LE=L.prototype.writeUInt16LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,65535,0),this[n]=e&255,this[n+1]=e>>>8,n+2};L.prototype.writeUint16BE=L.prototype.writeUInt16BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=e&255,n+2};L.prototype.writeUint32LE=L.prototype.writeUInt32LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255,n+4};L.prototype.writeUint32BE=L.prototype.writeUInt32BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};function eR(t,e,n,i,s){sR(e,i,s,t,n,7);let r=Number(e&BigInt(4294967295));t[n++]=r,r=r>>8,t[n++]=r,r=r>>8,t[n++]=r,r=r>>8,t[n++]=r;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=o,o=o>>8,t[n++]=o,o=o>>8,t[n++]=o,o=o>>8,t[n++]=o,n}function tR(t,e,n,i,s){sR(e,i,s,t,n,7);let r=Number(e&BigInt(4294967295));t[n+7]=r,r=r>>8,t[n+6]=r,r=r>>8,t[n+5]=r,r=r>>8,t[n+4]=r;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=o,o=o>>8,t[n+2]=o,o=o>>8,t[n+1]=o,o=o>>8,t[n]=o,n+8}L.prototype.writeBigUInt64LE=ri(function(e,n=0){return eR(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))});L.prototype.writeBigUInt64BE=ri(function(e,n=0){return tR(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))});L.prototype.writeIntLE=function(e,n,i,s){if(e=+e,n=n>>>0,!s){let u=Math.pow(2,8*i-1);wt(this,e,n,i,u-1,-u);}let r=0,o=1,a=0;for(this[n]=e&255;++r>0)-a&255;return n+i};L.prototype.writeIntBE=function(e,n,i,s){if(e=+e,n=n>>>0,!s){let u=Math.pow(2,8*i-1);wt(this,e,n,i,u-1,-u);}let r=i-1,o=1,a=0;for(this[n+r]=e&255;--r>=0&&(o*=256);)e<0&&a===0&&this[n+r+1]!==0&&(a=1),this[n+r]=(e/o>>0)-a&255;return n+i};L.prototype.writeInt8=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=e&255,n+1};L.prototype.writeInt16LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,32767,-32768),this[n]=e&255,this[n+1]=e>>>8,n+2};L.prototype.writeInt16BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=e&255,n+2};L.prototype.writeInt32LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,2147483647,-2147483648),this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4};L.prototype.writeInt32BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};L.prototype.writeBigInt64LE=ri(function(e,n=0){return eR(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});L.prototype.writeBigInt64BE=ri(function(e,n=0){return tR(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function nR(t,e,n,i,s,r){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function iR(t,e,n,i,s){return e=+e,n=n>>>0,s||nR(t,e,n,4),Fr.write(t,e,n,i,23,4),n+4}L.prototype.writeFloatLE=function(e,n,i){return iR(this,e,n,!0,i)};L.prototype.writeFloatBE=function(e,n,i){return iR(this,e,n,!1,i)};function rR(t,e,n,i,s){return e=+e,n=n>>>0,s||nR(t,e,n,8),Fr.write(t,e,n,i,52,8),n+8}L.prototype.writeDoubleLE=function(e,n,i){return rR(this,e,n,!0,i)};L.prototype.writeDoubleBE=function(e,n,i){return rR(this,e,n,!1,i)};L.prototype.copy=function(e,n,i,s){if(!L.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=0),!s&&s!==0&&(s=this.length),n>=e.length&&(n=e.length),n||(n=0),s>0&&s=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-n>>0,i=i===void 0?this.length:i>>>0,e||(e=0);let r;if(typeof e=="number")for(r=n;r2**32?s=K_(String(n)):typeof n=="bigint"&&(s=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(s=K_(s)),s+="n"),i+=` It must be ${e}. Received ${s}`,i},RangeError);function K_(t){let e="",n=t.length,i=t[0]==="-"?1:0;for(;n>=i+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return `${t.slice(0,n)}${e}`}function wM(t,e,n){Ir(e,"offset"),(t[e]===void 0||t[e+n]===void 0)&&Ks(e,t.length-(n+1));}function sR(t,e,n,i,s,r){if(t>n||t3?e===0||e===BigInt(0)?a=`>= 0${o} and < 2${o} ** ${(r+1)*8}${o}`:a=`>= -(2${o} ** ${(r+1)*8-1}${o}) and < 2 ** ${(r+1)*8-1}${o}`:a=`>= ${e}${o} and <= ${n}${o}`,new Pr.ERR_OUT_OF_RANGE("value",a,t)}wM(i,s,r);}function Ir(t,e){if(typeof t!="number")throw new Pr.ERR_INVALID_ARG_TYPE(e,"number",t)}function Ks(t,e,n){throw Math.floor(t)!==t?(Ir(t,n),new Pr.ERR_OUT_OF_RANGE(n||"offset","an integer",t)):e<0?new Pr.ERR_BUFFER_OUT_OF_BOUNDS:new Pr.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}var SM=/[^+/0-9A-Za-z-_]/g;function EM(t){if(t=t.split("=")[0],t=t.trim().replace(SM,""),t.length<2)return "";for(;t.length%4!==0;)t=t+"=";return t}function sd(t,e){e=e||1/0;let n,i=t.length,s=null,r=[];for(let o=0;o55295&&n<57344){if(!s){if(n>56319){(e-=3)>-1&&r.push(239,191,189);continue}else if(o+1===i){(e-=3)>-1&&r.push(239,191,189);continue}s=n;continue}if(n<56320){(e-=3)>-1&&r.push(239,191,189),s=n;continue}n=(s-55296<<10|n-56320)+65536;}else s&&(e-=3)>-1&&r.push(239,191,189);if(s=null,n<128){if((e-=1)<0)break;r.push(n);}else if(n<2048){if((e-=2)<0)break;r.push(n>>6|192,n&63|128);}else if(n<65536){if((e-=3)<0)break;r.push(n>>12|224,n>>6&63|128,n&63|128);}else if(n<1114112){if((e-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128);}else throw new Error("Invalid code point")}return r}function AM(t){let e=[];for(let n=0;n>8,s=n%256,r.push(s),r.push(i);return r}function oR(t){return nd.toByteArray(EM(t))}function dc(t,e,n,i){let s;for(s=0;s=e.length||s>=t.length);++s)e[s+n]=t[s];return s}function yn(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ld(t){return t!==t}var RM=function(){let t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){let i=n*16;for(let s=0;s<16;++s)e[i+s]=t[n]+t[s];}return e}();function ri(t){return typeof BigInt>"u"?CM:t}function CM(){throw new Error("BigInt not supported")}});var uR=R((g5,lR)=>{var Js=N_(),cR=aR().Buffer;function TM(t){return 12+4*Math.ceil(t.length/4)}function OM(){return !(typeof window<"u"&&typeof document<"u")}function kM(t){return t.BYTES_PER_ELEMENT?t.length*t.BYTES_PER_ELEMENT:-1}function PM(t){let e=0,n=-1;try{let i=t;if(t instanceof Map?i=Object.fromEntries(t):t instanceof Set&&(i=Array.from(t)),ArrayBuffer.isView(t))return kM(t);let s=JSON.stringify(i,(r,o)=>typeof o=="bigint"||typeof o=="function"?o.toString():typeof o>"u"?"undefined":typeof o=="symbol"||o instanceof RegExp?o.toString():o);e=cR.byteLength(s,"utf8");}catch(i){return console.error("Error detected, returning "+n,i),n}return e}function FM(t){let e=[],n=[t],i=0;for(;n.length;){let s=n.pop();if(typeof s=="boolean")i+=Js.BYTES;else if(typeof s=="string")OM()?i+=TM(s):i+=s.length*Js.STRING;else if(typeof s=="number")i+=Js.NUMBER;else if(typeof s=="symbol")Symbol.keyFor&&Symbol.keyFor(t)?i+=Symbol.keyFor(t).length*Js.STRING:i+=(t.toString().length-8)*Js.STRING;else if(typeof s=="bigint")i+=cR.from(s.toString()).byteLength;else if(typeof s=="function")i+=s.toString().length;else if(typeof s=="object"&&e.indexOf(s)===-1){e.push(s);for(let r in s)n.push(s[r]);}}return i}lR.exports=function(t){let e=0;return t!==null&&typeof t=="object"?e=PM(t):e=FM(t),e};});var oo=new Uint8Array(256),so=oo.length;function kc(){return so>oo.length-16&&(YC__default.default.randomFillSync(oo),so=0),oo.slice(so,so+=16)}var Ze=[];for(let t=0;t<256;++t)Ze.push((t+256).toString(16).slice(1));function im(t,e=0){return (Ze[t[e+0]]+Ze[t[e+1]]+Ze[t[e+2]]+Ze[t[e+3]]+"-"+Ze[t[e+4]]+Ze[t[e+5]]+"-"+Ze[t[e+6]]+Ze[t[e+7]]+"-"+Ze[t[e+8]]+Ze[t[e+9]]+"-"+Ze[t[e+10]]+Ze[t[e+11]]+Ze[t[e+12]]+Ze[t[e+13]]+Ze[t[e+14]]+Ze[t[e+15]]).toLowerCase()}var Pc={randomUUID:YC__default.default.randomUUID};function QC(t,e,n){if(Pc.randomUUID&&!e&&!t)return Pc.randomUUID();t=t||{};let i=t.random||(t.rng||kc)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,e){n=n||0;for(let s=0;s<16;++s)e[n+s]=i[s];return e}return im(i)}var ai=QC;var _R=xn(Vy());var jn={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};function Ck(t,e){return e}function Ky(t){return typeof t!="object"||t===null?0:Array.isArray(t)?2:kk(t)?1:t instanceof Set?3:t instanceof Map?4:5}function Tk(t){let e=new Set;for(let n of t)for(let i of [...Object.keys(n),...Object.getOwnPropertySymbols(n)])e.add(i);return e}function Ok(t,e){return typeof t=="object"&&Object.prototype.propertyIsEnumerable.call(t,e)}function Yy(t){return {*[Symbol.iterator](){for(let e of t)for(let n of e)yield n;}}}var Jy=new Set(["[object Object]","[object Module]"]);function kk(t){if(!Jy.has(Object.prototype.toString.call(t)))return !1;let{constructor:e}=t;if(e===void 0)return !0;let n=e.prototype;return !(n===null||typeof n!="object"||!Jy.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}function Pk(t,e,n){let i={};for(let s of Tk(t)){let r=[];for(let u of t)Ok(u,s)&&r.push(u[s]);if(r.length===0)continue;let o=e.metaDataUpdater(n,{key:s,parents:t}),a=Zy(r,e,o);a!==jn.skip&&(s==="__proto__"?Object.defineProperty(i,s,{value:a,configurable:!0,enumerable:!0,writable:!0}):i[s]=a);}return i}function Fk(t){return t.flat()}function Ik(t){return new Set(Yy(t))}function Lk(t){return new Map(Yy(t))}function Xy(t){return t.at(-1)}var Dl=Object.freeze({__proto__:null,mergeArrays:Fk,mergeMaps:Lk,mergeOthers:Xy,mergeRecords:Pk,mergeSets:Ik});function Qy(...t){return qk({})(...t)}function qk(t,e){let n=$k(t,i);function i(...s){return Zy(s,n,e)}return i}function $k(t,e){return {defaultMergeFunctions:Dl,mergeFunctions:{...Dl,...Object.fromEntries(Object.entries(t).filter(([n,i])=>Object.hasOwn(Dl,n)).map(([n,i])=>i===!1?[n,Xy]:[n,i]))},metaDataUpdater:t.metaDataUpdater??Ck,deepmerge:e,useImplicitDefaultMerging:t.enableImplicitDefaultMerging??!1,actions:jn}}function Zy(t,e,n){if(t.length===0)return;if(t.length===1)return jl(t,e,n);let i=Ky(t[0]);if(i!==0&&i!==5){for(let s=1;s{let e=typeof t;return t!==null&&(e==="object"||e==="function")};var Nl=new Set(["__proto__","prototype","constructor"]),Uk=new Set("0123456789");function Ul(t){let e=[],n="",i="start",s=!1;for(let r of t)switch(r){case"\\":{if(i==="index")throw new Error("Invalid character in an index");if(i==="indexEnd")throw new Error("Invalid character after an index");s&&(n+=r),i="property",s=!s;break}case".":{if(i==="index")throw new Error("Invalid character in an index");if(i==="indexEnd"){i="property";break}if(s){s=!1,n+=r;break}if(Nl.has(n))return [];e.push(n),n="",i="property";break}case"[":{if(i==="index")throw new Error("Invalid character in an index");if(i==="indexEnd"){i="index";break}if(s){s=!1,n+=r;break}if(i==="property"){if(Nl.has(n))return [];e.push(n),n="";}i="index";break}case"]":{if(i==="index"){e.push(Number.parseInt(n,10)),n="",i="indexEnd";break}if(i==="indexEnd")throw new Error("Invalid character after an index")}default:{if(i==="index"&&!Uk.has(r))throw new Error("Invalid character in an index");if(i==="indexEnd")throw new Error("Invalid character after an index");i==="start"&&(i="property"),s&&(s=!1,n+="\\"),n+=r;}}switch(s&&(n+="\\"),i){case"property":{if(Nl.has(n))return [];e.push(n);break}case"index":throw new Error("Index was not closed");case"start":{e.push("");break}}return e}function ex(t,e){if(typeof e!="number"&&Array.isArray(t)){let n=Number.parseInt(e,10);return Number.isInteger(n)&&t[n]===t[e]}return !1}function tx(t,e){if(ex(t,e))throw new Error("Cannot use string index")}function nx(t,e,n){if(!Xr(t)||typeof e!="string")return n===void 0?t:n;let i=Ul(e);if(i.length===0)return n;for(let s=0;se=>{let n=Mk.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),on=t=>(t=t.toLowerCase(),e=>jo(e)===t),No=t=>e=>typeof e===t,{isArray:Ji}=Array,es=No("undefined");function zk(t){return t!==null&&!es(t)&&t.constructor!==null&&!es(t.constructor)&&Bt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var ax=on("ArrayBuffer");function Hk(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&ax(t.buffer),e}var Wk=No("string"),Bt=No("function"),cx=No("number"),Uo=t=>t!==null&&typeof t=="object",Gk=t=>t===!0||t===!1,Do=t=>{if(jo(t)!=="object")return !1;let e=Hl(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Vk=on("Date"),Kk=on("File"),Jk=on("Blob"),Yk=on("FileList"),Xk=t=>Uo(t)&&Bt(t.pipe),Qk=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Bt(t.append)&&((e=jo(t))==="formdata"||e==="object"&&Bt(t.toString)&&t.toString()==="[object FormData]"))},Zk=on("URLSearchParams"),eP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ts(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),Ji(t))for(i=0,s=t.length;i0;)if(s=n[i],e===s.toLowerCase())return s;return null}var ux=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),px=t=>!es(t)&&t!==ux;function zl(){let{caseless:t}=px(this)&&this||{},e={},n=(i,s)=>{let r=t&&lx(e,s)||s;Do(e[r])&&Do(i)?e[r]=zl(e[r],i):Do(i)?e[r]=zl({},i):Ji(i)?e[r]=i.slice():e[r]=i;};for(let i=0,s=arguments.length;i(ts(e,(s,r)=>{n&&Bt(s)?t[r]=Zr(s,n):t[r]=s;},{allOwnKeys:i}),t),nP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),iP=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n);},rP=(t,e,n,i)=>{let s,r,o,a={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),r=s.length;r-- >0;)o=s[r],(!i||i(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Hl(t);}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},sP=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;let i=t.indexOf(e,n);return i!==-1&&i===n},oP=t=>{if(!t)return null;if(Ji(t))return t;let e=t.length;if(!cx(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},aP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Hl(Uint8Array)),cP=(t,e)=>{let i=(t&&t[Symbol.iterator]).call(t),s;for(;(s=i.next())&&!s.done;){let r=s.value;e.call(t,r[0],r[1]);}},lP=(t,e)=>{let n,i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},uP=on("HTMLFormElement"),pP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),sx=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),fP=on("RegExp"),fx=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),i={};ts(n,(s,r)=>{e(s,r,t)!==!1&&(i[r]=s);}),Object.defineProperties(t,i);},dP=t=>{fx(t,(e,n)=>{if(Bt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return !1;let i=t[n];if(Bt(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")});}});},mP=(t,e)=>{let n={},i=s=>{s.forEach(r=>{n[r]=!0;});};return Ji(t)?i(t):i(String(t).split(e)),n},hP=()=>{},gP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ml="abcdefghijklmnopqrstuvwxyz",ox="0123456789",dx={DIGIT:ox,ALPHA:Ml,ALPHA_DIGIT:Ml+Ml.toUpperCase()+ox},yP=(t=16,e=dx.ALPHA_DIGIT)=>{let n="",{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n};function xP(t){return !!(t&&Bt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}var vP=t=>{let e=new Array(10),n=(i,s)=>{if(Uo(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[s]=i;let r=Ji(i)?[]:{};return ts(i,(o,a)=>{let u=n(o,s+1);!es(u)&&(r[a]=u);}),e[s]=void 0,r}}return i};return n(t,0)},bP=on("AsyncFunction"),wP=t=>t&&(Uo(t)||Bt(t))&&Bt(t.then)&&Bt(t.catch),O={isArray:Ji,isArrayBuffer:ax,isBuffer:zk,isFormData:Qk,isArrayBufferView:Hk,isString:Wk,isNumber:cx,isBoolean:Gk,isObject:Uo,isPlainObject:Do,isUndefined:es,isDate:Vk,isFile:Kk,isBlob:Jk,isRegExp:fP,isFunction:Bt,isStream:Xk,isURLSearchParams:Zk,isTypedArray:aP,isFileList:Yk,forEach:ts,merge:zl,extend:tP,trim:eP,stripBOM:nP,inherits:iP,toFlatObject:rP,kindOf:jo,kindOfTest:on,endsWith:sP,toArray:oP,forEachEntry:cP,matchAll:lP,isHTMLForm:uP,hasOwnProperty:sx,hasOwnProp:sx,reduceDescriptors:fx,freezeMethods:dP,toObjectSet:mP,toCamelCase:pP,noop:hP,toFiniteNumber:gP,findKey:lx,global:ux,isContextDefined:px,ALPHABET:dx,generateString:yP,isSpecCompliantForm:xP,toJSONObject:vP,isAsyncFn:bP,isThenable:wP};function Yi(t,e,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s);}O.inherits(Yi,Error,{toJSON:function(){return {message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var mx=Yi.prototype,hx={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{hx[t]={value:t};});Object.defineProperties(Yi,hx);Object.defineProperty(mx,"isAxiosError",{value:!0});Yi.from=(t,e,n,i,s,r)=>{let o=Object.create(mx);return O.toFlatObject(t,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),Yi.call(o,t.message,e,n,i,s),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};var ne=Yi;var Yx=xn(tu(),1),Ho=Yx.default;function nu(t){return O.isPlainObject(t)||O.isArray(t)}function Qx(t){return O.endsWith(t,"[]")?t.slice(0,-2):t}function Xx(t,e,n){return t?t.concat(e).map(function(s,r){return s=Qx(s),!n&&r?"["+s+"]":s}).join(n?".":""):e}function rF(t){return O.isArray(t)&&!t.some(nu)}var sF=O.toFlatObject(O,{},null,function(e){return /^is[A-Z]/.test(e)});function oF(t,e,n){if(!O.isObject(t))throw new TypeError("target must be an object");e=e||new(Ho||FormData),n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,A){return !O.isUndefined(A[b])});let i=n.metaTokens,s=n.visitor||c,r=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(e);if(!O.isFunction(s))throw new TypeError("visitor must be a function");function f(y){if(y===null)return "";if(O.isDate(y))return y.toISOString();if(!u&&O.isBlob(y))throw new ne("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(y)||O.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,b,A){let _=y;if(y&&!A&&typeof y=="object"){if(O.endsWith(b,"{}"))b=i?b:b.slice(0,-2),y=JSON.stringify(y);else if(O.isArray(y)&&rF(y)||(O.isFileList(y)||O.endsWith(b,"[]"))&&(_=O.toArray(y)))return b=Qx(b),_.forEach(function(C,I){!(O.isUndefined(C)||C===null)&&e.append(o===!0?Xx([b],I,r):o===null?b:b+"[]",f(C));}),!1}return nu(y)?!0:(e.append(Xx(A,b,r),f(y)),!1)}let d=[],g=Object.assign(sF,{defaultVisitor:c,convertValue:f,isVisitable:nu});function h(y,b){if(!O.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(y),O.forEach(y,function(_,S){(!(O.isUndefined(_)||_===null)&&s.call(e,_,O.isString(S)?S.trim():S,b,g))===!0&&h(_,b?b.concat(S):[S]);}),d.pop();}}if(!O.isObject(t))throw new TypeError("data must be an object");return h(t),e}var Nn=oF;function Zx(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function ev(t,e){this._pairs=[],t&&Nn(t,this,e);}var tv=ev.prototype;tv.append=function(e,n){this._pairs.push([e,n]);};tv.toString=function(e){let n=e?function(i){return e.call(this,i,Zx)}:Zx;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};var nv=ev;function aF(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pi(t,e,n){if(!e)return t;let i=n&&n.encode||aF,s=n&&n.serialize,r;if(s?r=s(e,n):r=O.isURLSearchParams(e)?e.toString():new nv(e,n).toString(i),r){let o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r;}return t}var iu=class{constructor(){this.handlers=[];}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null);}clear(){this.handlers&&(this.handlers=[]);}forEach(e){O.forEach(this.handlers,function(i){i!==null&&e(i);});}},ru=iu;var Xi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var iv=cF__default.default.URLSearchParams;var Ie={isNode:!0,classes:{URLSearchParams:iv,FormData:Ho,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]};function su(t,e){return Nn(t,new Ie.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,r){return O.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function lF(t){return O.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function uF(t){let e={},n=Object.keys(t),i,s=n.length,r;for(i=0;i=n.length;return o=!o&&O.isArray(s)?s.length:o,u?(O.hasOwnProp(s,o)?s[o]=[s[o],i]:s[o]=i,!a):((!s[o]||!O.isObject(s[o]))&&(s[o]=[]),e(n,i,s[o],r)&&O.isArray(s[o])&&(s[o]=uF(s[o])),!a)}if(O.isFormData(t)&&O.isFunction(t.entries)){let n={};return O.forEachEntry(t,(i,s)=>{e(lF(i),s,n,0);}),n}return null}var Wo=pF;var fF={"Content-Type":void 0};function dF(t,e,n){if(O.isString(t))try{return (e||JSON.parse)(t),O.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return (n||JSON.stringify)(t)}var Go={transitional:Xi,adapter:["xhr","http"],transformRequest:[function(e,n){let i=n.getContentType()||"",s=i.indexOf("application/json")>-1,r=O.isObject(e);if(r&&O.isHTMLForm(e)&&(e=new FormData(e)),O.isFormData(e))return s&&s?JSON.stringify(Wo(e)):e;if(O.isArrayBuffer(e)||O.isBuffer(e)||O.isStream(e)||O.isFile(e)||O.isBlob(e))return e;if(O.isArrayBufferView(e))return e.buffer;if(O.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return su(e,this.formSerializer).toString();if((a=O.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return Nn(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return r||s?(n.setContentType("application/json",!1),dF(e)):e}],transformResponse:[function(e){let n=this.transitional||Go.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&O.isString(e)&&(i&&!this.responseType||s)){let o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?ne.from(a,ne.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ie.classes.FormData,Blob:Ie.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};O.forEach(["delete","get","head"],function(e){Go.headers[e]={};});O.forEach(["post","put","patch"],function(e){Go.headers[e]=O.merge(fF);});var Qi=Go;var mF=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rv=t=>{let e={},n,i,s;return t&&t.split(` -`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),i=o.substring(s+1).trim(),!(!n||e[n]&&mF[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i);}),e};var sv=Symbol("internals");function ns(t){return t&&String(t).trim().toLowerCase()}function Vo(t){return t===!1||t==null?t:O.isArray(t)?t.map(Vo):String(t)}function hF(t){let e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}var gF=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ou(t,e,n,i,s){if(O.isFunction(i))return i.call(this,e,n);if(s&&(e=n),!!O.isString(e)){if(O.isString(i))return e.indexOf(i)!==-1;if(O.isRegExp(i))return i.test(e)}}function yF(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function xF(t,e){let n=O.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(s,r,o){return this[i].call(this,e,s,r,o)},configurable:!0});});}var Zi=class{constructor(e){e&&this.set(e);}set(e,n,i){let s=this;function r(a,u,f){let c=ns(u);if(!c)throw new Error("header name must be a non-empty string");let d=O.findKey(s,c);(!d||s[d]===void 0||f===!0||f===void 0&&s[d]!==!1)&&(s[d||u]=Vo(a));}let o=(a,u)=>O.forEach(a,(f,c)=>r(f,c,u));return O.isPlainObject(e)||e instanceof this.constructor?o(e,n):O.isString(e)&&(e=e.trim())&&!gF(e)?o(rv(e),n):e!=null&&r(n,e,i),this}get(e,n){if(e=ns(e),e){let i=O.findKey(this,e);if(i){let s=this[i];if(!n)return s;if(n===!0)return hF(s);if(O.isFunction(n))return n.call(this,s,i);if(O.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=ns(e),e){let i=O.findKey(this,e);return !!(i&&this[i]!==void 0&&(!n||ou(this,this[i],i,n)))}return !1}delete(e,n){let i=this,s=!1;function r(o){if(o=ns(o),o){let a=O.findKey(i,o);a&&(!n||ou(i,i[a],a,n))&&(delete i[a],s=!0);}}return O.isArray(e)?e.forEach(r):r(e),s}clear(e){let n=Object.keys(this),i=n.length,s=!1;for(;i--;){let r=n[i];(!e||ou(this,this[r],r,e,!0))&&(delete this[r],s=!0);}return s}normalize(e){let n=this,i={};return O.forEach(this,(s,r)=>{let o=O.findKey(i,r);if(o){n[o]=Vo(s),delete n[r];return}let a=e?yF(r):String(r).trim();a!==r&&delete n[r],n[a]=Vo(s),i[a]=!0;}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let n=Object.create(null);return O.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=e&&O.isArray(i)?i.join(", "):i);}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}get[Symbol.toStringTag](){return "AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){let i=new this(e);return n.forEach(s=>i.set(s)),i}static accessor(e){let i=(this[sv]=this[sv]={accessors:{}}).accessors,s=this.prototype;function r(o){let a=ns(o);i[a]||(xF(s,o),i[a]=!0);}return O.isArray(e)?e.forEach(r):r(e),this}};Zi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.freezeMethods(Zi.prototype);O.freezeMethods(Zi);var $e=Zi;function is(t,e){let n=this||Qi,i=e||n,s=$e.from(i.headers),r=i.data;return O.forEach(t,function(a){r=a.call(n,r,s.normalize(),e?e.status:void 0);}),s.normalize(),r}function rs(t){return !!(t&&t.__CANCEL__)}function ov(t,e,n){ne.call(this,t??"canceled",ne.ERR_CANCELED,e,n),this.name="CanceledError";}O.inherits(ov,ne,{__CANCEL__:!0});var Ht=ov;function Un(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n));}function au(t){return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function cu(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function fi(t,e){return t&&!au(e)?cu(t,e):e}var Dv=xn(cv(),1),jv=xn(Ov(),1);var gi="1.4.0";function cs(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var nI=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function yu(t,e,n){let i=n&&n.Blob||Ie.classes.Blob,s=cs(t);if(e===void 0&&i&&(e=!0),s==="data"){t=s.length?t.slice(s.length+1):t;let r=nI.exec(t);if(!r)throw new ne("Invalid URL",ne.ERR_INVALID_URL);let o=r[1],a=r[2],u=r[3],f=Buffer.from(decodeURIComponent(u),a?"base64":"utf8");if(e){if(!i)throw new ne("Blob is not supported",ne.ERR_NOT_SUPPORT);return new i([f],{type:o})}return f}throw new ne("Unsupported protocol "+s,ne.ERR_NOT_SUPPORT)}function iI(t,e){let n=0,i=1e3/e,s=null;return function(o,a){let u=Date.now();if(o||u-n>i)return s&&(clearTimeout(s),s=null),n=u,t.apply(null,a);s||(s=setTimeout(()=>(s=null,n=Date.now(),t.apply(null,a)),i-(u-n)));}}var kv=iI;function rI(t,e){t=t||10;let n=new Array(t),i=new Array(t),s=0,r=0,o;return e=e!==void 0?e:1e3,function(u){let f=Date.now(),c=i[r];o||(o=f),n[s]=u,i[s]=f;let d=r,g=0;for(;d!==s;)g+=n[d++],d=d%t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),f-o!O.isUndefined(u[a])),super({readableHighWaterMark:e.chunkSize});let n=this,i=this[Zo]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},s=Qo(i.ticksRate*e.samplesCount,i.timeWindow);this.on("newListener",a=>{a==="progress"&&(i.isCaptured||(i.isCaptured=!0));});let r=0;i.updateProgress=kv(function(){let u=i.length,f=i.bytesSeen,c=f-r;if(!c||n.destroyed)return;let d=s(c);r=f,process.nextTick(()=>{n.emit("progress",{loaded:f,total:u,progress:u?f/u:void 0,bytes:c,rate:d||void 0,estimated:d&&u&&f<=u?(u-f)/d:void 0});});},i.ticksRate);let o=()=>{i.updateProgress(!0);};this.once("end",o),this.once("error",o);}_read(e){let n=this[Zo];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,i){let s=this,r=this[Zo],o=r.maxRate,a=this.readableHighWaterMark,u=r.timeWindow,f=1e3/u,c=o/f,d=r.minChunkSize!==!1?Math.max(r.minChunkSize,c*.01):0;function g(y,b){let A=Buffer.byteLength(y);r.bytesSeen+=A,r.bytes+=A,r.isCaptured&&r.updateProgress(),s.push(y)?process.nextTick(b):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(b);};}let h=(y,b)=>{let A=Buffer.byteLength(y),_=null,S=a,C,I=0;if(o){let q=Date.now();(!r.ts||(I=q-r.ts)>=u)&&(r.ts=q,C=c-r.bytes,r.bytes=C<0?-C:0,I=0),C=c-r.bytes;}if(o){if(C<=0)return setTimeout(()=>{b(null,y);},u-I);CS&&A-S>d&&(_=y.subarray(S),y=y.subarray(0,S)),g(y,_?()=>{process.nextTick(b,null,_);}:b);};h(e,function y(b,A){if(b)return i(b);A?h(A,y):i(null);});}setLength(e){return this[Zo].length=+e,this}},vu=xu;var{asyncIterator:Pv}=Symbol,oI=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Pv]?yield*t[Pv]():yield t;},ea=oI;var lI=O.ALPHABET.ALPHA_DIGIT+"-_",ls=new yI.TextEncoder,Mn=`\r -`,uI=ls.encode(Mn),pI=2,bu=class{constructor(e,n){let{escapeName:i}=this.constructor,s=O.isString(n),r=`Content-Disposition: form-data; name="${i(e)}"${!s&&n.name?`; filename="${i(n.name)}"`:""}${Mn}`;s?n=ls.encode(String(n).replace(/\r?\n|\r\n?/g,Mn)):r+=`Content-Type: ${n.type||"application/octet-stream"}${Mn}`,this.headers=ls.encode(r+Mn),this.contentLength=s?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+pI,this.name=e,this.value=n;}async*encode(){yield this.headers;let{value:e}=this;O.isTypedArray(e)?yield e:yield*ea(e),yield uI;}static escapeName(e){return String(e).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},fI=(t,e,n)=>{let{tag:i="form-data-boundary",size:s=25,boundary:r=i+"-"+O.generateString(s,lI)}=n||{};if(!O.isFormData(t))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");let o=ls.encode("--"+r+Mn),a=ls.encode("--"+r+"--"+Mn+Mn),u=a.byteLength,f=Array.from(t.entries()).map(([d,g])=>{let h=new bu(d,g);return u+=h.size,h});u+=o.byteLength*f.length,u=O.toFiniteNumber(u);let c={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(c["Content-Length"]=u),e&&e(c),sr.Readable.from(async function*(){for(let d of f)yield o,yield*d.encode();yield a;}())},Fv=fI;var wu=class extends sr__default.default.Transform{__transform(e,n,i){this.push(e),i();}_transform(e,n,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let s=Buffer.alloc(2);s[0]=120,s[1]=156,this.push(s,n);}this.__transform(e,n,i);}},Iv=wu;var mI=(t,e)=>O.isAsyncFn(t)?function(...n){let i=n.pop();t.apply(this,n).then(s=>{try{e?i(null,...e(s)):i(null,s);}catch(r){i(r);}},i);}:t,Lv=mI;var qv={flush:zn__default.default.constants.Z_SYNC_FLUSH,finishFlush:zn__default.default.constants.Z_SYNC_FLUSH},vI={flush:zn__default.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:zn__default.default.constants.BROTLI_OPERATION_FLUSH},$v=O.isFunction(zn__default.default.createBrotliDecompress),{http:bI,https:wI}=jv.default,SI=/https:?/,Bv=Ie.protocols.map(t=>t+":");function EI(t){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t);}function Nv(t,e,n){let i=e;if(!i&&i!==!1){let s=(0, Dv.getProxyForUrl)(n);s&&(i=new URL(s));}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));let r=Buffer.from(i.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+r;}t.headers.host=t.hostname+(t.port?":"+t.port:"");let s=i.hostname||i.host;t.hostname=s,t.host=s,t.port=i.port,t.path=n,i.protocol&&(t.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`);}t.beforeRedirects.proxy=function(r){Nv(r,e,r.href);};}var AI=typeof process<"u"&&O.kindOf(process)==="process",_I=t=>new Promise((e,n)=>{let i,s,r=(u,f)=>{s||(s=!0,i&&i(u,f));},o=u=>{r(u),e(u);},a=u=>{r(u,!0),n(u);};t(o,a,u=>i=u).catch(a);}),Uv=AI&&function(e){return _I(async function(i,s,r){let{data:o,lookup:a,family:u}=e,{responseType:f,responseEncoding:c}=e,d=e.method.toUpperCase(),g,h=!1,y;a&&O.isAsyncFn(a)&&(a=Lv(a,U=>{if(O.isString(U))U=[U,U.indexOf(".")<0?6:4];else if(!O.isArray(U))throw new TypeError("lookup async function must return an array [ip: string, family: number]]");return U}));let b=new xI__default.default,A=()=>{e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_),b.removeAllListeners();};r((U,z)=>{g=!0,z&&(h=!0,A());});function _(U){b.emit("abort",!U||U.type?new Ht(null,e,y):U);}b.once("abort",s),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_)));let S=fi(e.baseURL,e.url),C=new URL(S,"http://localhost"),I=C.protocol||Bv[0];if(I==="data:"){let U;if(d!=="GET")return Un(i,s,{status:405,statusText:"method not allowed",headers:{},config:e});try{U=yu(e.url,f==="blob",{Blob:e.env&&e.env.Blob});}catch(z){throw ne.from(z,ne.ERR_BAD_REQUEST,e)}return f==="text"?(U=U.toString(c),(!c||c==="utf8")&&(U=O.stripBOM(U))):f==="stream"&&(U=sr__default.default.Readable.from(U)),Un(i,s,{data:U,status:200,statusText:"OK",headers:new $e,config:e})}if(Bv.indexOf(I)===-1)return s(new ne("Unsupported protocol "+I,ne.ERR_BAD_REQUEST,e));let q=$e.from(e.headers).normalize();q.set("User-Agent","axios/"+gi,!1);let J=e.onDownloadProgress,W=e.onUploadProgress,D=e.maxRate,$,G;if(O.isSpecCompliantForm(o)){let U=q.getContentType(/boundary=([-_\w\d]{10,70})/i);o=Fv(o,z=>{q.set(z);},{tag:`axios-${gi}-boundary`,boundary:U&&U[1]||void 0});}else if(O.isFormData(o)&&O.isFunction(o.getHeaders)){if(q.set(o.getHeaders()),!q.hasContentLength())try{let U=await yI__default.default.promisify(o.getLength).call(o);Number.isFinite(U)&&U>=0&&q.setContentLength(U);}catch{}}else if(O.isBlob(o))o.size&&q.setContentType(o.type||"application/octet-stream"),q.setContentLength(o.size||0),o=sr__default.default.Readable.from(ea(o));else if(o&&!O.isStream(o)){if(!Buffer.isBuffer(o))if(O.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(O.isString(o))o=Buffer.from(o,"utf-8");else return s(new ne("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ne.ERR_BAD_REQUEST,e));if(q.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return s(new ne("Request body larger than maxBodyLength limit",ne.ERR_BAD_REQUEST,e))}let T=O.toFiniteNumber(q.getContentLength());O.isArray(D)?($=D[0],G=D[1]):$=G=D,o&&(W||$)&&(O.isStream(o)||(o=sr__default.default.Readable.from(o,{objectMode:!1})),o=sr__default.default.pipeline([o,new vu({length:T,maxRate:O.toFiniteNumber($)})],O.noop),W&&o.on("progress",U=>{W(Object.assign(U,{upload:!0}));}));let Y;if(e.auth){let U=e.auth.username||"",z=e.auth.password||"";Y=U+":"+z;}if(!Y&&C.username){let U=C.username,z=C.password;Y=U+":"+z;}Y&&q.delete("authorization");let Z;try{Z=pi(C.pathname+C.search,e.params,e.paramsSerializer).replace(/^\?/,"");}catch(U){let z=new Error(U.message);return z.config=e,z.url=e.url,z.exists=!0,s(z)}q.set("Accept-Encoding","gzip, compress, deflate"+($v?", br":""),!1);let re={path:Z,method:d,headers:q.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:Y,protocol:I,family:u,lookup:a,beforeRedirect:EI,beforeRedirects:{}};e.socketPath?re.socketPath=e.socketPath:(re.hostname=C.hostname,re.port=C.port,Nv(re,e.proxy,I+"//"+C.hostname+(C.port?":"+C.port:"")+re.path));let k,F=SI.test(re.protocol);if(re.agent=F?e.httpsAgent:e.httpAgent,e.transport?k=e.transport:e.maxRedirects===0?k=F?gI__default.default:hI__default.default:(e.maxRedirects&&(re.maxRedirects=e.maxRedirects),e.beforeRedirect&&(re.beforeRedirects.config=e.beforeRedirect),k=F?wI:bI),e.maxBodyLength>-1?re.maxBodyLength=e.maxBodyLength:re.maxBodyLength=1/0,e.insecureHTTPParser&&(re.insecureHTTPParser=e.insecureHTTPParser),y=k.request(re,function(z){if(y.destroyed)return;let ae=[z],Le=+z.headers["content-length"];if(J){let Oe=new vu({length:O.toFiniteNumber(Le),maxRate:O.toFiniteNumber(G)});J&&Oe.on("progress",pe=>{J(Object.assign(pe,{download:!0}));}),ae.push(Oe);}let he=z,St=z.req||y;if(e.decompress!==!1&&z.headers["content-encoding"])switch((d==="HEAD"||z.statusCode===204)&&delete z.headers["content-encoding"],z.headers["content-encoding"]){case"gzip":case"x-gzip":case"compress":case"x-compress":ae.push(zn__default.default.createUnzip(qv)),delete z.headers["content-encoding"];break;case"deflate":ae.push(new Iv),ae.push(zn__default.default.createUnzip(qv)),delete z.headers["content-encoding"];break;case"br":$v&&(ae.push(zn__default.default.createBrotliDecompress(vI)),delete z.headers["content-encoding"]);}he=ae.length>1?sr__default.default.pipeline(ae,O.noop):ae[0];let si=sr__default.default.finished(he,()=>{si(),A();}),ot={status:z.statusCode,statusText:z.statusMessage,headers:new $e(z.headers),config:e,request:St};if(f==="stream")ot.data=he,Un(i,s,ot);else {let Oe=[],pe=0;he.on("data",function(qe){Oe.push(qe),pe+=qe.length,e.maxContentLength>-1&&pe>e.maxContentLength&&(h=!0,he.destroy(),s(new ne("maxContentLength size of "+e.maxContentLength+" exceeded",ne.ERR_BAD_RESPONSE,e,St)));}),he.on("aborted",function(){if(h)return;let qe=new ne("maxContentLength size of "+e.maxContentLength+" exceeded",ne.ERR_BAD_RESPONSE,e,St);he.destroy(qe),s(qe);}),he.on("error",function(qe){y.destroyed||s(ne.from(qe,null,e,St));}),he.on("end",function(){try{let qe=Oe.length===1?Oe[0]:Buffer.concat(Oe);f!=="arraybuffer"&&(qe=qe.toString(c),(!c||c==="utf8")&&(qe=O.stripBOM(qe))),ot.data=qe;}catch(qe){s(ne.from(qe,null,e,ot.request,ot));}Un(i,s,ot);});}b.once("abort",Oe=>{he.destroyed||(he.emit("error",Oe),he.destroy());});}),b.once("abort",U=>{s(U),y.destroy(U);}),y.on("error",function(z){s(ne.from(z,null,e,y));}),y.on("socket",function(z){z.setKeepAlive(!0,1e3*60);}),e.timeout){let U=parseInt(e.timeout,10);if(isNaN(U)){s(new ne("error trying to parse `config.timeout` to int",ne.ERR_BAD_OPTION_VALUE,e,y));return}y.setTimeout(U,function(){if(g)return;let ae=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",Le=e.transitional||Xi;e.timeoutErrorMessage&&(ae=e.timeoutErrorMessage),s(new ne(ae,Le.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,e,y)),_();});}if(O.isStream(o)){let U=!1,z=!1;o.on("end",()=>{U=!0;}),o.once("error",ae=>{z=!0,y.destroy(ae);}),o.on("close",()=>{!U&&!z&&_(new Ht("Request stream has been aborted",e,y));}),o.pipe(y);}else y.end(o);})};var Mv=Ie.isStandardBrowserEnv?function(){return {write:function(n,i,s,r,o,a){let u=[];u.push(n+"="+encodeURIComponent(i)),O.isNumber(s)&&u.push("expires="+new Date(s).toGMTString()),O.isString(r)&&u.push("path="+r),O.isString(o)&&u.push("domain="+o),a===!0&&u.push("secure"),document.cookie=u.join("; ");},read:function(n){let i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5);}}}():function(){return {write:function(){},read:function(){return null},remove:function(){}}}();var zv=Ie.isStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function s(r){let o=r;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=s(window.location.href),function(o){let a=O.isString(o)?s(o):o;return a.protocol===i.protocol&&a.host===i.host}}():function(){return function(){return !0}}();function Hv(t,e){let n=0,i=Qo(50,250);return s=>{let r=s.loaded,o=s.lengthComputable?s.total:void 0,a=r-n,u=i(a),f=r<=o;n=r;let c={loaded:r,total:o,progress:o?r/o:void 0,bytes:a,rate:u||void 0,estimated:u&&o&&f?(o-r)/u:void 0,event:s};c[e?"download":"upload"]=!0,t(c);}}var RI=typeof XMLHttpRequest<"u",Wv=RI&&function(t){return new Promise(function(n,i){let s=t.data,r=$e.from(t.headers).normalize(),o=t.responseType,a;function u(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a);}O.isFormData(s)&&(Ie.isStandardBrowserEnv||Ie.isStandardBrowserWebWorkerEnv?r.setContentType(!1):r.setContentType("multipart/form-data;",!1));let f=new XMLHttpRequest;if(t.auth){let h=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(h+":"+y));}let c=fi(t.baseURL,t.url);f.open(t.method.toUpperCase(),pi(c,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function d(){if(!f)return;let h=$e.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),b={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:h,config:t,request:f};Un(function(_){n(_),u();},function(_){i(_),u();},b),f=null;}if("onloadend"in f?f.onloadend=d:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(d);},f.onabort=function(){f&&(i(new ne("Request aborted",ne.ECONNABORTED,t,f)),f=null);},f.onerror=function(){i(new ne("Network Error",ne.ERR_NETWORK,t,f)),f=null;},f.ontimeout=function(){let y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",b=t.transitional||Xi;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),i(new ne(y,b.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,t,f)),f=null;},Ie.isStandardBrowserEnv){let h=(t.withCredentials||zv(c))&&t.xsrfCookieName&&Mv.read(t.xsrfCookieName);h&&r.set(t.xsrfHeaderName,h);}s===void 0&&r.setContentType(null),"setRequestHeader"in f&&O.forEach(r.toJSON(),function(y,b){f.setRequestHeader(b,y);}),O.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),o&&o!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",Hv(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Hv(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=h=>{f&&(i(!h||h.type?new Ht(null,t,f):h),f.abort(),f=null);},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));let g=cs(c);if(g&&Ie.protocols.indexOf(g)===-1){i(new ne("Unsupported protocol "+g+":",ne.ERR_BAD_REQUEST,t));return}f.send(s||null);})};var ta={http:Uv,xhr:Wv};O.forEach(ta,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e});}catch{}Object.defineProperty(t,"adapterName",{value:e});}});var Gv={getAdapter:t=>{t=O.isArray(t)?t:[t];let{length:e}=t,n,i;for(let s=0;st instanceof $e?t.toJSON():t;function wn(t,e){e=e||{};let n={};function i(f,c,d){return O.isPlainObject(f)&&O.isPlainObject(c)?O.merge.call({caseless:d},f,c):O.isPlainObject(c)?O.merge({},c):O.isArray(c)?c.slice():c}function s(f,c,d){if(O.isUndefined(c)){if(!O.isUndefined(f))return i(void 0,f,d)}else return i(f,c,d)}function r(f,c){if(!O.isUndefined(c))return i(void 0,c)}function o(f,c){if(O.isUndefined(c)){if(!O.isUndefined(f))return i(void 0,f)}else return i(void 0,c)}function a(f,c,d){if(d in e)return i(f,c);if(d in t)return i(void 0,f)}let u={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(f,c)=>s(Vv(f),Vv(c),!0)};return O.forEach(Object.keys(Object.assign({},t,e)),function(c){let d=u[c]||s,g=d(t[c],e[c],c);O.isUndefined(g)&&d!==a||(n[c]=g);}),n}var Eu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Eu[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t};});var Kv={};Eu.transitional=function(e,n,i){function s(r,o){return "[Axios v"+gi+"] Transitional option '"+r+"'"+o+(i?". "+i:"")}return (r,o,a)=>{if(e===!1)throw new ne(s(o," has been removed"+(n?" in "+n:"")),ne.ERR_DEPRECATED);return n&&!Kv[o]&&(Kv[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,o,a):!0}};function CI(t,e,n){if(typeof t!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),s=i.length;for(;s-- >0;){let r=i[s],o=e[r];if(o){let a=t[r],u=a===void 0||o(a,r,t);if(u!==!0)throw new ne("option "+r+" must be "+u,ne.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ne("Unknown option "+r,ne.ERR_BAD_OPTION)}}var ia={assertOptions:CI,validators:Eu};var Hn=ia.validators,or=class{constructor(e){this.defaults=e,this.interceptors={request:new ru,response:new ru};}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=wn(this.defaults,n);let{transitional:i,paramsSerializer:s,headers:r}=n;i!==void 0&&ia.assertOptions(i,{silentJSONParsing:Hn.transitional(Hn.boolean),forcedJSONParsing:Hn.transitional(Hn.boolean),clarifyTimeoutError:Hn.transitional(Hn.boolean)},!1),s!=null&&(O.isFunction(s)?n.paramsSerializer={serialize:s}:ia.assertOptions(s,{encode:Hn.function,serialize:Hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=r&&O.merge(r.common,r[n.method]),o&&O.forEach(["delete","get","head","post","put","patch","common"],y=>{delete r[y];}),n.headers=$e.concat(o,r);let a=[],u=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(u=u&&b.synchronous,a.unshift(b.fulfilled,b.rejected));});let f=[];this.interceptors.response.forEach(function(b){f.push(b.fulfilled,b.rejected);});let c,d=0,g;if(!u){let y=[na.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,f),g=y.length,c=Promise.resolve(n);d{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](s);i._listeners=null;}),this.promise.then=s=>{let r,o=new Promise(a=>{i.subscribe(a),r=a;}).then(s);return o.cancel=function(){i.unsubscribe(r);},o},e(function(r,o,a){i.reason||(i.reason=new Ht(r,o,a),n(i.reason));});}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e];}unsubscribe(e){if(!this._listeners)return;let n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1);}static source(){let e;return {token:new t(function(s){e=s;}),cancel:e}}},Jv=Au;function _u(t){return function(n){return t.apply(null,n)}}function Ru(t){return O.isObject(t)&&t.isAxiosError===!0}var Cu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Cu).forEach(([t,e])=>{Cu[e]=t;});var Yv=Cu;function Xv(t){let e=new us(t),n=Zr(us.prototype.request,e);return O.extend(n,us.prototype,e,{allOwnKeys:!0}),O.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return Xv(wn(t,s))},n}var Be=Xv(Qi);Be.Axios=us;Be.CanceledError=Ht;Be.CancelToken=Jv;Be.isCancel=rs;Be.VERSION=gi;Be.toFormData=Nn;Be.AxiosError=ne;Be.Cancel=Be.CanceledError;Be.all=function(e){return Promise.all(e)};Be.spread=_u;Be.isAxiosError=Ru;Be.mergeConfig=wn;Be.AxiosHeaders=$e;Be.formToJSON=t=>Wo(O.isHTMLForm(t)?new FormData(t):t);Be.HttpStatusCode=Yv;Be.default=Be;var ps=Be;var Ou=xn(tu());var Sn=class extends Error{constructor(n,i,s){super(s);this.name="ApiError",this.url=i.url,this.status=i.status,this.statusText=i.statusText,this.body=i.body,this.request=n;}};var ra=class extends Error{constructor(e){super(e),this.name="CancelError";}get isCancelled(){return !0}},an,cn,Gt,Wn,yi,fs,ar,at=class{constructor(e){ce(this,an,void 0);ce(this,cn,void 0);ce(this,Gt,void 0);ce(this,Wn,void 0);ce(this,yi,void 0);ce(this,fs,void 0);ce(this,ar,void 0);ie(this,an,!1),ie(this,cn,!1),ie(this,Gt,!1),ie(this,Wn,[]),ie(this,yi,new Promise((n,i)=>{ie(this,fs,n),ie(this,ar,i);let s=a=>{var u;w(this,an)||w(this,cn)||w(this,Gt)||(ie(this,an,!0),(u=w(this,fs))==null||u.call(this,a));},r=a=>{var u;w(this,an)||w(this,cn)||w(this,Gt)||(ie(this,cn,!0),(u=w(this,ar))==null||u.call(this,a));},o=a=>{w(this,an)||w(this,cn)||w(this,Gt)||w(this,Wn).push(a);};return Object.defineProperty(o,"isResolved",{get:()=>w(this,an)}),Object.defineProperty(o,"isRejected",{get:()=>w(this,cn)}),Object.defineProperty(o,"isCancelled",{get:()=>w(this,Gt)}),e(s,r,o)}));}get[Symbol.toStringTag](){return "Cancellable Promise"}then(e,n){return w(this,yi).then(e,n)}catch(e){return w(this,yi).catch(e)}finally(e){return w(this,yi).finally(e)}cancel(){var e;if(!(w(this,an)||w(this,cn)||w(this,Gt))){if(ie(this,Gt,!0),w(this,Wn).length)try{for(let n of w(this,Wn))n();}catch(n){console.warn("Cancellation threw an error",n);return}w(this,Wn).length=0,(e=w(this,ar))==null||e.call(this,new ra("Request aborted"));}}get isCancelled(){return w(this,Gt)}};an=new WeakMap,cn=new WeakMap,Gt=new WeakMap,Wn=new WeakMap,yi=new WeakMap,fs=new WeakMap,ar=new WeakMap;var ku=t=>t!=null,oa=t=>typeof t=="string",Tu=t=>oa(t)&&t!=="",Qv=t=>typeof t=="object"&&typeof t.type=="string"&&typeof t.stream=="function"&&typeof t.arrayBuffer=="function"&&typeof t.constructor=="function"&&typeof t.constructor.name=="string"&&/^(Blob|File)$/.test(t.constructor.name)&&/^(Blob|File)$/.test(t[Symbol.toStringTag]),TI=t=>t instanceof Ou.default,OI=t=>t>=200&&t<300,kI=t=>{try{return btoa(t)}catch{return Buffer.from(t).toString("base64")}},PI=t=>{let e=[],n=(s,r)=>{e.push(`${encodeURIComponent(s)}=${encodeURIComponent(String(r))}`);},i=(s,r)=>{ku(r)&&(Array.isArray(r)?r.forEach(o=>{i(s,o);}):typeof r=="object"?Object.entries(r).forEach(([o,a])=>{i(`${s}[${o}]`,a);}):n(s,r));};return Object.entries(t).forEach(([s,r])=>{i(s,r);}),e.length>0?`?${e.join("&")}`:""},FI=(t,e)=>{let n=t.ENCODE_PATH||encodeURI,i=e.url.replace("{api-version}",t.VERSION).replace(/{(.*?)}/g,(r,o)=>e.path?.hasOwnProperty(o)?n(String(e.path[o])):r),s=`${t.BASE}${i}`;return e.query?`${s}${PI(e.query)}`:s},II=t=>{if(t.formData){let e=new Ou.default,n=(i,s)=>{oa(s)||Qv(s)?e.append(i,s):e.append(i,JSON.stringify(s));};return Object.entries(t.formData).filter(([i,s])=>ku(s)).forEach(([i,s])=>{Array.isArray(s)?s.forEach(r=>n(i,r)):n(i,s);}),e}},sa=async(t,e)=>typeof e=="function"?e(t):e,LI=async(t,e,n)=>{let i=await sa(e,t.TOKEN),s=await sa(e,t.USERNAME),r=await sa(e,t.PASSWORD),o=await sa(e,t.HEADERS),a=typeof n?.getHeaders=="function"&&n?.getHeaders()||{},u=Object.entries({Accept:"application/json",...o,...e.headers,...a}).filter(([f,c])=>ku(c)).reduce((f,[c,d])=>({...f,[c]:String(d)}),{});if(Tu(i)&&(u.Authorization=`Bearer ${i}`),Tu(s)&&Tu(r)){let f=kI(`${s}:${r}`);u.Authorization=`Basic ${f}`;}return e.body&&(e.mediaType?u["Content-Type"]=e.mediaType:Qv(e.body)?u["Content-Type"]=e.body.type||"application/octet-stream":oa(e.body)?u["Content-Type"]="text/plain":TI(e.body)||(u["Content-Type"]="application/json")),u},qI=t=>{if(t.body)return t.body},$I=async(t,e,n,i,s,r,o)=>{let a=ps.CancelToken.source(),u={url:n,headers:r,data:i??s,method:e.method,withCredentials:t.WITH_CREDENTIALS,cancelToken:a.token};o(()=>a.cancel("The user aborted a request."));try{return await ps.request(u)}catch(f){let c=f;if(c.response)return c.response;throw f}},BI=(t,e)=>{if(e){let n=t.headers[e];if(oa(n))return n}},DI=t=>{if(t.status!==204)return t.data},jI=(t,e)=>{let i={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...t.errors}[e.status];if(i)throw new Sn(t,e,i);if(!e.ok)throw new Sn(t,e,"Generic Error")},Zv=(t,e)=>new at(async(n,i,s)=>{try{let r=FI(t,e),o=II(e),a=qI(e),u=await LI(t,e,o);if(!s.isCancelled){let f=await $I(t,e,r,a,o,u,s),c=DI(f),d=BI(f,e.responseHeader),g={url:r,ok:OI(f.status),status:f.status,statusText:f.statusText,body:d??c};jI(e,g),n(g.body);}}catch(r){i(r);}});var cr=class extends Qr{constructor(e){super(e);}request(e){return Zv(this.config,e)}};var ds=class{constructor(e){this.httpRequest=e;}completion(e){return this.httpRequest.request({method:"POST",url:"/v1/completions",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}event(e){return this.httpRequest.request({method:"POST",url:"/v1/events",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}health(){return this.httpRequest.request({method:"POST",url:"/v1/health"})}};var ms=class{constructor(e,n=cr){this.request=new n({BASE:e?.BASE??"https://playground.app.tabbyml.com",VERSION:e?.VERSION??"0.1.0",WITH_CREDENTIALS:e?.WITH_CREDENTIALS??!1,CREDENTIALS:e?.CREDENTIALS??"include",TOKEN:e?.TOKEN,USERNAME:e?.USERNAME,PASSWORD:e?.PASSWORD,HEADERS:e?.HEADERS,ENCODE_PATH:e?.ENCODE_PATH}),this.v1=new ds(this.request);}};var rb=xn(ib());function Ue(t){return t.match(/.*(?:$|\r?\n)/g).filter(Boolean)}function Fu(t){return t.match(/\w+|\W+/g).filter(Boolean)}function Me(t){return t.trim().length===0}function lr(t,e){return rb.get(t,e)}function xi(t,e){return new at((n,i,s)=>{t.then(r=>{n(r);}).catch(r=>{i(r);}),s(()=>{e();});})}function Iu(t){this.message=t;}Iu.prototype=new Error,Iu.prototype.name="InvalidCharacterError";var sb=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new Iu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,s=0,r=0,o="";i=e.charAt(r++);~i&&(n=s%4?64*n+i:i,s++%4)?o+=String.fromCharCode(255&n>>(-2*s&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return o};function zI(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw "Illegal base64url string!"}try{return function(n){return decodeURIComponent(sb(n).replace(/(.)/g,function(i,s){var r=s.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(e)}catch{return sb(e)}}function aa(t){this.message=t;}function HI(t,e){if(typeof t!="string")throw new aa("Invalid token specified");var n=(e=e||{}).header===!0?0:1;try{return JSON.parse(zI(t.split(".")[n]))}catch(i){throw new aa("Invalid token specified: "+i.message)}}aa.prototype=new Error,aa.prototype.name="InvalidTokenError";var ca=HI;var gs=class{constructor(e){this.httpRequest=e;}deviceToken(e){return this.httpRequest.request({method:"POST",url:"/device-token",body:e})}deviceTokenAccept(e){return this.httpRequest.request({method:"POST",url:"/device-token/accept",query:e})}deviceTokenRefresh(e){return this.httpRequest.request({method:"POST",url:"/device-token/refresh",headers:{Authorization:`Bearer ${e}`}})}usage(e){return this.httpRequest.request({method:"POST",url:"/usage",body:e})}};var vi=class{constructor(e,n=cr){this.request=new n({BASE:e?.BASE??"https://app.tabbyml.com/api",VERSION:e?.VERSION??"0.0.0",WITH_CREDENTIALS:e?.WITH_CREDENTIALS??!1,CREDENTIALS:e?.CREDENTIALS??"include",TOKEN:e?.TOKEN,USERNAME:e?.USERNAME,PASSWORD:e?.PASSWORD,HEADERS:e?.HEADERS,ENCODE_PATH:e?.ENCODE_PATH}),this.api=new gs(this.request);}};ys();var ba=(()=>{let t=H("path").join(H("os").homedir(),".tabby","agent","data.json"),e=Xu();return {data:{},load:async function(){this.data=await e.readJson(t,{throws:!1})||{};},save:async function(){await e.outputJson(t,this.data);}}})();_n();var Tt=class Tt extends xI.EventEmitter{constructor(n){super();this.logger=He.child({component:"Auth"});this.dataStore=null;this.refreshTokenTimer=null;this.authApi=null;this.jwt=null;this.endpoint=n.endpoint,this.dataStore=n.dataStore||ba,this.authApi=new vi,this.scheduleRefreshToken();}static async create(n){let i=new Tt(n);return await i.load(),i}get token(){return this.jwt?.token}get user(){return this.jwt?.payload.email}async load(){if(this.dataStore)try{await this.dataStore.load();let n=this.dataStore.data.auth?.[this.endpoint]?.jwt;if(typeof n=="string"&&this.jwt?.token!==n){this.logger.debug({storedJwt:n},"Load jwt from data store.");let i={token:n,payload:ca(n)};i.payload.exp*1e3-Date.now()"u")return;delete this.dataStore.data.auth[this.endpoint];}await this.dataStore.save(),this.logger.debug("Save changes to data store.");}catch(n){this.logger.error({error:n},"Error when saving auth");}}async reset(){this.jwt&&(this.jwt=null,await this.save());}requestAuthUrl(){return new at(async(n,i,s)=>{let r;s(()=>{r?.cancel();});try{if(await this.reset(),s.isCancelled)return;this.logger.debug("Start to request device token"),r=this.authApi.api.deviceToken({auth_url:this.endpoint});let o=await r;this.logger.debug({deviceToken:o},"Request device token response");let a=new URL(Tt.authPageUrl);a.searchParams.append("code",o.data.code),n({authUrl:a.toString(),code:o.data.code});}catch(o){this.logger.error({error:o},"Error when requesting token"),i(o);}})}pollingToken(n){return new at((i,s,r)=>{let o,a=setInterval(async()=>{try{o=this.authApi.api.deviceTokenAccept({code:n});let u=await o;this.logger.debug({response:u},"Poll jwt response"),this.jwt={token:u.data.jwt,payload:ca(u.data.jwt)},super.emit("updated",this.jwt),await this.save(),clearInterval(a),i(!0);}catch(u){u instanceof Sn&&[400,401,403,405].indexOf(u.status)!==-1?this.logger.debug({error:u},"Expected error when polling jwt"):this.logger.error({error:u},"Error when polling jwt");}},Tt.tokenStrategy.polling.interval);setTimeout(()=>{clearInterval(a),s(new Error("Timeout when polling token"));},Tt.tokenStrategy.polling.timeout),r(()=>{o?.cancel(),clearInterval(a);});})}async refreshToken(n,i={maxTry:1,retryDelay:1e3},s=0){try{this.logger.debug({retry:s},"Start to refresh token");let r=await this.authApi.api.deviceTokenRefresh(n.token);return this.logger.debug({refreshedJwt:r},"Refresh token response"),{token:r.data.jwt,payload:ca(r.data.jwt)}}catch(r){if(r instanceof Sn&&[400,401,403,405].indexOf(r.status)!==-1)this.logger.debug({error:r},"Error when refreshing jwt");else if(this.logger.error({error:r},"Unknown error when refreshing jwt"),ssetTimeout(o,i.retryDelay)),this.refreshToken(n,i,s+1);throw {...r,retry:s}}}scheduleRefreshToken(){this.refreshTokenTimer=setInterval(async()=>{if(!this.jwt)return null;if(this.jwt.payload.exp*1e3-Date.now(){let t=H("events"),e=Xu(),n=OE(),i=C_();class s extends t{constructor(u){super();this.data={};this.watcher=null;this.logger=(_n(),Tc(EE)).rootLogger.child({component:"ConfigFile"});this.filepath=u;}get config(){return this.data}async load(){try{let u=await e.readFile(this.filepath,"utf8");this.data=n.parse(u),super.emit("updated",this.data);}catch(u){this.logger.error({error:u},"Failed to load config file");}}watch(){this.watcher=i.watch(this.filepath,{interval:1e3}),this.watcher.on("add",this.load.bind(this)),this.watcher.on("change",this.load.bind(this));}}let r=H("path").join(H("os").homedir(),".tabby","agent","config.toml");return new s(r)})();var Ns=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,O_=new Set,Gf=typeof process=="object"&&process?process:{},k_=(t,e,n,i)=>{typeof Gf.emitWarning=="function"?Gf.emitWarning(t,e,n,i):console.error(`[${n}] ${e}: ${t}`);},cc=globalThis.AbortController,T_=globalThis.AbortSignal;if(typeof cc>"u"){T_=class{constructor(){le(this,"onabort");le(this,"_onabort",[]);le(this,"reason");le(this,"aborted",!1);}addEventListener(i,s){this._onabort.push(s);}},cc=class{constructor(){le(this,"signal",new T_);e();}abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let s of this.signal._onabort)s(i);this.signal.onabort?.(i);}}};let t=Gf.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,k_("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e));};}var KU=t=>!O_.has(t),ei=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),P_=t=>ei(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ar:null:null,Ar=class extends Array{constructor(e){super(e),this.fill(0);}},_r,ki=class ki{constructor(e,n){le(this,"heap");le(this,"length");if(!w(ki,_r))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0;}static create(e){let n=P_(e);if(!n)return [];ie(ki,_r,!0);let i=new ki(e,n);return ie(ki,_r,!1),i}push(e){this.heap[this.length++]=e;}pop(){return this.heap[--this.length]}};_r=new WeakMap,ce(ki,_r,!1);var Vf=ki,Xt,Pt,fn,Qt,Rr,De,Zt,je,Ae,fe,pt,Ft,st,Ve,en,nt,Tn,On,tn,dn,ii,bt,Ms,Kf,Pi,kn,zs,It,uc,F_,Fi,Cr,Hs,mn,ti,hn,ni,Ws,Jf,Tr,oc,Or,ac,Se,_e,Gs,Yf,Ii,Us,Xf=class Xf{constructor(e){ce(this,Ms);ce(this,uc);ce(this,mn);ce(this,hn);ce(this,Ws);ce(this,Tr);ce(this,Or);ce(this,Se);ce(this,Gs);ce(this,Ii);ce(this,Xt,void 0);ce(this,Pt,void 0);ce(this,fn,void 0);ce(this,Qt,void 0);ce(this,Rr,void 0);le(this,"ttl");le(this,"ttlResolution");le(this,"ttlAutopurge");le(this,"updateAgeOnGet");le(this,"updateAgeOnHas");le(this,"allowStale");le(this,"noDisposeOnSet");le(this,"noUpdateTTL");le(this,"maxEntrySize");le(this,"sizeCalculation");le(this,"noDeleteOnFetchRejection");le(this,"noDeleteOnStaleGet");le(this,"allowStaleOnFetchAbort");le(this,"allowStaleOnFetchRejection");le(this,"ignoreFetchAbort");ce(this,De,void 0);ce(this,Zt,void 0);ce(this,je,void 0);ce(this,Ae,void 0);ce(this,fe,void 0);ce(this,pt,void 0);ce(this,Ft,void 0);ce(this,st,void 0);ce(this,Ve,void 0);ce(this,en,void 0);ce(this,nt,void 0);ce(this,Tn,void 0);ce(this,On,void 0);ce(this,tn,void 0);ce(this,dn,void 0);ce(this,ii,void 0);ce(this,bt,void 0);ce(this,Pi,()=>{});ce(this,kn,()=>{});ce(this,zs,()=>{});ce(this,It,()=>!1);ce(this,Fi,e=>{});ce(this,Cr,(e,n,i)=>{});ce(this,Hs,(e,n,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:n=0,ttl:i,ttlResolution:s=1,ttlAutopurge:r,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:u,dispose:f,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:g,maxSize:h=0,maxEntrySize:y=0,sizeCalculation:b,fetchMethod:A,noDeleteOnFetchRejection:_,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:I,ignoreFetchAbort:q}=e;if(n!==0&&!ei(n))throw new TypeError("max option must be a nonnegative integer");let J=n?P_(n):Array;if(!J)throw new Error("invalid max value: "+n);if(ie(this,Xt,n),ie(this,Pt,h),this.maxEntrySize=y||w(this,Pt),this.sizeCalculation=b,this.sizeCalculation){if(!w(this,Pt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(A!==void 0&&typeof A!="function")throw new TypeError("fetchMethod must be a function if specified");if(ie(this,Rr,A),ie(this,ii,!!A),ie(this,je,new Map),ie(this,Ae,new Array(n).fill(void 0)),ie(this,fe,new Array(n).fill(void 0)),ie(this,pt,new J(n)),ie(this,Ft,new J(n)),ie(this,st,0),ie(this,Ve,0),ie(this,en,Vf.create(n)),ie(this,De,0),ie(this,Zt,0),typeof f=="function"&&ie(this,fn,f),typeof c=="function"?(ie(this,Qt,c),ie(this,nt,[])):(ie(this,Qt,void 0),ie(this,nt,void 0)),ie(this,dn,!!w(this,fn)),ie(this,bt,!!w(this,Qt)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!g,this.noDeleteOnFetchRejection=!!_,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!I,this.ignoreFetchAbort=!!q,this.maxEntrySize!==0){if(w(this,Pt)!==0&&!ei(w(this,Pt)))throw new TypeError("maxSize must be a positive integer if specified");if(!ei(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");oe(this,uc,F_).call(this);}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=ei(s)||s===0?s:1,this.ttlAutopurge=!!r,this.ttl=i||0,this.ttl){if(!ei(this.ttl))throw new TypeError("ttl must be a positive integer if specified");oe(this,Ms,Kf).call(this);}if(w(this,Xt)===0&&this.ttl===0&&w(this,Pt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!w(this,Xt)&&!w(this,Pt)){let W="LRU_CACHE_UNBOUNDED";KU(W)&&(O_.add(W),k_("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",W,Xf));}}static unsafeExposeInternals(e){return {starts:w(e,On),ttls:w(e,tn),sizes:w(e,Tn),keyMap:w(e,je),keyList:w(e,Ae),valList:w(e,fe),next:w(e,pt),prev:w(e,Ft),get head(){return w(e,st)},get tail(){return w(e,Ve)},free:w(e,en),isBackgroundFetch:n=>{var i;return oe(i=e,Se,_e).call(i,n)},backgroundFetch:(n,i,s,r)=>{var o;return oe(o=e,Or,ac).call(o,n,i,s,r)},moveToTail:n=>{var i;return oe(i=e,Ii,Us).call(i,n)},indexes:n=>{var i;return oe(i=e,mn,ti).call(i,n)},rindexes:n=>{var i;return oe(i=e,hn,ni).call(i,n)},isStale:n=>{var i;return w(i=e,It).call(i,n)}}}get max(){return w(this,Xt)}get maxSize(){return w(this,Pt)}get calculatedSize(){return w(this,Zt)}get size(){return w(this,De)}get fetchMethod(){return w(this,Rr)}get dispose(){return w(this,fn)}get disposeAfter(){return w(this,Qt)}getRemainingTTL(e){return w(this,je).has(e)?1/0:0}*entries(){for(let e of oe(this,mn,ti).call(this))w(this,fe)[e]!==void 0&&w(this,Ae)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield [w(this,Ae)[e],w(this,fe)[e]]);}*rentries(){for(let e of oe(this,hn,ni).call(this))w(this,fe)[e]!==void 0&&w(this,Ae)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield [w(this,Ae)[e],w(this,fe)[e]]);}*keys(){for(let e of oe(this,mn,ti).call(this)){let n=w(this,Ae)[e];n!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield n);}}*rkeys(){for(let e of oe(this,hn,ni).call(this)){let n=w(this,Ae)[e];n!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield n);}}*values(){for(let e of oe(this,mn,ti).call(this))w(this,fe)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield w(this,fe)[e]);}*rvalues(){for(let e of oe(this,hn,ni).call(this))w(this,fe)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield w(this,fe)[e]);}[Symbol.iterator](){return this.entries()}find(e,n={}){for(let i of oe(this,mn,ti).call(this)){let s=w(this,fe)[i],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;if(r!==void 0&&e(r,w(this,Ae)[i],this))return this.get(w(this,Ae)[i],n)}}forEach(e,n=this){for(let i of oe(this,mn,ti).call(this)){let s=w(this,fe)[i],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;r!==void 0&&e.call(n,r,w(this,Ae)[i],this);}}rforEach(e,n=this){for(let i of oe(this,hn,ni).call(this)){let s=w(this,fe)[i],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;r!==void 0&&e.call(n,r,w(this,Ae)[i],this);}}purgeStale(){let e=!1;for(let n of oe(this,hn,ni).call(this,{allowStale:!0}))w(this,It).call(this,n)&&(this.delete(w(this,Ae)[n]),e=!0);return e}dump(){let e=[];for(let n of oe(this,mn,ti).call(this,{allowStale:!0})){let i=w(this,Ae)[n],s=w(this,fe)[n],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;if(r===void 0||i===void 0)continue;let o={value:r};if(w(this,tn)&&w(this,On)){o.ttl=w(this,tn)[n];let a=Ns.now()-w(this,On)[n];o.start=Math.floor(Date.now()-a);}w(this,Tn)&&(o.size=w(this,Tn)[n]),e.unshift([i,o]);}return e}load(e){this.clear();for(let[n,i]of e){if(i.start){let s=Date.now()-i.start;i.start=Ns.now()-s;}this.set(n,i.value,i);}}set(e,n,i={}){var g,h;if(n===void 0)return this.delete(e),this;let{ttl:s=this.ttl,start:r,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:u}=i,{noUpdateTTL:f=this.noUpdateTTL}=i,c=w(this,Hs).call(this,e,n,i.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this.delete(e),this;let d=w(this,De)===0?void 0:w(this,je).get(e);if(d===void 0)d=w(this,De)===0?w(this,Ve):w(this,en).length!==0?w(this,en).pop():w(this,De)===w(this,Xt)?oe(this,Tr,oc).call(this,!1):w(this,De),w(this,Ae)[d]=e,w(this,fe)[d]=n,w(this,je).set(e,d),w(this,pt)[w(this,Ve)]=d,w(this,Ft)[d]=w(this,Ve),ie(this,Ve,d),ro(this,De)._++,w(this,Cr).call(this,d,c,u),u&&(u.set="add"),f=!1;else {oe(this,Ii,Us).call(this,d);let y=w(this,fe)[d];if(n!==y){if(w(this,ii)&&oe(this,Se,_e).call(this,y)?y.__abortController.abort(new Error("replaced")):o||(w(this,dn)&&((g=w(this,fn))==null||g.call(this,y,e,"set")),w(this,bt)&&w(this,nt)?.push([y,e,"set"])),w(this,Fi).call(this,d),w(this,Cr).call(this,d,c,u),w(this,fe)[d]=n,u){u.set="replace";let b=y&&oe(this,Se,_e).call(this,y)?y.__staleWhileFetching:y;b!==void 0&&(u.oldValue=b);}}else u&&(u.set="update");}if(s!==0&&!w(this,tn)&&oe(this,Ms,Kf).call(this),w(this,tn)&&(f||w(this,zs).call(this,d,s,r),u&&w(this,kn).call(this,u,d)),!o&&w(this,bt)&&w(this,nt)){let y=w(this,nt),b;for(;b=y?.shift();)(h=w(this,Qt))==null||h.call(this,...b);}return this}pop(){var e;try{for(;w(this,De);){let n=w(this,fe)[w(this,st)];if(oe(this,Tr,oc).call(this,!0),oe(this,Se,_e).call(this,n)){if(n.__staleWhileFetching)return n.__staleWhileFetching}else if(n!==void 0)return n}}finally{if(w(this,bt)&&w(this,nt)){let n=w(this,nt),i;for(;i=n?.shift();)(e=w(this,Qt))==null||e.call(this,...i);}}}has(e,n={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=n,r=w(this,je).get(e);if(r!==void 0){let o=w(this,fe)[r];if(oe(this,Se,_e).call(this,o)&&o.__staleWhileFetching===void 0)return !1;if(w(this,It).call(this,r))s&&(s.has="stale",w(this,kn).call(this,s,r));else return i&&w(this,Pi).call(this,r),s&&(s.has="hit",w(this,kn).call(this,s,r)),!0}else s&&(s.has="miss");return !1}peek(e,n={}){let{allowStale:i=this.allowStale}=n,s=w(this,je).get(e);if(s!==void 0&&(i||!w(this,It).call(this,s))){let r=w(this,fe)[s];return oe(this,Se,_e).call(this,r)?r.__staleWhileFetching:r}}async fetch(e,n={}){let{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:u=0,sizeCalculation:f=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,context:b,forceRefresh:A=!1,status:_,signal:S}=n;if(!w(this,ii))return _&&(_.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:r,status:_});let C={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:r,ttl:o,noDisposeOnSet:a,size:u,sizeCalculation:f,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:y,ignoreFetchAbort:h,status:_,signal:S},I=w(this,je).get(e);if(I===void 0){_&&(_.fetch="miss");let q=oe(this,Or,ac).call(this,e,I,C,b);return q.__returned=q}else {let q=w(this,fe)[I];if(oe(this,Se,_e).call(this,q)){let G=i&&q.__staleWhileFetching!==void 0;return _&&(_.fetch="inflight",G&&(_.returnedStale=!0)),G?q.__staleWhileFetching:q.__returned=q}let J=w(this,It).call(this,I);if(!A&&!J)return _&&(_.fetch="hit"),oe(this,Ii,Us).call(this,I),s&&w(this,Pi).call(this,I),_&&w(this,kn).call(this,_,I),q;let W=oe(this,Or,ac).call(this,e,I,C,b),$=W.__staleWhileFetching!==void 0&&i;return _&&(_.fetch=J?"stale":"refresh",$&&J&&(_.returnedStale=!0)),$?W.__staleWhileFetching:W.__returned=W}}get(e,n={}){let{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:o}=n,a=w(this,je).get(e);if(a!==void 0){let u=w(this,fe)[a],f=oe(this,Se,_e).call(this,u);return o&&w(this,kn).call(this,o,a),w(this,It).call(this,a)?(o&&(o.get="stale"),f?(o&&i&&u.__staleWhileFetching!==void 0&&(o.returnedStale=!0),i?u.__staleWhileFetching:void 0):(r||this.delete(e),o&&i&&(o.returnedStale=!0),i?u:void 0)):(o&&(o.get="hit"),f?u.__staleWhileFetching:(oe(this,Ii,Us).call(this,a),s&&w(this,Pi).call(this,a),u))}else o&&(o.get="miss");}delete(e){var i,s;let n=!1;if(w(this,De)!==0){let r=w(this,je).get(e);if(r!==void 0)if(n=!0,w(this,De)===1)this.clear();else {w(this,Fi).call(this,r);let o=w(this,fe)[r];oe(this,Se,_e).call(this,o)?o.__abortController.abort(new Error("deleted")):(w(this,dn)||w(this,bt))&&(w(this,dn)&&((i=w(this,fn))==null||i.call(this,o,e,"delete")),w(this,bt)&&w(this,nt)?.push([o,e,"delete"])),w(this,je).delete(e),w(this,Ae)[r]=void 0,w(this,fe)[r]=void 0,r===w(this,Ve)?ie(this,Ve,w(this,Ft)[r]):r===w(this,st)?ie(this,st,w(this,pt)[r]):(w(this,pt)[w(this,Ft)[r]]=w(this,pt)[r],w(this,Ft)[w(this,pt)[r]]=w(this,Ft)[r]),ro(this,De)._--,w(this,en).push(r);}}if(w(this,bt)&&w(this,nt)?.length){let r=w(this,nt),o;for(;o=r?.shift();)(s=w(this,Qt))==null||s.call(this,...o);}return n}clear(){var e,n;for(let i of oe(this,hn,ni).call(this,{allowStale:!0})){let s=w(this,fe)[i];if(oe(this,Se,_e).call(this,s))s.__abortController.abort(new Error("deleted"));else {let r=w(this,Ae)[i];w(this,dn)&&((e=w(this,fn))==null||e.call(this,s,r,"delete")),w(this,bt)&&w(this,nt)?.push([s,r,"delete"]);}}if(w(this,je).clear(),w(this,fe).fill(void 0),w(this,Ae).fill(void 0),w(this,tn)&&w(this,On)&&(w(this,tn).fill(0),w(this,On).fill(0)),w(this,Tn)&&w(this,Tn).fill(0),ie(this,st,0),ie(this,Ve,0),w(this,en).length=0,ie(this,Zt,0),ie(this,De,0),w(this,bt)&&w(this,nt)){let i=w(this,nt),s;for(;s=i?.shift();)(n=w(this,Qt))==null||n.call(this,...s);}}};Xt=new WeakMap,Pt=new WeakMap,fn=new WeakMap,Qt=new WeakMap,Rr=new WeakMap,De=new WeakMap,Zt=new WeakMap,je=new WeakMap,Ae=new WeakMap,fe=new WeakMap,pt=new WeakMap,Ft=new WeakMap,st=new WeakMap,Ve=new WeakMap,en=new WeakMap,nt=new WeakMap,Tn=new WeakMap,On=new WeakMap,tn=new WeakMap,dn=new WeakMap,ii=new WeakMap,bt=new WeakMap,Ms=new WeakSet,Kf=function(){let e=new Ar(w(this,Xt)),n=new Ar(w(this,Xt));ie(this,tn,e),ie(this,On,n),ie(this,zs,(r,o,a=Ns.now())=>{if(n[r]=o!==0?a:0,e[r]=o,o!==0&&this.ttlAutopurge){let u=setTimeout(()=>{w(this,It).call(this,r)&&this.delete(w(this,Ae)[r]);},o+1);u.unref&&u.unref();}}),ie(this,Pi,r=>{n[r]=e[r]!==0?Ns.now():0;}),ie(this,kn,(r,o)=>{if(e[o]){let a=e[o],u=n[o];r.ttl=a,r.start=u,r.now=i||s();let f=r.now-u;r.remainingTTL=a-f;}});let i=0,s=()=>{let r=Ns.now();if(this.ttlResolution>0){i=r;let o=setTimeout(()=>i=0,this.ttlResolution);o.unref&&o.unref();}return r};this.getRemainingTTL=r=>{let o=w(this,je).get(r);if(o===void 0)return 0;let a=e[o],u=n[o];if(a===0||u===0)return 1/0;let f=(i||s())-u;return a-f},ie(this,It,r=>e[r]!==0&&n[r]!==0&&(i||s())-n[r]>e[r]);},Pi=new WeakMap,kn=new WeakMap,zs=new WeakMap,It=new WeakMap,uc=new WeakSet,F_=function(){let e=new Ar(w(this,Xt));ie(this,Zt,0),ie(this,Tn,e),ie(this,Fi,n=>{ie(this,Zt,w(this,Zt)-e[n]),e[n]=0;}),ie(this,Hs,(n,i,s,r)=>{if(oe(this,Se,_e).call(this,i))return 0;if(!ei(s))if(r){if(typeof r!="function")throw new TypeError("sizeCalculation must be a function");if(s=r(i,n),!ei(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s}),ie(this,Cr,(n,i,s)=>{if(e[n]=i,w(this,Pt)){let r=w(this,Pt)-e[n];for(;w(this,Zt)>r;)oe(this,Tr,oc).call(this,!0);}ie(this,Zt,w(this,Zt)+e[n]),s&&(s.entrySize=i,s.totalCalculatedSize=w(this,Zt));});},Fi=new WeakMap,Cr=new WeakMap,Hs=new WeakMap,mn=new WeakSet,ti=function*({allowStale:e=this.allowStale}={}){if(w(this,De))for(let n=w(this,Ve);!(!oe(this,Ws,Jf).call(this,n)||((e||!w(this,It).call(this,n))&&(yield n),n===w(this,st)));)n=w(this,Ft)[n];},hn=new WeakSet,ni=function*({allowStale:e=this.allowStale}={}){if(w(this,De))for(let n=w(this,st);!(!oe(this,Ws,Jf).call(this,n)||((e||!w(this,It).call(this,n))&&(yield n),n===w(this,Ve)));)n=w(this,pt)[n];},Ws=new WeakSet,Jf=function(e){return e!==void 0&&w(this,je).get(w(this,Ae)[e])===e},Tr=new WeakSet,oc=function(e){var r;let n=w(this,st),i=w(this,Ae)[n],s=w(this,fe)[n];return w(this,ii)&&oe(this,Se,_e).call(this,s)?s.__abortController.abort(new Error("evicted")):(w(this,dn)||w(this,bt))&&(w(this,dn)&&((r=w(this,fn))==null||r.call(this,s,i,"evict")),w(this,bt)&&w(this,nt)?.push([s,i,"evict"])),w(this,Fi).call(this,n),e&&(w(this,Ae)[n]=void 0,w(this,fe)[n]=void 0,w(this,en).push(n)),w(this,De)===1?(ie(this,st,ie(this,Ve,0)),w(this,en).length=0):ie(this,st,w(this,pt)[n]),w(this,je).delete(i),ro(this,De)._--,n},Or=new WeakSet,ac=function(e,n,i,s){let r=n===void 0?void 0:w(this,fe)[n];if(oe(this,Se,_e).call(this,r))return r;let o=new cc,{signal:a}=i;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let u={signal:o.signal,options:i,context:s},f=(b,A=!1)=>{let{aborted:_}=o.signal,S=i.ignoreFetchAbort&&b!==void 0;if(i.status&&(_&&!A?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),_&&!S&&!A)return d(o.signal.reason);let C=h;return w(this,fe)[n]===h&&(b===void 0?C.__staleWhileFetching?w(this,fe)[n]=C.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,b,u.options))),b},c=b=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=b),d(b)),d=b=>{let{aborted:A}=o.signal,_=A&&i.allowStaleOnFetchAbort,S=_||i.allowStaleOnFetchRejection,C=S||i.noDeleteOnFetchRejection,I=h;if(w(this,fe)[n]===h&&(!C||I.__staleWhileFetching===void 0?this.delete(e):_||(w(this,fe)[n]=I.__staleWhileFetching)),S)return i.status&&I.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),I.__staleWhileFetching;if(I.__returned===I)throw b},g=(b,A)=>{var S;let _=(S=w(this,Rr))==null?void 0:S.call(this,e,r,u);_&&_ instanceof Promise&&_.then(C=>b(C),A),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(b(),i.allowStaleOnFetchAbort&&(b=C=>f(C,!0)));});};i.status&&(i.status.fetchDispatched=!0);let h=new Promise(g).then(f,c),y=Object.assign(h,{__abortController:o,__staleWhileFetching:r,__returned:void 0});return n===void 0?(this.set(e,y,{...u.options,status:void 0}),n=w(this,je).get(e)):w(this,fe)[n]=y,y},Se=new WeakSet,_e=function(e){if(!w(this,ii))return !1;let n=e;return !!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof cc},Gs=new WeakSet,Yf=function(e,n){w(this,Ft)[n]=e,w(this,pt)[e]=n;},Ii=new WeakSet,Us=function(e){e!==w(this,Ve)&&(e===w(this,st)?ie(this,st,w(this,pt)[e]):oe(this,Gs,Yf).call(this,w(this,Ft)[e],w(this,pt)[e]),oe(this,Gs,Yf).call(this,w(this,Ve),e),ie(this,Ve,e));};var lc=Xf;var pR=xn(D_()),fR=xn(uR());_n();var mc=class{constructor(){this.logger=He.child({component:"CompletionCache"});this.options={maxSize:1*1024*1024,partiallyAcceptedCacheGeneration:{enabled:!0,perCharacter:{lines:1,words:10,max:30},perWord:{lines:1,max:20},perLine:{max:3}}};this.cache=new lc({maxSize:this.options.maxSize,sizeCalculation:fR.default});}has(e){return this.cache.has(this.hash(e))}set(e,n){for(let i of this.createCacheEntries(e,n))this.logger.debug({entry:i},"Setting cache entry"),this.cache.set(this.hash(i.key),i.value);this.logger.debug({size:this.cache.calculatedSize},"Cache size");}get(e){return this.cache.get(this.hash(e))}hash(e){return (0, pR.default)(e)}createCacheEntries(e,n){let i=[{key:e,value:n}];if(this.options.partiallyAcceptedCacheGeneration.enabled){let s=n.choices.map(r=>this.calculatePartiallyAcceptedPositions(r.text).map(o=>({prefix:r.text.slice(0,o),suffix:r.text.slice(o),choiceIndex:r.index}))).flat().reduce((r,o)=>(r[o.prefix]=r[o.prefix]||[],r[o.prefix].push({suffix:o.suffix,choiceIndex:o.choiceIndex}),r),{});for(let r in s){let o={...e,text:e.text.slice(0,e.position)+r+e.text.slice(e.position),position:e.position+r.length},a={...n,choices:s[r].map(u=>({index:u.choiceIndex,text:u.suffix}))};i.push({key:o,value:a});}}return i}calculatePartiallyAcceptedPositions(e){let n=[],i=this.options.partiallyAcceptedCacheGeneration,s=Ue(e),r=0,o=0;for(;rd.indexOf(f)===c).sort((f,c)=>f-c)}};_n();var Ut=He.child({component:"Postprocess"});function ud(t){let e=t.text.slice(0,t.position),n=t.text.slice(t.position),i=Ue(e),s=Ue(n);return {request:t,prefix:e,suffix:n,prefixLines:i,suffixLines:s}}Array.prototype.distinct||(Array.prototype.distinct=function(t){return [...new Map(this.map(e=>[t?.(e)??e,e])).values()]});function Fn(t){return async e=>(e.choices=(await Promise.all(e.choices.map(async n=>(n.text=await t(n.text),n)))).filter(n=>!!n.text).distinct(n=>n.text),e)}function IM(t){return /\n(\s*)\n/g}var dR=t=>e=>{let n=e.split(IM()),i=0,s=2,r=n.length-2;for(;r>=1;){if(Me(n[r])){r--;continue}let o=r-1;for(;o>=0&&Me(n[o]);)o--;if(o<0)break;let a=n[r].trim(),u=n[o].trim(),f=Math.max(3,.1*a.length,.1*u.length);if(lr(a,u)<=f)i++,r--;else break}return i>=s?(Ut.debug({inputBlocks:n,repetitionCount:i},"Remove repetitive blocks."),n.slice(0,r+1).join("").trimEnd()):e};var mR=()=>t=>{let e=Ue(t),n=0,i=5,s=e.length-2;for(;s>=1;){if(Me(e[s])){s--;continue}let r=s-1;for(;r>=0&&Me(e[r]);)r--;if(r<0)break;let o=e[s].trim(),a=e[r].trim(),u=Math.max(3,.1*o.length,.1*a.length);if(lr(o,a)<=u)n++,s=r;else break}return n>=i?(Ut.debug({inputLines:e,repetitionCount:n},"Remove repetitive lines."),e.slice(0,s+1).join("").trimEnd()):t};var LM=[/(.{3,}?)\1{5,}$/g,/(.{10,}?)\1{3,}$/g],hR=()=>t=>{let e=Ue(t),n=e.length-1;for(;n>=0&&Me(e[n]);)n--;if(n<0)return t;for(let i of LM){let s=e[n].match(i);if(s)return Ut.debug({inputLines:e,lineNumber:n,match:s},"Remove line ends with repetition."),n<1?null:e.slice(0,n).join("").trimEnd()}return t};function Ys(t){return t.match(/^[ \t]*/)?.[0]?.length||0}function qM(t,e){let n=1;for(;n=e.length?!0:Ys(e[n])=t.length-1?!1:Ys(t[e])e=>{let{prefix:n,suffix:i,prefixLines:s,suffixLines:r}=t,o=Ue(e),a=Ys(s[s.length-1]),u;for(u=1;ue=>{let n=t.request,i=n.text.slice(n.position);for(let s=Math.max(0,e.length-i.length);se=>{let{suffixLines:n}=t,i=Ue(e),s=0;for(;st=>Me(t)?null:t;async function vR(t,e){let n=ud(t);return Promise.resolve(e).then(Fn(hR())).then(Fn(yR(n))).then(Fn(xR(n))).then(Fn(pd()))}async function bR(t,e){let n=ud(t);return Promise.resolve(e).then(Fn(dR())).then(Fn(mR())).then(Fn(gR(n))).then(Fn(pd()))}_n();var SR="tabby-agent",ER="0.0.1";ys();_n();var hc=class t{constructor(){this.anonymousUsageTrackingApi=new vi;this.logger=He.child({component:"AnonymousUsage"});this.systemData={agent:`${SR}, ${ER}`,browser:void 0,node:`${process.version} ${process.platform} ${H("os").arch()} ${H("os").release()}`};this.properties={};this.emittedUniqueEvent=[];this.dataStore=null;}static async create(e){let n=new t;return n.dataStore=e.dataStore||ba,await n.checkAnonymousId(),n}async checkAnonymousId(){if(this.dataStore){try{await this.dataStore.load();}catch(e){this.logger.debug({error:e},"Error when loading anonymousId");}if(typeof this.dataStore.data.anonymousId=="string")this.anonymousId=this.dataStore.data.anonymousId;else {this.anonymousId=ai(),this.dataStore.data.anonymousId=this.anonymousId;try{await this.dataStore.save();}catch(e){this.logger.debug({error:e},"Error when saving anonymousId");}}}else this.anonymousId=ai();}addProperties(e){this.properties={...this.properties,...e};}async uniqueEvent(e,n={}){await this.event(e,n,!0);}async event(e,n={},i=!1){this.disabled||i&&this.emittedUniqueEvent.indexOf(e)>=0||await this.anonymousUsageTrackingApi.api.usage({distinctId:this.anonymousId,event:e,properties:{...this.systemData,...this.properties,...n}}).then(()=>{i&&this.emittedUniqueEvent.push(e);}).catch(s=>{this.logger.error({error:s},"Error when sending anonymous usage data");});}};_n();var AR={maxSize:50,stats:{total:t=>t.length,responses:t=>t.filter(e=>e.status===200).length,timeouts:t=>t.filter(e=>e.error?.isTimeoutError).length,averageResponseTime:t=>t.filter(e=>e.status===200).reduce((e,n)=>e+n.responseTime,0)/t.length},checks:[{name:"healthy",check:(t,e)=>t.slice(-5).every(i=>i.status===200&&i.responseTime<3e3)},{name:"highTimeoutRate",check:(t,e)=>e.total<3?!1:e.timeouts/e.total>.5},{name:"slowResponseTime",check:(t,e)=>e.responses<5?!1:e.averageResponseTime>4e3}]},gc=class extends xI.EventEmitter{constructor(n){super();this.logger=He.child({component:"ResponseStats"});this.strategy={maxSize:0,stats:{},checks:[]};this.entries=[];this.strategy=n;}push(n){this.entries.push(n),this.entries.length>this.strategy.maxSize&&this.entries.shift();let i=this.stats();for(let s of this.strategy.checks)s.check(this.entries,i)&&(this.logger.debug({check:s.name,stats:i},"Check condition met"),this.emit(s.name,i));}stats(){let n={};for(let[i,s]of Object.entries(this.strategy.stats))n[i]=s(this.entries);return n}check(){let n=this.stats();for(let i of this.strategy.checks)if(i.check(this.entries,n))return i.name;return null}};var Xs=class Xs extends xI.EventEmitter{constructor(){super();this.logger=He.child({component:"TabbyAgent"});this.config=Wf;this.userConfig={};this.clientConfig={};this.status="notInitialized";this.issues=[];this.serverHealthState=null;this.dataStore=null;this.completionCache=new mc;this.tryingConnectTimer=null;this.completionResponseStats=new gc(AR);this.tryingConnectTimer=setInterval(async()=>{this.status==="disconnected"&&(this.logger.debug("Trying to connect..."),await this.healthCheck());},Xs.tryConnectInterval),this.completionResponseStats.on("healthy",()=>{this.popIssue("slowCompletionResponseTime"),this.popIssue("highCompletionTimeoutRate");}),this.completionResponseStats.on("highTimeoutRate",()=>{(this.status==="ready"||this.status==="issuesExist")&&(this.popIssue("slowCompletionResponseTime"),this.pushIssue("highCompletionTimeoutRate"));}),this.completionResponseStats.on("slowResponseTime",()=>{(this.status==="ready"||this.status==="issuesExist")&&(this.popIssue("highCompletionTimeoutRate"),this.pushIssue("slowCompletionResponseTime"));});}static async create(n){let i=new Xs;return i.dataStore=n?.dataStore,i.anonymousUsageLogger=await hc.create({dataStore:n?.dataStore}),i}async applyConfig(){this.config=Qy(Wf,this.userConfig,this.clientConfig),Ts.forEach(n=>n.level=this.config.logs.level),this.anonymousUsageLogger.disabled=this.config.anonymousUsageTracking.disable,this.config.server.requestHeaders.Authorization===void 0?this.config.server.endpoint!==this.auth?.endpoint&&(this.auth=await Na.create({endpoint:this.config.server.endpoint,dataStore:this.dataStore}),this.auth.on("updated",this.setupApi.bind(this))):this.auth=null,await this.setupApi();}async setupApi(){this.api=new ms({BASE:this.config.server.endpoint.replace(/\/+$/,""),TOKEN:this.auth?.token,HEADERS:this.config.server.requestHeaders}),await this.healthCheck();}changeStatus(n){if(this.status!=n){this.status=n;let i={event:"statusChanged",status:n};this.logger.debug({event:i},"Status changed"),super.emit("statusChanged",i),this.status==="unauthorized"&&this.emitAuthRequired(),this.status=="ready"&&this.anonymousUsageLogger.uniqueEvent("AgentConnected");}}issueWithDetails(n){switch(n){case"highCompletionTimeoutRate":return {name:"highCompletionTimeoutRate",completionResponseStats:this.completionResponseStats.stats()};case"slowCompletionResponseTime":return {name:"slowCompletionResponseTime",completionResponseStats:this.completionResponseStats.stats()}}}pushIssue(n){if(this.issues.indexOf(n)===-1){this.issues.push(n),this.changeStatus("issuesExist");let i={event:"newIssue",issue:this.issueWithDetails(n)};this.logger.debug({event:i},"New issue"),super.emit("newIssue",i);}}popIssue(n){this.issues=this.issues.filter(i=>i!==n),this.issues.length===0&&this.status==="issuesExist"&&this.changeStatus("ready");}emitAuthRequired(){let n={event:"authRequired",server:this.config.server};super.emit("authRequired",n);}callApi(n,i,s={timeout:this.config.server.requestTimeout}){return new at((r,o,a)=>{let u=ai();this.logger.debug({requestId:u,api:n.name,request:i},"API request");let f=null,c=!1,d=n.call(this.api.v1,i),g=performance.now();d.then(h=>{this.logger.debug({requestId:u,api:n.name,response:h},"API response"),this.status!=="issuesExist"&&this.changeStatus("ready"),n.name==="completion"&&this.completionResponseStats.push({name:n.name,status:200,responseTime:performance.now()-g}),f&&clearTimeout(f),r(h);}).catch(h=>{h.isCancelled&&c||!h.isCancelled&&h.code==="ECONNABORTED"||h.name==="ApiError"&&[408,499].indexOf(h.status)!==-1?(h.isTimeoutError=!0,this.logger.debug({requestId:u,api:n.name,error:h},"API request timeout")):h.isCancelled?this.logger.debug({requestId:u,api:n.name,error:h},"API request cancelled"):h.name==="ApiError"&&[401,403,405].indexOf(h.status)!==-1&&new URL(this.config.server.endpoint).hostname.endsWith("app.tabbyml.com")&&this.config.server.requestHeaders.Authorization===void 0?(this.logger.debug({requestId:u,api:n.name,error:h},"API unauthorized"),this.changeStatus("unauthorized")):h.name==="ApiError"?(this.logger.error({requestId:u,api:n.name,error:h},"API error"),this.changeStatus("disconnected")):(this.logger.error({requestId:u,api:n.name,error:h},"API request failed with unknown error"),this.changeStatus("disconnected")),n.name==="completion"&&(h.isTimeoutError||!h.isCancelled)&&this.completionResponseStats.push({name:n.name,status:h.status,responseTime:performance.now()-g,error:h}),f&&clearTimeout(f),o(h);}),s.timeout&&s.timeout>0&&(f=setTimeout(()=>{this.logger.debug({api:n.name,timeout:s.timeout},"Cancel API request due to timeout"),c=!0,d.cancel();},Math.min(s.timeout,2147483647))),a(()=>{f&&clearTimeout(f),d.cancel();});})}healthCheck(){return this.callApi(this.api.v1.health,{}).then(n=>{this.serverHealthState=n;}).catch(()=>{})}createSegments(n){let i=n.maxPrefixLines??this.config.completion.maxPrefixLines,s=n.maxSuffixLines??this.config.completion.maxSuffixLines,r=n.text.slice(0,n.position),o=Ue(r),a=n.text.slice(n.position),u=Ue(a);return {prefix:o.slice(Math.max(o.length-i,0)).join(""),suffix:u.slice(0,s).join("")}}async initialize(n){return n.client&&(Ts.forEach(i=>i.setBindings?.({client:n.client})),this.anonymousUsageLogger.addProperties({client:n.client})),Er&&(await Er.load(),this.userConfig=Er.config,Er.on("updated",async i=>{this.userConfig=i,await this.applyConfig();}),Er.watch()),n.config&&(this.clientConfig=n.config),await this.applyConfig(),await this.anonymousUsageLogger.uniqueEvent("AgentInitialized"),this.logger.debug({options:n},"Initialized"),this.status!=="notInitialized"}async updateConfig(n,i){let s=nx(this.clientConfig,n);if(!(0, _R.default)(s,i)){i===void 0?rx(this.clientConfig,n):ix(this.clientConfig,n,i);let r=this.status;await this.applyConfig(),n.startsWith("server")&&(this.serverHealthState=null),n.startsWith("server")&&r==="unauthorized"&&this.status==="unauthorized"&&this.emitAuthRequired();let o={event:"configUpdated",config:this.config};this.logger.debug({event:o},"Config updated"),super.emit("configUpdated",o);}return !0}async clearConfig(n){return await this.updateConfig(n,void 0)}getConfig(){return this.config}getStatus(){return this.status}getIssues(){return this.issues.map(n=>this.issueWithDetails(n))}getServerHealthState(){return this.serverHealthState}requestAuthUrl(){return this.status==="notInitialized"?xi(Promise.reject("Agent is not initialized"),()=>{}):new at(async(n,i,s)=>{let r;s(()=>{r?.cancel();}),await this.healthCheck(),!s.isCancelled&&(this.status==="unauthorized"&&(r=this.auth.requestAuthUrl(),n(r)),n(null));})}waitForAuthToken(n){if(this.status==="notInitialized")return xi(Promise.reject("Agent is not initialized"),()=>{});let i=this.auth.pollingToken(n);return xi(i.then(()=>this.setupApi()),()=>{i.cancel();})}getCompletions(n){if(this.status==="notInitialized")return xi(Promise.reject("Agent is not initialized"),()=>{});let i=[];return xi(Promise.resolve(null).then(s=>{if(s)return s;if(this.completionCache.has(n))return this.logger.debug({request:n},"Completion cache hit"),this.completionCache.get(n)}).then(s=>{if(s)return s;let r=this.createSegments(n);if(Me(r.prefix))return this.logger.debug("Segment prefix is blank, returning empty completion response"),{id:"agent-"+ai(),choices:[]};let o=this.callApi(this.api.v1.completion,{language:n.language,segments:r,user:this.auth?.user},{timeout:n.manually?this.config.completion.timeout.manually:this.config.completion.timeout.auto});return i.push(o),o.then(a=>vR(n,a)).then(a=>(this.completionCache.set(n,a),a))}).then(s=>bR(n,s)),()=>{i.forEach(s=>s.cancel());})}postEvent(n){return this.status==="notInitialized"?xi(Promise.reject("Agent is not initialized"),()=>{}):this.callApi(this.api.v1.event,n)}};Xs.tryConnectInterval=1e3*30;var yc=Xs;var RR=["statusChanged","configUpdated","authRequired","newIssue"];_n();var xc=class{constructor(){this.inStream=process.stdin;this.outStream=process.stdout;this.logger=He.child({component:"StdIO"});this.buffer="";this.ongoingRequests={};this.agent=null;}handleInput(e){let n=e.toString();this.buffer+=n;let i=Ue(this.buffer);if(!(i.length<1)){i[i.length-1].endsWith(` +`)},_domwindow:function(){return i("domwindow")},_bigint:function(s){return i("bigint:"+s.toString())},_process:function(){return i("process")},_timer:function(){return i("timer")},_pipe:function(){return i("pipe")},_tcp:function(){return i("tcp")},_udp:function(){return i("udp")},_tty:function(){return i("tty")},_statwatcher:function(){return i("statwatcher")},_securecontext:function(){return i("securecontext")},_connection:function(){return i("connection")},_zlib:function(){return i("zlib")},_context:function(){return i("context")},_nodescript:function(){return i("nodescript")},_httpparser:function(){return i("httpparser")},_dataview:function(){return i("dataview")},_signal:function(){return i("signal")},_fsevent:function(){return i("fsevent")},_tlswrap:function(){return i("tlswrap")}}}function B_(){return {buf:"",write:function(t){this.buf+=t;},end:function(t){this.buf+=t;},read:function(){return this.buf}}}});var M_=R((m5,U_)=>{U_.exports={STRING:2,BOOLEAN:4,BYTES:4,NUMBER:8,Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};});var W_=R(pc=>{pc.byteLength=ZU;pc.toByteArray=tM;pc.fromByteArray=rM;var yn=[],Ut=[],QU=typeof Uint8Array<"u"?Uint8Array:Array,td="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($i=0,z_=td.length;$i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var i=n===e?0:4-n%4;return [n,i]}function ZU(t){var e=H_(t),n=e[0],i=e[1];return (n+i)*3/4-i}function eM(t,e,n){return (e+n)*3/4-n}function tM(t){var e,n=H_(t),i=n[0],s=n[1],r=new QU(eM(t,i,s)),o=0,a=s>0?i-4:i,u;for(u=0;u>16&255,r[o++]=e>>8&255,r[o++]=e&255;return s===2&&(e=Ut[t.charCodeAt(u)]<<2|Ut[t.charCodeAt(u+1)]>>4,r[o++]=e&255),s===1&&(e=Ut[t.charCodeAt(u)]<<10|Ut[t.charCodeAt(u+1)]<<4|Ut[t.charCodeAt(u+2)]>>2,r[o++]=e>>8&255,r[o++]=e&255),r}function nM(t){return yn[t>>18&63]+yn[t>>12&63]+yn[t>>6&63]+yn[t&63]}function iM(t,e,n){for(var i,s=[],r=e;ra?a:o+r));return i===1?(e=t[n-1],s.push(yn[e>>2]+yn[e<<4&63]+"==")):i===2&&(e=(t[n-2]<<8)+t[n-1],s.push(yn[e>>10]+yn[e>>4&63]+yn[e<<2&63]+"=")),s.join("")}});var G_=R(nd=>{nd.read=function(t,e,n,i,s){var r,o,a=s*8-i-1,u=(1<>1,c=-7,d=n?s-1:0,g=n?-1:1,h=t[e+d];for(d+=g,r=h&(1<<-c)-1,h>>=-c,c+=a;c>0;r=r*256+t[e+d],d+=g,c-=8);for(o=r&(1<<-c)-1,r>>=-c,c+=i;c>0;o=o*256+t[e+d],d+=g,c-=8);if(r===0)r=1-f;else {if(r===u)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,i),r=r-f;}return (h?-1:1)*o*Math.pow(2,r-i)};nd.write=function(t,e,n,i,s,r){var o,a,u,f=r*8-s-1,c=(1<>1,g=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=i?0:r-1,y=i?1:-1,b=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+d>=1?e+=g/u:e+=g*Math.pow(2,1-d),e*u>=2&&(o++,u/=2),o+d>=c?(a=0,o=c):o+d>=1?(a=(e*u-1)*Math.pow(2,s),o=o+d):(a=e*Math.pow(2,d-1)*Math.pow(2,s),o=0));s>=8;t[n+h]=a&255,h+=y,a/=256,s-=8);for(o=o<0;t[n+h]=o&255,h+=y,o/=256,f-=8);t[n+h-y]|=b*128;};});var lR=R(qr=>{var id=W_(),Fr=G_(),V_=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;qr.Buffer=L;qr.SlowBuffer=uM;qr.INSPECT_MAX_BYTES=50;var fc=2147483647;qr.kMaxLength=fc;L.TYPED_ARRAY_SUPPORT=sM();!L.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 sM(){try{let t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch{return !1}}Object.defineProperty(L.prototype,"parent",{enumerable:!0,get:function(){if(L.isBuffer(this))return this.buffer}});Object.defineProperty(L.prototype,"offset",{enumerable:!0,get:function(){if(L.isBuffer(this))return this.byteOffset}});function Pn(t){if(t>fc)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,L.prototype),e}function L(t,e,n){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return ad(t)}return X_(t,e,n)}L.poolSize=8192;function X_(t,e,n){if(typeof t=="string")return aM(t,e);if(ArrayBuffer.isView(t))return cM(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(xn(t,ArrayBuffer)||t&&xn(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(xn(t,SharedArrayBuffer)||t&&xn(t.buffer,SharedArrayBuffer)))return sd(t,e,n);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let i=t.valueOf&&t.valueOf();if(i!=null&&i!==t)return L.from(i,e,n);let s=lM(t);if(s)return s;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return L.from(t[Symbol.toPrimitive]("string"),e,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}L.from=function(t,e,n){return X_(t,e,n)};Object.setPrototypeOf(L.prototype,Uint8Array.prototype);Object.setPrototypeOf(L,Uint8Array);function Q_(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function oM(t,e,n){return Q_(t),t<=0?Pn(t):e!==void 0?typeof n=="string"?Pn(t).fill(e,n):Pn(t).fill(e):Pn(t)}L.alloc=function(t,e,n){return oM(t,e,n)};function ad(t){return Q_(t),Pn(t<0?0:cd(t)|0)}L.allocUnsafe=function(t){return ad(t)};L.allocUnsafeSlow=function(t){return ad(t)};function aM(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!L.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let n=Z_(t,e)|0,i=Pn(n),s=i.write(t,e);return s!==n&&(i=i.slice(0,s)),i}function rd(t){let e=t.length<0?0:cd(t.length)|0,n=Pn(e);for(let i=0;i=fc)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+fc.toString(16)+" bytes");return t|0}function uM(t){return +t!=t&&(t=0),L.alloc(+t)}L.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==L.prototype};L.compare=function(e,n){if(xn(e,Uint8Array)&&(e=L.from(e,e.offset,e.byteLength)),xn(n,Uint8Array)&&(n=L.from(n,n.offset,n.byteLength)),!L.isBuffer(e)||!L.isBuffer(n))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===n)return 0;let i=e.length,s=n.length;for(let r=0,o=Math.min(i,s);rs.length?(L.isBuffer(o)||(o=L.from(o)),o.copy(s,r)):Uint8Array.prototype.set.call(s,o,r);else if(L.isBuffer(o))o.copy(s,r);else throw new TypeError('"list" argument must be an Array of Buffers');r+=o.length;}return s};function Z_(t,e){if(L.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||xn(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);let n=t.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&n===0)return 0;let s=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return od(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return cR(t).length;default:if(s)return i?-1:od(t).length;e=(""+e).toLowerCase(),s=!0;}}L.byteLength=Z_;function pM(t,e,n){let i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,e>>>=0,n<=e))return "";for(t||(t="utf8");;)switch(t){case"hex":return wM(this,e,n);case"utf8":case"utf-8":return tR(this,e,n);case"ascii":return vM(this,e,n);case"latin1":case"binary":return bM(this,e,n);case"base64":return yM(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return SM(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0;}}L.prototype._isBuffer=!0;function Di(t,e,n){let i=t[e];t[e]=t[n],t[n]=i;}L.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let n=0;nn&&(e+=" ... "),""};V_&&(L.prototype[V_]=L.prototype.inspect);L.prototype.compare=function(e,n,i,s,r){if(xn(e,Uint8Array)&&(e=L.from(e,e.offset,e.byteLength)),!L.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(n===void 0&&(n=0),i===void 0&&(i=e?e.length:0),s===void 0&&(s=0),r===void 0&&(r=this.length),n<0||i>e.length||s<0||r>this.length)throw new RangeError("out of range index");if(s>=r&&n>=i)return 0;if(s>=r)return -1;if(n>=i)return 1;if(n>>>=0,i>>>=0,s>>>=0,r>>>=0,this===e)return 0;let o=r-s,a=i-n,u=Math.min(o,a),f=this.slice(s,r),c=e.slice(n,i);for(let d=0;d2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,ud(n)&&(n=s?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(s)return -1;n=t.length-1;}else if(n<0)if(s)n=0;else return -1;if(typeof e=="string"&&(e=L.from(e,i)),L.isBuffer(e))return e.length===0?-1:K_(t,e,n,i,s);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?s?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):K_(t,[e],n,i,s);throw new TypeError("val must be string, number or Buffer")}function K_(t,e,n,i,s){let r=1,o=t.length,a=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return -1;r=2,o/=2,a/=2,n/=2;}function u(c,d){return r===1?c[d]:c.readUInt16BE(d*r)}let f;if(s){let c=-1;for(f=n;fo&&(n=o-a),f=n;f>=0;f--){let c=!0;for(let d=0;ds&&(i=s)):i=s;let r=e.length;i>r/2&&(i=r/2);let o;for(o=0;o>>0,isFinite(i)?(i=i>>>0,s===void 0&&(s="utf8")):(s=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let r=this.length-n;if((i===void 0||i>r)&&(i=r),e.length>0&&(i<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");let o=!1;for(;;)switch(s){case"hex":return fM(this,e,n,i);case"utf8":case"utf-8":return dM(this,e,n,i);case"ascii":case"latin1":case"binary":return mM(this,e,n,i);case"base64":return hM(this,e,n,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gM(this,e,n,i);default:if(o)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),o=!0;}};L.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function yM(t,e,n){return e===0&&n===t.length?id.fromByteArray(t):id.fromByteArray(t.slice(e,n))}function tR(t,e,n){n=Math.min(t.length,n);let i=[],s=e;for(;s239?4:r>223?3:r>191?2:1;if(s+a<=n){let u,f,c,d;switch(a){case 1:r<128&&(o=r);break;case 2:u=t[s+1],(u&192)===128&&(d=(r&31)<<6|u&63,d>127&&(o=d));break;case 3:u=t[s+1],f=t[s+2],(u&192)===128&&(f&192)===128&&(d=(r&15)<<12|(u&63)<<6|f&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:u=t[s+1],f=t[s+2],c=t[s+3],(u&192)===128&&(f&192)===128&&(c&192)===128&&(d=(r&15)<<18|(u&63)<<12|(f&63)<<6|c&63,d>65535&&d<1114112&&(o=d));}}o===null?(o=65533,a=1):o>65535&&(o-=65536,i.push(o>>>10&1023|55296),o=56320|o&1023),i.push(o),s+=a;}return xM(i)}var J_=4096;function xM(t){let e=t.length;if(e<=J_)return String.fromCharCode.apply(String,t);let n="",i=0;for(;ii)&&(n=i);let s="";for(let r=e;ri&&(e=i),n<0?(n+=i,n<0&&(n=0)):n>i&&(n=i),nn)throw new RangeError("Trying to access beyond buffer length")}L.prototype.readUintLE=L.prototype.readUIntLE=function(e,n,i){e=e>>>0,n=n>>>0,i||Ke(e,n,this.length);let s=this[e],r=1,o=0;for(;++o>>0,n=n>>>0,i||Ke(e,n,this.length);let s=this[e+--n],r=1;for(;n>0&&(r*=256);)s+=this[e+--n]*r;return s};L.prototype.readUint8=L.prototype.readUInt8=function(e,n){return e=e>>>0,n||Ke(e,1,this.length),this[e]};L.prototype.readUint16LE=L.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||Ke(e,2,this.length),this[e]|this[e+1]<<8};L.prototype.readUint16BE=L.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||Ke(e,2,this.length),this[e]<<8|this[e+1]};L.prototype.readUint32LE=L.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};L.prototype.readUint32BE=L.prototype.readUInt32BE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};L.prototype.readBigUInt64LE=ri(function(e){e=e>>>0,Lr(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Js(e,this.length-8);let s=n+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,r=this[++e]+this[++e]*2**8+this[++e]*2**16+i*2**24;return BigInt(s)+(BigInt(r)<>>0,Lr(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Js(e,this.length-8);let s=n*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],r=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+i;return (BigInt(s)<>>0,n=n>>>0,i||Ke(e,n,this.length);let s=this[e],r=1,o=0;for(;++o=r&&(s-=Math.pow(2,8*n)),s};L.prototype.readIntBE=function(e,n,i){e=e>>>0,n=n>>>0,i||Ke(e,n,this.length);let s=n,r=1,o=this[e+--s];for(;s>0&&(r*=256);)o+=this[e+--s]*r;return r*=128,o>=r&&(o-=Math.pow(2,8*n)),o};L.prototype.readInt8=function(e,n){return e=e>>>0,n||Ke(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};L.prototype.readInt16LE=function(e,n){e=e>>>0,n||Ke(e,2,this.length);let i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};L.prototype.readInt16BE=function(e,n){e=e>>>0,n||Ke(e,2,this.length);let i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};L.prototype.readInt32LE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};L.prototype.readInt32BE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};L.prototype.readBigInt64LE=ri(function(e){e=e>>>0,Lr(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Js(e,this.length-8);let s=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(i<<24);return (BigInt(s)<>>0,Lr(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&Js(e,this.length-8);let s=(n<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return (BigInt(s)<>>0,n||Ke(e,4,this.length),Fr.read(this,e,!0,23,4)};L.prototype.readFloatBE=function(e,n){return e=e>>>0,n||Ke(e,4,this.length),Fr.read(this,e,!1,23,4)};L.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||Ke(e,8,this.length),Fr.read(this,e,!0,52,8)};L.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||Ke(e,8,this.length),Fr.read(this,e,!1,52,8)};function wt(t,e,n,i,s,r){if(!L.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>s||et.length)throw new RangeError("Index out of range")}L.prototype.writeUintLE=L.prototype.writeUIntLE=function(e,n,i,s){if(e=+e,n=n>>>0,i=i>>>0,!s){let a=Math.pow(2,8*i)-1;wt(this,e,n,i,a,0);}let r=1,o=0;for(this[n]=e&255;++o>>0,i=i>>>0,!s){let a=Math.pow(2,8*i)-1;wt(this,e,n,i,a,0);}let r=i-1,o=1;for(this[n+r]=e&255;--r>=0&&(o*=256);)this[n+r]=e/o&255;return n+i};L.prototype.writeUint8=L.prototype.writeUInt8=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,1,255,0),this[n]=e&255,n+1};L.prototype.writeUint16LE=L.prototype.writeUInt16LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,65535,0),this[n]=e&255,this[n+1]=e>>>8,n+2};L.prototype.writeUint16BE=L.prototype.writeUInt16BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=e&255,n+2};L.prototype.writeUint32LE=L.prototype.writeUInt32LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,4294967295,0),this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=e&255,n+4};L.prototype.writeUint32BE=L.prototype.writeUInt32BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,4294967295,0),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};function nR(t,e,n,i,s){aR(e,i,s,t,n,7);let r=Number(e&BigInt(4294967295));t[n++]=r,r=r>>8,t[n++]=r,r=r>>8,t[n++]=r,r=r>>8,t[n++]=r;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=o,o=o>>8,t[n++]=o,o=o>>8,t[n++]=o,o=o>>8,t[n++]=o,n}function iR(t,e,n,i,s){aR(e,i,s,t,n,7);let r=Number(e&BigInt(4294967295));t[n+7]=r,r=r>>8,t[n+6]=r,r=r>>8,t[n+5]=r,r=r>>8,t[n+4]=r;let o=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=o,o=o>>8,t[n+2]=o,o=o>>8,t[n+1]=o,o=o>>8,t[n]=o,n+8}L.prototype.writeBigUInt64LE=ri(function(e,n=0){return nR(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))});L.prototype.writeBigUInt64BE=ri(function(e,n=0){return iR(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))});L.prototype.writeIntLE=function(e,n,i,s){if(e=+e,n=n>>>0,!s){let u=Math.pow(2,8*i-1);wt(this,e,n,i,u-1,-u);}let r=0,o=1,a=0;for(this[n]=e&255;++r>0)-a&255;return n+i};L.prototype.writeIntBE=function(e,n,i,s){if(e=+e,n=n>>>0,!s){let u=Math.pow(2,8*i-1);wt(this,e,n,i,u-1,-u);}let r=i-1,o=1,a=0;for(this[n+r]=e&255;--r>=0&&(o*=256);)e<0&&a===0&&this[n+r+1]!==0&&(a=1),this[n+r]=(e/o>>0)-a&255;return n+i};L.prototype.writeInt8=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=e&255,n+1};L.prototype.writeInt16LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,32767,-32768),this[n]=e&255,this[n+1]=e>>>8,n+2};L.prototype.writeInt16BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=e&255,n+2};L.prototype.writeInt32LE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,2147483647,-2147483648),this[n]=e&255,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24,n+4};L.prototype.writeInt32BE=function(e,n,i){return e=+e,n=n>>>0,i||wt(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=e&255,n+4};L.prototype.writeBigInt64LE=ri(function(e,n=0){return nR(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});L.prototype.writeBigInt64BE=ri(function(e,n=0){return iR(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function rR(t,e,n,i,s,r){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function sR(t,e,n,i,s){return e=+e,n=n>>>0,s||rR(t,e,n,4),Fr.write(t,e,n,i,23,4),n+4}L.prototype.writeFloatLE=function(e,n,i){return sR(this,e,n,!0,i)};L.prototype.writeFloatBE=function(e,n,i){return sR(this,e,n,!1,i)};function oR(t,e,n,i,s){return e=+e,n=n>>>0,s||rR(t,e,n,8),Fr.write(t,e,n,i,52,8),n+8}L.prototype.writeDoubleLE=function(e,n,i){return oR(this,e,n,!0,i)};L.prototype.writeDoubleBE=function(e,n,i){return oR(this,e,n,!1,i)};L.prototype.copy=function(e,n,i,s){if(!L.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=0),!s&&s!==0&&(s=this.length),n>=e.length&&(n=e.length),n||(n=0),s>0&&s=this.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-n>>0,i=i===void 0?this.length:i>>>0,e||(e=0);let r;if(typeof e=="number")for(r=n;r2**32?s=Y_(String(n)):typeof n=="bigint"&&(s=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(s=Y_(s)),s+="n"),i+=` It must be ${e}. Received ${s}`,i},RangeError);function Y_(t){let e="",n=t.length,i=t[0]==="-"?1:0;for(;n>=i+4;n-=3)e=`_${t.slice(n-3,n)}${e}`;return `${t.slice(0,n)}${e}`}function EM(t,e,n){Lr(e,"offset"),(t[e]===void 0||t[e+n]===void 0)&&Js(e,t.length-(n+1));}function aR(t,e,n,i,s,r){if(t>n||t3?e===0||e===BigInt(0)?a=`>= 0${o} and < 2${o} ** ${(r+1)*8}${o}`:a=`>= -(2${o} ** ${(r+1)*8-1}${o}) and < 2 ** ${(r+1)*8-1}${o}`:a=`>= ${e}${o} and <= ${n}${o}`,new Ir.ERR_OUT_OF_RANGE("value",a,t)}EM(i,s,r);}function Lr(t,e){if(typeof t!="number")throw new Ir.ERR_INVALID_ARG_TYPE(e,"number",t)}function Js(t,e,n){throw Math.floor(t)!==t?(Lr(t,n),new Ir.ERR_OUT_OF_RANGE(n||"offset","an integer",t)):e<0?new Ir.ERR_BUFFER_OUT_OF_BOUNDS:new Ir.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}var AM=/[^+/0-9A-Za-z-_]/g;function _M(t){if(t=t.split("=")[0],t=t.trim().replace(AM,""),t.length<2)return "";for(;t.length%4!==0;)t=t+"=";return t}function od(t,e){e=e||1/0;let n,i=t.length,s=null,r=[];for(let o=0;o55295&&n<57344){if(!s){if(n>56319){(e-=3)>-1&&r.push(239,191,189);continue}else if(o+1===i){(e-=3)>-1&&r.push(239,191,189);continue}s=n;continue}if(n<56320){(e-=3)>-1&&r.push(239,191,189),s=n;continue}n=(s-55296<<10|n-56320)+65536;}else s&&(e-=3)>-1&&r.push(239,191,189);if(s=null,n<128){if((e-=1)<0)break;r.push(n);}else if(n<2048){if((e-=2)<0)break;r.push(n>>6|192,n&63|128);}else if(n<65536){if((e-=3)<0)break;r.push(n>>12|224,n>>6&63|128,n&63|128);}else if(n<1114112){if((e-=4)<0)break;r.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128);}else throw new Error("Invalid code point")}return r}function RM(t){let e=[];for(let n=0;n>8,s=n%256,r.push(s),r.push(i);return r}function cR(t){return id.toByteArray(_M(t))}function dc(t,e,n,i){let s;for(s=0;s=e.length||s>=t.length);++s)e[s+n]=t[s];return s}function xn(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ud(t){return t!==t}var TM=function(){let t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){let i=n*16;for(let s=0;s<16;++s)e[i+s]=t[n]+t[s];}return e}();function ri(t){return typeof BigInt>"u"?OM:t}function OM(){throw new Error("BigInt not supported")}});var fR=R((v5,pR)=>{var Ys=M_(),uR=lR().Buffer;function kM(t){return 12+4*Math.ceil(t.length/4)}function PM(){return !(typeof window<"u"&&typeof document<"u")}function IM(t){return t.BYTES_PER_ELEMENT?t.length*t.BYTES_PER_ELEMENT:-1}function FM(t){let e=0,n=-1;try{let i=t;if(t instanceof Map?i=Object.fromEntries(t):t instanceof Set&&(i=Array.from(t)),ArrayBuffer.isView(t))return IM(t);let s=JSON.stringify(i,(r,o)=>typeof o=="bigint"||typeof o=="function"?o.toString():typeof o>"u"?"undefined":typeof o=="symbol"||o instanceof RegExp?o.toString():o);e=uR.byteLength(s,"utf8");}catch(i){return console.error("Error detected, returning "+n,i),n}return e}function LM(t){let e=[],n=[t],i=0;for(;n.length;){let s=n.pop();if(typeof s=="boolean")i+=Ys.BYTES;else if(typeof s=="string")PM()?i+=kM(s):i+=s.length*Ys.STRING;else if(typeof s=="number")i+=Ys.NUMBER;else if(typeof s=="symbol")Symbol.keyFor&&Symbol.keyFor(t)?i+=Symbol.keyFor(t).length*Ys.STRING:i+=(t.toString().length-8)*Ys.STRING;else if(typeof s=="bigint")i+=uR.from(s.toString()).byteLength;else if(typeof s=="function")i+=s.toString().length;else if(typeof s=="object"&&e.indexOf(s)===-1){e.push(s);for(let r in s)n.push(s[r]);}}return i}pR.exports=function(t){let e=0;return t!==null&&typeof t=="object"?e=FM(t):e=LM(t),e};});var oo=new Uint8Array(256),so=oo.length;function Pc(){return so>oo.length-16&&(QC__default.default.randomFillSync(oo),so=0),oo.slice(so,so+=16)}var Ze=[];for(let t=0;t<256;++t)Ze.push((t+256).toString(16).slice(1));function sm(t,e=0){return (Ze[t[e+0]]+Ze[t[e+1]]+Ze[t[e+2]]+Ze[t[e+3]]+"-"+Ze[t[e+4]]+Ze[t[e+5]]+"-"+Ze[t[e+6]]+Ze[t[e+7]]+"-"+Ze[t[e+8]]+Ze[t[e+9]]+"-"+Ze[t[e+10]]+Ze[t[e+11]]+Ze[t[e+12]]+Ze[t[e+13]]+Ze[t[e+14]]+Ze[t[e+15]]).toLowerCase()}var Ic={randomUUID:QC__default.default.randomUUID};function e1(t,e,n){if(Ic.randomUUID&&!e&&!t)return Ic.randomUUID();t=t||{};let i=t.random||(t.rng||Pc)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,e){n=n||0;for(let s=0;s<16;++s)e[n+s]=i[s];return e}return sm(i)}var ci=e1;var CR=vn(Jy());var jn={defaultMerge:Symbol("deepmerge-ts: default merge"),skip:Symbol("deepmerge-ts: skip")};function Ok(t,e){return e}function Yy(t){return typeof t!="object"||t===null?0:Array.isArray(t)?2:Ik(t)?1:t instanceof Set?3:t instanceof Map?4:5}function kk(t){let e=new Set;for(let n of t)for(let i of [...Object.keys(n),...Object.getOwnPropertySymbols(n)])e.add(i);return e}function Pk(t,e){return typeof t=="object"&&Object.prototype.propertyIsEnumerable.call(t,e)}function Qy(t){return {*[Symbol.iterator](){for(let e of t)for(let n of e)yield n;}}}var Xy=new Set(["[object Object]","[object Module]"]);function Ik(t){if(!Xy.has(Object.prototype.toString.call(t)))return !1;let{constructor:e}=t;if(e===void 0)return !0;let n=e.prototype;return !(n===null||typeof n!="object"||!Xy.has(Object.prototype.toString.call(n))||!n.hasOwnProperty("isPrototypeOf"))}function Fk(t,e,n){let i={};for(let s of kk(t)){let r=[];for(let u of t)Pk(u,s)&&r.push(u[s]);if(r.length===0)continue;let o=e.metaDataUpdater(n,{key:s,parents:t}),a=tx(r,e,o);a!==jn.skip&&(s==="__proto__"?Object.defineProperty(i,s,{value:a,configurable:!0,enumerable:!0,writable:!0}):i[s]=a);}return i}function Lk(t){return t.flat()}function qk(t){return new Set(Qy(t))}function $k(t){return new Map(Qy(t))}function Zy(t){return t.at(-1)}var jl=Object.freeze({__proto__:null,mergeArrays:Lk,mergeMaps:$k,mergeOthers:Zy,mergeRecords:Fk,mergeSets:qk});function ex(...t){return Dk({})(...t)}function Dk(t,e){let n=Bk(t,i);function i(...s){return tx(s,n,e)}return i}function Bk(t,e){return {defaultMergeFunctions:jl,mergeFunctions:{...jl,...Object.fromEntries(Object.entries(t).filter(([n,i])=>Object.hasOwn(jl,n)).map(([n,i])=>i===!1?[n,Zy]:[n,i]))},metaDataUpdater:t.metaDataUpdater??Ok,deepmerge:e,useImplicitDefaultMerging:t.enableImplicitDefaultMerging??!1,actions:jn}}function tx(t,e,n){if(t.length===0)return;if(t.length===1)return Nl(t,e,n);let i=Yy(t[0]);if(i!==0&&i!==5){for(let s=1;s{let e=typeof t;return t!==null&&(e==="object"||e==="function")};var Ul=new Set(["__proto__","prototype","constructor"]),zk=new Set("0123456789");function Ml(t){let e=[],n="",i="start",s=!1;for(let r of t)switch(r){case"\\":{if(i==="index")throw new Error("Invalid character in an index");if(i==="indexEnd")throw new Error("Invalid character after an index");s&&(n+=r),i="property",s=!s;break}case".":{if(i==="index")throw new Error("Invalid character in an index");if(i==="indexEnd"){i="property";break}if(s){s=!1,n+=r;break}if(Ul.has(n))return [];e.push(n),n="",i="property";break}case"[":{if(i==="index")throw new Error("Invalid character in an index");if(i==="indexEnd"){i="index";break}if(s){s=!1,n+=r;break}if(i==="property"){if(Ul.has(n))return [];e.push(n),n="";}i="index";break}case"]":{if(i==="index"){e.push(Number.parseInt(n,10)),n="",i="indexEnd";break}if(i==="indexEnd")throw new Error("Invalid character after an index")}default:{if(i==="index"&&!zk.has(r))throw new Error("Invalid character in an index");if(i==="indexEnd")throw new Error("Invalid character after an index");i==="start"&&(i="property"),s&&(s=!1,n+="\\"),n+=r;}}switch(s&&(n+="\\"),i){case"property":{if(Ul.has(n))return [];e.push(n);break}case"index":throw new Error("Index was not closed");case"start":{e.push("");break}}return e}function nx(t,e){if(typeof e!="number"&&Array.isArray(t)){let n=Number.parseInt(e,10);return Number.isInteger(n)&&t[n]===t[e]}return !1}function ix(t,e){if(nx(t,e))throw new Error("Cannot use string index")}function rx(t,e,n){if(!Qr(t)||typeof e!="string")return n===void 0?t:n;let i=Ml(e);if(i.length===0)return n;for(let s=0;se=>{let n=Hk.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),on=t=>(t=t.toLowerCase(),e=>jo(e)===t),No=t=>e=>typeof e===t,{isArray:Yi}=Array,ts=No("undefined");function Wk(t){return t!==null&&!ts(t)&&t.constructor!==null&&!ts(t.constructor)&&Bt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var lx=on("ArrayBuffer");function Gk(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&lx(t.buffer),e}var Vk=No("string"),Bt=No("function"),ux=No("number"),Uo=t=>t!==null&&typeof t=="object",Kk=t=>t===!0||t===!1,Bo=t=>{if(jo(t)!=="object")return !1;let e=Wl(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Jk=on("Date"),Yk=on("File"),Xk=on("Blob"),Qk=on("FileList"),Zk=t=>Uo(t)&&Bt(t.pipe),eP=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Bt(t.append)&&((e=jo(t))==="formdata"||e==="object"&&Bt(t.toString)&&t.toString()==="[object FormData]"))},tP=on("URLSearchParams"),nP=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ns(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,s;if(typeof t!="object"&&(t=[t]),Yi(t))for(i=0,s=t.length;i0;)if(s=n[i],e===s.toLowerCase())return s;return null}var fx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),dx=t=>!ts(t)&&t!==fx;function Hl(){let{caseless:t}=dx(this)&&this||{},e={},n=(i,s)=>{let r=t&&px(e,s)||s;Bo(e[r])&&Bo(i)?e[r]=Hl(e[r],i):Bo(i)?e[r]=Hl({},i):Yi(i)?e[r]=i.slice():e[r]=i;};for(let i=0,s=arguments.length;i(ns(e,(s,r)=>{n&&Bt(s)?t[r]=es(s,n):t[r]=s;},{allOwnKeys:i}),t),rP=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),sP=(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n);},oP=(t,e,n,i)=>{let s,r,o,a={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),r=s.length;r-- >0;)o=s[r],(!i||i(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&Wl(t);}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},aP=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;let i=t.indexOf(e,n);return i!==-1&&i===n},cP=t=>{if(!t)return null;if(Yi(t))return t;let e=t.length;if(!ux(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},lP=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Wl(Uint8Array)),uP=(t,e)=>{let i=(t&&t[Symbol.iterator]).call(t),s;for(;(s=i.next())&&!s.done;){let r=s.value;e.call(t,r[0],r[1]);}},pP=(t,e)=>{let n,i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},fP=on("HTMLFormElement"),dP=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),ax=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),mP=on("RegExp"),mx=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),i={};ns(n,(s,r)=>{e(s,r,t)!==!1&&(i[r]=s);}),Object.defineProperties(t,i);},hP=t=>{mx(t,(e,n)=>{if(Bt(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return !1;let i=t[n];if(Bt(i)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")});}});},gP=(t,e)=>{let n={},i=s=>{s.forEach(r=>{n[r]=!0;});};return Yi(t)?i(t):i(String(t).split(e)),n},yP=()=>{},xP=(t,e)=>(t=+t,Number.isFinite(t)?t:e),zl="abcdefghijklmnopqrstuvwxyz",cx="0123456789",hx={DIGIT:cx,ALPHA:zl,ALPHA_DIGIT:zl+zl.toUpperCase()+cx},vP=(t=16,e=hx.ALPHA_DIGIT)=>{let n="",{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n};function bP(t){return !!(t&&Bt(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}var wP=t=>{let e=new Array(10),n=(i,s)=>{if(Uo(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[s]=i;let r=Yi(i)?[]:{};return ns(i,(o,a)=>{let u=n(o,s+1);!ts(u)&&(r[a]=u);}),e[s]=void 0,r}}return i};return n(t,0)},SP=on("AsyncFunction"),EP=t=>t&&(Uo(t)||Bt(t))&&Bt(t.then)&&Bt(t.catch),O={isArray:Yi,isArrayBuffer:lx,isBuffer:Wk,isFormData:eP,isArrayBufferView:Gk,isString:Vk,isNumber:ux,isBoolean:Kk,isObject:Uo,isPlainObject:Bo,isUndefined:ts,isDate:Jk,isFile:Yk,isBlob:Xk,isRegExp:mP,isFunction:Bt,isStream:Zk,isURLSearchParams:tP,isTypedArray:lP,isFileList:Qk,forEach:ns,merge:Hl,extend:iP,trim:nP,stripBOM:rP,inherits:sP,toFlatObject:oP,kindOf:jo,kindOfTest:on,endsWith:aP,toArray:cP,forEachEntry:uP,matchAll:pP,isHTMLForm:fP,hasOwnProperty:ax,hasOwnProp:ax,reduceDescriptors:mx,freezeMethods:hP,toObjectSet:gP,toCamelCase:dP,noop:yP,toFiniteNumber:xP,findKey:px,global:fx,isContextDefined:dx,ALPHABET:hx,generateString:vP,isSpecCompliantForm:bP,toJSONObject:wP,isAsyncFn:SP,isThenable:EP};function Xi(t,e,n,i,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),s&&(this.response=s);}O.inherits(Xi,Error,{toJSON:function(){return {message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:O.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var gx=Xi.prototype,yx={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{yx[t]={value:t};});Object.defineProperties(Xi,yx);Object.defineProperty(gx,"isAxiosError",{value:!0});Xi.from=(t,e,n,i,s,r)=>{let o=Object.create(gx);return O.toFlatObject(t,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),Xi.call(o,t.message,e,n,i,s),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};var ne=Xi;var Qx=vn(nu(),1),Ho=Qx.default;function iu(t){return O.isPlainObject(t)||O.isArray(t)}function ev(t){return O.endsWith(t,"[]")?t.slice(0,-2):t}function Zx(t,e,n){return t?t.concat(e).map(function(s,r){return s=ev(s),!n&&r?"["+s+"]":s}).join(n?".":""):e}function oI(t){return O.isArray(t)&&!t.some(iu)}var aI=O.toFlatObject(O,{},null,function(e){return /^is[A-Z]/.test(e)});function cI(t,e,n){if(!O.isObject(t))throw new TypeError("target must be an object");e=e||new(Ho||FormData),n=O.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,A){return !O.isUndefined(A[b])});let i=n.metaTokens,s=n.visitor||c,r=n.dots,o=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&O.isSpecCompliantForm(e);if(!O.isFunction(s))throw new TypeError("visitor must be a function");function f(y){if(y===null)return "";if(O.isDate(y))return y.toISOString();if(!u&&O.isBlob(y))throw new ne("Blob is not supported. Use a Buffer instead.");return O.isArrayBuffer(y)||O.isTypedArray(y)?u&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function c(y,b,A){let _=y;if(y&&!A&&typeof y=="object"){if(O.endsWith(b,"{}"))b=i?b:b.slice(0,-2),y=JSON.stringify(y);else if(O.isArray(y)&&oI(y)||(O.isFileList(y)||O.endsWith(b,"[]"))&&(_=O.toArray(y)))return b=ev(b),_.forEach(function(C,F){!(O.isUndefined(C)||C===null)&&e.append(o===!0?Zx([b],F,r):o===null?b:b+"[]",f(C));}),!1}return iu(y)?!0:(e.append(Zx(A,b,r),f(y)),!1)}let d=[],g=Object.assign(aI,{defaultVisitor:c,convertValue:f,isVisitable:iu});function h(y,b){if(!O.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+b.join("."));d.push(y),O.forEach(y,function(_,S){(!(O.isUndefined(_)||_===null)&&s.call(e,_,O.isString(S)?S.trim():S,b,g))===!0&&h(_,b?b.concat(S):[S]);}),d.pop();}}if(!O.isObject(t))throw new TypeError("data must be an object");return h(t),e}var Nn=cI;function tv(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function nv(t,e){this._pairs=[],t&&Nn(t,this,e);}var iv=nv.prototype;iv.append=function(e,n){this._pairs.push([e,n]);};iv.toString=function(e){let n=e?function(i){return e.call(this,i,tv)}:tv;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};var rv=nv;function lI(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fi(t,e,n){if(!e)return t;let i=n&&n.encode||lI,s=n&&n.serialize,r;if(s?r=s(e,n):r=O.isURLSearchParams(e)?e.toString():new rv(e,n).toString(i),r){let o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r;}return t}var ru=class{constructor(){this.handlers=[];}use(e,n,i){return this.handlers.push({fulfilled:e,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null);}clear(){this.handlers&&(this.handlers=[]);}forEach(e){O.forEach(this.handlers,function(i){i!==null&&e(i);});}},su=ru;var Qi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var sv=uI__default.default.URLSearchParams;var Le={isNode:!0,classes:{URLSearchParams:sv,FormData:Ho,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]};function ou(t,e){return Nn(t,new Le.classes.URLSearchParams,Object.assign({visitor:function(n,i,s,r){return O.isBuffer(n)?(this.append(i,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function pI(t){return O.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function fI(t){let e={},n=Object.keys(t),i,s=n.length,r;for(i=0;i=n.length;return o=!o&&O.isArray(s)?s.length:o,u?(O.hasOwnProp(s,o)?s[o]=[s[o],i]:s[o]=i,!a):((!s[o]||!O.isObject(s[o]))&&(s[o]=[]),e(n,i,s[o],r)&&O.isArray(s[o])&&(s[o]=fI(s[o])),!a)}if(O.isFormData(t)&&O.isFunction(t.entries)){let n={};return O.forEachEntry(t,(i,s)=>{e(pI(i),s,n,0);}),n}return null}var Wo=dI;var mI={"Content-Type":void 0};function hI(t,e,n){if(O.isString(t))try{return (e||JSON.parse)(t),O.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return (n||JSON.stringify)(t)}var Go={transitional:Qi,adapter:["xhr","http"],transformRequest:[function(e,n){let i=n.getContentType()||"",s=i.indexOf("application/json")>-1,r=O.isObject(e);if(r&&O.isHTMLForm(e)&&(e=new FormData(e)),O.isFormData(e))return s&&s?JSON.stringify(Wo(e)):e;if(O.isArrayBuffer(e)||O.isBuffer(e)||O.isStream(e)||O.isFile(e)||O.isBlob(e))return e;if(O.isArrayBufferView(e))return e.buffer;if(O.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(i.indexOf("application/x-www-form-urlencoded")>-1)return ou(e,this.formSerializer).toString();if((a=O.isFileList(e))||i.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return Nn(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return r||s?(n.setContentType("application/json",!1),hI(e)):e}],transformResponse:[function(e){let n=this.transitional||Go.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if(e&&O.isString(e)&&(i&&!this.responseType||s)){let o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?ne.from(a,ne.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};O.forEach(["delete","get","head"],function(e){Go.headers[e]={};});O.forEach(["post","put","patch"],function(e){Go.headers[e]=O.merge(mI);});var Zi=Go;var gI=O.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ov=t=>{let e={},n,i,s;return t&&t.split(` +`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),i=o.substring(s+1).trim(),!(!n||e[n]&&gI[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i);}),e};var av=Symbol("internals");function is(t){return t&&String(t).trim().toLowerCase()}function Vo(t){return t===!1||t==null?t:O.isArray(t)?t.map(Vo):String(t)}function yI(t){let e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}var xI=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function au(t,e,n,i,s){if(O.isFunction(i))return i.call(this,e,n);if(s&&(e=n),!!O.isString(e)){if(O.isString(i))return e.indexOf(i)!==-1;if(O.isRegExp(i))return i.test(e)}}function vI(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function bI(t,e){let n=O.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(s,r,o){return this[i].call(this,e,s,r,o)},configurable:!0});});}var er=class{constructor(e){e&&this.set(e);}set(e,n,i){let s=this;function r(a,u,f){let c=is(u);if(!c)throw new Error("header name must be a non-empty string");let d=O.findKey(s,c);(!d||s[d]===void 0||f===!0||f===void 0&&s[d]!==!1)&&(s[d||u]=Vo(a));}let o=(a,u)=>O.forEach(a,(f,c)=>r(f,c,u));return O.isPlainObject(e)||e instanceof this.constructor?o(e,n):O.isString(e)&&(e=e.trim())&&!xI(e)?o(ov(e),n):e!=null&&r(n,e,i),this}get(e,n){if(e=is(e),e){let i=O.findKey(this,e);if(i){let s=this[i];if(!n)return s;if(n===!0)return yI(s);if(O.isFunction(n))return n.call(this,s,i);if(O.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=is(e),e){let i=O.findKey(this,e);return !!(i&&this[i]!==void 0&&(!n||au(this,this[i],i,n)))}return !1}delete(e,n){let i=this,s=!1;function r(o){if(o=is(o),o){let a=O.findKey(i,o);a&&(!n||au(i,i[a],a,n))&&(delete i[a],s=!0);}}return O.isArray(e)?e.forEach(r):r(e),s}clear(e){let n=Object.keys(this),i=n.length,s=!1;for(;i--;){let r=n[i];(!e||au(this,this[r],r,e,!0))&&(delete this[r],s=!0);}return s}normalize(e){let n=this,i={};return O.forEach(this,(s,r)=>{let o=O.findKey(i,r);if(o){n[o]=Vo(s),delete n[r];return}let a=e?vI(r):String(r).trim();a!==r&&delete n[r],n[a]=Vo(s),i[a]=!0;}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let n=Object.create(null);return O.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=e&&O.isArray(i)?i.join(", "):i);}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}get[Symbol.toStringTag](){return "AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){let i=new this(e);return n.forEach(s=>i.set(s)),i}static accessor(e){let i=(this[av]=this[av]={accessors:{}}).accessors,s=this.prototype;function r(o){let a=is(o);i[a]||(bI(s,o),i[a]=!0);}return O.isArray(e)?e.forEach(r):r(e),this}};er.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);O.freezeMethods(er.prototype);O.freezeMethods(er);var je=er;function rs(t,e){let n=this||Zi,i=e||n,s=je.from(i.headers),r=i.data;return O.forEach(t,function(a){r=a.call(n,r,s.normalize(),e?e.status:void 0);}),s.normalize(),r}function ss(t){return !!(t&&t.__CANCEL__)}function cv(t,e,n){ne.call(this,t??"canceled",ne.ERR_CANCELED,e,n),this.name="CanceledError";}O.inherits(cv,ne,{__CANCEL__:!0});var Ht=cv;function Un(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n));}function cu(t){return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function lu(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function di(t,e){return t&&!cu(e)?lu(t,e):e}var Nv=vn(uv(),1),Uv=vn(Pv(),1);var yi="1.4.0";function ls(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var rF=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function xu(t,e,n){let i=n&&n.Blob||Le.classes.Blob,s=ls(t);if(e===void 0&&i&&(e=!0),s==="data"){t=s.length?t.slice(s.length+1):t;let r=rF.exec(t);if(!r)throw new ne("Invalid URL",ne.ERR_INVALID_URL);let o=r[1],a=r[2],u=r[3],f=Buffer.from(decodeURIComponent(u),a?"base64":"utf8");if(e){if(!i)throw new ne("Blob is not supported",ne.ERR_NOT_SUPPORT);return new i([f],{type:o})}return f}throw new ne("Unsupported protocol "+s,ne.ERR_NOT_SUPPORT)}function sF(t,e){let n=0,i=1e3/e,s=null;return function(o,a){let u=Date.now();if(o||u-n>i)return s&&(clearTimeout(s),s=null),n=u,t.apply(null,a);s||(s=setTimeout(()=>(s=null,n=Date.now(),t.apply(null,a)),i-(u-n)));}}var Iv=sF;function oF(t,e){t=t||10;let n=new Array(t),i=new Array(t),s=0,r=0,o;return e=e!==void 0?e:1e3,function(u){let f=Date.now(),c=i[r];o||(o=f),n[s]=u,i[s]=f;let d=r,g=0;for(;d!==s;)g+=n[d++],d=d%t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),f-o!O.isUndefined(u[a])),super({readableHighWaterMark:e.chunkSize});let n=this,i=this[Zo]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},s=Qo(i.ticksRate*e.samplesCount,i.timeWindow);this.on("newListener",a=>{a==="progress"&&(i.isCaptured||(i.isCaptured=!0));});let r=0;i.updateProgress=Iv(function(){let u=i.length,f=i.bytesSeen,c=f-r;if(!c||n.destroyed)return;let d=s(c);r=f,process.nextTick(()=>{n.emit("progress",{loaded:f,total:u,progress:u?f/u:void 0,bytes:c,rate:d||void 0,estimated:d&&u&&f<=u?(u-f)/d:void 0});});},i.ticksRate);let o=()=>{i.updateProgress(!0);};this.once("end",o),this.once("error",o);}_read(e){let n=this[Zo];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,i){let s=this,r=this[Zo],o=r.maxRate,a=this.readableHighWaterMark,u=r.timeWindow,f=1e3/u,c=o/f,d=r.minChunkSize!==!1?Math.max(r.minChunkSize,c*.01):0;function g(y,b){let A=Buffer.byteLength(y);r.bytesSeen+=A,r.bytes+=A,r.isCaptured&&r.updateProgress(),s.push(y)?process.nextTick(b):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(b);};}let h=(y,b)=>{let A=Buffer.byteLength(y),_=null,S=a,C,F=0;if(o){let q=Date.now();(!r.ts||(F=q-r.ts)>=u)&&(r.ts=q,C=c-r.bytes,r.bytes=C<0?-C:0,F=0),C=c-r.bytes;}if(o){if(C<=0)return setTimeout(()=>{b(null,y);},u-F);CS&&A-S>d&&(_=y.subarray(S),y=y.subarray(0,S)),g(y,_?()=>{process.nextTick(b,null,_);}:b);};h(e,function y(b,A){if(b)return i(b);A?h(A,y):i(null);});}setLength(e){return this[Zo].length=+e,this}},bu=vu;var{asyncIterator:Fv}=Symbol,cF=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[Fv]?yield*t[Fv]():yield t;},ea=cF;var pF=O.ALPHABET.ALPHA_DIGIT+"-_",us=new vF.TextEncoder,Mn=`\r +`,fF=us.encode(Mn),dF=2,wu=class{constructor(e,n){let{escapeName:i}=this.constructor,s=O.isString(n),r=`Content-Disposition: form-data; name="${i(e)}"${!s&&n.name?`; filename="${i(n.name)}"`:""}${Mn}`;s?n=us.encode(String(n).replace(/\r?\n|\r\n?/g,Mn)):r+=`Content-Type: ${n.type||"application/octet-stream"}${Mn}`,this.headers=us.encode(r+Mn),this.contentLength=s?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+dF,this.name=e,this.value=n;}async*encode(){yield this.headers;let{value:e}=this;O.isTypedArray(e)?yield e:yield*ea(e),yield fF;}static escapeName(e){return String(e).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},mF=(t,e,n)=>{let{tag:i="form-data-boundary",size:s=25,boundary:r=i+"-"+O.generateString(s,pF)}=n||{};if(!O.isFormData(t))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");let o=us.encode("--"+r+Mn),a=us.encode("--"+r+"--"+Mn+Mn),u=a.byteLength,f=Array.from(t.entries()).map(([d,g])=>{let h=new wu(d,g);return u+=h.size,h});u+=o.byteLength*f.length,u=O.toFiniteNumber(u);let c={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(c["Content-Length"]=u),e&&e(c),or.Readable.from(async function*(){for(let d of f)yield o,yield*d.encode();yield a;}())},Lv=mF;var Su=class extends or__default.default.Transform{__transform(e,n,i){this.push(e),i();}_transform(e,n,i){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let s=Buffer.alloc(2);s[0]=120,s[1]=156,this.push(s,n);}this.__transform(e,n,i);}},qv=Su;var gF=(t,e)=>O.isAsyncFn(t)?function(...n){let i=n.pop();t.apply(this,n).then(s=>{try{e?i(null,...e(s)):i(null,s);}catch(r){i(r);}},i);}:t,$v=gF;var Dv={flush:zn__default.default.constants.Z_SYNC_FLUSH,finishFlush:zn__default.default.constants.Z_SYNC_FLUSH},wF={flush:zn__default.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:zn__default.default.constants.BROTLI_OPERATION_FLUSH},Bv=O.isFunction(zn__default.default.createBrotliDecompress),{http:SF,https:EF}=Uv.default,AF=/https:?/,jv=Le.protocols.map(t=>t+":");function _F(t){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t);}function Mv(t,e,n){let i=e;if(!i&&i!==!1){let s=(0, Nv.getProxyForUrl)(n);s&&(i=new URL(s));}if(i){if(i.username&&(i.auth=(i.username||"")+":"+(i.password||"")),i.auth){(i.auth.username||i.auth.password)&&(i.auth=(i.auth.username||"")+":"+(i.auth.password||""));let r=Buffer.from(i.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+r;}t.headers.host=t.hostname+(t.port?":"+t.port:"");let s=i.hostname||i.host;t.hostname=s,t.host=s,t.port=i.port,t.path=n,i.protocol&&(t.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`);}t.beforeRedirects.proxy=function(r){Mv(r,e,r.href);};}var RF=typeof process<"u"&&O.kindOf(process)==="process",CF=t=>new Promise((e,n)=>{let i,s,r=(u,f)=>{s||(s=!0,i&&i(u,f));},o=u=>{r(u),e(u);},a=u=>{r(u,!0),n(u);};t(o,a,u=>i=u).catch(a);}),zv=RF&&function(e){return CF(async function(i,s,r){let{data:o,lookup:a,family:u}=e,{responseType:f,responseEncoding:c}=e,d=e.method.toUpperCase(),g,h=!1,y;a&&O.isAsyncFn(a)&&(a=$v(a,U=>{if(O.isString(U))U=[U,U.indexOf(".")<0?6:4];else if(!O.isArray(U))throw new TypeError("lookup async function must return an array [ip: string, family: number]]");return U}));let b=new bF__default.default,A=()=>{e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_),b.removeAllListeners();};r((U,z)=>{g=!0,z&&(h=!0,A());});function _(U){b.emit("abort",!U||U.type?new Ht(null,e,y):U);}b.once("abort",s),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_)));let S=di(e.baseURL,e.url),C=new URL(S,"http://localhost"),F=C.protocol||jv[0];if(F==="data:"){let U;if(d!=="GET")return Un(i,s,{status:405,statusText:"method not allowed",headers:{},config:e});try{U=xu(e.url,f==="blob",{Blob:e.env&&e.env.Blob});}catch(z){throw ne.from(z,ne.ERR_BAD_REQUEST,e)}return f==="text"?(U=U.toString(c),(!c||c==="utf8")&&(U=O.stripBOM(U))):f==="stream"&&(U=or__default.default.Readable.from(U)),Un(i,s,{data:U,status:200,statusText:"OK",headers:new je,config:e})}if(jv.indexOf(F)===-1)return s(new ne("Unsupported protocol "+F,ne.ERR_BAD_REQUEST,e));let q=je.from(e.headers).normalize();q.set("User-Agent","axios/"+yi,!1);let J=e.onDownloadProgress,W=e.onUploadProgress,B=e.maxRate,$,G;if(O.isSpecCompliantForm(o)){let U=q.getContentType(/boundary=([-_\w\d]{10,70})/i);o=Lv(o,z=>{q.set(z);},{tag:`axios-${yi}-boundary`,boundary:U&&U[1]||void 0});}else if(O.isFormData(o)&&O.isFunction(o.getHeaders)){if(q.set(o.getHeaders()),!q.hasContentLength())try{let U=await vF__default.default.promisify(o.getLength).call(o);Number.isFinite(U)&&U>=0&&q.setContentLength(U);}catch{}}else if(O.isBlob(o))o.size&&q.setContentType(o.type||"application/octet-stream"),q.setContentLength(o.size||0),o=or__default.default.Readable.from(ea(o));else if(o&&!O.isStream(o)){if(!Buffer.isBuffer(o))if(O.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else if(O.isString(o))o=Buffer.from(o,"utf-8");else return s(new ne("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",ne.ERR_BAD_REQUEST,e));if(q.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return s(new ne("Request body larger than maxBodyLength limit",ne.ERR_BAD_REQUEST,e))}let T=O.toFiniteNumber(q.getContentLength());O.isArray(B)?($=B[0],G=B[1]):$=G=B,o&&(W||$)&&(O.isStream(o)||(o=or__default.default.Readable.from(o,{objectMode:!1})),o=or__default.default.pipeline([o,new bu({length:T,maxRate:O.toFiniteNumber($)})],O.noop),W&&o.on("progress",U=>{W(Object.assign(U,{upload:!0}));}));let Y;if(e.auth){let U=e.auth.username||"",z=e.auth.password||"";Y=U+":"+z;}if(!Y&&C.username){let U=C.username,z=C.password;Y=U+":"+z;}Y&&q.delete("authorization");let Z;try{Z=fi(C.pathname+C.search,e.params,e.paramsSerializer).replace(/^\?/,"");}catch(U){let z=new Error(U.message);return z.config=e,z.url=e.url,z.exists=!0,s(z)}q.set("Accept-Encoding","gzip, compress, deflate"+(Bv?", br":""),!1);let re={path:Z,method:d,headers:q.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:Y,protocol:F,family:u,lookup:a,beforeRedirect:_F,beforeRedirects:{}};e.socketPath?re.socketPath=e.socketPath:(re.hostname=C.hostname,re.port=C.port,Mv(re,e.proxy,F+"//"+C.hostname+(C.port?":"+C.port:"")+re.path));let k,I=AF.test(re.protocol);if(re.agent=I?e.httpsAgent:e.httpAgent,e.transport?k=e.transport:e.maxRedirects===0?k=I?xF__default.default:yF__default.default:(e.maxRedirects&&(re.maxRedirects=e.maxRedirects),e.beforeRedirect&&(re.beforeRedirects.config=e.beforeRedirect),k=I?EF:SF),e.maxBodyLength>-1?re.maxBodyLength=e.maxBodyLength:re.maxBodyLength=1/0,e.insecureHTTPParser&&(re.insecureHTTPParser=e.insecureHTTPParser),y=k.request(re,function(z){if(y.destroyed)return;let ae=[z],De=+z.headers["content-length"];if(J){let ke=new bu({length:O.toFiniteNumber(De),maxRate:O.toFiniteNumber(G)});J&&ke.on("progress",pe=>{J(Object.assign(pe,{download:!0}));}),ae.push(ke);}let he=z,St=z.req||y;if(e.decompress!==!1&&z.headers["content-encoding"])switch((d==="HEAD"||z.statusCode===204)&&delete z.headers["content-encoding"],z.headers["content-encoding"]){case"gzip":case"x-gzip":case"compress":case"x-compress":ae.push(zn__default.default.createUnzip(Dv)),delete z.headers["content-encoding"];break;case"deflate":ae.push(new qv),ae.push(zn__default.default.createUnzip(Dv)),delete z.headers["content-encoding"];break;case"br":Bv&&(ae.push(zn__default.default.createBrotliDecompress(wF)),delete z.headers["content-encoding"]);}he=ae.length>1?or__default.default.pipeline(ae,O.noop):ae[0];let oi=or__default.default.finished(he,()=>{oi(),A();}),at={status:z.statusCode,statusText:z.statusMessage,headers:new je(z.headers),config:e,request:St};if(f==="stream")at.data=he,Un(i,s,at);else {let ke=[],pe=0;he.on("data",function(Be){ke.push(Be),pe+=Be.length,e.maxContentLength>-1&&pe>e.maxContentLength&&(h=!0,he.destroy(),s(new ne("maxContentLength size of "+e.maxContentLength+" exceeded",ne.ERR_BAD_RESPONSE,e,St)));}),he.on("aborted",function(){if(h)return;let Be=new ne("maxContentLength size of "+e.maxContentLength+" exceeded",ne.ERR_BAD_RESPONSE,e,St);he.destroy(Be),s(Be);}),he.on("error",function(Be){y.destroyed||s(ne.from(Be,null,e,St));}),he.on("end",function(){try{let Be=ke.length===1?ke[0]:Buffer.concat(ke);f!=="arraybuffer"&&(Be=Be.toString(c),(!c||c==="utf8")&&(Be=O.stripBOM(Be))),at.data=Be;}catch(Be){s(ne.from(Be,null,e,at.request,at));}Un(i,s,at);});}b.once("abort",ke=>{he.destroyed||(he.emit("error",ke),he.destroy());});}),b.once("abort",U=>{s(U),y.destroy(U);}),y.on("error",function(z){s(ne.from(z,null,e,y));}),y.on("socket",function(z){z.setKeepAlive(!0,1e3*60);}),e.timeout){let U=parseInt(e.timeout,10);if(isNaN(U)){s(new ne("error trying to parse `config.timeout` to int",ne.ERR_BAD_OPTION_VALUE,e,y));return}y.setTimeout(U,function(){if(g)return;let ae=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",De=e.transitional||Qi;e.timeoutErrorMessage&&(ae=e.timeoutErrorMessage),s(new ne(ae,De.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,e,y)),_();});}if(O.isStream(o)){let U=!1,z=!1;o.on("end",()=>{U=!0;}),o.once("error",ae=>{z=!0,y.destroy(ae);}),o.on("close",()=>{!U&&!z&&_(new Ht("Request stream has been aborted",e,y));}),o.pipe(y);}else y.end(o);})};var Hv=Le.isStandardBrowserEnv?function(){return {write:function(n,i,s,r,o,a){let u=[];u.push(n+"="+encodeURIComponent(i)),O.isNumber(s)&&u.push("expires="+new Date(s).toGMTString()),O.isString(r)&&u.push("path="+r),O.isString(o)&&u.push("domain="+o),a===!0&&u.push("secure"),document.cookie=u.join("; ");},read:function(n){let i=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5);}}}():function(){return {write:function(){},read:function(){return null},remove:function(){}}}();var Wv=Le.isStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function s(r){let o=r;return e&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return i=s(window.location.href),function(o){let a=O.isString(o)?s(o):o;return a.protocol===i.protocol&&a.host===i.host}}():function(){return function(){return !0}}();function Gv(t,e){let n=0,i=Qo(50,250);return s=>{let r=s.loaded,o=s.lengthComputable?s.total:void 0,a=r-n,u=i(a),f=r<=o;n=r;let c={loaded:r,total:o,progress:o?r/o:void 0,bytes:a,rate:u||void 0,estimated:u&&o&&f?(o-r)/u:void 0,event:s};c[e?"download":"upload"]=!0,t(c);}}var TF=typeof XMLHttpRequest<"u",Vv=TF&&function(t){return new Promise(function(n,i){let s=t.data,r=je.from(t.headers).normalize(),o=t.responseType,a;function u(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a);}O.isFormData(s)&&(Le.isStandardBrowserEnv||Le.isStandardBrowserWebWorkerEnv?r.setContentType(!1):r.setContentType("multipart/form-data;",!1));let f=new XMLHttpRequest;if(t.auth){let h=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(h+":"+y));}let c=di(t.baseURL,t.url);f.open(t.method.toUpperCase(),fi(c,t.params,t.paramsSerializer),!0),f.timeout=t.timeout;function d(){if(!f)return;let h=je.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),b={data:!o||o==="text"||o==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:h,config:t,request:f};Un(function(_){n(_),u();},function(_){i(_),u();},b),f=null;}if("onloadend"in f?f.onloadend=d:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(d);},f.onabort=function(){f&&(i(new ne("Request aborted",ne.ECONNABORTED,t,f)),f=null);},f.onerror=function(){i(new ne("Network Error",ne.ERR_NETWORK,t,f)),f=null;},f.ontimeout=function(){let y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",b=t.transitional||Qi;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),i(new ne(y,b.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,t,f)),f=null;},Le.isStandardBrowserEnv){let h=(t.withCredentials||Wv(c))&&t.xsrfCookieName&&Hv.read(t.xsrfCookieName);h&&r.set(t.xsrfHeaderName,h);}s===void 0&&r.setContentType(null),"setRequestHeader"in f&&O.forEach(r.toJSON(),function(y,b){f.setRequestHeader(b,y);}),O.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),o&&o!=="json"&&(f.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&f.addEventListener("progress",Gv(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",Gv(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=h=>{f&&(i(!h||h.type?new Ht(null,t,f):h),f.abort(),f=null);},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));let g=ls(c);if(g&&Le.protocols.indexOf(g)===-1){i(new ne("Unsupported protocol "+g+":",ne.ERR_BAD_REQUEST,t));return}f.send(s||null);})};var ta={http:zv,xhr:Vv};O.forEach(ta,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e});}catch{}Object.defineProperty(t,"adapterName",{value:e});}});var Kv={getAdapter:t=>{t=O.isArray(t)?t:[t];let{length:e}=t,n,i;for(let s=0;st instanceof je?t.toJSON():t;function Sn(t,e){e=e||{};let n={};function i(f,c,d){return O.isPlainObject(f)&&O.isPlainObject(c)?O.merge.call({caseless:d},f,c):O.isPlainObject(c)?O.merge({},c):O.isArray(c)?c.slice():c}function s(f,c,d){if(O.isUndefined(c)){if(!O.isUndefined(f))return i(void 0,f,d)}else return i(f,c,d)}function r(f,c){if(!O.isUndefined(c))return i(void 0,c)}function o(f,c){if(O.isUndefined(c)){if(!O.isUndefined(f))return i(void 0,f)}else return i(void 0,c)}function a(f,c,d){if(d in e)return i(f,c);if(d in t)return i(void 0,f)}let u={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(f,c)=>s(Jv(f),Jv(c),!0)};return O.forEach(Object.keys(Object.assign({},t,e)),function(c){let d=u[c]||s,g=d(t[c],e[c],c);O.isUndefined(g)&&d!==a||(n[c]=g);}),n}var Au={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Au[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t};});var Yv={};Au.transitional=function(e,n,i){function s(r,o){return "[Axios v"+yi+"] Transitional option '"+r+"'"+o+(i?". "+i:"")}return (r,o,a)=>{if(e===!1)throw new ne(s(o," has been removed"+(n?" in "+n:"")),ne.ERR_DEPRECATED);return n&&!Yv[o]&&(Yv[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,o,a):!0}};function OF(t,e,n){if(typeof t!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),s=i.length;for(;s-- >0;){let r=i[s],o=e[r];if(o){let a=t[r],u=a===void 0||o(a,r,t);if(u!==!0)throw new ne("option "+r+" must be "+u,ne.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ne("Unknown option "+r,ne.ERR_BAD_OPTION)}}var ia={assertOptions:OF,validators:Au};var Hn=ia.validators,ar=class{constructor(e){this.defaults=e,this.interceptors={request:new su,response:new su};}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Sn(this.defaults,n);let{transitional:i,paramsSerializer:s,headers:r}=n;i!==void 0&&ia.assertOptions(i,{silentJSONParsing:Hn.transitional(Hn.boolean),forcedJSONParsing:Hn.transitional(Hn.boolean),clarifyTimeoutError:Hn.transitional(Hn.boolean)},!1),s!=null&&(O.isFunction(s)?n.paramsSerializer={serialize:s}:ia.assertOptions(s,{encode:Hn.function,serialize:Hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o;o=r&&O.merge(r.common,r[n.method]),o&&O.forEach(["delete","get","head","post","put","patch","common"],y=>{delete r[y];}),n.headers=je.concat(o,r);let a=[],u=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(u=u&&b.synchronous,a.unshift(b.fulfilled,b.rejected));});let f=[];this.interceptors.response.forEach(function(b){f.push(b.fulfilled,b.rejected);});let c,d=0,g;if(!u){let y=[na.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,f),g=y.length,c=Promise.resolve(n);d{if(!i._listeners)return;let r=i._listeners.length;for(;r-- >0;)i._listeners[r](s);i._listeners=null;}),this.promise.then=s=>{let r,o=new Promise(a=>{i.subscribe(a),r=a;}).then(s);return o.cancel=function(){i.unsubscribe(r);},o},e(function(r,o,a){i.reason||(i.reason=new Ht(r,o,a),n(i.reason));});}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e];}unsubscribe(e){if(!this._listeners)return;let n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1);}static source(){let e;return {token:new t(function(s){e=s;}),cancel:e}}},Xv=_u;function Ru(t){return function(n){return t.apply(null,n)}}function Cu(t){return O.isObject(t)&&t.isAxiosError===!0}var Tu={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Tu).forEach(([t,e])=>{Tu[e]=t;});var Qv=Tu;function Zv(t){let e=new ps(t),n=es(ps.prototype.request,e);return O.extend(n,ps.prototype,e,{allOwnKeys:!0}),O.extend(n,e,null,{allOwnKeys:!0}),n.create=function(s){return Zv(Sn(t,s))},n}var Ne=Zv(Zi);Ne.Axios=ps;Ne.CanceledError=Ht;Ne.CancelToken=Xv;Ne.isCancel=ss;Ne.VERSION=yi;Ne.toFormData=Nn;Ne.AxiosError=ne;Ne.Cancel=Ne.CanceledError;Ne.all=function(e){return Promise.all(e)};Ne.spread=Ru;Ne.isAxiosError=Cu;Ne.mergeConfig=Sn;Ne.AxiosHeaders=je;Ne.formToJSON=t=>Wo(O.isHTMLForm(t)?new FormData(t):t);Ne.HttpStatusCode=Qv;Ne.default=Ne;var fs=Ne;var ku=vn(nu());var En=class extends Error{constructor(n,i,s){super(s);this.name="ApiError",this.url=i.url,this.status=i.status,this.statusText=i.statusText,this.body=i.body,this.request=n;}};var ra=class extends Error{constructor(e){super(e),this.name="CancelError";}get isCancelled(){return !0}},an,cn,Gt,Wn,xi,ds,cr,tt=class{constructor(e){ce(this,an,void 0);ce(this,cn,void 0);ce(this,Gt,void 0);ce(this,Wn,void 0);ce(this,xi,void 0);ce(this,ds,void 0);ce(this,cr,void 0);ie(this,an,!1),ie(this,cn,!1),ie(this,Gt,!1),ie(this,Wn,[]),ie(this,xi,new Promise((n,i)=>{ie(this,ds,n),ie(this,cr,i);let s=a=>{var u;w(this,an)||w(this,cn)||w(this,Gt)||(ie(this,an,!0),(u=w(this,ds))==null||u.call(this,a));},r=a=>{var u;w(this,an)||w(this,cn)||w(this,Gt)||(ie(this,cn,!0),(u=w(this,cr))==null||u.call(this,a));},o=a=>{w(this,an)||w(this,cn)||w(this,Gt)||w(this,Wn).push(a);};return Object.defineProperty(o,"isResolved",{get:()=>w(this,an)}),Object.defineProperty(o,"isRejected",{get:()=>w(this,cn)}),Object.defineProperty(o,"isCancelled",{get:()=>w(this,Gt)}),e(s,r,o)}));}get[Symbol.toStringTag](){return "Cancellable Promise"}then(e,n){return w(this,xi).then(e,n)}catch(e){return w(this,xi).catch(e)}finally(e){return w(this,xi).finally(e)}cancel(){var e;if(!(w(this,an)||w(this,cn)||w(this,Gt))){if(ie(this,Gt,!0),w(this,Wn).length)try{for(let n of w(this,Wn))n();}catch(n){console.warn("Cancellation threw an error",n);return}w(this,Wn).length=0,(e=w(this,cr))==null||e.call(this,new ra("Request aborted"));}}get isCancelled(){return w(this,Gt)}};an=new WeakMap,cn=new WeakMap,Gt=new WeakMap,Wn=new WeakMap,xi=new WeakMap,ds=new WeakMap,cr=new WeakMap;var Pu=t=>t!=null,oa=t=>typeof t=="string",Ou=t=>oa(t)&&t!=="",eb=t=>typeof t=="object"&&typeof t.type=="string"&&typeof t.stream=="function"&&typeof t.arrayBuffer=="function"&&typeof t.constructor=="function"&&typeof t.constructor.name=="string"&&/^(Blob|File)$/.test(t.constructor.name)&&/^(Blob|File)$/.test(t[Symbol.toStringTag]),kF=t=>t instanceof ku.default,PF=t=>t>=200&&t<300,IF=t=>{try{return btoa(t)}catch{return Buffer.from(t).toString("base64")}},FF=t=>{let e=[],n=(s,r)=>{e.push(`${encodeURIComponent(s)}=${encodeURIComponent(String(r))}`);},i=(s,r)=>{Pu(r)&&(Array.isArray(r)?r.forEach(o=>{i(s,o);}):typeof r=="object"?Object.entries(r).forEach(([o,a])=>{i(`${s}[${o}]`,a);}):n(s,r));};return Object.entries(t).forEach(([s,r])=>{i(s,r);}),e.length>0?`?${e.join("&")}`:""},LF=(t,e)=>{let n=t.ENCODE_PATH||encodeURI,i=e.url.replace("{api-version}",t.VERSION).replace(/{(.*?)}/g,(r,o)=>e.path?.hasOwnProperty(o)?n(String(e.path[o])):r),s=`${t.BASE}${i}`;return e.query?`${s}${FF(e.query)}`:s},qF=t=>{if(t.formData){let e=new ku.default,n=(i,s)=>{oa(s)||eb(s)?e.append(i,s):e.append(i,JSON.stringify(s));};return Object.entries(t.formData).filter(([i,s])=>Pu(s)).forEach(([i,s])=>{Array.isArray(s)?s.forEach(r=>n(i,r)):n(i,s);}),e}},sa=async(t,e)=>typeof e=="function"?e(t):e,$F=async(t,e,n)=>{let i=await sa(e,t.TOKEN),s=await sa(e,t.USERNAME),r=await sa(e,t.PASSWORD),o=await sa(e,t.HEADERS),a=typeof n?.getHeaders=="function"&&n?.getHeaders()||{},u=Object.entries({Accept:"application/json",...o,...e.headers,...a}).filter(([f,c])=>Pu(c)).reduce((f,[c,d])=>({...f,[c]:String(d)}),{});if(Ou(i)&&(u.Authorization=`Bearer ${i}`),Ou(s)&&Ou(r)){let f=IF(`${s}:${r}`);u.Authorization=`Basic ${f}`;}return e.body&&(e.mediaType?u["Content-Type"]=e.mediaType:eb(e.body)?u["Content-Type"]=e.body.type||"application/octet-stream":oa(e.body)?u["Content-Type"]="text/plain":kF(e.body)||(u["Content-Type"]="application/json")),u},DF=t=>{if(t.body)return t.body},BF=async(t,e,n,i,s,r,o)=>{let a=fs.CancelToken.source(),u={url:n,headers:r,data:i??s,method:e.method,withCredentials:t.WITH_CREDENTIALS,cancelToken:a.token};o(()=>a.cancel("The user aborted a request."));try{return await fs.request(u)}catch(f){let c=f;if(c.response)return c.response;throw f}},jF=(t,e)=>{if(e){let n=t.headers[e];if(oa(n))return n}},NF=t=>{if(t.status!==204)return t.data},UF=(t,e)=>{let i={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...t.errors}[e.status];if(i)throw new En(t,e,i);if(!e.ok)throw new En(t,e,"Generic Error")},tb=(t,e)=>new tt(async(n,i,s)=>{try{let r=LF(t,e),o=qF(e),a=DF(e),u=await $F(t,e,o);if(!s.isCancelled){let f=await BF(t,e,r,a,o,u,s),c=NF(f),d=jF(f,e.responseHeader),g={url:r,ok:PF(f.status),status:f.status,statusText:f.statusText,body:d??c};UF(e,g),n(g.body);}}catch(r){i(r);}});var lr=class extends Zr{constructor(e){super(e);}request(e){return tb(this.config,e)}};var ms=class{constructor(e){this.httpRequest=e;}completion(e){return this.httpRequest.request({method:"POST",url:"/v1/completions",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}event(e){return this.httpRequest.request({method:"POST",url:"/v1/events",body:e,mediaType:"application/json",errors:{400:"Bad Request"}})}health(){return this.httpRequest.request({method:"POST",url:"/v1/health"})}};var hs=class{constructor(e,n=lr){this.request=new n({BASE:e?.BASE??"https://playground.app.tabbyml.com",VERSION:e?.VERSION??"0.1.0",WITH_CREDENTIALS:e?.WITH_CREDENTIALS??!1,CREDENTIALS:e?.CREDENTIALS??"include",TOKEN:e?.TOKEN,USERNAME:e?.USERNAME,PASSWORD:e?.PASSWORD,HEADERS:e?.HEADERS,ENCODE_PATH:e?.ENCODE_PATH}),this.v1=new ms(this.request);}};var ob=vn(sb());function qe(t){return t.match(/.*(?:$|\r?\n)/g).filter(Boolean)}function Fu(t){return t.match(/\w+|\W+/g).filter(Boolean)}function Ce(t){return t.trim().length===0}function ur(t,e){return ob.get(t,e)}function vi(t,e){return new tt((n,i,s)=>{t.then(r=>{n(r);}).catch(r=>{i(r);}),s(()=>{e();});})}function Lu(t){this.message=t;}Lu.prototype=new Error,Lu.prototype.name="InvalidCharacterError";var ab=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new Lu("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,s=0,r=0,o="";i=e.charAt(r++);~i&&(n=s%4?64*n+i:i,s++%4)?o+=String.fromCharCode(255&n>>(-2*s&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return o};function WF(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw "Illegal base64url string!"}try{return function(n){return decodeURIComponent(ab(n).replace(/(.)/g,function(i,s){var r=s.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(e)}catch{return ab(e)}}function aa(t){this.message=t;}function GF(t,e){if(typeof t!="string")throw new aa("Invalid token specified");var n=(e=e||{}).header===!0?0:1;try{return JSON.parse(WF(t.split(".")[n]))}catch(i){throw new aa("Invalid token specified: "+i.message)}}aa.prototype=new Error,aa.prototype.name="InvalidTokenError";var ca=GF;var ys=class{constructor(e){this.httpRequest=e;}deviceToken(e){return this.httpRequest.request({method:"POST",url:"/device-token",body:e})}deviceTokenAccept(e){return this.httpRequest.request({method:"POST",url:"/device-token/accept",query:e})}deviceTokenRefresh(e){return this.httpRequest.request({method:"POST",url:"/device-token/refresh",headers:{Authorization:`Bearer ${e}`}})}usage(e){return this.httpRequest.request({method:"POST",url:"/usage",body:e})}};var bi=class{constructor(e,n=lr){this.request=new n({BASE:e?.BASE??"https://app.tabbyml.com/api",VERSION:e?.VERSION??"0.0.0",WITH_CREDENTIALS:e?.WITH_CREDENTIALS??!1,CREDENTIALS:e?.CREDENTIALS??"include",TOKEN:e?.TOKEN,USERNAME:e?.USERNAME,PASSWORD:e?.PASSWORD,HEADERS:e?.HEADERS,ENCODE_PATH:e?.ENCODE_PATH}),this.api=new ys(this.request);}};xs();var ba=(()=>{let t=H("path").join(H("os").homedir(),".tabby","agent","data.json"),e=Qu();return {data:{},load:async function(){this.data=await e.readJson(t,{throws:!1})||{};},save:async function(){await e.outputJson(t,this.data);}}})();pn();var Tt=class Tt extends bF.EventEmitter{constructor(n){super();this.logger=$e.child({component:"Auth"});this.dataStore=null;this.refreshTokenTimer=null;this.authApi=null;this.jwt=null;this.endpoint=n.endpoint,this.dataStore=n.dataStore||ba,this.authApi=new bi,this.scheduleRefreshToken();}static async create(n){let i=new Tt(n);return await i.load(),i}get token(){return this.jwt?.token}get user(){return this.jwt?.payload.email}async load(){if(this.dataStore)try{await this.dataStore.load();let n=this.dataStore.data.auth?.[this.endpoint]?.jwt;if(typeof n=="string"&&this.jwt?.token!==n){this.logger.debug({storedJwt:n},"Load jwt from data store.");let i={token:n,payload:ca(n)};i.payload.exp*1e3-Date.now()"u")return;delete this.dataStore.data.auth[this.endpoint];}await this.dataStore.save(),this.logger.debug("Save changes to data store.");}catch(n){this.logger.error({error:n},"Error when saving auth");}}async reset(){this.jwt&&(this.jwt=null,await this.save());}requestAuthUrl(){return new tt(async(n,i,s)=>{let r;s(()=>{r?.cancel();});try{if(await this.reset(),s.isCancelled)return;this.logger.debug("Start to request device token"),r=this.authApi.api.deviceToken({auth_url:this.endpoint});let o=await r;this.logger.debug({deviceToken:o},"Request device token response");let a=new URL(Tt.authPageUrl);a.searchParams.append("code",o.data.code),n({authUrl:a.toString(),code:o.data.code});}catch(o){this.logger.error({error:o},"Error when requesting token"),i(o);}})}pollingToken(n){return new tt((i,s,r)=>{let o,a=setInterval(async()=>{try{o=this.authApi.api.deviceTokenAccept({code:n});let u=await o;this.logger.debug({response:u},"Poll jwt response"),this.jwt={token:u.data.jwt,payload:ca(u.data.jwt)},super.emit("updated",this.jwt),await this.save(),clearInterval(a),i(!0);}catch(u){u instanceof En&&[400,401,403,405].indexOf(u.status)!==-1?this.logger.debug({error:u},"Expected error when polling jwt"):this.logger.error({error:u},"Error when polling jwt");}},Tt.tokenStrategy.polling.interval);setTimeout(()=>{clearInterval(a),s(new Error("Timeout when polling token"));},Tt.tokenStrategy.polling.timeout),r(()=>{o?.cancel(),clearInterval(a);});})}async refreshToken(n,i={maxTry:1,retryDelay:1e3},s=0){try{this.logger.debug({retry:s},"Start to refresh token");let r=await this.authApi.api.deviceTokenRefresh(n.token);return this.logger.debug({refreshedJwt:r},"Refresh token response"),{token:r.data.jwt,payload:ca(r.data.jwt)}}catch(r){if(r instanceof En&&[400,401,403,405].indexOf(r.status)!==-1)this.logger.debug({error:r},"Error when refreshing jwt");else if(this.logger.error({error:r},"Unknown error when refreshing jwt"),ssetTimeout(o,i.retryDelay)),this.refreshToken(n,i,s+1);throw {...r,retry:s}}}scheduleRefreshToken(){this.refreshTokenTimer=setInterval(async()=>{if(!this.jwt)return null;if(this.jwt.payload.exp*1e3-Date.now(){let t=H("events"),e=Qu(),n=PE(),i=O_();class s extends t{constructor(u){super();this.data={};this.watcher=null;this.logger=(pn(),Oc(_E)).rootLogger.child({component:"ConfigFile"});this.filepath=u;}get config(){return this.data}async load(){try{let u=await e.readFile(this.filepath,"utf8");this.data=n.parse(u),super.emit("updated",this.data);}catch(u){this.logger.error({error:u},"Failed to load config file");}}watch(){this.watcher=i.watch(this.filepath,{interval:1e3}),this.watcher.on("add",this.load.bind(this)),this.watcher.on("change",this.load.bind(this));}}let r=H("path").join(H("os").homedir(),".tabby","agent","config.toml");return new s(r)})();var Us=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,P_=new Set,Vf=typeof process=="object"&&process?process:{},I_=(t,e,n,i)=>{typeof Vf.emitWarning=="function"?Vf.emitWarning(t,e,n,i):console.error(`[${n}] ${e}: ${t}`);},cc=globalThis.AbortController,k_=globalThis.AbortSignal;if(typeof cc>"u"){k_=class{constructor(){le(this,"onabort");le(this,"_onabort",[]);le(this,"reason");le(this,"aborted",!1);}addEventListener(i,s){this._onabort.push(s);}},cc=class{constructor(){le(this,"signal",new k_);e();}abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let s of this.signal._onabort)s(i);this.signal.onabort?.(i);}}};let t=Vf.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,I_("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e));};}var YU=t=>!P_.has(t),ei=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),F_=t=>ei(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?_r:null:null,_r=class extends Array{constructor(e){super(e),this.fill(0);}},Rr,Pi=class Pi{constructor(e,n){le(this,"heap");le(this,"length");if(!w(Pi,Rr))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0;}static create(e){let n=F_(e);if(!n)return [];ie(Pi,Rr,!0);let i=new Pi(e,n);return ie(Pi,Rr,!1),i}push(e){this.heap[this.length++]=e;}pop(){return this.heap[--this.length]}};Rr=new WeakMap,ce(Pi,Rr,!1);var Kf=Pi,Xt,Pt,dn,Qt,Cr,Ue,Zt,Me,Ae,fe,pt,It,ot,Ve,en,it,Tn,On,tn,mn,ii,bt,zs,Jf,Ii,kn,Hs,Ft,uc,L_,Fi,Tr,Ws,hn,ti,gn,ni,Gs,Yf,Or,oc,kr,ac,Se,_e,Vs,Xf,Li,Ms,Qf=class Qf{constructor(e){ce(this,zs);ce(this,uc);ce(this,hn);ce(this,gn);ce(this,Gs);ce(this,Or);ce(this,kr);ce(this,Se);ce(this,Vs);ce(this,Li);ce(this,Xt,void 0);ce(this,Pt,void 0);ce(this,dn,void 0);ce(this,Qt,void 0);ce(this,Cr,void 0);le(this,"ttl");le(this,"ttlResolution");le(this,"ttlAutopurge");le(this,"updateAgeOnGet");le(this,"updateAgeOnHas");le(this,"allowStale");le(this,"noDisposeOnSet");le(this,"noUpdateTTL");le(this,"maxEntrySize");le(this,"sizeCalculation");le(this,"noDeleteOnFetchRejection");le(this,"noDeleteOnStaleGet");le(this,"allowStaleOnFetchAbort");le(this,"allowStaleOnFetchRejection");le(this,"ignoreFetchAbort");ce(this,Ue,void 0);ce(this,Zt,void 0);ce(this,Me,void 0);ce(this,Ae,void 0);ce(this,fe,void 0);ce(this,pt,void 0);ce(this,It,void 0);ce(this,ot,void 0);ce(this,Ve,void 0);ce(this,en,void 0);ce(this,it,void 0);ce(this,Tn,void 0);ce(this,On,void 0);ce(this,tn,void 0);ce(this,mn,void 0);ce(this,ii,void 0);ce(this,bt,void 0);ce(this,Ii,()=>{});ce(this,kn,()=>{});ce(this,Hs,()=>{});ce(this,Ft,()=>!1);ce(this,Fi,e=>{});ce(this,Tr,(e,n,i)=>{});ce(this,Ws,(e,n,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:n=0,ttl:i,ttlResolution:s=1,ttlAutopurge:r,updateAgeOnGet:o,updateAgeOnHas:a,allowStale:u,dispose:f,disposeAfter:c,noDisposeOnSet:d,noUpdateTTL:g,maxSize:h=0,maxEntrySize:y=0,sizeCalculation:b,fetchMethod:A,noDeleteOnFetchRejection:_,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:C,allowStaleOnFetchAbort:F,ignoreFetchAbort:q}=e;if(n!==0&&!ei(n))throw new TypeError("max option must be a nonnegative integer");let J=n?F_(n):Array;if(!J)throw new Error("invalid max value: "+n);if(ie(this,Xt,n),ie(this,Pt,h),this.maxEntrySize=y||w(this,Pt),this.sizeCalculation=b,this.sizeCalculation){if(!w(this,Pt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(A!==void 0&&typeof A!="function")throw new TypeError("fetchMethod must be a function if specified");if(ie(this,Cr,A),ie(this,ii,!!A),ie(this,Me,new Map),ie(this,Ae,new Array(n).fill(void 0)),ie(this,fe,new Array(n).fill(void 0)),ie(this,pt,new J(n)),ie(this,It,new J(n)),ie(this,ot,0),ie(this,Ve,0),ie(this,en,Kf.create(n)),ie(this,Ue,0),ie(this,Zt,0),typeof f=="function"&&ie(this,dn,f),typeof c=="function"?(ie(this,Qt,c),ie(this,it,[])):(ie(this,Qt,void 0),ie(this,it,void 0)),ie(this,mn,!!w(this,dn)),ie(this,bt,!!w(this,Qt)),this.noDisposeOnSet=!!d,this.noUpdateTTL=!!g,this.noDeleteOnFetchRejection=!!_,this.allowStaleOnFetchRejection=!!C,this.allowStaleOnFetchAbort=!!F,this.ignoreFetchAbort=!!q,this.maxEntrySize!==0){if(w(this,Pt)!==0&&!ei(w(this,Pt)))throw new TypeError("maxSize must be a positive integer if specified");if(!ei(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");oe(this,uc,L_).call(this);}if(this.allowStale=!!u,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!a,this.ttlResolution=ei(s)||s===0?s:1,this.ttlAutopurge=!!r,this.ttl=i||0,this.ttl){if(!ei(this.ttl))throw new TypeError("ttl must be a positive integer if specified");oe(this,zs,Jf).call(this);}if(w(this,Xt)===0&&this.ttl===0&&w(this,Pt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!w(this,Xt)&&!w(this,Pt)){let W="LRU_CACHE_UNBOUNDED";YU(W)&&(P_.add(W),I_("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",W,Qf));}}static unsafeExposeInternals(e){return {starts:w(e,On),ttls:w(e,tn),sizes:w(e,Tn),keyMap:w(e,Me),keyList:w(e,Ae),valList:w(e,fe),next:w(e,pt),prev:w(e,It),get head(){return w(e,ot)},get tail(){return w(e,Ve)},free:w(e,en),isBackgroundFetch:n=>{var i;return oe(i=e,Se,_e).call(i,n)},backgroundFetch:(n,i,s,r)=>{var o;return oe(o=e,kr,ac).call(o,n,i,s,r)},moveToTail:n=>{var i;return oe(i=e,Li,Ms).call(i,n)},indexes:n=>{var i;return oe(i=e,hn,ti).call(i,n)},rindexes:n=>{var i;return oe(i=e,gn,ni).call(i,n)},isStale:n=>{var i;return w(i=e,Ft).call(i,n)}}}get max(){return w(this,Xt)}get maxSize(){return w(this,Pt)}get calculatedSize(){return w(this,Zt)}get size(){return w(this,Ue)}get fetchMethod(){return w(this,Cr)}get dispose(){return w(this,dn)}get disposeAfter(){return w(this,Qt)}getRemainingTTL(e){return w(this,Me).has(e)?1/0:0}*entries(){for(let e of oe(this,hn,ti).call(this))w(this,fe)[e]!==void 0&&w(this,Ae)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield [w(this,Ae)[e],w(this,fe)[e]]);}*rentries(){for(let e of oe(this,gn,ni).call(this))w(this,fe)[e]!==void 0&&w(this,Ae)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield [w(this,Ae)[e],w(this,fe)[e]]);}*keys(){for(let e of oe(this,hn,ti).call(this)){let n=w(this,Ae)[e];n!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield n);}}*rkeys(){for(let e of oe(this,gn,ni).call(this)){let n=w(this,Ae)[e];n!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield n);}}*values(){for(let e of oe(this,hn,ti).call(this))w(this,fe)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield w(this,fe)[e]);}*rvalues(){for(let e of oe(this,gn,ni).call(this))w(this,fe)[e]!==void 0&&!oe(this,Se,_e).call(this,w(this,fe)[e])&&(yield w(this,fe)[e]);}[Symbol.iterator](){return this.entries()}find(e,n={}){for(let i of oe(this,hn,ti).call(this)){let s=w(this,fe)[i],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;if(r!==void 0&&e(r,w(this,Ae)[i],this))return this.get(w(this,Ae)[i],n)}}forEach(e,n=this){for(let i of oe(this,hn,ti).call(this)){let s=w(this,fe)[i],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;r!==void 0&&e.call(n,r,w(this,Ae)[i],this);}}rforEach(e,n=this){for(let i of oe(this,gn,ni).call(this)){let s=w(this,fe)[i],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;r!==void 0&&e.call(n,r,w(this,Ae)[i],this);}}purgeStale(){let e=!1;for(let n of oe(this,gn,ni).call(this,{allowStale:!0}))w(this,Ft).call(this,n)&&(this.delete(w(this,Ae)[n]),e=!0);return e}dump(){let e=[];for(let n of oe(this,hn,ti).call(this,{allowStale:!0})){let i=w(this,Ae)[n],s=w(this,fe)[n],r=oe(this,Se,_e).call(this,s)?s.__staleWhileFetching:s;if(r===void 0||i===void 0)continue;let o={value:r};if(w(this,tn)&&w(this,On)){o.ttl=w(this,tn)[n];let a=Us.now()-w(this,On)[n];o.start=Math.floor(Date.now()-a);}w(this,Tn)&&(o.size=w(this,Tn)[n]),e.unshift([i,o]);}return e}load(e){this.clear();for(let[n,i]of e){if(i.start){let s=Date.now()-i.start;i.start=Us.now()-s;}this.set(n,i.value,i);}}set(e,n,i={}){var g,h;if(n===void 0)return this.delete(e),this;let{ttl:s=this.ttl,start:r,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:u}=i,{noUpdateTTL:f=this.noUpdateTTL}=i,c=w(this,Ws).call(this,e,n,i.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return u&&(u.set="miss",u.maxEntrySizeExceeded=!0),this.delete(e),this;let d=w(this,Ue)===0?void 0:w(this,Me).get(e);if(d===void 0)d=w(this,Ue)===0?w(this,Ve):w(this,en).length!==0?w(this,en).pop():w(this,Ue)===w(this,Xt)?oe(this,Or,oc).call(this,!1):w(this,Ue),w(this,Ae)[d]=e,w(this,fe)[d]=n,w(this,Me).set(e,d),w(this,pt)[w(this,Ve)]=d,w(this,It)[d]=w(this,Ve),ie(this,Ve,d),ro(this,Ue)._++,w(this,Tr).call(this,d,c,u),u&&(u.set="add"),f=!1;else {oe(this,Li,Ms).call(this,d);let y=w(this,fe)[d];if(n!==y){if(w(this,ii)&&oe(this,Se,_e).call(this,y)?y.__abortController.abort(new Error("replaced")):o||(w(this,mn)&&((g=w(this,dn))==null||g.call(this,y,e,"set")),w(this,bt)&&w(this,it)?.push([y,e,"set"])),w(this,Fi).call(this,d),w(this,Tr).call(this,d,c,u),w(this,fe)[d]=n,u){u.set="replace";let b=y&&oe(this,Se,_e).call(this,y)?y.__staleWhileFetching:y;b!==void 0&&(u.oldValue=b);}}else u&&(u.set="update");}if(s!==0&&!w(this,tn)&&oe(this,zs,Jf).call(this),w(this,tn)&&(f||w(this,Hs).call(this,d,s,r),u&&w(this,kn).call(this,u,d)),!o&&w(this,bt)&&w(this,it)){let y=w(this,it),b;for(;b=y?.shift();)(h=w(this,Qt))==null||h.call(this,...b);}return this}pop(){var e;try{for(;w(this,Ue);){let n=w(this,fe)[w(this,ot)];if(oe(this,Or,oc).call(this,!0),oe(this,Se,_e).call(this,n)){if(n.__staleWhileFetching)return n.__staleWhileFetching}else if(n!==void 0)return n}}finally{if(w(this,bt)&&w(this,it)){let n=w(this,it),i;for(;i=n?.shift();)(e=w(this,Qt))==null||e.call(this,...i);}}}has(e,n={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=n,r=w(this,Me).get(e);if(r!==void 0){let o=w(this,fe)[r];if(oe(this,Se,_e).call(this,o)&&o.__staleWhileFetching===void 0)return !1;if(w(this,Ft).call(this,r))s&&(s.has="stale",w(this,kn).call(this,s,r));else return i&&w(this,Ii).call(this,r),s&&(s.has="hit",w(this,kn).call(this,s,r)),!0}else s&&(s.has="miss");return !1}peek(e,n={}){let{allowStale:i=this.allowStale}=n,s=w(this,Me).get(e);if(s!==void 0&&(i||!w(this,Ft).call(this,s))){let r=w(this,fe)[s];return oe(this,Se,_e).call(this,r)?r.__staleWhileFetching:r}}async fetch(e,n={}){let{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:u=0,sizeCalculation:f=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:g=this.allowStaleOnFetchRejection,ignoreFetchAbort:h=this.ignoreFetchAbort,allowStaleOnFetchAbort:y=this.allowStaleOnFetchAbort,context:b,forceRefresh:A=!1,status:_,signal:S}=n;if(!w(this,ii))return _&&(_.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:r,status:_});let C={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:r,ttl:o,noDisposeOnSet:a,size:u,sizeCalculation:f,noUpdateTTL:c,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:g,allowStaleOnFetchAbort:y,ignoreFetchAbort:h,status:_,signal:S},F=w(this,Me).get(e);if(F===void 0){_&&(_.fetch="miss");let q=oe(this,kr,ac).call(this,e,F,C,b);return q.__returned=q}else {let q=w(this,fe)[F];if(oe(this,Se,_e).call(this,q)){let G=i&&q.__staleWhileFetching!==void 0;return _&&(_.fetch="inflight",G&&(_.returnedStale=!0)),G?q.__staleWhileFetching:q.__returned=q}let J=w(this,Ft).call(this,F);if(!A&&!J)return _&&(_.fetch="hit"),oe(this,Li,Ms).call(this,F),s&&w(this,Ii).call(this,F),_&&w(this,kn).call(this,_,F),q;let W=oe(this,kr,ac).call(this,e,F,C,b),$=W.__staleWhileFetching!==void 0&&i;return _&&(_.fetch=J?"stale":"refresh",$&&J&&(_.returnedStale=!0)),$?W.__staleWhileFetching:W.__returned=W}}get(e,n={}){let{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:r=this.noDeleteOnStaleGet,status:o}=n,a=w(this,Me).get(e);if(a!==void 0){let u=w(this,fe)[a],f=oe(this,Se,_e).call(this,u);return o&&w(this,kn).call(this,o,a),w(this,Ft).call(this,a)?(o&&(o.get="stale"),f?(o&&i&&u.__staleWhileFetching!==void 0&&(o.returnedStale=!0),i?u.__staleWhileFetching:void 0):(r||this.delete(e),o&&i&&(o.returnedStale=!0),i?u:void 0)):(o&&(o.get="hit"),f?u.__staleWhileFetching:(oe(this,Li,Ms).call(this,a),s&&w(this,Ii).call(this,a),u))}else o&&(o.get="miss");}delete(e){var i,s;let n=!1;if(w(this,Ue)!==0){let r=w(this,Me).get(e);if(r!==void 0)if(n=!0,w(this,Ue)===1)this.clear();else {w(this,Fi).call(this,r);let o=w(this,fe)[r];oe(this,Se,_e).call(this,o)?o.__abortController.abort(new Error("deleted")):(w(this,mn)||w(this,bt))&&(w(this,mn)&&((i=w(this,dn))==null||i.call(this,o,e,"delete")),w(this,bt)&&w(this,it)?.push([o,e,"delete"])),w(this,Me).delete(e),w(this,Ae)[r]=void 0,w(this,fe)[r]=void 0,r===w(this,Ve)?ie(this,Ve,w(this,It)[r]):r===w(this,ot)?ie(this,ot,w(this,pt)[r]):(w(this,pt)[w(this,It)[r]]=w(this,pt)[r],w(this,It)[w(this,pt)[r]]=w(this,It)[r]),ro(this,Ue)._--,w(this,en).push(r);}}if(w(this,bt)&&w(this,it)?.length){let r=w(this,it),o;for(;o=r?.shift();)(s=w(this,Qt))==null||s.call(this,...o);}return n}clear(){var e,n;for(let i of oe(this,gn,ni).call(this,{allowStale:!0})){let s=w(this,fe)[i];if(oe(this,Se,_e).call(this,s))s.__abortController.abort(new Error("deleted"));else {let r=w(this,Ae)[i];w(this,mn)&&((e=w(this,dn))==null||e.call(this,s,r,"delete")),w(this,bt)&&w(this,it)?.push([s,r,"delete"]);}}if(w(this,Me).clear(),w(this,fe).fill(void 0),w(this,Ae).fill(void 0),w(this,tn)&&w(this,On)&&(w(this,tn).fill(0),w(this,On).fill(0)),w(this,Tn)&&w(this,Tn).fill(0),ie(this,ot,0),ie(this,Ve,0),w(this,en).length=0,ie(this,Zt,0),ie(this,Ue,0),w(this,bt)&&w(this,it)){let i=w(this,it),s;for(;s=i?.shift();)(n=w(this,Qt))==null||n.call(this,...s);}}};Xt=new WeakMap,Pt=new WeakMap,dn=new WeakMap,Qt=new WeakMap,Cr=new WeakMap,Ue=new WeakMap,Zt=new WeakMap,Me=new WeakMap,Ae=new WeakMap,fe=new WeakMap,pt=new WeakMap,It=new WeakMap,ot=new WeakMap,Ve=new WeakMap,en=new WeakMap,it=new WeakMap,Tn=new WeakMap,On=new WeakMap,tn=new WeakMap,mn=new WeakMap,ii=new WeakMap,bt=new WeakMap,zs=new WeakSet,Jf=function(){let e=new _r(w(this,Xt)),n=new _r(w(this,Xt));ie(this,tn,e),ie(this,On,n),ie(this,Hs,(r,o,a=Us.now())=>{if(n[r]=o!==0?a:0,e[r]=o,o!==0&&this.ttlAutopurge){let u=setTimeout(()=>{w(this,Ft).call(this,r)&&this.delete(w(this,Ae)[r]);},o+1);u.unref&&u.unref();}}),ie(this,Ii,r=>{n[r]=e[r]!==0?Us.now():0;}),ie(this,kn,(r,o)=>{if(e[o]){let a=e[o],u=n[o];r.ttl=a,r.start=u,r.now=i||s();let f=r.now-u;r.remainingTTL=a-f;}});let i=0,s=()=>{let r=Us.now();if(this.ttlResolution>0){i=r;let o=setTimeout(()=>i=0,this.ttlResolution);o.unref&&o.unref();}return r};this.getRemainingTTL=r=>{let o=w(this,Me).get(r);if(o===void 0)return 0;let a=e[o],u=n[o];if(a===0||u===0)return 1/0;let f=(i||s())-u;return a-f},ie(this,Ft,r=>e[r]!==0&&n[r]!==0&&(i||s())-n[r]>e[r]);},Ii=new WeakMap,kn=new WeakMap,Hs=new WeakMap,Ft=new WeakMap,uc=new WeakSet,L_=function(){let e=new _r(w(this,Xt));ie(this,Zt,0),ie(this,Tn,e),ie(this,Fi,n=>{ie(this,Zt,w(this,Zt)-e[n]),e[n]=0;}),ie(this,Ws,(n,i,s,r)=>{if(oe(this,Se,_e).call(this,i))return 0;if(!ei(s))if(r){if(typeof r!="function")throw new TypeError("sizeCalculation must be a function");if(s=r(i,n),!ei(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s}),ie(this,Tr,(n,i,s)=>{if(e[n]=i,w(this,Pt)){let r=w(this,Pt)-e[n];for(;w(this,Zt)>r;)oe(this,Or,oc).call(this,!0);}ie(this,Zt,w(this,Zt)+e[n]),s&&(s.entrySize=i,s.totalCalculatedSize=w(this,Zt));});},Fi=new WeakMap,Tr=new WeakMap,Ws=new WeakMap,hn=new WeakSet,ti=function*({allowStale:e=this.allowStale}={}){if(w(this,Ue))for(let n=w(this,Ve);!(!oe(this,Gs,Yf).call(this,n)||((e||!w(this,Ft).call(this,n))&&(yield n),n===w(this,ot)));)n=w(this,It)[n];},gn=new WeakSet,ni=function*({allowStale:e=this.allowStale}={}){if(w(this,Ue))for(let n=w(this,ot);!(!oe(this,Gs,Yf).call(this,n)||((e||!w(this,Ft).call(this,n))&&(yield n),n===w(this,Ve)));)n=w(this,pt)[n];},Gs=new WeakSet,Yf=function(e){return e!==void 0&&w(this,Me).get(w(this,Ae)[e])===e},Or=new WeakSet,oc=function(e){var r;let n=w(this,ot),i=w(this,Ae)[n],s=w(this,fe)[n];return w(this,ii)&&oe(this,Se,_e).call(this,s)?s.__abortController.abort(new Error("evicted")):(w(this,mn)||w(this,bt))&&(w(this,mn)&&((r=w(this,dn))==null||r.call(this,s,i,"evict")),w(this,bt)&&w(this,it)?.push([s,i,"evict"])),w(this,Fi).call(this,n),e&&(w(this,Ae)[n]=void 0,w(this,fe)[n]=void 0,w(this,en).push(n)),w(this,Ue)===1?(ie(this,ot,ie(this,Ve,0)),w(this,en).length=0):ie(this,ot,w(this,pt)[n]),w(this,Me).delete(i),ro(this,Ue)._--,n},kr=new WeakSet,ac=function(e,n,i,s){let r=n===void 0?void 0:w(this,fe)[n];if(oe(this,Se,_e).call(this,r))return r;let o=new cc,{signal:a}=i;a?.addEventListener("abort",()=>o.abort(a.reason),{signal:o.signal});let u={signal:o.signal,options:i,context:s},f=(b,A=!1)=>{let{aborted:_}=o.signal,S=i.ignoreFetchAbort&&b!==void 0;if(i.status&&(_&&!A?(i.status.fetchAborted=!0,i.status.fetchError=o.signal.reason,S&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),_&&!S&&!A)return d(o.signal.reason);let C=h;return w(this,fe)[n]===h&&(b===void 0?C.__staleWhileFetching?w(this,fe)[n]=C.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,b,u.options))),b},c=b=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=b),d(b)),d=b=>{let{aborted:A}=o.signal,_=A&&i.allowStaleOnFetchAbort,S=_||i.allowStaleOnFetchRejection,C=S||i.noDeleteOnFetchRejection,F=h;if(w(this,fe)[n]===h&&(!C||F.__staleWhileFetching===void 0?this.delete(e):_||(w(this,fe)[n]=F.__staleWhileFetching)),S)return i.status&&F.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),F.__staleWhileFetching;if(F.__returned===F)throw b},g=(b,A)=>{var S;let _=(S=w(this,Cr))==null?void 0:S.call(this,e,r,u);_&&_ instanceof Promise&&_.then(C=>b(C),A),o.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(b(),i.allowStaleOnFetchAbort&&(b=C=>f(C,!0)));});};i.status&&(i.status.fetchDispatched=!0);let h=new Promise(g).then(f,c),y=Object.assign(h,{__abortController:o,__staleWhileFetching:r,__returned:void 0});return n===void 0?(this.set(e,y,{...u.options,status:void 0}),n=w(this,Me).get(e)):w(this,fe)[n]=y,y},Se=new WeakSet,_e=function(e){if(!w(this,ii))return !1;let n=e;return !!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof cc},Vs=new WeakSet,Xf=function(e,n){w(this,It)[n]=e,w(this,pt)[e]=n;},Li=new WeakSet,Ms=function(e){e!==w(this,Ve)&&(e===w(this,ot)?ie(this,ot,w(this,pt)[e]):oe(this,Vs,Xf).call(this,w(this,It)[e],w(this,pt)[e]),oe(this,Vs,Xf).call(this,w(this,Ve),e),ie(this,Ve,e));};var lc=Qf;var dR=vn(N_()),mR=vn(fR());pn();var mc=class{constructor(){this.logger=$e.child({component:"CompletionCache"});this.options={maxSize:1*1024*1024,partiallyAcceptedCacheGeneration:{enabled:!0,perCharacter:{lines:1,words:10,max:30},perWord:{lines:1,max:20},perLine:{max:3}}};this.cache=new lc({maxSize:this.options.maxSize,sizeCalculation:mR.default});}has(e){return this.cache.has(this.hash(e))}set(e,n){for(let i of this.createCacheEntries(e,n))this.logger.debug({entry:i},"Setting cache entry"),this.cache.set(this.hash(i.key),i.value);this.logger.debug({size:this.cache.calculatedSize},"Cache size");}get(e){return this.cache.get(this.hash(e))}hash(e){return (0, dR.default)(e)}createCacheEntries(e,n){let i=[{key:e,value:n}];if(this.options.partiallyAcceptedCacheGeneration.enabled){let s=n.choices.map(r=>this.calculatePartiallyAcceptedPositions(r.text).map(o=>({prefix:r.text.slice(0,o),suffix:r.text.slice(o),choiceIndex:r.index}))).flat().reduce((r,o)=>(r[o.prefix]=r[o.prefix]||[],r[o.prefix].push({suffix:o.suffix,choiceIndex:o.choiceIndex}),r),{});for(let r in s){let o={...e,text:e.text.slice(0,e.position)+r+e.text.slice(e.position),position:e.position+r.length},a={...n,choices:s[r].map(u=>({index:u.choiceIndex,text:u.suffix}))};i.push({key:o,value:a});}}return i}calculatePartiallyAcceptedPositions(e){let n=[],i=this.options.partiallyAcceptedCacheGeneration,s=qe(e),r=0,o=0;for(;rd.indexOf(f)===c).sort((f,c)=>f-c)}};pn();function pd(t,e,n){return Math.max(t,Math.min(e,n))}var hc=class{constructor(){this.logger=$e.child({component:"CompletionDebounce"});this.ongoing=null;this.lastCalledTimeStamp=0;this.baseInterval=200;this.calledIntervalHistory=[];this.options={baseIntervalSlideWindowAvg:{minSize:20,maxSize:100,min:100,max:400},adaptiveRate:{min:1.5,max:3},contextScoreWeights:{triggerCharacter:.5,noSuffixInCurrentLine:.4,noSuffix:.1},requestDelay:{min:100,max:1e3}};}debounce(e,n,i){if(e.manually)return this.renewPromise(0);if(n.mode==="fixed")return this.renewPromise(n.interval);let s=Date.now();this.updateBaseInterval(s-this.lastCalledTimeStamp),this.lastCalledTimeStamp=s;let r=this.calcContextScore(e),a=(this.options.adaptiveRate.max-(this.options.adaptiveRate.max-this.options.adaptiveRate.min)*r)*this.baseInterval,u=pd(this.options.requestDelay.min,this.options.requestDelay.max,a-i);return this.renewPromise(u)}renewPromise(e){return this.ongoing&&this.ongoing.cancel(),this.ongoing=new tt((n,i,s)=>{let r=setTimeout(()=>{n(!0);},Math.min(e,2147483647));s(()=>{clearTimeout(r);});}),this.ongoing}updateBaseInterval(e){if(!(e>this.options.baseIntervalSlideWindowAvg.max)&&(this.calledIntervalHistory.push(e),this.calledIntervalHistory.length>this.options.baseIntervalSlideWindowAvg.maxSize&&this.calledIntervalHistory.shift(),this.calledIntervalHistory.length>this.options.baseIntervalSlideWindowAvg.minSize)){let n=this.calledIntervalHistory.reduce((i,s)=>i+s,0)/this.calledIntervalHistory.length;this.baseInterval=pd(this.options.baseIntervalSlideWindowAvg.min,this.options.baseIntervalSlideWindowAvg.max,n);}}calcContextScore(e){let n=0,i=this.options.contextScoreWeights,s=e.text[e.position-1]??"";n+=s.match(/^\W*$/)?i.triggerCharacter:0;let r=e.text.slice(e.position)??"",o=qe(r)[0]??"";return n+=o.match(/^\W*$/)?i.noSuffixInCurrentLine:0,n+=r.match(/^\W*$/)?i.noSuffix:0,n=pd(0,1,n),n}};pn();var Lt=$e.child({component:"Postprocess"});function fd(t){let e=t.text.slice(0,t.position),n=t.text.slice(t.position),i=qe(e),s=qe(n);return {request:t,prefix:e,suffix:n,prefixLines:i,suffixLines:s}}Array.prototype.distinct||(Array.prototype.distinct=function(t){return [...new Map(this.map(e=>[t?.(e)??e,e])).values()]});function In(t){return async e=>(e.choices=(await Promise.all(e.choices.map(async n=>(n.text=await t(n.text),n)))).filter(n=>!!n.text).distinct(n=>n.text),e)}function qM(t){return /\n(\s*)\n/g}var hR=t=>e=>{let n=e.split(qM()),i=0,s=2,r=n.length-2;for(;r>=1;){if(Ce(n[r])){r--;continue}let o=r-1;for(;o>=0&&Ce(n[o]);)o--;if(o<0)break;let a=n[r].trim(),u=n[o].trim(),f=Math.max(3,.1*a.length,.1*u.length);if(ur(a,u)<=f)i++,r--;else break}return i>=s?(Lt.debug({inputBlocks:n,repetitionCount:i},"Remove repetitive blocks."),n.slice(0,r+1).join("").trimEnd()):e};var gR=()=>t=>{let e=qe(t),n=0,i=5,s=e.length-2;for(;s>=1;){if(Ce(e[s])){s--;continue}let r=s-1;for(;r>=0&&Ce(e[r]);)r--;if(r<0)break;let o=e[s].trim(),a=e[r].trim(),u=Math.max(3,.1*o.length,.1*a.length);if(ur(o,a)<=u)n++,s=r;else break}return n>=i?(Lt.debug({inputLines:e,repetitionCount:n},"Remove repetitive lines."),e.slice(0,s+1).join("").trimEnd()):t};var $M=[/(.{3,}?)\1{5,}$/g,/(.{10,}?)\1{3,}$/g],yR=()=>t=>{let e=qe(t),n=e.length-1;for(;n>=0&&Ce(e[n]);)n--;if(n<0)return t;for(let i of $M){let s=e[n].match(i);if(s)return Lt.debug({inputLines:e,lineNumber:n,match:s},"Remove line ends with repetition."),n<1?null:e.slice(0,n).join("").trimEnd()}return t};function si(t){return t.match(/^[ \t]*/)?.[0]?.length??0}function DM(t,e){return e>=t.length-1?!1:si(t[e])=0&&Ce(e[o]);)o--;if(o<0)return i;let a=e[o],u=si(a),f=t[0],c=Ce(f),d=0;for(;d=t.length)return i;let g=t[d],h;c?h=si(g):h=si(s+g),!c&&!r?(i.indentLevelLimit=u+1,i.allowClosingLine=!!t[1]&&si(t[1])>u):h>u?(i.indentLevelLimit=u+1,i.allowClosingLine=!0):he=>{let{prefix:n,suffix:i,prefixLines:s,suffixLines:r}=t,o=qe(e);if(BM(r)&&o.length>1)return Lt.debug({input:e,prefix:n,suffix:i},"Drop content with multiple lines"),null;let a=jM(o,s,r),u;for(u=1;ue=>{let n=t.request,i=n.text.slice(n.position);for(let s=Math.max(0,e.length-i.length);se=>{let{suffixLines:n}=t,i=qe(e),s=0;for(;st=>Ce(t)?null:t;async function wR(t,e){let n=fd(t);return Promise.resolve(e).then(In(yR())).then(In(vR(n))).then(In(bR(n))).then(In(dd()))}async function SR(t,e){let n=fd(t);return Promise.resolve(e).then(In(hR())).then(In(gR())).then(In(xR(n))).then(In(dd()))}pn();var AR="tabby-agent",_R="0.1.0-dev";xs();pn();var gc=class t{constructor(){this.anonymousUsageTrackingApi=new bi;this.logger=$e.child({component:"AnonymousUsage"});this.systemData={agent:`${AR}, ${_R}`,browser:void 0,node:`${process.version} ${process.platform} ${H("os").arch()} ${H("os").release()}`};this.properties={};this.emittedUniqueEvent=[];this.dataStore=null;}static async create(e){let n=new t;return n.dataStore=e.dataStore||ba,await n.checkAnonymousId(),n}async checkAnonymousId(){if(this.dataStore){try{await this.dataStore.load();}catch(e){this.logger.debug({error:e},"Error when loading anonymousId");}if(typeof this.dataStore.data.anonymousId=="string")this.anonymousId=this.dataStore.data.anonymousId;else {this.anonymousId=ci(),this.dataStore.data.anonymousId=this.anonymousId;try{await this.dataStore.save();}catch(e){this.logger.debug({error:e},"Error when saving anonymousId");}}}else this.anonymousId=ci();}addProperties(e){this.properties={...this.properties,...e};}async uniqueEvent(e,n={}){await this.event(e,n,!0);}async event(e,n={},i=!1){this.disabled||i&&this.emittedUniqueEvent.indexOf(e)>=0||await this.anonymousUsageTrackingApi.api.usage({distinctId:this.anonymousId,event:e,properties:{...this.systemData,...this.properties,...n}}).then(()=>{i&&this.emittedUniqueEvent.push(e);}).catch(s=>{this.logger.error({error:s},"Error when sending anonymous usage data");});}};pn();var RR={maxSize:50,stats:{total:t=>t.length,responses:t=>t.filter(e=>e.status===200).length,timeouts:t=>t.filter(e=>e.error?.isTimeoutError).length,averageResponseTime:t=>t.filter(e=>e.status===200).reduce((e,n)=>e+n.responseTime,0)/t.length},checks:[{name:"healthy",check:(t,e)=>t.slice(-5).every(i=>i.status===200&&i.responseTime<3e3)},{name:"highTimeoutRate",check:(t,e)=>e.total<3?!1:e.timeouts/e.total>.5},{name:"slowResponseTime",check:(t,e)=>e.responses<5?!1:e.averageResponseTime>4e3}]},yc=class extends bF.EventEmitter{constructor(n){super();this.logger=$e.child({component:"ResponseStats"});this.strategy={maxSize:0,stats:{},checks:[]};this.entries=[];this.strategy=n;}push(n){this.entries.push(n),this.entries.length>this.strategy.maxSize&&this.entries.shift();let i=this.stats();for(let s of this.strategy.checks)s.check(this.entries,i)&&(this.logger.debug({check:s.name,stats:i},"Check condition met"),this.emit(s.name,i));}stats(){let n={};for(let[i,s]of Object.entries(this.strategy.stats))n[i]=s(this.entries);return n}check(){let n=this.stats();for(let i of this.strategy.checks)if(i.check(this.entries,n))return i.name;return null}};var Xs=class Xs extends bF.EventEmitter{constructor(){super();this.logger=$e.child({component:"TabbyAgent"});this.config=Gf;this.userConfig={};this.clientConfig={};this.status="notInitialized";this.issues=[];this.serverHealthState=null;this.dataStore=null;this.completionCache=new mc;this.CompletionDebounce=new hc;this.tryingConnectTimer=null;this.completionResponseStats=new yc(RR);this.tryingConnectTimer=setInterval(async()=>{this.status==="disconnected"&&(this.logger.debug("Trying to connect..."),await this.healthCheck());},Xs.tryConnectInterval),this.completionResponseStats.on("healthy",()=>{this.popIssue("slowCompletionResponseTime"),this.popIssue("highCompletionTimeoutRate");}),this.completionResponseStats.on("highTimeoutRate",()=>{(this.status==="ready"||this.status==="issuesExist")&&(this.popIssue("slowCompletionResponseTime"),this.pushIssue("highCompletionTimeoutRate"));}),this.completionResponseStats.on("slowResponseTime",()=>{(this.status==="ready"||this.status==="issuesExist")&&(this.popIssue("highCompletionTimeoutRate"),this.pushIssue("slowCompletionResponseTime"));});}static async create(n){let i=new Xs;return i.dataStore=n?.dataStore,i.anonymousUsageLogger=await gc.create({dataStore:n?.dataStore}),i}async applyConfig(){this.config=ex(Gf,this.userConfig,this.clientConfig),Os.forEach(n=>n.level=this.config.logs.level),this.anonymousUsageLogger.disabled=this.config.anonymousUsageTracking.disable,this.config.server.requestHeaders.Authorization===void 0?this.config.server.endpoint!==this.auth?.endpoint&&(this.auth=await Na.create({endpoint:this.config.server.endpoint,dataStore:this.dataStore}),this.auth.on("updated",this.setupApi.bind(this))):this.auth=null,await this.setupApi();}async setupApi(){this.api=new hs({BASE:this.config.server.endpoint.replace(/\/+$/,""),TOKEN:this.auth?.token,HEADERS:this.config.server.requestHeaders}),await this.healthCheck();}changeStatus(n){if(this.status!=n){this.status=n;let i={event:"statusChanged",status:n};this.logger.debug({event:i},"Status changed"),super.emit("statusChanged",i),this.status==="unauthorized"&&this.emitAuthRequired(),this.status=="ready"&&this.anonymousUsageLogger.uniqueEvent("AgentConnected");}}issueWithDetails(n){switch(n){case"highCompletionTimeoutRate":return {name:"highCompletionTimeoutRate",completionResponseStats:this.completionResponseStats.stats()};case"slowCompletionResponseTime":return {name:"slowCompletionResponseTime",completionResponseStats:this.completionResponseStats.stats()}}}pushIssue(n){if(this.issues.indexOf(n)===-1){this.issues.push(n),this.changeStatus("issuesExist");let i={event:"newIssue",issue:this.issueWithDetails(n)};this.logger.debug({event:i},"New issue"),super.emit("newIssue",i);}}popIssue(n){this.issues=this.issues.filter(i=>i!==n),this.issues.length===0&&this.status==="issuesExist"&&this.changeStatus("ready");}emitAuthRequired(){let n={event:"authRequired",server:this.config.server};super.emit("authRequired",n);}callApi(n,i,s={timeout:this.config.server.requestTimeout}){return new tt((r,o,a)=>{let u=ci();this.logger.debug({requestId:u,api:n.name,request:i},"API request");let f=null,c=!1,d=n.call(this.api.v1,i),g=performance.now();d.then(h=>{this.logger.debug({requestId:u,api:n.name,response:h},"API response"),this.status!=="issuesExist"&&this.changeStatus("ready"),n.name==="completion"&&this.completionResponseStats.push({name:n.name,status:200,responseTime:performance.now()-g}),f&&clearTimeout(f),r(h);}).catch(h=>{h.isCancelled&&c||!h.isCancelled&&h.code==="ECONNABORTED"||h.name==="ApiError"&&[408,499].indexOf(h.status)!==-1?(h.isTimeoutError=!0,this.logger.debug({requestId:u,api:n.name,error:h},"API request timeout")):h.isCancelled?this.logger.debug({requestId:u,api:n.name,error:h},"API request cancelled"):h.name==="ApiError"&&[401,403,405].indexOf(h.status)!==-1&&new URL(this.config.server.endpoint).hostname.endsWith("app.tabbyml.com")&&this.config.server.requestHeaders.Authorization===void 0?(this.logger.debug({requestId:u,api:n.name,error:h},"API unauthorized"),this.changeStatus("unauthorized")):h.name==="ApiError"?(this.logger.error({requestId:u,api:n.name,error:h},"API error"),this.changeStatus("disconnected")):(this.logger.error({requestId:u,api:n.name,error:h},"API request failed with unknown error"),this.changeStatus("disconnected")),n.name==="completion"&&(h.isTimeoutError||!h.isCancelled)&&this.completionResponseStats.push({name:n.name,status:h.status,responseTime:performance.now()-g,error:h}),f&&clearTimeout(f),o(h);}),s.timeout&&s.timeout>0&&(f=setTimeout(()=>{this.logger.debug({api:n.name,timeout:s.timeout},"Cancel API request due to timeout"),c=!0,d.cancel();},Math.min(s.timeout,2147483647))),a(()=>{f&&clearTimeout(f),d.cancel();});})}healthCheck(){return this.callApi(this.api.v1.health,{}).then(n=>{this.serverHealthState=n;}).catch(()=>{})}createSegments(n){let i=this.config.completion.prompt.maxPrefixLines,s=this.config.completion.prompt.maxSuffixLines,r=n.text.slice(0,n.position),o=qe(r),a=n.text.slice(n.position),u=qe(a);return {prefix:o.slice(Math.max(o.length-i,0)).join(""),suffix:u.slice(0,s).join("")}}async initialize(n){return n.client&&(Os.forEach(i=>i.setBindings?.({client:n.client})),this.anonymousUsageLogger.addProperties({client:n.client})),Ar&&(await Ar.load(),this.userConfig=Ar.config,Ar.on("updated",async i=>{this.userConfig=i,await this.applyConfig();}),Ar.watch()),n.config&&(this.clientConfig=n.config),await this.applyConfig(),await this.anonymousUsageLogger.uniqueEvent("AgentInitialized"),this.logger.debug({options:n},"Initialized"),this.status!=="notInitialized"}async updateConfig(n,i){let s=rx(this.clientConfig,n);if(!(0, CR.default)(s,i)){i===void 0?ox(this.clientConfig,n):sx(this.clientConfig,n,i);let r=this.status;await this.applyConfig(),n.startsWith("server")&&(this.serverHealthState=null),n.startsWith("server")&&r==="unauthorized"&&this.status==="unauthorized"&&this.emitAuthRequired();let o={event:"configUpdated",config:this.config};this.logger.debug({event:o},"Config updated"),super.emit("configUpdated",o);}return !0}async clearConfig(n){return await this.updateConfig(n,void 0)}getConfig(){return this.config}getStatus(){return this.status}getIssues(){return this.issues.map(n=>this.issueWithDetails(n))}getServerHealthState(){return this.serverHealthState}requestAuthUrl(){return this.status==="notInitialized"?vi(Promise.reject("Agent is not initialized"),()=>{}):new tt(async(n,i,s)=>{let r;s(()=>{r?.cancel();}),await this.healthCheck(),!s.isCancelled&&(this.status==="unauthorized"&&(r=this.auth.requestAuthUrl(),n(r)),n(null));})}waitForAuthToken(n){if(this.status==="notInitialized")return vi(Promise.reject("Agent is not initialized"),()=>{});let i=this.auth.pollingToken(n);return vi(i.then(()=>this.setupApi()),()=>{i.cancel();})}provideCompletions(n){if(this.status==="notInitialized")return vi(Promise.reject("Agent is not initialized"),()=>{});let i=[];return vi(Promise.resolve(null).then(async s=>{if(s)return s;if(this.completionCache.has(n)){this.logger.debug({request:n},"Completion cache hit");let r=this.CompletionDebounce.debounce(n,this.config.completion.debounce,0);return i.push(r),await r,this.completionCache.get(n)}return null}).then(async s=>{if(s)return s;let r=this.createSegments(n);if(Ce(r.prefix))return this.logger.debug("Segment prefix is blank, returning empty completion response"),{id:"agent-"+ci(),choices:[]};let o=this.CompletionDebounce.debounce(n,this.config.completion.debounce,this.completionResponseStats.stats().averageResponseTime);i.push(o),await o;let a=this.callApi(this.api.v1.completion,{language:n.language,segments:r,user:this.auth?.user},{timeout:n.manually?this.config.completion.timeout.manually:this.config.completion.timeout.auto});i.push(a);let u=await a;return u=await wR(n,u),this.completionCache.set(n,u),u}).then(async s=>SR(n,s)),()=>{i.forEach(s=>s.cancel());})}postEvent(n){return this.status==="notInitialized"?vi(Promise.reject("Agent is not initialized"),()=>{}):this.callApi(this.api.v1.event,n)}};Xs.tryConnectInterval=1e3*30;var xc=Xs;var TR=["statusChanged","configUpdated","authRequired","newIssue"];pn();var vc=class{constructor(){this.inStream=process.stdin;this.outStream=process.stdout;this.logger=$e.child({component:"StdIO"});this.buffer="";this.ongoingRequests={};this.agent=null;}handleInput(e){let n=e.toString();this.buffer+=n;let i=qe(this.buffer);if(!(i.length<1)){i[i.length-1].endsWith(` `)?this.buffer="":this.buffer=i.pop();for(let s of i){let r=null;try{r=JSON.parse(s);}catch(o){this.logger.error({error:o},`Failed to parse request: ${s}`);continue}this.logger.debug({request:r},"Received request"),this.handleRequest(r).then(o=>{this.sendResponse(o),this.logger.debug({response:o},"Sent response");});}}}async handleRequest(e){let n=[0,null];try{if(!this.agent)throw new Error(`Agent not bound. -`);n[0]=e[0];let i=e[1].func;if(i==="cancelRequest")n[1]=this.cancelRequest(e);else {let s=this.agent[i];if(!s)throw new Error(`Unknown function: ${i}`);let r=s.apply(this.agent,e[1].args);typeof r=="object"&&typeof r.then=="function"?(this.ongoingRequests[e[0]]=r,n[1]=await r,delete this.ongoingRequests[e[0]]):n[1]=r;}}catch(i){this.logger.error({error:i,request:e},"Failed to handle request");}finally{return n}}cancelRequest(e){let n=this.ongoingRequests[e[1].args[0]];return n?(n instanceof at&&n.cancel(),delete this.ongoingRequests[e[1].args[0]],!0):!1}sendResponse(e){this.outStream.write(JSON.stringify(e)+` -`);}bind(e){this.agent=e;for(let n of RR)this.agent.on(n,i=>{this.sendResponse([0,i]);});}listen(){this.inStream.on("data",this.handleInput.bind(this));}};var CR=new xc;yc.create().then(t=>{CR.bind(t),CR.listen();}); +`);n[0]=e[0];let i=e[1].func;if(i==="cancelRequest")n[1]=this.cancelRequest(e);else {let s=this.agent[i];if(!s)throw new Error(`Unknown function: ${i}`);let r=s.apply(this.agent,e[1].args);typeof r=="object"&&typeof r.then=="function"?(this.ongoingRequests[e[0]]=r,n[1]=await r,delete this.ongoingRequests[e[0]]):n[1]=r;}}catch(i){this.logger.error({error:i,request:e},"Failed to handle request");}finally{return n}}cancelRequest(e){let n=this.ongoingRequests[e[1].args[0]];return n?(n instanceof tt&&n.cancel(),delete this.ongoingRequests[e[1].args[0]],!0):!1}sendResponse(e){this.outStream.write(JSON.stringify(e)+` +`);}bind(e){this.agent=e;for(let n of TR)this.agent.on(n,i=>{this.sendResponse([0,i]);});}listen(){this.inStream.on("data",this.handleInput.bind(this));}};var OR=new vc;xc.create().then(t=>{OR.bind(t),OR.listen();}); /*! Bundled license information: mime-db/index.js: diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/CheckIssueDetail.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/CheckIssueDetail.kt new file mode 100644 index 0000000..aa168fe --- /dev/null +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/CheckIssueDetail.kt @@ -0,0 +1,94 @@ +package com.tabbyml.intellijtabby.actions + +import com.intellij.openapi.actionSystem.ActionUpdateThread +import com.intellij.openapi.actionSystem.AnAction +import com.intellij.openapi.actionSystem.AnActionEvent +import com.intellij.openapi.application.invokeLater +import com.intellij.openapi.components.service +import com.intellij.openapi.diagnostic.Logger +import com.intellij.openapi.ui.Messages +import com.tabbyml.intellijtabby.agent.Agent +import com.tabbyml.intellijtabby.agent.AgentService +import kotlinx.coroutines.launch + +class CheckIssueDetail : AnAction() { + private val logger = Logger.getInstance(CheckIssueDetail::class.java) + + override fun actionPerformed(e: AnActionEvent) { + val agentService = service() + agentService.issueNotification?.expire() + + agentService.scope.launch { + val detail = agentService.getCurrentIssueDetail() ?: return@launch + val serverHealthState = agentService.getServerHealthState() + logger.info("Show issue detail: $detail, $serverHealthState") + val title = when (detail["name"]) { + "slowCompletionResponseTime" -> "Completion Requests Appear to Take Too Much Time" + "highCompletionTimeoutRate" -> "Most Completion Requests Timed Out" + else -> return@launch + } + val message = buildDetailMessage(detail, serverHealthState) + invokeLater { + Messages.showInfoMessage(message, title) + } + } + } + + private fun buildDetailMessage(detail: Map, serverHealthState: Map?): String { + val stats = detail["completionResponseStats"] as Map<*, *>? + val statsMessages = when (detail["name"]) { + "slowCompletionResponseTime" -> if (stats != null && stats["responses"] is Number && stats["averageResponseTime"] is Number) { + val response = (stats["responses"] as Number).toInt() + val averageResponseTime = (stats["averageResponseTime"] as Number).toInt() + "The average response time of recent $response completion requests is $averageResponseTime ms.\n\n" + } else { + "" + } + + "highCompletionTimeoutRate" -> if (stats != null && stats["total"] is Number && stats["timeouts"] is Number) { + val timeout = (stats["timeouts"] as Number).toInt() + val total = (stats["total"] as Number).toInt() + "$timeout of $total completion requests timed out.\n\n" + } else { + "" + } + + else -> "" + } + + val device = serverHealthState?.get("device") as String? ?: "" + val model = serverHealthState?.get("model") as String? ?: "" + val helpMessageForRunningLargeModelOnCPU = if (device == "cpu" && model.endsWith("B")) { + """ + Your Tabby server is running model $model on CPU. + This model is too large to run on CPU, please try a smaller model or switch to GPU. + You can find supported model list by search TabbyML on HuggingFace. + """ + } else { + "" + } + var helpMessage = "" + if (helpMessageForRunningLargeModelOnCPU.isNotEmpty()) { + helpMessage += helpMessageForRunningLargeModelOnCPU + "\n\n" + helpMessage += "Other possible causes of this issue are: \n" + } else { + helpMessage += "Possible causes of this issue are: \n"; + } + helpMessage += " - A poor network connection. Please check your network and proxy settings.\n"; + helpMessage += " - Server overload. Please contact your Tabby server administrator for assistance.\n"; + if (helpMessageForRunningLargeModelOnCPU.isEmpty()) { + helpMessage += " - The running model $model is too large to run on your Tabby server. "; + helpMessage += "Please try a smaller model. You can find supported model list by search TabbyML on HuggingFace.\n"; + } + return statsMessages + helpMessage + } + + override fun update(e: AnActionEvent) { + val agentService = service() + e.presentation.isVisible = agentService.status.value == Agent.Status.ISSUES_EXIST + } + + override fun getActionUpdateThread(): ActionUpdateThread { + return ActionUpdateThread.BGT + } +} \ No newline at end of file diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/OpenAuthPage.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/OpenAuthPage.kt index c3d2d21..bfefa22 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/OpenAuthPage.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/OpenAuthPage.kt @@ -13,10 +13,13 @@ import com.tabbyml.intellijtabby.agent.AgentService import kotlinx.coroutines.Job import kotlinx.coroutines.launch -open class OpenAuthPage : AnAction() { +class OpenAuthPage : AnAction() { private val logger = Logger.getInstance(OpenAuthPage::class.java) override fun actionPerformed(e: AnActionEvent) { + val agentService = service() + agentService.authNotification?.expire() + val task = object : Task.Modal( e.project, "Tabby Server Authorization", @@ -24,7 +27,6 @@ open class OpenAuthPage : AnAction() { ) { lateinit var job: Job override fun run(indicator: ProgressIndicator) { - val agentService = service() job = agentService.scope.launch { agentService.requestAuth(indicator) } diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/TriggerCompletion.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/TriggerCompletion.kt index 66417af..e1ef3b1 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/TriggerCompletion.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/actions/TriggerCompletion.kt @@ -13,7 +13,7 @@ class TriggerCompletion : AnAction() { val completionScheduler = service() val editor = e.getRequiredData(CommonDataKeys.EDITOR) val offset = editor.caretModel.primaryCaret.offset - completionScheduler.schedule(editor, offset, triggerDelay = 0, manually = true) + completionScheduler.schedule(editor, offset, manually = true) } override fun update(e: AnActionEvent) { diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt index 06f43a9..c4f3b00 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/Agent.kt @@ -33,12 +33,15 @@ class Agent : ProcessAdapter() { READY, DISCONNECTED, UNAUTHORIZED, + ISSUES_EXIST, } private val statusFlow = MutableStateFlow(Status.NOT_INITIALIZED) val status = statusFlow.asStateFlow() private val authRequiredEventFlow = MutableSharedFlow(extraBufferCapacity = 1) val authRequiredEvent = authRequiredEventFlow.asSharedFlow() + private val currentIssueFlow = MutableStateFlow(null) + val currentIssue = currentIssueFlow.asStateFlow() open class AgentException(message: String) : Exception(message) @@ -81,20 +84,38 @@ class Agent : ProcessAdapter() { val anonymousUsageTracking: AnonymousUsageTracking? = null, ) { data class Server( - val endpoint: String, + val endpoint: String? = null, + val requestHeaders: Map? = null, + val requestTimeout: Int? = null, ) data class Completion( - val maxPrefixLines: Int, - val maxSuffixLines: Int, - ) + val prompt: Prompt? = null, + val debounce: Debounce? = null, + val timeout: Timeout? = null, + ) { + data class Prompt( + val maxPrefixLines: Int? = null, + val maxSuffixLines: Int? = null, + ) + + data class Debounce( + val mode: String? = null, + val interval: Int? = null, + ) + + data class Timeout( + val auto: Int? = null, + val manually: Int? = null, + ) + } data class Logs( - val level: String, + val level: String? = null, ) data class AnonymousUsageTracking( - val disabled: Boolean, + val disabled: Boolean? = null, ) } @@ -109,8 +130,20 @@ class Agent : ProcessAdapter() { ) } - suspend fun updateConfig(config: Config): Boolean { - return request("updateConfig", listOf(config)) + suspend fun updateConfig(key: String, config: Any): Boolean { + return request("updateConfig", listOf(key, config)) + } + + suspend fun clearConfig(key: String): Boolean { + return request("clearConfig", listOf(key)) + } + + suspend fun getIssues(): List> { + return request("getIssues", listOf()) + } + + suspend fun getServerHealthState(): Map? { + return request("getServerHealthState", listOf()) } data class CompletionRequest( @@ -118,6 +151,7 @@ class Agent : ProcessAdapter() { val language: String, val text: String, val position: Int, + val manually: Boolean?, ) data class CompletionResponse( @@ -130,8 +164,16 @@ class Agent : ProcessAdapter() { ) } - suspend fun getCompletions(request: CompletionRequest): CompletionResponse? { - return request("getCompletions", listOf(request)) + suspend fun requestAuthUrl(): AuthUrlResponse? { + return request("requestAuthUrl", listOf()) + } + + suspend fun waitForAuthToken(code: String) { + return request("waitForAuthToken", listOf(code)) + } + + suspend fun provideCompletions(request: CompletionRequest): CompletionResponse? { + return request("provideCompletions", listOf(request)) } data class LogEventRequest( @@ -148,7 +190,7 @@ class Agent : ProcessAdapter() { } } - suspend fun postEvent(event: LogEventRequest): Boolean { + suspend fun postEvent(event: LogEventRequest) { return request("postEvent", listOf(event)) } @@ -157,14 +199,6 @@ class Agent : ProcessAdapter() { val code: String, ) - suspend fun requestAuthUrl(): AuthUrlResponse? { - return request("requestAuthUrl", listOf()) - } - - suspend fun waitForAuthToken(code: String) { - return request("waitForAuthToken", listOf(code)) - } - fun close() { streamWriter.close() process.killProcess() @@ -245,8 +279,12 @@ class Agent : ProcessAdapter() { "ready" -> Status.READY "disconnected" -> Status.DISCONNECTED "unauthorized" -> Status.UNAUTHORIZED + "issuesExist" -> Status.ISSUES_EXIST else -> Status.NOT_INITIALIZED } + if (statusFlow.value !== Status.ISSUES_EXIST) { + currentIssueFlow.value = null + } } "configUpdated" -> { @@ -258,6 +296,11 @@ class Agent : ProcessAdapter() { authRequiredEventFlow.tryEmit(Unit) } + "newIssue" -> { + logger.info("Agent notification $event") + currentIssueFlow.value = (event["issue"] as Map<*, *>)["name"] as String? + } + else -> { logger.error("Agent notification, unknown event name: ${event["event"]}") } diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/AgentService.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/AgentService.kt index a77f0c1..637c14f 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/AgentService.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/agent/AgentService.kt @@ -7,6 +7,7 @@ import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.notification.Notifications import com.intellij.openapi.Disposable +import com.intellij.openapi.actionSystem.ActionManager import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.application.ApplicationInfo import com.intellij.openapi.application.ReadAction @@ -34,7 +35,12 @@ class AgentService : Disposable { private val logger = Logger.getInstance(AgentService::class.java) private var agent: Agent = Agent() val scope: CoroutineScope = CoroutineScope(Dispatchers.IO) + var authNotification: Notification? = null + private set + var issueNotification: Notification? = null + private set val status get() = agent.status + val currentIssue get() = agent.currentIssue init { val settings = service() @@ -51,21 +57,26 @@ class AgentService : Disposable { logger.info("Agent init done.") } catch (e: Exception) { logger.error("Agent init failed: $e") - anonymousUsageLogger.event("IntelliJInitFailed", mapOf( - "client" to client, - "error" to e.stackTraceToString() - )) + anonymousUsageLogger.event( + "IntelliJInitFailed", mapOf( + "client" to client, "error" to e.stackTraceToString() + ) + ) } } scope.launch { settings.state.collect { - updateConfig(createAgentConfig(it)) + if (it.serverEndpoint.isNotBlank()) { + updateConfig("server.endpoint", it.serverEndpoint) + } else { + clearConfig("server.endpoint") + } + updateConfig("anonymousUsageTracking.disable", it.isAnonymousUsageTrackingDisabled) } } scope.launch { - logger.info("Add authRequired event listener.") agent.authRequiredEvent.collect { logger.info("Will show auth required notification.") val notification = Notification( @@ -73,18 +84,31 @@ class AgentService : Disposable { "Authorization required for Tabby server", NotificationType.WARNING, ) - notification.addAction(object : OpenAuthPage() { - init { - getTemplatePresentation().text = "Open Authorization Page..." - getTemplatePresentation().description = "Open the authorization web page in your web browser." - } - - override fun actionPerformed(e: AnActionEvent) { - notification.expire() - super.actionPerformed(e) - } - }) + notification.addAction(ActionManager.getInstance().getAction("Tabby.OpenAuthPage")) invokeLater { + authNotification?.expire() + authNotification = notification + Notifications.Bus.notify(notification) + } + } + } + + scope.launch { + agent.currentIssue.collect { issueName -> + val content = when (issueName) { + "slowCompletionResponseTime" -> "Completion requests appear to take too much time" + "highCompletionTimeoutRate" -> "Most completion requests timed out" + else -> return@collect + } + val notification = Notification( + "com.tabbyml.intellijtabby.notification.warning", + content, + NotificationType.WARNING, + ) + notification.addAction(ActionManager.getInstance().getAction("Tabby.CheckIssueDetail")) + invokeLater { + issueNotification?.expire() + issueNotification = notification Notifications.Bus.notify(notification) } } @@ -114,24 +138,30 @@ class AgentService : Disposable { agent.status.first { it != Agent.Status.NOT_INITIALIZED } } - private suspend fun updateConfig(config: Agent.Config) { + private suspend fun updateConfig(key: String, config: Any) { waitForInitialized() - agent.updateConfig(config) + agent.updateConfig(key, config) } - suspend fun getCompletion(editor: Editor, offset: Int): Agent.CompletionResponse? { + private suspend fun clearConfig(key: String) { + waitForInitialized() + agent.clearConfig(key) + } + + suspend fun provideCompletion(editor: Editor, offset: Int, manually: Boolean = false): Agent.CompletionResponse? { waitForInitialized() return ReadAction.compute { editor.project?.let { project -> PsiDocumentManager.getInstance(project).getPsiFile(editor.document) } }?.let { file -> - agent.getCompletions( + agent.provideCompletions( Agent.CompletionRequest( file.virtualFile.path, file.getLanguageId(), editor.document.text, - offset + offset, + manually, ) ) } @@ -166,16 +196,26 @@ class AgentService : Disposable { } } else { Notification( - "com.tabbyml.intellijtabby.notification.info", - "You are already authorized.", - NotificationType.INFORMATION + "com.tabbyml.intellijtabby.notification.info", "You are already authorized.", NotificationType.INFORMATION ) } invokeLater { + authNotification?.expire() + authNotification = notification Notifications.Bus.notify(notification) } } + suspend fun getCurrentIssueDetail(): Map? { + waitForInitialized() + return agent.getIssues().firstOrNull { it["name"] == currentIssue.value } + } + + suspend fun getServerHealthState(): Map? { + waitForInitialized() + return agent.getServerHealthState() + } + override fun dispose() { agent.close() } @@ -183,15 +223,16 @@ class AgentService : Disposable { companion object { // Language id: https://code.visualstudio.com/docs/languages/identifiers private fun PsiFile.getLanguageId(): String { - if (this.language != Language.ANY - && this.language.id.toLowerCasePreservingASCIIRules() !in arrayOf("txt", "text", "textmate") + if (this.language != Language.ANY && this.language.id.toLowerCasePreservingASCIIRules() !in arrayOf( + "txt", + "text", + "textmate" + ) ) { if (languageIdMap.containsKey(this.language.id)) { return languageIdMap[this.language.id]!! } - return this.language.id.toLowerCasePreservingASCIIRules() - .replace("#", "sharp") - .replace("++", "pp") + return this.language.id.toLowerCasePreservingASCIIRules().replace("#", "sharp").replace("++", "pp") .replace(" ", "") } return if (filetypeMap.containsKey(this.fileType.defaultExtension)) { diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/CompletionScheduler.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/CompletionScheduler.kt index f792e16..4b22d10 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/CompletionScheduler.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/editor/CompletionScheduler.kt @@ -7,7 +7,6 @@ import com.intellij.openapi.editor.Editor import com.tabbyml.intellijtabby.agent.AgentService import com.tabbyml.intellijtabby.settings.ApplicationSettingsState import kotlinx.coroutines.Job -import kotlinx.coroutines.delay import kotlinx.coroutines.launch @Service @@ -19,7 +18,7 @@ class CompletionScheduler { var scheduled: CompletionContext? = null private set - fun schedule(editor: Editor, offset: Int, triggerDelay: Long = 150, manually: Boolean = false) { + fun schedule(editor: Editor, offset: Int, manually: Boolean = false) { val agentService = service() val inlineCompletionService = service() val settings = service() @@ -28,14 +27,10 @@ class CompletionScheduler { if (!manually && !settings.isAutoCompletionEnabled) { return@launch } - logger.info("Schedule completion at $offset after $triggerDelay ms.") - delay(triggerDelay) - if (!manually && !settings.isAutoCompletionEnabled) { - return@launch - } logger.info("Trigger completion at $offset") - agentService.getCompletion(editor, offset)?.let { + agentService.provideCompletion(editor, offset, manually)?.let { + logger.info("Show completion at $offset: $it") inlineCompletionService.show(editor, offset, it) } } diff --git a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/status/StatusBarWidgetFactory.kt b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/status/StatusBarWidgetFactory.kt index 3ec0af0..3c71b40 100644 --- a/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/status/StatusBarWidgetFactory.kt +++ b/clients/intellij/src/main/kotlin/com/tabbyml/intellijtabby/status/StatusBarWidgetFactory.kt @@ -40,10 +40,10 @@ class StatusBarWidgetFactory : StatusBarEditorBasedWidgetFactory() { val settings = service() val agentService = service() updateStatusScope.launch { - settings.state.combine(agentService.status) { settings, agentStatus -> - Pair(settings, agentStatus) + combine(settings.state, agentService.status, agentService.currentIssue) { settings, agentStatus, currentIssue -> + Triple(settings, agentStatus, currentIssue) }.collect { - updateStatus(it.first, it.second) + updateStatus(it.first, it.second, it.third) } } } @@ -73,6 +73,7 @@ class StatusBarWidgetFactory : StatusBarEditorBasedWidgetFactory() { val actionManager = ActionManager.getInstance() return arrayOf( actionManager.getAction("Tabby.OpenAuthPage"), + actionManager.getAction("Tabby.CheckIssueDetail"), actionManager.getAction("Tabby.ToggleAutoCompletionEnabled"), actionManager.getAction("Tabby.OpenSettings"), ) @@ -85,7 +86,7 @@ class StatusBarWidgetFactory : StatusBarEditorBasedWidgetFactory() { ) } - private fun updateStatus(settingsState: ApplicationSettingsState.State, agentStatus: Agent.Status) { + private fun updateStatus(settingsState: ApplicationSettingsState.State, agentStatus: Agent.Status, currentIssue: String?) { if (!settingsState.isAutoCompletionEnabled) { icon = AllIcons.Windows.CloseSmall tooltip = "Tabby: Auto completion is disabled" @@ -107,6 +108,14 @@ class StatusBarWidgetFactory : StatusBarEditorBasedWidgetFactory() { icon = AllIcons.General.Warning tooltip = "Tabby: Requires authorization" } + Agent.Status.ISSUES_EXIST -> { + icon = AllIcons.General.Warning + tooltip = when(currentIssue) { + "slowCompletionResponseTime" -> "Tabby: Completion requests appear to take too much time" + "highCompletionTimeoutRate" -> "Tabby: Most completion requests timed out" + else -> "Tabby: Issues exist" + } + } } } invokeLater { diff --git a/clients/intellij/src/main/resources/META-INF/plugin.xml b/clients/intellij/src/main/resources/META-INF/plugin.xml index 5f6d96a..6fb62c4 100644 --- a/clients/intellij/src/main/resources/META-INF/plugin.xml +++ b/clients/intellij/src/main/resources/META-INF/plugin.xml @@ -88,6 +88,11 @@ text="Open Authorization Page..." description="Open the authorization web page in your web browser."> + +