@doubao-dev/cli 0.0.34 → 0.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/275.js CHANGED
@@ -18,8 +18,8 @@ let e,t;import"node:module";import{__webpack_require__ as r}from"./rslib-runtime
18
18
  `;let v=u.default(o);o.write(`${f}\r
19
19
  `);let{statusCode:_,buffered:x}=yield v;if(200===_){if(e.once("socket",h),t.secureEndpoint){p("Upgrading socket connection to TLS");let e=t.servername||t.host;return i.default.connect(Object.assign(Object.assign({},function(e,...t){let r,n={};for(r in e)t.includes(r)||(n[r]=e[r]);return n}(t,"host","hostname","path","port")),{socket:o,servername:e}))}return o}o.destroy();let E=new s.default.Socket({writable:!1});return E.readable=!0,e.once("socket",e=>{p("replaying proxy buffer for failed request"),d.default(e.listenerCount("data")>0),e.push(x),e.push(null)}),E})}}function h(e){e.resume()}t.default=m},"../../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/index.js"(e,t,r){var n;let o=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r("../../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/agent.js"));function s(e){return new o.default(e)}(n=s||(s={})).HttpsProxyAgent=o.default,n.prototype=o.default.prototype,e.exports=s},"../../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let o=n(r("../../../node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js")).default("https-proxy-agent:parse-proxy-response");t.default=function(e){return new Promise((t,r)=>{let n=0,s=[];function i(){let r=e.read();r?function(e){s.push(e),n+=e.length;let r=Buffer.concat(s,n);if(-1===r.indexOf("\r\n\r\n")){o("have not received end of HTTP headers yet..."),i();return}let a=r.toString("ascii",0,r.indexOf("\r\n")),d=+a.split(" ")[1];o("got proxy server response: %o",a),t({statusCode:d,buffered:r})}(r):e.once("readable",i)}function a(e){o("onclose had error %o",e)}function d(){o("onend")}e.on("error",function t(n){e.removeListener("end",d),e.removeListener("error",t),e.removeListener("close",a),e.removeListener("readable",i),o("onerror %o",n),r(n)}),e.on("close",a),e.on("end",d),i()})}},"../../../node_modules/.pnpm/ip@2.0.1/node_modules/ip/lib/ip.js"(e,t,r){let{Buffer:n}=r("buffer"),o=r("os");t.toBuffer=function(e,t,r){let o;if(r=~~r,this.isV4Format(e))o=t||n.alloc(r+4),e.split(/\./g).map(e=>{o[r++]=255&parseInt(e,10)});else if(this.isV6Format(e)){let s,i=e.split(":",8);for(s=0;s<i.length;s++){let e;this.isV4Format(i[s])&&(e=this.toBuffer(i[s]),i[s]=e.slice(0,2).toString("hex")),e&&++s<8&&i.splice(s,0,e.slice(2,4).toString("hex"))}if(""===i[0])for(;i.length<8;)i.unshift("0");else if(""===i[i.length-1])for(;i.length<8;)i.push("0");else if(i.length<8){for(s=0;s<i.length&&""!==i[s];s++);let e=[s,1];for(s=9-i.length;s>0;s--)e.push("0");i.splice(...e)}for(o=t||n.alloc(r+16),s=0;s<i.length;s++){let e=parseInt(i[s],16);o[r++]=e>>8&255,o[r++]=255&e}}if(!o)throw Error(`Invalid ip address: ${e}`);return o},t.toString=function(e,t,r){t=~~t;let n=[];if(4===(r=r||e.length-t)){for(let o=0;o<r;o++)n.push(e[t+o]);n=n.join(".")}else if(16===r){for(let o=0;o<r;o+=2)n.push(e.readUInt16BE(t+o).toString(16));n=(n=(n=n.join(":")).replace(/(^|:)0(:0)*:0(:|$)/,"$1::$3")).replace(/:{3,4}/,"::")}return n};let s=/^(\d{1,3}\.){3,3}\d{1,3}$/,i=/^(::)?(((\d{1,3}\.){3}(\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i;function a(e){return 4===e?"ipv4":6===e?"ipv6":e?e.toLowerCase():"ipv4"}t.isV4Format=function(e){return s.test(e)},t.isV6Format=function(e){return i.test(e)},t.fromPrefixLen=function(e,r){r=e>32?"ipv6":a(r);let o=4;"ipv6"===r&&(o=16);let s=n.alloc(o);for(let t=0,r=s.length;t<r;++t){let r=8;e<8&&(r=e),e-=r,s[t]=255&~(255>>r)}return t.toString(s)},t.mask=function(e,r){let o;e=t.toBuffer(e),r=t.toBuffer(r);let s=n.alloc(Math.max(e.length,r.length));if(e.length===r.length)for(o=0;o<e.length;o++)s[o]=e[o]&r[o];else if(4===r.length)for(o=0;o<r.length;o++)s[o]=e[e.length-4+o]&r[o];else{for(o=0;o<s.length-6;o++)s[o]=0;for(s[10]=255,s[11]=255,o=0;o<e.length;o++)s[o+12]=e[o]&r[o+12];o+=12}for(;o<s.length;o++)s[o]=0;return t.toString(s)},t.cidr=function(e){let r=e.split("/"),n=r[0];if(2!==r.length)throw Error(`invalid CIDR subnet: ${n}`);let o=t.fromPrefixLen(parseInt(r[1],10));return t.mask(n,o)},t.subnet=function(e,r){let n=t.toLong(t.mask(e,r)),o=t.toBuffer(r),s=0;for(let e=0;e<o.length;e++)if(255===o[e])s+=8;else{let t=255&o[e];for(;t;)t=t<<1&255,s++}let i=2**(32-s);return{networkAddress:t.fromLong(n),firstAddress:i<=2?t.fromLong(n):t.fromLong(n+1),lastAddress:i<=2?t.fromLong(n+i-1):t.fromLong(n+i-2),broadcastAddress:t.fromLong(n+i-1),subnetMask:r,subnetMaskLength:s,numHosts:i<=2?i:i-2,length:i,contains:e=>n===t.toLong(t.mask(e,r))}},t.cidrSubnet=function(e){let r=e.split("/"),n=r[0];if(2!==r.length)throw Error(`invalid CIDR subnet: ${n}`);let o=t.fromPrefixLen(parseInt(r[1],10));return t.subnet(n,o)},t.not=function(e){let r=t.toBuffer(e);for(let e=0;e<r.length;e++)r[e]=255^r[e];return t.toString(r)},t.or=function(e,r){if(e=t.toBuffer(e),r=t.toBuffer(r),e.length===r.length){for(let t=0;t<e.length;++t)e[t]|=r[t];return t.toString(e)}let n=e,o=r;r.length>e.length&&(n=r,o=e);let s=n.length-o.length;for(let e=s;e<n.length;++e)n[e]|=o[e-s];return t.toString(n)},t.isEqual=function(e,r){if(e=t.toBuffer(e),r=t.toBuffer(r),e.length===r.length){for(let t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0}if(4===r.length){let t=r;r=e,e=t}for(let e=0;e<10;e++)if(0!==r[e])return!1;let n=r.readUInt16BE(10);if(0!==n&&65535!==n)return!1;for(let t=0;t<4;t++)if(e[t]!==r[t+12])return!1;return!0},t.isPrivate=function(e){if(t.isLoopback(e))return!0;if(!t.isV6Format(e)){let r=t.normalizeToLong(e);if(r<0)throw Error("invalid ipv4 address");e=t.fromLong(r)}return/^(::f{4}:)?10\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(e)||/^(::f{4}:)?192\.168\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(e)||/^(::f{4}:)?172\.(1[6-9]|2\d|30|31)\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(e)||/^(::f{4}:)?169\.254\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(e)||/^f[cd][0-9a-f]{2}:/i.test(e)||/^fe80:/i.test(e)||/^::1$/.test(e)||/^::$/.test(e)},t.isPublic=function(e){return!t.isPrivate(e)},t.isLoopback=function(e){return/\./.test(e)||/:/.test(e)||(e=t.fromLong(Number(e))),/^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/.test(e)||/^0177\./.test(e)||/^0x7f\./i.test(e)||/^fe80::1$/i.test(e)||/^::1$/.test(e)||/^::$/.test(e)},t.loopback=function(e){if("ipv4"!==(e=a(e))&&"ipv6"!==e)throw Error("family must be ipv4 or ipv6");return"ipv4"===e?"127.0.0.1":"fe80::1"},t.address=function(e,r){let n=o.networkInterfaces();if(r=a(r),e&&"private"!==e&&"public"!==e){let t=n[e].filter(e=>a(e.family)===r);if(0===t.length)return;return t[0].address}let s=Object.keys(n).map(o=>{let s=n[o].filter(n=>(n.family=a(n.family),!(n.family!==r||t.isLoopback(n.address))&&(!e||("public"===e?t.isPrivate(n.address):t.isPublic(n.address)))));return s.length?s[0].address:void 0}).filter(Boolean);return s.length?s[0]:t.loopback(r)},t.toLong=function(e){let t=0;return e.split(".").forEach(e=>{t<<=8,t+=parseInt(e)}),t>>>0},t.fromLong=function(e){return`${e>>>24}.${e>>16&255}.${e>>8&255}.${255&e}`},t.normalizeToLong=function(e){let t=e.split(".").map(e=>e.startsWith("0x")||e.startsWith("0X")?parseInt(e,16):e.startsWith("0")&&"0"!==e&&/^[0-7]+$/.test(e)?parseInt(e,8):/^[1-9]\d*$/.test(e)||"0"===e?parseInt(e,10):NaN);if(t.some(isNaN))return -1;let r=0;switch(t.length){case 1:r=t[0];break;case 2:if(t[0]>255||t[1]>0xffffff)return -1;r=t[0]<<24|0xffffff&t[1];break;case 3:if(t[0]>255||t[1]>255||t[2]>65535)return -1;r=t[0]<<24|t[1]<<16|65535&t[2];break;case 4:if(t.some(e=>e>255))return -1;r=t[0]<<24|t[1]<<16|t[2]<<8|t[3];break;default:return -1}return r>>>0}},"../../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/index.js"(e,t,r){let n;try{n=r("../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js")}catch(e){n=r("fs")}let o=r("../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"),{stringify:s,stripBom:i}=r("../../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/utils.js");async function a(e,t={}){let r;"string"==typeof t&&(t={encoding:t});let s=t.fs||n,d=!("throws"in t)||t.throws,l=await o.fromCallback(s.readFile)(e,t);l=i(l);try{r=JSON.parse(l,t?t.reviver:null)}catch(t){if(!d)return null;throw t.message=`${e}: ${t.message}`,t}return r}let d=o.fromPromise(a);async function l(e,t,r={}){let i=r.fs||n,a=s(t,r);await o.fromCallback(i.writeFile)(e,a,r)}e.exports={readFile:d,readFileSync:function(e,t={}){"string"==typeof t&&(t={encoding:t});let r=t.fs||n,o=!("throws"in t)||t.throws;try{let n=r.readFileSync(e,t);return n=i(n),JSON.parse(n,t.reviver)}catch(t){if(!o)return null;throw t.message=`${e}: ${t.message}`,t}},writeFile:o.fromPromise(l),writeFileSync:function(e,t,r={}){let o=r.fs||n,i=s(t,r);return o.writeFileSync(e,i,r)}}},"../../../node_modules/.pnpm/jsonfile@6.2.1/node_modules/jsonfile/utils.js"(e){e.exports={stringify:function(e,{EOL:t="\n",finalEOL:r=!0,replacer:n=null,spaces:o}={}){let s=r?t:"",i=JSON.stringify(e,n,o);if(void 0===i)throw TypeError(`Converting ${typeof e} value to JSON is not supported`);return i.replace(/\n/g,t)+s},stripBom:function(e){return Buffer.isBuffer(e)&&(e=e.toString("utf8")),e.replace(/^\uFEFF/,"")}}},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e){e.exports=Math.abs},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e){e.exports=Math.floor},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e){e.exports=Number.isNaN||function(e){return e!=e}},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e){e.exports=Math.max},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e){e.exports=Math.min},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e){e.exports=Math.pow},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e){e.exports=Math.round},"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t,r){var n=r("../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js");e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},"../../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"(e,t,r){e.exports=r("../../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json")},"../../../node_modules/.pnpm/mime-types@2.1.35/node_modules/mime-types/index.js"(e,t,r){var n,o,s,i=r("../../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/index.js"),a=r("path").extname,d=/^\s*([^;\s]*)(?:;|\s|$)/,l=/^text\//i;function c(e){if(!e||"string"!=typeof e)return!1;var t=d.exec(e),r=t&&i[t[1].toLowerCase()];return r&&r.charset?r.charset:!!(t&&l.test(t[1]))&&"UTF-8"}t.charset=c,t.charsets={lookup:c},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var r=-1===e.indexOf("/")?t.lookup(e):e;if(!r)return!1;if(-1===r.indexOf("charset")){var n=t.charset(r);n&&(r+="; charset="+n.toLowerCase())}return r},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var r=d.exec(e),n=r&&t.extensions[r[1].toLowerCase()];return!!n&&!!n.length&&n[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var r=a("x."+e).toLowerCase().substr(1);return!!r&&(t.types[r]||!1)},t.types=Object.create(null),n=t.extensions,o=t.types,s=["nginx","apache",void 0,"iana"],Object.keys(i).forEach(function(e){var t=i[e],r=t.extensions;if(r&&r.length){n[e]=r;for(var a=0;a<r.length;a++){var d=r[a];if(o[d]){var l=s.indexOf(i[o[d]].source),c=s.indexOf(t.source);if("application/octet-stream"!==o[d]&&(l>c||l===c&&"application/"===o[d].substr(0,12)))continue}o[d]=e}}})},"../../../node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js"(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,o,s,i,a=typeof e;if("string"===a&&e.length>0){var d=e;if(!((d=String(d)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(d);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(o=Math.abs(n=e))>=864e5?t(n,o,864e5,"day"):o>=36e5?t(n,o,36e5,"hour"):o>=6e4?t(n,o,6e4,"minute"):o>=1e3?t(n,o,1e3,"second"):n+" ms":(i=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":i>=36e5?Math.round(s/36e5)+"h":i>=6e4?Math.round(s/6e4)+"m":i>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"(e,t,r){var n,o,s,i,a,d=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");function l(e,t){d.cipher.registerAlgorithm(e,function(){return new d.aes.Algorithm(e,t)})}r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipher.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipherModes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),e.exports=d.aes=d.aes||{},d.aes.startEncrypting=function(e,t,r,n){var o=h({key:e,output:r,decrypt:!1,mode:n});return o.start(t),o},d.aes.createEncryptionCipher=function(e,t){return h({key:e,output:null,decrypt:!1,mode:t})},d.aes.startDecrypting=function(e,t,r,n){var o=h({key:e,output:r,decrypt:!0,mode:n});return o.start(t),o},d.aes.createDecryptionCipher=function(e,t){return h({key:e,output:null,decrypt:!0,mode:t})},d.aes.Algorithm=function(e,t){c||u();var r=this;r.name=e,r.mode=new t({blockSize:16,cipher:{encrypt:function(e,t){return m(r._w,e,t,!1)},decrypt:function(e,t){return m(r._w,e,t,!0)}}}),r._init=!1},d.aes.Algorithm.prototype.initialize=function(e){if(!this._init){var t,r=e.key;if("string"==typeof r&&(16===r.length||24===r.length||32===r.length))r=d.util.createBuffer(r);else if(d.util.isArray(r)&&(16===r.length||24===r.length||32===r.length)){t=r,r=d.util.createBuffer();for(var n=0;n<t.length;++n)r.putByte(t[n])}if(!d.util.isArray(r)){t=r,r=[];var o=t.length();if(16===o||24===o||32===o){o>>>=2;for(var n=0;n<o;++n)r.push(t.getInt32())}}if(!d.util.isArray(r)||4!==r.length&&6!==r.length&&8!==r.length)throw Error("Invalid key parameter.");var s=-1!==["CFB","OFB","CTR","GCM"].indexOf(this.mode.name);this._w=p(r,e.decrypt&&!s),this._init=!0}},d.aes._expandKey=function(e,t){return c||u(),p(e,t)},d.aes._updateBlock=m,l("AES-ECB",d.cipher.modes.ecb),l("AES-CBC",d.cipher.modes.cbc),l("AES-CFB",d.cipher.modes.cfb),l("AES-OFB",d.cipher.modes.ofb),l("AES-CTR",d.cipher.modes.ctr),l("AES-GCM",d.cipher.modes.gcm);var c=!1;function u(){c=!0,s=[0,1,2,4,8,16,32,64,128,27,54];for(var e=Array(256),t=0;t<128;++t)e[t]=t<<1,e[t+128]=t+128<<1^283;n=Array(256),o=Array(256),i=[,,,,],a=[,,,,];for(var t=0;t<4;++t)i[t]=Array(256),a[t]=Array(256);for(var r,d,l,u,p,m,h,f=0,g=0,t=0;t<256;++t){u=(u=g^g<<1^g<<2^g<<3^g<<4)>>8^255&u^99,n[f]=u,o[u]=f,p=e[u],r=e[f],d=e[r],l=e[d],m=p<<24^u<<16^u<<8^(u^p),h=(r^d^l)<<24^(f^l)<<16^(f^d^l)<<8^(f^r^l);for(var b=0;b<4;++b)i[b][f]=m,a[b][u]=h,m=m<<24|m>>>8,h=h<<24|h>>>8;0===f?f=g=1:(f=r^e[e[e[r^l]]],g^=e[e[g]])}}function p(e,t){for(var r,o=e.slice(0),i=1,d=o.length,l=4*(d+6+1),c=d;c<l;++c)r=o[c-1],c%d==0?(r=n[r>>>16&255]<<24^n[r>>>8&255]<<16^n[255&r]<<8^n[r>>>24]^s[i]<<24,i++):d>6&&c%d==4&&(r=n[r>>>24]<<24^n[r>>>16&255]<<16^n[r>>>8&255]<<8^n[255&r]),o[c]=o[c-d]^r;if(t){var u,p=a[0],m=a[1],h=a[2],f=a[3],g=o.slice(0);l=o.length;for(var c=0,b=l-4;c<l;c+=4,b-=4)if(0===c||c===l-4)g[c]=o[b],g[c+1]=o[b+3],g[c+2]=o[b+2],g[c+3]=o[b+1];else for(var y=0;y<4;++y)u=o[b+y],g[c+(3&-y)]=p[n[u>>>24]]^m[n[u>>>16&255]]^h[n[u>>>8&255]]^f[n[255&u]];o=g}return o}function m(e,t,r,s){var d,l,c,u,p,m,h,f,g,b,y,v,_=e.length/4-1;s?(d=a[0],l=a[1],c=a[2],u=a[3],p=o):(d=i[0],l=i[1],c=i[2],u=i[3],p=n),m=t[0]^e[0],h=t[s?3:1]^e[1],f=t[2]^e[2],g=t[s?1:3]^e[3];for(var x=3,E=1;E<_;++E)b=d[m>>>24]^l[h>>>16&255]^c[f>>>8&255]^u[255&g]^e[++x],y=d[h>>>24]^l[f>>>16&255]^c[g>>>8&255]^u[255&m]^e[++x],v=d[f>>>24]^l[g>>>16&255]^c[m>>>8&255]^u[255&h]^e[++x],g=d[g>>>24]^l[m>>>16&255]^c[h>>>8&255]^u[255&f]^e[++x],m=b,h=y,f=v;r[0]=p[m>>>24]<<24^p[h>>>16&255]<<16^p[f>>>8&255]<<8^p[255&g]^e[++x],r[s?3:1]=p[h>>>24]<<24^p[f>>>16&255]<<16^p[g>>>8&255]<<8^p[255&m]^e[++x],r[2]=p[f>>>24]<<24^p[g>>>16&255]<<16^p[m>>>8&255]<<8^p[255&h]^e[++x],r[s?1:3]=p[g>>>24]<<24^p[m>>>16&255]<<16^p[h>>>8&255]<<8^p[255&f]^e[++x]}function h(e){var t,r="AES-"+((e=e||{}).mode||"CBC").toUpperCase(),n=(t=e.decrypt?d.cipher.createDecipher(r,e.key):d.cipher.createCipher(r,e.key)).start;return t.start=function(e,r){var o=null;r instanceof d.util.ByteBuffer&&(o=r,r={}),(r=r||{}).output=o,r.iv=e,n.call(t,r)},t}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aesCipherSuites.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/tls.js");var o=e.exports=n.tls;function s(e,t,r){var s=t.entity===n.tls.ConnectionEnd.client;e.read.cipherState={init:!1,cipher:n.cipher.createDecipher("AES-CBC",s?r.keys.server_write_key:r.keys.client_write_key),iv:s?r.keys.server_write_IV:r.keys.client_write_IV},e.write.cipherState={init:!1,cipher:n.cipher.createCipher("AES-CBC",s?r.keys.client_write_key:r.keys.server_write_key),iv:s?r.keys.client_write_IV:r.keys.server_write_IV},e.read.cipherFunction=l,e.write.cipherFunction=i,e.read.macLength=e.write.macLength=r.mac_length,e.read.macFunction=e.write.macFunction=o.hmac_sha1}function i(e,t){var r,s=!1,i=t.macFunction(t.macKey,t.sequenceNumber,e);e.fragment.putBytes(i),t.updateSequenceNumber(),r=e.version.minor===o.Versions.TLS_1_0.minor?t.cipherState.init?null:t.cipherState.iv:n.random.getBytesSync(16),t.cipherState.init=!0;var d=t.cipherState.cipher;return d.start({iv:r}),e.version.minor>=o.Versions.TLS_1_1.minor&&d.output.putBytes(r),d.update(e.fragment),d.finish(a)&&(e.fragment=d.output,e.length=e.fragment.length(),s=!0),s}function a(e,t,r){if(!r){var n=e-t.length()%e;t.fillWithByte(n-1,n)}return!0}function d(e,t,r){var n=!0;if(r){for(var o=t.length(),s=t.last(),i=o-1-s;i<o-1;++i)n=n&&t.at(i)==s;n&&t.truncate(s+1)}return n}function l(e,t){var r,s,i,a,l,c=!1;l=e.version.minor===o.Versions.TLS_1_0.minor?t.cipherState.init?null:t.cipherState.iv:e.fragment.getBytes(16),t.cipherState.init=!0;var u=t.cipherState.cipher;u.start({iv:l}),u.update(e.fragment),c=u.finish(d);var p=t.macLength,m=n.random.getBytesSync(p),h=u.output.length();h>=p?(e.fragment=u.output.getBytes(h-p),m=u.output.getBytes(p)):e.fragment=u.output.getBytes(),e.fragment=n.util.createBuffer(e.fragment),e.length=e.fragment.length();var f=t.macFunction(t.macKey,t.sequenceNumber,e);return t.updateSequenceNumber(),c=(r=t.macKey,s=m,i=f,(a=n.hmac.create()).start("SHA1",r),a.update(s),s=a.digest().getBytes(),a.start(null,null),a.update(i),s===(i=a.digest().getBytes())&&c)}o.CipherSuites.TLS_RSA_WITH_AES_128_CBC_SHA={id:[0,47],name:"TLS_RSA_WITH_AES_128_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=o.BulkCipherAlgorithm.aes,e.cipher_type=o.CipherType.block,e.enc_key_length=16,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=o.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:s},o.CipherSuites.TLS_RSA_WITH_AES_256_CBC_SHA={id:[0,53],name:"TLS_RSA_WITH_AES_256_CBC_SHA",initSecurityParameters:function(e){e.bulk_cipher_algorithm=o.BulkCipherAlgorithm.aes,e.cipher_type=o.CipherType.block,e.enc_key_length=32,e.block_length=16,e.fixed_iv_length=16,e.record_iv_length=16,e.mac_algorithm=o.MACAlgorithm.hmac_sha1,e.mac_length=20,e.mac_key_length=20},initConnectionState:s}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1-validator.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js");var o=n.asn1;t.privateKeyValidator={name:"PrivateKeyInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},t.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,composed:!0,captureBitStringValue:"ed25519PublicKey"}]}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js");var o=e.exports=n.asn1=n.asn1||{};function s(e,t,r){if(r>t){var n=Error("Too few bytes to parse DER.");throw n.available=e.length(),n.remaining=t,n.requested=r,n}}o.Class={UNIVERSAL:0,APPLICATION:64,CONTEXT_SPECIFIC:128,PRIVATE:192},o.Type={NONE:0,BOOLEAN:1,INTEGER:2,BITSTRING:3,OCTETSTRING:4,NULL:5,OID:6,ODESC:7,EXTERNAL:8,REAL:9,ENUMERATED:10,EMBEDDED:11,UTF8:12,ROID:13,SEQUENCE:16,SET:17,PRINTABLESTRING:19,IA5STRING:22,UTCTIME:23,GENERALIZEDTIME:24,BMPSTRING:30},o.maxDepth=256,o.create=function(e,t,r,s,i){if(n.util.isArray(s)){for(var a=[],d=0;d<s.length;++d)void 0!==s[d]&&a.push(s[d]);s=a}var l={tagClass:e,type:t,constructed:r,composed:r||n.util.isArray(s),value:s};return i&&"bitStringContents"in i&&(l.bitStringContents=i.bitStringContents,l.original=o.copy(l)),l},o.copy=function(e,t){var r;if(n.util.isArray(e)){r=[];for(var s=0;s<e.length;++s)r.push(o.copy(e[s],t));return r}return"string"==typeof e?e:(r={tagClass:e.tagClass,type:e.type,constructed:e.constructed,composed:e.composed,value:o.copy(e.value,t)},t&&!t.excludeBitStringContents&&(r.bitStringContents=e.bitStringContents),r)},o.equals=function(e,t,r){if(n.util.isArray(e)){if(!n.util.isArray(t)||e.length!==t.length)return!1;for(var s=0;s<e.length;++s)if(!o.equals(e[s],t[s]))return!1;return!0}if(typeof e!=typeof t)return!1;if("string"==typeof e)return e===t;var i=e.tagClass===t.tagClass&&e.type===t.type&&e.constructed===t.constructed&&e.composed===t.composed&&o.equals(e.value,t.value);return r&&r.includeBitStringContents&&(i=i&&e.bitStringContents===t.bitStringContents),i},o.getBerValueLength=function(e){var t=e.getByte();if(128!==t)return 128&t?e.getInt((127&t)<<3):t};var i=function(e,t){var r,n=e.getByte();if(t--,128!==n){if(128&n){var o=127&n;s(e,t,o),r=e.getInt(o<<3)}else r=n;if(r<0)throw Error("Negative length: "+r);return r}};o.fromDer=function(e,t){void 0===t&&(t={strict:!0,parseAllBytes:!0,decodeBitStrings:!0}),"boolean"==typeof t&&(t={strict:t,parseAllBytes:!0,decodeBitStrings:!0}),"strict"in t||(t.strict=!0),"parseAllBytes"in t||(t.parseAllBytes=!0),"decodeBitStrings"in t||(t.decodeBitStrings=!0),"maxDepth"in t||(t.maxDepth=o.maxDepth),"string"==typeof e&&(e=n.util.createBuffer(e));var r=e.length(),a=function e(t,r,n,a){if(n>=a.maxDepth)throw Error("ASN.1 parsing error: Max depth exceeded.");s(t,r,2);var d,l,c,u=t.getByte();r--;var p=192&u,m=31&u;d=t.length();var h=i(t,r);if(r-=d-t.length(),void 0!==h&&h>r){if(a.strict){var f=Error("Too few bytes to read ASN.1 value.");throw f.available=t.length(),f.remaining=r,f.requested=h,f}h=r}var g=(32&u)==32;if(g)if(l=[],void 0===h)for(;;){if(s(t,r,2),t.bytes(2)===String.fromCharCode(0,0)){t.getBytes(2),r-=2;break}d=t.length(),l.push(e(t,r,n+1,a)),r-=d-t.length()}else for(;h>0;)d=t.length(),l.push(e(t,h,n+1,a)),r-=d-t.length(),h-=d-t.length();if(void 0===l&&p===o.Class.UNIVERSAL&&m===o.Type.BITSTRING&&(c=t.bytes(h)),void 0===l&&a.decodeBitStrings&&p===o.Class.UNIVERSAL&&m===o.Type.BITSTRING&&h>1){var b=t.read,y=r,v=0;if(m===o.Type.BITSTRING&&(s(t,r,1),v=t.getByte(),r--),0===v)try{d=t.length();var _=e(t,r,n+1,{strict:!0,decodeBitStrings:!0}),x=d-t.length();r-=x,m==o.Type.BITSTRING&&x++;var E=_.tagClass;x===h&&(E===o.Class.UNIVERSAL||E===o.Class.CONTEXT_SPECIFIC)&&(l=[_])}catch(e){}void 0===l&&(t.read=b,r=y)}if(void 0===l){if(void 0===h){if(a.strict)throw Error("Non-constructed ASN.1 object of indefinite length.");h=r}if(m===o.Type.BMPSTRING)for(l="";h>0;h-=2)s(t,r,2),l+=String.fromCharCode(t.getInt16()),r-=2;else l=t.getBytes(h),r-=h}var C=void 0===c?null:{bitStringContents:c};return o.create(p,m,g,l,C)}(e,e.length(),0,t);if(t.parseAllBytes&&0!==e.length()){var d=Error("Unparsed DER bytes remain after ASN.1 parsing.");throw d.byteCount=r,d.remaining=e.length(),d}return a},o.toDer=function(e){var t=n.util.createBuffer(),r=e.tagClass|e.type,s=n.util.createBuffer(),i=!1;if("bitStringContents"in e&&(i=!0,e.original&&(i=o.equals(e,e.original))),i)s.putBytes(e.bitStringContents);else if(e.composed){e.constructed?r|=32:s.putByte(0);for(var a=0;a<e.value.length;++a)void 0!==e.value[a]&&s.putBuffer(o.toDer(e.value[a]))}else if(e.type===o.Type.BMPSTRING)for(var a=0;a<e.value.length;++a)s.putInt16(e.value.charCodeAt(a));else e.type===o.Type.INTEGER&&e.value.length>1&&(0===e.value.charCodeAt(0)&&(128&e.value.charCodeAt(1))==0||255===e.value.charCodeAt(0)&&(128&e.value.charCodeAt(1))==128)?s.putBytes(e.value.substr(1)):s.putBytes(e.value);if(t.putByte(r),127>=s.length())t.putByte(127&s.length());else{var d=s.length(),l="";do l+=String.fromCharCode(255&d),d>>>=8;while(d>0);t.putByte(128|l.length);for(var a=l.length-1;a>=0;--a)t.putByte(l.charCodeAt(a))}return t.putBuffer(s),t},o.oidToDer=function(e){var t,r,o,s,i=e.split("."),a=n.util.createBuffer();a.putByte(40*parseInt(i[0],10)+parseInt(i[1],10));for(var d=2;d<i.length;++d){if(t=!0,r=[],(o=parseInt(i[d],10))>0xffffffff)throw Error("OID value too large; max is 32-bits.");do s=127&o,o>>>=7,t||(s|=128),r.push(s),t=!1;while(o>0);for(var l=r.length-1;l>=0;--l)a.putByte(r[l])}return a},o.derToOid=function(e){"string"==typeof e&&(e=n.util.createBuffer(e));var t,r=e.getByte();t=Math.floor(r/40)+"."+r%40;for(var o=0;e.length()>0;){if(o>0x3fffffffffff)throw Error("OID value too large; max is 53-bits.");r=e.getByte(),o*=128,128&r?o+=127&r:(t+="."+(o+r),o=0)}return t},o.utcTimeToDate=function(e){var t=new Date,r=parseInt(e.substr(0,2),10);r=r>=50?1900+r:2e3+r;var n=parseInt(e.substr(2,2),10)-1,o=parseInt(e.substr(4,2),10),s=parseInt(e.substr(6,2),10),i=parseInt(e.substr(8,2),10),a=0;if(e.length>11){var d=e.charAt(10),l=10;"+"!==d&&"-"!==d&&(a=parseInt(e.substr(10,2),10),l+=2)}if(t.setUTCFullYear(r,n,o),t.setUTCHours(s,i,a,0),l&&("+"===(d=e.charAt(l))||"-"===d)){var c=60*parseInt(e.substr(l+1,2),10)+parseInt(e.substr(l+4,2),10);c*=6e4,"+"===d?t.setTime(t-c):t.setTime(+t+c)}return t},o.generalizedTimeToDate=function(e){var t=new Date,r=parseInt(e.substr(0,4),10),n=parseInt(e.substr(4,2),10)-1,o=parseInt(e.substr(6,2),10),s=parseInt(e.substr(8,2),10),i=parseInt(e.substr(10,2),10),a=parseInt(e.substr(12,2),10),d=0,l=0,c=!1;"Z"===e.charAt(e.length-1)&&(c=!0);var u=e.length-5,p=e.charAt(u);return("+"===p||"-"===p)&&(l=(60*parseInt(e.substr(u+1,2),10)+parseInt(e.substr(u+4,2),10))*6e4,"+"===p&&(l*=-1),c=!0),"."===e.charAt(14)&&(d=1e3*parseFloat(e.substr(14),10)),c?(t.setUTCFullYear(r,n,o),t.setUTCHours(s,i,a,d),t.setTime(+t+l)):(t.setFullYear(r,n,o),t.setHours(s,i,a,d)),t},o.dateToUtcTime=function(e){if("string"==typeof e)return e;var t="",r=[];r.push((""+e.getUTCFullYear()).substr(2)),r.push(""+(e.getUTCMonth()+1)),r.push(""+e.getUTCDate()),r.push(""+e.getUTCHours()),r.push(""+e.getUTCMinutes()),r.push(""+e.getUTCSeconds());for(var n=0;n<r.length;++n)r[n].length<2&&(t+="0"),t+=r[n];return t+"Z"},o.dateToGeneralizedTime=function(e){if("string"==typeof e)return e;var t="",r=[];r.push(""+e.getUTCFullYear()),r.push(""+(e.getUTCMonth()+1)),r.push(""+e.getUTCDate()),r.push(""+e.getUTCHours()),r.push(""+e.getUTCMinutes()),r.push(""+e.getUTCSeconds());for(var n=0;n<r.length;++n)r[n].length<2&&(t+="0"),t+=r[n];return t+"Z"},o.integerToDer=function(e){var t=n.util.createBuffer();if(e>=-128&&e<128)return t.putSignedInt(e,8);if(e>=-32768&&e<32768)return t.putSignedInt(e,16);if(e>=-8388608&&e<8388608)return t.putSignedInt(e,24);if(e>=-0x80000000&&e<0x80000000)return t.putSignedInt(e,32);var r=Error("Integer too large; max is 32-bits.");throw r.integer=e,r},o.derToInteger=function(e){"string"==typeof e&&(e=n.util.createBuffer(e));var t=8*e.length();if(t>32)throw Error("Integer too large; max is 32-bits.");return e.getSignedInt(t)},o.validate=function(e,t,r,s){var i=!1;if((e.tagClass===t.tagClass||void 0===t.tagClass)&&(e.type===t.type||void 0===t.type))if(e.constructed===t.constructed||void 0===t.constructed){if(i=!0,t.value&&n.util.isArray(t.value))for(var a=0,d=0;i&&d<t.value.length;++d){var l=t.value[d];i=!!l.optional;var c=e.value[a];if(!c){!l.optional&&(i=!1,s&&s.push("["+t.name+'] Missing required element. Expected tag class "'+l.tagClass+'", type "'+l.type+'"'));continue}if(void 0!==l.tagClass&&void 0!==l.type&&(c.tagClass!==l.tagClass||c.type!==l.type))if(l.optional){i=!0;continue}else{i=!1,s&&s.push("["+t.name+"] Tag mismatch. Expected ("+l.tagClass+","+l.type+"), got ("+c.tagClass+","+c.type+")");break}if(o.validate(c,l,r,s))++a,i=!0;else if(l.optional)i=!0;else{i=!1;break}}if(i&&r&&(t.capture&&(r[t.capture]=e.value),t.captureAsn1&&(r[t.captureAsn1]=e),t.captureBitStringContents&&"bitStringContents"in e&&(r[t.captureBitStringContents]=e.bitStringContents),t.captureBitStringValue&&"bitStringContents"in e))if(e.bitStringContents.length<2)r[t.captureBitStringValue]="";else{if(0!==e.bitStringContents.charCodeAt(0))throw Error("captureBitStringValue only supported for zero unused bits");r[t.captureBitStringValue]=e.bitStringContents.slice(1)}}else s&&s.push("["+t.name+'] Expected constructed "'+t.constructed+'", got "'+e.constructed+'"');else s&&(e.tagClass!==t.tagClass&&s.push("["+t.name+'] Expected tag class "'+t.tagClass+'", got "'+e.tagClass+'"'),e.type!==t.type&&s.push("["+t.name+'] Expected type "'+t.type+'", got "'+e.type+'"'));return i};var a=/[^\\u0000-\\u00ff]/;o.prettyPrint=function(e,t,r){var s="";r=r||2,(t=t||0)>0&&(s+="\n");for(var i="",d=0;d<t*r;++d)i+=" ";switch(s+=i+"Tag: ",e.tagClass){case o.Class.UNIVERSAL:s+="Universal:";break;case o.Class.APPLICATION:s+="Application:";break;case o.Class.CONTEXT_SPECIFIC:s+="Context-Specific:";break;case o.Class.PRIVATE:s+="Private:"}if(e.tagClass===o.Class.UNIVERSAL)switch(s+=e.type,e.type){case o.Type.NONE:s+=" (None)";break;case o.Type.BOOLEAN:s+=" (Boolean)";break;case o.Type.INTEGER:s+=" (Integer)";break;case o.Type.BITSTRING:s+=" (Bit string)";break;case o.Type.OCTETSTRING:s+=" (Octet string)";break;case o.Type.NULL:s+=" (Null)";break;case o.Type.OID:s+=" (Object Identifier)";break;case o.Type.ODESC:s+=" (Object Descriptor)";break;case o.Type.EXTERNAL:s+=" (External or Instance of)";break;case o.Type.REAL:s+=" (Real)";break;case o.Type.ENUMERATED:s+=" (Enumerated)";break;case o.Type.EMBEDDED:s+=" (Embedded PDV)";break;case o.Type.UTF8:s+=" (UTF8)";break;case o.Type.ROID:s+=" (Relative Object Identifier)";break;case o.Type.SEQUENCE:s+=" (Sequence)";break;case o.Type.SET:s+=" (Set)";break;case o.Type.PRINTABLESTRING:s+=" (Printable String)";break;case o.Type.IA5String:s+=" (IA5String (ASCII))";break;case o.Type.UTCTIME:s+=" (UTC time)";break;case o.Type.GENERALIZEDTIME:s+=" (Generalized time)";break;case o.Type.BMPSTRING:s+=" (BMP String)"}else s+=e.type;if(s+="\n",s+=i+"Constructed: "+e.constructed+"\n",e.composed){for(var l=0,c="",d=0;d<e.value.length;++d)void 0!==e.value[d]&&(l+=1,c+=o.prettyPrint(e.value[d],t+1,r),d+1<e.value.length&&(c+=","));s+=i+"Sub values: "+l+c}else{if(s+=i+"Value: ",e.type===o.Type.OID){var u=o.derToOid(e.value);s+=u,n.pki&&n.pki.oids&&u in n.pki.oids&&(s+=" ("+n.pki.oids[u]+") ")}if(e.type===o.Type.INTEGER)try{s+=o.derToInteger(e.value)}catch(t){s+="0x"+n.util.bytesToHex(e.value)}else if(e.type===o.Type.BITSTRING){if(e.value.length>1?s+="0x"+n.util.bytesToHex(e.value.slice(1)):s+="(none)",e.value.length>0){var p=e.value.charCodeAt(0);1==p?s+=" (1 unused bit shown)":p>1&&(s+=" ("+p+" unused bits shown)")}}else if(e.type===o.Type.OCTETSTRING)a.test(e.value)||(s+="("+e.value+") "),s+="0x"+n.util.bytesToHex(e.value);else if(e.type===o.Type.UTF8)try{s+=n.util.decodeUtf8(e.value)}catch(t){if("URI malformed"===t.message)s+="0x"+n.util.bytesToHex(e.value)+" (malformed UTF8)";else throw t}else e.type===o.Type.PRINTABLESTRING||e.type===o.Type.IA5String?s+=e.value:a.test(e.value)?s+="0x"+n.util.bytesToHex(e.value):0===e.value.length?s+="[null]":s+=e.value}return s}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/baseN.js"(e){var t={};e.exports=t;var r={};t.encode=function(e,t,r){if("string"!=typeof t)throw TypeError('"alphabet" must be a string.');if(void 0!==r&&"number"!=typeof r)throw TypeError('"maxline" must be a number.');var n="";if(e instanceof Uint8Array){var o=0,s=t.length,i=t.charAt(0),a=[0];for(o=0;o<e.length;++o){for(var d=0,l=e[o];d<a.length;++d)l+=a[d]<<8,a[d]=l%s,l=l/s|0;for(;l>0;)a.push(l%s),l=l/s|0}for(o=0;0===e[o]&&o<e.length-1;++o)n+=i;for(o=a.length-1;o>=0;--o)n+=t[a[o]]}else n=function(e,t){var r=0,n=t.length,o=t.charAt(0),s=[0];for(r=0;r<e.length();++r){for(var i=0,a=e.at(r);i<s.length;++i)a+=s[i]<<8,s[i]=a%n,a=a/n|0;for(;a>0;)s.push(a%n),a=a/n|0}var d="";for(r=0;0===e.at(r)&&r<e.length()-1;++r)d+=o;for(r=s.length-1;r>=0;--r)d+=t[s[r]];return d}(e,t);if(r){var c=RegExp(".{1,"+r+"}","g");n=n.match(c).join("\r\n")}return n},t.decode=function(e,t){if("string"!=typeof e)throw TypeError('"input" must be a string.');if("string"!=typeof t)throw TypeError('"alphabet" must be a string.');var n=r[t];if(!n){n=r[t]=[];for(var o=0;o<t.length;++o)n[t.charCodeAt(o)]=o}e=e.replace(/\s/g,"");for(var s=t.length,i=t.charAt(0),a=[0],o=0;o<e.length;o++){var d=n[e.charCodeAt(o)];if(void 0===d)return;for(var l=0,c=d;l<a.length;++l)c+=a[l]*s,a[l]=255&c,c>>=8;for(;c>0;)a.push(255&c),c>>=8}for(var u=0;e[u]===i&&u<e.length-1;++u)a.push(0);return"u">typeof Buffer?Buffer.from(a.reverse()):new Uint8Array(a.reverse())}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipher.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),e.exports=n.cipher=n.cipher||{},n.cipher.algorithms=n.cipher.algorithms||{},n.cipher.createCipher=function(e,t){var r=e;if("string"==typeof r&&(r=n.cipher.getAlgorithm(r))&&(r=r()),!r)throw Error("Unsupported algorithm: "+e);return new n.cipher.BlockCipher({algorithm:r,key:t,decrypt:!1})},n.cipher.createDecipher=function(e,t){var r=e;if("string"==typeof r&&(r=n.cipher.getAlgorithm(r))&&(r=r()),!r)throw Error("Unsupported algorithm: "+e);return new n.cipher.BlockCipher({algorithm:r,key:t,decrypt:!0})},n.cipher.registerAlgorithm=function(e,t){e=e.toUpperCase(),n.cipher.algorithms[e]=t},n.cipher.getAlgorithm=function(e){return(e=e.toUpperCase())in n.cipher.algorithms?n.cipher.algorithms[e]:null};var o=n.cipher.BlockCipher=function(e){this.algorithm=e.algorithm,this.mode=this.algorithm.mode,this.blockSize=this.mode.blockSize,this._finish=!1,this._input=null,this.output=null,this._op=e.decrypt?this.mode.decrypt:this.mode.encrypt,this._decrypt=e.decrypt,this.algorithm.initialize(e)};o.prototype.start=function(e){var t={};for(var r in e=e||{})t[r]=e[r];t.decrypt=this._decrypt,this._finish=!1,this._input=n.util.createBuffer(),this.output=e.output||n.util.createBuffer(),this.mode.start(t)},o.prototype.update=function(e){for(e&&this._input.putBuffer(e);!this._op.call(this.mode,this._input,this.output,this._finish)&&!this._finish;);this._input.compact()},o.prototype.finish=function(e){e&&("ECB"===this.mode.name||"CBC"===this.mode.name)&&(this.mode.pad=function(t){return e(this.blockSize,t,!1)},this.mode.unpad=function(t){return e(this.blockSize,t,!0)});var t={};return t.decrypt=this._decrypt,t.overflow=this._input.length()%this.blockSize,(!!this._decrypt||!this.mode.pad||!!this.mode.pad(this._input,t))&&(this._finish=!0,this.update(),(!this._decrypt||!this.mode.unpad||!!this.mode.unpad(this.output,t))&&(!this.mode.afterFinish||!!this.mode.afterFinish(this.output,t)))}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipherModes.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),n.cipher=n.cipher||{};var o=e.exports=n.cipher.modes=n.cipher.modes||{};function s(e,t){if("string"==typeof e&&(e=n.util.createBuffer(e)),n.util.isArray(e)&&e.length>4){var r=e;e=n.util.createBuffer();for(var o=0;o<r.length;++o)e.putByte(r[o])}if(e.length()<t)throw Error("Invalid IV length; got "+e.length()+" bytes and expected "+t+" bytes.");if(!n.util.isArray(e)){for(var s=[],i=t/4,o=0;o<i;++o)s.push(e.getInt32());e=s}return e}function i(e){e[e.length-1]=e[e.length-1]+1|0}function a(e){return[e/0x100000000|0,0|e]}o.ecb=function(e){e=e||{},this.name="ECB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=Array(this._ints),this._outBlock=Array(this._ints)},o.ecb.prototype.start=function(e){},o.ecb.prototype.encrypt=function(e,t,r){if(e.length()<this.blockSize&&!(r&&e.length()>0))return!0;for(var n=0;n<this._ints;++n)this._inBlock[n]=e.getInt32();this.cipher.encrypt(this._inBlock,this._outBlock);for(var n=0;n<this._ints;++n)t.putInt32(this._outBlock[n])},o.ecb.prototype.decrypt=function(e,t,r){if(e.length()<this.blockSize&&!(r&&e.length()>0))return!0;for(var n=0;n<this._ints;++n)this._inBlock[n]=e.getInt32();this.cipher.decrypt(this._inBlock,this._outBlock);for(var n=0;n<this._ints;++n)t.putInt32(this._outBlock[n])},o.ecb.prototype.pad=function(e,t){var r=e.length()===this.blockSize?this.blockSize:this.blockSize-e.length();return e.fillWithByte(r,r),!0},o.ecb.prototype.unpad=function(e,t){if(t.overflow>0)return!1;var r=e.length(),n=e.at(r-1);return!(n>this.blockSize<<2)&&(e.truncate(n),!0)},o.cbc=function(e){e=e||{},this.name="CBC",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=Array(this._ints),this._outBlock=Array(this._ints)},o.cbc.prototype.start=function(e){if(null===e.iv){if(!this._prev)throw Error("Invalid IV parameter.");this._iv=this._prev.slice(0)}else if("iv"in e)this._iv=s(e.iv,this.blockSize),this._prev=this._iv.slice(0);else throw Error("Invalid IV parameter.")},o.cbc.prototype.encrypt=function(e,t,r){if(e.length()<this.blockSize&&!(r&&e.length()>0))return!0;for(var n=0;n<this._ints;++n)this._inBlock[n]=this._prev[n]^e.getInt32();this.cipher.encrypt(this._inBlock,this._outBlock);for(var n=0;n<this._ints;++n)t.putInt32(this._outBlock[n]);this._prev=this._outBlock},o.cbc.prototype.decrypt=function(e,t,r){if(e.length()<this.blockSize&&!(r&&e.length()>0))return!0;for(var n=0;n<this._ints;++n)this._inBlock[n]=e.getInt32();this.cipher.decrypt(this._inBlock,this._outBlock);for(var n=0;n<this._ints;++n)t.putInt32(this._prev[n]^this._outBlock[n]);this._prev=this._inBlock.slice(0)},o.cbc.prototype.pad=function(e,t){var r=e.length()===this.blockSize?this.blockSize:this.blockSize-e.length();return e.fillWithByte(r,r),!0},o.cbc.prototype.unpad=function(e,t){if(t.overflow>0)return!1;var r=e.length(),n=e.at(r-1);return!(n>this.blockSize<<2)&&(e.truncate(n),!0)},o.cfb=function(e){e=e||{},this.name="CFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=Array(this._ints),this._partialBlock=Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0},o.cfb.prototype.start=function(e){if(!("iv"in e))throw Error("Invalid IV parameter.");this._iv=s(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},o.cfb.prototype.encrypt=function(e,t,r){var n=e.length();if(0===n)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&n>=this.blockSize){for(var o=0;o<this._ints;++o)this._inBlock[o]=e.getInt32()^this._outBlock[o],t.putInt32(this._inBlock[o]);return}var s=(this.blockSize-n)%this.blockSize;s>0&&(s=this.blockSize-s),this._partialOutput.clear();for(var o=0;o<this._ints;++o)this._partialBlock[o]=e.getInt32()^this._outBlock[o],this._partialOutput.putInt32(this._partialBlock[o]);if(s>0)e.read-=this.blockSize;else for(var o=0;o<this._ints;++o)this._inBlock[o]=this._partialBlock[o];if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),s>0&&!r)return t.putBytes(this._partialOutput.getBytes(s-this._partialBytes)),this._partialBytes=s,!0;t.putBytes(this._partialOutput.getBytes(n-this._partialBytes)),this._partialBytes=0},o.cfb.prototype.decrypt=function(e,t,r){var n=e.length();if(0===n)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&n>=this.blockSize){for(var o=0;o<this._ints;++o)this._inBlock[o]=e.getInt32(),t.putInt32(this._inBlock[o]^this._outBlock[o]);return}var s=(this.blockSize-n)%this.blockSize;s>0&&(s=this.blockSize-s),this._partialOutput.clear();for(var o=0;o<this._ints;++o)this._partialBlock[o]=e.getInt32(),this._partialOutput.putInt32(this._partialBlock[o]^this._outBlock[o]);if(s>0)e.read-=this.blockSize;else for(var o=0;o<this._ints;++o)this._inBlock[o]=this._partialBlock[o];if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),s>0&&!r)return t.putBytes(this._partialOutput.getBytes(s-this._partialBytes)),this._partialBytes=s,!0;t.putBytes(this._partialOutput.getBytes(n-this._partialBytes)),this._partialBytes=0},o.ofb=function(e){e=e||{},this.name="OFB",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0},o.ofb.prototype.start=function(e){if(!("iv"in e))throw Error("Invalid IV parameter.");this._iv=s(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},o.ofb.prototype.encrypt=function(e,t,r){var n=e.length();if(0===e.length())return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&n>=this.blockSize){for(var o=0;o<this._ints;++o)t.putInt32(e.getInt32()^this._outBlock[o]),this._inBlock[o]=this._outBlock[o];return}var s=(this.blockSize-n)%this.blockSize;s>0&&(s=this.blockSize-s),this._partialOutput.clear();for(var o=0;o<this._ints;++o)this._partialOutput.putInt32(e.getInt32()^this._outBlock[o]);if(s>0)e.read-=this.blockSize;else for(var o=0;o<this._ints;++o)this._inBlock[o]=this._outBlock[o];if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),s>0&&!r)return t.putBytes(this._partialOutput.getBytes(s-this._partialBytes)),this._partialBytes=s,!0;t.putBytes(this._partialOutput.getBytes(n-this._partialBytes)),this._partialBytes=0},o.ofb.prototype.decrypt=o.ofb.prototype.encrypt,o.ctr=function(e){e=e||{},this.name="CTR",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=null,this._outBlock=Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0},o.ctr.prototype.start=function(e){if(!("iv"in e))throw Error("Invalid IV parameter.");this._iv=s(e.iv,this.blockSize),this._inBlock=this._iv.slice(0),this._partialBytes=0},o.ctr.prototype.encrypt=function(e,t,r){var n=e.length();if(0===n)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&n>=this.blockSize)for(var o=0;o<this._ints;++o)t.putInt32(e.getInt32()^this._outBlock[o]);else{var s=(this.blockSize-n)%this.blockSize;s>0&&(s=this.blockSize-s),this._partialOutput.clear();for(var o=0;o<this._ints;++o)this._partialOutput.putInt32(e.getInt32()^this._outBlock[o]);if(s>0&&(e.read-=this.blockSize),this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),s>0&&!r)return t.putBytes(this._partialOutput.getBytes(s-this._partialBytes)),this._partialBytes=s,!0;t.putBytes(this._partialOutput.getBytes(n-this._partialBytes)),this._partialBytes=0}i(this._inBlock)},o.ctr.prototype.decrypt=o.ctr.prototype.encrypt,o.gcm=function(e){e=e||{},this.name="GCM",this.cipher=e.cipher,this.blockSize=e.blockSize||16,this._ints=this.blockSize/4,this._inBlock=Array(this._ints),this._outBlock=Array(this._ints),this._partialOutput=n.util.createBuffer(),this._partialBytes=0,this._R=0xe1000000},o.gcm.prototype.start=function(e){if(!("iv"in e))throw Error("Invalid IV parameter.");var t,r=n.util.createBuffer(e.iv);if(this._cipherLength=0,t="additionalData"in e?n.util.createBuffer(e.additionalData):n.util.createBuffer(),"tagLength"in e?this._tagLength=e.tagLength:this._tagLength=128,this._tag=null,e.decrypt&&(this._tag=n.util.createBuffer(e.tag).getBytes(),this._tag.length!==this._tagLength/8))throw Error("Authentication tag does not match tag length.");this._hashBlock=Array(this._ints),this.tag=null,this._hashSubkey=Array(this._ints),this.cipher.encrypt([0,0,0,0],this._hashSubkey),this.componentBits=4,this._m=this.generateHashTable(this._hashSubkey,this.componentBits);var o=r.length();if(12===o)this._j0=[r.getInt32(),r.getInt32(),r.getInt32(),1];else{for(this._j0=[0,0,0,0];r.length()>0;)this._j0=this.ghash(this._hashSubkey,this._j0,[r.getInt32(),r.getInt32(),r.getInt32(),r.getInt32()]);this._j0=this.ghash(this._hashSubkey,this._j0,[0,0].concat(a(8*o)))}this._inBlock=this._j0.slice(0),i(this._inBlock),this._partialBytes=0,t=n.util.createBuffer(t),this._aDataLength=a(8*t.length());var s=t.length()%this.blockSize;for(s&&t.fillWithByte(0,this.blockSize-s),this._s=[0,0,0,0];t.length()>0;)this._s=this.ghash(this._hashSubkey,this._s,[t.getInt32(),t.getInt32(),t.getInt32(),t.getInt32()])},o.gcm.prototype.encrypt=function(e,t,r){var n=e.length();if(0===n)return!0;if(this.cipher.encrypt(this._inBlock,this._outBlock),0===this._partialBytes&&n>=this.blockSize){for(var o=0;o<this._ints;++o)t.putInt32(this._outBlock[o]^=e.getInt32());this._cipherLength+=this.blockSize}else{var s=(this.blockSize-n)%this.blockSize;s>0&&(s=this.blockSize-s),this._partialOutput.clear();for(var o=0;o<this._ints;++o)this._partialOutput.putInt32(e.getInt32()^this._outBlock[o]);if(s<=0||r){if(r){var a=n%this.blockSize;this._cipherLength+=a,this._partialOutput.truncate(this.blockSize-a)}else this._cipherLength+=this.blockSize;for(var o=0;o<this._ints;++o)this._outBlock[o]=this._partialOutput.getInt32();this._partialOutput.read-=this.blockSize}if(this._partialBytes>0&&this._partialOutput.getBytes(this._partialBytes),s>0&&!r)return e.read-=this.blockSize,t.putBytes(this._partialOutput.getBytes(s-this._partialBytes)),this._partialBytes=s,!0;t.putBytes(this._partialOutput.getBytes(n-this._partialBytes)),this._partialBytes=0}this._s=this.ghash(this._hashSubkey,this._s,this._outBlock),i(this._inBlock)},o.gcm.prototype.decrypt=function(e,t,r){var n=e.length();if(n<this.blockSize&&!(r&&n>0))return!0;this.cipher.encrypt(this._inBlock,this._outBlock),i(this._inBlock),this._hashBlock[0]=e.getInt32(),this._hashBlock[1]=e.getInt32(),this._hashBlock[2]=e.getInt32(),this._hashBlock[3]=e.getInt32(),this._s=this.ghash(this._hashSubkey,this._s,this._hashBlock);for(var o=0;o<this._ints;++o)t.putInt32(this._outBlock[o]^this._hashBlock[o]);n<this.blockSize?this._cipherLength+=n%this.blockSize:this._cipherLength+=this.blockSize},o.gcm.prototype.afterFinish=function(e,t){var r=!0;t.decrypt&&t.overflow&&e.truncate(this.blockSize-t.overflow),this.tag=n.util.createBuffer();var o=this._aDataLength.concat(a(8*this._cipherLength));this._s=this.ghash(this._hashSubkey,this._s,o);var s=[];this.cipher.encrypt(this._j0,s);for(var i=0;i<this._ints;++i)this.tag.putInt32(this._s[i]^s[i]);return this.tag.truncate(this.tag.length()%(this._tagLength/8)),t.decrypt&&this.tag.bytes()!==this._tag&&(r=!1),r},o.gcm.prototype.multiply=function(e,t){for(var r=[0,0,0,0],n=t.slice(0),o=0;o<128;++o)e[o/32|0]&1<<31-o%32&&(r[0]^=n[0],r[1]^=n[1],r[2]^=n[2],r[3]^=n[3]),this.pow(n,n);return r},o.gcm.prototype.pow=function(e,t){for(var r=1&e[3],n=3;n>0;--n)t[n]=e[n]>>>1|(1&e[n-1])<<31;t[0]=e[0]>>>1,r&&(t[0]^=this._R)},o.gcm.prototype.tableMultiply=function(e){for(var t=[0,0,0,0],r=0;r<32;++r){var n=e[r/8|0]>>>(7-r%8)*4&15,o=this._m[r][n];t[0]^=o[0],t[1]^=o[1],t[2]^=o[2],t[3]^=o[3]}return t},o.gcm.prototype.ghash=function(e,t,r){return t[0]^=r[0],t[1]^=r[1],t[2]^=r[2],t[3]^=r[3],this.tableMultiply(t)},o.gcm.prototype.generateHashTable=function(e,t){for(var r=8/t,n=4*r,o=16*r,s=Array(o),i=0;i<o;++i){var a=[0,0,0,0],d=i/n|0,l=(n-1-i%n)*t;a[d]=1<<t-1<<l,s[i]=this.generateSubHashTable(this.multiply(a,e),t)}return s},o.gcm.prototype.generateSubHashTable=function(e,t){var r=1<<t,n=r>>>1,o=Array(r);o[n]=e.slice(0);for(var s=n>>>1;s>0;)this.pow(o[2*s],o[s]=[]),s>>=1;for(s=2;s<n;){for(var i=1;i<s;++i){var a=o[s],d=o[i];o[s+i]=[a[0]^d[0],a[1]^d[1],a[2]^d[2],a[3]^d[3]]}s*=2}for(o[0]=[0,0,0,0],s=n+1;s<r;++s){var l=o[s^n];o[s]=[e[0]^l[0],e[1]^l[1],e[2]^l[2],e[3]^l[3]]}return o}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/des.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");function o(e,t){n.cipher.registerAlgorithm(e,function(){return new n.des.Algorithm(e,t)})}r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipher.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipherModes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),e.exports=n.des=n.des||{},n.des.startEncrypting=function(e,t,r,n){var o=h({key:e,output:r,decrypt:!1,mode:n||(null===t?"ECB":"CBC")});return o.start(t),o},n.des.createEncryptionCipher=function(e,t){return h({key:e,output:null,decrypt:!1,mode:t})},n.des.startDecrypting=function(e,t,r,n){var o=h({key:e,output:r,decrypt:!0,mode:n||(null===t?"ECB":"CBC")});return o.start(t),o},n.des.createDecryptionCipher=function(e,t){return h({key:e,output:null,decrypt:!0,mode:t})},n.des.Algorithm=function(e,t){var r=this;r.name=e,r.mode=new t({blockSize:8,cipher:{encrypt:function(e,t){return m(r._keys,e,t,!1)},decrypt:function(e,t){return m(r._keys,e,t,!0)}}}),r._init=!1},n.des.Algorithm.prototype.initialize=function(e){if(!this._init){var t=n.util.createBuffer(e.key);if(0===this.name.indexOf("3DES")&&24!==t.length())throw Error("Invalid Triple-DES key size: "+8*t.length());this._keys=function(e){for(var t,r=[0,4,0x20000000,0x20000004,65536,65540,0x20010000,0x20010004,512,516,0x20000200,0x20000204,66048,66052,0x20010200,0x20010204],n=[0,1,1048576,1048577,0x4000000,0x4000001,0x4100000,0x4100001,256,257,1048832,1048833,0x4000100,0x4000101,0x4100100,0x4100101],o=[0,8,2048,2056,0x1000000,0x1000008,0x1000800,0x1000808,0,8,2048,2056,0x1000000,0x1000008,0x1000800,0x1000808],s=[0,2097152,0x8000000,0x8200000,8192,2105344,0x8002000,0x8202000,131072,2228224,0x8020000,0x8220000,139264,2236416,0x8022000,0x8222000],i=[0,262144,16,262160,0,262144,16,262160,4096,266240,4112,266256,4096,266240,4112,266256],a=[0,1024,32,1056,0,1024,32,1056,0x2000000,0x2000400,0x2000020,0x2000420,0x2000000,0x2000400,0x2000020,0x2000420],d=[0,0x10000000,524288,0x10080000,2,0x10000002,524290,0x10080002,0,0x10000000,524288,0x10080000,2,0x10000002,524290,0x10080002],l=[0,65536,2048,67584,0x20000000,0x20010000,0x20000800,0x20010800,131072,196608,133120,198656,0x20020000,0x20030000,0x20020800,0x20030800],c=[0,262144,0,262144,2,262146,2,262146,0x2000000,0x2040000,0x2000000,0x2040000,0x2000002,0x2040002,0x2000002,0x2040002],u=[0,0x10000000,8,0x10000008,0,0x10000000,8,0x10000008,1024,0x10000400,1032,0x10000408,1024,0x10000400,1032,0x10000408],p=[0,32,0,32,1048576,1048608,1048576,1048608,8192,8224,8192,8224,1056768,1056800,1056768,1056800],m=[0,0x1000000,512,0x1000200,2097152,0x1200000,2097664,0x1200200,0x4000000,0x5000000,0x4000200,0x5000200,0x4200000,0x5200000,0x4200200,0x5200200],h=[0,4096,0x8000000,0x8001000,524288,528384,0x8080000,0x8081000,16,4112,0x8000010,0x8001010,524304,528400,0x8080010,0x8081010],f=[0,4,256,260,0,4,256,260,1,5,257,261,1,5,257,261],g=e.length()>8?3:1,b=[],y=[0,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0],v=0,_=0;_<g;_++){var x=e.getInt32(),E=e.getInt32();t=(x>>>4^E)&0xf0f0f0f,E^=t,x^=t<<4,t=(E>>>-16^x)&65535,x^=t,E^=t<<-16,t=(x>>>2^E)&0x33333333,E^=t,x^=t<<2,t=(E>>>-16^x)&65535,x^=t,E^=t<<-16,t=(x>>>1^E)&0x55555555,E^=t,x^=t<<1,t=(E>>>8^x)&0xff00ff,x^=t,E^=t<<8,t=(x>>>1^E)&0x55555555,E^=t,x^=t<<1,t=x<<8|E>>>20&240,x=E<<24|E<<8&0xff0000|E>>>8&65280|E>>>24&240,E=t;for(var C=0;C<y.length;++C){y[C]?(x=x<<2|x>>>26,E=E<<2|E>>>26):(x=x<<1|x>>>27,E=E<<1|E>>>27),E&=-15;var w=r[(x&=-15)>>>28]|n[x>>>24&15]|o[x>>>20&15]|s[x>>>16&15]|i[x>>>12&15]|a[x>>>8&15]|d[x>>>4&15],j=l[E>>>28]|c[E>>>24&15]|u[E>>>20&15]|p[E>>>16&15]|m[E>>>12&15]|h[E>>>8&15]|f[E>>>4&15];t=(j>>>16^w)&65535,b[v++]=w^t,b[v++]=j^t<<16}}return b}(t),this._init=!0}},o("DES-ECB",n.cipher.modes.ecb),o("DES-CBC",n.cipher.modes.cbc),o("DES-CFB",n.cipher.modes.cfb),o("DES-OFB",n.cipher.modes.ofb),o("DES-CTR",n.cipher.modes.ctr),o("3DES-ECB",n.cipher.modes.ecb),o("3DES-CBC",n.cipher.modes.cbc),o("3DES-CFB",n.cipher.modes.cfb),o("3DES-OFB",n.cipher.modes.ofb),o("3DES-CTR",n.cipher.modes.ctr);var s=[0x1010400,0,65536,0x1010404,0x1010004,66564,4,65536,1024,0x1010400,0x1010404,1024,0x1000404,0x1010004,0x1000000,4,1028,0x1000400,0x1000400,66560,66560,0x1010000,0x1010000,0x1000404,65540,0x1000004,0x1000004,65540,0,1028,66564,0x1000000,65536,0x1010404,4,0x1010000,0x1010400,0x1000000,0x1000000,1024,0x1010004,65536,66560,0x1000004,1024,4,0x1000404,66564,0x1010404,65540,0x1010000,0x1000404,0x1000004,1028,66564,0x1010400,1028,0x1000400,0x1000400,0,65540,66560,0,0x1010004],i=[-0x7fef7fe0,-0x7fff8000,32768,1081376,1048576,32,-0x7fefffe0,-0x7fff7fe0,-0x7fffffe0,-0x7fef7fe0,-0x7fef8000,-0x80000000,-0x7fff8000,1048576,32,-0x7fefffe0,1081344,1048608,-0x7fff7fe0,0,-0x80000000,32768,1081376,-0x7ff00000,1048608,-0x7fffffe0,0,1081344,32800,-0x7fef8000,-0x7ff00000,32800,0,1081376,-0x7fefffe0,1048576,-0x7fff7fe0,-0x7ff00000,-0x7fef8000,32768,-0x7ff00000,-0x7fff8000,32,-0x7fef7fe0,1081376,32,32768,-0x80000000,32800,-0x7fef8000,1048576,-0x7fffffe0,1048608,-0x7fff7fe0,-0x7fffffe0,1048608,1081344,0,-0x7fff8000,32800,-0x80000000,-0x7fefffe0,-0x7fef7fe0,1081344],a=[520,0x8020200,0,0x8020008,0x8000200,0,131592,0x8000200,131080,0x8000008,0x8000008,131072,0x8020208,131080,0x8020000,520,0x8000000,8,0x8020200,512,131584,0x8020000,0x8020008,131592,0x8000208,131584,131072,0x8000208,8,0x8020208,512,0x8000000,0x8020200,0x8000000,131080,520,131072,0x8020200,0x8000200,0,512,131080,0x8020208,0x8000200,0x8000008,512,0,0x8020008,0x8000208,131072,0x8000000,0x8020208,8,131592,131584,0x8000008,0x8020000,0x8000208,520,0x8020000,131592,8,0x8020008,131584],d=[8396801,8321,8321,128,8396928,8388737,8388609,8193,0,8396800,8396800,8396929,129,0,8388736,8388609,1,8192,8388608,8396801,128,8388608,8193,8320,8388737,1,8320,8388736,8192,8396928,8396929,129,8388736,8388609,8396800,8396929,129,0,0,8396800,8320,8388736,8388737,1,8396801,8321,8321,128,8396929,129,1,8192,8388609,8193,8396928,8388737,8193,8320,8388608,8396801,128,8388608,8192,8396928],l=[256,0x2080100,0x2080000,0x42000100,524288,256,0x40000000,0x2080000,0x40080100,524288,0x2000100,0x40080100,0x42000100,0x42080000,524544,0x40000000,0x2000000,0x40080000,0x40080000,0,0x40000100,0x42080100,0x42080100,0x2000100,0x42080000,0x40000100,0,0x42000000,0x2080100,0x2000000,0x42000000,524544,524288,0x42000100,256,0x2000000,0x40000000,0x2080000,0x42000100,0x40080100,0x2000100,0x40000000,0x42080000,0x2080100,0x40080100,256,0x2000000,0x42080000,0x42080100,524544,0x42000000,0x42080100,0x2080000,0,0x40080000,0x42000000,524544,0x2000100,0x40000100,524288,0,0x40080000,0x2080100,0x40000100],c=[0x20000010,0x20400000,16384,0x20404010,0x20400000,16,0x20404010,4194304,0x20004000,4210704,4194304,0x20000010,4194320,0x20004000,0x20000000,16400,0,4194320,0x20004010,16384,4210688,0x20004010,16,0x20400010,0x20400010,0,4210704,0x20404000,16400,4210688,0x20404000,0x20000000,0x20004000,16,0x20400010,4210688,0x20404010,4194304,16400,0x20000010,4194304,0x20004000,0x20000000,16400,0x20000010,0x20404010,4210688,0x20400000,4210704,0x20404000,0,0x20400010,16,16384,0x20400000,4210704,16384,4194320,0x20004010,0,0x20404000,0x20000000,4194320,0x20004010],u=[2097152,0x4200002,0x4000802,0,2048,0x4000802,2099202,0x4200800,0x4200802,2097152,0,0x4000002,2,0x4000000,0x4200002,2050,0x4000800,2099202,2097154,0x4000800,0x4000002,0x4200000,0x4200800,2097154,0x4200000,2048,2050,0x4200802,2099200,2,0x4000000,2099200,0x4000000,2099200,2097152,0x4000802,0x4000802,0x4200002,0x4200002,2,2097154,0x4000000,0x4000800,2097152,0x4200800,2050,2099202,0x4200800,2050,0x4000002,0x4200802,0x4200000,2099200,0,2,0x4200802,0,2099202,0x4200000,2048,0x4000002,0x4000800,2048,2097154],p=[0x10001040,4096,262144,0x10041040,0x10000000,0x10001040,64,0x10000000,262208,0x10040000,0x10041040,266240,0x10041000,266304,4096,64,0x10040000,0x10000040,0x10001000,4160,266240,262208,0x10040040,0x10041000,4160,0,0,0x10040040,0x10000040,0x10001000,266304,262144,266304,262144,0x10041000,4096,64,0x10040040,4096,266304,0x10001000,64,0x10000040,0x10040000,0x10040040,0x10000000,262144,0x10001040,0,0x10041040,262208,0x10000040,0x10040000,0x10001000,0x10001040,0,0x10041040,266240,266240,4160,4160,262208,0x10000000,0x10041000];function m(e,t,r,n){var o,m,h=32===e.length?3:9;o=3===h?n?[30,-2,-2]:[0,32,2]:n?[94,62,-2,32,64,2,30,-2,-2]:[0,32,2,62,30,-2,64,96,2];var f=t[0],g=t[1];m=(f>>>4^g)&0xf0f0f0f,g^=m,f^=m<<4,m=(f>>>16^g)&65535,g^=m,f^=m<<16,m=(g>>>2^f)&0x33333333,f^=m,g^=m<<2,m=(g>>>8^f)&0xff00ff,f^=m,g^=m<<8,m=(f>>>1^g)&0x55555555,g^=m,f^=m<<1,f=f<<1|f>>>31,g=g<<1|g>>>31;for(var b=0;b<h;b+=3){for(var y=o[b+1],v=o[b+2],_=o[b];_!=y;_+=v){var x=g^e[_],E=(g>>>4|g<<28)^e[_+1];m=f,f=g,g=m^(i[x>>>24&63]|d[x>>>16&63]|c[x>>>8&63]|p[63&x]|s[E>>>24&63]|a[E>>>16&63]|l[E>>>8&63]|u[63&E])}m=f,f=g,g=m}m=((f=f>>>1|f<<31)>>>1^(g=g>>>1|g<<31))&0x55555555,g^=m,f^=m<<1,m=(g>>>8^f)&0xff00ff,f^=m,g^=m<<8,m=(g>>>2^f)&0x33333333,f^=m,g^=m<<2,m=(f>>>16^g)&65535,g^=m,f^=m<<16,m=(f>>>4^g)&0xf0f0f0f,g^=m,f^=m<<4,r[0]=f,r[1]=g}function h(e){var t,r="DES-"+((e=e||{}).mode||"CBC").toUpperCase(),o=(t=e.decrypt?n.cipher.createDecipher(r,e.key):n.cipher.createCipher(r,e.key)).start;return t.start=function(e,r){var s=null;r instanceof n.util.ByteBuffer&&(s=r,r={}),(r=r||{}).output=s,r.iv=e,o.call(t,r)},t}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/ed25519.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/jsbn.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha512.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1-validator.js"),s=o.publicKeyValidator,i=o.privateKeyValidator;if(void 0===a)var a=n.jsbn.BigInteger;var d=n.util.ByteBuffer,l="u"<typeof Buffer?Uint8Array:Buffer;n.pki=n.pki||{},e.exports=n.pki.ed25519=n.ed25519=n.ed25519||{};var c=n.ed25519;function u(e){var t=e.message;if(t instanceof Uint8Array||t instanceof l)return t;var r=e.encoding;if(void 0===t)if(e.md)t=e.md.digest().getBytes(),r="binary";else throw TypeError('"options.message" or "options.md" not specified.');if("string"==typeof t&&!r)throw TypeError('"options.encoding" must be "binary" or "utf8".');if("string"==typeof t){if("u">typeof Buffer)return Buffer.from(t,r);t=new d(t,r)}else if(!(t instanceof d))throw TypeError('"options.message" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a string with "options.encoding" specifying its encoding.');for(var n=new l(t.length()),o=0;o<n.length;++o)n[o]=t.at(o);return n}c.constants={},c.constants.PUBLIC_KEY_BYTE_LENGTH=32,c.constants.PRIVATE_KEY_BYTE_LENGTH=64,c.constants.SEED_BYTE_LENGTH=32,c.constants.SIGN_BYTE_LENGTH=64,c.constants.HASH_BYTE_LENGTH=64,c.generateKeyPair=function(e){var t=(e=e||{}).seed;if(void 0===t)t=n.random.getBytesSync(c.constants.SEED_BYTE_LENGTH);else if("string"==typeof t){if(t.length!==c.constants.SEED_BYTE_LENGTH)throw TypeError('"seed" must be '+c.constants.SEED_BYTE_LENGTH+" bytes in length.")}else if(!(t instanceof Uint8Array))throw TypeError('"seed" must be a node.js Buffer, Uint8Array, or a binary string.');t=u({message:t,encoding:"binary"});for(var r=new l(c.constants.PUBLIC_KEY_BYTE_LENGTH),o=new l(c.constants.PRIVATE_KEY_BYTE_LENGTH),s=0;s<32;++s)o[s]=t[s];return function(e,t){var r,n=[P(),P(),P(),P()],o=_(t,32);for(o[0]&=248,o[31]&=127,o[31]|=64,I(n,o),j(e,n),r=0;r<32;++r)t[r+32]=e[r]}(r,o),{publicKey:r,privateKey:o}},c.privateKeyFromAsn1=function(e){var t={},r=[];if(!n.asn1.validate(e,i,t,r)){var o=Error("Invalid Key.");throw o.errors=r,o}var s=n.asn1.derToOid(t.privateKeyOid),a=n.oids.EdDSA25519;if(s!==a)throw Error('Invalid OID "'+s+'"; OID must be "'+a+'".');var d=t.privateKey;return{privateKeyBytes:u({message:n.asn1.fromDer(d).value,encoding:"binary"})}},c.publicKeyFromAsn1=function(e){var t={},r=[];if(!n.asn1.validate(e,s,t,r)){var o=Error("Invalid Key.");throw o.errors=r,o}var i=n.asn1.derToOid(t.publicKeyOid),a=n.oids.EdDSA25519;if(i!==a)throw Error('Invalid OID "'+i+'"; OID must be "'+a+'".');var d=t.ed25519PublicKey;if(d.length!==c.constants.PUBLIC_KEY_BYTE_LENGTH)throw Error("Key length is invalid.");return u({message:d,encoding:"binary"})},c.publicKeyFromPrivateKey=function(e){var t=u({message:(e=e||{}).privateKey,encoding:"binary"});if(t.length!==c.constants.PRIVATE_KEY_BYTE_LENGTH)throw TypeError('"options.privateKey" must have a byte length of '+c.constants.PRIVATE_KEY_BYTE_LENGTH);for(var r=new l(c.constants.PUBLIC_KEY_BYTE_LENGTH),n=0;n<r.length;++n)r[n]=t[32+n];return r},c.sign=function(e){var t=u(e=e||{}),r=u({message:e.privateKey,encoding:"binary"});if(r.length===c.constants.SEED_BYTE_LENGTH)r=c.generateKeyPair({seed:r}).privateKey;else if(r.length!==c.constants.PRIVATE_KEY_BYTE_LENGTH)throw TypeError('"options.privateKey" must have a byte length of '+c.constants.SEED_BYTE_LENGTH+" or "+c.constants.PRIVATE_KEY_BYTE_LENGTH);var n=new l(c.constants.SIGN_BYTE_LENGTH+t.length);!function(e,t,r,n){var o,s,i=new Float64Array(64),a=[P(),P(),P(),P()],d=_(n,32);for(d[0]&=248,d[31]&=127,d[31]|=64,o=0;o<r;++o)e[64+o]=t[o];for(o=0;o<32;++o)e[32+o]=d[32+o];var l=_(e.subarray(32),r+32);for(E(l),I(a,l),j(e,a),o=32;o<64;++o)e[o]=n[o];var c=_(e,r+64);for(E(c),o=32;o<64;++o)i[o]=0;for(o=0;o<32;++o)i[o]=l[o];for(o=0;o<32;++o)for(s=0;s<32;s++)i[o+s]+=c[o]*d[s];x(e.subarray(32),i)}(n,t,t.length,r);for(var o=new l(c.constants.SIGN_BYTE_LENGTH),s=0;s<o.length;++s)o[s]=n[s];return o},c.verify=function(e){var t,r=u(e=e||{});if(void 0===e.signature)throw TypeError('"options.signature" must be a node.js Buffer, a Uint8Array, a forge ByteBuffer, or a binary string.');var n=u({message:e.signature,encoding:"binary"});if(n.length!==c.constants.SIGN_BYTE_LENGTH)throw TypeError('"options.signature" must have a byte length of '+c.constants.SIGN_BYTE_LENGTH);var o=u({message:e.publicKey,encoding:"binary"});if(o.length!==c.constants.PUBLIC_KEY_BYTE_LENGTH)throw TypeError('"options.publicKey" must have a byte length of '+c.constants.PUBLIC_KEY_BYTE_LENGTH);var s=new l(c.constants.SIGN_BYTE_LENGTH+r.length),i=new l(c.constants.SIGN_BYTE_LENGTH+r.length);for(t=0;t<c.constants.SIGN_BYTE_LENGTH;++t)s[t]=n[t];for(t=0;t<r.length;++t)s[t+c.constants.SIGN_BYTE_LENGTH]=r[t];return function(e,t,r,n){var o,s,i,a,d,c,u,f,g,b,x=new l(32),w=[P(),P(),P(),P()],S=[P(),P(),P(),P()];if(r<64||(o=S,s=n,i=P(),a=P(),d=P(),c=P(),u=P(),f=P(),g=P(),(A(o[2],m),function(e,t){var r;for(r=0;r<16;++r)e[r]=t[2*r]+(t[2*r+1]<<8);e[15]&=32767}(o[1],s),function(e,t){M(e,t,t)}(d,o[1]),M(c,d,h),B(d,d,o[2]),L(c,o[2],c),function(e,t){M(e,t,t)}(u,c),function(e,t){M(e,t,t)}(f,u),M(g,f,u),M(i,g,d),M(i,i,c),function(e,t){var r,n=P();for(r=0;r<16;++r)n[r]=t[r];for(r=250;r>=0;--r)(function(e,t){M(e,t,t)})(n,n),1!==r&&M(n,n,t);for(r=0;r<16;++r)e[r]=n[r]}(i,i),M(i,i,d),M(i,i,c),M(i,i,c),M(o[0],i,c),function(e,t){M(e,t,t)}(a,o[0]),M(a,a,c),k(a,d)&&M(o[0],o[0],v),function(e,t){M(e,t,t)}(a,o[0]),M(a,a,c),k(a,d))?-1:(O(o[0])===s[31]>>7&&B(o[0],p,o[0]),M(o[3],o[0],o[1]),0))||!function(e){var t;for(t=31;t>=0;--t){if(e[32+t]<y[t])return!0;if(e[32+t]>y[t])break}return!1}(t))return -1;for(b=0;b<r;++b)e[b]=t[b];for(b=0;b<32;++b)e[b+32]=n[b];var N=_(e,r);if(E(N),D(w,S,N),I(S,t.subarray(32)),C(w,S),j(x,w),r-=64,function(e,t,r,n){return T(e,t,r,n,32)}(t,0,x,0)){for(b=0;b<r;++b)e[b]=0;return -1}for(b=0;b<r;++b)e[b]=t[b+64];return r}(i,s,s.length,o)>=0};var p=P(),m=P([1]),h=P([30883,4953,19914,30187,55467,16705,2637,112,59544,30585,16505,36039,65139,11119,27886,20995]),f=P([61785,9906,39828,60374,45398,33411,5274,224,53552,61171,33010,6542,64743,22239,55772,9222]),g=P([54554,36645,11616,51542,42930,38181,51040,26924,56412,64982,57905,49316,21502,52590,14035,8553]),b=P([26200,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214,26214]),y=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]),v=P([41136,18958,6951,50414,58488,44335,6150,12099,55207,15867,153,11085,57099,20417,9344,11139]);function _(e,t){var r=n.md.sha512.create(),o=new d(e);r.update(o.getBytes(t),"binary");var s=r.digest().getBytes();if("u">typeof Buffer)return Buffer.from(s,"binary");for(var i=new l(c.constants.HASH_BYTE_LENGTH),a=0;a<64;++a)i[a]=s.charCodeAt(a);return i}function x(e,t){var r,n,o,s;for(n=63;n>=32;--n){for(r=0,o=n-32,s=n-12;o<s;++o)t[o]+=r-16*t[n]*y[o-(n-32)],r=t[o]+128>>8,t[o]-=256*r;t[o]+=r,t[n]=0}for(o=0,r=0;o<32;++o)t[o]+=r-(t[31]>>4)*y[o],r=t[o]>>8,t[o]&=255;for(o=0;o<32;++o)t[o]-=r*y[o];for(n=0;n<32;++n)t[n+1]+=t[n]>>8,e[n]=255&t[n]}function E(e){for(var t=new Float64Array(64),r=0;r<64;++r)t[r]=e[r],e[r]=0;x(e,t)}function C(e,t){var r=P(),n=P(),o=P(),s=P(),i=P(),a=P(),d=P(),l=P(),c=P();B(r,e[1],e[0]),B(c,t[1],t[0]),M(r,r,c),L(n,e[0],e[1]),L(c,t[0],t[1]),M(n,n,c),M(o,e[3],t[3]),M(o,o,f),M(s,e[2],t[2]),L(s,s,s),B(i,n,r),B(a,s,o),L(d,s,o),L(l,n,r),M(e[0],i,a),M(e[1],l,d),M(e[2],d,a),M(e[3],i,l)}function w(e,t,r){for(var n=0;n<4;++n)R(e[n],t[n],r)}function j(e,t){var r=P(),n=P(),o=P();(function(e,t){var r,n=P();for(r=0;r<16;++r)n[r]=t[r];for(r=253;r>=0;--r)(function(e,t){M(e,t,t)})(n,n),2!==r&&4!==r&&M(n,n,t);for(r=0;r<16;++r)e[r]=n[r]})(o,t[2]),M(r,t[0],o),M(n,t[1],o),S(e,n),e[31]^=O(r)<<7}function S(e,t){var r,n,o,s=P(),i=P();for(r=0;r<16;++r)i[r]=t[r];for(N(i),N(i),N(i),n=0;n<2;++n){for(s[0]=i[0]-65517,r=1;r<15;++r)s[r]=i[r]-65535-(s[r-1]>>16&1),s[r-1]&=65535;s[15]=i[15]-32767-(s[14]>>16&1),o=s[15]>>16&1,s[14]&=65535,R(i,s,1-o)}for(r=0;r<16;r++)e[2*r]=255&i[r],e[2*r+1]=i[r]>>8}function k(e,t){var r=new l(32),n=new l(32);return S(r,e),S(n,t),T(r,0,n,0,32)}function T(e,t,r,n,o){var s,i=0;for(s=0;s<o;++s)i|=e[t+s]^r[n+s];return(1&i-1>>>8)-1}function O(e){var t=new l(32);return S(t,e),1&t[0]}function D(e,t,r){var n,o;for(A(e[0],p),A(e[1],m),A(e[2],m),A(e[3],p),o=255;o>=0;--o)w(e,t,n=r[o/8|0]>>(7&o)&1),C(t,e),C(e,e),w(e,t,n)}function I(e,t){var r=[P(),P(),P(),P()];A(r[0],g),A(r[1],b),A(r[2],m),M(r[3],g,b),D(e,r,t)}function A(e,t){var r;for(r=0;r<16;r++)e[r]=0|t[r]}function N(e){var t,r,n=1;for(t=0;t<16;++t)n=Math.floor((r=e[t]+n+65535)/65536),e[t]=r-65536*n;e[0]+=n-1+37*(n-1)}function R(e,t,r){for(var n,o=~(r-1),s=0;s<16;++s)n=o&(e[s]^t[s]),e[s]^=n,t[s]^=n}function P(e){var t,r=new Float64Array(16);if(e)for(t=0;t<e.length;++t)r[t]=e[t];return r}function L(e,t,r){for(var n=0;n<16;++n)e[n]=t[n]+r[n]}function B(e,t,r){for(var n=0;n<16;++n)e[n]=t[n]-r[n]}function M(e,t,r){var n,o,s=0,i=0,a=0,d=0,l=0,c=0,u=0,p=0,m=0,h=0,f=0,g=0,b=0,y=0,v=0,_=0,x=0,E=0,C=0,w=0,j=0,S=0,k=0,T=0,O=0,D=0,I=0,A=0,N=0,R=0,P=0,L=r[0],B=r[1],M=r[2],U=r[3],F=r[4],K=r[5],V=r[6],Y=r[7],z=r[8],H=r[9],$=r[10],q=r[11],W=r[12],G=r[13],X=r[14],Q=r[15];s+=(n=t[0])*L,i+=n*B,a+=n*M,d+=n*U,l+=n*F,c+=n*K,u+=n*V,p+=n*Y,m+=n*z,h+=n*H,f+=n*$,g+=n*q,b+=n*W,y+=n*G,v+=n*X,_+=n*Q,i+=(n=t[1])*L,a+=n*B,d+=n*M,l+=n*U,c+=n*F,u+=n*K,p+=n*V,m+=n*Y,h+=n*z,f+=n*H,g+=n*$,b+=n*q,y+=n*W,v+=n*G,_+=n*X,x+=n*Q,a+=(n=t[2])*L,d+=n*B,l+=n*M,c+=n*U,u+=n*F,p+=n*K,m+=n*V,h+=n*Y,f+=n*z,g+=n*H,b+=n*$,y+=n*q,v+=n*W,_+=n*G,x+=n*X,E+=n*Q,d+=(n=t[3])*L,l+=n*B,c+=n*M,u+=n*U,p+=n*F,m+=n*K,h+=n*V,f+=n*Y,g+=n*z,b+=n*H,y+=n*$,v+=n*q,_+=n*W,x+=n*G,E+=n*X,C+=n*Q,l+=(n=t[4])*L,c+=n*B,u+=n*M,p+=n*U,m+=n*F,h+=n*K,f+=n*V,g+=n*Y,b+=n*z,y+=n*H,v+=n*$,_+=n*q,x+=n*W,E+=n*G,C+=n*X,w+=n*Q,c+=(n=t[5])*L,u+=n*B,p+=n*M,m+=n*U,h+=n*F,f+=n*K,g+=n*V,b+=n*Y,y+=n*z,v+=n*H,_+=n*$,x+=n*q,E+=n*W,C+=n*G,w+=n*X,j+=n*Q,u+=(n=t[6])*L,p+=n*B,m+=n*M,h+=n*U,f+=n*F,g+=n*K,b+=n*V,y+=n*Y,v+=n*z,_+=n*H,x+=n*$,E+=n*q,C+=n*W,w+=n*G,j+=n*X,S+=n*Q,p+=(n=t[7])*L,m+=n*B,h+=n*M,f+=n*U,g+=n*F,b+=n*K,y+=n*V,v+=n*Y,_+=n*z,x+=n*H,E+=n*$,C+=n*q,w+=n*W,j+=n*G,S+=n*X,k+=n*Q,m+=(n=t[8])*L,h+=n*B,f+=n*M,g+=n*U,b+=n*F,y+=n*K,v+=n*V,_+=n*Y,x+=n*z,E+=n*H,C+=n*$,w+=n*q,j+=n*W,S+=n*G,k+=n*X,T+=n*Q,h+=(n=t[9])*L,f+=n*B,g+=n*M,b+=n*U,y+=n*F,v+=n*K,_+=n*V,x+=n*Y,E+=n*z,C+=n*H,w+=n*$,j+=n*q,S+=n*W,k+=n*G,T+=n*X,O+=n*Q,f+=(n=t[10])*L,g+=n*B,b+=n*M,y+=n*U,v+=n*F,_+=n*K,x+=n*V,E+=n*Y,C+=n*z,w+=n*H,j+=n*$,S+=n*q,k+=n*W,T+=n*G,O+=n*X,D+=n*Q,g+=(n=t[11])*L,b+=n*B,y+=n*M,v+=n*U,_+=n*F,x+=n*K,E+=n*V,C+=n*Y,w+=n*z,j+=n*H,S+=n*$,k+=n*q,T+=n*W,O+=n*G,D+=n*X,I+=n*Q,b+=(n=t[12])*L,y+=n*B,v+=n*M,_+=n*U,x+=n*F,E+=n*K,C+=n*V,w+=n*Y,j+=n*z,S+=n*H,k+=n*$,T+=n*q,O+=n*W,D+=n*G,I+=n*X,A+=n*Q,y+=(n=t[13])*L,v+=n*B,_+=n*M,x+=n*U,E+=n*F,C+=n*K,w+=n*V,j+=n*Y,S+=n*z,k+=n*H,T+=n*$,O+=n*q,D+=n*W,I+=n*G,A+=n*X,N+=n*Q,v+=(n=t[14])*L,_+=n*B,x+=n*M,E+=n*U,C+=n*F,w+=n*K,j+=n*V,S+=n*Y,k+=n*z,T+=n*H,O+=n*$,D+=n*q,I+=n*W,A+=n*G,N+=n*X,R+=n*Q,_+=(n=t[15])*L,x+=n*B,E+=n*M,C+=n*U,w+=n*F,j+=n*K,S+=n*V,k+=n*Y,T+=n*z,O+=n*H,D+=n*$,I+=n*q,A+=n*W,N+=n*G,R+=n*X,P+=n*Q,s+=38*x,i+=38*E,a+=38*C,d+=38*w,l+=38*j,c+=38*S,u+=38*k,p+=38*T,m+=38*O,h+=38*D,f+=38*I,g+=38*A,b+=38*N,y+=38*R,v+=38*P,o=Math.floor((n=s+(o=1)+65535)/65536),s=n-65536*o,o=Math.floor((n=i+o+65535)/65536),i=n-65536*o,o=Math.floor((n=a+o+65535)/65536),a=n-65536*o,o=Math.floor((n=d+o+65535)/65536),d=n-65536*o,o=Math.floor((n=l+o+65535)/65536),l=n-65536*o,o=Math.floor((n=c+o+65535)/65536),c=n-65536*o,o=Math.floor((n=u+o+65535)/65536),u=n-65536*o,o=Math.floor((n=p+o+65535)/65536),p=n-65536*o,o=Math.floor((n=m+o+65535)/65536),m=n-65536*o,o=Math.floor((n=h+o+65535)/65536),h=n-65536*o,o=Math.floor((n=f+o+65535)/65536),f=n-65536*o,o=Math.floor((n=g+o+65535)/65536),g=n-65536*o,o=Math.floor((n=b+o+65535)/65536),b=n-65536*o,o=Math.floor((n=y+o+65535)/65536),y=n-65536*o,o=Math.floor((n=v+o+65535)/65536),v=n-65536*o,o=Math.floor((n=_+o+65535)/65536),_=n-65536*o,s+=o-1+37*(o-1),o=Math.floor((n=s+(o=1)+65535)/65536),s=n-65536*o,o=Math.floor((n=i+o+65535)/65536),i=n-65536*o,o=Math.floor((n=a+o+65535)/65536),a=n-65536*o,o=Math.floor((n=d+o+65535)/65536),d=n-65536*o,o=Math.floor((n=l+o+65535)/65536),l=n-65536*o,o=Math.floor((n=c+o+65535)/65536),c=n-65536*o,o=Math.floor((n=u+o+65535)/65536),u=n-65536*o,o=Math.floor((n=p+o+65535)/65536),p=n-65536*o,o=Math.floor((n=m+o+65535)/65536),m=n-65536*o,o=Math.floor((n=h+o+65535)/65536),h=n-65536*o,o=Math.floor((n=f+o+65535)/65536),f=n-65536*o,o=Math.floor((n=g+o+65535)/65536),g=n-65536*o,o=Math.floor((n=b+o+65535)/65536),b=n-65536*o,o=Math.floor((n=y+o+65535)/65536),y=n-65536*o,o=Math.floor((n=v+o+65535)/65536),v=n-65536*o,o=Math.floor((n=_+o+65535)/65536),_=n-65536*o,s+=o-1+37*(o-1),e[0]=s,e[1]=i,e[2]=a,e[3]=d,e[4]=l,e[5]=c,e[6]=u,e[7]=p,e[8]=m,e[9]=h,e[10]=f,e[11]=g,e[12]=b,e[13]=y,e[14]=v,e[15]=_}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js"(e){e.exports={options:{usePureJavaScript:!1}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/hmac.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),(e.exports=n.hmac=n.hmac||{}).create=function(){var e=null,t=null,r=null,o=null,s={};return s.start=function(s,i){if(null!==s)if("string"==typeof s)if((s=s.toLowerCase())in n.md.algorithms)t=n.md.algorithms[s].create();else throw Error('Unknown hash algorithm "'+s+'"');else t=s;if(null===i)i=e;else{if("string"==typeof i)i=n.util.createBuffer(i);else if(n.util.isArray(i)){var a=i;i=n.util.createBuffer();for(var d=0;d<a.length;++d)i.putByte(a[d])}var l=i.length();l>t.blockLength&&(t.start(),t.update(i.bytes()),i=t.digest()),r=n.util.createBuffer(),o=n.util.createBuffer(),l=i.length();for(var d=0;d<l;++d){var a=i.at(d);r.putByte(54^a),o.putByte(92^a)}if(l<t.blockLength)for(var a=t.blockLength-l,d=0;d<a;++d)r.putByte(54),o.putByte(92);e=i,r=r.bytes(),o=o.bytes()}t.start(),t.update(r)},s.update=function(e){t.update(e)},s.getMac=function(){var e=t.digest().bytes();return t.start(),t.update(o),t.update(e),t.digest()},s.digest=s.getMac,s}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/index.js"(e,t,r){e.exports=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aesCipherSuites.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/cipher.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/des.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/ed25519.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/hmac.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/kem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/log.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.all.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/mgf1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbkdf2.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs12.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs7.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pki.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/prime.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/prng.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pss.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rc2.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/ssh.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/tls.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js")},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/jsbn.js"(e,t,r){var n,o,s,i=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");e.exports=i.jsbn=i.jsbn||{};function a(e,t,r){this.data=[],null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function d(){return new a(null)}function l(e,t,r,n,o,s){for(var i=16383&t,a=t>>14;--s>=0;){var d=16383&this.data[e],l=this.data[e++]>>14,c=a*d+l*i;o=((d=i*d+((16383&c)<<14)+r.data[n]+o)>>28)+(c>>14)+a*l,r.data[n++]=0xfffffff&d}return o}i.jsbn.BigInteger=a,"u"<typeof navigator?(a.prototype.am=l,n=28):"Microsoft Internet Explorer"==navigator.appName?(a.prototype.am=function(e,t,r,n,o,s){for(var i=32767&t,a=t>>15;--s>=0;){var d=32767&this.data[e],l=this.data[e++]>>15,c=a*d+l*i;o=((d=i*d+((32767&c)<<15)+r.data[n]+(0x3fffffff&o))>>>30)+(c>>>15)+a*l+(o>>>30),r.data[n++]=0x3fffffff&d}return o},n=30):"Netscape"!=navigator.appName?(a.prototype.am=function(e,t,r,n,o,s){for(;--s>=0;){var i=t*this.data[e++]+r.data[n]+o;o=Math.floor(i/0x4000000),r.data[n++]=0x3ffffff&i}return o},n=26):(a.prototype.am=l,n=28),a.prototype.DB=n,a.prototype.DM=(1<<n)-1,a.prototype.DV=1<<n,a.prototype.FV=0x10000000000000,a.prototype.F1=52-n,a.prototype.F2=2*n-52;var c=[];for(s=0,o=48;s<=9;++s)c[o++]=s;for(s=10,o=97;s<36;++s)c[o++]=s;for(s=10,o=65;s<36;++s)c[o++]=s;function u(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function p(e,t){var r=c[e.charCodeAt(t)];return null==r?-1:r}function m(e){var t=d();return t.fromInt(e),t}function h(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function f(e){this.m=e}function g(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function b(e,t){return e&t}function y(e,t){return e|t}function v(e,t){return e^t}function _(e,t){return e&~t}function x(){}function E(e){return e}function C(e){this.r2=d(),this.q3=d(),a.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}f.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},f.prototype.revert=function(e){return e},f.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},f.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},f.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},g.prototype.convert=function(e){var t=d();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(a.ZERO)>0&&this.m.subTo(t,t),t},g.prototype.revert=function(e){var t=d();return e.copyTo(t),this.reduce(t),t},g.prototype.reduce=function(e){for(;e.t<=this.mt2;)e.data[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e.data[t],n=r*this.mpl+((r*this.mph+(e.data[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(r=t+this.m.t,e.data[r]+=this.m.am(0,n,e,t,0,this.m.t);e.data[r]>=e.DV;)e.data[r]-=e.DV,e.data[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},g.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},g.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},a.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e.data[t]=this.data[t];e.t=this.t,e.s=this.s},a.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this.data[0]=e:e<-1?this.data[0]=e+this.DV:this.t=0},a.prototype.fromString=function(e,t){if(16==t)r=4;else if(8==t)r=3;else if(256==t)r=8;else if(2==t)r=1;else if(32==t)r=5;else{if(4!=t)return void this.fromRadix(e,t);r=2}this.t=0,this.s=0;for(var r,n=e.length,o=!1,s=0;--n>=0;){var i=8==r?255&e[n]:p(e,n);if(i<0){"-"==e.charAt(n)&&(o=!0);continue}o=!1,0==s?this.data[this.t++]=i:s+r>this.DB?(this.data[this.t-1]|=(i&(1<<this.DB-s)-1)<<s,this.data[this.t++]=i>>this.DB-s):this.data[this.t-1]|=i<<s,(s+=r)>=this.DB&&(s-=this.DB)}8==r&&(128&e[0])!=0&&(this.s=-1,s>0&&(this.data[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),o&&a.ZERO.subTo(this,this)},a.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this.data[this.t-1]==e;)--this.t},a.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t.data[r+e]=this.data[r];for(r=e-1;r>=0;--r)t.data[r]=0;t.t=this.t+e,t.s=this.s},a.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t.data[r-e]=this.data[r];t.t=Math.max(this.t-e,0),t.s=this.s},a.prototype.lShiftTo=function(e,t){var r,n=e%this.DB,o=this.DB-n,s=(1<<o)-1,i=Math.floor(e/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t.data[r+i+1]=this.data[r]>>o|a,a=(this.data[r]&s)<<n;for(r=i-1;r>=0;--r)t.data[r]=0;t.data[i]=a,t.t=this.t+i+1,t.s=this.s,t.clamp()},a.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t){t.t=0;return}var n=e%this.DB,o=this.DB-n,s=(1<<n)-1;t.data[0]=this.data[r]>>n;for(var i=r+1;i<this.t;++i)t.data[i-r-1]|=(this.data[i]&s)<<o,t.data[i-r]=this.data[i]>>n;n>0&&(t.data[this.t-r-1]|=(this.s&s)<<o),t.t=this.t-r,t.clamp()},a.prototype.subTo=function(e,t){for(var r=0,n=0,o=Math.min(e.t,this.t);r<o;)n+=this.data[r]-e.data[r],t.data[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this.data[r],t.data[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e.data[r],t.data[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t.data[r++]=this.DV+n:n>0&&(t.data[r++]=n),t.t=r,t.clamp()},a.prototype.multiplyTo=function(e,t){var r=this.abs(),n=e.abs(),o=r.t;for(t.t=o+n.t;--o>=0;)t.data[o]=0;for(o=0;o<n.t;++o)t.data[o+r.t]=r.am(0,n.data[o],t,o,0,r.t);t.s=0,t.clamp(),this.s!=e.s&&a.ZERO.subTo(t,t)},a.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e.data[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t.data[r],e,2*r,0,1);(e.data[r+t.t]+=t.am(r+1,2*t.data[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e.data[r+t.t]-=t.DV,e.data[r+t.t+1]=1)}e.t>0&&(e.data[e.t-1]+=t.am(r,t.data[r],e,2*r,0,1)),e.s=0,e.clamp()},a.prototype.divRemTo=function(e,t,r){var n=e.abs();if(!(n.t<=0)){var o=this.abs();if(o.t<n.t){null!=t&&t.fromInt(0),null!=r&&this.copyTo(r);return}null==r&&(r=d());var s=d(),i=this.s,l=e.s,c=this.DB-h(n.data[n.t-1]);c>0?(n.lShiftTo(c,s),o.lShiftTo(c,r)):(n.copyTo(s),o.copyTo(r));var u=s.t,p=s.data[u-1];if(0!=p){var m=p*(1<<this.F1)+(u>1?s.data[u-2]>>this.F2:0),f=this.FV/m,g=(1<<this.F1)/m,b=1<<this.F2,y=r.t,v=y-u,_=null==t?d():t;for(s.dlShiftTo(v,_),r.compareTo(_)>=0&&(r.data[r.t++]=1,r.subTo(_,r)),a.ONE.dlShiftTo(u,_),_.subTo(s,s);s.t<u;)s.data[s.t++]=0;for(;--v>=0;){var x=r.data[--y]==p?this.DM:Math.floor(r.data[y]*f+(r.data[y-1]+b)*g);if((r.data[y]+=s.am(0,x,r,v,0,u))<x)for(s.dlShiftTo(v,_),r.subTo(_,r);r.data[y]<--x;)r.subTo(_,r)}null!=t&&(r.drShiftTo(u,t),i!=l&&a.ZERO.subTo(t,t)),r.t=u,r.clamp(),c>0&&r.rShiftTo(c,r),i<0&&a.ZERO.subTo(r,r)}}},a.prototype.invDigit=function(){if(this.t<1)return 0;var e=this.data[0];if((1&e)==0)return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},a.prototype.isEven=function(){return(this.t>0?1&this.data[0]:this.s)==0},a.prototype.exp=function(e,t){if(e>0xffffffff||e<1)return a.ONE;var r=d(),n=d(),o=t.convert(this),s=h(e)-1;for(o.copyTo(r);--s>=0;)if(t.sqrTo(r,n),(e&1<<s)>0)t.mulTo(n,o,r);else{var i=r;r=n,n=i}return t.revert(r)},a.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var t,r,n=(1<<t)-1,o=!1,s="",i=this.t,a=this.DB-i*this.DB%t;if(i-- >0)for(a<this.DB&&(r=this.data[i]>>a)>0&&(o=!0,s=u(r));i>=0;)a<t?r=(this.data[i]&(1<<a)-1)<<t-a|this.data[--i]>>(a+=this.DB-t):(r=this.data[i]>>(a-=t)&n,a<=0&&(a+=this.DB,--i)),r>0&&(o=!0),o&&(s+=u(r));return o?s:"0"},a.prototype.negate=function(){var e=d();return a.ZERO.subTo(this,e),e},a.prototype.abs=function(){return this.s<0?this.negate():this},a.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this.data[r]-e.data[r]))return t;return 0},a.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+h(this.data[this.t-1]^this.s&this.DM)},a.prototype.mod=function(e){var t=d();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(a.ZERO)>0&&e.subTo(t,t),t},a.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new f(t):new g(t),this.exp(e,r)},a.ZERO=m(0),a.ONE=m(1),x.prototype.convert=E,x.prototype.revert=E,x.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},x.prototype.sqrTo=function(e,t){e.squareTo(t)},C.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(0>e.compareTo(this.m))return e;var t=d();return e.copyTo(t),this.reduce(t),t},C.prototype.revert=function(e){return e},C.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);0>e.compareTo(this.r2);)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},C.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},C.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var w=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],j=0x4000000/w[w.length-1];a.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},a.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),n=m(r),o=d(),s=d(),i="";for(this.divRemTo(n,o,s);o.signum()>0;)i=(r+s.intValue()).toString(e).substr(1)+i,o.divRemTo(n,o,s);return s.intValue().toString(e)+i},a.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var r=this.chunkSize(t),n=Math.pow(t,r),o=!1,s=0,i=0,d=0;d<e.length;++d){var l=p(e,d);if(l<0){"-"==e.charAt(d)&&0==this.signum()&&(o=!0);continue}i=t*i+l,++s>=r&&(this.dMultiply(n),this.dAddOffset(i,0),s=0,i=0)}s>0&&(this.dMultiply(Math.pow(t,s)),this.dAddOffset(i,0)),o&&a.ZERO.subTo(this,this)},a.prototype.fromNumber=function(e,t,r){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,r),this.testBit(e-1)||this.bitwiseTo(a.ONE.shiftLeft(e-1),y,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(a.ONE.shiftLeft(e-1),this);else{var n=[],o=7&e;n.length=(e>>3)+1,t.nextBytes(n),o>0?n[0]&=(1<<o)-1:n[0]=0,this.fromString(n,256)}},a.prototype.bitwiseTo=function(e,t,r){var n,o,s=Math.min(e.t,this.t);for(n=0;n<s;++n)r.data[n]=t(this.data[n],e.data[n]);if(e.t<this.t){for(o=e.s&this.DM,n=s;n<this.t;++n)r.data[n]=t(this.data[n],o);r.t=this.t}else{for(o=this.s&this.DM,n=s;n<e.t;++n)r.data[n]=t(o,e.data[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},a.prototype.changeBit=function(e,t){var r=a.ONE.shiftLeft(e);return this.bitwiseTo(r,t,r),r},a.prototype.addTo=function(e,t){for(var r=0,n=0,o=Math.min(e.t,this.t);r<o;)n+=this.data[r]+e.data[r],t.data[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this.data[r],t.data[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e.data[r],t.data[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t.data[r++]=n:n<-1&&(t.data[r++]=this.DV+n),t.t=r,t.clamp()},a.prototype.dMultiply=function(e){this.data[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},a.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this.data[this.t++]=0;for(this.data[t]+=e;this.data[t]>=this.DV;)this.data[t]-=this.DV,++t>=this.t&&(this.data[this.t++]=0),++this.data[t]}},a.prototype.multiplyLowerTo=function(e,t,r){var n,o=Math.min(this.t+e.t,t);for(r.s=0,r.t=o;o>0;)r.data[--o]=0;for(n=r.t-this.t;o<n;++o)r.data[o+this.t]=this.am(0,e.data[o],r,o,0,this.t);for(n=Math.min(e.t,t);o<n;++o)this.am(0,e.data[o],r,o,0,t-o);r.clamp()},a.prototype.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r.data[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r.data[this.t+n-t]=this.am(t-n,e.data[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},a.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this.data[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this.data[n])%e;return r},a.prototype.millerRabin=function(e){var t,r=this.subtract(a.ONE),n=r.getLowestSetBit();if(n<=0)return!1;for(var o=r.shiftRight(n),s={nextBytes:function(e){for(var t=0;t<e.length;++t)e[t]=Math.floor(256*Math.random())}},i=0;i<e;++i){do t=new a(this.bitLength(),s);while(0>=t.compareTo(a.ONE)||t.compareTo(r)>=0);var d=t.modPow(o,this);if(0!=d.compareTo(a.ONE)&&0!=d.compareTo(r)){for(var l=1;l++<n&&0!=d.compareTo(r);)if(0==(d=d.modPowInt(2,this)).compareTo(a.ONE))return!1;if(0!=d.compareTo(r))return!1}}return!0},a.prototype.clone=function(){var e=d();return this.copyTo(e),e},a.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this.data[0]-this.DV;else if(0==this.t)return -1}else if(1==this.t)return this.data[0];else if(0==this.t)return 0;return(this.data[1]&(1<<32-this.DB)-1)<<this.DB|this.data[0]},a.prototype.byteValue=function(){return 0==this.t?this.s:this.data[0]<<24>>24},a.prototype.shortValue=function(){return 0==this.t?this.s:this.data[0]<<16>>16},a.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this.data[0]<=0?0:1},a.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var r,n=this.DB-e*this.DB%8,o=0;if(e-- >0)for(n<this.DB&&(r=this.data[e]>>n)!=(this.s&this.DM)>>n&&(t[o++]=r|this.s<<this.DB-n);e>=0;)n<8?r=(this.data[e]&(1<<n)-1)<<8-n|this.data[--e]>>(n+=this.DB-8):(r=this.data[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),(128&r)!=0&&(r|=-256),0==o&&(128&this.s)!=(128&r)&&++o,(o>0||r!=this.s)&&(t[o++]=r);return t},a.prototype.equals=function(e){return 0==this.compareTo(e)},a.prototype.min=function(e){return 0>this.compareTo(e)?this:e},a.prototype.max=function(e){return this.compareTo(e)>0?this:e},a.prototype.and=function(e){var t=d();return this.bitwiseTo(e,b,t),t},a.prototype.or=function(e){var t=d();return this.bitwiseTo(e,y,t),t},a.prototype.xor=function(e){var t=d();return this.bitwiseTo(e,v,t),t},a.prototype.andNot=function(e){var t=d();return this.bitwiseTo(e,_,t),t},a.prototype.not=function(){for(var e=d(),t=0;t<this.t;++t)e.data[t]=this.DM&~this.data[t];return e.t=this.t,e.s=~this.s,e},a.prototype.shiftLeft=function(e){var t=d();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},a.prototype.shiftRight=function(e){var t=d();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},a.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this.data[e])return e*this.DB+function(e){if(0==e)return -1;var t=0;return(65535&e)==0&&(e>>=16,t+=16),(255&e)==0&&(e>>=8,t+=8),(15&e)==0&&(e>>=4,t+=4),(3&e)==0&&(e>>=2,t+=2),(1&e)==0&&++t,t}(this.data[e]);return this.s<0?this.t*this.DB:-1},a.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=function(e){for(var t=0;0!=e;)e&=e-1,++t;return t}(this.data[r]^t);return e},a.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:(this.data[t]&1<<e%this.DB)!=0},a.prototype.setBit=function(e){return this.changeBit(e,y)},a.prototype.clearBit=function(e){return this.changeBit(e,_)},a.prototype.flipBit=function(e){return this.changeBit(e,v)},a.prototype.add=function(e){var t=d();return this.addTo(e,t),t},a.prototype.subtract=function(e){var t=d();return this.subTo(e,t),t},a.prototype.multiply=function(e){var t=d();return this.multiplyTo(e,t),t},a.prototype.divide=function(e){var t=d();return this.divRemTo(e,t,null),t},a.prototype.remainder=function(e){var t=d();return this.divRemTo(e,null,t),t},a.prototype.divideAndRemainder=function(e){var t=d(),r=d();return this.divRemTo(e,t,r),[t,r]},a.prototype.modPow=function(e,t){var r,n,o=e.bitLength(),s=m(1);if(o<=0)return s;r=o<18?1:o<48?3:o<144?4:o<768?5:6,n=o<8?new f(t):t.isEven()?new C(t):new g(t);var i=[],a=3,l=r-1,c=(1<<r)-1;if(i[1]=n.convert(this),r>1){var u=d();for(n.sqrTo(i[1],u);a<=c;)i[a]=d(),n.mulTo(u,i[a-2],i[a]),a+=2}var p,b,y=e.t-1,v=!0,_=d();for(o=h(e.data[y])-1;y>=0;){for(o>=l?p=e.data[y]>>o-l&c:(p=(e.data[y]&(1<<o+1)-1)<<l-o,y>0&&(p|=e.data[y-1]>>this.DB+o-l)),a=r;(1&p)==0;)p>>=1,--a;if((o-=a)<0&&(o+=this.DB,--y),v)i[p].copyTo(s),v=!1;else{for(;a>1;)n.sqrTo(s,_),n.sqrTo(_,s),a-=2;a>0?n.sqrTo(s,_):(b=s,s=_,_=b),n.mulTo(_,i[p],s)}for(;y>=0&&(e.data[y]&1<<o)==0;)n.sqrTo(s,_),b=s,s=_,_=b,--o<0&&(o=this.DB-1,--y)}return n.revert(s)},a.prototype.modInverse=function(e){if(0==this.signum())return a.ZERO;var t=e.isEven();if(this.isEven()&&t||0==e.signum())return a.ZERO;for(var r=e.clone(),n=this.clone(),o=m(1),s=m(0),i=m(0),d=m(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),t?(o.isEven()&&s.isEven()||(o.addTo(this,o),s.subTo(e,s)),o.rShiftTo(1,o)):s.isEven()||s.subTo(e,s),s.rShiftTo(1,s);for(;n.isEven();)n.rShiftTo(1,n),t?(i.isEven()&&d.isEven()||(i.addTo(this,i),d.subTo(e,d)),i.rShiftTo(1,i)):d.isEven()||d.subTo(e,d),d.rShiftTo(1,d);r.compareTo(n)>=0?(r.subTo(n,r),t&&o.subTo(i,o),s.subTo(d,s)):(n.subTo(r,n),t&&i.subTo(o,i),d.subTo(s,d))}return 0!=n.compareTo(a.ONE)?a.ZERO:d.compareTo(e)>=0?d.subtract(e):0>d.signum()&&(d.addTo(e,d),0>d.signum())?d.add(e):d},a.prototype.pow=function(e){return this.exp(e,new x)},a.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(0>t.compareTo(r)){var n=t;t=r,r=n}var o=t.getLowestSetBit(),s=r.getLowestSetBit();if(s<0)return t;for(o<s&&(s=o),s>0&&(t.rShiftTo(s,t),r.rShiftTo(s,r));t.signum()>0;)(o=t.getLowestSetBit())>0&&t.rShiftTo(o,t),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return s>0&&r.lShiftTo(s,r),r},a.prototype.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r.data[0]<=w[w.length-1]){for(t=0;t<w.length;++t)if(r.data[0]==w[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<w.length;){for(var n=w[t],o=t+1;o<w.length&&n<j;)n*=w[o++];for(n=r.modInt(n);t<o;)if(n%w[t++]==0)return!1}return r.millerRabin(e)},a.prototype.square=function(){var e=d();return this.squareTo(e),e}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/kem.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/jsbn.js"),e.exports=n.kem=n.kem||{};var o=n.jsbn.BigInteger;function s(e,t,r,o){e.generate=function(e,s){for(var i=new n.util.ByteBuffer,a=Math.ceil(s/o)+r,d=new n.util.ByteBuffer,l=r;l<a;++l){d.putInt32(l),t.start(),t.update(e+d.getBytes());var c=t.digest();i.putBytes(c.getBytes(o))}return i.truncate(i.length()-s),i.getBytes()}}n.kem.rsa={},n.kem.rsa.create=function(e,t){var r=(t=t||{}).prng||n.random,s={};return s.encrypt=function(t,s){var i,a=Math.ceil(t.n.bitLength()/8);do i=new o(n.util.bytesToHex(r.getBytesSync(a)),16).mod(t.n);while(0>=i.compareTo(o.ONE));var d=a-(i=n.util.hexToBytes(i.toString(16))).length;return d>0&&(i=n.util.fillString("\0",d)+i),{encapsulation:t.encrypt(i,"NONE"),key:e.generate(i,s)}},s.decrypt=function(t,r,n){var o=t.decrypt(r,"NONE");return e.generate(o,n)},s},n.kem.kdf1=function(e,t){s(this,e,0,t||e.digestLength)},n.kem.kdf2=function(e,t){s(this,e,1,t||e.digestLength)}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/log.js"(e,t,r){var n,o=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),e.exports=o.log=o.log||{},o.log.levels=["none","error","warning","info","debug","verbose","max"];var s={},i=[],a=null;o.log.LEVEL_LOCKED=2,o.log.NO_LEVEL_CHECK=4,o.log.INTERPOLATE=8;for(var d=0;d<o.log.levels.length;++d){var l=o.log.levels[d];s[l]={index:d,name:l.toUpperCase()}}o.log.logMessage=function(e){for(var t=s[e.level].index,r=0;r<i.length;++r){var n=i[r];n.flags&o.log.NO_LEVEL_CHECK?n.f(e):t<=s[n.level].index&&n.f(n,e)}},o.log.prepareStandard=function(e){"standard"in e||(e.standard=s[e.level].name+" ["+e.category+"] "+e.message)},o.log.prepareFull=function(e){if(!("full"in e)){var t=[e.message];t=t.concat([]),e.full=o.util.format.apply(this,t)}},o.log.prepareStandardFull=function(e){"standardFull"in e||(o.log.prepareStandard(e),e.standardFull=e.standard)};for(var c=["error","warning","info","debug","verbose"],d=0;d<c.length;++d)!function(e){o.log[e]=function(t,r){var n=Array.prototype.slice.call(arguments).slice(2),s={timestamp:new Date,level:e,category:t,message:r,arguments:n};o.log.logMessage(s)}}(c[d]);if(o.log.makeLogger=function(e){var t={flags:0,f:e};return o.log.setLevel(t,"none"),t},o.log.setLevel=function(e,t){var r=!1;if(e&&!(e.flags&o.log.LEVEL_LOCKED)){for(var n=0;n<o.log.levels.length;++n)if(t==o.log.levels[n]){e.level=t,r=!0;break}}return r},o.log.lock=function(e,t){void 0===t||t?e.flags|=o.log.LEVEL_LOCKED:e.flags&=~o.log.LEVEL_LOCKED},o.log.addLogger=function(e){i.push(e)},"u">typeof console&&"log"in console){if(console.error&&console.warn&&console.info&&console.debug){var u={error:console.error,warning:console.warn,info:console.info,debug:console.debug,verbose:console.debug},p=function(e,t){o.log.prepareStandard(t);var r=u[t.level],n=[t.standard];n=n.concat(t.arguments.slice()),r.apply(console,n)};n=o.log.makeLogger(p)}else{var p=function(e,t){o.log.prepareStandardFull(t),console.log(t.standardFull)};n=o.log.makeLogger(p)}o.log.setLevel(n,"debug"),o.log.addLogger(n),a=n}else console={log:function(){}};if(null!==a&&"u">typeof window&&window.location){var m=new URL(window.location.href).searchParams;m.has("console.level")&&o.log.setLevel(a,m.get("console.level").slice(-1)[0]),m.has("console.lock")&&"true"==m.get("console.lock").slice(-1)[0]&&o.log.lock(a)}o.log.consoleLogger=a},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.all.js"(e,t,r){e.exports=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md5.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha256.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha512.js")},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");e.exports=n.md=n.md||{},n.md.algorithms=n.md.algorithms||{}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md5.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=e.exports=n.md5=n.md5||{};n.md.md5=n.md.algorithms.md5=o,o.create=function(){l||function(){s=String.fromCharCode(128)+n.util.fillString("\0",64),i=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,1,6,11,0,5,10,15,4,9,14,3,8,13,2,7,12,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,0,7,14,5,12,3,10,1,8,15,6,13,4,11,2,9],a=[7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21],d=Array(64);for(var e=0;e<64;++e)d[e]=Math.floor(0x100000000*Math.abs(Math.sin(e+1)));l=!0}();var e=null,t=n.util.createBuffer(),r=Array(16),o={algorithm:"md5",blockLength:64,digestLength:16,messageLength:0,fullMessageLength:null,messageLengthSize:8};return o.start=function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var r=o.messageLengthSize/4,s=0;s<r;++s)o.fullMessageLength.push(0);return t=n.util.createBuffer(),e={h0:0x67452301,h1:0xefcdab89,h2:0x98badcfe,h3:0x10325476},o},o.start(),o.update=function(s,i){"utf8"===i&&(s=n.util.encodeUtf8(s));var a=s.length;o.messageLength+=a,a=[a/0x100000000>>>0,a>>>0];for(var d=o.fullMessageLength.length-1;d>=0;--d)o.fullMessageLength[d]+=a[1],a[1]=a[0]+(o.fullMessageLength[d]/0x100000000>>>0),o.fullMessageLength[d]=o.fullMessageLength[d]>>>0,a[0]=a[1]/0x100000000>>>0;return t.putBytes(s),c(e,r,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var i=n.util.createBuffer();i.putBytes(t.bytes());var a=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;i.putBytes(s.substr(0,o.blockLength-a));for(var d,l=0,u=o.fullMessageLength.length-1;u>=0;--u)l=(d=8*o.fullMessageLength[u]+l)/0x100000000>>>0,i.putInt32Le(d>>>0);var p={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3};c(p,r,i);var m=n.util.createBuffer();return m.putInt32Le(p.h0),m.putInt32Le(p.h1),m.putInt32Le(p.h2),m.putInt32Le(p.h3),m},o};var s=null,i=null,a=null,d=null,l=!1;function c(e,t,r){for(var n,o,s,l,c,u,p,m,h=r.length();h>=64;){for(o=e.h0,s=e.h1,l=e.h2,c=e.h3,m=0;m<16;++m)t[m]=r.getInt32Le(),n=o+(c^s&(l^c))+d[m]+t[m],p=a[m],o=c,c=l,l=s,s+=n<<p|n>>>32-p;for(;m<32;++m)n=o+(l^c&(s^l))+d[m]+t[i[m]],p=a[m],o=c,c=l,l=s,s+=n<<p|n>>>32-p;for(;m<48;++m)n=o+(s^l^c)+d[m]+t[i[m]],p=a[m],o=c,c=l,l=s,s+=n<<p|n>>>32-p;for(;m<64;++m)n=o+(l^(s|~c))+d[m]+t[i[m]],p=a[m],o=c,c=l,l=s,s+=n<<p|n>>>32-p;e.h0=e.h0+o|0,e.h1=e.h1+s|0,e.h2=e.h2+l|0,e.h3=e.h3+c|0,h-=64}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/mgf.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/mgf1.js"),e.exports=n.mgf=n.mgf||{},n.mgf.mgf1=n.mgf1},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/mgf1.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),n.mgf=n.mgf||{},(e.exports=n.mgf.mgf1=n.mgf1=n.mgf1||{}).create=function(e){return{generate:function(t,r){for(var o=new n.util.ByteBuffer,s=Math.ceil(r/e.digestLength),i=0;i<s;i++){var a=new n.util.ByteBuffer;a.putInt32(i),e.start(),e.update(t+a.getBytes()),o.putBuffer(e.digest())}return o.truncate(o.length()-r),o.getBytes()}}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");n.pki=n.pki||{};var o=e.exports=n.pki.oids=n.oids=n.oids||{};function s(e,t){o[e]=t,o[t]=e}s("1.2.840.113549.1.1.1","rsaEncryption"),s("1.2.840.113549.1.1.4","md5WithRSAEncryption"),s("1.2.840.113549.1.1.5","sha1WithRSAEncryption"),s("1.2.840.113549.1.1.7","RSAES-OAEP"),s("1.2.840.113549.1.1.8","mgf1"),s("1.2.840.113549.1.1.9","pSpecified"),s("1.2.840.113549.1.1.10","RSASSA-PSS"),s("1.2.840.113549.1.1.11","sha256WithRSAEncryption"),s("1.2.840.113549.1.1.12","sha384WithRSAEncryption"),s("1.2.840.113549.1.1.13","sha512WithRSAEncryption"),s("1.3.101.112","EdDSA25519"),s("1.2.840.10040.4.3","dsa-with-sha1"),s("1.3.14.3.2.7","desCBC"),s("1.3.14.3.2.26","sha1"),s("1.3.14.3.2.29","sha1WithRSASignature"),s("2.16.840.1.101.3.4.2.1","sha256"),s("2.16.840.1.101.3.4.2.2","sha384"),s("2.16.840.1.101.3.4.2.3","sha512"),s("2.16.840.1.101.3.4.2.4","sha224"),s("2.16.840.1.101.3.4.2.5","sha512-224"),s("2.16.840.1.101.3.4.2.6","sha512-256"),s("1.2.840.113549.2.2","md2"),s("1.2.840.113549.2.5","md5"),s("1.2.840.113549.1.7.1","data"),s("1.2.840.113549.1.7.2","signedData"),s("1.2.840.113549.1.7.3","envelopedData"),s("1.2.840.113549.1.7.4","signedAndEnvelopedData"),s("1.2.840.113549.1.7.5","digestedData"),s("1.2.840.113549.1.7.6","encryptedData"),s("1.2.840.113549.1.9.1","emailAddress"),s("1.2.840.113549.1.9.2","unstructuredName"),s("1.2.840.113549.1.9.3","contentType"),s("1.2.840.113549.1.9.4","messageDigest"),s("1.2.840.113549.1.9.5","signingTime"),s("1.2.840.113549.1.9.6","counterSignature"),s("1.2.840.113549.1.9.7","challengePassword"),s("1.2.840.113549.1.9.8","unstructuredAddress"),s("1.2.840.113549.1.9.14","extensionRequest"),s("1.2.840.113549.1.9.20","friendlyName"),s("1.2.840.113549.1.9.21","localKeyId"),s("1.2.840.113549.1.9.22.1","x509Certificate"),s("1.2.840.113549.1.12.10.1.1","keyBag"),s("1.2.840.113549.1.12.10.1.2","pkcs8ShroudedKeyBag"),s("1.2.840.113549.1.12.10.1.3","certBag"),s("1.2.840.113549.1.12.10.1.4","crlBag"),s("1.2.840.113549.1.12.10.1.5","secretBag"),s("1.2.840.113549.1.12.10.1.6","safeContentsBag"),s("1.2.840.113549.1.5.13","pkcs5PBES2"),s("1.2.840.113549.1.5.12","pkcs5PBKDF2"),s("1.2.840.113549.1.12.1.1","pbeWithSHAAnd128BitRC4"),s("1.2.840.113549.1.12.1.2","pbeWithSHAAnd40BitRC4"),s("1.2.840.113549.1.12.1.3","pbeWithSHAAnd3-KeyTripleDES-CBC"),s("1.2.840.113549.1.12.1.4","pbeWithSHAAnd2-KeyTripleDES-CBC"),s("1.2.840.113549.1.12.1.5","pbeWithSHAAnd128BitRC2-CBC"),s("1.2.840.113549.1.12.1.6","pbewithSHAAnd40BitRC2-CBC"),s("1.2.840.113549.2.7","hmacWithSHA1"),s("1.2.840.113549.2.8","hmacWithSHA224"),s("1.2.840.113549.2.9","hmacWithSHA256"),s("1.2.840.113549.2.10","hmacWithSHA384"),s("1.2.840.113549.2.11","hmacWithSHA512"),s("1.2.840.113549.3.7","des-EDE3-CBC"),s("2.16.840.1.101.3.4.1.2","aes128-CBC"),s("2.16.840.1.101.3.4.1.22","aes192-CBC"),s("2.16.840.1.101.3.4.1.42","aes256-CBC"),s("2.5.4.3","commonName"),s("2.5.4.4","surname"),s("2.5.4.5","serialNumber"),s("2.5.4.6","countryName"),s("2.5.4.7","localityName"),s("2.5.4.8","stateOrProvinceName"),s("2.5.4.9","streetAddress"),s("2.5.4.10","organizationName"),s("2.5.4.11","organizationalUnitName"),s("2.5.4.12","title"),s("2.5.4.13","description"),s("2.5.4.15","businessCategory"),s("2.5.4.17","postalCode"),s("2.5.4.42","givenName"),s("2.5.4.65","pseudonym"),s("1.3.6.1.4.1.311.60.2.1.2","jurisdictionOfIncorporationStateOrProvinceName"),s("1.3.6.1.4.1.311.60.2.1.3","jurisdictionOfIncorporationCountryName"),s("2.16.840.1.113730.1.1","nsCertType"),s("2.16.840.1.113730.1.13","nsComment"),o["2.5.29.1"]="authorityKeyIdentifier",o["2.5.29.2"]="keyAttributes",o["2.5.29.3"]="certificatePolicies",o["2.5.29.4"]="keyUsageRestriction",o["2.5.29.5"]="policyMapping",o["2.5.29.6"]="subtreesConstraint",o["2.5.29.7"]="subjectAltName",o["2.5.29.8"]="issuerAltName",o["2.5.29.9"]="subjectDirectoryAttributes",o["2.5.29.10"]="basicConstraints",o["2.5.29.11"]="nameConstraints",o["2.5.29.12"]="policyConstraints",o["2.5.29.13"]="basicConstraints",s("2.5.29.14","subjectKeyIdentifier"),s("2.5.29.15","keyUsage"),o["2.5.29.16"]="privateKeyUsagePeriod",s("2.5.29.17","subjectAltName"),s("2.5.29.18","issuerAltName"),s("2.5.29.19","basicConstraints"),o["2.5.29.20"]="cRLNumber",o["2.5.29.21"]="cRLReason",o["2.5.29.22"]="expirationDate",o["2.5.29.23"]="instructionCode",o["2.5.29.24"]="invalidityDate",o["2.5.29.25"]="cRLDistributionPoints",o["2.5.29.26"]="issuingDistributionPoint",o["2.5.29.27"]="deltaCRLIndicator",o["2.5.29.28"]="issuingDistributionPoint",o["2.5.29.29"]="certificateIssuer",o["2.5.29.30"]="nameConstraints",s("2.5.29.31","cRLDistributionPoints"),s("2.5.29.32","certificatePolicies"),o["2.5.29.33"]="policyMappings",o["2.5.29.34"]="policyConstraints",s("2.5.29.35","authorityKeyIdentifier"),o["2.5.29.36"]="policyConstraints",s("2.5.29.37","extKeyUsage"),o["2.5.29.46"]="freshestCRL",o["2.5.29.54"]="inhibitAnyPolicy",s("1.3.6.1.4.1.11129.2.4.2","timestampList"),s("1.3.6.1.5.5.7.1.1","authorityInfoAccess"),s("1.3.6.1.5.5.7.3.1","serverAuth"),s("1.3.6.1.5.5.7.3.2","clientAuth"),s("1.3.6.1.5.5.7.3.3","codeSigning"),s("1.3.6.1.5.5.7.3.4","emailProtection"),s("1.3.6.1.5.5.7.3.8","timeStamping")},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbe.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");if(r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/des.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbkdf2.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rc2.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rsa.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),void 0===o)var o=n.jsbn.BigInteger;var s=n.asn1,i=n.pki=n.pki||{};e.exports=i.pbe=n.pbe=n.pbe||{};var a=i.oids,d={name:"EncryptedPrivateKeyInfo",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedPrivateKeyInfo.encryptionAlgorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"encryptionOid"},{name:"AlgorithmIdentifier.parameters",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,captureAsn1:"encryptionParams"}]},{name:"EncryptedPrivateKeyInfo.encryptedData",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"encryptedData"}]},l={name:"PBES2Algorithms",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.keyDerivationFunc.oid",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"kdfOid"},{name:"PBES2Algorithms.params",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.params.salt",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"kdfSalt"},{name:"PBES2Algorithms.params.iterationCount",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"kdfIterationCount"},{name:"PBES2Algorithms.params.keyLength",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,optional:!0,capture:"keyLength"},{name:"PBES2Algorithms.params.prf",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,optional:!0,value:[{name:"PBES2Algorithms.params.prf.algorithm",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"prfOid"}]}]}]},{name:"PBES2Algorithms.encryptionScheme",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"PBES2Algorithms.encryptionScheme.oid",tagClass:s.Class.UNIVERSAL,type:s.Type.OID,constructed:!1,capture:"encOid"},{name:"PBES2Algorithms.encryptionScheme.iv",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"encIv"}]}]},c={name:"pkcs-12PbeParams",tagClass:s.Class.UNIVERSAL,type:s.Type.SEQUENCE,constructed:!0,value:[{name:"pkcs-12PbeParams.salt",tagClass:s.Class.UNIVERSAL,type:s.Type.OCTETSTRING,constructed:!1,capture:"salt"},{name:"pkcs-12PbeParams.iterations",tagClass:s.Class.UNIVERSAL,type:s.Type.INTEGER,constructed:!1,capture:"iterations"}]};function u(e,t){return e.start().update(t).digest().getBytes()}function p(e){var t;if(e){if(!(t=i.oids[s.derToOid(e)])){var r=Error("Unsupported PRF OID.");throw r.oid=e,r.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],r}}else t="hmacWithSHA1";return m(t)}function m(e){var t=n.md;switch(e){case"hmacWithSHA224":t=n.md.sha512;case"hmacWithSHA1":case"hmacWithSHA256":case"hmacWithSHA384":case"hmacWithSHA512":e=e.substr(8).toLowerCase();break;default:var r=Error("Unsupported PRF algorithm.");throw r.algorithm=e,r.supported=["hmacWithSHA1","hmacWithSHA224","hmacWithSHA256","hmacWithSHA384","hmacWithSHA512"],r}if(!t||!(e in t))throw Error("Unknown hash algorithm: "+e);return t[e].create()}i.encryptPrivateKeyInfo=function(e,t,r){(r=r||{}).saltSize=r.saltSize||8,r.count=r.count||2048,r.algorithm=r.algorithm||"aes128",r.prfAlgorithm=r.prfAlgorithm||"sha1";var o=n.random.getBytesSync(r.saltSize),d=r.count,l=s.integerToDer(d);if(0===r.algorithm.indexOf("aes")||"des"===r.algorithm){switch(r.algorithm){case"aes128":g=16,v=16,_=a["aes128-CBC"],x=n.aes.createEncryptionCipher;break;case"aes192":g=24,v=16,_=a["aes192-CBC"],x=n.aes.createEncryptionCipher;break;case"aes256":g=32,v=16,_=a["aes256-CBC"],x=n.aes.createEncryptionCipher;break;case"des":g=8,v=8,_=a.desCBC,x=n.des.createEncryptionCipher;break;default:var c,u,p,h,f,g,b,y,v,_,x,E=Error("Cannot encrypt private key. Unknown encryption algorithm.");throw E.algorithm=r.algorithm,E}var C="hmacWith"+r.prfAlgorithm.toUpperCase(),w=m(C),j=n.pkcs5.pbkdf2(t,o,d,g,w),S=n.random.getBytesSync(v),k=x(j);k.start(S),k.update(s.toDer(e)),k.finish(),y=k.output.getBytes();var T=(c=o,u=l,p=g,h=C,f=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,c),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,u.getBytes())]),"hmacWithSHA1"!==h&&f.value.push(s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,n.util.hexToBytes(p.toString(16))),s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(i.oids[h]).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.NULL,!1,"")])),f);b=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(a.pkcs5PBES2).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(a.pkcs5PBKDF2).getBytes()),T]),s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(_).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,S)])])])}else if("3des"===r.algorithm){g=24;var O=new n.util.ByteBuffer(o),j=i.pbe.generatePkcs12Key(t,O,1,d,g),S=i.pbe.generatePkcs12Key(t,O,2,d,g),k=n.des.createEncryptionCipher(j);k.start(S),k.update(s.toDer(e)),k.finish(),y=k.output.getBytes(),b=s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OID,!1,s.oidToDer(a["pbeWithSHAAnd3-KeyTripleDES-CBC"]).getBytes()),s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,o),s.create(s.Class.UNIVERSAL,s.Type.INTEGER,!1,l.getBytes())])])}else{var E=Error("Cannot encrypt private key. Unknown encryption algorithm.");throw E.algorithm=r.algorithm,E}return s.create(s.Class.UNIVERSAL,s.Type.SEQUENCE,!0,[b,s.create(s.Class.UNIVERSAL,s.Type.OCTETSTRING,!1,y)])},i.decryptPrivateKeyInfo=function(e,t){var r=null,o={},a=[];if(!s.validate(e,d,o,a)){var l=Error("Cannot read encrypted private key. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw l.errors=a,l}var c=s.derToOid(o.encryptionOid),u=i.pbe.getCipher(c,o.encryptionParams,t),p=n.util.createBuffer(o.encryptedData);return u.update(p),u.finish()&&(r=s.fromDer(u.output)),r},i.encryptedPrivateKeyToPem=function(e,t){var r={type:"ENCRYPTED PRIVATE KEY",body:s.toDer(e).getBytes()};return n.pem.encode(r,{maxline:t})},i.encryptedPrivateKeyFromPem=function(e){var t=n.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==t.type){var r=Error('Could not convert encrypted private key from PEM; PEM header type is "ENCRYPTED PRIVATE KEY".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw Error("Could not convert encrypted private key from PEM; PEM is encrypted.");return s.fromDer(t.body)},i.encryptRsaPrivateKey=function(e,t,r){if(!(r=r||{}).legacy){var o,a,d,l,c=i.wrapRsaPrivateKey(i.privateKeyToAsn1(e));return c=i.encryptPrivateKeyInfo(c,t,r),i.encryptedPrivateKeyToPem(c)}switch(r.algorithm){case"aes128":o="AES-128-CBC",d=16,a=n.random.getBytesSync(16),l=n.aes.createEncryptionCipher;break;case"aes192":o="AES-192-CBC",d=24,a=n.random.getBytesSync(16),l=n.aes.createEncryptionCipher;break;case"aes256":o="AES-256-CBC",d=32,a=n.random.getBytesSync(16),l=n.aes.createEncryptionCipher;break;case"3des":o="DES-EDE3-CBC",d=24,a=n.random.getBytesSync(8),l=n.des.createEncryptionCipher;break;case"des":o="DES-CBC",d=8,a=n.random.getBytesSync(8),l=n.des.createEncryptionCipher;break;default:var u=Error('Could not encrypt RSA private key; unsupported encryption algorithm "'+r.algorithm+'".');throw u.algorithm=r.algorithm,u}var p=l(n.pbe.opensslDeriveBytes(t,a.substr(0,8),d));p.start(a),p.update(s.toDer(i.privateKeyToAsn1(e))),p.finish();var m={type:"RSA PRIVATE KEY",procType:{version:"4",type:"ENCRYPTED"},dekInfo:{algorithm:o,parameters:n.util.bytesToHex(a).toUpperCase()},body:p.output.getBytes()};return n.pem.encode(m)},i.decryptRsaPrivateKey=function(e,t){var r=null,o=n.pem.decode(e)[0];if("ENCRYPTED PRIVATE KEY"!==o.type&&"PRIVATE KEY"!==o.type&&"RSA PRIVATE KEY"!==o.type){var a=Error('Could not convert private key from PEM; PEM header type is not "ENCRYPTED PRIVATE KEY", "PRIVATE KEY", or "RSA PRIVATE KEY".');throw a.headerType=a,a}if(o.procType&&"ENCRYPTED"===o.procType.type){switch(o.dekInfo.algorithm){case"DES-CBC":d=8,l=n.des.createDecryptionCipher;break;case"DES-EDE3-CBC":d=24,l=n.des.createDecryptionCipher;break;case"AES-128-CBC":d=16,l=n.aes.createDecryptionCipher;break;case"AES-192-CBC":d=24,l=n.aes.createDecryptionCipher;break;case"AES-256-CBC":d=32,l=n.aes.createDecryptionCipher;break;case"RC2-40-CBC":d=5,l=function(e){return n.rc2.createDecryptionCipher(e,40)};break;case"RC2-64-CBC":d=8,l=function(e){return n.rc2.createDecryptionCipher(e,64)};break;case"RC2-128-CBC":d=16,l=function(e){return n.rc2.createDecryptionCipher(e,128)};break;default:var d,l,a=Error('Could not decrypt private key; unsupported encryption algorithm "'+o.dekInfo.algorithm+'".');throw a.algorithm=o.dekInfo.algorithm,a}var c=n.util.hexToBytes(o.dekInfo.parameters),u=l(n.pbe.opensslDeriveBytes(t,c.substr(0,8),d));if(u.start(c),u.update(n.util.createBuffer(o.body)),!u.finish())return r;r=u.output.getBytes()}else r=o.body;return null!==(r="ENCRYPTED PRIVATE KEY"===o.type?i.decryptPrivateKeyInfo(s.fromDer(r),t):s.fromDer(r))&&(r=i.privateKeyFromAsn1(r)),r},i.pbe.generatePkcs12Key=function(e,t,r,o,s,i){if(null==i){if(!("sha1"in n.md))throw Error('"sha1" hash algorithm unavailable.');i=n.md.sha1.create()}var a,d,l=i.digestLength,c=i.blockLength,u=new n.util.ByteBuffer,p=new n.util.ByteBuffer;if(null!=e){for(d=0;d<e.length;d++)p.putInt16(e.charCodeAt(d));p.putInt16(0)}var m=p.length(),h=t.length(),f=new n.util.ByteBuffer;f.fillWithByte(r,c);var g=c*Math.ceil(h/c),b=new n.util.ByteBuffer;for(d=0;d<g;d++)b.putByte(t.at(d%h));var y=c*Math.ceil(m/c),v=new n.util.ByteBuffer;for(d=0;d<y;d++)v.putByte(p.at(d%m));var _=b;_.putBuffer(v);for(var x=Math.ceil(s/l),E=1;E<=x;E++){var C=new n.util.ByteBuffer;C.putBytes(f.bytes()),C.putBytes(_.bytes());for(var w=0;w<o;w++)i.start(),i.update(C.getBytes()),C=i.digest();var j=new n.util.ByteBuffer;for(d=0;d<c;d++)j.putByte(C.at(d%l));var S=Math.ceil(h/c)+Math.ceil(m/c),k=new n.util.ByteBuffer;for(a=0;a<S;a++){var T=new n.util.ByteBuffer(_.getBytes(c)),O=511;for(d=j.length()-1;d>=0;d--)O>>=8,O+=j.at(d)+T.at(d),T.setAt(d,255&O);k.putBuffer(T)}_=k,u.putBuffer(C)}return u.truncate(u.length()-s),u},i.pbe.getCipher=function(e,t,r){switch(e){case i.oids.pkcs5PBES2:return i.pbe.getCipherForPBES2(e,t,r);case i.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:case i.oids["pbewithSHAAnd40BitRC2-CBC"]:return i.pbe.getCipherForPKCS12PBE(e,t,r);default:var n=Error("Cannot read encrypted PBE data block. Unsupported OID.");throw n.oid=e,n.supportedOids=["pkcs5PBES2","pbeWithSHAAnd3-KeyTripleDES-CBC","pbewithSHAAnd40BitRC2-CBC"],n}},i.pbe.getCipherForPBES2=function(e,t,r){var o,a,d={},c=[];if(!s.validate(t,l,d,c)){var u=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw u.errors=c,u}if((e=s.derToOid(d.kdfOid))!==i.oids.pkcs5PBKDF2){var u=Error("Cannot read encrypted private key. Unsupported key derivation function OID.");throw u.oid=e,u.supportedOids=["pkcs5PBKDF2"],u}if((e=s.derToOid(d.encOid))!==i.oids["aes128-CBC"]&&e!==i.oids["aes192-CBC"]&&e!==i.oids["aes256-CBC"]&&e!==i.oids["des-EDE3-CBC"]&&e!==i.oids.desCBC){var u=Error("Cannot read encrypted private key. Unsupported encryption scheme OID.");throw u.oid=e,u.supportedOids=["aes128-CBC","aes192-CBC","aes256-CBC","des-EDE3-CBC","desCBC"],u}var m=d.kdfSalt,h=n.util.createBuffer(d.kdfIterationCount);switch(h=h.getInt(h.length()<<3),i.oids[e]){case"aes128-CBC":o=16,a=n.aes.createDecryptionCipher;break;case"aes192-CBC":o=24,a=n.aes.createDecryptionCipher;break;case"aes256-CBC":o=32,a=n.aes.createDecryptionCipher;break;case"des-EDE3-CBC":o=24,a=n.des.createDecryptionCipher;break;case"desCBC":o=8,a=n.des.createDecryptionCipher}var f=p(d.prfOid),g=n.pkcs5.pbkdf2(r,m,h,o,f),b=d.encIv,y=a(g);return y.start(b),y},i.pbe.getCipherForPKCS12PBE=function(e,t,r){var o,a,d,l={},u=[];if(!s.validate(t,c,l,u)){var m=Error("Cannot read password-based-encryption algorithm parameters. ASN.1 object is not a supported EncryptedPrivateKeyInfo.");throw m.errors=u,m}var h=n.util.createBuffer(l.salt),f=n.util.createBuffer(l.iterations);switch(f=f.getInt(f.length()<<3),e){case i.oids["pbeWithSHAAnd3-KeyTripleDES-CBC"]:o=24,a=8,d=n.des.startDecrypting;break;case i.oids["pbewithSHAAnd40BitRC2-CBC"]:o=5,a=8,d=function(e,t){var r=n.rc2.createDecryptionCipher(e,40);return r.start(t,null),r};break;default:var m=Error("Cannot read PKCS #12 PBE data block. Unsupported OID.");throw m.oid=e,m}var g=p(l.prfOid),b=i.pbe.generatePkcs12Key(r,h,1,f,o,g);return g.start(),d(b,i.pbe.generatePkcs12Key(r,h,2,f,a,g))},i.pbe.opensslDeriveBytes=function(e,t,r,o){if(null==o){if(!("md5"in n.md))throw Error('"md5" hash algorithm unavailable.');o=n.md.md5.create()}null===t&&(t="");for(var s=[u(o,e+t)],i=16,a=1;i<r;++a,i+=16)s.push(u(o,s[a-1]+e+t));return s.join("").substr(0,r)}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbkdf2.js"(e,t,r){var n,o=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/hmac.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var s=o.pkcs5=o.pkcs5||{};o.util.isNodejs&&!o.options.usePureJavaScript&&(n=r("crypto")),e.exports=o.pbkdf2=s.pbkdf2=function(e,t,r,s,i,a){if("function"==typeof i&&(a=i,i=null),o.util.isNodejs&&!o.options.usePureJavaScript&&n.pbkdf2&&(null===i||"object"!=typeof i)&&(n.pbkdf2Sync.length>4||!i||"sha1"===i))return("string"!=typeof i&&(i="sha1"),e=Buffer.from(e,"binary"),t=Buffer.from(t,"binary"),a)?4===n.pbkdf2Sync.length?n.pbkdf2(e,t,r,s,function(e,t){if(e)return a(e);a(null,t.toString("binary"))}):n.pbkdf2(e,t,r,s,i,function(e,t){if(e)return a(e);a(null,t.toString("binary"))}):4===n.pbkdf2Sync.length?n.pbkdf2Sync(e,t,r,s).toString("binary"):n.pbkdf2Sync(e,t,r,s,i).toString("binary");if(null==i&&(i="sha1"),"string"==typeof i){if(!(i in o.md.algorithms))throw Error("Unknown hash algorithm: "+i);i=o.md[i].create()}var d=i.digestLength;if(s>0xffffffff*d){var l=Error("Derived key is too long.");if(a)return a(l);throw l}var c=Math.ceil(s/d),u=s-(c-1)*d,p=o.hmac.create();p.start(i,e);var m="";if(!a){for(var h=1;h<=c;++h){p.start(null,null),p.update(t),p.update(o.util.int32ToBytes(h)),g=y=p.digest().getBytes();for(var f=2;f<=r;++f)p.start(null,null),p.update(y),b=p.digest().getBytes(),g=o.util.xorBytes(g,b,d),y=b;m+=h<c?g:g.substr(0,u)}return m}var g,b,y,f,h=1;!function e(){if(h>c)return a(null,m);p.start(null,null),p.update(t),p.update(o.util.int32ToBytes(h)),g=y=p.digest().getBytes(),f=2,function t(){if(f<=r)return p.start(null,null),p.update(y),b=p.digest().getBytes(),g=o.util.xorBytes(g,b,d),y=b,++f,o.util.setImmediate(t);m+=h<c?g:g.substr(0,u),++h,e()}()}()}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=e.exports=n.pem=n.pem||{};function s(e){for(var t=e.name+": ",r=[],n=function(e,t){return" "+t},o=0;o<e.values.length;++o)r.push(e.values[o].replace(/^(\S+\r\n)/,n));t+=r.join(",")+"\r\n";for(var s=0,i=-1,o=0;o<t.length;++o,++s)if(s>65&&-1!==i){var a=t[i];","===a?(++i,t=t.substr(0,i)+"\r\n "+t.substr(i)):t=t.substr(0,i)+"\r\n"+a+t.substr(i+1),s=o-i-1,i=-1,++o}else(" "===t[o]||" "===t[o]||","===t[o])&&(i=o);return t}o.encode=function(e,t){t=t||{};var r,o="-----BEGIN "+e.type+"-----\r\n";if(e.procType&&(o+=s(r={name:"Proc-Type",values:[String(e.procType.version),e.procType.type]})),e.contentDomain&&(o+=s(r={name:"Content-Domain",values:[e.contentDomain]})),e.dekInfo&&(r={name:"DEK-Info",values:[e.dekInfo.algorithm]},e.dekInfo.parameters&&r.values.push(e.dekInfo.parameters),o+=s(r)),e.headers)for(var i=0;i<e.headers.length;++i)o+=s(e.headers[i]);return e.procType&&(o+="\r\n"),o+=n.util.encode64(e.body,t.maxline||64)+"\r\n",o+="-----END "+e.type+"-----\r\n"},o.decode=function(e){for(var t,r=[],o=/\s*-----BEGIN ([A-Z0-9- ]+)-----\r?\n?([\x21-\x7e\s]+?(?:\r?\n\r?\n))?([:A-Za-z0-9+\/=\s]+?)-----END \1-----/g,s=/([\x21-\x7e]+):\s*([\x21-\x7e\s^:]+)/,i=/\r?\n/;t=o.exec(e);){var a=t[1];"NEW CERTIFICATE REQUEST"===a&&(a="CERTIFICATE REQUEST");var d={type:a,procType:null,contentDomain:null,dekInfo:null,headers:[],body:n.util.decode64(t[3])};if(r.push(d),t[2]){for(var l=t[2].split(i),c=0;t&&c<l.length;){for(var u=l[c].replace(/\s+$/,""),p=c+1;p<l.length;++p){var m=l[p];if(!/\s/.test(m[0]))break;u+=m,c=p}if(t=u.match(s)){for(var h={name:t[1],values:[]},f=t[2].split(","),g=0;g<f.length;++g)h.values.push(f[g].replace(/^\s+/,""));if(d.procType)if(d.contentDomain||"Content-Domain"!==h.name)if(d.dekInfo||"DEK-Info"!==h.name)d.headers.push(h);else{if(0===h.values.length)throw Error('Invalid PEM formatted message. The "DEK-Info" header must have at least one subfield.');d.dekInfo={algorithm:f[0],parameters:f[1]||null}}else d.contentDomain=f[0]||"";else{if("Proc-Type"!==h.name)throw Error('Invalid PEM formatted message. The first encapsulated header must be "Proc-Type".');if(2!==h.values.length)throw Error('Invalid PEM formatted message. The "Proc-Type" header must have two subfields.');d.procType={version:f[0],type:f[1]}}}++c}if("ENCRYPTED"===d.procType&&!d.dekInfo)throw Error('Invalid PEM formatted message. The "DEK-Info" header must be present if "Proc-Type" is "ENCRYPTED".')}}if(0===r.length)throw Error("Invalid PEM formatted message.");return r}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs1.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha1.js");var o=e.exports=n.pkcs1=n.pkcs1||{};function s(e,t,r){r||(r=n.md.sha1.create());for(var o="",s=Math.ceil(t/r.digestLength),i=0;i<s;++i){var a=String.fromCharCode(i>>24&255,i>>16&255,i>>8&255,255&i);r.start(),r.update(e+a),o+=r.digest().getBytes()}return o.substring(0,t)}o.encode_rsa_oaep=function(e,t,r){"string"==typeof r?(o=r,i=arguments[3]||void 0,a=arguments[4]||void 0):r&&(o=r.label||void 0,i=r.seed||void 0,a=r.md||void 0,r.mgf1&&r.mgf1.md&&(d=r.mgf1.md)),a?a.start():a=n.md.sha1.create(),d||(d=a);var o,i,a,d,l=Math.ceil(e.n.bitLength()/8),c=l-2*a.digestLength-2;if(t.length>c){var u=Error("RSAES-OAEP input message length is too long.");throw u.length=t.length,u.maxLength=c,u}o||(o=""),a.update(o,"raw");for(var p=a.digest(),m="",h=c-t.length,f=0;f<h;f++)m+="\0";var g=p.getBytes()+m+"\x01"+t;if(i){if(i.length!==a.digestLength){var u=Error("Invalid RSAES-OAEP seed. The seed length must match the digest length.");throw u.seedLength=i.length,u.digestLength=a.digestLength,u}}else i=n.random.getBytes(a.digestLength);var b=s(i,l-a.digestLength-1,d),y=n.util.xorBytes(g,b,g.length),v=s(y,a.digestLength,d);return"\0"+n.util.xorBytes(i,v,i.length)+y},o.decode_rsa_oaep=function(e,t,r){"string"==typeof r?(o=r,i=arguments[3]||void 0):r&&(o=r.label||void 0,i=r.md||void 0,r.mgf1&&r.mgf1.md&&(a=r.mgf1.md));var o,i,a,d=Math.ceil(e.n.bitLength()/8);if(t.length!==d){var l=Error("RSAES-OAEP encoded message length is invalid.");throw l.length=t.length,l.expectedLength=d,l}if(void 0===i?i=n.md.sha1.create():i.start(),a||(a=i),d<2*i.digestLength+2)throw Error("RSAES-OAEP key is too short for the hash function.");o||(o=""),i.update(o,"raw");for(var c=i.digest().getBytes(),u=t.charAt(0),p=t.substring(1,i.digestLength+1),m=t.substring(1+i.digestLength),h=s(m,i.digestLength,a),f=s(n.util.xorBytes(p,h,p.length),d-i.digestLength-1,a),g=n.util.xorBytes(m,f,m.length),b=g.substring(0,i.digestLength),l="\0"!==u,y=0;y<i.digestLength;++y)l|=c.charAt(y)!==b.charAt(y);for(var v=1,_=i.digestLength,x=i.digestLength;x<g.length;x++){var E=g.charCodeAt(x),C=1&E^1;l|=E&65534*!!v,v&=C,_+=v}if(l||1!==g.charCodeAt(_))throw Error("Invalid RSAES-OAEP padding.");return g.substring(_+1)}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs12.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/hmac.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs7asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbe.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rsa.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/x509.js");var o=n.asn1,s=n.pki,i=e.exports=n.pkcs12=n.pkcs12||{},a={name:"ContentInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.contentType",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:o.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"content"}]},d={name:"PFX",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},a,{name:"PFX.macData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"mac",value:[{name:"PFX.macData.mac",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"PFX.macData.mac.digestAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"macAlgorithm"},{name:"PFX.macData.mac.digestAlgorithm.parameters",optional:!0,tagClass:o.Class.UNIVERSAL,captureAsn1:"macAlgorithmParameters"}]},{name:"PFX.macData.mac.digest",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"macDigest"}]},{name:"PFX.macData.macSalt",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"macSalt"},{name:"PFX.macData.iterations",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,optional:!0,capture:"macIterations"}]}]},l={name:"SafeBag",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SafeBag.bagId",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"bagId"},{name:"SafeBag.bagValue",tagClass:o.Class.CONTEXT_SPECIFIC,constructed:!0,captureAsn1:"bagValue"},{name:"SafeBag.bagAttributes",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,optional:!0,capture:"bagAttributes"}]},c={name:"Attribute",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Attribute.attrId",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"oid"},{name:"Attribute.attrValues",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,capture:"values"}]},u={name:"CertBag",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"CertBag.certId",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"certId"},{name:"CertBag.certValue",tagClass:o.Class.CONTEXT_SPECIFIC,constructed:!0,value:[{name:"CertBag.certValue[0]",tagClass:o.Class.UNIVERSAL,type:o.Class.OCTETSTRING,constructed:!1,capture:"cert"}]}]};function p(e,t,r,n){for(var o=[],s=0;s<e.length;s++)for(var i=0;i<e[s].safeBags.length;i++){var a=e[s].safeBags[i];if(void 0===n||a.type===n){if(null===t){o.push(a);continue}void 0!==a.attributes[t]&&a.attributes[t].indexOf(r)>=0&&o.push(a)}}return o}function m(e){if(e.composed||e.constructed){for(var t=n.util.createBuffer(),r=0;r<e.value.length;++r)t.putBytes(e.value[r].value);e.composed=e.constructed=!1,e.value=t.getBytes()}return e}i.pkcs12FromAsn1=function(e,t,r){"string"==typeof t?(r=t,t=!0):void 0===t&&(t=!0);var h={};if(!o.validate(e,d,h,[])){var f=Error("Cannot read PKCS#12 PFX. ASN.1 object is not an PKCS#12 PFX.");throw f.errors=f,f}var g={version:h.version.charCodeAt(0),safeContents:[],getBags:function(e){var t,r={};return"localKeyId"in e?t=e.localKeyId:"localKeyIdHex"in e&&(t=n.util.hexToBytes(e.localKeyIdHex)),void 0===t&&!("friendlyName"in e)&&"bagType"in e&&(r[e.bagType]=p(g.safeContents,null,null,e.bagType)),void 0!==t&&(r.localKeyId=p(g.safeContents,"localKeyId",t,e.bagType)),"friendlyName"in e&&(r.friendlyName=p(g.safeContents,"friendlyName",e.friendlyName,e.bagType)),r},getBagsByFriendlyName:function(e,t){return p(g.safeContents,"friendlyName",e,t)},getBagsByLocalKeyId:function(e,t){return p(g.safeContents,"localKeyId",e,t)}};if(3!==h.version.charCodeAt(0)){var f=Error("PKCS#12 PFX of version other than 3 not supported.");throw f.version=h.version.charCodeAt(0),f}if(o.derToOid(h.contentType)!==s.oids.data){var f=Error("Only PKCS#12 PFX in password integrity mode supported.");throw f.oid=o.derToOid(h.contentType),f}var b=h.content.value[0];if(b.tagClass!==o.Class.UNIVERSAL||b.type!==o.Type.OCTETSTRING)throw Error("PKCS#12 authSafe content data is not an OCTET STRING.");if(b=m(b),h.mac){var y=null,v=0,_=o.derToOid(h.macAlgorithm);switch(_){case s.oids.sha1:y=n.md.sha1.create(),v=20;break;case s.oids.sha256:y=n.md.sha256.create(),v=32;break;case s.oids.sha384:y=n.md.sha384.create(),v=48;break;case s.oids.sha512:y=n.md.sha512.create(),v=64;break;case s.oids.md5:y=n.md.md5.create(),v=16}if(null===y)throw Error("PKCS#12 uses unsupported MAC algorithm: "+_);var x=new n.util.ByteBuffer(h.macSalt),E="macIterations"in h?parseInt(n.util.bytesToHex(h.macIterations),16):1,C=i.generateKey(r,x,3,E,v,y),w=n.hmac.create();if(w.start(y,C),w.update(b.value),w.getMac().getBytes()!==h.macDigest)throw Error("PKCS#12 MAC could not be verified. Invalid password?")}else if(Array.isArray(e.value)&&e.value.length>2)throw Error("Invalid PKCS#12. macData field present but MAC was not validated.");return function(e,t,r,i){if((t=o.fromDer(t,r)).tagClass!==o.Class.UNIVERSAL||t.type!==o.Type.SEQUENCE||!0!==t.constructed)throw Error("PKCS#12 AuthenticatedSafe expected to be a SEQUENCE OF ContentInfo");for(var d=0;d<t.value.length;d++){var p=t.value[d],h={},f=[];if(!o.validate(p,a,h,f)){var g=Error("Cannot read ContentInfo.");throw g.errors=f,g}var b={encrypted:!1},y=null,v=h.content.value[0];switch(o.derToOid(h.contentType)){case s.oids.data:if(v.tagClass!==o.Class.UNIVERSAL||v.type!==o.Type.OCTETSTRING)throw Error("PKCS#12 SafeContents Data is not an OCTET STRING.");y=m(v).value;break;case s.oids.encryptedData:y=function(e,t){var r={},i=[];if(!o.validate(e,n.pkcs7.asn1.encryptedDataValidator,r,i)){var a=Error("Cannot read EncryptedContentInfo.");throw a.errors=i,a}var d=o.derToOid(r.contentType);if(d!==s.oids.data){var a=Error("PKCS#12 EncryptedContentInfo ContentType is not Data.");throw a.oid=d,a}d=o.derToOid(r.encAlgorithm);var l=s.pbe.getCipher(d,r.encParameter,t),c=m(r.encryptedContentAsn1),u=n.util.createBuffer(c.value);if(l.update(u),!l.finish())throw Error("Failed to decrypt PKCS#12 SafeContents.");return l.output.getBytes()}(v,i),b.encrypted=!0;break;default:var g=Error("Unsupported PKCS#12 contentType.");throw g.contentType=o.derToOid(h.contentType),g}b.safeBags=function(e,t,r){if(!t&&0===e.length)return[];if((e=o.fromDer(e,t)).tagClass!==o.Class.UNIVERSAL||e.type!==o.Type.SEQUENCE||!0!==e.constructed)throw Error("PKCS#12 SafeContents expected to be a SEQUENCE OF SafeBag.");for(var n=[],i=0;i<e.value.length;i++){var a,d,p=e.value[i],m={},h=[];if(!o.validate(p,l,m,h)){var f=Error("Cannot read SafeBag.");throw f.errors=h,f}var g={type:o.derToOid(m.bagId),attributes:function(e){var t={};if(void 0!==e)for(var r=0;r<e.length;++r){var n={},i=[];if(!o.validate(e[r],c,n,i)){var a=Error("Cannot read PKCS#12 BagAttribute.");throw a.errors=i,a}var d=o.derToOid(n.oid);if(void 0!==s.oids[d]){t[s.oids[d]]=[];for(var l=0;l<n.values.length;++l)t[s.oids[d]].push(n.values[l].value)}}return t}(m.bagAttributes)};n.push(g);var b=m.bagValue.value[0];switch(g.type){case s.oids.pkcs8ShroudedKeyBag:if(null===(b=s.decryptPrivateKeyInfo(b,r)))throw Error("Unable to decrypt PKCS#8 ShroudedKeyBag, wrong password?");case s.oids.keyBag:try{g.key=s.privateKeyFromAsn1(b)}catch(e){g.key=null,g.asn1=b}continue;case s.oids.certBag:a=u,d=function(){if(o.derToOid(m.certId)!==s.oids.x509Certificate){var e=Error("Unsupported certificate type, only X.509 supported.");throw e.oid=o.derToOid(m.certId),e}var r=o.fromDer(m.cert,t);try{g.cert=s.certificateFromAsn1(r,!0)}catch(e){g.cert=null,g.asn1=r}};break;default:var f=Error("Unsupported PKCS#12 SafeBag type.");throw f.oid=g.type,f}if(void 0!==a&&!o.validate(b,a,m,h)){var f=Error("Cannot read PKCS#12 "+a.name);throw f.errors=h,f}d()}return n}(y,r,i),e.safeContents.push(b)}}(g,b.value,t,r),g},i.toPkcs12Asn1=function(e,t,r,a){(a=a||{}).saltSize=a.saltSize||8,a.count=a.count||2048,a.algorithm=a.algorithm||a.encAlgorithm||"aes128","useMac"in a||(a.useMac=!0),"localKeyId"in a||(a.localKeyId=null),"generateLocalKeyId"in a||(a.generateLocalKeyId=!0);var d,l,c=a.localKeyId;if(null!==c)c=n.util.hexToBytes(c);else if(a.generateLocalKeyId)if(t){var u=n.util.isArray(t)?t[0]:t;"string"==typeof u&&(u=s.certificateFromPem(u));var p=n.md.sha1.create();p.update(o.toDer(s.certificateToAsn1(u)).getBytes()),c=p.digest().getBytes()}else c=n.random.getBytes(20);var m=[];null!==c&&m.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.localKeyId).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,c)])])),"friendlyName"in a&&m.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.friendlyName).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,o.Type.BMPSTRING,!1,a.friendlyName)])])),m.length>0&&(d=o.create(o.Class.UNIVERSAL,o.Type.SET,!0,m));var h=[],f=[];null!==t&&(f=n.util.isArray(t)?t:[t]);for(var g=[],b=0;b<f.length;++b){"string"==typeof(t=f[b])&&(t=s.certificateFromPem(t));var y=0===b?d:void 0,v=s.certificateToAsn1(t),_=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.certBag).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.x509Certificate).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(v).getBytes())])])]),y]);g.push(_)}if(g.length>0){var x=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,g),E=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.data).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(x).getBytes())])]);h.push(E)}var C=null;if(null!==e){var w=s.wrapRsaPrivateKey(s.privateKeyToAsn1(e));C=null===r?o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.keyBag).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[w]),d]):o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.pkcs8ShroudedKeyBag).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[s.encryptPrivateKeyInfo(w,r,a)]),d]);var j=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[C]),S=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.data).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(j).getBytes())])]);h.push(S)}var k=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,h);if(a.useMac){var p=n.md.sha1.create(),T=new n.util.ByteBuffer(n.random.getBytes(a.saltSize)),O=a.count,e=i.generateKey(r,T,3,O,20),D=n.hmac.create();D.start(p,e),D.update(o.toDer(k).getBytes());var I=D.getMac();l=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.sha1).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")]),o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,I.getBytes())]),o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,T.getBytes()),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(O).getBytes())])}return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(3).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(s.oids.data).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,o.toDer(k).getBytes())])]),l])},i.generateKey=n.pbe.generatePkcs12Key},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs7.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/des.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs7asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/x509.js");var o=n.asn1,s=e.exports=n.pkcs7=n.pkcs7||{};function i(e){var t;if(e.type===n.pki.oids.contentType)t=o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.value).getBytes());else if(e.type===n.pki.oids.messageDigest)t=o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,e.value.bytes());else if(e.type===n.pki.oids.signingTime){var r=new Date("1950-01-01T00:00:00Z"),s=new Date("2050-01-01T00:00:00Z"),i=e.value;if("string"==typeof i){var a=Date.parse(i);i=isNaN(a)?13===i.length?o.utcTimeToDate(i):o.generalizedTimeToDate(i):new Date(a)}t=i>=r&&i<s?o.create(o.Class.UNIVERSAL,o.Type.UTCTIME,!1,o.dateToUtcTime(i)):o.create(o.Class.UNIVERSAL,o.Type.GENERALIZEDTIME,!1,o.dateToGeneralizedTime(i))}return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.type).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[t])])}function a(e,t,r){var s={};if(!o.validate(t,r,s,[])){var i=Error("Cannot read PKCS#7 message. ASN.1 object is not a supported PKCS#7 message.");throw i.errors=i,i}if(o.derToOid(s.contentType)!==n.pki.oids.data)throw Error("Unsupported PKCS#7 message. Only wrapped ContentType Data supported.");if(s.encryptedContent){var a="";if(n.util.isArray(s.encryptedContent))for(var d=0;d<s.encryptedContent.length;++d){if(s.encryptedContent[d].type!==o.Type.OCTETSTRING)throw Error("Malformed PKCS#7 message, expecting encrypted content constructed of only OCTET STRING objects.");a+=s.encryptedContent[d].value}else a=s.encryptedContent;e.encryptedContent={algorithm:o.derToOid(s.encAlgorithm),parameter:n.util.createBuffer(s.encParameter.value),content:n.util.createBuffer(a)}}if(s.content){var a="";if(n.util.isArray(s.content))for(var d=0;d<s.content.length;++d){if(s.content[d].type!==o.Type.OCTETSTRING)throw Error("Malformed PKCS#7 message, expecting content constructed of only OCTET STRING objects.");a+=s.content[d].value}else a=s.content;e.content=n.util.createBuffer(a)}return e.version=s.version.charCodeAt(0),e.rawCapture=s,s}function d(e){if(void 0===e.encryptedContent.key)throw Error("Symmetric key not available.");if(void 0===e.content){var t;switch(e.encryptedContent.algorithm){case n.pki.oids["aes128-CBC"]:case n.pki.oids["aes192-CBC"]:case n.pki.oids["aes256-CBC"]:t=n.aes.createDecryptionCipher(e.encryptedContent.key);break;case n.pki.oids.desCBC:case n.pki.oids["des-EDE3-CBC"]:t=n.des.createDecryptionCipher(e.encryptedContent.key);break;default:throw Error("Unsupported symmetric cipher, OID "+e.encryptedContent.algorithm)}if(t.start(e.encryptedContent.parameter),t.update(e.encryptedContent.content),!t.finish())throw Error("Symmetric decryption failed.");e.content=t.output}}s.messageFromPem=function(e){var t=n.pem.decode(e)[0];if("PKCS7"!==t.type){var r=Error('Could not convert PKCS#7 message from PEM; PEM header type is not "PKCS#7".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw Error("Could not convert PKCS#7 message from PEM; PEM is encrypted.");var i=o.fromDer(t.body);return s.messageFromAsn1(i)},s.messageToPem=function(e,t){var r={type:"PKCS7",body:o.toDer(e.toAsn1()).getBytes()};return n.pem.encode(r,{maxline:t})},s.messageFromAsn1=function(e){var t,r={},i=[];if(!o.validate(e,s.asn1.contentInfoValidator,r,i)){var a=Error("Cannot read PKCS#7 message. ASN.1 object is not an PKCS#7 ContentInfo.");throw a.errors=i,a}var d=o.derToOid(r.contentType);switch(d){case n.pki.oids.envelopedData:t=s.createEnvelopedData();break;case n.pki.oids.encryptedData:t=s.createEncryptedData();break;case n.pki.oids.signedData:t=s.createSignedData();break;default:throw Error("Cannot read PKCS#7 message. ContentType with OID "+d+" is not (yet) supported.")}return t.fromAsn1(r.content.value[0]),t},s.createSignedData=function(){var e=null;return e={type:n.pki.oids.signedData,version:1,certificates:[],crls:[],signers:[],digestAlgorithmIdentifiers:[],contentInfo:null,signerInfos:[],fromAsn1:function(t){if(a(e,t,s.asn1.signedDataValidator),e.certificates=[],e.crls=[],e.digestAlgorithmIdentifiers=[],e.contentInfo=null,e.signerInfos=[],e.rawCapture.certificates)for(var r=e.rawCapture.certificates.value,o=0;o<r.length;++o)e.certificates.push(n.pki.certificateFromAsn1(r[o]))},toAsn1:function(){e.contentInfo||e.sign();for(var t=[],r=0;r<e.certificates.length;++r)t.push(n.pki.certificateToAsn1(e.certificates[r]));var s=[],i=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,e.digestAlgorithmIdentifiers),e.contentInfo])]);return t.length>0&&i.value[0].value.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,t)),s.length>0&&i.value[0].value.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,s)),i.value[0].value.push(o.create(o.Class.UNIVERSAL,o.Type.SET,!0,e.signerInfos)),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.type).getBytes()),i])},addSigner:function(t){var r=t.issuer,o=t.serialNumber;if(t.certificate){var s=t.certificate;"string"==typeof s&&(s=n.pki.certificateFromPem(s)),r=s.issuer.attributes,o=s.serialNumber}var i=t.key;if(!i)throw Error("Could not add PKCS#7 signer; no private key specified.");"string"==typeof i&&(i=n.pki.privateKeyFromPem(i));var a=t.digestAlgorithm||n.pki.oids.sha1;switch(a){case n.pki.oids.sha1:case n.pki.oids.sha256:case n.pki.oids.sha384:case n.pki.oids.sha512:case n.pki.oids.md5:break;default:throw Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+a)}var d=t.authenticatedAttributes||[];if(d.length>0){for(var l=!1,c=!1,u=0;u<d.length;++u){var p=d[u];if(!l&&p.type===n.pki.oids.contentType){if(l=!0,c)break;continue}if(!c&&p.type===n.pki.oids.messageDigest){if(c=!0,l)break;continue}}if(!l||!c)throw Error("Invalid signer.authenticatedAttributes. If signer.authenticatedAttributes is specified, then it must contain at least two attributes, PKCS #9 content-type and PKCS #9 message-digest.")}e.signers.push({key:i,version:1,issuer:r,serialNumber:o,digestAlgorithm:a,signatureAlgorithm:n.pki.oids.rsaEncryption,signature:null,authenticatedAttributes:d,unauthenticatedAttributes:[]})},sign:function(t){if(t=t||{},("object"!=typeof e.content||null===e.contentInfo)&&(e.contentInfo=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(n.pki.oids.data).getBytes())]),"content"in e)){var r;e.content instanceof n.util.ByteBuffer?r=e.content.bytes():"string"==typeof e.content&&(r=n.util.encodeUtf8(e.content)),t.detached?e.detachedContent=o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,r):e.contentInfo.value.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,r)]))}0!==e.signers.length&&function(t){if(!(r=e.detachedContent?e.detachedContent:(r=e.contentInfo.value[1]).value[0]))throw Error("Could not sign PKCS#7 message; there is no content to sign.");var r,s=o.derToOid(e.contentInfo.value[0].value),a=o.toDer(r);for(var d in a.getByte(),o.getBerValueLength(a),a=a.getBytes(),t)t[d].start().update(a);for(var l=new Date,c=0;c<e.signers.length;++c){var u=e.signers[c];if(0===u.authenticatedAttributes.length){if(s!==n.pki.oids.data)throw Error("Invalid signer; authenticatedAttributes must be present when the ContentInfo content type is not PKCS#7 Data.")}else{u.authenticatedAttributesAsn1=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[]);for(var p=o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[]),m=0;m<u.authenticatedAttributes.length;++m){var h=u.authenticatedAttributes[m];h.type===n.pki.oids.messageDigest?h.value=t[u.digestAlgorithm].digest():h.type!==n.pki.oids.signingTime||h.value||(h.value=l),p.value.push(i(h)),u.authenticatedAttributesAsn1.value.push(i(h))}a=o.toDer(p).getBytes(),u.md.start().update(a)}u.signature=u.key.sign(u.md,"RSASSA-PKCS1-V1_5")}e.signerInfos=function(e){for(var t=[],r=0;r<e.length;++r)t.push(function(e){var t=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[n.pki.distinguishedNameToAsn1({attributes:e.issuer}),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,n.util.hexToBytes(e.serialNumber))]),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.digestAlgorithm).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])]);if(e.authenticatedAttributesAsn1&&t.value.push(e.authenticatedAttributesAsn1),t.value.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.signatureAlgorithm).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])),t.value.push(o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,e.signature)),e.unauthenticatedAttributes.length>0){for(var r=o.create(o.Class.CONTEXT_SPECIFIC,1,!0,[]),s=0;s<e.unauthenticatedAttributes.length;++s){var a=e.unauthenticatedAttributes[s];r.values.push(i(a))}t.value.push(r)}return t}(e[r]));return t}(e.signers)}(function(){for(var t={},r=0;r<e.signers.length;++r){var s=e.signers[r],i=s.digestAlgorithm;i in t||(t[i]=n.md[n.pki.oids[i]].create()),0===s.authenticatedAttributes.length?s.md=t[i]:s.md=n.md[n.pki.oids[i]].create()}for(var i in e.digestAlgorithmIdentifiers=[],t)e.digestAlgorithmIdentifiers.push(o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(i).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")]));return t}())},verify:function(){throw Error("PKCS#7 signature verification not yet implemented.")},addCertificate:function(t){"string"==typeof t&&(t=n.pki.certificateFromPem(t)),e.certificates.push(t)},addCertificateRevokationList:function(e){throw Error("PKCS#7 CRL support not yet implemented.")}}},s.createEncryptedData=function(){var e=null;return e={type:n.pki.oids.encryptedData,version:0,encryptedContent:{algorithm:n.pki.oids["aes256-CBC"]},fromAsn1:function(t){a(e,t,s.asn1.encryptedDataValidator)},decrypt:function(t){void 0!==t&&(e.encryptedContent.key=t),d(e)}}},s.createEnvelopedData=function(){var e=null;return e={type:n.pki.oids.envelopedData,version:0,recipients:[],encryptedContent:{algorithm:n.pki.oids["aes256-CBC"]},fromAsn1:function(t){var r=a(e,t,s.asn1.envelopedDataValidator);e.recipients=function(e){for(var t=[],r=0;r<e.length;++r)t.push(function(e){var t={},r=[];if(!o.validate(e,s.asn1.recipientInfoValidator,t,r)){var i=Error("Cannot read PKCS#7 RecipientInfo. ASN.1 object is not an PKCS#7 RecipientInfo.");throw i.errors=r,i}return{version:t.version.charCodeAt(0),issuer:n.pki.RDNAttributesAsArray(t.issuer),serialNumber:n.util.createBuffer(t.serial).toHex(),encryptedContent:{algorithm:o.derToOid(t.encAlgorithm),parameter:t.encParameter?t.encParameter.value:void 0,content:t.encKey}}}(e[r]));return t}(r.recipientInfos.value)},toAsn1:function(){var t;return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.type).getBytes()),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,function(e){for(var t,r=[],s=0;s<e.length;++s)r.push((t=e[s],o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(t.version).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[n.pki.distinguishedNameToAsn1({attributes:t.issuer}),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,n.util.hexToBytes(t.serialNumber))]),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.encryptedContent.algorithm).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")]),o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,t.encryptedContent.content)])));return r}(e.recipients)),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,(t=e.encryptedContent,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(n.pki.oids.data).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.algorithm).getBytes()),t.parameter?o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,t.parameter.getBytes()):void 0]),o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,t.content.getBytes())])]))])])])},findRecipient:function(t){for(var r=t.issuer.attributes,n=0;n<e.recipients.length;++n){var o=e.recipients[n],s=o.issuer;if(o.serialNumber===t.serialNumber&&s.length===r.length){for(var i=!0,a=0;a<r.length;++a)if(s[a].type!==r[a].type||s[a].value!==r[a].value){i=!1;break}if(i)return o}}return null},decrypt:function(t,r){if(void 0===e.encryptedContent.key&&void 0!==t&&void 0!==r)switch(t.encryptedContent.algorithm){case n.pki.oids.rsaEncryption:case n.pki.oids.desCBC:var o=r.decrypt(t.encryptedContent.content);e.encryptedContent.key=n.util.createBuffer(o);break;default:throw Error("Unsupported asymmetric cipher, OID "+t.encryptedContent.algorithm)}d(e)},addRecipient:function(t){e.recipients.push({version:0,issuer:t.issuer.attributes,serialNumber:t.serialNumber,encryptedContent:{algorithm:n.pki.oids.rsaEncryption,key:t.publicKey}})},encrypt:function(t,r){if(void 0===e.encryptedContent.content){switch(r=r||e.encryptedContent.algorithm,t=t||e.encryptedContent.key,r){case n.pki.oids["aes128-CBC"]:o=16,s=16,i=n.aes.createEncryptionCipher;break;case n.pki.oids["aes192-CBC"]:o=24,s=16,i=n.aes.createEncryptionCipher;break;case n.pki.oids["aes256-CBC"]:o=32,s=16,i=n.aes.createEncryptionCipher;break;case n.pki.oids["des-EDE3-CBC"]:o=24,s=8,i=n.des.createEncryptionCipher;break;default:throw Error("Unsupported symmetric cipher, OID "+r)}if(void 0===t)t=n.util.createBuffer(n.random.getBytes(o));else if(t.length()!=o)throw Error("Symmetric key has wrong length; got "+t.length()+" bytes, expected "+o+".");e.encryptedContent.algorithm=r,e.encryptedContent.key=t,e.encryptedContent.parameter=n.util.createBuffer(n.random.getBytes(s));var o,s,i,a=i(t);if(a.start(e.encryptedContent.parameter.copy()),a.update(e.content),!a.finish())throw Error("Symmetric encryption failed.");e.encryptedContent.content=a.output}for(var d=0;d<e.recipients.length;++d){var l=e.recipients[d];if(void 0===l.encryptedContent.content)if(l.encryptedContent.algorithm===n.pki.oids.rsaEncryption)l.encryptedContent.content=l.encryptedContent.key.encrypt(e.encryptedContent.key.data);else throw Error("Unsupported asymmetric cipher, OID "+l.encryptedContent.algorithm)}}}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs7asn1.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=n.asn1,s=e.exports=n.pkcs7asn1=n.pkcs7asn1||{};n.pkcs7=n.pkcs7||{},n.pkcs7.asn1=s;var i={name:"ContentInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"ContentInfo.ContentType",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"contentType"},{name:"ContentInfo.content",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,captureAsn1:"content"}]};s.contentInfoValidator=i;var a={name:"EncryptedContentInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentType",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"contentType"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedContentInfo.contentEncryptionAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"EncryptedContentInfo.contentEncryptionAlgorithm.parameter",tagClass:o.Class.UNIVERSAL,captureAsn1:"encParameter"}]},{name:"EncryptedContentInfo.encryptedContent",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,capture:"encryptedContent",captureAsn1:"encryptedContentAsn1"}]};s.envelopedDataValidator={name:"EnvelopedData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EnvelopedData.Version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},{name:"EnvelopedData.RecipientInfos",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,captureAsn1:"recipientInfos"}].concat(a)},s.encryptedDataValidator={name:"EncryptedData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"EncryptedData.Version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"}].concat(a)};var d={name:"SignerInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1},{name:"SignerInfo.issuerAndSerialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.issuerAndSerialNumber.issuer",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"SignerInfo.issuerAndSerialNumber.serialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"SignerInfo.digestAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignerInfo.digestAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"digestAlgorithm"},{name:"SignerInfo.digestAlgorithm.parameter",tagClass:o.Class.UNIVERSAL,constructed:!1,captureAsn1:"digestParameter",optional:!0}]},{name:"SignerInfo.authenticatedAttributes",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"authenticatedAttributes"},{name:"SignerInfo.digestEncryptionAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,capture:"signatureAlgorithm"},{name:"SignerInfo.encryptedDigest",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"signature"},{name:"SignerInfo.unauthenticatedAttributes",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,capture:"unauthenticatedAttributes"}]};s.signedDataValidator={name:"SignedData",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"SignedData.Version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},{name:"SignedData.DigestAlgorithms",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0,captureAsn1:"digestAlgorithms"},i,{name:"SignedData.Certificates",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,optional:!0,captureAsn1:"certificates"},{name:"SignedData.CertificateRevocationLists",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,optional:!0,captureAsn1:"crls"},{name:"SignedData.SignerInfos",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,capture:"signerInfos",optional:!0,value:[d]}]},s.recipientInfoValidator={name:"RecipientInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.version",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"version"},{name:"RecipientInfo.issuerAndSerial",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.issuerAndSerial.issuer",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"issuer"},{name:"RecipientInfo.issuerAndSerial.serialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"serial"}]},{name:"RecipientInfo.keyEncryptionAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"RecipientInfo.keyEncryptionAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"encAlgorithm"},{name:"RecipientInfo.keyEncryptionAlgorithm.parameter",tagClass:o.Class.UNIVERSAL,constructed:!1,captureAsn1:"encParameter",optional:!0}]},{name:"RecipientInfo.encryptedKey",tagClass:o.Class.UNIVERSAL,type:o.Type.OCTETSTRING,constructed:!1,capture:"encKey"}]}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pki.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbe.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pbkdf2.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs12.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pss.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rsa.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/x509.js");var o=n.asn1,s=e.exports=n.pki=n.pki||{};s.pemToDer=function(e){var t=n.pem.decode(e)[0];if(t.procType&&"ENCRYPTED"===t.procType.type)throw Error("Could not convert PEM to DER; PEM is encrypted.");return n.util.createBuffer(t.body)},s.privateKeyFromPem=function(e){var t=n.pem.decode(e)[0];if("PRIVATE KEY"!==t.type&&"RSA PRIVATE KEY"!==t.type){var r=Error('Could not convert private key from PEM; PEM header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw Error("Could not convert private key from PEM; PEM is encrypted.");var i=o.fromDer(t.body);return s.privateKeyFromAsn1(i)},s.privateKeyToPem=function(e,t){var r={type:"RSA PRIVATE KEY",body:o.toDer(s.privateKeyToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},s.privateKeyInfoToPem=function(e,t){var r={type:"PRIVATE KEY",body:o.toDer(e).getBytes()};return n.pem.encode(r,{maxline:t})}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/prime.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/jsbn.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),function(){if(n.prime){e.exports=n.prime;return}var t=e.exports=n.prime=n.prime||{},r=n.jsbn.BigInteger,o=[6,4,2,4,2,4,6,2],s=new r(null);s.fromInt(30);var i=function(e,t){return e|t};function a(e,t,r,s){var i,a=d(e,t),l=(i=a.bitLength())<=100?27:i<=150?18:i<=200?15:i<=250?12:i<=300?9:i<=350?8:i<=400?7:i<=500?6:i<=600?5:i<=800?4:i<=1250?3:2;"millerRabinTests"in r&&(l=r.millerRabinTests);var c=10;"maxBlockTime"in r&&(c=r.maxBlockTime),function e(t,r,s,i,a,l,c){var u=+new Date;do{if(t.bitLength()>r&&(t=d(r,s)),t.isProbablePrime(a))return c(null,t);t.dAddOffset(o[i++%8],0)}while(l<0||new Date-u<l);n.util.setImmediate(function(){e(t,r,s,i,a,l,c)})}(a,e,t,0,l,c,s)}function d(e,t){var n=new r(e,t),o=e-1;return n.testBit(o)||n.bitwiseTo(r.ONE.shiftLeft(o),i,n),n.dAddOffset(31-n.mod(s).byteValue(),0),n}t.generateProbablePrime=function(e,t,o){"function"==typeof t&&(o=t,t={});var s,i,l,c,u=(t=t||{}).algorithm||"PRIMEINC";"string"==typeof u&&(u={name:u}),u.options=u.options||{};var p=t.prng||n.random;if("PRIMEINC"===u.name){return s=e,i={nextBytes:function(e){for(var t=p.getBytesSync(e.length),r=0;r<e.length;++r)e[r]=t.charCodeAt(r)}},l=u.options,c=o,"workers"in l?function(e,t,o,s){if("u"<typeof Worker)return a(e,t,o,s);var i=d(e,t),l=o.workers,c=o.workLoad||100,u=30*c/8,p=o.workerScript||"forge/prime.worker.js";if(-1===l)return n.util.estimateCores(function(e,t){e&&(t=2),l=t-1,m()});function m(){l=Math.max(1,l);for(var n=[],o=0;o<l;++o)n[o]=new Worker(p);for(var a=l,o=0;o<l;++o)n[o].addEventListener("message",h);var m=!1;function h(o){if(!m){--a;var l=o.data;if(l.found){for(var p=0;p<n.length;++p)n[p].terminate();return m=!0,s(null,new r(l.prime,16))}i.bitLength()>e&&(i=d(e,t));var h=i.toString(16);o.target.postMessage({hex:h,workLoad:c}),i.dAddOffset(u,0)}}}m()}(s,i,l,c):a(s,i,l,c)}throw Error("Invalid prime generation algorithm: "+u.name)}}()},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/prng.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=null;!n.util.isNodejs||n.options.usePureJavaScript||process.versions["node-webkit"]||(o=r("crypto")),(e.exports=n.prng=n.prng||{}).create=function(e){for(var t={plugin:e,key:null,seed:null,time:null,reseeds:0,generated:0,keyBytes:""},r=e.md,s=Array(32),i=0;i<32;++i)s[i]=r.create();function a(){t.reseeds=0xffffffff===t.reseeds?0:t.reseeds+1;var e=t.plugin.md.create();e.update(t.keyBytes);for(var r=1,n=0;n<32;++n)t.reseeds%r==0&&(e.update(t.pools[n].digest().getBytes()),t.pools[n].start()),r<<=1;t.keyBytes=e.digest().getBytes(),e.start(),e.update(t.keyBytes);var o=e.digest().getBytes();t.key=t.plugin.formatKey(t.keyBytes),t.seed=t.plugin.formatSeed(o),t.generated=0}function d(e){var t=null,r=n.util.globalScope,o=r.crypto||r.msCrypto;o&&o.getRandomValues&&(t=function(e){return o.getRandomValues(e)});var s=n.util.createBuffer();if(t)for(;s.length()<e;){var i=new Uint32Array(Math.floor(Math.max(1,Math.min(e-s.length(),65536)/4)));try{t(i);for(var a=0;a<i.length;++a)s.putInt32(i[a])}catch(e){if(!("u">typeof QuotaExceededError&&e instanceof QuotaExceededError))throw e}}if(s.length()<e)for(var d,l,c,u=Math.floor(65536*Math.random());s.length()<e;){u=0|(l=(0x7fffffff&(l=16807*(65535&u)+(((32767&(d=16807*(u>>16)))<<16)+(d>>15))))+(l>>31));for(var a=0;a<3;++a)c=u>>>(a<<3)^Math.floor(256*Math.random()),s.putByte(255&c)}return s.getBytes(e)}return t.pools=s,t.pool=0,t.generate=function(e,r){if(!r)return t.generateSync(e);var o=t.plugin.cipher,s=t.plugin.increment,i=t.plugin.formatKey,d=t.plugin.formatSeed,l=n.util.createBuffer();t.key=null,function c(u){if(u)return r(u);if(l.length()>=e)return r(null,l.getBytes(e));if(t.generated>1048575&&(t.key=null),null===t.key)return n.util.nextTick(function(){!function(e){if(t.pools[0].messageLength>=32)return a(),e();var r=32-t.pools[0].messageLength<<5;t.seedFile(r,function(r,n){if(r)return e(r);t.collect(n),a(),e()})}(c)});var p=o(t.key,t.seed);t.generated+=p.length,l.putBytes(p),t.key=i(o(t.key,s(t.seed))),t.seed=d(o(t.key,t.seed)),n.util.setImmediate(c)}()},t.generateSync=function(e){var r=t.plugin.cipher,o=t.plugin.increment,s=t.plugin.formatKey,i=t.plugin.formatSeed;t.key=null;for(var d=n.util.createBuffer();d.length()<e;){t.generated>1048575&&(t.key=null),null===t.key&&function(){if(t.pools[0].messageLength>=32)return a();var e=32-t.pools[0].messageLength<<5;t.collect(t.seedFileSync(e)),a()}();var l=r(t.key,t.seed);t.generated+=l.length,d.putBytes(l),t.key=s(r(t.key,o(t.seed))),t.seed=i(r(t.key,t.seed))}return d.getBytes(e)},o?(t.seedFile=function(e,t){o.randomBytes(e,function(e,r){if(e)return t(e);t(null,r.toString())})},t.seedFileSync=function(e){return o.randomBytes(e).toString()}):(t.seedFile=function(e,t){try{t(null,d(e))}catch(e){t(e)}},t.seedFileSync=d),t.collect=function(e){for(var r=e.length,n=0;n<r;++n)t.pools[t.pool].update(e.substr(n,1)),t.pool=31===t.pool?0:t.pool+1},t.collectInt=function(e,r){for(var n="",o=0;o<r;o+=8)n+=String.fromCharCode(e>>o&255);t.collect(n)},t.registerWorker=function(e){e===self?t.seedFile=function(e,t){self.addEventListener("message",function e(r){var n=r.data;n.forge&&n.forge.prng&&(self.removeEventListener("message",e),t(n.forge.prng.err,n.forge.prng.bytes))}),self.postMessage({forge:{prng:{needed:e}}})}:e.addEventListener("message",function(r){var n=r.data;n.forge&&n.forge.prng&&t.seedFile(n.forge.prng.needed,function(t,r){e.postMessage({forge:{prng:{err:t,bytes:r}}})})})},t}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pss.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),(e.exports=n.pss=n.pss||{}).create=function(e){3==arguments.length&&(e={md:arguments[0],mgf:arguments[1],saltLength:arguments[2]});var t,r=e.md,o=e.mgf,s=r.digestLength,i=e.salt||null;if("string"==typeof i&&(i=n.util.createBuffer(i)),"saltLength"in e)t=e.saltLength;else if(null!==i)t=i.length();else throw Error("Salt length not specified or specific salt not given.");if(null!==i&&i.length()!==t)throw Error("Given salt length does not match length of given salt.");var a=e.prng||n.random,d={};return d.encode=function(e,d){var l,c,u=d-1,p=Math.ceil(u/8),m=e.digest().getBytes();if(p<s+t+2)throw Error("Message is too long to encrypt.");c=null===i?a.getBytesSync(t):i.bytes();var h=new n.util.ByteBuffer;h.fillWithByte(0,8),h.putBytes(m),h.putBytes(c),r.start(),r.update(h.getBytes());var f=r.digest().getBytes(),g=new n.util.ByteBuffer;g.fillWithByte(0,p-t-s-2),g.putByte(1),g.putBytes(c);var b=g.getBytes(),y=p-s-1,v=o.generate(f,y),_="";for(l=0;l<y;l++)_+=String.fromCharCode(b.charCodeAt(l)^v.charCodeAt(l));return(_=String.fromCharCode(_.charCodeAt(0)&~(65280>>8*p-u&255))+_.substr(1))+f+String.fromCharCode(188)},d.verify=function(e,i,a){var d,l=a-1,c=Math.ceil(l/8);if(i=i.substr(-c),c<s+t+2)throw Error("Inconsistent parameters to PSS signature verification.");if(188!==i.charCodeAt(c-1))throw Error("Encoded message does not end in 0xBC.");var u=c-s-1,p=i.substr(0,u),m=i.substr(u,s),h=65280>>8*c-l&255;if((p.charCodeAt(0)&h)!=0)throw Error("Bits beyond keysize not zero as expected.");var f=o.generate(m,u),g="";for(d=0;d<u;d++)g+=String.fromCharCode(p.charCodeAt(d)^f.charCodeAt(d));g=String.fromCharCode(g.charCodeAt(0)&~h)+g.substr(1);var b=c-s-t-2;for(d=0;d<b;d++)if(0!==g.charCodeAt(d))throw Error("Leftmost octets not zero as expected");if(1!==g.charCodeAt(b))throw Error("Inconsistent PSS signature, 0x01 marker not found");var y=g.substr(-t),v=new n.util.ByteBuffer;return v.fillWithByte(0,8),v.putBytes(e),v.putBytes(y),r.start(),r.update(v.getBytes()),m===r.digest().getBytes()},d}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha256.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/prng.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),function(){if(n.random&&n.random.getBytes){e.exports=n.random;return}!function(t){var r={},o=[,,,,],s=n.util.createBuffer();function i(){var e=n.prng.create(r);return e.getBytes=function(t,r){return e.generate(t,r)},e.getBytesSync=function(t){return e.generate(t)},e}r.formatKey=function(e){var t=n.util.createBuffer(e);return(e=[,,,,])[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),n.aes._expandKey(e,!1)},r.formatSeed=function(e){var t=n.util.createBuffer(e);return(e=[,,,,])[0]=t.getInt32(),e[1]=t.getInt32(),e[2]=t.getInt32(),e[3]=t.getInt32(),e},r.cipher=function(e,t){return n.aes._updateBlock(e,t,o,!1),s.putInt32(o[0]),s.putInt32(o[1]),s.putInt32(o[2]),s.putInt32(o[3]),s.getBytes()},r.increment=function(e){return++e[3],e},r.md=n.md.sha256;var a=i(),d=null,l=n.util.globalScope,c=l.crypto||l.msCrypto;if(c&&c.getRandomValues&&(d=function(e){return c.getRandomValues(e)}),n.options.usePureJavaScript||!n.util.isNodejs&&!d){if("u"<typeof window||window.document,a.collectInt(+new Date,32),"u">typeof navigator){var u="";for(var p in navigator)try{"string"==typeof navigator[p]&&(u+=navigator[p])}catch(e){}a.collect(u),u=null}t&&(t().mousemove(function(e){a.collectInt(e.clientX,16),a.collectInt(e.clientY,16)}),t().keypress(function(e){a.collectInt(e.charCode,8)}))}if(n.random)for(var p in a)n.random[p]=a[p];else n.random=a;n.random.createInstance=i,e.exports=n.random}("u">typeof jQuery?jQuery:null)}()},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rc2.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=[217,120,249,196,25,221,181,237,40,233,253,121,74,160,216,157,198,126,55,131,43,118,83,142,98,76,100,136,68,139,251,162,23,154,89,245,135,179,79,19,97,69,109,141,9,129,125,50,189,143,64,235,134,183,123,11,240,149,33,34,92,107,78,130,84,214,101,147,206,96,178,28,115,86,192,20,167,140,241,220,18,117,202,31,59,190,228,209,66,61,212,48,163,60,182,38,111,191,14,218,70,105,7,87,39,242,29,155,188,148,67,3,248,17,199,246,144,239,62,231,6,195,213,47,200,102,30,215,8,232,234,222,128,82,238,247,132,170,114,172,53,77,106,42,150,26,210,113,90,21,73,116,75,159,208,94,4,24,164,236,194,224,65,110,15,81,203,204,36,145,175,80,161,244,112,57,153,124,58,133,35,184,180,122,252,2,54,91,37,85,151,49,45,93,250,152,227,138,146,174,5,223,41,16,103,108,186,201,211,0,230,207,225,158,168,44,99,22,1,63,88,226,137,169,13,56,52,27,171,51,255,176,187,72,12,95,185,177,205,46,197,243,219,71,229,165,156,119,10,166,32,104,254,127,193,173],s=[1,2,3,5];e.exports=n.rc2=n.rc2||{},n.rc2.expandKey=function(e,t){"string"==typeof e&&(e=n.util.createBuffer(e)),t=t||128;var r,s=e,i=e.length(),a=t,d=Math.ceil(a/8);for(r=i;r<128;r++)s.putByte(o[s.at(r-1)+s.at(r-i)&255]);for(s.setAt(128-d,o[s.at(128-d)&255>>(7&a)]),r=127-d;r>=0;r--)s.setAt(r,o[s.at(r+1)^s.at(r+d)]);return s};var i=function(e,t,r){var o,i,a,d,l=!1,c=null,u=null,p=null,m=[];for(e=n.rc2.expandKey(e,t),a=0;a<64;a++)m.push(e.getInt16Le());r?(o=function(e){for(a=0;a<4;a++){var t,r;e[a]+=m[d]+(e[(a+3)%4]&e[(a+2)%4])+(~e[(a+3)%4]&e[(a+1)%4]),e[a]=(t=e[a])<<(r=s[a])&65535|(65535&t)>>16-r,d++}},i=function(e){for(a=0;a<4;a++)e[a]+=m[63&e[(a+3)%4]]}):(o=function(e){for(a=3;a>=0;a--){var t,r;e[a]=(65535&(t=e[a]))>>(r=s[a])|t<<16-r&65535,e[a]-=m[d]+(e[(a+3)%4]&e[(a+2)%4])+(~e[(a+3)%4]&e[(a+1)%4]),d--}},i=function(e){for(a=3;a>=0;a--)e[a]-=m[63&e[(a+3)%4]]});var h=function(e){var t=[];for(a=0;a<4;a++){var n=c.getInt16Le();null!==p&&(r?n^=p.getInt16Le():p.putInt16Le(n)),t.push(65535&n)}d=63*!r;for(var o=0;o<e.length;o++)for(var s=0;s<e[o][0];s++)e[o][1](t);for(a=0;a<4;a++)null!==p&&(r?p.putInt16Le(t[a]):t[a]^=p.getInt16Le()),u.putInt16Le(t[a])},f=null;return f={start:function(e,t){e&&"string"==typeof e&&(e=n.util.createBuffer(e)),l=!1,c=n.util.createBuffer(),u=t||new n.util.createBuffer,p=e,f.output=u},update:function(e){for(l||c.putBuffer(e);c.length()>=8;)h([[5,o],[1,i],[6,o],[1,i],[5,o]])},finish:function(e){var t=!0;if(r)if(e)t=e(8,c,!r);else{var n=8===c.length()?8:8-c.length();c.fillWithByte(n,n)}if(t&&(l=!0,f.update()),!r&&(t=0===c.length()))if(e)t=e(8,u,!r);else{var o=u.length(),s=u.at(o-1);s>o?t=!1:u.truncate(s)}return t}}};n.rc2.startEncrypting=function(e,t,r){var o=n.rc2.createEncryptionCipher(e,128);return o.start(t,r),o},n.rc2.createEncryptionCipher=function(e,t){return i(e,t,!0)},n.rc2.startDecrypting=function(e,t,r){var o=n.rc2.createDecryptionCipher(e,128);return o.start(t,r),o},n.rc2.createDecryptionCipher=function(e,t){return i(e,t,!1)}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rsa.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");if(r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/jsbn.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pkcs1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/prime.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"),void 0===o)var o=n.jsbn.BigInteger;var s=n.util.isNodejs?r("crypto"):null,i=n.asn1,a=n.util;n.pki=n.pki||{},e.exports=n.pki.rsa=n.rsa=n.rsa||{};var d=n.pki,l=[6,4,2,4,2,4,6,2],c={name:"PrivateKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"PrivateKeyInfo.version",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"PrivateKeyInfo.privateKeyAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"privateKeyOid"}]},{name:"PrivateKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"privateKey"}]},u={name:"RSAPrivateKey",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPrivateKey.version",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyVersion"},{name:"RSAPrivateKey.modulus",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyModulus"},{name:"RSAPrivateKey.publicExponent",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyPublicExponent"},{name:"RSAPrivateKey.privateExponent",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyPrivateExponent"},{name:"RSAPrivateKey.prime1",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyPrime1"},{name:"RSAPrivateKey.prime2",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyPrime2"},{name:"RSAPrivateKey.exponent1",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyExponent1"},{name:"RSAPrivateKey.exponent2",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyExponent2"},{name:"RSAPrivateKey.coefficient",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"privateKeyCoefficient"}]},p={name:"RSAPublicKey",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"RSAPublicKey.modulus",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"publicKeyModulus"},{name:"RSAPublicKey.exponent",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"publicKeyExponent"}]},m=n.pki.rsa.publicKeyValidator={name:"SubjectPublicKeyInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"subjectPublicKeyInfo",value:[{name:"SubjectPublicKeyInfo.AlgorithmIdentifier",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"publicKeyOid"}]},{name:"SubjectPublicKeyInfo.subjectPublicKey",tagClass:i.Class.UNIVERSAL,type:i.Type.BITSTRING,constructed:!1,value:[{name:"SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,optional:!0,captureAsn1:"rsaPublicKey"}]}]},h={name:"DigestInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"DigestInfo.DigestAlgorithm.algorithmIdentifier",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"algorithmIdentifier"},{name:"DigestInfo.DigestAlgorithm.parameters",tagClass:i.Class.UNIVERSAL,type:i.Type.NULL,capture:"parameters",optional:!0,constructed:!1}]},{name:"DigestInfo.digest",tagClass:i.Class.UNIVERSAL,type:i.Type.OCTETSTRING,constructed:!1,capture:"digest"}]},f=function(e){if(e.algorithm in d.oids)t=d.oids[e.algorithm];else{var t,r=Error("Unknown message digest algorithm.");throw r.algorithm=e.algorithm,r}var n=i.oidToDer(t).getBytes(),o=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[]),s=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[]);s.value.push(i.create(i.Class.UNIVERSAL,i.Type.OID,!1,n)),s.value.push(i.create(i.Class.UNIVERSAL,i.Type.NULL,!1,""));var a=i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,e.digest().getBytes());return o.value.push(s),o.value.push(a),i.toDer(o).getBytes()},g=function(e,t,r){if(r)return e.modPow(t.e,t.n);if(!t.p||!t.q)return e.modPow(t.d,t.n);t.dP||(t.dP=t.d.mod(t.p.subtract(o.ONE))),t.dQ||(t.dQ=t.d.mod(t.q.subtract(o.ONE))),t.qInv||(t.qInv=t.q.modInverse(t.p));do s=new o(n.util.bytesToHex(n.random.getBytes(t.n.bitLength()/8)),16);while(s.compareTo(t.n)>=0||!s.gcd(t.n).equals(o.ONE));for(var s,i=(e=e.multiply(s.modPow(t.e,t.n)).mod(t.n)).mod(t.p).modPow(t.dP,t.p),a=e.mod(t.q).modPow(t.dQ,t.q);0>i.compareTo(a);)i=i.add(t.p);var d=i.subtract(a).multiply(t.qInv).mod(t.p).multiply(t.q).add(a);return d.multiply(s.modInverse(t.n)).mod(t.n)};function b(e,t,r){var o,s=n.util.createBuffer(),i=Math.ceil(t.n.bitLength()/8);if(e.length>i-11){var a=Error("Message is too long for PKCS#1 v1.5 padding.");throw a.length=e.length,a.max=i-11,a}s.putByte(0),s.putByte(r);var d=i-3-e.length;if(0===r||1===r){o=255*(0!==r);for(var l=0;l<d;++l)s.putByte(o)}else for(;d>0;){for(var c=0,u=n.random.getBytes(d),l=0;l<d;++l)0===(o=u.charCodeAt(l))?++c:s.putByte(o);d=c}return s.putByte(0),s.putBytes(e),s}function y(e,t,r,o,s){var i=Math.ceil(t.n.bitLength()/8),a=n.util.createBuffer(e),d=a.getByte(),l=a.getByte();if(0!==d||r&&0!==l&&1!==l||!r&&2!==l||r&&0===l&&void 0===o)throw Error("Encryption block is invalid.");var c=0;if(0===l){c=i-3-o;for(var u=0;u<c;++u)if(0!==a.getByte())throw Error("Encryption block is invalid.")}else if(1===l){for(c=0;a.length()>1;){if(255!==a.getByte()){--a.read;break}++c}if(c<8&&!(s&&s._skipPaddingChecks))throw Error("Encryption block is invalid.")}else if(2===l){for(c=0;a.length()>1;){if(0===a.getByte()){--a.read;break}++c}if(c<8&&!(s&&s._skipPaddingChecks))throw Error("Encryption block is invalid.")}if(0!==a.getByte()||c!==i-3-a.length())throw Error("Encryption block is invalid.");return a.getBytes()}function v(e){var t=e.toString(16);t[0]>="8"&&(t="00"+t);var r=n.util.hexToBytes(t);return r.length>1&&(0===r.charCodeAt(0)&&(128&r.charCodeAt(1))==0||255===r.charCodeAt(0)&&(128&r.charCodeAt(1))==128)?r.substr(1):r}function _(e){return n.util.isNodejs&&"function"==typeof s[e]}function x(e){return void 0!==a.globalScope&&"object"==typeof a.globalScope.crypto&&"object"==typeof a.globalScope.crypto.subtle&&"function"==typeof a.globalScope.crypto.subtle[e]}function E(e){return void 0!==a.globalScope&&"object"==typeof a.globalScope.msCrypto&&"object"==typeof a.globalScope.msCrypto.subtle&&"function"==typeof a.globalScope.msCrypto.subtle[e]}function C(e){for(var t=n.util.hexToBytes(e.toString(16)),r=new Uint8Array(t.length),o=0;o<t.length;++o)r[o]=t.charCodeAt(o);return r}d.rsa.encrypt=function(e,t,r){var s,i=r,a=Math.ceil(t.n.bitLength()/8);!1!==r&&!0!==r?(i=2===r,s=b(e,t,r)):(s=n.util.createBuffer()).putBytes(e);for(var d=g(new o(s.toHex(),16),t,i).toString(16),l=n.util.createBuffer(),c=a-Math.ceil(d.length/2);c>0;)l.putByte(0),--c;return l.putBytes(n.util.hexToBytes(d)),l.getBytes()},d.rsa.decrypt=function(e,t,r,s){var i=Math.ceil(t.n.bitLength()/8);if(e.length!==i){var a=Error("Encrypted message length is invalid.");throw a.length=e.length,a.expected=i,a}var d=new o(n.util.createBuffer(e).toHex(),16);if(d.compareTo(t.n)>=0)throw Error("Encrypted message is invalid.");for(var l=g(d,t,r).toString(16),c=n.util.createBuffer(),u=i-Math.ceil(l.length/2);u>0;)c.putByte(0),--u;return(c.putBytes(n.util.hexToBytes(l)),!1!==s)?y(c.getBytes(),t,r):c.getBytes()},d.rsa.createKeyPairGenerationState=function(e,t,r){"string"==typeof e&&(e=parseInt(e,10)),e=e||2048;var s,i=(r=r||{}).prng||n.random,a=r.algorithm||"PRIMEINC";if("PRIMEINC"===a)(s={algorithm:a,state:0,bits:e,rng:{nextBytes:function(e){for(var t=i.getBytesSync(e.length),r=0;r<e.length;++r)e[r]=t.charCodeAt(r)}},eInt:t||65537,e:new o(null),p:null,q:null,qBits:e>>1,pBits:e-(e>>1),pqState:0,num:null,keys:null}).e.fromInt(s.eInt);else throw Error("Invalid key generation algorithm: "+a);return s},d.rsa.stepKeyPairGenerationState=function(e,t){"algorithm"in e||(e.algorithm="PRIMEINC");var r,n=new o(null);n.fromInt(30);for(var s=0,i=function(e,t){return e|t},a=+new Date,c=0;null===e.keys&&(t<=0||c<t);){if(0===e.state){var u,p=null===e.p?e.pBits:e.qBits,m=p-1;0===e.pqState?(e.num=new o(p,e.rng),e.num.testBit(m)||e.num.bitwiseTo(o.ONE.shiftLeft(m),i,e.num),e.num.dAddOffset(31-e.num.mod(n).byteValue(),0),s=0,++e.pqState):1===e.pqState?e.num.bitLength()>p?e.pqState=0:e.num.isProbablePrime((u=e.num.bitLength())<=100?27:u<=150?18:u<=200?15:u<=250?12:u<=300?9:u<=350?8:u<=400?7:u<=500?6:u<=600?5:u<=800?4:u<=1250?3:2)?++e.pqState:e.num.dAddOffset(l[s++%8],0):2===e.pqState?e.pqState=3*(0===e.num.subtract(o.ONE).gcd(e.e).compareTo(o.ONE)):3===e.pqState&&(e.pqState=0,null===e.p?e.p=e.num:e.q=e.num,null!==e.p&&null!==e.q&&++e.state,e.num=null)}else if(1===e.state)0>e.p.compareTo(e.q)&&(e.num=e.p,e.p=e.q,e.q=e.num),++e.state;else if(2===e.state)e.p1=e.p.subtract(o.ONE),e.q1=e.q.subtract(o.ONE),e.phi=e.p1.multiply(e.q1),++e.state;else if(3===e.state)0===e.phi.gcd(e.e).compareTo(o.ONE)?++e.state:(e.p=null,e.q=null,e.state=0);else if(4===e.state)e.n=e.p.multiply(e.q),e.n.bitLength()===e.bits?++e.state:(e.q=null,e.state=0);else if(5===e.state){var h=e.e.modInverse(e.phi);e.keys={privateKey:d.rsa.setPrivateKey(e.n,e.e,h,e.p,e.q,h.mod(e.p1),h.mod(e.q1),e.q.modInverse(e.p)),publicKey:d.rsa.setPublicKey(e.n,e.e)}}c+=(r=+new Date)-a,a=r}return null!==e.keys},d.rsa.generateKeyPair=function(e,t,r,l){if(1==arguments.length?"object"==typeof e?(r=e,e=void 0):"function"==typeof e&&(l=e,e=void 0):2==arguments.length?"number"==typeof e?"function"==typeof t?(l=t,t=void 0):"number"!=typeof t&&(r=t,t=void 0):(r=e,l=t,e=void 0,t=void 0):3==arguments.length&&("number"==typeof t?"function"==typeof r&&(l=r,r=void 0):(l=r,r=t,t=void 0)),r=r||{},void 0===e&&(e=r.bits||2048),void 0===t&&(t=r.e||65537),!n.options.usePureJavaScript&&!r.prng&&e>=256&&e<=16384&&(65537===t||3===t)){if(l){if(_("generateKeyPair"))return s.generateKeyPair("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}},function(e,t,r){if(e)return l(e);l(null,{privateKey:d.privateKeyFromPem(r),publicKey:d.publicKeyFromPem(t)})});if(x("generateKey")&&x("exportKey"))return a.globalScope.crypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:C(t),hash:{name:"SHA-256"}},!0,["sign","verify"]).then(function(e){return a.globalScope.crypto.subtle.exportKey("pkcs8",e.privateKey)}).then(void 0,function(e){l(e)}).then(function(e){if(e){var t=d.privateKeyFromAsn1(i.fromDer(n.util.createBuffer(e)));l(null,{privateKey:t,publicKey:d.setRsaPublicKey(t.n,t.e)})}});if(E("generateKey")&&E("exportKey")){var c=a.globalScope.msCrypto.subtle.generateKey({name:"RSASSA-PKCS1-v1_5",modulusLength:e,publicExponent:C(t),hash:{name:"SHA-256"}},!0,["sign","verify"]);c.oncomplete=function(e){var t=e.target.result,r=a.globalScope.msCrypto.subtle.exportKey("pkcs8",t.privateKey);r.oncomplete=function(e){var t=e.target.result,r=d.privateKeyFromAsn1(i.fromDer(n.util.createBuffer(t)));l(null,{privateKey:r,publicKey:d.setRsaPublicKey(r.n,r.e)})},r.onerror=function(e){l(e)}},c.onerror=function(e){l(e)};return}}else if(_("generateKeyPairSync")){var u=s.generateKeyPairSync("rsa",{modulusLength:e,publicExponent:t,publicKeyEncoding:{type:"spki",format:"pem"},privateKeyEncoding:{type:"pkcs8",format:"pem"}});return{privateKey:d.privateKeyFromPem(u.privateKey),publicKey:d.publicKeyFromPem(u.publicKey)}}}var p=d.rsa.createKeyPairGenerationState(e,t,r);if(!l)return d.rsa.stepKeyPairGenerationState(p,0),p.keys;var m=p,h=r,f=l;"function"==typeof h&&(f=h,h={});var g={algorithm:{name:(h=h||{}).algorithm||"PRIMEINC",options:{workers:h.workers||2,workLoad:h.workLoad||100,workerScript:h.workerScript}}};function b(){y(m.pBits,function(e,t){return e?f(e):(m.p=t,null!==m.q)?v(e,m.q):void y(m.qBits,v)})}function y(e,t){n.prime.generateProbablePrime(e,g,t)}function v(e,t){if(e)return f(e);if(m.q=t,0>m.p.compareTo(m.q)){var r=m.p;m.p=m.q,m.q=r}if(0!==m.p.subtract(o.ONE).gcd(m.e).compareTo(o.ONE)){m.p=null,b();return}if(0!==m.q.subtract(o.ONE).gcd(m.e).compareTo(o.ONE)){m.q=null,y(m.qBits,v);return}if(m.p1=m.p.subtract(o.ONE),m.q1=m.q.subtract(o.ONE),m.phi=m.p1.multiply(m.q1),0!==m.phi.gcd(m.e).compareTo(o.ONE)){m.p=m.q=null,b();return}if(m.n=m.p.multiply(m.q),m.n.bitLength()!==m.bits){m.q=null,y(m.qBits,v);return}var n=m.e.modInverse(m.phi);m.keys={privateKey:d.rsa.setPrivateKey(m.n,m.e,n,m.p,m.q,n.mod(m.p1),n.mod(m.q1),m.q.modInverse(m.p)),publicKey:d.rsa.setPublicKey(m.n,m.e)},f(null,m.keys)}"prng"in h&&(g.prng=h.prng),b()},d.setRsaPublicKey=d.rsa.setPublicKey=function(e,t){var r={n:e,e:t};return r.encrypt=function(e,t,o){if("string"==typeof t?t=t.toUpperCase():void 0===t&&(t="RSAES-PKCS1-V1_5"),"RSAES-PKCS1-V1_5"===t)t={encode:function(e,t,r){return b(e,t,2).getBytes()}};else if("RSA-OAEP"===t||"RSAES-OAEP"===t)t={encode:function(e,t){return n.pkcs1.encode_rsa_oaep(t,e,o)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(t))t={encode:function(e){return e}};else if("string"==typeof t)throw Error('Unsupported encryption scheme: "'+t+'".');var s=t.encode(e,r,!0);return d.rsa.encrypt(s,r,!0)},r.verify=function(e,t,o,s){"string"==typeof o?o=o.toUpperCase():void 0===o&&(o="RSASSA-PKCS1-V1_5"),void 0===s&&(s={_parseAllDigestBytes:!0,_skipPaddingChecks:!1}),"_parseAllDigestBytes"in s||(s._parseAllDigestBytes=!0),"_skipPaddingChecks"in s||(s._skipPaddingChecks=!1),"RSASSA-PKCS1-V1_5"===o?o={verify:function(e,t){t=y(t,r,!0,void 0,s);var o=i.fromDer(t,{parseAllBytes:s._parseAllDigestBytes}),a={},d=[];if(!i.validate(o,h,a,d)||2!==o.value.length){var l=Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.");throw l.errors=d,l}var c=i.derToOid(a.algorithmIdentifier);if(c!==n.oids.md2&&c!==n.oids.md5&&c!==n.oids.sha1&&c!==n.oids.sha224&&c!==n.oids.sha256&&c!==n.oids.sha384&&c!==n.oids.sha512&&c!==n.oids["sha512-224"]&&c!==n.oids["sha512-256"]){var l=Error("Unknown RSASSA-PKCS1-v1_5 DigestAlgorithm identifier.");throw l.oid=c,l}if((c===n.oids.md2||c===n.oids.md5)&&!("parameters"in a))throw Error("ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value. Missing algorithm identifier NULL parameters.");return e===a.digest}}:("NONE"===o||"NULL"===o||null===o)&&(o={verify:function(e,t){return e===(t=y(t,r,!0,void 0,s))}});var a=d.rsa.decrypt(t,r,!0,!1);return o.verify(e,a,r.n.bitLength())},r},d.setRsaPrivateKey=d.rsa.setPrivateKey=function(e,t,r,o,s,i,a,l){var c={n:e,e:t,d:r,p:o,q:s,dP:i,dQ:a,qInv:l};return c.decrypt=function(e,t,r){"string"==typeof t?t=t.toUpperCase():void 0===t&&(t="RSAES-PKCS1-V1_5");var o=d.rsa.decrypt(e,c,!1,!1);if("RSAES-PKCS1-V1_5"===t)t={decode:y};else if("RSA-OAEP"===t||"RSAES-OAEP"===t)t={decode:function(e,t){return n.pkcs1.decode_rsa_oaep(t,e,r)}};else if(-1!==["RAW","NONE","NULL",null].indexOf(t))t={decode:function(e){return e}};else throw Error('Unsupported encryption scheme: "'+t+'".');return t.decode(o,c,!1)},c.sign=function(e,t){var r=!1;"string"==typeof t&&(t=t.toUpperCase()),void 0===t||"RSASSA-PKCS1-V1_5"===t?(t={encode:f},r=1):("NONE"===t||"NULL"===t||null===t)&&(t={encode:function(){return e}},r=1);var n=t.encode(e,c.n.bitLength());return d.rsa.encrypt(n,c,r)},c},d.wrapRsaPrivateKey=function(e){return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,i.integerToDer(0).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(d.oids.rsaEncryption).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.NULL,!1,"")]),i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,i.toDer(e).getBytes())])},d.privateKeyFromAsn1=function(e){var t,r,s,a,l,p,m,h,f={},g=[];if(i.validate(e,c,f,g)&&(e=i.fromDer(n.util.createBuffer(f.privateKey))),f={},g=[],!i.validate(e,u,f,g)){var b=Error("Cannot read private key. ASN.1 object does not contain an RSAPrivateKey.");throw b.errors=g,b}return t=n.util.createBuffer(f.privateKeyModulus).toHex(),r=n.util.createBuffer(f.privateKeyPublicExponent).toHex(),s=n.util.createBuffer(f.privateKeyPrivateExponent).toHex(),a=n.util.createBuffer(f.privateKeyPrime1).toHex(),l=n.util.createBuffer(f.privateKeyPrime2).toHex(),p=n.util.createBuffer(f.privateKeyExponent1).toHex(),m=n.util.createBuffer(f.privateKeyExponent2).toHex(),h=n.util.createBuffer(f.privateKeyCoefficient).toHex(),d.setRsaPrivateKey(new o(t,16),new o(r,16),new o(s,16),new o(a,16),new o(l,16),new o(p,16),new o(m,16),new o(h,16))},d.privateKeyToAsn1=d.privateKeyToRSAPrivateKey=function(e){return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,i.integerToDer(0).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.n)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.e)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.d)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.p)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.q)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.dP)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.dQ)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.qInv))])},d.publicKeyFromAsn1=function(e){var t={},r=[];if(i.validate(e,m,t,r)){var s=i.derToOid(t.publicKeyOid);if(s!==d.oids.rsaEncryption){var a=Error("Cannot read public key. Unknown OID.");throw a.oid=s,a}e=t.rsaPublicKey}if(r=[],!i.validate(e,p,t,r)){var a=Error("Cannot read public key. ASN.1 object does not contain an RSAPublicKey.");throw a.errors=r,a}var l=n.util.createBuffer(t.publicKeyModulus).toHex(),c=n.util.createBuffer(t.publicKeyExponent).toHex();return d.setRsaPublicKey(new o(l,16),new o(c,16))},d.publicKeyToAsn1=d.publicKeyToSubjectPublicKeyInfo=function(e){return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(d.oids.rsaEncryption).getBytes()),i.create(i.Class.UNIVERSAL,i.Type.NULL,!1,"")]),i.create(i.Class.UNIVERSAL,i.Type.BITSTRING,!1,[d.publicKeyToRSAPublicKey(e)])])},d.publicKeyToRSAPublicKey=function(e){return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.n)),i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,v(e.e))])}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha1.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=e.exports=n.sha1=n.sha1||{};n.md.sha1=n.md.algorithms.sha1=o,o.create=function(){i||(s=String.fromCharCode(128)+n.util.fillString("\0",64),i=!0);var e=null,t=n.util.createBuffer(),r=Array(80),o={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8};return o.start=function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var r=o.messageLengthSize/4,s=0;s<r;++s)o.fullMessageLength.push(0);return t=n.util.createBuffer(),e={h0:0x67452301,h1:0xefcdab89,h2:0x98badcfe,h3:0x10325476,h4:0xc3d2e1f0},o},o.start(),o.update=function(s,i){"utf8"===i&&(s=n.util.encodeUtf8(s));var d=s.length;o.messageLength+=d,d=[d/0x100000000>>>0,d>>>0];for(var l=o.fullMessageLength.length-1;l>=0;--l)o.fullMessageLength[l]+=d[1],d[1]=d[0]+(o.fullMessageLength[l]/0x100000000>>>0),o.fullMessageLength[l]=o.fullMessageLength[l]>>>0,d[0]=d[1]/0x100000000>>>0;return t.putBytes(s),a(e,r,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var i,d=n.util.createBuffer();d.putBytes(t.bytes());var l=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;d.putBytes(s.substr(0,o.blockLength-l));for(var c=8*o.fullMessageLength[0],u=0;u<o.fullMessageLength.length-1;++u)c+=(i=8*o.fullMessageLength[u+1])/0x100000000>>>0,d.putInt32(c>>>0),c=i>>>0;d.putInt32(c);var p={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4};a(p,r,d);var m=n.util.createBuffer();return m.putInt32(p.h0),m.putInt32(p.h1),m.putInt32(p.h2),m.putInt32(p.h3),m.putInt32(p.h4),m},o};var s=null,i=!1;function a(e,t,r){for(var n,o,s,i,a,d,l,c,u=r.length();u>=64;){for(o=e.h0,s=e.h1,i=e.h2,a=e.h3,d=e.h4,c=0;c<16;++c)n=r.getInt32(),t[c]=n,n=(o<<5|o>>>27)+(a^s&(i^a))+d+0x5a827999+n,d=a,a=i,i=(s<<30|s>>>2)>>>0,s=o,o=n;for(;c<20;++c)n=(n=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|n>>>31,t[c]=n,n=(o<<5|o>>>27)+(a^s&(i^a))+d+0x5a827999+n,d=a,a=i,i=(s<<30|s>>>2)>>>0,s=o,o=n;for(;c<32;++c)n=(n=t[c-3]^t[c-8]^t[c-14]^t[c-16])<<1|n>>>31,t[c]=n,n=(o<<5|o>>>27)+(s^i^a)+d+0x6ed9eba1+n,d=a,a=i,i=(s<<30|s>>>2)>>>0,s=o,o=n;for(;c<40;++c)n=(n=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|n>>>30,t[c]=n,n=(o<<5|o>>>27)+(s^i^a)+d+0x6ed9eba1+n,d=a,a=i,i=(s<<30|s>>>2)>>>0,s=o,o=n;for(;c<60;++c)n=(n=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|n>>>30,t[c]=n,n=(o<<5|o>>>27)+(s&i|a&(s^i))+d+0x8f1bbcdc+n,d=a,a=i,i=(s<<30|s>>>2)>>>0,s=o,o=n;for(;c<80;++c)n=(n=t[c-6]^t[c-16]^t[c-28]^t[c-32])<<2|n>>>30,t[c]=n,n=(o<<5|o>>>27)+(s^i^a)+d+0xca62c1d6+n,d=a,a=i,i=(s<<30|s>>>2)>>>0,s=o,o=n;e.h0=e.h0+o|0,e.h1=e.h1+s|0,e.h2=e.h2+i|0,e.h3=e.h3+a|0,e.h4=e.h4+d|0,u-=64}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha256.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=e.exports=n.sha256=n.sha256||{};n.md.sha256=n.md.algorithms.sha256=o,o.create=function(){i||(s=String.fromCharCode(128)+n.util.fillString("\0",64),a=[0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5,0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5,0xd807aa98,0x12835b01,0x243185be,0x550c7dc3,0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174,0xe49b69c1,0xefbe4786,0xfc19dc6,0x240ca1cc,0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da,0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7,0xc6e00bf3,0xd5a79147,0x6ca6351,0x14292967,0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13,0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85,0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3,0xd192e819,0xd6990624,0xf40e3585,0x106aa070,0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5,0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3,0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208,0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2],i=!0);var e=null,t=n.util.createBuffer(),r=Array(64),o={algorithm:"sha256",blockLength:64,digestLength:32,messageLength:0,fullMessageLength:null,messageLengthSize:8};return o.start=function(){o.messageLength=0,o.fullMessageLength=o.messageLength64=[];for(var r=o.messageLengthSize/4,s=0;s<r;++s)o.fullMessageLength.push(0);return t=n.util.createBuffer(),e={h0:0x6a09e667,h1:0xbb67ae85,h2:0x3c6ef372,h3:0xa54ff53a,h4:0x510e527f,h5:0x9b05688c,h6:0x1f83d9ab,h7:0x5be0cd19},o},o.start(),o.update=function(s,i){"utf8"===i&&(s=n.util.encodeUtf8(s));var a=s.length;o.messageLength+=a,a=[a/0x100000000>>>0,a>>>0];for(var l=o.fullMessageLength.length-1;l>=0;--l)o.fullMessageLength[l]+=a[1],a[1]=a[0]+(o.fullMessageLength[l]/0x100000000>>>0),o.fullMessageLength[l]=o.fullMessageLength[l]>>>0,a[0]=a[1]/0x100000000>>>0;return t.putBytes(s),d(e,r,t),(t.read>2048||0===t.length())&&t.compact(),o},o.digest=function(){var i,a=n.util.createBuffer();a.putBytes(t.bytes());var l=o.fullMessageLength[o.fullMessageLength.length-1]+o.messageLengthSize&o.blockLength-1;a.putBytes(s.substr(0,o.blockLength-l));for(var c=8*o.fullMessageLength[0],u=0;u<o.fullMessageLength.length-1;++u)c+=(i=8*o.fullMessageLength[u+1])/0x100000000>>>0,a.putInt32(c>>>0),c=i>>>0;a.putInt32(c);var p={h0:e.h0,h1:e.h1,h2:e.h2,h3:e.h3,h4:e.h4,h5:e.h5,h6:e.h6,h7:e.h7};d(p,r,a);var m=n.util.createBuffer();return m.putInt32(p.h0),m.putInt32(p.h1),m.putInt32(p.h2),m.putInt32(p.h3),m.putInt32(p.h4),m.putInt32(p.h5),m.putInt32(p.h6),m.putInt32(p.h7),m},o};var s=null,i=!1,a=null;function d(e,t,r){for(var n,o,s,i,d,l,c,u,p,m,h,f,g,b,y,v=r.length();v>=64;){for(c=0;c<16;++c)t[c]=r.getInt32();for(;c<64;++c)n=((n=t[c-2])>>>17|n<<15)^(n>>>19|n<<13)^n>>>10,o=((o=t[c-15])>>>7|o<<25)^(o>>>18|o<<14)^o>>>3,t[c]=n+t[c-7]+o+t[c-16]|0;for(u=e.h0,p=e.h1,m=e.h2,h=e.h3,f=e.h4,g=e.h5,b=e.h6,y=e.h7,c=0;c<64;++c)i=(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7),d=b^f&(g^b),s=(u>>>2|u<<30)^(u>>>13|u<<19)^(u>>>22|u<<10),l=u&p|m&(u^p),n=y+i+d+a[c]+t[c],o=s+l,y=b,b=g,g=f,f=h+n>>>0,h=m,m=p,p=u,u=n+o>>>0;e.h0=e.h0+u|0,e.h1=e.h1+p|0,e.h2=e.h2+m|0,e.h3=e.h3+h|0,e.h4=e.h4+f|0,e.h5=e.h5+g|0,e.h6=e.h6+b|0,e.h7=e.h7+y|0,v-=64}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha512.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=e.exports=n.sha512=n.sha512||{};n.md.sha512=n.md.algorithms.sha512=o;var s=n.sha384=n.sha512.sha384=n.sha512.sha384||{};s.create=function(){return o.create("SHA-384")},n.md.sha384=n.md.algorithms.sha384=s,n.sha512.sha256=n.sha512.sha256||{create:function(){return o.create("SHA-512/256")}},n.md["sha512/256"]=n.md.algorithms["sha512/256"]=n.sha512.sha256,n.sha512.sha224=n.sha512.sha224||{create:function(){return o.create("SHA-512/224")}},n.md["sha512/224"]=n.md.algorithms["sha512/224"]=n.sha512.sha224,o.create=function(e){if(a||(i=String.fromCharCode(128)+n.util.fillString("\0",128),d=[[0x428a2f98,0xd728ae22],[0x71374491,0x23ef65cd],[0xb5c0fbcf,0xec4d3b2f],[0xe9b5dba5,0x8189dbbc],[0x3956c25b,0xf348b538],[0x59f111f1,0xb605d019],[0x923f82a4,0xaf194f9b],[0xab1c5ed5,0xda6d8118],[0xd807aa98,0xa3030242],[0x12835b01,0x45706fbe],[0x243185be,0x4ee4b28c],[0x550c7dc3,0xd5ffb4e2],[0x72be5d74,0xf27b896f],[0x80deb1fe,0x3b1696b1],[0x9bdc06a7,0x25c71235],[0xc19bf174,0xcf692694],[0xe49b69c1,0x9ef14ad2],[0xefbe4786,0x384f25e3],[0xfc19dc6,0x8b8cd5b5],[0x240ca1cc,0x77ac9c65],[0x2de92c6f,0x592b0275],[0x4a7484aa,0x6ea6e483],[0x5cb0a9dc,0xbd41fbd4],[0x76f988da,0x831153b5],[0x983e5152,0xee66dfab],[0xa831c66d,0x2db43210],[0xb00327c8,0x98fb213f],[0xbf597fc7,0xbeef0ee4],[0xc6e00bf3,0x3da88fc2],[0xd5a79147,0x930aa725],[0x6ca6351,0xe003826f],[0x14292967,0xa0e6e70],[0x27b70a85,0x46d22ffc],[0x2e1b2138,0x5c26c926],[0x4d2c6dfc,0x5ac42aed],[0x53380d13,0x9d95b3df],[0x650a7354,0x8baf63de],[0x766a0abb,0x3c77b2a8],[0x81c2c92e,0x47edaee6],[0x92722c85,0x1482353b],[0xa2bfe8a1,0x4cf10364],[0xa81a664b,0xbc423001],[0xc24b8b70,0xd0f89791],[0xc76c51a3,0x654be30],[0xd192e819,0xd6ef5218],[0xd6990624,0x5565a910],[0xf40e3585,0x5771202a],[0x106aa070,0x32bbd1b8],[0x19a4c116,0xb8d2d0c8],[0x1e376c08,0x5141ab53],[0x2748774c,0xdf8eeb99],[0x34b0bcb5,0xe19b48a8],[0x391c0cb3,0xc5c95a63],[0x4ed8aa4a,0xe3418acb],[0x5b9cca4f,0x7763e373],[0x682e6ff3,0xd6b2b8a3],[0x748f82ee,0x5defb2fc],[0x78a5636f,0x43172f60],[0x84c87814,0xa1f0ab72],[0x8cc70208,0x1a6439ec],[0x90befffa,0x23631e28],[0xa4506ceb,0xde82bde9],[0xbef9a3f7,0xb2c67915],[0xc67178f2,0xe372532b],[0xca273ece,0xea26619c],[0xd186b8c7,0x21c0c207],[0xeada7dd6,0xcde0eb1e],[0xf57d4f7f,0xee6ed178],[0x6f067aa,0x72176fba],[0xa637dc5,0xa2c898a6],[0x113f9804,0xbef90dae],[0x1b710b35,0x131c471b],[0x28db77f5,0x23047d84],[0x32caab7b,0x40c72493],[0x3c9ebe0a,0x15c9bebc],[0x431d67c4,0x9c100d4c],[0x4cc5d4be,0xcb3e42b6],[0x597f299c,0xfc657e2a],[0x5fcb6fab,0x3ad6faec],[0x6c44198c,0x4a475817]],(l={})["SHA-512"]=[[0x6a09e667,0xf3bcc908],[0xbb67ae85,0x84caa73b],[0x3c6ef372,0xfe94f82b],[0xa54ff53a,0x5f1d36f1],[0x510e527f,0xade682d1],[0x9b05688c,0x2b3e6c1f],[0x1f83d9ab,0xfb41bd6b],[0x5be0cd19,0x137e2179]],l["SHA-384"]=[[0xcbbb9d5d,0xc1059ed8],[0x629a292a,0x367cd507],[0x9159015a,0x3070dd17],[0x152fecd8,0xf70e5939],[0x67332667,0xffc00b31],[0x8eb44a87,0x68581511],[0xdb0c2e0d,0x64f98fa7],[0x47b5481d,0xbefa4fa4]],l["SHA-512/256"]=[[0x22312194,0xfc2bf72c],[0x9f555fa3,0xc84c64c2],[0x2393b86b,0x6f53b151],[0x96387719,0x5940eabd],[0x96283ee2,0xa88effe3],[0xbe5e1e25,0x53863992],[0x2b0199fc,0x2c85b8aa],[0xeb72ddc,0x81c52ca2]],l["SHA-512/224"]=[[0x8c3d37c8,0x19544da2],[0x73e19966,0x89dcd4d6],[0x1dfab7ae,0x32ff9c82],[0x679dd514,0x582f9fcf],[0xf6d2b69,0x7bd44da8],[0x77e36f73,0x4c48942],[0x3f9d85a8,0x6a1d36c8],[0x1112e6ad,0x91d692a1]],a=!0),void 0===e&&(e="SHA-512"),!(e in l))throw Error("Invalid SHA-512 algorithm: "+e);for(var t=l[e],r=null,o=n.util.createBuffer(),s=Array(80),u=0;u<80;++u)s[u]=[,,];var p=64;switch(e){case"SHA-384":p=48;break;case"SHA-512/256":p=32;break;case"SHA-512/224":p=28}var m={algorithm:e.replace("-","").toLowerCase(),blockLength:128,digestLength:p,messageLength:0,fullMessageLength:null,messageLengthSize:16};return m.start=function(){m.messageLength=0,m.fullMessageLength=m.messageLength128=[];for(var e=m.messageLengthSize/4,s=0;s<e;++s)m.fullMessageLength.push(0);o=n.util.createBuffer(),r=Array(t.length);for(var s=0;s<t.length;++s)r[s]=t[s].slice(0);return m},m.start(),m.update=function(e,t){"utf8"===t&&(e=n.util.encodeUtf8(e));var i=e.length;m.messageLength+=i,i=[i/0x100000000>>>0,i>>>0];for(var a=m.fullMessageLength.length-1;a>=0;--a)m.fullMessageLength[a]+=i[1],i[1]=i[0]+(m.fullMessageLength[a]/0x100000000>>>0),m.fullMessageLength[a]=m.fullMessageLength[a]>>>0,i[0]=i[1]/0x100000000>>>0;return o.putBytes(e),c(r,s,o),(o.read>2048||0===o.length())&&o.compact(),m},m.digest=function(){var t,a,d=n.util.createBuffer();d.putBytes(o.bytes());var l=m.fullMessageLength[m.fullMessageLength.length-1]+m.messageLengthSize&m.blockLength-1;d.putBytes(i.substr(0,m.blockLength-l));for(var u=8*m.fullMessageLength[0],p=0;p<m.fullMessageLength.length-1;++p)u+=(t=8*m.fullMessageLength[p+1])/0x100000000>>>0,d.putInt32(u>>>0),u=t>>>0;d.putInt32(u);for(var h=Array(r.length),p=0;p<r.length;++p)h[p]=r[p].slice(0);c(h,s,d);var f=n.util.createBuffer();a="SHA-512"===e?h.length:"SHA-384"===e?h.length-2:h.length-4;for(var p=0;p<a;++p)f.putInt32(h[p][0]),(p!==a-1||"SHA-512/224"!==e)&&f.putInt32(h[p][1]);return f},m};var i=null,a=!1,d=null,l=null;function c(e,t,r){for(var n,o,s,i,a,l,c,u,p,m,h,f,g,b,y,v,_,x,E,C,w,j,S,k,T,O,D,I,A,N,R,P,L,B,M,U=r.length();U>=128;){for(A=0;A<16;++A)t[A][0]=r.getInt32()>>>0,t[A][1]=r.getInt32()>>>0;for(;A<80;++A)n=(((N=(P=t[A-2])[0])>>>19|(R=P[1])<<13)^(R>>>29|N<<3)^N>>>6)>>>0,o=((N<<13|R>>>19)^(R<<3|N>>>29)^(N<<26|R>>>6))>>>0,s=(((N=(B=t[A-15])[0])>>>1|(R=B[1])<<31)^(N>>>8|R<<24)^N>>>7)>>>0,i=((N<<31|R>>>1)^(N<<24|R>>>8)^(N<<25|R>>>7))>>>0,L=t[A-7],M=t[A-16],R=o+L[1]+i+M[1],t[A][0]=n+L[0]+s+M[0]+(R/0x100000000>>>0)>>>0,t[A][1]=R>>>0;for(g=e[0][0],b=e[0][1],y=e[1][0],v=e[1][1],_=e[2][0],x=e[2][1],E=e[3][0],C=e[3][1],w=e[4][0],j=e[4][1],S=e[5][0],k=e[5][1],T=e[6][0],O=e[6][1],D=e[7][0],I=e[7][1],A=0;A<80;++A)c=((w>>>14|j<<18)^(w>>>18|j<<14)^(j>>>9|w<<23))>>>0,u=((w<<18|j>>>14)^(w<<14|j>>>18)^(j<<23|w>>>9))>>>0,p=(T^w&(S^T))>>>0,m=(O^j&(k^O))>>>0,a=((g>>>28|b<<4)^(b>>>2|g<<30)^(b>>>7|g<<25))>>>0,l=((g<<4|b>>>28)^(b<<30|g>>>2)^(b<<25|g>>>7))>>>0,h=(g&y|_&(g^y))>>>0,f=(b&v|x&(b^v))>>>0,R=I+u+m+d[A][1]+t[A][1],n=D+c+p+d[A][0]+t[A][0]+(R/0x100000000>>>0)>>>0,o=R>>>0,s=a+h+((R=l+f)/0x100000000>>>0)>>>0,i=R>>>0,D=T,I=O,T=S,O=k,S=w,k=j,w=E+n+((R=C+o)/0x100000000>>>0)>>>0,j=R>>>0,E=_,C=x,_=y,x=v,y=g,v=b,g=n+s+((R=o+i)/0x100000000>>>0)>>>0,b=R>>>0;R=e[0][1]+b,e[0][0]=e[0][0]+g+(R/0x100000000>>>0)>>>0,e[0][1]=R>>>0,R=e[1][1]+v,e[1][0]=e[1][0]+y+(R/0x100000000>>>0)>>>0,e[1][1]=R>>>0,R=e[2][1]+x,e[2][0]=e[2][0]+_+(R/0x100000000>>>0)>>>0,e[2][1]=R>>>0,R=e[3][1]+C,e[3][0]=e[3][0]+E+(R/0x100000000>>>0)>>>0,e[3][1]=R>>>0,R=e[4][1]+j,e[4][0]=e[4][0]+w+(R/0x100000000>>>0)>>>0,e[4][1]=R>>>0,R=e[5][1]+k,e[5][0]=e[5][0]+S+(R/0x100000000>>>0)>>>0,e[5][1]=R>>>0,R=e[6][1]+O,e[6][0]=e[6][0]+T+(R/0x100000000>>>0)>>>0,e[6][1]=R>>>0,R=e[7][1]+I,e[7][0]=e[7][0]+D+(R/0x100000000>>>0)>>>0,e[7][1]=R>>>0,U-=128}}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/ssh.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/hmac.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md5.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=e.exports=n.ssh=n.ssh||{};function s(e,t){var r=t.toString(16);r[0]>="8"&&(r="00"+r);var o=n.util.hexToBytes(r);e.putInt32(o.length),e.putBytes(o)}function i(e,t){e.putInt32(t.length),e.putString(t)}function a(){for(var e=n.md.sha1.create(),t=arguments.length,r=0;r<t;++r)e.update(arguments[r]);return e.digest()}o.privateKeyToPutty=function(e,t,r){r=r||"";var o,d="ssh-rsa",l=""===(t=t||"")?"none":"aes256-cbc",c="PuTTY-User-Key-File-2: "+d+"\r\n";c+="Encryption: "+l+"\r\n",c+="Comment: "+r+"\r\n";var u=n.util.createBuffer();i(u,d),s(u,e.e),s(u,e.n);var p=n.util.encode64(u.bytes(),64),m=Math.floor(p.length/66)+1;c+="Public-Lines: "+m+"\r\n",c+=p;var h=n.util.createBuffer();if(s(h,e.d),s(h,e.p),s(h,e.q),s(h,e.qInv),t){var f=h.length()+16-1;f-=f%16;var g=a(h.bytes());g.truncate(g.length()-f+h.length()),h.putBuffer(g);var b=n.util.createBuffer();b.putBuffer(a("\0\0\0\0",t)),b.putBuffer(a("\0\0\0\x01",t));var y=n.aes.createEncryptionCipher(b.truncate(8),"CBC");y.start(n.util.createBuffer().fillWithByte(0,16)),y.update(h.copy()),y.finish();var v=y.output;v.truncate(16),o=n.util.encode64(v.bytes(),64)}else o=n.util.encode64(h.bytes(),64);c+="\r\nPrivate-Lines: "+(m=Math.floor(o.length/66)+1)+"\r\n",c+=o;var _=a("putty-private-key-file-mac-key",t),x=n.util.createBuffer();i(x,d),i(x,l),i(x,r),x.putInt32(u.length()),x.putBuffer(u),x.putInt32(h.length()),x.putBuffer(h);var E=n.hmac.create();return E.start("sha1",_),E.update(x.bytes()),c+="\r\nPrivate-MAC: "+E.digest().toHex()+"\r\n"},o.publicKeyToOpenSSH=function(e,t){var r="ssh-rsa";t=t||"";var o=n.util.createBuffer();return i(o,r),s(o,e.e),s(o,e.n),r+" "+n.util.encode64(o.bytes())+" "+t},o.privateKeyToOpenSSH=function(e,t){return t?n.pki.encryptRsaPrivateKey(e,t,{legacy:!0,algorithm:"aes128"}):n.pki.privateKeyToPem(e)},o.getPublicKeyFingerprint=function(e,t){var r=(t=t||{}).md||n.md.md5.create(),o=n.util.createBuffer();i(o,"ssh-rsa"),s(o,e.e),s(o,e.n),r.start(),r.update(o.getBytes());var a=r.digest();if("hex"===t.encoding){var d=a.toHex();return t.delimiter?d.match(/.{2}/g).join(t.delimiter):d}if("binary"===t.encoding)return a.getBytes();if(t.encoding)throw Error('Unknown encoding "'+t.encoding+'".');return a}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/tls.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/hmac.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md5.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pki.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/random.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/sha1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=function(e,t,r,o){var s=n.util.createBuffer(),i=e.length>>1,a=i+(1&e.length),d=e.substr(0,a),l=e.substr(i,a),c=n.util.createBuffer(),u=n.hmac.create();r=t+r;var p=Math.ceil(o/16),m=Math.ceil(o/20);u.start("MD5",d);var h=n.util.createBuffer();c.putBytes(r);for(var f=0;f<p;++f)u.start(null,null),u.update(c.getBytes()),c.putBuffer(u.digest()),u.start(null,null),u.update(c.bytes()+r),h.putBuffer(u.digest());u.start("SHA1",l);var g=n.util.createBuffer();c.clear(),c.putBytes(r);for(var f=0;f<m;++f)u.start(null,null),u.update(c.getBytes()),c.putBuffer(u.digest()),u.start(null,null),u.update(c.bytes()+r),g.putBuffer(u.digest());return s.putBytes(n.util.xorBytes(h.getBytes(),g.getBytes(),o)),s},s=function(e,t,r){var o=!1;try{var s=e.deflate(t.fragment.getBytes());t.fragment=n.util.createBuffer(s),t.length=s.length,o=!0}catch(e){}return o},i=function(e,t,r){var o=!1;try{var s=e.inflate(t.fragment.getBytes());t.fragment=n.util.createBuffer(s),t.length=s.length,o=!0}catch(e){}return o},a=function(e,t){var r=0;switch(t){case 1:r=e.getByte();break;case 2:r=e.getInt16();break;case 3:r=e.getInt24();break;case 4:r=e.getInt32()}return n.util.createBuffer(e.getBytes(r))},d=function(e,t,r){e.putInt(r.length(),t<<3),e.putBuffer(r)},l={};l.Versions={TLS_1_0:{major:3,minor:1},TLS_1_1:{major:3,minor:2},TLS_1_2:{major:3,minor:3}},l.SupportedVersions=[l.Versions.TLS_1_1,l.Versions.TLS_1_0],l.Version=l.SupportedVersions[0],l.MaxFragment=15360,l.ConnectionEnd={server:0,client:1},l.PRFAlgorithm={tls_prf_sha256:0},l.BulkCipherAlgorithm={none:null,rc4:0,des3:1,aes:2},l.CipherType={stream:0,block:1,aead:2},l.MACAlgorithm={none:null,hmac_md5:0,hmac_sha1:1,hmac_sha256:2,hmac_sha384:3,hmac_sha512:4},l.CompressionMethod={none:0,deflate:1},l.ContentType={change_cipher_spec:20,alert:21,handshake:22,application_data:23,heartbeat:24},l.HandshakeType={hello_request:0,client_hello:1,server_hello:2,certificate:11,server_key_exchange:12,certificate_request:13,server_hello_done:14,certificate_verify:15,client_key_exchange:16,finished:20},l.Alert={},l.Alert.Level={warning:1,fatal:2},l.Alert.Description={close_notify:0,unexpected_message:10,bad_record_mac:20,decryption_failed:21,record_overflow:22,decompression_failure:30,handshake_failure:40,bad_certificate:42,unsupported_certificate:43,certificate_revoked:44,certificate_expired:45,certificate_unknown:46,illegal_parameter:47,unknown_ca:48,access_denied:49,decode_error:50,decrypt_error:51,export_restriction:60,protocol_version:70,insufficient_security:71,internal_error:80,user_canceled:90,no_renegotiation:100},l.HeartbeatMessageType={heartbeat_request:1,heartbeat_response:2},l.CipherSuites={},l.getCipherSuite=function(e){var t=null;for(var r in l.CipherSuites){var n=l.CipherSuites[r];if(n.id[0]===e.charCodeAt(0)&&n.id[1]===e.charCodeAt(1)){t=n;break}}return t},l.handleUnexpected=function(e,t){(e.open||e.entity!==l.ConnectionEnd.client)&&e.error(e,{message:"Unexpected message. Received TLS record out of order.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.unexpected_message}})},l.handleHelloRequest=function(e,t,r){!e.handshaking&&e.handshakes>0&&(l.queue(e,l.createAlert(e,{level:l.Alert.Level.warning,description:l.Alert.Description.no_renegotiation})),l.flush(e)),e.process()},l.parseHelloMessage=function(e,t,r){var o=null,s=e.entity===l.ConnectionEnd.client;if(r<38)e.error(e,{message:s?"Invalid ServerHello message. Message too short.":"Invalid ClientHello message. Message too short.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.illegal_parameter}});else{var i=t.fragment,d=i.length();if(o={version:{major:i.getByte(),minor:i.getByte()},random:n.util.createBuffer(i.getBytes(32)),session_id:a(i,1),extensions:[]},s?(o.cipher_suite=i.getBytes(2),o.compression_method=i.getByte()):(o.cipher_suites=a(i,2),o.compression_methods=a(i,1)),(d=r-(d-i.length()))>0){for(var c=a(i,2);c.length()>0;)o.extensions.push({type:[c.getByte(),c.getByte()],data:a(c,2)});if(!s)for(var u=0;u<o.extensions.length;++u){var p=o.extensions[u];if(0===p.type[0]&&0===p.type[1])for(var m=a(p.data,2);m.length()>0&&0===m.getByte();)e.session.extensions.server_name.serverNameList.push(a(m,2).getBytes())}}if(e.session.version&&(o.version.major!==e.session.version.major||o.version.minor!==e.session.version.minor))return e.error(e,{message:"TLS version change is disallowed during renegotiation.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.protocol_version}});if(s)e.session.cipherSuite=l.getCipherSuite(o.cipher_suite);else for(var h=n.util.createBuffer(o.cipher_suites.bytes());h.length()>0&&(e.session.cipherSuite=l.getCipherSuite(h.getBytes(2)),null===e.session.cipherSuite););if(null===e.session.cipherSuite)return e.error(e,{message:"No cipher suites in common.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.handshake_failure},cipherSuite:n.util.bytesToHex(o.cipher_suite)});s?e.session.compressionMethod=o.compression_method:e.session.compressionMethod=l.CompressionMethod.none}return o},l.createSecurityParameters=function(e,t){var r=e.entity===l.ConnectionEnd.client,n=t.random.bytes(),o=r?e.session.sp.client_random:n,s=r?n:l.createRandom().getBytes();e.session.sp={entity:e.entity,prf_algorithm:l.PRFAlgorithm.tls_prf_sha256,bulk_cipher_algorithm:null,cipher_type:null,enc_key_length:null,block_length:null,fixed_iv_length:null,record_iv_length:null,mac_algorithm:null,mac_length:null,mac_key_length:null,compression_algorithm:e.session.compressionMethod,pre_master_secret:null,master_secret:null,client_random:o,server_random:s}},l.handleServerHello=function(e,t,r){var n=l.parseHelloMessage(e,t,r);if(!e.fail){if(!(n.version.minor<=e.version.minor))return e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.protocol_version}});e.version.minor=n.version.minor,e.session.version=e.version;var o=n.session_id.bytes();o.length>0&&o===e.session.id?(e.expect=h,e.session.resuming=!0,e.session.sp.server_random=n.random.bytes()):(e.expect=c,e.session.resuming=!1,l.createSecurityParameters(e,n)),e.session.id=o,e.process()}},l.handleClientHello=function(e,t,r){var o,s=l.parseHelloMessage(e,t,r);if(!e.fail){var i=s.session_id.bytes(),a=null;if(e.sessionCache&&(null===(a=e.sessionCache.getSession(i))?i="":(a.version.major!==s.version.major||a.version.minor>s.version.minor)&&(a=null,i="")),0===i.length&&(i=n.random.getBytes(32)),e.session.id=i,e.session.clientHelloVersion=s.version,e.session.sp={},a)e.version=e.session.version=a.version,e.session.sp=a.sp;else{for(var d=1;d<l.SupportedVersions.length&&!((o=l.SupportedVersions[d]).minor<=s.version.minor);++d);e.version={major:o.major,minor:o.minor},e.session.version=e.version}null!==a?(e.expect=x,e.session.resuming=!0,e.session.sp.client_random=s.random.bytes()):(e.expect=!1!==e.verifyClient?y:v,e.session.resuming=!1,l.createSecurityParameters(e,s)),e.open=!0,l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createServerHello(e)})),e.session.resuming?(l.queue(e,l.createRecord(e,{type:l.ContentType.change_cipher_spec,data:l.createChangeCipherSpec()})),e.state.pending=l.createConnectionState(e),e.state.current.write=e.state.pending.write,l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createFinished(e)}))):(l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createCertificate(e)})),e.fail||(l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createServerKeyExchange(e)})),!1!==e.verifyClient&&l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createCertificateRequest(e)})),l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createServerHelloDone(e)})))),l.flush(e),e.process()}},l.handleCertificate=function(e,t,r){if(r<3)return e.error(e,{message:"Invalid Certificate message. Message too short.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.illegal_parameter}});var o,s,i={certificate_list:a(t.fragment,3)},d=[];try{for(;i.certificate_list.length()>0;)o=a(i.certificate_list,3),s=n.asn1.fromDer(o),o=n.pki.certificateFromAsn1(s,!0),d.push(o)}catch(t){return e.error(e,{message:"Could not parse certificate list.",cause:t,send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.bad_certificate}})}var c=e.entity===l.ConnectionEnd.client;(c||!0===e.verifyClient)&&0===d.length?e.error(e,{message:c?"No server certificate provided.":"No client certificate provided.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.illegal_parameter}}):0===d.length?e.expect=c?u:v:(c?e.session.serverCertificate=d[0]:e.session.clientCertificate=d[0],l.verifyCertificateChain(e,d)&&(e.expect=c?u:v)),e.process()},l.handleServerKeyExchange=function(e,t,r){if(r>0)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.unsupported_certificate}});e.expect=p,e.process()},l.handleClientKeyExchange=function(e,t,r){if(r<48)return e.error(e,{message:"Invalid key parameters. Only RSA is supported.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.unsupported_certificate}});var o={enc_pre_master_secret:a(t.fragment,2).getBytes()},s=null;if(e.getPrivateKey)try{s=e.getPrivateKey(e,e.session.serverCertificate),s=n.pki.privateKeyFromPem(s)}catch(t){e.error(e,{message:"Could not get private key.",cause:t,send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.internal_error}})}if(null===s)return e.error(e,{message:"No private key set.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.internal_error}});try{var i=e.session.sp;i.pre_master_secret=s.decrypt(o.enc_pre_master_secret);var d=e.session.clientHelloVersion;if(d.major!==i.pre_master_secret.charCodeAt(0)||d.minor!==i.pre_master_secret.charCodeAt(1))throw Error("TLS version rollback attack detected.")}catch(e){i.pre_master_secret=n.random.getBytes(48)}e.expect=x,null!==e.session.clientCertificate&&(e.expect=_),e.process()},l.handleCertificateRequest=function(e,t,r){if(r<3)return e.error(e,{message:"Invalid CertificateRequest. Message too short.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.illegal_parameter}});var n=t.fragment,o={certificate_types:a(n,1),certificate_authorities:a(n,2)};e.session.certificateRequest=o,e.expect=m,e.process()},l.handleCertificateVerify=function(e,t,r){if(r<2)return e.error(e,{message:"Invalid CertificateVerify. Message too short.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.illegal_parameter}});var o=t.fragment;o.read-=4;var s=o.bytes();o.read+=4;var i={signature:a(o,2).getBytes()},d=n.util.createBuffer();d.putBuffer(e.session.md5.digest()),d.putBuffer(e.session.sha1.digest()),d=d.getBytes();try{if(!e.session.clientCertificate.publicKey.verify(d,i.signature,"NONE"))throw Error("CertificateVerify signature does not match.");e.session.md5.update(s),e.session.sha1.update(s)}catch(t){return e.error(e,{message:"Bad signature in CertificateVerify.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.handshake_failure}})}e.expect=x,e.process()},l.handleServerHelloDone=function(e,t,r){if(r>0)return e.error(e,{message:"Invalid ServerHelloDone message. Invalid length.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.record_overflow}});if(null===e.serverCertificate){var o={message:"No server certificate provided. Not enough security.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.insufficient_security}},s=e.verify(e,o.alert.description,0,[]);if(!0!==s)return(s||0===s)&&("object"!=typeof s||n.util.isArray(s)?"number"==typeof s&&(o.alert.description=s):(s.message&&(o.message=s.message),s.alert&&(o.alert.description=s.alert))),e.error(e,o)}null!==e.session.certificateRequest&&(t=l.createRecord(e,{type:l.ContentType.handshake,data:l.createCertificate(e)}),l.queue(e,t)),t=l.createRecord(e,{type:l.ContentType.handshake,data:l.createClientKeyExchange(e)}),l.queue(e,t),e.expect=b;var i=function(e,t){null!==e.session.certificateRequest&&null!==e.session.clientCertificate&&l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createCertificateVerify(e,t)})),l.queue(e,l.createRecord(e,{type:l.ContentType.change_cipher_spec,data:l.createChangeCipherSpec()})),e.state.pending=l.createConnectionState(e),e.state.current.write=e.state.pending.write,l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createFinished(e)})),e.expect=h,l.flush(e),e.process()};if(null===e.session.certificateRequest||null===e.session.clientCertificate)return i(e,null);l.getClientSignature(e,i)},l.handleChangeCipherSpec=function(e,t){if(1!==t.fragment.getByte())return e.error(e,{message:"Invalid ChangeCipherSpec message received.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.illegal_parameter}});var r=e.entity===l.ConnectionEnd.client;(e.session.resuming&&r||!e.session.resuming&&!r)&&(e.state.pending=l.createConnectionState(e)),e.state.current.read=e.state.pending.read,(!e.session.resuming&&r||e.session.resuming&&!r)&&(e.state.pending=null),e.expect=r?f:E,e.process()},l.handleFinished=function(e,t,r){var s=t.fragment;s.read-=4;var i=s.bytes();s.read+=4;var a=t.fragment.getBytes();(s=n.util.createBuffer()).putBuffer(e.session.md5.digest()),s.putBuffer(e.session.sha1.digest());var d=e.entity===l.ConnectionEnd.client;if((s=o(e.session.sp.master_secret,d?"server finished":"client finished",s.getBytes(),12)).getBytes()!==a)return e.error(e,{message:"Invalid verify_data in Finished message.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.decrypt_error}});e.session.md5.update(i),e.session.sha1.update(i),(e.session.resuming&&d||!e.session.resuming&&!d)&&(l.queue(e,l.createRecord(e,{type:l.ContentType.change_cipher_spec,data:l.createChangeCipherSpec()})),e.state.current.write=e.state.pending.write,e.state.pending=null,l.queue(e,l.createRecord(e,{type:l.ContentType.handshake,data:l.createFinished(e)}))),e.expect=d?g:C,e.handshaking=!1,++e.handshakes,e.peerCertificate=d?e.session.serverCertificate:e.session.clientCertificate,l.flush(e),e.isConnected=!0,e.connected(e),e.process()},l.handleAlert=function(e,t){var r,n=t.fragment,o={level:n.getByte(),description:n.getByte()};switch(o.description){case l.Alert.Description.close_notify:r="Connection closed.";break;case l.Alert.Description.unexpected_message:r="Unexpected message.";break;case l.Alert.Description.bad_record_mac:r="Bad record MAC.";break;case l.Alert.Description.decryption_failed:r="Decryption failed.";break;case l.Alert.Description.record_overflow:r="Record overflow.";break;case l.Alert.Description.decompression_failure:r="Decompression failed.";break;case l.Alert.Description.handshake_failure:r="Handshake failure.";break;case l.Alert.Description.bad_certificate:r="Bad certificate.";break;case l.Alert.Description.unsupported_certificate:r="Unsupported certificate.";break;case l.Alert.Description.certificate_revoked:r="Certificate revoked.";break;case l.Alert.Description.certificate_expired:r="Certificate expired.";break;case l.Alert.Description.certificate_unknown:r="Certificate unknown.";break;case l.Alert.Description.illegal_parameter:r="Illegal parameter.";break;case l.Alert.Description.unknown_ca:r="Unknown certificate authority.";break;case l.Alert.Description.access_denied:r="Access denied.";break;case l.Alert.Description.decode_error:r="Decode error.";break;case l.Alert.Description.decrypt_error:r="Decrypt error.";break;case l.Alert.Description.export_restriction:r="Export restriction.";break;case l.Alert.Description.protocol_version:r="Unsupported protocol version.";break;case l.Alert.Description.insufficient_security:r="Insufficient security.";break;case l.Alert.Description.internal_error:r="Internal error.";break;case l.Alert.Description.user_canceled:r="User canceled.";break;case l.Alert.Description.no_renegotiation:r="Renegotiation not supported.";break;default:r="Unknown error."}if(o.description===l.Alert.Description.close_notify)return e.close();e.error(e,{message:r,send:!1,origin:e.entity===l.ConnectionEnd.client?"server":"client",alert:o}),e.process()},l.handleHandshake=function(e,t){var r=t.fragment,o=r.getByte(),s=r.getInt24();if(s>r.length())return e.fragmented=t,t.fragment=n.util.createBuffer(),r.read-=4,e.process();e.fragmented=null,r.read-=4;var i=r.bytes(s+4);r.read+=4,o in M[e.entity][e.expect]?(e.entity!==l.ConnectionEnd.server||e.open||e.fail||(e.handshaking=!0,e.session={version:null,extensions:{server_name:{serverNameList:[]}},cipherSuite:null,compressionMethod:null,serverCertificate:null,clientCertificate:null,md5:n.md.md5.create(),sha1:n.md.sha1.create()}),o!==l.HandshakeType.hello_request&&o!==l.HandshakeType.certificate_verify&&o!==l.HandshakeType.finished&&(e.session.md5.update(i),e.session.sha1.update(i)),M[e.entity][e.expect][o](e,t,s)):l.handleUnexpected(e,t)},l.handleApplicationData=function(e,t){e.data.putBuffer(t.fragment),e.dataReady(e),e.process()},l.handleHeartbeat=function(e,t){var r=t.fragment,o=r.getByte(),s=r.getInt16(),i=r.getBytes(s);if(o===l.HeartbeatMessageType.heartbeat_request){if(e.handshaking||s>i.length)return e.process();l.queue(e,l.createRecord(e,{type:l.ContentType.heartbeat,data:l.createHeartbeat(l.HeartbeatMessageType.heartbeat_response,i)})),l.flush(e)}else if(o===l.HeartbeatMessageType.heartbeat_response){if(i!==e.expectedHeartbeatPayload)return e.process();e.heartbeatReceived&&e.heartbeatReceived(e,n.util.createBuffer(i))}e.process()};var c=1,u=2,p=3,m=4,h=5,f=6,g=7,b=8,y=1,v=2,_=3,x=4,E=5,C=6,w=l.handleUnexpected,j=l.handleChangeCipherSpec,S=l.handleAlert,k=l.handleHandshake,T=l.handleApplicationData,O=l.handleHeartbeat,D=[];D[l.ConnectionEnd.client]=[[w,S,k,w,O],[w,S,k,w,O],[w,S,k,w,O],[w,S,k,w,O],[w,S,k,w,O],[j,S,w,w,O],[w,S,k,w,O],[w,S,k,T,O],[w,S,k,w,O]],D[l.ConnectionEnd.server]=[[w,S,k,w,O],[w,S,k,w,O],[w,S,k,w,O],[w,S,k,w,O],[j,S,w,w,O],[w,S,k,w,O],[w,S,k,T,O],[w,S,k,w,O]];var I=l.handleHelloRequest,A=l.handleServerHello,N=l.handleCertificate,R=l.handleServerKeyExchange,P=l.handleCertificateRequest,L=l.handleServerHelloDone,B=l.handleFinished,M=[];M[l.ConnectionEnd.client]=[[w,w,A,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,N,R,P,L,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,w,R,P,L,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,w,w,P,L,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,w,w,w,L,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,B],[I,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w],[I,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w]];var U=l.handleClientHello,F=l.handleClientKeyExchange,K=l.handleCertificateVerify;M[l.ConnectionEnd.server]=[[w,U,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w],[w,w,w,w,w,w,w,w,w,w,w,N,w,w,w,w,w,w,w,w,w],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,F,w,w,w,w],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,K,w,w,w,w,w],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,B],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w],[w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w,w]],l.generateKeys=function(e,t){var r=t.client_random+t.server_random;e.session.resuming||(t.master_secret=o(t.pre_master_secret,"master secret",r,48).bytes(),t.pre_master_secret=null),r=t.server_random+t.client_random;var n=2*t.mac_key_length+2*t.enc_key_length,s=e.version.major===l.Versions.TLS_1_0.major&&e.version.minor===l.Versions.TLS_1_0.minor;s&&(n+=2*t.fixed_iv_length);var i=o(t.master_secret,"key expansion",r,n),a={client_write_MAC_key:i.getBytes(t.mac_key_length),server_write_MAC_key:i.getBytes(t.mac_key_length),client_write_key:i.getBytes(t.enc_key_length),server_write_key:i.getBytes(t.enc_key_length)};return s&&(a.client_write_IV=i.getBytes(t.fixed_iv_length),a.server_write_IV=i.getBytes(t.fixed_iv_length)),a},l.createConnectionState=function(e){var t=e.entity===l.ConnectionEnd.client,r=function(){var e={sequenceNumber:[0,0],macKey:null,macLength:0,macFunction:null,cipherState:null,cipherFunction:function(e){return!0},compressionState:null,compressFunction:function(e){return!0},updateSequenceNumber:function(){0xffffffff===e.sequenceNumber[1]?(e.sequenceNumber[1]=0,++e.sequenceNumber[0]):++e.sequenceNumber[1]}};return e},n={read:r(),write:r()};if(n.read.update=function(e,t){return n.read.cipherFunction(t,n.read)?n.read.compressFunction(e,t,n.read)||e.error(e,{message:"Could not decompress record.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.decompression_failure}}):e.error(e,{message:"Could not decrypt record or bad MAC.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.bad_record_mac}}),!e.fail},n.write.update=function(e,t){return n.write.compressFunction(e,t,n.write)?n.write.cipherFunction(t,n.write)||e.error(e,{message:"Could not encrypt record.",send:!1,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.internal_error}}):e.error(e,{message:"Could not compress record.",send:!1,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.internal_error}}),!e.fail},e.session){var o=e.session.sp;switch(e.session.cipherSuite.initSecurityParameters(o),o.keys=l.generateKeys(e,o),n.read.macKey=t?o.keys.server_write_MAC_key:o.keys.client_write_MAC_key,n.write.macKey=t?o.keys.client_write_MAC_key:o.keys.server_write_MAC_key,e.session.cipherSuite.initConnectionState(n,e,o),o.compression_algorithm){case l.CompressionMethod.none:break;case l.CompressionMethod.deflate:n.read.compressFunction=i,n.write.compressFunction=s;break;default:throw Error("Unsupported compression algorithm.")}}return n},l.createRandom=function(){var e=new Date,t=+e+6e4*e.getTimezoneOffset(),r=n.util.createBuffer();return r.putInt32(t),r.putBytes(n.random.getBytes(28)),r},l.createRecord=function(e,t){return t.data?{type:t.type,version:{major:e.version.major,minor:e.version.minor},length:t.data.length(),fragment:t.data}:null},l.createAlert=function(e,t){var r=n.util.createBuffer();return r.putByte(t.level),r.putByte(t.description),l.createRecord(e,{type:l.ContentType.alert,data:r})},l.createClientHello=function(e){e.session.clientHelloVersion={major:e.version.major,minor:e.version.minor};for(var t=n.util.createBuffer(),r=0;r<e.cipherSuites.length;++r){var o=e.cipherSuites[r];t.putByte(o.id[0]),t.putByte(o.id[1])}var s=t.length(),i=n.util.createBuffer();i.putByte(l.CompressionMethod.none);var a=i.length(),c=n.util.createBuffer();if(e.virtualHost){var u=n.util.createBuffer();u.putByte(0),u.putByte(0);var p=n.util.createBuffer();p.putByte(0),d(p,2,n.util.createBuffer(e.virtualHost));var m=n.util.createBuffer();d(m,2,p),d(u,2,m),c.putBuffer(u)}var h=c.length();h>0&&(h+=2);var f=e.session.id,g=f.length+1+2+4+28+2+s+1+a+h,b=n.util.createBuffer();return b.putByte(l.HandshakeType.client_hello),b.putInt24(g),b.putByte(e.version.major),b.putByte(e.version.minor),b.putBytes(e.session.sp.client_random),d(b,1,n.util.createBuffer(f)),d(b,2,t),d(b,1,i),h>0&&d(b,2,c),b},l.createServerHello=function(e){var t=e.session.id,r=t.length+1+2+4+28+2+1,o=n.util.createBuffer();return o.putByte(l.HandshakeType.server_hello),o.putInt24(r),o.putByte(e.version.major),o.putByte(e.version.minor),o.putBytes(e.session.sp.server_random),d(o,1,n.util.createBuffer(t)),o.putByte(e.session.cipherSuite.id[0]),o.putByte(e.session.cipherSuite.id[1]),o.putByte(e.session.compressionMethod),o},l.createCertificate=function(e){var t,r=e.entity===l.ConnectionEnd.client,o=null;e.getCertificate&&(t=r?e.session.certificateRequest:e.session.extensions.server_name.serverNameList,o=e.getCertificate(e,t));var s=n.util.createBuffer();if(null!==o)try{n.util.isArray(o)||(o=[o]);for(var i=null,a=0;a<o.length;++a){var c=n.pem.decode(o[a])[0];if("CERTIFICATE"!==c.type&&"X509 CERTIFICATE"!==c.type&&"TRUSTED CERTIFICATE"!==c.type){var u=Error('Could not convert certificate from PEM; PEM header type is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');throw u.headerType=c.type,u}if(c.procType&&"ENCRYPTED"===c.procType.type)throw Error("Could not convert certificate from PEM; PEM is encrypted.");var p=n.util.createBuffer(c.body);null===i&&(i=n.asn1.fromDer(p.bytes(),!1));var m=n.util.createBuffer();d(m,3,p),s.putBuffer(m)}o=n.pki.certificateFromAsn1(i),r?e.session.clientCertificate=o:e.session.serverCertificate=o}catch(t){return e.error(e,{message:"Could not send certificate list.",cause:t,send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.bad_certificate}})}var h=3+s.length(),f=n.util.createBuffer();return f.putByte(l.HandshakeType.certificate),f.putInt24(h),d(f,3,s),f},l.createClientKeyExchange=function(e){var t=n.util.createBuffer();t.putByte(e.session.clientHelloVersion.major),t.putByte(e.session.clientHelloVersion.minor),t.putBytes(n.random.getBytes(46));var r=e.session.sp;r.pre_master_secret=t.getBytes();var o=(t=e.session.serverCertificate.publicKey.encrypt(r.pre_master_secret)).length+2,s=n.util.createBuffer();return s.putByte(l.HandshakeType.client_key_exchange),s.putInt24(o),s.putInt16(t.length),s.putBytes(t),s},l.createServerKeyExchange=function(e){return n.util.createBuffer()},l.getClientSignature=function(e,t){var r=n.util.createBuffer();r.putBuffer(e.session.md5.digest()),r.putBuffer(e.session.sha1.digest()),r=r.getBytes(),e.getSignature=e.getSignature||function(e,t,r){var o=null;if(e.getPrivateKey)try{o=e.getPrivateKey(e,e.session.clientCertificate),o=n.pki.privateKeyFromPem(o)}catch(t){e.error(e,{message:"Could not get private key.",cause:t,send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.internal_error}})}null===o?e.error(e,{message:"No private key set.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.internal_error}}):t=o.sign(t,null),r(e,t)},e.getSignature(e,r,t)},l.createCertificateVerify=function(e,t){var r=t.length+2,o=n.util.createBuffer();return o.putByte(l.HandshakeType.certificate_verify),o.putInt24(r),o.putInt16(t.length),o.putBytes(t),o},l.createCertificateRequest=function(e){var t=n.util.createBuffer();t.putByte(1);var r=n.util.createBuffer();for(var o in e.caStore.certs){var s=e.caStore.certs[o],i=n.pki.distinguishedNameToAsn1(s.subject),a=n.asn1.toDer(i);r.putInt16(a.length()),r.putBuffer(a)}var c=1+t.length()+2+r.length(),u=n.util.createBuffer();return u.putByte(l.HandshakeType.certificate_request),u.putInt24(c),d(u,1,t),d(u,2,r),u},l.createServerHelloDone=function(e){var t=n.util.createBuffer();return t.putByte(l.HandshakeType.server_hello_done),t.putInt24(0),t},l.createChangeCipherSpec=function(){var e=n.util.createBuffer();return e.putByte(1),e},l.createFinished=function(e){var t=n.util.createBuffer();t.putBuffer(e.session.md5.digest()),t.putBuffer(e.session.sha1.digest());var r=e.entity===l.ConnectionEnd.client;t=o(e.session.sp.master_secret,r?"client finished":"server finished",t.getBytes(),12);var s=n.util.createBuffer();return s.putByte(l.HandshakeType.finished),s.putInt24(t.length()),s.putBuffer(t),s},l.createHeartbeat=function(e,t,r){void 0===r&&(r=t.length);var o=n.util.createBuffer();o.putByte(e),o.putInt16(r),o.putBytes(t);var s=Math.max(16,o.length()-r-3);return o.putBytes(n.random.getBytes(s)),o},l.queue=function(e,t){if(t&&(0!==t.fragment.length()||t.type!==l.ContentType.handshake&&t.type!==l.ContentType.alert&&t.type!==l.ContentType.change_cipher_spec)){if(t.type===l.ContentType.handshake){var r,o=t.fragment.bytes();e.session.md5.update(o),e.session.sha1.update(o),o=null}if(t.fragment.length()<=l.MaxFragment)r=[t];else{r=[];for(var s=t.fragment.bytes();s.length>l.MaxFragment;)r.push(l.createRecord(e,{type:t.type,data:n.util.createBuffer(s.slice(0,l.MaxFragment))})),s=s.slice(l.MaxFragment);s.length>0&&r.push(l.createRecord(e,{type:t.type,data:n.util.createBuffer(s)}))}for(var i=0;i<r.length&&!e.fail;++i){var a=r[i];e.state.current.write.update(e,a)&&e.records.push(a)}}},l.flush=function(e){for(var t=0;t<e.records.length;++t){var r=e.records[t];e.tlsData.putByte(r.type),e.tlsData.putByte(r.version.major),e.tlsData.putByte(r.version.minor),e.tlsData.putInt16(r.fragment.length()),e.tlsData.putBuffer(e.records[t].fragment)}return e.records=[],e.tlsDataReady(e)};var V=function(e){switch(e){case!0:return!0;case n.pki.certificateError.bad_certificate:return l.Alert.Description.bad_certificate;case n.pki.certificateError.unsupported_certificate:return l.Alert.Description.unsupported_certificate;case n.pki.certificateError.certificate_revoked:return l.Alert.Description.certificate_revoked;case n.pki.certificateError.certificate_expired:return l.Alert.Description.certificate_expired;case n.pki.certificateError.certificate_unknown:return l.Alert.Description.certificate_unknown;case n.pki.certificateError.unknown_ca:return l.Alert.Description.unknown_ca;default:return l.Alert.Description.bad_certificate}},Y=function(e){switch(e){case!0:return!0;case l.Alert.Description.bad_certificate:return n.pki.certificateError.bad_certificate;case l.Alert.Description.unsupported_certificate:return n.pki.certificateError.unsupported_certificate;case l.Alert.Description.certificate_revoked:return n.pki.certificateError.certificate_revoked;case l.Alert.Description.certificate_expired:return n.pki.certificateError.certificate_expired;case l.Alert.Description.certificate_unknown:return n.pki.certificateError.certificate_unknown;case l.Alert.Description.unknown_ca:return n.pki.certificateError.unknown_ca;default:return n.pki.certificateError.bad_certificate}};for(var z in l.verifyCertificateChain=function(e,t){try{var r={};for(var o in e.verifyOptions)r[o]=e.verifyOptions[o];r.verify=function(t,r,o){V(t);var s=e.verify(e,t,r,o);if(!0!==s){if("object"==typeof s&&!n.util.isArray(s)){var i=Error("The application rejected the certificate.");throw i.send=!0,i.alert={level:l.Alert.Level.fatal,description:l.Alert.Description.bad_certificate},s.message&&(i.message=s.message),s.alert&&(i.alert.description=s.alert),i}s!==t&&(s=Y(s))}return s},n.pki.verifyCertificateChain(e.caStore,t,r)}catch(t){var s=t;("object"!=typeof s||n.util.isArray(s))&&(s={send:!0,alert:{level:l.Alert.Level.fatal,description:V(t)}}),"send"in s||(s.send=!0),"alert"in s||(s.alert={level:l.Alert.Level.fatal,description:V(s.error)}),e.error(e,s)}return!e.fail},l.createSessionCache=function(e,t){var r=null;if(e&&e.getSession&&e.setSession&&e.order)r=e;else{for(var o in(r={}).cache=e||{},r.capacity=Math.max(t||100,1),r.order=[],e)r.order.length<=t?r.order.push(o):delete e[o];r.getSession=function(e){var t=null,o=null;if(e?o=n.util.bytesToHex(e):r.order.length>0&&(o=r.order[0]),null!==o&&o in r.cache){for(var s in t=r.cache[o],delete r.cache[o],r.order)if(r.order[s]===o){r.order.splice(s,1);break}}return t},r.setSession=function(e,t){if(r.order.length===r.capacity){var o=r.order.shift();delete r.cache[o]}var o=n.util.bytesToHex(e);r.order.push(o),r.cache[o]=t}}return r},l.createConnection=function(e){var t=null;t=e.caStore?n.util.isArray(e.caStore)?n.pki.createCaStore(e.caStore):e.caStore:n.pki.createCaStore();var r=e.cipherSuites||null;if(null===r)for(var o in r=[],l.CipherSuites)r.push(l.CipherSuites[o]);var s=e.server?l.ConnectionEnd.server:l.ConnectionEnd.client,i=e.sessionCache?l.createSessionCache(e.sessionCache):null,a={version:{major:l.Version.major,minor:l.Version.minor},entity:s,sessionId:e.sessionId,caStore:t,sessionCache:i,cipherSuites:r,connected:e.connected,virtualHost:e.virtualHost||null,verifyClient:e.verifyClient||!1,verify:e.verify||function(e,t,r,n){return t},verifyOptions:e.verifyOptions||{},getCertificate:e.getCertificate||null,getPrivateKey:e.getPrivateKey||null,getSignature:e.getSignature||null,input:n.util.createBuffer(),tlsData:n.util.createBuffer(),data:n.util.createBuffer(),tlsDataReady:e.tlsDataReady,dataReady:e.dataReady,heartbeatReceived:e.heartbeatReceived,closed:e.closed,error:function(t,r){r.origin=r.origin||(t.entity===l.ConnectionEnd.client?"client":"server"),r.send&&(l.queue(t,l.createAlert(t,r.alert)),l.flush(t));var n=!1!==r.fatal;n&&(t.fail=!0),e.error(t,r),n&&t.close(!1)},deflate:e.deflate||null,inflate:e.inflate||null};a.reset=function(e){a.version={major:l.Version.major,minor:l.Version.minor},a.record=null,a.session=null,a.peerCertificate=null,a.state={pending:null,current:null},a.entity,l.ConnectionEnd.client,a.expect=0,a.fragmented=null,a.records=[],a.open=!1,a.handshakes=0,a.handshaking=!1,a.isConnected=!1,a.fail=!(e||void 0===e),a.input.clear(),a.tlsData.clear(),a.data.clear(),a.state.current=l.createConnectionState(a)},a.reset();var d=function(e,t){var r=t.type-l.ContentType.change_cipher_spec,n=D[e.entity][e.expect];r in n?n[r](e,t):l.handleUnexpected(e,t)},c=function(e){var t=0,r=e.input,o=r.length();if(o<5)t=5-o;else{e.record={type:r.getByte(),version:{major:r.getByte(),minor:r.getByte()},length:r.getInt16(),fragment:n.util.createBuffer(),ready:!1};var s=e.record.version.major===e.version.major;s&&e.session&&e.session.version&&(s=e.record.version.minor===e.version.minor),s||e.error(e,{message:"Incompatible TLS version.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.protocol_version}})}return t},u=function(e){var t=0,r=e.input,n=r.length();return n<e.record.length?t=e.record.length-n:(e.record.fragment.putBytes(r.getBytes(e.record.length)),r.compact(),e.state.current.read.update(e,e.record)&&(null!==e.fragmented&&(e.fragmented.type===e.record.type?(e.fragmented.fragment.putBuffer(e.record.fragment),e.record=e.fragmented):e.error(e,{message:"Invalid fragmented record.",send:!0,alert:{level:l.Alert.Level.fatal,description:l.Alert.Description.unexpected_message}})),e.record.ready=!0)),t};return a.handshake=function(e){if(a.entity!==l.ConnectionEnd.client)a.error(a,{message:"Cannot initiate handshake as a server.",fatal:!1});else if(a.handshaking)a.error(a,{message:"Handshake already in progress.",fatal:!1});else{a.fail&&!a.open&&0===a.handshakes&&(a.fail=!1),a.handshaking=!0;var t=null;(e=e||"").length>0&&(a.sessionCache&&(t=a.sessionCache.getSession(e)),null===t&&(e="")),0===e.length&&a.sessionCache&&null!==(t=a.sessionCache.getSession())&&(e=t.id),a.session={id:e,version:null,cipherSuite:null,compressionMethod:null,serverCertificate:null,certificateRequest:null,clientCertificate:null,sp:{},md5:n.md.md5.create(),sha1:n.md.sha1.create()},t&&(a.version=t.version,a.session.sp=t.sp),a.session.sp.client_random=l.createRandom().getBytes(),a.open=!0,l.queue(a,l.createRecord(a,{type:l.ContentType.handshake,data:l.createClientHello(a)})),l.flush(a)}},a.process=function(e){var t=0;return e&&a.input.putBytes(e),a.fail||(null!==a.record&&a.record.ready&&a.record.fragment.isEmpty()&&(a.record=null),null===a.record&&(t=c(a)),a.fail||null===a.record||a.record.ready||(t=u(a)),!a.fail&&null!==a.record&&a.record.ready&&d(a,a.record)),t},a.prepare=function(e){return l.queue(a,l.createRecord(a,{type:l.ContentType.application_data,data:n.util.createBuffer(e)})),l.flush(a)},a.prepareHeartbeatRequest=function(e,t){return e instanceof n.util.ByteBuffer&&(e=e.bytes()),void 0===t&&(t=e.length),a.expectedHeartbeatPayload=e,l.queue(a,l.createRecord(a,{type:l.ContentType.heartbeat,data:l.createHeartbeat(l.HeartbeatMessageType.heartbeat_request,e,t)})),l.flush(a)},a.close=function(e){if(!a.fail&&a.sessionCache&&a.session){var t={id:a.session.id,version:a.session.version,sp:a.session.sp};t.sp.keys=null,a.sessionCache.setSession(t.id,t)}a.open&&(a.open=!1,a.input.clear(),(a.isConnected||a.handshaking)&&(a.isConnected=a.handshaking=!1,l.queue(a,l.createAlert(a,{level:l.Alert.Level.warning,description:l.Alert.Description.close_notify})),l.flush(a)),a.closed(a)),a.reset(e)},a},e.exports=n.tls=n.tls||{},l)"function"!=typeof l[z]&&(n.tls[z]=l[z]);n.tls.prf_tls1=o,n.tls.hmac_sha1=function(e,t,r){var o=n.hmac.create();o.start("SHA1",e);var s=n.util.createBuffer();return s.putInt32(t[0]),s.putInt32(t[1]),s.putByte(r.type),s.putByte(r.version.major),s.putByte(r.version.minor),s.putInt16(r.length),s.putBytes(r.fragment.bytes()),o.update(s.getBytes()),o.digest().getBytes()},n.tls.createSessionCache=l.createSessionCache,n.tls.createConnection=l.createConnection},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js"),o=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/baseN.js"),s=e.exports=n.util=n.util||{};function i(e){if(8!==e&&16!==e&&24!==e&&32!==e)throw Error("Only 8, 16, 24, or 32 bits supported: "+e)}function a(e){if(this.data="",this.read=0,"string"==typeof e)this.data=e;else if(s.isArrayBuffer(e)||s.isArrayBufferView(e))if("u">typeof Buffer&&e instanceof Buffer)this.data=e.toString("binary");else{var t=new Uint8Array(e);try{this.data=String.fromCharCode.apply(null,t)}catch(e){for(var r=0;r<t.length;++r)this.putByte(t[r])}}else(e instanceof a||"object"==typeof e&&"string"==typeof e.data&&"number"==typeof e.read)&&(this.data=e.data,this.read=e.read);this._constructedStringLength=0}!function(){if("u">typeof process&&process.nextTick&&!process.browser){s.nextTick=process.nextTick,"function"==typeof setImmediate?s.setImmediate=setImmediate:s.setImmediate=s.nextTick;return}if("function"==typeof setImmediate){s.setImmediate=function(){return setImmediate.apply(void 0,arguments)},s.nextTick=function(e){return setImmediate(e)};return}if(s.setImmediate=function(e){setTimeout(e,0)},"u">typeof window&&"function"==typeof window.postMessage){var e="forge.setImmediate",t=[];s.setImmediate=function(r){t.push(r),1===t.length&&window.postMessage(e,"*")},window.addEventListener("message",function(r){if(r.source===window&&r.data===e){r.stopPropagation();var n=t.slice();t.length=0,n.forEach(function(e){e()})}},!0)}if("u">typeof MutationObserver){var r=Date.now(),n=!0,o=document.createElement("div"),t=[];new MutationObserver(function(){var e=t.slice();t.length=0,e.forEach(function(e){e()})}).observe(o,{attributes:!0});var i=s.setImmediate;s.setImmediate=function(e){Date.now()-r>15?(r=Date.now(),i(e)):(t.push(e),1===t.length&&o.setAttribute("a",n=!n))}}s.nextTick=s.setImmediate}(),s.isNodejs="u">typeof process&&process.versions&&process.versions.node,s.globalScope=s.isNodejs?globalThis:"u"<typeof self?window:self,s.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s.isArrayBuffer=function(e){return"u">typeof ArrayBuffer&&e instanceof ArrayBuffer},s.isArrayBufferView=function(e){return e&&s.isArrayBuffer(e.buffer)&&void 0!==e.byteLength},s.ByteBuffer=a,s.ByteStringBuffer=a,s.ByteStringBuffer.prototype._optimizeConstructedString=function(e){this._constructedStringLength+=e,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},s.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},s.ByteStringBuffer.prototype.isEmpty=function(){return 0>=this.length()},s.ByteStringBuffer.prototype.putByte=function(e){return this.putBytes(String.fromCharCode(e))},s.ByteStringBuffer.prototype.fillWithByte=function(e,t){e=String.fromCharCode(e);for(var r=this.data;t>0;)1&t&&(r+=e),(t>>>=1)>0&&(e+=e);return this.data=r,this._optimizeConstructedString(t),this},s.ByteStringBuffer.prototype.putBytes=function(e){return this.data+=e,this._optimizeConstructedString(e.length),this},s.ByteStringBuffer.prototype.putString=function(e){return this.putBytes(s.encodeUtf8(e))},s.ByteStringBuffer.prototype.putInt16=function(e){return this.putBytes(String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt24=function(e){return this.putBytes(String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt32=function(e){return this.putBytes(String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e))},s.ByteStringBuffer.prototype.putInt16Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255))},s.ByteStringBuffer.prototype.putInt24Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255))},s.ByteStringBuffer.prototype.putInt32Le=function(e){return this.putBytes(String.fromCharCode(255&e)+String.fromCharCode(e>>8&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>24&255))},s.ByteStringBuffer.prototype.putInt=function(e,t){i(t);var r="";do t-=8,r+=String.fromCharCode(e>>t&255);while(t>0);return this.putBytes(r)},s.ByteStringBuffer.prototype.putSignedInt=function(e,t){return e<0&&(e+=2<<t-1),this.putInt(e,t)},s.ByteStringBuffer.prototype.putBuffer=function(e){return this.putBytes(e.getBytes())},s.ByteStringBuffer.prototype.getByte=function(){return this.data.charCodeAt(this.read++)},s.ByteStringBuffer.prototype.getInt16=function(){var e=this.data.charCodeAt(this.read)<<8^this.data.charCodeAt(this.read+1);return this.read+=2,e},s.ByteStringBuffer.prototype.getInt24=function(){var e=this.data.charCodeAt(this.read)<<16^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2);return this.read+=3,e},s.ByteStringBuffer.prototype.getInt32=function(){var e=this.data.charCodeAt(this.read)<<24^this.data.charCodeAt(this.read+1)<<16^this.data.charCodeAt(this.read+2)<<8^this.data.charCodeAt(this.read+3);return this.read+=4,e},s.ByteStringBuffer.prototype.getInt16Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8;return this.read+=2,e},s.ByteStringBuffer.prototype.getInt24Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16;return this.read+=3,e},s.ByteStringBuffer.prototype.getInt32Le=function(){var e=this.data.charCodeAt(this.read)^this.data.charCodeAt(this.read+1)<<8^this.data.charCodeAt(this.read+2)<<16^this.data.charCodeAt(this.read+3)<<24;return this.read+=4,e},s.ByteStringBuffer.prototype.getInt=function(e){i(e);var t=0;do t=(t<<8)+this.data.charCodeAt(this.read++),e-=8;while(e>0);return t},s.ByteStringBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),r=2<<e-2;return t>=r&&(t-=r<<1),t},s.ByteStringBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},s.ByteStringBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},s.ByteStringBuffer.prototype.at=function(e){return this.data.charCodeAt(this.read+e)},s.ByteStringBuffer.prototype.setAt=function(e,t){return this.data=this.data.substr(0,this.read+e)+String.fromCharCode(t)+this.data.substr(this.read+e+1),this},s.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},s.ByteStringBuffer.prototype.copy=function(){var e=s.createBuffer(this.data);return e.read=this.read,e},s.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},s.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},s.ByteStringBuffer.prototype.truncate=function(e){var t=Math.max(0,this.length()-e);return this.data=this.data.substr(this.read,t),this.read=0,this},s.ByteStringBuffer.prototype.toHex=function(){for(var e="",t=this.read;t<this.data.length;++t){var r=this.data.charCodeAt(t);r<16&&(e+="0"),e+=r.toString(16)}return e},s.ByteStringBuffer.prototype.toString=function(){return s.decodeUtf8(this.bytes())},s.DataBuffer=function(e,t){t=t||{},this.read=t.readOffset||0,this.growSize=t.growSize||1024;var r=s.isArrayBuffer(e),n=s.isArrayBufferView(e);if(r||n){r?this.data=new DataView(e):this.data=new DataView(e.buffer,e.byteOffset,e.byteLength),this.write="writeOffset"in t?t.writeOffset:this.data.byteLength;return}this.data=new DataView(new ArrayBuffer(0)),this.write=0,null!=e&&this.putBytes(e),"writeOffset"in t&&(this.write=t.writeOffset)},s.DataBuffer.prototype.length=function(){return this.write-this.read},s.DataBuffer.prototype.isEmpty=function(){return 0>=this.length()},s.DataBuffer.prototype.accommodate=function(e,t){if(this.length()>=e)return this;t=Math.max(t||this.growSize,e);var r=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),n=new Uint8Array(this.length()+t);return n.set(r),this.data=new DataView(n.buffer),this},s.DataBuffer.prototype.putByte=function(e){return this.accommodate(1),this.data.setUint8(this.write++,e),this},s.DataBuffer.prototype.fillWithByte=function(e,t){this.accommodate(t);for(var r=0;r<t;++r)this.data.setUint8(e);return this},s.DataBuffer.prototype.putBytes=function(e,t){if(s.isArrayBufferView(e)){var r,n=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),o=n.byteLength-n.byteOffset;this.accommodate(o);var i=new Uint8Array(this.data.buffer,this.write);return i.set(n),this.write+=o,this}if(s.isArrayBuffer(e)){var n=new Uint8Array(e);this.accommodate(n.byteLength);var i=new Uint8Array(this.data.buffer);return i.set(n,this.write),this.write+=n.byteLength,this}if(e instanceof s.DataBuffer||"object"==typeof e&&"number"==typeof e.read&&"number"==typeof e.write&&s.isArrayBufferView(e.data)){var n=new Uint8Array(e.data.byteLength,e.read,e.length());this.accommodate(n.byteLength);var i=new Uint8Array(e.data.byteLength,this.write);return i.set(n),this.write+=n.byteLength,this}if(e instanceof s.ByteStringBuffer&&(e=e.data,t="binary"),t=t||"binary","string"==typeof e){if("hex"===t)return this.accommodate(Math.ceil(e.length/2)),r=new Uint8Array(this.data.buffer,this.write),this.write+=s.binary.hex.decode(e,r,this.write),this;if("base64"===t)return this.accommodate(3*Math.ceil(e.length/4)),r=new Uint8Array(this.data.buffer,this.write),this.write+=s.binary.base64.decode(e,r,this.write),this;if("utf8"===t&&(e=s.encodeUtf8(e),t="binary"),"binary"===t||"raw"===t)return this.accommodate(e.length),r=new Uint8Array(this.data.buffer,this.write),this.write+=s.binary.raw.decode(r),this;if("utf16"===t)return this.accommodate(2*e.length),r=new Uint16Array(this.data.buffer,this.write),this.write+=s.text.utf16.encode(r),this;throw Error("Invalid encoding: "+t)}throw Error("Invalid parameter: "+e)},s.DataBuffer.prototype.putBuffer=function(e){return this.putBytes(e),e.clear(),this},s.DataBuffer.prototype.putString=function(e){return this.putBytes(e,"utf16")},s.DataBuffer.prototype.putInt16=function(e){return this.accommodate(2),this.data.setInt16(this.write,e),this.write+=2,this},s.DataBuffer.prototype.putInt24=function(e){return this.accommodate(3),this.data.setInt16(this.write,e>>8&65535),this.data.setInt8(this.write,e>>16&255),this.write+=3,this},s.DataBuffer.prototype.putInt32=function(e){return this.accommodate(4),this.data.setInt32(this.write,e),this.write+=4,this},s.DataBuffer.prototype.putInt16Le=function(e){return this.accommodate(2),this.data.setInt16(this.write,e,!0),this.write+=2,this},s.DataBuffer.prototype.putInt24Le=function(e){return this.accommodate(3),this.data.setInt8(this.write,e>>16&255),this.data.setInt16(this.write,e>>8&65535,!0),this.write+=3,this},s.DataBuffer.prototype.putInt32Le=function(e){return this.accommodate(4),this.data.setInt32(this.write,e,!0),this.write+=4,this},s.DataBuffer.prototype.putInt=function(e,t){i(t),this.accommodate(t/8);do t-=8,this.data.setInt8(this.write++,e>>t&255);while(t>0);return this},s.DataBuffer.prototype.putSignedInt=function(e,t){return i(t),this.accommodate(t/8),e<0&&(e+=2<<t-1),this.putInt(e,t)},s.DataBuffer.prototype.getByte=function(){return this.data.getInt8(this.read++)},s.DataBuffer.prototype.getInt16=function(){var e=this.data.getInt16(this.read);return this.read+=2,e},s.DataBuffer.prototype.getInt24=function(){var e=this.data.getInt16(this.read)<<8^this.data.getInt8(this.read+2);return this.read+=3,e},s.DataBuffer.prototype.getInt32=function(){var e=this.data.getInt32(this.read);return this.read+=4,e},s.DataBuffer.prototype.getInt16Le=function(){var e=this.data.getInt16(this.read,!0);return this.read+=2,e},s.DataBuffer.prototype.getInt24Le=function(){var e=this.data.getInt8(this.read)^this.data.getInt16(this.read+1,!0)<<8;return this.read+=3,e},s.DataBuffer.prototype.getInt32Le=function(){var e=this.data.getInt32(this.read,!0);return this.read+=4,e},s.DataBuffer.prototype.getInt=function(e){i(e);var t=0;do t=(t<<8)+this.data.getInt8(this.read++),e-=8;while(e>0);return t},s.DataBuffer.prototype.getSignedInt=function(e){var t=this.getInt(e),r=2<<e-2;return t>=r&&(t-=r<<1),t},s.DataBuffer.prototype.getBytes=function(e){var t;return e?(e=Math.min(this.length(),e),t=this.data.slice(this.read,this.read+e),this.read+=e):0===e?t="":(t=0===this.read?this.data:this.data.slice(this.read),this.clear()),t},s.DataBuffer.prototype.bytes=function(e){return void 0===e?this.data.slice(this.read):this.data.slice(this.read,this.read+e)},s.DataBuffer.prototype.at=function(e){return this.data.getUint8(this.read+e)},s.DataBuffer.prototype.setAt=function(e,t){return this.data.setUint8(e,t),this},s.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},s.DataBuffer.prototype.copy=function(){return new s.DataBuffer(this)},s.DataBuffer.prototype.compact=function(){if(this.read>0){var e=new Uint8Array(this.data.buffer,this.read),t=new Uint8Array(e.byteLength);t.set(e),this.data=new DataView(t),this.write-=this.read,this.read=0}return this},s.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},s.DataBuffer.prototype.truncate=function(e){return this.write=Math.max(0,this.length()-e),this.read=Math.min(this.read,this.write),this},s.DataBuffer.prototype.toHex=function(){for(var e="",t=this.read;t<this.data.byteLength;++t){var r=this.data.getUint8(t);r<16&&(e+="0"),e+=r.toString(16)}return e},s.DataBuffer.prototype.toString=function(e){var t=new Uint8Array(this.data,this.read,this.length());if("binary"===(e=e||"utf8")||"raw"===e)return s.binary.raw.encode(t);if("hex"===e)return s.binary.hex.encode(t);if("base64"===e)return s.binary.base64.encode(t);if("utf8"===e)return s.text.utf8.decode(t);if("utf16"===e)return s.text.utf16.decode(t);throw Error("Invalid encoding: "+e)},s.createBuffer=function(e,t){return t=t||"raw",void 0!==e&&"utf8"===t&&(e=s.encodeUtf8(e)),new s.ByteBuffer(e)},s.fillString=function(e,t){for(var r="";t>0;)1&t&&(r+=e),(t>>>=1)>0&&(e+=e);return r},s.xorBytes=function(e,t,r){for(var n="",o="",s="",i=0,a=0;r>0;--r,++i)o=e.charCodeAt(i)^t.charCodeAt(i),a>=10&&(n+=s,s="",a=0),s+=String.fromCharCode(o),++a;return n+s},s.hexToBytes=function(e){var t="",r=0;for(!0&e.length&&(r=1,t+=String.fromCharCode(parseInt(e[0],16)));r<e.length;r+=2)t+=String.fromCharCode(parseInt(e.substr(r,2),16));return t},s.bytesToHex=function(e){return s.createBuffer(e).toHex()},s.int32ToBytes=function(e){return String.fromCharCode(e>>24&255)+String.fromCharCode(e>>16&255)+String.fromCharCode(e>>8&255)+String.fromCharCode(255&e)};var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],c="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";s.encode64=function(e,t){for(var r,n,o,s="",i="",a=0;a<e.length;)r=e.charCodeAt(a++),n=e.charCodeAt(a++),o=e.charCodeAt(a++),s+=d.charAt(r>>2),s+=d.charAt((3&r)<<4|n>>4),isNaN(n)?s+="==":(s+=d.charAt((15&n)<<2|o>>6),s+=isNaN(o)?"=":d.charAt(63&o)),t&&s.length>t&&(i+=s.substr(0,t)+"\r\n",s=s.substr(t));return i+s},s.decode64=function(e){e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var t,r,n,o,s="",i=0;i<e.length;)t=l[e.charCodeAt(i++)-43],r=l[e.charCodeAt(i++)-43],n=l[e.charCodeAt(i++)-43],o=l[e.charCodeAt(i++)-43],s+=String.fromCharCode(t<<2|r>>4),64!==n&&(s+=String.fromCharCode((15&r)<<4|n>>2),64!==o&&(s+=String.fromCharCode((3&n)<<6|o)));return s},s.encodeUtf8=function(e){return unescape(encodeURIComponent(e))},s.decodeUtf8=function(e){return decodeURIComponent(escape(e))},s.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:o.encode,decode:o.decode}},s.binary.raw.encode=function(e){return String.fromCharCode.apply(null,e)},s.binary.raw.decode=function(e,t,r){var n=t;n||(n=new Uint8Array(e.length));for(var o=r=r||0,s=0;s<e.length;++s)n[o++]=e.charCodeAt(s);return t?o-r:n},s.binary.hex.encode=s.bytesToHex,s.binary.hex.decode=function(e,t,r){var n=t;n||(n=new Uint8Array(Math.ceil(e.length/2)));var o=0,s=r=r||0;for(1&e.length&&(o=1,n[s++]=parseInt(e[0],16));o<e.length;o+=2)n[s++]=parseInt(e.substr(o,2),16);return t?s-r:n},s.binary.base64.encode=function(e,t){for(var r,n,o,s="",i="",a=0;a<e.byteLength;)r=e[a++],n=e[a++],o=e[a++],s+=d.charAt(r>>2),s+=d.charAt((3&r)<<4|n>>4),isNaN(n)?s+="==":(s+=d.charAt((15&n)<<2|o>>6),s+=isNaN(o)?"=":d.charAt(63&o)),t&&s.length>t&&(i+=s.substr(0,t)+"\r\n",s=s.substr(t));return i+s},s.binary.base64.decode=function(e,t,r){var n,o,s,i,a=t;a||(a=new Uint8Array(3*Math.ceil(e.length/4))),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var d=0,c=r=r||0;d<e.length;)n=l[e.charCodeAt(d++)-43],o=l[e.charCodeAt(d++)-43],s=l[e.charCodeAt(d++)-43],i=l[e.charCodeAt(d++)-43],a[c++]=n<<2|o>>4,64!==s&&(a[c++]=(15&o)<<4|s>>2,64!==i&&(a[c++]=(3&s)<<6|i));return t?c-r:a.subarray(0,c)},s.binary.base58.encode=function(e,t){return s.binary.baseN.encode(e,c,t)},s.binary.base58.decode=function(e,t){return s.binary.baseN.decode(e,c,t)},s.text={utf8:{},utf16:{}},s.text.utf8.encode=function(e,t,r){e=s.encodeUtf8(e);var n=t;n||(n=new Uint8Array(e.length));for(var o=r=r||0,i=0;i<e.length;++i)n[o++]=e.charCodeAt(i);return t?o-r:n},s.text.utf8.decode=function(e){return s.decodeUtf8(String.fromCharCode.apply(null,e))},s.text.utf16.encode=function(e,t,r){var n=t;n||(n=new Uint8Array(2*e.length));for(var o=new Uint16Array(n.buffer),s=r=r||0,i=r,a=0;a<e.length;++a)o[i++]=e.charCodeAt(a),s+=2;return t?s-r:n},s.text.utf16.decode=function(e){return String.fromCharCode.apply(null,new Uint16Array(e.buffer))},s.deflate=function(e,t,r){if(t=s.decode64(e.deflate(s.encode64(t)).rval),r){var n=2;32&t.charCodeAt(1)&&(n=6),t=t.substring(n,t.length-4)}return t},s.inflate=function(e,t,r){var n=e.inflate(s.encode64(t)).rval;return null===n?null:s.decode64(n)};var u=function(e,t,r){if(!e)throw Error("WebStorage not available.");if(null===r?n=e.removeItem(t):(r=s.encode64(JSON.stringify(r)),n=e.setItem(t,r)),void 0!==n&&!0!==n.rval){var n,o=Error(n.error.message);throw o.id=n.error.id,o.name=n.error.name,o}},p=function(e,t){if(!e)throw Error("WebStorage not available.");var r=e.getItem(t);if(e.init)if(null===r.rval){if(r.error){var n=Error(r.error.message);throw n.id=r.error.id,n.name=r.error.name,n}r=null}else r=r.rval;return null!==r&&(r=JSON.parse(s.decode64(r))),r},m=function(e,t,r,n){var o=p(e,t);null===o&&(o={}),o[r]=n,u(e,t,o)},h=function(e,t,r){var n=p(e,t);return null!==n&&(n=r in n?n[r]:null),n},f=function(e,t,r){var n=p(e,t);if(null!==n&&r in n){delete n[r];var o=!0;for(var s in n){o=!1;break}o&&(n=null),u(e,t,n)}},g=function(e,t){u(e,t,null)},b=function(e,t,r){var n,o=null;void 0===r&&(r=["web","flash"]);var s=!1,i=null;for(var a in r){n=r[a];try{if("flash"===n||"both"===n){if(null===t[0])throw Error("Flash local storage not available.");o=e.apply(this,t),s="flash"===n}("web"===n||"both"===n)&&(t[0]=localStorage,o=e.apply(this,t),s=!0)}catch(e){i=e}if(s)break}if(!s)throw i;return o};s.setItem=function(e,t,r,n,o){b(m,arguments,o)},s.getItem=function(e,t,r,n){return b(h,arguments,n)},s.removeItem=function(e,t,r,n){b(f,arguments,n)},s.clearItems=function(e,t,r){b(g,arguments,r)},s.isEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},s.format=function(e){for(var t,r,n=/%./g,o=0,s=[],i=0;t=n.exec(e);){(r=e.substring(i,n.lastIndex-2)).length>0&&s.push(r),i=n.lastIndex;var a=t[0][1];switch(a){case"s":case"o":o<arguments.length?s.push(arguments[o+++1]):s.push("<?>");break;case"%":s.push("%");break;default:s.push("<%"+a+"?>")}}return s.push(e.substring(i)),s.join("")},s.formatNumber=function(e,t,r,n){var o=e,s=isNaN(t=Math.abs(t))?2:t,i=void 0===n?".":n,a=o<0?"-":"",d=parseInt(o=Math.abs(+o||0).toFixed(s),10)+"",l=d.length>3?d.length%3:0;return a+(l?d.substr(0,l)+i:"")+d.substr(l).replace(/(\d{3})(?=\d)/g,"$1"+i)+(s?(void 0===r?",":r)+Math.abs(o-d).toFixed(s).slice(2):"")},s.formatSize=function(e){return e>=0x40000000?s.formatNumber(e/0x40000000,2,".","")+" GiB":e>=1048576?s.formatNumber(e/1048576,2,".","")+" MiB":e>=1024?s.formatNumber(e/1024,0)+" KiB":s.formatNumber(e,0)+" bytes"},s.bytesFromIP=function(e){return -1!==e.indexOf(".")?s.bytesFromIPv4(e):-1!==e.indexOf(":")?s.bytesFromIPv6(e):null},s.bytesFromIPv4=function(e){if(4!==(e=e.split(".")).length)return null;for(var t=s.createBuffer(),r=0;r<e.length;++r){var n=parseInt(e[r],10);if(isNaN(n))return null;t.putByte(n)}return t.getBytes()},s.bytesFromIPv6=function(e){for(var t=0,r=(8-(e=e.split(":").filter(function(e){return 0===e.length&&++t,!0})).length+t)*2,n=s.createBuffer(),o=0;o<8;++o){if(!e[o]||0===e[o].length){n.fillWithByte(0,r),r=0;continue}var i=s.hexToBytes(e[o]);i.length<2&&n.putByte(0),n.putBytes(i)}return n.getBytes()},s.bytesToIP=function(e){return 4===e.length?s.bytesToIPv4(e):16===e.length?s.bytesToIPv6(e):null},s.bytesToIPv4=function(e){if(4!==e.length)return null;for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t.join(".")},s.bytesToIPv6=function(e){if(16!==e.length)return null;for(var t=[],r=[],n=0,o=0;o<e.length;o+=2){for(var i=s.bytesToHex(e[o]+e[o+1]);"0"===i[0]&&"0"!==i;)i=i.substr(1);if("0"===i){var a=r[r.length-1],d=t.length;a&&d===a.end+1?(a.end=d,a.end-a.start>r[n].end-r[n].start&&(n=r.length-1)):r.push({start:d,end:d})}t.push(i)}if(r.length>0){var l=r[n];l.end-l.start>0&&(t.splice(l.start,l.end-l.start+1,""),0===l.start&&t.unshift(""),7===l.end&&t.push(""))}return t.join(":")},s.estimateCores=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},"cores"in s&&!e.update)return t(null,s.cores);if("u">typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return s.cores=navigator.hardwareConcurrency,t(null,s.cores);if("u"<typeof Worker)return s.cores=1,t(null,s.cores);if("u"<typeof Blob)return s.cores=2,t(null,s.cores);var r=URL.createObjectURL(new Blob(["(",(function(){self.addEventListener("message",function(e){for(var t=Date.now(),r=t+4;Date.now()<r;);self.postMessage({st:t,et:r})})}).toString(),")()"],{type:"application/javascript"}));!function e(n,o,i){if(0===o)return s.cores=Math.max(1,Math.floor(n.reduce(function(e,t){return e+t},0)/n.length)),URL.revokeObjectURL(r),t(null,s.cores);!function(e,t){for(var n=[],o=[],s=0;s<e;++s){var i=new Worker(r);i.addEventListener("message",function(r){if(o.push(r.data),o.length===e){for(var s=0;s<e;++s)n[s].terminate();t(null,o)}}),n.push(i)}for(var s=0;s<e;++s)n[s].postMessage(s)}(i,function(t,r){n.push(function(e,t){for(var r=[],n=0;n<e;++n)for(var o=t[n],s=r[n]=[],i=0;i<e;++i)if(n!==i){var a=t[i];(o.st>a.st&&o.st<a.et||a.st>o.st&&a.st<o.et)&&s.push(i)}return r.reduce(function(e,t){return Math.max(e,t.length)},0)}(i,r)),e(n,o-1,i)})}([],5,16)}},"../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/x509.js"(e,t,r){var n=r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/forge.js");r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/aes.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/asn1.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/des.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/md.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/mgf.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/oids.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pem.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/pss.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/rsa.js"),r("../../../node_modules/.pnpm/node-forge@1.4.0/node_modules/node-forge/lib/util.js");var o=n.asn1,s=e.exports=n.pki=n.pki||{},i=s.oids,a={};a.CN=i.commonName,a.commonName="CN",a.C=i.countryName,a.countryName="C",a.L=i.localityName,a.localityName="L",a.ST=i.stateOrProvinceName,a.stateOrProvinceName="ST",a.O=i.organizationName,a.organizationName="O",a.OU=i.organizationalUnitName,a.organizationalUnitName="OU",a.E=i.emailAddress,a.emailAddress="E";var d=n.pki.rsa.publicKeyValidator,l={name:"Certificate",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:o.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:o.Class.UNIVERSAL,type:o.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:o.Class.UNIVERSAL,type:o.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:o.Class.UNIVERSAL,type:o.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:o.Class.UNIVERSAL,type:o.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},d,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:o.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:o.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:o.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},c={name:"rsapss",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:o.Class.UNIVERSAL,type:o.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:o.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:o.Class.UNIVERSAL,type:o.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:o.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:o.Class.UNIVERSAL,type:o.Class.INTEGER,constructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:o.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:o.Class.UNIVERSAL,type:o.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},u={name:"CertificationRequestInfo",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:o.Class.UNIVERSAL,type:o.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},d,{name:"CertificationRequestInfo.attributes",tagClass:o.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:o.Class.UNIVERSAL,type:o.Type.SET,constructed:!0}]}]}]},p={name:"CertificationRequest",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[u,{name:"CertificationRequest.signatureAlgorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:o.Class.UNIVERSAL,type:o.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:o.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:o.Class.UNIVERSAL,type:o.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};function m(e,t){"string"==typeof t&&(t={shortName:t});for(var r,n=null,o=0;null===n&&o<e.attributes.length;++o)r=e.attributes[o],t.type&&t.type===r.type||t.name&&t.name===r.name?n=r:t.shortName&&t.shortName===r.shortName&&(n=r);return n}s.RDNAttributesAsArray=function(e,t){for(var r,n,s,d=[],l=0;l<e.value.length;++l){r=e.value[l];for(var c=0;c<r.value.length;++c)s={},n=r.value[c],s.type=o.derToOid(n.value[0].value),s.value=n.value[1].value,s.valueTagClass=n.value[1].type,s.type in i&&(s.name=i[s.type],s.name in a&&(s.shortName=a[s.name])),t&&(t.update(s.type),t.update(s.value)),d.push(s)}return d},s.CRIAttributesAsArray=function(e){for(var t=[],r=0;r<e.length;++r)for(var n=e[r],d=o.derToOid(n.value[0].value),l=n.value[1].value,c=0;c<l.length;++c){var u={};if(u.type=d,u.value=l[c].value,u.valueTagClass=l[c].type,u.type in i&&(u.name=i[u.type],u.name in a&&(u.shortName=a[u.name])),u.type===i.extensionRequest){u.extensions=[];for(var p=0;p<u.value.length;++p)u.extensions.push(s.certificateExtensionFromAsn1(u.value[p]))}t.push(u)}return t};var h=function(e,t,r){var n={};if(e!==i["RSASSA-PSS"])return n;r&&(n={hash:{algorithmOid:i.sha1},mgf:{algorithmOid:i.mgf1,hash:{algorithmOid:i.sha1}},saltLength:20});var s={},a=[];if(!o.validate(t,c,s,a)){var d=Error("Cannot read RSASSA-PSS parameter block.");throw d.errors=a,d}return void 0!==s.hashOid&&(n.hash=n.hash||{},n.hash.algorithmOid=o.derToOid(s.hashOid)),void 0!==s.maskGenOid&&(n.mgf=n.mgf||{},n.mgf.algorithmOid=o.derToOid(s.maskGenOid),n.mgf.hash=n.mgf.hash||{},n.mgf.hash.algorithmOid=o.derToOid(s.maskGenHashOid)),void 0!==s.saltLength&&(n.saltLength=s.saltLength.charCodeAt(0)),n},f=function(e){switch(i[e.signatureOid]){case"sha1WithRSAEncryption":case"sha1WithRSASignature":return n.md.sha1.create();case"md5WithRSAEncryption":return n.md.md5.create();case"sha256WithRSAEncryption":case"RSASSA-PSS":return n.md.sha256.create();case"sha384WithRSAEncryption":return n.md.sha384.create();case"sha512WithRSAEncryption":return n.md.sha512.create();default:var t=Error("Could not compute "+e.type+" digest. Unknown signature OID.");throw t.signatureOid=e.signatureOid,t}},g=function(e){var t,r,o,s=e.certificate;switch(s.signatureOid){case i.sha1WithRSAEncryption:case i.sha1WithRSASignature:break;case i["RSASSA-PSS"]:if(void 0===(r=i[s.signatureParameters.mgf.hash.algorithmOid])||void 0===n.md[r]){var a=Error("Unsupported MGF hash function.");throw a.oid=s.signatureParameters.mgf.hash.algorithmOid,a.name=r,a}if(void 0===(o=i[s.signatureParameters.mgf.algorithmOid])||void 0===n.mgf[o]){var a=Error("Unsupported MGF function.");throw a.oid=s.signatureParameters.mgf.algorithmOid,a.name=o,a}if(o=n.mgf[o].create(n.md[r].create()),void 0===(r=i[s.signatureParameters.hash.algorithmOid])||void 0===n.md[r]){var a=Error("Unsupported RSASSA-PSS hash function.");throw a.oid=s.signatureParameters.hash.algorithmOid,a.name=r,a}t=n.pss.create(n.md[r].create(),o,s.signatureParameters.saltLength)}return s.publicKey.verify(e.md.digest().getBytes(),e.signature,t)};function b(e){for(var t,r,s=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]),i=e.attributes,a=0;a<i.length;++a){var d=(t=i[a]).value,l=o.Type.PRINTABLESTRING;"valueTagClass"in t&&(l=t.valueTagClass)===o.Type.UTF8&&(d=n.util.encodeUtf8(d)),r=o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.type).getBytes()),o.create(o.Class.UNIVERSAL,l,!1,d)])]),s.value.push(r)}return s}function y(e){for(var t,r=0;r<e.length;++r){if(void 0===(t=e[r]).name&&(t.type&&t.type in s.oids?t.name=s.oids[t.type]:t.shortName&&t.shortName in a&&(t.name=s.oids[a[t.shortName]])),void 0===t.type)if(t.name&&t.name in s.oids)t.type=s.oids[t.name];else{var n=Error("Attribute type not specified.");throw n.attribute=t,n}if(void 0===t.shortName&&t.name&&t.name in a&&(t.shortName=a[t.name]),t.type===i.extensionRequest&&(t.valueConstructed=!0,t.valueTagClass=o.Type.SEQUENCE,!t.value&&t.extensions)){t.value=[];for(var d=0;d<t.extensions.length;++d)t.value.push(s.certificateExtensionToAsn1(v(t.extensions[d])))}if(void 0===t.value){var n=Error("Attribute value not specified.");throw n.attribute=t,n}}}function v(e,t){if(t=t||{},void 0===e.name&&e.id&&e.id in s.oids&&(e.name=s.oids[e.id]),void 0===e.id)if(e.name&&e.name in s.oids)e.id=s.oids[e.name];else{var r=Error("Extension ID not specified.");throw r.extension=e,r}if(void 0!==e.value)return e;if("keyUsage"===e.name){var a=0,d=0,l=0;e.digitalSignature&&(d|=128,a=7),e.nonRepudiation&&(d|=64,a=6),e.keyEncipherment&&(d|=32,a=5),e.dataEncipherment&&(d|=16,a=4),e.keyAgreement&&(d|=8,a=3),e.keyCertSign&&(d|=4,a=2),e.cRLSign&&(d|=2,a=1),e.encipherOnly&&(d|=1,a=0),e.decipherOnly&&(l|=128,a=7);var c=String.fromCharCode(a);0!==l?c+=String.fromCharCode(d)+String.fromCharCode(l):0!==d&&(c+=String.fromCharCode(d)),e.value=o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,c)}else if("basicConstraints"===e.name)e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]),e.cA&&e.value.value.push(o.create(o.Class.UNIVERSAL,o.Type.BOOLEAN,!1,String.fromCharCode(255))),"pathLenConstraint"in e&&e.value.value.push(o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.pathLenConstraint).getBytes()));else if("extKeyUsage"===e.name){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);var u=e.value.value;for(var p in e)!0===e[p]&&(p in i?u.push(o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(i[p]).getBytes())):-1!==p.indexOf(".")&&u.push(o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(p).getBytes())))}else if("nsCertType"===e.name){var a=0,d=0;e.client&&(d|=128,a=7),e.server&&(d|=64,a=6),e.email&&(d|=32,a=5),e.objsign&&(d|=16,a=4),e.reserved&&(d|=8,a=3),e.sslCA&&(d|=4,a=2),e.emailCA&&(d|=2,a=1),e.objCA&&(d|=1,a=0);var c=String.fromCharCode(a);0!==d&&(c+=String.fromCharCode(d)),e.value=o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,c)}else if("subjectAltName"===e.name||"issuerAltName"===e.name){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);for(var m,h=0;h<e.altNames.length;++h){var c=(m=e.altNames[h]).value;if(7===m.type&&m.ip){if(null===(c=n.util.bytesFromIP(m.ip))){var r=Error('Extension "ip" value is not a valid IPv4 or IPv6 address.');throw r.extension=e,r}}else 8===m.type&&(c=m.oid?o.oidToDer(o.oidToDer(m.oid)):o.oidToDer(c));e.value.value.push(o.create(o.Class.CONTEXT_SPECIFIC,m.type,!1,c))}}else if("nsComment"===e.name&&t.cert){if(!/^[\x00-\x7F]*$/.test(e.comment)||e.comment.length<1||e.comment.length>128)throw Error('Invalid "nsComment" content.');e.value=o.create(o.Class.UNIVERSAL,o.Type.IA5STRING,!1,e.comment)}else if("subjectKeyIdentifier"===e.name&&t.cert){var f=t.cert.generateSubjectKeyIdentifier();e.subjectKeyIdentifier=f.toHex(),e.value=o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,f.getBytes())}else if("authorityKeyIdentifier"===e.name&&t.cert){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);var u=e.value.value;if(e.keyIdentifier){var g=!0===e.keyIdentifier?t.cert.generateSubjectKeyIdentifier().getBytes():e.keyIdentifier;u.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!1,g))}if(e.authorityCertIssuer){var y=[o.create(o.Class.CONTEXT_SPECIFIC,4,!0,[b(!0===e.authorityCertIssuer?t.cert.issuer:e.authorityCertIssuer)])];u.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,y))}if(e.serialNumber){var v=n.util.hexToBytes(!0===e.serialNumber?t.cert.serialNumber:e.serialNumber);u.push(o.create(o.Class.CONTEXT_SPECIFIC,2,!1,v))}}else if("cRLDistributionPoints"===e.name){e.value=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);for(var m,u=e.value.value,_=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]),x=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[]),h=0;h<e.altNames.length;++h){var c=(m=e.altNames[h]).value;if(7===m.type&&m.ip){if(null===(c=n.util.bytesFromIP(m.ip))){var r=Error('Extension "ip" value is not a valid IPv4 or IPv6 address.');throw r.extension=e,r}}else 8===m.type&&(c=m.oid?o.oidToDer(o.oidToDer(m.oid)):o.oidToDer(c));x.value.push(o.create(o.Class.CONTEXT_SPECIFIC,m.type,!1,c))}_.value.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[x])),u.push(_)}if(void 0===e.value){var r=Error("Extension value not specified.");throw r.extension=e,r}return e}function _(e,t){if(e!==i["RSASSA-PSS"])return o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"");var r=[];return void 0!==t.hash.algorithmOid&&r.push(o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.hash.algorithmOid).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])])),void 0!==t.mgf.algorithmOid&&r.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,[o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.mgf.algorithmOid).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(t.mgf.hash.algorithmOid).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.NULL,!1,"")])])])),void 0!==t.saltLength&&r.push(o.create(o.Class.CONTEXT_SPECIFIC,2,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(t.saltLength).getBytes())])),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,r)}s.certificateFromPem=function(e,t,r){var i=n.pem.decode(e)[0];if("CERTIFICATE"!==i.type&&"X509 CERTIFICATE"!==i.type&&"TRUSTED CERTIFICATE"!==i.type){var a=Error('Could not convert certificate from PEM; PEM header type is not "CERTIFICATE", "X509 CERTIFICATE", or "TRUSTED CERTIFICATE".');throw a.headerType=i.type,a}if(i.procType&&"ENCRYPTED"===i.procType.type)throw Error("Could not convert certificate from PEM; PEM is encrypted.");var d=o.fromDer(i.body,r);return s.certificateFromAsn1(d,t)},s.certificateToPem=function(e,t){var r={type:"CERTIFICATE",body:o.toDer(s.certificateToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},s.publicKeyFromPem=function(e){var t=n.pem.decode(e)[0];if("PUBLIC KEY"!==t.type&&"RSA PUBLIC KEY"!==t.type){var r=Error('Could not convert public key from PEM; PEM header type is not "PUBLIC KEY" or "RSA PUBLIC KEY".');throw r.headerType=t.type,r}if(t.procType&&"ENCRYPTED"===t.procType.type)throw Error("Could not convert public key from PEM; PEM is encrypted.");var i=o.fromDer(t.body);return s.publicKeyFromAsn1(i)},s.publicKeyToPem=function(e,t){var r={type:"PUBLIC KEY",body:o.toDer(s.publicKeyToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},s.publicKeyToRSAPublicKeyPem=function(e,t){var r={type:"RSA PUBLIC KEY",body:o.toDer(s.publicKeyToRSAPublicKey(e)).getBytes()};return n.pem.encode(r,{maxline:t})},s.getPublicKeyFingerprint=function(e,t){var r,i=(t=t||{}).md||n.md.sha1.create();switch(t.type||"RSAPublicKey"){case"RSAPublicKey":r=o.toDer(s.publicKeyToRSAPublicKey(e)).getBytes();break;case"SubjectPublicKeyInfo":r=o.toDer(s.publicKeyToAsn1(e)).getBytes();break;default:throw Error('Unknown fingerprint type "'+t.type+'".')}i.start(),i.update(r);var a=i.digest();if("hex"===t.encoding){var d=a.toHex();return t.delimiter?d.match(/.{2}/g).join(t.delimiter):d}if("binary"===t.encoding)return a.getBytes();if(t.encoding)throw Error('Unknown encoding "'+t.encoding+'".');return a},s.certificationRequestFromPem=function(e,t,r){var i=n.pem.decode(e)[0];if("CERTIFICATE REQUEST"!==i.type){var a=Error('Could not convert certification request from PEM; PEM header type is not "CERTIFICATE REQUEST".');throw a.headerType=i.type,a}if(i.procType&&"ENCRYPTED"===i.procType.type)throw Error("Could not convert certification request from PEM; PEM is encrypted.");var d=o.fromDer(i.body,r);return s.certificationRequestFromAsn1(d,t)},s.certificationRequestToPem=function(e,t){var r={type:"CERTIFICATE REQUEST",body:o.toDer(s.certificationRequestToAsn1(e)).getBytes()};return n.pem.encode(r,{maxline:t})},s.createCertificate=function(){var e={};return e.version=2,e.serialNumber="00",e.signatureOid=null,e.signature=null,e.siginfo={},e.siginfo.algorithmOid=null,e.validity={},e.validity.notBefore=new Date,e.validity.notAfter=new Date,e.issuer={},e.issuer.getField=function(t){return m(e.issuer,t)},e.issuer.addField=function(t){y([t]),e.issuer.attributes.push(t)},e.issuer.attributes=[],e.issuer.hash=null,e.subject={},e.subject.getField=function(t){return m(e.subject,t)},e.subject.addField=function(t){y([t]),e.subject.attributes.push(t)},e.subject.attributes=[],e.subject.hash=null,e.extensions=[],e.publicKey=null,e.md=null,e.setSubject=function(t,r){y(t),e.subject.attributes=t,delete e.subject.uniqueId,r&&(e.subject.uniqueId=r),e.subject.hash=null},e.setIssuer=function(t,r){y(t),e.issuer.attributes=t,delete e.issuer.uniqueId,r&&(e.issuer.uniqueId=r),e.issuer.hash=null},e.setExtensions=function(t){for(var r=0;r<t.length;++r)v(t[r],{cert:e});e.extensions=t},e.getExtension=function(t){"string"==typeof t&&(t={name:t});for(var r,n=null,o=0;null===n&&o<e.extensions.length;++o)r=e.extensions[o],t.id&&r.id===t.id?n=r:t.name&&r.name===t.name&&(n=r);return n},e.sign=function(t,r){e.md=r||n.md.sha1.create();var a=i[e.md.algorithm+"WithRSAEncryption"];if(!a){var d=Error("Could not compute certificate digest. Unknown message digest algorithm OID.");throw d.algorithm=e.md.algorithm,d}e.signatureOid=e.siginfo.algorithmOid=a,e.tbsCertificate=s.getTBSCertificate(e);var l=o.toDer(e.tbsCertificate);e.md.update(l.getBytes()),e.signature=t.sign(e.md)},e.verify=function(t){var r=!1;if(!e.issued(t)){var n=t.issuer,i=e.subject,a=Error("The parent certificate did not issue the given child certificate; the child certificate's issuer does not match the parent's subject.");throw a.expectedIssuer=i.attributes,a.actualIssuer=n.attributes,a}var d=t.md;if(null===d){d=f({signatureOid:t.signatureOid,type:"certificate"});var l=t.tbsCertificate||s.getTBSCertificate(t),c=o.toDer(l);d.update(c.getBytes())}return null!==d&&(r=g({certificate:e,md:d,signature:t.signature})),r},e.isIssuer=function(t){var r=!1,n=e.issuer,o=t.subject;if(n.hash&&o.hash)r=n.hash===o.hash;else if(n.attributes.length===o.attributes.length){r=!0;for(var s,i,a=0;r&&a<n.attributes.length;++a)s=n.attributes[a],i=o.attributes[a],(s.type!==i.type||s.value!==i.value)&&(r=!1)}return r},e.issued=function(t){return t.isIssuer(e)},e.generateSubjectKeyIdentifier=function(){return s.getPublicKeyFingerprint(e.publicKey,{type:"RSAPublicKey"})},e.verifySubjectKeyIdentifier=function(){for(var t=i.subjectKeyIdentifier,r=0;r<e.extensions.length;++r){var o=e.extensions[r];if(o.id===t){var s=e.generateSubjectKeyIdentifier().getBytes();return n.util.hexToBytes(o.subjectKeyIdentifier)===s}}return!1},e},s.certificateFromAsn1=function(e,t){var r={},i=[];if(!o.validate(e,l,r,i)){var a=Error("Cannot read X.509 certificate. ASN.1 object is not an X509v3 Certificate.");throw a.errors=i,a}if(o.derToOid(r.publicKeyOid)!==s.oids.rsaEncryption)throw Error("Cannot read public key. OID is not RSA.");var d=s.createCertificate();d.version=r.certVersion?r.certVersion.charCodeAt(0):0,d.serialNumber=n.util.createBuffer(r.certSerialNumber).toHex(),d.signatureOid=n.asn1.derToOid(r.certSignatureOid),d.signatureParameters=h(d.signatureOid,r.certSignatureParams,!0),d.siginfo.algorithmOid=n.asn1.derToOid(r.certinfoSignatureOid),d.siginfo.parameters=h(d.siginfo.algorithmOid,r.certinfoSignatureParams,!1),d.signature=r.certSignature;var c=[];if(void 0!==r.certValidity1UTCTime&&c.push(o.utcTimeToDate(r.certValidity1UTCTime)),void 0!==r.certValidity2GeneralizedTime&&c.push(o.generalizedTimeToDate(r.certValidity2GeneralizedTime)),void 0!==r.certValidity3UTCTime&&c.push(o.utcTimeToDate(r.certValidity3UTCTime)),void 0!==r.certValidity4GeneralizedTime&&c.push(o.generalizedTimeToDate(r.certValidity4GeneralizedTime)),c.length>2)throw Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(c.length<2)throw Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(d.validity.notBefore=c[0],d.validity.notAfter=c[1],d.tbsCertificate=r.tbsCertificate,t){d.md=f({signatureOid:d.signatureOid,type:"certificate"});var u=o.toDer(d.tbsCertificate);d.md.update(u.getBytes())}var p=n.md.sha1.create(),g=o.toDer(r.certIssuer);p.update(g.getBytes()),d.issuer.getField=function(e){return m(d.issuer,e)},d.issuer.addField=function(e){y([e]),d.issuer.attributes.push(e)},d.issuer.attributes=s.RDNAttributesAsArray(r.certIssuer),r.certIssuerUniqueId&&(d.issuer.uniqueId=r.certIssuerUniqueId),d.issuer.hash=p.digest().toHex();var b=n.md.sha1.create(),v=o.toDer(r.certSubject);return b.update(v.getBytes()),d.subject.getField=function(e){return m(d.subject,e)},d.subject.addField=function(e){y([e]),d.subject.attributes.push(e)},d.subject.attributes=s.RDNAttributesAsArray(r.certSubject),r.certSubjectUniqueId&&(d.subject.uniqueId=r.certSubjectUniqueId),d.subject.hash=b.digest().toHex(),r.certExtensions?d.extensions=s.certificateExtensionsFromAsn1(r.certExtensions):d.extensions=[],d.publicKey=s.publicKeyFromAsn1(r.subjectPublicKeyInfo),d},s.certificateExtensionsFromAsn1=function(e){for(var t=[],r=0;r<e.value.length;++r)for(var n=e.value[r],o=0;o<n.value.length;++o)t.push(s.certificateExtensionFromAsn1(n.value[o]));return t},s.certificateExtensionFromAsn1=function(e){var t={};if(t.id=o.derToOid(e.value[0].value),t.critical=!1,e.value[1].type===o.Type.BOOLEAN?(t.critical=0!==e.value[1].value.charCodeAt(0),t.value=e.value[2].value):t.value=e.value[1].value,t.id in i){if(t.name=i[t.id],"keyUsage"===t.name){var r=o.fromDer(t.value),s=0,a=0;r.value.length>1&&(s=r.value.charCodeAt(1),a=r.value.length>2?r.value.charCodeAt(2):0),t.digitalSignature=(128&s)==128,t.nonRepudiation=(64&s)==64,t.keyEncipherment=(32&s)==32,t.dataEncipherment=(16&s)==16,t.keyAgreement=(8&s)==8,t.keyCertSign=(4&s)==4,t.cRLSign=(2&s)==2,t.encipherOnly=(1&s)==1,t.decipherOnly=(128&a)==128}else if("basicConstraints"===t.name){var r=o.fromDer(t.value);r.value.length>0&&r.value[0].type===o.Type.BOOLEAN?t.cA=0!==r.value[0].value.charCodeAt(0):t.cA=!1;var d=null;r.value.length>0&&r.value[0].type===o.Type.INTEGER?d=r.value[0].value:r.value.length>1&&(d=r.value[1].value),null!==d&&(t.pathLenConstraint=o.derToInteger(d))}else if("extKeyUsage"===t.name)for(var r=o.fromDer(t.value),l=0;l<r.value.length;++l){var c=o.derToOid(r.value[l].value);c in i?t[i[c]]=!0:t[c]=!0}else if("nsCertType"===t.name){var r=o.fromDer(t.value),s=0;r.value.length>1&&(s=r.value.charCodeAt(1)),t.client=(128&s)==128,t.server=(64&s)==64,t.email=(32&s)==32,t.objsign=(16&s)==16,t.reserved=(8&s)==8,t.sslCA=(4&s)==4,t.emailCA=(2&s)==2,t.objCA=(1&s)==1}else if("subjectAltName"===t.name||"issuerAltName"===t.name){t.altNames=[];for(var u,r=o.fromDer(t.value),p=0;p<r.value.length;++p){var m={type:(u=r.value[p]).type,value:u.value};switch(t.altNames.push(m),u.type){case 1:case 2:case 6:break;case 7:m.ip=n.util.bytesToIP(u.value);break;case 8:m.oid=o.derToOid(u.value)}}}else if("subjectKeyIdentifier"===t.name){var r=o.fromDer(t.value);t.subjectKeyIdentifier=n.util.bytesToHex(r.value)}}return t},s.certificationRequestFromAsn1=function(e,t){var r={},i=[];if(!o.validate(e,p,r,i)){var a=Error("Cannot read PKCS#10 certificate request. ASN.1 object is not a PKCS#10 CertificationRequest.");throw a.errors=i,a}if(o.derToOid(r.publicKeyOid)!==s.oids.rsaEncryption)throw Error("Cannot read public key. OID is not RSA.");var d=s.createCertificationRequest();if(d.version=r.csrVersion?r.csrVersion.charCodeAt(0):0,d.signatureOid=n.asn1.derToOid(r.csrSignatureOid),d.signatureParameters=h(d.signatureOid,r.csrSignatureParams,!0),d.siginfo.algorithmOid=n.asn1.derToOid(r.csrSignatureOid),d.siginfo.parameters=h(d.siginfo.algorithmOid,r.csrSignatureParams,!1),d.signature=r.csrSignature,d.certificationRequestInfo=r.certificationRequestInfo,t){d.md=f({signatureOid:d.signatureOid,type:"certification request"});var l=o.toDer(d.certificationRequestInfo);d.md.update(l.getBytes())}var c=n.md.sha1.create();return d.subject.getField=function(e){return m(d.subject,e)},d.subject.addField=function(e){y([e]),d.subject.attributes.push(e)},d.subject.attributes=s.RDNAttributesAsArray(r.certificationRequestInfoSubject,c),d.subject.hash=c.digest().toHex(),d.publicKey=s.publicKeyFromAsn1(r.subjectPublicKeyInfo),d.getAttribute=function(e){return m(d,e)},d.addAttribute=function(e){y([e]),d.attributes.push(e)},d.attributes=s.CRIAttributesAsArray(r.certificationRequestInfoAttributes||[]),d},s.createCertificationRequest=function(){var e={};return e.version=0,e.signatureOid=null,e.signature=null,e.siginfo={},e.siginfo.algorithmOid=null,e.subject={},e.subject.getField=function(t){return m(e.subject,t)},e.subject.addField=function(t){y([t]),e.subject.attributes.push(t)},e.subject.attributes=[],e.subject.hash=null,e.publicKey=null,e.attributes=[],e.getAttribute=function(t){return m(e,t)},e.addAttribute=function(t){y([t]),e.attributes.push(t)},e.md=null,e.setSubject=function(t){y(t),e.subject.attributes=t,e.subject.hash=null},e.setAttributes=function(t){y(t),e.attributes=t},e.sign=function(t,r){e.md=r||n.md.sha1.create();var a=i[e.md.algorithm+"WithRSAEncryption"];if(!a){var d=Error("Could not compute certification request digest. Unknown message digest algorithm OID.");throw d.algorithm=e.md.algorithm,d}e.signatureOid=e.siginfo.algorithmOid=a,e.certificationRequestInfo=s.getCertificationRequestInfo(e);var l=o.toDer(e.certificationRequestInfo);e.md.update(l.getBytes()),e.signature=t.sign(e.md)},e.verify=function(){var t=!1,r=e.md;if(null===r){r=f({signatureOid:e.signatureOid,type:"certification request"});var n=e.certificationRequestInfo||s.getCertificationRequestInfo(e),i=o.toDer(n);r.update(i.getBytes())}return null!==r&&(t=g({certificate:e,md:r,signature:e.signature})),t},e};var x=new Date("1950-01-01T00:00:00Z"),E=new Date("2050-01-01T00:00:00Z");function C(e){return e>=x&&e<E?o.create(o.Class.UNIVERSAL,o.Type.UTCTIME,!1,o.dateToUtcTime(e)):o.create(o.Class.UNIVERSAL,o.Type.GENERALIZEDTIME,!1,o.dateToGeneralizedTime(e))}s.getTBSCertificate=function(e){var t=C(e.validity.notBefore),r=C(e.validity.notAfter),i=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes())]),o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,n.util.hexToBytes(e.serialNumber)),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.siginfo.algorithmOid).getBytes()),_(e.siginfo.algorithmOid,e.siginfo.parameters)]),b(e.issuer),o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[t,r]),b(e.subject),s.publicKeyToAsn1(e.publicKey)]);return e.issuer.uniqueId&&i.value.push(o.create(o.Class.CONTEXT_SPECIFIC,1,!0,[o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,"\0"+e.issuer.uniqueId)])),e.subject.uniqueId&&i.value.push(o.create(o.Class.CONTEXT_SPECIFIC,2,!0,[o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,"\0"+e.subject.uniqueId)])),e.extensions.length>0&&i.value.push(s.certificateExtensionsToAsn1(e.extensions)),i},s.getCertificationRequestInfo=function(e){return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.INTEGER,!1,o.integerToDer(e.version).getBytes()),b(e.subject),s.publicKeyToAsn1(e.publicKey),function(e){var t=o.create(o.Class.CONTEXT_SPECIFIC,0,!0,[]);if(0===e.attributes.length)return t;for(var r=e.attributes,s=0;s<r.length;++s){var i=r[s],a=i.value,d=o.Type.UTF8;"valueTagClass"in i&&(d=i.valueTagClass),d===o.Type.UTF8&&(a=n.util.encodeUtf8(a));var l=!1;"valueConstructed"in i&&(l=i.valueConstructed);var c=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(i.type).getBytes()),o.create(o.Class.UNIVERSAL,o.Type.SET,!0,[o.create(o.Class.UNIVERSAL,d,l,a)])]);t.value.push(c)}return t}(e)])},s.distinguishedNameToAsn1=function(e){return b(e)},s.certificateToAsn1=function(e){var t=e.tbsCertificate||s.getTBSCertificate(e);return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[t,o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.signatureOid).getBytes()),_(e.signatureOid,e.signatureParameters)]),o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,"\0"+e.signature)])},s.certificateExtensionsToAsn1=function(e){var t=o.create(o.Class.CONTEXT_SPECIFIC,3,!0,[]),r=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);t.value.push(r);for(var n=0;n<e.length;++n)r.value.push(s.certificateExtensionToAsn1(e[n]));return t},s.certificateExtensionToAsn1=function(e){var t=o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[]);t.value.push(o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.id).getBytes())),e.critical&&t.value.push(o.create(o.Class.UNIVERSAL,o.Type.BOOLEAN,!1,String.fromCharCode(255)));var r=e.value;return"string"!=typeof e.value&&(r=o.toDer(r).getBytes()),t.value.push(o.create(o.Class.UNIVERSAL,o.Type.OCTETSTRING,!1,r)),t},s.certificationRequestToAsn1=function(e){var t=e.certificationRequestInfo||s.getCertificationRequestInfo(e);return o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[t,o.create(o.Class.UNIVERSAL,o.Type.SEQUENCE,!0,[o.create(o.Class.UNIVERSAL,o.Type.OID,!1,o.oidToDer(e.signatureOid).getBytes()),_(e.signatureOid,e.signatureParameters)]),o.create(o.Class.UNIVERSAL,o.Type.BITSTRING,!1,"\0"+e.signature)])},s.createCaStore=function(e){var t={certs:{}};function r(e){return i(e),t.certs[e.hash]||null}function i(e){if(!e.hash){var t=n.md.sha1.create();e.attributes=s.RDNAttributesAsArray(b(e),t),e.hash=t.digest().toHex()}}if(t.getIssuer=function(e){return r(e.issuer)},t.addCertificate=function(e){if("string"==typeof e&&(e=n.pki.certificateFromPem(e)),i(e.subject),!t.hasCertificate(e))if(e.subject.hash in t.certs){var r=t.certs[e.subject.hash];n.util.isArray(r)||(r=[r]),r.push(e),t.certs[e.subject.hash]=r}else t.certs[e.subject.hash]=e},t.hasCertificate=function(e){"string"==typeof e&&(e=n.pki.certificateFromPem(e));var t=r(e.subject);if(!t)return!1;n.util.isArray(t)||(t=[t]);for(var i=o.toDer(s.certificateToAsn1(e)).getBytes(),a=0;a<t.length;++a)if(i===o.toDer(s.certificateToAsn1(t[a])).getBytes())return!0;return!1},t.listAllCertificates=function(){var e=[];for(var r in t.certs)if(t.certs.hasOwnProperty(r)){var o=t.certs[r];if(n.util.isArray(o))for(var s=0;s<o.length;++s)e.push(o[s]);else e.push(o)}return e},t.removeCertificate=function(e){if("string"==typeof e&&(e=n.pki.certificateFromPem(e)),i(e.subject),!t.hasCertificate(e))return null;var a,d=r(e.subject);if(!n.util.isArray(d))return a=t.certs[e.subject.hash],delete t.certs[e.subject.hash],a;for(var l=o.toDer(s.certificateToAsn1(e)).getBytes(),c=0;c<d.length;++c)l===o.toDer(s.certificateToAsn1(d[c])).getBytes()&&(a=d[c],d.splice(c,1));return 0===d.length&&delete t.certs[e.subject.hash],a},e)for(var a=0;a<e.length;++a){var d=e[a];t.addCertificate(d)}return t},s.certificateError={bad_certificate:"forge.pki.BadCertificate",unsupported_certificate:"forge.pki.UnsupportedCertificate",certificate_revoked:"forge.pki.CertificateRevoked",certificate_expired:"forge.pki.CertificateExpired",certificate_unknown:"forge.pki.CertificateUnknown",unknown_ca:"forge.pki.UnknownCertificateAuthority"},s.verifyCertificateChain=function(e,t,r){"function"==typeof r&&(r={verify:r}),r=r||{};var o=(t=t.slice(0)).slice(0),i=r.validityCheckDate;void 0===i&&(i=new Date);var a=!0,d=null,l=0;do{var c=t.shift(),u=null,p=!1;if(i&&(i<c.validity.notBefore||i>c.validity.notAfter)&&(d={message:"Certificate is not valid yet or has expired.",error:s.certificateError.certificate_expired,notBefore:c.validity.notBefore,notAfter:c.validity.notAfter,now:i}),null===d){if(null===(u=t[0]||e.getIssuer(c))&&c.isIssuer(c)&&(p=!0,u=c),u){var m=u;n.util.isArray(m)||(m=[m]);for(var h=!1;!h&&m.length>0;){u=m.shift();try{h=u.verify(c)}catch(e){}}h||(d={message:"Certificate signature is invalid.",error:s.certificateError.bad_certificate})}null!==d||u&&!p||e.hasCertificate(c)||(d={message:"Certificate is not trusted.",error:s.certificateError.unknown_ca})}if(null===d&&u&&!c.isIssuer(u)&&(d={message:"Certificate issuer is invalid.",error:s.certificateError.bad_certificate}),null===d)for(var f={keyUsage:!0,basicConstraints:!0},g=0;null===d&&g<c.extensions.length;++g){var b=c.extensions[g];!b.critical||b.name in f||(d={message:"Certificate has an unsupported critical extension.",error:s.certificateError.unsupported_certificate})}if(null===d&&(!a||0===t.length&&(!u||p))){var y=c.getExtension("basicConstraints"),v=c.getExtension("keyUsage");null===v||v.keyCertSign&&null!==y||(d={message:"Certificate keyUsage or basicConstraints conflict or indicate that the certificate is not a CA. If the certificate is the only one in the chain or isn't the first then the certificate must be a valid CA.",error:s.certificateError.bad_certificate}),null===d&&null===y&&(d={message:"Certificate is missing basicConstraints extension and cannot be used as a CA.",error:s.certificateError.bad_certificate}),null!==d||null===y||y.cA||(d={message:"Certificate basicConstraints indicates the certificate is not a CA.",error:s.certificateError.bad_certificate}),null===d&&null!==v&&"pathLenConstraint"in y&&l-1>y.pathLenConstraint&&(d={message:"Certificate basicConstraints pathLenConstraint violated.",error:s.certificateError.bad_certificate})}var _=null===d||d.error,x=r.verify?r.verify(_,l,o):_;if(!0===x)d=null;else throw!0===_&&(d={message:"The application rejected the certificate.",error:s.certificateError.bad_certificate}),(x||0===x)&&("object"!=typeof x||n.util.isArray(x)?"string"==typeof x&&(d.error=x):(x.message&&(d.message=x.message),x.error&&(d.error=x.error))),d;a=!1,++l}while(t.length>0);return!0}},"../../../node_modules/.pnpm/node-int64@0.4.0/node_modules/node-int64/Int64.js"(e){for(var t=[],r=0;r<256;r++)t[r]=(r>15?"":"0")+r.toString(16);var n=e.exports=function(e,t){e instanceof Buffer?(this.buffer=e,this.offset=t||0):"[object Uint8Array]"==Object.prototype.toString.call(e)?(this.buffer=new Buffer(e),this.offset=t||0):(this.buffer=this.buffer||new Buffer(8),this.offset=0,this.setValue.apply(this,arguments))};n.MAX_INT=0x20000000000000,n.MIN_INT=-0x20000000000000,n.prototype={constructor:n,_2scomp:function(){for(var e=this.buffer,t=this.offset,r=1,n=t+7;n>=t;n--){var o=(255^e[n])+r;e[n]=255&o,r=o>>8}},setValue:function(e,t){var r=!1;if(1==arguments.length)if("number"==typeof e){if(r=e<0,t=(e=Math.abs(e))%0x100000000,(e/=0x100000000)>0x100000000)throw RangeError(e+" is outside Int64 range");e|=0}else if("string"==typeof e)t=(e=(e+"").replace(/^0x/,"")).substr(-8),e=parseInt(e=e.length>8?e.substr(0,e.length-8):"",16),t=parseInt(t,16);else throw Error(e+" must be a Number or String");for(var n=this.buffer,o=this.offset,s=7;s>=0;s--)n[o+s]=255&t,t=4==s?e:t>>>8;r&&this._2scomp()},toNumber:function(e){for(var t=this.buffer,r=this.offset,o=128&t[r],s=0,i=1,a=7,d=1;a>=0;a--,d*=256){var l=t[r+a];o&&(i=(l=(255^l)+i)>>8,l&=255),s+=l*d}return!e&&s>=n.MAX_INT?o?-1/0:1/0:o?-s:s},valueOf:function(){return this.toNumber(!1)},toString:function(e){return this.valueOf().toString(e||10)},toOctetString:function(e){for(var r=Array(8),n=this.buffer,o=this.offset,s=0;s<8;s++)r[s]=t[n[o+s]];return r.join(e||"")},toBuffer:function(e){if(e&&0===this.offset)return this.buffer;var t=new Buffer(8);return this.buffer.copy(t,0,this.offset,this.offset+8),t},copy:function(e,t){this.buffer.copy(e,t||0,this.offset,this.offset+8)},compare:function(e){if((128&this.buffer[this.offset])!=(128&e.buffer[e.offset]))return e.buffer[e.offset]-this.buffer[this.offset];for(var t=0;t<8;t++)if(this.buffer[this.offset+t]!==e.buffer[e.offset+t])return this.buffer[this.offset+t]-e.buffer[e.offset+t];return 0},equals:function(e){return 0===this.compare(e)},inspect:function(){return"[Int64 value:"+this+" octets:"+this.toOctetString(" ")+"]"}}},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/index.js"(e,t,r){var n=r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/parse.js");Object.keys(n).forEach(function(e){t[e]=n[e]});var o=r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/build.js");Object.keys(o).forEach(function(e){t[e]=o[e]})},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/build.js"(e,t,r){var n=r("../../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/index.js");t.build=function(e,t){var r={version:"1.0",encoding:"UTF-8"},s=o.create("plist");return s.dec(r.version,r.encoding,r.standalone),s.dtd("-//Apple//DTD PLIST 1.0//EN","http://www.apple.com/DTDs/PropertyList-1.0.dtd"),s.att("version","1.0"),function e(t,r){var o,s,a,d=i(t);if("Undefined"!=d)if(Array.isArray(t))for(r=r.ele("array"),s=0;s<t.length;s++)e(t[s],r);else if(Buffer.isBuffer(t))r.ele("data").raw(t.toString("base64"));else if("Object"==d)for(a in r=r.ele("dict"),t)t.hasOwnProperty(a)&&(r.ele("key").txt(a),e(t[a],r));else"Number"==d?(o=t%1==0?"integer":"real",r.ele(o).txt(t.toString())):"Date"==d?r.ele("date").txt(function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"Z"}(new Date(t))):"Boolean"==d?r.ele(t?"true":"false"):"String"==d?r.ele("string").txt(t):"ArrayBuffer"==d?r.ele("data").raw(n.fromByteArray(t)):t&&t.buffer&&"ArrayBuffer"==i(t.buffer)?r.ele("data").raw(n.fromByteArray(new Uint8Array(t.buffer),r)):"Null"===d&&r.ele("null").txt("")}(e,s),t||(t={}),t.pretty=!1!==t.pretty,s.end(t)};var s=Object.prototype.toString;function i(e){var t=s.call(e).match(/\[object (.*)\]/);return t?t[1]:t}},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/parse.js"(e,t,r){var n=r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/dom-parser.js").S4;function o(e){return 3===e.nodeType||8===e.nodeType||4===e.nodeType}function s(e){return!e.childNodes||0===e.childNodes.length}function i(e,t){if(!e)throw Error(t)}t.parse=function(e){var t=new n().parseFromString(e);i("plist"===t.documentElement.nodeName,"malformed document. First element should be <plist>");var r=function e(t){var r,n,a,d,l,c,u;if(!t)return null;if("plist"===t.nodeName){if(d=[],s(t))return d;for(r=0;r<t.childNodes.length;r++)o(t.childNodes[r])||d.push(e(t.childNodes[r]));return d}if("dict"===t.nodeName){if(n={},a=null,c=0,s(t))return n;for(r=0;r<t.childNodes.length;r++)o(t.childNodes[r])||(c%2==0?(i("key"===t.childNodes[r].nodeName,"Missing key while parsing <dict/>."),a=e(t.childNodes[r])):(i("key"!==t.childNodes[r].nodeName,'Unexpected key "'+e(t.childNodes[r])+'" while parsing <dict/>.'),n[a]=e(t.childNodes[r])),c+=1);return c%2==1&&(n[a]=""),n}if("array"===t.nodeName){if(d=[],s(t))return d;for(r=0;r<t.childNodes.length;r++)o(t.childNodes[r])||null!=(l=e(t.childNodes[r]))&&d.push(l);return d}if("#text"===t.nodeName);else if("key"===t.nodeName)return s(t)?"":(i("__proto__"!==t.childNodes[0].nodeValue,"__proto__ keys can lead to prototype pollution. More details on CVE-2022-22912"),t.childNodes[0].nodeValue);else if("string"===t.nodeName){if(l="",s(t))return l;for(r=0;r<t.childNodes.length;r++){var u=t.childNodes[r].nodeType;(3===u||4===u)&&(l+=t.childNodes[r].nodeValue)}return l}else if("integer"===t.nodeName)return i(!s(t),'Cannot parse "" as integer.'),parseInt(t.childNodes[0].nodeValue,10);else if("real"===t.nodeName){for(i(!s(t),'Cannot parse "" as real.'),l="",r=0;r<t.childNodes.length;r++)3===t.childNodes[r].nodeType&&(l+=t.childNodes[r].nodeValue);return parseFloat(l)}else if("data"===t.nodeName){if(l="",s(t))return Buffer.from(l,"base64");for(r=0;r<t.childNodes.length;r++)3===t.childNodes[r].nodeType&&(l+=t.childNodes[r].nodeValue.replace(/\s+/g,""));return Buffer.from(l,"base64")}else if("date"===t.nodeName)return i(!s(t),'Cannot parse "" as Date.'),new Date(t.childNodes[0].nodeValue);else if("null"===t.nodeName)return null;else if("true"===t.nodeName)return!0;else if("false"===t.nodeName)return!1;else throw Error("Invalid PLIST tag "+t.nodeName)}(t.documentElement);return 1==r.length&&(r=r[0]),r}},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/dom-parser.js"(e,t,r){function n(e){this.options=e||{locator:{}}}function o(){this.cdata=!1}function s(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function i(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function a(e,t,r){return"string"==typeof e?e.substr(t,r):e.length>=t+r||t?new java.lang.String(e,t,r)+"":e}function d(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}n.prototype.parseFromString=function(e,t){var r=this.options,n=new u,s=r.domBuilder||new o,a=r.errorHandler,d=r.locator,c=r.xmlns||{},p=/\/x?html?$/.test(t),m=p?l.entityMap:{lt:"<",gt:">",amp:"&",quot:'"',apos:"'"};return d&&s.setDocumentLocator(d),n.errorHandler=function(e,t,r){if(!e){if(t instanceof o)return t;e=t}var n={},s=e instanceof Function;function a(t){var o=e[t];!o&&s&&(o=2==e.length?function(r){e(t,r)}:e),n[t]=o&&function(e){o("[xmldom "+t+"] "+e+i(r))}||function(){}}return r=r||{},a("warning"),a("error"),a("fatalError"),n}(a,s,d),n.domBuilder=r.domBuilder||s,p&&(c[""]="http://www.w3.org/1999/xhtml"),c.xml=c.xml||"http://www.w3.org/XML/1998/namespace",e&&"string"==typeof e?n.parse(e,c,m):n.errorHandler.error("invalid doc source"),s.doc},o.prototype={startDocument:function(){this.doc=new m().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,r,n){var o=this.doc,i=o.createElementNS(e,r||t),a=n.length;d(this,i),this.currentElement=i,this.locator&&s(this.locator,i);for(var l=0;l<a;l++){var e=n.getURI(l),c=n.getValue(l),r=n.getQName(l),u=o.createAttributeNS(e,r);this.locator&&s(n.getLocator(l),u),u.value=u.nodeValue=c,i.setAttributeNode(u)}},endElement:function(e,t,r){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var r=this.doc.createProcessingInstruction(e,t);this.locator&&s(this.locator,r),d(this,r)},ignorableWhitespace:function(e,t,r){},characters:function(e,t,r){if(e=a.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(e);else var n=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&s(this.locator,n)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,r){e=a.apply(this,arguments);var n=this.doc.createComment(e);this.locator&&s(this.locator,n),d(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var o=n.createDocumentType(e,t,r);this.locator&&s(this.locator,o),d(this,o)}},warning:function(e){console.warn("[xmldom warning] "+e,i(this.locator))},error:function(e){console.error("[xmldom error] "+e,i(this.locator))},fatalError:function(e){throw new p(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){o.prototype[e]=function(){return null}});var l=r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/entities.js"),c=r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/sax.js"),u=c.XMLReader,p=c.ParseError,m=r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/dom.js").x2;r("../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/dom.js"),t.S4=n},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/dom.js"(e,t){function r(e,t){for(var r in e)t[r]=e[r]}function n(e,t){var n=e.prototype;if(!(n instanceof t)){function o(){}o.prototype=t.prototype,r(n,o=new o),e.prototype=n=o}n.constructor!=e&&("function"!=typeof e&&console.error("unknow Class:"+e),n.constructor=e)}var o={},s=o.ELEMENT_NODE=1,i=o.ATTRIBUTE_NODE=2,a=o.TEXT_NODE=3,d=o.CDATA_SECTION_NODE=4,l=o.ENTITY_REFERENCE_NODE=5,c=o.ENTITY_NODE=6,u=o.PROCESSING_INSTRUCTION_NODE=7,p=o.COMMENT_NODE=8,m=o.DOCUMENT_NODE=9,h=o.DOCUMENT_TYPE_NODE=10,f=o.DOCUMENT_FRAGMENT_NODE=11,g=o.NOTATION_NODE=12,b={},y={};y[1]="Index size error",b.INDEX_SIZE_ERR=1,y[2]="DOMString size error",b.DOMSTRING_SIZE_ERR=2;var v=(y[3]="Hierarchy request error",b.HIERARCHY_REQUEST_ERR=3);y[4]="Wrong document",b.WRONG_DOCUMENT_ERR=4,y[5]="Invalid character",b.INVALID_CHARACTER_ERR=5,y[6]="No data allowed",b.NO_DATA_ALLOWED_ERR=6,y[7]="No modification allowed",b.NO_MODIFICATION_ALLOWED_ERR=7;var _=(y[8]="Not found",b.NOT_FOUND_ERR=8);y[9]="Not supported",b.NOT_SUPPORTED_ERR=9;var x=(y[10]="Attribute in use",b.INUSE_ATTRIBUTE_ERR=10);function E(e,t){if(t instanceof Error)var r=t;else r=this,Error.call(this,y[e]),this.message=y[e],Error.captureStackTrace&&Error.captureStackTrace(this,E);return r.code=e,t&&(this.message=this.message+": "+t),r}function C(){}function w(e,t){this._node=e,this._refresh=t,j(this)}function j(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);ee(e,"length",n.length),r(n,e),e._inc=t}}function S(){}function k(e,t){for(var r=e.length;r--;)if(e[r]===t)return r}function T(e,t,r,n){if(n?t[k(t,n)]=r:t[t.length++]=r,e){r.ownerElement=e;var o,s,i,a=e.ownerDocument;a&&(n&&P(a,e,n),o=a,s=e,i=r,o&&o._inc++,"http://www.w3.org/2000/xmlns/"==i.namespaceURI&&(s._nsMap[i.prefix?i.localName:""]=i.value))}}function O(e,t,r){var n=k(t,r);if(n>=0){for(var o=t.length-1;n<o;)t[n]=t[++n];if(t.length=o,e){var s=e.ownerDocument;s&&(P(s,e,r),r.ownerElement=null)}}else throw E(_,Error(e.tagName+"@"+r))}function D(e){if(this._features={},e)for(var t in e)this._features=e[t]}function I(){}function A(e){return"<"==e&&"&lt;"||">"==e&&"&gt;"||"&"==e&&"&amp;"||'"'==e&&"&quot;"||"&#"+e.charCodeAt()+";"}function N(e,t){if(t(e))return!0;if(e=e.firstChild)do if(N(e,t))return!0;while(e=e.nextSibling)}function R(){}function P(e,t,r,n){e&&e._inc++,"http://www.w3.org/2000/xmlns/"==r.namespaceURI&&delete t._nsMap[r.prefix?r.localName:""]}function L(e,t,r){if(e&&e._inc){e._inc++;var n=t.childNodes;if(r)n[n.length++]=r;else{for(var o=t.firstChild,s=0;o;)n[s++]=o,o=o.nextSibling;n.length=s}}}function B(e,t){var r=t.previousSibling,n=t.nextSibling;return r?r.nextSibling=n:e.firstChild=n,n?n.previousSibling=r:e.lastChild=r,L(e.ownerDocument,e),t}function M(e,t,r){var n=t.parentNode;if(n&&n.removeChild(t),t.nodeType===f){var o=t.firstChild;if(null==o)return t;var s=t.lastChild}else o=s=t;var i=r?r.previousSibling:e.lastChild;o.previousSibling=i,s.nextSibling=r,i?i.nextSibling=o:e.firstChild=o,null==r?e.lastChild=s:r.previousSibling=s;do o.parentNode=e;while(o!==s&&(o=o.nextSibling));return L(e.ownerDocument||e,e),t.nodeType==f&&(t.firstChild=t.lastChild=null),t}function U(){this._nsMap={}}function F(){}function K(){}function V(){}function Y(){}function z(){}function H(){}function $(){}function q(){}function W(){}function G(){}function X(){}function Q(e,t){var r=[],n=9==this.nodeType&&this.documentElement||this,o=n.prefix,s=n.namespaceURI;if(s&&null==o){var o=n.lookupPrefix(s);if(null==o)var i=[{namespace:s,prefix:null}]}return Z(this,r,e,t,i),r.join("")}function J(e,t,r){var n=e.prefix||"",o=e.namespaceURI;if(!n&&!o||"xml"===n&&"http://www.w3.org/XML/1998/namespace"===o||"http://www.w3.org/2000/xmlns/"==o)return!1;for(var s=r.length;s--;){var i=r[s];if(i.prefix==n)return i.namespace!=o}return!0}function Z(e,t,r,n,o){if(n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case s:o||(o=[]),o.length;var c=e.attributes,g=c.length,b=e.firstChild,y=e.tagName;r="http://www.w3.org/1999/xhtml"===e.namespaceURI||r,t.push("<",y);for(var v=0;v<g;v++){var _=c.item(v);"xmlns"==_.prefix?o.push({prefix:_.localName,namespace:_.value}):"xmlns"==_.nodeName&&o.push({prefix:"",namespace:_.value})}for(var v=0;v<g;v++){var _=c.item(v);if(J(_,r,o)){var x=_.prefix||"",E=_.namespaceURI,C=x?" xmlns:"+x:" xmlns";t.push(C,'="',E,'"'),o.push({prefix:x,namespace:E})}Z(_,t,r,n,o)}if(J(e,r,o)){var x=e.prefix||"",E=e.namespaceURI;if(E){var C=x?" xmlns:"+x:" xmlns";t.push(C,'="',E,'"'),o.push({prefix:x,namespace:E})}}if(b||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(y)){if(t.push(">"),r&&/^script$/i.test(y))for(;b;)b.data?t.push(b.data):Z(b,t,r,n,o),b=b.nextSibling;else for(;b;)Z(b,t,r,n,o),b=b.nextSibling;t.push("</",y,">")}else t.push("/>");return;case m:case f:for(var b=e.firstChild;b;)Z(b,t,r,n,o),b=b.nextSibling;return;case i:return t.push(" ",e.name,'="',e.value.replace(/[<&"]/g,A),'"');case a:return t.push(e.data.replace(/[<&]/g,A).replace(/]]>/g,"]]&gt;"));case d:return t.push("<![CDATA[",e.data,"]]>");case p:return t.push("\x3c!--",e.data,"--\x3e");case h:var w=e.publicId,j=e.systemId;if(t.push("<!DOCTYPE ",e.name),w)t.push(" PUBLIC ",w),j&&"."!=j&&t.push(" ",j),t.push(">");else if(j&&"."!=j)t.push(" SYSTEM ",j,">");else{var S=e.internalSubset;S&&t.push(" [",S,"]"),t.push(">")}return;case u:return t.push("<?",e.target," ",e.data,"?>");case l:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ee(e,t,r){e[t]=r}y[11]="Invalid state",b.INVALID_STATE_ERR=11,y[12]="Syntax error",b.SYNTAX_ERR=12,y[13]="Invalid modification",b.INVALID_MODIFICATION_ERR=13,y[14]="Invalid namespace",b.NAMESPACE_ERR=14,y[15]="Invalid access",b.INVALID_ACCESS_ERR=15,E.prototype=Error.prototype,r(b,E),C.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var r=[],n=0;n<this.length;n++)Z(this[n],r,e,t);return r.join("")}},w.prototype.item=function(e){return j(this),this[e]},n(w,C),S.prototype={length:0,item:C.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var r=this[t];if(r.nodeName==e)return r}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new E(x);var r=this.getNamedItem(e.nodeName);return T(this._ownerElement,this,e,r),r},setNamedItemNS:function(e){var t,r=e.ownerElement;if(r&&r!=this._ownerElement)throw new E(x);return t=this.getNamedItemNS(e.namespaceURI,e.localName),T(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return O(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var r=this.getNamedItemNS(e,t);return O(this._ownerElement,this,r),r},getNamedItemNS:function(e,t){for(var r=this.length;r--;){var n=this[r];if(n.localName==t&&n.namespaceURI==e)return n}return null}},D.prototype={hasFeature:function(e,t){var r=this._features[e.toLowerCase()];return!!r&&(!t||t in r)},createDocument:function(e,t,r){var n=new R;if(n.implementation=this,n.childNodes=new C,n.doctype=r,r&&n.appendChild(r),t){var o=n.createElementNS(e,t);n.appendChild(o)}return n},createDocumentType:function(e,t,r){var n=new H;return n.name=e,n.nodeName=e,n.publicId=t,n.systemId=r,n}},I.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return M(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return B(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,r,n){var o=new r.constructor;for(var a in r){var d=r[a];"object"!=typeof d&&d!=o[a]&&(o[a]=d)}switch(r.childNodes&&(o.childNodes=new C),o.ownerDocument=t,o.nodeType){case s:var l=r.attributes,c=o.attributes=new S,u=l.length;c._ownerElement=o;for(var p=0;p<u;p++)o.setAttributeNode(e(t,l.item(p),!0));break;case i:n=!0}if(n)for(var m=r.firstChild;m;)o.appendChild(e(t,m,n)),m=m.nextSibling;return o}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==a&&e.nodeType==a?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var r=t._nsMap;if(r){for(var n in r)if(r[n]==e)return n}t=t.nodeType==i?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var r=t._nsMap;if(r&&e in r)return r[e];t=t.nodeType==i?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},r(o,I),r(o,I.prototype),R.prototype={nodeName:"#document",nodeType:m,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==f){for(var r=e.firstChild;r;){var n=r.nextSibling;this.insertBefore(r,t),r=n}return e}return null==this.documentElement&&e.nodeType==s&&(this.documentElement=e),M(this,e,t),e.ownerDocument=this,e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),B(this,e)},importNode:function(e,t){return function e(t,r,n){var o;switch(r.nodeType){case s:(o=r.cloneNode(!1)).ownerDocument=t;case f:break;case i:n=!0}if(o||(o=r.cloneNode(!1)),o.ownerDocument=t,o.parentNode=null,n)for(var a=r.firstChild;a;)o.appendChild(e(t,a,n)),a=a.nextSibling;return o}(this,e,t)},getElementById:function(e){var t=null;return N(this.documentElement,function(r){if(r.nodeType==s&&r.getAttribute("id")==e)return t=r,!0}),t},getElementsByClassName:function(e){var t=RegExp("(^|\\s)"+e+"(\\s|$)");return new w(this,function(e){var r=[];return N(e.documentElement,function(n){n!==e&&n.nodeType==s&&t.test(n.getAttribute("class"))&&r.push(n)}),r})},createElement:function(e){var t=new U;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new C,(t.attributes=new S)._ownerElement=t,t},createDocumentFragment:function(){var e=new G;return e.ownerDocument=this,e.childNodes=new C,e},createTextNode:function(e){var t=new V;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new Y;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new z;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var r=new X;return r.ownerDocument=this,r.tagName=r.target=e,r.nodeValue=r.data=t,r},createAttribute:function(e){var t=new F;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new W;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var r=new U,n=t.split(":"),o=r.attributes=new S;return r.childNodes=new C,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=e,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,o._ownerElement=r,r},createAttributeNS:function(e,t){var r=new F,n=t.split(":");return r.ownerDocument=this,r.nodeName=t,r.name=t,r.namespaceURI=e,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=t,r}},n(R,I),U.prototype={nodeType:s,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var r=this.ownerDocument.createAttribute(e);r.value=r.nodeValue=""+t,this.setAttributeNode(r)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===f?this.insertBefore(e,null):function(e,t){var r=t.parentNode;if(r){var n=e.lastChild;r.removeChild(t);var n=e.lastChild}var n=e.lastChild;return t.parentNode=e,t.previousSibling=n,t.nextSibling=null,n?n.nextSibling=t:e.firstChild=t,e.lastChild=t,L(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);r&&this.removeAttributeNode(r)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var r=this.getAttributeNodeNS(e,t);return r&&r.value||""},setAttributeNS:function(e,t,r){var n=this.ownerDocument.createAttributeNS(e,t);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new w(this,function(t){var r=[];return N(t,function(n){n!==t&&n.nodeType==s&&("*"===e||n.tagName==e)&&r.push(n)}),r})},getElementsByTagNameNS:function(e,t){return new w(this,function(r){var n=[];return N(r,function(o){o!==r&&o.nodeType===s&&("*"===e||o.namespaceURI===e)&&("*"===t||o.localName==t)&&n.push(o)}),n})}},R.prototype.getElementsByTagName=U.prototype.getElementsByTagName,R.prototype.getElementsByTagNameNS=U.prototype.getElementsByTagNameNS,n(U,I),F.prototype.nodeType=i,n(F,I),K.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(y[v])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,r){r=this.data.substring(0,e)+r+this.data.substring(e+t),this.nodeValue=this.data=r,this.length=r.length}},n(K,I),V.prototype={nodeName:"#text",nodeType:a,splitText:function(e){var t=this.data,r=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},n(V,K),Y.prototype={nodeName:"#comment",nodeType:p},n(Y,K),z.prototype={nodeName:"#cdata-section",nodeType:d},n(z,K),H.prototype.nodeType=h,n(H,I),$.prototype.nodeType=g,n($,I),q.prototype.nodeType=c,n(q,I),W.prototype.nodeType=l,n(W,I),G.prototype.nodeName="#document-fragment",G.prototype.nodeType=f,n(G,I),X.prototype.nodeType=u,n(X,I),(function(){}).prototype.serializeToString=function(e,t,r){return Q.call(e,t,r)},I.prototype.toString=Q;try{Object.defineProperty&&(Object.defineProperty(w.prototype,"length",{get:function(){return j(this),this.$$length}}),Object.defineProperty(I.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case s:case f:var r=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&r.push(e(t)),t=t.nextSibling;return r.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case s:case f:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ee=function(e,t,r){e["$$"+t]=r})}catch(e){}t.x2=D},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/entities.js"(e,t){t.entityMap={lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",times:"\xd7",divide:"\xf7",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},"../../../node_modules/.pnpm/plist@3.0.6/node_modules/plist/lib/xmldom/sax.js"(e,t){var r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,n=RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=RegExp("^"+r.source+n.source+"*(?::"+r.source+n.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function i(){}function a(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function d(e,t,r){for(var n=e.tagName,o=null,s=e.length;s--;){var i=e[s],a=i.qName,d=i.value,c=a.indexOf(":");if(c>0)var u=i.prefix=a.slice(0,c),p=a.slice(c+1),m="xmlns"===u&&p;else p=a,u=null,m="xmlns"===a&&"";i.localName=p,!1!==m&&(null==o&&(o={},l(r,r={})),r[m]=o[m]=d,i.uri="http://www.w3.org/2000/xmlns/",t.startPrefixMapping(m,d))}for(var s=e.length;s--;){var u=(i=e[s]).prefix;u&&("xml"===u&&(i.uri="http://www.w3.org/XML/1998/namespace"),"xmlns"!==u&&(i.uri=r[u||""]))}var c=n.indexOf(":");c>0?(u=e.prefix=n.slice(0,c),p=e.localName=n.slice(c+1)):(u=null,p=e.localName=n);var h=e.uri=r[u||""];if(t.startElement(h,p,n,e),!e.closed)return e.currentNSMap=r,e.localNSMap=o,!0;if(t.endElement(h,p,n),o)for(u in o)t.endPrefixMapping(u)}function l(e,t){for(var r in e)t[r]=e[r]}function c(){this.attributeNames={}}s.prototype=Error(),s.prototype.name=s.name,i.prototype={parse:function(e,t,r){var n=this.domBuilder;n.startDocument(),l(t,t={}),function(e,t,r,n,o){function i(e){var t,n=e.slice(1,-1);return n in r?r[n]:"#"===n.charAt(0)?(t=parseInt(n.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t):(o.error("entity not found:"+e),e)}function l(t){if(t>y){var r=e.substring(y,t).replace(/&#?\w+;/g,i);f&&u(y),n.characters(r,0,t-y),y=t}}function u(t,r){for(;t>=m&&(r=h.exec(e));)m=(p=r.index)+r[0].length,f.lineNumber++;f.columnNumber=t-p+1}for(var p=0,m=0,h=/.*(?:\r\n?|\n)|.*$/g,f=n.locator,g=[{currentNSMap:t}],b={},y=0;;){try{var v=e.indexOf("<",y);if(v<0){if(!e.substr(y).match(/^\s*$/)){var _=n.doc,x=_.createTextNode(e.substr(y));_.appendChild(x),n.currentElement=x}return}switch(v>y&&l(v),e.charAt(v+1)){case"/":var E=e.indexOf(">",v+3),C=e.substring(v+2,E),w=g.pop();E<0?(C=e.substring(v+2).replace(/[\s<].*/,""),o.error("end tag name: "+C+" is not complete:"+w.tagName),E=v+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),o.error("end tag name: "+C+" maybe not complete"),E=v+1+C.length);var j=w.localNSMap,S=w.tagName==C;if(S||w.tagName&&w.tagName.toLowerCase()==C.toLowerCase()){if(n.endElement(w.uri,w.localName,C),j)for(var k in j)n.endPrefixMapping(k);S||o.fatalError("end tag name: "+C+" is not match the current start tagName:"+w.tagName)}else g.push(w);E++;break;case"?":f&&u(v),E=function(e,t,r){var n=e.indexOf("?>",t);if(n){var o=e.substring(t,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(o)return o[0].length,r.processingInstruction(o[1],o[2]),n+2}return -1}(e,v,n);break;case"!":f&&u(v),E=function(e,t,r,n){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var o=e.indexOf("--\x3e",t+4);if(o>t)return r.comment(e,t+4,o-t-4),o+3;n.error("Unclosed comment")}}else{if("CDATA["==e.substr(t+3,6)){var o=e.indexOf("]]>",t+9);return r.startCDATA(),r.characters(e,t+9,o-t-9),r.endCDATA(),o+3}var s=function(e,t){var r,n=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(o.lastIndex=t,o.exec(e);r=o.exec(e);)if(n.push(r),r[1])return n}(e,t),i=s.length;if(i>1&&/!doctype/i.test(s[0][0])){var a=s[1][0],d=!1,l=!1;i>3&&(/^public$/i.test(s[2][0])?(d=s[3][0],l=i>4&&s[4][0]):/^system$/i.test(s[2][0])&&(l=s[3][0]));var c=s[i-1];return r.startDTD(a,d,l),r.endDTD(),c.index+c[0].length}}return -1}(e,v,n,o);break;default:f&&u(v);var T=new c,O=g[g.length-1].currentNSMap,E=function(e,t,r,n,o,s){function i(e,t,n){e in r.attributeNames&&s.fatalError("Attribute "+e+" redefined"),r.addValue(e,t,n)}for(var a,d,l=++t,c=0;;){var u=e.charAt(l);switch(u){case"=":if(1===c)a=e.slice(t,l),c=3;else if(2===c)c=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===c||1===c)if(1===c&&(s.warning('attribute value must after "="'),a=e.slice(t,l)),t=l+1,(l=e.indexOf(u,t))>0)i(a,d=e.slice(t,l).replace(/&#?\w+;/g,o),t-1),c=5;else throw Error("attribute value no end '"+u+"' match");else if(4==c)i(a,d=e.slice(t,l).replace(/&#?\w+;/g,o),t),s.warning('attribute "'+a+'" missed start quot('+u+")!!"),t=l+1,c=5;else throw Error('attribute value must after "="');break;case"/":switch(c){case 0:r.setTagName(e.slice(t,l));case 5:case 6:case 7:c=7,r.closed=!0;case 4:case 1:case 2:break;default:throw Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==c&&r.setTagName(e.slice(t,l)),l;case">":switch(c){case 0:r.setTagName(e.slice(t,l));case 5:case 6:case 7:break;case 4:case 1:"/"===(d=e.slice(t,l)).slice(-1)&&(r.closed=!0,d=d.slice(0,-1));case 2:2===c&&(d=a),4==c?(s.warning('attribute "'+d+'" missed quot(")!'),i(a,d.replace(/&#?\w+;/g,o),t)):("http://www.w3.org/1999/xhtml"===n[""]&&d.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+d+'" missed value!! "'+d+'" instead!!'),i(d,d,t));break;case 3:throw Error("attribute value missed!!")}return l;case"\x80":u=" ";default:if(u<=" ")switch(c){case 0:r.setTagName(e.slice(t,l)),c=6;break;case 1:a=e.slice(t,l),c=2;break;case 4:var d=e.slice(t,l).replace(/&#?\w+;/g,o);s.warning('attribute "'+d+'" missed quot(")!!'),i(a,d,t);case 5:c=6}else switch(c){case 2:r.tagName,"http://www.w3.org/1999/xhtml"===n[""]&&a.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+a+'" missed value!! "'+a+'" instead2!!'),i(a,a,t),t=l,c=1;break;case 5:s.warning('attribute space is required"'+a+'"!!');case 6:c=1,t=l;break;case 3:c=4,t=l;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}l++}}(e,v,T,O,i,o),D=T.length;if(!T.closed&&function(e,t,r,n){var o=n[r];return null==o&&((o=e.lastIndexOf("</"+r+">"))<t&&(o=e.lastIndexOf("</"+r)),n[r]=o),o<t}(e,E,T.tagName,b)&&(T.closed=!0,r.nbsp||o.warning("unclosed xml attribute")),f&&D){for(var I=a(f,{}),A=0;A<D;A++){var N=T[A];u(N.offset),N.locator=a(f,{})}n.locator=I,d(T,n,O)&&g.push(T),n.locator=f}else d(T,n,O)&&g.push(T);"http://www.w3.org/1999/xhtml"!==T.uri||T.closed?E++:E=function(e,t,r,n,o){if(/^(?:script|textarea)$/i.test(r)){var s=e.indexOf("</"+r+">",t),i=e.substring(t+1,s);if(/[&<]/.test(i))return/^script$/i.test(r)||(i=i.replace(/&#?\w+;/g,n)),o.characters(i,0,i.length),s}return t+1}(e,E,T.tagName,i,n)}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),E=-1}E>y?y=E:l(Math.max(v,y)+1)}}(e,t,r,n,this.errorHandler),n.endDocument()}},c.prototype={setTagName:function(e){if(!o.test(e))throw Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,r){if(!o.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=i,t.ParseError=s},"../../../node_modules/.pnpm/q@1.5.1/node_modules/q/q.js"(e){!function(t){"use strict";"function"==typeof bootstrap?bootstrap("promise",t):e.exports=t()}(function(){"use strict";var e,t,r=!1;try{throw Error()}catch(e){r=!!e.stack}var n=v(),o=function(){},s=function(){var e={task:void 0,next:null},t=e,r=!1,n=void 0,o=!1,i=[];function a(){for(var t,n;e.next;)t=(e=e.next).task,e.task=void 0,(n=e.domain)&&(e.domain=void 0,n.enter()),d(t,n);for(;i.length;)d(t=i.pop());r=!1}function d(e,t){try{e()}catch(e){if(o)throw t&&t.exit(),setTimeout(a,0),t&&t.enter(),e;setTimeout(function(){throw e},0)}t&&t.exit()}if(s=function(e){t=t.next={task:e,domain:o&&process.domain,next:null},r||(r=!0,n())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)o=!0,n=function(){process.nextTick(a)};else if("function"==typeof setImmediate)n="u">typeof window?setImmediate.bind(window,a):function(){setImmediate(a)};else if("u">typeof MessageChannel){var l=new MessageChannel;l.port1.onmessage=function(){n=c,l.port1.onmessage=a,a()};var c=function(){l.port2.postMessage(0)};n=function(){setTimeout(a,0),c()}}else n=function(){setTimeout(a,0)};return s.runAfter=function(e){i.push(e),r||(r=!0,n())},s}(),i=Function.call;function a(e){return function(){return i.apply(e,arguments)}}var d=a(Array.prototype.slice),l=a(Array.prototype.reduce||function(e,t){var r=0,n=this.length;if(1==arguments.length)for(;;){if(r in this){t=this[r++];break}if(++r>=n)throw TypeError()}for(;r<n;r++)r in this&&(t=e(t,this[r],r));return t}),c=a(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return -1}),u=a(Array.prototype.map||function(e,t){var r=this,n=[];return l(r,function(o,s,i){n.push(e.call(t,s,i,r))},void 0),n}),p=Object.create||function(e){function t(){}return t.prototype=e,new t},m=Object.defineProperty||function(e,t,r){return e[t]=r.value,e},h=a(Object.prototype.hasOwnProperty),f=Object.keys||function(e){var t=[];for(var r in e)h(e,r)&&t.push(r);return t},g=a(Object.prototype.toString);function b(t,o){if(r&&o.stack&&"object"==typeof t&&null!==t&&t.stack){for(var s=[],i=o;i;i=i.source)i.stack&&(!t.__minimumStackCounter__||t.__minimumStackCounter__>i.stackCounter)&&(m(t,"__minimumStackCounter__",{value:i.stackCounter,configurable:!0}),s.unshift(i.stack));s.unshift(t.stack),m(t,"stack",{value:function(t){for(var r=t.split("\n"),o=[],s=0;s<r.length;++s){var i,a=r[s];!function(t){var r=y(t);if(!r)return!1;var o=r[0],s=r[1];return o===e&&s>=n&&s<=V}(a)&&-1===(i=a).indexOf("(module.js:")&&-1===i.indexOf("(node.js:")&&a&&o.push(a)}return o.join("\n")}(s.join("\nFrom previous event:\n")),configurable:!0})}}function y(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var r=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(r)return[r[1],Number(r[2])];var n=/.*@(.+):(\d+)$/.exec(e);if(n)return[n[1],Number(n[2])]}function v(){if(r)try{throw Error()}catch(r){var t=r.stack.split("\n"),n=y(t[0].indexOf("@")>0?t[1]:t[2]);if(!n)return;return e=n[0],n[1]}}function _(e){var t,r;return e instanceof j?e:O(e)?(t=e,r=E(),_.nextTick(function(){try{t.then(r.resolve,r.reject,r.notify)}catch(e){r.reject(e)}}),r.promise):L(e)}t="u">typeof ReturnValue?ReturnValue:function(e){this.value=e},_.resolve=_,_.nextTick=s,_.longStackSupport=!1;var x=1;function E(){var e,t=[],n=[],o=p(E.prototype),s=p(j.prototype);if(s.promiseDispatch=function(r,o,s){var i=d(arguments);t?(t.push(i),"when"===o&&s[1]&&n.push(s[1])):_.nextTick(function(){e.promiseDispatch.apply(e,i)})},s.valueOf=function(){if(t)return s;var r=k(e);return T(r)&&(e=r),r},s.inspect=function(){return e?e.inspect():{state:"pending"}},_.longStackSupport&&r)try{throw Error()}catch(e){s.stack=e.stack.substring(e.stack.indexOf("\n")+1),s.stackCounter=x++}function i(o){e=o,_.longStackSupport&&r&&(s.source=o),l(t,function(e,t){_.nextTick(function(){o.promiseDispatch.apply(o,t)})},void 0),t=void 0,n=void 0}return o.promise=s,o.resolve=function(t){e||i(_(t))},o.fulfill=function(t){e||i(L(t))},o.reject=function(t){e||i(P(t))},o.notify=function(t){e||l(n,function(e,r){_.nextTick(function(){r(t)})},void 0)},o}function C(e){if("function"!=typeof e)throw TypeError("resolver must be a function.");var t=E();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function w(e){return C(function(t,r){for(var n=0,o=e.length;n<o;n++)_(e[n]).then(t,r)})}function j(e,t,r){void 0===t&&(t=function(e){return P(Error("Promise does not support operation: "+e))}),void 0===r&&(r=function(){return{state:"unknown"}});var n=p(j.prototype);if(n.promiseDispatch=function(r,o,s){var i;try{i=e[o]?e[o].apply(n,s):t.call(n,o,s)}catch(e){i=P(e)}r&&r(i)},n.inspect=r,r){var o=r();"rejected"===o.state&&(n.exception=o.reason),n.valueOf=function(){var e=r();return"pending"===e.state||"rejected"===e.state?n:e.value}}return n}function S(e,t,r,n){return _(e).then(t,r,n)}function k(e){if(T(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function T(e){return e instanceof j}function O(e){return e===Object(e)&&"function"==typeof e.then}"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(_.longStackSupport=!0),_.defer=E,E.prototype.makeNodeResolver=function(){var e=this;return function(t,r){t?e.reject(t):arguments.length>2?e.resolve(d(arguments,1)):e.resolve(r)}},_.Promise=C,_.promise=C,C.race=w,C.all=U,C.reject=P,C.resolve=_,_.passByCopy=function(e){return e},j.prototype.passByCopy=function(){return this},_.join=function(e,t){return _(e).join(t)},j.prototype.join=function(e){return _([this,e]).spread(function(e,t){if(e===t)return e;throw Error("Q can't join: not the same: "+e+" "+t)})},_.race=w,j.prototype.race=function(){return this.then(_.race)},_.makePromise=j,j.prototype.toString=function(){return"[object Promise]"},j.prototype.then=function(e,t,r){var n=this,o=E(),s=!1;return _.nextTick(function(){n.promiseDispatch(function(t){s||(s=!0,o.resolve(function(t){try{return"function"==typeof e?e(t):t}catch(e){return P(e)}}(t)))},"when",[function(e){s||(s=!0,o.resolve(function(e){if("function"==typeof t){b(e,n);try{return t(e)}catch(e){return P(e)}}return P(e)}(e)))}])}),n.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t="function"==typeof r?r(e):e}catch(e){if(n=!0,_.onerror)_.onerror(e);else throw e}n||o.notify(t)}]),o.promise},_.tap=function(e,t){return _(e).tap(t)},j.prototype.tap=function(e){return e=_(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},_.when=S,j.prototype.thenResolve=function(e){return this.then(function(){return e})},_.thenResolve=function(e,t){return _(e).thenResolve(t)},j.prototype.thenReject=function(e){return this.then(function(){throw e})},_.thenReject=function(e,t){return _(e).thenReject(t)},_.nearer=k,_.isPromise=T,_.isPromiseAlike=O,_.isPending=function(e){return T(e)&&"pending"===e.inspect().state},j.prototype.isPending=function(){return"pending"===this.inspect().state},_.isFulfilled=function(e){return!T(e)||"fulfilled"===e.inspect().state},j.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},_.isRejected=function(e){return T(e)&&"rejected"===e.inspect().state},j.prototype.isRejected=function(){return"rejected"===this.inspect().state};var D=[],I=[],A=[],N=!0;function R(){D.length=0,I.length=0,N||(N=!0)}function P(e){var t=j({when:function(t){return t&&function(e){if(N){var t=c(I,e);-1!==t&&("object"==typeof process&&"function"==typeof process.emit&&_.nextTick.runAfter(function(){var r=c(A,e);-1!==r&&(process.emit("rejectionHandled",D[t],e),A.splice(r,1))}),I.splice(t,1),D.splice(t,1))}}(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return N&&("object"==typeof process&&"function"==typeof process.emit&&_.nextTick.runAfter(function(){-1!==c(I,t)&&(process.emit("unhandledRejection",e,t),A.push(t))}),I.push(t),e&&void 0!==e.stack?D.push(e.stack):D.push("(no stack) "+e)),t}function L(e){return j({when:function(){return e},get:function(t){return e[t]},set:function(t,r){e[t]=r},delete:function(t){delete e[t]},post:function(t,r){return null==t?e.apply(void 0,r):e[t].apply(e,r)},apply:function(t,r){return e.apply(t,r)},keys:function(){return f(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function B(e,t,r){return _(e).spread(t,r)}function M(e,t,r){return _(e).dispatch(t,r)}function U(e){return S(e,function(e){var t=0,r=E();return l(e,function(n,o,s){var i;T(o)&&"fulfilled"===(i=o.inspect()).state?e[s]=i.value:(++t,S(o,function(n){e[s]=n,0==--t&&r.resolve(e)},r.reject,function(e){r.notify({index:s,value:e})}))},void 0),0===t&&r.resolve(e),r.promise})}function F(e){if(0===e.length)return _.resolve();var t=_.defer(),r=0;return l(e,function(n,o,s){var i=e[s];r++,S(i,function(e){t.resolve(e)},function(e){if(0==--r){var n=e||Error(""+e);n.message="Q can't get fulfillment value from any promise, all promises were rejected. Last error message: "+n.message,t.reject(n)}},function(e){t.notify({index:s,value:e})})},void 0),t.promise}function K(e){return S(e,function(e){return e=u(e,_),S(U(u(e,function(e){return S(e,o,o)})),function(){return e})})}_.resetUnhandledRejections=R,_.getUnhandledReasons=function(){return D.slice()},_.stopUnhandledRejectionTracking=function(){R(),N=!1},R(),_.reject=P,_.fulfill=L,_.master=function(e){return j({isDef:function(){}},function(t,r){return M(e,t,r)},function(){return _(e).inspect()})},_.spread=B,j.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},_.async=function(e){return function(){function r(e,r){var i;if("u"<typeof StopIteration){try{i=n[e](r)}catch(e){return P(e)}return i.done?_(i.value):S(i.value,o,s)}try{i=n[e](r)}catch(e){if("[object StopIteration]"===g(e)||e instanceof t)return _(e.value);return P(e)}return S(i,o,s)}var n=e.apply(this,arguments),o=r.bind(r,"next"),s=r.bind(r,"throw");return o()}},_.spawn=function(e){_.done(_.async(e)())},_.return=function(e){throw new t(e)},_.promised=function(e){return function(){return B([this,U(arguments)],function(t,r){return e.apply(t,r)})}},_.dispatch=M,j.prototype.dispatch=function(e,t){var r=this,n=E();return _.nextTick(function(){r.promiseDispatch(n.resolve,e,t)}),n.promise},_.get=function(e,t){return _(e).dispatch("get",[t])},j.prototype.get=function(e){return this.dispatch("get",[e])},_.set=function(e,t,r){return _(e).dispatch("set",[t,r])},j.prototype.set=function(e,t){return this.dispatch("set",[e,t])},_.del=_.delete=function(e,t){return _(e).dispatch("delete",[t])},j.prototype.del=j.prototype.delete=function(e){return this.dispatch("delete",[e])},_.mapply=_.post=function(e,t,r){return _(e).dispatch("post",[t,r])},j.prototype.mapply=j.prototype.post=function(e,t){return this.dispatch("post",[e,t])},_.send=_.mcall=_.invoke=function(e,t){return _(e).dispatch("post",[t,d(arguments,2)])},j.prototype.send=j.prototype.mcall=j.prototype.invoke=function(e){return this.dispatch("post",[e,d(arguments,1)])},_.fapply=function(e,t){return _(e).dispatch("apply",[void 0,t])},j.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},_.try=_.fcall=function(e){return _(e).dispatch("apply",[void 0,d(arguments,1)])},j.prototype.fcall=function(){return this.dispatch("apply",[void 0,d(arguments)])},_.fbind=function(e){var t=_(e),r=d(arguments,1);return function(){return t.dispatch("apply",[this,r.concat(d(arguments))])}},j.prototype.fbind=function(){var e=this,t=d(arguments);return function(){return e.dispatch("apply",[this,t.concat(d(arguments))])}},_.keys=function(e){return _(e).dispatch("keys",[])},j.prototype.keys=function(){return this.dispatch("keys",[])},_.all=U,j.prototype.all=function(){return U(this)},_.any=F,j.prototype.any=function(){return F(this)},_.allResolved=function(){return"u">typeof console&&"function"==typeof console.warn&&console.warn("allResolved is deprecated, use allSettled instead.",Error("").stack),K.apply(K,arguments)},j.prototype.allResolved=function(){return K(this)},_.allSettled=function(e){return _(e).allSettled()},j.prototype.allSettled=function(){return this.then(function(e){return U(u(e,function(e){function t(){return e.inspect()}return(e=_(e)).then(t,t)}))})},_.fail=_.catch=function(e,t){return _(e).then(void 0,t)},j.prototype.fail=j.prototype.catch=function(e){return this.then(void 0,e)},_.progress=function(e,t){return _(e).then(void 0,void 0,t)},j.prototype.progress=function(e){return this.then(void 0,void 0,e)},_.fin=_.finally=function(e,t){return _(e).finally(t)},j.prototype.fin=j.prototype.finally=function(e){if(!e||"function"!=typeof e.apply)throw Error("Q can't apply finally callback");return e=_(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},_.done=function(e,t,r,n){return _(e).done(t,r,n)},j.prototype.done=function(e,t,r){var n=function(e){_.nextTick(function(){if(b(e,o),_.onerror)_.onerror(e);else throw e})},o=e||t||r?this.then(e,t,r):this;"object"==typeof process&&process&&process.domain&&(n=process.domain.bind(n)),o.then(void 0,n)},_.timeout=function(e,t,r){return _(e).timeout(t,r)},j.prototype.timeout=function(e,t){var r=E(),n=setTimeout(function(){t&&"string"!=typeof t||((t=Error(t||"Timed out after "+e+" ms")).code="ETIMEDOUT"),r.reject(t)},e);return this.then(function(e){clearTimeout(n),r.resolve(e)},function(e){clearTimeout(n),r.reject(e)},r.notify),r.promise},_.delay=function(e,t){return void 0===t&&(t=e,e=void 0),_(e).delay(t)},j.prototype.delay=function(e){return this.then(function(t){var r=E();return setTimeout(function(){r.resolve(t)},e),r.promise})},_.nfapply=function(e,t){return _(e).nfapply(t)},j.prototype.nfapply=function(e){var t=E(),r=d(e);return r.push(t.makeNodeResolver()),this.fapply(r).fail(t.reject),t.promise},_.nfcall=function(e){var t=d(arguments,1);return _(e).nfapply(t)},j.prototype.nfcall=function(){var e=d(arguments),t=E();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},_.nfbind=_.denodeify=function(e){if(void 0===e)throw Error("Q can't wrap an undefined function");var t=d(arguments,1);return function(){var r=t.concat(d(arguments)),n=E();return r.push(n.makeNodeResolver()),_(e).fapply(r).fail(n.reject),n.promise}},j.prototype.nfbind=j.prototype.denodeify=function(){var e=d(arguments);return e.unshift(this),_.denodeify.apply(void 0,e)},_.nbind=function(e,t){var r=d(arguments,2);return function(){var n=r.concat(d(arguments)),o=E();return n.push(o.makeNodeResolver()),_(function(){return e.apply(t,arguments)}).fapply(n).fail(o.reject),o.promise}},j.prototype.nbind=function(){var e=d(arguments,0);return e.unshift(this),_.nbind.apply(void 0,e)},_.nmapply=_.npost=function(e,t,r){return _(e).npost(t,r)},j.prototype.nmapply=j.prototype.npost=function(e,t){var r=d(t||[]),n=E();return r.push(n.makeNodeResolver()),this.dispatch("post",[e,r]).fail(n.reject),n.promise},_.nsend=_.nmcall=_.ninvoke=function(e,t){var r=d(arguments,2),n=E();return r.push(n.makeNodeResolver()),_(e).dispatch("post",[t,r]).fail(n.reject),n.promise},j.prototype.nsend=j.prototype.nmcall=j.prototype.ninvoke=function(e){var t=d(arguments,1),r=E();return t.push(r.makeNodeResolver()),this.dispatch("post",[e,t]).fail(r.reject),r.promise},_.nodeify=function(e,t){return _(e).nodeify(t)},j.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){_.nextTick(function(){e(null,t)})},function(t){_.nextTick(function(){e(t)})})},_.noConflict=function(){throw Error("Q.noConflict only works when Q is used as a global")};var V=v();return _})},"../../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js"(e,t,r){"production"!==process.env.NODE_ENV&&function(){function e(t){if(null==t)return null;if("function"==typeof t)return t.$$typeof===w?null:t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case m:return"Fragment";case f:return"Profiler";case h:return"StrictMode";case v:return"Suspense";case _:return"SuspenseList";case C:return"Activity"}if("object"==typeof t)switch("number"==typeof t.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case p:return"Portal";case b:return t.displayName||"Context";case g:return(t._context.displayName||"Context")+".Consumer";case y:var r=t.render;return(t=t.displayName)||(t=""!==(t=r.displayName||r.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case x:return null!==(r=t.displayName||null)?r:e(t.type)||"Memo";case E:r=t._payload,t=t._init;try{return e(t(r))}catch(e){}}return null}function n(e){try{var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,n="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),""+e}}function o(t){if(t===m)return"<>";if("object"==typeof t&&null!==t&&t.$$typeof===E)return"<...>";try{var r=e(t);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function s(){return Error("react-stack-top-frame")}function i(){var t=e(this.type);return O[t]||(O[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(t=this.props.ref)?t:null}function a(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===E&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===u}var l,c=r("../../../node_modules/.pnpm/react@19.2.7/node_modules/react/index.js"),u=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),b=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),C=Symbol.for("react.activity"),w=Symbol.for("react.client.reference"),j=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,S=Object.prototype.hasOwnProperty,k=Array.isArray,T=console.createTask?console.createTask:function(){return null},O={},D=(c={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(c,s)(),I=T(o(s)),A={};t.jsx=function(t,r,s){var d=1e4>j.recentlyCreatedOwnerStacks++;return function(t,r,o,s,d,c){var p,m,h,f,g,b,y=r.children;if(void 0!==y)if(s)if(k(y)){for(s=0;s<y.length;s++)a(y[s]);Object.freeze&&Object.freeze(y)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else a(y);if(S.call(r,"key")){y=e(t);var v=Object.keys(r).filter(function(e){return"key"!==e});A[y+(s=0<v.length?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}")]||(console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',s,y,v=0<v.length?"{"+v.join(": ..., ")+": ...}":"{}",y),A[y+s]=!0)}if(y=null,void 0!==o&&(n(o),y=""+o),function(e){if(S.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(r)&&(n(r.key),y=""+r.key),"key"in r)for(var _ in o={},r)"key"!==_&&(o[_]=r[_]);else o=r;return y&&function(e,t){function r(){l||(l=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof t?t.displayName||t.name||"Unknown":t),m=t,h=y,f=o,g=null===(p=j.A)?null:p.getOwner(),b=f.ref,m={$$typeof:u,type:m,key:h,props:f,_owner:g},null!==(void 0!==b?b:null)?Object.defineProperty(m,"ref",{enumerable:!1,get:i}):Object.defineProperty(m,"ref",{enumerable:!1,value:null}),m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(m,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(m,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:d}),Object.defineProperty(m,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:c}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m}(t,r,s,!1,d?Error("react-stack-top-frame"):D,d?T(o(t)):I)}}()},"../../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.production.js"(e,t){var r=Symbol.for("react.transitional.element");Symbol.for("react.fragment"),t.jsx=function(e,t,n){var o=null;if(void 0!==n&&(o=""+n),void 0!==t.key&&(o=""+t.key),"key"in t)for(var s in n={},t)"key"!==s&&(n[s]=t[s]);else n=t;return{$$typeof:r,type:e,key:o,ref:void 0!==(t=n.ref)?t:null,props:n}}},"../../../node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js"(e,t,r){"production"===process.env.NODE_ENV?e.exports=r("../../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.production.js"):e.exports=r("../../../node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js")},"../../../node_modules/.pnpm/strnum@1.1.2/node_modules/strnum/strnum.js"(e){let t=/^[-+]?0x[a-fA-F0-9]+$/,r=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,n={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};e.exports=function(e,o={}){if(o=Object.assign({},n,o),!e||"string"!=typeof e)return e;let s=e.trim();if(void 0!==o.skipLike&&o.skipLike.test(s))return e;if("0"===e)return 0;if(o.hex&&t.test(s)){var i,a=s;if(parseInt)return parseInt(a,16);if(Number.parseInt)return Number.parseInt(a,16);if(window&&window.parseInt)return window.parseInt(a,16);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}if(-1!==s.search(/[eE]/)){let t=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(!t)return e;if(o.leadingZeros)s=(t[1]||"")+t[3];else if("0"!==t[2]||"."!==t[3][0])return e;return o.eNotation?Number(s):e}{let t=r.exec(s);if(!t)return e;{let r=t[1],n=t[2],a=((i=t[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substr(0,i.length-1))),i);if(!o.leadingZeros&&n.length>0&&r&&"."!==s[2])return e;{if(!o.leadingZeros&&n.length>0&&!r&&"."!==s[1])return e;if(o.leadingZeros&&n===e)return 0;let t=Number(s),i=""+t;if(-1!==i.search(/[eE]/))if(o.eNotation)return t;else return e;if(-1!==s.indexOf("."))if("0"===i&&""===a)return t;else if(i===a)return t;else if(r&&i==="-"+a)return t;else return e;return n?a===i||r+a===i?t:e:s===i||s===r+i?t:e}}}}},"../../../node_modules/.pnpm/universalify@2.0.1/node_modules/universalify/index.js"(e,t){t.fromCallback=function(e){return Object.defineProperty(function(...t){if("function"!=typeof t[t.length-1])return new Promise((r,n)=>{t.push((e,t)=>null!=e?n(e):r(t)),e.apply(this,t)});e.apply(this,t)},"name",{value:e.name})},t.fromPromise=function(e){return Object.defineProperty(function(...t){let r=t[t.length-1];if("function"!=typeof r)return e.apply(this,t);t.pop(),e.apply(this,t).then(e=>r(null,e),r)},"name",{value:e.name})}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/BufferStream.js"(e,t,r){let n=r("stream");e.exports=function(e){return new Promise(function(t,r){let o=[],s=n.Transform().on("finish",function(){t(Buffer.concat(o))}).on("error",r);s._transform=function(e,t,r){o.push(e),r()},e.on("error",r).pipe(s)})}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Decrypt.js"(e,t,r){let n,o=r("../../../node_modules/.pnpm/node-int64@0.4.0/node_modules/node-int64/Int64.js"),s=r("stream");function i(e,t){return n||function(){let e,t,r;for(t=0,n=[];t<256;t++){for(e=t,r=0;r<8;r++)e=1&e?0xedb88320^e>>>1:e>>>=1;n[t]=e>>>0}}(),e.charCodeAt&&(e=e.charCodeAt(0)),(t.readUInt32BE()>>8&0xffffff^n[(t.readUInt32BE()^e>>>0)&255])>>>0}function a(e,t){let r=65535&e,n=65535&t;return(((e>>16&65535)*n+r*(t>>16&65535)&65535)<<16>>>0)+r*n}function d(){if(!(this instanceof d))return new d;this.key0=Buffer.allocUnsafe(4),this.key1=Buffer.allocUnsafe(4),this.key2=Buffer.allocUnsafe(4),this.key0.writeUInt32BE(0x12345678,0),this.key1.writeUInt32BE(0x23456789,0),this.key2.writeUInt32BE(0x34567890,0)}s.Writable&&s.Writable.prototype.destroy||(s=r("../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/readable.js")),d.prototype.update=function(e){this.key0.writeUInt32BE(i(e,this.key0)),this.key1.writeUInt32BE((255&this.key0.readUInt32BE())+this.key1.readUInt32BE()>>>0);let t=new o(a(this.key1.readUInt32BE(),0x8088405)+1|0),r=Buffer.alloc(8);t.copy(r,0),r.copy(this.key1,0,4,8),this.key2.writeUInt32BE(i((this.key1.readUInt32BE()>>24&255)>>>0,this.key2))},d.prototype.decryptByte=function(e){let t=(2|this.key2.readUInt32BE())>>>0;return e^=a(t,1^t)>>8&255,this.update(e),e},d.prototype.stream=function(){let e=s.Transform(),t=this;return e._transform=function(e,r,n){for(let r=0;r<e.length;r++)e[r]=t.decryptByte(e[r]);this.push(e),n()},e},e.exports=d},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/NoopStream.js"(e,t,r){let n=r("stream");function o(){if(!(this instanceof o))return new o;n.Transform.call(this)}r("util").inherits(o,n.Transform),o.prototype._transform=function(e,t,r){r()},e.exports=o},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Open/directory.js"(e,t,r){let n=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/PullStream.js"),o=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Open/unzip.js"),s=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/BufferStream.js"),i=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseExtraField.js"),a=r("path"),d=r("../../../node_modules/.pnpm/fs-extra@11.4.0/node_modules/fs-extra/lib/index.js"),l=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseDateTime.js"),c=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseBuffer.js"),u=r("../../../node_modules/.pnpm/bluebird@3.7.2/node_modules/bluebird/js/release/bluebird.js"),p=Buffer.alloc(4);p.writeUInt32LE(0x6054b50,0),e.exports=function(e,t){let r,m,h,f,g,b=n(),y=n(),v=t&&t.tailSize||80;return t&&t.crx&&(m=(g=e.stream(0).pipe(n())).pull(4).then(function(e){if(0x34327243===e.readUInt32LE(0)){let e;return g.pull(12).then(function(t){e=c.parse(t,[["version",4],["pubKeyLength",4],["signatureLength",4]])}).then(function(){return g.pull(e.pubKeyLength+e.signatureLength)}).then(function(t){return e.publicKey=t.slice(0,e.pubKeyLength),e.signature=t.slice(e.pubKeyLength),e.size=16+e.pubKeyLength+e.signatureLength,e})}})),e.size().then(function(t){return r=t,e.stream(Math.max(0,t-v)).on("error",function(e){b.emit("error",e)}).pipe(b),b.pull(p)}).then(function(){return u.props({directory:b.pull(22),crxHeader:m})}).then(function(t){let o=t.directory;if(h=t.crxHeader&&t.crxHeader.size||0,65535==(f=c.parse(o,[["signature",4],["diskNumber",2],["diskStart",2],["numberOfRecordsOnDisk",2],["numberOfRecords",2],["sizeOfCentralDirectory",4],["offsetToStartOfCentralDirectory",4],["commentLength",2]])).diskNumber||65535==f.numberOfRecords||0xffffffff==f.offsetToStartOfCentralDirectory){let t=r-(v-b.match+20),o=n();return e.stream(t).pipe(o),o.pull(20).then(function(t){let r=c.parse(t,[["signature",4],["diskNumber",4],["offsetToStartOfCentralDirectory",8],["numberOfDisks",4]]);if(0x7064b50!=r.signature)throw Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+r.signature.toString(16));let o=n();return e.stream(r.offsetToStartOfCentralDirectory).pipe(o),o.pull(56)}).then(function(e){f=function(e){let t=c.parse(e,[["signature",4],["sizeOfCentralDirectory",8],["version",2],["versionsNeededToExtract",2],["diskNumber",4],["diskStart",4],["numberOfRecordsOnDisk",8],["numberOfRecords",8],["sizeOfCentralDirectory",8],["offsetToStartOfCentralDirectory",8]]);if(0x6064b50!=t.signature)throw Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+t.signature.toString(16));return t}(e)})}f.offsetToStartOfCentralDirectory+=h}).then(function(){if(f.commentLength)return b.pull(f.commentLength).then(function(e){f.comment=e.toString("utf8")})}).then(function(){return e.stream(f.offsetToStartOfCentralDirectory).pipe(y),f.extract=function(e){if(!e||!e.path)throw Error("PATH_MISSING");return e.path=a.resolve(a.normalize(e.path)),f.files.then(function(t){return u.map(t,async function(t){let r=a.join(e.path,t.path);if(0!=r.indexOf(e.path))return;if("Directory"==t.type)return void await d.ensureDir(r);await d.ensureDir(a.dirname(r));let n=e.getWriter?e.getWriter({path:r}):d.createWriteStream(r);return new Promise(function(r,o){t.stream(e.password).on("error",o).pipe(n).on("close",r).on("error",o)})},{concurrency:e.concurrency>1?e.concurrency:1})})},f.files=u.mapSeries(Array(f.numberOfRecords),function(){return y.pull(46).then(function(r){let n=c.parse(r,[["signature",4],["versionMadeBy",2],["versionsNeededToExtract",2],["flags",2],["compressionMethod",2],["lastModifiedTime",2],["lastModifiedDate",2],["crc32",4],["compressedSize",4],["uncompressedSize",4],["fileNameLength",2],["extraFieldLength",2],["fileCommentLength",2],["diskNumber",2],["internalFileAttributes",2],["externalFileAttributes",4],["offsetToLocalFileHeader",4]]);return n.offsetToLocalFileHeader+=h,n.lastModifiedDateTime=l(n.lastModifiedDate,n.lastModifiedTime),y.pull(n.fileNameLength).then(function(e){return n.pathBuffer=e,n.path=e.toString("utf8"),n.isUnicode=(2048&n.flags)!=0,y.pull(n.extraFieldLength)}).then(function(e){return n.extra=i(e,n),y.pull(n.fileCommentLength)}).then(function(r){n.comment=r,n.type=0===n.uncompressedSize&&/[/\\]$/.test(n.path)?"Directory":"File";let i=t&&t.padding||1e3;return n.stream=function(t){let r=30+i+(n.extraFieldLength||0)+(n.fileNameLength||0)+n.compressedSize;return o(e,n.offsetToLocalFileHeader,t,n,r)},n.buffer=function(e){return s(n.stream(e))},n})})}),u.props(f)})}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Open/index.js"(e,t,r){let n=r("../../../node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js"),o=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Open/directory.js"),s=r("stream");e.exports={buffer:function(e,t){return o({stream:function(t,r){let n=s.PassThrough();return n.end(e.slice(t,r?t+r:void 0)),n},size:function(){return Promise.resolve(e.length)}},t)},file:function(e,t){return o({stream:function(t,r){return n.createReadStream(e,{start:t,end:r?t+r:void 0})},size:function(){return new Promise(function(t,r){n.stat(e,function(e,n){e?r(e):t(n.size)})})}},t)},url:function(e,t,r){if("string"==typeof t&&(t={url:t}),!t.url)throw"URL missing";return t.headers=t.headers||{},o({stream:function(r,n){let o=Object.create(t);return o.headers=Object.create(t.headers),o.headers.range="bytes="+r+"-"+(n?r+n:""),e(o)},size:function(){return new Promise(function(r,n){let o=e(t);o.on("response",function(e){o.abort(),e.headers["content-length"]?r(e.headers["content-length"]):n(Error("Missing content length header"))}).on("error",n)})}},r)},s3:function(e,t,r){return o({size:function(){return new Promise(function(r,n){e.headObject(t,function(e,t){e?n(e):r(t.ContentLength)})})},stream:function(r,n){let o={};for(let e in t)o[e]=t[e];return o.Range="bytes="+r+"-"+(n?r+n:""),e.getObject(o).createReadStream()}},r)},s3_v3:function(e,t,n){let{GetObjectCommand:i,HeadObjectCommand:a}=r("../../../node_modules/.pnpm/@aws-sdk+client-s3@3.669.0/node_modules/@aws-sdk/client-s3/dist-es/index.js");return o({size:async()=>{let r=await e.send(new a({Bucket:t.Bucket,Key:t.Key}));return r.ContentLength?r.ContentLength:0},stream:(r,n)=>{let o=s.PassThrough();return e.send(new i({Bucket:t.Bucket,Key:t.Key,Range:`bytes=${r}-${n?r+n:""}`})).then(e=>{e.Body.pipe(o)}).catch(e=>{o.emit("error",e)}),o}},n)},custom:function(e,t){return o(e,t)}}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Open/unzip.js"(e,t,r){let n=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Decrypt.js"),o=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/PullStream.js"),s=r("stream"),i=r("zlib"),a=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseExtraField.js"),d=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseDateTime.js"),l=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseBuffer.js");e.exports=function(e,t,r,c,u){let p=o(),m=s.PassThrough(),h=e.stream(t,u);return h.pipe(p).on("error",function(e){m.emit("error",e)}),m.vars=p.pull(30).then(function(e){let t=l.parse(e,[["signature",4],["versionsNeededToExtract",2],["flags",2],["compressionMethod",2],["lastModifiedTime",2],["lastModifiedDate",2],["crc32",4],["compressedSize",4],["uncompressedSize",4],["fileNameLength",2],["extraFieldLength",2]]);return t.lastModifiedDateTime=d(t.lastModifiedDate,t.lastModifiedTime),p.pull(t.fileNameLength).then(function(e){return t.fileName=e.toString("utf8"),p.pull(t.extraFieldLength)}).then(function(e){let o;return t.extra=a(e,t),c&&c.compressedSize&&(t=c),1&t.flags&&(o=p.pull(12).then(function(e){if(!r)throw Error("MISSING_PASSWORD");let o=n();String(r).split("").forEach(function(e){o.update(e)});for(let t=0;t<e.length;t++)e[t]=o.decryptByte(e[t]);t.decrypt=o,t.compressedSize-=12;let s=8&t.flags?t.lastModifiedTime>>8&255:t.crc32>>24&255;if(e[11]!==s)throw Error("BAD_PASSWORD");return t})),Promise.resolve(o).then(function(){return m.emit("vars",t),t})})}),m.vars.then(function(e){let t,r=!(8&e.flags)||e.compressedSize>0,n=e.compressionMethod?i.createInflateRaw():s.PassThrough();r?(m.size=e.uncompressedSize,t=e.compressedSize):(t=Buffer.alloc(4)).writeUInt32LE(0x8074b50,0);let o=p.stream(t);e.decrypt&&(o=o.pipe(e.decrypt.stream())),o.pipe(n).on("error",function(e){m.emit("error",e)}).pipe(m).on("finish",function(){h.destroy?h.destroy():h.abort?h.abort():h.close?h.close():h.push?h.push():console.log("warning - unable to close stream")})}).catch(function(e){m.emit("error",e)}),m}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/PullStream.js"(e,t,r){let n=r("stream");function o(){if(!(this instanceof o))return new o;n.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=Buffer.from("");let e=this;e.on("finish",function(){e.finished=!0,e.emit("chunk",!1)})}r("util").inherits(o,n.Duplex),o.prototype._write=function(e,t,r){this.buffer=Buffer.concat([this.buffer,e]),this.cb=r,this.emit("chunk")},o.prototype.stream=function(e,t){let r,o=n.PassThrough(),s=this;function i(){if("function"==typeof s.cb){let e=s.cb;return s.cb=void 0,e()}}function a(){let n;if(s.buffer&&s.buffer.length){if("number"==typeof e)n=s.buffer.slice(0,e),s.buffer=s.buffer.slice(e),e-=n.length,r=r||!e;else{let o=s.buffer.indexOf(e);if(-1!==o)s.match=o,t&&(o+=e.length),n=s.buffer.slice(0,o),s.buffer=s.buffer.slice(o),r=!0;else{let t=s.buffer.length-e.length;t<=0?i():(n=s.buffer.slice(0,t),s.buffer=s.buffer.slice(t))}}n&&o.write(n,function(){(0===s.buffer.length||e.length&&s.buffer.length<=e.length)&&i()})}if(r)s.removeListener("chunk",a),o.end();else if(s.finished){s.removeListener("chunk",a),s.emit("error",Error("FILE_ENDED"));return}}return s.on("chunk",a),a(),o},o.prototype.pull=function(e,t){let r,o;if(0===e)return Promise.resolve("");if(!isNaN(e)&&this.buffer.length>e){let t=this.buffer.slice(0,e);return this.buffer=this.buffer.slice(e),Promise.resolve(t)}let s=Buffer.from(""),i=this,a=new n.Transform;return a._transform=function(e,t,r){s=Buffer.concat([s,e]),r()},new Promise(function(n,d){if(r=d,o=function(e){i.__emittedError=e,d(e)},i.finished)return d(Error("FILE_ENDED"));i.once("error",o),i.stream(e,t).on("error",d).pipe(a).on("finish",function(){n(s)}).on("error",d)}).finally(function(){i.removeListener("error",r),i.removeListener("error",o)})},o.prototype._read=function(){},e.exports=o},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/extract.js"(e,t,r){e.exports=function(e){e.path=s.resolve(s.normalize(e.path));let t=new n(e),r=new i.Writable({objectMode:!0});r._write=async function(t,r,n){let i=s.join(e.path,t.path.replace(/\\/g,"/"));if(0!=i.indexOf(e.path))return n();if("Directory"==t.type)return await o.ensureDir(i),n();await o.ensureDir(s.dirname(i));let a=e.getWriter?e.getWriter({path:i}):o.createWriteStream(i);t.pipe(a).on("error",n).on("close",n)};let d=a(t,r);return t.once("crx-header",function(e){d.crxHeader=e}),t.pipe(r).on("finish",function(){d.emit("close")}),d.promise=function(){return new Promise(function(e,t){d.on("close",e),d.on("error",t)})},d};let n=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parse.js"),o=r("../../../node_modules/.pnpm/fs-extra@11.4.0/node_modules/fs-extra/lib/index.js"),s=r("path"),i=r("stream"),a=r("../../../node_modules/.pnpm/duplexer2@0.1.4/node_modules/duplexer2/index.js")},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parse.js"(e,t,r){let n=r("util"),o=r("zlib"),s=r("stream"),i=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/PullStream.js"),a=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/NoopStream.js"),d=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/BufferStream.js"),l=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseExtraField.js"),c=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseDateTime.js"),u=s.pipeline,p=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseBuffer.js"),m=Buffer.alloc(4);function h(e){if(!(this instanceof h))return new h(e);let t=this;t._opts=e||{verbose:!1},i.call(t,t._opts),t.on("finish",function(){t.emit("end"),t.emit("close")}),t._readRecord().catch(function(e){t.__emittedError&&t.__emittedError===e||t.emit("error",e)})}m.writeUInt32LE(0x6054b50,0),n.inherits(h,i),h.prototype._readRecord=function(){let e=this;return e.pull(4).then(function(t){if(0===t.length)return;let r=t.readUInt32LE(0);if(0x34327243===r)return e._readCrxHeader();if(0x4034b50===r)return e._readFile();if(0x2014b50===r)return e.reachedCD=!0,e._readCentralDirectoryFileHeader();if(0x6054b50===r)return e._readEndOfCentralDirectoryRecord();if(e.reachedCD)return e.pull(m,!0).then(function(){return e._readEndOfCentralDirectoryRecord()});e.emit("error",Error("invalid signature: 0x"+r.toString(16)))}).then(function(t){if(t)return e._readRecord()})},h.prototype._readCrxHeader=function(){let e=this;return e.pull(12).then(function(t){return e.crxHeader=p.parse(t,[["version",4],["pubKeyLength",4],["signatureLength",4]]),e.pull(e.crxHeader.pubKeyLength+e.crxHeader.signatureLength)}).then(function(t){return e.crxHeader.publicKey=t.slice(0,e.crxHeader.pubKeyLength),e.crxHeader.signature=t.slice(e.crxHeader.pubKeyLength),e.emit("crx-header",e.crxHeader),!0})},h.prototype._readFile=function(){let e=this;return e.pull(26).then(function(t){let r=p.parse(t,[["versionsNeededToExtract",2],["flags",2],["compressionMethod",2],["lastModifiedTime",2],["lastModifiedDate",2],["crc32",4],["compressedSize",4],["uncompressedSize",4],["fileNameLength",2],["extraFieldLength",2]]);return r.lastModifiedDateTime=c(r.lastModifiedDate,r.lastModifiedTime),e.crxHeader&&(r.crxHeader=e.crxHeader),e.pull(r.fileNameLength).then(function(t){let n=t.toString("utf8"),i=s.PassThrough(),c=!1;return i.autodrain=function(){c=!0;let e=i.pipe(a());return e.promise=function(){return new Promise(function(t,r){e.on("finish",t),e.on("error",r)})},e},i.buffer=function(){return d(i)},i.path=n,i.props={},i.props.path=n,i.props.pathBuffer=t,i.props.flags={isUnicode:(2048&r.flags)!=0},i.type=0===r.uncompressedSize&&/[/\\]$/.test(n)?"Directory":"File",e._opts.verbose&&("Directory"===i.type?console.log(" creating:",n):"File"===i.type&&(0===r.compressionMethod?console.log(" extracting:",n):console.log(" inflating:",n))),e.pull(r.extraFieldLength).then(function(t){let a,d=l(t,r);i.vars=r,i.extra=d,e._opts.forceStream?e.push(i):(e.emit("entry",i),(e._readableState.pipesCount||e._readableState.pipes&&e._readableState.pipes.length)&&e.push(i)),e._opts.verbose&&console.log({filename:n,vars:r,extra:d});let p=!(8&r.flags)||r.compressedSize>0;i.__autodraining=c;let m=r.compressionMethod&&!c?o.createInflateRaw():s.PassThrough();return p?(i.size=r.uncompressedSize,a=r.compressedSize):(a=Buffer.alloc(4)).writeUInt32LE(0x8074b50,0),new Promise(function(t,r){u(e.stream(a),m,i,function(n){return n?r(n):p?t(p):e._processDataDescriptor(i).then(t).catch(r)})})})})})},h.prototype._processDataDescriptor=function(e){return this.pull(16).then(function(t){return e.size=p.parse(t,[["dataDescriptorSignature",4],["crc32",4],["compressedSize",4],["uncompressedSize",4]]).uncompressedSize,!0})},h.prototype._readCentralDirectoryFileHeader=function(){let e=this;return e.pull(42).then(function(t){let r=p.parse(t,[["versionMadeBy",2],["versionsNeededToExtract",2],["flags",2],["compressionMethod",2],["lastModifiedTime",2],["lastModifiedDate",2],["crc32",4],["compressedSize",4],["uncompressedSize",4],["fileNameLength",2],["extraFieldLength",2],["fileCommentLength",2],["diskNumber",2],["internalFileAttributes",2],["externalFileAttributes",4],["offsetToLocalFileHeader",4]]);return e.pull(r.fileNameLength).then(function(t){return r.fileName=t.toString("utf8"),e.pull(r.extraFieldLength)}).then(function(){return e.pull(r.fileCommentLength)}).then(function(){return!0})})},h.prototype._readEndOfCentralDirectoryRecord=function(){let e=this;return e.pull(18).then(function(t){let r=p.parse(t,[["diskNumber",2],["diskStart",2],["numberOfRecordsOnDisk",2],["numberOfRecords",2],["sizeOfCentralDirectory",4],["offsetToStartOfCentralDirectory",4],["commentLength",2]]);return e.pull(r.commentLength).then(function(){e.end(),e.push(null)})})},h.prototype.promise=function(){let e=this;return new Promise(function(t,r){e.on("finish",t),e.on("error",r)})},e.exports=h},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseBuffer.js"(e){let t=function(e,t,r){let n;switch(r){case 1:n=e.readUInt8(t);break;case 2:n=e.readUInt16LE(t);break;case 4:n=e.readUInt32LE(t);break;case 8:n=Number(e.readBigUInt64LE(t));break;default:throw Error("Unsupported UInt LE size!")}return n};e.exports={parse:function(e,r){let n={},o=0;for(let[s,i]of r)e.length>=o+i?n[s]=t(e,o,i):n[s]=null,o+=i;return n}}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseDateTime.js"(e){e.exports=function(e,t){return new Date(Date.UTC((e>>9&127)+1980,(e>>5&15)-1,31&e,t?t>>11:0,t?t>>5&63:0,t?(31&t)*2:0))}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseExtraField.js"(e,t,r){let n=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseBuffer.js");e.exports=function(e,t){let r;for(;!r&&e&&e.length;){let o=n.parse(e,[["signature",2],["partSize",2]]);if(1===o.signature){let o=[];0xffffffff===t.uncompressedSize&&o.push(["uncompressedSize",8]),0xffffffff===t.compressedSize&&o.push(["compressedSize",8]),0xffffffff===t.offsetToLocalFileHeader&&o.push(["offsetToLocalFileHeader",8]),r=n.parse(e.slice(4),o)}else e=e.slice(o.partSize+4)}return r=r||{},0xffffffff===t.compressedSize&&(t.compressedSize=r.compressedSize),0xffffffff===t.uncompressedSize&&(t.uncompressedSize=r.uncompressedSize),0xffffffff===t.offsetToLocalFileHeader&&(t.offsetToLocalFileHeader=r.offsetToLocalFileHeader),r}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseOne.js"(e,t,r){let n=r("stream"),o=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parse.js"),s=r("../../../node_modules/.pnpm/duplexer2@0.1.4/node_modules/duplexer2/index.js"),i=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/BufferStream.js");e.exports=function(e,t){let r,a=n.PassThrough({objectMode:!0}),d=n.PassThrough(),l=n.Transform({objectMode:!0}),c=e instanceof RegExp?e:e&&new RegExp(e);l._transform=function(e,t,n){if(r||c&&!c.exec(e.path))return e.autodrain(),n();r=!0,u.emit("entry",e),e.on("error",function(e){d.emit("error",e)}),e.pipe(d).on("error",function(e){n(e)}).on("finish",function(e){n(null,e)})},a.pipe(o(t)).on("error",function(e){d.emit("error",e)}).pipe(l).on("error",Object).on("finish",function(){r?d.end():d.emit("error",Error("PATTERN_NOT_FOUND"))});let u=s(a,d);return u.buffer=function(){return i(d)},u}},"../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/unzip.js"(e,t,r){t.Parse=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parse.js"),t.ParseOne=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/parseOne.js"),t.Extract=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/extract.js"),t.Open=r("../../../node_modules/.pnpm/unzipper@0.12.3/node_modules/unzipper/lib/Open/index.js")},"../../../node_modules/.pnpm/utf8@3.0.0/node_modules/utf8/utf8.js"(e,t){!function(e){var t,r,n,o=String.fromCharCode;function s(e){for(var t,r,n=[],o=0,s=e.length;o<s;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<s?(64512&(r=e.charCodeAt(o++)))==56320?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function i(e){if(e>=55296&&e<=57343)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value")}function a(e,t){return o(e>>t&63|128)}function d(){if(n>=r)throw Error("Invalid byte index");var e=255&t[n];if(n++,(192&e)==128)return 63&e;throw Error("Invalid continuation byte")}e.version="3.0.0",e.encode=function(e){for(var t=s(e),r=t.length,n=-1,d="";++n<r;)d+=function(e){if((0xffffff80&e)==0)return o(e);var t="";return(0xfffff800&e)==0?t=o(e>>6&31|192):(0xffff0000&e)==0?(i(e),t=o(e>>12&15|224)+a(e,6)):(0xffe00000&e)==0&&(t=o(e>>18&7|240)+a(e,12)+a(e,6)),t+=o(63&e|128)}(t[n]);return d},e.decode=function(e){r=(t=s(e)).length,n=0;for(var a,l=[];!1!==(a=function(){var e,o,s,a;if(n>r)throw Error("Invalid byte index");if(n==r)return!1;if(e=255&t[n],n++,(128&e)==0)return e;if((224&e)==192){if((a=(31&e)<<6|(o=d()))>=128)return a;throw Error("Invalid continuation byte")}if((240&e)==224){if((a=(15&e)<<12|(o=d())<<6|(s=d()))>=2048)return i(a),a;throw Error("Invalid continuation byte")}if((248&e)==240&&(o=d(),(a=(7&e)<<18|o<<12|(s=d())<<6|d())>=65536&&a<=1114111))return a;throw Error("Invalid UTF-8 detected")}());)l.push(a);for(var c,u=l.length,p=-1,m="";++p<u;)(c=l[p])>65535&&(c-=65536,m+=o(c>>>10&1023|55296),c=56320|1023&c),m+=o(c);return m}}(t)},"../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js"(e,t,r){r.d(t,{},{A:/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i})},"../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js"(e,t,r){var n=r("crypto"),o=r.n(n);let s=new Uint8Array(256),i=s.length;function a(){return i>s.length-16&&(o().randomFillSync(s),i=0),s.slice(i,i+=16)}r.d(t,{A:()=>a})},"../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js"(e,t,r){var n=r("../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js");let o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).substr(1));r.d(t,{},{A:function(e,t=0){let r=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,n.A)(r))throw TypeError("Stringified UUID is invalid");return r}})},"../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/v4.js"(e,t,r){var n=r("../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/rng.js"),o=r("../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/stringify.js");r.d(t,{},{A:function(e,t,r){let s=(e=e||{}).random||(e.rng||n.A)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=s[e];return t}return(0,o.A)(s)}})},"../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/validate.js"(e,t,r){var n=r("../../../node_modules/.pnpm/uuid@8.3.2/node_modules/uuid/dist/esm-node/regex.js");r.d(t,{},{A:function(e){return"string"==typeof e&&n.A.test(e)}})},"../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/index.js"(e,t,r){let n=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/stream.js"),o=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/extension.js"),s=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/permessage-deflate.js"),i=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/receiver.js"),a=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/sender.js"),d=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/subprotocol.js"),l=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/websocket.js"),c=r("../../../node_modules/.pnpm/ws@8.21.2/node_modules/ws/lib/websocket-server.js");l.createWebSocketStream=n,l.extension=o,l.PerMessageDeflate=s,l.Receiver=i,l.Sender=a,l.Server=c,l.subprotocol=d,l.WebSocket=l,l.WebSocketServer=c,e.exports=l},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/DocumentPosition.js"(e){(function(){e.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"(e){(function(){e.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js"(e){(function(){var t,r,n,o={}.hasOwnProperty;r=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},n=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},t=function(e){return r(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},e.exports.assign=function(e,...t){var n,s,i,a;if(r(Object.assign))Object.assign.apply(null,arguments);else for(n=0,i=t.length;n<i;n++)if(null!=(a=t[n]))for(s in a)o.call(a,s)&&(e[s]=a[s]);return e},e.exports.isFunction=r,e.exports.isObject=n,e.exports.isArray=t,e.exports.isEmpty=function(e){var r;if(t(e))return!e.length;for(r in e)if(o.call(e,r))return!1;return!0},e.exports.isPlainObject=function(e){var t,r;return n(e)&&(r=Object.getPrototypeOf(e))&&(t=r.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},e.exports.getValue=function(e){return r(e.valueOf)?e.valueOf():e}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/WriterState.js"(e){(function(){e.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLAttribute.js"(e,t,r){(function(){var t;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),e.exports=(function(){class e{constructor(e,r,n){if(this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==r)throw Error("Missing attribute name. "+this.debugInfo(r));this.name=this.stringify.name(r),this.value=this.stringify.attValue(n),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}clone(){return Object.create(this)}toString(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))}debugInfo(e){return null==(e=e||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"}isEqualNode(e){return e.namespaceURI===this.namespaceURI&&e.prefix===this.prefix&&e.localName===this.localName&&e.value===this.value}}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(e.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(e.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"specified",{get:function(){return!0}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCData.js"(e,t,r){(function(){var t,n;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCharacterData.js"),e.exports=class extends n{constructor(e,r){if(super(e),null==r)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=t.CData,this.value=this.stringify.cdata(r)}clone(){return Object.create(this)}toString(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCharacterData.js"(e,t,r){(function(){var t;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),e.exports=(function(){class e extends t{constructor(e){super(e),this.value=""}clone(){return Object.create(this)}substringData(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}appendData(e){throw Error("This DOM method is not implemented."+this.debugInfo())}insertData(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}deleteData(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}replaceData(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(e){return!!super.isEqualNode(e)&&e.data===this.data}}return Object.defineProperty(e.prototype,"data",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(e.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLComment.js"(e,t,r){(function(){var t,n;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCharacterData.js"),e.exports=class extends n{constructor(e,r){if(super(e),null==r)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=t.Comment,this.value=this.stringify.comment(r)}clone(){return Object.create(this)}toString(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js"(e,t,r){(function(){var t,n;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMStringList.js"),e.exports=(function(){class e{constructor(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new t,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}getParameter(e){return this.params.hasOwnProperty(e)?this.params[e]:null}canSetParameter(e,t){return!0}setParameter(e,t){return null!=t?this.params[e]=t:delete this.params[e]}}return Object.defineProperty(e.prototype,"parameterNames",{get:function(){return new n(Object.keys(this.defaultParams))}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js"(e){(function(){e.exports=class{handleError(e){throw Error(e)}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMImplementation.js"(e){(function(){e.exports=class{hasFeature(e,t){return!0}createDocumentType(e,t,r){throw Error("This DOM method is not implemented.")}createDocument(e,t,r){throw Error("This DOM method is not implemented.")}createHTMLDocument(e){throw Error("This DOM method is not implemented.")}getFeature(e,t){throw Error("This DOM method is not implemented.")}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMStringList.js"(e){(function(){e.exports=(function(){class e{constructor(e){this.arr=e||[]}item(e){return this.arr[e]||null}contains(e){return -1!==this.arr.indexOf(e)}}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDAttList.js"(e,t,r){(function(){var t,n;n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),e.exports=class extends n{constructor(e,r,n,o,s,i){if(super(e),null==r)throw Error("Missing DTD element name. "+this.debugInfo());if(null==n)throw Error("Missing DTD attribute name. "+this.debugInfo(r));if(!o)throw Error("Missing DTD attribute type. "+this.debugInfo(r));if(!s)throw Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==s.indexOf("#")&&(s="#"+s),!s.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(i&&!s.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.name(r),this.type=t.AttributeDeclaration,this.attributeName=this.stringify.name(n),this.attributeType=this.stringify.dtdAttType(o),i&&(this.defaultValue=this.stringify.dtdAttDefault(i)),this.defaultValueType=s}toString(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDElement.js"(e,t,r){(function(){var t,n;n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),e.exports=class extends n{constructor(e,r,n){if(super(e),null==r)throw Error("Missing DTD element name. "+this.debugInfo());n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.name(r),this.type=t.ElementDeclaration,this.value=this.stringify.dtdElementValue(n)}toString(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDEntity.js"(e,t,r){(function(){var t,n,o;({isObject:o}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),e.exports=(function(){class e extends n{constructor(e,r,n,s){if(super(e),null==n)throw Error("Missing DTD entity name. "+this.debugInfo(n));if(null==s)throw Error("Missing DTD entity value. "+this.debugInfo(n));if(this.pe=!!r,this.name=this.stringify.name(n),this.type=t.EntityDeclaration,o(s)){if(!s.pubID&&!s.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(n));if(s.pubID&&!s.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(n));if(this.internal=!1,null!=s.pubID&&(this.pubID=this.stringify.dtdPubID(s.pubID)),null!=s.sysID&&(this.sysID=this.stringify.dtdSysID(s.sysID)),null!=s.nData&&(this.nData=this.stringify.dtdNData(s.nData)),this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(n))}else this.value=this.stringify.dtdEntityValue(s),this.internal=!0}toString(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))}}return Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(e.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"xmlVersion",{get:function(){return null}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDNotation.js"(e,t,r){(function(){var t,n;n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),e.exports=(function(){class e extends n{constructor(e,r,n){if(super(e),null==r)throw Error("Missing DTD notation name. "+this.debugInfo(r));if(!n.pubID&&!n.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.name(r),this.type=t.NotationDeclaration,null!=n.pubID&&(this.pubID=this.stringify.dtdPubID(n.pubID)),null!=n.sysID&&(this.sysID=this.stringify.dtdSysID(n.sysID))}toString(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))}}return Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDeclaration.js"(e,t,r){(function(){var t,n,o;({isObject:o}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),e.exports=class extends n{constructor(e,r,n,s){super(e),o(r)&&({version:r,encoding:n,standalone:s}=r),r||(r="1.0"),this.type=t.Declaration,this.version=this.stringify.xmlVersion(r),null!=n&&(this.encoding=this.stringify.xmlEncoding(n)),null!=s&&(this.standalone=this.stringify.xmlStandalone(s))}toString(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocType.js"(e,t,r){(function(){var t,n,o,s,i,a,d,l;({isObject:l}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),d=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDAttList.js"),s=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDEntity.js"),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDElement.js"),i=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDNotation.js"),a=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js"),e.exports=(function(){class e extends d{constructor(e,r,n){var o,s,i,a;if(super(e),this.type=t.DocType,e.children){for(s=0,i=(a=e.children).length;s<i;s++)if((o=a[s]).type===t.Element){this.name=o.name;break}}this.documentObject=e,l(r)&&({pubID:r,sysID:n}=r),null==n&&([n,r]=[r,n]),null!=r&&(this.pubID=this.stringify.dtdPubID(r)),null!=n&&(this.sysID=this.stringify.dtdSysID(n))}element(e,t){var r;return r=new o(this,e,t),this.children.push(r),this}attList(e,t,r,o,s){var i;return i=new n(this,e,t,r,o,s),this.children.push(i),this}entity(e,t){var r;return r=new s(this,!1,e,t),this.children.push(r),this}pEntity(e,t){var r;return r=new s(this,!0,e,t),this.children.push(r),this}notation(e,t){var r;return r=new i(this,e,t),this.children.push(r),this}toString(e){return this.options.writer.docType(this,this.options.writer.filterOptions(e))}ele(e,t){return this.element(e,t)}att(e,t,r,n,o){return this.attList(e,t,r,n,o)}ent(e,t){return this.entity(e,t)}pent(e,t){return this.pEntity(e,t)}not(e,t){return this.notation(e,t)}up(){return this.root()||this.documentObject}isEqualNode(e){return!!super.isEqualNode(e)&&e.name===this.name&&e.publicId===this.publicId&&e.systemId===this.systemId}}return Object.defineProperty(e.prototype,"entities",{get:function(){var e,r,n,o,s;for(r=0,o={},n=(s=this.children).length;r<n;r++)(e=s[r]).type!==t.EntityDeclaration||e.pe||(o[e.name]=e);return new a(o)}}),Object.defineProperty(e.prototype,"notations",{get:function(){var e,r,n,o,s;for(r=0,o={},n=(s=this.children).length;r<n;r++)(e=s[r]).type===t.NotationDeclaration&&(o[e.name]=e);return new a(o)}}),Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(e.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocument.js"(e,t,r){(function(){var t,n,o,s,i,a,d;({isPlainObject:d}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMImplementation.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js"),s=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),a=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringifier.js"),i=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringWriter.js"),e.exports=(function(){class e extends s{constructor(e){super(null),this.name="#document",this.type=t.Document,this.documentURI=null,this.domConfig=new n,e||(e={}),e.writer||(e.writer=new i),this.options=e,this.stringify=new a(e)}end(e){var t;return t={},e?d(e)&&(t=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(t))}toString(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))}createElement(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createDocumentFragment(){throw Error("This DOM method is not implemented."+this.debugInfo())}createTextNode(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createComment(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createCDATASection(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createProcessingInstruction(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}createAttribute(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createEntityReference(e){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(e){throw Error("This DOM method is not implemented."+this.debugInfo())}importNode(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}createElementNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}createAttributeNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementById(e){throw Error("This DOM method is not implemented."+this.debugInfo())}adoptNode(e){throw Error("This DOM method is not implemented."+this.debugInfo())}normalizeDocument(){throw Error("This DOM method is not implemented."+this.debugInfo())}renameNode(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createEvent(e){throw Error("This DOM method is not implemented."+this.debugInfo())}createRange(){throw Error("This DOM method is not implemented."+this.debugInfo())}createNodeIterator(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}createTreeWalker(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(e.prototype,"implementation",{value:new o}),Object.defineProperty(e.prototype,"doctype",{get:function(){var e,r,n,o;for(r=0,n=(o=this.children).length;r<n;r++)if((e=o[r]).type===t.DocType)return e;return null}}),Object.defineProperty(e.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(e.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(e.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(e.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===t.Declaration?this.children[0].encoding:null}}),Object.defineProperty(e.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===t.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(e.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===t.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(e.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(e.prototype,"origin",{get:function(){return null}}),Object.defineProperty(e.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(e.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(e.prototype,"contentType",{get:function(){return null}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocumentCB.js"(e,t,r){(function(){var t,n,o,s,i,a,d,l,c,u,p,m,h,f,g,b,y,v,_,x,E,C,w={}.hasOwnProperty;({isObject:E,isFunction:x,isPlainObject:C,getValue:_}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),m=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocument.js"),h=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLElement.js"),s=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCData.js"),i=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLComment.js"),g=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLRaw.js"),v=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLText.js"),f=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"),u=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDeclaration.js"),p=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocType.js"),a=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDAttList.js"),l=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDEntity.js"),d=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDElement.js"),c=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDNotation.js"),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLAttribute.js"),y=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringifier.js"),b=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringWriter.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/WriterState.js"),e.exports=class{constructor(e,r,n){var o;this.name="?xml",this.type=t.Document,e||(e={}),o={},e.writer?C(e.writer)&&(o=e.writer,e.writer=new b):e.writer=new b,this.options=e,this.writer=e.writer,this.writerOptions=this.writer.filterOptions(o),this.stringify=new y(e),this.onDataCallback=r||function(){},this.onEndCallback=n||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}createChildNode(e){var r,n,o,s,i,a,d,l;switch(e.type){case t.CData:this.cdata(e.value);break;case t.Comment:this.comment(e.value);break;case t.Element:for(n in o={},d=e.attribs)w.call(d,n)&&(r=d[n],o[n]=r.value);this.node(e.name,o);break;case t.Dummy:this.dummy();break;case t.Raw:this.raw(e.value);break;case t.Text:this.text(e.value);break;case t.ProcessingInstruction:this.instruction(e.target,e.value);break;default:throw Error("This XML node type is not supported in a JS object: "+e.constructor.name)}for(i=0,a=(l=e.children).length;i<a;i++)s=l[i],this.createChildNode(s),s.type===t.Element&&this.up();return this}dummy(){return this}node(e,t,r){if(null==e)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=_(e),null==t&&(t={}),E(t=_(t))||([r,t]=[t,r]),this.currentNode=new h(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=r&&this.text(r),this}element(e,r,n){var o,s,i,a,d,l;if(this.currentNode&&this.currentNode.type===t.DocType)this.dtdElement(...arguments);else if(Array.isArray(e)||E(e)||x(e))for(a=this.options.noValidation,this.options.noValidation=!0,(l=new m(this.options).element("TEMP_ROOT")).element(e),this.options.noValidation=a,s=0,i=(d=l.children).length;s<i;s++)o=d[s],this.createChildNode(o),o.type===t.Element&&this.up();else this.node(e,r,n);return this}attribute(e,t){var r,n;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=_(e)),E(e))for(r in e)w.call(e,r)&&(n=e[r],this.attribute(r,n));else x(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.currentNode.attribs[e]=new o(this,e,""):null!=t&&(this.currentNode.attribs[e]=new o(this,e,t));return this}text(e){var t;return this.openCurrent(),t=new v(this,e),this.onData(this.writer.text(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}cdata(e){var t;return this.openCurrent(),t=new s(this,e),this.onData(this.writer.cdata(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}comment(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.comment(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}raw(e){var t;return this.openCurrent(),t=new g(this,e),this.onData(this.writer.raw(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}instruction(e,t){var r,n,o,s,i;if(this.openCurrent(),null!=e&&(e=_(e)),null!=t&&(t=_(t)),Array.isArray(e))for(r=0,s=e.length;r<s;r++)n=e[r],this.instruction(n);else if(E(e))for(n in e)w.call(e,n)&&(o=e[n],this.instruction(n,o));else x(t)&&(t=t.apply()),i=new f(this,e,t),this.onData(this.writer.processingInstruction(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this}declaration(e,t,r){var n;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return n=new u(this,e,t,r),this.onData(this.writer.declaration(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}doctype(e,t,r){if(this.openCurrent(),null==e)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new p(this,t,r),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this}dtdElement(e,t){var r;return this.openCurrent(),r=new d(this,e,t),this.onData(this.writer.dtdElement(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}attList(e,t,r,n,o){var s;return this.openCurrent(),s=new a(this,e,t,r,n,o),this.onData(this.writer.dtdAttList(s,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}entity(e,t){var r;return this.openCurrent(),r=new l(this,!1,e,t),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}pEntity(e,t){var r;return this.openCurrent(),r=new l(this,!0,e,t),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}notation(e,t){var r;return this.openCurrent(),r=new c(this,e,t),this.onData(this.writer.dtdNotation(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}up(){if(this.currentLevel<0)throw Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this}end(){for(;this.currentLevel>=0;)this.up();return this.onEnd()}openCurrent(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)}openNode(e){var r,o,s,i;if(!e.isOpen){if(this.root||0!==this.currentLevel||e.type!==t.Element||(this.root=e),o="",e.type===t.Element){for(s in this.writerOptions.state=n.OpenTag,o=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<"+e.name,i=e.attribs)w.call(i,s)&&(r=i[s],o+=this.writer.attribute(r,this.writerOptions,this.currentLevel));o+=(e.children?">":"/>")+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=n.InsideTag}else this.writerOptions.state=n.OpenTag,o=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+e.rootNodeName,e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),e.children?(o+=" [",this.writerOptions.state=n.InsideTag):(this.writerOptions.state=n.CloseTag,o+=">"),o+=this.writer.endline(e,this.writerOptions,this.currentLevel);return this.onData(o,this.currentLevel),e.isOpen=!0}}closeNode(e){var r;if(!e.isClosed)return r="",this.writerOptions.state=n.CloseTag,r=e.type===t.Element?this.writer.indent(e,this.writerOptions,this.currentLevel)+"</"+e.name+">"+this.writer.endline(e,this.writerOptions,this.currentLevel):this.writer.indent(e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=n.None,this.onData(r,this.currentLevel),e.isClosed=!0}onData(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)}onEnd(){return this.documentCompleted=!0,this.onEndCallback()}debugInfo(e){return null==e?"":"node: <"+e+">"}ele(){return this.element(...arguments)}nod(e,t,r){return this.node(e,t,r)}txt(e){return this.text(e)}dat(e){return this.cdata(e)}com(e){return this.comment(e)}ins(e,t){return this.instruction(e,t)}dec(e,t,r){return this.declaration(e,t,r)}dtd(e,t,r){return this.doctype(e,t,r)}e(e,t,r){return this.element(e,t,r)}n(e,t,r){return this.node(e,t,r)}t(e){return this.text(e)}d(e){return this.cdata(e)}c(e){return this.comment(e)}r(e){return this.raw(e)}i(e,t){return this.instruction(e,t)}att(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList(...arguments):this.attribute(...arguments)}a(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList(...arguments):this.attribute(...arguments)}ent(e,t){return this.entity(e,t)}pent(e,t){return this.pEntity(e,t)}not(e,t){return this.notation(e,t)}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDummy.js"(e,t,r){(function(){var t,n;n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),e.exports=class extends n{constructor(e){super(e),this.type=t.Dummy}clone(){return Object.create(this)}toString(e){return""}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLElement.js"(e,t,r){(function(){var t,n,o,s,i,a,d,l={}.hasOwnProperty;({isObject:d,isFunction:a,getValue:i}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),s=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLAttribute.js"),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js"),e.exports=(function(){class e extends s{constructor(e,r,n){var o,s,i,a;if(super(e),null==r)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(r),this.type=t.Element,this.attribs={},this.schemaTypeInfo=null,null!=n&&this.attribute(n),e.type===t.Document&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this,e.children)){for(s=0,i=(a=e.children).length;s<i;s++)if((o=a[s]).type===t.DocType){o.name=this.name;break}}}clone(){var e,t,r,n;for(t in(r=Object.create(this)).isRoot&&(r.documentObject=null),r.attribs={},n=this.attribs)l.call(n,t)&&(e=n[t],r.attribs[t]=e.clone());return r.children=[],this.children.forEach(function(e){var t;return(t=e.clone()).parent=r,r.children.push(t)}),r}attribute(e,t){var r,o;if(null!=e&&(e=i(e)),d(e))for(r in e)l.call(e,r)&&(o=e[r],this.attribute(r,o));else a(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.attribs[e]=new n(this,e,""):null!=t&&(this.attribs[e]=new n(this,e,t));return this}removeAttribute(e){var t,r,n;if(null==e)throw Error("Missing attribute name. "+this.debugInfo());if(Array.isArray(e=i(e)))for(r=0,n=e.length;r<n;r++)t=e[r],delete this.attribs[t];else delete this.attribs[e];return this}toString(e){return this.options.writer.element(this,this.options.writer.filterOptions(e))}att(e,t){return this.attribute(e,t)}a(e,t){return this.attribute(e,t)}getAttribute(e){return this.attribs.hasOwnProperty(e)?this.attribs[e].value:null}setAttribute(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNode(e){return this.attribs.hasOwnProperty(e)?this.attribs[e]:null}setAttributeNode(e){throw Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNode(e){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(e){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNS(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNodeNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNodeNS(e){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}hasAttribute(e){return this.attribs.hasOwnProperty(e)}hasAttributeNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}setIdAttribute(e,t){return this.attribs.hasOwnProperty(e)?this.attribs[e].isId:t}setIdAttributeNS(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}setIdAttributeNode(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(e){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(e){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(e){var t,r,n;if(!super.isEqualNode(e)||e.namespaceURI!==this.namespaceURI||e.prefix!==this.prefix||e.localName!==this.localName||e.attribs.length!==this.attribs.length)return!1;for(t=r=0,n=this.attribs.length-1;0<=n?r<=n:r>=n;t=0<=n?++r:--r)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0}}return Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(e.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(e.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new o(this.attribs)),this.attributeMap}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js"(e){(function(){e.exports=(function(){class e{constructor(e){this.nodes=e}clone(){return this.nodes=null}getNamedItem(e){return this.nodes[e]}setNamedItem(e){var t;return t=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,t||null}removeNamedItem(e){var t;return t=this.nodes[e],delete this.nodes[e],t||null}item(e){return this.nodes[Object.keys(this.nodes)[e]]||null}getNamedItemNS(e,t){throw Error("This DOM method is not implemented.")}setNamedItemNS(e){throw Error("This DOM method is not implemented.")}removeNamedItemNS(e,t){throw Error("This DOM method is not implemented.")}}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"(e,t,r){(function(){var t,n,o,s,i,a,d,l,c,u,p,m,h,f,g,b,y={}.hasOwnProperty,v=[].splice;({isObject:b,isFunction:g,isEmpty:f,getValue:h}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),l=null,o=null,s=null,i=null,a=null,p=null,m=null,u=null,d=null,n=null,c=null,t=null,e.exports=(function(){class e{constructor(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,l||(l=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLElement.js"),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCData.js"),s=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLComment.js"),i=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDeclaration.js"),a=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocType.js"),p=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLRaw.js"),m=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLText.js"),u=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"),d=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDummy.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),c=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNodeList.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/DocumentPosition.js"))}setParent(e){var t,r,n,o,s;for(this.parent=e,e&&(this.options=e.options,this.stringify=e.stringify),o=this.children,s=[],r=0,n=o.length;r<n;r++)t=o[r],s.push(t.setParent(this));return s}element(e,t,r){var n,o,s,i,a,d,l,c,u;if(d=null,null===t&&null==r&&([t,r]=[{},null]),null==t&&(t={}),b(t=h(t))||([r,t]=[t,r]),null!=e&&(e=h(e)),Array.isArray(e))for(s=0,l=e.length;s<l;s++)o=e[s],d=this.element(o);else if(g(e))d=this.element(e.apply());else if(b(e)){for(a in e)if(y.call(e,a))if(g(u=e[a])&&(u=u.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===a.indexOf(this.stringify.convertAttKey))d=this.attribute(a.substr(this.stringify.convertAttKey.length),u);else if(!this.options.separateArrayItems&&Array.isArray(u)&&f(u))d=this.dummy();else if(b(u)&&f(u))d=this.element(a);else if(this.options.keepNullNodes||null!=u)if(!this.options.separateArrayItems&&Array.isArray(u))for(i=0,c=u.length;i<c;i++)o=u[i],(n={})[a]=o,d=this.element(n);else b(u)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===a.indexOf(this.stringify.convertTextKey)?d=this.element(u):(d=this.element(a)).element(u):d=this.element(a,u);else d=this.dummy()}else d=this.options.keepNullNodes||null!==r?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),r):this.node(e,t,r):this.dummy();if(null==d)throw Error("Could not create any elements with: "+e+". "+this.debugInfo());return d}insertBefore(e,t,r){var n,o,s;if(null!=e?e.type:void 0)return e.setParent(this),t?(o=children.indexOf(t),s=children.splice(o),children.push(e),Array.prototype.push.apply(children,s)):children.push(e),e;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(e));return o=this.parent.children.indexOf(this),s=this.parent.children.splice(o),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,s),n}insertAfter(e,t,r){var n,o,s;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(e));return o=this.parent.children.indexOf(this),s=this.parent.children.splice(o+1),n=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,s),n}remove(){var e;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),v.apply(this.parent.children,[e,e-e+1].concat([])),this.parent}node(e,t,r){var n;return null!=e&&(e=h(e)),t||(t={}),b(t=h(t))||([r,t]=[t,r]),n=new l(this,e,t),null!=r&&n.text(r),this.children.push(n),n}text(e){var t;return b(e)&&this.element(e),t=new m(this,e),this.children.push(t),this}cdata(e){var t;return t=new o(this,e),this.children.push(t),this}comment(e){var t;return t=new s(this,e),this.children.push(t),this}commentBefore(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this}commentAfter(e){var t,r;return t=this.parent.children.indexOf(this),r=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,r),this}raw(e){var t;return t=new p(this,e),this.children.push(t),this}dummy(){return new d(this)}instruction(e,t){var r,n,o,s,i;if(null!=e&&(e=h(e)),null!=t&&(t=h(t)),Array.isArray(e))for(s=0,i=e.length;s<i;s++)r=e[s],this.instruction(r);else if(b(e))for(r in e)y.call(e,r)&&(n=e[r],this.instruction(r,n));else g(t)&&(t=t.apply()),o=new u(this,e,t),this.children.push(o);return this}instructionBefore(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this}instructionAfter(e,t){var r,n;return r=this.parent.children.indexOf(this),n=this.parent.children.splice(r+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,n),this}declaration(e,t,r){var o,s;return o=this.document(),s=new i(o,e,t,r),0===o.children.length?o.children.unshift(s):o.children[0].type===n.Declaration?o.children[0]=s:o.children.unshift(s),o.root()||o}dtd(e,t){var r,o,s,i,d,l,c,u,p;for(r=this.document(),o=new a(r,e,t),u=r.children,s=i=0,l=u.length;i<l;s=++i)if(u[s].type===n.DocType)return r.children[s]=o,o;for(p=r.children,s=d=0,c=p.length;d<c;s=++d)if(p[s].isRoot)return r.children.splice(s,0,o),o;return r.children.push(o),o}up(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent}root(){var e;for(e=this;e;)if(e.type===n.Document)return e.rootObject;else{if(e.isRoot)return e;e=e.parent}}document(){var e;for(e=this;e;)if(e.type===n.Document)return e;else e=e.parent}end(e){return this.document().end(e)}prev(){var e;if((e=this.parent.children.indexOf(this))<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]}next(){var e;if(-1===(e=this.parent.children.indexOf(this))||e===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]}importDocument(e){var t,r,o,s,i;if((r=e.root().clone()).parent=this,r.isRoot=!1,this.children.push(r),this.type===n.Document&&(r.isRoot=!0,r.documentObject=this,this.rootObject=r,this.children)){for(o=0,s=(i=this.children).length;o<s;o++)if((t=i[o]).type===n.DocType){t.name=r.name;break}}return this}debugInfo(e){var t,r;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(r=this.parent)?r.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""}ele(e,t,r){return this.element(e,t,r)}nod(e,t,r){return this.node(e,t,r)}txt(e){return this.text(e)}dat(e){return this.cdata(e)}com(e){return this.comment(e)}ins(e,t){return this.instruction(e,t)}doc(){return this.document()}dec(e,t,r){return this.declaration(e,t,r)}e(e,t,r){return this.element(e,t,r)}n(e,t,r){return this.node(e,t,r)}t(e){return this.text(e)}d(e){return this.cdata(e)}c(e){return this.comment(e)}r(e){return this.raw(e)}i(e,t){return this.instruction(e,t)}u(){return this.up()}importXMLBuilder(e){return this.importDocument(e)}attribute(e,t){throw Error("attribute() applies to element nodes only.")}att(e,t){return this.attribute(e,t)}a(e,t){return this.attribute(e,t)}removeAttribute(e){throw Error("attribute() applies to element nodes only.")}replaceChild(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}removeChild(e){throw Error("This DOM method is not implemented."+this.debugInfo())}appendChild(e){throw Error("This DOM method is not implemented."+this.debugInfo())}hasChildNodes(){return 0!==this.children.length}cloneNode(e){throw Error("This DOM method is not implemented."+this.debugInfo())}normalize(){throw Error("This DOM method is not implemented."+this.debugInfo())}isSupported(e,t){return!0}hasAttributes(){return 0!==this.attribs.length}compareDocumentPosition(e){var r;if(this===e)return 0;if(this.document()!==e.document())return r=t.Disconnected|t.ImplementationSpecific,.5>Math.random()?r|=t.Preceding:r|=t.Following,r;if(this.isAncestor(e))return t.Contains|t.Preceding;if(this.isDescendant(e))return t.Contains|t.Following;if(this.isPreceding(e))return t.Preceding;else return t.Following}isSameNode(e){throw Error("This DOM method is not implemented."+this.debugInfo())}lookupPrefix(e){throw Error("This DOM method is not implemented."+this.debugInfo())}isDefaultNamespace(e){throw Error("This DOM method is not implemented."+this.debugInfo())}lookupNamespaceURI(e){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(e){var t,r,n;if(e.nodeType!==this.nodeType||e.children.length!==this.children.length)return!1;for(t=r=0,n=this.children.length-1;0<=n?r<=n:r>=n;t=0<=n?++r:--r)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0}getFeature(e,t){throw Error("This DOM method is not implemented."+this.debugInfo())}setUserData(e,t,r){throw Error("This DOM method is not implemented."+this.debugInfo())}getUserData(e){throw Error("This DOM method is not implemented."+this.debugInfo())}contains(e){return!!e&&(e===this||this.isDescendant(e))}isDescendant(e){var t,r,n,o;for(r=0,n=(o=this.children).length;r<n;r++)if(e===(t=o[r])||t.isDescendant(e))return!0;return!1}isAncestor(e){return e.isDescendant(this)}isPreceding(e){var t,r;return t=this.treePosition(e),r=this.treePosition(this),-1!==t&&-1!==r&&t<r}isFollowing(e){var t,r;return t=this.treePosition(e),r=this.treePosition(this),-1!==t&&-1!==r&&t>r}treePosition(e){var t,r;return(r=0,t=!1,this.foreachTreeNode(this.document(),function(n){if(r++,!t&&n===e)return t=!0}),t)?r:-1}foreachTreeNode(e,t){var r,n,o,s,i;for(e||(e=this.document()),n=0,o=(s=e.children).length;n<o;n++)if((i=t(r=s[n]))||(i=this.foreachTreeNode(r,t)))return i}}return Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new c(this.children)),this.childNodeList}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e-1]||null}}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e+1]||null}}),Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(e.prototype,"textContent",{get:function(){var e,t,r,o,s;if(this.nodeType!==n.Element&&this.nodeType!==n.DocumentFragment)return null;for(t=0,s="",r=(o=this.children).length;t<r;t++)(e=o[t]).textContent&&(s+=e.textContent);return s},set:function(e){throw Error("This DOM method is not implemented."+this.debugInfo())}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNodeList.js"(e){(function(){e.exports=(function(){class e{constructor(e){this.nodes=e}clone(){return this.nodes=null}item(e){return this.nodes[e]||null}}return Object.defineProperty(e.prototype,"length",{get:function(){return this.nodes.length||0}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"(e,t,r){(function(){var t,n;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCharacterData.js"),e.exports=class extends n{constructor(e,r,n){if(super(e),null==r)throw Error("Missing instruction target. "+this.debugInfo());this.type=t.ProcessingInstruction,this.target=this.stringify.insTarget(r),this.name=this.target,n&&(this.value=this.stringify.insValue(n))}clone(){return Object.create(this)}toString(e){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(e))}isEqualNode(e){return!!super.isEqualNode(e)&&e.target===this.target}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLRaw.js"(e,t,r){(function(){var t,n;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLNode.js"),e.exports=class extends n{constructor(e,r){if(super(e),null==r)throw Error("Missing raw text. "+this.debugInfo());this.type=t.Raw,this.value=this.stringify.raw(r)}clone(){return Object.create(this)}toString(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStreamWriter.js"(e,t,r){(function(){var t,n,o,s={}.hasOwnProperty;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLWriterBase.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/WriterState.js"),e.exports=class extends o{constructor(e,t){super(t),this.stream=e}endline(e,t,r){return e.isLastRootNode&&t.state===n.CloseTag?"":super.endline(e,t,r)}document(e,t){var r,n,o,s,i,a,d,l,c;for(d=e.children,n=o=0,i=d.length;o<i;n=++o)(r=d[n]).isLastRootNode=n===e.children.length-1;for(t=this.filterOptions(t),l=e.children,c=[],s=0,a=l.length;s<a;s++)r=l[s],c.push(this.writeChildNode(r,t,0));return c}cdata(e,t,r){return this.stream.write(super.cdata(e,t,r))}comment(e,t,r){return this.stream.write(super.comment(e,t,r))}declaration(e,t,r){return this.stream.write(super.declaration(e,t,r))}docType(e,t,r){var o,s,i,a;if(r||(r=0),this.openNode(e,t,r),t.state=n.OpenTag,this.stream.write(this.indent(e,t,r)),this.stream.write("<!DOCTYPE "+e.root().name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(e,t,r)),t.state=n.InsideTag,s=0,i=(a=e.children).length;s<i;s++)o=a[s],this.writeChildNode(o,t,r+1);t.state=n.CloseTag,this.stream.write("]")}return t.state=n.CloseTag,this.stream.write(t.spaceBeforeSlash+">"),this.stream.write(this.endline(e,t,r)),t.state=n.None,this.closeNode(e,t,r)}element(e,r,o){var i,a,d,l,c,u,p,m,h,f,g,b,y,v;if(o||(o=0),this.openNode(e,r,o),r.state=n.OpenTag,h=this.indent(e,r,o)+"<"+e.name,r.pretty&&r.width>0)for(m in u=h.length,g=e.attribs)s.call(g,m)&&(i=g[m],u+(f=this.attribute(i,r,o)).length>r.width?(v=this.indent(e,r,o+1)+f,h+=this.endline(e,r,o)+v,u=v.length):(h+=v=" "+f,u+=v.length));else for(m in b=e.attribs)s.call(b,m)&&(i=b[m],h+=this.attribute(i,r,o));if(this.stream.write(h),l=0===(d=e.children.length)?null:e.children[0],0===d||e.children.every(function(e){return(e.type===t.Text||e.type===t.Raw||e.type===t.CData)&&""===e.value}))r.allowEmpty?(this.stream.write(">"),r.state=n.CloseTag,this.stream.write("</"+e.name+">")):(r.state=n.CloseTag,this.stream.write(r.spaceBeforeSlash+"/>"));else if(r.pretty&&1===d&&(l.type===t.Text||l.type===t.Raw||l.type===t.CData)&&null!=l.value)this.stream.write(">"),r.state=n.InsideTag,r.suppressPrettyCount++,this.writeChildNode(l,r,o+1),r.suppressPrettyCount--,r.state=n.CloseTag,this.stream.write("</"+e.name+">");else{for(this.stream.write(">"+this.endline(e,r,o)),r.state=n.InsideTag,c=0,p=(y=e.children).length;c<p;c++)a=y[c],this.writeChildNode(a,r,o+1);r.state=n.CloseTag,this.stream.write(this.indent(e,r,o)+"</"+e.name+">")}return this.stream.write(this.endline(e,r,o)),r.state=n.None,this.closeNode(e,r,o)}processingInstruction(e,t,r){return this.stream.write(super.processingInstruction(e,t,r))}raw(e,t,r){return this.stream.write(super.raw(e,t,r))}text(e,t,r){return this.stream.write(super.text(e,t,r))}dtdAttList(e,t,r){return this.stream.write(super.dtdAttList(e,t,r))}dtdElement(e,t,r){return this.stream.write(super.dtdElement(e,t,r))}dtdEntity(e,t,r){return this.stream.write(super.dtdEntity(e,t,r))}dtdNotation(e,t,r){return this.stream.write(super.dtdNotation(e,t,r))}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringWriter.js"(e,t,r){(function(){var t;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLWriterBase.js"),e.exports=class extends t{constructor(e){super(e)}document(e,t){var r,n,o,s,i;for(t=this.filterOptions(t),s="",n=0,o=(i=e.children).length;n<o;n++)r=i[n],s+=this.writeChildNode(r,t,0);return t.pretty&&s.slice(-t.newline.length)===t.newline&&(s=s.slice(0,-t.newline.length)),s}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringifier.js"(e){(function(){var t={}.hasOwnProperty;e.exports=(function(){class e{constructor(e){var r,n,o;for(r in this.assertLegalChar=this.assertLegalChar.bind(this),this.assertLegalName=this.assertLegalName.bind(this),e||(e={}),this.options=e,this.options.version||(this.options.version="1.0"),n=e.stringify||{})t.call(n,r)&&(o=n[r],this[r]=o)}name(e){return this.options.noValidation?e:this.assertLegalName(""+e||"")}text(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(""+e||""))}cdata(e){return this.options.noValidation?e:(e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e))}comment(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/--/))throw Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)}raw(e){return this.options.noValidation?e:""+e||""}attValue(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=""+e||""))}insTarget(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}insValue(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/\?>/))throw Error("Invalid processing instruction value: "+e);return this.assertLegalChar(e)}xmlVersion(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/1\.[0-9]+/))throw Error("Invalid version number: "+e);return e}xmlEncoding(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+e);return this.assertLegalChar(e)}xmlStandalone(e){return this.options.noValidation?e:e?"yes":"no"}dtdPubID(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}dtdSysID(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}dtdElementValue(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}dtdAttType(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}dtdAttDefault(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}dtdEntityValue(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}dtdNData(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")}assertLegalChar(e){var t,r;if(this.options.noValidation)return e;if("1.0"===this.options.version){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,void 0!==this.options.invalidCharReplacement)e=e.replace(t,this.options.invalidCharReplacement);else if(r=e.match(t))throw Error(`Invalid character in string: ${e} at index ${r.index}`)}else if("1.1"===this.options.version){if(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,void 0!==this.options.invalidCharReplacement)e=e.replace(t,this.options.invalidCharReplacement);else if(r=e.match(t))throw Error(`Invalid character in string: ${e} at index ${r.index}`)}return e}assertLegalName(e){if(this.options.noValidation)return e;if(!(e=this.assertLegalChar(e)).match(/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/))throw Error(`Invalid character in name: ${e}`);return e}textEscape(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))}attEscape(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))}}return e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLText.js"(e,t,r){(function(){var t,n;t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCharacterData.js"),e.exports=(function(){class e extends n{constructor(e,r){if(super(e),null==r)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=t.Text,this.value=this.stringify.text(r)}clone(){return Object.create(this)}toString(e){return this.options.writer.text(this,this.options.writer.filterOptions(e))}splitText(e){throw Error("This DOM method is not implemented."+this.debugInfo())}replaceWholeText(e){throw Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(e.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"wholeText",{get:function(){var e,t,r;for(r="",t=this.previousSibling;t;)r=t.data+r,t=t.previousSibling;for(r+=this.data,e=this.nextSibling;e;)r+=e.data,e=e.nextSibling;return r}}),e}).call(this)}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLWriterBase.js"(e,t,r){(function(){var t,n,o,s={}.hasOwnProperty;({assign:o}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDeclaration.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocType.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLCData.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLComment.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLElement.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLRaw.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLText.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDummy.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDAttList.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDElement.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDEntity.js"),r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDTDNotation.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/WriterState.js"),e.exports=class{constructor(e){var t,r,n;for(t in e||(e={}),this.options=e,r=e.writer||{})s.call(r,t)&&(n=r[t],this["_"+t]=this[t],this[t]=n)}filterOptions(e){var t,r,s,i,a,d,l,c,u;return e||(e={}),e=o({},this.options,e),(t={writer:this}).pretty=e.pretty||!1,t.allowEmpty=e.allowEmpty||!1,t.indent=null!=(r=e.indent)?r:" ",t.newline=null!=(s=e.newline)?s:"\n",t.offset=null!=(i=e.offset)?i:0,t.width=null!=(a=e.width)?a:0,t.dontPrettyTextNodes=null!=(d=null!=(l=e.dontPrettyTextNodes)?l:e.dontprettytextnodes)?d:0,t.spaceBeforeSlash=null!=(c=null!=(u=e.spaceBeforeSlash)?u:e.spacebeforeslash)?c:"",!0===t.spaceBeforeSlash&&(t.spaceBeforeSlash=" "),t.suppressPrettyCount=0,t.user={},t.state=n.None,t}indent(e,t,r){var n;if(!t.pretty||t.suppressPrettyCount);else if(t.pretty&&(n=(r||0)+t.offset+1)>0)return Array(n).join(t.indent);return""}endline(e,t,r){return!t.pretty||t.suppressPrettyCount?"":t.newline}attribute(e,t,r){var n;return this.openAttribute(e,t,r),n=t.pretty&&t.width>0?e.name+'="'+e.value+'"':" "+e.name+'="'+e.value+'"',this.closeAttribute(e,t,r),n}cdata(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<![CDATA[",t.state=n.InsideTag,o+=e.value,t.state=n.CloseTag,o+="]]>"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}comment(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"\x3c!-- ",t.state=n.InsideTag,o+=e.value,t.state=n.CloseTag,o+=" --\x3e"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}declaration(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<?xml",t.state=n.InsideTag,o+=' version="'+e.version+'"',null!=e.encoding&&(o+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(o+=' standalone="'+e.standalone+'"'),t.state=n.CloseTag,o+=t.spaceBeforeSlash+"?>",o+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}docType(e,t,r){var o,s,i,a,d;if(r||(r=0),this.openNode(e,t,r),t.state=n.OpenTag,a=this.indent(e,t,r)+"<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?a+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(a+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(a+=" [",a+=this.endline(e,t,r),t.state=n.InsideTag,s=0,i=(d=e.children).length;s<i;s++)o=d[s],a+=this.writeChildNode(o,t,r+1);t.state=n.CloseTag,a+="]"}return t.state=n.CloseTag,a+=t.spaceBeforeSlash+">",a+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),a}element(e,r,o){var i,a,d,l,c,u,p,m,h,f,g,b,y,v,_,x,E,C;if(o||(o=0),g=!1,this.openNode(e,r,o),r.state=n.OpenTag,b=this.indent(e,r,o)+"<"+e.name,r.pretty&&r.width>0)for(f in p=b.length,v=e.attribs)s.call(v,f)&&(i=v[f],p+(y=this.attribute(i,r,o)).length>r.width?(C=this.indent(e,r,o+1)+y,b+=this.endline(e,r,o)+C,p=C.length):(b+=C=" "+y,p+=C.length));else for(f in _=e.attribs)s.call(_,f)&&(i=_[f],b+=this.attribute(i,r,o));if(l=0===(d=e.children.length)?null:e.children[0],0===d||e.children.every(function(e){return(e.type===t.Text||e.type===t.Raw||e.type===t.CData)&&""===e.value}))r.allowEmpty?(b+=">",r.state=n.CloseTag,b+="</"+e.name+">"+this.endline(e,r,o)):(r.state=n.CloseTag,b+=r.spaceBeforeSlash+"/>"+this.endline(e,r,o));else if(r.pretty&&1===d&&(l.type===t.Text||l.type===t.Raw||l.type===t.CData)&&null!=l.value)b+=">",r.state=n.InsideTag,r.suppressPrettyCount++,g=!0,b+=this.writeChildNode(l,r,o+1),r.suppressPrettyCount--,g=!1,r.state=n.CloseTag,b+="</"+e.name+">"+this.endline(e,r,o);else{if(r.dontPrettyTextNodes){for(c=0,m=(x=e.children).length;c<m;c++)if(((a=x[c]).type===t.Text||a.type===t.Raw||a.type===t.CData)&&null!=a.value){r.suppressPrettyCount++,g=!0;break}}for(b+=">"+this.endline(e,r,o),r.state=n.InsideTag,u=0,h=(E=e.children).length;u<h;u++)a=E[u],b+=this.writeChildNode(a,r,o+1);r.state=n.CloseTag,b+=this.indent(e,r,o)+"</"+e.name+">",g&&r.suppressPrettyCount--,b+=this.endline(e,r,o),r.state=n.None}return this.closeNode(e,r,o),b}writeChildNode(e,r,n){switch(e.type){case t.CData:return this.cdata(e,r,n);case t.Comment:return this.comment(e,r,n);case t.Element:return this.element(e,r,n);case t.Raw:return this.raw(e,r,n);case t.Text:return this.text(e,r,n);case t.ProcessingInstruction:return this.processingInstruction(e,r,n);case t.Dummy:return"";case t.Declaration:return this.declaration(e,r,n);case t.DocType:return this.docType(e,r,n);case t.AttributeDeclaration:return this.dtdAttList(e,r,n);case t.ElementDeclaration:return this.dtdElement(e,r,n);case t.EntityDeclaration:return this.dtdEntity(e,r,n);case t.NotationDeclaration:return this.dtdNotation(e,r,n);default:throw Error("Unknown XML node type: "+e.constructor.name)}}processingInstruction(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<?",t.state=n.InsideTag,o+=e.target,e.value&&(o+=" "+e.value),t.state=n.CloseTag,o+=t.spaceBeforeSlash+"?>",o+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}raw(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r),t.state=n.InsideTag,o+=e.value,t.state=n.CloseTag,o+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}text(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r),t.state=n.InsideTag,o+=e.value,t.state=n.CloseTag,o+=this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}dtdAttList(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<!ATTLIST",t.state=n.InsideTag,o+=" "+e.elementName+" "+e.attributeName+" "+e.attributeType,"#DEFAULT"!==e.defaultValueType&&(o+=" "+e.defaultValueType),e.defaultValue&&(o+=' "'+e.defaultValue+'"'),t.state=n.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}dtdElement(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<!ELEMENT",t.state=n.InsideTag,o+=" "+e.name+" "+e.value,t.state=n.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}dtdEntity(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<!ENTITY",t.state=n.InsideTag,e.pe&&(o+=" %"),o+=" "+e.name,e.value?o+=' "'+e.value+'"':(e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),e.nData&&(o+=" NDATA "+e.nData)),t.state=n.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}dtdNotation(e,t,r){var o;return this.openNode(e,t,r),t.state=n.OpenTag,o=this.indent(e,t,r)+"<!NOTATION",t.state=n.InsideTag,o+=" "+e.name,e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?o+=' PUBLIC "'+e.pubID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),t.state=n.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,r),t.state=n.None,this.closeNode(e,t,r),o}openNode(e,t,r){}closeNode(e,t,r){}openAttribute(e,t,r){}closeAttribute(e,t,r){}}}).call(this)},"../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/index.js"(e,t,r){(function(){var t,n,o,s,i,a,d,l,c;({assign:l,isFunction:c}=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/Utility.js")),o=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDOMImplementation.js"),s=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocument.js"),i=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLDocumentCB.js"),d=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStringWriter.js"),a=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/XMLStreamWriter.js"),t=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/NodeType.js"),n=r("../../../node_modules/.pnpm/xmlbuilder@15.1.1/node_modules/xmlbuilder/lib/WriterState.js"),e.exports.create=function(e,t,r,n){var o,i;if(null==e)throw Error("Root element needs a name.");return i=(o=new s(n=l({},t,r,n))).element(e),n.headless||(o.declaration(n),(null!=n.pubID||null!=n.sysID)&&o.dtd(n)),i},e.exports.begin=function(e,t,r){return(c(e)&&([t,r]=[e,t],e={}),t)?new i(e,t,r):new s(e)},e.exports.stringWriter=function(e){return new d(e)},e.exports.streamWriter=function(e,t){return new a(e,t)},e.exports.implementation=new o,e.exports.nodeType=t,e.exports.writerState=n}).call(this)},"../../../node_modules/.pnpm/xpipe@1.0.8/node_modules/xpipe/index.js"(e){e.exports=class e{static eq(t){let r=e.prefix;return r.endsWith("/")&&t.startsWith("/")?r+t.substring(1):r+t}static get prefix(){return"win32"===process.platform?"//./pipe/":""}}},"../../../node_modules/.pnpm/axios@1.19.0_debug@4.3.4/node_modules/axios/dist/node/axios.cjs"(e,t,r){let n,o,s,i;var a,d,l,c,u=r("../../../node_modules/.pnpm/form-data@4.0.6/node_modules/form-data/lib/form_data.js"),p=r("crypto"),m=r("url"),h=r("../../../node_modules/.pnpm/https-proxy-agent@5.0.1/node_modules/https-proxy-agent/dist/index.js"),f=r("http"),g=r("https"),b=r("http2"),y=r("util"),v=r("path"),_=r("../../../node_modules/.pnpm/follow-redirects@1.16.0_debug@4.3.4/node_modules/follow-redirects/index.js"),x=r("zlib"),E=r("stream"),C=r("events");function w(e,t){return function(){return e.apply(t,arguments)}}let{toString:j}=Object.prototype,{getPrototypeOf:S}=Object,{iterator:k,toStringTag:T}=Symbol,O=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),D=(e,t)=>{let r=e,n=[];for(;null!=r&&r!==Object.prototype&&-1===n.indexOf(r);){if(n.push(r),O(r,t))return!0;r=S(r)}return!1},I=(n=Object.create(null),e=>{let t=j.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())}),A=e=>(e=e.toLowerCase(),t=>I(t)===e),N=e=>t=>typeof t===e,{isArray:R}=Array,P=N("undefined");function L(e){return null!==e&&!P(e)&&null!==e.constructor&&!P(e.constructor)&&U(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let B=A("ArrayBuffer"),M=N("string"),U=N("function"),F=N("number"),K=e=>null!==e&&"object"==typeof e,V=e=>{if(!K(e))return!1;let t=S(e);return(null===t||t===Object.prototype||null===S(t))&&!D(e,T)&&!D(e,k)},Y=A("Date"),z=A("File"),H=A("Blob"),$=A("FileList"),q=A("Set"),W="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof globalThis?globalThis:{},G=void 0!==W.FormData?W.FormData:void 0,X=A("URLSearchParams"),[Q,J,Z,ee]=["ReadableStream","Request","Response","Headers"].map(A);function et(e,t,{allOwnKeys:r=!1}={}){let n,o;if(null!=e)if("object"!=typeof e&&(e=[e]),R(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{let o;if(L(e))return;let s=r?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;for(n=0;n<i;n++)o=s[n],t.call(null,e[o],o,e)}}function er(e,t){let r;if(L(e))return null;t=t.toLowerCase();let n=Object.keys(e),o=n.length;for(;o-- >0;)if(t===(r=n[o]).toLowerCase())return r;return null}let en="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:globalThis,eo=e=>!P(e)&&e!==en,es=(o="u">typeof Uint8Array&&S(Uint8Array),e=>o&&e instanceof o),ei=A("HTMLFormElement"),{propertyIsEnumerable:ea}=Object.prototype,ed=A("RegExp"),el=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};et(r,(r,o)=>{let s;!1!==(s=t(r,o,e))&&(n[o]=s||r)}),Object.defineProperties(e,n)},ec=A("AsyncFunction"),eu=(a="function"==typeof setImmediate,d=U(en.postMessage),a?setImmediate:d?(l=`axios@${Math.random()}`,c=[],en.addEventListener("message",({source:e,data:t})=>{e===en&&t===l&&c.length&&c.shift()()},!1),e=>{c.push(e),en.postMessage(l,"*")}):e=>setTimeout(e)),ep="u">typeof queueMicrotask?queueMicrotask.bind(en):"u">typeof process&&process.nextTick||eu,em=e=>null!=e&&U(e[k]);var eh={isArray:R,isArrayBuffer:B,isBuffer:L,isFormData:e=>{if(!e)return!1;if(G&&e instanceof G)return!0;let t=S(e);if(!t||t===Object.prototype||!U(e.append))return!1;let r=I(e);return"formdata"===r||"object"===r&&U(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&B(e.buffer)},isString:M,isNumber:F,isBoolean:e=>!0===e||!1===e,isObject:K,isPlainObject:V,isEmptyObject:e=>{if(!K(e)||L(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Q,isRequest:J,isResponse:Z,isHeaders:ee,isUndefined:P,isDate:Y,isFile:z,isReactNativeBlob:e=>!!(e&&void 0!==e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:H,isRegExp:ed,isFunction:U,isStream:e=>K(e)&&U(e.pipe),isURLSearchParams:X,isTypedArray:es,isFileList:$,forEach:et,merge:function e(...t){let{caseless:r,skipUndefined:n}=eo(this)&&this||{},o={},s=(t,s)=>{if("__proto__"===s||"constructor"===s||"prototype"===s)return;let i=r&&"string"==typeof s&&er(o,s)||s,a=O(o,i)?o[i]:void 0;V(a)&&V(t)?o[i]=e(a,t):V(t)?o[i]=e({},t):R(t)?o[i]=t.slice():n&&P(t)||(o[i]=t)};for(let e=0,r=t.length;e<r;e++){let r=t[e];if(!r||L(r)||(et(r,s),"object"!=typeof r||R(r)))continue;let n=Object.getOwnPropertySymbols(r);for(let e=0;e<n.length;e++){let t=n[e];ea.call(r,t)&&s(r[t],t)}}return o},extend:(e,t,r,{allOwnKeys:n}={})=>(et(t,(t,n)=>{r&&U(t)?Object.defineProperty(e,n,{__proto__:null,value:w(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let o,s,i,a={};if(t=t||{},null==e)return t;do{for(s=(o=Object.getOwnPropertyNames(e)).length;s-- >0;)i=o[s],(!n||n(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=!1!==r&&S(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:I,kindOfTest:A,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return -1!==n&&n===r},toArray:e=>{if(!e)return null;if(R(e))return e;let t=e.length;if(!F(t))return null;let r=Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{let r,n=(e&&e[k]).call(e);for(;(r=n.next())&&!r.done;){let n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let r,n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:ei,hasOwnProperty:O,hasOwnProp:O,hasOwnInPrototypeChain:D,getSafeProp:(e,t)=>null!=e&&D(e,t)?e[t]:void 0,reduceDescriptors:el,freezeMethods:e=>{el(e,(t,r)=>{if(U(e)&&["arguments","caller","callee"].includes(r))return!1;if(U(e[r])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet:(e,t)=>{let r={};return(R(e)?e:String(e).split(t)).forEach(e=>{r[e]=!0}),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e*=1)?e:t,findKey:er,global:en,isContextDefined:eo,isSpecCompliantForm:function(e){return!!(e&&U(e.append)&&"FormData"===e[T]&&e[k])},toJSONObject:e=>{let t=new WeakSet,r=e=>{if(K(e)){if(t.has(e))return;if(L(e))return e;if(!("toJSON"in e)){let n;if(t.add(e),q(e))for(let t of(n=[],e)){let e=r(t);P(e)||n.push(e)}else n=R(e)?[]:{},et(e,(e,t)=>{let o=r(e);P(o)||(n[t]=o)});return t.delete(e),n}}return e};return r(e)},isAsyncFn:ec,isThenable:e=>e&&(K(e)||U(e))&&U(e.then)&&U(e.catch),setImmediate:eu,asap:ep,isIterable:em,isSafeIterable:e=>null!=e&&D(e,k)&&em(e)};let ef=eh.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"]),eg=RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),eb=RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ey(e,t){return eh.isArray(e)?e.map(e=>ey(e,t)):function(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function ev(e){let t=Object.create(null);return eh.forEach(e.toJSON(),(e,r)=>{t[r]=ey(e,eb)}),t}let e_=Symbol("internals");function ex(e){return e&&String(e).trim().toLowerCase()}function eE(e){return!1===e||null==e?e:eh.isArray(e)?e.map(eE):ey(String(e),eg)}let eC=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function ew(e){let t=0,r=e.length;for(;t<r;){let r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){let t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}function ej(e,t,r,n,o){if(eh.isFunction(n))return n.call(this,t,r);if(o&&(t=r),eh.isString(t)){if(eh.isString(n))return -1!==t.indexOf(n);if(eh.isRegExp(n))return n.test(t)}}class eS{constructor(e){e&&this.set(e)}set(e,t,r){let n=this;function o(e,t,r){let o=ex(t);if(!o)return;let s=eh.findKey(n,o);s&&void 0!==n[s]&&!0!==r&&(void 0!==r||!1===n[s])||(n[s||t]=eE(e))}let s=(e,t)=>eh.forEach(e,(e,r)=>o(e,r,t));if(eh.isPlainObject(e)||e instanceof this.constructor)s(e,t);else{let n;if(eh.isString(e)&&(e=e.trim())&&(n=e,!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim()))){var i;let r,n,o,a;s((a={},(i=e)&&i.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim();let t=eh.hasOwnProp(a,r);!r||t&&eh.hasOwnProp(ef,r)||("set-cookie"===r?t?a[r].push(n):a[r]=[n]:a[r]=t?a[r]+", "+n:n)}),a),t)}else if(eh.isObject(e)&&eh.isSafeIterable(e)){let r=Object.create(null),n,o;for(let t of e){if(!eh.isArray(t))throw TypeError("Object iterator must return a key-value pair");o=t[0],eh.hasOwnProp(r,o)?(n=r[o],r[o]=eh.isArray(n)?[...n,t[1]]:[n,t[1]]):r[o]=t[1]}s(r,t)}else null!=e&&o(t,e,r)}return this}get(e,t){if(e=ex(e)){let r=eh.findKey(this,e);if(r){let e=this[r];if(!t)return e;if(!0===t){let t,r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=n.exec(e);)r[t[1]]=t[2];return r}if(eh.isFunction(t))return t.call(this,e,r);if(eh.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ex(e)){let r=eh.findKey(this,e);return!!(r&&void 0!==this[r]&&(!t||ej(this,this[r],r,t)))}return!1}delete(e,t){let r=this,n=!1;function o(e){if(e=ex(e)){let o=eh.findKey(r,e);o&&(!t||ej(r,r[o],o,t))&&(delete r[o],n=!0)}}return eh.isArray(e)?e.forEach(o):o(e),n}clear(e){let t=Object.keys(this),r=t.length,n=!1;for(;r--;){let o=t[r];(!e||ej(this,this[o],o,e,!0))&&(delete this[o],n=!0)}return n}normalize(e){let t=this,r={};return eh.forEach(this,(n,o)=>{let s=eh.findKey(r,o);if(s){t[s]=eE(n),delete t[o];return}let i=e?o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(o).trim();i!==o&&delete t[o],t[i]=eE(n),r[i]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return eh.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&eh.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){let e=this.get("set-cookie");return eh.isArray(e)?e:null==e||!1===e?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return function(e){let t=Object.create(null),r=String(e),n=0,o=!1,s=!1;function i(e){let o=ew(r.slice(n,e)),s=o.indexOf("=");if(s<1)return;let i=ew(o.slice(0,s));if(!eC.test(i))return;let a=i.toLowerCase();if("__proto__"===a||"constructor"===a||"prototype"===a)return;let d=ew(o.slice(s+1));t[a]=function(e){let t=e.length-1;if(t<1||34!==e.charCodeAt(0)||34!==e.charCodeAt(t))return e;let r="";for(let n=1;n<t;n++){let o=e.charCodeAt(n);if(34===o||92===o&&(n+=1)>=t)return e;r+=e[n]}return r}(d)}for(let e=0;e<r.length;e++){let t=r.charCodeAt(e);o?s?s=!1:92===t?s=!0:34===t&&(o=!1):34===t?o=!0:(44===t||59===t)&&(i(e),n=e+1)}return i(r.length),t}(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let t=(this[e_]=this[e_]={accessors:{}}).accessors,r=this.prototype;function n(e){let n=ex(e);if(!t[n]){let o;o=eh.toCamelCase(" "+e),["get","set","has"].forEach(t=>{Object.defineProperty(r,t+o,{__proto__:null,value:function(r,n,o){return this[t].call(this,e,r,n,o)},configurable:!0})}),t[n]=!0}}return eh.isArray(e)?e.forEach(n):n(e),this}}eS.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),eh.reduceDescriptors(eS.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),eh.freezeMethods(eS);let ek="[REDACTED ****]";function eT(e){try{return String(e)}catch(e){return""}}class eO extends Error{static from(e,t,r,n,o,s){let i=e.message;!i&&eh.isArray(e.errors)&&e.errors.length&&(i=e.errors.map(e=>{try{return e&&e.message?eT(e.message):eT(e)}catch(e){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError");let a=new eO(i,t||e.code,r,n,o);return Object.defineProperty(a,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),s&&Object.assign(a,s),a}constructor(e,t,r,n,o){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status)}toJSON(){let e,t,r,n=this.config,o=n&&eh.hasOwnProp(n,"redact")?n.redact:void 0,s=eh.isArray(o)&&o.length>0?(e=new Set(o.map(e=>String(e).toLowerCase())),t=[],(r=n=>{let o;if(null===n||"object"!=typeof n||eh.isBuffer(n))return n;if(-1===t.indexOf(n)){if(n instanceof eS&&(n=n.toJSON()),t.push(n),eh.isArray(n))o=[],n.forEach((e,t)=>{let n=r(e);eh.isUndefined(n)||(o[t]=n)});else{if(!eh.isPlainObject(n)&&function(e){if(eh.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(eh.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(n))return t.pop(),n;for(let[t,s]of(o=Object.create(null),Object.entries(n))){let n=e.has(t.toLowerCase())?ek:r(s);eh.isUndefined(n)||(o[t]=n)}}return t.pop(),o}})(n)):eh.toJSONObject(n);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:s,code:this.code,status:this.status}}}eO.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",eO.ERR_BAD_OPTION="ERR_BAD_OPTION",eO.ECONNABORTED="ECONNABORTED",eO.ETIMEDOUT="ETIMEDOUT",eO.ECONNREFUSED="ECONNREFUSED",eO.ERR_NETWORK="ERR_NETWORK",eO.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",eO.ERR_DEPRECATED="ERR_DEPRECATED",eO.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",eO.ERR_BAD_REQUEST="ERR_BAD_REQUEST",eO.ERR_CANCELED="ERR_CANCELED",eO.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",eO.ERR_INVALID_URL="ERR_INVALID_URL",eO.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var eD={isBufferAvailable:()=>"u">typeof Buffer,from:e=>Buffer.from(e)};function eI(e){return eh.isPlainObject(e)||eh.isArray(e)}function eA(e){return eh.endsWith(e,"[]")?e.slice(0,-2):e}function eN(e,t,r){return e?e.concat(t).map(function(e,t){return e=eA(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let eR=eh.toFlatObject(eh,{},null,function(e){return/^is[A-Z]/.test(e)});function eP(e,t,r){if(!eh.isObject(e))throw TypeError("target must be an object");t=t||new(u||FormData);let n=(r=eh.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!eh.isUndefined(t[e])})).metaTokens,o=r.visitor||h,s=r.dots,i=r.indexes,a=r.Blob||"u">typeof Blob&&Blob,d=void 0===r.maxDepth?100:r.maxDepth,l=a&&eh.isSpecCompliantForm(t),c=[];if(!eh.isFunction(o))throw TypeError("visitor must be a function");function p(e){if(null===e)return"";if(eh.isDate(e))return e.toISOString();if(eh.isBoolean(e))return e.toString();if(!l&&eh.isBlob(e))throw new eO("Blob is not supported. Use a Buffer instead.");if(eh.isArrayBuffer(e)||eh.isTypedArray(e)){if(l&&"function"==typeof a)return new a([e]);if(eD&&eD.isBufferAvailable())return eD.from(e);throw new eO("Blob is not supported. Use a Buffer instead.",eO.ERR_NOT_SUPPORT)}return e}function m(e){if(e>d)throw new eO("Object is too deeply nested ("+e+" levels). Max depth: "+d,eO.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(e,r,o){let a=e;if(eh.isReactNative(t)&&eh.isReactNativeBlob(e))return t.append(eN(o,r,s),p(e)),!1;if(e&&!o&&"object"==typeof e)if(eh.endsWith(r,"{}"))r=n?r:r.slice(0,-2),e=function(e){if(d===1/0)return JSON.stringify(e);let t=[];return JSON.stringify(e,function(e,r){if(!eh.isObject(r))return r;for(;t.length&&t[t.length-1]!==this;)t.pop();return t.push(r),m(1+t.length-1),r})}(e);else{var l;if(eh.isArray(e)&&(l=e,eh.isArray(l)&&!l.some(eI))||(eh.isFileList(e)||eh.endsWith(r,"[]"))&&(a=eh.toArray(e)))return r=eA(r),a.forEach(function(e,n){eh.isUndefined(e)||null===e||t.append(!0===i?eN([r],n,s):null===i?r:r+"[]",p(e))}),!1}return!!eI(e)||(t.append(eN(o,r,s),p(e)),!1)}let f=Object.assign(eR,{defaultVisitor:h,convertValue:p,isVisitable:eI});if(!eh.isObject(e))throw TypeError("data must be an object");return!function e(r,n,s=0){if(!eh.isUndefined(r)){if(m(s),-1!==c.indexOf(r))throw Error("Circular reference detected in "+n.join("."));c.push(r),eh.forEach(r,function(r,i){!0===(!(eh.isUndefined(r)||null===r)&&o.call(t,r,eh.isString(i)?i.trim():i,n,f))&&e(r,n?n.concat(i):[i],s+1)}),c.pop()}}(e),t}function eL(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function eB(e,t){this._pairs=[],e&&eP(e,this,t)}let eM=eB.prototype;function eU(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function eF(e,t,r){let n;if(!t)return e;e=e||"";let o=eh.isFunction(r)?{serialize:r}:r,s=eh.getSafeProp(o,"encode")||eU,i=eh.getSafeProp(o,"serialize");if(n=i?i(t,o):eh.isURLSearchParams(t)?t.toString():new eB(t,o).toString(s)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e}eM.append=function(e,t){this._pairs.push([e,t])},eM.toString=function(e){let t=e?t=>e.call(this,t,eL):eL;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class eK{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){eh.forEach(this.handlers,function(t){null!==t&&e(t)})}}var eV={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},eY=m.URLSearchParams;let ez="abcdefghijklmnopqrstuvwxyz",eH="0123456789",e$={DIGIT:eH,ALPHA:ez,ALPHA_DIGIT:ez+ez.toUpperCase()+eH};var eq={isNode:!0,classes:{URLSearchParams:eY,FormData:u,Blob:"u">typeof Blob&&Blob||null},ALPHABET:e$,generateString:(e=16,t=e$.ALPHA_DIGIT)=>{let r="",{length:n}=t,o=new Uint32Array(e);p.randomFillSync(o);for(let s=0;s<e;s++)r+=t[o[s]%n];return r},protocols:["http","https","file","data"]};let eW="u">typeof window&&"u">typeof document,eG="object"==typeof navigator&&navigator||void 0,eX=eW&&(!eG||0>["ReactNative","NativeScript","NS"].indexOf(eG.product)),eQ="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,eJ=eW&&window.location.href||"http://localhost";var eZ={...Object.freeze({__proto__:null,hasBrowserEnv:eW,hasStandardBrowserEnv:eX,hasStandardBrowserWebWorkerEnv:eQ,navigator:eG,origin:eJ}),...eq};function e0(e){if(e>100)throw new eO("FormData field is too deeply nested ("+e+" levels). Max depth: 100",eO.ERR_FORM_DATA_DEPTH_EXCEEDED)}function e1(e){if(eh.isFormData(e)&&eh.isFunction(e.entries)){let t={};return eh.forEachEntry(e,(e,r)=>{!function e(t,r,n,o){e0(o);let s=t[o++];if("__proto__"===s)return!0;let i=Number.isFinite(+s),a=o>=t.length;return(s=!s&&eh.isArray(n)?n.length:s,a)?eh.hasOwnProp(n,s)?n[s]=eh.isArray(n[s])?n[s].concat(r):[n[s],r]:n[s]=r:(eh.hasOwnProp(n,s)&&eh.isObject(n[s])||(n[s]=[]),e(t,r,n[s],o)&&eh.isArray(n[s])&&(n[s]=function(e){let t,r,n={},o=Object.keys(e),s=o.length;for(t=0;t<s;t++)n[r=o[t]]=e[r];return n}(n[s]))),!i}(function(e){let t,r=[],n=/[^.[\]]+|\[([^.[\]]*)]/g;for(;null!==(t=n.exec(e));)e0(r.length),r.push("[]"===t[0]?"":t[1]||t[0]);return r}(e),r,t,0)}),t}return null}let e2=(e,t)=>null!=e&&eh.hasOwnProp(e,t)?e[t]:void 0,e3={transitional:eV,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let r,n=t.getContentType()||"",o=n.indexOf("application/json")>-1,s=eh.isObject(e);if(s&&eh.isHTMLForm(e)&&(e=new FormData(e)),eh.isFormData(e))return o?JSON.stringify(e1(e)):e;if(eh.isArrayBuffer(e)||eh.isBuffer(e)||eh.isStream(e)||eh.isFile(e)||eh.isBlob(e)||eh.isReadableStream(e))return e;if(eh.isArrayBufferView(e))return e.buffer;if(eh.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(s){let t=e2(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return eP(e,new eZ.classes.URLSearchParams,{visitor:function(e,t,r,n){return eZ.isNode&&eh.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)},...t}).toString();if((r=eh.isFileList(e))||n.indexOf("multipart/form-data")>-1){let n=e2(this,"env"),o=n&&n.FormData;return eP(r?{"files[]":e}:e,o&&new o,t)}}if(s||o){t.setContentType("application/json",!1);var i=e;if(eh.isString(i))try{return(0,JSON.parse)(i),eh.trim(i)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(i)}return e}],transformResponse:[function(e){let t=e2(this,"transitional")||e3.transitional,r=t&&t.forcedJSONParsing,n=e2(this,"responseType"),o="json"===n;if(eh.isResponse(e)||eh.isReadableStream(e))return e;if(e&&eh.isString(e)&&(r&&!n||o)){let r=t&&t.silentJSONParsing;try{return JSON.parse(e,e2(this,"parseReviver"))}catch(e){if(!r&&o){if("SyntaxError"===e.name)throw eO.from(e,eO.ERR_BAD_RESPONSE,this,null,e2(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:eZ.classes.FormData,Blob:eZ.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};function e4(e,t){let r=this||e3,n=t||r,o=eS.from(n.headers),s=n.data;return eh.forEach(e,function(e){s=e.call(r,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function e6(e){return!!(e&&e.__CANCEL__)}eh.forEach(["delete","get","head","post","put","patch","query"],e=>{e3.headers[e]={}});class e5 extends eO{constructor(e,t,r){super(null==e?"canceled":e,eO.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}}function e8(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new eO("Request failed with status code "+r.status,r.status>=400&&r.status<500?eO.ERR_BAD_REQUEST:eO.ERR_BAD_RESPONSE,r.config,r.request,r))}let e7=/^https?:(?!\/\/)/i,e9=/[\t\n\r]/g;function te(e,t){if("string"==typeof e){let n=(function(e){let t=0;for(;t<e.length&&32>=e.charCodeAt(t);)t++;return e.slice(t)})(e).replace(e9,"");if(e7.test(n)){var r;let e,o,s;throw new eO(`Invalid URL ${JSON.stringify((s=(-1===(o=(e=n.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${ek}@`)).indexOf("#"))?e:e.slice(0,o)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${ek}`),-1===o?s:`${s}#${!(r=e.slice(o+1))?r:r.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,r="")=>`${t}${r}${ek}`)}`))}: missing "//" after protocol`,eO.ERR_INVALID_URL,t)}}}function tt(e,t,r,n){te(t,n);let o=!("string"==typeof t&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t));if(e&&(o||!1===r)){te(e,n);if(!t)return e;let r=e.length;for(;r>0&&47===e.charCodeAt(r-1);)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}return t}var tr={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};function tn(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}let to="1.19.0";function ts(e){let t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}let ti=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/,ta=["content-type","content-length"];function td(e,t,r){"content-only"!==r?e.set(t):Object.entries(t||{}).forEach(([t,r])=>{ta.includes(t.toLowerCase())&&e.set(t,r)})}let tl=Symbol("internals");class tc extends E.Transform{constructor(e){super({readableHighWaterMark:(e=eh.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(e,t)=>!eh.isUndefined(t[e]))).chunkSize});let t=this[tl]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",e=>{"progress"!==e||t.isCaptured||(t.isCaptured=!0)})}_read(e){let t=this[tl];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,r){let n=this[tl],o=n.maxRate,s=this.readableHighWaterMark,i=n.timeWindow,a=o/(1e3/i),d=!1!==n.minChunkSize?Math.max(n.minChunkSize,.01*a):0,l=(e,t)=>{let r=Buffer.byteLength(e);n.bytesSeen+=r,n.bytes+=r,n.isCaptured&&this.emit("progress",n.bytesSeen),this.push(e)?process.nextTick(t):n.onReadCallback=()=>{n.onReadCallback=null,process.nextTick(t)}},c=(e,t)=>{let r,c=Buffer.byteLength(e),u=null,p=s,m=0;if(o){let e=Date.now();(!n.ts||(m=e-n.ts)>=i)&&(n.ts=e,r=a-n.bytes,n.bytes=r<0?-r:0,m=0),r=a-n.bytes}if(o){if(r<=0)return setTimeout(()=>{t(null,e)},i-m);r<p&&(p=r)}p&&c>p&&c-p>d&&(u=e.subarray(p),e=e.subarray(0,p)),l(e,u?()=>{process.nextTick(t,null,u)}:t)};c(e,function e(t,n){if(t)return r(t);n?c(n,e):r(null)})}}let{asyncIterator:tu}=Symbol,tp=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[tu]?yield*e[tu]():yield e},tm=eZ.ALPHABET.ALPHA_DIGIT+"-_",th="function"==typeof TextEncoder?new TextEncoder:new y.TextEncoder,tf=th.encode("\r\n");class tg{constructor(e,t){let{escapeName:r}=this.constructor,n=eh.isString(t),o=`Content-Disposition: form-data; name="${r(e)}"${!n&&t.name?`; filename="${r(t.name)}"`:""}\r
20
20
  `;if(n)t=th.encode(String(t).replace(/\r?\n|\r\n?/g,"\r\n"));else{let e=String(t.type||"application/octet-stream").replace(/[\r\n]/g,"");o+=`Content-Type: ${e}\r
21
- `}this.headers=th.encode(o+"\r\n"),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async *encode(){yield this.headers;let{value:e}=this;eh.isTypedArray(e)?yield e:yield*tp(e),yield tf}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"})[e])}}class tb extends E.Transform{__transform(e,t,r){this.push(e),r()}_transform(e,t,r){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){let e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,r)}}let ty=new Set(["localhost","0.0.0.0"]),tv=e=>{let t=e.split(".");return 4===t.length&&"127"===t[0]&&t.every(e=>/^\d+$/.test(e)&&Number(e)>=0&&255>=Number(e))},t_=e=>{if(/^0[xX][0-9a-fA-F]+$/.test(e)){let t=parseInt(e.slice(2),16);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-7]+$/.test(e)){let t=parseInt(e,8);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-9]+$/.test(e))return null;if(/^[0-9]+$/.test(e)){let t=parseInt(e,10);return Number.isFinite(t)?t:null}return null},tx=e=>/^0{1,4}$/.test(e),tE=e=>!!e&&(!!(ty.has(e)||tv(e)||(e=>{if("::"===e)return!0;let t=e.indexOf("::");if(-1!==t){if(t!==e.lastIndexOf("::"))return!1;let r=e.slice(0,t),n=e.slice(t+2),o=r?r.split(":"):[],s=n?n.split(":"):[];return o.length+s.length<8&&o.every(tx)&&s.every(tx)}let r=e.split(":");return 8===r.length&&r.every(tx)})(e))||(e=>{if("::1"===e)return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return tv(t[1]);let r=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(r){let e=parseInt(r[1],16);return e>=32512&&e<=32767}let n=e.split(":");if(8===n.length){for(let e=0;e<7;e++)if(!/^0+$/.test(n[e]))return!1;return/^0*1$/.test(n[7])}return!1})(e)),tC={http:80,https:443,ws:80,wss:443,ftp:21},tw=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,tj=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,tS=e=>{if(!e)return e;"["===e.charAt(0)&&"]"===e.charAt(e.length-1)&&(e=e.slice(1,-1));let t=e.replace(/\.+$/,""),r=(e=>{if("string"!=typeof e||!e||-1!==e.indexOf(":"))return e;let t=e;if("["===t.charAt(0)&&"]"===t.charAt(t.length-1)&&(t=t.slice(1,-1)),t=t.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(t))return e;let r=t.split(".");if(r.some(e=>""===e))return e;if(4===r.length){let t=r.map(t_);return t.some(e=>null===e||e<0||e>255)?e:t.join(".")}if(r.length>4||1===r.length)return e;let n=r.slice(0,-1),o=r[r.length-1],s=4-n.length,i=t_(o);if(null===i)return e;let a=(1<<8*s)-1;if(i<0||i>a)return e;let d=Array(s).fill(0);for(let e=s-1,t=i;e>=0;e--,t>>=8)d[e]=255&t;let l=n.map(t_);return l.some(e=>null===e||e<0||e>255)?e:[...l,...d].join(".")})(t);if(r!==t)return r;if("string"!=typeof t||-1===t.indexOf(":"))return t;let n=t.match(tw);if(n)return n[1];let o=t.match(tj);if(o){let e=parseInt(o[1],16),t=parseInt(o[2],16);return`${e>>8}.${255&e}.${t>>8}.${255&t}`}return t},tk=(e,t,r=3)=>{var n,o,s;let i,a,d,l,c,u,p,m,h,f,g=0,b=(o=250,a=Array(n=n=50),d=Array(n),l=0,c=0,o=void 0!==o?o:1e3,function(e){let t=Date.now(),r=d[c];i||(i=t),a[l]=e,d[l]=t;let s=c,u=0;for(;s!==l;)u+=a[s++],s%=n;if((l=(l+1)%n)===c&&(c=(c+1)%n),t-i<o)return;let p=r&&t-r;return p?Math.round(1e3*u/p):void 0});return s=r=>{if(!r||"number"!=typeof r.loaded)return;let n=r.loaded,o=r.lengthComputable?r.total:void 0,s=Math.max(0,null!=o?Math.min(n,o):n),i=Math.max(0,s-g),a=b(i);g=Math.max(g,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:i,rate:a||void 0,estimated:a&&o?(o-s)/a:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})},m=0,h=1e3/r,f=(e,t=Date.now())=>{m=t,u=null,p&&(clearTimeout(p),p=null),s(...e)},[(...e)=>{let t=Date.now(),r=t-m;r>=h?f(e,t):(u=e,p||(p=setTimeout(()=>{p=null,f(u)},h-r)))},()=>u&&f(u)]},tT=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},tO=(e,t=eh.asap)=>(...r)=>t(()=>e(...r)),tD=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,tI=(e,t,r)=>t+2<r&&tD(e.charCodeAt(t+1))&&tD(e.charCodeAt(t+2)),tA=e=>e<=57?e-48:(223&e)-55,tN=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,tR=e=>9===e||10===e||12===e||13===e||32===e,tP=e=>{let t=e.length,r=0;return t>0&&61===e.charCodeAt(t-1)&&(r++,t>1&&61===e.charCodeAt(t-2)&&r++),Math.floor((t-r)*3/4)},tL=e=>{var t;let r,n,o=e.length,s=0,i=0,a=!1;for(let t=0;t<o;t++){let r=e.charCodeAt(t);if(37===r&&tI(e,t,o)&&(r=16*tA(e.charCodeAt(t+1))+tA(e.charCodeAt(t+2)),t+=2),!tR(r)){if(61===r){i++;continue}if(!tN(r)||i>0){a=!0;continue}s++}}return a||i>2||i>0&&(s+i)%4!=0||s%4==1?tP(e):(r=Math.floor((t=s)/4),3*r+(2==(n=t%4)?1:2*(3===n)))},tB=(e,t)=>{if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let r=e.indexOf(",");if(r<0)return 0;let n=e.slice(5,r),o=e.slice(r+1);if(/;base64/i.test(n))return t(o);let s=0;for(let e=0,t=o.length;e<t;e++){let r=o.charCodeAt(e);if(37===r&&tI(o,e,t))s+=1,e+=2;else if(r<128)s+=1;else if(r<2048)s+=2;else if(r>=55296&&r<=56319&&e+1<t){let t=o.charCodeAt(e+1);t>=56320&&t<=57343?(s+=4,e++):s+=3}else s+=3}return s},tM={flush:x.constants.Z_SYNC_FLUSH,finishFlush:x.constants.Z_SYNC_FLUSH},tU={flush:x.constants.BROTLI_OPERATION_FLUSH,finishFlush:x.constants.BROTLI_OPERATION_FLUSH},tF={flush:x.constants.ZSTD_e_flush,finishFlush:x.constants.ZSTD_e_flush},tK=eh.isFunction(x.createBrotliDecompress),tV=eh.isFunction(x.createZstdDecompress),tY="gzip, compress, deflate"+(tK?", br":""),tz=tY+(tV?", zstd":""),tH="u">typeof process&&process.nextTick?process.nextTick.bind(process):eh.asap,{http:t$,https:tq}=_,tW=/https:?/,tG=Symbol("axios.http.socketListener"),tX=Symbol("axios.http.currentReq"),tQ=Symbol("axios.http.installedTunnel"),tJ=new Map,tZ=new WeakMap,t0={22:21,24:5},t1=eZ.protocols.map(e=>e+":"),t2=e=>{if(!eh.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},t3=(e,[t,r])=>(e.on("end",r).on("error",r),t),t4=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){let r,n;t=Object.assign({sessionTimeout:1e3},t);let o=this.sessions[e];if(o){let e=o.length;for(let r=0;r<e;r++){let[e,n]=o[r];if(!e.destroyed&&!e.closed&&y.isDeepStrictEqual(n,t))return e}}let s=b.connect(e,t),i=()=>{if(r)return;r=!0,n&&(clearTimeout(n),n=null);let t=o,i=t.length,a=i;for(;a--;)if(t[a][0]===s){1===i?delete this.sessions[e]:t.splice(a,1),s.closed||s.close();return}},a=s.request,{sessionTimeout:d}=t;if(null!=d){let e=0;s.request=function(){let t=a.apply(this,arguments);return e++,n&&(clearTimeout(n),n=null),t.once("close",()=>{--e||(n=setTimeout(()=>{n=null,i()},d))}),t}}s.once("close",i);let l=[s,t];return o?o.push(l):o=this.sessions[e]=[l],s}};function t6(e,t,r){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.auth&&e.beforeRedirects.auth(e),e.beforeRedirects.sensitiveHeaders&&e.beforeRedirects.sensitiveHeaders(e,r),e.beforeRedirects.config&&e.beforeRedirects.config(e,t,r)}let t5="u">typeof process&&"process"===eh.kindOf(process),t8=(e,t)=>(({address:e,family:t})=>{if(!eh.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(0>e.indexOf(".")?6:4)}})(eh.isObject(e)?e:{address:e,family:t}),t7={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:n,headers:o}=e,s=t4.getSession(r,n),{HTTP2_HEADER_SCHEME:i,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:d,HTTP2_HEADER_STATUS:l}=b.constants,c={[i]:e.protocol.replace(":",""),[a]:e.method,[d]:e.path};eh.forEach(o,(e,t)=>{":"!==t.charAt(0)&&(c[t]=e)});let u=s.request(c);return u.once("response",e=>{let r=(e=Object.assign({},e))[l];delete e[l],u.headers=e,u.statusCode=+r,t(u)}),u}};var t9=t5&&function(e){let t;return t=async function(t,r,n){let o,s,i,a,d,l,c,u,p=eh.getSafeProp(e,"transitional")||eV,m=eh.getSafeProp(e,"data"),b=eh.getSafeProp(e,"lookup"),_=eh.getSafeProp(e,"family"),w=eh.getSafeProp(e,"httpVersion");void 0===w&&(w=1);let j=eh.getSafeProp(e,"http2Options"),S=eh.getSafeProp(e,"httpAgent"),k=eh.getSafeProp(e,"httpsAgent"),T=eh.getSafeProp(e,"proxy"),O=eh.getSafeProp(e,"responseType"),D=eh.getSafeProp(e,"responseEncoding"),I=eh.getSafeProp(e,"socketPath"),A=eh.getSafeProp(e,"method").toUpperCase(),N=eh.getSafeProp(e,"maxRedirects"),R=eh.getSafeProp(e,"maxBodyLength"),P=eh.getSafeProp(e,"maxContentLength"),L=eh.getSafeProp(e,"decompress"),B=!1;if(Number.isNaN(w*=1))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==w&&2!==w)throw TypeError(`Unsupported protocol version '${w}'`);let M=2===w;if(b){let e,t,r=(e=b,t=e=>eh.isArray(e)?e:[e],eh.isAsyncFn(e)?function(...r){let n=r.pop();e.apply(this,r).then(e=>{try{t?n(null,...t(e)):n(null,e)}catch(e){n(e)}},n)}:e);b=(e,t,n)=>{r(e,t,(e,r,o)=>{if(e)return n(e);let s=eh.isArray(r)?r.map(e=>t8(e)):[t8(r,o)];t.all?n(e,s):n(e,s[0].address,s[0].family)})}}let U=new C.EventEmitter;function F(t){try{U.emit("abort",!t||t.type?new e5(null,e,s):t)}catch(e){}}function K(){i&&(clearTimeout(i),i=null)}U.once("abort",r);let V=()=>{K(),e.cancelToken&&e.cancelToken.unsubscribe(F),e.signal&&e.signal.removeEventListener("abort",F),U.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(F),e.signal&&(e.signal.aborted?F():e.signal.addEventListener("abort",F))),n((e,t)=>{if(o=!0,K(),t){B=!0,V();return}let{data:r}=e;if(r instanceof E.Readable||r instanceof E.Duplex){let e=E.finished(r,()=>{e(),V()})}else V()});let Y=tt(eh.getSafeProp(e,"baseURL"),eh.getSafeProp(e,"url"),eh.getSafeProp(e,"allowAbsoluteUrls"),e),z=new URL(Y,I?"http://localhost":eZ.hasBrowserEnv?eZ.origin:void 0),H=z.protocol||t1[0];if("data:"===H){let n;if(P>-1&&tB(String(eh.getSafeProp(e,"url")||Y||""),tP)>P)return r(new eO("maxContentLength size of "+P+" exceeded",eO.ERR_BAD_RESPONSE,e));if("GET"!==A)return e8(t,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{n=function(e,t,r){let n=r&&r.Blob||eZ.classes.Blob,o=ts(e);if(void 0===t&&n&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;let r=ti.exec(e);if(!r)throw new eO("Invalid URL",eO.ERR_INVALID_URL);let s=r[1],i=r[2],a=r[3]?"base64":"utf8",d=r[4],l="";s?l=i?s+i:s:i&&(l="text/plain"+i);let c="base64"===a?Buffer.from(d,"base64"):Buffer.from(decodeURIComponent(d),a);if(t){if(!n)throw new eO("Blob is not supported",eO.ERR_NOT_SUPPORT);return new n([c],{type:l})}return c}throw new eO("Unsupported protocol "+o,eO.ERR_NOT_SUPPORT)}(eh.getSafeProp(e,"url"),"blob"===O,{Blob:e.env&&e.env.Blob})}catch(t){throw eO.from(t,eO.ERR_BAD_REQUEST,e)}return"text"===O?(n=n.toString(D),D&&"utf8"!==D||(n=eh.stripBOM(n))):"stream"===O&&(n=E.Readable.from(n)),e8(t,r,{data:n,status:200,statusText:"OK",headers:new eS,config:e})}if(-1===t1.indexOf(H))return r(new eO("Unsupported protocol "+H,eO.ERR_BAD_REQUEST,e));let $=eS.from(e.headers).normalize();$.set("User-Agent","axios/"+to,!1);let{onUploadProgress:q,onDownloadProgress:W}=e,G=e.maxRate;if(eh.isSpecCompliantForm(m)){let e=$.getContentType(/boundary=([-_\w\d]{10,70})/i);m=((e,t,r)=>{let{tag:n="form-data-boundary",size:o=25,boundary:s=n+"-"+eZ.generateString(o,tm)}=r||{};if(!eh.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 1-70 characters long");let i=th.encode("--"+s+"\r\n"),a=th.encode("--"+s+"--\r\n"),d=a.byteLength,l=Array.from(e.entries()).map(([e,t])=>{let r=new tg(e,t);return d+=r.size,r});d+=i.byteLength*l.length;let c={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(d=eh.toFiniteNumber(d))&&(c["Content-Length"]=d),t&&t(c),E.Readable.from(async function*(){for(let e of l)yield i,yield*e.encode();yield a}())})(m,e=>{$.set(e)},{tag:`axios-${to}-boundary`,boundary:e&&e[1]||void 0})}else if(eh.isFormData(m)&&eh.isFunction(m.getHeaders)&&m.getHeaders!==Object.prototype.getHeaders){if(td($,m.getHeaders(),eh.getSafeProp(e,"formDataHeaderPolicy")),!$.hasContentLength())try{let e=await y.promisify(m.getLength).call(m);Number.isFinite(e)&&e>=0&&$.setContentLength(e)}catch(e){}}else if(eh.isBlob(m)||eh.isFile(m))m.size&&$.setContentType(m.type||"application/octet-stream"),$.setContentLength(m.size||0),m=E.Readable.from(tp(m));else if(m&&!eh.isStream(m)){if(Buffer.isBuffer(m));else if(eh.isArrayBuffer(m))m=Buffer.from(new Uint8Array(m));else{if(!eh.isString(m))return r(new eO("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",eO.ERR_BAD_REQUEST,e));m=Buffer.from(m,"utf-8")}if($.setContentLength(m.length,!1),R>-1&&m.length>R)return r(new eO("Request body larger than maxBodyLength limit",eO.ERR_BAD_REQUEST,e))}let X=eh.toFiniteNumber($.getContentLength());eh.isArray(G)?(l=G[0],c=G[1]):l=c=G,m&&(q||l)&&(eh.isStream(m)||(m=E.Readable.from(m,{objectMode:!1})),m=E.pipeline([m,new tc({maxRate:eh.toFiniteNumber(l)})],eh.noop),q&&m.on("progress",t3(m,tT(X,tk(tO(q,tH),!1,3)))));let Q=eh.getSafeProp(e,"auth");Q&&(u=(eh.getSafeProp(Q,"username")||"")+":"+(eh.getSafeProp(Q,"password")||"")),!u&&(z.username||z.password)&&(u=t2(z.username)+":"+t2(z.password)),u&&$.delete("authorization");try{a=eF(z.pathname+z.search,eh.getSafeProp(e,"params"),eh.getSafeProp(e,"paramsSerializer")).replace(/^\?/,"")}catch(t){return r(eO.from(t,eO.ERR_BAD_REQUEST,e,null,null,{url:eh.getSafeProp(e,"url"),exists:!0}))}$.set("Accept-Encoding",eh.hasOwnProp(p,"advertiseZstdAcceptEncoding")&&!0===p.advertiseZstdAcceptEncoding?tz:tY,!1);let J=Object.assign(Object.create(null),{path:a,method:A,headers:ev($),agents:{http:S,https:k},auth:u,protocol:H,family:_,beforeRedirect:t6,beforeRedirects:Object.create(null),http2Options:j});if(eh.isUndefined(b)||(J.lookup=b),I){if("string"!=typeof I)return r(new eO("socketPath must be a string",eO.ERR_BAD_OPTION_VALUE,e));let t=eh.getSafeProp(e,"allowedSocketPaths");if(null!=t){let n=Array.isArray(t)?t:[t],o=v.resolve(I);if(!n.some(e=>"string"==typeof e&&v.resolve(e)===o))return r(new eO(`socketPath "${I}" is not permitted by allowedSocketPaths`,eO.ERR_BAD_OPTION_VALUE,e))}J.socketPath=I}else J.hostname=z.hostname.startsWith("[")?z.hostname.slice(1,-1):z.hostname,J.port=z.port,function e(t,r,n,o,s,i){let a=r,d=tW.test(t.protocol)?s||g.globalAgent:i||f.globalAgent;if(!a&&!1!==a&&!function(e,t=process.versions&&process.versions.node){if(!function(e=process.versions&&process.versions.node){if(!e)return!1;let[t,r]=e.split(".").map(e=>Number(e));return!!Number.isInteger(t)&&!!Number.isInteger(r)&&(t>24||null!=t0[t]&&r>=t0[t])}(t))return!1;let r=e&&e.options;return!!(r&&eh.hasOwnProp(r,"proxyEnv")&&null!=r.proxyEnv)}(d)){let e=function(e){var t,r,n,o=("string"==typeof e?function(e){try{return new URL(e)}catch{return null}}(e):e)||{},s=o.protocol,i=o.host,a=o.port;if("string"!=typeof i||!i||"string"!=typeof s||(s=s.split(":",1)[0],t=i=i.replace(/:\d*$/,""),r=a=parseInt(a)||tr[s]||0,!(!(n=tn("no_proxy").toLowerCase())||"*"!==n&&n.split(/[,\s]/).every(function(e){if(!e)return!0;var n=e.match(/^(.+):(\d+)$/),o=n?n[1]:e,s=n?parseInt(n[2]):0;return!!s&&s!==r||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!t.endsWith(o)):t!==o)}))))return"";var d=tn(s+"_proxy")||tn("all_proxy");return d&&-1===d.indexOf("://")&&(d=s+"://"+d),d}(n);e&&!function(e){let t;try{t=new URL(e)}catch(e){return!1}let r=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!r)return!1;if("*"===r)return!0;let n=Number.parseInt(t.port,10)||tC[t.protocol.split(":",1)[0]]||0,o=tS(t.hostname.toLowerCase());return r.split(/[\s,]+/).some(e=>{if(!e)return!1;if("*"===e)return!0;let[t,r]=(e=>{let t=e,r=0;if("["===t.charAt(0)){let e=t.indexOf("]");if(-1!==e){let n=t.slice(1,e),o=t.slice(e+1);return":"===o.charAt(0)&&/^\d+$/.test(o.slice(1))&&(r=Number.parseInt(o.slice(1),10)),[n,r]}}let n=t.indexOf(":"),o=t.lastIndexOf(":");return -1!==n&&n===o&&/^\d+$/.test(t.slice(o+1))&&(r=Number.parseInt(t.slice(o+1),10),t=t.slice(0,o)),[t,r]})(e);return!!(t=tS(t))&&(!r||r===n)&&(("*"===t.charAt(0)&&(t=t.slice(1)),"."===t.charAt(0))?o.endsWith(t):o===t||tE(o)&&tE(t))})}(n)&&(a=new URL(e))}if(o&&t.headers)for(let e of Object.keys(t.headers))"proxy-authorization"===e.toLowerCase()&&delete t.headers[e];if(o&&t.agent&&t.agent[tQ]&&(t.agent=void 0),a){let e=a instanceof URL,r=t=>e||eh.hasOwnProp(a,t)?a[t]:void 0,o=r("username"),i=r("password"),d=eh.hasOwnProp(a,"auth")?a.auth:void 0;if(o&&(d=(o||"")+":"+(i||"")),d){let e="object"==typeof d,t=e&&eh.hasOwnProp(d,"username")?d.username:void 0,r=e&&eh.hasOwnProp(d,"password")?d.password:void 0;if(t||r)d=(t||"")+":"+(r||"");else if(e)throw new eO("Invalid proxy authorization",eO.ERR_BAD_OPTION,{proxy:a})}if(tW.test(t.protocol)){if(!(s instanceof h)){let e=r("hostname")||r("host"),n=r("port"),o=r("protocol"),i=o?o.includes(":")?o:`${o}:`:"http:",a=e&&e.includes(":")&&!e.startsWith("[")?`[${e}]`:e,l=new URL(`${i}//${a}${n?":"+n:""}`),c={protocol:l.protocol,hostname:l.hostname.replace(/^\[|\]$/g,""),port:l.port,auth:d&&"string"==typeof d?d:void 0};"https:"===l.protocol&&(c.ALPNProtocols=["http/1.1"]);let u=function(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?tZ.get(t)||tZ.set(t,new Map).get(t):tJ,o=n.get(r);if(o)return o;if(o=new h(t&&t.options?{...t.options,...e}:e),t&&t.options){let e={...t.options},r=o.callback;o.callback=function(t,n){return r.call(this,t,{...e,...n})}}return o[tQ]=!0,n.set(r,o),o}(c,s);t.agent=u,t.agents&&(t.agents.https=u)}}else{if(d){let e=Buffer.from(d,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+e}let e=!1;for(let r of Object.keys(t.headers))if("host"===r.toLowerCase()){e=!0;break}e||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let o=r("hostname")||r("host");t.hostname=o,t.host=o,t.port=r("port"),t.path=n;let s=r("protocol");s&&(t.protocol=s.includes(":")?s:`${s}:`)}}t.beforeRedirects.proxy=function(t){e(t,r,t.href,!0,s,i)}}(J,T,H+"//"+z.hostname+(z.port?":"+z.port:"")+J.path,!1,k,S);let Z=!1,ee=!1,et=tW.test(J.protocol);if(null==J.agent&&(J.agent=et?k:S),M)d=t7;else{let t=eh.getSafeProp(e,"transport");if(t)d=t;else if(0===N)d=et?g:f,Z=!0;else{ee=!0,J.sensitiveHeaders=[],N&&(J.maxRedirects=N);let t=eh.getSafeProp(e,"beforeRedirect");if(t&&(J.beforeRedirects.config=t),u){let e=z.origin,t=u;J.beforeRedirects.auth=function(r){try{new URL(r.href).origin===e&&(r.auth=t)}catch(e){}}}let n=eh.getSafeProp(e,"sensitiveHeaders");if(null!=n){if(!eh.isArray(n))return r(new eO("sensitiveHeaders must be an array of strings",eO.ERR_BAD_OPTION_VALUE,e));let t=new Set;for(let o of n){if(!eh.isString(o))return r(new eO("sensitiveHeaders must be an array of strings",eO.ERR_BAD_OPTION_VALUE,e));t.add(o.toLowerCase())}t.size&&(J.sensitiveHeaders=Array.from(t),J.beforeRedirects.sensitiveHeaders=function(e,r){var n;!function(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(e){return!1}}(e,r)&&(n=e.headers,n&&Object.keys(n).forEach(e=>{t.has(e.toLowerCase())&&delete n[e]}))})}d=et?tq:t$}}R>-1?J.maxBodyLength=R:J.maxBodyLength=1/0,J.insecureHTTPParser=!!eh.getSafeProp(e,"insecureHTTPParser"),s=d.request(J,function(n){if(K(),s.destroyed)return;let o=[n],i=eh.toFiniteNumber(n.headers["content-length"]);if(W||c){let e=new tc({maxRate:eh.toFiniteNumber(c)});W&&e.on("progress",t3(e,tT(i,tk(tO(W,tH),!0,3)))),o.push(e)}let a=n,d=n.req||s;if(!1!==L&&n.headers["content-encoding"])switch(("HEAD"===A||204===n.statusCode)&&delete n.headers["content-encoding"],(n.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(x.createUnzip(tM)),delete n.headers["content-encoding"];break;case"deflate":o.push(new tb),o.push(x.createUnzip(tM)),delete n.headers["content-encoding"];break;case"br":tK&&(o.push(x.createBrotliDecompress(tU)),delete n.headers["content-encoding"]);break;case"zstd":tV&&(o.push(x.createZstdDecompress(tF)),delete n.headers["content-encoding"])}a=o.length>1?E.pipeline(o,eh.noop):o[0];let l={status:n.statusCode,statusText:n.statusMessage,headers:new eS(n.headers),config:e,request:d};if("stream"===O){if(P>-1){let t=a;async function*u(){let r=0;for await(let n of t){if((r+=n.length)>P)throw new eO("maxContentLength size of "+P+" exceeded",eO.ERR_BAD_RESPONSE,e,d);yield n}}a=E.Readable.from(u(),{objectMode:!1})}l.data=a,e8(t,r,l)}else{let n=[],o=0;a.on("data",function(t){n.push(t),o+=t.length,P>-1&&o>P&&(B=!0,a.destroy(),F(new eO("maxContentLength size of "+P+" exceeded",eO.ERR_BAD_RESPONSE,e,d)))}),a.on("aborted",function(){if(B)return;let t=new eO("stream has been aborted",eO.ERR_BAD_RESPONSE,e,d,l);a.destroy(t),r(t)}),a.on("error",function(t){B||r(eO.from(t,null,e,d,l))}),a.on("end",function(){try{let e=1===n.length?n[0]:Buffer.concat(n);"arraybuffer"!==O&&(e=e.toString(D),D&&"utf8"!==D||(e=eh.stripBOM(e))),l.data=e}catch(t){return r(eO.from(t,null,e,l.request,l))}e8(t,r,l)})}U.once("abort",e=>{a.destroyed||(a.emit("error",e),a.destroy())})}),U.once("abort",e=>{s.close?s.close():s.destroy(e)}),s.on("error",function(t){r(eO.from(t,null,e,s))});let er=new Set;if(s.on("socket",function(e){"function"==typeof e.setKeepAlive&&e.setKeepAlive(!0,6e4),e[tG]||(e.on("error",function(t){let r=e[tX];r&&!r.destroyed&&r.destroy(t)}),e[tG]=!0),e[tX]=s,er.add(e)}),s.once("close",function(){for(let e of(K(),er))e[tX]===s&&(e[tX]=null);er.clear()}),eh.getSafeProp(e,"timeout")){let t=parseInt(eh.getSafeProp(e,"timeout"),10);if(Number.isNaN(t))return void F(new eO("error trying to parse `config.timeout` to int",eO.ERR_BAD_OPTION_VALUE,e,s));let r=function(){if(!o){let t,r,n;F((r=(t=eh.getSafeProp(e,"timeout"))?"timeout of "+t+"ms exceeded":"timeout exceeded",(n=eh.getSafeProp(e,"timeoutErrorMessage"))&&(r=n),new eO(r,p.clarifyTimeoutError?eO.ETIMEDOUT:eO.ECONNABORTED,e,s)))}};Z&&t>0&&(i=setTimeout(r,t)),s.setTimeout(t,r)}else s.setTimeout(0);if(eh.isStream(m)){let t=!1,r=!1;m.on("end",()=>{t=!0}),m.once("error",e=>{r=!0,s.destroy(e)}),m.on("close",()=>{t||r||F(new e5("Request stream has been aborted",e,s))});let n=m;if(R>-1&&!ee){let t=0;(n=E.pipeline([m,new E.Transform({transform(r,n,o){if((t+=r.length)>R)return o(new eO("Request body larger than maxBodyLength limit",eO.ERR_BAD_REQUEST,e,s));o(null,r)}})],eh.noop)).on("error",e=>{s.destroyed||s.destroy(e)})}n.pipe(s)}else m&&s.write(m),s.end()},new Promise((e,r)=>{let n,o,s=(e,t)=>{!o&&(o=!0,n&&n(e,t))},i=e=>{s(e,!0),r(e)};t(t=>{s(t),e(t)},i,e=>n=e).catch(i)})},re=eZ.hasStandardBrowserEnv?(s=new URL(eZ.origin),i=eZ.navigator&&/(msie|trident)/i.test(eZ.navigator.userAgent),e=>(e=new URL(e,eZ.origin),s.protocol===e.protocol&&s.host===e.host&&(i||s.port===e.port))):()=>!0,rt=eZ.hasStandardBrowserEnv?{write(e,t,r,n,o,s,i){if("u"<typeof document)return;let a=[`${e}=${encodeURIComponent(t)}`];eh.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),eh.isString(n)&&a.push(`path=${n}`),eh.isString(o)&&a.push(`domain=${o}`),!0===s&&a.push("secure"),eh.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("u"<typeof document)return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)try{return decodeURIComponent(n.slice(o+1))}catch(e){return n.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};let rr=e=>e instanceof eS?{...e}:e;function rn(e,t){var r;e=e||{},t=t||{};let n=Object.create(null);function o(e,t,r,n){return eh.isPlainObject(e)&&eh.isPlainObject(t)?eh.merge.call({caseless:n},e,t):eh.isPlainObject(t)?eh.merge({},t):eh.isArray(t)?t.slice():t}function s(e,t,r,n){return eh.isUndefined(t)?eh.isUndefined(e)?void 0:o(void 0,e,r,n):o(e,t,r,n)}function i(e,t){if(!eh.isUndefined(t))return o(void 0,t)}function a(e,t){return eh.isUndefined(t)?eh.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function d(r,n,s){return eh.hasOwnProp(t,s)?o(r,n):eh.hasOwnProp(e,s)?o(void 0,r):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});let l={url:i,method:i,data:i,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,allowedSocketPaths:a,responseEncoding:a,validateStatus:d,headers:(e,t,r)=>s(rr(e),rr(t),r,!0)};return eh.forEach((r={...e,...t},Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(r).concat(Object.getOwnPropertySymbols(r).filter(e=>Object.getOwnPropertyDescriptor(r,e).enumerable)):Object.keys(r)),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;let o=eh.hasOwnProp(l,r)?l[r]:s,i=o(eh.hasOwnProp(e,r)?e[r]:void 0,eh.hasOwnProp(t,r)?t[r]:void 0,r);eh.isUndefined(i)&&o!==d||(n[r]=i)}),eh.hasOwnProp(t,"validateStatus")&&eh.isUndefined(t.validateStatus)&&!1===function(r){let n=eh.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!eh.isUndefined(n)){if(!eh.isPlainObject(n))return;else if(eh.hasOwnProp(n,r))return n[r]}let o=eh.hasOwnProp(e,"transitional")?e.transitional:void 0;if(eh.isPlainObject(o)&&eh.hasOwnProp(o,r))return o[r]}("validateStatusUndefinedResolves")&&(eh.hasOwnProp(e,"validateStatus")?n.validateStatus=o(void 0,e.validateStatus):delete n.validateStatus),n}function ro(e){let t=rn({},e),r=e=>eh.hasOwnProp(t,e)?t[e]:void 0,n=r("data"),o=r("withXSRFToken"),s=r("xsrfHeaderName"),i=r("xsrfCookieName"),a=r("headers"),d=r("auth"),l=r("baseURL"),c=r("allowAbsoluteUrls"),u=r("url");if(t.headers=a=eS.from(a),t.url=eF(tt(l,u,c,t),r("params"),r("paramsSerializer")),d){let t=eh.getSafeProp(d,"username")||"",r=eh.getSafeProp(d,"password")||"";try{a.set("Authorization","Basic "+btoa(t+":"+(r?encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw eO.from(t,eO.ERR_BAD_OPTION_VALUE,e)}}if(eh.isFormData(n)&&(eZ.hasStandardBrowserEnv||eZ.hasStandardBrowserWebWorkerEnv||eh.isReactNative(n)?a.setContentType(void 0):eh.isFunction(n.getHeaders)&&td(a,n.getHeaders(),r("formDataHeaderPolicy"))),eZ.hasStandardBrowserEnv&&(eh.isFunction(o)&&(o=o(t)),!0===o||null==o&&re(t.url))){let e=s&&i&&rt.read(i);e&&a.set(s,e)}return t}var rs="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,o,s,i,a,d=ro(e),l=d.data,c=eS.from(d.headers).normalize(),{responseType:u,onUploadProgress:p,onDownloadProgress:m}=d;function h(){i&&i(),a&&a(),d.cancelToken&&d.cancelToken.unsubscribe(n),d.signal&&d.signal.removeEventListener("abort",n)}let f=new XMLHttpRequest;function g(){if(!f)return;let n=eS.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());e8(function(e){t(e),h()},function(e){r(e),h()},{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f}),f=null}f.open(d.method.toUpperCase(),d.url,!0),f.timeout=d.timeout,"onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){!f||4!==f.readyState||(0!==f.status||f.responseURL&&f.responseURL.startsWith("file:"))&&setTimeout(g)},f.onabort=function(){f&&(r(new eO("Request aborted",eO.ECONNABORTED,e,f)),h(),f=null)},f.onerror=function(t){let n=new eO(t&&t.message?t.message:"Network Error",eO.ERR_NETWORK,e,f);n.event=t||null,r(n),h(),f=null},f.ontimeout=function(){let t=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",n=d.transitional||eV;d.timeoutErrorMessage&&(t=d.timeoutErrorMessage),r(new eO(t,n.clarifyTimeoutError?eO.ETIMEDOUT:eO.ECONNABORTED,e,f)),h(),f=null},void 0===l&&c.setContentType(null),"setRequestHeader"in f&&eh.forEach(ev(c),function(e,t){f.setRequestHeader(t,e)}),eh.isUndefined(d.withCredentials)||(f.withCredentials=!!d.withCredentials),u&&"json"!==u&&(f.responseType=d.responseType),m&&([s,a]=tk(m,!0),f.addEventListener("progress",s)),p&&f.upload&&([o,i]=tk(p),f.upload.addEventListener("progress",o),f.upload.addEventListener("loadend",i)),(d.cancelToken||d.signal)&&(n=t=>{f&&(r(!t||t.type?new e5(null,e,f):t),f.abort(),h(),f=null)},d.cancelToken&&d.cancelToken.subscribe(n),d.signal&&(d.signal.aborted?n():d.signal.addEventListener("abort",n)));let b=ts(d.url);if(b&&!eZ.protocols.includes(b)){r(new eO("Unsupported protocol "+b+":",eO.ERR_BAD_REQUEST,e)),h();return}f.send(l||null)})};let ri=function*(e,t){let r,n=e.byteLength;if(n<t)return void(yield e);let o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},ra=async function*(e,t){for await(let r of rd(e))yield*ri(r,t)},rd=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},rl=(e,t,r,n)=>{let o,s=ra(e,t),i=0,a=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await s.next();if(t){a(),e.close();return}let o=n.byteLength;if(r){let e=i+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),s.return())},{highWaterMark:2})},{isFunction:rc}=eh,ru=e=>{if(!eh.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},rp=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},rm=e=>{let t,r=void 0!==eh.global&&null!==eh.global?eh.global:globalThis,{ReadableStream:n,TextEncoder:o}=r,{fetch:s,Request:i,Response:a}=e=eh.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},e),d=s?rc(s):"function"==typeof fetch,l=rc(i),c=rc(a);if(!d)return!1;let u=d&&rc(n),p=d&&("function"==typeof o?(t=new o,e=>t.encode(e)):async e=>new Uint8Array(await new i(e).arrayBuffer())),m=l&&u&&rp(()=>{let e=!1,t=new i(eZ.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),h=c&&u&&rp(()=>eh.isReadableStream(new a("").body)),f={stream:h&&(e=>e.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{f[e]||(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new eO(`Response type '${e}' is not supported`,eO.ERR_NOT_SUPPORT,r)})});let g=async e=>{if(null==e)return 0;if(eh.isBlob(e))return e.size;if(eh.isSpecCompliantForm(e)){let t=new i(eZ.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return eh.isArrayBufferView(e)||eh.isArrayBuffer(e)?e.byteLength:(eh.isURLSearchParams(e)&&(e+=""),eh.isString(e))?(await p(e)).byteLength:void 0},b=async(e,t)=>{let r=eh.toFiniteNumber(e.getContentLength());return null==r?g(t):r};return async e=>{let t,{url:r,method:n,data:d,signal:c,cancelToken:p,timeout:y,onDownloadProgress:v,onUploadProgress:_,responseType:x,headers:E,withCredentials:C="same-origin",fetchOptions:w,maxContentLength:j,maxBodyLength:S}=ro(e),k=eh.isNumber(j)&&j>-1,T=eh.isNumber(S)&&S>-1,O=s||fetch;x=x?(x+"").toLowerCase():"text";let D=((e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,o=function(e){if(!n){n=!0,i();let t=e instanceof Error?e:this.reason;r.abort(t instanceof eO?t:new e5(t instanceof Error?t.message:t))}},s=t&&setTimeout(()=>{s=null,o(new eO(`timeout of ${t}ms exceeded`,eO.ETIMEDOUT))},t),i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>{if(!n){if(e.aborted)return void o.call(e);e.addEventListener("abort",o,{once:!0})}});let{signal:a}=r;return a.unsubscribe=()=>eh.asap(i),a})([c,p&&p.toAbortSignal()],y),I=null,A=D&&D.unsubscribe&&(()=>{D.unsubscribe()}),N=null,R=()=>new eO("Request body larger than maxBodyLength limit",eO.ERR_BAD_REQUEST,e,I);try{var P,L;let s,c,p,y,B=(c="auth",eh.hasOwnProp(e,c)?e[c]:void 0);if(B){let e=eh.getSafeProp(B,"username")||"",t=eh.getSafeProp(B,"password")||"";s={username:e,password:t}}if(p=(P=r).indexOf("://"),y=P,-1!==p&&(y=y.slice(p+3)),y.includes("@")||y.includes(":")){let e=new URL(r,eZ.origin);if(!s&&(e.username||e.password)){let t=ru(e.username),r=ru(e.password);s={username:t,password:r}}(e.username||e.password)&&(e.username="",e.password="",r=e.href)}if(s){let e;E.delete("authorization"),E.set("Authorization","Basic "+btoa((e=(s.username||"")+":"+(s.password||""),encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))}if(k&&"string"==typeof r&&r.startsWith("data:")){let t;if(L=r,t="string"==typeof L?L.indexOf("#"):-1,tB(-1===t?L:L.slice(0,t),tL)>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I)}if(T&&"get"!==n&&"head"!==n){let e=await g(d);if("number"==typeof e&&isFinite(e)&&(t=e,e>S))throw R()}let M=T&&(eh.isReadableStream(d)||eh.isStream(d)),U=(e,t,r)=>rl(e,65536,e=>{if(T&&e>S)throw N=R();t&&t(e)},r);if(m&&"get"!==n&&"head"!==n&&(_||M)){if(t=null==t?await b(E,d):t,0!==t||M){let e,n=new i(r,{method:"POST",body:d,duplex:"half"});if(eh.isFormData(d)&&(e=n.headers.get("content-type"))&&E.setContentType(e),n.body){let[e,r]=_&&tT(t,tk(tO(_)))||[];d=U(n.body,e,r)}}}else if(M&&!l&&u&&"get"!==n&&"head"!==n)d=U(d);else if(M&&l&&!m&&"get"!==n&&"head"!==n)throw new eO("Stream request bodies are not supported by the current fetch implementation",eO.ERR_NOT_SUPPORT,e,I);eh.isString(C)||(C=C?"include":"omit");let F=l&&"credentials"in i.prototype;if(eh.isFormData(d)){let e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+to,!1);let K={...w,signal:D,method:n.toUpperCase(),headers:ev(E.normalize()),body:d,duplex:"half",credentials:F?C:void 0};I=l&&new i(r,K);let V=await (l?O(I,w):O(r,K)),Y=eS.from(V.headers);if(k){let t=eh.toFiniteNumber(Y.getContentLength());if(null!=t&&t>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I)}let z=h&&("stream"===x||"response"===x);if(h&&V.body&&(v||k||z&&A)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=V[e]});let r=eh.toFiniteNumber(Y.getContentLength()),[n,o]=v&&tT(r,tk(tO(v),!0))||[];V=new a(rl(V.body,65536,t=>{if(k&&t>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I);n&&n(t)},()=>{o&&o(),A&&A()}),t)}x=x||"text";let H=await f[eh.findKey(f,x)||"text"](V,e);if(k&&!h&&!z){let t;if(null!=H&&("number"==typeof H.byteLength?t=H.byteLength:"number"==typeof H.size?t=H.size:"string"==typeof H&&(t="function"==typeof o?new o().encode(H).byteLength:H.length)),"number"==typeof t&&t>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I)}return!z&&A&&A(),await new Promise((t,r)=>{e8(t,r,{data:H,headers:eS.from(V.headers),status:V.status,statusText:V.statusText,config:e,request:I})})}catch(t){if(A&&A(),D&&D.aborted&&D.reason instanceof eO){let r=D.reason;throw r.config=e,I&&(r.request=I),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(N)throw I&&!N.request&&(N.request=I),N;if(t instanceof eO)throw I&&!t.request&&(t.request=I),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){let r=new eO("Network Error",eO.ERR_NETWORK,e,I,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw eO.from(t,t&&t.code,e,I,t&&t.response)}}},rh=new Map,rf=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:o}=t,s=[n,o,r],i=s.length,a,d,l=rh;for(;i--;)a=s[i],void 0===(d=l.get(a))&&l.set(a,d=i?new Map:rm(t)),l=d;return d};rf();let rg={http:t9,xhr:rs,fetch:{get:rf}};eh.forEach(rg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});let rb=e=>`- ${e}`,ry=e=>eh.isFunction(e)||null===e||!1===e;var rv=function(e,t){let r,n,{length:o}=e=eh.isArray(e)?e:[e],s={};for(let i=0;i<o;i++){let o;if(n=r=e[i],!ry(r)&&void 0===(n=rg[(o=String(r)).toLowerCase()]))throw new eO(`Unknown adapter '${o}'`);if(n&&(eh.isFunction(n)||(n=n.get(t))))break;s[o||"#"+i]=n}if(!n){let e=Object.entries(s).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new eO("There is no suitable adapter to dispatch the request "+(o?e.length>1?"since :\n"+e.map(rb).join("\n"):" "+rb(e[0]):"as no adapter specified"),eO.ERR_NOT_SUPPORT)}return n};function r_(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new e5(null,e)}function rx(e){return r_(e),e.headers=eS.from(e.headers),e.data=e4.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rv(e.adapter||e3.adapter,e)(e).then(function(t){r_(e),e.response=t;try{t.data=e4.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=eS.from(t.headers),t},function(t){if(!e6(t)&&(r_(e),t&&t.response)){e.response=t.response;try{t.response.data=e4.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=eS.from(t.response.headers)}return Promise.reject(t)})}let rE={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rE[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let rC={};rE.transitional=function(e,t,r){function n(e,t){return"[Axios v"+to+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,s)=>{if(!1===e)throw new eO(n(o," has been removed"+(t?" in "+t:"")),eO.ERR_DEPRECATED);return t&&!rC[o]&&(rC[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,s)}},rE.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var rw=function(e,t,r){if("object"!=typeof e||null===e)throw new eO("options must be an object",eO.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let s=n[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){let t=e[s],r=void 0===t||i(t,s,e);if(!0!==r)throw new eO("option "+s+" must be "+r,eO.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new eO("Unknown option "+s,eO.ERR_BAD_OPTION)}};class rj{constructor(e){this.defaults=e||{},this.interceptors={request:new eK,response:new eK}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=(()=>{if(!t.stack)return"";let e=t.stack.indexOf("\n");return -1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){let t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),o=-1===n?"":r.slice(n+1);String(e.stack).endsWith(o)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:s,headers:i}=t=rn(this.defaults,t);void 0!==o&&rw(o,{silentJSONParsing:rE.transitional(rE.boolean),forcedJSONParsing:rE.transitional(rE.boolean),clarifyTimeoutError:rE.transitional(rE.boolean),legacyInterceptorReqResOrdering:rE.transitional(rE.boolean),advertiseZstdAcceptEncoding:rE.transitional(rE.boolean),validateStatusUndefinedResolves:rE.transitional(rE.boolean)},!1),null!=s&&(eh.isFunction(s)?t.paramsSerializer={serialize:s}:rw(s,{encode:rE.function,serialize:rE.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),rw(t,{baseUrl:rE.spelling("baseURL"),withXsrfToken:rE.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&eh.merge(i.common,i[t.method]);i&&eh.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete i[e]}),t.headers=eS.concat(a,i);let d=[],l=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;l=l&&e.synchronous;let r=t.transitional||eV;r&&r.legacyInterceptorReqResOrdering?d.unshift(e.fulfilled,e.rejected):d.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u=0;if(!l){let e=[rx.bind(this),void 0];for(e.unshift(...d),e.push(...c),n=e.length,r=Promise.resolve(t);u<n;)r=r.then(e[u++],e[u++]);return r}n=d.length;let p=t;for(;u<n;){let e=d[u++],t=d[u++];try{p=e?e(p):p}catch(e){if(!t){r=Promise.reject(e);break}try{let n=t.call(this,e);eh.isThenable(n)&&(r=Promise.resolve(n).then(()=>rx.call(this,p)))}catch(e){r=Promise.reject(e)}break}}if(!r)try{r=rx.call(this,p)}catch(e){r=Promise.reject(e)}for(u=0,n=c.length;u<n;)r=r.then(c[u++],c[u++]);return r}getUri(e){return eF(tt((e=rn(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}eh.forEach(["delete","get","head","options"],function(e){rj.prototype[e]=function(t,r){return this.request(rn(r||{},{method:e,url:t,data:r&&eh.hasOwnProp(r,"data")?r.data:void 0}))}}),eh.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,o){return this.request(rn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}rj.prototype[e]=t(),"query"!==e&&(rj.prototype[e+"Form"]=t(!0))});let rS={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(rS).forEach(([e,t])=>{rS[t]=e});let rk=function e(t){let r=new rj(t),n=w(rj.prototype.request,r);return eh.extend(n,rj.prototype,r,{allOwnKeys:!0}),eh.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(rn(t,r))},n}(e3);rk.Axios=rj,rk.CanceledError=e5,rk.CancelToken=class e{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new e5(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},rk.isCancel=e6,rk.VERSION=to,rk.toFormData=eP,rk.AxiosError=eO,rk.Cancel=rk.CanceledError,rk.all=function(e){return Promise.all(e)},rk.spread=function(e){return function(t){return e.apply(null,t)}},rk.isAxiosError=function(e){return eh.isObject(e)&&!0===e.isAxiosError},rk.mergeConfig=rn,rk.AxiosHeaders=eS,rk.formToJSON=e=>e1(eh.isHTMLForm(e)?new FormData(e):e),rk.getAdapter=rv,rk.HttpStatusCode=rS,rk.default=rk,e.exports=rk},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/adapter/service-schema.js"(e,t,r){function n(e){if(!e.name||"string"!=typeof e.name)throw Error("Service definition requires a non-empty name.");return{name:e.name,actions:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(o(e))]))}(e.actions),events:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(o(e))]))}(e.events)}}function o(e){return{params:e.params,meta:e.meta,requestId:e.requestID??void 0,nodeId:e.nodeID??void 0}}r.d(t,{U:()=>n})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/member-table.js"(e,t,r){class n{constructor(){this.members=new Map}upsert(e){this.members.set(e.nodeId,e)}remove(e){let t=this.members.get(e);return this.members.delete(e),t}get(e){return this.members.get(e)}list(){return Array.from(this.members.values())}}r.d(t,{$:()=>n})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/registrar.js"(e,t,r){var n=r("node:net"),o=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/member-table.js"),s=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/net-endpoint.js"),i=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/framing.js");class a{constructor(e){this.options=e,this.members=new o.$,this.clients=new Map,this.stopped=!1,this.isRegistrar=!1,this.registryEndpoint=(0,s.rH)({namespace:e.namespace,name:"registry"}),this.members.upsert(e.localMember)}async start(){this.stopped=!1,await this.electOrJoin()}async stop(){this.stopped=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0;let e=this.registrySocket;for(let[t,r]of(this.registrySocket=void 0,e&&!e.destroyed&&((0,i.v)(e,{type:"leave",nodeId:this.options.localMember.nodeId}),e.end()),this.isRegistrar&&this.broadcast({type:"member-down",nodeId:this.options.localMember.nodeId}),this.clients.entries()))this.members.remove(t),r.end(()=>r.destroy());this.clients.clear(),await (0,s.qW)(this.server),this.server=void 0,this.isRegistrar&&(await (0,s.NT)(this.registryEndpoint),this.isRegistrar=!1)}async electOrJoin(){if(!this.stopped)try{await this.becomeRegistrar()}catch(e){if(this.stopped)return;if("EADDRINUSE"!==e.code)throw e;await this.joinRegistrar()}}async becomeRegistrar(){let e=n.createServer(e=>this.handleClient(e));if(await (0,s.KT)(e,this.registryEndpoint),this.stopped){await (0,s.qW)(e),await (0,s.NT)(this.registryEndpoint);return}this.server=e,this.registrySocket=void 0,this.isRegistrar=!0}async joinRegistrar(){try{let e=await (0,s.Ng)(this.registryEndpoint);if(this.stopped)return void e.destroy();this.registrySocket=e,this.isRegistrar=!1,this.attachRegistryReader(e),(0,i.v)(e,{type:"join",nodeId:this.options.localMember.nodeId,endpoint:this.options.localMember.endpoint})}catch(r){var e;let t;if(e=r,"ENOENT"!==(t=e?.code)&&"ECONNREFUSED"!==t&&"ECONNRESET"!==t&&"ETIMEDOUT"!==t)throw r;this.scheduleElection()}}handleClient(e){let t=t=>{let r="string"==typeof t.nodeId?t.nodeId:"";if(!r||r===this.options.localMember.nodeId)return void e.destroy();if("join"===t.type){let n="string"==typeof t.endpoint?t.endpoint.trim():"";if(!n)return void e.destroy();this.registerClient(e,{nodeId:r,endpoint:n})}else if("leave"===t.type){if(this.clients.get(r)!==e)return void e.destroy();this.unregisterClient(r)}else e.destroy()};e.on("data",d(e,t)),e.on("error",()=>e.destroy())}registerClient(e,t){let r=this.clients.get(t.nodeId);r&&r!==e&&!r.destroyed&&r.destroy(),this.members.upsert(t),this.clients.set(t.nodeId,e),(0,i.v)(e,{type:"members",members:this.members.list()}),e.once("close",()=>{this.clients.get(t.nodeId)===e&&this.unregisterClient(t.nodeId)}),this.broadcast({type:"member-up",member:t},t.nodeId),this.options.callbacks.onMemberUp(t)}unregisterClient(e){let t=this.members.remove(e),r=this.clients.get(e);this.clients.delete(e),r&&!r.destroyed&&r.destroy(),t&&(this.broadcast({type:"member-down",nodeId:e}),this.options.callbacks.onMemberDown(e))}attachRegistryReader(e){e.on("data",d(e,e=>this.handleRegistryFrame(e))),e.on("error",()=>e.destroy()),e.once("close",()=>{this.registrySocket===e&&(this.registrySocket=void 0,this.scheduleElection())})}handleRegistryFrame(e){"members"===e.type?this.options.callbacks.onMembers(e.members):"member-up"===e.type?this.options.callbacks.onMemberUp(e.member):"member-down"===e.type&&this.options.callbacks.onMemberDown(e.nodeId)}broadcast(e,t){for(let[r,n]of this.clients)r===t||n.destroyed||(0,i.v)(n,e)}scheduleElection(){this.stopped||this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.stopped||this.electOrJoin().catch(e=>{setImmediate(()=>{throw e})})},100+Math.floor(200*Math.random())),this.reconnectTimer.unref())}}function d(e,t){let r=(0,i.r)(t);return t=>{try{r(t)}catch{e.destroy()}}}r.d(t,{w:()=>a})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/index.js"(e,t,r){var n=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/service-manager.js");r.d(t,{ServiceManager:()=>n.l})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/service-manager.js"(e,t,r){var n=r("moleculer"),o=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/adapter/service-schema.js"),s=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/local-transporter.js");let{ServiceBroker:i}=n;class a{constructor(e,t={}){if(!e||"string"!=typeof e)throw Error("ServiceManager requires a non-empty namespace.");this.namespace=e,this.nodeId=t.nodeId||`dbx-${process.pid}-${Math.random().toString(36).slice(2,10)}`;let r=new s.Y;this.broker=new i({namespace:e,nodeID:this.nodeId,logger:t.logger??!1,transporter:r,requestTimeout:t.requestTimeout??0,heartbeatInterval:d(t.heartbeatInterval,10),heartbeatTimeout:d(t.heartbeatTimeout,30),registry:{strategy:"RoundRobin",preferLocal:!0,discoverer:"Local"}})}start(){return this.broker.start()}stop(){return this.broker.stop()}createService(e){return this.broker.createService((0,o.U)(e))}destroyService(e){return this.broker.destroyService(e)}call(e,t,r){return this.broker.call(e,t,r)}emit(e,t){return this.broker.emit(e,t)}broadcast(e,t){return this.broker.broadcast(e,t)}listNodes(){return this.broker.registry.getNodeList()}listServices(){return this.broker.registry.getServiceList()}}function d(e,t){return null==e?t:Math.max(1,Math.ceil(e/1e3))}r.d(t,{l:()=>a})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/framing.js"(e,t,r){function n(e,t){let r=Buffer.from(JSON.stringify(t),"utf8");if(r.length>0x4000000)throw Error(`IPC frame is too large: ${r.length} bytes.`);let n=Buffer.allocUnsafe(4);n.writeUInt32BE(r.length,0),e.write(Buffer.concat([n,r]))}function o(e){let t,r=Buffer.allocUnsafe(4),n=0,o=0,s=0;return i=>{let a=0;for(;a<i.length;){if(!t){let e=Math.min(4-n,i.length-a);if(i.copy(r,n,a,a+e),n+=e,a+=e,n<4)continue;if((s=r.readUInt32BE(0))>0x4000000)throw Error(`IPC frame exceeds max size: ${s} bytes.`);t=Buffer.allocUnsafe(s)}let d=Math.min(s-o,i.length-a);if(d>0&&(i.copy(t,o,a,a+d),o+=d,a+=d),o===s){let r=t;n=0,t=void 0,o=0,s=0,e(JSON.parse(r.toString("utf8")))}}}}r.d(t,{r:()=>o,v:()=>n})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/local-transporter.js"(e,t,r){var n=r("node:net"),o=r("moleculer"),s=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/registrar.js"),i=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/net-endpoint.js"),a=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/framing.js");let d=o.Transporters.Base;class l extends d{constructor(){super(...arguments),this.endpoint="",this.disconnecting=!1,this.members=new Map,this.peers=new Map,this.connecting=new Set,this.reconnectTimers=new Map}async connect(){this.disconnecting=!1,this.endpoint=(0,i.rH)({namespace:this.broker.namespace,name:`node-${this.nodeID}`}),this.peerServer=n.createServer(e=>this.attachPeer(e,"incoming"));let e=!1;try{await (0,i.KT)(this.peerServer,this.endpoint),e=!0;let t={nodeId:this.nodeID,endpoint:this.endpoint};this.members.set(this.nodeID,t),this.registrar=new s.w({namespace:this.broker.namespace,localMember:t,callbacks:{onMembers:e=>this.handleMembers(e),onMemberUp:e=>this.handleMemberUp(e),onMemberDown:e=>this.handleMemberDown(e)}}),await this.registrar.start(),await this.onConnected(!1)}catch(t){throw await this.registrar?.stop().catch(()=>void 0),this.registrar=void 0,this.members.clear(),await this.closePeerEndpoint({unlink:e}).catch(()=>void 0),t}}async disconnect(){let e;this.disconnecting=!0,this.connected=!1;try{for(let e of this.reconnectTimers.values())clearTimeout(e);this.reconnectTimers.clear(),this.connecting.clear();let t=this.registrar;for(let r of(this.registrar=void 0,await t?.stop().catch(t=>{e??(e=t)}),this.peers.values()))r.socket.destroy();if(this.peers.clear(),this.members.clear(),await this.closePeerEndpoint().catch(t=>{e??(e=t)}),e)throw e}finally{this.disconnecting=!1}}subscribe(){return Promise.resolve()}subscribeBalancedRequest(){return Promise.resolve()}subscribeBalancedEvent(){return Promise.resolve()}send(e,t){let r,n=c(e,this.prefix);if(!n)return Promise.resolve();let o={type:"packet",topic:e,data:t.toString("base64")};if(n.targetNodeId){if(n.targetNodeId===this.nodeID)return Promise.resolve();let e=this.peers.get(n.targetNodeId);return!e||e.socket.destroyed?Promise.reject(Error(`No local IPC peer for node ${n.targetNodeId}.`)):function(e,t){try{return(0,a.v)(e.socket,t),Promise.resolve()}catch(e){return Promise.reject(e)}}(e,o)}for(let e of this.peers.values())if(!e.socket.destroyed)try{(0,a.v)(e.socket,o)}catch(e){r??(r=e)}return r?Promise.reject(r):Promise.resolve()}handleMembers(e){for(let t of e)this.handleMemberUp(t)}handleMemberUp(e){e.nodeId!==this.nodeID&&(this.members.set(e.nodeId,e),this.connectToPeer(e))}handleMemberDown(e){this.members.delete(e);let t=this.reconnectTimers.get(e);t&&clearTimeout(t),this.reconnectTimers.delete(e),this.connecting.delete(e);let r=this.peers.get(e);this.peers.delete(e),r&&!r.socket.destroyed&&r.socket.destroy()}connectToPeer(e){this.disconnecting||e.nodeId===this.nodeID||this.hasLivePeer(e.nodeId)||this.connecting.has(e.nodeId)||(this.connecting.add(e.nodeId),(0,i.Ng)(e.endpoint).then(t=>{(this.connecting.delete(e.nodeId),this.disconnecting||!this.members.has(e.nodeId))?t.destroy():this.attachPeer(t,"outgoing",e)}).catch(t=>{this.connecting.delete(e.nodeId),this.schedulePeerReconnect(e)}))}schedulePeerReconnect(e){if(this.disconnecting||!this.members.has(e.nodeId)||this.reconnectTimers.has(e.nodeId))return;let t=setTimeout(()=>{this.reconnectTimers.delete(e.nodeId),this.connectToPeer(e)},100+Math.floor(200*Math.random()));t.unref(),this.reconnectTimers.set(e.nodeId,t)}attachPeer(e,t,r){var n,o;let s,i={socket:e,direction:t,remoteNodeId:r?.nodeId,endpoint:r?.endpoint};return this.disconnecting||!this.endpoint?e.destroy():(e.on("data",(n=e,o=e=>this.handlePeerFrame(i,e),s=(0,a.r)(o),e=>{try{s(e)}catch{n.destroy()}})),e.on("error",()=>{e.destroy()}),e.once("close",()=>this.handlePeerClose(i)),(0,a.v)(e,{type:"peer-hello",nodeId:this.nodeID,endpoint:this.endpoint})),i}handlePeerFrame(e,t){if("peer-hello"===t.type)return void this.registerPeer(e,{nodeId:t.nodeId,endpoint:t.endpoint});if("packet"===t.type){let r=c(t.topic,this.prefix);if(!r)return;this.receive(r.command,Buffer.from(t.data,"base64"),e.socket)}}registerPeer(e,t){var r,n,o,s;let i;if(!t.nodeId||!t.endpoint||t.nodeId===this.nodeID||"outgoing"===e.direction&&(e.remoteNodeId&&e.remoteNodeId!==t.nodeId||e.endpoint&&e.endpoint!==t.endpoint))return void e.socket.destroy();e.remoteNodeId=t.nodeId,e.endpoint=t.endpoint,this.members.set(t.nodeId,t);let a=this.peers.get(t.nodeId);if(!a||a.socket.destroyed){this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId);return}if(r=this.nodeID,n=t.nodeId,o=a.direction,s=e.direction,i=u(r,n,o),u(r,n,s)&&!i){a.socket.destroy(),this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId);return}e.socket.destroy()}handlePeerClose(e){let t=e.remoteNodeId;if(!t)return;let r=this.members.get(t),n=this.peers.get(t);n===e&&this.peers.delete(t),r&&(!n||n===e)&&this.schedulePeerReconnect(r)}hasLivePeer(e){let t=this.peers.get(e);return!!(t&&!t.socket.destroyed)}exchangeNodeInfo(e){this.transit.discoverer?.sendLocalNodeInfo(e),this.transit.discoverNode(e)}async closePeerEndpoint(e={}){let t=this.peerServer,r=this.endpoint;this.peerServer=void 0,this.endpoint="";try{await (0,i.qW)(t)}finally{r&&!1!==e.unlink&&await (0,i.NT)(r)}}}function c(e,t){let r=`${t}.`;if(!e.startsWith(r))return;let[n,...o]=e.slice(r.length).split(".");if(n)return n.endsWith("B")?{command:n}:{command:n,targetNodeId:o.length>0?o.join("."):void 0}}function u(e,t,r){return e<t?"outgoing"===r:"incoming"===r}r.d(t,{Y:()=>l})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/net-endpoint.js"(e,t,r){var n=r("node:crypto"),o=r("node:fs"),s=r("node:net"),i=r("node:path"),a=r("../../../node_modules/.pnpm/xpipe@1.0.8/node_modules/xpipe/index.js");let d="dbx-sm";function l(e){let t=f(e.namespace).slice(0,12),r="registry"===e.name?"r.sock":`n-${f(e.name).slice(0,16)}.sock`,n="win32"===process.platform?`/${d}/${t}/${r}`:i.join("/tmp",`${d}-${t}`,r);return a.eq(n)}async function c(e,t){await h(t),await new Promise((r,n)=>{let o=e=>{i(),n(e)},s=()=>{i(),r()},i=()=>{e.off("error",o),e.off("listening",s)};e.once("error",o),e.once("listening",s),e.listen(t)})}function u(e,t=1e3){return new Promise((r,n)=>{let o=s.createConnection(e),i=setTimeout(()=>{l(),o.destroy();let r=Error(`IPC connect timed out after ${t}ms: ${e}`);r.code="ETIMEDOUT",n(r)},t);i.unref();let a=e=>{l(),o.destroy(),n(e)},d=()=>{l(),r(o)},l=()=>{clearTimeout(i),o.off("error",a),o.off("connect",d)};o.once("error",a),o.once("connect",d)})}async function p(e){e&&e.listening&&await new Promise((t,r)=>{e.close(e=>{e?r(e):t()})})}async function m(e){"win32"!==process.platform&&await o.promises.unlink(e).catch(e=>{if("ENOENT"!==e.code)throw e})}async function h(e){if("win32"===process.platform)return;await o.promises.mkdir(i.dirname(e),{recursive:!0});let t=await o.promises.stat(e).catch(e=>{if("ENOENT"!==e.code)throw e});if(t){var r;if(!t.isSocket())throw Error(`IPC endpoint path already exists and is not a socket: ${e}`);await (r=e,new Promise(e=>{let t=s.createConnection(r),n=setTimeout(()=>{t.destroy(),e(!1)},150);t.once("connect",()=>{clearTimeout(n),t.destroy(),e(!0)}),t.once("error",()=>{clearTimeout(n),t.destroy(),e(!1)})}))||await o.promises.unlink(e)}}function f(e){return n.createHash("sha256").update(e).digest("hex").slice(0,16)}r.d(t,{KT:()=>c,NT:()=>m,Ng:()=>u,qW:()=>p,rH:()=>l})},"../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs"(e,t,r){function n(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{d(n.next(e))}catch(e){s(e)}}function a(e){try{d(n.throw(e))}catch(e){s(e)}}function d(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,a)}d((n=n.apply(e,t||[])).next())})}function o(e,t){var r,n,o,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(d){var l=[a,d];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,n=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){s=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){s.label=l[1];break}if(6===l[0]&&s.label<o[1]){s.label=o[1],o=l;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(l);break}o[2]&&s.ops.pop(),s.trys.pop();continue}l=t.call(e,s)}catch(e){l=[6,e],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}var s=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function i(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||s(t,e,r)}function a(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var d=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},l=function(e){return(l=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=l(e),n=0;n<r.length;n++)"default"!==r[n]&&s(t,e,r[n]);return d(t,e),t}function u(e){return e&&e.__esModule?e:{default:e}}r.d(t,{Ju:()=>a,YH:()=>o,__awaiter:()=>n,__exportStar:()=>i,__importDefault:()=>u,__importStar:()=>c})},"../../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json"(e){e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"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":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"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":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"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":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"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":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"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":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"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":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"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":true},"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":false,"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":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"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":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"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":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"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":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"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":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"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":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"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":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"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":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"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":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"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":false,"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":true,"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":true},"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":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"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":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"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":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"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":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"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":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"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":true},"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":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"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":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"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":false},"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":false},"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":false},"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":true},"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":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"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":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"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":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"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":false},"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":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"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":true},"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":true},"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":true,"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":false,"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":true,"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":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"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":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"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":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"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":false,"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":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"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":true},"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":false,"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":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"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":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"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":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"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":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"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":true,"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":true},"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":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"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":true},"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":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"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":true,"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":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"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":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"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":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"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":true},"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":true,"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":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"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":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"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":false,"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":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"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":false},"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":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"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":true,"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":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"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":false},"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":true,"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":false,"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":false,"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":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"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":true,"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":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"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":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"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":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"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":false,"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":false,"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":false},"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":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"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":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"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":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"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":false,"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":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"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":false},"image/png":{"source":"iana","compressible":false,"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":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"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":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"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":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"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":false},"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":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"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":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"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":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"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":true},"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":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"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":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"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":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"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":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"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":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"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":true,"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":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"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":true,"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":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"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":true,"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":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"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":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"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":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"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":false,"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":true},"x-shader/x-vertex":{"compressible":true}}')}});let d=r("node:fs"),l=r("node:path");var c=r.n(l);let u={getInfo:"dev.getInfo",openWebDebugger:"dev.openWebDebugger",discoverWidgets:"dev.discoverWidgets",discoverPages:"dev.discoverPages",getRuntimeInspectionTarget:"dev.getRuntimeInspectionTarget",setRuntimeInspectionTarget:"dev.setRuntimeInspectionTarget",openPage:"dev.openPage",openPageUrl:"dev.openPageUrl",pushWidget:"dev.pushWidget",setConnectionTransport:"dev.setConnectionTransport",awaitDirectDebugReady:"dev.awaitDirectDebugReady",awaitDirectDebugClient:"dev.awaitDirectDebugClient",awaitDeviceInstallResult:"dev.awaitDeviceInstallResult",stop:"dev.stop"},p={runtimeInspectionTargetChanged:"dev.runtimeInspectionTargetChanged"};function m(e){return`dbx-dev:${h(e)}`}function h(e){let t=l.resolve(e);try{return d.realpathSync.native(t)}catch{return t}}let f=r("../../../node_modules/.pnpm/@byted-doubao-tools+devtool-connection-core@0.1.0-beta.12_debug@4.4.3_react@19.2.7/node_modules/@byted-doubao-tools/devtool-connection-core/dist/lib/index.js"),g=r("../../../node_modules/.pnpm/@lynx-js+debug-router-connector@0.0.13/node_modules/@lynx-js/debug-router-connector/dist/cjs/src/index.js");function b(e){return!!e&&"object"==typeof e}function y(e,t){let r=e.getConnectedClients().find(e=>e.device.clientId===t.clientId),n=r?.sessions.find(e=>e.sessionId===t.sessionId&&"lynx"===e.type&&Number.isSafeInteger(e.sessionId)&&e.sessionId>0);if(r&&n)return{clientId:r.device.clientId,sessionId:n.sessionId,url:n.url}}function v(e,t){let r=Number(e);if(!Number.isSafeInteger(r)||r<=0)throw Error(`${t} must be a positive safe integer`);return r}async function _(e,t,r){let n=k(t),o=await w(e,r.deviceId);return C(e,{clientId:o,method:"Applet_OpenPage",params:{appletName:n,appletPageName:r.pageId,...void 0!==r.pageData?{appletPageData:r.pageData}:{},...void 0!==r.pageSettings?{appletPageSettings:r.pageSettings}:{},...void 0!==r.mode?{mode:r.mode}:{}}})}async function x(e,t,r){let n=k(t),o=await w(e,r.deviceId);return C(e,{clientId:o,method:"Applet_OpenPageUrl",params:{appletName:n,url:r.url}})}async function E(e,t,r){let n=k(t),o=await w(e,r.deviceId);return C(e,{clientId:o,method:"Applet_OpenWidget",params:{appletName:n,widgetName:r.widgetId,...void 0!==r.widgetData?{widgetData:r.widgetData}:{},botId:r.botId??"7626957768951480347"}})}async function C(e,t){var r,n,o;let s=await e.sendMessageToApp({method:t.method,params:t.params,...void 0===t.clientId?{}:{clientId:t.clientId},messageType:"CDP",sessionId:-1});if(!s.success){throw Error([(r=s).reason,r.apps?.length?`apps=${r.apps.join(",")}`:"",r.clients?.length?`clients=${r.clients.map(e=>`${e.clientId}:${e.info.App}`).join(",")}`:""].filter(Boolean).join("; "))}let i=function(e){if(!e||"object"!=typeof e)return;let t=e.error;if(t&&"object"==typeof t)return t}(s.data);if(i){let e,r;throw Error((n=t.method,e=void 0===(o=i).code?"unknown":String(o.code),r=void 0===o.message?"unknown error":String(o.message),`${n} failed: ${r} (code=${e})`))}return s}async function w(e,t){if(!t)return;let r=t.trim();await j(e,e=>S(e,r),r);let n=e.getConnectedClients().filter(e=>S(e,r));if(1===n.length)return n[0].device.clientId;if(n.length>1)throw Error(`multiple connection clients matched deviceId "${t}"`);throw Error(`connection client not found for deviceId "${t}"`)}async function j(e,t,r){let n=Date.now()+3e4;for(;;){if(e.getConnectedClients().some(t))return;if(Date.now()>=n)throw Error(`connection client not found for deviceId "${r}"`);await T(100)}}function S(e,t){let r=t.trim();return[String(e.device.clientId),e.device.xdbId,e.device.info.usbDeviceId,e.device.info.did,e.device.info.debugRouterId].some(e=>e===r)}function k(e){let t=e.getAppId();if(!t)throw Error("dev appId is not ready");return t}function T(e){return new Promise(t=>{setTimeout(t,e)})}function O(e){return{params:e.params,meta:e.meta,requestId:e.requestID??void 0,nodeId:e.nodeID??void 0}}class D{constructor(){this.members=new Map}upsert(e){this.members.set(e.nodeId,e)}remove(e){let t=this.members.get(e);return this.members.delete(e),t}get(e){return this.members.get(e)}list(){return Array.from(this.members.values())}}let I=r("node:crypto"),A=r("node:net"),N=r("../../../node_modules/.pnpm/xpipe@1.0.8/node_modules/xpipe/index.js"),R="dbx-sm";function P(e){let t=K(e.namespace).slice(0,12),r="registry"===e.name?"r.sock":`n-${K(e.name).slice(0,16)}.sock`,n="win32"===process.platform?`/${R}/${t}/${r}`:l.join("/tmp",`${R}-${t}`,r);return N.eq(n)}async function L(e,t){await F(t),await new Promise((r,n)=>{let o=e=>{i(),n(e)},s=()=>{i(),r()},i=()=>{e.off("error",o),e.off("listening",s)};e.once("error",o),e.once("listening",s),e.listen(t)})}function B(e,t=1e3){return new Promise((r,n)=>{let o=A.createConnection(e),s=setTimeout(()=>{d(),o.destroy();let r=Error(`IPC connect timed out after ${t}ms: ${e}`);r.code="ETIMEDOUT",n(r)},t);s.unref();let i=e=>{d(),o.destroy(),n(e)},a=()=>{d(),r(o)},d=()=>{clearTimeout(s),o.off("error",i),o.off("connect",a)};o.once("error",i),o.once("connect",a)})}async function M(e){e&&e.listening&&await new Promise((t,r)=>{e.close(e=>{e?r(e):t()})})}async function U(e){"win32"!==process.platform&&await d.promises.unlink(e).catch(e=>{if("ENOENT"!==e.code)throw e})}async function F(e){if("win32"===process.platform)return;await d.promises.mkdir(l.dirname(e),{recursive:!0});let t=await d.promises.stat(e).catch(e=>{if("ENOENT"!==e.code)throw e});if(t){var r;if(!t.isSocket())throw Error(`IPC endpoint path already exists and is not a socket: ${e}`);await (r=e,new Promise(e=>{let t=A.createConnection(r),n=setTimeout(()=>{t.destroy(),e(!1)},150);t.once("connect",()=>{clearTimeout(n),t.destroy(),e(!0)}),t.once("error",()=>{clearTimeout(n),t.destroy(),e(!1)})}))||await d.promises.unlink(e)}}function K(e){return I.createHash("sha256").update(e).digest("hex").slice(0,16)}function V(e,t){let r=Buffer.from(JSON.stringify(t),"utf8");if(r.length>0x4000000)throw Error(`IPC frame is too large: ${r.length} bytes.`);let n=Buffer.allocUnsafe(4);n.writeUInt32BE(r.length,0),e.write(Buffer.concat([n,r]))}function Y(e){let t,r=Buffer.allocUnsafe(4),n=0,o=0,s=0;return i=>{let a=0;for(;a<i.length;){if(!t){let e=Math.min(4-n,i.length-a);if(i.copy(r,n,a,a+e),n+=e,a+=e,n<4)continue;if((s=r.readUInt32BE(0))>0x4000000)throw Error(`IPC frame exceeds max size: ${s} bytes.`);t=Buffer.allocUnsafe(s)}let d=Math.min(s-o,i.length-a);if(d>0&&(i.copy(t,o,a,a+d),o+=d,a+=d),o===s){let r=t;n=0,t=void 0,o=0,s=0,e(JSON.parse(r.toString("utf8")))}}}}class z{constructor(e){this.options=e,this.members=new D,this.clients=new Map,this.stopped=!1,this.isRegistrar=!1,this.registryEndpoint=P({namespace:e.namespace,name:"registry"}),this.members.upsert(e.localMember)}async start(){this.stopped=!1,await this.electOrJoin()}async stop(){this.stopped=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0;let e=this.registrySocket;for(let[t,r]of(this.registrySocket=void 0,e&&!e.destroyed&&(V(e,{type:"leave",nodeId:this.options.localMember.nodeId}),e.end()),this.isRegistrar&&this.broadcast({type:"member-down",nodeId:this.options.localMember.nodeId}),this.clients.entries()))this.members.remove(t),r.end(()=>r.destroy());this.clients.clear(),await M(this.server),this.server=void 0,this.isRegistrar&&(await U(this.registryEndpoint),this.isRegistrar=!1)}async electOrJoin(){if(!this.stopped)try{await this.becomeRegistrar()}catch(e){if(this.stopped)return;if("EADDRINUSE"!==e.code)throw e;await this.joinRegistrar()}}async becomeRegistrar(){let e=A.createServer(e=>this.handleClient(e));if(await L(e,this.registryEndpoint),this.stopped){await M(e),await U(this.registryEndpoint);return}this.server=e,this.registrySocket=void 0,this.isRegistrar=!0}async joinRegistrar(){try{let e=await B(this.registryEndpoint);if(this.stopped)return void e.destroy();this.registrySocket=e,this.isRegistrar=!1,this.attachRegistryReader(e),V(e,{type:"join",nodeId:this.options.localMember.nodeId,endpoint:this.options.localMember.endpoint})}catch(r){var e;let t;if(e=r,"ENOENT"!==(t=e?.code)&&"ECONNREFUSED"!==t&&"ECONNRESET"!==t&&"ETIMEDOUT"!==t)throw r;this.scheduleElection()}}handleClient(e){let t=t=>{let r="string"==typeof t.nodeId?t.nodeId:"";if(!r||r===this.options.localMember.nodeId)return void e.destroy();if("join"===t.type){let n="string"==typeof t.endpoint?t.endpoint.trim():"";if(!n)return void e.destroy();this.registerClient(e,{nodeId:r,endpoint:n})}else if("leave"===t.type){if(this.clients.get(r)!==e)return void e.destroy();this.unregisterClient(r)}else e.destroy()};e.on("data",H(e,t)),e.on("error",()=>e.destroy())}registerClient(e,t){let r=this.clients.get(t.nodeId);r&&r!==e&&!r.destroyed&&r.destroy(),this.members.upsert(t),this.clients.set(t.nodeId,e),V(e,{type:"members",members:this.members.list()}),e.once("close",()=>{this.clients.get(t.nodeId)===e&&this.unregisterClient(t.nodeId)}),this.broadcast({type:"member-up",member:t},t.nodeId),this.options.callbacks.onMemberUp(t)}unregisterClient(e){let t=this.members.remove(e),r=this.clients.get(e);this.clients.delete(e),r&&!r.destroyed&&r.destroy(),t&&(this.broadcast({type:"member-down",nodeId:e}),this.options.callbacks.onMemberDown(e))}attachRegistryReader(e){e.on("data",H(e,e=>this.handleRegistryFrame(e))),e.on("error",()=>e.destroy()),e.once("close",()=>{this.registrySocket===e&&(this.registrySocket=void 0,this.scheduleElection())})}handleRegistryFrame(e){"members"===e.type?this.options.callbacks.onMembers(e.members):"member-up"===e.type?this.options.callbacks.onMemberUp(e.member):"member-down"===e.type&&this.options.callbacks.onMemberDown(e.nodeId)}broadcast(e,t){for(let[r,n]of this.clients)r===t||n.destroyed||V(n,e)}scheduleElection(){this.stopped||this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.stopped||this.electOrJoin().catch(e=>{setImmediate(()=>{throw e})})},100+Math.floor(200*Math.random())),this.reconnectTimer.unref())}}function H(e,t){let r=Y(t);return t=>{try{r(t)}catch{e.destroy()}}}let $=r("moleculer"),q=$.Transporters.Base;class W extends q{constructor(){super(...arguments),this.endpoint="",this.disconnecting=!1,this.members=new Map,this.peers=new Map,this.connecting=new Set,this.reconnectTimers=new Map,this.nodeInfoExchangeTimers=new Map}async connect(){this.disconnecting=!1,this.endpoint=P({namespace:this.broker.namespace,name:`node-${this.nodeID}`}),this.peerServer=A.createServer(e=>this.attachPeer(e,"incoming"));let e=!1;try{await L(this.peerServer,this.endpoint),e=!0;let t={nodeId:this.nodeID,endpoint:this.endpoint};for(let e of(this.members.set(this.nodeID,t),this.registrar=new z({namespace:this.broker.namespace,localMember:t,callbacks:{onMembers:e=>this.handleMembers(e),onMemberUp:e=>this.handleMemberUp(e),onMemberDown:e=>this.handleMemberDown(e)}}),await this.registrar.start(),await this.onConnected(!1),this.peers.keys()))this.exchangeNodeInfo(e),this.scheduleNodeInfoExchange(e)}catch(t){throw await this.registrar?.stop().catch(()=>void 0),this.registrar=void 0,this.members.clear(),await this.closePeerEndpoint({unlink:e}).catch(()=>void 0),t}}async disconnect(){let e;this.disconnecting=!0,this.connected=!1;try{for(let e of this.reconnectTimers.values())clearTimeout(e);for(let e of(this.reconnectTimers.clear(),this.nodeInfoExchangeTimers.values()))clearTimeout(e);this.nodeInfoExchangeTimers.clear(),this.connecting.clear();let t=this.registrar;for(let r of(this.registrar=void 0,await t?.stop().catch(t=>{e??(e=t)}),this.peers.values()))r.socket.destroy();if(this.peers.clear(),this.members.clear(),await this.closePeerEndpoint().catch(t=>{e??(e=t)}),e)throw e}finally{this.disconnecting=!1}}subscribe(){return Promise.resolve()}subscribeBalancedRequest(){return Promise.resolve()}subscribeBalancedEvent(){return Promise.resolve()}send(e,t){let r,n=G(e,this.prefix);if(!n)return Promise.resolve();let o={type:"packet",topic:e,data:t.toString("base64")};if(n.targetNodeId){if(n.targetNodeId===this.nodeID)return Promise.resolve();let e=this.peers.get(n.targetNodeId);return!e||e.socket.destroyed?Promise.reject(Error(`No local IPC peer for node ${n.targetNodeId}.`)):function(e,t){try{return V(e.socket,t),Promise.resolve()}catch(e){return Promise.reject(e)}}(e,o)}for(let e of this.peers.values())if(!e.socket.destroyed)try{V(e.socket,o)}catch(e){r??(r=e)}return r?Promise.reject(r):Promise.resolve()}handleMembers(e){for(let t of e)this.handleMemberUp(t)}handleMemberUp(e){e.nodeId!==this.nodeID&&(this.members.set(e.nodeId,e),this.connectToPeer(e))}handleMemberDown(e){this.members.delete(e);let t=this.reconnectTimers.get(e);t&&clearTimeout(t),this.reconnectTimers.delete(e);let r=this.nodeInfoExchangeTimers.get(e);r&&clearTimeout(r),this.nodeInfoExchangeTimers.delete(e),this.connecting.delete(e);let n=this.peers.get(e);this.peers.delete(e),n&&!n.socket.destroyed&&n.socket.destroy()}connectToPeer(e){this.disconnecting||e.nodeId===this.nodeID||this.hasLivePeer(e.nodeId)||this.connecting.has(e.nodeId)||(this.connecting.add(e.nodeId),B(e.endpoint).then(t=>{(this.connecting.delete(e.nodeId),this.disconnecting||!this.members.has(e.nodeId))?t.destroy():this.attachPeer(t,"outgoing",e)}).catch(t=>{this.connecting.delete(e.nodeId),this.schedulePeerReconnect(e)}))}schedulePeerReconnect(e){if(this.disconnecting||!this.members.has(e.nodeId)||this.reconnectTimers.has(e.nodeId))return;let t=setTimeout(()=>{this.reconnectTimers.delete(e.nodeId),this.connectToPeer(e)},100+Math.floor(200*Math.random()));t.unref(),this.reconnectTimers.set(e.nodeId,t)}attachPeer(e,t,r){var n;let o,s={socket:e,direction:t,remoteNodeId:r?.nodeId,endpoint:r?.endpoint};return this.disconnecting||!this.endpoint?e.destroy():(e.on("data",(n=e,o=Y(e=>this.handlePeerFrame(s,e)),e=>{try{o(e)}catch{n.destroy()}})),e.on("error",()=>{e.destroy()}),e.once("close",()=>this.handlePeerClose(s)),V(e,{type:"peer-hello",nodeId:this.nodeID,endpoint:this.endpoint})),s}handlePeerFrame(e,t){if("peer-hello"===t.type)return void this.registerPeer(e,{nodeId:t.nodeId,endpoint:t.endpoint});if("packet"===t.type){let r=G(t.topic,this.prefix);if(!r)return;this.receive(r.command,Buffer.from(t.data,"base64"),e.socket)}}registerPeer(e,t){var r,n,o,s;let i;if(!t.nodeId||!t.endpoint||t.nodeId===this.nodeID||"outgoing"===e.direction&&(e.remoteNodeId&&e.remoteNodeId!==t.nodeId||e.endpoint&&e.endpoint!==t.endpoint))return void e.socket.destroy();e.remoteNodeId=t.nodeId,e.endpoint=t.endpoint,this.members.set(t.nodeId,t);let a=this.peers.get(t.nodeId);if(!a||a.socket.destroyed){this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId),this.scheduleNodeInfoExchange(t.nodeId);return}if(r=this.nodeID,n=t.nodeId,o=a.direction,s=e.direction,i=X(r,n,o),X(r,n,s)&&!i){a.socket.destroy(),this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId),this.scheduleNodeInfoExchange(t.nodeId);return}e.socket.destroy()}handlePeerClose(e){let t=e.remoteNodeId;if(!t)return;let r=this.members.get(t),n=this.peers.get(t);n===e&&this.peers.delete(t),r&&(!n||n===e)&&this.schedulePeerReconnect(r)}hasLivePeer(e){let t=this.peers.get(e);return!!(t&&!t.socket.destroyed)}exchangeNodeInfo(e){let t=[{name:"sendLocalNodeInfo",result:this.transit.discoverer?.sendLocalNodeInfo(e)},{name:"discoverNode",result:this.transit.discoverNode(e)}];Promise.allSettled(t.map(({result:e})=>e)).then(r=>{r.forEach((r,n)=>{"rejected"===r.status&&this.logger.debug(`Local transporter ${t[n].name} failed for node '${e}'.`,r.reason)})})}scheduleNodeInfoExchange(e){let t=this.nodeInfoExchangeTimers.get(e);t&&clearTimeout(t);let r=setTimeout(()=>{this.nodeInfoExchangeTimers.delete(e),!this.disconnecting&&this.hasLivePeer(e)&&this.exchangeNodeInfo(e)},100);r.unref(),this.nodeInfoExchangeTimers.set(e,r)}async closePeerEndpoint(e={}){let t=this.peerServer,r=this.endpoint;this.peerServer=void 0,this.endpoint="";try{await M(t)}finally{r&&!1!==e.unlink&&await U(r)}}}function G(e,t){let r=`${t}.`;if(!e.startsWith(r))return;let[n,...o]=e.slice(r.length).split(".");if(n)return n.endsWith("B")?{command:n}:{command:n,targetNodeId:o.length>0?o.join("."):void 0}}function X(e,t,r){return e<t?"outgoing"===r:"incoming"===r}let{ServiceBroker:Q}=$;class J{constructor(e,t={}){if(!e||"string"!=typeof e)throw Error("ServiceManager requires a non-empty namespace.");this.namespace=e,this.nodeId=t.nodeId||`dbx-${process.pid}-${Math.random().toString(36).slice(2,10)}`;let r=new W;this.broker=new Q({namespace:e,nodeID:this.nodeId,logger:t.logger??!1,transporter:r,requestTimeout:t.requestTimeout??0,heartbeatInterval:Z(t.heartbeatInterval,10),heartbeatTimeout:Z(t.heartbeatTimeout,30),registry:{strategy:"RoundRobin",preferLocal:!0,discoverer:"Local"}})}start(){return this.broker.start()}stop(){return this.broker.stop()}createService(e){return this.broker.createService(function(e){if(!e.name||"string"!=typeof e.name)throw Error("Service definition requires a non-empty name.");return{name:e.name,actions:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(O(e))]))}(e.actions),events:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(O(e))]))}(e.events)}}(e))}destroyService(e){return this.broker.destroyService(e)}call(e,t,r){return this.broker.call(e,t,r)}emit(e,t){return this.broker.emit(e,t)}broadcast(e,t){return this.broker.broadcast(e,t)}listNodes(){return this.broker.registry.getNodeList()}listServices(){return this.broker.registry.getServiceList()}}function Z(e,t){return null==e?t:Math.max(1,Math.ceil(e/1e3))}function ee(e){return e.replace(/\bBearer\s+[A-Za-z0-9._~+/=-]+/gi,"Bearer <redacted>").replace(/(\b(?:[\w-]*token|api[_-]?key|authorization|password|secret|cookie)["']?\s*[=:]\s*)(?:"[^"]*"|'[^']*'|[^\s&;,}]+)/gi,"$1<redacted>").replace(/(\b[a-z][a-z0-9+.-]*:\/\/)[^/\s@]+@/gi,"$1<redacted>@")}async function et(e){let{DoubaoAppsSDK:t}=await import("./sdk~1.js"),r=new t(e);return{async dev(e){let t=await r.dev(e),n=!0===Reflect.get(t,"devServerReady");if(e?.host!==void 0&&!n)throw await t.closeServer(),Error("This CLI bundles a Kit version that does not support --host. Upgrade the CLI to a version with SDK host selection support.");let o=t.webDebugger;return{host:t.host,devServerReady:n,webDebuggerUrl:o?.url,..."function"==typeof o?.open?{openWebDebugger:o.open.bind(o)}:{},..."function"==typeof o?.setRealDeviceDebugProvider?{setRealDeviceDebugProvider:o.setRealDeviceDebugProvider.bind(o)}:{},closeServer:t.closeServer}},discoverWidgets:()=>r.discoverWidgets(),discoverPages:()=>r.discoverPages(),getAppId:()=>(function(e){let t=Reflect.get(e,"launcher");if(!er(t))return;let r=t.context;if(!er(r))return;let n=r.metadata,o=(er(n)?n.appId:void 0)??r.appId;return"string"==typeof o&&o.length>0?o:void 0})(r)}}function er(e){return"object"==typeof e&&null!==e}function en(e){return new Promise(t=>{setTimeout(t,e)})}let eo=r("node:http"),es=r("node:os"),ei=r("node:stream"),ea="/base/manifest.json";async function ed(r,n={}){let o,s,i,a,c,u,h,C,w,j,S,k,O,D,I,A,{request:N}=r,R={projectPath:N.projectPath,appDir:N.appDir,namespace:m(N.appDir),status:"starting",created_at:N.created_at,updated_at:Date.now()},P=R.namespace,L=!0===n.verbose?eu:()=>void 0;L("boot",{namespace:P,appDir:N.appDir});let B=e=>(R={...R,...e,updated_at:Date.now()},(e.status&&"stopping"!==e.status||e.error)&&L("state",{status:R.status,error:R.error}),R);B({});let M=async()=>{j&&(k??(k=j()),await k)},U=!1,F=!1,K=new Promise(e=>{D=e}),V=(e,t)=>(t&&e.then(async e=>{U&&(await O,await t(e))}).catch(()=>void 0),Promise.race([e,K.then(()=>{throw Error("dev runtime is stopping")})])),Y=new Promise(e=>{I=e}),z=setInterval(()=>void 0,6e4);z.ref();let H=(o=Object.getOwnPropertyDescriptor(process,"stdin"),s=new ei.PassThrough,i=!1,a=!1,Object.defineProperty(process,"stdin",{configurable:!0,enumerable:o?.enumerable??!0,value:s}),{restoreProcessStdin(){!i&&(i=!0,o&&Object.defineProperty(process,"stdin",o))},destroy(){a||(a=!0,s.destroy())}}),$=()=>{F||(F=!0,clearInterval(z),H.restoreProcessStdin(),H.destroy(),process.off("SIGINT",G),process.off("SIGTERM",G),n.signal?.removeEventListener("abort",X))},q=async()=>{if(L("teardown.begin",{hasConnectionServer:!!h,hasManager:!!u}),await ec("real-device-debug",n.realDeviceDebug?.dispose?async()=>n.realDeviceDebug?.dispose?.():void 0,L),S){try{S(void 0)}catch{}S=void 0}w&&(w(),w=void 0),await ec("connection",h?.stop.bind(h),L),u&&C&&await u.destroyService(C).catch(()=>void 0),u&&await u.stop().catch(()=>void 0),await ec("sdk",M,L),L("teardown.done")};function W(){return O||(U=!0,D(),O=(async()=>{A?B({status:"failed",error:A.message}):B({status:"stopping"});try{await q(),A||B({status:"stopped"})}catch(e){B({status:"failed",error:e_(e)})}finally{$(),await c?.close(),I(R)}return R})())}function G(){W()}function X(){W()}!1!==n.installSignalHandlers&&(process.once("SIGINT",G),process.once("SIGTERM",G)),n.signal?.aborted?W():n.signal?.addEventListener("abort",X,{once:!0});try{var Q;let r=await (Q=N.appDir,t?t(Q):et(Q));el(U);let o=function(t={}){return e?e():(g.defaultLogger.setLevel(t.verbose?"info":"silent"),(0,f.createDevtoolConnectionService)())}({verbose:n.verbose}),s=new Set,i=new Map;L("connection.service.created");let a=n.devOptions??N.devOptions,m=a?.compileHooks?.onDevCompileFailed,k={debugDriver:"devtools",...a,compileHooks:{...a?.compileHooks,onDevCompileFailed(e){if(!U)try{m?.(e)}finally{process.exitCode=1,A=e,W()}}}},O=r.dev(k).then(e=>(j=e.closeServer,U&&ec("sdk",M,L),e)),D=await V(O);if(H.restoreProcessStdin(),el(U),S=D.setRealDeviceDebugProvider,n.realDeviceDebug&&S)try{S(n.realDeviceDebug.provider),L("real-device-debug.registered")}catch{try{S(void 0)}catch{}S=void 0,process.stderr.write("[dev] Web 真机调试入口注册失败,终端 desktop/qr 仍可使用。\n")}el(U),L("sdk.dev.ready",{host:D.host,webDebuggerUrl:D.webDebuggerUrl});let I=await V(ey(r));el(U);let F=D.devServerReady?D.host:await V(ep(D.host,I));el(U);let K=F;w=function(e,t,r,n=new Set,o=new Map,s){var i,a;let d,l=e.subscribeMessage(i=>{var a,d,l,c;let u=s?.(),p=function(e){if("Applet_InstallResult"!==e.messageType||"number"!=typeof e.clientId)return;let t=b(e.raw)?e.raw:void 0,r=t&&b(t.data)?t.data:void 0,n=r&&b(r.data)?r.data:void 0,o=n?.message;if("string"==typeof o)try{let e=JSON.parse(o);if(!b(e)||"string"!=typeof e.packageName||!e.packageName||"boolean"!=typeof e.success||"string"!=typeof e.message)return;return{packageName:e.packageName,success:e.success,message:e.message}}catch{return}}(i);if(a=u,d=i,l=p,"Applet_InstallResult"===d.messageType&&(l?a?.[l.success?"info":"error"](l.success?"App installation succeeded":"App installation failed",{clientId:d.clientId,packageName:l.packageName,success:l.success,message:l.success?void 0:l.message}):a?.warn("Invalid app installation result",{clientId:d.clientId})),p&&p.packageName===t.getAppId()&&o.set(i.clientId,p),c=i,"Applet_GetDebugContext"!==c.messageType||"Applet_GetDebugContext"!==c.method||"number"!=typeof c.clientId)return;u?.info("Debug context requested",{clientId:i.clientId,sessionId:i.sessionId});let m=function(e,t,r){let n=b(e.params)?e.params:{},o=n.request_id,s=(e,t)=>({version:1,request_id:o,success:!1,error_code:e,message:t});if(1!==n.version)return s("INVALID_VERSION","version must be 1");let i=t.getAppId();return i?{version:1,request_id:o,success:!0,debug_context:{appletName:i,appletHost:r,appletType:0,isSigned:!1,isEncrypted:!1,defaultDebugTagState:!0}}:s("APP_ID_NOT_READY","dev appId is not ready")}(i,t,r());e.sendMessageToApp({clientId:i.clientId,messageType:"CDP",method:"Applet_GetContextResult",params:m,sessionId:-1}).then(e=>{var t,r,o,s;t=u,r=i.clientId,o=m,s=e,t?.[s.success&&!0===o.success?"info":"warn"]("Debug context response sent",{clientId:r,sendSuccess:s.success,responseSuccess:!0===o.success}),e.success&&!0===m.success&&n.add(i.clientId)}).catch(e=>{u?.error("Failed to send debug context",{clientId:i.clientId,error:e})})}),c=e.subscribe(e=>{for(let t of n)e.deviceList.some(e=>e.clientId===t)||n.delete(t);for(let t of o.keys())e.deviceList.some(e=>e.clientId===t)||o.delete(t)}),u=s?(i=e,a=s,i.subscribe(e=>{let t=a();if(!t)return;let r={phase:e.phase,transport:e.transport,clientIds:e.deviceList.map(e=>e.clientId).sort((e,t)=>e-t),reconnectAttempts:e.reconnectAttemptCount,reconnectExhausted:e.reconnectExhausted,error:e.lastError},n=JSON.stringify(r);n!==d&&(t["error"===e.phase?"error":"info"]("Device connection state changed",r),d=n)})):void 0;return()=>{l(),c(),u?.()}}(o,r,()=>K,s,i,()=>c),L("connection.messageListener.registered");let Y=new J(P,{nodeId:`dev-${process.pid}`,requestTimeout:3e4});u=Y;let z=(0,f.createDevtoolConnectionIpcServer)({namespace:P,service:o});h=z,L("connection.ipc.created",{namespace:P});let $=async(e,t,r)=>{let n;c??(c=function(e){let t,r,n=!1,o=!1,s=!1,i=e=>{try{process.stderr.write(`[dev] ${e}
22
- `)}catch{}},a=r=>{n||(n=!0,i(`日志文件不可用:${e};${ee(String(r))}`),t?.destroy())};try{d.mkdirSync(l.dirname(e),{recursive:!0}),function(e){try{if(d.statSync(e).size<0xa00000)return}catch(e){if("ENOENT"===e.code)return;throw e}d.rmSync(`${e}.3`,{force:!0});for(let t=2;t>=0;t-=1){let r=0===t?e:`${e}.${t}`;try{d.renameSync(r,`${e}.${t+1}`)}catch(e){if("ENOENT"!==e.code)throw e}}}(e),(t=d.createWriteStream(e,{flags:"a"})).on("error",a),t.once("open",()=>i(`日志文件:${e}`))}catch(e){a(e)}let c=(e,r,d)=>{if(s)return;let l=function(e,t,r){let n="";if(r)try{n=` ${JSON.stringify(r,(e,t)=>/^(?:.*token|api[_-]?key|authorization|password|secret|cookie)$/i.test(e)?"<redacted>":t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:"string"==typeof t?ee(t):t)}`}catch{n=' {"details":"<unserializable>"}'}let o=`${new Date().toISOString()} ${e} ${ee(t).replace(/[\r\n]/g," ")}${n}`;if(Buffer.byteLength(o)+1<=16384)return`${o}
23
- `;let s="... <truncated>\n",i=Buffer.from(o),a=16384-Buffer.byteLength(s);for(;(192&i[a])==128;)a-=1;return`${i.subarray(0,a).toString("utf8")}${s}`}(e,r,d);if(t&&!n){if(t.writableLength+Buffer.byteLength(l)>1048576){o||(o=!0,i("日志写入积压,已丢弃部分记录;缓冲下降后自动恢复。"));return}try{t.write(l)}catch(e){a(e)}}};return{info:(e,t)=>c("INFO",e,t),warn:(e,t)=>c("WARN",e,t),error:(e,t)=>c("ERROR",e,t),close:()=>r||(s=!0,r=new Promise(e=>{if(!t||n||t.closed)return void e();let r=t,o=setTimeout(()=>{i("日志关闭等待超时,未写完的记录可能丢失。"),r.destroy(),e()},1e3),s=()=>{clearTimeout(o),r.off("close",s),r.off("error",s),e()};r.once("close",s),r.once("error",s);try{r.end()}catch(e){a(e),s()}}))}}(l.join(N.projectPath,"node_modules",".doubao-dev","device.log"))),c.info("Device connection starting",{type:e}),L("connection.startConnectServer.begin",{type:e});let a=K;K=t??F,s.clear(),i.clear();try{n=await o.startConnectServer({type:e,...r?{deviceTarget:r}:{}}),el(U)}catch(t){throw K=a,c.error("Device connection failed",{transport:e,error:t}),t}c.info("Device connection started",{type:n.type}),L("connection.startConnectServer.done",{type:n.type,connectionUrl:n.connectionUrl}),B({wifiConnectUrl:"wifi"===n.type?n.connectionUrl:void 0,error:void 0})};C=Y.createService(function(e){let t,{connection:r,sdk:n}=e,o=()=>{let e=r.getWebSocketServerUrl();return e?.type==="wifi"?e.connectionUrl:void 0},s=e.directDebugReady??new Set,i=e.deviceInstallResults??new Map,a=async e=>{try{return{ok:!0,result:await e()}}catch(e){var t;return{ok:!1,error:(t=e)instanceof Error?t.message:String(t)}}};return{name:"dev",actions:{getInfo(){let t=o();return{appId:n.getAppId(),host:e.devServerHost,webDebuggerUrl:e.webDebuggerUrl,...t?{wifiConnectUrl:t}:{},status:e.getStatus()}},async openWebDebugger(){if(!e.openWebDebugger||!e.webDebuggerUrl)throw Error("web debugger is not ready");return await e.openWebDebugger(),e.webDebuggerUrl},discoverWidgets:()=>n.discoverWidgets(),discoverPages:()=>n.discoverPages(),getRuntimeInspectionTarget(){if(!t)return null;let e=y(r,t);return t=e,e??null},async setRuntimeInspectionTarget(n){let o=function(e,t){let r=v(t.clientId,"clientId"),n=v(t.sessionId,"sessionId"),o=y(e,{clientId:r,sessionId:n});if(!o)throw Error(`runtime inspection target is not active: client ${r}, session ${n}`);return o}(r,n.params??{}),s=t,i=!s||s.clientId!==o.clientId||s.sessionId!==o.sessionId;if(t=o,i)try{await e.broadcastEvent(p.runtimeInspectionTargetChanged,o)}catch(e){throw t=s,e}return t},openPage:e=>a(()=>_(r,n,e.params??{})),openPageUrl:e=>a(()=>x(r,n,e.params??{})),pushWidget:e=>a(()=>E(r,n,e.params??{})),async setConnectionTransport(t){let{type:r,appletHost:s,deviceTarget:i}=t.params??{};if("usb"!==r&&"wifi"!==r)throw Error('setConnectionTransport.type must be "usb" or "wifi"');void 0!==s&&function(e,t){let r;try{r=new URL(t)}catch{throw Error("setConnectionTransport.appletHost must be a valid URL")}if("usb"!==e||"http:"!==r.protocol&&"https:"!==r.protocol||!r.hostname||r.username||r.password||r.hash)throw Error("setConnectionTransport.appletHost must be an HTTP(S) URL without credentials or a fragment for usb")}(r,s),await e.setConnectionTransport(r,s,i);let a=o();return{appId:n.getAppId(),host:e.getDirectDebugHost(),webDebuggerUrl:e.webDebuggerUrl,...a?{wifiConnectUrl:a}:{},status:e.getStatus()}},async awaitDirectDebugReady(e){let{clientId:t,timeoutMs:r=0}=e.params??{};if(void 0===t)return!1;let n=Date.now()+Math.max(0,r);for(;!s.has(t)&&Date.now()<n;)await T(Math.min(100,n-Date.now()));return s.has(t)},async awaitDirectDebugClient(e){let t,{timeoutMs:r=0,stableMs:n=0}=e.params??{},o=Date.now()+Math.max(0,r);for(;;){let e=Date.now();if(s.size>0){if(t??(t=e),e-t>=Math.max(0,n))return s.values().next().value}else t=void 0;if(e>=o)return;await T(Math.min(100,o-e))}},async awaitDeviceInstallResult(e){let{clientId:t,packageName:r,timeoutMs:n=0}=e.params??{};if(void 0===t||!r)return null;let o=Date.now()+Math.max(0,n);for(;i.get(t)?.packageName!==r&&Date.now()<o;)await T(Math.min(100,o-Date.now()));let s=i.get(t);return s?.packageName===r?s:null},stop:()=>(queueMicrotask(()=>e.requestStop()),{stopping:!0})}}}({connection:o,sdk:r,devServerHost:F,getDirectDebugHost:()=>K,webDebuggerUrl:D.webDebuggerUrl,openWebDebugger:D.openWebDebugger,directDebugReady:s,deviceInstallResults:i,getStatus:()=>R.status,setConnectionTransport:$,requestStop:()=>{W()},broadcastEvent:(e,t)=>Y.broadcast(e,t)})),await V(Y.start(),()=>Y.stop()),el(U),L("service-manager.started",{namespace:P}),await V(z.start(),()=>z.stop()),el(U),L("connection.ipc.started",{namespace:P}),B({status:"running",host:F,appId:I,webDebuggerUrl:D.webDebuggerUrl,error:void 0})}catch(t){if(U){if(await W(),A&&!1!==n.throwOnStartupError)throw A;return{namespace:P,stopped:Y,getState:()=>R,stop:W}}let e=e_(t);process.stderr.write(`${e}
24
- `),B({status:"failed",error:e});try{await q()}finally{$(),await c?.close(),I(R)}if(!1!==n.throwOnStartupError)throw t instanceof Error?t:Error(e)}return{namespace:P,stopped:Y,getState:()=>R,stop:W}}function el(e){if(e)throw Error("dev runtime is stopping")}async function ec(e,t,r){t&&await new Promise(n=>{let o=setTimeout(()=>{r(`teardown.${e}.timeout`,{timeoutMs:1e3}),n()},1e3);t().catch(()=>void 0).finally(()=>{clearTimeout(o),n()})})}function eu(e,t){let r=(()=>{switch(e){case"boot":return"starting";case"sdk.dev.ready":return"dev server ready";case"connection.startConnectServer.done":return"device connection ready";case"teardown.begin":return"stopping";case"teardown.done":return"stopped";case"state":{let e="string"==typeof t?.status?t.status:"unknown",r="string"==typeof t?.error?`: ${t.error}`:"";if("running"===e)return"ready";if("stopped"===e)return;return`${e}${r}`}default:if(e.endsWith(".timeout"))return`cleanup timeout: ${e.slice(9,-8)}`;return}})();r&&process.stderr.write(`[dev] ${r}
25
- `)}async function ep(e,t){let r,n,o=await em(e),s=Date.now()+5e4;for(;;){let i=await Promise.all(o.map(e=>eb(e,t))),a=i.find(e=>e.ok);if(a){if(n===a.host)return a.host;n=a.host,await en(200);continue}if(n=void 0,r=i.filter(e=>!e.ok).map(e=>`${e.host}: ${e.error}`).join("; "),Date.now()>=s)throw Error(`dev: dev server manifest was not reachable at ${e}${ea} after 50000ms. Last probe: ${e_(r)}`);await en(200)}}async function em(e){let t=await eh(e),r=[eg(t)];for(let e of function(e){let t=["127.0.0.1"];for(let e of Object.values(es.networkInterfaces()))for(let r of e??[])"IPv4"===r.family&&t.push(r.address);return t.filter(t=>t!==e)}(t.hostname))r.push(eg(ef(t,e)));return Array.from(new Set(r))}async function eh(e){try{var t;let r=new URL(e);if(r.hostname&&"undefined"!==r.hostname&&!r.hostname.includes(":"))return ef(r,(await (0,n.lookup)(r.hostname,{family:4})).address);return t=r,ef(t,"127.0.0.1")}catch{let t=e.match(/:(\d+)(?:\/.*)?$/)?.[1]??"3000";return new URL(`http://127.0.0.1:${t}`)}}function ef(e,t){let r=new URL(e.href);return r.host=`${t}${r.port?`:${r.port}`:""}`,r}function eg(e){let t="/"===e.pathname?"":e.pathname.replace(/\/$/,"");return`${e.protocol}//${e.host}${t}`}async function eb(e,t){try{var r;let n=await (r=new URL(ea,`${e}/`),new Promise((e,t)=>{let n=("https:"===r.protocol?o:eo).request(r,{method:"GET",timeout:1500},t=>{let r=[],o=0;t.on("data",e=>{(o+=e.length)>1048576?n.destroy(Error("manifest response is larger than 1MB")):r.push(e)}),t.on("end",()=>{e({statusCode:t.statusCode??0,body:Buffer.concat(r).toString("utf8")})})});n.on("timeout",()=>{n.destroy(Error("request timed out after 1500ms"))}),n.on("error",t),n.end()}));if(n.statusCode<200||n.statusCode>=300)return{ok:!1,host:e,error:`HTTP ${n.statusCode}`};if(t&&!n.body.includes(t))return{ok:!1,host:e,error:`manifest does not include appId ${t}`};return{ok:!0,host:e}}catch(t){return{ok:!1,host:e,error:e_(t)}}}async function ey(e){let t,r=Date.now()+5e4;for(;;){try{let t=e.getAppId();if(t){let[r,n]=await Promise.all([e.discoverWidgets(),e.discoverPages()]);if(ev(r)||ev(n))return t}}catch(e){t=e}if(Date.now()>=r){let e=t?` Last metadata error: ${e_(t)}`:"";throw Error(`dev: compiled app metadata was not ready after 50000ms.${e}`)}await en(200)}}function ev(e){return Array.isArray(e)&&e.length>0}function e_(e){return e instanceof Error?e.message:String(e)}async function ex(e){var t;let r,n,o,s;return e.signal?.throwIfAborted(),ed((r=h(e.projectPath),o=m(n=(t=e.appDir)?l.isAbsolute(t)?l.resolve(t):l.resolve(r,t):r),s=Date.now(),{namespace:o,request:{projectPath:r,appDir:n,devOptions:e.devOptions,created_at:s}}),e)}let eE=r("../../../node_modules/.pnpm/@byted-doubao-tools+devtool-connection-core@0.1.0-beta.12_debug@4.4.3_react@19.2.7/node_modules/@byted-doubao-tools/devtool-connection-core/dist/lib/ipc/index.js");async function eC(e){var t,r;let n,o=new J(m((t=e.projectPath,r=e.appDir,n=c().resolve(t),r?c().isAbsolute(r)?c().resolve(r):c().resolve(n,r):n)),{nodeId:`${e.nodeIdPrefix}-${process.pid}`,requestTimeout:e.requestTimeoutMs??6e4});return await o.start(),{call:(e,t)=>eT(o,e,t),stop:()=>o.stop()}}function ew(e,t){if(t.ok)return t;throw Error(`${e} failed: ${t.error??"unknown error"}`)}function ej(e,t){if(null!=e)try{return JSON.stringify(JSON.parse(e))}catch(r){let e=r instanceof Error?r.message:String(r);throw Error(`${t} must be valid JSON: ${e}`)}}function eS(e){return void 0===e?{type:"undefined"}:"string"!=typeof e?{type:typeof e,value:e}:{type:"string",length:e.length,preview:e.length<=300?e:`${e.slice(0,300)}...`,keys:function(e){try{let t=JSON.parse(e);return t&&"object"==typeof t&&!Array.isArray(t)?Object.keys(t).slice(0,20):void 0}catch{return}}(e)}}function ek(...e){return(0,eE.createDevtoolConnectionIpcClient)(...e)}async function eT(e,t,r){for(let n=0;n<100;n++)try{return await e.call(t,r)}catch(e){if(!/is not (found|available)/.test(e instanceof Error?e.message:String(e)))throw e;await new Promise(e=>{setTimeout(e,50)})}throw Error(`dev service action never became routable: ${t}. Run "dbx dev" first and wait until it reports "status: running".`)}export{u as DEV_ACTIONS,p as DEV_EVENTS,J as ServiceManager,eC as connectDevService,ek as createDevtoolConnectionIpcClient,ew as ensureDevActionSucceeded,ej as parseJsonData,ex as startForegroundDevService,eS as summarizeData};
21
+ `}this.headers=th.encode(o+"\r\n"),this.contentLength=n?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async *encode(){yield this.headers;let{value:e}=this;eh.isTypedArray(e)?yield e:yield*tp(e),yield tf}static escapeName(e){return String(e).replace(/[\r\n"]/g,e=>({"\r":"%0D","\n":"%0A",'"':"%22"})[e])}}class tb extends E.Transform{__transform(e,t,r){this.push(e),r()}_transform(e,t,r){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){let e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,r)}}let ty=new Set(["localhost","0.0.0.0"]),tv=e=>{let t=e.split(".");return 4===t.length&&"127"===t[0]&&t.every(e=>/^\d+$/.test(e)&&Number(e)>=0&&255>=Number(e))},t_=e=>{if(/^0[xX][0-9a-fA-F]+$/.test(e)){let t=parseInt(e.slice(2),16);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-7]+$/.test(e)){let t=parseInt(e,8);return Number.isFinite(t)?t:null}if(e.length>1&&/^0[0-9]+$/.test(e))return null;if(/^[0-9]+$/.test(e)){let t=parseInt(e,10);return Number.isFinite(t)?t:null}return null},tx=e=>/^0{1,4}$/.test(e),tE=e=>!!e&&(!!(ty.has(e)||tv(e)||(e=>{if("::"===e)return!0;let t=e.indexOf("::");if(-1!==t){if(t!==e.lastIndexOf("::"))return!1;let r=e.slice(0,t),n=e.slice(t+2),o=r?r.split(":"):[],s=n?n.split(":"):[];return o.length+s.length<8&&o.every(tx)&&s.every(tx)}let r=e.split(":");return 8===r.length&&r.every(tx)})(e))||(e=>{if("::1"===e)return!0;let t=e.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(t)return tv(t[1]);let r=e.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(r){let e=parseInt(r[1],16);return e>=32512&&e<=32767}let n=e.split(":");if(8===n.length){for(let e=0;e<7;e++)if(!/^0+$/.test(n[e]))return!1;return/^0*1$/.test(n[7])}return!1})(e)),tC={http:80,https:443,ws:80,wss:443,ftp:21},tw=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,tj=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i,tS=e=>{if(!e)return e;"["===e.charAt(0)&&"]"===e.charAt(e.length-1)&&(e=e.slice(1,-1));let t=e.replace(/\.+$/,""),r=(e=>{if("string"!=typeof e||!e||-1!==e.indexOf(":"))return e;let t=e;if("["===t.charAt(0)&&"]"===t.charAt(t.length-1)&&(t=t.slice(1,-1)),t=t.replace(/\.+$/,""),!/^[0-9.xXa-fA-F]+$/.test(t))return e;let r=t.split(".");if(r.some(e=>""===e))return e;if(4===r.length){let t=r.map(t_);return t.some(e=>null===e||e<0||e>255)?e:t.join(".")}if(r.length>4||1===r.length)return e;let n=r.slice(0,-1),o=r[r.length-1],s=4-n.length,i=t_(o);if(null===i)return e;let a=(1<<8*s)-1;if(i<0||i>a)return e;let d=Array(s).fill(0);for(let e=s-1,t=i;e>=0;e--,t>>=8)d[e]=255&t;let l=n.map(t_);return l.some(e=>null===e||e<0||e>255)?e:[...l,...d].join(".")})(t);if(r!==t)return r;if("string"!=typeof t||-1===t.indexOf(":"))return t;let n=t.match(tw);if(n)return n[1];let o=t.match(tj);if(o){let e=parseInt(o[1],16),t=parseInt(o[2],16);return`${e>>8}.${255&e}.${t>>8}.${255&t}`}return t},tk=(e,t,r=3)=>{var n,o,s;let i,a,d,l,c,u,p,m,h,f,g=0,b=(o=250,a=Array(n=n=50),d=Array(n),l=0,c=0,o=void 0!==o?o:1e3,function(e){let t=Date.now(),r=d[c];i||(i=t),a[l]=e,d[l]=t;let s=c,u=0;for(;s!==l;)u+=a[s++],s%=n;if((l=(l+1)%n)===c&&(c=(c+1)%n),t-i<o)return;let p=r&&t-r;return p?Math.round(1e3*u/p):void 0});return s=r=>{if(!r||"number"!=typeof r.loaded)return;let n=r.loaded,o=r.lengthComputable?r.total:void 0,s=Math.max(0,null!=o?Math.min(n,o):n),i=Math.max(0,s-g),a=b(i);g=Math.max(g,s),e({loaded:s,total:o,progress:o?s/o:void 0,bytes:i,rate:a||void 0,estimated:a&&o?(o-s)/a:void 0,event:r,lengthComputable:null!=o,[t?"download":"upload"]:!0})},m=0,h=1e3/r,f=(e,t=Date.now())=>{m=t,u=null,p&&(clearTimeout(p),p=null),s(...e)},[(...e)=>{let t=Date.now(),r=t-m;r>=h?f(e,t):(u=e,p||(p=setTimeout(()=>{p=null,f(u)},h-r)))},()=>u&&f(u)]},tT=(e,t)=>{let r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},tO=(e,t=eh.asap)=>(...r)=>t(()=>e(...r)),tD=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,tI=(e,t,r)=>t+2<r&&tD(e.charCodeAt(t+1))&&tD(e.charCodeAt(t+2)),tA=e=>e<=57?e-48:(223&e)-55,tN=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,tR=e=>9===e||10===e||12===e||13===e||32===e,tP=e=>{let t=e.length,r=0;return t>0&&61===e.charCodeAt(t-1)&&(r++,t>1&&61===e.charCodeAt(t-2)&&r++),Math.floor((t-r)*3/4)},tL=e=>{var t;let r,n,o=e.length,s=0,i=0,a=!1;for(let t=0;t<o;t++){let r=e.charCodeAt(t);if(37===r&&tI(e,t,o)&&(r=16*tA(e.charCodeAt(t+1))+tA(e.charCodeAt(t+2)),t+=2),!tR(r)){if(61===r){i++;continue}if(!tN(r)||i>0){a=!0;continue}s++}}return a||i>2||i>0&&(s+i)%4!=0||s%4==1?tP(e):(r=Math.floor((t=s)/4),3*r+(2==(n=t%4)?1:2*(3===n)))},tB=(e,t)=>{if(!e||"string"!=typeof e||!e.startsWith("data:"))return 0;let r=e.indexOf(",");if(r<0)return 0;let n=e.slice(5,r),o=e.slice(r+1);if(/;base64/i.test(n))return t(o);let s=0;for(let e=0,t=o.length;e<t;e++){let r=o.charCodeAt(e);if(37===r&&tI(o,e,t))s+=1,e+=2;else if(r<128)s+=1;else if(r<2048)s+=2;else if(r>=55296&&r<=56319&&e+1<t){let t=o.charCodeAt(e+1);t>=56320&&t<=57343?(s+=4,e++):s+=3}else s+=3}return s},tM={flush:x.constants.Z_SYNC_FLUSH,finishFlush:x.constants.Z_SYNC_FLUSH},tU={flush:x.constants.BROTLI_OPERATION_FLUSH,finishFlush:x.constants.BROTLI_OPERATION_FLUSH},tF={flush:x.constants.ZSTD_e_flush,finishFlush:x.constants.ZSTD_e_flush},tK=eh.isFunction(x.createBrotliDecompress),tV=eh.isFunction(x.createZstdDecompress),tY="gzip, compress, deflate"+(tK?", br":""),tz=tY+(tV?", zstd":""),tH="u">typeof process&&process.nextTick?process.nextTick.bind(process):eh.asap,{http:t$,https:tq}=_,tW=/https:?/,tG=Symbol("axios.http.socketListener"),tX=Symbol("axios.http.currentReq"),tQ=Symbol("axios.http.installedTunnel"),tJ=new Map,tZ=new WeakMap,t0={22:21,24:5},t1=eZ.protocols.map(e=>e+":"),t2=e=>{if(!eh.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},t3=(e,[t,r])=>(e.on("end",r).on("error",r),t),t4=new class{constructor(){this.sessions=Object.create(null)}getSession(e,t){let r,n;t=Object.assign({sessionTimeout:1e3},t);let o=this.sessions[e];if(o){let e=o.length;for(let r=0;r<e;r++){let[e,n]=o[r];if(!e.destroyed&&!e.closed&&y.isDeepStrictEqual(n,t))return e}}let s=b.connect(e,t),i=()=>{if(r)return;r=!0,n&&(clearTimeout(n),n=null);let t=o,i=t.length,a=i;for(;a--;)if(t[a][0]===s){1===i?delete this.sessions[e]:t.splice(a,1),s.closed||s.close();return}},a=s.request,{sessionTimeout:d}=t;if(null!=d){let e=0;s.request=function(){let t=a.apply(this,arguments);return e++,n&&(clearTimeout(n),n=null),t.once("close",()=>{--e||(n=setTimeout(()=>{n=null,i()},d))}),t}}s.once("close",i);let l=[s,t];return o?o.push(l):o=this.sessions[e]=[l],s}};function t6(e,t,r){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.auth&&e.beforeRedirects.auth(e),e.beforeRedirects.sensitiveHeaders&&e.beforeRedirects.sensitiveHeaders(e,r),e.beforeRedirects.config&&e.beforeRedirects.config(e,t,r)}let t5="u">typeof process&&"process"===eh.kindOf(process),t8=(e,t)=>(({address:e,family:t})=>{if(!eh.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(0>e.indexOf(".")?6:4)}})(eh.isObject(e)?e:{address:e,family:t}),t7={request(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||("https:"===e.protocol?443:80)),{http2Options:n,headers:o}=e,s=t4.getSession(r,n),{HTTP2_HEADER_SCHEME:i,HTTP2_HEADER_METHOD:a,HTTP2_HEADER_PATH:d,HTTP2_HEADER_STATUS:l}=b.constants,c={[i]:e.protocol.replace(":",""),[a]:e.method,[d]:e.path};eh.forEach(o,(e,t)=>{":"!==t.charAt(0)&&(c[t]=e)});let u=s.request(c);return u.once("response",e=>{let r=(e=Object.assign({},e))[l];delete e[l],u.headers=e,u.statusCode=+r,t(u)}),u}};var t9=t5&&function(e){let t;return t=async function(t,r,n){let o,s,i,a,d,l,c,u,p=eh.getSafeProp(e,"transitional")||eV,m=eh.getSafeProp(e,"data"),b=eh.getSafeProp(e,"lookup"),_=eh.getSafeProp(e,"family"),w=eh.getSafeProp(e,"httpVersion");void 0===w&&(w=1);let j=eh.getSafeProp(e,"http2Options"),S=eh.getSafeProp(e,"httpAgent"),k=eh.getSafeProp(e,"httpsAgent"),T=eh.getSafeProp(e,"proxy"),O=eh.getSafeProp(e,"responseType"),D=eh.getSafeProp(e,"responseEncoding"),I=eh.getSafeProp(e,"socketPath"),A=eh.getSafeProp(e,"method").toUpperCase(),N=eh.getSafeProp(e,"maxRedirects"),R=eh.getSafeProp(e,"maxBodyLength"),P=eh.getSafeProp(e,"maxContentLength"),L=eh.getSafeProp(e,"decompress"),B=!1;if(Number.isNaN(w*=1))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(1!==w&&2!==w)throw TypeError(`Unsupported protocol version '${w}'`);let M=2===w;if(b){let e,t,r=(e=b,t=e=>eh.isArray(e)?e:[e],eh.isAsyncFn(e)?function(...r){let n=r.pop();e.apply(this,r).then(e=>{try{t?n(null,...t(e)):n(null,e)}catch(e){n(e)}},n)}:e);b=(e,t,n)=>{r(e,t,(e,r,o)=>{if(e)return n(e);let s=eh.isArray(r)?r.map(e=>t8(e)):[t8(r,o)];t.all?n(e,s):n(e,s[0].address,s[0].family)})}}let U=new C.EventEmitter;function F(t){try{U.emit("abort",!t||t.type?new e5(null,e,s):t)}catch(e){}}function K(){i&&(clearTimeout(i),i=null)}U.once("abort",r);let V=()=>{K(),e.cancelToken&&e.cancelToken.unsubscribe(F),e.signal&&e.signal.removeEventListener("abort",F),U.removeAllListeners()};(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(F),e.signal&&(e.signal.aborted?F():e.signal.addEventListener("abort",F))),n((e,t)=>{if(o=!0,K(),t){B=!0,V();return}let{data:r}=e;if(r instanceof E.Readable||r instanceof E.Duplex){let e=E.finished(r,()=>{e(),V()})}else V()});let Y=tt(eh.getSafeProp(e,"baseURL"),eh.getSafeProp(e,"url"),eh.getSafeProp(e,"allowAbsoluteUrls"),e),z=new URL(Y,I?"http://localhost":eZ.hasBrowserEnv?eZ.origin:void 0),H=z.protocol||t1[0];if("data:"===H){let n;if(P>-1&&tB(String(eh.getSafeProp(e,"url")||Y||""),tP)>P)return r(new eO("maxContentLength size of "+P+" exceeded",eO.ERR_BAD_RESPONSE,e));if("GET"!==A)return e8(t,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{n=function(e,t,r){let n=r&&r.Blob||eZ.classes.Blob,o=ts(e);if(void 0===t&&n&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;let r=ti.exec(e);if(!r)throw new eO("Invalid URL",eO.ERR_INVALID_URL);let s=r[1],i=r[2],a=r[3]?"base64":"utf8",d=r[4],l="";s?l=i?s+i:s:i&&(l="text/plain"+i);let c="base64"===a?Buffer.from(d,"base64"):Buffer.from(decodeURIComponent(d),a);if(t){if(!n)throw new eO("Blob is not supported",eO.ERR_NOT_SUPPORT);return new n([c],{type:l})}return c}throw new eO("Unsupported protocol "+o,eO.ERR_NOT_SUPPORT)}(eh.getSafeProp(e,"url"),"blob"===O,{Blob:e.env&&e.env.Blob})}catch(t){throw eO.from(t,eO.ERR_BAD_REQUEST,e)}return"text"===O?(n=n.toString(D),D&&"utf8"!==D||(n=eh.stripBOM(n))):"stream"===O&&(n=E.Readable.from(n)),e8(t,r,{data:n,status:200,statusText:"OK",headers:new eS,config:e})}if(-1===t1.indexOf(H))return r(new eO("Unsupported protocol "+H,eO.ERR_BAD_REQUEST,e));let $=eS.from(e.headers).normalize();$.set("User-Agent","axios/"+to,!1);let{onUploadProgress:q,onDownloadProgress:W}=e,G=e.maxRate;if(eh.isSpecCompliantForm(m)){let e=$.getContentType(/boundary=([-_\w\d]{10,70})/i);m=((e,t,r)=>{let{tag:n="form-data-boundary",size:o=25,boundary:s=n+"-"+eZ.generateString(o,tm)}=r||{};if(!eh.isFormData(e))throw TypeError("FormData instance required");if(s.length<1||s.length>70)throw Error("boundary must be 1-70 characters long");let i=th.encode("--"+s+"\r\n"),a=th.encode("--"+s+"--\r\n"),d=a.byteLength,l=Array.from(e.entries()).map(([e,t])=>{let r=new tg(e,t);return d+=r.size,r});d+=i.byteLength*l.length;let c={"Content-Type":`multipart/form-data; boundary=${s}`};return Number.isFinite(d=eh.toFiniteNumber(d))&&(c["Content-Length"]=d),t&&t(c),E.Readable.from(async function*(){for(let e of l)yield i,yield*e.encode();yield a}())})(m,e=>{$.set(e)},{tag:`axios-${to}-boundary`,boundary:e&&e[1]||void 0})}else if(eh.isFormData(m)&&eh.isFunction(m.getHeaders)&&m.getHeaders!==Object.prototype.getHeaders){if(td($,m.getHeaders(),eh.getSafeProp(e,"formDataHeaderPolicy")),!$.hasContentLength())try{let e=await y.promisify(m.getLength).call(m);Number.isFinite(e)&&e>=0&&$.setContentLength(e)}catch(e){}}else if(eh.isBlob(m)||eh.isFile(m))m.size&&$.setContentType(m.type||"application/octet-stream"),$.setContentLength(m.size||0),m=E.Readable.from(tp(m));else if(m&&!eh.isStream(m)){if(Buffer.isBuffer(m));else if(eh.isArrayBuffer(m))m=Buffer.from(new Uint8Array(m));else{if(!eh.isString(m))return r(new eO("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",eO.ERR_BAD_REQUEST,e));m=Buffer.from(m,"utf-8")}if($.setContentLength(m.length,!1),R>-1&&m.length>R)return r(new eO("Request body larger than maxBodyLength limit",eO.ERR_BAD_REQUEST,e))}let X=eh.toFiniteNumber($.getContentLength());eh.isArray(G)?(l=G[0],c=G[1]):l=c=G,m&&(q||l)&&(eh.isStream(m)||(m=E.Readable.from(m,{objectMode:!1})),m=E.pipeline([m,new tc({maxRate:eh.toFiniteNumber(l)})],eh.noop),q&&m.on("progress",t3(m,tT(X,tk(tO(q,tH),!1,3)))));let Q=eh.getSafeProp(e,"auth");Q&&(u=(eh.getSafeProp(Q,"username")||"")+":"+(eh.getSafeProp(Q,"password")||"")),!u&&(z.username||z.password)&&(u=t2(z.username)+":"+t2(z.password)),u&&$.delete("authorization");try{a=eF(z.pathname+z.search,eh.getSafeProp(e,"params"),eh.getSafeProp(e,"paramsSerializer")).replace(/^\?/,"")}catch(t){return r(eO.from(t,eO.ERR_BAD_REQUEST,e,null,null,{url:eh.getSafeProp(e,"url"),exists:!0}))}$.set("Accept-Encoding",eh.hasOwnProp(p,"advertiseZstdAcceptEncoding")&&!0===p.advertiseZstdAcceptEncoding?tz:tY,!1);let J=Object.assign(Object.create(null),{path:a,method:A,headers:ev($),agents:{http:S,https:k},auth:u,protocol:H,family:_,beforeRedirect:t6,beforeRedirects:Object.create(null),http2Options:j});if(eh.isUndefined(b)||(J.lookup=b),I){if("string"!=typeof I)return r(new eO("socketPath must be a string",eO.ERR_BAD_OPTION_VALUE,e));let t=eh.getSafeProp(e,"allowedSocketPaths");if(null!=t){let n=Array.isArray(t)?t:[t],o=v.resolve(I);if(!n.some(e=>"string"==typeof e&&v.resolve(e)===o))return r(new eO(`socketPath "${I}" is not permitted by allowedSocketPaths`,eO.ERR_BAD_OPTION_VALUE,e))}J.socketPath=I}else J.hostname=z.hostname.startsWith("[")?z.hostname.slice(1,-1):z.hostname,J.port=z.port,function e(t,r,n,o,s,i){let a=r,d=tW.test(t.protocol)?s||g.globalAgent:i||f.globalAgent;if(!a&&!1!==a&&!function(e,t=process.versions&&process.versions.node){if(!function(e=process.versions&&process.versions.node){if(!e)return!1;let[t,r]=e.split(".").map(e=>Number(e));return!!Number.isInteger(t)&&!!Number.isInteger(r)&&(t>24||null!=t0[t]&&r>=t0[t])}(t))return!1;let r=e&&e.options;return!!(r&&eh.hasOwnProp(r,"proxyEnv")&&null!=r.proxyEnv)}(d)){let e=function(e){var t,r,n,o=("string"==typeof e?function(e){try{return new URL(e)}catch{return null}}(e):e)||{},s=o.protocol,i=o.host,a=o.port;if("string"!=typeof i||!i||"string"!=typeof s||(s=s.split(":",1)[0],t=i=i.replace(/:\d*$/,""),r=a=parseInt(a)||tr[s]||0,!(!(n=tn("no_proxy").toLowerCase())||"*"!==n&&n.split(/[,\s]/).every(function(e){if(!e)return!0;var n=e.match(/^(.+):(\d+)$/),o=n?n[1]:e,s=n?parseInt(n[2]):0;return!!s&&s!==r||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!t.endsWith(o)):t!==o)}))))return"";var d=tn(s+"_proxy")||tn("all_proxy");return d&&-1===d.indexOf("://")&&(d=s+"://"+d),d}(n);e&&!function(e){let t;try{t=new URL(e)}catch(e){return!1}let r=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!r)return!1;if("*"===r)return!0;let n=Number.parseInt(t.port,10)||tC[t.protocol.split(":",1)[0]]||0,o=tS(t.hostname.toLowerCase());return r.split(/[\s,]+/).some(e=>{if(!e)return!1;if("*"===e)return!0;let[t,r]=(e=>{let t=e,r=0;if("["===t.charAt(0)){let e=t.indexOf("]");if(-1!==e){let n=t.slice(1,e),o=t.slice(e+1);return":"===o.charAt(0)&&/^\d+$/.test(o.slice(1))&&(r=Number.parseInt(o.slice(1),10)),[n,r]}}let n=t.indexOf(":"),o=t.lastIndexOf(":");return -1!==n&&n===o&&/^\d+$/.test(t.slice(o+1))&&(r=Number.parseInt(t.slice(o+1),10),t=t.slice(0,o)),[t,r]})(e);return!!(t=tS(t))&&(!r||r===n)&&(("*"===t.charAt(0)&&(t=t.slice(1)),"."===t.charAt(0))?o.endsWith(t):o===t||tE(o)&&tE(t))})}(n)&&(a=new URL(e))}if(o&&t.headers)for(let e of Object.keys(t.headers))"proxy-authorization"===e.toLowerCase()&&delete t.headers[e];if(o&&t.agent&&t.agent[tQ]&&(t.agent=void 0),a){let e=a instanceof URL,r=t=>e||eh.hasOwnProp(a,t)?a[t]:void 0,o=r("username"),i=r("password"),d=eh.hasOwnProp(a,"auth")?a.auth:void 0;if(o&&(d=(o||"")+":"+(i||"")),d){let e="object"==typeof d,t=e&&eh.hasOwnProp(d,"username")?d.username:void 0,r=e&&eh.hasOwnProp(d,"password")?d.password:void 0;if(t||r)d=(t||"")+":"+(r||"");else if(e)throw new eO("Invalid proxy authorization",eO.ERR_BAD_OPTION,{proxy:a})}if(tW.test(t.protocol)){if(!(s instanceof h)){let e=r("hostname")||r("host"),n=r("port"),o=r("protocol"),i=o?o.includes(":")?o:`${o}:`:"http:",a=e&&e.includes(":")&&!e.startsWith("[")?`[${e}]`:e,l=new URL(`${i}//${a}${n?":"+n:""}`),c={protocol:l.protocol,hostname:l.hostname.replace(/^\[|\]$/g,""),port:l.port,auth:d&&"string"==typeof d?d:void 0};"https:"===l.protocol&&(c.ALPNProtocols=["http/1.1"]);let u=function(e,t){let r=e.protocol+"//"+e.hostname+":"+(e.port||"")+"#"+(e.auth||""),n=t?tZ.get(t)||tZ.set(t,new Map).get(t):tJ,o=n.get(r);if(o)return o;if(o=new h(t&&t.options?{...t.options,...e}:e),t&&t.options){let e={...t.options},r=o.callback;o.callback=function(t,n){return r.call(this,t,{...e,...n})}}return o[tQ]=!0,n.set(r,o),o}(c,s);t.agent=u,t.agents&&(t.agents.https=u)}}else{if(d){let e=Buffer.from(d,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+e}let e=!1;for(let r of Object.keys(t.headers))if("host"===r.toLowerCase()){e=!0;break}e||(t.headers.host=t.hostname+(t.port?":"+t.port:""));let o=r("hostname")||r("host");t.hostname=o,t.host=o,t.port=r("port"),t.path=n;let s=r("protocol");s&&(t.protocol=s.includes(":")?s:`${s}:`)}}t.beforeRedirects.proxy=function(t){e(t,r,t.href,!0,s,i)}}(J,T,H+"//"+z.hostname+(z.port?":"+z.port:"")+J.path,!1,k,S);let Z=!1,ee=!1,et=tW.test(J.protocol);if(null==J.agent&&(J.agent=et?k:S),M)d=t7;else{let t=eh.getSafeProp(e,"transport");if(t)d=t;else if(0===N)d=et?g:f,Z=!0;else{ee=!0,J.sensitiveHeaders=[],N&&(J.maxRedirects=N);let t=eh.getSafeProp(e,"beforeRedirect");if(t&&(J.beforeRedirects.config=t),u){let e=z.origin,t=u;J.beforeRedirects.auth=function(r){try{new URL(r.href).origin===e&&(r.auth=t)}catch(e){}}}let n=eh.getSafeProp(e,"sensitiveHeaders");if(null!=n){if(!eh.isArray(n))return r(new eO("sensitiveHeaders must be an array of strings",eO.ERR_BAD_OPTION_VALUE,e));let t=new Set;for(let o of n){if(!eh.isString(o))return r(new eO("sensitiveHeaders must be an array of strings",eO.ERR_BAD_OPTION_VALUE,e));t.add(o.toLowerCase())}t.size&&(J.sensitiveHeaders=Array.from(t),J.beforeRedirects.sensitiveHeaders=function(e,r){var n;!function(e,t){if(!t)return!1;try{return new URL(t.url).origin===new URL(e.href).origin}catch(e){return!1}}(e,r)&&(n=e.headers,n&&Object.keys(n).forEach(e=>{t.has(e.toLowerCase())&&delete n[e]}))})}d=et?tq:t$}}R>-1?J.maxBodyLength=R:J.maxBodyLength=1/0,J.insecureHTTPParser=!!eh.getSafeProp(e,"insecureHTTPParser"),s=d.request(J,function(n){if(K(),s.destroyed)return;let o=[n],i=eh.toFiniteNumber(n.headers["content-length"]);if(W||c){let e=new tc({maxRate:eh.toFiniteNumber(c)});W&&e.on("progress",t3(e,tT(i,tk(tO(W,tH),!0,3)))),o.push(e)}let a=n,d=n.req||s;if(!1!==L&&n.headers["content-encoding"])switch(("HEAD"===A||204===n.statusCode)&&delete n.headers["content-encoding"],(n.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(x.createUnzip(tM)),delete n.headers["content-encoding"];break;case"deflate":o.push(new tb),o.push(x.createUnzip(tM)),delete n.headers["content-encoding"];break;case"br":tK&&(o.push(x.createBrotliDecompress(tU)),delete n.headers["content-encoding"]);break;case"zstd":tV&&(o.push(x.createZstdDecompress(tF)),delete n.headers["content-encoding"])}a=o.length>1?E.pipeline(o,eh.noop):o[0];let l={status:n.statusCode,statusText:n.statusMessage,headers:new eS(n.headers),config:e,request:d};if("stream"===O){if(P>-1){let t=a;async function*u(){let r=0;for await(let n of t){if((r+=n.length)>P)throw new eO("maxContentLength size of "+P+" exceeded",eO.ERR_BAD_RESPONSE,e,d);yield n}}a=E.Readable.from(u(),{objectMode:!1})}l.data=a,e8(t,r,l)}else{let n=[],o=0;a.on("data",function(t){n.push(t),o+=t.length,P>-1&&o>P&&(B=!0,a.destroy(),F(new eO("maxContentLength size of "+P+" exceeded",eO.ERR_BAD_RESPONSE,e,d)))}),a.on("aborted",function(){if(B)return;let t=new eO("stream has been aborted",eO.ERR_BAD_RESPONSE,e,d,l);a.destroy(t),r(t)}),a.on("error",function(t){B||r(eO.from(t,null,e,d,l))}),a.on("end",function(){try{let e=1===n.length?n[0]:Buffer.concat(n);"arraybuffer"!==O&&(e=e.toString(D),D&&"utf8"!==D||(e=eh.stripBOM(e))),l.data=e}catch(t){return r(eO.from(t,null,e,l.request,l))}e8(t,r,l)})}U.once("abort",e=>{a.destroyed||(a.emit("error",e),a.destroy())})}),U.once("abort",e=>{s.close?s.close():s.destroy(e)}),s.on("error",function(t){r(eO.from(t,null,e,s))});let er=new Set;if(s.on("socket",function(e){"function"==typeof e.setKeepAlive&&e.setKeepAlive(!0,6e4),e[tG]||(e.on("error",function(t){let r=e[tX];r&&!r.destroyed&&r.destroy(t)}),e[tG]=!0),e[tX]=s,er.add(e)}),s.once("close",function(){for(let e of(K(),er))e[tX]===s&&(e[tX]=null);er.clear()}),eh.getSafeProp(e,"timeout")){let t=parseInt(eh.getSafeProp(e,"timeout"),10);if(Number.isNaN(t))return void F(new eO("error trying to parse `config.timeout` to int",eO.ERR_BAD_OPTION_VALUE,e,s));let r=function(){if(!o){let t,r,n;F((r=(t=eh.getSafeProp(e,"timeout"))?"timeout of "+t+"ms exceeded":"timeout exceeded",(n=eh.getSafeProp(e,"timeoutErrorMessage"))&&(r=n),new eO(r,p.clarifyTimeoutError?eO.ETIMEDOUT:eO.ECONNABORTED,e,s)))}};Z&&t>0&&(i=setTimeout(r,t)),s.setTimeout(t,r)}else s.setTimeout(0);if(eh.isStream(m)){let t=!1,r=!1;m.on("end",()=>{t=!0}),m.once("error",e=>{r=!0,s.destroy(e)}),m.on("close",()=>{t||r||F(new e5("Request stream has been aborted",e,s))});let n=m;if(R>-1&&!ee){let t=0;(n=E.pipeline([m,new E.Transform({transform(r,n,o){if((t+=r.length)>R)return o(new eO("Request body larger than maxBodyLength limit",eO.ERR_BAD_REQUEST,e,s));o(null,r)}})],eh.noop)).on("error",e=>{s.destroyed||s.destroy(e)})}n.pipe(s)}else m&&s.write(m),s.end()},new Promise((e,r)=>{let n,o,s=(e,t)=>{!o&&(o=!0,n&&n(e,t))},i=e=>{s(e,!0),r(e)};t(t=>{s(t),e(t)},i,e=>n=e).catch(i)})},re=eZ.hasStandardBrowserEnv?(s=new URL(eZ.origin),i=eZ.navigator&&/(msie|trident)/i.test(eZ.navigator.userAgent),e=>(e=new URL(e,eZ.origin),s.protocol===e.protocol&&s.host===e.host&&(i||s.port===e.port))):()=>!0,rt=eZ.hasStandardBrowserEnv?{write(e,t,r,n,o,s,i){if("u"<typeof document)return;let a=[`${e}=${encodeURIComponent(t)}`];eh.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),eh.isString(n)&&a.push(`path=${n}`),eh.isString(o)&&a.push(`domain=${o}`),!0===s&&a.push("secure"),eh.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("u"<typeof document)return null;let t=document.cookie.split(";");for(let r=0;r<t.length;r++){let n=t[r].replace(/^\s+/,""),o=n.indexOf("=");if(-1!==o&&n.slice(0,o)===e)try{return decodeURIComponent(n.slice(o+1))}catch(e){return n.slice(o+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};let rr=e=>e instanceof eS?{...e}:e;function rn(e,t){var r;e=e||{},t=t||{};let n=Object.create(null);function o(e,t,r,n){return eh.isPlainObject(e)&&eh.isPlainObject(t)?eh.merge.call({caseless:n},e,t):eh.isPlainObject(t)?eh.merge({},t):eh.isArray(t)?t.slice():t}function s(e,t,r,n){return eh.isUndefined(t)?eh.isUndefined(e)?void 0:o(void 0,e,r,n):o(e,t,r,n)}function i(e,t){if(!eh.isUndefined(t))return o(void 0,t)}function a(e,t){return eh.isUndefined(t)?eh.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function d(r,n,s){return eh.hasOwnProp(t,s)?o(r,n):eh.hasOwnProp(e,s)?o(void 0,r):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});let l={url:i,method:i,data:i,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,allowedSocketPaths:a,responseEncoding:a,validateStatus:d,headers:(e,t,r)=>s(rr(e),rr(t),r,!0)};return eh.forEach((r={...e,...t},Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(r).concat(Object.getOwnPropertySymbols(r).filter(e=>Object.getOwnPropertyDescriptor(r,e).enumerable)):Object.keys(r)),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;let o=eh.hasOwnProp(l,r)?l[r]:s,i=o(eh.hasOwnProp(e,r)?e[r]:void 0,eh.hasOwnProp(t,r)?t[r]:void 0,r);eh.isUndefined(i)&&o!==d||(n[r]=i)}),eh.hasOwnProp(t,"validateStatus")&&eh.isUndefined(t.validateStatus)&&!1===function(r){let n=eh.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!eh.isUndefined(n)){if(!eh.isPlainObject(n))return;else if(eh.hasOwnProp(n,r))return n[r]}let o=eh.hasOwnProp(e,"transitional")?e.transitional:void 0;if(eh.isPlainObject(o)&&eh.hasOwnProp(o,r))return o[r]}("validateStatusUndefinedResolves")&&(eh.hasOwnProp(e,"validateStatus")?n.validateStatus=o(void 0,e.validateStatus):delete n.validateStatus),n}function ro(e){let t=rn({},e),r=e=>eh.hasOwnProp(t,e)?t[e]:void 0,n=r("data"),o=r("withXSRFToken"),s=r("xsrfHeaderName"),i=r("xsrfCookieName"),a=r("headers"),d=r("auth"),l=r("baseURL"),c=r("allowAbsoluteUrls"),u=r("url");if(t.headers=a=eS.from(a),t.url=eF(tt(l,u,c,t),r("params"),r("paramsSerializer")),d){let t=eh.getSafeProp(d,"username")||"",r=eh.getSafeProp(d,"password")||"";try{a.set("Authorization","Basic "+btoa(t+":"+(r?encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw eO.from(t,eO.ERR_BAD_OPTION_VALUE,e)}}if(eh.isFormData(n)&&(eZ.hasStandardBrowserEnv||eZ.hasStandardBrowserWebWorkerEnv||eh.isReactNative(n)?a.setContentType(void 0):eh.isFunction(n.getHeaders)&&td(a,n.getHeaders(),r("formDataHeaderPolicy"))),eZ.hasStandardBrowserEnv&&(eh.isFunction(o)&&(o=o(t)),!0===o||null==o&&re(t.url))){let e=s&&i&&rt.read(i);e&&a.set(s,e)}return t}var rs="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){let n,o,s,i,a,d=ro(e),l=d.data,c=eS.from(d.headers).normalize(),{responseType:u,onUploadProgress:p,onDownloadProgress:m}=d;function h(){i&&i(),a&&a(),d.cancelToken&&d.cancelToken.unsubscribe(n),d.signal&&d.signal.removeEventListener("abort",n)}let f=new XMLHttpRequest;function g(){if(!f)return;let n=eS.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());e8(function(e){t(e),h()},function(e){r(e),h()},{data:u&&"text"!==u&&"json"!==u?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:n,config:e,request:f}),f=null}f.open(d.method.toUpperCase(),d.url,!0),f.timeout=d.timeout,"onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){!f||4!==f.readyState||(0!==f.status||f.responseURL&&f.responseURL.startsWith("file:"))&&setTimeout(g)},f.onabort=function(){f&&(r(new eO("Request aborted",eO.ECONNABORTED,e,f)),h(),f=null)},f.onerror=function(t){let n=new eO(t&&t.message?t.message:"Network Error",eO.ERR_NETWORK,e,f);n.event=t||null,r(n),h(),f=null},f.ontimeout=function(){let t=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",n=d.transitional||eV;d.timeoutErrorMessage&&(t=d.timeoutErrorMessage),r(new eO(t,n.clarifyTimeoutError?eO.ETIMEDOUT:eO.ECONNABORTED,e,f)),h(),f=null},void 0===l&&c.setContentType(null),"setRequestHeader"in f&&eh.forEach(ev(c),function(e,t){f.setRequestHeader(t,e)}),eh.isUndefined(d.withCredentials)||(f.withCredentials=!!d.withCredentials),u&&"json"!==u&&(f.responseType=d.responseType),m&&([s,a]=tk(m,!0),f.addEventListener("progress",s)),p&&f.upload&&([o,i]=tk(p),f.upload.addEventListener("progress",o),f.upload.addEventListener("loadend",i)),(d.cancelToken||d.signal)&&(n=t=>{f&&(r(!t||t.type?new e5(null,e,f):t),f.abort(),h(),f=null)},d.cancelToken&&d.cancelToken.subscribe(n),d.signal&&(d.signal.aborted?n():d.signal.addEventListener("abort",n)));let b=ts(d.url);if(b&&!eZ.protocols.includes(b)){r(new eO("Unsupported protocol "+b+":",eO.ERR_BAD_REQUEST,e)),h();return}f.send(l||null)})};let ri=function*(e,t){let r,n=e.byteLength;if(n<t)return void(yield e);let o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},ra=async function*(e,t){for await(let r of rd(e))yield*ri(r,t)},rd=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);let t=e.getReader();try{for(;;){let{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},rl=(e,t,r,n)=>{let o,s=ra(e,t),i=0,a=e=>{!o&&(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{let{done:t,value:n}=await s.next();if(t){a(),e.close();return}let o=n.byteLength;if(r){let e=i+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw a(e),e}},cancel:e=>(a(e),s.return())},{highWaterMark:2})},{isFunction:rc}=eh,ru=e=>{if(!eh.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},rp=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},rm=e=>{let t,r=void 0!==eh.global&&null!==eh.global?eh.global:globalThis,{ReadableStream:n,TextEncoder:o}=r,{fetch:s,Request:i,Response:a}=e=eh.merge.call({skipUndefined:!0},{Request:r.Request,Response:r.Response},e),d=s?rc(s):"function"==typeof fetch,l=rc(i),c=rc(a);if(!d)return!1;let u=d&&rc(n),p=d&&("function"==typeof o?(t=new o,e=>t.encode(e)):async e=>new Uint8Array(await new i(e).arrayBuffer())),m=l&&u&&rp(()=>{let e=!1,t=new i(eZ.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),h=c&&u&&rp(()=>eh.isReadableStream(new a("").body)),f={stream:h&&(e=>e.body)};d&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{f[e]||(f[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new eO(`Response type '${e}' is not supported`,eO.ERR_NOT_SUPPORT,r)})});let g=async e=>{if(null==e)return 0;if(eh.isBlob(e))return e.size;if(eh.isSpecCompliantForm(e)){let t=new i(eZ.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return eh.isArrayBufferView(e)||eh.isArrayBuffer(e)?e.byteLength:(eh.isURLSearchParams(e)&&(e+=""),eh.isString(e))?(await p(e)).byteLength:void 0},b=async(e,t)=>{let r=eh.toFiniteNumber(e.getContentLength());return null==r?g(t):r};return async e=>{let t,{url:r,method:n,data:d,signal:c,cancelToken:p,timeout:y,onDownloadProgress:v,onUploadProgress:_,responseType:x,headers:E,withCredentials:C="same-origin",fetchOptions:w,maxContentLength:j,maxBodyLength:S}=ro(e),k=eh.isNumber(j)&&j>-1,T=eh.isNumber(S)&&S>-1,O=s||fetch;x=x?(x+"").toLowerCase():"text";let D=((e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;let r=new AbortController,n=!1,o=function(e){if(!n){n=!0,i();let t=e instanceof Error?e:this.reason;r.abort(t instanceof eO?t:new e5(t instanceof Error?t.message:t))}},s=t&&setTimeout(()=>{s=null,o(new eO(`timeout of ${t}ms exceeded`,eO.ETIMEDOUT))},t),i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}),e=null)};e.forEach(e=>{if(!n){if(e.aborted)return void o.call(e);e.addEventListener("abort",o,{once:!0})}});let{signal:a}=r;return a.unsubscribe=()=>eh.asap(i),a})([c,p&&p.toAbortSignal()],y),I=null,A=D&&D.unsubscribe&&(()=>{D.unsubscribe()}),N=null,R=()=>new eO("Request body larger than maxBodyLength limit",eO.ERR_BAD_REQUEST,e,I);try{var P,L;let s,c,p,y,B=(c="auth",eh.hasOwnProp(e,c)?e[c]:void 0);if(B){let e=eh.getSafeProp(B,"username")||"",t=eh.getSafeProp(B,"password")||"";s={username:e,password:t}}if(p=(P=r).indexOf("://"),y=P,-1!==p&&(y=y.slice(p+3)),y.includes("@")||y.includes(":")){let e=new URL(r,eZ.origin);if(!s&&(e.username||e.password)){let t=ru(e.username),r=ru(e.password);s={username:t,password:r}}(e.username||e.password)&&(e.username="",e.password="",r=e.href)}if(s){let e;E.delete("authorization"),E.set("Authorization","Basic "+btoa((e=(s.username||"")+":"+(s.password||""),encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))}if(k&&"string"==typeof r&&r.startsWith("data:")){let t;if(L=r,t="string"==typeof L?L.indexOf("#"):-1,tB(-1===t?L:L.slice(0,t),tL)>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I)}if(T&&"get"!==n&&"head"!==n){let e=await g(d);if("number"==typeof e&&isFinite(e)&&(t=e,e>S))throw R()}let M=T&&(eh.isReadableStream(d)||eh.isStream(d)),U=(e,t,r)=>rl(e,65536,e=>{if(T&&e>S)throw N=R();t&&t(e)},r);if(m&&"get"!==n&&"head"!==n&&(_||M)){if(t=null==t?await b(E,d):t,0!==t||M){let e,n=new i(r,{method:"POST",body:d,duplex:"half"});if(eh.isFormData(d)&&(e=n.headers.get("content-type"))&&E.setContentType(e),n.body){let[e,r]=_&&tT(t,tk(tO(_)))||[];d=U(n.body,e,r)}}}else if(M&&!l&&u&&"get"!==n&&"head"!==n)d=U(d);else if(M&&l&&!m&&"get"!==n&&"head"!==n)throw new eO("Stream request bodies are not supported by the current fetch implementation",eO.ERR_NOT_SUPPORT,e,I);eh.isString(C)||(C=C?"include":"omit");let F=l&&"credentials"in i.prototype;if(eh.isFormData(d)){let e=E.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&E.delete("content-type")}E.set("User-Agent","axios/"+to,!1);let K={...w,signal:D,method:n.toUpperCase(),headers:ev(E.normalize()),body:d,duplex:"half",credentials:F?C:void 0};I=l&&new i(r,K);let V=await (l?O(I,w):O(r,K)),Y=eS.from(V.headers);if(k){let t=eh.toFiniteNumber(Y.getContentLength());if(null!=t&&t>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I)}let z=h&&("stream"===x||"response"===x);if(h&&V.body&&(v||k||z&&A)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=V[e]});let r=eh.toFiniteNumber(Y.getContentLength()),[n,o]=v&&tT(r,tk(tO(v),!0))||[];V=new a(rl(V.body,65536,t=>{if(k&&t>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I);n&&n(t)},()=>{o&&o(),A&&A()}),t)}x=x||"text";let H=await f[eh.findKey(f,x)||"text"](V,e);if(k&&!h&&!z){let t;if(null!=H&&("number"==typeof H.byteLength?t=H.byteLength:"number"==typeof H.size?t=H.size:"string"==typeof H&&(t="function"==typeof o?new o().encode(H).byteLength:H.length)),"number"==typeof t&&t>j)throw new eO("maxContentLength size of "+j+" exceeded",eO.ERR_BAD_RESPONSE,e,I)}return!z&&A&&A(),await new Promise((t,r)=>{e8(t,r,{data:H,headers:eS.from(V.headers),status:V.status,statusText:V.statusText,config:e,request:I})})}catch(t){if(A&&A(),D&&D.aborted&&D.reason instanceof eO){let r=D.reason;throw r.config=e,I&&(r.request=I),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(N)throw I&&!N.request&&(N.request=I),N;if(t instanceof eO)throw I&&!t.request&&(t.request=I),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){let r=new eO("Network Error",eO.ERR_NETWORK,e,I,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw eO.from(t,t&&t.code,e,I,t&&t.response)}}},rh=new Map,rf=e=>{let t=e&&e.env||{},{fetch:r,Request:n,Response:o}=t,s=[n,o,r],i=s.length,a,d,l=rh;for(;i--;)a=s[i],void 0===(d=l.get(a))&&l.set(a,d=i?new Map:rm(t)),l=d;return d};rf();let rg={http:t9,xhr:rs,fetch:{get:rf}};eh.forEach(rg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});let rb=e=>`- ${e}`,ry=e=>eh.isFunction(e)||null===e||!1===e;var rv=function(e,t){let r,n,{length:o}=e=eh.isArray(e)?e:[e],s={};for(let i=0;i<o;i++){let o;if(n=r=e[i],!ry(r)&&void 0===(n=rg[(o=String(r)).toLowerCase()]))throw new eO(`Unknown adapter '${o}'`);if(n&&(eh.isFunction(n)||(n=n.get(t))))break;s[o||"#"+i]=n}if(!n){let e=Object.entries(s).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new eO("There is no suitable adapter to dispatch the request "+(o?e.length>1?"since :\n"+e.map(rb).join("\n"):" "+rb(e[0]):"as no adapter specified"),eO.ERR_NOT_SUPPORT)}return n};function r_(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new e5(null,e)}function rx(e){return r_(e),e.headers=eS.from(e.headers),e.data=e4.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rv(e.adapter||e3.adapter,e)(e).then(function(t){r_(e),e.response=t;try{t.data=e4.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=eS.from(t.headers),t},function(t){if(!e6(t)&&(r_(e),t&&t.response)){e.response=t.response;try{t.response.data=e4.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=eS.from(t.response.headers)}return Promise.reject(t)})}let rE={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rE[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});let rC={};rE.transitional=function(e,t,r){function n(e,t){return"[Axios v"+to+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,o,s)=>{if(!1===e)throw new eO(n(o," has been removed"+(t?" in "+t:"")),eO.ERR_DEPRECATED);return t&&!rC[o]&&(rC[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,s)}},rE.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var rw=function(e,t,r){if("object"!=typeof e||null===e)throw new eO("options must be an object",eO.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let s=n[o],i=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(i){let t=e[s],r=void 0===t||i(t,s,e);if(!0!==r)throw new eO("option "+s+" must be "+r,eO.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new eO("Unknown option "+s,eO.ERR_BAD_OPTION)}};class rj{constructor(e){this.defaults=e||{},this.interceptors={request:new eK,response:new eK}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let r=(()=>{if(!t.stack)return"";let e=t.stack.indexOf("\n");return -1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(r){let t=r.indexOf("\n"),n=-1===t?-1:r.indexOf("\n",t+1),o=-1===n?"":r.slice(n+1);String(e.stack).endsWith(o)||(e.stack+="\n"+r)}}else e.stack=r}catch(e){}}throw e}}_request(e,t){let r,n;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:o,paramsSerializer:s,headers:i}=t=rn(this.defaults,t);void 0!==o&&rw(o,{silentJSONParsing:rE.transitional(rE.boolean),forcedJSONParsing:rE.transitional(rE.boolean),clarifyTimeoutError:rE.transitional(rE.boolean),legacyInterceptorReqResOrdering:rE.transitional(rE.boolean),advertiseZstdAcceptEncoding:rE.transitional(rE.boolean),validateStatusUndefinedResolves:rE.transitional(rE.boolean)},!1),null!=s&&(eh.isFunction(s)?t.paramsSerializer={serialize:s}:rw(s,{encode:rE.function,serialize:rE.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),rw(t,{baseUrl:rE.spelling("baseURL"),withXsrfToken:rE.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&eh.merge(i.common,i[t.method]);i&&eh.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete i[e]}),t.headers=eS.concat(a,i);let d=[],l=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;l=l&&e.synchronous;let r=t.transitional||eV;r&&r.legacyInterceptorReqResOrdering?d.unshift(e.fulfilled,e.rejected):d.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let u=0;if(!l){let e=[rx.bind(this),void 0];for(e.unshift(...d),e.push(...c),n=e.length,r=Promise.resolve(t);u<n;)r=r.then(e[u++],e[u++]);return r}n=d.length;let p=t;for(;u<n;){let e=d[u++],t=d[u++];try{p=e?e(p):p}catch(e){if(!t){r=Promise.reject(e);break}try{let n=t.call(this,e);eh.isThenable(n)&&(r=Promise.resolve(n).then(()=>rx.call(this,p)))}catch(e){r=Promise.reject(e)}break}}if(!r)try{r=rx.call(this,p)}catch(e){r=Promise.reject(e)}for(u=0,n=c.length;u<n;)r=r.then(c[u++],c[u++]);return r}getUri(e){return eF(tt((e=rn(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}eh.forEach(["delete","get","head","options"],function(e){rj.prototype[e]=function(t,r){return this.request(rn(r||{},{method:e,url:t,data:r&&eh.hasOwnProp(r,"data")?r.data:void 0}))}}),eh.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,o){return this.request(rn(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}rj.prototype[e]=t(),"query"!==e&&(rj.prototype[e+"Form"]=t(!0))});let rS={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,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(rS).forEach(([e,t])=>{rS[t]=e});let rk=function e(t){let r=new rj(t),n=w(rj.prototype.request,r);return eh.extend(n,rj.prototype,r,{allOwnKeys:!0}),eh.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(rn(t,r))},n}(e3);rk.Axios=rj,rk.CanceledError=e5,rk.CancelToken=class e{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t,n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,o){r.reason||(r.reason=new e5(e,n,o),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},rk.isCancel=e6,rk.VERSION=to,rk.toFormData=eP,rk.AxiosError=eO,rk.Cancel=rk.CanceledError,rk.all=function(e){return Promise.all(e)},rk.spread=function(e){return function(t){return e.apply(null,t)}},rk.isAxiosError=function(e){return eh.isObject(e)&&!0===e.isAxiosError},rk.mergeConfig=rn,rk.AxiosHeaders=eS,rk.formToJSON=e=>e1(eh.isHTMLForm(e)?new FormData(e):e),rk.getAdapter=rv,rk.HttpStatusCode=rS,rk.default=rk,e.exports=rk},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/adapter/service-schema.js"(e,t,r){function n(e){if(!e.name||"string"!=typeof e.name)throw Error("Service definition requires a non-empty name.");return{name:e.name,actions:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(o(e))]))}(e.actions),events:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(o(e))]))}(e.events)}}function o(e){return{params:e.params,meta:e.meta,requestId:e.requestID??void 0,nodeId:e.nodeID??void 0}}r.d(t,{U:()=>n})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/member-table.js"(e,t,r){class n{constructor(){this.members=new Map}upsert(e){this.members.set(e.nodeId,e)}remove(e){let t=this.members.get(e);return this.members.delete(e),t}get(e){return this.members.get(e)}list(){return Array.from(this.members.values())}}r.d(t,{$:()=>n})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/registrar.js"(e,t,r){var n=r("node:net"),o=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/member-table.js"),s=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/net-endpoint.js"),i=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/framing.js");class a{constructor(e){this.options=e,this.members=new o.$,this.clients=new Map,this.stopped=!1,this.isRegistrar=!1,this.registryEndpoint=(0,s.rH)({namespace:e.namespace,name:"registry"}),this.members.upsert(e.localMember)}async start(){this.stopped=!1,await this.electOrJoin()}async stop(){this.stopped=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0;let e=this.registrySocket;for(let[t,r]of(this.registrySocket=void 0,e&&!e.destroyed&&((0,i.v)(e,{type:"leave",nodeId:this.options.localMember.nodeId}),e.end()),this.isRegistrar&&this.broadcast({type:"member-down",nodeId:this.options.localMember.nodeId}),this.clients.entries()))this.members.remove(t),r.end(()=>r.destroy());this.clients.clear(),await (0,s.qW)(this.server),this.server=void 0,this.isRegistrar&&(await (0,s.NT)(this.registryEndpoint),this.isRegistrar=!1)}async electOrJoin(){if(!this.stopped)try{await this.becomeRegistrar()}catch(e){if(this.stopped)return;if("EADDRINUSE"!==e.code)throw e;await this.joinRegistrar()}}async becomeRegistrar(){let e=n.createServer(e=>this.handleClient(e));if(await (0,s.KT)(e,this.registryEndpoint),this.stopped){await (0,s.qW)(e),await (0,s.NT)(this.registryEndpoint);return}this.server=e,this.registrySocket=void 0,this.isRegistrar=!0}async joinRegistrar(){try{let e=await (0,s.Ng)(this.registryEndpoint);if(this.stopped)return void e.destroy();this.registrySocket=e,this.isRegistrar=!1,this.attachRegistryReader(e),(0,i.v)(e,{type:"join",nodeId:this.options.localMember.nodeId,endpoint:this.options.localMember.endpoint})}catch(r){var e;let t;if(e=r,"ENOENT"!==(t=e?.code)&&"ECONNREFUSED"!==t&&"ECONNRESET"!==t&&"ETIMEDOUT"!==t)throw r;this.scheduleElection()}}handleClient(e){let t=t=>{let r="string"==typeof t.nodeId?t.nodeId:"";if(!r||r===this.options.localMember.nodeId)return void e.destroy();if("join"===t.type){let n="string"==typeof t.endpoint?t.endpoint.trim():"";if(!n)return void e.destroy();this.registerClient(e,{nodeId:r,endpoint:n})}else if("leave"===t.type){if(this.clients.get(r)!==e)return void e.destroy();this.unregisterClient(r)}else e.destroy()};e.on("data",d(e,t)),e.on("error",()=>e.destroy())}registerClient(e,t){let r=this.clients.get(t.nodeId);r&&r!==e&&!r.destroyed&&r.destroy(),this.members.upsert(t),this.clients.set(t.nodeId,e),(0,i.v)(e,{type:"members",members:this.members.list()}),e.once("close",()=>{this.clients.get(t.nodeId)===e&&this.unregisterClient(t.nodeId)}),this.broadcast({type:"member-up",member:t},t.nodeId),this.options.callbacks.onMemberUp(t)}unregisterClient(e){let t=this.members.remove(e),r=this.clients.get(e);this.clients.delete(e),r&&!r.destroyed&&r.destroy(),t&&(this.broadcast({type:"member-down",nodeId:e}),this.options.callbacks.onMemberDown(e))}attachRegistryReader(e){e.on("data",d(e,e=>this.handleRegistryFrame(e))),e.on("error",()=>e.destroy()),e.once("close",()=>{this.registrySocket===e&&(this.registrySocket=void 0,this.scheduleElection())})}handleRegistryFrame(e){"members"===e.type?this.options.callbacks.onMembers(e.members):"member-up"===e.type?this.options.callbacks.onMemberUp(e.member):"member-down"===e.type&&this.options.callbacks.onMemberDown(e.nodeId)}broadcast(e,t){for(let[r,n]of this.clients)r===t||n.destroyed||(0,i.v)(n,e)}scheduleElection(){this.stopped||this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.stopped||this.electOrJoin().catch(e=>{setImmediate(()=>{throw e})})},100+Math.floor(200*Math.random())),this.reconnectTimer.unref())}}function d(e,t){let r=(0,i.r)(t);return t=>{try{r(t)}catch{e.destroy()}}}r.d(t,{w:()=>a})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/index.js"(e,t,r){var n=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/service-manager.js");r.d(t,{ServiceManager:()=>n.l})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/service-manager.js"(e,t,r){var n=r("moleculer"),o=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/adapter/service-schema.js"),s=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/local-transporter.js");let{ServiceBroker:i}=n;class a{constructor(e,t={}){if(!e||"string"!=typeof e)throw Error("ServiceManager requires a non-empty namespace.");this.namespace=e,this.nodeId=t.nodeId||`dbx-${process.pid}-${Math.random().toString(36).slice(2,10)}`;let r=new s.Y;this.broker=new i({namespace:e,nodeID:this.nodeId,logger:t.logger??!1,transporter:r,requestTimeout:t.requestTimeout??0,heartbeatInterval:d(t.heartbeatInterval,10),heartbeatTimeout:d(t.heartbeatTimeout,30),registry:{strategy:"RoundRobin",preferLocal:!0,discoverer:"Local"}})}start(){return this.broker.start()}stop(){return this.broker.stop()}createService(e){return this.broker.createService((0,o.U)(e))}destroyService(e){return this.broker.destroyService(e)}call(e,t,r){return this.broker.call(e,t,r)}emit(e,t){return this.broker.emit(e,t)}broadcast(e,t){return this.broker.broadcast(e,t)}listNodes(){return this.broker.registry.getNodeList()}listServices(){return this.broker.registry.getServiceList()}}function d(e,t){return null==e?t:Math.max(1,Math.ceil(e/1e3))}r.d(t,{l:()=>a})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/framing.js"(e,t,r){function n(e,t){let r=Buffer.from(JSON.stringify(t),"utf8");if(r.length>0x4000000)throw Error(`IPC frame is too large: ${r.length} bytes.`);let n=Buffer.allocUnsafe(4);n.writeUInt32BE(r.length,0),e.write(Buffer.concat([n,r]))}function o(e){let t,r=Buffer.allocUnsafe(4),n=0,o=0,s=0;return i=>{let a=0;for(;a<i.length;){if(!t){let e=Math.min(4-n,i.length-a);if(i.copy(r,n,a,a+e),n+=e,a+=e,n<4)continue;if((s=r.readUInt32BE(0))>0x4000000)throw Error(`IPC frame exceeds max size: ${s} bytes.`);t=Buffer.allocUnsafe(s)}let d=Math.min(s-o,i.length-a);if(d>0&&(i.copy(t,o,a,a+d),o+=d,a+=d),o===s){let r=t;n=0,t=void 0,o=0,s=0,e(JSON.parse(r.toString("utf8")))}}}}r.d(t,{r:()=>o,v:()=>n})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/local-transporter.js"(e,t,r){var n=r("node:net"),o=r("moleculer"),s=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/discovery/registrar.js"),i=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/net-endpoint.js"),a=r("../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/framing.js");let d=o.Transporters.Base;class l extends d{constructor(){super(...arguments),this.endpoint="",this.disconnecting=!1,this.members=new Map,this.peers=new Map,this.connecting=new Set,this.reconnectTimers=new Map}async connect(){this.disconnecting=!1,this.endpoint=(0,i.rH)({namespace:this.broker.namespace,name:`node-${this.nodeID}`}),this.peerServer=n.createServer(e=>this.attachPeer(e,"incoming"));let e=!1;try{await (0,i.KT)(this.peerServer,this.endpoint),e=!0;let t={nodeId:this.nodeID,endpoint:this.endpoint};this.members.set(this.nodeID,t),this.registrar=new s.w({namespace:this.broker.namespace,localMember:t,callbacks:{onMembers:e=>this.handleMembers(e),onMemberUp:e=>this.handleMemberUp(e),onMemberDown:e=>this.handleMemberDown(e)}}),await this.registrar.start(),await this.onConnected(!1)}catch(t){throw await this.registrar?.stop().catch(()=>void 0),this.registrar=void 0,this.members.clear(),await this.closePeerEndpoint({unlink:e}).catch(()=>void 0),t}}async disconnect(){let e;this.disconnecting=!0,this.connected=!1;try{for(let e of this.reconnectTimers.values())clearTimeout(e);this.reconnectTimers.clear(),this.connecting.clear();let t=this.registrar;for(let r of(this.registrar=void 0,await t?.stop().catch(t=>{e??(e=t)}),this.peers.values()))r.socket.destroy();if(this.peers.clear(),this.members.clear(),await this.closePeerEndpoint().catch(t=>{e??(e=t)}),e)throw e}finally{this.disconnecting=!1}}subscribe(){return Promise.resolve()}subscribeBalancedRequest(){return Promise.resolve()}subscribeBalancedEvent(){return Promise.resolve()}send(e,t){let r,n=c(e,this.prefix);if(!n)return Promise.resolve();let o={type:"packet",topic:e,data:t.toString("base64")};if(n.targetNodeId){if(n.targetNodeId===this.nodeID)return Promise.resolve();let e=this.peers.get(n.targetNodeId);return!e||e.socket.destroyed?Promise.reject(Error(`No local IPC peer for node ${n.targetNodeId}.`)):function(e,t){try{return(0,a.v)(e.socket,t),Promise.resolve()}catch(e){return Promise.reject(e)}}(e,o)}for(let e of this.peers.values())if(!e.socket.destroyed)try{(0,a.v)(e.socket,o)}catch(e){r??(r=e)}return r?Promise.reject(r):Promise.resolve()}handleMembers(e){for(let t of e)this.handleMemberUp(t)}handleMemberUp(e){e.nodeId!==this.nodeID&&(this.members.set(e.nodeId,e),this.connectToPeer(e))}handleMemberDown(e){this.members.delete(e);let t=this.reconnectTimers.get(e);t&&clearTimeout(t),this.reconnectTimers.delete(e),this.connecting.delete(e);let r=this.peers.get(e);this.peers.delete(e),r&&!r.socket.destroyed&&r.socket.destroy()}connectToPeer(e){this.disconnecting||e.nodeId===this.nodeID||this.hasLivePeer(e.nodeId)||this.connecting.has(e.nodeId)||(this.connecting.add(e.nodeId),(0,i.Ng)(e.endpoint).then(t=>{(this.connecting.delete(e.nodeId),this.disconnecting||!this.members.has(e.nodeId))?t.destroy():this.attachPeer(t,"outgoing",e)}).catch(t=>{this.connecting.delete(e.nodeId),this.schedulePeerReconnect(e)}))}schedulePeerReconnect(e){if(this.disconnecting||!this.members.has(e.nodeId)||this.reconnectTimers.has(e.nodeId))return;let t=setTimeout(()=>{this.reconnectTimers.delete(e.nodeId),this.connectToPeer(e)},100+Math.floor(200*Math.random()));t.unref(),this.reconnectTimers.set(e.nodeId,t)}attachPeer(e,t,r){var n,o;let s,i={socket:e,direction:t,remoteNodeId:r?.nodeId,endpoint:r?.endpoint};return this.disconnecting||!this.endpoint?e.destroy():(e.on("data",(n=e,o=e=>this.handlePeerFrame(i,e),s=(0,a.r)(o),e=>{try{s(e)}catch{n.destroy()}})),e.on("error",()=>{e.destroy()}),e.once("close",()=>this.handlePeerClose(i)),(0,a.v)(e,{type:"peer-hello",nodeId:this.nodeID,endpoint:this.endpoint})),i}handlePeerFrame(e,t){if("peer-hello"===t.type)return void this.registerPeer(e,{nodeId:t.nodeId,endpoint:t.endpoint});if("packet"===t.type){let r=c(t.topic,this.prefix);if(!r)return;this.receive(r.command,Buffer.from(t.data,"base64"),e.socket)}}registerPeer(e,t){var r,n,o,s;let i;if(!t.nodeId||!t.endpoint||t.nodeId===this.nodeID||"outgoing"===e.direction&&(e.remoteNodeId&&e.remoteNodeId!==t.nodeId||e.endpoint&&e.endpoint!==t.endpoint))return void e.socket.destroy();e.remoteNodeId=t.nodeId,e.endpoint=t.endpoint,this.members.set(t.nodeId,t);let a=this.peers.get(t.nodeId);if(!a||a.socket.destroyed){this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId);return}if(r=this.nodeID,n=t.nodeId,o=a.direction,s=e.direction,i=u(r,n,o),u(r,n,s)&&!i){a.socket.destroy(),this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId);return}e.socket.destroy()}handlePeerClose(e){let t=e.remoteNodeId;if(!t)return;let r=this.members.get(t),n=this.peers.get(t);n===e&&this.peers.delete(t),r&&(!n||n===e)&&this.schedulePeerReconnect(r)}hasLivePeer(e){let t=this.peers.get(e);return!!(t&&!t.socket.destroyed)}exchangeNodeInfo(e){this.transit.discoverer?.sendLocalNodeInfo(e),this.transit.discoverNode(e)}async closePeerEndpoint(e={}){let t=this.peerServer,r=this.endpoint;this.peerServer=void 0,this.endpoint="";try{await (0,i.qW)(t)}finally{r&&!1!==e.unlink&&await (0,i.NT)(r)}}}function c(e,t){let r=`${t}.`;if(!e.startsWith(r))return;let[n,...o]=e.slice(r.length).split(".");if(n)return n.endsWith("B")?{command:n}:{command:n,targetNodeId:o.length>0?o.join("."):void 0}}function u(e,t,r){return e<t?"outgoing"===r:"incoming"===r}r.d(t,{Y:()=>l})},"../../../node_modules/.pnpm/@byted-doubao-open+dbx-service-manager@0.1.3_debug@4.4.3/node_modules/@byted-doubao-open/dbx-service-manager/dist/transport/net-endpoint.js"(e,t,r){var n=r("node:crypto"),o=r("node:fs"),s=r("node:net"),i=r("node:path"),a=r("../../../node_modules/.pnpm/xpipe@1.0.8/node_modules/xpipe/index.js");let d="dbx-sm";function l(e){let t=f(e.namespace).slice(0,12),r="registry"===e.name?"r.sock":`n-${f(e.name).slice(0,16)}.sock`,n="win32"===process.platform?`/${d}/${t}/${r}`:i.join("/tmp",`${d}-${t}`,r);return a.eq(n)}async function c(e,t){await h(t),await new Promise((r,n)=>{let o=e=>{i(),n(e)},s=()=>{i(),r()},i=()=>{e.off("error",o),e.off("listening",s)};e.once("error",o),e.once("listening",s),e.listen(t)})}function u(e,t=1e3){return new Promise((r,n)=>{let o=s.createConnection(e),i=setTimeout(()=>{l(),o.destroy();let r=Error(`IPC connect timed out after ${t}ms: ${e}`);r.code="ETIMEDOUT",n(r)},t);i.unref();let a=e=>{l(),o.destroy(),n(e)},d=()=>{l(),r(o)},l=()=>{clearTimeout(i),o.off("error",a),o.off("connect",d)};o.once("error",a),o.once("connect",d)})}async function p(e){e&&e.listening&&await new Promise((t,r)=>{e.close(e=>{e?r(e):t()})})}async function m(e){"win32"!==process.platform&&await o.promises.unlink(e).catch(e=>{if("ENOENT"!==e.code)throw e})}async function h(e){if("win32"===process.platform)return;await o.promises.mkdir(i.dirname(e),{recursive:!0});let t=await o.promises.stat(e).catch(e=>{if("ENOENT"!==e.code)throw e});if(t){var r;if(!t.isSocket())throw Error(`IPC endpoint path already exists and is not a socket: ${e}`);await (r=e,new Promise(e=>{let t=s.createConnection(r),n=setTimeout(()=>{t.destroy(),e(!1)},150);t.once("connect",()=>{clearTimeout(n),t.destroy(),e(!0)}),t.once("error",()=>{clearTimeout(n),t.destroy(),e(!1)})}))||await o.promises.unlink(e)}}function f(e){return n.createHash("sha256").update(e).digest("hex").slice(0,16)}r.d(t,{KT:()=>c,NT:()=>m,Ng:()=>u,qW:()=>p,rH:()=>l})},"../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs"(e,t,r){function n(e,t,r,n){return new(r||(r=Promise))(function(o,s){function i(e){try{d(n.next(e))}catch(e){s(e)}}function a(e){try{d(n.throw(e))}catch(e){s(e)}}function d(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(i,a)}d((n=n.apply(e,t||[])).next())})}function o(e,t){var r,n,o,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=a(0),i.throw=a(1),i.return=a(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(d){var l=[a,d];if(r)throw TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return s.label++,{value:l[1],done:!1};case 5:s.label++,n=l[1],l=[0];continue;case 7:l=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){s=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){s.label=l[1];break}if(6===l[0]&&s.label<o[1]){s.label=o[1],o=l;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(l);break}o[2]&&s.ops.pop(),s.trys.pop();continue}l=t.call(e,s)}catch(e){l=[6,e],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}var s=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function i(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||s(t,e,r)}function a(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var d=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},l=function(e){return(l=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function c(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=l(e),n=0;n<r.length;n++)"default"!==r[n]&&s(t,e,r[n]);return d(t,e),t}function u(e){return e&&e.__esModule?e:{default:e}}r.d(t,{Ju:()=>a,YH:()=>o,__awaiter:()=>n,__exportStar:()=>i,__importDefault:()=>u,__importStar:()=>c})},"../../../node_modules/.pnpm/mime-db@1.52.0/node_modules/mime-db/db.json"(e){e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"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":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"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":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"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":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"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":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"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":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"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":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"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":true},"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":false,"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":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"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":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"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":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"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":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"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":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"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":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"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":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"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":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"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":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"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":false,"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":true,"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":true},"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":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"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":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"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":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"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":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"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":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"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":true},"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":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"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":true},"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":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"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":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"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":false},"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":false},"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":false},"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":true},"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":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"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":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"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":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"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":false},"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":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"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":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"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":true},"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":true},"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":true,"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":false,"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":true,"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":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"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":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"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":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"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":false,"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":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"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":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"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":true},"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":false,"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":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"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":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"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":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"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":true,"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":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"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":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"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":true},"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":true},"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":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"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":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"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":true,"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":true},"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":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"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":true},"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":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"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":true,"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":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"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":true,"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":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"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":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"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":true,"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":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"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":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"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":true},"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":true,"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":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"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":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"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":false,"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":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"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":false},"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":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"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":true,"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":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"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":false},"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":true,"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":false,"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":false,"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":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"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":true,"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":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"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":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"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":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"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":false,"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":false,"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":false},"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":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"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":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"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":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"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":false,"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":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"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":false},"image/png":{"source":"iana","compressible":false,"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":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"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":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"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":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"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":false},"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":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"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":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"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":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"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":true},"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":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"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":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"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":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"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":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"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":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"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":true,"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":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"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":true,"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":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"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":true,"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":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"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":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"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":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"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":false,"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":true},"x-shader/x-vertex":{"compressible":true}}')}});let d=r("node:fs"),l=r("node:path");var c=r.n(l);let u={getInfo:"dev.getInfo",openWebDebugger:"dev.openWebDebugger",discoverWidgets:"dev.discoverWidgets",discoverPages:"dev.discoverPages",getRuntimeInspectionTarget:"dev.getRuntimeInspectionTarget",setRuntimeInspectionTarget:"dev.setRuntimeInspectionTarget",openPage:"dev.openPage",openPageUrl:"dev.openPageUrl",pushWidget:"dev.pushWidget",setConnectionTransport:"dev.setConnectionTransport",awaitDirectDebugReady:"dev.awaitDirectDebugReady",awaitDirectDebugClient:"dev.awaitDirectDebugClient",awaitDeviceInstallResult:"dev.awaitDeviceInstallResult",stop:"dev.stop"},p={runtimeInspectionTargetChanged:"dev.runtimeInspectionTargetChanged"};function m(e){return`dbx-dev:${h(e)}`}function h(e){let t=l.resolve(e);try{return d.realpathSync.native(t)}catch{return t}}let f=r("../../../node_modules/.pnpm/@byted-doubao-tools+devtool-connection-core@0.1.0-beta.12_debug@4.4.3_react@19.2.7/node_modules/@byted-doubao-tools/devtool-connection-core/dist/lib/index.js"),g=r("../../../node_modules/.pnpm/@lynx-js+debug-router-connector@0.0.13/node_modules/@lynx-js/debug-router-connector/dist/cjs/src/index.js"),b=new WeakMap;function y(e){return!!e&&"object"==typeof e}function v(e,t){let r=e.getConnectedClients().find(e=>e.device.clientId===t.clientId),n=r?.sessions.find(e=>e.sessionId===t.sessionId&&"lynx"===e.type&&Number.isSafeInteger(e.sessionId)&&e.sessionId>0);if(r&&n)return{clientId:r.device.clientId,sessionId:n.sessionId,url:n.url}}function _(e,t){let r=Number(e);if(!Number.isSafeInteger(r)||r<=0)throw Error(`${t} must be a positive safe integer`);return r}async function x(e,t,r){let n=T(t),o=await j(e,r.deviceId);return w(e,{clientId:o,method:"Applet_OpenPage",params:{appletName:n,appletPageName:r.pageId,...void 0!==r.pageData?{appletPageData:r.pageData}:{},...void 0!==r.pageSettings?{appletPageSettings:r.pageSettings}:{},...void 0!==r.mode?{mode:r.mode}:{}}})}async function E(e,t,r){let n=T(t),o=await j(e,r.deviceId);return w(e,{clientId:o,method:"Applet_OpenPageUrl",params:{appletName:n,url:r.url}})}async function C(e,t,r){let n=T(t),o=await j(e,r.deviceId);return w(e,{clientId:o,method:"Applet_OpenWidget",params:{appletName:n,widgetName:r.widgetId,...void 0!==r.widgetData?{widgetData:r.widgetData}:{},botId:r.botId??"7626957768951480347"}})}async function w(e,t){var r,n,o;let s=await e.sendMessageToApp({method:t.method,params:t.params,...void 0===t.clientId?{}:{clientId:t.clientId},messageType:"CDP",sessionId:-1});if(!s.success){throw Error([(r=s).reason,r.apps?.length?`apps=${r.apps.join(",")}`:"",r.clients?.length?`clients=${r.clients.map(e=>`${e.clientId}:${e.info.App}`).join(",")}`:""].filter(Boolean).join("; "))}let i=function(e){if(!e||"object"!=typeof e)return;let t=e.error;if(t&&"object"==typeof t)return t}(s.data);if(i){let e,r;throw Error((n=t.method,e=void 0===(o=i).code?"unknown":String(o.code),r=void 0===o.message?"unknown error":String(o.message),`${n} failed: ${r} (code=${e})`))}return s}async function j(e,t){if(!t)return;let r=t.trim();await S(e,e=>k(e,r),r);let n=e.getConnectedClients().filter(e=>k(e,r));if(1===n.length)return n[0].device.clientId;if(n.length>1)throw Error(`multiple connection clients matched deviceId "${t}"`);throw Error(`connection client not found for deviceId "${t}"`)}async function S(e,t,r){let n=Date.now()+3e4;for(;;){if(e.getConnectedClients().some(t))return;if(Date.now()>=n)throw Error(`connection client not found for deviceId "${r}"`);await O(100)}}function k(e,t){let r=t.trim();return[String(e.device.clientId),e.device.xdbId,e.device.info.usbDeviceId,e.device.info.did,e.device.info.debugRouterId].some(e=>e===r)}function T(e){let t=e.getAppId();if(!t)throw Error("dev appId is not ready");return t}function O(e){return new Promise(t=>{setTimeout(t,e)})}function D(e){return{params:e.params,meta:e.meta,requestId:e.requestID??void 0,nodeId:e.nodeID??void 0}}class I{constructor(){this.members=new Map}upsert(e){this.members.set(e.nodeId,e)}remove(e){let t=this.members.get(e);return this.members.delete(e),t}get(e){return this.members.get(e)}list(){return Array.from(this.members.values())}}let A=r("node:crypto"),N=r("node:net"),R=r("../../../node_modules/.pnpm/xpipe@1.0.8/node_modules/xpipe/index.js"),P="dbx-sm";function L(e){let t=V(e.namespace).slice(0,12),r="registry"===e.name?"r.sock":`n-${V(e.name).slice(0,16)}.sock`,n="win32"===process.platform?`/${P}/${t}/${r}`:l.join("/tmp",`${P}-${t}`,r);return R.eq(n)}async function B(e,t){await K(t),await new Promise((r,n)=>{let o=e=>{i(),n(e)},s=()=>{i(),r()},i=()=>{e.off("error",o),e.off("listening",s)};e.once("error",o),e.once("listening",s),e.listen(t)})}function M(e,t=1e3){return new Promise((r,n)=>{let o=N.createConnection(e),s=setTimeout(()=>{d(),o.destroy();let r=Error(`IPC connect timed out after ${t}ms: ${e}`);r.code="ETIMEDOUT",n(r)},t);s.unref();let i=e=>{d(),o.destroy(),n(e)},a=()=>{d(),r(o)},d=()=>{clearTimeout(s),o.off("error",i),o.off("connect",a)};o.once("error",i),o.once("connect",a)})}async function U(e){e&&e.listening&&await new Promise((t,r)=>{e.close(e=>{e?r(e):t()})})}async function F(e){"win32"!==process.platform&&await d.promises.unlink(e).catch(e=>{if("ENOENT"!==e.code)throw e})}async function K(e){if("win32"===process.platform)return;await d.promises.mkdir(l.dirname(e),{recursive:!0});let t=await d.promises.stat(e).catch(e=>{if("ENOENT"!==e.code)throw e});if(t){var r;if(!t.isSocket())throw Error(`IPC endpoint path already exists and is not a socket: ${e}`);await (r=e,new Promise(e=>{let t=N.createConnection(r),n=setTimeout(()=>{t.destroy(),e(!1)},150);t.once("connect",()=>{clearTimeout(n),t.destroy(),e(!0)}),t.once("error",()=>{clearTimeout(n),t.destroy(),e(!1)})}))||await d.promises.unlink(e)}}function V(e){return A.createHash("sha256").update(e).digest("hex").slice(0,16)}function Y(e,t){let r=Buffer.from(JSON.stringify(t),"utf8");if(r.length>0x4000000)throw Error(`IPC frame is too large: ${r.length} bytes.`);let n=Buffer.allocUnsafe(4);n.writeUInt32BE(r.length,0),e.write(Buffer.concat([n,r]))}function z(e){let t,r=Buffer.allocUnsafe(4),n=0,o=0,s=0;return i=>{let a=0;for(;a<i.length;){if(!t){let e=Math.min(4-n,i.length-a);if(i.copy(r,n,a,a+e),n+=e,a+=e,n<4)continue;if((s=r.readUInt32BE(0))>0x4000000)throw Error(`IPC frame exceeds max size: ${s} bytes.`);t=Buffer.allocUnsafe(s)}let d=Math.min(s-o,i.length-a);if(d>0&&(i.copy(t,o,a,a+d),o+=d,a+=d),o===s){let r=t;n=0,t=void 0,o=0,s=0,e(JSON.parse(r.toString("utf8")))}}}}class H{constructor(e){this.options=e,this.members=new I,this.clients=new Map,this.stopped=!1,this.isRegistrar=!1,this.registryEndpoint=L({namespace:e.namespace,name:"registry"}),this.members.upsert(e.localMember)}async start(){this.stopped=!1,await this.electOrJoin()}async stop(){this.stopped=!0,this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.reconnectTimer=void 0;let e=this.registrySocket;for(let[t,r]of(this.registrySocket=void 0,e&&!e.destroyed&&(Y(e,{type:"leave",nodeId:this.options.localMember.nodeId}),e.end()),this.isRegistrar&&this.broadcast({type:"member-down",nodeId:this.options.localMember.nodeId}),this.clients.entries()))this.members.remove(t),r.end(()=>r.destroy());this.clients.clear(),await U(this.server),this.server=void 0,this.isRegistrar&&(await F(this.registryEndpoint),this.isRegistrar=!1)}async electOrJoin(){if(!this.stopped)try{await this.becomeRegistrar()}catch(e){if(this.stopped)return;if("EADDRINUSE"!==e.code)throw e;await this.joinRegistrar()}}async becomeRegistrar(){let e=N.createServer(e=>this.handleClient(e));if(await B(e,this.registryEndpoint),this.stopped){await U(e),await F(this.registryEndpoint);return}this.server=e,this.registrySocket=void 0,this.isRegistrar=!0}async joinRegistrar(){try{let e=await M(this.registryEndpoint);if(this.stopped)return void e.destroy();this.registrySocket=e,this.isRegistrar=!1,this.attachRegistryReader(e),Y(e,{type:"join",nodeId:this.options.localMember.nodeId,endpoint:this.options.localMember.endpoint})}catch(r){var e;let t;if(e=r,"ENOENT"!==(t=e?.code)&&"ECONNREFUSED"!==t&&"ECONNRESET"!==t&&"ETIMEDOUT"!==t)throw r;this.scheduleElection()}}handleClient(e){let t=t=>{let r="string"==typeof t.nodeId?t.nodeId:"";if(!r||r===this.options.localMember.nodeId)return void e.destroy();if("join"===t.type){let n="string"==typeof t.endpoint?t.endpoint.trim():"";if(!n)return void e.destroy();this.registerClient(e,{nodeId:r,endpoint:n})}else if("leave"===t.type){if(this.clients.get(r)!==e)return void e.destroy();this.unregisterClient(r)}else e.destroy()};e.on("data",$(e,t)),e.on("error",()=>e.destroy())}registerClient(e,t){let r=this.clients.get(t.nodeId);r&&r!==e&&!r.destroyed&&r.destroy(),this.members.upsert(t),this.clients.set(t.nodeId,e),Y(e,{type:"members",members:this.members.list()}),e.once("close",()=>{this.clients.get(t.nodeId)===e&&this.unregisterClient(t.nodeId)}),this.broadcast({type:"member-up",member:t},t.nodeId),this.options.callbacks.onMemberUp(t)}unregisterClient(e){let t=this.members.remove(e),r=this.clients.get(e);this.clients.delete(e),r&&!r.destroyed&&r.destroy(),t&&(this.broadcast({type:"member-down",nodeId:e}),this.options.callbacks.onMemberDown(e))}attachRegistryReader(e){e.on("data",$(e,e=>this.handleRegistryFrame(e))),e.on("error",()=>e.destroy()),e.once("close",()=>{this.registrySocket===e&&(this.registrySocket=void 0,this.scheduleElection())})}handleRegistryFrame(e){"members"===e.type?this.options.callbacks.onMembers(e.members):"member-up"===e.type?this.options.callbacks.onMemberUp(e.member):"member-down"===e.type&&this.options.callbacks.onMemberDown(e.nodeId)}broadcast(e,t){for(let[r,n]of this.clients)r===t||n.destroyed||Y(n,e)}scheduleElection(){this.stopped||this.reconnectTimer||(this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=void 0,this.stopped||this.electOrJoin().catch(e=>{setImmediate(()=>{throw e})})},100+Math.floor(200*Math.random())),this.reconnectTimer.unref())}}function $(e,t){let r=z(t);return t=>{try{r(t)}catch{e.destroy()}}}let q=r("moleculer"),W=q.Transporters.Base;class G extends W{constructor(){super(...arguments),this.endpoint="",this.disconnecting=!1,this.members=new Map,this.peers=new Map,this.connecting=new Set,this.reconnectTimers=new Map,this.nodeInfoExchangeTimers=new Map}async connect(){this.disconnecting=!1,this.endpoint=L({namespace:this.broker.namespace,name:`node-${this.nodeID}`}),this.peerServer=N.createServer(e=>this.attachPeer(e,"incoming"));let e=!1;try{await B(this.peerServer,this.endpoint),e=!0;let t={nodeId:this.nodeID,endpoint:this.endpoint};for(let e of(this.members.set(this.nodeID,t),this.registrar=new H({namespace:this.broker.namespace,localMember:t,callbacks:{onMembers:e=>this.handleMembers(e),onMemberUp:e=>this.handleMemberUp(e),onMemberDown:e=>this.handleMemberDown(e)}}),await this.registrar.start(),await this.onConnected(!1),this.peers.keys()))this.exchangeNodeInfo(e),this.scheduleNodeInfoExchange(e)}catch(t){throw await this.registrar?.stop().catch(()=>void 0),this.registrar=void 0,this.members.clear(),await this.closePeerEndpoint({unlink:e}).catch(()=>void 0),t}}async disconnect(){let e;this.disconnecting=!0,this.connected=!1;try{for(let e of this.reconnectTimers.values())clearTimeout(e);for(let e of(this.reconnectTimers.clear(),this.nodeInfoExchangeTimers.values()))clearTimeout(e);this.nodeInfoExchangeTimers.clear(),this.connecting.clear();let t=this.registrar;for(let r of(this.registrar=void 0,await t?.stop().catch(t=>{e??(e=t)}),this.peers.values()))r.socket.destroy();if(this.peers.clear(),this.members.clear(),await this.closePeerEndpoint().catch(t=>{e??(e=t)}),e)throw e}finally{this.disconnecting=!1}}subscribe(){return Promise.resolve()}subscribeBalancedRequest(){return Promise.resolve()}subscribeBalancedEvent(){return Promise.resolve()}send(e,t){let r,n=X(e,this.prefix);if(!n)return Promise.resolve();let o={type:"packet",topic:e,data:t.toString("base64")};if(n.targetNodeId){if(n.targetNodeId===this.nodeID)return Promise.resolve();let e=this.peers.get(n.targetNodeId);return!e||e.socket.destroyed?Promise.reject(Error(`No local IPC peer for node ${n.targetNodeId}.`)):function(e,t){try{return Y(e.socket,t),Promise.resolve()}catch(e){return Promise.reject(e)}}(e,o)}for(let e of this.peers.values())if(!e.socket.destroyed)try{Y(e.socket,o)}catch(e){r??(r=e)}return r?Promise.reject(r):Promise.resolve()}handleMembers(e){for(let t of e)this.handleMemberUp(t)}handleMemberUp(e){e.nodeId!==this.nodeID&&(this.members.set(e.nodeId,e),this.connectToPeer(e))}handleMemberDown(e){this.members.delete(e);let t=this.reconnectTimers.get(e);t&&clearTimeout(t),this.reconnectTimers.delete(e);let r=this.nodeInfoExchangeTimers.get(e);r&&clearTimeout(r),this.nodeInfoExchangeTimers.delete(e),this.connecting.delete(e);let n=this.peers.get(e);this.peers.delete(e),n&&!n.socket.destroyed&&n.socket.destroy()}connectToPeer(e){this.disconnecting||e.nodeId===this.nodeID||this.hasLivePeer(e.nodeId)||this.connecting.has(e.nodeId)||(this.connecting.add(e.nodeId),M(e.endpoint).then(t=>{(this.connecting.delete(e.nodeId),this.disconnecting||!this.members.has(e.nodeId))?t.destroy():this.attachPeer(t,"outgoing",e)}).catch(t=>{this.connecting.delete(e.nodeId),this.schedulePeerReconnect(e)}))}schedulePeerReconnect(e){if(this.disconnecting||!this.members.has(e.nodeId)||this.reconnectTimers.has(e.nodeId))return;let t=setTimeout(()=>{this.reconnectTimers.delete(e.nodeId),this.connectToPeer(e)},100+Math.floor(200*Math.random()));t.unref(),this.reconnectTimers.set(e.nodeId,t)}attachPeer(e,t,r){var n;let o,s={socket:e,direction:t,remoteNodeId:r?.nodeId,endpoint:r?.endpoint};return this.disconnecting||!this.endpoint?e.destroy():(e.on("data",(n=e,o=z(e=>this.handlePeerFrame(s,e)),e=>{try{o(e)}catch{n.destroy()}})),e.on("error",()=>{e.destroy()}),e.once("close",()=>this.handlePeerClose(s)),Y(e,{type:"peer-hello",nodeId:this.nodeID,endpoint:this.endpoint})),s}handlePeerFrame(e,t){if("peer-hello"===t.type)return void this.registerPeer(e,{nodeId:t.nodeId,endpoint:t.endpoint});if("packet"===t.type){let r=X(t.topic,this.prefix);if(!r)return;this.receive(r.command,Buffer.from(t.data,"base64"),e.socket)}}registerPeer(e,t){var r,n,o,s;let i;if(!t.nodeId||!t.endpoint||t.nodeId===this.nodeID||"outgoing"===e.direction&&(e.remoteNodeId&&e.remoteNodeId!==t.nodeId||e.endpoint&&e.endpoint!==t.endpoint))return void e.socket.destroy();e.remoteNodeId=t.nodeId,e.endpoint=t.endpoint,this.members.set(t.nodeId,t);let a=this.peers.get(t.nodeId);if(!a||a.socket.destroyed){this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId),this.scheduleNodeInfoExchange(t.nodeId);return}if(r=this.nodeID,n=t.nodeId,o=a.direction,s=e.direction,i=Q(r,n,o),Q(r,n,s)&&!i){a.socket.destroy(),this.peers.set(t.nodeId,e),this.exchangeNodeInfo(t.nodeId),this.scheduleNodeInfoExchange(t.nodeId);return}e.socket.destroy()}handlePeerClose(e){let t=e.remoteNodeId;if(!t)return;let r=this.members.get(t),n=this.peers.get(t);n===e&&this.peers.delete(t),r&&(!n||n===e)&&this.schedulePeerReconnect(r)}hasLivePeer(e){let t=this.peers.get(e);return!!(t&&!t.socket.destroyed)}exchangeNodeInfo(e){let t=[{name:"sendLocalNodeInfo",result:this.transit.discoverer?.sendLocalNodeInfo(e)},{name:"discoverNode",result:this.transit.discoverNode(e)}];Promise.allSettled(t.map(({result:e})=>e)).then(r=>{r.forEach((r,n)=>{"rejected"===r.status&&this.logger.debug(`Local transporter ${t[n].name} failed for node '${e}'.`,r.reason)})})}scheduleNodeInfoExchange(e){let t=this.nodeInfoExchangeTimers.get(e);t&&clearTimeout(t);let r=setTimeout(()=>{this.nodeInfoExchangeTimers.delete(e),!this.disconnecting&&this.hasLivePeer(e)&&this.exchangeNodeInfo(e)},100);r.unref(),this.nodeInfoExchangeTimers.set(e,r)}async closePeerEndpoint(e={}){let t=this.peerServer,r=this.endpoint;this.peerServer=void 0,this.endpoint="";try{await U(t)}finally{r&&!1!==e.unlink&&await F(r)}}}function X(e,t){let r=`${t}.`;if(!e.startsWith(r))return;let[n,...o]=e.slice(r.length).split(".");if(n)return n.endsWith("B")?{command:n}:{command:n,targetNodeId:o.length>0?o.join("."):void 0}}function Q(e,t,r){return e<t?"outgoing"===r:"incoming"===r}let{ServiceBroker:J}=q;class Z{constructor(e,t={}){if(!e||"string"!=typeof e)throw Error("ServiceManager requires a non-empty namespace.");this.namespace=e,this.nodeId=t.nodeId||`dbx-${process.pid}-${Math.random().toString(36).slice(2,10)}`;let r=new G;this.broker=new J({namespace:e,nodeID:this.nodeId,logger:t.logger??!1,transporter:r,requestTimeout:t.requestTimeout??0,heartbeatInterval:ee(t.heartbeatInterval,10),heartbeatTimeout:ee(t.heartbeatTimeout,30),registry:{strategy:"RoundRobin",preferLocal:!0,discoverer:"Local"}})}start(){return this.broker.start()}stop(){return this.broker.stop()}createService(e){return this.broker.createService(function(e){if(!e.name||"string"!=typeof e.name)throw Error("Service definition requires a non-empty name.");return{name:e.name,actions:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(D(e))]))}(e.actions),events:function(e){if(e)return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,e=>t(D(e))]))}(e.events)}}(e))}destroyService(e){return this.broker.destroyService(e)}call(e,t,r){return this.broker.call(e,t,r)}emit(e,t){return this.broker.emit(e,t)}broadcast(e,t){return this.broker.broadcast(e,t)}listNodes(){return this.broker.registry.getNodeList()}listServices(){return this.broker.registry.getServiceList()}}function ee(e,t){return null==e?t:Math.max(1,Math.ceil(e/1e3))}let et=new Map;function er(e){return e.replace(/\bBearer\s+[A-Za-z0-9._~+/=-]+/gi,"Bearer <redacted>").replace(/(\b(?:[\w-]*token|api[_-]?key|authorization|password|secret|cookie)["']?\s*[=:]\s*)(?:"[^"]*"|'[^']*'|[^\s&;,}]+)/gi,"$1<redacted>").replace(/(\b[a-z][a-z0-9+.-]*:\/\/)[^/\s@]+@/gi,"$1<redacted>@")}async function en(e){let{DoubaoAppsSDK:t}=await import("./sdk~1.js"),r=new t(e);return{async dev(e){let t=await r.dev(e),n=!0===Reflect.get(t,"devServerReady");if(e?.host!==void 0&&!n)throw await t.closeServer(),Error("This CLI bundles a Kit version that does not support --host. Upgrade the CLI to a version with SDK host selection support.");let o=t.webDebugger;return{host:t.host,devServerReady:n,webDebuggerUrl:o?.url,..."function"==typeof o?.open?{openWebDebugger:o.open.bind(o)}:{},..."function"==typeof o?.setRealDeviceDebugProvider?{setRealDeviceDebugProvider:o.setRealDeviceDebugProvider.bind(o)}:{},closeServer:t.closeServer}},discoverWidgets:()=>r.discoverWidgets(),discoverPages:()=>r.discoverPages(),getAppId:()=>(function(e){let t=Reflect.get(e,"launcher");if(!eo(t))return;let r=t.context;if(!eo(r))return;let n=r.metadata,o=(eo(n)?n.appId:void 0)??r.appId;return"string"==typeof o&&o.length>0?o:void 0})(r)}}function eo(e){return"object"==typeof e&&null!==e}function es(e){return new Promise(t=>{setTimeout(t,e)})}let ei=r("node:http"),ea=r("node:os"),ed=r("node:stream"),el="/base/manifest.json";async function ec(r,n={}){let o,s,i,a,c,u,h,w,j,S,k,T,D,I,A,N,{request:R}=r,P={projectPath:R.projectPath,appDir:R.appDir,namespace:m(R.appDir),status:"starting",created_at:R.created_at,updated_at:Date.now()},L=P.namespace,B=!0===n.verbose?em:()=>void 0;B("boot",{namespace:L,appDir:R.appDir});let M=e=>(P={...P,...e,updated_at:Date.now()},(e.status&&"stopping"!==e.status||e.error)&&B("state",{status:P.status,error:P.error}),P);M({});let U=()=>c=function(e){let t=l.resolve(e),r=et.get(t);if(r)return r;let n=function(e){let t,r,n=!1,o=!1,s=!1,i=e=>{try{process.stderr.write(`[dev] ${e}
22
+ `)}catch{}},a=r=>{n||(n=!0,i(`日志文件不可用:${e};${er(String(r))}`),t?.destroy())};try{d.mkdirSync(l.dirname(e),{recursive:!0}),function(e){try{if(d.statSync(e).size<0xa00000)return}catch(e){if("ENOENT"===e.code)return;throw e}d.rmSync(`${e}.3`,{force:!0});for(let t=2;t>=0;t-=1){let r=0===t?e:`${e}.${t}`;try{d.renameSync(r,`${e}.${t+1}`)}catch(e){if("ENOENT"!==e.code)throw e}}}(e),(t=d.createWriteStream(e,{flags:"a"})).on("error",a),t.once("open",()=>i(`日志文件:${e}`))}catch(e){a(e)}let c=(e,r,d)=>{if(s)return;let l=function(e,t,r){let n="";if(r)try{n=` ${JSON.stringify(r,(e,t)=>/^(?:.*token|api[_-]?key|authorization|password|secret|cookie)$/i.test(e)?"<redacted>":t instanceof Error?{name:t.name,message:t.message,stack:t.stack}:"string"==typeof t?er(t):t)}`}catch{n=' {"details":"<unserializable>"}'}let o=`${new Date().toISOString()} ${e} ${er(t).replace(/[\r\n]/g," ")}${n}`;if(Buffer.byteLength(o)+1<=16384)return`${o}
23
+ `;let s="... <truncated>\n",i=Buffer.from(o),a=16384-Buffer.byteLength(s);for(;(192&i[a])==128;)a-=1;return`${i.subarray(0,a).toString("utf8")}${s}`}(e,r,d);if(t&&!n){if(t.writableLength+Buffer.byteLength(l)>1048576){o||(o=!0,i("日志写入积压,已丢弃部分记录;缓冲下降后自动恢复。"));return}try{t.write(l)}catch(e){a(e)}}};return{info:(e,t)=>c("INFO",e,t),warn:(e,t)=>c("WARN",e,t),error:(e,t)=>c("ERROR",e,t),close:()=>r||(s=!0,r=new Promise(e=>{if(!t||n||t.closed)return void e();let r=t,o=setTimeout(()=>{i("日志关闭等待超时,未写完的记录可能丢失。"),r.destroy(),e()},1e3),s=()=>{clearTimeout(o),r.off("close",s),r.off("error",s),e()};r.once("close",s),r.once("error",s);try{r.end()}catch(e){a(e),s()}}))}}(t),o={info:n.info,warn:n.warn,error:n.error,close:async()=>{et.delete(t),await n.close()}};return et.set(t,o),o}(l.join(R.projectPath,"node_modules",".doubao-dev","device.log")),F=async()=>{S&&(T??(T=S()),await T)},K=!1,V=!1,Y=new Promise(e=>{I=e}),z=(e,t)=>(t&&e.then(async e=>{K&&(await D,await t(e))}).catch(()=>void 0),Promise.race([e,Y.then(()=>{throw Error("dev runtime is stopping")})])),H=new Promise(e=>{A=e}),$=setInterval(()=>void 0,6e4);$.ref();let q=(o=Object.getOwnPropertyDescriptor(process,"stdin"),s=new ed.PassThrough,i=!1,a=!1,Object.defineProperty(process,"stdin",{configurable:!0,enumerable:o?.enumerable??!0,value:s}),{restoreProcessStdin(){!i&&(i=!0,o&&Object.defineProperty(process,"stdin",o))},destroy(){a||(a=!0,s.destroy())}}),W=()=>{V||(V=!0,clearInterval($),q.restoreProcessStdin(),q.destroy(),process.off("SIGINT",Q),process.off("SIGTERM",Q),n.signal?.removeEventListener("abort",J))},G=async()=>{if(B("teardown.begin",{hasConnectionServer:!!h,hasManager:!!u}),await ep("real-device-debug",n.realDeviceDebug?.dispose?async()=>n.realDeviceDebug?.dispose?.():void 0,B),k){try{k(void 0)}catch{}k=void 0}j&&(j(),j=void 0),await ep("connection",h?.stop.bind(h),B),u&&w&&await u.destroyService(w).catch(()=>void 0),u&&await u.stop().catch(()=>void 0),await ep("sdk",F,B),B("teardown.done")};function X(){return D||(K=!0,I(),D=(async()=>{N?M({status:"failed",error:N.message}):M({status:"stopping"});try{await G(),N||M({status:"stopped"})}catch(e){M({status:"failed",error:eE(e)})}finally{W(),await c?.close(),A(P)}return P})())}function Q(){X()}function J(){X()}!1!==n.installSignalHandlers&&(process.once("SIGINT",Q),process.once("SIGTERM",Q)),n.signal?.aborted?X():n.signal?.addEventListener("abort",J,{once:!0});try{var ee;let r=await (ee=R.appDir,t?t(ee):en(ee));eu(K);let o=function(t={}){return e?e():(g.defaultLogger.setLevel(t.verbose?"info":"silent"),(0,f.createDevtoolConnectionService)())}({verbose:n.verbose}),s=new Set,i=new Map;B("connection.service.created");let a=n.devOptions??R.devOptions,d=a?.compileHooks?.onDevCompileFailed,l={debugDriver:"devtools",...a,compileHooks:{...a?.compileHooks,onDevCompileFailed(e){if(!K)try{d?.(e)}finally{process.exitCode=1,N=e,X()}}}},c=r.dev(l).then(e=>(S=e.closeServer,K&&ep("sdk",F,B),e)),m=await z(c);if(q.restoreProcessStdin(),eu(K),k=m.setRealDeviceDebugProvider,n.realDeviceDebug&&k)try{k(n.realDeviceDebug.provider),B("real-device-debug.registered")}catch{try{k(void 0)}catch{}k=void 0,process.stderr.write("[dev] Web 真机调试入口注册失败,终端 desktop/qr 仍可使用。\n")}eu(K),B("sdk.dev.ready",{host:m.host,webDebuggerUrl:m.webDebuggerUrl});let T=await z(e_(r));eu(K);let D=m.devServerReady?m.host:await z(eh(m.host,T));eu(K);let I=D;j=function(e,t,r,n=new Set,o=new Map,s){var i,a;let d;s&&b.set(o,s);let l=e.subscribeMessage(i=>{var a,d,l,c;let u=s?.(),p=function(e){if("Applet_InstallResult"!==e.messageType||"number"!=typeof e.clientId)return;let t=y(e.raw)?e.raw:void 0,r=t&&y(t.data)?t.data:void 0,n=r&&y(r.data)?r.data:void 0,o=n?.message;if("string"==typeof o)try{let e=JSON.parse(o);if(!y(e)||"string"!=typeof e.packageName||!e.packageName||"boolean"!=typeof e.success||"string"!=typeof e.message)return;return{packageName:e.packageName,success:e.success,message:e.message}}catch{return}}(i);if(a=u,d=i,l=p,"Applet_InstallResult"===d.messageType&&(l?a?.[l.success?"info":"error"](l.success?"App installation succeeded":"App installation failed",{clientId:d.clientId,packageName:l.packageName,success:l.success,message:l.success?void 0:l.message}):a?.warn("Invalid app installation result",{clientId:d.clientId})),p&&p.packageName===t.getAppId()&&o.set(i.clientId,p),c=i,"Applet_GetDebugContext"!==c.messageType||"Applet_GetDebugContext"!==c.method||"number"!=typeof c.clientId)return;u?.info("Debug context requested",{clientId:i.clientId,sessionId:i.sessionId});let m=function(e,t,r){let n=y(e.params)?e.params:{},o=n.request_id,s=(e,t)=>({version:1,request_id:o,success:!1,error_code:e,message:t});if(1!==n.version)return s("INVALID_VERSION","version must be 1");let i=t.getAppId();return i?{version:1,request_id:o,success:!0,debug_context:{appletName:i,appletHost:r,appletType:0,isSigned:!1,isEncrypted:!1,defaultDebugTagState:!0}}:s("APP_ID_NOT_READY","dev appId is not ready")}(i,t,r());e.sendMessageToApp({clientId:i.clientId,messageType:"CDP",method:"Applet_GetContextResult",params:m,sessionId:-1}).then(e=>{var t,r,o,s;t=u,r=i.clientId,o=m,s=e,t?.[s.success&&!0===o.success?"info":"warn"]("Debug context response sent",{clientId:r,sendSuccess:s.success,responseSuccess:!0===o.success}),e.success&&!0===m.success&&n.add(i.clientId)}).catch(e=>{u?.error("Failed to send debug context",{clientId:i.clientId,error:e})})}),c=e.subscribe(e=>{let t=new Set(e.deviceList.map(e=>e.clientId));for(let e of n)t.has(e)||n.delete(e);var r=s?.();for(let[e,n]of o)t.has(e)||(o.delete(e),r?.info("App installation result cache cleared",{reason:"client_disconnected",clientId:e,packageName:n.packageName,success:n.success}))}),u=s?(i=e,a=s,i.subscribe(e=>{let t=a();if(!t)return;let r={phase:e.phase,transport:e.transport,clientIds:e.deviceList.map(e=>e.clientId).sort((e,t)=>e-t),reconnectAttempts:e.reconnectAttemptCount,reconnectExhausted:e.reconnectExhausted,error:e.lastError},n=JSON.stringify(r);n!==d&&(t["error"===e.phase?"error":"info"]("Device connection state changed",r),d=n)})):void 0;return()=>{l(),c(),u?.(),b.delete(o)}}(o,r,()=>I,s,i,U),B("connection.messageListener.registered");let A=new Z(L,{nodeId:`dev-${process.pid}`,requestTimeout:3e4});u=A;let V=(0,f.createDevtoolConnectionIpcServer)({namespace:L,service:o});h=V,B("connection.ipc.created",{namespace:L});let Y=async(e,t,r)=>{let n,i=U();i.info("Device connection starting",{type:e}),B("connection.startConnectServer.begin",{type:e});let a=I;I=t??D,s.clear();try{n=await o.startConnectServer({type:e,...r?{deviceTarget:r}:{}}),eu(K)}catch(t){throw I=a,i.error("Device connection failed",{transport:e,error:t}),t}i.info("Device connection started",{type:n.type}),B("connection.startConnectServer.done",{type:n.type,connectionUrl:n.connectionUrl}),M({wifiConnectUrl:"wifi"===n.type?n.connectionUrl:void 0,error:void 0})};w=A.createService(function(e){let t,{connection:r,sdk:n}=e,o=()=>{let e=r.getWebSocketServerUrl();return e?.type==="wifi"?e.connectionUrl:void 0},s=e.directDebugReady??new Set,i=e.deviceInstallResults??new Map,a=b.get(i),d=async e=>{try{return{ok:!0,result:await e()}}catch(e){var t;return{ok:!1,error:(t=e)instanceof Error?t.message:String(t)}}};return{name:"dev",actions:{getInfo(){let t=o();return{appId:n.getAppId(),host:e.devServerHost,webDebuggerUrl:e.webDebuggerUrl,...t?{wifiConnectUrl:t}:{},status:e.getStatus()}},async openWebDebugger(){if(!e.openWebDebugger||!e.webDebuggerUrl)throw Error("web debugger is not ready");return await e.openWebDebugger(),e.webDebuggerUrl},discoverWidgets:()=>n.discoverWidgets(),discoverPages:()=>n.discoverPages(),getRuntimeInspectionTarget(){if(!t)return null;let e=v(r,t);return t=e,e??null},async setRuntimeInspectionTarget(n){let o=function(e,t){let r=_(t.clientId,"clientId"),n=_(t.sessionId,"sessionId"),o=v(e,{clientId:r,sessionId:n});if(!o)throw Error(`runtime inspection target is not active: client ${r}, session ${n}`);return o}(r,n.params??{}),s=t,i=!s||s.clientId!==o.clientId||s.sessionId!==o.sessionId;if(t=o,i)try{await e.broadcastEvent(p.runtimeInspectionTargetChanged,o)}catch(e){throw t=s,e}return t},openPage:e=>d(()=>x(r,n,e.params??{})),openPageUrl:e=>d(()=>E(r,n,e.params??{})),pushWidget:e=>d(()=>C(r,n,e.params??{})),async setConnectionTransport(t){let{type:r,appletHost:s,deviceTarget:i}=t.params??{};if("usb"!==r&&"wifi"!==r)throw Error('setConnectionTransport.type must be "usb" or "wifi"');void 0!==s&&function(e,t){let r;try{r=new URL(t)}catch{throw Error("setConnectionTransport.appletHost must be a valid URL")}if("usb"!==e||"http:"!==r.protocol&&"https:"!==r.protocol||!r.hostname||r.username||r.password||r.hash)throw Error("setConnectionTransport.appletHost must be an HTTP(S) URL without credentials or a fragment for usb")}(r,s),await e.setConnectionTransport(r,s,i);let a=o();return{appId:n.getAppId(),host:e.getDirectDebugHost(),webDebuggerUrl:e.webDebuggerUrl,...a?{wifiConnectUrl:a}:{},status:e.getStatus()}},async awaitDirectDebugReady(e){let{clientId:t,timeoutMs:r=0}=e.params??{};if(void 0===t)return!1;let n=Date.now()+Math.max(0,r);for(;!s.has(t)&&Date.now()<n;)await O(Math.min(100,n-Date.now()));return s.has(t)},async awaitDirectDebugClient(e){let t,{timeoutMs:r=0,stableMs:n=0}=e.params??{},o=Date.now()+Math.max(0,r);for(;;){let e=Date.now();if(s.size>0){if(t??(t=e),e-t>=Math.max(0,n))return s.values().next().value}else t=void 0;if(e>=o)return;await O(Math.min(100,o-e))}},async awaitDeviceInstallResult(e){let{clientId:t,packageName:r,timeoutMs:n=0}=e.params??{};if(void 0===t||!r)return null;a?.()?.info("Waiting app installation result",{clientId:t,packageName:r,cached:i.get(t)?.packageName===r});let o=Date.now()+Math.max(0,n);for(;i.get(t)?.packageName!==r&&Date.now()<o;)await O(Math.min(100,o-Date.now()));let s=i.get(t);return s?.packageName===r?(i.delete(t),a?.()?.info("App installation result cache cleared",{reason:"consumed",clientId:t,packageName:r,success:s.success}),s):null},stop:()=>(queueMicrotask(()=>e.requestStop()),{stopping:!0})}}}({connection:o,sdk:r,devServerHost:D,getDirectDebugHost:()=>I,webDebuggerUrl:m.webDebuggerUrl,openWebDebugger:m.openWebDebugger,directDebugReady:s,deviceInstallResults:i,getStatus:()=>P.status,setConnectionTransport:Y,requestStop:()=>{X()},broadcastEvent:(e,t)=>A.broadcast(e,t)})),await z(A.start(),()=>A.stop()),eu(K),B("service-manager.started",{namespace:L}),await z(V.start(),()=>V.stop()),eu(K),B("connection.ipc.started",{namespace:L}),M({status:"running",host:D,appId:T,webDebuggerUrl:m.webDebuggerUrl,error:void 0})}catch(t){if(K){if(await X(),N&&!1!==n.throwOnStartupError)throw N;return{namespace:L,stopped:H,getState:()=>P,stop:X}}let e=eE(t);process.stderr.write(`${e}
24
+ `),M({status:"failed",error:e});try{await G()}finally{W(),await c?.close(),A(P)}if(!1!==n.throwOnStartupError)throw t instanceof Error?t:Error(e)}return{namespace:L,stopped:H,getState:()=>P,stop:X}}function eu(e){if(e)throw Error("dev runtime is stopping")}async function ep(e,t,r){t&&await new Promise(n=>{let o=setTimeout(()=>{r(`teardown.${e}.timeout`,{timeoutMs:1e3}),n()},1e3);t().catch(()=>void 0).finally(()=>{clearTimeout(o),n()})})}function em(e,t){let r=(()=>{switch(e){case"boot":return"starting";case"sdk.dev.ready":return"dev server ready";case"connection.startConnectServer.done":return"device connection ready";case"teardown.begin":return"stopping";case"teardown.done":return"stopped";case"state":{let e="string"==typeof t?.status?t.status:"unknown",r="string"==typeof t?.error?`: ${t.error}`:"";if("running"===e)return"ready";if("stopped"===e)return;return`${e}${r}`}default:if(e.endsWith(".timeout"))return`cleanup timeout: ${e.slice(9,-8)}`;return}})();r&&process.stderr.write(`[dev] ${r}
25
+ `)}async function eh(e,t){let r,n,o=await ef(e),s=Date.now()+5e4;for(;;){let i=await Promise.all(o.map(e=>ev(e,t))),a=i.find(e=>e.ok);if(a){if(n===a.host)return a.host;n=a.host,await es(200);continue}if(n=void 0,r=i.filter(e=>!e.ok).map(e=>`${e.host}: ${e.error}`).join("; "),Date.now()>=s)throw Error(`dev: dev server manifest was not reachable at ${e}${el} after 50000ms. Last probe: ${eE(r)}`);await es(200)}}async function ef(e){let t=await eg(e),r=[ey(t)];for(let e of function(e){let t=["127.0.0.1"];for(let e of Object.values(ea.networkInterfaces()))for(let r of e??[])"IPv4"===r.family&&t.push(r.address);return t.filter(t=>t!==e)}(t.hostname))r.push(ey(eb(t,e)));return Array.from(new Set(r))}async function eg(e){try{var t;let r=new URL(e);if(r.hostname&&"undefined"!==r.hostname&&!r.hostname.includes(":"))return eb(r,(await (0,n.lookup)(r.hostname,{family:4})).address);return t=r,eb(t,"127.0.0.1")}catch{let t=e.match(/:(\d+)(?:\/.*)?$/)?.[1]??"3000";return new URL(`http://127.0.0.1:${t}`)}}function eb(e,t){let r=new URL(e.href);return r.host=`${t}${r.port?`:${r.port}`:""}`,r}function ey(e){let t="/"===e.pathname?"":e.pathname.replace(/\/$/,"");return`${e.protocol}//${e.host}${t}`}async function ev(e,t){try{var r;let n=await (r=new URL(el,`${e}/`),new Promise((e,t)=>{let n=("https:"===r.protocol?o:ei).request(r,{method:"GET",timeout:1500},t=>{let r=[],o=0;t.on("data",e=>{(o+=e.length)>1048576?n.destroy(Error("manifest response is larger than 1MB")):r.push(e)}),t.on("end",()=>{e({statusCode:t.statusCode??0,body:Buffer.concat(r).toString("utf8")})})});n.on("timeout",()=>{n.destroy(Error("request timed out after 1500ms"))}),n.on("error",t),n.end()}));if(n.statusCode<200||n.statusCode>=300)return{ok:!1,host:e,error:`HTTP ${n.statusCode}`};if(t&&!n.body.includes(t))return{ok:!1,host:e,error:`manifest does not include appId ${t}`};return{ok:!0,host:e}}catch(t){return{ok:!1,host:e,error:eE(t)}}}async function e_(e){let t,r=Date.now()+5e4;for(;;){try{let t=e.getAppId();if(t){let[r,n]=await Promise.all([e.discoverWidgets(),e.discoverPages()]);if(ex(r)||ex(n))return t}}catch(e){t=e}if(Date.now()>=r){let e=t?` Last metadata error: ${eE(t)}`:"";throw Error(`dev: compiled app metadata was not ready after 50000ms.${e}`)}await es(200)}}function ex(e){return Array.isArray(e)&&e.length>0}function eE(e){return e instanceof Error?e.message:String(e)}async function eC(e){var t;let r,n,o,s;return e.signal?.throwIfAborted(),ec((r=h(e.projectPath),o=m(n=(t=e.appDir)?l.isAbsolute(t)?l.resolve(t):l.resolve(r,t):r),s=Date.now(),{namespace:o,request:{projectPath:r,appDir:n,devOptions:e.devOptions,created_at:s}}),e)}let ew=r("../../../node_modules/.pnpm/@byted-doubao-tools+devtool-connection-core@0.1.0-beta.12_debug@4.4.3_react@19.2.7/node_modules/@byted-doubao-tools/devtool-connection-core/dist/lib/ipc/index.js");async function ej(e){var t,r;let n,o=new Z(m((t=e.projectPath,r=e.appDir,n=c().resolve(t),r?c().isAbsolute(r)?c().resolve(r):c().resolve(n,r):n)),{nodeId:`${e.nodeIdPrefix}-${process.pid}`,requestTimeout:e.requestTimeoutMs??6e4});return await o.start(),{call:(e,t)=>eD(o,e,t),stop:()=>o.stop()}}function eS(e,t){if(t.ok)return t;throw Error(`${e} failed: ${t.error??"unknown error"}`)}function ek(e,t){if(null!=e)try{return JSON.stringify(JSON.parse(e))}catch(r){let e=r instanceof Error?r.message:String(r);throw Error(`${t} must be valid JSON: ${e}`)}}function eT(e){return void 0===e?{type:"undefined"}:"string"!=typeof e?{type:typeof e,value:e}:{type:"string",length:e.length,preview:e.length<=300?e:`${e.slice(0,300)}...`,keys:function(e){try{let t=JSON.parse(e);return t&&"object"==typeof t&&!Array.isArray(t)?Object.keys(t).slice(0,20):void 0}catch{return}}(e)}}function eO(...e){return(0,ew.createDevtoolConnectionIpcClient)(...e)}async function eD(e,t,r){for(let n=0;n<100;n++)try{return await e.call(t,r)}catch(e){if(!/is not (found|available)/.test(e instanceof Error?e.message:String(e)))throw e;await new Promise(e=>{setTimeout(e,50)})}throw Error(`dev service action never became routable: ${t}. Run "dbx dev" first and wait until it reports "status: running".`)}export{u as DEV_ACTIONS,p as DEV_EVENTS,Z as ServiceManager,ej as connectDevService,eO as createDevtoolConnectionIpcClient,eS as ensureDevActionSucceeded,ek as parseJsonData,eC as startForegroundDevService,eT as summarizeData};