@gjsify/example-node-express-webserver 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.gjs.js +93 -66
- package/dist/index.node.mjs +2 -2
- package/package.json +5 -5
package/dist/index.node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{createRequire as e}from"node:module";import{dirname as t,join as n}from"node:path";import{fileURLToPath as r}from"node:url";var i=Object.create,a=Object.defineProperty,__name=(e,t)=>a(e,`name`,{value:t,configurable:!0}),o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__copyProps=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=s(t),c=0,u=i.length,d;c<u;c++)d=i[c],!l.call(e,d)&&d!==n&&a(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=o(t,d))||r.enumerable});return e},__toESM=(e,t,n)=>(n=e==null?{}:i(c(e)),__copyProps(t||!e||!e.__esModule?a(n,`default`,{value:e,enumerable:!0}):n,e)),u=e(import.meta.url);const d={gjs:`GJS`,node:`Node.js`,bun:`Bun`,deno:`Deno`};function detectRuntime(e){let t=detectTarget(e);return t===void 0?{target:void 0,name:`Unknown`,version:void 0}:{target:t,name:d[t],version:versionOf(e,t)}}function detectTarget(e){if(e.Bun!==void 0)return`bun`;if(e.Deno!==void 0)return`deno`;if(typeof e.process?.versions?.gjs==`string`||e.process===void 0&&e.imports?.gi!==void 0)return`gjs`;if(typeof e.process?.versions?.node==`string`)return`node`}function versionOf(e,t){switch(t){case`bun`:return e.Bun?.version;case`deno`:return e.Deno?.version?.deno;case`gjs`:return e.process?.versions?.gjs;case`node`:return e.process?.versions?.node}}const p=detectRuntime(globalThis);p.target,p.target,p.target,p.target;const m=p.name;p.target,p.version;var h=__commonJSMin(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return parse(e);if(n===`number`&&isFinite(e))return t.long?fmtLong(e):fmtShort(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function parse(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function fmtShort(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function fmtLong(e){var t=Math.abs(e);return t>=a?plural(e,t,a,`day`):t>=i?plural(e,t,i,`hour`):t>=r?plural(e,t,r,`minute`):t>=n?plural(e,t,n,`second`):e+` ms`}function plural(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),g=__commonJSMin(((e,t)=>{function setup(e){createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=coerce,createDebug.disable=disable,createDebug.enable=enable,createDebug.enabled=enabled,createDebug.humanize=h(),createDebug.destroy=destroy,Object.keys(e).forEach(t=>{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={};function selectColor(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t,n=null,r,i;function debug(...e){if(!debug.enabled)return;let n=debug,r=Number(new Date);n.diff=r-(t||r),n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),typeof e[0]!=`string`&&e.unshift(`%O`);let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if(t===`%%`)return`%`;i++;let a=createDebug.formatters[r];if(typeof a==`function`){let r=e[i];t=a.call(n,r),e.splice(i,1),i--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>n===null?(r!==createDebug.namespaces&&(r=createDebug.namespaces,i=createDebug.enabled(e)),i):n,set:e=>{n=e}}),typeof createDebug.init==`function`&&createDebug.init(debug),debug}function extend(e,t){let n=createDebug(this.namespace+(t===void 0?`:`:t)+e);return n.log=this.log,n}function enable(e){createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?createDebug.skips.push(e.slice(1)):createDebug.names.push(e)}function matchesTemplate(e,t){let n=0,r=0,i=-1,a=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||t[r]===`*`))t[r]===`*`?(i=r,a=n,r++):(n++,r++);else if(i!==-1)r=i+1,a++,n=a;else return!1;for(;r<t.length&&t[r]===`*`;)r++;return r===t.length}function disable(){let e=[...createDebug.names,...createDebug.skips.map(e=>`-`+e)].join(`,`);return createDebug.enable(``),e}function enabled(e){for(let t of createDebug.skips)if(matchesTemplate(e,t))return!1;for(let t of createDebug.names)if(matchesTemplate(e,t))return!0;return!1}function coerce(e){return e instanceof Error?e.stack||e.message:e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return createDebug.enable(createDebug.load()),createDebug}t.exports=setup})),_=__commonJSMin(((e,t)=>{e.formatArgs=formatArgs,e.save=save,e.load=load,e.useColors=useColors,e.storage=localstorage(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=`#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33`.split(`.`);function useColors(){if(typeof
|
|
1
|
+
import{createRequire as e}from"node:module";import{dirname as t,join as n}from"node:path";import{fileURLToPath as r}from"node:url";var i=Object.create,a=Object.defineProperty,__name=(e,t)=>a(e,`name`,{value:t,configurable:!0}),o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,c=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),__copyProps=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=s(t),c=0,u=i.length,d;c<u;c++)d=i[c],!l.call(e,d)&&d!==n&&a(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(r=o(t,d))||r.enumerable});return e},__toESM=(e,t,n)=>(n=e==null?{}:i(c(e)),__copyProps(t||!e||!e.__esModule?a(n,`default`,{value:e,enumerable:!0}):n,e)),u=e(import.meta.url);const d={gjs:`GJS`,node:`Node.js`,bun:`Bun`,deno:`Deno`};function detectRuntime(e){let t=detectTarget(e);return t===void 0?{target:void 0,name:`Unknown`,version:void 0}:{target:t,name:d[t],version:versionOf(e,t)}}function detectTarget(e){if(e.Bun!==void 0)return`bun`;if(e.Deno!==void 0)return`deno`;if(typeof e.process?.versions?.gjs==`string`||e.process===void 0&&e.imports?.gi!==void 0)return`gjs`;if(typeof e.process?.versions?.node==`string`)return`node`}function versionOf(e,t){switch(t){case`bun`:return e.Bun?.version;case`deno`:return e.Deno?.version?.deno;case`gjs`:return e.process?.versions?.gjs;case`node`:return e.process?.versions?.node}}const p=detectRuntime(globalThis);p.target,p.target,p.target,p.target;const m=p.name;p.target,p.version;var h=__commonJSMin(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return parse(e);if(n===`number`&&isFinite(e))return t.long?fmtLong(e):fmtShort(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function parse(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function fmtShort(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function fmtLong(e){var t=Math.abs(e);return t>=a?plural(e,t,a,`day`):t>=i?plural(e,t,i,`hour`):t>=r?plural(e,t,r,`minute`):t>=n?plural(e,t,n,`second`):e+` ms`}function plural(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),g=__commonJSMin(((e,t)=>{function setup(e){createDebug.debug=createDebug,createDebug.default=createDebug,createDebug.coerce=coerce,createDebug.disable=disable,createDebug.enable=enable,createDebug.enabled=enabled,createDebug.humanize=h(),createDebug.destroy=destroy,Object.keys(e).forEach(t=>{createDebug[t]=e[t]}),createDebug.names=[],createDebug.skips=[],createDebug.formatters={};function selectColor(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t,n=null,r,i;function debug(...e){if(!debug.enabled)return;let n=debug,r=Number(new Date);n.diff=r-(t||r),n.prev=t,n.curr=r,t=r,e[0]=createDebug.coerce(e[0]),typeof e[0]!=`string`&&e.unshift(`%O`);let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,r)=>{if(t===`%%`)return`%`;i++;let a=createDebug.formatters[r];if(typeof a==`function`){let r=e[i];t=a.call(n,r),e.splice(i,1),i--}return t}),createDebug.formatArgs.call(n,e),(n.log||createDebug.log).apply(n,e)}return debug.namespace=e,debug.useColors=createDebug.useColors(),debug.color=createDebug.selectColor(e),debug.extend=extend,debug.destroy=createDebug.destroy,Object.defineProperty(debug,"enabled",{enumerable:!0,configurable:!1,get:()=>n===null?(r!==createDebug.namespaces&&(r=createDebug.namespaces,i=createDebug.enabled(e)),i):n,set:e=>{n=e}}),typeof createDebug.init==`function`&&createDebug.init(debug),debug}function extend(e,t){let n=createDebug(this.namespace+(t===void 0?`:`:t)+e);return n.log=this.log,n}function enable(e){createDebug.save(e),createDebug.namespaces=e,createDebug.names=[],createDebug.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?createDebug.skips.push(e.slice(1)):createDebug.names.push(e)}function matchesTemplate(e,t){let n=0,r=0,i=-1,a=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||t[r]===`*`))t[r]===`*`?(i=r,a=n,r++):(n++,r++);else if(i!==-1)r=i+1,a++,n=a;else return!1;for(;r<t.length&&t[r]===`*`;)r++;return r===t.length}function disable(){let e=[...createDebug.names,...createDebug.skips.map(e=>`-`+e)].join(`,`);return createDebug.enable(``),e}function enabled(e){for(let t of createDebug.skips)if(matchesTemplate(e,t))return!1;for(let t of createDebug.names)if(matchesTemplate(e,t))return!0;return!1}function coerce(e){return e instanceof Error?e.stack||e.message:e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return createDebug.enable(createDebug.load()),createDebug}t.exports=setup})),_=__commonJSMin(((e,t)=>{e.formatArgs=formatArgs,e.save=save,e.load=load,e.useColors=useColors,e.storage=localstorage(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=`#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33`.split(`.`);function useColors(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<`u`&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<`u`&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<`u`&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function save(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function load(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&typeof process<`u`&&`env`in process&&(t=process.env.DEBUG),t}function localstorage(){try{return localStorage}catch{}}t.exports=g()(e);let{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}})),v=__commonJSMin(((e,t)=>{t.exports={stdout:!1,stderr:!1}})),y=__commonJSMin(((e,t)=>{let n=u(`tty`),r=u(`util`);e.init=init,e.log=log,e.formatArgs=formatArgs,e.save=save,e.load=load,e.useColors=useColors,e.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let t=v();t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),r=process.env[t];return r=/^(yes|on|true|enabled)$/i.test(r)?!0:/^(no|off|false|disabled)$/i.test(r)?!1:r===`null`?null:Number(r),e[n]=r,e},{});function useColors(){return`colors`in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}function formatArgs(e){let{namespace:n,useColors:r}=this;if(r){let r=this.color,i=`\x1B[3`+(r<8?r:`8;5;`+r),a=` ${i};1m${n} \u001B[0m`;e[0]=a+e[0].split(`
|
|
2
2
|
`).join(`
|
|
3
3
|
`+a),e.push(i+`m+`+t.exports.humanize(this.diff)+`\x1B[0m`)}else e[0]=getDate()+n+` `+e[0]}function getDate(){return e.inspectOpts.hideDate?``:new Date().toISOString()+` `}function log(...t){return process.stderr.write(r.formatWithOptions(e.inspectOpts,...t)+`
|
|
4
4
|
`)}function save(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function load(){return process.env.DEBUG}function init(t){t.inspectOpts={};let n=Object.keys(e.inspectOpts);for(let r=0;r<n.length;r++)t.inspectOpts[n[r]]=e.inspectOpts[n[r]]}t.exports=g()(e);let{formatters:i}=t.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts).split(`
|
|
@@ -130,7 +130,7 @@ var n=b()(`body-parser:raw`),r=X(),{normalizeOptions:i,passthrough:a}=Y();t.expo
|
|
|
130
130
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
131
131
|
* MIT Licensed
|
|
132
132
|
*/
|
|
133
|
-
var n=b()(`body-parser:text`),r=X(),{normalizeOptions:i,passthrough:a}=Y();t.exports=text;function text(e){let t=i(e,`text/plain`);return function textParser(e,i,o){r(e,i,o,a,n,t)}}})),Z=__commonJSMin(((e,t)=>{t.exports=TypeError})),be=__commonJSMin(((e,t)=>{t.exports=u(`util`).inspect})),xe=__commonJSMin(((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,p=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,_=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,x=String.prototype.toLowerCase,S=RegExp.prototype.test,w=Array.prototype.concat,T=Array.prototype.join,E=Array.prototype.slice,D=Math.floor,O=typeof BigInt==`function`?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,A=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,j=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,M=typeof Symbol==`function`&&Symbol.toStringTag?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,P=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function addNumericSeparator(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-D(-e):D(e);if(r!==e){var i=String(r),a=v.call(t,i.length+1);return y.call(i,n,`$&_`)+`.`+y.call(y.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return y.call(t,n,`$&_`)}var F=be(),I=F.custom,L=isSymbol(I)?I:null,R={__proto__:null,double:`"`,single:`'`},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function inspect_(e,t,n,r){var o=t||{};if(has(o,`quoteStyle`)&&!has(R,o.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(has(o,`maxStringLength`)&&(typeof o.maxStringLength==`number`?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=has(o,`customInspect`)?o.customInspect:!0;if(typeof s!=`boolean`&&s!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(o,`indent`)&&o.indent!==null&&o.indent!==` `&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(o,`numericSeparator`)&&typeof o.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=o.numericSeparator;if(e===void 0)return`undefined`;if(e===null)return`null`;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`string`)return inspectString(e,o);if(typeof e==`number`){if(e===0)return 1/0/e>0?`0`:`-0`;var d=String(e);return u?addNumericSeparator(e,d):d}if(typeof e==`bigint`){var p=String(e)+`n`;return u?addNumericSeparator(e,p):p}var h=o.depth===void 0?5:o.depth;if(n===void 0&&(n=0),n>=h&&h>0&&typeof e==`object`)return isArray(e)?`[Array]`:`[Object]`;var g=getIndent(o,n);if(r===void 0)r=[];else if(indexOf(r,e)>=0)return`[Circular]`;function inspect(e,t,i){if(t&&(r=E.call(r),r.push(t)),i){var a={depth:o.depth};return has(o,`quoteStyle`)&&(a.quoteStyle=o.quoteStyle),inspect_(e,a,n+1,r)}return inspect_(e,o,n+1,r)}if(typeof e==`function`&&!isRegExp(e)){var _=nameOf(e),b=arrObjKeys(e,inspect);return`[Function`+(_?`: `+_:` (anonymous)`)+`]`+(b.length>0?` { `+T.call(b,`, `)+` }`:``)}if(isSymbol(e)){var S=j?y.call(String(e),/^(Symbol\(.*\))_[^)]*$/,`$1`):A.call(e);return typeof e==`object`&&!j?markBoxed(S):S}if(isElement(e)){for(var D=`<`+x.call(String(e.nodeName)),k=e.attributes||[],I=0;I<k.length;I++)D+=` `+k[I].name+`=`+wrapQuotes(quote(k[I].value),`double`,o);return D+=`>`,e.childNodes&&e.childNodes.length&&(D+=`...`),D+=`</`+x.call(String(e.nodeName))+`>`,D}if(isArray(e)){if(e.length===0)return`[]`;var z=arrObjKeys(e,inspect);return g&&!singleLineValues(z)?`[`+indentedJoin(z,g)+`]`:`[ `+T.call(z,`, `)+` ]`}if(isError(e)){var B=arrObjKeys(e,inspect);return!(`cause`in Error.prototype)&&`cause`in e&&!N.call(e,`cause`)?`{ [`+String(e)+`] `+T.call(w.call(`[cause]: `+inspect(e.cause),B),`, `)+` }`:B.length===0?`[`+String(e)+`]`:`{ [`+String(e)+`] `+T.call(B,`, `)+` }`}if(typeof e==`object`&&s){if(L&&typeof e[L]==`function`&&F)return F(e,{depth:h-n});if(s!==`symbol`&&typeof e.inspect==`function`)return e.inspect()}if(isMap(e)){var V=[];return a&&a.call(e,function(t,n){V.push(inspect(n,e,!0)+` => `+inspect(t,e))}),collectionOf(`Map`,i.call(e),V,g)}if(isSet(e)){var H=[];return l&&l.call(e,function(t){H.push(inspect(t,e))}),collectionOf(`Set`,c.call(e),H,g)}if(isWeakMap(e))return weakCollectionOf(`WeakMap`);if(isWeakSet(e))return weakCollectionOf(`WeakSet`);if(isWeakRef(e))return weakCollectionOf(`WeakRef`);if(isNumber(e))return markBoxed(inspect(Number(e)));if(isBigInt(e))return markBoxed(inspect(O.call(e)));if(isBoolean(e))return markBoxed(m.call(e));if(isString(e))return markBoxed(inspect(String(e)));if(typeof
|
|
133
|
+
var n=b()(`body-parser:text`),r=X(),{normalizeOptions:i,passthrough:a}=Y();t.exports=text;function text(e){let t=i(e,`text/plain`);return function textParser(e,i,o){r(e,i,o,a,n,t)}}})),Z=__commonJSMin(((e,t)=>{t.exports=TypeError})),be=__commonJSMin(((e,t)=>{t.exports=u(`util`).inspect})),xe=__commonJSMin(((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,p=typeof WeakRef==`function`&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,_=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,b=String.prototype.toUpperCase,x=String.prototype.toLowerCase,S=RegExp.prototype.test,w=Array.prototype.concat,T=Array.prototype.join,E=Array.prototype.slice,D=Math.floor,O=typeof BigInt==`function`?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,A=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?Symbol.prototype.toString:null,j=typeof Symbol==`function`&&typeof Symbol.iterator==`object`,M=typeof Symbol==`function`&&Symbol.toStringTag?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,P=(typeof Reflect==`function`?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function addNumericSeparator(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||S.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e==`number`){var r=e<0?-D(-e):D(e);if(r!==e){var i=String(r),a=v.call(t,i.length+1);return y.call(i,n,`$&_`)+`.`+y.call(y.call(a,/([0-9]{3})/g,`$&_`),/_$/,``)}}return y.call(t,n,`$&_`)}var F=be(),I=F.custom,L=isSymbol(I)?I:null,R={__proto__:null,double:`"`,single:`'`},z={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};t.exports=function inspect_(e,t,n,r){var o=t||{};if(has(o,`quoteStyle`)&&!has(R,o.quoteStyle))throw TypeError(`option "quoteStyle" must be "single" or "double"`);if(has(o,`maxStringLength`)&&(typeof o.maxStringLength==`number`?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=has(o,`customInspect`)?o.customInspect:!0;if(typeof s!=`boolean`&&s!==`symbol`)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(o,`indent`)&&o.indent!==null&&o.indent!==` `&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(o,`numericSeparator`)&&typeof o.numericSeparator!=`boolean`)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=o.numericSeparator;if(e===void 0)return`undefined`;if(e===null)return`null`;if(typeof e==`boolean`)return e?`true`:`false`;if(typeof e==`string`)return inspectString(e,o);if(typeof e==`number`){if(e===0)return 1/0/e>0?`0`:`-0`;var d=String(e);return u?addNumericSeparator(e,d):d}if(typeof e==`bigint`){var p=String(e)+`n`;return u?addNumericSeparator(e,p):p}var h=o.depth===void 0?5:o.depth;if(n===void 0&&(n=0),n>=h&&h>0&&typeof e==`object`)return isArray(e)?`[Array]`:`[Object]`;var g=getIndent(o,n);if(r===void 0)r=[];else if(indexOf(r,e)>=0)return`[Circular]`;function inspect(e,t,i){if(t&&(r=E.call(r),r.push(t)),i){var a={depth:o.depth};return has(o,`quoteStyle`)&&(a.quoteStyle=o.quoteStyle),inspect_(e,a,n+1,r)}return inspect_(e,o,n+1,r)}if(typeof e==`function`&&!isRegExp(e)){var _=nameOf(e),b=arrObjKeys(e,inspect);return`[Function`+(_?`: `+_:` (anonymous)`)+`]`+(b.length>0?` { `+T.call(b,`, `)+` }`:``)}if(isSymbol(e)){var S=j?y.call(String(e),/^(Symbol\(.*\))_[^)]*$/,`$1`):A.call(e);return typeof e==`object`&&!j?markBoxed(S):S}if(isElement(e)){for(var D=`<`+x.call(String(e.nodeName)),k=e.attributes||[],I=0;I<k.length;I++)D+=` `+k[I].name+`=`+wrapQuotes(quote(k[I].value),`double`,o);return D+=`>`,e.childNodes&&e.childNodes.length&&(D+=`...`),D+=`</`+x.call(String(e.nodeName))+`>`,D}if(isArray(e)){if(e.length===0)return`[]`;var z=arrObjKeys(e,inspect);return g&&!singleLineValues(z)?`[`+indentedJoin(z,g)+`]`:`[ `+T.call(z,`, `)+` ]`}if(isError(e)){var B=arrObjKeys(e,inspect);return!(`cause`in Error.prototype)&&`cause`in e&&!N.call(e,`cause`)?`{ [`+String(e)+`] `+T.call(w.call(`[cause]: `+inspect(e.cause),B),`, `)+` }`:B.length===0?`[`+String(e)+`]`:`{ [`+String(e)+`] `+T.call(B,`, `)+` }`}if(typeof e==`object`&&s){if(L&&typeof e[L]==`function`&&F)return F(e,{depth:h-n});if(s!==`symbol`&&typeof e.inspect==`function`)return e.inspect()}if(isMap(e)){var V=[];return a&&a.call(e,function(t,n){V.push(inspect(n,e,!0)+` => `+inspect(t,e))}),collectionOf(`Map`,i.call(e),V,g)}if(isSet(e)){var H=[];return l&&l.call(e,function(t){H.push(inspect(t,e))}),collectionOf(`Set`,c.call(e),H,g)}if(isWeakMap(e))return weakCollectionOf(`WeakMap`);if(isWeakSet(e))return weakCollectionOf(`WeakSet`);if(isWeakRef(e))return weakCollectionOf(`WeakRef`);if(isNumber(e))return markBoxed(inspect(Number(e)));if(isBigInt(e))return markBoxed(inspect(O.call(e)));if(isBoolean(e))return markBoxed(m.call(e));if(isString(e))return markBoxed(inspect(String(e)));if(typeof window<`u`&&e===window)return`{ [object Window] }`;if(typeof globalThis<`u`&&e===globalThis||typeof globalThis<`u`&&e===globalThis)return`{ [object globalThis] }`;if(!isDate(e)&&!isRegExp(e)){var U=arrObjKeys(e,inspect),W=P?P(e)===Object.prototype:e instanceof Object||e.constructor===Object,G=e instanceof Object?``:`null prototype`,K=!W&&M&&Object(e)===e&&M in e?v.call(toStr(e),8,-1):G?`Object`:``,q=(W||typeof e.constructor!=`function`?``:e.constructor.name?e.constructor.name+` `:``)+(K||G?`[`+T.call(w.call([],K||[],G||[]),`: `)+`] `:``);return U.length===0?q+`{}`:g?q+`{`+indentedJoin(U,g)+`}`:q+`{ `+T.call(U,`, `)+` }`}return String(e)};function wrapQuotes(e,t,n){var r=R[n.quoteStyle||t];return r+e+r}function quote(e){return y.call(String(e),/"/g,`"`)}function canTrustToString(e){return!M||!(typeof e==`object`&&(M in e||e[M]!==void 0))}function isArray(e){return toStr(e)===`[object Array]`&&canTrustToString(e)}function isDate(e){return toStr(e)===`[object Date]`&&canTrustToString(e)}function isRegExp(e){return toStr(e)===`[object RegExp]`&&canTrustToString(e)}function isError(e){return toStr(e)===`[object Error]`&&canTrustToString(e)}function isString(e){return toStr(e)===`[object String]`&&canTrustToString(e)}function isNumber(e){return toStr(e)===`[object Number]`&&canTrustToString(e)}function isBoolean(e){return toStr(e)===`[object Boolean]`&&canTrustToString(e)}function isSymbol(e){if(j)return e&&typeof e==`object`&&e instanceof Symbol;if(typeof e==`symbol`)return!0;if(!e||typeof e!=`object`||!A)return!1;try{return A.call(e),!0}catch{}return!1}function isBigInt(e){if(!e||typeof e!=`object`||!O)return!1;try{return O.call(e),!0}catch{}return!1}var B=Object.prototype.hasOwnProperty||function(e){return e in this};function has(e,t){return B.call(e,t)}function toStr(e){return h.call(e)}function nameOf(e){if(e.name)return e.name;var t=_.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function indexOf(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 isMap(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 isWeakMap(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 isWeakRef(e){if(!p||!e||typeof e!=`object`)return!1;try{return p.call(e),!0}catch{}return!1}function isSet(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 isWeakSet(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 isElement(e){return!e||typeof e!=`object`?!1:typeof HTMLElement<`u`&&e instanceof HTMLElement?!0:typeof e.nodeName==`string`&&typeof e.getAttribute==`function`}function inspectString(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r=`... `+n+` more character`+(n>1?`s`:``);return inspectString(v.call(e,0,t.maxStringLength),t)+r}var i=z[t.quoteStyle||`single`];return i.lastIndex=0,wrapQuotes(y.call(y.call(e,i,`\\$1`),/[\x00-\x1f]/g,lowbyte),`single`,t)}function lowbyte(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`:``)+b.call(t.toString(16))}function markBoxed(e){return`Object(`+e+`)`}function weakCollectionOf(e){return e+` { ? }`}function collectionOf(e,t,n,r){var i=r?indentedJoin(n,r):T.call(n,`, `);return e+` (`+t+`) {`+i+`}`}function singleLineValues(e){for(var t=0;t<e.length;t++)if(indexOf(e[t],`
|
|
134
134
|
`)>=0)return!1;return!0}function getIndent(e,t){var n;if(e.indent===` `)n=` `;else if(typeof e.indent==`number`&&e.indent>0)n=T.call(Array(e.indent+1),` `);else return null;return{base:n,prev:T.call(Array(t+1),n)}}function indentedJoin(e,t){if(e.length===0)return``;var n=`
|
|
135
135
|
`+t.prev+t.base;return n+T.call(e,`,`+n)+`
|
|
136
136
|
`+t.prev}function arrObjKeys(e,t){var n=isArray(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=has(e,i)?t(e[i],e):``}var a=typeof k==`function`?k(e):[],o;if(j){o={};for(var s=0;s<a.length;s++)o[`$`+a[s]]=a[s]}for(var c in e)has(e,c)&&(n&&String(Number(c))===c&&c<e.length||j&&o[`$`+c]instanceof Symbol||(S.call(/[^\w$]/,c)?r.push(t(c,e)+`: `+t(e[c],e)):r.push(c+`: `+t(e[c],e))));if(typeof k==`function`)for(var l=0;l<a.length;l++)N.call(e,a[l])&&r.push(`[`+t(a[l])+`]: `+t(e[a[l]],e));return r}})),Se=__commonJSMin(((e,t)=>{var n=xe(),r=Z(),listGetNode=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},listGet=function(e,t){if(e){var n=listGetNode(e,t);return n&&n.value}},listSet=function(e,t,n){var r=listGetNode(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}},listHas=function(e,t){return e?!!listGetNode(e,t):!1},listDelete=function(e,t){if(e)return listGetNode(e,t,!0)};t.exports=function getSideChannelList(){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=listDelete(e,t);return n&&e&&!e.next&&(e=void 0),!!n},get:function(t){return listGet(e,t)},has:function(t){return listHas(e,t)},set:function(t,n){e||={next:void 0},listSet(e,t,n)}};return t}})),Ce=__commonJSMin(((e,t)=>{t.exports=Object})),we=__commonJSMin(((e,t)=>{t.exports=Error})),Te=__commonJSMin(((e,t)=>{t.exports=EvalError})),Ee=__commonJSMin(((e,t)=>{t.exports=RangeError})),De=__commonJSMin(((e,t)=>{t.exports=ReferenceError})),Oe=__commonJSMin(((e,t)=>{t.exports=SyntaxError})),ke=__commonJSMin(((e,t)=>{t.exports=URIError})),Ae=__commonJSMin(((e,t)=>{t.exports=Math.abs})),je=__commonJSMin(((e,t)=>{t.exports=Math.floor})),Me=__commonJSMin(((e,t)=>{t.exports=Math.max})),Ne=__commonJSMin(((e,t)=>{t.exports=Math.min})),Pe=__commonJSMin(((e,t)=>{t.exports=Math.pow})),Fe=__commonJSMin(((e,t)=>{t.exports=Math.round})),Ie=__commonJSMin(((e,t)=>{t.exports=Number.isNaN||function isNaN(e){return e!==e}})),Le=__commonJSMin(((e,t)=>{var n=Ie();t.exports=function sign(e){return n(e)||e===0?e:e<0?-1:1}})),Re=__commonJSMin(((e,t)=>{t.exports=Object.getOwnPropertyDescriptor})),ze=__commonJSMin(((e,t)=>{var n=Re();if(n)try{n([],`length`)}catch{n=null}t.exports=n})),Be=__commonJSMin(((e,t)=>{var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n})),Ve=__commonJSMin(((e,t)=>{t.exports=function hasSymbols(){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}})),He=__commonJSMin(((e,t)=>{var n=typeof Symbol<`u`&&Symbol,r=Ve();t.exports=function hasNativeSymbols(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof Symbol(`bar`)!=`symbol`?!1:r()}})),Ue=__commonJSMin(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null})),We=__commonJSMin(((e,t)=>{t.exports=Ce().getPrototypeOf||null})),Ge=__commonJSMin(((e,t)=>{var n=Object.prototype.toString,r=Math.max,i=`[object Function]`,a=function concatty(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},o=function slicy(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},joiny=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 bind(e){var t=this;if(typeof t!=`function`||n.apply(t)!==i)throw TypeError(`Function.prototype.bind called on incompatible `+t);for(var s=o(arguments,1),c,binder=function(){if(this instanceof c){var n=t.apply(this,a(s,arguments));return Object(n)===n?n:this}return t.apply(e,a(s,arguments))},l=r(0,t.length-s.length),u=[],d=0;d<l;d++)u[d]=`$`+d;if(c=Function(`binder`,`return function (`+joiny(u,`,`)+`){ return binder.apply(this,arguments); }`)(binder),t.prototype){var p=function Empty(){};p.prototype=t.prototype,c.prototype=new p,p.prototype=null}return c}})),Ke=__commonJSMin(((e,t)=>{var n=Ge();t.exports=Function.prototype.bind||n})),qe=__commonJSMin(((e,t)=>{t.exports=Function.prototype.call})),Je=__commonJSMin(((e,t)=>{t.exports=Function.prototype.apply})),Ye=__commonJSMin(((e,t)=>{t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply})),Xe=__commonJSMin(((e,t)=>{var n=Ke(),r=Je(),i=qe();t.exports=Ye()||n.call(i,r)})),Ze=__commonJSMin(((e,t)=>{var n=Ke(),r=Z(),i=qe(),a=Xe();t.exports=function callBindBasic(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}})),Qe=__commonJSMin(((e,t)=>{var n=Ze(),r=ze(),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 getDunder(e){return s(e==null?e:o(e))}:!1})),$e=__commonJSMin(((e,t)=>{var n=Ue(),r=We(),i=Qe();t.exports=n?function getProto(e){return n(e)}:r?function getProto(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function getProto(e){return i(e)}:null})),et=__commonJSMin(((e,t)=>{let n=async function(){}.constructor;t.exports=()=>n})),tt=__commonJSMin(((e,t)=>{let n=function*(){}.constructor;t.exports=()=>n})),nt=__commonJSMin(((e,t)=>{let n=async function*(){}.constructor;t.exports=()=>n})),rt=__commonJSMin(((e,t)=>{var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=Ke().call(n,r)})),it=__commonJSMin(((e,t)=>{var n,r=Ce(),i=we(),a=Te(),o=Ee(),s=De(),c=Oe(),l=Z(),u=ke(),d=Ae(),p=je(),m=Me(),h=Ne(),g=Pe(),_=Fe(),v=Le(),y=ze(),b=Be(),throwTypeError=function(){throw new l},x=y?function(){try{return arguments.callee,throwTypeError}catch{try{return y(arguments,`callee`).get}catch{return throwTypeError}}}():throwTypeError,S=He()(),w=$e(),T=We(),E=Ue(),D=Je(),O=qe(),k={},A=typeof Uint8Array>`u`||!w?n:w(Uint8Array),j={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":S&&w?w([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%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%":Function,"%GeneratorFunction%":k,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&w?w(w([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!S||!w?n:w(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":y,"%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`||!S||!w?n:w(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&w?w(``[Symbol.iterator]()):n,"%Symbol%":S?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":x,"%TypedArray%":A,"%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%":O,"%Function.prototype.apply%":D,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":T,"%Math.abs%":d,"%Math.floor%":p,"%Math.max%":m,"%Math.min%":h,"%Math.pow%":g,"%Math.round%":_,"%Math.sign%":v,"%Reflect.getPrototypeOf%":E};if(w)try{null.error}catch(e){j[`%Error.prototype%`]=w(w(e))}var M=et(),N=tt(),P=nt(),F=function doEval(e){var t;if(e===`%AsyncFunction%`)t=M()||void 0;else if(e===`%GeneratorFunction%`)t=N()||void 0;else if(e===`%AsyncGeneratorFunction%`)t=P()||void 0;else if(e===`%AsyncGenerator%`){var n=doEval(`%AsyncGeneratorFunction%`);n&&(t=n.prototype)}else if(e===`%AsyncIteratorPrototype%`){var r=doEval(`%AsyncGenerator%`);r&&w&&(t=w(r.prototype))}return j[e]=t,t},I={__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`]},L=Ke(),R=rt(),z=L.call(O,Array.prototype.concat),B=L.call(D,Array.prototype.splice),V=L.call(O,String.prototype.replace),H=L.call(O,String.prototype.slice),U=L.call(O,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,G=/\\(\\)?/g,K=function stringToPath(e){var t=H(e,0,1),n=H(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 V(e,W,function(e,t,n,i){r[r.length]=n?V(i,G,`$1`):t||e}),r},q=function getBaseIntrinsic(e,t){var n=e,r;if(R(I,n)&&(r=I[n],n=`%`+r[0]+`%`),R(j,n)){var i=j[n];if(i===k&&(i=F(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 GetIntrinsic(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(U(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=K(e),r=n.length>0?n[0]:``,i=q(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],B(n,z([0,1],u)));for(var d=1,p=!0;d<n.length;d+=1){var m=n[d],h=H(m,0,1),g=H(m,-1);if((h===`"`||h===`'`||h==="`"||g===`"`||g===`'`||g==="`")&&h!==g)throw new c(`property names with quotes must have matching quotes`);if((m===`constructor`||!p)&&(s=!0),r+=`.`+m,a=`%`+r+`%`,R(j,a))o=j[a];else if(o!=null){if(!(m in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(y&&d+1>=n.length){var _=y(o,m);p=!!_,o=p&&`get`in _&&!(`originalValue`in _.get)?_.get:o[m]}else p=R(o,m),o=o[m];p&&!s&&(j[a]=o)}}return o}})),at=__commonJSMin(((e,t)=>{var n=it(),r=Ze(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function callBoundIntrinsic(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}})),ot=__commonJSMin(((e,t)=>{var n=it(),r=at(),i=xe(),a=Z(),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 getSideChannelMap(){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=__commonJSMin(((e,t)=>{var n=it(),r=at(),i=xe(),a=ot(),o=Z(),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 getSideChannelWeakMap(){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=__commonJSMin(((e,t)=>{var n=Z(),r=xe(),i=Se(),a=ot(),o=st()||a||i;t.exports=function getSideChannel(){var e,t={assert:function(e){if(!t.has(e))throw new n(`Side channel does not contain `+(e&&Object(e)===e?`the given object key`: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}})),lt=__commonJSMin(((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}})),ut=__commonJSMin(((e,t)=>{var n=lt(),r=ct(),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=r(),s=function markOverflow(e,t){return o.set(e,t),e},c=function isOverflow(e){return o.has(e)},l=function getMaxIndex(e){return o.get(e)},u=function setMaxIndex(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}(),p=function compactQueue(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}}},m=function arrayToObject(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},h=function merge(e,t,n){if(!t)return e;if(typeof t!=`object`&&typeof t!=`function`){if(a(e)){var r=e.length;if(n&&typeof n.arrayLimit==`number`&&r>n.arrayLimit)return s(m(e.concat(t),n),r);e[r]=t}else if(e&&typeof e==`object`)if(c(e)){var o=l(e)+1;e[o]=t,u(e,o)}else if(n&&n.strictMerge)return[e,t];else(n&&(n.plainObjects||n.allowPrototypes)||!i.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!=`object`){if(c(t)){for(var d=Object.keys(t),p=n&&n.plainObjects?{__proto__:null,0:e}:{0:e},h=0;h<d.length;h++){var g=parseInt(d[h],10);p[g+1]=t[d[h]]}return s(p,l(t)+1)}var _=[e].concat(t);return n&&typeof n.arrayLimit==`number`&&_.length>n.arrayLimit?s(m(_,n),_.length-1):_}var v=e;return a(e)&&!a(t)&&(v=m(e,n)),a(e)&&a(t)?(t.forEach(function(t,r){if(i.call(e,r)){var a=e[r];a&&typeof a==`object`&&t&&typeof t==`object`?e[r]=merge(a,t,n):e[e.length]=t}else e[r]=t}),e):Object.keys(t).reduce(function(e,r){var a=t[r];if(i.call(e,r)?e[r]=merge(e[r],a,n):e[r]=a,c(t)&&!c(e)&&s(e,l(t)),c(e)){var o=parseInt(r,10);String(o)===r&&o>=0&&o>l(e)&&u(e,o)}return e},v)},g=function assignSingleSource(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},decode=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:m,assign:g,combine:function combine(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(m(a,{plainObjects:r}),a.length-1):a},compact:function compact(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 p(t),e},decode,encode:function encode(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=[],p=0;p<l.length;++p){var m=l.charCodeAt(p);if(m===45||m===46||m===95||m===126||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122||a===n.RFC1738&&(m===40||m===41)){u[u.length]=l.charAt(p);continue}if(m<128){u[u.length]=d[m];continue}if(m<2048){u[u.length]=d[192|m>>6]+d[128|m&63];continue}if(m<55296||m>=57344){u[u.length]=d[224|m>>12]+d[128|m>>6&63]+d[128|m&63];continue}p+=1,m=65536+((m&1023)<<10|l.charCodeAt(p)&1023),u[u.length]=d[240|m>>18]+d[128|m>>12&63]+d[128|m>>6&63]+d[128|m&63]}s+=u.join(``)}return s},isBuffer:function isBuffer(e){return!e||typeof e!=`object`?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:c,isRegExp:function isRegExp(e){return Object.prototype.toString.call(e)===`[object RegExp]`},markOverflow:s,maybeMap:function maybeMap(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:h}})),dt=__commonJSMin(((e,t)=>{var n=ct(),r=ut(),i=lt(),a=Object.prototype.hasOwnProperty,o={brackets:function brackets(e){return e+`[]`},comma:`comma`,indices:function indices(e,t){return e+`[`+t+`]`},repeat:function repeat(e){return e}},s=Array.isArray,c=Array.prototype.push,pushToArray=function(e,t){c.apply(e,s(t)?t:[t])},l=Date.prototype.toISOString,u=i.default,d={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:u,formatter:i.formatters[u],indices:!1,serializeDate:function serializeDate(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},p=function isNonNullishPrimitive(e){return typeof e==`string`||typeof e==`number`||typeof e==`boolean`||typeof e==`symbol`||typeof e==`bigint`},m={},h=function stringify(e,t,i,a,o,c,l,u,h,g,_,v,y,b,x,S,w,T){for(var E=e,D=T,O=0,k=!1;(D=D.get(m))!==void 0&&!k;){var A=D.get(e);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 g==`function`?E=g(t,E):E instanceof Date?E=y(E):i===`comma`&&s(E)&&(E=r.maybeMap(E,function(e){return e instanceof Date?y(e):e})),E===null){if(c)return x(h&&!S?h(t,d.encoder,w,`key`,b):t);E=``}if(p(E)||r.isBuffer(E))return h?[x(S?t:h(t,d.encoder,w,`key`,b))+`=`+x(h(E,d.encoder,w,`value`,b))]:[x(t)+`=`+x(String(E))];var j=[];if(E===void 0)return j;var M;if(i===`comma`&&s(E))S&&h&&(E=r.maybeMap(E,function(e){return e==null?e:h(e)})),M=[{value:E.length>0?E.join(`,`)||null:void 0}];else if(s(g))M=g;else{var N=Object.keys(E);M=_?N.sort(_):N}var P=u?String(t).replace(/\./g,`%2E`):String(t),F=a&&s(E)&&E.length===1?P+`[]`:P;if(o&&s(E)&&E.length===0)return F+`[]`;for(var I=0;I<M.length;++I){var L=M[I],R=typeof L==`object`&&L&&L.value!==void 0?L.value:E[L];if(!(l&&R===null)){var z=v&&u?String(L).replace(/\./g,`%2E`):String(L),B=s(E)?typeof i==`function`?i(F,z):F:F+(v?`.`+z:`[`+z+`]`);T.set(e,O);var V=n();V.set(m,T),pushToArray(j,stringify(R,B,i,a,o,c,l,u,i===`comma`&&S&&s(E)?null:h,g,_,v,y,b,x,S,w,V))}}return j},g=function normalizeStringifyOptions(e){if(!e)return d;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||d.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=d.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`:d.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:d.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix==`boolean`?e.addQueryPrefix:d.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof e.allowEmptyArrays==`boolean`?!!e.allowEmptyArrays:d.allowEmptyArrays,arrayFormat:l,charset:t,charsetSentinel:typeof e.charsetSentinel==`boolean`?e.charsetSentinel:d.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:e.delimiter===void 0?d.delimiter:e.delimiter,encode:typeof e.encode==`boolean`?e.encode:d.encode,encodeDotInKeys:typeof e.encodeDotInKeys==`boolean`?e.encodeDotInKeys:d.encodeDotInKeys,encoder:typeof e.encoder==`function`?e.encoder:d.encoder,encodeValuesOnly:typeof e.encodeValuesOnly==`boolean`?e.encodeValuesOnly:d.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:typeof e.serializeDate==`function`?e.serializeDate:d.serializeDate,skipNulls:typeof e.skipNulls==`boolean`?e.skipNulls:d.skipNulls,sort:typeof e.sort==`function`?e.sort:null,strictNullHandling:typeof e.strictNullHandling==`boolean`?e.strictNullHandling:d.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 l=[];if(typeof r!=`object`||!r)return``;var u=o[i.arrayFormat],d=u===`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];if(_!=null){var v=r[_];i.skipNulls&&v===null||pushToArray(l,h(v,_,u,d,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=l.join(i.delimiter),b=i.addQueryPrefix===!0?`?`:``;return i.charsetSentinel&&(i.charset===`iso-8859-1`?b+=`utf8=%26%2310003%3B`+i.delimiter:b+=`utf8=%E2%9C%93`+i.delimiter),y.length>0?b+y:``}})),ft=__commonJSMin(((e,t)=>{var n=ut(),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},interpretNumericEntities=function(e){return e.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},parseArrayValue=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},o=`utf8=%26%2310003%3B`,s=`utf8=%E2%9C%93`,c=function parseQueryStringValues(e,t){var c={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,``):e;l=l.replace(/%5B/gi,`[`).replace(/%5D/gi,`]`);var u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=l.split(t.delimiter,t.throwOnLimitExceeded&&u!==void 0?u+1:u);if(t.throwOnLimitExceeded&&u!==void 0&&d.length>u)throw RangeError(`Parameter limit exceeded. Only `+u+` parameter`+(u===1?``:`s`)+` allowed.`);var p=-1,m,h=t.charset;if(t.charsetSentinel)for(m=0;m<d.length;++m)d[m].indexOf(`utf8=`)===0&&(d[m]===s?h=`utf-8`:d[m]===o&&(h=`iso-8859-1`),p=m,m=d.length);for(m=0;m<d.length;++m)if(m!==p){var g=d[m],_=g.indexOf(`]=`),v=_===-1?g.indexOf(`=`):_+1,y,b;if(v===-1?(y=t.decoder(g,a.decoder,h,`key`),b=t.strictNullHandling?null:``):(y=t.decoder(g.slice(0,v),a.decoder,h,`key`),y!==null&&(b=n.maybeMap(parseArrayValue(g.slice(v+1),t,i(c[y])?c[y].length:0),function(e){return t.decoder(e,a.decoder,h,`value`)}))),b&&t.interpretNumericEntities&&h===`iso-8859-1`&&(b=interpretNumericEntities(String(b))),g.indexOf(`[]=`)>-1&&(b=i(b)?[b]:b),t.comma&&i(b)&&b.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+t.arrayLimit+` element`+(t.arrayLimit===1?``:`s`)+` allowed in an array.`);b=n.combine([],b,t.arrayLimit,t.plainObjects)}if(y!==null){var x=r.call(c,y);x&&(t.duplicates===`combine`||g.indexOf(`[]=`)>-1)?c[y]=n.combine(c[y],b,t.arrayLimit,t.plainObjects):(!x||t.duplicates===`last`)&&(c[y]=b)}}return c},parseObject=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 s=i?t:parseArrayValue(t,r,a),c=e.length-1;c>=0;--c){var l,u=e[c];if(u===`[]`&&r.parseArrays)l=n.isOverflow(s)?s:r.allowEmptyArrays&&(s===``||r.strictNullHandling&&s===null)?[]:n.combine([],s,r.arrayLimit,r.plainObjects);else{l=r.plainObjects?{__proto__:null}:{};var d=u.charAt(0)===`[`&&u.charAt(u.length-1)===`]`?u.slice(1,-1):u,p=r.decodeDotInKeys?d.replace(/%2E/g,`.`):d,m=parseInt(p,10),h=!isNaN(m)&&u!==p&&String(m)===p&&m>=0&&r.parseArrays;if(!r.parseArrays&&p===``)l={0:s};else if(h&&m<r.arrayLimit)l=[],l[m]=s;else if(h&&r.throwOnLimitExceeded)throw RangeError(`Array limit exceeded. Only `+r.arrayLimit+` element`+(r.arrayLimit===1?``:`s`)+` allowed in an array.`);else h?(l[m]=s,n.markOverflow(l,m)):p!==`__proto__`&&(l[p]=s)}s=l}return s},l=function splitKeyIntoSegments(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=n.indexOf(`[`),o=a>=0?n.slice(0,a):n;if(o){if(!t.plainObjects&&r.call(Object.prototype,o)&&!t.allowPrototypes)return;i[i.length]=o}for(var s=n.length,c=a,l=0;c>=0&&l<t.depth;){for(var u=1,d=c+1,p=-1;d<s&&p<0;){var m=n.charCodeAt(d);m===91?u+=1:m===93&&(--u,u===0&&(p=d)),d+=1}if(p<0)return i[i.length]=`[`+n.slice(c)+`]`,i;var h=n.slice(c,p+1),g=h.slice(1,-1);if(!t.plainObjects&&r.call(Object.prototype,g)&&!t.allowPrototypes)return;i[i.length]=h,l+=1,c=n.indexOf(`[`,p+1)}if(c>=0){if(t.strictDepth===!0)throw RangeError(`Input depth exceeded depth option of `+t.depth+` and strictDepth is true`);i[i.length]=`[`+n.slice(c)+`]`}return i},u=function parseQueryStringKeys(e,t,n,r){if(e){var i=l(e,n);if(i)return parseObject(i,t,n,r)}},d=function normalizeParseOptions(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=d(t);if(e===``||e==null)return r.plainObjects?{__proto__:null}:{};for(var i=typeof e==`string`?c(e,r):e,a=r.plainObjects?{__proto__:null}:{},o=Object.keys(i),s=0;s<o.length;++s){var l=o[s],p=u(l,i[l],r,typeof e==`string`);a=n.merge(a,p,r)}return r.allowSparse===!0?a:n.compact(a)}})),pt=__commonJSMin(((e,t)=>{var n=dt(),r=ft();t.exports={formats:lt(),parse:r,stringify:n}})),mt=__commonJSMin(((e,t)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/example-node-express-webserver",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"description": "Express.js blog showcase with JSON API and static frontend — a real Node.js web app running on GJS",
|
|
5
5
|
"main": "dist/index.gjs.js",
|
|
6
6
|
"type": "module",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"build:public": "gjsify copy src/public dist/public"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@gjsify/http-soup-bridge": "^0.
|
|
24
|
+
"@gjsify/http-soup-bridge": "^0.54.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@gjsify/cli": "^0.
|
|
28
|
-
"@gjsify/node-globals": "^0.
|
|
29
|
-
"@gjsify/runtime": "^0.
|
|
27
|
+
"@gjsify/cli": "^0.54.0",
|
|
28
|
+
"@gjsify/node-globals": "^0.54.0",
|
|
29
|
+
"@gjsify/runtime": "^0.54.0",
|
|
30
30
|
"@types/express": "^5.0.6",
|
|
31
31
|
"@types/node": "^25.9.2",
|
|
32
32
|
"express": "^5.2.1",
|