"use strict";var Nb=Object.create;var Gs=Object.defineProperty;var Ab=Object.getOwnPropertyDescriptor;var Lb=Object.getOwnPropertyNames;var kb=Object.getPrototypeOf,Db=Object.prototype.hasOwnProperty;var ie=(i,e)=>()=>(i&&(e=i(i=0)),e);var g=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports),Bt=(i,e)=>{for(var t in e)Gs(i,t,{get:e[t],enumerable:!0})},Xu=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Lb(e))!Db.call(i,s)&&s!==t&&Gs(i,s,{get:()=>e[s],enumerable:!(n=Ab(e,s))||n.enumerable});return i};var Mt=(i,e,t)=>(t=i!=null?Nb(kb(i)):{},Xu(e||!i||!i.__esModule?Gs(t,"default",{value:i,enumerable:!0}):t,i)),jt=i=>Xu(Gs({},"__esModule",{value:!0}),i);var Zu={};Bt(Zu,{configureLightClientRequire:()=>Ub,lightClientRequire:()=>L});function L(i){let e;try{e=JSON.parse(process.env.NX_CLOUD_LIGHT_CLIENT_RESOLUTION_PATHS)}catch{e=[]}if(e.length===0)throw new Error("Light client require must have paths configured with `configureLightClientRequire`.");let t;try{t=require.resolve(i,{paths:e})}catch(n){throw process.env.NX_VERBOSE_LOGGING==="true"&&console.error(`Was not able to require.resolve module ${i} from the following paths: ${e}. This may be expected.`),n}try{return require(t)}catch(n){throw process.env.NX_VERBOSE_LOGGING==="true"&&console.error(`Was not able require module ${i} from path ${t}. This may be expected. `),n}}function Ub(i){process.env.NX_CLOUD_LIGHT_CLIENT_RESOLUTION_PATHS=JSON.stringify(i)}var Pn=ie(()=>{"use strict"});var Ha=g(j=>{"use strict";var za=require("path");Pn();try{try{let i;try{i=L("nx/src/utils/app-root").workspaceRoot}catch{i=L("nx/src/utils/workspace-root").workspaceRoot}let{getDependencyConfigs:e}=L("nx/src/tasks-runner/utils"),t=L("nx/tasks-runners/default").default,{CompositeLifeCycle:n}=L("nx/src/tasks-runner/life-cycle"),s=null;try{s=L("nx/src/index").initTasksRunner}catch{}let r;try{r=L("nx/src/devkit-exports").cacheDir}catch{try{r=L("nx/src/utils/cache-directory").cacheDir}catch{r=(0,za.join)(i,"./node_modules/.cache/nx")}}let a;try{a=L("nx/src/utils/cache-directory").workspaceDataDirectory??r}catch{a=r}let o=L("nx/src/tasks-runner/utils").isCacheableTask,u,c,l;try{u=L("nx/src/devkit-exports").getPackageManagerCommand,c=L("nx/src/devkit-exports").detectPackageManager,l=L("nx/src/devkit-exports").writeJsonFile}catch{u=L("nx/src/utils/package-manager").getPackageManagerCommand,c=L("nx/src/utils/package-manager").detectPackageManager,l=L("nx/src/utils/fileutils").writeJsonFile}let p,d,f;try{p=L("nx/src/tasks-runner/cache").dbCacheEnabled,d=L("nx/src/native").NxCache,f=L("nx/src/utils/db-connection").getDbConnection}catch{}j.cacheDirectory=r,j.runnerReturnsPromise=!0,j.tasksRunner=t,j.CompositeLifeCycle=n,j.getDependencyConfigs=e,j.initTasksRunner=s,j.isCacheableTask=o,j.getPackageManagerCommand=u,j.detectPackageManager=c,j.writeJsonFile=l,j.workspaceDataDirectory=a,j.dbCacheEnabled=p,j.NxCache=d,j.getDbConnection=f}catch{let{appRootPath:e,workspaceRoot:t}=L("@nrwl/tao/src/utils/app-root"),n=e??t,{getDependencyConfigs:s}=L("@nrwl/workspace/src/tasks-runner/utils"),{tasksRunnerV2:r}=L("@nrwl/workspace/src/tasks-runner/tasks-runner-v2"),a;try{a=L("@nrwl/workspace/src/tasks-runner/life-cycle").CompositeLifeCycle}catch{}let o=L("@nrwl/workspace/src/tasks-runner/utils").isCacheableTask,u=L("@nrwl/devkit/index").getPackageManagerCommand,c=L("@nrwl/devkit/index").detectPackageManager,l=L("@nrwl/devkit/index").writeJsonFile;j.cacheDirectory=(0,za.join)(n,"./node_modules/.cache/nx"),j.runnerReturnsPromise=!1,j.tasksRunner=r,j.CompositeLifeCycle=a,j.getDependencyConfigs=s,j.initTasksRunner=null,j.isCacheableTask=o,j.workspaceDataDirectory=j.cacheDirectory,j.getPackageManagerCommand=u,j.detectPackageManager=c,j.writeJsonFile=l,j.dbCacheEnabled=void 0,j.NxCache=void 0,j.getDbConnection=void 0}}catch(i){process.env.NX_VERBOSE_LOGGING==="true"&&console.log(i),console.error("NX CLOUD ERROR"),console.error("---------------------------------------"),console.error("This version of Nx Cloud is incompatible with the @nrwl/* and @nx/* packages in your workspace, or Nx was not installed properly."),console.error(""),console.error("Verify your install step was successful, and if it was,"),console.error("match your @nrwl/nx-cloud version to the same major version of your @nx/* and @nrwl/* packages and try again."),console.error("---------------------------------------"),process.exit(1)}});function Ws(){return process.env.CI==="true"||process.env.TF_BUILD==="true"||process.env.GITHUB_ACTIONS==="true"||process.env.BUILDKITE==="true"||process.env.CIRCLECI==="true"||process.env.CIRRUS_CI==="true"||process.env.TRAVIS==="true"||!!process.env["bamboo.buildKey"]||!!process.env.CODEBUILD_BUILD_ID||!!process.env.GITLAB_CI||!!process.env.HEROKU_TEST_RUN_ID||!!process.env.BUILD_ID||!!process.env.BUILD_BUILDID||!!process.env.TEAMCITY_VERSION}var Ga=ie(()=>{"use strict"});var ip=g((aC,Wa)=>{"use strict";var Fb=require("fs"),Qu=require("path"),Pb=require("os");function ep(i){console.log(`[dotenv][DEBUG] ${i}`)}var Bb=`
`,Mb=/^\s*([\w.-]+)\s*=\s*(.*)?\s*$/,jb=/\\n/g,qb=/\r\n|\n|\r/;function tp(i,e){let t=!!(e&&e.debug),n={};return i.toString().split(qb).forEach(function(s,r){let a=s.match(Mb);if(a!=null){let o=a[1],u=a[2]||"",c=u.length-1,l=u[0]==='"'&&u[c]==='"';u[0]==="'"&&u[c]==="'"||l?(u=u.substring(1,c),l&&(u=u.replace(jb,Bb))):u=u.trim(),n[o]=u}else t&&ep(`did not match key and value when parsing line ${r+1}: ${s}`)}),n}function zb(i){return i[0]==="~"?Qu.join(Pb.homedir(),i.slice(1)):i}function Hb(i){let e=Qu.resolve(process.cwd(),".env"),t="utf8",n=!1;i&&(i.path!=null&&(e=zb(i.path)),i.encoding!=null&&(t=i.encoding),i.debug!=null&&(n=!0));try{let s=tp(Fb.readFileSync(e,{encoding:t}),{debug:n});return Object.keys(s).forEach(function(r){Object.prototype.hasOwnProperty.call(process.env,r)?n&&ep(`"${r}" is already defined in \`process.env\` and will not be overwritten`):process.env[r]=s[r]}),{parsed:s}}catch(s){return{error:s}}}Wa.exports.config=Hb;Wa.exports.parse=tp});var np=g((Bn,$a)=>{"use strict";(function(i,e){typeof Bn=="object"&&typeof $a=="object"?$a.exports=e(require("child_process"),require("crypto")):typeof define=="function"&&define.amd?define(["child_process","crypto"],e):typeof Bn=="object"?Bn["electron-machine-id"]=e(require("child_process"),require("crypto")):i["electron-machine-id"]=e(i.child_process,i.crypto)})(Bn,function(i,e){return function(t){function n(r){if(s[r])return s[r].exports;var a=s[r]={exports:{},id:r,loaded:!1};return t[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}var s={};return n.m=t,n.c=s,n.p="",n(0)}([function(t,n,s){t.exports=s(34)},function(t,n,s){var r=s(29)("wks"),a=s(33),o=s(2).Symbol,u=typeof o=="function",c=t.exports=function(l){return r[l]||(r[l]=u&&o[l]||(u?o:a)("Symbol."+l))};c.store=r},function(t,n){var s=t.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=s)},function(t,n,s){var r=s(9);t.exports=function(a){if(!r(a))throw TypeError(a+" is not an object!");return a}},function(t,n,s){t.exports=!s(24)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(t,n,s){var r=s(12),a=s(17);t.exports=s(4)?function(o,u,c){return r.f(o,u,a(1,c))}:function(o,u,c){return o[u]=c,o}},function(t,n){var s=t.exports={version:"2.4.0"};typeof __e=="number"&&(__e=s)},function(t,n,s){var r=s(14);t.exports=function(a,o,u){if(r(a),o===void 0)return a;switch(u){case 1:return function(c){return a.call(o,c)};case 2:return function(c,l){return a.call(o,c,l)};case 3:return function(c,l,p){return a.call(o,c,l,p)}}return function(){return a.apply(o,arguments)}}},function(t,n){var s={}.hasOwnProperty;t.exports=function(r,a){return s.call(r,a)}},function(t,n){t.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},function(t,n){t.exports={}},function(t,n){var s={}.toString;t.exports=function(r){return s.call(r).slice(8,-1)}},function(t,n,s){var r=s(3),a=s(26),o=s(32),u=Object.defineProperty;n.f=s(4)?Object.defineProperty:function(c,l,p){if(r(c),l=o(l,!0),r(p),a)try{return u(c,l,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported!");return"value"in p&&(c[l]=p.value),c}},function(t,n,s){var r=s(42),a=s(15);t.exports=function(o){return r(a(o))}},function(t,n){t.exports=function(s){if(typeof s!="function")throw TypeError(s+" is not a function!");return s}},function(t,n){t.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},function(t,n,s){var r=s(9),a=s(2).document,o=r(a)&&r(a.createElement);t.exports=function(u){return o?a.createElement(u):{}}},function(t,n){t.exports=function(s,r){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:r}}},function(t,n,s){var r=s(12).f,a=s(8),o=s(1)("toStringTag");t.exports=function(u,c,l){u&&!a(u=l?u:u.prototype,o)&&r(u,o,{configurable:!0,value:c})}},function(t,n,s){var r=s(29)("keys"),a=s(33);t.exports=function(o){return r[o]||(r[o]=a(o))}},function(t,n){var s=Math.ceil,r=Math.floor;t.exports=function(a){return isNaN(a=+a)?0:(a>0?r:s)(a)}},function(t,n,s){var r=s(11),a=s(1)("toStringTag"),o=r(function(){return arguments}())=="Arguments",u=function(c,l){try{return c[l]}catch{}};t.exports=function(c){var l,p,d;return c===void 0?"Undefined":c===null?"Null":typeof(p=u(l=Object(c),a))=="string"?p:o?r(l):(d=r(l))=="Object"&&typeof l.callee=="function"?"Arguments":d}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,s){var r=s(2),a=s(6),o=s(7),u=s(5),c="prototype",l=function(p,d,f){var h,x,b,v=p&l.F,E=p&l.G,_=p&l.S,I=p&l.P,A=p&l.B,R=p&l.W,M=E?a:a[d]||(a[d]={}),F=M[c],z=E?r:_?r[d]:(r[d]||{})[c];E&&(f=d);for(h in f)x=!v&&z&&z[h]!==void 0,x&&h in M||(b=x?z[h]:f[h],M[h]=E&&typeof z[h]!="function"?f[h]:A&&x?o(b,r):R&&z[h]==b?function(te){var Ne=function(he,fe,$){if(this instanceof te){switch(arguments.length){case 0:return new te;case 1:return new te(he);case 2:return new te(he,fe)}return new te(he,fe,$)}return te.apply(this,arguments)};return Ne[c]=te[c],Ne}(b):I&&typeof b=="function"?o(Function.call,b):b,I&&((M.virtual||(M.virtual={}))[h]=b,p&l.R&&F&&!F[h]&&u(F,h,b)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,n){t.exports=function(s){try{return!!s()}catch{return!0}}},function(t,n,s){t.exports=s(2).document&&document.documentElement},function(t,n,s){t.exports=!s(4)&&!s(24)(function(){return Object.defineProperty(s(16)("div"),"a",{get:function(){return 7}}).a!=7})},function(t,n,s){"use strict";var r=s(28),a=s(23),o=s(57),u=s(5),c=s(8),l=s(10),p=s(45),d=s(18),f=s(52),h=s(1)("iterator"),x=!([].keys&&"next"in[].keys()),b="@@iterator",v="keys",E="values",_=function(){return this};t.exports=function(I,A,R,M,F,z,te){p(R,A,M);var Ne,he,fe,$=function(w){if(!x&&w in T)return T[w];switch(w){case v:return function(){return new R(this,w)};case E:return function(){return new R(this,w)}}return function(){return new R(this,w)}},Ve=A+" Iterator",Ke=F==E,O=!1,T=I.prototype,W=T[h]||T[b]||F&&T[F],J=W||$(F),V=F?Ke?$("entries"):J:void 0,y=A=="Array"&&T.entries||W;if(y&&(fe=f(y.call(new I)),fe!==Object.prototype&&(d(fe,Ve,!0),r||c(fe,h)||u(fe,h,_))),Ke&&W&&W.name!==E&&(O=!0,J=function(){return W.call(this)}),r&&!te||!x&&!O&&T[h]||u(T,h,J),l[A]=J,l[Ve]=_,F)if(Ne={values:Ke?J:$(E),keys:z?J:$(v),entries:V},te)for(he in Ne)he in T||o(T,he,Ne[he]);else a(a.P+a.F*(x||O),A,Ne);return Ne}},function(t,n){t.exports=!0},function(t,n,s){var r=s(2),a="__core-js_shared__",o=r[a]||(r[a]={});t.exports=function(u){return o[u]||(o[u]={})}},function(t,n,s){var r,a,o,u=s(7),c=s(41),l=s(25),p=s(16),d=s(2),f=d.process,h=d.setImmediate,x=d.clearImmediate,b=d.MessageChannel,v=0,E={},_="onreadystatechange",I=function(){var R=+this;if(E.hasOwnProperty(R)){var M=E[R];delete E[R],M()}},A=function(R){I.call(R.data)};h&&x||(h=function(R){for(var M=[],F=1;arguments.length>F;)M.push(arguments[F++]);return E[++v]=function(){c(typeof R=="function"?R:Function(R),M)},r(v),v},x=function(R){delete E[R]},s(11)(f)=="process"?r=function(R){f.nextTick(u(I,R,1))}:b?(a=new b,o=a.port2,a.port1.onmessage=A,r=u(o.postMessage,o,1)):d.addEventListener&&typeof postMessage=="function"&&!d.importScripts?(r=function(R){d.postMessage(R+"","*")},d.addEventListener("message",A,!1)):r=_ in p("script")?function(R){l.appendChild(p("script"))[_]=function(){l.removeChild(this),I.call(R)}}:function(R){setTimeout(u(I,R,1),0)}),t.exports={set:h,clear:x}},function(t,n,s){var r=s(20),a=Math.min;t.exports=function(o){return o>0?a(r(o),9007199254740991):0}},function(t,n,s){var r=s(9);t.exports=function(a,o){if(!r(a))return a;var u,c;if(o&&typeof(u=a.toString)=="function"&&!r(c=u.call(a))||typeof(u=a.valueOf)=="function"&&!r(c=u.call(a))||!o&&typeof(u=a.toString)=="function"&&!r(c=u.call(a)))return c;throw TypeError("Can't convert object to primitive value")}},function(t,n){var s=0,r=Math.random();t.exports=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++s+r).toString(36))}},function(t,n,s){"use strict";function r(_){return _&&_.__esModule?_:{default:_}}function a(){return process.platform!=="win32"?"":process.arch==="ia32"&&process.env.hasOwnProperty("PROCESSOR_ARCHITEW6432")?"mixed":"native"}function o(_){return(0,h.createHash)("sha256").update(_).digest("hex")}function u(_){switch(b){case"darwin":return _.split("IOPlatformUUID")[1].split(`
`)[0].replace(/\=|\s+|\"/gi,"").toLowerCase();case"win32":return _.toString().split("REG_SZ")[1].replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"linux":return _.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();case"freebsd":return _.toString().replace(/\r+|\n+|\s+/gi,"").toLowerCase();default:throw new Error("Unsupported platform: "+process.platform)}}function c(_){var I=u((0,f.execSync)(E[b]).toString());return _?I:o(I)}function l(_){return new d.default(function(I,A){return(0,f.exec)(E[b],{},function(R,M,F){if(R)return A(new Error("Error while obtaining machine id: "+R.stack));var z=u(M.toString());return I(_?z:o(z))})})}Object.defineProperty(n,"__esModule",{value:!0});var p=s(35),d=r(p);n.machineIdSync=c,n.machineId=l;var f=s(70),h=s(71),x=process,b=x.platform,v={native:"%windir%\\System32",mixed:"%windir%\\sysnative\\cmd.exe /c %windir%\\System32"},E={darwin:"ioreg -rd1 -c IOPlatformExpertDevice",win32:v[a()]+"\\REG.exe QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid",linux:"( cat /var/lib/dbus/machine-id /etc/machine-id 2> /dev/null || hostname ) | head -n 1 || :",freebsd:"kenv -q smbios.system.uuid || sysctl -n kern.hostuuid"}},function(t,n,s){t.exports={default:s(36),__esModule:!0}},function(t,n,s){s(66),s(68),s(69),s(67),t.exports=s(6).Promise},function(t,n){t.exports=function(){}},function(t,n){t.exports=function(s,r,a,o){if(!(s instanceof r)||o!==void 0&&o in s)throw TypeError(a+": incorrect invocation!");return s}},function(t,n,s){var r=s(13),a=s(31),o=s(62);t.exports=function(u){return function(c,l,p){var d,f=r(c),h=a(f.length),x=o(p,h);if(u&&l!=l){for(;h>x;)if(d=f[x++],d!=d)return!0}else for(;h>x;x++)if((u||x in f)&&f[x]===l)return u||x||0;return!u&&-1}}},function(t,f,s){var r=s(7),a=s(44),o=s(43),u=s(3),c=s(31),l=s(64),p={},d={},f=t.exports=function(h,x,b,v,E){var _,I,A,R,M=E?function(){return h}:l(h),F=r(b,v,x?2:1),z=0;if(typeof M!="function")throw TypeError(h+" is not iterable!");if(o(M)){for(_=c(h.length);_>z;z++)if(R=x?F(u(I=h[z])[0],I[1]):F(h[z]),R===p||R===d)return R}else for(A=M.call(h);!(I=A.next()).done;)if(R=a(A,F,I.value,x),R===p||R===d)return R};f.BREAK=p,f.RETURN=d},function(t,n){t.exports=function(s,r,a){var o=a===void 0;switch(r.length){case 0:return o?s():s.call(a);case 1:return o?s(r[0]):s.call(a,r[0]);case 2:return o?s(r[0],r[1]):s.call(a,r[0],r[1]);case 3:return o?s(r[0],r[1],r[2]):s.call(a,r[0],r[1],r[2]);case 4:return o?s(r[0],r[1],r[2],r[3]):s.call(a,r[0],r[1],r[2],r[3])}return s.apply(a,r)}},function(t,n,s){var r=s(11);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return r(a)=="String"?a.split(""):Object(a)}},function(t,n,s){var r=s(10),a=s(1)("iterator"),o=Array.prototype;t.exports=function(u){return u!==void 0&&(r.Array===u||o[a]===u)}},function(t,n,s){var r=s(3);t.exports=function(a,o,u,c){try{return c?o(r(u)[0],u[1]):o(u)}catch(p){var l=a.return;throw l!==void 0&&r(l.call(a)),p}}},function(t,n,s){"use strict";var r=s(49),a=s(17),o=s(18),u={};s(5)(u,s(1)("iterator"),function(){return this}),t.exports=function(c,l,p){c.prototype=r(u,{next:a(1,p)}),o(c,l+" Iterator")}},function(t,n,s){var r=s(1)("iterator"),a=!1;try{var o=[7][r]();o.return=function(){a=!0},Array.from(o,function(){throw 2})}catch{}t.exports=function(u,c){if(!c&&!a)return!1;var l=!1;try{var p=[7],d=p[r]();d.next=function(){return{done:l=!0}},p[r]=function(){return d},u(p)}catch{}return l}},function(t,n){t.exports=function(s,r){return{value:r,done:!!s}}},function(t,n,s){var r=s(2),a=s(30).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,c=r.Promise,l=s(11)(u)=="process";t.exports=function(){var p,d,f,h=function(){var E,_;for(l&&(E=u.domain)&&E.exit();p;){_=p.fn,p=p.next;try{_()}catch(I){throw p?f():d=void 0,I}}d=void 0,E&&E.enter()};if(l)f=function(){u.nextTick(h)};else if(o){var x=!0,b=document.createTextNode("");new o(h).observe(b,{characterData:!0}),f=function(){b.data=x=!x}}else if(c&&c.resolve){var v=c.resolve();f=function(){v.then(h)}}else f=function(){a.call(r,h)};return function(E){var _={fn:E,next:void 0};d&&(d.next=_),p||(p=_,f()),d=_}}},function(t,n,s){var r=s(3),a=s(50),o=s(22),u=s(19)("IE_PROTO"),c=function(){},l="prototype",p=function(){var d,f=s(16)("iframe"),h=o.length,x=">";for(f.style.display="none",s(25).appendChild(f),f.src="javascript:",d=f.contentWindow.document,d.open(),d.write("f;)r.f(u,l=p[f++],c[l]);return u}},function(t,n,s){var r=s(55),a=s(17),o=s(13),u=s(32),c=s(8),l=s(26),p=Object.getOwnPropertyDescriptor;n.f=s(4)?p:function(d,f){if(d=o(d),f=u(f,!0),l)try{return p(d,f)}catch{}if(c(d,f))return a(!r.f.call(d,f),d[f])}},function(t,n,s){var r=s(8),a=s(63),o=s(19)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(c){return c=a(c),r(c,o)?c[o]:typeof c.constructor=="function"&&c instanceof c.constructor?c.constructor.prototype:c instanceof Object?u:null}},function(t,n,s){var r=s(8),a=s(13),o=s(39)(!1),u=s(19)("IE_PROTO");t.exports=function(c,l){var p,d=a(c),f=0,h=[];for(p in d)p!=u&&r(d,p)&&h.push(p);for(;l.length>f;)r(d,p=l[f++])&&(~o(h,p)||h.push(p));return h}},function(t,n,s){var r=s(53),a=s(22);t.exports=Object.keys||function(o){return r(o,a)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,s){var r=s(5);t.exports=function(a,o,u){for(var c in o)u&&a[c]?a[c]=o[c]:r(a,c,o[c]);return a}},function(t,n,s){t.exports=s(5)},function(t,n,s){var r=s(9),a=s(3),o=function(u,c){if(a(u),!r(c)&&c!==null)throw TypeError(c+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(u,c,l){try{l=s(7)(Function.call,s(51).f(Object.prototype,"__proto__").set,2),l(u,[]),c=!(u instanceof Array)}catch{c=!0}return function(p,d){return o(p,d),c?p.__proto__=d:l(p,d),p}}({},!1):void 0),check:o}},function(t,n,s){"use strict";var r=s(2),a=s(6),o=s(12),u=s(4),c=s(1)("species");t.exports=function(l){var p=typeof a[l]=="function"?a[l]:r[l];u&&p&&!p[c]&&o.f(p,c,{configurable:!0,get:function(){return this}})}},function(t,n,s){var r=s(3),a=s(14),o=s(1)("species");t.exports=function(u,c){var l,p=r(u).constructor;return p===void 0||(l=r(p)[o])==null?c:a(l)}},function(t,n,s){var r=s(20),a=s(15);t.exports=function(o){return function(u,c){var l,p,d=String(a(u)),f=r(c),h=d.length;return f<0||f>=h?o?"":void 0:(l=d.charCodeAt(f),l<55296||l>56319||f+1===h||(p=d.charCodeAt(f+1))<56320||p>57343?o?d.charAt(f):l:o?d.slice(f,f+2):(l-55296<<10)+(p-56320)+65536)}}},function(t,n,s){var r=s(20),a=Math.max,o=Math.min;t.exports=function(u,c){return u=r(u),u<0?a(u+c,0):o(u,c)}},function(t,n,s){var r=s(15);t.exports=function(a){return Object(r(a))}},function(t,n,s){var r=s(21),a=s(1)("iterator"),o=s(10);t.exports=s(6).getIteratorMethod=function(u){if(u!=null)return u[a]||u["@@iterator"]||o[r(u)]}},function(t,n,s){"use strict";var r=s(37),a=s(47),o=s(10),u=s(13);t.exports=s(27)(Array,"Array",function(c,l){this._t=u(c),this._i=0,this._k=l},function(){var c=this._t,l=this._k,p=this._i++;return!c||p>=c.length?(this._t=void 0,a(1)):l=="keys"?a(0,p):l=="values"?a(0,c[p]):a(0,[p,c[p]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n){},function(t,n,s){"use strict";var r,a,o,u=s(28),c=s(2),l=s(7),p=s(21),d=s(23),f=s(9),h=(s(3),s(14)),x=s(38),b=s(40),v=(s(58).set,s(60)),E=s(30).set,_=s(48)(),I="Promise",A=c.TypeError,M=c.process,R=c[I],M=c.process,F=p(M)=="process",z=function(){},te=!!function(){try{var y=R.resolve(1),w=(y.constructor={})[s(1)("species")]=function(C){C(z,z)};return(F||typeof PromiseRejectionEvent=="function")&&y.then(z)instanceof w}catch{}}(),Ne=function(y,w){return y===w||y===R&&w===o},he=function(y){var w;return!(!f(y)||typeof(w=y.then)!="function")&&w},fe=function(y){return Ne(R,y)?new $(y):new a(y)},$=a=function(y){var w,C;this.promise=new y(function(k,Z){if(w!==void 0||C!==void 0)throw A("Bad Promise constructor");w=k,C=Z}),this.resolve=h(w),this.reject=h(C)},Ve=function(y){try{y()}catch(w){return{error:w}}},Ke=function(y,w){if(!y._n){y._n=!0;var C=y._c;_(function(){for(var k=y._v,Z=y._s==1,Xe=0,X=function(Pt){var nt,zs,Un=Z?Pt.ok:Pt.fail,Fn=Pt.resolve,qi=Pt.reject,Hs=Pt.domain;try{Un?(Z||(y._h==2&&W(y),y._h=1),Un===!0?nt=k:(Hs&&Hs.enter(),nt=Un(k),Hs&&Hs.exit()),nt===Pt.promise?qi(A("Promise-chain cycle")):(zs=he(nt))?zs.call(nt,Fn,qi):Fn(nt)):qi(k)}catch(Ib){qi(Ib)}};C.length>Xe;)X(C[Xe++]);y._c=[],y._n=!1,w&&!y._h&&O(y)})}},O=function(y){E.call(c,function(){var w,C,k,Z=y._v;if(T(y)&&(w=Ve(function(){F?M.emit("unhandledRejection",Z,y):(C=c.onunhandledrejection)?C({promise:y,reason:Z}):(k=c.console)&&k.error&&k.error("Unhandled promise rejection",Z)}),y._h=F||T(y)?2:1),y._a=void 0,w)throw w.error})},T=function(y){if(y._h==1)return!1;for(var w,C=y._a||y._c,k=0;C.length>k;)if(w=C[k++],w.fail||!T(w.promise))return!1;return!0},W=function(y){E.call(c,function(){var w;F?M.emit("rejectionHandled",y):(w=c.onrejectionhandled)&&w({promise:y,reason:y._v})})},J=function(y){var w=this;w._d||(w._d=!0,w=w._w||w,w._v=y,w._s=2,w._a||(w._a=w._c.slice()),Ke(w,!0))},V=function(y){var w,C=this;if(!C._d){C._d=!0,C=C._w||C;try{if(C===y)throw A("Promise can't be resolved itself");(w=he(y))?_(function(){var k={_w:C,_d:!1};try{w.call(y,l(V,k,1),l(J,k,1))}catch(Z){J.call(k,Z)}}):(C._v=y,C._s=1,Ke(C,!1))}catch(k){J.call({_w:C,_d:!1},k)}}};te||(R=function(y){x(this,R,I,"_h"),h(y),r.call(this);try{y(l(V,this,1),l(J,this,1))}catch(w){J.call(this,w)}},r=function(y){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=s(56)(R.prototype,{then:function(y,w){var C=fe(v(this,R));return C.ok=typeof y!="function"||y,C.fail=typeof w=="function"&&w,C.domain=F?M.domain:void 0,this._c.push(C),this._a&&this._a.push(C),this._s&&Ke(this,!1),C.promise},catch:function(y){return this.then(void 0,y)}}),$=function(){var y=new r;this.promise=y,this.resolve=l(V,y,1),this.reject=l(J,y,1)}),d(d.G+d.W+d.F*!te,{Promise:R}),s(18)(R,I),s(59)(I),o=s(6)[I],d(d.S+d.F*!te,I,{reject:function(y){var w=fe(this),C=w.reject;return C(y),w.promise}}),d(d.S+d.F*(u||!te),I,{resolve:function(y){if(y instanceof R&&Ne(y.constructor,this))return y;var w=fe(this),C=w.resolve;return C(y),w.promise}}),d(d.S+d.F*!(te&&s(46)(function(y){R.all(y).catch(z)})),I,{all:function(y){var w=this,C=fe(w),k=C.resolve,Z=C.reject,Xe=Ve(function(){var X=[],Pt=0,nt=1;b(y,!1,function(zs){var Un=Pt++,Fn=!1;X.push(void 0),nt++,w.resolve(zs).then(function(qi){Fn||(Fn=!0,X[Un]=qi,--nt||k(X))},Z)}),--nt||k(X)});return Xe&&Z(Xe.error),C.promise},race:function(y){var w=this,C=fe(w),k=C.reject,Z=Ve(function(){b(y,!1,function(Xe){w.resolve(Xe).then(C.resolve,k)})});return Z&&k(Z.error),C.promise}})},function(t,n,s){"use strict";var r=s(61)(!0);s(27)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,o=this._t,u=this._i;return u>=o.length?{value:void 0,done:!0}:(a=r(o,u),this._i+=a.length,{value:a,done:!1})})},function(t,n,s){s(65);for(var r=s(2),a=s(5),o=s(10),u=s(1)("toStringTag"),c=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var p=c[l],d=r[p],f=d&&d.prototype;f&&!f[u]&&a(f,u,p),o[p]=o.Array}},function(t,n){t.exports=require("child_process")},function(t,n){t.exports=require("crypto")}])})});var st=g(fi=>{"use strict";Pn();try{try{let{output:i}=L("nx/src/utils/output"),e;try{e=L("nx/src/utils/app-root").workspaceRoot}catch{e=L("nx/src/utils/workspace-root").workspaceRoot}fi.workspaceRoot=e,fi.output=i}catch{let{output:e}=L("@nrwl/workspace/src/utilities/output"),{appRootPath:t}=L("@nrwl/tao/src/utils/app-root");fi.workspaceRoot=t,fi.output=e}}catch{let e=t=>{var s;let n=t.bodyLines?(s=t.bodyLines)==null?void 0:s.join(`
`):"";return`${t.title}
${n}`};fi.output={log:t=>console.log(e(t)),note:t=>console.info(e(t)),error:t=>console.error(e(t)),warn:t=>console.warn(e(t)),success:t=>console.log(e(t)),addVerticalSeparator:()=>"",addNewline:()=>console.log(`
`),logCommand:t=>console.log(t)},fi.workspaceRoot=process.cwd()}});var lp={};Bt(lp,{ACCESS_TOKEN:()=>qn,DEFAULT_FILE_SIZE_LIMIT:()=>zt,DISTRIBUTED_TASK_EXECUTION_INTERNAL_ERROR_STATUS_CODE:()=>Yb,ENCRYPTION_KEY:()=>ap,NO_COMPLETED_TASKS_TIMEOUT:()=>Kb,NO_MESSAGES_TIMEOUT:()=>Vb,NUMBER_OF_AXIOS_RETRIES:()=>jn,NX_CLOUD_CONTRIBUTOR_TESTING:()=>Vs,NX_CLOUD_CRITICAL_ERROR_MESSAGE_FILE:()=>Qa,NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT:()=>Jb,NX_CLOUD_DISTRIBUTED_EXECUTION_STOP_AGENTS_ON_FAILURE:()=>Zb,NX_CLOUD_NO_TIMEOUTS:()=>we,NX_CLOUD_RETRY_FLAKY_TASKS:()=>eg,NX_CLOUD_UNLIMITED_OUTPUT:()=>Xb,NX_NO_CLOUD:()=>Qb,UNLIMITED_FILE_SIZE:()=>qt,UNLIMITED_TIMEOUT:()=>mi,VERBOSE_LOGGING:()=>N,agentRunningInDistributedExecution:()=>Xa,extractGitRef:()=>ig,extractGitSha:()=>xi,getBranch:()=>Za,getCIExecutionEnv:()=>Mn,getCIExecutionId:()=>Ya,getCiEnvVars:()=>lg,getMachineInfo:()=>rg,getNxCloudCriticalErrorMessage:()=>dg,getNxVersion:()=>cp,getRunGroup:()=>Ja,isNxCloudIdSupportedForNxVersion:()=>pg,nxCloudCriticalErrorMessage:()=>eo,nxInvokedByRunner:()=>tg,parseCommand:()=>ag,setNxCloudCriticalErrorMessage:()=>to});function Xa(i){return!!i}function tg(){return process.env.NX_INVOKED_BY_RUNNER==="true"||process.env.NX_CLOUD==="false"}function xi(){try{return(0,Va.execSync)("git rev-parse HEAD",{stdio:"pipe"}).toString().trim()}catch{return}}function ig(){try{return(0,Va.execSync)("git rev-parse --symbolic-full-name HEAD",{stdio:"pipe"}).toString().trim()}catch{return}}function ng(){try{let i=(0,Ka.readFileSync)((0,$s.join)($b,"nx-cloud.env"));return Gb.parse(i)}catch{return{}}}function sg(){let i=ng();qn=process.env.NX_CLOUD_AUTH_TOKEN||process.env.NX_CLOUD_ACCESS_TOKEN||i.NX_CLOUD_AUTH_TOKEN||i.NX_CLOUD_ACCESS_TOKEN,ap=process.env.NX_CLOUD_ENCRYPTION_KEY||i.NX_CLOUD_ENCRYPTION_KEY,N=process.env.NX_VERBOSE_LOGGING==="true"||i.NX_VERBOSE_LOGGING==="true",we=process.env.NX_CLOUD_NO_TIMEOUTS==="true"||i.NX_CLOUD_NO_TIMEOUTS==="true",Vs=process.env.NX_CLOUD_CONTRIBUTOR_TESTING==="true"||i.NX_CLOUD_CONTRIBUTOR_TESTING==="true"}function Ya(){return op()}function op(){return process.env.NX_CI_EXECUTION_ID!==void 0?process.env.NX_CI_EXECUTION_ID:process.env.NX_RUN_GROUP!==void 0?process.env.NX_RUN_GROUP:process.env.CIRCLECI!==void 0&&process.env.CIRCLE_WORKFLOW_ID?process.env.CIRCLE_WORKFLOW_ID:process.env.TRAVIS_BUILD_ID!==void 0?process.env.TRAVIS_BUILD_ID:process.env.GITHUB_ACTIONS&&process.env.GITHUB_RUN_ID?`${process.env.GITHUB_RUN_ID}-${process.env.GITHUB_RUN_ATTEMPT}`:process.env.BUILD_BUILDID?process.env.BUILD_BUILDID:process.env.BITBUCKET_BUILD_NUMBER!==void 0?process.env.BITBUCKET_BUILD_NUMBER:process.env.VERCEL_GIT_COMMIT_SHA!==void 0?process.env.VERCEL_GIT_COMMIT_SHA:process.env.CI_PIPELINE_ID?process.env.CI_PIPELINE_ID:process.env.BUILD_TAG?process.env.BUILD_TAG:null}function Mn(){return process.env.NX_CI_EXECUTION_ENV??""}function Ja(){if(process.env.NX_RUN_GROUP!==void 0)return process.env.NX_RUN_GROUP;let i=op();return i?Mn()?`${i}-${Mn()}`:i:xi()}function Za(){if(process.env.NX_BRANCH!==void 0)return process.env.NX_BRANCH;if(process.env.CIRCLECI!==void 0){if(process.env.CIRCLE_PR_NUMBER!==void 0)return process.env.CIRCLE_PR_NUMBER;if(process.env.CIRCLE_PULL_REQUEST!==void 0){let i=process.env.CIRCLE_PULL_REQUEST.split("/");return i[i.length-1]}else if(process.env.CIRCLE_BRANCH!==void 0)return process.env.CIRCLE_BRANCH}if(process.env.TRAVIS_PULL_REQUEST!==void 0)return process.env.TRAVIS_PULL_REQUEST;if(process.env.GITHUB_ACTIONS){if(process.env.GITHUB_REF){let i=process.env.GITHUB_REF.match(/refs\/pull\/(\d+)\/merge/);if(i)return i[1]}return process.env.GITHUB_HEAD_REF?process.env.GITHUB_HEAD_REF:process.env.GITHUB_REF_NAME?process.env.GITHUB_REF_NAME:""}return process.env.BITBUCKET_PR_ID!==void 0?process.env.BITBUCKET_PR_ID:process.env.BITBUCKET_BRANCH!==void 0?process.env.BITBUCKET_BRANCH:process.env.BUILD_SOURCEBRANCHNAME!==void 0?process.env.BUILD_SOURCEBRANCHNAME:process.env.VERCEL_GIT_COMMIT_REF!==void 0?process.env.VERCEL_GIT_COMMIT_REF:process.env.CI_MERGE_REQUEST_IID?process.env.CI_MERGE_REQUEST_IID:process.env.CI_COMMIT_BRANCH?process.env.CI_COMMIT_BRANCH:process.env.GIT_BRANCH?process.env.GIT_BRANCH:null}function rg(){let i=require("os"),e=(0,rp.createHash)("md5");return e.update(Wb()),{machineId:e.digest("base64"),platform:i.platform(),version:i.version?i.version():"",cpuCores:i.cpus().length}}function ag(){let i=(0,$s.parse)(process.argv[1]).name,e=`${process.argv.slice(2).join(" ")}`;return`${i} ${e}`}function cp(){let i=JSON.parse((0,Ka.readFileSync)("package.json").toString());return{...i.dependencies||{},...i.devDependencies||{}}.nx.trim().match(og)}function lg(i){let e=ug(),t={};return i=="auto"?t=e:i&&i.split(",").map(n=>n.trim()).forEach(n=>{e[n]&&(t[n]=e[n])}),Object.keys(e).filter(n=>n.startsWith("NX_")).forEach(n=>{t[n]=e[n]}),N&&(sp.note({title:"Environment variables passed to cloud:",bodyLines:Object.keys(t)}),sp.addNewline()),t}function ug(){let i={};for(let e of Object.keys(process.env))e!=null&&!cg.includes(e)&&process.env[e]&&(i[e]=process.env[e]);return i}function pg(){let i=cp(),e=+i[1],t=i[2]?+i[2]:9999;return e>=19&&t>=7}function dg(){return eo}function to(i){eo=i}var Va,rp,Ka,$s,Gb,Wb,sp,$b,mi,Vb,Kb,qt,Xb,zt,Yb,Jb,Zb,jn,Qb,eg,qn,ap,N,we,Vs,og,cg,Qa,eo,rt=ie(()=>{"use strict";Va=require("child_process"),rp=require("crypto"),Ka=require("fs"),$s=require("path");Ga();Gb=ip(),{machineIdSync:Wb}=np(),{output:sp,workspaceRoot:$b}=st(),mi=9999999,Vb=process.env.NX_CLOUD_AGENT_TIMEOUT_MS?Number(process.env.NX_CLOUD_AGENT_TIMEOUT_MS):36e5,Kb=process.env.NX_CLOUD_ORCHESTRATOR_TIMEOUT_MS?Number(process.env.NX_CLOUD_ORCHESTRATOR_TIMEOUT_MS):36e5,qt=1e3*1e3*1e4,Xb=process.env.NX_CLOUD_UNLIMITED_OUTPUT==="true",zt=1e3*1e3*300,Yb=166,Jb=process.env.NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT?Number(process.env.NX_CLOUD_DISTRIBUTED_EXECUTION_AGENT_COUNT):null,Zb=process.env.NX_CLOUD_DISTRIBUTED_EXECUTION_STOP_AGENTS_ON_FAILURE!="false",jn=process.env.NX_CLOUD_NUMBER_OF_RETRIES?Number(process.env.NX_CLOUD_NUMBER_OF_RETRIES):Ws()?10:1,Qb=process.env.NX_NO_CLOUD==="true",eg=process.env.NX_CLOUD_RETRY_FLAKY_TASKS!=="false";sg();og=/(0|[1-9]\d*)(?:\.(0|[1-9]\d*))(?:\.(0|[1-9]\d*))?(?:-.*)?/;cg=["PWD","HOME","SHELL","LOGNAME","UID","HOSTNAME","MAIL","EDITOR","LANG","TEMP","PATH","TERM","USER","COMMAND_MODE","TMPDIR","TERMINAL_EMULATOR","TERM_SESSION_ID","OLDPWD","MANPATH","PAGER","LESS","LSCOLORS","PNPM_HOME","ZSH","GOPATH","GOROOT","NVM_DIR","NVM_BIN","NVM_INC"];Qa="nxCloudCriticalErrorMessage"});var fp=g((uC,hp)=>{"use strict";var{hasOwnProperty:io}=Object.prototype,no=(i,e={})=>{typeof e=="string"&&(e={section:e}),e.align=e.align===!0,e.newline=e.newline===!0,e.sort=e.sort===!0,e.whitespace=e.whitespace===!0||e.align===!0,e.platform=e.platform||typeof process<"u"&&process.platform,e.bracketedArray=e.bracketedArray!==!1;let t=e.platform==="win32"?`\r
`:`
`,n=e.whitespace?" = ":"=",s=[],r=e.sort?Object.keys(i).sort():Object.keys(i),a=0;e.align&&(a=mt(r.filter(c=>i[c]===null||Array.isArray(i[c])||typeof i[c]!="object").map(c=>Array.isArray(i[c])?`${c}[]`:c).concat([""]).reduce((c,l)=>mt(c).length>=mt(l).length?c:l)).length);let o="",u=e.bracketedArray?"[]":"";for(let c of r){let l=i[c];if(l&&Array.isArray(l))for(let p of l)o+=mt(`${c}${u}`).padEnd(a," ")+n+mt(p)+t;else l&&typeof l=="object"?s.push(c):o+=mt(c).padEnd(a," ")+n+mt(l)+t}e.section&&o.length&&(o="["+mt(e.section)+"]"+(e.newline?t+t:t)+o);for(let c of s){let l=pp(c,".").join("\\."),p=(e.section?e.section+".":"")+l,d=no(i[c],{...e,section:p});o.length&&d.length&&(o+=t),o+=d}return o};function pp(i,e){var t=0,n=0,s=0,r=[];do if(s=i.indexOf(e,t),s!==-1){if(t=s+e.length,s>0&&i[s-1]==="\\")continue;r.push(i.slice(n,s)),n=s+e.length}while(s!==-1);return r.push(i.slice(n)),r}var up=(i,e={})=>{e.bracketedArray=e.bracketedArray!==!1;let t=Object.create(null),n=t,s=null,r=/^\[([^\]]*)\]\s*$|^([^=]+)(=(.*))?$/i,a=i.split(/[\r\n]+/g),o={};for(let c of a){if(!c||c.match(/^\s*[;#]/)||c.match(/^\s*$/))continue;let l=c.match(r);if(!l)continue;if(l[1]!==void 0){if(s=Ks(l[1]),s==="__proto__"){n=Object.create(null);continue}n=t[s]=t[s]||Object.create(null);continue}let p=Ks(l[2]),d;e.bracketedArray?d=p.length>2&&p.slice(-2)==="[]":(o[p]=((o==null?void 0:o[p])||0)+1,d=o[p]>1);let f=d&&p.endsWith("[]")?p.slice(0,-2):p;if(f==="__proto__")continue;let h=l[3]?Ks(l[4]):!0,x=h==="true"||h==="false"||h==="null"?JSON.parse(h):h;d&&(io.call(n,f)?Array.isArray(n[f])||(n[f]=[n[f]]):n[f]=[]),Array.isArray(n[f])?n[f].push(x):n[f]=x}let u=[];for(let c of Object.keys(t)){if(!io.call(t,c)||typeof t[c]!="object"||Array.isArray(t[c]))continue;let l=pp(c,".");n=t;let p=l.pop(),d=p.replace(/\\\./g,".");for(let f of l)f!=="__proto__"&&((!io.call(n,f)||typeof n[f]!="object")&&(n[f]=Object.create(null)),n=n[f]);n===t&&d===p||(n[d]=t[c],u.push(c))}for(let c of u)delete t[c];return t},dp=i=>i.startsWith('"')&&i.endsWith('"')||i.startsWith("'")&&i.endsWith("'"),mt=i=>typeof i!="string"||i.match(/[=\r\n]/)||i.match(/^\[/)||i.length>1&&dp(i)||i!==i.trim()?JSON.stringify(i):i.split(";").join("\\;").split("#").join("\\#"),Ks=i=>{if(i=(i||"").trim(),dp(i)){i.charAt(0)==="'"&&(i=i.slice(1,-1));try{i=JSON.parse(i)}catch{}}else{let e=!1,t="";for(let n=0,s=i.length;n{"use strict";so=Symbol("singleComment"),mp=Symbol("multiComment"),hg=()=>"",fg=(i,e,t)=>i.slice(e,t).replace(/\S/g," "),mg=(i,e)=>{let t=e-1,n=0;for(;i[t]==="\\";)t-=1,n+=1;return!!(n%2)}});function bp(i){var s,r;let e=JSON.parse(ro((0,vp.readFileSync)(`${xg}/nx.json`).toString(),{trailingCommas:!0})),t={},n=[];for(let a in e.targetDefaults)e.targetDefaults[a].cache&&n.push(a);return e.nxCloudAccessToken&&(t.accessToken??(t.accessToken=e.nxCloudAccessToken)),e.nxCloudId&&(t.nxCloudId??(t.nxCloudId=e.nxCloudId)),e.nxCloudUrl&&(t.url??(t.url=e.nxCloudUrl)),e.nxCloudEncryptionKey&&(t.encryptionKey=e.nxCloudEncryptionKey),e.parallel&&(t.parallel??(t.parallel=e.parallel)),e.cacheDirectory&&(t.cacheDirectory??(t.cacheDirectory=e.cacheDirectory)),n.length&&(t.cacheableOperations??(t.cacheableOperations=n)),{nxJson:e,nxCloudOptions:{...t,...(r=(s=e.tasksRunnerOptions)==null?void 0:s[i])==null?void 0:r.options}}}var vp,xg,gp=ie(()=>{"use strict";vp=require("fs");xp();({workspaceRoot:xg}=st())});var Ae,Ys,Hn,Ye,ao,zn,zi,oo,Xs,yp=ie(()=>{"use strict";Ae=require("fs"),Ys=Mt(fp()),Hn=Mt(require("os")),Ye=Mt(require("path"));rt();gp();({output:ao}=st()),zn="nxcloud",zi="nxcloud.ini",oo=`.${zi}`,Xs=class{data;nxCloudUrl;configFilePath;constructor(e,t=!1){this.nxCloudUrl=e??this.setNxCloudUrl(),this.configFilePath=this.findExistingNxCloudConfig()??this.getDefaultConfigPath(),this.data=this.load(t)??{}}setNxCloudUrl(){try{let{nxJson:e,nxCloudOptions:t}=bp("default");return t.url??"https://cloud.nx.app"}catch{}return"https://cloud.nx.app"}getNxCloudUrl(){return this.nxCloudUrl}findExistingNxCloudConfig(){if(process.platform==="win32"){let e=Ye.default.join(Hn.homedir(),oo);if((0,Ae.existsSync)(e))return e;if(process.env.LOCALAPPDATA){let t=Ye.default.join(process.env.LOCALAPPDATA,zn,zi);if((0,Ae.existsSync)(t))return t}}else{if(process.env.XDG_CONFIG_HOME){let s=Ye.default.join(process.env.XDG_CONFIG_HOME,zn,zi);if((0,Ae.existsSync)(s))return s}let e=Hn.homedir(),t=Ye.default.join(e,oo);if((0,Ae.existsSync)(t))return t;let n=Ye.default.join(e,".config",zn,zi);if((0,Ae.existsSync)(n))return n}return null}getDefaultConfigPath(){return process.platform=="win32"?process.env.LOCALAPPDATA?Ye.default.join(process.env.LOCALAPPDATA,zn,zi):Ye.default.join(Hn.homedir(),oo):Ye.default.join(Hn.homedir(),".config",zn,zi)}load(e){let t=this.configFilePath;if((0,Ae.existsSync)(t)){let n=(0,Ae.readFileSync)(t,"utf-8");return(0,Ys.parse)(n)}else return e&&(ao.note({title:"Could not find an existing nx-cloud global configuration file to save your personal access token.",bodyLines:[`A new .nxcloudrc will be generated in the ${Ye.default.dirname(this.configFilePath)} directory.`]}),this.data={},this.save()),{}}save(){let e=(0,Ys.stringify)(this.data);(0,Ae.mkdirSync)(Ye.default.dirname(this.configFilePath),{recursive:!0}),(0,Ae.writeFileSync)(this.configFilePath,e,"utf-8")}getPersonalAccessTokenFromNxCloudUrl(e=this.nxCloudUrl){var t;return((t=this.data[e])==null?void 0:t.personalAccessToken)||null}deletePersonalAccessTokenFromNxCloudUrl(e){let t=Object.entries(this.data).find(([n,s])=>n===e);if(t){let n=t[0];delete this.data[t[0]],this.save(),N&&ao.success({title:`Deleted personal access token from ${this.configFilePath} for ${n}`})}}setPersonalAccessToken(e){this.data[this.nxCloudUrl]={personalAccessToken:e},this.save(),N&&ao.success({title:`Saved new personal access token to ${this.configFilePath} for ${this.nxCloudUrl}`})}getAllSectionNxCloudUrls(){return Object.keys(this.data)}}});function Ep(i){let e=bg()?" ":"";gg()?(process.stdout.write(`${e}${co(i)}`),at.addNewline(),at.addNewline()):yg()?(at.addNewline(),process.stdout.write(`${e}${co(i)}`),at.addNewline(),at.addNewline()):(process.stdout.write(`${e}${co(i)}`),at.addNewline(),at.addNewline())}function bg(){try{let i=JSON.parse((0,_p.readFileSync)("package.json").toString()),t={...i.dependencies||{},...i.devDependencies||{}}.nx.trim().match(vg),n=+t[1];if(n<18)return!0;if(n>18)return!1;let s=t[2]?+t[2]:9999,r=t[3]?+t[3]:9999;return s===0&&r<5}catch{return!1}}function gg(){try{return L("nx/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle"),!0}catch{try{return L("@nrwl/workspace/src/tasks-runner/life-cycles/dynamic-run-many-terminal-output-life-cycle"),!0}catch{return!1}}}function co(i){let e;if(typeof at.dim=="function")return at.dim(i);try{return at.colors.gray(i)}catch{return i}}function yg(){return process.argv.indexOf("run-many")===-1&&process.argv.indexOf("affected")===-1}function wp(i){let e=i.trim();return e.endsWith(".")?e:`${e}.`}var _p,at,vg,lo=ie(()=>{"use strict";_p=require("fs");Pn();({output:at}=st());vg=/(0|[1-9]\d*)(?:\.(0|[1-9]\d*))(?:\.(0|[1-9]\d*))?(?:-.*)?/});function vi(i){return new Promise(e=>{setTimeout(()=>e(null),i)})}var Js=ie(()=>{"use strict"});var Tp=g((yC,Rp)=>{"use strict";var Sp=require("stream").Stream,_g=require("util");Rp.exports=Je;function Je(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}_g.inherits(Je,Sp);Je.create=function(i,e){var t=new this;e=e||{};for(var n in e)t[n]=e[n];t.source=i;var s=i.emit;return i.emit=function(){return t._handleEmit(arguments),s.apply(i,arguments)},i.on("error",function(){}),t.pauseStream&&i.pause(),t};Object.defineProperty(Je.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});Je.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};Je.prototype.resume=function(){this._released||this.release(),this.source.resume()};Je.prototype.pause=function(){this.source.pause()};Je.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(i){this.emit.apply(this,i)}.bind(this)),this._bufferedEvents=[]};Je.prototype.pipe=function(){var i=Sp.prototype.pipe.apply(this,arguments);return this.resume(),i};Je.prototype._handleEmit=function(i){if(this._released){this.emit.apply(this,i);return}i[0]==="data"&&(this.dataSize+=i[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(i)};Je.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(i))}}});var Np=g((_C,Ip)=>{"use strict";var Eg=require("util"),Op=require("stream").Stream,Cp=Tp();Ip.exports=Y;function Y(){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}Eg.inherits(Y,Op);Y.create=function(i){var e=new this;i=i||{};for(var t in i)e[t]=i[t];return e};Y.isStreamLike=function(i){return typeof i!="function"&&typeof i!="string"&&typeof i!="boolean"&&typeof i!="number"&&!Buffer.isBuffer(i)};Y.prototype.append=function(i){var e=Y.isStreamLike(i);if(e){if(!(i instanceof Cp)){var t=Cp.create(i,{maxDataSize:1/0,pauseStream:this.pauseStreams});i.on("data",this._checkDataSize.bind(this)),i=t}this._handleErrors(i),this.pauseStreams&&i.pause()}return this._streams.push(i),this};Y.prototype.pipe=function(i,e){return Op.prototype.pipe.call(this,i,e),this.resume(),i};Y.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}};Y.prototype._realGetNext=function(){var i=this._streams.shift();if(typeof i>"u"){this.end();return}if(typeof i!="function"){this._pipeNext(i);return}var e=i;e(function(t){var n=Y.isStreamLike(t);n&&(t.on("data",this._checkDataSize.bind(this)),this._handleErrors(t)),this._pipeNext(t)}.bind(this))};Y.prototype._pipeNext=function(i){this._currentStream=i;var e=Y.isStreamLike(i);if(e){i.on("end",this._getNext.bind(this)),i.pipe(this,{end:!1});return}var t=i;this.write(t),this._getNext()};Y.prototype._handleErrors=function(i){var e=this;i.on("error",function(t){e._emitError(t)})};Y.prototype.write=function(i){this.emit("data",i)};Y.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Y.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")};Y.prototype.end=function(){this._reset(),this.emit("end")};Y.prototype.destroy=function(){this._reset(),this.emit("close")};Y.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Y.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var i="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(i))}};Y.prototype._updateDataSize=function(){this.dataSize=0;var i=this;this._streams.forEach(function(e){e.dataSize&&(i.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Y.prototype._emitError=function(i){this._reset(),this.emit("error",i)}});var Ap=g((EC,wg)=>{wg.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 kp=g((wC,Lp)=>{"use strict";Lp.exports=Ap()});var Fp=g(Se=>{"use strict";var Zs=kp(),Sg=require("path").extname,Dp=/^\s*([^;\s]*)(?:;|\s|$)/,Rg=/^text\//i;Se.charset=Up;Se.charsets={lookup:Up};Se.contentType=Tg;Se.extension=Cg;Se.extensions=Object.create(null);Se.lookup=Og;Se.types=Object.create(null);Ig(Se.extensions,Se.types);function Up(i){if(!i||typeof i!="string")return!1;var e=Dp.exec(i),t=e&&Zs[e[1].toLowerCase()];return t&&t.charset?t.charset:e&&Rg.test(e[1])?"UTF-8":!1}function Tg(i){if(!i||typeof i!="string")return!1;var e=i.indexOf("/")===-1?Se.lookup(i):i;if(!e)return!1;if(e.indexOf("charset")===-1){var t=Se.charset(e);t&&(e+="; charset="+t.toLowerCase())}return e}function Cg(i){if(!i||typeof i!="string")return!1;var e=Dp.exec(i),t=e&&Se.extensions[e[1].toLowerCase()];return!t||!t.length?!1:t[0]}function Og(i){if(!i||typeof i!="string")return!1;var e=Sg("x."+i).toLowerCase().substr(1);return e&&Se.types[e]||!1}function Ig(i,e){var t=["nginx","apache",void 0,"iana"];Object.keys(Zs).forEach(function(s){var r=Zs[s],a=r.extensions;if(!(!a||!a.length)){i[s]=a;for(var o=0;ol||c===l&&e[u].substr(0,12)==="application/"))continue}e[u]=s}}})}});var Bp=g((RC,Pp)=>{"use strict";Pp.exports=Ng;function Ng(i){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(i):setTimeout(i,0)}});var uo=g((TC,jp)=>{"use strict";var Mp=Bp();jp.exports=Ag;function Ag(i){var e=!1;return Mp(function(){e=!0}),function(n,s){e?i(n,s):Mp(function(){i(n,s)})}}});var po=g((CC,qp)=>{"use strict";qp.exports=Lg;function Lg(i){Object.keys(i.jobs).forEach(kg.bind(i)),i.jobs={}}function kg(i){typeof this.jobs[i]=="function"&&this.jobs[i]()}});var ho=g((OC,Hp)=>{"use strict";var zp=uo(),Dg=po();Hp.exports=Ug;function Ug(i,e,t,n){var s=t.keyedList?t.keyedList[t.index]:t.index;t.jobs[s]=Fg(e,s,i[s],function(r,a){s in t.jobs&&(delete t.jobs[s],r?Dg(t):t.results[s]=a,n(r,t.results))})}function Fg(i,e,t,n){var s;return i.length==2?s=i(t,zp(n)):s=i(t,e,zp(n)),s}});var fo=g((IC,Gp)=>{"use strict";Gp.exports=Pg;function Pg(i,e){var t=!Array.isArray(i),n={index:0,keyedList:t||e?Object.keys(i):null,jobs:{},results:t?{}:[],size:t?Object.keys(i).length:i.length};return e&&n.keyedList.sort(t?e:function(s,r){return e(i[s],i[r])}),n}});var mo=g((NC,Wp)=>{"use strict";var Bg=po(),Mg=uo();Wp.exports=jg;function jg(i){Object.keys(this.jobs).length&&(this.index=this.size,Bg(this),Mg(i)(null,this.results))}});var Vp=g((AC,$p)=>{"use strict";var qg=ho(),zg=fo(),Hg=mo();$p.exports=Gg;function Gg(i,e,t){for(var n=zg(i);n.index<(n.keyedList||i).length;)qg(i,e,n,function(s,r){if(s){t(s,r);return}if(Object.keys(n.jobs).length===0){t(null,n.results);return}}),n.index++;return Hg.bind(n,t)}});var xo=g((LC,Qs)=>{"use strict";var Kp=ho(),Wg=fo(),$g=mo();Qs.exports=Vg;Qs.exports.ascending=Xp;Qs.exports.descending=Kg;function Vg(i,e,t,n){var s=Wg(i,t);return Kp(i,e,s,function r(a,o){if(a){n(a,o);return}if(s.index++,s.index<(s.keyedList||i).length){Kp(i,e,s,r);return}n(null,s.results)}),$g.bind(s,n)}function Xp(i,e){return ie?1:0}function Kg(i,e){return-1*Xp(i,e)}});var Jp=g((kC,Yp)=>{"use strict";var Xg=xo();Yp.exports=Yg;function Yg(i,e,t){return Xg(i,e,null,t)}});var Qp=g((DC,Zp)=>{"use strict";Zp.exports={parallel:Vp(),serial:Jp(),serialOrdered:xo()}});var td=g((UC,ed)=>{"use strict";ed.exports=function(i,e){return Object.keys(e).forEach(function(t){i[t]=i[t]||e[t]}),i}});var sd=g((FC,nd)=>{"use strict";var yo=Np(),id=require("util"),vo=require("path"),Jg=require("http"),Zg=require("https"),Qg=require("url").parse,ey=require("fs"),ty=require("stream").Stream,bo=Fp(),iy=Qp(),go=td();nd.exports=U;id.inherits(U,yo);function U(i){if(!(this instanceof U))return new U(i);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],yo.call(this),i=i||{};for(var e in i)this[e]=i[e]}U.LINE_BREAK=`\r
`;U.DEFAULT_CONTENT_TYPE="application/octet-stream";U.prototype.append=function(i,e,t){t=t||{},typeof t=="string"&&(t={filename:t});var n=yo.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),id.isArray(e)){this._error(new Error("Arrays are not supported."));return}var s=this._multiPartHeader(i,e,t),r=this._multiPartFooter();n(s),n(e),n(r),this._trackLength(s,e,t)};U.prototype._trackLength=function(i,e,t){var n=0;t.knownLength!=null?n+=+t.knownLength:Buffer.isBuffer(e)?n=e.length:typeof e=="string"&&(n=Buffer.byteLength(e)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(i)+U.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&e.hasOwnProperty("httpVersion"))&&!(e instanceof ty))&&(t.knownLength||this._valuesToMeasure.push(e))};U.prototype._lengthRetriever=function(i,e){i.hasOwnProperty("fd")?i.end!=null&&i.end!=1/0&&i.start!=null?e(null,i.end+1-(i.start?i.start:0)):ey.stat(i.path,function(t,n){var s;if(t){e(t);return}s=n.size-(i.start?i.start:0),e(null,s)}):i.hasOwnProperty("httpVersion")?e(null,+i.headers["content-length"]):i.hasOwnProperty("httpModule")?(i.on("response",function(t){i.pause(),e(null,+t.headers["content-length"])}),i.resume()):e("Unknown stream")};U.prototype._multiPartHeader=function(i,e,t){if(typeof t.header=="string")return t.header;var n=this._getContentDisposition(e,t),s=this._getContentType(e,t),r="",a={"Content-Disposition":["form-data",'name="'+i+'"'].concat(n||[]),"Content-Type":[].concat(s||[])};typeof t.header=="object"&&go(a,t.header);var o;for(var u in a)a.hasOwnProperty(u)&&(o=a[u],o!=null&&(Array.isArray(o)||(o=[o]),o.length&&(r+=u+": "+o.join("; ")+U.LINE_BREAK)));return"--"+this.getBoundary()+U.LINE_BREAK+r+U.LINE_BREAK};U.prototype._getContentDisposition=function(i,e){var t,n;return typeof e.filepath=="string"?t=vo.normalize(e.filepath).replace(/\\/g,"/"):e.filename||i.name||i.path?t=vo.basename(e.filename||i.name||i.path):i.readable&&i.hasOwnProperty("httpVersion")&&(t=vo.basename(i.client._httpMessage.path||"")),t&&(n='filename="'+t+'"'),n};U.prototype._getContentType=function(i,e){var t=e.contentType;return!t&&i.name&&(t=bo.lookup(i.name)),!t&&i.path&&(t=bo.lookup(i.path)),!t&&i.readable&&i.hasOwnProperty("httpVersion")&&(t=i.headers["content-type"]),!t&&(e.filepath||e.filename)&&(t=bo.lookup(e.filepath||e.filename)),!t&&typeof i=="object"&&(t=U.DEFAULT_CONTENT_TYPE),t};U.prototype._multiPartFooter=function(){return function(i){var e=U.LINE_BREAK,t=this._streams.length===0;t&&(e+=this._lastBoundary()),i(e)}.bind(this)};U.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+U.LINE_BREAK};U.prototype.getHeaders=function(i){var e,t={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in i)i.hasOwnProperty(e)&&(t[e.toLowerCase()]=i[e]);return t};U.prototype.setBoundary=function(i){this._boundary=i};U.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};U.prototype.getBuffer=function(){for(var i=new Buffer.alloc(0),e=this.getBoundary(),t=0,n=this._streams.length;t{"use strict";var ny=require("url").parse,sy={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},ry=String.prototype.endsWith||function(i){return i.length<=this.length&&this.indexOf(i,this.length-i.length)!==-1};function ay(i){var e=typeof i=="string"?ny(i):i||{},t=e.protocol,n=e.host,s=e.port;if(typeof n!="string"||!n||typeof t!="string"||(t=t.split(":",1)[0],n=n.replace(/:\d*$/,""),s=parseInt(s)||sy[t]||0,!oy(n,s)))return"";var r=Hi("npm_config_"+t+"_proxy")||Hi(t+"_proxy")||Hi("npm_config_proxy")||Hi("all_proxy");return r&&r.indexOf("://")===-1&&(r=t+"://"+r),r}function oy(i,e){var t=(Hi("npm_config_no_proxy")||Hi("no_proxy")).toLowerCase();return t?t==="*"?!1:t.split(/[,\s]/).every(function(n){if(!n)return!0;var s=n.match(/^(.+):(\d+)$/),r=s?s[1]:n,a=s?parseInt(s[2]):0;return a&&a!==e?!0:/^[.*]/.test(r)?(r.charAt(0)==="*"&&(r=r.slice(1)),!ry.call(i,r)):i!==r}):!0}function Hi(i){return process.env[i.toLowerCase()]||process.env[i.toUpperCase()]||""}rd.getProxyForUrl=ay});var cd=g((BC,od)=>{"use strict";var Gi=1e3,Wi=Gi*60,$i=Wi*60,bi=$i*24,cy=bi*7,ly=bi*365.25;od.exports=function(i,e){e=e||{};var t=typeof i;if(t==="string"&&i.length>0)return uy(i);if(t==="number"&&isFinite(i))return e.long?dy(i):py(i);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function uy(i){if(i=String(i),!(i.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(i);if(e){var t=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*ly;case"weeks":case"week":case"w":return t*cy;case"days":case"day":case"d":return t*bi;case"hours":case"hour":case"hrs":case"hr":case"h":return t*$i;case"minutes":case"minute":case"mins":case"min":case"m":return t*Wi;case"seconds":case"second":case"secs":case"sec":case"s":return t*Gi;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function py(i){var e=Math.abs(i);return e>=bi?Math.round(i/bi)+"d":e>=$i?Math.round(i/$i)+"h":e>=Wi?Math.round(i/Wi)+"m":e>=Gi?Math.round(i/Gi)+"s":i+"ms"}function dy(i){var e=Math.abs(i);return e>=bi?er(i,e,bi,"day"):e>=$i?er(i,e,$i,"hour"):e>=Wi?er(i,e,Wi,"minute"):e>=Gi?er(i,e,Gi,"second"):i+" ms"}function er(i,e,t,n){var s=e>=t*1.5;return Math.round(i/t)+" "+n+(s?"s":"")}});var _o=g((MC,ld)=>{"use strict";function hy(i){t.debug=t,t.default=t,t.coerce=u,t.disable=r,t.enable=s,t.enabled=a,t.humanize=cd(),t.destroy=c,Object.keys(i).forEach(l=>{t[l]=i[l]}),t.names=[],t.skips=[],t.formatters={};function e(l){let p=0;for(let d=0;d{if(R==="%%")return"%";I++;let F=t.formatters[M];if(typeof F=="function"){let z=b[I];R=F.call(v,z),b.splice(I,1),I--}return R}),t.formatArgs.call(v,b),(v.log||t.log).apply(v,b)}return x.namespace=l,x.useColors=t.useColors(),x.color=t.selectColor(l),x.extend=n,x.destroy=t.destroy,Object.defineProperty(x,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(f!==t.namespaces&&(f=t.namespaces,h=t.enabled(l)),h),set:b=>{d=b}}),typeof t.init=="function"&&t.init(x),x}function n(l,p){let d=t(this.namespace+(typeof p>"u"?":":p)+l);return d.log=this.log,d}function s(l){t.save(l),t.namespaces=l,t.names=[],t.skips=[];let p,d=(typeof l=="string"?l:"").split(/[\s,]+/),f=d.length;for(p=0;p"-"+p)].join(",");return t.enable(""),l}function a(l){if(l[l.length-1]==="*")return!0;let p,d;for(p=0,d=t.skips.length;p{"use strict";Le.formatArgs=my;Le.save=xy;Le.load=vy;Le.useColors=fy;Le.storage=by();Le.destroy=(()=>{let i=!1;return()=>{i||(i=!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`."))}})();Le.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 fy(){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 my(i){if(i[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+i[0]+(this.useColors?"%c ":" ")+"+"+tr.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;i.splice(1,0,e,"color: inherit");let t=0,n=0;i[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(t++,s==="%c"&&(n=t))}),i.splice(n,0,e)}Le.log=console.debug||console.log||(()=>{});function xy(i){try{i?Le.storage.setItem("debug",i):Le.storage.removeItem("debug")}catch{}}function vy(){let i;try{i=Le.storage.getItem("debug")}catch{}return!i&&typeof process<"u"&&"env"in process&&(i=process.env.DEBUG),i}function by(){try{return localStorage}catch{}}tr.exports=_o()(Le);var{formatters:gy}=tr.exports;gy.j=function(i){try{return JSON.stringify(i)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var dd=g((jC,pd)=>{"use strict";pd.exports=(i,e=process.argv)=>{let t=i.startsWith("-")?"":i.length===1?"-":"--",n=e.indexOf(t+i),s=e.indexOf("--");return n!==-1&&(s===-1||n{"use strict";var yy=require("os"),hd=require("tty"),Pe=dd(),{env:ce}=process,Ht;Pe("no-color")||Pe("no-colors")||Pe("color=false")||Pe("color=never")?Ht=0:(Pe("color")||Pe("colors")||Pe("color=true")||Pe("color=always"))&&(Ht=1);"FORCE_COLOR"in ce&&(ce.FORCE_COLOR==="true"?Ht=1:ce.FORCE_COLOR==="false"?Ht=0:Ht=ce.FORCE_COLOR.length===0?1:Math.min(parseInt(ce.FORCE_COLOR,10),3));function Eo(i){return i===0?!1:{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3}}function wo(i,e){if(Ht===0)return 0;if(Pe("color=16m")||Pe("color=full")||Pe("color=truecolor"))return 3;if(Pe("color=256"))return 2;if(i&&!e&&Ht===void 0)return 0;let t=Ht||0;if(ce.TERM==="dumb")return t;if(process.platform==="win32"){let n=yy.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in ce)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in ce)||ce.CI_NAME==="codeship"?1:t;if("TEAMCITY_VERSION"in ce)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ce.TEAMCITY_VERSION)?1:0;if(ce.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ce){let n=parseInt((ce.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ce.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ce.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ce.TERM)||"COLORTERM"in ce?1:t}function _y(i){let e=wo(i,i&&i.isTTY);return Eo(e)}fd.exports={supportsColor:_y,stdout:Eo(wo(!0,hd.isatty(1))),stderr:Eo(wo(!0,hd.isatty(2)))}});var vd=g((me,nr)=>{"use strict";var Ey=require("tty"),ir=require("util");me.init=Iy;me.log=Ty;me.formatArgs=Sy;me.save=Cy;me.load=Oy;me.useColors=wy;me.destroy=ir.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");me.colors=[6,2,3,4,5,1];try{let i=md();i&&(i.stderr||i).level>=2&&(me.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{}me.inspectOpts=Object.keys(process.env).filter(i=>/^debug_/i.test(i)).reduce((i,e)=>{let t=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,r)=>r.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),i[t]=n,i},{});function wy(){return"colors"in me.inspectOpts?!!me.inspectOpts.colors:Ey.isatty(process.stderr.fd)}function Sy(i){let{namespace:e,useColors:t}=this;if(t){let n=this.color,s="\x1B[3"+(n<8?n:"8;5;"+n),r=` ${s};1m${e} \x1B[0m`;i[0]=r+i[0].split(`
`).join(`
`+r),i.push(s+"m+"+nr.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=Ry()+e+" "+i[0]}function Ry(){return me.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Ty(...i){return process.stderr.write(ir.format(...i)+`
`)}function Cy(i){i?process.env.DEBUG=i:delete process.env.DEBUG}function Oy(){return process.env.DEBUG}function Iy(i){i.inspectOpts={};let e=Object.keys(me.inspectOpts);for(let t=0;te.trim()).join(" ")};xd.O=function(i){return this.inspectOpts.colors=this.useColors,ir.inspect(i,this.inspectOpts)}});var bd=g((zC,So)=>{"use strict";typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?So.exports=ud():So.exports=vd()});var yd=g((HC,gd)=>{"use strict";var Gn;gd.exports=function(){if(!Gn){try{Gn=bd()("follow-redirects")}catch{}typeof Gn!="function"&&(Gn=function(){})}Gn.apply(null,arguments)}});var Rd=g((GC,Fo)=>{"use strict";var Vn=require("url"),Wn=Vn.URL,Ny=require("http"),Ay=require("https"),Io=require("stream").Writable,No=require("assert"),_d=yd(),Ao=!1;try{No(new Wn)}catch(i){Ao=i.code==="ERR_INVALID_URL"}var Ly=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Lo=["abort","aborted","connect","error","socket","timeout"],ko=Object.create(null);Lo.forEach(function(i){ko[i]=function(e,t,n){this._redirectable.emit(i,e,t,n)}});var To=Kn("ERR_INVALID_URL","Invalid URL",TypeError),Co=Kn("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),ky=Kn("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Co),Dy=Kn("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Uy=Kn("ERR_STREAM_WRITE_AFTER_END","write after end"),Fy=Io.prototype.destroy||wd;function Re(i,e){Io.call(this),this._sanitizeOptions(i),this._options=i,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var t=this;this._onNativeResponse=function(n){try{t._processResponse(n)}catch(s){t.emit("error",s instanceof Co?s:new Co({cause:s}))}},this._performRequest()}Re.prototype=Object.create(Io.prototype);Re.prototype.abort=function(){Uo(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};Re.prototype.destroy=function(i){return Uo(this._currentRequest,i),Fy.call(this,i),this};Re.prototype.write=function(i,e,t){if(this._ending)throw new Uy;if(!gi(i)&&!My(i))throw new TypeError("data should be a string, Buffer or Uint8Array");if($n(e)&&(t=e,e=null),i.length===0){t&&t();return}this._requestBodyLength+i.length<=this._options.maxBodyLength?(this._requestBodyLength+=i.length,this._requestBodyBuffers.push({data:i,encoding:e}),this._currentRequest.write(i,e,t)):(this.emit("error",new Dy),this.abort())};Re.prototype.end=function(i,e,t){if($n(i)?(t=i,i=e=null):$n(e)&&(t=e,e=null),!i)this._ended=this._ending=!0,this._currentRequest.end(null,null,t);else{var n=this,s=this._currentRequest;this.write(i,e,function(){n._ended=!0,s.end(null,null,t)}),this._ending=!0}};Re.prototype.setHeader=function(i,e){this._options.headers[i]=e,this._currentRequest.setHeader(i,e)};Re.prototype.removeHeader=function(i){delete this._options.headers[i],this._currentRequest.removeHeader(i)};Re.prototype.setTimeout=function(i,e){var t=this;function n(a){a.setTimeout(i),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function s(a){t._timeout&&clearTimeout(t._timeout),t._timeout=setTimeout(function(){t.emit("timeout"),r()},i),n(a)}function r(){t._timeout&&(clearTimeout(t._timeout),t._timeout=null),t.removeListener("abort",r),t.removeListener("error",r),t.removeListener("response",r),t.removeListener("close",r),e&&t.removeListener("timeout",e),t.socket||t._currentRequest.removeListener("socket",s)}return e&&this.on("timeout",e),this.socket?s(this.socket):this._currentRequest.once("socket",s),this.on("socket",n),this.on("abort",r),this.on("error",r),this.on("response",r),this.on("close",r),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(i){Re.prototype[i]=function(e,t){return this._currentRequest[i](e,t)}});["aborted","connection","socket"].forEach(function(i){Object.defineProperty(Re.prototype,i,{get:function(){return this._currentRequest[i]}})});Re.prototype._sanitizeOptions=function(i){if(i.headers||(i.headers={}),i.host&&(i.hostname||(i.hostname=i.host),delete i.host),!i.pathname&&i.path){var e=i.path.indexOf("?");e<0?i.pathname=i.path:(i.pathname=i.path.substring(0,e),i.search=i.path.substring(e))}};Re.prototype._performRequest=function(){var i=this._options.protocol,e=this._options.nativeProtocols[i];if(!e)throw new TypeError("Unsupported protocol "+i);if(this._options.agents){var t=i.slice(0,-1);this._options.agent=this._options.agents[t]}var n=this._currentRequest=e.request(this._options,this._onNativeResponse);n._redirectable=this;for(var s of Lo)n.on(s,ko[s]);if(this._currentUrl=/^\//.test(this._options.path)?Vn.format(this._options):this._options.path,this._isRedirect){var r=0,a=this,o=this._requestBodyBuffers;(function u(c){if(n===a._currentRequest)if(c)a.emit("error",c);else if(r=400){i.responseUrl=this._currentUrl,i.redirects=this._redirects,this.emit("response",i),this._requestBodyBuffers=[];return}if(Uo(this._currentRequest),i.destroy(),++this._redirectCount>this._options.maxRedirects)throw new ky;var n,s=this._options.beforeRedirect;s&&(n=Object.assign({Host:i.req.getHeader("host")},this._options.headers));var r=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Ro(/^content-/i,this._options.headers));var a=Ro(/^host$/i,this._options.headers),o=Do(this._currentUrl),u=a||o.host,c=/^\w+:/.test(t)?this._currentUrl:Vn.format(Object.assign(o,{host:u})),l=Py(t,c);if(_d("redirecting to",l.href),this._isRedirect=!0,Oo(l,this._options),(l.protocol!==o.protocol&&l.protocol!=="https:"||l.host!==u&&!By(l.host,u))&&Ro(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),$n(s)){var p={headers:i.headers,statusCode:e},d={url:c,method:r,headers:n};s(this._options,p,d),this._sanitizeOptions(this._options)}this._performRequest()};function Ed(i){var e={maxRedirects:21,maxBodyLength:10485760},t={};return Object.keys(i).forEach(function(n){var s=n+":",r=t[s]=i[n],a=e[n]=Object.create(r);function o(c,l,p){return jy(c)?c=Oo(c):gi(c)?c=Oo(Do(c)):(p=l,l=Sd(c),c={protocol:s}),$n(l)&&(p=l,l=null),l=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,l),l.nativeProtocols=t,!gi(l.host)&&!gi(l.hostname)&&(l.hostname="::1"),No.equal(l.protocol,s,"protocol mismatch"),_d("options",l),new Re(l,p)}function u(c,l,p){var d=a.request(c,l,p);return d.end(),d}Object.defineProperties(a,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:u,configurable:!0,enumerable:!0,writable:!0}})}),e}function wd(){}function Do(i){var e;if(Ao)e=new Wn(i);else if(e=Sd(Vn.parse(i)),!gi(e.protocol))throw new To({input:i});return e}function Py(i,e){return Ao?new Wn(i,e):Do(Vn.resolve(e,i))}function Sd(i){if(/^\[/.test(i.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(i.hostname))throw new To({input:i.href||i});if(/^\[/.test(i.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(i.host))throw new To({input:i.href||i});return i}function Oo(i,e){var t=e||{};for(var n of Ly)t[n]=i[n];return t.hostname.startsWith("[")&&(t.hostname=t.hostname.slice(1,-1)),t.port!==""&&(t.port=Number(t.port)),t.path=t.search?t.pathname+t.search:t.pathname,t}function Ro(i,e){var t;for(var n in e)i.test(n)&&(t=e[n],delete e[n]);return t===null||typeof t>"u"?void 0:String(t).trim()}function Kn(i,e,t){function n(s){Error.captureStackTrace(this,this.constructor),Object.assign(this,s||{}),this.code=i,this.message=this.cause?e+": "+this.cause.message:e}return n.prototype=new(t||Error),Object.defineProperties(n.prototype,{constructor:{value:n,enumerable:!1},name:{value:"Error ["+i+"]",enumerable:!1}}),n}function Uo(i,e){for(var t of Lo)i.removeListener(t,ko[t]);i.on("error",wd),i.destroy(e)}function By(i,e){No(gi(i)&&gi(e));var t=i.length-e.length-1;return t>0&&i[t]==="."&&i.endsWith(e)}function gi(i){return typeof i=="string"||i instanceof String}function $n(i){return typeof i=="function"}function My(i){return typeof i=="object"&&"length"in i}function jy(i){return Wn&&i instanceof Wn}Fo.exports=Ed({http:Ny,https:Ay});Fo.exports.wrap=Ed});var sc=g((WC,fh)=>{"use strict";var qy=sd(),zy=require("url"),Hy=ad(),Gy=require("http"),Wy=require("https"),Hd=require("util"),$y=Rd(),Vy=require("zlib"),Gd=require("stream"),Ky=require("events");function xt(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var Wd=xt(qy),Xy=xt(zy),Yy=xt(Gy),Jy=xt(Wy),Zy=xt(Hd),Qy=xt($y),Vt=xt(Vy),Wt=xt(Gd),e_=xt(Ky);function $d(i,e){return function(){return i.apply(e,arguments)}}var{toString:t_}=Object.prototype,{getPrototypeOf:Jo}=Object,lr=(i=>e=>{let t=t_.call(e);return i[t]||(i[t]=t.slice(8,-1).toLowerCase())})(Object.create(null)),ot=i=>(i=i.toLowerCase(),e=>lr(e)===i),ur=i=>e=>typeof e===i,{isArray:Yi}=Array,Jn=ur("undefined");function i_(i){return i!==null&&!Jn(i)&&i.constructor!==null&&!Jn(i.constructor)&&Me(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}var Vd=ot("ArrayBuffer");function n_(i){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&Vd(i.buffer),e}var s_=ur("string"),Me=ur("function"),Kd=ur("number"),pr=i=>i!==null&&typeof i=="object",r_=i=>i===!0||i===!1,rr=i=>{if(lr(i)!=="object")return!1;let e=Jo(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)},a_=ot("Date"),o_=ot("File"),c_=ot("Blob"),l_=ot("FileList"),u_=i=>pr(i)&&Me(i.pipe),p_=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||Me(i.append)&&((e=lr(i))==="formdata"||e==="object"&&Me(i.toString)&&i.toString()==="[object FormData]"))},d_=ot("URLSearchParams"),h_=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qn(i,e,{allOwnKeys:t=!1}={}){if(i===null||typeof i>"u")return;let n,s;if(typeof i!="object"&&(i=[i]),Yi(i))for(n=0,s=i.length;n0;)if(s=t[n],e===s.toLowerCase())return s;return null}var Yd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Jd=i=>!Jn(i)&&i!==Yd;function qo(){let{caseless:i}=Jd(this)&&this||{},e={},t=(n,s)=>{let r=i&&Xd(e,s)||s;rr(e[r])&&rr(n)?e[r]=qo(e[r],n):rr(n)?e[r]=qo({},n):Yi(n)?e[r]=n.slice():e[r]=n};for(let n=0,s=arguments.length;n(Qn(e,(s,r)=>{t&&Me(s)?i[r]=$d(s,t):i[r]=s},{allOwnKeys:n}),i),m_=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),x_=(i,e,t,n)=>{i.prototype=Object.create(e.prototype,n),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),t&&Object.assign(i.prototype,t)},v_=(i,e,t,n)=>{let s,r,a,o={};if(e=e||{},i==null)return e;do{for(s=Object.getOwnPropertyNames(i),r=s.length;r-- >0;)a=s[r],(!n||n(a,i,e))&&!o[a]&&(e[a]=i[a],o[a]=!0);i=t!==!1&&Jo(i)}while(i&&(!t||t(i,e))&&i!==Object.prototype);return e},b_=(i,e,t)=>{i=String(i),(t===void 0||t>i.length)&&(t=i.length),t-=e.length;let n=i.indexOf(e,t);return n!==-1&&n===t},g_=i=>{if(!i)return null;if(Yi(i))return i;let e=i.length;if(!Kd(e))return null;let t=new Array(e);for(;e-- >0;)t[e]=i[e];return t},y_=(i=>e=>i&&e instanceof i)(typeof Uint8Array<"u"&&Jo(Uint8Array)),__=(i,e)=>{let n=(i&&i[Symbol.iterator]).call(i),s;for(;(s=n.next())&&!s.done;){let r=s.value;e.call(i,r[0],r[1])}},E_=(i,e)=>{let t,n=[];for(;(t=i.exec(e))!==null;)n.push(t);return n},w_=ot("HTMLFormElement"),S_=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,s){return n.toUpperCase()+s}),Td=(({hasOwnProperty:i})=>(e,t)=>i.call(e,t))(Object.prototype),R_=ot("RegExp"),Zd=(i,e)=>{let t=Object.getOwnPropertyDescriptors(i),n={};Qn(t,(s,r)=>{let a;(a=e(s,r,i))!==!1&&(n[r]=a||s)}),Object.defineProperties(i,n)},T_=i=>{Zd(i,(e,t)=>{if(Me(i)&&["arguments","caller","callee"].indexOf(t)!==-1)return!1;let n=i[t];if(Me(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")})}})},C_=(i,e)=>{let t={},n=s=>{s.forEach(r=>{t[r]=!0})};return Yi(i)?n(i):n(String(i).split(e)),t},O_=()=>{},I_=(i,e)=>(i=+i,Number.isFinite(i)?i:e),Po="abcdefghijklmnopqrstuvwxyz",Cd="0123456789",Qd={DIGIT:Cd,ALPHA:Po,ALPHA_DIGIT:Po+Po.toUpperCase()+Cd},N_=(i=16,e=Qd.ALPHA_DIGIT)=>{let t="",{length:n}=e;for(;i--;)t+=e[Math.random()*n|0];return t};function A_(i){return!!(i&&Me(i.append)&&i[Symbol.toStringTag]==="FormData"&&i[Symbol.iterator])}var L_=i=>{let e=new Array(10),t=(n,s)=>{if(pr(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[s]=n;let r=Yi(n)?[]:{};return Qn(n,(a,o)=>{let u=t(a,s+1);!Jn(u)&&(r[o]=u)}),e[s]=void 0,r}}return n};return t(i,0)},k_=ot("AsyncFunction"),D_=i=>i&&(pr(i)||Me(i))&&Me(i.then)&&Me(i.catch),m={isArray:Yi,isArrayBuffer:Vd,isBuffer:i_,isFormData:p_,isArrayBufferView:n_,isString:s_,isNumber:Kd,isBoolean:r_,isObject:pr,isPlainObject:rr,isUndefined:Jn,isDate:a_,isFile:o_,isBlob:c_,isRegExp:R_,isFunction:Me,isStream:u_,isURLSearchParams:d_,isTypedArray:y_,isFileList:l_,forEach:Qn,merge:qo,extend:f_,trim:h_,stripBOM:m_,inherits:x_,toFlatObject:v_,kindOf:lr,kindOfTest:ot,endsWith:b_,toArray:g_,forEachEntry:__,matchAll:E_,isHTMLForm:w_,hasOwnProperty:Td,hasOwnProp:Td,reduceDescriptors:Zd,freezeMethods:T_,toObjectSet:C_,toCamelCase:S_,noop:O_,toFiniteNumber:I_,findKey:Xd,global:Yd,isContextDefined:Jd,ALPHABET:Qd,generateString:N_,isSpecCompliantForm:A_,toJSONObject:L_,isAsyncFn:k_,isThenable:D_};function S(i,e,t,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),t&&(this.config=t),n&&(this.request=n),s&&(this.response=s)}m.inherits(S,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:m.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var eh=S.prototype,th={};["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(i=>{th[i]={value:i}});Object.defineProperties(S,th);Object.defineProperty(eh,"isAxiosError",{value:!0});S.from=(i,e,t,n,s,r)=>{let a=Object.create(eh);return m.toFlatObject(i,a,function(u){return u!==Error.prototype},o=>o!=="isAxiosError"),S.call(a,i.message,e,t,n,s),a.cause=i,a.name=i.name,r&&Object.assign(a,r),a};function zo(i){return m.isPlainObject(i)||m.isArray(i)}function ih(i){return m.endsWith(i,"[]")?i.slice(0,-2):i}function Od(i,e,t){return i?i.concat(e).map(function(s,r){return s=ih(s),!t&&r?"["+s+"]":s}).join(t?".":""):e}function U_(i){return m.isArray(i)&&!i.some(zo)}var F_=m.toFlatObject(m,{},null,function(e){return/^is[A-Z]/.test(e)});function dr(i,e,t){if(!m.isObject(i))throw new TypeError("target must be an object");e=e||new(Wd.default||FormData),t=m.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,b){return!m.isUndefined(b[x])});let n=t.metaTokens,s=t.visitor||l,r=t.dots,a=t.indexes,u=(t.Blob||typeof Blob<"u"&&Blob)&&m.isSpecCompliantForm(e);if(!m.isFunction(s))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(m.isDate(h))return h.toISOString();if(!u&&m.isBlob(h))throw new S("Blob is not supported. Use a Buffer instead.");return m.isArrayBuffer(h)||m.isTypedArray(h)?u&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,x,b){let v=h;if(h&&!b&&typeof h=="object"){if(m.endsWith(x,"{}"))x=n?x:x.slice(0,-2),h=JSON.stringify(h);else if(m.isArray(h)&&U_(h)||(m.isFileList(h)||m.endsWith(x,"[]"))&&(v=m.toArray(h)))return x=ih(x),v.forEach(function(_,I){!(m.isUndefined(_)||_===null)&&e.append(a===!0?Od([x],I,r):a===null?x:x+"[]",c(_))}),!1}return zo(h)?!0:(e.append(Od(b,x,r),c(h)),!1)}let p=[],d=Object.assign(F_,{defaultVisitor:l,convertValue:c,isVisitable:zo});function f(h,x){if(!m.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+x.join("."));p.push(h),m.forEach(h,function(v,E){(!(m.isUndefined(v)||v===null)&&s.call(e,v,m.isString(E)?E.trim():E,x,d))===!0&&f(v,x?x.concat(E):[E])}),p.pop()}}if(!m.isObject(i))throw new TypeError("data must be an object");return f(i),e}function Id(i){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function nh(i,e){this._pairs=[],i&&dr(i,this,e)}var sh=nh.prototype;sh.append=function(e,t){this._pairs.push([e,t])};sh.toString=function(e){let t=e?function(n){return e.call(this,n,Id)}:Id;return this._pairs.map(function(s){return t(s[0])+"="+t(s[1])},"").join("&")};function P_(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Zo(i,e,t){if(!e)return i;let n=t&&t.encode||P_,s=t&&t.serialize,r;if(s?r=s(e,t):r=m.isURLSearchParams(e)?e.toString():new nh(e,t).toString(n),r){let a=i.indexOf("#");a!==-1&&(i=i.slice(0,a)),i+=(i.indexOf("?")===-1?"?":"&")+r}return i}var Ho=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){m.forEach(this.handlers,function(n){n!==null&&e(n)})}},Nd=Ho,Qo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},B_=Xy.default.URLSearchParams,M_={isNode:!0,classes:{URLSearchParams:B_,FormData:Wd.default,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]},rh=typeof window<"u"&&typeof document<"u",j_=(i=>rh&&["ReactNative","NativeScript","NS"].indexOf(i)<0)(typeof navigator<"u"&&navigator.product),q_=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",z_=Object.freeze({__proto__:null,hasBrowserEnv:rh,hasStandardBrowserWebWorkerEnv:q_,hasStandardBrowserEnv:j_}),Be={...z_,...M_};function H_(i,e){return dr(i,new Be.classes.URLSearchParams,Object.assign({visitor:function(t,n,s,r){return Be.isNode&&m.isBuffer(t)?(this.append(n,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function G_(i){return m.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function W_(i){let e={},t=Object.keys(i),n,s=t.length,r;for(n=0;n=t.length;return a=!a&&m.isArray(s)?s.length:a,u?(m.hasOwnProp(s,a)?s[a]=[s[a],n]:s[a]=n,!o):((!s[a]||!m.isObject(s[a]))&&(s[a]=[]),e(t,n,s[a],r)&&m.isArray(s[a])&&(s[a]=W_(s[a])),!o)}if(m.isFormData(i)&&m.isFunction(i.entries)){let t={};return m.forEachEntry(i,(n,s)=>{e(G_(n),s,t,0)}),t}return null}function $_(i,e,t){if(m.isString(i))try{return(e||JSON.parse)(i),m.trim(i)}catch(n){if(n.name!=="SyntaxError")throw n}return(t||JSON.stringify)(i)}var ec={transitional:Qo,adapter:["xhr","http"],transformRequest:[function(e,t){let n=t.getContentType()||"",s=n.indexOf("application/json")>-1,r=m.isObject(e);if(r&&m.isHTMLForm(e)&&(e=new FormData(e)),m.isFormData(e))return s?JSON.stringify(ah(e)):e;if(m.isArrayBuffer(e)||m.isBuffer(e)||m.isStream(e)||m.isFile(e)||m.isBlob(e))return e;if(m.isArrayBufferView(e))return e.buffer;if(m.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return H_(e,this.formSerializer).toString();if((o=m.isFileList(e))||n.indexOf("multipart/form-data")>-1){let u=this.env&&this.env.FormData;return dr(o?{"files[]":e}:e,u&&new u,this.formSerializer)}}return r||s?(t.setContentType("application/json",!1),$_(e)):e}],transformResponse:[function(e){let t=this.transitional||ec.transitional,n=t&&t.forcedJSONParsing,s=this.responseType==="json";if(e&&m.isString(e)&&(n&&!this.responseType||s)){let a=!(t&&t.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?S.from(o,S.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Be.classes.FormData,Blob:Be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};m.forEach(["delete","get","head","post","put","patch"],i=>{ec.headers[i]={}});var tc=ec,V_=m.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"]),K_=i=>{let e={},t,n,s;return i&&i.split(`
`).forEach(function(a){s=a.indexOf(":"),t=a.substring(0,s).trim().toLowerCase(),n=a.substring(s+1).trim(),!(!t||e[t]&&V_[t])&&(t==="set-cookie"?e[t]?e[t].push(n):e[t]=[n]:e[t]=e[t]?e[t]+", "+n:n)}),e},Ad=Symbol("internals");function Xn(i){return i&&String(i).trim().toLowerCase()}function ar(i){return i===!1||i==null?i:m.isArray(i)?i.map(ar):String(i)}function X_(i){let e=Object.create(null),t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=t.exec(i);)e[n[1]]=n[2];return e}var Y_=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function Bo(i,e,t,n,s){if(m.isFunction(n))return n.call(this,e,t);if(s&&(e=t),!!m.isString(e)){if(m.isString(n))return e.indexOf(n)!==-1;if(m.isRegExp(n))return n.test(e)}}function J_(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}function Z_(i,e){let t=m.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(i,n+t,{value:function(s,r,a){return this[n].call(this,e,s,r,a)},configurable:!0})})}var Vi=class{constructor(e){e&&this.set(e)}set(e,t,n){let s=this;function r(o,u,c){let l=Xn(u);if(!l)throw new Error("header name must be a non-empty string");let p=m.findKey(s,l);(!p||s[p]===void 0||c===!0||c===void 0&&s[p]!==!1)&&(s[p||u]=ar(o))}let a=(o,u)=>m.forEach(o,(c,l)=>r(c,l,u));return m.isPlainObject(e)||e instanceof this.constructor?a(e,t):m.isString(e)&&(e=e.trim())&&!Y_(e)?a(K_(e),t):e!=null&&r(t,e,n),this}get(e,t){if(e=Xn(e),e){let n=m.findKey(this,e);if(n){let s=this[n];if(!t)return s;if(t===!0)return X_(s);if(m.isFunction(t))return t.call(this,s,n);if(m.isRegExp(t))return t.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Xn(e),e){let n=m.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||Bo(this,this[n],n,t)))}return!1}delete(e,t){let n=this,s=!1;function r(a){if(a=Xn(a),a){let o=m.findKey(n,a);o&&(!t||Bo(n,n[o],o,t))&&(delete n[o],s=!0)}}return m.isArray(e)?e.forEach(r):r(e),s}clear(e){let t=Object.keys(this),n=t.length,s=!1;for(;n--;){let r=t[n];(!e||Bo(this,this[r],r,e,!0))&&(delete this[r],s=!0)}return s}normalize(e){let t=this,n={};return m.forEach(this,(s,r)=>{let a=m.findKey(n,r);if(a){t[a]=ar(s),delete t[r];return}let o=e?J_(r):String(r).trim();o!==r&&delete t[r],t[o]=ar(s),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return m.forEach(this,(n,s)=>{n!=null&&n!==!1&&(t[s]=e&&m.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(s=>n.set(s)),n}static accessor(e){let n=(this[Ad]=this[Ad]={accessors:{}}).accessors,s=this.prototype;function r(a){let o=Xn(a);n[o]||(Z_(s,a),n[o]=!0)}return m.isArray(e)?e.forEach(r):r(e),this}};Vi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);m.reduceDescriptors(Vi.prototype,({value:i},e)=>{let t=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(n){this[t]=n}}});m.freezeMethods(Vi);var je=Vi;function Mo(i,e){let t=this||tc,n=e||t,s=je.from(n.headers),r=n.data;return m.forEach(i,function(o){r=o.call(t,r,s.normalize(),e?e.status:void 0)}),s.normalize(),r}function oh(i){return!!(i&&i.__CANCEL__)}function yi(i,e,t){S.call(this,i??"canceled",S.ERR_CANCELED,e,t),this.name="CanceledError"}m.inherits(yi,S,{__CANCEL__:!0});function Yn(i,e,t){let n=t.config.validateStatus;!t.status||!n||n(t.status)?i(t):e(new S("Request failed with status code "+t.status,[S.ERR_BAD_REQUEST,S.ERR_BAD_RESPONSE][Math.floor(t.status/100)-4],t.config,t.request,t))}function Q_(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function eE(i,e){return e?i.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):i}function ic(i,e){return i&&!Q_(e)?eE(i,e):e}var cr="1.6.7";function ch(i){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return e&&e[1]||""}var tE=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function iE(i,e,t){let n=t&&t.Blob||Be.classes.Blob,s=ch(i);if(e===void 0&&n&&(e=!0),s==="data"){i=s.length?i.slice(s.length+1):i;let r=tE.exec(i);if(!r)throw new S("Invalid URL",S.ERR_INVALID_URL);let a=r[1],o=r[2],u=r[3],c=Buffer.from(decodeURIComponent(u),o?"base64":"utf8");if(e){if(!n)throw new S("Blob is not supported",S.ERR_NOT_SUPPORT);return new n([c],{type:a})}return c}throw new S("Unsupported protocol "+s,S.ERR_NOT_SUPPORT)}function nE(i,e){let t=0,n=1e3/e,s=null;return function(a,o){let u=Date.now();if(a||u-t>n)return s&&(clearTimeout(s),s=null),t=u,i.apply(null,o);s||(s=setTimeout(()=>(s=null,t=Date.now(),i.apply(null,o)),n-(u-t)))}}function lh(i,e){i=i||10;let t=new Array(i),n=new Array(i),s=0,r=0,a;return e=e!==void 0?e:1e3,function(u){let c=Date.now(),l=n[r];a||(a=c),t[s]=u,n[s]=c;let p=r,d=0;for(;p!==s;)d+=t[p++],p=p%i;if(s=(s+1)%i,s===r&&(r=(r+1)%i),c-a!m.isUndefined(u[o])),super({readableHighWaterMark:e.chunkSize});let t=this,n=this[sr]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},s=lh(n.ticksRate*e.samplesCount,n.timeWindow);this.on("newListener",o=>{o==="progress"&&(n.isCaptured||(n.isCaptured=!0))});let r=0;n.updateProgress=nE(function(){let u=n.length,c=n.bytesSeen,l=c-r;if(!l||t.destroyed)return;let p=s(l);r=c,process.nextTick(()=>{t.emit("progress",{loaded:c,total:u,progress:u?c/u:void 0,bytes:l,rate:p||void 0,estimated:p&&u&&c<=u?(u-c)/p:void 0})})},n.ticksRate);let a=()=>{n.updateProgress(!0)};this.once("end",a),this.once("error",a)}_read(e){let t=this[sr];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){let s=this,r=this[sr],a=r.maxRate,o=this.readableHighWaterMark,u=r.timeWindow,c=1e3/u,l=a/c,p=r.minChunkSize!==!1?Math.max(r.minChunkSize,l*.01):0;function d(h,x){let b=Buffer.byteLength(h);r.bytesSeen+=b,r.bytes+=b,r.isCaptured&&r.updateProgress(),s.push(h)?process.nextTick(x):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(x)}}let f=(h,x)=>{let b=Buffer.byteLength(h),v=null,E=o,_,I=0;if(a){let A=Date.now();(!r.ts||(I=A-r.ts)>=u)&&(r.ts=A,_=l-r.bytes,r.bytes=_<0?-_:0,I=0),_=l-r.bytes}if(a){if(_<=0)return setTimeout(()=>{x(null,h)},u-I);_E&&b-E>p&&(v=h.subarray(E),h=h.subarray(0,E)),d(h,v?()=>{process.nextTick(x,null,v)}:x)};f(e,function h(x,b){if(x)return n(x);b?f(b,h):n(null)})}setLength(e){return this[sr].length=+e,this}},Ld=Go,{asyncIterator:kd}=Symbol,sE=async function*(i){i.stream?yield*i.stream():i.arrayBuffer?yield await i.arrayBuffer():i[kd]?yield*i[kd]():yield i},uh=sE,rE=m.ALPHABET.ALPHA_DIGIT+"-_",Zn=new Hd.TextEncoder,$t=`\r
`,aE=Zn.encode($t),oE=2,Wo=class{constructor(e,t){let{escapeName:n}=this.constructor,s=m.isString(t),r=`Content-Disposition: form-data; name="${n(e)}"${!s&&t.name?`; filename="${n(t.name)}"`:""}${$t}`;s?t=Zn.encode(String(t).replace(/\r?\n|\r\n?/g,$t)):r+=`Content-Type: ${t.type||"application/octet-stream"}${$t}`,this.headers=Zn.encode(r+$t),this.contentLength=s?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+oE,this.name=e,this.value=t}async*encode(){yield this.headers;let{value:e}=this;m.isTypedArray(e)?yield e:yield*uh(e),yield aE}static escapeName(e){return String(e).replace(/[\r\n"]/g,t=>({"\r":"%0D","\n":"%0A",'"':"%22"})[t])}},cE=(i,e,t)=>{let{tag:n="form-data-boundary",size:s=25,boundary:r=n+"-"+m.generateString(s,rE)}=t||{};if(!m.isFormData(i))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");let a=Zn.encode("--"+r+$t),o=Zn.encode("--"+r+"--"+$t+$t),u=o.byteLength,c=Array.from(i.entries()).map(([p,d])=>{let f=new Wo(p,d);return u+=f.size,f});u+=a.byteLength*c.length,u=m.toFiniteNumber(u);let l={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(l["Content-Length"]=u),e&&e(l),Gd.Readable.from(async function*(){for(let p of c)yield a,yield*p.encode();yield o}())},lE=cE,$o=class extends Wt.default.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let s=Buffer.alloc(2);s[0]=120,s[1]=156,this.push(s,t)}this.__transform(e,t,n)}},uE=$o,pE=(i,e)=>m.isAsyncFn(i)?function(...t){let n=t.pop();i.apply(this,t).then(s=>{try{e?n(null,...e(s)):n(null,s)}catch(r){n(r)}},n)}:i,dE=pE,Dd={flush:Vt.default.constants.Z_SYNC_FLUSH,finishFlush:Vt.default.constants.Z_SYNC_FLUSH},hE={flush:Vt.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Vt.default.constants.BROTLI_OPERATION_FLUSH},Ud=m.isFunction(Vt.default.createBrotliDecompress),{http:fE,https:mE}=Qy.default,xE=/https:?/,Fd=Be.protocols.map(i=>i+":");function vE(i,e){i.beforeRedirects.proxy&&i.beforeRedirects.proxy(i),i.beforeRedirects.config&&i.beforeRedirects.config(i,e)}function ph(i,e,t){let n=e;if(!n&&n!==!1){let s=Hy.getProxyForUrl(t);s&&(n=new URL(s))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){(n.auth.username||n.auth.password)&&(n.auth=(n.auth.username||"")+":"+(n.auth.password||""));let r=Buffer.from(n.auth,"utf8").toString("base64");i.headers["Proxy-Authorization"]="Basic "+r}i.headers.host=i.hostname+(i.port?":"+i.port:"");let s=n.hostname||n.host;i.hostname=s,i.host=s,i.port=n.port,i.path=t,n.protocol&&(i.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}i.beforeRedirects.proxy=function(r){ph(r,e,r.href)}}var bE=typeof process<"u"&&m.kindOf(process)==="process",gE=i=>new Promise((e,t)=>{let n,s,r=(u,c)=>{s||(s=!0,n&&n(u,c))},a=u=>{r(u),e(u)},o=u=>{r(u,!0),t(u)};i(a,o,u=>n=u).catch(o)}),yE=({address:i,family:e})=>{if(!m.isString(i))throw TypeError("address must be a string");return{address:i,family:e||(i.indexOf(".")<0?6:4)}},Pd=(i,e)=>yE(m.isObject(i)?i:{address:i,family:e}),_E=bE&&function(e){return gE(async function(n,s,r){let{data:a,lookup:o,family:u}=e,{responseType:c,responseEncoding:l}=e,p=e.method.toUpperCase(),d,f=!1,h;if(o){let O=dE(o,T=>m.isArray(T)?T:[T]);o=(T,W,J)=>{O(T,W,(V,y,w)=>{if(V)return J(V);let C=m.isArray(y)?y.map(k=>Pd(k)):[Pd(y,w)];W.all?J(V,C):J(V,C[0].address,C[0].family)})}}let x=new e_.default,b=()=>{e.cancelToken&&e.cancelToken.unsubscribe(v),e.signal&&e.signal.removeEventListener("abort",v),x.removeAllListeners()};r((O,T)=>{d=!0,T&&(f=!0,b())});function v(O){x.emit("abort",!O||O.type?new yi(null,e,h):O)}x.once("abort",s),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(v),e.signal&&(e.signal.aborted?v():e.signal.addEventListener("abort",v)));let E=ic(e.baseURL,e.url),_=new URL(E,"http://localhost"),I=_.protocol||Fd[0];if(I==="data:"){let O;if(p!=="GET")return Yn(n,s,{status:405,statusText:"method not allowed",headers:{},config:e});try{O=iE(e.url,c==="blob",{Blob:e.env&&e.env.Blob})}catch(T){throw S.from(T,S.ERR_BAD_REQUEST,e)}return c==="text"?(O=O.toString(l),(!l||l==="utf8")&&(O=m.stripBOM(O))):c==="stream"&&(O=Wt.default.Readable.from(O)),Yn(n,s,{data:O,status:200,statusText:"OK",headers:new je,config:e})}if(Fd.indexOf(I)===-1)return s(new S("Unsupported protocol "+I,S.ERR_BAD_REQUEST,e));let A=je.from(e.headers).normalize();A.set("User-Agent","axios/"+cr,!1);let R=e.onDownloadProgress,M=e.onUploadProgress,F=e.maxRate,z,te;if(m.isSpecCompliantForm(a)){let O=A.getContentType(/boundary=([-_\w\d]{10,70})/i);a=lE(a,T=>{A.set(T)},{tag:`axios-${cr}-boundary`,boundary:O&&O[1]||void 0})}else if(m.isFormData(a)&&m.isFunction(a.getHeaders)){if(A.set(a.getHeaders()),!A.hasContentLength())try{let O=await Zy.default.promisify(a.getLength).call(a);Number.isFinite(O)&&O>=0&&A.setContentLength(O)}catch{}}else if(m.isBlob(a))a.size&&A.setContentType(a.type||"application/octet-stream"),A.setContentLength(a.size||0),a=Wt.default.Readable.from(uh(a));else if(a&&!m.isStream(a)){if(!Buffer.isBuffer(a))if(m.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(m.isString(a))a=Buffer.from(a,"utf-8");else return s(new S("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",S.ERR_BAD_REQUEST,e));if(A.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return s(new S("Request body larger than maxBodyLength limit",S.ERR_BAD_REQUEST,e))}let Ne=m.toFiniteNumber(A.getContentLength());m.isArray(F)?(z=F[0],te=F[1]):z=te=F,a&&(M||z)&&(m.isStream(a)||(a=Wt.default.Readable.from(a,{objectMode:!1})),a=Wt.default.pipeline([a,new Ld({length:Ne,maxRate:m.toFiniteNumber(z)})],m.noop),M&&a.on("progress",O=>{M(Object.assign(O,{upload:!0}))}));let he;if(e.auth){let O=e.auth.username||"",T=e.auth.password||"";he=O+":"+T}if(!he&&_.username){let O=_.username,T=_.password;he=O+":"+T}he&&A.delete("authorization");let fe;try{fe=Zo(_.pathname+_.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(O){let T=new Error(O.message);return T.config=e,T.url=e.url,T.exists=!0,s(T)}A.set("Accept-Encoding","gzip, compress, deflate"+(Ud?", br":""),!1);let $={path:fe,method:p,headers:A.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:he,protocol:I,family:u,beforeRedirect:vE,beforeRedirects:{}};!m.isUndefined(o)&&($.lookup=o),e.socketPath?$.socketPath=e.socketPath:($.hostname=_.hostname,$.port=_.port,ph($,e.proxy,I+"//"+_.hostname+(_.port?":"+_.port:"")+$.path));let Ve,Ke=xE.test($.protocol);if($.agent=Ke?e.httpsAgent:e.httpAgent,e.transport?Ve=e.transport:e.maxRedirects===0?Ve=Ke?Jy.default:Yy.default:(e.maxRedirects&&($.maxRedirects=e.maxRedirects),e.beforeRedirect&&($.beforeRedirects.config=e.beforeRedirect),Ve=Ke?mE:fE),e.maxBodyLength>-1?$.maxBodyLength=e.maxBodyLength:$.maxBodyLength=1/0,e.insecureHTTPParser&&($.insecureHTTPParser=e.insecureHTTPParser),h=Ve.request($,function(T){if(h.destroyed)return;let W=[T],J=+T.headers["content-length"];if(R){let k=new Ld({length:m.toFiniteNumber(J),maxRate:m.toFiniteNumber(te)});R&&k.on("progress",Z=>{R(Object.assign(Z,{download:!0}))}),W.push(k)}let V=T,y=T.req||h;if(e.decompress!==!1&&T.headers["content-encoding"])switch((p==="HEAD"||T.statusCode===204)&&delete T.headers["content-encoding"],(T.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":W.push(Vt.default.createUnzip(Dd)),delete T.headers["content-encoding"];break;case"deflate":W.push(new uE),W.push(Vt.default.createUnzip(Dd)),delete T.headers["content-encoding"];break;case"br":Ud&&(W.push(Vt.default.createBrotliDecompress(hE)),delete T.headers["content-encoding"])}V=W.length>1?Wt.default.pipeline(W,m.noop):W[0];let w=Wt.default.finished(V,()=>{w(),b()}),C={status:T.statusCode,statusText:T.statusMessage,headers:new je(T.headers),config:e,request:y};if(c==="stream")C.data=V,Yn(n,s,C);else{let k=[],Z=0;V.on("data",function(X){k.push(X),Z+=X.length,e.maxContentLength>-1&&Z>e.maxContentLength&&(f=!0,V.destroy(),s(new S("maxContentLength size of "+e.maxContentLength+" exceeded",S.ERR_BAD_RESPONSE,e,y)))}),V.on("aborted",function(){if(f)return;let X=new S("maxContentLength size of "+e.maxContentLength+" exceeded",S.ERR_BAD_RESPONSE,e,y);V.destroy(X),s(X)}),V.on("error",function(X){h.destroyed||s(S.from(X,null,e,y))}),V.on("end",function(){try{let X=k.length===1?k[0]:Buffer.concat(k);c!=="arraybuffer"&&(X=X.toString(l),(!l||l==="utf8")&&(X=m.stripBOM(X))),C.data=X}catch(X){return s(S.from(X,null,e,C.request,C))}Yn(n,s,C)})}x.once("abort",k=>{V.destroyed||(V.emit("error",k),V.destroy())})}),x.once("abort",O=>{s(O),h.destroy(O)}),h.on("error",function(T){s(S.from(T,null,e,h))}),h.on("socket",function(T){T.setKeepAlive(!0,1e3*60)}),e.timeout){let O=parseInt(e.timeout,10);if(Number.isNaN(O)){s(new S("error trying to parse `config.timeout` to int",S.ERR_BAD_OPTION_VALUE,e,h));return}h.setTimeout(O,function(){if(d)return;let W=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",J=e.transitional||Qo;e.timeoutErrorMessage&&(W=e.timeoutErrorMessage),s(new S(W,J.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,e,h)),v()})}if(m.isStream(a)){let O=!1,T=!1;a.on("end",()=>{O=!0}),a.once("error",W=>{T=!0,h.destroy(W)}),a.on("close",()=>{!O&&!T&&v(new yi("Request stream has been aborted",e,h))}),a.pipe(h)}else h.end(a)})},EE=Be.hasStandardBrowserEnv?{write(i,e,t,n,s,r){let a=[i+"="+encodeURIComponent(e)];m.isNumber(t)&&a.push("expires="+new Date(t).toGMTString()),m.isString(n)&&a.push("path="+n),m.isString(s)&&a.push("domain="+s),r===!0&&a.push("secure"),document.cookie=a.join("; ")},read(i){let e=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(i){this.write(i,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}},wE=Be.hasStandardBrowserEnv?function(){let e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function s(r){let a=r;return e&&(t.setAttribute("href",a),a=t.href),t.setAttribute("href",a),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=s(window.location.href),function(a){let o=m.isString(a)?s(a):a;return o.protocol===n.protocol&&o.host===n.host}}():function(){return function(){return!0}}();function Bd(i,e){let t=0,n=lh(50,250);return s=>{let r=s.loaded,a=s.lengthComputable?s.total:void 0,o=r-t,u=n(o),c=r<=a;t=r;let l={loaded:r,total:a,progress:a?r/a:void 0,bytes:o,rate:u||void 0,estimated:u&&a&&c?(a-r)/u:void 0,event:s};l[e?"download":"upload"]=!0,i(l)}}var SE=typeof XMLHttpRequest<"u",RE=SE&&function(i){return new Promise(function(t,n){let s=i.data,r=je.from(i.headers).normalize(),{responseType:a,withXSRFToken:o}=i,u;function c(){i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let l;if(m.isFormData(s)){if(Be.hasStandardBrowserEnv||Be.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((l=r.getContentType())!==!1){let[x,...b]=l?l.split(";").map(v=>v.trim()).filter(Boolean):[];r.setContentType([x||"multipart/form-data",...b].join("; "))}}let p=new XMLHttpRequest;if(i.auth){let x=i.auth.username||"",b=i.auth.password?unescape(encodeURIComponent(i.auth.password)):"";r.set("Authorization","Basic "+btoa(x+":"+b))}let d=ic(i.baseURL,i.url);p.open(i.method.toUpperCase(),Zo(d,i.params,i.paramsSerializer),!0),p.timeout=i.timeout;function f(){if(!p)return;let x=je.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),v={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:x,config:i,request:p};Yn(function(_){t(_),c()},function(_){n(_),c()},v),p=null}if("onloadend"in p?p.onloadend=f:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(f)},p.onabort=function(){p&&(n(new S("Request aborted",S.ECONNABORTED,i,p)),p=null)},p.onerror=function(){n(new S("Network Error",S.ERR_NETWORK,i,p)),p=null},p.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",v=i.transitional||Qo;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),n(new S(b,v.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,i,p)),p=null},Be.hasStandardBrowserEnv&&(o&&m.isFunction(o)&&(o=o(i)),o||o!==!1&&wE(d))){let x=i.xsrfHeaderName&&i.xsrfCookieName&&EE.read(i.xsrfCookieName);x&&r.set(i.xsrfHeaderName,x)}s===void 0&&r.setContentType(null),"setRequestHeader"in p&&m.forEach(r.toJSON(),function(b,v){p.setRequestHeader(v,b)}),m.isUndefined(i.withCredentials)||(p.withCredentials=!!i.withCredentials),a&&a!=="json"&&(p.responseType=i.responseType),typeof i.onDownloadProgress=="function"&&p.addEventListener("progress",Bd(i.onDownloadProgress,!0)),typeof i.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",Bd(i.onUploadProgress)),(i.cancelToken||i.signal)&&(u=x=>{p&&(n(!x||x.type?new yi(null,i,p):x),p.abort(),p=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));let h=ch(d);if(h&&Be.protocols.indexOf(h)===-1){n(new S("Unsupported protocol "+h+":",S.ERR_BAD_REQUEST,i));return}p.send(s||null)})},Vo={http:_E,xhr:RE};m.forEach(Vo,(i,e)=>{if(i){try{Object.defineProperty(i,"name",{value:e})}catch{}Object.defineProperty(i,"adapterName",{value:e})}});var Md=i=>`- ${i}`,TE=i=>m.isFunction(i)||i===null||i===!1,dh={getAdapter:i=>{i=m.isArray(i)?i:[i];let{length:e}=i,t,n,s={};for(let r=0;r`adapter ${o} `+(u===!1?"is not supported by the environment":"is not available in the build")),a=e?r.length>1?`since :
`+r.map(Md).join(`
`):" "+Md(r[0]):"as no adapter specified";throw new S("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Vo};function jo(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new yi(null,i)}function jd(i){return jo(i),i.headers=je.from(i.headers),i.data=Mo.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),dh.getAdapter(i.adapter||tc.adapter)(i).then(function(n){return jo(i),n.data=Mo.call(i,i.transformResponse,n),n.headers=je.from(n.headers),n},function(n){return oh(n)||(jo(i),n&&n.response&&(n.response.data=Mo.call(i,i.transformResponse,n.response),n.response.headers=je.from(n.response.headers))),Promise.reject(n)})}var qd=i=>i instanceof je?i.toJSON():i;function Ki(i,e){e=e||{};let t={};function n(c,l,p){return m.isPlainObject(c)&&m.isPlainObject(l)?m.merge.call({caseless:p},c,l):m.isPlainObject(l)?m.merge({},l):m.isArray(l)?l.slice():l}function s(c,l,p){if(m.isUndefined(l)){if(!m.isUndefined(c))return n(void 0,c,p)}else return n(c,l,p)}function r(c,l){if(!m.isUndefined(l))return n(void 0,l)}function a(c,l){if(m.isUndefined(l)){if(!m.isUndefined(c))return n(void 0,c)}else return n(void 0,l)}function o(c,l,p){if(p in e)return n(c,l);if(p in i)return n(void 0,c)}let u={url:r,method:r,data:r,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken: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:o,headers:(c,l)=>s(qd(c),qd(l),!0)};return m.forEach(Object.keys(Object.assign({},i,e)),function(l){let p=u[l]||s,d=p(i[l],e[l],l);m.isUndefined(d)&&p!==o||(t[l]=d)}),t}var nc={};["object","boolean","number","function","string","symbol"].forEach((i,e)=>{nc[i]=function(n){return typeof n===i||"a"+(e<1?"n ":" ")+i}});var zd={};nc.transitional=function(e,t,n){function s(r,a){return"[Axios v"+cr+"] Transitional option '"+r+"'"+a+(n?". "+n:"")}return(r,a,o)=>{if(e===!1)throw new S(s(a," has been removed"+(t?" in "+t:"")),S.ERR_DEPRECATED);return t&&!zd[a]&&(zd[a]=!0,console.warn(s(a," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(r,a,o):!0}};function CE(i,e,t){if(typeof i!="object")throw new S("options must be an object",S.ERR_BAD_OPTION_VALUE);let n=Object.keys(i),s=n.length;for(;s-- >0;){let r=n[s],a=e[r];if(a){let o=i[r],u=o===void 0||a(o,r,i);if(u!==!0)throw new S("option "+r+" must be "+u,S.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new S("Unknown option "+r,S.ERR_BAD_OPTION)}}var Ko={assertOptions:CE,validators:nc},Gt=Ko.validators,Xi=class{constructor(e){this.defaults=e,this.interceptors={request:new Nd,response:new Nd}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;let r=s.stack?s.stack.replace(/^.+\n/,""):"";n.stack?r&&!String(n.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+r):n.stack=r}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=Ki(this.defaults,t);let{transitional:n,paramsSerializer:s,headers:r}=t;n!==void 0&&Ko.assertOptions(n,{silentJSONParsing:Gt.transitional(Gt.boolean),forcedJSONParsing:Gt.transitional(Gt.boolean),clarifyTimeoutError:Gt.transitional(Gt.boolean)},!1),s!=null&&(m.isFunction(s)?t.paramsSerializer={serialize:s}:Ko.assertOptions(s,{encode:Gt.function,serialize:Gt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=r&&m.merge(r.common,r[t.method]);r&&m.forEach(["delete","get","head","post","put","patch","common"],h=>{delete r[h]}),t.headers=je.concat(a,r);let o=[],u=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(t)===!1||(u=u&&x.synchronous,o.unshift(x.fulfilled,x.rejected))});let c=[];this.interceptors.response.forEach(function(x){c.push(x.fulfilled,x.rejected)});let l,p=0,d;if(!u){let h=[jd.bind(this),void 0];for(h.unshift.apply(h,o),h.push.apply(h,c),d=h.length,l=Promise.resolve(t);p{if(!n._listeners)return;let r=n._listeners.length;for(;r-- >0;)n._listeners[r](s);n._listeners=null}),this.promise.then=s=>{let r,a=new Promise(o=>{n.subscribe(o),r=o}).then(s);return a.cancel=function(){n.unsubscribe(r)},a},e(function(r,a,o){n.reason||(n.reason=new yi(r,a,o),t(n.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 t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}static source(){let e;return{token:new i(function(s){e=s}),cancel:e}}},OE=Xo;function IE(i){return function(t){return i.apply(null,t)}}function NE(i){return m.isObject(i)&&i.isAxiosError===!0}var Yo={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(Yo).forEach(([i,e])=>{Yo[e]=i});var AE=Yo;function hh(i){let e=new or(i),t=$d(or.prototype.request,e);return m.extend(t,or.prototype,e,{allOwnKeys:!0}),m.extend(t,e,null,{allOwnKeys:!0}),t.create=function(s){return hh(Ki(i,s))},t}var ne=hh(tc);ne.Axios=or;ne.CanceledError=yi;ne.CancelToken=OE;ne.isCancel=oh;ne.VERSION=cr;ne.toFormData=dr;ne.AxiosError=S;ne.Cancel=ne.CanceledError;ne.all=function(e){return Promise.all(e)};ne.spread=IE;ne.isAxiosError=NE;ne.mergeConfig=Ki;ne.AxiosHeaders=je;ne.formToJSON=i=>ah(m.isHTMLForm(i)?new FormData(i):i);ne.getAdapter=dh.getAdapter;ne.HttpStatusCode=AE;ne.default=ne;fh.exports=ne});function fr(i,e=null,t=1e4){let n=o=>o,s=process.env.NX_CLOUD_API||i.url||"https://cloud.nx.app",r=qn?qn:i.accessToken,a=i.nxCloudId;if(e=e??new Xs(s),!r&&!a)throw new Error("Unable to authenticate. Please connect your workspace to Nx Cloud to define a valid Nx Cloud ID. If you are in a CI context, please set the NX_CLOUD_ACCESS_TOKEN environment variable or define an access token in your nx.json.");if(i.customProxyConfigPath){let{nxCloudProxyConfig:o}=require((0,xh.join)(process.cwd(),i.customProxyConfigPath));n=o??n}return LE.create(n({baseURL:s,timeout:we?mi:t,headers:{authorization:r,[DE]:i.nxCloudId,[kE]:e.getPersonalAccessTokenFromNxCloudUrl(),"Nx-Cloud-Client-Version":i.clientVersion||"unknown"}}))}async function oc(i,e){let t=new Date,n=await e();return N&&console.log(`${i}: ${new Date().getTime()-t.getTime()}`),n}async function UE(i){try{return await i()}catch(e){let t=e.response&&e.response.status||e.code,n=e.response?e.response.data.message?e.response.data.message:e.response.data:e.message;n=wp(n);let s=(n==null?void 0:n.split(`
`))||[];throw new ac(t,"failure",FE(t),e,s)}}async function Ze(i,e=jn){var t,n,s;try{return await UE(i)}catch(r){let a=r.code??((t=r.axiosException)==null?void 0:t.code),o=r.message??((n=r.axiosException)==null?void 0:n.message)??"",u=r.bodyLines??((s=r.axiosException)==null?void 0:s.bodyLines)??[];if(e===0||a===401||a===403)throw N&&rc.note({title:`Connection to Nx Cloud failed with status code ${a}`,bodyLines:[...u]}),r;if(a===429){if(!hr){let c=1e4+(jn+1-e)*6e4*Math.random();rc.note({title:`Received Code ${a}. ${o?`${o}. `:""}Retrying in ${mh(c)}s.`}),hr=vi(c)}await hr,hr=null}else{let c=1e3+(jn+1-e)*4e3*Math.random();N&&rc.note({title:`Received Code ${a}. Retrying in ${mh(c)}s.`}),await vi(c)}return Ze(i,e-1)}}function mh(i){return Math.round(i/1e3)}function FE(i){let e=`${i}:`;switch(i){case 400:return`${e} Invalid request to Nx Cloud.`;case 403:return`${e} Access to resource is not authorized.`;case 404:return`${e} Cannot find requested resource.`;case 500:return`${e} Unexpected server error.`;case"ECONNABORTED":case"ETIMEOUT":return`${e} Connection timed out, check for other network problems.`;case"ECONNRESET":return`${e} The connection to Nx Cloud was closed suddenly.`;case"ECONNREFUSED":return`${e} Cannot connect to server. Please check that you have the correct server address and port number.`;case"ENOTFOUND":return`${e} DNS error due to invalid host. Are you accessing Nx Cloud from a network proxy?`;case"SELF_SIGNED_CERT_IN_CHAIN":return`${e} Found a self-signed cert in certificate chain. Ensure you have verified trust for all certs in your network.`;default:return`${e} Unable to connect to Nx Cloud.`}}var xh,rc,LE,ac,kE,DE,hr,mr=ie(()=>{"use strict";xh=require("path");rt();yp();lo();Js();({output:rc}=st()),LE=sc(),ac=class{constructor(e,t,n,s,r){this.code=e;this.type=t;this.message=n;this.axiosException=s;this.bodyLines=r}},kE="Nx-Cloud-Personal-Access-Token",DE="Nx-Cloud-Id";hr=null});var Ji=g((JC,bh)=>{"use strict";var vh=new Map([["C","cwd"],["f","file"],["z","gzip"],["P","preservePaths"],["U","unlink"],["strip-components","strip"],["stripComponents","strip"],["keep-newer","newer"],["keepNewer","newer"],["keep-newer-files","newer"],["keepNewerFiles","newer"],["k","keep"],["keep-existing","keep"],["keepExisting","keep"],["m","noMtime"],["no-mtime","noMtime"],["p","preserveOwner"],["L","follow"],["h","follow"]]);bh.exports=i=>i?Object.keys(i).map(e=>[vh.has(e)?vh.get(e):e,i[e]]).reduce((e,t)=>(e[t[0]]=t[1],e),Object.create(null)):{}});var Er=g(Oh=>{"use strict";var gh=typeof process=="object"&&process?process:{stdout:null,stderr:null},PE=require("events"),yh=require("stream"),BE=require("string_decoder"),_h=BE.StringDecoder,vt=Symbol("EOF"),bt=Symbol("maybeEmitEnd"),Kt=Symbol("emittedEnd"),xr=Symbol("emittingEnd"),es=Symbol("emittedError"),vr=Symbol("closed"),Eh=Symbol("read"),br=Symbol("flush"),wh=Symbol("flushChunk"),Te=Symbol("encoding"),gt=Symbol("decoder"),gr=Symbol("flowing"),ts=Symbol("paused"),Zi=Symbol("resume"),Q=Symbol("buffer"),ct=Symbol("pipes"),le=Symbol("bufferLength"),cc=Symbol("bufferPush"),lc=Symbol("bufferShift"),xe=Symbol("objectMode"),ee=Symbol("destroyed"),uc=Symbol("error"),pc=Symbol("emitData"),Sh=Symbol("emitEnd"),dc=Symbol("emitEnd2"),yt=Symbol("async"),hc=Symbol("abort"),yr=Symbol("aborted"),_i=Symbol("signal"),is=i=>Promise.resolve().then(i),Ch=global._MP_NO_ITERATOR_SYMBOLS_!=="1",Rh=Ch&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),Th=Ch&&Symbol.iterator||Symbol("iterator not implemented"),ME=i=>i==="end"||i==="finish"||i==="prefinish",jE=i=>i instanceof ArrayBuffer||typeof i=="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0,qE=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i),_r=class{constructor(e,t,n){this.src=e,this.dest=t,this.opts=n,this.ondrain=()=>e[Zi](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},fc=class extends _r{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,n){super(e,t,n),this.proxyErrors=s=>t.emit("error",s),e.on("error",this.proxyErrors)}},mc=class i extends yh{constructor(e){super(),this[gr]=!1,this[ts]=!1,this[ct]=[],this[Q]=[],this[xe]=e&&e.objectMode||!1,this[xe]?this[Te]=null:this[Te]=e&&e.encoding||null,this[Te]==="buffer"&&(this[Te]=null),this[yt]=e&&!!e.async||!1,this[gt]=this[Te]?new _h(this[Te]):null,this[vt]=!1,this[Kt]=!1,this[xr]=!1,this[vr]=!1,this[es]=null,this.writable=!0,this.readable=!0,this[le]=0,this[ee]=!1,e&&e.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[Q]}),e&&e.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[ct]}),this[_i]=e&&e.signal,this[yr]=!1,this[_i]&&(this[_i].addEventListener("abort",()=>this[hc]()),this[_i].aborted&&this[hc]())}get bufferLength(){return this[le]}get encoding(){return this[Te]}set encoding(e){if(this[xe])throw new Error("cannot set encoding in objectMode");if(this[Te]&&e!==this[Te]&&(this[gt]&&this[gt].lastNeed||this[le]))throw new Error("cannot change encoding");this[Te]!==e&&(this[gt]=e?new _h(e):null,this[Q].length&&(this[Q]=this[Q].map(t=>this[gt].write(t)))),this[Te]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[xe]}set objectMode(e){this[xe]=this[xe]||!!e}get async(){return this[yt]}set async(e){this[yt]=this[yt]||!!e}[hc](){this[yr]=!0,this.emit("abort",this[_i].reason),this.destroy(this[_i].reason)}get aborted(){return this[yr]}set aborted(e){}write(e,t,n){if(this[yr])return!1;if(this[vt])throw new Error("write after end");if(this[ee])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(n=t,t="utf8"),t||(t="utf8");let s=this[yt]?is:r=>r();return!this[xe]&&!Buffer.isBuffer(e)&&(qE(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):jE(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[xe]?(this.flowing&&this[le]!==0&&this[br](!0),this.flowing?this.emit("data",e):this[cc](e),this[le]!==0&&this.emit("readable"),n&&s(n),this.flowing):e.length?(typeof e=="string"&&!(t===this[Te]&&!this[gt].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[Te]&&(e=this[gt].write(e)),this.flowing&&this[le]!==0&&this[br](!0),this.flowing?this.emit("data",e):this[cc](e),this[le]!==0&&this.emit("readable"),n&&s(n),this.flowing):(this[le]!==0&&this.emit("readable"),n&&s(n),this.flowing)}read(e){if(this[ee])return null;if(this[le]===0||e===0||e>this[le])return this[bt](),null;this[xe]&&(e=null),this[Q].length>1&&!this[xe]&&(this.encoding?this[Q]=[this[Q].join("")]:this[Q]=[Buffer.concat(this[Q],this[le])]);let t=this[Eh](e||null,this[Q][0]);return this[bt](),t}[Eh](e,t){return e===t.length||e===null?this[lc]():(this[Q][0]=t.slice(e),t=t.slice(0,e),this[le]-=e),this.emit("data",t),!this[Q].length&&!this[vt]&&this.emit("drain"),t}end(e,t,n){return typeof e=="function"&&(n=e,e=null),typeof t=="function"&&(n=t,t="utf8"),e&&this.write(e,t),n&&this.once("end",n),this[vt]=!0,this.writable=!1,(this.flowing||!this[ts])&&this[bt](),this}[Zi](){this[ee]||(this[ts]=!1,this[gr]=!0,this.emit("resume"),this[Q].length?this[br]():this[vt]?this[bt]():this.emit("drain"))}resume(){return this[Zi]()}pause(){this[gr]=!1,this[ts]=!0}get destroyed(){return this[ee]}get flowing(){return this[gr]}get paused(){return this[ts]}[cc](e){this[xe]?this[le]+=1:this[le]+=e.length,this[Q].push(e)}[lc](){return this[xe]?this[le]-=1:this[le]-=this[Q][0].length,this[Q].shift()}[br](e){do;while(this[wh](this[lc]())&&this[Q].length);!e&&!this[Q].length&&!this[vt]&&this.emit("drain")}[wh](e){return this.emit("data",e),this.flowing}pipe(e,t){if(this[ee])return;let n=this[Kt];return t=t||{},e===gh.stdout||e===gh.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,n?t.end&&e.end():(this[ct].push(t.proxyErrors?new fc(this,e,t):new _r(this,e,t)),this[yt]?is(()=>this[Zi]()):this[Zi]()),e}unpipe(e){let t=this[ct].find(n=>n.dest===e);t&&(this[ct].splice(this[ct].indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let n=super.on(e,t);return e==="data"&&!this[ct].length&&!this.flowing?this[Zi]():e==="readable"&&this[le]!==0?super.emit("readable"):ME(e)&&this[Kt]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[es]&&(this[yt]?is(()=>t.call(this,this[es])):t.call(this,this[es])),n}get emittedEnd(){return this[Kt]}[bt](){!this[xr]&&!this[Kt]&&!this[ee]&&this[Q].length===0&&this[vt]&&(this[xr]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[vr]&&this.emit("close"),this[xr]=!1)}emit(e,t,...n){if(e!=="error"&&e!=="close"&&e!==ee&&this[ee])return;if(e==="data")return!this[xe]&&!t?!1:this[yt]?is(()=>this[pc](t)):this[pc](t);if(e==="end")return this[Sh]();if(e==="close"){if(this[vr]=!0,!this[Kt]&&!this[ee])return;let r=super.emit("close");return this.removeAllListeners("close"),r}else if(e==="error"){this[es]=t,super.emit(uc,t);let r=!this[_i]||this.listeners("error").length?super.emit("error",t):!1;return this[bt](),r}else if(e==="resume"){let r=super.emit("resume");return this[bt](),r}else if(e==="finish"||e==="prefinish"){let r=super.emit(e);return this.removeAllListeners(e),r}let s=super.emit(e,t,...n);return this[bt](),s}[pc](e){for(let n of this[ct])n.dest.write(e)===!1&&this.pause();let t=super.emit("data",e);return this[bt](),t}[Sh](){this[Kt]||(this[Kt]=!0,this.readable=!1,this[yt]?is(()=>this[dc]()):this[dc]())}[dc](){if(this[gt]){let t=this[gt].end();if(t){for(let n of this[ct])n.dest.write(t);super.emit("data",t)}}for(let t of this[ct])t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}collect(){let e=[];this[xe]||(e.dataLength=0);let t=this.promise();return this.on("data",n=>{e.push(n),this[xe]||(e.dataLength+=n.length)}),t.then(()=>e)}concat(){return this[xe]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[xe]?Promise.reject(new Error("cannot concat in objectMode")):this[Te]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(ee,()=>t(new Error("stream destroyed"))),this.on("error",n=>t(n)),this.on("end",()=>e())})}[Rh](){let e=!1,t=()=>(this.pause(),e=!0,Promise.resolve({done:!0}));return{next:()=>{if(e)return t();let s=this.read();if(s!==null)return Promise.resolve({done:!1,value:s});if(this[vt])return t();let r=null,a=null,o=p=>{this.removeListener("data",u),this.removeListener("end",c),this.removeListener(ee,l),t(),a(p)},u=p=>{this.removeListener("error",o),this.removeListener("end",c),this.removeListener(ee,l),this.pause(),r({value:p,done:!!this[vt]})},c=()=>{this.removeListener("error",o),this.removeListener("data",u),this.removeListener(ee,l),t(),r({done:!0})},l=()=>o(new Error("stream destroyed"));return new Promise((p,d)=>{a=d,r=p,this.once(ee,l),this.once("error",o),this.once("end",c),this.once("data",u)})},throw:t,return:t,[Rh](){return this}}}[Th](){let e=!1,t=()=>(this.pause(),this.removeListener(uc,t),this.removeListener(ee,t),this.removeListener("end",t),e=!0,{done:!0}),n=()=>{if(e)return t();let s=this.read();return s===null?t():{value:s}};return this.once("end",t),this.once(uc,t),this.once(ee,t),{next:n,throw:t,return:t,[Th](){return this}}}destroy(e){return this[ee]?(e?this.emit("error",e):this.emit(ee),this):(this[ee]=!0,this[Q].length=0,this[le]=0,typeof this.close=="function"&&!this[vr]&&this.close(),e?this.emit("error",e):this.emit(ee),this)}static isStream(e){return!!e&&(e instanceof i||e instanceof yh||e instanceof PE&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}};Oh.Minipass=mc});var Nh=g((QC,Ih)=>{"use strict";var zE=require("zlib").constants||{ZLIB_VERNUM:4736};Ih.exports=Object.freeze(Object.assign(Object.create(null),{Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_VERSION_ERROR:-6,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,DEFLATE:1,INFLATE:2,GZIP:3,GUNZIP:4,DEFLATERAW:5,INFLATERAW:6,UNZIP:7,BROTLI_DECODE:8,BROTLI_ENCODE:9,Z_MIN_WINDOWBITS:8,Z_MAX_WINDOWBITS:15,Z_DEFAULT_WINDOWBITS:15,Z_MIN_CHUNK:64,Z_MAX_CHUNK:1/0,Z_DEFAULT_CHUNK:16384,Z_MIN_MEMLEVEL:1,Z_MAX_MEMLEVEL:9,Z_DEFAULT_MEMLEVEL:8,Z_MIN_LEVEL:-1,Z_MAX_LEVEL:9,Z_DEFAULT_LEVEL:-1,BROTLI_OPERATION_PROCESS:0,BROTLI_OPERATION_FLUSH:1,BROTLI_OPERATION_FINISH:2,BROTLI_OPERATION_EMIT_METADATA:3,BROTLI_MODE_GENERIC:0,BROTLI_MODE_TEXT:1,BROTLI_MODE_FONT:2,BROTLI_DEFAULT_MODE:0,BROTLI_MIN_QUALITY:0,BROTLI_MAX_QUALITY:11,BROTLI_DEFAULT_QUALITY:11,BROTLI_MIN_WINDOW_BITS:10,BROTLI_MAX_WINDOW_BITS:24,BROTLI_LARGE_MAX_WINDOW_BITS:30,BROTLI_DEFAULT_WINDOW:22,BROTLI_MIN_INPUT_BLOCK_BITS:16,BROTLI_MAX_INPUT_BLOCK_BITS:24,BROTLI_PARAM_MODE:0,BROTLI_PARAM_QUALITY:1,BROTLI_PARAM_LGWIN:2,BROTLI_PARAM_LGBLOCK:3,BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING:4,BROTLI_PARAM_SIZE_HINT:5,BROTLI_PARAM_LARGE_WINDOW:6,BROTLI_PARAM_NPOSTFIX:7,BROTLI_PARAM_NDIRECT:8,BROTLI_DECODER_RESULT_ERROR:0,BROTLI_DECODER_RESULT_SUCCESS:1,BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT:2,BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION:0,BROTLI_DECODER_PARAM_LARGE_WINDOW:1,BROTLI_DECODER_NO_ERROR:0,BROTLI_DECODER_SUCCESS:1,BROTLI_DECODER_NEEDS_MORE_INPUT:2,BROTLI_DECODER_NEEDS_MORE_OUTPUT:3,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE:-1,BROTLI_DECODER_ERROR_FORMAT_RESERVED:-2,BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE:-3,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET:-4,BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME:-5,BROTLI_DECODER_ERROR_FORMAT_CL_SPACE:-6,BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE:-7,BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT:-8,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1:-9,BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2:-10,BROTLI_DECODER_ERROR_FORMAT_TRANSFORM:-11,BROTLI_DECODER_ERROR_FORMAT_DICTIONARY:-12,BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS:-13,BROTLI_DECODER_ERROR_FORMAT_PADDING_1:-14,BROTLI_DECODER_ERROR_FORMAT_PADDING_2:-15,BROTLI_DECODER_ERROR_FORMAT_DISTANCE:-16,BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET:-19,BROTLI_DECODER_ERROR_INVALID_ARGUMENTS:-20,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES:-21,BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS:-22,BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP:-25,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1:-26,BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2:-27,BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES:-30,BROTLI_DECODER_ERROR_UNREACHABLE:-31},zE))});var jh=g((eO,Mh)=>{"use strict";var Ah=typeof process=="object"&&process?process:{stdout:null,stderr:null},HE=require("events"),Lh=require("stream"),kh=require("string_decoder").StringDecoder,_t=Symbol("EOF"),Et=Symbol("maybeEmitEnd"),Xt=Symbol("emittedEnd"),wr=Symbol("emittingEnd"),ns=Symbol("emittedError"),Sr=Symbol("closed"),Dh=Symbol("read"),Rr=Symbol("flush"),Uh=Symbol("flushChunk"),Ce=Symbol("encoding"),wt=Symbol("decoder"),Tr=Symbol("flowing"),ss=Symbol("paused"),Qi=Symbol("resume"),ue=Symbol("bufferLength"),xc=Symbol("bufferPush"),vc=Symbol("bufferShift"),be=Symbol("objectMode"),ge=Symbol("destroyed"),bc=Symbol("emitData"),Fh=Symbol("emitEnd"),gc=Symbol("emitEnd2"),St=Symbol("async"),rs=i=>Promise.resolve().then(i),Ph=global._MP_NO_ITERATOR_SYMBOLS_!=="1",GE=Ph&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),WE=Ph&&Symbol.iterator||Symbol("iterator not implemented"),$E=i=>i==="end"||i==="finish"||i==="prefinish",VE=i=>i instanceof ArrayBuffer||typeof i=="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0,KE=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i),Cr=class{constructor(e,t,n){this.src=e,this.dest=t,this.opts=n,this.ondrain=()=>e[Qi](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},yc=class extends Cr{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,n){super(e,t,n),this.proxyErrors=s=>t.emit("error",s),e.on("error",this.proxyErrors)}};Mh.exports=class Bh extends Lh{constructor(e){super(),this[Tr]=!1,this[ss]=!1,this.pipes=[],this.buffer=[],this[be]=e&&e.objectMode||!1,this[be]?this[Ce]=null:this[Ce]=e&&e.encoding||null,this[Ce]==="buffer"&&(this[Ce]=null),this[St]=e&&!!e.async||!1,this[wt]=this[Ce]?new kh(this[Ce]):null,this[_t]=!1,this[Xt]=!1,this[wr]=!1,this[Sr]=!1,this[ns]=null,this.writable=!0,this.readable=!0,this[ue]=0,this[ge]=!1}get bufferLength(){return this[ue]}get encoding(){return this[Ce]}set encoding(e){if(this[be])throw new Error("cannot set encoding in objectMode");if(this[Ce]&&e!==this[Ce]&&(this[wt]&&this[wt].lastNeed||this[ue]))throw new Error("cannot change encoding");this[Ce]!==e&&(this[wt]=e?new kh(e):null,this.buffer.length&&(this.buffer=this.buffer.map(t=>this[wt].write(t)))),this[Ce]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[be]}set objectMode(e){this[be]=this[be]||!!e}get async(){return this[St]}set async(e){this[St]=this[St]||!!e}write(e,t,n){if(this[_t])throw new Error("write after end");if(this[ge])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(n=t,t="utf8"),t||(t="utf8");let s=this[St]?rs:r=>r();return!this[be]&&!Buffer.isBuffer(e)&&(KE(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):VE(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[be]?(this.flowing&&this[ue]!==0&&this[Rr](!0),this.flowing?this.emit("data",e):this[xc](e),this[ue]!==0&&this.emit("readable"),n&&s(n),this.flowing):e.length?(typeof e=="string"&&!(t===this[Ce]&&!this[wt].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[Ce]&&(e=this[wt].write(e)),this.flowing&&this[ue]!==0&&this[Rr](!0),this.flowing?this.emit("data",e):this[xc](e),this[ue]!==0&&this.emit("readable"),n&&s(n),this.flowing):(this[ue]!==0&&this.emit("readable"),n&&s(n),this.flowing)}read(e){if(this[ge])return null;if(this[ue]===0||e===0||e>this[ue])return this[Et](),null;this[be]&&(e=null),this.buffer.length>1&&!this[be]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[ue])]);let t=this[Dh](e||null,this.buffer[0]);return this[Et](),t}[Dh](e,t){return e===t.length||e===null?this[vc]():(this.buffer[0]=t.slice(e),t=t.slice(0,e),this[ue]-=e),this.emit("data",t),!this.buffer.length&&!this[_t]&&this.emit("drain"),t}end(e,t,n){return typeof e=="function"&&(n=e,e=null),typeof t=="function"&&(n=t,t="utf8"),e&&this.write(e,t),n&&this.once("end",n),this[_t]=!0,this.writable=!1,(this.flowing||!this[ss])&&this[Et](),this}[Qi](){this[ge]||(this[ss]=!1,this[Tr]=!0,this.emit("resume"),this.buffer.length?this[Rr]():this[_t]?this[Et]():this.emit("drain"))}resume(){return this[Qi]()}pause(){this[Tr]=!1,this[ss]=!0}get destroyed(){return this[ge]}get flowing(){return this[Tr]}get paused(){return this[ss]}[xc](e){this[be]?this[ue]+=1:this[ue]+=e.length,this.buffer.push(e)}[vc](){return this.buffer.length&&(this[be]?this[ue]-=1:this[ue]-=this.buffer[0].length),this.buffer.shift()}[Rr](e){do;while(this[Uh](this[vc]()));!e&&!this.buffer.length&&!this[_t]&&this.emit("drain")}[Uh](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,t){if(this[ge])return;let n=this[Xt];return t=t||{},e===Ah.stdout||e===Ah.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,n?t.end&&e.end():(this.pipes.push(t.proxyErrors?new yc(this,e,t):new Cr(this,e,t)),this[St]?rs(()=>this[Qi]()):this[Qi]()),e}unpipe(e){let t=this.pipes.find(n=>n.dest===e);t&&(this.pipes.splice(this.pipes.indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let n=super.on(e,t);return e==="data"&&!this.pipes.length&&!this.flowing?this[Qi]():e==="readable"&&this[ue]!==0?super.emit("readable"):$E(e)&&this[Xt]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[ns]&&(this[St]?rs(()=>t.call(this,this[ns])):t.call(this,this[ns])),n}get emittedEnd(){return this[Xt]}[Et](){!this[wr]&&!this[Xt]&&!this[ge]&&this.buffer.length===0&&this[_t]&&(this[wr]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Sr]&&this.emit("close"),this[wr]=!1)}emit(e,t,...n){if(e!=="error"&&e!=="close"&&e!==ge&&this[ge])return;if(e==="data")return t?this[St]?rs(()=>this[bc](t)):this[bc](t):!1;if(e==="end")return this[Fh]();if(e==="close"){if(this[Sr]=!0,!this[Xt]&&!this[ge])return;let r=super.emit("close");return this.removeAllListeners("close"),r}else if(e==="error"){this[ns]=t;let r=super.emit("error",t);return this[Et](),r}else if(e==="resume"){let r=super.emit("resume");return this[Et](),r}else if(e==="finish"||e==="prefinish"){let r=super.emit(e);return this.removeAllListeners(e),r}let s=super.emit(e,t,...n);return this[Et](),s}[bc](e){for(let n of this.pipes)n.dest.write(e)===!1&&this.pause();let t=super.emit("data",e);return this[Et](),t}[Fh](){this[Xt]||(this[Xt]=!0,this.readable=!1,this[St]?rs(()=>this[gc]()):this[gc]())}[gc](){if(this[wt]){let t=this[wt].end();if(t){for(let n of this.pipes)n.dest.write(t);super.emit("data",t)}}for(let t of this.pipes)t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}collect(){let e=[];this[be]||(e.dataLength=0);let t=this.promise();return this.on("data",n=>{e.push(n),this[be]||(e.dataLength+=n.length)}),t.then(()=>e)}concat(){return this[be]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[be]?Promise.reject(new Error("cannot concat in objectMode")):this[Ce]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(ge,()=>t(new Error("stream destroyed"))),this.on("error",n=>t(n)),this.on("end",()=>e())})}[GE](){return{next:()=>{let t=this.read();if(t!==null)return Promise.resolve({done:!1,value:t});if(this[_t])return Promise.resolve({done:!0});let n=null,s=null,r=c=>{this.removeListener("data",a),this.removeListener("end",o),s(c)},a=c=>{this.removeListener("error",r),this.removeListener("end",o),this.pause(),n({value:c,done:!!this[_t]})},o=()=>{this.removeListener("error",r),this.removeListener("data",a),n({done:!0})},u=()=>r(new Error("stream destroyed"));return new Promise((c,l)=>{s=l,n=c,this.once(ge,u),this.once("error",r),this.once("end",o),this.once("data",a)})}}}[WE](){return{next:()=>{let t=this.read();return{value:t,done:t===null}}}}destroy(e){return this[ge]?(e?this.emit("error",e):this.emit(ge),this):(this[ge]=!0,this.buffer.length=0,this[ue]=0,typeof this.close=="function"&&!this[Sr]&&this.close(),e?this.emit("error",e):this.emit(ge),this)}static isStream(e){return!!e&&(e instanceof Bh||e instanceof Lh||e instanceof HE&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}}});var Fc=g(ke=>{"use strict";var Rc=require("assert"),Yt=require("buffer").Buffer,Hh=require("zlib"),Ei=ke.constants=Nh(),XE=jh(),qh=Yt.concat,wi=Symbol("_superWrite"),tn=class extends Error{constructor(e){super("zlib: "+e.message),this.code=e.code,this.errno=e.errno,this.code||(this.code="ZLIB_ERROR"),this.message="zlib: "+e.message,Error.captureStackTrace(this,this.constructor)}get name(){return"ZlibError"}},YE=Symbol("opts"),as=Symbol("flushFlag"),zh=Symbol("finishFlushFlag"),Uc=Symbol("fullFlushFlag"),H=Symbol("handle"),Or=Symbol("onError"),en=Symbol("sawError"),_c=Symbol("level"),Ec=Symbol("strategy"),wc=Symbol("ended"),tO=Symbol("_defaultFullFlush"),Ir=class extends XE{constructor(e,t){if(!e||typeof e!="object")throw new TypeError("invalid options for ZlibBase constructor");super(e),this[en]=!1,this[wc]=!1,this[YE]=e,this[as]=e.flush,this[zh]=e.finishFlush;try{this[H]=new Hh[t](e)}catch(n){throw new tn(n)}this[Or]=n=>{this[en]||(this[en]=!0,this.close(),this.emit("error",n))},this[H].on("error",n=>this[Or](new tn(n))),this.once("end",()=>this.close)}close(){this[H]&&(this[H].close(),this[H]=null,this.emit("close"))}reset(){if(!this[en])return Rc(this[H],"zlib binding closed"),this[H].reset()}flush(e){this.ended||(typeof e!="number"&&(e=this[Uc]),this.write(Object.assign(Yt.alloc(0),{[as]:e})))}end(e,t,n){return e&&this.write(e,t),this.flush(this[zh]),this[wc]=!0,super.end(null,null,n)}get ended(){return this[wc]}write(e,t,n){if(typeof t=="function"&&(n=t,t="utf8"),typeof e=="string"&&(e=Yt.from(e,t)),this[en])return;Rc(this[H],"zlib binding closed");let s=this[H]._handle,r=s.close;s.close=()=>{};let a=this[H].close;this[H].close=()=>{},Yt.concat=c=>c;let o;try{let c=typeof e[as]=="number"?e[as]:this[as];o=this[H]._processChunk(e,c),Yt.concat=qh}catch(c){Yt.concat=qh,this[Or](new tn(c))}finally{this[H]&&(this[H]._handle=s,s.close=r,this[H].close=a,this[H].removeAllListeners("error"))}this[H]&&this[H].on("error",c=>this[Or](new tn(c)));let u;if(o)if(Array.isArray(o)&&o.length>0){u=this[wi](Yt.from(o[0]));for(let c=1;c{this.flush(s),r()};try{this[H].params(e,t)}finally{this[H].flush=n}this[H]&&(this[_c]=e,this[Ec]=t)}}}},Tc=class extends Rt{constructor(e){super(e,"Deflate")}},Cc=class extends Rt{constructor(e){super(e,"Inflate")}},Sc=Symbol("_portable"),Oc=class extends Rt{constructor(e){super(e,"Gzip"),this[Sc]=e&&!!e.portable}[wi](e){return this[Sc]?(this[Sc]=!1,e[9]=255,super[wi](e)):super[wi](e)}},Ic=class extends Rt{constructor(e){super(e,"Gunzip")}},Nc=class extends Rt{constructor(e){super(e,"DeflateRaw")}},Ac=class extends Rt{constructor(e){super(e,"InflateRaw")}},Lc=class extends Rt{constructor(e){super(e,"Unzip")}},Nr=class extends Ir{constructor(e,t){e=e||{},e.flush=e.flush||Ei.BROTLI_OPERATION_PROCESS,e.finishFlush=e.finishFlush||Ei.BROTLI_OPERATION_FINISH,super(e,t),this[Uc]=Ei.BROTLI_OPERATION_FLUSH}},kc=class extends Nr{constructor(e){super(e,"BrotliCompress")}},Dc=class extends Nr{constructor(e){super(e,"BrotliDecompress")}};ke.Deflate=Tc;ke.Inflate=Cc;ke.Gzip=Oc;ke.Gunzip=Ic;ke.DeflateRaw=Nc;ke.InflateRaw=Ac;ke.Unzip=Lc;typeof Hh.BrotliCompress=="function"?(ke.BrotliCompress=kc,ke.BrotliDecompress=Dc):ke.BrotliCompress=ke.BrotliDecompress=class{constructor(){throw new Error("Brotli is not supported in this version of Node.js")}}});var nn=g((sO,Gh)=>{"use strict";var JE=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform;Gh.exports=JE!=="win32"?i=>i:i=>i&&i.replace(/\\/g,"/")});var Ar=g((aO,Wh)=>{"use strict";var{Minipass:ZE}=Er(),Pc=nn(),Bc=Symbol("slurp");Wh.exports=class extends ZE{constructor(e,t,n){switch(super(),this.pause(),this.extended=t,this.globalExtended=n,this.header=e,this.startBlockSize=512*Math.ceil(e.size/512),this.blockRemain=this.startBlockSize,this.remain=e.size,this.type=e.type,this.meta=!1,this.ignore=!1,this.type){case"File":case"OldFile":case"Link":case"SymbolicLink":case"CharacterDevice":case"BlockDevice":case"Directory":case"FIFO":case"ContiguousFile":case"GNUDumpDir":break;case"NextFileHasLongLinkpath":case"NextFileHasLongPath":case"OldGnuLongPath":case"GlobalExtendedHeader":case"ExtendedHeader":case"OldExtendedHeader":this.meta=!0;break;default:this.ignore=!0}this.path=Pc(e.path),this.mode=e.mode,this.mode&&(this.mode=this.mode&4095),this.uid=e.uid,this.gid=e.gid,this.uname=e.uname,this.gname=e.gname,this.size=e.size,this.mtime=e.mtime,this.atime=e.atime,this.ctime=e.ctime,this.linkpath=Pc(e.linkpath),this.uname=e.uname,this.gname=e.gname,t&&this[Bc](t),n&&this[Bc](n,!0)}write(e){let t=e.length;if(t>this.blockRemain)throw new Error("writing more to entry than is appropriate");let n=this.remain,s=this.blockRemain;return this.remain=Math.max(0,n-t),this.blockRemain=Math.max(0,s-t),this.ignore?!0:n>=t?super.write(e):super.write(e.slice(0,n))}[Bc](e,t){for(let n in e)e[n]!==null&&e[n]!==void 0&&!(t&&n==="path")&&(this[n]=n==="path"||n==="linkpath"?Pc(e[n]):e[n])}}});var Mc=g(Lr=>{"use strict";Lr.name=new Map([["0","File"],["","OldFile"],["1","Link"],["2","SymbolicLink"],["3","CharacterDevice"],["4","BlockDevice"],["5","Directory"],["6","FIFO"],["7","ContiguousFile"],["g","GlobalExtendedHeader"],["x","ExtendedHeader"],["A","SolarisACL"],["D","GNUDumpDir"],["I","Inode"],["K","NextFileHasLongLinkpath"],["L","NextFileHasLongPath"],["M","ContinuationFile"],["N","OldGnuLongPath"],["S","SparseFile"],["V","TapeVolumeHeader"],["X","OldExtendedHeader"]]);Lr.code=new Map(Array.from(Lr.name).map(i=>[i[1],i[0]]))});var Xh=g((cO,Kh)=>{"use strict";var QE=(i,e)=>{if(Number.isSafeInteger(i))i<0?tw(i,e):ew(i,e);else throw Error("cannot encode number outside of javascript safe integer range");return e},ew=(i,e)=>{e[0]=128;for(var t=e.length;t>1;t--)e[t-1]=i&255,i=Math.floor(i/256)},tw=(i,e)=>{e[0]=255;var t=!1;i=i*-1;for(var n=e.length;n>1;n--){var s=i&255;i=Math.floor(i/256),t?e[n-1]=$h(s):s===0?e[n-1]=0:(t=!0,e[n-1]=Vh(s))}},iw=i=>{let e=i[0],t=e===128?sw(i.slice(1,i.length)):e===255?nw(i):null;if(t===null)throw Error("invalid base256 encoding");if(!Number.isSafeInteger(t))throw Error("parsed number outside of javascript safe integer range");return t},nw=i=>{for(var e=i.length,t=0,n=!1,s=e-1;s>-1;s--){var r=i[s],a;n?a=$h(r):r===0?a=r:(n=!0,a=Vh(r)),a!==0&&(t-=a*Math.pow(256,e-s-1))}return t},sw=i=>{for(var e=i.length,t=0,n=e-1;n>-1;n--){var s=i[n];s!==0&&(t+=s*Math.pow(256,e-n-1))}return t},$h=i=>(255^i)&255,Vh=i=>(255^i)+1&255;Kh.exports={encode:QE,parse:iw}});var rn=g((lO,Jh)=>{"use strict";var jc=Mc(),sn=require("path").posix,Yh=Xh(),qc=Symbol("slurp"),De=Symbol("type"),Gc=class{constructor(e,t,n,s){this.cksumValid=!1,this.needPax=!1,this.nullBlock=!1,this.block=null,this.path=null,this.mode=null,this.uid=null,this.gid=null,this.size=null,this.mtime=null,this.cksum=null,this[De]="0",this.linkpath=null,this.uname=null,this.gname=null,this.devmaj=0,this.devmin=0,this.atime=null,this.ctime=null,Buffer.isBuffer(e)?this.decode(e,t||0,n,s):e&&this.set(e)}decode(e,t,n,s){if(t||(t=0),!e||!(e.length>=t+512))throw new Error("need 512 bytes for header");if(this.path=Si(e,t,100),this.mode=Jt(e,t+100,8),this.uid=Jt(e,t+108,8),this.gid=Jt(e,t+116,8),this.size=Jt(e,t+124,12),this.mtime=zc(e,t+136,12),this.cksum=Jt(e,t+148,12),this[qc](n),this[qc](s,!0),this[De]=Si(e,t+156,1),this[De]===""&&(this[De]="0"),this[De]==="0"&&this.path.slice(-1)==="/"&&(this[De]="5"),this[De]==="5"&&(this.size=0),this.linkpath=Si(e,t+157,100),e.slice(t+257,t+265).toString()==="ustar\x0000")if(this.uname=Si(e,t+265,32),this.gname=Si(e,t+297,32),this.devmaj=Jt(e,t+329,8),this.devmin=Jt(e,t+337,8),e[t+475]!==0){let a=Si(e,t+345,155);this.path=a+"/"+this.path}else{let a=Si(e,t+345,130);a&&(this.path=a+"/"+this.path),this.atime=zc(e,t+476,12),this.ctime=zc(e,t+488,12)}let r=8*32;for(let a=t;a=t+512))throw new Error("need 512 bytes for header");let n=this.ctime||this.atime?130:155,s=rw(this.path||"",n),r=s[0],a=s[1];this.needPax=s[2],this.needPax=Ri(e,t,100,r)||this.needPax,this.needPax=Zt(e,t+100,8,this.mode)||this.needPax,this.needPax=Zt(e,t+108,8,this.uid)||this.needPax,this.needPax=Zt(e,t+116,8,this.gid)||this.needPax,this.needPax=Zt(e,t+124,12,this.size)||this.needPax,this.needPax=Hc(e,t+136,12,this.mtime)||this.needPax,e[t+156]=this[De].charCodeAt(0),this.needPax=Ri(e,t+157,100,this.linkpath)||this.needPax,e.write("ustar\x0000",t+257,8),this.needPax=Ri(e,t+265,32,this.uname)||this.needPax,this.needPax=Ri(e,t+297,32,this.gname)||this.needPax,this.needPax=Zt(e,t+329,8,this.devmaj)||this.needPax,this.needPax=Zt(e,t+337,8,this.devmin)||this.needPax,this.needPax=Ri(e,t+345,n,a)||this.needPax,e[t+475]!==0?this.needPax=Ri(e,t+345,155,a)||this.needPax:(this.needPax=Ri(e,t+345,130,a)||this.needPax,this.needPax=Hc(e,t+476,12,this.atime)||this.needPax,this.needPax=Hc(e,t+488,12,this.ctime)||this.needPax);let o=8*32;for(let u=t;u{let n=i,s="",r,a=sn.parse(i).root||".";if(Buffer.byteLength(n)<100)r=[n,s,!1];else{s=sn.dirname(n),n=sn.basename(n);do Buffer.byteLength(n)<=100&&Buffer.byteLength(s)<=e?r=[n,s,!1]:Buffer.byteLength(n)>100&&Buffer.byteLength(s)<=e?r=[n.slice(0,99),s,!0]:(n=sn.join(sn.basename(s),n),s=sn.dirname(s));while(s!==a&&!r);r||(r=[i.slice(0,99),"",!0])}return r},Si=(i,e,t)=>i.slice(e,e+t).toString("utf8").replace(/\0.*/,""),zc=(i,e,t)=>aw(Jt(i,e,t)),aw=i=>i===null?null:new Date(i*1e3),Jt=(i,e,t)=>i[e]&128?Yh.parse(i.slice(e,e+t)):cw(i,e,t),ow=i=>isNaN(i)?null:i,cw=(i,e,t)=>ow(parseInt(i.slice(e,e+t).toString("utf8").replace(/\0.*$/,"").trim(),8)),lw={12:8589934591,8:2097151},Zt=(i,e,t,n)=>n===null?!1:n>lw[t]||n<0?(Yh.encode(n,i.slice(e,e+t)),!0):(uw(i,e,t,n),!1),uw=(i,e,t,n)=>i.write(pw(n,t),e,t,"ascii"),pw=(i,e)=>dw(Math.floor(i).toString(8),e),dw=(i,e)=>(i.length===e-1?i:new Array(e-i.length-1).join("0")+i+" ")+"\0",Hc=(i,e,t,n)=>n===null?!1:Zt(i,e,t,n.getTime()/1e3),hw=new Array(156).join("\0"),Ri=(i,e,t,n)=>n===null?!1:(i.write(n+hw,e,t,"utf8"),n.length!==Buffer.byteLength(n)||n.length>t);Jh.exports=Gc});var kr=g((uO,Zh)=>{"use strict";var fw=rn(),mw=require("path"),os=class{constructor(e,t){this.atime=e.atime||null,this.charset=e.charset||null,this.comment=e.comment||null,this.ctime=e.ctime||null,this.gid=e.gid||null,this.gname=e.gname||null,this.linkpath=e.linkpath||null,this.mtime=e.mtime||null,this.path=e.path||null,this.size=e.size||null,this.uid=e.uid||null,this.uname=e.uname||null,this.dev=e.dev||null,this.ino=e.ino||null,this.nlink=e.nlink||null,this.global=t||!1}encode(){let e=this.encodeBody();if(e==="")return null;let t=Buffer.byteLength(e),n=512*Math.ceil(1+t/512),s=Buffer.allocUnsafe(n);for(let r=0;r<512;r++)s[r]=0;new fw({path:("PaxHeader/"+mw.basename(this.path)).slice(0,99),mode:this.mode||420,uid:this.uid||null,gid:this.gid||null,size:t,mtime:this.mtime||null,type:this.global?"GlobalExtendedHeader":"ExtendedHeader",linkpath:"",uname:this.uname||"",gname:this.gname||"",devmaj:0,devmin:0,atime:this.atime||null,ctime:this.ctime||null}).encode(s),s.write(e,512,t,"utf8");for(let r=t+512;r=Math.pow(10,r)&&(r+=1),r+s+n}};os.parse=(i,e,t)=>new os(xw(vw(i),e),t);var xw=(i,e)=>e?Object.keys(i).reduce((t,n)=>(t[n]=i[n],t),e):i,vw=i=>i.replace(/\n$/,"").split(`
`).reduce(bw,Object.create(null)),bw=(i,e)=>{let t=parseInt(e,10);if(t!==Buffer.byteLength(e)+1)return i;e=e.slice((t+" ").length);let n=e.split("="),s=n.shift().replace(/^SCHILY\.(dev|ino|nlink)/,"$1");if(!s)return i;let r=n.join("=");return i[s]=/^([A-Z]+\.)?([mac]|birth|creation)time$/.test(s)?new Date(r*1e3):/^[0-9]+$/.test(r)?+r:r,i};Zh.exports=os});var an=g((pO,Qh)=>{"use strict";Qh.exports=i=>{let e=i.length-1,t=-1;for(;e>-1&&i.charAt(e)==="/";)t=e,e--;return t===-1?i:i.slice(0,t)}});var Dr=g((dO,ef)=>{"use strict";ef.exports=i=>class extends i{warn(e,t,n={}){this.file&&(n.file=this.file),this.cwd&&(n.cwd=this.cwd),n.code=t instanceof Error&&t.code||e,n.tarCode=e,!this.strict&&n.recoverable!==!1?(t instanceof Error&&(n=Object.assign(t,n),t=t.message),this.emit("warn",n.tarCode,t,n)):t instanceof Error?this.emit("error",Object.assign(t,n)):this.emit("error",Object.assign(new Error(`${e}: ${t}`),n))}}});var $c=g((fO,tf)=>{"use strict";var Ur=["|","<",">","?",":"],Wc=Ur.map(i=>String.fromCharCode(61440+i.charCodeAt(0))),gw=new Map(Ur.map((i,e)=>[i,Wc[e]])),yw=new Map(Wc.map((i,e)=>[i,Ur[e]]));tf.exports={encode:i=>Ur.reduce((e,t)=>e.split(t).join(gw.get(t)),i),decode:i=>Wc.reduce((e,t)=>e.split(t).join(yw.get(t)),i)}});var Vc=g((mO,sf)=>{"use strict";var{isAbsolute:_w,parse:nf}=require("path").win32;sf.exports=i=>{let e="",t=nf(i);for(;_w(i)||t.root;){let n=i.charAt(0)==="/"&&i.slice(0,4)!=="//?/"?"/":t.root;i=i.slice(n.length),e+=n,t=nf(i)}return[e,i]}});var af=g((xO,rf)=>{"use strict";rf.exports=(i,e,t)=>(i&=4095,t&&(i=(i|384)&-19),e&&(i&256&&(i|=64),i&32&&(i|=8),i&4&&(i|=1)),i)});var nl=g((gO,yf)=>{"use strict";var{Minipass:hf}=Er(),ff=kr(),mf=rn(),ut=require("fs"),of=require("path"),lt=nn(),Ew=an(),xf=(i,e)=>e?(i=lt(i).replace(/^\.(\/|$)/,""),Ew(e)+"/"+i):lt(i),ww=16*1024*1024,cf=Symbol("process"),lf=Symbol("file"),uf=Symbol("directory"),Xc=Symbol("symlink"),pf=Symbol("hardlink"),cs=Symbol("header"),Fr=Symbol("read"),Yc=Symbol("lstat"),Pr=Symbol("onlstat"),Jc=Symbol("onread"),Zc=Symbol("onreadlink"),Qc=Symbol("openfile"),el=Symbol("onopenfile"),Qt=Symbol("close"),Br=Symbol("mode"),tl=Symbol("awaitDrain"),Kc=Symbol("ondrain"),pt=Symbol("prefix"),df=Symbol("hadError"),vf=Dr(),Sw=$c(),bf=Vc(),gf=af(),Mr=vf(class extends hf{constructor(e,t){if(t=t||{},super(t),typeof e!="string")throw new TypeError("path is required");this.path=lt(e),this.portable=!!t.portable,this.myuid=process.getuid&&process.getuid()||0,this.myuser=process.env.USER||"",this.maxReadSize=t.maxReadSize||ww,this.linkCache=t.linkCache||new Map,this.statCache=t.statCache||new Map,this.preservePaths=!!t.preservePaths,this.cwd=lt(t.cwd||process.cwd()),this.strict=!!t.strict,this.noPax=!!t.noPax,this.noMtime=!!t.noMtime,this.mtime=t.mtime||null,this.prefix=t.prefix?lt(t.prefix):null,this.fd=null,this.blockLen=null,this.blockRemain=null,this.buf=null,this.offset=null,this.length=null,this.pos=null,this.remain=null,typeof t.onwarn=="function"&&this.on("warn",t.onwarn);let n=!1;if(!this.preservePaths){let[s,r]=bf(this.path);s&&(this.path=r,n=s)}this.win32=!!t.win32||process.platform==="win32",this.win32&&(this.path=Sw.decode(this.path.replace(/\\/g,"/")),e=e.replace(/\\/g,"/")),this.absolute=lt(t.absolute||of.resolve(this.cwd,e)),this.path===""&&(this.path="./"),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path}),this.statCache.has(this.absolute)?this[Pr](this.statCache.get(this.absolute)):this[Yc]()}emit(e,...t){return e==="error"&&(this[df]=!0),super.emit(e,...t)}[Yc](){ut.lstat(this.absolute,(e,t)=>{if(e)return this.emit("error",e);this[Pr](t)})}[Pr](e){this.statCache.set(this.absolute,e),this.stat=e,e.isFile()||(e.size=0),this.type=Tw(e),this.emit("stat",e),this[cf]()}[cf](){switch(this.type){case"File":return this[lf]();case"Directory":return this[uf]();case"SymbolicLink":return this[Xc]();default:return this.end()}}[Br](e){return gf(e,this.type==="Directory",this.portable)}[pt](e){return xf(e,this.prefix)}[cs](){this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.header=new mf({path:this[pt](this.path),linkpath:this.type==="Link"?this[pt](this.linkpath):this.linkpath,mode:this[Br](this.stat.mode),uid:this.portable?null:this.stat.uid,gid:this.portable?null:this.stat.gid,size:this.stat.size,mtime:this.noMtime?null:this.mtime||this.stat.mtime,type:this.type,uname:this.portable?null:this.stat.uid===this.myuid?this.myuser:"",atime:this.portable?null:this.stat.atime,ctime:this.portable?null:this.stat.ctime}),this.header.encode()&&!this.noPax&&super.write(new ff({atime:this.portable?null:this.header.atime,ctime:this.portable?null:this.header.ctime,gid:this.portable?null:this.header.gid,mtime:this.noMtime?null:this.mtime||this.header.mtime,path:this[pt](this.path),linkpath:this.type==="Link"?this[pt](this.linkpath):this.linkpath,size:this.header.size,uid:this.portable?null:this.header.uid,uname:this.portable?null:this.header.uname,dev:this.portable?null:this.stat.dev,ino:this.portable?null:this.stat.ino,nlink:this.portable?null:this.stat.nlink}).encode()),super.write(this.header.block)}[uf](){this.path.slice(-1)!=="/"&&(this.path+="/"),this.stat.size=0,this[cs](),this.end()}[Xc](){ut.readlink(this.absolute,(e,t)=>{if(e)return this.emit("error",e);this[Zc](t)})}[Zc](e){this.linkpath=lt(e),this[cs](),this.end()}[pf](e){this.type="Link",this.linkpath=lt(of.relative(this.cwd,e)),this.stat.size=0,this[cs](),this.end()}[lf](){if(this.stat.nlink>1){let e=this.stat.dev+":"+this.stat.ino;if(this.linkCache.has(e)){let t=this.linkCache.get(e);if(t.indexOf(this.cwd)===0)return this[pf](t)}this.linkCache.set(e,this.absolute)}if(this[cs](),this.stat.size===0)return this.end();this[Qc]()}[Qc](){ut.open(this.absolute,"r",(e,t)=>{if(e)return this.emit("error",e);this[el](t)})}[el](e){if(this.fd=e,this[df])return this[Qt]();this.blockLen=512*Math.ceil(this.stat.size/512),this.blockRemain=this.blockLen;let t=Math.min(this.blockLen,this.maxReadSize);this.buf=Buffer.allocUnsafe(t),this.offset=0,this.pos=0,this.remain=this.stat.size,this.length=this.buf.length,this[Fr]()}[Fr](){let{fd:e,buf:t,offset:n,length:s,pos:r}=this;ut.read(e,t,n,s,r,(a,o)=>{if(a)return this[Qt](()=>this.emit("error",a));this[Jc](o)})}[Qt](e){ut.close(this.fd,e)}[Jc](e){if(e<=0&&this.remain>0){let s=new Error("encountered unexpected EOF");return s.path=this.absolute,s.syscall="read",s.code="EOF",this[Qt](()=>this.emit("error",s))}if(e>this.remain){let s=new Error("did not encounter expected EOF");return s.path=this.absolute,s.syscall="read",s.code="EOF",this[Qt](()=>this.emit("error",s))}if(e===this.remain)for(let s=e;sthis[Kc]())}[tl](e){this.once("drain",e)}write(e){if(this.blockRemaine?this.emit("error",e):this.end());this.offset>=this.length&&(this.buf=Buffer.allocUnsafe(Math.min(this.blockRemain,this.buf.length)),this.offset=0),this.length=this.buf.length-this.offset,this[Fr]()}}),il=class extends Mr{[Yc](){this[Pr](ut.lstatSync(this.absolute))}[Xc](){this[Zc](ut.readlinkSync(this.absolute))}[Qc](){this[el](ut.openSync(this.absolute,"r"))}[Fr](){let e=!0;try{let{fd:t,buf:n,offset:s,length:r,pos:a}=this,o=ut.readSync(t,n,s,r,a);this[Jc](o),e=!1}finally{if(e)try{this[Qt](()=>{})}catch{}}}[tl](e){e()}[Qt](e){ut.closeSync(this.fd),e()}},Rw=vf(class extends hf{constructor(e,t){t=t||{},super(t),this.preservePaths=!!t.preservePaths,this.portable=!!t.portable,this.strict=!!t.strict,this.noPax=!!t.noPax,this.noMtime=!!t.noMtime,this.readEntry=e,this.type=e.type,this.type==="Directory"&&this.portable&&(this.noMtime=!0),this.prefix=t.prefix||null,this.path=lt(e.path),this.mode=this[Br](e.mode),this.uid=this.portable?null:e.uid,this.gid=this.portable?null:e.gid,this.uname=this.portable?null:e.uname,this.gname=this.portable?null:e.gname,this.size=e.size,this.mtime=this.noMtime?null:t.mtime||e.mtime,this.atime=this.portable?null:e.atime,this.ctime=this.portable?null:e.ctime,this.linkpath=lt(e.linkpath),typeof t.onwarn=="function"&&this.on("warn",t.onwarn);let n=!1;if(!this.preservePaths){let[s,r]=bf(this.path);s&&(this.path=r,n=s)}this.remain=e.size,this.blockRemain=e.startBlockSize,this.header=new mf({path:this[pt](this.path),linkpath:this.type==="Link"?this[pt](this.linkpath):this.linkpath,mode:this.mode,uid:this.portable?null:this.uid,gid:this.portable?null:this.gid,size:this.size,mtime:this.noMtime?null:this.mtime,type:this.type,uname:this.portable?null:this.uname,atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime}),n&&this.warn("TAR_ENTRY_INFO",`stripping ${n} from absolute path`,{entry:this,path:n+this.path}),this.header.encode()&&!this.noPax&&super.write(new ff({atime:this.portable?null:this.atime,ctime:this.portable?null:this.ctime,gid:this.portable?null:this.gid,mtime:this.noMtime?null:this.mtime,path:this[pt](this.path),linkpath:this.type==="Link"?this[pt](this.linkpath):this.linkpath,size:this.size,uid:this.portable?null:this.uid,uname:this.portable?null:this.uname,dev:this.portable?null:this.readEntry.dev,ino:this.portable?null:this.readEntry.ino,nlink:this.portable?null:this.readEntry.nlink}).encode()),super.write(this.header.block),e.pipe(this)}[pt](e){return xf(e,this.prefix)}[Br](e){return gf(e,this.type==="Directory",this.portable)}write(e){let t=e.length;if(t>this.blockRemain)throw new Error("writing more to entry than is appropriate");return this.blockRemain-=t,super.write(e)}end(){return this.blockRemain&&super.write(Buffer.alloc(this.blockRemain)),super.end()}});Mr.Sync=il;Mr.Tar=Rw;var Tw=i=>i.isFile()?"File":i.isDirectory()?"Directory":i.isSymbolicLink()?"SymbolicLink":"Unsupported";yf.exports=Mr});var Ef=g((yO,_f)=>{"use strict";_f.exports=function(i){i.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}});var sl=g((_O,wf)=>{"use strict";wf.exports=P;P.Node=Ti;P.create=P;function P(i){var e=this;if(e instanceof P||(e=new P),e.tail=null,e.head=null,e.length=0,i&&typeof i.forEach=="function")i.forEach(function(s){e.push(s)});else if(arguments.length>0)for(var t=0,n=arguments.length;t1)t=e;else if(this.head)n=this.head.next,t=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;n!==null;s++)t=i(t,n.value,s),n=n.next;return t};P.prototype.reduceReverse=function(i,e){var t,n=this.tail;if(arguments.length>1)t=e;else if(this.tail)n=this.tail.prev,t=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;n!==null;s--)t=i(t,n.value,s),n=n.prev;return t};P.prototype.toArray=function(){for(var i=new Array(this.length),e=0,t=this.head;t!==null;e++)i[e]=t.value,t=t.next;return i};P.prototype.toArrayReverse=function(){for(var i=new Array(this.length),e=0,t=this.tail;t!==null;e++)i[e]=t.value,t=t.prev;return i};P.prototype.slice=function(i,e){e=e||this.length,e<0&&(e+=this.length),i=i||0,i<0&&(i+=this.length);var t=new P;if(ethis.length&&(e=this.length);for(var n=0,s=this.head;s!==null&&nthis.length&&(e=this.length);for(var n=this.length,s=this.tail;s!==null&&n>e;n--)s=s.prev;for(;s!==null&&n>i;n--,s=s.prev)t.push(s.value);return t};P.prototype.splice=function(i,e,...t){i>this.length&&(i=this.length-1),i<0&&(i=this.length+i);for(var n=0,s=this.head;s!==null&&n{"use strict";var $r=class{constructor(e,t){this.path=e||"./",this.absolute=t,this.entry=null,this.stat=null,this.readdir=null,this.pending=!1,this.ignore=!1,this.piped=!1}},{Minipass:Nw}=Er(),Sf=Fc(),Aw=Ar(),hl=nl(),Lw=hl.Sync,kw=hl.Tar,Dw=sl(),Rf=Buffer.alloc(1024),zr=Symbol("onStat"),jr=Symbol("ended"),dt=Symbol("queue"),on=Symbol("current"),Ci=Symbol("process"),qr=Symbol("processing"),Tf=Symbol("processJob"),ht=Symbol("jobs"),rl=Symbol("jobDone"),Hr=Symbol("addFSEntry"),Cf=Symbol("addTarEntry"),ll=Symbol("stat"),ul=Symbol("readdir"),Gr=Symbol("onreaddir"),Wr=Symbol("pipe"),Of=Symbol("entry"),al=Symbol("entryOpt"),pl=Symbol("writeEntryClass"),Nf=Symbol("write"),ol=Symbol("ondrain"),Vr=require("fs"),If=require("path"),Uw=Dr(),cl=nn(),fl=Uw(class extends Nw{constructor(e){if(super(e),e=e||Object.create(null),this.opt=e,this.file=e.file||"",this.cwd=e.cwd||process.cwd(),this.maxReadSize=e.maxReadSize,this.preservePaths=!!e.preservePaths,this.strict=!!e.strict,this.noPax=!!e.noPax,this.prefix=cl(e.prefix||""),this.linkCache=e.linkCache||new Map,this.statCache=e.statCache||new Map,this.readdirCache=e.readdirCache||new Map,this[pl]=hl,typeof e.onwarn=="function"&&this.on("warn",e.onwarn),this.portable=!!e.portable,this.zip=null,e.gzip||e.brotli){if(e.gzip&&e.brotli)throw new TypeError("gzip and brotli are mutually exclusive");e.gzip&&(typeof e.gzip!="object"&&(e.gzip={}),this.portable&&(e.gzip.portable=!0),this.zip=new Sf.Gzip(e.gzip)),e.brotli&&(typeof e.brotli!="object"&&(e.brotli={}),this.zip=new Sf.BrotliCompress(e.brotli)),this.zip.on("data",t=>super.write(t)),this.zip.on("end",t=>super.end()),this.zip.on("drain",t=>this[ol]()),this.on("resume",t=>this.zip.resume())}else this.on("drain",this[ol]);this.noDirRecurse=!!e.noDirRecurse,this.follow=!!e.follow,this.noMtime=!!e.noMtime,this.mtime=e.mtime||null,this.filter=typeof e.filter=="function"?e.filter:t=>!0,this[dt]=new Dw,this[ht]=0,this.jobs=+e.jobs||4,this[qr]=!1,this[jr]=!1}[Nf](e){return super.write(e)}add(e){return this.write(e),this}end(e){return e&&this.write(e),this[jr]=!0,this[Ci](),this}write(e){if(this[jr])throw new Error("write after end");return e instanceof Aw?this[Cf](e):this[Hr](e),this.flowing}[Cf](e){let t=cl(If.resolve(this.cwd,e.path));if(!this.filter(e.path,e))e.resume();else{let n=new $r(e.path,t,!1);n.entry=new kw(e,this[al](n)),n.entry.on("end",s=>this[rl](n)),this[ht]+=1,this[dt].push(n)}this[Ci]()}[Hr](e){let t=cl(If.resolve(this.cwd,e));this[dt].push(new $r(e,t)),this[Ci]()}[ll](e){e.pending=!0,this[ht]+=1;let t=this.follow?"stat":"lstat";Vr[t](e.absolute,(n,s)=>{e.pending=!1,this[ht]-=1,n?this.emit("error",n):this[zr](e,s)})}[zr](e,t){this.statCache.set(e.absolute,t),e.stat=t,this.filter(e.path,t)||(e.ignore=!0),this[Ci]()}[ul](e){e.pending=!0,this[ht]+=1,Vr.readdir(e.absolute,(t,n)=>{if(e.pending=!1,this[ht]-=1,t)return this.emit("error",t);this[Gr](e,n)})}[Gr](e,t){this.readdirCache.set(e.absolute,t),e.readdir=t,this[Ci]()}[Ci](){if(!this[qr]){this[qr]=!0;for(let e=this[dt].head;e!==null&&this[ht]this.warn(t,n,s),noPax:this.noPax,cwd:this.cwd,absolute:e.absolute,preservePaths:this.preservePaths,maxReadSize:this.maxReadSize,strict:this.strict,portable:this.portable,linkCache:this.linkCache,statCache:this.statCache,noMtime:this.noMtime,mtime:this.mtime,prefix:this.prefix}}[Of](e){this[ht]+=1;try{return new this[pl](e.path,this[al](e)).on("end",()=>this[rl](e)).on("error",t=>this.emit("error",t))}catch(t){this.emit("error",t)}}[ol](){this[on]&&this[on].entry&&this[on].entry.resume()}[Wr](e){e.piped=!0,e.readdir&&e.readdir.forEach(s=>{let r=e.path,a=r==="./"?"":r.replace(/\/*$/,"/");this[Hr](a+s)});let t=e.entry,n=this.zip;n?t.on("data",s=>{n.write(s)||t.pause()}):t.on("data",s=>{super.write(s)||t.pause()})}pause(){return this.zip&&this.zip.pause(),super.pause()}}),dl=class extends fl{constructor(e){super(e),this[pl]=Lw}pause(){}resume(){}[ll](e){let t=this.follow?"statSync":"lstatSync";this[zr](e,Vr[t](e.absolute))}[ul](e,t){this[Gr](e,Vr.readdirSync(e.absolute))}[Wr](e){let t=e.entry,n=this.zip;e.readdir&&e.readdir.forEach(s=>{let r=e.path,a=r==="./"?"":r.replace(/\/*$/,"/");this[Hr](a+s)}),n?t.on("data",s=>{n.write(s)}):t.on("data",s=>{super[Nf](s)})}};fl.Sync=dl;Af.exports=fl});var qf=g((SO,jf)=>{"use strict";var Lf=typeof process=="object"&&process?process:{stdout:null,stderr:null},Fw=require("events"),kf=require("stream"),Df=require("string_decoder").StringDecoder,Tt=Symbol("EOF"),Ct=Symbol("maybeEmitEnd"),ei=Symbol("emittedEnd"),Xr=Symbol("emittingEnd"),ls=Symbol("emittedError"),Yr=Symbol("closed"),Uf=Symbol("read"),Jr=Symbol("flush"),Ff=Symbol("flushChunk"),Oe=Symbol("encoding"),Ot=Symbol("decoder"),Zr=Symbol("flowing"),us=Symbol("paused"),cn=Symbol("resume"),pe=Symbol("bufferLength"),ml=Symbol("bufferPush"),xl=Symbol("bufferShift"),ye=Symbol("objectMode"),_e=Symbol("destroyed"),vl=Symbol("emitData"),Pf=Symbol("emitEnd"),bl=Symbol("emitEnd2"),It=Symbol("async"),ps=i=>Promise.resolve().then(i),Bf=global._MP_NO_ITERATOR_SYMBOLS_!=="1",Pw=Bf&&Symbol.asyncIterator||Symbol("asyncIterator not implemented"),Bw=Bf&&Symbol.iterator||Symbol("iterator not implemented"),Mw=i=>i==="end"||i==="finish"||i==="prefinish",jw=i=>i instanceof ArrayBuffer||typeof i=="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0,qw=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i),Qr=class{constructor(e,t,n){this.src=e,this.dest=t,this.opts=n,this.ondrain=()=>e[cn](),t.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},gl=class extends Qr{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,t,n){super(e,t,n),this.proxyErrors=s=>t.emit("error",s),e.on("error",this.proxyErrors)}};jf.exports=class Mf extends kf{constructor(e){super(),this[Zr]=!1,this[us]=!1,this.pipes=[],this.buffer=[],this[ye]=e&&e.objectMode||!1,this[ye]?this[Oe]=null:this[Oe]=e&&e.encoding||null,this[Oe]==="buffer"&&(this[Oe]=null),this[It]=e&&!!e.async||!1,this[Ot]=this[Oe]?new Df(this[Oe]):null,this[Tt]=!1,this[ei]=!1,this[Xr]=!1,this[Yr]=!1,this[ls]=null,this.writable=!0,this.readable=!0,this[pe]=0,this[_e]=!1}get bufferLength(){return this[pe]}get encoding(){return this[Oe]}set encoding(e){if(this[ye])throw new Error("cannot set encoding in objectMode");if(this[Oe]&&e!==this[Oe]&&(this[Ot]&&this[Ot].lastNeed||this[pe]))throw new Error("cannot change encoding");this[Oe]!==e&&(this[Ot]=e?new Df(e):null,this.buffer.length&&(this.buffer=this.buffer.map(t=>this[Ot].write(t)))),this[Oe]=e}setEncoding(e){this.encoding=e}get objectMode(){return this[ye]}set objectMode(e){this[ye]=this[ye]||!!e}get async(){return this[It]}set async(e){this[It]=this[It]||!!e}write(e,t,n){if(this[Tt])throw new Error("write after end");if(this[_e])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof t=="function"&&(n=t,t="utf8"),t||(t="utf8");let s=this[It]?ps:r=>r();return!this[ye]&&!Buffer.isBuffer(e)&&(qw(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):jw(e)?e=Buffer.from(e):typeof e!="string"&&(this.objectMode=!0)),this[ye]?(this.flowing&&this[pe]!==0&&this[Jr](!0),this.flowing?this.emit("data",e):this[ml](e),this[pe]!==0&&this.emit("readable"),n&&s(n),this.flowing):e.length?(typeof e=="string"&&!(t===this[Oe]&&!this[Ot].lastNeed)&&(e=Buffer.from(e,t)),Buffer.isBuffer(e)&&this[Oe]&&(e=this[Ot].write(e)),this.flowing&&this[pe]!==0&&this[Jr](!0),this.flowing?this.emit("data",e):this[ml](e),this[pe]!==0&&this.emit("readable"),n&&s(n),this.flowing):(this[pe]!==0&&this.emit("readable"),n&&s(n),this.flowing)}read(e){if(this[_e])return null;if(this[pe]===0||e===0||e>this[pe])return this[Ct](),null;this[ye]&&(e=null),this.buffer.length>1&&!this[ye]&&(this.encoding?this.buffer=[this.buffer.join("")]:this.buffer=[Buffer.concat(this.buffer,this[pe])]);let t=this[Uf](e||null,this.buffer[0]);return this[Ct](),t}[Uf](e,t){return e===t.length||e===null?this[xl]():(this.buffer[0]=t.slice(e),t=t.slice(0,e),this[pe]-=e),this.emit("data",t),!this.buffer.length&&!this[Tt]&&this.emit("drain"),t}end(e,t,n){return typeof e=="function"&&(n=e,e=null),typeof t=="function"&&(n=t,t="utf8"),e&&this.write(e,t),n&&this.once("end",n),this[Tt]=!0,this.writable=!1,(this.flowing||!this[us])&&this[Ct](),this}[cn](){this[_e]||(this[us]=!1,this[Zr]=!0,this.emit("resume"),this.buffer.length?this[Jr]():this[Tt]?this[Ct]():this.emit("drain"))}resume(){return this[cn]()}pause(){this[Zr]=!1,this[us]=!0}get destroyed(){return this[_e]}get flowing(){return this[Zr]}get paused(){return this[us]}[ml](e){this[ye]?this[pe]+=1:this[pe]+=e.length,this.buffer.push(e)}[xl](){return this.buffer.length&&(this[ye]?this[pe]-=1:this[pe]-=this.buffer[0].length),this.buffer.shift()}[Jr](e){do;while(this[Ff](this[xl]()));!e&&!this.buffer.length&&!this[Tt]&&this.emit("drain")}[Ff](e){return e?(this.emit("data",e),this.flowing):!1}pipe(e,t){if(this[_e])return;let n=this[ei];return t=t||{},e===Lf.stdout||e===Lf.stderr?t.end=!1:t.end=t.end!==!1,t.proxyErrors=!!t.proxyErrors,n?t.end&&e.end():(this.pipes.push(t.proxyErrors?new gl(this,e,t):new Qr(this,e,t)),this[It]?ps(()=>this[cn]()):this[cn]()),e}unpipe(e){let t=this.pipes.find(n=>n.dest===e);t&&(this.pipes.splice(this.pipes.indexOf(t),1),t.unpipe())}addListener(e,t){return this.on(e,t)}on(e,t){let n=super.on(e,t);return e==="data"&&!this.pipes.length&&!this.flowing?this[cn]():e==="readable"&&this[pe]!==0?super.emit("readable"):Mw(e)&&this[ei]?(super.emit(e),this.removeAllListeners(e)):e==="error"&&this[ls]&&(this[It]?ps(()=>t.call(this,this[ls])):t.call(this,this[ls])),n}get emittedEnd(){return this[ei]}[Ct](){!this[Xr]&&!this[ei]&&!this[_e]&&this.buffer.length===0&&this[Tt]&&(this[Xr]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Yr]&&this.emit("close"),this[Xr]=!1)}emit(e,t,...n){if(e!=="error"&&e!=="close"&&e!==_e&&this[_e])return;if(e==="data")return t?this[It]?ps(()=>this[vl](t)):this[vl](t):!1;if(e==="end")return this[Pf]();if(e==="close"){if(this[Yr]=!0,!this[ei]&&!this[_e])return;let r=super.emit("close");return this.removeAllListeners("close"),r}else if(e==="error"){this[ls]=t;let r=super.emit("error",t);return this[Ct](),r}else if(e==="resume"){let r=super.emit("resume");return this[Ct](),r}else if(e==="finish"||e==="prefinish"){let r=super.emit(e);return this.removeAllListeners(e),r}let s=super.emit(e,t,...n);return this[Ct](),s}[vl](e){for(let n of this.pipes)n.dest.write(e)===!1&&this.pause();let t=super.emit("data",e);return this[Ct](),t}[Pf](){this[ei]||(this[ei]=!0,this.readable=!1,this[It]?ps(()=>this[bl]()):this[bl]())}[bl](){if(this[Ot]){let t=this[Ot].end();if(t){for(let n of this.pipes)n.dest.write(t);super.emit("data",t)}}for(let t of this.pipes)t.end();let e=super.emit("end");return this.removeAllListeners("end"),e}collect(){let e=[];this[ye]||(e.dataLength=0);let t=this.promise();return this.on("data",n=>{e.push(n),this[ye]||(e.dataLength+=n.length)}),t.then(()=>e)}concat(){return this[ye]?Promise.reject(new Error("cannot concat in objectMode")):this.collect().then(e=>this[ye]?Promise.reject(new Error("cannot concat in objectMode")):this[Oe]?e.join(""):Buffer.concat(e,e.dataLength))}promise(){return new Promise((e,t)=>{this.on(_e,()=>t(new Error("stream destroyed"))),this.on("error",n=>t(n)),this.on("end",()=>e())})}[Pw](){return{next:()=>{let t=this.read();if(t!==null)return Promise.resolve({done:!1,value:t});if(this[Tt])return Promise.resolve({done:!0});let n=null,s=null,r=c=>{this.removeListener("data",a),this.removeListener("end",o),s(c)},a=c=>{this.removeListener("error",r),this.removeListener("end",o),this.pause(),n({value:c,done:!!this[Tt]})},o=()=>{this.removeListener("error",r),this.removeListener("data",a),n({done:!0})},u=()=>r(new Error("stream destroyed"));return new Promise((c,l)=>{s=l,n=c,this.once(_e,u),this.once("error",r),this.once("end",o),this.once("data",a)})}}}[Bw](){return{next:()=>{let t=this.read();return{value:t,done:t===null}}}}destroy(e){return this[_e]?(e?this.emit("error",e):this.emit(_e),this):(this[_e]=!0,this.buffer.length=0,this[pe]=0,typeof this.close=="function"&&!this[Yr]&&this.close(),e?this.emit("error",e):this.emit(_e),this)}static isStream(e){return!!e&&(e instanceof Mf||e instanceof kf||e instanceof Fw&&(typeof e.pipe=="function"||typeof e.write=="function"&&typeof e.end=="function"))}}});var xn=g(hs=>{"use strict";var zw=qf(),Hw=require("events").EventEmitter,Ie=require("fs"),El=Ie.writev;if(!El){let i=process.binding("fs"),e=i.FSReqWrap||i.FSReqCallback;El=(t,n,s,r)=>{let a=(u,c)=>r(u,c,n),o=new e;o.oncomplete=a,i.writeBuffers(t,n,s,o)}}var fn=Symbol("_autoClose"),Qe=Symbol("_close"),ds=Symbol("_ended"),q=Symbol("_fd"),zf=Symbol("_finished"),ii=Symbol("_flags"),yl=Symbol("_flush"),wl=Symbol("_handleChunk"),Sl=Symbol("_makeBuf"),sa=Symbol("_mode"),ea=Symbol("_needDrain"),dn=Symbol("_onerror"),mn=Symbol("_onopen"),_l=Symbol("_onread"),un=Symbol("_onwrite"),ni=Symbol("_open"),Nt=Symbol("_path"),Oi=Symbol("_pos"),ft=Symbol("_queue"),pn=Symbol("_read"),Hf=Symbol("_readSize"),ti=Symbol("_reading"),ta=Symbol("_remain"),Gf=Symbol("_size"),ia=Symbol("_write"),ln=Symbol("_writing"),na=Symbol("_defaultFlag"),hn=Symbol("_errored"),ra=class extends zw{constructor(e,t){if(t=t||{},super(t),this.readable=!0,this.writable=!1,typeof e!="string")throw new TypeError("path must be a string");this[hn]=!1,this[q]=typeof t.fd=="number"?t.fd:null,this[Nt]=e,this[Hf]=t.readSize||16*1024*1024,this[ti]=!1,this[Gf]=typeof t.size=="number"?t.size:1/0,this[ta]=this[Gf],this[fn]=typeof t.autoClose=="boolean"?t.autoClose:!0,typeof this[q]=="number"?this[pn]():this[ni]()}get fd(){return this[q]}get path(){return this[Nt]}write(){throw new TypeError("this is a readable stream")}end(){throw new TypeError("this is a readable stream")}[ni](){Ie.open(this[Nt],"r",(e,t)=>this[mn](e,t))}[mn](e,t){e?this[dn](e):(this[q]=t,this.emit("open",t),this[pn]())}[Sl](){return Buffer.allocUnsafe(Math.min(this[Hf],this[ta]))}[pn](){if(!this[ti]){this[ti]=!0;let e=this[Sl]();if(e.length===0)return process.nextTick(()=>this[_l](null,0,e));Ie.read(this[q],e,0,e.length,null,(t,n,s)=>this[_l](t,n,s))}}[_l](e,t,n){this[ti]=!1,e?this[dn](e):this[wl](t,n)&&this[pn]()}[Qe](){if(this[fn]&&typeof this[q]=="number"){let e=this[q];this[q]=null,Ie.close(e,t=>t?this.emit("error",t):this.emit("close"))}}[dn](e){this[ti]=!0,this[Qe](),this.emit("error",e)}[wl](e,t){let n=!1;return this[ta]-=e,e>0&&(n=super.write(ethis[mn](e,t))}[mn](e,t){this[na]&&this[ii]==="r+"&&e&&e.code==="ENOENT"?(this[ii]="w",this[ni]()):e?this[dn](e):(this[q]=t,this.emit("open",t),this[yl]())}end(e,t){return e&&this.write(e,t),this[ds]=!0,!this[ln]&&!this[ft].length&&typeof this[q]=="number"&&this[un](null,0),this}write(e,t){return typeof e=="string"&&(e=Buffer.from(e,t)),this[ds]?(this.emit("error",new Error("write() after end()")),!1):this[q]===null||this[ln]||this[ft].length?(this[ft].push(e),this[ea]=!0,!1):(this[ln]=!0,this[ia](e),!0)}[ia](e){Ie.write(this[q],e,0,e.length,this[Oi],(t,n)=>this[un](t,n))}[un](e,t){e?this[dn](e):(this[Oi]!==null&&(this[Oi]+=t),this[ft].length?this[yl]():(this[ln]=!1,this[ds]&&!this[zf]?(this[zf]=!0,this[Qe](),this.emit("finish")):this[ea]&&(this[ea]=!1,this.emit("drain"))))}[yl](){if(this[ft].length===0)this[ds]&&this[un](null,0);else if(this[ft].length===1)this[ia](this[ft].pop());else{let e=this[ft];this[ft]=[],El(this[q],e,this[Oi],(t,n)=>this[un](t,n))}}[Qe](){if(this[fn]&&typeof this[q]=="number"){let e=this[q];this[q]=null,Ie.close(e,t=>t?this.emit("error",t):this.emit("close"))}}},Tl=class extends aa{[ni](){let e;if(this[na]&&this[ii]==="r+")try{e=Ie.openSync(this[Nt],this[ii],this[sa])}catch(t){if(t.code==="ENOENT")return this[ii]="w",this[ni]();throw t}else e=Ie.openSync(this[Nt],this[ii],this[sa]);this[mn](null,e)}[Qe](){if(this[fn]&&typeof this[q]=="number"){let e=this[q];this[q]=null,Ie.closeSync(e),this.emit("close")}}[ia](e){let t=!0;try{this[un](null,Ie.writeSync(this[q],e,0,e.length,this[Oi])),t=!1}finally{if(t)try{this[Qe]()}catch{}}}};hs.ReadStream=ra;hs.ReadStreamSync=Rl;hs.WriteStream=aa;hs.WriteStreamSync=Tl});var ha=g((CO,em)=>{"use strict";var Gw=Dr(),Wf=rn(),Ww=require("events"),$w=sl(),Vw=1024*1024,Kw=Ar(),$f=kr(),Vf=Fc(),{nextTick:Xw}=require("process"),Cl=Buffer.from([31,139]),qe=Symbol("state"),Ii=Symbol("writeEntry"),At=Symbol("readEntry"),Ol=Symbol("nextEntry"),Kf=Symbol("processEntry"),ze=Symbol("extendedHeader"),fs=Symbol("globalExtendedHeader"),si=Symbol("meta"),Xf=Symbol("emitMeta"),G=Symbol("buffer"),Lt=Symbol("queue"),ri=Symbol("ended"),Yf=Symbol("emittedEnd"),Ni=Symbol("emit"),de=Symbol("unzip"),oa=Symbol("consumeChunk"),ca=Symbol("consumeChunkSub"),Il=Symbol("consumeBody"),Jf=Symbol("consumeMeta"),Zf=Symbol("consumeHeader"),la=Symbol("consuming"),Nl=Symbol("bufferConcat"),Al=Symbol("maybeEnd"),ms=Symbol("writing"),ai=Symbol("aborted"),ua=Symbol("onDone"),Ai=Symbol("sawValidEntry"),pa=Symbol("sawNullBlock"),da=Symbol("sawEOF"),Qf=Symbol("closeStream"),Yw=i=>!0;em.exports=Gw(class extends Ww{constructor(e){e=e||{},super(e),this.file=e.file||"",this[Ai]=null,this.on(ua,n=>{(this[qe]==="begin"||this[Ai]===!1)&&this.warn("TAR_BAD_ARCHIVE","Unrecognized archive format")}),e.ondone?this.on(ua,e.ondone):this.on(ua,n=>{this.emit("prefinish"),this.emit("finish"),this.emit("end")}),this.strict=!!e.strict,this.maxMetaEntrySize=e.maxMetaEntrySize||Vw,this.filter=typeof e.filter=="function"?e.filter:Yw;let t=e.file&&(e.file.endsWith(".tar.br")||e.file.endsWith(".tbr"));this.brotli=!e.gzip&&e.brotli!==void 0?e.brotli:t?void 0:!1,this.writable=!0,this.readable=!1,this[Lt]=new $w,this[G]=null,this[At]=null,this[Ii]=null,this[qe]="begin",this[si]="",this[ze]=null,this[fs]=null,this[ri]=!1,this[de]=null,this[ai]=!1,this[pa]=!1,this[da]=!1,this.on("end",()=>this[Qf]()),typeof e.onwarn=="function"&&this.on("warn",e.onwarn),typeof e.onentry=="function"&&this.on("entry",e.onentry)}[Zf](e,t){this[Ai]===null&&(this[Ai]=!1);let n;try{n=new Wf(e,t,this[ze],this[fs])}catch(s){return this.warn("TAR_ENTRY_INVALID",s)}if(n.nullBlock)this[pa]?(this[da]=!0,this[qe]==="begin"&&(this[qe]="header"),this[Ni]("eof")):(this[pa]=!0,this[Ni]("nullBlock"));else if(this[pa]=!1,!n.cksumValid)this.warn("TAR_ENTRY_INVALID","checksum failure",{header:n});else if(!n.path)this.warn("TAR_ENTRY_INVALID","path is required",{header:n});else{let s=n.type;if(/^(Symbolic)?Link$/.test(s)&&!n.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath required",{header:n});else if(!/^(Symbolic)?Link$/.test(s)&&n.linkpath)this.warn("TAR_ENTRY_INVALID","linkpath forbidden",{header:n});else{let r=this[Ii]=new Kw(n,this[ze],this[fs]);if(!this[Ai])if(r.remain){let a=()=>{r.invalid||(this[Ai]=!0)};r.on("end",a)}else this[Ai]=!0;r.meta?r.size>this.maxMetaEntrySize?(r.ignore=!0,this[Ni]("ignoredEntry",r),this[qe]="ignore",r.resume()):r.size>0&&(this[si]="",r.on("data",a=>this[si]+=a),this[qe]="meta"):(this[ze]=null,r.ignore=r.ignore||!this.filter(r.path,r),r.ignore?(this[Ni]("ignoredEntry",r),this[qe]=r.remain?"ignore":"header",r.resume()):(r.remain?this[qe]="body":(this[qe]="header",r.end()),this[At]?this[Lt].push(r):(this[Lt].push(r),this[Ol]())))}}}[Qf](){Xw(()=>this.emit("close"))}[Kf](e){let t=!0;return e?Array.isArray(e)?this.emit.apply(this,e):(this[At]=e,this.emit("entry",e),e.emittedEnd||(e.on("end",n=>this[Ol]()),t=!1)):(this[At]=null,t=!1),t}[Ol](){do;while(this[Kf](this[Lt].shift()));if(!this[Lt].length){let e=this[At];!e||e.flowing||e.size===e.remain?this[ms]||this.emit("drain"):e.once("drain",n=>this.emit("drain"))}}[Il](e,t){let n=this[Ii],s=n.blockRemain,r=s>=e.length&&t===0?e:e.slice(t,t+s);return n.write(r),n.blockRemain||(this[qe]="header",this[Ii]=null,n.end()),r.length}[Jf](e,t){let n=this[Ii],s=this[Il](e,t);return this[Ii]||this[Xf](n),s}[Ni](e,t,n){!this[Lt].length&&!this[At]?this.emit(e,t,n):this[Lt].push([e,t,n])}[Xf](e){switch(this[Ni]("meta",this[si]),e.type){case"ExtendedHeader":case"OldExtendedHeader":this[ze]=$f.parse(this[si],this[ze],!1);break;case"GlobalExtendedHeader":this[fs]=$f.parse(this[si],this[fs],!0);break;case"NextFileHasLongPath":case"OldGnuLongPath":this[ze]=this[ze]||Object.create(null),this[ze].path=this[si].replace(/\0.*/,"");break;case"NextFileHasLongLinkpath":this[ze]=this[ze]||Object.create(null),this[ze].linkpath=this[si].replace(/\0.*/,"");break;default:throw new Error("unknown meta: "+e.type)}}abort(e){this[ai]=!0,this.emit("abort",e),this.warn("TAR_ABORT",e,{recoverable:!1})}write(e){if(this[ai])return;if((this[de]===null||this.brotli===void 0&&this[de]===!1)&&e){if(this[G]&&(e=Buffer.concat([this[G],e]),this[G]=null),e.lengththis[oa](o)),this[de].on("error",o=>this.abort(o)),this[de].on("end",o=>{this[ri]=!0,this[oa]()}),this[ms]=!0;let a=this[de][r?"end":"write"](e);return this[ms]=!1,a}}this[ms]=!0,this[de]?this[de].write(e):this[oa](e),this[ms]=!1;let n=this[Lt].length?!1:this[At]?this[At].flowing:!0;return!n&&!this[Lt].length&&this[At].once("drain",s=>this.emit("drain")),n}[Nl](e){e&&!this[ai]&&(this[G]=this[G]?Buffer.concat([this[G],e]):e)}[Al](){if(this[ri]&&!this[Yf]&&!this[ai]&&!this[la]){this[Yf]=!0;let e=this[Ii];if(e&&e.blockRemain){let t=this[G]?this[G].length:0;this.warn("TAR_BAD_ARCHIVE",`Truncated input (needed ${e.blockRemain} more bytes, only ${t} available)`,{entry:e}),this[G]&&e.write(this[G]),e.end()}this[Ni](ua)}}[oa](e){if(this[la])this[Nl](e);else if(!e&&!this[G])this[Al]();else{if(this[la]=!0,this[G]){this[Nl](e);let t=this[G];this[G]=null,this[ca](t)}else this[ca](e);for(;this[G]&&this[G].length>=512&&!this[ai]&&!this[da];){let t=this[G];this[G]=null,this[ca](t)}this[la]=!1}(!this[G]||this[ri])&&this[Al]()}[ca](e){let t=0,n=e.length;for(;t+512<=n&&!this[ai]&&!this[da];)switch(this[qe]){case"begin":case"header":this[Zf](e,t),t+=512;break;case"ignore":case"body":t+=this[Il](e,t);break;case"meta":t+=this[Jf](e,t);break;default:throw new Error("invalid state: "+this[qe])}t{"use strict";var Jw=Ji(),im=ha(),vn=require("fs"),Zw=xn(),tm=require("path"),Ll=an();sm.exports=(i,e,t)=>{typeof i=="function"?(t=i,e=null,i={}):Array.isArray(i)&&(e=i,i={}),typeof e=="function"&&(t=e,e=null),e?e=Array.from(e):e=[];let n=Jw(i);if(n.sync&&typeof t=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof t=="function")throw new TypeError("callback only supported with file option");return e.length&&e0(n,e),n.noResume||Qw(n),n.file&&n.sync?t0(n):n.file?i0(n,t):nm(n)};var Qw=i=>{let e=i.onentry;i.onentry=e?t=>{e(t),t.resume()}:t=>t.resume()},e0=(i,e)=>{let t=new Map(e.map(r=>[Ll(r),!0])),n=i.filter,s=(r,a)=>{let o=a||tm.parse(r).root||".",u=r===o?!1:t.has(r)?t.get(r):s(tm.dirname(r),o);return t.set(r,u),u};i.filter=n?(r,a)=>n(r,a)&&s(Ll(r)):r=>s(Ll(r))},t0=i=>{let e=nm(i),t=i.file,n=!0,s;try{let r=vn.statSync(t),a=i.maxReadSize||16*1024*1024;if(r.size{let t=new im(i),n=i.maxReadSize||16*1024*1024,s=i.file,r=new Promise((a,o)=>{t.on("error",o),t.on("end",a),vn.stat(s,(u,c)=>{if(u)o(u);else{let l=new Zw.ReadStream(s,{readSize:n,size:c.size});l.on("error",o),l.pipe(t)}})});return e?r.then(e,e):r},nm=i=>new im(i)});var um=g((IO,lm)=>{"use strict";var n0=Ji(),ma=Kr(),rm=xn(),am=fa(),om=require("path");lm.exports=(i,e,t)=>{if(typeof e=="function"&&(t=e),Array.isArray(i)&&(e=i,i={}),!e||!Array.isArray(e)||!e.length)throw new TypeError("no files or directories specified");e=Array.from(e);let n=n0(i);if(n.sync&&typeof t=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof t=="function")throw new TypeError("callback only supported with file option");return n.file&&n.sync?s0(n,e):n.file?r0(n,e,t):n.sync?a0(n,e):o0(n,e)};var s0=(i,e)=>{let t=new ma.Sync(i),n=new rm.WriteStreamSync(i.file,{mode:i.mode||438});t.pipe(n),cm(t,e)},r0=(i,e,t)=>{let n=new ma(i),s=new rm.WriteStream(i.file,{mode:i.mode||438});n.pipe(s);let r=new Promise((a,o)=>{s.on("error",o),s.on("close",a),n.on("error",o)});return kl(n,e),t?r.then(t,t):r},cm=(i,e)=>{e.forEach(t=>{t.charAt(0)==="@"?am({file:om.resolve(i.cwd,t.slice(1)),sync:!0,noResume:!0,onentry:n=>i.add(n)}):i.add(t)}),i.end()},kl=(i,e)=>{for(;e.length;){let t=e.shift();if(t.charAt(0)==="@")return am({file:om.resolve(i.cwd,t.slice(1)),noResume:!0,onentry:n=>i.add(n)}).then(n=>kl(i,e));i.add(t)}i.end()},a0=(i,e)=>{let t=new ma.Sync(i);return cm(t,e),t},o0=(i,e)=>{let t=new ma(i);return kl(t,e),t}});var Dl=g((NO,vm)=>{"use strict";var c0=Ji(),pm=Kr(),Ue=require("fs"),dm=xn(),hm=fa(),fm=require("path"),mm=rn();vm.exports=(i,e,t)=>{let n=c0(i);if(!n.file)throw new TypeError("file is required");if(n.gzip||n.brotli||n.file.endsWith(".br")||n.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!e||!Array.isArray(e)||!e.length)throw new TypeError("no files or directories specified");return e=Array.from(e),n.sync?l0(n,e):p0(n,e,t)};var l0=(i,e)=>{let t=new pm.Sync(i),n=!0,s,r;try{try{s=Ue.openSync(i.file,"r+")}catch(u){if(u.code==="ENOENT")s=Ue.openSync(i.file,"w+");else throw u}let a=Ue.fstatSync(s),o=Buffer.alloc(512);e:for(r=0;ra.size)break;r+=c,i.mtimeCache&&i.mtimeCache.set(u.path,u.mtime)}n=!1,u0(i,t,r,s,e)}finally{if(n)try{Ue.closeSync(s)}catch{}}},u0=(i,e,t,n,s)=>{let r=new dm.WriteStreamSync(i.file,{fd:n,start:t});e.pipe(r),d0(e,s)},p0=(i,e,t)=>{e=Array.from(e);let n=new pm(i),s=(a,o,u)=>{let c=(h,x)=>{h?Ue.close(a,b=>u(h)):u(null,x)},l=0;if(o===0)return c(null,0);let p=0,d=Buffer.alloc(512),f=(h,x)=>{if(h)return c(h);if(p+=x,p<512&&x)return Ue.read(a,d,p,d.length-p,l+p,f);if(l===0&&d[0]===31&&d[1]===139)return c(new Error("cannot append to compressed archives"));if(p<512)return c(null,l);let b=new mm(d);if(!b.cksumValid)return c(null,l);let v=512*Math.ceil(b.size/512);if(l+v+512>o||(l+=v+512,l>=o))return c(null,l);i.mtimeCache&&i.mtimeCache.set(b.path,b.mtime),p=0,Ue.read(a,d,0,512,l,f)};Ue.read(a,d,0,512,l,f)},r=new Promise((a,o)=>{n.on("error",o);let u="r+",c=(l,p)=>{if(l&&l.code==="ENOENT"&&u==="r+")return u="w+",Ue.open(i.file,u,c);if(l)return o(l);Ue.fstat(p,(d,f)=>{if(d)return Ue.close(p,()=>o(d));s(p,f.size,(h,x)=>{if(h)return o(h);let b=new dm.WriteStream(i.file,{fd:p,start:x});n.pipe(b),b.on("error",o),b.on("close",a),xm(n,e)})})};Ue.open(i.file,u,c)});return t?r.then(t,t):r},d0=(i,e)=>{e.forEach(t=>{t.charAt(0)==="@"?hm({file:fm.resolve(i.cwd,t.slice(1)),sync:!0,noResume:!0,onentry:n=>i.add(n)}):i.add(t)}),i.end()},xm=(i,e)=>{for(;e.length;){let t=e.shift();if(t.charAt(0)==="@")return hm({file:fm.resolve(i.cwd,t.slice(1)),noResume:!0,onentry:n=>i.add(n)}).then(n=>xm(i,e));i.add(t)}i.end()}});var gm=g((AO,bm)=>{"use strict";var h0=Ji(),f0=Dl();bm.exports=(i,e,t)=>{let n=h0(i);if(!n.file)throw new TypeError("file is required");if(n.gzip||n.brotli||n.file.endsWith(".br")||n.file.endsWith(".tbr"))throw new TypeError("cannot append to compressed archives");if(!e||!Array.isArray(e)||!e.length)throw new TypeError("no files or directories specified");return e=Array.from(e),m0(n),f0(n,e,t)};var m0=i=>{let e=i.filter;i.mtimeCache||(i.mtimeCache=new Map),i.filter=e?(t,n)=>e(t,n)&&!(i.mtimeCache.get(t)>n.mtime):(t,n)=>!(i.mtimeCache.get(t)>n.mtime)}});var Em=g((LO,_m)=>{"use strict";var{promisify:ym}=require("util"),oi=require("fs"),x0=i=>{if(!i)i={mode:511,fs:oi};else if(typeof i=="object")i={mode:511,fs:oi,...i};else if(typeof i=="number")i={mode:i,fs:oi};else if(typeof i=="string")i={mode:parseInt(i,8),fs:oi};else throw new TypeError("invalid options argument");return i.mkdir=i.mkdir||i.fs.mkdir||oi.mkdir,i.mkdirAsync=ym(i.mkdir),i.stat=i.stat||i.fs.stat||oi.stat,i.statAsync=ym(i.stat),i.statSync=i.statSync||i.fs.statSync||oi.statSync,i.mkdirSync=i.mkdirSync||i.fs.mkdirSync||oi.mkdirSync,i};_m.exports=x0});var Sm=g((kO,wm)=>{"use strict";var v0=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform,{resolve:b0,parse:g0}=require("path"),y0=i=>{if(/\0/.test(i))throw Object.assign(new TypeError("path must be a string without null bytes"),{path:i,code:"ERR_INVALID_ARG_VALUE"});if(i=b0(i),v0==="win32"){let e=/[*|"<>?:]/,{root:t}=g0(i);if(e.test(i.substr(t.length)))throw Object.assign(new Error("Illegal characters in path."),{path:i,code:"EINVAL"})}return i};wm.exports=y0});var Im=g((DO,Om)=>{"use strict";var{dirname:Rm}=require("path"),Tm=(i,e,t=void 0)=>t===e?Promise.resolve():i.statAsync(e).then(n=>n.isDirectory()?t:void 0,n=>n.code==="ENOENT"?Tm(i,Rm(e),e):void 0),Cm=(i,e,t=void 0)=>{if(t!==e)try{return i.statSync(e).isDirectory()?t:void 0}catch(n){return n.code==="ENOENT"?Cm(i,Rm(e),e):void 0}};Om.exports={findMade:Tm,findMadeSync:Cm}});var Pl=g((UO,Am)=>{"use strict";var{dirname:Nm}=require("path"),Ul=(i,e,t)=>{e.recursive=!1;let n=Nm(i);return n===i?e.mkdirAsync(i,e).catch(s=>{if(s.code!=="EISDIR")throw s}):e.mkdirAsync(i,e).then(()=>t||i,s=>{if(s.code==="ENOENT")return Ul(n,e).then(r=>Ul(i,e,r));if(s.code!=="EEXIST"&&s.code!=="EROFS")throw s;return e.statAsync(i).then(r=>{if(r.isDirectory())return t;throw s},()=>{throw s})})},Fl=(i,e,t)=>{let n=Nm(i);if(e.recursive=!1,n===i)try{return e.mkdirSync(i,e)}catch(s){if(s.code!=="EISDIR")throw s;return}try{return e.mkdirSync(i,e),t||i}catch(s){if(s.code==="ENOENT")return Fl(i,e,Fl(n,e,t));if(s.code!=="EEXIST"&&s.code!=="EROFS")throw s;try{if(!e.statSync(i).isDirectory())throw s}catch{throw s}}};Am.exports={mkdirpManual:Ul,mkdirpManualSync:Fl}});var Dm=g((FO,km)=>{"use strict";var{dirname:Lm}=require("path"),{findMade:_0,findMadeSync:E0}=Im(),{mkdirpManual:w0,mkdirpManualSync:S0}=Pl(),R0=(i,e)=>(e.recursive=!0,Lm(i)===i?e.mkdirAsync(i,e):_0(e,i).then(n=>e.mkdirAsync(i,e).then(()=>n).catch(s=>{if(s.code==="ENOENT")return w0(i,e);throw s}))),T0=(i,e)=>{if(e.recursive=!0,Lm(i)===i)return e.mkdirSync(i,e);let n=E0(e,i);try{return e.mkdirSync(i,e),n}catch(s){if(s.code==="ENOENT")return S0(i,e);throw s}};km.exports={mkdirpNative:R0,mkdirpNativeSync:T0}});var Bm=g((PO,Pm)=>{"use strict";var Um=require("fs"),C0=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version,Bl=C0.replace(/^v/,"").split("."),Fm=+Bl[0]>10||+Bl[0]==10&&+Bl[1]>=12,O0=Fm?i=>i.mkdir===Um.mkdir:()=>!1,I0=Fm?i=>i.mkdirSync===Um.mkdirSync:()=>!1;Pm.exports={useNative:O0,useNativeSync:I0}});var Gm=g((BO,Hm)=>{"use strict";var bn=Em(),gn=Sm(),{mkdirpNative:Mm,mkdirpNativeSync:jm}=Dm(),{mkdirpManual:qm,mkdirpManualSync:zm}=Pl(),{useNative:N0,useNativeSync:A0}=Bm(),yn=(i,e)=>(i=gn(i),e=bn(e),N0(e)?Mm(i,e):qm(i,e)),L0=(i,e)=>(i=gn(i),e=bn(e),A0(e)?jm(i,e):zm(i,e));yn.sync=L0;yn.native=(i,e)=>Mm(gn(i),bn(e));yn.manual=(i,e)=>qm(gn(i),bn(e));yn.nativeSync=(i,e)=>jm(gn(i),bn(e));yn.manualSync=(i,e)=>zm(gn(i),bn(e));Hm.exports=yn});var Jm=g((MO,Ym)=>{"use strict";var He=require("fs"),Li=require("path"),k0=He.lchown?"lchown":"chown",D0=He.lchownSync?"lchownSync":"chownSync",$m=He.lchown&&!process.version.match(/v1[1-9]+\./)&&!process.version.match(/v10\.[6-9]/),Wm=(i,e,t)=>{try{return He[D0](i,e,t)}catch(n){if(n.code!=="ENOENT")throw n}},U0=(i,e,t)=>{try{return He.chownSync(i,e,t)}catch(n){if(n.code!=="ENOENT")throw n}},F0=$m?(i,e,t,n)=>s=>{!s||s.code!=="EISDIR"?n(s):He.chown(i,e,t,n)}:(i,e,t,n)=>n,Ml=$m?(i,e,t)=>{try{return Wm(i,e,t)}catch(n){if(n.code!=="EISDIR")throw n;U0(i,e,t)}}:(i,e,t)=>Wm(i,e,t),P0=process.version,Vm=(i,e,t)=>He.readdir(i,e,t),B0=(i,e)=>He.readdirSync(i,e);/^v4\./.test(P0)&&(Vm=(i,e,t)=>He.readdir(i,t));var xa=(i,e,t,n)=>{He[k0](i,e,t,F0(i,e,t,s=>{n(s&&s.code!=="ENOENT"?s:null)}))},Km=(i,e,t,n,s)=>{if(typeof e=="string")return He.lstat(Li.resolve(i,e),(r,a)=>{if(r)return s(r.code!=="ENOENT"?r:null);a.name=e,Km(i,a,t,n,s)});if(e.isDirectory())jl(Li.resolve(i,e.name),t,n,r=>{if(r)return s(r);let a=Li.resolve(i,e.name);xa(a,t,n,s)});else{let r=Li.resolve(i,e.name);xa(r,t,n,s)}},jl=(i,e,t,n)=>{Vm(i,{withFileTypes:!0},(s,r)=>{if(s){if(s.code==="ENOENT")return n();if(s.code!=="ENOTDIR"&&s.code!=="ENOTSUP")return n(s)}if(s||!r.length)return xa(i,e,t,n);let a=r.length,o=null,u=c=>{if(!o){if(c)return n(o=c);if(--a===0)return xa(i,e,t,n)}};r.forEach(c=>Km(i,c,e,t,u))})},M0=(i,e,t,n)=>{if(typeof e=="string")try{let s=He.lstatSync(Li.resolve(i,e));s.name=e,e=s}catch(s){if(s.code==="ENOENT")return;throw s}e.isDirectory()&&Xm(Li.resolve(i,e.name),t,n),Ml(Li.resolve(i,e.name),t,n)},Xm=(i,e,t)=>{let n;try{n=B0(i,{withFileTypes:!0})}catch(s){if(s.code==="ENOENT")return;if(s.code==="ENOTDIR"||s.code==="ENOTSUP")return Ml(i,e,t);throw s}return n&&n.length&&n.forEach(s=>M0(i,s,e,t)),Ml(i,e,t)};Ym.exports=jl;jl.sync=Xm});var tx=g((jO,ql)=>{"use strict";var Zm=Gm(),Ge=require("fs"),va=require("path"),Qm=Jm(),et=nn(),ba=class extends Error{constructor(e,t){super("Cannot extract through symbolic link"),this.path=t,this.symlink=e}get name(){return"SylinkError"}},ga=class extends Error{constructor(e,t){super(t+": Cannot cd into '"+e+"'"),this.path=e,this.code=t}get name(){return"CwdError"}},ya=(i,e)=>i.get(et(e)),xs=(i,e,t)=>i.set(et(e),t),j0=(i,e)=>{Ge.stat(i,(t,n)=>{(t||!n.isDirectory())&&(t=new ga(i,t&&t.code||"ENOTDIR")),e(t)})};ql.exports=(i,e,t)=>{i=et(i);let n=e.umask,s=e.mode|448,r=(s&n)!==0,a=e.uid,o=e.gid,u=typeof a=="number"&&typeof o=="number"&&(a!==e.processUid||o!==e.processGid),c=e.preserve,l=e.unlink,p=e.cache,d=et(e.cwd),f=(b,v)=>{b?t(b):(xs(p,i,!0),v&&u?Qm(v,a,o,E=>f(E)):r?Ge.chmod(i,s,t):t())};if(p&&ya(p,i)===!0)return f();if(i===d)return j0(i,f);if(c)return Zm(i,{mode:s}).then(b=>f(null,b),f);let x=et(va.relative(d,i)).split("/");_a(d,x,s,p,l,d,null,f)};var _a=(i,e,t,n,s,r,a,o)=>{if(!e.length)return o(null,a);let u=e.shift(),c=et(va.resolve(i+"/"+u));if(ya(n,c))return _a(c,e,t,n,s,r,a,o);Ge.mkdir(c,t,ex(c,e,t,n,s,r,a,o))},ex=(i,e,t,n,s,r,a,o)=>u=>{u?Ge.lstat(i,(c,l)=>{if(c)c.path=c.path&&et(c.path),o(c);else if(l.isDirectory())_a(i,e,t,n,s,r,a,o);else if(s)Ge.unlink(i,p=>{if(p)return o(p);Ge.mkdir(i,t,ex(i,e,t,n,s,r,a,o))});else{if(l.isSymbolicLink())return o(new ba(i,i+"/"+e.join("/")));o(u)}}):(a=a||i,_a(i,e,t,n,s,r,a,o))},q0=i=>{let e=!1,t="ENOTDIR";try{e=Ge.statSync(i).isDirectory()}catch(n){t=n.code}finally{if(!e)throw new ga(i,t)}};ql.exports.sync=(i,e)=>{i=et(i);let t=e.umask,n=e.mode|448,s=(n&t)!==0,r=e.uid,a=e.gid,o=typeof r=="number"&&typeof a=="number"&&(r!==e.processUid||a!==e.processGid),u=e.preserve,c=e.unlink,l=e.cache,p=et(e.cwd),d=b=>{xs(l,i,!0),b&&o&&Qm.sync(b,r,a),s&&Ge.chmodSync(i,n)};if(l&&ya(l,i)===!0)return d();if(i===p)return q0(p),d();if(u)return d(Zm.sync(i,n));let h=et(va.relative(p,i)).split("/"),x=null;for(let b=h.shift(),v=p;b&&(v+="/"+b);b=h.shift())if(v=et(va.resolve(v)),!ya(l,v))try{Ge.mkdirSync(v,n),x=x||v,xs(l,v,!0)}catch{let _=Ge.lstatSync(v);if(_.isDirectory()){xs(l,v,!0);continue}else if(c){Ge.unlinkSync(v),Ge.mkdirSync(v,n),x=x||v,xs(l,v,!0);continue}else if(_.isSymbolicLink())return new ba(v,v+"/"+h.join("/"))}return d(x)}});var Hl=g((qO,ix)=>{"use strict";var zl=Object.create(null),{hasOwnProperty:z0}=Object.prototype;ix.exports=i=>(z0.call(zl,i)||(zl[i]=i.normalize("NFD")),zl[i])});var ax=g((zO,rx)=>{"use strict";var nx=require("assert"),H0=Hl(),G0=an(),{join:sx}=require("path"),W0=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,$0=W0==="win32";rx.exports=()=>{let i=new Map,e=new Map,t=c=>c.split("/").slice(0,-1).reduce((p,d)=>(p.length&&(d=sx(p[p.length-1],d)),p.push(d||"/"),p),[]),n=new Set,s=c=>{let l=e.get(c);if(!l)throw new Error("function does not have any path reservations");return{paths:l.paths.map(p=>i.get(p)),dirs:[...l.dirs].map(p=>i.get(p))}},r=c=>{let{paths:l,dirs:p}=s(c);return l.every(d=>d[0]===c)&&p.every(d=>d[0]instanceof Set&&d[0].has(c))},a=c=>n.has(c)||!r(c)?!1:(n.add(c),c(()=>o(c)),!0),o=c=>{if(!n.has(c))return!1;let{paths:l,dirs:p}=e.get(c),d=new Set;return l.forEach(f=>{let h=i.get(f);nx.equal(h[0],c),h.length===1?i.delete(f):(h.shift(),typeof h[0]=="function"?d.add(h[0]):h[0].forEach(x=>d.add(x)))}),p.forEach(f=>{let h=i.get(f);nx(h[0]instanceof Set),h[0].size===1&&h.length===1?i.delete(f):h[0].size===1?(h.shift(),d.add(h[0])):h[0].delete(c)}),n.delete(c),d.forEach(f=>a(f)),!0};return{check:r,reserve:(c,l)=>{c=$0?["win32 parallelization disabled"]:c.map(d=>G0(sx(H0(d))).toLowerCase());let p=new Set(c.map(d=>t(d)).reduce((d,f)=>d.concat(f)));return e.set(l,{dirs:p,paths:c}),c.forEach(d=>{let f=i.get(d);f?f.push(l):i.set(d,[l])}),p.forEach(d=>{let f=i.get(d);f?f[f.length-1]instanceof Set?f[f.length-1].add(l):f.push(new Set([l])):i.set(d,[new Set([l])])}),a(l)}}}});var lx=g((HO,cx)=>{"use strict";var V0=process.env.__FAKE_PLATFORM__||process.platform,K0=V0==="win32",X0=global.__FAKE_TESTING_FS__||require("fs"),{O_CREAT:Y0,O_TRUNC:J0,O_WRONLY:Z0,UV_FS_O_FILEMAP:ox=0}=X0.constants,Q0=K0&&!!ox,eS=512*1024,tS=ox|J0|Y0|Z0;cx.exports=Q0?i=>i"w"});var Zl=g((GO,wx)=>{"use strict";var iS=require("assert"),nS=ha(),B=require("fs"),sS=xn(),kt=require("path"),yx=tx(),ux=$c(),rS=ax(),aS=Vc(),We=nn(),oS=an(),cS=Hl(),px=Symbol("onEntry"),$l=Symbol("checkFs"),dx=Symbol("checkFs2"),Sa=Symbol("pruneCache"),Vl=Symbol("isReusable"),$e=Symbol("makeFs"),Kl=Symbol("file"),Xl=Symbol("directory"),Ra=Symbol("link"),hx=Symbol("symlink"),fx=Symbol("hardlink"),mx=Symbol("unsupported"),xx=Symbol("checkPath"),ci=Symbol("mkdir"),Ee=Symbol("onError"),Ea=Symbol("pending"),vx=Symbol("pend"),_n=Symbol("unpend"),Gl=Symbol("ended"),Wl=Symbol("maybeClose"),Yl=Symbol("skip"),vs=Symbol("doChown"),bs=Symbol("uid"),gs=Symbol("gid"),ys=Symbol("checkedCwd"),_x=require("crypto"),Ex=lx(),lS=process.env.TESTING_TAR_FAKE_PLATFORM||process.platform,_s=lS==="win32",uS=1024,pS=(i,e)=>{if(!_s)return B.unlink(i,e);let t=i+".DELETE."+_x.randomBytes(16).toString("hex");B.rename(i,t,n=>{if(n)return e(n);B.unlink(t,e)})},dS=i=>{if(!_s)return B.unlinkSync(i);let e=i+".DELETE."+_x.randomBytes(16).toString("hex");B.renameSync(i,e),B.unlinkSync(e)},bx=(i,e,t)=>i===i>>>0?i:e===e>>>0?e:t,gx=i=>oS(We(cS(i))).toLowerCase(),hS=(i,e)=>{e=gx(e);for(let t of i.keys()){let n=gx(t);(n===e||n.indexOf(e+"/")===0)&&i.delete(t)}},fS=i=>{for(let e of i.keys())i.delete(e)},Es=class extends nS{constructor(e){if(e||(e={}),e.ondone=t=>{this[Gl]=!0,this[Wl]()},super(e),this[ys]=!1,this.reservations=rS(),this.transform=typeof e.transform=="function"?e.transform:null,this.writable=!0,this.readable=!1,this[Ea]=0,this[Gl]=!1,this.dirCache=e.dirCache||new Map,typeof e.uid=="number"||typeof e.gid=="number"){if(typeof e.uid!="number"||typeof e.gid!="number")throw new TypeError("cannot set owner without number uid and gid");if(e.preserveOwner)throw new TypeError("cannot preserve owner in archive and also set owner explicitly");this.uid=e.uid,this.gid=e.gid,this.setOwner=!0}else this.uid=null,this.gid=null,this.setOwner=!1;e.preserveOwner===void 0&&typeof e.uid!="number"?this.preserveOwner=process.getuid&&process.getuid()===0:this.preserveOwner=!!e.preserveOwner,this.processUid=(this.preserveOwner||this.setOwner)&&process.getuid?process.getuid():null,this.processGid=(this.preserveOwner||this.setOwner)&&process.getgid?process.getgid():null,this.maxDepth=typeof e.maxDepth=="number"?e.maxDepth:uS,this.forceChown=e.forceChown===!0,this.win32=!!e.win32||_s,this.newer=!!e.newer,this.keep=!!e.keep,this.noMtime=!!e.noMtime,this.preservePaths=!!e.preservePaths,this.unlink=!!e.unlink,this.cwd=We(kt.resolve(e.cwd||process.cwd())),this.strip=+e.strip||0,this.processUmask=e.noChmod?0:process.umask(),this.umask=typeof e.umask=="number"?e.umask:this.processUmask,this.dmode=e.dmode||511&~this.umask,this.fmode=e.fmode||438&~this.umask,this.on("entry",t=>this[px](t))}warn(e,t,n={}){return(e==="TAR_BAD_ARCHIVE"||e==="TAR_ABORT")&&(n.recoverable=!1),super.warn(e,t,n)}[Wl](){this[Gl]&&this[Ea]===0&&(this.emit("prefinish"),this.emit("finish"),this.emit("end"))}[xx](e){let t=We(e.path),n=t.split("/");if(this.strip){if(n.length=this.strip)e.linkpath=s.slice(this.strip).join("/");else return!1}n.splice(0,this.strip),e.path=n.join("/")}if(isFinite(this.maxDepth)&&n.length>this.maxDepth)return this.warn("TAR_ENTRY_ERROR","path excessively deep",{entry:e,path:t,depth:n.length,maxDepth:this.maxDepth}),!1;if(!this.preservePaths){if(n.includes("..")||_s&&/^[a-z]:\.\.$/i.test(n[0]))return this.warn("TAR_ENTRY_ERROR","path contains '..'",{entry:e,path:t}),!1;let[s,r]=aS(t);s&&(e.path=r,this.warn("TAR_ENTRY_INFO",`stripping ${s} from absolute path`,{entry:e,path:t}))}if(kt.isAbsolute(e.path)?e.absolute=We(kt.resolve(e.path)):e.absolute=We(kt.resolve(this.cwd,e.path)),!this.preservePaths&&e.absolute.indexOf(this.cwd+"/")!==0&&e.absolute!==this.cwd)return this.warn("TAR_ENTRY_ERROR","path escaped extraction target",{entry:e,path:We(e.path),resolvedPath:e.absolute,cwd:this.cwd}),!1;if(e.absolute===this.cwd&&e.type!=="Directory"&&e.type!=="GNUDumpDir")return!1;if(this.win32){let{root:s}=kt.win32.parse(e.absolute);e.absolute=s+ux.encode(e.absolute.slice(s.length));let{root:r}=kt.win32.parse(e.path);e.path=r+ux.encode(e.path.slice(r.length))}return!0}[px](e){if(!this[xx](e))return e.resume();switch(iS.equal(typeof e.absolute,"string"),e.type){case"Directory":case"GNUDumpDir":e.mode&&(e.mode=e.mode|448);case"File":case"OldFile":case"ContiguousFile":case"Link":case"SymbolicLink":return this[$l](e);case"CharacterDevice":case"BlockDevice":case"FIFO":default:return this[mx](e)}}[Ee](e,t){e.name==="CwdError"?this.emit("error",e):(this.warn("TAR_ENTRY_ERROR",e,{entry:t}),this[_n](),t.resume())}[ci](e,t,n){yx(We(e),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:t,noChmod:this.noChmod},n)}[vs](e){return this.forceChown||this.preserveOwner&&(typeof e.uid=="number"&&e.uid!==this.processUid||typeof e.gid=="number"&&e.gid!==this.processGid)||typeof this.uid=="number"&&this.uid!==this.processUid||typeof this.gid=="number"&&this.gid!==this.processGid}[bs](e){return bx(this.uid,e.uid,this.processUid)}[gs](e){return bx(this.gid,e.gid,this.processGid)}[Kl](e,t){let n=e.mode&4095||this.fmode,s=new sS.WriteStream(e.absolute,{flags:Ex(e.size),mode:n,autoClose:!1});s.on("error",u=>{s.fd&&B.close(s.fd,()=>{}),s.write=()=>!0,this[Ee](u,e),t()});let r=1,a=u=>{if(u){s.fd&&B.close(s.fd,()=>{}),this[Ee](u,e),t();return}--r===0&&B.close(s.fd,c=>{c?this[Ee](c,e):this[_n](),t()})};s.on("finish",u=>{let c=e.absolute,l=s.fd;if(e.mtime&&!this.noMtime){r++;let p=e.atime||new Date,d=e.mtime;B.futimes(l,p,d,f=>f?B.utimes(c,p,d,h=>a(h&&f)):a())}if(this[vs](e)){r++;let p=this[bs](e),d=this[gs](e);B.fchown(l,p,d,f=>f?B.chown(c,p,d,h=>a(h&&f)):a())}a()});let o=this.transform&&this.transform(e)||e;o!==e&&(o.on("error",u=>{this[Ee](u,e),t()}),e.pipe(o)),o.pipe(s)}[Xl](e,t){let n=e.mode&4095||this.dmode;this[ci](e.absolute,n,s=>{if(s){this[Ee](s,e),t();return}let r=1,a=o=>{--r===0&&(t(),this[_n](),e.resume())};e.mtime&&!this.noMtime&&(r++,B.utimes(e.absolute,e.atime||new Date,e.mtime,a)),this[vs](e)&&(r++,B.chown(e.absolute,this[bs](e),this[gs](e),a)),a()})}[mx](e){e.unsupported=!0,this.warn("TAR_ENTRY_UNSUPPORTED",`unsupported entry type: ${e.type}`,{entry:e}),e.resume()}[hx](e,t){this[Ra](e,e.linkpath,"symlink",t)}[fx](e,t){let n=We(kt.resolve(this.cwd,e.linkpath));this[Ra](e,n,"link",t)}[vx](){this[Ea]++}[_n](){this[Ea]--,this[Wl]()}[Yl](e){this[_n](),e.resume()}[Vl](e,t){return e.type==="File"&&!this.unlink&&t.isFile()&&t.nlink<=1&&!_s}[$l](e){this[vx]();let t=[e.path];e.linkpath&&t.push(e.linkpath),this.reservations.reserve(t,n=>this[dx](e,n))}[Sa](e){e.type==="SymbolicLink"?fS(this.dirCache):e.type!=="Directory"&&hS(this.dirCache,e.absolute)}[dx](e,t){this[Sa](e);let n=o=>{this[Sa](e),t(o)},s=()=>{this[ci](this.cwd,this.dmode,o=>{if(o){this[Ee](o,e),n();return}this[ys]=!0,r()})},r=()=>{if(e.absolute!==this.cwd){let o=We(kt.dirname(e.absolute));if(o!==this.cwd)return this[ci](o,this.dmode,u=>{if(u){this[Ee](u,e),n();return}a()})}a()},a=()=>{B.lstat(e.absolute,(o,u)=>{if(u&&(this.keep||this.newer&&u.mtime>e.mtime)){this[Yl](e),n();return}if(o||this[Vl](e,u))return this[$e](null,e,n);if(u.isDirectory()){if(e.type==="Directory"){let c=!this.noChmod&&e.mode&&(u.mode&4095)!==e.mode,l=p=>this[$e](p,e,n);return c?B.chmod(e.absolute,e.mode,l):l()}if(e.absolute!==this.cwd)return B.rmdir(e.absolute,c=>this[$e](c,e,n))}if(e.absolute===this.cwd)return this[$e](null,e,n);pS(e.absolute,c=>this[$e](c,e,n))})};this[ys]?r():s()}[$e](e,t,n){if(e){this[Ee](e,t),n();return}switch(t.type){case"File":case"OldFile":case"ContiguousFile":return this[Kl](t,n);case"Link":return this[fx](t,n);case"SymbolicLink":return this[hx](t,n);case"Directory":case"GNUDumpDir":return this[Xl](t,n)}}[Ra](e,t,n,s){B[n](t,e.absolute,r=>{r?this[Ee](r,e):(this[_n](),e.resume()),s()})}},wa=i=>{try{return[null,i()]}catch(e){return[e,null]}},Jl=class extends Es{[$e](e,t){return super[$e](e,t,()=>{})}[$l](e){if(this[Sa](e),!this[ys]){let r=this[ci](this.cwd,this.dmode);if(r)return this[Ee](r,e);this[ys]=!0}if(e.absolute!==this.cwd){let r=We(kt.dirname(e.absolute));if(r!==this.cwd){let a=this[ci](r,this.dmode);if(a)return this[Ee](a,e)}}let[t,n]=wa(()=>B.lstatSync(e.absolute));if(n&&(this.keep||this.newer&&n.mtime>e.mtime))return this[Yl](e);if(t||this[Vl](e,n))return this[$e](null,e);if(n.isDirectory()){if(e.type==="Directory"){let a=!this.noChmod&&e.mode&&(n.mode&4095)!==e.mode,[o]=a?wa(()=>{B.chmodSync(e.absolute,e.mode)}):[];return this[$e](o,e)}let[r]=wa(()=>B.rmdirSync(e.absolute));this[$e](r,e)}let[s]=e.absolute===this.cwd?[]:wa(()=>dS(e.absolute));this[$e](s,e)}[Kl](e,t){let n=e.mode&4095||this.fmode,s=o=>{let u;try{B.closeSync(r)}catch(c){u=c}(o||u)&&this[Ee](o||u,e),t()},r;try{r=B.openSync(e.absolute,Ex(e.size),n)}catch(o){return s(o)}let a=this.transform&&this.transform(e)||e;a!==e&&(a.on("error",o=>this[Ee](o,e)),e.pipe(a)),a.on("data",o=>{try{B.writeSync(r,o,0,o.length)}catch(u){s(u)}}),a.on("end",o=>{let u=null;if(e.mtime&&!this.noMtime){let c=e.atime||new Date,l=e.mtime;try{B.futimesSync(r,c,l)}catch(p){try{B.utimesSync(e.absolute,c,l)}catch{u=p}}}if(this[vs](e)){let c=this[bs](e),l=this[gs](e);try{B.fchownSync(r,c,l)}catch(p){try{B.chownSync(e.absolute,c,l)}catch{u=u||p}}}s(u)})}[Xl](e,t){let n=e.mode&4095||this.dmode,s=this[ci](e.absolute,n);if(s){this[Ee](s,e),t();return}if(e.mtime&&!this.noMtime)try{B.utimesSync(e.absolute,e.atime||new Date,e.mtime)}catch{}if(this[vs](e))try{B.chownSync(e.absolute,this[bs](e),this[gs](e))}catch{}t(),e.resume()}[ci](e,t){try{return yx.sync(We(e),{uid:this.uid,gid:this.gid,processUid:this.processUid,processGid:this.processGid,umask:this.processUmask,preserve:this.preservePaths,unlink:this.unlink,cache:this.dirCache,cwd:this.cwd,mode:t})}catch(n){return n}}[Ra](e,t,n,s){try{B[n+"Sync"](t,e.absolute),s(),e.resume()}catch(r){return this[Ee](r,e)}}};Es.Sync=Jl;wx.exports=Es});var Ox=g((WO,Cx)=>{"use strict";var mS=Ji(),Ta=Zl(),Rx=require("fs"),Tx=xn(),Sx=require("path"),Ql=an();Cx.exports=(i,e,t)=>{typeof i=="function"?(t=i,e=null,i={}):Array.isArray(i)&&(e=i,i={}),typeof e=="function"&&(t=e,e=null),e?e=Array.from(e):e=[];let n=mS(i);if(n.sync&&typeof t=="function")throw new TypeError("callback not supported for sync tar functions");if(!n.file&&typeof t=="function")throw new TypeError("callback only supported with file option");return e.length&&xS(n,e),n.file&&n.sync?vS(n):n.file?bS(n,t):n.sync?gS(n):yS(n)};var xS=(i,e)=>{let t=new Map(e.map(r=>[Ql(r),!0])),n=i.filter,s=(r,a)=>{let o=a||Sx.parse(r).root||".",u=r===o?!1:t.has(r)?t.get(r):s(Sx.dirname(r),o);return t.set(r,u),u};i.filter=n?(r,a)=>n(r,a)&&s(Ql(r)):r=>s(Ql(r))},vS=i=>{let e=new Ta.Sync(i),t=i.file,n=Rx.statSync(t),s=i.maxReadSize||16*1024*1024;new Tx.ReadStreamSync(t,{readSize:s,size:n.size}).pipe(e)},bS=(i,e)=>{let t=new Ta(i),n=i.maxReadSize||16*1024*1024,s=i.file,r=new Promise((a,o)=>{t.on("error",o),t.on("close",a),Rx.stat(s,(u,c)=>{if(u)o(u);else{let l=new Tx.ReadStream(s,{readSize:n,size:c.size});l.on("error",o),l.pipe(t)}})});return e?r.then(e,e):r},gS=i=>new Ta.Sync(i),yS=i=>new Ta(i)});var Ix=g(re=>{"use strict";re.c=re.create=um();re.r=re.replace=Dl();re.t=re.list=fa();re.u=re.update=gm();re.x=re.extract=Ox();re.Pack=Kr();re.Unpack=Zl();re.Parse=ha();re.ReadEntry=Ar();re.WriteEntry=nl();re.Header=rn();re.Pax=kr();re.types=Mc()});var Ax=g((VO,Nx)=>{"use strict";Nx.exports=typeof queueMicrotask=="function"?queueMicrotask:i=>Promise.resolve().then(i)});var kx=g((KO,Lx)=>{"use strict";Lx.exports=typeof process<"u"&&typeof process.nextTick=="function"?process.nextTick.bind(process):Ax()});var Ux=g((YO,Dx)=>{"use strict";Dx.exports=class{constructor(e){if(!(e>0)||e-1&e)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(e),this.mask=e-1,this.top=0,this.btm=0,this.next=null}clear(){this.top=this.btm=0,this.next=null,this.buffer.fill(void 0)}push(e){return this.buffer[this.top]!==void 0?!1:(this.buffer[this.top]=e,this.top=this.top+1&this.mask,!0)}shift(){let e=this.buffer[this.btm];if(e!==void 0)return this.buffer[this.btm]=void 0,this.btm=this.btm+1&this.mask,e}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===void 0}}});var eu=g((ZO,Px)=>{"use strict";var Fx=Ux();Px.exports=class{constructor(e){this.hwm=e||16,this.head=new Fx(this.hwm),this.tail=this.head,this.length=0}clear(){this.head=this.tail,this.head.clear(),this.length=0}push(e){if(this.length++,!this.head.push(e)){let t=this.head;this.head=t.next=new Fx(2*this.head.buffer.length),this.head.push(e)}}shift(){this.length!==0&&this.length--;let e=this.tail.shift();if(e===void 0&&this.tail.next){let t=this.tail.next;return this.tail.next=null,this.tail=t,this.tail.shift()}return e}peek(){let e=this.tail.peek();return e===void 0&&this.tail.next?this.tail.next.peek():e}isEmpty(){return this.length===0}}});var En=g((QO,Bx)=>{"use strict";function _S(i){return Buffer.isBuffer(i)||i instanceof Uint8Array}function ES(i){return Buffer.isEncoding(i)}function wS(i,e,t){return Buffer.alloc(i,e,t)}function SS(i){return Buffer.allocUnsafe(i)}function RS(i){return Buffer.allocUnsafeSlow(i)}function TS(i,e){return Buffer.byteLength(i,e)}function CS(i,e){return Buffer.compare(i,e)}function OS(i,e){return Buffer.concat(i,e)}function IS(i,e,t,n,s){return se(i).copy(e,t,n,s)}function NS(i,e){return se(i).equals(e)}function AS(i,e,t,n,s){return se(i).fill(e,t,n,s)}function LS(i,e,t){return Buffer.from(i,e,t)}function kS(i,e,t,n){return se(i).includes(e,t,n)}function DS(i,e,t,n){return se(i).indexOf(e,t,n)}function US(i,e,t,n){return se(i).lastIndexOf(e,t,n)}function FS(i){return se(i).swap16()}function PS(i){return se(i).swap32()}function BS(i){return se(i).swap64()}function se(i){return Buffer.isBuffer(i)?i:Buffer.from(i.buffer,i.byteOffset,i.byteLength)}function MS(i,e,t,n){return se(i).toString(e,t,n)}function jS(i,e,t,n,s){return se(i).write(e,t,n,s)}function qS(i,e,t){return se(i).writeDoubleLE(e,t)}function zS(i,e,t){return se(i).writeFloatLE(e,t)}function HS(i,e,t){return se(i).writeUInt32LE(e,t)}function GS(i,e,t){return se(i).writeInt32LE(e,t)}function WS(i,e){return se(i).readDoubleLE(e)}function $S(i,e){return se(i).readFloatLE(e)}function VS(i,e){return se(i).readUInt32LE(e)}function KS(i,e){return se(i).readInt32LE(e)}Bx.exports={isBuffer:_S,isEncoding:ES,alloc:wS,allocUnsafe:SS,allocUnsafeSlow:RS,byteLength:TS,compare:CS,concat:OS,copy:IS,equals:NS,fill:AS,from:LS,includes:kS,indexOf:DS,lastIndexOf:US,swap16:FS,swap32:PS,swap64:BS,toBuffer:se,toString:MS,write:jS,writeDoubleLE:qS,writeFloatLE:zS,writeUInt32LE:HS,writeInt32LE:GS,readDoubleLE:WS,readFloatLE:$S,readUInt32LE:VS,readInt32LE:KS}});var jx=g((tI,Mx)=>{"use strict";var XS=En();Mx.exports=class{constructor(e){this.encoding=e}decode(e){return XS.toString(e,this.encoding)}flush(){return""}}});var zx=g((nI,qx)=>{"use strict";var YS=En();qx.exports=class{constructor(){this.codePoint=0,this.bytesSeen=0,this.bytesNeeded=0,this.lowerBoundary=128,this.upperBoundary=191}decode(e){if(this.bytesNeeded===0){let n=!0;for(let s=Math.max(0,e.byteLength-4),r=e.byteLength;s=194&&r<=223?(this.bytesNeeded=1,this.codePoint=r&31):r>=224&&r<=239?(r===224?this.lowerBoundary=160:r===237&&(this.upperBoundary=159),this.bytesNeeded=2,this.codePoint=r&15):r>=240&&r<=244?(r===240&&(this.lowerBoundary=144),r===244&&(this.upperBoundary=143),this.bytesNeeded=3,this.codePoint=r&7):t+="\uFFFD";continue}if(rthis.upperBoundary){this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191,t+="\uFFFD";continue}this.lowerBoundary=128,this.upperBoundary=191,this.codePoint=this.codePoint<<6|r&63,this.bytesSeen++,this.bytesSeen===this.bytesNeeded&&(t+=String.fromCodePoint(this.codePoint),this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0)}return t}flush(){let e=this.bytesNeeded>0?"\uFFFD":"";return this.codePoint=0,this.bytesNeeded=0,this.bytesSeen=0,this.lowerBoundary=128,this.upperBoundary=191,e}}});var Gx=g((rI,Hx)=>{"use strict";var JS=jx(),ZS=zx();Hx.exports=class{constructor(e="utf8"){switch(this.encoding=QS(e),this.encoding){case"utf8":this.decoder=new ZS;break;case"utf16le":case"base64":throw new Error("Unsupported encoding: "+this.encoding);default:this.decoder=new JS(this.encoding)}}push(e){return typeof e=="string"?e:this.decoder.decode(e)}write(e){return this.push(e)}end(e){let t="";return e&&(t=this.push(e)),t+=this.decoder.flush(),t}};function QS(i){switch(i=i.toLowerCase(),i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:throw new Error("Unknown encoding: "+i)}}});var xu=g((aI,fv)=>{"use strict";var{EventEmitter:eR}=require("events"),La=new Error("Stream was destroyed"),tu=new Error("Premature close"),Xx=kx(),Yx=eu(),tR=Gx(),K=(1<<29)-1,Pi=1,cu=2,ki=4,ws=8,Jx=K^Pi,iR=K^cu,Is=16,Ss=32,Cn=64,li=128,Ns=256,lu=512,Di=1024,iu=2048,uu=4096,pu=8192,tt=16384,wn=32768,ka=65536,Ui=131072,Zx=Ns|lu,nR=Is|ka,sR=Cn|Is,rR=uu|li,du=Ns|Ui,aR=K^Is,oR=K^Cn,cR=K^(Cn|ka),lR=K^ka,uR=K^Ns,pR=K^(li|pu),dR=K^Di,Wx=K^Zx,Qx=K^wn,hR=K^Ss,ev=K^Ui,fR=K^du,ui=1<<18,Rn=2<<18,As=4<<18,Fi=8<<18,Ls=16<<18,Bi=32<<18,nu=64<<18,Sn=128<<18,hu=256<<18,Tn=512<<18,Da=1024<<18,tv=K^(ui|hu),iv=K^As,mR=K^Tn,xR=K^Ls,vR=K^Fi,nv=K^Sn,bR=K^Rn,sv=K^Da,Rs=Is|ui,rv=K^Rs,fu=tt|Bi,Dt=ki|ws|cu,Fe=Dt|Pi,av=Dt|fu,gR=iv&oR,mu=Sn|wn,yR=mu&rv,ov=Fe|yR,_R=Fe|Di|tt,$x=Fe|tt|li,ER=Fe|Di|li,wR=Fe|uu|li|pu,SR=Fe|Is|Di|tt|ka|Ui,RR=Dt|Di|tt,TR=Ss|Fe|wn|Cn,CR=Fe|Tn|Bi,OR=Fi|Ls,cv=Fi|ui,IR=Fi|Ls|Fe|ui,Vx=Fe|ui|Fi|Da,NR=As|ui,AR=ui|hu,LR=Fe|Tn|cv|Bi,kR=Ls|Dt|Tn|Bi,DR=Rn|Fe|Sn|As,Ca=Symbol.asyncIterator||Symbol("asyncIterator"),Oa=class{constructor(e,{highWaterMark:t=16384,map:n=null,mapWritable:s,byteLength:r,byteLengthWritable:a}={}){this.stream=e,this.queue=new Yx,this.highWaterMark=t,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=a||r||hv,this.map=s||n,this.afterWrite=PR.bind(this),this.afterUpdateNextTick=jR.bind(this)}get ended(){return(this.stream._duplexState&Bi)!==0}push(e){return this.map!==null&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0,this.error=null,this.pipeline=null,this.byteLength=a||r||hv,this.map=s||n,this.pipeTo=null,this.afterRead=BR.bind(this),this.afterUpdateNextTick=MR.bind(this)}get ended(){return(this.stream._duplexState&tt)!==0}pipe(e,t){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof t!="function"&&(t=null),this.stream._duplexState|=lu,this.pipeTo=e,this.pipeline=new au(this.stream,e,t),t&&this.stream.on("error",Kx),Os(e))e._writableState.pipeline=this.pipeline,t&&e.on("error",Kx),e.on("finish",this.pipeline.finished.bind(this.pipeline));else{let n=this.pipeline.done.bind(this.pipeline,e),s=this.pipeline.done.bind(this.pipeline,e,null);e.on("error",n),e.on("close",s),e.on("finish",this.pipeline.finished.bind(this.pipeline))}e.on("drain",UR.bind(this)),this.stream.emit("piping",e),e.emit("pipe",this.stream)}push(e){let t=this.stream;return e===null?(this.highWaterMark=0,t._duplexState=(t._duplexState|Di)&cR,!1):this.map!==null&&(e=this.map(e),e===null)?this.buffered0;)t.push(this.shift());for(let n=0;n0;)n.drains.shift().resolve(!1);n.pipeline!==null&&n.pipeline.done(e,i)}}function PR(i){let e=this.stream;i&&e.destroy(i),e._duplexState&=tv,this.drains!==null&&qR(this.drains),(e._duplexState&IR)===Ls&&(e._duplexState&=xR,(e._duplexState&nu)===nu&&e.emit("drain")),this.updateCallback()}function BR(i){i&&this.stream.destroy(i),this.stream._duplexState&=aR,this.readAhead===!1&&!(this.stream._duplexState&Ns)&&(this.stream._duplexState&=ev),this.updateCallback()}function MR(){this.stream._duplexState&Ss||(this.stream._duplexState&=Qx,this.update())}function jR(){this.stream._duplexState&Rn||(this.stream._duplexState&=nv,this.update())}function qR(i){for(let e=0;e=e._readableState.highWaterMark}static isPaused(e){return(e._duplexState&Ns)===0}[Ca](){let e=this,t=null,n=null,s=null;return this.on("error",c=>{t=c}),this.on("readable",r),this.on("close",a),{[Ca](){return this},next(){return new Promise(function(c,l){n=c,s=l;let p=e.read();p!==null?o(p):e._duplexState&ws&&o(null)})},return(){return u(null)},throw(c){return u(c)}};function r(){n!==null&&o(e.read())}function a(){n!==null&&o(null)}function o(c){s!==null&&(t?s(t):c===null&&!(e._duplexState&tt)?s(La):n({value:c,done:c===null}),s=n=null)}function u(c){return e.destroy(c),new Promise((l,p)=>{if(e._duplexState&ws)return l({value:void 0,done:!0});e.once("close",function(){c?p(c):l({value:void 0,done:!0})})})}}},Na=class extends Ts{constructor(e){super(e),this._duplexState|=Pi|tt,this._writableState=new Oa(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}cork(){this._duplexState|=Da}uncork(){this._duplexState&=sv,this._writableState.updateNextTick()}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}static isBackpressured(e){return(e._duplexState&kR)!==0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let t=e._writableState,s=(JR(e)?Math.min(1,t.queue.length):t.queue.length)+(e._duplexState&hu?1:0);return s===0?Promise.resolve(!0):(t.drains===null&&(t.drains=[]),new Promise(r=>{t.drains.push({writes:s,resolve:r})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Cs=class extends Ia{constructor(e){super(e),this._duplexState=Pi|this._duplexState&Ui,this._writableState=new Oa(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}cork(){this._duplexState|=Da}uncork(){this._duplexState&=sv,this._writableState.updateNextTick()}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Aa=class extends Cs{constructor(e){super(e),this._transformState=new ru(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(this._transformState.data!==null){let t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}destroy(e){super.destroy(e),this._transformState.data!==null&&(this._transformState.data=null,this._transformState.afterTransform())}_transform(e,t){t(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(GR.bind(this))}},ou=class extends Aa{};function GR(i,e){let t=this._transformState.afterFinal;if(i)return t(i);e!=null&&this.push(e),this.push(null),t(null)}function WR(...i){return new Promise((e,t)=>pv(...i,n=>{if(n)return t(n);e()}))}function pv(i,...e){let t=Array.isArray(i)?[...i,...e]:[i,...e],n=t.length&&typeof t[t.length-1]=="function"?t.pop():null;if(t.length<2)throw new Error("Pipeline requires at least 2 streams");let s=t[0],r=null,a=null;for(let c=1;c1,u),s.pipe(r)),s=r;if(n){let c=!1,l=Os(r)||!!(r._writableState&&r._writableState.autoDestroy);r.on("error",p=>{a===null&&(a=p)}),r.on("finish",()=>{c=!0,l||n(a)}),l&&r.on("close",()=>n(a||(c?null:tu)))}return r;function o(c,l,p,d){c.on("error",d),c.on("close",f);function f(){if(l&&c._readableState&&!c._readableState.ended||p&&c._writableState&&!c._writableState.ended)return d(tu)}}function u(c){if(!(!c||a)){a=c;for(let l of t)l.destroy(c)}}}function $R(i){return i}function dv(i){return!!i._readableState||!!i._writableState}function Os(i){return typeof i._duplexState=="number"&&dv(i)}function VR(i){let e=i._readableState&&i._readableState.error||i._writableState&&i._writableState.error;return e===La?null:e}function KR(i){return Os(i)&&i.readable}function XR(i){return typeof i=="object"&&i!==null&&typeof i.byteLength=="number"}function hv(i){return XR(i)?i.byteLength:1024}function Kx(){}function YR(){this.destroy(new Error("Stream aborted."))}function JR(i){return i._writev!==Na.prototype._writev&&i._writev!==Cs.prototype._writev}fv.exports={pipeline:pv,pipelinePromise:WR,isStream:dv,isStreamx:Os,getStreamError:VR,Stream:Ts,Writable:Na,Readable:Ia,Duplex:Cs,Transform:Aa,PassThrough:ou}});var gu=g(In=>{"use strict";var D=En(),ZR="0000000000000000000",QR="7777777777777777777",Ua=48,mv=D.from([117,115,116,97,114,0]),eT=D.from([Ua,Ua]),tT=D.from([117,115,116,97,114,32]),iT=D.from([32,0]),nT=4095,ks=257,bu=263;In.decodeLongPath=function(e,t){return On(e,0,e.length,t)};In.encodePax=function(e){let t="";e.name&&(t+=vu(" path="+e.name+`
`)),e.linkname&&(t+=vu(" linkpath="+e.linkname+`
`));let n=e.pax;if(n)for(let s in n)t+=vu(" "+s+"="+n[s]+`
`);return D.from(t)};In.decodePax=function(e){let t={};for(;e.length;){let n=0;for(;n100;){let r=n.indexOf("/");if(r===-1)return null;s+=s?"/"+n.slice(0,r):n.slice(0,r),n=n.slice(r+1)}return D.byteLength(n)>100||D.byteLength(s)>155||e.linkname&&D.byteLength(e.linkname)>100?null:(D.write(t,n),D.write(t,di(e.mode&nT,6),100),D.write(t,di(e.uid,6),108),D.write(t,di(e.gid,6),116),uT(e.size,t,124),D.write(t,di(e.mtime.getTime()/1e3|0,11),136),t[156]=Ua+cT(e.type),e.linkname&&D.write(t,e.linkname,157),D.copy(mv,t,ks),D.copy(eT,t,bu),e.uname&&D.write(t,e.uname,265),e.gname&&D.write(t,e.gname,297),D.write(t,di(e.devmajor||0,6),329),D.write(t,di(e.devminor||0,6),337),s&&D.write(t,s,345),D.write(t,di(vv(t),6),148),t)};In.decode=function(e,t,n){let s=e[156]===0?0:e[156]-Ua,r=On(e,0,100,t),a=pi(e,100,8),o=pi(e,108,8),u=pi(e,116,8),c=pi(e,124,12),l=pi(e,136,12),p=oT(s),d=e[157]===0?null:On(e,157,100,t),f=On(e,265,32),h=On(e,297,32),x=pi(e,329,8),b=pi(e,337,8),v=vv(e);if(v===8*32)return null;if(v!==pi(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(sT(e))e[345]&&(r=On(e,345,155,t)+"/"+r);else if(!rT(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return s===0&&r&&r[r.length-1]==="/"&&(s=5),{name:r,mode:a,uid:o,gid:u,size:c,mtime:new Date(1e3*l),type:p,linkname:d,uname:f,gname:h,devmajor:x,devminor:b,pax:null}};function sT(i){return D.equals(mv,i.subarray(ks,ks+6))}function rT(i){return D.equals(tT,i.subarray(ks,ks+6))&&D.equals(iT,i.subarray(bu,bu+2))}function aT(i,e,t){return typeof i!="number"?t:(i=~~i,i>=e?e:i>=0||(i+=e,i>=0)?i:0)}function oT(i){switch(i){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function cT(i){switch(i){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function xv(i,e,t,n){for(;te?QR.slice(0,e)+" ":ZR.slice(0,e-i.length)+i+" "}function lT(i,e,t){e[t]=128;for(let n=11;n>0;n--)e[t+n]=i&255,i=Math.floor(i/256)}function uT(i,e,t){i.toString(8).length>11?lT(i,e,t):D.write(e,di(i,11),t)}function pT(i){let e;if(i[0]===128)e=!0;else if(i[0]===255)e=!1;else return null;let t=[],n;for(n=i.length-1;n>0;n--){let a=i[n];e?t.push(a):t.push(255-a)}let s=0,r=t.length;for(n=0;n=Math.pow(10,t)&&t++,e+t+i}});var Ev=g((cI,_v)=>{"use strict";var{Writable:dT,Readable:hT,getStreamError:bv}=xu(),fT=eu(),gv=En(),Nn=gu(),mT=gv.alloc(0),_u=class{constructor(){this.buffered=0,this.shifted=0,this.queue=new fT,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return mT;let t=this._next(e);if(e===t.byteLength)return t;let n=[t];for(;(e-=t.byteLength)>0;)t=this._next(e),n.push(t);return gv.concat(n)}_next(e){let t=this.queue.peek(),n=t.byteLength-this._offset;if(e>=n){let s=this._offset?t.subarray(this._offset,t.byteLength):t;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,s}return this.buffered-=e,this.shifted+=e,t.subarray(this._offset,this._offset+=e)}},Eu=class extends hT{constructor(e,t,n){super(),this.header=t,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(bv(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=yv(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},wu=class extends dT{constructor(e){super(e),e||(e={}),this._buffer=new _u,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=yu,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=Nn.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return this._locked=!0,this._applyLongHeaders(),this._header.size===0||this._header.type==="directory"?(this.emit("entry",this._header,this._createStream(),this._unlockBound),!0):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound),!0)}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=Nn.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=Nn.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=Nn.decodePax(e);break;case"pax-header":this._pax=this._paxGlobal===null?Nn.decodePax(e):Object.assign({},this._paxGlobal,Nn.decodePax(e));break}}_consumeLongHeader(){this._longHeader=!1,this._missing=yv(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(t){return this._continueWrite(t),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(e===null)return!1;this._missing-=e.byteLength;let t=this._stream.push(e);return this._missing===0?(this._stream.push(null),t&&this._stream._detach(),t&&this._locked===!1):t}_createStream(){return new Eu(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===!1)return;continue}if(this._longHeader===!0){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===!1)return!1;continue}let e=this._buffer.shiftFirst(this._missing);e!==null&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===!1)return}this._continueWrite(null)}_continueWrite(e){let t=this._callback;this._callback=yu,t(e)}_write(e,t){this._callback=t,this._buffer.push(e),this._update()}_final(e){this._finished=this._missing===0&&this._buffer.buffered===0,e(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(bv(this)),e(null)}[Symbol.asyncIterator](){let e=null,t=null,n=null,s=null,r=null,a=this;return this.on("entry",c),this.on("error",d=>{e=d}),this.on("close",l),{[Symbol.asyncIterator](){return this},next(){return new Promise(u)},return(){return p(null)},throw(d){return p(d)}};function o(d){if(!r)return;let f=r;r=null,f(d)}function u(d,f){if(e)return f(e);if(s){d({value:s,done:!1}),s=null;return}t=d,n=f,o(null),a._finished&&t&&(t({value:void 0,done:!0}),t=n=null)}function c(d,f,h){r=h,f.on("error",yu),t?(t({value:f,done:!1}),t=n=null):s=f}function l(){o(e),t&&(e?n(e):t({value:void 0,done:!0}),t=n=null)}function p(d){return a.destroy(d),o(d),new Promise((f,h)=>{if(a.destroyed)return f({value:void 0,done:!0});a.once("close",function(){d?h(d):f({value:void 0,done:!0})})})}}};_v.exports=function(e){return new wu(e)};function yu(){}function yv(i){return i&=511,i&&512-i}});var Sv=g((lI,Su)=>{"use strict";var wv={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{Su.exports=require("fs").constants||wv}catch{Su.exports=wv}});var Iv=g((uI,Ov)=>{"use strict";var{Readable:xT,Writable:vT,getStreamError:Rv}=xu(),Mi=En(),An=Sv(),Fa=gu(),bT=493,gT=420,Tv=Mi.alloc(1024),Tu=class extends vT{constructor(e,t,n){super({mapWritable:_T,eagerOpen:!0}),this.written=0,this.header=t,this._callback=n,this._linkname=null,this._isLinkname=t.type==="symlink"&&!t.linkname,this._isVoid=t.type!=="file"&&t.type!=="contiguous-file",this._finished=!1,this._pack=e,this._openCallback=null,this._pack._stream===null?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(this._callback===null)return;let t=this._callback;this._callback=null,t(e)}_continueOpen(){this._pack._stream===null&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,e!==null){if(this._pack.destroying)return e(new Error("pack stream destroyed"));if(this._pack._finalized)return e(new Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,t){if(this._isLinkname)return this._linkname=this._linkname?Mi.concat([this._linkname,e]):e,t(null);if(this._isVoid)return e.byteLength>0?t(new Error("No body allowed for this entry")):t();if(this.written+=e.byteLength,this._pack.push(e))return t();this._pack._drain=t}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?Mi.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),Cv(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(new Error("Size mismatch"));this._finish(),e(null)}_getError(){return Rv(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}},Cu=class extends xT{constructor(e){super(e),this._drain=Ru,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,t,n){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");typeof t=="function"&&(n=t,t=null),n||(n=Ru),(!e.size||e.type==="symlink")&&(e.size=0),e.type||(e.type=yT(e.mode)),e.mode||(e.mode=e.type==="directory"?bT:gT),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),typeof t=="string"&&(t=Mi.from(t));let s=new Tu(this,e,n);return Mi.isBuffer(t)?(e.size=t.byteLength,s.write(t),s.end(),s):(s._isVoid,s)}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(Tv),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let t=Fa.encode(e);if(t){this.push(t);return}}this._encodePax(e)}_encodePax(e){let t=Fa.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(Fa.encode(n)),this.push(t),Cv(this,t.byteLength),n.size=e.size,n.type=e.type,this.push(Fa.encode(n))}_doDrain(){let e=this._drain;this._drain=Ru,e()}_predestroy(){let e=Rv(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let t=this._pending.shift();t.destroy(e),t._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}};Ov.exports=function(e){return new Cu(e)};function yT(i){switch(i&An.S_IFMT){case An.S_IFBLK:return"block-device";case An.S_IFCHR:return"character-device";case An.S_IFDIR:return"directory";case An.S_IFIFO:return"fifo";case An.S_IFLNK:return"symlink"}return"file"}function Ru(){}function Cv(i,e){e&=511,e&&i.push(Tv.subarray(0,512-e))}function _T(i){return Mi.isBuffer(i)?i:Mi.from(i)}});var Nv=g(Ou=>{"use strict";Ou.extract=Ev();Ou.pack=Iv()});function Lv(i,e){return new Iu(i,e)}async function kv(i,e,t,n){let s=(0,Us.pack)(),r=(0,ae.join)(e,i),a=[];s.entry({name:(0,ae.join)(i,"outputs"),type:"directory"}),await Uv(r,c=>{a.push(c)});let o=a.map(async c=>{let l=(0,ae.join)(r,c),p=await(0,Ln.readFile)(l);return{path:(0,ae.join)(i,"outputs",c),fileContents:p}}),u=[{path:(0,ae.join)(i,"terminalOutput"),fileContents:t},{path:(0,ae.join)(i,"code"),fileContents:n.toString()},...await Promise.all(o)];for(let{path:c,fileContents:l}of u)s.entry({name:c},l);return s.finalize(),s}async function Dv(i,e){let t=(0,Us.pack)();return t.entry({name:(0,ae.join)("terminalOutputs",i)},e),t.finalize(),t}async function Uv(i,e){let t=await(0,Ln.readdir)(i);await Promise.all(t.map(async n=>{let s=(0,ae.join)(i,n);(await(0,Ln.stat)(s)).isDirectory()?await Uv(s,a=>{e((0,ae.join)(n,a))}):e(n)}))}var Ds,Ln,Av,ae,Us,Iu,Fv=ie(()=>{"use strict";Ds=require("fs"),Ln=require("fs/promises"),Av=require("stream"),ae=require("path"),Us=Mt(Nv());Iu=class extends Av.Transform{constructor(t,n){super();this.destination=t;this.hash=n;this.setupListeners()}tarExtractStream=(0,Us.extract)();outputFiles=[];code;terminalOutput="";finished;finish;setupListeners(){this.finished=new Promise(t=>{this.finish=t}),this.on("finish",()=>{this.finish()}),this.tarExtractStream.on("entry",(t,n,s)=>{if(t.name==="terminalOutput"||t.name===(0,ae.join)(this.hash,"terminalOutput")||t.name===(0,ae.join)("terminalOutputs",this.hash)||t.name===(0,ae.join)(this.hash,"terminalOutputs"))n.on("data",r=>{this.terminalOutput+=r}),n.on("end",()=>{s()});else if(t.name==="code"||t.name===(0,ae.join)(this.hash,"code")){let r="";n.on("data",a=>{r+=a}),n.on("end",()=>{this.code=+r,s()})}else this.outputFiles.push(new Promise(r=>{let a=t.name,o=(0,ae.relative)(a.startsWith(this.hash)?`${this.hash}/outputs`:"outputs",a),u=(0,ae.join)(this.destination,o);if(t.type==="directory")try{(0,Ds.mkdirSync)(u,{recursive:!0})}catch{}finally{s(),r()}else try{(0,Ds.mkdirSync)((0,ae.dirname)(u),{recursive:!0})}catch{}finally{let c=(0,Ds.createWriteStream)(u);n.pipe(c),n.on("end",()=>{s()}),c.on("close",()=>{r()})}}))}),this.tarExtractStream.on("finish",()=>{this.emit("finish")})}_transform(t,n,s){this.tarExtractStream.write(t,n)?s():this.tarExtractStream.once("drain",s)}_flush(t){this.tarExtractStream.end(t)}async getResult(){return await this.finished,await Promise.all(this.outputFiles),{code:this.code,terminalOutput:this.terminalOutput,outputsPath:this.destination}}}});var Bv={};Bt(Bv,{FileStorage:()=>Au});var Pv,oe,it,Fs,Ps,Pa,Bs,Ba,Nu,ve,Au,Mv=ie(()=>{"use strict";Pv=require("crypto"),oe=require("fs"),it=Mt(require("path")),Fs=require("path");mr();rt();Js();Ps=require("stream"),Pa=require("stream/promises"),Bs=Mt(Ix()),Ba=require("zlib");Fv();Nu=sc(),{output:ve}=st(),Au=class{constructor(e,t,n,s){this.encryption=e;this.errorReporter=t;this.context=s;if(n.customProxyConfigPath){let{fileServerProxyConfig:r}=require((0,Fs.join)(process.cwd(),n.customProxyConfigPath));this.axiosConfigBuilder=r??this.axiosConfigBuilder}}storedHashes=[];axiosConfigBuilder=e=>e;async retrieve(e,t,n,s){process.env.NX_CLOUD_DEBUG_URLS=="true"&&ve.note({title:`Nx Cloud: Downloading ${e} ${n.fileType}`,bodyLines:[`RETRIEVAL URL: ${n.remoteUrl}`]});try{let r=null,a=this.createCommitFilePath(e,t,n);if(s){let o=this.createFileName(e,t,n);await this.extractTarV1(n,o,a)}else r=await this.extractTarV2(n,(0,Fs.join)(t,e),a,e);return this.createCommitFile(a),N&&ve.note({title:`Nx Cloud: Downloaded ${e}`}),r}catch(r){let a=r.message||r.toString(),o;throw a.includes("zlib")||a.includes("gzip")||a.includes("TAR_BAD_ARCHIVE")||a.includes("header")?o=`Failed to untar cached artifacts. The artifact may be corrupted. (Reference hash: ${e})`:a.includes("decrypt")?o=`Failed to decrypt artifact. Please review your encryption key. (Reference hash: ${e})`:o=`Failed to download cached artifacts. Enable NX_VERBOSE_LOGGING for more details. (Reference hash: ${e})`,N&&ve.note({title:`${o}`,bodyLines:[`- ${r.message}`,`- Affected artifact: ${e} in context ${this.context}.`]}),(this.context==="dte-agent"||this.context==="dte-main")&&(ve.note({title:`An error occurred while trying to retrieve artifacts in the ${this.context} context. Hash: ${e}.`,bodyLines:["- Please update the nx-cloud package to the latest version.","- Please update the nx package to 15.8.9 or higher. You can do it without updating the plugins.","- If you are not able to update the nx package, and you are passing --configuration to a run-many or an affected command, define that configuration for all the projects."]}),process.env.NX_CLOUD_DEBUG_URLS=="true"&&ve.note({title:`URL: ${e}`})),await this.errorReporter.reportError(o),new Error(o)}}async store(e,t,n,s,r=!0){N&&ve.note({title:`Nx Cloud: Storing ${e} with storeV1`}),process.env.NX_CLOUD_DEBUG_URLS=="true"&&ve.note({title:`Nx Cloud: Storing ${e} ${s.join(", ")}`,bodyLines:[`STORAGE URL: ${n.remoteUrl}`]});let a=await this.createTarFile(e,t,s,n);await this.uploadFile(n.remoteUrl,a),r&&this.storedHashes.push(e),N&&ve.note({title:`Nx Cloud: Stored ${e} ${s.join(", ")}`})}async storeV2(e,t,n,s,r,a=!0){N&&ve.note({title:`Nx Cloud: Storing ${e} with storeV2`});let o=[];n.fileType==="artifact"?o=[(0,Fs.join)(t,e)]:o=[(0,Fs.join)(t,"terminalOutput",e)],process.env.NX_CLOUD_DEBUG_URLS=="true"&&ve.note({title:`Nx Cloud: Storing ${e} ${o.join(", ")}`,bodyLines:[`STORAGE URL: ${n.remoteUrl}`]});let u;n.fileType==="artifact"?u=await kv(e,t,s,r):u=await Dv(e,s);let c=u.pipe((0,Ba.createGzip)()).pipe(this.encryption.hasEncryption()&&n.fileType==="artifact"?this.encryption.encryptFileStream():new Ps.PassThrough);if(n.provider==="aws"||n.provider==="local"||n.provider===void 0){let l=this.createFileName(e,t,n);await(0,Pa.pipeline)(c,(0,oe.createWriteStream)(l)),await this.uploadFile(n.remoteUrl,l)}else if(n.provider==="azure"){let l=this.createFileName(e,t,n),p=new class extends Ps.Transform{length=0;constructor(){super()}_transform(d,f,h){this.length+=d.length,h(null,d)}getLength(){return this.length}};await(0,Pa.pipeline)(c,p,(0,oe.createWriteStream)(l)),await this.uploadFileStream(n.remoteUrl,(0,oe.createReadStream)(l),{provider:n.provider,contentLength:p.getLength()})}else await this.uploadFileStream(n.remoteUrl,c,{provider:n.provider});a&&this.storedHashes.push(e),N&&ve.note({title:`Nx Cloud: Stored ${e} ${o.join(", ")}`})}createFileName(e,t,n){switch(n.fileType){case"artifact":return it.join(t,`${e}.tar.gz`);case"terminalOutput":return it.join(t,`${e}-logs.tar.gz`)}}async downloadFile(e){let t;try{let n=new URL(e.remoteUrl),s=n.origin+n.pathname,r={};for(let[a,o]of n.searchParams.entries())r[a]=o;t=await Ze(()=>Nu(s,this.axiosConfigBuilder({method:"GET",responseType:"stream",maxContentLength:we?qt:zt,maxBodyLength:we?qt:zt,timeout:we?mi:6e4,params:r})))}catch(n){throw n}return t}async extractTarV1(e,t,n){N&&ve.note({title:"FileStorage: Extracting tar file to disk"});let s=await this.downloadFile(e);if((0,oe.existsSync)(t)){let r=0;for(;r++<50;){if((0,oe.existsSync)(n))return;await vi(500)}}if(this.encryption.hasEncryption()&&e.fileType==="artifact"){await new Promise(a=>{s.data.pipe((0,oe.createWriteStream)(t)).on("close",()=>a(null))}),this.encryption.decryptFile(t);let r=(0,oe.createReadStream)(t).pipe(Bs.x({cwd:it.dirname(t),sync:!0,noChmod:!0}));return this.convertStreamIntoPromise(r)}else{let r=s.data.pipe(Bs.x({cwd:it.dirname(t),sync:!0,noChmod:!0}));return this.convertStreamIntoPromise(r)}}convertStreamIntoPromise(e){return new Promise((t,n)=>{e.on("error",s=>{s.tarCode==="TAR_ABORT"&&s.message.indexOf("incorrect header check")>-1?(console.warn("FileStorage: Decompression OK, Trailing garbage ignored."),t(null)):n(s)}),e.on("finish",()=>t(null))})}async extractTarV2(e,t,n,s){if(N&&ve.note({title:"FileStorage: streaming and extracting tar file"}),(0,oe.existsSync)(n))return N&&ve.note({title:`FileStorage: Commit file found for ${n}`,bodyLines:["Skipping download stream"]}),null;let r=await this.downloadFile(e),a=Lv(t,s);return await(0,Pa.pipeline)(r.data,this.encryption.hasEncryption()&&e.fileType==="artifact"?this.encryption.decryptFileStream():new Ps.PassThrough,(0,Ba.createGunzip)(),a),a.getResult()}createCommitFile(e){(0,oe.writeFileSync)(e,"true")}createCommitFilePath(e,t,n){return n.fileType==="terminalOutput"?it.join(t,"terminalOutputs",`${e}.commit`):it.join(t,`${e}.commit`)}async createTarFile(e,t,n,s){let r=this.createFileName(e,t,s);try{(0,oe.unlinkSync)(it.join(t,e,"source"))}catch{}return(0,oe.existsSync)(it.join(t,e,"terminalOutput"))||(N&&ve.note({title:`FileStorage: terminalOutput does not exist. Creating terminalOutput directory for ${e}`}),(0,oe.writeFileSync)(it.join(t,e,"terminalOutput"),"No terminal output.")),Bs.c({gzip:!0,sync:!0,file:r,cwd:t},n),this.encryption.hasEncryption()&&s.fileType==="artifact"&&this.encryption.encryptFile(r),r}async uploadFile(e,t){process.env.NX_CLOUD_ECONNABORTED_LOGGING=="true"&&ve.note({title:`Attempting to upload file with path: ${t}`});let n=(0,oe.readFileSync)(t),s=this.generateMD5(n),r=this.getFileUploadHeaders(e,s);try{let a=await Ze(()=>Nu(e,this.axiosConfigBuilder({method:"PUT",data:n,headers:r,maxContentLength:we?qt:zt,maxBodyLength:we?qt:zt,timeout:we?mi:12e4})))}catch(a){if(a.message&&a.message.includes("RetentionPolicyNotMet"))return;throw a}}async uploadFileStream(e,t,n){process.env.NX_CLOUD_ECONNABORTED_LOGGING=="true"&&ve.note({title:`Attempting to upload file with path: ${t}`});let s=this.getFileUploadHeaders(e,"");n.provider==="gcs"&&(s["Transfer-Encoding"]="chunked"),n.contentLength!==void 0&&(s["Content-Length"]=n.contentLength);try{let r=await Ze(()=>Nu(e,this.axiosConfigBuilder({method:"PUT",data:t,headers:s,maxContentLength:we?qt:zt,maxBodyLength:we?qt:zt,timeout:we?mi:12e4})))}catch(r){if(r.message&&r.message.includes("RetentionPolicyNotMet"))return;throw r}}generateMD5(e){let t=(0,Pv.createHash)("md5");return t.update(e),t.digest("base64")}getFileUploadHeaders(e,t){let n=e.includes("/file/"),s=e.toLowerCase().includes("if-none-match"),r={"Content-Type":"application/octet-stream","x-ms-blob-type":"BlockBlob"};return n&&(r["Content-MD5"]=t),s&&(r["if-none-match"]="*"),r}}});var Lu=g((yI,jv)=>{"use strict";var ET=require("crypto");jv.exports=function(){return ET.randomBytes(16)}});var ku=g((_I,zv)=>{"use strict";var qv=[];for(Ms=0;Ms<256;++Ms)qv[Ms]=(Ms+256).toString(16).substr(1);var Ms;function wT(i,e){var t=e||0,n=qv;return[n[i[t++]],n[i[t++]],n[i[t++]],n[i[t++]],"-",n[i[t++]],n[i[t++]],"-",n[i[t++]],n[i[t++]],"-",n[i[t++]],n[i[t++]],"-",n[i[t++]],n[i[t++]],n[i[t++]],n[i[t++]],n[i[t++]],n[i[t++]]].join("")}zv.exports=wT});var Wv=g((EI,Gv)=>{"use strict";var ST=Lu(),RT=ku(),Hv,Du,Uu=0,Fu=0;function TT(i,e,t){var n=e&&t||0,s=e||[];i=i||{};var r=i.node||Hv,a=i.clockseq!==void 0?i.clockseq:Du;if(r==null||a==null){var o=ST();r==null&&(r=Hv=[o[0]|1,o[1],o[2],o[3],o[4],o[5]]),a==null&&(a=Du=(o[6]<<8|o[7])&16383)}var u=i.msecs!==void 0?i.msecs:new Date().getTime(),c=i.nsecs!==void 0?i.nsecs:Fu+1,l=u-Uu+(c-Fu)/1e4;if(l<0&&i.clockseq===void 0&&(a=a+1&16383),(l<0||u>Uu)&&i.nsecs===void 0&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Uu=u,Fu=c,Du=a,u+=122192928e5;var p=((u&268435455)*1e4+c)%4294967296;s[n++]=p>>>24&255,s[n++]=p>>>16&255,s[n++]=p>>>8&255,s[n++]=p&255;var d=u/4294967296*1e4&268435455;s[n++]=d>>>8&255,s[n++]=d&255,s[n++]=d>>>24&15|16,s[n++]=d>>>16&255,s[n++]=a>>>8|128,s[n++]=a&255;for(var f=0;f<6;++f)s[n+f]=r[f];return e||RT(s)}Gv.exports=TT});var Vv=g((wI,$v)=>{"use strict";var CT=Lu(),OT=ku();function IT(i,e,t){var n=e&&t||0;typeof i=="string"&&(e=i==="binary"?new Array(16):null,i=null),i=i||{};var s=i.random||(i.rng||CT)();if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,e)for(var r=0;r<16;++r)e[n+r]=s[r];return e||OT(s)}$v.exports=IT});var Yv=g((SI,Xv)=>{"use strict";var NT=Wv(),Kv=Vv(),Pu=Kv;Pu.v1=NT;Pu.v4=Kv;Xv.exports=Pu});async function Bu(){let i=LT();N&&console.log("[Nx Cloud Debug] Attempting to acquire filesystem lock with path: ",i);try{(0,Ut.mkdirSync)(i),N&&console.log("[Nx Cloud Debug] Successfully created folder lock at path:",i)}catch{return N&&console.log("[Nx Cloud Debug] Failed to create folder lock at path:",i),await kT(i)}return eb(i)}function LT(){return(0,Ma.join)((0,Jv.tmpdir)(),"client-instance-id.lock")}function eb(i){try{N&&console.log("[Nx Cloud Debug] Attempting to write client instance id into lockfile");let e=Zv.default.v4();return(0,Ut.writeFileSync)((0,Ma.join)(i,Qv),e,{encoding:"utf-8"}),N&&console.log("[Nx Cloud Debug] Successfully wrote client instance id into lockfile"),e}catch{throw new Error("Skipped writing client instance id into lockfile")}}async function kT(i){try{let e=(0,Ma.join)(i,Qv);return(0,Ut.existsSync)(e)||(await vi(250),(0,Ut.existsSync)(e)||eb(i)),(0,Ut.readFileSync)(e,"utf-8")}catch{return N&&console.log("[Nx Cloud Debug] Failed to read client id lockfile, returning default value"),AT}}var Ut,Jv,Ma,Zv,Qv,AT,tb=ie(()=>{"use strict";Ut=require("fs"),Jv=require("os"),Ma=require("path"),Zv=Mt(Yv());rt();Js();Qv="client-instance-id.uuid",AT="00000000-0000-0000-0000-000000000000"});function sb(){return Math.floor(Math.random()*100)+1<=(Vs?100:DT)?UT():null}function UT(){try{let i=(0,ib.execSync)('git log --since="30 days ago" --format="%ae %an"',{stdio:"pipe",windowsHide:!0,encoding:"utf-8"}).trim().split(`
`),e=Array.from(new Set(i)),t={};for(let s of e){let[r,...a]=s.split(" "),o=FT(r);t[o]||(t[o]=a.join(" "))}let n={};for(let[s,r]of Object.entries(t))n[r]||(n[r]=s);return Object.values(n)}catch{return null}}function FT(i){let e=(0,nb.createHash)("md5");return e.update(i),e.digest("base64")}var ib,nb,DT,rb=ie(()=>{"use strict";ib=require("child_process"),nb=require("crypto");rt();DT=5});function ob(i){if(i==null)return null;let e=Buffer.from(i),t=(0,ab.createHash)("sha256");return t.update(e),t.digest("hex")}var ab,cb=ie(()=>{"use strict";ab=require("crypto")});function Mu(){for(let i of Object.values(PT))if(i.detectorFn(process.env)){let e=i.contextRetrieverFn(process.env);return N&&console.log(JSON.stringify(e,null,2)),e}return N&&console.log("[Nx Cloud] Unable to detect a VCS context from the environment."),null}function BT(i){return i.CIRCLECI==="true"}function MT(i){N&&console.log("[Nx Cloud] Detected Env: CircleCI");let e=n=>{if(n.CIRCLE_PR_NUMBER!==void 0)return n.CIRCLE_PR_NUMBER;if(n.CIRCLE_PULL_REQUEST!==void 0){let s=n.CIRCLE_PULL_REQUEST.split("/");return s[s.length-1]}return n.CIRCLE_BRANCH!==void 0?n.CIRCLE_BRANCH:"unknown"},t=n=>n.CIRCLE_USERNAME!==void 0?n.CIRCLE_USERNAME:n.CIRCLE_PR_USERNAME?n.CIRCLE_PR_USERNAME:null;return{branch:e(i),ref:i.CIRCLE_BRANCH??null,title:hi(),headSha:i.CIRCLE_SHA1??"unknown",baseSha:null,commitLink:i.CIRCLE_PULL_REQUEST??null,author:t(i),authorUrl:null,authorAvatarUrl:null,repositoryUrl:i.CIRCLE_REPOSITORY_URL??null,platformName:"CIRCLE_CI"}}function jT(i){return i.TRAVIS==="true"}function qT(i){return N&&console.log("[Nx Cloud] Detected Env: TravisCI"),{branch:(t=>t.TRAVIS_EVENT_TYPE==="pull_request"?t.TRAVIS_PULL_REQUEST:t.TRAVIS_BRANCH)(i),ref:null,title:hi(),headSha:i.TRAVIS_COMMIT??"unknown",baseSha:null,commitLink:null,author:ja(),authorUrl:null,authorAvatarUrl:null,repositoryUrl:null,platformName:"TRAVIS_CI"}}function zT(i){return i.GITHUB_ACTIONS==="true"}function HT(i){N&&console.log("[Nx Cloud] Detected Env: GitHub Actions");let e=s=>{if(s.GITHUB_REF){let r=s.GITHUB_REF.match(/refs\/pull\/(\d+)\/merge/);if(r)return r[1]}return s.GITHUB_HEAD_REF?s.GITHUB_HEAD_REF:s.GITHUB_REF_NAME?s.GITHUB_REF_NAME:"unknown"},t=s=>{let r=`${s.GITHUB_SERVER_URL}/${s.GITHUB_REPOSITORY}`;return s.GITHUB_EVENT_NAME==="pull_request"?`${r}/pull/${e(s)}`:`${r}/commit/${s.GITHUB_SHA}`},n=s=>s.GITHUB_HEAD_REF?s.GITHUB_HEAD_REF:s.GITHUB_REF_NAME?s.GITHUB_REF_NAME:s.GITHUB_REF?s.GITHUB_REF:null;return{branch:n(i),ref:n(i),title:hi(),headSha:i.GITHUB_SHA??"unknown",baseSha:null,commitLink:t(i),author:i.GITHUB_ACTOR??null,authorUrl:`${i.GITHUB_SERVER_URL}/${i.GITHUB_ACTOR}`,authorAvatarUrl:`${i.GITHUB_SERVER_URL}/${i.GITHUB_ACTOR}.png`,repositoryUrl:`${i.GITHUB_SERVER_URL}/${i.GITHUB_REPOSITORY}`,platformName:"GITHUB_ACTIONS"}}function GT(i){return i.BITBUCKET_BUILD_NUMBER!=null}function WT(i){return N&&console.log("[Nx Cloud] Detected Env: BitBucket Pipelines"),{branch:i.BITBUCKET_PR_ID??i.BITBUCKET_BRANCH??"unknown",ref:null,title:hi(),headSha:i.BITBUCKET_COMMIT??"unknown",baseSha:null,commitLink:null,author:ja(),authorUrl:null,authorAvatarUrl:null,repositoryUrl:i.BITBUCKET_GIT_HTTP_ORIGIN??null,platformName:"BITBUCKET_PIPELINES"}}function $T(i){return i.BUILD_BUILDID!==void 0&&i.AGENT_NAME!==void 0}function VT(i){return N&&console.log("[Nx Cloud] Detected Env: Azure DevOps"),{branch:i.SYSTEM_PULLREQUEST_PULLREQUESTNUMBER??i.BUILD_SOURCEBRANCHNAME??"unknown",ref:null,title:hi(),headSha:xi()??"unknown",baseSha:null,commitLink:null,author:i.BUILD_REQUESTEDFOR??null,authorUrl:null,authorAvatarUrl:null,repositoryUrl:i.SYSTEM_PULLREQUEST_SOURCEREPOSITORYURI??i.BUILD_REPOSITORY_URI??null,platformName:"AZURE_DEVOPS"}}function KT(i){return i.GITLAB_CI==="true"}function XT(i){return N&&console.log("[Nx Cloud] Detected Env: GitLab Pipelines"),{branch:(t=>t.CI_MERGE_REQUEST_IID?t.CI_MERGE_REQUEST_IID:t.CI_COMMIT_BRANCH?t.CI_COMMIT_BRANCH:"unknown")(i),ref:i.CI_COMMIT_REF_NAME??null,title:hi(),headSha:xi()??"unknown",baseSha:null,commitLink:null,author:i.GITLAB_USER_NAME??null,authorUrl:null,authorAvatarUrl:null,repositoryUrl:i.CI_REPOSITORY_URL??null,platformName:"GITLAB_PIPELINES"}}function YT(i){return i.NX_CLOUD_VERSION!=null&&i.NX_CLOUD_VERSION!==""}function JT(i){return N&&console.log("[Nx Cloud] Detected Env: Nx Cloud"),{branch:lb()??"unknown",ref:ub(),title:hi(),headSha:xi()??"unknown",baseSha:null,commitLink:null,author:ja(),authorUrl:null,authorAvatarUrl:null,repositoryUrl:null,platformName:"NX_CLOUD"}}function ZT(i){return N&&console.log("[Nx Cloud] Detected Env: Unknown Platform"),{branch:lb()??"unknown",ref:ub(),title:hi(),headSha:xi()??"unknown",baseSha:null,commitLink:null,author:ja(),authorUrl:null,authorAvatarUrl:null,repositoryUrl:null,platformName:"UNKNOWN"}}function hi(){if(process.env.NX_CLOUD_COMMIT_MESSAGE)return process.env.NX_CLOUD_COMMIT_MESSAGE;try{return(0,js.execSync)("git log -1 --pretty=%B",{encoding:"utf-8"}).trim()}catch{return null}}function ja(){try{return(0,js.execSync)("git log -1 --no-merges --pretty=%aN",{encoding:"utf-8"}).trim()}catch{return null}}function lb(){try{return(0,js.execSync)("git branch --show-current",{encoding:"utf-8"}).trim()}catch{return null}}function ub(){try{return(0,js.execSync)("git rev-parse --abbrev-ref HEAD",{encoding:"utf-8"}).trim()}catch{return null}}var js,PT,pb=ie(()=>{"use strict";js=require("child_process");rt();Ga();PT={CIRCLE_CI:{detectorFn:BT,contextRetrieverFn:MT},TRAVIS_CI:{detectorFn:jT,contextRetrieverFn:qT},GITHUB_ACTIONS:{detectorFn:zT,contextRetrieverFn:HT},BITBUCKET_PIPELINES:{detectorFn:GT,contextRetrieverFn:WT},AZURE_DEVOPS:{detectorFn:$T,contextRetrieverFn:VT},GITLAB_PIPELINES:{detectorFn:KT,contextRetrieverFn:XT},NX_CLOUD:{detectorFn:YT,contextRetrieverFn:JT},UNKNOWN:{detectorFn:()=>Ws(),contextRetrieverFn:ZT}}});function db(i){if(!i)return null;let e={};Object.entries(i.nodes).forEach(([n,s])=>{s.type!=="npm"&&(e[n]={type:s.type,name:s.name,data:{root:s.data.root,sourceRoot:s.data.sourceRoot,metadata:s.data.metadata,targets:s.data.targets}})});let t={};return Object.entries(i.dependencies).forEach(([n,s])=>{n.startsWith("npm:")||(t[n]=s)}),{nodes:e,dependencies:t}}var hb=ie(()=>{"use strict"});var vb={};Bt(vb,{CloudRunApi:()=>ju});var fb,mb,xb,qs,ju,bb=ie(()=>{"use strict";fb=require("fs"),mb=require("util"),xb=require("zlib");tb();mr();rb();cb();rt();pb();hb();({output:qs}=st()),ju=class{constructor(e,t,n,s){this.messages=e;this.runContext=t;this.machineInfo=s;this.apiAxiosInstance=fr(n),process.env.NX_CLOUD_CLIENT_INSTANCE_ID?(this.clientInstanceId=process.env.NX_CLOUD_CLIENT_INSTANCE_ID,this.clientInstanceSource="DTE_AGENT"):this.clientInstanceSource="CLOUD_RUNNER"}apiAxiosInstance;clientInstanceId;clientInstanceSource;async startRun(e,t){if(this.messages.apiError)return{};this.clientInstanceId||(this.clientInstanceId=await Bu());try{let n={meta:{nxCloudVersion:this.nxCloudVersion()},branch:Za(),runGroup:Ja(),ciExecutionId:Ya(),ciExecutionEnv:Mn(),distributedExecutionId:e,hashes:t,machineInfo:this.machineInfo,vcsContext:Mu(),clientInstanceSource:this.clientInstanceSource,clientInstanceId:this.clientInstanceId};N&&qs.note({title:"RunStart",bodyLines:[`
`+JSON.stringify(n,null,2)]});let s=await oc("RunStart duration",()=>Ze(()=>this.apiAxiosInstance.post("/nx-cloud/v2/runs/start",n)));return s.data&&s.data.message&&(this.messages.message=s.data.message),!s.data||!s.data.artifacts?(this.messages.apiError=`Invalid Nx Cloud response: ${JSON.stringify(s.data)}`,{}):s.data.artifacts}catch(n){return this.messages.apiError=this.messages.extractErrorMessage(n,"api"),{}}}createEndRunReqBody(e,t,n,s,r,a){let o=db(s),u={meta:{nxCloudVersion:this.nxCloudVersion(),...r},tasks:t,run:e,linkId:a,...n,projectGraph:o,projectGraphSha:o==null?null:ob(JSON.stringify(o)),machineInfo:this.machineInfo,vcsContext:Mu(),hashedContributors:sb(),clientInstanceSource:this.clientInstanceSource,clientInstanceId:this.clientInstanceId};return JSON.stringify(u)}async endRun(e,t,n,s,r,a){if(this.messages.apiError)return!1;this.clientInstanceId||(this.clientInstanceId=await Bu()),e.runGroup=null,e.branch=null;let o=this.createEndRunReqBody(e,t,n,s,r,a);o.length>20*1e3*1e3&&(o=this.createEndRunReqBody(e,t.map(l=>({...l,hashDetails:void 0})),n,s,r,a));let u=Buffer.from(o),c=await(0,mb.promisify)(xb.gzip)(u);try{if(N){let p=t.map(d=>({...d,terminalOutput:d.terminalOutput?`${d.terminalOutput.slice(0,20)}...`:void 0}));qs.note({title:"RunEnd. Completed tasks",bodyLines:[`
`+JSON.stringify(p,null,2)]})}let l=await oc("RunEnd duration",()=>Ze(()=>this.apiAxiosInstance.post("/nx-cloud/runs/end",c,{headers:{...this.apiAxiosInstance.defaults.headers,"Content-Encoding":"gzip","Content-Type":"application/octet-stream"}})));if(l){if(l.data&&l.data.runUrl&&l.data.status==="success")return this.runContext.runUrl=l.data.runUrl,!0;l.data&&l.data.status?this.messages.apiError=`Invalid end run response: ${JSON.stringify(l.data.message)}`:l.data&&typeof l.data=="string"?l.data!=="success"&&(this.messages.apiError=`Invalid end run response: ${JSON.stringify(l.data)}`):this.messages.apiError=`Invalid end run response: ${JSON.stringify(l.data)}`,N&&qs.note({title:"Invalid end run response",bodyLines:[JSON.stringify(l.data,null,2)]})}else qs.error({title:"Nx Cloud: Unknown Error Occurred",bodyLines:["Run completion responded with `undefined`.","Run Details:",JSON.stringify(e,null,2),"Stack Trace:",JSON.stringify(new Error().stack,null,2)]});return!1}catch(l){let p=l.axiosException??l;return this.messages.apiError=this.messages.extractErrorMessage(p,"api"),!1}}async endRunIfWorkspaceNotEnabled(){try{await Ze(()=>this.apiAxiosInstance.get("/nx-cloud/runs/workspace-status"))}catch(e){qs.error({title:"Nx Cloud: Workspace is unable to be authorized. Exiting run.",bodyLines:e.bodyLines}),process.exit(1)}}async getEndRunSplashMessage(){try{return this.apiAxiosInstance.get("/nx-cloud/runs/splash").then(e=>e.data)}catch{return}}async getWorkspaceSettings(){try{return this.apiAxiosInstance.get("/nx-cloud/runs/workspace-settings").then(e=>e.data)}catch{return}}nxCloudVersion(){try{let e=JSON.parse((0,fb.readFileSync)("package.json").toString());return e.devDependencies["nx-cloud"]||e.devDependencies["@nrwl/nx-cloud"]}catch{return"unknown"}}}});var gb={};Bt(gb,{ErrorReporterApi:()=>qu});var QT,qu,yb=ie(()=>{"use strict";mr();({output:QT}=st()),qu=class{apiAxiosInstance;constructor(e){this.apiAxiosInstance=fr(e)}async reportError(e){try{await Ze(()=>this.apiAxiosInstance.post("/nx-cloud/report-client-error",{message:e}))}catch(t){QT.warn({title:`Unable to record the following error: '${e}'`,bodyLines:[t.message]})}}}});var _b={};Bt(_b,{E2EEncryption:()=>zu});var Ft,Dn,Wu,kn,qa,zu,Hu,Gu,Eb=ie(()=>{"use strict";Ft=require("crypto"),Dn=require("fs"),Wu=require("stream"),kn=16,qa="aes-256-cbc",zu=class{encryptionKey;constructor(e){e&&(this.encryptionKey=this.to32bytes(e))}to32bytes(e){let t=e;for(;t.length<32;)t+=e;return Buffer.from(t).slice(0,32)}hasEncryption(){return!!this.encryptionKey}encryptFile(e){let t=(0,Ft.randomBytes)(kn),n=(0,Ft.createCipheriv)(qa,this.encryptionKey,t),s=(0,Dn.readFileSync)(e),r=n.update(s),a=Buffer.concat([t,r,n.final()]);(0,Dn.writeFileSync)(e,a)}encryptFileStream(){return new Hu(this.encryptionKey)}decryptFile(e){let t=(0,Dn.readFileSync)(e);try{let n=(0,Ft.createDecipheriv)(qa,this.encryptionKey,t.slice(0,kn)),s=t.slice(kn),r=n.update(s),a=Buffer.concat([r,n.final()]);(0,Dn.writeFileSync)(e,a)}catch{throw new Error("Could not decrypt the artifact. Please check your encryption key.")}}decryptFileStream(){return new Gu(this.encryptionKey)}},Hu=class extends Wu.Transform{constructor(t){super();this.key=t;this.cipher=(0,Ft.createCipheriv)(qa,this.key,this.iv)}iv=(0,Ft.randomBytes)(kn);cipher;initialized=!1;_transform(t,n,s){try{this.initialized||(this.push(this.iv),this.initialized=!0),this.push(this.cipher.update(t)),s()}catch(r){s(r)}}_flush(t){try{this.push(this.cipher.final()),t()}catch(n){t(n)}}},Gu=class extends Wu.Transform{constructor(t){super();this.key=t}decipher=null;iv=null;_transform(t,n,s){try{if(this.iv)this.push(this.decipher.update(t));else{this.iv=t.subarray(0,kn),this.decipher=(0,Ft.createDecipheriv)(qa,this.key,this.iv);let r=t.subarray(kn);r.length>0&&this.push(this.decipher.update(r))}s()}catch(r){s(r)}}_flush(t){try{this.decipher&&this.push(this.decipher.final()),t()}catch(n){t(n)}}}});var Rb={};Bt(Rb,{MessageReporter:()=>Ku});var wb,Sb,$u,Vu,Ku,Tb=ie(()=>{"use strict";wb=require("fs"),Sb=require("path");rt();lo();({output:$u}=st()),{cacheDirectory:Vu}=Ha(),Ku=class{constructor(e){this.options=e}cacheError=null;apiError=null;message=null;isAgentRunningInDte=Xa(process.env.NX_CLOUD_DISTRIBUTED_EXECUTION_ID);get anyErrors(){return this.cacheError||this.apiError}printMessages(){if(this.anyErrors){let e=[];this.cacheError&&e.push(`${this.cacheError}`),this.apiError&&this.apiError!==this.cacheError&&e.push(`${this.apiError}`),$u.warn({title:"Nx Cloud Problems",bodyLines:e})}this.message&&Ep(this.message),this.isAgentRunningInDte&&this.setErrorMessageForAgent()}extractErrorMessage(e,t){let n=e.bodyLines?e.bodyLines.join(`
`):null;if(e.code==="ECONNABORTED")return process.env.NX_CLOUD_ECONNABORTED_LOGGING=="true"&&(console.log("[NX CLOUD DEBUG] Request config without `data`"),delete e.config.data,console.log(JSON.stringify(e.config,null,2))),`Cannot connect to Nx Cloud (scope: ${t}, code: ${e.code}). Try invoking the command with the NX_CLOUD_NO_TIMEOUTS env variable set to 'true'.`;if(e.code==="ECONNREFUSED"||e.code==="EAI_AGAIN"||e.code==="ENOTFOUND"||e.code==="EPROTO")return`Cannot connect to Nx Cloud (scope: ${t}, code: ${e.code}).`;if(e.response&&e.response.status===401)return n||e.response.data.message||e.response.data;if(e.response&&e.response.status===402)return this.options.showUsageWarnings===!1||this.options.showUsageWarnings===void 0?null:n||e.response.data.message||e.response.data;{let s="";e.response&&e.response.data&&e.response.data.message?s=`. ${e.response.data.message}`:e.response&&e.response.data&&(s=`. ${e.response.data}`);let r=e.code?` (code: ${e.code})`:"";return`${e.message}${s}${r}`}}setErrorMessageForAgent(){let e=this.cacheError||this.apiError||"Unexpected failure in agent. If the issue persists, please contact support at cloud-support@nrwl.io";if(process.env.NX_CLOUD_INVOKED_WITH_RUN_MANY==="true"){N&&$u.note({title:`Writing error message to ${Vu}`,bodyLines:[e]});try{let t=(0,Sb.join)(Vu,Qa);(0,wb.writeFileSync)(t,e,{encoding:"utf-8"})}catch{N&&$u.note({title:`Failed to write error message to ${Vu}`})}}else to(e)}}});var eC={};Bt(eC,{default:()=>Ob});module.exports=jt(eC);var Cb=require("fs"),ji=Mt(require("path"));function Yu(i,e){let t={};return e.forEach(n=>{var o;let s=i[n.target.project],r=(o=s==null?void 0:s.data.metadata)==null?void 0:o.targetGroups,a={};if(r)for(let[u,c]of Object.entries(r))c.includes(n.target.target)&&c.length>0&&(a[u]=c);a&&Object.entries(a).length>0&&(n.target.project in t?t[n.target.project].targetGroups={...t[n.target.project].targetGroups,...a}:t[n.target.project]={targetGroups:a})}),{projects:Object.keys(t).length>0?t:null}}function Ju(i,e){var o,u,c;let t=i[e.projectName],n=((o=t==null?void 0:t.data.metadata)==null?void 0:o.technologies)||[],s=(u=t==null?void 0:t.data.targets)==null?void 0:u[e.target],r=((c=s==null?void 0:s.metadata)==null?void 0:c.technologies)||[],a=new Set(n.concat(r));e.meta=a.size>0?{technologies:Array.from(a)}:null}async function Ob(i,e){if(i.lightRunnerResolutionPaths){let{configureLightClientRequire:b}=(Pn(),jt(Zu));b(i.lightRunnerResolutionPaths)}let{cacheDirectory:t}=Ha(),{FileStorage:n}=(Mv(),jt(Bv)),{CloudRunApi:s}=(bb(),jt(vb)),{ErrorReporterApi:r}=(yb(),jt(gb)),{E2EEncryption:a}=(Eb(),jt(_b)),{getMachineInfo:o}=(rt(),jt(lp)),{MessageReporter:u}=(Tb(),jt(Rb)),c=new a(i.encryptionKey),l=new r(i.runnerOptions),p=new n(c,l,i.runnerOptions,"daemon"),d=new u(i.runnerOptions),f={},h=o(),x=new s(d,f,i.runnerOptions,h);return setTimeout(async()=>{e.log("Uploading file artifacts");try{await Promise.all(i.delayedStoreRequests.map(async v=>{switch(v.cacheFile.fileType){case"artifact":v.terminalOutput!=null&&v.code!=null?await p.storeV2(v.hash,v.cacheDirectory,v.cacheFile,v.terminalOutput,v.code):await p.store(v.hash,v.cacheDirectory,v.cacheFile,[ji.join(v.hash,"outputs"),ji.join(v.hash,"code"),ji.join(v.hash,"terminalOutput")]);break;case"terminalOutput":if(v.terminalOutput!=null)await p.storeV2(v.hash,v.cacheDirectory,v.cacheFile,v.terminalOutput,v.code??1);else{let E=(0,Cb.existsSync)(ji.join(v.cacheDirectory,"terminalOutputs",v.hash))?ji.join("terminalOutputs",v.hash):ji.join(v.hash,"terminalOutput");await p.store(v.hash,v.cacheDirectory,v.cacheFile,[E],!1)}break}})),e.log("Done uploading file artifacts")}catch(v){e.log("Error when uploading file artifacts"),console.log(v);return}for(let v of p.storedHashes){let E=i.runEnd.taskExecutions.find(_=>_.hash===v);if(!E)throw new Error(`Task with hash ${v} isn't recorded`);E.uploadedToStorage=!0}let b=Yu(i.projectGraph.nodes,i.runEnd.allTasks);i.runEnd.taskExecutions.forEach(v=>{let E=i.runEnd.allTasks.find(_=>_.hash===v.hash);v.artifactId=E==null?void 0:E.artifactId,v.terminalOutputUploadedToFileStorage=(E==null?void 0:E.terminalOutputUploadedToFileStorage)??!1,Ju(i.projectGraph.nodes,v)}),e.log("Sending EndRun request");try{if(!await x.endRun(i.runEnd.runData,i.runEnd.taskExecutions,i.ciExecutionContext,void 0,b,i.runEnd.linkId))throw new Error(d.apiError);e.log("Done sending EndRun request")}catch(v){e.log("Error when sending EndRun"),console.log(v)}},0),"{}"}
/*! 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
*)
*/