tabby/clients/vim/node_scripts/tabby-agent.js

177 lines
418 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#!/bin/env node
'use strict';
var child_process = require('child_process');
var Pt = require('zlib');
var Mn = require('stream');
var fs = require('fs');
var promises = require('fs/promises');
var path = require('path');
var pT = require('util');
var fT = require('events');
var Kb = require('crypto');
var oO = require('url');
var uT = require('http');
var lT = require('https');
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
var Pt__default = /*#__PURE__*/_interopDefault(Pt);
var Mn__default = /*#__PURE__*/_interopDefault(Mn);
var pT__default = /*#__PURE__*/_interopDefault(pT);
var fT__default = /*#__PURE__*/_interopDefault(fT);
var Kb__default = /*#__PURE__*/_interopDefault(Kb);
var oO__default = /*#__PURE__*/_interopDefault(oO);
var uT__default = /*#__PURE__*/_interopDefault(uT);
var lT__default = /*#__PURE__*/_interopDefault(lT);
var Ub=Object.create;var yi=Object.defineProperty;var zb=Object.getOwnPropertyDescriptor;var $b=Object.getOwnPropertyNames;var Mb=Object.getPrototypeOf,Wb=Object.prototype.hasOwnProperty;var Hb=(t,e,n)=>e in t?yi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var _=(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 new Error('Dynamic require of "'+t+'" is not supported')});var Gb=(t,e)=>()=>(t&&(e=t(t=0)),e);var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Vb=(t,e)=>{for(var n in e)yi(t,n,{get:e[n],enumerable:!0});},Nu=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of $b(e))!Wb.call(t,r)&&r!==n&&yi(t,r,{get:()=>e[r],enumerable:!(i=zb(e,r))||i.enumerable});return t};var tt=(t,e,n)=>(n=t!=null?Ub(Mb(t)):{},Nu(e||!t||!t.__esModule?yi(n,"default",{value:t,enumerable:!0}):n,t)),Jb=t=>Nu(yi({},"__esModule",{value:!0}),t);var U=(t,e,n)=>(Hb(t,typeof e!="symbol"?e+"":e,n),n),la=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var m=(t,e,n)=>(la(t,e,"read from private field"),n?n.call(t):e.get(t)),N=(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);},F=(t,e,n,i)=>(la(t,e,"write to private field"),i?i.call(t,n):e.set(t,n),n),dr=(t,e,n,i)=>({set _(r){F(t,e,r,n);},get _(){return m(t,e,i)}}),j=(t,e,n)=>(la(t,e,"access private method"),n);var da=g((kq,$u)=>{var zu=Object.prototype.toString;$u.exports=function(e){var n=zu.call(e),i=n==="[object Arguments]";return i||(i=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&zu.call(e.callee)==="[object Function]"),i};});var Xu=g((Cq,Yu)=>{var Ku;Object.keys||(xi=Object.prototype.hasOwnProperty,ma=Object.prototype.toString,Mu=da(),ha=Object.prototype.propertyIsEnumerable,Wu=!ha.call({toString:null},"toString"),Hu=ha.call(function(){},"prototype"),gi=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],yr=function(t){var e=t.constructor;return e&&e.prototype===t},Gu={$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},Vu=function(){if(typeof window>"u")return !1;for(var t in window)try{if(!Gu["$"+t]&&xi.call(window,t)&&window[t]!==null&&typeof window[t]=="object")try{yr(window[t]);}catch{return !0}}catch{return !0}return !1}(),Ju=function(t){if(typeof window>"u"||!Vu)return yr(t);try{return yr(t)}catch{return !1}},Ku=function(e){var n=e!==null&&typeof e=="object",i=ma.call(e)==="[object Function]",r=Mu(e),o=n&&ma.call(e)==="[object String]",a=[];if(!n&&!i&&!r)throw new TypeError("Object.keys called on a non-object");var s=Hu&&i;if(o&&e.length>0&&!xi.call(e,0))for(var c=0;c<e.length;++c)a.push(String(c));if(r&&e.length>0)for(var l=0;l<e.length;++l)a.push(String(l));else for(var u in e)!(s&&u==="prototype")&&xi.call(e,u)&&a.push(String(u));if(Wu)for(var p=Ju(e),h=0;h<gi.length;++h)!(p&&gi[h]==="constructor")&&xi.call(e,gi[h])&&a.push(gi[h]);return a});var xi,ma,Mu,ha,Wu,Hu,gi,yr,Gu,Vu,Ju;Yu.exports=Ku;});var gr=g((_q,el)=>{var Qb=Array.prototype.slice,Zb=da(),Qu=Object.keys,xr=Qu?function(e){return Qu(e)}:Xu(),Zu=Object.keys;xr.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 Zb(i)?Zu(Qb.call(i)):Zu(i)});}else Object.keys=xr;return Object.keys||xr};el.exports=xr;});var vr=g((Fq,tl)=>{tl.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 r=42;e[n]=r;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 o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return !1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,n);if(a.value!==r||a.enumerable!==!0)return !1}return !0};});var ya=g((Pq,il)=>{var nl=typeof Symbol<"u"&&Symbol,ew=vr();il.exports=function(){return typeof nl!="function"||typeof Symbol!="function"||typeof nl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ew()};});var al=g((qq,ol)=>{var rl={foo:{}},tw=Object;ol.exports=function(){return {__proto__:rl}.foo===rl.foo&&!({__proto__:null}instanceof tw)};});var cl=g((jq,sl)=>{var nw="Function.prototype.bind called on incompatible ",xa=Array.prototype.slice,iw=Object.prototype.toString,rw="[object Function]";sl.exports=function(e){var n=this;if(typeof n!="function"||iw.call(n)!==rw)throw new TypeError(nw+n);for(var i=xa.call(arguments,1),r,o=function(){if(this instanceof r){var u=n.apply(this,i.concat(xa.call(arguments)));return Object(u)===u?u:this}else return n.apply(e,i.concat(xa.call(arguments)))},a=Math.max(0,n.length-i.length),s=[],c=0;c<a;c++)s.push("$"+c);if(r=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(o),n.prototype){var l=function(){};l.prototype=n.prototype,r.prototype=new l,l.prototype=null;}return r};});var br=g((Bq,ul)=>{var ow=cl();ul.exports=Function.prototype.bind||ow;});var pl=g((Iq,ll)=>{var aw=br();ll.exports=aw.call(Function.call,Object.prototype.hasOwnProperty);});var xt=g((Lq,yl)=>{var G,Tn=SyntaxError,hl=Function,On=TypeError,ga=function(t){try{return hl('"use strict"; return ('+t+").constructor;")()}catch{}},Jt=Object.getOwnPropertyDescriptor;var va=function(){throw new On},sw=Jt?function(){try{return va}catch{try{return Jt(arguments,"callee").get}catch{return va}}}():va,En=ya()(),cw=al()(),ae=Object.getPrototypeOf||(cw?function(t){return t.__proto__}:null),An={},uw=typeof Uint8Array>"u"||!ae?G:ae(Uint8Array),Kt={"%AggregateError%":typeof AggregateError>"u"?G:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?G:ArrayBuffer,"%ArrayIteratorPrototype%":En&&ae?ae([][Symbol.iterator]()):G,"%AsyncFromSyncIteratorPrototype%":G,"%AsyncFunction%":An,"%AsyncGenerator%":An,"%AsyncGeneratorFunction%":An,"%AsyncIteratorPrototype%":An,"%Atomics%":typeof Atomics>"u"?G:Atomics,"%BigInt%":typeof BigInt>"u"?G:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?G:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?G:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?G:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?G:Float32Array,"%Float64Array%":typeof Float64Array>"u"?G:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?G:FinalizationRegistry,"%Function%":hl,"%GeneratorFunction%":An,"%Int8Array%":typeof Int8Array>"u"?G:Int8Array,"%Int16Array%":typeof Int16Array>"u"?G:Int16Array,"%Int32Array%":typeof Int32Array>"u"?G:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":En&&ae?ae(ae([][Symbol.iterator]())):G,"%JSON%":typeof JSON=="object"?JSON:G,"%Map%":typeof Map>"u"?G:Map,"%MapIteratorPrototype%":typeof Map>"u"||!En||!ae?G:ae(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?G:Promise,"%Proxy%":typeof Proxy>"u"?G:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?G:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?G:Set,"%SetIteratorPrototype%":typeof Set>"u"||!En||!ae?G:ae(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?G:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":En&&ae?ae(""[Symbol.iterator]()):G,"%Symbol%":En?Symbol:G,"%SyntaxError%":Tn,"%ThrowTypeError%":sw,"%TypedArray%":uw,"%TypeError%":On,"%Uint8Array%":typeof Uint8Array>"u"?G:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?G:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?G:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?G:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?G:WeakMap,"%WeakRef%":typeof WeakRef>"u"?G:WeakRef,"%WeakSet%":typeof WeakSet>"u"?G:WeakSet};var lw=function t(e){var n;if(e==="%AsyncFunction%")n=ga("async function () {}");else if(e==="%GeneratorFunction%")n=ga("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=ga("async function* () {}");else if(e==="%AsyncGenerator%"){var i=t("%AsyncGeneratorFunction%");i&&(n=i.prototype);}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&ae&&(n=ae(r.prototype));}return Kt[e]=n,n},dl={"%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"]},vi=br(),wr=pl(),pw=vi.call(Function.call,Array.prototype.concat),fw=vi.call(Function.apply,Array.prototype.splice),ml=vi.call(Function.call,String.prototype.replace),Sr=vi.call(Function.call,String.prototype.slice),dw=vi.call(Function.call,RegExp.prototype.exec),mw=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,hw=/\\(\\)?/g,yw=function(e){var n=Sr(e,0,1),i=Sr(e,-1);if(n==="%"&&i!=="%")throw new Tn("invalid intrinsic syntax, expected closing `%`");if(i==="%"&&n!=="%")throw new Tn("invalid intrinsic syntax, expected opening `%`");var r=[];return ml(e,mw,function(o,a,s,c){r[r.length]=s?ml(c,hw,"$1"):a||o;}),r},xw=function(e,n){var i=e,r;if(wr(dl,i)&&(r=dl[i],i="%"+r[0]+"%"),wr(Kt,i)){var o=Kt[i];if(o===An&&(o=lw(i)),typeof o>"u"&&!n)throw new On("intrinsic "+e+" exists, but is not available. Please file an issue!");return {alias:r,name:i,value:o}}throw new Tn("intrinsic "+e+" does not exist!")};yl.exports=function(e,n){if(typeof e!="string"||e.length===0)throw new On("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new On('"allowMissing" argument must be a boolean');if(dw(/^%?[^%]*%?$/,e)===null)throw new Tn("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=yw(e),r=i.length>0?i[0]:"",o=xw("%"+r+"%",n),a=o.name,s=o.value,c=!1,l=o.alias;l&&(r=l[0],fw(i,pw([0,1],l)));for(var u=1,p=!0;u<i.length;u+=1){var h=i[u],f=Sr(h,0,1),d=Sr(h,-1);if((f==='"'||f==="'"||f==="`"||d==='"'||d==="'"||d==="`")&&f!==d)throw new Tn("property names with quotes must have matching quotes");if((h==="constructor"||!p)&&(c=!0),r+="."+h,a="%"+r+"%",wr(Kt,a))s=Kt[a];else if(s!=null){if(!(h in s)){if(!n)throw new On("base intrinsic for "+e+" exists, but the property is not available.");return}if(Jt&&u+1>=i.length){var y=Jt(s,h);p=!!y,p&&"get"in y&&!("originalValue"in y.get)?s=y.get:s=s[h];}else p=wr(s,h),s=s[h];p&&!c&&(Kt[a]=s);}}return s};});var gl=g((Dq,xl)=>{var gw=xt(),ba=gw("%Object.defineProperty%",!0),wa=function(){if(ba)try{return ba({},"a",{value:1}),!0}catch{return !1}return !1};wa.hasArrayLengthDefineBug=function(){if(!wa())return null;try{return ba([],"length",{value:1}).length!==1}catch{return !0}};xl.exports=wa;});var Ot=g((Nq,Sl)=>{var vw=gr(),bw=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",ww=Object.prototype.toString,Sw=Array.prototype.concat,vl=Object.defineProperty,Ew=function(t){return typeof t=="function"&&ww.call(t)==="[object Function]"},Aw=gl()(),bl=vl&&Aw,Ow=function(t,e,n,i){if(e in t){if(i===!0){if(t[e]===n)return}else if(!Ew(i)||!i())return}bl?vl(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n;},wl=function(t,e){var n=arguments.length>2?arguments[2]:{},i=vw(e);bw&&(i=Sw.call(i,Object.getOwnPropertySymbols(e)));for(var r=0;r<i.length;r+=1)Ow(t,i[r],e[i[r]],n[i[r]]);};wl.supportsDescriptors=!!bl;Sl.exports=wl;});var kn=g((Uq,Er)=>{var Sa=br(),Rn=xt(),Ol=Rn("%Function.prototype.apply%"),Tl=Rn("%Function.prototype.call%"),Rl=Rn("%Reflect.apply%",!0)||Sa.call(Tl,Ol),El=Rn("%Object.getOwnPropertyDescriptor%",!0),Yt=Rn("%Object.defineProperty%",!0),Tw=Rn("%Math.max%");if(Yt)try{Yt({},"a",{value:1});}catch{Yt=null;}Er.exports=function(e){var n=Rl(Sa,Tl,arguments);if(El&&Yt){var i=El(n,"length");i.configurable&&Yt(n,"length",{value:1+Tw(0,e.length-(arguments.length-1))});}return n};var Al=function(){return Rl(Sa,Ol,arguments)};Yt?Yt(Er.exports,"apply",{value:Al}):Er.exports.apply=Al;});var Fe=g((zq,_l)=>{var kl=xt(),Cl=kn(),Rw=Cl(kl("String.prototype.indexOf"));_l.exports=function(e,n){var i=kl(e,!!n);return typeof i=="function"&&Rw(e,".prototype.")>-1?Cl(i):i};});var Ea=g(($q,Bl)=>{var kw=gr(),ql=vr()(),jl=Fe(),Fl=Object,Cw=jl("Array.prototype.push"),Pl=jl("Object.prototype.propertyIsEnumerable"),_w=ql?Object.getOwnPropertySymbols:null;Bl.exports=function(e,n){if(e==null)throw new TypeError("target must be an object");var i=Fl(e);if(arguments.length===1)return i;for(var r=1;r<arguments.length;++r){var o=Fl(arguments[r]),a=kw(o),s=ql&&(Object.getOwnPropertySymbols||_w);if(s)for(var c=s(o),l=0;l<c.length;++l){var u=c[l];Pl(o,u)&&Cw(a,u);}for(var p=0;p<a.length;++p){var h=a[p];if(Pl(o,h)){var f=o[h];i[h]=f;}}}return i};});var Oa=g((Mq,Il)=>{var Aa=Ea(),Fw=function(){if(!Object.assign)return !1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},i=0;i<e.length;++i)n[e[i]]=e[i];var r=Object.assign({},n),o="";for(var a in r)o+=a;return t!==o},Pw=function(){if(!Object.assign||!Object.preventExtensions)return !1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy");}catch{return t[1]==="y"}return !1};Il.exports=function(){return !Object.assign||Fw()||Pw()?Aa:Object.assign};});var Dl=g((Wq,Ll)=>{var qw=Ot(),jw=Oa();Ll.exports=function(){var e=jw();return qw(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e};});var $l=g((Hq,zl)=>{var Bw=Ot(),Iw=kn(),Lw=Ea(),Nl=Oa(),Dw=Dl(),Nw=Iw.apply(Nl()),Ul=function(e,n){return Nw(Object,arguments)};Bw(Ul,{getPolyfill:Nl,implementation:Lw,shim:Dw});zl.exports=Ul;});var Wl=g((Gq,Ml)=>{var wi=function(){return typeof function(){}.name=="string"},bi=Object.getOwnPropertyDescriptor;wi.functionsHaveConfigurableNames=function(){if(!wi()||!bi)return !1;var e=bi(function(){},"name");return !!e&&!!e.configurable};var Uw=Function.prototype.bind;wi.boundFunctionsHaveNames=function(){return wi()&&typeof Uw=="function"&&function(){}.bind().name!==""};Ml.exports=wi;});var Ra=g((Vq,Ta)=>{var zw=Wl().functionsHaveConfigurableNames(),$w=Object,Mw=TypeError;Ta.exports=function(){if(this!=null&&this!==$w(this))throw new Mw("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};zw&&Object.defineProperty&&Object.defineProperty(Ta.exports,"name",{value:"get flags"});});var ka=g((Jq,Hl)=>{var Ww=Ra(),Hw=Ot().supportsDescriptors,Gw=Object.getOwnPropertyDescriptor;Hl.exports=function(){if(Hw&&/a/mig.flags==="gim"){var e=Gw(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 Ww};});var Jl=g((Kq,Vl)=>{var Vw=Ot().supportsDescriptors,Jw=ka(),Kw=Object.getOwnPropertyDescriptor,Yw=Object.defineProperty,Xw=TypeError,Gl=Object.getPrototypeOf,Qw=/a/;Vl.exports=function(){if(!Vw||!Gl)throw new Xw("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Jw(),n=Gl(Qw),i=Kw(n,"flags");return (!i||i.get!==e)&&Yw(n,"flags",{configurable:!0,enumerable:!1,get:e}),e};});var Ql=g((Yq,Xl)=>{var Zw=Ot(),e0=kn(),t0=Ra(),Kl=ka(),n0=Jl(),Yl=e0(Kl());Zw(Yl,{getPolyfill:Kl,implementation:t0,shim:n0});Xl.exports=Yl;});var tp=g((Xq,ep)=>{var Zl=Symbol.iterator;ep.exports=function(e){if(e!=null&&typeof e[Zl]<"u")return e[Zl]()};});var ip=g((Qq,np)=>{np.exports=_("util").inspect;});var Ep=g((Zq,Sp)=>{var Da=typeof Map=="function"&&Map.prototype,Ca=Object.getOwnPropertyDescriptor&&Da?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Or=Da&&Ca&&typeof Ca.get=="function"?Ca.get:null,rp=Da&&Map.prototype.forEach,Na=typeof Set=="function"&&Set.prototype,_a=Object.getOwnPropertyDescriptor&&Na?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Tr=Na&&_a&&typeof _a.get=="function"?_a.get:null,op=Na&&Set.prototype.forEach,i0=typeof WeakMap=="function"&&WeakMap.prototype,Ei=i0?WeakMap.prototype.has:null,r0=typeof WeakSet=="function"&&WeakSet.prototype,Ai=r0?WeakSet.prototype.has:null,o0=typeof WeakRef=="function"&&WeakRef.prototype,ap=o0?WeakRef.prototype.deref:null,a0=Boolean.prototype.valueOf,s0=Object.prototype.toString,c0=Function.prototype.toString,u0=String.prototype.match,Ua=String.prototype.slice,Rt=String.prototype.replace,l0=String.prototype.toUpperCase,sp=String.prototype.toLowerCase,yp=RegExp.prototype.test,cp=Array.prototype.concat,nt=Array.prototype.join,p0=Array.prototype.slice,up=Math.floor,qa=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Fa=Object.getOwnPropertySymbols,ja=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Cn=typeof Symbol=="function"&&typeof Symbol.iterator=="object",me=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Cn||"symbol")?Symbol.toStringTag:null,xp=Object.prototype.propertyIsEnumerable,lp=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function pp(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||yp.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var i=t<0?-up(-t):up(t);if(i!==t){var r=String(i),o=Ua.call(e,r.length+1);return Rt.call(r,n,"$&_")+"."+Rt.call(Rt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Rt.call(e,n,"$&_")}var Ba=ip(),fp=Ba.custom,dp=vp(fp)?fp:null;Sp.exports=function t(e,n,i,r){var o=n||{};if(Tt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Tt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=Tt(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Tt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Tt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.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 wp(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return s?pp(e,c):c}if(typeof e=="bigint"){var l=String(e)+"n";return s?pp(e,l):l}var u=typeof o.depth>"u"?5:o.depth;if(typeof i>"u"&&(i=0),i>=u&&u>0&&typeof e=="object")return Ia(e)?"[Array]":"[Object]";var p=C0(o,i);if(typeof r>"u")r=[];else if(bp(r,e)>=0)return "[Circular]";function h(W,z,V){if(z&&(r=p0.call(r),r.push(z)),V){var K={depth:o.depth};return Tt(o,"quoteStyle")&&(K.quoteStyle=o.quoteStyle),t(W,K,i+1,r)}return t(W,o,i+1,r)}if(typeof e=="function"&&!mp(e)){var f=b0(e),d=Ar(e,h);return "[Function"+(f?": "+f:" (anonymous)")+"]"+(d.length>0?" { "+nt.call(d,", ")+" }":"")}if(vp(e)){var y=Cn?Rt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ja.call(e);return typeof e=="object"&&!Cn?Si(y):y}if(T0(e)){for(var v="<"+sp.call(String(e.nodeName)),b=e.attributes||[],w=0;w<b.length;w++)v+=" "+b[w].name+"="+gp(f0(b[w].value),"double",o);return v+=">",e.childNodes&&e.childNodes.length&&(v+="..."),v+="</"+sp.call(String(e.nodeName))+">",v}if(Ia(e)){if(e.length===0)return "[]";var A=Ar(e,h);return p&&!k0(A)?"["+La(A,p)+"]":"[ "+nt.call(A,", ")+" ]"}if(m0(e)){var O=Ar(e,h);return !("cause"in Error.prototype)&&"cause"in e&&!xp.call(e,"cause")?"{ ["+String(e)+"] "+nt.call(cp.call("[cause]: "+h(e.cause),O),", ")+" }":O.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+nt.call(O,", ")+" }"}if(typeof e=="object"&&a){if(dp&&typeof e[dp]=="function"&&Ba)return Ba(e,{depth:u-i});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(w0(e)){var k=[];return rp&&rp.call(e,function(W,z){k.push(h(z,e,!0)+" => "+h(W,e));}),hp("Map",Or.call(e),k,p)}if(A0(e)){var q=[];return op&&op.call(e,function(W){q.push(h(W,e));}),hp("Set",Tr.call(e),q,p)}if(S0(e))return Pa("WeakMap");if(O0(e))return Pa("WeakSet");if(E0(e))return Pa("WeakRef");if(y0(e))return Si(h(Number(e)));if(g0(e))return Si(h(qa.call(e)));if(x0(e))return Si(a0.call(e));if(h0(e))return Si(h(String(e)));if(!d0(e)&&!mp(e)){var L=Ar(e,h),D=lp?lp(e)===Object.prototype:e instanceof Object||e.constructor===Object,T=e instanceof Object?"":"null prototype",B=!D&&me&&Object(e)===e&&me in e?Ua.call(kt(e),8,-1):T?"Object":"",I=D||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",M=I+(B||T?"["+nt.call(cp.call([],B||[],T||[]),": ")+"] ":"");return L.length===0?M+"{}":p?M+"{"+La(L,p)+"}":M+"{ "+nt.call(L,", ")+" }"}return String(e)};function gp(t,e,n){var i=(n.quoteStyle||e)==="double"?'"':"'";return i+t+i}function f0(t){return Rt.call(String(t),/"/g,"&quot;")}function Ia(t){return kt(t)==="[object Array]"&&(!me||!(typeof t=="object"&&me in t))}function d0(t){return kt(t)==="[object Date]"&&(!me||!(typeof t=="object"&&me in t))}function mp(t){return kt(t)==="[object RegExp]"&&(!me||!(typeof t=="object"&&me in t))}function m0(t){return kt(t)==="[object Error]"&&(!me||!(typeof t=="object"&&me in t))}function h0(t){return kt(t)==="[object String]"&&(!me||!(typeof t=="object"&&me in t))}function y0(t){return kt(t)==="[object Number]"&&(!me||!(typeof t=="object"&&me in t))}function x0(t){return kt(t)==="[object Boolean]"&&(!me||!(typeof t=="object"&&me in t))}function vp(t){if(Cn)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return !0;if(!t||typeof t!="object"||!ja)return !1;try{return ja.call(t),!0}catch{}return !1}function g0(t){if(!t||typeof t!="object"||!qa)return !1;try{return qa.call(t),!0}catch{}return !1}var v0=Object.prototype.hasOwnProperty||function(t){return t in this};function Tt(t,e){return v0.call(t,e)}function kt(t){return s0.call(t)}function b0(t){if(t.name)return t.name;var e=u0.call(c0.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function bp(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return -1}function w0(t){if(!Or||!t||typeof t!="object")return !1;try{Or.call(t);try{Tr.call(t);}catch{return !0}return t instanceof Map}catch{}return !1}function S0(t){if(!Ei||!t||typeof t!="object")return !1;try{Ei.call(t,Ei);try{Ai.call(t,Ai);}catch{return !0}return t instanceof WeakMap}catch{}return !1}function E0(t){if(!ap||!t||typeof t!="object")return !1;try{return ap.call(t),!0}catch{}return !1}function A0(t){if(!Tr||!t||typeof t!="object")return !1;try{Tr.call(t);try{Or.call(t);}catch{return !0}return t instanceof Set}catch{}return !1}function O0(t){if(!Ai||!t||typeof t!="object")return !1;try{Ai.call(t,Ai);try{Ei.call(t,Ei);}catch{return !0}return t instanceof WeakSet}catch{}return !1}function T0(t){return !t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function wp(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return wp(Ua.call(t,0,e.maxStringLength),e)+i}var r=Rt.call(Rt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,R0);return gp(r,"single",e)}function R0(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":"")+l0.call(e.toString(16))}function Si(t){return "Object("+t+")"}function Pa(t){return t+" { ? }"}function hp(t,e,n,i){var r=i?La(n,i):nt.call(n,", ");return t+" ("+e+") {"+r+"}"}function k0(t){for(var e=0;e<t.length;e++)if(bp(t[e],`
`)>=0)return !1;return !0}function C0(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=nt.call(Array(t.indent+1)," ");else return null;return {base:n,prev:nt.call(Array(e+1),n)}}function La(t,e){if(t.length===0)return "";var n=`
`+e.prev+e.base;return n+nt.call(t,","+n)+`
`+e.prev}function Ar(t,e){var n=Ia(t),i=[];if(n){i.length=t.length;for(var r=0;r<t.length;r++)i[r]=Tt(t,r)?e(t[r],t):"";}var o=typeof Fa=="function"?Fa(t):[],a;if(Cn){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s];}for(var c in t)Tt(t,c)&&(n&&String(Number(c))===c&&c<t.length||Cn&&a["$"+c]instanceof Symbol||(yp.call(/[^\w$]/,c)?i.push(e(c,t)+": "+e(t[c],t)):i.push(c+": "+e(t[c],t))));if(typeof Fa=="function")for(var l=0;l<o.length;l++)xp.call(t,o[l])&&i.push("["+e(o[l])+"]: "+e(t[o[l]],t));return i}});var Op=g((ej,Ap)=>{var za=xt(),_n=Fe(),_0=Ep(),F0=za("%TypeError%"),Rr=za("%WeakMap%",!0),kr=za("%Map%",!0),P0=_n("WeakMap.prototype.get",!0),q0=_n("WeakMap.prototype.set",!0),j0=_n("WeakMap.prototype.has",!0),B0=_n("Map.prototype.get",!0),I0=_n("Map.prototype.set",!0),L0=_n("Map.prototype.has",!0),$a=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},D0=function(t,e){var n=$a(t,e);return n&&n.value},N0=function(t,e,n){var i=$a(t,e);i?i.value=n:t.next={key:e,next:t.next,value:n};},U0=function(t,e){return !!$a(t,e)};Ap.exports=function(){var e,n,i,r={assert:function(o){if(!r.has(o))throw new F0("Side channel does not contain "+_0(o))},get:function(o){if(Rr&&o&&(typeof o=="object"||typeof o=="function")){if(e)return P0(e,o)}else if(kr){if(n)return B0(n,o)}else if(i)return D0(i,o)},has:function(o){if(Rr&&o&&(typeof o=="object"||typeof o=="function")){if(e)return j0(e,o)}else if(kr){if(n)return L0(n,o)}else if(i)return U0(i,o);return !1},set:function(o,a){Rr&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Rr),q0(e,o,a)):kr?(n||(n=new kr),I0(n,o,a)):(i||(i={key:{},next:null}),N0(i,o,a));}};return r};});var Ma=g((tj,Rp)=>{var Tp=function(t){return t!==t};Rp.exports=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||Tp(e)&&Tp(n))};});var Wa=g((nj,kp)=>{var z0=Ma();kp.exports=function(){return typeof Object.is=="function"?Object.is:z0};});var _p=g((ij,Cp)=>{var $0=Wa(),M0=Ot();Cp.exports=function(){var e=$0();return M0(Object,{is:e},{is:function(){return Object.is!==e}}),e};});var jp=g((rj,qp)=>{var W0=Ot(),H0=kn(),G0=Ma(),Fp=Wa(),V0=_p(),Pp=H0(Fp(),Object);W0(Pp,{getPolyfill:Fp,implementation:G0,shim:V0});qp.exports=Pp;});var gt=g((oj,Bp)=>{var J0=vr();Bp.exports=function(){return J0()&&!!Symbol.toStringTag};});var Dp=g((aj,Lp)=>{var K0=gt()(),Y0=Fe(),Ha=Y0("Object.prototype.toString"),Cr=function(e){return K0&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Ha(e)==="[object Arguments]"},Ip=function(e){return Cr(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Ha(e)!=="[object Array]"&&Ha(e.callee)==="[object Function]"},X0=function(){return Cr(arguments)}();Cr.isLegacyArguments=Ip;Lp.exports=X0?Cr:Ip;});var Up=g((sj,Np)=>{var Q0={}.toString;Np.exports=Array.isArray||function(t){return Q0.call(t)=="[object Array]"};});var Wp=g((cj,Mp)=>{var $p=Function.prototype.toString,Fn=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Va,_r;if(typeof Fn=="function"&&typeof Object.defineProperty=="function")try{Va=Object.defineProperty({},"length",{get:function(){throw _r}}),_r={},Fn(function(){throw 42},null,Va);}catch(t){t!==_r&&(Fn=null);}else Fn=null;var Z0=/^\s*class\b/,Ja=function(e){try{var n=$p.call(e);return Z0.test(n)}catch{return !1}},Ga=function(e){try{return Ja(e)?!1:($p.call(e),!0)}catch{return !1}},Fr=Object.prototype.toString,eS="[object Object]",tS="[object Function]",nS="[object GeneratorFunction]",iS="[object HTMLAllCollection]",rS="[object HTML document.all class]",oS="[object HTMLCollection]",aS=typeof Symbol=="function"&&!!Symbol.toStringTag,sS=!(0 in[,]),Ka=function(){return !1};typeof document=="object"&&(zp=document.all,Fr.call(zp)===Fr.call(document.all)&&(Ka=function(e){if((sS||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=Fr.call(e);return (n===iS||n===rS||n===oS||n===eS)&&e("")==null}catch{}return !1}));var zp;Mp.exports=Fn?function(e){if(Ka(e))return !0;if(!e||typeof e!="function"&&typeof e!="object")return !1;try{Fn(e,null,Va);}catch(n){if(n!==_r)return !1}return !Ja(e)&&Ga(e)}:function(e){if(Ka(e))return !0;if(!e||typeof e!="function"&&typeof e!="object")return !1;if(aS)return Ga(e);if(Ja(e))return !1;var n=Fr.call(e);return n!==tS&&n!==nS&&!/^\[object HTML/.test(n)?!1:Ga(e)};});var Ya=g((uj,Gp)=>{var cS=Wp(),uS=Object.prototype.toString,Hp=Object.prototype.hasOwnProperty,lS=function(e,n,i){for(var r=0,o=e.length;r<o;r++)Hp.call(e,r)&&(i==null?n(e[r],r,e):n.call(i,e[r],r,e));},pS=function(e,n,i){for(var r=0,o=e.length;r<o;r++)i==null?n(e.charAt(r),r,e):n.call(i,e.charAt(r),r,e);},fS=function(e,n,i){for(var r in e)Hp.call(e,r)&&(i==null?n(e[r],r,e):n.call(i,e[r],r,e));},dS=function(e,n,i){if(!cS(n))throw new TypeError("iterator must be a function");var r;arguments.length>=3&&(r=i),uS.call(e)==="[object Array]"?lS(e,n,r):typeof e=="string"?pS(e,n,r):fS(e,n,r);};Gp.exports=dS;});var Qa=g((lj,Vp)=>{var Xa=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],mS=typeof globalThis>"u"?global:globalThis;Vp.exports=function(){for(var e=[],n=0;n<Xa.length;n++)typeof mS[Xa[n]]=="function"&&(e[e.length]=Xa[n]);return e};});var Za=g((pj,Jp)=>{var hS=xt(),Pr=hS("%Object.getOwnPropertyDescriptor%",!0);if(Pr)try{Pr([],"length");}catch{Pr=null;}Jp.exports=Pr;});var ns=g((fj,Zp)=>{var Kp=Ya(),yS=Qa(),ts=Fe(),xS=ts("Object.prototype.toString"),Yp=gt()(),qr=Za(),gS=typeof globalThis>"u"?global:globalThis,Xp=yS(),vS=ts("Array.prototype.indexOf",!0)||function(e,n){for(var i=0;i<e.length;i+=1)if(e[i]===n)return i;return -1},bS=ts("String.prototype.slice"),Qp={},es=Object.getPrototypeOf;Yp&&qr&&es&&Kp(Xp,function(t){var e=new gS[t];if(Symbol.toStringTag in e){var n=es(e),i=qr(n,Symbol.toStringTag);if(!i){var r=es(n);i=qr(r,Symbol.toStringTag);}Qp[t]=i.get;}});var wS=function(e){var n=!1;return Kp(Qp,function(i,r){if(!n)try{n=i.call(e)===r;}catch{}}),n};Zp.exports=function(e){if(!e||typeof e!="object")return !1;if(!Yp||!(Symbol.toStringTag in e)){var n=bS(xS(e),8,-1);return vS(Xp,n)>-1}return qr?wS(e):!1};});var is=g((dj,af)=>{var SS=kn(),ES=Fe(),of=xt(),AS=ns(),ef=of("ArrayBuffer",!0),tf=of("Float32Array",!0),jr=ES("ArrayBuffer.prototype.byteLength",!0),nf=ef&&!jr&&new ef().slice,rf=nf&&SS(nf);af.exports=jr||rf?function(e){if(!e||typeof e!="object")return !1;try{return jr?jr(e):rf(e,0),!0}catch{return !1}}:tf?function(e){try{return new tf(e).buffer===e&&!AS(e)}catch(n){return typeof e=="object"&&n.name==="RangeError"}}:function(e){return !1};});var cf=g((mj,sf)=>{var OS=Date.prototype.getDay,TS=function(e){try{return OS.call(e),!0}catch{return !1}},RS=Object.prototype.toString,kS="[object Date]",CS=gt()();sf.exports=function(e){return typeof e!="object"||e===null?!1:CS?TS(e):RS.call(e)===kS};});var df=g((hj,ff)=>{var rs=Fe(),uf=gt()(),lf,pf,os,as;uf&&(lf=rs("Object.prototype.hasOwnProperty"),pf=rs("RegExp.prototype.exec"),os={},Br=function(){throw os},as={toString:Br,valueOf:Br},typeof Symbol.toPrimitive=="symbol"&&(as[Symbol.toPrimitive]=Br));var Br,_S=rs("Object.prototype.toString"),FS=Object.getOwnPropertyDescriptor,PS="[object RegExp]";ff.exports=uf?function(e){if(!e||typeof e!="object")return !1;var n=FS(e,"lastIndex"),i=n&&lf(n,"value");if(!i)return !1;try{pf(e,as);}catch(r){return r===os}}:function(e){return !e||typeof e!="object"&&typeof e!="function"?!1:_S(e)===PS};});var yf=g((yj,hf)=>{var qS=Fe(),mf=qS("SharedArrayBuffer.prototype.byteLength",!0);hf.exports=mf?function(e){if(!e||typeof e!="object")return !1;try{return mf(e),!0}catch{return !1}}:function(e){return !1};});var gf=g((xj,xf)=>{var jS=String.prototype.valueOf,BS=function(e){try{return jS.call(e),!0}catch{return !1}},IS=Object.prototype.toString,LS="[object String]",DS=gt()();xf.exports=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:DS?BS(e):IS.call(e)===LS};});var bf=g((gj,vf)=>{var NS=Number.prototype.toString,US=function(e){try{return NS.call(e),!0}catch{return !1}},zS=Object.prototype.toString,$S="[object Number]",MS=gt()();vf.exports=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:MS?US(e):zS.call(e)===$S};});var Ef=g((vj,Sf)=>{var wf=Fe(),WS=wf("Boolean.prototype.toString"),HS=wf("Object.prototype.toString"),GS=function(e){try{return WS(e),!0}catch{return !1}},VS="[object Boolean]",JS=gt()();Sf.exports=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:JS&&Symbol.toStringTag in e?GS(e):HS(e)===VS};});var Rf=g((bj,ss)=>{var KS=Object.prototype.toString,YS=ya()();YS?(Af=Symbol.prototype.toString,Of=/^Symbol\(.*\)$/,Tf=function(e){return typeof e.valueOf()!="symbol"?!1:Of.test(Af.call(e))},ss.exports=function(e){if(typeof e=="symbol")return !0;if(KS.call(e)!=="[object Symbol]")return !1;try{return Tf(e)}catch{return !1}}):ss.exports=function(e){return !1};var Af,Of,Tf;});var _f=g((wj,Cf)=>{var kf=typeof BigInt<"u"&&BigInt;Cf.exports=function(){return typeof kf=="function"&&typeof BigInt=="function"&&typeof kf(42)=="bigint"&&typeof BigInt(42)=="bigint"};});var qf=g((Sj,cs)=>{var XS=_f()();XS?(Ff=BigInt.prototype.valueOf,Pf=function(e){try{return Ff.call(e),!0}catch{}return !1},cs.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:Pf(e)}):cs.exports=function(e){return !1};var Ff,Pf;});var Bf=g((Ej,jf)=>{var QS=gf(),ZS=bf(),eE=Ef(),tE=Rf(),nE=qf();jf.exports=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(QS(e))return "String";if(ZS(e))return "Number";if(eE(e))return "Boolean";if(tE(e))return "Symbol";if(nE(e))return "BigInt"};});var Nf=g((Aj,Df)=>{var us=typeof Map=="function"&&Map.prototype?Map:null,iE=typeof Set=="function"&&Set.prototype?Set:null,Ir;us||(Ir=function(e){return !1});var Lf=us?Map.prototype.has:null,If=iE?Set.prototype.has:null;!Ir&&!Lf&&(Ir=function(e){return !1});Df.exports=Ir||function(e){if(!e||typeof e!="object")return !1;try{if(Lf.call(e),If)try{If.call(e);}catch{return !0}return e instanceof us}catch{}return !1};});var Mf=g((Oj,$f)=>{var rE=typeof Map=="function"&&Map.prototype?Map:null,ls=typeof Set=="function"&&Set.prototype?Set:null,Lr;ls||(Lr=function(e){return !1});var Uf=rE?Map.prototype.has:null,zf=ls?Set.prototype.has:null;!Lr&&!zf&&(Lr=function(e){return !1});$f.exports=Lr||function(e){if(!e||typeof e!="object")return !1;try{if(zf.call(e),Uf)try{Uf.call(e);}catch{return !0}return e instanceof ls}catch{}return !1};});var Gf=g((Tj,Hf)=>{var Dr=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Wf=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Nr;Dr||(Nr=function(e){return !1});var fs=Dr?Dr.prototype.has:null,ps=Wf?Wf.prototype.has:null;!Nr&&!fs&&(Nr=function(e){return !1});Hf.exports=Nr||function(e){if(!e||typeof e!="object")return !1;try{if(fs.call(e,fs),ps)try{ps.call(e,ps);}catch{return !0}return e instanceof Dr}catch{}return !1};});var Jf=g((Rj,ms)=>{var oE=xt(),Vf=Fe(),aE=oE("%WeakSet%",!0),ds=Vf("WeakSet.prototype.has",!0);ds?(Ur=Vf("WeakMap.prototype.has",!0),ms.exports=function(e){if(!e||typeof e!="object")return !1;try{if(ds(e,ds),Ur)try{Ur(e,Ur);}catch{return !0}return e instanceof aE}catch{}return !1}):ms.exports=function(e){return !1};var Ur;});var Yf=g((kj,Kf)=>{var sE=Nf(),cE=Mf(),uE=Gf(),lE=Jf();Kf.exports=function(e){if(e&&typeof e=="object"){if(sE(e))return "Map";if(cE(e))return "Set";if(uE(e))return "WeakMap";if(lE(e))return "WeakSet"}return !1};});var id=g((Cj,nd)=>{var Qf=Ya(),pE=Qa(),Zf=Fe(),hs=Za(),fE=Zf("Object.prototype.toString"),ed=gt()(),Xf=typeof globalThis>"u"?global:globalThis,dE=pE(),mE=Zf("String.prototype.slice"),td={},ys=Object.getPrototypeOf;ed&&hs&&ys&&Qf(dE,function(t){if(typeof Xf[t]=="function"){var e=new Xf[t];if(Symbol.toStringTag in e){var n=ys(e),i=hs(n,Symbol.toStringTag);if(!i){var r=ys(n);i=hs(r,Symbol.toStringTag);}td[t]=i.get;}}});var hE=function(e){var n=!1;return Qf(td,function(i,r){if(!n)try{var o=i.call(e);o===r&&(n=o);}catch{}}),n},yE=ns();nd.exports=function(e){return yE(e)?!ed||!(Symbol.toStringTag in e)?mE(fE(e),8,-1):hE(e):!1};});var ad=g((_j,od)=>{var xE=Fe(),rd=xE("ArrayBuffer.prototype.byteLength",!0),gE=is();od.exports=function(e){return gE(e)?rd?rd(e):e.byteLength:NaN};});var vs=g((Fj,_d)=>{var Rd=$l(),it=Fe(),sd=Ql(),vE=xt(),Pn=tp(),bE=Op(),cd=jp(),ud=Dp(),ld=Up(),pd=is(),fd=cf(),dd=df(),md=yf(),hd=gr(),yd=Bf(),xd=Yf(),gd=id(),vd=ad(),bd=it("SharedArrayBuffer.prototype.byteLength",!0),wd=it("Date.prototype.getTime"),xs=Object.getPrototypeOf,Sd=it("Object.prototype.toString"),$r=vE("%Set%",!0),gs=it("Map.prototype.has",!0),Mr=it("Map.prototype.get",!0),Ed=it("Map.prototype.size",!0),Wr=it("Set.prototype.add",!0),kd=it("Set.prototype.delete",!0),Hr=it("Set.prototype.has",!0),zr=it("Set.prototype.size",!0);function Ad(t,e,n,i){for(var r=Pn(t),o;(o=r.next())&&!o.done;)if(Me(e,o.value,n,i))return kd(t,o.value),!0;return !1}function Cd(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 wE(t,e,n,i,r,o){var a=Cd(n);if(a!=null)return a;var s=Mr(e,a),c=Rd({},r,{strict:!1});return typeof s>"u"&&!gs(e,a)||!Me(i,s,c,o)?!1:!gs(t,a)&&Me(i,s,c,o)}function SE(t,e,n){var i=Cd(n);return i??(Hr(e,i)&&!Hr(t,i))}function Od(t,e,n,i,r,o){for(var a=Pn(t),s,c;(s=a.next())&&!s.done;)if(c=s.value,Me(n,c,r,o)&&Me(i,Mr(e,c),r,o))return kd(t,c),!0;return !1}function Me(t,e,n,i){var r=n||{};if(r.strict?cd(t,e):t===e)return !0;var o=yd(t),a=yd(e);if(o!==a)return !1;if(!t||!e||typeof t!="object"&&typeof e!="object")return r.strict?cd(t,e):t==e;var s=i.has(t),c=i.has(e),l;if(s&&c){if(i.get(t)===i.get(e))return !0}else l={};return s||i.set(t,l),c||i.set(e,l),OE(t,e,r,i)}function Td(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 EE(t,e,n,i){if(zr(t)!==zr(e))return !1;for(var r=Pn(t),o=Pn(e),a,s,c;(a=r.next())&&!a.done;)if(a.value&&typeof a.value=="object")c||(c=new $r),Wr(c,a.value);else if(!Hr(e,a.value)){if(n.strict||!SE(t,e,a.value))return !1;c||(c=new $r),Wr(c,a.value);}if(c){for(;(s=o.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!Ad(c,s.value,n.strict,i))return !1}else if(!n.strict&&!Hr(t,s.value)&&!Ad(c,s.value,n.strict,i))return !1;return zr(c)===0}return !0}function AE(t,e,n,i){if(Ed(t)!==Ed(e))return !1;for(var r=Pn(t),o=Pn(e),a,s,c,l,u,p;(a=r.next())&&!a.done;)if(l=a.value[0],u=a.value[1],l&&typeof l=="object")c||(c=new $r),Wr(c,l);else if(p=Mr(e,l),typeof p>"u"&&!gs(e,l)||!Me(u,p,n,i)){if(n.strict||!wE(t,e,l,u,n,i))return !1;c||(c=new $r),Wr(c,l);}if(c){for(;(s=o.next())&&!s.done;)if(l=s.value[0],p=s.value[1],l&&typeof l=="object"){if(!Od(c,t,l,p,n,i))return !1}else if(!n.strict&&(!t.has(l)||!Me(Mr(t,l),p,n,i))&&!Od(c,t,l,p,Rd({},n,{strict:!1}),i))return !1;return zr(c)===0}return !0}function OE(t,e,n,i){var r,o;if(typeof t!=typeof e||t==null||e==null||Sd(t)!==Sd(e)||ud(t)!==ud(e))return !1;var a=ld(t),s=ld(e);if(a!==s)return !1;var c=t instanceof Error,l=e instanceof Error;if(c!==l||(c||l)&&(t.name!==e.name||t.message!==e.message))return !1;var u=dd(t),p=dd(e);if(u!==p||(u||p)&&(t.source!==e.source||sd(t)!==sd(e)))return !1;var h=fd(t),f=fd(e);if(h!==f||(h||f)&&wd(t)!==wd(e)||n.strict&&xs&&xs(t)!==xs(e))return !1;var d=gd(t),y=gd(e);if((d||y)&&d!==y)return !1;var v=Td(t),b=Td(e);if(v!==b)return !1;if(v||b){if(t.length!==e.length)return !1;for(r=0;r<t.length;r++)if(t[r]!==e[r])return !1;return !0}var w=pd(t),A=pd(e);if(w!==A)return !1;if(w||A)return vd(t)!==vd(e)?!1:typeof Uint8Array=="function"&&Me(new Uint8Array(t),new Uint8Array(e),n,i);var O=md(t),k=md(e);if(O!==k)return !1;if(O||k)return bd(t)!==bd(e)?!1:typeof Uint8Array=="function"&&Me(new Uint8Array(t),new Uint8Array(e),n,i);if(typeof t!=typeof e)return !1;var q=hd(t),L=hd(e);if(q.length!==L.length)return !1;for(q.sort(),L.sort(),r=q.length-1;r>=0;r--)if(q[r]!=L[r])return !1;for(r=q.length-1;r>=0;r--)if(o=q[r],!Me(t[o],e[o],n,i))return !1;var D=xd(t),T=xd(e);return D!==T?!1:D==="Set"||T==="Set"?EE(t,e,n,i):D==="Map"?AE(t,e,n,i):!0}_d.exports=function(e,n,i){return Me(e,n,i,bE())};});var jd=g((Pj,qd)=>{var TE=function(e){return RE(e)&&!kE(e)};function RE(t){return !!t&&typeof t=="object"}function kE(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||FE(t)}var CE=typeof Symbol=="function"&&Symbol.for,_E=CE?Symbol.for("react.element"):60103;function FE(t){return t.$$typeof===_E}function PE(t){return Array.isArray(t)?[]:{}}function Oi(t,e){return e.clone!==!1&&e.isMergeableObject(t)?qn(PE(t),t,e):t}function qE(t,e,n){return t.concat(e).map(function(i){return Oi(i,n)})}function jE(t,e){if(!e.customMerge)return qn;var n=e.customMerge(t);return typeof n=="function"?n:qn}function BE(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Fd(t){return Object.keys(t).concat(BE(t))}function Pd(t,e){try{return e in t}catch{return !1}}function IE(t,e){return Pd(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function LE(t,e,n){var i={};return n.isMergeableObject(t)&&Fd(t).forEach(function(r){i[r]=Oi(t[r],n);}),Fd(e).forEach(function(r){IE(t,r)||(Pd(t,r)&&n.isMergeableObject(e[r])?i[r]=jE(r,n)(t[r],e[r],n):i[r]=Oi(e[r],n));}),i}function qn(t,e,n){n=n||{},n.arrayMerge=n.arrayMerge||qE,n.isMergeableObject=n.isMergeableObject||TE,n.cloneUnlessOtherwiseSpecified=Oi;var i=Array.isArray(e),r=Array.isArray(t),o=i===r;return o?i?n.arrayMerge(t,e,n):LE(t,e,n):Oi(e,n)}qn.all=function(e,n){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,r){return qn(i,r,n)},{})};var DE=qn;qd.exports=DE;});var Jd=g((Nj,Vd)=>{var Gd=_("stream").Stream,vA=_("util");Vd.exports=We;function We(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[];}vA.inherits(We,Gd);We.create=function(t,e){var n=new this;e=e||{};for(var i in e)n[i]=e[i];n.source=t;var r=t.emit;return t.emit=function(){return n._handleEmit(arguments),r.apply(t,arguments)},t.on("error",function(){}),n.pauseStream&&t.pause(),n};Object.defineProperty(We.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});We.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};We.prototype.resume=function(){this._released||this.release(),this.source.resume();};We.prototype.pause=function(){this.source.pause();};We.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t);}.bind(this)),this._bufferedEvents=[];};We.prototype.pipe=function(){var t=Gd.prototype.pipe.apply(this,arguments);return this.resume(),t};We.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);};We.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 Qd=g((Uj,Xd)=>{var bA=_("util"),Yd=_("stream").Stream,Kd=Jd();Xd.exports=ee;function ee(){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;}bA.inherits(ee,Yd);ee.create=function(t){var e=new this;t=t||{};for(var n in t)e[n]=t[n];return e};ee.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};ee.prototype.append=function(t){var e=ee.isStreamLike(t);if(e){if(!(t instanceof Kd)){var n=Kd.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};ee.prototype.pipe=function(t,e){return Yd.prototype.pipe.call(this,t,e),this.resume(),t};ee.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;}};ee.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=ee.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n);}.bind(this));};ee.prototype._pipeNext=function(t){this._currentStream=t;var e=ee.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();};ee.prototype._handleErrors=function(t){var e=this;t.on("error",function(n){e._emitError(n);});};ee.prototype.write=function(t){this.emit("data",t);};ee.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"));};ee.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");};ee.prototype.end=function(){this._reset(),this.emit("end");};ee.prototype.destroy=function(){this._reset(),this.emit("close");};ee.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null;};ee.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t));}};ee.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);};ee.prototype._emitError=function(t){this._reset(),this.emit("error",t);};});var Zd=g((zj,wA)=>{wA.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 tm=g(($j,em)=>{em.exports=Zd();});var rm=g(we=>{var Yr=tm(),SA=_("path").extname,nm=/^\s*([^;\s]*)(?:;|\s|$)/,EA=/^text\//i;we.charset=im;we.charsets={lookup:im};we.contentType=AA;we.extension=OA;we.extensions=Object.create(null);we.lookup=TA;we.types=Object.create(null);RA(we.extensions,we.types);function im(t){if(!t||typeof t!="string")return !1;var e=nm.exec(t),n=e&&Yr[e[1].toLowerCase()];return n&&n.charset?n.charset:e&&EA.test(e[1])?"UTF-8":!1}function AA(t){if(!t||typeof t!="string")return !1;var e=t.indexOf("/")===-1?we.lookup(t):t;if(!e)return !1;if(e.indexOf("charset")===-1){var n=we.charset(e);n&&(e+="; charset="+n.toLowerCase());}return e}function OA(t){if(!t||typeof t!="string")return !1;var e=nm.exec(t),n=e&&we.extensions[e[1].toLowerCase()];return !n||!n.length?!1:n[0]}function TA(t){if(!t||typeof t!="string")return !1;var e=SA("x."+t).toLowerCase().substr(1);return e&&we.types[e]||!1}function RA(t,e){var n=["nginx","apache",void 0,"iana"];Object.keys(Yr).forEach(function(r){var o=Yr[r],a=o.extensions;if(!(!a||!a.length)){t[r]=a;for(var s=0;s<a.length;s++){var c=a[s];if(e[c]){var l=n.indexOf(Yr[e[c]].source),u=n.indexOf(o.source);if(e[c]!=="application/octet-stream"&&(l>u||l===u&&e[c].substr(0,12)==="application/"))continue}e[c]=r;}}});}});var am=g((Wj,om)=>{om.exports=kA;function kA(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0);}});var Es=g((Hj,cm)=>{var sm=am();cm.exports=CA;function CA(t){var e=!1;return sm(function(){e=!0;}),function(i,r){e?t(i,r):sm(function(){t(i,r);});}}});var As=g((Gj,um)=>{um.exports=_A;function _A(t){Object.keys(t.jobs).forEach(FA.bind(t)),t.jobs={};}function FA(t){typeof this.jobs[t]=="function"&&this.jobs[t]();}});var Os=g((Vj,pm)=>{var lm=Es(),PA=As();pm.exports=qA;function qA(t,e,n,i){var r=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[r]=jA(e,r,t[r],function(o,a){r in n.jobs&&(delete n.jobs[r],o?PA(n):n.results[r]=a,i(o,n.results));});}function jA(t,e,n,i){var r;return t.length==2?r=t(n,lm(i)):r=t(n,e,lm(i)),r}});var Ts=g((Jj,fm)=>{fm.exports=BA;function BA(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(r,o){return e(t[r],t[o])}),i}});var Rs=g((Kj,dm)=>{var IA=As(),LA=Es();dm.exports=DA;function DA(t){Object.keys(this.jobs).length&&(this.index=this.size,IA(this),LA(t)(null,this.results));}});var hm=g((Yj,mm)=>{var NA=Os(),UA=Ts(),zA=Rs();mm.exports=$A;function $A(t,e,n){for(var i=UA(t);i.index<(i.keyedList||t).length;)NA(t,e,i,function(r,o){if(r){n(r,o);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return zA.bind(i,n)}});var ks=g((Xj,Xr)=>{var ym=Os(),MA=Ts(),WA=Rs();Xr.exports=HA;Xr.exports.ascending=xm;Xr.exports.descending=GA;function HA(t,e,n,i){var r=MA(t,n);return ym(t,e,r,function o(a,s){if(a){i(a,s);return}if(r.index++,r.index<(r.keyedList||t).length){ym(t,e,r,o);return}i(null,r.results);}),WA.bind(r,i)}function xm(t,e){return t<e?-1:t>e?1:0}function GA(t,e){return -1*xm(t,e)}});var vm=g((Qj,gm)=>{var VA=ks();gm.exports=JA;function JA(t,e,n){return VA(t,e,null,n)}});var wm=g((Zj,bm)=>{bm.exports={parallel:hm(),serial:vm(),serialOrdered:ks()};});var Em=g((eB,Sm)=>{Sm.exports=function(t,e){return Object.keys(e).forEach(function(n){t[n]=t[n]||e[n];}),t};});var qs=g((tB,Om)=>{var Ps=Qd(),Am=_("util"),Cs=_("path"),KA=_("http"),YA=_("https"),XA=_("url").parse,QA=_("fs"),ZA=_("stream").Stream,_s=rm(),eO=wm(),Fs=Em();Om.exports=J;Am.inherits(J,Ps);function J(t){if(!(this instanceof J))return new J(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Ps.call(this),t=t||{};for(var e in t)this[e]=t[e];}J.LINE_BREAK=`\r
`;J.DEFAULT_CONTENT_TYPE="application/octet-stream";J.prototype.append=function(t,e,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=Ps.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),Am.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,n),o=this._multiPartFooter();i(r),i(e),i(o),this._trackLength(r,e,n);};J.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)+J.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof ZA))&&(n.knownLength||this._valuesToMeasure.push(e));};J.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)):QA.stat(t.path,function(n,i){var r;if(n){e(n);return}r=i.size-(t.start?t.start:0),e(null,r);}):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");};J.prototype._multiPartHeader=function(t,e,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(e,n),r=this._getContentType(e,n),o="",a={"Content-Disposition":["form-data",'name="'+t+'"'].concat(i||[]),"Content-Type":[].concat(r||[])};typeof n.header=="object"&&Fs(a,n.header);var s;for(var c in a)a.hasOwnProperty(c)&&(s=a[c],s!=null&&(Array.isArray(s)||(s=[s]),s.length&&(o+=c+": "+s.join("; ")+J.LINE_BREAK)));return "--"+this.getBoundary()+J.LINE_BREAK+o+J.LINE_BREAK};J.prototype._getContentDisposition=function(t,e){var n,i;return typeof e.filepath=="string"?n=Cs.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t.name||t.path?n=Cs.basename(e.filename||t.name||t.path):t.readable&&t.hasOwnProperty("httpVersion")&&(n=Cs.basename(t.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};J.prototype._getContentType=function(t,e){var n=e.contentType;return !n&&t.name&&(n=_s.lookup(t.name)),!n&&t.path&&(n=_s.lookup(t.path)),!n&&t.readable&&t.hasOwnProperty("httpVersion")&&(n=t.headers["content-type"]),!n&&(e.filepath||e.filename)&&(n=_s.lookup(e.filepath||e.filename)),!n&&typeof t=="object"&&(n=J.DEFAULT_CONTENT_TYPE),n};J.prototype._multiPartFooter=function(){return function(t){var e=J.LINE_BREAK,n=this._streams.length===0;n&&(e+=this._lastBoundary()),t(e);}.bind(this)};J.prototype._lastBoundary=function(){return "--"+this.getBoundary()+"--"+J.LINE_BREAK};J.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};J.prototype.setBoundary=function(t){this._boundary=t;};J.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};J.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?t=Buffer.concat([t,this._streams[n]]):t=Buffer.concat([t,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(J.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};J.prototype._generateBoundary=function(){for(var t="--------------------------",e=0;e<24;e++)t+=Math.floor(Math.random()*10).toString(16);this._boundary=t;};J.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};J.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};J.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}eO.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){t(n);return}i.forEach(function(r){e+=r;}),t(null,e);});};J.prototype.submit=function(t,e){var n,i,r={method:"post"};return typeof t=="string"?(t=XA(t),i=Fs({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(i=Fs(t,r),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(t.headers),i.protocol=="https:"?n=YA.request(i):n=KA.request(i),this.getLength(function(o,a){if(o&&o!=="Unknown stream"){this._error(o);return}if(a&&n.setHeader("Content-Length",a),this.pipe(n),e){var s,c=function(l,u){return n.removeListener("error",c),n.removeListener("response",s),e.call(this,l,u)};s=c.bind(this,null),n.on("error",c),n.on("response",s);}}.bind(this)),n};J.prototype._error=function(t){this.error||(this.error=t,this.pause(),this.emit("error",t));};J.prototype.toString=function(){return "[object FormData]"};});var Dm=g(Lm=>{var yO=_("url").parse,xO={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},gO=String.prototype.endsWith||function(t){return t.length<=this.length&&this.indexOf(t,this.length-t.length)!==-1};function vO(t){var e=typeof t=="string"?yO(t):t||{},n=e.protocol,i=e.host,r=e.port;if(typeof i!="string"||!i||typeof n!="string"||(n=n.split(":",1)[0],i=i.replace(/:\d*$/,""),r=parseInt(r)||xO[n]||0,!bO(i,r)))return "";var o=Nn("npm_config_"+n+"_proxy")||Nn(n+"_proxy")||Nn("npm_config_proxy")||Nn("all_proxy");return o&&o.indexOf("://")===-1&&(o=n+"://"+o),o}function bO(t,e){var n=(Nn("npm_config_no_proxy")||Nn("no_proxy")).toLowerCase();return n?n==="*"?!1:n.split(/[,\s]/).every(function(i){if(!i)return !0;var r=i.match(/^(.+):(\d+)$/),o=r?r[1]:i,a=r?parseInt(r[2]):0;return a&&a!==e?!0:/^[.*]/.test(o)?(o.charAt(0)==="*"&&(o=o.slice(1)),!gO.call(t,o)):t!==o}):!0}function Nn(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}Lm.getProxyForUrl=vO;});var Um=g((iI,Nm)=>{var Un=1e3,zn=Un*60,$n=zn*60,Zt=$n*24,wO=Zt*7,SO=Zt*365.25;Nm.exports=function(t,e){e=e||{};var n=typeof t;if(n==="string"&&t.length>0)return EO(t);if(n==="number"&&isFinite(t))return e.long?OO(t):AO(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function EO(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*SO;case"weeks":case"week":case"w":return n*wO;case"days":case"day":case"d":return n*Zt;case"hours":case"hour":case"hrs":case"hr":case"h":return n*$n;case"minutes":case"minute":case"mins":case"min":case"m":return n*zn;case"seconds":case"second":case"secs":case"sec":case"s":return n*Un;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function AO(t){var e=Math.abs(t);return e>=Zt?Math.round(t/Zt)+"d":e>=$n?Math.round(t/$n)+"h":e>=zn?Math.round(t/zn)+"m":e>=Un?Math.round(t/Un)+"s":t+"ms"}function OO(t){var e=Math.abs(t);return e>=Zt?no(t,e,Zt,"day"):e>=$n?no(t,e,$n,"hour"):e>=zn?no(t,e,zn,"minute"):e>=Un?no(t,e,Un,"second"):t+" ms"}function no(t,e,n,i){var r=e>=n*1.5;return Math.round(t/n)+" "+i+(r?"s":"")}});var zs=g((rI,zm)=>{function TO(t){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=r,n.enabled=a,n.humanize=Um(),n.destroy=l,Object.keys(t).forEach(u=>{n[u]=t[u];}),n.names=[],n.skips=[],n.formatters={};function e(u){let p=0;for(let h=0;h<u.length;h++)p=(p<<5)-p+u.charCodeAt(h),p|=0;return n.colors[Math.abs(p)%n.colors.length]}n.selectColor=e;function n(u){let p,h=null,f,d;function y(...v){if(!y.enabled)return;let b=y,w=Number(new Date),A=w-(p||w);b.diff=A,b.prev=p,b.curr=w,p=w,v[0]=n.coerce(v[0]),typeof v[0]!="string"&&v.unshift("%O");let O=0;v[0]=v[0].replace(/%([a-zA-Z%])/g,(q,L)=>{if(q==="%%")return "%";O++;let D=n.formatters[L];if(typeof D=="function"){let T=v[O];q=D.call(b,T),v.splice(O,1),O--;}return q}),n.formatArgs.call(b,v),(b.log||n.log).apply(b,v);}return y.namespace=u,y.useColors=n.useColors(),y.color=n.selectColor(u),y.extend=i,y.destroy=n.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>h!==null?h:(f!==n.namespaces&&(f=n.namespaces,d=n.enabled(u)),d),set:v=>{h=v;}}),typeof n.init=="function"&&n.init(y),y}function i(u,p){let h=n(this.namespace+(typeof p>"u"?":":p)+u);return h.log=this.log,h}function r(u){n.save(u),n.namespaces=u,n.names=[],n.skips=[];let p,h=(typeof u=="string"?u:"").split(/[\s,]+/),f=h.length;for(p=0;p<f;p++)h[p]&&(u=h[p].replace(/\*/g,".*?"),u[0]==="-"?n.skips.push(new RegExp("^"+u.slice(1)+"$")):n.names.push(new RegExp("^"+u+"$")));}function o(){let u=[...n.names.map(s),...n.skips.map(s).map(p=>"-"+p)].join(",");return n.enable(""),u}function a(u){if(u[u.length-1]==="*")return !0;let p,h;for(p=0,h=n.skips.length;p<h;p++)if(n.skips[p].test(u))return !1;for(p=0,h=n.names.length;p<h;p++)if(n.names[p].test(u))return !0;return !1}function s(u){return u.toString().substring(2,u.toString().length-2).replace(/\.\*\?$/,"*")}function c(u){return u instanceof Error?u.stack||u.message:u}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");}return n.enable(n.load()),n}zm.exports=TO;});var $m=g((Pe,io)=>{Pe.formatArgs=kO;Pe.save=CO;Pe.load=_O;Pe.useColors=RO;Pe.storage=FO();Pe.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`."));}})();Pe.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 RO(){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 kO(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+io.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,r=>{r!=="%%"&&(n++,r==="%c"&&(i=n));}),t.splice(i,0,e);}Pe.log=console.debug||console.log||(()=>{});function CO(t){try{t?Pe.storage.setItem("debug",t):Pe.storage.removeItem("debug");}catch{}}function _O(){let t;try{t=Pe.storage.getItem("debug");}catch{}return !t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function FO(){try{return localStorage}catch{}}io.exports=zs()(Pe);var{formatters:PO}=io.exports;PO.j=function(t){try{return JSON.stringify(t)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};});var Wm=g((pe,oo)=>{var qO=_("tty"),ro=_("util");pe.init=UO;pe.log=LO;pe.formatArgs=BO;pe.save=DO;pe.load=NO;pe.useColors=jO;pe.destroy=ro.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");pe.colors=[6,2,3,4,5,1];try{let t=_("supports-color");t&&(t.stderr||t).level>=2&&(pe.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{}pe.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let n=e.substring(6).toLowerCase().replace(/_([a-z])/g,(r,o)=>o.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 jO(){return "colors"in pe.inspectOpts?!!pe.inspectOpts.colors:qO.isatty(process.stderr.fd)}function BO(t){let{namespace:e,useColors:n}=this;if(n){let i=this.color,r="\x1B[3"+(i<8?i:"8;5;"+i),o=` ${r};1m${e} \x1B[0m`;t[0]=o+t[0].split(`
`).join(`
`+o),t.push(r+"m+"+oo.exports.humanize(this.diff)+"\x1B[0m");}else t[0]=IO()+e+" "+t[0];}function IO(){return pe.inspectOpts.hideDate?"":new Date().toISOString()+" "}function LO(...t){return process.stderr.write(ro.format(...t)+`
`)}function DO(t){t?process.env.DEBUG=t:delete process.env.DEBUG;}function NO(){return process.env.DEBUG}function UO(t){t.inspectOpts={};let e=Object.keys(pe.inspectOpts);for(let n=0;n<e.length;n++)t.inspectOpts[e[n]]=pe.inspectOpts[e[n]];}oo.exports=zs()(pe);var{formatters:Mm}=oo.exports;Mm.o=function(t){return this.inspectOpts.colors=this.useColors,ro.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};Mm.O=function(t){return this.inspectOpts.colors=this.useColors,ro.inspect(t,this.inspectOpts)};});var Hm=g((oI,$s)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?$s.exports=$m():$s.exports=Wm();});var Vm=g((aI,Gm)=>{var qi;Gm.exports=function(){if(!qi){try{qi=Hm()("follow-redirects");}catch{}typeof qi!="function"&&(qi=function(){});}qi.apply(null,arguments);};});var th=g((sI,Vs)=>{var en=_("url"),Ms=en.URL,zO=_("http"),$O=_("https"),Ym=_("stream").Writable,Xm=_("assert"),Qm=Vm(),Hs=["abort","aborted","connect","error","socket","timeout"],Gs=Object.create(null);Hs.forEach(function(t){Gs[t]=function(e,n,i){this._redirectable.emit(t,e,n,i);};});var MO=Bi("ERR_INVALID_URL","Invalid URL",TypeError),Jm=Bi("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),WO=Bi("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),HO=Bi("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),GO=Bi("ERR_STREAM_WRITE_AFTER_END","write after end");function qe(t,e){Ym.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();}qe.prototype=Object.create(Ym.prototype);qe.prototype.abort=function(){eh(this._currentRequest),this.emit("abort");};qe.prototype.write=function(t,e,n){if(this._ending)throw new GO;if(!tn(t)&&!KO(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(ji(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 HO),this.abort());};qe.prototype.end=function(t,e,n){if(ji(t)?(n=t,t=e=null):ji(e)&&(n=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,n);else {var i=this,r=this._currentRequest;this.write(t,e,function(){i._ended=!0,r.end(null,null,n);}),this._ending=!0;}};qe.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e);};qe.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t);};qe.prototype.setTimeout=function(t,e){var n=this;function i(a){a.setTimeout(t),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy);}function r(a){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout(function(){n.emit("timeout"),o();},t),i(a);}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",r);}return e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",i),this.on("abort",o),this.on("error",o),this.on("response",o),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){qe.prototype[t]=function(e,n){return this._currentRequest[t](e,n)};});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(qe.prototype,t,{get:function(){return this._currentRequest[t]}});});qe.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));}};qe.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 r of Hs)i.on(r,Gs[r]);if(this._currentUrl=/^\//.test(this._options.path)?en.format(this._options):this._options.path,this._isRedirect){var o=0,a=this,s=this._requestBodyBuffers;(function c(l){if(i===a._currentRequest)if(l)a.emit("error",l);else if(o<s.length){var u=s[o++];i.finished||i.write(u.data,u.encoding,c);}else a._ended&&i.end();})();}};qe.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var n=t.headers.location;if(!n||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(eh(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new WO);return}var i,r=this._options.beforeRedirect;r&&(i=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var o=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=[],Ws(/^content-/i,this._options.headers));var a=Ws(/^host$/i,this._options.headers),s=en.parse(this._currentUrl),c=a||s.host,l=/^\w+:/.test(n)?this._currentUrl:en.format(Object.assign(s,{host:c})),u;try{u=en.resolve(l,n);}catch(d){this.emit("error",new Jm({cause:d}));return}Qm("redirecting to",u),this._isRedirect=!0;var p=en.parse(u);if(Object.assign(this._options,p),(p.protocol!==s.protocol&&p.protocol!=="https:"||p.host!==c&&!JO(p.host,c))&&Ws(/^(?:authorization|cookie)$/i,this._options.headers),ji(r)){var h={headers:t.headers,statusCode:e},f={url:l,method:o,headers:i};try{r(this._options,h,f);}catch(d){this.emit("error",d);return}this._sanitizeOptions(this._options);}try{this._performRequest();}catch(d){this.emit("error",new Jm({cause:d}));}};function Zm(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach(function(i){var r=i+":",o=n[r]=t[i],a=e[i]=Object.create(o);function s(l,u,p){if(tn(l)){var h;try{h=Km(new Ms(l));}catch{h=en.parse(l);}if(!tn(h.protocol))throw new MO({input:l});l=h;}else Ms&&l instanceof Ms?l=Km(l):(p=u,u=l,l={protocol:r});return ji(u)&&(p=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},l,u),u.nativeProtocols=n,!tn(u.host)&&!tn(u.hostname)&&(u.hostname="::1"),Xm.equal(u.protocol,r,"protocol mismatch"),Qm("options",u),new qe(u,p)}function c(l,u,p){var h=a.request(l,u,p);return h.end(),h}Object.defineProperties(a,{request:{value:s,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}});}),e}function VO(){}function Km(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 Ws(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 Bi(t,e,n){function i(r){Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),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 eh(t){for(var e of Hs)t.removeListener(e,Gs[e]);t.on("error",VO),t.abort();}function JO(t,e){Xm(tn(t)&&tn(e));var n=t.length-e.length-1;return n>0&&t[n]==="."&&t.endsWith(e)}function tn(t){return typeof t=="string"||t instanceof String}function ji(t){return typeof t=="function"}function KO(t){return typeof t=="object"&&"length"in t}Vs.exports=Zm({http:zO,https:$O});Vs.exports.wrap=Zm;});var Se=g(lc=>{lc.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,(r,o)=>r!=null?i(r):n(o));})},"name",{value:t.name})};lc.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 kh=g((dD,Rh)=>{var It=_("constants"),IT=process.cwd,vo=null,LT=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return vo||(vo=IT.call(process)),vo};try{process.cwd();}catch{}typeof process.chdir=="function"&&(pc=process.chdir,process.chdir=function(t){vo=null,pc.call(process,t);},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,pc));var pc;Rh.exports=DT;function DT(t){It.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&e(t),t.lutimes||n(t),t.chown=o(t.chown),t.fchown=o(t.fchown),t.lchown=o(t.lchown),t.chmod=i(t.chmod),t.fchmod=i(t.fchmod),t.lchmod=i(t.lchmod),t.chownSync=a(t.chownSync),t.fchownSync=a(t.fchownSync),t.lchownSync=a(t.lchownSync),t.chmodSync=r(t.chmodSync),t.fchmodSync=r(t.fchmodSync),t.lchmodSync=r(t.lchmodSync),t.stat=s(t.stat),t.fstat=s(t.fstat),t.lstat=s(t.lstat),t.statSync=c(t.statSync),t.fstatSync=c(t.fstatSync),t.lstatSync=c(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(u,p,h){h&&process.nextTick(h);},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(u,p,h,f){f&&process.nextTick(f);},t.lchownSync=function(){}),LT==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:function(u){function p(h,f,d){var y=Date.now(),v=0;u(h,f,function b(w){if(w&&(w.code==="EACCES"||w.code==="EPERM"||w.code==="EBUSY")&&Date.now()-y<6e4){setTimeout(function(){t.stat(f,function(A,O){A&&A.code==="ENOENT"?u(h,f,b):d(w);});},v),v<100&&(v+=10);return}d&&d(w);});}return Object.setPrototypeOf&&Object.setPrototypeOf(p,u),p}(t.rename)),t.read=typeof t.read!="function"?t.read:function(u){function p(h,f,d,y,v,b){var w;if(b&&typeof b=="function"){var A=0;w=function(O,k,q){if(O&&O.code==="EAGAIN"&&A<10)return A++,u.call(t,h,f,d,y,v,w);b.apply(this,arguments);};}return u.call(t,h,f,d,y,v,w)}return Object.setPrototypeOf&&Object.setPrototypeOf(p,u),p}(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:function(u){return function(p,h,f,d,y){for(var v=0;;)try{return u.call(t,p,h,f,d,y)}catch(b){if(b.code==="EAGAIN"&&v<10){v++;continue}throw b}}}(t.readSync);function e(u){u.lchmod=function(p,h,f){u.open(p,It.O_WRONLY|It.O_SYMLINK,h,function(d,y){if(d){f&&f(d);return}u.fchmod(y,h,function(v){u.close(y,function(b){f&&f(v||b);});});});},u.lchmodSync=function(p,h){var f=u.openSync(p,It.O_WRONLY|It.O_SYMLINK,h),d=!0,y;try{y=u.fchmodSync(f,h),d=!1;}finally{if(d)try{u.closeSync(f);}catch{}else u.closeSync(f);}return y};}function n(u){It.hasOwnProperty("O_SYMLINK")&&u.futimes?(u.lutimes=function(p,h,f,d){u.open(p,It.O_SYMLINK,function(y,v){if(y){d&&d(y);return}u.futimes(v,h,f,function(b){u.close(v,function(w){d&&d(b||w);});});});},u.lutimesSync=function(p,h,f){var d=u.openSync(p,It.O_SYMLINK),y,v=!0;try{y=u.futimesSync(d,h,f),v=!1;}finally{if(v)try{u.closeSync(d);}catch{}else u.closeSync(d);}return y}):u.futimes&&(u.lutimes=function(p,h,f,d){d&&process.nextTick(d);},u.lutimesSync=function(){});}function i(u){return u&&function(p,h,f){return u.call(t,p,h,function(d){l(d)&&(d=null),f&&f.apply(this,arguments);})}}function r(u){return u&&function(p,h){try{return u.call(t,p,h)}catch(f){if(!l(f))throw f}}}function o(u){return u&&function(p,h,f,d){return u.call(t,p,h,f,function(y){l(y)&&(y=null),d&&d.apply(this,arguments);})}}function a(u){return u&&function(p,h,f){try{return u.call(t,p,h,f)}catch(d){if(!l(d))throw d}}}function s(u){return u&&function(p,h,f){typeof h=="function"&&(f=h,h=null);function d(y,v){v&&(v.uid<0&&(v.uid+=4294967296),v.gid<0&&(v.gid+=4294967296)),f&&f.apply(this,arguments);}return h?u.call(t,p,h,d):u.call(t,p,d)}}function c(u){return u&&function(p,h){var f=h?u.call(t,p,h):u.call(t,p);return f&&(f.uid<0&&(f.uid+=4294967296),f.gid<0&&(f.gid+=4294967296)),f}}function l(u){if(!u||u.code==="ENOSYS")return !0;var p=!process.getuid||process.getuid()!==0;return !!(p&&(u.code==="EINVAL"||u.code==="EPERM"))}}});var Fh=g((mD,_h)=>{var Ch=_("stream").Stream;_h.exports=NT;function NT(t){return {ReadStream:e,WriteStream:n};function e(i,r){if(!(this instanceof e))return new e(i,r);Ch.call(this);var o=this;this.path=i,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,r=r||{};for(var a=Object.keys(r),s=0,c=a.length;s<c;s++){var l=a[s];this[l]=r[l];}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start;}if(this.fd!==null){process.nextTick(function(){o._read();});return}t.open(this.path,this.flags,this.mode,function(u,p){if(u){o.emit("error",u),o.readable=!1;return}o.fd=p,o.emit("open",p),o._read();});}function n(i,r){if(!(this instanceof n))return new n(i,r);Ch.call(this),this.path=i,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,r=r||{};for(var o=Object.keys(r),a=0,s=o.length;a<s;a++){var c=o[a];this[c]=r[c];}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= 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 qh=g((hD,Ph)=>{Ph.exports=zT;var UT=Object.getPrototypeOf||function(t){return t.__proto__};function zT(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var e={__proto__:UT(t)};else var e=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n));}),e}});var Ee=g((yD,mc)=>{var Z=_("fs"),$T=kh(),MT=Fh(),WT=qh(),bo=_("util"),fe,So;typeof Symbol=="function"&&typeof Symbol.for=="function"?(fe=Symbol.for("graceful-fs.queue"),So=Symbol.for("graceful-fs.previous")):(fe="___graceful-fs.queue",So="___graceful-fs.previous");function HT(){}function Ih(t,e){Object.defineProperty(t,fe,{get:function(){return e}});}var sn=HT;bo.debuglog?sn=bo.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(sn=function(){var t=bo.format.apply(bo,arguments);t="GFS4: "+t.split(/\n/).join(`
GFS4: `),console.error(t);});Z[fe]||(jh=global[fe]||[],Ih(Z,jh),Z.close=function(t){function e(n,i){return t.call(Z,n,function(r){r||Bh(),typeof i=="function"&&i.apply(this,arguments);})}return Object.defineProperty(e,So,{value:t}),e}(Z.close),Z.closeSync=function(t){function e(n){t.apply(Z,arguments),Bh();}return Object.defineProperty(e,So,{value:t}),e}(Z.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){sn(Z[fe]),_("assert").equal(Z[fe].length,0);}));var jh;global[fe]||Ih(global,Z[fe]);mc.exports=fc(WT(Z));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!Z.__patched&&(mc.exports=fc(Z),Z.__patched=!0);function fc(t){$T(t),t.gracefulify=fc,t.createReadStream=k,t.createWriteStream=q;var e=t.readFile;t.readFile=n;function n(T,B,I){return typeof B=="function"&&(I=B,B=null),M(T,B,I);function M(W,z,V,K){return e(W,z,function(R){R&&(R.code==="EMFILE"||R.code==="ENFILE")?Jn([M,[W,z,V],R,K||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments);})}}var i=t.writeFile;t.writeFile=r;function r(T,B,I,M){return typeof I=="function"&&(M=I,I=null),W(T,B,I,M);function W(z,V,K,R,P){return i(z,V,K,function(H){H&&(H.code==="EMFILE"||H.code==="ENFILE")?Jn([W,[z,V,K,R],H,P||Date.now(),Date.now()]):typeof R=="function"&&R.apply(this,arguments);})}}var o=t.appendFile;o&&(t.appendFile=a);function a(T,B,I,M){return typeof I=="function"&&(M=I,I=null),W(T,B,I,M);function W(z,V,K,R,P){return o(z,V,K,function(H){H&&(H.code==="EMFILE"||H.code==="ENFILE")?Jn([W,[z,V,K,R],H,P||Date.now(),Date.now()]):typeof R=="function"&&R.apply(this,arguments);})}}var s=t.copyFile;s&&(t.copyFile=c);function c(T,B,I,M){return typeof I=="function"&&(M=I,I=0),W(T,B,I,M);function W(z,V,K,R,P){return s(z,V,K,function(H){H&&(H.code==="EMFILE"||H.code==="ENFILE")?Jn([W,[z,V,K,R],H,P||Date.now(),Date.now()]):typeof R=="function"&&R.apply(this,arguments);})}}var l=t.readdir;t.readdir=p;var u=/^v[0-5]\./;function p(T,B,I){typeof B=="function"&&(I=B,B=null);var M=u.test(process.version)?function(V,K,R,P){return l(V,W(V,K,R,P))}:function(V,K,R,P){return l(V,K,W(V,K,R,P))};return M(T,B,I);function W(z,V,K,R){return function(P,H){P&&(P.code==="EMFILE"||P.code==="ENFILE")?Jn([M,[z,V,K],P,R||Date.now(),Date.now()]):(H&&H.sort&&H.sort(),typeof K=="function"&&K.call(this,P,H));}}}if(process.version.substr(0,4)==="v0.8"){var h=MT(t);b=h.ReadStream,A=h.WriteStream;}var f=t.ReadStream;f&&(b.prototype=Object.create(f.prototype),b.prototype.open=w);var d=t.WriteStream;d&&(A.prototype=Object.create(d.prototype),A.prototype.open=O),Object.defineProperty(t,"ReadStream",{get:function(){return b},set:function(T){b=T;},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return A},set:function(T){A=T;},enumerable:!0,configurable:!0});var y=b;Object.defineProperty(t,"FileReadStream",{get:function(){return y},set:function(T){y=T;},enumerable:!0,configurable:!0});var v=A;Object.defineProperty(t,"FileWriteStream",{get:function(){return v},set:function(T){v=T;},enumerable:!0,configurable:!0});function b(T,B){return this instanceof b?(f.apply(this,arguments),this):b.apply(Object.create(b.prototype),arguments)}function w(){var T=this;D(T.path,T.flags,T.mode,function(B,I){B?(T.autoClose&&T.destroy(),T.emit("error",B)):(T.fd=I,T.emit("open",I),T.read());});}function A(T,B){return this instanceof A?(d.apply(this,arguments),this):A.apply(Object.create(A.prototype),arguments)}function O(){var T=this;D(T.path,T.flags,T.mode,function(B,I){B?(T.destroy(),T.emit("error",B)):(T.fd=I,T.emit("open",I));});}function k(T,B){return new t.ReadStream(T,B)}function q(T,B){return new t.WriteStream(T,B)}var L=t.open;t.open=D;function D(T,B,I,M){return typeof I=="function"&&(M=I,I=null),W(T,B,I,M);function W(z,V,K,R,P){return L(z,V,K,function(H,lr){H&&(H.code==="EMFILE"||H.code==="ENFILE")?Jn([W,[z,V,K,R],H,P||Date.now(),Date.now()]):typeof R=="function"&&R.apply(this,arguments);})}}return t}function Jn(t){sn("ENQUEUE",t[0].name,t[1]),Z[fe].push(t),dc();}var wo;function Bh(){for(var t=Date.now(),e=0;e<Z[fe].length;++e)Z[fe][e].length>2&&(Z[fe][e][3]=t,Z[fe][e][4]=t);dc();}function dc(){if(clearTimeout(wo),wo=void 0,Z[fe].length!==0){var t=Z[fe].shift(),e=t[0],n=t[1],i=t[2],r=t[3],o=t[4];if(r===void 0)sn("RETRY",e.name,n),e.apply(null,n);else if(Date.now()-r>=6e4){sn("TIMEOUT",e.name,n);var a=n.pop();typeof a=="function"&&a.call(null,i);}else {var s=Date.now()-o,c=Math.max(o-r,1),l=Math.min(c*1.2,100);s>=l?(sn("RETRY",e.name,n),e.apply(null,n.concat([r]))):Z[fe].push(t);}wo===void 0&&(wo=setTimeout(dc,0));}}});var cn=g(bt=>{var Lh=Se().fromCallback,xe=Ee(),GT=["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 xe[t]=="function");Object.assign(bt,xe);GT.forEach(t=>{bt[t]=Lh(xe[t]);});bt.exists=function(t,e){return typeof e=="function"?xe.exists(t,e):new Promise(n=>xe.exists(t,n))};bt.read=function(t,e,n,i,r,o){return typeof o=="function"?xe.read(t,e,n,i,r,o):new Promise((a,s)=>{xe.read(t,e,n,i,r,(c,l,u)=>{if(c)return s(c);a({bytesRead:l,buffer:u});});})};bt.write=function(t,e,...n){return typeof n[n.length-1]=="function"?xe.write(t,e,...n):new Promise((i,r)=>{xe.write(t,e,...n,(o,a,s)=>{if(o)return r(o);i({bytesWritten:a,buffer:s});});})};bt.readv=function(t,e,...n){return typeof n[n.length-1]=="function"?xe.readv(t,e,...n):new Promise((i,r)=>{xe.readv(t,e,...n,(o,a,s)=>{if(o)return r(o);i({bytesRead:a,buffers:s});});})};bt.writev=function(t,e,...n){return typeof n[n.length-1]=="function"?xe.writev(t,e,...n):new Promise((i,r)=>{xe.writev(t,e,...n,(o,a,s)=>{if(o)return r(o);i({bytesWritten:a,buffers:s});});})};typeof xe.realpath.native=="function"?bt.realpath.native=Lh(xe.realpath.native):process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003");});var Nh=g((gD,Dh)=>{var VT=_("path");Dh.exports.checkPath=function(e){if(process.platform==="win32"&&/[<>:"|?*]/.test(e.replace(VT.parse(e).root,""))){let i=new Error(`Path contains invalid characters: ${e}`);throw i.code="EINVAL",i}};});var Mh=g((vD,hc)=>{var Uh=cn(),{checkPath:zh}=Nh(),$h=t=>{let e={mode:511};return typeof t=="number"?t:{...e,...t}.mode};hc.exports.makeDir=async(t,e)=>(zh(t),Uh.mkdir(t,{mode:$h(e),recursive:!0}));hc.exports.makeDirSync=(t,e)=>(zh(t),Uh.mkdirSync(t,{mode:$h(e),recursive:!0}));});var Ve=g((bD,Wh)=>{var JT=Se().fromPromise,{makeDir:KT,makeDirSync:yc}=Mh(),xc=JT(KT);Wh.exports={mkdirs:xc,mkdirsSync:yc,mkdirp:xc,mkdirpSync:yc,ensureDir:xc,ensureDirSync:yc};});var Lt=g((wD,Gh)=>{var YT=Se().fromPromise,Hh=cn();function XT(t){return Hh.access(t).then(()=>!0).catch(()=>!1)}Gh.exports={pathExists:YT(XT),pathExistsSync:Hh.existsSync};});var gc=g((SD,Vh)=>{var Kn=Ee();function QT(t,e,n,i){Kn.open(t,"r+",(r,o)=>{if(r)return i(r);Kn.futimes(o,e,n,a=>{Kn.close(o,s=>{i&&i(a||s);});});});}function ZT(t,e,n){let i=Kn.openSync(t,"r+");return Kn.futimesSync(i,e,n),Kn.closeSync(i)}Vh.exports={utimesMillis:QT,utimesMillisSync:ZT};});var un=g((ED,Yh)=>{var Yn=cn(),se=_("path"),eR=_("util");function tR(t,e,n){let i=n.dereference?r=>Yn.stat(r,{bigint:!0}):r=>Yn.lstat(r,{bigint:!0});return Promise.all([i(t),i(e).catch(r=>{if(r.code==="ENOENT")return null;throw r})]).then(([r,o])=>({srcStat:r,destStat:o}))}function nR(t,e,n){let i,r=n.dereference?a=>Yn.statSync(a,{bigint:!0}):a=>Yn.lstatSync(a,{bigint:!0}),o=r(t);try{i=r(e);}catch(a){if(a.code==="ENOENT")return {srcStat:o,destStat:null};throw a}return {srcStat:o,destStat:i}}function iR(t,e,n,i,r){eR.callbackify(tR)(t,e,i,(o,a)=>{if(o)return r(o);let{srcStat:s,destStat:c}=a;if(c){if(Wi(s,c)){let l=se.basename(t),u=se.basename(e);return n==="move"&&l!==u&&l.toLowerCase()===u.toLowerCase()?r(null,{srcStat:s,destStat:c,isChangingCase:!0}):r(new Error("Source and destination must not be the same."))}if(s.isDirectory()&&!c.isDirectory())return r(new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`));if(!s.isDirectory()&&c.isDirectory())return r(new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`))}return s.isDirectory()&&vc(t,e)?r(new Error(Eo(t,e,n))):r(null,{srcStat:s,destStat:c})});}function rR(t,e,n,i){let{srcStat:r,destStat:o}=nR(t,e,i);if(o){if(Wi(r,o)){let a=se.basename(t),s=se.basename(e);if(n==="move"&&a!==s&&a.toLowerCase()===s.toLowerCase())return {srcStat:r,destStat:o,isChangingCase:!0};throw new Error("Source and destination must not be the same.")}if(r.isDirectory()&&!o.isDirectory())throw new Error(`Cannot overwrite non-directory '${e}' with directory '${t}'.`);if(!r.isDirectory()&&o.isDirectory())throw new Error(`Cannot overwrite directory '${e}' with non-directory '${t}'.`)}if(r.isDirectory()&&vc(t,e))throw new Error(Eo(t,e,n));return {srcStat:r,destStat:o}}function Jh(t,e,n,i,r){let o=se.resolve(se.dirname(t)),a=se.resolve(se.dirname(n));if(a===o||a===se.parse(a).root)return r();Yn.stat(a,{bigint:!0},(s,c)=>s?s.code==="ENOENT"?r():r(s):Wi(e,c)?r(new Error(Eo(t,n,i))):Jh(t,e,a,i,r));}function Kh(t,e,n,i){let r=se.resolve(se.dirname(t)),o=se.resolve(se.dirname(n));if(o===r||o===se.parse(o).root)return;let a;try{a=Yn.statSync(o,{bigint:!0});}catch(s){if(s.code==="ENOENT")return;throw s}if(Wi(e,a))throw new Error(Eo(t,n,i));return Kh(t,e,o,i)}function Wi(t,e){return e.ino&&e.dev&&e.ino===t.ino&&e.dev===t.dev}function vc(t,e){let n=se.resolve(t).split(se.sep).filter(r=>r),i=se.resolve(e).split(se.sep).filter(r=>r);return n.reduce((r,o,a)=>r&&i[a]===o,!0)}function Eo(t,e,n){return `Cannot ${n} '${t}' to a subdirectory of itself, '${e}'.`}Yh.exports={checkPaths:iR,checkPathsSync:rR,checkParentPaths:Jh,checkParentPathsSync:Kh,isSrcSubdir:vc,areIdentical:Wi};});var ny=g((AD,ty)=>{var Ae=Ee(),Hi=_("path"),oR=Ve().mkdirs,aR=Lt().pathExists,sR=gc().utimesMillis,Gi=un();function cR(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"),Gi.checkPaths(t,e,"copy",n,(r,o)=>{if(r)return i(r);let{srcStat:a,destStat:s}=o;Gi.checkParentPaths(t,a,e,"copy",c=>{if(c)return i(c);Qh(t,e,n,(l,u)=>{if(l)return i(l);if(!u)return i();uR(s,t,e,n,i);});});});}function uR(t,e,n,i,r){let o=Hi.dirname(n);aR(o,(a,s)=>{if(a)return r(a);if(s)return bc(t,e,n,i,r);oR(o,c=>c?r(c):bc(t,e,n,i,r));});}function Qh(t,e,n,i){if(!n.filter)return i(null,!0);Promise.resolve(n.filter(t,e)).then(r=>i(null,r),r=>i(r));}function bc(t,e,n,i,r){(i.dereference?Ae.stat:Ae.lstat)(e,(a,s)=>a?r(a):s.isDirectory()?yR(s,t,e,n,i,r):s.isFile()||s.isCharacterDevice()||s.isBlockDevice()?lR(s,t,e,n,i,r):s.isSymbolicLink()?vR(t,e,n,i,r):s.isSocket()?r(new Error(`Cannot copy a socket file: ${e}`)):s.isFIFO()?r(new Error(`Cannot copy a FIFO pipe: ${e}`)):r(new Error(`Unknown file: ${e}`)));}function lR(t,e,n,i,r,o){return e?pR(t,n,i,r,o):Zh(t,n,i,r,o)}function pR(t,e,n,i,r){if(i.overwrite)Ae.unlink(n,o=>o?r(o):Zh(t,e,n,i,r));else return i.errorOnExist?r(new Error(`'${n}' already exists`)):r()}function Zh(t,e,n,i,r){Ae.copyFile(e,n,o=>o?r(o):i.preserveTimestamps?fR(t.mode,e,n,r):Ao(n,t.mode,r));}function fR(t,e,n,i){return dR(t)?mR(n,t,r=>r?i(r):Xh(t,e,n,i)):Xh(t,e,n,i)}function dR(t){return (t&128)===0}function mR(t,e,n){return Ao(t,e|128,n)}function Xh(t,e,n,i){hR(e,n,r=>r?i(r):Ao(n,t,i));}function Ao(t,e,n){return Ae.chmod(t,e,n)}function hR(t,e,n){Ae.stat(t,(i,r)=>i?n(i):sR(e,r.atime,r.mtime,n));}function yR(t,e,n,i,r,o){return e?ey(n,i,r,o):xR(t.mode,n,i,r,o)}function xR(t,e,n,i,r){Ae.mkdir(n,o=>{if(o)return r(o);ey(e,n,i,a=>a?r(a):Ao(n,t,r));});}function ey(t,e,n,i){Ae.readdir(t,(r,o)=>r?i(r):wc(o,t,e,n,i));}function wc(t,e,n,i,r){let o=t.pop();return o?gR(t,o,e,n,i,r):r()}function gR(t,e,n,i,r,o){let a=Hi.join(n,e),s=Hi.join(i,e);Qh(a,s,r,(c,l)=>{if(c)return o(c);if(!l)return wc(t,n,i,r,o);Gi.checkPaths(a,s,"copy",r,(u,p)=>{if(u)return o(u);let{destStat:h}=p;bc(h,a,s,r,f=>f?o(f):wc(t,n,i,r,o));});});}function vR(t,e,n,i,r){Ae.readlink(e,(o,a)=>{if(o)return r(o);if(i.dereference&&(a=Hi.resolve(process.cwd(),a)),t)Ae.readlink(n,(s,c)=>s?s.code==="EINVAL"||s.code==="UNKNOWN"?Ae.symlink(a,n,r):r(s):(i.dereference&&(c=Hi.resolve(process.cwd(),c)),Gi.isSrcSubdir(a,c)?r(new Error(`Cannot copy '${a}' to a subdirectory of itself, '${c}'.`)):Gi.isSrcSubdir(c,a)?r(new Error(`Cannot overwrite '${c}' with '${a}'.`)):bR(a,n,r)));else return Ae.symlink(a,n,r)});}function bR(t,e,n){Ae.unlink(e,i=>i?n(i):Ae.symlink(t,e,n));}ty.exports=cR;});var sy=g((OD,ay)=>{var ge=Ee(),Vi=_("path"),wR=Ve().mkdirsSync,SR=gc().utimesMillisSync,Ji=un();function ER(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:r}=Ji.checkPathsSync(t,e,"copy",n);if(Ji.checkParentPathsSync(t,i,e,"copy"),n.filter&&!n.filter(t,e))return;let o=Vi.dirname(e);return ge.existsSync(o)||wR(o),iy(r,t,e,n)}function iy(t,e,n,i){let o=(i.dereference?ge.statSync:ge.lstatSync)(e);if(o.isDirectory())return _R(o,t,e,n,i);if(o.isFile()||o.isCharacterDevice()||o.isBlockDevice())return AR(o,t,e,n,i);if(o.isSymbolicLink())return qR(t,e,n,i);throw o.isSocket()?new Error(`Cannot copy a socket file: ${e}`):o.isFIFO()?new Error(`Cannot copy a FIFO pipe: ${e}`):new Error(`Unknown file: ${e}`)}function AR(t,e,n,i,r){return e?OR(t,n,i,r):ry(t,n,i,r)}function OR(t,e,n,i){if(i.overwrite)return ge.unlinkSync(n),ry(t,e,n,i);if(i.errorOnExist)throw new Error(`'${n}' already exists`)}function ry(t,e,n,i){return ge.copyFileSync(e,n),i.preserveTimestamps&&TR(t.mode,e,n),Sc(n,t.mode)}function TR(t,e,n){return RR(t)&&kR(n,t),CR(e,n)}function RR(t){return (t&128)===0}function kR(t,e){return Sc(t,e|128)}function Sc(t,e){return ge.chmodSync(t,e)}function CR(t,e){let n=ge.statSync(t);return SR(e,n.atime,n.mtime)}function _R(t,e,n,i,r){return e?oy(n,i,r):FR(t.mode,n,i,r)}function FR(t,e,n,i){return ge.mkdirSync(n),oy(e,n,i),Sc(n,t)}function oy(t,e,n){ge.readdirSync(t).forEach(i=>PR(i,t,e,n));}function PR(t,e,n,i){let r=Vi.join(e,t),o=Vi.join(n,t);if(i.filter&&!i.filter(r,o))return;let{destStat:a}=Ji.checkPathsSync(r,o,"copy",i);return iy(a,r,o,i)}function qR(t,e,n,i){let r=ge.readlinkSync(e);if(i.dereference&&(r=Vi.resolve(process.cwd(),r)),t){let o;try{o=ge.readlinkSync(n);}catch(a){if(a.code==="EINVAL"||a.code==="UNKNOWN")return ge.symlinkSync(r,n);throw a}if(i.dereference&&(o=Vi.resolve(process.cwd(),o)),Ji.isSrcSubdir(r,o))throw new Error(`Cannot copy '${r}' to a subdirectory of itself, '${o}'.`);if(Ji.isSrcSubdir(o,r))throw new Error(`Cannot overwrite '${o}' with '${r}'.`);return jR(r,n)}else return ge.symlinkSync(r,n)}function jR(t,e){return ge.unlinkSync(e),ge.symlinkSync(t,e)}ay.exports=ER;});var Oo=g((TD,cy)=>{var BR=Se().fromCallback;cy.exports={copy:BR(ny()),copySync:sy()};});var Ki=g((RD,ly)=>{var uy=Ee(),IR=Se().fromCallback;function LR(t,e){uy.rm(t,{recursive:!0,force:!0},e);}function DR(t){uy.rmSync(t,{recursive:!0,force:!0});}ly.exports={remove:IR(LR),removeSync:DR};});var gy=g((kD,xy)=>{var NR=Se().fromPromise,dy=cn(),my=_("path"),hy=Ve(),yy=Ki(),py=NR(async function(e){let n;try{n=await dy.readdir(e);}catch{return hy.mkdirs(e)}return Promise.all(n.map(i=>yy.remove(my.join(e,i))))});function fy(t){let e;try{e=dy.readdirSync(t);}catch{return hy.mkdirsSync(t)}e.forEach(n=>{n=my.join(t,n),yy.removeSync(n);});}xy.exports={emptyDirSync:fy,emptydirSync:fy,emptyDir:py,emptydir:py};});var Sy=g((CD,wy)=>{var UR=Se().fromCallback,vy=_("path"),Dt=Ee(),by=Ve();function zR(t,e){function n(){Dt.writeFile(t,"",i=>{if(i)return e(i);e();});}Dt.stat(t,(i,r)=>{if(!i&&r.isFile())return e();let o=vy.dirname(t);Dt.stat(o,(a,s)=>{if(a)return a.code==="ENOENT"?by.mkdirs(o,c=>{if(c)return e(c);n();}):e(a);s.isDirectory()?n():Dt.readdir(o,c=>{if(c)return e(c)});});});}function $R(t){let e;try{e=Dt.statSync(t);}catch{}if(e&&e.isFile())return;let n=vy.dirname(t);try{Dt.statSync(n).isDirectory()||Dt.readdirSync(n);}catch(i){if(i&&i.code==="ENOENT")by.mkdirsSync(n);else throw i}Dt.writeFileSync(t,"");}wy.exports={createFile:UR(zR),createFileSync:$R};});var Ry=g((_D,Ty)=>{var MR=Se().fromCallback,Ey=_("path"),Nt=Ee(),Ay=Ve(),WR=Lt().pathExists,{areIdentical:Oy}=un();function HR(t,e,n){function i(r,o){Nt.link(r,o,a=>{if(a)return n(a);n(null);});}Nt.lstat(e,(r,o)=>{Nt.lstat(t,(a,s)=>{if(a)return a.message=a.message.replace("lstat","ensureLink"),n(a);if(o&&Oy(s,o))return n(null);let c=Ey.dirname(e);WR(c,(l,u)=>{if(l)return n(l);if(u)return i(t,e);Ay.mkdirs(c,p=>{if(p)return n(p);i(t,e);});});});});}function GR(t,e){let n;try{n=Nt.lstatSync(e);}catch{}try{let o=Nt.lstatSync(t);if(n&&Oy(o,n))return}catch(o){throw o.message=o.message.replace("lstat","ensureLink"),o}let i=Ey.dirname(e);return Nt.existsSync(i)||Ay.mkdirsSync(i),Nt.linkSync(t,e)}Ty.exports={createLink:MR(HR),createLinkSync:GR};});var Cy=g((FD,ky)=>{var Ut=_("path"),Yi=Ee(),VR=Lt().pathExists;function JR(t,e,n){if(Ut.isAbsolute(t))return Yi.lstat(t,i=>i?(i.message=i.message.replace("lstat","ensureSymlink"),n(i)):n(null,{toCwd:t,toDst:t}));{let i=Ut.dirname(e),r=Ut.join(i,t);return VR(r,(o,a)=>o?n(o):a?n(null,{toCwd:r,toDst:t}):Yi.lstat(t,s=>s?(s.message=s.message.replace("lstat","ensureSymlink"),n(s)):n(null,{toCwd:t,toDst:Ut.relative(i,t)})))}}function KR(t,e){let n;if(Ut.isAbsolute(t)){if(n=Yi.existsSync(t),!n)throw new Error("absolute srcpath does not exist");return {toCwd:t,toDst:t}}else {let i=Ut.dirname(e),r=Ut.join(i,t);if(n=Yi.existsSync(r),n)return {toCwd:r,toDst:t};if(n=Yi.existsSync(t),!n)throw new Error("relative srcpath does not exist");return {toCwd:t,toDst:Ut.relative(i,t)}}}ky.exports={symlinkPaths:JR,symlinkPathsSync:KR};});var Py=g((PD,Fy)=>{var _y=Ee();function YR(t,e,n){if(n=typeof e=="function"?e:n,e=typeof e=="function"?!1:e,e)return n(null,e);_y.lstat(t,(i,r)=>{if(i)return n(null,"file");e=r&&r.isDirectory()?"dir":"file",n(null,e);});}function XR(t,e){let n;if(e)return e;try{n=_y.lstatSync(t);}catch{return "file"}return n&&n.isDirectory()?"dir":"file"}Fy.exports={symlinkType:YR,symlinkTypeSync:XR};});var Uy=g((qD,Ny)=>{var QR=Se().fromCallback,jy=_("path"),Je=cn(),By=Ve(),ZR=By.mkdirs,ek=By.mkdirsSync,Iy=Cy(),tk=Iy.symlinkPaths,nk=Iy.symlinkPathsSync,Ly=Py(),ik=Ly.symlinkType,rk=Ly.symlinkTypeSync,ok=Lt().pathExists,{areIdentical:Dy}=un();function ak(t,e,n,i){i=typeof n=="function"?n:i,n=typeof n=="function"?!1:n,Je.lstat(e,(r,o)=>{!r&&o.isSymbolicLink()?Promise.all([Je.stat(t),Je.stat(e)]).then(([a,s])=>{if(Dy(a,s))return i(null);qy(t,e,n,i);}):qy(t,e,n,i);});}function qy(t,e,n,i){tk(t,e,(r,o)=>{if(r)return i(r);t=o.toDst,ik(o.toCwd,n,(a,s)=>{if(a)return i(a);let c=jy.dirname(e);ok(c,(l,u)=>{if(l)return i(l);if(u)return Je.symlink(t,e,s,i);ZR(c,p=>{if(p)return i(p);Je.symlink(t,e,s,i);});});});});}function sk(t,e,n){let i;try{i=Je.lstatSync(e);}catch{}if(i&&i.isSymbolicLink()){let s=Je.statSync(t),c=Je.statSync(e);if(Dy(s,c))return}let r=nk(t,e);t=r.toDst,n=rk(r.toCwd,n);let o=jy.dirname(e);return Je.existsSync(o)||ek(o),Je.symlinkSync(t,e,n)}Ny.exports={createSymlink:QR(ak),createSymlinkSync:sk};});var Jy=g((jD,Vy)=>{var{createFile:zy,createFileSync:$y}=Sy(),{createLink:My,createLinkSync:Wy}=Ry(),{createSymlink:Hy,createSymlinkSync:Gy}=Uy();Vy.exports={createFile:zy,createFileSync:$y,ensureFile:zy,ensureFileSync:$y,createLink:My,createLinkSync:Wy,ensureLink:My,ensureLinkSync:Wy,createSymlink:Hy,createSymlinkSync:Gy,ensureSymlink:Hy,ensureSymlinkSync:Gy};});var To=g((BD,Ky)=>{function ck(t,{EOL:e=`
`,finalEOL:n=!0,replacer:i=null,spaces:r}={}){let o=n?e:"";return JSON.stringify(t,i,r).replace(/\n/g,e)+o}function uk(t){return Buffer.isBuffer(t)&&(t=t.toString("utf8")),t.replace(/^\uFEFF/,"")}Ky.exports={stringify:ck,stripBom:uk};});var Zy=g((ID,Qy)=>{var Xn;try{Xn=Ee();}catch{Xn=_("fs");}var Ro=Se(),{stringify:Yy,stripBom:Xy}=To();async function lk(t,e={}){typeof e=="string"&&(e={encoding:e});let n=e.fs||Xn,i="throws"in e?e.throws:!0,r=await Ro.fromCallback(n.readFile)(t,e);r=Xy(r);let o;try{o=JSON.parse(r,e?e.reviver:null);}catch(a){if(i)throw a.message=`${t}: ${a.message}`,a;return null}return o}var pk=Ro.fromPromise(lk);function fk(t,e={}){typeof e=="string"&&(e={encoding:e});let n=e.fs||Xn,i="throws"in e?e.throws:!0;try{let r=n.readFileSync(t,e);return r=Xy(r),JSON.parse(r,e.reviver)}catch(r){if(i)throw r.message=`${t}: ${r.message}`,r;return null}}async function dk(t,e,n={}){let i=n.fs||Xn,r=Yy(e,n);await Ro.fromCallback(i.writeFile)(t,r,n);}var mk=Ro.fromPromise(dk);function hk(t,e,n={}){let i=n.fs||Xn,r=Yy(e,n);return i.writeFileSync(t,r,n)}var yk={readFile:pk,readFileSync:fk,writeFile:mk,writeFileSync:hk};Qy.exports=yk;});var tx=g((LD,ex)=>{var ko=Zy();ex.exports={readJson:ko.readFile,readJsonSync:ko.readFileSync,writeJson:ko.writeFile,writeJsonSync:ko.writeFileSync};});var Co=g((DD,rx)=>{var xk=Se().fromCallback,Xi=Ee(),nx=_("path"),ix=Ve(),gk=Lt().pathExists;function vk(t,e,n,i){typeof n=="function"&&(i=n,n="utf8");let r=nx.dirname(t);gk(r,(o,a)=>{if(o)return i(o);if(a)return Xi.writeFile(t,e,n,i);ix.mkdirs(r,s=>{if(s)return i(s);Xi.writeFile(t,e,n,i);});});}function bk(t,...e){let n=nx.dirname(t);if(Xi.existsSync(n))return Xi.writeFileSync(t,...e);ix.mkdirsSync(n),Xi.writeFileSync(t,...e);}rx.exports={outputFile:xk(vk),outputFileSync:bk};});var ax=g((ND,ox)=>{var{stringify:wk}=To(),{outputFile:Sk}=Co();async function Ek(t,e,n={}){let i=wk(e,n);await Sk(t,i,n);}ox.exports=Ek;});var cx=g((UD,sx)=>{var{stringify:Ak}=To(),{outputFileSync:Ok}=Co();function Tk(t,e,n){let i=Ak(e,n);Ok(t,i,n);}sx.exports=Tk;});var lx=g((zD,ux)=>{var Rk=Se().fromPromise,ve=tx();ve.outputJson=Rk(ax());ve.outputJsonSync=cx();ve.outputJSON=ve.outputJson;ve.outputJSONSync=ve.outputJsonSync;ve.writeJSON=ve.writeJson;ve.writeJSONSync=ve.writeJsonSync;ve.readJSON=ve.readJson;ve.readJSONSync=ve.readJsonSync;ux.exports=ve;});var hx=g(($D,mx)=>{var kk=Ee(),Ac=_("path"),Ck=Oo().copy,dx=Ki().remove,_k=Ve().mkdirp,Fk=Lt().pathExists,px=un();function Pk(t,e,n,i){typeof n=="function"&&(i=n,n={}),n=n||{};let r=n.overwrite||n.clobber||!1;px.checkPaths(t,e,"move",n,(o,a)=>{if(o)return i(o);let{srcStat:s,isChangingCase:c=!1}=a;px.checkParentPaths(t,s,e,"move",l=>{if(l)return i(l);if(qk(e))return fx(t,e,r,c,i);_k(Ac.dirname(e),u=>u?i(u):fx(t,e,r,c,i));});});}function qk(t){let e=Ac.dirname(t);return Ac.parse(e).root===e}function fx(t,e,n,i,r){if(i)return Ec(t,e,n,r);if(n)return dx(e,o=>o?r(o):Ec(t,e,n,r));Fk(e,(o,a)=>o?r(o):a?r(new Error("dest already exists.")):Ec(t,e,n,r));}function Ec(t,e,n,i){kk.rename(t,e,r=>r?r.code!=="EXDEV"?i(r):jk(t,e,n,i):i());}function jk(t,e,n,i){Ck(t,e,{overwrite:n,errorOnExist:!0,preserveTimestamps:!0},o=>o?i(o):dx(t,i));}mx.exports=Pk;});var bx=g((MD,vx)=>{var xx=Ee(),Tc=_("path"),Bk=Oo().copySync,gx=Ki().removeSync,Ik=Ve().mkdirpSync,yx=un();function Lk(t,e,n){n=n||{};let i=n.overwrite||n.clobber||!1,{srcStat:r,isChangingCase:o=!1}=yx.checkPathsSync(t,e,"move",n);return yx.checkParentPathsSync(t,r,e,"move"),Dk(e)||Ik(Tc.dirname(e)),Nk(t,e,i,o)}function Dk(t){let e=Tc.dirname(t);return Tc.parse(e).root===e}function Nk(t,e,n,i){if(i)return Oc(t,e,n);if(n)return gx(e),Oc(t,e,n);if(xx.existsSync(e))throw new Error("dest already exists.");return Oc(t,e,n)}function Oc(t,e,n){try{xx.renameSync(t,e);}catch(i){if(i.code!=="EXDEV")throw i;return Uk(t,e,n)}}function Uk(t,e,n){return Bk(t,e,{overwrite:n,errorOnExist:!0,preserveTimestamps:!0}),gx(t)}vx.exports=Lk;});var Sx=g((WD,wx)=>{var zk=Se().fromCallback;wx.exports={move:zk(hx()),moveSync:bx()};});var Ax=g((HD,Ex)=>{Ex.exports={...cn(),...Oo(),...gy(),...Jy(),...lx(),...Ve(),...Sx(),...Co(),...Lt(),...Ki()};});var kc=g((JD,Rx)=>{var Qi=t=>t&&typeof t.message=="string",Rc=t=>{if(!t)return;let e=t.cause;if(typeof e=="function"){let n=t.cause();return Qi(n)?n:void 0}else return Qi(e)?e:void 0},Ox=(t,e)=>{if(!Qi(t))return "";let n=t.stack||"";if(e.has(t))return n+`
causes have become circular...`;let i=Rc(t);return i?(e.add(t),n+`
caused by: `+Ox(i,e)):n},$k=t=>Ox(t,new Set),Tx=(t,e,n)=>{if(!Qi(t))return "";let i=n?"":t.message||"";if(e.has(t))return i+": ...";let r=Rc(t);if(r){e.add(t);let o=typeof t.cause=="function";return i+(o?"":": ")+Tx(r,e,o)}else return i},Mk=t=>Tx(t,new Set);Rx.exports={isErrorLike:Qi,getErrorCause:Rc,stackWithCauses:$k,messageWithCauses:Mk};});var Cc=g((KD,Cx)=>{var Wk=Symbol("circular-ref-tag"),Fo=Symbol("pino-raw-err-ref"),kx=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[Fo]},set:function(t){this[Fo]=t;}}});Object.defineProperty(kx,Fo,{writable:!0,value:{}});Cx.exports={pinoErrProto:kx,pinoErrorSymbols:{seen:Wk,rawSymbol:Fo}};});var Px=g((YD,Fx)=>{Fx.exports=Fc;var{messageWithCauses:Hk,stackWithCauses:Gk,isErrorLike:_x}=kc(),{pinoErrProto:Vk,pinoErrorSymbols:Jk}=Cc(),{seen:_c}=Jk,{toString:Kk}=Object.prototype;function Fc(t){if(!_x(t))return t;t[_c]=void 0;let e=Object.create(Vk);e.type=Kk.call(t.constructor)==="[object Function]"?t.constructor.name:t.name,e.message=Hk(t),e.stack=Gk(t),Array.isArray(t.errors)&&(e.aggregateErrors=t.errors.map(n=>Fc(n)));for(let n in t)if(e[n]===void 0){let i=t[n];_x(i)?n!=="cause"&&!Object.prototype.hasOwnProperty.call(i,_c)&&(e[n]=Fc(i)):e[n]=i;}return delete t[_c],e.raw=t,e}});var jx=g((XD,qx)=>{qx.exports=qo;var{isErrorLike:Pc}=kc(),{pinoErrProto:Yk,pinoErrorSymbols:Xk}=Cc(),{seen:Po}=Xk,{toString:Qk}=Object.prototype;function qo(t){if(!Pc(t))return t;t[Po]=void 0;let e=Object.create(Yk);e.type=Qk.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=>qo(n))),Pc(t.cause)&&!Object.prototype.hasOwnProperty.call(t.cause,Po)&&(e.cause=qo(t.cause));for(let n in t)if(e[n]===void 0){let i=t[n];Pc(i)?Object.prototype.hasOwnProperty.call(i,Po)||(e[n]=qo(i)):e[n]=i;}return delete t[Po],e.raw=t,e}});var Dx=g((QD,Lx)=>{Lx.exports={mapHttpRequest:Zk,reqSerializer:Ix};var qc=Symbol("pino-raw-req-ref"),Bx=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[qc]},set:function(t){this[qc]=t;}}});Object.defineProperty(Bx,qc,{writable:!0,value:{}});function Ix(t){let e=t.info||t.socket,n=Object.create(Bx);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 Zk(t){return {req:Ix(t)}}});var $x=g((ZD,zx)=>{zx.exports={mapHttpResponse:e1,resSerializer:Ux};var jc=Symbol("pino-raw-res-ref"),Nx=Object.create({},{statusCode:{enumerable:!0,writable:!0,value:0},headers:{enumerable:!0,writable:!0,value:""},raw:{enumerable:!1,get:function(){return this[jc]},set:function(t){this[jc]=t;}}});Object.defineProperty(Nx,jc,{writable:!0,value:{}});function Ux(t){let e=Object.create(Nx);return e.statusCode=t.headersSent?t.statusCode:null,e.headers=t.getHeaders?t.getHeaders():t._headers,e.raw=t,e}function e1(t){return {res:Ux(t)}}});var Ic=g((eN,Mx)=>{var Bc=Px(),t1=jx(),jo=Dx(),Bo=$x();Mx.exports={err:Bc,errWithCause:t1,mapHttpRequest:jo.mapHttpRequest,mapHttpResponse:Bo.mapHttpResponse,req:jo.reqSerializer,res:Bo.resSerializer,wrapErrorSerializer:function(e){return e===Bc?e:function(i){return e(Bc(i))}},wrapRequestSerializer:function(e){return e===jo.reqSerializer?e:function(i){return e(jo.reqSerializer(i))}},wrapResponseSerializer:function(e){return e===Bo.resSerializer?e:function(i){return e(Bo.resSerializer(i))}}};});var Lc=g((tN,Wx)=>{function n1(t,e){return e}Wx.exports=function(){let e=Error.prepareStackTrace;Error.prepareStackTrace=n1;let n=new Error().stack;if(Error.prepareStackTrace=e,!Array.isArray(n))return;let i=n.slice(2),r=[];for(let o of i)o&&r.push(o.getFileName());return r};});var Gx=g((nN,Hx)=>{Hx.exports=i1;function i1(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:r}){r.forEach(o=>{if(typeof o!="string")throw Error(e());try{if(//.test(o))throw Error();let a=(o[0]==="["?"":".")+o.replace(/^\*/,"\u3007").replace(/\.\*/g,".\u3007").replace(/\[\*\]/g,"[\u3007]");if(/\n|\r|;/.test(a)||/\/\*/.test(a))throw Error();Function(`
'use strict'
const o = new Proxy({}, { get: () => o, set: () => { throw Error() } });
const \u3007 = null;
o${a}
if ([o${a}].length !== 1) throw Error()`)();}catch{throw Error(n(o))}});}}});var Io=g((iN,Vx)=>{Vx.exports=/[^.[\]]+|\[((?:.)*?)\]/g;});var Kx=g((rN,Jx)=>{var r1=Io();Jx.exports=o1;function o1({paths:t}){let e=[];var n=0;let i=t.reduce(function(r,o,a){var s=o.match(r1).map(u=>u.replace(/'|"|`/g,""));let c=o[0]==="[";s=s.map(u=>u[0]==="["?u.substr(1,u.length-2):u);let l=s.indexOf("*");if(l>-1){let u=s.slice(0,l),p=u.join("."),h=s.slice(l+1,s.length),f=h.length>0;n++,e.push({before:u,beforeStr:p,after:h,nested:f});}else r[o]={path:s,val:void 0,precensored:!1,circle:"",escPath:JSON.stringify(o),leadingBracket:c};return r},{});return {wildcards:e,wcLen:n,secret:i}}});var Xx=g((oN,Yx)=>{var a1=Io();Yx.exports=s1;function s1({secret:t,serialize:e,wcLen:n,strict:i,isCensorFct:r,censorFctTakesPath:o},a){let s=Function("o",`
if (typeof o !== 'object' || o == null) {
${p1(i,e)}
}
const { censor, secret } = this
${c1(t,r,o)}
this.compileRestore()
${u1(n>0,r,o)}
${l1(e)}
`).bind(a);return e===!1&&(s.restore=c=>a.restore(c)),s}function c1(t,e,n){return Object.keys(t).map(i=>{let{escPath:r,leadingBracket:o,path:a}=t[i],s=o?1:0,c=o?"":".",l=[];for(var u;(u=a1.exec(i))!==null;){let[,d]=u,{index:y,input:v}=u;y>s&&l.push(v.substring(0,y-(d?0:1)));}var p=l.map(d=>`o${c}${d}`).join(" && ");p.length===0?p+=`o${c}${i} != null`:p+=` && o${c}${i} != null`;let h=`
switch (true) {
${l.reverse().map(d=>`
case o${c}${d} === censor:
secret[${r}].circle = ${JSON.stringify(d)}
break
`).join(`
`)}
}
`,f=n?`val, ${JSON.stringify(a)}`:"val";return `
if (${p}) {
const val = o${c}${i}
if (val === censor) {
secret[${r}].precensored = true
} else {
secret[${r}].val = val
o${c}${i} = ${e?`censor(${f})`:"censor"}
${h}
}
}
`}).join(`
`)}function u1(t,e,n){return t===!0?`
{
const { wildcards, wcLen, groupRedact, nestedRedact } = this
for (var i = 0; i < wcLen; i++) {
const { before, beforeStr, after, nested } = wildcards[i]
if (nested === true) {
secret[beforeStr] = secret[beforeStr] || []
nestedRedact(secret[beforeStr], o, before, after, censor, ${e}, ${n})
} else secret[beforeStr] = groupRedact(o, before, censor, ${e}, ${n})
}
}
`:""}function l1(t){return t===!1?"return o":`
var s = this.serialize(o)
this.restore(o)
return s
`}function p1(t,e){return t===!0?"throw Error('fast-redact: primitives cannot be redacted')":e===!1?"return o":"return this.serialize(o)"}});var Dc=g((aN,tg)=>{tg.exports={groupRedact:d1,groupRestore:f1,nestedRedact:h1,nestedRestore:m1};function f1({keys:t,values:e,target:n}){if(n==null)return;let i=t.length;for(var r=0;r<i;r++){let o=t[r];n[o]=e[r];}}function d1(t,e,n,i,r){let o=Qx(t,e);if(o==null)return {keys:null,values:null,target:null,flat:!0};let a=Object.keys(o),s=a.length,c=e.length,l=r?[...e]:void 0,u=new Array(s);for(var p=0;p<s;p++){let h=a[p];u[p]=o[h],r?(l[c]=h,o[h]=n(o[h],l)):i?o[h]=n(o[h]):o[h]=n;}return {keys:a,values:u,target:o,flat:!0}}function m1(t){let e=t.length;for(var n=0;n<e;n++){let{key:r,target:o,value:a,level:s}=t[n];if(s===0||s===1){if(Qn(o,r)&&(o[r]=a),typeof o=="object"){let c=Object.keys(o);for(var i=0;i<c.length;i++){let l=c[i],u=o[l];Qn(u,r)&&(u[r]=a);}}}else eg(r,o,a,s);}}function h1(t,e,n,i,r,o,a){let s=Qx(e,n);if(s==null)return;let c=Object.keys(s),l=c.length;for(var u=0;u<l;u++){let p=c[u],{value:h,parent:f,exists:d,level:y}=y1(s,p,n,i,r,o,a);d===!0&&f!==null&&t.push({key:i[i.length-1],target:f,value:h,level:y});}return t}function Qn(t,e){return t!=null?"hasOwn"in Object?Object.hasOwn(t,e):Object.prototype.hasOwnProperty.call(t,e):!1}function y1(t,e,n,i,r,o,a){let s=i.length,c=s-1,l=e;var u=-1,p,h,f,d=null,y=!0,v=null,b,w,A=!1,O=0;if(f=p=t[e],typeof p!="object")return {value:null,parent:null,exists:y};for(;p!=null&&++u<s;){if(e=i[u],d=f,e!=="*"&&!v&&!(typeof p=="object"&&e in p)){y=!1;break}if(!(e==="*"&&(v==="*"&&(A=!0),v=e,u!==c))){if(v){let q=Object.keys(p);for(var k=0;k<q.length;k++){let L=q[k];w=p[L],b=e==="*",A?(O=u,f=Zx(w,O-1,e,n,i,r,o,a,l,p,h,f,b,L,u,c)):(b||typeof w=="object"&&w!==null&&e in w)&&(b?f=w:f=w[e],h=u!==c?f:o?a?r(f,[...n,l,...i]):r(f):r,b?p[L]=h:w[e]===h?y=!1:w[e]=h===void 0&&r!==void 0||Qn(w,e)&&h===f?w[e]:h);}v=null;}else f=p[e],h=u!==c?f:o?a?r(f,[...n,l,...i]):r(f):r,p[e]=Qn(p,e)&&h===f||h===void 0&&r!==void 0?p[e]:h,p=p[e];if(typeof p!="object")break;(f===d||typeof f>"u")&&(y=!1);}}return {value:f,parent:d,exists:y,level:O}}function Qx(t,e){for(var n=-1,i=e.length,r=t;r!=null&&++n<i;)r=r[e[n]];return r}function Zx(t,e,n,i,r,o,a,s,c,l,u,p,h,f,d,y,v){if(e===0)return (h||typeof t=="object"&&t!==null&&n in t)&&(h?p=t:p=t[n],u=d!==y?p:a?s?o(p,[...i,c,...r]):o(p):o,h?l[f]=u:t[n]===u?!1:t[n]=u===void 0&&o!==void 0||Qn(t,n)&&u===p?t[n]:u),p;for(let w in t)if(typeof t[w]=="object"){var b=Zx(t[w],e-1,n,i,r,o,a,s,c,l,u,p,h,f,d,y);return b}}function eg(t,e,n,i){if(i===0){Qn(e,t)&&(e[t]=n);return}for(let r in e)typeof e[r]=="object"&&eg(t,e[r],n,i-1);}});var ig=g((sN,ng)=>{var{groupRestore:x1,nestedRestore:g1}=Dc();ng.exports=v1;function v1({secret:t,wcLen:e}){return function(){if(this.restore)return;let i=Object.keys(t),r=b1(t,i),o=e>0,a=o?{secret:t,groupRestore:x1,nestedRestore:g1}:{secret:t};this.restore=Function("o",w1(r,i,o)).bind(a);}}function b1(t,e){return e.map(n=>{let{circle:i,escPath:r,leadingBracket:o}=t[n],s=i?`o.${i} = secret[${r}].val`:`o${o?"":"."}${n} = secret[${r}].val`,c=`secret[${r}].val = undefined`;return `
if (secret[${r}].val !== undefined) {
try { ${s} } catch (e) {}
${c}
}
`}).join("")}function w1(t,e,n){return `
const secret = this.secret
${n===!0?`
const keys = Object.keys(secret)
const len = keys.length
for (var i = len - 1; i >= ${e.length}; i--) {
const k = keys[i]
const o = secret[k]
if (o.flat === true) this.groupRestore(o)
else this.nestedRestore(o)
secret[k] = null
}
`:""}
${t}
return o
`}});var og=g((cN,rg)=>{rg.exports=S1;function S1(t){let{secret:e,censor:n,compileRestore:i,serialize:r,groupRedact:o,nestedRedact:a,wildcards:s,wcLen:c}=t,l=[{secret:e,censor:n,compileRestore:i}];return r!==!1&&l.push({serialize:r}),c>0&&l.push({groupRedact:o,nestedRedact:a,wildcards:s,wcLen:c}),Object.assign(...l)}});var cg=g((uN,sg)=>{var ag=Gx(),E1=Kx(),A1=Xx(),O1=ig(),{groupRedact:T1,nestedRedact:R1}=Dc(),k1=og(),C1=Io(),_1=ag(),Nc=t=>t;Nc.restore=Nc;var F1="[REDACTED]";Uc.rx=C1;Uc.validator=ag;sg.exports=Uc;function Uc(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 r=i===!0?void 0:"censor"in t?t.censor:F1,o=typeof r=="function",a=o&&r.length>1;if(e.length===0)return n||Nc;_1({paths:e,serialize:n,censor:r});let{wildcards:s,wcLen:c,secret:l}=E1({paths:e,censor:r}),u=O1({secret:l,wcLen:c}),p="strict"in t?t.strict:!0;return A1({secret:l,wcLen:c,serialize:n,strict:p,isCensorFct:o,censorFctTakesPath:a},k1({secret:l,censor:r,compileRestore:u,serialize:n,groupRedact:T1,nestedRedact:R1,wildcards:s,wcLen:c}))}});var Zn=g((lN,ug)=>{var P1=Symbol("pino.setLevel"),q1=Symbol("pino.getLevel"),j1=Symbol("pino.levelVal"),B1=Symbol("pino.useLevelLabels"),I1=Symbol("pino.useOnlyCustomLevels"),L1=Symbol("pino.mixin"),D1=Symbol("pino.lsCache"),N1=Symbol("pino.chindings"),U1=Symbol("pino.asJson"),z1=Symbol("pino.write"),$1=Symbol("pino.redactFmt"),M1=Symbol("pino.time"),W1=Symbol("pino.timeSliceIndex"),H1=Symbol("pino.stream"),G1=Symbol("pino.stringify"),V1=Symbol("pino.stringifySafe"),J1=Symbol("pino.stringifiers"),K1=Symbol("pino.end"),Y1=Symbol("pino.formatOpts"),X1=Symbol("pino.messageKey"),Q1=Symbol("pino.errorKey"),Z1=Symbol("pino.nestedKey"),eC=Symbol("pino.nestedKeyStr"),tC=Symbol("pino.mixinMergeStrategy"),nC=Symbol("pino.msgPrefix"),iC=Symbol("pino.wildcardFirst"),rC=Symbol.for("pino.serializers"),oC=Symbol.for("pino.formatters"),aC=Symbol.for("pino.hooks"),sC=Symbol.for("pino.metadata");ug.exports={setLevelSym:P1,getLevelSym:q1,levelValSym:j1,useLevelLabelsSym:B1,mixinSym:L1,lsCacheSym:D1,chindingsSym:N1,asJsonSym:U1,writeSym:z1,serializersSym:rC,redactFmtSym:$1,timeSym:M1,timeSliceIndexSym:W1,streamSym:H1,stringifySym:G1,stringifySafeSym:V1,stringifiersSym:J1,endSym:K1,formatOptsSym:Y1,messageKeySym:X1,errorKeySym:Q1,nestedKeySym:Z1,wildcardFirstSym:iC,needsMetadataGsym:sC,useOnlyCustomLevelsSym:I1,formattersSym:oC,hooksSym:aC,nestedKeyStrSym:eC,mixinMergeStrategySym:tC,msgPrefixSym:nC};});var Mc=g((pN,dg)=>{var $c=cg(),{redactFmtSym:cC,wildcardFirstSym:Lo}=Zn(),{rx:zc,validator:uC}=$c,lg=uC({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})`}),pg="[Redacted]",fg=!1;function lC(t,e){let{paths:n,censor:i}=pC(t),r=n.reduce((s,c)=>{zc.lastIndex=0;let l=zc.exec(c),u=zc.exec(c),p=l[1]!==void 0?l[1].replace(/^(?:"|'|`)(.*)(?:"|'|`)$/,"$1"):l[0];if(p==="*"&&(p=Lo),u===null)return s[p]=null,s;if(s[p]===null)return s;let{index:h}=u,f=`${c.substr(h,c.length-1)}`;return s[p]=s[p]||[],p!==Lo&&s[p].length===0&&s[p].push(...s[Lo]||[]),p===Lo&&Object.keys(s).forEach(function(d){s[d]&&s[d].push(f);}),s[p].push(f),s},{}),o={[cC]:$c({paths:n,censor:i,serialize:e,strict:fg})},a=(...s)=>e(typeof i=="function"?i(...s):i);return [...Object.keys(r),...Object.getOwnPropertySymbols(r)].reduce((s,c)=>{if(r[c]===null)s[c]=l=>a(l,[c]);else {let l=typeof i=="function"?(u,p)=>i(u,[c,...p]):i;s[c]=$c({paths:r[c],censor:l,serialize:e,strict:fg});}return s},o)}function pC(t){if(Array.isArray(t))return t={paths:t,censor:pg},lg(t),t;let{paths:e,censor:n=pg,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),lg({paths:e,censor:n}),{paths:e,censor:n}}dg.exports=lC;});var hg=g((fN,mg)=>{var fC=()=>"",dC=()=>`,"time":${Date.now()}`,mC=()=>`,"time":${Math.round(Date.now()/1e3)}`,hC=()=>`,"time":"${new Date(Date.now()).toISOString()}"`;mg.exports={nullTime:fC,epochTime:dC,unixTime:mC,isoTime:hC};});var xg=g((dN,yg)=>{function yC(t){try{return JSON.stringify(t)}catch{return '"[Circular]"'}}yg.exports=xC;function xC(t,e,n){var i=n&&n.stringify||yC,r=1;if(typeof t=="object"&&t!==null){var o=e.length+r;if(o===1)return t;var a=new Array(o);a[0]=i(t);for(var s=1;s<o;s++)a[s]=i(e[s]);return a.join(" ")}if(typeof t!="string")return t;var c=e.length;if(c===0)return t;for(var l="",u=1-r,p=-1,h=t&&t.length||0,f=0;f<h;){if(t.charCodeAt(f)===37&&f+1<h){switch(p=p>-1?p:0,t.charCodeAt(f+1)){case 100:case 102:if(u>=c||e[u]==null)break;p<f&&(l+=t.slice(p,f)),l+=Number(e[u]),p=f+2,f++;break;case 105:if(u>=c||e[u]==null)break;p<f&&(l+=t.slice(p,f)),l+=Math.floor(Number(e[u])),p=f+2,f++;break;case 79:case 111:case 106:if(u>=c||e[u]===void 0)break;p<f&&(l+=t.slice(p,f));var d=typeof e[u];if(d==="string"){l+="'"+e[u]+"'",p=f+2,f++;break}if(d==="function"){l+=e[u].name||"<anonymous>",p=f+2,f++;break}l+=i(e[u]),p=f+2,f++;break;case 115:if(u>=c)break;p<f&&(l+=t.slice(p,f)),l+=String(e[u]),p=f+2,f++;break;case 37:p<f&&(l+=t.slice(p,f)),l+="%",p=f+2,f++,u--;break}++u;}++f;}return p===-1?t:(p<h&&(l+=t.slice(p)),l)}});var Hc=g((mN,Wc)=>{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));Wc.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");};Wc.exports=t;}});var Sg=g((hN,wg)=>{var Oe=_("fs"),gC=_("events"),vC=_("util").inherits,gg=_("path"),vg=Hc(),Gc=100,bC=16*1024;function bg(t,e){e._opening=!0,e._writing=!0,e._asyncDrainScheduled=!1;function n(o,a){if(o){e._reopening=!1,e._writing=!1,e._opening=!1,e.sync?process.nextTick(()=>{e.listenerCount("error")>0&&e.emit("error",o);}):e.emit("error",o);return}e.fd=a,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&&ei(e);}let i=e.append?"a":"w",r=e.mode;if(e.sync)try{e.mkdir&&Oe.mkdirSync(gg.dirname(t),{recursive:!0});let o=Oe.openSync(t,i,r);n(null,o);}catch(o){throw n(o),o}else e.mkdir?Oe.mkdir(gg.dirname(t),{recursive:!0},o=>{if(o)return n(o);Oe.open(t,i,r,n);}):Oe.open(t,i,r,n);}function Te(t){if(!(this instanceof Te))return new Te(t);let{fd:e,dest:n,minLength:i,maxLength:r,maxWrite:o,sync:a,append:s=!0,mode:c,mkdir:l,retryEAGAIN:u,fsync:p}=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=r||0,this.maxWrite=o||bC,this.sync=a||!1,this._fsync=p||!1,this.append=s||!1,this.mode=c,this.retryEAGAIN=u||(()=>!0),this.mkdir=l||!1,typeof e=="number")this.fd=e,process.nextTick(()=>this.emit("ready"));else if(typeof e=="string")bg(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=(h,f)=>{if(h){if((h.code==="EAGAIN"||h.code==="EBUSY")&&this.retryEAGAIN(h,this._writingBuf.length,this._len-this._writingBuf.length))if(this.sync)try{vg(Gc),this.release(void 0,0);}catch(y){this.release(y);}else setTimeout(()=>{Oe.write(this.fd,this._writingBuf,"utf8",this.release);},Gc);else this._writing=!1,this.emit("error",h);return}if(this.emit("write",f),this._len-=f,this._len<0&&(this._len=0),this._writingBuf=this._writingBuf.slice(f),this._writingBuf.length){if(!this.sync){Oe.write(this.fd,this._writingBuf,"utf8",this.release);return}try{do{let y=Oe.writeSync(this.fd,this._writingBuf,"utf8");this._len-=y,this._writingBuf=this._writingBuf.slice(y);}while(this._writingBuf)}catch(y){this.release(y);return}}this._fsync&&Oe.fsyncSync(this.fd);let d=this._len;this._reopening?(this._writing=!1,this._reopening=!1,this.reopen()):d>this.minLength?ei(this):this._ending?d>0?ei(this):(this._writing=!1,Do(this)):(this._writing=!1,this.sync?this._asyncDrainScheduled||(this._asyncDrainScheduled=!0,process.nextTick(wC,this)):this.emit("drain"));},this.on("newListener",function(h){h==="drain"&&(this._asyncDrainScheduled=!1);});}function wC(t){t.listenerCount("drain")>0&&(t._asyncDrainScheduled=!1,t.emit("drain"));}vC(Te,gC);Te.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._len<this._hwm):(n.length===0||n[n.length-1].length+t.length>this.maxWrite?n.push(""+t):n[n.length-1]+=t,this._len=e,!this._writing&&this._len>=this.minLength&&ei(this),this._len<this._hwm)};Te.prototype.flush=function(){if(this.destroyed)throw new Error("SonicBoom destroyed");this._writing||this.minLength<=0||(this._bufs.length===0&&this._bufs.push(""),ei(this));};Te.prototype.reopen=function(t){if(this.destroyed)throw new Error("SonicBoom destroyed");if(this._opening){this.once("ready",()=>{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&&Oe.close(e,n=>{if(n)return this.emit("error",n)});}),bg(t||this.file,this);};Te.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?ei(this):Do(this)));};Te.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=Oe.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;vg(Gc);}}};Te.prototype.destroy=function(){this.destroyed||Do(this);};function ei(t){let e=t.release;if(t._writing=!0,t._writingBuf=t._writingBuf||t._bufs.shift()||"",t.sync)try{let n=Oe.writeSync(t.fd,t._writingBuf,"utf8");e(null,n);}catch(n){e(n);}else Oe.write(t.fd,t._writingBuf,"utf8",e);}function Do(t){if(t.fd===-1){t.once("ready",Do.bind(null,t));return}t.destroyed=!0,t._bufs=[],t.fd!==1&&t.fd!==2?Oe.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");}}Te.SonicBoom=Te;Te.default=Te;wg.exports=Te;});var Vc=g((yN,kg)=>{var zt={exit:[],beforeExit:[]},Eg={exit:EC,beforeExit:AC},Ag=new FinalizationRegistry(OC);function SC(t){zt[t].length>0||process.on(t,Eg[t]);}function Og(t){zt[t].length>0||process.removeListener(t,Eg[t]);}function EC(){Tg("exit");}function AC(){Tg("beforeExit");}function Tg(t){for(let e of zt[t]){let n=e.deref(),i=e.fn;n!==void 0&&i(n,t);}}function OC(t){for(let e of ["exit","beforeExit"]){let n=zt[e].indexOf(t);zt[e].splice(n,n+1),Og(e);}}function Rg(t,e,n){if(e===void 0)throw new Error("the object can't be undefined");SC(t);let i=new WeakRef(e);i.fn=n,Ag.register(e,i),zt[t].push(i);}function TC(t,e){Rg("exit",t,e);}function RC(t,e){Rg("beforeExit",t,e);}function kC(t){Ag.unregister(t);for(let e of ["exit","beforeExit"])zt[e]=zt[e].filter(n=>{let i=n.deref();return i&&i!==t}),Og(e);}kg.exports={register:TC,registerBeforeExit:RC,unregister:kC};});var Cg=g((xN,CC)=>{CC.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 <hello@matteocollina.com>",license:"MIT",bugs:{url:"https://github.com/mcollina/thread-stream/issues"},homepage:"https://github.com/mcollina/thread-stream#readme"};});var Fg=g((gN,_g)=>{function _C(t,e,n,i,r){let o=Date.now()+i,a=Atomics.load(t,e);if(a===n){r(null,"ok");return}let s=a,c=l=>{Date.now()>o?r(null,"timed-out"):setTimeout(()=>{s=a,a=Atomics.load(t,e),a===s?c(l>=1e3?1e3:l*2):a===n?r(null,"ok"):r(null,"not-equal");},l);};c(1);}function FC(t,e,n,i,r){let o=Date.now()+i,a=Atomics.load(t,e);if(a!==n){r(null,"ok");return}let s=c=>{Date.now()>o?r(null,"timed-out"):setTimeout(()=>{a=Atomics.load(t,e),a!==n?r(null,"ok"):s(c>=1e3?1e3:c*2);},c);};s(1);}_g.exports={wait:_C,waitDiff:FC};});var qg=g((vN,Pg)=>{Pg.exports={WRITE_INDEX:4,READ_INDEX:8};});var Dg=g((wN,Lg)=>{var{version:PC}=Cg(),{EventEmitter:qC}=_("events"),{Worker:jC}=_("worker_threads"),{join:BC}=_("path"),{pathToFileURL:IC}=_("url"),{wait:LC}=Fg(),{WRITE_INDEX:Re,READ_INDEX:ct}=qg(),DC=_("buffer"),NC=_("assert"),E=Symbol("kImpl"),UC=DC.constants.MAX_STRING_LENGTH,Uo=class{constructor(e){this._value=e;}deref(){return this._value}},zC=global.FinalizationRegistry||class{register(){}unregister(){}},$C=global.WeakRef||Uo,jg=new zC(t=>{t.exited||t.terminate();});function MC(t,e){let{filename:n,workerData:i}=e,o=("__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{})["thread-stream-worker"]||BC(__dirname,"lib","worker.js"),a=new jC(o,{...e.workerOpts,trackUnmanagedFds:!1,workerData:{filename:n.indexOf("file://")===0?n:IC(n).href,dataBuf:t[E].dataBuf,stateBuf:t[E].stateBuf,workerData:{$context:{threadStreamVersion:PC},...i}}});return a.stream=new Uo(t),a.on("message",WC),a.on("exit",Ig),jg.register(t,a),a}function Bg(t){NC(!t[E].sync),t[E].needDrain&&(t[E].needDrain=!1,t.emit("drain"));}function No(t){let e=Atomics.load(t[E].state,Re),n=t[E].data.length-e;if(n>0){if(t[E].buf.length===0){t[E].flushing=!1,t[E].ending?Qc(t):t[E].needDrain&&process.nextTick(Bg,t);return}let i=t[E].buf.slice(0,n),r=Buffer.byteLength(i);r<=n?(t[E].buf=t[E].buf.slice(n),zo(t,i,No.bind(null,t))):t.flush(()=>{if(!t.destroyed){for(Atomics.store(t[E].state,ct,0),Atomics.store(t[E].state,Re,0);r>t[E].data.length;)n=n/2,i=t[E].buf.slice(0,n),r=Buffer.byteLength(i);t[E].buf=t[E].buf.slice(n),zo(t,i,No.bind(null,t));}});}else if(n===0){if(e===0&&t[E].buf.length===0)return;t.flush(()=>{Atomics.store(t[E].state,ct,0),Atomics.store(t[E].state,Re,0),No(t);});}else ut(t,new Error("overwritten"));}function WC(t){let e=this.stream.deref();if(e===void 0){this.exited=!0,this.terminate();return}switch(t.code){case"READY":this.stream=new $C(e),e.flush(()=>{e[E].ready=!0,e.emit("ready");});break;case"ERROR":ut(e,t.err);break;case"EVENT":Array.isArray(t.args)?e.emit(t.name,...t.args):e.emit(t.name,t.args);break;default:ut(e,new Error("this should not happen: "+t.code));}}function Ig(t){let e=this.stream.deref();e!==void 0&&(jg.unregister(e),e.worker.exited=!0,e.worker.off("exit",Ig),ut(e,t!==0?new Error("the worker thread exited"):null));}var Kc=class extends qC{constructor(e={}){if(super(),e.bufferSize<4)throw new Error("bufferSize must at least fit a 4-byte utf-8 char");this[E]={},this[E].stateBuf=new SharedArrayBuffer(128),this[E].state=new Int32Array(this[E].stateBuf),this[E].dataBuf=new SharedArrayBuffer(e.bufferSize||4*1024*1024),this[E].data=Buffer.from(this[E].dataBuf),this[E].sync=e.sync||!1,this[E].ending=!1,this[E].ended=!1,this[E].needDrain=!1,this[E].destroyed=!1,this[E].flushing=!1,this[E].ready=!1,this[E].finished=!1,this[E].errored=null,this[E].closed=!1,this[E].buf="",this.worker=MC(this,e);}write(e){if(this[E].destroyed)return Yc(this,new Error("the worker has exited")),!1;if(this[E].ending)return Yc(this,new Error("the worker is ending")),!1;if(this[E].flushing&&this[E].buf.length+e.length>=UC)try{Jc(this),this[E].flushing=!0;}catch(n){return ut(this,n),!1}if(this[E].buf+=e,this[E].sync)try{return Jc(this),!0}catch(n){return ut(this,n),!1}return this[E].flushing||(this[E].flushing=!0,setImmediate(No,this)),this[E].needDrain=this[E].data.length-this[E].buf.length-Atomics.load(this[E].state,Re)<=0,!this[E].needDrain}end(){this[E].destroyed||(this[E].ending=!0,Qc(this));}flush(e){if(this[E].destroyed){typeof e=="function"&&process.nextTick(e,new Error("the worker has exited"));return}let n=Atomics.load(this[E].state,Re);LC(this[E].state,ct,n,1/0,(i,r)=>{if(i){ut(this,i),process.nextTick(e,i);return}if(r==="not-equal"){this.flush(e);return}process.nextTick(e);});}flushSync(){this[E].destroyed||(Jc(this),Xc(this));}unref(){this.worker.unref();}ref(){this.worker.ref();}get ready(){return this[E].ready}get destroyed(){return this[E].destroyed}get closed(){return this[E].closed}get writable(){return !this[E].destroyed&&!this[E].ending}get writableEnded(){return this[E].ending}get writableFinished(){return this[E].finished}get writableNeedDrain(){return this[E].needDrain}get writableObjectMode(){return !1}get writableErrored(){return this[E].errored}};function Yc(t,e){setImmediate(()=>{t.emit("error",e);});}function ut(t,e){t[E].destroyed||(t[E].destroyed=!0,e&&(t[E].errored=e,Yc(t,e)),t.worker.exited?setImmediate(()=>{t[E].closed=!0,t.emit("close");}):t.worker.terminate().catch(()=>{}).then(()=>{t[E].closed=!0,t.emit("close");}));}function zo(t,e,n){let i=Atomics.load(t[E].state,Re),r=Buffer.byteLength(e);return t[E].data.write(e,i),Atomics.store(t[E].state,Re,i+r),Atomics.notify(t[E].state,Re),n(),!0}function Qc(t){if(!(t[E].ended||!t[E].ending||t[E].flushing)){t[E].ended=!0;try{t.flushSync();let e=Atomics.load(t[E].state,ct);Atomics.store(t[E].state,Re,-1),Atomics.notify(t[E].state,Re);let n=0;for(;e!==-1;){if(Atomics.wait(t[E].state,ct,e,1e3),e=Atomics.load(t[E].state,ct),e===-2){ut(t,new Error("end() failed"));return}if(++n===10){ut(t,new Error("end() took too long (10s)"));return}}process.nextTick(()=>{t[E].finished=!0,t.emit("finish");});}catch(e){ut(t,e);}}}function Jc(t){let e=()=>{t[E].ending?Qc(t):t[E].needDrain&&process.nextTick(Bg,t);};for(t[E].flushing=!1;t[E].buf.length!==0;){let n=Atomics.load(t[E].state,Re),i=t[E].data.length-n;if(i===0){Xc(t),Atomics.store(t[E].state,ct,0),Atomics.store(t[E].state,Re,0);continue}else if(i<0)throw new Error("overwritten");let r=t[E].buf.slice(0,i),o=Buffer.byteLength(r);if(o<=i)t[E].buf=t[E].buf.slice(i),zo(t,r,e);else {for(Xc(t),Atomics.store(t[E].state,ct,0),Atomics.store(t[E].state,Re,0);o>t[E].buf.length;)i=i/2,r=t[E].buf.slice(0,i),o=Buffer.byteLength(r);t[E].buf=t[E].buf.slice(i),zo(t,r,e);}}}function Xc(t){if(t[E].flushing)throw new Error("unable to flush while flushing");let e=Atomics.load(t[E].state,Re),n=0;for(;;){let i=Atomics.load(t[E].state,ct);if(i===-2)throw Error("_flushSync failed");if(i!==e)Atomics.wait(t[E].state,ct,i,1e3);else break;if(++n===10)throw new Error("_flushSync took too long (10s)")}}Lg.exports=Kc;});var tu=g((SN,Ng)=>{var{createRequire:HC}=_("module"),GC=Lc(),{join:Zc,isAbsolute:VC}=_("path"),JC=Hc(),eu=Vc(),KC=Dg();function YC(t){eu.register(t,QC),eu.registerBeforeExit(t,ZC),t.on("close",function(){eu.unregister(t);});}function XC(t,e,n){let i=new KC({filename:t,workerData:e,workerOpts:n});i.on("ready",r),i.on("close",function(){process.removeListener("exit",o);}),process.on("exit",o);function r(){process.removeListener("exit",o),i.unref(),n.autoEnd!==!1&&YC(i);}function o(){i.closed||(i.flushSync(),JC(100),i.end());}return i}function QC(t){t.ref(),t.flushSync(),t.end(),t.once("close",function(){t.unref();});}function ZC(t){t.flushSync();}function e_(t){let{pipeline:e,targets:n,levels:i,dedupe:r,options:o={},worker:a={},caller:s=GC()}=t,c=typeof s=="string"?[s]:s,l="__bundlerPathsOverrides"in globalThis?globalThis.__bundlerPathsOverrides:{},u=t.target;if(u&&n)throw new Error("only one of target or targets can be specified");return n?(u=l["pino-worker"]||Zc(__dirname,"worker.js"),o.targets=n.map(h=>({...h,target:p(h.target)}))):e&&(u=l["pino-pipeline-worker"]||Zc(__dirname,"worker-pipeline.js"),o.targets=e.map(h=>({...h,target:p(h.target)}))),i&&(o.levels=i),r&&(o.dedupe=r),XC(p(u),o,a);function p(h){if(h=l[h]||h,VC(h)||h.indexOf("file://")===0)return h;if(h==="pino/file")return Zc(__dirname,"..","file.js");let f;for(let d of c)try{f=HC(d).resolve(h);break}catch{continue}if(!f)throw new Error(`unable to determine transport target for "${h}"`);return f}}Ng.exports=e_;});var Wo=g((EN,Xg)=>{var Ug=xg(),{mapHttpRequest:t_,mapHttpResponse:n_}=Ic(),nu=Sg(),zg=Vc(),{lsCacheSym:i_,chindingsSym:Hg,writeSym:$g,serializersSym:Gg,formatOptsSym:Mg,endSym:r_,stringifiersSym:Vg,stringifySym:Jg,stringifySafeSym:iu,wildcardFirstSym:Kg,nestedKeySym:o_,formattersSym:Yg,messageKeySym:a_,errorKeySym:s_,nestedKeyStrSym:c_,msgPrefixSym:$o}=Zn(),{isMainThread:u_}=_("worker_threads"),l_=tu();function ti(){}function p_(t,e){if(!e)return n;return function(...r){e.call(this,r,n,t);};function n(i,...r){if(typeof i=="object"){let o=i;i!==null&&(i.method&&i.headers&&i.socket?i=t_(i):typeof i.setHeader=="function"&&(i=n_(i)));let a;o===null&&r.length===0?a=[null]:(o=r.shift(),a=r),typeof this[$o]=="string"&&o!==void 0&&o!==null&&(o=this[$o]+o),this[$g](i,Ug(o,a,this[Mg]),t);}else {let o=i===void 0?r.shift():i;typeof this[$o]=="string"&&o!==void 0&&o!==null&&(o=this[$o]+o),this[$g](null,Ug(o,r,this[Mg]),t);}}}function Wg(t){let e="",n=0,i=!1,r=255,o=t.length;if(o>100)return JSON.stringify(t);for(var a=0;a<o&&r>=32;a++)r=t.charCodeAt(a),(r===34||r===92)&&(e+=t.slice(n,a)+"\\",n=a,i=!0);return i?e+=t.slice(n):e=t,r<32?JSON.stringify(t):'"'+e+'"'}function f_(t,e,n,i){let r=this[Jg],o=this[iu],a=this[Vg],s=this[r_],c=this[Hg],l=this[Gg],u=this[Yg],p=this[a_],h=this[s_],f=this[i_][n]+i;f=f+c;let d;u.log&&(t=u.log(t));let y=a[Kg],v="";for(let w in t)if(d=t[w],Object.prototype.hasOwnProperty.call(t,w)&&d!==void 0){l[w]?d=l[w](d):w===h&&l.err&&(d=l.err(d));let A=a[w]||y;switch(typeof d){case"undefined":case"function":continue;case"number":Number.isFinite(d)===!1&&(d=null);case"boolean":A&&(d=A(d));break;case"string":d=(A||Wg)(d);break;default:d=(A||r)(d,o);}if(d===void 0)continue;v+=',"'+w+'":'+d;}let b="";if(e!==void 0){d=l[p]?l[p](e):e;let w=a[p]||y;switch(typeof d){case"function":break;case"number":Number.isFinite(d)===!1&&(d=null);case"boolean":w&&(d=w(d)),b=',"'+p+'":'+d;break;case"string":d=(w||Wg)(d),b=',"'+p+'":'+d;break;default:d=(w||r)(d,o),b=',"'+p+'":'+d;}}return this[o_]&&v?f+this[c_]+v.slice(1)+"}"+b+s:f+v+b+s}function d_(t,e){let n,i=t[Hg],r=t[Jg],o=t[iu],a=t[Vg],s=a[Kg],c=t[Gg],l=t[Yg].bindings;e=l(e);for(let u in e)if(n=e[u],(u!=="level"&&u!=="serializers"&&u!=="formatters"&&u!=="customLevels"&&e.hasOwnProperty(u)&&n!==void 0)===!0){if(n=c[u]?c[u](n):n,n=(a[u]||s||r)(n,o),n===void 0)continue;i+=',"'+u+'":'+n;}return i}function m_(t){return t.write!==t.constructor.prototype.write}function Mo(t){let e=new nu(t);return e.on("error",n),!t.sync&&u_&&(zg.register(e,h_),e.on("close",function(){zg.unregister(e);})),e;function n(i){if(i.code==="EPIPE"){e.write=ti,e.end=ti,e.flushSync=ti,e.destroy=ti;return}e.removeListener("error",n),e.emit("error",i);}}function h_(t,e){t.destroyed||(e==="beforeExit"?(t.flush(),t.on("drain",function(){t.end();})):t.flushSync());}function y_(t){return function(n,i,r={},o){if(typeof r=="string")o=Mo({dest:r}),r={};else if(typeof o=="string"){if(r&&r.transport)throw Error("only one of option.transport or stream can be specified");o=Mo({dest:o});}else if(r instanceof nu||r.writable||r._writableState)o=r,r={};else if(r.transport){if(r.transport instanceof nu||r.transport.writable||r.transport._writableState)throw Error("option.transport do not allow stream, please pass to option directly. e.g. pino(transport)");if(r.transport.targets&&r.transport.targets.length&&r.formatters&&typeof r.formatters.level=="function")throw Error("option.transport.targets do not allow custom level formatters");let c;r.customLevels&&(c=r.useOnlyCustomLevels?r.customLevels:Object.assign({},r.levels,r.customLevels)),o=l_({caller:i,...r.transport,levels:c});}if(r=Object.assign({},t,r),r.serializers=Object.assign({},t.serializers,r.serializers),r.formatters=Object.assign({},t.formatters,r.formatters),r.prettyPrint)throw new Error("prettyPrint option is no longer supported, see the pino-pretty package (https://github.com/pinojs/pino-pretty)");let{enabled:a,onChild:s}=r;return a===!1&&(r.level="silent"),s||(r.onChild=ti),o||(m_(process.stdout)?o=process.stdout:o=Mo({fd:process.stdout.fd||1})),{opts:r,stream:o}}}function x_(t,e){try{return JSON.stringify(t)}catch{try{return (e||this[iu])(t)}catch{return '"[unable to serialize, circular reference is too complex to analyze]"'}}}function g_(t,e,n){return {level:t,bindings:e,log:n}}function v_(t){let e=Number(t);return typeof t=="string"&&Number.isFinite(e)?e:t===void 0?1:t}Xg.exports={noop:ti,buildSafeSonicBoom:Mo,asChindings:d_,asJson:f_,genLog:p_,createArgsNormalizer:y_,stringify:x_,buildFormatters:g_,normalizeDestFileDescriptor:v_};});var Ho=g((AN,Zg)=>{var{lsCacheSym:b_,levelValSym:ru,useOnlyCustomLevelsSym:w_,streamSym:S_,formattersSym:E_,hooksSym:A_}=Zn(),{noop:O_,genLog:ln}=Wo(),Ke={trace:10,debug:20,info:30,warn:40,error:50,fatal:60},Qg={fatal:t=>{let e=ln(Ke.fatal,t);return function(...n){let i=this[S_];if(e.call(this,...n),typeof i.flushSync=="function")try{i.flushSync();}catch{}}},error:t=>ln(Ke.error,t),warn:t=>ln(Ke.warn,t),info:t=>ln(Ke.info,t),debug:t=>ln(Ke.debug,t),trace:t=>ln(Ke.trace,t)},ou=Object.keys(Ke).reduce((t,e)=>(t[Ke[e]]=e,t),{}),T_=Object.keys(ou).reduce((t,e)=>(t[e]='{"level":'+Number(e),t),{});function R_(t){let e=t[E_].level,{labels:n}=t.levels,i={};for(let r in n){let o=e(n[r],Number(r));i[r]=JSON.stringify(o).slice(0,-1);}return t[b_]=i,t}function k_(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 C_(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[ru],r=this[ru]=n[t],o=this[w_],a=this[A_].logMethod;for(let s in n){if(r>n[s]){this[s]=O_;continue}this[s]=k_(s,o)?Qg[s](a):ln(n[s],a);}this.emit("level-change",t,r,e[i],i,this);}function __(t){let{levels:e,levelVal:n}=this;return e&&e.labels?e.labels[n]:""}function F_(t){let{values:e}=this.levels,n=e[t];return n!==void 0&&n>=this[ru]}function P_(t=null,e=!1){let n=t?Object.keys(t).reduce((o,a)=>(o[t[a]]=a,o),{}):null,i=Object.assign(Object.create(Object.prototype,{Infinity:{value:"silent"}}),e?null:ou,n),r=Object.assign(Object.create(Object.prototype,{silent:{value:1/0}}),e?null:Ke,t);return {labels:i,values:r}}function q_(t,e,n){if(typeof t=="number"){if(![].concat(Object.keys(e||{}).map(o=>e[o]),n?[]:Object.keys(ou).map(o=>+o),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:Ke,e);if(!(t in i))throw Error(`default level:${t} must be included in custom levels`)}function j_(t,e){let{labels:n,values:i}=t;for(let r in e){if(r in i)throw Error("levels cannot be overridden");if(e[r]in n)throw Error("pre-existing level values cannot be used for new levels")}}Zg.exports={initialLsCache:T_,genLsCache:R_,levelMethods:Qg,getLevel:__,setLevel:C_,isLevelEnabled:F_,mappings:P_,levels:Ke,assertNoLevelCollisions:j_,assertDefaultLevelFound:q_};});var au=g((ON,ev)=>{ev.exports={version:"8.14.1"};});var pv=g((RN,lv)=>{var{EventEmitter:B_}=_("events"),{lsCacheSym:I_,levelValSym:L_,setLevelSym:cu,getLevelSym:tv,chindingsSym:uu,parsedChindingsSym:D_,mixinSym:N_,asJsonSym:av,writeSym:U_,mixinMergeStrategySym:z_,timeSym:$_,timeSliceIndexSym:M_,streamSym:sv,serializersSym:pn,formattersSym:su,errorKeySym:W_,useOnlyCustomLevelsSym:H_,needsMetadataGsym:G_,redactFmtSym:V_,stringifySym:J_,formatOptsSym:K_,stringifiersSym:Y_,msgPrefixSym:nv}=Zn(),{getLevel:X_,setLevel:Q_,isLevelEnabled:Z_,mappings:eF,initialLsCache:tF,genLsCache:nF,assertNoLevelCollisions:iF}=Ho(),{asChindings:cv,asJson:rF,buildFormatters:iv,stringify:rv}=Wo(),{version:oF}=au(),aF=Mc(),sF=class{},uv={constructor:sF,child:cF,bindings:uF,setBindings:lF,flush:mF,isLevelEnabled:Z_,version:oF,get level(){return this[tv]()},set level(t){this[cu](t);},get levelVal(){return this[L_]},set levelVal(t){throw Error("levelVal is read-only")},[I_]:tF,[U_]:fF,[av]:rF,[tv]:X_,[cu]:Q_};Object.setPrototypeOf(uv,B_.prototype);lv.exports=function(){return Object.create(uv)};var ov=t=>t;function cF(t,e){if(!t)throw Error("missing bindings for child Pino");e=e||{};let n=this[pn],i=this[su],r=Object.create(this);if(e.hasOwnProperty("serializers")===!0){r[pn]=Object.create(null);for(let u in n)r[pn][u]=n[u];let c=Object.getOwnPropertySymbols(n);for(var o=0;o<c.length;o++){let u=c[o];r[pn][u]=n[u];}for(let u in e.serializers)r[pn][u]=e.serializers[u];let l=Object.getOwnPropertySymbols(e.serializers);for(var a=0;a<l.length;a++){let u=l[a];r[pn][u]=e.serializers[u];}}else r[pn]=n;if(e.hasOwnProperty("formatters")){let{level:c,bindings:l,log:u}=e.formatters;r[su]=iv(c||i.level,l||ov,u||i.log);}else r[su]=iv(i.level,ov,i.log);if(e.hasOwnProperty("customLevels")===!0&&(iF(this.levels,e.customLevels),r.levels=eF(e.customLevels,r[H_]),nF(r)),typeof e.redact=="object"&&e.redact!==null||Array.isArray(e.redact)){r.redact=e.redact;let c=aF(r.redact,rv),l={stringify:c[V_]};r[J_]=rv,r[Y_]=c,r[K_]=l;}typeof e.msgPrefix=="string"&&(r[nv]=(this[nv]||"")+e.msgPrefix),r[uu]=cv(r,t);let s=e.level||this.level;return r[cu](s),this.onChild(r),r}function uF(){let e=`{${this[uu].substr(1)}}`,n=JSON.parse(e);return delete n.pid,delete n.hostname,n}function lF(t){let e=cv(this,t);this[uu]=e,delete this[D_];}function pF(t,e){return Object.assign(e,t)}function fF(t,e,n){let i=this[$_](),r=this[N_],o=this[W_],a=this[z_]||pF,s;t==null?s={}:t instanceof Error?(s={[o]:t},e===void 0&&(e=t.message)):(s=t,e===void 0&&t.msg===void 0&&t[o]&&(e=t[o].message)),r&&(s=a(s,r(s,n,this)));let c=this[av](s,e,n,i),l=this[sv];l[G_]===!0&&(l.lastLevel=n,l.lastObj=s,l.lastMsg=e,l.lastTime=i.slice(this[M_]),l.lastLogger=this),l.write(c);}function dF(){}function mF(){let t=this[sv];"flush"in t&&t.flush(dF);}});var yv=g((du,hv)=>{var{hasOwnProperty:Go}=Object.prototype,dn=fu();dn.configure=fu;dn.stringify=dn;dn.default=dn;du.stringify=dn;du.configure=fu;hv.exports=dn;var hF=/[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/;function $t(t){return t.length<5e3&&!hF.test(t)?`"${t}"`:JSON.stringify(t)}function lu(t){if(t.length>200)return t.sort();for(let e=1;e<t.length;e++){let n=t[e],i=e;for(;i!==0&&t[i-1]>n;)t[i]=t[i-1],i--;t[i]=n;}return t}var yF=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(Object.getPrototypeOf(new Int8Array)),Symbol.toStringTag).get;function pu(t){return yF.call(t)!==void 0&&t.length!==0}function fv(t,e,n){t.length<n&&(n=t.length);let i=e===","?"":" ",r=`"0":${i}${t[0]}`;for(let o=1;o<n;o++)r+=`${e}"${o}":${i}${t[o]}`;return r}function xF(t){if(Go.call(t,"circularValue")){let e=t.circularValue;if(typeof e=="string")return `"${e}"`;if(e==null)return e;if(e===Error||e===TypeError)return {toString(){throw new TypeError("Converting circular structure to JSON")}};throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined')}return '"[Circular]"'}function dv(t,e){let n;if(Go.call(t,e)&&(n=t[e],typeof n!="boolean"))throw new TypeError(`The "${e}" argument must be of type boolean`);return n===void 0?!0:n}function mv(t,e){let n;if(Go.call(t,e)){if(n=t[e],typeof n!="number")throw new TypeError(`The "${e}" argument must be of type number`);if(!Number.isInteger(n))throw new TypeError(`The "${e}" argument must be an integer`);if(n<1)throw new RangeError(`The "${e}" argument must be >= 1`)}return n===void 0?1/0:n}function fn(t){return t===1?"1 item":`${t} items`}function gF(t){let e=new Set;for(let n of t)(typeof n=="string"||typeof n=="number")&&e.add(String(n));return e}function vF(t){if(Go.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 fu(t){t={...t};let e=vF(t);e&&(t.bigint===void 0&&(t.bigint=!1),"circularValue"in t||(t.circularValue=Error));let n=xF(t),i=dv(t,"bigint"),r=dv(t,"deterministic"),o=mv(t,"maximumDepth"),a=mv(t,"maximumBreadth");function s(h,f,d,y,v,b){let w=f[h];switch(typeof w=="object"&&w!==null&&typeof w.toJSON=="function"&&(w=w.toJSON(h)),w=y.call(f,h,w),typeof w){case"string":return $t(w);case"object":{if(w===null)return "null";if(d.indexOf(w)!==-1)return n;let A="",O=",",k=b;if(Array.isArray(w)){if(w.length===0)return "[]";if(o<d.length+1)return '"[Array]"';d.push(w),v!==""&&(b+=v,A+=`
${b}`,O=`,
${b}`);let I=Math.min(w.length,a),M=0;for(;M<I-1;M++){let z=s(String(M),w,d,y,v,b);A+=z!==void 0?z:"null",A+=O;}let W=s(String(M),w,d,y,v,b);if(A+=W!==void 0?W:"null",w.length-1>a){let z=w.length-a-1;A+=`${O}"... ${fn(z)} not stringified"`;}return v!==""&&(A+=`
${k}`),d.pop(),`[${A}]`}let q=Object.keys(w),L=q.length;if(L===0)return "{}";if(o<d.length+1)return '"[Object]"';let D="",T="";v!==""&&(b+=v,O=`,
${b}`,D=" ");let B=Math.min(L,a);r&&!pu(w)&&(q=lu(q)),d.push(w);for(let I=0;I<B;I++){let M=q[I],W=s(M,w,d,y,v,b);W!==void 0&&(A+=`${T}${$t(M)}:${D}${W}`,T=O);}if(L>a){let I=L-a;A+=`${T}"...":${D}"${fn(I)} not stringified"`,T=O;}return v!==""&&T.length>1&&(A=`
${b}${A}
${k}`),d.pop(),`{${A}}`}case"number":return isFinite(w)?String(w):e?e(w):"null";case"boolean":return w===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(w);default:return e?e(w):void 0}}function c(h,f,d,y,v,b){switch(typeof f=="object"&&f!==null&&typeof f.toJSON=="function"&&(f=f.toJSON(h)),typeof f){case"string":return $t(f);case"object":{if(f===null)return "null";if(d.indexOf(f)!==-1)return n;let w=b,A="",O=",";if(Array.isArray(f)){if(f.length===0)return "[]";if(o<d.length+1)return '"[Array]"';d.push(f),v!==""&&(b+=v,A+=`
${b}`,O=`,
${b}`);let L=Math.min(f.length,a),D=0;for(;D<L-1;D++){let B=c(String(D),f[D],d,y,v,b);A+=B!==void 0?B:"null",A+=O;}let T=c(String(D),f[D],d,y,v,b);if(A+=T!==void 0?T:"null",f.length-1>a){let B=f.length-a-1;A+=`${O}"... ${fn(B)} not stringified"`;}return v!==""&&(A+=`
${w}`),d.pop(),`[${A}]`}d.push(f);let k="";v!==""&&(b+=v,O=`,
${b}`,k=" ");let q="";for(let L of y){let D=c(L,f[L],d,y,v,b);D!==void 0&&(A+=`${q}${$t(L)}:${k}${D}`,q=O);}return v!==""&&q.length>1&&(A=`
${b}${A}
${w}`),d.pop(),`{${A}}`}case"number":return isFinite(f)?String(f):e?e(f):"null";case"boolean":return f===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(f);default:return e?e(f):void 0}}function l(h,f,d,y,v){switch(typeof f){case"string":return $t(f);case"object":{if(f===null)return "null";if(typeof f.toJSON=="function"){if(f=f.toJSON(h),typeof f!="object")return l(h,f,d,y,v);if(f===null)return "null"}if(d.indexOf(f)!==-1)return n;let b=v;if(Array.isArray(f)){if(f.length===0)return "[]";if(o<d.length+1)return '"[Array]"';d.push(f),v+=y;let D=`
${v}`,T=`,
${v}`,B=Math.min(f.length,a),I=0;for(;I<B-1;I++){let W=l(String(I),f[I],d,y,v);D+=W!==void 0?W:"null",D+=T;}let M=l(String(I),f[I],d,y,v);if(D+=M!==void 0?M:"null",f.length-1>a){let W=f.length-a-1;D+=`${T}"... ${fn(W)} not stringified"`;}return D+=`
${b}`,d.pop(),`[${D}]`}let w=Object.keys(f),A=w.length;if(A===0)return "{}";if(o<d.length+1)return '"[Object]"';v+=y;let O=`,
${v}`,k="",q="",L=Math.min(A,a);pu(f)&&(k+=fv(f,O,a),w=w.slice(f.length),L-=f.length,q=O),r&&(w=lu(w)),d.push(f);for(let D=0;D<L;D++){let T=w[D],B=l(T,f[T],d,y,v);B!==void 0&&(k+=`${q}${$t(T)}: ${B}`,q=O);}if(A>a){let D=A-a;k+=`${q}"...": "${fn(D)} not stringified"`,q=O;}return q!==""&&(k=`
${v}${k}
${b}`),d.pop(),`{${k}}`}case"number":return isFinite(f)?String(f):e?e(f):"null";case"boolean":return f===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(f);default:return e?e(f):void 0}}function u(h,f,d){switch(typeof f){case"string":return $t(f);case"object":{if(f===null)return "null";if(typeof f.toJSON=="function"){if(f=f.toJSON(h),typeof f!="object")return u(h,f,d);if(f===null)return "null"}if(d.indexOf(f)!==-1)return n;let y="";if(Array.isArray(f)){if(f.length===0)return "[]";if(o<d.length+1)return '"[Array]"';d.push(f);let O=Math.min(f.length,a),k=0;for(;k<O-1;k++){let L=u(String(k),f[k],d);y+=L!==void 0?L:"null",y+=",";}let q=u(String(k),f[k],d);if(y+=q!==void 0?q:"null",f.length-1>a){let L=f.length-a-1;y+=`,"... ${fn(L)} not stringified"`;}return d.pop(),`[${y}]`}let v=Object.keys(f),b=v.length;if(b===0)return "{}";if(o<d.length+1)return '"[Object]"';let w="",A=Math.min(b,a);pu(f)&&(y+=fv(f,",",a),v=v.slice(f.length),A-=f.length,w=","),r&&(v=lu(v)),d.push(f);for(let O=0;O<A;O++){let k=v[O],q=u(k,f[k],d);q!==void 0&&(y+=`${w}${$t(k)}:${q}`,w=",");}if(b>a){let O=b-a;y+=`${w}"...":"${fn(O)} not stringified"`;}return d.pop(),`{${y}}`}case"number":return isFinite(f)?String(f):e?e(f):"null";case"boolean":return f===!0?"true":"false";case"undefined":return;case"bigint":if(i)return String(f);default:return e?e(f):void 0}}function p(h,f,d){if(arguments.length>1){let y="";if(typeof d=="number"?y=" ".repeat(Math.min(d,10)):typeof d=="string"&&(y=d.slice(0,10)),f!=null){if(typeof f=="function")return s("",{"":h},[],f,y,"");if(Array.isArray(f))return c("",h,[],gF(f),y,"")}if(y.length!==0)return l("",h,[],y,"")}return u("",h,[])}return p}});var bv=g((kN,vv)=>{var mu=Symbol.for("pino.metadata"),{levels:xv}=Ho(),gv=Object.create(xv);gv.silent=1/0;var bF=xv.info;function wF(t,e){let n=0;t=t||[],e=e||{dedupe:!1};let i=gv;e.levels&&typeof e.levels=="object"&&(i=e.levels);let r={write:o,add:s,flushSync:a,end:c,minLevel:0,streams:[],clone:l,[mu]:!0};return Array.isArray(t)?t.forEach(s,r):s.call(r,t),t=null,r;function o(u){let p,h=this.lastLevel,{streams:f}=this,d=0,y;for(let v=EF(f.length,e.dedupe);OF(v,f.length,e.dedupe);v=AF(v,e.dedupe))if(p=f[v],p.level<=h){if(d!==0&&d!==p.level)break;if(y=p.stream,y[mu]){let{lastTime:b,lastMsg:w,lastObj:A,lastLogger:O}=this;y.lastLevel=h,y.lastTime=b,y.lastMsg=w,y.lastObj=A,y.lastLogger=O;}y.write(u),e.dedupe&&(d=p.level);}else if(!e.dedupe)break}function a(){for(let{stream:u}of this.streams)typeof u.flushSync=="function"&&u.flushSync();}function s(u){if(!u)return r;let p=typeof u.write=="function"||u.stream,h=u.write?u:u.stream;if(!p)throw Error("stream object needs to implement either StreamEntry or DestinationStream interface");let{streams:f}=this,d;typeof u.levelVal=="number"?d=u.levelVal:typeof u.level=="string"?d=i[u.level]:typeof u.level=="number"?d=u.level:d=bF;let y={stream:h,level:d,levelVal:void 0,id:n++};return f.unshift(y),f.sort(SF),this.minLevel=f[0].level,r}function c(){for(let{stream:u}of this.streams)typeof u.flushSync=="function"&&u.flushSync(),u.end();}function l(u){let p=new Array(this.streams.length);for(let h=0;h<p.length;h++)p[h]={level:u,stream:this.streams[h].stream};return {write:o,add:s,minLevel:u,streams:p,clone:l,flushSync:a,[mu]:!0}}}function SF(t,e){return t.level-e.level}function EF(t,e){return e?t-1:0}function AF(t,e){return e?t-1:t+1}function OF(t,e,n){return n?t>=0:t<e}vv.exports=wF;});var qv=g((CN,ze)=>{var TF=_("os"),kv=Ic(),RF=Lc(),kF=Mc(),Cv=hg(),CF=pv(),_v=Zn(),{configure:_F}=yv(),{assertDefaultLevelFound:FF,mappings:Fv,genLsCache:PF,levels:qF}=Ho(),{createArgsNormalizer:jF,asChindings:BF,buildSafeSonicBoom:wv,buildFormatters:IF,stringify:hu,normalizeDestFileDescriptor:Sv,noop:LF}=Wo(),{version:DF}=au(),{chindingsSym:Ev,redactFmtSym:NF,serializersSym:Av,timeSym:UF,timeSliceIndexSym:zF,streamSym:$F,stringifySym:Ov,stringifySafeSym:yu,stringifiersSym:Tv,setLevelSym:MF,endSym:WF,formatOptsSym:HF,messageKeySym:GF,errorKeySym:VF,nestedKeySym:JF,mixinSym:KF,useOnlyCustomLevelsSym:YF,formattersSym:Rv,hooksSym:XF,nestedKeyStrSym:QF,mixinMergeStrategySym:ZF,msgPrefixSym:eP}=_v,{epochTime:Pv,nullTime:tP}=Cv,{pid:nP}=process,iP=TF.hostname(),rP=kv.err,oP={level:"info",levels:qF,messageKey:"msg",errorKey:"err",nestedKey:null,enabled:!0,base:{pid:nP,hostname:iP},serializers:Object.assign(Object.create(null),{err:rP}),formatters:Object.assign(Object.create(null),{bindings(t){return t},level(t,e){return {level:e}}}),hooks:{logMethod:void 0},timestamp:Pv,name:void 0,redact:null,customLevels:null,useOnlyCustomLevels:!1,depthLimit:5,edgeLimit:100},aP=jF(oP),sP=Object.assign(Object.create(null),kv);function xu(...t){let e={},{opts:n,stream:i}=aP(e,RF(),...t),{redact:r,crlf:o,serializers:a,timestamp:s,messageKey:c,errorKey:l,nestedKey:u,base:p,name:h,level:f,customLevels:d,mixin:y,mixinMergeStrategy:v,useOnlyCustomLevels:b,formatters:w,hooks:A,depthLimit:O,edgeLimit:k,onChild:q,msgPrefix:L}=n,D=_F({maximumDepth:O,maximumBreadth:k}),T=IF(w.level,w.bindings,w.log),B=hu.bind({[yu]:D}),I=r?kF(r,B):{},M=r?{stringify:I[NF]}:{stringify:B},W="}"+(o?`\r
`:`
`),z=BF.bind(null,{[Ev]:"",[Av]:a,[Tv]:I,[Ov]:hu,[yu]:D,[Rv]:T}),V="";p!==null&&(h===void 0?V=z(p):V=z(Object.assign({},p,{name:h})));let K=s instanceof Function?s:s?Pv:tP,R=K().indexOf(":")+1;if(b&&!d)throw Error("customLevels is required if useOnlyCustomLevels is set true");if(y&&typeof y!="function")throw Error(`Unknown mixin type "${typeof y}" - expected "function"`);if(L&&typeof L!="string")throw Error(`Unknown msgPrefix type "${typeof L}" - expected "string"`);FF(f,d,b);let P=Fv(d,b);return Object.assign(e,{levels:P,[YF]:b,[$F]:i,[UF]:K,[zF]:R,[Ov]:hu,[yu]:D,[Tv]:I,[WF]:W,[HF]:M,[GF]:c,[VF]:l,[JF]:u,[QF]:u?`,${JSON.stringify(u)}:{`:"",[Av]:a,[KF]:y,[ZF]:v,[Ev]:V,[Rv]:T,[XF]:A,silent:LF,onChild:q,[eP]:L}),Object.setPrototypeOf(e,CF()),PF(e),e[MF](f),e}ze.exports=xu;ze.exports.destination=(t=process.stdout.fd)=>typeof t=="object"?(t.dest=Sv(t.dest||process.stdout.fd),wv(t)):wv({dest:Sv(t),minLength:0});ze.exports.transport=tu();ze.exports.multistream=bv();ze.exports.levels=Fv();ze.exports.stdSerializers=sP;ze.exports.stdTimeFunctions=Object.assign({},Cv);ze.exports.symbols=_v;ze.exports.version=DF;ze.exports.default=xu;ze.exports.pino=xu;});var Uv={};Vb(Uv,{RotatingFileStream:()=>Ko,RotatingFileStreamError:()=>Zi,createStream:()=>TP});async function Bv(t){return new Promise(e=>fs.access(t,fs.constants.F_OK,n=>e(!n)))}function Iv(t){return (e,n,i)=>{let r=parseInt(i,10);if(e!=="number"||r!==i||r<=0)throw new Error(`'${t}' option must be a positive integer number`)}}function vu(t,e){return (n,i,r)=>{if(n!=="string")throw new Error(`Don't know how to handle 'options.${t}' type: ${n}`);i[t]=e(r);}}function Nv(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 bu(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 wP(t){let e=Nv(t,"interval",bP);switch(e.unit){case"h":bu(e,"hours",24);break;case"m":bu(e,"minutes",60);break;case"s":bu(e,"seconds",60);break}return e}function Lv(t){let e=Nv(t,"size",SP);return e.unit==="K"?e.num*1024:e.unit==="M"?e.num*1048576:e.unit==="G"?e.num*1073741824:e.num}function EP(t){let e={};for(let n in t){let i=t[n],r=typeof i;if(!(n in Dv))throw new Error(`Unknown option: ${n}`);e[n]=t[n],Dv[n](r,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 AP(t,e,n){return i=>i?`${t}.${i}${e&&!n?".gz":""}`:t}function OP(t,e,n){let i=r=>(r>9?"":"0")+r;return (r,o)=>{if(!r)return t;let a=r.getFullYear()+""+i(r.getMonth()+1),s=i(r.getDate()),c=i(r.getHours()),l=i(r.getMinutes());return a+s+"-"+c+l+"-"+i(o)+"-"+t+(e&&!n?".gz":"")}}function TP(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=EP(e),{compress:i,omitExtension:r}=n,o;if(typeof t=="string")o=e.rotate?AP(t,i!==void 0,r):OP(t,i!==void 0,r);else if(typeof t=="function")o=t;else throw new Error(`The "filename" argument must be one of type string or function. Received type ${typeof t}`);return new Ko(o,n)}var Zi,Ko,bP,SP,Dv,zv=Gb(()=>{Zi=class extends Error{constructor(){super("Too many destination file attempts");U(this,"code","RFS-TOO-MANY");}},Ko=class extends Mn.Writable{constructor(n,i){let{encoding:r,history:o,maxFiles:a,maxSize:s,path:c}=i;super({decodeStrings:!0,defaultEncoding:r});U(this,"createGzip");U(this,"exec");U(this,"file");U(this,"filename");U(this,"finished");U(this,"fsCreateReadStream");U(this,"fsCreateWriteStream");U(this,"fsOpen");U(this,"fsReadFile");U(this,"fsStat");U(this,"fsUnlink");U(this,"generator");U(this,"initPromise");U(this,"last");U(this,"maxTimeout");U(this,"next");U(this,"options");U(this,"prev");U(this,"rotation");U(this,"size");U(this,"stdout");U(this,"timeout");U(this,"timeoutPromise");this.createGzip=Pt.createGzip,this.exec=child_process.exec,this.filename=c+n(null),this.fsCreateReadStream=fs.createReadStream,this.fsCreateWriteStream=fs.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,(a||s)&&(i.history=c+(o||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,r){this.rewrite([{chunk:n,encoding:i}],0,r);}_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(r){return i(n||r)}i(n);}async rewrite(n,i,r){let{size:o,teeToStdout:a}=this.options;try{this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise;for(let s=0;s<n.length;++s){let{chunk:c}=n[s];this.size+=c.length,await this.file.write(c),a&&!this.stdout.destroyed&&this.stdout.write(c),o&&this.size>=o&&await this.rotate();}}catch(s){return r(s)}r();}async init(){let{immutable:n,initialRotation:i,interval:r,size:o}=this.options;if(n)return new Promise((s,c)=>process.nextTick(()=>this.immutate(!0).then(s).catch(c)));let a;try{a=await promises.stat(this.filename);}catch(s){if(s.code!=="ENOENT")throw s;return this.reopen(0)}if(!a.isFile())throw new Error(`Can't write on: ${this.filename} (it is not a file)`);if(i){this.intervalBounds(this.now());let s=this.prev;if(this.intervalBounds(new Date(a.mtime.getTime())),s!==this.prev)return this.rotate()}return this.size=a.size,!o||a.size<o?this.reopen(a.size):(r&&this.intervalBounds(this.now()),this.rotate())}async makePath(n){return promises.mkdir(n.split(path.sep).slice(0,-1).join(path.sep),{recursive:!0})}async reopen(n){let i;try{i=await promises.open(this.filename,"a",this.options.mode);}catch(r){if(r.code!=="ENOENT")throw r;await this.makePath(this.filename),i=await promises.open(this.filename,"a",this.options.mode);}this.file=i,this.size=n,this.interval(),this.emit("open",this.filename);}async reclose(){let{file:n}=this;if(n)return delete this.file,n.close()}now(){return new Date}async rotate(){let{immutable:n,rotate:i}=this.options;return this.size=0,this.rotation=this.now(),this.clear(),this.emit("rotation"),await this.reclose(),i?this.classical():n?this.immutate(!1):this.move()}async findName(){let{interval:n,path:i,intervalBoundary:r}=this.options;for(let o=1;o<1e3;++o){let a=i+this.generator(n&&r?new Date(this.prev):this.rotation,o);if(!await Bv(a))return a}throw new Zi}async move(){let{compress:n}=this.options,i=await this.findName();return await this.touch(i),n?await this.compress(i):await promises.rename(this.filename,i),this.rotated(i)}async touch(n){let i;try{i=await this.fsOpen(n,"a");}catch(r){if(r.code!=="ENOENT")throw r;await this.makePath(n),i=await promises.open(n,"a");}return await i.close(),this.unlink(n)}async classical(){let{compress:n,path:i,rotate:r}=this.options,o="";for(let a=r;a>0;--a){let s=i+this.generator(a),c=a===1?this.filename:i+this.generator(a-1);if(await Bv(c))if(o||(o=s),a===1&&n)await this.compress(s);else try{await promises.rename(c,s);}catch(l){if(l.code!=="ENOENT")throw l;await this.makePath(s),await promises.rename(c,s);}}return this.rotated(o)}clear(){return this.timeout&&(clearTimeout(this.timeout),this.timeout=null),!0}intervalBoundsBig(n){let i=n.getFullYear(),r=n.getMonth(),o=n.getDate(),a=n.getHours(),{num:s,unit:c}=this.options.interval;c==="M"?(o=1,a=0):c==="d"?a=0:a=parseInt(a/s,10)*s,this.prev=new Date(i,r,o,a,0,0,0).getTime(),c==="M"?r+=s:c==="d"?o+=s:a+=s,this.next=new Date(i,r,o,a,0,0,0).getTime();}intervalBounds(n){let i=this.options.interval.unit;if(i==="M"||i==="d"||i==="h")this.intervalBoundsBig(n);else {let r=1e3*this.options.interval.num;i==="m"&&(r*=60),this.prev=parseInt(n.getTime()/r,10)*r,this.next=this.prev+r;}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((r,o)=>{this.exec(i(this.filename,n),(a,s,c)=>{this.emit("external",s,c),a?o(a):r();});}):await this.gzip(n),this.unlink(this.filename)}async gzip(n){let{mode:i}=this.options,r=i?{mode:i}:{},o=this.fsCreateReadStream(this.filename,{}),a=this.fsCreateWriteStream(n,r),s=this.createGzip();return new Promise((c,l)=>{[o,a,s].map(u=>u.once("error",l)),a.once("finish",c),o.pipe(s).pipe(a);})}async rotated(n){let{maxFiles:i,maxSize:r}=this.options;return (i||r)&&await this.history(n),this.emit("rotated",n),this.reopen(0)}async history(n){let{history:i,maxFiles:r,maxSize:o}=this.options,a=[],s=[n];try{s=[...(await this.fsReadFile(i,"utf8")).toString().split(`
`),n];}catch(c){if(c.code!=="ENOENT")throw c}for(let c of s)if(c)try{let l=await this.fsStat(c);l.isFile()?a.push({name:c,size:l.size,time:l.ctime.getTime()}):this.emit("warning",new Error(`File '${c}' contained in history is not a regular file`));}catch(l){if(l.code!=="ENOENT")throw l}if(a.sort((c,l)=>c.time-l.time),r)for(;a.length>r;){let c=a.shift();await this.unlink(c.name),this.emit("removed",c.name,!0);}if(o)for(;a.reduce((c,l)=>c+l.size,0)>o;){let c=a.shift();await this.unlink(c.name),this.emit("removed",c.name,!1);}await promises.writeFile(i,a.map(c=>c.name).join(`
`)+`
`,"utf-8"),this.emit("history");}async immutate(n){let{size:i}=this.options,r=this.now();for(let o=1;o<1e3;++o){let a=0,s;this.filename=this.options.path+this.generator(r,o);try{s=await this.fsStat(this.filename);}catch(c){if(c.code!=="ENOENT")throw c}if(s){if(a=s.size,!s.isFile())throw new Error(`Can't write on: '${this.filename}' (it is not a file)`);if(i&&a>=i)continue}if(n)return this.last=this.filename,this.reopen(a);await this.rotated(this.last),this.last=this.filename;return}throw new Zi}async unlink(n){try{await this.fsUnlink(n);}catch(i){if(i.code!=="ENOENT")throw i;this.emit("warning",i);}}};bP={M:!0,d:!0,h:!0,m:!0,s:!0};SP={B:!0,G:!0,K:!0,M:!0};Dv={encoding:(t,e,n)=>new pT.TextDecoder(n),immutable:()=>{},initialRotation:()=>{},interval:vu("interval",wP),intervalBoundary:()=>{},maxFiles:Iv("maxFiles"),maxSize:vu("maxSize",Lv),mode:()=>{},omitExtension:()=>{},rotate:Iv("rotate"),size:vu("size",Lv),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,r)=>`cat ${i} | gzip -c9 > ${r}`;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 eb=g((gn,Zv)=>{var Ru=_("crypto");gn=Zv.exports=sr;function sr(t,e){return e=Xv(t,e),CP(t,e)}gn.sha1=function(t){return sr(t)};gn.keys=function(t){return sr(t,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})};gn.MD5=function(t){return sr(t,{algorithm:"md5",encoding:"hex"})};gn.keysMD5=function(t){return sr(t,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var li=Ru.getHashes?Ru.getHashes().slice():["sha1","md5"];li.push("passthrough");var Kv=["buffer","hex","binary","base64"];function Xv(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<li.length;++i)li[i].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=li[i]);if(li.indexOf(n.algorithm)===-1)throw new Error('Algorithm "'+n.algorithm+'" not supported. supported values: '+li.join(", "));if(Kv.indexOf(n.encoding)===-1&&n.algorithm!=="passthrough")throw new Error('Encoding "'+n.encoding+'" not supported. supported values: '+Kv.join(", "));return n}function Yv(t){if(typeof t!="function")return !1;var e=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i;return e.exec(Function.prototype.toString.call(t))!=null}function CP(t,e){var n;e.algorithm!=="passthrough"?n=Ru.createHash(e.algorithm):n=new Qv,typeof n.write>"u"&&(n.write=n.update,n.end=n.update);var i=ku(e,n);if(i.dispatch(t),n.update||n.end(""),n.digest)return n.digest(e.encoding==="buffer"?void 0:e.encoding);var r=n.read();return e.encoding==="buffer"?r:r.toString(e.encoding)}gn.writeToStream=function(t,e,n){return typeof n>"u"&&(n=e,e={}),e=Xv(t,e),ku(e,n).dispatch(t)};function ku(t,e,n){n=n||[];var i=function(r){return e.update?e.update(r,"utf8"):e.write(r,"utf8")};return {dispatch:function(r){t.replacer&&(r=t.replacer(r));var o=typeof r;return r===null&&(o="null"),this["_"+o](r)},_object:function(r){var o=/\[object (.*)\]/i,a=Object.prototype.toString.call(r),s=o.exec(a);s?s=s[1]:s="unknown:["+a+"]",s=s.toLowerCase();var c=null;if((c=n.indexOf(r))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(n.push(r),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return i("buffer:"),i(r);if(s!=="object"&&s!=="function"&&s!=="asyncfunction")if(this["_"+s])this["_"+s](r);else {if(t.ignoreUnknown)return i("["+s+"]");throw new Error('Unknown object type "'+s+'"')}else {var l=Object.keys(r);t.unorderedObjects&&(l=l.sort()),t.respectType!==!1&&!Yv(r)&&l.splice(0,0,"prototype","__proto__","constructor"),t.excludeKeys&&(l=l.filter(function(p){return !t.excludeKeys(p)})),i("object:"+l.length+":");var u=this;return l.forEach(function(p){u.dispatch(p),i(":"),t.excludeValues||u.dispatch(r[p]),i(",");})}},_array:function(r,o){o=typeof o<"u"?o:t.unorderedArrays!==!1;var a=this;if(i("array:"+r.length+":"),!o||r.length<=1)return r.forEach(function(l){return a.dispatch(l)});var s=[],c=r.map(function(l){var u=new Qv,p=n.slice(),h=ku(t,u,p);return h.dispatch(l),s=s.concat(p.slice(n.length)),u.read().toString()});return n=n.concat(s),c.sort(),this._array(c,!1)},_date:function(r){return i("date:"+r.toJSON())},_symbol:function(r){return i("symbol:"+r.toString())},_error:function(r){return i("error:"+r.toString())},_boolean:function(r){return i("bool:"+r.toString())},_string:function(r){i("string:"+r.length+":"),i(r.toString());},_function:function(r){i("fn:"),Yv(r)?this.dispatch("[native]"):this.dispatch(r.toString()),t.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),t.respectFunctionProperties&&this._object(r);},_number:function(r){return i("number:"+r.toString())},_xml:function(r){return i("xml:"+r.toString())},_null:function(){return i("Null")},_undefined:function(){return i("Undefined")},_regexp:function(r){return i("regex:"+r.toString())},_uint8array:function(r){return i("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint8clampedarray:function(r){return i("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},_int8array:function(r){return i("int8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint16array:function(r){return i("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},_int16array:function(r){return i("int16array:"),this.dispatch(Array.prototype.slice.call(r))},_uint32array:function(r){return i("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},_int32array:function(r){return i("int32array:"),this.dispatch(Array.prototype.slice.call(r))},_float32array:function(r){return i("float32array:"),this.dispatch(Array.prototype.slice.call(r))},_float64array:function(r){return i("float64array:"),this.dispatch(Array.prototype.slice.call(r))},_arraybuffer:function(r){return i("arraybuffer:"),this.dispatch(new Uint8Array(r))},_url:function(r){return i("url:"+r.toString())},_map:function(r){i("map:");var o=Array.from(r);return this._array(o,t.unorderedSets!==!1)},_set:function(r){i("set:");var o=Array.from(r);return this._array(o,t.unorderedSets!==!1)},_file:function(r){return i("file:"),this.dispatch([r.name,r.size,r.type,r.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(r){return i("bigint:"+r.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 Qv(){return {buf:"",write:function(t){this.buf+=t;},end:function(t){this.buf+=t;},read:function(){return this.buf}}}});var nb=g((e3,tb)=>{tb.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 ob=g(ia=>{ia.byteLength=FP;ia.toByteArray=qP;ia.fromByteArray=IP;var mt=[],$e=[],_P=typeof Uint8Array<"u"?Uint8Array:Array,Cu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(vn=0,ib=Cu.length;vn<ib;++vn)mt[vn]=Cu[vn],$e[Cu.charCodeAt(vn)]=vn;var vn,ib;$e["-".charCodeAt(0)]=62;$e["_".charCodeAt(0)]=63;function rb(t){var e=t.length;if(e%4>0)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 FP(t){var e=rb(t),n=e[0],i=e[1];return (n+i)*3/4-i}function PP(t,e,n){return (e+n)*3/4-n}function qP(t){var e,n=rb(t),i=n[0],r=n[1],o=new _P(PP(t,i,r)),a=0,s=r>0?i-4:i,c;for(c=0;c<s;c+=4)e=$e[t.charCodeAt(c)]<<18|$e[t.charCodeAt(c+1)]<<12|$e[t.charCodeAt(c+2)]<<6|$e[t.charCodeAt(c+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return r===2&&(e=$e[t.charCodeAt(c)]<<2|$e[t.charCodeAt(c+1)]>>4,o[a++]=e&255),r===1&&(e=$e[t.charCodeAt(c)]<<10|$e[t.charCodeAt(c+1)]<<4|$e[t.charCodeAt(c+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function jP(t){return mt[t>>18&63]+mt[t>>12&63]+mt[t>>6&63]+mt[t&63]}function BP(t,e,n){for(var i,r=[],o=e;o<n;o+=3)i=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),r.push(jP(i));return r.join("")}function IP(t){for(var e,n=t.length,i=n%3,r=[],o=16383,a=0,s=n-i;a<s;a+=o)r.push(BP(t,a,a+o>s?s:a+o));return i===1?(e=t[n-1],r.push(mt[e>>2]+mt[e<<4&63]+"==")):i===2&&(e=(t[n-2]<<8)+t[n-1],r.push(mt[e>>10]+mt[e>>4&63]+mt[e<<2&63]+"=")),r.join("")}});var ab=g(_u=>{_u.read=function(t,e,n,i,r){var o,a,s=r*8-i-1,c=(1<<s)-1,l=c>>1,u=-7,p=n?r-1:0,h=n?-1:1,f=t[e+p];for(p+=h,o=f&(1<<-u)-1,f>>=-u,u+=s;u>0;o=o*256+t[e+p],p+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;u>0;a=a*256+t[e+p],p+=h,u-=8);if(o===0)o=1-l;else {if(o===c)return a?NaN:(f?-1:1)*(1/0);a=a+Math.pow(2,i),o=o-l;}return (f?-1:1)*a*Math.pow(2,o-i)};_u.write=function(t,e,n,i,r,o){var a,s,c,l=o*8-r-1,u=(1<<l)-1,p=u>>1,h=r===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=i?0:o-1,d=i?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+p>=1?e+=h/c:e+=h*Math.pow(2,1-p),e*c>=2&&(a++,c/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(e*c-1)*Math.pow(2,r),a=a+p):(s=e*Math.pow(2,p-1)*Math.pow(2,r),a=0));r>=8;t[n+f]=s&255,f+=d,s/=256,r-=8);for(a=a<<r|s,l+=r;l>0;t[n+f]=a&255,f+=d,a/=256,l-=8);t[n+f-d]|=y*128;};});var Eb=g(mi=>{var Fu=ob(),fi=ab(),sb=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;mi.Buffer=S;mi.SlowBuffer=$P;mi.INSPECT_MAX_BYTES=50;var ra=2147483647;mi.kMaxLength=ra;S.TYPED_ARRAY_SUPPORT=LP();!S.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 LP(){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(S.prototype,"parent",{enumerable:!0,get:function(){if(S.isBuffer(this))return this.buffer}});Object.defineProperty(S.prototype,"offset",{enumerable:!0,get:function(){if(S.isBuffer(this))return this.byteOffset}});function At(t){if(t>ra)throw new RangeError('The value "'+t+'" is invalid for option "size"');let e=new Uint8Array(t);return Object.setPrototypeOf(e,S.prototype),e}function S(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 Bu(t)}return pb(t,e,n)}S.poolSize=8192;function pb(t,e,n){if(typeof t=="string")return NP(t,e);if(ArrayBuffer.isView(t))return UP(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(ht(t,ArrayBuffer)||t&&ht(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ht(t,SharedArrayBuffer)||t&&ht(t.buffer,SharedArrayBuffer)))return qu(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 S.from(i,e,n);let r=zP(t);if(r)return r;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return S.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)}S.from=function(t,e,n){return pb(t,e,n)};Object.setPrototypeOf(S.prototype,Uint8Array.prototype);Object.setPrototypeOf(S,Uint8Array);function fb(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 DP(t,e,n){return fb(t),t<=0?At(t):e!==void 0?typeof n=="string"?At(t).fill(e,n):At(t).fill(e):At(t)}S.alloc=function(t,e,n){return DP(t,e,n)};function Bu(t){return fb(t),At(t<0?0:Iu(t)|0)}S.allocUnsafe=function(t){return Bu(t)};S.allocUnsafeSlow=function(t){return Bu(t)};function NP(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!S.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let n=db(t,e)|0,i=At(n),r=i.write(t,e);return r!==n&&(i=i.slice(0,r)),i}function Pu(t){let e=t.length<0?0:Iu(t.length)|0,n=At(e);for(let i=0;i<e;i+=1)n[i]=t[i]&255;return n}function UP(t){if(ht(t,Uint8Array)){let e=new Uint8Array(t);return qu(e.buffer,e.byteOffset,e.byteLength)}return Pu(t)}function qu(t,e,n){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(n||0))throw new RangeError('"length" is outside of buffer bounds');let i;return e===void 0&&n===void 0?i=new Uint8Array(t):n===void 0?i=new Uint8Array(t,e):i=new Uint8Array(t,e,n),Object.setPrototypeOf(i,S.prototype),i}function zP(t){if(S.isBuffer(t)){let e=Iu(t.length)|0,n=At(e);return n.length===0||t.copy(n,0,0,e),n}if(t.length!==void 0)return typeof t.length!="number"||Du(t.length)?At(0):Pu(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Pu(t.data)}function Iu(t){if(t>=ra)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ra.toString(16)+" bytes");return t|0}function $P(t){return +t!=t&&(t=0),S.alloc(+t)}S.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==S.prototype};S.compare=function(e,n){if(ht(e,Uint8Array)&&(e=S.from(e,e.offset,e.byteLength)),ht(n,Uint8Array)&&(n=S.from(n,n.offset,n.byteLength)),!S.isBuffer(e)||!S.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,r=n.length;for(let o=0,a=Math.min(i,r);o<a;++o)if(e[o]!==n[o]){i=e[o],r=n[o];break}return i<r?-1:r<i?1:0};S.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return !0;default:return !1}};S.concat=function(e,n){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return S.alloc(0);let i;if(n===void 0)for(n=0,i=0;i<e.length;++i)n+=e[i].length;let r=S.allocUnsafe(n),o=0;for(i=0;i<e.length;++i){let a=e[i];if(ht(a,Uint8Array))o+a.length>r.length?(S.isBuffer(a)||(a=S.from(a)),a.copy(r,o)):Uint8Array.prototype.set.call(r,a,o);else if(S.isBuffer(a))a.copy(r,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=a.length;}return r};function db(t,e){if(S.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||ht(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 r=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return ju(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n*2;case"hex":return n>>>1;case"base64":return Sb(t).length;default:if(r)return i?-1:ju(t).length;e=(""+e).toLowerCase(),r=!0;}}S.byteLength=db;function MP(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 ZP(this,e,n);case"utf8":case"utf-8":return hb(this,e,n);case"ascii":return XP(this,e,n);case"latin1":case"binary":return QP(this,e,n);case"base64":return KP(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return eq(this,e,n);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0;}}S.prototype._isBuffer=!0;function bn(t,e,n){let i=t[e];t[e]=t[n],t[n]=i;}S.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;n<e;n+=2)bn(this,n,n+1);return this};S.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let n=0;n<e;n+=4)bn(this,n,n+3),bn(this,n+1,n+2);return this};S.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let n=0;n<e;n+=8)bn(this,n,n+7),bn(this,n+1,n+6),bn(this,n+2,n+5),bn(this,n+3,n+4);return this};S.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?hb(this,0,e):MP.apply(this,arguments)};S.prototype.toLocaleString=S.prototype.toString;S.prototype.equals=function(e){if(!S.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:S.compare(this,e)===0};S.prototype.inspect=function(){let e="",n=mi.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"};sb&&(S.prototype[sb]=S.prototype.inspect);S.prototype.compare=function(e,n,i,r,o){if(ht(e,Uint8Array)&&(e=S.from(e,e.offset,e.byteLength)),!S.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),r===void 0&&(r=0),o===void 0&&(o=this.length),n<0||i>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&n>=i)return 0;if(r>=o)return -1;if(n>=i)return 1;if(n>>>=0,i>>>=0,r>>>=0,o>>>=0,this===e)return 0;let a=o-r,s=i-n,c=Math.min(a,s),l=this.slice(r,o),u=e.slice(n,i);for(let p=0;p<c;++p)if(l[p]!==u[p]){a=l[p],s=u[p];break}return a<s?-1:s<a?1:0};function mb(t,e,n,i,r){if(t.length===0)return -1;if(typeof n=="string"?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Du(n)&&(n=r?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(r)return -1;n=t.length-1;}else if(n<0)if(r)n=0;else return -1;if(typeof e=="string"&&(e=S.from(e,i)),S.isBuffer(e))return e.length===0?-1:cb(t,e,n,i,r);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?r?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):cb(t,[e],n,i,r);throw new TypeError("val must be string, number or Buffer")}function cb(t,e,n,i,r){let o=1,a=t.length,s=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;o=2,a/=2,s/=2,n/=2;}function c(u,p){return o===1?u[p]:u.readUInt16BE(p*o)}let l;if(r){let u=-1;for(l=n;l<a;l++)if(c(t,l)===c(e,u===-1?0:l-u)){if(u===-1&&(u=l),l-u+1===s)return u*o}else u!==-1&&(l-=l-u),u=-1;}else for(n+s>a&&(n=a-s),l=n;l>=0;l--){let u=!0;for(let p=0;p<s;p++)if(c(t,l+p)!==c(e,p)){u=!1;break}if(u)return l}return -1}S.prototype.includes=function(e,n,i){return this.indexOf(e,n,i)!==-1};S.prototype.indexOf=function(e,n,i){return mb(this,e,n,i,!0)};S.prototype.lastIndexOf=function(e,n,i){return mb(this,e,n,i,!1)};function WP(t,e,n,i){n=Number(n)||0;let r=t.length-n;i?(i=Number(i),i>r&&(i=r)):i=r;let o=e.length;i>o/2&&(i=o/2);let a;for(a=0;a<i;++a){let s=parseInt(e.substr(a*2,2),16);if(Du(s))return a;t[n+a]=s;}return a}function HP(t,e,n,i){return oa(ju(e,t.length-n),t,n,i)}function GP(t,e,n,i){return oa(rq(e),t,n,i)}function VP(t,e,n,i){return oa(Sb(e),t,n,i)}function JP(t,e,n,i){return oa(oq(e,t.length-n),t,n,i)}S.prototype.write=function(e,n,i,r){if(n===void 0)r="utf8",i=this.length,n=0;else if(i===void 0&&typeof n=="string")r=n,i=this.length,n=0;else if(isFinite(n))n=n>>>0,isFinite(i)?(i=i>>>0,r===void 0&&(r="utf8")):(r=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let o=this.length-n;if((i===void 0||i>o)&&(i=o),e.length>0&&(i<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let a=!1;for(;;)switch(r){case"hex":return WP(this,e,n,i);case"utf8":case"utf-8":return HP(this,e,n,i);case"ascii":case"latin1":case"binary":return GP(this,e,n,i);case"base64":return VP(this,e,n,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return JP(this,e,n,i);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0;}};S.prototype.toJSON=function(){return {type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function KP(t,e,n){return e===0&&n===t.length?Fu.fromByteArray(t):Fu.fromByteArray(t.slice(e,n))}function hb(t,e,n){n=Math.min(t.length,n);let i=[],r=e;for(;r<n;){let o=t[r],a=null,s=o>239?4:o>223?3:o>191?2:1;if(r+s<=n){let c,l,u,p;switch(s){case 1:o<128&&(a=o);break;case 2:c=t[r+1],(c&192)===128&&(p=(o&31)<<6|c&63,p>127&&(a=p));break;case 3:c=t[r+1],l=t[r+2],(c&192)===128&&(l&192)===128&&(p=(o&15)<<12|(c&63)<<6|l&63,p>2047&&(p<55296||p>57343)&&(a=p));break;case 4:c=t[r+1],l=t[r+2],u=t[r+3],(c&192)===128&&(l&192)===128&&(u&192)===128&&(p=(o&15)<<18|(c&63)<<12|(l&63)<<6|u&63,p>65535&&p<1114112&&(a=p));}}a===null?(a=65533,s=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|a&1023),i.push(a),r+=s;}return YP(i)}var ub=4096;function YP(t){let e=t.length;if(e<=ub)return String.fromCharCode.apply(String,t);let n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=ub));return n}function XP(t,e,n){let i="";n=Math.min(t.length,n);for(let r=e;r<n;++r)i+=String.fromCharCode(t[r]&127);return i}function QP(t,e,n){let i="";n=Math.min(t.length,n);for(let r=e;r<n;++r)i+=String.fromCharCode(t[r]);return i}function ZP(t,e,n){let i=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>i)&&(n=i);let r="";for(let o=e;o<n;++o)r+=aq[t[o]];return r}function eq(t,e,n){let i=t.slice(e,n),r="";for(let o=0;o<i.length-1;o+=2)r+=String.fromCharCode(i[o]+i[o+1]*256);return r}S.prototype.slice=function(e,n){let i=this.length;e=~~e,n=n===void 0?i:~~n,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),n<0?(n+=i,n<0&&(n=0)):n>i&&(n=i),n<e&&(n=e);let r=this.subarray(e,n);return Object.setPrototypeOf(r,S.prototype),r};function ue(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}S.prototype.readUintLE=S.prototype.readUIntLE=function(e,n,i){e=e>>>0,n=n>>>0,i||ue(e,n,this.length);let r=this[e],o=1,a=0;for(;++a<n&&(o*=256);)r+=this[e+a]*o;return r};S.prototype.readUintBE=S.prototype.readUIntBE=function(e,n,i){e=e>>>0,n=n>>>0,i||ue(e,n,this.length);let r=this[e+--n],o=1;for(;n>0&&(o*=256);)r+=this[e+--n]*o;return r};S.prototype.readUint8=S.prototype.readUInt8=function(e,n){return e=e>>>0,n||ue(e,1,this.length),this[e]};S.prototype.readUint16LE=S.prototype.readUInt16LE=function(e,n){return e=e>>>0,n||ue(e,2,this.length),this[e]|this[e+1]<<8};S.prototype.readUint16BE=S.prototype.readUInt16BE=function(e,n){return e=e>>>0,n||ue(e,2,this.length),this[e]<<8|this[e+1]};S.prototype.readUint32LE=S.prototype.readUInt32LE=function(e,n){return e=e>>>0,n||ue(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};S.prototype.readUint32BE=S.prototype.readUInt32BE=function(e,n){return e=e>>>0,n||ue(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};S.prototype.readBigUInt64LE=Vt(function(e){e=e>>>0,di(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&cr(e,this.length-8);let r=n+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,o=this[++e]+this[++e]*2**8+this[++e]*2**16+i*2**24;return BigInt(r)+(BigInt(o)<<BigInt(32))});S.prototype.readBigUInt64BE=Vt(function(e){e=e>>>0,di(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&cr(e,this.length-8);let r=n*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],o=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+i;return (BigInt(r)<<BigInt(32))+BigInt(o)});S.prototype.readIntLE=function(e,n,i){e=e>>>0,n=n>>>0,i||ue(e,n,this.length);let r=this[e],o=1,a=0;for(;++a<n&&(o*=256);)r+=this[e+a]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*n)),r};S.prototype.readIntBE=function(e,n,i){e=e>>>0,n=n>>>0,i||ue(e,n,this.length);let r=n,o=1,a=this[e+--r];for(;r>0&&(o*=256);)a+=this[e+--r]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*n)),a};S.prototype.readInt8=function(e,n){return e=e>>>0,n||ue(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};S.prototype.readInt16LE=function(e,n){e=e>>>0,n||ue(e,2,this.length);let i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};S.prototype.readInt16BE=function(e,n){e=e>>>0,n||ue(e,2,this.length);let i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};S.prototype.readInt32LE=function(e,n){return e=e>>>0,n||ue(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};S.prototype.readInt32BE=function(e,n){return e=e>>>0,n||ue(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};S.prototype.readBigInt64LE=Vt(function(e){e=e>>>0,di(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&cr(e,this.length-8);let r=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(i<<24);return (BigInt(r)<<BigInt(32))+BigInt(n+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)});S.prototype.readBigInt64BE=Vt(function(e){e=e>>>0,di(e,"offset");let n=this[e],i=this[e+7];(n===void 0||i===void 0)&&cr(e,this.length-8);let r=(n<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return (BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+i)});S.prototype.readFloatLE=function(e,n){return e=e>>>0,n||ue(e,4,this.length),fi.read(this,e,!0,23,4)};S.prototype.readFloatBE=function(e,n){return e=e>>>0,n||ue(e,4,this.length),fi.read(this,e,!1,23,4)};S.prototype.readDoubleLE=function(e,n){return e=e>>>0,n||ue(e,8,this.length),fi.read(this,e,!0,52,8)};S.prototype.readDoubleBE=function(e,n){return e=e>>>0,n||ue(e,8,this.length),fi.read(this,e,!1,52,8)};function _e(t,e,n,i,r,o){if(!S.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>r||e<o)throw new RangeError('"value" argument is out of bounds');if(n+i>t.length)throw new RangeError("Index out of range")}S.prototype.writeUintLE=S.prototype.writeUIntLE=function(e,n,i,r){if(e=+e,n=n>>>0,i=i>>>0,!r){let s=Math.pow(2,8*i)-1;_e(this,e,n,i,s,0);}let o=1,a=0;for(this[n]=e&255;++a<i&&(o*=256);)this[n+a]=e/o&255;return n+i};S.prototype.writeUintBE=S.prototype.writeUIntBE=function(e,n,i,r){if(e=+e,n=n>>>0,i=i>>>0,!r){let s=Math.pow(2,8*i)-1;_e(this,e,n,i,s,0);}let o=i-1,a=1;for(this[n+o]=e&255;--o>=0&&(a*=256);)this[n+o]=e/a&255;return n+i};S.prototype.writeUint8=S.prototype.writeUInt8=function(e,n,i){return e=+e,n=n>>>0,i||_e(this,e,n,1,255,0),this[n]=e&255,n+1};S.prototype.writeUint16LE=S.prototype.writeUInt16LE=function(e,n,i){return e=+e,n=n>>>0,i||_e(this,e,n,2,65535,0),this[n]=e&255,this[n+1]=e>>>8,n+2};S.prototype.writeUint16BE=S.prototype.writeUInt16BE=function(e,n,i){return e=+e,n=n>>>0,i||_e(this,e,n,2,65535,0),this[n]=e>>>8,this[n+1]=e&255,n+2};S.prototype.writeUint32LE=S.prototype.writeUInt32LE=function(e,n,i){return e=+e,n=n>>>0,i||_e(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};S.prototype.writeUint32BE=S.prototype.writeUInt32BE=function(e,n,i){return e=+e,n=n>>>0,i||_e(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 yb(t,e,n,i,r){wb(e,i,r,t,n,7);let o=Number(e&BigInt(4294967295));t[n++]=o,o=o>>8,t[n++]=o,o=o>>8,t[n++]=o,o=o>>8,t[n++]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n++]=a,a=a>>8,t[n++]=a,a=a>>8,t[n++]=a,a=a>>8,t[n++]=a,n}function xb(t,e,n,i,r){wb(e,i,r,t,n,7);let o=Number(e&BigInt(4294967295));t[n+7]=o,o=o>>8,t[n+6]=o,o=o>>8,t[n+5]=o,o=o>>8,t[n+4]=o;let a=Number(e>>BigInt(32)&BigInt(4294967295));return t[n+3]=a,a=a>>8,t[n+2]=a,a=a>>8,t[n+1]=a,a=a>>8,t[n]=a,n+8}S.prototype.writeBigUInt64LE=Vt(function(e,n=0){return yb(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))});S.prototype.writeBigUInt64BE=Vt(function(e,n=0){return xb(this,e,n,BigInt(0),BigInt("0xffffffffffffffff"))});S.prototype.writeIntLE=function(e,n,i,r){if(e=+e,n=n>>>0,!r){let c=Math.pow(2,8*i-1);_e(this,e,n,i,c-1,-c);}let o=0,a=1,s=0;for(this[n]=e&255;++o<i&&(a*=256);)e<0&&s===0&&this[n+o-1]!==0&&(s=1),this[n+o]=(e/a>>0)-s&255;return n+i};S.prototype.writeIntBE=function(e,n,i,r){if(e=+e,n=n>>>0,!r){let c=Math.pow(2,8*i-1);_e(this,e,n,i,c-1,-c);}let o=i-1,a=1,s=0;for(this[n+o]=e&255;--o>=0&&(a*=256);)e<0&&s===0&&this[n+o+1]!==0&&(s=1),this[n+o]=(e/a>>0)-s&255;return n+i};S.prototype.writeInt8=function(e,n,i){return e=+e,n=n>>>0,i||_e(this,e,n,1,127,-128),e<0&&(e=255+e+1),this[n]=e&255,n+1};S.prototype.writeInt16LE=function(e,n,i){return e=+e,n=n>>>0,i||_e(this,e,n,2,32767,-32768),this[n]=e&255,this[n+1]=e>>>8,n+2};S.prototype.writeInt16BE=function(e,n,i){return e=+e,n=n>>>0,i||_e(this,e,n,2,32767,-32768),this[n]=e>>>8,this[n+1]=e&255,n+2};S.prototype.writeInt32LE=function(e,n,i){return e=+e,n=n>>>0,i||_e(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};S.prototype.writeInt32BE=function(e,n,i){return e=+e,n=n>>>0,i||_e(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};S.prototype.writeBigInt64LE=Vt(function(e,n=0){return yb(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});S.prototype.writeBigInt64BE=Vt(function(e,n=0){return xb(this,e,n,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function gb(t,e,n,i,r,o){if(n+i>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function vb(t,e,n,i,r){return e=+e,n=n>>>0,r||gb(t,e,n,4),fi.write(t,e,n,i,23,4),n+4}S.prototype.writeFloatLE=function(e,n,i){return vb(this,e,n,!0,i)};S.prototype.writeFloatBE=function(e,n,i){return vb(this,e,n,!1,i)};function bb(t,e,n,i,r){return e=+e,n=n>>>0,r||gb(t,e,n,8),fi.write(t,e,n,i,52,8),n+8}S.prototype.writeDoubleLE=function(e,n,i){return bb(this,e,n,!0,i)};S.prototype.writeDoubleBE=function(e,n,i){return bb(this,e,n,!1,i)};S.prototype.copy=function(e,n,i,r){if(!S.isBuffer(e))throw new TypeError("argument should be a Buffer");if(i||(i=0),!r&&r!==0&&(r=this.length),n>=e.length&&(n=e.length),n||(n=0),r>0&&r<i&&(r=i),r===i||e.length===0||this.length===0)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-n<r-i&&(r=e.length-n+i);let o=r-i;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(n,i,r):Uint8Array.prototype.set.call(e,this.subarray(i,r),n),o};S.prototype.fill=function(e,n,i,r){if(typeof e=="string"){if(typeof n=="string"?(r=n,n=0,i=this.length):typeof i=="string"&&(r=i,i=this.length),r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!S.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(e.length===1){let a=e.charCodeAt(0);(r==="utf8"&&a<128||r==="latin1")&&(e=a);}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(n<0||this.length<n||this.length<i)throw new RangeError("Out of range index");if(i<=n)return this;n=n>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);let o;if(typeof e=="number")for(o=n;o<i;++o)this[o]=e;else {let a=S.isBuffer(e)?e:S.from(e,r),s=a.length;if(s===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<i-n;++o)this[o+n]=a[o%s];}return this};var pi={};function Lu(t,e,n){pi[t]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${t}]`,delete this.name;}get code(){return t}set code(r){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:r,writable:!0});}toString(){return `${this.name} [${t}]: ${this.message}`}};}Lu("ERR_BUFFER_OUT_OF_BOUNDS",function(t){return t?`${t} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError);Lu("ERR_INVALID_ARG_TYPE",function(t,e){return `The "${t}" argument must be of type number. Received type ${typeof e}`},TypeError);Lu("ERR_OUT_OF_RANGE",function(t,e,n){let i=`The value of "${t}" is out of range.`,r=n;return Number.isInteger(n)&&Math.abs(n)>2**32?r=lb(String(n)):typeof n=="bigint"&&(r=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(r=lb(r)),r+="n"),i+=` It must be ${e}. Received ${r}`,i},RangeError);function lb(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 tq(t,e,n){di(e,"offset"),(t[e]===void 0||t[e+n]===void 0)&&cr(e,t.length-(n+1));}function wb(t,e,n,i,r,o){if(t>n||t<e){let a=typeof e=="bigint"?"n":"",s;throw o>3?e===0||e===BigInt(0)?s=`>= 0${a} and < 2${a} ** ${(o+1)*8}${a}`:s=`>= -(2${a} ** ${(o+1)*8-1}${a}) and < 2 ** ${(o+1)*8-1}${a}`:s=`>= ${e}${a} and <= ${n}${a}`,new pi.ERR_OUT_OF_RANGE("value",s,t)}tq(i,r,o);}function di(t,e){if(typeof t!="number")throw new pi.ERR_INVALID_ARG_TYPE(e,"number",t)}function cr(t,e,n){throw Math.floor(t)!==t?(di(t,n),new pi.ERR_OUT_OF_RANGE(n||"offset","an integer",t)):e<0?new pi.ERR_BUFFER_OUT_OF_BOUNDS:new pi.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${e}`,t)}var nq=/[^+/0-9A-Za-z-_]/g;function iq(t){if(t=t.split("=")[0],t=t.trim().replace(nq,""),t.length<2)return "";for(;t.length%4!==0;)t=t+"=";return t}function ju(t,e){e=e||1/0;let n,i=t.length,r=null,o=[];for(let a=0;a<i;++a){if(n=t.charCodeAt(a),n>55295&&n<57344){if(!r){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(a+1===i){(e-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536;}else r&&(e-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((e-=1)<0)break;o.push(n);}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,n&63|128);}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,n&63|128);}else if(n<1114112){if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128);}else throw new Error("Invalid code point")}return o}function rq(t){let e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n)&255);return e}function oq(t,e){let n,i,r,o=[];for(let a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),i=n>>8,r=n%256,o.push(r),o.push(i);return o}function Sb(t){return Fu.toByteArray(iq(t))}function oa(t,e,n,i){let r;for(r=0;r<i&&!(r+n>=e.length||r>=t.length);++r)e[r+n]=t[r];return r}function ht(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Du(t){return t!==t}var aq=function(){let t="0123456789abcdef",e=new Array(256);for(let n=0;n<16;++n){let i=n*16;for(let r=0;r<16;++r)e[i+r]=t[n]+t[r];}return e}();function Vt(t){return typeof BigInt>"u"?sq:t}function sq(){throw new Error("BigInt not supported")}});var Tb=g((o3,Ob)=>{var Le=nb(),Ab=Eb().Buffer;function cq(t){return 12+4*Math.ceil(t.length/4)}function uq(){return !(typeof window<"u"&&typeof document<"u")}function lq(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)),t instanceof Int8Array)return t.length*Le.Int8Array;if(t instanceof Uint8Array||t instanceof Uint8ClampedArray)return t.length*Le.Uint8Array;if(t instanceof Int16Array)return t.length*Le.Int16Array;if(t instanceof Uint16Array)return t.length*Le.Uint16Array;if(t instanceof Int32Array)return t.length*Le.Int32Array;if(t instanceof Uint32Array)return t.length*Le.Uint32Array;if(t instanceof Float32Array)return t.length*Le.Float32Array;if(t instanceof Float64Array)return t.length*Le.Float64Array;let r=JSON.stringify(i);e=new Ab.from(r).byteLength;}catch(i){return console.error("Error detected, return "+n,i),n}return e}function pq(t){let e=[],n=[t],i=0;for(;n.length;){let r=n.pop();if(typeof r=="boolean")i+=Le.BYTES;else if(typeof r=="string")uq()?i+=cq(r):i+=r.length*Le.STRING;else if(typeof r=="number")i+=Le.NUMBER;else if(typeof r=="symbol")Symbol.keyFor&&Symbol.keyFor(t)?i+=Symbol.keyFor(t).length*Le.STRING:i+=(t.toString().length-8)*Le.STRING;else if(typeof r=="bigint")i+=Ab.from(r.toString()).byteLength;else if(typeof r=="function")i+=r.toString().length;else if(typeof r=="object"&&e.indexOf(r)===-1){e.push(r);for(let o in r)n.push(r[o]);}}return i}Ob.exports=function(t){let e=0;return t!==null&&typeof t=="object"?e=lq(t):e=pq(t),e};});var hr=new Uint8Array(256),mr=hr.length;function pa(){return mr>hr.length-16&&(Kb__default.default.randomFillSync(hr),mr=0),hr.slice(mr,mr+=16)}var le=[];for(let t=0;t<256;++t)le.push((t+256).toString(16).slice(1));function Uu(t,e=0){return (le[t[e+0]]+le[t[e+1]]+le[t[e+2]]+le[t[e+3]]+"-"+le[t[e+4]]+le[t[e+5]]+"-"+le[t[e+6]]+le[t[e+7]]+"-"+le[t[e+8]]+le[t[e+9]]+"-"+le[t[e+10]]+le[t[e+11]]+le[t[e+12]]+le[t[e+13]]+le[t[e+14]]+le[t[e+15]]).toLowerCase()}var fa={randomUUID:Kb__default.default.randomUUID};function Xb(t,e,n){if(fa.randomUUID&&!e&&!t)return fa.randomUUID();t=t||{};let i=t.random||(t.rng||pa)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,e){n=n||0;for(let r=0;r<16;++r)e[n+r]=i[r];return e}return Uu(i)}var Sn=Xb;var Bb=tt(vs()),Ib=tt(jd());var Ti=class{constructor(e){this.config=e;}};function Ri(t,e){return function(){return t.apply(e,arguments)}}var{toString:NE}=Object.prototype,{getPrototypeOf:Ss}=Object,Vr=(t=>e=>{let n=NE.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),rt=t=>(t=t.toLowerCase(),e=>Vr(e)===t),Jr=t=>e=>typeof e===t,{isArray:jn}=Array,ki=Jr("undefined");function UE(t){return t!==null&&!ki(t)&&t.constructor!==null&&!ki(t.constructor)&&Ne(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var Ld=rt("ArrayBuffer");function zE(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ld(t.buffer),e}var $E=Jr("string"),Ne=Jr("function"),Dd=Jr("number"),Kr=t=>t!==null&&typeof t=="object",ME=t=>t===!0||t===!1,Gr=t=>{if(Vr(t)!=="object")return !1;let e=Ss(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},WE=rt("Date"),HE=rt("File"),GE=rt("Blob"),VE=rt("FileList"),JE=t=>Kr(t)&&Ne(t.pipe),KE=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Ne(t.append)&&((e=Vr(t))==="formdata"||e==="object"&&Ne(t.toString)&&t.toString()==="[object FormData]"))},YE=rt("URLSearchParams"),XE=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ci(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let i,r;if(typeof t!="object"&&(t=[t]),jn(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else {let o=n?Object.getOwnPropertyNames(t):Object.keys(t),a=o.length,s;for(i=0;i<a;i++)s=o[i],e.call(null,t[s],s,t);}}function Nd(t,e){e=e.toLowerCase();let n=Object.keys(t),i=n.length,r;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}var Ud=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),zd=t=>!ki(t)&&t!==Ud;function ws(){let{caseless:t}=zd(this)&&this||{},e={},n=(i,r)=>{let o=t&&Nd(e,r)||r;Gr(e[o])&&Gr(i)?e[o]=ws(e[o],i):Gr(i)?e[o]=ws({},i):jn(i)?e[o]=i.slice():e[o]=i;};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&Ci(arguments[i],n);return e}var QE=(t,e,n,{allOwnKeys:i}={})=>(Ci(e,(r,o)=>{n&&Ne(r)?t[o]=Ri(r,n):t[o]=r;},{allOwnKeys:i}),t),ZE=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),eA=(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);},tA=(t,e,n,i)=>{let r,o,a,s={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)a=r[o],(!i||i(a,t,e))&&!s[a]&&(e[a]=t[a],s[a]=!0);t=n!==!1&&Ss(t);}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},nA=(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},iA=t=>{if(!t)return null;if(jn(t))return t;let e=t.length;if(!Dd(e))return null;let n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},rA=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ss(Uint8Array)),oA=(t,e)=>{let i=(t&&t[Symbol.iterator]).call(t),r;for(;(r=i.next())&&!r.done;){let o=r.value;e.call(t,o[0],o[1]);}},aA=(t,e)=>{let n,i=[];for(;(n=t.exec(e))!==null;)i.push(n);return i},sA=rt("HTMLFormElement"),cA=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,r){return i.toUpperCase()+r}),Bd=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),uA=rt("RegExp"),$d=(t,e)=>{let n=Object.getOwnPropertyDescriptors(t),i={};Ci(n,(r,o)=>{e(r,o,t)!==!1&&(i[o]=r);}),Object.defineProperties(t,i);},lA=t=>{$d(t,(e,n)=>{if(Ne(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return !1;let i=t[n];if(Ne(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+"'")});}});},pA=(t,e)=>{let n={},i=r=>{r.forEach(o=>{n[o]=!0;});};return jn(t)?i(t):i(String(t).split(e)),n},fA=()=>{},dA=(t,e)=>(t=+t,Number.isFinite(t)?t:e),bs="abcdefghijklmnopqrstuvwxyz",Id="0123456789",Md={DIGIT:Id,ALPHA:bs,ALPHA_DIGIT:bs+bs.toUpperCase()+Id},mA=(t=16,e=Md.ALPHA_DIGIT)=>{let n="",{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n};function hA(t){return !!(t&&Ne(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}var yA=t=>{let e=new Array(10),n=(i,r)=>{if(Kr(i)){if(e.indexOf(i)>=0)return;if(!("toJSON"in i)){e[r]=i;let o=jn(i)?[]:{};return Ci(i,(a,s)=>{let c=n(a,r+1);!ki(c)&&(o[s]=c);}),e[r]=void 0,o}}return i};return n(t,0)},xA=rt("AsyncFunction"),gA=t=>t&&(Kr(t)||Ne(t))&&Ne(t.then)&&Ne(t.catch),x={isArray:jn,isArrayBuffer:Ld,isBuffer:UE,isFormData:KE,isArrayBufferView:zE,isString:$E,isNumber:Dd,isBoolean:ME,isObject:Kr,isPlainObject:Gr,isUndefined:ki,isDate:WE,isFile:HE,isBlob:GE,isRegExp:uA,isFunction:Ne,isStream:JE,isURLSearchParams:YE,isTypedArray:rA,isFileList:VE,forEach:Ci,merge:ws,extend:QE,trim:XE,stripBOM:ZE,inherits:eA,toFlatObject:tA,kindOf:Vr,kindOfTest:rt,endsWith:nA,toArray:iA,forEachEntry:oA,matchAll:aA,isHTMLForm:sA,hasOwnProperty:Bd,hasOwnProp:Bd,reduceDescriptors:$d,freezeMethods:lA,toObjectSet:pA,toCamelCase:cA,noop:fA,toFiniteNumber:dA,findKey:Nd,global:Ud,isContextDefined:zd,ALPHABET:Md,generateString:mA,isSpecCompliantForm:hA,toJSONObject:yA,isAsyncFn:xA,isThenable:gA};function Bn(t,e,n,i,r){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),r&&(this.response=r);}x.inherits(Bn,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Wd=Bn.prototype,Hd={};["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=>{Hd[t]={value:t};});Object.defineProperties(Bn,Hd);Object.defineProperty(Wd,"isAxiosError",{value:!0});Bn.from=(t,e,n,i,r,o)=>{let a=Object.create(Wd);return x.toFlatObject(t,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),Bn.call(a,t.message,e,n,i,r),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};var C=Bn;var Tm=tt(qs(),1),Qr=Tm.default;function js(t){return x.isPlainObject(t)||x.isArray(t)}function km(t){return x.endsWith(t,"[]")?t.slice(0,-2):t}function Rm(t,e,n){return t?t.concat(e).map(function(r,o){return r=km(r),!n&&o?"["+r+"]":r}).join(n?".":""):e}function tO(t){return x.isArray(t)&&!t.some(js)}var nO=x.toFlatObject(x,{},null,function(e){return /^is[A-Z]/.test(e)});function iO(t,e,n){if(!x.isObject(t))throw new TypeError("target must be an object");e=e||new(Qr||FormData),n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,v){return !x.isUndefined(v[y])});let i=n.metaTokens,r=n.visitor||u,o=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(e);if(!x.isFunction(r))throw new TypeError("visitor must be a function");function l(d){if(d===null)return "";if(x.isDate(d))return d.toISOString();if(!c&&x.isBlob(d))throw new C("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(d)||x.isTypedArray(d)?c&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function u(d,y,v){let b=d;if(d&&!v&&typeof d=="object"){if(x.endsWith(y,"{}"))y=i?y:y.slice(0,-2),d=JSON.stringify(d);else if(x.isArray(d)&&tO(d)||(x.isFileList(d)||x.endsWith(y,"[]"))&&(b=x.toArray(d)))return y=km(y),b.forEach(function(A,O){!(x.isUndefined(A)||A===null)&&e.append(a===!0?Rm([y],O,o):a===null?y:y+"[]",l(A));}),!1}return js(d)?!0:(e.append(Rm(v,y,o),l(d)),!1)}let p=[],h=Object.assign(nO,{defaultVisitor:u,convertValue:l,isVisitable:js});function f(d,y){if(!x.isUndefined(d)){if(p.indexOf(d)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(d),x.forEach(d,function(b,w){(!(x.isUndefined(b)||b===null)&&r.call(e,b,x.isString(w)?w.trim():w,y,h))===!0&&f(b,y?y.concat(w):[w]);}),p.pop();}}if(!x.isObject(t))throw new TypeError("data must be an object");return f(t),e}var Ct=iO;function Cm(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function _m(t,e){this._pairs=[],t&&Ct(t,this,e);}var Fm=_m.prototype;Fm.append=function(e,n){this._pairs.push([e,n]);};Fm.toString=function(e){let n=e?function(i){return e.call(this,i,Cm)}:Cm;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};var Pm=_m;function rO(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xt(t,e,n){if(!e)return t;let i=n&&n.encode||rO,r=n&&n.serialize,o;if(r?o=r(e,n):o=x.isURLSearchParams(e)?e.toString():new Pm(e,n).toString(i),o){let a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+o;}return t}var Bs=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){x.forEach(this.handlers,function(i){i!==null&&e(i);});}},Is=Bs;var In={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var qm=oO__default.default.URLSearchParams;var te={isNode:!0,classes:{URLSearchParams:qm,FormData:Qr,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]};function Ls(t,e){return Ct(t,new te.classes.URLSearchParams,Object.assign({visitor:function(n,i,r,o){return x.isBuffer(n)?(this.append(i,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function aO(t){return x.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function sO(t){let e={},n=Object.keys(t),i,r=n.length,o;for(i=0;i<r;i++)o=n[i],e[o]=t[o];return e}function cO(t){function e(n,i,r,o){let a=n[o++],s=Number.isFinite(+a),c=o>=n.length;return a=!a&&x.isArray(r)?r.length:a,c?(x.hasOwnProp(r,a)?r[a]=[r[a],i]:r[a]=i,!s):((!r[a]||!x.isObject(r[a]))&&(r[a]=[]),e(n,i,r[a],o)&&x.isArray(r[a])&&(r[a]=sO(r[a])),!s)}if(x.isFormData(t)&&x.isFunction(t.entries)){let n={};return x.forEachEntry(t,(i,r)=>{e(aO(i),r,n,0);}),n}return null}var Zr=cO;var uO={"Content-Type":void 0};function lO(t,e,n){if(x.isString(t))try{return (e||JSON.parse)(t),x.trim(t)}catch(i){if(i.name!=="SyntaxError")throw i}return (n||JSON.stringify)(t)}var eo={transitional:In,adapter:["xhr","http"],transformRequest:[function(e,n){let i=n.getContentType()||"",r=i.indexOf("application/json")>-1,o=x.isObject(e);if(o&&x.isHTMLForm(e)&&(e=new FormData(e)),x.isFormData(e))return r&&r?JSON.stringify(Zr(e)):e;if(x.isArrayBuffer(e)||x.isBuffer(e)||x.isStream(e)||x.isFile(e)||x.isBlob(e))return e;if(x.isArrayBufferView(e))return e.buffer;if(x.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Ls(e,this.formSerializer).toString();if((s=x.isFileList(e))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return Ct(s?{"files[]":e}:e,c&&new c,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),lO(e)):e}],transformResponse:[function(e){let n=this.transitional||eo.transitional,i=n&&n.forcedJSONParsing,r=this.responseType==="json";if(e&&x.isString(e)&&(i&&!this.responseType||r)){let a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(s){if(a)throw s.name==="SyntaxError"?C.from(s,C.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:te.classes.FormData,Blob:te.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};x.forEach(["delete","get","head"],function(e){eo.headers[e]={};});x.forEach(["post","put","patch"],function(e){eo.headers[e]=x.merge(uO);});var Ln=eo;var pO=x.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"]),jm=t=>{let e={},n,i,r;return t&&t.split(`
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),i=a.substring(r+1).trim(),!(!n||e[n]&&pO[n])&&(n==="set-cookie"?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i);}),e};var Bm=Symbol("internals");function _i(t){return t&&String(t).trim().toLowerCase()}function to(t){return t===!1||t==null?t:x.isArray(t)?t.map(to):String(t)}function fO(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 dO=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Ds(t,e,n,i,r){if(x.isFunction(i))return i.call(this,e,n);if(r&&(e=n),!!x.isString(e)){if(x.isString(i))return e.indexOf(i)!==-1;if(x.isRegExp(i))return i.test(e)}}function mO(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,i)=>n.toUpperCase()+i)}function hO(t,e){let n=x.toCamelCase(" "+e);["get","set","has"].forEach(i=>{Object.defineProperty(t,i+n,{value:function(r,o,a){return this[i].call(this,e,r,o,a)},configurable:!0});});}var Dn=class{constructor(e){e&&this.set(e);}set(e,n,i){let r=this;function o(s,c,l){let u=_i(c);if(!u)throw new Error("header name must be a non-empty string");let p=x.findKey(r,u);(!p||r[p]===void 0||l===!0||l===void 0&&r[p]!==!1)&&(r[p||c]=to(s));}let a=(s,c)=>x.forEach(s,(l,u)=>o(l,u,c));return x.isPlainObject(e)||e instanceof this.constructor?a(e,n):x.isString(e)&&(e=e.trim())&&!dO(e)?a(jm(e),n):e!=null&&o(n,e,i),this}get(e,n){if(e=_i(e),e){let i=x.findKey(this,e);if(i){let r=this[i];if(!n)return r;if(n===!0)return fO(r);if(x.isFunction(n))return n.call(this,r,i);if(x.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=_i(e),e){let i=x.findKey(this,e);return !!(i&&this[i]!==void 0&&(!n||Ds(this,this[i],i,n)))}return !1}delete(e,n){let i=this,r=!1;function o(a){if(a=_i(a),a){let s=x.findKey(i,a);s&&(!n||Ds(i,i[s],s,n))&&(delete i[s],r=!0);}}return x.isArray(e)?e.forEach(o):o(e),r}clear(e){let n=Object.keys(this),i=n.length,r=!1;for(;i--;){let o=n[i];(!e||Ds(this,this[o],o,e,!0))&&(delete this[o],r=!0);}return r}normalize(e){let n=this,i={};return x.forEach(this,(r,o)=>{let a=x.findKey(i,o);if(a){n[a]=to(r),delete n[o];return}let s=e?mO(o):String(o).trim();s!==o&&delete n[o],n[s]=to(r),i[s]=!0;}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let n=Object.create(null);return x.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=e&&x.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(r=>i.set(r)),i}static accessor(e){let i=(this[Bm]=this[Bm]={accessors:{}}).accessors,r=this.prototype;function o(a){let s=_i(a);i[s]||(hO(r,a),i[s]=!0);}return x.isArray(e)?e.forEach(o):o(e),this}};Dn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.freezeMethods(Dn.prototype);x.freezeMethods(Dn);var ne=Dn;function Fi(t,e){let n=this||Ln,i=e||n,r=ne.from(i.headers),o=i.data;return x.forEach(t,function(s){o=s.call(n,o,r.normalize(),e?e.status:void 0);}),r.normalize(),o}function Pi(t){return !!(t&&t.__CANCEL__)}function Im(t,e,n){C.call(this,t??"canceled",C.ERR_CANCELED,e,n),this.name="CanceledError";}x.inherits(Im,C,{__CANCEL__:!0});var He=Im;function _t(t,e,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):e(new C("Request failed with status code "+n.status,[C.ERR_BAD_REQUEST,C.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n));}function Ns(t){return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Us(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Qt(t,e){return t&&!Ns(e)?Us(t,e):e}var lh=tt(Dm(),1),ph=tt(th(),1);var nn="1.4.0";function Ii(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var YO=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function Js(t,e,n){let i=n&&n.Blob||te.classes.Blob,r=Ii(t);if(e===void 0&&i&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let o=YO.exec(t);if(!o)throw new C("Invalid URL",C.ERR_INVALID_URL);let a=o[1],s=o[2],c=o[3],l=Buffer.from(decodeURIComponent(c),s?"base64":"utf8");if(e){if(!i)throw new C("Blob is not supported",C.ERR_NOT_SUPPORT);return new i([l],{type:a})}return l}throw new C("Unsupported protocol "+r,C.ERR_NOT_SUPPORT)}function XO(t,e){let n=0,i=1e3/e,r=null;return function(a,s){let c=Date.now();if(a||c-n>i)return r&&(clearTimeout(r),r=null),n=c,t.apply(null,s);r||(r=setTimeout(()=>(r=null,n=Date.now(),t.apply(null,s)),i-(c-n)));}}var nh=XO;function QO(t,e){t=t||10;let n=new Array(t),i=new Array(t),r=0,o=0,a;return e=e!==void 0?e:1e3,function(c){let l=Date.now(),u=i[o];a||(a=l),n[r]=c,i[r]=l;let p=o,h=0;for(;p!==r;)h+=n[p++],p=p%t;if(r=(r+1)%t,r===o&&(o=(o+1)%t),l-a<e)return;let f=u&&l-u;return f?Math.round(h*1e3/f):void 0}}var ao=QO;var so=Symbol("internals"),Ks=class extends Mn__default.default.Transform{constructor(e){e=x.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(s,c)=>!x.isUndefined(c[s])),super({readableHighWaterMark:e.chunkSize});let n=this,i=this[so]={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},r=ao(i.ticksRate*e.samplesCount,i.timeWindow);this.on("newListener",s=>{s==="progress"&&(i.isCaptured||(i.isCaptured=!0));});let o=0;i.updateProgress=nh(function(){let c=i.length,l=i.bytesSeen,u=l-o;if(!u||n.destroyed)return;let p=r(u);o=l,process.nextTick(()=>{n.emit("progress",{loaded:l,total:c,progress:c?l/c:void 0,bytes:u,rate:p||void 0,estimated:p&&c&&l<=c?(c-l)/p:void 0});});},i.ticksRate);let a=()=>{i.updateProgress(!0);};this.once("end",a),this.once("error",a);}_read(e){let n=this[so];return n.onReadCallback&&n.onReadCallback(),super._read(e)}_transform(e,n,i){let r=this,o=this[so],a=o.maxRate,s=this.readableHighWaterMark,c=o.timeWindow,l=1e3/c,u=a/l,p=o.minChunkSize!==!1?Math.max(o.minChunkSize,u*.01):0;function h(d,y){let v=Buffer.byteLength(d);o.bytesSeen+=v,o.bytes+=v,o.isCaptured&&o.updateProgress(),r.push(d)?process.nextTick(y):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(y);};}let f=(d,y)=>{let v=Buffer.byteLength(d),b=null,w=s,A,O=0;if(a){let k=Date.now();(!o.ts||(O=k-o.ts)>=c)&&(o.ts=k,A=u-o.bytes,o.bytes=A<0?-A:0,O=0),A=u-o.bytes;}if(a){if(A<=0)return setTimeout(()=>{y(null,d);},c-O);A<w&&(w=A);}w&&v>w&&v-w>p&&(b=d.subarray(w),d=d.subarray(0,w)),h(d,b?()=>{process.nextTick(y,null,b);}:y);};f(e,function d(y,v){if(y)return i(y);v?f(v,d):i(null);});}setLength(e){return this[so].length=+e,this}},Ys=Ks;var{asyncIterator:ih}=Symbol,eT=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[ih]?yield*t[ih]():yield t;},co=eT;var iT=x.ALPHABET.ALPHA_DIGIT+"-_",Li=new pT.TextEncoder,Ft=`\r
`,rT=Li.encode(Ft),oT=2,Xs=class{constructor(e,n){let{escapeName:i}=this.constructor,r=x.isString(n),o=`Content-Disposition: form-data; name="${i(e)}"${!r&&n.name?`; filename="${i(n.name)}"`:""}${Ft}`;r?n=Li.encode(String(n).replace(/\r?\n|\r\n?/g,Ft)):o+=`Content-Type: ${n.type||"application/octet-stream"}${Ft}`,this.headers=Li.encode(o+Ft),this.contentLength=r?n.byteLength:n.size,this.size=this.headers.byteLength+this.contentLength+oT,this.name=e,this.value=n;}async*encode(){yield this.headers;let{value:e}=this;x.isTypedArray(e)?yield e:yield*co(e),yield rT;}static escapeName(e){return String(e).replace(/[\r\n"]/g,n=>({"\r":"%0D","\n":"%0A",'"':"%22"})[n])}},aT=(t,e,n)=>{let{tag:i="form-data-boundary",size:r=25,boundary:o=i+"-"+x.generateString(r,iT)}=n||{};if(!x.isFormData(t))throw TypeError("FormData instance required");if(o.length<1||o.length>70)throw Error("boundary must be 10-70 characters long");let a=Li.encode("--"+o+Ft),s=Li.encode("--"+o+"--"+Ft+Ft),c=s.byteLength,l=Array.from(t.entries()).map(([p,h])=>{let f=new Xs(p,h);return c+=f.size,f});c+=a.byteLength*l.length,c=x.toFiniteNumber(c);let u={"Content-Type":`multipart/form-data; boundary=${o}`};return Number.isFinite(c)&&(u["Content-Length"]=c),e&&e(u),Mn.Readable.from(async function*(){for(let p of l)yield a,yield*p.encode();yield s;}())},rh=aT;var Qs=class extends Mn__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 r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,n);}this.__transform(e,n,i);}},oh=Qs;var cT=(t,e)=>x.isAsyncFn(t)?function(...n){let i=n.pop();t.apply(this,n).then(r=>{try{e?i(null,...e(r)):i(null,r);}catch(o){i(o);}},i);}:t,ah=cT;var sh={flush:Pt__default.default.constants.Z_SYNC_FLUSH,finishFlush:Pt__default.default.constants.Z_SYNC_FLUSH},dT={flush:Pt__default.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Pt__default.default.constants.BROTLI_OPERATION_FLUSH},ch=x.isFunction(Pt__default.default.createBrotliDecompress),{http:mT,https:hT}=ph.default,yT=/https:?/,uh=te.protocols.map(t=>t+":");function xT(t){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t);}function fh(t,e,n){let i=e;if(!i&&i!==!1){let r=(0, lh.getProxyForUrl)(n);r&&(i=new URL(r));}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 o=Buffer.from(i.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+o;}t.headers.host=t.hostname+(t.port?":"+t.port:"");let r=i.hostname||i.host;t.hostname=r,t.host=r,t.port=i.port,t.path=n,i.protocol&&(t.protocol=i.protocol.includes(":")?i.protocol:`${i.protocol}:`);}t.beforeRedirects.proxy=function(o){fh(o,e,o.href);};}var gT=typeof process<"u"&&x.kindOf(process)==="process",vT=t=>new Promise((e,n)=>{let i,r,o=(c,l)=>{r||(r=!0,i&&i(c,l));},a=c=>{o(c),e(c);},s=c=>{o(c,!0),n(c);};t(a,s,c=>i=c).catch(s);}),dh=gT&&function(e){return vT(async function(i,r,o){let{data:a,lookup:s,family:c}=e,{responseType:l,responseEncoding:u}=e,p=e.method.toUpperCase(),h,f=!1,d;s&&x.isAsyncFn(s)&&(s=ah(s,R=>{if(x.isString(R))R=[R,R.indexOf(".")<0?6:4];else if(!x.isArray(R))throw new TypeError("lookup async function must return an array [ip: string, family: number]]");return R}));let y=new fT__default.default,v=()=>{e.cancelToken&&e.cancelToken.unsubscribe(b),e.signal&&e.signal.removeEventListener("abort",b),y.removeAllListeners();};o((R,P)=>{h=!0,P&&(f=!0,v());});function b(R){y.emit("abort",!R||R.type?new He(null,e,d):R);}y.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(b),e.signal&&(e.signal.aborted?b():e.signal.addEventListener("abort",b)));let w=Qt(e.baseURL,e.url),A=new URL(w,"http://localhost"),O=A.protocol||uh[0];if(O==="data:"){let R;if(p!=="GET")return _t(i,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{R=Js(e.url,l==="blob",{Blob:e.env&&e.env.Blob});}catch(P){throw C.from(P,C.ERR_BAD_REQUEST,e)}return l==="text"?(R=R.toString(u),(!u||u==="utf8")&&(R=x.stripBOM(R))):l==="stream"&&(R=Mn__default.default.Readable.from(R)),_t(i,r,{data:R,status:200,statusText:"OK",headers:new ne,config:e})}if(uh.indexOf(O)===-1)return r(new C("Unsupported protocol "+O,C.ERR_BAD_REQUEST,e));let k=ne.from(e.headers).normalize();k.set("User-Agent","axios/"+nn,!1);let q=e.onDownloadProgress,L=e.onUploadProgress,D=e.maxRate,T,B;if(x.isSpecCompliantForm(a)){let R=k.getContentType(/boundary=([-_\w\d]{10,70})/i);a=rh(a,P=>{k.set(P);},{tag:`axios-${nn}-boundary`,boundary:R&&R[1]||void 0});}else if(x.isFormData(a)&&x.isFunction(a.getHeaders)){if(k.set(a.getHeaders()),!k.hasContentLength())try{let R=await pT__default.default.promisify(a.getLength).call(a);Number.isFinite(R)&&R>=0&&k.setContentLength(R);}catch{}}else if(x.isBlob(a))a.size&&k.setContentType(a.type||"application/octet-stream"),k.setContentLength(a.size||0),a=Mn__default.default.Readable.from(co(a));else if(a&&!x.isStream(a)){if(!Buffer.isBuffer(a))if(x.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(x.isString(a))a=Buffer.from(a,"utf-8");else return r(new C("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",C.ERR_BAD_REQUEST,e));if(k.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return r(new C("Request body larger than maxBodyLength limit",C.ERR_BAD_REQUEST,e))}let I=x.toFiniteNumber(k.getContentLength());x.isArray(D)?(T=D[0],B=D[1]):T=B=D,a&&(L||T)&&(x.isStream(a)||(a=Mn__default.default.Readable.from(a,{objectMode:!1})),a=Mn__default.default.pipeline([a,new Ys({length:I,maxRate:x.toFiniteNumber(T)})],x.noop),L&&a.on("progress",R=>{L(Object.assign(R,{upload:!0}));}));let M;if(e.auth){let R=e.auth.username||"",P=e.auth.password||"";M=R+":"+P;}if(!M&&A.username){let R=A.username,P=A.password;M=R+":"+P;}M&&k.delete("authorization");let W;try{W=Xt(A.pathname+A.search,e.params,e.paramsSerializer).replace(/^\?/,"");}catch(R){let P=new Error(R.message);return P.config=e,P.url=e.url,P.exists=!0,r(P)}k.set("Accept-Encoding","gzip, compress, deflate"+(ch?", br":""),!1);let z={path:W,method:p,headers:k.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:M,protocol:O,family:c,lookup:s,beforeRedirect:xT,beforeRedirects:{}};e.socketPath?z.socketPath=e.socketPath:(z.hostname=A.hostname,z.port=A.port,fh(z,e.proxy,O+"//"+A.hostname+(A.port?":"+A.port:"")+z.path));let V,K=yT.test(z.protocol);if(z.agent=K?e.httpsAgent:e.httpAgent,e.transport?V=e.transport:e.maxRedirects===0?V=K?lT__default.default:uT__default.default:(e.maxRedirects&&(z.maxRedirects=e.maxRedirects),e.beforeRedirect&&(z.beforeRedirects.config=e.beforeRedirect),V=K?hT:mT),e.maxBodyLength>-1?z.maxBodyLength=e.maxBodyLength:z.maxBodyLength=1/0,e.insecureHTTPParser&&(z.insecureHTTPParser=e.insecureHTTPParser),d=V.request(z,function(P){if(d.destroyed)return;let H=[P],lr=+P.headers["content-length"];if(q){let yt=new Ys({length:x.toFiniteNumber(lr),maxRate:x.toFiniteNumber(B)});q&&yt.on("progress",fr=>{q(Object.assign(fr,{download:!0}));}),H.push(yt);}let De=P,pr=P.req||d;if(e.decompress!==!1&&P.headers["content-encoding"])switch((p==="HEAD"||P.statusCode===204)&&delete P.headers["content-encoding"],P.headers["content-encoding"]){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(Pt__default.default.createUnzip(sh)),delete P.headers["content-encoding"];break;case"deflate":H.push(new oh),H.push(Pt__default.default.createUnzip(sh)),delete P.headers["content-encoding"];break;case"br":ch&&(H.push(Pt__default.default.createBrotliDecompress(dT)),delete P.headers["content-encoding"]);}De=H.length>1?Mn__default.default.pipeline(H,x.noop):H[0];let Nb=Mn__default.default.finished(De,()=>{Nb(),v();}),wn={status:P.statusCode,statusText:P.statusMessage,headers:new ne(P.headers),config:e,request:pr};if(l==="stream")wn.data=De,_t(i,r,wn);else {let yt=[],fr=0;De.on("data",function(ye){yt.push(ye),fr+=ye.length,e.maxContentLength>-1&&fr>e.maxContentLength&&(f=!0,De.destroy(),r(new C("maxContentLength size of "+e.maxContentLength+" exceeded",C.ERR_BAD_RESPONSE,e,pr)));}),De.on("aborted",function(){if(f)return;let ye=new C("maxContentLength size of "+e.maxContentLength+" exceeded",C.ERR_BAD_RESPONSE,e,pr);De.destroy(ye),r(ye);}),De.on("error",function(ye){d.destroyed||r(C.from(ye,null,e,pr));}),De.on("end",function(){try{let ye=yt.length===1?yt[0]:Buffer.concat(yt);l!=="arraybuffer"&&(ye=ye.toString(u),(!u||u==="utf8")&&(ye=x.stripBOM(ye))),wn.data=ye;}catch(ye){r(C.from(ye,null,e,wn.request,wn));}_t(i,r,wn);});}y.once("abort",yt=>{De.destroyed||(De.emit("error",yt),De.destroy());});}),y.once("abort",R=>{r(R),d.destroy(R);}),d.on("error",function(P){r(C.from(P,null,e,d));}),d.on("socket",function(P){P.setKeepAlive(!0,1e3*60);}),e.timeout){let R=parseInt(e.timeout,10);if(isNaN(R)){r(new C("error trying to parse `config.timeout` to int",C.ERR_BAD_OPTION_VALUE,e,d));return}d.setTimeout(R,function(){if(h)return;let H=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",lr=e.transitional||In;e.timeoutErrorMessage&&(H=e.timeoutErrorMessage),r(new C(H,lr.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,e,d)),b();});}if(x.isStream(a)){let R=!1,P=!1;a.on("end",()=>{R=!0;}),a.once("error",H=>{P=!0,d.destroy(H);}),a.on("close",()=>{!R&&!P&&b(new He("Request stream has been aborted",e,d));}),a.pipe(d);}else d.end(a);})};var mh=te.isStandardBrowserEnv?function(){return {write:function(n,i,r,o,a,s){let c=[];c.push(n+"="+encodeURIComponent(i)),x.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),x.isString(o)&&c.push("path="+o),x.isString(a)&&c.push("domain="+a),s===!0&&c.push("secure"),document.cookie=c.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 hh=te.isStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),i;function r(o){let a=o;return e&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=r(window.location.href),function(a){let s=x.isString(a)?r(a):a;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return !0}}();function yh(t,e){let n=0,i=ao(50,250);return r=>{let o=r.loaded,a=r.lengthComputable?r.total:void 0,s=o-n,c=i(s),l=o<=a;n=o;let u={loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&l?(a-o)/c:void 0,event:r};u[e?"download":"upload"]=!0,t(u);}}var bT=typeof XMLHttpRequest<"u",xh=bT&&function(t){return new Promise(function(n,i){let r=t.data,o=ne.from(t.headers).normalize(),a=t.responseType,s;function c(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s);}x.isFormData(r)&&(te.isStandardBrowserEnv||te.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.setContentType("multipart/form-data;",!1));let l=new XMLHttpRequest;if(t.auth){let f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.set("Authorization","Basic "+btoa(f+":"+d));}let u=Qt(t.baseURL,t.url);l.open(t.method.toUpperCase(),Xt(u,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function p(){if(!l)return;let f=ne.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),y={data:!a||a==="text"||a==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:f,config:t,request:l};_t(function(b){n(b),c();},function(b){i(b),c();},y),l=null;}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p);},l.onabort=function(){l&&(i(new C("Request aborted",C.ECONNABORTED,t,l)),l=null);},l.onerror=function(){i(new C("Network Error",C.ERR_NETWORK,t,l)),l=null;},l.ontimeout=function(){let d=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",y=t.transitional||In;t.timeoutErrorMessage&&(d=t.timeoutErrorMessage),i(new C(d,y.clarifyTimeoutError?C.ETIMEDOUT:C.ECONNABORTED,t,l)),l=null;},te.isStandardBrowserEnv){let f=(t.withCredentials||hh(u))&&t.xsrfCookieName&&mh.read(t.xsrfCookieName);f&&o.set(t.xsrfHeaderName,f);}r===void 0&&o.setContentType(null),"setRequestHeader"in l&&x.forEach(o.toJSON(),function(d,y){l.setRequestHeader(y,d);}),x.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),a&&a!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",yh(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",yh(t.onUploadProgress)),(t.cancelToken||t.signal)&&(s=f=>{l&&(i(!f||f.type?new He(null,t,l):f),l.abort(),l=null);},t.cancelToken&&t.cancelToken.subscribe(s),t.signal&&(t.signal.aborted?s():t.signal.addEventListener("abort",s)));let h=Ii(u);if(h&&te.protocols.indexOf(h)===-1){i(new C("Unsupported protocol "+h+":",C.ERR_BAD_REQUEST,t));return}l.send(r||null);})};var uo={http:dh,xhr:xh};x.forEach(uo,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e});}catch{}Object.defineProperty(t,"adapterName",{value:e});}});var gh={getAdapter:t=>{t=x.isArray(t)?t:[t];let{length:e}=t,n,i;for(let r=0;r<e&&(n=t[r],!(i=x.isString(n)?uo[n.toLowerCase()]:n));r++);if(!i)throw i===!1?new C(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(x.hasOwnProp(uo,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!x.isFunction(i))throw new TypeError("adapter is not a function");return i},adapters:uo};function Zs(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new He(null,t)}function lo(t){return Zs(t),t.headers=ne.from(t.headers),t.data=Fi.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),gh.getAdapter(t.adapter||Ln.adapter)(t).then(function(i){return Zs(t),i.data=Fi.call(t,t.transformResponse,i),i.headers=ne.from(i.headers),i},function(i){return Pi(i)||(Zs(t),i&&i.response&&(i.response.data=Fi.call(t,t.transformResponse,i.response),i.response.headers=ne.from(i.response.headers))),Promise.reject(i)})}var vh=t=>t instanceof ne?t.toJSON():t;function vt(t,e){e=e||{};let n={};function i(l,u,p){return x.isPlainObject(l)&&x.isPlainObject(u)?x.merge.call({caseless:p},l,u):x.isPlainObject(u)?x.merge({},u):x.isArray(u)?u.slice():u}function r(l,u,p){if(x.isUndefined(u)){if(!x.isUndefined(l))return i(void 0,l,p)}else return i(l,u,p)}function o(l,u){if(!x.isUndefined(u))return i(void 0,u)}function a(l,u){if(x.isUndefined(u)){if(!x.isUndefined(l))return i(void 0,l)}else return i(void 0,u)}function s(l,u,p){if(p in e)return i(l,u);if(p in t)return i(void 0,l)}let c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(l,u)=>r(vh(l),vh(u),!0)};return x.forEach(Object.keys(Object.assign({},t,e)),function(u){let p=c[u]||r,h=p(t[u],e[u],u);x.isUndefined(h)&&p!==s||(n[u]=h);}),n}var ec={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{ec[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t};});var bh={};ec.transitional=function(e,n,i){function r(o,a){return "[Axios v"+nn+"] Transitional option '"+o+"'"+a+(i?". "+i:"")}return (o,a,s)=>{if(e===!1)throw new C(r(a," has been removed"+(n?" in "+n:"")),C.ERR_DEPRECATED);return n&&!bh[a]&&(bh[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(o,a,s):!0}};function wT(t,e,n){if(typeof t!="object")throw new C("options must be an object",C.ERR_BAD_OPTION_VALUE);let i=Object.keys(t),r=i.length;for(;r-- >0;){let o=i[r],a=e[o];if(a){let s=t[o],c=s===void 0||a(s,o,t);if(c!==!0)throw new C("option "+o+" must be "+c,C.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new C("Unknown option "+o,C.ERR_BAD_OPTION)}}var po={assertOptions:wT,validators:ec};var qt=po.validators,Wn=class{constructor(e){this.defaults=e,this.interceptors={request:new Is,response:new Is};}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=vt(this.defaults,n);let{transitional:i,paramsSerializer:r,headers:o}=n;i!==void 0&&po.assertOptions(i,{silentJSONParsing:qt.transitional(qt.boolean),forcedJSONParsing:qt.transitional(qt.boolean),clarifyTimeoutError:qt.transitional(qt.boolean)},!1),r!=null&&(x.isFunction(r)?n.paramsSerializer={serialize:r}:po.assertOptions(r,{encode:qt.function,serialize:qt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=o&&x.merge(o.common,o[n.method]),a&&x.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d];}),n.headers=ne.concat(a,o);let s=[],c=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(c=c&&y.synchronous,s.unshift(y.fulfilled,y.rejected));});let l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected);});let u,p=0,h;if(!c){let d=[lo.bind(this),void 0];for(d.unshift.apply(d,s),d.push.apply(d,l),h=d.length,u=Promise.resolve(n);p<h;)u=u.then(d[p++],d[p++]);return u}h=s.length;let f=n;for(p=0;p<h;){let d=s[p++],y=s[p++];try{f=d(f);}catch(v){y.call(this,v);break}}try{u=lo.call(this,f);}catch(d){return Promise.reject(d)}for(p=0,h=l.length;p<h;)u=u.then(l[p++],l[p++]);return u}getUri(e){e=vt(this.defaults,e);let n=Qt(e.baseURL,e.url);return Xt(n,e.params,e.paramsSerializer)}};x.forEach(["delete","get","head","options"],function(e){Wn.prototype[e]=function(n,i){return this.request(vt(i||{},{method:e,url:n,data:(i||{}).data}))};});x.forEach(["post","put","patch"],function(e){function n(i){return function(o,a,s){return this.request(vt(s||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}Wn.prototype[e]=n(),Wn.prototype[e+"Form"]=n(!0);});var Di=Wn;var Ni=class{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o;});let i=this;this.promise.then(r=>{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](r);i._listeners=null;}),this.promise.then=r=>{let o,a=new Promise(s=>{i.subscribe(s),o=s;}).then(r);return a.cancel=function(){i.unsubscribe(o);},a},e(function(o,a,s){i.reason||(i.reason=new He(o,a,s),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 Ni(function(r){e=r;}),cancel:e}}},wh=Ni;function tc(t){return function(n){return t.apply(null,n)}}function nc(t){return x.isObject(t)&&t.isAxiosError===!0}var ic={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(ic).forEach(([t,e])=>{ic[e]=t;});var Sh=ic;function Eh(t){let e=new Di(t),n=Ri(Di.prototype.request,e);return x.extend(n,Di.prototype,e,{allOwnKeys:!0}),x.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return Eh(vt(t,r))},n}var ie=Eh(Ln);ie.Axios=Di;ie.CanceledError=He;ie.CancelToken=wh;ie.isCancel=Pi;ie.VERSION=nn;ie.toFormData=Ct;ie.AxiosError=C;ie.Cancel=ie.CanceledError;ie.all=function(e){return Promise.all(e)};ie.spread=tc;ie.isAxiosError=nc;ie.mergeConfig=vt;ie.AxiosHeaders=ne;ie.formToJSON=t=>Zr(x.isHTMLForm(t)?new FormData(t):t);ie.HttpStatusCode=Sh;ie.default=ie;var Ui=ie;var oc=tt(qs());var jt=class extends Error{constructor(n,i,r){super(r);this.name="ApiError",this.url=i.url,this.status=i.status,this.statusText=i.statusText,this.body=i.body,this.request=n;}};var fo=class extends Error{constructor(e){super(e),this.name="CancelError";}get isCancelled(){return !0}},ot,at,Ge,Bt,rn,zi,Hn,Ue=class{constructor(e){N(this,ot,void 0);N(this,at,void 0);N(this,Ge,void 0);N(this,Bt,void 0);N(this,rn,void 0);N(this,zi,void 0);N(this,Hn,void 0);F(this,ot,!1),F(this,at,!1),F(this,Ge,!1),F(this,Bt,[]),F(this,rn,new Promise((n,i)=>{F(this,zi,n),F(this,Hn,i);let r=s=>{var c;m(this,ot)||m(this,at)||m(this,Ge)||(F(this,ot,!0),(c=m(this,zi))==null||c.call(this,s));},o=s=>{var c;m(this,ot)||m(this,at)||m(this,Ge)||(F(this,at,!0),(c=m(this,Hn))==null||c.call(this,s));},a=s=>{m(this,ot)||m(this,at)||m(this,Ge)||m(this,Bt).push(s);};return Object.defineProperty(a,"isResolved",{get:()=>m(this,ot)}),Object.defineProperty(a,"isRejected",{get:()=>m(this,at)}),Object.defineProperty(a,"isCancelled",{get:()=>m(this,Ge)}),e(r,o,a)}));}get[Symbol.toStringTag](){return "Cancellable Promise"}then(e,n){return m(this,rn).then(e,n)}catch(e){return m(this,rn).catch(e)}finally(e){return m(this,rn).finally(e)}cancel(){var e;if(!(m(this,ot)||m(this,at)||m(this,Ge))){if(F(this,Ge,!0),m(this,Bt).length)try{for(let n of m(this,Bt))n();}catch(n){console.warn("Cancellation threw an error",n);return}m(this,Bt).length=0,(e=m(this,Hn))==null||e.call(this,new fo("Request aborted"));}}get isCancelled(){return m(this,Ge)}};ot=new WeakMap,at=new WeakMap,Ge=new WeakMap,Bt=new WeakMap,rn=new WeakMap,zi=new WeakMap,Hn=new WeakMap;var ac=t=>t!=null,ho=t=>typeof t=="string",rc=t=>ho(t)&&t!=="",Ah=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]),ST=t=>t instanceof oc.default,ET=t=>t>=200&&t<300,AT=t=>{try{return btoa(t)}catch{return Buffer.from(t).toString("base64")}},OT=t=>{let e=[],n=(r,o)=>{e.push(`${encodeURIComponent(r)}=${encodeURIComponent(String(o))}`);},i=(r,o)=>{ac(o)&&(Array.isArray(o)?o.forEach(a=>{i(r,a);}):typeof o=="object"?Object.entries(o).forEach(([a,s])=>{i(`${r}[${a}]`,s);}):n(r,o));};return Object.entries(t).forEach(([r,o])=>{i(r,o);}),e.length>0?`?${e.join("&")}`:""},TT=(t,e)=>{let n=t.ENCODE_PATH||encodeURI,i=e.url.replace("{api-version}",t.VERSION).replace(/{(.*?)}/g,(o,a)=>e.path?.hasOwnProperty(a)?n(String(e.path[a])):o),r=`${t.BASE}${i}`;return e.query?`${r}${OT(e.query)}`:r},RT=t=>{if(t.formData){let e=new oc.default,n=(i,r)=>{ho(r)||Ah(r)?e.append(i,r):e.append(i,JSON.stringify(r));};return Object.entries(t.formData).filter(([i,r])=>ac(r)).forEach(([i,r])=>{Array.isArray(r)?r.forEach(o=>n(i,o)):n(i,r);}),e}},mo=async(t,e)=>typeof e=="function"?e(t):e,kT=async(t,e,n)=>{let i=await mo(e,t.TOKEN),r=await mo(e,t.USERNAME),o=await mo(e,t.PASSWORD),a=await mo(e,t.HEADERS),s=typeof n?.getHeaders=="function"&&n?.getHeaders()||{},c=Object.entries({Accept:"application/json",...a,...e.headers,...s}).filter(([l,u])=>ac(u)).reduce((l,[u,p])=>({...l,[u]:String(p)}),{});if(rc(i)&&(c.Authorization=`Bearer ${i}`),rc(r)&&rc(o)){let l=AT(`${r}:${o}`);c.Authorization=`Basic ${l}`;}return e.body&&(e.mediaType?c["Content-Type"]=e.mediaType:Ah(e.body)?c["Content-Type"]=e.body.type||"application/octet-stream":ho(e.body)?c["Content-Type"]="text/plain":ST(e.body)||(c["Content-Type"]="application/json")),c},CT=t=>{if(t.body)return t.body},_T=async(t,e,n,i,r,o,a)=>{let s=Ui.CancelToken.source(),c={url:n,headers:o,data:i??r,method:e.method,withCredentials:t.WITH_CREDENTIALS,cancelToken:s.token};a(()=>s.cancel("The user aborted a request."));try{return await Ui.request(c)}catch(l){let u=l;if(u.response)return u.response;throw l}},FT=(t,e)=>{if(e){let n=t.headers[e];if(ho(n))return n}},PT=t=>{if(t.status!==204)return t.data},qT=(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 jt(t,e,i);if(!e.ok)throw new jt(t,e,"Generic Error")},Oh=(t,e)=>new Ue(async(n,i,r)=>{try{let o=TT(t,e),a=RT(e),s=CT(e),c=await kT(t,e,a);if(!r.isCancelled){let l=await _T(t,e,o,s,a,c,r),u=PT(l),p=FT(l,e.responseHeader),h={url:o,ok:ET(l.status),status:l.status,statusText:l.statusText,body:p??u};qT(e,h),n(h.body);}}catch(o){i(o);}});var Gn=class extends Ti{constructor(e){super(e);}request(e){return Oh(this.config,e)}};var $i=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 Vn=class{constructor(e,n=Gn){this.request=new n({BASE:e?.BASE??"https://playground.app.tabbyml.com/tabby",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 $i(this.request);}};function st(t){return t.match(/.*(?:$|\r?\n)/g).filter(Boolean)}function sc(t){return t.match(/\w+|\W+/g).filter(Boolean)}function yo(t){return t.trim().length===0}function xo(t,e){return new Ue((n,i,r)=>{t.then(o=>{n(o);}).catch(o=>{i(o);}),r(()=>{e();});})}function cc(t){this.message=t;}cc.prototype=new Error,cc.prototype.name="InvalidCharacterError";var Th=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new cc("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,i,r=0,o=0,a="";i=e.charAt(o++);~i&&(n=r%4?64*n+i:i,r++%4)?a+=String.fromCharCode(255&n>>(-2*r&6)):0)i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(i);return a};function jT(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(Th(n).replace(/(.)/g,function(i,r){var o=r.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(e)}catch{return Th(e)}}function go(t){this.message=t;}function BT(t,e){if(typeof t!="string")throw new go("Invalid token specified");var n=(e=e||{}).header===!0?0:1;try{return JSON.parse(jT(t.split(".")[n]))}catch(i){throw new go("Invalid token specified: "+i.message)}}go.prototype=new Error,go.prototype.name="InvalidTokenError";var uc=BT;var Mi=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})}usage(e){return this.httpRequest.request({method:"POST",url:"/usage",body:e})}};var an=class{constructor(e,n=Gn){this.request=new n({BASE:e?.BASE??"https://tabbyml.app.tabbyml.com/tabby",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 Mi(this.request);}};var _o=(()=>{let t=_("path").join(_("os").homedir(),".tabby","agent","data.json"),e=Ax();return {data:{},load:async function(){this.data=await e.readJson(t,{throws:!1})||{};},save:async function(){await e.outputJson(t,this.data);}}})();var wu=tt(qv());var $v=(zv(),Jb(Uv)).createStream("tabby-agent.log",{path:_("path").join(_("os").homedir(),".tabby","agent-logs"),size:"10M",interval:"1d"}),ke=$v?(0, wu.default)($v):(0, wu.default)(),Yo=[ke];ke.onChild=t=>{Yo.push(t);};var ni=class extends fT.EventEmitter{constructor(n){super();this.logger=ke.child({component:"Auth"});this.dataStore=null;this.pollingTokenTimer=null;this.refreshTokenTimer=null;this.authApi=null;this.jwt=null;this.endpoint=n.endpoint,this.dataStore=n.dataStore||_o;let i=this.endpoint.replace(/\/tabby\/?$/,"/api");this.authApi=new an({BASE:i});}static async create(n){let i=new ni(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;typeof n=="string"&&this.jwt?.token!==n&&(this.logger.debug({storedJwt:n},"Load jwt from data store."),this.jwt={token:n,payload:uc(n)},this.scheduleRefreshToken());}catch(n){this.logger.debug({error:n},"Error when loading auth");}}async save(){if(this.dataStore)try{if(this.jwt){if(this.dataStore.data.auth?.[this.endpoint]?.jwt===this.jwt.token)return;this.dataStore.data.auth={...this.dataStore.data.auth,[this.endpoint]:{jwt:this.jwt.token}};}else {if(typeof this.dataStore.data.auth?.[this.endpoint]>"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()),this.refreshTokenTimer&&(clearTimeout(this.refreshTokenTimer),this.refreshTokenTimer=null),this.pollingTokenTimer&&(clearInterval(this.pollingTokenTimer),this.pollingTokenTimer=null);}async requestToken(){try{await this.reset();let n=await this.authApi.api.deviceToken({auth_url:this.endpoint});this.logger.debug({deviceToken:n},"Request device token response");let i=new URL(ni.authPageUrl);return i.searchParams.append("code",n.data.code),this.schedulePollingToken(n.data.code),i.toString()}catch(n){throw this.logger.error({error:n},"Error when requesting token"),n}}async schedulePollingToken(n){this.pollingTokenTimer=setInterval(async()=>{try{let i=await this.authApi.api.deviceTokenAccept({code:n});this.logger.debug({response:i},"Poll jwt response"),this.jwt={token:i.data.jwt,payload:uc(i.data.jwt)},await this.save(),this.scheduleRefreshToken(),super.emit("updated",this.jwt),clearInterval(this.pollingTokenTimer),this.pollingTokenTimer=null;}catch(i){i instanceof jt&&[401,403,405].indexOf(i.status)!==-1?this.logger.debug({error:i},"Expected error when polling jwt"):this.logger.error({error:i},"Error when polling jwt");}},ni.pollTokenInterval);}scheduleRefreshToken(){if(this.refreshTokenTimer&&(clearTimeout(this.refreshTokenTimer),this.refreshTokenTimer=null),!this.jwt)return null;let n=Math.max(0,this.jwt.payload.exp*1e3-Date.now()-ni.refreshTokenInterval);this.refreshTokenTimer=setTimeout(async()=>{this.logger.debug({expireAt:this.jwt.payload.exp},"Refresh token");},n);}},mn=ni;mn.authPageUrl="https://app.tabbyml.com/account/device-token",mn.pollTokenInterval=5e3,mn.refreshTokenInterval=1e3*60*60*24*3;var Mv={server:{endpoint:"http://localhost:8080"},logs:{level:"silent"},anonymousUsageTracking:{disable:!1}};var er=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Hv=new Set,Su=typeof process=="object"&&process?process:{},Gv=(t,e,n,i)=>{typeof Su.emitWarning=="function"?Su.emitWarning(t,e,n,i):console.error(`[${n}] ${e}: ${t}`);},ea=globalThis.AbortController,Wv=globalThis.AbortSignal;if(typeof ea>"u"){Wv=class{constructor(){U(this,"onabort");U(this,"_onabort",[]);U(this,"reason");U(this,"aborted",!1);}addEventListener(i,r){this._onabort.push(r);}},ea=class{constructor(){U(this,"signal",new Wv);e();}abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let r of this.signal._onabort)r(i);this.signal.onabort?.(i);}}};let t=Su.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Gv("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 kP=t=>!Hv.has(t),Mt=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Vv=t=>Mt(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?ri:null:null,ri=class extends Array{constructor(e){super(e),this.fill(0);}},oi,ii=class{constructor(e,n){U(this,"heap");U(this,"length");if(!m(ii,oi))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(e),this.length=0;}static create(e){let n=Vv(e);if(!n)return [];F(ii,oi,!0);let i=new ii(e,n);return F(ii,oi,!1),i}push(e){this.heap[this.length++]=e;}pop(){return this.heap[--this.length]}},Xo=ii;oi=new WeakMap,N(Xo,oi,!1);var Ye,je,lt,Xe,ai,re,Qe,oe,X,$,be,Be,he,ce,Ze,de,wt,St,et,pt,Gt,Ce,nr,Eu,hn,Et,ir,Ie,na,Jv,yn,si,rr,ft,Wt,dt,Ht,or,Au,ci,Qo,ui,Zo,Y,Q,ar,Ou,xn,tr,Tu=class{constructor(e){N(this,nr);N(this,na);N(this,ft);N(this,dt);N(this,or);N(this,ci);N(this,ui);N(this,Y);N(this,ar);N(this,xn);N(this,Ye,void 0);N(this,je,void 0);N(this,lt,void 0);N(this,Xe,void 0);N(this,ai,void 0);U(this,"ttl");U(this,"ttlResolution");U(this,"ttlAutopurge");U(this,"updateAgeOnGet");U(this,"updateAgeOnHas");U(this,"allowStale");U(this,"noDisposeOnSet");U(this,"noUpdateTTL");U(this,"maxEntrySize");U(this,"sizeCalculation");U(this,"noDeleteOnFetchRejection");U(this,"noDeleteOnStaleGet");U(this,"allowStaleOnFetchAbort");U(this,"allowStaleOnFetchRejection");U(this,"ignoreFetchAbort");N(this,re,void 0);N(this,Qe,void 0);N(this,oe,void 0);N(this,X,void 0);N(this,$,void 0);N(this,be,void 0);N(this,Be,void 0);N(this,he,void 0);N(this,ce,void 0);N(this,Ze,void 0);N(this,de,void 0);N(this,wt,void 0);N(this,St,void 0);N(this,et,void 0);N(this,pt,void 0);N(this,Gt,void 0);N(this,Ce,void 0);N(this,hn,()=>{});N(this,Et,()=>{});N(this,ir,()=>{});N(this,Ie,()=>!1);N(this,yn,e=>{});N(this,si,(e,n,i)=>{});N(this,rr,(e,n,i,r)=>{if(i||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:n=0,ttl:i,ttlResolution:r=1,ttlAutopurge:o,updateAgeOnGet:a,updateAgeOnHas:s,allowStale:c,dispose:l,disposeAfter:u,noDisposeOnSet:p,noUpdateTTL:h,maxSize:f=0,maxEntrySize:d=0,sizeCalculation:y,fetchMethod:v,noDeleteOnFetchRejection:b,noDeleteOnStaleGet:w,allowStaleOnFetchRejection:A,allowStaleOnFetchAbort:O,ignoreFetchAbort:k}=e;if(n!==0&&!Mt(n))throw new TypeError("max option must be a nonnegative integer");let q=n?Vv(n):Array;if(!q)throw new Error("invalid max value: "+n);if(F(this,Ye,n),F(this,je,f),this.maxEntrySize=d||m(this,je),this.sizeCalculation=y,this.sizeCalculation){if(!m(this,je)&&!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(v!==void 0&&typeof v!="function")throw new TypeError("fetchMethod must be a function if specified");if(F(this,ai,v),F(this,Gt,!!v),F(this,oe,new Map),F(this,X,new Array(n).fill(void 0)),F(this,$,new Array(n).fill(void 0)),F(this,be,new q(n)),F(this,Be,new q(n)),F(this,he,0),F(this,ce,0),F(this,Ze,Xo.create(n)),F(this,re,0),F(this,Qe,0),typeof l=="function"&&F(this,lt,l),typeof u=="function"?(F(this,Xe,u),F(this,de,[])):(F(this,Xe,void 0),F(this,de,void 0)),F(this,pt,!!m(this,lt)),F(this,Ce,!!m(this,Xe)),this.noDisposeOnSet=!!p,this.noUpdateTTL=!!h,this.noDeleteOnFetchRejection=!!b,this.allowStaleOnFetchRejection=!!A,this.allowStaleOnFetchAbort=!!O,this.ignoreFetchAbort=!!k,this.maxEntrySize!==0){if(m(this,je)!==0&&!Mt(m(this,je)))throw new TypeError("maxSize must be a positive integer if specified");if(!Mt(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");j(this,na,Jv).call(this);}if(this.allowStale=!!c,this.noDeleteOnStaleGet=!!w,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!s,this.ttlResolution=Mt(r)||r===0?r:1,this.ttlAutopurge=!!o,this.ttl=i||0,this.ttl){if(!Mt(this.ttl))throw new TypeError("ttl must be a positive integer if specified");j(this,nr,Eu).call(this);}if(m(this,Ye)===0&&this.ttl===0&&m(this,je)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!m(this,Ye)&&!m(this,je)){let L="LRU_CACHE_UNBOUNDED";kP(L)&&(Hv.add(L),Gv("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",L,Tu));}}static unsafeExposeInternals(e){return {starts:m(e,St),ttls:m(e,et),sizes:m(e,wt),keyMap:m(e,oe),keyList:m(e,X),valList:m(e,$),next:m(e,be),prev:m(e,Be),get head(){return m(e,he)},get tail(){return m(e,ce)},free:m(e,Ze),isBackgroundFetch:n=>{var i;return j(i=e,Y,Q).call(i,n)},backgroundFetch:(n,i,r,o)=>{var a;return j(a=e,ui,Zo).call(a,n,i,r,o)},moveToTail:n=>{var i;return j(i=e,xn,tr).call(i,n)},indexes:n=>{var i;return j(i=e,ft,Wt).call(i,n)},rindexes:n=>{var i;return j(i=e,dt,Ht).call(i,n)},isStale:n=>{var i;return m(i=e,Ie).call(i,n)}}}get max(){return m(this,Ye)}get maxSize(){return m(this,je)}get calculatedSize(){return m(this,Qe)}get size(){return m(this,re)}get fetchMethod(){return m(this,ai)}get dispose(){return m(this,lt)}get disposeAfter(){return m(this,Xe)}getRemainingTTL(e){return m(this,oe).has(e)?1/0:0}*entries(){for(let e of j(this,ft,Wt).call(this))m(this,$)[e]!==void 0&&m(this,X)[e]!==void 0&&!j(this,Y,Q).call(this,m(this,$)[e])&&(yield [m(this,X)[e],m(this,$)[e]]);}*rentries(){for(let e of j(this,dt,Ht).call(this))m(this,$)[e]!==void 0&&m(this,X)[e]!==void 0&&!j(this,Y,Q).call(this,m(this,$)[e])&&(yield [m(this,X)[e],m(this,$)[e]]);}*keys(){for(let e of j(this,ft,Wt).call(this)){let n=m(this,X)[e];n!==void 0&&!j(this,Y,Q).call(this,m(this,$)[e])&&(yield n);}}*rkeys(){for(let e of j(this,dt,Ht).call(this)){let n=m(this,X)[e];n!==void 0&&!j(this,Y,Q).call(this,m(this,$)[e])&&(yield n);}}*values(){for(let e of j(this,ft,Wt).call(this))m(this,$)[e]!==void 0&&!j(this,Y,Q).call(this,m(this,$)[e])&&(yield m(this,$)[e]);}*rvalues(){for(let e of j(this,dt,Ht).call(this))m(this,$)[e]!==void 0&&!j(this,Y,Q).call(this,m(this,$)[e])&&(yield m(this,$)[e]);}[Symbol.iterator](){return this.entries()}find(e,n={}){for(let i of j(this,ft,Wt).call(this)){let r=m(this,$)[i],o=j(this,Y,Q).call(this,r)?r.__staleWhileFetching:r;if(o!==void 0&&e(o,m(this,X)[i],this))return this.get(m(this,X)[i],n)}}forEach(e,n=this){for(let i of j(this,ft,Wt).call(this)){let r=m(this,$)[i],o=j(this,Y,Q).call(this,r)?r.__staleWhileFetching:r;o!==void 0&&e.call(n,o,m(this,X)[i],this);}}rforEach(e,n=this){for(let i of j(this,dt,Ht).call(this)){let r=m(this,$)[i],o=j(this,Y,Q).call(this,r)?r.__staleWhileFetching:r;o!==void 0&&e.call(n,o,m(this,X)[i],this);}}purgeStale(){let e=!1;for(let n of j(this,dt,Ht).call(this,{allowStale:!0}))m(this,Ie).call(this,n)&&(this.delete(m(this,X)[n]),e=!0);return e}dump(){let e=[];for(let n of j(this,ft,Wt).call(this,{allowStale:!0})){let i=m(this,X)[n],r=m(this,$)[n],o=j(this,Y,Q).call(this,r)?r.__staleWhileFetching:r;if(o===void 0||i===void 0)continue;let a={value:o};if(m(this,et)&&m(this,St)){a.ttl=m(this,et)[n];let s=er.now()-m(this,St)[n];a.start=Math.floor(Date.now()-s);}m(this,wt)&&(a.size=m(this,wt)[n]),e.unshift([i,a]);}return e}load(e){this.clear();for(let[n,i]of e){if(i.start){let r=Date.now()-i.start;i.start=er.now()-r;}this.set(n,i.value,i);}}set(e,n,i={}){var h,f;if(n===void 0)return this.delete(e),this;let{ttl:r=this.ttl,start:o,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:s=this.sizeCalculation,status:c}=i,{noUpdateTTL:l=this.noUpdateTTL}=i,u=m(this,rr).call(this,e,n,i.size||0,s);if(this.maxEntrySize&&u>this.maxEntrySize)return c&&(c.set="miss",c.maxEntrySizeExceeded=!0),this.delete(e),this;let p=m(this,re)===0?void 0:m(this,oe).get(e);if(p===void 0)p=m(this,re)===0?m(this,ce):m(this,Ze).length!==0?m(this,Ze).pop():m(this,re)===m(this,Ye)?j(this,ci,Qo).call(this,!1):m(this,re),m(this,X)[p]=e,m(this,$)[p]=n,m(this,oe).set(e,p),m(this,be)[m(this,ce)]=p,m(this,Be)[p]=m(this,ce),F(this,ce,p),dr(this,re)._++,m(this,si).call(this,p,u,c),c&&(c.set="add"),l=!1;else {j(this,xn,tr).call(this,p);let d=m(this,$)[p];if(n!==d){if(m(this,Gt)&&j(this,Y,Q).call(this,d)?d.__abortController.abort(new Error("replaced")):a||(m(this,pt)&&((h=m(this,lt))==null||h.call(this,d,e,"set")),m(this,Ce)&&m(this,de)?.push([d,e,"set"])),m(this,yn).call(this,p),m(this,si).call(this,p,u,c),m(this,$)[p]=n,c){c.set="replace";let y=d&&j(this,Y,Q).call(this,d)?d.__staleWhileFetching:d;y!==void 0&&(c.oldValue=y);}}else c&&(c.set="update");}if(r!==0&&!m(this,et)&&j(this,nr,Eu).call(this),m(this,et)&&(l||m(this,ir).call(this,p,r,o),c&&m(this,Et).call(this,c,p)),!a&&m(this,Ce)&&m(this,de)){let d=m(this,de),y;for(;y=d?.shift();)(f=m(this,Xe))==null||f.call(this,...y);}return this}pop(){var e;try{for(;m(this,re);){let n=m(this,$)[m(this,he)];if(j(this,ci,Qo).call(this,!0),j(this,Y,Q).call(this,n)){if(n.__staleWhileFetching)return n.__staleWhileFetching}else if(n!==void 0)return n}}finally{if(m(this,Ce)&&m(this,de)){let n=m(this,de),i;for(;i=n?.shift();)(e=m(this,Xe))==null||e.call(this,...i);}}}has(e,n={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:r}=n,o=m(this,oe).get(e);if(o!==void 0){let a=m(this,$)[o];if(j(this,Y,Q).call(this,a)&&a.__staleWhileFetching===void 0)return !1;if(m(this,Ie).call(this,o))r&&(r.has="stale",m(this,Et).call(this,r,o));else return i&&m(this,hn).call(this,o),r&&(r.has="hit",m(this,Et).call(this,r,o)),!0}else r&&(r.has="miss");return !1}peek(e,n={}){let{allowStale:i=this.allowStale}=n,r=m(this,oe).get(e);if(r!==void 0&&(i||!m(this,Ie).call(this,r))){let o=m(this,$)[r];return j(this,Y,Q).call(this,o)?o.__staleWhileFetching:o}}async fetch(e,n={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:c=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:p=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:h=this.allowStaleOnFetchRejection,ignoreFetchAbort:f=this.ignoreFetchAbort,allowStaleOnFetchAbort:d=this.allowStaleOnFetchAbort,context:y,forceRefresh:v=!1,status:b,signal:w}=n;if(!m(this,Gt))return b&&(b.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:o,status:b});let A={allowStale:i,updateAgeOnGet:r,noDeleteOnStaleGet:o,ttl:a,noDisposeOnSet:s,size:c,sizeCalculation:l,noUpdateTTL:u,noDeleteOnFetchRejection:p,allowStaleOnFetchRejection:h,allowStaleOnFetchAbort:d,ignoreFetchAbort:f,status:b,signal:w},O=m(this,oe).get(e);if(O===void 0){b&&(b.fetch="miss");let k=j(this,ui,Zo).call(this,e,O,A,y);return k.__returned=k}else {let k=m(this,$)[O];if(j(this,Y,Q).call(this,k)){let B=i&&k.__staleWhileFetching!==void 0;return b&&(b.fetch="inflight",B&&(b.returnedStale=!0)),B?k.__staleWhileFetching:k.__returned=k}let q=m(this,Ie).call(this,O);if(!v&&!q)return b&&(b.fetch="hit"),j(this,xn,tr).call(this,O),r&&m(this,hn).call(this,O),b&&m(this,Et).call(this,b,O),k;let L=j(this,ui,Zo).call(this,e,O,A,y),T=L.__staleWhileFetching!==void 0&&i;return b&&(b.fetch=q?"stale":"refresh",T&&q&&(b.returnedStale=!0)),T?L.__staleWhileFetching:L.__returned=L}}get(e,n={}){let{allowStale:i=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:o=this.noDeleteOnStaleGet,status:a}=n,s=m(this,oe).get(e);if(s!==void 0){let c=m(this,$)[s],l=j(this,Y,Q).call(this,c);return a&&m(this,Et).call(this,a,s),m(this,Ie).call(this,s)?(a&&(a.get="stale"),l?(a&&i&&c.__staleWhileFetching!==void 0&&(a.returnedStale=!0),i?c.__staleWhileFetching:void 0):(o||this.delete(e),a&&i&&(a.returnedStale=!0),i?c:void 0)):(a&&(a.get="hit"),l?c.__staleWhileFetching:(j(this,xn,tr).call(this,s),r&&m(this,hn).call(this,s),c))}else a&&(a.get="miss");}delete(e){var i,r;let n=!1;if(m(this,re)!==0){let o=m(this,oe).get(e);if(o!==void 0)if(n=!0,m(this,re)===1)this.clear();else {m(this,yn).call(this,o);let a=m(this,$)[o];j(this,Y,Q).call(this,a)?a.__abortController.abort(new Error("deleted")):(m(this,pt)||m(this,Ce))&&(m(this,pt)&&((i=m(this,lt))==null||i.call(this,a,e,"delete")),m(this,Ce)&&m(this,de)?.push([a,e,"delete"])),m(this,oe).delete(e),m(this,X)[o]=void 0,m(this,$)[o]=void 0,o===m(this,ce)?F(this,ce,m(this,Be)[o]):o===m(this,he)?F(this,he,m(this,be)[o]):(m(this,be)[m(this,Be)[o]]=m(this,be)[o],m(this,Be)[m(this,be)[o]]=m(this,Be)[o]),dr(this,re)._--,m(this,Ze).push(o);}}if(m(this,Ce)&&m(this,de)?.length){let o=m(this,de),a;for(;a=o?.shift();)(r=m(this,Xe))==null||r.call(this,...a);}return n}clear(){var e,n;for(let i of j(this,dt,Ht).call(this,{allowStale:!0})){let r=m(this,$)[i];if(j(this,Y,Q).call(this,r))r.__abortController.abort(new Error("deleted"));else {let o=m(this,X)[i];m(this,pt)&&((e=m(this,lt))==null||e.call(this,r,o,"delete")),m(this,Ce)&&m(this,de)?.push([r,o,"delete"]);}}if(m(this,oe).clear(),m(this,$).fill(void 0),m(this,X).fill(void 0),m(this,et)&&m(this,St)&&(m(this,et).fill(0),m(this,St).fill(0)),m(this,wt)&&m(this,wt).fill(0),F(this,he,0),F(this,ce,0),m(this,Ze).length=0,F(this,Qe,0),F(this,re,0),m(this,Ce)&&m(this,de)){let i=m(this,de),r;for(;r=i?.shift();)(n=m(this,Xe))==null||n.call(this,...r);}}},ta=Tu;Ye=new WeakMap,je=new WeakMap,lt=new WeakMap,Xe=new WeakMap,ai=new WeakMap,re=new WeakMap,Qe=new WeakMap,oe=new WeakMap,X=new WeakMap,$=new WeakMap,be=new WeakMap,Be=new WeakMap,he=new WeakMap,ce=new WeakMap,Ze=new WeakMap,de=new WeakMap,wt=new WeakMap,St=new WeakMap,et=new WeakMap,pt=new WeakMap,Gt=new WeakMap,Ce=new WeakMap,nr=new WeakSet,Eu=function(){let e=new ri(m(this,Ye)),n=new ri(m(this,Ye));F(this,et,e),F(this,St,n),F(this,ir,(o,a,s=er.now())=>{if(n[o]=a!==0?s:0,e[o]=a,a!==0&&this.ttlAutopurge){let c=setTimeout(()=>{m(this,Ie).call(this,o)&&this.delete(m(this,X)[o]);},a+1);c.unref&&c.unref();}}),F(this,hn,o=>{n[o]=e[o]!==0?er.now():0;}),F(this,Et,(o,a)=>{if(e[a]){let s=e[a],c=n[a];o.ttl=s,o.start=c,o.now=i||r();let l=o.now-c;o.remainingTTL=s-l;}});let i=0,r=()=>{let o=er.now();if(this.ttlResolution>0){i=o;let a=setTimeout(()=>i=0,this.ttlResolution);a.unref&&a.unref();}return o};this.getRemainingTTL=o=>{let a=m(this,oe).get(o);if(a===void 0)return 0;let s=e[a],c=n[a];if(s===0||c===0)return 1/0;let l=(i||r())-c;return s-l},F(this,Ie,o=>e[o]!==0&&n[o]!==0&&(i||r())-n[o]>e[o]);},hn=new WeakMap,Et=new WeakMap,ir=new WeakMap,Ie=new WeakMap,na=new WeakSet,Jv=function(){let e=new ri(m(this,Ye));F(this,Qe,0),F(this,wt,e),F(this,yn,n=>{F(this,Qe,m(this,Qe)-e[n]),e[n]=0;}),F(this,rr,(n,i,r,o)=>{if(j(this,Y,Q).call(this,i))return 0;if(!Mt(r))if(o){if(typeof o!="function")throw new TypeError("sizeCalculation must be a function");if(r=o(i,n),!Mt(r))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 r}),F(this,si,(n,i,r)=>{if(e[n]=i,m(this,je)){let o=m(this,je)-e[n];for(;m(this,Qe)>o;)j(this,ci,Qo).call(this,!0);}F(this,Qe,m(this,Qe)+e[n]),r&&(r.entrySize=i,r.totalCalculatedSize=m(this,Qe));});},yn=new WeakMap,si=new WeakMap,rr=new WeakMap,ft=new WeakSet,Wt=function*({allowStale:e=this.allowStale}={}){if(m(this,re))for(let n=m(this,ce);!(!j(this,or,Au).call(this,n)||((e||!m(this,Ie).call(this,n))&&(yield n),n===m(this,he)));)n=m(this,Be)[n];},dt=new WeakSet,Ht=function*({allowStale:e=this.allowStale}={}){if(m(this,re))for(let n=m(this,he);!(!j(this,or,Au).call(this,n)||((e||!m(this,Ie).call(this,n))&&(yield n),n===m(this,ce)));)n=m(this,be)[n];},or=new WeakSet,Au=function(e){return e!==void 0&&m(this,oe).get(m(this,X)[e])===e},ci=new WeakSet,Qo=function(e){var o;let n=m(this,he),i=m(this,X)[n],r=m(this,$)[n];return m(this,Gt)&&j(this,Y,Q).call(this,r)?r.__abortController.abort(new Error("evicted")):(m(this,pt)||m(this,Ce))&&(m(this,pt)&&((o=m(this,lt))==null||o.call(this,r,i,"evict")),m(this,Ce)&&m(this,de)?.push([r,i,"evict"])),m(this,yn).call(this,n),e&&(m(this,X)[n]=void 0,m(this,$)[n]=void 0,m(this,Ze).push(n)),m(this,re)===1?(F(this,he,F(this,ce,0)),m(this,Ze).length=0):F(this,he,m(this,be)[n]),m(this,oe).delete(i),dr(this,re)._--,n},ui=new WeakSet,Zo=function(e,n,i,r){let o=n===void 0?void 0:m(this,$)[n];if(j(this,Y,Q).call(this,o))return o;let a=new ea,{signal:s}=i;s?.addEventListener("abort",()=>a.abort(s.reason),{signal:a.signal});let c={signal:a.signal,options:i,context:r},l=(y,v=!1)=>{let{aborted:b}=a.signal,w=i.ignoreFetchAbort&&y!==void 0;if(i.status&&(b&&!v?(i.status.fetchAborted=!0,i.status.fetchError=a.signal.reason,w&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),b&&!w&&!v)return p(a.signal.reason);let A=f;return m(this,$)[n]===f&&(y===void 0?A.__staleWhileFetching?m(this,$)[n]=A.__staleWhileFetching:this.delete(e):(i.status&&(i.status.fetchUpdated=!0),this.set(e,y,c.options))),y},u=y=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=y),p(y)),p=y=>{let{aborted:v}=a.signal,b=v&&i.allowStaleOnFetchAbort,w=b||i.allowStaleOnFetchRejection,A=w||i.noDeleteOnFetchRejection,O=f;if(m(this,$)[n]===f&&(!A||O.__staleWhileFetching===void 0?this.delete(e):b||(m(this,$)[n]=O.__staleWhileFetching)),w)return i.status&&O.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),O.__staleWhileFetching;if(O.__returned===O)throw y},h=(y,v)=>{var w;let b=(w=m(this,ai))==null?void 0:w.call(this,e,o,c);b&&b instanceof Promise&&b.then(A=>y(A),v),a.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(y(),i.allowStaleOnFetchAbort&&(y=A=>l(A,!0)));});};i.status&&(i.status.fetchDispatched=!0);let f=new Promise(h).then(l,u),d=Object.assign(f,{__abortController:a,__staleWhileFetching:o,__returned:void 0});return n===void 0?(this.set(e,d,{...c.options,status:void 0}),n=m(this,oe).get(e)):m(this,$)[n]=d,d},Y=new WeakSet,Q=function(e){if(!m(this,Gt))return !1;let n=e;return !!n&&n instanceof Promise&&n.hasOwnProperty("__staleWhileFetching")&&n.__abortController instanceof ea},ar=new WeakSet,Ou=function(e,n){m(this,Be)[n]=e,m(this,be)[e]=n;},xn=new WeakSet,tr=function(e){e!==m(this,ce)&&(e===m(this,he)?F(this,he,m(this,be)[e]):j(this,ar,Ou).call(this,m(this,Be)[e],m(this,be)[e]),j(this,ar,Ou).call(this,m(this,ce),e),F(this,ce,e));};var Rb=tt(eb()),kb=tt(Tb());var aa=class{constructor(){this.logger=ke.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 ta({maxSize:this.options.maxSize,sizeCalculation:kb.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, Rb.default)(e)}createCacheEntries(e,n){let i=[{key:e,value:n}];if(this.options.partiallyAcceptedCacheGeneration.enabled){let r=n.choices.map(o=>this.calculatePartiallyAcceptedPositions(o.text).map(a=>({prefix:o.text.slice(0,a),suffix:o.text.slice(a),choiceIndex:o.index}))).flat().reduce((o,a)=>(o[a.prefix]=o[a.prefix]||[],o[a.prefix].push({suffix:a.suffix,choiceIndex:a.choiceIndex}),o),{});for(let o in r){let a={...e,text:e.text.slice(0,e.position)+o+e.text.slice(e.position),position:e.position+o.length},s={...n,choices:r[o].map(c=>({index:c.choiceIndex,text:c.suffix}))};i.push({key:a,value:s});}}return i}calculatePartiallyAcceptedPositions(e){let n=[],i=this.options.partiallyAcceptedCacheGeneration,r=st(e),o=0,a=0;for(;o<r.length-1&&o<i.perLine.max;)a+=r[o].length,n.push(a),o++;let s=r.slice(0,i.perWord.lines).map(sc).flat();for(o=0,a=0;o<s.length&&o<i.perWord.max;)a+=s[o].length,n.push(a),o++;let c=r.slice(0,i.perCharacter.lines).map(sc).flat().slice(0,i.perCharacter.words).join("");for(a=1;a<c.length&&a<i.perCharacter.max;)n.push(a),a++;return n.filter((l,u,p)=>p.indexOf(l)===u).sort((l,u)=>l-u)}};var _b=tt(vs());var fq=ke.child({component:"Postprocess"}),dq=t=>e=>{let n=t.text.slice(t.position),i=st(n),r=st(e);for(let o=Math.max(0,r.length-i.length);o<r.length;o++)if((0, _b.default)(r.slice(o),i.slice(0,e.length-o)))return fq.debug({input:e,suffix:n,duplicateAt:o},"Remove duplicate lines"),e.slice(0,o);return e},mq=t=>yo(t)?null:t,Cb=t=>async e=>(e.choices=(await Promise.all(e.choices.map(async n=>(n.text=await t(n.text),n)))).filter(Boolean),e);async function Fb(t,e){return new Promise(n=>n(e)).then(Cb(dq(t))).then(Cb(mq))}var qb="tabby-agent",jb="0.0.1";var hi=class{constructor(){this.anonymousUsageTrackingApi=new an({BASE:"https://app.tabbyml.com/api"});this.logger=ke.child({component:"AnonymousUsage"});this.systemData={agent:`${qb}, ${jb}`,browser:void 0,node:`${process.version} ${process.platform} ${_("os").arch()} ${_("os").release()}`};this.dataStore=null;}static async create(e){let n=new hi;return n.dataStore=e.dataStore||_o,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=Sn(),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=Sn();}async event(e,n){this.disabled||await this.anonymousUsageTrackingApi.api.usage({distinctId:this.anonymousId,event:e,properties:{...this.systemData,...n}}).catch(i=>{this.logger.error({error:i},"Error when sending anonymous usage data");});}};var sa=class extends fT.EventEmitter{constructor(){super();this.logger=ke.child({component:"TabbyAgent"});this.config=Mv;this.status="notInitialized";this.dataStore=null;this.completionCache=new aa;this.tryingConnectTimer=null;this.tryingConnectTimer=setInterval(async()=>{this.status==="disconnected"&&(this.logger.debug("Trying to connect..."),await this.healthCheck());},sa.tryConnectInterval);}static async create(n){let i=new sa;return i.dataStore=n?.dataStore,i.anonymousUsageLogger=await hi.create({dataStore:n?.dataStore}),await i.applyConfig(),i}async applyConfig(){Yo.forEach(n=>n.level=this.config.logs.level),this.anonymousUsageLogger.disabled=this.config.anonymousUsageTracking.disable,this.config.server.endpoint!==this.auth?.endpoint&&(this.auth=await mn.create({endpoint:this.config.server.endpoint,dataStore:this.dataStore}),this.auth.on("updated",this.onAuthUpdated.bind(this))),this.api=new Vn({BASE:this.config.server.endpoint,TOKEN:this.auth.token});}async onAuthUpdated(){this.api=new Vn({BASE:this.config.server.endpoint,TOKEN:this.auth.token}),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);}}callApi(n,i){this.logger.debug({api:n.name,request:i},"API request");let r=n.call(this.api.v1,i);return xo(r.then(o=>(this.logger.debug({api:n.name,response:o},"API response"),this.changeStatus("ready"),o)).catch(o=>{throw o.isCancelled?this.logger.debug({api:n.name,error:o},"API request canceled"):o.name==="ApiError"&&[401,403,405].indexOf(o.status)!==-1?(this.logger.debug({api:n.name,error:o},"API unauthorized"),this.changeStatus("unauthorized")):o.name==="ApiError"?(this.logger.error({api:n.name,error:o},"API error"),this.changeStatus("disconnected")):(this.logger.error({api:n.name,error:o},"API request failed with unknown error"),this.changeStatus("disconnected")),o}),()=>{r.cancel();})}async healthCheck(){return this.callApi(this.api.v1.health,{}).catch(()=>{})}createSegments(n){let i=n.maxPrefixLines,r=n.maxSuffixLines,o=n.text.slice(0,n.position),a=st(o),s=n.text.slice(n.position),c=st(s);return {prefix:a.slice(Math.max(a.length-i,0)).join(""),suffix:c.slice(0,r).join("")}}async initialize(n){return n.client&&Yo.forEach(i=>i.setBindings&&i.setBindings({client:n.client})),n.config&&await this.updateConfig(n.config),await this.anonymousUsageLogger.event("AgentInitialized",{client:n.client}),this.logger.debug({options:n},"Initialized"),this.status!=="notInitialized"}async updateConfig(n){let i=(0, Ib.default)(this.config,n);if(!(0, Bb.default)(this.config,i)){this.config=i,await this.applyConfig();let r={event:"configUpdated",config:this.config};this.logger.debug({event:r},"Config updated"),super.emit("configUpdated",r);}return await this.healthCheck(),this.status!=="notInitialized"}getConfig(){return this.config}getStatus(){return this.status}startAuth(){return xo(this.healthCheck().then(()=>this.status==="unauthorized"?this.auth.requestToken():null),()=>{this.status==="unauthorized"&&this.auth.reset();})}getCompletions(n){if(this.status==="notInitialized")throw new Error("Agent is not initialized");if(this.completionCache.has(n))return this.logger.debug({request:n},"Completion cache hit"),new Ue(o=>{o(this.completionCache.get(n));});let i=this.createSegments(n);if(yo(i.prefix))return this.logger.debug("Segment prefix is blank, returning empty completion response"),new Ue(o=>{o({id:"agent-"+Sn(),choices:[]});});let r=this.callApi(this.api.v1.completion,{language:n.language,segments:i,user:this.auth?.user});return xo(r.then(o=>Fb(n,o)).then(o=>(this.completionCache.set(n,o),o)),()=>{r.cancel();})}postEvent(n){if(this.status==="notInitialized")throw new Error("Agent is not initialized");return this.callApi(this.api.v1.event,n)}},ur=sa;ur.tryConnectInterval=1e3*30;var Lb=["statusChanged","configUpdated"];var ca=class{constructor(){this.inStream=process.stdin;this.outStream=process.stdout;this.logger=ke.child({component:"StdIO"});this.buffer="";this.ongoingRequests={};this.agent=null;}handleInput(e){let n=e.toString();this.buffer+=n;let i=st(this.buffer);if(!(i.length<1)){i[i.length-1].endsWith(`
`)?this.buffer="":this.buffer=i.pop();for(let r of i){let o=null;try{o=JSON.parse(r);}catch(a){this.logger.error({error:a},`Failed to parse request: ${r}`);continue}this.logger.debug({request:o},"Received request"),this.handleRequest(o).then(a=>{this.sendResponse(a),this.logger.debug({response:a},"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 r=this.agent[i];if(!r)throw new Error(`Unknown function: ${i}`);let o=r.apply(this.agent,e[1].args);typeof o=="object"&&typeof o.then=="function"?(this.ongoingRequests[e[0]]=o,n[1]=await o,delete this.ongoingRequests[e[0]]):n[1]=o;}}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 Ue&&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 Lb)this.agent.on(n,i=>{this.sendResponse([0,i]);});}listen(){this.inStream.on("data",this.handleInput.bind(this));}};var Db=new ca;ur.create().then(t=>{Db.bind(t),Db.listen();});
/*! Bundled license information:
mime-db/index.js:
(*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*)
mime-types/index.js:
(*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*)
ieee754/index.js:
(*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
buffer/index.js:
(*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*)
*/
//# sourceMappingURL=out.js.map
//# sourceMappingURL=cli.js.map