@salesforce/storefront-next-dev 0.3.1 → 0.4.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +12 -12
  2. package/bin/run.js +19 -9
  3. package/dist/cartridge-services/index.js +9 -1
  4. package/dist/cartridge-services/index.js.map +1 -1
  5. package/dist/commands/config/inspect.js +191 -0
  6. package/dist/commands/create-bundle.js +1 -1
  7. package/dist/commands/create-storefront.js +3 -3
  8. package/dist/commands/dev.js +1 -3
  9. package/dist/commands/extensions/install.js +1 -1
  10. package/dist/commands/extensions/list.js +1 -1
  11. package/dist/commands/extensions/remove.js +1 -1
  12. package/dist/commands/generate-cartridge.js +1 -1
  13. package/dist/commands/locales/aggregate-extensions.js +181 -0
  14. package/dist/commands/prepare-local.js +1 -1
  15. package/dist/commands/preview.js +1 -3
  16. package/dist/commands/scapi/add.js +298 -0
  17. package/dist/commands/scapi/list.js +35 -0
  18. package/dist/commands/scapi/remove.js +56 -0
  19. package/dist/commands/validate-cartridge.js +1 -1
  20. package/dist/configs/react-router.config.js +2 -1
  21. package/dist/configs/react-router.config.js.map +1 -1
  22. package/dist/data-store/local-provider.d.ts +42 -0
  23. package/dist/data-store/local-provider.d.ts.map +1 -0
  24. package/dist/data-store/local-provider.js +66 -0
  25. package/dist/data-store/local-provider.js.map +1 -0
  26. package/dist/flags.js +5 -3
  27. package/dist/generate-cartridge.js +9 -1
  28. package/dist/generate-custom-clients.js +73 -0
  29. package/dist/hooks/init.js +29 -4
  30. package/dist/index.d.ts +46 -2
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +260 -42
  33. package/dist/index.js.map +1 -1
  34. package/dist/logger.js +1 -1
  35. package/dist/mrt/ssr.mjs +3 -3
  36. package/dist/mrt/ssr.mjs.map +1 -1
  37. package/dist/mrt/streamingHandler.mjs +3 -3
  38. package/dist/mrt/streamingHandler.mjs.map +1 -1
  39. package/dist/schema-utils.js +64 -0
  40. package/dist/utils.js +3 -11
  41. package/package.json +19 -3
@@ -30,7 +30,7 @@ return fn.apply(this, arguments)
30
30
  t.exports=Ee()})),Oe=a(((e,t)=>{var n={"prs.":100,"x-":200,"x.":300,"vnd.":400,default:900},r={nginx:10,apache:20,iana:40,default:30},i={application:1,font:2,audio:2,video:3,default:0};t.exports=function(e,t=`default`){if(e===`application/octet-stream`)return 0;let[a,o]=e.split(`/`),s=n[o.replace(/(\.|x-).*/,`$1`)]||n.default,c=r[t]||r.default,l=i[a]||i.default,u=1-e.length/100;return s+c+l+u}})),ke=a((e=>{var n=De(),r=t(`path`).extname,i=Oe(),a=/^\s*([^;\s]*)(?:;|\s|$)/,o=/^text\//i;e.charset=s,e.charsets={lookup:s},e.contentType=c,e.extension=l,e.extensions=Object.create(null),e.lookup=u,e.types=Object.create(null),e._extensionConflicts=[],d(e.extensions,e.types);function s(e){if(!e||typeof e!=`string`)return!1;var t=a.exec(e),r=t&&n[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&o.test(t[1])?`UTF-8`:!1}function c(t){if(!t||typeof t!=`string`)return!1;var n=t.indexOf(`/`)===-1?e.lookup(t):t;if(!n)return!1;if(n.indexOf(`charset`)===-1){var r=e.charset(n);r&&(n+=`; charset=`+r.toLowerCase())}return n}function l(t){if(!t||typeof t!=`string`)return!1;var n=a.exec(t),r=n&&e.extensions[n[1].toLowerCase()];return!r||!r.length?!1:r[0]}function u(t){if(!t||typeof t!=`string`)return!1;var n=r(`x.`+t).toLowerCase().slice(1);return n&&e.types[n]||!1}function d(t,r){Object.keys(n).forEach(function(i){var a=n[i].extensions;if(!(!a||!a.length)){t[i]=a;for(var o=0;o<a.length;o++){var s=a[o];r[s]=f(s,r[s],i);let t=p(s,r[s],i);t!==r[s]&&e._extensionConflicts.push([s,t,r[s]])}}})}function f(e,t,r){return(t?i(t,n[t].source):0)>(r?i(r,n[r].source):0)?t:r}function p(t,r,i){var a=[`nginx`,`apache`,void 0,`iana`],o=r?a.indexOf(n[r].source):0,s=i?a.indexOf(n[i].source):0;return e.types[l]!==`application/octet-stream`&&(o>s||o===s&&e.types[l]?.slice(0,12)===`application/`)||o>s?r:i}})),Ae=a((e=>{var t=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,n=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,r=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;e.format=i,e.parse=o,e.test=a;function i(e){if(!e||typeof e!=`object`)throw TypeError(`argument obj is required`);var r=e.subtype,i=e.suffix,a=e.type;if(!a||!n.test(a))throw TypeError(`invalid type`);if(!r||!t.test(r))throw TypeError(`invalid subtype`);var o=a+`/`+r;if(i){if(!n.test(i))throw TypeError(`invalid suffix`);o+=`+`+i}return o}function a(e){if(!e)throw TypeError(`argument string is required`);if(typeof e!=`string`)throw TypeError(`argument string is required to be a string`);return r.test(e.toLowerCase())}function o(e){if(!e)throw TypeError(`argument string is required`);if(typeof e!=`string`)throw TypeError(`argument string is required to be a string`);var t=r.exec(e.toLowerCase());if(!t)throw TypeError(`invalid media type`);var n=t[1],i=t[2],a,o=i.lastIndexOf(`+`);return o!==-1&&(a=i.substr(o+1),i=i.substr(0,o)),new s(n,i,a)}function s(e,t,n){this.type=e,this.subtype=t,this.suffix=n}})),je=a(((e,t)=>{var n=Te(),r=ke(),i=Ae();t.exports=s,t.exports.is=a,t.exports.hasBody=o,t.exports.normalize=c,t.exports.match=l;function a(e,t){var n,r=t,i=d(e);if(!i)return!1;if(r&&!Array.isArray(r))for(r=Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];if(!r||!r.length)return i;var a;for(n=0;n<r.length;n++)if(l(c(a=r[n]),i))return a[0]===`+`||a.indexOf(`*`)!==-1?i:a;return!1}function o(e){return e.headers[`transfer-encoding`]!==void 0||!isNaN(e.headers[`content-length`])}function s(e,t){if(!o(e))return null;var n=arguments.length>2?Array.prototype.slice.call(arguments,1):t,r=e.headers[`content-type`];return a(r,n)}function c(e){if(typeof e!=`string`)return!1;switch(e){case`urlencoded`:return`application/x-www-form-urlencoded`;case`multipart`:return`multipart/*`}return e[0]===`+`?`*/*`+e:e.indexOf(`/`)===-1?r.lookup(e):e}function l(e,t){if(e===!1)return!1;var n=t.split(`/`),r=e.split(`/`);return n.length!==2||r.length!==2||r[0]!==`*`&&r[0]!==n[0]?!1:r[1].slice(0,2)===`*+`?r[1].length<=n[1].length+1&&r[1].slice(1)===n[1].slice(1-r[1].length):!(r[1]!==`*`&&r[1]!==n[1])}function u(e){var t=n.parse(e).type;return i.test(t)?t:null}function d(e){try{return e?u(e):null}catch{return null}}})),Me=a(((e,t)=>{var n=V(),r=Te(),i=je();t.exports={getCharset:a,normalizeOptions:s,passthrough:c};function a(e){try{return(r.parse(e).parameters.charset||``).toLowerCase()}catch{return}}function o(e){return function(t){return!!i(t,e)}}function s(e,t){if(!t)throw TypeError(`defaultType must be provided`);var r=e?.inflate!==!1,i=typeof e?.limit==`number`?e?.limit:n.parse(e?.limit||`100kb`),a=e?.type||t,s=e?.verify||!1,c=e?.defaultCharset||`utf-8`;if(s!==!1&&typeof s!=`function`)throw TypeError(`option verify must be function`);return{inflate:r,limit:i,verify:s,defaultCharset:c,shouldParse:typeof a==`function`?a:o(a)}}function c(e){return e}})),Ne=a(((e,n)=>{var r=B(),i=Se(),a=be(),o=we(),s=t(`node:zlib`),c=je().hasBody,{getCharset:l}=Me();n.exports=u;function u(e,t,n,s,u,f){if(o.isFinished(e)){u(`body already parsed`),n();return}if(`body`in e||(e.body=void 0),!c(e)){u(`skip empty body`),n();return}if(u(`content-type %j`,e.headers[`content-type`]),!f.shouldParse(e)){u(`skip parsing`),n();return}var m=null;if(f?.skipCharset!==!0&&(m=l(e)||f.defaultCharset,f?.isValidCharset&&!f.isValidCharset(m))){u(`invalid charset`),n(r(415,`unsupported charset "`+m.toUpperCase()+`"`,{charset:m,type:`charset.unsupported`}));return}var h,g=f,_,v=g.verify;try{_=d(e,u,g.inflate),h=_.length,_.length=void 0}catch(e){return n(e)}if(g.length=h,g.encoding=v?null:m,g.encoding===null&&m!==null&&!a.encodingExists(m))return n(r(415,`unsupported charset "`+m.toUpperCase()+`"`,{charset:m.toLowerCase(),type:`charset.unsupported`}));u(`read body`),i(_,g,function(i,o){if(i){var c=i.type===`encoding.unsupported`?r(415,`unsupported charset "`+m.toUpperCase()+`"`,{charset:m.toLowerCase(),type:`charset.unsupported`}):r(400,i);_!==e&&(e.unpipe(),_.destroy()),p(e,function(){n(r(400,c))});return}if(v)try{u(`verify body`),v(e,t,o,m)}catch(e){n(r(403,e,{body:o,type:e.type||`entity.verify.failed`}));return}var l=o;try{u(`parse body`),l=typeof o!=`string`&&m!==null?a.decode(o,m):o,e.body=s(l,m)}catch(e){n(r(400,e,{body:l,type:e.type||`entity.parse.failed`}));return}n()})}function d(e,t,n){var i=(e.headers[`content-encoding`]||`identity`).toLowerCase(),a=e.headers[`content-length`];if(t(`content-encoding "%s"`,i),n===!1&&i!==`identity`)throw r(415,`content encoding unsupported`,{encoding:i,type:`encoding.unsupported`});if(i===`identity`)return e.length=a,e;var o=f(i,t);return e.pipe(o),o}function f(e,t){switch(e){case`deflate`:return t(`inflate body`),s.createInflate();case`gzip`:return t(`gunzip body`),s.createGunzip();case`br`:return t(`brotli decompress body`),s.createBrotliDecompress();default:throw r(415,`unsupported content encoding "`+e+`"`,{encoding:e,type:`encoding.unsupported`})}}function p(e,t){o.isFinished(e)?t(null):(o(e,t),e.resume())}})),Pe=a(((e,t)=>{var n=N()(`body-parser:json`),r=Ne(),{normalizeOptions:i}=Me();t.exports=c;var a=/^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/,o=`#`,s=/#+/g;function c(e){let t=i(e,`application/json`);var a=e?.reviver,o=e?.strict!==!1;function s(e){if(e.length===0)return{};if(o){var t=u(e);if(t!==`{`&&t!==`[`)throw n(`strict violation`),l(e,t)}try{return n(`parse json`),JSON.parse(e,a)}catch(e){throw d(e,{message:e.message,stack:e.stack})}}let c={...t,isValidCharset:e=>e.slice(0,4)===`utf-`};return function(e,t,i){r(e,t,i,s,n,c)}}function l(e,t){var n=e.indexOf(t),r=``;n!==-1&&(r=e.substring(0,n)+o.repeat(e.length-n));try{throw JSON.parse(r),SyntaxError(`strict violation`)}catch(t){return d(t,{message:t.message.replace(s,function(t){return e.substring(n,n+t.length)}),stack:t.stack})}}function u(e){var t=a.exec(e);return t?t[1]:void 0}function d(e,t){for(var n=Object.getOwnPropertyNames(e),r=0;r<n.length;r++){var i=n[r];i!==`stack`&&i!==`message`&&delete e[i]}return e.stack=t.stack.replace(e.message,t.message),e.message=t.message,e}})),Fe=a(((e,t)=>{var n=N()(`body-parser:raw`),r=Ne(),{normalizeOptions:i,passthrough:a}=Me();t.exports=o;function o(e){let t={...i(e,`application/octet-stream`),skipCharset:!0};return function(e,i,o){r(e,i,o,a,n,t)}}})),Ie=a(((e,t)=>{var n=N()(`body-parser:text`),r=Ne(),{normalizeOptions:i,passthrough:a}=Me();t.exports=o;function o(e){let t=i(e,`text/plain`);return function(e,i,o){r(e,i,o,a,n,t)}}})),Le=a(((e,t)=>{t.exports=TypeError})),Re=a(((e,n)=>{n.exports=t(`util`).inspect})),ze=a(((e,t)=>{var n=typeof Map==`function`&&Map.prototype,r=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,`size`):null,i=n&&r&&typeof r.get==`function`?r.get:null,a=n&&Map.prototype.forEach,o=typeof Set==`function`&&Set.prototype,s=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,`size`):null,c=o&&s&&typeof s.get==`function`?s.get:null,l=o&&Set.prototype.forEach,u=typeof WeakMap==`function`&&WeakMap.prototype?WeakMap.prototype.has:null,d=typeof WeakSet==`function`&&WeakSet.prototype?WeakSet.prototype.has:null,f=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,h=Function.prototype.toString,g=String.prototype.match,_=String.prototype.slice,v=String.prototype.replace,y=String.prototype.toUpperCase,b=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,C=Array.prototype.join,w=Array.prototype.slice,T=Math.floor,E=typeof BigInt==`function`?BigInt.prototype.valueOf:null,D=Object.getOwnPropertySymbols,O=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,k=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,A=typeof Symbol==`function`&&Symbol.toStringTag&&(typeof Symbol.toStringTag===k||`symbol`)?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,M=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function ee(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-T(-e):T(e);if(r!==e){var i=String(r),a=_.call(t,i.length+1);return v.call(i,n,`$&_`)+`.`+v.call(v.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return v.call(t,n,`$&_`)}var N=Re(),P=N.custom,F=ae(P)?P:null,I={__proto__:null,double:`"`,single:`'`},L={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function e(t,n,r,o){var s=n||{};if(W(s,`quoteStyle`)&&!W(I,s.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(W(s,`maxStringLength`)&&(typeof s.maxStringLength==`number`?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=W(s,`customInspect`)?s.customInspect:!0;if(typeof u!=`boolean`&&u!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(s,`indent`)&&s.indent!==null&&s.indent!==` `&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(s,`numericSeparator`)&&typeof s.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var d=s.numericSeparator;if(t===void 0)return`undefined`;if(t===null)return`null`;if(typeof t==`boolean`)return t?`true`:`false`;if(typeof t==`string`)return ge(t,s);if(typeof t==`number`){if(t===0)return 1/0/t>0?`0`:`-0`;var f=String(t);return d?ee(t,f):f}if(typeof t==`bigint`){var m=String(t)+`n`;return d?ee(t,m):m}var h=s.depth===void 0?5:s.depth;if(r===void 0&&(r=0),r>=h&&h>0&&typeof t==`object`)return B(t)?`[Array]`:`[Object]`;var g=Se(s,r);if(o===void 0)o=[];else if(ue(o,t)>=0)return`[Circular]`;function y(t,n,i){if(n&&(o=w.call(o),o.push(n)),i){var a={depth:s.depth};return W(s,`quoteStyle`)&&(a.quoteStyle=s.quoteStyle),e(t,a,r+1,o)}return e(t,s,r+1,o)}if(typeof t==`function`&&!H(t)){var x=le(t),T=we(t,y);return`[Function`+(x?`: `+x:` (anonymous)`)+`]`+(T.length>0?` { `+C.call(T,`, `)+` }`:``)}if(ae(t)){var D=k?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,`$1`):O.call(t);return typeof t==`object`&&!k?ve(D):D}if(he(t)){for(var P=`<`+b.call(String(t.nodeName)),L=t.attributes||[],z=0;z<L.length;z++)P+=` `+L[z].name+`=`+R(te(L[z].value),`double`,s);return P+=`>`,t.childNodes&&t.childNodes.length&&(P+=`...`),P+=`</`+b.call(String(t.nodeName))+`>`,P}if(B(t)){if(t.length===0)return`[]`;var se=we(t,y);return g&&!xe(se)?`[`+Ce(se,g)+`]`:`[ `+C.call(se,`, `)+` ]`}if(ne(t)){var _e=we(t,y);return!(`cause`in Error.prototype)&&`cause`in t&&!j.call(t,`cause`)?`{ [`+String(t)+`] `+C.call(S.call(`[cause]: `+y(t.cause),_e),`, `)+` }`:_e.length===0?`[`+String(t)+`]`:`{ [`+String(t)+`] `+C.call(_e,`, `)+` }`}if(typeof t==`object`&&u){if(F&&typeof t[F]==`function`&&N)return N(t,{depth:h-r});if(u!==`symbol`&&typeof t.inspect==`function`)return t.inspect()}if(G(t)){var Te=[];return a&&a.call(t,function(e,n){Te.push(y(n,t,!0)+` => `+y(e,t))}),be(`Map`,i.call(t),Te,g)}if(pe(t)){var Ee=[];return l&&l.call(t,function(e){Ee.push(y(e,t))}),be(`Set`,c.call(t),Ee,g)}if(de(t))return ye(`WeakMap`);if(me(t))return ye(`WeakSet`);if(fe(t))return ye(`WeakRef`);if(U(t))return ve(y(Number(t)));if(oe(t))return ve(y(E.call(t)));if(ie(t))return ve(p.call(t));if(re(t))return ve(y(String(t)));if(typeof window<`u`&&t===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&t===globalThis||typeof global<`u`&&t===global)return`{ [object globalThis] }`;if(!V(t)&&!H(t)){var De=we(t,y),Oe=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,ke=t instanceof Object?``:`null prototype`,Ae=!Oe&&A&&Object(t)===t&&A in t?_.call(ce(t),8,-1):ke?`Object`:``,je=(Oe||typeof t.constructor!=`function`?``:t.constructor.name?t.constructor.name+` `:``)+(Ae||ke?`[`+C.call(S.call([],Ae||[],ke||[]),`: `)+`] `:``);return De.length===0?je+`{}`:g?je+`{`+Ce(De,g)+`}`:je+`{ `+C.call(De,`, `)+` }`}return String(t)};function R(e,t,n){var r=I[n.quoteStyle||t];return r+e+r}function te(e){return v.call(String(e),/"/g,`&quot;`)}function z(e){return!A||!(typeof e==`object`&&(A in e||e[A]!==void 0))}function B(e){return ce(e)===`[object Array]`&&z(e)}function V(e){return ce(e)===`[object Date]`&&z(e)}function H(e){return ce(e)===`[object RegExp]`&&z(e)}function ne(e){return ce(e)===`[object Error]`&&z(e)}function re(e){return ce(e)===`[object String]`&&z(e)}function U(e){return ce(e)===`[object Number]`&&z(e)}function ie(e){return ce(e)===`[object Boolean]`&&z(e)}function ae(e){if(k)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!O)return!1;try{return O.call(e),!0}catch{}return!1}function oe(e){if(!e||typeof e!=`object`||!E)return!1;try{return E.call(e),!0}catch{}return!1}var se=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return se.call(e,t)}function ce(e){return m.call(e)}function le(e){if(e.name)return e.name;var t=g.call(h.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ue(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function G(e){if(!i||!e||typeof e!=`object`)return!1;try{i.call(e);try{c.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function de(e){if(!u||!e||typeof e!=`object`)return!1;try{u.call(e,u);try{d.call(e,d)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function fe(e){if(!f||!e||typeof e!=`object`)return!1;try{return f.call(e),!0}catch{}return!1}function pe(e){if(!c||!e||typeof e!=`object`)return!1;try{c.call(e);try{i.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function me(e){if(!d||!e||typeof e!=`object`)return!1;try{d.call(e,d);try{u.call(e,u)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function he(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement?!0:typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function ge(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return ge(_.call(e,0,t.maxStringLength),t)+r}var i=L[t.quoteStyle||`single`];return i.lastIndex=0,R(v.call(v.call(e,i,`\\$1`),/[\x00-\x1f]/g,_e),`single`,t)}function _e(e){var t=e.charCodeAt(0),n={8:`b`,9:`t`,10:`n`,12:`f`,13:`r`}[t];return n?`\\`+n:`\\x`+(t<16?`0`:``)+y.call(t.toString(16))}function ve(e){return`Object(`+e+`)`}function ye(e){return e+` { ? }`}function be(e,t,n,r){var i=r?Ce(n,r):C.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function xe(e){for(var t=0;t<e.length;t++)if(ue(e[t],`
31
31
  `)>=0)return!1;return!0}function Se(e,t){var n;if(e.indent===` `)n=` `;else if(typeof e.indent==`number`&&e.indent>0)n=C.call(Array(e.indent+1),` `);else return null;return{base:n,prev:C.call(Array(t+1),n)}}function Ce(e,t){if(e.length===0)return``;var n=`
32
32
  `+t.prev+t.base;return n+C.call(e,`,`+n)+`
33
- `+t.prev}function we(e,t){var n=B(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=W(e,i)?t(e[i],e):``}var a=typeof D==`function`?D(e):[],o;if(k){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)W(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof D==`function`)for(var l=0;l<a.length;l++)j.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),Be=a(((e,t)=>{var n=ze(),r=Le(),i=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},a=function(e,t){if(e){var n=i(e,t);return n&&n.value}},o=function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},s=function(e,t){return e?!!i(e,t):!1},c=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r(`Side channel does not contain `+n(e))},delete:function(t){var n=e&&e.next,r=c(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return a(e,t)},has:function(t){return s(e,t)},set:function(t,n){e||={next:void 0},o(e,t,n)}};return t}})),Ve=a(((e,t)=>{t.exports=Object})),He=a(((e,t)=>{t.exports=Error})),Ue=a(((e,t)=>{t.exports=EvalError})),We=a(((e,t)=>{t.exports=RangeError})),Ge=a(((e,t)=>{t.exports=ReferenceError})),Ke=a(((e,t)=>{t.exports=SyntaxError})),qe=a(((e,t)=>{t.exports=URIError})),Je=a(((e,t)=>{t.exports=Math.abs})),Ye=a(((e,t)=>{t.exports=Math.floor})),Xe=a(((e,t)=>{t.exports=Math.max})),Ze=a(((e,t)=>{t.exports=Math.min})),Qe=a(((e,t)=>{t.exports=Math.pow})),$e=a(((e,t)=>{t.exports=Math.round})),et=a(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),tt=a(((e,t)=>{var n=et();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),nt=a(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),rt=a(((e,t)=>{var n=nt();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),it=a(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),at=a(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),ot=a(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=at();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),st=a(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),ct=a(((e,t)=>{t.exports=Ve().getPrototypeOf||null})),lt=a(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),ut=a(((e,t)=>{var n=lt();t.exports=Function.prototype.bind||n})),dt=a(((e,t)=>{t.exports=Function.prototype.call})),ft=a(((e,t)=>{t.exports=Function.prototype.apply})),pt=a(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),mt=a(((e,t)=>{var n=ut(),r=ft(),i=dt();t.exports=pt()||n.call(i,r)})),ht=a(((e,t)=>{var n=ut(),r=Le(),i=dt(),a=mt();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),gt=a(((e,t)=>{var n=ht(),r=rt(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),_t=a(((e,t)=>{var n=st(),r=ct(),i=gt();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),vt=a(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=ut().call(n,r)})),yt=a(((e,t)=>{var n,r=Ve(),i=He(),a=Ue(),o=We(),s=Ge(),c=Ke(),l=Le(),u=qe(),d=Je(),f=Ye(),p=Xe(),m=Ze(),h=Qe(),g=$e(),_=tt(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=rt(),x=it(),S=function(){throw new l},C=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}}():S,w=ot()(),T=_t(),E=ct(),D=st(),O=ft(),k=dt(),A={},j=typeof Uint8Array>`u`||!T?n:T(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":O,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(T)try{null.error}catch(e){M[`%Error.prototype%`]=T(T(e))}var ee=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return M[t]=n,n},N={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},P=ut(),F=vt(),I=P.call(k,Array.prototype.concat),L=P.call(O,Array.prototype.splice),R=P.call(k,String.prototype.replace),te=P.call(k,String.prototype.slice),z=P.call(k,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,H=function(e){var t=te(e,0,1),n=te(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return R(e,B,function(e,t,n,i){r[r.length]=n?R(i,V,`$1`):t||e}),r},ne=function(e,t){var n=e,r;if(F(N,n)&&(r=N[n],n=`%`+r[0]+`%`),F(M,n)){var i=M[n];if(i===A&&(i=ee(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(z(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=H(e),r=n.length>0?n[0]:``,i=ne(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],L(n,I([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=te(p,0,1),h=te(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,F(M,a))o=M[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=F(o,p),o=o[p];f&&!s&&(M[a]=o)}}return o}})),bt=a(((e,t)=>{var n=yt(),r=ht(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),xt=a(((e,t)=>{var n=yt(),r=bt(),i=ze(),a=Le(),o=n(`%Map%`,!0),s=r(`Map.prototype.get`,!0),c=r(`Map.prototype.set`,!0),l=r(`Map.prototype.has`,!0),u=r(`Map.prototype.delete`,!0),d=r(`Map.prototype.size`,!0);t.exports=!!o&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a(`Side channel does not contain `+i(e))},delete:function(t){if(e){var n=u(e,t);return d(e)===0&&(e=void 0),n}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return e?l(e,t):!1},set:function(t,n){e||=new o,c(e,t,n)}};return t}})),St=a(((e,t)=>{var n=yt(),r=bt(),i=ze(),a=xt(),o=Le(),s=n(`%WeakMap%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`WeakMap.prototype.delete`,!0);t.exports=s?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o(`Side channel does not contain `+i(e))},delete:function(n){if(s&&n&&(typeof n==`object`||typeof n==`function`)){if(e)return d(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?c(e,n):t&&t.get(n)},has:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?u(e,n):!!t&&t.has(n)},set:function(n,r){s&&n&&(typeof n==`object`||typeof n==`function`)?(e||=new s,l(e,n,r)):a&&(t||=a(),t.set(n,r))}};return n}:a})),Ct=a(((e,t)=>{var n=Le(),r=ze(),i=Be(),a=xt(),o=St()||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||=o(),e.set(t,n)}};return t}})),wt=a(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),Tt=a(((e,t)=>{var n=wt(),r=Ct(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},l=function(e){return o.get(e)},u=function(e,t){o.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e.push(`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase());return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)n[i]!==void 0&&r.push(n[i]);t.obj[t.prop]=r}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},m=function e(t,n,r){if(!n)return t;if(typeof n!=`object`&&typeof n!=`function`){if(a(t))t.push(n);else if(t&&typeof t==`object`)if(c(t)){var o=l(t)+1;t[o]=n,u(t,o)}else (r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`){if(c(n)){for(var d=Object.keys(n),f=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<d.length;m++){var h=parseInt(d[m],10);f[h+1]=n[d[m]]}return s(f,l(n)+1)}return[t].concat(n)}var g=t;return a(t)&&!a(n)&&(g=p(t,r)),a(t)&&a(n)?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&typeof o==`object`&&n&&typeof n==`object`?t[a]=e(o,n,r):t.push(n)}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];return i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,t},g)},h=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},g=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},_=1024;t.exports={arrayToObject:p,assign:h,combine:function(e,t,n,r){if(c(e)){var i=l(e)+1;return e[i]=t,u(e,i),e}var a=[].concat(e,t);return a.length>n?s(p(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],l=a[c];typeof l==`object`&&l&&n.indexOf(l)===-1&&(t.push({obj:a,prop:c}),n.push(l))}return f(t),e},decode:g,encode:function(e,t,r,i,a){if(e.length===0)return e;var o=e;if(typeof e==`symbol`?o=Symbol.prototype.toString.call(e):typeof e!=`string`&&(o=String(e)),r===`iso-8859-1`)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var s=``,c=0;c<o.length;c+=_){for(var l=o.length>=_?o.slice(c,c+_):o,u=[],f=0;f<l.length;++f){var p=l.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){u[u.length]=l.charAt(f);continue}if(p<128){u[u.length]=d[p];continue}if(p<2048){u[u.length]=d[192|p>>6]+d[128|p&63];continue}if(p<55296||p>=57344){u[u.length]=d[224|p>>12]+d[128|p>>6&63]+d[128|p&63];continue}f+=1,p=65536+((p&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=d[240|p>>18]+d[128|p>>12&63]+d[128|p>>6&63]+d[128|p&63]}s+=u.join(``)}return s},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:m}})),Et=a(((e,t)=>{var n=Ct(),r=Tt(),i=wt(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,commaRoundTrip:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,w,T){for(var E=t,D=T,O=0,k=!1;(D=D.get(m))!==void 0&&!k;){var A=D.get(t);if(O+=1,A!==void 0){if(A===O)throw RangeError(`Cyclic object value`);k=!0}D.get(m)===void 0&&(O=0)}if(typeof _==`function`?E=_(i,E):E instanceof Date?E=b(E):a===`comma`&&s(E)&&(E=r.maybeMap(E,function(e){return e instanceof Date?b(e):e})),E===null){if(u)return g&&!C?g(i,f.encoder,w,`key`,x):i;E=``}if(p(E)||r.isBuffer(E))return g?[S(C?i:g(i,f.encoder,w,`key`,x))+`=`+S(g(E,f.encoder,w,`value`,x))]:[S(i)+`=`+S(String(E))];var j=[];if(E===void 0)return j;var M;if(a===`comma`&&s(E))C&&g&&(E=r.maybeMap(E,g)),M=[{value:E.length>0?E.join(`,`)||null:void 0}];else if(s(_))M=_;else{var ee=Object.keys(E);M=v?ee.sort(v):ee}var N=h?String(i).replace(/\./g,`%2E`):String(i),P=o&&s(E)&&E.length===1?N+`[]`:N;if(c&&s(E)&&E.length===0)return P+`[]`;for(var F=0;F<M.length;++F){var I=M[F],L=typeof I==`object`&&I&&I.value!==void 0?I.value:E[I];if(!(d&&L===null)){var R=y&&h?String(I).replace(/\./g,`%2E`):String(I),te=s(E)?typeof a==`function`?a(P,R):P:P+(y?`.`+R:`[`+R+`]`);T.set(t,O);var z=n();z.set(m,T),l(j,e(L,te,a,o,c,u,d,h,a===`comma`&&C&&s(E)?null:g,_,v,y,b,x,S,C,w,z))}}return j},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0?!0:f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m],v=r[_];i.skipNulls&&v===null||l(u,h(v,_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var y=u.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B&`:b+=`utf8=%E2%9C%93&`),y.length>0?b+y:``}})),Dt=a(((e,t)=>{var n=Tt(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1)return e.split(`,`);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);return e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,t.throwOnLimitExceeded?f+1:f);if(t.throwOnLimitExceeded&&p.length>f)throw RangeError(`Parameter limit exceeded. Only `+f+` parameter`+(f===1?``:`s`)+` allowed.`);var m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;if(y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),b!==null&&(x=n.maybeMap(s(_.slice(y+1),t,i(u[b])?u[b].length:0),function(e){return t.decoder(e,a.decoder,g,`value`)}))),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(String(x))),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x),b!==null){var S=r.call(u,b);S&&t.duplicates===`combine`?u[b]=n.combine(u[b],x,t.arrayLimit,t.plainObjects):(!S||t.duplicates===`last`)&&(u[b]=x)}}return u},d=function(e,t,r,i){var a=0;if(e.length>0&&e[e.length-1]===`[]`){var o=e.slice(0,-1).join(``);a=Array.isArray(t)&&t[o]?t[o].length:0}for(var c=i?t:s(t,r,a),l=e.length-1;l>=0;--l){var u,d=e[l];if(d===`[]`&&r.parseArrays)u=n.isOverflow(c)?c:r.allowEmptyArrays&&(c===``||r.strictNullHandling&&c===null)?[]:n.combine([],c,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f=d.charAt(0)===`[`&&d.charAt(d.length-1)===`]`?d.slice(1,-1):d,p=r.decodeDotInKeys?f.replace(/%2E/g,`.`):f,m=parseInt(p,10);!r.parseArrays&&p===``?u={0:c}:!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays&&m<=r.arrayLimit?(u=[],u[m]=c):p!==`__proto__`&&(u[p]=c)}c=u}return c},f=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e;if(t.depth<=0)return!t.plainObjects&&r.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,o=i.exec(n),s=o?n.slice(0,o.index):n,c=[];if(s){if(!t.plainObjects&&r.call(Object.prototype,s)&&!t.allowPrototypes)return;c.push(s)}for(var l=0;(o=a.exec(n))!==null&&l<t.depth;){l+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,u)&&!t.allowPrototypes)return;c.push(o[1])}if(o){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);c.push(`[`+n.slice(o.index)+`]`)}return c},p=function(e,t,n,r){if(e){var i=f(e,n);if(i)return d(i,t,n,r)}},m=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);if(e.throwOnLimitExceeded!==void 0&&typeof e.throwOnLimitExceeded!=`boolean`)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0?!0:a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded==`boolean`?e.throwOnLimitExceeded:!1}};t.exports=function(e,t){var r=m(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=p(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),Ot=a(((e,t)=>{var n=Et(),r=Dt();t.exports={formats:wt(),parse:r,stringify:n}})),kt=a(((e,t)=>{var n=B(),r=N()(`body-parser:urlencoded`),i=Ne(),a=Ot(),{normalizeOptions:o}=Me();t.exports=s;function s(e){let t=o(e,`application/x-www-form-urlencoded`);if(t.defaultCharset!==`utf-8`&&t.defaultCharset!==`iso-8859-1`)throw TypeError(`option defaultCharset must be either utf-8 or iso-8859-1`);var n=c(e);function a(e,t){return e.length?n(e,t):{}}let s={...t,isValidCharset:e=>e===`utf-8`||e===`iso-8859-1`};return function(e,t,n){i(e,t,n,a,r,s)}}function c(e){var t=!!e?.extended,i=e?.parameterLimit===void 0?1e3:e?.parameterLimit,o=e?.charsetSentinel,s=e?.interpretNumericEntities,c=t?e?.depth===void 0?32:e?.depth:0;if(isNaN(i)||i<1)throw TypeError(`option parameterLimit must be a positive number`);if(isNaN(c)||c<0)throw TypeError(`option depth must be a zero or a positive number`);return isFinite(i)&&(i|=0),function(e,u){var d=l(e,i);if(d===void 0)throw r(`too many parameters`),n(413,`too many parameters`,{type:`parameters.too.many`});var f=t?Math.max(100,d):d;r(`parse `+(t?`extended `:``)+`urlencoding`);try{return a.parse(e,{allowPrototypes:!0,arrayLimit:f,depth:c,charsetSentinel:o,interpretNumericEntities:s,charset:u,parameterLimit:i,strictDepth:!0})}catch(e){throw e instanceof RangeError?n(400,`The input exceeded the depth`,{type:`querystring.parse.rangeError`}):e}}}function l(e,t){let n=0,r=-1;do{if(n++,n>t)return;r=e.indexOf(`&`,r+1)}while(r!==-1);return n}})),At=a(((e,t)=>{e=t.exports=n,Object.defineProperty(e,`json`,{configurable:!0,enumerable:!0,get:()=>Pe()}),Object.defineProperty(e,`raw`,{configurable:!0,enumerable:!0,get:()=>Fe()}),Object.defineProperty(e,`text`,{configurable:!0,enumerable:!0,get:()=>Ie()}),Object.defineProperty(e,`urlencoded`,{configurable:!0,enumerable:!0,get:()=>kt()});function n(){throw Error(`The bodyParser() generic has been split into individual middleware to use instead.`)}})),jt=a(((e,t)=>{function n(e,t,n=!0){if(!e)throw TypeError("The `destination` argument is required.");if(!t)throw TypeError("The `source` argument is required.");for(let r of Object.getOwnPropertyNames(t)){if(!n&&Object.hasOwn(e,r))continue;let i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i)}return e}t.exports=n})),Mt=a(((e,t)=>{t.exports=a;var n=/(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g,r=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,i=`$1�$2`;function a(e){return String(e).replace(r,i).replace(n,encodeURI)}})),Nt=a(((e,t)=>{var n=/["'&<>]/;t.exports=r;function r(e){var t=``+e,r=n.exec(t);if(!r)return t;var i,a=``,o=0,s=0;for(o=r.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:i=`&quot;`;break;case 38:i=`&amp;`;break;case 39:i=`&#39;`;break;case 60:i=`&lt;`;break;case 62:i=`&gt;`;break;default:continue}s!==o&&(a+=t.substring(s,o)),s=o+1,a+=i}return s===o?a:a+t.substring(s,o)}})),Pt=a(((e,n)=>{var r=t(`url`),i=r.parse,a=r.Url;n.exports=o,n.exports.original=s;function o(e){var t=e.url;if(t!==void 0){var n=e._parsedUrl;return l(t,n)?n:(n=c(t),n._raw=t,e._parsedUrl=n)}}function s(e){var t=e.originalUrl;if(typeof t!=`string`)return o(e);var n=e._parsedOriginalUrl;return l(t,n)?n:(n=c(t),n._raw=t,e._parsedOriginalUrl=n)}function c(e){if(typeof e!=`string`||e.charCodeAt(0)!==47)return i(e);for(var t=e,n=null,r=null,o=1;o<e.length;o++)switch(e.charCodeAt(o)){case 63:r===null&&(t=e.substring(0,o),n=e.substring(o+1),r=e.substring(o));break;case 9:case 10:case 12:case 13:case 32:case 35:case 160:case 65279:return i(e)}var s=a===void 0?{}:new a;return s.path=e,s.href=e,s.pathname=t,r!==null&&(s.query=n,s.search=r),s}function l(e,t){return typeof t==`object`&&!!t&&(a===void 0||t instanceof a)&&t._raw===e}})),Ft=a(((e,t)=>{var n=N()(`finalhandler`),r=Mt(),i=Nt(),a=we(),o=Pt(),s=L(),c=a.isFinished;function l(e){return`<!DOCTYPE html>
33
+ `+t.prev}function we(e,t){var n=B(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=W(e,i)?t(e[i],e):``}var a=typeof D==`function`?D(e):[],o;if(k){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)W(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&o[`$`+c]instanceof Symbol||(x.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof D==`function`)for(var l=0;l<a.length;l++)j.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),Be=a(((e,t)=>{var n=ze(),r=Le(),i=function(e,t,n){for(var r=e,i;(i=r.next)!=null;r=i)if(i.key===t)return r.next=i.next,n||(i.next=e.next,e.next=i),i},a=function(e,t){if(e){var n=i(e,t);return n&&n.value}},o=function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},s=function(e,t){return e?!!i(e,t):!1},c=function(e,t){if(e)return i(e,t,!0)};t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r(`Side channel does not contain `+n(e))},delete:function(t){var n=e&&e.next,r=c(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return a(e,t)},has:function(t){return s(e,t)},set:function(t,n){e||={next:void 0},o(e,t,n)}};return t}})),Ve=a(((e,t)=>{t.exports=Object})),He=a(((e,t)=>{t.exports=Error})),Ue=a(((e,t)=>{t.exports=EvalError})),We=a(((e,t)=>{t.exports=RangeError})),Ge=a(((e,t)=>{t.exports=ReferenceError})),Ke=a(((e,t)=>{t.exports=SyntaxError})),qe=a(((e,t)=>{t.exports=URIError})),Je=a(((e,t)=>{t.exports=Math.abs})),Ye=a(((e,t)=>{t.exports=Math.floor})),Xe=a(((e,t)=>{t.exports=Math.max})),Ze=a(((e,t)=>{t.exports=Math.min})),Qe=a(((e,t)=>{t.exports=Math.pow})),$e=a(((e,t)=>{t.exports=Math.round})),et=a(((e,t)=>{t.exports=Number.isNaN||function(e){return e!==e}})),tt=a(((e,t)=>{var n=et();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}})),nt=a(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),rt=a(((e,t)=>{var n=nt();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),it=a(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),at=a(((e,t)=>{t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}})),ot=a(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=at();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),st=a(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),ct=a(((e,t)=>{t.exports=Ve().getPrototypeOf||null})),lt=a(((e,t)=>{var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}})),ut=a(((e,t)=>{var n=lt();t.exports=Function.prototype.bind||n})),dt=a(((e,t)=>{t.exports=Function.prototype.call})),ft=a(((e,t)=>{t.exports=Function.prototype.apply})),pt=a(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),mt=a(((e,t)=>{var n=ut(),r=ft(),i=dt();t.exports=pt()||n.call(i,r)})),ht=a(((e,t)=>{var n=ut(),r=Le(),i=dt(),a=mt();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),gt=a(((e,t)=>{var n=ht(),r=rt(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`?function(e){return s(e==null?e:o(e))}:!1})),_t=a(((e,t)=>{var n=st(),r=ct(),i=gt();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null})),vt=a(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=ut().call(n,r)})),yt=a(((e,t)=>{var n,r=Ve(),i=He(),a=Ue(),o=We(),s=Ge(),c=Ke(),l=Le(),u=qe(),d=Je(),f=Ye(),p=Xe(),m=Ze(),h=Qe(),g=$e(),_=tt(),v=Function,y=function(e){try{return v(`"use strict"; return (`+e+`).constructor;`)()}catch{}},b=rt(),x=it(),S=function(){throw new l},C=b?function(){try{return arguments.callee,S}catch{try{return b(arguments,`callee`).get}catch{return S}}}():S,w=ot()(),T=_t(),E=ct(),D=st(),O=ft(),k=dt(),A={},j=typeof Uint8Array>`u`||!T?n:T(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":w&&T?T([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":A,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":w&&T?T(T([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!w||!T?n:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!w||!T?n:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":w&&T?T(``[Symbol.iterator]()):n,"%Symbol%":w?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":C,"%TypedArray%":j,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":k,"%Function.prototype.apply%":O,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":E,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":D};if(T)try{null.error}catch(e){M[`%Error.prototype%`]=T(T(e))}var ee=function e(t){var n;if(t===`%AsyncFunction%`)n=y(`async function () {}`);else if(t===`%GeneratorFunction%`)n=y(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=y(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&T&&(n=T(i.prototype))}return M[t]=n,n},N={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},P=ut(),F=vt(),I=P.call(k,Array.prototype.concat),L=P.call(O,Array.prototype.splice),R=P.call(k,String.prototype.replace),te=P.call(k,String.prototype.slice),z=P.call(k,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,H=function(e){var t=te(e,0,1),n=te(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return R(e,B,function(e,t,n,i){r[r.length]=n?R(i,V,`$1`):t||e}),r},ne=function(e,t){var n=e,r;if(F(N,n)&&(r=N[n],n=`%`+r[0]+`%`),F(M,n)){var i=M[n];if(i===A&&(i=ee(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(z(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=H(e),r=n.length>0?n[0]:``,i=ne(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],L(n,I([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=te(p,0,1),h=te(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,F(M,a))o=M[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(b&&d+1>=n.length){var g=b(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=F(o,p),o=o[p];f&&!s&&(M[a]=o)}}return o}})),bt=a(((e,t)=>{var n=yt(),r=ht(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),xt=a(((e,t)=>{var n=yt(),r=bt(),i=ze(),a=Le(),o=n(`%Map%`,!0),s=r(`Map.prototype.get`,!0),c=r(`Map.prototype.set`,!0),l=r(`Map.prototype.has`,!0),u=r(`Map.prototype.delete`,!0),d=r(`Map.prototype.size`,!0);t.exports=!!o&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a(`Side channel does not contain `+i(e))},delete:function(t){if(e){var n=u(e,t);return d(e)===0&&(e=void 0),n}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return e?l(e,t):!1},set:function(t,n){e||=new o,c(e,t,n)}};return t}})),St=a(((e,t)=>{var n=yt(),r=bt(),i=ze(),a=xt(),o=Le(),s=n(`%WeakMap%`,!0),c=r(`WeakMap.prototype.get`,!0),l=r(`WeakMap.prototype.set`,!0),u=r(`WeakMap.prototype.has`,!0),d=r(`WeakMap.prototype.delete`,!0);t.exports=s?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new o(`Side channel does not contain `+i(e))},delete:function(n){if(s&&n&&(typeof n==`object`||typeof n==`function`)){if(e)return d(e,n)}else if(a&&t)return t.delete(n);return!1},get:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?c(e,n):t&&t.get(n)},has:function(n){return s&&n&&(typeof n==`object`||typeof n==`function`)&&e?u(e,n):!!t&&t.has(n)},set:function(n,r){s&&n&&(typeof n==`object`||typeof n==`function`)?(e||=new s,l(e,n,r)):a&&(t||=a(),t.set(n,r))}};return n}:a})),Ct=a(((e,t)=>{var n=Le(),r=ze(),i=Be(),a=xt(),o=St()||a||i;t.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+r(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||=o(),e.set(t,n)}};return t}})),wt=a(((e,t)=>{var n=String.prototype.replace,r=/%20/g,i={RFC1738:`RFC1738`,RFC3986:`RFC3986`};t.exports={default:i.RFC3986,formatters:{RFC1738:function(e){return n.call(e,r,`+`)},RFC3986:function(e){return String(e)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}})),Tt=a(((e,t)=>{var n=wt(),r=Ct(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},l=function(e){return o.get(e)},u=function(e,t){o.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e[e.length]=`%`+((t<16?`0`:``)+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)n[i]!==void 0&&(r[r.length]=n[i]);t.obj[t.prop]=r}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)e[r]!==void 0&&(n[r]=e[r]);return n},m=function e(t,n,r){if(!n)return t;if(typeof n!=`object`&&typeof n!=`function`){if(a(t)){var o=t.length;if(r&&typeof r.arrayLimit==`number`&&o>r.arrayLimit)return s(p(t.concat(n),r),o);t[o]=n}else if(t&&typeof t==`object`)if(c(t)){var d=l(t)+1;t[d]=n,u(t,d)}else if(r&&r.strictMerge)return[t,n];else (r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0);else return[t,n];return t}if(!t||typeof t!=`object`){if(c(n)){for(var f=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<f.length;h++){var g=parseInt(f[h],10);m[g+1]=n[f[h]]}return s(m,l(n)+1)}var _=[t].concat(n);return r&&typeof r.arrayLimit==`number`&&_.length>r.arrayLimit?s(p(_,r),_.length-1):_}var v=t;return a(t)&&!a(n)&&(v=p(t,r)),a(t)&&a(n)?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&typeof o==`object`&&n&&typeof n==`object`?t[a]=e(o,n,r):t[t.length]=n}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];if(i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,c(n)&&!c(t)&&s(t,l(n)),c(t)){var d=parseInt(a,10);String(d)===a&&d>=0&&d>l(t)&&u(t,d)}return t},v)},h=function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},g=function(e,t,n){var r=e.replace(/\+/g,` `);if(n===`iso-8859-1`)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch{return r}},_=1024;t.exports={arrayToObject:p,assign:h,combine:function(e,t,n,r){if(c(e)){var i=l(e)+1;return e[i]=t,u(e,i),e}var a=[].concat(e,t);return a.length>n?s(p(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:`o`}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),s=0;s<o.length;++s){var c=o[s],l=a[c];typeof l==`object`&&l&&n.indexOf(l)===-1&&(t[t.length]={obj:a,prop:c},n[n.length]=l)}return f(t),e},decode:g,encode:function(e,t,r,i,a){if(e.length===0)return e;var o=e;if(typeof e==`symbol`?o=Symbol.prototype.toString.call(e):typeof e!=`string`&&(o=String(e)),r===`iso-8859-1`)return escape(o).replace(/%u[0-9a-f]{4}/gi,function(e){return`%26%23`+parseInt(e.slice(2),16)+`%3B`});for(var s=``,c=0;c<o.length;c+=_){for(var l=o.length>=_?o.slice(c,c+_):o,u=[],f=0;f<l.length;++f){var p=l.charCodeAt(f);if(p===45||p===46||p===95||p===126||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===n.RFC1738&&(p===40||p===41)){u[u.length]=l.charAt(f);continue}if(p<128){u[u.length]=d[p];continue}if(p<2048){u[u.length]=d[192|p>>6]+d[128|p&63];continue}if(p<55296||p>=57344){u[u.length]=d[224|p>>12]+d[128|p>>6&63]+d[128|p&63];continue}f+=1,p=65536+((p&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=d[240|p>>18]+d[128|p>>12&63]+d[128|p>>6&63]+d[128|p&63]}s+=u.join(``)}return s},isBuffer:function(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function(e){return Object.prototype.toString.call(e)===`[object RegExp]`},markOverflow:s,maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:m}})),Et=a(((e,t)=>{var n=Ct(),r=Tt(),i=wt(),a=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+`[]`},comma:`comma`,indices:function(e,t){return e+`[`+t+`]`},repeat:function(e){return e}},s=Array.isArray,c=Array.prototype.push,l=function(e,t){c.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=i.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:`indices`,charset:`utf-8`,charsetSentinel:!1,commaRoundTrip:!1,delimiter:`&`,encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:d,formatter:i.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function e(t,i,a,o,c,u,d,h,g,_,v,y,b,x,S,C,w,T){for(var E=t,D=T,O=0,k=!1;(D=D.get(m))!==void 0&&!k;){var A=D.get(t);if(O+=1,A!==void 0){if(A===O)throw RangeError(`Cyclic object value`);k=!0}D.get(m)===void 0&&(O=0)}if(typeof _==`function`?E=_(i,E):E instanceof Date?E=b(E):a===`comma`&&s(E)&&(E=r.maybeMap(E,function(e){return e instanceof Date?b(e):e})),E===null){if(u)return g&&!C?g(i,f.encoder,w,`key`,x):i;E=``}if(p(E)||r.isBuffer(E))return g?[S(C?i:g(i,f.encoder,w,`key`,x))+`=`+S(g(E,f.encoder,w,`value`,x))]:[S(i)+`=`+S(String(E))];var j=[];if(E===void 0)return j;var M;if(a===`comma`&&s(E))C&&g&&(E=r.maybeMap(E,g)),M=[{value:E.length>0?E.join(`,`)||null:void 0}];else if(s(_))M=_;else{var ee=Object.keys(E);M=v?ee.sort(v):ee}var N=h?String(i).replace(/\./g,`%2E`):String(i),P=o&&s(E)&&E.length===1?N+`[]`:N;if(c&&s(E)&&E.length===0)return P+`[]`;for(var F=0;F<M.length;++F){var I=M[F],L=typeof I==`object`&&I&&I.value!==void 0?I.value:E[I];if(!(d&&L===null)){var R=y&&h?String(I).replace(/\./g,`%2E`):String(I),te=s(E)?typeof a==`function`?a(P,R):P:P+(y?`.`+R:`[`+R+`]`);T.set(t,O);var z=n();z.set(m,T),l(j,e(L,te,a,o,c,u,d,h,a===`comma`&&C&&s(E)?null:g,_,v,y,b,x,S,C,w,z))}}return j},g=function(e){if(!e)return f;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.encodeDotInKeys!==void 0&&typeof e.encodeDotInKeys!=`boolean`)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&e.encoder!==void 0&&typeof e.encoder!=`function`)throw TypeError(`Encoder has to be a function.`);var t=e.charset||f.charset;if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);var n=i.default;if(e.format!==void 0){if(!a.call(i.formatters,e.format))throw TypeError(`Unknown format option provided.`);n=e.format}var r=i.formatters[n],c=f.filter;(typeof e.filter==`function`||s(e.filter))&&(c=e.filter);var l=e.arrayFormat in o?e.arrayFormat:`indices`in e?e.indices?`indices`:`repeat`:f.arrayFormat;if(`commaRoundTrip`in e&&typeof e.commaRoundTrip!=`boolean`)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=e.allowDots===void 0?e.encodeDotInKeys===!0?!0:f.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?f.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:f.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:f.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:f.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:f.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:f.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:f.strictNullHandling}};t.exports=function(e,t){var r=e,i=g(t),a,c;typeof i.filter==`function`?(c=i.filter,r=c(``,r)):s(i.filter)&&(c=i.filter,a=c);var u=[];if(typeof r!=`object`||!r)return``;var d=o[i.arrayFormat],f=d===`comma`&&i.commaRoundTrip;a||=Object.keys(r),i.sort&&a.sort(i.sort);for(var p=n(),m=0;m<a.length;++m){var _=a[m],v=r[_];i.skipNulls&&v===null||l(u,h(v,_,d,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var y=u.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B&`:b+=`utf8=%E2%9C%93&`),y.length>0?b+y:``}})),Dt=a(((e,t)=>{var n=Tt(),r=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:`utf-8`,charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:`&`,depth:5,duplicates:`combine`,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},o=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},s=function(e,t,n){if(e&&typeof e==`string`&&t.comma&&e.indexOf(`,`)>-1)return e.split(`,`);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);return e},c=`utf8=%26%2310003%3B`,l=`utf8=%E2%9C%93`,u=function(e,t){var u={__proto__:null},d=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;d=d.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=d.split(t.delimiter,t.throwOnLimitExceeded?f+1:f);if(t.throwOnLimitExceeded&&p.length>f)throw RangeError(`Parameter limit exceeded. Only `+f+` parameter`+(f===1?``:`s`)+` allowed.`);var m=-1,h,g=t.charset;if(t.charsetSentinel)for(h=0;h<p.length;++h)p[h].indexOf(`utf8=`)===0&&(p[h]===l?g=`utf-8`:p[h]===c&&(g=`iso-8859-1`),m=h,h=p.length);for(h=0;h<p.length;++h)if(h!==m){var _=p[h],v=_.indexOf(`]=`),y=v===-1?_.indexOf(`=`):v+1,b,x;if(y===-1?(b=t.decoder(_,a.decoder,g,`key`),x=t.strictNullHandling?null:``):(b=t.decoder(_.slice(0,y),a.decoder,g,`key`),b!==null&&(x=n.maybeMap(s(_.slice(y+1),t,i(u[b])?u[b].length:0),function(e){return t.decoder(e,a.decoder,g,`value`)}))),x&&t.interpretNumericEntities&&g===`iso-8859-1`&&(x=o(String(x))),_.indexOf(`[]=`)>-1&&(x=i(x)?[x]:x),t.comma&&i(x)&&x.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);x=n.combine([],x,t.arrayLimit,t.plainObjects)}if(b!==null){var S=r.call(u,b);S&&(t.duplicates===`combine`||_.indexOf(`[]=`)>-1)?u[b]=n.combine(u[b],x,t.arrayLimit,t.plainObjects):(!S||t.duplicates===`last`)&&(u[b]=x)}}return u},d=function(e,t,r,i){var a=0;if(e.length>0&&e[e.length-1]===`[]`){var o=e.slice(0,-1).join(``);a=Array.isArray(t)&&t[o]?t[o].length:0}for(var c=i?t:s(t,r,a),l=e.length-1;l>=0;--l){var u,d=e[l];if(d===`[]`&&r.parseArrays)u=n.isOverflow(c)?c:r.allowEmptyArrays&&(c===``||r.strictNullHandling&&c===null)?[]:n.combine([],c,r.arrayLimit,r.plainObjects);else{u=r.plainObjects?{__proto__:null}:{};var f=d.charAt(0)===`[`&&d.charAt(d.length-1)===`]`?d.slice(1,-1):d,p=r.decodeDotInKeys?f.replace(/%2E/g,`.`):f,m=parseInt(p,10),h=!isNaN(m)&&d!==p&&String(m)===p&&m>=0&&r.parseArrays;if(!r.parseArrays&&p===``)u={0:c};else if(h&&m<r.arrayLimit)u=[],u[m]=c;else if(h&&r.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+r.arrayLimit+` element`+(r.arrayLimit===1?``:`s`)+` allowed in an array.`);else h?(u[m]=c,n.markOverflow(u,m)):p!==`__proto__`&&(u[p]=c)}c=u}return c},f=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,`[$1]`):e;if(t.depth<=0)return!t.plainObjects&&r.call(Object.prototype,n)&&!t.allowPrototypes?void 0:[n];var i=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,o=i.exec(n),s=o?n.slice(0,o.index):n,c=[];if(s){if(!t.plainObjects&&r.call(Object.prototype,s)&&!t.allowPrototypes)return;c[c.length]=s}for(var l=0;(o=a.exec(n))!==null&&l<t.depth;){l+=1;var u=o[1].slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,u)&&!t.allowPrototypes)return;c[c.length]=o[1]}if(o){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);c[c.length]=`[`+n.slice(o.index)+`]`}return c},p=function(e,t,n,r){if(e){var i=f(e,n);if(i)return d(i,t,n,r)}},m=function(e){if(!e)return a;if(e.allowEmptyArrays!==void 0&&typeof e.allowEmptyArrays!=`boolean`)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(e.decodeDotInKeys!==void 0&&typeof e.decodeDotInKeys!=`boolean`)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!=`function`)throw TypeError(`Decoder has to be a function.`);if(e.charset!==void 0&&e.charset!==`utf-8`&&e.charset!==`iso-8859-1`)throw TypeError(`The charset option must be either utf-8, iso-8859-1, or undefined`);if(e.throwOnLimitExceeded!==void 0&&typeof e.throwOnLimitExceeded!=`boolean`)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=e.charset===void 0?a.charset:e.charset,r=e.duplicates===void 0?a.duplicates:e.duplicates;if(r!==`combine`&&r!==`first`&&r!==`last`)throw TypeError(`The duplicates option must be either combine, first, or last`);return{allowDots:e.allowDots===void 0?e.decodeDotInKeys===!0?!0:a.allowDots:!!e.allowDots,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof e.allowPrototypes==`boolean`?e.allowPrototypes:a.allowPrototypes,allowSparse:typeof e.allowSparse==`boolean`?e.allowSparse:a.allowSparse,arrayLimit:typeof e.arrayLimit==`number`?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:a.charsetSentinel,comma:typeof e.comma==`boolean`?e.comma:a.comma,decodeDotInKeys:typeof e.decodeDotInKeys==`boolean`?e.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof e.decoder==`function`?e.decoder:a.decoder,delimiter:typeof e.delimiter==`string`||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:typeof e.depth==`number`||e.depth===!1?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities==`boolean`?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof e.parameterLimit==`number`?e.parameterLimit:a.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects==`boolean`?e.plainObjects:a.plainObjects,strictDepth:typeof e.strictDepth==`boolean`?!!e.strictDepth:a.strictDepth,strictMerge:typeof e.strictMerge==`boolean`?!!e.strictMerge:a.strictMerge,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:typeof e.throwOnLimitExceeded==`boolean`?e.throwOnLimitExceeded:!1}};t.exports=function(e,t){var r=m(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?u(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],l=p(c,i[c],r,typeof e==`string`);a=n.merge(a,l,r)}return r.allowSparse===!0?a:n.compact(a)}})),Ot=a(((e,t)=>{var n=Et(),r=Dt();t.exports={formats:wt(),parse:r,stringify:n}})),kt=a(((e,t)=>{var n=B(),r=N()(`body-parser:urlencoded`),i=Ne(),a=Ot(),{normalizeOptions:o}=Me();t.exports=s;function s(e){let t=o(e,`application/x-www-form-urlencoded`);if(t.defaultCharset!==`utf-8`&&t.defaultCharset!==`iso-8859-1`)throw TypeError(`option defaultCharset must be either utf-8 or iso-8859-1`);var n=c(e);function a(e,t){return e.length?n(e,t):{}}let s={...t,isValidCharset:e=>e===`utf-8`||e===`iso-8859-1`};return function(e,t,n){i(e,t,n,a,r,s)}}function c(e){var t=!!e?.extended,i=e?.parameterLimit===void 0?1e3:e?.parameterLimit,o=e?.charsetSentinel,s=e?.interpretNumericEntities,c=t?e?.depth===void 0?32:e?.depth:0;if(isNaN(i)||i<1)throw TypeError(`option parameterLimit must be a positive number`);if(isNaN(c)||c<0)throw TypeError(`option depth must be a zero or a positive number`);return isFinite(i)&&(i|=0),function(e,u){var d=l(e,i);if(d===void 0)throw r(`too many parameters`),n(413,`too many parameters`,{type:`parameters.too.many`});var f=t?Math.max(100,d):d;r(`parse `+(t?`extended `:``)+`urlencoding`);try{return a.parse(e,{allowPrototypes:!0,arrayLimit:f,depth:c,charsetSentinel:o,interpretNumericEntities:s,charset:u,parameterLimit:i,strictDepth:!0})}catch(e){throw e instanceof RangeError?n(400,`The input exceeded the depth`,{type:`querystring.parse.rangeError`}):e}}}function l(e,t){let n=0,r=-1;do{if(n++,n>t)return;r=e.indexOf(`&`,r+1)}while(r!==-1);return n}})),At=a(((e,t)=>{e=t.exports=n,Object.defineProperty(e,`json`,{configurable:!0,enumerable:!0,get:()=>Pe()}),Object.defineProperty(e,`raw`,{configurable:!0,enumerable:!0,get:()=>Fe()}),Object.defineProperty(e,`text`,{configurable:!0,enumerable:!0,get:()=>Ie()}),Object.defineProperty(e,`urlencoded`,{configurable:!0,enumerable:!0,get:()=>kt()});function n(){throw Error(`The bodyParser() generic has been split into individual middleware to use instead.`)}})),jt=a(((e,t)=>{function n(e,t,n=!0){if(!e)throw TypeError("The `destination` argument is required.");if(!t)throw TypeError("The `source` argument is required.");for(let r of Object.getOwnPropertyNames(t)){if(!n&&Object.hasOwn(e,r))continue;let i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i)}return e}t.exports=n})),Mt=a(((e,t)=>{t.exports=a;var n=/(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g,r=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,i=`$1�$2`;function a(e){return String(e).replace(r,i).replace(n,encodeURI)}})),Nt=a(((e,t)=>{var n=/["'&<>]/;t.exports=r;function r(e){var t=``+e,r=n.exec(t);if(!r)return t;var i,a=``,o=0,s=0;for(o=r.index;o<t.length;o++){switch(t.charCodeAt(o)){case 34:i=`&quot;`;break;case 38:i=`&amp;`;break;case 39:i=`&#39;`;break;case 60:i=`&lt;`;break;case 62:i=`&gt;`;break;default:continue}s!==o&&(a+=t.substring(s,o)),s=o+1,a+=i}return s===o?a:a+t.substring(s,o)}})),Pt=a(((e,n)=>{var r=t(`url`),i=r.parse,a=r.Url;n.exports=o,n.exports.original=s;function o(e){var t=e.url;if(t!==void 0){var n=e._parsedUrl;return l(t,n)?n:(n=c(t),n._raw=t,e._parsedUrl=n)}}function s(e){var t=e.originalUrl;if(typeof t!=`string`)return o(e);var n=e._parsedOriginalUrl;return l(t,n)?n:(n=c(t),n._raw=t,e._parsedOriginalUrl=n)}function c(e){if(typeof e!=`string`||e.charCodeAt(0)!==47)return i(e);for(var t=e,n=null,r=null,o=1;o<e.length;o++)switch(e.charCodeAt(o)){case 63:r===null&&(t=e.substring(0,o),n=e.substring(o+1),r=e.substring(o));break;case 9:case 10:case 12:case 13:case 32:case 35:case 160:case 65279:return i(e)}var s=a===void 0?{}:new a;return s.path=e,s.href=e,s.pathname=t,r!==null&&(s.query=n,s.search=r),s}function l(e,t){return typeof t==`object`&&!!t&&(a===void 0||t instanceof a)&&t._raw===e}})),Ft=a(((e,t)=>{var n=N()(`finalhandler`),r=Mt(),i=Nt(),a=we(),o=Pt(),s=L(),c=a.isFinished;function l(e){return`<!DOCTYPE html>
34
34
  <html lang="en">
35
35
  <head>
36
36
  <meta charset="utf-8">
@@ -41,7 +41,7 @@ t.exports=Ee()})),Oe=a(((e,t)=>{var n={"prs.":100,"x-":200,"x.":300,"vnd.":400,d
41
41
  `,`<br>`).replaceAll(` `,` &nbsp;`)+`</pre>
42
42
  </body>
43
43
  </html>
44
- `}t.exports=u;function u(e,t,i){var a=i||{},o=a.env||process.env.NODE_ENV||`development`,s=a.onerror;return function(i){var a,c,l;if(!i&&t.headersSent){n(`cannot 404 after headers sent`);return}if(i?(l=p(i),l===void 0?l=h(t):a=d(i),c=f(i,l,o)):(l=404,c=`Cannot `+e.method+` `+r(m(e))),n(`default %s`,l),i&&s&&setImmediate(s,i,e,t),t.headersSent){n(`cannot %d after headers sent`,l),e.socket&&e.socket.destroy();return}g(e,t,l,a,c)}}function d(e){if(!(!e.headers||typeof e.headers!=`object`))return{...e.headers}}function f(e,t,n){var r;return n!==`production`&&(r=e.stack,!r&&typeof e.toString==`function`&&(r=e.toString())),r||s.message[t]}function p(e){if(typeof e.status==`number`&&e.status>=400&&e.status<600)return e.status;if(typeof e.statusCode==`number`&&e.statusCode>=400&&e.statusCode<600)return e.statusCode}function m(e){try{return o.original(e).pathname}catch{return`resource`}}function h(e){var t=e.statusCode;return(typeof t!=`number`||t<400||t>599)&&(t=500),t}function g(e,t,n,r,i){function o(){var a=l(i);t.statusCode=n,e.httpVersionMajor<2&&(t.statusMessage=s.message[n]),t.removeHeader(`Content-Encoding`),t.removeHeader(`Content-Language`),t.removeHeader(`Content-Range`);for(let[e,n]of Object.entries(r??{}))t.setHeader(e,n);if(t.setHeader(`Content-Security-Policy`,`default-src 'none'`),t.setHeader(`X-Content-Type-Options`,`nosniff`),t.setHeader(`Content-Type`,`text/html; charset=utf-8`),t.setHeader(`Content-Length`,Buffer.byteLength(a,`utf8`)),e.method===`HEAD`){t.end();return}t.end(a,`utf8`)}if(c(e)){o();return}e.unpipe(),a(e,o),e.resume()}})),It=a(((e,n)=>{var r=N()(`express:view`),i=t(`node:path`),a=t(`node:fs`),o=i.dirname,s=i.basename,c=i.extname,l=i.join,u=i.resolve;n.exports=d;function d(e,n){var i=n||{};if(this.defaultEngine=i.defaultEngine,this.ext=c(e),this.name=e,this.root=i.root,!this.ext&&!this.defaultEngine)throw Error(`No default engine was specified and no extension was provided.`);var a=e;if(this.ext||(this.ext=this.defaultEngine[0]===`.`?this.defaultEngine:`.`+this.defaultEngine,a+=this.ext),!i.engines[this.ext]){var o=this.ext.slice(1);r(`require "%s"`,o);var s=t(o).__express;if(typeof s!=`function`)throw Error(`Module "`+o+`" does not provide a view engine.`);i.engines[this.ext]=s}this.engine=i.engines[this.ext],this.path=this.lookup(a)}d.prototype.lookup=function(e){var t,n=[].concat(this.root);r(`lookup "%s"`,e);for(var i=0;i<n.length&&!t;i++){var a=n[i],c=u(a,e),l=o(c),d=s(c);t=this.resolve(l,d)}return t},d.prototype.render=function(e,t){var n=!0;r(`render "%s"`,this.path),this.engine(this.path,e,function(){if(!n)return t.apply(this,arguments);for(var e=Array(arguments.length),r=this,i=0;i<arguments.length;i++)e[i]=arguments[i];return process.nextTick(function(){return t.apply(r,e)})}),n=!1},d.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),i=f(r);if(i&&i.isFile()||(r=l(e,s(t,n),`index`+n),i=f(r),i&&i.isFile()))return r};function f(e){r(`stat "%s"`,e);try{return a.statSync(e)}catch{return}}})),Lt=a(((e,n)=>{n.exports=s;var r=t(`crypto`),i=t(`fs`).Stats,a=Object.prototype.toString;function o(e){if(e.length===0)return`"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"`;var t=r.createHash(`sha1`).update(e,`utf8`).digest(`base64`).substring(0,27);return`"`+(typeof e==`string`?Buffer.byteLength(e,`utf8`):e.length).toString(16)+`-`+t+`"`}function s(e,t){if(e==null)throw TypeError(`argument entity is required`);var n=c(e),r=t&&typeof t.weak==`boolean`?t.weak:n;if(!n&&typeof e!=`string`&&!Buffer.isBuffer(e))throw TypeError(`argument entity must be string, Buffer, or fs.Stats`);var i=n?l(e):o(e);return r?`W/`+i:i}function c(e){return typeof i==`function`&&e instanceof i?!0:e&&typeof e==`object`&&`ctime`in e&&a.call(e.ctime)===`[object Date]`&&`mtime`in e&&a.call(e.mtime)===`[object Date]`&&`ino`in e&&typeof e.ino==`number`&&`size`in e&&typeof e.size==`number`}function l(e){var t=e.mtime.getTime().toString(16);return`"`+e.size.toString(16)+`-`+t+`"`}})),Rt=a(((e,t)=>{t.exports=n;function n(e){if(!e)throw TypeError(`argument req is required`);var t=i(e.headers[`x-forwarded-for`]||``);return[r(e)].concat(t)}function r(e){return e.socket?e.socket.remoteAddress:e.connection.remoteAddress}function i(e){for(var t=e.length,n=[],r=e.length,i=e.length-1;i>=0;i--)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i);break;case 44:r!==t&&n.push(e.substring(r,t)),r=t=i;break;default:r=i;break}return r!==t&&n.push(e.substring(r,t)),n}})),zt=a(((e,t)=>{(function(){var e,n={},r,i,a,o,s,c=this,l;t!=null&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,a;if(e.length!==t.length)throw Error(`ipaddr: cannot match CIDR for objects with different lengths`);for(i=0;r>0;){if(a=n-r,a<0&&(a=0),e[i]>>a!==t[i]>>a)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,a,o,s;for(a in n??=`unicast`,t)for(o=t[a],o[0]&&!(o[0]instanceof Array)&&(o=[o]),r=0,i=o.length;r<i;r++)if(s=o[r],e.kind()===s[0].kind()&&e.match.apply(e,s))return a;return n},n.IPv4=(function(){function e(e){var t,n,r;if(e.length!==4)throw Error(`ipaddr: ipv4 octet count should be 4`);for(t=0,n=e.length;t<n;t++)if(r=e[t],!(0<=r&&r<=255))throw Error(`ipaddr: ipv4 octet should fit in 8 bits`);this.octets=e}return e.prototype.kind=function(){return`ipv4`},e.prototype.toString=function(){return this.octets.join(`.`)},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv4`)throw Error(`ipaddr: cannot match ipv4 address with non-ipv4 one`);return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(`::ffff:`+this.toString())},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,n,r,i,a,o={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=0,i=!1,t=n=3;n>=0;t=n+=-1)if(r=this.octets[t],r in o){if(a=o[r],i&&a!==0)return null;a!==8&&(i=!0),e+=a}else return null;return 32-e},e})(),r=`(0?\\d+|0x[a-f0-9]+)`,i={fourOctet:RegExp(`^`+r+`\\.`+r+`\\.`+r+`\\.`+r+`$`,`i`),longValue:RegExp(`^`+r+`$`,`i`)},n.IPv4.parser=function(e){var t,n=function(e){return e[0]===`0`&&e[1]!==`x`?parseInt(e,8):parseInt(e)},r,a,o;if(t=e.match(i.fourOctet))return(function(){var e,i,a=t.slice(1,6),o=[];for(e=0,i=a.length;e<i;e++)r=a[e],o.push(n(r));return o})();if(t=e.match(i.longValue)){if(o=n(t[1]),o>4294967295||o<0)throw Error(`ipaddr: address outside defined range`);return(function(){var e,t=[];for(a=e=0;e<=24;a=e+=8)t.push(o>>a&255);return t})().reverse()}else return null},n.IPv6=(function(){function e(e,t){var n,r,i,a,o,s;if(e.length===16)for(this.parts=[],n=r=0;r<=14;n=r+=2)this.parts.push(e[n]<<8|e[n+1]);else if(e.length===8)this.parts=e;else throw Error(`ipaddr: ipv6 part count should be 8 or 16`);for(s=this.parts,i=0,a=s.length;i<a;i++)if(o=s[i],!(0<=o&&o<=65535))throw Error(`ipaddr: ipv6 part should fit in 16 bits`);t&&(this.zoneId=t)}return e.prototype.kind=function(){return`ipv6`},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,`::`)},e.prototype.toRFC5952String=function(){var e,t,n,r=/((^|:)(0(:|$)){2,})/g,i=this.toNormalizedString();for(e=0,t=-1;n=r.exec(i);)n[0].length>t&&(e=n.index,t=n[0].length);return t<0?i:i.substring(0,e)+`::`+i.substring(e+t)},e.prototype.toByteArray=function(){var e=[],t,n,r,i=this.parts;for(t=0,n=i.length;t<n;t++)r=i[t],e.push(r>>8),e.push(r&255);return e},e.prototype.toNormalizedString=function(){var e=(function(){var e,n,r=this.parts,i=[];for(e=0,n=r.length;e<n;e++)t=r[e],i.push(t.toString(16));return i}).call(this).join(`:`),t,n=``;return this.zoneId&&(n=`%`+this.zoneId),e+n},e.prototype.toFixedLengthString=function(){var e=(function(){var e,n,r=this.parts,i=[];for(e=0,n=r.length;e<n;e++)t=r[e],i.push(t.toString(16).padStart(4,`0`));return i}).call(this).join(`:`),t,n=``;return this.zoneId&&(n=`%`+this.zoneId),e+n},e.prototype.match=function(e,t){var n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv6`)throw Error(`ipaddr: cannot match ipv6 address with non-ipv6 one`);return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return this.range()===`ipv4Mapped`},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw Error(`ipaddr: trying to convert a generic ipv6 address to ipv4`);return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,e&255,t>>8,t&255])},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,n,r,i,a,o={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};for(e=0,i=!1,t=n=7;n>=0;t=n+=-1)if(r=this.parts[t],r in o){if(a=o[r],i&&a!==0)return null;a!==16&&(i=!0),e+=a}else return null;return 128-e},e})(),a=`(?:[0-9a-f]+::?)+`,l=`%[0-9a-z]{1,}`,o={zoneIndex:new RegExp(l,`i`),native:RegExp(`^(::)?(`+a+`)?([0-9a-f]+)?(::)?(`+l+`)?$`,`i`),transitional:RegExp(`^((?:`+a+`)|(?:::)(?:`+a+`)?)`+(r+`\\.`+r+`\\.`+r+`\\.`+r)+(`(`+l+`)?$`),`i`)},e=function(e,t){var n,r,i,a,s,c;if(e.indexOf(`::`)!==e.lastIndexOf(`::`))return null;for(c=(e.match(o.zoneIndex)||[])[0],c&&(c=c.substring(1),e=e.replace(/%.+$/,``)),n=0,r=-1;(r=e.indexOf(`:`,r+1))>=0;)n++;if(e.substr(0,2)===`::`&&n--,e.substr(-2,2)===`::`&&n--,n>t)return null;for(s=t-n,a=`:`;s--;)a+=`0:`;return e=e.replace(`::`,a),e[0]===`:`&&(e=e.slice(1)),e[e.length-1]===`:`&&(e=e.slice(0,-1)),t=(function(){var t,n,r=e.split(`:`),a=[];for(t=0,n=r.length;t<n;t++)i=r[t],a.push(parseInt(i,16));return a})(),{parts:t,zoneId:c}},n.IPv6.parser=function(t){var n,r,i,a,s,c,l;if(o.native.test(t))return e(t,8);if((a=t.match(o.transitional))&&(l=a[6]||``,n=e(a[1].slice(0,-1)+l,6),n.parts)){for(c=[parseInt(a[2]),parseInt(a[3]),parseInt(a[4]),parseInt(a[5])],r=0,i=c.length;r<i;r++)if(s=c[r],!(0<=s&&s<=255))return null;return n.parts.push(c[0]<<8|c[1]),n.parts.push(c[2]<<8|c[3]),{parts:n.parts,zoneId:n.zoneId}}return null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return this.parser(e)!==null},n.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch{return!1}},n.IPv4.isValidFourPartDecimal=function(e){return!!(n.IPv4.isValid(e)&&e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},n.IPv6.isValid=function(e){var t;if(typeof e==`string`&&e.indexOf(`:`)===-1)return!1;try{return t=this.parser(e),new this(t.parts,t.zoneId),!0}catch{return!1}},n.IPv4.parse=function(e){var t=this.parser(e);if(t===null)throw Error(`ipaddr: string is not formatted like ip address`);return new this(t)},n.IPv6.parse=function(e){var t=this.parser(e);if(t.parts===null)throw Error(`ipaddr: string is not formatted like ip address`);return new this(t.parts,t.zoneId)},n.IPv4.parseCIDR=function(e){var t,n,r;if((n=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]),t>=0&&t<=32))return r=[this.parse(n[1]),t],Object.defineProperty(r,`toString`,{value:function(){return this.join(`/`)}}),r;throw Error(`ipaddr: string is not formatted like an IPv4 CIDR range`)},n.IPv4.subnetMaskFromPrefixLength=function(e){var t,n,r;if(e=parseInt(e),e<0||e>32)throw Error(`ipaddr: invalid IPv4 prefix length`);for(r=[0,0,0,0],n=0,t=Math.floor(e/8);n<t;)r[n]=255,n++;return t<4&&(r[t]=2**(e%8)-1<<8-e%8),new this(r)},n.IPv4.broadcastAddressFromCIDR=function(e){var t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)|parseInt(a[n],10)^255),n++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},n.IPv4.networkAddressFromCIDR=function(e){var t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)&parseInt(a[n],10)),n++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},n.IPv6.parseCIDR=function(e){var t,n,r;if((n=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]),t>=0&&t<=128))return r=[this.parse(n[1]),t],Object.defineProperty(r,`toString`,{value:function(){return this.join(`/`)}}),r;throw Error(`ipaddr: string is not formatted like an IPv6 CIDR range`)},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw Error(`ipaddr: the address has neither IPv6 nor IPv4 format`)},n.parseCIDR=function(e){try{return n.IPv6.parseCIDR(e)}catch{try{return n.IPv4.parseCIDR(e)}catch{throw Error(`ipaddr: the address has neither IPv6 nor IPv4 CIDR format`)}}},n.fromByteArray=function(e){var t=e.length;if(t===4)return new n.IPv4(e);if(t===16)return new n.IPv6(e);throw Error(`ipaddr: the binary input is neither an IPv6 nor IPv4 address`)},n.process=function(e){var t=this.parse(e);return t.kind()===`ipv6`&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(e)})),Bt=a(((e,t)=>{t.exports=m,t.exports.all=c,t.exports.compile=l;var n=Rt(),r=zt(),i=/^[0-9]+$/,a=r.isValid,o=r.parse,s={linklocal:[`169.254.0.0/16`,`fe80::/10`],loopback:[`127.0.0.1/8`,`::1/128`],uniquelocal:[`10.0.0.0/8`,`172.16.0.0/12`,`192.168.0.0/16`,`fc00::/7`]};function c(e,t){var r=n(e);if(!t)return r;typeof t!=`function`&&(t=l(t));for(var i=0;i<r.length-1;i++)t(r[i],i)||(r.length=i+1);return r}function l(e){if(!e)throw TypeError(`argument is required`);var t;if(typeof e==`string`)t=[e];else if(Array.isArray(e))t=e.slice();else throw TypeError(`unsupported trust argument`);for(var n=0;n<t.length;n++)e=t[n],Object.prototype.hasOwnProperty.call(s,e)&&(e=s[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return d(u(t))}function u(e){for(var t=Array(e.length),n=0;n<e.length;n++)t[n]=f(e[n]);return t}function d(e){var t=e.length;return t===0?h:t===1?_(e[0]):g(e)}function f(e){var t=e.lastIndexOf(`/`),n=t===-1?e:e.substring(0,t);if(!a(n))throw TypeError(`invalid IP address: `+n);var r=o(n);t===-1&&r.kind()===`ipv6`&&r.isIPv4MappedAddress()&&(r=r.toIPv4Address());var s=r.kind()===`ipv6`?128:32,c=t===-1?null:e.substring(t+1,e.length);if(c=c===null?s:i.test(c)?parseInt(c,10):r.kind()===`ipv4`&&a(c)?p(c):null,c<=0||c>s)throw TypeError(`invalid range on address: `+e);return[r,c]}function p(e){var t=o(e);return t.kind()===`ipv4`?t.prefixLengthFromSubnetMask():null}function m(e,t){if(!e)throw TypeError(`req argument is required`);if(!t)throw TypeError(`trust argument is required`);var n=c(e,t);return n[n.length-1]}function h(){return!1}function g(e){return function(t){if(!a(t))return!1;for(var n=o(t),r,i=n.kind(),s=0;s<e.length;s++){var c=e[s],l=c[0],u=l.kind(),d=c[1],f=n;if(i!==u){if(u===`ipv4`&&!n.isIPv4MappedAddress())continue;r||=u===`ipv4`?n.toIPv4Address():n.toIPv4MappedAddress(),f=r}if(f.match(l,d))return!0}return!1}}function _(e){var t=e[0],n=t.kind(),r=n===`ipv4`,i=e[1];return function(e){if(!a(e))return!1;var s=o(e);if(s.kind()!==n){if(r&&!s.isIPv4MappedAddress())return!1;s=r?s.toIPv4Address():s.toIPv4MappedAddress()}return s.match(t,i)}}})),Vt=a((e=>{var{METHODS:n}=t(`node:http`),r=Te(),i=Lt(),a=ke(),o=Bt(),s=Ot(),c=t(`node:querystring`);let{Buffer:l}=t(`node:buffer`);e.methods=n.map(e=>e.toLowerCase()),e.etag=d({weak:!1}),e.wetag=d({weak:!0}),e.normalizeType=function(e){return~e.indexOf(`/`)?u(e):{value:a.lookup(e)||`application/octet-stream`,params:{}}},e.normalizeTypes=function(t){return t.map(e.normalizeType)};function u(e){for(var t=e.length,n=e.indexOf(`;`),r=n===-1?t:n,i={value:e.slice(0,r).trim(),quality:1,params:{}};r<t;){var a=e.indexOf(`=`,r);if(a===-1)break;var n=e.indexOf(`;`,r),o=n===-1?t:n;if(a>o){r=e.lastIndexOf(`;`,a-1)+1;continue}var s=e.slice(r,a).trim(),c=e.slice(a+1,o).trim();s===`q`?i.quality=parseFloat(c):i.params[s]=c,r=o+1}return i}e.compileETag=function(t){var n;if(typeof t==`function`)return t;switch(t){case!0:case`weak`:n=e.wetag;break;case!1:break;case`strong`:n=e.etag;break;default:throw TypeError(`unknown value for etag function: `+t)}return n},e.compileQueryParser=function(e){var t;if(typeof e==`function`)return e;switch(e){case!0:case`simple`:t=c.parse;break;case!1:break;case`extended`:t=f;break;default:throw TypeError(`unknown value for query parser function: `+e)}return t},e.compileTrust=function(e){return typeof e==`function`?e:e===!0?function(){return!0}:typeof e==`number`?function(t,n){return n<e}:(typeof e==`string`&&(e=e.split(`,`).map(function(e){return e.trim()})),o.compile(e||[]))},e.setCharset=function(e,t){if(!e||!t)return e;var n=r.parse(e);return n.parameters.charset=t,r.format(n)};function d(e){return function(t,n){return i(l.isBuffer(t)?t:l.from(t,n),e)}}function f(e){return s.parse(e,{allowPrototypes:!0})}})),Ht=a(((e,t)=>{t.exports=n;function n(e,t){if(e&&t)return n(e)(t);if(typeof e!=`function`)throw TypeError(`need wrapper function`);return Object.keys(e).forEach(function(t){r[t]=e[t]}),r;function r(){for(var t=Array(arguments.length),n=0;n<t.length;n++)t[n]=arguments[n];var r=e.apply(this,t),i=t[t.length-1];return typeof r==`function`&&r!==i&&Object.keys(i).forEach(function(e){r[e]=i[e]}),r}}})),Ut=a(((e,t)=>{var n=Ht();t.exports=n(r),t.exports.strict=n(i),r.proto=r(function(){Object.defineProperty(Function.prototype,`once`,{value:function(){return r(this)},configurable:!0}),Object.defineProperty(Function.prototype,`onceStrict`,{value:function(){return i(this)},configurable:!0})});function r(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function i(e){var t=function(){if(t.called)throw Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)};return t.onceError=(e.name||"Function wrapped with `once`")+` shouldn't be called more than once`,t.called=!1,t}})),Wt=a(((e,t)=>{t.exports=n,t.exports.default=n;function n(e){return!!e&&(typeof e==`object`||typeof e==`function`)&&typeof e.then==`function`}})),Gt=a((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.PathError=e.TokenData=void 0,e.parse=l,e.compile=u,e.match=p,e.pathToRegexp=m,e.stringify=b;let t=e=>e,n=/^[$_\p{ID_Start}]$/u,r=/^[$\u200c\u200d\p{ID_Continue}]$/u,i={"{":`{`,"}":`}`,"(":`(`,")":`)`,"[":`[`,"]":`]`,"+":`+`,"?":`?`,"!":`!`};function a(e){return e.replace(/[{}()\[\]+?!:*\\]/g,`\\$&`)}function o(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,`\\$&`)}var s=class{constructor(e,t){this.tokens=e,this.originalPath=t}};e.TokenData=s;var c=class extends TypeError{constructor(e,t){let n=e;t&&(n+=`: ${t}`),n+=`; visit https://git.new/pathToRegexpError for info`,super(n),this.originalPath=t}};e.PathError=c;function l(e,a={}){let{encodePath:o=t}=a,l=[...e],u=[],d=0,f=0;function p(){let t=``;if(n.test(l[d]))do t+=l[d++];while(r.test(l[d]));else if(l[d]===`"`){let n=d;for(;d++<l.length;){if(l[d]===`"`){d++,n=0;break}l[d]===`\\`&&d++,t+=l[d]}if(n)throw new c(`Unterminated quote at index ${n}`,e)}if(!t)throw new c(`Missing parameter name at index ${d}`,e);return t}for(;d<l.length;){let e=l[d],t=i[e];t?u.push({type:t,index:d++,value:e}):e===`\\`?u.push({type:`escape`,index:d++,value:l[d++]}):e===`:`?u.push({type:`param`,index:d++,value:p()}):e===`*`?u.push({type:`wildcard`,index:d++,value:p()}):u.push({type:`char`,index:d++,value:e})}u.push({type:`end`,index:d,value:``});function m(t){let n=[];for(;;){let r=u[f++];if(r.type===t)break;if(r.type===`char`||r.type===`escape`){let e=r.value,t=u[f];for(;t.type===`char`||t.type===`escape`;)e+=t.value,t=u[++f];n.push({type:`text`,value:o(e)});continue}if(r.type===`param`||r.type===`wildcard`){n.push({type:r.type,name:r.value});continue}if(r.type===`{`){n.push({type:`group`,tokens:m(`}`)});continue}throw new c(`Unexpected ${r.type} at index ${r.index}, expected ${t}`,e)}return n}return new s(m(`end`),e)}function u(e,t={}){let{encode:n=encodeURIComponent,delimiter:r=`/`}=t,i=d((typeof e==`object`?e:l(e,t)).tokens,r,n);return function(e={}){let[t,...n]=i(e);if(n.length)throw TypeError(`Missing parameters: ${n.join(`, `)}`);return t}}function d(e,t,n){let r=e.map(e=>f(e,t,n));return e=>{let t=[``];for(let n of r){let[r,...i]=n(e);t[0]+=r,t.push(...i)}return t}}function f(e,n,r){if(e.type===`text`)return()=>[e.value];if(e.type===`group`){let t=d(e.tokens,n,r);return e=>{let[n,...r]=t(e);return r.length?[``]:[n]}}let i=r||t;return e.type===`wildcard`&&r!==!1?t=>{let r=t[e.name];if(r==null)return[``,e.name];if(!Array.isArray(r)||r.length===0)throw TypeError(`Expected "${e.name}" to be a non-empty array`);return[r.map((t,n)=>{if(typeof t!=`string`)throw TypeError(`Expected "${e.name}/${n}" to be a string`);return i(t)}).join(n)]}:t=>{let n=t[e.name];if(n==null)return[``,e.name];if(typeof n!=`string`)throw TypeError(`Expected "${e.name}" to be a string`);return[i(n)]}}function p(e,n={}){let{decode:r=decodeURIComponent,delimiter:i=`/`}=n,{regexp:a,keys:o}=m(e,n),s=o.map(e=>r===!1?t:e.type===`param`?r:e=>e.split(i).map(r));return function(e){let t=a.exec(e);if(!t)return!1;let n=t[0],r=Object.create(null);for(let e=1;e<t.length;e++){if(t[e]===void 0)continue;let n=o[e-1],i=s[e-1];r[n.name]=i(t[e])}return{path:n,params:r}}}function m(e,t={}){let{delimiter:n=`/`,end:r=!0,sensitive:i=!1,trailing:a=!0}=t,s=[],c=i?``:`i`,u=[];for(let r of h(e,[])){let e=typeof r==`object`?r:l(r,t);for(let t of g(e.tokens,0,[]))u.push(_(t,n,s,e.originalPath))}let d=`^(?:${u.join(`|`)})`;return a&&(d+=`(?:${o(n)}$)?`),d+=r?`$`:`(?=${o(n)}|$)`,{regexp:new RegExp(d,c),keys:s}}function h(e,t){if(Array.isArray(e))for(let n of e)h(n,t);else t.push(e);return t}function*g(e,t,n){if(t===e.length)return yield n;let r=e[t];if(r.type===`group`)for(let i of g(r.tokens,0,n.slice()))yield*g(e,t+1,i);else n.push(r);yield*g(e,t+1,n)}function _(e,t,n,r){let i=``,a=``,s=!0;for(let l of e){if(l.type===`text`){i+=o(l.value),a+=l.value,s||=l.value.includes(t);continue}if(l.type===`param`||l.type===`wildcard`){if(!s&&!a)throw new c(`Missing text before "${l.name}" ${l.type}`,r);l.type===`param`?i+=`(${v(t,s?``:a)}+)`:i+=`([\\s\\S]+)`,n.push(l),a=``,s=!1;continue}}return i}function v(e,t){return t.length<2?e.length<2?`[^${o(e+t)}]`:`(?:(?!${o(e)})[^${o(t)}])`:e.length<2?`(?:(?!${o(t)})[^${o(e)}])`:`(?:(?!${o(t)}|${o(e)})[\\s\\S])`}function y(e){let t=``,n=0;function r(t){return x(t)&&S(e[n])?t:JSON.stringify(t)}for(;n<e.length;){let i=e[n++];if(i.type===`text`){t+=a(i.value);continue}if(i.type===`group`){t+=`{${y(i.tokens)}}`;continue}if(i.type===`param`){t+=`:${r(i.name)}`;continue}if(i.type===`wildcard`){t+=`*${r(i.name)}`;continue}throw TypeError(`Unknown token type: ${i.type}`)}return t}function b(e){return y(e.tokens)}function x(e){let[t,...i]=e;return n.test(t)&&i.every(e=>r.test(e))}function S(e){return e&&e.type===`text`?!r.test(e.value[0]):!0}})),Kt=a(((e,t)=>{let n=Wt(),r=Gt(),i=N()(`router:layer`),a=P()(`router`),o=/\/+$/,s=/\((?:\?<(.*?)>)?(?!\?)/g;t.exports=c;function c(e,t,n){if(!(this instanceof c))return new c(e,t,n);i(`new %o`,e);let a=t||{};this.handle=n,this.keys=[],this.name=n.name||`<anonymous>`,this.params=void 0,this.path=void 0,this.slash=e===`/`&&a.end===!1;function o(e){if(e instanceof RegExp){let t=[],n=0,r;for(;r=s.exec(e.source);)t.push({name:r[1]||n++,offset:r.index});return function(n){let r=e.exec(n);if(!r)return!1;let i={};for(let e=1;e<r.length;e++){let n=t[e-1].name,a=l(r[e]);a!==void 0&&(i[n]=a)}return{params:i,path:r[0]}}}return r.match(a.strict?e:u(e),{sensitive:a.sensitive,end:a.end,trailing:!a.strict,decode:l})}this.matchers=Array.isArray(e)?e.map(o):[o(e)]}c.prototype.handleError=function(e,t,r,i){let o=this.handle;if(o.length!==4)return i(e);try{let s=o(e,t,r,i);n(s)&&(s instanceof Promise||a(`handlers that are Promise-like are deprecated, use a native Promise instead`),s.then(null,function(e){i(e||Error(`Rejected promise`))}))}catch(e){i(e)}},c.prototype.handleRequest=function(e,t,r){let i=this.handle;if(i.length>3)return r();try{let o=i(e,t,r);n(o)&&(o instanceof Promise||a(`handlers that are Promise-like are deprecated, use a native Promise instead`),o.then(null,function(e){r(e||Error(`Rejected promise`))}))}catch(e){r(e)}},c.prototype.match=function(e){let t;if(e!=null){if(this.slash)return this.params={},this.path=``,!0;let n=0;for(;!t&&n<this.matchers.length;)t=this.matchers[n](e),n++}return t?(this.params=t.params,this.path=t.path,this.keys=Object.keys(t.params),!0):(this.params=void 0,this.path=void 0,!1)};function l(e){if(typeof e!=`string`||e.length===0)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=`Failed to decode param '`+e+`'`,t.status=400),t}}function u(e){return e instanceof RegExp||e===`/`?e:Array.isArray(e)?e.map(function(e){return u(e)}):String(e).replace(o,``)}})),qt=a(((e,n)=>{let r=N()(`router:route`),i=Kt(),{METHODS:a}=t(`node:http`),o=Array.prototype.slice,s=Array.prototype.flat,c=a.map(e=>e.toLowerCase());n.exports=l;function l(e){r(`new %o`,e),this.path=e,this.stack=[],this.methods=Object.create(null)}l.prototype._handlesMethod=function(e){if(this.methods._all)return!0;let t=typeof e==`string`?e.toLowerCase():e;return t===`head`&&!this.methods.head&&(t=`get`),!!this.methods[t]},l.prototype._methods=function(){let e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(`head`);for(let t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},l.prototype.dispatch=function(e,t,n){let r=0,i=this.stack,a=0;if(i.length===0)return n();let o=typeof e.method==`string`?e.method.toLowerCase():e.method;o===`head`&&!this.methods.head&&(o=`get`),e.route=this,s();function s(c){if(c&&c===`route`)return n();if(c&&c===`router`||r>=i.length)return n(c);if(++a>100)return setImmediate(s,c);let l,u;for(;u!==!0&&r<i.length;)l=i[r++],u=!l.method||l.method===o;if(u!==!0)return n(c);c?l.handleError(c,e,t,s):l.handleRequest(e,t,s),a=0}},l.prototype.all=function(e){let t=s.call(o.call(arguments),1/0);if(t.length===0)throw TypeError(`argument handler is required`);for(let e=0;e<t.length;e++){let n=t[e];if(typeof n!=`function`)throw TypeError(`argument handler must be a function`);let r=i(`/`,{},n);r.method=void 0,this.methods._all=!0,this.stack.push(r)}return this},c.forEach(function(e){l.prototype[e]=function(t){let n=s.call(o.call(arguments),1/0);if(n.length===0)throw TypeError(`argument handler is required`);for(let t=0;t<n.length;t++){let a=n[t];if(typeof a!=`function`)throw TypeError(`argument handler must be a function`);r(`%s %s`,e,this.path);let o=i(`/`,{},a);o.method=e,this.methods[e]=!0,this.stack.push(o)}return this}})})),Jt=a(((e,n)=>{let r=Wt(),i=Kt(),{METHODS:a}=t(`node:http`),o=Pt(),s=qt(),c=N()(`router`),l=P()(`router`),u=Array.prototype.slice,d=Array.prototype.flat,f=a.map(e=>e.toLowerCase());n.exports=p,n.exports.Route=s;function p(e){if(!(this instanceof p))return new p(e);let t=e||{};function n(e,t,r){n.handle(e,t,r)}return Object.setPrototypeOf(n,this),n.caseSensitive=t.caseSensitive,n.mergeParams=t.mergeParams,n.params={},n.strict=t.strict,n.stack=[],n}p.prototype=function(){},p.prototype.param=function(e,t){if(!e)throw TypeError(`argument name is required`);if(typeof e!=`string`)throw TypeError(`argument name must be a string`);if(!t)throw TypeError(`argument fn is required`);if(typeof t!=`function`)throw TypeError(`argument fn must be a function`);let n=this.params[e];return n||=this.params[e]=[],n.push(t),this},p.prototype.handle=function(e,t,n){if(!n)throw TypeError(`argument callback is required`);c(`dispatching %s %s`,e.method,e.url);let r=0,i,a=g(e.url)||``,o=``,s=this,l=!1,u=0,d={},f=this.stack,p=e.params,x=e.baseUrl||``,S=b(n,e,`baseUrl`,`next`,`params`);e.next=w,e.method===`OPTIONS`&&(i=[],S=C(S,m(t,i))),e.baseUrl=x,e.originalUrl=e.originalUrl||e.url,w();function w(n){let c=n===`route`?null:n;if(l&&=(e.url=e.url.slice(1),!1),o.length!==0&&(e.baseUrl=x,e.url=a+o+e.url.slice(a.length),o=``),c===`router`){setImmediate(S,null);return}if(r>=f.length){setImmediate(S,c);return}if(++u>100)return setImmediate(w,n);let m=h(e);if(m==null)return S(c);let g,b,C;for(;b!==!0&&r<f.length;){if(g=f[r++],b=_(g,m),C=g.route,typeof b!=`boolean`&&(c||=b),b!==!0||!C)continue;if(c){b=!1;continue}let t=e.method,n=C._handlesMethod(t);!n&&t===`OPTIONS`&&i&&i.push.apply(i,C._methods()),!n&&t!==`HEAD`&&(b=!1)}if(b!==!0)return S(c);C&&(e.route=C),e.params=s.mergeParams?v(g.params,p):g.params;let E=g.path;y(s.params,g,d,e,t,function(n){n?w(c||n):C?g.handleRequest(e,t,w):T(g,c,E,m),u=0})}function T(n,r,i,s){if(i.length!==0){if(i!==s.substring(0,i.length)){w(r);return}let t=s[i.length];if(t&&t!==`/`){w(r);return}c(`trim prefix (%s) from url %s`,i,e.url),o=i,e.url=a+e.url.slice(a.length+o.length),!a&&e.url[0]!==`/`&&(e.url=`/`+e.url,l=!0),e.baseUrl=x+(o[o.length-1]===`/`?o.substring(0,o.length-1):o)}c(`%s %s : %s`,n.name,i,e.originalUrl),r?n.handleError(r,e,t,w):n.handleRequest(e,t,w)}},p.prototype.use=function(e){let t=0,n=`/`;if(typeof e!=`function`){let r=e;for(;Array.isArray(r)&&r.length!==0;)r=r[0];typeof r!=`function`&&(t=1,n=e)}let r=d.call(u.call(arguments,t),1/0);if(r.length===0)throw TypeError(`argument handler is required`);for(let e=0;e<r.length;e++){let t=r[e];if(typeof t!=`function`)throw TypeError(`argument handler must be a function`);c(`use %o %s`,n,t.name||`<anonymous>`);let a=new i(n,{sensitive:this.caseSensitive,strict:!1,end:!1},t);a.route=void 0,this.stack.push(a)}return this},p.prototype.route=function(e){let t=new s(e),n=new i(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},r);function r(e,n,r){t.dispatch(e,n,r)}return n.route=t,this.stack.push(n),t},f.concat(`all`).forEach(function(e){p.prototype[e]=function(t){let n=this.route(t);return n[e].apply(n,u.call(arguments,1)),this}});function m(e,t){return function(n,r){if(r||t.length===0)return n(r);S(e,t,n)}}function h(e){try{return o(e).pathname}catch{return}}function g(e){if(typeof e!=`string`||e.length===0||e[0]===`/`)return;let t=e.indexOf(`?`),n=t===-1?e.length:t,r=e.substring(0,n).indexOf(`://`);return r===-1?void 0:e.substring(0,e.indexOf(`/`,3+r))}function _(e,t){try{return e.match(t)}catch(e){return e}}function v(e,t){if(typeof t!=`object`||!t)return e;let n=Object.assign({},t);if(!(0 in e)||!(0 in t))return Object.assign(n,e);let r=0,i=0;for(;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],r<i&&delete e[r];return Object.assign(n,e)}function y(e,t,n,i,a,o){let s=t.keys;if(!s||s.length===0)return o();let c=0,u=0,d,f,p,m;function h(t){if(t)return o(t);if(c>=s.length)return o();if(u=0,d=s[c++],f=i.params[d],p=e[d],m=n[d],f===void 0||!p)return h();if(m&&(m.match===f||m.error&&m.error!==`route`))return i.params[d]=m.value,h(m.error);n[d]=m={error:null,match:f,value:f},g()}function g(e){let t=p[u++];if(m.value=i.params[d],e){m.error=e,h(e);return}if(!t)return h();try{let e=t(i,a,g,f,d);r(e)&&(e instanceof Promise||l(`parameters that are Promise-like are deprecated, use a native Promise instead`),e.then(null,function(e){g(e||Error(`Rejected promise`))}))}catch(e){g(e)}}h()}function b(e,t){let n=Array(arguments.length-2),r=Array(arguments.length-2);for(let e=0;e<n.length;e++)n[e]=arguments[e+2],r[e]=t[n[e]];return function(){for(let e=0;e<n.length;e++)t[n[e]]=r[e];return e.apply(this,arguments)}}function x(e,t){let n=Object.create(null);for(let e=0;e<t.length;e++)n[t[e]]=!0;let r=Object.keys(n).sort().join(`, `);e.setHeader(`Allow`,r),e.setHeader(`Content-Length`,Buffer.byteLength(r)),e.setHeader(`Content-Type`,`text/plain`),e.setHeader(`X-Content-Type-Options`,`nosniff`),e.end(r)}function S(e,t,n){try{x(e,t)}catch(e){n(e)}}function C(e,t){return function(){let n=Array(arguments.length+1);n[0]=e;for(let e=0,t=arguments.length;e<t;e++)n[e+1]=arguments[e];t.apply(this,n)}}})),Yt=a(((e,n)=>{var r=Ft(),i=N()(`express:application`),a=It(),o=t(`node:http`),s=Vt().methods,c=Vt().compileETag,l=Vt().compileQueryParser,u=Vt().compileTrust,d=t(`node:path`).resolve,f=Ut(),p=Jt(),m=Array.prototype.slice,h=Array.prototype.flat,g=e=n.exports={},_=`@@symbol:trust_proxy_default`;g.init=function(){var e=null;this.cache=Object.create(null),this.engines=Object.create(null),this.settings=Object.create(null),this.defaultConfiguration(),Object.defineProperty(this,`router`,{configurable:!0,enumerable:!0,get:function(){return e===null&&(e=new p({caseSensitive:this.enabled(`case sensitive routing`),strict:this.enabled(`strict routing`)})),e}})},g.defaultConfiguration=function(){var e=process.env.NODE_ENV||`development`;this.enable(`x-powered-by`),this.set(`etag`,`weak`),this.set(`env`,e),this.set(`query parser`,`simple`),this.set(`subdomain offset`,2),this.set(`trust proxy`,!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),i(`booting in %s mode`,e),this.on(`mount`,function(e){this.settings[_]===!0&&typeof e.settings[`trust proxy fn`]==`function`&&(delete this.settings[`trust proxy`],delete this.settings[`trust proxy fn`]),Object.setPrototypeOf(this.request,e.request),Object.setPrototypeOf(this.response,e.response),Object.setPrototypeOf(this.engines,e.engines),Object.setPrototypeOf(this.settings,e.settings)}),this.locals=Object.create(null),this.mountpath=`/`,this.locals.settings=this.settings,this.set(`view`,a),this.set(`views`,d(`views`)),this.set(`jsonp callback name`,`callback`),e===`production`&&this.enable(`view cache`)},g.handle=function(e,t,n){var i=n||r(e,t,{env:this.get(`env`),onerror:v.bind(this)});this.enabled(`x-powered-by`)&&t.setHeader(`X-Powered-By`,`Express`),e.res=t,t.req=e,Object.setPrototypeOf(e,this.request),Object.setPrototypeOf(t,this.response),t.locals||=Object.create(null),this.router.handle(e,t,i)},g.use=function(e){var t=0,n=`/`;if(typeof e!=`function`){for(var r=e;Array.isArray(r)&&r.length!==0;)r=r[0];typeof r!=`function`&&(t=1,n=e)}var a=h.call(m.call(arguments,t),1/0);if(a.length===0)throw TypeError(`app.use() requires a middleware function`);var o=this.router;return a.forEach(function(e){if(!e||!e.handle||!e.set)return o.use(n,e);i(`.use app under %s`,n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){Object.setPrototypeOf(t,i.request),Object.setPrototypeOf(n,i.response),r(e)})}),e.emit(`mount`,this)},this),this},g.route=function(e){return this.router.route(e)},g.engine=function(e,t){if(typeof t!=`function`)throw Error(`callback function required`);var n=e[0]===`.`?e:`.`+e;return this.engines[n]=t,this},g.param=function(e,t){if(Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this.router.param(e,t),this},g.set=function(e,t){if(arguments.length===1)return this.settings[e];switch(i(`set "%s" to %o`,e,t),this.settings[e]=t,e){case`etag`:this.set(`etag fn`,c(t));break;case`query parser`:this.set(`query parser fn`,l(t));break;case`trust proxy`:this.set(`trust proxy fn`,u(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1});break}return this},g.path=function(){return this.parent?this.parent.path()+this.mountpath:``},g.enabled=function(e){return!!this.set(e)},g.disabled=function(e){return!this.set(e)},g.enable=function(e){return this.set(e,!0)},g.disable=function(e){return this.set(e,!1)},s.forEach(function(e){g[e]=function(t){if(e===`get`&&arguments.length===1)return this.set(t);var n=this.route(t);return n[e].apply(n,m.call(arguments,1)),this}}),g.all=function(e){for(var t=this.route(e),n=m.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},g.render=function(e,t,n){var r=this.cache,i=n,a=this.engines,o=t,s;typeof t==`function`&&(i=t,o={});var c={...this.locals,...o._locals,...o};if(c.cache??=this.enabled(`view cache`),c.cache&&(s=r[e]),!s){if(s=new(this.get(`view`))(e,{defaultEngine:this.get(`view engine`),root:this.get(`views`),engines:a}),!s.path){var l=Array.isArray(s.root)&&s.root.length>1?`directories "`+s.root.slice(0,-1).join(`", "`)+`" or "`+s.root[s.root.length-1]+`"`:`directory "`+s.root+`"`,u=Error(`Failed to lookup view "`+e+`" in views `+l);return u.view=s,i(u)}c.cache&&(r[e]=s)}y(s,c,i)},g.listen=function(){var e=o.createServer(this),t=m.call(arguments);if(typeof t[t.length-1]==`function`){var n=t[t.length-1]=f(t[t.length-1]);e.once(`error`,n)}return e.listen.apply(e,t)};function v(e){this.get(`env`)!==`test`&&console.error(e.stack||e.toString())}function y(e,t,n){try{e.render(t,n)}catch(e){n(e)}}})),Xt=a(((e,t)=>{t.exports=s,t.exports.preferredCharsets=s;var n=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e){for(var t=e.split(`,`),n=0,r=0;n<t.length;n++){var a=i(t[n].trim(),n);a&&(t[r++]=a)}return t.length=r,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=r[1],a=1;if(r[2])for(var o=r[2].split(`;`),s=0;s<o.length;s++){var c=o[s].trim().split(`=`);if(c[0]===`q`){a=parseFloat(c[1]);break}}return{charset:i,q:a,i:t}}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(t.charset!==`*`)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e===void 0?`*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.charset}function u(e){return e.q>0}})),Zt=a(((e,t)=>{t.exports=s,t.exports.preferredEncodings=s;var n=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e){for(var t=e.split(`,`),n=!1,r=1,a=0,s=0;a<t.length;a++){var c=i(t[a].trim(),a);c&&(t[s++]=c,n||=o(`identity`,c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:`identity`,q:r,i:a}),t.length=s,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=r[1],a=1;if(r[2])for(var o=r[2].split(`;`),s=0;s<o.length;s++){var c=o[s].trim().split(`=`);if(c[0]===`q`){a=parseFloat(c[1]);break}}return{encoding:i,q:a,i:t}}function a(e,t,n){for(var r={encoding:e,o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(t.encoding!==`*`)return null;return{encoding:e,i:n,o:t.i,q:t.q,s:r}}function s(e,t,n){var i=r(e||``),o=n?function(e,t){if(e.q!==t.q)return t.q-e.q;var r=n.indexOf(e.encoding),i=n.indexOf(t.encoding);return r===-1&&i===-1?t.s-e.s||e.o-t.o||e.i-t.i:r!==-1&&i!==-1?r-i:r===-1?1:-1}:c;if(!t)return i.filter(u).sort(o).map(l);var s=t.map(function(e,t){return a(e,i,t)});return s.filter(u).sort(o).map(function(e){return t[s.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i}function l(e){return e.encoding}function u(e){return e.q>0}})),Qt=a(((e,t)=>{t.exports=s,t.exports.preferredLanguages=s;var n=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function r(e){for(var t=e.split(`,`),n=0,r=0;n<t.length;n++){var a=i(t[n].trim(),n);a&&(t[r++]=a)}return t.length=r,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=r[1],a=r[2],o=i;a&&(o+=`-`+a);var s=1;if(r[3])for(var c=r[3].split(`;`),l=0;l<c.length;l++){var u=c[l].split(`=`);u[0]===`q`&&(s=parseFloat(u[1]))}return{prefix:i,suffix:a,q:s,i:t,full:o}}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=i(e);if(!r)return null;var a=0;if(t.full.toLowerCase()===r.full.toLowerCase())a|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())a|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())a|=1;else if(t.full!==`*`)return null;return{i:n,o:t.i,q:t.q,s:a}}function s(e,t){var n=r(e===void 0?`*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.full}function u(e){return e.q>0}})),$t=a(((e,t)=>{t.exports=s,t.exports.preferredMediaTypes=s;var n=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function r(e){for(var t=p(e),n=0,r=0;n<t.length;n++){var a=i(t[n].trim(),n);a&&(t[r++]=a)}return t.length=r,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=Object.create(null),a=1,o=r[2],s=r[1];if(r[3])for(var c=m(r[3]).map(f),l=0;l<c.length;l++){var u=c[l],d=u[0].toLowerCase(),p=u[1],h=p&&p[0]===`"`&&p[p.length-1]===`"`?p.slice(1,-1):p;if(d===`q`){a=parseFloat(h);break}i[d]=h}return{type:s,subtype:o,params:i,q:a,i:t}}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=i(e),a=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())a|=4;else if(t.type!=`*`)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())a|=2;else if(t.subtype!=`*`)return null;var o=Object.keys(t.params);if(o.length>0)if(o.every(function(e){return t.params[e]==`*`||(t.params[e]||``).toLowerCase()==(r.params[e]||``).toLowerCase()}))a|=1;else return null;return{i:n,o:t.i,q:t.q,s:a}}function s(e,t){var n=r(e===void 0?`*/*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.type+`/`+e.subtype}function u(e){return e.q>0}function d(e){for(var t=0,n=0;(n=e.indexOf(`"`,n))!==-1;)t++,n++;return t}function f(e){var t=e.indexOf(`=`),n,r;return t===-1?n=e:(n=e.slice(0,t),r=e.slice(t+1)),[n,r]}function p(e){for(var t=e.split(`,`),n=1,r=0;n<t.length;n++)d(t[r])%2==0?t[++r]=t[n]:t[r]+=`,`+t[n];return t.length=r+1,t}function m(e){for(var t=e.split(`;`),n=1,r=0;n<t.length;n++)d(t[r])%2==0?t[++r]=t[n]:t[r]+=`;`+t[n];t.length=r+1;for(var n=0;n<t.length;n++)t[n]=t[n].trim();return t}})),en=a(((e,t)=>{var n=Xt(),r=Zt(),i=Qt(),a=$t();t.exports=o,t.exports.Negotiator=o;function o(e){if(!(this instanceof o))return new o(e);this.request=e}o.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},o.prototype.charsets=function(e){return n(this.request.headers[`accept-charset`],e)},o.prototype.encoding=function(e,t){var n=this.encodings(e,t);return n&&n[0]},o.prototype.encodings=function(e,t){var n=t||{};return r(this.request.headers[`accept-encoding`],e,n.preferred)},o.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},o.prototype.languages=function(e){return i(this.request.headers[`accept-language`],e)},o.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},o.prototype.mediaTypes=function(e){return a(this.request.headers.accept,e)},o.prototype.preferredCharset=o.prototype.charset,o.prototype.preferredCharsets=o.prototype.charsets,o.prototype.preferredEncoding=o.prototype.encoding,o.prototype.preferredEncodings=o.prototype.encodings,o.prototype.preferredLanguage=o.prototype.language,o.prototype.preferredLanguages=o.prototype.languages,o.prototype.preferredMediaType=o.prototype.mediaType,o.prototype.preferredMediaTypes=o.prototype.mediaTypes})),tn=a(((e,t)=>{var n=en(),r=ke();t.exports=i;function i(e){if(!(this instanceof i))return new i(e);this.headers=e.headers,this.negotiator=new n(e)}i.prototype.type=i.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||t.length===0)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(a),i=this.negotiator.mediaTypes(r.filter(o))[0];return i?t[r.indexOf(i)]:!1},i.prototype.encoding=i.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return!t||t.length===0?this.negotiator.encodings():this.negotiator.encodings(t)[0]||!1},i.prototype.charset=i.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return!t||t.length===0?this.negotiator.charsets():this.negotiator.charsets(t)[0]||!1},i.prototype.lang=i.prototype.langs=i.prototype.language=i.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return!t||t.length===0?this.negotiator.languages():this.negotiator.languages(t)[0]||!1};function a(e){return e.indexOf(`/`)===-1?r.lookup(e):e}function o(e){return typeof e==`string`}})),nn=a(((e,t)=>{var n=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;t.exports=r;function r(e,t){var r=e[`if-modified-since`],o=e[`if-none-match`];if(!r&&!o)return!1;var s=e[`cache-control`];if(s&&n.test(s))return!1;if(o){if(o===`*`)return!0;var c=t.etag;if(!c)return!1;for(var l=a(o),u=0;u<l.length;u++){var d=l[u];if(d===c||d===`W/`+c||`W/`+d===c)return!0}return!1}if(r){var f=t[`last-modified`];if(!f||!(i(f)<=i(r)))return!1}return!0}function i(e){var t=e&&Date.parse(e);return typeof t==`number`?t:NaN}function a(e){for(var t=0,n=[],r=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i+1);break;case 44:n.push(e.substring(r,t)),r=t=i+1;break;default:t=i+1;break}return n.push(e.substring(r,t)),n}})),rn=a(((e,t)=>{t.exports=n;function n(e,t,n){if(typeof t!=`string`)throw TypeError(`argument str must be a string`);var i=t.indexOf(`=`);if(i===-1)return-2;var a=t.slice(i+1).split(`,`),o=[];o.type=t.slice(0,i);for(var s=0;s<a.length;s++){var c=a[s].split(`-`),l=parseInt(c[0],10),u=parseInt(c[1],10);isNaN(l)?(l=e-u,u=e-1):isNaN(u)&&(u=e-1),u>e-1&&(u=e-1),!(isNaN(l)||isNaN(u)||l>u||l<0)&&o.push({start:l,end:u})}return o.length<1?-1:n&&n.combine?r(o):o}function r(e){for(var t=e.map(i).sort(s),n=0,r=1;r<t.length;r++){var c=t[r],l=t[n];c.start>l.end+1?t[++n]=c:c.end>l.end&&(l.end=c.end,l.index=Math.min(l.index,c.index))}t.length=n+1;var u=t.sort(o).map(a);return u.type=e.type,u}function i(e,t){return{start:e.start,end:e.end,index:t}}function a(e){return{start:e.start,end:e.end}}function o(e,t){return e.index-t.index}function s(e,t){return e.start-t.start}})),an=a(((e,n)=>{var r=tn(),i=t(`node:net`).isIP,a=je(),o=t(`node:http`),s=nn(),c=rn(),l=Pt(),u=Bt(),d=Object.create(o.IncomingMessage.prototype);n.exports=d,d.get=d.header=function(e){if(!e)throw TypeError(`name argument is required to req.get`);if(typeof e!=`string`)throw TypeError(`name must be a string to req.get`);var t=e.toLowerCase();switch(t){case`referer`:case`referrer`:return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=r(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=r(this);return e.encodings.apply(e,arguments)},d.acceptsCharsets=function(){var e=r(this);return e.charsets.apply(e,arguments)},d.acceptsLanguages=function(...e){return r(this).languages(...e)},d.range=function(e,t){var n=this.get(`Range`);if(n)return c(e,n,t)},f(d,`query`,function(){var e=this.app.get(`query parser fn`);if(!e)return Object.create(null);var t=l(this).query;return e(t)}),d.is=function(e){var t=e;if(!Array.isArray(e)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return a(this,t)},f(d,`protocol`,function(){var e=this.socket.encrypted?`https`:`http`;if(!this.app.get(`trust proxy fn`)(this.socket.remoteAddress,0))return e;var t=this.get(`X-Forwarded-Proto`)||e,n=t.indexOf(`,`);return n===-1?t.trim():t.substring(0,n).trim()}),f(d,`secure`,function(){return this.protocol===`https`}),f(d,`ip`,function(){var e=this.app.get(`trust proxy fn`);return u(this,e)}),f(d,`ips`,function(){var e=this.app.get(`trust proxy fn`),t=u.all(this,e);return t.reverse().pop(),t}),f(d,`subdomains`,function(){var e=this.hostname;if(!e)return[];var t=this.app.get(`subdomain offset`);return(i(e)?[e]:e.split(`.`).reverse()).slice(t)}),f(d,`path`,function(){return l(this).pathname}),f(d,`host`,function(){var e=this.app.get(`trust proxy fn`),t=this.get(`X-Forwarded-Host`);return!t||!e(this.socket.remoteAddress,0)?t=this.get(`Host`):t.indexOf(`,`)!==-1&&(t=t.substring(0,t.indexOf(`,`)).trimRight()),t||void 0}),f(d,`hostname`,function(){var e=this.host;if(e){var t=e[0]===`[`?e.indexOf(`]`)+1:0,n=e.indexOf(`:`,t);return n===-1?e:e.substring(0,n)}}),f(d,`fresh`,function(){var e=this.method,t=this.res,n=t.statusCode;return e!==`GET`&&e!==`HEAD`?!1:n>=200&&n<300||n===304?s(this.headers,{etag:t.get(`ETag`),"last-modified":t.get(`Last-Modified`)}):!1}),f(d,`stale`,function(){return!this.fresh}),f(d,`xhr`,function(){return(this.get(`X-Requested-With`)||``).toLowerCase()===`xmlhttprequest`});function f(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}})),on=a(((e,n)=>{n.exports=h,n.exports.parse=b;var r=t(`path`).basename,i=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,a=/%[0-9A-Fa-f]{2}/,o=/%([0-9A-Fa-f]{2})/g,s=/[^\x20-\x7e\xa0-\xff]/g,c=/\\([\u0000-\u007f])/g,l=/([\\"])/g,u=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,d=/^[\x20-\x7e\x80-\xff]+$/,f=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,p=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,m=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function h(e,t){var n=t||{};return _(new T(n.type||`attachment`,g(e,n.fallback)))}function g(e,t){if(e!==void 0){var n={};if(typeof e!=`string`)throw TypeError(`filename must be a string`);if(t===void 0&&(t=!0),typeof t!=`string`&&typeof t!=`boolean`)throw TypeError(`fallback must be a string or boolean`);if(typeof t==`string`&&s.test(t))throw TypeError(`fallback must be ISO-8859-1 string`);var i=r(e),o=d.test(i),c=typeof t==`string`?r(t):t&&y(i),l=typeof c==`string`&&c!==i;return(l||!o||a.test(i))&&(n[`filename*`]=i),(o||l)&&(n.filename=l?c:i),n}}function _(e){var t=e.parameters,n=e.type;if(!n||typeof n!=`string`||!f.test(n))throw TypeError(`invalid type`);var r=String(n).toLowerCase();if(t&&typeof t==`object`)for(var i,a=Object.keys(t).sort(),o=0;o<a.length;o++){i=a[o];var s=i.slice(-1)===`*`?w(t[i]):C(t[i]);r+=`; `+i+`=`+s}return r}function v(e){var t=p.exec(e);if(!t)throw TypeError(`invalid extended field value`);var n=t[1].toLowerCase(),r=t[2],i,a=r.replace(o,x);switch(n){case`iso-8859-1`:i=y(a);break;case`utf-8`:case`utf8`:i=Buffer.from(a,`binary`).toString(`utf8`);break;default:throw TypeError(`unsupported charset in extended field`)}return i}function y(e){return String(e).replace(s,`?`)}function b(e){if(!e||typeof e!=`string`)throw TypeError(`argument string is required`);var t=m.exec(e);if(!t)throw TypeError(`invalid type format`);var n=t[0].length,r=t[1].toLowerCase(),i,a=[],o={},s;for(n=u.lastIndex=t[0].slice(-1)===`;`?n-1:n;t=u.exec(e);){if(t.index!==n)throw TypeError(`invalid parameter format`);if(n+=t[0].length,i=t[1].toLowerCase(),s=t[2],a.indexOf(i)!==-1)throw TypeError(`invalid duplicate parameter`);if(a.push(i),i.indexOf(`*`)+1===i.length){i=i.slice(0,-1),s=v(s),o[i]=s;continue}typeof o[i]!=`string`&&(s[0]===`"`&&(s=s.slice(1,-1).replace(c,`$1`)),o[i]=s)}if(n!==-1&&n!==e.length)throw TypeError(`invalid parameter format`);return new T(r,o)}function x(e,t){return String.fromCharCode(parseInt(t,16))}function S(e){return`%`+String(e).charCodeAt(0).toString(16).toUpperCase()}function C(e){return`"`+String(e).replace(l,`\\$1`)+`"`}function w(e){var t=String(e);return`UTF-8''`+encodeURIComponent(t).replace(i,S)}function T(e,t){this.type=e,this.parameters=t}})),sn=a((e=>{var n=t(`crypto`);e.sign=function(e,t){if(typeof e!=`string`)throw TypeError(`Cookie value must be provided as a string.`);if(t==null)throw TypeError(`Secret key must be provided.`);return e+`.`+n.createHmac(`sha256`,t).update(e).digest(`base64`).replace(/\=+$/,``)},e.unsign=function(t,r){if(typeof t!=`string`)throw TypeError(`Signed cookie string must be provided.`);if(r==null)throw TypeError(`Secret key must be provided.`);var i=t.slice(0,t.lastIndexOf(`.`)),a=e.sign(i,r),o=Buffer.from(a),s=Buffer.from(t);return o.length===s.length&&n.timingSafeEqual(o,s)?i:!1}})),cn=a((e=>{e.parse=s,e.serialize=u;var t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/;function s(e,t){if(typeof e!=`string`)throw TypeError(`argument str must be a string`);var r={},i=e.length;if(i<2)return r;var a=t&&t.decode||d,o=0,s=0,u=0;do{if(s=e.indexOf(`=`,o),s===-1)break;if(u=e.indexOf(`;`,o),u===-1)u=i;else if(s>u){o=e.lastIndexOf(`;`,s-1)+1;continue}var f=c(e,o,s),m=l(e,s,f),h=e.slice(f,m);if(!n.call(r,h)){var g=c(e,s+1,u),_=l(e,u,g);e.charCodeAt(g)===34&&e.charCodeAt(_-1)===34&&(g++,_--),r[h]=p(e.slice(g,_),a)}o=u+1}while(o<i);return r}function c(e,t,n){do{var r=e.charCodeAt(t);if(r!==32&&r!==9)return t}while(++t<n);return n}function l(e,t,n){for(;t>n;){var r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return n}function u(e,t,n){var s=n&&n.encode||encodeURIComponent;if(typeof s!=`function`)throw TypeError(`option encode is invalid`);if(!r.test(e))throw TypeError(`argument name is invalid`);var c=s(t);if(!i.test(c))throw TypeError(`argument val is invalid`);var l=e+`=`+c;if(!n)return l;if(n.maxAge!=null){var u=Math.floor(n.maxAge);if(!isFinite(u))throw TypeError(`option maxAge is invalid`);l+=`; Max-Age=`+u}if(n.domain){if(!a.test(n.domain))throw TypeError(`option domain is invalid`);l+=`; Domain=`+n.domain}if(n.path){if(!o.test(n.path))throw TypeError(`option path is invalid`);l+=`; Path=`+n.path}if(n.expires){var d=n.expires;if(!f(d)||isNaN(d.valueOf()))throw TypeError(`option expires is invalid`);l+=`; Expires=`+d.toUTCString()}if(n.httpOnly&&(l+=`; HttpOnly`),n.secure&&(l+=`; Secure`),n.partitioned&&(l+=`; Partitioned`),n.priority)switch(typeof n.priority==`string`?n.priority.toLowerCase():n.priority){case`low`:l+=`; Priority=Low`;break;case`medium`:l+=`; Priority=Medium`;break;case`high`:l+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid`)}if(n.sameSite)switch(typeof n.sameSite==`string`?n.sameSite.toLowerCase():n.sameSite){case!0:l+=`; SameSite=Strict`;break;case`lax`:l+=`; SameSite=Lax`;break;case`strict`:l+=`; SameSite=Strict`;break;case`none`:l+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid`)}return l}function d(e){return e.indexOf(`%`)===-1?e:decodeURIComponent(e)}function f(e){return t.call(e)===`[object Date]`}function p(e,t){try{return t(e)}catch{return e}}})),ln=a(((e,n)=>{var r=B(),i=N()(`send`),a=Mt(),o=Nt(),s=Lt(),c=nn(),l=t(`fs`),u=ke(),d=y(),f=we(),p=rn(),m=t(`path`),h=L(),g=t(`stream`),_=t(`util`),v=m.extname,b=m.join,x=m.normalize,S=m.resolve,C=m.sep,w=/^ *bytes=/,T=3600*24*365*1e3,E=/(?:^|[\\/])\.\.(?:[\\/]|$)/;n.exports=D;function D(e,t,n){return new O(e,t,n)}function O(e,t,n){g.call(this);var r=n||{};if(this.options=r,this.path=t,this.req=e,this._acceptRanges=r.acceptRanges===void 0?!0:!!r.acceptRanges,this._cacheControl=r.cacheControl===void 0?!0:!!r.cacheControl,this._etag=r.etag===void 0?!0:!!r.etag,this._dotfiles=r.dotfiles===void 0?`ignore`:r.dotfiles,this._dotfiles!==`ignore`&&this._dotfiles!==`allow`&&this._dotfiles!==`deny`)throw TypeError(`dotfiles option must be "allow", "deny", or "ignore"`);this._extensions=r.extensions===void 0?[]:R(r.extensions,`extensions option`),this._immutable=r.immutable===void 0?!1:!!r.immutable,this._index=r.index===void 0?[`index.html`]:R(r.index,`index option`),this._lastModified=r.lastModified===void 0?!0:!!r.lastModified,this._maxage=r.maxAge||r.maxage,this._maxage=typeof this._maxage==`string`?d(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),T),this._root=r.root?S(r.root):null}_.inherits(O,g),O.prototype.error=function(e,t){if(I(this,`error`))return this.emit(`error`,P(e,t));var n=this.res,r=ee(`Error`,o(h.message[e]||String(e)));k(n),t&&t.headers&&V(n,t.headers),n.statusCode=e,n.setHeader(`Content-Type`,`text/html; charset=UTF-8`),n.setHeader(`Content-Length`,Buffer.byteLength(r)),n.setHeader(`Content-Security-Policy`,`default-src 'none'`),n.setHeader(`X-Content-Type-Options`,`nosniff`),n.end(r)},O.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]===`/`},O.prototype.isConditionalGET=function(){return this.req.headers[`if-match`]||this.req.headers[`if-unmodified-since`]||this.req.headers[`if-none-match`]||this.req.headers[`if-modified-since`]},O.prototype.isPreconditionFailure=function(){var e=this.req,t=this.res,n=e.headers[`if-match`];if(n){var r=t.getHeader(`ETag`);return!r||n!==`*`&&z(n).every(function(e){return e!==r&&e!==`W/`+r&&`W/`+e!==r})}var i=te(e.headers[`if-unmodified-since`]);if(!isNaN(i)){var a=te(t.getHeader(`Last-Modified`));return isNaN(a)||a>i}return!1},O.prototype.removeContentHeaderFields=function(){var e=this.res;e.removeHeader(`Content-Encoding`),e.removeHeader(`Content-Language`),e.removeHeader(`Content-Length`),e.removeHeader(`Content-Range`),e.removeHeader(`Content-Type`)},O.prototype.notModified=function(){var e=this.res;i(`not modified`),this.removeContentHeaderFields(),e.statusCode=304,e.end()},O.prototype.headersAlreadySent=function(){var e=Error(`Can't set headers after they are sent.`);i(`headers already sent`),this.error(500,e)},O.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||e===304},O.prototype.onStatError=function(e){switch(e.code){case`ENAMETOOLONG`:case`ENOENT`:case`ENOTDIR`:this.error(404,e);break;default:this.error(500,e);break}},O.prototype.isFresh=function(){return c(this.req.headers,{etag:this.res.getHeader(`ETag`),"last-modified":this.res.getHeader(`Last-Modified`)})},O.prototype.isRangeFresh=function(){var e=this.req.headers[`if-range`];if(!e)return!0;if(e.indexOf(`"`)!==-1){var t=this.res.getHeader(`ETag`);return!!(t&&e.indexOf(t)!==-1)}return te(this.res.getHeader(`Last-Modified`))<=te(e)},O.prototype.redirect=function(e){var t=this.res;if(I(this,`directory`)){this.emit(`directory`,t,e);return}if(this.hasTrailingSlash()){this.error(403);return}var n=a(A(this.path+`/`)),r=ee(`Redirecting`,`Redirecting to `+o(n));t.statusCode=301,t.setHeader(`Content-Type`,`text/html; charset=UTF-8`),t.setHeader(`Content-Length`,Buffer.byteLength(r)),t.setHeader(`Content-Security-Policy`,`default-src 'none'`),t.setHeader(`X-Content-Type-Options`,`nosniff`),t.setHeader(`Location`,n),t.end(r)},O.prototype.pipe=function(e){var t=this._root;this.res=e;var n=F(this.path);if(n===-1||~n.indexOf(`\0`))return this.error(400),e;var r;if(t!==null){if(n&&=x(`.`+C+n),E.test(n))return i(`malicious path "%s"`,n),this.error(403),e;r=n.split(C),n=x(b(t,n))}else{if(E.test(n))return i(`malicious path "%s"`,n),this.error(403),e;r=x(n).split(C),n=S(n)}if(j(r))switch(i(`%s dotfile "%s"`,this._dotfiles,n),this._dotfiles){case`allow`:break;case`deny`:return this.error(403),e;case`ignore`:default:return this.error(404),e}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(n),e):(this.sendFile(n),e)},O.prototype.send=function(e,t){var n=t.size,r=this.options,a={},o=this.res,s=this.req,c=s.headers.range,l=r.start||0;if(o.headersSent){this.headersAlreadySent();return}if(i(`pipe "%s"`,e),this.setHeader(e,t),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(n=Math.max(0,n-l),r.end!==void 0){var u=r.end-l+1;n>u&&(n=u)}if(this._acceptRanges&&w.test(c)){if(c=p(n,c,{combine:!0}),this.isRangeFresh()||(i(`range stale`),c=-2),c===-1)return i(`range unsatisfiable`),o.setHeader(`Content-Range`,M(`bytes`,n)),this.error(416,{headers:{"Content-Range":o.getHeader(`Content-Range`)}});c!==-2&&c.length===1&&(i(`range %j`,c),o.statusCode=206,o.setHeader(`Content-Range`,M(`bytes`,n,c[0])),l+=c[0].start,n=c[0].end-c[0].start+1)}for(var d in r)a[d]=r[d];if(a.start=l,a.end=Math.max(l,l+n-1),o.setHeader(`Content-Length`,n),s.method===`HEAD`){o.end();return}this.stream(e,a)},O.prototype.sendFile=function(e){var t=0,n=this;i(`stat "%s"`,e),l.stat(e,function(t,i){var a=e[e.length-1]===C;if(t&&t.code===`ENOENT`&&!v(e)&&!a)return r(t);if(t)return n.onStatError(t);if(i.isDirectory())return n.redirect(e);if(a)return n.error(404);n.emit(`file`,e,i),n.send(e,i)});function r(a){if(n._extensions.length<=t)return a?n.onStatError(a):n.error(404);var o=e+`.`+n._extensions[t++];i(`stat "%s"`,o),l.stat(o,function(e,t){if(e)return r(e);if(t.isDirectory())return r();n.emit(`file`,o,t),n.send(o,t)})}},O.prototype.sendIndex=function(e){var t=-1,n=this;function r(a){if(++t>=n._index.length)return a?n.onStatError(a):n.error(404);var o=b(e,n._index[t]);i(`stat "%s"`,o),l.stat(o,function(e,t){if(e)return r(e);if(t.isDirectory())return r();n.emit(`file`,o,t),n.send(o,t)})}r()},O.prototype.stream=function(e,t){var n=this,r=this.res,i=l.createReadStream(e,t);this.emit(`stream`,i),i.pipe(r);function a(){i.destroy()}f(r,a),i.on(`error`,function(e){a(),n.onStatError(e)}),i.on(`end`,function(){n.emit(`end`)})},O.prototype.type=function(e){var t=this.res;if(!t.getHeader(`Content-Type`)){var n=v(e),r=u.contentType(n)||`application/octet-stream`;i(`content-type %s`,r),t.setHeader(`Content-Type`,r)}},O.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(`headers`,n,e,t),this._acceptRanges&&!n.getHeader(`Accept-Ranges`)&&(i(`accept ranges`),n.setHeader(`Accept-Ranges`,`bytes`)),this._cacheControl&&!n.getHeader(`Cache-Control`)){var r=`public, max-age=`+Math.floor(this._maxage/1e3);this._immutable&&(r+=`, immutable`),i(`cache-control %s`,r),n.setHeader(`Cache-Control`,r)}if(this._lastModified&&!n.getHeader(`Last-Modified`)){var a=t.mtime.toUTCString();i(`modified %s`,a),n.setHeader(`Last-Modified`,a)}if(this._etag&&!n.getHeader(`ETag`)){var o=s(t);i(`etag %s`,o),n.setHeader(`ETag`,o)}};function k(e){for(let t of e.getHeaderNames())e.removeHeader(t)}function A(e){for(var t=0;t<e.length&&e[t]===`/`;t++);return t>1?`/`+e.substr(t):e}function j(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.length>1&&n[0]===`.`)return!0}return!1}function M(e,t,n){return e+` `+(n?n.start+`-`+n.end:`*`)+`/`+t}function ee(e,t){return`<!DOCTYPE html>
44
+ `}t.exports=u;function u(e,t,i){var a=i||{},o=a.env||process.env.NODE_ENV||`development`,s=a.onerror;return function(i){var a,c,l;if(!i&&t.headersSent){n(`cannot 404 after headers sent`);return}if(i?(l=p(i),l===void 0?l=h(t):a=d(i),c=f(i,l,o)):(l=404,c=`Cannot `+e.method+` `+r(m(e))),n(`default %s`,l),i&&s&&setImmediate(s,i,e,t),t.headersSent){n(`cannot %d after headers sent`,l),e.socket&&e.socket.destroy();return}g(e,t,l,a,c)}}function d(e){if(!(!e.headers||typeof e.headers!=`object`))return{...e.headers}}function f(e,t,n){var r;return n!==`production`&&(r=e.stack,!r&&typeof e.toString==`function`&&(r=e.toString())),r||s.message[t]}function p(e){if(typeof e.status==`number`&&e.status>=400&&e.status<600)return e.status;if(typeof e.statusCode==`number`&&e.statusCode>=400&&e.statusCode<600)return e.statusCode}function m(e){try{return o.original(e).pathname}catch{return`resource`}}function h(e){var t=e.statusCode;return(typeof t!=`number`||t<400||t>599)&&(t=500),t}function g(e,t,n,r,i){function o(){var a=l(i);t.statusCode=n,e.httpVersionMajor<2&&(t.statusMessage=s.message[n]),t.removeHeader(`Content-Encoding`),t.removeHeader(`Content-Language`),t.removeHeader(`Content-Range`);for(let[e,n]of Object.entries(r??{}))t.setHeader(e,n);if(t.setHeader(`Content-Security-Policy`,`default-src 'none'`),t.setHeader(`X-Content-Type-Options`,`nosniff`),t.setHeader(`Content-Type`,`text/html; charset=utf-8`),t.setHeader(`Content-Length`,Buffer.byteLength(a,`utf8`)),e.method===`HEAD`){t.end();return}t.end(a,`utf8`)}if(c(e)){o();return}e.unpipe(),a(e,o),e.resume()}})),It=a(((e,n)=>{var r=N()(`express:view`),i=t(`node:path`),a=t(`node:fs`),o=i.dirname,s=i.basename,c=i.extname,l=i.join,u=i.resolve;n.exports=d;function d(e,n){var i=n||{};if(this.defaultEngine=i.defaultEngine,this.ext=c(e),this.name=e,this.root=i.root,!this.ext&&!this.defaultEngine)throw Error(`No default engine was specified and no extension was provided.`);var a=e;if(this.ext||(this.ext=this.defaultEngine[0]===`.`?this.defaultEngine:`.`+this.defaultEngine,a+=this.ext),!i.engines[this.ext]){var o=this.ext.slice(1);r(`require "%s"`,o);var s=t(o).__express;if(typeof s!=`function`)throw Error(`Module "`+o+`" does not provide a view engine.`);i.engines[this.ext]=s}this.engine=i.engines[this.ext],this.path=this.lookup(a)}d.prototype.lookup=function(e){var t,n=[].concat(this.root);r(`lookup "%s"`,e);for(var i=0;i<n.length&&!t;i++){var a=n[i],c=u(a,e),l=o(c),d=s(c);t=this.resolve(l,d)}return t},d.prototype.render=function(e,t){var n=!0;r(`render "%s"`,this.path),this.engine(this.path,e,function(){if(!n)return t.apply(this,arguments);for(var e=Array(arguments.length),r=this,i=0;i<arguments.length;i++)e[i]=arguments[i];return process.nextTick(function(){return t.apply(r,e)})}),n=!1},d.prototype.resolve=function(e,t){var n=this.ext,r=l(e,t),i=f(r);if(i&&i.isFile()||(r=l(e,s(t,n),`index`+n),i=f(r),i&&i.isFile()))return r};function f(e){r(`stat "%s"`,e);try{return a.statSync(e)}catch{return}}})),Lt=a(((e,n)=>{n.exports=s;var r=t(`crypto`),i=t(`fs`).Stats,a=Object.prototype.toString;function o(e){if(e.length===0)return`"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"`;var t=r.createHash(`sha1`).update(e,`utf8`).digest(`base64`).substring(0,27);return`"`+(typeof e==`string`?Buffer.byteLength(e,`utf8`):e.length).toString(16)+`-`+t+`"`}function s(e,t){if(e==null)throw TypeError(`argument entity is required`);var n=c(e),r=t&&typeof t.weak==`boolean`?t.weak:n;if(!n&&typeof e!=`string`&&!Buffer.isBuffer(e))throw TypeError(`argument entity must be string, Buffer, or fs.Stats`);var i=n?l(e):o(e);return r?`W/`+i:i}function c(e){return typeof i==`function`&&e instanceof i?!0:e&&typeof e==`object`&&`ctime`in e&&a.call(e.ctime)===`[object Date]`&&`mtime`in e&&a.call(e.mtime)===`[object Date]`&&`ino`in e&&typeof e.ino==`number`&&`size`in e&&typeof e.size==`number`}function l(e){var t=e.mtime.getTime().toString(16);return`"`+e.size.toString(16)+`-`+t+`"`}})),Rt=a(((e,t)=>{t.exports=n;function n(e){if(!e)throw TypeError(`argument req is required`);var t=i(e.headers[`x-forwarded-for`]||``);return[r(e)].concat(t)}function r(e){return e.socket?e.socket.remoteAddress:e.connection.remoteAddress}function i(e){for(var t=e.length,n=[],r=e.length,i=e.length-1;i>=0;i--)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i);break;case 44:r!==t&&n.push(e.substring(r,t)),r=t=i;break;default:r=i;break}return r!==t&&n.push(e.substring(r,t)),n}})),zt=a(((e,t)=>{(function(){var e,n={},r,i,a,o,s,c=this,l;t!=null&&t.exports?t.exports=n:c.ipaddr=n,s=function(e,t,n,r){var i,a;if(e.length!==t.length)throw Error(`ipaddr: cannot match CIDR for objects with different lengths`);for(i=0;r>0;){if(a=n-r,a<0&&(a=0),e[i]>>a!==t[i]>>a)return!1;r-=n,i+=1}return!0},n.subnetMatch=function(e,t,n){var r,i,a,o,s;for(a in n??=`unicast`,t)for(o=t[a],o[0]&&!(o[0]instanceof Array)&&(o=[o]),r=0,i=o.length;r<i;r++)if(s=o[r],e.kind()===s[0].kind()&&e.match.apply(e,s))return a;return n},n.IPv4=(function(){function e(e){var t,n,r;if(e.length!==4)throw Error(`ipaddr: ipv4 octet count should be 4`);for(t=0,n=e.length;t<n;t++)if(r=e[t],!(0<=r&&r<=255))throw Error(`ipaddr: ipv4 octet should fit in 8 bits`);this.octets=e}return e.prototype.kind=function(){return`ipv4`},e.prototype.toString=function(){return this.octets.join(`.`)},e.prototype.toNormalizedString=function(){return this.toString()},e.prototype.toByteArray=function(){return this.octets.slice(0)},e.prototype.match=function(e,t){var n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv4`)throw Error(`ipaddr: cannot match ipv4 address with non-ipv4 one`);return s(this.octets,e.octets,8,t)},e.prototype.SpecialRanges={unspecified:[[new e([0,0,0,0]),8]],broadcast:[[new e([255,255,255,255]),32]],multicast:[[new e([224,0,0,0]),4]],linkLocal:[[new e([169,254,0,0]),16]],loopback:[[new e([127,0,0,0]),8]],carrierGradeNat:[[new e([100,64,0,0]),10]],private:[[new e([10,0,0,0]),8],[new e([172,16,0,0]),12],[new e([192,168,0,0]),16]],reserved:[[new e([192,0,0,0]),24],[new e([192,0,2,0]),24],[new e([192,88,99,0]),24],[new e([198,51,100,0]),24],[new e([203,0,113,0]),24],[new e([240,0,0,0]),4]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return n.IPv6.parse(`::ffff:`+this.toString())},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,n,r,i,a,o={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=0,i=!1,t=n=3;n>=0;t=n+=-1)if(r=this.octets[t],r in o){if(a=o[r],i&&a!==0)return null;a!==8&&(i=!0),e+=a}else return null;return 32-e},e})(),r=`(0?\\d+|0x[a-f0-9]+)`,i={fourOctet:RegExp(`^`+r+`\\.`+r+`\\.`+r+`\\.`+r+`$`,`i`),longValue:RegExp(`^`+r+`$`,`i`)},n.IPv4.parser=function(e){var t,n=function(e){return e[0]===`0`&&e[1]!==`x`?parseInt(e,8):parseInt(e)},r,a,o;if(t=e.match(i.fourOctet))return(function(){var e,i,a=t.slice(1,6),o=[];for(e=0,i=a.length;e<i;e++)r=a[e],o.push(n(r));return o})();if(t=e.match(i.longValue)){if(o=n(t[1]),o>4294967295||o<0)throw Error(`ipaddr: address outside defined range`);return(function(){var e,t=[];for(a=e=0;e<=24;a=e+=8)t.push(o>>a&255);return t})().reverse()}else return null},n.IPv6=(function(){function e(e,t){var n,r,i,a,o,s;if(e.length===16)for(this.parts=[],n=r=0;r<=14;n=r+=2)this.parts.push(e[n]<<8|e[n+1]);else if(e.length===8)this.parts=e;else throw Error(`ipaddr: ipv6 part count should be 8 or 16`);for(s=this.parts,i=0,a=s.length;i<a;i++)if(o=s[i],!(0<=o&&o<=65535))throw Error(`ipaddr: ipv6 part should fit in 16 bits`);t&&(this.zoneId=t)}return e.prototype.kind=function(){return`ipv6`},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,`::`)},e.prototype.toRFC5952String=function(){var e,t,n,r=/((^|:)(0(:|$)){2,})/g,i=this.toNormalizedString();for(e=0,t=-1;n=r.exec(i);)n[0].length>t&&(e=n.index,t=n[0].length);return t<0?i:i.substring(0,e)+`::`+i.substring(e+t)},e.prototype.toByteArray=function(){var e=[],t,n,r,i=this.parts;for(t=0,n=i.length;t<n;t++)r=i[t],e.push(r>>8),e.push(r&255);return e},e.prototype.toNormalizedString=function(){var e=(function(){var e,n,r=this.parts,i=[];for(e=0,n=r.length;e<n;e++)t=r[e],i.push(t.toString(16));return i}).call(this).join(`:`),t,n=``;return this.zoneId&&(n=`%`+this.zoneId),e+n},e.prototype.toFixedLengthString=function(){var e=(function(){var e,n,r=this.parts,i=[];for(e=0,n=r.length;e<n;e++)t=r[e],i.push(t.toString(16).padStart(4,`0`));return i}).call(this).join(`:`),t,n=``;return this.zoneId&&(n=`%`+this.zoneId),e+n},e.prototype.match=function(e,t){var n;if(t===void 0&&(n=e,e=n[0],t=n[1]),e.kind()!==`ipv6`)throw Error(`ipaddr: cannot match ipv6 address with non-ipv6 one`);return s(this.parts,e.parts,16,t)},e.prototype.SpecialRanges={unspecified:[new e([0,0,0,0,0,0,0,0]),128],linkLocal:[new e([65152,0,0,0,0,0,0,0]),10],multicast:[new e([65280,0,0,0,0,0,0,0]),8],loopback:[new e([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new e([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new e([0,0,0,0,0,65535,0,0]),96],rfc6145:[new e([0,0,0,0,65535,0,0,0]),96],rfc6052:[new e([100,65435,0,0,0,0,0,0]),96],"6to4":[new e([8194,0,0,0,0,0,0,0]),16],teredo:[new e([8193,0,0,0,0,0,0,0]),32],reserved:[[new e([8193,3512,0,0,0,0,0,0]),32]]},e.prototype.range=function(){return n.subnetMatch(this,this.SpecialRanges)},e.prototype.isIPv4MappedAddress=function(){return this.range()===`ipv4Mapped`},e.prototype.toIPv4Address=function(){var e,t,r;if(!this.isIPv4MappedAddress())throw Error(`ipaddr: trying to convert a generic ipv6 address to ipv4`);return r=this.parts.slice(-2),e=r[0],t=r[1],new n.IPv4([e>>8,e&255,t>>8,t&255])},e.prototype.prefixLengthFromSubnetMask=function(){var e,t,n,r,i,a,o={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};for(e=0,i=!1,t=n=7;n>=0;t=n+=-1)if(r=this.parts[t],r in o){if(a=o[r],i&&a!==0)return null;a!==16&&(i=!0),e+=a}else return null;return 128-e},e})(),a=`(?:[0-9a-f]+::?)+`,l=`%[0-9a-z]{1,}`,o={zoneIndex:new RegExp(l,`i`),native:RegExp(`^(::)?(`+a+`)?([0-9a-f]+)?(::)?(`+l+`)?$`,`i`),transitional:RegExp(`^((?:`+a+`)|(?:::)(?:`+a+`)?)`+(r+`\\.`+r+`\\.`+r+`\\.`+r)+(`(`+l+`)?$`),`i`)},e=function(e,t){var n,r,i,a,s,c;if(e.indexOf(`::`)!==e.lastIndexOf(`::`))return null;for(c=(e.match(o.zoneIndex)||[])[0],c&&(c=c.substring(1),e=e.replace(/%.+$/,``)),n=0,r=-1;(r=e.indexOf(`:`,r+1))>=0;)n++;if(e.substr(0,2)===`::`&&n--,e.substr(-2,2)===`::`&&n--,n>t)return null;for(s=t-n,a=`:`;s--;)a+=`0:`;return e=e.replace(`::`,a),e[0]===`:`&&(e=e.slice(1)),e[e.length-1]===`:`&&(e=e.slice(0,-1)),t=(function(){var t,n,r=e.split(`:`),a=[];for(t=0,n=r.length;t<n;t++)i=r[t],a.push(parseInt(i,16));return a})(),{parts:t,zoneId:c}},n.IPv6.parser=function(t){var n,r,i,a,s,c,l;if(o.native.test(t))return e(t,8);if((a=t.match(o.transitional))&&(l=a[6]||``,n=e(a[1].slice(0,-1)+l,6),n.parts)){for(c=[parseInt(a[2]),parseInt(a[3]),parseInt(a[4]),parseInt(a[5])],r=0,i=c.length;r<i;r++)if(s=c[r],!(0<=s&&s<=255))return null;return n.parts.push(c[0]<<8|c[1]),n.parts.push(c[2]<<8|c[3]),{parts:n.parts,zoneId:n.zoneId}}return null},n.IPv4.isIPv4=n.IPv6.isIPv6=function(e){return this.parser(e)!==null},n.IPv4.isValid=function(e){try{return new this(this.parser(e)),!0}catch{return!1}},n.IPv4.isValidFourPartDecimal=function(e){return!!(n.IPv4.isValid(e)&&e.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},n.IPv6.isValid=function(e){var t;if(typeof e==`string`&&e.indexOf(`:`)===-1)return!1;try{return t=this.parser(e),new this(t.parts,t.zoneId),!0}catch{return!1}},n.IPv4.parse=function(e){var t=this.parser(e);if(t===null)throw Error(`ipaddr: string is not formatted like ip address`);return new this(t)},n.IPv6.parse=function(e){var t=this.parser(e);if(t.parts===null)throw Error(`ipaddr: string is not formatted like ip address`);return new this(t.parts,t.zoneId)},n.IPv4.parseCIDR=function(e){var t,n,r;if((n=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]),t>=0&&t<=32))return r=[this.parse(n[1]),t],Object.defineProperty(r,`toString`,{value:function(){return this.join(`/`)}}),r;throw Error(`ipaddr: string is not formatted like an IPv4 CIDR range`)},n.IPv4.subnetMaskFromPrefixLength=function(e){var t,n,r;if(e=parseInt(e),e<0||e>32)throw Error(`ipaddr: invalid IPv4 prefix length`);for(r=[0,0,0,0],n=0,t=Math.floor(e/8);n<t;)r[n]=255,n++;return t<4&&(r[t]=2**(e%8)-1<<8-e%8),new this(r)},n.IPv4.broadcastAddressFromCIDR=function(e){var t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)|parseInt(a[n],10)^255),n++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},n.IPv4.networkAddressFromCIDR=function(e){var t,n,r,i,a;try{for(t=this.parseCIDR(e),r=t[0].toByteArray(),a=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],n=0;n<4;)i.push(parseInt(r[n],10)&parseInt(a[n],10)),n++;return new this(i)}catch{throw Error(`ipaddr: the address does not have IPv4 CIDR format`)}},n.IPv6.parseCIDR=function(e){var t,n,r;if((n=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(n[2]),t>=0&&t<=128))return r=[this.parse(n[1]),t],Object.defineProperty(r,`toString`,{value:function(){return this.join(`/`)}}),r;throw Error(`ipaddr: string is not formatted like an IPv6 CIDR range`)},n.isValid=function(e){return n.IPv6.isValid(e)||n.IPv4.isValid(e)},n.parse=function(e){if(n.IPv6.isValid(e))return n.IPv6.parse(e);if(n.IPv4.isValid(e))return n.IPv4.parse(e);throw Error(`ipaddr: the address has neither IPv6 nor IPv4 format`)},n.parseCIDR=function(e){try{return n.IPv6.parseCIDR(e)}catch{try{return n.IPv4.parseCIDR(e)}catch{throw Error(`ipaddr: the address has neither IPv6 nor IPv4 CIDR format`)}}},n.fromByteArray=function(e){var t=e.length;if(t===4)return new n.IPv4(e);if(t===16)return new n.IPv6(e);throw Error(`ipaddr: the binary input is neither an IPv6 nor IPv4 address`)},n.process=function(e){var t=this.parse(e);return t.kind()===`ipv6`&&t.isIPv4MappedAddress()?t.toIPv4Address():t}}).call(e)})),Bt=a(((e,t)=>{t.exports=m,t.exports.all=c,t.exports.compile=l;var n=Rt(),r=zt(),i=/^[0-9]+$/,a=r.isValid,o=r.parse,s={linklocal:[`169.254.0.0/16`,`fe80::/10`],loopback:[`127.0.0.1/8`,`::1/128`],uniquelocal:[`10.0.0.0/8`,`172.16.0.0/12`,`192.168.0.0/16`,`fc00::/7`]};function c(e,t){var r=n(e);if(!t)return r;typeof t!=`function`&&(t=l(t));for(var i=0;i<r.length-1;i++)t(r[i],i)||(r.length=i+1);return r}function l(e){if(!e)throw TypeError(`argument is required`);var t;if(typeof e==`string`)t=[e];else if(Array.isArray(e))t=e.slice();else throw TypeError(`unsupported trust argument`);for(var n=0;n<t.length;n++)e=t[n],Object.prototype.hasOwnProperty.call(s,e)&&(e=s[e],t.splice.apply(t,[n,1].concat(e)),n+=e.length-1);return d(u(t))}function u(e){for(var t=Array(e.length),n=0;n<e.length;n++)t[n]=f(e[n]);return t}function d(e){var t=e.length;return t===0?h:t===1?_(e[0]):g(e)}function f(e){var t=e.lastIndexOf(`/`),n=t===-1?e:e.substring(0,t);if(!a(n))throw TypeError(`invalid IP address: `+n);var r=o(n);t===-1&&r.kind()===`ipv6`&&r.isIPv4MappedAddress()&&(r=r.toIPv4Address());var s=r.kind()===`ipv6`?128:32,c=t===-1?null:e.substring(t+1,e.length);if(c=c===null?s:i.test(c)?parseInt(c,10):r.kind()===`ipv4`&&a(c)?p(c):null,c<=0||c>s)throw TypeError(`invalid range on address: `+e);return[r,c]}function p(e){var t=o(e);return t.kind()===`ipv4`?t.prefixLengthFromSubnetMask():null}function m(e,t){if(!e)throw TypeError(`req argument is required`);if(!t)throw TypeError(`trust argument is required`);var n=c(e,t);return n[n.length-1]}function h(){return!1}function g(e){return function(t){if(!a(t))return!1;for(var n=o(t),r,i=n.kind(),s=0;s<e.length;s++){var c=e[s],l=c[0],u=l.kind(),d=c[1],f=n;if(i!==u){if(u===`ipv4`&&!n.isIPv4MappedAddress())continue;r||=u===`ipv4`?n.toIPv4Address():n.toIPv4MappedAddress(),f=r}if(f.match(l,d))return!0}return!1}}function _(e){var t=e[0],n=t.kind(),r=n===`ipv4`,i=e[1];return function(e){if(!a(e))return!1;var s=o(e);if(s.kind()!==n){if(r&&!s.isIPv4MappedAddress())return!1;s=r?s.toIPv4Address():s.toIPv4MappedAddress()}return s.match(t,i)}}})),Vt=a((e=>{var{METHODS:n}=t(`node:http`),r=Te(),i=Lt(),a=ke(),o=Bt(),s=Ot(),c=t(`querystring`);e.methods=n.map(e=>e.toLowerCase()),e.etag=u({weak:!1}),e.wetag=u({weak:!0}),e.normalizeType=function(e){return~e.indexOf(`/`)?l(e):{value:a.lookup(e)||`application/octet-stream`,params:{}}},e.normalizeTypes=function(t){return t.map(e.normalizeType)};function l(e){for(var t=e.length,n=e.indexOf(`;`),r=n===-1?t:n,i={value:e.slice(0,r).trim(),quality:1,params:{}};r<t;){var a=e.indexOf(`=`,r);if(a===-1)break;var n=e.indexOf(`;`,r),o=n===-1?t:n;if(a>o){r=e.lastIndexOf(`;`,a-1)+1;continue}var s=e.slice(r,a).trim(),c=e.slice(a+1,o).trim();s===`q`?i.quality=parseFloat(c):i.params[s]=c,r=o+1}return i}e.compileETag=function(t){var n;if(typeof t==`function`)return t;switch(t){case!0:case`weak`:n=e.wetag;break;case!1:break;case`strong`:n=e.etag;break;default:throw TypeError(`unknown value for etag function: `+t)}return n},e.compileQueryParser=function(e){var t;if(typeof e==`function`)return e;switch(e){case!0:case`simple`:t=c.parse;break;case!1:break;case`extended`:t=d;break;default:throw TypeError(`unknown value for query parser function: `+e)}return t},e.compileTrust=function(e){return typeof e==`function`?e:e===!0?function(){return!0}:typeof e==`number`?function(t,n){return n<e}:(typeof e==`string`&&(e=e.split(`,`).map(function(e){return e.trim()})),o.compile(e||[]))},e.setCharset=function(e,t){if(!e||!t)return e;var n=r.parse(e);return n.parameters.charset=t,r.format(n)};function u(e){return function(t,n){return i(Buffer.isBuffer(t)?t:Buffer.from(t,n),e)}}function d(e){return s.parse(e,{allowPrototypes:!0})}})),Ht=a(((e,t)=>{t.exports=n;function n(e,t){if(e&&t)return n(e)(t);if(typeof e!=`function`)throw TypeError(`need wrapper function`);return Object.keys(e).forEach(function(t){r[t]=e[t]}),r;function r(){for(var t=Array(arguments.length),n=0;n<t.length;n++)t[n]=arguments[n];var r=e.apply(this,t),i=t[t.length-1];return typeof r==`function`&&r!==i&&Object.keys(i).forEach(function(e){r[e]=i[e]}),r}}})),Ut=a(((e,t)=>{var n=Ht();t.exports=n(r),t.exports.strict=n(i),r.proto=r(function(){Object.defineProperty(Function.prototype,`once`,{value:function(){return r(this)},configurable:!0}),Object.defineProperty(Function.prototype,`onceStrict`,{value:function(){return i(this)},configurable:!0})});function r(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function i(e){var t=function(){if(t.called)throw Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)};return t.onceError=(e.name||"Function wrapped with `once`")+` shouldn't be called more than once`,t.called=!1,t}})),Wt=a(((e,t)=>{t.exports=n,t.exports.default=n;function n(e){return!!e&&(typeof e==`object`||typeof e==`function`)&&typeof e.then==`function`}})),Gt=a((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.PathError=e.TokenData=void 0,e.parse=l,e.compile=u,e.match=p,e.pathToRegexp=m,e.stringify=b;let t=e=>e,n=/^[$_\p{ID_Start}]$/u,r=/^[$\u200c\u200d\p{ID_Continue}]$/u,i={"{":`{`,"}":`}`,"(":`(`,")":`)`,"[":`[`,"]":`]`,"+":`+`,"?":`?`,"!":`!`};function a(e){return e.replace(/[{}()\[\]+?!:*\\]/g,`\\$&`)}function o(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,`\\$&`)}var s=class{constructor(e,t){this.tokens=e,this.originalPath=t}};e.TokenData=s;var c=class extends TypeError{constructor(e,t){let n=e;t&&(n+=`: ${t}`),n+=`; visit https://git.new/pathToRegexpError for info`,super(n),this.originalPath=t}};e.PathError=c;function l(e,a={}){let{encodePath:o=t}=a,l=[...e],u=[],d=0,f=0;function p(){let t=``;if(n.test(l[d]))do t+=l[d++];while(r.test(l[d]));else if(l[d]===`"`){let n=d;for(;d++<l.length;){if(l[d]===`"`){d++,n=0;break}l[d]===`\\`&&d++,t+=l[d]}if(n)throw new c(`Unterminated quote at index ${n}`,e)}if(!t)throw new c(`Missing parameter name at index ${d}`,e);return t}for(;d<l.length;){let e=l[d],t=i[e];t?u.push({type:t,index:d++,value:e}):e===`\\`?u.push({type:`escape`,index:d++,value:l[d++]}):e===`:`?u.push({type:`param`,index:d++,value:p()}):e===`*`?u.push({type:`wildcard`,index:d++,value:p()}):u.push({type:`char`,index:d++,value:e})}u.push({type:`end`,index:d,value:``});function m(t){let n=[];for(;;){let r=u[f++];if(r.type===t)break;if(r.type===`char`||r.type===`escape`){let e=r.value,t=u[f];for(;t.type===`char`||t.type===`escape`;)e+=t.value,t=u[++f];n.push({type:`text`,value:o(e)});continue}if(r.type===`param`||r.type===`wildcard`){n.push({type:r.type,name:r.value});continue}if(r.type===`{`){n.push({type:`group`,tokens:m(`}`)});continue}throw new c(`Unexpected ${r.type} at index ${r.index}, expected ${t}`,e)}return n}return new s(m(`end`),e)}function u(e,t={}){let{encode:n=encodeURIComponent,delimiter:r=`/`}=t,i=d((typeof e==`object`?e:l(e,t)).tokens,r,n);return function(e={}){let[t,...n]=i(e);if(n.length)throw TypeError(`Missing parameters: ${n.join(`, `)}`);return t}}function d(e,t,n){let r=e.map(e=>f(e,t,n));return e=>{let t=[``];for(let n of r){let[r,...i]=n(e);t[0]+=r,t.push(...i)}return t}}function f(e,n,r){if(e.type===`text`)return()=>[e.value];if(e.type===`group`){let t=d(e.tokens,n,r);return e=>{let[n,...r]=t(e);return r.length?[``]:[n]}}let i=r||t;return e.type===`wildcard`&&r!==!1?t=>{let r=t[e.name];if(r==null)return[``,e.name];if(!Array.isArray(r)||r.length===0)throw TypeError(`Expected "${e.name}" to be a non-empty array`);return[r.map((t,n)=>{if(typeof t!=`string`)throw TypeError(`Expected "${e.name}/${n}" to be a string`);return i(t)}).join(n)]}:t=>{let n=t[e.name];if(n==null)return[``,e.name];if(typeof n!=`string`)throw TypeError(`Expected "${e.name}" to be a string`);return[i(n)]}}function p(e,n={}){let{decode:r=decodeURIComponent,delimiter:i=`/`}=n,{regexp:a,keys:o}=m(e,n),s=o.map(e=>r===!1?t:e.type===`param`?r:e=>e.split(i).map(r));return function(e){let t=a.exec(e);if(!t)return!1;let n=t[0],r=Object.create(null);for(let e=1;e<t.length;e++){if(t[e]===void 0)continue;let n=o[e-1],i=s[e-1];r[n.name]=i(t[e])}return{path:n,params:r}}}function m(e,t={}){let{delimiter:n=`/`,end:r=!0,sensitive:i=!1,trailing:a=!0}=t,s=[],c=i?``:`i`,u=[];for(let r of h(e,[])){let e=typeof r==`object`?r:l(r,t);for(let t of g(e.tokens,0,[]))u.push(_(t,n,s,e.originalPath))}let d=`^(?:${u.join(`|`)})`;return a&&(d+=`(?:${o(n)}$)?`),d+=r?`$`:`(?=${o(n)}|$)`,{regexp:new RegExp(d,c),keys:s}}function h(e,t){if(Array.isArray(e))for(let n of e)h(n,t);else t.push(e);return t}function*g(e,t,n){if(t===e.length)return yield n;let r=e[t];if(r.type===`group`)for(let i of g(r.tokens,0,n.slice()))yield*g(e,t+1,i);else n.push(r);yield*g(e,t+1,n)}function _(e,t,n,r){let i=``,a=``,s=!0;for(let l of e){if(l.type===`text`){i+=o(l.value),a+=l.value,s||=l.value.includes(t);continue}if(l.type===`param`||l.type===`wildcard`){if(!s&&!a)throw new c(`Missing text before "${l.name}" ${l.type}`,r);l.type===`param`?i+=`(${v(t,s?``:a)}+)`:i+=`([\\s\\S]+)`,n.push(l),a=``,s=!1;continue}}return i}function v(e,t){return t.length<2?e.length<2?`[^${o(e+t)}]`:`(?:(?!${o(e)})[^${o(t)}])`:e.length<2?`(?:(?!${o(t)})[^${o(e)}])`:`(?:(?!${o(t)}|${o(e)})[\\s\\S])`}function y(e){let t=``,n=0;function r(t){return x(t)&&S(e[n])?t:JSON.stringify(t)}for(;n<e.length;){let i=e[n++];if(i.type===`text`){t+=a(i.value);continue}if(i.type===`group`){t+=`{${y(i.tokens)}}`;continue}if(i.type===`param`){t+=`:${r(i.name)}`;continue}if(i.type===`wildcard`){t+=`*${r(i.name)}`;continue}throw TypeError(`Unknown token type: ${i.type}`)}return t}function b(e){return y(e.tokens)}function x(e){let[t,...i]=e;return n.test(t)&&i.every(e=>r.test(e))}function S(e){return e&&e.type===`text`?!r.test(e.value[0]):!0}})),Kt=a(((e,t)=>{let n=Wt(),r=Gt(),i=N()(`router:layer`),a=P()(`router`),o=/\/+$/,s=/\((?:\?<(.*?)>)?(?!\?)/g;t.exports=c;function c(e,t,n){if(!(this instanceof c))return new c(e,t,n);i(`new %o`,e);let a=t||{};this.handle=n,this.keys=[],this.name=n.name||`<anonymous>`,this.params=void 0,this.path=void 0,this.slash=e===`/`&&a.end===!1;function o(e){if(e instanceof RegExp){let t=[],n=0,r;for(;r=s.exec(e.source);)t.push({name:r[1]||n++,offset:r.index});return function(n){let r=e.exec(n);if(!r)return!1;let i={};for(let e=1;e<r.length;e++){let n=t[e-1].name,a=l(r[e]);a!==void 0&&(i[n]=a)}return{params:i,path:r[0]}}}return r.match(a.strict?e:u(e),{sensitive:a.sensitive,end:a.end,trailing:!a.strict,decode:l})}this.matchers=Array.isArray(e)?e.map(o):[o(e)]}c.prototype.handleError=function(e,t,r,i){let o=this.handle;if(o.length!==4)return i(e);try{let s=o(e,t,r,i);n(s)&&(s instanceof Promise||a(`handlers that are Promise-like are deprecated, use a native Promise instead`),s.then(null,function(e){i(e||Error(`Rejected promise`))}))}catch(e){i(e)}},c.prototype.handleRequest=function(e,t,r){let i=this.handle;if(i.length>3)return r();try{let o=i(e,t,r);n(o)&&(o instanceof Promise||a(`handlers that are Promise-like are deprecated, use a native Promise instead`),o.then(null,function(e){r(e||Error(`Rejected promise`))}))}catch(e){r(e)}},c.prototype.match=function(e){let t;if(e!=null){if(this.slash)return this.params={},this.path=``,!0;let n=0;for(;!t&&n<this.matchers.length;)t=this.matchers[n](e),n++}return t?(this.params=t.params,this.path=t.path,this.keys=Object.keys(t.params),!0):(this.params=void 0,this.path=void 0,!1)};function l(e){if(typeof e!=`string`||e.length===0)return e;try{return decodeURIComponent(e)}catch(t){throw t instanceof URIError&&(t.message=`Failed to decode param '`+e+`'`,t.status=400),t}}function u(e){return e instanceof RegExp||e===`/`?e:Array.isArray(e)?e.map(function(e){return u(e)}):String(e).replace(o,``)}})),qt=a(((e,n)=>{let r=N()(`router:route`),i=Kt(),{METHODS:a}=t(`node:http`),o=Array.prototype.slice,s=Array.prototype.flat,c=a.map(e=>e.toLowerCase());n.exports=l;function l(e){r(`new %o`,e),this.path=e,this.stack=[],this.methods=Object.create(null)}l.prototype._handlesMethod=function(e){if(this.methods._all)return!0;let t=typeof e==`string`?e.toLowerCase():e;return t===`head`&&!this.methods.head&&(t=`get`),!!this.methods[t]},l.prototype._methods=function(){let e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push(`head`);for(let t=0;t<e.length;t++)e[t]=e[t].toUpperCase();return e},l.prototype.dispatch=function(e,t,n){let r=0,i=this.stack,a=0;if(i.length===0)return n();let o=typeof e.method==`string`?e.method.toLowerCase():e.method;o===`head`&&!this.methods.head&&(o=`get`),e.route=this,s();function s(c){if(c&&c===`route`)return n();if(c&&c===`router`||r>=i.length)return n(c);if(++a>100)return setImmediate(s,c);let l,u;for(;u!==!0&&r<i.length;)l=i[r++],u=!l.method||l.method===o;if(u!==!0)return n(c);c?l.handleError(c,e,t,s):l.handleRequest(e,t,s),a=0}},l.prototype.all=function(e){let t=s.call(o.call(arguments),1/0);if(t.length===0)throw TypeError(`argument handler is required`);for(let e=0;e<t.length;e++){let n=t[e];if(typeof n!=`function`)throw TypeError(`argument handler must be a function`);let r=i(`/`,{},n);r.method=void 0,this.methods._all=!0,this.stack.push(r)}return this},c.forEach(function(e){l.prototype[e]=function(t){let n=s.call(o.call(arguments),1/0);if(n.length===0)throw TypeError(`argument handler is required`);for(let t=0;t<n.length;t++){let a=n[t];if(typeof a!=`function`)throw TypeError(`argument handler must be a function`);r(`%s %s`,e,this.path);let o=i(`/`,{},a);o.method=e,this.methods[e]=!0,this.stack.push(o)}return this}})})),Jt=a(((e,n)=>{let r=Wt(),i=Kt(),{METHODS:a}=t(`node:http`),o=Pt(),s=qt(),c=N()(`router`),l=P()(`router`),u=Array.prototype.slice,d=Array.prototype.flat,f=a.map(e=>e.toLowerCase());n.exports=p,n.exports.Route=s;function p(e){if(!(this instanceof p))return new p(e);let t=e||{};function n(e,t,r){n.handle(e,t,r)}return Object.setPrototypeOf(n,this),n.caseSensitive=t.caseSensitive,n.mergeParams=t.mergeParams,n.params={},n.strict=t.strict,n.stack=[],n}p.prototype=function(){},p.prototype.param=function(e,t){if(!e)throw TypeError(`argument name is required`);if(typeof e!=`string`)throw TypeError(`argument name must be a string`);if(!t)throw TypeError(`argument fn is required`);if(typeof t!=`function`)throw TypeError(`argument fn must be a function`);let n=this.params[e];return n||=this.params[e]=[],n.push(t),this},p.prototype.handle=function(e,t,n){if(!n)throw TypeError(`argument callback is required`);c(`dispatching %s %s`,e.method,e.url);let r=0,i,a=g(e.url)||``,o=``,s=this,l=!1,u=0,d={},f=this.stack,p=e.params,x=e.baseUrl||``,S=b(n,e,`baseUrl`,`next`,`params`);e.next=w,e.method===`OPTIONS`&&(i=[],S=C(S,m(t,i))),e.baseUrl=x,e.originalUrl=e.originalUrl||e.url,w();function w(n){let c=n===`route`?null:n;if(l&&=(e.url=e.url.slice(1),!1),o.length!==0&&(e.baseUrl=x,e.url=a+o+e.url.slice(a.length),o=``),c===`router`){setImmediate(S,null);return}if(r>=f.length){setImmediate(S,c);return}if(++u>100)return setImmediate(w,n);let m=h(e);if(m==null)return S(c);let g,b,C;for(;b!==!0&&r<f.length;){if(g=f[r++],b=_(g,m),C=g.route,typeof b!=`boolean`&&(c||=b),b!==!0||!C)continue;if(c){b=!1;continue}let t=e.method,n=C._handlesMethod(t);!n&&t===`OPTIONS`&&i&&i.push.apply(i,C._methods()),!n&&t!==`HEAD`&&(b=!1)}if(b!==!0)return S(c);C&&(e.route=C),e.params=s.mergeParams?v(g.params,p):g.params;let E=g.path;y(s.params,g,d,e,t,function(n){n?w(c||n):C?g.handleRequest(e,t,w):T(g,c,E,m),u=0})}function T(n,r,i,s){if(i.length!==0){if(i!==s.substring(0,i.length)){w(r);return}let t=s[i.length];if(t&&t!==`/`){w(r);return}c(`trim prefix (%s) from url %s`,i,e.url),o=i,e.url=a+e.url.slice(a.length+o.length),!a&&e.url[0]!==`/`&&(e.url=`/`+e.url,l=!0),e.baseUrl=x+(o[o.length-1]===`/`?o.substring(0,o.length-1):o)}c(`%s %s : %s`,n.name,i,e.originalUrl),r?n.handleError(r,e,t,w):n.handleRequest(e,t,w)}},p.prototype.use=function(e){let t=0,n=`/`;if(typeof e!=`function`){let r=e;for(;Array.isArray(r)&&r.length!==0;)r=r[0];typeof r!=`function`&&(t=1,n=e)}let r=d.call(u.call(arguments,t),1/0);if(r.length===0)throw TypeError(`argument handler is required`);for(let e=0;e<r.length;e++){let t=r[e];if(typeof t!=`function`)throw TypeError(`argument handler must be a function`);c(`use %o %s`,n,t.name||`<anonymous>`);let a=new i(n,{sensitive:this.caseSensitive,strict:!1,end:!1},t);a.route=void 0,this.stack.push(a)}return this},p.prototype.route=function(e){let t=new s(e),n=new i(e,{sensitive:this.caseSensitive,strict:this.strict,end:!0},r);function r(e,n,r){t.dispatch(e,n,r)}return n.route=t,this.stack.push(n),t},f.concat(`all`).forEach(function(e){p.prototype[e]=function(t){let n=this.route(t);return n[e].apply(n,u.call(arguments,1)),this}});function m(e,t){return function(n,r){if(r||t.length===0)return n(r);S(e,t,n)}}function h(e){try{return o(e).pathname}catch{return}}function g(e){if(typeof e!=`string`||e.length===0||e[0]===`/`)return;let t=e.indexOf(`?`),n=t===-1?e.length:t,r=e.substring(0,n).indexOf(`://`);return r===-1?void 0:e.substring(0,e.indexOf(`/`,3+r))}function _(e,t){try{return e.match(t)}catch(e){return e}}function v(e,t){if(typeof t!=`object`||!t)return e;let n=Object.assign({},t);if(!(0 in e)||!(0 in t))return Object.assign(n,e);let r=0,i=0;for(;r in e;)r++;for(;i in t;)i++;for(r--;r>=0;r--)e[r+i]=e[r],r<i&&delete e[r];return Object.assign(n,e)}function y(e,t,n,i,a,o){let s=t.keys;if(!s||s.length===0)return o();let c=0,u=0,d,f,p,m;function h(t){if(t)return o(t);if(c>=s.length)return o();if(u=0,d=s[c++],f=i.params[d],p=e[d],m=n[d],f===void 0||!p)return h();if(m&&(m.match===f||m.error&&m.error!==`route`))return i.params[d]=m.value,h(m.error);n[d]=m={error:null,match:f,value:f},g()}function g(e){let t=p[u++];if(m.value=i.params[d],e){m.error=e,h(e);return}if(!t)return h();try{let e=t(i,a,g,f,d);r(e)&&(e instanceof Promise||l(`parameters that are Promise-like are deprecated, use a native Promise instead`),e.then(null,function(e){g(e||Error(`Rejected promise`))}))}catch(e){g(e)}}h()}function b(e,t){let n=Array(arguments.length-2),r=Array(arguments.length-2);for(let e=0;e<n.length;e++)n[e]=arguments[e+2],r[e]=t[n[e]];return function(){for(let e=0;e<n.length;e++)t[n[e]]=r[e];return e.apply(this,arguments)}}function x(e,t){let n=Object.create(null);for(let e=0;e<t.length;e++)n[t[e]]=!0;let r=Object.keys(n).sort().join(`, `);e.setHeader(`Allow`,r),e.setHeader(`Content-Length`,Buffer.byteLength(r)),e.setHeader(`Content-Type`,`text/plain`),e.setHeader(`X-Content-Type-Options`,`nosniff`),e.end(r)}function S(e,t,n){try{x(e,t)}catch(e){n(e)}}function C(e,t){return function(){let n=Array(arguments.length+1);n[0]=e;for(let e=0,t=arguments.length;e<t;e++)n[e+1]=arguments[e];t.apply(this,n)}}})),Yt=a(((e,n)=>{var r=Ft(),i=N()(`express:application`),a=It(),o=t(`node:http`),s=Vt().methods,c=Vt().compileETag,l=Vt().compileQueryParser,u=Vt().compileTrust,d=t(`node:path`).resolve,f=Ut(),p=Jt(),m=Array.prototype.slice,h=Array.prototype.flat,g=e=n.exports={},_=`@@symbol:trust_proxy_default`;g.init=function(){var e=null;this.cache=Object.create(null),this.engines=Object.create(null),this.settings=Object.create(null),this.defaultConfiguration(),Object.defineProperty(this,`router`,{configurable:!0,enumerable:!0,get:function(){return e===null&&(e=new p({caseSensitive:this.enabled(`case sensitive routing`),strict:this.enabled(`strict routing`)})),e}})},g.defaultConfiguration=function(){var e=process.env.NODE_ENV||`development`;this.enable(`x-powered-by`),this.set(`etag`,`weak`),this.set(`env`,e),this.set(`query parser`,`simple`),this.set(`subdomain offset`,2),this.set(`trust proxy`,!1),Object.defineProperty(this.settings,_,{configurable:!0,value:!0}),i(`booting in %s mode`,e),this.on(`mount`,function(e){this.settings[_]===!0&&typeof e.settings[`trust proxy fn`]==`function`&&(delete this.settings[`trust proxy`],delete this.settings[`trust proxy fn`]),Object.setPrototypeOf(this.request,e.request),Object.setPrototypeOf(this.response,e.response),Object.setPrototypeOf(this.engines,e.engines),Object.setPrototypeOf(this.settings,e.settings)}),this.locals=Object.create(null),this.mountpath=`/`,this.locals.settings=this.settings,this.set(`view`,a),this.set(`views`,d(`views`)),this.set(`jsonp callback name`,`callback`),e===`production`&&this.enable(`view cache`)},g.handle=function(e,t,n){var i=n||r(e,t,{env:this.get(`env`),onerror:v.bind(this)});this.enabled(`x-powered-by`)&&t.setHeader(`X-Powered-By`,`Express`),e.res=t,t.req=e,Object.setPrototypeOf(e,this.request),Object.setPrototypeOf(t,this.response),t.locals||=Object.create(null),this.router.handle(e,t,i)},g.use=function(e){var t=0,n=`/`;if(typeof e!=`function`){for(var r=e;Array.isArray(r)&&r.length!==0;)r=r[0];typeof r!=`function`&&(t=1,n=e)}var a=h.call(m.call(arguments,t),1/0);if(a.length===0)throw TypeError(`app.use() requires a middleware function`);var o=this.router;return a.forEach(function(e){if(!e||!e.handle||!e.set)return o.use(n,e);i(`.use app under %s`,n),e.mountpath=n,e.parent=this,o.use(n,function(t,n,r){var i=t.app;e.handle(t,n,function(e){Object.setPrototypeOf(t,i.request),Object.setPrototypeOf(n,i.response),r(e)})}),e.emit(`mount`,this)},this),this},g.route=function(e){return this.router.route(e)},g.engine=function(e,t){if(typeof t!=`function`)throw Error(`callback function required`);var n=e[0]===`.`?e:`.`+e;return this.engines[n]=t,this},g.param=function(e,t){if(Array.isArray(e)){for(var n=0;n<e.length;n++)this.param(e[n],t);return this}return this.router.param(e,t),this},g.set=function(e,t){if(arguments.length===1)return this.settings[e];switch(i(`set "%s" to %o`,e,t),this.settings[e]=t,e){case`etag`:this.set(`etag fn`,c(t));break;case`query parser`:this.set(`query parser fn`,l(t));break;case`trust proxy`:this.set(`trust proxy fn`,u(t)),Object.defineProperty(this.settings,_,{configurable:!0,value:!1});break}return this},g.path=function(){return this.parent?this.parent.path()+this.mountpath:``},g.enabled=function(e){return!!this.set(e)},g.disabled=function(e){return!this.set(e)},g.enable=function(e){return this.set(e,!0)},g.disable=function(e){return this.set(e,!1)},s.forEach(function(e){g[e]=function(t){if(e===`get`&&arguments.length===1)return this.set(t);var n=this.route(t);return n[e].apply(n,m.call(arguments,1)),this}}),g.all=function(e){for(var t=this.route(e),n=m.call(arguments,1),r=0;r<s.length;r++)t[s[r]].apply(t,n);return this},g.render=function(e,t,n){var r=this.cache,i=n,a=this.engines,o=t,s;typeof t==`function`&&(i=t,o={});var c={...this.locals,...o._locals,...o};if(c.cache??=this.enabled(`view cache`),c.cache&&(s=r[e]),!s){if(s=new(this.get(`view`))(e,{defaultEngine:this.get(`view engine`),root:this.get(`views`),engines:a}),!s.path){var l=Array.isArray(s.root)&&s.root.length>1?`directories "`+s.root.slice(0,-1).join(`", "`)+`" or "`+s.root[s.root.length-1]+`"`:`directory "`+s.root+`"`,u=Error(`Failed to lookup view "`+e+`" in views `+l);return u.view=s,i(u)}c.cache&&(r[e]=s)}y(s,c,i)},g.listen=function(){var e=o.createServer(this),t=Array.prototype.slice.call(arguments);if(typeof t[t.length-1]==`function`){var n=t[t.length-1]=f(t[t.length-1]);e.once(`error`,n)}return e.listen.apply(e,t)};function v(e){this.get(`env`)!==`test`&&console.error(e.stack||e.toString())}function y(e,t,n){try{e.render(t,n)}catch(e){n(e)}}})),Xt=a(((e,t)=>{t.exports=s,t.exports.preferredCharsets=s;var n=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e){for(var t=e.split(`,`),n=0,r=0;n<t.length;n++){var a=i(t[n].trim(),n);a&&(t[r++]=a)}return t.length=r,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=r[1],a=1;if(r[2])for(var o=r[2].split(`;`),s=0;s<o.length;s++){var c=o[s].trim().split(`=`);if(c[0]===`q`){a=parseFloat(c[1]);break}}return{charset:i,q:a,i:t}}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=0;if(t.charset.toLowerCase()===e.toLowerCase())r|=1;else if(t.charset!==`*`)return null;return{i:n,o:t.i,q:t.q,s:r}}function s(e,t){var n=r(e===void 0?`*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.charset}function u(e){return e.q>0}})),Zt=a(((e,t)=>{t.exports=s,t.exports.preferredEncodings=s;var n=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function r(e){for(var t=e.split(`,`),n=!1,r=1,a=0,s=0;a<t.length;a++){var c=i(t[a].trim(),a);c&&(t[s++]=c,n||=o(`identity`,c),r=Math.min(r,c.q||1))}return n||(t[s++]={encoding:`identity`,q:r,i:a}),t.length=s,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=r[1],a=1;if(r[2])for(var o=r[2].split(`;`),s=0;s<o.length;s++){var c=o[s].trim().split(`=`);if(c[0]===`q`){a=parseFloat(c[1]);break}}return{encoding:i,q:a,i:t}}function a(e,t,n){for(var r={encoding:e,o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=0;if(t.encoding.toLowerCase()===e.toLowerCase())r|=1;else if(t.encoding!==`*`)return null;return{encoding:e,i:n,o:t.i,q:t.q,s:r}}function s(e,t,n){var i=r(e||``),o=n?function(e,t){if(e.q!==t.q)return t.q-e.q;var r=n.indexOf(e.encoding),i=n.indexOf(t.encoding);return r===-1&&i===-1?t.s-e.s||e.o-t.o||e.i-t.i:r!==-1&&i!==-1?r-i:r===-1?1:-1}:c;if(!t)return i.filter(u).sort(o).map(l);var s=t.map(function(e,t){return a(e,i,t)});return s.filter(u).sort(o).map(function(e){return t[s.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i}function l(e){return e.encoding}function u(e){return e.q>0}})),Qt=a(((e,t)=>{t.exports=s,t.exports.preferredLanguages=s;var n=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function r(e){for(var t=e.split(`,`),n=0,r=0;n<t.length;n++){var a=i(t[n].trim(),n);a&&(t[r++]=a)}return t.length=r,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=r[1],a=r[2],o=i;a&&(o+=`-`+a);var s=1;if(r[3])for(var c=r[3].split(`;`),l=0;l<c.length;l++){var u=c[l].split(`=`);u[0]===`q`&&(s=parseFloat(u[1]))}return{prefix:i,suffix:a,q:s,i:t,full:o}}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=i(e);if(!r)return null;var a=0;if(t.full.toLowerCase()===r.full.toLowerCase())a|=4;else if(t.prefix.toLowerCase()===r.full.toLowerCase())a|=2;else if(t.full.toLowerCase()===r.prefix.toLowerCase())a|=1;else if(t.full!==`*`)return null;return{i:n,o:t.i,q:t.q,s:a}}function s(e,t){var n=r(e===void 0?`*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.full}function u(e){return e.q>0}})),$t=a(((e,t)=>{t.exports=s,t.exports.preferredMediaTypes=s;var n=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function r(e){for(var t=p(e),n=0,r=0;n<t.length;n++){var a=i(t[n].trim(),n);a&&(t[r++]=a)}return t.length=r,t}function i(e,t){var r=n.exec(e);if(!r)return null;var i=Object.create(null),a=1,o=r[2],s=r[1];if(r[3])for(var c=m(r[3]).map(f),l=0;l<c.length;l++){var u=c[l],d=u[0].toLowerCase(),p=u[1],h=p&&p[0]===`"`&&p[p.length-1]===`"`?p.slice(1,-1):p;if(d===`q`){a=parseFloat(h);break}i[d]=h}return{type:s,subtype:o,params:i,q:a,i:t}}function a(e,t,n){for(var r={o:-1,q:0,s:0},i=0;i<t.length;i++){var a=o(e,t[i],n);a&&(r.s-a.s||r.q-a.q||r.o-a.o)<0&&(r=a)}return r}function o(e,t,n){var r=i(e),a=0;if(!r)return null;if(t.type.toLowerCase()==r.type.toLowerCase())a|=4;else if(t.type!=`*`)return null;if(t.subtype.toLowerCase()==r.subtype.toLowerCase())a|=2;else if(t.subtype!=`*`)return null;var o=Object.keys(t.params);if(o.length>0)if(o.every(function(e){return t.params[e]==`*`||(t.params[e]||``).toLowerCase()==(r.params[e]||``).toLowerCase()}))a|=1;else return null;return{i:n,o:t.i,q:t.q,s:a}}function s(e,t){var n=r(e===void 0?`*/*`:e||``);if(!t)return n.filter(u).sort(c).map(l);var i=t.map(function(e,t){return a(e,n,t)});return i.filter(u).sort(c).map(function(e){return t[i.indexOf(e)]})}function c(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function l(e){return e.type+`/`+e.subtype}function u(e){return e.q>0}function d(e){for(var t=0,n=0;(n=e.indexOf(`"`,n))!==-1;)t++,n++;return t}function f(e){var t=e.indexOf(`=`),n,r;return t===-1?n=e:(n=e.slice(0,t),r=e.slice(t+1)),[n,r]}function p(e){for(var t=e.split(`,`),n=1,r=0;n<t.length;n++)d(t[r])%2==0?t[++r]=t[n]:t[r]+=`,`+t[n];return t.length=r+1,t}function m(e){for(var t=e.split(`;`),n=1,r=0;n<t.length;n++)d(t[r])%2==0?t[++r]=t[n]:t[r]+=`;`+t[n];t.length=r+1;for(var n=0;n<t.length;n++)t[n]=t[n].trim();return t}})),en=a(((e,t)=>{var n=Xt(),r=Zt(),i=Qt(),a=$t();t.exports=o,t.exports.Negotiator=o;function o(e){if(!(this instanceof o))return new o(e);this.request=e}o.prototype.charset=function(e){var t=this.charsets(e);return t&&t[0]},o.prototype.charsets=function(e){return n(this.request.headers[`accept-charset`],e)},o.prototype.encoding=function(e,t){var n=this.encodings(e,t);return n&&n[0]},o.prototype.encodings=function(e,t){var n=t||{};return r(this.request.headers[`accept-encoding`],e,n.preferred)},o.prototype.language=function(e){var t=this.languages(e);return t&&t[0]},o.prototype.languages=function(e){return i(this.request.headers[`accept-language`],e)},o.prototype.mediaType=function(e){var t=this.mediaTypes(e);return t&&t[0]},o.prototype.mediaTypes=function(e){return a(this.request.headers.accept,e)},o.prototype.preferredCharset=o.prototype.charset,o.prototype.preferredCharsets=o.prototype.charsets,o.prototype.preferredEncoding=o.prototype.encoding,o.prototype.preferredEncodings=o.prototype.encodings,o.prototype.preferredLanguage=o.prototype.language,o.prototype.preferredLanguages=o.prototype.languages,o.prototype.preferredMediaType=o.prototype.mediaType,o.prototype.preferredMediaTypes=o.prototype.mediaTypes})),tn=a(((e,t)=>{var n=en(),r=ke();t.exports=i;function i(e){if(!(this instanceof i))return new i(e);this.headers=e.headers,this.negotiator=new n(e)}i.prototype.type=i.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}if(!t||t.length===0)return this.negotiator.mediaTypes();if(!this.headers.accept)return t[0];var r=t.map(a),i=this.negotiator.mediaTypes(r.filter(o))[0];return i?t[r.indexOf(i)]:!1},i.prototype.encoding=i.prototype.encodings=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return!t||t.length===0?this.negotiator.encodings():this.negotiator.encodings(t)[0]||!1},i.prototype.charset=i.prototype.charsets=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return!t||t.length===0?this.negotiator.charsets():this.negotiator.charsets(t)[0]||!1},i.prototype.lang=i.prototype.langs=i.prototype.language=i.prototype.languages=function(e){var t=e;if(t&&!Array.isArray(t)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return!t||t.length===0?this.negotiator.languages():this.negotiator.languages(t)[0]||!1};function a(e){return e.indexOf(`/`)===-1?r.lookup(e):e}function o(e){return typeof e==`string`}})),nn=a(((e,t)=>{var n=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;t.exports=r;function r(e,t){var r=e[`if-modified-since`],o=e[`if-none-match`];if(!r&&!o)return!1;var s=e[`cache-control`];if(s&&n.test(s))return!1;if(o){if(o===`*`)return!0;var c=t.etag;if(!c)return!1;for(var l=a(o),u=0;u<l.length;u++){var d=l[u];if(d===c||d===`W/`+c||`W/`+d===c)return!0}return!1}if(r){var f=t[`last-modified`];if(!f||!(i(f)<=i(r)))return!1}return!0}function i(e){var t=e&&Date.parse(e);return typeof t==`number`?t:NaN}function a(e){for(var t=0,n=[],r=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i+1);break;case 44:n.push(e.substring(r,t)),r=t=i+1;break;default:t=i+1;break}return n.push(e.substring(r,t)),n}})),rn=a(((e,t)=>{t.exports=n;function n(e,t,n){if(typeof t!=`string`)throw TypeError(`argument str must be a string`);var i=t.indexOf(`=`);if(i===-1)return-2;var a=t.slice(i+1).split(`,`),o=[];o.type=t.slice(0,i);for(var s=0;s<a.length;s++){var c=a[s].split(`-`),l=parseInt(c[0],10),u=parseInt(c[1],10);isNaN(l)?(l=e-u,u=e-1):isNaN(u)&&(u=e-1),u>e-1&&(u=e-1),!(isNaN(l)||isNaN(u)||l>u||l<0)&&o.push({start:l,end:u})}return o.length<1?-1:n&&n.combine?r(o):o}function r(e){for(var t=e.map(i).sort(s),n=0,r=1;r<t.length;r++){var c=t[r],l=t[n];c.start>l.end+1?t[++n]=c:c.end>l.end&&(l.end=c.end,l.index=Math.min(l.index,c.index))}t.length=n+1;var u=t.sort(o).map(a);return u.type=e.type,u}function i(e,t){return{start:e.start,end:e.end,index:t}}function a(e){return{start:e.start,end:e.end}}function o(e,t){return e.index-t.index}function s(e,t){return e.start-t.start}})),an=a(((e,n)=>{var r=tn(),i=t(`node:net`).isIP,a=je(),o=t(`node:http`),s=nn(),c=rn(),l=Pt(),u=Bt(),d=Object.create(o.IncomingMessage.prototype);n.exports=d,d.get=d.header=function(e){if(!e)throw TypeError(`name argument is required to req.get`);if(typeof e!=`string`)throw TypeError(`name must be a string to req.get`);var t=e.toLowerCase();switch(t){case`referer`:case`referrer`:return this.headers.referrer||this.headers.referer;default:return this.headers[t]}},d.accepts=function(){var e=r(this);return e.types.apply(e,arguments)},d.acceptsEncodings=function(){var e=r(this);return e.encodings.apply(e,arguments)},d.acceptsCharsets=function(){var e=r(this);return e.charsets.apply(e,arguments)},d.acceptsLanguages=function(){var e=r(this);return e.languages.apply(e,arguments)},d.range=function(e,t){var n=this.get(`Range`);if(n)return c(e,n,t)},f(d,`query`,function(){var e=this.app.get(`query parser fn`);if(!e)return Object.create(null);var t=l(this).query;return e(t)}),d.is=function(e){var t=e;if(!Array.isArray(e)){t=Array(arguments.length);for(var n=0;n<t.length;n++)t[n]=arguments[n]}return a(this,t)},f(d,`protocol`,function(){var e=this.connection.encrypted?`https`:`http`;if(!this.app.get(`trust proxy fn`)(this.connection.remoteAddress,0))return e;var t=this.get(`X-Forwarded-Proto`)||e,n=t.indexOf(`,`);return n===-1?t.trim():t.substring(0,n).trim()}),f(d,`secure`,function(){return this.protocol===`https`}),f(d,`ip`,function(){var e=this.app.get(`trust proxy fn`);return u(this,e)}),f(d,`ips`,function(){var e=this.app.get(`trust proxy fn`),t=u.all(this,e);return t.reverse().pop(),t}),f(d,`subdomains`,function(){var e=this.hostname;if(!e)return[];var t=this.app.get(`subdomain offset`);return(i(e)?[e]:e.split(`.`).reverse()).slice(t)}),f(d,`path`,function(){return l(this).pathname}),f(d,`host`,function(){var e=this.app.get(`trust proxy fn`),t=this.get(`X-Forwarded-Host`);return!t||!e(this.connection.remoteAddress,0)?t=this.get(`Host`):t.indexOf(`,`)!==-1&&(t=t.substring(0,t.indexOf(`,`)).trimRight()),t||void 0}),f(d,`hostname`,function(){var e=this.host;if(e){var t=e[0]===`[`?e.indexOf(`]`)+1:0,n=e.indexOf(`:`,t);return n===-1?e:e.substring(0,n)}}),f(d,`fresh`,function(){var e=this.method,t=this.res,n=t.statusCode;return e!==`GET`&&e!==`HEAD`?!1:n>=200&&n<300||n===304?s(this.headers,{etag:t.get(`ETag`),"last-modified":t.get(`Last-Modified`)}):!1}),f(d,`stale`,function(){return!this.fresh}),f(d,`xhr`,function(){return(this.get(`X-Requested-With`)||``).toLowerCase()===`xmlhttprequest`});function f(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:n})}})),on=a(((e,n)=>{n.exports=h,n.exports.parse=b;var r=t(`path`).basename,i=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,a=/%[0-9A-Fa-f]{2}/,o=/%([0-9A-Fa-f]{2})/g,s=/[^\x20-\x7e\xa0-\xff]/g,c=/\\([\u0000-\u007f])/g,l=/([\\"])/g,u=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,d=/^[\x20-\x7e\x80-\xff]+$/,f=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,p=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,m=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function h(e,t){var n=t||{};return _(new T(n.type||`attachment`,g(e,n.fallback)))}function g(e,t){if(e!==void 0){var n={};if(typeof e!=`string`)throw TypeError(`filename must be a string`);if(t===void 0&&(t=!0),typeof t!=`string`&&typeof t!=`boolean`)throw TypeError(`fallback must be a string or boolean`);if(typeof t==`string`&&s.test(t))throw TypeError(`fallback must be ISO-8859-1 string`);var i=r(e),o=d.test(i),c=typeof t==`string`?r(t):t&&y(i),l=typeof c==`string`&&c!==i;return(l||!o||a.test(i))&&(n[`filename*`]=i),(o||l)&&(n.filename=l?c:i),n}}function _(e){var t=e.parameters,n=e.type;if(!n||typeof n!=`string`||!f.test(n))throw TypeError(`invalid type`);var r=String(n).toLowerCase();if(t&&typeof t==`object`)for(var i,a=Object.keys(t).sort(),o=0;o<a.length;o++){i=a[o];var s=i.slice(-1)===`*`?w(t[i]):C(t[i]);r+=`; `+i+`=`+s}return r}function v(e){var t=p.exec(e);if(!t)throw TypeError(`invalid extended field value`);var n=t[1].toLowerCase(),r=t[2],i,a=r.replace(o,x);switch(n){case`iso-8859-1`:i=y(a);break;case`utf-8`:case`utf8`:i=Buffer.from(a,`binary`).toString(`utf8`);break;default:throw TypeError(`unsupported charset in extended field`)}return i}function y(e){return String(e).replace(s,`?`)}function b(e){if(!e||typeof e!=`string`)throw TypeError(`argument string is required`);var t=m.exec(e);if(!t)throw TypeError(`invalid type format`);var n=t[0].length,r=t[1].toLowerCase(),i,a=[],o={},s;for(n=u.lastIndex=t[0].slice(-1)===`;`?n-1:n;t=u.exec(e);){if(t.index!==n)throw TypeError(`invalid parameter format`);if(n+=t[0].length,i=t[1].toLowerCase(),s=t[2],a.indexOf(i)!==-1)throw TypeError(`invalid duplicate parameter`);if(a.push(i),i.indexOf(`*`)+1===i.length){i=i.slice(0,-1),s=v(s),o[i]=s;continue}typeof o[i]!=`string`&&(s[0]===`"`&&(s=s.slice(1,-1).replace(c,`$1`)),o[i]=s)}if(n!==-1&&n!==e.length)throw TypeError(`invalid parameter format`);return new T(r,o)}function x(e,t){return String.fromCharCode(parseInt(t,16))}function S(e){return`%`+String(e).charCodeAt(0).toString(16).toUpperCase()}function C(e){return`"`+String(e).replace(l,`\\$1`)+`"`}function w(e){var t=String(e);return`UTF-8''`+encodeURIComponent(t).replace(i,S)}function T(e,t){this.type=e,this.parameters=t}})),sn=a((e=>{var n=t(`crypto`);e.sign=function(e,t){if(typeof e!=`string`)throw TypeError(`Cookie value must be provided as a string.`);if(t==null)throw TypeError(`Secret key must be provided.`);return e+`.`+n.createHmac(`sha256`,t).update(e).digest(`base64`).replace(/\=+$/,``)},e.unsign=function(t,r){if(typeof t!=`string`)throw TypeError(`Signed cookie string must be provided.`);if(r==null)throw TypeError(`Secret key must be provided.`);var i=t.slice(0,t.lastIndexOf(`.`)),a=e.sign(i,r),o=Buffer.from(a),s=Buffer.from(t);return o.length===s.length&&n.timingSafeEqual(o,s)?i:!1}})),cn=a((e=>{e.parse=s,e.serialize=u;var t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,i=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,a=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,o=/^[\u0020-\u003A\u003D-\u007E]*$/;function s(e,t){if(typeof e!=`string`)throw TypeError(`argument str must be a string`);var r={},i=e.length;if(i<2)return r;var a=t&&t.decode||d,o=0,s=0,u=0;do{if(s=e.indexOf(`=`,o),s===-1)break;if(u=e.indexOf(`;`,o),u===-1)u=i;else if(s>u){o=e.lastIndexOf(`;`,s-1)+1;continue}var f=c(e,o,s),m=l(e,s,f),h=e.slice(f,m);if(!n.call(r,h)){var g=c(e,s+1,u),_=l(e,u,g);e.charCodeAt(g)===34&&e.charCodeAt(_-1)===34&&(g++,_--),r[h]=p(e.slice(g,_),a)}o=u+1}while(o<i);return r}function c(e,t,n){do{var r=e.charCodeAt(t);if(r!==32&&r!==9)return t}while(++t<n);return n}function l(e,t,n){for(;t>n;){var r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return n}function u(e,t,n){var s=n&&n.encode||encodeURIComponent;if(typeof s!=`function`)throw TypeError(`option encode is invalid`);if(!r.test(e))throw TypeError(`argument name is invalid`);var c=s(t);if(!i.test(c))throw TypeError(`argument val is invalid`);var l=e+`=`+c;if(!n)return l;if(n.maxAge!=null){var u=Math.floor(n.maxAge);if(!isFinite(u))throw TypeError(`option maxAge is invalid`);l+=`; Max-Age=`+u}if(n.domain){if(!a.test(n.domain))throw TypeError(`option domain is invalid`);l+=`; Domain=`+n.domain}if(n.path){if(!o.test(n.path))throw TypeError(`option path is invalid`);l+=`; Path=`+n.path}if(n.expires){var d=n.expires;if(!f(d)||isNaN(d.valueOf()))throw TypeError(`option expires is invalid`);l+=`; Expires=`+d.toUTCString()}if(n.httpOnly&&(l+=`; HttpOnly`),n.secure&&(l+=`; Secure`),n.partitioned&&(l+=`; Partitioned`),n.priority)switch(typeof n.priority==`string`?n.priority.toLowerCase():n.priority){case`low`:l+=`; Priority=Low`;break;case`medium`:l+=`; Priority=Medium`;break;case`high`:l+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid`)}if(n.sameSite)switch(typeof n.sameSite==`string`?n.sameSite.toLowerCase():n.sameSite){case!0:l+=`; SameSite=Strict`;break;case`lax`:l+=`; SameSite=Lax`;break;case`strict`:l+=`; SameSite=Strict`;break;case`none`:l+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid`)}return l}function d(e){return e.indexOf(`%`)===-1?e:decodeURIComponent(e)}function f(e){return t.call(e)===`[object Date]`}function p(e,t){try{return t(e)}catch{return e}}})),ln=a(((e,n)=>{var r=B(),i=N()(`send`),a=Mt(),o=Nt(),s=Lt(),c=nn(),l=t(`fs`),u=ke(),d=y(),f=we(),p=rn(),m=t(`path`),h=L(),g=t(`stream`),_=t(`util`),v=m.extname,b=m.join,x=m.normalize,S=m.resolve,C=m.sep,w=/^ *bytes=/,T=3600*24*365*1e3,E=/(?:^|[\\/])\.\.(?:[\\/]|$)/;n.exports=D;function D(e,t,n){return new O(e,t,n)}function O(e,t,n){g.call(this);var r=n||{};if(this.options=r,this.path=t,this.req=e,this._acceptRanges=r.acceptRanges===void 0?!0:!!r.acceptRanges,this._cacheControl=r.cacheControl===void 0?!0:!!r.cacheControl,this._etag=r.etag===void 0?!0:!!r.etag,this._dotfiles=r.dotfiles===void 0?`ignore`:r.dotfiles,this._dotfiles!==`ignore`&&this._dotfiles!==`allow`&&this._dotfiles!==`deny`)throw TypeError(`dotfiles option must be "allow", "deny", or "ignore"`);this._extensions=r.extensions===void 0?[]:R(r.extensions,`extensions option`),this._immutable=r.immutable===void 0?!1:!!r.immutable,this._index=r.index===void 0?[`index.html`]:R(r.index,`index option`),this._lastModified=r.lastModified===void 0?!0:!!r.lastModified,this._maxage=r.maxAge||r.maxage,this._maxage=typeof this._maxage==`string`?d(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),T),this._root=r.root?S(r.root):null}_.inherits(O,g),O.prototype.error=function(e,t){if(I(this,`error`))return this.emit(`error`,P(e,t));var n=this.res,r=ee(`Error`,o(h.message[e]||String(e)));k(n),t&&t.headers&&V(n,t.headers),n.statusCode=e,n.setHeader(`Content-Type`,`text/html; charset=UTF-8`),n.setHeader(`Content-Length`,Buffer.byteLength(r)),n.setHeader(`Content-Security-Policy`,`default-src 'none'`),n.setHeader(`X-Content-Type-Options`,`nosniff`),n.end(r)},O.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]===`/`},O.prototype.isConditionalGET=function(){return this.req.headers[`if-match`]||this.req.headers[`if-unmodified-since`]||this.req.headers[`if-none-match`]||this.req.headers[`if-modified-since`]},O.prototype.isPreconditionFailure=function(){var e=this.req,t=this.res,n=e.headers[`if-match`];if(n){var r=t.getHeader(`ETag`);return!r||n!==`*`&&z(n).every(function(e){return e!==r&&e!==`W/`+r&&`W/`+e!==r})}var i=te(e.headers[`if-unmodified-since`]);if(!isNaN(i)){var a=te(t.getHeader(`Last-Modified`));return isNaN(a)||a>i}return!1},O.prototype.removeContentHeaderFields=function(){var e=this.res;e.removeHeader(`Content-Encoding`),e.removeHeader(`Content-Language`),e.removeHeader(`Content-Length`),e.removeHeader(`Content-Range`),e.removeHeader(`Content-Type`)},O.prototype.notModified=function(){var e=this.res;i(`not modified`),this.removeContentHeaderFields(),e.statusCode=304,e.end()},O.prototype.headersAlreadySent=function(){var e=Error(`Can't set headers after they are sent.`);i(`headers already sent`),this.error(500,e)},O.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||e===304},O.prototype.onStatError=function(e){switch(e.code){case`ENAMETOOLONG`:case`ENOENT`:case`ENOTDIR`:this.error(404,e);break;default:this.error(500,e);break}},O.prototype.isFresh=function(){return c(this.req.headers,{etag:this.res.getHeader(`ETag`),"last-modified":this.res.getHeader(`Last-Modified`)})},O.prototype.isRangeFresh=function(){var e=this.req.headers[`if-range`];if(!e)return!0;if(e.indexOf(`"`)!==-1){var t=this.res.getHeader(`ETag`);return!!(t&&e.indexOf(t)!==-1)}return te(this.res.getHeader(`Last-Modified`))<=te(e)},O.prototype.redirect=function(e){var t=this.res;if(I(this,`directory`)){this.emit(`directory`,t,e);return}if(this.hasTrailingSlash()){this.error(403);return}var n=a(A(this.path+`/`)),r=ee(`Redirecting`,`Redirecting to `+o(n));t.statusCode=301,t.setHeader(`Content-Type`,`text/html; charset=UTF-8`),t.setHeader(`Content-Length`,Buffer.byteLength(r)),t.setHeader(`Content-Security-Policy`,`default-src 'none'`),t.setHeader(`X-Content-Type-Options`,`nosniff`),t.setHeader(`Location`,n),t.end(r)},O.prototype.pipe=function(e){var t=this._root;this.res=e;var n=F(this.path);if(n===-1||~n.indexOf(`\0`))return this.error(400),e;var r;if(t!==null){if(n&&=x(`.`+C+n),E.test(n))return i(`malicious path "%s"`,n),this.error(403),e;r=n.split(C),n=x(b(t,n))}else{if(E.test(n))return i(`malicious path "%s"`,n),this.error(403),e;r=x(n).split(C),n=S(n)}if(j(r))switch(i(`%s dotfile "%s"`,this._dotfiles,n),this._dotfiles){case`allow`:break;case`deny`:return this.error(403),e;case`ignore`:default:return this.error(404),e}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(n),e):(this.sendFile(n),e)},O.prototype.send=function(e,t){var n=t.size,r=this.options,a={},o=this.res,s=this.req,c=s.headers.range,l=r.start||0;if(o.headersSent){this.headersAlreadySent();return}if(i(`pipe "%s"`,e),this.setHeader(e,t),this.type(e),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(n=Math.max(0,n-l),r.end!==void 0){var u=r.end-l+1;n>u&&(n=u)}if(this._acceptRanges&&w.test(c)){if(c=p(n,c,{combine:!0}),this.isRangeFresh()||(i(`range stale`),c=-2),c===-1)return i(`range unsatisfiable`),o.setHeader(`Content-Range`,M(`bytes`,n)),this.error(416,{headers:{"Content-Range":o.getHeader(`Content-Range`)}});c!==-2&&c.length===1&&(i(`range %j`,c),o.statusCode=206,o.setHeader(`Content-Range`,M(`bytes`,n,c[0])),l+=c[0].start,n=c[0].end-c[0].start+1)}for(var d in r)a[d]=r[d];if(a.start=l,a.end=Math.max(l,l+n-1),o.setHeader(`Content-Length`,n),s.method===`HEAD`){o.end();return}this.stream(e,a)},O.prototype.sendFile=function(e){var t=0,n=this;i(`stat "%s"`,e),l.stat(e,function(t,i){var a=e[e.length-1]===C;if(t&&t.code===`ENOENT`&&!v(e)&&!a)return r(t);if(t)return n.onStatError(t);if(i.isDirectory())return n.redirect(e);if(a)return n.error(404);n.emit(`file`,e,i),n.send(e,i)});function r(a){if(n._extensions.length<=t)return a?n.onStatError(a):n.error(404);var o=e+`.`+n._extensions[t++];i(`stat "%s"`,o),l.stat(o,function(e,t){if(e)return r(e);if(t.isDirectory())return r();n.emit(`file`,o,t),n.send(o,t)})}},O.prototype.sendIndex=function(e){var t=-1,n=this;function r(a){if(++t>=n._index.length)return a?n.onStatError(a):n.error(404);var o=b(e,n._index[t]);i(`stat "%s"`,o),l.stat(o,function(e,t){if(e)return r(e);if(t.isDirectory())return r();n.emit(`file`,o,t),n.send(o,t)})}r()},O.prototype.stream=function(e,t){var n=this,r=this.res,i=l.createReadStream(e,t);this.emit(`stream`,i),i.pipe(r);function a(){i.destroy()}f(r,a),i.on(`error`,function(e){a(),n.onStatError(e)}),i.on(`end`,function(){n.emit(`end`)})},O.prototype.type=function(e){var t=this.res;if(!t.getHeader(`Content-Type`)){var n=v(e),r=u.contentType(n)||`application/octet-stream`;i(`content-type %s`,r),t.setHeader(`Content-Type`,r)}},O.prototype.setHeader=function(e,t){var n=this.res;if(this.emit(`headers`,n,e,t),this._acceptRanges&&!n.getHeader(`Accept-Ranges`)&&(i(`accept ranges`),n.setHeader(`Accept-Ranges`,`bytes`)),this._cacheControl&&!n.getHeader(`Cache-Control`)){var r=`public, max-age=`+Math.floor(this._maxage/1e3);this._immutable&&(r+=`, immutable`),i(`cache-control %s`,r),n.setHeader(`Cache-Control`,r)}if(this._lastModified&&!n.getHeader(`Last-Modified`)){var a=t.mtime.toUTCString();i(`modified %s`,a),n.setHeader(`Last-Modified`,a)}if(this._etag&&!n.getHeader(`ETag`)){var o=s(t);i(`etag %s`,o),n.setHeader(`ETag`,o)}};function k(e){for(let t of e.getHeaderNames())e.removeHeader(t)}function A(e){for(var t=0;t<e.length&&e[t]===`/`;t++);return t>1?`/`+e.substr(t):e}function j(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.length>1&&n[0]===`.`)return!0}return!1}function M(e,t,n){return e+` `+(n?n.start+`-`+n.end:`*`)+`/`+t}function ee(e,t){return`<!DOCTYPE html>
45
45
  <html lang="en">
46
46
  <head>
47
47
  <meta charset="utf-8">
@@ -51,7 +51,7 @@ t.exports=Ee()})),Oe=a(((e,t)=>{var n={"prs.":100,"x-":200,"x.":300,"vnd.":400,d
51
51
  <pre>`+t+`</pre>
52
52
  </body>
53
53
  </html>
54
- `}function P(e,t){return t?t instanceof Error?r(e,t,{expose:!1}):r(e,t):r(e)}function F(e){try{return decodeURIComponent(e)}catch{return-1}}function I(e,t){return(typeof e.listenerCount==`function`?e.listenerCount(t):e.listeners(t).length)>0}function R(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(typeof n[r]!=`string`)throw TypeError(t+` must be array of strings or false`);return n}function te(e){var t=e&&Date.parse(e);return typeof t==`number`?t:NaN}function z(e){for(var t=0,n=[],r=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i+1);break;case 44:r!==t&&n.push(e.substring(r,t)),r=t=i+1;break;default:t=i+1;break}return r!==t&&n.push(e.substring(r,t)),n}function V(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];e.setHeader(i,t[i])}}})),un=a(((e,t)=>{t.exports=a,t.exports.append=r;var n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function r(e,t){if(typeof e!=`string`)throw TypeError(`header argument is required`);if(!t)throw TypeError(`field argument is required`);for(var r=Array.isArray(t)?t:i(String(t)),a=0;a<r.length;a++)if(!n.test(r[a]))throw TypeError(`field argument contains an invalid header name`);if(e===`*`)return e;var o=e,s=i(e.toLowerCase());if(r.indexOf(`*`)!==-1||s.indexOf(`*`)!==-1)return`*`;for(var c=0;c<r.length;c++){var l=r[c].toLowerCase();s.indexOf(l)===-1&&(s.push(l),o=o?o+`, `+r[c]:r[c])}return o}function i(e){for(var t=0,n=[],r=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i+1);break;case 44:n.push(e.substring(r,t)),r=t=i+1;break;default:t=i+1;break}return n.push(e.substring(r,t)),n}function a(e,t){if(!e||!e.getHeader||!e.setHeader)throw TypeError(`res argument is required`);var n=e.getHeader(`Vary`)||``;(n=r(Array.isArray(n)?n.join(`, `):String(n),t))&&e.setHeader(`Vary`,n)}})),dn=a(((e,n)=>{var r=on(),i=B(),a=P()(`express`),o=Mt(),s=Nt(),c=t(`node:http`),l=we(),u=ke(),d=t(`node:path`),f=t(`node:path`).isAbsolute,p=L(),m=sn().sign,h=Vt().normalizeType,g=Vt().normalizeTypes,_=Vt().setCharset,v=cn(),y=ln(),b=d.extname,x=d.resolve,S=un();let{Buffer:C}=t(`node:buffer`);var w=Object.create(c.ServerResponse.prototype);n.exports=w,w.status=function(e){if(!Number.isInteger(e))throw TypeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be an integer.`);if(e<100||e>999)throw RangeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be greater than 99 and less than 1000.`);return this.statusCode=e,this},w.links=function(e){var t=this.get(`Link`)||``;return t&&(t+=`, `),this.set(`Link`,t+Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return`<${e}>; rel="${t}"`}).join(`, `):`<${e[t]}>; rel="${t}"`}).join(`, `))},w.send=function(e){var t=e,n,r=this.req,i,a=this.app;switch(typeof t){case`string`:this.get(`Content-Type`)||this.type(`html`);break;case`boolean`:case`number`:case`object`:if(t===null)t=``;else if(ArrayBuffer.isView(t))this.get(`Content-Type`)||this.type(`bin`);else return this.json(t);break}typeof t==`string`&&(n=`utf8`,i=this.get(`Content-Type`),typeof i==`string`&&this.set(`Content-Type`,_(i,`utf-8`)));var o=a.get(`etag fn`),s=!this.get(`ETag`)&&typeof o==`function`,c;t!==void 0&&(C.isBuffer(t)?c=t.length:!s&&t.length<1e3?c=C.byteLength(t,n):(t=C.from(t,n),n=void 0,c=t.length),this.set(`Content-Length`,c));var l;return s&&c!==void 0&&(l=o(t,n))&&this.set(`ETag`,l),r.fresh&&this.status(304),(this.statusCode===204||this.statusCode===304)&&(this.removeHeader(`Content-Type`),this.removeHeader(`Content-Length`),this.removeHeader(`Transfer-Encoding`),t=``),this.statusCode===205&&(this.set(`Content-Length`,`0`),this.removeHeader(`Transfer-Encoding`),t=``),r.method===`HEAD`?this.end():this.end(t,n),this},w.json=function(e){var t=this.app,n=t.get(`json escape`),r=E(e,t.get(`json replacer`),t.get(`json spaces`),n);return this.get(`Content-Type`)||this.set(`Content-Type`,`application/json`),this.send(r)},w.jsonp=function(e){var t=this.app,n=t.get(`json escape`),r=E(e,t.get(`json replacer`),t.get(`json spaces`),n),i=this.req.query[t.get(`jsonp callback name`)];return this.get(`Content-Type`)||(this.set(`X-Content-Type-Options`,`nosniff`),this.set(`Content-Type`,`application/json`)),Array.isArray(i)&&(i=i[0]),typeof i==`string`&&i.length!==0&&(this.set(`X-Content-Type-Options`,`nosniff`),this.set(`Content-Type`,`text/javascript`),i=i.replace(/[^\[\]\w$.]/g,``),r===void 0?r=``:typeof r==`string`&&(r=r.replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)),r=`/**/ typeof `+i+` === 'function' && `+i+`(`+r+`);`),this.send(r)},w.sendStatus=function(e){var t=p.message[e]||String(e);return this.status(e),this.type(`txt`),this.send(t)},w.sendFile=function(e,t,n){var r=n,i=this.req,a=this,o=i.next,s=t||{};if(!e)throw TypeError(`path argument is required to res.sendFile`);if(typeof e!=`string`)throw TypeError(`path must be a string to res.sendFile`);if(typeof t==`function`&&(r=t,s={}),!s.root&&!f(e))throw TypeError(`path must be absolute or specify root to res.sendFile`);var c=encodeURI(e);s.etag=this.app.enabled(`etag`),T(a,y(i,c,s),s,function(e){if(r)return r(e);if(e&&e.code===`EISDIR`)return o();e&&e.code!==`ECONNABORTED`&&e.syscall!==`write`&&o(e)})},w.download=function(e,t,n,i){var a=i,o=t,s=n||null;typeof t==`function`?(a=t,o=null,s=null):typeof n==`function`&&(a=n,s=null),typeof t==`object`&&(typeof n==`function`||n===void 0)&&(o=null,s=t);var c={"Content-Disposition":r(o||e)};if(s&&s.headers)for(var l=Object.keys(s.headers),u=0;u<l.length;u++){var d=l[u];d.toLowerCase()!==`content-disposition`&&(c[d]=s.headers[d])}s=Object.create(s),s.headers=c;var f=s.root?e:x(e);return this.sendFile(f,s,a)},w.contentType=w.type=function(e){var t=e.indexOf(`/`)===-1?u.contentType(e)||`application/octet-stream`:e;return this.set(`Content-Type`,t)},w.format=function(e){var t=this.req,n=t.next,r=Object.keys(e).filter(function(e){return e!==`default`}),a=r.length>0?t.accepts(r):!1;return this.vary(`Accept`),a?(this.set(`Content-Type`,h(a).value),e[a](t,this,n)):e.default?e.default(t,this,n):n(i(406,{types:g(r).map(function(e){return e.value})})),this},w.attachment=function(e){return e&&this.type(b(e)),this.set(`Content-Disposition`,r(e)),this},w.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},w.set=w.header=function(e,t){if(arguments.length===2){var n=Array.isArray(t)?t.map(String):String(t);if(e.toLowerCase()===`content-type`){if(Array.isArray(n))throw TypeError(`Content-Type cannot be set to an Array`);n=u.contentType(n)}this.setHeader(e,n)}else for(var r in e)this.set(r,e[r]);return this},w.get=function(e){return this.getHeader(e)},w.clearCookie=function(e,t){let n={path:`/`,...t,expires:new Date(1)};return delete n.maxAge,this.cookie(e,``,n)},w.cookie=function(e,t,n){var r={...n},i=this.req.secret,a=r.signed;if(a&&!i)throw Error(`cookieParser("secret") required for signed cookies`);var o=typeof t==`object`?`j:`+JSON.stringify(t):String(t);if(a&&(o=`s:`+m(o,i)),r.maxAge!=null){var s=r.maxAge-0;isNaN(s)||(r.expires=new Date(Date.now()+s),r.maxAge=Math.floor(s/1e3))}return r.path??=`/`,this.append(`Set-Cookie`,v.serialize(e,String(o),r)),this},w.location=function(e){return this.set(`Location`,o(e))},w.redirect=function(e){var t=e,n,r=302;arguments.length===2&&(r=arguments[0],t=arguments[1]),t||a(`Provide a url argument`),typeof t!=`string`&&a(`Url must be a string`),typeof r!=`number`&&a(`Status must be a number`),t=this.location(t).get(`Location`),this.format({text:function(){n=p.message[r]+`. Redirecting to `+t},html:function(){var e=s(t);n=`<p>`+p.message[r]+`. Redirecting to `+e+`</p>`},default:function(){n=``}}),this.status(r),this.set(`Content-Length`,C.byteLength(n)),this.req.method===`HEAD`?this.end():this.end(n)},w.vary=function(e){return S(this,e),this},w.render=function(e,t,n){var r=this.req.app,i=n,a=t||{},o=this.req,s=this;typeof t==`function`&&(i=t,a={}),a._locals=s.locals,i||=function(e,t){if(e)return o.next(e);s.send(t)},r.render(e,a,i)};function T(e,t,n,r){var i=!1,a;function o(){if(!i){i=!0;var e=Error(`Request aborted`);e.code=`ECONNABORTED`,r(e)}}function s(){if(!i){i=!0;var e=Error(`EISDIR, read`);e.code=`EISDIR`,r(e)}}function c(e){i||(i=!0,r(e))}function u(){i||(i=!0,r())}function d(){a=!1}function f(e){if(e&&e.code===`ECONNRESET`)return o();if(e)return c(e);i||setImmediate(function(){if(a!==!1&&!i){o();return}i||(i=!0,r())})}function p(){a=!0}t.on(`directory`,s),t.on(`end`,u),t.on(`error`,c),t.on(`file`,d),t.on(`stream`,p),l(e,f),n.headers&&t.on(`headers`,function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var a=r[i];e.setHeader(a,t[a])}}),t.pipe(e)}function E(e,t,n,r){var i=t||n?JSON.stringify(e,t,n):JSON.stringify(e);return r&&typeof i==`string`&&(i=i.replace(/[<>&]/g,function(e){switch(e.charCodeAt(0)){case 60:return`\\u003c`;case 62:return`\\u003e`;case 38:return`\\u0026`;default:return e}})),i}})),fn=a(((e,n)=>{var r=Mt(),i=Nt(),a=Pt(),o=t(`path`).resolve,s=ln(),c=t(`url`);n.exports=l;function l(e,t){if(!e)throw TypeError(`root path required`);if(typeof e!=`string`)throw TypeError(`root path must be a string`);var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,c=n.setHeaders;if(c&&typeof c!=`function`)throw TypeError(`option setHeaders must be function`);n.maxage=n.maxage||n.maxAge||0,n.root=o(e);var l=i?p():f();return function(e,t,i){if(e.method!==`GET`&&e.method!==`HEAD`){if(r)return i();t.statusCode=405,t.setHeader(`Allow`,`GET, HEAD`),t.setHeader(`Content-Length`,`0`),t.end();return}var o=!r,u=a.original(e),d=a(e).pathname;d===`/`&&u.pathname.substr(-1)!==`/`&&(d=``);var f=s(e,d,n);f.on(`directory`,l),c&&f.on(`headers`,c),r&&f.on(`file`,function(){o=!0}),f.on(`error`,function(e){if(o||!(e.statusCode<500)){i(e);return}i()}),f.pipe(t)}}function u(e){for(var t=0;t<e.length&&e.charCodeAt(t)===47;t++);return t>1?`/`+e.substr(t):e}function d(e,t){return`<!DOCTYPE html>
54
+ `}function P(e,t){return t?t instanceof Error?r(e,t,{expose:!1}):r(e,t):r(e)}function F(e){try{return decodeURIComponent(e)}catch{return-1}}function I(e,t){return(typeof e.listenerCount==`function`?e.listenerCount(t):e.listeners(t).length)>0}function R(e,t){for(var n=[].concat(e||[]),r=0;r<n.length;r++)if(typeof n[r]!=`string`)throw TypeError(t+` must be array of strings or false`);return n}function te(e){var t=e&&Date.parse(e);return typeof t==`number`?t:NaN}function z(e){for(var t=0,n=[],r=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i+1);break;case 44:r!==t&&n.push(e.substring(r,t)),r=t=i+1;break;default:t=i+1;break}return r!==t&&n.push(e.substring(r,t)),n}function V(e,t){for(var n=Object.keys(t),r=0;r<n.length;r++){var i=n[r];e.setHeader(i,t[i])}}})),un=a(((e,t)=>{t.exports=a,t.exports.append=r;var n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function r(e,t){if(typeof e!=`string`)throw TypeError(`header argument is required`);if(!t)throw TypeError(`field argument is required`);for(var r=Array.isArray(t)?t:i(String(t)),a=0;a<r.length;a++)if(!n.test(r[a]))throw TypeError(`field argument contains an invalid header name`);if(e===`*`)return e;var o=e,s=i(e.toLowerCase());if(r.indexOf(`*`)!==-1||s.indexOf(`*`)!==-1)return`*`;for(var c=0;c<r.length;c++){var l=r[c].toLowerCase();s.indexOf(l)===-1&&(s.push(l),o=o?o+`, `+r[c]:r[c])}return o}function i(e){for(var t=0,n=[],r=0,i=0,a=e.length;i<a;i++)switch(e.charCodeAt(i)){case 32:r===t&&(r=t=i+1);break;case 44:n.push(e.substring(r,t)),r=t=i+1;break;default:t=i+1;break}return n.push(e.substring(r,t)),n}function a(e,t){if(!e||!e.getHeader||!e.setHeader)throw TypeError(`res argument is required`);var n=e.getHeader(`Vary`)||``;(n=r(Array.isArray(n)?n.join(`, `):String(n),t))&&e.setHeader(`Vary`,n)}})),dn=a(((e,n)=>{var r=on(),i=B(),a=Mt(),o=Nt(),s=t(`node:http`),c=we(),l=ke(),u=t(`node:path`),d=t(`node:path`).isAbsolute,f=L(),p=sn().sign,m=Vt().normalizeType,h=Vt().normalizeTypes,g=Vt().setCharset,_=cn(),v=ln(),y=u.extname,b=u.resolve,x=un(),S=Object.create(s.ServerResponse.prototype);n.exports=S,S.status=function(e){if(!Number.isInteger(e))throw TypeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be an integer.`);if(e<100||e>999)throw RangeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be greater than 99 and less than 1000.`);return this.statusCode=e,this},S.links=function(e){var t=this.get(`Link`)||``;return t&&(t+=`, `),this.set(`Link`,t+Object.keys(e).map(function(t){return Array.isArray(e[t])?e[t].map(function(e){return`<${e}>; rel="${t}"`}).join(`, `):`<${e[t]}>; rel="${t}"`}).join(`, `))},S.send=function(e){var t=e,n,r=this.req,i,a=this.app;switch(typeof t){case`string`:this.get(`Content-Type`)||this.type(`html`);break;case`boolean`:case`number`:case`object`:if(t===null)t=``;else if(ArrayBuffer.isView(t))this.get(`Content-Type`)||this.type(`bin`);else return this.json(t);break}typeof t==`string`&&(n=`utf8`,i=this.get(`Content-Type`),typeof i==`string`&&this.set(`Content-Type`,g(i,`utf-8`)));var o=a.get(`etag fn`),s=!this.get(`ETag`)&&typeof o==`function`,c;t!==void 0&&(Buffer.isBuffer(t)?c=t.length:!s&&t.length<1e3?c=Buffer.byteLength(t,n):(t=Buffer.from(t,n),n=void 0,c=t.length),this.set(`Content-Length`,c));var l;return s&&c!==void 0&&(l=o(t,n))&&this.set(`ETag`,l),r.fresh&&this.status(304),(this.statusCode===204||this.statusCode===304)&&(this.removeHeader(`Content-Type`),this.removeHeader(`Content-Length`),this.removeHeader(`Transfer-Encoding`),t=``),this.statusCode===205&&(this.set(`Content-Length`,`0`),this.removeHeader(`Transfer-Encoding`),t=``),r.method===`HEAD`?this.end():this.end(t,n),this},S.json=function(e){var t=this.app,n=t.get(`json escape`),r=w(e,t.get(`json replacer`),t.get(`json spaces`),n);return this.get(`Content-Type`)||this.set(`Content-Type`,`application/json`),this.send(r)},S.jsonp=function(e){var t=this.app,n=t.get(`json escape`),r=w(e,t.get(`json replacer`),t.get(`json spaces`),n),i=this.req.query[t.get(`jsonp callback name`)];return this.get(`Content-Type`)||(this.set(`X-Content-Type-Options`,`nosniff`),this.set(`Content-Type`,`application/json`)),Array.isArray(i)&&(i=i[0]),typeof i==`string`&&i.length!==0&&(this.set(`X-Content-Type-Options`,`nosniff`),this.set(`Content-Type`,`text/javascript`),i=i.replace(/[^\[\]\w$.]/g,``),r===void 0?r=``:typeof r==`string`&&(r=r.replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)),r=`/**/ typeof `+i+` === 'function' && `+i+`(`+r+`);`),this.send(r)},S.sendStatus=function(e){var t=f.message[e]||String(e);return this.status(e),this.type(`txt`),this.send(t)},S.sendFile=function(e,t,n){var r=n,i=this.req,a=this,o=i.next,s=t||{};if(!e)throw TypeError(`path argument is required to res.sendFile`);if(typeof e!=`string`)throw TypeError(`path must be a string to res.sendFile`);if(typeof t==`function`&&(r=t,s={}),!s.root&&!d(e))throw TypeError(`path must be absolute or specify root to res.sendFile`);var c=encodeURI(e);s.etag=this.app.enabled(`etag`),C(a,v(i,c,s),s,function(e){if(r)return r(e);if(e&&e.code===`EISDIR`)return o();e&&e.code!==`ECONNABORTED`&&e.syscall!==`write`&&o(e)})},S.download=function(e,t,n,i){var a=i,o=t,s=n||null;typeof t==`function`?(a=t,o=null,s=null):typeof n==`function`&&(a=n,s=null),typeof t==`object`&&(typeof n==`function`||n===void 0)&&(o=null,s=t);var c={"Content-Disposition":r(o||e)};if(s&&s.headers)for(var l=Object.keys(s.headers),u=0;u<l.length;u++){var d=l[u];d.toLowerCase()!==`content-disposition`&&(c[d]=s.headers[d])}s=Object.create(s),s.headers=c;var f=s.root?e:b(e);return this.sendFile(f,s,a)},S.contentType=S.type=function(e){var t=e.indexOf(`/`)===-1?l.contentType(e)||`application/octet-stream`:e;return this.set(`Content-Type`,t)},S.format=function(e){var t=this.req,n=t.next,r=Object.keys(e).filter(function(e){return e!==`default`}),a=r.length>0?t.accepts(r):!1;return this.vary(`Accept`),a?(this.set(`Content-Type`,m(a).value),e[a](t,this,n)):e.default?e.default(t,this,n):n(i(406,{types:h(r).map(function(e){return e.value})})),this},S.attachment=function(e){return e&&this.type(y(e)),this.set(`Content-Disposition`,r(e)),this},S.append=function(e,t){var n=this.get(e),r=t;return n&&(r=Array.isArray(n)?n.concat(t):Array.isArray(t)?[n].concat(t):[n,t]),this.set(e,r)},S.set=S.header=function(e,t){if(arguments.length===2){var n=Array.isArray(t)?t.map(String):String(t);if(e.toLowerCase()===`content-type`){if(Array.isArray(n))throw TypeError(`Content-Type cannot be set to an Array`);n=l.contentType(n)}this.setHeader(e,n)}else for(var r in e)this.set(r,e[r]);return this},S.get=function(e){return this.getHeader(e)},S.clearCookie=function(e,t){let n={path:`/`,...t,expires:new Date(1)};return delete n.maxAge,this.cookie(e,``,n)},S.cookie=function(e,t,n){var r={...n},i=this.req.secret,a=r.signed;if(a&&!i)throw Error(`cookieParser("secret") required for signed cookies`);var o=typeof t==`object`?`j:`+JSON.stringify(t):String(t);if(a&&(o=`s:`+p(o,i)),r.maxAge!=null){var s=r.maxAge-0;isNaN(s)||(r.expires=new Date(Date.now()+s),r.maxAge=Math.floor(s/1e3))}return r.path??=`/`,this.append(`Set-Cookie`,_.serialize(e,String(o),r)),this},S.location=function(e){return this.set(`Location`,a(e))},S.redirect=function(e){var t=e,n,r=302;arguments.length===2&&(r=arguments[0],t=arguments[1]),t=this.location(t).get(`Location`),this.format({text:function(){n=f.message[r]+`. Redirecting to `+t},html:function(){var e=o(t);n=`<p>`+f.message[r]+`. Redirecting to `+e+`</p>`},default:function(){n=``}}),this.status(r),this.set(`Content-Length`,Buffer.byteLength(n)),this.req.method===`HEAD`?this.end():this.end(n)},S.vary=function(e){return x(this,e),this},S.render=function(e,t,n){var r=this.req.app,i=n,a=t||{},o=this.req,s=this;typeof t==`function`&&(i=t,a={}),a._locals=s.locals,i||=function(e,t){if(e)return o.next(e);s.send(t)},r.render(e,a,i)};function C(e,t,n,r){var i=!1,a;function o(){if(!i){i=!0;var e=Error(`Request aborted`);e.code=`ECONNABORTED`,r(e)}}function s(){if(!i){i=!0;var e=Error(`EISDIR, read`);e.code=`EISDIR`,r(e)}}function l(e){i||(i=!0,r(e))}function u(){i||(i=!0,r())}function d(){a=!1}function f(e){if(e&&e.code===`ECONNRESET`)return o();if(e)return l(e);i||setImmediate(function(){if(a!==!1&&!i){o();return}i||(i=!0,r())})}function p(){a=!0}t.on(`directory`,s),t.on(`end`,u),t.on(`error`,l),t.on(`file`,d),t.on(`stream`,p),c(e,f),n.headers&&t.on(`headers`,function(e){for(var t=n.headers,r=Object.keys(t),i=0;i<r.length;i++){var a=r[i];e.setHeader(a,t[a])}}),t.pipe(e)}function w(e,t,n,r){var i=t||n?JSON.stringify(e,t,n):JSON.stringify(e);return r&&typeof i==`string`&&(i=i.replace(/[<>&]/g,function(e){switch(e.charCodeAt(0)){case 60:return`\\u003c`;case 62:return`\\u003e`;case 38:return`\\u0026`;default:return e}})),i}})),fn=a(((e,n)=>{var r=Mt(),i=Nt(),a=Pt(),o=t(`path`).resolve,s=ln(),c=t(`url`);n.exports=l;function l(e,t){if(!e)throw TypeError(`root path required`);if(typeof e!=`string`)throw TypeError(`root path must be a string`);var n=Object.create(t||null),r=n.fallthrough!==!1,i=n.redirect!==!1,c=n.setHeaders;if(c&&typeof c!=`function`)throw TypeError(`option setHeaders must be function`);n.maxage=n.maxage||n.maxAge||0,n.root=o(e);var l=i?p():f();return function(e,t,i){if(e.method!==`GET`&&e.method!==`HEAD`){if(r)return i();t.statusCode=405,t.setHeader(`Allow`,`GET, HEAD`),t.setHeader(`Content-Length`,`0`),t.end();return}var o=!r,u=a.original(e),d=a(e).pathname;d===`/`&&u.pathname.substr(-1)!==`/`&&(d=``);var f=s(e,d,n);f.on(`directory`,l),c&&f.on(`headers`,c),r&&f.on(`file`,function(){o=!0}),f.on(`error`,function(e){if(o||!(e.statusCode<500)){i(e);return}i()}),f.pipe(t)}}function u(e){for(var t=0;t<e.length&&e.charCodeAt(t)===47;t++);return t>1?`/`+e.substr(t):e}function d(e,t){return`<!DOCTYPE html>
55
55
  <html lang="en">
56
56
  <head>
57
57
  <meta charset="utf-8">