228 lines
827 KiB
JavaScript
228 lines
827 KiB
JavaScript
|
|
"use strict";var e=require("./binary-H3Un9BO3.js"),a=require("path"),i=require("buffer"),n=require("string_decoder"),t=require("node:zlib"),o=require("util"),r=require("node:events"),s=require("url"),c=require("./marp-cli-qbOdG7H_.js"),p=require("node:path"),l=require("node:fs"),u=require("node:http"),d=require("crypto"),f=require("fs"),m=require("node:querystring"),h=require("node:buffer"),v=require("node:net"),b=require("stream");function x(e,a){return a.forEach(function(a){a&&"string"!=typeof a&&!Array.isArray(a)&&Object.keys(a).forEach(function(i){if("default"!==i&&!(i in e)){var n=Object.getOwnPropertyDescriptor(a,i);Object.defineProperty(e,i,n.get?n:{enumerable:!0,get:function(){return a[i]}})}})}),Object.freeze(e)}var g,y,w,k,j={exports:{}},E={exports:{}},S={exports:{}};function A(){if(y)return g;y=1;var e=a.relative;g=function(e){if(!e)throw new TypeError("argument namespace is required");var a=r(u()[1])[0];function i(e){o.call(i,e)}return i._file=a,i._ignored=function(e){return!!process.noDeprecation||n(process.env.NO_DEPRECATION||"",e)}(e),i._namespace=e,i._traced=function(e){return!!process.traceDeprecation||n(process.env.TRACE_DEPRECATION||"",e)}(e),i._warned=Object.create(null),i.function=f,i.property=m,i};var i=process.cwd();function n(e,a){for(var i=e.split(/[ ,]+/),n=String(a).toLowerCase(),t=0;t<i.length;t++){var o=i[t];if(o&&("*"===o||o.toLowerCase()===n))return!0}return!1}function t(e){var a=this.name+": "+this.namespace;this.message&&(a+=" deprecated "+this.message);for(var i=0;i<e.length;i++)a+="\n at "+e[i].toString();return a}function o(e,a){var i=function(e,a){return("function"!=typeof e.listenerCount?e.listeners(a).length:e.listenerCount(a))>0}(process,"deprecation");if(i||!this._ignored){var n,t,o,l,d=0,f=!1,m=u(),v=this._file;for(a?(l=a,(o=r(m[1])).name=l.name,v=o[0]):o=l=r(m[d=2]);d<m.length;d++)if((t=(n=r(m[d]))[0])===v)f=!0;else if(t===this._file)v=this._file;else if(f)break;var b=n?l.join(":")+"__"+n.join(":"):void 0;if(void 0===b||!(b in this._warned)){this._warned[b]=!0;var x=e;if(x||(x=o!==l&&o.name?s(o):s(l)),i){var g=h(this._namespace,x,m.slice(d));process.emit("deprecation",g)}else{var y=(process.stderr.isTTY?p:c).call(this,x,n,m.slice(d));process.stderr.write(y+"\n","utf8")}}}}function r(e){var a=e.getFileName()||"<anonymous>",i=e.getLineNumber(),n=e.getColumnNumber();e.isEval()&&(a=e.getEvalOrigin()+", "+a);var t=[a,i,n];return t.callSite=e,t.name=e.getFunctionName(),t}function s(e){var a=e.callSite,i=e.name;i||(i="<anonymous@"+l(e)+">");var n=a.getThis(),t=n&&a.getTypeName();return"Object"===t&&(t=void 0),"Function"===t&&(t=n.name||t),t&&a.getMethodName()?t+"."+i:i}function c(e,a,i){var n=(new Date).toUTCString()+" "+this._namespace+" deprecated "+e;if(this._traced){for(var t=0;t<i.length;t++)n+="\n at "+i[t].toString();return n}return a&&(n+=" at "+l(a)),n}function p(e,a,i){var n="[36;1m"+this._namespace+"[22;39m [33;1mdeprecated[22;39m [0m"+e+"[39m";if(this._traced){for(var t=0;t<i.length;t++)n+="\n [36mat "+i[t].toString()+"[39m";return n}return a&&(n+=" [36m"+l(a)+"[39m"),n}function l(a){return e(i,a[0])+":"+a[1]+":"+a[2]}function u(){var e=Error.stackTraceLimit,a={},i=Error.prepareStackTrace;Error.prepareStackTrace=d,Error.stackTraceLimit=Math.max(10,e),Error.captureStackTrace(a);var n=a.stack.slice(1);return Error.prepareStackTrace=i,Error.stackTraceLimit=e,n}function d(e,a){return a}function f(e,a){if("function"!=typeof e)throw new TypeError("argument fn must be a function");var i=function(e){for(var a="",i=0;i<e;i++)a+=", arg"+i;return a.substr(2)}(e.length),n=r(u()[1]);return n.name=e.name,new Function("fn","log","deprecate","message","site",'"use strict"\nreturn function ('+i+") {log.call(deprecate, message, site)\nreturn fn.apply(this, arguments)\n}")(e,o,this,a,n)}function m(e,a,i){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("argument obj must be object");var n=Object.getOwnPropertyDescriptor(e,a);if(!n)throw new TypeError("must call property on owner object");if(!n.configurable)throw new TypeError("property must be configurab
|
|||
|
|
/*!
|
|||
|
|
* statuses
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function T(){if(O)return _;O=1;var e=C;function a(e){if(!Object.prototype.hasOwnProperty.call(i.message,e))throw new Error("invalid status code: "+e);return i.message[e]}function i(e){if("number"==typeof e)return a(e);if("string"!=typeof e)throw new TypeError("code must be a number or string");var n=parseInt(e,10);return isNaN(n)?function(e){var a=e.toLowerCase();if(!Object.prototype.hasOwnProperty.call(i.code,a))throw new Error('invalid status message: "'+e+'"');return i.code[a]}(e):a(n)}return _=i,i.message=e,i.code=function(e){var a={};return Object.keys(e).forEach(function(i){var n=e[i],t=Number(i);a[n.toLowerCase()]=t}),a}(e),i.codes=function(e){return Object.keys(e).map(function(e){return Number(e)})}(e),i.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0},i.empty={204:!0,205:!0,304:!0},i.retry={502:!0,503:!0,504:!0},_}var q,B,I,P,z,L={exports:{}},D={exports:{}};function R(){if(B)return L.exports;B=1;try{var e=require("util");if("function"!=typeof e.inherits)throw"";L.exports=e.inherits}catch(e){L.exports=(q||(q=1,"function"==typeof Object.create?D.exports=function(e,a){a&&(e.super_=a,e.prototype=Object.create(a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:D.exports=function(e,a){if(a){e.super_=a;var i=function(){};i.prototype=a.prototype,e.prototype=new i,e.prototype.constructor=e}}),D.exports)}return L.exports}
|
|||
|
|
/*!
|
|||
|
|
* toidentifier
|
|||
|
|
* Copyright(c) 2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function N(){return z||(z=1,function(e){var a,i=A()("http-errors"),n=k?w:(k=1,w=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,a){return e.__proto__=a,e}:function(e,a){for(var i in a)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=a[i]);return e})),t=T(),o=R(),r=P?I:(P=1,I=function(e){return e.split(" ").map(function(e){return e.slice(0,1).toUpperCase()+e.slice(1)}).join("").replace(/[^ _0-9a-z]/gi,"")});function s(e){return Number(String(e).charAt(0)+"00")}function c(e,a){var i=Object.getOwnPropertyDescriptor(e,"name");i&&i.configurable&&(i.value=a,Object.defineProperty(e,"name",i))}function p(e){return"Error"===e.slice(-5)?e:e+"Error"}e.exports=function e(){for(var a,n,o=500,r={},c=0;c<arguments.length;c++){var p=arguments[c],l=typeof p;if("object"===l&&p instanceof Error)o=(a=p).status||a.statusCode||o;else if("number"===l&&0===c)o=p;else if("string"===l)n=p;else{if("object"!==l)throw new TypeError("argument #"+(c+1)+" unsupported type "+l);r=p}}"number"==typeof o&&(o<400||o>=600)&&i("non-error status code; use only 4xx or 5xx status codes"),("number"!=typeof o||!t.message[o]&&(o<400||o>=600))&&(o=500);var u=e[o]||e[s(o)];for(var d in a||(a=u?new u(n):new Error(n||t.message[o]),Error.captureStackTrace(a,e)),u&&a instanceof u&&a.status===o||(a.expose=o<500,a.status=a.statusCode=o),r)"status"!==d&&"statusCode"!==d&&(a[d]=r[d]);return a},e.exports.HttpError=function(){function e(){throw new TypeError("cannot construct abstract class")}return o(e,Error),e}(),e.exports.isHttpError=(a=e.exports.HttpError,function(e){return!(!e||"object"!=typeof e)&&(e instanceof a||e instanceof Error&&"boolean"==typeof e.expose&&"number"==typeof e.statusCode&&e.status===e.statusCode)}),function(e,a,i){a.forEach(function(a){var l,u=r(t.message[a]);switch(s(a)){case 400:l=function(e,a,i){var r=p(a);function s(e){var a=null!=e?e:t.message[i],o=new Error(a);return Error.captureStackTrace(o,s),n(o,s.prototype),Object.defineProperty(o,"message",{enumerable:!0,configurable:!0,value:a,writable:!0}),Object.defineProperty(o,"name",{enumerable:!1,configurable:!0,value:r,writable:!0}),o}return o(s,e),c(s,r),s.prototype.status=i,s.prototype.statusCode=i,s.prototype.expose=!0,s}(i,u,a);break;case 500:l=function(e,a,i){var r=p(a);function s(e){var a=null!=e?e:t.message[i],o=new Error(a);return Error.captureStackTrace(o,s),n(o,s.prototype),Object.defineProperty(o,"message",{enumerable:!0,configurable:!0,value:a,writable:!0}),Object.defineProperty(o,"name",{enumerable:!1,configurable:!0,value:r,writable:!0}),o}return o(s,e),c(s,r),s.prototype.status=i,s.prototype.statusCode=i,s.prototype.expose=!1,s}(i,u,a)}l&&(e[a]=l,e[u]=l)})}(e.exports,t.codes,e.exports.HttpError)}(S)),S.exports}var F,M={exports:{}};
|
|||
|
|
/*!
|
|||
|
|
* bytes
|
|||
|
|
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2015 Jed Watson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function U(){if(F)return M.exports;F=1,M.exports=function(e,a){return"string"==typeof e?o(e):"number"==typeof e?t(e,a):null},M.exports.format=t,M.exports.parse=o;var e=/\B(?=(\d{3})+(?!\d))/g,a=/(?:\.0*|(\.[^0]+)0+)$/,i={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},n=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function t(n,t){if(!Number.isFinite(n))return null;var o=Math.abs(n),r=t&&t.thousandsSeparator||"",s=t&&t.unitSeparator||"",c=t&&void 0!==t.decimalPlaces?t.decimalPlaces:2,p=Boolean(t&&t.fixedDecimals),l=t&&t.unit||"";l&&i[l.toLowerCase()]||(l=o>=i.pb?"PB":o>=i.tb?"TB":o>=i.gb?"GB":o>=i.mb?"MB":o>=i.kb?"KB":"B");var u=(n/i[l.toLowerCase()]).toFixed(c);return p||(u=u.replace(a,"$1")),r&&(u=u.split(".").map(function(a,i){return 0===i?a.replace(e,r):a}).join(".")),u+s+l}function o(e){if("number"==typeof e&&!isNaN(e))return e;if("string"!=typeof e)return null;var a,t=n.exec(e),o="b";return t?(a=parseFloat(t[1]),o=t[4].toLowerCase()):(a=parseInt(e,10),o="b"),isNaN(a)?null:Math.floor(i[o]*a)}return M.exports}var $,H,V={exports:{}};function W(){if(H)return $;H=1;var e,a=i,n=a.Buffer,t={};for(e in a)a.hasOwnProperty(e)&&"SlowBuffer"!==e&&"Buffer"!==e&&(t[e]=a[e]);var o=t.Buffer={};for(e in n)n.hasOwnProperty(e)&&"allocUnsafe"!==e&&"allocUnsafeSlow"!==e&&(o[e]=n[e]);if(t.Buffer.prototype=n.prototype,o.from&&o.from!==Uint8Array.from||(o.from=function(e,a,i){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return n(e,a,i)}),o.alloc||(o.alloc=function(e,a,i){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=n(e);return a&&0!==a.length?"string"==typeof i?t.fill(a,i):t.fill(a):t.fill(0),t}),!t.kStringMaxLength)try{t.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}return t.constants||(t.constants={MAX_LENGTH:t.kMaxLength},t.kStringMaxLength&&(t.constants.MAX_STRING_LENGTH=t.kStringMaxLength)),$=t}var G,Z,K,J={};function X(){if(K)return Z;K=1;var e=void 0===Object.hasOwn?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;return Z=function(a,i){for(var n in i)e(i,n)&&(a[n]=i[n])}}var Q,Y,ee={};function ae(){if(Y)return Q;Y=1;var e=W().Buffer;function a(a,i){this.enc=a.encodingName,this.bomAware=a.bomAware,"base64"===this.enc?this.encoder=r:"utf8"===this.enc?this.encoder=p:"cesu8"===this.enc&&(this.enc="utf8",this.encoder=s,"💩"!==e.from("eda0bdedb2a9","hex").toString()&&(this.decoder=c,this.defaultCharUnicode=i.defaultCharUnicode))}Q={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:a},a.prototype.encoder=o,a.prototype.decoder=t;var i=n.StringDecoder;function t(e,a){this.decoder=new i(a.enc)}function o(e,a){this.enc=a.enc}function r(e,a){this.prevStr=""}function s(e,a){}function c(e,a){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=a.defaultCharUnicode}function p(e,a){this.highSurrogate=""}return t.prototype.write=function(a){return e.isBuffer(a)||(a=e.from(a)),this.decoder.write(a)},t.prototype.end=function(){return this.decoder.end()},o.prototype.write=function(a){return e.from(a,this.enc)},o.prototype.end=function(){},r.prototype.write=function(a){var i=(a=this.prevStr+a).length-a.length%4;return this.prevStr=a.slice(i),a=a.slice(0,i),e.from(a,"base64")},r.prototype.end=function(){return e.from(this.prevStr,"base64")},s.prototype.write=function(a){for(var i=e.alloc(3*a.length),n=0,t=0;t<a.length;t++){var o=a.charCodeAt(t);o<128?i[n++]=o:o<2048?(i[n++]=192+(o>>>6),i[n++]=128+(63&o)):(i[n++]=224+(o>>>12),i[n++]=128+(o>>>6&63),i[n++]=128+(63&o))}return i.slice(0,n)},s.pro
|
|||
|
|
/*!
|
|||
|
|
* ee-first
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function za(){if(Ia)return Pa.exports;Ia=1,Pa.exports=function(t,o){return!1!==n(t)?(i(o,null,t),t):(function(e,i){var n=e.__onFinished;n&&n.queue||(n=e.__onFinished=function(e){function a(i){if(e.__onFinished===a&&(e.__onFinished=null),a.queue){var n=a.queue;a.queue=null;for(var t=0;t<n.length;t++)n[t](i,e)}}return a.queue=[],a}(e),function(e,i){var n,t,o=!1;function r(e){n.cancel(),t.cancel(),o=!0,i(e)}function s(i){e.removeListener("socket",s),o||n===t&&(t=a([[i,"error","close"]],r))}n=t=a([[e,"end","finish"]],r),e.socket?s(e.socket):(e.on("socket",s),void 0===e.socket&&function(e,a){var i=e.assignSocket;"function"==typeof i&&(e.assignSocket=function(e){i.call(this,e),a(e)})}(e,s))}(e,n)),n.queue.push(i)}(t,(r=o,e.AsyncResource&&(s=new e.AsyncResource(r.name||"bound-anonymous-fn")),s&&s.runInAsyncScope?s.runInAsyncScope.bind(s,r,null):r)),t);var r,s},Pa.exports.isFinished=n;var e=function(){try{return require("async_hooks")}catch(e){return{}}}(),a=function(){if(Ba)return qa;function e(e,a){return function(i){for(var n=new Array(arguments.length),t="error"===e?i:null,o=0;o<n.length;o++)n[o]=arguments[o];a(t,this,e,n)}}return Ba=1,qa=function(a,i){if(!Array.isArray(a))throw new TypeError("arg must be an array of [ee, events...] arrays");for(var n=[],t=0;t<a.length;t++){var o=a[t];if(!Array.isArray(o)||o.length<2)throw new TypeError("each array member must be [ee, events...]");for(var r=o[0],s=1;s<o.length;s++){var c=o[s],p=e(c,l);r.on(c,p),n.push({ee:r,event:c,fn:p})}}function l(){u(),i.apply(null,arguments)}function u(){for(var e,a=0;a<n.length;a++)(e=n[a]).ee.removeListener(e.event,e.fn)}function d(e){i=e}return d.cancel=u,d},qa}
|
|||
|
|
/*!
|
|||
|
|
* on-finished
|
|||
|
|
* Copyright(c) 2013 Jonathan Ong
|
|||
|
|
* Copyright(c) 2014 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/(),i="function"==typeof setImmediate?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))};function n(e){var a=e.socket;return"boolean"==typeof e.finished?Boolean(e.finished||a&&!a.writable):"boolean"==typeof e.complete?Boolean(e.upgrade||!a||!a.readable||e.complete&&!e.readable):void 0}return Pa.exports}var La,Da={exports:{}},Ra={};function Na(){if(La)return Ra;La=1;var e=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,a=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,i=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,n=/\\([\u000b\u0020-\u00ff])/g,t=/([\\"])/g,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function r(e){var n=String(e);if(i.test(n))return n;if(n.length>0&&!a.test(n))throw new TypeError("invalid parameter value");return'"'+n.replace(t,"\\$1")+'"'}function s(e){this.parameters=Object.create(null),this.type=e}return Ra.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var a=e.parameters,n=e.type;if(!n||!o.test(n))throw new TypeError("invalid type");var t=n;if(a&&"object"==typeof a)for(var s,c=Object.keys(a).sort(),p=0;p<c.length;p++){if(s=c[p],!i.test(s))throw new TypeError("invalid parameter name");t+="; "+s+"="+r(a[s])}return t},Ra.parse=function(a){if(!a)throw new TypeError("argument string is required");var i="object"==typeof a?function(e){var a;if("function"==typeof e.getHeader?a=e.getHeader("content-type"):"object"==typeof e.headers&&(a=e.headers&&e.headers["content-type"]),"string"!=typeof a)throw new TypeError("content-type header is missing from object");return a}(a):a;if("string"!=typeof i)throw new TypeError("argument string is required to be a string");var t=i.indexOf(";"),r=-1!==t?i.slice(0,t).trim():i.trim();if(!o.test(r))throw new TypeError("invalid media type");var c=new s(r.toLowerCase());if(-1!==t){var p,l,u;for(e.lastIndex=t;l=e.exec(i);){if(l.index!==t)throw new TypeError("invalid parameter format");t+=l[0].length,p=l[1].toLowerCase(),34===(u=l[2]).charCodeAt(0)&&-1!==(u=u.slice(1,-1)).indexOf("\\")&&(u=u.replace(n,"$1")),c.parameters[p]=u}if(t!==i.length)throw new TypeError("invalid parameter format")}return c},Ra}var Fa,Ma,Ua,$a,Ha,Va={},Wa={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/ace+json":{source:"iana",compressible:!0},"application/ace-groupcomm+cbor":{source:"iana"},"application/ace-trl+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/aif+cbor":{source:"iana"},"application/aif+json":{source:"iana",compressible:!0},"application/alto-cdni+json":{source:"iana",compressible:!0},"application/alto-cdnifilter+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-propmap+json":{source:"iana",compressible:!0},"application/alto-propmapparams+json":{source:"iana",compressible:!0},"application/alto-tips+json":{source:"iana",compressible:!0},"application/alto-tipsparams+json":{source:"iana",compress
|
|||
|
|
/*!
|
|||
|
|
* mime-types
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Za(){return Ha||(Ha=1,function(e){var i,n,t=Ma?Fa:(Ma=1,Fa=Wa),o=a.extname,r=Ga(),s=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function p(e){if(!e||"string"!=typeof e)return!1;var a=s.exec(e),i=a&&t[a[1].toLowerCase()];return i&&i.charset?i.charset:!(!a||!c.test(a[1]))&&"UTF-8"}function l(a){if(!a||"string"!=typeof a)return!1;var i=s.exec(a),n=i&&e.extensions[i[1].toLowerCase()];return!(!n||!n.length)&&n[0]}function u(e,a,i){return(a?r(a,t[a].source):0)>(i?r(i,t[i].source):0)?a:i}function d(a,i,n){var o=["nginx","apache",void 0,"iana"],r=i?o.indexOf(t[i].source):0,s=n?o.indexOf(t[n].source):0;return"application/octet-stream"!==e.types[l]&&(r>s||r===s&&"application/"===e.types[l]?.slice(0,12))||r>s?i:n}e.charset=p,e.charsets={lookup:p},e.contentType=function(a){if(!a||"string"!=typeof a)return!1;var i=-1===a.indexOf("/")?e.lookup(a):a;if(!i)return!1;if(-1===i.indexOf("charset")){var n=e.charset(i);n&&(i+="; charset="+n.toLowerCase())}return i},e.extension=l,e.extensions=Object.create(null),e.lookup=function(a){if(!a||"string"!=typeof a)return!1;var i=o("x."+a).toLowerCase().slice(1);return i&&e.types[i]||!1},e.types=Object.create(null),e._extensionConflicts=[],i=e.extensions,n=e.types,Object.keys(t).forEach(function(a){var o=t[a].extensions;if(o&&o.length){i[a]=o;for(var r=0;r<o.length;r++){var s=o[r];n[s]=u(0,n[s],a);const i=d(0,n[s],a);i!==n[s]&&e._extensionConflicts.push([s,i,n[s]])}}})}(Va)),Va}var Ka,Ja,Xa,Qa,Ya,ei,ai,ii,ni,ti,oi,ri,si,ci,pi,li,ui,di,fi,mi,hi,vi,bi,xi,gi,yi,wi,ki,ji,Ei,Si,Ai,_i,Oi,Ci,Ti,qi,Bi,Ii,Pi,zi,Li,Di,Ri,Ni,Fi,Mi,Ui,$i,Hi,Vi,Wi,Gi,Zi,Ki,Ji,Xi,Qi,Yi,en,an,nn,tn,on,rn,sn,cn,pn,ln,un,dn,fn,mn,hn,vn,bn,xn,gn,yn,wn,kn,jn,En,Sn,An,_n,On,Cn,Tn,qn,Bn,In,Pn,zn,Ln,Dn,Rn,Nn,Fn,Mn,Un,$n,Hn,Vn,Wn,Gn,Zn,Kn,Jn,Xn={};
|
|||
|
|
/*!
|
|||
|
|
* media-typer
|
|||
|
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Qn(){if(Ja)return Da.exports;Ja=1;var e=Na(),a=Za(),i=function(){if(Ka)return Xn;Ka=1;var e=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,a=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,i=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;function n(e,a,i){this.type=e,this.subtype=a,this.suffix=i}return Xn.format=function(i){if(!i||"object"!=typeof i)throw new TypeError("argument obj is required");var n=i.subtype,t=i.suffix,o=i.type;if(!o||!a.test(o))throw new TypeError("invalid type");if(!n||!e.test(n))throw new TypeError("invalid subtype");var r=o+"/"+n;if(t){if(!a.test(t))throw new TypeError("invalid suffix");r+="+"+t}return r},Xn.parse=function(e){if(!e)throw new TypeError("argument string is required");if("string"!=typeof e)throw new TypeError("argument string is required to be a string");var a=i.exec(e.toLowerCase());if(!a)throw new TypeError("invalid media type");var t,o=a[1],r=a[2],s=r.lastIndexOf("+");return-1!==s&&(t=r.substr(s+1),r=r.substr(0,s)),new n(o,r,t)},Xn.test=function(e){if(!e)throw new TypeError("argument string is required");if("string"!=typeof e)throw new TypeError("argument string is required to be a string");return i.test(e.toLowerCase())},Xn}
|
|||
|
|
/*!
|
|||
|
|
* type-is
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/();function n(a,n){var t,s,c=n,p=function(a){try{return a?function(a){var n=e.parse(a).type;return i.test(n)?n:null}(a):null}catch(e){return null}}(a);if(!p)return!1;if(c&&!Array.isArray(c))for(c=new Array(arguments.length-1),t=0;t<c.length;t++)c[t]=arguments[t+1];if(!c||!c.length)return p;for(t=0;t<c.length;t++)if(r(o(s=c[t]),p))return"+"===s[0]||-1!==s.indexOf("*")?p:s;return!1}function t(e){return void 0!==e.headers["transfer-encoding"]||!isNaN(e.headers["content-length"])}function o(e){if("string"!=typeof e)return!1;switch(e){case"urlencoded":return"application/x-www-form-urlencoded";case"multipart":return"multipart/*"}return"+"===e[0]?"*/*"+e:-1===e.indexOf("/")?a.lookup(e):e}function r(e,a){if(!1===e)return!1;var i=a.split("/"),n=e.split("/");return 2===i.length&&2===n.length&&("*"===n[0]||n[0]===i[0])&&("*+"===n[1].slice(0,2)?n[1].length<=i[1].length+1&&n[1].slice(1)===i[1].slice(1-n[1].length):"*"===n[1]||n[1]===i[1])}return Da.exports=function(e,a){if(!t(e))return null;var i=arguments.length>2?Array.prototype.slice.call(arguments,1):a;return n(e.headers["content-type"],i)},Da.exports.is=n,Da.exports.hasBody=t,Da.exports.normalize=o,Da.exports.match=r,Da.exports}function Yn(){if(Qa)return Xa;Qa=1;var e=U(),a=Na(),i=Qn();return Xa={getCharset:function(e){try{return(a.parse(e).parameters.charset||"").toLowerCase()}catch{return}},normalizeOptions:function(a,n){if(!n)throw new TypeError("defaultType must be provided");var t=!1!==a?.inflate,o="number"!=typeof a?.limit?e.parse(a?.limit||"100kb"):a?.limit,r=a?.type||n,s=a?.verify||!1,c=a?.defaultCharset||"utf-8";if(!1!==s&&"function"!=typeof s)throw new TypeError("option verify must be function");return{inflate:t,limit:o,verify:s,defaultCharset:c,shouldParse:"function"!=typeof r?function(e){return function(a){return Boolean(i(a,e))}}(r):r}},passthrough:function(e){return e}},Xa}
|
|||
|
|
/*!
|
|||
|
|
* body-parser
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function et(){if(ei)return Ya;ei=1;var e=N(),a=Ne(),i=(wa||(wa=1,function(e){var a,i=W().Buffer,n=Ve(),t=We();e.exports.encodings=null,e.exports.defaultCharUnicode="<22>",e.exports.defaultCharSingleByte="?",e.exports.encode=function(a,n,t){a=""+(a||"");var o=e.exports.getEncoder(n,t),r=o.write(a),s=o.end();return s&&s.length>0?i.concat([r,s]):r},e.exports.decode=function(a,n,t){"string"==typeof a&&(e.exports.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),e.exports.skipDecodeWarning=!0),a=i.from(""+(a||""),"binary"));var o=e.exports.getDecoder(n,t),r=o.write(a),s=o.end();return s?r+s:r},e.exports.encodingExists=function(a){try{return e.exports.getCodec(a),!0}catch(e){return!1}},e.exports.toEncoding=e.exports.encode,e.exports.fromEncoding=e.exports.decode,e.exports._codecDataCache={__proto__:null},e.exports.getCodec=function(a){if(!e.exports.encodings){var i=(xa||(xa=1,function(e){for(var a=We(),i=[Je(),Ye(),ia(),oa(),da(),ca?sa:(ca=1,sa={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},cp720:{type:"_sbcs",chars:"éâàçêëèïîّْô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡ًٌٍَُِ≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",csp
|
|||
|
|
/*!
|
|||
|
|
* body-parser
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function at(){return ci?si:(ci=1,si=TypeError)}function it(){return li?pi:(li=1,pi=o.inspect)}function nt(){if(di)return ui;di=1;var a="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=a&&i&&"function"==typeof i.get?i.get:null,t=a&&Map.prototype.forEach,o="function"==typeof Set&&Set.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=o&&r&&"function"==typeof r.get?r.get:null,c=o&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,l="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,u="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,f=Object.prototype.toString,m=Function.prototype.toString,h=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,x=String.prototype.toUpperCase,g=String.prototype.toLowerCase,y=RegExp.prototype.test,w=Array.prototype.concat,k=Array.prototype.join,j=Array.prototype.slice,E=Math.floor,S="function"==typeof BigInt?BigInt.prototype.valueOf:null,A=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,q=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function B(e,a){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||y.call(/e/,a))return a;var i=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-E(-e):E(e);if(n!==e){var t=String(n),o=v.call(a,t.length+1);return b.call(t,i,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(a,i,"$&_")}var I=it(),P=I.custom,z=$(P)?P:null,L={__proto__:null,double:'"',single:"'"},D={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function R(e,a,i){var n=i.quoteStyle||a,t=L[n];return t+e+t}function N(e){return b.call(String(e),/"/g,""")}function F(e){return!C||!("object"==typeof e&&(C in e||void 0!==e[C]))}function M(e){return"[object Array]"===W(e)&&F(e)}function U(e){return"[object RegExp]"===W(e)&&F(e)}function $(e){if(O)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(e){}return!1}ui=function a(i,o,r,f){var x=o||{};if(V(x,"quoteStyle")&&!V(L,x.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(x,"maxStringLength")&&("number"==typeof x.maxStringLength?x.maxStringLength<0&&x.maxStringLength!==1/0:null!==x.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!V(x,"customInspect")||x.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(x,"indent")&&null!==x.indent&&"\t"!==x.indent&&!(parseInt(x.indent,10)===x.indent&&x.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(x,"numericSeparator")&&"boolean"!=typeof x.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var E=x.numericSeparator;if(void 0===i)return"undefined";if(null===i)return"null";if("boolean"==typeof i)return i?"true":"false";if("string"==typeof i)return Z(i,x);if("number"==typeof i){if(0===i)return 1/0/i>0?"0":"-0";var A=String(i);return E?B(i,A):A}if("bigint"==typeof i){var P=String(i)+"n";return E?B(i,P):P}var D=void 0===x.depth?5:x.depth;if(void 0===r&&(r=0),r>=D&&D>0&&"object"==typeof i)return M(i)?"[Array]":"[Object]";var H,K=function(e,a){var i;if("\t"===e.indent)i="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;i=k.call(Array(e.indent+1)," ")}return{base:i,prev:k.call(Array(a+1),i)}}(x,r);i
|
|||
|
|
/*!
|
|||
|
|
* body-parser
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Ut(){return Zn||(Zn=1,E.exports,a=E.exports=function(){throw new Error("The bodyParser() generic has been split into individual middleware to use instead.")},Object.defineProperty(a,"json",{configurable:!0,enumerable:!0,get:()=>function(){if(ii)return ai;ii=1;var a=e.r()("body-parser:json"),i=et(),{normalizeOptions:n}=Yn();ai=function(e){const c=n(e,"application/json");var p=e?.reviver,l=!1!==e?.strict;function u(e){if(0===e.length)return{};if(l){var i=(n=e,(c=t.exec(n))?c[1]:void 0);if("{"!==i&&"["!==i)throw a("strict violation"),function(e,a){var i=e.indexOf(a),n="";-1!==i&&(n=e.substring(0,i)+o.repeat(e.length-i));try{throw JSON.parse(n),new SyntaxError("strict violation")}catch(a){return s(a,{message:a.message.replace(r,function(a){return e.substring(i,i+a.length)}),stack:a.stack})}}(e,i)}var n,c;try{return a("parse json"),JSON.parse(e,p)}catch(e){throw s(e,{message:e.message,stack:e.stack})}}const d={...c,isValidCharset:e=>"utf-"===e.slice(0,4)};return function(e,n,t){i(e,n,t,u,a,d)}};var t=/^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/,o="#",r=/#+/g;function s(e,a){for(var i=Object.getOwnPropertyNames(e),n=0;n<i.length;n++){var t=i[n];"stack"!==t&&"message"!==t&&delete e[t]}return e.stack=a.stack.replace(e.message,a.message),e.message=a.message,e}return ai}
|
|||
|
|
/*!
|
|||
|
|
* body-parser
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/()}),Object.defineProperty(a,"raw",{configurable:!0,enumerable:!0,get:()=>function(){if(ti)return ni;ti=1;var a=e.r()("body-parser:raw"),i=et(),{normalizeOptions:n,passthrough:t}=Yn();return ni=function(e){const o={...n(e,"application/octet-stream"),skipCharset:!0};return function(e,n,r){i(e,n,r,t,a,o)}}}
|
|||
|
|
/*!
|
|||
|
|
* body-parser
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/()}),Object.defineProperty(a,"text",{configurable:!0,enumerable:!0,get:()=>function(){if(ri)return oi;ri=1;var a=e.r()("body-parser:text"),i=et(),{normalizeOptions:n,passthrough:t}=Yn();return oi=function(e){const o=n(e,"text/plain");return function(e,n,r){i(e,n,r,t,a,o)}}}()}),Object.defineProperty(a,"urlencoded",{configurable:!0,enumerable:!0,get:()=>function(){if(Gn)return Wn;Gn=1;var a=N(),i=e.r()("body-parser:urlencoded"),n=et(),t=Mt(),{normalizeOptions:o}=Yn();return Wn=function(e){const r=o(e,"application/x-www-form-urlencoded");if("utf-8"!==r.defaultCharset&&"iso-8859-1"!==r.defaultCharset)throw new TypeError("option defaultCharset must be either utf-8 or iso-8859-1");var s=function(e){var n=Boolean(e?.extended),o=void 0!==e?.parameterLimit?e?.parameterLimit:1e3,r=e?.charsetSentinel,s=e?.interpretNumericEntities,c=n?void 0!==e?.depth?e?.depth:32:0;if(isNaN(o)||o<1)throw new TypeError("option parameterLimit must be a positive number");if(isNaN(c)||c<0)throw new TypeError("option depth must be a zero or a positive number");return isFinite(o)&&(o|=0),function(e,p){var l=function(e,a){let i=0,n=-1;do{if(i++,i>a)return;n=e.indexOf("&",n+1)}while(-1!==n);return i}(e,o);if(void 0===l)throw i("too many parameters"),a(413,"too many parameters",{type:"parameters.too.many"});var u=n?Math.max(100,l):l;i("parse "+(n?"extended ":"")+"urlencoding");try{return t.parse(e,{allowPrototypes:!0,arrayLimit:u,depth:c,charsetSentinel:r,interpretNumericEntities:s,charset:p,parameterLimit:o,strictDepth:!0})}catch(e){throw e instanceof RangeError?a(400,"The input exceeded the depth",{type:"querystring.parse.rangeError"}):e}}}(e);function c(e,a){return e.length?s(e,a):{}}const p={...r,isValidCharset:e=>"utf-8"===e||"iso-8859-1"===e};return function(e,a,t){n(e,a,t,c,i,p)}},Wn}
|
|||
|
|
/*!
|
|||
|
|
* body-parser
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/()})),E.exports;var a}function $t(){return Jn?Kn:(Jn=1,Kn=function(e,a,i=!0){if(!e)throw new TypeError("The `destination` argument is required.");if(!a)throw new TypeError("The `source` argument is required.");for(const n of Object.getOwnPropertyNames(a)){if(!i&&Object.hasOwn(e,n))continue;const t=Object.getOwnPropertyDescriptor(a,n);Object.defineProperty(e,n,t)}return e})}var Ht,Vt,Wt,Gt,Zt={exports:{}};
|
|||
|
|
/*!
|
|||
|
|
* encodeurl
|
|||
|
|
* Copyright(c) 2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Kt(){if(Vt)return Ht;Vt=1,Ht=function(n){return String(n).replace(a,i).replace(e,encodeURI)};var e=/(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g,a=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,i="$1<>$2";return Ht}
|
|||
|
|
/*!
|
|||
|
|
* escape-html
|
|||
|
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2015 Andreas Lubbe
|
|||
|
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Jt(){if(Gt)return Wt;Gt=1;var e=/["'&<>]/;return Wt=function(a){var i,n=""+a,t=e.exec(n);if(!t)return n;var o="",r=0,s=0;for(r=t.index;r<n.length;r++){switch(n.charCodeAt(r)){case 34:i=""";break;case 38:i="&";break;case 39:i="'";break;case 60:i="<";break;case 62:i=">";break;default:continue}s!==r&&(o+=n.substring(s,r)),s=r+1,o+=i}return s!==r?o+n.substring(s,r):o}}var Xt,Qt,Yt,eo,ao,io={exports:{}};
|
|||
|
|
/*!
|
|||
|
|
* parseurl
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function no(){if(Xt)return io.exports;Xt=1;var e=s,a=e.parse,i=e.Url;function n(e){var a=e.url;if(void 0!==a){var i=e._parsedUrl;return o(a,i)?i:((i=t(a))._raw=a,e._parsedUrl=i)}}function t(e){if("string"!=typeof e||47!==e.charCodeAt(0))return a(e);for(var n=e,t=null,o=null,r=1;r<e.length;r++)switch(e.charCodeAt(r)){case 63:null===o&&(n=e.substring(0,r),t=e.substring(r+1),o=e.substring(r));break;case 9:case 10:case 12:case 13:case 32:case 35:case 160:case 65279:return a(e)}var s=void 0!==i?new i:{};return s.path=e,s.href=e,s.pathname=n,null!==o&&(s.query=t,s.search=o),s}function o(e,a){return"object"==typeof a&&null!==a&&(void 0===i||a instanceof i)&&a._raw===e}return io.exports=n,io.exports.original=function(e){var a=e.originalUrl;if("string"!=typeof a)return n(e);var i=e._parsedOriginalUrl;return o(a,i)?i:((i=t(a))._raw=a,e._parsedOriginalUrl=i)},io.exports}
|
|||
|
|
/*!
|
|||
|
|
* finalhandler
|
|||
|
|
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/var to,oo,ro={};
|
|||
|
|
/*!
|
|||
|
|
* etag
|
|||
|
|
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function so(){if(oo)return to;oo=1,to=function(n,t){if(null==n)throw new TypeError("argument entity is required");var o,r=(o=n,"function"==typeof a&&o instanceof a||o&&"object"==typeof o&&"ctime"in o&&"[object Date]"===i.call(o.ctime)&&"mtime"in o&&"[object Date]"===i.call(o.mtime)&&"ino"in o&&"number"==typeof o.ino&&"size"in o&&"number"==typeof o.size),s=t&&"boolean"==typeof t.weak?t.weak:r;if(!r&&"string"!=typeof n&&!Buffer.isBuffer(n))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var c,p,l=r?(p=(c=n).mtime.getTime().toString(16),'"'+c.size.toString(16)+"-"+p+'"'):function(a){if(0===a.length)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var i=e.createHash("sha1").update(a,"utf8").digest("base64").substring(0,27);return'"'+("string"==typeof a?Buffer.byteLength(a,"utf8"):a.length).toString(16)+"-"+i+'"'}(n);return s?"W/"+l:l};var e=d,a=f.Stats,i=Object.prototype.toString;return to}var co,po,lo,uo,fo,mo={exports:{}},ho={exports:{}},vo=ho.exports;
|
|||
|
|
/*!
|
|||
|
|
* forwarded
|
|||
|
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function bo(){return lo||(lo=1,e=ho,function(){var a,i,n,t,o,r,s,c;i={},null!==e&&e.exports?e.exports=i:this.ipaddr=i,s=function(e,a,i,n){var t,o;if(e.length!==a.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(t=0;n>0;){if((o=i-n)<0&&(o=0),e[t]>>o!==a[t]>>o)return!1;n-=i,t+=1}return!0},i.subnetMatch=function(e,a,i){var n,t,o,r,s;for(o in null==i&&(i="unicast"),a)for(!(r=a[o])[0]||r[0]instanceof Array||(r=[r]),n=0,t=r.length;n<t;n++)if(s=r[n],e.kind()===s[0].kind()&&e.match.apply(e,s))return o;return i},i.IPv4=function(){function e(e){var a,i,n;if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");for(a=0,i=e.length;a<i;a++)if(!(0<=(n=e[a])&&n<=255))throw new 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,a){var i;if(void 0===a&&(e=(i=e)[0],a=i[1]),"ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return s(this.octets,e.octets,8,a)},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 i.subnetMatch(this,this.SpecialRanges)},e.prototype.toIPv4MappedAddress=function(){return i.IPv6.parse("::ffff:"+this.toString())},e.prototype.prefixLengthFromSubnetMask=function(){var e,a,i,n,t,o,r;for(r={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},e=0,t=!1,a=i=3;i>=0;a=i+=-1){if(!((n=this.octets[a])in r))return null;if(o=r[n],t&&0!==o)return null;8!==o&&(t=!0),e+=o}return 32-e},e}(),n="(0?\\d+|0x[a-f0-9]+)",t={fourOctet:new RegExp("^"+n+"\\."+n+"\\."+n+"\\."+n+"$","i"),longValue:new RegExp("^"+n+"$","i")},i.IPv4.parser=function(e){var a,i,n,o,r;if(i=function(e){return"0"===e[0]&&"x"!==e[1]?parseInt(e,8):parseInt(e)},a=e.match(t.fourOctet))return function(){var e,t,o,r;for(r=[],e=0,t=(o=a.slice(1,6)).length;e<t;e++)n=o[e],r.push(i(n));return r}();if(a=e.match(t.longValue)){if((r=i(a[1]))>4294967295||r<0)throw new Error("ipaddr: address outside defined range");return function(){var e,a;for(a=[],o=e=0;e<=24;o=e+=8)a.push(r>>o&255);return a}().reverse()}return null},i.IPv6=function(){function e(e,a){var i,n,t,o,r,s;if(16===e.length)for(this.parts=[],i=n=0;n<=14;i=n+=2)this.parts.push(e[i]<<8|e[i+1]);else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(t=0,o=(s=this.parts).length;t<o;t++)if(!(0<=(r=s[t])&&r<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");a&&(this.zoneId=a)}return e.prototype.kind=function(){return"ipv6"},e.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")},e.prototype.toRFC5952String=function(){var e,a,i,n,t;for(n=/((^|:)(0(:|$)){2,})/g,t=this.toNormalizedString(),e=0,a=-1;i=n.exec(t);)i[0].length>a&&(e=i.index,a=i[0].length);return a<0?t:t.substring(0,e)+"::"+t.substring(e+a)},e.prototype.toByteArray=function(){var e,a,i,n,t;for(e=[],a=0,i=(t=this.parts).length;a<i;a++)n=t[a],e.push(n>>8),e.push(255&n);return e},e.prototype.toNormalizedString=function(){var e,a,i;return e=function(){var e,i,n,t;for(t=[],e=0,i=(n=this.parts).length;e<i;e++)a=n[e],t.push(a.toString(16));return t}.call(this).join(":"),i="",this.zoneId&&(i="%"+this.zoneId),e+i},e.prototype.toFixedLengthString=function(){var e,a,i;return e=function(){var e,i,n,t;for(t=[],e=0,i=(n=this.parts).length;e<i;e++)a=n[e],t.push(a.toString(16).padStart(4,"0"));return t}.call(this).join(":"),i="",this.
|
|||
|
|
/*!
|
|||
|
|
* proxy-addr
|
|||
|
|
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function xo(){if(uo)return mo.exports;uo=1,mo.exports=function(e,a){if(!e)throw new TypeError("req argument is required");if(!a)throw new TypeError("trust argument is required");var i=r(e,a);return i[i.length-1]},mo.exports.all=r,mo.exports.compile=s;var e=function(){if(po)return co;function e(e){return e.socket?e.socket.remoteAddress:e.connection.remoteAddress}return po=1,co=function(a){if(!a)throw new TypeError("argument req is required");var i=function(e){for(var a=e.length,i=[],n=e.length,t=e.length-1;t>=0;t--)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t);break;case 44:n!==a&&i.push(e.substring(n,a)),n=a=t;break;default:n=t}return n!==a&&i.push(e.substring(n,a)),i}(a.headers["x-forwarded-for"]||"");return[e(a)].concat(i)}}(),a=bo(),i=/^[0-9]+$/,n=a.isValid,t=a.parse,o={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 r(a,i){var n=e(a);if(!i)return n;"function"!=typeof i&&(i=s(i));for(var t=0;t<n.length-1;t++)i(n[t],t)||(n.length=t+1);return n}function s(e){if(!e)throw new TypeError("argument is required");var a,i,r,s,l,u,d,f,m;if("string"==typeof e)a=[e];else{if(!Array.isArray(e))throw new TypeError("unsupported trust argument");a=e.slice()}for(var h=0;h<a.length;h++)e=a[h],Object.prototype.hasOwnProperty.call(o,e)&&(e=o[e],a.splice.apply(a,[h,1].concat(e)),h+=e.length-1);return i=function(e){for(var a=new Array(e.length),i=0;i<e.length;i++)a[i]=c(e[i]);return a}(a),0===(r=i.length)?p:1===r?(l=i[0],u=l[0],d=u.kind(),f="ipv4"===d,m=l[1],function(e){if(!n(e))return!1;var a=t(e);if(a.kind()!==d){if(f&&!a.isIPv4MappedAddress())return!1;a=f?a.toIPv4Address():a.toIPv4MappedAddress()}return a.match(u,m)}):(s=i,function(e){if(!n(e))return!1;for(var a,i=t(e),o=i.kind(),r=0;r<s.length;r++){var c=s[r],p=c[0],l=p.kind(),u=c[1],d=i;if(o!==l){if("ipv4"===l&&!i.isIPv4MappedAddress())continue;a||(a="ipv4"===l?i.toIPv4Address():i.toIPv4MappedAddress()),d=a}if(d.match(p,u))return!0}return!1})}function c(e){var a=e.lastIndexOf("/"),o=-1!==a?e.substring(0,a):e;if(!n(o))throw new TypeError("invalid IP address: "+o);var r=t(o);-1===a&&"ipv6"===r.kind()&&r.isIPv4MappedAddress()&&(r=r.toIPv4Address());var s="ipv6"===r.kind()?128:32,c=-1!==a?e.substring(a+1,e.length):null;if((c=null===c?s:i.test(c)?parseInt(c,10):"ipv4"===r.kind()&&n(c)?function(e){var a=t(e);return"ipv4"===a.kind()?a.prefixLengthFromSubnetMask():null}(c):null)<=0||c>s)throw new TypeError("invalid range on address: "+e);return[r,c]}function p(){return!1}return mo.exports}
|
|||
|
|
/*!
|
|||
|
|
* express
|
|||
|
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function go(){return fo||(fo=1,function(e){var{METHODS:a}=u,i=Na(),n=so(),t=Za(),o=xo(),r=Mt(),s=m;const{Buffer:c}=h;function p(e){return function(a,i){var t=c.isBuffer(a)?a:c.from(a,i);return n(t,e)}}function l(e){return r.parse(e,{allowPrototypes:!0})}e.methods=a.map(e=>e.toLowerCase()),e.etag=p({weak:!1}),e.wetag=p({weak:!0}),e.normalizeType=function(e){return~e.indexOf("/")?function(e){for(var a=e.length,i=-1===(o=e.indexOf(";"))?a:o,n={value:e.slice(0,i).trim(),quality:1,params:{}};i<a;){var t=e.indexOf("=",i);if(-1===t)break;var o,r=-1===(o=e.indexOf(";",i))?a:o;if(t>r)i=e.lastIndexOf(";",t-1)+1;else{var s=e.slice(i,t).trim(),c=e.slice(t+1,r).trim();"q"===s?n.quality=parseFloat(c):n.params[s]=c,i=r+1}}return n}(e):{value:t.lookup(e)||"application/octet-stream",params:{}}},e.normalizeTypes=function(a){return a.map(e.normalizeType)},e.compileETag=function(a){var i;if("function"==typeof a)return a;switch(a){case!0:case"weak":i=e.wetag;break;case!1:break;case"strong":i=e.etag;break;default:throw new TypeError("unknown value for etag function: "+a)}return i},e.compileQueryParser=function(e){var a;if("function"==typeof e)return e;switch(e){case!0:case"simple":a=s.parse;break;case!1:break;case"extended":a=l;break;default:throw new TypeError("unknown value for query parser function: "+e)}return a},e.compileTrust=function(e){return"function"==typeof e?e:!0===e?function(){return!0}:"number"==typeof e?function(a,i){return i<e}:("string"==typeof e&&(e=e.split(",").map(function(e){return e.trim()})),o.compile(e||[]))},e.setCharset=function(e,a){if(!e||!a)return e;var n=i.parse(e);return n.parameters.charset=a,i.format(n)}}(ro)),ro}var yo,wo,ko,jo={exports:{}};function Eo(){if(ko)return jo.exports;ko=1;var e=(wo||(wo=1,yo=function e(a,i){if(a&&i)return e(a)(i);if("function"!=typeof a)throw new TypeError("need wrapper function");return Object.keys(a).forEach(function(e){n[e]=a[e]}),n;function n(){for(var e=new Array(arguments.length),i=0;i<e.length;i++)e[i]=arguments[i];var n=a.apply(this,e),t=e[e.length-1];return"function"==typeof n&&n!==t&&Object.keys(t).forEach(function(e){n[e]=t[e]}),n}}),yo);function a(e){var a=function(){return a.called?a.value:(a.called=!0,a.value=e.apply(this,arguments))};return a.called=!1,a}function i(e){var a=function(){if(a.called)throw new Error(a.onceError);return a.called=!0,a.value=e.apply(this,arguments)},i=e.name||"Function wrapped with `once`";return a.onceError=i+" shouldn't be called more than once",a.called=!1,a}return jo.exports=e(a),jo.exports.strict=e(i),a.proto=a(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return a(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return i(this)},configurable:!0})}),jo.exports}var So,Ao={exports:{}},_o={exports:{}};function Oo(){if(So)return _o.exports;function e(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}return So=1,_o.exports=e,_o.exports.default=e,_o.exports}var Co,To,qo,Bo,Io,Po,zo,Lo={};function Do(){if(Co)return Lo;Co=1,Object.defineProperty(Lo,"__esModule",{value:!0}),Lo.PathError=Lo.TokenData=void 0,Lo.parse=l,Lo.compile=function(a,i={}){const{encode:n=encodeURIComponent,delimiter:t=e}=i,o=u(("object"==typeof a?a:l(a,i)).tokens,t,n);return function(e={}){const[a,...i]=o(e);if(i.length)throw new TypeError(`Missing parameters: ${i.join(", ")}`);return a}},Lo.match=function(i,n={}){const{decode:t=decodeURIComponent,delimiter:o=e}=n,{regexp:r,keys:s}=d(i,n),c=s.map(e=>!1===t?a:"param"===e.type?t:e=>e.split(o).map(t));return function(e){const a=r.exec(e);if(!a)return!1;const i=a[0],n=Object.create(null);for(let e=1;e<a.length;e++){if(void 0===a[e])continue;const i=s[e-1],t=c[e-1];n[i.name]=t(a[e])}return{path:i,params:n}}},Lo.pathToRegexp=d,Lo.stringify=function(e){return x(e.tokens,0)};const e="/",a=e=>e,i=/^[$_\p{ID_Start}]$/u,n=/^[$\u200c\u200d\p{ID_Continue}]$/u,t=/^[$_\p{ID_Start}][$\u200c\u200d\p{ID_Continue}]*$/u,o="{}()[]+?!";function r(e){return e.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function s(e){return e.replace(/[.+*
|
|||
|
|
/*!
|
|||
|
|
* router
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Ro(){if(qo)return To;qo=1;const a=Oo(),i=Do(),n=e.r()("router:layer"),t=A()("router"),o=/\/+$/,r=/\((?:\?<(.*?)>)?(?!\?)/g;function s(e,a,t){if(!(this instanceof s))return new s(e,a,t);n("new %o",e);const o=a||{};function l(e){if(e instanceof RegExp){const a=[];let i,n=0;for(;i=r.exec(e.source);)a.push({name:i[1]||n++,offset:i.index});return function(i){const n=e.exec(i);if(!n)return!1;const t={};for(let e=1;e<n.length;e++){const i=a[e-1].name,o=c(n[e]);void 0!==o&&(t[i]=o)}return{params:t,path:n[0]}}}return i.match(o.strict?e:p(e),{sensitive:o.sensitive,end:o.end,trailing:!o.strict,decode:c})}this.handle=t,this.keys=[],this.name=t.name||"<anonymous>",this.params=void 0,this.path=void 0,this.slash="/"===e&&!1===o.end,this.matchers=Array.isArray(e)?e.map(l):[l(e)]}function c(e){if("string"!=typeof e||0===e.length)return e;try{return decodeURIComponent(e)}catch(a){throw a instanceof URIError&&(a.message="Failed to decode param '"+e+"'",a.status=400),a}}function p(e){return e instanceof RegExp||"/"===e?e:Array.isArray(e)?e.map(function(e){return p(e)}):String(e).replace(o,"")}return To=s,s.prototype.handleError=function(e,i,n,o){const r=this.handle;if(4!==r.length)return o(e);try{const s=r(e,i,n,o);a(s)&&(s instanceof Promise||t("handlers that are Promise-like are deprecated, use a native Promise instead"),s.then(null,function(e){o(e||new Error("Rejected promise"))}))}catch(e){o(e)}},s.prototype.handleRequest=function(e,i,n){const o=this.handle;if(o.length>3)return n();try{const r=o(e,i,n);a(r)&&(r instanceof Promise||t("handlers that are Promise-like are deprecated, use a native Promise instead"),r.then(null,function(e){n(e||new Error("Rejected promise"))}))}catch(e){n(e)}},s.prototype.match=function(e){let a;if(null!=e){if(this.slash)return this.params={},this.path="",!0;let i=0;for(;!a&&i<this.matchers.length;)a=this.matchers[i](e),i++}return a?(this.params=a.params,this.path=a.path,this.keys=Object.keys(a.params),!0):(this.params=void 0,this.path=void 0,!1)},To}
|
|||
|
|
/*!
|
|||
|
|
* router
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function No(){if(Po)return Ao.exports;Po=1;const a=Oo(),i=Ro(),{METHODS:n}=u,t=no(),o=function(){if(Io)return Bo;Io=1;const a=e.r()("router:route"),i=Ro(),{METHODS:n}=u,t=Array.prototype.slice,o=Array.prototype.flat,r=n.map(e=>e.toLowerCase());function s(e){a("new %o",e),this.path=e,this.stack=[],this.methods=Object.create(null)}return Bo=s,s.prototype._handlesMethod=function(e){if(this.methods._all)return!0;let a="string"==typeof e?e.toLowerCase():e;return"head"!==a||this.methods.head||(a="get"),Boolean(this.methods[a])},s.prototype._methods=function(){const e=Object.keys(this.methods);this.methods.get&&!this.methods.head&&e.push("head");for(let a=0;a<e.length;a++)e[a]=e[a].toUpperCase();return e},s.prototype.dispatch=function(e,a,i){let n=0;const t=this.stack;let o=0;if(0===t.length)return i();let r="string"==typeof e.method?e.method.toLowerCase():e.method;"head"!==r||this.methods.head||(r="get"),e.route=this,function s(c){if(c&&"route"===c)return i();if(c&&"router"===c)return i(c);if(n>=t.length)return i(c);if(++o>100)return setImmediate(s,c);let p,l;for(;!0!==l&&n<t.length;)p=t[n++],l=!p.method||p.method===r;if(!0!==l)return i(c);c?p.handleError(c,e,a,s):p.handleRequest(e,a,s),o=0}()},s.prototype.all=function(e){const a=o.call(t.call(arguments),1/0);if(0===a.length)throw new TypeError("argument handler is required");for(let e=0;e<a.length;e++){const n=a[e];if("function"!=typeof n)throw new TypeError("argument handler must be a function");const t=i("/",{},n);t.method=void 0,this.methods._all=!0,this.stack.push(t)}return this},r.forEach(function(e){s.prototype[e]=function(n){const r=o.call(t.call(arguments),1/0);if(0===r.length)throw new TypeError("argument handler is required");for(let n=0;n<r.length;n++){const t=r[n];if("function"!=typeof t)throw new TypeError("argument handler must be a function");a("%s %s",e,this.path);const o=i("/",{},t);o.method=e,this.methods[e]=!0,this.stack.push(o)}return this}}),Bo}
|
|||
|
|
/*!
|
|||
|
|
* router
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/(),r=e.r()("router"),s=A()("router"),c=Array.prototype.slice,p=Array.prototype.flat,l=n.map(e=>e.toLowerCase());function d(e){if(!(this instanceof d))return new d(e);const a=e||{};function i(e,a,n){i.handle(e,a,n)}return Object.setPrototypeOf(i,this),i.caseSensitive=a.caseSensitive,i.mergeParams=a.mergeParams,i.params={},i.strict=a.strict,i.stack=[],i}function f(e,a){try{return e.match(a)}catch(e){return e}}return Ao.exports=d,Ao.exports.Route=o,d.prototype=function(){},d.prototype.param=function(e,a){if(!e)throw new TypeError("argument name is required");if("string"!=typeof e)throw new TypeError("argument name must be a string");if(!a)throw new TypeError("argument fn is required");if("function"!=typeof a)throw new TypeError("argument fn must be a function");let i=this.params[e];return i||(i=this.params[e]=[]),i.push(a),this},d.prototype.handle=function(e,i,n){if(!n)throw new TypeError("argument callback is required");r("dispatching %s %s",e.method,e.url);let o,c=0;const p=function(e){if("string"!=typeof e||0===e.length||"/"===e[0])return;const a=e.indexOf("?"),i=-1!==a?a:e.length,n=e.substring(0,i).indexOf("://");return-1!==n?e.substring(0,e.indexOf("/",3+n)):void 0}(e.url)||"";let l="";const u=this;let d=!1,m=0;const h={},v=this.stack,b=e.params,x=e.baseUrl||"";let g=function(e,a){const i=new Array(arguments.length-2),n=new Array(arguments.length-2);for(let e=0;e<i.length;e++)i[e]=arguments[e+2],n[e]=a[i[e]];return function(){for(let e=0;e<i.length;e++)a[i[e]]=n[e];return e.apply(this,arguments)}}(n,e,"baseUrl","next","params");var y,w;function k(n){let y="route"===n?null:n;if(d&&(e.url=e.url.slice(1),d=!1),0!==l.length&&(e.baseUrl=x,e.url=p+l+e.url.slice(p.length),l=""),"router"===y)return void setImmediate(g,null);if(c>=v.length)return void setImmediate(g,y);if(++m>100)return setImmediate(k,n);const w=function(e){try{return t(e).pathname}catch(e){return}}(e);if(null==w)return g(y);let j,E,S;for(;!0!==E&&c<v.length;){if(j=v[c++],E=f(j,w),S=j.route,"boolean"!=typeof E&&(y=y||E),!0!==E)continue;if(!S)continue;if(y){E=!1;continue}const a=e.method,i=S._handlesMethod(a);!i&&"OPTIONS"===a&&o&&o.push.apply(o,S._methods()),i||"HEAD"===a||(E=!1)}if(!0!==E)return g(y);S&&(e.route=S),e.params=u.mergeParams?function(e,a){if("object"!=typeof a||!a)return e;const i=Object.assign({},a);if(!(0 in e)||!(0 in a))return Object.assign(i,e);let n=0,t=0;for(;n in e;)n++;for(;t in a;)t++;for(n--;n>=0;n--)e[n+t]=e[n],n<t&&delete e[n];return Object.assign(i,e)}(j.params,b):j.params;const A=j.path;!function(e,i,n,t,o,r){const c=i.keys;if(!c||0===c.length)return r();let p,l,u,d,f=0,m=0;function h(a){return a?r(a):f>=c.length?r():(m=0,p=c[f++],l=t.params[p],u=e[p],d=n[p],void 0!==l&&u?d&&(d.match===l||d.error&&"route"!==d.error)?(t.params[p]=d.value,h(d.error)):(n[p]=d={error:null,match:l,value:l},void v()):h())}function v(e){const i=u[m++];if(d.value=t.params[p],e)return d.error=e,void h(e);if(!i)return h();try{const e=i(t,o,v,l,p);a(e)&&(e instanceof Promise||s("parameters that are Promise-like are deprecated, use a native Promise instead"),e.then(null,function(e){v(e||new Error("Rejected promise"))}))}catch(e){v(e)}}h()}(u.params,j,h,e,i,function(a){a?k(y||a):S?j.handleRequest(e,i,k):function(a,n,t,o){if(0!==t.length){if(t!==o.substring(0,t.length))return void k(n);const a=o[t.length];if(a&&"/"!==a)return void k(n);r("trim prefix (%s) from url %s",t,e.url),l=t,e.url=p+e.url.slice(p.length+l.length),p||"/"===e.url[0]||(e.url="/"+e.url,d=!0),e.baseUrl=x+("/"===l[l.length-1]?l.substring(0,l.length-1):l)}r("%s %s : %s",a.name,t,e.originalUrl),n?a.handleError(n,e,i,k):a.handleRequest(e,i,k)}(j,y,A,w),m=0})}e.next=k,"OPTIONS"===e.method&&(o=[],y=g,w=function(e,a){return function(i,n){if(n||0===a.length)return i(n);!function(e,a,i){try{!function(e,a){const i=Object.create(null);for(let e=0;e<a.length;e++)i[a[e]]=!0;const n=Object.keys(i).sort().join(", ");e.setHeader("Allow",n),e.setHeader("Content-Length",Buffer.byteLength(n)),e.setHeader("Content-Type","text/plain"),e.setHeader("X-Content-Type-Options","nosniff"),e.end(n)}(e,a)}catch(e){i(e)}}
|
|||
|
|
/*!
|
|||
|
|
* express
|
|||
|
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Fo(){return zo||(zo=1,function(a){var i=function(){if(Yt)return Qt;Yt=1;var a=e.r()("finalhandler"),i=Kt(),n=Jt(),t=za(),o=no(),r=T(),s=t.isFinished;return Qt=function(e,c,p){var l=p||{},u=l.env||"production",d=l.onerror;return function(p){var l,f,m;if(p||!c.headersSent){if(p?(m=function(e){return"number"==typeof e.status&&e.status>=400&&e.status<600?e.status:"number"==typeof e.statusCode&&e.statusCode>=400&&e.statusCode<600?e.statusCode:void 0}(p),void 0===m?m=function(e){var a=e.statusCode;return("number"!=typeof a||a<400||a>599)&&(a=500),a}(c):l=function(e){if(e.headers&&"object"==typeof e.headers)return{...e.headers}}(p),f=function(e,a,i){var n;return"production"!==i&&((n=e.stack)||"function"!=typeof e.toString||(n=e.toString())),n||r.message[a]}(p,m,u)):(m=404,f="Cannot "+e.method+" "+i(function(e){try{return o.original(e).pathname}catch(e){return"resource"}}(e))),a("default %s",m),p&&d&&setImmediate(d,p,e,c),c.headersSent)return a("cannot %d after headers sent",m),void(e.socket&&e.socket.destroy());!function(e,a,i,o,c){function p(){var t=function(e){return'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Error</title>\n</head>\n<body>\n<pre>'+n(e).replaceAll("\n","<br>").replaceAll(" "," ")+"</pre>\n</body>\n</html>\n"}(c);a.statusCode=i,e.httpVersionMajor<2&&(a.statusMessage=r.message[i]),a.removeHeader("Content-Encoding"),a.removeHeader("Content-Language"),a.removeHeader("Content-Range");for(const[e,i]of Object.entries(o??{}))a.setHeader(e,i);a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Content-Type","text/html; charset=utf-8"),a.setHeader("Content-Length",Buffer.byteLength(t,"utf8")),"HEAD"!==e.method?a.end(t,"utf8"):a.end()}s(e)?p():(e.unpipe(),t(e,p),e.resume())}(e,c,m,l,f)}else a("cannot 404 after headers sent")}}}
|
|||
|
|
/*!
|
|||
|
|
* express
|
|||
|
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/(),n=e.r()("express:application"),t=function(){if(ao)return eo;ao=1;var a=e.r()("express:view"),i=p,n=l,t=i.dirname,o=i.basename,r=i.extname,s=i.join,u=i.resolve;function d(e,i){var n=i||{};if(this.defaultEngine=n.defaultEngine,this.ext=r(e),this.name=e,this.root=n.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var t=e;if(this.ext||(this.ext="."!==this.defaultEngine[0]?"."+this.defaultEngine:this.defaultEngine,t+=this.ext),!n.engines[this.ext]){var o=this.ext.slice(1);a('require "%s"',o);var s=c.c(o).__express;if("function"!=typeof s)throw new Error('Module "'+o+'" does not provide a view engine.');n.engines[this.ext]=s}this.engine=n.engines[this.ext],this.path=this.lookup(t)}function f(e){a('stat "%s"',e);try{return n.statSync(e)}catch(e){return}}return eo=d,d.prototype.lookup=function(e){var i,n=[].concat(this.root);a('lookup "%s"',e);for(var r=0;r<n.length&&!i;r++){var s=n[r],c=u(s,e),p=t(c),l=o(c);i=this.resolve(p,l)}return i},d.prototype.render=function(e,i){var n=!0;a('render "%s"',this.path),this.engine(this.path,e,function(){if(!n)return i.apply(this,arguments);for(var e=new Array(arguments.length),a=this,t=0;t<arguments.length;t++)e[t]=arguments[t];return process.nextTick(function(){return i.apply(a,e)})}),n=!1},d.prototype.resolve=function(e,a){var i=this.ext,n=s(e,a),t=f(n);return t&&t.isFile()||(t=f(n=s(e,o(a,i),"index"+i)))&&t.isFile()?n:void 0},eo}(),o=u,r=go().methods,s=go().compileETag,d=go().compileQueryParser,f=go().compileTrust,m=p.resolve,h=Eo(),v=No(),b=Array.prototype.slice,x=Array.prototype.flat,g=a.exports={},y="@@symbol:trust_proxy_default";function w(e){"test"!==this.get("env")&&console.error(e.stack||e.toString())}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 null===e&&(e=new v({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")})),e}})},g.defaultConfiguration=function(){var e="production";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,y,{configurable:!0,value:!0}),n("booting in %s mode",e),this.on("mount",function(e){!0===this.settings[y]&&"function"==typeof e.settings["trust proxy fn"]&&(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",t),this.set("views",m("views")),this.set("jsonp callback name","callback"),this.enable("view cache")},g.handle=function(e,a,n){var t=n||i(e,a,{env:this.get("env"),onerror:w.bind(this)});this.enabled("x-powered-by")&&a.setHeader("X-Powered-By","Express"),e.res=a,a.req=e,Object.setPrototypeOf(e,this.request),Object.setPrototypeOf(a,this.response),a.locals||(a.locals=Object.create(null)),this.router.handle(e,a,t)},g.use=function(e){var a=0,i="/";if("function"!=typeof e){for(var t=e;Array.isArray(t)&&0!==t.length;)t=t[0];"function"!=typeof t&&(a=1,i=e)}var o=x.call(b.call(arguments,a),1/0);if(0===o.length)throw new TypeError("app.use() requires a middleware function");var r=this.router;return o.forEach(function(e){if(!e||!e.handle||!e.set)return r.use(i,e);n(".use app under %s",i),e.mountpath=i,e.parent=this,r.use(i,function(a,i,n){var t=a.app;e.handle(a,i,function(e){Object.setPrototypeOf(a,t.request),Object.setPrototypeOf(i,t.response),n(e)})}),e.emit("mount",this)},this),this},g.route=function(e){return this.router.route(e)},g.engine=function(e,a){if("function"!=typeof a)throw new Error("callback function required");var i="."!==e[0]?"."+e:e;return this.engines[i]=a,this},g.param=function(e,a){i
|
|||
|
|
/*!
|
|||
|
|
* negotiator
|
|||
|
|
* Copyright(c) 2012 Federico Romero
|
|||
|
|
* Copyright(c) 2012-2014 Isaac Z. Schlueter
|
|||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function rr(){if(Xo)return Jo;Xo=1;var e=function(){if(Ko)return Uo.exports;Ko=1;var e=function(){if(Mo)return $o.exports;Mo=1,$o.exports=n,$o.exports.preferredCharsets=n;var e=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function a(a,i){var n=e.exec(a);if(!n)return null;var t=n[1],o=1;if(n[2])for(var r=n[2].split(";"),s=0;s<r.length;s++){var c=r[s].trim().split("=");if("q"===c[0]){o=parseFloat(c[1]);break}}return{charset:t,q:o,i}}function i(e,a,i){var n=0;if(a.charset.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==a.charset)return null;return{i,o:a.i,q:a.q,s:n}}function n(e,n){var s=function(e){for(var i=e.split(","),n=0,t=0;n<i.length;n++){var o=a(i[n].trim(),n);o&&(i[t++]=o)}return i.length=t,i}(void 0===e?"*":e||"");if(!n)return s.filter(r).sort(t).map(o);var c=n.map(function(e,a){return function(e,a,n){for(var t={o:-1,q:0,s:0},o=0;o<a.length;o++){var r=i(e,a[o],n);r&&(t.s-r.s||t.q-r.q||t.o-r.o)<0&&(t=r)}return t}(e,s,a)});return c.filter(r).sort(t).map(function(e){return n[c.indexOf(e)]})}function t(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function o(e){return e.charset}function r(e){return e.q>0}return $o.exports}(),a=function(){if(Ho)return Vo.exports;Ho=1,Vo.exports=n,Vo.exports.preferredEncodings=n;var e=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function a(a,i){var n=e.exec(a);if(!n)return null;var t=n[1],o=1;if(n[2])for(var r=n[2].split(";"),s=0;s<r.length;s++){var c=r[s].trim().split("=");if("q"===c[0]){o=parseFloat(c[1]);break}}return{encoding:t,q:o,i}}function i(e,a,i){var n=0;if(a.encoding.toLowerCase()===e.toLowerCase())n|=1;else if("*"!==a.encoding)return null;return{encoding:e,i,o:a.i,q:a.q,s:n}}function n(e,n,s){var c=function(e){for(var n=e.split(","),t=!1,o=1,r=0,s=0;r<n.length;r++){var c=a(n[r].trim(),r);c&&(n[s++]=c,t=t||i("identity",c),o=Math.min(o,c.q||1))}return t||(n[s++]={encoding:"identity",q:o,i:r}),n.length=s,n}(e||""),p=s?function(e,a){if(e.q!==a.q)return a.q-e.q;var i=s.indexOf(e.encoding),n=s.indexOf(a.encoding);return-1===i&&-1===n?a.s-e.s||e.o-a.o||e.i-a.i:-1!==i&&-1!==n?i-n:-1===i?1:-1}:t;if(!n)return c.filter(r).sort(p).map(o);var l=n.map(function(e,a){return function(e,a,n){for(var t={encoding:e,o:-1,q:0,s:0},o=0;o<a.length;o++){var r=i(e,a[o],n);r&&(t.s-r.s||t.q-r.q||t.o-r.o)<0&&(t=r)}return t}(e,c,a)});return l.filter(r).sort(p).map(function(e){return n[l.indexOf(e)]})}function t(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i}function o(e){return e.encoding}function r(e){return e.q>0}return Vo.exports}(),i=function(){if(Wo)return Go.exports;Wo=1,Go.exports=n,Go.exports.preferredLanguages=n;var e=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function a(a,i){var n=e.exec(a);if(!n)return null;var t=n[1],o=n[2],r=t;o&&(r+="-"+o);var s=1;if(n[3])for(var c=n[3].split(";"),p=0;p<c.length;p++){var l=c[p].split("=");"q"===l[0]&&(s=parseFloat(l[1]))}return{prefix:t,suffix:o,q:s,i,full:r}}function i(e,i,n){var t=a(e);if(!t)return null;var o=0;if(i.full.toLowerCase()===t.full.toLowerCase())o|=4;else if(i.prefix.toLowerCase()===t.full.toLowerCase())o|=2;else if(i.full.toLowerCase()===t.prefix.toLowerCase())o|=1;else if("*"!==i.full)return null;return{i:n,o:i.i,q:i.q,s:o}}function n(e,n){var s=function(e){for(var i=e.split(","),n=0,t=0;n<i.length;n++){var o=a(i[n].trim(),n);o&&(i[t++]=o)}return i.length=t,i}(void 0===e?"*":e||"");if(!n)return s.filter(r).sort(t).map(o);var c=n.map(function(e,a){return function(e,a,n){for(var t={o:-1,q:0,s:0},o=0;o<a.length;o++){var r=i(e,a[o],n);r&&(t.s-r.s||t.q-r.q||t.o-r.o)<0&&(t=r)}return t}(e,s,a)});return c.filter(r).sort(t).map(function(e){return n[c.indexOf(e)]})}function t(e,a){return a.q-e.q||a.s-e.s||e.o-a.o||e.i-a.i||0}function o(e){return e.full}function r(e){return e.q>0}return Go.exports}(),n=or();function t(e){if(!(this instanceof t))return new t(e);this.request=e}return Uo.exports=t,Uo.exports.Negotiator=t,t.prototype.charset=function(e){var a=this.charsets(e);return a&&a[0]},t.prototype.charsets=function(a){return e(this.request.headers["accept-charset"],a)},t.prototype.encoding=function(e,a){var i=this.encodings(e,a);return i&&i[0]},t.prototype.encoding
|
|||
|
|
/*!
|
|||
|
|
* accepts
|
|||
|
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/(),a=Za();function i(a){if(!(this instanceof i))return new i(a);this.headers=a.headers,this.negotiator=new e(a)}function n(e){return-1===e.indexOf("/")?a.lookup(e):e}function t(e){return"string"==typeof e}return Jo=i,i.prototype.type=i.prototype.types=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}if(!a||0===a.length)return this.negotiator.mediaTypes();if(!this.headers.accept)return a[0];var o=a.map(n),r=this.negotiator.mediaTypes(o.filter(t))[0];return!!r&&a[o.indexOf(r)]},i.prototype.encoding=i.prototype.encodings=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.encodings(a)[0]||!1:this.negotiator.encodings()},i.prototype.charset=i.prototype.charsets=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.charsets(a)[0]||!1:this.negotiator.charsets()},i.prototype.lang=i.prototype.langs=i.prototype.language=i.prototype.languages=function(e){var a=e;if(a&&!Array.isArray(a)){a=new Array(arguments.length);for(var i=0;i<a.length;i++)a[i]=arguments[i]}return a&&0!==a.length?this.negotiator.languages(a)[0]||!1:this.negotiator.languages()},Jo}
|
|||
|
|
/*!
|
|||
|
|
* fresh
|
|||
|
|
* Copyright(c) 2012 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2016-2017 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function sr(){if(Yo)return Qo;Yo=1;var e=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;function a(e){var a=e&&Date.parse(e);return"number"==typeof a?a:NaN}return Qo=function(i,n){var t=i["if-modified-since"],o=i["if-none-match"];if(!t&&!o)return!1;var r=i["cache-control"];if(r&&e.test(r))return!1;if(o){if("*"===o)return!0;var s=n.etag;if(!s)return!1;for(var c=function(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return i.push(e.substring(n,a)),i}(o),p=0;p<c.length;p++){var l=c[p];if(l===s||l==="W/"+s||"W/"+l===s)return!0}return!1}if(t){var u=n["last-modified"];if(!(u&&a(u)<=a(t)))return!1}return!0}}
|
|||
|
|
/*!
|
|||
|
|
* range-parser
|
|||
|
|
* Copyright(c) 2012-2014 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2015-2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function cr(){if(ar)return er;function e(e,a){return{start:e.start,end:e.end,index:a}}function a(e){return{start:e.start,end:e.end}}function i(e,a){return e.index-a.index}function n(e,a){return e.start-a.start}return ar=1,er=function(t,o,r){if("string"!=typeof o)throw new TypeError("argument str must be a string");var s=o.indexOf("=");if(-1===s)return-2;var c=o.slice(s+1).split(","),p=[];p.type=o.slice(0,s);for(var l=0;l<c.length;l++){var u=c[l].split("-"),d=parseInt(u[0],10),f=parseInt(u[1],10);isNaN(d)?(d=t-f,f=t-1):isNaN(f)&&(f=t-1),f>t-1&&(f=t-1),isNaN(d)||isNaN(f)||d>f||d<0||p.push({start:d,end:f})}return p.length<1?-1:r&&r.combine?function(t){for(var o=t.map(e).sort(n),r=0,s=1;s<o.length;s++){var c=o[s],p=o[r];c.start>p.end+1?o[++r]=c:c.end>p.end&&(p.end=c.end,p.index=Math.min(p.index,c.index))}o.length=r+1;var l=o.sort(i).map(a);return l.type=t.type,l}(p):p},er}
|
|||
|
|
/*!
|
|||
|
|
* express
|
|||
|
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/var pr,lr={exports:{}};
|
|||
|
|
/*!
|
|||
|
|
* content-disposition
|
|||
|
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function ur(){if(pr)return lr.exports;pr=1,lr.exports=function(a,i){var t=i||{},r=t.type||"attachment",s=function(a,i){if(void 0!==a){var t={};if("string"!=typeof a)throw new TypeError("filename must be a string");if(void 0===i&&(i=!0),"string"!=typeof i&&"boolean"!=typeof i)throw new TypeError("fallback must be a string or boolean");if("string"==typeof i&&o.test(i))throw new TypeError("fallback must be ISO-8859-1 string");var r=e(a),s=p.test(r),c="string"!=typeof i?i&&m(r):e(i),l="string"==typeof c&&c!==r;return(l||!s||n.test(r))&&(t["filename*"]=r),(s||l)&&(t.filename=l?c:r),t}}(a,t.fallback);return function(e){var a=e.parameters,i=e.type;if(!i||"string"!=typeof i||!l.test(i))throw new TypeError("invalid type");var n=String(i).toLowerCase();if(a&&"object"==typeof a)for(var t,o=Object.keys(a).sort(),r=0;r<o.length;r++){var s="*"===(t=o[r]).slice(-1)?x(a[t]):b(a[t]);n+="; "+t+"="+s}return n}(new g(r,s))},lr.exports.parse=function(e){if(!e||"string"!=typeof e)throw new TypeError("argument string is required");var a=d.exec(e);if(!a)throw new TypeError("invalid type format");var i,n,t=a[0].length,o=a[1].toLowerCase(),s=[],p={};for(t=c.lastIndex=";"===a[0].slice(-1)?t-1:t;a=c.exec(e);){if(a.index!==t)throw new TypeError("invalid parameter format");if(t+=a[0].length,i=a[1].toLowerCase(),n=a[2],-1!==s.indexOf(i))throw new TypeError("invalid duplicate parameter");s.push(i),i.indexOf("*")+1!==i.length?"string"!=typeof p[i]&&('"'===n[0]&&(n=n.slice(1,-1).replace(r,"$1")),p[i]=n):(i=i.slice(0,-1),n=f(n),p[i]=n)}if(-1!==t&&t!==e.length)throw new TypeError("invalid parameter format");return new g(o,p)};var e=a.basename,i=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,n=/%[0-9A-Fa-f]{2}/,t=/%([0-9A-Fa-f]{2})/g,o=/[^\x20-\x7e\xa0-\xff]/g,r=/\\([\u0000-\u007f])/g,s=/([\\"])/g,c=/;[\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,p=/^[\x20-\x7e\x80-\xff]+$/,l=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,u=/^([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!#$&+.^_`|~-])+)$/,d=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function f(e){var a=u.exec(e);if(!a)throw new TypeError("invalid extended field value");var i,n=a[1].toLowerCase(),o=a[2].replace(t,h);switch(n){case"iso-8859-1":i=m(o);break;case"utf-8":case"utf8":i=Buffer.from(o,"binary").toString("utf8");break;default:throw new TypeError("unsupported charset in extended field")}return i}function m(e){return String(e).replace(o,"?")}function h(e,a){return String.fromCharCode(parseInt(a,16))}function v(e){return"%"+String(e).charCodeAt(0).toString(16).toUpperCase()}function b(e){return'"'+String(e).replace(s,"\\$1")+'"'}function x(e){var a=String(e);return"UTF-8''"+encodeURIComponent(a).replace(i,v)}function g(e,a){this.type=e,this.parameters=a}return lr.exports}var dr,fr={};function mr(){return dr||(dr=1,a=d,(e=fr).sign=function(e,i){if("string"!=typeof e)throw new TypeError("Cookie value must be provided as a string.");if(null==i)throw new TypeError("Secret key must be provided.");return e+"."+a.createHmac("sha256",i).update(e).digest("base64").replace(/\=+$/,"")},e.unsign=function(i,n){if("string"!=typeof i)throw new TypeError("Signed cookie string must be provided.");if(null==n)throw new TypeError("Secret key must be provided.");var t=i.slice(0,i.lastIndexOf(".")),o=e.sign(t,n),r=Buffer.from(o),s=Buffer.from(i);return!(r.length!==s.length||!a.timingSafeEqual(r,s))&&t}),fr;var e,a}var hr,vr,br,xr={};
|
|||
|
|
/*!
|
|||
|
|
* cookie
|
|||
|
|
* Copyright(c) 2012-2014 Roman Shtylman
|
|||
|
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function gr(){if(hr)return xr;hr=1,xr.parse=function(e,i){if("string"!=typeof e)throw new TypeError("argument str must be a string");var n={},t=e.length;if(t<2)return n;var o=i&&i.decode||c,l=0,u=0,d=0;do{if(-1===(u=e.indexOf("=",l)))break;if(-1===(d=e.indexOf(";",l)))d=t;else if(u>d){l=e.lastIndexOf(";",u-1)+1;continue}var f=r(e,l,u),m=s(e,u,f),h=e.slice(f,m);if(!a.call(n,h)){var v=r(e,u+1,d),b=s(e,d,v);34===e.charCodeAt(v)&&34===e.charCodeAt(b-1)&&(v++,b--);var x=e.slice(v,b);n[h]=p(x,o)}l=d+1}while(l<t);return n},xr.serialize=function(a,r,s){var c=s&&s.encode||encodeURIComponent;if("function"!=typeof c)throw new TypeError("option encode is invalid");if(!i.test(a))throw new TypeError("argument name is invalid");var p=c(r);if(!n.test(p))throw new TypeError("argument val is invalid");var l=a+"="+p;if(!s)return l;if(null!=s.maxAge){var u=Math.floor(s.maxAge);if(!isFinite(u))throw new TypeError("option maxAge is invalid");l+="; Max-Age="+u}if(s.domain){if(!t.test(s.domain))throw new TypeError("option domain is invalid");l+="; Domain="+s.domain}if(s.path){if(!o.test(s.path))throw new TypeError("option path is invalid");l+="; Path="+s.path}if(s.expires){var d=s.expires;if(!function(a){return"[object Date]"===e.call(a)}(d)||isNaN(d.valueOf()))throw new TypeError("option expires is invalid");l+="; Expires="+d.toUTCString()}if(s.httpOnly&&(l+="; HttpOnly"),s.secure&&(l+="; Secure"),s.partitioned&&(l+="; Partitioned"),s.priority)switch("string"==typeof s.priority?s.priority.toLowerCase():s.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}if(s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.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 new TypeError("option sameSite is invalid")}return l};var e=Object.prototype.toString,a=Object.prototype.hasOwnProperty,i=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,n=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,t=/^([.]?[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 r(e,a,i){do{var n=e.charCodeAt(a);if(32!==n&&9!==n)return a}while(++a<i);return i}function s(e,a,i){for(;a>i;){var n=e.charCodeAt(--a);if(32!==n&&9!==n)return a+1}return i}function c(e){return-1!==e.indexOf("%")?decodeURIComponent(e):e}function p(e,a){try{return a(e)}catch(a){return e}}return xr}
|
|||
|
|
/*!
|
|||
|
|
* send
|
|||
|
|
* Copyright(c) 2012 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2014-2022 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function yr(){if(br)return vr;br=1;var i=N(),n=e.r()("send"),t=Kt(),r=Jt(),s=so(),c=sr(),p=f,l=Za(),u=e.n(),d=za(),m=cr(),h=a,v=T(),x=b,g=o,y=h.extname,w=h.join,k=h.normalize,j=h.resolve,E=h.sep,S=/^ *bytes=/,A=/(?:^|[\\/])\.\.(?:[\\/]|$)/;function _(e,a,i){x.call(this);var n=i||{};if(this.options=n,this.path=a,this.req=e,this._acceptRanges=void 0===n.acceptRanges||Boolean(n.acceptRanges),this._cacheControl=void 0===n.cacheControl||Boolean(n.cacheControl),this._etag=void 0===n.etag||Boolean(n.etag),this._dotfiles=void 0!==n.dotfiles?n.dotfiles:"ignore","ignore"!==this._dotfiles&&"allow"!==this._dotfiles&&"deny"!==this._dotfiles)throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._extensions=void 0!==n.extensions?B(n.extensions,"extensions option"):[],this._immutable=void 0!==n.immutable&&Boolean(n.immutable),this._index=void 0!==n.index?B(n.index,"index option"):["index.html"],this._lastModified=void 0===n.lastModified||Boolean(n.lastModified),this._maxage=n.maxAge||n.maxage,this._maxage="string"==typeof this._maxage?u(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),31536e6),this._root=n.root?j(n.root):null}function O(e,a,i){return e+" "+(i?i.start+"-"+i.end:"*")+"/"+a}function C(e,a){return'<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>'+e+"</title>\n</head>\n<body>\n<pre>"+a+"</pre>\n</body>\n</html>\n"}function q(e,a){return("function"!=typeof e.listenerCount?e.listeners(a).length:e.listenerCount(a))>0}function B(e,a){for(var i=[].concat(e||[]),n=0;n<i.length;n++)if("string"!=typeof i[n])throw new TypeError(a+" must be array of strings or false");return i}function I(e){var a=e&&Date.parse(e);return"number"==typeof a?a:NaN}return vr=function(e,a,i){return new _(e,a,i)},g.inherits(_,x),_.prototype.error=function(e,a){if(q(this,"error"))return this.emit("error",function(e,a){return a?a instanceof Error?i(e,a,{expose:!1}):i(e,a):i(e)}(e,a));var n=this.res,t=v.message[e]||String(e),o=C("Error",r(t));!function(e){for(const a of e.getHeaderNames())e.removeHeader(a)}(n),a&&a.headers&&function(e,a){for(var i=Object.keys(a),n=0;n<i.length;n++){var t=i[n];e.setHeader(t,a[t])}}(n,a.headers),n.statusCode=e,n.setHeader("Content-Type","text/html; charset=UTF-8"),n.setHeader("Content-Length",Buffer.byteLength(o)),n.setHeader("Content-Security-Policy","default-src 'none'"),n.setHeader("X-Content-Type-Options","nosniff"),n.end(o)},_.prototype.hasTrailingSlash=function(){return"/"===this.path[this.path.length-1]},_.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"]},_.prototype.isPreconditionFailure=function(){var e=this.req,a=this.res,i=e.headers["if-match"];if(i){var n=a.getHeader("ETag");return!n||"*"!==i&&function(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:n!==a&&i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return n!==a&&i.push(e.substring(n,a)),i}(i).every(function(e){return e!==n&&e!=="W/"+n&&"W/"+e!==n})}var t=I(e.headers["if-unmodified-since"]);if(!isNaN(t)){var o=I(a.getHeader("Last-Modified"));return isNaN(o)||o>t}return!1},_.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")},_.prototype.notModified=function(){var e=this.res;n("not modified"),this.removeContentHeaderFields(),e.statusCode=304,e.end()},_.prototype.headersAlreadySent=function(){var e=new Error("Can't set headers after they are sent.");n("headers already sent"),this.error(500,e)},_.prototype.isCachable=function(){var e=this.res.statusCode;return e>=200&&e<300||304===e},_.prototype.onStatError=function(e){switch(e.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,e);break;default:this.error(500,e)}},_.prototype.isFresh=function(){return c(this.req.he
|
|||
|
|
/*!
|
|||
|
|
* vary
|
|||
|
|
* Copyright(c) 2014-2017 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/function Tr(){if(wr)return Cr.exports;wr=1,Cr.exports=function(e,i){if(!e||!e.getHeader||!e.setHeader)throw new TypeError("res argument is required");var n=e.getHeader("Vary")||"",t=Array.isArray(n)?n.join(", "):String(n);(n=a(t,i))&&e.setHeader("Vary",n)},Cr.exports.append=a;var e=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function a(a,n){if("string"!=typeof a)throw new TypeError("header argument is required");if(!n)throw new TypeError("field argument is required");for(var t=Array.isArray(n)?n:i(String(n)),o=0;o<t.length;o++)if(!e.test(t[o]))throw new TypeError("field argument contains an invalid header name");if("*"===a)return a;var r=a,s=i(a.toLowerCase());if(-1!==t.indexOf("*")||-1!==s.indexOf("*"))return"*";for(var c=0;c<t.length;c++){var p=t[c].toLowerCase();-1===s.indexOf(p)&&(s.push(p),r=r?r+", "+t[c]:t[c])}return r}function i(e){for(var a=0,i=[],n=0,t=0,o=e.length;t<o;t++)switch(e.charCodeAt(t)){case 32:n===a&&(n=a=t+1);break;case 44:i.push(e.substring(n,a)),n=a=t+1;break;default:a=t+1}return i.push(e.substring(n,a)),i}return Cr.exports}
|
|||
|
|
/*!
|
|||
|
|
* express
|
|||
|
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/var qr=Or?_r:(Or=1,Ar||(Ar=1,function(e,i){var n=Ut(),t=r.EventEmitter,o=$t(),c=Fo(),l=No(),d=function(){if(nr)return ir;nr=1;var e=rr(),a=v.isIP,i=Qn(),n=u,t=sr(),o=cr(),r=no(),s=xo(),c=Object.create(n.IncomingMessage.prototype);function p(e,a,i){Object.defineProperty(e,a,{configurable:!0,enumerable:!0,get:i})}return ir=c,c.get=c.header=function(e){if(!e)throw new TypeError("name argument is required to req.get");if("string"!=typeof e)throw new TypeError("name must be a string to req.get");var a=e.toLowerCase();switch(a){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[a]}},c.accepts=function(){var a=e(this);return a.types.apply(a,arguments)},c.acceptsEncodings=function(){var a=e(this);return a.encodings.apply(a,arguments)},c.acceptsCharsets=function(){var a=e(this);return a.charsets.apply(a,arguments)},c.acceptsLanguages=function(...a){return e(this).languages(...a)},c.range=function(e,a){var i=this.get("Range");if(i)return o(e,i,a)},p(c,"query",function(){var e=this.app.get("query parser fn");return e?e(r(this).query):Object.create(null)}),c.is=function(e){var a=e;if(!Array.isArray(e)){a=new Array(arguments.length);for(var n=0;n<a.length;n++)a[n]=arguments[n]}return i(this,a)},p(c,"protocol",function(){var e=this.socket.encrypted?"https":"http";if(!this.app.get("trust proxy fn")(this.socket.remoteAddress,0))return e;var a=this.get("X-Forwarded-Proto")||e,i=a.indexOf(",");return-1!==i?a.substring(0,i).trim():a.trim()}),p(c,"secure",function(){return"https"===this.protocol}),p(c,"ip",function(){var e=this.app.get("trust proxy fn");return s(this,e)}),p(c,"ips",function(){var e=this.app.get("trust proxy fn"),a=s.all(this,e);return a.reverse().pop(),a}),p(c,"subdomains",function(){var e=this.hostname;if(!e)return[];var i=this.app.get("subdomain offset");return(a(e)?[e]:e.split(".").reverse()).slice(i)}),p(c,"path",function(){return r(this).pathname}),p(c,"host",function(){var e=this.app.get("trust proxy fn"),a=this.get("X-Forwarded-Host");return a&&e(this.socket.remoteAddress,0)?-1!==a.indexOf(",")&&(a=a.substring(0,a.indexOf(",")).trimRight()):a=this.get("Host"),a||void 0}),p(c,"hostname",function(){var e=this.host;if(e){var a="["===e[0]?e.indexOf("]")+1:0,i=e.indexOf(":",a);return-1!==i?e.substring(0,i):e}}),p(c,"fresh",function(){var e=this.method,a=this.res,i=a.statusCode;return("GET"===e||"HEAD"===e)&&(i>=200&&i<300||304===i)&&t(this.headers,{etag:a.get("ETag"),"last-modified":a.get("Last-Modified")})}),p(c,"stale",function(){return!this.fresh}),p(c,"xhr",function(){return"xmlhttprequest"===(this.get("X-Requested-With")||"").toLowerCase()}),ir}(),f=function(){if(jr)return kr;jr=1;var e=ur(),a=N(),i=A()("express"),n=Kt(),t=Jt(),o=u,r=za(),s=Za(),c=p,l=p.isAbsolute,d=T(),f=mr().sign,m=go().normalizeType,v=go().normalizeTypes,b=go().setCharset,x=gr(),g=yr(),y=c.extname,w=c.resolve,k=Tr();const{Buffer:j}=h;var E=Object.create(o.ServerResponse.prototype);function S(e,a,i,n){var t=a||i?JSON.stringify(e,a,i):JSON.stringify(e);return n&&"string"==typeof t&&(t=t.replace(/[<>&]/g,function(e){switch(e.charCodeAt(0)){case 60:return"\\u003c";case 62:return"\\u003e";case 38:return"\\u0026";default:return e}})),t}return kr=E,E.status=function(e){if(!Number.isInteger(e))throw new TypeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be an integer.`);if(e<100||e>999)throw new RangeError(`Invalid status code: ${JSON.stringify(e)}. Status code must be greater than 99 and less than 1000.`);return this.statusCode=e,this},E.links=function(e){var a=this.get("Link")||"";return a&&(a+=", "),this.set("Link",a+Object.keys(e).map(function(a){return Array.isArray(e[a])?e[a].map(function(e){return`<${e}>; rel="${a}"`}).join(", "):`<${e[a]}>; rel="${a}"`}).join(", "))},E.send=function(e){var a,i,n=e,t=this.req,o=this.app;switch(typeof n){case"string":this.get("Content-Type")||this.type("html");break;case"boolean":case"number":case"object":if(null===n)n="";else{if(!ArrayBuffer.isView(n))return this.json(n);this.get("Content-Type")||this.type("bin")}}"string"==typeof n&&(
|
|||
|
|
/*!
|
|||
|
|
* serve-static
|
|||
|
|
* Copyright(c) 2010 Sencha Inc.
|
|||
|
|
* Copyright(c) 2011 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2014-2016 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/();(i=e.exports=function(){var e=function(a,i,n){e.handle(a,i,n)};return o(e,t.prototype,!1),o(e,c,!1),e.request=Object.create(d,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.response=Object.create(f,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.init(),e}).application=c,i.request=d,i.response=f,i.Route=l.Route,i.Router=l,i.json=n.json,i.raw=n.raw,i.static=function(){if(Sr)return Er;Sr=1;var e=Kt(),i=Jt(),n=no(),t=a.resolve,o=yr(),r=s;return Er=function(a,s){if(!a)throw new TypeError("root path required");if("string"!=typeof a)throw new TypeError("root path must be a string");var c=Object.create(s||null),p=!1!==c.fallthrough,l=!1!==c.redirect,u=c.setHeaders;if(u&&"function"!=typeof u)throw new TypeError("option setHeaders must be function");c.maxage=c.maxage||c.maxAge||0,c.root=t(a);var d=l?function(a){if(this.hasTrailingSlash())this.error(404);else{var t=n.original(this.req);t.path=null,t.pathname=function(e){for(var a=0;a<e.length&&47===e.charCodeAt(a);a++);return a>1?"/"+e.substr(a):e}(t.pathname+"/");var o=e(r.format(t)),s='<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n<title>Redirecting</title>\n</head>\n<body>\n<pre>Redirecting to '+i(o)+"</pre>\n</body>\n</html>\n";a.statusCode=301,a.setHeader("Content-Type","text/html; charset=UTF-8"),a.setHeader("Content-Length",Buffer.byteLength(s)),a.setHeader("Content-Security-Policy","default-src 'none'"),a.setHeader("X-Content-Type-Options","nosniff"),a.setHeader("Location",o),a.end(s)}}:function(){this.error(404)};return function(e,a,i){if("GET"!==e.method&&"HEAD"!==e.method)return p?i():(a.statusCode=405,a.setHeader("Allow","GET, HEAD"),a.setHeader("Content-Length","0"),void a.end());var t=!p,r=n.original(e),s=n(e).pathname;"/"===s&&"/"!==r.pathname.substr(-1)&&(s="");var l=o(e,s,c);l.on("directory",d),u&&l.on("headers",u),p&&l.on("file",function(){t=!0}),l.on("error",function(e){!t&&e.statusCode<500?i():i(e)}),l.pipe(a)}},Er}
|
|||
|
|
/*!
|
|||
|
|
* express
|
|||
|
|
* Copyright(c) 2009-2013 TJ Holowaychuk
|
|||
|
|
* Copyright(c) 2013 Roman Shtylman
|
|||
|
|
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|||
|
|
* MIT Licensed
|
|||
|
|
*/(),i.text=n.text,i.urlencoded=n.urlencoded}(j,j.exports)),_r=j.exports),Br=x({__proto__:null,default:e.g(qr)},[qr]);exports.i=Br;
|