@glodon-aiot/agent-cli-sdk 3.0.9 → 3.0.10-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/agent-cli-sdk.js +34022 -0
- package/cdn/agent-cli-sdk.umd.cjs +145 -0
- package/cdn/src/AgentPlugin.d.ts +17 -0
- package/cdn/src/AgentSession.d.ts +9 -0
- package/cdn/src/BotClient.d.ts +48 -0
- package/cdn/src/Config.d.ts +32 -0
- package/cdn/src/DialogSession.d.ts +22 -0
- package/cdn/src/EventBus.d.ts +23 -0
- package/cdn/src/Logger.d.ts +12 -0
- package/cdn/src/PayloadTypes.d.ts +84 -0
- package/cdn/src/Session.d.ts +209 -0
- package/cdn/src/api/fetchEventSource/fetch.d.ts +44 -0
- package/cdn/src/api/fetchEventSource/index.d.ts +1 -0
- package/cdn/src/api/fetchEventSource/parse.d.ts +36 -0
- package/cdn/src/api/index.d.ts +2 -0
- package/cdn/src/index.d.ts +5 -0
- package/cdn/src/utils.d.ts +4 -0
- package/dist/es/AgentPlugin.mjs +20 -0
- package/dist/es/AgentSession.mjs +246 -0
- package/dist/es/BotClient.mjs +236 -0
- package/dist/es/Config.mjs +34 -0
- package/dist/es/DialogSession.mjs +274 -0
- package/dist/es/EventBus.mjs +64 -0
- package/dist/es/Logger.mjs +31 -0
- package/dist/es/PayloadTypes.mjs +4 -0
- package/dist/es/Session.mjs +690 -0
- package/dist/es/api/fetchEventSource/fetch.mjs +112 -0
- package/dist/es/api/fetchEventSource/parse.mjs +97 -0
- package/dist/es/api/index.mjs +41 -0
- package/dist/es/index.mjs +11 -0
- package/dist/es/node_modules/@socket.io/component-emitter/lib/esm/index.mjs +54 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/has-cors.mjs +9 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/parseqs.mjs +18 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/parseuri.mjs +24 -0
- package/dist/es/node_modules/engine.io-client/build/esm/contrib/yeast.mjs +19 -0
- package/dist/es/node_modules/engine.io-client/build/esm/globalThis.browser.mjs +4 -0
- package/dist/es/node_modules/engine.io-client/build/esm/socket.mjs +317 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transport.mjs +113 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/index.mjs +11 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/polling.mjs +273 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.mjs +8 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/websocket.mjs +87 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/webtransport.mjs +52 -0
- package/dist/es/node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.mjs +21 -0
- package/dist/es/node_modules/engine.io-client/build/esm/util.mjs +23 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/commons.mjs +21 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.mjs +14 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/decodePacket.browser.mjs +39 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/encodePacket.browser.mjs +28 -0
- package/dist/es/node_modules/engine.io-parser/build/esm/index.mjs +105 -0
- package/dist/es/node_modules/js-base64/base64.mjs +31 -0
- package/dist/es/node_modules/socket.io-client/build/esm/contrib/backo2.mjs +26 -0
- package/dist/es/node_modules/socket.io-client/build/esm/index.mjs +25 -0
- package/dist/es/node_modules/socket.io-client/build/esm/manager.mjs +242 -0
- package/dist/es/node_modules/socket.io-client/build/esm/on.mjs +8 -0
- package/dist/es/node_modules/socket.io-client/build/esm/socket.mjs +608 -0
- package/dist/es/node_modules/socket.io-client/build/esm/url.mjs +19 -0
- package/dist/es/node_modules/socket.io-parser/build/esm/binary.mjs +52 -0
- package/dist/es/node_modules/socket.io-parser/build/esm/index.mjs +203 -0
- package/dist/es/node_modules/socket.io-parser/build/esm/is-binary.mjs +26 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/native.mjs +6 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/rng.mjs +10 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/stringify.mjs +9 -0
- package/dist/es/node_modules/uuid/dist/esm-browser/v4.mjs +19 -0
- package/dist/es/utils.mjs +11 -0
- package/dist/lib/index.js +4 -0
- package/dist/src/AgentSession.d.ts +2 -2
- package/dist/src/BotClient.d.ts +2 -2
- package/dist/src/DialogSession.d.ts +2 -2
- package/dist/src/Session.d.ts +9 -11
- package/dist/src/api/fetchEventSource/fetch.d.ts +1 -1
- package/dist/src/api/fetchEventSource/index.d.ts +1 -1
- package/package.json +18 -11
- package/dist/agent-cli-sdk.js +0 -33144
- package/dist/agent-cli-sdk.umd.cjs +0 -140
- package/dist/src/__ tests __/AgentClient.spec.d.ts +0 -1
- package/dist/src/__ tests __/AgentSession.spec.d.ts +0 -1
- package/dist/src/__ tests __/DialogClient.spec.d.ts +0 -1
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
(function(F,v){typeof exports=="object"&&typeof module<"u"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(F=typeof globalThis<"u"?globalThis:F||self,v(F.AgentClientSDK={}))})(this,function(exports){"use strict";class Logger{constructor(v,d=!1){Object.defineProperty(this,"prefix",{enumerable:!0,configurable:!0,writable:!0,value:v}),Object.defineProperty(this,"open",{enumerable:!0,configurable:!0,writable:!0,value:d})}disable(){this.open=!1}enable(){this.open=!0}log(...v){!this.open&&!Logger.debug||console.log(this.prefix,...v)}info(...v){!this.open&&!Logger.debug||console.info(`%c ${this.prefix} %o`,"color:#0f0;",...v)}error(...v){!this.open&&!Logger.debug||console.error(this.prefix,...v)}warn(...v){!this.open&&!Logger.debug||console.warn(this.prefix,...v)}}Object.defineProperty(Logger,"debug",{enumerable:!0,configurable:!0,writable:!0,value:!1});const Logger$1=Logger,logger$5=new Logger$1("[Config] ");var ApiUrl;(function(F){F.dev="https://aiot-dev.glodon.com/api/cvforcepd",F.test="https://aiot-dev.glodon.com/api/cvforce",F.prod="https://copilot.glodon.com/api/cvforce",F.local="http://localhost:3000/api/cvforcepd"})(ApiUrl||(ApiUrl={})),exports.configuration={debug:!1,env:"prod",apiRoot:ApiUrl.prod,applicationId:"",plugins:{}};function configure(F){Logger$1.debug=(F==null?void 0:F.debug)||!1,exports.configuration=Object.assign(Object.assign(Object.assign({},exports.configuration),F),{apiRoot:(F==null?void 0:F.apiRoot)||exports.configuration.apiRoot||(F!=null&&F.env?ApiUrl[F.env||"prod"]:exports.configuration.apiRoot)}),Logger$1.debug&&logger$5.log("updated",exports.configuration)}/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */function __rest(F,v){var d={};for(var T in F)Object.prototype.hasOwnProperty.call(F,T)&&v.indexOf(T)<0&&(d[T]=F[T]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,T=Object.getOwnPropertySymbols(F);A<T.length;A++)v.indexOf(T[A])<0&&Object.prototype.propertyIsEnumerable.call(F,T[A])&&(d[T[A]]=F[T[A]]);return d}function __awaiter(F,v,d,T){function A(O){return O instanceof d?O:new d(function(q){q(O)})}return new(d||(d=Promise))(function(O,q){function p(S){try{w(T.next(S))}catch(_){q(_)}}function j(S){try{w(T.throw(S))}catch(_){q(_)}}function w(S){S.done?O(S.value):A(S.value).then(p,j)}w((T=T.apply(F,v||[])).next())})}const _hasBuffer=typeof Buffer=="function",_TD=typeof TextDecoder=="function"?new TextDecoder:void 0;typeof TextEncoder=="function"&&new TextEncoder;const b64ch="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",b64chs=Array.prototype.slice.call(b64ch),b64tab=(F=>{let v={};return F.forEach((d,T)=>v[d]=T),v})(b64chs),b64re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,_fromCC=String.fromCharCode.bind(String),_U8Afrom=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):F=>new Uint8Array(Array.prototype.slice.call(F,0)),_tidyB64=F=>F.replace(/[^A-Za-z0-9\+\/]/g,""),re_btou=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,cb_btou=F=>{switch(F.length){case 4:var v=(7&F.charCodeAt(0))<<18|(63&F.charCodeAt(1))<<12|(63&F.charCodeAt(2))<<6|63&F.charCodeAt(3),d=v-65536;return _fromCC((d>>>10)+55296)+_fromCC((d&1023)+56320);case 3:return _fromCC((15&F.charCodeAt(0))<<12|(63&F.charCodeAt(1))<<6|63&F.charCodeAt(2));default:return _fromCC((31&F.charCodeAt(0))<<6|63&F.charCodeAt(1))}},btou=F=>F.replace(re_btou,cb_btou),atobPolyfill=F=>{if(F=F.replace(/\s+/g,""),!b64re.test(F))throw new TypeError("malformed base64.");F+="==".slice(2-(F.length&3));let v,d="",T,A;for(let O=0;O<F.length;)v=b64tab[F.charAt(O++)]<<18|b64tab[F.charAt(O++)]<<12|(T=b64tab[F.charAt(O++)])<<6|(A=b64tab[F.charAt(O++)]),d+=T===64?_fromCC(v>>16&255):A===64?_fromCC(v>>16&255,v>>8&255):_fromCC(v>>16&255,v>>8&255,v&255);return d},_atob=typeof atob=="function"?F=>atob(_tidyB64(F)):_hasBuffer?F=>Buffer.from(F,"base64").toString("binary"):atobPolyfill,_toUint8Array=_hasBuffer?F=>_U8Afrom(Buffer.from(F,"base64")):F=>_U8Afrom(_atob(F).split("").map(v=>v.charCodeAt(0))),_decode=_hasBuffer?F=>Buffer.from(F,"base64").toString("utf8"):_TD?F=>_TD.decode(_toUint8Array(F)):F=>btou(_atob(F)),_unURI=F=>_tidyB64(F.replace(/[-_]/g,v=>v=="-"?"+":"/")),decode$2=F=>_decode(_unURI(F)),parseJWT=F=>JSON.parse(decode$2(F.split(".")[1])),isExpired=F=>{const v=parseJWT(F).exp;return new Date().valueOf()/1e3>=v},removeNewlines=F=>F==null?void 0:F.replace(/[\r\n]+/gm,""),removeLeadingAndTrailingBackslashes=F=>F.replace(/\\|\\/g,"");var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(F){return F&&F.__esModule&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F}var axios$3={exports:{}},bind$2=function(v,d){return function(){for(var A=new Array(arguments.length),O=0;O<A.length;O++)A[O]=arguments[O];return v.apply(d,A)}},bind$1=bind$2,toString$1=Object.prototype.toString;function isArray(F){return toString$1.call(F)==="[object Array]"}function isUndefined(F){return typeof F>"u"}function isBuffer(F){return F!==null&&!isUndefined(F)&&F.constructor!==null&&!isUndefined(F.constructor)&&typeof F.constructor.isBuffer=="function"&&F.constructor.isBuffer(F)}function isArrayBuffer(F){return toString$1.call(F)==="[object ArrayBuffer]"}function isFormData(F){return typeof FormData<"u"&&F instanceof FormData}function isArrayBufferView(F){var v;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?v=ArrayBuffer.isView(F):v=F&&F.buffer&&F.buffer instanceof ArrayBuffer,v}function isString(F){return typeof F=="string"}function isNumber(F){return typeof F=="number"}function isObject$1(F){return F!==null&&typeof F=="object"}function isPlainObject(F){if(toString$1.call(F)!=="[object Object]")return!1;var v=Object.getPrototypeOf(F);return v===null||v===Object.prototype}function isDate(F){return toString$1.call(F)==="[object Date]"}function isFile(F){return toString$1.call(F)==="[object File]"}function isBlob(F){return toString$1.call(F)==="[object Blob]"}function isFunction(F){return toString$1.call(F)==="[object Function]"}function isStream(F){return isObject$1(F)&&isFunction(F.pipe)}function isURLSearchParams(F){return typeof URLSearchParams<"u"&&F instanceof URLSearchParams}function trim(F){return F.trim?F.trim():F.replace(/^\s+|\s+$/g,"")}function isStandardBrowserEnv(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function forEach(F,v){if(!(F===null||typeof F>"u"))if(typeof F!="object"&&(F=[F]),isArray(F))for(var d=0,T=F.length;d<T;d++)v.call(null,F[d],d,F);else for(var A in F)Object.prototype.hasOwnProperty.call(F,A)&&v.call(null,F[A],A,F)}function merge(){var F={};function v(A,O){isPlainObject(F[O])&&isPlainObject(A)?F[O]=merge(F[O],A):isPlainObject(A)?F[O]=merge({},A):isArray(A)?F[O]=A.slice():F[O]=A}for(var d=0,T=arguments.length;d<T;d++)forEach(arguments[d],v);return F}function extend(F,v,d){return forEach(v,function(A,O){d&&typeof A=="function"?F[O]=bind$1(A,d):F[O]=A}),F}function stripBOM(F){return F.charCodeAt(0)===65279&&(F=F.slice(1)),F}var utils$8={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString,isNumber,isObject:isObject$1,isPlainObject,isUndefined,isDate,isFile,isBlob,isFunction,isStream,isURLSearchParams,isStandardBrowserEnv,forEach,merge,extend,trim,stripBOM},utils$7=utils$8;function encode$2(F){return encodeURIComponent(F).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var buildURL$1=function(v,d,T){if(!d)return v;var A;if(T)A=T(d);else if(utils$7.isURLSearchParams(d))A=d.toString();else{var O=[];utils$7.forEach(d,function(j,w){j===null||typeof j>"u"||(utils$7.isArray(j)?w=w+"[]":j=[j],utils$7.forEach(j,function(_){utils$7.isDate(_)?_=_.toISOString():utils$7.isObject(_)&&(_=JSON.stringify(_)),O.push(encode$2(w)+"="+encode$2(_))}))}),A=O.join("&")}if(A){var q=v.indexOf("#");q!==-1&&(v=v.slice(0,q)),v+=(v.indexOf("?")===-1?"?":"&")+A}return v},utils$6=utils$8;function InterceptorManager$1(){this.handlers=[]}InterceptorManager$1.prototype.use=function(v,d,T){return this.handlers.push({fulfilled:v,rejected:d,synchronous:T?T.synchronous:!1,runWhen:T?T.runWhen:null}),this.handlers.length-1},InterceptorManager$1.prototype.eject=function(v){this.handlers[v]&&(this.handlers[v]=null)},InterceptorManager$1.prototype.forEach=function(v){utils$6.forEach(this.handlers,function(T){T!==null&&v(T)})};var InterceptorManager_1=InterceptorManager$1,utils$5=utils$8,normalizeHeaderName=function(v,d){utils$5.forEach(v,function(A,O){O!==d&&O.toUpperCase()===d.toUpperCase()&&(v[d]=A,delete v[O])})},enhanceError=function(v,d,T,A,O){return v.config=d,T&&(v.code=T),v.request=A,v.response=O,v.isAxiosError=!0,v.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},v},createError,hasRequiredCreateError;function requireCreateError(){if(hasRequiredCreateError)return createError;hasRequiredCreateError=1;var F=enhanceError;return createError=function(d,T,A,O,q){var p=new Error(d);return F(p,T,A,O,q)},createError}var settle,hasRequiredSettle;function requireSettle(){if(hasRequiredSettle)return settle;hasRequiredSettle=1;var F=requireCreateError();return settle=function(d,T,A){var O=A.config.validateStatus;!A.status||!O||O(A.status)?d(A):T(F("Request failed with status code "+A.status,A.config,null,A.request,A))},settle}var cookies,hasRequiredCookies;function requireCookies(){if(hasRequiredCookies)return cookies;hasRequiredCookies=1;var F=utils$8;return cookies=F.isStandardBrowserEnv()?function(){return{write:function(T,A,O,q,p,j){var w=[];w.push(T+"="+encodeURIComponent(A)),F.isNumber(O)&&w.push("expires="+new Date(O).toGMTString()),F.isString(q)&&w.push("path="+q),F.isString(p)&&w.push("domain="+p),j===!0&&w.push("secure"),document.cookie=w.join("; ")},read:function(T){var A=document.cookie.match(new RegExp("(^|;\\s*)("+T+")=([^;]*)"));return A?decodeURIComponent(A[3]):null},remove:function(T){this.write(T,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),cookies}var isAbsoluteURL,hasRequiredIsAbsoluteURL;function requireIsAbsoluteURL(){return hasRequiredIsAbsoluteURL||(hasRequiredIsAbsoluteURL=1,isAbsoluteURL=function(v){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(v)}),isAbsoluteURL}var combineURLs,hasRequiredCombineURLs;function requireCombineURLs(){return hasRequiredCombineURLs||(hasRequiredCombineURLs=1,combineURLs=function(v,d){return d?v.replace(/\/+$/,"")+"/"+d.replace(/^\/+/,""):v}),combineURLs}var buildFullPath,hasRequiredBuildFullPath;function requireBuildFullPath(){if(hasRequiredBuildFullPath)return buildFullPath;hasRequiredBuildFullPath=1;var F=requireIsAbsoluteURL(),v=requireCombineURLs();return buildFullPath=function(T,A){return T&&!F(A)?v(T,A):A},buildFullPath}var parseHeaders,hasRequiredParseHeaders;function requireParseHeaders(){if(hasRequiredParseHeaders)return parseHeaders;hasRequiredParseHeaders=1;var F=utils$8,v=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return parseHeaders=function(T){var A={},O,q,p;return T&&F.forEach(T.split(`
|
|
15
|
+
`),function(w){if(p=w.indexOf(":"),O=F.trim(w.substr(0,p)).toLowerCase(),q=F.trim(w.substr(p+1)),O){if(A[O]&&v.indexOf(O)>=0)return;O==="set-cookie"?A[O]=(A[O]?A[O]:[]).concat([q]):A[O]=A[O]?A[O]+", "+q:q}}),A},parseHeaders}var isURLSameOrigin,hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var F=utils$8;return isURLSameOrigin=F.isStandardBrowserEnv()?function(){var d=/(msie|trident)/i.test(navigator.userAgent),T=document.createElement("a"),A;function O(q){var p=q;return d&&(T.setAttribute("href",p),p=T.href),T.setAttribute("href",p),{href:T.href,protocol:T.protocol?T.protocol.replace(/:$/,""):"",host:T.host,search:T.search?T.search.replace(/^\?/,""):"",hash:T.hash?T.hash.replace(/^#/,""):"",hostname:T.hostname,port:T.port,pathname:T.pathname.charAt(0)==="/"?T.pathname:"/"+T.pathname}}return A=O(window.location.href),function(p){var j=F.isString(p)?O(p):p;return j.protocol===A.protocol&&j.host===A.host}}():function(){return function(){return!0}}(),isURLSameOrigin}var Cancel_1,hasRequiredCancel;function requireCancel(){if(hasRequiredCancel)return Cancel_1;hasRequiredCancel=1;function F(v){this.message=v}return F.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},F.prototype.__CANCEL__=!0,Cancel_1=F,Cancel_1}var xhr,hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var F=utils$8,v=requireSettle(),d=requireCookies(),T=buildURL$1,A=requireBuildFullPath(),O=requireParseHeaders(),q=requireIsURLSameOrigin(),p=requireCreateError(),j=requireDefaults(),w=requireCancel();return xhr=function(_){return new Promise(function(I,b){var B=_.data,D=_.headers,U=_.responseType,$;function P(){_.cancelToken&&_.cancelToken.unsubscribe($),_.signal&&_.signal.removeEventListener("abort",$)}F.isFormData(B)&&delete D["Content-Type"];var W=new XMLHttpRequest;if(_.auth){var G=_.auth.username||"",Q=_.auth.password?unescape(encodeURIComponent(_.auth.password)):"";D.Authorization="Basic "+btoa(G+":"+Q)}var te=A(_.baseURL,_.url);W.open(_.method.toUpperCase(),T(te,_.params,_.paramsSerializer),!0),W.timeout=_.timeout;function se(){if(W){var de="getAllResponseHeaders"in W?O(W.getAllResponseHeaders()):null,e=!U||U==="text"||U==="json"?W.responseText:W.response,a={data:e,status:W.status,statusText:W.statusText,headers:de,config:_,request:W};v(function(r){I(r),P()},function(r){b(r),P()},a),W=null}}if("onloadend"in W?W.onloadend=se:W.onreadystatechange=function(){!W||W.readyState!==4||W.status===0&&!(W.responseURL&&W.responseURL.indexOf("file:")===0)||setTimeout(se)},W.onabort=function(){W&&(b(p("Request aborted",_,"ECONNABORTED",W)),W=null)},W.onerror=function(){b(p("Network Error",_,null,W)),W=null},W.ontimeout=function(){var e=_.timeout?"timeout of "+_.timeout+"ms exceeded":"timeout exceeded",a=_.transitional||j.transitional;_.timeoutErrorMessage&&(e=_.timeoutErrorMessage),b(p(e,_,a.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",W)),W=null},F.isStandardBrowserEnv()){var ue=(_.withCredentials||q(te))&&_.xsrfCookieName?d.read(_.xsrfCookieName):void 0;ue&&(D[_.xsrfHeaderName]=ue)}"setRequestHeader"in W&&F.forEach(D,function(e,a){typeof B>"u"&&a.toLowerCase()==="content-type"?delete D[a]:W.setRequestHeader(a,e)}),F.isUndefined(_.withCredentials)||(W.withCredentials=!!_.withCredentials),U&&U!=="json"&&(W.responseType=_.responseType),typeof _.onDownloadProgress=="function"&&W.addEventListener("progress",_.onDownloadProgress),typeof _.onUploadProgress=="function"&&W.upload&&W.upload.addEventListener("progress",_.onUploadProgress),(_.cancelToken||_.signal)&&($=function(de){W&&(b(!de||de&&de.type?new w("canceled"):de),W.abort(),W=null)},_.cancelToken&&_.cancelToken.subscribe($),_.signal&&(_.signal.aborted?$():_.signal.addEventListener("abort",$))),B||(B=null),W.send(B)})},xhr}var defaults_1,hasRequiredDefaults;function requireDefaults(){if(hasRequiredDefaults)return defaults_1;hasRequiredDefaults=1;var F=utils$8,v=normalizeHeaderName,d=enhanceError,T={"Content-Type":"application/x-www-form-urlencoded"};function A(j,w){!F.isUndefined(j)&&F.isUndefined(j["Content-Type"])&&(j["Content-Type"]=w)}function O(){var j;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(j=requireXhr()),j}function q(j,w,S){if(F.isString(j))try{return(w||JSON.parse)(j),F.trim(j)}catch(_){if(_.name!=="SyntaxError")throw _}return(S||JSON.stringify)(j)}var p={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:O(),transformRequest:[function(w,S){return v(S,"Accept"),v(S,"Content-Type"),F.isFormData(w)||F.isArrayBuffer(w)||F.isBuffer(w)||F.isStream(w)||F.isFile(w)||F.isBlob(w)?w:F.isArrayBufferView(w)?w.buffer:F.isURLSearchParams(w)?(A(S,"application/x-www-form-urlencoded;charset=utf-8"),w.toString()):F.isObject(w)||S&&S["Content-Type"]==="application/json"?(A(S,"application/json"),q(w)):w}],transformResponse:[function(w){var S=this.transitional||p.transitional,_=S&&S.silentJSONParsing,N=S&&S.forcedJSONParsing,I=!_&&this.responseType==="json";if(I||N&&F.isString(w)&&w.length)try{return JSON.parse(w)}catch(b){if(I)throw b.name==="SyntaxError"?d(b,this,"E_JSON_PARSE"):b}return w}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(w){return w>=200&&w<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};return F.forEach(["delete","get","head"],function(w){p.headers[w]={}}),F.forEach(["post","put","patch"],function(w){p.headers[w]=F.merge(T)}),defaults_1=p,defaults_1}var utils$4=utils$8,defaults$2=requireDefaults(),transformData$1=function(v,d,T){var A=this||defaults$2;return utils$4.forEach(T,function(q){v=q.call(A,v,d)}),v},isCancel$1,hasRequiredIsCancel;function requireIsCancel(){return hasRequiredIsCancel||(hasRequiredIsCancel=1,isCancel$1=function(v){return!!(v&&v.__CANCEL__)}),isCancel$1}var utils$3=utils$8,transformData=transformData$1,isCancel=requireIsCancel(),defaults$1=requireDefaults(),Cancel=requireCancel();function throwIfCancellationRequested(F){if(F.cancelToken&&F.cancelToken.throwIfRequested(),F.signal&&F.signal.aborted)throw new Cancel("canceled")}var dispatchRequest$1=function(v){throwIfCancellationRequested(v),v.headers=v.headers||{},v.data=transformData.call(v,v.data,v.headers,v.transformRequest),v.headers=utils$3.merge(v.headers.common||{},v.headers[v.method]||{},v.headers),utils$3.forEach(["delete","get","head","post","put","patch","common"],function(A){delete v.headers[A]});var d=v.adapter||defaults$1.adapter;return d(v).then(function(A){return throwIfCancellationRequested(v),A.data=transformData.call(v,A.data,A.headers,v.transformResponse),A},function(A){return isCancel(A)||(throwIfCancellationRequested(v),A&&A.response&&(A.response.data=transformData.call(v,A.response.data,A.response.headers,v.transformResponse))),Promise.reject(A)})},utils$2=utils$8,mergeConfig$2=function(v,d){d=d||{};var T={};function A(S,_){return utils$2.isPlainObject(S)&&utils$2.isPlainObject(_)?utils$2.merge(S,_):utils$2.isPlainObject(_)?utils$2.merge({},_):utils$2.isArray(_)?_.slice():_}function O(S){if(utils$2.isUndefined(d[S])){if(!utils$2.isUndefined(v[S]))return A(void 0,v[S])}else return A(v[S],d[S])}function q(S){if(!utils$2.isUndefined(d[S]))return A(void 0,d[S])}function p(S){if(utils$2.isUndefined(d[S])){if(!utils$2.isUndefined(v[S]))return A(void 0,v[S])}else return A(void 0,d[S])}function j(S){if(S in d)return A(v[S],d[S]);if(S in v)return A(void 0,v[S])}var w={url:q,method:q,data:q,baseURL:p,transformRequest:p,transformResponse:p,paramsSerializer:p,timeout:p,timeoutMessage:p,withCredentials:p,adapter:p,responseType:p,xsrfCookieName:p,xsrfHeaderName:p,onUploadProgress:p,onDownloadProgress:p,decompress:p,maxContentLength:p,maxBodyLength:p,transport:p,httpAgent:p,httpsAgent:p,cancelToken:p,socketPath:p,responseEncoding:p,validateStatus:j};return utils$2.forEach(Object.keys(v).concat(Object.keys(d)),function(_){var N=w[_]||O,I=N(_);utils$2.isUndefined(I)&&N!==j||(T[_]=I)}),T},data,hasRequiredData;function requireData(){return hasRequiredData||(hasRequiredData=1,data={version:"0.24.0"}),data}var VERSION=requireData().version,validators$1={};["object","boolean","number","function","string","symbol"].forEach(function(F,v){validators$1[F]=function(T){return typeof T===F||"a"+(v<1?"n ":" ")+F}});var deprecatedWarnings={};validators$1.transitional=function(v,d,T){function A(O,q){return"[Axios v"+VERSION+"] Transitional option '"+O+"'"+q+(T?". "+T:"")}return function(O,q,p){if(v===!1)throw new Error(A(q," has been removed"+(d?" in "+d:"")));return d&&!deprecatedWarnings[q]&&(deprecatedWarnings[q]=!0,console.warn(A(q," has been deprecated since v"+d+" and will be removed in the near future"))),v?v(O,q,p):!0}};function assertOptions(F,v,d){if(typeof F!="object")throw new TypeError("options must be an object");for(var T=Object.keys(F),A=T.length;A-- >0;){var O=T[A],q=v[O];if(q){var p=F[O],j=p===void 0||q(p,O,F);if(j!==!0)throw new TypeError("option "+O+" must be "+j);continue}if(d!==!0)throw Error("Unknown option "+O)}}var validator$1={assertOptions,validators:validators$1},utils$1=utils$8,buildURL=buildURL$1,InterceptorManager=InterceptorManager_1,dispatchRequest=dispatchRequest$1,mergeConfig$1=mergeConfig$2,validator=validator$1,validators=validator.validators;function Axios$1(F){this.defaults=F,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}Axios$1.prototype.request=function(v){typeof v=="string"?(v=arguments[1]||{},v.url=arguments[0]):v=v||{},v=mergeConfig$1(this.defaults,v),v.method?v.method=v.method.toLowerCase():this.defaults.method?v.method=this.defaults.method.toLowerCase():v.method="get";var d=v.transitional;d!==void 0&&validator.assertOptions(d,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1);var T=[],A=!0;this.interceptors.request.forEach(function(N){typeof N.runWhen=="function"&&N.runWhen(v)===!1||(A=A&&N.synchronous,T.unshift(N.fulfilled,N.rejected))});var O=[];this.interceptors.response.forEach(function(N){O.push(N.fulfilled,N.rejected)});var q;if(!A){var p=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(p,T),p=p.concat(O),q=Promise.resolve(v);p.length;)q=q.then(p.shift(),p.shift());return q}for(var j=v;T.length;){var w=T.shift(),S=T.shift();try{j=w(j)}catch(_){S(_);break}}try{q=dispatchRequest(j)}catch(_){return Promise.reject(_)}for(;O.length;)q=q.then(O.shift(),O.shift());return q},Axios$1.prototype.getUri=function(v){return v=mergeConfig$1(this.defaults,v),buildURL(v.url,v.params,v.paramsSerializer).replace(/^\?/,"")},utils$1.forEach(["delete","get","head","options"],function(v){Axios$1.prototype[v]=function(d,T){return this.request(mergeConfig$1(T||{},{method:v,url:d,data:(T||{}).data}))}}),utils$1.forEach(["post","put","patch"],function(v){Axios$1.prototype[v]=function(d,T,A){return this.request(mergeConfig$1(A||{},{method:v,url:d,data:T}))}});var Axios_1=Axios$1,CancelToken_1,hasRequiredCancelToken;function requireCancelToken(){if(hasRequiredCancelToken)return CancelToken_1;hasRequiredCancelToken=1;var F=requireCancel();function v(d){if(typeof d!="function")throw new TypeError("executor must be a function.");var T;this.promise=new Promise(function(q){T=q});var A=this;this.promise.then(function(O){if(A._listeners){var q,p=A._listeners.length;for(q=0;q<p;q++)A._listeners[q](O);A._listeners=null}}),this.promise.then=function(O){var q,p=new Promise(function(j){A.subscribe(j),q=j}).then(O);return p.cancel=function(){A.unsubscribe(q)},p},d(function(q){A.reason||(A.reason=new F(q),T(A.reason))})}return v.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},v.prototype.subscribe=function(T){if(this.reason){T(this.reason);return}this._listeners?this._listeners.push(T):this._listeners=[T]},v.prototype.unsubscribe=function(T){if(this._listeners){var A=this._listeners.indexOf(T);A!==-1&&this._listeners.splice(A,1)}},v.source=function(){var T,A=new v(function(q){T=q});return{token:A,cancel:T}},CancelToken_1=v,CancelToken_1}var spread,hasRequiredSpread;function requireSpread(){return hasRequiredSpread||(hasRequiredSpread=1,spread=function(v){return function(T){return v.apply(null,T)}}),spread}var isAxiosError,hasRequiredIsAxiosError;function requireIsAxiosError(){return hasRequiredIsAxiosError||(hasRequiredIsAxiosError=1,isAxiosError=function(v){return typeof v=="object"&&v.isAxiosError===!0}),isAxiosError}var utils=utils$8,bind=bind$2,Axios=Axios_1,mergeConfig=mergeConfig$2,defaults=requireDefaults();function createInstance(F){var v=new Axios(F),d=bind(Axios.prototype.request,v);return utils.extend(d,Axios.prototype,v),utils.extend(d,v),d.create=function(A){return createInstance(mergeConfig(F,A))},d}var axios$2=createInstance(defaults);axios$2.Axios=Axios,axios$2.Cancel=requireCancel(),axios$2.CancelToken=requireCancelToken(),axios$2.isCancel=requireIsCancel(),axios$2.VERSION=requireData().version,axios$2.all=function(v){return Promise.all(v)},axios$2.spread=requireSpread(),axios$2.isAxiosError=requireIsAxiosError(),axios$3.exports=axios$2,axios$3.exports.default=axios$2;var axiosExports=axios$3.exports,axios=axiosExports;const axios$1=getDefaultExportFromCjs(axios);var x=Object.defineProperty,l=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,u=(F,v,d)=>v in F?x(F,v,{enumerable:!0,configurable:!0,writable:!0,value:d}):F[v]=d,c=(F,v)=>{for(var d in v||(v={}))g.call(v,d)&&u(F,d,v[d]);if(l)for(var d of l(v))y.call(v,d)&&u(F,d,v[d]);return F},n$2=(F,v,d)=>new Promise((T,A)=>{var O=j=>{try{p(d.next(j))}catch(w){A(w)}},q=j=>{try{p(d.throw(j))}catch(w){A(w)}},p=j=>j.done?T(j.value):Promise.resolve(j.value).then(O,q);p((d=d.apply(F,v)).next())});class R{constructor(v,d){this.axios=v,this.errorHandler=d}get(v,d,T){return n$2(this,null,function*(){const A=this.axios.get(v,{params:d});return this.handleResponse(A,T)})}listPaged(v,d){return n$2(this,null,function*(){const T=this.axios.get(v,{params:d});return this.handleResponse(T)})}list(v,d){return n$2(this,null,function*(){const T=this.axios.get(v,{params:d});return this.handleResponse(T)})}delete(v,d){return n$2(this,null,function*(){const T=this.axios.delete(v,{params:d});return this.handleResponse(T)})}post(v,d,T,A){return n$2(this,null,function*(){const O=this.axios.post(v,d,c({params:T},A));return this.handleResponse(O)})}postForm(v,d,T){return n$2(this,null,function*(){const A=this.axios.post(v,d,{params:T,headers:{"Content-Type":"multipart/form-data"}});return this.handleResponse(A)})}patch(v,d,T){return n$2(this,null,function*(){const A=this.axios.patch(v,d,{params:T});return this.handleResponse(A)})}put(v,d){return n$2(this,null,function*(){const T=this.axios.put(v,d);return this.handleResponse(T)})}upload(v,d,T){return n$2(this,null,function*(){const A=this.axios.post(v,d,c({},T));return this.handleResponse(A)})}getNonStandard(v,d){return n$2(this,null,function*(){const T=this.axios.get(v,d);try{const A=yield T;if(A.status===200)return A}catch(A){throw this.handleError(A)}})}postNonStandard(v,d,T,A){return n$2(this,null,function*(){var O,q;const p=yield this.axios.post(v,d,c({params:T},A));if(p.status===200)if((O=p.data)!=null&&O.code)(q=this.errorHandler)!=null&&q.onAppStatusError&&this.errorHandler.onAppStatusError(p.data.code,p.data.message);else return p.data})}handleResponse(v,d){return n$2(this,null,function*(){try{const T=yield v;return this.handleAppError(T.data,d).data}catch(T){throw this.handleError(T)}})}handleAppError(v,d){var T;if(v.code<200||v.code>=300)throw(T=this.errorHandler)!=null&&T.onAppStatusError?this.errorHandler.onAppStatusError(v.code,E(v.code,v.message),d):console.error("未处理应用错误:",v),{isAxiosError:!1,message:v.message};return v}handleError(v){var d,T;return v.response?(d=this.errorHandler)!=null&&d.onHttpStatusError&&(console.log("HTTP 错误",this.errorHandler),this.errorHandler.onHttpStatusError(v.response.status,"",v.response)):v.request?(console.log(v.request),(T=this.errorHandler)!=null&&T.onNetworkError&&this.errorHandler.onNetworkError()):console.error("axios request config error:",v),new Error(v.message)}}const f=F=>F>=10002&&F<=10012,E=(F,v)=>f(F)?"数据操作错误":v||"未知接口错误";var minio={exports:{}};/*! For license information please see minio.js.LICENSE.txt */(function(module,exports){(function(F,v){module.exports=v()})(commonjsGlobal,()=>(()=>{var __webpack_modules__={20:(F,v,d)=>{var T=d(2861).Buffer,A=d(7108),O=d(6737),q=d(6698),p=d(5359),j=d(4847),w=d(2951);function S(b){O.Writable.call(this);var B=w[b];if(!B)throw new Error("Unknown message digest");this._hashType=B.hash,this._hash=A(B.hash),this._tag=B.id,this._signType=B.sign}function _(b){O.Writable.call(this);var B=w[b];if(!B)throw new Error("Unknown message digest");this._hash=A(B.hash),this._tag=B.id,this._signType=B.sign}function N(b){return new S(b)}function I(b){return new _(b)}Object.keys(w).forEach(function(b){w[b].id=T.from(w[b].id,"hex"),w[b.toLowerCase()]=w[b]}),q(S,O.Writable),S.prototype._write=function(b,B,D){this._hash.update(b),D()},S.prototype.update=function(b,B){return this._hash.update(typeof b=="string"?T.from(b,B):b),this},S.prototype.sign=function(b,B){this.end();var D=this._hash.digest(),U=p(D,b,this._hashType,this._signType,this._tag);return B?U.toString(B):U},q(_,O.Writable),_.prototype._write=function(b,B,D){this._hash.update(b),D()},_.prototype.update=function(b,B){return this._hash.update(typeof b=="string"?T.from(b,B):b),this},_.prototype.verify=function(b,B,D){var U=typeof B=="string"?T.from(B,D):B;this.end();var $=this._hash.digest();return j(U,$,b,this._signType,this._tag)},F.exports={Sign:N,Verify:I,createSign:N,createVerify:I}},41:(F,v,d)=>{var T=d(655),A=d(8068),O=d(9675),q=d(5795);F.exports=function(p,j,w){if(!p||typeof p!="object"&&typeof p!="function")throw new O("`obj` must be an object or a function`");if(typeof j!="string"&&typeof j!="symbol")throw new O("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new O("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new O("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new O("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new O("`loose`, if provided, must be a boolean");var S=arguments.length>3?arguments[3]:null,_=arguments.length>4?arguments[4]:null,N=arguments.length>5?arguments[5]:null,I=arguments.length>6&&arguments[6],b=!!q&&q(p,j);if(T)T(p,j,{configurable:N===null&&b?b.configurable:!N,enumerable:S===null&&b?b.enumerable:!S,value:w,writable:_===null&&b?b.writable:!_});else{if(!I&&(S||_||N))throw new A("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");p[j]=w}}},76:F=>{F.exports=Function.prototype.call},82:(F,v,d)=>{var T=d(6698),A=d(8287).Buffer,O=d(7568),q=O.base,p=O.constants.der;function j(_){this.enc="der",this.name=_.name,this.entity=_,this.tree=new w,this.tree._init(_.body)}function w(_){q.Node.call(this,"der",_)}function S(_){return _<10?"0"+_:_}F.exports=j,j.prototype.encode=function(_,N){return this.tree._encode(_,N).join()},T(w,q.Node),w.prototype._encodeComposite=function(_,N,I,b){var B,D=function(W,G,Q,te){var se;if(W==="seqof"?W="seq":W==="setof"&&(W="set"),p.tagByName.hasOwnProperty(W))se=p.tagByName[W];else{if(typeof W!="number"||(0|W)!==W)return te.error("Unknown tag: "+W);se=W}return se>=31?te.error("Multi-octet tag encoding unsupported"):(G||(se|=32),se|=p.tagClassByName[Q||"universal"]<<6)}(_,N,I,this.reporter);if(b.length<128)return(B=new A(2))[0]=D,B[1]=b.length,this._createEncoderBuffer([B,b]);for(var U=1,$=b.length;$>=256;$>>=8)U++;(B=new A(2+U))[0]=D,B[1]=128|U,$=1+U;for(var P=b.length;P>0;$--,P>>=8)B[$]=255&P;return this._createEncoderBuffer([B,b])},w.prototype._encodeStr=function(_,N){if(N==="bitstr")return this._createEncoderBuffer([0|_.unused,_.data]);if(N==="bmpstr"){for(var I=new A(2*_.length),b=0;b<_.length;b++)I.writeUInt16BE(_.charCodeAt(b),2*b);return this._createEncoderBuffer(I)}return N==="numstr"?this._isNumstr(_)?this._createEncoderBuffer(_):this.reporter.error("Encoding of string type: numstr supports only digits and space"):N==="printstr"?this._isPrintstr(_)?this._createEncoderBuffer(_):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(N)||N==="objDesc"?this._createEncoderBuffer(_):this.reporter.error("Encoding of string type: "+N+" unsupported")},w.prototype._encodeObjid=function(_,N,I){if(typeof _=="string"){if(!N)return this.reporter.error("string objid given, but no values map found");if(!N.hasOwnProperty(_))return this.reporter.error("objid not found in values map");_=N[_].split(/[\s\.]+/g);for(var b=0;b<_.length;b++)_[b]|=0}else if(Array.isArray(_))for(_=_.slice(),b=0;b<_.length;b++)_[b]|=0;if(!Array.isArray(_))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(_));if(!I){if(_[1]>=40)return this.reporter.error("Second objid identifier OOB");_.splice(0,2,40*_[0]+_[1])}var B=0;for(b=0;b<_.length;b++){var D=_[b];for(B++;D>=128;D>>=7)B++}var U=new A(B),$=U.length-1;for(b=_.length-1;b>=0;b--)for(D=_[b],U[$--]=127&D;(D>>=7)>0;)U[$--]=128|127&D;return this._createEncoderBuffer(U)},w.prototype._encodeTime=function(_,N){var I,b=new Date(_);return N==="gentime"?I=[S(b.getFullYear()),S(b.getUTCMonth()+1),S(b.getUTCDate()),S(b.getUTCHours()),S(b.getUTCMinutes()),S(b.getUTCSeconds()),"Z"].join(""):N==="utctime"?I=[S(b.getFullYear()%100),S(b.getUTCMonth()+1),S(b.getUTCDate()),S(b.getUTCHours()),S(b.getUTCMinutes()),S(b.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+N+" time is not supported yet"),this._encodeStr(I,"octstr")},w.prototype._encodeNull=function(){return this._createEncoderBuffer("")},w.prototype._encodeInt=function(_,N){if(typeof _=="string"){if(!N)return this.reporter.error("String int or enum given, but no values map");if(!N.hasOwnProperty(_))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(_));_=N[_]}if(typeof _!="number"&&!A.isBuffer(_)){var I=_.toArray();!_.sign&&128&I[0]&&I.unshift(0),_=new A(I)}if(A.isBuffer(_)){var b=_.length;_.length===0&&b++;var B=new A(b);return _.copy(B),_.length===0&&(B[0]=0),this._createEncoderBuffer(B)}if(_<128)return this._createEncoderBuffer(_);if(_<256)return this._createEncoderBuffer([0,_]);b=1;for(var D=_;D>=256;D>>=8)b++;for(D=(B=new Array(b)).length-1;D>=0;D--)B[D]=255&_,_>>=8;return 128&B[0]&&B.unshift(0),this._createEncoderBuffer(new A(B))},w.prototype._encodeBool=function(_){return this._createEncoderBuffer(_?255:0)},w.prototype._use=function(_,N){return typeof _=="function"&&(_=_(N)),_._getEncoder("der").tree},w.prototype._skipDefault=function(_,N,I){var b,B=this._baseState;if(B.default===null)return!1;var D=_.join();if(B.defaultBuffer===void 0&&(B.defaultBuffer=this._encodeValue(B.default,N,I).join()),D.length!==B.defaultBuffer.length)return!1;for(b=0;b<D.length;b++)if(D[b]!==B.defaultBuffer[b])return!1;return!0}},125:(F,v,d)=>{var T=d(4050),A=d(1241),O=d(530),q=d(2438),p=d(8078);function j(S,_,N){if(S=S.toLowerCase(),O[S])return A.createCipheriv(S,_,N);if(q[S])return new T({key:_,iv:N,mode:S});throw new TypeError("invalid suite type")}function w(S,_,N){if(S=S.toLowerCase(),O[S])return A.createDecipheriv(S,_,N);if(q[S])return new T({key:_,iv:N,mode:S,decrypt:!0});throw new TypeError("invalid suite type")}v.createCipher=v.Cipher=function(S,_){var N,I;if(S=S.toLowerCase(),O[S])N=O[S].key,I=O[S].iv;else{if(!q[S])throw new TypeError("invalid suite type");N=8*q[S].key,I=q[S].iv}var b=p(_,!1,N,I);return j(S,b.key,b.iv)},v.createCipheriv=v.Cipheriv=j,v.createDecipher=v.Decipher=function(S,_){var N,I;if(S=S.toLowerCase(),O[S])N=O[S].key,I=O[S].iv;else{if(!q[S])throw new TypeError("invalid suite type");N=8*q[S].key,I=q[S].iv}var b=p(_,!1,N,I);return w(S,b.key,b.iv)},v.createDecipheriv=v.Decipheriv=w,v.listCiphers=v.getCiphers=function(){return Object.keys(q).concat(A.getCiphers())}},206:(F,v,d)=>{var T=d(5606),A=d(3225);F.exports=P;var O,q=d(4634);P.ReadableState=$,d(7007).EventEmitter;var p=function(K,V){return K.listeners(V).length},j=d(5567),w=d(4116).Buffer,S=(d.g!==void 0?d.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},_=Object.create(d(5622));_.inherits=d(6698);var N=d(2668),I=void 0;I=N&&N.debuglog?N.debuglog("stream"):function(){};var b,B=d(672),D=d(6278);_.inherits(P,j);var U=["error","close","destroy","pause","resume"];function $(K,V){K=K||{};var Z=V instanceof(O=O||d(6248));this.objectMode=!!K.objectMode,Z&&(this.objectMode=this.objectMode||!!K.readableObjectMode);var X=K.highWaterMark,ae=K.readableHighWaterMark,ie=this.objectMode?16:16384;this.highWaterMark=X||X===0?X:Z&&(ae||ae===0)?ae:ie,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new B,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=K.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,K.encoding&&(b||(b=d(6427).I),this.decoder=new b(K.encoding),this.encoding=K.encoding)}function P(K){if(O=O||d(6248),!(this instanceof P))return new P(K);this._readableState=new $(K,this),this.readable=!0,K&&(typeof K.read=="function"&&(this._read=K.read),typeof K.destroy=="function"&&(this._destroy=K.destroy)),j.call(this)}function W(K,V,Z,X,ae){var ie,ce=K._readableState;return V===null?(ce.reading=!1,function(Y,ne){if(!ne.ended){if(ne.decoder){var J=ne.decoder.end();J&&J.length&&(ne.buffer.push(J),ne.length+=ne.objectMode?1:J.length)}ne.ended=!0,se(Y)}}(K,ce)):(ae||(ie=function(Y,ne){var J,ee;return ee=ne,w.isBuffer(ee)||ee instanceof S||typeof ne=="string"||ne===void 0||Y.objectMode||(J=new TypeError("Invalid non-string/buffer chunk")),J}(ce,V)),ie?K.emit("error",ie):ce.objectMode||V&&V.length>0?(typeof V=="string"||ce.objectMode||Object.getPrototypeOf(V)===w.prototype||(V=function(Y){return w.from(Y)}(V)),X?ce.endEmitted?K.emit("error",new Error("stream.unshift() after end event")):G(K,ce,V,!0):ce.ended?K.emit("error",new Error("stream.push() after EOF")):(ce.reading=!1,ce.decoder&&!Z?(V=ce.decoder.write(V),ce.objectMode||V.length!==0?G(K,ce,V,!1):de(K,ce)):G(K,ce,V,!1))):X||(ce.reading=!1)),function(Y){return!Y.ended&&(Y.needReadable||Y.length<Y.highWaterMark||Y.length===0)}(ce)}function G(K,V,Z,X){V.flowing&&V.length===0&&!V.sync?(K.emit("data",Z),K.read(0)):(V.length+=V.objectMode?1:Z.length,X?V.buffer.unshift(Z):V.buffer.push(Z),V.needReadable&&se(K)),de(K,V)}Object.defineProperty(P.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(K){this._readableState&&(this._readableState.destroyed=K)}}),P.prototype.destroy=D.destroy,P.prototype._undestroy=D.undestroy,P.prototype._destroy=function(K,V){this.push(null),V(K)},P.prototype.push=function(K,V){var Z,X=this._readableState;return X.objectMode?Z=!0:typeof K=="string"&&((V=V||X.defaultEncoding)!==X.encoding&&(K=w.from(K,V),V=""),Z=!0),W(this,K,V,!1,Z)},P.prototype.unshift=function(K){return W(this,K,null,!0,!1)},P.prototype.isPaused=function(){return this._readableState.flowing===!1},P.prototype.setEncoding=function(K){return b||(b=d(6427).I),this._readableState.decoder=new b(K),this._readableState.encoding=K,this};var Q=8388608;function te(K,V){return K<=0||V.length===0&&V.ended?0:V.objectMode?1:K!=K?V.flowing&&V.length?V.buffer.head.data.length:V.length:(K>V.highWaterMark&&(V.highWaterMark=function(Z){return Z>=Q?Z=Q:(Z--,Z|=Z>>>1,Z|=Z>>>2,Z|=Z>>>4,Z|=Z>>>8,Z|=Z>>>16,Z++),Z}(K)),K<=V.length?K:V.ended?V.length:(V.needReadable=!0,0))}function se(K){var V=K._readableState;V.needReadable=!1,V.emittedReadable||(I("emitReadable",V.flowing),V.emittedReadable=!0,V.sync?A.nextTick(ue,K):ue(K))}function ue(K){I("emit readable"),K.emit("readable"),r(K)}function de(K,V){V.readingMore||(V.readingMore=!0,A.nextTick(e,K,V))}function e(K,V){for(var Z=V.length;!V.reading&&!V.flowing&&!V.ended&&V.length<V.highWaterMark&&(I("maybeReadMore read 0"),K.read(0),Z!==V.length);)Z=V.length;V.readingMore=!1}function a(K){I("readable nexttick read 0"),K.read(0)}function o(K,V){V.reading||(I("resume read 0"),K.read(0)),V.resumeScheduled=!1,V.awaitDrain=0,K.emit("resume"),r(K),V.flowing&&!V.reading&&K.read(0)}function r(K){var V=K._readableState;for(I("flow",V.flowing);V.flowing&&K.read()!==null;);}function t(K,V){return V.length===0?null:(V.objectMode?Z=V.buffer.shift():!K||K>=V.length?(Z=V.decoder?V.buffer.join(""):V.buffer.length===1?V.buffer.head.data:V.buffer.concat(V.length),V.buffer.clear()):Z=function(X,ae,ie){var ce;return X<ae.head.data.length?(ce=ae.head.data.slice(0,X),ae.head.data=ae.head.data.slice(X)):ce=X===ae.head.data.length?ae.shift():ie?function(Y,ne){var J=ne.head,ee=1,ge=J.data;for(Y-=ge.length;J=J.next;){var pe=J.data,we=Y>pe.length?pe.length:Y;if(we===pe.length?ge+=pe:ge+=pe.slice(0,Y),(Y-=we)==0){we===pe.length?(++ee,J.next?ne.head=J.next:ne.head=ne.tail=null):(ne.head=J,J.data=pe.slice(we));break}++ee}return ne.length-=ee,ge}(X,ae):function(Y,ne){var J=w.allocUnsafe(Y),ee=ne.head,ge=1;for(ee.data.copy(J),Y-=ee.data.length;ee=ee.next;){var pe=ee.data,we=Y>pe.length?pe.length:Y;if(pe.copy(J,J.length-Y,0,we),(Y-=we)==0){we===pe.length?(++ge,ee.next?ne.head=ee.next:ne.head=ne.tail=null):(ne.head=ee,ee.data=pe.slice(we));break}++ge}return ne.length-=ge,J}(X,ae),ce}(K,V.buffer,V.decoder),Z);var Z}function h(K){var V=K._readableState;if(V.length>0)throw new Error('"endReadable()" called on non-empty stream');V.endEmitted||(V.ended=!0,A.nextTick(M,V,K))}function M(K,V){K.endEmitted||K.length!==0||(K.endEmitted=!0,V.readable=!1,V.emit("end"))}function H(K,V){for(var Z=0,X=K.length;Z<X;Z++)if(K[Z]===V)return Z;return-1}P.prototype.read=function(K){I("read",K),K=parseInt(K,10);var V=this._readableState,Z=K;if(K!==0&&(V.emittedReadable=!1),K===0&&V.needReadable&&(V.length>=V.highWaterMark||V.ended))return I("read: emitReadable",V.length,V.ended),V.length===0&&V.ended?h(this):se(this),null;if((K=te(K,V))===0&&V.ended)return V.length===0&&h(this),null;var X,ae=V.needReadable;return I("need readable",ae),(V.length===0||V.length-K<V.highWaterMark)&&I("length less than watermark",ae=!0),V.ended||V.reading?I("reading or ended",ae=!1):ae&&(I("do read"),V.reading=!0,V.sync=!0,V.length===0&&(V.needReadable=!0),this._read(V.highWaterMark),V.sync=!1,V.reading||(K=te(Z,V))),(X=K>0?t(K,V):null)===null?(V.needReadable=!0,K=0):V.length-=K,V.length===0&&(V.ended||(V.needReadable=!0),Z!==K&&V.ended&&h(this)),X!==null&&this.emit("data",X),X},P.prototype._read=function(K){this.emit("error",new Error("_read() is not implemented"))},P.prototype.pipe=function(K,V){var Z=this,X=this._readableState;switch(X.pipesCount){case 0:X.pipes=K;break;case 1:X.pipes=[X.pipes,K];break;default:X.pipes.push(K)}X.pipesCount+=1,I("pipe count=%d opts=%j",X.pipesCount,V);var ae=V&&V.end===!1||K===T.stdout||K===T.stderr?we:ie;function ie(){I("onend"),K.end()}X.endEmitted?A.nextTick(ae):Z.once("end",ae),K.on("unpipe",function je(Me,Ae){I("onunpipe"),Me===Z&&Ae&&Ae.hasUnpiped===!1&&(Ae.hasUnpiped=!0,I("cleanup"),K.removeListener("close",ge),K.removeListener("finish",pe),K.removeListener("drain",ce),K.removeListener("error",ee),K.removeListener("unpipe",je),Z.removeListener("end",ie),Z.removeListener("end",we),Z.removeListener("data",J),Y=!0,!X.awaitDrain||K._writableState&&!K._writableState.needDrain||ce())});var ce=function(je){return function(){var Me=je._readableState;I("pipeOnDrain",Me.awaitDrain),Me.awaitDrain&&Me.awaitDrain--,Me.awaitDrain===0&&p(je,"data")&&(Me.flowing=!0,r(je))}}(Z);K.on("drain",ce);var Y=!1,ne=!1;function J(je){I("ondata"),ne=!1,K.write(je)!==!1||ne||((X.pipesCount===1&&X.pipes===K||X.pipesCount>1&&H(X.pipes,K)!==-1)&&!Y&&(I("false write response, pause",X.awaitDrain),X.awaitDrain++,ne=!0),Z.pause())}function ee(je){I("onerror",je),we(),K.removeListener("error",ee),p(K,"error")===0&&K.emit("error",je)}function ge(){K.removeListener("finish",pe),we()}function pe(){I("onfinish"),K.removeListener("close",ge),we()}function we(){I("unpipe"),Z.unpipe(K)}return Z.on("data",J),function(je,Me,Ae){if(typeof je.prependListener=="function")return je.prependListener(Me,Ae);je._events&&je._events[Me]?q(je._events[Me])?je._events[Me].unshift(Ae):je._events[Me]=[Ae,je._events[Me]]:je.on(Me,Ae)}(K,"error",ee),K.once("close",ge),K.once("finish",pe),K.emit("pipe",Z),X.flowing||(I("pipe resume"),Z.resume()),K},P.prototype.unpipe=function(K){var V=this._readableState,Z={hasUnpiped:!1};if(V.pipesCount===0)return this;if(V.pipesCount===1)return K&&K!==V.pipes||(K||(K=V.pipes),V.pipes=null,V.pipesCount=0,V.flowing=!1,K&&K.emit("unpipe",this,Z)),this;if(!K){var X=V.pipes,ae=V.pipesCount;V.pipes=null,V.pipesCount=0,V.flowing=!1;for(var ie=0;ie<ae;ie++)X[ie].emit("unpipe",this,{hasUnpiped:!1});return this}var ce=H(V.pipes,K);return ce===-1||(V.pipes.splice(ce,1),V.pipesCount-=1,V.pipesCount===1&&(V.pipes=V.pipes[0]),K.emit("unpipe",this,Z)),this},P.prototype.on=function(K,V){var Z=j.prototype.on.call(this,K,V);if(K==="data")this._readableState.flowing!==!1&&this.resume();else if(K==="readable"){var X=this._readableState;X.endEmitted||X.readableListening||(X.readableListening=X.needReadable=!0,X.emittedReadable=!1,X.reading?X.length&&se(this):A.nextTick(a,this))}return Z},P.prototype.addListener=P.prototype.on,P.prototype.resume=function(){var K=this._readableState;return K.flowing||(I("resume"),K.flowing=!0,function(V,Z){Z.resumeScheduled||(Z.resumeScheduled=!0,A.nextTick(o,V,Z))}(this,K)),this},P.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this},P.prototype.wrap=function(K){var V=this,Z=this._readableState,X=!1;for(var ae in K.on("end",function(){if(I("wrapped end"),Z.decoder&&!Z.ended){var ce=Z.decoder.end();ce&&ce.length&&V.push(ce)}V.push(null)}),K.on("data",function(ce){I("wrapped data"),Z.decoder&&(ce=Z.decoder.write(ce)),Z.objectMode&&ce==null||(Z.objectMode||ce&&ce.length)&&(V.push(ce)||(X=!0,K.pause()))}),K)this[ae]===void 0&&typeof K[ae]=="function"&&(this[ae]=function(ce){return function(){return K[ce].apply(K,arguments)}}(ae));for(var ie=0;ie<U.length;ie++)K.on(U[ie],this.emit.bind(this,U[ie]));return this._read=function(ce){I("wrapped _read",ce),X&&(X=!1,K.resume())},this},Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),P._fromList=t},220:(F,v,d)=>{var T=d(8490),A=d(7011),O=A.assert,q=A.cachedProperty,p=A.parseBytes;function j(w,S){this.eddsa=w,typeof S!="object"&&(S=p(S)),Array.isArray(S)&&(O(S.length===2*w.encodingLength,"Signature has invalid size"),S={R:S.slice(0,w.encodingLength),S:S.slice(w.encodingLength)}),O(S.R&&S.S,"Signature without R or S"),w.isPoint(S.R)&&(this._R=S.R),S.S instanceof T&&(this._S=S.S),this._Rencoded=Array.isArray(S.R)?S.R:S.Rencoded,this._Sencoded=Array.isArray(S.S)?S.S:S.Sencoded}q(j,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),q(j,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),q(j,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),q(j,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),j.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},j.prototype.toHex=function(){return A.encode(this.toBytes(),"hex").toUpperCase()},F.exports=j},251:(F,v)=>{v.read=function(d,T,A,O,q){var p,j,w=8*q-O-1,S=(1<<w)-1,_=S>>1,N=-7,I=A?q-1:0,b=A?-1:1,B=d[T+I];for(I+=b,p=B&(1<<-N)-1,B>>=-N,N+=w;N>0;p=256*p+d[T+I],I+=b,N-=8);for(j=p&(1<<-N)-1,p>>=-N,N+=O;N>0;j=256*j+d[T+I],I+=b,N-=8);if(p===0)p=1-_;else{if(p===S)return j?NaN:1/0*(B?-1:1);j+=Math.pow(2,O),p-=_}return(B?-1:1)*j*Math.pow(2,p-O)},v.write=function(d,T,A,O,q,p){var j,w,S,_=8*p-q-1,N=(1<<_)-1,I=N>>1,b=q===23?Math.pow(2,-24)-Math.pow(2,-77):0,B=O?0:p-1,D=O?1:-1,U=T<0||T===0&&1/T<0?1:0;for(T=Math.abs(T),isNaN(T)||T===1/0?(w=isNaN(T)?1:0,j=N):(j=Math.floor(Math.log(T)/Math.LN2),T*(S=Math.pow(2,-j))<1&&(j--,S*=2),(T+=j+I>=1?b/S:b*Math.pow(2,1-I))*S>=2&&(j++,S/=2),j+I>=N?(w=0,j=N):j+I>=1?(w=(T*S-1)*Math.pow(2,q),j+=I):(w=T*Math.pow(2,I-1)*Math.pow(2,q),j=0));q>=8;d[A+B]=255&w,B+=D,w/=256,q-=8);for(j=j<<q|w,_+=q;_>0;d[A+B]=255&j,B+=D,j/=256,_-=8);d[A+B-D]|=128*U}},253:(F,v,d)=>{var T=d(8287).Buffer;const{Transform:A}=d(8399);F.exports=class extends A{constructor(O,q={}){super(q),typeof O=="object"&&(O=(q=O).size),this.size=O||512;const{nopad:p,zeroPadding:j=!0}=q;this._zeroPadding=!p&&!!j,this._buffered=[],this._bufferedBytes=0}_transform(O,q,p){for(this._bufferedBytes+=O.length,this._buffered.push(O);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const j=[];let w=0;for(;w<this.size;){const S=this._buffered.shift();if(w+S.length<=this.size)j.push(S),w+=S.length;else{const _=this.size-w;j.push(S.slice(0,_)),w+=_,this._buffered.unshift(S.slice(_))}}this.push(T.concat(j,this.size))}p()}_flush(){if(this._bufferedBytes&&this._zeroPadding){const O=T.alloc(this.size-this._bufferedBytes);this._buffered.push(O),this.push(T.concat(this._buffered)),this._buffered=null}else this._bufferedBytes&&(this.push(T.concat(this._buffered)),this._buffered=null);this.push(null)}}},295:(F,v,d)=>{var T=d(8287).Buffer;F.exports=function(A,O){for(var q=Math.min(A.length,O.length),p=new T(q),j=0;j<q;++j)p[j]=A[j]^O[j];return p}},320:(F,v,d)=>{var T=d(8276);F.exports=function(A){return new T().update(A).digest()}},345:(F,v,d)=>{F.exports=d(7007).EventEmitter},361:F=>{F.exports=function(v,d,T){this.tagname=v,this.parent=d,this.child={},this.attrsMap={},this.val=T,this.addChild=function(A){Array.isArray(this.child[A.tagname])?this.child[A.tagname].push(A):this.child[A.tagname]=[A]}}},370:(F,v,d)=>{var T=d(8490),A=d(6698),O=d(6677),q=d(7011);function p(w){O.call(this,"mont",w),this.a=new T(w.a,16).toRed(this.red),this.b=new T(w.b,16).toRed(this.red),this.i4=new T(4).toRed(this.red).redInvm(),this.two=new T(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function j(w,S,_){O.BasePoint.call(this,w,"projective"),S===null&&_===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new T(S,16),this.z=new T(_,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}A(p,O),F.exports=p,p.prototype.validate=function(w){var S=w.normalize().x,_=S.redSqr(),N=_.redMul(S).redAdd(_.redMul(this.a)).redAdd(S);return N.redSqrt().redSqr().cmp(N)===0},A(j,O.BasePoint),p.prototype.decodePoint=function(w,S){return this.point(q.toArray(w,S),1)},p.prototype.point=function(w,S){return new j(this,w,S)},p.prototype.pointFromJSON=function(w){return j.fromJSON(this,w)},j.prototype.precompute=function(){},j.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},j.fromJSON=function(w,S){return new j(w,S[0],S[1]||w.one)},j.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},j.prototype.isInfinity=function(){return this.z.cmpn(0)===0},j.prototype.dbl=function(){var w=this.x.redAdd(this.z).redSqr(),S=this.x.redSub(this.z).redSqr(),_=w.redSub(S),N=w.redMul(S),I=_.redMul(S.redAdd(this.curve.a24.redMul(_)));return this.curve.point(N,I)},j.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},j.prototype.diffAdd=function(w,S){var _=this.x.redAdd(this.z),N=this.x.redSub(this.z),I=w.x.redAdd(w.z),b=w.x.redSub(w.z).redMul(_),B=I.redMul(N),D=S.z.redMul(b.redAdd(B).redSqr()),U=S.x.redMul(b.redISub(B).redSqr());return this.curve.point(D,U)},j.prototype.mul=function(w){for(var S=w.clone(),_=this,N=this.curve.point(null,null),I=[];S.cmpn(0)!==0;S.iushrn(1))I.push(S.andln(1));for(var b=I.length-1;b>=0;b--)I[b]===0?(_=_.diffAdd(N,this),N=N.dbl()):(N=_.diffAdd(N,this),_=_.dbl());return N},j.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},j.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},j.prototype.eq=function(w){return this.getX().cmp(w.getX())===0},j.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},j.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},382:function(F,v,d){(function(){var T,A={}.hasOwnProperty;T=d(6286),F.exports=function(O){function q(p){q.__super__.constructor.call(this,p)}return function(p,j){for(var w in j)A.call(j,w)&&(p[w]=j[w]);function S(){this.constructor=p}S.prototype=j.prototype,p.prototype=new S,p.__super__=j.prototype}(q,O),q.prototype.document=function(p,j){var w,S,_,N,I;for(j=this.filterOptions(j),N="",S=0,_=(I=p.children).length;S<_;S++)w=I[S],N+=this.writeChildNode(w,j,0);return j.pretty&&N.slice(-j.newline.length)===j.newline&&(N=N.slice(0,-j.newline.length)),N},q}(T)}).call(this)},392:(F,v,d)=>{var T=d(2861).Buffer;function A(O,q){this._block=T.alloc(O),this._finalSize=q,this._blockSize=O,this._len=0}A.prototype.update=function(O,q){typeof O=="string"&&(q=q||"utf8",O=T.from(O,q));for(var p=this._block,j=this._blockSize,w=O.length,S=this._len,_=0;_<w;){for(var N=S%j,I=Math.min(w-_,j-N),b=0;b<I;b++)p[N+b]=O[_+b];_+=I,(S+=I)%j==0&&this._update(p)}return this._len+=w,this},A.prototype.digest=function(O){var q=this._len%this._blockSize;this._block[q]=128,this._block.fill(0,q+1),q>=this._finalSize&&(this._update(this._block),this._block.fill(0));var p=8*this._len;if(p<=4294967295)this._block.writeUInt32BE(p,this._blockSize-4);else{var j=(4294967295&p)>>>0,w=(p-j)/4294967296;this._block.writeUInt32BE(w,this._blockSize-8),this._block.writeUInt32BE(j,this._blockSize-4)}this._update(this._block);var S=this._hash();return O?S.toString(O):S},A.prototype._update=function(){throw new Error("_update must be implemented by subclass")},F.exports=A},400:function(F,v,d){(function(){var T,A,O,q,p,j,w,S,_,N,I,b,B,D,U,$,P,W,G,Q,te,se,ue,de={}.hasOwnProperty;ue=d(9241),te=ue.isObject,Q=ue.isFunction,se=ue.isPlainObject,G=ue.getValue,T=d(1737),b=d(1933),B=d(3906),q=d(2691),p=d(2679),U=d(1268),W=d(2535),D=d(5915),N=d(4130),I=d(6376),j=d(4111),S=d(5529),w=d(7696),_=d(8012),O=d(4238),P=d(3976),$=d(382),A=d(8753),F.exports=function(){function e(a,o,r){var t;this.name="?xml",this.type=T.Document,a||(a={}),t={},a.writer?se(a.writer)&&(t=a.writer,a.writer=new $):a.writer=new $,this.options=a,this.writer=a.writer,this.writerOptions=this.writer.filterOptions(t),this.stringify=new P(a),this.onDataCallback=o||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.createChildNode=function(a){var o,r,t,h,M,H,K,V;switch(a.type){case T.CData:this.cdata(a.value);break;case T.Comment:this.comment(a.value);break;case T.Element:for(r in t={},K=a.attribs)de.call(K,r)&&(o=K[r],t[r]=o.value);this.node(a.name,t);break;case T.Dummy:this.dummy();break;case T.Raw:this.raw(a.value);break;case T.Text:this.text(a.value);break;case T.ProcessingInstruction:this.instruction(a.target,a.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+a.constructor.name)}for(M=0,H=(V=a.children).length;M<H;M++)h=V[M],this.createChildNode(h),h.type===T.Element&&this.up();return this},e.prototype.dummy=function(){return this},e.prototype.node=function(a,o,r){var t;if(a==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(a));return this.openCurrent(),a=G(a),o==null&&(o={}),o=G(o),te(o)||(r=(t=[o,r])[0],o=t[1]),this.currentNode=new B(this,a,o),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,r!=null&&this.text(r),this},e.prototype.element=function(a,o,r){var t,h,M,H,K,V;if(this.currentNode&&this.currentNode.type===T.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(a)||te(a)||Q(a))for(H=this.options.noValidation,this.options.noValidation=!0,(V=new b(this.options).element("TEMP_ROOT")).element(a),this.options.noValidation=H,h=0,M=(K=V.children).length;h<M;h++)t=K[h],this.createChildNode(t),t.type===T.Element&&this.up();else this.node(a,o,r);return this},e.prototype.attribute=function(a,o){var r,t;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(a));if(a!=null&&(a=G(a)),te(a))for(r in a)de.call(a,r)&&(t=a[r],this.attribute(r,t));else Q(o)&&(o=o.apply()),this.options.keepNullAttributes&&o==null?this.currentNode.attribs[a]=new O(this,a,""):o!=null&&(this.currentNode.attribs[a]=new O(this,a,o));return this},e.prototype.text=function(a){var o;return this.openCurrent(),o=new W(this,a),this.onData(this.writer.text(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(a){var o;return this.openCurrent(),o=new q(this,a),this.onData(this.writer.cdata(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(a){var o;return this.openCurrent(),o=new p(this,a),this.onData(this.writer.comment(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(a){var o;return this.openCurrent(),o=new U(this,a),this.onData(this.writer.raw(o,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(a,o){var r,t,h,M,H;if(this.openCurrent(),a!=null&&(a=G(a)),o!=null&&(o=G(o)),Array.isArray(a))for(r=0,M=a.length;r<M;r++)t=a[r],this.instruction(t);else if(te(a))for(t in a)de.call(a,t)&&(h=a[t],this.instruction(t,h));else Q(o)&&(o=o.apply()),H=new D(this,a,o),this.onData(this.writer.processingInstruction(H,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},e.prototype.declaration=function(a,o,r){var t;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return t=new N(this,a,o,r),this.onData(this.writer.declaration(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.doctype=function(a,o,r){if(this.openCurrent(),a==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new I(this,o,r),this.currentNode.rootNodeName=a,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},e.prototype.dtdElement=function(a,o){var r;return this.openCurrent(),r=new w(this,a,o),this.onData(this.writer.dtdElement(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.attList=function(a,o,r,t,h){var M;return this.openCurrent(),M=new j(this,a,o,r,t,h),this.onData(this.writer.dtdAttList(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.entity=function(a,o){var r;return this.openCurrent(),r=new S(this,!1,a,o),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.pEntity=function(a,o){var r;return this.openCurrent(),r=new S(this,!0,a,o),this.onData(this.writer.dtdEntity(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.notation=function(a,o){var r;return this.openCurrent(),r=new _(this,a,o),this.onData(this.writer.dtdNotation(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(a){var o,r,t,h;if(!a.isOpen){if(this.root||this.currentLevel!==0||a.type!==T.Element||(this.root=a),r="",a.type===T.Element){for(t in this.writerOptions.state=A.OpenTag,r=this.writer.indent(a,this.writerOptions,this.currentLevel)+"<"+a.name,h=a.attribs)de.call(h,t)&&(o=h[t],r+=this.writer.attribute(o,this.writerOptions,this.currentLevel));r+=(a.children?">":"/>")+this.writer.endline(a,this.writerOptions,this.currentLevel),this.writerOptions.state=A.InsideTag}else this.writerOptions.state=A.OpenTag,r=this.writer.indent(a,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+a.rootNodeName,a.pubID&&a.sysID?r+=' PUBLIC "'+a.pubID+'" "'+a.sysID+'"':a.sysID&&(r+=' SYSTEM "'+a.sysID+'"'),a.children?(r+=" [",this.writerOptions.state=A.InsideTag):(this.writerOptions.state=A.CloseTag,r+=">"),r+=this.writer.endline(a,this.writerOptions,this.currentLevel);return this.onData(r,this.currentLevel),a.isOpen=!0}},e.prototype.closeNode=function(a){var o;if(!a.isClosed)return this.writerOptions.state=A.CloseTag,o=a.type===T.Element?this.writer.indent(a,this.writerOptions,this.currentLevel)+"</"+a.name+">"+this.writer.endline(a,this.writerOptions,this.currentLevel):this.writer.indent(a,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(a,this.writerOptions,this.currentLevel),this.writerOptions.state=A.None,this.onData(o,this.currentLevel),a.isClosed=!0},e.prototype.onData=function(a,o){return this.documentStarted=!0,this.onDataCallback(a,o+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(a){return a==null?"":"node: <"+a+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(a,o,r){return this.node(a,o,r)},e.prototype.txt=function(a){return this.text(a)},e.prototype.dat=function(a){return this.cdata(a)},e.prototype.com=function(a){return this.comment(a)},e.prototype.ins=function(a,o){return this.instruction(a,o)},e.prototype.dec=function(a,o,r){return this.declaration(a,o,r)},e.prototype.dtd=function(a,o,r){return this.doctype(a,o,r)},e.prototype.e=function(a,o,r){return this.element(a,o,r)},e.prototype.n=function(a,o,r){return this.node(a,o,r)},e.prototype.t=function(a){return this.text(a)},e.prototype.d=function(a){return this.cdata(a)},e.prototype.c=function(a){return this.comment(a)},e.prototype.r=function(a){return this.raw(a)},e.prototype.i=function(a,o){return this.instruction(a,o)},e.prototype.att=function(){return this.currentNode&&this.currentNode.type===T.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode.type===T.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(a,o){return this.entity(a,o)},e.prototype.pent=function(a,o){return this.pEntity(a,o)},e.prototype.not=function(a,o){return this.notation(a,o)},e}()}).call(this)},414:F=>{F.exports=Math.round},453:(F,v,d)=>{var T,A=d(9612),O=d(9383),q=d(1237),p=d(9290),j=d(9538),w=d(8068),S=d(9675),_=d(5345),N=d(1514),I=d(8968),b=d(6188),B=d(8002),D=d(5880),U=d(414),$=d(3093),P=Function,W=function(pe){try{return P('"use strict"; return ('+pe+").constructor;")()}catch{}},G=d(5795),Q=d(655),te=function(){throw new S},se=G?function(){try{return te}catch{try{return G(arguments,"callee").get}catch{return te}}}():te,ue=d(4039)(),de=d(3628),e=d(1064),a=d(8648),o=d(1002),r=d(76),t={},h=typeof Uint8Array<"u"&&de?de(Uint8Array):T,M={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?T:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?T:ArrayBuffer,"%ArrayIteratorPrototype%":ue&&de?de([][Symbol.iterator]()):T,"%AsyncFromSyncIteratorPrototype%":T,"%AsyncFunction%":t,"%AsyncGenerator%":t,"%AsyncGeneratorFunction%":t,"%AsyncIteratorPrototype%":t,"%Atomics%":typeof Atomics>"u"?T:Atomics,"%BigInt%":typeof BigInt>"u"?T:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?T:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?T:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?T:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":O,"%eval%":eval,"%EvalError%":q,"%Float16Array%":typeof Float16Array>"u"?T:Float16Array,"%Float32Array%":typeof Float32Array>"u"?T:Float32Array,"%Float64Array%":typeof Float64Array>"u"?T:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?T:FinalizationRegistry,"%Function%":P,"%GeneratorFunction%":t,"%Int8Array%":typeof Int8Array>"u"?T:Int8Array,"%Int16Array%":typeof Int16Array>"u"?T:Int16Array,"%Int32Array%":typeof Int32Array>"u"?T:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ue&&de?de(de([][Symbol.iterator]())):T,"%JSON%":typeof JSON=="object"?JSON:T,"%Map%":typeof Map>"u"?T:Map,"%MapIteratorPrototype%":typeof Map<"u"&&ue&&de?de(new Map()[Symbol.iterator]()):T,"%Math%":Math,"%Number%":Number,"%Object%":A,"%Object.getOwnPropertyDescriptor%":G,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?T:Promise,"%Proxy%":typeof Proxy>"u"?T:Proxy,"%RangeError%":p,"%ReferenceError%":j,"%Reflect%":typeof Reflect>"u"?T:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?T:Set,"%SetIteratorPrototype%":typeof Set<"u"&&ue&&de?de(new Set()[Symbol.iterator]()):T,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?T:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ue&&de?de(""[Symbol.iterator]()):T,"%Symbol%":ue?Symbol:T,"%SyntaxError%":w,"%ThrowTypeError%":se,"%TypedArray%":h,"%TypeError%":S,"%Uint8Array%":typeof Uint8Array>"u"?T:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?T:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?T:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?T:Uint32Array,"%URIError%":_,"%WeakMap%":typeof WeakMap>"u"?T:WeakMap,"%WeakRef%":typeof WeakRef>"u"?T:WeakRef,"%WeakSet%":typeof WeakSet>"u"?T:WeakSet,"%Function.prototype.call%":r,"%Function.prototype.apply%":o,"%Object.defineProperty%":Q,"%Object.getPrototypeOf%":e,"%Math.abs%":N,"%Math.floor%":I,"%Math.max%":b,"%Math.min%":B,"%Math.pow%":D,"%Math.round%":U,"%Math.sign%":$,"%Reflect.getPrototypeOf%":a};if(de)try{null.error}catch(pe){var H=de(de(pe));M["%Error.prototype%"]=H}var K=function pe(we){var je;if(we==="%AsyncFunction%")je=W("async function () {}");else if(we==="%GeneratorFunction%")je=W("function* () {}");else if(we==="%AsyncGeneratorFunction%")je=W("async function* () {}");else if(we==="%AsyncGenerator%"){var Me=pe("%AsyncGeneratorFunction%");Me&&(je=Me.prototype)}else if(we==="%AsyncIteratorPrototype%"){var Ae=pe("%AsyncGenerator%");Ae&&de&&(je=de(Ae.prototype))}return M[we]=je,je},V={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Z=d(6743),X=d(9957),ae=Z.call(r,Array.prototype.concat),ie=Z.call(o,Array.prototype.splice),ce=Z.call(r,String.prototype.replace),Y=Z.call(r,String.prototype.slice),ne=Z.call(r,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ee=/\\(\\)?/g,ge=function(pe,we){var je,Me=pe;if(X(V,Me)&&(Me="%"+(je=V[Me])[0]+"%"),X(M,Me)){var Ae=M[Me];if(Ae===t&&(Ae=K(Me)),Ae===void 0&&!we)throw new S("intrinsic "+pe+" exists, but is not available. Please file an issue!");return{alias:je,name:Me,value:Ae}}throw new w("intrinsic "+pe+" does not exist!")};F.exports=function(pe,we){if(typeof pe!="string"||pe.length===0)throw new S("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof we!="boolean")throw new S('"allowMissing" argument must be a boolean');if(ne(/^%?[^%]*%?$/,pe)===null)throw new w("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var je=function(Oe){var Pe=Y(Oe,0,1),wt=Y(Oe,-1);if(Pe==="%"&&wt!=="%")throw new w("invalid intrinsic syntax, expected closing `%`");if(wt==="%"&&Pe!=="%")throw new w("invalid intrinsic syntax, expected opening `%`");var Ne=[];return ce(Oe,J,function(Ue,It,He,Ke){Ne[Ne.length]=He?ce(Ke,ee,"$1"):It||Ue}),Ne}(pe),Me=je.length>0?je[0]:"",Ae=ge("%"+Me+"%",we),Ve=Ae.name,Ie=Ae.value,Be=!1,le=Ae.alias;le&&(Me=le[0],ie(je,ae([0,1],le)));for(var he=1,fe=!0;he<je.length;he+=1){var ve=je[he],ye=Y(ve,0,1),xe=Y(ve,-1);if((ye==='"'||ye==="'"||ye==="`"||xe==='"'||xe==="'"||xe==="`")&&ye!==xe)throw new w("property names with quotes must have matching quotes");if(ve!=="constructor"&&fe||(Be=!0),X(M,Ve="%"+(Me+="."+ve)+"%"))Ie=M[Ve];else if(Ie!=null){if(!(ve in Ie)){if(!we)throw new S("base intrinsic for "+pe+" exists, but the property is not available.");return}if(G&&he+1>=je.length){var Le=G(Ie,ve);Ie=(fe=!!Le)&&"get"in Le&&!("originalValue"in Le.get)?Le.get:Ie[ve]}else fe=X(Ie,ve),Ie=Ie[ve];fe&&!Be&&(M[Ve]=Ie)}}return Ie}},454:F=>{var v="%[a-f0-9]{2}",d=new RegExp("("+v+")|([^%]+?)","gi"),T=new RegExp("("+v+")+","gi");function A(q,p){try{return[decodeURIComponent(q.join(""))]}catch{}if(q.length===1)return q;p=p||1;var j=q.slice(0,p),w=q.slice(p);return Array.prototype.concat.call([],A(j),A(w))}function O(q){try{return decodeURIComponent(q)}catch{for(var p=q.match(d)||[],j=1;j<p.length;j++)p=(q=A(p,j).join("")).match(d)||[];return q}}F.exports=function(q){if(typeof q!="string")throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof q+"`");try{return q=q.replace(/\+/g," "),decodeURIComponent(q)}catch{return function(j){for(var w={"%FE%FF":"��","%FF%FE":"��"},S=T.exec(j);S;){try{w[S[0]]=decodeURIComponent(S[0])}catch{var _=O(S[0]);_!==S[0]&&(w[S[0]]=_)}S=T.exec(j)}w["%C2"]="�";for(var N=Object.keys(w),I=0;I<N.length;I++){var b=N[I];j=j.replace(new RegExp(b,"g"),w[b])}return j}(q)}}},462:(F,v,d)=>{var T=d(2861).Buffer;function A(S){T.isBuffer(S)||(S=T.from(S));for(var _=S.length/4|0,N=new Array(_),I=0;I<_;I++)N[I]=S.readUInt32BE(4*I);return N}function O(S){for(;0<S.length;S++)S[0]=0}function q(S,_,N,I,b){for(var B,D,U,$,P=N[0],W=N[1],G=N[2],Q=N[3],te=S[0]^_[0],se=S[1]^_[1],ue=S[2]^_[2],de=S[3]^_[3],e=4,a=1;a<b;a++)B=P[te>>>24]^W[se>>>16&255]^G[ue>>>8&255]^Q[255&de]^_[e++],D=P[se>>>24]^W[ue>>>16&255]^G[de>>>8&255]^Q[255&te]^_[e++],U=P[ue>>>24]^W[de>>>16&255]^G[te>>>8&255]^Q[255&se]^_[e++],$=P[de>>>24]^W[te>>>16&255]^G[se>>>8&255]^Q[255&ue]^_[e++],te=B,se=D,ue=U,de=$;return B=(I[te>>>24]<<24|I[se>>>16&255]<<16|I[ue>>>8&255]<<8|I[255&de])^_[e++],D=(I[se>>>24]<<24|I[ue>>>16&255]<<16|I[de>>>8&255]<<8|I[255&te])^_[e++],U=(I[ue>>>24]<<24|I[de>>>16&255]<<16|I[te>>>8&255]<<8|I[255&se])^_[e++],$=(I[de>>>24]<<24|I[te>>>16&255]<<16|I[se>>>8&255]<<8|I[255&ue])^_[e++],[B>>>=0,D>>>=0,U>>>=0,$>>>=0]}var p=[0,1,2,4,8,16,32,64,128,27,54],j=function(){for(var S=new Array(256),_=0;_<256;_++)S[_]=_<128?_<<1:_<<1^283;for(var N=[],I=[],b=[[],[],[],[]],B=[[],[],[],[]],D=0,U=0,$=0;$<256;++$){var P=U^U<<1^U<<2^U<<3^U<<4;P=P>>>8^255&P^99,N[D]=P,I[P]=D;var W=S[D],G=S[W],Q=S[G],te=257*S[P]^16843008*P;b[0][D]=te<<24|te>>>8,b[1][D]=te<<16|te>>>16,b[2][D]=te<<8|te>>>24,b[3][D]=te,te=16843009*Q^65537*G^257*W^16843008*D,B[0][P]=te<<24|te>>>8,B[1][P]=te<<16|te>>>16,B[2][P]=te<<8|te>>>24,B[3][P]=te,D===0?D=U=1:(D=W^S[S[S[Q^W]]],U^=S[S[U]])}return{SBOX:N,INV_SBOX:I,SUB_MIX:b,INV_SUB_MIX:B}}();function w(S){this._key=A(S),this._reset()}w.blockSize=16,w.keySize=32,w.prototype.blockSize=w.blockSize,w.prototype.keySize=w.keySize,w.prototype._reset=function(){for(var S=this._key,_=S.length,N=_+6,I=4*(N+1),b=[],B=0;B<_;B++)b[B]=S[B];for(B=_;B<I;B++){var D=b[B-1];B%_==0?(D=D<<8|D>>>24,D=j.SBOX[D>>>24]<<24|j.SBOX[D>>>16&255]<<16|j.SBOX[D>>>8&255]<<8|j.SBOX[255&D],D^=p[B/_|0]<<24):_>6&&B%_==4&&(D=j.SBOX[D>>>24]<<24|j.SBOX[D>>>16&255]<<16|j.SBOX[D>>>8&255]<<8|j.SBOX[255&D]),b[B]=b[B-_]^D}for(var U=[],$=0;$<I;$++){var P=I-$,W=b[P-($%4?0:4)];U[$]=$<4||P<=4?W:j.INV_SUB_MIX[0][j.SBOX[W>>>24]]^j.INV_SUB_MIX[1][j.SBOX[W>>>16&255]]^j.INV_SUB_MIX[2][j.SBOX[W>>>8&255]]^j.INV_SUB_MIX[3][j.SBOX[255&W]]}this._nRounds=N,this._keySchedule=b,this._invKeySchedule=U},w.prototype.encryptBlockRaw=function(S){return q(S=A(S),this._keySchedule,j.SUB_MIX,j.SBOX,this._nRounds)},w.prototype.encryptBlock=function(S){var _=this.encryptBlockRaw(S),N=T.allocUnsafe(16);return N.writeUInt32BE(_[0],0),N.writeUInt32BE(_[1],4),N.writeUInt32BE(_[2],8),N.writeUInt32BE(_[3],12),N},w.prototype.decryptBlock=function(S){var _=(S=A(S))[1];S[1]=S[3],S[3]=_;var N=q(S,this._invKeySchedule,j.INV_SUB_MIX,j.INV_SBOX,this._nRounds),I=T.allocUnsafe(16);return I.writeUInt32BE(N[0],0),I.writeUInt32BE(N[3],4),I.writeUInt32BE(N[2],8),I.writeUInt32BE(N[1],12),I},w.prototype.scrub=function(){O(this._keySchedule),O(this._invKeySchedule),O(this._key)},F.exports.AES=w},468:function(F,v,d){(function(){var T,A,O,q,p,j,w,S,_,N,I,b,B,D,U,$,P,W={}.hasOwnProperty;P=d(9241),$=P.isObject,U=P.isFunction,D=P.isEmpty,B=P.getValue,S=null,O=null,q=null,p=null,j=null,I=null,b=null,N=null,w=null,A=null,_=null,T=null,F.exports=function(){function G(Q){this.parent=Q,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,S||(S=d(3906),O=d(2691),q=d(2679),p=d(4130),j=d(6376),I=d(1268),b=d(2535),N=d(5915),w=d(1218),A=d(1737),_=d(6684),d(4797),T=d(4923))}return Object.defineProperty(G.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(G.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(G.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(G.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(G.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new _(this.children)),this.childNodeList}}),Object.defineProperty(G.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(G.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(G.prototype,"previousSibling",{get:function(){var Q;return Q=this.parent.children.indexOf(this),this.parent.children[Q-1]||null}}),Object.defineProperty(G.prototype,"nextSibling",{get:function(){var Q;return Q=this.parent.children.indexOf(this),this.parent.children[Q+1]||null}}),Object.defineProperty(G.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(G.prototype,"textContent",{get:function(){var Q,te,se,ue,de;if(this.nodeType===A.Element||this.nodeType===A.DocumentFragment){for(de="",te=0,se=(ue=this.children).length;te<se;te++)(Q=ue[te]).textContent&&(de+=Q.textContent);return de}return null},set:function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),G.prototype.setParent=function(Q){var te,se,ue,de,e;for(this.parent=Q,Q&&(this.options=Q.options,this.stringify=Q.stringify),e=[],se=0,ue=(de=this.children).length;se<ue;se++)te=de[se],e.push(te.setParent(this));return e},G.prototype.element=function(Q,te,se){var ue,de,e,a,o,r,t,h,M,H,K;if(r=null,te===null&&se==null&&(te=(M=[{},null])[0],se=M[1]),te==null&&(te={}),te=B(te),$(te)||(se=(H=[te,se])[0],te=H[1]),Q!=null&&(Q=B(Q)),Array.isArray(Q))for(e=0,t=Q.length;e<t;e++)de=Q[e],r=this.element(de);else if(U(Q))r=this.element(Q.apply());else if($(Q)){for(o in Q)if(W.call(Q,o))if(K=Q[o],U(K)&&(K=K.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&o.indexOf(this.stringify.convertAttKey)===0)r=this.attribute(o.substr(this.stringify.convertAttKey.length),K);else if(!this.options.separateArrayItems&&Array.isArray(K)&&D(K))r=this.dummy();else if($(K)&&D(K))r=this.element(o);else if(this.options.keepNullNodes||K!=null)if(!this.options.separateArrayItems&&Array.isArray(K))for(a=0,h=K.length;a<h;a++)de=K[a],(ue={})[o]=de,r=this.element(ue);else $(K)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&o.indexOf(this.stringify.convertTextKey)===0?r=this.element(K):(r=this.element(o)).element(K):r=this.element(o,K);else r=this.dummy()}else r=this.options.keepNullNodes||se!==null?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Q.indexOf(this.stringify.convertTextKey)===0?this.text(se):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&Q.indexOf(this.stringify.convertCDataKey)===0?this.cdata(se):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&Q.indexOf(this.stringify.convertCommentKey)===0?this.comment(se):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&Q.indexOf(this.stringify.convertRawKey)===0?this.raw(se):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&Q.indexOf(this.stringify.convertPIKey)===0?this.instruction(Q.substr(this.stringify.convertPIKey.length),se):this.node(Q,te,se):this.dummy();if(r==null)throw new Error("Could not create any elements with: "+Q+". "+this.debugInfo());return r},G.prototype.insertBefore=function(Q,te,se){var ue,de,e,a,o;if(Q!=null&&Q.type)return a=te,(e=Q).setParent(this),a?(de=children.indexOf(a),o=children.splice(de),children.push(e),Array.prototype.push.apply(children,o)):children.push(e),e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Q));return de=this.parent.children.indexOf(this),o=this.parent.children.splice(de),ue=this.parent.element(Q,te,se),Array.prototype.push.apply(this.parent.children,o),ue},G.prototype.insertAfter=function(Q,te,se){var ue,de,e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(Q));return de=this.parent.children.indexOf(this),e=this.parent.children.splice(de+1),ue=this.parent.element(Q,te,se),Array.prototype.push.apply(this.parent.children,e),ue},G.prototype.remove=function(){var Q;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return Q=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[Q,Q-Q+1].concat([])),this.parent},G.prototype.node=function(Q,te,se){var ue,de;return Q!=null&&(Q=B(Q)),te||(te={}),te=B(te),$(te)||(se=(de=[te,se])[0],te=de[1]),ue=new S(this,Q,te),se!=null&&ue.text(se),this.children.push(ue),ue},G.prototype.text=function(Q){var te;return $(Q)&&this.element(Q),te=new b(this,Q),this.children.push(te),this},G.prototype.cdata=function(Q){var te;return te=new O(this,Q),this.children.push(te),this},G.prototype.comment=function(Q){var te;return te=new q(this,Q),this.children.push(te),this},G.prototype.commentBefore=function(Q){var te,se;return te=this.parent.children.indexOf(this),se=this.parent.children.splice(te),this.parent.comment(Q),Array.prototype.push.apply(this.parent.children,se),this},G.prototype.commentAfter=function(Q){var te,se;return te=this.parent.children.indexOf(this),se=this.parent.children.splice(te+1),this.parent.comment(Q),Array.prototype.push.apply(this.parent.children,se),this},G.prototype.raw=function(Q){var te;return te=new I(this,Q),this.children.push(te),this},G.prototype.dummy=function(){return new w(this)},G.prototype.instruction=function(Q,te){var se,ue,de,e,a;if(Q!=null&&(Q=B(Q)),te!=null&&(te=B(te)),Array.isArray(Q))for(e=0,a=Q.length;e<a;e++)se=Q[e],this.instruction(se);else if($(Q))for(se in Q)W.call(Q,se)&&(ue=Q[se],this.instruction(se,ue));else U(te)&&(te=te.apply()),de=new N(this,Q,te),this.children.push(de);return this},G.prototype.instructionBefore=function(Q,te){var se,ue;return se=this.parent.children.indexOf(this),ue=this.parent.children.splice(se),this.parent.instruction(Q,te),Array.prototype.push.apply(this.parent.children,ue),this},G.prototype.instructionAfter=function(Q,te){var se,ue;return se=this.parent.children.indexOf(this),ue=this.parent.children.splice(se+1),this.parent.instruction(Q,te),Array.prototype.push.apply(this.parent.children,ue),this},G.prototype.declaration=function(Q,te,se){var ue,de;return ue=this.document(),de=new p(ue,Q,te,se),ue.children.length===0?ue.children.unshift(de):ue.children[0].type===A.Declaration?ue.children[0]=de:ue.children.unshift(de),ue.root()||ue},G.prototype.dtd=function(Q,te){var se,ue,de,e,a,o,r,t,h;for(se=this.document(),ue=new j(se,Q,te),de=e=0,o=(t=se.children).length;e<o;de=++e)if(t[de].type===A.DocType)return se.children[de]=ue,ue;for(de=a=0,r=(h=se.children).length;a<r;de=++a)if(h[de].isRoot)return se.children.splice(de,0,ue),ue;return se.children.push(ue),ue},G.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},G.prototype.root=function(){var Q;for(Q=this;Q;){if(Q.type===A.Document)return Q.rootObject;if(Q.isRoot)return Q;Q=Q.parent}},G.prototype.document=function(){var Q;for(Q=this;Q;){if(Q.type===A.Document)return Q;Q=Q.parent}},G.prototype.end=function(Q){return this.document().end(Q)},G.prototype.prev=function(){var Q;if((Q=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[Q-1]},G.prototype.next=function(){var Q;if((Q=this.parent.children.indexOf(this))===-1||Q===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[Q+1]},G.prototype.importDocument=function(Q){var te;return(te=Q.root().clone()).parent=this,te.isRoot=!1,this.children.push(te),this},G.prototype.debugInfo=function(Q){var te,se;return(Q=Q||this.name)!=null||(te=this.parent)!=null&&te.name?Q==null?"parent: <"+this.parent.name+">":(se=this.parent)!=null&&se.name?"node: <"+Q+">, parent: <"+this.parent.name+">":"node: <"+Q+">":""},G.prototype.ele=function(Q,te,se){return this.element(Q,te,se)},G.prototype.nod=function(Q,te,se){return this.node(Q,te,se)},G.prototype.txt=function(Q){return this.text(Q)},G.prototype.dat=function(Q){return this.cdata(Q)},G.prototype.com=function(Q){return this.comment(Q)},G.prototype.ins=function(Q,te){return this.instruction(Q,te)},G.prototype.doc=function(){return this.document()},G.prototype.dec=function(Q,te,se){return this.declaration(Q,te,se)},G.prototype.e=function(Q,te,se){return this.element(Q,te,se)},G.prototype.n=function(Q,te,se){return this.node(Q,te,se)},G.prototype.t=function(Q){return this.text(Q)},G.prototype.d=function(Q){return this.cdata(Q)},G.prototype.c=function(Q){return this.comment(Q)},G.prototype.r=function(Q){return this.raw(Q)},G.prototype.i=function(Q,te){return this.instruction(Q,te)},G.prototype.u=function(){return this.up()},G.prototype.importXMLBuilder=function(Q){return this.importDocument(Q)},G.prototype.replaceChild=function(Q,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.removeChild=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.appendChild=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.hasChildNodes=function(){return this.children.length!==0},G.prototype.cloneNode=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.isSupported=function(Q,te){return!0},G.prototype.hasAttributes=function(){return this.attribs.length!==0},G.prototype.compareDocumentPosition=function(Q){var te,se;return(te=this)===Q?0:this.document()!==Q.document()?(se=T.Disconnected|T.ImplementationSpecific,Math.random()<.5?se|=T.Preceding:se|=T.Following,se):te.isAncestor(Q)?T.Contains|T.Preceding:te.isDescendant(Q)?T.Contains|T.Following:te.isPreceding(Q)?T.Preceding:T.Following},G.prototype.isSameNode=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.lookupPrefix=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.isDefaultNamespace=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.lookupNamespaceURI=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.isEqualNode=function(Q){var te,se,ue;if(Q.nodeType!==this.nodeType||Q.children.length!==this.children.length)return!1;for(te=se=0,ue=this.children.length-1;0<=ue?se<=ue:se>=ue;te=0<=ue?++se:--se)if(!this.children[te].isEqualNode(Q.children[te]))return!1;return!0},G.prototype.getFeature=function(Q,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.setUserData=function(Q,te,se){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.getUserData=function(Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},G.prototype.contains=function(Q){return!!Q&&(Q===this||this.isDescendant(Q))},G.prototype.isDescendant=function(Q){var te,se,ue,de;for(se=0,ue=(de=this.children).length;se<ue;se++)if(Q===(te=de[se])||te.isDescendant(Q))return!0;return!1},G.prototype.isAncestor=function(Q){return Q.isDescendant(this)},G.prototype.isPreceding=function(Q){var te,se;return te=this.treePosition(Q),se=this.treePosition(this),te!==-1&&se!==-1&&te<se},G.prototype.isFollowing=function(Q){var te,se;return te=this.treePosition(Q),se=this.treePosition(this),te!==-1&&se!==-1&&te>se},G.prototype.treePosition=function(Q){var te,se;return se=0,te=!1,this.foreachTreeNode(this.document(),function(ue){if(se++,!te&&ue===Q)return te=!0}),te?se:-1},G.prototype.foreachTreeNode=function(Q,te){var se,ue,de,e,a;for(Q||(Q=this.document()),ue=0,de=(e=Q.children).length;ue<de;ue++)if((a=te(se=e[ue]))||(a=this.foreachTreeNode(se,te)))return a},G}()}).call(this)},480:(F,v,d)=>{var T,A=v,O=d(7952),q=d(894),p=d(7011).assert;function j(S){S.type==="short"?this.curve=new q.short(S):S.type==="edwards"?this.curve=new q.edwards(S):this.curve=new q.mont(S),this.g=this.curve.g,this.n=this.curve.n,this.hash=S.hash,p(this.g.validate(),"Invalid curve"),p(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function w(S,_){Object.defineProperty(A,S,{configurable:!0,enumerable:!0,get:function(){var N=new j(_);return Object.defineProperty(A,S,{configurable:!0,enumerable:!0,value:N}),N}})}A.PresetCurve=j,w("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:O.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),w("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:O.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),w("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:O.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),w("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:O.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),w("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:O.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),w("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:O.sha256,gRed:!1,g:["9"]}),w("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:O.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{T=d(4011)}catch{T=void 0}w("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:O.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",T]})},487:(F,v,d)=>{var T=d(6897),A=d(655),O=d(3126),q=d(2205);F.exports=function(p){var j=O(arguments),w=p.length-(arguments.length-1);return T(j,1+(w>0?w:0),!0)},A?A(F.exports,"apply",{value:q}):F.exports.apply=q},507:(F,v,d)=>{var T=d(453),A=d(6556),O=d(8859),q=d(9675),p=T("%Map%",!0),j=A("Map.prototype.get",!0),w=A("Map.prototype.set",!0),S=A("Map.prototype.has",!0),_=A("Map.prototype.delete",!0),N=A("Map.prototype.size",!0);F.exports=!!p&&function(){var I,b={assert:function(B){if(!b.has(B))throw new q("Side channel does not contain "+O(B))},delete:function(B){if(I){var D=_(I,B);return N(I)===0&&(I=void 0),D}return!1},get:function(B){if(I)return j(I,B)},has:function(B){return!!I&&S(I,B)},set:function(B,D){I||(I=new p),w(I,B,D)}};return b}},528:F=>{F.exports=(v,d)=>{if(typeof v!="string"||typeof d!="string")throw new TypeError("Expected the arguments to be of type `string`");if(d==="")return[v];const T=v.indexOf(d);return T===-1?[v]:[v.slice(0,T),v.slice(T+d.length)]}},530:(F,v,d)=>{var T={ECB:d(2632),CBC:d(2884),CFB:d(6383),CFB8:d(6975),CFB1:d(5264),OFB:d(6843),CTR:d(3053),GCM:d(3053)},A=d(3219);for(var O in A)A[O].module=T[A[O].mode];F.exports=A},537:(F,v,d)=>{var T=d(5606),A=d(6763),O=Object.getOwnPropertyDescriptors||function(M){for(var H=Object.keys(M),K={},V=0;V<H.length;V++)K[H[V]]=Object.getOwnPropertyDescriptor(M,H[V]);return K},q=/%[sdj%]/g;v.format=function(M){if(!W(M)){for(var H=[],K=0;K<arguments.length;K++)H.push(S(arguments[K]));return H.join(" ")}K=1;for(var V=arguments,Z=V.length,X=String(M).replace(q,function(ie){if(ie==="%%")return"%";if(K>=Z)return ie;switch(ie){case"%s":return String(V[K++]);case"%d":return Number(V[K++]);case"%j":try{return JSON.stringify(V[K++])}catch{return"[Circular]"}default:return ie}}),ae=V[K];K<Z;ae=V[++K])$(ae)||!te(ae)?X+=" "+ae:X+=" "+S(ae);return X},v.deprecate=function(M,H){if(T!==void 0&&T.noDeprecation===!0)return M;if(T===void 0)return function(){return v.deprecate(M,H).apply(this,arguments)};var K=!1;return function(){if(!K){if(T.throwDeprecation)throw new Error(H);T.traceDeprecation?A.trace(H):A.error(H),K=!0}return M.apply(this,arguments)}};var p={},j=/^$/;if(T.env.NODE_DEBUG){var w=T.env.NODE_DEBUG;w=w.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),j=new RegExp("^"+w+"$","i")}function S(M,H){var K={seen:[],stylize:N};return arguments.length>=3&&(K.depth=arguments[2]),arguments.length>=4&&(K.colors=arguments[3]),U(H)?K.showHidden=H:H&&v._extend(K,H),G(K.showHidden)&&(K.showHidden=!1),G(K.depth)&&(K.depth=2),G(K.colors)&&(K.colors=!1),G(K.customInspect)&&(K.customInspect=!0),K.colors&&(K.stylize=_),I(K,M,K.depth)}function _(M,H){var K=S.styles[H];return K?"\x1B["+S.colors[K][0]+"m"+M+"\x1B["+S.colors[K][1]+"m":M}function N(M,H){return M}function I(M,H,K){if(M.customInspect&&H&&de(H.inspect)&&H.inspect!==v.inspect&&(!H.constructor||H.constructor.prototype!==H)){var V=H.inspect(K,M);return W(V)||(V=I(M,V,K)),V}var Z=function(ee,ge){if(G(ge))return ee.stylize("undefined","undefined");if(W(ge)){var pe="'"+JSON.stringify(ge).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ee.stylize(pe,"string")}return P(ge)?ee.stylize(""+ge,"number"):U(ge)?ee.stylize(""+ge,"boolean"):$(ge)?ee.stylize("null","null"):void 0}(M,H);if(Z)return Z;var X=Object.keys(H),ae=function(ee){var ge={};return ee.forEach(function(pe,we){ge[pe]=!0}),ge}(X);if(M.showHidden&&(X=Object.getOwnPropertyNames(H)),ue(H)&&(X.indexOf("message")>=0||X.indexOf("description")>=0))return b(H);if(X.length===0){if(de(H)){var ie=H.name?": "+H.name:"";return M.stylize("[Function"+ie+"]","special")}if(Q(H))return M.stylize(RegExp.prototype.toString.call(H),"regexp");if(se(H))return M.stylize(Date.prototype.toString.call(H),"date");if(ue(H))return b(H)}var ce,Y="",ne=!1,J=["{","}"];return D(H)&&(ne=!0,J=["[","]"]),de(H)&&(Y=" [Function"+(H.name?": "+H.name:"")+"]"),Q(H)&&(Y=" "+RegExp.prototype.toString.call(H)),se(H)&&(Y=" "+Date.prototype.toUTCString.call(H)),ue(H)&&(Y=" "+b(H)),X.length!==0||ne&&H.length!=0?K<0?Q(H)?M.stylize(RegExp.prototype.toString.call(H),"regexp"):M.stylize("[Object]","special"):(M.seen.push(H),ce=ne?function(ee,ge,pe,we,je){for(var Me=[],Ae=0,Ve=ge.length;Ae<Ve;++Ae)r(ge,String(Ae))?Me.push(B(ee,ge,pe,we,String(Ae),!0)):Me.push("");return je.forEach(function(Ie){Ie.match(/^\d+$/)||Me.push(B(ee,ge,pe,we,Ie,!0))}),Me}(M,H,K,ae,X):X.map(function(ee){return B(M,H,K,ae,ee,ne)}),M.seen.pop(),function(ee,ge,pe){return ee.reduce(function(we,je){return je.indexOf(`
|
|
16
|
+
`),we+je.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?pe[0]+(ge===""?"":ge+`
|
|
17
|
+
`)+" "+ee.join(`,
|
|
18
|
+
`)+" "+pe[1]:pe[0]+ge+" "+ee.join(", ")+" "+pe[1]}(ce,Y,J)):J[0]+Y+J[1]}function b(M){return"["+Error.prototype.toString.call(M)+"]"}function B(M,H,K,V,Z,X){var ae,ie,ce;if((ce=Object.getOwnPropertyDescriptor(H,Z)||{value:H[Z]}).get?ie=ce.set?M.stylize("[Getter/Setter]","special"):M.stylize("[Getter]","special"):ce.set&&(ie=M.stylize("[Setter]","special")),r(V,Z)||(ae="["+Z+"]"),ie||(M.seen.indexOf(ce.value)<0?(ie=$(K)?I(M,ce.value,null):I(M,ce.value,K-1)).indexOf(`
|
|
19
|
+
`)>-1&&(ie=X?ie.split(`
|
|
20
|
+
`).map(function(Y){return" "+Y}).join(`
|
|
21
|
+
`).slice(2):`
|
|
22
|
+
`+ie.split(`
|
|
23
|
+
`).map(function(Y){return" "+Y}).join(`
|
|
24
|
+
`)):ie=M.stylize("[Circular]","special")),G(ae)){if(X&&Z.match(/^\d+$/))return ie;(ae=JSON.stringify(""+Z)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(ae=ae.slice(1,-1),ae=M.stylize(ae,"name")):(ae=ae.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),ae=M.stylize(ae,"string"))}return ae+": "+ie}function D(M){return Array.isArray(M)}function U(M){return typeof M=="boolean"}function $(M){return M===null}function P(M){return typeof M=="number"}function W(M){return typeof M=="string"}function G(M){return M===void 0}function Q(M){return te(M)&&e(M)==="[object RegExp]"}function te(M){return typeof M=="object"&&M!==null}function se(M){return te(M)&&e(M)==="[object Date]"}function ue(M){return te(M)&&(e(M)==="[object Error]"||M instanceof Error)}function de(M){return typeof M=="function"}function e(M){return Object.prototype.toString.call(M)}function a(M){return M<10?"0"+M.toString(10):M.toString(10)}v.debuglog=function(M){if(M=M.toUpperCase(),!p[M])if(j.test(M)){var H=T.pid;p[M]=function(){var K=v.format.apply(v,arguments);A.error("%s %d: %s",M,H,K)}}else p[M]=function(){};return p[M]},v.inspect=S,S.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},S.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},v.types=d(9032),v.isArray=D,v.isBoolean=U,v.isNull=$,v.isNullOrUndefined=function(M){return M==null},v.isNumber=P,v.isString=W,v.isSymbol=function(M){return typeof M=="symbol"},v.isUndefined=G,v.isRegExp=Q,v.types.isRegExp=Q,v.isObject=te,v.isDate=se,v.types.isDate=se,v.isError=ue,v.types.isNativeError=ue,v.isFunction=de,v.isPrimitive=function(M){return M===null||typeof M=="boolean"||typeof M=="number"||typeof M=="string"||typeof M=="symbol"||M===void 0},v.isBuffer=d(1135);var o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function r(M,H){return Object.prototype.hasOwnProperty.call(M,H)}v.log=function(){var M,H;A.log("%s - %s",(H=[a((M=new Date).getHours()),a(M.getMinutes()),a(M.getSeconds())].join(":"),[M.getDate(),o[M.getMonth()],H].join(" ")),v.format.apply(v,arguments))},v.inherits=d(6698),v._extend=function(M,H){if(!H||!te(H))return M;for(var K=Object.keys(H),V=K.length;V--;)M[K[V]]=H[K[V]];return M};var t=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function h(M,H){if(!M){var K=new Error("Promise was rejected with a falsy value");K.reason=M,M=K}return H(M)}v.promisify=function(M){if(typeof M!="function")throw new TypeError('The "original" argument must be of type Function');if(t&&M[t]){var H;if(typeof(H=M[t])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(H,t,{value:H,enumerable:!1,writable:!1,configurable:!0}),H}function H(){for(var K,V,Z=new Promise(function(ie,ce){K=ie,V=ce}),X=[],ae=0;ae<arguments.length;ae++)X.push(arguments[ae]);X.push(function(ie,ce){ie?V(ie):K(ce)});try{M.apply(this,X)}catch(ie){V(ie)}return Z}return Object.setPrototypeOf(H,Object.getPrototypeOf(M)),t&&Object.defineProperty(H,t,{value:H,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(H,O(M))},v.promisify.custom=t,v.callbackify=function(M){if(typeof M!="function")throw new TypeError('The "original" argument must be of type Function');function H(){for(var K=[],V=0;V<arguments.length;V++)K.push(arguments[V]);var Z=K.pop();if(typeof Z!="function")throw new TypeError("The last argument must be of type Function");var X=this,ae=function(){return Z.apply(X,arguments)};M.apply(this,K).then(function(ie){T.nextTick(ae.bind(null,null,ie))},function(ie){T.nextTick(h.bind(null,ie,ae))})}return Object.setPrototypeOf(H,Object.getPrototypeOf(M)),Object.defineProperties(H,O(M)),H}},592:(F,v,d)=>{var T=d(655),A=function(){return!!T};A.hasArrayLengthDefineBug=function(){if(!T)return null;try{return T([],"length",{value:1}).length!==1}catch{return!0}},F.exports=A},635:(F,v,d)=>{const T=d(5334).buildOptions,A={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(U){return U},attrValueProcessor:function(U){return U}},O=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function q(U){this.options=T(U,A,O),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=B),this.options.cdataTagName?this.isCDATA=D:this.isCDATA=function(){return!1},this.replaceCDATAstr=j,this.replaceCDATAarr=w,this.processTextOrObjNode=p,this.options.format?(this.indentate=b,this.tagEndChar=`>
|
|
25
|
+
`,this.newLine=`
|
|
26
|
+
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=I,this.buildObjNode=_):(this.buildTextNode=N,this.buildObjNode=S),this.buildTextValNode=N,this.buildObjectNode=S}function p(U,$,P){const W=this.j2x(U,P+1);return U[this.options.textNodeName]!==void 0&&Object.keys(U).length===1?this.buildTextNode(W.val,$,W.attrStr,P):this.buildObjNode(W.val,$,W.attrStr,P)}function j(U,$){return U=this.options.tagValueProcessor(""+U),this.options.cdataPositionChar===""||U===""?U+"<![CDATA["+$+"]]"+this.tagEndChar:U.replace(this.options.cdataPositionChar,"<![CDATA["+$+"]]"+this.tagEndChar)}function w(U,$){if(U=this.options.tagValueProcessor(""+U),this.options.cdataPositionChar===""||U==="")return U+"<![CDATA["+$.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(let P in $)U=U.replace(this.options.cdataPositionChar,"<![CDATA["+$[P]+"]]>");return U+this.newLine}function S(U,$,P,W){return P&&U.indexOf("<")===-1?this.indentate(W)+"<"+$+P+">"+U+"</"+$+this.tagEndChar:this.indentate(W)+"<"+$+P+this.tagEndChar+U+this.indentate(W)+"</"+$+this.tagEndChar}function _(U,$,P,W){return U!==""?this.buildObjectNode(U,$,P,W):this.indentate(W)+"<"+$+P+"/"+this.tagEndChar}function N(U,$,P,W){return this.indentate(W)+"<"+$+P+">"+this.options.tagValueProcessor(U)+"</"+$+this.tagEndChar}function I(U,$,P,W){return U!==""?this.buildTextValNode(U,$,P,W):this.indentate(W)+"<"+$+P+"/"+this.tagEndChar}function b(U){return this.options.indentBy.repeat(U)}function B(U){return!!U.startsWith(this.options.attributeNamePrefix)&&U.substr(this.attrPrefixLen)}function D(U){return U===this.options.cdataTagName}q.prototype.parse=function(U){return Array.isArray(U)&&this.options.rootNodeName&&this.options.rootNodeName.length>1&&(U={[this.options.rootNodeName]:U}),this.j2x(U,0).val},q.prototype.j2x=function(U,$){let P="",W="";for(let G in U)if(U[G]!==void 0)if(U[G]===null)W+=this.indentate($)+"<"+G+"/"+this.tagEndChar;else if(U[G]instanceof Date)W+=this.buildTextNode(U[G],G,"",$);else if(typeof U[G]!="object"){const Q=this.isAttribute(G);Q?P+=" "+Q+'="'+this.options.attrValueProcessor(""+U[G])+'"':this.isCDATA(G)?U[this.options.textNodeName]?W+=this.replaceCDATAstr(U[this.options.textNodeName],U[G]):W+=this.replaceCDATAstr("",U[G]):G===this.options.textNodeName?U[this.options.cdataTagName]||(W+=this.options.tagValueProcessor(""+U[G])):W+=this.buildTextNode(U[G],G,"",$)}else if(Array.isArray(U[G]))if(this.isCDATA(G))W+=this.indentate($),U[this.options.textNodeName]?W+=this.replaceCDATAarr(U[this.options.textNodeName],U[G]):W+=this.replaceCDATAarr("",U[G]);else{const Q=U[G].length;for(let te=0;te<Q;te++){const se=U[G][te];se===void 0||(W+=se===null?this.indentate($)+"<"+G+"/"+this.tagEndChar:typeof se=="object"?this.processTextOrObjNode(se,G,$):this.buildTextNode(se,G,"",$))}}else if(this.options.attrNodeName&&G===this.options.attrNodeName){const Q=Object.keys(U[G]),te=Q.length;for(let se=0;se<te;se++)P+=" "+Q[se]+'="'+this.options.attrValueProcessor(""+U[G][Q[se]])+'"'}else W+=this.processTextOrObjNode(U[G],G,$);return{attrStr:P,val:W}},F.exports=q},640:function(F){(function(v){const d="(0?\\d+|0x[a-f0-9]+)",T={fourOctet:new RegExp(`^${d}\\.${d}\\.${d}\\.${d}$`,"i"),threeOctet:new RegExp(`^${d}\\.${d}\\.${d}$`,"i"),twoOctet:new RegExp(`^${d}\\.${d}$`,"i"),longValue:new RegExp(`^${d}$`,"i")},A=new RegExp("^0[0-7]+$","i"),O=new RegExp("^0x[a-f0-9]+$","i"),q="%[0-9a-z]{1,}",p="(?:[0-9a-f]+::?)+",j={zoneIndex:new RegExp(q,"i"),native:new RegExp(`^(::)?(${p})?([0-9a-f]+)?(::)?(${q})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${d}\\.${d}\\.${d}\\.${d}(${q})?)$`,"i"),transitional:new RegExp(`^((?:${p})|(?:::)(?:${p})?)${d}\\.${d}\\.${d}\\.${d}(${q})?$`,"i")};function w(b,B){if(b.indexOf("::")!==b.lastIndexOf("::"))return null;let D,U,$=0,P=-1,W=(b.match(j.zoneIndex)||[])[0];for(W&&(W=W.substring(1),b=b.replace(/%.+$/,""));(P=b.indexOf(":",P+1))>=0;)$++;if(b.substr(0,2)==="::"&&$--,b.substr(-2,2)==="::"&&$--,$>B)return null;for(U=B-$,D=":";U--;)D+="0:";return(b=b.replace("::",D))[0]===":"&&(b=b.slice(1)),b[b.length-1]===":"&&(b=b.slice(0,-1)),{parts:B=function(){const G=b.split(":"),Q=[];for(let te=0;te<G.length;te++)Q.push(parseInt(G[te],16));return Q}(),zoneId:W}}function S(b,B,D,U){if(b.length!==B.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let $,P=0;for(;U>0;){if($=D-U,$<0&&($=0),b[P]>>$!=B[P]>>$)return!1;U-=D,P+=1}return!0}function _(b){if(O.test(b))return parseInt(b,16);if(b[0]==="0"&&!isNaN(parseInt(b[1],10))){if(A.test(b))return parseInt(b,8);throw new Error(`ipaddr: cannot parse ${b} as octal`)}return parseInt(b,10)}function N(b,B){for(;b.length<B;)b=`0${b}`;return b}const I={};I.IPv4=function(){function b(B){if(B.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let D,U;for(D=0;D<B.length;D++)if(U=B[D],!(0<=U&&U<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=B}return b.prototype.SpecialRanges={unspecified:[[new b([0,0,0,0]),8]],broadcast:[[new b([255,255,255,255]),32]],multicast:[[new b([224,0,0,0]),4]],linkLocal:[[new b([169,254,0,0]),16]],loopback:[[new b([127,0,0,0]),8]],carrierGradeNat:[[new b([100,64,0,0]),10]],private:[[new b([10,0,0,0]),8],[new b([172,16,0,0]),12],[new b([192,168,0,0]),16]],reserved:[[new b([192,0,0,0]),24],[new b([192,0,2,0]),24],[new b([192,88,99,0]),24],[new b([198,18,0,0]),15],[new b([198,51,100,0]),24],[new b([203,0,113,0]),24],[new b([240,0,0,0]),4]],as112:[[new b([192,175,48,0]),24],[new b([192,31,196,0]),24]],amt:[[new b([192,52,193,0]),24]]},b.prototype.kind=function(){return"ipv4"},b.prototype.match=function(B,D){let U;if(D===void 0&&(U=B,B=U[0],D=U[1]),B.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return S(this.octets,B.octets,8,D)},b.prototype.prefixLengthFromSubnetMask=function(){let B=0,D=!1;const U={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};let $,P,W;for($=3;$>=0;$-=1){if(P=this.octets[$],!(P in U)||(W=U[P],D&&W!==0))return null;W!==8&&(D=!0),B+=W}return 32-B},b.prototype.range=function(){return I.subnetMatch(this,this.SpecialRanges)},b.prototype.toByteArray=function(){return this.octets.slice(0)},b.prototype.toIPv4MappedAddress=function(){return I.IPv6.parse(`::ffff:${this.toString()}`)},b.prototype.toNormalizedString=function(){return this.toString()},b.prototype.toString=function(){return this.octets.join(".")},b}(),I.IPv4.broadcastAddressFromCIDR=function(b){try{const B=this.parseCIDR(b),D=B[0].toByteArray(),U=this.subnetMaskFromPrefixLength(B[1]).toByteArray(),$=[];let P=0;for(;P<4;)$.push(parseInt(D[P],10)|255^parseInt(U[P],10)),P++;return new this($)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},I.IPv4.isIPv4=function(b){return this.parser(b)!==null},I.IPv4.isValid=function(b){try{return new this(this.parser(b)),!0}catch{return!1}},I.IPv4.isValidCIDR=function(b){try{return this.parseCIDR(b),!0}catch{return!1}},I.IPv4.isValidFourPartDecimal=function(b){return!(!I.IPv4.isValid(b)||!b.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},I.IPv4.networkAddressFromCIDR=function(b){let B,D,U,$,P;try{for(B=this.parseCIDR(b),U=B[0].toByteArray(),P=this.subnetMaskFromPrefixLength(B[1]).toByteArray(),$=[],D=0;D<4;)$.push(parseInt(U[D],10)&parseInt(P[D],10)),D++;return new this($)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},I.IPv4.parse=function(b){const B=this.parser(b);if(B===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(B)},I.IPv4.parseCIDR=function(b){let B;if(B=b.match(/^(.+)\/(\d+)$/)){const D=parseInt(B[2]);if(D>=0&&D<=32){const U=[this.parse(B[1]),D];return Object.defineProperty(U,"toString",{value:function(){return this.join("/")}}),U}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},I.IPv4.parser=function(b){let B,D,U;if(B=b.match(T.fourOctet))return function(){const $=B.slice(1,6),P=[];for(let W=0;W<$.length;W++)D=$[W],P.push(_(D));return P}();if(B=b.match(T.longValue)){if(U=_(B[1]),U>4294967295||U<0)throw new Error("ipaddr: address outside defined range");return function(){const $=[];let P;for(P=0;P<=24;P+=8)$.push(U>>P&255);return $}().reverse()}return(B=b.match(T.twoOctet))?function(){const $=B.slice(1,4),P=[];if(U=_($[1]),U>16777215||U<0)throw new Error("ipaddr: address outside defined range");return P.push(_($[0])),P.push(U>>16&255),P.push(U>>8&255),P.push(255&U),P}():(B=b.match(T.threeOctet))?function(){const $=B.slice(1,5),P=[];if(U=_($[2]),U>65535||U<0)throw new Error("ipaddr: address outside defined range");return P.push(_($[0])),P.push(_($[1])),P.push(U>>8&255),P.push(255&U),P}():null},I.IPv4.subnetMaskFromPrefixLength=function(b){if((b=parseInt(b))<0||b>32)throw new Error("ipaddr: invalid IPv4 prefix length");const B=[0,0,0,0];let D=0;const U=Math.floor(b/8);for(;D<U;)B[D]=255,D++;return U<4&&(B[U]=Math.pow(2,b%8)-1<<8-b%8),new this(B)},I.IPv6=function(){function b(B,D){let U,$;if(B.length===16)for(this.parts=[],U=0;U<=14;U+=2)this.parts.push(B[U]<<8|B[U+1]);else{if(B.length!==8)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=B}for(U=0;U<this.parts.length;U++)if($=this.parts[U],!(0<=$&&$<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");D&&(this.zoneId=D)}return b.prototype.SpecialRanges={unspecified:[new b([0,0,0,0,0,0,0,0]),128],linkLocal:[new b([65152,0,0,0,0,0,0,0]),10],multicast:[new b([65280,0,0,0,0,0,0,0]),8],loopback:[new b([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new b([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new b([0,0,0,0,0,65535,0,0]),96],discard:[new b([256,0,0,0,0,0,0,0]),64],rfc6145:[new b([0,0,0,0,65535,0,0,0]),96],rfc6052:[new b([100,65435,0,0,0,0,0,0]),96],"6to4":[new b([8194,0,0,0,0,0,0,0]),16],teredo:[new b([8193,0,0,0,0,0,0,0]),32],benchmarking:[new b([8193,2,0,0,0,0,0,0]),48],amt:[new b([8193,3,0,0,0,0,0,0]),32],as112v6:[[new b([8193,4,274,0,0,0,0,0]),48],[new b([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new b([8193,16,0,0,0,0,0,0]),28],orchid2:[new b([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new b([8193,48,0,0,0,0,0,0]),28],reserved:[[new b([8193,0,0,0,0,0,0,0]),23],[new b([8193,3512,0,0,0,0,0,0]),32]]},b.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},b.prototype.kind=function(){return"ipv6"},b.prototype.match=function(B,D){let U;if(D===void 0&&(U=B,B=U[0],D=U[1]),B.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return S(this.parts,B.parts,16,D)},b.prototype.prefixLengthFromSubnetMask=function(){let B=0,D=!1;const U={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0};let $,P;for(let W=7;W>=0;W-=1){if($=this.parts[W],!($ in U)||(P=U[$],D&&P!==0))return null;P!==16&&(D=!0),B+=P}return 128-B},b.prototype.range=function(){return I.subnetMatch(this,this.SpecialRanges)},b.prototype.toByteArray=function(){let B;const D=[],U=this.parts;for(let $=0;$<U.length;$++)B=U[$],D.push(B>>8),D.push(255&B);return D},b.prototype.toFixedLengthString=function(){const B=(function(){const U=[];for(let $=0;$<this.parts.length;$++)U.push(N(this.parts[$].toString(16),4));return U}).call(this).join(":");let D="";return this.zoneId&&(D=`%${this.zoneId}`),B+D},b.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");const B=this.parts.slice(-2),D=B[0],U=B[1];return new I.IPv4([D>>8,255&D,U>>8,255&U])},b.prototype.toNormalizedString=function(){const B=(function(){const U=[];for(let $=0;$<this.parts.length;$++)U.push(this.parts[$].toString(16));return U}).call(this).join(":");let D="";return this.zoneId&&(D=`%${this.zoneId}`),B+D},b.prototype.toRFC5952String=function(){const B=/((^|:)(0(:|$)){2,})/g,D=this.toNormalizedString();let U,$=0,P=-1;for(;U=B.exec(D);)U[0].length>P&&($=U.index,P=U[0].length);return P<0?D:`${D.substring(0,$)}::${D.substring($+P)}`},b.prototype.toString=function(){return this.toRFC5952String()},b}(),I.IPv6.broadcastAddressFromCIDR=function(b){try{const B=this.parseCIDR(b),D=B[0].toByteArray(),U=this.subnetMaskFromPrefixLength(B[1]).toByteArray(),$=[];let P=0;for(;P<16;)$.push(parseInt(D[P],10)|255^parseInt(U[P],10)),P++;return new this($)}catch(B){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${B})`)}},I.IPv6.isIPv6=function(b){return this.parser(b)!==null},I.IPv6.isValid=function(b){if(typeof b=="string"&&b.indexOf(":")===-1)return!1;try{const B=this.parser(b);return new this(B.parts,B.zoneId),!0}catch{return!1}},I.IPv6.isValidCIDR=function(b){if(typeof b=="string"&&b.indexOf(":")===-1)return!1;try{return this.parseCIDR(b),!0}catch{return!1}},I.IPv6.networkAddressFromCIDR=function(b){let B,D,U,$,P;try{for(B=this.parseCIDR(b),U=B[0].toByteArray(),P=this.subnetMaskFromPrefixLength(B[1]).toByteArray(),$=[],D=0;D<16;)$.push(parseInt(U[D],10)&parseInt(P[D],10)),D++;return new this($)}catch(W){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${W})`)}},I.IPv6.parse=function(b){const B=this.parser(b);if(B.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(B.parts,B.zoneId)},I.IPv6.parseCIDR=function(b){let B,D,U;if((D=b.match(/^(.+)\/(\d+)$/))&&(B=parseInt(D[2]),B>=0&&B<=128))return U=[this.parse(D[1]),B],Object.defineProperty(U,"toString",{value:function(){return this.join("/")}}),U;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},I.IPv6.parser=function(b){let B,D,U,$,P,W;if(U=b.match(j.deprecatedTransitional))return this.parser(`::ffff:${U[1]}`);if(j.native.test(b))return w(b,8);if((U=b.match(j.transitional))&&(W=U[6]||"",B=U[1],U[1].endsWith("::")||(B=B.slice(0,-1)),B=w(B+W,6),B.parts)){for(P=[parseInt(U[2]),parseInt(U[3]),parseInt(U[4]),parseInt(U[5])],D=0;D<P.length;D++)if($=P[D],!(0<=$&&$<=255))return null;return B.parts.push(P[0]<<8|P[1]),B.parts.push(P[2]<<8|P[3]),{parts:B.parts,zoneId:B.zoneId}}return null},I.IPv6.subnetMaskFromPrefixLength=function(b){if((b=parseInt(b))<0||b>128)throw new Error("ipaddr: invalid IPv6 prefix length");const B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let D=0;const U=Math.floor(b/8);for(;D<U;)B[D]=255,D++;return U<16&&(B[U]=Math.pow(2,b%8)-1<<8-b%8),new this(B)},I.fromByteArray=function(b){const B=b.length;if(B===4)return new I.IPv4(b);if(B===16)return new I.IPv6(b);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},I.isValid=function(b){return I.IPv6.isValid(b)||I.IPv4.isValid(b)},I.isValidCIDR=function(b){return I.IPv6.isValidCIDR(b)||I.IPv4.isValidCIDR(b)},I.parse=function(b){if(I.IPv6.isValid(b))return I.IPv6.parse(b);if(I.IPv4.isValid(b))return I.IPv4.parse(b);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},I.parseCIDR=function(b){try{return I.IPv6.parseCIDR(b)}catch{try{return I.IPv4.parseCIDR(b)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},I.process=function(b){const B=this.parse(b);return B.kind()==="ipv6"&&B.isIPv4MappedAddress()?B.toIPv4Address():B},I.subnetMatch=function(b,B,D){let U,$,P,W;for($ in D==null&&(D="unicast"),B)if(Object.prototype.hasOwnProperty.call(B,$)){for(P=B[$],!P[0]||P[0]instanceof Array||(P=[P]),U=0;U<P.length;U++)if(W=P[U],b.kind()===W[0].kind()&&b.match.apply(b,W))return $}return D},F.exports?F.exports=I:v.ipaddr=I})(this)},650:(F,v,d)=>{var T=d(462),A=d(2861).Buffer,O=d(6168);function q(p,j,w,S){O.call(this),this._cipher=new T.AES(j),this._prev=A.from(w),this._cache=A.allocUnsafe(0),this._secCache=A.allocUnsafe(0),this._decrypt=S,this._mode=p}d(6698)(q,O),q.prototype._update=function(p){return this._mode.encrypt(this,p,this._decrypt)},q.prototype._final=function(){this._cipher.scrub()},F.exports=q},655:F=>{var v=Object.defineProperty||!1;if(v)try{v({},"a",{value:1})}catch{v=!1}F.exports=v},672:(F,v,d)=>{var T=d(4116).Buffer,A=d(1638);F.exports=function(){function O(){(function(q,p){if(!(q instanceof p))throw new TypeError("Cannot call a class as a function")})(this,O),this.head=null,this.tail=null,this.length=0}return O.prototype.push=function(q){var p={data:q,next:null};this.length>0?this.tail.next=p:this.head=p,this.tail=p,++this.length},O.prototype.unshift=function(q){var p={data:q,next:this.head};this.length===0&&(this.tail=p),this.head=p,++this.length},O.prototype.shift=function(){if(this.length!==0){var q=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,q}},O.prototype.clear=function(){this.head=this.tail=null,this.length=0},O.prototype.join=function(q){if(this.length===0)return"";for(var p=this.head,j=""+p.data;p=p.next;)j+=q+p.data;return j},O.prototype.concat=function(q){if(this.length===0)return T.alloc(0);for(var p,j,w=T.allocUnsafe(q>>>0),S=this.head,_=0;S;)p=w,j=_,S.data.copy(p,j),_+=S.data.length,S=S.next;return w},O}(),A&&A.inspect&&A.inspect.custom&&(F.exports.prototype[A.inspect.custom]=function(){var O=A.inspect({length:this.length});return this.constructor.name+" "+O})},735:(F,v,d)=>{var T=d(6698),A=d(82);function O(q){A.call(this,q),this.enc="pem"}T(O,A),F.exports=O,O.prototype.encode=function(q,p){for(var j=A.prototype.encode.call(this,q).toString("base64"),w=["-----BEGIN "+p.label+"-----"],S=0;S<j.length;S+=64)w.push(j.slice(S,S+64));return w.push("-----END "+p.label+"-----"),w.join(`
|
|
27
|
+
`)}},763:()=>{},894:(F,v,d)=>{var T=v;T.base=d(6677),T.short=d(9188),T.mont=d(370),T.edwards=d(1298)},920:(F,v,d)=>{var T=d(9675),A=d(8859),O=d(4803),q=d(507),p=d(2271)||q||O;F.exports=function(){var j,w={assert:function(S){if(!w.has(S))throw new T("Side channel does not contain "+A(S))},delete:function(S){return!!j&&j.delete(S)},get:function(S){return j&&j.get(S)},has:function(S){return!!j&&j.has(S)},set:function(S,_){j||(j=p()),j.set(S,_)}};return w}},993:(F,v,d)=>{var T=d(9673).Reporter,A=d(9673).EncoderBuffer,O=d(9673).DecoderBuffer,q=d(3349),p=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],j=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(p);function w(_,N){var I={};this._baseState=I,I.enc=_,I.parent=N||null,I.children=null,I.tag=null,I.args=null,I.reverseArgs=null,I.choice=null,I.optional=!1,I.any=!1,I.obj=!1,I.use=null,I.useDecoder=null,I.key=null,I.default=null,I.explicit=null,I.implicit=null,I.contains=null,I.parent||(I.children=[],this._wrap())}F.exports=w;var S=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];w.prototype.clone=function(){var _=this._baseState,N={};S.forEach(function(b){N[b]=_[b]});var I=new this.constructor(N.parent);return I._baseState=N,I},w.prototype._wrap=function(){var _=this._baseState;j.forEach(function(N){this[N]=function(){var I=new this.constructor(this);return _.children.push(I),I[N].apply(I,arguments)}},this)},w.prototype._init=function(_){var N=this._baseState;q(N.parent===null),_.call(this),N.children=N.children.filter(function(I){return I._baseState.parent===this},this),q.equal(N.children.length,1,"Root node can have only one child")},w.prototype._useArgs=function(_){var N=this._baseState,I=_.filter(function(b){return b instanceof this.constructor},this);_=_.filter(function(b){return!(b instanceof this.constructor)},this),I.length!==0&&(q(N.children===null),N.children=I,I.forEach(function(b){b._baseState.parent=this},this)),_.length!==0&&(q(N.args===null),N.args=_,N.reverseArgs=_.map(function(b){if(typeof b!="object"||b.constructor!==Object)return b;var B={};return Object.keys(b).forEach(function(D){D==(0|D)&&(D|=0);var U=b[D];B[U]=D}),B}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(_){w.prototype[_]=function(){var N=this._baseState;throw new Error(_+" not implemented for encoding: "+N.enc)}}),p.forEach(function(_){w.prototype[_]=function(){var N=this._baseState,I=Array.prototype.slice.call(arguments);return q(N.tag===null),N.tag=_,this._useArgs(I),this}}),w.prototype.use=function(_){q(_);var N=this._baseState;return q(N.use===null),N.use=_,this},w.prototype.optional=function(){return this._baseState.optional=!0,this},w.prototype.def=function(_){var N=this._baseState;return q(N.default===null),N.default=_,N.optional=!0,this},w.prototype.explicit=function(_){var N=this._baseState;return q(N.explicit===null&&N.implicit===null),N.explicit=_,this},w.prototype.implicit=function(_){var N=this._baseState;return q(N.explicit===null&&N.implicit===null),N.implicit=_,this},w.prototype.obj=function(){var _=this._baseState,N=Array.prototype.slice.call(arguments);return _.obj=!0,N.length!==0&&this._useArgs(N),this},w.prototype.key=function(_){var N=this._baseState;return q(N.key===null),N.key=_,this},w.prototype.any=function(){return this._baseState.any=!0,this},w.prototype.choice=function(_){var N=this._baseState;return q(N.choice===null),N.choice=_,this._useArgs(Object.keys(_).map(function(I){return _[I]})),this},w.prototype.contains=function(_){var N=this._baseState;return q(N.use===null),N.contains=_,this},w.prototype._decode=function(_,N){var I=this._baseState;if(I.parent===null)return _.wrapResult(I.children[0]._decode(_,N));var b,B=I.default,D=!0,U=null;if(I.key!==null&&(U=_.enterKey(I.key)),I.optional){var $=null;if(I.explicit!==null?$=I.explicit:I.implicit!==null?$=I.implicit:I.tag!==null&&($=I.tag),$!==null||I.any){if(D=this._peekTag(_,$,I.any),_.isError(D))return D}else{var P=_.save();try{I.choice===null?this._decodeGeneric(I.tag,_,N):this._decodeChoice(_,N),D=!0}catch{D=!1}_.restore(P)}}if(I.obj&&D&&(b=_.enterObject()),D){if(I.explicit!==null){var W=this._decodeTag(_,I.explicit);if(_.isError(W))return W;_=W}var G=_.offset;if(I.use===null&&I.choice===null){I.any&&(P=_.save());var Q=this._decodeTag(_,I.implicit!==null?I.implicit:I.tag,I.any);if(_.isError(Q))return Q;I.any?B=_.raw(P):_=Q}if(N&&N.track&&I.tag!==null&&N.track(_.path(),G,_.length,"tagged"),N&&N.track&&I.tag!==null&&N.track(_.path(),_.offset,_.length,"content"),I.any||(B=I.choice===null?this._decodeGeneric(I.tag,_,N):this._decodeChoice(_,N)),_.isError(B))return B;if(I.any||I.choice!==null||I.children===null||I.children.forEach(function(se){se._decode(_,N)}),I.contains&&(I.tag==="octstr"||I.tag==="bitstr")){var te=new O(B);B=this._getUse(I.contains,_._reporterState.obj)._decode(te,N)}}return I.obj&&D&&(B=_.leaveObject(b)),I.key===null||B===null&&D!==!0?U!==null&&_.exitKey(U):_.leaveKey(U,I.key,B),B},w.prototype._decodeGeneric=function(_,N,I){var b=this._baseState;return _==="seq"||_==="set"?null:_==="seqof"||_==="setof"?this._decodeList(N,_,b.args[0],I):/str$/.test(_)?this._decodeStr(N,_,I):_==="objid"&&b.args?this._decodeObjid(N,b.args[0],b.args[1],I):_==="objid"?this._decodeObjid(N,null,null,I):_==="gentime"||_==="utctime"?this._decodeTime(N,_,I):_==="null_"?this._decodeNull(N,I):_==="bool"?this._decodeBool(N,I):_==="objDesc"?this._decodeStr(N,_,I):_==="int"||_==="enum"?this._decodeInt(N,b.args&&b.args[0],I):b.use!==null?this._getUse(b.use,N._reporterState.obj)._decode(N,I):N.error("unknown tag: "+_)},w.prototype._getUse=function(_,N){var I=this._baseState;return I.useDecoder=this._use(_,N),q(I.useDecoder._baseState.parent===null),I.useDecoder=I.useDecoder._baseState.children[0],I.implicit!==I.useDecoder._baseState.implicit&&(I.useDecoder=I.useDecoder.clone(),I.useDecoder._baseState.implicit=I.implicit),I.useDecoder},w.prototype._decodeChoice=function(_,N){var I=this._baseState,b=null,B=!1;return Object.keys(I.choice).some(function(D){var U=_.save(),$=I.choice[D];try{var P=$._decode(_,N);if(_.isError(P))return!1;b={type:D,value:P},B=!0}catch{return _.restore(U),!1}return!0},this),B?b:_.error("Choice not matched")},w.prototype._createEncoderBuffer=function(_){return new A(_,this.reporter)},w.prototype._encode=function(_,N,I){var b=this._baseState;if(b.default===null||b.default!==_){var B=this._encodeValue(_,N,I);if(B!==void 0&&!this._skipDefault(B,N,I))return B}},w.prototype._encodeValue=function(_,N,I){var b=this._baseState;if(b.parent===null)return b.children[0]._encode(_,N||new T);var B=null;if(this.reporter=N,b.optional&&_===void 0){if(b.default===null)return;_=b.default}var D=null,U=!1;if(b.any)B=this._createEncoderBuffer(_);else if(b.choice)B=this._encodeChoice(_,N);else if(b.contains)D=this._getUse(b.contains,I)._encode(_,N),U=!0;else if(b.children)D=b.children.map(function(G){if(G._baseState.tag==="null_")return G._encode(null,N,_);if(G._baseState.key===null)return N.error("Child should have a key");var Q=N.enterKey(G._baseState.key);if(typeof _!="object")return N.error("Child expected, but input is not object");var te=G._encode(_[G._baseState.key],N,_);return N.leaveKey(Q),te},this).filter(function(G){return G}),D=this._createEncoderBuffer(D);else if(b.tag==="seqof"||b.tag==="setof"){if(!b.args||b.args.length!==1)return N.error("Too many args for : "+b.tag);if(!Array.isArray(_))return N.error("seqof/setof, but data is not Array");var $=this.clone();$._baseState.implicit=null,D=this._createEncoderBuffer(_.map(function(G){var Q=this._baseState;return this._getUse(Q.args[0],_)._encode(G,N)},$))}else b.use!==null?B=this._getUse(b.use,I)._encode(_,N):(D=this._encodePrimitive(b.tag,_),U=!0);if(!b.any&&b.choice===null){var P=b.implicit!==null?b.implicit:b.tag,W=b.implicit===null?"universal":"context";P===null?b.use===null&&N.error("Tag could be omitted only for .use()"):b.use===null&&(B=this._encodeComposite(P,U,W,D))}return b.explicit!==null&&(B=this._encodeComposite(b.explicit,!1,"context",B)),B},w.prototype._encodeChoice=function(_,N){var I=this._baseState,b=I.choice[_.type];return b||q(!1,_.type+" not found in "+JSON.stringify(Object.keys(I.choice))),b._encode(_.value,N)},w.prototype._encodePrimitive=function(_,N){var I=this._baseState;if(/str$/.test(_))return this._encodeStr(N,_);if(_==="objid"&&I.args)return this._encodeObjid(N,I.reverseArgs[0],I.args[1]);if(_==="objid")return this._encodeObjid(N,null,null);if(_==="gentime"||_==="utctime")return this._encodeTime(N,_);if(_==="null_")return this._encodeNull();if(_==="int"||_==="enum")return this._encodeInt(N,I.args&&I.reverseArgs[0]);if(_==="bool")return this._encodeBool(N);if(_==="objDesc")return this._encodeStr(N,_);throw new Error("Unsupported tag: "+_)},w.prototype._isNumstr=function(_){return/^[0-9 ]*$/.test(_)},w.prototype._isPrintstr=function(_){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(_)}},1002:F=>{F.exports=Function.prototype.apply},1064:(F,v,d)=>{var T=d(9612);F.exports=T.getPrototypeOf||null},1069:()=>{},1083:(F,v,d)=>{var T=d(1568),A=d(8835),O=F.exports;for(var q in T)T.hasOwnProperty(q)&&(O[q]=T[q]);function p(j){if(typeof j=="string"&&(j=A.parse(j)),j.protocol||(j.protocol="https:"),j.protocol!=="https:")throw new Error('Protocol "'+j.protocol+'" not supported. Expected "https:"');return j}O.request=function(j,w){return j=p(j),T.request.call(this,j,w)},O.get=function(j,w){return j=p(j),T.get.call(this,j,w)}},1093:F=>{var v=Object.prototype.toString;F.exports=function(d){var T=v.call(d),A=T==="[object Arguments]";return A||(A=T!=="[object Array]"&&d!==null&&typeof d=="object"&&typeof d.length=="number"&&d.length>=0&&v.call(d.callee)==="[object Function]"),A}},1135:F=>{F.exports=function(v){return v&&typeof v=="object"&&typeof v.copy=="function"&&typeof v.fill=="function"&&typeof v.readUInt8=="function"}},1137:(F,v,d)=>{var T=d(7568);v.certificate=d(6413);var A=T.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});v.RSAPrivateKey=A;var O=T.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});v.RSAPublicKey=O;var q=T.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),p=T.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(q),this.key("subjectPublicKey").bitstr())});v.PublicKey=p;var j=T.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(q),this.key("subjectPrivateKey").octstr())});v.PrivateKey=j;var w=T.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});v.EncryptedPrivateKey=w;var S=T.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});v.DSAPrivateKey=S,v.DSAparam=T.define("DSAparam",function(){this.int()});var _=T.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),N=T.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(_),this.key("publicKey").optional().explicit(1).bitstr())});v.ECPrivateKey=N,v.signature=T.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},1158:function(F,v,d){(function(T,A){function O(e,a){if(!e)throw new Error(a||"Assertion failed")}function q(e,a){e.super_=a;var o=function(){};o.prototype=a.prototype,e.prototype=new o,e.prototype.constructor=e}function p(e,a,o){if(p.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(a!=="le"&&a!=="be"||(o=a,a=10),this._init(e||0,a||10,o||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(4688).Buffer}catch{}function w(e,a){var o=e.charCodeAt(a);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function S(e,a,o){var r=w(e,o);return o-1>=a&&(r|=w(e,o-1)<<4),r}function _(e,a,o,r){for(var t=0,h=Math.min(e.length,o),M=a;M<h;M++){var H=e.charCodeAt(M)-48;t*=r,t+=H>=49?H-49+10:H>=17?H-17+10:H}return t}p.isBN=function(e){return e instanceof p||e!==null&&typeof e=="object"&&e.constructor.wordSize===p.wordSize&&Array.isArray(e.words)},p.max=function(e,a){return e.cmp(a)>0?e:a},p.min=function(e,a){return e.cmp(a)<0?e:a},p.prototype._init=function(e,a,o){if(typeof e=="number")return this._initNumber(e,a,o);if(typeof e=="object")return this._initArray(e,a,o);a==="hex"&&(a=16),O(a===(0|a)&&a>=2&&a<=36);var r=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(r++,this.negative=1),r<e.length&&(a===16?this._parseHex(e,r,o):(this._parseBase(e,a,r),o==="le"&&this._initArray(this.toArray(),a,o)))},p.prototype._initNumber=function(e,a,o){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(O(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),a,o)},p.prototype._initArray=function(e,a,o){if(O(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h,M=0;if(o==="be")for(r=e.length-1,t=0;r>=0;r-=3)h=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);else if(o==="le")for(r=0,t=0;r<e.length;r+=3)h=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);return this.strip()},p.prototype._parseHex=function(e,a,o){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h=0,M=0;if(o==="be")for(r=e.length-1;r>=a;r-=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;else for(r=(e.length-a)%2==0?a+1:a;r<e.length;r+=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;this.strip()},p.prototype._parseBase=function(e,a,o){this.words=[0],this.length=1;for(var r=0,t=1;t<=67108863;t*=a)r++;r--,t=t/a|0;for(var h=e.length-o,M=h%r,H=Math.min(h,h-M)+o,K=0,V=o;V<H;V+=r)K=_(e,V,V+r,a),this.imuln(t),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K);if(M!==0){var Z=1;for(K=_(e,V,e.length,a),V=0;V<M;V++)Z*=a;this.imuln(Z),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K)}this.strip()},p.prototype.copy=function(e){e.words=new Array(this.length);for(var a=0;a<this.length;a++)e.words[a]=this.words[a];e.length=this.length,e.negative=this.negative,e.red=this.red},p.prototype.clone=function(){var e=new p(null);return this.copy(e),e},p.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],b=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(e,a,o){o.negative=a.negative^e.negative;var r=e.length+a.length|0;o.length=r,r=r-1|0;var t=0|e.words[0],h=0|a.words[0],M=t*h,H=67108863&M,K=M/67108864|0;o.words[0]=H;for(var V=1;V<r;V++){for(var Z=K>>>26,X=67108863&K,ae=Math.min(V,a.length-1),ie=Math.max(0,V-e.length+1);ie<=ae;ie++){var ce=V-ie|0;Z+=(M=(t=0|e.words[ce])*(h=0|a.words[ie])+X)/67108864|0,X=67108863&M}o.words[V]=0|X,K=0|Z}return K!==0?o.words[V]=0|K:o.length--,o.strip()}p.prototype.toString=function(e,a){var o;if(a=0|a||1,(e=e||10)===16||e==="hex"){o="";for(var r=0,t=0,h=0;h<this.length;h++){var M=this.words[h],H=(16777215&(M<<r|t)).toString(16);t=M>>>24-r&16777215,(r+=2)>=26&&(r-=26,h--),o=t!==0||h!==this.length-1?N[6-H.length]+H+o:H+o}for(t!==0&&(o=t.toString(16)+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(e===(0|e)&&e>=2&&e<=36){var K=I[e],V=b[e];o="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var X=Z.modn(V).toString(e);o=(Z=Z.idivn(V)).isZero()?X+o:N[K-X.length]+X+o}for(this.isZero()&&(o="0"+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},p.prototype.toJSON=function(){return this.toString(16)},p.prototype.toBuffer=function(e,a){return O(j!==void 0),this.toArrayLike(j,e,a)},p.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)},p.prototype.toArrayLike=function(e,a,o){var r=this.byteLength(),t=o||Math.max(1,r);O(r<=t,"byte array longer than desired length"),O(t>0,"Requested array length <= 0"),this.strip();var h,M,H=a==="le",K=new e(t),V=this.clone();if(H){for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[M]=h;for(;M<t;M++)K[M]=0}else{for(M=0;M<t-r;M++)K[M]=0;for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[t-M-1]=h}return K},Math.clz32?p.prototype._countBits=function(e){return 32-Math.clz32(e)}:p.prototype._countBits=function(e){var a=e,o=0;return a>=4096&&(o+=13,a>>>=13),a>=64&&(o+=7,a>>>=7),a>=8&&(o+=4,a>>>=4),a>=2&&(o+=2,a>>>=2),o+a},p.prototype._zeroBits=function(e){if(e===0)return 26;var a=e,o=0;return 8191&a||(o+=13,a>>>=13),127&a||(o+=7,a>>>=7),15&a||(o+=4,a>>>=4),3&a||(o+=2,a>>>=2),1&a||o++,o},p.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;a<this.length;a++){var o=this._zeroBits(this.words[a]);if(e+=o,o!==26)break}return e},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},p.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var a=0;a<e.length;a++)this.words[a]=this.words[a]|e.words[a];return this.strip()},p.prototype.ior=function(e){return O(!(this.negative|e.negative)),this.iuor(e)},p.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},p.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},p.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var o=0;o<a.length;o++)this.words[o]=this.words[o]&e.words[o];return this.length=a.length,this.strip()},p.prototype.iand=function(e){return O(!(this.negative|e.negative)),this.iuand(e)},p.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},p.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},p.prototype.iuxor=function(e){var a,o;this.length>e.length?(a=this,o=e):(a=e,o=this);for(var r=0;r<o.length;r++)this.words[r]=a.words[r]^o.words[r];if(this!==a)for(;r<a.length;r++)this.words[r]=a.words[r];return this.length=a.length,this.strip()},p.prototype.ixor=function(e){return O(!(this.negative|e.negative)),this.iuxor(e)},p.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},p.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},p.prototype.inotn=function(e){O(typeof e=="number"&&e>=0);var a=0|Math.ceil(e/26),o=e%26;this._expand(a),o>0&&a--;for(var r=0;r<a;r++)this.words[r]=67108863&~this.words[r];return o>0&&(this.words[r]=~this.words[r]&67108863>>26-o),this.strip()},p.prototype.notn=function(e){return this.clone().inotn(e)},p.prototype.setn=function(e,a){O(typeof e=="number"&&e>=0);var o=e/26|0,r=e%26;return this._expand(o+1),this.words[o]=a?this.words[o]|1<<r:this.words[o]&~(1<<r),this.strip()},p.prototype.iadd=function(e){var a,o,r;if(this.negative!==0&&e.negative===0)return this.negative=0,a=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,a=this.isub(e),e.negative=1,a._normSign();this.length>e.length?(o=this,r=e):(o=e,r=this);for(var t=0,h=0;h<r.length;h++)a=(0|o.words[h])+(0|r.words[h])+t,this.words[h]=67108863&a,t=a>>>26;for(;t!==0&&h<o.length;h++)a=(0|o.words[h])+t,this.words[h]=67108863&a,t=a>>>26;if(this.length=o.length,t!==0)this.words[this.length]=t,this.length++;else if(o!==this)for(;h<o.length;h++)this.words[h]=o.words[h];return this},p.prototype.add=function(e){var a;return e.negative!==0&&this.negative===0?(e.negative=0,a=this.sub(e),e.negative^=1,a):e.negative===0&&this.negative!==0?(this.negative=0,a=e.sub(this),this.negative=1,a):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},p.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o,r,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(o=this,r=e):(o=e,r=this);for(var h=0,M=0;M<r.length;M++)h=(a=(0|o.words[M])-(0|r.words[M])+h)>>26,this.words[M]=67108863&a;for(;h!==0&&M<o.length;M++)h=(a=(0|o.words[M])+h)>>26,this.words[M]=67108863&a;if(h===0&&M<o.length&&o!==this)for(;M<o.length;M++)this.words[M]=o.words[M];return this.length=Math.max(this.length,M),o!==this&&(this.negative=1),this.strip()},p.prototype.sub=function(e){return this.clone().isub(e)};var D=function(e,a,o){var r,t,h,M=e.words,H=a.words,K=o.words,V=0,Z=0|M[0],X=8191&Z,ae=Z>>>13,ie=0|M[1],ce=8191&ie,Y=ie>>>13,ne=0|M[2],J=8191&ne,ee=ne>>>13,ge=0|M[3],pe=8191&ge,we=ge>>>13,je=0|M[4],Me=8191&je,Ae=je>>>13,Ve=0|M[5],Ie=8191&Ve,Be=Ve>>>13,le=0|M[6],he=8191&le,fe=le>>>13,ve=0|M[7],ye=8191&ve,xe=ve>>>13,Le=0|M[8],Oe=8191&Le,Pe=Le>>>13,wt=0|M[9],Ne=8191&wt,Ue=wt>>>13,It=0|H[0],He=8191&It,Ke=It>>>13,kt=0|H[1],Fe=8191&kt,nt=kt>>>13,_t=0|H[2],$e=8191&_t,tt=_t>>>13,jt=0|H[3],ze=8191&jt,rt=jt>>>13,Dt=0|H[4],Ge=8191&Dt,st=Dt>>>13,Wt=0|H[5],Ze=8191&Wt,ot=Wt>>>13,Zt=0|H[6],Ce=8191&Zt,Xe=Zt>>>13,$t=0|H[7],Je=8191&$t,ht=$t>>>13,Jt=0|H[8],Qe=8191&Jt,lt=Jt>>>13,en=0|H[9],et=8191&en,ft=en>>>13;o.negative=e.negative^a.negative,o.length=19;var Ht=(V+(r=Math.imul(X,He))|0)+((8191&(t=(t=Math.imul(X,Ke))+Math.imul(ae,He)|0))<<13)|0;V=((h=Math.imul(ae,Ke))+(t>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,r=Math.imul(ce,He),t=(t=Math.imul(ce,Ke))+Math.imul(Y,He)|0,h=Math.imul(Y,Ke);var Ut=(V+(r=r+Math.imul(X,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(X,nt)|0)+Math.imul(ae,Fe)|0))<<13)|0;V=((h=h+Math.imul(ae,nt)|0)+(t>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(J,He),t=(t=Math.imul(J,Ke))+Math.imul(ee,He)|0,h=Math.imul(ee,Ke),r=r+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(Y,Fe)|0,h=h+Math.imul(Y,nt)|0;var cn=(V+(r=r+Math.imul(X,$e)|0)|0)+((8191&(t=(t=t+Math.imul(X,tt)|0)+Math.imul(ae,$e)|0))<<13)|0;V=((h=h+Math.imul(ae,tt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,r=Math.imul(pe,He),t=(t=Math.imul(pe,Ke))+Math.imul(we,He)|0,h=Math.imul(we,Ke),r=r+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ee,Fe)|0,h=h+Math.imul(ee,nt)|0,r=r+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,tt)|0)+Math.imul(Y,$e)|0,h=h+Math.imul(Y,tt)|0;var mn=(V+(r=r+Math.imul(X,ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,rt)|0)+Math.imul(ae,ze)|0))<<13)|0;V=((h=h+Math.imul(ae,rt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,r=Math.imul(Me,He),t=(t=Math.imul(Me,Ke))+Math.imul(Ae,He)|0,h=Math.imul(Ae,Ke),r=r+Math.imul(pe,Fe)|0,t=(t=t+Math.imul(pe,nt)|0)+Math.imul(we,Fe)|0,h=h+Math.imul(we,nt)|0,r=r+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,tt)|0)+Math.imul(ee,$e)|0,h=h+Math.imul(ee,tt)|0,r=r+Math.imul(ce,ze)|0,t=(t=t+Math.imul(ce,rt)|0)+Math.imul(Y,ze)|0,h=h+Math.imul(Y,rt)|0;var hn=(V+(r=r+Math.imul(X,Ge)|0)|0)+((8191&(t=(t=t+Math.imul(X,st)|0)+Math.imul(ae,Ge)|0))<<13)|0;V=((h=h+Math.imul(ae,st)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,r=Math.imul(Ie,He),t=(t=Math.imul(Ie,Ke))+Math.imul(Be,He)|0,h=Math.imul(Be,Ke),r=r+Math.imul(Me,Fe)|0,t=(t=t+Math.imul(Me,nt)|0)+Math.imul(Ae,Fe)|0,h=h+Math.imul(Ae,nt)|0,r=r+Math.imul(pe,$e)|0,t=(t=t+Math.imul(pe,tt)|0)+Math.imul(we,$e)|0,h=h+Math.imul(we,tt)|0,r=r+Math.imul(J,ze)|0,t=(t=t+Math.imul(J,rt)|0)+Math.imul(ee,ze)|0,h=h+Math.imul(ee,rt)|0,r=r+Math.imul(ce,Ge)|0,t=(t=t+Math.imul(ce,st)|0)+Math.imul(Y,Ge)|0,h=h+Math.imul(Y,st)|0;var gn=(V+(r=r+Math.imul(X,Ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,ot)|0)+Math.imul(ae,Ze)|0))<<13)|0;V=((h=h+Math.imul(ae,ot)|0)+(t>>>13)|0)+(gn>>>26)|0,gn&=67108863,r=Math.imul(he,He),t=(t=Math.imul(he,Ke))+Math.imul(fe,He)|0,h=Math.imul(fe,Ke),r=r+Math.imul(Ie,Fe)|0,t=(t=t+Math.imul(Ie,nt)|0)+Math.imul(Be,Fe)|0,h=h+Math.imul(Be,nt)|0,r=r+Math.imul(Me,$e)|0,t=(t=t+Math.imul(Me,tt)|0)+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,tt)|0,r=r+Math.imul(pe,ze)|0,t=(t=t+Math.imul(pe,rt)|0)+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,r=r+Math.imul(J,Ge)|0,t=(t=t+Math.imul(J,st)|0)+Math.imul(ee,Ge)|0,h=h+Math.imul(ee,st)|0,r=r+Math.imul(ce,Ze)|0,t=(t=t+Math.imul(ce,ot)|0)+Math.imul(Y,Ze)|0,h=h+Math.imul(Y,ot)|0;var vn=(V+(r=r+Math.imul(X,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(X,Xe)|0)+Math.imul(ae,Ce)|0))<<13)|0;V=((h=h+Math.imul(ae,Xe)|0)+(t>>>13)|0)+(vn>>>26)|0,vn&=67108863,r=Math.imul(ye,He),t=(t=Math.imul(ye,Ke))+Math.imul(xe,He)|0,h=Math.imul(xe,Ke),r=r+Math.imul(he,Fe)|0,t=(t=t+Math.imul(he,nt)|0)+Math.imul(fe,Fe)|0,h=h+Math.imul(fe,nt)|0,r=r+Math.imul(Ie,$e)|0,t=(t=t+Math.imul(Ie,tt)|0)+Math.imul(Be,$e)|0,h=h+Math.imul(Be,tt)|0,r=r+Math.imul(Me,ze)|0,t=(t=t+Math.imul(Me,rt)|0)+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,r=r+Math.imul(pe,Ge)|0,t=(t=t+Math.imul(pe,st)|0)+Math.imul(we,Ge)|0,h=h+Math.imul(we,st)|0,r=r+Math.imul(J,Ze)|0,t=(t=t+Math.imul(J,ot)|0)+Math.imul(ee,Ze)|0,h=h+Math.imul(ee,ot)|0,r=r+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Xe)|0)+Math.imul(Y,Ce)|0,h=h+Math.imul(Y,Xe)|0;var yn=(V+(r=r+Math.imul(X,Je)|0)|0)+((8191&(t=(t=t+Math.imul(X,ht)|0)+Math.imul(ae,Je)|0))<<13)|0;V=((h=h+Math.imul(ae,ht)|0)+(t>>>13)|0)+(yn>>>26)|0,yn&=67108863,r=Math.imul(Oe,He),t=(t=Math.imul(Oe,Ke))+Math.imul(Pe,He)|0,h=Math.imul(Pe,Ke),r=r+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(xe,Fe)|0,h=h+Math.imul(xe,nt)|0,r=r+Math.imul(he,$e)|0,t=(t=t+Math.imul(he,tt)|0)+Math.imul(fe,$e)|0,h=h+Math.imul(fe,tt)|0,r=r+Math.imul(Ie,ze)|0,t=(t=t+Math.imul(Ie,rt)|0)+Math.imul(Be,ze)|0,h=h+Math.imul(Be,rt)|0,r=r+Math.imul(Me,Ge)|0,t=(t=t+Math.imul(Me,st)|0)+Math.imul(Ae,Ge)|0,h=h+Math.imul(Ae,st)|0,r=r+Math.imul(pe,Ze)|0,t=(t=t+Math.imul(pe,ot)|0)+Math.imul(we,Ze)|0,h=h+Math.imul(we,ot)|0,r=r+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Xe)|0)+Math.imul(ee,Ce)|0,h=h+Math.imul(ee,Xe)|0,r=r+Math.imul(ce,Je)|0,t=(t=t+Math.imul(ce,ht)|0)+Math.imul(Y,Je)|0,h=h+Math.imul(Y,ht)|0;var bn=(V+(r=r+Math.imul(X,Qe)|0)|0)+((8191&(t=(t=t+Math.imul(X,lt)|0)+Math.imul(ae,Qe)|0))<<13)|0;V=((h=h+Math.imul(ae,lt)|0)+(t>>>13)|0)+(bn>>>26)|0,bn&=67108863,r=Math.imul(Ne,He),t=(t=Math.imul(Ne,Ke))+Math.imul(Ue,He)|0,h=Math.imul(Ue,Ke),r=r+Math.imul(Oe,Fe)|0,t=(t=t+Math.imul(Oe,nt)|0)+Math.imul(Pe,Fe)|0,h=h+Math.imul(Pe,nt)|0,r=r+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,tt)|0)+Math.imul(xe,$e)|0,h=h+Math.imul(xe,tt)|0,r=r+Math.imul(he,ze)|0,t=(t=t+Math.imul(he,rt)|0)+Math.imul(fe,ze)|0,h=h+Math.imul(fe,rt)|0,r=r+Math.imul(Ie,Ge)|0,t=(t=t+Math.imul(Ie,st)|0)+Math.imul(Be,Ge)|0,h=h+Math.imul(Be,st)|0,r=r+Math.imul(Me,Ze)|0,t=(t=t+Math.imul(Me,ot)|0)+Math.imul(Ae,Ze)|0,h=h+Math.imul(Ae,ot)|0,r=r+Math.imul(pe,Ce)|0,t=(t=t+Math.imul(pe,Xe)|0)+Math.imul(we,Ce)|0,h=h+Math.imul(we,Xe)|0,r=r+Math.imul(J,Je)|0,t=(t=t+Math.imul(J,ht)|0)+Math.imul(ee,Je)|0,h=h+Math.imul(ee,ht)|0,r=r+Math.imul(ce,Qe)|0,t=(t=t+Math.imul(ce,lt)|0)+Math.imul(Y,Qe)|0,h=h+Math.imul(Y,lt)|0;var ln=(V+(r=r+Math.imul(X,et)|0)|0)+((8191&(t=(t=t+Math.imul(X,ft)|0)+Math.imul(ae,et)|0))<<13)|0;V=((h=h+Math.imul(ae,ft)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,r=Math.imul(Ne,Fe),t=(t=Math.imul(Ne,nt))+Math.imul(Ue,Fe)|0,h=Math.imul(Ue,nt),r=r+Math.imul(Oe,$e)|0,t=(t=t+Math.imul(Oe,tt)|0)+Math.imul(Pe,$e)|0,h=h+Math.imul(Pe,tt)|0,r=r+Math.imul(ye,ze)|0,t=(t=t+Math.imul(ye,rt)|0)+Math.imul(xe,ze)|0,h=h+Math.imul(xe,rt)|0,r=r+Math.imul(he,Ge)|0,t=(t=t+Math.imul(he,st)|0)+Math.imul(fe,Ge)|0,h=h+Math.imul(fe,st)|0,r=r+Math.imul(Ie,Ze)|0,t=(t=t+Math.imul(Ie,ot)|0)+Math.imul(Be,Ze)|0,h=h+Math.imul(Be,ot)|0,r=r+Math.imul(Me,Ce)|0,t=(t=t+Math.imul(Me,Xe)|0)+Math.imul(Ae,Ce)|0,h=h+Math.imul(Ae,Xe)|0,r=r+Math.imul(pe,Je)|0,t=(t=t+Math.imul(pe,ht)|0)+Math.imul(we,Je)|0,h=h+Math.imul(we,ht)|0,r=r+Math.imul(J,Qe)|0,t=(t=t+Math.imul(J,lt)|0)+Math.imul(ee,Qe)|0,h=h+Math.imul(ee,lt)|0;var wn=(V+(r=r+Math.imul(ce,et)|0)|0)+((8191&(t=(t=t+Math.imul(ce,ft)|0)+Math.imul(Y,et)|0))<<13)|0;V=((h=h+Math.imul(Y,ft)|0)+(t>>>13)|0)+(wn>>>26)|0,wn&=67108863,r=Math.imul(Ne,$e),t=(t=Math.imul(Ne,tt))+Math.imul(Ue,$e)|0,h=Math.imul(Ue,tt),r=r+Math.imul(Oe,ze)|0,t=(t=t+Math.imul(Oe,rt)|0)+Math.imul(Pe,ze)|0,h=h+Math.imul(Pe,rt)|0,r=r+Math.imul(ye,Ge)|0,t=(t=t+Math.imul(ye,st)|0)+Math.imul(xe,Ge)|0,h=h+Math.imul(xe,st)|0,r=r+Math.imul(he,Ze)|0,t=(t=t+Math.imul(he,ot)|0)+Math.imul(fe,Ze)|0,h=h+Math.imul(fe,ot)|0,r=r+Math.imul(Ie,Ce)|0,t=(t=t+Math.imul(Ie,Xe)|0)+Math.imul(Be,Ce)|0,h=h+Math.imul(Be,Xe)|0,r=r+Math.imul(Me,Je)|0,t=(t=t+Math.imul(Me,ht)|0)+Math.imul(Ae,Je)|0,h=h+Math.imul(Ae,ht)|0,r=r+Math.imul(pe,Qe)|0,t=(t=t+Math.imul(pe,lt)|0)+Math.imul(we,Qe)|0,h=h+Math.imul(we,lt)|0;var fn=(V+(r=r+Math.imul(J,et)|0)|0)+((8191&(t=(t=t+Math.imul(J,ft)|0)+Math.imul(ee,et)|0))<<13)|0;V=((h=h+Math.imul(ee,ft)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863,r=Math.imul(Ne,ze),t=(t=Math.imul(Ne,rt))+Math.imul(Ue,ze)|0,h=Math.imul(Ue,rt),r=r+Math.imul(Oe,Ge)|0,t=(t=t+Math.imul(Oe,st)|0)+Math.imul(Pe,Ge)|0,h=h+Math.imul(Pe,st)|0,r=r+Math.imul(ye,Ze)|0,t=(t=t+Math.imul(ye,ot)|0)+Math.imul(xe,Ze)|0,h=h+Math.imul(xe,ot)|0,r=r+Math.imul(he,Ce)|0,t=(t=t+Math.imul(he,Xe)|0)+Math.imul(fe,Ce)|0,h=h+Math.imul(fe,Xe)|0,r=r+Math.imul(Ie,Je)|0,t=(t=t+Math.imul(Ie,ht)|0)+Math.imul(Be,Je)|0,h=h+Math.imul(Be,ht)|0,r=r+Math.imul(Me,Qe)|0,t=(t=t+Math.imul(Me,lt)|0)+Math.imul(Ae,Qe)|0,h=h+Math.imul(Ae,lt)|0;var xn=(V+(r=r+Math.imul(pe,et)|0)|0)+((8191&(t=(t=t+Math.imul(pe,ft)|0)+Math.imul(we,et)|0))<<13)|0;V=((h=h+Math.imul(we,ft)|0)+(t>>>13)|0)+(xn>>>26)|0,xn&=67108863,r=Math.imul(Ne,Ge),t=(t=Math.imul(Ne,st))+Math.imul(Ue,Ge)|0,h=Math.imul(Ue,st),r=r+Math.imul(Oe,Ze)|0,t=(t=t+Math.imul(Oe,ot)|0)+Math.imul(Pe,Ze)|0,h=h+Math.imul(Pe,ot)|0,r=r+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Xe)|0)+Math.imul(xe,Ce)|0,h=h+Math.imul(xe,Xe)|0,r=r+Math.imul(he,Je)|0,t=(t=t+Math.imul(he,ht)|0)+Math.imul(fe,Je)|0,h=h+Math.imul(fe,ht)|0,r=r+Math.imul(Ie,Qe)|0,t=(t=t+Math.imul(Ie,lt)|0)+Math.imul(Be,Qe)|0,h=h+Math.imul(Be,lt)|0;var _n=(V+(r=r+Math.imul(Me,et)|0)|0)+((8191&(t=(t=t+Math.imul(Me,ft)|0)+Math.imul(Ae,et)|0))<<13)|0;V=((h=h+Math.imul(Ae,ft)|0)+(t>>>13)|0)+(_n>>>26)|0,_n&=67108863,r=Math.imul(Ne,Ze),t=(t=Math.imul(Ne,ot))+Math.imul(Ue,Ze)|0,h=Math.imul(Ue,ot),r=r+Math.imul(Oe,Ce)|0,t=(t=t+Math.imul(Oe,Xe)|0)+Math.imul(Pe,Ce)|0,h=h+Math.imul(Pe,Xe)|0,r=r+Math.imul(ye,Je)|0,t=(t=t+Math.imul(ye,ht)|0)+Math.imul(xe,Je)|0,h=h+Math.imul(xe,ht)|0,r=r+Math.imul(he,Qe)|0,t=(t=t+Math.imul(he,lt)|0)+Math.imul(fe,Qe)|0,h=h+Math.imul(fe,lt)|0;var pn=(V+(r=r+Math.imul(Ie,et)|0)|0)+((8191&(t=(t=t+Math.imul(Ie,ft)|0)+Math.imul(Be,et)|0))<<13)|0;V=((h=h+Math.imul(Be,ft)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,r=Math.imul(Ne,Ce),t=(t=Math.imul(Ne,Xe))+Math.imul(Ue,Ce)|0,h=Math.imul(Ue,Xe),r=r+Math.imul(Oe,Je)|0,t=(t=t+Math.imul(Oe,ht)|0)+Math.imul(Pe,Je)|0,h=h+Math.imul(Pe,ht)|0,r=r+Math.imul(ye,Qe)|0,t=(t=t+Math.imul(ye,lt)|0)+Math.imul(xe,Qe)|0,h=h+Math.imul(xe,lt)|0;var Bt=(V+(r=r+Math.imul(he,et)|0)|0)+((8191&(t=(t=t+Math.imul(he,ft)|0)+Math.imul(fe,et)|0))<<13)|0;V=((h=h+Math.imul(fe,ft)|0)+(t>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(Ne,Je),t=(t=Math.imul(Ne,ht))+Math.imul(Ue,Je)|0,h=Math.imul(Ue,ht),r=r+Math.imul(Oe,Qe)|0,t=(t=t+Math.imul(Oe,lt)|0)+Math.imul(Pe,Qe)|0,h=h+Math.imul(Pe,lt)|0;var Pt=(V+(r=r+Math.imul(ye,et)|0)|0)+((8191&(t=(t=t+Math.imul(ye,ft)|0)+Math.imul(xe,et)|0))<<13)|0;V=((h=h+Math.imul(xe,ft)|0)+(t>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(Ne,Qe),t=(t=Math.imul(Ne,lt))+Math.imul(Ue,Qe)|0,h=Math.imul(Ue,lt);var Mn=(V+(r=r+Math.imul(Oe,et)|0)|0)+((8191&(t=(t=t+Math.imul(Oe,ft)|0)+Math.imul(Pe,et)|0))<<13)|0;V=((h=h+Math.imul(Pe,ft)|0)+(t>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var En=(V+(r=Math.imul(Ne,et))|0)+((8191&(t=(t=Math.imul(Ne,ft))+Math.imul(Ue,et)|0))<<13)|0;return V=((h=Math.imul(Ue,ft))+(t>>>13)|0)+(En>>>26)|0,En&=67108863,K[0]=Ht,K[1]=Ut,K[2]=cn,K[3]=mn,K[4]=hn,K[5]=gn,K[6]=vn,K[7]=yn,K[8]=bn,K[9]=ln,K[10]=wn,K[11]=fn,K[12]=xn,K[13]=_n,K[14]=pn,K[15]=Bt,K[16]=Pt,K[17]=Mn,K[18]=En,V!==0&&(K[19]=V,o.length++),o};function U(e,a,o){return new $().mulp(e,a,o)}function $(e,a){this.x=e,this.y=a}Math.imul||(D=B),p.prototype.mulTo=function(e,a){var o,r=this.length+e.length;return o=this.length===10&&e.length===10?D(this,e,a):r<63?B(this,e,a):r<1024?function(t,h,M){M.negative=h.negative^t.negative,M.length=t.length+h.length;for(var H=0,K=0,V=0;V<M.length-1;V++){var Z=K;K=0;for(var X=67108863&H,ae=Math.min(V,h.length-1),ie=Math.max(0,V-t.length+1);ie<=ae;ie++){var ce=V-ie,Y=(0|t.words[ce])*(0|h.words[ie]),ne=67108863&Y;X=67108863&(ne=ne+X|0),K+=(Z=(Z=Z+(Y/67108864|0)|0)+(ne>>>26)|0)>>>26,Z&=67108863}M.words[V]=X,H=Z,Z=K}return H!==0?M.words[V]=H:M.length--,M.strip()}(this,e,a):U(this,e,a),o},$.prototype.makeRBT=function(e){for(var a=new Array(e),o=p.prototype._countBits(e)-1,r=0;r<e;r++)a[r]=this.revBin(r,o,e);return a},$.prototype.revBin=function(e,a,o){if(e===0||e===o-1)return e;for(var r=0,t=0;t<a;t++)r|=(1&e)<<a-t-1,e>>=1;return r},$.prototype.permute=function(e,a,o,r,t,h){for(var M=0;M<h;M++)r[M]=a[e[M]],t[M]=o[e[M]]},$.prototype.transform=function(e,a,o,r,t,h){this.permute(h,e,a,o,r,t);for(var M=1;M<t;M<<=1)for(var H=M<<1,K=Math.cos(2*Math.PI/H),V=Math.sin(2*Math.PI/H),Z=0;Z<t;Z+=H)for(var X=K,ae=V,ie=0;ie<M;ie++){var ce=o[Z+ie],Y=r[Z+ie],ne=o[Z+ie+M],J=r[Z+ie+M],ee=X*ne-ae*J;J=X*J+ae*ne,ne=ee,o[Z+ie]=ce+ne,r[Z+ie]=Y+J,o[Z+ie+M]=ce-ne,r[Z+ie+M]=Y-J,ie!==H&&(ee=K*X-V*ae,ae=K*ae+V*X,X=ee)}},$.prototype.guessLen13b=function(e,a){var o=1|Math.max(a,e),r=1&o,t=0;for(o=o/2|0;o;o>>>=1)t++;return 1<<t+1+r},$.prototype.conjugate=function(e,a,o){if(!(o<=1))for(var r=0;r<o/2;r++){var t=e[r];e[r]=e[o-r-1],e[o-r-1]=t,t=a[r],a[r]=-a[o-r-1],a[o-r-1]=-t}},$.prototype.normalize13b=function(e,a){for(var o=0,r=0;r<a/2;r++){var t=8192*Math.round(e[2*r+1]/a)+Math.round(e[2*r]/a)+o;e[r]=67108863&t,o=t<67108864?0:t/67108864|0}return e},$.prototype.convert13b=function(e,a,o,r){for(var t=0,h=0;h<a;h++)t+=0|e[h],o[2*h]=8191&t,t>>>=13,o[2*h+1]=8191&t,t>>>=13;for(h=2*a;h<r;++h)o[h]=0;O(t===0),O(!(-8192&t))},$.prototype.stub=function(e){for(var a=new Array(e),o=0;o<e;o++)a[o]=0;return a},$.prototype.mulp=function(e,a,o){var r=2*this.guessLen13b(e.length,a.length),t=this.makeRBT(r),h=this.stub(r),M=new Array(r),H=new Array(r),K=new Array(r),V=new Array(r),Z=new Array(r),X=new Array(r),ae=o.words;ae.length=r,this.convert13b(e.words,e.length,M,r),this.convert13b(a.words,a.length,V,r),this.transform(M,h,H,K,r,t),this.transform(V,h,Z,X,r,t);for(var ie=0;ie<r;ie++){var ce=H[ie]*Z[ie]-K[ie]*X[ie];K[ie]=H[ie]*X[ie]+K[ie]*Z[ie],H[ie]=ce}return this.conjugate(H,K,r),this.transform(H,K,ae,h,r,t),this.conjugate(ae,h,r),this.normalize13b(ae,r),o.negative=e.negative^a.negative,o.length=e.length+a.length,o.strip()},p.prototype.mul=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),this.mulTo(e,a)},p.prototype.mulf=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),U(this,e,a)},p.prototype.imul=function(e){return this.clone().mulTo(e,this)},p.prototype.imuln=function(e){O(typeof e=="number"),O(e<67108864);for(var a=0,o=0;o<this.length;o++){var r=(0|this.words[o])*e,t=(67108863&r)+(67108863&a);a>>=26,a+=r/67108864|0,a+=t>>>26,this.words[o]=67108863&t}return a!==0&&(this.words[o]=a,this.length++),this},p.prototype.muln=function(e){return this.clone().imuln(e)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(e){var a=function(h){for(var M=new Array(h.bitLength()),H=0;H<M.length;H++){var K=H/26|0,V=H%26;M[H]=(h.words[K]&1<<V)>>>V}return M}(e);if(a.length===0)return new p(1);for(var o=this,r=0;r<a.length&&a[r]===0;r++,o=o.sqr());if(++r<a.length)for(var t=o.sqr();r<a.length;r++,t=t.sqr())a[r]!==0&&(o=o.mul(t));return o},p.prototype.iushln=function(e){O(typeof e=="number"&&e>=0);var a,o=e%26,r=(e-o)/26,t=67108863>>>26-o<<26-o;if(o!==0){var h=0;for(a=0;a<this.length;a++){var M=this.words[a]&t,H=(0|this.words[a])-M<<o;this.words[a]=H|h,h=M>>>26-o}h&&(this.words[a]=h,this.length++)}if(r!==0){for(a=this.length-1;a>=0;a--)this.words[a+r]=this.words[a];for(a=0;a<r;a++)this.words[a]=0;this.length+=r}return this.strip()},p.prototype.ishln=function(e){return O(this.negative===0),this.iushln(e)},p.prototype.iushrn=function(e,a,o){var r;O(typeof e=="number"&&e>=0),r=a?(a-a%26)/26:0;var t=e%26,h=Math.min((e-t)/26,this.length),M=67108863^67108863>>>t<<t,H=o;if(r-=h,r=Math.max(0,r),H){for(var K=0;K<h;K++)H.words[K]=this.words[K];H.length=h}if(h!==0)if(this.length>h)for(this.length-=h,K=0;K<this.length;K++)this.words[K]=this.words[K+h];else this.words[0]=0,this.length=1;var V=0;for(K=this.length-1;K>=0&&(V!==0||K>=r);K--){var Z=0|this.words[K];this.words[K]=V<<26-t|Z>>>t,V=Z&M}return H&&V!==0&&(H.words[H.length++]=V),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},p.prototype.ishrn=function(e,a,o){return O(this.negative===0),this.iushrn(e,a,o)},p.prototype.shln=function(e){return this.clone().ishln(e)},p.prototype.ushln=function(e){return this.clone().iushln(e)},p.prototype.shrn=function(e){return this.clone().ishrn(e)},p.prototype.ushrn=function(e){return this.clone().iushrn(e)},p.prototype.testn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26,r=1<<a;return!(this.length<=o||!(this.words[o]&r))},p.prototype.imaskn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(a!==0&&o++,this.length=Math.min(o,this.length),a!==0){var r=67108863^67108863>>>a<<a;this.words[this.length-1]&=r}return this.strip()},p.prototype.maskn=function(e){return this.clone().imaskn(e)},p.prototype.iaddn=function(e){return O(typeof e=="number"),O(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},p.prototype._iaddn=function(e){this.words[0]+=e;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},p.prototype.isubn=function(e){if(O(typeof e=="number"),O(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},p.prototype.addn=function(e){return this.clone().iaddn(e)},p.prototype.subn=function(e){return this.clone().isubn(e)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(e,a,o){var r,t,h=e.length+o;this._expand(h);var M=0;for(r=0;r<e.length;r++){t=(0|this.words[r+o])+M;var H=(0|e.words[r])*a;M=((t-=67108863&H)>>26)-(H/67108864|0),this.words[r+o]=67108863&t}for(;r<this.length-o;r++)M=(t=(0|this.words[r+o])+M)>>26,this.words[r+o]=67108863&t;if(M===0)return this.strip();for(O(M===-1),M=0,r=0;r<this.length;r++)M=(t=-(0|this.words[r])+M)>>26,this.words[r]=67108863&t;return this.negative=1,this.strip()},p.prototype._wordDiv=function(e,a){var o=(this.length,e.length),r=this.clone(),t=e,h=0|t.words[t.length-1];(o=26-this._countBits(h))!=0&&(t=t.ushln(o),r.iushln(o),h=0|t.words[t.length-1]);var M,H=r.length-t.length;if(a!=="mod"){(M=new p(null)).length=H+1,M.words=new Array(M.length);for(var K=0;K<M.length;K++)M.words[K]=0}var V=r.clone()._ishlnsubmul(t,1,H);V.negative===0&&(r=V,M&&(M.words[H]=1));for(var Z=H-1;Z>=0;Z--){var X=67108864*(0|r.words[t.length+Z])+(0|r.words[t.length+Z-1]);for(X=Math.min(X/h|0,67108863),r._ishlnsubmul(t,X,Z);r.negative!==0;)X--,r.negative=0,r._ishlnsubmul(t,1,Z),r.isZero()||(r.negative^=1);M&&(M.words[Z]=X)}return M&&M.strip(),r.strip(),a!=="div"&&o!==0&&r.iushrn(o),{div:M||null,mod:r}},p.prototype.divmod=function(e,a,o){return O(!e.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&e.negative===0?(h=this.neg().divmod(e,a),a!=="mod"&&(r=h.div.neg()),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.iadd(e)),{div:r,mod:t}):this.negative===0&&e.negative!==0?(h=this.divmod(e.neg(),a),a!=="mod"&&(r=h.div.neg()),{div:r,mod:h.mod}):this.negative&e.negative?(h=this.neg().divmod(e.neg(),a),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.isub(e)),{div:h.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new p(0),mod:this}:e.length===1?a==="div"?{div:this.divn(e.words[0]),mod:null}:a==="mod"?{div:null,mod:new p(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new p(this.modn(e.words[0]))}:this._wordDiv(e,a);var r,t,h},p.prototype.div=function(e){return this.divmod(e,"div",!1).div},p.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},p.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},p.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var o=a.div.negative!==0?a.mod.isub(e):a.mod,r=e.ushrn(1),t=e.andln(1),h=o.cmp(r);return h<0||t===1&&h===0?a.div:a.div.negative!==0?a.div.isubn(1):a.div.iaddn(1)},p.prototype.modn=function(e){O(e<=67108863);for(var a=67108864%e,o=0,r=this.length-1;r>=0;r--)o=(a*o+(0|this.words[r]))%e;return o},p.prototype.idivn=function(e){O(e<=67108863);for(var a=0,o=this.length-1;o>=0;o--){var r=(0|this.words[o])+67108864*a;this.words[o]=r/e|0,a=r%e}return this.strip()},p.prototype.divn=function(e){return this.clone().idivn(e)},p.prototype.egcd=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r=new p(1),t=new p(0),h=new p(0),M=new p(1),H=0;a.isEven()&&o.isEven();)a.iushrn(1),o.iushrn(1),++H;for(var K=o.clone(),V=a.clone();!a.isZero();){for(var Z=0,X=1;!(a.words[0]&X)&&Z<26;++Z,X<<=1);if(Z>0)for(a.iushrn(Z);Z-- >0;)(r.isOdd()||t.isOdd())&&(r.iadd(K),t.isub(V)),r.iushrn(1),t.iushrn(1);for(var ae=0,ie=1;!(o.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(o.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(K),M.isub(V)),h.iushrn(1),M.iushrn(1);a.cmp(o)>=0?(a.isub(o),r.isub(h),t.isub(M)):(o.isub(a),h.isub(r),M.isub(t))}return{a:h,b:M,gcd:o.iushln(H)}},p.prototype._invmp=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r,t=new p(1),h=new p(0),M=o.clone();a.cmpn(1)>0&&o.cmpn(1)>0;){for(var H=0,K=1;!(a.words[0]&K)&&H<26;++H,K<<=1);if(H>0)for(a.iushrn(H);H-- >0;)t.isOdd()&&t.iadd(M),t.iushrn(1);for(var V=0,Z=1;!(o.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(o.iushrn(V);V-- >0;)h.isOdd()&&h.iadd(M),h.iushrn(1);a.cmp(o)>=0?(a.isub(o),t.isub(h)):(o.isub(a),h.isub(t))}return(r=a.cmpn(1)===0?t:h).cmpn(0)<0&&r.iadd(e),r},p.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),o=e.clone();a.negative=0,o.negative=0;for(var r=0;a.isEven()&&o.isEven();r++)a.iushrn(1),o.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;o.isEven();)o.iushrn(1);var t=a.cmp(o);if(t<0){var h=a;a=o,o=h}else if(t===0||o.cmpn(1)===0)break;a.isub(o)}return o.iushln(r)},p.prototype.invm=function(e){return this.egcd(e).a.umod(e)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(e){return this.words[0]&e},p.prototype.bincn=function(e){O(typeof e=="number");var a=e%26,o=(e-a)/26,r=1<<a;if(this.length<=o)return this._expand(o+1),this.words[o]|=r,this;for(var t=r,h=o;t!==0&&h<this.length;h++){var M=0|this.words[h];t=(M+=t)>>>26,M&=67108863,this.words[h]=M}return t!==0&&(this.words[h]=t,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(e){var a,o=e<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;if(this.strip(),this.length>1)a=1;else{o&&(e=-e),O(e<=67108863,"Number is too big");var r=0|this.words[0];a=r===e?0:r<e?-1:1}return this.negative!==0?0|-a:a},p.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var a=this.ucmp(e);return this.negative!==0?0|-a:a},p.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var a=0,o=this.length-1;o>=0;o--){var r=0|this.words[o],t=0|e.words[o];if(r!==t){r<t?a=-1:r>t&&(a=1);break}}return a},p.prototype.gtn=function(e){return this.cmpn(e)===1},p.prototype.gt=function(e){return this.cmp(e)===1},p.prototype.gten=function(e){return this.cmpn(e)>=0},p.prototype.gte=function(e){return this.cmp(e)>=0},p.prototype.ltn=function(e){return this.cmpn(e)===-1},p.prototype.lt=function(e){return this.cmp(e)===-1},p.prototype.lten=function(e){return this.cmpn(e)<=0},p.prototype.lte=function(e){return this.cmp(e)<=0},p.prototype.eqn=function(e){return this.cmpn(e)===0},p.prototype.eq=function(e){return this.cmp(e)===0},p.red=function(e){return new ue(e)},p.prototype.toRed=function(e){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(e){return this.red=e,this},p.prototype.forceRed=function(e){return O(!this.red,"Already a number in reduction context"),this._forceRed(e)},p.prototype.redAdd=function(e){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},p.prototype.redIAdd=function(e){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},p.prototype.redSub=function(e){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},p.prototype.redISub=function(e){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},p.prototype.redShl=function(e){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},p.prototype.redMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},p.prototype.redIMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(e){return O(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var P={k256:null,p224:null,p192:null,p25519:null};function W(e,a){this.name=e,this.p=new p(a,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function te(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function se(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(e){if(typeof e=="string"){var a=p._prime(e);this.m=a.p,this.prime=a}else O(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function de(e){ue.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W.prototype._tmp=function(){var e=new p(null);return e.words=new Array(Math.ceil(this.n/13)),e},W.prototype.ireduce=function(e){var a,o=e;do this.split(o,this.tmp),a=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(a>this.n);var r=a<this.n?-1:o.ucmp(this.p);return r===0?(o.words[0]=0,o.length=1):r>0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},W.prototype.split=function(e,a){e.iushrn(this.n,0,a)},W.prototype.imulK=function(e){return e.imul(this.k)},q(G,W),G.prototype.split=function(e,a){for(var o=4194303,r=Math.min(e.length,9),t=0;t<r;t++)a.words[t]=e.words[t];if(a.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var h=e.words[9];for(a.words[a.length++]=h&o,t=10;t<e.length;t++){var M=0|e.words[t];e.words[t-10]=(M&o)<<4|h>>>22,h=M}h>>>=22,e.words[t-10]=h,h===0&&e.length>10?e.length-=10:e.length-=9},G.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,o=0;o<e.length;o++){var r=0|e.words[o];a+=977*r,e.words[o]=67108863&a,a=64*r+(a/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},q(Q,W),q(te,W),q(se,W),se.prototype.imulK=function(e){for(var a=0,o=0;o<e.length;o++){var r=19*(0|e.words[o])+a,t=67108863&r;r>>>=26,e.words[o]=t,a=r}return a!==0&&(e.words[e.length++]=a),e},p._prime=function(e){if(P[e])return P[e];var a;if(e==="k256")a=new G;else if(e==="p224")a=new Q;else if(e==="p192")a=new te;else{if(e!=="p25519")throw new Error("Unknown prime "+e);a=new se}return P[e]=a,a},ue.prototype._verify1=function(e){O(e.negative===0,"red works only with positives"),O(e.red,"red works only with red numbers")},ue.prototype._verify2=function(e,a){O(!(e.negative|a.negative),"red works only with positives"),O(e.red&&e.red===a.red,"red works only with red numbers")},ue.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},ue.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},ue.prototype.add=function(e,a){this._verify2(e,a);var o=e.add(a);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},ue.prototype.iadd=function(e,a){this._verify2(e,a);var o=e.iadd(a);return o.cmp(this.m)>=0&&o.isub(this.m),o},ue.prototype.sub=function(e,a){this._verify2(e,a);var o=e.sub(a);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},ue.prototype.isub=function(e,a){this._verify2(e,a);var o=e.isub(a);return o.cmpn(0)<0&&o.iadd(this.m),o},ue.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},ue.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},ue.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},ue.prototype.isqr=function(e){return this.imul(e,e.clone())},ue.prototype.sqr=function(e){return this.mul(e,e)},ue.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(O(a%2==1),a===3){var o=this.m.add(new p(1)).iushrn(2);return this.pow(e,o)}for(var r=this.m.subn(1),t=0;!r.isZero()&&r.andln(1)===0;)t++,r.iushrn(1);O(!r.isZero());var h=new p(1).toRed(this),M=h.redNeg(),H=this.m.subn(1).iushrn(1),K=this.m.bitLength();for(K=new p(2*K*K).toRed(this);this.pow(K,H).cmp(M)!==0;)K.redIAdd(M);for(var V=this.pow(K,r),Z=this.pow(e,r.addn(1).iushrn(1)),X=this.pow(e,r),ae=t;X.cmp(h)!==0;){for(var ie=X,ce=0;ie.cmp(h)!==0;ce++)ie=ie.redSqr();O(ce<ae);var Y=this.pow(V,new p(1).iushln(ae-ce-1));Z=Z.redMul(Y),V=Y.redSqr(),X=X.redMul(V),ae=ce}return Z},ue.prototype.invm=function(e){var a=e._invmp(this.m);return a.negative!==0?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ue.prototype.pow=function(e,a){if(a.isZero())return new p(1).toRed(this);if(a.cmpn(1)===0)return e.clone();var o=new Array(16);o[0]=new p(1).toRed(this),o[1]=e;for(var r=2;r<o.length;r++)o[r]=this.mul(o[r-1],e);var t=o[0],h=0,M=0,H=a.bitLength()%26;for(H===0&&(H=26),r=a.length-1;r>=0;r--){for(var K=a.words[r],V=H-1;V>=0;V--){var Z=K>>V&1;t!==o[0]&&(t=this.sqr(t)),Z!==0||h!==0?(h<<=1,h|=Z,(++M==4||r===0&&V===0)&&(t=this.mul(t,o[h]),M=0,h=0)):M=0}H=26}return t},ue.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},ue.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},p.mont=function(e){return new de(e)},q(de,ue),de.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},de.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},de.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var o=e.imul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new p(0)._forceRed(this);var o=e.mul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},1189:(F,v,d)=>{var T=Array.prototype.slice,A=d(1093),O=Object.keys,q=O?function(j){return O(j)}:d(8875),p=Object.keys;q.shim=function(){if(Object.keys){var j=function(){var w=Object.keys(arguments);return w&&w.length===arguments.length}(1,2);j||(Object.keys=function(w){return A(w)?p(T.call(w)):p(w)})}else Object.keys=q;return Object.keys||q},F.exports=q},1200:(F,v,d)=>{var T=d(8490),A=d(7011).assert;function O(q,p){this.ec=q,this.priv=null,this.pub=null,p.priv&&this._importPrivate(p.priv,p.privEnc),p.pub&&this._importPublic(p.pub,p.pubEnc)}F.exports=O,O.fromPublic=function(q,p,j){return p instanceof O?p:new O(q,{pub:p,pubEnc:j})},O.fromPrivate=function(q,p,j){return p instanceof O?p:new O(q,{priv:p,privEnc:j})},O.prototype.validate=function(){var q=this.getPublic();return q.isInfinity()?{result:!1,reason:"Invalid public key"}:q.validate()?q.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},O.prototype.getPublic=function(q,p){return typeof q=="string"&&(p=q,q=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),p?this.pub.encode(p,q):this.pub},O.prototype.getPrivate=function(q){return q==="hex"?this.priv.toString(16,2):this.priv},O.prototype._importPrivate=function(q,p){this.priv=new T(q,p||16),this.priv=this.priv.umod(this.ec.curve.n)},O.prototype._importPublic=function(q,p){if(q.x||q.y)return this.ec.curve.type==="mont"?A(q.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||A(q.x&&q.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(q.x,q.y));this.pub=this.ec.curve.decodePoint(q,p)},O.prototype.derive=function(q){return q.validate()||A(q.validate(),"public point not validated"),q.mul(this.priv).getX()},O.prototype.sign=function(q,p,j){return this.ec.sign(q,this,p,j)},O.prototype.verify=function(q,p,j){return this.ec.verify(q,p,this,void 0,j)},O.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},1218:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;A=d(468),T=d(1737),F.exports=function(q){function p(j){p.__super__.constructor.call(this,j),this.type=T.Dummy}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.clone=function(){return Object.create(this)},p.prototype.toString=function(j){return""},p}(A)}).call(this)},1237:F=>{F.exports=EvalError},1241:(F,v,d)=>{var T=d(5799),A=d(6171),O=d(3219);v.createCipher=v.Cipher=T.createCipher,v.createCipheriv=v.Cipheriv=T.createCipheriv,v.createDecipher=v.Decipher=A.createDecipher,v.createDecipheriv=v.Decipheriv=A.createDecipheriv,v.listCiphers=v.getCiphers=function(){return Object.keys(O)}},1268:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;T=d(1737),A=d(468),F.exports=function(q){function p(j,w){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=T.Raw,this.value=this.stringify.raw(w)}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.clone=function(){return Object.create(this)},p.prototype.toString=function(j){return this.options.writer.raw(this,this.options.writer.filterOptions(j))},p}(A)}).call(this)},1270:function(F,v,d){var T;F=d.nmd(F),function(){v&&v.nodeType,F&&F.nodeType;var A=typeof d.g=="object"&&d.g;A.global!==A&&A.window!==A&&A.self;var O,q=2147483647,p=36,j=/^xn--/,w=/[^\x20-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},N=Math.floor,I=String.fromCharCode;function b(te){throw new RangeError(_[te])}function B(te,se){for(var ue=te.length,de=[];ue--;)de[ue]=se(te[ue]);return de}function D(te,se){var ue=te.split("@"),de="";return ue.length>1&&(de=ue[0]+"@",te=ue[1]),de+B((te=te.replace(S,".")).split("."),se).join(".")}function U(te){for(var se,ue,de=[],e=0,a=te.length;e<a;)(se=te.charCodeAt(e++))>=55296&&se<=56319&&e<a?(64512&(ue=te.charCodeAt(e++)))==56320?de.push(((1023&se)<<10)+(1023&ue)+65536):(de.push(se),e--):de.push(se);return de}function $(te){return B(te,function(se){var ue="";return se>65535&&(ue+=I((se-=65536)>>>10&1023|55296),se=56320|1023&se),ue+I(se)}).join("")}function P(te,se){return te+22+75*(te<26)-((se!=0)<<5)}function W(te,se,ue){var de=0;for(te=ue?N(te/700):te>>1,te+=N(te/se);te>455;de+=p)te=N(te/35);return N(de+36*te/(te+38))}function G(te){var se,ue,de,e,a,o,r,t,h,M,H,K=[],V=te.length,Z=0,X=128,ae=72;for((ue=te.lastIndexOf("-"))<0&&(ue=0),de=0;de<ue;++de)te.charCodeAt(de)>=128&&b("not-basic"),K.push(te.charCodeAt(de));for(e=ue>0?ue+1:0;e<V;){for(a=Z,o=1,r=p;e>=V&&b("invalid-input"),((t=(H=te.charCodeAt(e++))-48<10?H-22:H-65<26?H-65:H-97<26?H-97:p)>=p||t>N((q-Z)/o))&&b("overflow"),Z+=t*o,!(t<(h=r<=ae?1:r>=ae+26?26:r-ae));r+=p)o>N(q/(M=p-h))&&b("overflow"),o*=M;ae=W(Z-a,se=K.length+1,a==0),N(Z/se)>q-X&&b("overflow"),X+=N(Z/se),Z%=se,K.splice(Z++,0,X)}return $(K)}function Q(te){var se,ue,de,e,a,o,r,t,h,M,H,K,V,Z,X,ae=[];for(K=(te=U(te)).length,se=128,ue=0,a=72,o=0;o<K;++o)(H=te[o])<128&&ae.push(I(H));for(de=e=ae.length,e&&ae.push("-");de<K;){for(r=q,o=0;o<K;++o)(H=te[o])>=se&&H<r&&(r=H);for(r-se>N((q-ue)/(V=de+1))&&b("overflow"),ue+=(r-se)*V,se=r,o=0;o<K;++o)if((H=te[o])<se&&++ue>q&&b("overflow"),H==se){for(t=ue,h=p;!(t<(M=h<=a?1:h>=a+26?26:h-a));h+=p)X=t-M,Z=p-M,ae.push(I(P(M+X%Z,0))),t=N(X/Z);ae.push(I(P(t,0))),a=W(ue,V,de==e),ue=0,++de}++ue,++se}return ae.join("")}O={version:"1.4.1",ucs2:{decode:U,encode:$},decode:G,encode:Q,toASCII:function(te){return D(te,function(se){return w.test(se)?"xn--"+Q(se):se})},toUnicode:function(te){return D(te,function(se){return j.test(se)?G(se.slice(4).toLowerCase()):se})}},(T=(function(){return O}).call(v,d,v,F))===void 0||(F.exports=T)}()},1298:(F,v,d)=>{var T=d(7011),A=d(8490),O=d(6698),q=d(6677),p=T.assert;function j(S){this.twisted=(0|S.a)!=1,this.mOneA=this.twisted&&(0|S.a)==-1,this.extended=this.mOneA,q.call(this,"edwards",S),this.a=new A(S.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new A(S.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new A(S.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),p(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|S.c)==1}function w(S,_,N,I,b){q.BasePoint.call(this,S,"projective"),_===null&&N===null&&I===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new A(_,16),this.y=new A(N,16),this.z=I?new A(I,16):this.curve.one,this.t=b&&new A(b,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}O(j,q),F.exports=j,j.prototype._mulA=function(S){return this.mOneA?S.redNeg():this.a.redMul(S)},j.prototype._mulC=function(S){return this.oneC?S:this.c.redMul(S)},j.prototype.jpoint=function(S,_,N,I){return this.point(S,_,N,I)},j.prototype.pointFromX=function(S,_){(S=new A(S,16)).red||(S=S.toRed(this.red));var N=S.redSqr(),I=this.c2.redSub(this.a.redMul(N)),b=this.one.redSub(this.c2.redMul(this.d).redMul(N)),B=I.redMul(b.redInvm()),D=B.redSqrt();if(D.redSqr().redSub(B).cmp(this.zero)!==0)throw new Error("invalid point");var U=D.fromRed().isOdd();return(_&&!U||!_&&U)&&(D=D.redNeg()),this.point(S,D)},j.prototype.pointFromY=function(S,_){(S=new A(S,16)).red||(S=S.toRed(this.red));var N=S.redSqr(),I=N.redSub(this.c2),b=N.redMul(this.d).redMul(this.c2).redSub(this.a),B=I.redMul(b.redInvm());if(B.cmp(this.zero)===0){if(_)throw new Error("invalid point");return this.point(this.zero,S)}var D=B.redSqrt();if(D.redSqr().redSub(B).cmp(this.zero)!==0)throw new Error("invalid point");return D.fromRed().isOdd()!==_&&(D=D.redNeg()),this.point(D,S)},j.prototype.validate=function(S){if(S.isInfinity())return!0;S.normalize();var _=S.x.redSqr(),N=S.y.redSqr(),I=_.redMul(this.a).redAdd(N),b=this.c2.redMul(this.one.redAdd(this.d.redMul(_).redMul(N)));return I.cmp(b)===0},O(w,q.BasePoint),j.prototype.pointFromJSON=function(S){return w.fromJSON(this,S)},j.prototype.point=function(S,_,N,I){return new w(this,S,_,N,I)},w.fromJSON=function(S,_){return new w(S,_[0],_[1],_[2])},w.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},w.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},w.prototype._extDbl=function(){var S=this.x.redSqr(),_=this.y.redSqr(),N=this.z.redSqr();N=N.redIAdd(N);var I=this.curve._mulA(S),b=this.x.redAdd(this.y).redSqr().redISub(S).redISub(_),B=I.redAdd(_),D=B.redSub(N),U=I.redSub(_),$=b.redMul(D),P=B.redMul(U),W=b.redMul(U),G=D.redMul(B);return this.curve.point($,P,G,W)},w.prototype._projDbl=function(){var S,_,N,I,b,B,D=this.x.redAdd(this.y).redSqr(),U=this.x.redSqr(),$=this.y.redSqr();if(this.curve.twisted){var P=(I=this.curve._mulA(U)).redAdd($);this.zOne?(S=D.redSub(U).redSub($).redMul(P.redSub(this.curve.two)),_=P.redMul(I.redSub($)),N=P.redSqr().redSub(P).redSub(P)):(b=this.z.redSqr(),B=P.redSub(b).redISub(b),S=D.redSub(U).redISub($).redMul(B),_=P.redMul(I.redSub($)),N=P.redMul(B))}else I=U.redAdd($),b=this.curve._mulC(this.z).redSqr(),B=I.redSub(b).redSub(b),S=this.curve._mulC(D.redISub(I)).redMul(B),_=this.curve._mulC(I).redMul(U.redISub($)),N=I.redMul(B);return this.curve.point(S,_,N)},w.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},w.prototype._extAdd=function(S){var _=this.y.redSub(this.x).redMul(S.y.redSub(S.x)),N=this.y.redAdd(this.x).redMul(S.y.redAdd(S.x)),I=this.t.redMul(this.curve.dd).redMul(S.t),b=this.z.redMul(S.z.redAdd(S.z)),B=N.redSub(_),D=b.redSub(I),U=b.redAdd(I),$=N.redAdd(_),P=B.redMul(D),W=U.redMul($),G=B.redMul($),Q=D.redMul(U);return this.curve.point(P,W,Q,G)},w.prototype._projAdd=function(S){var _,N,I=this.z.redMul(S.z),b=I.redSqr(),B=this.x.redMul(S.x),D=this.y.redMul(S.y),U=this.curve.d.redMul(B).redMul(D),$=b.redSub(U),P=b.redAdd(U),W=this.x.redAdd(this.y).redMul(S.x.redAdd(S.y)).redISub(B).redISub(D),G=I.redMul($).redMul(W);return this.curve.twisted?(_=I.redMul(P).redMul(D.redSub(this.curve._mulA(B))),N=$.redMul(P)):(_=I.redMul(P).redMul(D.redSub(B)),N=this.curve._mulC($).redMul(P)),this.curve.point(G,_,N)},w.prototype.add=function(S){return this.isInfinity()?S:S.isInfinity()?this:this.curve.extended?this._extAdd(S):this._projAdd(S)},w.prototype.mul=function(S){return this._hasDoubles(S)?this.curve._fixedNafMul(this,S):this.curve._wnafMul(this,S)},w.prototype.mulAdd=function(S,_,N){return this.curve._wnafMulAdd(1,[this,_],[S,N],2,!1)},w.prototype.jmulAdd=function(S,_,N){return this.curve._wnafMulAdd(1,[this,_],[S,N],2,!0)},w.prototype.normalize=function(){if(this.zOne)return this;var S=this.z.redInvm();return this.x=this.x.redMul(S),this.y=this.y.redMul(S),this.t&&(this.t=this.t.redMul(S)),this.z=this.curve.one,this.zOne=!0,this},w.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},w.prototype.getX=function(){return this.normalize(),this.x.fromRed()},w.prototype.getY=function(){return this.normalize(),this.y.fromRed()},w.prototype.eq=function(S){return this===S||this.getX().cmp(S.getX())===0&&this.getY().cmp(S.getY())===0},w.prototype.eqXToP=function(S){var _=S.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(_)===0)return!0;for(var N=S.clone(),I=this.curve.redN.redMul(this.z);;){if(N.iadd(this.curve.n),N.cmp(this.curve.p)>=0)return!1;if(_.redIAdd(I),this.x.cmp(_)===0)return!0}},w.prototype.toP=w.prototype.normalize,w.prototype.mixedAdd=w.prototype.add},1324:(F,v,d)=>{var T=d(8287).Buffer,A=d(6729),O=d(2801);F.exports=function(w){return new p(w)};var q={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function p(w){this.curveType=q[w],this.curveType||(this.curveType={name:w}),this.curve=new A.ec(this.curveType.name),this.keys=void 0}function j(w,S,_){Array.isArray(w)||(w=w.toArray());var N=new T(w);if(_&&N.length<_){var I=new T(_-N.length);I.fill(0),N=T.concat([I,N])}return S?N.toString(S):N}q.p224=q.secp224r1,q.p256=q.secp256r1=q.prime256v1,q.p192=q.secp192r1=q.prime192v1,q.p384=q.secp384r1,q.p521=q.secp521r1,p.prototype.generateKeys=function(w,S){return this.keys=this.curve.genKeyPair(),this.getPublicKey(w,S)},p.prototype.computeSecret=function(w,S,_){return S=S||"utf8",T.isBuffer(w)||(w=new T(w,S)),j(this.curve.keyFromPublic(w).getPublic().mul(this.keys.getPrivate()).getX(),_,this.curveType.byteLength)},p.prototype.getPublicKey=function(w,S){var _=this.keys.getPublic(S==="compressed",!0);return S==="hybrid"&&(_[_.length-1]%2?_[0]=7:_[0]=6),j(_,w)},p.prototype.getPrivateKey=function(w){return j(this.keys.getPrivate(),w)},p.prototype.setPublicKey=function(w,S){return S=S||"utf8",T.isBuffer(w)||(w=new T(w,S)),this.keys._importPublic(w),this},p.prototype.setPrivateKey=function(w,S){S=S||"utf8",T.isBuffer(w)||(w=new T(w,S));var _=new O(w);return _=_.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(_),this}},1333:F=>{F.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var v={},d=Symbol("test"),T=Object(d);if(typeof d=="string"||Object.prototype.toString.call(d)!=="[object Symbol]"||Object.prototype.toString.call(T)!=="[object Symbol]")return!1;for(var A in v[d]=42,v)return!1;if(typeof Object.keys=="function"&&Object.keys(v).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(v).length!==0)return!1;var O=Object.getOwnPropertySymbols(v);if(O.length!==1||O[0]!==d||!Object.prototype.propertyIsEnumerable.call(v,d))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var q=Object.getOwnPropertyDescriptor(v,d);if(q.value!==42||q.enumerable!==!0)return!1}return!0}},1352:(F,v,d)=>{var T=d(320),A=d(6011),O=d(2802),q=d(2861).Buffer,p=d(4196),j=d(2455),w=d(3382),S=q.alloc(128),_={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function N(I,b,B){var D=function(Q){return Q==="rmd160"||Q==="ripemd160"?function(te){return new A().update(te).digest()}:Q==="md5"?T:function(te){return O(Q).update(te).digest()}}(I),U=I==="sha512"||I==="sha384"?128:64;b.length>U?b=D(b):b.length<U&&(b=q.concat([b,S],U));for(var $=q.allocUnsafe(U+_[I]),P=q.allocUnsafe(U+_[I]),W=0;W<U;W++)$[W]=54^b[W],P[W]=92^b[W];var G=q.allocUnsafe(U+B+4);$.copy(G,0,0,U),this.ipad1=G,this.ipad2=$,this.opad=P,this.alg=I,this.blocksize=U,this.hash=D,this.size=_[I]}N.prototype.run=function(I,b){return I.copy(b,this.blocksize),this.hash(b).copy(this.opad,this.blocksize),this.hash(this.opad)},F.exports=function(I,b,B,D,U){p(B,D);var $=new N(U=U||"sha1",I=w(I,j,"Password"),(b=w(b,j,"Salt")).length),P=q.allocUnsafe(D),W=q.allocUnsafe(b.length+4);b.copy(W,0,0,b.length);for(var G=0,Q=_[U],te=Math.ceil(D/Q),se=1;se<=te;se++){W.writeUInt32BE(se,b.length);for(var ue=$.run(W,$.ipad1),de=ue,e=1;e<B;e++){de=$.run(de,$.ipad2);for(var a=0;a<Q;a++)ue[a]^=de[a]}ue.copy(P,G),G+=Q}return P}},1499:F=>{var v={"&":"&",'"':""","'":"'","<":"<",">":">"};F.exports=function(d){return d&&d.replace?d.replace(/([&"<>'])/g,function(T,A){return v[A]}):d}},1514:F=>{F.exports=Math.abs},1537:(F,v,d)=>{const T=d(5334),A={allowBooleanAttributes:!1},O=["allowBooleanAttributes"];function q($,P){const W=P;for(;P<$.length;P++)if(!($[P]!="?"&&$[P]!=" ")){const G=$.substr(W,P-W);if(P>5&&G==="xml")return b("InvalidXml","XML declaration allowed only at the start of the document.",D($,P));if($[P]=="?"&&$[P+1]==">"){P++;break}}return P}function p($,P){if($.length>P+5&&$[P+1]==="-"&&$[P+2]==="-"){for(P+=3;P<$.length;P++)if($[P]==="-"&&$[P+1]==="-"&&$[P+2]===">"){P+=2;break}}else if($.length>P+8&&$[P+1]==="D"&&$[P+2]==="O"&&$[P+3]==="C"&&$[P+4]==="T"&&$[P+5]==="Y"&&$[P+6]==="P"&&$[P+7]==="E"){let W=1;for(P+=8;P<$.length;P++)if($[P]==="<")W++;else if($[P]===">"&&(W--,W===0))break}else if($.length>P+9&&$[P+1]==="["&&$[P+2]==="C"&&$[P+3]==="D"&&$[P+4]==="A"&&$[P+5]==="T"&&$[P+6]==="A"&&$[P+7]==="["){for(P+=8;P<$.length;P++)if($[P]==="]"&&$[P+1]==="]"&&$[P+2]===">"){P+=2;break}}return P}v.validate=function($,P){P=T.buildOptions(P,A,O);const W=[];let G=!1,Q=!1;$[0]==="\uFEFF"&&($=$.substr(1));for(let se=0;se<$.length;se++)if($[se]==="<"&&$[se+1]==="?"){if(se+=2,se=q($,se),se.err)return se}else{if($[se]!=="<"){if($[se]===" "||$[se]===" "||$[se]===`
|
|
28
|
+
`||$[se]==="\r")continue;return b("InvalidChar","char '"+$[se]+"' is not expected.",D($,se))}{let ue=se;if(se++,$[se]==="!"){se=p($,se);continue}{let de=!1;$[se]==="/"&&(de=!0,se++);let e="";for(;se<$.length&&$[se]!==">"&&$[se]!==" "&&$[se]!==" "&&$[se]!==`
|
|
29
|
+
`&&$[se]!=="\r";se++)e+=$[se];if(e=e.trim(),e[e.length-1]==="/"&&(e=e.substring(0,e.length-1),se--),te=e,!T.isName(te)){let r;return r=e.trim().length===0?"Invalid space after '<'.":"Tag '"+e+"' is an invalid name.",b("InvalidTag",r,D($,se))}const a=S($,se);if(a===!1)return b("InvalidAttr","Attributes for '"+e+"' have open quote.",D($,se));let o=a.value;if(se=a.index,o[o.length-1]==="/"){const r=se-o.length;o=o.substring(0,o.length-1);const t=N(o,P);if(t!==!0)return b(t.err.code,t.err.msg,D($,r+t.err.line));G=!0}else if(de){if(!a.tagClosed)return b("InvalidTag","Closing tag '"+e+"' doesn't have proper closing.",D($,se));if(o.trim().length>0)return b("InvalidTag","Closing tag '"+e+"' can't have attributes or invalid starting.",D($,ue));{const r=W.pop();if(e!==r.tagName){let t=D($,r.tagStartPos);return b("InvalidTag","Expected closing tag '"+r.tagName+"' (opened in line "+t.line+", col "+t.col+") instead of closing tag '"+e+"'.",D($,ue))}W.length==0&&(Q=!0)}}else{const r=N(o,P);if(r!==!0)return b(r.err.code,r.err.msg,D($,se-o.length+r.err.line));if(Q===!0)return b("InvalidXml","Multiple possible root nodes found.",D($,se));W.push({tagName:e,tagStartPos:ue}),G=!0}for(se++;se<$.length;se++)if($[se]==="<"){if($[se+1]==="!"){se++,se=p($,se);continue}if($[se+1]!=="?")break;if(se=q($,++se),se.err)return se}else if($[se]==="&"){const r=I($,se);if(r==-1)return b("InvalidChar","char '&' is not expected.",D($,se));se=r}$[se]==="<"&&se--}}}var te;return G?W.length==1?b("InvalidTag","Unclosed tag '"+W[0].tagName+"'.",D($,W[0].tagStartPos)):!(W.length>0)||b("InvalidXml","Invalid '"+JSON.stringify(W.map(se=>se.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):b("InvalidXml","Start tag expected.",1)};const j='"',w="'";function S($,P){let W="",G="",Q=!1;for(;P<$.length;P++){if($[P]===j||$[P]===w)G===""?G=$[P]:G!==$[P]||(G="");else if($[P]===">"&&G===""){Q=!0;break}W+=$[P]}return G===""&&{value:W,index:P,tagClosed:Q}}const _=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function N($,P){const W=T.getAllMatches($,_),G={};for(let Q=0;Q<W.length;Q++){if(W[Q][1].length===0)return b("InvalidAttr","Attribute '"+W[Q][2]+"' has no space in starting.",U(W[Q]));if(W[Q][3]===void 0&&!P.allowBooleanAttributes)return b("InvalidAttr","boolean attribute '"+W[Q][2]+"' is not allowed.",U(W[Q]));const te=W[Q][2];if(!B(te))return b("InvalidAttr","Attribute '"+te+"' is an invalid name.",U(W[Q]));if(G.hasOwnProperty(te))return b("InvalidAttr","Attribute '"+te+"' is repeated.",U(W[Q]));G[te]=1}return!0}function I($,P){if($[++P]===";")return-1;if($[P]==="#")return function(G,Q){let te=/\d/;for(G[Q]==="x"&&(Q++,te=/[\da-fA-F]/);Q<G.length;Q++){if(G[Q]===";")return Q;if(!G[Q].match(te))break}return-1}($,++P);let W=0;for(;P<$.length;P++,W++)if(!($[P].match(/\w/)&&W<20)){if($[P]===";")break;return-1}return P}function b($,P,W){return{err:{code:$,msg:P,line:W.line||W,col:W.col}}}function B($){return T.isName($)}function D($,P){const W=$.substring(0,P).split(/\r?\n/);return{line:W.length,col:W[W.length-1].length+1}}function U($){return $.startIndex+$[1].length}},1565:(F,v,d)=>{v.randomBytes=v.rng=v.pseudoRandomBytes=v.prng=d(3209),v.createHash=v.Hash=d(7108),v.createHmac=v.Hmac=d(3507);var T=d(5715),A=Object.keys(T),O=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(A);v.getHashes=function(){return O};var q=d(8396);v.pbkdf2=q.pbkdf2,v.pbkdf2Sync=q.pbkdf2Sync;var p=d(125);v.Cipher=p.Cipher,v.createCipher=p.createCipher,v.Cipheriv=p.Cipheriv,v.createCipheriv=p.createCipheriv,v.Decipher=p.Decipher,v.createDecipher=p.createDecipher,v.Decipheriv=p.Decipheriv,v.createDecipheriv=p.createDecipheriv,v.getCiphers=p.getCiphers,v.listCiphers=p.listCiphers;var j=d(5380);v.DiffieHellmanGroup=j.DiffieHellmanGroup,v.createDiffieHellmanGroup=j.createDiffieHellmanGroup,v.getDiffieHellman=j.getDiffieHellman,v.createDiffieHellman=j.createDiffieHellman,v.DiffieHellman=j.DiffieHellman;var w=d(20);v.createSign=w.createSign,v.Sign=w.Sign,v.createVerify=w.createVerify,v.Verify=w.Verify,v.createECDH=d(1324);var S=d(7168);v.publicEncrypt=S.publicEncrypt,v.privateEncrypt=S.privateEncrypt,v.publicDecrypt=S.publicDecrypt,v.privateDecrypt=S.privateDecrypt;var _=d(6983);v.randomFill=_.randomFill,v.randomFillSync=_.randomFillSync,v.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
|
|
30
|
+
we accept pull requests
|
|
31
|
+
https://github.com/browserify/crypto-browserify`)},v.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},1568:(F,v,d)=>{var T=d(5537),A=d(6917),O=d(7510),q=d(6866),p=d(8835),j=v;j.request=function(w,S){w=typeof w=="string"?p.parse(w):O(w);var _=d.g.location.protocol.search(/^https?:$/)===-1?"http:":"",N=w.protocol||_,I=w.hostname||w.host,b=w.port,B=w.path||"/";I&&I.indexOf(":")!==-1&&(I="["+I+"]"),w.url=(I?N+"//"+I:"")+(b?":"+b:"")+B,w.method=(w.method||"GET").toUpperCase(),w.headers=w.headers||{};var D=new T(w);return S&&D.on("response",S),D},j.get=function(w,S){var _=j.request(w,S);return _.end(),_},j.ClientRequest=T,j.IncomingMessage=A.IncomingMessage,j.Agent=function(){},j.Agent.defaultMaxSockets=4,j.globalAgent=new j.Agent,j.STATUS_CODES=q,j.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]},1616:(F,v,d)=>{var T=d(5606);Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var A,O=d(8310),q=(A=d(1565))&&A.__esModule?A:{default:A},p=function(_,N){if(_&&_.__esModule)return _;if(_===null||typeof _!="object"&&typeof _!="function")return{default:_};var I=w(N);if(I&&I.has(_))return I.get(_);var b={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in _)if(D!=="default"&&Object.prototype.hasOwnProperty.call(_,D)){var U=B?Object.getOwnPropertyDescriptor(_,D):null;U&&(U.get||U.set)?Object.defineProperty(b,D,U):b[D]=_[D]}return b.default=_,I&&I.set(_,b),b}(d(6663)),j=d(2541);function w(_){if(typeof WeakMap!="function")return null;var N=new WeakMap,I=new WeakMap;return(w=function(b){return b?I:N})(_)}class S extends O.Transform{constructor(N,I,b,B,D,U){super(),this.emptyStream=!0,this.client=N,this.bucketName=I,this.objectName=b,this.partSize=B,this.metaData=D,this.callback=U,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",$=>{U($)})}_transform(N,I,b){this.emptyStream=!1;let B={"Content-Length":N.length},D="";if(this.client.enableSHA256||(D=q.default.createHash("md5").update(N).digest(),B["Content-MD5"]=D.toString("base64")),this.partNumber==1&&N.length<this.partSize){let P={method:"PUT",headers:Object.assign({},this.metaData,B),query:"",bucketName:this.bucketName,objectName:this.objectName};return void this.client.makeRequest(P,N,[200],"",!0,(W,G)=>{if(W)return b(W);let Q={etag:(0,j.sanitizeETag)(G.headers.etag),versionId:(0,j.getVersionId)(G.headers)};G.on("data",()=>{}),T.nextTick(()=>{this.callback(null,Q)}),b()})}if(this.id===null)return this.once("ready",()=>{this._transform(N,I,b)}),void this.client.findUploadId(this.bucketName,this.objectName,(P,W)=>{if(P)return this.emit("error",P);W?(this.id=W,this.client.listParts(this.bucketName,this.objectName,W,(G,Q)=>{if(G)return this.emit("error",G);Q||(Q=[]),this.oldParts=Q.reduce(function(te,se){return te[se.part]||(te[se.part]=se),te},{}),this.emit("ready")})):this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData,(G,Q)=>{if(G)return b(G);this.id=Q,this.emit("ready")})});let U=this.partNumber++;if(this.oldParts){let P=this.oldParts[U];if(D||(D=q.default.createHash("md5").update(N).digest()),P&&D.toString("hex")===P.etag)return this.etags.push({part:U,etag:P.etag}),void b()}let $={method:"PUT",query:p.stringify({partNumber:U,uploadId:this.id}),headers:B,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest($,N,[200],"",!0,(P,W)=>{if(P)return b(P);let G=W.headers.etag;G&&(G=G.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:U,etag:G}),W.on("data",()=>{}),b()})}_flush(N){if(this.emptyStream){let I={method:"PUT",headers:Object.assign({},this.metaData,{"Content-Length":0}),query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(I,"",[200],"",!0,(b,B)=>{if(b)return N(b);let D={etag:(0,j.sanitizeETag)(B.headers.etag),versionId:(0,j.getVersionId)(B.headers)};B.on("data",()=>{}),T.nextTick(()=>{this.callback(null,D)}),N()})}else this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(I,b)=>{if(I)return N(I);T.nextTick(()=>{this.callback(null,b)}),N()})}}v.default=S},1636:F=>{F.exports={rE:"6.6.1"}},1638:()=>{},1737:function(F){(function(){F.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},1800:(F,v,d)=>{var T=d(6698),A=d(2861).Buffer,O=d(6168),q=A.alloc(128),p=64;function j(w,S){O.call(this,"digest"),typeof S=="string"&&(S=A.from(S)),this._alg=w,this._key=S,S.length>p?S=w(S):S.length<p&&(S=A.concat([S,q],p));for(var _=this._ipad=A.allocUnsafe(p),N=this._opad=A.allocUnsafe(p),I=0;I<p;I++)_[I]=54^S[I],N[I]=92^S[I];this._hash=[_]}T(j,O),j.prototype._update=function(w){this._hash.push(w)},j.prototype._final=function(){var w=this._alg(A.concat(this._hash));return this._alg(A.concat([this._opad,w]))},F.exports=j},1813:F=>{F.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},1816:(F,v,d)=>{F.exports=q;var T=d(6248),A=Object.create(d(5622));function O(w,S){var _=this._transformState;_.transforming=!1;var N=_.writecb;if(!N)return this.emit("error",new Error("write callback called multiple times"));_.writechunk=null,_.writecb=null,S!=null&&this.push(S),N(w);var I=this._readableState;I.reading=!1,(I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}function q(w){if(!(this instanceof q))return new q(w);T.call(this,w),this._transformState={afterTransform:O.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,w&&(typeof w.transform=="function"&&(this._transform=w.transform),typeof w.flush=="function"&&(this._flush=w.flush)),this.on("prefinish",p)}function p(){var w=this;typeof this._flush=="function"?this._flush(function(S,_){j(w,S,_)}):j(this,null,null)}function j(w,S,_){if(S)return w.emit("error",S);if(_!=null&&w.push(_),w._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(w._transformState.transforming)throw new Error("Calling transform done when still transforming");return w.push(null)}A.inherits=d(6698),A.inherits(q,T),q.prototype.push=function(w,S){return this._transformState.needTransform=!1,T.prototype.push.call(this,w,S)},q.prototype._transform=function(w,S,_){throw new Error("_transform() is not implemented")},q.prototype._write=function(w,S,_){var N=this._transformState;if(N.writecb=_,N.writechunk=w,N.writeencoding=S,!N.transforming){var I=this._readableState;(N.needTransform||I.needReadable||I.length<I.highWaterMark)&&this._read(I.highWaterMark)}},q.prototype._read=function(w){var S=this._transformState;S.writechunk!==null&&S.writecb&&!S.transforming?(S.transforming=!0,this._transform(S.writechunk,S.writeencoding,S.afterTransform)):S.needTransform=!0},q.prototype._destroy=function(w,S){var _=this;T.prototype._destroy.call(this,w,function(N){S(N),_.emit("close")})}},1911:(F,v,d)=>{var T=d(7426),A=d(7766);function O(){if(!(this instanceof O))return new O;A.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}T.inherits(O,A),F.exports=O,O.blockSize=1024,O.outSize=384,O.hmacStrength=192,O.padLength=128,O.prototype._digest=function(q){return q==="hex"?T.toHex32(this.h.slice(0,12),"big"):T.split32(this.h.slice(0,12),"big")}},1912:function(F,v,d){(function(){var T,A,O,q,p,j,w,S,_=function(I,b){return function(){return I.apply(b,arguments)}},N={}.hasOwnProperty;w=d(4043),O=d(7007),T=d(3177),j=d(2114),S=d(7103).setImmediate,A=d(6465).defaults,q=function(I){return typeof I=="object"&&I!=null&&Object.keys(I).length===0},p=function(I,b,B){var D,U;for(D=0,U=I.length;D<U;D++)b=(0,I[D])(b,B);return b},v.Parser=function(I){function b(B){var D,U,$;if(this.parseStringPromise=_(this.parseStringPromise,this),this.parseString=_(this.parseString,this),this.reset=_(this.reset,this),this.assignOrPush=_(this.assignOrPush,this),this.processAsync=_(this.processAsync,this),!(this instanceof v.Parser))return new v.Parser(B);for(D in this.options={},U=A[.2])N.call(U,D)&&($=U[D],this.options[D]=$);for(D in B)N.call(B,D)&&($=B[D],this.options[D]=$);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(j.normalize)),this.reset()}return function(B,D){for(var U in D)N.call(D,U)&&(B[U]=D[U]);function $(){this.constructor=B}$.prototype=D.prototype,B.prototype=new $,B.__super__=D.prototype}(b,I),b.prototype.processAsync=function(){var B,D;try{return this.remaining.length<=this.options.chunkSize?(B=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(B),this.saxParser.close()):(B=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(B),S(this.processAsync))}catch(U){if(D=U,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(D)}},b.prototype.assignOrPush=function(B,D,U){return D in B?(B[D]instanceof Array||(B[D]=[B[D]]),B[D].push(U)):this.options.explicitArray?B[D]=[U]:B[D]=U},b.prototype.reset=function(){var B,D,U,$,P;return this.removeAllListeners(),this.saxParser=w.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(P=this,function(W){if(P.saxParser.resume(),!P.saxParser.errThrown)return P.saxParser.errThrown=!0,P.emit("error",W)}),this.saxParser.onend=function(W){return function(){if(!W.saxParser.ended)return W.saxParser.ended=!0,W.emit("end",W.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,$=[],B=this.options.attrkey,D=this.options.charkey,this.saxParser.onopentag=function(W){return function(G){var Q,te,se,ue,de;if((se={})[D]="",!W.options.ignoreAttrs)for(Q in de=G.attributes)N.call(de,Q)&&(B in se||W.options.mergeAttrs||(se[B]={}),te=W.options.attrValueProcessors?p(W.options.attrValueProcessors,G.attributes[Q],Q):G.attributes[Q],ue=W.options.attrNameProcessors?p(W.options.attrNameProcessors,Q):Q,W.options.mergeAttrs?W.assignOrPush(se,ue,te):se[B][ue]=te);return se["#name"]=W.options.tagNameProcessors?p(W.options.tagNameProcessors,G.name):G.name,W.options.xmlns&&(se[W.options.xmlnskey]={uri:G.uri,local:G.local}),$.push(se)}}(this),this.saxParser.onclosetag=function(W){return function(){var G,Q,te,se,ue,de,e,a,o,r;if(de=$.pop(),ue=de["#name"],W.options.explicitChildren&&W.options.preserveChildrenOrder||delete de["#name"],de.cdata===!0&&(G=de.cdata,delete de.cdata),o=$[$.length-1],de[D].match(/^\s*$/)&&!G?(Q=de[D],delete de[D]):(W.options.trim&&(de[D]=de[D].trim()),W.options.normalize&&(de[D]=de[D].replace(/\s{2,}/g," ").trim()),de[D]=W.options.valueProcessors?p(W.options.valueProcessors,de[D],ue):de[D],Object.keys(de).length===1&&D in de&&!W.EXPLICIT_CHARKEY&&(de=de[D])),q(de)&&(de=W.options.emptyTag!==""?W.options.emptyTag:Q),W.options.validator!=null&&(r="/"+function(){var t,h,M;for(M=[],t=0,h=$.length;t<h;t++)se=$[t],M.push(se["#name"]);return M}().concat(ue).join("/"),function(){var t;try{return de=W.options.validator(r,o&&o[ue],de)}catch(h){return t=h,W.emit("error",t)}}()),W.options.explicitChildren&&!W.options.mergeAttrs&&typeof de=="object")if(W.options.preserveChildrenOrder){if(o){for(te in o[W.options.childkey]=o[W.options.childkey]||[],e={},de)N.call(de,te)&&(e[te]=de[te]);o[W.options.childkey].push(e),delete de["#name"],Object.keys(de).length===1&&D in de&&!W.EXPLICIT_CHARKEY&&(de=de[D])}}else se={},W.options.attrkey in de&&(se[W.options.attrkey]=de[W.options.attrkey],delete de[W.options.attrkey]),!W.options.charsAsChildren&&W.options.charkey in de&&(se[W.options.charkey]=de[W.options.charkey],delete de[W.options.charkey]),Object.getOwnPropertyNames(de).length>0&&(se[W.options.childkey]=de),de=se;return $.length>0?W.assignOrPush(o,ue,de):(W.options.explicitRoot&&(a=de,(de={})[ue]=a),W.resultObject=de,W.saxParser.ended=!0,W.emit("end",W.resultObject))}}(this),U=function(W){return function(G){var Q,te;if(te=$[$.length-1])return te[D]+=G,W.options.explicitChildren&&W.options.preserveChildrenOrder&&W.options.charsAsChildren&&(W.options.includeWhiteChars||G.replace(/\\n/g,"").trim()!=="")&&(te[W.options.childkey]=te[W.options.childkey]||[],(Q={"#name":"__text__"})[D]=G,W.options.normalize&&(Q[D]=Q[D].replace(/\s{2,}/g," ").trim()),te[W.options.childkey].push(Q)),te}}(this),this.saxParser.ontext=U,this.saxParser.oncdata=function(W){var G;if(G=U(W))return G.cdata=!0}},b.prototype.parseString=function(B,D){var U;D!=null&&typeof D=="function"&&(this.on("end",function($){return this.reset(),D(null,$)}),this.on("error",function($){return this.reset(),D($)}));try{return(B=B.toString()).trim()===""?(this.emit("end",null),!0):(B=T.stripBOM(B),this.options.async?(this.remaining=B,S(this.processAsync),this.saxParser):this.saxParser.write(B).close())}catch($){if(U=$,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",U),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw U}},b.prototype.parseStringPromise=function(B){return new Promise((D=this,function(U,$){return D.parseString(B,function(P,W){return P?$(P):U(W)})}));var D},b}(O),v.parseString=function(I,b,B){var D,U;return B!=null?(typeof B=="function"&&(D=B),typeof b=="object"&&(U=b)):(typeof b=="function"&&(D=b),U={}),new v.Parser(U).parseString(I,D)},v.parseStringPromise=function(I,b){var B;return typeof b=="object"&&(B=b),new v.Parser(B).parseStringPromise(I)}}).call(this)},1933:function(F,v,d){(function(){var T,A,O,q,p,j,w,S={}.hasOwnProperty;w=d(9241).isPlainObject,O=d(7260),A=d(3074),q=d(468),T=d(1737),j=d(3976),p=d(382),F.exports=function(_){function N(I){N.__super__.constructor.call(this,null),this.name="#document",this.type=T.Document,this.documentURI=null,this.domConfig=new A,I||(I={}),I.writer||(I.writer=new p),this.options=I,this.stringify=new j(I)}return function(I,b){for(var B in b)S.call(b,B)&&(I[B]=b[B]);function D(){this.constructor=I}D.prototype=b.prototype,I.prototype=new D,I.__super__=b.prototype}(N,_),Object.defineProperty(N.prototype,"implementation",{value:new O}),Object.defineProperty(N.prototype,"doctype",{get:function(){var I,b,B,D;for(b=0,B=(D=this.children).length;b<B;b++)if((I=D[b]).type===T.DocType)return I;return null}}),Object.defineProperty(N.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(N.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(N.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(N.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===T.Declaration?this.children[0].encoding:null}}),Object.defineProperty(N.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===T.Declaration&&this.children[0].standalone==="yes"}}),Object.defineProperty(N.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===T.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(N.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(N.prototype,"origin",{get:function(){return null}}),Object.defineProperty(N.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(N.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(N.prototype,"contentType",{get:function(){return null}}),N.prototype.end=function(I){var b;return b={},I?w(I)&&(b=I,I=this.options.writer):I=this.options.writer,I.document(this,I.filterOptions(b))},N.prototype.toString=function(I){return this.options.writer.document(this,this.options.writer.filterOptions(I))},N.prototype.createElement=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createTextNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createComment=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createCDATASection=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createProcessingInstruction=function(I,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createAttribute=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createEntityReference=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.getElementsByTagName=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.importNode=function(I,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createElementNS=function(I,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createAttributeNS=function(I,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.getElementsByTagNameNS=function(I,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.getElementById=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.adoptNode=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.renameNode=function(I,b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.getElementsByClassName=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createEvent=function(I){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createNodeIterator=function(I,b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},N.prototype.createTreeWalker=function(I,b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},N}(q)}).call(this)},1980:(F,v,d)=>{var T=d(5606),A=d(8287).Buffer;Object.defineProperty(v,"__esModule",{value:!0});var O={Client:!0,CopyConditions:!0,PostPolicy:!0};v.PostPolicy=v.CopyConditions=v.Client=void 0;var q=t(d(5479)),p=t(d(1568)),j=t(d(1083)),w=t(d(8310)),S=t(d(253)),_=t(d(9123)),N=t(d(8805)),I=t(d(2268)),b=t(d(6663)),B=t(d(3480)),D=t(d(7975)),U=t(d(2543)),$=d(7019),P=d(2541),W=d(4579),G=t(d(1616)),Q=r(d(8234)),te=r(d(6097)),se=d(4883),ue=d(5769);Object.keys(ue).forEach(function(V){V!=="default"&&V!=="__esModule"&&(Object.prototype.hasOwnProperty.call(O,V)||V in v&&v[V]===ue[V]||Object.defineProperty(v,V,{enumerable:!0,get:function(){return ue[V]}}))});var de=t(d(6768)),e=t(d(6150)),a=d(4348);function o(V){if(typeof WeakMap!="function")return null;var Z=new WeakMap,X=new WeakMap;return(o=function(ae){return ae?X:Z})(V)}function r(V,Z){if(!Z&&V&&V.__esModule)return V;if(V===null||typeof V!="object"&&typeof V!="function")return{default:V};var X=o(Z);if(X&&X.has(V))return X.get(V);var ae={},ie=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ce in V)if(ce!=="default"&&Object.prototype.hasOwnProperty.call(V,ce)){var Y=ie?Object.getOwnPropertyDescriptor(V,ce):null;Y&&(Y.get||Y.set)?Object.defineProperty(ae,ce,Y):ae[ce]=V[ce]}return ae.default=V,X&&X.set(V,ae),ae}function t(V){return V&&V.__esModule?V:{default:V}}var h=d(6587);class M{constructor(Z){if(Z.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(Z.useSSL===void 0&&(Z.useSSL=!0),Z.port||(Z.port=0),!(0,P.isValidEndpoint)(Z.endPoint))throw new te.InvalidEndpointError(`Invalid endPoint : ${Z.endPoint}`);if(!(0,P.isValidPort)(Z.port))throw new te.InvalidArgumentError(`Invalid port : ${Z.port}`);if(!(0,P.isBoolean)(Z.useSSL))throw new te.InvalidArgumentError(`Invalid useSSL flag type : ${Z.useSSL}, expected to be of type "boolean"`);if(Z.region&&!(0,P.isString)(Z.region))throw new te.InvalidArgumentError(`Invalid region : ${Z.region}`);var X,ae=Z.endPoint.toLowerCase(),ie=Z.port,ce="";if(Z.useSSL===!1?(X=p.default,ce="http:",ie===0&&(ie=80)):(X=j.default,ce="https:",ie===0&&(ie=443)),Z.transport){if(!(0,P.isObject)(Z.transport))throw new te.InvalidArgumentError('Invalid transport type : ${params.transport}, expected to be type "object"');X=Z.transport}var Y=`MinIO (${T.platform}; ${T.arch}) minio-js/${h.version}`;if(this.transport=X,this.host=ae,this.port=ie,this.protocol=ce,this.accessKey=Z.accessKey,this.secretKey=Z.secretKey,this.sessionToken=Z.sessionToken,this.userAgent=`${Y}`,Z.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=Z.pathStyle,this.accessKey||(this.accessKey=""),this.secretKey||(this.secretKey=""),this.anonymous=!this.accessKey||!this.secretKey,Z.credentialsProvider&&(this.credentialsProvider=Z.credentialsProvider,this.checkAndRefreshCreds()),this.regionMap={},Z.region&&(this.region=Z.region),this.partSize=67108864,Z.partSize&&(this.partSize=Z.partSize,this.overRidePartSize=!0),this.partSize<5242880)throw new te.InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5368709120)throw new te.InvalidArgumentError("Part size should be less than 5GB");this.maximumPartSize=5368709120,this.maxObjectSize=5497558138880,this.enableSHA256=!this.anonymous&&!Z.useSSL,this.s3AccelerateEndpoint=Z.s3AccelerateEndpoint||null,this.reqOptions={}}getAccelerateEndPointIfSet(Z,X){if(!U.default.isEmpty(this.s3AccelerateEndpoint)&&!U.default.isEmpty(Z)&&!U.default.isEmpty(X)){if(Z.indexOf(".")!==-1)throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${Z}`);return this.s3AccelerateEndpoint}return!1}setS3TransferAccelerate(Z){this.s3AccelerateEndpoint=Z}setRequestOptions(Z){if(!(0,P.isObject)(Z))throw new TypeError('request options should be of type "object"');this.reqOptions=U.default.pick(Z,["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"])}getRequestOptions(Z){var X,ae=Z.method,ie=Z.region,ce=Z.bucketName,Y=Z.objectName,ne=Z.headers,J=Z.query,ee={method:ae,headers:{}};if(ce&&(X=(0,P.isVirtualHostStyle)(this.host,this.protocol,ce,this.pathStyle)),this.port&&(ee.port=this.port),ee.protocol=this.protocol,Y&&(Y=`${(0,P.uriResourceEscape)(Y)}`),ee.path="/",ee.host=this.host,(0,P.isAmazonEndpoint)(ee.host)){const ge=this.getAccelerateEndPointIfSet(ce,Y);ee.host=ge?`${ge}`:(0,se.getS3Endpoint)(ie)}return X&&!Z.pathStyle?(ce&&(ee.host=`${ce}.${ee.host}`),Y&&(ee.path=`/${Y}`)):(ce&&(ee.path=`/${ce}`),Y&&(ee.path=`/${ce}/${Y}`)),J&&(ee.path+=`?${J}`),ee.headers.host=ee.host,(ee.protocol==="http:"&&ee.port!==80||ee.protocol==="https:"&&ee.port!==443)&&(ee.headers.host=`${ee.host}:${ee.port}`),ee.headers["user-agent"]=this.userAgent,ne&&U.default.map(ne,(ge,pe)=>ee.headers[pe.toLowerCase()]=ge),ee=Object.assign({},this.reqOptions,ee)}setAppInfo(Z,X){if(!(0,P.isString)(Z))throw new TypeError(`Invalid appName: ${Z}`);if(Z.trim()==="")throw new te.InvalidArgumentError("Input appName cannot be empty.");if(!(0,P.isString)(X))throw new TypeError(`Invalid appVersion: ${X}`);if(X.trim()==="")throw new te.InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${Z}/${X}`}calculatePartSize(Z){if(!(0,P.isNumber)(Z))throw new TypeError('size should be of type "number"');if(Z>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var X=this.partSize;;){if(1e4*X>Z)return X;X+=16777216}}logHTTP(Z,X,ae){if(this.logStream){if(!(0,P.isObject)(Z))throw new TypeError('reqOptions should be of type "object"');if(X&&!(0,P.isReadableStream)(X))throw new TypeError('response should be of type "Stream"');if(ae&&!(ae instanceof Error))throw new TypeError('err should be of type "Error"');var ie=Y=>{U.default.forEach(Y,(ne,J)=>{if(J=="authorization"){var ee=new RegExp("Signature=([0-9a-f]+)");ne=ne.replace(ee,"Signature=**REDACTED**")}this.logStream.write(`${J}: ${ne}
|
|
32
|
+
`)}),this.logStream.write(`
|
|
33
|
+
`)};if(this.logStream.write(`REQUEST: ${Z.method} ${Z.path}
|
|
34
|
+
`),ie(Z.headers),X&&(this.logStream.write(`RESPONSE: ${X.statusCode}
|
|
35
|
+
`),ie(X.headers)),ae){this.logStream.write(`ERROR BODY:
|
|
36
|
+
`);var ce=JSON.stringify(ae,null," ");this.logStream.write(`${ce}
|
|
37
|
+
`)}}}traceOn(Z){Z||(Z=T.stdout),this.logStream=Z}traceOff(){this.logStream=null}makeRequest(Z,X,ae,ie,ce,Y){if(!(0,P.isObject)(Z))throw new TypeError('options should be of type "object"');if(!(0,P.isString)(X)&&!(0,P.isObject)(X))throw new TypeError('payload should be of type "string" or "Buffer"');if(ae.forEach(ee=>{if(!(0,P.isNumber)(ee))throw new TypeError('statusCode should be of type "number"')}),!(0,P.isString)(ie))throw new TypeError('region should be of type "string"');if(!(0,P.isBoolean)(ce))throw new TypeError('returnResponse should be of type "boolean"');if(!(0,P.isFunction)(Y))throw new TypeError('callback should be of type "function"');Z.headers||(Z.headers={}),Z.method!=="POST"&&Z.method!=="PUT"&&Z.method!=="DELETE"||(Z.headers["content-length"]=X.length);var ne="";this.enableSHA256&&(ne=(0,P.toSha256)(X));var J=(0,P.readableStream)(X);this.makeRequestStream(Z,J,ne,ae,ie,ce,Y)}makeRequestStream(Z,X,ae,ie,ce,Y,ne){if(!(0,P.isObject)(Z))throw new TypeError('options should be of type "object"');if(!(0,P.isReadableStream)(X))throw new te.InvalidArgumentError("stream should be a readable Stream");if(!(0,P.isString)(ae))throw new TypeError('sha256sum should be of type "string"');if(ie.forEach(ee=>{if(!(0,P.isNumber)(ee))throw new TypeError('statusCode should be of type "number"')}),!(0,P.isString)(ce))throw new TypeError('region should be of type "string"');if(!(0,P.isBoolean)(Y))throw new TypeError('returnResponse should be of type "boolean"');if(!(0,P.isFunction)(ne))throw new TypeError('callback should be of type "function"');if(!this.enableSHA256&&ae.length!==0)throw new te.InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&ae.length!==64)throw new te.InvalidArgumentError(`Invalid sha256sum : ${ae}`);var J=(ee,ge)=>{if(ee)return ne(ee);Z.region=ge;var pe=this.getRequestOptions(Z);if(!this.anonymous){this.enableSHA256||(ae="UNSIGNED-PAYLOAD");let Me=new Date;pe.headers["x-amz-date"]=(0,P.makeDateLong)(Me),pe.headers["x-amz-content-sha256"]=ae,this.sessionToken&&(pe.headers["x-amz-security-token"]=this.sessionToken),this.checkAndRefreshCreds();var we=(0,W.signV4)(pe,this.accessKey,this.secretKey,ge,Me);pe.headers.authorization=we}var je=this.transport.request(pe,Me=>{if(ie.includes(Me.statusCode)){if(this.logHTTP(pe,Me),Y)return ne(null,Me);Me.on("data",()=>{}),ne(null)}else{delete this.regionMap[Z.bucketName];var Ae=Q.getErrorTransformer(Me);(0,P.pipesetup)(Me,Ae).on("error",Ve=>{this.logHTTP(pe,Me,Ve),ne(Ve)})}});(0,P.pipesetup)(X,je).on("error",Me=>{this.logHTTP(pe,null,Me),ne(Me)})};if(ce)return J(null,ce);this.getBucketRegion(Z.bucketName,J)}getBucketRegion(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError(`Invalid bucket name : ${Z}`);if(!(0,P.isFunction)(X))throw new TypeError('cb should be of type "function"');if(this.region)return X(null,this.region);if(this.regionMap[Z])return X(null,this.regionMap[Z]);var ae=Y=>{var ne=Q.getBucketRegionTransformer(),J=P.DEFAULT_REGION;(0,P.pipesetup)(Y,ne).on("error",X).on("data",ee=>{ee&&(J=ee)}).on("end",()=>{this.regionMap[Z]=J,X(null,J)})},ie="location",ce=this.pathStyle&&typeof window>"u";this.makeRequest({method:"GET",bucketName:Z,query:ie,pathStyle:ce},"",[200],P.DEFAULT_REGION,!0,(Y,ne)=>{if(Y){if(Y.name==="AuthorizationHeaderMalformed"){var J=Y.Region;return J?void this.makeRequest({method:"GET",bucketName:Z,query:ie},"",[200],J,!0,(ee,ge)=>{if(ee)return X(ee);ae(ge)}):X(Y)}return X(Y)}ae(ne)})}makeBucket(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if((0,P.isObject)(X)&&(ie=ae,ae=X,X=""),(0,P.isFunction)(X)&&(ie=X,X="",ae={}),(0,P.isFunction)(ae)&&(ie=ae,ae={}),!(0,P.isString)(X))throw new TypeError('region should be of type "string"');if(!(0,P.isObject)(ae))throw new TypeError('makeOpts should be of type "object"');if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');var ce="";if(X&&this.region&&X!==this.region)throw new te.InvalidArgumentError(`Configured region ${this.region}, requested ${X}`);if(X&&X!==P.DEFAULT_REGION){var Y=[];Y.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),Y.push({LocationConstraint:X});var ne={CreateBucketConfiguration:Y};ce=(0,_.default)(ne)}var J={};ae.ObjectLocking&&(J["x-amz-bucket-object-lock-enabled"]=!0),X||(X=P.DEFAULT_REGION),this.makeRequest({method:"PUT",bucketName:Z,headers:J},ce,[200],X,!1,ee=>{if(ee&&(X===""||X===P.DEFAULT_REGION)){if(ee.code!=="AuthorizationHeaderMalformed"||ee.region==="")return ie&&ie(ee);this.makeRequest({method:"PUT",bucketName:Z,headers:J},ce,[200],ee.region,!1,ie)}return ie&&ie(ee)})}listBuckets(Z){if(!(0,P.isFunction)(Z))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET"},"",[200],P.DEFAULT_REGION,!0,(X,ae)=>{if(X)return Z(X);var ie,ce=Q.getListBucketTransformer();(0,P.pipesetup)(ae,ce).on("data",Y=>ie=Y).on("error",Y=>Z(Y)).on("end",()=>Z(null,ie))})}listIncompleteUploads(Z,X,ae){if(X===void 0&&(X=""),ae===void 0&&(ae=!1),!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidPrefix)(X))throw new te.InvalidPrefixError(`Invalid prefix : ${X}`);if(!(0,P.isBoolean)(ae))throw new TypeError('recursive should be of type "boolean"');var ie=ae?"":"/",ce="",Y="",ne=[],J=!1,ee=w.default.Readable({objectMode:!0});return ee._read=()=>ne.length?ee.push(ne.shift()):J?ee.push(null):void this.listIncompleteUploadsQuery(Z,X,ce,Y,ie).on("error",ge=>ee.emit("error",ge)).on("data",ge=>{ge.prefixes.forEach(pe=>ne.push(pe)),I.default.eachSeries(ge.uploads,(pe,we)=>{this.listParts(Z,pe.key,pe.uploadId,(je,Me)=>{if(je)return we(je);pe.size=Me.reduce((Ae,Ve)=>Ae+Ve.size,0),ne.push(pe),we()})},pe=>{pe?ee.emit("error",pe):(ge.isTruncated?(ce=ge.nextKeyMarker,Y=ge.nextUploadIdMarker):J=!0,ee._read())})}),ee}bucketExists(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"HEAD",bucketName:Z},"",[200],"",!1,ae=>{if(ae)return ae.code=="NoSuchBucket"||ae.code=="NotFound"?X(null,!1):X(ae);X(null,!0)})}removeBucket(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:Z},"",[204],"",!1,ae=>{ae||delete this.regionMap[Z],X(ae)})}removeIncompleteUpload(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.isValidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');var ie;I.default.during(ce=>{this.findUploadId(Z,X,(Y,ne)=>{if(Y)return ce(Y);ie=ne,ce(null,ne)})},ce=>{var Y=`uploadId=${ie}`;this.makeRequest({method:"DELETE",bucketName:Z,objectName:X,query:Y},"",[204],"",!1,ne=>ce(ne))},ae)}fGetObject(Z,X,ae,ie={},ce){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isString)(ae))throw new TypeError('filePath should be of type "string"');if((0,P.isFunction)(ie)&&(ce=ie,ie={}),!(0,P.isFunction)(ce))throw new TypeError('callback should be of type "function"');var Y,ne,J,ee=ge=>{if(ge)return ce(ge);q.default.rename(Y,ae,ce)};I.default.waterfall([ge=>this.statObject(Z,X,ie,ge),(ge,pe)=>{J=ge,(0,B.default)(D.default.dirname(ae),pe)},(ge,pe)=>{Y=`${ae}.${J.etag}.part.minio`,q.default.stat(Y,(we,je)=>{var Me=0;if(we)ne=q.default.createWriteStream(Y,{flags:"w"});else{if(J.size===je.size)return ee();Me=je.size,ne=q.default.createWriteStream(Y,{flags:"a"})}this.getPartialObject(Z,X,Me,0,ie,pe)})},(ge,pe)=>{(0,P.pipesetup)(ge,ne).on("error",we=>pe(we)).on("finish",pe)},ge=>q.default.stat(Y,ge),(ge,pe)=>{if(ge.size===J.size)return pe();pe(new Error("Size mismatch between downloaded file and the object"))}],ee)}getObject(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if((0,P.isFunction)(ae)&&(ie=ae,ae={}),!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');this.getPartialObject(Z,X,0,0,ae,ie)}getPartialObject(Z,X,ae,ie,ce={},Y){if((0,P.isFunction)(ie)&&(Y=ie,ie=0),!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isNumber)(ae))throw new TypeError('offset should be of type "number"');if(!(0,P.isNumber)(ie))throw new TypeError('length should be of type "number"');if((0,P.isFunction)(ce)&&(Y=ce,ce={}),!(0,P.isFunction)(Y))throw new TypeError('callback should be of type "function"');var ne="";(ae||ie)&&(ae?ne=`bytes=${+ae}-`:(ne="bytes=0-",ae=0),ie&&(ne+=""+(+ie+ae-1)));var J={};ne!==""&&(J.range=ne);var ee=[200];ne&&ee.push(206);var ge=b.default.stringify(ce);this.makeRequest({method:"GET",bucketName:Z,objectName:X,headers:J,query:ge},"",ee,"",!0,Y)}fPutObject(Z,X,ae,ie,ce){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isString)(ae))throw new TypeError('filePath should be of type "string"');if((0,P.isFunction)(ie)&&(ce=ie,ie={}),!(0,P.isObject)(ie))throw new TypeError('metaData should be of type "object"');var Y,ne;ie=(0,P.insertContentType)(ie,ae),ie=(0,P.prependXAMZMeta)(ie),I.default.waterfall([J=>q.default.stat(ae,J),(J,ee)=>{Y=J.size;var ge=!1,pe=ee;if(ee=function(){if(!ge)return ge=!0,pe.apply(this,arguments)},Y>this.maxObjectSize)return ee(new Error(`${ae} size : ${J.size}, max allowed size : 5TB`));if(Y<=this.partSize){var we=this.getUploader(Z,X,ie,!1),je=Q.getHashSummer(this.enableSHA256),Me=Y-1;Y===0&&(Me=0);var Ae={start:0,end:Me,autoClose:!0};(0,P.pipesetup)(q.default.createReadStream(ae,Ae),je).on("data",Ve=>{var Ie=Ve.md5sum,Be=Ve.sha256sum,le=q.default.createReadStream(ae,Ae);we(le,Y,Be,Ie,(he,fe)=>{ce(he,fe),ee(!0)})}).on("error",Ve=>ee(Ve))}else this.findUploadId(Z,X,ee)},(J,ee)=>{if(J)return this.listParts(Z,X,J,(ge,pe)=>ee(ge,J,pe));this.initiateNewMultipartUpload(Z,X,ie,(ge,pe)=>ee(ge,pe,[]))},(J,ee,ge)=>{ne=this.calculatePartSize(Y);var pe=this.getUploader(Z,X,ie,!0),we=ee.reduce(function(Ve,Ie){return Ve[Ie.part]||(Ve[Ie.part]=Ie),Ve},{}),je=[],Me=1,Ae=0;I.default.whilst(Ve=>{Ve(null,Ae<Y)},Ve=>{var Ie=!1,Be=Ve;Ve=function(){if(!Ie)return Ie=!0,Be.apply(this,arguments)};var le=we[Me],he=Q.getHashSummer(this.enableSHA256),fe=ne;fe>Y-Ae&&(fe=Y-Ae);var ve={autoClose:!0,start:Ae,end:Ae+fe-1};(0,P.pipesetup)(q.default.createReadStream(ae,ve),he).on("data",ye=>{var xe=A.from(ye.md5sum,"base64").toString("hex");if(le&&xe===le.etag)return je.push({part:Me,etag:le.etag}),Me++,Ae+=fe,Ve();var Le=q.default.createReadStream(ae,ve);pe(J,Me,Le,fe,ye.sha256sum,ye.md5sum,(Oe,Pe)=>Oe?Ve(Oe):(je.push({part:Me,etag:Pe.etag}),Me++,Ae+=fe,Ve()))}).on("error",ye=>Ve(ye))},Ve=>{if(Ve)return ge(Ve);ge(null,je,J)})},(J,ee,ge)=>this.completeMultipartUpload(Z,X,ee,J,ge)],(J,...ee)=>{J!==!0&&ce(J,...ee)})}putObject(Z,X,ae,ie,ce,Y){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if((0,P.isFunction)(ie)?(Y=ie,ce={}):(0,P.isFunction)(ce)&&(Y=ce,ce={}),(0,P.isObject)(ie)&&(ce=ie),ce=(0,P.prependXAMZMeta)(ce),typeof ae=="string"||ae instanceof A)ie=ae.length,ae=(0,P.readableStream)(ae);else if(!(0,P.isReadableStream)(ae))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!(0,P.isFunction)(Y))throw new TypeError('callback should be of type "function"');if((0,P.isNumber)(ie)&&ie<0)throw new te.InvalidArgumentError(`size cannot be negative, given size: ${ie}`);(0,P.isNumber)(ie)||(ie=this.maxObjectSize),ie=this.calculatePartSize(ie);let ne=new S.default({size:ie,zeroPadding:!1}),J=new G.default(this,Z,X,ie,ce,Y);ae.pipe(ne).pipe(J)}copyObjectV1(Z,X,ae,ie,ce){var Y,ne,J=Z,ee=X,ge=ae;if(typeof ie=="function"&&ce===void 0?(Y=null,ne=ie):(Y=ie,ne=ce),!(0,P.isValidBucketName)(J))throw new te.InvalidBucketNameError("Invalid bucket name: "+J);if(!(0,P.isValidObjectName)(ee))throw new te.InvalidObjectNameError(`Invalid object name: ${ee}`);if(!(0,P.isString)(ge))throw new TypeError('srcObject should be of type "string"');if(ge==="")throw new te.InvalidPrefixError("Empty source prefix");if(Y!==null&&!(Y instanceof H))throw new TypeError('conditions should be of type "CopyConditions"');var pe={};pe["x-amz-copy-source"]=(0,P.uriResourceEscape)(ge),Y!==null&&(Y.modified!==""&&(pe["x-amz-copy-source-if-modified-since"]=Y.modified),Y.unmodified!==""&&(pe["x-amz-copy-source-if-unmodified-since"]=Y.unmodified),Y.matchETag!==""&&(pe["x-amz-copy-source-if-match"]=Y.matchETag),Y.matchEtagExcept!==""&&(pe["x-amz-copy-source-if-none-match"]=Y.matchETagExcept)),this.makeRequest({method:"PUT",bucketName:J,objectName:ee,headers:pe},"",[200],"",!0,(we,je)=>{if(we)return ne(we);var Me=Q.getCopyObjectTransformer();(0,P.pipesetup)(je,Me).on("error",Ae=>ne(Ae)).on("data",Ae=>ne(null,Ae))})}copyObjectV2(Z,X,ae){if(!(Z instanceof P.CopySourceOptions))throw new te.InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(X instanceof P.CopyDestinationOptions))throw new te.InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!X.validate()||!X.validate())return!1;if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');const ie=Object.assign({},Z.getHeaders(),X.getHeaders()),ce=X.Bucket,Y=X.Object;this.makeRequest({method:"PUT",bucketName:ce,objectName:Y,headers:ie},"",[200],"",!0,(ne,J)=>{if(ne)return ae(ne);const ee=Q.getCopyObjectTransformer();(0,P.pipesetup)(J,ee).on("error",ge=>ae(ge)).on("data",ge=>{const pe=J.headers,we={Bucket:X.Bucket,Key:X.Object,LastModified:ge.LastModified,MetaData:(0,P.extractMetadata)(pe),VersionId:(0,P.getVersionId)(pe),SourceVersionId:(0,P.getSourceVersionId)(pe),Etag:(0,P.sanitizeETag)(pe.etag),Size:+pe["content-length"]};return ae(null,we)})})}copyObject(...Z){return Z[0]instanceof P.CopySourceOptions&&Z[1]instanceof P.CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(Z,X,ae,ie={}){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isString)(X))throw new TypeError('prefix should be of type "string"');if(!(0,P.isString)(ae))throw new TypeError('marker should be of type "string"');let{Delimiter:ce,MaxKeys:Y,IncludeVersion:ne}=ie;if(!(0,P.isObject)(ie))throw new TypeError('listQueryOpts should be of type "object"');if(!(0,P.isString)(ce))throw new TypeError('Delimiter should be of type "string"');if(!(0,P.isNumber)(Y))throw new TypeError('MaxKeys should be of type "number"');const J=[];J.push(`prefix=${(0,P.uriEscape)(X)}`),J.push(`delimiter=${(0,P.uriEscape)(ce)}`),J.push("encoding-type=url"),ne&&J.push("versions"),ae&&(ae=(0,P.uriEscape)(ae),ne?J.push(`key-marker=${ae}`):J.push(`marker=${ae}`)),Y&&(Y>=1e3&&(Y=1e3),J.push(`max-keys=${Y}`)),J.sort();var ee="";J.length>0&&(ee=`${J.join("&")}`);var ge=Q.getListObjectsTransformer();return this.makeRequest({method:"GET",bucketName:Z,query:ee},"",[200],"",!0,(pe,we)=>{if(pe)return ge.emit("error",pe);(0,P.pipesetup)(we,ge)}),ge}listObjects(Z,X,ae,ie={}){if(X===void 0&&(X=""),ae===void 0&&(ae=!1),!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidPrefix)(X))throw new te.InvalidPrefixError(`Invalid prefix : ${X}`);if(!(0,P.isString)(X))throw new TypeError('prefix should be of type "string"');if(!(0,P.isBoolean)(ae))throw new TypeError('recursive should be of type "boolean"');if(!(0,P.isObject)(ie))throw new TypeError('listOpts should be of type "object"');var ce="";const Y={Delimiter:ae?"":"/",MaxKeys:1e3,IncludeVersion:ie.IncludeVersion};var ne=[],J=!1,ee=w.default.Readable({objectMode:!0});return ee._read=()=>{if(!ne.length)return J?ee.push(null):void this.listObjectsQuery(Z,X,ce,Y).on("error",ge=>ee.emit("error",ge)).on("data",ge=>{ge.isTruncated?ce=ge.nextMarker||ge.versionIdMarker:J=!0,ne=ge.objects,ee._read()});ee.push(ne.shift())},ee}listObjectsV2Query(Z,X,ae,ie,ce,Y){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isString)(X))throw new TypeError('prefix should be of type "string"');if(!(0,P.isString)(ae))throw new TypeError('continuationToken should be of type "string"');if(!(0,P.isString)(ie))throw new TypeError('delimiter should be of type "string"');if(!(0,P.isNumber)(ce))throw new TypeError('maxKeys should be of type "number"');if(!(0,P.isString)(Y))throw new TypeError('startAfter should be of type "string"');var ne=[];ne.push("list-type=2"),ne.push("encoding-type=url"),ne.push(`prefix=${(0,P.uriEscape)(X)}`),ne.push(`delimiter=${(0,P.uriEscape)(ie)}`),ae&&(ae=(0,P.uriEscape)(ae),ne.push(`continuation-token=${ae}`)),Y&&(Y=(0,P.uriEscape)(Y),ne.push(`start-after=${Y}`)),ce&&(ce>=1e3&&(ce=1e3),ne.push(`max-keys=${ce}`)),ne.sort();var J="";ne.length>0&&(J=`${ne.join("&")}`);var ee=Q.getListObjectsV2Transformer();return this.makeRequest({method:"GET",bucketName:Z,query:J},"",[200],"",!0,(ge,pe)=>{if(ge)return ee.emit("error",ge);(0,P.pipesetup)(pe,ee)}),ee}listObjectsV2(Z,X,ae,ie){if(X===void 0&&(X=""),ae===void 0&&(ae=!1),ie===void 0&&(ie=""),!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidPrefix)(X))throw new te.InvalidPrefixError(`Invalid prefix : ${X}`);if(!(0,P.isString)(X))throw new TypeError('prefix should be of type "string"');if(!(0,P.isBoolean)(ae))throw new TypeError('recursive should be of type "boolean"');if(!(0,P.isString)(ie))throw new TypeError('startAfter should be of type "string"');var ce=ae?"":"/",Y="",ne=[],J=!1,ee=w.default.Readable({objectMode:!0});return ee._read=()=>{if(!ne.length)return J?ee.push(null):void this.listObjectsV2Query(Z,X,Y,ce,1e3,ie).on("error",ge=>ee.emit("error",ge)).on("data",ge=>{ge.isTruncated?Y=ge.nextContinuationToken:J=!0,ne=ge.objects,ee._read()});ee.push(ne.shift())},ee}statObject(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if((0,P.isFunction)(ae)&&(ie=ae,ae={}),!(0,P.isObject)(ae))throw new te.InvalidArgumentError('statOpts should be of type "object"');if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');var ce=b.default.stringify(ae);this.makeRequest({method:"HEAD",bucketName:Z,objectName:X,query:ce},"",[200],"",!0,(Y,ne)=>{if(Y)return ie(Y);ne.on("data",()=>{});const J={size:+ne.headers["content-length"],metaData:(0,P.extractMetadata)(ne.headers),lastModified:new Date(ne.headers["last-modified"]),versionId:(0,P.getVersionId)(ne.headers),etag:(0,P.sanitizeETag)(ne.headers.etag)};ie(null,J)})}removeObject(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if((0,P.isFunction)(ae)&&(ie=ae,ae={}),!(0,P.isObject)(ae))throw new te.InvalidArgumentError('removeOpts should be of type "object"');if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');const ce={};ae.versionId&&(ce.versionId=`${ae.versionId}`);const Y={};ae.governanceBypass&&(Y["X-Amz-Bypass-Governance-Retention"]=!0);const ne=b.default.stringify(ce);let J={method:"DELETE",bucketName:Z,objectName:X,headers:Y};ne&&(J.query=ne),this.makeRequest(J,"",[200,204],"",!1,ie)}removeObjects(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isArray)(X))throw new te.InvalidArgumentError("objectsList should be a list");if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');let ie=X.reduce((Y,ne)=>(Y.list.push(ne),Y.list.length===1e3&&(Y.listOfList.push(Y.list),Y.list=[]),Y),{listOfList:[],list:[]});ie.list.length>0&&ie.listOfList.push(ie.list);const ce=new $.TextEncoder;I.default.eachSeries(ie.listOfList,(Y,ne)=>{var J=[];Y.forEach(function(we){(0,P.isObject)(we)?J.push({Key:we.name,VersionId:we.versionId}):J.push({Key:we})});let ee={Delete:{Quiet:!0,Object:J}},ge=new N.default.Builder({headless:!0}).buildObject(ee);ge=ce.encode(ge);const pe={};pe["Content-MD5"]=(0,P.toMd5)(ge),this.makeRequest({method:"POST",bucketName:Z,query:"delete",headers:pe},ge,[200],"",!1,we=>{if(we)return ne(we);ne(null)})},ae)}getBucketPolicy(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError(`Invalid bucket name: ${Z}`);if(!(0,P.isFunction)(X))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:Z,query:"policy"},"",[200],"",!0,(ae,ie)=>{if(ae)return X(ae);let ce=A.from("");(0,P.pipesetup)(ie,Q.getConcater()).on("data",Y=>ce=Y).on("error",X).on("end",()=>{X(null,ce.toString())})})}setBucketPolicy(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError(`Invalid bucket name: ${Z}`);if(!(0,P.isString)(X))throw new te.InvalidBucketPolicyError(`Invalid bucket policy: ${X} - must be "string"`);if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');let ie="DELETE";X&&(ie="PUT"),this.makeRequest({method:ie,bucketName:Z,query:"policy"},X,[204],"",!1,ae)}presignedUrl(Z,X,ae,ie,ce,Y,ne){if(this.anonymous)throw new te.AnonymousRequestError("Presigned "+Z+" url cannot be generated for anonymous requests");if((0,P.isFunction)(Y)&&(ne=Y,Y=new Date),(0,P.isFunction)(ce)&&(ne=ce,ce={},Y=new Date),(0,P.isFunction)(ie)&&(ne=ie,ce={},ie=604800,Y=new Date),!(0,P.isNumber)(ie))throw new TypeError('expires should be of type "number"');if(!(0,P.isObject)(ce))throw new TypeError('reqParams should be of type "object"');if(!(0,P.isValidDate)(Y))throw new TypeError('requestDate should be of type "Date" and valid');if(!(0,P.isFunction)(ne))throw new TypeError('callback should be of type "function"');var J=b.default.stringify(ce);this.getBucketRegion(X,(ee,ge)=>{if(ee)return ne(ee);var pe,we=this.getRequestOptions({method:Z,region:ge,bucketName:X,objectName:ae,query:J});this.checkAndRefreshCreds();try{pe=(0,W.presignSignatureV4)(we,this.accessKey,this.secretKey,this.sessionToken,ge,Y,ie)}catch(je){return ne(je)}ne(null,pe)})}presignedGetObject(Z,X,ae,ie,ce,Y){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);return(0,P.isFunction)(ie)&&(Y=ie,ie={},ce=new Date),["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"].forEach(ne=>{if(ie!==void 0&&ie[ne]!==void 0&&!(0,P.isString)(ie[ne]))throw new TypeError(`response header ${ne} should be of type "string"`)}),this.presignedUrl("GET",Z,X,ae,ie,ce,Y)}presignedPutObject(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: ${bucketName}");if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError("Invalid object name: ${objectName}");return this.presignedUrl("PUT",Z,X,ae,ie)}newPostPolicy(){return new K}presignedPostPolicy(Z,X){if(this.anonymous)throw new te.AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!(0,P.isObject)(Z))throw new TypeError('postPolicy should be of type "object"');if(!(0,P.isFunction)(X))throw new TypeError('cb should be of type "function"');this.getBucketRegion(Z.formData.bucket,(ae,ie)=>{if(ae)return X(ae);var ce=new Date,Y=(0,P.makeDateLong)(ce);if(this.checkAndRefreshCreds(),!Z.policy.expiration){var ne=new Date;ne.setSeconds(604800),Z.setExpires(ne)}Z.policy.conditions.push(["eq","$x-amz-date",Y]),Z.formData["x-amz-date"]=Y,Z.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),Z.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",Z.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+(0,P.getScope)(ie,ce)]),Z.formData["x-amz-credential"]=this.accessKey+"/"+(0,P.getScope)(ie,ce),this.sessionToken&&(Z.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),Z.formData["x-amz-security-token"]=this.sessionToken);var J=A.from(JSON.stringify(Z.policy)).toString("base64");Z.formData.policy=J;var ee=(0,W.postPresignSignatureV4)(ie,ce,this.secretKey,J);Z.formData["x-amz-signature"]=ee;var ge={};ge.region=ie,ge.bucketName=Z.formData.bucket;var pe=this.getRequestOptions(ge),we=this.port==80||this.port===443?"":`:${this.port.toString()}`,je=`${pe.protocol}//${pe.host}${we}${pe.path}`;X(null,{postURL:je,formData:Z.formData})})}initiateNewMultipartUpload(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isObject)(ae))throw new te.InvalidObjectNameError('contentType should be of type "object"');let ce=Object.assign({},ae);this.makeRequest({method:"POST",bucketName:Z,objectName:X,query:"uploads",headers:ce},"",[200],"",!0,(Y,ne)=>{if(Y)return ie(Y);var J=Q.getInitiateMultipartTransformer();(0,P.pipesetup)(ne,J).on("error",ee=>ie(ee)).on("data",ee=>ie(null,ee))})}completeMultipartUpload(Z,X,ae,ie,ce){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isString)(ae))throw new TypeError('uploadId should be of type "string"');if(!(0,P.isObject)(ie))throw new TypeError('etags should be of type "Array"');if(!(0,P.isFunction)(ce))throw new TypeError('cb should be of type "function"');if(!ae)throw new te.InvalidArgumentError("uploadId cannot be empty");var Y=`uploadId=${(0,P.uriEscape)(ae)}`,ne=[];ie.forEach(ge=>{ne.push({Part:[{PartNumber:ge.part},{ETag:ge.etag}]})});var J={CompleteMultipartUpload:ne},ee=(0,_.default)(J);this.makeRequest({method:"POST",bucketName:Z,objectName:X,query:Y},ee,[200],"",!0,(ge,pe)=>{if(ge)return ce(ge);var we=Q.getCompleteMultipartTransformer();(0,P.pipesetup)(pe,we).on("error",je=>ce(je)).on("data",je=>{if(je.errCode)ce(new te.S3Error(je.errMessage));else{const Me={etag:je.etag,versionId:(0,P.getVersionId)(pe.headers)};ce(null,Me)}})})}listParts(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isString)(ae))throw new TypeError('uploadId should be of type "string"');if(!ae)throw new te.InvalidArgumentError("uploadId cannot be empty");var ce=[],Y=ne=>{this.listPartsQuery(Z,X,ae,ne,(J,ee)=>{J?ie(J):(ce=ce.concat(ee.parts),ee.isTruncated?Y(ee.marker):ie(null,ce))})};Y(0)}listPartsQuery(Z,X,ae,ie,ce){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isString)(ae))throw new TypeError('uploadId should be of type "string"');if(!(0,P.isNumber)(ie))throw new TypeError('marker should be of type "number"');if(!(0,P.isFunction)(ce))throw new TypeError('callback should be of type "function"');if(!ae)throw new te.InvalidArgumentError("uploadId cannot be empty");var Y="";ie&&ie!==0&&(Y+=`part-number-marker=${ie}&`),Y+=`uploadId=${(0,P.uriEscape)(ae)}`,this.makeRequest({method:"GET",bucketName:Z,objectName:X,query:Y},"",[200],"",!0,(ne,J)=>{if(ne)return ce(ne);var ee=Q.getListPartsTransformer();(0,P.pipesetup)(J,ee).on("error",ge=>ce(ge)).on("data",ge=>ce(null,ge))})}listIncompleteUploadsQuery(Z,X,ae,ie,ce){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isString)(X))throw new TypeError('prefix should be of type "string"');if(!(0,P.isString)(ae))throw new TypeError('keyMarker should be of type "string"');if(!(0,P.isString)(ie))throw new TypeError('uploadIdMarker should be of type "string"');if(!(0,P.isString)(ce))throw new TypeError('delimiter should be of type "string"');var Y=[];Y.push(`prefix=${(0,P.uriEscape)(X)}`),Y.push(`delimiter=${(0,P.uriEscape)(ce)}`),ae&&(ae=(0,P.uriEscape)(ae),Y.push(`key-marker=${ae}`)),ie&&Y.push(`upload-id-marker=${ie}`),Y.push("max-uploads=1000"),Y.sort(),Y.unshift("uploads");var ne="";Y.length>0&&(ne=`${Y.join("&")}`);var J=Q.getListMultipartTransformer();return this.makeRequest({method:"GET",bucketName:Z,query:ne},"",[200],"",!0,(ee,ge)=>{if(ee)return J.emit("error",ee);(0,P.pipesetup)(ge,J)}),J}findUploadId(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isFunction)(ae))throw new TypeError('cb should be of type "function"');var ie,ce=(Y,ne)=>{this.listIncompleteUploadsQuery(Z,X,Y,ne,"").on("error",J=>ae(J)).on("data",J=>{if(J.uploads.forEach(ee=>{ee.key!==X||ie&&!(ee.initiated.getTime()>ie.initiated.getTime())||(ie=ee)}),!J.isTruncated)return ie?ae(null,ie.uploadId):void ae(null,void 0);ce(J.nextKeyMarker,J.nextUploadIdMarker)})};ce("","")}getUploader(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isBoolean)(ie))throw new TypeError('multipart should be of type "boolean"');if(!(0,P.isObject)(ae))throw new TypeError('metadata should be of type "object"');var ce=(ne,J,ee,ge,pe)=>{if(!(0,P.isReadableStream)(ne))throw new TypeError('stream should be of type "Stream"');if(!(0,P.isNumber)(J))throw new TypeError('length should be of type "number"');if(!(0,P.isString)(ee))throw new TypeError('sha256sum should be of type "string"');if(!(0,P.isString)(ge))throw new TypeError('md5sum should be of type "string"');if(!(0,P.isFunction)(pe))throw new TypeError('callback should be of type "function"')},Y=(ne,J,ee,ge,pe,we)=>{let je={"Content-Length":ee};ie||(je=Object.assign({},ae,je)),this.enableSHA256||(je["Content-MD5"]=pe),this.makeRequestStream({method:"PUT",bucketName:Z,objectName:X,query:ne,headers:je},J,ge,[200],"",!0,(Me,Ae)=>{if(Me)return we(Me);const Ve={etag:(0,P.sanitizeETag)(Ae.headers.etag),versionId:(0,P.getVersionId)(Ae.headers)};Ae.on("data",()=>{}),we(null,Ve)})};return ie?(ne,J,...ee)=>{if(!(0,P.isString)(ne))throw new TypeError('uploadId should be of type "string"');if(!(0,P.isNumber)(J))throw new TypeError('partNumber should be of type "number"');if(!ne)throw new te.InvalidArgumentError("Empty uploadId");if(!J)throw new te.InvalidArgumentError("partNumber cannot be 0");ce(...ee);var ge=`partNumber=${J}&uploadId=${(0,P.uriEscape)(ne)}`;Y(ge,...ee)}:(...ne)=>{ce(...ne),Y("",...ne)}}setBucketNotification(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isObject)(X))throw new TypeError('notification config should be of type "Object"');if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');var ie=new N.default.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(X);this.makeRequest({method:"PUT",bucketName:Z,query:"notification"},ie,[200],"",!1,ae)}removeAllBucketNotification(Z,X){this.setBucketNotification(Z,new ue.NotificationConfig,X)}getBucketNotification(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:Z,query:"notification"},"",[200],"",!0,(ae,ie)=>{if(ae)return X(ae);var ce,Y=Q.getBucketNotificationTransformer();(0,P.pipesetup)(ie,Y).on("data",ne=>ce=ne).on("error",ne=>X(ne)).on("end",()=>X(null,ce))})}listenBucketNotification(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError(`Invalid bucket name: ${Z}`);if(!(0,P.isString)(X))throw new TypeError("prefix must be of type string");if(!(0,P.isString)(ae))throw new TypeError("suffix must be of type string");if(!(0,P.isArray)(ie))throw new TypeError("events must be of type Array");let ce=new ue.NotificationPoller(this,Z,X,ae,ie);return ce.start(),ce}getBucketVersioning(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new te.InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:Z,query:"versioning"},"",[200],"",!0,(ae,ie)=>{if(ae)return X(ae);let ce=A.from("");(0,P.pipesetup)(ie,Q.bucketVersioningTransformer()).on("data",Y=>{ce=Y}).on("error",X).on("end",()=>{X(null,ce)})})}setBucketVersioning(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!Object.keys(X).length)throw new te.InvalidArgumentError('versionConfig should be of type "object"');if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');var ie=new N.default.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(X);this.makeRequest({method:"PUT",bucketName:Z,query:"versioning"},ie,[200],"",!1,ae)}setTagging(Z){const{bucketName:X,objectName:ae,tags:ie,putOpts:ce={},cb:Y}=Z;let ne="tagging";ce&&ce.versionId&&(ne=`${ne}&versionId=${ce.versionId}`);const J=[];for(const[Me,Ae]of Object.entries(ie))J.push({Key:Me,Value:Ae});const ee={Tagging:{TagSet:{Tag:J}}},ge=new $.TextEncoder,pe={};let we=new N.default.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(ee);we=ge.encode(we),pe["Content-MD5"]=(0,P.toMd5)(we);const je={method:"PUT",bucketName:X,query:ne,headers:pe};ae&&(je.objectName=ae),pe["Content-MD5"]=(0,P.toMd5)(we),this.makeRequest(je,we,[200],"",!1,Y)}setBucketTagging(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isObject)(X))throw new te.InvalidArgumentError('tags should be of type "object"');if(Object.keys(X).length>10)throw new te.InvalidArgumentError('maximum tags allowed is 10"');if(!(0,P.isFunction)(ae))throw new te.InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:Z,tags:X,cb:ae})}setObjectTagging(Z,X,ae,ie={},ce){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidBucketNameError("Invalid object name: "+X);if((0,P.isFunction)(ie)&&(ce=ie,ie={}),!(0,P.isObject)(ae))throw new te.InvalidArgumentError('tags should be of type "object"');if(Object.keys(ae).length>10)throw new te.InvalidArgumentError('Maximum tags allowed is 10"');if(!(0,P.isFunction)(ce))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:Z,objectName:X,tags:ae,putOpts:ie,cb:ce})}removeTagging({bucketName:Z,objectName:X,removeOpts:ae,cb:ie}){let ce="tagging";ae&&Object.keys(ae).length&&ae.versionId&&(ce=`${ce}&versionId=${ae.versionId}`);const Y={method:"DELETE",bucketName:Z,objectName:X,query:ce};X&&(Y.objectName=X),this.makeRequest(Y,"",[200,204],"",!0,ie)}removeBucketTagging(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:Z,cb:X})}removeObjectTagging(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidBucketNameError("Invalid object name: "+X);if((0,P.isFunction)(ae)&&(ie=ae,ae={}),ae&&Object.keys(ae).length&&!(0,P.isObject)(ae))throw new te.InvalidArgumentError('removeOpts should be of type "object"');if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:Z,objectName:X,removeOpts:ae,cb:ie})}getBucketTagging(Z,X){const ae={method:"GET",bucketName:Z,query:"tagging"};this.makeRequest(ae,"",[200],"",!0,(ie,ce)=>{var Y=Q.getTagsTransformer();if(ie)return X(ie);let ne;(0,P.pipesetup)(ce,Y).on("data",J=>ne=J).on("error",J=>X(J)).on("end",()=>X(null,ne))})}getObjectTagging(Z,X,ae={},ie=()=>!1){let ce="tagging";if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidBucketNameError("Invalid object name: "+X);if((0,P.isFunction)(ae)&&(ie=ae,ae={}),!(0,P.isObject)(ae))throw new te.InvalidArgumentError('getOpts should be of type "object"');if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');ae&&ae.versionId&&(ce=`${ce}&versionId=${ae.versionId}`);const Y={method:"GET",bucketName:Z,query:ce};X&&(Y.objectName=X),this.makeRequest(Y,"",[200],"",!0,(ne,J)=>{const ee=Q.getTagsTransformer();if(ne)return ie(ne);let ge;(0,P.pipesetup)(J,ee).on("data",pe=>ge=pe).on("error",pe=>ie(pe)).on("end",()=>ie(null,ge))})}applyBucketLifecycle(Z,X,ae){const ie=new $.TextEncoder,ce={};let Y=new N.default.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(X);Y=ie.encode(Y);const ne={method:"PUT",bucketName:Z,query:"lifecycle",headers:ce};ce["Content-MD5"]=(0,P.toMd5)(Y),this.makeRequest(ne,Y,[200],"",!1,ae)}removeBucketLifecycle(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);this.makeRequest({method:"DELETE",bucketName:Z,query:"lifecycle"},"",[204],"",!1,X)}setBucketLifecycle(Z,X=null,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);U.default.isEmpty(X)?this.removeBucketLifecycle(Z,ae):this.applyBucketLifecycle(Z,X,ae)}getBucketLifecycle(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);const ae={method:"GET",bucketName:Z,query:"lifecycle"};this.makeRequest(ae,"",[200],"",!0,(ie,ce)=>{const Y=Q.lifecycleTransformer();if(ie)return X(ie);let ne;(0,P.pipesetup)(ce,Y).on("data",J=>ne=J).on("error",J=>X(J)).on("end",()=>X(null,ne))})}setObjectLockConfig(Z,X={},ae){const ie=[P.RETENTION_MODES.COMPLIANCE,P.RETENTION_MODES.GOVERNANCE],ce=[P.RETENTION_VALIDITY_UNITS.DAYS,P.RETENTION_VALIDITY_UNITS.YEARS];if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(X.mode&&!ie.includes(X.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ie}`);if(X.unit&&!ce.includes(X.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ce}`);if(X.validity&&!(0,P.isNumber)(X.validity))throw new TypeError("lockConfigOpts.validity should be a number");let Y={ObjectLockEnabled:"Enabled"};const ne=Object.keys(X);if(ne.length>0){if(U.default.difference(ne,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");Y.Rule={DefaultRetention:{}},X.mode&&(Y.Rule.DefaultRetention.Mode=X.mode),X.unit===P.RETENTION_VALIDITY_UNITS.DAYS?Y.Rule.DefaultRetention.Days=X.validity:X.unit===P.RETENTION_VALIDITY_UNITS.YEARS&&(Y.Rule.DefaultRetention.Years=X.validity)}const J=new N.default.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(Y),ee={};ee["Content-MD5"]=(0,P.toMd5)(J),this.makeRequest({method:"PUT",bucketName:Z,query:"object-lock",headers:ee},J,[200],"",!1,ae)}getObjectLockConfig(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new te.InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:Z,query:"object-lock"},"",[200],"",!0,(ae,ie)=>{if(ae)return X(ae);let ce=A.from("");(0,P.pipesetup)(ie,Q.objectLockTransformer()).on("data",Y=>{ce=Y}).on("error",X).on("end",()=>{X(null,ce)})})}putObjectRetention(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isObject)(ae))throw new te.InvalidArgumentError('retentionOpts should be of type "object"');if(ae.governanceBypass&&!(0,P.isBoolean)(ae.governanceBypass))throw new te.InvalidArgumentError("Invalid value for governanceBypass",ae.governanceBypass);if(ae.mode&&![P.RETENTION_MODES.COMPLIANCE,P.RETENTION_MODES.GOVERNANCE].includes(ae.mode))throw new te.InvalidArgumentError("Invalid object retention mode ",ae.mode);if(ae.retainUntilDate&&!(0,P.isString)(ae.retainUntilDate))throw new te.InvalidArgumentError("Invalid value for retainUntilDate",ae.retainUntilDate);if(ae.versionId&&!(0,P.isString)(ae.versionId))throw new te.InvalidArgumentError("Invalid value for versionId",ae.versionId);if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');let ce="retention";const Y={};ae.governanceBypass&&(Y["X-Amz-Bypass-Governance-Retention"]=!0);const ne=new N.default.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),J={};ae.mode&&(J.Mode=ae.mode),ae.retainUntilDate&&(J.RetainUntilDate=ae.retainUntilDate),ae.versionId&&(ce+=`&versionId=${ae.versionId}`);let ee=ne.buildObject(J);Y["Content-MD5"]=(0,P.toMd5)(ee),this.makeRequest({method:"PUT",bucketName:Z,objectName:X,query:ce,headers:Y},ee,[200,204],"",!1,ie)}getObjectRetention(Z,X,ae,ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(!(0,P.isObject)(ae))throw new te.InvalidArgumentError('callback should be of type "object"');if(ae.versionId&&!(0,P.isString)(ae.versionId))throw new te.InvalidArgumentError('VersionID should be of type "string"');if(ie&&!(0,P.isFunction)(ie))throw new te.InvalidArgumentError('callback should be of type "function"');let ce="retention";ae.versionId&&(ce+=`&versionId=${ae.versionId}`),this.makeRequest({method:"GET",bucketName:Z,objectName:X,query:ce},"",[200],"",!0,(Y,ne)=>{if(Y)return ie(Y);let J=A.from("");(0,P.pipesetup)(ne,Q.objectRetentionTransformer()).on("data",ee=>{J=ee}).on("error",ie).on("end",()=>{ie(null,J)})})}setBucketEncryption(Z,X,ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if((0,P.isFunction)(X)&&(ae=X,X=null),!U.default.isEmpty(X)&&X.Rule.length>1)throw new te.InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+X.Rule);if(ae&&!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');let ie=X;U.default.isEmpty(X)&&(ie={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ce=new N.default.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ie);const Y={};Y["Content-MD5"]=(0,P.toMd5)(ce),this.makeRequest({method:"PUT",bucketName:Z,query:"encryption",headers:Y},ce,[200],"",!1,ae)}getBucketEncryption(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new te.InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:Z,query:"encryption"},"",[200],"",!0,(ae,ie)=>{if(ae)return X(ae);let ce=A.from("");(0,P.pipesetup)(ie,Q.bucketEncryptionTransformer()).on("data",Y=>{ce=Y}).on("error",X).on("end",()=>{X(null,ce)})})}removeBucketEncryption(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new te.InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:Z,query:"encryption"},"",[204],"",!1,X)}setBucketReplication(Z,X={},ae){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isObject)(X))throw new te.InvalidArgumentError('replicationConfig should be of type "object"');if(U.default.isEmpty(X.role))throw new te.InvalidArgumentError("Role cannot be empty");if(X.role&&!(0,P.isString)(X.role))throw new te.InvalidArgumentError("Invalid value for role",X.role);if(U.default.isEmpty(X.rules))throw new te.InvalidArgumentError("Minimum one replication rule must be specified");if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');const ie={},ce={ReplicationConfiguration:{Role:X.role,Rule:X.rules}};let Y=new N.default.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(ce);ie["Content-MD5"]=(0,P.toMd5)(Y),this.makeRequest({method:"PUT",bucketName:Z,query:"replication",headers:ie},Y,[200],"",!1,ae)}getBucketReplication(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isFunction)(X))throw new te.InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:Z,query:"replication"},"",[200],"",!0,(ae,ie)=>{if(ae)return X(ae);let ce=A.from("");(0,P.pipesetup)(ie,Q.replicationConfigTransformer()).on("data",Y=>{ce=Y}).on("error",X).on("end",()=>{X(null,ce)})})}removeBucketReplication(Z,X){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);this.makeRequest({method:"DELETE",bucketName:Z,query:"replication"},"",[200,204],"",!1,X)}getObjectLegalHold(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if((0,P.isFunction)(ae)&&(ie=ae,ae={}),!(0,P.isObject)(ae))throw new TypeError('getOpts should be of type "Object"');if(Object.keys(ae).length>0&&ae.versionId&&!(0,P.isString)(ae.versionId))throw new TypeError("versionId should be of type string.:",ae.versionId);if(!(0,P.isFunction)(ie))throw new te.InvalidArgumentError('callback should be of type "function"');let ce="legal-hold";ae.versionId&&(ce+=`&versionId=${ae.versionId}`),this.makeRequest({method:"GET",bucketName:Z,objectName:X,query:ce},"",[200],"",!0,(Y,ne)=>{if(Y)return ie(Y);let J=A.from("");(0,P.pipesetup)(ne,Q.objectLegalHoldTransformer()).on("data",ee=>{J=ee}).on("error",ie).on("end",()=>{ie(null,J)})})}setObjectLegalHold(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError("Invalid bucket name: "+Z);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);const ce={status:P.LEGAL_HOLD_STATUS.ENABLED};if((0,P.isFunction)(ae)&&(ie=ae,ae=ce),!(0,P.isObject)(ae))throw new TypeError('setOpts should be of type "Object"');if(![P.LEGAL_HOLD_STATUS.ENABLED,P.LEGAL_HOLD_STATUS.DISABLED].includes(ae.status))throw new TypeError("Invalid status: "+ae.status);if(ae.versionId&&!ae.versionId.length)throw new TypeError("versionId should be of type string.:"+ae.versionId);if(!(0,P.isFunction)(ie))throw new te.InvalidArgumentError('callback should be of type "function"');U.default.isEmpty(ae)&&(ae={defaultOpts:ce});let Y="legal-hold";ae.versionId&&(Y+=`&versionId=${ae.versionId}`);let ne={Status:ae.status};const J=new N.default.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(ne),ee={};ee["Content-MD5"]=(0,P.toMd5)(J),this.makeRequest({method:"PUT",bucketName:Z,objectName:X,query:Y,headers:ee},J,[200],"",!1,ie)}async setCredentialsProvider(Z){if(!(Z instanceof e.default))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=Z,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)return await this.fetchCredentials()}async fetchCredentials(){if(!this.credentialsProvider)throw new Error("Unable to get credentials. Expected instance of BaseCredentialsProvider");{const Z=await this.credentialsProvider.getCredentials();if(!Z)throw new Error("Unable to get credentials. Expected instance of BaseCredentialsProvider");this.accessKey=Z.getAccessKey(),this.secretKey=Z.getSecretKey(),this.sessionToken=Z.getSessionToken()}}abortMultipartUpload(Z,X,ae,ie){const ce={method:"DELETE",bucketName:Z,objectName:X,query:`uploadId=${ae}`};this.makeRequest(ce,"",[204],"",!1,ie)}uploadPartCopy(Z,X){const{bucketName:ae,objectName:ie,uploadID:ce,partNumber:Y,headers:ne}=Z,J={method:"PUT",bucketName:ae,objectName:ie,query:`uploadId=${ce}&partNumber=${Y}`,headers:ne};return this.makeRequest(J,"",[200],"",!0,(ee,ge)=>{let pe=A.from("");if(ee)return X(ee);(0,P.pipesetup)(ge,Q.uploadPartTransformer()).on("data",we=>{pe=we}).on("error",X).on("end",()=>{let we={etag:(0,P.sanitizeETag)(pe.ETag),key:ie,part:Y};X(null,we)})})}composeObject(Z={},X=[],ae){const ie=this,ce=X.length;if(!(0,P.isArray)(X))throw new te.InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(Z instanceof P.CopyDestinationOptions))throw new te.InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ce<1||ce>P.PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new te.InvalidArgumentError(`"There must be as least one and up to ${P.PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!(0,P.isFunction)(ae))throw new TypeError('callback should be of type "function"');for(let ge=0;ge<ce;ge++)if(!X[ge].validate())return!1;if(!Z.validate())return!1;const Y=[];let ne=0,J=0;const ee=X.map(ge=>ie.statObject(ge.Bucket,ge.Object,(pe=>{let we={};return U.default.isEmpty(pe.VersionID)||(we={versionId:pe.VersionID}),we})(ge)));return Promise.all(ee).then(ge=>{const pe=ge.map((Ae,Ve)=>{const Ie=X[Ve];let Be=Ae.size;if(Ie.MatchRange){const le=Ie.Start,he=Ie.End;if(he>=Be||le<0)throw new te.InvalidArgumentError(`CopySrcOptions ${Ve} has invalid segment-to-copy [${le}, ${he}] (size is ${Be})`);Be=he-le+1}if(Be<P.PART_CONSTRAINTS.ABS_MIN_PART_SIZE&&Ve<ce-1)throw new te.InvalidArgumentError(`CopySrcOptions ${Ve} is too small (${Be}) and it is not the last part.`);if(ne+=Be,ne>P.PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new te.InvalidArgumentError(`Cannot compose an object of size ${ne} (> 5TiB)`);if(Y[Ve]=Be,J+=(0,P.partsRequired)(Be),J>P.PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new te.InvalidArgumentError(`Your proposed compose object requires more than ${P.PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return Ae});if(J===1&&ne<=P.PART_CONSTRAINTS.MAX_PART_SIZE||ne===0)return this.copyObject(X[0],Z,ae);for(let Ae=0;Ae<ce;Ae++)X[Ae].MatchETag=pe[Ae].etag;const we=pe.map((Ae,Ve)=>(0,P.calculateEvenSplits)(Y[Ve],X[Ve])),je=Ae=>{const Ve=function(Ie){const Be=[];return we.forEach((le,he)=>{const{startIndex:fe,endIndex:ve,objInfo:ye}=le;let xe=he+1;const Le=Array.from(fe),Oe=X[he].getHeaders();Le.forEach((Pe,wt)=>{let Ne=ve[wt];const Ue=`${ye.Bucket}/${ye.Object}`;Oe["x-amz-copy-source"]=`${Ue}`,Oe["x-amz-copy-source-range"]=`bytes=${Pe}-${Ne}`;const It={bucketName:Z.Bucket,objectName:Z.Object,uploadID:Ie,partNumber:xe,headers:Oe,sourceObj:Ue};Be.push(It)})}),Be}(Ae);I.default.map(Ve,ie.uploadPartCopy.bind(ie),(Ie,Be)=>{if(Ie)return this.abortMultipartUpload(Z.Bucket,Z.Object,Ae,ae);const le=Be.map(he=>({etag:he.etag,part:he.part}));return ie.completeMultipartUpload(Z.Bucket,Z.Object,Ae,le,ae)})},Me=Z.getHeaders();ie.initiateNewMultipartUpload(Z.Bucket,Z.Object,Me,(Ae,Ve)=>{if(Ae)return ae(Ae,null);je(Ve)})}).catch(ge=>{ae(ge,null)})}selectObjectContent(Z,X,ae={},ie){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError(`Invalid bucket name: ${Z}`);if(!(0,P.isValidObjectName)(X))throw new te.InvalidObjectNameError(`Invalid object name: ${X}`);if(U.default.isEmpty(ae))throw new TypeError("valid select configuration is required");if(!(0,P.isString)(ae.expression))throw new TypeError('sqlExpression should be of type "string"');if(U.default.isEmpty(ae.inputSerialization))throw new TypeError("inputSerialization is required");if(!(0,P.isObject)(ae.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(U.default.isEmpty(ae.outputSerialization))throw new TypeError("outputSerialization is required");if(!(0,P.isObject)(ae.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!(0,P.isFunction)(ie))throw new TypeError('callback should be of type "function"');const ce=[{Expression:ae.expression},{ExpressionType:ae.expressionType||"SQL"},{InputSerialization:[ae.inputSerialization]},{OutputSerialization:[ae.outputSerialization]}];ae.requestProgress&&ce.push({RequestProgress:ae.requestProgress}),ae.scanRange&&ce.push({ScanRange:ae.scanRange});const Y=new N.default.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(ce);this.makeRequest({method:"POST",bucketName:Z,objectName:X,query:"select&select-type=2"},Y,[200],"",!0,(ne,J)=>{if(ne)return ie(ne);let ee;(0,P.pipesetup)(J,Q.selectObjectContentTransformer()).on("data",ge=>{ee=(0,a.parseSelectObjectContentResponse)(ge)}).on("error",ie).on("end",()=>{ie(null,ee)})})}get extensions(){return this.clientExtensions||(this.clientExtensions=new de.default(this)),this.clientExtensions}}v.Client=M,M.prototype.makeBucket=(0,P.promisify)(M.prototype.makeBucket),M.prototype.listBuckets=(0,P.promisify)(M.prototype.listBuckets),M.prototype.bucketExists=(0,P.promisify)(M.prototype.bucketExists),M.prototype.removeBucket=(0,P.promisify)(M.prototype.removeBucket),M.prototype.getObject=(0,P.promisify)(M.prototype.getObject),M.prototype.getPartialObject=(0,P.promisify)(M.prototype.getPartialObject),M.prototype.fGetObject=(0,P.promisify)(M.prototype.fGetObject),M.prototype.putObject=(0,P.promisify)(M.prototype.putObject),M.prototype.fPutObject=(0,P.promisify)(M.prototype.fPutObject),M.prototype.copyObject=(0,P.promisify)(M.prototype.copyObject),M.prototype.statObject=(0,P.promisify)(M.prototype.statObject),M.prototype.removeObject=(0,P.promisify)(M.prototype.removeObject),M.prototype.removeObjects=(0,P.promisify)(M.prototype.removeObjects),M.prototype.presignedUrl=(0,P.promisify)(M.prototype.presignedUrl),M.prototype.presignedGetObject=(0,P.promisify)(M.prototype.presignedGetObject),M.prototype.presignedPutObject=(0,P.promisify)(M.prototype.presignedPutObject),M.prototype.presignedPostPolicy=(0,P.promisify)(M.prototype.presignedPostPolicy),M.prototype.getBucketNotification=(0,P.promisify)(M.prototype.getBucketNotification),M.prototype.setBucketNotification=(0,P.promisify)(M.prototype.setBucketNotification),M.prototype.removeAllBucketNotification=(0,P.promisify)(M.prototype.removeAllBucketNotification),M.prototype.getBucketPolicy=(0,P.promisify)(M.prototype.getBucketPolicy),M.prototype.setBucketPolicy=(0,P.promisify)(M.prototype.setBucketPolicy),M.prototype.removeIncompleteUpload=(0,P.promisify)(M.prototype.removeIncompleteUpload),M.prototype.getBucketVersioning=(0,P.promisify)(M.prototype.getBucketVersioning),M.prototype.setBucketVersioning=(0,P.promisify)(M.prototype.setBucketVersioning),M.prototype.setBucketTagging=(0,P.promisify)(M.prototype.setBucketTagging),M.prototype.removeBucketTagging=(0,P.promisify)(M.prototype.removeBucketTagging),M.prototype.getBucketTagging=(0,P.promisify)(M.prototype.getBucketTagging),M.prototype.setObjectTagging=(0,P.promisify)(M.prototype.setObjectTagging),M.prototype.removeObjectTagging=(0,P.promisify)(M.prototype.removeObjectTagging),M.prototype.getObjectTagging=(0,P.promisify)(M.prototype.getObjectTagging),M.prototype.setBucketLifecycle=(0,P.promisify)(M.prototype.setBucketLifecycle),M.prototype.getBucketLifecycle=(0,P.promisify)(M.prototype.getBucketLifecycle),M.prototype.removeBucketLifecycle=(0,P.promisify)(M.prototype.removeBucketLifecycle),M.prototype.setObjectLockConfig=(0,P.promisify)(M.prototype.setObjectLockConfig),M.prototype.getObjectLockConfig=(0,P.promisify)(M.prototype.getObjectLockConfig),M.prototype.putObjectRetention=(0,P.promisify)(M.prototype.putObjectRetention),M.prototype.getObjectRetention=(0,P.promisify)(M.prototype.getObjectRetention),M.prototype.setBucketEncryption=(0,P.promisify)(M.prototype.setBucketEncryption),M.prototype.getBucketEncryption=(0,P.promisify)(M.prototype.getBucketEncryption),M.prototype.removeBucketEncryption=(0,P.promisify)(M.prototype.removeBucketEncryption),M.prototype.setBucketReplication=(0,P.promisify)(M.prototype.setBucketReplication),M.prototype.getBucketReplication=(0,P.promisify)(M.prototype.getBucketReplication),M.prototype.removeBucketReplication=(0,P.promisify)(M.prototype.removeBucketReplication),M.prototype.setObjectLegalHold=(0,P.promisify)(M.prototype.setObjectLegalHold),M.prototype.getObjectLegalHold=(0,P.promisify)(M.prototype.getObjectLegalHold),M.prototype.composeObject=(0,P.promisify)(M.prototype.composeObject),M.prototype.selectObjectContent=(0,P.promisify)(M.prototype.selectObjectContent);class H{constructor(){this.modified="",this.unmodified="",this.matchETag="",this.matchETagExcept=""}setModified(Z){if(!(Z instanceof Date))throw new TypeError("date must be of type Date");this.modified=Z.toUTCString()}setUnmodified(Z){if(!(Z instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=Z.toUTCString()}setMatchETag(Z){this.matchETag=Z}setMatchETagExcept(Z){this.matchETagExcept=Z}}v.CopyConditions=H;class K{constructor(){this.policy={conditions:[]},this.formData={}}setExpires(Z){if(!Z)throw new te.InvalidDateError("Invalid date : cannot be null");this.policy.expiration=Z.toISOString()}setKey(Z){if(!(0,P.isValidObjectName)(Z))throw new te.InvalidObjectNameError(`Invalid object name : ${Z}`);this.policy.conditions.push(["eq","$key",Z]),this.formData.key=Z}setKeyStartsWith(Z){if(!(0,P.isValidPrefix)(Z))throw new te.InvalidPrefixError(`Invalid prefix : ${Z}`);this.policy.conditions.push(["starts-with","$key",Z]),this.formData.key=Z}setBucket(Z){if(!(0,P.isValidBucketName)(Z))throw new te.InvalidBucketNameError(`Invalid bucket name : ${Z}`);this.policy.conditions.push(["eq","$bucket",Z]),this.formData.bucket=Z}setContentType(Z){if(!Z)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",Z]),this.formData["Content-Type"]=Z}setContentTypeStartsWith(Z){if(!Z)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",Z]),this.formData["Content-Type"]=Z}setContentDisposition(Z){if(!Z)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",Z]),this.formData["Content-Disposition"]=Z}setContentLengthRange(Z,X){if(Z>X)throw new Error("min cannot be more than max");if(Z<0)throw new Error("min should be > 0");if(X<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",Z,X])}setUserMetaData(Z){if(!(0,P.isObject)(Z))throw new TypeError('metadata should be of type "object"');Object.entries(Z).forEach(([X,ae])=>{const ie=`x-amz-meta-${X}`;this.policy.conditions.push(["eq",`$${ie}`,ae]),this.formData[ie]=ae})}}v.PostPolicy=K},2010:(F,v,d)=>{var T=d(6698),A=d(7568),O=A.base,q=A.bignum,p=A.constants.der;function j(N){this.enc="der",this.name=N.name,this.entity=N,this.tree=new w,this.tree._init(N.body)}function w(N){O.Node.call(this,"der",N)}function S(N,I){var b=N.readUInt8(I);if(N.isError(b))return b;var B=p.tagClass[b>>6],D=!(32&b);if(31&~b)b&=31;else{var U=b;for(b=0;!(128&~U);){if(U=N.readUInt8(I),N.isError(U))return U;b<<=7,b|=127&U}}return{cls:B,primitive:D,tag:b,tagStr:p.tag[b]}}function _(N,I,b){var B=N.readUInt8(b);if(N.isError(B))return B;if(!I&&B===128)return null;if(!(128&B))return B;var D=127&B;if(D>4)return N.error("length octect is too long");B=0;for(var U=0;U<D;U++){B<<=8;var $=N.readUInt8(b);if(N.isError($))return $;B|=$}return B}F.exports=j,j.prototype.decode=function(N,I){return N instanceof O.DecoderBuffer||(N=new O.DecoderBuffer(N,I)),this.tree._decode(N,I)},T(w,O.Node),w.prototype._peekTag=function(N,I,b){if(N.isEmpty())return!1;var B=N.save(),D=S(N,'Failed to peek tag: "'+I+'"');return N.isError(D)?D:(N.restore(B),D.tag===I||D.tagStr===I||D.tagStr+"of"===I||b)},w.prototype._decodeTag=function(N,I,b){var B=S(N,'Failed to decode tag of "'+I+'"');if(N.isError(B))return B;var D=_(N,B.primitive,'Failed to get length of "'+I+'"');if(N.isError(D))return D;if(!b&&B.tag!==I&&B.tagStr!==I&&B.tagStr+"of"!==I)return N.error('Failed to match tag: "'+I+'"');if(B.primitive||D!==null)return N.skip(D,'Failed to match body of: "'+I+'"');var U=N.save(),$=this._skipUntilEnd(N,'Failed to skip indefinite length body: "'+this.tag+'"');return N.isError($)?$:(D=N.offset-U.offset,N.restore(U),N.skip(D,'Failed to match body of: "'+I+'"'))},w.prototype._skipUntilEnd=function(N,I){for(;;){var b=S(N,I);if(N.isError(b))return b;var B,D=_(N,b.primitive,I);if(N.isError(D))return D;if(B=b.primitive||D!==null?N.skip(D):this._skipUntilEnd(N,I),N.isError(B))return B;if(b.tagStr==="end")break}},w.prototype._decodeList=function(N,I,b,B){for(var D=[];!N.isEmpty();){var U=this._peekTag(N,"end");if(N.isError(U))return U;var $=b.decode(N,"der",B);if(N.isError($)&&U)break;D.push($)}return D},w.prototype._decodeStr=function(N,I){if(I==="bitstr"){var b=N.readUInt8();return N.isError(b)?b:{unused:b,data:N.raw()}}if(I==="bmpstr"){var B=N.raw();if(B.length%2==1)return N.error("Decoding of string type: bmpstr length mismatch");for(var D="",U=0;U<B.length/2;U++)D+=String.fromCharCode(B.readUInt16BE(2*U));return D}if(I==="numstr"){var $=N.raw().toString("ascii");return this._isNumstr($)?$:N.error("Decoding of string type: numstr unsupported characters")}if(I==="octstr"||I==="objDesc")return N.raw();if(I==="printstr"){var P=N.raw().toString("ascii");return this._isPrintstr(P)?P:N.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(I)?N.raw().toString():N.error("Decoding of string type: "+I+" unsupported")},w.prototype._decodeObjid=function(N,I,b){for(var B,D=[],U=0;!N.isEmpty();){var $=N.readUInt8();U<<=7,U|=127&$,128&$||(D.push(U),U=0)}128&$&&D.push(U);var P=D[0]/40|0,W=D[0]%40;if(B=b?D:[P,W].concat(D.slice(1)),I){var G=I[B.join(" ")];G===void 0&&(G=I[B.join(".")]),G!==void 0&&(B=G)}return B},w.prototype._decodeTime=function(N,I){var b=N.raw().toString();if(I==="gentime")var B=0|b.slice(0,4),D=0|b.slice(4,6),U=0|b.slice(6,8),$=0|b.slice(8,10),P=0|b.slice(10,12),W=0|b.slice(12,14);else{if(I!=="utctime")return N.error("Decoding "+I+" time is not supported yet");B=0|b.slice(0,2),D=0|b.slice(2,4),U=0|b.slice(4,6),$=0|b.slice(6,8),P=0|b.slice(8,10),W=0|b.slice(10,12),B=B<70?2e3+B:1900+B}return Date.UTC(B,D-1,U,$,P,W,0)},w.prototype._decodeNull=function(N){return null},w.prototype._decodeBool=function(N){var I=N.readUInt8();return N.isError(I)?I:I!==0},w.prototype._decodeInt=function(N,I){var b=N.raw(),B=new q(b);return I&&(B=I[B.toString(10)]||B),B},w.prototype._use=function(N,I){return typeof N=="function"&&(N=N(I)),N._getDecoder("der").tree}},2061:F=>{F.exports=function(v,d){for(var T=v.length,A=-1;++A<T;)v[A]^=d[A];return v}},2114:function(F,v){(function(){var d;d=new RegExp(/(?!xmlns)^.*:/),v.normalize=function(T){return T.toLowerCase()},v.firstCharLowerCase=function(T){return T.charAt(0).toLowerCase()+T.slice(1)},v.stripPrefix=function(T){return T.replace(d,"")},v.parseNumbers=function(T){return isNaN(T)||(T=T%1==0?parseInt(T,10):parseFloat(T)),T},v.parseBooleans=function(T){return/^(?:true|false)$/i.test(T)&&(T=T.toLowerCase()==="true"),T}}).call(this)},2153:(F,v,d)=>{var T=v;T._reverse=function(A){var O={};return Object.keys(A).forEach(function(q){(0|q)==q&&(q|=0);var p=A[q];O[p]=q}),O},T.der=d(4598)},2205:(F,v,d)=>{var T=d(6743),A=d(1002),O=d(3144);F.exports=function(){return O(T,A,arguments)}},2211:(F,v,d)=>{var T=d(3349),A=d(6698),O=d(7626),q=d(2808);function p(){this.tmp=new Array(2),this.keys=null}function j(S){q.call(this,S);var _=new p;this._desState=_,this.deriveKeys(_,S.key)}A(j,q),F.exports=j,j.create=function(S){return new j(S)};var w=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];j.prototype.deriveKeys=function(S,_){S.keys=new Array(32),T.equal(_.length,this.blockSize,"Invalid key length");var N=O.readUInt32BE(_,0),I=O.readUInt32BE(_,4);O.pc1(N,I,S.tmp,0),N=S.tmp[0],I=S.tmp[1];for(var b=0;b<S.keys.length;b+=2){var B=w[b>>>1];N=O.r28shl(N,B),I=O.r28shl(I,B),O.pc2(N,I,S.keys,b)}},j.prototype._update=function(S,_,N,I){var b=this._desState,B=O.readUInt32BE(S,_),D=O.readUInt32BE(S,_+4);O.ip(B,D,b.tmp,0),B=b.tmp[0],D=b.tmp[1],this.type==="encrypt"?this._encrypt(b,B,D,b.tmp,0):this._decrypt(b,B,D,b.tmp,0),B=b.tmp[0],D=b.tmp[1],O.writeUInt32BE(N,B,I),O.writeUInt32BE(N,D,I+4)},j.prototype._pad=function(S,_){if(this.padding===!1)return!1;for(var N=S.length-_,I=_;I<S.length;I++)S[I]=N;return!0},j.prototype._unpad=function(S){if(this.padding===!1)return S;for(var _=S[S.length-1],N=S.length-_;N<S.length;N++)T.equal(S[N],_);return S.slice(0,S.length-_)},j.prototype._encrypt=function(S,_,N,I,b){for(var B=_,D=N,U=0;U<S.keys.length;U+=2){var $=S.keys[U],P=S.keys[U+1];O.expand(D,S.tmp,0),$^=S.tmp[0],P^=S.tmp[1];var W=O.substitute($,P),G=D;D=(B^O.permute(W))>>>0,B=G}O.rip(D,B,I,b)},j.prototype._decrypt=function(S,_,N,I,b){for(var B=N,D=_,U=S.keys.length-2;U>=0;U-=2){var $=S.keys[U],P=S.keys[U+1];O.expand(B,S.tmp,0),$^=S.tmp[0],P^=S.tmp[1];var W=O.substitute($,P),G=B;B=(D^O.permute(W))>>>0,D=G}O.rip(B,D,I,b)}},2244:(F,v,d)=>{var T=d(1158),A=d(5037);function O(q){this.rand=q||new A.Rand}F.exports=O,O.create=function(q){return new O(q)},O.prototype._randbelow=function(q){var p=q.bitLength(),j=Math.ceil(p/8);do var w=new T(this.rand.generate(j));while(w.cmp(q)>=0);return w},O.prototype._randrange=function(q,p){var j=p.sub(q);return q.add(this._randbelow(j))},O.prototype.test=function(q,p,j){var w=q.bitLength(),S=T.mont(q),_=new T(1).toRed(S);p||(p=Math.max(1,w/48|0));for(var N=q.subn(1),I=0;!N.testn(I);I++);for(var b=q.shrn(I),B=N.toRed(S);p>0;p--){var D=this._randrange(new T(2),N);j&&j(D);var U=D.toRed(S).redPow(b);if(U.cmp(_)!==0&&U.cmp(B)!==0){for(var $=1;$<I;$++){if((U=U.redSqr()).cmp(_)===0)return!1;if(U.cmp(B)===0)break}if($===I)return!1}}return!0},O.prototype.getDivisor=function(q,p){var j=q.bitLength(),w=T.mont(q),S=new T(1).toRed(w);p||(p=Math.max(1,j/48|0));for(var _=q.subn(1),N=0;!_.testn(N);N++);for(var I=q.shrn(N),b=_.toRed(w);p>0;p--){var B=this._randrange(new T(2),_),D=q.gcd(B);if(D.cmpn(1)!==0)return D;var U=B.toRed(w).redPow(I);if(U.cmp(S)!==0&&U.cmp(b)!==0){for(var $=1;$<N;$++){if((U=U.redSqr()).cmp(S)===0)return U.fromRed().subn(1).gcd(q);if(U.cmp(b)===0)break}if($===N)return(U=U.redSqr()).fromRed().subn(1).gcd(q)}}return!1}},2268:(F,v,d)=>{d.r(v),d.d(v,{all:()=>kt,allLimit:()=>Fe,allSeries:()=>nt,any:()=>pn,anyLimit:()=>Bt,anySeries:()=>Pt,apply:()=>O,applyEach:()=>h,applyEachSeries:()=>K,asyncify:()=>I,auto:()=>X,autoInject:()=>ne,cargo:()=>pe,cargoQueue:()=>we,compose:()=>Ae,concat:()=>Be,concatLimit:()=>Ie,concatSeries:()=>le,constant:()=>he,default:()=>Tr,detect:()=>ve,detectLimit:()=>ye,detectSeries:()=>xe,dir:()=>Oe,doDuring:()=>Pe,doUntil:()=>wt,doWhilst:()=>Pe,during:()=>Ci,each:()=>Ue,eachLimit:()=>It,eachOf:()=>r,eachOfLimit:()=>e,eachOfSeries:()=>M,eachSeries:()=>He,ensureAsync:()=>Ke,every:()=>kt,everyLimit:()=>Fe,everySeries:()=>nt,filter:()=>jt,filterLimit:()=>ze,filterSeries:()=>rt,find:()=>ve,findLimit:()=>ye,findSeries:()=>xe,flatMap:()=>Be,flatMapLimit:()=>Ie,flatMapSeries:()=>le,foldl:()=>je,foldr:()=>Ut,forEach:()=>Ue,forEachLimit:()=>It,forEachOf:()=>r,forEachOfLimit:()=>e,forEachOfSeries:()=>M,forEachSeries:()=>He,forever:()=>Dt,groupBy:()=>st,groupByLimit:()=>Ge,groupBySeries:()=>Wt,inject:()=>je,log:()=>Ze,map:()=>t,mapLimit:()=>Ve,mapSeries:()=>H,mapValues:()=>Zt,mapValuesLimit:()=>ot,mapValuesSeries:()=>Ce,memoize:()=>Xe,nextTick:()=>$t,parallel:()=>ht,parallelLimit:()=>Jt,priorityQueue:()=>ft,queue:()=>Qe,race:()=>Ht,reduce:()=>je,reduceRight:()=>Ut,reflect:()=>cn,reflectAll:()=>mn,reject:()=>gn,rejectLimit:()=>vn,rejectSeries:()=>yn,retry:()=>fn,retryable:()=>xn,select:()=>jt,selectLimit:()=>ze,selectSeries:()=>rt,seq:()=>Me,series:()=>_n,setImmediate:()=>N,some:()=>pn,someLimit:()=>Bt,someSeries:()=>Pt,sortBy:()=>Mn,timeout:()=>En,times:()=>_i,timesLimit:()=>gi,timesSeries:()=>Ar,transform:()=>Ln,tryEach:()=>hr,unmemoize:()=>Ri,until:()=>Ji,waterfall:()=>Zn,whilst:()=>Ci,wrapSync:()=>I});var T=d(5606),A=d(6763);function O(Te,...Ee){return(...Se)=>Te(...Ee,...Se)}function q(Te){return function(...Ee){var Se=Ee.pop();return Te.call(this,Ee,Se)}}var p=typeof queueMicrotask=="function"&&queueMicrotask,j=typeof setImmediate=="function"&&setImmediate,w=typeof T=="object"&&typeof T.nextTick=="function";function S(Te){setTimeout(Te,0)}function _(Te){return(Ee,...Se)=>Te(()=>Ee(...Se))}var N=_(p?queueMicrotask:j?setImmediate:w?T.nextTick:S);function I(Te){return D(Te)?function(...Ee){const Se=Ee.pop();return b(Te.apply(this,Ee),Se)}:q(function(Ee,Se){var qe;try{qe=Te.apply(this,Ee)}catch(at){return Se(at)}if(qe&&typeof qe.then=="function")return b(qe,Se);Se(null,qe)})}function b(Te,Ee){return Te.then(Se=>{B(Ee,null,Se)},Se=>{B(Ee,Se&&(Se instanceof Error||Se.message)?Se:new Error(Se))})}function B(Te,Ee,Se){try{Te(Ee,Se)}catch(qe){N(at=>{throw at},qe)}}function D(Te){return Te[Symbol.toStringTag]==="AsyncFunction"}function U(Te){if(typeof Te!="function")throw new Error("expected a function");return D(Te)?I(Te):Te}function $(Te,Ee){if(Ee||(Ee=Te.length),!Ee)throw new Error("arity is undefined");return function(...Se){return typeof Se[Ee-1]=="function"?Te.apply(this,Se):new Promise((qe,at)=>{Se[Ee-1]=(We,...ct)=>{if(We)return at(We);qe(ct.length>1?ct:ct[0])},Te.apply(this,Se)})}}function P(Te){return function(Ee,...Se){return $(function(qe){var at=this;return Te(Ee,(We,ct)=>{U(We).apply(at,Se.concat(ct))},qe)})}}function W(Te,Ee,Se,qe){Ee=Ee||[];var at=[],We=0,ct=U(Se);return Te(Ee,(ut,yt,Ot)=>{var Xt=We++;ct(ut,(Gt,an)=>{at[Xt]=an,Ot(Gt)})},ut=>{qe(ut,at)})}function G(Te){return Te&&typeof Te.length=="number"&&Te.length>=0&&Te.length%1==0}const Q={};function te(Te){function Ee(...Se){if(Te!==null){var qe=Te;Te=null,qe.apply(this,Se)}}return Object.assign(Ee,Te),Ee}function se(Te){return function(...Ee){if(Te===null)throw new Error("Callback was already called.");var Se=Te;Te=null,Se.apply(this,Ee)}}function ue(Te,Ee,Se,qe){let at=!1,We=!1,ct=!1,ut=0,yt=0;function Ot(){ut>=Ee||ct||at||(ct=!0,Te.next().then(({value:an,done:Ct})=>{if(!We&&!at){if(ct=!1,Ct)return at=!0,void(ut<=0&&qe(null));ut++,Se(an,yt,Xt),yt++,Ot()}}).catch(Gt))}function Xt(an,Ct){if(ut-=1,!We)return an?Gt(an):an===!1?(at=!0,void(We=!0)):Ct===Q||at&&ut<=0?(at=!0,qe(null)):void Ot()}function Gt(an){We||(ct=!1,at=!0,qe(an))}Ot()}var de=Te=>(Ee,Se,qe)=>{if(qe=te(qe),Te<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!Ee)return qe(null);if(Ee[Symbol.toStringTag]==="AsyncGenerator")return ue(Ee,Te,Se,qe);if(function(Gt){return typeof Gt[Symbol.asyncIterator]=="function"}(Ee))return ue(Ee[Symbol.asyncIterator](),Te,Se,qe);var at=function(Gt){if(G(Gt))return function(Nt){var zt=-1,Sn=Nt.length;return function(){return++zt<Sn?{value:Nt[zt],key:zt}:null}}(Gt);var an,Ct,Cn,St,Tt=function(Nt){return Nt[Symbol.iterator]&&Nt[Symbol.iterator]()}(Gt);return Tt?function(Nt){var zt=-1;return function(){var Sn=Nt.next();return Sn.done?null:(zt++,{value:Sn.value,key:zt})}}(Tt):(Ct=(an=Gt)?Object.keys(an):[],Cn=-1,St=Ct.length,function Nt(){var zt=Ct[++Cn];return zt==="__proto__"?Nt():Cn<St?{value:an[zt],key:zt}:null})}(Ee),We=!1,ct=!1,ut=0,yt=!1;function Ot(Gt,an){if(!ct)if(ut-=1,Gt)We=!0,qe(Gt);else if(Gt===!1)We=!0,ct=!0;else{if(an===Q||We&&ut<=0)return We=!0,qe(null);yt||Xt()}}function Xt(){for(yt=!0;ut<Te&&!We;){var Gt=at();if(Gt===null)return We=!0,void(ut<=0&&qe(null));ut+=1,Se(Gt.value,Gt.key,se(Ot))}yt=!1}Xt()},e=$(function(Te,Ee,Se,qe){return de(Ee)(Te,U(Se),qe)},4);function a(Te,Ee,Se){Se=te(Se);var qe=0,at=0,{length:We}=Te,ct=!1;function ut(yt,Ot){yt===!1&&(ct=!0),ct!==!0&&(yt?Se(yt):++at!==We&&Ot!==Q||Se(null))}for(We===0&&Se(null);qe<We;qe++)Ee(Te[qe],qe,se(ut))}function o(Te,Ee,Se){return e(Te,1/0,Ee,Se)}var r=$(function(Te,Ee,Se){return(G(Te)?a:o)(Te,U(Ee),Se)},3),t=$(function(Te,Ee,Se){return W(r,Te,Ee,Se)},3),h=P(t),M=$(function(Te,Ee,Se){return e(Te,1,Ee,Se)},3),H=$(function(Te,Ee,Se){return W(M,Te,Ee,Se)},3),K=P(H);const V=Symbol("promiseCallback");function Z(){let Te,Ee;function Se(qe,...at){if(qe)return Ee(qe);Te(at.length>1?at:at[0])}return Se[V]=new Promise((qe,at)=>{Te=qe,Ee=at}),Se}function X(Te,Ee,Se){typeof Ee!="number"&&(Se=Ee,Ee=null),Se=te(Se||Z());var qe=Object.keys(Te).length;if(!qe)return Se(null);Ee||(Ee=qe);var at={},We=0,ct=!1,ut=!1,yt=Object.create(null),Ot=[],Xt=[],Gt={};function an(St,Tt){Ot.push(()=>function(Nt,zt){if(!ut){var Sn=se((On,...Vn)=>{if(We--,On!==!1)if(Vn.length<2&&([Vn]=Vn),On){var ai={};if(Object.keys(at).forEach(Jn=>{ai[Jn]=at[Jn]}),ai[Nt]=Vn,ut=!0,yt=Object.create(null),ct)return;Se(On,ai)}else at[Nt]=Vn,(yt[Nt]||[]).forEach(Jn=>Jn()),Ct();else ct=!0});We++;var Nn=U(zt[zt.length-1]);zt.length>1?Nn(at,Sn):Nn(Sn)}}(St,Tt))}function Ct(){if(!ct){if(Ot.length===0&&We===0)return Se(null,at);for(;Ot.length&&We<Ee;)Ot.shift()()}}function Cn(St){var Tt=[];return Object.keys(Te).forEach(Nt=>{const zt=Te[Nt];Array.isArray(zt)&&zt.indexOf(St)>=0&&Tt.push(Nt)}),Tt}return Object.keys(Te).forEach(St=>{var Tt=Te[St];if(!Array.isArray(Tt))return an(St,[Tt]),void Xt.push(St);var Nt=Tt.slice(0,Tt.length-1),zt=Nt.length;if(zt===0)return an(St,Tt),void Xt.push(St);Gt[St]=zt,Nt.forEach(Sn=>{if(!Te[Sn])throw new Error("async.auto task `"+St+"` has a non-existent dependency `"+Sn+"` in "+Nt.join(", "));var Nn,On;(On=yt[Nn=Sn])||(On=yt[Nn]=[]),On.push(()=>{--zt==0&&an(St,Tt)})})}),function(){for(var St=0;Xt.length;)St++,Cn(Xt.pop()).forEach(Tt=>{--Gt[Tt]==0&&Xt.push(Tt)});if(St!==qe)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),Ct(),Se[V]}var ae=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ie=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,ce=/,/,Y=/(=.+)?(\s*)$/;function ne(Te,Ee){var Se={};return Object.keys(Te).forEach(qe=>{var at,We=Te[qe],ct=D(We),ut=!ct&&We.length===1||ct&&We.length===0;if(Array.isArray(We))at=[...We],We=at.pop(),Se[qe]=at.concat(at.length>0?yt:We);else if(ut)Se[qe]=We;else{if(at=function(Ot){const Xt=function(Ct){let Cn="",St=0,Tt=Ct.indexOf("*/");for(;St<Ct.length;)if(Ct[St]==="/"&&Ct[St+1]==="/"){let Nt=Ct.indexOf(`
|
|
38
|
+
`,St);St=Nt===-1?Ct.length:Nt}else if(Tt!==-1&&Ct[St]==="/"&&Ct[St+1]==="*"){let Nt=Ct.indexOf("*/",St);Nt!==-1?(St=Nt+2,Tt=Ct.indexOf("*/",St)):(Cn+=Ct[St],St++)}else Cn+=Ct[St],St++;return Cn}(Ot.toString());let Gt=Xt.match(ae);if(Gt||(Gt=Xt.match(ie)),!Gt)throw new Error(`could not parse args in autoInject
|
|
39
|
+
Source:
|
|
40
|
+
`+Xt);let[,an]=Gt;return an.replace(/\s/g,"").split(ce).map(Ct=>Ct.replace(Y,"").trim())}(We),We.length===0&&!ct&&at.length===0)throw new Error("autoInject task functions require explicit parameters.");ct||at.pop(),Se[qe]=at.concat(yt)}function yt(Ot,Xt){var Gt=at.map(an=>Ot[an]);Gt.push(Xt),U(We)(...Gt)}}),X(Se,Ee)}class J{constructor(){this.head=this.tail=null,this.length=0}removeLink(Ee){return Ee.prev?Ee.prev.next=Ee.next:this.head=Ee.next,Ee.next?Ee.next.prev=Ee.prev:this.tail=Ee.prev,Ee.prev=Ee.next=null,this.length-=1,Ee}empty(){for(;this.head;)this.shift();return this}insertAfter(Ee,Se){Se.prev=Ee,Se.next=Ee.next,Ee.next?Ee.next.prev=Se:this.tail=Se,Ee.next=Se,this.length+=1}insertBefore(Ee,Se){Se.prev=Ee.prev,Se.next=Ee,Ee.prev?Ee.prev.next=Se:this.head=Se,Ee.prev=Se,this.length+=1}unshift(Ee){this.head?this.insertBefore(this.head,Ee):ee(this,Ee)}push(Ee){this.tail?this.insertAfter(this.tail,Ee):ee(this,Ee)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var Ee=this.head;Ee;)yield Ee.data,Ee=Ee.next}remove(Ee){for(var Se=this.head;Se;){var{next:qe}=Se;Ee(Se)&&this.removeLink(Se),Se=qe}return this}}function ee(Te,Ee){Te.length=1,Te.head=Te.tail=Ee}function ge(Te,Ee,Se){if(Ee==null)Ee=1;else if(Ee===0)throw new RangeError("Concurrency must not be zero");var qe=U(Te),at=0,We=[];const ct={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function ut(Tt,Nt){return Tt?Nt?void(ct[Tt]=ct[Tt].filter(zt=>zt!==Nt)):ct[Tt]=[]:Object.keys(ct).forEach(zt=>ct[zt]=[])}function yt(Tt,...Nt){ct[Tt].forEach(zt=>zt(...Nt))}var Ot=!1;function Xt(Tt,Nt,zt,Sn){if(Sn!=null&&typeof Sn!="function")throw new Error("task callback must be a function");var Nn,On;function Vn(Jn,...Mi){return Jn?zt?On(Jn):Nn():Mi.length<=1?Nn(Mi[0]):void Nn(Mi)}St.started=!0;var ai=St._createTaskItem(Tt,zt?Vn:Sn||Vn);if(Nt?St._tasks.unshift(ai):St._tasks.push(ai),Ot||(Ot=!0,N(()=>{Ot=!1,St.process()})),zt||!Sn)return new Promise((Jn,Mi)=>{Nn=Jn,On=Mi})}function Gt(Tt){return function(Nt,...zt){at-=1;for(var Sn=0,Nn=Tt.length;Sn<Nn;Sn++){var On=Tt[Sn],Vn=We.indexOf(On);Vn===0?We.shift():Vn>0&&We.splice(Vn,1),On.callback(Nt,...zt),Nt!=null&&yt("error",Nt,On.data)}at<=St.concurrency-St.buffer&&yt("unsaturated"),St.idle()&&yt("drain"),St.process()}}function an(Tt){return!(Tt.length!==0||!St.idle()||(N(()=>yt("drain")),0))}const Ct=Tt=>Nt=>{if(!Nt)return new Promise((zt,Sn)=>{(function(Nn){const On=(...Vn)=>{ut(Nn,On),((ai,Jn)=>{if(ai)return Sn(ai);zt(Jn)})(...Vn)};ct[Nn].push(On)})(Tt)});ut(Tt),function(zt,Sn){ct[zt].push(Sn)}(Tt,Nt)};var Cn=!1,St={_tasks:new J,_createTaskItem:(Tt,Nt)=>({data:Tt,callback:Nt}),*[Symbol.iterator](){yield*St._tasks[Symbol.iterator]()},concurrency:Ee,payload:Se,buffer:Ee/4,started:!1,paused:!1,push(Tt,Nt){return Array.isArray(Tt)?an(Tt)?void 0:Tt.map(zt=>Xt(zt,!1,!1,Nt)):Xt(Tt,!1,!1,Nt)},pushAsync(Tt,Nt){return Array.isArray(Tt)?an(Tt)?void 0:Tt.map(zt=>Xt(zt,!1,!0,Nt)):Xt(Tt,!1,!0,Nt)},kill(){ut(),St._tasks.empty()},unshift(Tt,Nt){return Array.isArray(Tt)?an(Tt)?void 0:Tt.map(zt=>Xt(zt,!0,!1,Nt)):Xt(Tt,!0,!1,Nt)},unshiftAsync(Tt,Nt){return Array.isArray(Tt)?an(Tt)?void 0:Tt.map(zt=>Xt(zt,!0,!0,Nt)):Xt(Tt,!0,!0,Nt)},remove(Tt){St._tasks.remove(Tt)},process(){if(!Cn){for(Cn=!0;!St.paused&&at<St.concurrency&&St._tasks.length;){var Tt=[],Nt=[],zt=St._tasks.length;St.payload&&(zt=Math.min(zt,St.payload));for(var Sn=0;Sn<zt;Sn++){var Nn=St._tasks.shift();Tt.push(Nn),We.push(Nn),Nt.push(Nn.data)}at+=1,St._tasks.length===0&&yt("empty"),at===St.concurrency&&yt("saturated");var On=se(Gt(Tt));qe(Nt,On)}Cn=!1}},length:()=>St._tasks.length,running:()=>at,workersList:()=>We,idle:()=>St._tasks.length+at===0,pause(){St.paused=!0},resume(){St.paused!==!1&&(St.paused=!1,N(St.process))}};return Object.defineProperties(St,{saturated:{writable:!1,value:Ct("saturated")},unsaturated:{writable:!1,value:Ct("unsaturated")},empty:{writable:!1,value:Ct("empty")},drain:{writable:!1,value:Ct("drain")},error:{writable:!1,value:Ct("error")}}),St}function pe(Te,Ee){return ge(Te,1,Ee)}function we(Te,Ee,Se){return ge(Te,Ee,Se)}var je=$(function(Te,Ee,Se,qe){qe=te(qe);var at=U(Se);return M(Te,(We,ct,ut)=>{at(Ee,We,(yt,Ot)=>{Ee=Ot,ut(yt)})},We=>qe(We,Ee))},4);function Me(...Te){var Ee=Te.map(U);return function(...Se){var qe=this,at=Se[Se.length-1];return typeof at=="function"?Se.pop():at=Z(),je(Ee,Se,(We,ct,ut)=>{ct.apply(qe,We.concat((yt,...Ot)=>{ut(yt,Ot)}))},(We,ct)=>at(We,...ct)),at[V]}}function Ae(...Te){return Me(...Te.reverse())}var Ve=$(function(Te,Ee,Se,qe){return W(de(Ee),Te,Se,qe)},4),Ie=$(function(Te,Ee,Se,qe){var at=U(Se);return Ve(Te,Ee,(We,ct)=>{at(We,(ut,...yt)=>ut?ct(ut):ct(ut,yt))},(We,ct)=>{for(var ut=[],yt=0;yt<ct.length;yt++)ct[yt]&&(ut=ut.concat(...ct[yt]));return qe(We,ut)})},4),Be=$(function(Te,Ee,Se){return Ie(Te,1/0,Ee,Se)},3),le=$(function(Te,Ee,Se){return Ie(Te,1,Ee,Se)},3);function he(...Te){return function(...Ee){return Ee.pop()(null,...Te)}}function fe(Te,Ee){return(Se,qe,at,We)=>{var ct,ut=!1;const yt=U(at);Se(qe,(Ot,Xt,Gt)=>{yt(Ot,(an,Ct)=>an||an===!1?Gt(an):Te(Ct)&&!ct?(ut=!0,ct=Ee(!0,Ot),Gt(null,Q)):void Gt())},Ot=>{if(Ot)return We(Ot);We(null,ut?ct:Ee(!1))})}}var ve=$(function(Te,Ee,Se){return fe(qe=>qe,(qe,at)=>at)(r,Te,Ee,Se)},3),ye=$(function(Te,Ee,Se,qe){return fe(at=>at,(at,We)=>We)(de(Ee),Te,Se,qe)},4),xe=$(function(Te,Ee,Se){return fe(qe=>qe,(qe,at)=>at)(de(1),Te,Ee,Se)},3);function Le(Te){return(Ee,...Se)=>U(Ee)(...Se,(qe,...at)=>{typeof A=="object"&&(qe?A.error&&A.error(qe):A[Te]&&at.forEach(We=>A[Te](We)))})}var Oe=Le("dir"),Pe=$(function(Te,Ee,Se){Se=se(Se);var qe,at=U(Te),We=U(Ee);function ct(yt,...Ot){if(yt)return Se(yt);yt!==!1&&(qe=Ot,We(...Ot,ut))}function ut(yt,Ot){return yt?Se(yt):yt!==!1?Ot?void at(ct):Se(null,...qe):void 0}return ut(null,!0)},3);function wt(Te,Ee,Se){const qe=U(Ee);return Pe(Te,(...at)=>{const We=at.pop();qe(...at,(ct,ut)=>We(ct,!ut))},Se)}function Ne(Te){return(Ee,Se,qe)=>Te(Ee,qe)}var Ue=$(function(Te,Ee,Se){return r(Te,Ne(U(Ee)),Se)},3),It=$(function(Te,Ee,Se,qe){return de(Ee)(Te,Ne(U(Se)),qe)},4),He=$(function(Te,Ee,Se){return It(Te,1,Ee,Se)},3);function Ke(Te){return D(Te)?Te:function(...Ee){var Se=Ee.pop(),qe=!0;Ee.push((...at)=>{qe?N(()=>Se(...at)):Se(...at)}),Te.apply(this,Ee),qe=!1}}var kt=$(function(Te,Ee,Se){return fe(qe=>!qe,qe=>!qe)(r,Te,Ee,Se)},3),Fe=$(function(Te,Ee,Se,qe){return fe(at=>!at,at=>!at)(de(Ee),Te,Se,qe)},4),nt=$(function(Te,Ee,Se){return fe(qe=>!qe,qe=>!qe)(M,Te,Ee,Se)},3);function _t(Te,Ee,Se,qe){var at=new Array(Ee.length);Te(Ee,(We,ct,ut)=>{Se(We,(yt,Ot)=>{at[ct]=!!Ot,ut(yt)})},We=>{if(We)return qe(We);for(var ct=[],ut=0;ut<Ee.length;ut++)at[ut]&&ct.push(Ee[ut]);qe(null,ct)})}function $e(Te,Ee,Se,qe){var at=[];Te(Ee,(We,ct,ut)=>{Se(We,(yt,Ot)=>{if(yt)return ut(yt);Ot&&at.push({index:ct,value:We}),ut(yt)})},We=>{if(We)return qe(We);qe(null,at.sort((ct,ut)=>ct.index-ut.index).map(ct=>ct.value))})}function tt(Te,Ee,Se,qe){return(G(Ee)?_t:$e)(Te,Ee,U(Se),qe)}var jt=$(function(Te,Ee,Se){return tt(r,Te,Ee,Se)},3),ze=$(function(Te,Ee,Se,qe){return tt(de(Ee),Te,Se,qe)},4),rt=$(function(Te,Ee,Se){return tt(M,Te,Ee,Se)},3),Dt=$(function(Te,Ee){var Se=se(Ee),qe=U(Ke(Te));return function at(We){if(We)return Se(We);We!==!1&&qe(at)}()},2),Ge=$(function(Te,Ee,Se,qe){var at=U(Se);return Ve(Te,Ee,(We,ct)=>{at(We,(ut,yt)=>ut?ct(ut):ct(ut,{key:yt,val:We}))},(We,ct)=>{for(var ut={},{hasOwnProperty:yt}=Object.prototype,Ot=0;Ot<ct.length;Ot++)if(ct[Ot]){var{key:Xt}=ct[Ot],{val:Gt}=ct[Ot];yt.call(ut,Xt)?ut[Xt].push(Gt):ut[Xt]=[Gt]}return qe(We,ut)})},4);function st(Te,Ee,Se){return Ge(Te,1/0,Ee,Se)}function Wt(Te,Ee,Se){return Ge(Te,1,Ee,Se)}var Ze=Le("log"),ot=$(function(Te,Ee,Se,qe){qe=te(qe);var at={},We=U(Se);return de(Ee)(Te,(ct,ut,yt)=>{We(ct,ut,(Ot,Xt)=>{if(Ot)return yt(Ot);at[ut]=Xt,yt(Ot)})},ct=>qe(ct,at))},4);function Zt(Te,Ee,Se){return ot(Te,1/0,Ee,Se)}function Ce(Te,Ee,Se){return ot(Te,1,Ee,Se)}function Xe(Te,Ee=Se=>Se){var Se=Object.create(null),qe=Object.create(null),at=U(Te),We=q((ct,ut)=>{var yt=Ee(...ct);yt in Se?N(()=>ut(null,...Se[yt])):yt in qe?qe[yt].push(ut):(qe[yt]=[ut],at(...ct,(Ot,...Xt)=>{Ot||(Se[yt]=Xt);var Gt=qe[yt];delete qe[yt];for(var an=0,Ct=Gt.length;an<Ct;an++)Gt[an](Ot,...Xt)}))});return We.memo=Se,We.unmemoized=Te,We}var $t=_(w?T.nextTick:j?setImmediate:S),Je=$((Te,Ee,Se)=>{var qe=G(Ee)?[]:{};Te(Ee,(at,We,ct)=>{U(at)((ut,...yt)=>{yt.length<2&&([yt]=yt),qe[We]=yt,ct(ut)})},at=>Se(at,qe))},3);function ht(Te,Ee){return Je(r,Te,Ee)}function Jt(Te,Ee,Se){return Je(de(Ee),Te,Se)}function Qe(Te,Ee){var Se=U(Te);return ge((qe,at)=>{Se(qe[0],at)},Ee,1)}class lt{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(Ee){let Se;for(;Ee>0&&et(this.heap[Ee],this.heap[Se=en(Ee)]);){let qe=this.heap[Ee];this.heap[Ee]=this.heap[Se],this.heap[Se]=qe,Ee=Se}}percDown(Ee){let Se;for(;(Se=1+(Ee<<1))<this.heap.length&&(Se+1<this.heap.length&&et(this.heap[Se+1],this.heap[Se])&&(Se+=1),!et(this.heap[Ee],this.heap[Se]));){let qe=this.heap[Ee];this.heap[Ee]=this.heap[Se],this.heap[Se]=qe,Ee=Se}}push(Ee){Ee.pushCount=++this.pushCount,this.heap.push(Ee),this.percUp(this.heap.length-1)}unshift(Ee){return this.heap.push(Ee)}shift(){let[Ee]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),Ee}toArray(){return[...this]}*[Symbol.iterator](){for(let Ee=0;Ee<this.heap.length;Ee++)yield this.heap[Ee].data}remove(Ee){let Se=0;for(let qe=0;qe<this.heap.length;qe++)Ee(this.heap[qe])||(this.heap[Se]=this.heap[qe],Se++);this.heap.splice(Se);for(let qe=en(this.heap.length-1);qe>=0;qe--)this.percDown(qe);return this}}function en(Te){return(Te+1>>1)-1}function et(Te,Ee){return Te.priority!==Ee.priority?Te.priority<Ee.priority:Te.pushCount<Ee.pushCount}function ft(Te,Ee){var Se=Qe(Te,Ee),{push:qe,pushAsync:at}=Se;function We(ct,ut){return Array.isArray(ct)?ct.map(yt=>({data:yt,priority:ut})):{data:ct,priority:ut}}return Se._tasks=new lt,Se._createTaskItem=({data:ct,priority:ut},yt)=>({data:ct,priority:ut,callback:yt}),Se.push=function(ct,ut=0,yt){return qe(We(ct,ut),yt)},Se.pushAsync=function(ct,ut=0,yt){return at(We(ct,ut),yt)},delete Se.unshift,delete Se.unshiftAsync,Se}var Ht=$(function(Te,Ee){if(Ee=te(Ee),!Array.isArray(Te))return Ee(new TypeError("First argument to race must be an array of functions"));if(!Te.length)return Ee();for(var Se=0,qe=Te.length;Se<qe;Se++)U(Te[Se])(Ee)},2);function Ut(Te,Ee,Se,qe){var at=[...Te].reverse();return je(at,Ee,Se,qe)}function cn(Te){var Ee=U(Te);return q(function(Se,qe){return Se.push((at,...We)=>{let ct={};if(at&&(ct.error=at),We.length>0){var ut=We;We.length<=1&&([ut]=We),ct.value=ut}qe(null,ct)}),Ee.apply(this,Se)})}function mn(Te){var Ee;return Array.isArray(Te)?Ee=Te.map(cn):(Ee={},Object.keys(Te).forEach(Se=>{Ee[Se]=cn.call(this,Te[Se])})),Ee}function hn(Te,Ee,Se,qe){const at=U(Se);return tt(Te,Ee,(We,ct)=>{at(We,(ut,yt)=>{ct(ut,!yt)})},qe)}var gn=$(function(Te,Ee,Se){return hn(r,Te,Ee,Se)},3),vn=$(function(Te,Ee,Se,qe){return hn(de(Ee),Te,Se,qe)},4),yn=$(function(Te,Ee,Se){return hn(M,Te,Ee,Se)},3);function bn(Te){return function(){return Te}}const ln=5,wn=0;function fn(Te,Ee,Se){var qe={times:ln,intervalFunc:bn(wn)};if(arguments.length<3&&typeof Te=="function"?(Se=Ee||Z(),Ee=Te):(function(ct,ut){if(typeof ut=="object")ct.times=+ut.times||ln,ct.intervalFunc=typeof ut.interval=="function"?ut.interval:bn(+ut.interval||wn),ct.errorFilter=ut.errorFilter;else{if(typeof ut!="number"&&typeof ut!="string")throw new Error("Invalid arguments for async.retry");ct.times=+ut||ln}}(qe,Te),Se=Se||Z()),typeof Ee!="function")throw new Error("Invalid arguments for async.retry");var at=U(Ee),We=1;return function ct(){at((ut,...yt)=>{ut!==!1&&(ut&&We++<qe.times&&(typeof qe.errorFilter!="function"||qe.errorFilter(ut))?setTimeout(ct,qe.intervalFunc(We-1)):Se(ut,...yt))})}(),Se[V]}function xn(Te,Ee){Ee||(Ee=Te,Te=null);let Se=Te&&Te.arity||Ee.length;D(Ee)&&(Se+=1);var qe=U(Ee);return q((at,We)=>{function ct(ut){qe(...at,ut)}return(at.length<Se-1||We==null)&&(at.push(We),We=Z()),Te?fn(Te,ct,We):fn(ct,We),We[V]})}function _n(Te,Ee){return Je(M,Te,Ee)}var pn=$(function(Te,Ee,Se){return fe(Boolean,qe=>qe)(r,Te,Ee,Se)},3),Bt=$(function(Te,Ee,Se,qe){return fe(Boolean,at=>at)(de(Ee),Te,Se,qe)},4),Pt=$(function(Te,Ee,Se){return fe(Boolean,qe=>qe)(M,Te,Ee,Se)},3),Mn=$(function(Te,Ee,Se){var qe=U(Ee);return t(Te,(We,ct)=>{qe(We,(ut,yt)=>{if(ut)return ct(ut);ct(ut,{value:We,criteria:yt})})},(We,ct)=>{if(We)return Se(We);Se(null,ct.sort(at).map(ut=>ut.value))});function at(We,ct){var ut=We.criteria,yt=ct.criteria;return ut<yt?-1:ut>yt?1:0}},3);function En(Te,Ee,Se){var qe=U(Te);return q((at,We)=>{var ct,ut=!1;at.push((...yt)=>{ut||(We(...yt),clearTimeout(ct))}),ct=setTimeout(function(){var yt=Te.name||"anonymous",Ot=new Error('Callback function "'+yt+'" timed out.');Ot.code="ETIMEDOUT",Se&&(Ot.info=Se),ut=!0,We(Ot)},Ee),qe(...at)})}function gi(Te,Ee,Se,qe){var at=U(Se);return Ve(function(We){for(var ct=Array(We);We--;)ct[We]=We;return ct}(Te),Ee,at,qe)}function _i(Te,Ee,Se){return gi(Te,1/0,Ee,Se)}function Ar(Te,Ee,Se){return gi(Te,1,Ee,Se)}function Ln(Te,Ee,Se,qe){arguments.length<=3&&typeof Ee=="function"&&(qe=Se,Se=Ee,Ee=Array.isArray(Te)?[]:{}),qe=te(qe||Z());var at=U(Se);return r(Te,(We,ct,ut)=>{at(Ee,We,ct,ut)},We=>qe(We,Ee)),qe[V]}var hr=$(function(Te,Ee){var Se,qe=null;return He(Te,(at,We)=>{U(at)((ct,...ut)=>{if(ct===!1)return We(ct);ut.length<2?[Se]=ut:Se=ut,qe=ct,We(ct?null:{})})},()=>Ee(qe,Se))});function Ri(Te){return(...Ee)=>(Te.unmemoized||Te)(...Ee)}var Ci=$(function(Te,Ee,Se){Se=se(Se);var qe=U(Ee),at=U(Te),We=[];function ct(yt,...Ot){if(yt)return Se(yt);We=Ot,yt!==!1&&at(ut)}function ut(yt,Ot){return yt?Se(yt):yt!==!1?Ot?void qe(ct):Se(null,...We):void 0}return at(ut)},3);function Ji(Te,Ee,Se){const qe=U(Te);return Ci(at=>qe((We,ct)=>at(We,!ct)),Ee,Se)}var Zn=$(function(Te,Ee){if(Ee=te(Ee),!Array.isArray(Te))return Ee(new Error("First argument to waterfall must be an array of functions"));if(!Te.length)return Ee();var Se=0;function qe(We){U(Te[Se++])(...We,se(at))}function at(We,...ct){if(We!==!1)return We||Se===Te.length?Ee(We,...ct):void qe(ct)}qe([])}),Tr={apply:O,applyEach:h,applyEachSeries:K,asyncify:I,auto:X,autoInject:ne,cargo:pe,cargoQueue:we,compose:Ae,concat:Be,concatLimit:Ie,concatSeries:le,constant:he,detect:ve,detectLimit:ye,detectSeries:xe,dir:Oe,doUntil:wt,doWhilst:Pe,each:Ue,eachLimit:It,eachOf:r,eachOfLimit:e,eachOfSeries:M,eachSeries:He,ensureAsync:Ke,every:kt,everyLimit:Fe,everySeries:nt,filter:jt,filterLimit:ze,filterSeries:rt,forever:Dt,groupBy:st,groupByLimit:Ge,groupBySeries:Wt,log:Ze,map:t,mapLimit:Ve,mapSeries:H,mapValues:Zt,mapValuesLimit:ot,mapValuesSeries:Ce,memoize:Xe,nextTick:$t,parallel:ht,parallelLimit:Jt,priorityQueue:ft,queue:Qe,race:Ht,reduce:je,reduceRight:Ut,reflect:cn,reflectAll:mn,reject:gn,rejectLimit:vn,rejectSeries:yn,retry:fn,retryable:xn,seq:Me,series:_n,setImmediate:N,some:pn,someLimit:Bt,someSeries:Pt,sortBy:Mn,timeout:En,times:_i,timesLimit:gi,timesSeries:Ar,transform:Ln,tryEach:hr,unmemoize:Ri,until:Ji,waterfall:Zn,whilst:Ci,all:kt,allLimit:Fe,allSeries:nt,any:pn,anyLimit:Bt,anySeries:Pt,find:ve,findLimit:ye,findSeries:xe,flatMap:Be,flatMapLimit:Ie,flatMapSeries:le,forEach:Ue,forEachSeries:He,forEachLimit:It,forEachOf:r,forEachOfSeries:M,forEachOfLimit:e,inject:je,foldl:je,foldr:Ut,select:jt,selectLimit:ze,selectSeries:rt,wrapSync:I,during:Ci,doDuring:Pe}},2271:(F,v,d)=>{var T=d(453),A=d(6556),O=d(8859),q=d(507),p=d(9675),j=T("%WeakMap%",!0),w=A("WeakMap.prototype.get",!0),S=A("WeakMap.prototype.set",!0),_=A("WeakMap.prototype.has",!0),N=A("WeakMap.prototype.delete",!0);F.exports=j?function(){var I,b,B={assert:function(D){if(!B.has(D))throw new p("Side channel does not contain "+O(D))},delete:function(D){if(j&&D&&(typeof D=="object"||typeof D=="function")){if(I)return N(I,D)}else if(q&&b)return b.delete(D);return!1},get:function(D){return j&&D&&(typeof D=="object"||typeof D=="function")&&I?w(I,D):b&&b.get(D)},has:function(D){return j&&D&&(typeof D=="object"||typeof D=="function")&&I?_(I,D):!!b&&b.has(D)},set:function(D,U){j&&D&&(typeof D=="object"||typeof D=="function")?(I||(I=new j),S(I,D,U)):q&&(b||(b=q()),b.set(D,U))}};return B}:q},2287:(F,v,d)=>{var T=d(7426),A=d(6166),O=d(6225),q=d(3349),p=T.sum32,j=T.sum32_4,w=T.sum32_5,S=O.ch32,_=O.maj32,N=O.s0_256,I=O.s1_256,b=O.g0_256,B=O.g1_256,D=A.BlockHash,U=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function $(){if(!(this instanceof $))return new $;D.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=U,this.W=new Array(64)}T.inherits($,D),F.exports=$,$.blockSize=512,$.outSize=256,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(P,W){for(var G=this.W,Q=0;Q<16;Q++)G[Q]=P[W+Q];for(;Q<G.length;Q++)G[Q]=j(B(G[Q-2]),G[Q-7],b(G[Q-15]),G[Q-16]);var te=this.h[0],se=this.h[1],ue=this.h[2],de=this.h[3],e=this.h[4],a=this.h[5],o=this.h[6],r=this.h[7];for(q(this.k.length===G.length),Q=0;Q<G.length;Q++){var t=w(r,I(e),S(e,a,o),this.k[Q],G[Q]),h=p(N(te),_(te,se,ue));r=o,o=a,a=e,e=p(de,t),de=ue,ue=se,se=te,te=p(t,h)}this.h[0]=p(this.h[0],te),this.h[1]=p(this.h[1],se),this.h[2]=p(this.h[2],ue),this.h[3]=p(this.h[3],de),this.h[4]=p(this.h[4],e),this.h[5]=p(this.h[5],a),this.h[6]=p(this.h[6],o),this.h[7]=p(this.h[7],r)},$.prototype._digest=function(P){return P==="hex"?T.toHex32(this.h,"big"):T.split32(this.h,"big")}},2299:(F,v,d)=>{function T(ne,J){return function(ee){if(Array.isArray(ee))return ee}(ne)||function(ee,ge){var pe=ee==null?null:typeof Symbol<"u"&&ee[Symbol.iterator]||ee["@@iterator"];if(pe!=null){var we,je,Me,Ae,Ve=[],Ie=!0,Be=!1;try{if(Me=(pe=pe.call(ee)).next,ge===0){if(Object(pe)!==pe)return;Ie=!1}else for(;!(Ie=(we=Me.call(pe)).done)&&(Ve.push(we.value),Ve.length!==ge);Ie=!0);}catch(le){Be=!0,je=le}finally{try{if(!Ie&&pe.return!=null&&(Ae=pe.return(),Object(Ae)!==Ae))return}finally{if(Be)throw je}}return Ve}}(ne,J)||function(ee,ge){if(ee){if(typeof ee=="string")return A(ee,ge);var pe=Object.prototype.toString.call(ee).slice(8,-1);return pe==="Object"&&ee.constructor&&(pe=ee.constructor.name),pe==="Map"||pe==="Set"?Array.from(ee):pe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(pe)?A(ee,ge):void 0}}(ne,J)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
41
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function A(ne,J){(J==null||J>ne.length)&&(J=ne.length);for(var ee=0,ge=new Array(J);ee<J;ee++)ge[ee]=ne[ee];return ge}function O(ne){return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},O(ne)}var q=/a/g.flags!==void 0,p=function(ne){var J=[];return ne.forEach(function(ee){return J.push(ee)}),J},j=function(ne){var J=[];return ne.forEach(function(ee,ge){return J.push([ge,ee])}),J},w=Object.is?Object.is:d(7653),S=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},_=Number.isNaN?Number.isNaN:d(4133);function N(ne){return ne.call.bind(ne)}var I=N(Object.prototype.hasOwnProperty),b=N(Object.prototype.propertyIsEnumerable),B=N(Object.prototype.toString),D=d(537).types,U=D.isAnyArrayBuffer,$=D.isArrayBufferView,P=D.isDate,W=D.isMap,G=D.isRegExp,Q=D.isSet,te=D.isNativeError,se=D.isBoxedPrimitive,ue=D.isNumberObject,de=D.isStringObject,e=D.isBooleanObject,a=D.isBigIntObject,o=D.isSymbolObject,r=D.isFloat32Array,t=D.isFloat64Array;function h(ne){if(ne.length===0||ne.length>10)return!0;for(var J=0;J<ne.length;J++){var ee=ne.charCodeAt(J);if(ee<48||ee>57)return!0}return ne.length===10&&ne>=Math.pow(2,32)}function M(ne){return Object.keys(ne).filter(h).concat(S(ne).filter(Object.prototype.propertyIsEnumerable.bind(ne)))}function H(ne,J){if(ne===J)return 0;for(var ee=ne.length,ge=J.length,pe=0,we=Math.min(ee,ge);pe<we;++pe)if(ne[pe]!==J[pe]){ee=ne[pe],ge=J[pe];break}return ee<ge?-1:ge<ee?1:0}function K(ne,J,ee,ge){if(ne===J)return ne!==0||!ee||w(ne,J);if(ee){if(O(ne)!=="object")return typeof ne=="number"&&_(ne)&&_(J);if(O(J)!=="object"||ne===null||J===null||Object.getPrototypeOf(ne)!==Object.getPrototypeOf(J))return!1}else{if(ne===null||O(ne)!=="object")return(J===null||O(J)!=="object")&&ne==J;if(J===null||O(J)!=="object")return!1}var pe,we,je,Me,Ae=B(ne);if(Ae!==B(J))return!1;if(Array.isArray(ne)){if(ne.length!==J.length)return!1;var Ve=M(ne),Ie=M(J);return Ve.length===Ie.length&&Z(ne,J,ee,ge,1,Ve)}if(Ae==="[object Object]"&&(!W(ne)&&W(J)||!Q(ne)&&Q(J)))return!1;if(P(ne)){if(!P(J)||Date.prototype.getTime.call(ne)!==Date.prototype.getTime.call(J))return!1}else if(G(ne)){if(!G(J)||(je=ne,Me=J,!(q?je.source===Me.source&&je.flags===Me.flags:RegExp.prototype.toString.call(je)===RegExp.prototype.toString.call(Me))))return!1}else if(te(ne)||ne instanceof Error){if(ne.message!==J.message||ne.name!==J.name)return!1}else{if($(ne)){if(ee||!r(ne)&&!t(ne)){if(!function(he,fe){return he.byteLength===fe.byteLength&&H(new Uint8Array(he.buffer,he.byteOffset,he.byteLength),new Uint8Array(fe.buffer,fe.byteOffset,fe.byteLength))===0}(ne,J))return!1}else if(!function(he,fe){if(he.byteLength!==fe.byteLength)return!1;for(var ve=0;ve<he.byteLength;ve++)if(he[ve]!==fe[ve])return!1;return!0}(ne,J))return!1;var Be=M(ne),le=M(J);return Be.length===le.length&&Z(ne,J,ee,ge,0,Be)}if(Q(ne))return!(!Q(J)||ne.size!==J.size)&&Z(ne,J,ee,ge,2);if(W(ne))return!(!W(J)||ne.size!==J.size)&&Z(ne,J,ee,ge,3);if(U(ne)){if(we=J,(pe=ne).byteLength!==we.byteLength||H(new Uint8Array(pe),new Uint8Array(we))!==0)return!1}else if(se(ne)&&!function(he,fe){return ue(he)?ue(fe)&&w(Number.prototype.valueOf.call(he),Number.prototype.valueOf.call(fe)):de(he)?de(fe)&&String.prototype.valueOf.call(he)===String.prototype.valueOf.call(fe):e(he)?e(fe)&&Boolean.prototype.valueOf.call(he)===Boolean.prototype.valueOf.call(fe):a(he)?a(fe)&&BigInt.prototype.valueOf.call(he)===BigInt.prototype.valueOf.call(fe):o(fe)&&Symbol.prototype.valueOf.call(he)===Symbol.prototype.valueOf.call(fe)}(ne,J))return!1}return Z(ne,J,ee,ge,0)}function V(ne,J){return J.filter(function(ee){return b(ne,ee)})}function Z(ne,J,ee,ge,pe,we){if(arguments.length===5){we=Object.keys(ne);var je=Object.keys(J);if(we.length!==je.length)return!1}for(var Me=0;Me<we.length;Me++)if(!I(J,we[Me]))return!1;if(ee&&arguments.length===5){var Ae=S(ne);if(Ae.length!==0){var Ve=0;for(Me=0;Me<Ae.length;Me++){var Ie=Ae[Me];if(b(ne,Ie)){if(!b(J,Ie))return!1;we.push(Ie),Ve++}else if(b(J,Ie))return!1}var Be=S(J);if(Ae.length!==Be.length&&V(J,Be).length!==Ve)return!1}else{var le=S(J);if(le.length!==0&&V(J,le).length!==0)return!1}}if(we.length===0&&(pe===0||pe===1&&ne.length===0||ne.size===0))return!0;if(ge===void 0)ge={val1:new Map,val2:new Map,position:0};else{var he=ge.val1.get(ne);if(he!==void 0){var fe=ge.val2.get(J);if(fe!==void 0)return he===fe}ge.position++}ge.val1.set(ne,ge.position),ge.val2.set(J,ge.position);var ve=function(ye,xe,Le,Oe,Pe,wt){var Ne=0;if(wt===2){if(!function(Ke,kt,Fe,nt){for(var _t=null,$e=p(Ke),tt=0;tt<$e.length;tt++){var jt=$e[tt];if(O(jt)==="object"&&jt!==null)_t===null&&(_t=new Set),_t.add(jt);else if(!kt.has(jt)){if(Fe||!ie(Ke,kt,jt))return!1;_t===null&&(_t=new Set),_t.add(jt)}}if(_t!==null){for(var ze=p(kt),rt=0;rt<ze.length;rt++){var Dt=ze[rt];if(O(Dt)==="object"&&Dt!==null){if(!X(_t,Dt,Fe,nt))return!1}else if(!Fe&&!Ke.has(Dt)&&!X(_t,Dt,Fe,nt))return!1}return _t.size===0}return!0}(ye,xe,Le,Pe))return!1}else if(wt===3){if(!function(Ke,kt,Fe,nt){for(var _t=null,$e=j(Ke),tt=0;tt<$e.length;tt++){var jt=T($e[tt],2),ze=jt[0],rt=jt[1];if(O(ze)==="object"&&ze!==null)_t===null&&(_t=new Set),_t.add(ze);else{var Dt=kt.get(ze);if(Dt===void 0&&!kt.has(ze)||!K(rt,Dt,Fe,nt)){if(Fe||!ce(Ke,kt,ze,rt,nt))return!1;_t===null&&(_t=new Set),_t.add(ze)}}}if(_t!==null){for(var Ge=j(kt),st=0;st<Ge.length;st++){var Wt=T(Ge[st],2),Ze=Wt[0],ot=Wt[1];if(O(Ze)==="object"&&Ze!==null){if(!Y(_t,Ke,Ze,ot,Fe,nt))return!1}else if(!(Fe||Ke.has(Ze)&&K(Ke.get(Ze),ot,!1,nt)||Y(_t,Ke,Ze,ot,!1,nt)))return!1}return _t.size===0}return!0}(ye,xe,Le,Pe))return!1}else if(wt===1)for(;Ne<ye.length;Ne++){if(!I(ye,Ne)){if(I(xe,Ne))return!1;for(var Ue=Object.keys(ye);Ne<Ue.length;Ne++){var It=Ue[Ne];if(!I(xe,It)||!K(ye[It],xe[It],Le,Pe))return!1}return Ue.length===Object.keys(xe).length}if(!I(xe,Ne)||!K(ye[Ne],xe[Ne],Le,Pe))return!1}for(Ne=0;Ne<Oe.length;Ne++){var He=Oe[Ne];if(!K(ye[He],xe[He],Le,Pe))return!1}return!0}(ne,J,ee,we,ge,pe);return ge.val1.delete(ne),ge.val2.delete(J),ve}function X(ne,J,ee,ge){for(var pe=p(ne),we=0;we<pe.length;we++){var je=pe[we];if(K(J,je,ee,ge))return ne.delete(je),!0}return!1}function ae(ne){switch(O(ne)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":ne=+ne;case"number":if(_(ne))return!1}return!0}function ie(ne,J,ee){var ge=ae(ee);return ge??(J.has(ge)&&!ne.has(ge))}function ce(ne,J,ee,ge,pe){var we=ae(ee);if(we!=null)return we;var je=J.get(we);return!(je===void 0&&!J.has(we)||!K(ge,je,!1,pe))&&!ne.has(we)&&K(ge,je,!1,pe)}function Y(ne,J,ee,ge,pe,we){for(var je=p(ne),Me=0;Me<je.length;Me++){var Ae=je[Me];if(K(ee,Ae,pe,we)&&K(ge,J.get(Ae),pe,we))return ne.delete(Ae),!0}return!1}F.exports={isDeepEqual:function(ne,J){return K(ne,J,!1)},isDeepStrictEqual:function(ne,J){return K(ne,J,!0)}}},2344:function(F,v,d){(function(T,A){function O(e,a){if(!e)throw new Error(a||"Assertion failed")}function q(e,a){e.super_=a;var o=function(){};o.prototype=a.prototype,e.prototype=new o,e.prototype.constructor=e}function p(e,a,o){if(p.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(a!=="le"&&a!=="be"||(o=a,a=10),this._init(e||0,a||10,o||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(8982).Buffer}catch{}function w(e,a){var o=e.charCodeAt(a);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function S(e,a,o){var r=w(e,o);return o-1>=a&&(r|=w(e,o-1)<<4),r}function _(e,a,o,r){for(var t=0,h=Math.min(e.length,o),M=a;M<h;M++){var H=e.charCodeAt(M)-48;t*=r,t+=H>=49?H-49+10:H>=17?H-17+10:H}return t}p.isBN=function(e){return e instanceof p||e!==null&&typeof e=="object"&&e.constructor.wordSize===p.wordSize&&Array.isArray(e.words)},p.max=function(e,a){return e.cmp(a)>0?e:a},p.min=function(e,a){return e.cmp(a)<0?e:a},p.prototype._init=function(e,a,o){if(typeof e=="number")return this._initNumber(e,a,o);if(typeof e=="object")return this._initArray(e,a,o);a==="hex"&&(a=16),O(a===(0|a)&&a>=2&&a<=36);var r=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(r++,this.negative=1),r<e.length&&(a===16?this._parseHex(e,r,o):(this._parseBase(e,a,r),o==="le"&&this._initArray(this.toArray(),a,o)))},p.prototype._initNumber=function(e,a,o){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(O(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),a,o)},p.prototype._initArray=function(e,a,o){if(O(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h,M=0;if(o==="be")for(r=e.length-1,t=0;r>=0;r-=3)h=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);else if(o==="le")for(r=0,t=0;r<e.length;r+=3)h=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);return this.strip()},p.prototype._parseHex=function(e,a,o){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h=0,M=0;if(o==="be")for(r=e.length-1;r>=a;r-=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;else for(r=(e.length-a)%2==0?a+1:a;r<e.length;r+=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;this.strip()},p.prototype._parseBase=function(e,a,o){this.words=[0],this.length=1;for(var r=0,t=1;t<=67108863;t*=a)r++;r--,t=t/a|0;for(var h=e.length-o,M=h%r,H=Math.min(h,h-M)+o,K=0,V=o;V<H;V+=r)K=_(e,V,V+r,a),this.imuln(t),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K);if(M!==0){var Z=1;for(K=_(e,V,e.length,a),V=0;V<M;V++)Z*=a;this.imuln(Z),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K)}this.strip()},p.prototype.copy=function(e){e.words=new Array(this.length);for(var a=0;a<this.length;a++)e.words[a]=this.words[a];e.length=this.length,e.negative=this.negative,e.red=this.red},p.prototype.clone=function(){var e=new p(null);return this.copy(e),e},p.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],b=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(e,a,o){o.negative=a.negative^e.negative;var r=e.length+a.length|0;o.length=r,r=r-1|0;var t=0|e.words[0],h=0|a.words[0],M=t*h,H=67108863&M,K=M/67108864|0;o.words[0]=H;for(var V=1;V<r;V++){for(var Z=K>>>26,X=67108863&K,ae=Math.min(V,a.length-1),ie=Math.max(0,V-e.length+1);ie<=ae;ie++){var ce=V-ie|0;Z+=(M=(t=0|e.words[ce])*(h=0|a.words[ie])+X)/67108864|0,X=67108863&M}o.words[V]=0|X,K=0|Z}return K!==0?o.words[V]=0|K:o.length--,o.strip()}p.prototype.toString=function(e,a){var o;if(a=0|a||1,(e=e||10)===16||e==="hex"){o="";for(var r=0,t=0,h=0;h<this.length;h++){var M=this.words[h],H=(16777215&(M<<r|t)).toString(16);t=M>>>24-r&16777215,(r+=2)>=26&&(r-=26,h--),o=t!==0||h!==this.length-1?N[6-H.length]+H+o:H+o}for(t!==0&&(o=t.toString(16)+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(e===(0|e)&&e>=2&&e<=36){var K=I[e],V=b[e];o="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var X=Z.modn(V).toString(e);o=(Z=Z.idivn(V)).isZero()?X+o:N[K-X.length]+X+o}for(this.isZero()&&(o="0"+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},p.prototype.toJSON=function(){return this.toString(16)},p.prototype.toBuffer=function(e,a){return O(j!==void 0),this.toArrayLike(j,e,a)},p.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)},p.prototype.toArrayLike=function(e,a,o){var r=this.byteLength(),t=o||Math.max(1,r);O(r<=t,"byte array longer than desired length"),O(t>0,"Requested array length <= 0"),this.strip();var h,M,H=a==="le",K=new e(t),V=this.clone();if(H){for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[M]=h;for(;M<t;M++)K[M]=0}else{for(M=0;M<t-r;M++)K[M]=0;for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[t-M-1]=h}return K},Math.clz32?p.prototype._countBits=function(e){return 32-Math.clz32(e)}:p.prototype._countBits=function(e){var a=e,o=0;return a>=4096&&(o+=13,a>>>=13),a>=64&&(o+=7,a>>>=7),a>=8&&(o+=4,a>>>=4),a>=2&&(o+=2,a>>>=2),o+a},p.prototype._zeroBits=function(e){if(e===0)return 26;var a=e,o=0;return 8191&a||(o+=13,a>>>=13),127&a||(o+=7,a>>>=7),15&a||(o+=4,a>>>=4),3&a||(o+=2,a>>>=2),1&a||o++,o},p.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;a<this.length;a++){var o=this._zeroBits(this.words[a]);if(e+=o,o!==26)break}return e},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},p.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var a=0;a<e.length;a++)this.words[a]=this.words[a]|e.words[a];return this.strip()},p.prototype.ior=function(e){return O(!(this.negative|e.negative)),this.iuor(e)},p.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},p.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},p.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var o=0;o<a.length;o++)this.words[o]=this.words[o]&e.words[o];return this.length=a.length,this.strip()},p.prototype.iand=function(e){return O(!(this.negative|e.negative)),this.iuand(e)},p.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},p.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},p.prototype.iuxor=function(e){var a,o;this.length>e.length?(a=this,o=e):(a=e,o=this);for(var r=0;r<o.length;r++)this.words[r]=a.words[r]^o.words[r];if(this!==a)for(;r<a.length;r++)this.words[r]=a.words[r];return this.length=a.length,this.strip()},p.prototype.ixor=function(e){return O(!(this.negative|e.negative)),this.iuxor(e)},p.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},p.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},p.prototype.inotn=function(e){O(typeof e=="number"&&e>=0);var a=0|Math.ceil(e/26),o=e%26;this._expand(a),o>0&&a--;for(var r=0;r<a;r++)this.words[r]=67108863&~this.words[r];return o>0&&(this.words[r]=~this.words[r]&67108863>>26-o),this.strip()},p.prototype.notn=function(e){return this.clone().inotn(e)},p.prototype.setn=function(e,a){O(typeof e=="number"&&e>=0);var o=e/26|0,r=e%26;return this._expand(o+1),this.words[o]=a?this.words[o]|1<<r:this.words[o]&~(1<<r),this.strip()},p.prototype.iadd=function(e){var a,o,r;if(this.negative!==0&&e.negative===0)return this.negative=0,a=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,a=this.isub(e),e.negative=1,a._normSign();this.length>e.length?(o=this,r=e):(o=e,r=this);for(var t=0,h=0;h<r.length;h++)a=(0|o.words[h])+(0|r.words[h])+t,this.words[h]=67108863&a,t=a>>>26;for(;t!==0&&h<o.length;h++)a=(0|o.words[h])+t,this.words[h]=67108863&a,t=a>>>26;if(this.length=o.length,t!==0)this.words[this.length]=t,this.length++;else if(o!==this)for(;h<o.length;h++)this.words[h]=o.words[h];return this},p.prototype.add=function(e){var a;return e.negative!==0&&this.negative===0?(e.negative=0,a=this.sub(e),e.negative^=1,a):e.negative===0&&this.negative!==0?(this.negative=0,a=e.sub(this),this.negative=1,a):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},p.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o,r,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(o=this,r=e):(o=e,r=this);for(var h=0,M=0;M<r.length;M++)h=(a=(0|o.words[M])-(0|r.words[M])+h)>>26,this.words[M]=67108863&a;for(;h!==0&&M<o.length;M++)h=(a=(0|o.words[M])+h)>>26,this.words[M]=67108863&a;if(h===0&&M<o.length&&o!==this)for(;M<o.length;M++)this.words[M]=o.words[M];return this.length=Math.max(this.length,M),o!==this&&(this.negative=1),this.strip()},p.prototype.sub=function(e){return this.clone().isub(e)};var D=function(e,a,o){var r,t,h,M=e.words,H=a.words,K=o.words,V=0,Z=0|M[0],X=8191&Z,ae=Z>>>13,ie=0|M[1],ce=8191&ie,Y=ie>>>13,ne=0|M[2],J=8191&ne,ee=ne>>>13,ge=0|M[3],pe=8191&ge,we=ge>>>13,je=0|M[4],Me=8191&je,Ae=je>>>13,Ve=0|M[5],Ie=8191&Ve,Be=Ve>>>13,le=0|M[6],he=8191&le,fe=le>>>13,ve=0|M[7],ye=8191&ve,xe=ve>>>13,Le=0|M[8],Oe=8191&Le,Pe=Le>>>13,wt=0|M[9],Ne=8191&wt,Ue=wt>>>13,It=0|H[0],He=8191&It,Ke=It>>>13,kt=0|H[1],Fe=8191&kt,nt=kt>>>13,_t=0|H[2],$e=8191&_t,tt=_t>>>13,jt=0|H[3],ze=8191&jt,rt=jt>>>13,Dt=0|H[4],Ge=8191&Dt,st=Dt>>>13,Wt=0|H[5],Ze=8191&Wt,ot=Wt>>>13,Zt=0|H[6],Ce=8191&Zt,Xe=Zt>>>13,$t=0|H[7],Je=8191&$t,ht=$t>>>13,Jt=0|H[8],Qe=8191&Jt,lt=Jt>>>13,en=0|H[9],et=8191&en,ft=en>>>13;o.negative=e.negative^a.negative,o.length=19;var Ht=(V+(r=Math.imul(X,He))|0)+((8191&(t=(t=Math.imul(X,Ke))+Math.imul(ae,He)|0))<<13)|0;V=((h=Math.imul(ae,Ke))+(t>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,r=Math.imul(ce,He),t=(t=Math.imul(ce,Ke))+Math.imul(Y,He)|0,h=Math.imul(Y,Ke);var Ut=(V+(r=r+Math.imul(X,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(X,nt)|0)+Math.imul(ae,Fe)|0))<<13)|0;V=((h=h+Math.imul(ae,nt)|0)+(t>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(J,He),t=(t=Math.imul(J,Ke))+Math.imul(ee,He)|0,h=Math.imul(ee,Ke),r=r+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(Y,Fe)|0,h=h+Math.imul(Y,nt)|0;var cn=(V+(r=r+Math.imul(X,$e)|0)|0)+((8191&(t=(t=t+Math.imul(X,tt)|0)+Math.imul(ae,$e)|0))<<13)|0;V=((h=h+Math.imul(ae,tt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,r=Math.imul(pe,He),t=(t=Math.imul(pe,Ke))+Math.imul(we,He)|0,h=Math.imul(we,Ke),r=r+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ee,Fe)|0,h=h+Math.imul(ee,nt)|0,r=r+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,tt)|0)+Math.imul(Y,$e)|0,h=h+Math.imul(Y,tt)|0;var mn=(V+(r=r+Math.imul(X,ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,rt)|0)+Math.imul(ae,ze)|0))<<13)|0;V=((h=h+Math.imul(ae,rt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,r=Math.imul(Me,He),t=(t=Math.imul(Me,Ke))+Math.imul(Ae,He)|0,h=Math.imul(Ae,Ke),r=r+Math.imul(pe,Fe)|0,t=(t=t+Math.imul(pe,nt)|0)+Math.imul(we,Fe)|0,h=h+Math.imul(we,nt)|0,r=r+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,tt)|0)+Math.imul(ee,$e)|0,h=h+Math.imul(ee,tt)|0,r=r+Math.imul(ce,ze)|0,t=(t=t+Math.imul(ce,rt)|0)+Math.imul(Y,ze)|0,h=h+Math.imul(Y,rt)|0;var hn=(V+(r=r+Math.imul(X,Ge)|0)|0)+((8191&(t=(t=t+Math.imul(X,st)|0)+Math.imul(ae,Ge)|0))<<13)|0;V=((h=h+Math.imul(ae,st)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,r=Math.imul(Ie,He),t=(t=Math.imul(Ie,Ke))+Math.imul(Be,He)|0,h=Math.imul(Be,Ke),r=r+Math.imul(Me,Fe)|0,t=(t=t+Math.imul(Me,nt)|0)+Math.imul(Ae,Fe)|0,h=h+Math.imul(Ae,nt)|0,r=r+Math.imul(pe,$e)|0,t=(t=t+Math.imul(pe,tt)|0)+Math.imul(we,$e)|0,h=h+Math.imul(we,tt)|0,r=r+Math.imul(J,ze)|0,t=(t=t+Math.imul(J,rt)|0)+Math.imul(ee,ze)|0,h=h+Math.imul(ee,rt)|0,r=r+Math.imul(ce,Ge)|0,t=(t=t+Math.imul(ce,st)|0)+Math.imul(Y,Ge)|0,h=h+Math.imul(Y,st)|0;var gn=(V+(r=r+Math.imul(X,Ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,ot)|0)+Math.imul(ae,Ze)|0))<<13)|0;V=((h=h+Math.imul(ae,ot)|0)+(t>>>13)|0)+(gn>>>26)|0,gn&=67108863,r=Math.imul(he,He),t=(t=Math.imul(he,Ke))+Math.imul(fe,He)|0,h=Math.imul(fe,Ke),r=r+Math.imul(Ie,Fe)|0,t=(t=t+Math.imul(Ie,nt)|0)+Math.imul(Be,Fe)|0,h=h+Math.imul(Be,nt)|0,r=r+Math.imul(Me,$e)|0,t=(t=t+Math.imul(Me,tt)|0)+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,tt)|0,r=r+Math.imul(pe,ze)|0,t=(t=t+Math.imul(pe,rt)|0)+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,r=r+Math.imul(J,Ge)|0,t=(t=t+Math.imul(J,st)|0)+Math.imul(ee,Ge)|0,h=h+Math.imul(ee,st)|0,r=r+Math.imul(ce,Ze)|0,t=(t=t+Math.imul(ce,ot)|0)+Math.imul(Y,Ze)|0,h=h+Math.imul(Y,ot)|0;var vn=(V+(r=r+Math.imul(X,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(X,Xe)|0)+Math.imul(ae,Ce)|0))<<13)|0;V=((h=h+Math.imul(ae,Xe)|0)+(t>>>13)|0)+(vn>>>26)|0,vn&=67108863,r=Math.imul(ye,He),t=(t=Math.imul(ye,Ke))+Math.imul(xe,He)|0,h=Math.imul(xe,Ke),r=r+Math.imul(he,Fe)|0,t=(t=t+Math.imul(he,nt)|0)+Math.imul(fe,Fe)|0,h=h+Math.imul(fe,nt)|0,r=r+Math.imul(Ie,$e)|0,t=(t=t+Math.imul(Ie,tt)|0)+Math.imul(Be,$e)|0,h=h+Math.imul(Be,tt)|0,r=r+Math.imul(Me,ze)|0,t=(t=t+Math.imul(Me,rt)|0)+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,r=r+Math.imul(pe,Ge)|0,t=(t=t+Math.imul(pe,st)|0)+Math.imul(we,Ge)|0,h=h+Math.imul(we,st)|0,r=r+Math.imul(J,Ze)|0,t=(t=t+Math.imul(J,ot)|0)+Math.imul(ee,Ze)|0,h=h+Math.imul(ee,ot)|0,r=r+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Xe)|0)+Math.imul(Y,Ce)|0,h=h+Math.imul(Y,Xe)|0;var yn=(V+(r=r+Math.imul(X,Je)|0)|0)+((8191&(t=(t=t+Math.imul(X,ht)|0)+Math.imul(ae,Je)|0))<<13)|0;V=((h=h+Math.imul(ae,ht)|0)+(t>>>13)|0)+(yn>>>26)|0,yn&=67108863,r=Math.imul(Oe,He),t=(t=Math.imul(Oe,Ke))+Math.imul(Pe,He)|0,h=Math.imul(Pe,Ke),r=r+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(xe,Fe)|0,h=h+Math.imul(xe,nt)|0,r=r+Math.imul(he,$e)|0,t=(t=t+Math.imul(he,tt)|0)+Math.imul(fe,$e)|0,h=h+Math.imul(fe,tt)|0,r=r+Math.imul(Ie,ze)|0,t=(t=t+Math.imul(Ie,rt)|0)+Math.imul(Be,ze)|0,h=h+Math.imul(Be,rt)|0,r=r+Math.imul(Me,Ge)|0,t=(t=t+Math.imul(Me,st)|0)+Math.imul(Ae,Ge)|0,h=h+Math.imul(Ae,st)|0,r=r+Math.imul(pe,Ze)|0,t=(t=t+Math.imul(pe,ot)|0)+Math.imul(we,Ze)|0,h=h+Math.imul(we,ot)|0,r=r+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Xe)|0)+Math.imul(ee,Ce)|0,h=h+Math.imul(ee,Xe)|0,r=r+Math.imul(ce,Je)|0,t=(t=t+Math.imul(ce,ht)|0)+Math.imul(Y,Je)|0,h=h+Math.imul(Y,ht)|0;var bn=(V+(r=r+Math.imul(X,Qe)|0)|0)+((8191&(t=(t=t+Math.imul(X,lt)|0)+Math.imul(ae,Qe)|0))<<13)|0;V=((h=h+Math.imul(ae,lt)|0)+(t>>>13)|0)+(bn>>>26)|0,bn&=67108863,r=Math.imul(Ne,He),t=(t=Math.imul(Ne,Ke))+Math.imul(Ue,He)|0,h=Math.imul(Ue,Ke),r=r+Math.imul(Oe,Fe)|0,t=(t=t+Math.imul(Oe,nt)|0)+Math.imul(Pe,Fe)|0,h=h+Math.imul(Pe,nt)|0,r=r+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,tt)|0)+Math.imul(xe,$e)|0,h=h+Math.imul(xe,tt)|0,r=r+Math.imul(he,ze)|0,t=(t=t+Math.imul(he,rt)|0)+Math.imul(fe,ze)|0,h=h+Math.imul(fe,rt)|0,r=r+Math.imul(Ie,Ge)|0,t=(t=t+Math.imul(Ie,st)|0)+Math.imul(Be,Ge)|0,h=h+Math.imul(Be,st)|0,r=r+Math.imul(Me,Ze)|0,t=(t=t+Math.imul(Me,ot)|0)+Math.imul(Ae,Ze)|0,h=h+Math.imul(Ae,ot)|0,r=r+Math.imul(pe,Ce)|0,t=(t=t+Math.imul(pe,Xe)|0)+Math.imul(we,Ce)|0,h=h+Math.imul(we,Xe)|0,r=r+Math.imul(J,Je)|0,t=(t=t+Math.imul(J,ht)|0)+Math.imul(ee,Je)|0,h=h+Math.imul(ee,ht)|0,r=r+Math.imul(ce,Qe)|0,t=(t=t+Math.imul(ce,lt)|0)+Math.imul(Y,Qe)|0,h=h+Math.imul(Y,lt)|0;var ln=(V+(r=r+Math.imul(X,et)|0)|0)+((8191&(t=(t=t+Math.imul(X,ft)|0)+Math.imul(ae,et)|0))<<13)|0;V=((h=h+Math.imul(ae,ft)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,r=Math.imul(Ne,Fe),t=(t=Math.imul(Ne,nt))+Math.imul(Ue,Fe)|0,h=Math.imul(Ue,nt),r=r+Math.imul(Oe,$e)|0,t=(t=t+Math.imul(Oe,tt)|0)+Math.imul(Pe,$e)|0,h=h+Math.imul(Pe,tt)|0,r=r+Math.imul(ye,ze)|0,t=(t=t+Math.imul(ye,rt)|0)+Math.imul(xe,ze)|0,h=h+Math.imul(xe,rt)|0,r=r+Math.imul(he,Ge)|0,t=(t=t+Math.imul(he,st)|0)+Math.imul(fe,Ge)|0,h=h+Math.imul(fe,st)|0,r=r+Math.imul(Ie,Ze)|0,t=(t=t+Math.imul(Ie,ot)|0)+Math.imul(Be,Ze)|0,h=h+Math.imul(Be,ot)|0,r=r+Math.imul(Me,Ce)|0,t=(t=t+Math.imul(Me,Xe)|0)+Math.imul(Ae,Ce)|0,h=h+Math.imul(Ae,Xe)|0,r=r+Math.imul(pe,Je)|0,t=(t=t+Math.imul(pe,ht)|0)+Math.imul(we,Je)|0,h=h+Math.imul(we,ht)|0,r=r+Math.imul(J,Qe)|0,t=(t=t+Math.imul(J,lt)|0)+Math.imul(ee,Qe)|0,h=h+Math.imul(ee,lt)|0;var wn=(V+(r=r+Math.imul(ce,et)|0)|0)+((8191&(t=(t=t+Math.imul(ce,ft)|0)+Math.imul(Y,et)|0))<<13)|0;V=((h=h+Math.imul(Y,ft)|0)+(t>>>13)|0)+(wn>>>26)|0,wn&=67108863,r=Math.imul(Ne,$e),t=(t=Math.imul(Ne,tt))+Math.imul(Ue,$e)|0,h=Math.imul(Ue,tt),r=r+Math.imul(Oe,ze)|0,t=(t=t+Math.imul(Oe,rt)|0)+Math.imul(Pe,ze)|0,h=h+Math.imul(Pe,rt)|0,r=r+Math.imul(ye,Ge)|0,t=(t=t+Math.imul(ye,st)|0)+Math.imul(xe,Ge)|0,h=h+Math.imul(xe,st)|0,r=r+Math.imul(he,Ze)|0,t=(t=t+Math.imul(he,ot)|0)+Math.imul(fe,Ze)|0,h=h+Math.imul(fe,ot)|0,r=r+Math.imul(Ie,Ce)|0,t=(t=t+Math.imul(Ie,Xe)|0)+Math.imul(Be,Ce)|0,h=h+Math.imul(Be,Xe)|0,r=r+Math.imul(Me,Je)|0,t=(t=t+Math.imul(Me,ht)|0)+Math.imul(Ae,Je)|0,h=h+Math.imul(Ae,ht)|0,r=r+Math.imul(pe,Qe)|0,t=(t=t+Math.imul(pe,lt)|0)+Math.imul(we,Qe)|0,h=h+Math.imul(we,lt)|0;var fn=(V+(r=r+Math.imul(J,et)|0)|0)+((8191&(t=(t=t+Math.imul(J,ft)|0)+Math.imul(ee,et)|0))<<13)|0;V=((h=h+Math.imul(ee,ft)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863,r=Math.imul(Ne,ze),t=(t=Math.imul(Ne,rt))+Math.imul(Ue,ze)|0,h=Math.imul(Ue,rt),r=r+Math.imul(Oe,Ge)|0,t=(t=t+Math.imul(Oe,st)|0)+Math.imul(Pe,Ge)|0,h=h+Math.imul(Pe,st)|0,r=r+Math.imul(ye,Ze)|0,t=(t=t+Math.imul(ye,ot)|0)+Math.imul(xe,Ze)|0,h=h+Math.imul(xe,ot)|0,r=r+Math.imul(he,Ce)|0,t=(t=t+Math.imul(he,Xe)|0)+Math.imul(fe,Ce)|0,h=h+Math.imul(fe,Xe)|0,r=r+Math.imul(Ie,Je)|0,t=(t=t+Math.imul(Ie,ht)|0)+Math.imul(Be,Je)|0,h=h+Math.imul(Be,ht)|0,r=r+Math.imul(Me,Qe)|0,t=(t=t+Math.imul(Me,lt)|0)+Math.imul(Ae,Qe)|0,h=h+Math.imul(Ae,lt)|0;var xn=(V+(r=r+Math.imul(pe,et)|0)|0)+((8191&(t=(t=t+Math.imul(pe,ft)|0)+Math.imul(we,et)|0))<<13)|0;V=((h=h+Math.imul(we,ft)|0)+(t>>>13)|0)+(xn>>>26)|0,xn&=67108863,r=Math.imul(Ne,Ge),t=(t=Math.imul(Ne,st))+Math.imul(Ue,Ge)|0,h=Math.imul(Ue,st),r=r+Math.imul(Oe,Ze)|0,t=(t=t+Math.imul(Oe,ot)|0)+Math.imul(Pe,Ze)|0,h=h+Math.imul(Pe,ot)|0,r=r+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Xe)|0)+Math.imul(xe,Ce)|0,h=h+Math.imul(xe,Xe)|0,r=r+Math.imul(he,Je)|0,t=(t=t+Math.imul(he,ht)|0)+Math.imul(fe,Je)|0,h=h+Math.imul(fe,ht)|0,r=r+Math.imul(Ie,Qe)|0,t=(t=t+Math.imul(Ie,lt)|0)+Math.imul(Be,Qe)|0,h=h+Math.imul(Be,lt)|0;var _n=(V+(r=r+Math.imul(Me,et)|0)|0)+((8191&(t=(t=t+Math.imul(Me,ft)|0)+Math.imul(Ae,et)|0))<<13)|0;V=((h=h+Math.imul(Ae,ft)|0)+(t>>>13)|0)+(_n>>>26)|0,_n&=67108863,r=Math.imul(Ne,Ze),t=(t=Math.imul(Ne,ot))+Math.imul(Ue,Ze)|0,h=Math.imul(Ue,ot),r=r+Math.imul(Oe,Ce)|0,t=(t=t+Math.imul(Oe,Xe)|0)+Math.imul(Pe,Ce)|0,h=h+Math.imul(Pe,Xe)|0,r=r+Math.imul(ye,Je)|0,t=(t=t+Math.imul(ye,ht)|0)+Math.imul(xe,Je)|0,h=h+Math.imul(xe,ht)|0,r=r+Math.imul(he,Qe)|0,t=(t=t+Math.imul(he,lt)|0)+Math.imul(fe,Qe)|0,h=h+Math.imul(fe,lt)|0;var pn=(V+(r=r+Math.imul(Ie,et)|0)|0)+((8191&(t=(t=t+Math.imul(Ie,ft)|0)+Math.imul(Be,et)|0))<<13)|0;V=((h=h+Math.imul(Be,ft)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,r=Math.imul(Ne,Ce),t=(t=Math.imul(Ne,Xe))+Math.imul(Ue,Ce)|0,h=Math.imul(Ue,Xe),r=r+Math.imul(Oe,Je)|0,t=(t=t+Math.imul(Oe,ht)|0)+Math.imul(Pe,Je)|0,h=h+Math.imul(Pe,ht)|0,r=r+Math.imul(ye,Qe)|0,t=(t=t+Math.imul(ye,lt)|0)+Math.imul(xe,Qe)|0,h=h+Math.imul(xe,lt)|0;var Bt=(V+(r=r+Math.imul(he,et)|0)|0)+((8191&(t=(t=t+Math.imul(he,ft)|0)+Math.imul(fe,et)|0))<<13)|0;V=((h=h+Math.imul(fe,ft)|0)+(t>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(Ne,Je),t=(t=Math.imul(Ne,ht))+Math.imul(Ue,Je)|0,h=Math.imul(Ue,ht),r=r+Math.imul(Oe,Qe)|0,t=(t=t+Math.imul(Oe,lt)|0)+Math.imul(Pe,Qe)|0,h=h+Math.imul(Pe,lt)|0;var Pt=(V+(r=r+Math.imul(ye,et)|0)|0)+((8191&(t=(t=t+Math.imul(ye,ft)|0)+Math.imul(xe,et)|0))<<13)|0;V=((h=h+Math.imul(xe,ft)|0)+(t>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(Ne,Qe),t=(t=Math.imul(Ne,lt))+Math.imul(Ue,Qe)|0,h=Math.imul(Ue,lt);var Mn=(V+(r=r+Math.imul(Oe,et)|0)|0)+((8191&(t=(t=t+Math.imul(Oe,ft)|0)+Math.imul(Pe,et)|0))<<13)|0;V=((h=h+Math.imul(Pe,ft)|0)+(t>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var En=(V+(r=Math.imul(Ne,et))|0)+((8191&(t=(t=Math.imul(Ne,ft))+Math.imul(Ue,et)|0))<<13)|0;return V=((h=Math.imul(Ue,ft))+(t>>>13)|0)+(En>>>26)|0,En&=67108863,K[0]=Ht,K[1]=Ut,K[2]=cn,K[3]=mn,K[4]=hn,K[5]=gn,K[6]=vn,K[7]=yn,K[8]=bn,K[9]=ln,K[10]=wn,K[11]=fn,K[12]=xn,K[13]=_n,K[14]=pn,K[15]=Bt,K[16]=Pt,K[17]=Mn,K[18]=En,V!==0&&(K[19]=V,o.length++),o};function U(e,a,o){return new $().mulp(e,a,o)}function $(e,a){this.x=e,this.y=a}Math.imul||(D=B),p.prototype.mulTo=function(e,a){var o,r=this.length+e.length;return o=this.length===10&&e.length===10?D(this,e,a):r<63?B(this,e,a):r<1024?function(t,h,M){M.negative=h.negative^t.negative,M.length=t.length+h.length;for(var H=0,K=0,V=0;V<M.length-1;V++){var Z=K;K=0;for(var X=67108863&H,ae=Math.min(V,h.length-1),ie=Math.max(0,V-t.length+1);ie<=ae;ie++){var ce=V-ie,Y=(0|t.words[ce])*(0|h.words[ie]),ne=67108863&Y;X=67108863&(ne=ne+X|0),K+=(Z=(Z=Z+(Y/67108864|0)|0)+(ne>>>26)|0)>>>26,Z&=67108863}M.words[V]=X,H=Z,Z=K}return H!==0?M.words[V]=H:M.length--,M.strip()}(this,e,a):U(this,e,a),o},$.prototype.makeRBT=function(e){for(var a=new Array(e),o=p.prototype._countBits(e)-1,r=0;r<e;r++)a[r]=this.revBin(r,o,e);return a},$.prototype.revBin=function(e,a,o){if(e===0||e===o-1)return e;for(var r=0,t=0;t<a;t++)r|=(1&e)<<a-t-1,e>>=1;return r},$.prototype.permute=function(e,a,o,r,t,h){for(var M=0;M<h;M++)r[M]=a[e[M]],t[M]=o[e[M]]},$.prototype.transform=function(e,a,o,r,t,h){this.permute(h,e,a,o,r,t);for(var M=1;M<t;M<<=1)for(var H=M<<1,K=Math.cos(2*Math.PI/H),V=Math.sin(2*Math.PI/H),Z=0;Z<t;Z+=H)for(var X=K,ae=V,ie=0;ie<M;ie++){var ce=o[Z+ie],Y=r[Z+ie],ne=o[Z+ie+M],J=r[Z+ie+M],ee=X*ne-ae*J;J=X*J+ae*ne,ne=ee,o[Z+ie]=ce+ne,r[Z+ie]=Y+J,o[Z+ie+M]=ce-ne,r[Z+ie+M]=Y-J,ie!==H&&(ee=K*X-V*ae,ae=K*ae+V*X,X=ee)}},$.prototype.guessLen13b=function(e,a){var o=1|Math.max(a,e),r=1&o,t=0;for(o=o/2|0;o;o>>>=1)t++;return 1<<t+1+r},$.prototype.conjugate=function(e,a,o){if(!(o<=1))for(var r=0;r<o/2;r++){var t=e[r];e[r]=e[o-r-1],e[o-r-1]=t,t=a[r],a[r]=-a[o-r-1],a[o-r-1]=-t}},$.prototype.normalize13b=function(e,a){for(var o=0,r=0;r<a/2;r++){var t=8192*Math.round(e[2*r+1]/a)+Math.round(e[2*r]/a)+o;e[r]=67108863&t,o=t<67108864?0:t/67108864|0}return e},$.prototype.convert13b=function(e,a,o,r){for(var t=0,h=0;h<a;h++)t+=0|e[h],o[2*h]=8191&t,t>>>=13,o[2*h+1]=8191&t,t>>>=13;for(h=2*a;h<r;++h)o[h]=0;O(t===0),O(!(-8192&t))},$.prototype.stub=function(e){for(var a=new Array(e),o=0;o<e;o++)a[o]=0;return a},$.prototype.mulp=function(e,a,o){var r=2*this.guessLen13b(e.length,a.length),t=this.makeRBT(r),h=this.stub(r),M=new Array(r),H=new Array(r),K=new Array(r),V=new Array(r),Z=new Array(r),X=new Array(r),ae=o.words;ae.length=r,this.convert13b(e.words,e.length,M,r),this.convert13b(a.words,a.length,V,r),this.transform(M,h,H,K,r,t),this.transform(V,h,Z,X,r,t);for(var ie=0;ie<r;ie++){var ce=H[ie]*Z[ie]-K[ie]*X[ie];K[ie]=H[ie]*X[ie]+K[ie]*Z[ie],H[ie]=ce}return this.conjugate(H,K,r),this.transform(H,K,ae,h,r,t),this.conjugate(ae,h,r),this.normalize13b(ae,r),o.negative=e.negative^a.negative,o.length=e.length+a.length,o.strip()},p.prototype.mul=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),this.mulTo(e,a)},p.prototype.mulf=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),U(this,e,a)},p.prototype.imul=function(e){return this.clone().mulTo(e,this)},p.prototype.imuln=function(e){O(typeof e=="number"),O(e<67108864);for(var a=0,o=0;o<this.length;o++){var r=(0|this.words[o])*e,t=(67108863&r)+(67108863&a);a>>=26,a+=r/67108864|0,a+=t>>>26,this.words[o]=67108863&t}return a!==0&&(this.words[o]=a,this.length++),this},p.prototype.muln=function(e){return this.clone().imuln(e)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(e){var a=function(h){for(var M=new Array(h.bitLength()),H=0;H<M.length;H++){var K=H/26|0,V=H%26;M[H]=(h.words[K]&1<<V)>>>V}return M}(e);if(a.length===0)return new p(1);for(var o=this,r=0;r<a.length&&a[r]===0;r++,o=o.sqr());if(++r<a.length)for(var t=o.sqr();r<a.length;r++,t=t.sqr())a[r]!==0&&(o=o.mul(t));return o},p.prototype.iushln=function(e){O(typeof e=="number"&&e>=0);var a,o=e%26,r=(e-o)/26,t=67108863>>>26-o<<26-o;if(o!==0){var h=0;for(a=0;a<this.length;a++){var M=this.words[a]&t,H=(0|this.words[a])-M<<o;this.words[a]=H|h,h=M>>>26-o}h&&(this.words[a]=h,this.length++)}if(r!==0){for(a=this.length-1;a>=0;a--)this.words[a+r]=this.words[a];for(a=0;a<r;a++)this.words[a]=0;this.length+=r}return this.strip()},p.prototype.ishln=function(e){return O(this.negative===0),this.iushln(e)},p.prototype.iushrn=function(e,a,o){var r;O(typeof e=="number"&&e>=0),r=a?(a-a%26)/26:0;var t=e%26,h=Math.min((e-t)/26,this.length),M=67108863^67108863>>>t<<t,H=o;if(r-=h,r=Math.max(0,r),H){for(var K=0;K<h;K++)H.words[K]=this.words[K];H.length=h}if(h!==0)if(this.length>h)for(this.length-=h,K=0;K<this.length;K++)this.words[K]=this.words[K+h];else this.words[0]=0,this.length=1;var V=0;for(K=this.length-1;K>=0&&(V!==0||K>=r);K--){var Z=0|this.words[K];this.words[K]=V<<26-t|Z>>>t,V=Z&M}return H&&V!==0&&(H.words[H.length++]=V),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},p.prototype.ishrn=function(e,a,o){return O(this.negative===0),this.iushrn(e,a,o)},p.prototype.shln=function(e){return this.clone().ishln(e)},p.prototype.ushln=function(e){return this.clone().iushln(e)},p.prototype.shrn=function(e){return this.clone().ishrn(e)},p.prototype.ushrn=function(e){return this.clone().iushrn(e)},p.prototype.testn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26,r=1<<a;return!(this.length<=o||!(this.words[o]&r))},p.prototype.imaskn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(a!==0&&o++,this.length=Math.min(o,this.length),a!==0){var r=67108863^67108863>>>a<<a;this.words[this.length-1]&=r}return this.strip()},p.prototype.maskn=function(e){return this.clone().imaskn(e)},p.prototype.iaddn=function(e){return O(typeof e=="number"),O(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},p.prototype._iaddn=function(e){this.words[0]+=e;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},p.prototype.isubn=function(e){if(O(typeof e=="number"),O(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},p.prototype.addn=function(e){return this.clone().iaddn(e)},p.prototype.subn=function(e){return this.clone().isubn(e)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(e,a,o){var r,t,h=e.length+o;this._expand(h);var M=0;for(r=0;r<e.length;r++){t=(0|this.words[r+o])+M;var H=(0|e.words[r])*a;M=((t-=67108863&H)>>26)-(H/67108864|0),this.words[r+o]=67108863&t}for(;r<this.length-o;r++)M=(t=(0|this.words[r+o])+M)>>26,this.words[r+o]=67108863&t;if(M===0)return this.strip();for(O(M===-1),M=0,r=0;r<this.length;r++)M=(t=-(0|this.words[r])+M)>>26,this.words[r]=67108863&t;return this.negative=1,this.strip()},p.prototype._wordDiv=function(e,a){var o=(this.length,e.length),r=this.clone(),t=e,h=0|t.words[t.length-1];(o=26-this._countBits(h))!=0&&(t=t.ushln(o),r.iushln(o),h=0|t.words[t.length-1]);var M,H=r.length-t.length;if(a!=="mod"){(M=new p(null)).length=H+1,M.words=new Array(M.length);for(var K=0;K<M.length;K++)M.words[K]=0}var V=r.clone()._ishlnsubmul(t,1,H);V.negative===0&&(r=V,M&&(M.words[H]=1));for(var Z=H-1;Z>=0;Z--){var X=67108864*(0|r.words[t.length+Z])+(0|r.words[t.length+Z-1]);for(X=Math.min(X/h|0,67108863),r._ishlnsubmul(t,X,Z);r.negative!==0;)X--,r.negative=0,r._ishlnsubmul(t,1,Z),r.isZero()||(r.negative^=1);M&&(M.words[Z]=X)}return M&&M.strip(),r.strip(),a!=="div"&&o!==0&&r.iushrn(o),{div:M||null,mod:r}},p.prototype.divmod=function(e,a,o){return O(!e.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&e.negative===0?(h=this.neg().divmod(e,a),a!=="mod"&&(r=h.div.neg()),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.iadd(e)),{div:r,mod:t}):this.negative===0&&e.negative!==0?(h=this.divmod(e.neg(),a),a!=="mod"&&(r=h.div.neg()),{div:r,mod:h.mod}):this.negative&e.negative?(h=this.neg().divmod(e.neg(),a),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.isub(e)),{div:h.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new p(0),mod:this}:e.length===1?a==="div"?{div:this.divn(e.words[0]),mod:null}:a==="mod"?{div:null,mod:new p(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new p(this.modn(e.words[0]))}:this._wordDiv(e,a);var r,t,h},p.prototype.div=function(e){return this.divmod(e,"div",!1).div},p.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},p.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},p.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var o=a.div.negative!==0?a.mod.isub(e):a.mod,r=e.ushrn(1),t=e.andln(1),h=o.cmp(r);return h<0||t===1&&h===0?a.div:a.div.negative!==0?a.div.isubn(1):a.div.iaddn(1)},p.prototype.modn=function(e){O(e<=67108863);for(var a=67108864%e,o=0,r=this.length-1;r>=0;r--)o=(a*o+(0|this.words[r]))%e;return o},p.prototype.idivn=function(e){O(e<=67108863);for(var a=0,o=this.length-1;o>=0;o--){var r=(0|this.words[o])+67108864*a;this.words[o]=r/e|0,a=r%e}return this.strip()},p.prototype.divn=function(e){return this.clone().idivn(e)},p.prototype.egcd=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r=new p(1),t=new p(0),h=new p(0),M=new p(1),H=0;a.isEven()&&o.isEven();)a.iushrn(1),o.iushrn(1),++H;for(var K=o.clone(),V=a.clone();!a.isZero();){for(var Z=0,X=1;!(a.words[0]&X)&&Z<26;++Z,X<<=1);if(Z>0)for(a.iushrn(Z);Z-- >0;)(r.isOdd()||t.isOdd())&&(r.iadd(K),t.isub(V)),r.iushrn(1),t.iushrn(1);for(var ae=0,ie=1;!(o.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(o.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(K),M.isub(V)),h.iushrn(1),M.iushrn(1);a.cmp(o)>=0?(a.isub(o),r.isub(h),t.isub(M)):(o.isub(a),h.isub(r),M.isub(t))}return{a:h,b:M,gcd:o.iushln(H)}},p.prototype._invmp=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r,t=new p(1),h=new p(0),M=o.clone();a.cmpn(1)>0&&o.cmpn(1)>0;){for(var H=0,K=1;!(a.words[0]&K)&&H<26;++H,K<<=1);if(H>0)for(a.iushrn(H);H-- >0;)t.isOdd()&&t.iadd(M),t.iushrn(1);for(var V=0,Z=1;!(o.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(o.iushrn(V);V-- >0;)h.isOdd()&&h.iadd(M),h.iushrn(1);a.cmp(o)>=0?(a.isub(o),t.isub(h)):(o.isub(a),h.isub(t))}return(r=a.cmpn(1)===0?t:h).cmpn(0)<0&&r.iadd(e),r},p.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),o=e.clone();a.negative=0,o.negative=0;for(var r=0;a.isEven()&&o.isEven();r++)a.iushrn(1),o.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;o.isEven();)o.iushrn(1);var t=a.cmp(o);if(t<0){var h=a;a=o,o=h}else if(t===0||o.cmpn(1)===0)break;a.isub(o)}return o.iushln(r)},p.prototype.invm=function(e){return this.egcd(e).a.umod(e)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(e){return this.words[0]&e},p.prototype.bincn=function(e){O(typeof e=="number");var a=e%26,o=(e-a)/26,r=1<<a;if(this.length<=o)return this._expand(o+1),this.words[o]|=r,this;for(var t=r,h=o;t!==0&&h<this.length;h++){var M=0|this.words[h];t=(M+=t)>>>26,M&=67108863,this.words[h]=M}return t!==0&&(this.words[h]=t,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(e){var a,o=e<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;if(this.strip(),this.length>1)a=1;else{o&&(e=-e),O(e<=67108863,"Number is too big");var r=0|this.words[0];a=r===e?0:r<e?-1:1}return this.negative!==0?0|-a:a},p.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var a=this.ucmp(e);return this.negative!==0?0|-a:a},p.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var a=0,o=this.length-1;o>=0;o--){var r=0|this.words[o],t=0|e.words[o];if(r!==t){r<t?a=-1:r>t&&(a=1);break}}return a},p.prototype.gtn=function(e){return this.cmpn(e)===1},p.prototype.gt=function(e){return this.cmp(e)===1},p.prototype.gten=function(e){return this.cmpn(e)>=0},p.prototype.gte=function(e){return this.cmp(e)>=0},p.prototype.ltn=function(e){return this.cmpn(e)===-1},p.prototype.lt=function(e){return this.cmp(e)===-1},p.prototype.lten=function(e){return this.cmpn(e)<=0},p.prototype.lte=function(e){return this.cmp(e)<=0},p.prototype.eqn=function(e){return this.cmpn(e)===0},p.prototype.eq=function(e){return this.cmp(e)===0},p.red=function(e){return new ue(e)},p.prototype.toRed=function(e){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(e){return this.red=e,this},p.prototype.forceRed=function(e){return O(!this.red,"Already a number in reduction context"),this._forceRed(e)},p.prototype.redAdd=function(e){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},p.prototype.redIAdd=function(e){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},p.prototype.redSub=function(e){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},p.prototype.redISub=function(e){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},p.prototype.redShl=function(e){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},p.prototype.redMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},p.prototype.redIMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(e){return O(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var P={k256:null,p224:null,p192:null,p25519:null};function W(e,a){this.name=e,this.p=new p(a,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function te(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function se(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(e){if(typeof e=="string"){var a=p._prime(e);this.m=a.p,this.prime=a}else O(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function de(e){ue.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W.prototype._tmp=function(){var e=new p(null);return e.words=new Array(Math.ceil(this.n/13)),e},W.prototype.ireduce=function(e){var a,o=e;do this.split(o,this.tmp),a=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(a>this.n);var r=a<this.n?-1:o.ucmp(this.p);return r===0?(o.words[0]=0,o.length=1):r>0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},W.prototype.split=function(e,a){e.iushrn(this.n,0,a)},W.prototype.imulK=function(e){return e.imul(this.k)},q(G,W),G.prototype.split=function(e,a){for(var o=4194303,r=Math.min(e.length,9),t=0;t<r;t++)a.words[t]=e.words[t];if(a.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var h=e.words[9];for(a.words[a.length++]=h&o,t=10;t<e.length;t++){var M=0|e.words[t];e.words[t-10]=(M&o)<<4|h>>>22,h=M}h>>>=22,e.words[t-10]=h,h===0&&e.length>10?e.length-=10:e.length-=9},G.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,o=0;o<e.length;o++){var r=0|e.words[o];a+=977*r,e.words[o]=67108863&a,a=64*r+(a/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},q(Q,W),q(te,W),q(se,W),se.prototype.imulK=function(e){for(var a=0,o=0;o<e.length;o++){var r=19*(0|e.words[o])+a,t=67108863&r;r>>>=26,e.words[o]=t,a=r}return a!==0&&(e.words[e.length++]=a),e},p._prime=function(e){if(P[e])return P[e];var a;if(e==="k256")a=new G;else if(e==="p224")a=new Q;else if(e==="p192")a=new te;else{if(e!=="p25519")throw new Error("Unknown prime "+e);a=new se}return P[e]=a,a},ue.prototype._verify1=function(e){O(e.negative===0,"red works only with positives"),O(e.red,"red works only with red numbers")},ue.prototype._verify2=function(e,a){O(!(e.negative|a.negative),"red works only with positives"),O(e.red&&e.red===a.red,"red works only with red numbers")},ue.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},ue.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},ue.prototype.add=function(e,a){this._verify2(e,a);var o=e.add(a);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},ue.prototype.iadd=function(e,a){this._verify2(e,a);var o=e.iadd(a);return o.cmp(this.m)>=0&&o.isub(this.m),o},ue.prototype.sub=function(e,a){this._verify2(e,a);var o=e.sub(a);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},ue.prototype.isub=function(e,a){this._verify2(e,a);var o=e.isub(a);return o.cmpn(0)<0&&o.iadd(this.m),o},ue.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},ue.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},ue.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},ue.prototype.isqr=function(e){return this.imul(e,e.clone())},ue.prototype.sqr=function(e){return this.mul(e,e)},ue.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(O(a%2==1),a===3){var o=this.m.add(new p(1)).iushrn(2);return this.pow(e,o)}for(var r=this.m.subn(1),t=0;!r.isZero()&&r.andln(1)===0;)t++,r.iushrn(1);O(!r.isZero());var h=new p(1).toRed(this),M=h.redNeg(),H=this.m.subn(1).iushrn(1),K=this.m.bitLength();for(K=new p(2*K*K).toRed(this);this.pow(K,H).cmp(M)!==0;)K.redIAdd(M);for(var V=this.pow(K,r),Z=this.pow(e,r.addn(1).iushrn(1)),X=this.pow(e,r),ae=t;X.cmp(h)!==0;){for(var ie=X,ce=0;ie.cmp(h)!==0;ce++)ie=ie.redSqr();O(ce<ae);var Y=this.pow(V,new p(1).iushln(ae-ce-1));Z=Z.redMul(Y),V=Y.redSqr(),X=X.redMul(V),ae=ce}return Z},ue.prototype.invm=function(e){var a=e._invmp(this.m);return a.negative!==0?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ue.prototype.pow=function(e,a){if(a.isZero())return new p(1).toRed(this);if(a.cmpn(1)===0)return e.clone();var o=new Array(16);o[0]=new p(1).toRed(this),o[1]=e;for(var r=2;r<o.length;r++)o[r]=this.mul(o[r-1],e);var t=o[0],h=0,M=0,H=a.bitLength()%26;for(H===0&&(H=26),r=a.length-1;r>=0;r--){for(var K=a.words[r],V=H-1;V>=0;V--){var Z=K>>V&1;t!==o[0]&&(t=this.sqr(t)),Z!==0||h!==0?(h<<=1,h|=Z,(++M==4||r===0&&V===0)&&(t=this.mul(t,o[h]),M=0,h=0)):M=0}H=26}return t},ue.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},ue.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},p.mont=function(e){return new de(e)},q(de,ue),de.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},de.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},de.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var o=e.imul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new p(0)._forceRed(this);var o=e.mul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},2356:(F,v,d)=>{var T=d(462),A=d(2861).Buffer,O=d(6168),q=d(6698),p=d(5892),j=d(295),w=d(5122);function S(_,N,I,b){O.call(this);var B=A.alloc(4,0);this._cipher=new T.AES(N);var D=this._cipher.encryptBlock(B);this._ghash=new p(D),I=function(U,$,P){if($.length===12)return U._finID=A.concat([$,A.from([0,0,0,1])]),A.concat([$,A.from([0,0,0,2])]);var W=new p(P),G=$.length,Q=G%16;W.update($),Q&&(Q=16-Q,W.update(A.alloc(Q,0))),W.update(A.alloc(8,0));var te=8*G,se=A.alloc(8);se.writeUIntBE(te,0,8),W.update(se),U._finID=W.state;var ue=A.from(U._finID);return w(ue),ue}(this,I,D),this._prev=A.from(I),this._cache=A.allocUnsafe(0),this._secCache=A.allocUnsafe(0),this._decrypt=b,this._alen=0,this._len=0,this._mode=_,this._authTag=null,this._called=!1}q(S,O),S.prototype._update=function(_){if(!this._called&&this._alen){var N=16-this._alen%16;N<16&&(N=A.alloc(N,0),this._ghash.update(N))}this._called=!0;var I=this._mode.encrypt(this,_);return this._decrypt?this._ghash.update(_):this._ghash.update(I),this._len+=_.length,I},S.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var _=j(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(N,I){var b=0;N.length!==I.length&&b++;for(var B=Math.min(N.length,I.length),D=0;D<B;++D)b+=N[D]^I[D];return b}(_,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=_,this._cipher.scrub()},S.prototype.getAuthTag=function(){if(this._decrypt||!A.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},S.prototype.setAuthTag=function(_){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=_},S.prototype.setAAD=function(_){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(_),this._alen+=_.length},F.exports=S},2438:(F,v)=>{v["des-ecb"]={key:8,iv:0},v["des-cbc"]=v.des={key:8,iv:8},v["des-ede3-cbc"]=v.des3={key:24,iv:8},v["des-ede3"]={key:24,iv:0},v["des-ede-cbc"]={key:16,iv:8},v["des-ede"]={key:16,iv:0}},2455:(F,v,d)=>{var T,A=d(5606);T=d.g.process&&d.g.process.browser?"utf-8":d.g.process&&d.g.process.version?parseInt(A.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary":"utf-8",F.exports=T},2464:(F,v,d)=>{var T=d(8452),A=d(6642);F.exports=function(){var O=A();return T(Number,{isNaN:O},{isNaN:function(){return Number.isNaN!==O}}),O}},2509:function(F,v,d){(function(T,A){function O(e,a){if(!e)throw new Error(a||"Assertion failed")}function q(e,a){e.super_=a;var o=function(){};o.prototype=a.prototype,e.prototype=new o,e.prototype.constructor=e}function p(e,a,o){if(p.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(a!=="le"&&a!=="be"||(o=a,a=10),this._init(e||0,a||10,o||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(1069).Buffer}catch{}function w(e,a){var o=e.charCodeAt(a);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function S(e,a,o){var r=w(e,o);return o-1>=a&&(r|=w(e,o-1)<<4),r}function _(e,a,o,r){for(var t=0,h=Math.min(e.length,o),M=a;M<h;M++){var H=e.charCodeAt(M)-48;t*=r,t+=H>=49?H-49+10:H>=17?H-17+10:H}return t}p.isBN=function(e){return e instanceof p||e!==null&&typeof e=="object"&&e.constructor.wordSize===p.wordSize&&Array.isArray(e.words)},p.max=function(e,a){return e.cmp(a)>0?e:a},p.min=function(e,a){return e.cmp(a)<0?e:a},p.prototype._init=function(e,a,o){if(typeof e=="number")return this._initNumber(e,a,o);if(typeof e=="object")return this._initArray(e,a,o);a==="hex"&&(a=16),O(a===(0|a)&&a>=2&&a<=36);var r=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(r++,this.negative=1),r<e.length&&(a===16?this._parseHex(e,r,o):(this._parseBase(e,a,r),o==="le"&&this._initArray(this.toArray(),a,o)))},p.prototype._initNumber=function(e,a,o){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(O(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),a,o)},p.prototype._initArray=function(e,a,o){if(O(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h,M=0;if(o==="be")for(r=e.length-1,t=0;r>=0;r-=3)h=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);else if(o==="le")for(r=0,t=0;r<e.length;r+=3)h=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);return this.strip()},p.prototype._parseHex=function(e,a,o){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h=0,M=0;if(o==="be")for(r=e.length-1;r>=a;r-=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;else for(r=(e.length-a)%2==0?a+1:a;r<e.length;r+=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;this.strip()},p.prototype._parseBase=function(e,a,o){this.words=[0],this.length=1;for(var r=0,t=1;t<=67108863;t*=a)r++;r--,t=t/a|0;for(var h=e.length-o,M=h%r,H=Math.min(h,h-M)+o,K=0,V=o;V<H;V+=r)K=_(e,V,V+r,a),this.imuln(t),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K);if(M!==0){var Z=1;for(K=_(e,V,e.length,a),V=0;V<M;V++)Z*=a;this.imuln(Z),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K)}this.strip()},p.prototype.copy=function(e){e.words=new Array(this.length);for(var a=0;a<this.length;a++)e.words[a]=this.words[a];e.length=this.length,e.negative=this.negative,e.red=this.red},p.prototype.clone=function(){var e=new p(null);return this.copy(e),e},p.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],b=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(e,a,o){o.negative=a.negative^e.negative;var r=e.length+a.length|0;o.length=r,r=r-1|0;var t=0|e.words[0],h=0|a.words[0],M=t*h,H=67108863&M,K=M/67108864|0;o.words[0]=H;for(var V=1;V<r;V++){for(var Z=K>>>26,X=67108863&K,ae=Math.min(V,a.length-1),ie=Math.max(0,V-e.length+1);ie<=ae;ie++){var ce=V-ie|0;Z+=(M=(t=0|e.words[ce])*(h=0|a.words[ie])+X)/67108864|0,X=67108863&M}o.words[V]=0|X,K=0|Z}return K!==0?o.words[V]=0|K:o.length--,o.strip()}p.prototype.toString=function(e,a){var o;if(a=0|a||1,(e=e||10)===16||e==="hex"){o="";for(var r=0,t=0,h=0;h<this.length;h++){var M=this.words[h],H=(16777215&(M<<r|t)).toString(16);t=M>>>24-r&16777215,(r+=2)>=26&&(r-=26,h--),o=t!==0||h!==this.length-1?N[6-H.length]+H+o:H+o}for(t!==0&&(o=t.toString(16)+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(e===(0|e)&&e>=2&&e<=36){var K=I[e],V=b[e];o="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var X=Z.modn(V).toString(e);o=(Z=Z.idivn(V)).isZero()?X+o:N[K-X.length]+X+o}for(this.isZero()&&(o="0"+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},p.prototype.toJSON=function(){return this.toString(16)},p.prototype.toBuffer=function(e,a){return O(j!==void 0),this.toArrayLike(j,e,a)},p.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)},p.prototype.toArrayLike=function(e,a,o){var r=this.byteLength(),t=o||Math.max(1,r);O(r<=t,"byte array longer than desired length"),O(t>0,"Requested array length <= 0"),this.strip();var h,M,H=a==="le",K=new e(t),V=this.clone();if(H){for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[M]=h;for(;M<t;M++)K[M]=0}else{for(M=0;M<t-r;M++)K[M]=0;for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[t-M-1]=h}return K},Math.clz32?p.prototype._countBits=function(e){return 32-Math.clz32(e)}:p.prototype._countBits=function(e){var a=e,o=0;return a>=4096&&(o+=13,a>>>=13),a>=64&&(o+=7,a>>>=7),a>=8&&(o+=4,a>>>=4),a>=2&&(o+=2,a>>>=2),o+a},p.prototype._zeroBits=function(e){if(e===0)return 26;var a=e,o=0;return 8191&a||(o+=13,a>>>=13),127&a||(o+=7,a>>>=7),15&a||(o+=4,a>>>=4),3&a||(o+=2,a>>>=2),1&a||o++,o},p.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;a<this.length;a++){var o=this._zeroBits(this.words[a]);if(e+=o,o!==26)break}return e},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},p.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var a=0;a<e.length;a++)this.words[a]=this.words[a]|e.words[a];return this.strip()},p.prototype.ior=function(e){return O(!(this.negative|e.negative)),this.iuor(e)},p.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},p.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},p.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var o=0;o<a.length;o++)this.words[o]=this.words[o]&e.words[o];return this.length=a.length,this.strip()},p.prototype.iand=function(e){return O(!(this.negative|e.negative)),this.iuand(e)},p.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},p.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},p.prototype.iuxor=function(e){var a,o;this.length>e.length?(a=this,o=e):(a=e,o=this);for(var r=0;r<o.length;r++)this.words[r]=a.words[r]^o.words[r];if(this!==a)for(;r<a.length;r++)this.words[r]=a.words[r];return this.length=a.length,this.strip()},p.prototype.ixor=function(e){return O(!(this.negative|e.negative)),this.iuxor(e)},p.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},p.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},p.prototype.inotn=function(e){O(typeof e=="number"&&e>=0);var a=0|Math.ceil(e/26),o=e%26;this._expand(a),o>0&&a--;for(var r=0;r<a;r++)this.words[r]=67108863&~this.words[r];return o>0&&(this.words[r]=~this.words[r]&67108863>>26-o),this.strip()},p.prototype.notn=function(e){return this.clone().inotn(e)},p.prototype.setn=function(e,a){O(typeof e=="number"&&e>=0);var o=e/26|0,r=e%26;return this._expand(o+1),this.words[o]=a?this.words[o]|1<<r:this.words[o]&~(1<<r),this.strip()},p.prototype.iadd=function(e){var a,o,r;if(this.negative!==0&&e.negative===0)return this.negative=0,a=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,a=this.isub(e),e.negative=1,a._normSign();this.length>e.length?(o=this,r=e):(o=e,r=this);for(var t=0,h=0;h<r.length;h++)a=(0|o.words[h])+(0|r.words[h])+t,this.words[h]=67108863&a,t=a>>>26;for(;t!==0&&h<o.length;h++)a=(0|o.words[h])+t,this.words[h]=67108863&a,t=a>>>26;if(this.length=o.length,t!==0)this.words[this.length]=t,this.length++;else if(o!==this)for(;h<o.length;h++)this.words[h]=o.words[h];return this},p.prototype.add=function(e){var a;return e.negative!==0&&this.negative===0?(e.negative=0,a=this.sub(e),e.negative^=1,a):e.negative===0&&this.negative!==0?(this.negative=0,a=e.sub(this),this.negative=1,a):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},p.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o,r,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(o=this,r=e):(o=e,r=this);for(var h=0,M=0;M<r.length;M++)h=(a=(0|o.words[M])-(0|r.words[M])+h)>>26,this.words[M]=67108863&a;for(;h!==0&&M<o.length;M++)h=(a=(0|o.words[M])+h)>>26,this.words[M]=67108863&a;if(h===0&&M<o.length&&o!==this)for(;M<o.length;M++)this.words[M]=o.words[M];return this.length=Math.max(this.length,M),o!==this&&(this.negative=1),this.strip()},p.prototype.sub=function(e){return this.clone().isub(e)};var D=function(e,a,o){var r,t,h,M=e.words,H=a.words,K=o.words,V=0,Z=0|M[0],X=8191&Z,ae=Z>>>13,ie=0|M[1],ce=8191&ie,Y=ie>>>13,ne=0|M[2],J=8191&ne,ee=ne>>>13,ge=0|M[3],pe=8191&ge,we=ge>>>13,je=0|M[4],Me=8191&je,Ae=je>>>13,Ve=0|M[5],Ie=8191&Ve,Be=Ve>>>13,le=0|M[6],he=8191&le,fe=le>>>13,ve=0|M[7],ye=8191&ve,xe=ve>>>13,Le=0|M[8],Oe=8191&Le,Pe=Le>>>13,wt=0|M[9],Ne=8191&wt,Ue=wt>>>13,It=0|H[0],He=8191&It,Ke=It>>>13,kt=0|H[1],Fe=8191&kt,nt=kt>>>13,_t=0|H[2],$e=8191&_t,tt=_t>>>13,jt=0|H[3],ze=8191&jt,rt=jt>>>13,Dt=0|H[4],Ge=8191&Dt,st=Dt>>>13,Wt=0|H[5],Ze=8191&Wt,ot=Wt>>>13,Zt=0|H[6],Ce=8191&Zt,Xe=Zt>>>13,$t=0|H[7],Je=8191&$t,ht=$t>>>13,Jt=0|H[8],Qe=8191&Jt,lt=Jt>>>13,en=0|H[9],et=8191&en,ft=en>>>13;o.negative=e.negative^a.negative,o.length=19;var Ht=(V+(r=Math.imul(X,He))|0)+((8191&(t=(t=Math.imul(X,Ke))+Math.imul(ae,He)|0))<<13)|0;V=((h=Math.imul(ae,Ke))+(t>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,r=Math.imul(ce,He),t=(t=Math.imul(ce,Ke))+Math.imul(Y,He)|0,h=Math.imul(Y,Ke);var Ut=(V+(r=r+Math.imul(X,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(X,nt)|0)+Math.imul(ae,Fe)|0))<<13)|0;V=((h=h+Math.imul(ae,nt)|0)+(t>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(J,He),t=(t=Math.imul(J,Ke))+Math.imul(ee,He)|0,h=Math.imul(ee,Ke),r=r+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(Y,Fe)|0,h=h+Math.imul(Y,nt)|0;var cn=(V+(r=r+Math.imul(X,$e)|0)|0)+((8191&(t=(t=t+Math.imul(X,tt)|0)+Math.imul(ae,$e)|0))<<13)|0;V=((h=h+Math.imul(ae,tt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,r=Math.imul(pe,He),t=(t=Math.imul(pe,Ke))+Math.imul(we,He)|0,h=Math.imul(we,Ke),r=r+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ee,Fe)|0,h=h+Math.imul(ee,nt)|0,r=r+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,tt)|0)+Math.imul(Y,$e)|0,h=h+Math.imul(Y,tt)|0;var mn=(V+(r=r+Math.imul(X,ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,rt)|0)+Math.imul(ae,ze)|0))<<13)|0;V=((h=h+Math.imul(ae,rt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,r=Math.imul(Me,He),t=(t=Math.imul(Me,Ke))+Math.imul(Ae,He)|0,h=Math.imul(Ae,Ke),r=r+Math.imul(pe,Fe)|0,t=(t=t+Math.imul(pe,nt)|0)+Math.imul(we,Fe)|0,h=h+Math.imul(we,nt)|0,r=r+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,tt)|0)+Math.imul(ee,$e)|0,h=h+Math.imul(ee,tt)|0,r=r+Math.imul(ce,ze)|0,t=(t=t+Math.imul(ce,rt)|0)+Math.imul(Y,ze)|0,h=h+Math.imul(Y,rt)|0;var hn=(V+(r=r+Math.imul(X,Ge)|0)|0)+((8191&(t=(t=t+Math.imul(X,st)|0)+Math.imul(ae,Ge)|0))<<13)|0;V=((h=h+Math.imul(ae,st)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,r=Math.imul(Ie,He),t=(t=Math.imul(Ie,Ke))+Math.imul(Be,He)|0,h=Math.imul(Be,Ke),r=r+Math.imul(Me,Fe)|0,t=(t=t+Math.imul(Me,nt)|0)+Math.imul(Ae,Fe)|0,h=h+Math.imul(Ae,nt)|0,r=r+Math.imul(pe,$e)|0,t=(t=t+Math.imul(pe,tt)|0)+Math.imul(we,$e)|0,h=h+Math.imul(we,tt)|0,r=r+Math.imul(J,ze)|0,t=(t=t+Math.imul(J,rt)|0)+Math.imul(ee,ze)|0,h=h+Math.imul(ee,rt)|0,r=r+Math.imul(ce,Ge)|0,t=(t=t+Math.imul(ce,st)|0)+Math.imul(Y,Ge)|0,h=h+Math.imul(Y,st)|0;var gn=(V+(r=r+Math.imul(X,Ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,ot)|0)+Math.imul(ae,Ze)|0))<<13)|0;V=((h=h+Math.imul(ae,ot)|0)+(t>>>13)|0)+(gn>>>26)|0,gn&=67108863,r=Math.imul(he,He),t=(t=Math.imul(he,Ke))+Math.imul(fe,He)|0,h=Math.imul(fe,Ke),r=r+Math.imul(Ie,Fe)|0,t=(t=t+Math.imul(Ie,nt)|0)+Math.imul(Be,Fe)|0,h=h+Math.imul(Be,nt)|0,r=r+Math.imul(Me,$e)|0,t=(t=t+Math.imul(Me,tt)|0)+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,tt)|0,r=r+Math.imul(pe,ze)|0,t=(t=t+Math.imul(pe,rt)|0)+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,r=r+Math.imul(J,Ge)|0,t=(t=t+Math.imul(J,st)|0)+Math.imul(ee,Ge)|0,h=h+Math.imul(ee,st)|0,r=r+Math.imul(ce,Ze)|0,t=(t=t+Math.imul(ce,ot)|0)+Math.imul(Y,Ze)|0,h=h+Math.imul(Y,ot)|0;var vn=(V+(r=r+Math.imul(X,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(X,Xe)|0)+Math.imul(ae,Ce)|0))<<13)|0;V=((h=h+Math.imul(ae,Xe)|0)+(t>>>13)|0)+(vn>>>26)|0,vn&=67108863,r=Math.imul(ye,He),t=(t=Math.imul(ye,Ke))+Math.imul(xe,He)|0,h=Math.imul(xe,Ke),r=r+Math.imul(he,Fe)|0,t=(t=t+Math.imul(he,nt)|0)+Math.imul(fe,Fe)|0,h=h+Math.imul(fe,nt)|0,r=r+Math.imul(Ie,$e)|0,t=(t=t+Math.imul(Ie,tt)|0)+Math.imul(Be,$e)|0,h=h+Math.imul(Be,tt)|0,r=r+Math.imul(Me,ze)|0,t=(t=t+Math.imul(Me,rt)|0)+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,r=r+Math.imul(pe,Ge)|0,t=(t=t+Math.imul(pe,st)|0)+Math.imul(we,Ge)|0,h=h+Math.imul(we,st)|0,r=r+Math.imul(J,Ze)|0,t=(t=t+Math.imul(J,ot)|0)+Math.imul(ee,Ze)|0,h=h+Math.imul(ee,ot)|0,r=r+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Xe)|0)+Math.imul(Y,Ce)|0,h=h+Math.imul(Y,Xe)|0;var yn=(V+(r=r+Math.imul(X,Je)|0)|0)+((8191&(t=(t=t+Math.imul(X,ht)|0)+Math.imul(ae,Je)|0))<<13)|0;V=((h=h+Math.imul(ae,ht)|0)+(t>>>13)|0)+(yn>>>26)|0,yn&=67108863,r=Math.imul(Oe,He),t=(t=Math.imul(Oe,Ke))+Math.imul(Pe,He)|0,h=Math.imul(Pe,Ke),r=r+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(xe,Fe)|0,h=h+Math.imul(xe,nt)|0,r=r+Math.imul(he,$e)|0,t=(t=t+Math.imul(he,tt)|0)+Math.imul(fe,$e)|0,h=h+Math.imul(fe,tt)|0,r=r+Math.imul(Ie,ze)|0,t=(t=t+Math.imul(Ie,rt)|0)+Math.imul(Be,ze)|0,h=h+Math.imul(Be,rt)|0,r=r+Math.imul(Me,Ge)|0,t=(t=t+Math.imul(Me,st)|0)+Math.imul(Ae,Ge)|0,h=h+Math.imul(Ae,st)|0,r=r+Math.imul(pe,Ze)|0,t=(t=t+Math.imul(pe,ot)|0)+Math.imul(we,Ze)|0,h=h+Math.imul(we,ot)|0,r=r+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Xe)|0)+Math.imul(ee,Ce)|0,h=h+Math.imul(ee,Xe)|0,r=r+Math.imul(ce,Je)|0,t=(t=t+Math.imul(ce,ht)|0)+Math.imul(Y,Je)|0,h=h+Math.imul(Y,ht)|0;var bn=(V+(r=r+Math.imul(X,Qe)|0)|0)+((8191&(t=(t=t+Math.imul(X,lt)|0)+Math.imul(ae,Qe)|0))<<13)|0;V=((h=h+Math.imul(ae,lt)|0)+(t>>>13)|0)+(bn>>>26)|0,bn&=67108863,r=Math.imul(Ne,He),t=(t=Math.imul(Ne,Ke))+Math.imul(Ue,He)|0,h=Math.imul(Ue,Ke),r=r+Math.imul(Oe,Fe)|0,t=(t=t+Math.imul(Oe,nt)|0)+Math.imul(Pe,Fe)|0,h=h+Math.imul(Pe,nt)|0,r=r+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,tt)|0)+Math.imul(xe,$e)|0,h=h+Math.imul(xe,tt)|0,r=r+Math.imul(he,ze)|0,t=(t=t+Math.imul(he,rt)|0)+Math.imul(fe,ze)|0,h=h+Math.imul(fe,rt)|0,r=r+Math.imul(Ie,Ge)|0,t=(t=t+Math.imul(Ie,st)|0)+Math.imul(Be,Ge)|0,h=h+Math.imul(Be,st)|0,r=r+Math.imul(Me,Ze)|0,t=(t=t+Math.imul(Me,ot)|0)+Math.imul(Ae,Ze)|0,h=h+Math.imul(Ae,ot)|0,r=r+Math.imul(pe,Ce)|0,t=(t=t+Math.imul(pe,Xe)|0)+Math.imul(we,Ce)|0,h=h+Math.imul(we,Xe)|0,r=r+Math.imul(J,Je)|0,t=(t=t+Math.imul(J,ht)|0)+Math.imul(ee,Je)|0,h=h+Math.imul(ee,ht)|0,r=r+Math.imul(ce,Qe)|0,t=(t=t+Math.imul(ce,lt)|0)+Math.imul(Y,Qe)|0,h=h+Math.imul(Y,lt)|0;var ln=(V+(r=r+Math.imul(X,et)|0)|0)+((8191&(t=(t=t+Math.imul(X,ft)|0)+Math.imul(ae,et)|0))<<13)|0;V=((h=h+Math.imul(ae,ft)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,r=Math.imul(Ne,Fe),t=(t=Math.imul(Ne,nt))+Math.imul(Ue,Fe)|0,h=Math.imul(Ue,nt),r=r+Math.imul(Oe,$e)|0,t=(t=t+Math.imul(Oe,tt)|0)+Math.imul(Pe,$e)|0,h=h+Math.imul(Pe,tt)|0,r=r+Math.imul(ye,ze)|0,t=(t=t+Math.imul(ye,rt)|0)+Math.imul(xe,ze)|0,h=h+Math.imul(xe,rt)|0,r=r+Math.imul(he,Ge)|0,t=(t=t+Math.imul(he,st)|0)+Math.imul(fe,Ge)|0,h=h+Math.imul(fe,st)|0,r=r+Math.imul(Ie,Ze)|0,t=(t=t+Math.imul(Ie,ot)|0)+Math.imul(Be,Ze)|0,h=h+Math.imul(Be,ot)|0,r=r+Math.imul(Me,Ce)|0,t=(t=t+Math.imul(Me,Xe)|0)+Math.imul(Ae,Ce)|0,h=h+Math.imul(Ae,Xe)|0,r=r+Math.imul(pe,Je)|0,t=(t=t+Math.imul(pe,ht)|0)+Math.imul(we,Je)|0,h=h+Math.imul(we,ht)|0,r=r+Math.imul(J,Qe)|0,t=(t=t+Math.imul(J,lt)|0)+Math.imul(ee,Qe)|0,h=h+Math.imul(ee,lt)|0;var wn=(V+(r=r+Math.imul(ce,et)|0)|0)+((8191&(t=(t=t+Math.imul(ce,ft)|0)+Math.imul(Y,et)|0))<<13)|0;V=((h=h+Math.imul(Y,ft)|0)+(t>>>13)|0)+(wn>>>26)|0,wn&=67108863,r=Math.imul(Ne,$e),t=(t=Math.imul(Ne,tt))+Math.imul(Ue,$e)|0,h=Math.imul(Ue,tt),r=r+Math.imul(Oe,ze)|0,t=(t=t+Math.imul(Oe,rt)|0)+Math.imul(Pe,ze)|0,h=h+Math.imul(Pe,rt)|0,r=r+Math.imul(ye,Ge)|0,t=(t=t+Math.imul(ye,st)|0)+Math.imul(xe,Ge)|0,h=h+Math.imul(xe,st)|0,r=r+Math.imul(he,Ze)|0,t=(t=t+Math.imul(he,ot)|0)+Math.imul(fe,Ze)|0,h=h+Math.imul(fe,ot)|0,r=r+Math.imul(Ie,Ce)|0,t=(t=t+Math.imul(Ie,Xe)|0)+Math.imul(Be,Ce)|0,h=h+Math.imul(Be,Xe)|0,r=r+Math.imul(Me,Je)|0,t=(t=t+Math.imul(Me,ht)|0)+Math.imul(Ae,Je)|0,h=h+Math.imul(Ae,ht)|0,r=r+Math.imul(pe,Qe)|0,t=(t=t+Math.imul(pe,lt)|0)+Math.imul(we,Qe)|0,h=h+Math.imul(we,lt)|0;var fn=(V+(r=r+Math.imul(J,et)|0)|0)+((8191&(t=(t=t+Math.imul(J,ft)|0)+Math.imul(ee,et)|0))<<13)|0;V=((h=h+Math.imul(ee,ft)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863,r=Math.imul(Ne,ze),t=(t=Math.imul(Ne,rt))+Math.imul(Ue,ze)|0,h=Math.imul(Ue,rt),r=r+Math.imul(Oe,Ge)|0,t=(t=t+Math.imul(Oe,st)|0)+Math.imul(Pe,Ge)|0,h=h+Math.imul(Pe,st)|0,r=r+Math.imul(ye,Ze)|0,t=(t=t+Math.imul(ye,ot)|0)+Math.imul(xe,Ze)|0,h=h+Math.imul(xe,ot)|0,r=r+Math.imul(he,Ce)|0,t=(t=t+Math.imul(he,Xe)|0)+Math.imul(fe,Ce)|0,h=h+Math.imul(fe,Xe)|0,r=r+Math.imul(Ie,Je)|0,t=(t=t+Math.imul(Ie,ht)|0)+Math.imul(Be,Je)|0,h=h+Math.imul(Be,ht)|0,r=r+Math.imul(Me,Qe)|0,t=(t=t+Math.imul(Me,lt)|0)+Math.imul(Ae,Qe)|0,h=h+Math.imul(Ae,lt)|0;var xn=(V+(r=r+Math.imul(pe,et)|0)|0)+((8191&(t=(t=t+Math.imul(pe,ft)|0)+Math.imul(we,et)|0))<<13)|0;V=((h=h+Math.imul(we,ft)|0)+(t>>>13)|0)+(xn>>>26)|0,xn&=67108863,r=Math.imul(Ne,Ge),t=(t=Math.imul(Ne,st))+Math.imul(Ue,Ge)|0,h=Math.imul(Ue,st),r=r+Math.imul(Oe,Ze)|0,t=(t=t+Math.imul(Oe,ot)|0)+Math.imul(Pe,Ze)|0,h=h+Math.imul(Pe,ot)|0,r=r+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Xe)|0)+Math.imul(xe,Ce)|0,h=h+Math.imul(xe,Xe)|0,r=r+Math.imul(he,Je)|0,t=(t=t+Math.imul(he,ht)|0)+Math.imul(fe,Je)|0,h=h+Math.imul(fe,ht)|0,r=r+Math.imul(Ie,Qe)|0,t=(t=t+Math.imul(Ie,lt)|0)+Math.imul(Be,Qe)|0,h=h+Math.imul(Be,lt)|0;var _n=(V+(r=r+Math.imul(Me,et)|0)|0)+((8191&(t=(t=t+Math.imul(Me,ft)|0)+Math.imul(Ae,et)|0))<<13)|0;V=((h=h+Math.imul(Ae,ft)|0)+(t>>>13)|0)+(_n>>>26)|0,_n&=67108863,r=Math.imul(Ne,Ze),t=(t=Math.imul(Ne,ot))+Math.imul(Ue,Ze)|0,h=Math.imul(Ue,ot),r=r+Math.imul(Oe,Ce)|0,t=(t=t+Math.imul(Oe,Xe)|0)+Math.imul(Pe,Ce)|0,h=h+Math.imul(Pe,Xe)|0,r=r+Math.imul(ye,Je)|0,t=(t=t+Math.imul(ye,ht)|0)+Math.imul(xe,Je)|0,h=h+Math.imul(xe,ht)|0,r=r+Math.imul(he,Qe)|0,t=(t=t+Math.imul(he,lt)|0)+Math.imul(fe,Qe)|0,h=h+Math.imul(fe,lt)|0;var pn=(V+(r=r+Math.imul(Ie,et)|0)|0)+((8191&(t=(t=t+Math.imul(Ie,ft)|0)+Math.imul(Be,et)|0))<<13)|0;V=((h=h+Math.imul(Be,ft)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,r=Math.imul(Ne,Ce),t=(t=Math.imul(Ne,Xe))+Math.imul(Ue,Ce)|0,h=Math.imul(Ue,Xe),r=r+Math.imul(Oe,Je)|0,t=(t=t+Math.imul(Oe,ht)|0)+Math.imul(Pe,Je)|0,h=h+Math.imul(Pe,ht)|0,r=r+Math.imul(ye,Qe)|0,t=(t=t+Math.imul(ye,lt)|0)+Math.imul(xe,Qe)|0,h=h+Math.imul(xe,lt)|0;var Bt=(V+(r=r+Math.imul(he,et)|0)|0)+((8191&(t=(t=t+Math.imul(he,ft)|0)+Math.imul(fe,et)|0))<<13)|0;V=((h=h+Math.imul(fe,ft)|0)+(t>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(Ne,Je),t=(t=Math.imul(Ne,ht))+Math.imul(Ue,Je)|0,h=Math.imul(Ue,ht),r=r+Math.imul(Oe,Qe)|0,t=(t=t+Math.imul(Oe,lt)|0)+Math.imul(Pe,Qe)|0,h=h+Math.imul(Pe,lt)|0;var Pt=(V+(r=r+Math.imul(ye,et)|0)|0)+((8191&(t=(t=t+Math.imul(ye,ft)|0)+Math.imul(xe,et)|0))<<13)|0;V=((h=h+Math.imul(xe,ft)|0)+(t>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(Ne,Qe),t=(t=Math.imul(Ne,lt))+Math.imul(Ue,Qe)|0,h=Math.imul(Ue,lt);var Mn=(V+(r=r+Math.imul(Oe,et)|0)|0)+((8191&(t=(t=t+Math.imul(Oe,ft)|0)+Math.imul(Pe,et)|0))<<13)|0;V=((h=h+Math.imul(Pe,ft)|0)+(t>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var En=(V+(r=Math.imul(Ne,et))|0)+((8191&(t=(t=Math.imul(Ne,ft))+Math.imul(Ue,et)|0))<<13)|0;return V=((h=Math.imul(Ue,ft))+(t>>>13)|0)+(En>>>26)|0,En&=67108863,K[0]=Ht,K[1]=Ut,K[2]=cn,K[3]=mn,K[4]=hn,K[5]=gn,K[6]=vn,K[7]=yn,K[8]=bn,K[9]=ln,K[10]=wn,K[11]=fn,K[12]=xn,K[13]=_n,K[14]=pn,K[15]=Bt,K[16]=Pt,K[17]=Mn,K[18]=En,V!==0&&(K[19]=V,o.length++),o};function U(e,a,o){return new $().mulp(e,a,o)}function $(e,a){this.x=e,this.y=a}Math.imul||(D=B),p.prototype.mulTo=function(e,a){var o,r=this.length+e.length;return o=this.length===10&&e.length===10?D(this,e,a):r<63?B(this,e,a):r<1024?function(t,h,M){M.negative=h.negative^t.negative,M.length=t.length+h.length;for(var H=0,K=0,V=0;V<M.length-1;V++){var Z=K;K=0;for(var X=67108863&H,ae=Math.min(V,h.length-1),ie=Math.max(0,V-t.length+1);ie<=ae;ie++){var ce=V-ie,Y=(0|t.words[ce])*(0|h.words[ie]),ne=67108863&Y;X=67108863&(ne=ne+X|0),K+=(Z=(Z=Z+(Y/67108864|0)|0)+(ne>>>26)|0)>>>26,Z&=67108863}M.words[V]=X,H=Z,Z=K}return H!==0?M.words[V]=H:M.length--,M.strip()}(this,e,a):U(this,e,a),o},$.prototype.makeRBT=function(e){for(var a=new Array(e),o=p.prototype._countBits(e)-1,r=0;r<e;r++)a[r]=this.revBin(r,o,e);return a},$.prototype.revBin=function(e,a,o){if(e===0||e===o-1)return e;for(var r=0,t=0;t<a;t++)r|=(1&e)<<a-t-1,e>>=1;return r},$.prototype.permute=function(e,a,o,r,t,h){for(var M=0;M<h;M++)r[M]=a[e[M]],t[M]=o[e[M]]},$.prototype.transform=function(e,a,o,r,t,h){this.permute(h,e,a,o,r,t);for(var M=1;M<t;M<<=1)for(var H=M<<1,K=Math.cos(2*Math.PI/H),V=Math.sin(2*Math.PI/H),Z=0;Z<t;Z+=H)for(var X=K,ae=V,ie=0;ie<M;ie++){var ce=o[Z+ie],Y=r[Z+ie],ne=o[Z+ie+M],J=r[Z+ie+M],ee=X*ne-ae*J;J=X*J+ae*ne,ne=ee,o[Z+ie]=ce+ne,r[Z+ie]=Y+J,o[Z+ie+M]=ce-ne,r[Z+ie+M]=Y-J,ie!==H&&(ee=K*X-V*ae,ae=K*ae+V*X,X=ee)}},$.prototype.guessLen13b=function(e,a){var o=1|Math.max(a,e),r=1&o,t=0;for(o=o/2|0;o;o>>>=1)t++;return 1<<t+1+r},$.prototype.conjugate=function(e,a,o){if(!(o<=1))for(var r=0;r<o/2;r++){var t=e[r];e[r]=e[o-r-1],e[o-r-1]=t,t=a[r],a[r]=-a[o-r-1],a[o-r-1]=-t}},$.prototype.normalize13b=function(e,a){for(var o=0,r=0;r<a/2;r++){var t=8192*Math.round(e[2*r+1]/a)+Math.round(e[2*r]/a)+o;e[r]=67108863&t,o=t<67108864?0:t/67108864|0}return e},$.prototype.convert13b=function(e,a,o,r){for(var t=0,h=0;h<a;h++)t+=0|e[h],o[2*h]=8191&t,t>>>=13,o[2*h+1]=8191&t,t>>>=13;for(h=2*a;h<r;++h)o[h]=0;O(t===0),O(!(-8192&t))},$.prototype.stub=function(e){for(var a=new Array(e),o=0;o<e;o++)a[o]=0;return a},$.prototype.mulp=function(e,a,o){var r=2*this.guessLen13b(e.length,a.length),t=this.makeRBT(r),h=this.stub(r),M=new Array(r),H=new Array(r),K=new Array(r),V=new Array(r),Z=new Array(r),X=new Array(r),ae=o.words;ae.length=r,this.convert13b(e.words,e.length,M,r),this.convert13b(a.words,a.length,V,r),this.transform(M,h,H,K,r,t),this.transform(V,h,Z,X,r,t);for(var ie=0;ie<r;ie++){var ce=H[ie]*Z[ie]-K[ie]*X[ie];K[ie]=H[ie]*X[ie]+K[ie]*Z[ie],H[ie]=ce}return this.conjugate(H,K,r),this.transform(H,K,ae,h,r,t),this.conjugate(ae,h,r),this.normalize13b(ae,r),o.negative=e.negative^a.negative,o.length=e.length+a.length,o.strip()},p.prototype.mul=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),this.mulTo(e,a)},p.prototype.mulf=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),U(this,e,a)},p.prototype.imul=function(e){return this.clone().mulTo(e,this)},p.prototype.imuln=function(e){O(typeof e=="number"),O(e<67108864);for(var a=0,o=0;o<this.length;o++){var r=(0|this.words[o])*e,t=(67108863&r)+(67108863&a);a>>=26,a+=r/67108864|0,a+=t>>>26,this.words[o]=67108863&t}return a!==0&&(this.words[o]=a,this.length++),this},p.prototype.muln=function(e){return this.clone().imuln(e)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(e){var a=function(h){for(var M=new Array(h.bitLength()),H=0;H<M.length;H++){var K=H/26|0,V=H%26;M[H]=(h.words[K]&1<<V)>>>V}return M}(e);if(a.length===0)return new p(1);for(var o=this,r=0;r<a.length&&a[r]===0;r++,o=o.sqr());if(++r<a.length)for(var t=o.sqr();r<a.length;r++,t=t.sqr())a[r]!==0&&(o=o.mul(t));return o},p.prototype.iushln=function(e){O(typeof e=="number"&&e>=0);var a,o=e%26,r=(e-o)/26,t=67108863>>>26-o<<26-o;if(o!==0){var h=0;for(a=0;a<this.length;a++){var M=this.words[a]&t,H=(0|this.words[a])-M<<o;this.words[a]=H|h,h=M>>>26-o}h&&(this.words[a]=h,this.length++)}if(r!==0){for(a=this.length-1;a>=0;a--)this.words[a+r]=this.words[a];for(a=0;a<r;a++)this.words[a]=0;this.length+=r}return this.strip()},p.prototype.ishln=function(e){return O(this.negative===0),this.iushln(e)},p.prototype.iushrn=function(e,a,o){var r;O(typeof e=="number"&&e>=0),r=a?(a-a%26)/26:0;var t=e%26,h=Math.min((e-t)/26,this.length),M=67108863^67108863>>>t<<t,H=o;if(r-=h,r=Math.max(0,r),H){for(var K=0;K<h;K++)H.words[K]=this.words[K];H.length=h}if(h!==0)if(this.length>h)for(this.length-=h,K=0;K<this.length;K++)this.words[K]=this.words[K+h];else this.words[0]=0,this.length=1;var V=0;for(K=this.length-1;K>=0&&(V!==0||K>=r);K--){var Z=0|this.words[K];this.words[K]=V<<26-t|Z>>>t,V=Z&M}return H&&V!==0&&(H.words[H.length++]=V),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},p.prototype.ishrn=function(e,a,o){return O(this.negative===0),this.iushrn(e,a,o)},p.prototype.shln=function(e){return this.clone().ishln(e)},p.prototype.ushln=function(e){return this.clone().iushln(e)},p.prototype.shrn=function(e){return this.clone().ishrn(e)},p.prototype.ushrn=function(e){return this.clone().iushrn(e)},p.prototype.testn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26,r=1<<a;return!(this.length<=o||!(this.words[o]&r))},p.prototype.imaskn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(a!==0&&o++,this.length=Math.min(o,this.length),a!==0){var r=67108863^67108863>>>a<<a;this.words[this.length-1]&=r}return this.strip()},p.prototype.maskn=function(e){return this.clone().imaskn(e)},p.prototype.iaddn=function(e){return O(typeof e=="number"),O(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},p.prototype._iaddn=function(e){this.words[0]+=e;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},p.prototype.isubn=function(e){if(O(typeof e=="number"),O(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},p.prototype.addn=function(e){return this.clone().iaddn(e)},p.prototype.subn=function(e){return this.clone().isubn(e)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(e,a,o){var r,t,h=e.length+o;this._expand(h);var M=0;for(r=0;r<e.length;r++){t=(0|this.words[r+o])+M;var H=(0|e.words[r])*a;M=((t-=67108863&H)>>26)-(H/67108864|0),this.words[r+o]=67108863&t}for(;r<this.length-o;r++)M=(t=(0|this.words[r+o])+M)>>26,this.words[r+o]=67108863&t;if(M===0)return this.strip();for(O(M===-1),M=0,r=0;r<this.length;r++)M=(t=-(0|this.words[r])+M)>>26,this.words[r]=67108863&t;return this.negative=1,this.strip()},p.prototype._wordDiv=function(e,a){var o=(this.length,e.length),r=this.clone(),t=e,h=0|t.words[t.length-1];(o=26-this._countBits(h))!=0&&(t=t.ushln(o),r.iushln(o),h=0|t.words[t.length-1]);var M,H=r.length-t.length;if(a!=="mod"){(M=new p(null)).length=H+1,M.words=new Array(M.length);for(var K=0;K<M.length;K++)M.words[K]=0}var V=r.clone()._ishlnsubmul(t,1,H);V.negative===0&&(r=V,M&&(M.words[H]=1));for(var Z=H-1;Z>=0;Z--){var X=67108864*(0|r.words[t.length+Z])+(0|r.words[t.length+Z-1]);for(X=Math.min(X/h|0,67108863),r._ishlnsubmul(t,X,Z);r.negative!==0;)X--,r.negative=0,r._ishlnsubmul(t,1,Z),r.isZero()||(r.negative^=1);M&&(M.words[Z]=X)}return M&&M.strip(),r.strip(),a!=="div"&&o!==0&&r.iushrn(o),{div:M||null,mod:r}},p.prototype.divmod=function(e,a,o){return O(!e.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&e.negative===0?(h=this.neg().divmod(e,a),a!=="mod"&&(r=h.div.neg()),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.iadd(e)),{div:r,mod:t}):this.negative===0&&e.negative!==0?(h=this.divmod(e.neg(),a),a!=="mod"&&(r=h.div.neg()),{div:r,mod:h.mod}):this.negative&e.negative?(h=this.neg().divmod(e.neg(),a),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.isub(e)),{div:h.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new p(0),mod:this}:e.length===1?a==="div"?{div:this.divn(e.words[0]),mod:null}:a==="mod"?{div:null,mod:new p(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new p(this.modn(e.words[0]))}:this._wordDiv(e,a);var r,t,h},p.prototype.div=function(e){return this.divmod(e,"div",!1).div},p.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},p.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},p.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var o=a.div.negative!==0?a.mod.isub(e):a.mod,r=e.ushrn(1),t=e.andln(1),h=o.cmp(r);return h<0||t===1&&h===0?a.div:a.div.negative!==0?a.div.isubn(1):a.div.iaddn(1)},p.prototype.modn=function(e){O(e<=67108863);for(var a=67108864%e,o=0,r=this.length-1;r>=0;r--)o=(a*o+(0|this.words[r]))%e;return o},p.prototype.idivn=function(e){O(e<=67108863);for(var a=0,o=this.length-1;o>=0;o--){var r=(0|this.words[o])+67108864*a;this.words[o]=r/e|0,a=r%e}return this.strip()},p.prototype.divn=function(e){return this.clone().idivn(e)},p.prototype.egcd=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r=new p(1),t=new p(0),h=new p(0),M=new p(1),H=0;a.isEven()&&o.isEven();)a.iushrn(1),o.iushrn(1),++H;for(var K=o.clone(),V=a.clone();!a.isZero();){for(var Z=0,X=1;!(a.words[0]&X)&&Z<26;++Z,X<<=1);if(Z>0)for(a.iushrn(Z);Z-- >0;)(r.isOdd()||t.isOdd())&&(r.iadd(K),t.isub(V)),r.iushrn(1),t.iushrn(1);for(var ae=0,ie=1;!(o.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(o.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(K),M.isub(V)),h.iushrn(1),M.iushrn(1);a.cmp(o)>=0?(a.isub(o),r.isub(h),t.isub(M)):(o.isub(a),h.isub(r),M.isub(t))}return{a:h,b:M,gcd:o.iushln(H)}},p.prototype._invmp=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r,t=new p(1),h=new p(0),M=o.clone();a.cmpn(1)>0&&o.cmpn(1)>0;){for(var H=0,K=1;!(a.words[0]&K)&&H<26;++H,K<<=1);if(H>0)for(a.iushrn(H);H-- >0;)t.isOdd()&&t.iadd(M),t.iushrn(1);for(var V=0,Z=1;!(o.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(o.iushrn(V);V-- >0;)h.isOdd()&&h.iadd(M),h.iushrn(1);a.cmp(o)>=0?(a.isub(o),t.isub(h)):(o.isub(a),h.isub(t))}return(r=a.cmpn(1)===0?t:h).cmpn(0)<0&&r.iadd(e),r},p.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),o=e.clone();a.negative=0,o.negative=0;for(var r=0;a.isEven()&&o.isEven();r++)a.iushrn(1),o.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;o.isEven();)o.iushrn(1);var t=a.cmp(o);if(t<0){var h=a;a=o,o=h}else if(t===0||o.cmpn(1)===0)break;a.isub(o)}return o.iushln(r)},p.prototype.invm=function(e){return this.egcd(e).a.umod(e)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(e){return this.words[0]&e},p.prototype.bincn=function(e){O(typeof e=="number");var a=e%26,o=(e-a)/26,r=1<<a;if(this.length<=o)return this._expand(o+1),this.words[o]|=r,this;for(var t=r,h=o;t!==0&&h<this.length;h++){var M=0|this.words[h];t=(M+=t)>>>26,M&=67108863,this.words[h]=M}return t!==0&&(this.words[h]=t,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(e){var a,o=e<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;if(this.strip(),this.length>1)a=1;else{o&&(e=-e),O(e<=67108863,"Number is too big");var r=0|this.words[0];a=r===e?0:r<e?-1:1}return this.negative!==0?0|-a:a},p.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var a=this.ucmp(e);return this.negative!==0?0|-a:a},p.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var a=0,o=this.length-1;o>=0;o--){var r=0|this.words[o],t=0|e.words[o];if(r!==t){r<t?a=-1:r>t&&(a=1);break}}return a},p.prototype.gtn=function(e){return this.cmpn(e)===1},p.prototype.gt=function(e){return this.cmp(e)===1},p.prototype.gten=function(e){return this.cmpn(e)>=0},p.prototype.gte=function(e){return this.cmp(e)>=0},p.prototype.ltn=function(e){return this.cmpn(e)===-1},p.prototype.lt=function(e){return this.cmp(e)===-1},p.prototype.lten=function(e){return this.cmpn(e)<=0},p.prototype.lte=function(e){return this.cmp(e)<=0},p.prototype.eqn=function(e){return this.cmpn(e)===0},p.prototype.eq=function(e){return this.cmp(e)===0},p.red=function(e){return new ue(e)},p.prototype.toRed=function(e){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(e){return this.red=e,this},p.prototype.forceRed=function(e){return O(!this.red,"Already a number in reduction context"),this._forceRed(e)},p.prototype.redAdd=function(e){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},p.prototype.redIAdd=function(e){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},p.prototype.redSub=function(e){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},p.prototype.redISub=function(e){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},p.prototype.redShl=function(e){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},p.prototype.redMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},p.prototype.redIMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(e){return O(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var P={k256:null,p224:null,p192:null,p25519:null};function W(e,a){this.name=e,this.p=new p(a,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function te(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function se(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(e){if(typeof e=="string"){var a=p._prime(e);this.m=a.p,this.prime=a}else O(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function de(e){ue.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W.prototype._tmp=function(){var e=new p(null);return e.words=new Array(Math.ceil(this.n/13)),e},W.prototype.ireduce=function(e){var a,o=e;do this.split(o,this.tmp),a=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(a>this.n);var r=a<this.n?-1:o.ucmp(this.p);return r===0?(o.words[0]=0,o.length=1):r>0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},W.prototype.split=function(e,a){e.iushrn(this.n,0,a)},W.prototype.imulK=function(e){return e.imul(this.k)},q(G,W),G.prototype.split=function(e,a){for(var o=4194303,r=Math.min(e.length,9),t=0;t<r;t++)a.words[t]=e.words[t];if(a.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var h=e.words[9];for(a.words[a.length++]=h&o,t=10;t<e.length;t++){var M=0|e.words[t];e.words[t-10]=(M&o)<<4|h>>>22,h=M}h>>>=22,e.words[t-10]=h,h===0&&e.length>10?e.length-=10:e.length-=9},G.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,o=0;o<e.length;o++){var r=0|e.words[o];a+=977*r,e.words[o]=67108863&a,a=64*r+(a/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},q(Q,W),q(te,W),q(se,W),se.prototype.imulK=function(e){for(var a=0,o=0;o<e.length;o++){var r=19*(0|e.words[o])+a,t=67108863&r;r>>>=26,e.words[o]=t,a=r}return a!==0&&(e.words[e.length++]=a),e},p._prime=function(e){if(P[e])return P[e];var a;if(e==="k256")a=new G;else if(e==="p224")a=new Q;else if(e==="p192")a=new te;else{if(e!=="p25519")throw new Error("Unknown prime "+e);a=new se}return P[e]=a,a},ue.prototype._verify1=function(e){O(e.negative===0,"red works only with positives"),O(e.red,"red works only with red numbers")},ue.prototype._verify2=function(e,a){O(!(e.negative|a.negative),"red works only with positives"),O(e.red&&e.red===a.red,"red works only with red numbers")},ue.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},ue.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},ue.prototype.add=function(e,a){this._verify2(e,a);var o=e.add(a);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},ue.prototype.iadd=function(e,a){this._verify2(e,a);var o=e.iadd(a);return o.cmp(this.m)>=0&&o.isub(this.m),o},ue.prototype.sub=function(e,a){this._verify2(e,a);var o=e.sub(a);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},ue.prototype.isub=function(e,a){this._verify2(e,a);var o=e.isub(a);return o.cmpn(0)<0&&o.iadd(this.m),o},ue.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},ue.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},ue.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},ue.prototype.isqr=function(e){return this.imul(e,e.clone())},ue.prototype.sqr=function(e){return this.mul(e,e)},ue.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(O(a%2==1),a===3){var o=this.m.add(new p(1)).iushrn(2);return this.pow(e,o)}for(var r=this.m.subn(1),t=0;!r.isZero()&&r.andln(1)===0;)t++,r.iushrn(1);O(!r.isZero());var h=new p(1).toRed(this),M=h.redNeg(),H=this.m.subn(1).iushrn(1),K=this.m.bitLength();for(K=new p(2*K*K).toRed(this);this.pow(K,H).cmp(M)!==0;)K.redIAdd(M);for(var V=this.pow(K,r),Z=this.pow(e,r.addn(1).iushrn(1)),X=this.pow(e,r),ae=t;X.cmp(h)!==0;){for(var ie=X,ce=0;ie.cmp(h)!==0;ce++)ie=ie.redSqr();O(ce<ae);var Y=this.pow(V,new p(1).iushln(ae-ce-1));Z=Z.redMul(Y),V=Y.redSqr(),X=X.redMul(V),ae=ce}return Z},ue.prototype.invm=function(e){var a=e._invmp(this.m);return a.negative!==0?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ue.prototype.pow=function(e,a){if(a.isZero())return new p(1).toRed(this);if(a.cmpn(1)===0)return e.clone();var o=new Array(16);o[0]=new p(1).toRed(this),o[1]=e;for(var r=2;r<o.length;r++)o[r]=this.mul(o[r-1],e);var t=o[0],h=0,M=0,H=a.bitLength()%26;for(H===0&&(H=26),r=a.length-1;r>=0;r--){for(var K=a.words[r],V=H-1;V>=0;V--){var Z=K>>V&1;t!==o[0]&&(t=this.sqr(t)),Z!==0||h!==0?(h<<=1,h|=Z,(++M==4||r===0&&V===0)&&(t=this.mul(t,o[h]),M=0,h=0)):M=0}H=26}return t},ue.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},ue.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},p.mont=function(e){return new de(e)},q(de,ue),de.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},de.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},de.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var o=e.imul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new p(0)._forceRed(this);var o=e.mul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},2527:function(F){(function(){F.exports=function(){function v(d){this.arr=d||[]}return Object.defineProperty(v.prototype,"length",{get:function(){return this.arr.length}}),v.prototype.item=function(d){return this.arr[d]||null},v.prototype.contains=function(d){return this.arr.indexOf(d)!==-1},v}()}).call(this)},2535:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;T=d(1737),A=d(7457),F.exports=function(q){function p(j,w){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=T.Text,this.value=this.stringify.text(w)}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),Object.defineProperty(p.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(p.prototype,"wholeText",{get:function(){var j,w,S;for(S="",w=this.previousSibling;w;)S=w.data+S,w=w.previousSibling;for(S+=this.data,j=this.nextSibling;j;)S+=j.data,j=j.nextSibling;return S}}),p.prototype.clone=function(){return Object.create(this)},p.prototype.toString=function(j){return this.options.writer.text(this,this.options.writer.filterOptions(j))},p.prototype.splitText=function(j){throw new Error("This DOM method is not implemented."+this.debugInfo())},p.prototype.replaceWholeText=function(j){throw new Error("This DOM method is not implemented."+this.debugInfo())},p}(A)}).call(this)},2541:(F,v,d)=>{var T=d(8287).Buffer;Object.defineProperty(v,"__esModule",{value:!0}),v.SelectResults=v.RETENTION_VALIDITY_UNITS=v.RETENTION_MODES=v.PART_CONSTRAINTS=v.LEGAL_HOLD_STATUS=v.ENCRYPTION_TYPES=v.DEFAULT_REGION=v.CopySourceOptions=v.CopyDestinationOptions=void 0,v.calculateEvenSplits=function(Y,ne){if(Y===0)return null;const J=ae(Y);ie=new Array(J),ce=new Array(J);let ee=ne.Start;(j.default.isEmpty(ne.Start)||ee===-1)&&(ee=0);const ge=Math.trunc(Y/J),pe=Y%J;let we=ee;for(let je=0;je<J;je++){let Me=ge;je<pe&&Me++;const Ae=we;let Ve=Ae+Me-1;we=Ve+1,ie[je]=Ae,ce[je]=Ve}return{startIndex:ie,endIndex:ce,objInfo:ne}},v.extractMetadata=function(Y){var ne={};for(var J in Y)(t(J)||h(J)||r(J))&&(J.toLowerCase().startsWith("x-amz-meta-")?ne[J.slice(11,J.length)]=Y[J]:ne[J]=Y[J]);return ne},v.getScope=function(Y,ne,J="s3"){return`${o(ne)}/${Y}/${J}/aws4_request`},v.getSourceVersionId=function(Y={}){return Y["x-amz-copy-source-version-id"]||null},v.getVersionId=function(Y={}){return Y["x-amz-version-id"]||null},v.insertContentType=function(Y,ne){for(var J in Y)if(J.toLowerCase()==="content-type")return Y;var ee=Object.assign({},Y);return ee["content-type"]=G(ne),ee},v.isAmazonEndpoint=$,v.isAmzHeader=r,v.isArray=function(Y){return Array.isArray(Y)},v.isBoolean=function(Y){return typeof Y=="boolean"},v.isFunction=de,v.isNumber=ue,v.isObject=a,v.isReadableStream=function(Y){return a(Y)&&de(Y._read)},v.isStorageclassHeader=h,v.isString=e,v.isSupportedHeader=t,v.isValidBucketName=Q,v.isValidDate=function(Y){return Y instanceof Date&&!isNaN(Y)},v.isValidDomain=W,v.isValidEndpoint=function(Y){return W(Y)||P(Y)},v.isValidIP=P,v.isValidObjectName=te,v.isValidPort=function(Y){return!!ue(Y)&&!(Y<0)&&(Y===0||Y>=1&&Y<=65535)},v.isValidPrefix=se,v.isVirtualHostStyle=function(Y,ne,J,ee){return!(ne==="https:"&&J.indexOf(".")>-1)&&($(Y)||!ee)},v.makeDateLong=function(Y){return(Y=(Y=Y||new Date).toISOString()).slice(0,4)+Y.slice(5,7)+Y.slice(8,13)+Y.slice(14,16)+Y.slice(17,19)+"Z"},v.makeDateShort=o,v.partsRequired=v.parseXml=void 0,v.pipesetup=function(...Y){return Y.reduce((ne,J)=>(ne.on("error",ee=>J.emit("error",ee)),ne.pipe(J)))},v.prependXAMZMeta=function(Y){var ne=Object.assign({},Y);for(var J in Y)r(J)||t(J)||h(J)||(ne["X-Amz-Meta-"+J]=ne[J],delete ne[J]);return ne},v.probeContentType=G,v.promisify=function(Y){return function(){if(typeof arguments[arguments.length-1]=="function")return Y.apply(this,arguments);let ne=[...arguments];return new Promise((J,ee)=>{ne.push((ge,pe)=>{if(ge)return ee(ge);J(pe)}),Y.apply(this,ne)})}},v.readableStream=function(Y){var ne=new A.default.Readable;return ne._read=()=>{},ne.push(Y),ne.push(null),ne},v.removeDirAndFiles=function Y(ne,J){J===void 0&&(J=!0);try{var ee=B.readdirSync(ne)}catch{return}if(ee.length>0)for(var ge=0;ge<ee.length;ge++){var pe=D.join(ne,ee[ge]);B.statSync(pe).isFile()?B.unlinkSync(pe):Y(pe)}J&&B.rmdirSync(ne)},v.sanitizeETag=function(Y=""){var ne={'"':"",""":"",""":"",""":"",""":""};return Y.replace(/^("|"|")|("|"|")$/g,J=>ne[J])},v.toSha256=v.toMd5=v.toArray=v.sanitizeObjectKey=void 0,v.uriEscape=U,v.uriResourceEscape=function(Y){return U(Y).replace(/%2F/g,"/")};var A=N(d(8310)),O=N(d(6049)),q=N(d(8513)),p=d(8038),j=N(d(2543)),w=function(Y,ne){if(Y&&Y.__esModule)return Y;if(Y===null||typeof Y!="object"&&typeof Y!="function")return{default:Y};var J=_(ne);if(J&&J.has(Y))return J.get(Y);var ee={},ge=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var pe in Y)if(pe!=="default"&&Object.prototype.hasOwnProperty.call(Y,pe)){var we=ge?Object.getOwnPropertyDescriptor(Y,pe):null;we&&(we.get||we.set)?Object.defineProperty(ee,pe,we):ee[pe]=Y[pe]}return ee.default=Y,J&&J.set(Y,ee),ee}(d(6097)),S=N(d(6663));function _(Y){if(typeof WeakMap!="function")return null;var ne=new WeakMap,J=new WeakMap;return(_=function(ee){return ee?J:ne})(Y)}function N(Y){return Y&&Y.__esModule?Y:{default:Y}}var I=d(1565);const b=d(640),B=d(5479),D=d(7975);function U(Y){return Y.split("").reduce((ne,J)=>{let ee=T.from(J);if(ee.length===1&&("A"<=J&&J<="Z"||"a"<=J&&J<="z"||"0"<=J&&J<="9"||J==="_"||J==="."||J==="~"||J==="-"))return ne+J;for(var ge=0;ge<ee.length;ge++)ne=ne+"%"+ee[ge].toString(16).toUpperCase();return ne},"")}function $(Y){return Y==="s3.amazonaws.com"||Y==="s3.cn-north-1.amazonaws.com.cn"}function P(Y){return b.isValid(Y)}function W(Y){if(!e(Y)||Y.length===0||Y.length>255||Y[0]==="-"||Y.slice(-1)==="-"||Y[0]==="_"||Y.slice(-1)==="_"||Y[0]===".")return!1;var ne="`~!@#$%^&*()+={}[]|\\\"';:><?/".split("");for(var J in ne)if(Y.indexOf(ne[J])>-1)return!1;return!0}function G(Y){let ne=O.default.lookup(Y);return ne||(ne="application/octet-stream"),ne}function Q(Y){return!(!e(Y)||Y.length<3||Y.length>63||Y.indexOf("..")>-1||Y.match(/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/)||!Y.match(/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/))}function te(Y){return!!se(Y)&&Y.length!==0}function se(Y){return!(!e(Y)||Y.length>1024)}function ue(Y){return typeof Y=="number"}function de(Y){return typeof Y=="function"}function e(Y){return typeof Y=="string"}function a(Y){return typeof Y=="object"&&Y!==null}function o(Y){return(Y=(Y=Y||new Date).toISOString()).slice(0,4)+Y.slice(5,7)+Y.slice(8,10)}function r(Y){var ne=Y.toLowerCase();return ne.startsWith("x-amz-meta-")||ne==="x-amz-acl"||ne.startsWith("x-amz-server-side-encryption-")||ne==="x-amz-server-side-encryption"}function t(Y){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].indexOf(Y.toLowerCase())>-1}function h(Y){return Y.toLowerCase()==="x-amz-storage-class"}const M={GOVERNANCE:"GOVERNANCE",COMPLIANCE:"COMPLIANCE"};v.RETENTION_MODES=M,v.RETENTION_VALIDITY_UNITS={DAYS:"Days",YEARS:"Years"},v.LEGAL_HOLD_STATUS={ENABLED:"ON",DISABLED:"OFF"},v.toMd5=Y=>{let ne=(J=>T.from(T.from(J)))(Y);return ne=p.isBrowser?ne.toString():ne,I.createHash("md5").update(ne).digest().toString("base64")},v.toSha256=Y=>I.createHash("sha256").update(Y).digest("hex"),v.toArray=Y=>Array.isArray(Y)?Y:[Y],v.sanitizeObjectKey=Y=>{let ne=(Y||"").replace(/\+/g," ");return decodeURIComponent(ne)};const H={ABS_MIN_PART_SIZE:5242880,MIN_PART_SIZE:16777216,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:5368709120,MAX_SINGLE_PUT_OBJECT_SIZE:5368709120,MAX_MULTIPART_PUT_OBJECT_SIZE:5497558138880};v.PART_CONSTRAINTS=H;const K={SSEC:"SSE-C",KMS:"KMS"};v.ENCRYPTION_TYPES=K;const V="X-Amz-Server-Side-Encryption",Z=V,X=V+"-Aws-Kms-Key-Id";v.CopySourceOptions=class{constructor({Bucket:Y="",Object:ne="",VersionID:J="",MatchETag:ee="",NoMatchETag:ge="",MatchModifiedSince:pe=null,MatchUnmodifiedSince:we=null,MatchRange:je=!1,Start:Me=0,End:Ae=0,Encryption:Ve={}}={}){this.Bucket=Y,this.Object=ne,this.VersionID=J,this.MatchETag=ee,this.NoMatchETag=ge,this.MatchModifiedSince=pe,this.MatchUnmodifiedSince=we,this.MatchRange=je,this.Start=Me,this.End=Ae,this.Encryption=Ve}validate(){if(!Q(this.Bucket))throw new w.InvalidBucketNameError("Invalid Source bucket name: "+this.Bucket);if(!te(this.Object))throw new w.InvalidObjectNameError(`Invalid Source object name: ${this.Object}`);if(this.MatchRange&&this.Start!==-1&&this.End!==-1&&this.Start>this.End||this.Start<0)throw new w.InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!ue(this.Start)||!ue(this.End))throw new w.InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified. ");return!0}getHeaders(){let Y={};return Y["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),j.default.isEmpty(this.VersionID)||(Y["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object)+"?versionId="+this.VersionID),j.default.isEmpty(this.MatchETag)||(Y["x-amz-copy-source-if-match"]=this.MatchETag),j.default.isEmpty(this.NoMatchETag)||(Y["x-amz-copy-source-if-none-match"]=this.NoMatchETag),j.default.isEmpty(this.MatchModifiedSince)||(Y["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),j.default.isEmpty(this.MatchUnmodifiedSince)||(Y["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),Y}},v.CopyDestinationOptions=class{constructor({Bucket:Y="",Object:ne="",Encryption:J=null,UserMetadata:ee=null,UserTags:ge=null,LegalHold:pe=null,RetainUntilDate:we=null,Mode:je=null}){this.Bucket=Y,this.Object=ne,this.Encryption=J,this.UserMetadata=ee,this.UserTags=ge,this.LegalHold=pe,this.Mode=je,this.RetainUntilDate=we}getHeaders(){const Y={},ne=this.UserTags;if(j.default.isEmpty(ne)||(Y["X-Amz-Tagging-Directive"]="REPLACE",Y["X-Amz-Tagging"]=a(ne)?S.default.stringify(ne):e(ne)?ne:""),j.default.isEmpty(this.Mode)||(Y["X-Amz-Object-Lock-Mode"]=this.Mode),j.default.isEmpty(this.RetainUntilDate)||(Y["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),j.default.isEmpty(this.LegalHold)||(Y["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),j.default.isEmpty(this.UserMetadata)||Object.keys(this.UserMetadata).forEach(J=>{Y[`X-Amz-Meta-${J}`]=this.UserMetadata[J]}),!j.default.isEmpty(this.Encryption)){const J=function(ee){const ge=ee.type,pe={};if(!j.default.isEmpty(ge)){if(ge===K.SSEC)return{[pe[Z]]:"AES256"};if(ge===K.KMS)return{[Z]:ee.SSEAlgorithm,[X]:ee.KMSMasterKeyID}}return pe}(this.Encryption);Object.keys(J).forEach(ee=>{Y[ee]=J[ee]})}return Y}validate(){if(!Q(this.Bucket))throw new w.InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!te(this.Object))throw new w.InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!j.default.isEmpty(this.UserMetadata)&&!a(this.UserMetadata))throw new w.InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!j.default.isEmpty(this.Mode)&&![M.GOVERNANCE,M.COMPLIANCE].includes(this.Mode))throw new w.InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(!j.default.isEmpty(this.Encryption)&&j.default.isEmpty(this.Encryption))throw new w.InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}};const ae=Y=>{let ne=H.MAX_MULTIPART_PUT_OBJECT_SIZE/(H.MAX_PARTS_COUNT-1),J=Y/ne;return Y%ne>0&&J++,J=Math.trunc(J),J};v.partsRequired=ae;let ie=[],ce=[];v.parseXml=Y=>{let ne=null;if(ne=q.default.parse(Y),ne.Error)throw ne.Error;return ne},v.SelectResults=class{constructor({records:Y,response:ne,stats:J,progress:ee}){this.records=Y,this.response=ne,this.stats=J,this.progress=ee}setStats(Y){this.stats=Y}getStats(){return this.stats}setProgress(Y){this.progress=Y}getProgress(){return this.progress}setResponse(Y){this.response=Y}getResponse(){return this.response}setRecords(Y){this.records=Y}getRecords(){return this.records}},v.DEFAULT_REGION="us-east-1"},2543:function(F,v,d){var T;F=d.nmd(F),(function(){var A,O="Expected a function",q="__lodash_hash_undefined__",p="__lodash_placeholder__",j=32,w=128,S=1/0,_=9007199254740991,N=NaN,I=4294967295,b=[["ary",w],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",j],["partialRight",64],["rearg",256]],B="[object Arguments]",D="[object Array]",U="[object Boolean]",$="[object Date]",P="[object Error]",W="[object Function]",G="[object GeneratorFunction]",Q="[object Map]",te="[object Number]",se="[object Object]",ue="[object Promise]",de="[object RegExp]",e="[object Set]",a="[object String]",o="[object Symbol]",r="[object WeakMap]",t="[object ArrayBuffer]",h="[object DataView]",M="[object Float32Array]",H="[object Float64Array]",K="[object Int8Array]",V="[object Int16Array]",Z="[object Int32Array]",X="[object Uint8Array]",ae="[object Uint8ClampedArray]",ie="[object Uint16Array]",ce="[object Uint32Array]",Y=/\b__p \+= '';/g,ne=/\b(__p \+=) '' \+/g,J=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ee=/&(?:amp|lt|gt|quot|#39);/g,ge=/[&<>"']/g,pe=RegExp(ee.source),we=RegExp(ge.source),je=/<%-([\s\S]+?)%>/g,Me=/<%([\s\S]+?)%>/g,Ae=/<%=([\s\S]+?)%>/g,Ve=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ie=/^\w*$/,Be=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,le=/[\\^$.*+?()[\]{}|]/g,he=RegExp(le.source),fe=/^\s+/,ve=/\s/,ye=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,xe=/\{\n\/\* \[wrapped with (.+)\] \*/,Le=/,? & /,Oe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pe=/[()=,{}\[\]\/\s]/,wt=/\\(\\)?/g,Ne=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ue=/\w*$/,It=/^[-+]0x[0-9a-f]+$/i,He=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,kt=/^0o[0-7]+$/i,Fe=/^(?:0|[1-9]\d*)$/,nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_t=/($^)/,$e=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ze="\\u2700-\\u27bf",rt="a-z\\xdf-\\xf6\\xf8-\\xff",Dt="A-Z\\xc0-\\xd6\\xd8-\\xde",Ge="\\ufe0e\\ufe0f",st="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Wt="["+tt+"]",Ze="["+st+"]",ot="["+jt+"]",Zt="\\d+",Ce="["+ze+"]",Xe="["+rt+"]",$t="[^"+tt+st+Zt+ze+rt+Dt+"]",Je="\\ud83c[\\udffb-\\udfff]",ht="[^"+tt+"]",Jt="(?:\\ud83c[\\udde6-\\uddff]){2}",Qe="[\\ud800-\\udbff][\\udc00-\\udfff]",lt="["+Dt+"]",en="\\u200d",et="(?:"+Xe+"|"+$t+")",ft="(?:"+lt+"|"+$t+")",Ht="(?:['’](?:d|ll|m|re|s|t|ve))?",Ut="(?:['’](?:D|LL|M|RE|S|T|VE))?",cn="(?:"+ot+"|"+Je+")?",mn="["+Ge+"]?",hn=mn+cn+"(?:"+en+"(?:"+[ht,Jt,Qe].join("|")+")"+mn+cn+")*",gn="(?:"+[Ce,Jt,Qe].join("|")+")"+hn,vn="(?:"+[ht+ot+"?",ot,Jt,Qe,Wt].join("|")+")",yn=RegExp("['’]","g"),bn=RegExp(ot,"g"),ln=RegExp(Je+"(?="+Je+")|"+vn+hn,"g"),wn=RegExp([lt+"?"+Xe+"+"+Ht+"(?="+[Ze,lt,"$"].join("|")+")",ft+"+"+Ut+"(?="+[Ze,lt+et,"$"].join("|")+")",lt+"?"+et+"+"+Ht,lt+"+"+Ut,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zt,gn].join("|"),"g"),fn=RegExp("["+en+tt+jt+Ge+"]"),xn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_n=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],pn=-1,Bt={};Bt[M]=Bt[H]=Bt[K]=Bt[V]=Bt[Z]=Bt[X]=Bt[ae]=Bt[ie]=Bt[ce]=!0,Bt[B]=Bt[D]=Bt[t]=Bt[U]=Bt[h]=Bt[$]=Bt[P]=Bt[W]=Bt[Q]=Bt[te]=Bt[se]=Bt[de]=Bt[e]=Bt[a]=Bt[r]=!1;var Pt={};Pt[B]=Pt[D]=Pt[t]=Pt[h]=Pt[U]=Pt[$]=Pt[M]=Pt[H]=Pt[K]=Pt[V]=Pt[Z]=Pt[Q]=Pt[te]=Pt[se]=Pt[de]=Pt[e]=Pt[a]=Pt[o]=Pt[X]=Pt[ae]=Pt[ie]=Pt[ce]=!0,Pt[P]=Pt[W]=Pt[r]=!1;var Mn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},En=parseFloat,gi=parseInt,_i=typeof d.g=="object"&&d.g&&d.g.Object===Object&&d.g,Ar=typeof self=="object"&&self&&self.Object===Object&&self,Ln=_i||Ar||Function("return this")(),hr=v&&!v.nodeType&&v,Ri=hr&&F&&!F.nodeType&&F,Ci=Ri&&Ri.exports===hr,Ji=Ci&&_i.process,Zn=function(){try{return Ri&&Ri.require&&Ri.require("util").types||Ji&&Ji.binding&&Ji.binding("util")}catch{}}(),Tr=Zn&&Zn.isArrayBuffer,Te=Zn&&Zn.isDate,Ee=Zn&&Zn.isMap,Se=Zn&&Zn.isRegExp,qe=Zn&&Zn.isSet,at=Zn&&Zn.isTypedArray;function We(it,mt,vt){switch(vt.length){case 0:return it.call(mt);case 1:return it.call(mt,vt[0]);case 2:return it.call(mt,vt[0],vt[1]);case 3:return it.call(mt,vt[0],vt[1],vt[2])}return it.apply(mt,vt)}function ct(it,mt,vt,Et){for(var Qt=-1,dn=it==null?0:it.length;++Qt<dn;){var qn=it[Qt];mt(Et,qn,vt(qn),it)}return Et}function ut(it,mt){for(var vt=-1,Et=it==null?0:it.length;++vt<Et&&mt(it[vt],vt,it)!==!1;);return it}function yt(it,mt){for(var vt=it==null?0:it.length;vt--&&mt(it[vt],vt,it)!==!1;);return it}function Ot(it,mt){for(var vt=-1,Et=it==null?0:it.length;++vt<Et;)if(!mt(it[vt],vt,it))return!1;return!0}function Xt(it,mt){for(var vt=-1,Et=it==null?0:it.length,Qt=0,dn=[];++vt<Et;){var qn=it[vt];mt(qn,vt,it)&&(dn[Qt++]=qn)}return dn}function Gt(it,mt){return!(it==null||!it.length)&&On(it,mt,0)>-1}function an(it,mt,vt){for(var Et=-1,Qt=it==null?0:it.length;++Et<Qt;)if(vt(mt,it[Et]))return!0;return!1}function Ct(it,mt){for(var vt=-1,Et=it==null?0:it.length,Qt=Array(Et);++vt<Et;)Qt[vt]=mt(it[vt],vt,it);return Qt}function Cn(it,mt){for(var vt=-1,Et=mt.length,Qt=it.length;++vt<Et;)it[Qt+vt]=mt[vt];return it}function St(it,mt,vt,Et){var Qt=-1,dn=it==null?0:it.length;for(Et&&dn&&(vt=it[++Qt]);++Qt<dn;)vt=mt(vt,it[Qt],Qt,it);return vt}function Tt(it,mt,vt,Et){var Qt=it==null?0:it.length;for(Et&&Qt&&(vt=it[--Qt]);Qt--;)vt=mt(vt,it[Qt],Qt,it);return vt}function Nt(it,mt){for(var vt=-1,Et=it==null?0:it.length;++vt<Et;)if(mt(it[vt],vt,it))return!0;return!1}var zt=Mi("length");function Sn(it,mt,vt){var Et;return vt(it,function(Qt,dn,qn){if(mt(Qt,dn,qn))return Et=dn,!1}),Et}function Nn(it,mt,vt,Et){for(var Qt=it.length,dn=vt+(Et?1:-1);Et?dn--:++dn<Qt;)if(mt(it[dn],dn,it))return dn;return-1}function On(it,mt,vt){return mt==mt?function(Et,Qt,dn){for(var qn=dn-1,vi=Et.length;++qn<vi;)if(Et[qn]===Qt)return qn;return-1}(it,mt,vt):Nn(it,ai,vt)}function Vn(it,mt,vt,Et){for(var Qt=vt-1,dn=it.length;++Qt<dn;)if(Et(it[Qt],mt))return Qt;return-1}function ai(it){return it!=it}function Jn(it,mt){var vt=it==null?0:it.length;return vt?wo(it,mt)/vt:N}function Mi(it){return function(mt){return mt==null?A:mt[it]}}function bo(it){return function(mt){return it==null?A:it[mt]}}function _a(it,mt,vt,Et,Qt){return Qt(it,function(dn,qn,vi){vt=Et?(Et=!1,dn):mt(vt,dn,qn,vi)}),vt}function wo(it,mt){for(var vt,Et=-1,Qt=it.length;++Et<Qt;){var dn=mt(it[Et]);dn!==A&&(vt=vt===A?dn:vt+dn)}return vt}function xo(it,mt){for(var vt=-1,Et=Array(it);++vt<it;)Et[vt]=mt(vt);return Et}function Ma(it){return it&&it.slice(0,Aa(it)+1).replace(fe,"")}function ii(it){return function(mt){return it(mt)}}function _o(it,mt){return Ct(mt,function(vt){return it[vt]})}function fr(it,mt){return it.has(mt)}function Ea(it,mt){for(var vt=-1,Et=it.length;++vt<Et&&On(mt,it[vt],0)>-1;);return vt}function ka(it,mt){for(var vt=it.length;vt--&&On(mt,it[vt],0)>-1;);return vt}var vu=bo({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),yu=bo({"&":"&","<":"<",">":">",'"':""","'":"'"});function bu(it){return"\\"+Mn[it]}function Qi(it){return fn.test(it)}function Mo(it){var mt=-1,vt=Array(it.size);return it.forEach(function(Et,Qt){vt[++mt]=[Qt,Et]}),vt}function Sa(it,mt){return function(vt){return it(mt(vt))}}function Pi(it,mt){for(var vt=-1,Et=it.length,Qt=0,dn=[];++vt<Et;){var qn=it[vt];qn!==mt&&qn!==p||(it[vt]=p,dn[Qt++]=vt)}return dn}function Or(it){var mt=-1,vt=Array(it.size);return it.forEach(function(Et){vt[++mt]=Et}),vt}function wu(it){var mt=-1,vt=Array(it.size);return it.forEach(function(Et){vt[++mt]=[Et,Et]}),vt}function er(it){return Qi(it)?function(mt){for(var vt=ln.lastIndex=0;ln.test(mt);)++vt;return vt}(it):zt(it)}function pi(it){return Qi(it)?function(mt){return mt.match(ln)||[]}(it):function(mt){return mt.split("")}(it)}function Aa(it){for(var mt=it.length;mt--&&ve.test(it.charAt(mt)););return mt}var xu=bo({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Ir=function it(mt){var vt,Et=(mt=mt==null?Ln:Ir.defaults(Ln.Object(),mt,Ir.pick(Ln,_n))).Array,Qt=mt.Date,dn=mt.Error,qn=mt.Function,vi=mt.Math,In=mt.Object,Eo=mt.RegExp,_u=mt.String,si=mt.TypeError,jr=Et.prototype,Mu=qn.prototype,tr=In.prototype,Nr=mt["__core-js_shared__"],Rr=Mu.toString,Tn=tr.hasOwnProperty,Eu=0,Ta=(vt=/[^.]+$/.exec(Nr&&Nr.keys&&Nr.keys.IE_PROTO||""))?"Symbol(src)_1."+vt:"",Cr=tr.toString,ku=Rr.call(In),Su=Ln._,Au=Eo("^"+Rr.call(Tn).replace(le,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pr=Ci?mt.Buffer:A,Bi=mt.Symbol,Br=mt.Uint8Array,Oa=Pr?Pr.allocUnsafe:A,Dr=Sa(In.getPrototypeOf,In),Ia=In.create,ja=tr.propertyIsEnumerable,Lr=jr.splice,Na=Bi?Bi.isConcatSpreadable:A,pr=Bi?Bi.iterator:A,zi=Bi?Bi.toStringTag:A,qr=function(){try{var C=Zi(In,"defineProperty");return C({},"",{}),C}catch{}}(),Tu=mt.clearTimeout!==Ln.clearTimeout&&mt.clearTimeout,Ou=Qt&&Qt.now!==Ln.Date.now&&Qt.now,Iu=mt.setTimeout!==Ln.setTimeout&&mt.setTimeout,Ur=vi.ceil,Fr=vi.floor,ko=In.getOwnPropertySymbols,ju=Pr?Pr.isBuffer:A,Ra=mt.isFinite,Nu=jr.join,Ru=Sa(In.keys,In),Un=vi.max,Hn=vi.min,Cu=Qt.now,Pu=mt.parseInt,Ca=vi.random,Bu=jr.reverse,So=Zi(mt,"DataView"),dr=Zi(mt,"Map"),Ao=Zi(mt,"Promise"),nr=Zi(mt,"Set"),mr=Zi(mt,"WeakMap"),gr=Zi(In,"create"),$r=mr&&new mr,ir={},Du=Gi(So),Lu=Gi(dr),qu=Gi(Ao),Uu=Gi(nr),Fu=Gi(mr),zr=Bi?Bi.prototype:A,vr=zr?zr.valueOf:A,Pa=zr?zr.toString:A;function _e(C){if(Pn(C)&&!nn(C)&&!(C instanceof un)){if(C instanceof ui)return C;if(Tn.call(C,"__wrapped__"))return Bs(C)}return new ui(C)}var rr=function(){function C(){}return function(z){if(!Rn(z))return{};if(Ia)return Ia(z);C.prototype=z;var oe=new C;return C.prototype=A,oe}}();function Vr(){}function ui(C,z){this.__wrapped__=C,this.__actions__=[],this.__chain__=!!z,this.__index__=0,this.__values__=A}function un(C){this.__wrapped__=C,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=I,this.__views__=[]}function Vi(C){var z=-1,oe=C==null?0:C.length;for(this.clear();++z<oe;){var me=C[z];this.set(me[0],me[1])}}function Ei(C){var z=-1,oe=C==null?0:C.length;for(this.clear();++z<oe;){var me=C[z];this.set(me[0],me[1])}}function ki(C){var z=-1,oe=C==null?0:C.length;for(this.clear();++z<oe;){var me=C[z];this.set(me[0],me[1])}}function Hi(C){var z=-1,oe=C==null?0:C.length;for(this.__data__=new ki;++z<oe;)this.add(C[z])}function di(C){var z=this.__data__=new Ei(C);this.size=z.size}function Ba(C,z){var oe=nn(C),me=!oe&&Xi(C),be=!oe&&!me&&Fi(C),ke=!oe&&!me&&!be&&ur(C),Re=oe||me||be||ke,De=Re?xo(C.length,_u):[],Ye=De.length;for(var pt in C)!z&&!Tn.call(C,pt)||Re&&(pt=="length"||be&&(pt=="offset"||pt=="parent")||ke&&(pt=="buffer"||pt=="byteLength"||pt=="byteOffset")||Oi(pt,Ye))||De.push(pt);return De}function Da(C){var z=C.length;return z?C[Lo(0,z-1)]:A}function $u(C,z){return ro(Qn(C),Ki(z,0,C.length))}function zu(C){return ro(Qn(C))}function To(C,z,oe){(oe!==A&&!mi(C[z],oe)||oe===A&&!(z in C))&&Si(C,z,oe)}function yr(C,z,oe){var me=C[z];Tn.call(C,z)&&mi(me,oe)&&(oe!==A||z in C)||Si(C,z,oe)}function Hr(C,z){for(var oe=C.length;oe--;)if(mi(C[oe][0],z))return oe;return-1}function Vu(C,z,oe,me){return Di(C,function(be,ke,Re){z(me,be,oe(be),Re)}),me}function La(C,z){return C&&bi(z,$n(z),C)}function Si(C,z,oe){z=="__proto__"&&qr?qr(C,z,{configurable:!0,enumerable:!0,value:oe,writable:!0}):C[z]=oe}function Oo(C,z){for(var oe=-1,me=z.length,be=Et(me),ke=C==null;++oe<me;)be[oe]=ke?A:ha(C,z[oe]);return be}function Ki(C,z,oe){return C==C&&(oe!==A&&(C=C<=oe?C:oe),z!==A&&(C=C>=z?C:z)),C}function ci(C,z,oe,me,be,ke){var Re,De=1&z,Ye=2&z,pt=4&z;if(oe&&(Re=be?oe(C,me,be,ke):oe(C)),Re!==A)return Re;if(!Rn(C))return C;var dt=nn(C);if(dt){if(Re=function(gt){var xt=gt.length,qt=new gt.constructor(xt);return xt&&typeof gt[0]=="string"&&Tn.call(gt,"index")&&(qt.index=gt.index,qt.input=gt.input),qt}(C),!De)return Qn(C,Re)}else{var bt=Kn(C),At=bt==W||bt==G;if(Fi(C))return us(C,De);if(bt==se||bt==B||At&&!be){if(Re=Ye||At?{}:As(C),!De)return Ye?function(gt,xt){return bi(gt,ks(gt),xt)}(C,function(gt,xt){return gt&&bi(xt,ti(xt),gt)}(Re,C)):function(gt,xt){return bi(gt,Jo(gt),xt)}(C,La(Re,C))}else{if(!Pt[bt])return be?C:{};Re=function(gt,xt,qt){var Mt,tn=gt.constructor;switch(xt){case t:return Ho(gt);case U:case $:return new tn(+gt);case h:return function(Yt,kn){var Lt=kn?Ho(Yt.buffer):Yt.buffer;return new Yt.constructor(Lt,Yt.byteOffset,Yt.byteLength)}(gt,qt);case M:case H:case K:case V:case Z:case X:case ae:case ie:case ce:return cs(gt,qt);case Q:return new tn;case te:case a:return new tn(gt);case de:return function(Yt){var kn=new Yt.constructor(Yt.source,Ue.exec(Yt));return kn.lastIndex=Yt.lastIndex,kn}(gt);case e:return new tn;case o:return Mt=gt,vr?In(vr.call(Mt)):{}}}(C,bt,De)}}ke||(ke=new di);var Rt=ke.get(C);if(Rt)return Rt;ke.set(C,Re),eu(C)?C.forEach(function(gt){Re.add(ci(gt,z,oe,gt,C,ke))}):Js(C)&&C.forEach(function(gt,xt){Re.set(xt,ci(gt,z,oe,xt,C,ke))});var Ft=dt?A:(pt?Ye?Go:Zo:Ye?ti:$n)(C);return ut(Ft||C,function(gt,xt){Ft&&(gt=C[xt=gt]),yr(Re,xt,ci(gt,z,oe,xt,C,ke))}),Re}function qa(C,z,oe){var me=oe.length;if(C==null)return!me;for(C=In(C);me--;){var be=oe[me],ke=z[be],Re=C[be];if(Re===A&&!(be in C)||!ke(Re))return!1}return!0}function Ua(C,z,oe){if(typeof C!="function")throw new si(O);return kr(function(){C.apply(A,oe)},z)}function br(C,z,oe,me){var be=-1,ke=Gt,Re=!0,De=C.length,Ye=[],pt=z.length;if(!De)return Ye;oe&&(z=Ct(z,ii(oe))),me?(ke=an,Re=!1):z.length>=200&&(ke=fr,Re=!1,z=new Hi(z));e:for(;++be<De;){var dt=C[be],bt=oe==null?dt:oe(dt);if(dt=me||dt!==0?dt:0,Re&&bt==bt){for(var At=pt;At--;)if(z[At]===bt)continue e;Ye.push(dt)}else ke(z,bt,me)||Ye.push(dt)}return Ye}_e.templateSettings={escape:je,evaluate:Me,interpolate:Ae,variable:"",imports:{_:_e}},_e.prototype=Vr.prototype,_e.prototype.constructor=_e,ui.prototype=rr(Vr.prototype),ui.prototype.constructor=ui,un.prototype=rr(Vr.prototype),un.prototype.constructor=un,Vi.prototype.clear=function(){this.__data__=gr?gr(null):{},this.size=0},Vi.prototype.delete=function(C){var z=this.has(C)&&delete this.__data__[C];return this.size-=z?1:0,z},Vi.prototype.get=function(C){var z=this.__data__;if(gr){var oe=z[C];return oe===q?A:oe}return Tn.call(z,C)?z[C]:A},Vi.prototype.has=function(C){var z=this.__data__;return gr?z[C]!==A:Tn.call(z,C)},Vi.prototype.set=function(C,z){var oe=this.__data__;return this.size+=this.has(C)?0:1,oe[C]=gr&&z===A?q:z,this},Ei.prototype.clear=function(){this.__data__=[],this.size=0},Ei.prototype.delete=function(C){var z=this.__data__,oe=Hr(z,C);return!(oe<0||(oe==z.length-1?z.pop():Lr.call(z,oe,1),--this.size,0))},Ei.prototype.get=function(C){var z=this.__data__,oe=Hr(z,C);return oe<0?A:z[oe][1]},Ei.prototype.has=function(C){return Hr(this.__data__,C)>-1},Ei.prototype.set=function(C,z){var oe=this.__data__,me=Hr(oe,C);return me<0?(++this.size,oe.push([C,z])):oe[me][1]=z,this},ki.prototype.clear=function(){this.size=0,this.__data__={hash:new Vi,map:new(dr||Ei),string:new Vi}},ki.prototype.delete=function(C){var z=io(this,C).delete(C);return this.size-=z?1:0,z},ki.prototype.get=function(C){return io(this,C).get(C)},ki.prototype.has=function(C){return io(this,C).has(C)},ki.prototype.set=function(C,z){var oe=io(this,C),me=oe.size;return oe.set(C,z),this.size+=oe.size==me?0:1,this},Hi.prototype.add=Hi.prototype.push=function(C){return this.__data__.set(C,q),this},Hi.prototype.has=function(C){return this.__data__.has(C)},di.prototype.clear=function(){this.__data__=new Ei,this.size=0},di.prototype.delete=function(C){var z=this.__data__,oe=z.delete(C);return this.size=z.size,oe},di.prototype.get=function(C){return this.__data__.get(C)},di.prototype.has=function(C){return this.__data__.has(C)},di.prototype.set=function(C,z){var oe=this.__data__;if(oe instanceof Ei){var me=oe.__data__;if(!dr||me.length<199)return me.push([C,z]),this.size=++oe.size,this;oe=this.__data__=new ki(me)}return oe.set(C,z),this.size=oe.size,this};var Di=ps(yi),Fa=ps(jo,!0);function Hu(C,z){var oe=!0;return Di(C,function(me,be,ke){return oe=!!z(me,be,ke)}),oe}function Kr(C,z,oe){for(var me=-1,be=C.length;++me<be;){var ke=C[me],Re=z(ke);if(Re!=null&&(De===A?Re==Re&&!oi(Re):oe(Re,De)))var De=Re,Ye=ke}return Ye}function $a(C,z){var oe=[];return Di(C,function(me,be,ke){z(me,be,ke)&&oe.push(me)}),oe}function zn(C,z,oe,me,be){var ke=-1,Re=C.length;for(oe||(oe=nc),be||(be=[]);++ke<Re;){var De=C[ke];z>0&&oe(De)?z>1?zn(De,z-1,oe,me,be):Cn(be,De):me||(be[be.length]=De)}return be}var Io=ds(),za=ds(!0);function yi(C,z){return C&&Io(C,z,$n)}function jo(C,z){return C&&za(C,z,$n)}function Wr(C,z){return Xt(z,function(oe){return Ii(C[oe])})}function Wi(C,z){for(var oe=0,me=(z=qi(z,C)).length;C!=null&&oe<me;)C=C[wi(z[oe++])];return oe&&oe==me?C:A}function Va(C,z,oe){var me=z(C);return nn(C)?me:Cn(me,oe(C))}function Gn(C){return C==null?C===A?"[object Undefined]":"[object Null]":zi&&zi in In(C)?function(z){var oe=Tn.call(z,zi),me=z[zi];try{z[zi]=A;var be=!0}catch{}var ke=Cr.call(z);return be&&(oe?z[zi]=me:delete z[zi]),ke}(C):function(z){return Cr.call(z)}(C)}function No(C,z){return C>z}function Ku(C,z){return C!=null&&Tn.call(C,z)}function Wu(C,z){return C!=null&&z in In(C)}function Ro(C,z,oe){for(var me=oe?an:Gt,be=C[0].length,ke=C.length,Re=ke,De=Et(ke),Ye=1/0,pt=[];Re--;){var dt=C[Re];Re&&z&&(dt=Ct(dt,ii(z))),Ye=Hn(dt.length,Ye),De[Re]=!oe&&(z||be>=120&&dt.length>=120)?new Hi(Re&&dt):A}dt=C[0];var bt=-1,At=De[0];e:for(;++bt<be&&pt.length<Ye;){var Rt=dt[bt],Ft=z?z(Rt):Rt;if(Rt=oe||Rt!==0?Rt:0,!(At?fr(At,Ft):me(pt,Ft,oe))){for(Re=ke;--Re;){var gt=De[Re];if(!(gt?fr(gt,Ft):me(C[Re],Ft,oe)))continue e}At&&At.push(Ft),pt.push(Rt)}}return pt}function wr(C,z,oe){var me=(C=js(C,z=qi(z,C)))==null?C:C[wi(hi(z))];return me==null?A:We(me,C,oe)}function Ha(C){return Pn(C)&&Gn(C)==B}function xr(C,z,oe,me,be){return C===z||(C==null||z==null||!Pn(C)&&!Pn(z)?C!=C&&z!=z:function(ke,Re,De,Ye,pt,dt){var bt=nn(ke),At=nn(Re),Rt=bt?D:Kn(ke),Ft=At?D:Kn(Re),gt=(Rt=Rt==B?se:Rt)==se,xt=(Ft=Ft==B?se:Ft)==se,qt=Rt==Ft;if(qt&&Fi(ke)){if(!Fi(Re))return!1;bt=!0,gt=!1}if(qt&&!gt)return dt||(dt=new di),bt||ur(ke)?Es(ke,Re,De,Ye,pt,dt):function(Lt,Kt,Fn,Dn,Yn,jn,Wn){switch(Fn){case h:if(Lt.byteLength!=Kt.byteLength||Lt.byteOffset!=Kt.byteOffset)return!1;Lt=Lt.buffer,Kt=Kt.buffer;case t:return!(Lt.byteLength!=Kt.byteLength||!jn(new Br(Lt),new Br(Kt)));case U:case $:case te:return mi(+Lt,+Kt);case P:return Lt.name==Kt.name&&Lt.message==Kt.message;case de:case a:return Lt==Kt+"";case Q:var xi=Mo;case e:var $i=1&Dn;if(xi||(xi=Or),Lt.size!=Kt.size&&!$i)return!1;var Yi=Wn.get(Lt);if(Yi)return Yi==Kt;Dn|=2,Wn.set(Lt,Kt);var Ni=Es(xi(Lt),xi(Kt),Dn,Yn,jn,Wn);return Wn.delete(Lt),Ni;case o:if(vr)return vr.call(Lt)==vr.call(Kt)}return!1}(ke,Re,Rt,De,Ye,pt,dt);if(!(1&De)){var Mt=gt&&Tn.call(ke,"__wrapped__"),tn=xt&&Tn.call(Re,"__wrapped__");if(Mt||tn){var Yt=Mt?ke.value():ke,kn=tn?Re.value():Re;return dt||(dt=new di),pt(Yt,kn,De,Ye,dt)}}return!!qt&&(dt||(dt=new di),function(Lt,Kt,Fn,Dn,Yn,jn){var Wn=1&Fn,xi=Zo(Lt),$i=xi.length;if($i!=Zo(Kt).length&&!Wn)return!1;for(var Yi=$i;Yi--;){var Ni=xi[Yi];if(!(Wn?Ni in Kt:Tn.call(Kt,Ni)))return!1}var du=jn.get(Lt),mu=jn.get(Kt);if(du&&mu)return du==Kt&&mu==Lt;var po=!0;jn.set(Lt,Kt),jn.set(Kt,Lt);for(var xa=Wn;++Yi<$i;){var mo=Lt[Ni=xi[Yi]],go=Kt[Ni];if(Dn)var gu=Wn?Dn(go,mo,Ni,Kt,Lt,jn):Dn(mo,go,Ni,Lt,Kt,jn);if(!(gu===A?mo===go||Yn(mo,go,Fn,Dn,jn):gu)){po=!1;break}xa||(xa=Ni=="constructor")}if(po&&!xa){var vo=Lt.constructor,yo=Kt.constructor;vo==yo||!("constructor"in Lt)||!("constructor"in Kt)||typeof vo=="function"&&vo instanceof vo&&typeof yo=="function"&&yo instanceof yo||(po=!1)}return jn.delete(Lt),jn.delete(Kt),po}(ke,Re,De,Ye,pt,dt))}(C,z,oe,me,xr,be))}function Co(C,z,oe,me){var be=oe.length,ke=be,Re=!me;if(C==null)return!ke;for(C=In(C);be--;){var De=oe[be];if(Re&&De[2]?De[1]!==C[De[0]]:!(De[0]in C))return!1}for(;++be<ke;){var Ye=(De=oe[be])[0],pt=C[Ye],dt=De[1];if(Re&&De[2]){if(pt===A&&!(Ye in C))return!1}else{var bt=new di;if(me)var At=me(pt,dt,Ye,C,z,bt);if(!(At===A?xr(dt,pt,3,me,bt):At))return!1}}return!0}function Ka(C){return!(!Rn(C)||(z=C,Ta&&Ta in z))&&(Ii(C)?Au:Ke).test(Gi(C));var z}function Wa(C){return typeof C=="function"?C:C==null?ni:typeof C=="object"?nn(C)?Xa(C[0],C[1]):Ga(C):pu(C)}function Po(C){if(!Er(C))return Ru(C);var z=[];for(var oe in In(C))Tn.call(C,oe)&&oe!="constructor"&&z.push(oe);return z}function Bo(C,z){return C<z}function Za(C,z){var oe=-1,me=ei(C)?Et(C.length):[];return Di(C,function(be,ke,Re){me[++oe]=z(be,ke,Re)}),me}function Ga(C){var z=Yo(C);return z.length==1&&z[0][2]?Os(z[0][0],z[0][1]):function(oe){return oe===C||Co(oe,C,z)}}function Xa(C,z){return Qo(C)&&Ts(z)?Os(wi(C),z):function(oe){var me=ha(oe,C);return me===A&&me===z?fa(oe,C):xr(z,me,3)}}function Zr(C,z,oe,me,be){C!==z&&Io(z,function(ke,Re){if(be||(be=new di),Rn(ke))(function(Ye,pt,dt,bt,At,Rt,Ft){var gt=ta(Ye,dt),xt=ta(pt,dt),qt=Ft.get(xt);if(qt)To(Ye,dt,qt);else{var Mt=Rt?Rt(gt,xt,dt+"",Ye,pt,Ft):A,tn=Mt===A;if(tn){var Yt=nn(xt),kn=!Yt&&Fi(xt),Lt=!Yt&&!kn&&ur(xt);Mt=xt,Yt||kn||Lt?nn(gt)?Mt=gt:Bn(gt)?Mt=Qn(gt):kn?(tn=!1,Mt=us(xt,!0)):Lt?(tn=!1,Mt=cs(xt,!0)):Mt=[]:Sr(xt)||Xi(xt)?(Mt=gt,Xi(gt)?Mt=iu(gt):Rn(gt)&&!Ii(gt)||(Mt=As(xt))):tn=!1}tn&&(Ft.set(xt,Mt),At(Mt,xt,bt,Rt,Ft),Ft.delete(xt)),To(Ye,dt,Mt)}})(C,z,Re,oe,Zr,me,be);else{var De=me?me(ta(C,Re),ke,Re+"",C,z,be):A;De===A&&(De=ke),To(C,Re,De)}},ti)}function Ya(C,z){var oe=C.length;if(oe)return Oi(z+=z<0?oe:0,oe)?C[z]:A}function Ja(C,z,oe){z=z.length?Ct(z,function(ke){return nn(ke)?function(Re){return Wi(Re,ke.length===1?ke[0]:ke)}:ke}):[ni];var me=-1;z=Ct(z,ii(Vt()));var be=Za(C,function(ke,Re,De){var Ye=Ct(z,function(pt){return pt(ke)});return{criteria:Ye,index:++me,value:ke}});return function(ke){var Re=ke.length;for(ke.sort(function(De,Ye){return function(pt,dt,bt){for(var At=-1,Rt=pt.criteria,Ft=dt.criteria,gt=Rt.length,xt=bt.length;++At<gt;){var qt=ls(Rt[At],Ft[At]);if(qt)return At>=xt?qt:qt*(bt[At]=="desc"?-1:1)}return pt.index-dt.index}(De,Ye,oe)});Re--;)ke[Re]=ke[Re].value;return ke}(be)}function Qa(C,z,oe){for(var me=-1,be=z.length,ke={};++me<be;){var Re=z[me],De=Wi(C,Re);oe(De,Re)&&_r(ke,qi(Re,C),De)}return ke}function Do(C,z,oe,me){var be=me?Vn:On,ke=-1,Re=z.length,De=C;for(C===z&&(z=Qn(z)),oe&&(De=Ct(C,ii(oe)));++ke<Re;)for(var Ye=0,pt=z[ke],dt=oe?oe(pt):pt;(Ye=be(De,dt,Ye,me))>-1;)De!==C&&Lr.call(De,Ye,1),Lr.call(C,Ye,1);return C}function es(C,z){for(var oe=C?z.length:0,me=oe-1;oe--;){var be=z[oe];if(oe==me||be!==ke){var ke=be;Oi(be)?Lr.call(C,be,1):Fo(C,be)}}return C}function Lo(C,z){return C+Fr(Ca()*(z-C+1))}function qo(C,z){var oe="";if(!C||z<1||z>_)return oe;do z%2&&(oe+=C),(z=Fr(z/2))&&(C+=C);while(z);return oe}function sn(C,z){return na(Is(C,z,ni),C+"")}function Zu(C){return Da(cr(C))}function Gu(C,z){var oe=cr(C);return ro(oe,Ki(z,0,oe.length))}function _r(C,z,oe,me){if(!Rn(C))return C;for(var be=-1,ke=(z=qi(z,C)).length,Re=ke-1,De=C;De!=null&&++be<ke;){var Ye=wi(z[be]),pt=oe;if(Ye==="__proto__"||Ye==="constructor"||Ye==="prototype")return C;if(be!=Re){var dt=De[Ye];(pt=me?me(dt,Ye,De):A)===A&&(pt=Rn(dt)?dt:Oi(z[be+1])?[]:{})}yr(De,Ye,pt),De=De[Ye]}return C}var ts=$r?function(C,z){return $r.set(C,z),C}:ni,Xu=qr?function(C,z){return qr(C,"toString",{configurable:!0,enumerable:!1,value:da(z),writable:!0})}:ni;function Yu(C){return ro(cr(C))}function li(C,z,oe){var me=-1,be=C.length;z<0&&(z=-z>be?0:be+z),(oe=oe>be?be:oe)<0&&(oe+=be),be=z>oe?0:oe-z>>>0,z>>>=0;for(var ke=Et(be);++me<be;)ke[me]=C[me+z];return ke}function Ju(C,z){var oe;return Di(C,function(me,be,ke){return!(oe=z(me,be,ke))}),!!oe}function Gr(C,z,oe){var me=0,be=C==null?me:C.length;if(typeof z=="number"&&z==z&&be<=2147483647){for(;me<be;){var ke=me+be>>>1,Re=C[ke];Re!==null&&!oi(Re)&&(oe?Re<=z:Re<z)?me=ke+1:be=ke}return be}return Uo(C,z,ni,oe)}function Uo(C,z,oe,me){var be=0,ke=C==null?0:C.length;if(ke===0)return 0;for(var Re=(z=oe(z))!=z,De=z===null,Ye=oi(z),pt=z===A;be<ke;){var dt=Fr((be+ke)/2),bt=oe(C[dt]),At=bt!==A,Rt=bt===null,Ft=bt==bt,gt=oi(bt);if(Re)var xt=me||Ft;else xt=pt?Ft&&(me||At):De?Ft&&At&&(me||!Rt):Ye?Ft&&At&&!Rt&&(me||!gt):!Rt&&!gt&&(me?bt<=z:bt<z);xt?be=dt+1:ke=dt}return Hn(ke,4294967294)}function ns(C,z){for(var oe=-1,me=C.length,be=0,ke=[];++oe<me;){var Re=C[oe],De=z?z(Re):Re;if(!oe||!mi(De,Ye)){var Ye=De;ke[be++]=Re===0?0:Re}}return ke}function is(C){return typeof C=="number"?C:oi(C)?N:+C}function ri(C){if(typeof C=="string")return C;if(nn(C))return Ct(C,ri)+"";if(oi(C))return Pa?Pa.call(C):"";var z=C+"";return z=="0"&&1/C==-1/0?"-0":z}function Li(C,z,oe){var me=-1,be=Gt,ke=C.length,Re=!0,De=[],Ye=De;if(oe)Re=!1,be=an;else if(ke>=200){var pt=z?null:ec(C);if(pt)return Or(pt);Re=!1,be=fr,Ye=new Hi}else Ye=z?[]:De;e:for(;++me<ke;){var dt=C[me],bt=z?z(dt):dt;if(dt=oe||dt!==0?dt:0,Re&&bt==bt){for(var At=Ye.length;At--;)if(Ye[At]===bt)continue e;z&&Ye.push(bt),De.push(dt)}else be(Ye,bt,oe)||(Ye!==De&&Ye.push(bt),De.push(dt))}return De}function Fo(C,z){return(C=js(C,z=qi(z,C)))==null||delete C[wi(hi(z))]}function rs(C,z,oe,me){return _r(C,z,oe(Wi(C,z)),me)}function Xr(C,z,oe,me){for(var be=C.length,ke=me?be:-1;(me?ke--:++ke<be)&&z(C[ke],ke,C););return oe?li(C,me?0:ke,me?ke+1:be):li(C,me?ke+1:0,me?be:ke)}function os(C,z){var oe=C;return oe instanceof un&&(oe=oe.value()),St(z,function(me,be){return be.func.apply(be.thisArg,Cn([me],be.args))},oe)}function $o(C,z,oe){var me=C.length;if(me<2)return me?Li(C[0]):[];for(var be=-1,ke=Et(me);++be<me;)for(var Re=C[be],De=-1;++De<me;)De!=be&&(ke[be]=br(ke[be]||Re,C[De],z,oe));return Li(zn(ke,1),z,oe)}function as(C,z,oe){for(var me=-1,be=C.length,ke=z.length,Re={};++me<be;){var De=me<ke?z[me]:A;oe(Re,C[me],De)}return Re}function zo(C){return Bn(C)?C:[]}function Vo(C){return typeof C=="function"?C:ni}function qi(C,z){return nn(C)?C:Qo(C,z)?[C]:Ps(An(C))}var Qu=sn;function Ui(C,z,oe){var me=C.length;return oe=oe===A?me:oe,!z&&oe>=me?C:li(C,z,oe)}var ss=Tu||function(C){return Ln.clearTimeout(C)};function us(C,z){if(z)return C.slice();var oe=C.length,me=Oa?Oa(oe):new C.constructor(oe);return C.copy(me),me}function Ho(C){var z=new C.constructor(C.byteLength);return new Br(z).set(new Br(C)),z}function cs(C,z){var oe=z?Ho(C.buffer):C.buffer;return new C.constructor(oe,C.byteOffset,C.length)}function ls(C,z){if(C!==z){var oe=C!==A,me=C===null,be=C==C,ke=oi(C),Re=z!==A,De=z===null,Ye=z==z,pt=oi(z);if(!De&&!pt&&!ke&&C>z||ke&&Re&&Ye&&!De&&!pt||me&&Re&&Ye||!oe&&Ye||!be)return 1;if(!me&&!ke&&!pt&&C<z||pt&&oe&&be&&!me&&!ke||De&&oe&&be||!Re&&be||!Ye)return-1}return 0}function hs(C,z,oe,me){for(var be=-1,ke=C.length,Re=oe.length,De=-1,Ye=z.length,pt=Un(ke-Re,0),dt=Et(Ye+pt),bt=!me;++De<Ye;)dt[De]=z[De];for(;++be<Re;)(bt||be<ke)&&(dt[oe[be]]=C[be]);for(;pt--;)dt[De++]=C[be++];return dt}function fs(C,z,oe,me){for(var be=-1,ke=C.length,Re=-1,De=oe.length,Ye=-1,pt=z.length,dt=Un(ke-De,0),bt=Et(dt+pt),At=!me;++be<dt;)bt[be]=C[be];for(var Rt=be;++Ye<pt;)bt[Rt+Ye]=z[Ye];for(;++Re<De;)(At||be<ke)&&(bt[Rt+oe[Re]]=C[be++]);return bt}function Qn(C,z){var oe=-1,me=C.length;for(z||(z=Et(me));++oe<me;)z[oe]=C[oe];return z}function bi(C,z,oe,me){var be=!oe;oe||(oe={});for(var ke=-1,Re=z.length;++ke<Re;){var De=z[ke],Ye=me?me(oe[De],C[De],De,oe,C):A;Ye===A&&(Ye=C[De]),be?Si(oe,De,Ye):yr(oe,De,Ye)}return oe}function Yr(C,z){return function(oe,me){var be=nn(oe)?ct:Vu,ke=z?z():{};return be(oe,C,Vt(me,2),ke)}}function or(C){return sn(function(z,oe){var me=-1,be=oe.length,ke=be>1?oe[be-1]:A,Re=be>2?oe[2]:A;for(ke=C.length>3&&typeof ke=="function"?(be--,ke):A,Re&&Xn(oe[0],oe[1],Re)&&(ke=be<3?A:ke,be=1),z=In(z);++me<be;){var De=oe[me];De&&C(z,De,me,ke)}return z})}function ps(C,z){return function(oe,me){if(oe==null)return oe;if(!ei(oe))return C(oe,me);for(var be=oe.length,ke=z?be:-1,Re=In(oe);(z?ke--:++ke<be)&&me(Re[ke],ke,Re)!==!1;);return oe}}function ds(C){return function(z,oe,me){for(var be=-1,ke=In(z),Re=me(z),De=Re.length;De--;){var Ye=Re[C?De:++be];if(oe(ke[Ye],Ye,ke)===!1)break}return z}}function ms(C){return function(z){var oe=Qi(z=An(z))?pi(z):A,me=oe?oe[0]:z.charAt(0),be=oe?Ui(oe,1).join(""):z.slice(1);return me[C]()+be}}function ar(C){return function(z){return St(hu(lu(z).replace(yn,"")),C,"")}}function Mr(C){return function(){var z=arguments;switch(z.length){case 0:return new C;case 1:return new C(z[0]);case 2:return new C(z[0],z[1]);case 3:return new C(z[0],z[1],z[2]);case 4:return new C(z[0],z[1],z[2],z[3]);case 5:return new C(z[0],z[1],z[2],z[3],z[4]);case 6:return new C(z[0],z[1],z[2],z[3],z[4],z[5]);case 7:return new C(z[0],z[1],z[2],z[3],z[4],z[5],z[6])}var oe=rr(C.prototype),me=C.apply(oe,z);return Rn(me)?me:oe}}function gs(C){return function(z,oe,me){var be=In(z);if(!ei(z)){var ke=Vt(oe,3);z=$n(z),oe=function(De){return ke(be[De],De,be)}}var Re=C(z,oe,me);return Re>-1?be[ke?z[Re]:Re]:A}}function vs(C){return Ti(function(z){var oe=z.length,me=oe,be=ui.prototype.thru;for(C&&z.reverse();me--;){var ke=z[me];if(typeof ke!="function")throw new si(O);if(be&&!Re&&no(ke)=="wrapper")var Re=new ui([],!0)}for(me=Re?me:oe;++me<oe;){var De=no(ke=z[me]),Ye=De=="wrapper"?Xo(ke):A;Re=Ye&&ea(Ye[0])&&Ye[1]==424&&!Ye[4].length&&Ye[9]==1?Re[no(Ye[0])].apply(Re,Ye[3]):ke.length==1&&ea(ke)?Re[De]():Re.thru(ke)}return function(){var pt=arguments,dt=pt[0];if(Re&&pt.length==1&&nn(dt))return Re.plant(dt).value();for(var bt=0,At=oe?z[bt].apply(this,pt):dt;++bt<oe;)At=z[bt].call(this,At);return At}})}function Jr(C,z,oe,me,be,ke,Re,De,Ye,pt){var dt=z&w,bt=1&z,At=2&z,Rt=24&z,Ft=512&z,gt=At?A:Mr(C);return function xt(){for(var qt=arguments.length,Mt=Et(qt),tn=qt;tn--;)Mt[tn]=arguments[tn];if(Rt)var Yt=sr(xt),kn=function(Dn,Yn){for(var jn=Dn.length,Wn=0;jn--;)Dn[jn]===Yn&&++Wn;return Wn}(Mt,Yt);if(me&&(Mt=hs(Mt,me,be,Rt)),ke&&(Mt=fs(Mt,ke,Re,Rt)),qt-=kn,Rt&&qt<pt){var Lt=Pi(Mt,Yt);return ws(C,z,Jr,xt.placeholder,oe,Mt,Lt,De,Ye,pt-qt)}var Kt=bt?oe:this,Fn=At?Kt[C]:C;return qt=Mt.length,De?Mt=function(Dn,Yn){for(var jn=Dn.length,Wn=Hn(Yn.length,jn),xi=Qn(Dn);Wn--;){var $i=Yn[Wn];Dn[Wn]=Oi($i,jn)?xi[$i]:A}return Dn}(Mt,De):Ft&&qt>1&&Mt.reverse(),dt&&Ye<qt&&(Mt.length=Ye),this&&this!==Ln&&this instanceof xt&&(Fn=gt||Mr(Fn)),Fn.apply(Kt,Mt)}}function ys(C,z){return function(oe,me){return function(be,ke,Re,De){return yi(be,function(Ye,pt,dt){ke(De,Re(Ye),pt,dt)}),De}(oe,C,z(me),{})}}function Qr(C,z){return function(oe,me){var be;if(oe===A&&me===A)return z;if(oe!==A&&(be=oe),me!==A){if(be===A)return me;typeof oe=="string"||typeof me=="string"?(oe=ri(oe),me=ri(me)):(oe=is(oe),me=is(me)),be=C(oe,me)}return be}}function Ko(C){return Ti(function(z){return z=Ct(z,ii(Vt())),sn(function(oe){var me=this;return C(z,function(be){return We(be,me,oe)})})})}function eo(C,z){var oe=(z=z===A?" ":ri(z)).length;if(oe<2)return oe?qo(z,C):z;var me=qo(z,Ur(C/er(z)));return Qi(z)?Ui(pi(me),0,C).join(""):me.slice(0,C)}function bs(C){return function(z,oe,me){return me&&typeof me!="number"&&Xn(z,oe,me)&&(oe=me=A),z=ji(z),oe===A?(oe=z,z=0):oe=ji(oe),function(be,ke,Re,De){for(var Ye=-1,pt=Un(Ur((ke-be)/(Re||1)),0),dt=Et(pt);pt--;)dt[De?pt:++Ye]=be,be+=Re;return dt}(z,oe,me=me===A?z<oe?1:-1:ji(me),C)}}function to(C){return function(z,oe){return typeof z=="string"&&typeof oe=="string"||(z=fi(z),oe=fi(oe)),C(z,oe)}}function ws(C,z,oe,me,be,ke,Re,De,Ye,pt){var dt=8&z;z|=dt?j:64,4&(z&=~(dt?64:j))||(z&=-4);var bt=[C,z,be,dt?ke:A,dt?Re:A,dt?A:ke,dt?A:Re,De,Ye,pt],At=oe.apply(A,bt);return ea(C)&&Ns(At,bt),At.placeholder=me,Rs(At,C,z)}function Wo(C){var z=vi[C];return function(oe,me){if(oe=fi(oe),(me=me==null?0:Hn(rn(me),292))&&Ra(oe)){var be=(An(oe)+"e").split("e");return+((be=(An(z(be[0]+"e"+(+be[1]+me)))+"e").split("e"))[0]+"e"+(+be[1]-me))}return z(oe)}}var ec=nr&&1/Or(new nr([,-0]))[1]==S?function(C){return new nr(C)}:va;function xs(C){return function(z){var oe=Kn(z);return oe==Q?Mo(z):oe==e?wu(z):function(me,be){return Ct(be,function(ke){return[ke,me[ke]]})}(z,C(z))}}function Ai(C,z,oe,me,be,ke,Re,De){var Ye=2&z;if(!Ye&&typeof C!="function")throw new si(O);var pt=me?me.length:0;if(pt||(z&=-97,me=be=A),Re=Re===A?Re:Un(rn(Re),0),De=De===A?De:rn(De),pt-=be?be.length:0,64&z){var dt=me,bt=be;me=be=A}var At=Ye?A:Xo(C),Rt=[C,z,oe,me,be,dt,bt,ke,Re,De];if(At&&function(gt,xt){var qt=gt[1],Mt=xt[1],tn=qt|Mt,Yt=tn<131,kn=Mt==w&&qt==8||Mt==w&&qt==256&>[7].length<=xt[8]||Mt==384&&xt[7].length<=xt[8]&&qt==8;if(!Yt&&!kn)return gt;1&Mt&&(gt[2]=xt[2],tn|=1&qt?0:4);var Lt=xt[3];if(Lt){var Kt=gt[3];gt[3]=Kt?hs(Kt,Lt,xt[4]):Lt,gt[4]=Kt?Pi(gt[3],p):xt[4]}(Lt=xt[5])&&(Kt=gt[5],gt[5]=Kt?fs(Kt,Lt,xt[6]):Lt,gt[6]=Kt?Pi(gt[5],p):xt[6]),(Lt=xt[7])&&(gt[7]=Lt),Mt&w&&(gt[8]=gt[8]==null?xt[8]:Hn(gt[8],xt[8])),gt[9]==null&&(gt[9]=xt[9]),gt[0]=xt[0],gt[1]=tn}(Rt,At),C=Rt[0],z=Rt[1],oe=Rt[2],me=Rt[3],be=Rt[4],!(De=Rt[9]=Rt[9]===A?Ye?0:C.length:Un(Rt[9]-pt,0))&&24&z&&(z&=-25),z&&z!=1)Ft=z==8||z==16?function(gt,xt,qt){var Mt=Mr(gt);return function tn(){for(var Yt=arguments.length,kn=Et(Yt),Lt=Yt,Kt=sr(tn);Lt--;)kn[Lt]=arguments[Lt];var Fn=Yt<3&&kn[0]!==Kt&&kn[Yt-1]!==Kt?[]:Pi(kn,Kt);return(Yt-=Fn.length)<qt?ws(gt,xt,Jr,tn.placeholder,A,kn,Fn,A,A,qt-Yt):We(this&&this!==Ln&&this instanceof tn?Mt:gt,this,kn)}}(C,z,De):z!=j&&z!=33||be.length?Jr.apply(A,Rt):function(gt,xt,qt,Mt){var tn=1&xt,Yt=Mr(gt);return function kn(){for(var Lt=-1,Kt=arguments.length,Fn=-1,Dn=Mt.length,Yn=Et(Dn+Kt),jn=this&&this!==Ln&&this instanceof kn?Yt:gt;++Fn<Dn;)Yn[Fn]=Mt[Fn];for(;Kt--;)Yn[Fn++]=arguments[++Lt];return We(jn,tn?qt:this,Yn)}}(C,z,oe,me);else var Ft=function(gt,xt,qt){var Mt=1&xt,tn=Mr(gt);return function Yt(){return(this&&this!==Ln&&this instanceof Yt?tn:gt).apply(Mt?qt:this,arguments)}}(C,z,oe);return Rs((At?ts:Ns)(Ft,Rt),C,z)}function _s(C,z,oe,me){return C===A||mi(C,tr[oe])&&!Tn.call(me,oe)?z:C}function Ms(C,z,oe,me,be,ke){return Rn(C)&&Rn(z)&&(ke.set(z,C),Zr(C,z,A,Ms,ke),ke.delete(z)),C}function tc(C){return Sr(C)?A:C}function Es(C,z,oe,me,be,ke){var Re=1&oe,De=C.length,Ye=z.length;if(De!=Ye&&!(Re&&Ye>De))return!1;var pt=ke.get(C),dt=ke.get(z);if(pt&&dt)return pt==z&&dt==C;var bt=-1,At=!0,Rt=2&oe?new Hi:A;for(ke.set(C,z),ke.set(z,C);++bt<De;){var Ft=C[bt],gt=z[bt];if(me)var xt=Re?me(gt,Ft,bt,z,C,ke):me(Ft,gt,bt,C,z,ke);if(xt!==A){if(xt)continue;At=!1;break}if(Rt){if(!Nt(z,function(qt,Mt){if(!fr(Rt,Mt)&&(Ft===qt||be(Ft,qt,oe,me,ke)))return Rt.push(Mt)})){At=!1;break}}else if(Ft!==gt&&!be(Ft,gt,oe,me,ke)){At=!1;break}}return ke.delete(C),ke.delete(z),At}function Ti(C){return na(Is(C,A,qs),C+"")}function Zo(C){return Va(C,$n,Jo)}function Go(C){return Va(C,ti,ks)}var Xo=$r?function(C){return $r.get(C)}:va;function no(C){for(var z=C.name+"",oe=ir[z],me=Tn.call(ir,z)?oe.length:0;me--;){var be=oe[me],ke=be.func;if(ke==null||ke==C)return be.name}return z}function sr(C){return(Tn.call(_e,"placeholder")?_e:C).placeholder}function Vt(){var C=_e.iteratee||ma;return C=C===ma?Wa:C,arguments.length?C(arguments[0],arguments[1]):C}function io(C,z){var oe,me,be=C.__data__;return((me=typeof(oe=z))=="string"||me=="number"||me=="symbol"||me=="boolean"?oe!=="__proto__":oe===null)?be[typeof z=="string"?"string":"hash"]:be.map}function Yo(C){for(var z=$n(C),oe=z.length;oe--;){var me=z[oe],be=C[me];z[oe]=[me,be,Ts(be)]}return z}function Zi(C,z){var oe=function(me,be){return me==null?A:me[be]}(C,z);return Ka(oe)?oe:A}var Jo=ko?function(C){return C==null?[]:(C=In(C),Xt(ko(C),function(z){return ja.call(C,z)}))}:ya,ks=ko?function(C){for(var z=[];C;)Cn(z,Jo(C)),C=Dr(C);return z}:ya,Kn=Gn;function Ss(C,z,oe){for(var me=-1,be=(z=qi(z,C)).length,ke=!1;++me<be;){var Re=wi(z[me]);if(!(ke=C!=null&&oe(C,Re)))break;C=C[Re]}return ke||++me!=be?ke:!!(be=C==null?0:C.length)&&lo(be)&&Oi(Re,be)&&(nn(C)||Xi(C))}function As(C){return typeof C.constructor!="function"||Er(C)?{}:rr(Dr(C))}function nc(C){return nn(C)||Xi(C)||!!(Na&&C&&C[Na])}function Oi(C,z){var oe=typeof C;return!!(z=z??_)&&(oe=="number"||oe!="symbol"&&Fe.test(C))&&C>-1&&C%1==0&&C<z}function Xn(C,z,oe){if(!Rn(oe))return!1;var me=typeof z;return!!(me=="number"?ei(oe)&&Oi(z,oe.length):me=="string"&&z in oe)&&mi(oe[z],C)}function Qo(C,z){if(nn(C))return!1;var oe=typeof C;return!(oe!="number"&&oe!="symbol"&&oe!="boolean"&&C!=null&&!oi(C))||Ie.test(C)||!Ve.test(C)||z!=null&&C in In(z)}function ea(C){var z=no(C),oe=_e[z];if(typeof oe!="function"||!(z in un.prototype))return!1;if(C===oe)return!0;var me=Xo(oe);return!!me&&C===me[0]}(So&&Kn(new So(new ArrayBuffer(1)))!=h||dr&&Kn(new dr)!=Q||Ao&&Kn(Ao.resolve())!=ue||nr&&Kn(new nr)!=e||mr&&Kn(new mr)!=r)&&(Kn=function(C){var z=Gn(C),oe=z==se?C.constructor:A,me=oe?Gi(oe):"";if(me)switch(me){case Du:return h;case Lu:return Q;case qu:return ue;case Uu:return e;case Fu:return r}return z});var ic=Nr?Ii:ba;function Er(C){var z=C&&C.constructor;return C===(typeof z=="function"&&z.prototype||tr)}function Ts(C){return C==C&&!Rn(C)}function Os(C,z){return function(oe){return oe!=null&&oe[C]===z&&(z!==A||C in In(oe))}}function Is(C,z,oe){return z=Un(z===A?C.length-1:z,0),function(){for(var me=arguments,be=-1,ke=Un(me.length-z,0),Re=Et(ke);++be<ke;)Re[be]=me[z+be];be=-1;for(var De=Et(z+1);++be<z;)De[be]=me[be];return De[z]=oe(Re),We(C,this,De)}}function js(C,z){return z.length<2?C:Wi(C,li(z,0,-1))}function ta(C,z){if((z!=="constructor"||typeof C[z]!="function")&&z!="__proto__")return C[z]}var Ns=Cs(ts),kr=Iu||function(C,z){return Ln.setTimeout(C,z)},na=Cs(Xu);function Rs(C,z,oe){var me=z+"";return na(C,function(be,ke){var Re=ke.length;if(!Re)return be;var De=Re-1;return ke[De]=(Re>1?"& ":"")+ke[De],ke=ke.join(Re>2?", ":" "),be.replace(ye,`{
|
|
42
|
+
/* [wrapped with `+ke+`] */
|
|
43
|
+
`)}(me,function(be,ke){return ut(b,function(Re){var De="_."+Re[0];ke&Re[1]&&!Gt(be,De)&&be.push(De)}),be.sort()}(function(be){var ke=be.match(xe);return ke?ke[1].split(Le):[]}(me),oe)))}function Cs(C){var z=0,oe=0;return function(){var me=Cu(),be=16-(me-oe);if(oe=me,be>0){if(++z>=800)return arguments[0]}else z=0;return C.apply(A,arguments)}}function ro(C,z){var oe=-1,me=C.length,be=me-1;for(z=z===A?me:z;++oe<z;){var ke=Lo(oe,be),Re=C[ke];C[ke]=C[oe],C[oe]=Re}return C.length=z,C}var ia,ra,Ps=(ia=uo(function(C){var z=[];return C.charCodeAt(0)===46&&z.push(""),C.replace(Be,function(oe,me,be,ke){z.push(be?ke.replace(wt,"$1"):me||oe)}),z},function(C){return ra.size===500&&ra.clear(),C}),ra=ia.cache,ia);function wi(C){if(typeof C=="string"||oi(C))return C;var z=C+"";return z=="0"&&1/C==-1/0?"-0":z}function Gi(C){if(C!=null){try{return Rr.call(C)}catch{}try{return C+""}catch{}}return""}function Bs(C){if(C instanceof un)return C.clone();var z=new ui(C.__wrapped__,C.__chain__);return z.__actions__=Qn(C.__actions__),z.__index__=C.__index__,z.__values__=C.__values__,z}var rc=sn(function(C,z){return Bn(C)?br(C,zn(z,1,Bn,!0)):[]}),oc=sn(function(C,z){var oe=hi(z);return Bn(oe)&&(oe=A),Bn(C)?br(C,zn(z,1,Bn,!0),Vt(oe,2)):[]}),ac=sn(function(C,z){var oe=hi(z);return Bn(oe)&&(oe=A),Bn(C)?br(C,zn(z,1,Bn,!0),A,oe):[]});function Ds(C,z,oe){var me=C==null?0:C.length;if(!me)return-1;var be=oe==null?0:rn(oe);return be<0&&(be=Un(me+be,0)),Nn(C,Vt(z,3),be)}function Ls(C,z,oe){var me=C==null?0:C.length;if(!me)return-1;var be=me-1;return oe!==A&&(be=rn(oe),be=oe<0?Un(me+be,0):Hn(be,me-1)),Nn(C,Vt(z,3),be,!0)}function qs(C){return C!=null&&C.length?zn(C,1):[]}function Us(C){return C&&C.length?C[0]:A}var sc=sn(function(C){var z=Ct(C,zo);return z.length&&z[0]===C[0]?Ro(z):[]}),uc=sn(function(C){var z=hi(C),oe=Ct(C,zo);return z===hi(oe)?z=A:oe.pop(),oe.length&&oe[0]===C[0]?Ro(oe,Vt(z,2)):[]}),cc=sn(function(C){var z=hi(C),oe=Ct(C,zo);return(z=typeof z=="function"?z:A)&&oe.pop(),oe.length&&oe[0]===C[0]?Ro(oe,A,z):[]});function hi(C){var z=C==null?0:C.length;return z?C[z-1]:A}var lc=sn(Fs);function Fs(C,z){return C&&C.length&&z&&z.length?Do(C,z):C}var hc=Ti(function(C,z){var oe=C==null?0:C.length,me=Oo(C,z);return es(C,Ct(z,function(be){return Oi(be,oe)?+be:be}).sort(ls)),me});function oa(C){return C==null?C:Bu.call(C)}var fc=sn(function(C){return Li(zn(C,1,Bn,!0))}),pc=sn(function(C){var z=hi(C);return Bn(z)&&(z=A),Li(zn(C,1,Bn,!0),Vt(z,2))}),dc=sn(function(C){var z=hi(C);return z=typeof z=="function"?z:A,Li(zn(C,1,Bn,!0),A,z)});function aa(C){if(!C||!C.length)return[];var z=0;return C=Xt(C,function(oe){if(Bn(oe))return z=Un(oe.length,z),!0}),xo(z,function(oe){return Ct(C,Mi(oe))})}function $s(C,z){if(!C||!C.length)return[];var oe=aa(C);return z==null?oe:Ct(oe,function(me){return We(z,A,me)})}var mc=sn(function(C,z){return Bn(C)?br(C,z):[]}),gc=sn(function(C){return $o(Xt(C,Bn))}),vc=sn(function(C){var z=hi(C);return Bn(z)&&(z=A),$o(Xt(C,Bn),Vt(z,2))}),yc=sn(function(C){var z=hi(C);return z=typeof z=="function"?z:A,$o(Xt(C,Bn),A,z)}),bc=sn(aa),wc=sn(function(C){var z=C.length,oe=z>1?C[z-1]:A;return oe=typeof oe=="function"?(C.pop(),oe):A,$s(C,oe)});function zs(C){var z=_e(C);return z.__chain__=!0,z}function oo(C,z){return z(C)}var xc=Ti(function(C){var z=C.length,oe=z?C[0]:0,me=this.__wrapped__,be=function(ke){return Oo(ke,C)};return!(z>1||this.__actions__.length)&&me instanceof un&&Oi(oe)?((me=me.slice(oe,+oe+(z?1:0))).__actions__.push({func:oo,args:[be],thisArg:A}),new ui(me,this.__chain__).thru(function(ke){return z&&!ke.length&&ke.push(A),ke})):this.thru(be)}),_c=Yr(function(C,z,oe){Tn.call(C,oe)?++C[oe]:Si(C,oe,1)}),Mc=gs(Ds),Ec=gs(Ls);function Vs(C,z){return(nn(C)?ut:Di)(C,Vt(z,3))}function Hs(C,z){return(nn(C)?yt:Fa)(C,Vt(z,3))}var kc=Yr(function(C,z,oe){Tn.call(C,oe)?C[oe].push(z):Si(C,oe,[z])}),Sc=sn(function(C,z,oe){var me=-1,be=typeof z=="function",ke=ei(C)?Et(C.length):[];return Di(C,function(Re){ke[++me]=be?We(z,Re,oe):wr(Re,z,oe)}),ke}),Ac=Yr(function(C,z,oe){Si(C,oe,z)});function ao(C,z){return(nn(C)?Ct:Za)(C,Vt(z,3))}var Tc=Yr(function(C,z,oe){C[oe?0:1].push(z)},function(){return[[],[]]}),Oc=sn(function(C,z){if(C==null)return[];var oe=z.length;return oe>1&&Xn(C,z[0],z[1])?z=[]:oe>2&&Xn(z[0],z[1],z[2])&&(z=[z[0]]),Ja(C,zn(z,1),[])}),so=Ou||function(){return Ln.Date.now()};function Ks(C,z,oe){return z=oe?A:z,z=C&&z==null?C.length:z,Ai(C,w,A,A,A,A,z)}function Ws(C,z){var oe;if(typeof z!="function")throw new si(O);return C=rn(C),function(){return--C>0&&(oe=z.apply(this,arguments)),C<=1&&(z=A),oe}}var sa=sn(function(C,z,oe){var me=1;if(oe.length){var be=Pi(oe,sr(sa));me|=j}return Ai(C,me,z,oe,be)}),Zs=sn(function(C,z,oe){var me=3;if(oe.length){var be=Pi(oe,sr(Zs));me|=j}return Ai(z,me,C,oe,be)});function Gs(C,z,oe){var me,be,ke,Re,De,Ye,pt=0,dt=!1,bt=!1,At=!0;if(typeof C!="function")throw new si(O);function Rt(Mt){var tn=me,Yt=be;return me=be=A,pt=Mt,Re=C.apply(Yt,tn)}function Ft(Mt){var tn=Mt-Ye;return Ye===A||tn>=z||tn<0||bt&&Mt-pt>=ke}function gt(){var Mt=so();if(Ft(Mt))return xt(Mt);De=kr(gt,function(tn){var Yt=z-(tn-Ye);return bt?Hn(Yt,ke-(tn-pt)):Yt}(Mt))}function xt(Mt){return De=A,At&&me?Rt(Mt):(me=be=A,Re)}function qt(){var Mt=so(),tn=Ft(Mt);if(me=arguments,be=this,Ye=Mt,tn){if(De===A)return function(Yt){return pt=Yt,De=kr(gt,z),dt?Rt(Yt):Re}(Ye);if(bt)return ss(De),De=kr(gt,z),Rt(Ye)}return De===A&&(De=kr(gt,z)),Re}return z=fi(z)||0,Rn(oe)&&(dt=!!oe.leading,ke=(bt="maxWait"in oe)?Un(fi(oe.maxWait)||0,z):ke,At="trailing"in oe?!!oe.trailing:At),qt.cancel=function(){De!==A&&ss(De),pt=0,me=Ye=be=De=A},qt.flush=function(){return De===A?Re:xt(so())},qt}var Ic=sn(function(C,z){return Ua(C,1,z)}),jc=sn(function(C,z,oe){return Ua(C,fi(z)||0,oe)});function uo(C,z){if(typeof C!="function"||z!=null&&typeof z!="function")throw new si(O);var oe=function(){var me=arguments,be=z?z.apply(this,me):me[0],ke=oe.cache;if(ke.has(be))return ke.get(be);var Re=C.apply(this,me);return oe.cache=ke.set(be,Re)||ke,Re};return oe.cache=new(uo.Cache||ki),oe}function co(C){if(typeof C!="function")throw new si(O);return function(){var z=arguments;switch(z.length){case 0:return!C.call(this);case 1:return!C.call(this,z[0]);case 2:return!C.call(this,z[0],z[1]);case 3:return!C.call(this,z[0],z[1],z[2])}return!C.apply(this,z)}}uo.Cache=ki;var Nc=Qu(function(C,z){var oe=(z=z.length==1&&nn(z[0])?Ct(z[0],ii(Vt())):Ct(zn(z,1),ii(Vt()))).length;return sn(function(me){for(var be=-1,ke=Hn(me.length,oe);++be<ke;)me[be]=z[be].call(this,me[be]);return We(C,this,me)})}),ua=sn(function(C,z){var oe=Pi(z,sr(ua));return Ai(C,j,A,z,oe)}),Xs=sn(function(C,z){var oe=Pi(z,sr(Xs));return Ai(C,64,A,z,oe)}),Rc=Ti(function(C,z){return Ai(C,256,A,A,A,z)});function mi(C,z){return C===z||C!=C&&z!=z}var Cc=to(No),Pc=to(function(C,z){return C>=z}),Xi=Ha(function(){return arguments}())?Ha:function(C){return Pn(C)&&Tn.call(C,"callee")&&!ja.call(C,"callee")},nn=Et.isArray,Bc=Tr?ii(Tr):function(C){return Pn(C)&&Gn(C)==t};function ei(C){return C!=null&&lo(C.length)&&!Ii(C)}function Bn(C){return Pn(C)&&ei(C)}var Fi=ju||ba,Dc=Te?ii(Te):function(C){return Pn(C)&&Gn(C)==$};function ca(C){if(!Pn(C))return!1;var z=Gn(C);return z==P||z=="[object DOMException]"||typeof C.message=="string"&&typeof C.name=="string"&&!Sr(C)}function Ii(C){if(!Rn(C))return!1;var z=Gn(C);return z==W||z==G||z=="[object AsyncFunction]"||z=="[object Proxy]"}function Ys(C){return typeof C=="number"&&C==rn(C)}function lo(C){return typeof C=="number"&&C>-1&&C%1==0&&C<=_}function Rn(C){var z=typeof C;return C!=null&&(z=="object"||z=="function")}function Pn(C){return C!=null&&typeof C=="object"}var Js=Ee?ii(Ee):function(C){return Pn(C)&&Kn(C)==Q};function Qs(C){return typeof C=="number"||Pn(C)&&Gn(C)==te}function Sr(C){if(!Pn(C)||Gn(C)!=se)return!1;var z=Dr(C);if(z===null)return!0;var oe=Tn.call(z,"constructor")&&z.constructor;return typeof oe=="function"&&oe instanceof oe&&Rr.call(oe)==ku}var la=Se?ii(Se):function(C){return Pn(C)&&Gn(C)==de},eu=qe?ii(qe):function(C){return Pn(C)&&Kn(C)==e};function ho(C){return typeof C=="string"||!nn(C)&&Pn(C)&&Gn(C)==a}function oi(C){return typeof C=="symbol"||Pn(C)&&Gn(C)==o}var ur=at?ii(at):function(C){return Pn(C)&&lo(C.length)&&!!Bt[Gn(C)]},Lc=to(Bo),qc=to(function(C,z){return C<=z});function tu(C){if(!C)return[];if(ei(C))return ho(C)?pi(C):Qn(C);if(pr&&C[pr])return function(oe){for(var me,be=[];!(me=oe.next()).done;)be.push(me.value);return be}(C[pr]());var z=Kn(C);return(z==Q?Mo:z==e?Or:cr)(C)}function ji(C){return C?(C=fi(C))===S||C===-1/0?17976931348623157e292*(C<0?-1:1):C==C?C:0:C===0?C:0}function rn(C){var z=ji(C),oe=z%1;return z==z?oe?z-oe:z:0}function nu(C){return C?Ki(rn(C),0,I):0}function fi(C){if(typeof C=="number")return C;if(oi(C))return N;if(Rn(C)){var z=typeof C.valueOf=="function"?C.valueOf():C;C=Rn(z)?z+"":z}if(typeof C!="string")return C===0?C:+C;C=Ma(C);var oe=He.test(C);return oe||kt.test(C)?gi(C.slice(2),oe?2:8):It.test(C)?N:+C}function iu(C){return bi(C,ti(C))}function An(C){return C==null?"":ri(C)}var Uc=or(function(C,z){if(Er(z)||ei(z))bi(z,$n(z),C);else for(var oe in z)Tn.call(z,oe)&&yr(C,oe,z[oe])}),ru=or(function(C,z){bi(z,ti(z),C)}),fo=or(function(C,z,oe,me){bi(z,ti(z),C,me)}),Fc=or(function(C,z,oe,me){bi(z,$n(z),C,me)}),$c=Ti(Oo),zc=sn(function(C,z){C=In(C);var oe=-1,me=z.length,be=me>2?z[2]:A;for(be&&Xn(z[0],z[1],be)&&(me=1);++oe<me;)for(var ke=z[oe],Re=ti(ke),De=-1,Ye=Re.length;++De<Ye;){var pt=Re[De],dt=C[pt];(dt===A||mi(dt,tr[pt])&&!Tn.call(C,pt))&&(C[pt]=ke[pt])}return C}),Vc=sn(function(C){return C.push(A,Ms),We(ou,A,C)});function ha(C,z,oe){var me=C==null?A:Wi(C,z);return me===A?oe:me}function fa(C,z){return C!=null&&Ss(C,z,Wu)}var Hc=ys(function(C,z,oe){z!=null&&typeof z.toString!="function"&&(z=Cr.call(z)),C[z]=oe},da(ni)),Kc=ys(function(C,z,oe){z!=null&&typeof z.toString!="function"&&(z=Cr.call(z)),Tn.call(C,z)?C[z].push(oe):C[z]=[oe]},Vt),Wc=sn(wr);function $n(C){return ei(C)?Ba(C):Po(C)}function ti(C){return ei(C)?Ba(C,!0):function(z){if(!Rn(z))return function(ke){var Re=[];if(ke!=null)for(var De in In(ke))Re.push(De);return Re}(z);var oe=Er(z),me=[];for(var be in z)(be!="constructor"||!oe&&Tn.call(z,be))&&me.push(be);return me}(C)}var Zc=or(function(C,z,oe){Zr(C,z,oe)}),ou=or(function(C,z,oe,me){Zr(C,z,oe,me)}),Gc=Ti(function(C,z){var oe={};if(C==null)return oe;var me=!1;z=Ct(z,function(ke){return ke=qi(ke,C),me||(me=ke.length>1),ke}),bi(C,Go(C),oe),me&&(oe=ci(oe,7,tc));for(var be=z.length;be--;)Fo(oe,z[be]);return oe}),Xc=Ti(function(C,z){return C==null?{}:function(oe,me){return Qa(oe,me,function(be,ke){return fa(oe,ke)})}(C,z)});function au(C,z){if(C==null)return{};var oe=Ct(Go(C),function(me){return[me]});return z=Vt(z),Qa(C,oe,function(me,be){return z(me,be[0])})}var su=xs($n),uu=xs(ti);function cr(C){return C==null?[]:_o(C,$n(C))}var Yc=ar(function(C,z,oe){return z=z.toLowerCase(),C+(oe?cu(z):z)});function cu(C){return pa(An(C).toLowerCase())}function lu(C){return(C=An(C))&&C.replace(nt,vu).replace(bn,"")}var Jc=ar(function(C,z,oe){return C+(oe?"-":"")+z.toLowerCase()}),Qc=ar(function(C,z,oe){return C+(oe?" ":"")+z.toLowerCase()}),el=ms("toLowerCase"),tl=ar(function(C,z,oe){return C+(oe?"_":"")+z.toLowerCase()}),nl=ar(function(C,z,oe){return C+(oe?" ":"")+pa(z)}),il=ar(function(C,z,oe){return C+(oe?" ":"")+z.toUpperCase()}),pa=ms("toUpperCase");function hu(C,z,oe){return C=An(C),(z=oe?A:z)===A?function(me){return xn.test(me)}(C)?function(me){return me.match(wn)||[]}(C):function(me){return me.match(Oe)||[]}(C):C.match(z)||[]}var fu=sn(function(C,z){try{return We(C,A,z)}catch(oe){return ca(oe)?oe:new dn(oe)}}),rl=Ti(function(C,z){return ut(z,function(oe){oe=wi(oe),Si(C,oe,sa(C[oe],C))}),C});function da(C){return function(){return C}}var ol=vs(),al=vs(!0);function ni(C){return C}function ma(C){return Wa(typeof C=="function"?C:ci(C,1))}var sl=sn(function(C,z){return function(oe){return wr(oe,C,z)}}),ul=sn(function(C,z){return function(oe){return wr(C,oe,z)}});function ga(C,z,oe){var me=$n(z),be=Wr(z,me);oe!=null||Rn(z)&&(be.length||!me.length)||(oe=z,z=C,C=this,be=Wr(z,$n(z)));var ke=!(Rn(oe)&&"chain"in oe&&!oe.chain),Re=Ii(C);return ut(be,function(De){var Ye=z[De];C[De]=Ye,Re&&(C.prototype[De]=function(){var pt=this.__chain__;if(ke||pt){var dt=C(this.__wrapped__);return(dt.__actions__=Qn(this.__actions__)).push({func:Ye,args:arguments,thisArg:C}),dt.__chain__=pt,dt}return Ye.apply(C,Cn([this.value()],arguments))})}),C}function va(){}var cl=Ko(Ct),ll=Ko(Ot),hl=Ko(Nt);function pu(C){return Qo(C)?Mi(wi(C)):function(z){return function(oe){return Wi(oe,z)}}(C)}var fl=bs(),pl=bs(!0);function ya(){return[]}function ba(){return!1}var wa,dl=Qr(function(C,z){return C+z},0),ml=Wo("ceil"),gl=Qr(function(C,z){return C/z},1),vl=Wo("floor"),yl=Qr(function(C,z){return C*z},1),bl=Wo("round"),wl=Qr(function(C,z){return C-z},0);return _e.after=function(C,z){if(typeof z!="function")throw new si(O);return C=rn(C),function(){if(--C<1)return z.apply(this,arguments)}},_e.ary=Ks,_e.assign=Uc,_e.assignIn=ru,_e.assignInWith=fo,_e.assignWith=Fc,_e.at=$c,_e.before=Ws,_e.bind=sa,_e.bindAll=rl,_e.bindKey=Zs,_e.castArray=function(){if(!arguments.length)return[];var C=arguments[0];return nn(C)?C:[C]},_e.chain=zs,_e.chunk=function(C,z,oe){z=(oe?Xn(C,z,oe):z===A)?1:Un(rn(z),0);var me=C==null?0:C.length;if(!me||z<1)return[];for(var be=0,ke=0,Re=Et(Ur(me/z));be<me;)Re[ke++]=li(C,be,be+=z);return Re},_e.compact=function(C){for(var z=-1,oe=C==null?0:C.length,me=0,be=[];++z<oe;){var ke=C[z];ke&&(be[me++]=ke)}return be},_e.concat=function(){var C=arguments.length;if(!C)return[];for(var z=Et(C-1),oe=arguments[0],me=C;me--;)z[me-1]=arguments[me];return Cn(nn(oe)?Qn(oe):[oe],zn(z,1))},_e.cond=function(C){var z=C==null?0:C.length,oe=Vt();return C=z?Ct(C,function(me){if(typeof me[1]!="function")throw new si(O);return[oe(me[0]),me[1]]}):[],sn(function(me){for(var be=-1;++be<z;){var ke=C[be];if(We(ke[0],this,me))return We(ke[1],this,me)}})},_e.conforms=function(C){return function(z){var oe=$n(z);return function(me){return qa(me,z,oe)}}(ci(C,1))},_e.constant=da,_e.countBy=_c,_e.create=function(C,z){var oe=rr(C);return z==null?oe:La(oe,z)},_e.curry=function C(z,oe,me){var be=Ai(z,8,A,A,A,A,A,oe=me?A:oe);return be.placeholder=C.placeholder,be},_e.curryRight=function C(z,oe,me){var be=Ai(z,16,A,A,A,A,A,oe=me?A:oe);return be.placeholder=C.placeholder,be},_e.debounce=Gs,_e.defaults=zc,_e.defaultsDeep=Vc,_e.defer=Ic,_e.delay=jc,_e.difference=rc,_e.differenceBy=oc,_e.differenceWith=ac,_e.drop=function(C,z,oe){var me=C==null?0:C.length;return me?li(C,(z=oe||z===A?1:rn(z))<0?0:z,me):[]},_e.dropRight=function(C,z,oe){var me=C==null?0:C.length;return me?li(C,0,(z=me-(z=oe||z===A?1:rn(z)))<0?0:z):[]},_e.dropRightWhile=function(C,z){return C&&C.length?Xr(C,Vt(z,3),!0,!0):[]},_e.dropWhile=function(C,z){return C&&C.length?Xr(C,Vt(z,3),!0):[]},_e.fill=function(C,z,oe,me){var be=C==null?0:C.length;return be?(oe&&typeof oe!="number"&&Xn(C,z,oe)&&(oe=0,me=be),function(ke,Re,De,Ye){var pt=ke.length;for((De=rn(De))<0&&(De=-De>pt?0:pt+De),(Ye=Ye===A||Ye>pt?pt:rn(Ye))<0&&(Ye+=pt),Ye=De>Ye?0:nu(Ye);De<Ye;)ke[De++]=Re;return ke}(C,z,oe,me)):[]},_e.filter=function(C,z){return(nn(C)?Xt:$a)(C,Vt(z,3))},_e.flatMap=function(C,z){return zn(ao(C,z),1)},_e.flatMapDeep=function(C,z){return zn(ao(C,z),S)},_e.flatMapDepth=function(C,z,oe){return oe=oe===A?1:rn(oe),zn(ao(C,z),oe)},_e.flatten=qs,_e.flattenDeep=function(C){return C!=null&&C.length?zn(C,S):[]},_e.flattenDepth=function(C,z){return C!=null&&C.length?zn(C,z=z===A?1:rn(z)):[]},_e.flip=function(C){return Ai(C,512)},_e.flow=ol,_e.flowRight=al,_e.fromPairs=function(C){for(var z=-1,oe=C==null?0:C.length,me={};++z<oe;){var be=C[z];me[be[0]]=be[1]}return me},_e.functions=function(C){return C==null?[]:Wr(C,$n(C))},_e.functionsIn=function(C){return C==null?[]:Wr(C,ti(C))},_e.groupBy=kc,_e.initial=function(C){return C!=null&&C.length?li(C,0,-1):[]},_e.intersection=sc,_e.intersectionBy=uc,_e.intersectionWith=cc,_e.invert=Hc,_e.invertBy=Kc,_e.invokeMap=Sc,_e.iteratee=ma,_e.keyBy=Ac,_e.keys=$n,_e.keysIn=ti,_e.map=ao,_e.mapKeys=function(C,z){var oe={};return z=Vt(z,3),yi(C,function(me,be,ke){Si(oe,z(me,be,ke),me)}),oe},_e.mapValues=function(C,z){var oe={};return z=Vt(z,3),yi(C,function(me,be,ke){Si(oe,be,z(me,be,ke))}),oe},_e.matches=function(C){return Ga(ci(C,1))},_e.matchesProperty=function(C,z){return Xa(C,ci(z,1))},_e.memoize=uo,_e.merge=Zc,_e.mergeWith=ou,_e.method=sl,_e.methodOf=ul,_e.mixin=ga,_e.negate=co,_e.nthArg=function(C){return C=rn(C),sn(function(z){return Ya(z,C)})},_e.omit=Gc,_e.omitBy=function(C,z){return au(C,co(Vt(z)))},_e.once=function(C){return Ws(2,C)},_e.orderBy=function(C,z,oe,me){return C==null?[]:(nn(z)||(z=z==null?[]:[z]),nn(oe=me?A:oe)||(oe=oe==null?[]:[oe]),Ja(C,z,oe))},_e.over=cl,_e.overArgs=Nc,_e.overEvery=ll,_e.overSome=hl,_e.partial=ua,_e.partialRight=Xs,_e.partition=Tc,_e.pick=Xc,_e.pickBy=au,_e.property=pu,_e.propertyOf=function(C){return function(z){return C==null?A:Wi(C,z)}},_e.pull=lc,_e.pullAll=Fs,_e.pullAllBy=function(C,z,oe){return C&&C.length&&z&&z.length?Do(C,z,Vt(oe,2)):C},_e.pullAllWith=function(C,z,oe){return C&&C.length&&z&&z.length?Do(C,z,A,oe):C},_e.pullAt=hc,_e.range=fl,_e.rangeRight=pl,_e.rearg=Rc,_e.reject=function(C,z){return(nn(C)?Xt:$a)(C,co(Vt(z,3)))},_e.remove=function(C,z){var oe=[];if(!C||!C.length)return oe;var me=-1,be=[],ke=C.length;for(z=Vt(z,3);++me<ke;){var Re=C[me];z(Re,me,C)&&(oe.push(Re),be.push(me))}return es(C,be),oe},_e.rest=function(C,z){if(typeof C!="function")throw new si(O);return sn(C,z=z===A?z:rn(z))},_e.reverse=oa,_e.sampleSize=function(C,z,oe){return z=(oe?Xn(C,z,oe):z===A)?1:rn(z),(nn(C)?$u:Gu)(C,z)},_e.set=function(C,z,oe){return C==null?C:_r(C,z,oe)},_e.setWith=function(C,z,oe,me){return me=typeof me=="function"?me:A,C==null?C:_r(C,z,oe,me)},_e.shuffle=function(C){return(nn(C)?zu:Yu)(C)},_e.slice=function(C,z,oe){var me=C==null?0:C.length;return me?(oe&&typeof oe!="number"&&Xn(C,z,oe)?(z=0,oe=me):(z=z==null?0:rn(z),oe=oe===A?me:rn(oe)),li(C,z,oe)):[]},_e.sortBy=Oc,_e.sortedUniq=function(C){return C&&C.length?ns(C):[]},_e.sortedUniqBy=function(C,z){return C&&C.length?ns(C,Vt(z,2)):[]},_e.split=function(C,z,oe){return oe&&typeof oe!="number"&&Xn(C,z,oe)&&(z=oe=A),(oe=oe===A?I:oe>>>0)?(C=An(C))&&(typeof z=="string"||z!=null&&!la(z))&&!(z=ri(z))&&Qi(C)?Ui(pi(C),0,oe):C.split(z,oe):[]},_e.spread=function(C,z){if(typeof C!="function")throw new si(O);return z=z==null?0:Un(rn(z),0),sn(function(oe){var me=oe[z],be=Ui(oe,0,z);return me&&Cn(be,me),We(C,this,be)})},_e.tail=function(C){var z=C==null?0:C.length;return z?li(C,1,z):[]},_e.take=function(C,z,oe){return C&&C.length?li(C,0,(z=oe||z===A?1:rn(z))<0?0:z):[]},_e.takeRight=function(C,z,oe){var me=C==null?0:C.length;return me?li(C,(z=me-(z=oe||z===A?1:rn(z)))<0?0:z,me):[]},_e.takeRightWhile=function(C,z){return C&&C.length?Xr(C,Vt(z,3),!1,!0):[]},_e.takeWhile=function(C,z){return C&&C.length?Xr(C,Vt(z,3)):[]},_e.tap=function(C,z){return z(C),C},_e.throttle=function(C,z,oe){var me=!0,be=!0;if(typeof C!="function")throw new si(O);return Rn(oe)&&(me="leading"in oe?!!oe.leading:me,be="trailing"in oe?!!oe.trailing:be),Gs(C,z,{leading:me,maxWait:z,trailing:be})},_e.thru=oo,_e.toArray=tu,_e.toPairs=su,_e.toPairsIn=uu,_e.toPath=function(C){return nn(C)?Ct(C,wi):oi(C)?[C]:Qn(Ps(An(C)))},_e.toPlainObject=iu,_e.transform=function(C,z,oe){var me=nn(C),be=me||Fi(C)||ur(C);if(z=Vt(z,4),oe==null){var ke=C&&C.constructor;oe=be?me?new ke:[]:Rn(C)&&Ii(ke)?rr(Dr(C)):{}}return(be?ut:yi)(C,function(Re,De,Ye){return z(oe,Re,De,Ye)}),oe},_e.unary=function(C){return Ks(C,1)},_e.union=fc,_e.unionBy=pc,_e.unionWith=dc,_e.uniq=function(C){return C&&C.length?Li(C):[]},_e.uniqBy=function(C,z){return C&&C.length?Li(C,Vt(z,2)):[]},_e.uniqWith=function(C,z){return z=typeof z=="function"?z:A,C&&C.length?Li(C,A,z):[]},_e.unset=function(C,z){return C==null||Fo(C,z)},_e.unzip=aa,_e.unzipWith=$s,_e.update=function(C,z,oe){return C==null?C:rs(C,z,Vo(oe))},_e.updateWith=function(C,z,oe,me){return me=typeof me=="function"?me:A,C==null?C:rs(C,z,Vo(oe),me)},_e.values=cr,_e.valuesIn=function(C){return C==null?[]:_o(C,ti(C))},_e.without=mc,_e.words=hu,_e.wrap=function(C,z){return ua(Vo(z),C)},_e.xor=gc,_e.xorBy=vc,_e.xorWith=yc,_e.zip=bc,_e.zipObject=function(C,z){return as(C||[],z||[],yr)},_e.zipObjectDeep=function(C,z){return as(C||[],z||[],_r)},_e.zipWith=wc,_e.entries=su,_e.entriesIn=uu,_e.extend=ru,_e.extendWith=fo,ga(_e,_e),_e.add=dl,_e.attempt=fu,_e.camelCase=Yc,_e.capitalize=cu,_e.ceil=ml,_e.clamp=function(C,z,oe){return oe===A&&(oe=z,z=A),oe!==A&&(oe=(oe=fi(oe))==oe?oe:0),z!==A&&(z=(z=fi(z))==z?z:0),Ki(fi(C),z,oe)},_e.clone=function(C){return ci(C,4)},_e.cloneDeep=function(C){return ci(C,5)},_e.cloneDeepWith=function(C,z){return ci(C,5,z=typeof z=="function"?z:A)},_e.cloneWith=function(C,z){return ci(C,4,z=typeof z=="function"?z:A)},_e.conformsTo=function(C,z){return z==null||qa(C,z,$n(z))},_e.deburr=lu,_e.defaultTo=function(C,z){return C==null||C!=C?z:C},_e.divide=gl,_e.endsWith=function(C,z,oe){C=An(C),z=ri(z);var me=C.length,be=oe=oe===A?me:Ki(rn(oe),0,me);return(oe-=z.length)>=0&&C.slice(oe,be)==z},_e.eq=mi,_e.escape=function(C){return(C=An(C))&&we.test(C)?C.replace(ge,yu):C},_e.escapeRegExp=function(C){return(C=An(C))&&he.test(C)?C.replace(le,"\\$&"):C},_e.every=function(C,z,oe){var me=nn(C)?Ot:Hu;return oe&&Xn(C,z,oe)&&(z=A),me(C,Vt(z,3))},_e.find=Mc,_e.findIndex=Ds,_e.findKey=function(C,z){return Sn(C,Vt(z,3),yi)},_e.findLast=Ec,_e.findLastIndex=Ls,_e.findLastKey=function(C,z){return Sn(C,Vt(z,3),jo)},_e.floor=vl,_e.forEach=Vs,_e.forEachRight=Hs,_e.forIn=function(C,z){return C==null?C:Io(C,Vt(z,3),ti)},_e.forInRight=function(C,z){return C==null?C:za(C,Vt(z,3),ti)},_e.forOwn=function(C,z){return C&&yi(C,Vt(z,3))},_e.forOwnRight=function(C,z){return C&&jo(C,Vt(z,3))},_e.get=ha,_e.gt=Cc,_e.gte=Pc,_e.has=function(C,z){return C!=null&&Ss(C,z,Ku)},_e.hasIn=fa,_e.head=Us,_e.identity=ni,_e.includes=function(C,z,oe,me){C=ei(C)?C:cr(C),oe=oe&&!me?rn(oe):0;var be=C.length;return oe<0&&(oe=Un(be+oe,0)),ho(C)?oe<=be&&C.indexOf(z,oe)>-1:!!be&&On(C,z,oe)>-1},_e.indexOf=function(C,z,oe){var me=C==null?0:C.length;if(!me)return-1;var be=oe==null?0:rn(oe);return be<0&&(be=Un(me+be,0)),On(C,z,be)},_e.inRange=function(C,z,oe){return z=ji(z),oe===A?(oe=z,z=0):oe=ji(oe),function(me,be,ke){return me>=Hn(be,ke)&&me<Un(be,ke)}(C=fi(C),z,oe)},_e.invoke=Wc,_e.isArguments=Xi,_e.isArray=nn,_e.isArrayBuffer=Bc,_e.isArrayLike=ei,_e.isArrayLikeObject=Bn,_e.isBoolean=function(C){return C===!0||C===!1||Pn(C)&&Gn(C)==U},_e.isBuffer=Fi,_e.isDate=Dc,_e.isElement=function(C){return Pn(C)&&C.nodeType===1&&!Sr(C)},_e.isEmpty=function(C){if(C==null)return!0;if(ei(C)&&(nn(C)||typeof C=="string"||typeof C.splice=="function"||Fi(C)||ur(C)||Xi(C)))return!C.length;var z=Kn(C);if(z==Q||z==e)return!C.size;if(Er(C))return!Po(C).length;for(var oe in C)if(Tn.call(C,oe))return!1;return!0},_e.isEqual=function(C,z){return xr(C,z)},_e.isEqualWith=function(C,z,oe){var me=(oe=typeof oe=="function"?oe:A)?oe(C,z):A;return me===A?xr(C,z,A,oe):!!me},_e.isError=ca,_e.isFinite=function(C){return typeof C=="number"&&Ra(C)},_e.isFunction=Ii,_e.isInteger=Ys,_e.isLength=lo,_e.isMap=Js,_e.isMatch=function(C,z){return C===z||Co(C,z,Yo(z))},_e.isMatchWith=function(C,z,oe){return oe=typeof oe=="function"?oe:A,Co(C,z,Yo(z),oe)},_e.isNaN=function(C){return Qs(C)&&C!=+C},_e.isNative=function(C){if(ic(C))throw new dn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ka(C)},_e.isNil=function(C){return C==null},_e.isNull=function(C){return C===null},_e.isNumber=Qs,_e.isObject=Rn,_e.isObjectLike=Pn,_e.isPlainObject=Sr,_e.isRegExp=la,_e.isSafeInteger=function(C){return Ys(C)&&C>=-9007199254740991&&C<=_},_e.isSet=eu,_e.isString=ho,_e.isSymbol=oi,_e.isTypedArray=ur,_e.isUndefined=function(C){return C===A},_e.isWeakMap=function(C){return Pn(C)&&Kn(C)==r},_e.isWeakSet=function(C){return Pn(C)&&Gn(C)=="[object WeakSet]"},_e.join=function(C,z){return C==null?"":Nu.call(C,z)},_e.kebabCase=Jc,_e.last=hi,_e.lastIndexOf=function(C,z,oe){var me=C==null?0:C.length;if(!me)return-1;var be=me;return oe!==A&&(be=(be=rn(oe))<0?Un(me+be,0):Hn(be,me-1)),z==z?function(ke,Re,De){for(var Ye=De+1;Ye--;)if(ke[Ye]===Re)return Ye;return Ye}(C,z,be):Nn(C,ai,be,!0)},_e.lowerCase=Qc,_e.lowerFirst=el,_e.lt=Lc,_e.lte=qc,_e.max=function(C){return C&&C.length?Kr(C,ni,No):A},_e.maxBy=function(C,z){return C&&C.length?Kr(C,Vt(z,2),No):A},_e.mean=function(C){return Jn(C,ni)},_e.meanBy=function(C,z){return Jn(C,Vt(z,2))},_e.min=function(C){return C&&C.length?Kr(C,ni,Bo):A},_e.minBy=function(C,z){return C&&C.length?Kr(C,Vt(z,2),Bo):A},_e.stubArray=ya,_e.stubFalse=ba,_e.stubObject=function(){return{}},_e.stubString=function(){return""},_e.stubTrue=function(){return!0},_e.multiply=yl,_e.nth=function(C,z){return C&&C.length?Ya(C,rn(z)):A},_e.noConflict=function(){return Ln._===this&&(Ln._=Su),this},_e.noop=va,_e.now=so,_e.pad=function(C,z,oe){C=An(C);var me=(z=rn(z))?er(C):0;if(!z||me>=z)return C;var be=(z-me)/2;return eo(Fr(be),oe)+C+eo(Ur(be),oe)},_e.padEnd=function(C,z,oe){C=An(C);var me=(z=rn(z))?er(C):0;return z&&me<z?C+eo(z-me,oe):C},_e.padStart=function(C,z,oe){C=An(C);var me=(z=rn(z))?er(C):0;return z&&me<z?eo(z-me,oe)+C:C},_e.parseInt=function(C,z,oe){return oe||z==null?z=0:z&&(z=+z),Pu(An(C).replace(fe,""),z||0)},_e.random=function(C,z,oe){if(oe&&typeof oe!="boolean"&&Xn(C,z,oe)&&(z=oe=A),oe===A&&(typeof z=="boolean"?(oe=z,z=A):typeof C=="boolean"&&(oe=C,C=A)),C===A&&z===A?(C=0,z=1):(C=ji(C),z===A?(z=C,C=0):z=ji(z)),C>z){var me=C;C=z,z=me}if(oe||C%1||z%1){var be=Ca();return Hn(C+be*(z-C+En("1e-"+((be+"").length-1))),z)}return Lo(C,z)},_e.reduce=function(C,z,oe){var me=nn(C)?St:_a,be=arguments.length<3;return me(C,Vt(z,4),oe,be,Di)},_e.reduceRight=function(C,z,oe){var me=nn(C)?Tt:_a,be=arguments.length<3;return me(C,Vt(z,4),oe,be,Fa)},_e.repeat=function(C,z,oe){return z=(oe?Xn(C,z,oe):z===A)?1:rn(z),qo(An(C),z)},_e.replace=function(){var C=arguments,z=An(C[0]);return C.length<3?z:z.replace(C[1],C[2])},_e.result=function(C,z,oe){var me=-1,be=(z=qi(z,C)).length;for(be||(be=1,C=A);++me<be;){var ke=C==null?A:C[wi(z[me])];ke===A&&(me=be,ke=oe),C=Ii(ke)?ke.call(C):ke}return C},_e.round=bl,_e.runInContext=it,_e.sample=function(C){return(nn(C)?Da:Zu)(C)},_e.size=function(C){if(C==null)return 0;if(ei(C))return ho(C)?er(C):C.length;var z=Kn(C);return z==Q||z==e?C.size:Po(C).length},_e.snakeCase=tl,_e.some=function(C,z,oe){var me=nn(C)?Nt:Ju;return oe&&Xn(C,z,oe)&&(z=A),me(C,Vt(z,3))},_e.sortedIndex=function(C,z){return Gr(C,z)},_e.sortedIndexBy=function(C,z,oe){return Uo(C,z,Vt(oe,2))},_e.sortedIndexOf=function(C,z){var oe=C==null?0:C.length;if(oe){var me=Gr(C,z);if(me<oe&&mi(C[me],z))return me}return-1},_e.sortedLastIndex=function(C,z){return Gr(C,z,!0)},_e.sortedLastIndexBy=function(C,z,oe){return Uo(C,z,Vt(oe,2),!0)},_e.sortedLastIndexOf=function(C,z){if(C!=null&&C.length){var oe=Gr(C,z,!0)-1;if(mi(C[oe],z))return oe}return-1},_e.startCase=nl,_e.startsWith=function(C,z,oe){return C=An(C),oe=oe==null?0:Ki(rn(oe),0,C.length),z=ri(z),C.slice(oe,oe+z.length)==z},_e.subtract=wl,_e.sum=function(C){return C&&C.length?wo(C,ni):0},_e.sumBy=function(C,z){return C&&C.length?wo(C,Vt(z,2)):0},_e.template=function(C,z,oe){var me=_e.templateSettings;oe&&Xn(C,z,oe)&&(z=A),C=An(C),z=fo({},z,me,_s);var be,ke,Re=fo({},z.imports,me.imports,_s),De=$n(Re),Ye=_o(Re,De),pt=0,dt=z.interpolate||_t,bt="__p += '",At=Eo((z.escape||_t).source+"|"+dt.source+"|"+(dt===Ae?Ne:_t).source+"|"+(z.evaluate||_t).source+"|$","g"),Rt="//# sourceURL="+(Tn.call(z,"sourceURL")?(z.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++pn+"]")+`
|
|
44
|
+
`;C.replace(At,function(xt,qt,Mt,tn,Yt,kn){return Mt||(Mt=tn),bt+=C.slice(pt,kn).replace($e,bu),qt&&(be=!0,bt+=`' +
|
|
45
|
+
__e(`+qt+`) +
|
|
46
|
+
'`),Yt&&(ke=!0,bt+=`';
|
|
47
|
+
`+Yt+`;
|
|
48
|
+
__p += '`),Mt&&(bt+=`' +
|
|
49
|
+
((__t = (`+Mt+`)) == null ? '' : __t) +
|
|
50
|
+
'`),pt=kn+xt.length,xt}),bt+=`';
|
|
51
|
+
`;var Ft=Tn.call(z,"variable")&&z.variable;if(Ft){if(Pe.test(Ft))throw new dn("Invalid `variable` option passed into `_.template`")}else bt=`with (obj) {
|
|
52
|
+
`+bt+`
|
|
53
|
+
}
|
|
54
|
+
`;bt=(ke?bt.replace(Y,""):bt).replace(ne,"$1").replace(J,"$1;"),bt="function("+(Ft||"obj")+`) {
|
|
55
|
+
`+(Ft?"":`obj || (obj = {});
|
|
56
|
+
`)+"var __t, __p = ''"+(be?", __e = _.escape":"")+(ke?`, __j = Array.prototype.join;
|
|
57
|
+
function print() { __p += __j.call(arguments, '') }
|
|
58
|
+
`:`;
|
|
59
|
+
`)+bt+`return __p
|
|
60
|
+
}`;var gt=fu(function(){return qn(De,Rt+"return "+bt).apply(A,Ye)});if(gt.source=bt,ca(gt))throw gt;return gt},_e.times=function(C,z){if((C=rn(C))<1||C>_)return[];var oe=I,me=Hn(C,I);z=Vt(z),C-=I;for(var be=xo(me,z);++oe<C;)z(oe);return be},_e.toFinite=ji,_e.toInteger=rn,_e.toLength=nu,_e.toLower=function(C){return An(C).toLowerCase()},_e.toNumber=fi,_e.toSafeInteger=function(C){return C?Ki(rn(C),-9007199254740991,_):C===0?C:0},_e.toString=An,_e.toUpper=function(C){return An(C).toUpperCase()},_e.trim=function(C,z,oe){if((C=An(C))&&(oe||z===A))return Ma(C);if(!C||!(z=ri(z)))return C;var me=pi(C),be=pi(z);return Ui(me,Ea(me,be),ka(me,be)+1).join("")},_e.trimEnd=function(C,z,oe){if((C=An(C))&&(oe||z===A))return C.slice(0,Aa(C)+1);if(!C||!(z=ri(z)))return C;var me=pi(C);return Ui(me,0,ka(me,pi(z))+1).join("")},_e.trimStart=function(C,z,oe){if((C=An(C))&&(oe||z===A))return C.replace(fe,"");if(!C||!(z=ri(z)))return C;var me=pi(C);return Ui(me,Ea(me,pi(z))).join("")},_e.truncate=function(C,z){var oe=30,me="...";if(Rn(z)){var be="separator"in z?z.separator:be;oe="length"in z?rn(z.length):oe,me="omission"in z?ri(z.omission):me}var ke=(C=An(C)).length;if(Qi(C)){var Re=pi(C);ke=Re.length}if(oe>=ke)return C;var De=oe-er(me);if(De<1)return me;var Ye=Re?Ui(Re,0,De).join(""):C.slice(0,De);if(be===A)return Ye+me;if(Re&&(De+=Ye.length-De),la(be)){if(C.slice(De).search(be)){var pt,dt=Ye;for(be.global||(be=Eo(be.source,An(Ue.exec(be))+"g")),be.lastIndex=0;pt=be.exec(dt);)var bt=pt.index;Ye=Ye.slice(0,bt===A?De:bt)}}else if(C.indexOf(ri(be),De)!=De){var At=Ye.lastIndexOf(be);At>-1&&(Ye=Ye.slice(0,At))}return Ye+me},_e.unescape=function(C){return(C=An(C))&&pe.test(C)?C.replace(ee,xu):C},_e.uniqueId=function(C){var z=++Eu;return An(C)+z},_e.upperCase=il,_e.upperFirst=pa,_e.each=Vs,_e.eachRight=Hs,_e.first=Us,ga(_e,(wa={},yi(_e,function(C,z){Tn.call(_e.prototype,z)||(wa[z]=C)}),wa),{chain:!1}),_e.VERSION="4.17.21",ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(C){_e[C].placeholder=_e}),ut(["drop","take"],function(C,z){un.prototype[C]=function(oe){oe=oe===A?1:Un(rn(oe),0);var me=this.__filtered__&&!z?new un(this):this.clone();return me.__filtered__?me.__takeCount__=Hn(oe,me.__takeCount__):me.__views__.push({size:Hn(oe,I),type:C+(me.__dir__<0?"Right":"")}),me},un.prototype[C+"Right"]=function(oe){return this.reverse()[C](oe).reverse()}}),ut(["filter","map","takeWhile"],function(C,z){var oe=z+1,me=oe==1||oe==3;un.prototype[C]=function(be){var ke=this.clone();return ke.__iteratees__.push({iteratee:Vt(be,3),type:oe}),ke.__filtered__=ke.__filtered__||me,ke}}),ut(["head","last"],function(C,z){var oe="take"+(z?"Right":"");un.prototype[C]=function(){return this[oe](1).value()[0]}}),ut(["initial","tail"],function(C,z){var oe="drop"+(z?"":"Right");un.prototype[C]=function(){return this.__filtered__?new un(this):this[oe](1)}}),un.prototype.compact=function(){return this.filter(ni)},un.prototype.find=function(C){return this.filter(C).head()},un.prototype.findLast=function(C){return this.reverse().find(C)},un.prototype.invokeMap=sn(function(C,z){return typeof C=="function"?new un(this):this.map(function(oe){return wr(oe,C,z)})}),un.prototype.reject=function(C){return this.filter(co(Vt(C)))},un.prototype.slice=function(C,z){C=rn(C);var oe=this;return oe.__filtered__&&(C>0||z<0)?new un(oe):(C<0?oe=oe.takeRight(-C):C&&(oe=oe.drop(C)),z!==A&&(oe=(z=rn(z))<0?oe.dropRight(-z):oe.take(z-C)),oe)},un.prototype.takeRightWhile=function(C){return this.reverse().takeWhile(C).reverse()},un.prototype.toArray=function(){return this.take(I)},yi(un.prototype,function(C,z){var oe=/^(?:filter|find|map|reject)|While$/.test(z),me=/^(?:head|last)$/.test(z),be=_e[me?"take"+(z=="last"?"Right":""):z],ke=me||/^find/.test(z);be&&(_e.prototype[z]=function(){var Re=this.__wrapped__,De=me?[1]:arguments,Ye=Re instanceof un,pt=De[0],dt=Ye||nn(Re),bt=function(qt){var Mt=be.apply(_e,Cn([qt],De));return me&&At?Mt[0]:Mt};dt&&oe&&typeof pt=="function"&&pt.length!=1&&(Ye=dt=!1);var At=this.__chain__,Rt=!!this.__actions__.length,Ft=ke&&!At,gt=Ye&&!Rt;if(!ke&&dt){Re=gt?Re:new un(this);var xt=C.apply(Re,De);return xt.__actions__.push({func:oo,args:[bt],thisArg:A}),new ui(xt,At)}return Ft&>?C.apply(this,De):(xt=this.thru(bt),Ft?me?xt.value()[0]:xt.value():xt)})}),ut(["pop","push","shift","sort","splice","unshift"],function(C){var z=jr[C],oe=/^(?:push|sort|unshift)$/.test(C)?"tap":"thru",me=/^(?:pop|shift)$/.test(C);_e.prototype[C]=function(){var be=arguments;if(me&&!this.__chain__){var ke=this.value();return z.apply(nn(ke)?ke:[],be)}return this[oe](function(Re){return z.apply(nn(Re)?Re:[],be)})}}),yi(un.prototype,function(C,z){var oe=_e[z];if(oe){var me=oe.name+"";Tn.call(ir,me)||(ir[me]=[]),ir[me].push({name:z,func:oe})}}),ir[Jr(A,2).name]=[{name:"wrapper",func:A}],un.prototype.clone=function(){var C=new un(this.__wrapped__);return C.__actions__=Qn(this.__actions__),C.__dir__=this.__dir__,C.__filtered__=this.__filtered__,C.__iteratees__=Qn(this.__iteratees__),C.__takeCount__=this.__takeCount__,C.__views__=Qn(this.__views__),C},un.prototype.reverse=function(){if(this.__filtered__){var C=new un(this);C.__dir__=-1,C.__filtered__=!0}else(C=this.clone()).__dir__*=-1;return C},un.prototype.value=function(){var C=this.__wrapped__.value(),z=this.__dir__,oe=nn(C),me=z<0,be=oe?C.length:0,ke=function(kn,Lt,Kt){for(var Fn=-1,Dn=Kt.length;++Fn<Dn;){var Yn=Kt[Fn],jn=Yn.size;switch(Yn.type){case"drop":kn+=jn;break;case"dropRight":Lt-=jn;break;case"take":Lt=Hn(Lt,kn+jn);break;case"takeRight":kn=Un(kn,Lt-jn)}}return{start:kn,end:Lt}}(0,be,this.__views__),Re=ke.start,De=ke.end,Ye=De-Re,pt=me?De:Re-1,dt=this.__iteratees__,bt=dt.length,At=0,Rt=Hn(Ye,this.__takeCount__);if(!oe||!me&&be==Ye&&Rt==Ye)return os(C,this.__actions__);var Ft=[];e:for(;Ye--&&At<Rt;){for(var gt=-1,xt=C[pt+=z];++gt<bt;){var qt=dt[gt],Mt=qt.iteratee,tn=qt.type,Yt=Mt(xt);if(tn==2)xt=Yt;else if(!Yt){if(tn==1)continue e;break e}}Ft[At++]=xt}return Ft},_e.prototype.at=xc,_e.prototype.chain=function(){return zs(this)},_e.prototype.commit=function(){return new ui(this.value(),this.__chain__)},_e.prototype.next=function(){this.__values__===A&&(this.__values__=tu(this.value()));var C=this.__index__>=this.__values__.length;return{done:C,value:C?A:this.__values__[this.__index__++]}},_e.prototype.plant=function(C){for(var z,oe=this;oe instanceof Vr;){var me=Bs(oe);me.__index__=0,me.__values__=A,z?be.__wrapped__=me:z=me;var be=me;oe=oe.__wrapped__}return be.__wrapped__=C,z},_e.prototype.reverse=function(){var C=this.__wrapped__;if(C instanceof un){var z=C;return this.__actions__.length&&(z=new un(this)),(z=z.reverse()).__actions__.push({func:oo,args:[oa],thisArg:A}),new ui(z,this.__chain__)}return this.thru(oa)},_e.prototype.toJSON=_e.prototype.valueOf=_e.prototype.value=function(){return os(this.__wrapped__,this.__actions__)},_e.prototype.first=_e.prototype.head,pr&&(_e.prototype[pr]=function(){return this}),_e}();Ln._=Ir,(T=(function(){return Ir}).call(v,d,v,F))===A||(F.exports=T)}).call(this)},2632:(F,v)=>{v.encrypt=function(d,T){return d._cipher.encryptBlock(T)},v.decrypt=function(d,T){return d._cipher.decryptBlock(T)}},2634:()=>{},2642:(F,v,d)=>{var T=d(7720),A=Object.prototype.hasOwnProperty,O=Array.isArray,q={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:T.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},p=function(S){return S.replace(/&#(\d+);/g,function(_,N){return String.fromCharCode(parseInt(N,10))})},j=function(S,_,N){if(S&&typeof S=="string"&&_.comma&&S.indexOf(",")>-1)return S.split(",");if(_.throwOnLimitExceeded&&N>=_.arrayLimit)throw new RangeError("Array limit exceeded. Only "+_.arrayLimit+" element"+(_.arrayLimit===1?"":"s")+" allowed in an array.");return S},w=function(S,_,N,I){if(S){var b=N.allowDots?S.replace(/\.([^.[]+)/g,"[$1]"):S,B=/(\[[^[\]]*])/g,D=N.depth>0&&/(\[[^[\]]*])/.exec(b),U=D?b.slice(0,D.index):b,$=[];if(U){if(!N.plainObjects&&A.call(Object.prototype,U)&&!N.allowPrototypes)return;$.push(U)}for(var P=0;N.depth>0&&(D=B.exec(b))!==null&&P<N.depth;){if(P+=1,!N.plainObjects&&A.call(Object.prototype,D[1].slice(1,-1))&&!N.allowPrototypes)return;$.push(D[1])}if(D){if(N.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+N.depth+" and strictDepth is true");$.push("["+b.slice(D.index)+"]")}return function(W,G,Q,te){var se=0;if(W.length>0&&W[W.length-1]==="[]"){var ue=W.slice(0,-1).join("");se=Array.isArray(G)&&G[ue]?G[ue].length:0}for(var de=te?G:j(G,Q,se),e=W.length-1;e>=0;--e){var a,o=W[e];if(o==="[]"&&Q.parseArrays)a=Q.allowEmptyArrays&&(de===""||Q.strictNullHandling&&de===null)?[]:T.combine([],de);else{a=Q.plainObjects?{__proto__:null}:{};var r=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,t=Q.decodeDotInKeys?r.replace(/%2E/g,"."):r,h=parseInt(t,10);Q.parseArrays||t!==""?!isNaN(h)&&o!==t&&String(h)===t&&h>=0&&Q.parseArrays&&h<=Q.arrayLimit?(a=[])[h]=de:t!=="__proto__"&&(a[t]=de):a={0:de}}de=a}return de}($,_,N,I)}};F.exports=function(S,_){var N=function(P){if(!P)return q;if(P.allowEmptyArrays!==void 0&&typeof P.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(P.decodeDotInKeys!==void 0&&typeof P.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(P.decoder!==null&&P.decoder!==void 0&&typeof P.decoder!="function")throw new TypeError("Decoder has to be a function.");if(P.charset!==void 0&&P.charset!=="utf-8"&&P.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(P.throwOnLimitExceeded!==void 0&&typeof P.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var W=P.charset===void 0?q.charset:P.charset,G=P.duplicates===void 0?q.duplicates:P.duplicates;if(G!=="combine"&&G!=="first"&&G!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:P.allowDots===void 0?P.decodeDotInKeys===!0||q.allowDots:!!P.allowDots,allowEmptyArrays:typeof P.allowEmptyArrays=="boolean"?!!P.allowEmptyArrays:q.allowEmptyArrays,allowPrototypes:typeof P.allowPrototypes=="boolean"?P.allowPrototypes:q.allowPrototypes,allowSparse:typeof P.allowSparse=="boolean"?P.allowSparse:q.allowSparse,arrayLimit:typeof P.arrayLimit=="number"?P.arrayLimit:q.arrayLimit,charset:W,charsetSentinel:typeof P.charsetSentinel=="boolean"?P.charsetSentinel:q.charsetSentinel,comma:typeof P.comma=="boolean"?P.comma:q.comma,decodeDotInKeys:typeof P.decodeDotInKeys=="boolean"?P.decodeDotInKeys:q.decodeDotInKeys,decoder:typeof P.decoder=="function"?P.decoder:q.decoder,delimiter:typeof P.delimiter=="string"||T.isRegExp(P.delimiter)?P.delimiter:q.delimiter,depth:typeof P.depth=="number"||P.depth===!1?+P.depth:q.depth,duplicates:G,ignoreQueryPrefix:P.ignoreQueryPrefix===!0,interpretNumericEntities:typeof P.interpretNumericEntities=="boolean"?P.interpretNumericEntities:q.interpretNumericEntities,parameterLimit:typeof P.parameterLimit=="number"?P.parameterLimit:q.parameterLimit,parseArrays:P.parseArrays!==!1,plainObjects:typeof P.plainObjects=="boolean"?P.plainObjects:q.plainObjects,strictDepth:typeof P.strictDepth=="boolean"?!!P.strictDepth:q.strictDepth,strictNullHandling:typeof P.strictNullHandling=="boolean"?P.strictNullHandling:q.strictNullHandling,throwOnLimitExceeded:typeof P.throwOnLimitExceeded=="boolean"&&P.throwOnLimitExceeded}}(_);if(S===""||S==null)return N.plainObjects?{__proto__:null}:{};for(var I=typeof S=="string"?function(P,W){var G={__proto__:null},Q=W.ignoreQueryPrefix?P.replace(/^\?/,""):P;Q=Q.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var te=W.parameterLimit===1/0?void 0:W.parameterLimit,se=Q.split(W.delimiter,W.throwOnLimitExceeded?te+1:te);if(W.throwOnLimitExceeded&&se.length>te)throw new RangeError("Parameter limit exceeded. Only "+te+" parameter"+(te===1?"":"s")+" allowed.");var ue,de=-1,e=W.charset;if(W.charsetSentinel)for(ue=0;ue<se.length;++ue)se[ue].indexOf("utf8=")===0&&(se[ue]==="utf8=%E2%9C%93"?e="utf-8":se[ue]==="utf8=%26%2310003%3B"&&(e="iso-8859-1"),de=ue,ue=se.length);for(ue=0;ue<se.length;++ue)if(ue!==de){var a,o,r=se[ue],t=r.indexOf("]="),h=t===-1?r.indexOf("="):t+1;h===-1?(a=W.decoder(r,q.decoder,e,"key"),o=W.strictNullHandling?null:""):(a=W.decoder(r.slice(0,h),q.decoder,e,"key"),o=T.maybeMap(j(r.slice(h+1),W,O(G[a])?G[a].length:0),function(H){return W.decoder(H,q.decoder,e,"value")})),o&&W.interpretNumericEntities&&e==="iso-8859-1"&&(o=p(String(o))),r.indexOf("[]=")>-1&&(o=O(o)?[o]:o);var M=A.call(G,a);M&&W.duplicates==="combine"?G[a]=T.combine(G[a],o):M&&W.duplicates!=="last"||(G[a]=o)}return G}(S,N):S,b=N.plainObjects?{__proto__:null}:{},B=Object.keys(I),D=0;D<B.length;++D){var U=B[D],$=w(U,I[U],N,typeof S=="string");b=T.merge(b,$,N)}return N.allowSparse===!0?b:T.compact(b)}},2668:()=>{},2679:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;T=d(1737),A=d(7457),F.exports=function(q){function p(j,w){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=T.Comment,this.value=this.stringify.comment(w)}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.clone=function(){return Object.create(this)},p.prototype.toString=function(j){return this.options.writer.comment(this,this.options.writer.filterOptions(j))},p}(A)}).call(this)},2682:(F,v,d)=>{var T=d(9600),A=Object.prototype.toString,O=Object.prototype.hasOwnProperty;F.exports=function(q,p,j){if(!T(p))throw new TypeError("iterator must be a function");var w,S;arguments.length>=3&&(w=j),S=q,A.call(S)==="[object Array]"?function(_,N,I){for(var b=0,B=_.length;b<B;b++)O.call(_,b)&&(I==null?N(_[b],b,_):N.call(I,_[b],b,_))}(q,p,w):typeof q=="string"?function(_,N,I){for(var b=0,B=_.length;b<B;b++)I==null?N(_.charAt(b),b,_):N.call(I,_.charAt(b),b,_)}(q,p,w):function(_,N,I){for(var b in _)O.call(_,b)&&(I==null?N(_[b],b,_):N.call(I,_[b],b,_))}(q,p,w)}},2691:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;T=d(1737),A=d(7457),F.exports=function(q){function p(j,w){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=T.CData,this.value=this.stringify.cdata(w)}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.clone=function(){return Object.create(this)},p.prototype.toString=function(j){return this.options.writer.cdata(this,this.options.writer.filterOptions(j))},p}(A)}).call(this)},2723:(F,v,d)=>{var T=d(7952),A=d(4367),O=d(3349);function q(p){if(!(this instanceof q))return new q(p);this.hash=p.hash,this.predResist=!!p.predResist,this.outLen=this.hash.outSize,this.minEntropy=p.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var j=A.toArray(p.entropy,p.entropyEnc||"hex"),w=A.toArray(p.nonce,p.nonceEnc||"hex"),S=A.toArray(p.pers,p.persEnc||"hex");O(j.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(j,w,S)}F.exports=q,q.prototype._init=function(p,j,w){var S=p.concat(j).concat(w);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var _=0;_<this.V.length;_++)this.K[_]=0,this.V[_]=1;this._update(S),this._reseed=1,this.reseedInterval=281474976710656},q.prototype._hmac=function(){return new T.hmac(this.hash,this.K)},q.prototype._update=function(p){var j=this._hmac().update(this.V).update([0]);p&&(j=j.update(p)),this.K=j.digest(),this.V=this._hmac().update(this.V).digest(),p&&(this.K=this._hmac().update(this.V).update([1]).update(p).digest(),this.V=this._hmac().update(this.V).digest())},q.prototype.reseed=function(p,j,w,S){typeof j!="string"&&(S=w,w=j,j=null),p=A.toArray(p,j),w=A.toArray(w,S),O(p.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(p.concat(w||[])),this._reseed=1},q.prototype.generate=function(p,j,w,S){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof j!="string"&&(S=w,w=j,j=null),w&&(w=A.toArray(w,S||"hex"),this._update(w));for(var _=[];_.length<p;)this.V=this._hmac().update(this.V).digest(),_=_.concat(this.V);var N=_.slice(0,p);return this._update(w),this._reseed++,A.encode(N,j)}},2726:(F,v,d)=>{function T(_,N){var I=Object.keys(_);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(_);N&&(b=b.filter(function(B){return Object.getOwnPropertyDescriptor(_,B).enumerable})),I.push.apply(I,b)}return I}function A(_){for(var N=1;N<arguments.length;N++){var I=arguments[N]!=null?arguments[N]:{};N%2?T(Object(I),!0).forEach(function(b){O(_,b,I[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(_,Object.getOwnPropertyDescriptors(I)):T(Object(I)).forEach(function(b){Object.defineProperty(_,b,Object.getOwnPropertyDescriptor(I,b))})}return _}function O(_,N,I){return(N=p(N))in _?Object.defineProperty(_,N,{value:I,enumerable:!0,configurable:!0,writable:!0}):_[N]=I,_}function q(_,N){for(var I=0;I<N.length;I++){var b=N[I];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(_,p(b.key),b)}}function p(_){var N=function(I){if(typeof I!="object"||I===null)return I;var b=I[Symbol.toPrimitive];if(b!==void 0){var B=b.call(I,"string");if(typeof B!="object")return B;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(I)}(_);return typeof N=="symbol"?N:String(N)}var j=d(8287).Buffer,w=d(5340).inspect,S=w&&w.custom||"inspect";F.exports=function(){function _(){(function(b,B){if(!(b instanceof B))throw new TypeError("Cannot call a class as a function")})(this,_),this.head=null,this.tail=null,this.length=0}var N,I;return N=_,(I=[{key:"push",value:function(b){var B={data:b,next:null};this.length>0?this.tail.next=B:this.head=B,this.tail=B,++this.length}},{key:"unshift",value:function(b){var B={data:b,next:this.head};this.length===0&&(this.tail=B),this.head=B,++this.length}},{key:"shift",value:function(){if(this.length!==0){var b=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,b}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(b){if(this.length===0)return"";for(var B=this.head,D=""+B.data;B=B.next;)D+=b+B.data;return D}},{key:"concat",value:function(b){if(this.length===0)return j.alloc(0);for(var B,D,U,$=j.allocUnsafe(b>>>0),P=this.head,W=0;P;)B=P.data,D=$,U=W,j.prototype.copy.call(B,D,U),W+=P.data.length,P=P.next;return $}},{key:"consume",value:function(b,B){var D;return b<this.head.data.length?(D=this.head.data.slice(0,b),this.head.data=this.head.data.slice(b)):D=b===this.head.data.length?this.shift():B?this._getString(b):this._getBuffer(b),D}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(b){var B=this.head,D=1,U=B.data;for(b-=U.length;B=B.next;){var $=B.data,P=b>$.length?$.length:b;if(P===$.length?U+=$:U+=$.slice(0,b),(b-=P)==0){P===$.length?(++D,B.next?this.head=B.next:this.head=this.tail=null):(this.head=B,B.data=$.slice(P));break}++D}return this.length-=D,U}},{key:"_getBuffer",value:function(b){var B=j.allocUnsafe(b),D=this.head,U=1;for(D.data.copy(B),b-=D.data.length;D=D.next;){var $=D.data,P=b>$.length?$.length:b;if($.copy(B,B.length-b,0,P),(b-=P)==0){P===$.length?(++U,D.next?this.head=D.next:this.head=this.tail=null):(this.head=D,D.data=$.slice(P));break}++U}return this.length-=U,B}},{key:S,value:function(b,B){return w(this,A(A({},B),{},{depth:0,customInspect:!1}))}}])&&q(N.prototype,I),Object.defineProperty(N,"prototype",{writable:!1}),_}()},2791:function(F,v,d){var T=d(5606);(function(A){if(!A.setImmediate){var O,q,p,j,w,S=1,_={},N=!1,I=A.document,b=Object.getPrototypeOf&&Object.getPrototypeOf(A);b=b&&b.setTimeout?b:A,{}.toString.call(A.process)==="[object process]"?O=function(U){T.nextTick(function(){D(U)})}:function(){if(A.postMessage&&!A.importScripts){var U=!0,$=A.onmessage;return A.onmessage=function(){U=!1},A.postMessage("","*"),A.onmessage=$,U}}()?(j="setImmediate$"+Math.random()+"$",w=function(U){U.source===A&&typeof U.data=="string"&&U.data.indexOf(j)===0&&D(+U.data.slice(j.length))},A.addEventListener?A.addEventListener("message",w,!1):A.attachEvent("onmessage",w),O=function(U){A.postMessage(j+U,"*")}):A.MessageChannel?((p=new MessageChannel).port1.onmessage=function(U){D(U.data)},O=function(U){p.port2.postMessage(U)}):I&&"onreadystatechange"in I.createElement("script")?(q=I.documentElement,O=function(U){var $=I.createElement("script");$.onreadystatechange=function(){D(U),$.onreadystatechange=null,q.removeChild($),$=null},q.appendChild($)}):O=function(U){setTimeout(D,0,U)},b.setImmediate=function(U){typeof U!="function"&&(U=new Function(""+U));for(var $=new Array(arguments.length-1),P=0;P<$.length;P++)$[P]=arguments[P+1];var W={callback:U,args:$};return _[S]=W,O(S),S++},b.clearImmediate=B}function B(U){delete _[U]}function D(U){if(N)setTimeout(D,0,U);else{var $=_[U];if($){N=!0;try{(function(P){var W=P.callback,G=P.args;switch(G.length){case 0:W();break;case 1:W(G[0]);break;case 2:W(G[0],G[1]);break;case 3:W(G[0],G[1],G[2]);break;default:W.apply(void 0,G)}})($)}finally{B(U),N=!1}}}}})(typeof self>"u"?d.g===void 0?this:d.g:self)},2801:function(F,v,d){(function(T,A){function O(e,a){if(!e)throw new Error(a||"Assertion failed")}function q(e,a){e.super_=a;var o=function(){};o.prototype=a.prototype,e.prototype=new o,e.prototype.constructor=e}function p(e,a,o){if(p.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(a!=="le"&&a!=="be"||(o=a,a=10),this._init(e||0,a||10,o||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(7965).Buffer}catch{}function w(e,a){var o=e.charCodeAt(a);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function S(e,a,o){var r=w(e,o);return o-1>=a&&(r|=w(e,o-1)<<4),r}function _(e,a,o,r){for(var t=0,h=Math.min(e.length,o),M=a;M<h;M++){var H=e.charCodeAt(M)-48;t*=r,t+=H>=49?H-49+10:H>=17?H-17+10:H}return t}p.isBN=function(e){return e instanceof p||e!==null&&typeof e=="object"&&e.constructor.wordSize===p.wordSize&&Array.isArray(e.words)},p.max=function(e,a){return e.cmp(a)>0?e:a},p.min=function(e,a){return e.cmp(a)<0?e:a},p.prototype._init=function(e,a,o){if(typeof e=="number")return this._initNumber(e,a,o);if(typeof e=="object")return this._initArray(e,a,o);a==="hex"&&(a=16),O(a===(0|a)&&a>=2&&a<=36);var r=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(r++,this.negative=1),r<e.length&&(a===16?this._parseHex(e,r,o):(this._parseBase(e,a,r),o==="le"&&this._initArray(this.toArray(),a,o)))},p.prototype._initNumber=function(e,a,o){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(O(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),a,o)},p.prototype._initArray=function(e,a,o){if(O(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h,M=0;if(o==="be")for(r=e.length-1,t=0;r>=0;r-=3)h=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);else if(o==="le")for(r=0,t=0;r<e.length;r+=3)h=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);return this.strip()},p.prototype._parseHex=function(e,a,o){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h=0,M=0;if(o==="be")for(r=e.length-1;r>=a;r-=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;else for(r=(e.length-a)%2==0?a+1:a;r<e.length;r+=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;this.strip()},p.prototype._parseBase=function(e,a,o){this.words=[0],this.length=1;for(var r=0,t=1;t<=67108863;t*=a)r++;r--,t=t/a|0;for(var h=e.length-o,M=h%r,H=Math.min(h,h-M)+o,K=0,V=o;V<H;V+=r)K=_(e,V,V+r,a),this.imuln(t),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K);if(M!==0){var Z=1;for(K=_(e,V,e.length,a),V=0;V<M;V++)Z*=a;this.imuln(Z),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K)}this.strip()},p.prototype.copy=function(e){e.words=new Array(this.length);for(var a=0;a<this.length;a++)e.words[a]=this.words[a];e.length=this.length,e.negative=this.negative,e.red=this.red},p.prototype.clone=function(){var e=new p(null);return this.copy(e),e},p.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],b=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(e,a,o){o.negative=a.negative^e.negative;var r=e.length+a.length|0;o.length=r,r=r-1|0;var t=0|e.words[0],h=0|a.words[0],M=t*h,H=67108863&M,K=M/67108864|0;o.words[0]=H;for(var V=1;V<r;V++){for(var Z=K>>>26,X=67108863&K,ae=Math.min(V,a.length-1),ie=Math.max(0,V-e.length+1);ie<=ae;ie++){var ce=V-ie|0;Z+=(M=(t=0|e.words[ce])*(h=0|a.words[ie])+X)/67108864|0,X=67108863&M}o.words[V]=0|X,K=0|Z}return K!==0?o.words[V]=0|K:o.length--,o.strip()}p.prototype.toString=function(e,a){var o;if(a=0|a||1,(e=e||10)===16||e==="hex"){o="";for(var r=0,t=0,h=0;h<this.length;h++){var M=this.words[h],H=(16777215&(M<<r|t)).toString(16);t=M>>>24-r&16777215,(r+=2)>=26&&(r-=26,h--),o=t!==0||h!==this.length-1?N[6-H.length]+H+o:H+o}for(t!==0&&(o=t.toString(16)+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(e===(0|e)&&e>=2&&e<=36){var K=I[e],V=b[e];o="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var X=Z.modn(V).toString(e);o=(Z=Z.idivn(V)).isZero()?X+o:N[K-X.length]+X+o}for(this.isZero()&&(o="0"+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},p.prototype.toJSON=function(){return this.toString(16)},p.prototype.toBuffer=function(e,a){return O(j!==void 0),this.toArrayLike(j,e,a)},p.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)},p.prototype.toArrayLike=function(e,a,o){var r=this.byteLength(),t=o||Math.max(1,r);O(r<=t,"byte array longer than desired length"),O(t>0,"Requested array length <= 0"),this.strip();var h,M,H=a==="le",K=new e(t),V=this.clone();if(H){for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[M]=h;for(;M<t;M++)K[M]=0}else{for(M=0;M<t-r;M++)K[M]=0;for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[t-M-1]=h}return K},Math.clz32?p.prototype._countBits=function(e){return 32-Math.clz32(e)}:p.prototype._countBits=function(e){var a=e,o=0;return a>=4096&&(o+=13,a>>>=13),a>=64&&(o+=7,a>>>=7),a>=8&&(o+=4,a>>>=4),a>=2&&(o+=2,a>>>=2),o+a},p.prototype._zeroBits=function(e){if(e===0)return 26;var a=e,o=0;return 8191&a||(o+=13,a>>>=13),127&a||(o+=7,a>>>=7),15&a||(o+=4,a>>>=4),3&a||(o+=2,a>>>=2),1&a||o++,o},p.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;a<this.length;a++){var o=this._zeroBits(this.words[a]);if(e+=o,o!==26)break}return e},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},p.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var a=0;a<e.length;a++)this.words[a]=this.words[a]|e.words[a];return this.strip()},p.prototype.ior=function(e){return O(!(this.negative|e.negative)),this.iuor(e)},p.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},p.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},p.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var o=0;o<a.length;o++)this.words[o]=this.words[o]&e.words[o];return this.length=a.length,this.strip()},p.prototype.iand=function(e){return O(!(this.negative|e.negative)),this.iuand(e)},p.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},p.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},p.prototype.iuxor=function(e){var a,o;this.length>e.length?(a=this,o=e):(a=e,o=this);for(var r=0;r<o.length;r++)this.words[r]=a.words[r]^o.words[r];if(this!==a)for(;r<a.length;r++)this.words[r]=a.words[r];return this.length=a.length,this.strip()},p.prototype.ixor=function(e){return O(!(this.negative|e.negative)),this.iuxor(e)},p.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},p.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},p.prototype.inotn=function(e){O(typeof e=="number"&&e>=0);var a=0|Math.ceil(e/26),o=e%26;this._expand(a),o>0&&a--;for(var r=0;r<a;r++)this.words[r]=67108863&~this.words[r];return o>0&&(this.words[r]=~this.words[r]&67108863>>26-o),this.strip()},p.prototype.notn=function(e){return this.clone().inotn(e)},p.prototype.setn=function(e,a){O(typeof e=="number"&&e>=0);var o=e/26|0,r=e%26;return this._expand(o+1),this.words[o]=a?this.words[o]|1<<r:this.words[o]&~(1<<r),this.strip()},p.prototype.iadd=function(e){var a,o,r;if(this.negative!==0&&e.negative===0)return this.negative=0,a=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,a=this.isub(e),e.negative=1,a._normSign();this.length>e.length?(o=this,r=e):(o=e,r=this);for(var t=0,h=0;h<r.length;h++)a=(0|o.words[h])+(0|r.words[h])+t,this.words[h]=67108863&a,t=a>>>26;for(;t!==0&&h<o.length;h++)a=(0|o.words[h])+t,this.words[h]=67108863&a,t=a>>>26;if(this.length=o.length,t!==0)this.words[this.length]=t,this.length++;else if(o!==this)for(;h<o.length;h++)this.words[h]=o.words[h];return this},p.prototype.add=function(e){var a;return e.negative!==0&&this.negative===0?(e.negative=0,a=this.sub(e),e.negative^=1,a):e.negative===0&&this.negative!==0?(this.negative=0,a=e.sub(this),this.negative=1,a):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},p.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o,r,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(o=this,r=e):(o=e,r=this);for(var h=0,M=0;M<r.length;M++)h=(a=(0|o.words[M])-(0|r.words[M])+h)>>26,this.words[M]=67108863&a;for(;h!==0&&M<o.length;M++)h=(a=(0|o.words[M])+h)>>26,this.words[M]=67108863&a;if(h===0&&M<o.length&&o!==this)for(;M<o.length;M++)this.words[M]=o.words[M];return this.length=Math.max(this.length,M),o!==this&&(this.negative=1),this.strip()},p.prototype.sub=function(e){return this.clone().isub(e)};var D=function(e,a,o){var r,t,h,M=e.words,H=a.words,K=o.words,V=0,Z=0|M[0],X=8191&Z,ae=Z>>>13,ie=0|M[1],ce=8191&ie,Y=ie>>>13,ne=0|M[2],J=8191&ne,ee=ne>>>13,ge=0|M[3],pe=8191&ge,we=ge>>>13,je=0|M[4],Me=8191&je,Ae=je>>>13,Ve=0|M[5],Ie=8191&Ve,Be=Ve>>>13,le=0|M[6],he=8191&le,fe=le>>>13,ve=0|M[7],ye=8191&ve,xe=ve>>>13,Le=0|M[8],Oe=8191&Le,Pe=Le>>>13,wt=0|M[9],Ne=8191&wt,Ue=wt>>>13,It=0|H[0],He=8191&It,Ke=It>>>13,kt=0|H[1],Fe=8191&kt,nt=kt>>>13,_t=0|H[2],$e=8191&_t,tt=_t>>>13,jt=0|H[3],ze=8191&jt,rt=jt>>>13,Dt=0|H[4],Ge=8191&Dt,st=Dt>>>13,Wt=0|H[5],Ze=8191&Wt,ot=Wt>>>13,Zt=0|H[6],Ce=8191&Zt,Xe=Zt>>>13,$t=0|H[7],Je=8191&$t,ht=$t>>>13,Jt=0|H[8],Qe=8191&Jt,lt=Jt>>>13,en=0|H[9],et=8191&en,ft=en>>>13;o.negative=e.negative^a.negative,o.length=19;var Ht=(V+(r=Math.imul(X,He))|0)+((8191&(t=(t=Math.imul(X,Ke))+Math.imul(ae,He)|0))<<13)|0;V=((h=Math.imul(ae,Ke))+(t>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,r=Math.imul(ce,He),t=(t=Math.imul(ce,Ke))+Math.imul(Y,He)|0,h=Math.imul(Y,Ke);var Ut=(V+(r=r+Math.imul(X,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(X,nt)|0)+Math.imul(ae,Fe)|0))<<13)|0;V=((h=h+Math.imul(ae,nt)|0)+(t>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(J,He),t=(t=Math.imul(J,Ke))+Math.imul(ee,He)|0,h=Math.imul(ee,Ke),r=r+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(Y,Fe)|0,h=h+Math.imul(Y,nt)|0;var cn=(V+(r=r+Math.imul(X,$e)|0)|0)+((8191&(t=(t=t+Math.imul(X,tt)|0)+Math.imul(ae,$e)|0))<<13)|0;V=((h=h+Math.imul(ae,tt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,r=Math.imul(pe,He),t=(t=Math.imul(pe,Ke))+Math.imul(we,He)|0,h=Math.imul(we,Ke),r=r+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ee,Fe)|0,h=h+Math.imul(ee,nt)|0,r=r+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,tt)|0)+Math.imul(Y,$e)|0,h=h+Math.imul(Y,tt)|0;var mn=(V+(r=r+Math.imul(X,ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,rt)|0)+Math.imul(ae,ze)|0))<<13)|0;V=((h=h+Math.imul(ae,rt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,r=Math.imul(Me,He),t=(t=Math.imul(Me,Ke))+Math.imul(Ae,He)|0,h=Math.imul(Ae,Ke),r=r+Math.imul(pe,Fe)|0,t=(t=t+Math.imul(pe,nt)|0)+Math.imul(we,Fe)|0,h=h+Math.imul(we,nt)|0,r=r+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,tt)|0)+Math.imul(ee,$e)|0,h=h+Math.imul(ee,tt)|0,r=r+Math.imul(ce,ze)|0,t=(t=t+Math.imul(ce,rt)|0)+Math.imul(Y,ze)|0,h=h+Math.imul(Y,rt)|0;var hn=(V+(r=r+Math.imul(X,Ge)|0)|0)+((8191&(t=(t=t+Math.imul(X,st)|0)+Math.imul(ae,Ge)|0))<<13)|0;V=((h=h+Math.imul(ae,st)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,r=Math.imul(Ie,He),t=(t=Math.imul(Ie,Ke))+Math.imul(Be,He)|0,h=Math.imul(Be,Ke),r=r+Math.imul(Me,Fe)|0,t=(t=t+Math.imul(Me,nt)|0)+Math.imul(Ae,Fe)|0,h=h+Math.imul(Ae,nt)|0,r=r+Math.imul(pe,$e)|0,t=(t=t+Math.imul(pe,tt)|0)+Math.imul(we,$e)|0,h=h+Math.imul(we,tt)|0,r=r+Math.imul(J,ze)|0,t=(t=t+Math.imul(J,rt)|0)+Math.imul(ee,ze)|0,h=h+Math.imul(ee,rt)|0,r=r+Math.imul(ce,Ge)|0,t=(t=t+Math.imul(ce,st)|0)+Math.imul(Y,Ge)|0,h=h+Math.imul(Y,st)|0;var gn=(V+(r=r+Math.imul(X,Ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,ot)|0)+Math.imul(ae,Ze)|0))<<13)|0;V=((h=h+Math.imul(ae,ot)|0)+(t>>>13)|0)+(gn>>>26)|0,gn&=67108863,r=Math.imul(he,He),t=(t=Math.imul(he,Ke))+Math.imul(fe,He)|0,h=Math.imul(fe,Ke),r=r+Math.imul(Ie,Fe)|0,t=(t=t+Math.imul(Ie,nt)|0)+Math.imul(Be,Fe)|0,h=h+Math.imul(Be,nt)|0,r=r+Math.imul(Me,$e)|0,t=(t=t+Math.imul(Me,tt)|0)+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,tt)|0,r=r+Math.imul(pe,ze)|0,t=(t=t+Math.imul(pe,rt)|0)+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,r=r+Math.imul(J,Ge)|0,t=(t=t+Math.imul(J,st)|0)+Math.imul(ee,Ge)|0,h=h+Math.imul(ee,st)|0,r=r+Math.imul(ce,Ze)|0,t=(t=t+Math.imul(ce,ot)|0)+Math.imul(Y,Ze)|0,h=h+Math.imul(Y,ot)|0;var vn=(V+(r=r+Math.imul(X,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(X,Xe)|0)+Math.imul(ae,Ce)|0))<<13)|0;V=((h=h+Math.imul(ae,Xe)|0)+(t>>>13)|0)+(vn>>>26)|0,vn&=67108863,r=Math.imul(ye,He),t=(t=Math.imul(ye,Ke))+Math.imul(xe,He)|0,h=Math.imul(xe,Ke),r=r+Math.imul(he,Fe)|0,t=(t=t+Math.imul(he,nt)|0)+Math.imul(fe,Fe)|0,h=h+Math.imul(fe,nt)|0,r=r+Math.imul(Ie,$e)|0,t=(t=t+Math.imul(Ie,tt)|0)+Math.imul(Be,$e)|0,h=h+Math.imul(Be,tt)|0,r=r+Math.imul(Me,ze)|0,t=(t=t+Math.imul(Me,rt)|0)+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,r=r+Math.imul(pe,Ge)|0,t=(t=t+Math.imul(pe,st)|0)+Math.imul(we,Ge)|0,h=h+Math.imul(we,st)|0,r=r+Math.imul(J,Ze)|0,t=(t=t+Math.imul(J,ot)|0)+Math.imul(ee,Ze)|0,h=h+Math.imul(ee,ot)|0,r=r+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Xe)|0)+Math.imul(Y,Ce)|0,h=h+Math.imul(Y,Xe)|0;var yn=(V+(r=r+Math.imul(X,Je)|0)|0)+((8191&(t=(t=t+Math.imul(X,ht)|0)+Math.imul(ae,Je)|0))<<13)|0;V=((h=h+Math.imul(ae,ht)|0)+(t>>>13)|0)+(yn>>>26)|0,yn&=67108863,r=Math.imul(Oe,He),t=(t=Math.imul(Oe,Ke))+Math.imul(Pe,He)|0,h=Math.imul(Pe,Ke),r=r+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(xe,Fe)|0,h=h+Math.imul(xe,nt)|0,r=r+Math.imul(he,$e)|0,t=(t=t+Math.imul(he,tt)|0)+Math.imul(fe,$e)|0,h=h+Math.imul(fe,tt)|0,r=r+Math.imul(Ie,ze)|0,t=(t=t+Math.imul(Ie,rt)|0)+Math.imul(Be,ze)|0,h=h+Math.imul(Be,rt)|0,r=r+Math.imul(Me,Ge)|0,t=(t=t+Math.imul(Me,st)|0)+Math.imul(Ae,Ge)|0,h=h+Math.imul(Ae,st)|0,r=r+Math.imul(pe,Ze)|0,t=(t=t+Math.imul(pe,ot)|0)+Math.imul(we,Ze)|0,h=h+Math.imul(we,ot)|0,r=r+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Xe)|0)+Math.imul(ee,Ce)|0,h=h+Math.imul(ee,Xe)|0,r=r+Math.imul(ce,Je)|0,t=(t=t+Math.imul(ce,ht)|0)+Math.imul(Y,Je)|0,h=h+Math.imul(Y,ht)|0;var bn=(V+(r=r+Math.imul(X,Qe)|0)|0)+((8191&(t=(t=t+Math.imul(X,lt)|0)+Math.imul(ae,Qe)|0))<<13)|0;V=((h=h+Math.imul(ae,lt)|0)+(t>>>13)|0)+(bn>>>26)|0,bn&=67108863,r=Math.imul(Ne,He),t=(t=Math.imul(Ne,Ke))+Math.imul(Ue,He)|0,h=Math.imul(Ue,Ke),r=r+Math.imul(Oe,Fe)|0,t=(t=t+Math.imul(Oe,nt)|0)+Math.imul(Pe,Fe)|0,h=h+Math.imul(Pe,nt)|0,r=r+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,tt)|0)+Math.imul(xe,$e)|0,h=h+Math.imul(xe,tt)|0,r=r+Math.imul(he,ze)|0,t=(t=t+Math.imul(he,rt)|0)+Math.imul(fe,ze)|0,h=h+Math.imul(fe,rt)|0,r=r+Math.imul(Ie,Ge)|0,t=(t=t+Math.imul(Ie,st)|0)+Math.imul(Be,Ge)|0,h=h+Math.imul(Be,st)|0,r=r+Math.imul(Me,Ze)|0,t=(t=t+Math.imul(Me,ot)|0)+Math.imul(Ae,Ze)|0,h=h+Math.imul(Ae,ot)|0,r=r+Math.imul(pe,Ce)|0,t=(t=t+Math.imul(pe,Xe)|0)+Math.imul(we,Ce)|0,h=h+Math.imul(we,Xe)|0,r=r+Math.imul(J,Je)|0,t=(t=t+Math.imul(J,ht)|0)+Math.imul(ee,Je)|0,h=h+Math.imul(ee,ht)|0,r=r+Math.imul(ce,Qe)|0,t=(t=t+Math.imul(ce,lt)|0)+Math.imul(Y,Qe)|0,h=h+Math.imul(Y,lt)|0;var ln=(V+(r=r+Math.imul(X,et)|0)|0)+((8191&(t=(t=t+Math.imul(X,ft)|0)+Math.imul(ae,et)|0))<<13)|0;V=((h=h+Math.imul(ae,ft)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,r=Math.imul(Ne,Fe),t=(t=Math.imul(Ne,nt))+Math.imul(Ue,Fe)|0,h=Math.imul(Ue,nt),r=r+Math.imul(Oe,$e)|0,t=(t=t+Math.imul(Oe,tt)|0)+Math.imul(Pe,$e)|0,h=h+Math.imul(Pe,tt)|0,r=r+Math.imul(ye,ze)|0,t=(t=t+Math.imul(ye,rt)|0)+Math.imul(xe,ze)|0,h=h+Math.imul(xe,rt)|0,r=r+Math.imul(he,Ge)|0,t=(t=t+Math.imul(he,st)|0)+Math.imul(fe,Ge)|0,h=h+Math.imul(fe,st)|0,r=r+Math.imul(Ie,Ze)|0,t=(t=t+Math.imul(Ie,ot)|0)+Math.imul(Be,Ze)|0,h=h+Math.imul(Be,ot)|0,r=r+Math.imul(Me,Ce)|0,t=(t=t+Math.imul(Me,Xe)|0)+Math.imul(Ae,Ce)|0,h=h+Math.imul(Ae,Xe)|0,r=r+Math.imul(pe,Je)|0,t=(t=t+Math.imul(pe,ht)|0)+Math.imul(we,Je)|0,h=h+Math.imul(we,ht)|0,r=r+Math.imul(J,Qe)|0,t=(t=t+Math.imul(J,lt)|0)+Math.imul(ee,Qe)|0,h=h+Math.imul(ee,lt)|0;var wn=(V+(r=r+Math.imul(ce,et)|0)|0)+((8191&(t=(t=t+Math.imul(ce,ft)|0)+Math.imul(Y,et)|0))<<13)|0;V=((h=h+Math.imul(Y,ft)|0)+(t>>>13)|0)+(wn>>>26)|0,wn&=67108863,r=Math.imul(Ne,$e),t=(t=Math.imul(Ne,tt))+Math.imul(Ue,$e)|0,h=Math.imul(Ue,tt),r=r+Math.imul(Oe,ze)|0,t=(t=t+Math.imul(Oe,rt)|0)+Math.imul(Pe,ze)|0,h=h+Math.imul(Pe,rt)|0,r=r+Math.imul(ye,Ge)|0,t=(t=t+Math.imul(ye,st)|0)+Math.imul(xe,Ge)|0,h=h+Math.imul(xe,st)|0,r=r+Math.imul(he,Ze)|0,t=(t=t+Math.imul(he,ot)|0)+Math.imul(fe,Ze)|0,h=h+Math.imul(fe,ot)|0,r=r+Math.imul(Ie,Ce)|0,t=(t=t+Math.imul(Ie,Xe)|0)+Math.imul(Be,Ce)|0,h=h+Math.imul(Be,Xe)|0,r=r+Math.imul(Me,Je)|0,t=(t=t+Math.imul(Me,ht)|0)+Math.imul(Ae,Je)|0,h=h+Math.imul(Ae,ht)|0,r=r+Math.imul(pe,Qe)|0,t=(t=t+Math.imul(pe,lt)|0)+Math.imul(we,Qe)|0,h=h+Math.imul(we,lt)|0;var fn=(V+(r=r+Math.imul(J,et)|0)|0)+((8191&(t=(t=t+Math.imul(J,ft)|0)+Math.imul(ee,et)|0))<<13)|0;V=((h=h+Math.imul(ee,ft)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863,r=Math.imul(Ne,ze),t=(t=Math.imul(Ne,rt))+Math.imul(Ue,ze)|0,h=Math.imul(Ue,rt),r=r+Math.imul(Oe,Ge)|0,t=(t=t+Math.imul(Oe,st)|0)+Math.imul(Pe,Ge)|0,h=h+Math.imul(Pe,st)|0,r=r+Math.imul(ye,Ze)|0,t=(t=t+Math.imul(ye,ot)|0)+Math.imul(xe,Ze)|0,h=h+Math.imul(xe,ot)|0,r=r+Math.imul(he,Ce)|0,t=(t=t+Math.imul(he,Xe)|0)+Math.imul(fe,Ce)|0,h=h+Math.imul(fe,Xe)|0,r=r+Math.imul(Ie,Je)|0,t=(t=t+Math.imul(Ie,ht)|0)+Math.imul(Be,Je)|0,h=h+Math.imul(Be,ht)|0,r=r+Math.imul(Me,Qe)|0,t=(t=t+Math.imul(Me,lt)|0)+Math.imul(Ae,Qe)|0,h=h+Math.imul(Ae,lt)|0;var xn=(V+(r=r+Math.imul(pe,et)|0)|0)+((8191&(t=(t=t+Math.imul(pe,ft)|0)+Math.imul(we,et)|0))<<13)|0;V=((h=h+Math.imul(we,ft)|0)+(t>>>13)|0)+(xn>>>26)|0,xn&=67108863,r=Math.imul(Ne,Ge),t=(t=Math.imul(Ne,st))+Math.imul(Ue,Ge)|0,h=Math.imul(Ue,st),r=r+Math.imul(Oe,Ze)|0,t=(t=t+Math.imul(Oe,ot)|0)+Math.imul(Pe,Ze)|0,h=h+Math.imul(Pe,ot)|0,r=r+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Xe)|0)+Math.imul(xe,Ce)|0,h=h+Math.imul(xe,Xe)|0,r=r+Math.imul(he,Je)|0,t=(t=t+Math.imul(he,ht)|0)+Math.imul(fe,Je)|0,h=h+Math.imul(fe,ht)|0,r=r+Math.imul(Ie,Qe)|0,t=(t=t+Math.imul(Ie,lt)|0)+Math.imul(Be,Qe)|0,h=h+Math.imul(Be,lt)|0;var _n=(V+(r=r+Math.imul(Me,et)|0)|0)+((8191&(t=(t=t+Math.imul(Me,ft)|0)+Math.imul(Ae,et)|0))<<13)|0;V=((h=h+Math.imul(Ae,ft)|0)+(t>>>13)|0)+(_n>>>26)|0,_n&=67108863,r=Math.imul(Ne,Ze),t=(t=Math.imul(Ne,ot))+Math.imul(Ue,Ze)|0,h=Math.imul(Ue,ot),r=r+Math.imul(Oe,Ce)|0,t=(t=t+Math.imul(Oe,Xe)|0)+Math.imul(Pe,Ce)|0,h=h+Math.imul(Pe,Xe)|0,r=r+Math.imul(ye,Je)|0,t=(t=t+Math.imul(ye,ht)|0)+Math.imul(xe,Je)|0,h=h+Math.imul(xe,ht)|0,r=r+Math.imul(he,Qe)|0,t=(t=t+Math.imul(he,lt)|0)+Math.imul(fe,Qe)|0,h=h+Math.imul(fe,lt)|0;var pn=(V+(r=r+Math.imul(Ie,et)|0)|0)+((8191&(t=(t=t+Math.imul(Ie,ft)|0)+Math.imul(Be,et)|0))<<13)|0;V=((h=h+Math.imul(Be,ft)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,r=Math.imul(Ne,Ce),t=(t=Math.imul(Ne,Xe))+Math.imul(Ue,Ce)|0,h=Math.imul(Ue,Xe),r=r+Math.imul(Oe,Je)|0,t=(t=t+Math.imul(Oe,ht)|0)+Math.imul(Pe,Je)|0,h=h+Math.imul(Pe,ht)|0,r=r+Math.imul(ye,Qe)|0,t=(t=t+Math.imul(ye,lt)|0)+Math.imul(xe,Qe)|0,h=h+Math.imul(xe,lt)|0;var Bt=(V+(r=r+Math.imul(he,et)|0)|0)+((8191&(t=(t=t+Math.imul(he,ft)|0)+Math.imul(fe,et)|0))<<13)|0;V=((h=h+Math.imul(fe,ft)|0)+(t>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(Ne,Je),t=(t=Math.imul(Ne,ht))+Math.imul(Ue,Je)|0,h=Math.imul(Ue,ht),r=r+Math.imul(Oe,Qe)|0,t=(t=t+Math.imul(Oe,lt)|0)+Math.imul(Pe,Qe)|0,h=h+Math.imul(Pe,lt)|0;var Pt=(V+(r=r+Math.imul(ye,et)|0)|0)+((8191&(t=(t=t+Math.imul(ye,ft)|0)+Math.imul(xe,et)|0))<<13)|0;V=((h=h+Math.imul(xe,ft)|0)+(t>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(Ne,Qe),t=(t=Math.imul(Ne,lt))+Math.imul(Ue,Qe)|0,h=Math.imul(Ue,lt);var Mn=(V+(r=r+Math.imul(Oe,et)|0)|0)+((8191&(t=(t=t+Math.imul(Oe,ft)|0)+Math.imul(Pe,et)|0))<<13)|0;V=((h=h+Math.imul(Pe,ft)|0)+(t>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var En=(V+(r=Math.imul(Ne,et))|0)+((8191&(t=(t=Math.imul(Ne,ft))+Math.imul(Ue,et)|0))<<13)|0;return V=((h=Math.imul(Ue,ft))+(t>>>13)|0)+(En>>>26)|0,En&=67108863,K[0]=Ht,K[1]=Ut,K[2]=cn,K[3]=mn,K[4]=hn,K[5]=gn,K[6]=vn,K[7]=yn,K[8]=bn,K[9]=ln,K[10]=wn,K[11]=fn,K[12]=xn,K[13]=_n,K[14]=pn,K[15]=Bt,K[16]=Pt,K[17]=Mn,K[18]=En,V!==0&&(K[19]=V,o.length++),o};function U(e,a,o){return new $().mulp(e,a,o)}function $(e,a){this.x=e,this.y=a}Math.imul||(D=B),p.prototype.mulTo=function(e,a){var o,r=this.length+e.length;return o=this.length===10&&e.length===10?D(this,e,a):r<63?B(this,e,a):r<1024?function(t,h,M){M.negative=h.negative^t.negative,M.length=t.length+h.length;for(var H=0,K=0,V=0;V<M.length-1;V++){var Z=K;K=0;for(var X=67108863&H,ae=Math.min(V,h.length-1),ie=Math.max(0,V-t.length+1);ie<=ae;ie++){var ce=V-ie,Y=(0|t.words[ce])*(0|h.words[ie]),ne=67108863&Y;X=67108863&(ne=ne+X|0),K+=(Z=(Z=Z+(Y/67108864|0)|0)+(ne>>>26)|0)>>>26,Z&=67108863}M.words[V]=X,H=Z,Z=K}return H!==0?M.words[V]=H:M.length--,M.strip()}(this,e,a):U(this,e,a),o},$.prototype.makeRBT=function(e){for(var a=new Array(e),o=p.prototype._countBits(e)-1,r=0;r<e;r++)a[r]=this.revBin(r,o,e);return a},$.prototype.revBin=function(e,a,o){if(e===0||e===o-1)return e;for(var r=0,t=0;t<a;t++)r|=(1&e)<<a-t-1,e>>=1;return r},$.prototype.permute=function(e,a,o,r,t,h){for(var M=0;M<h;M++)r[M]=a[e[M]],t[M]=o[e[M]]},$.prototype.transform=function(e,a,o,r,t,h){this.permute(h,e,a,o,r,t);for(var M=1;M<t;M<<=1)for(var H=M<<1,K=Math.cos(2*Math.PI/H),V=Math.sin(2*Math.PI/H),Z=0;Z<t;Z+=H)for(var X=K,ae=V,ie=0;ie<M;ie++){var ce=o[Z+ie],Y=r[Z+ie],ne=o[Z+ie+M],J=r[Z+ie+M],ee=X*ne-ae*J;J=X*J+ae*ne,ne=ee,o[Z+ie]=ce+ne,r[Z+ie]=Y+J,o[Z+ie+M]=ce-ne,r[Z+ie+M]=Y-J,ie!==H&&(ee=K*X-V*ae,ae=K*ae+V*X,X=ee)}},$.prototype.guessLen13b=function(e,a){var o=1|Math.max(a,e),r=1&o,t=0;for(o=o/2|0;o;o>>>=1)t++;return 1<<t+1+r},$.prototype.conjugate=function(e,a,o){if(!(o<=1))for(var r=0;r<o/2;r++){var t=e[r];e[r]=e[o-r-1],e[o-r-1]=t,t=a[r],a[r]=-a[o-r-1],a[o-r-1]=-t}},$.prototype.normalize13b=function(e,a){for(var o=0,r=0;r<a/2;r++){var t=8192*Math.round(e[2*r+1]/a)+Math.round(e[2*r]/a)+o;e[r]=67108863&t,o=t<67108864?0:t/67108864|0}return e},$.prototype.convert13b=function(e,a,o,r){for(var t=0,h=0;h<a;h++)t+=0|e[h],o[2*h]=8191&t,t>>>=13,o[2*h+1]=8191&t,t>>>=13;for(h=2*a;h<r;++h)o[h]=0;O(t===0),O(!(-8192&t))},$.prototype.stub=function(e){for(var a=new Array(e),o=0;o<e;o++)a[o]=0;return a},$.prototype.mulp=function(e,a,o){var r=2*this.guessLen13b(e.length,a.length),t=this.makeRBT(r),h=this.stub(r),M=new Array(r),H=new Array(r),K=new Array(r),V=new Array(r),Z=new Array(r),X=new Array(r),ae=o.words;ae.length=r,this.convert13b(e.words,e.length,M,r),this.convert13b(a.words,a.length,V,r),this.transform(M,h,H,K,r,t),this.transform(V,h,Z,X,r,t);for(var ie=0;ie<r;ie++){var ce=H[ie]*Z[ie]-K[ie]*X[ie];K[ie]=H[ie]*X[ie]+K[ie]*Z[ie],H[ie]=ce}return this.conjugate(H,K,r),this.transform(H,K,ae,h,r,t),this.conjugate(ae,h,r),this.normalize13b(ae,r),o.negative=e.negative^a.negative,o.length=e.length+a.length,o.strip()},p.prototype.mul=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),this.mulTo(e,a)},p.prototype.mulf=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),U(this,e,a)},p.prototype.imul=function(e){return this.clone().mulTo(e,this)},p.prototype.imuln=function(e){O(typeof e=="number"),O(e<67108864);for(var a=0,o=0;o<this.length;o++){var r=(0|this.words[o])*e,t=(67108863&r)+(67108863&a);a>>=26,a+=r/67108864|0,a+=t>>>26,this.words[o]=67108863&t}return a!==0&&(this.words[o]=a,this.length++),this},p.prototype.muln=function(e){return this.clone().imuln(e)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(e){var a=function(h){for(var M=new Array(h.bitLength()),H=0;H<M.length;H++){var K=H/26|0,V=H%26;M[H]=(h.words[K]&1<<V)>>>V}return M}(e);if(a.length===0)return new p(1);for(var o=this,r=0;r<a.length&&a[r]===0;r++,o=o.sqr());if(++r<a.length)for(var t=o.sqr();r<a.length;r++,t=t.sqr())a[r]!==0&&(o=o.mul(t));return o},p.prototype.iushln=function(e){O(typeof e=="number"&&e>=0);var a,o=e%26,r=(e-o)/26,t=67108863>>>26-o<<26-o;if(o!==0){var h=0;for(a=0;a<this.length;a++){var M=this.words[a]&t,H=(0|this.words[a])-M<<o;this.words[a]=H|h,h=M>>>26-o}h&&(this.words[a]=h,this.length++)}if(r!==0){for(a=this.length-1;a>=0;a--)this.words[a+r]=this.words[a];for(a=0;a<r;a++)this.words[a]=0;this.length+=r}return this.strip()},p.prototype.ishln=function(e){return O(this.negative===0),this.iushln(e)},p.prototype.iushrn=function(e,a,o){var r;O(typeof e=="number"&&e>=0),r=a?(a-a%26)/26:0;var t=e%26,h=Math.min((e-t)/26,this.length),M=67108863^67108863>>>t<<t,H=o;if(r-=h,r=Math.max(0,r),H){for(var K=0;K<h;K++)H.words[K]=this.words[K];H.length=h}if(h!==0)if(this.length>h)for(this.length-=h,K=0;K<this.length;K++)this.words[K]=this.words[K+h];else this.words[0]=0,this.length=1;var V=0;for(K=this.length-1;K>=0&&(V!==0||K>=r);K--){var Z=0|this.words[K];this.words[K]=V<<26-t|Z>>>t,V=Z&M}return H&&V!==0&&(H.words[H.length++]=V),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},p.prototype.ishrn=function(e,a,o){return O(this.negative===0),this.iushrn(e,a,o)},p.prototype.shln=function(e){return this.clone().ishln(e)},p.prototype.ushln=function(e){return this.clone().iushln(e)},p.prototype.shrn=function(e){return this.clone().ishrn(e)},p.prototype.ushrn=function(e){return this.clone().iushrn(e)},p.prototype.testn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26,r=1<<a;return!(this.length<=o||!(this.words[o]&r))},p.prototype.imaskn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(a!==0&&o++,this.length=Math.min(o,this.length),a!==0){var r=67108863^67108863>>>a<<a;this.words[this.length-1]&=r}return this.strip()},p.prototype.maskn=function(e){return this.clone().imaskn(e)},p.prototype.iaddn=function(e){return O(typeof e=="number"),O(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},p.prototype._iaddn=function(e){this.words[0]+=e;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},p.prototype.isubn=function(e){if(O(typeof e=="number"),O(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},p.prototype.addn=function(e){return this.clone().iaddn(e)},p.prototype.subn=function(e){return this.clone().isubn(e)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(e,a,o){var r,t,h=e.length+o;this._expand(h);var M=0;for(r=0;r<e.length;r++){t=(0|this.words[r+o])+M;var H=(0|e.words[r])*a;M=((t-=67108863&H)>>26)-(H/67108864|0),this.words[r+o]=67108863&t}for(;r<this.length-o;r++)M=(t=(0|this.words[r+o])+M)>>26,this.words[r+o]=67108863&t;if(M===0)return this.strip();for(O(M===-1),M=0,r=0;r<this.length;r++)M=(t=-(0|this.words[r])+M)>>26,this.words[r]=67108863&t;return this.negative=1,this.strip()},p.prototype._wordDiv=function(e,a){var o=(this.length,e.length),r=this.clone(),t=e,h=0|t.words[t.length-1];(o=26-this._countBits(h))!=0&&(t=t.ushln(o),r.iushln(o),h=0|t.words[t.length-1]);var M,H=r.length-t.length;if(a!=="mod"){(M=new p(null)).length=H+1,M.words=new Array(M.length);for(var K=0;K<M.length;K++)M.words[K]=0}var V=r.clone()._ishlnsubmul(t,1,H);V.negative===0&&(r=V,M&&(M.words[H]=1));for(var Z=H-1;Z>=0;Z--){var X=67108864*(0|r.words[t.length+Z])+(0|r.words[t.length+Z-1]);for(X=Math.min(X/h|0,67108863),r._ishlnsubmul(t,X,Z);r.negative!==0;)X--,r.negative=0,r._ishlnsubmul(t,1,Z),r.isZero()||(r.negative^=1);M&&(M.words[Z]=X)}return M&&M.strip(),r.strip(),a!=="div"&&o!==0&&r.iushrn(o),{div:M||null,mod:r}},p.prototype.divmod=function(e,a,o){return O(!e.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&e.negative===0?(h=this.neg().divmod(e,a),a!=="mod"&&(r=h.div.neg()),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.iadd(e)),{div:r,mod:t}):this.negative===0&&e.negative!==0?(h=this.divmod(e.neg(),a),a!=="mod"&&(r=h.div.neg()),{div:r,mod:h.mod}):this.negative&e.negative?(h=this.neg().divmod(e.neg(),a),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.isub(e)),{div:h.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new p(0),mod:this}:e.length===1?a==="div"?{div:this.divn(e.words[0]),mod:null}:a==="mod"?{div:null,mod:new p(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new p(this.modn(e.words[0]))}:this._wordDiv(e,a);var r,t,h},p.prototype.div=function(e){return this.divmod(e,"div",!1).div},p.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},p.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},p.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var o=a.div.negative!==0?a.mod.isub(e):a.mod,r=e.ushrn(1),t=e.andln(1),h=o.cmp(r);return h<0||t===1&&h===0?a.div:a.div.negative!==0?a.div.isubn(1):a.div.iaddn(1)},p.prototype.modn=function(e){O(e<=67108863);for(var a=67108864%e,o=0,r=this.length-1;r>=0;r--)o=(a*o+(0|this.words[r]))%e;return o},p.prototype.idivn=function(e){O(e<=67108863);for(var a=0,o=this.length-1;o>=0;o--){var r=(0|this.words[o])+67108864*a;this.words[o]=r/e|0,a=r%e}return this.strip()},p.prototype.divn=function(e){return this.clone().idivn(e)},p.prototype.egcd=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r=new p(1),t=new p(0),h=new p(0),M=new p(1),H=0;a.isEven()&&o.isEven();)a.iushrn(1),o.iushrn(1),++H;for(var K=o.clone(),V=a.clone();!a.isZero();){for(var Z=0,X=1;!(a.words[0]&X)&&Z<26;++Z,X<<=1);if(Z>0)for(a.iushrn(Z);Z-- >0;)(r.isOdd()||t.isOdd())&&(r.iadd(K),t.isub(V)),r.iushrn(1),t.iushrn(1);for(var ae=0,ie=1;!(o.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(o.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(K),M.isub(V)),h.iushrn(1),M.iushrn(1);a.cmp(o)>=0?(a.isub(o),r.isub(h),t.isub(M)):(o.isub(a),h.isub(r),M.isub(t))}return{a:h,b:M,gcd:o.iushln(H)}},p.prototype._invmp=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r,t=new p(1),h=new p(0),M=o.clone();a.cmpn(1)>0&&o.cmpn(1)>0;){for(var H=0,K=1;!(a.words[0]&K)&&H<26;++H,K<<=1);if(H>0)for(a.iushrn(H);H-- >0;)t.isOdd()&&t.iadd(M),t.iushrn(1);for(var V=0,Z=1;!(o.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(o.iushrn(V);V-- >0;)h.isOdd()&&h.iadd(M),h.iushrn(1);a.cmp(o)>=0?(a.isub(o),t.isub(h)):(o.isub(a),h.isub(t))}return(r=a.cmpn(1)===0?t:h).cmpn(0)<0&&r.iadd(e),r},p.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),o=e.clone();a.negative=0,o.negative=0;for(var r=0;a.isEven()&&o.isEven();r++)a.iushrn(1),o.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;o.isEven();)o.iushrn(1);var t=a.cmp(o);if(t<0){var h=a;a=o,o=h}else if(t===0||o.cmpn(1)===0)break;a.isub(o)}return o.iushln(r)},p.prototype.invm=function(e){return this.egcd(e).a.umod(e)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(e){return this.words[0]&e},p.prototype.bincn=function(e){O(typeof e=="number");var a=e%26,o=(e-a)/26,r=1<<a;if(this.length<=o)return this._expand(o+1),this.words[o]|=r,this;for(var t=r,h=o;t!==0&&h<this.length;h++){var M=0|this.words[h];t=(M+=t)>>>26,M&=67108863,this.words[h]=M}return t!==0&&(this.words[h]=t,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(e){var a,o=e<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;if(this.strip(),this.length>1)a=1;else{o&&(e=-e),O(e<=67108863,"Number is too big");var r=0|this.words[0];a=r===e?0:r<e?-1:1}return this.negative!==0?0|-a:a},p.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var a=this.ucmp(e);return this.negative!==0?0|-a:a},p.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var a=0,o=this.length-1;o>=0;o--){var r=0|this.words[o],t=0|e.words[o];if(r!==t){r<t?a=-1:r>t&&(a=1);break}}return a},p.prototype.gtn=function(e){return this.cmpn(e)===1},p.prototype.gt=function(e){return this.cmp(e)===1},p.prototype.gten=function(e){return this.cmpn(e)>=0},p.prototype.gte=function(e){return this.cmp(e)>=0},p.prototype.ltn=function(e){return this.cmpn(e)===-1},p.prototype.lt=function(e){return this.cmp(e)===-1},p.prototype.lten=function(e){return this.cmpn(e)<=0},p.prototype.lte=function(e){return this.cmp(e)<=0},p.prototype.eqn=function(e){return this.cmpn(e)===0},p.prototype.eq=function(e){return this.cmp(e)===0},p.red=function(e){return new ue(e)},p.prototype.toRed=function(e){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(e){return this.red=e,this},p.prototype.forceRed=function(e){return O(!this.red,"Already a number in reduction context"),this._forceRed(e)},p.prototype.redAdd=function(e){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},p.prototype.redIAdd=function(e){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},p.prototype.redSub=function(e){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},p.prototype.redISub=function(e){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},p.prototype.redShl=function(e){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},p.prototype.redMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},p.prototype.redIMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(e){return O(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var P={k256:null,p224:null,p192:null,p25519:null};function W(e,a){this.name=e,this.p=new p(a,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function te(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function se(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(e){if(typeof e=="string"){var a=p._prime(e);this.m=a.p,this.prime=a}else O(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function de(e){ue.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W.prototype._tmp=function(){var e=new p(null);return e.words=new Array(Math.ceil(this.n/13)),e},W.prototype.ireduce=function(e){var a,o=e;do this.split(o,this.tmp),a=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(a>this.n);var r=a<this.n?-1:o.ucmp(this.p);return r===0?(o.words[0]=0,o.length=1):r>0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},W.prototype.split=function(e,a){e.iushrn(this.n,0,a)},W.prototype.imulK=function(e){return e.imul(this.k)},q(G,W),G.prototype.split=function(e,a){for(var o=4194303,r=Math.min(e.length,9),t=0;t<r;t++)a.words[t]=e.words[t];if(a.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var h=e.words[9];for(a.words[a.length++]=h&o,t=10;t<e.length;t++){var M=0|e.words[t];e.words[t-10]=(M&o)<<4|h>>>22,h=M}h>>>=22,e.words[t-10]=h,h===0&&e.length>10?e.length-=10:e.length-=9},G.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,o=0;o<e.length;o++){var r=0|e.words[o];a+=977*r,e.words[o]=67108863&a,a=64*r+(a/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},q(Q,W),q(te,W),q(se,W),se.prototype.imulK=function(e){for(var a=0,o=0;o<e.length;o++){var r=19*(0|e.words[o])+a,t=67108863&r;r>>>=26,e.words[o]=t,a=r}return a!==0&&(e.words[e.length++]=a),e},p._prime=function(e){if(P[e])return P[e];var a;if(e==="k256")a=new G;else if(e==="p224")a=new Q;else if(e==="p192")a=new te;else{if(e!=="p25519")throw new Error("Unknown prime "+e);a=new se}return P[e]=a,a},ue.prototype._verify1=function(e){O(e.negative===0,"red works only with positives"),O(e.red,"red works only with red numbers")},ue.prototype._verify2=function(e,a){O(!(e.negative|a.negative),"red works only with positives"),O(e.red&&e.red===a.red,"red works only with red numbers")},ue.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},ue.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},ue.prototype.add=function(e,a){this._verify2(e,a);var o=e.add(a);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},ue.prototype.iadd=function(e,a){this._verify2(e,a);var o=e.iadd(a);return o.cmp(this.m)>=0&&o.isub(this.m),o},ue.prototype.sub=function(e,a){this._verify2(e,a);var o=e.sub(a);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},ue.prototype.isub=function(e,a){this._verify2(e,a);var o=e.isub(a);return o.cmpn(0)<0&&o.iadd(this.m),o},ue.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},ue.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},ue.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},ue.prototype.isqr=function(e){return this.imul(e,e.clone())},ue.prototype.sqr=function(e){return this.mul(e,e)},ue.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(O(a%2==1),a===3){var o=this.m.add(new p(1)).iushrn(2);return this.pow(e,o)}for(var r=this.m.subn(1),t=0;!r.isZero()&&r.andln(1)===0;)t++,r.iushrn(1);O(!r.isZero());var h=new p(1).toRed(this),M=h.redNeg(),H=this.m.subn(1).iushrn(1),K=this.m.bitLength();for(K=new p(2*K*K).toRed(this);this.pow(K,H).cmp(M)!==0;)K.redIAdd(M);for(var V=this.pow(K,r),Z=this.pow(e,r.addn(1).iushrn(1)),X=this.pow(e,r),ae=t;X.cmp(h)!==0;){for(var ie=X,ce=0;ie.cmp(h)!==0;ce++)ie=ie.redSqr();O(ce<ae);var Y=this.pow(V,new p(1).iushln(ae-ce-1));Z=Z.redMul(Y),V=Y.redSqr(),X=X.redMul(V),ae=ce}return Z},ue.prototype.invm=function(e){var a=e._invmp(this.m);return a.negative!==0?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ue.prototype.pow=function(e,a){if(a.isZero())return new p(1).toRed(this);if(a.cmpn(1)===0)return e.clone();var o=new Array(16);o[0]=new p(1).toRed(this),o[1]=e;for(var r=2;r<o.length;r++)o[r]=this.mul(o[r-1],e);var t=o[0],h=0,M=0,H=a.bitLength()%26;for(H===0&&(H=26),r=a.length-1;r>=0;r--){for(var K=a.words[r],V=H-1;V>=0;V--){var Z=K>>V&1;t!==o[0]&&(t=this.sqr(t)),Z!==0||h!==0?(h<<=1,h|=Z,(++M==4||r===0&&V===0)&&(t=this.mul(t,o[h]),M=0,h=0)):M=0}H=26}return t},ue.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},ue.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},p.mont=function(e){return new de(e)},q(de,ue),de.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},de.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},de.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var o=e.imul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new p(0)._forceRed(this);var o=e.mul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},2802:(F,v,d)=>{var T=F.exports=function(A){A=A.toLowerCase();var O=T[A];if(!O)throw new Error(A+" is not supported (we accept pull requests)");return new O};T.sha=d(7816),T.sha1=d(3737),T.sha224=d(6710),T.sha256=d(4107),T.sha384=d(2827),T.sha512=d(2890)},2808:(F,v,d)=>{var T=d(3349);function A(O){this.options=O,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=O.padding!==!1}F.exports=A,A.prototype._init=function(){},A.prototype.update=function(O){return O.length===0?[]:this.type==="decrypt"?this._updateDecrypt(O):this._updateEncrypt(O)},A.prototype._buffer=function(O,q){for(var p=Math.min(this.buffer.length-this.bufferOff,O.length-q),j=0;j<p;j++)this.buffer[this.bufferOff+j]=O[q+j];return this.bufferOff+=p,p},A.prototype._flushBuffer=function(O,q){return this._update(this.buffer,0,O,q),this.bufferOff=0,this.blockSize},A.prototype._updateEncrypt=function(O){var q=0,p=0,j=(this.bufferOff+O.length)/this.blockSize|0,w=new Array(j*this.blockSize);this.bufferOff!==0&&(q+=this._buffer(O,q),this.bufferOff===this.buffer.length&&(p+=this._flushBuffer(w,p)));for(var S=O.length-(O.length-q)%this.blockSize;q<S;q+=this.blockSize)this._update(O,q,w,p),p+=this.blockSize;for(;q<O.length;q++,this.bufferOff++)this.buffer[this.bufferOff]=O[q];return w},A.prototype._updateDecrypt=function(O){for(var q=0,p=0,j=Math.ceil((this.bufferOff+O.length)/this.blockSize)-1,w=new Array(j*this.blockSize);j>0;j--)q+=this._buffer(O,q),p+=this._flushBuffer(w,p);return q+=this._buffer(O,q),w},A.prototype.final=function(O){var q,p;return O&&(q=this.update(O)),p=this.type==="encrypt"?this._finalEncrypt():this._finalDecrypt(),q?q.concat(p):p},A.prototype._pad=function(O,q){if(q===0)return!1;for(;q<O.length;)O[q++]=0;return!0},A.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var O=new Array(this.blockSize);return this._update(this.buffer,0,O,0),O},A.prototype._unpad=function(O){return O},A.prototype._finalDecrypt=function(){T.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var O=new Array(this.blockSize);return this._flushBuffer(O,0),this._unpad(O)}},2827:(F,v,d)=>{var T=d(6698),A=d(2890),O=d(392),q=d(2861).Buffer,p=new Array(160);function j(){this.init(),this._w=p,O.call(this,128,112)}T(j,A),j.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},j.prototype._hash=function(){var w=q.allocUnsafe(48);function S(_,N,I){w.writeInt32BE(_,I),w.writeInt32BE(N,I+4)}return S(this._ah,this._al,0),S(this._bh,this._bl,8),S(this._ch,this._cl,16),S(this._dh,this._dl,24),S(this._eh,this._el,32),S(this._fh,this._fl,40),w},F.exports=j},2853:(F,v,d)=>{var T=v;T.der=d(2010),T.pem=d(8903)},2861:(F,v,d)=>{var T=d(8287),A=T.Buffer;function O(p,j){for(var w in p)j[w]=p[w]}function q(p,j,w){return A(p,j,w)}A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow?F.exports=T:(O(T,v),v.Buffer=q),q.prototype=Object.create(A.prototype),O(A,q),q.from=function(p,j,w){if(typeof p=="number")throw new TypeError("Argument must not be a number");return A(p,j,w)},q.alloc=function(p,j,w){if(typeof p!="number")throw new TypeError("Argument must be a number");var S=A(p);return j!==void 0?typeof w=="string"?S.fill(j,w):S.fill(j):S.fill(0),S},q.allocUnsafe=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return A(p)},q.allocUnsafeSlow=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return T.SlowBuffer(p)}},2884:(F,v,d)=>{var T=d(295);v.encrypt=function(A,O){var q=T(O,A._prev);return A._prev=A._cipher.encryptBlock(q),A._prev},v.decrypt=function(A,O){var q=A._prev;A._prev=O;var p=A._cipher.decryptBlock(O);return T(p,q)}},2890:(F,v,d)=>{var T=d(6698),A=d(392),O=d(2861).Buffer,q=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],p=new Array(160);function j(){this.init(),this._w=p,A.call(this,128,112)}function w($,P,W){return W^$&(P^W)}function S($,P,W){return $&P|W&($|P)}function _($,P){return($>>>28|P<<4)^(P>>>2|$<<30)^(P>>>7|$<<25)}function N($,P){return($>>>14|P<<18)^($>>>18|P<<14)^(P>>>9|$<<23)}function I($,P){return($>>>1|P<<31)^($>>>8|P<<24)^$>>>7}function b($,P){return($>>>1|P<<31)^($>>>8|P<<24)^($>>>7|P<<25)}function B($,P){return($>>>19|P<<13)^(P>>>29|$<<3)^$>>>6}function D($,P){return($>>>19|P<<13)^(P>>>29|$<<3)^($>>>6|P<<26)}function U($,P){return $>>>0<P>>>0?1:0}T(j,A),j.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},j.prototype._update=function($){for(var P=this._w,W=0|this._ah,G=0|this._bh,Q=0|this._ch,te=0|this._dh,se=0|this._eh,ue=0|this._fh,de=0|this._gh,e=0|this._hh,a=0|this._al,o=0|this._bl,r=0|this._cl,t=0|this._dl,h=0|this._el,M=0|this._fl,H=0|this._gl,K=0|this._hl,V=0;V<32;V+=2)P[V]=$.readInt32BE(4*V),P[V+1]=$.readInt32BE(4*V+4);for(;V<160;V+=2){var Z=P[V-30],X=P[V-30+1],ae=I(Z,X),ie=b(X,Z),ce=B(Z=P[V-4],X=P[V-4+1]),Y=D(X,Z),ne=P[V-14],J=P[V-14+1],ee=P[V-32],ge=P[V-32+1],pe=ie+J|0,we=ae+ne+U(pe,ie)|0;we=(we=we+ce+U(pe=pe+Y|0,Y)|0)+ee+U(pe=pe+ge|0,ge)|0,P[V]=we,P[V+1]=pe}for(var je=0;je<160;je+=2){we=P[je],pe=P[je+1];var Me=S(W,G,Q),Ae=S(a,o,r),Ve=_(W,a),Ie=_(a,W),Be=N(se,h),le=N(h,se),he=q[je],fe=q[je+1],ve=w(se,ue,de),ye=w(h,M,H),xe=K+le|0,Le=e+Be+U(xe,K)|0;Le=(Le=(Le=Le+ve+U(xe=xe+ye|0,ye)|0)+he+U(xe=xe+fe|0,fe)|0)+we+U(xe=xe+pe|0,pe)|0;var Oe=Ie+Ae|0,Pe=Ve+Me+U(Oe,Ie)|0;e=de,K=H,de=ue,H=M,ue=se,M=h,se=te+Le+U(h=t+xe|0,t)|0,te=Q,t=r,Q=G,r=o,G=W,o=a,W=Le+Pe+U(a=xe+Oe|0,xe)|0}this._al=this._al+a|0,this._bl=this._bl+o|0,this._cl=this._cl+r|0,this._dl=this._dl+t|0,this._el=this._el+h|0,this._fl=this._fl+M|0,this._gl=this._gl+H|0,this._hl=this._hl+K|0,this._ah=this._ah+W+U(this._al,a)|0,this._bh=this._bh+G+U(this._bl,o)|0,this._ch=this._ch+Q+U(this._cl,r)|0,this._dh=this._dh+te+U(this._dl,t)|0,this._eh=this._eh+se+U(this._el,h)|0,this._fh=this._fh+ue+U(this._fl,M)|0,this._gh=this._gh+de+U(this._gl,H)|0,this._hh=this._hh+e+U(this._hl,K)|0},j.prototype._hash=function(){var $=O.allocUnsafe(64);function P(W,G,Q){$.writeInt32BE(W,Q),$.writeInt32BE(G,Q+4)}return P(this._ah,this._al,0),P(this._bh,this._bl,8),P(this._ch,this._cl,16),P(this._dh,this._dl,24),P(this._eh,this._el,32),P(this._fh,this._fl,40),P(this._gh,this._gl,48),P(this._hh,this._hl,56),$},F.exports=j},2951:F=>{F.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},2955:(F,v,d)=>{var T,A=d(5606);function O(P,W,G){return(W=function(Q){var te=function(se){if(typeof se!="object"||se===null)return se;var ue=se[Symbol.toPrimitive];if(ue!==void 0){var de=ue.call(se,"string");if(typeof de!="object")return de;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(se)}(Q);return typeof te=="symbol"?te:String(te)}(W))in P?Object.defineProperty(P,W,{value:G,enumerable:!0,configurable:!0,writable:!0}):P[W]=G,P}var q=d(6238),p=Symbol("lastResolve"),j=Symbol("lastReject"),w=Symbol("error"),S=Symbol("ended"),_=Symbol("lastPromise"),N=Symbol("handlePromise"),I=Symbol("stream");function b(P,W){return{value:P,done:W}}function B(P){var W=P[p];if(W!==null){var G=P[I].read();G!==null&&(P[_]=null,P[p]=null,P[j]=null,W(b(G,!1)))}}function D(P){A.nextTick(B,P)}var U=Object.getPrototypeOf(function(){}),$=Object.setPrototypeOf((O(T={get stream(){return this[I]},next:function(){var P=this,W=this[w];if(W!==null)return Promise.reject(W);if(this[S])return Promise.resolve(b(void 0,!0));if(this[I].destroyed)return new Promise(function(se,ue){A.nextTick(function(){P[w]?ue(P[w]):se(b(void 0,!0))})});var G,Q=this[_];if(Q)G=new Promise(function(se,ue){return function(de,e){se.then(function(){ue[S]?de(b(void 0,!0)):ue[N](de,e)},e)}}(Q,this));else{var te=this[I].read();if(te!==null)return Promise.resolve(b(te,!1));G=new Promise(this[N])}return this[_]=G,G}},Symbol.asyncIterator,function(){return this}),O(T,"return",function(){var P=this;return new Promise(function(W,G){P[I].destroy(null,function(Q){Q?G(Q):W(b(void 0,!0))})})}),T),U);F.exports=function(P){var W,G=Object.create($,(O(W={},I,{value:P,writable:!0}),O(W,p,{value:null,writable:!0}),O(W,j,{value:null,writable:!0}),O(W,w,{value:null,writable:!0}),O(W,S,{value:P._readableState.endEmitted,writable:!0}),O(W,N,{value:function(Q,te){var se=G[I].read();se?(G[_]=null,G[p]=null,G[j]=null,Q(b(se,!1))):(G[p]=Q,G[j]=te)},writable:!0}),W));return G[_]=null,q(P,function(Q){if(Q&&Q.code!=="ERR_STREAM_PREMATURE_CLOSE"){var te=G[j];return te!==null&&(G[_]=null,G[p]=null,G[j]=null,te(Q)),void(G[w]=Q)}var se=G[p];se!==null&&(G[_]=null,G[p]=null,G[j]=null,se(b(void 0,!0))),G[S]=!0}),P.on("readable",D.bind(null,G)),G}},3003:F=>{F.exports=function(v){return v!=v}},3053:(F,v,d)=>{var T=d(295),A=d(2861).Buffer,O=d(5122);function q(p){var j=p._cipher.encryptBlockRaw(p._prev);return O(p._prev),j}v.encrypt=function(p,j){var w=Math.ceil(j.length/16),S=p._cache.length;p._cache=A.concat([p._cache,A.allocUnsafe(16*w)]);for(var _=0;_<w;_++){var N=q(p),I=S+16*_;p._cache.writeUInt32BE(N[0],I+0),p._cache.writeUInt32BE(N[1],I+4),p._cache.writeUInt32BE(N[2],I+8),p._cache.writeUInt32BE(N[3],I+12)}var b=p._cache.slice(0,j.length);return p._cache=p._cache.slice(j.length),T(j,b)}},3055:F=>{F.exports=function(v,d){for(var T={},A=Object.keys(v),O=Array.isArray(d),q=0;q<A.length;q++){var p=A[q],j=v[p];(O?d.indexOf(p)!==-1:d(p,j,v))&&(T[p]=j)}return T}},3074:function(F,v,d){(function(){var T,A;T=d(5660),A=d(2527),F.exports=function(){function O(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new T,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(O.prototype,"parameterNames",{get:function(){return new A(Object.keys(this.defaultParams))}}),O.prototype.getParameter=function(q){return this.params.hasOwnProperty(q)?this.params[q]:null},O.prototype.canSetParameter=function(q,p){return!0},O.prototype.setParameter=function(q,p){return p!=null?this.params[q]=p:delete this.params[q]},O}()}).call(this)},3093:(F,v,d)=>{var T=d(4459);F.exports=function(A){return T(A)||A===0?A:A<0?-1:1}},3126:(F,v,d)=>{var T=d(6743),A=d(9675),O=d(76),q=d(3144);F.exports=function(p){if(p.length<1||typeof p[0]!="function")throw new A("a function is required");return q(T,O,p)}},3141:(F,v,d)=>{var T=d(2861).Buffer,A=T.isEncoding||function(b){switch((b=""+b)&&b.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function O(b){var B;switch(this.encoding=function(D){var U=function($){if(!$)return"utf8";for(var P;;)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(P)return;$=(""+$).toLowerCase(),P=!0}}(D);if(typeof U!="string"&&(T.isEncoding===A||!A(D)))throw new Error("Unknown encoding: "+D);return U||D}(b),this.encoding){case"utf16le":this.text=j,this.end=w,B=4;break;case"utf8":this.fillLast=p,B=4;break;case"base64":this.text=S,this.end=_,B=3;break;default:return this.write=N,void(this.end=I)}this.lastNeed=0,this.lastTotal=0,this.lastChar=T.allocUnsafe(B)}function q(b){return b<=127?0:b>>5==6?2:b>>4==14?3:b>>3==30?4:b>>6==2?-1:-2}function p(b){var B=this.lastTotal-this.lastNeed,D=function(U,$){if((192&$[0])!=128)return U.lastNeed=0,"�";if(U.lastNeed>1&&$.length>1){if((192&$[1])!=128)return U.lastNeed=1,"�";if(U.lastNeed>2&&$.length>2&&(192&$[2])!=128)return U.lastNeed=2,"�"}}(this,b);return D!==void 0?D:this.lastNeed<=b.length?(b.copy(this.lastChar,B,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(b.copy(this.lastChar,B,0,b.length),void(this.lastNeed-=b.length))}function j(b,B){if((b.length-B)%2==0){var D=b.toString("utf16le",B);if(D){var U=D.charCodeAt(D.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=b[b.length-2],this.lastChar[1]=b[b.length-1],D.slice(0,-1)}return D}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=b[b.length-1],b.toString("utf16le",B,b.length-1)}function w(b){var B=b&&b.length?this.write(b):"";if(this.lastNeed){var D=this.lastTotal-this.lastNeed;return B+this.lastChar.toString("utf16le",0,D)}return B}function S(b,B){var D=(b.length-B)%3;return D===0?b.toString("base64",B):(this.lastNeed=3-D,this.lastTotal=3,D===1?this.lastChar[0]=b[b.length-1]:(this.lastChar[0]=b[b.length-2],this.lastChar[1]=b[b.length-1]),b.toString("base64",B,b.length-D))}function _(b){var B=b&&b.length?this.write(b):"";return this.lastNeed?B+this.lastChar.toString("base64",0,3-this.lastNeed):B}function N(b){return b.toString(this.encoding)}function I(b){return b&&b.length?this.write(b):""}v.I=O,O.prototype.write=function(b){if(b.length===0)return"";var B,D;if(this.lastNeed){if((B=this.fillLast(b))===void 0)return"";D=this.lastNeed,this.lastNeed=0}else D=0;return D<b.length?B?B+this.text(b,D):this.text(b,D):B||""},O.prototype.end=function(b){var B=b&&b.length?this.write(b):"";return this.lastNeed?B+"�":B},O.prototype.text=function(b,B){var D=function($,P,W){var G=P.length-1;if(G<W)return 0;var Q=q(P[G]);return Q>=0?(Q>0&&($.lastNeed=Q-1),Q):--G<W||Q===-2?0:(Q=q(P[G]))>=0?(Q>0&&($.lastNeed=Q-2),Q):--G<W||Q===-2?0:(Q=q(P[G]))>=0?(Q>0&&(Q===2?Q=0:$.lastNeed=Q-3),Q):0}(this,b,B);if(!this.lastNeed)return b.toString("utf8",B);this.lastTotal=D;var U=b.length-(D-this.lastNeed);return b.copy(this.lastChar,0,U),b.toString("utf8",B,U)},O.prototype.fillLast=function(b){if(this.lastNeed<=b.length)return b.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);b.copy(this.lastChar,this.lastTotal-this.lastNeed,0,b.length),this.lastNeed-=b.length}},3144:(F,v,d)=>{var T=d(6743),A=d(1002),O=d(76),q=d(7119);F.exports=q||T.call(O,A)},3177:function(F,v){(function(){v.stripBOM=function(d){return d[0]==="\uFEFF"?d.substring(1):d}}).call(this)},3209:(F,v,d)=>{var T=d(5606),A=65536,O=d(2861).Buffer,q=d.g.crypto||d.g.msCrypto;q&&q.getRandomValues?F.exports=function(p,j){if(p>4294967295)throw new RangeError("requested too many random bytes");var w=O.allocUnsafe(p);if(p>0)if(p>A)for(var S=0;S<p;S+=A)q.getRandomValues(w.slice(S,S+A));else q.getRandomValues(w);return typeof j=="function"?T.nextTick(function(){j(null,w)}):w}:F.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
61
|
+
Use Chrome, Firefox or Internet Explorer 11`)}},3219:F=>{F.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},3225:(F,v,d)=>{var T=d(5606);T===void 0||!T.version||T.version.indexOf("v0.")===0||T.version.indexOf("v1.")===0&&T.version.indexOf("v1.8.")!==0?F.exports={nextTick:function(A,O,q,p){if(typeof A!="function")throw new TypeError('"callback" argument must be a function');var j,w,S=arguments.length;switch(S){case 0:case 1:return T.nextTick(A);case 2:return T.nextTick(function(){A.call(null,O)});case 3:return T.nextTick(function(){A.call(null,O,q)});case 4:return T.nextTick(function(){A.call(null,O,q,p)});default:for(j=new Array(S-1),w=0;w<j.length;)j[w++]=arguments[w];return T.nextTick(function(){A.apply(null,j)})}}}:F.exports=T},3241:F=>{F.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},3349:F=>{function v(d,T){if(!d)throw new Error(T||"Assertion failed")}F.exports=v,v.equal=function(d,T,A){if(d!=T)throw new Error(A||"Assertion failed: "+d+" != "+T)}},3382:(F,v,d)=>{var T=d(2861).Buffer;F.exports=function(A,O,q){if(T.isBuffer(A))return A;if(typeof A=="string")return T.from(A,O);if(ArrayBuffer.isView(A))return T.from(A.buffer);throw new TypeError(q+" must be a string, a Buffer, a typed array or a DataView")}},3389:(F,v,d)=>{var T=d(3349),A=d(6698),O={};function q(p){T.equal(p.length,8,"Invalid IV length"),this.iv=new Array(8);for(var j=0;j<this.iv.length;j++)this.iv[j]=p[j]}v.instantiate=function(p){function j(N){p.call(this,N),this._cbcInit()}A(j,p);for(var w=Object.keys(O),S=0;S<w.length;S++){var _=w[S];j.prototype[_]=O[_]}return j.create=function(N){return new j(N)},j},O._cbcInit=function(){var p=new q(this.options.iv);this._cbcState=p},O._update=function(p,j,w,S){var _=this._cbcState,N=this.constructor.super_.prototype,I=_.iv;if(this.type==="encrypt"){for(var b=0;b<this.blockSize;b++)I[b]^=p[j+b];for(N._update.call(this,I,0,w,S),b=0;b<this.blockSize;b++)I[b]=w[S+b]}else{for(N._update.call(this,p,j,w,S),b=0;b<this.blockSize;b++)w[S+b]^=I[b];for(b=0;b<this.blockSize;b++)I[b]=p[j+b]}}},3480:(F,v,d)=>{var T=d(7975),A=d(763),O=parseInt("0777",8);function q(p,j,w,S){typeof j=="function"?(w=j,j={}):j&&typeof j=="object"||(j={mode:j});var _=j.mode,N=j.fs||A;_===void 0&&(_=O),S||(S=null);var I=w||function(){};p=T.resolve(p),N.mkdir(p,_,function(b){if(!b)return I(null,S=S||p);if(b.code==="ENOENT"){if(T.dirname(p)===p)return I(b);q(T.dirname(p),j,function(B,D){B?I(B,D):q(p,j,I,D)})}else N.stat(p,function(B,D){B||!D.isDirectory()?I(b,S):I(null,S)})})}F.exports=q.mkdirp=q.mkdirP=q,q.sync=function p(j,w,S){w&&typeof w=="object"||(w={mode:w});var _=w.mode,N=w.fs||A;_===void 0&&(_=O),S||(S=null),j=T.resolve(j);try{N.mkdirSync(j,_),S=S||j}catch(b){if(b.code==="ENOENT")S=p(T.dirname(j),w,S),p(j,w,S);else{var I;try{I=N.statSync(j)}catch{throw b}if(!I.isDirectory())throw b}}return S}},3507:(F,v,d)=>{var T=d(6698),A=d(1800),O=d(6168),q=d(2861).Buffer,p=d(320),j=d(6011),w=d(2802),S=q.alloc(128);function _(N,I){O.call(this,"digest"),typeof I=="string"&&(I=q.from(I));var b=N==="sha512"||N==="sha384"?128:64;this._alg=N,this._key=I,I.length>b?I=(N==="rmd160"?new j:w(N)).update(I).digest():I.length<b&&(I=q.concat([I,S],b));for(var B=this._ipad=q.allocUnsafe(b),D=this._opad=q.allocUnsafe(b),U=0;U<b;U++)B[U]=54^I[U],D[U]=92^I[U];this._hash=N==="rmd160"?new j:w(N),this._hash.update(B)}T(_,O),_.prototype._update=function(N){this._hash.update(N)},_.prototype._final=function(){var N=this._hash.digest();return(this._alg==="rmd160"?new j:w(this._alg)).update(this._opad).update(N).digest()},F.exports=function(N,I){return(N=N.toLowerCase())==="rmd160"||N==="ripemd160"?new _("rmd160",I):N==="md5"?new A(p,I):new _(N,I)}},3600:(F,v,d)=>{F.exports=A;var T=d(4610);function A(O){if(!(this instanceof A))return new A(O);T.call(this,O)}d(6698)(A,T),A.prototype._transform=function(O,q,p){p(null,O)}},3628:(F,v,d)=>{var T=d(8648),A=d(1064),O=d(7176);F.exports=T?function(q){return T(q)}:A?function(q){if(!q||typeof q!="object"&&typeof q!="function")throw new TypeError("getProto: not an object");return A(q)}:O?function(q){return O(q)}:null},3737:(F,v,d)=>{var T=d(6698),A=d(392),O=d(2861).Buffer,q=[1518500249,1859775393,-1894007588,-899497514],p=new Array(80);function j(){this.init(),this._w=p,A.call(this,64,56)}function w(N){return N<<5|N>>>27}function S(N){return N<<30|N>>>2}function _(N,I,b,B){return N===0?I&b|~I&B:N===2?I&b|I&B|b&B:I^b^B}T(j,A),j.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},j.prototype._update=function(N){for(var I,b=this._w,B=0|this._a,D=0|this._b,U=0|this._c,$=0|this._d,P=0|this._e,W=0;W<16;++W)b[W]=N.readInt32BE(4*W);for(;W<80;++W)b[W]=(I=b[W-3]^b[W-8]^b[W-14]^b[W-16])<<1|I>>>31;for(var G=0;G<80;++G){var Q=~~(G/20),te=w(B)+_(Q,D,U,$)+P+b[G]+q[Q]|0;P=$,$=U,U=S(D),D=B,B=te}this._a=B+this._a|0,this._b=D+this._b|0,this._c=U+this._c|0,this._d=$+this._d|0,this._e=P+this._e|0},j.prototype._hash=function(){var N=O.allocUnsafe(20);return N.writeInt32BE(0|this._a,0),N.writeInt32BE(0|this._b,4),N.writeInt32BE(0|this._c,8),N.writeInt32BE(0|this._d,12),N.writeInt32BE(0|this._e,16),N},F.exports=j},3776:()=>{},3832:(F,v,d)=>{var T,A,O=d(2861).Buffer,q=d(4196),p=d(2455),j=d(1352),w=d(3382),S=d.g.crypto&&d.g.crypto.subtle,_={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},N=[];function I(){return A||(A=d.g.process&&d.g.process.nextTick?d.g.process.nextTick:d.g.queueMicrotask?d.g.queueMicrotask:d.g.setImmediate?d.g.setImmediate:d.g.setTimeout)}function b(B,D,U,$,P){return S.importKey("raw",B,{name:"PBKDF2"},!1,["deriveBits"]).then(function(W){return S.deriveBits({name:"PBKDF2",salt:D,iterations:U,hash:{name:P}},W,$<<3)}).then(function(W){return O.from(W)})}F.exports=function(B,D,U,$,P,W){typeof P=="function"&&(W=P,P=void 0);var G=_[(P=P||"sha1").toLowerCase()];if(G&&typeof d.g.Promise=="function"){if(q(U,$),B=w(B,p,"Password"),D=w(D,p,"Salt"),typeof W!="function")throw new Error("No callback provided to pbkdf2");(function(Q,te){Q.then(function(se){I()(function(){te(null,se)})},function(se){I()(function(){te(se)})})})(function(Q){if(d.g.process&&!d.g.process.browser||!S||!S.importKey||!S.deriveBits)return Promise.resolve(!1);if(N[Q]!==void 0)return N[Q];var te=b(T=T||O.alloc(8),T,10,128,Q).then(function(){return!0}).catch(function(){return!1});return N[Q]=te,te}(G).then(function(Q){return Q?b(B,D,U,$,G):j(B,D,U,$,P)}),W)}else I()(function(){var Q;try{Q=j(B,D,U,$,P)}catch(te){return W(te)}W(null,Q)})}},3906:function(F,v,d){(function(){var T,A,O,q,p,j,w,S,_={}.hasOwnProperty;S=d(9241),w=S.isObject,j=S.isFunction,p=S.getValue,q=d(468),T=d(1737),A=d(4238),O=d(4797),F.exports=function(N){function I(b,B,D){var U,$,P,W;if(I.__super__.constructor.call(this,b),B==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(B),this.type=T.Element,this.attribs={},this.schemaTypeInfo=null,D!=null&&this.attribute(D),b.type===T.Document&&(this.isRoot=!0,this.documentObject=b,b.rootObject=this,b.children)){for($=0,P=(W=b.children).length;$<P;$++)if((U=W[$]).type===T.DocType){U.name=this.name;break}}}return function(b,B){for(var D in B)_.call(B,D)&&(b[D]=B[D]);function U(){this.constructor=b}U.prototype=B.prototype,b.prototype=new U,b.__super__=B.prototype}(I,N),Object.defineProperty(I.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(I.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(I.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(I.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(I.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(I.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new O(this.attribs)),this.attributeMap}}),I.prototype.clone=function(){var b,B,D,U;for(B in(D=Object.create(this)).isRoot&&(D.documentObject=null),D.attribs={},U=this.attribs)_.call(U,B)&&(b=U[B],D.attribs[B]=b.clone());return D.children=[],this.children.forEach(function($){var P;return(P=$.clone()).parent=D,D.children.push(P)}),D},I.prototype.attribute=function(b,B){var D,U;if(b!=null&&(b=p(b)),w(b))for(D in b)_.call(b,D)&&(U=b[D],this.attribute(D,U));else j(B)&&(B=B.apply()),this.options.keepNullAttributes&&B==null?this.attribs[b]=new A(this,b,""):B!=null&&(this.attribs[b]=new A(this,b,B));return this},I.prototype.removeAttribute=function(b){var B,D,U;if(b==null)throw new Error("Missing attribute name. "+this.debugInfo());if(b=p(b),Array.isArray(b))for(D=0,U=b.length;D<U;D++)B=b[D],delete this.attribs[B];else delete this.attribs[b];return this},I.prototype.toString=function(b){return this.options.writer.element(this,this.options.writer.filterOptions(b))},I.prototype.att=function(b,B){return this.attribute(b,B)},I.prototype.a=function(b,B){return this.attribute(b,B)},I.prototype.getAttribute=function(b){return this.attribs.hasOwnProperty(b)?this.attribs[b].value:null},I.prototype.setAttribute=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNode=function(b){return this.attribs.hasOwnProperty(b)?this.attribs[b]:null},I.prototype.setAttributeNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.removeAttributeNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNS=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setAttributeNS=function(b,B,D){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.removeAttributeNS=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getAttributeNodeNS=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setAttributeNodeNS=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagNameNS=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.hasAttribute=function(b){return this.attribs.hasOwnProperty(b)},I.prototype.hasAttributeNS=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setIdAttribute=function(b,B){return this.attribs.hasOwnProperty(b)?this.attribs[b].isId:B},I.prototype.setIdAttributeNS=function(b,B,D){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.setIdAttributeNode=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByTagNameNS=function(b,B){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},I.prototype.isEqualNode=function(b){var B,D,U;if(!I.__super__.isEqualNode.apply(this,arguments).isEqualNode(b)||b.namespaceURI!==this.namespaceURI||b.prefix!==this.prefix||b.localName!==this.localName||b.attribs.length!==this.attribs.length)return!1;for(B=D=0,U=this.attribs.length-1;0<=U?D<=U:D>=U;B=0<=U?++D:--D)if(!this.attribs[B].isEqualNode(b.attribs[B]))return!1;return!0},I}(q)}).call(this)},3917:(F,v,d)=>{var T=d(7426),A=d(6166),O=d(6225),q=T.rotl32,p=T.sum32,j=T.sum32_5,w=O.ft_1,S=A.BlockHash,_=[1518500249,1859775393,2400959708,3395469782];function N(){if(!(this instanceof N))return new N;S.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}T.inherits(N,S),F.exports=N,N.blockSize=512,N.outSize=160,N.hmacStrength=80,N.padLength=64,N.prototype._update=function(I,b){for(var B=this.W,D=0;D<16;D++)B[D]=I[b+D];for(;D<B.length;D++)B[D]=q(B[D-3]^B[D-8]^B[D-14]^B[D-16],1);var U=this.h[0],$=this.h[1],P=this.h[2],W=this.h[3],G=this.h[4];for(D=0;D<B.length;D++){var Q=~~(D/20),te=j(q(U,5),w(Q,$,P,W),G,B[D],_[Q]);G=W,W=P,P=q($,30),$=U,U=te}this.h[0]=p(this.h[0],U),this.h[1]=p(this.h[1],$),this.h[2]=p(this.h[2],P),this.h[3]=p(this.h[3],W),this.h[4]=p(this.h[4],G)},N.prototype._digest=function(I){return I==="hex"?T.toHex32(this.h,"big"):T.split32(this.h,"big")}},3918:(F,v,d)=>{var T=d(5606);function A(e,a){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);a&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,r)}return o}function O(e){for(var a=1;a<arguments.length;a++){var o=arguments[a]!=null?arguments[a]:{};a%2?A(Object(o),!0).forEach(function(r){var t,h,M;t=e,h=r,M=o[r],(h=p(h))in t?Object.defineProperty(t,h,{value:M,enumerable:!0,configurable:!0,writable:!0}):t[h]=M}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function q(e,a){for(var o=0;o<a.length;o++){var r=a[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function p(e){var a=function(o){if(B(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var t=r.call(o,"string");if(B(t)!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(e);return B(a)==="symbol"?a:String(a)}function j(e,a){if(a&&(B(a)==="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}function w(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e){var a=typeof Map=="function"?new Map:void 0;return S=function(o){if(o===null||(r=o,Function.toString.call(r).indexOf("[native code]")===-1))return o;var r;if(typeof o!="function")throw new TypeError("Super expression must either be null or a function");if(a!==void 0){if(a.has(o))return a.get(o);a.set(o,t)}function t(){return _(o,arguments,b(this).constructor)}return t.prototype=Object.create(o.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),I(t,o)},S(e)}function _(e,a,o){return _=N()?Reflect.construct.bind():function(r,t,h){var M=[null];M.push.apply(M,t);var H=new(Function.bind.apply(r,M));return h&&I(H,h.prototype),H},_.apply(null,arguments)}function N(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function I(e,a){return I=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},I(e,a)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(a){return a.__proto__||Object.getPrototypeOf(a)},b(e)}function B(e){return B=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},B(e)}var D=d(537).inspect,U=d(9597).codes.ERR_INVALID_ARG_TYPE;function $(e,a,o){return(o===void 0||o>e.length)&&(o=e.length),e.substring(o-a.length,o)===a}var P="",W="",G="",Q="",te={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function se(e){var a=Object.keys(e),o=Object.create(Object.getPrototypeOf(e));return a.forEach(function(r){o[r]=e[r]}),Object.defineProperty(o,"message",{value:e.message}),o}function ue(e){return D(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var de=function(e,a){(function(K,V){if(typeof V!="function"&&V!==null)throw new TypeError("Super expression must either be null or a function");K.prototype=Object.create(V&&V.prototype,{constructor:{value:K,writable:!0,configurable:!0}}),Object.defineProperty(K,"prototype",{writable:!1}),V&&I(K,V)})(H,e);var o,r,t,h,M=(o=H,r=N(),function(){var K,V=b(o);if(r){var Z=b(this).constructor;K=Reflect.construct(V,arguments,Z)}else K=V.apply(this,arguments);return j(this,K)});function H(K){var V;if(function(we,je){if(!(we instanceof je))throw new TypeError("Cannot call a class as a function")}(this,H),B(K)!=="object"||K===null)throw new U("options","Object",K);var Z=K.message,X=K.operator,ae=K.stackStartFn,ie=K.actual,ce=K.expected,Y=Error.stackTraceLimit;if(Error.stackTraceLimit=0,Z!=null)V=M.call(this,String(Z));else if(T.stderr&&T.stderr.isTTY&&(T.stderr&&T.stderr.getColorDepth&&T.stderr.getColorDepth()!==1?(P="\x1B[34m",W="\x1B[32m",Q="\x1B[39m",G="\x1B[31m"):(P="",W="",Q="",G="")),B(ie)==="object"&&ie!==null&&B(ce)==="object"&&ce!==null&&"stack"in ie&&ie instanceof Error&&"stack"in ce&&ce instanceof Error&&(ie=se(ie),ce=se(ce)),X==="deepStrictEqual"||X==="strictEqual")V=M.call(this,function(we,je,Me){var Ae="",Ve="",Ie=0,Be="",le=!1,he=ue(we),fe=he.split(`
|
|
62
|
+
`),ve=ue(je).split(`
|
|
63
|
+
`),ye=0,xe="";if(Me==="strictEqual"&&B(we)==="object"&&B(je)==="object"&&we!==null&&je!==null&&(Me="strictEqualObject"),fe.length===1&&ve.length===1&&fe[0]!==ve[0]){var Le=fe[0].length+ve[0].length;if(Le<=10){if(!(B(we)==="object"&&we!==null||B(je)==="object"&&je!==null||we===0&&je===0))return"".concat(te[Me],`
|
|
64
|
+
|
|
65
|
+
`)+"".concat(fe[0]," !== ").concat(ve[0],`
|
|
66
|
+
`)}else if(Me!=="strictEqualObject"&&Le<(T.stderr&&T.stderr.isTTY?T.stderr.columns:80)){for(;fe[0][ye]===ve[0][ye];)ye++;ye>2&&(xe=`
|
|
67
|
+
`.concat(function(_t,$e){if($e=Math.floor($e),_t.length==0||$e==0)return"";var tt=_t.length*$e;for($e=Math.floor(Math.log($e)/Math.log(2));$e;)_t+=_t,$e--;return _t+_t.substring(0,tt-_t.length)}(" ",ye),"^"),ye=0)}}for(var Oe=fe[fe.length-1],Pe=ve[ve.length-1];Oe===Pe&&(ye++<2?Be=`
|
|
68
|
+
`.concat(Oe).concat(Be):Ae=Oe,fe.pop(),ve.pop(),fe.length!==0&&ve.length!==0);)Oe=fe[fe.length-1],Pe=ve[ve.length-1];var wt=Math.max(fe.length,ve.length);if(wt===0){var Ne=he.split(`
|
|
69
|
+
`);if(Ne.length>30)for(Ne[26]="".concat(P,"...").concat(Q);Ne.length>27;)Ne.pop();return"".concat(te.notIdentical,`
|
|
70
|
+
|
|
71
|
+
`).concat(Ne.join(`
|
|
72
|
+
`),`
|
|
73
|
+
`)}ye>3&&(Be=`
|
|
74
|
+
`.concat(P,"...").concat(Q).concat(Be),le=!0),Ae!==""&&(Be=`
|
|
75
|
+
`.concat(Ae).concat(Be),Ae="");var Ue=0,It=te[Me]+`
|
|
76
|
+
`.concat(W,"+ actual").concat(Q," ").concat(G,"- expected").concat(Q),He=" ".concat(P,"...").concat(Q," Lines skipped");for(ye=0;ye<wt;ye++){var Ke=ye-Ie;if(fe.length<ye+1)Ke>1&&ye>2&&(Ke>4?(Ve+=`
|
|
77
|
+
`.concat(P,"...").concat(Q),le=!0):Ke>3&&(Ve+=`
|
|
78
|
+
`.concat(ve[ye-2]),Ue++),Ve+=`
|
|
79
|
+
`.concat(ve[ye-1]),Ue++),Ie=ye,Ae+=`
|
|
80
|
+
`.concat(G,"-").concat(Q," ").concat(ve[ye]),Ue++;else if(ve.length<ye+1)Ke>1&&ye>2&&(Ke>4?(Ve+=`
|
|
81
|
+
`.concat(P,"...").concat(Q),le=!0):Ke>3&&(Ve+=`
|
|
82
|
+
`.concat(fe[ye-2]),Ue++),Ve+=`
|
|
83
|
+
`.concat(fe[ye-1]),Ue++),Ie=ye,Ve+=`
|
|
84
|
+
`.concat(W,"+").concat(Q," ").concat(fe[ye]),Ue++;else{var kt=ve[ye],Fe=fe[ye],nt=Fe!==kt&&(!$(Fe,",")||Fe.slice(0,-1)!==kt);nt&&$(kt,",")&&kt.slice(0,-1)===Fe&&(nt=!1,Fe+=","),nt?(Ke>1&&ye>2&&(Ke>4?(Ve+=`
|
|
85
|
+
`.concat(P,"...").concat(Q),le=!0):Ke>3&&(Ve+=`
|
|
86
|
+
`.concat(fe[ye-2]),Ue++),Ve+=`
|
|
87
|
+
`.concat(fe[ye-1]),Ue++),Ie=ye,Ve+=`
|
|
88
|
+
`.concat(W,"+").concat(Q," ").concat(Fe),Ae+=`
|
|
89
|
+
`.concat(G,"-").concat(Q," ").concat(kt),Ue+=2):(Ve+=Ae,Ae="",Ke!==1&&ye!==0||(Ve+=`
|
|
90
|
+
`.concat(Fe),Ue++))}if(Ue>20&&ye<wt-2)return"".concat(It).concat(He,`
|
|
91
|
+
`).concat(Ve,`
|
|
92
|
+
`).concat(P,"...").concat(Q).concat(Ae,`
|
|
93
|
+
`)+"".concat(P,"...").concat(Q)}return"".concat(It).concat(le?He:"",`
|
|
94
|
+
`).concat(Ve).concat(Ae).concat(Be).concat(xe)}(ie,ce,X));else if(X==="notDeepStrictEqual"||X==="notStrictEqual"){var ne=te[X],J=ue(ie).split(`
|
|
95
|
+
`);if(X==="notStrictEqual"&&B(ie)==="object"&&ie!==null&&(ne=te.notStrictEqualObject),J.length>30)for(J[26]="".concat(P,"...").concat(Q);J.length>27;)J.pop();V=J.length===1?M.call(this,"".concat(ne," ").concat(J[0])):M.call(this,"".concat(ne,`
|
|
96
|
+
|
|
97
|
+
`).concat(J.join(`
|
|
98
|
+
`),`
|
|
99
|
+
`))}else{var ee=ue(ie),ge="",pe=te[X];X==="notDeepEqual"||X==="notEqual"?(ee="".concat(te[X],`
|
|
100
|
+
|
|
101
|
+
`).concat(ee)).length>1024&&(ee="".concat(ee.slice(0,1021),"...")):(ge="".concat(ue(ce)),ee.length>512&&(ee="".concat(ee.slice(0,509),"...")),ge.length>512&&(ge="".concat(ge.slice(0,509),"...")),X==="deepEqual"||X==="equal"?ee="".concat(pe,`
|
|
102
|
+
|
|
103
|
+
`).concat(ee,`
|
|
104
|
+
|
|
105
|
+
should equal
|
|
106
|
+
|
|
107
|
+
`):ge=" ".concat(X," ").concat(ge)),V=M.call(this,"".concat(ee).concat(ge))}return Error.stackTraceLimit=Y,V.generatedMessage=!Z,Object.defineProperty(w(V),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),V.code="ERR_ASSERTION",V.actual=ie,V.expected=ce,V.operator=X,Error.captureStackTrace&&Error.captureStackTrace(w(V),ae),V.stack,V.name="AssertionError",j(V)}return t=H,(h=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:a,value:function(K,V){return D(this,O(O({},V),{},{customInspect:!1,depth:0}))}}])&&q(t.prototype,h),Object.defineProperty(t,"prototype",{writable:!1}),H}(S(Error),D.custom);F.exports=de},3976:function(F){(function(){var v=function(T,A){return function(){return T.apply(A,arguments)}},d={}.hasOwnProperty;F.exports=function(){function T(A){var O,q,p;for(O in this.assertLegalName=v(this.assertLegalName,this),this.assertLegalChar=v(this.assertLegalChar,this),A||(A={}),this.options=A,this.options.version||(this.options.version="1.0"),q=A.stringify||{})d.call(q,O)&&(p=q[O],this[O]=p)}return T.prototype.name=function(A){return this.options.noValidation?A:this.assertLegalName(""+A||"")},T.prototype.text=function(A){return this.options.noValidation?A:this.assertLegalChar(this.textEscape(""+A||""))},T.prototype.cdata=function(A){return this.options.noValidation?A:(A=(A=""+A||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(A))},T.prototype.comment=function(A){if(this.options.noValidation)return A;if((A=""+A||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+A);return this.assertLegalChar(A)},T.prototype.raw=function(A){return this.options.noValidation?A:""+A||""},T.prototype.attValue=function(A){return this.options.noValidation?A:this.assertLegalChar(this.attEscape(A=""+A||""))},T.prototype.insTarget=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.insValue=function(A){if(this.options.noValidation)return A;if((A=""+A||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+A);return this.assertLegalChar(A)},T.prototype.xmlVersion=function(A){if(this.options.noValidation)return A;if(!(A=""+A||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+A);return A},T.prototype.xmlEncoding=function(A){if(this.options.noValidation)return A;if(!(A=""+A||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+A);return this.assertLegalChar(A)},T.prototype.xmlStandalone=function(A){return this.options.noValidation?A:A?"yes":"no"},T.prototype.dtdPubID=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.dtdSysID=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.dtdElementValue=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.dtdAttType=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.dtdAttDefault=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.dtdEntityValue=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.dtdNData=function(A){return this.options.noValidation?A:this.assertLegalChar(""+A||"")},T.prototype.convertAttKey="@",T.prototype.convertPIKey="?",T.prototype.convertTextKey="#text",T.prototype.convertCDataKey="#cdata",T.prototype.convertCommentKey="#comment",T.prototype.convertRawKey="#raw",T.prototype.assertLegalChar=function(A){var O,q;if(this.options.noValidation)return A;if(O="",this.options.version==="1.0"){if(O=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=A.match(O))throw new Error("Invalid character in string: "+A+" at index "+q.index)}else if(this.options.version==="1.1"&&(O=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=A.match(O)))throw new Error("Invalid character in string: "+A+" at index "+q.index);return A},T.prototype.assertLegalName=function(A){var O;if(this.options.noValidation)return A;if(this.assertLegalChar(A),O=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!A.match(O))throw new Error("Invalid character in name");return A},T.prototype.textEscape=function(A){var O;return this.options.noValidation?A:(O=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,A.replace(O,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},T.prototype.attEscape=function(A){var O;return this.options.noValidation?A:(O=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,A.replace(O,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},T}()}).call(this)},4011:F=>{F.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},4025:(F,v,d)=>{var T=d(8287).Buffer,A=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];function O(j){if(T.isBuffer(j))return j;var w=typeof T.alloc=="function"&&typeof T.from=="function";if(typeof j=="number")return w?T.alloc(j):new T(j);if(typeof j=="string")return w?T.from(j):new T(j);throw new Error("input must be buffer, number, or string, received "+typeof j)}function q(j,w){j=O(j),T.isBuffer(w)&&(w=w.readUInt32BE(0));for(var S=~w,_=0;_<j.length;_++)S=A[255&(S^j[_])]^S>>>8;return~S}function p(){return j=q.apply(null,arguments),(w=O(4)).writeInt32BE(j,0),w;var j,w}typeof Int32Array<"u"&&(A=new Int32Array(A)),p.signed=function(){return q.apply(null,arguments)},p.unsigned=function(){return q.apply(null,arguments)>>>0},F.exports=p},4035:(F,v,d)=>{var T,A=d(6556),O=d(9092)(),q=d(9957),p=d(5795);if(O){var j=A("RegExp.prototype.exec"),w={},S=function(){throw w},_={toString:S,valueOf:S};typeof Symbol.toPrimitive=="symbol"&&(_[Symbol.toPrimitive]=S),T=function(I){if(!I||typeof I!="object")return!1;var b=p(I,"lastIndex");if(!b||!q(b,"value"))return!1;try{j(I,_)}catch(B){return B===w}}}else{var N=A("Object.prototype.toString");T=function(I){return!(!I||typeof I!="object"&&typeof I!="function")&&N(I)==="[object RegExp]"}}F.exports=T},4039:(F,v,d)=>{var T=typeof Symbol<"u"&&Symbol,A=d(1333);F.exports=function(){return typeof T=="function"&&typeof Symbol=="function"&&typeof T("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&A()}},4043:(F,v,d)=>{var T=d(8287).Buffer;(function(A){A.parser=function(J,ee){return new p(J,ee)},A.SAXParser=p,A.SAXStream=w,A.createStream=function(J,ee){return new w(J,ee)},A.MAX_BUFFER_LENGTH=65536;var O,q=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function p(J,ee){if(!(this instanceof p))return new p(J,ee);var ge=this;(function(pe){for(var we=0,je=q.length;we<je;we++)pe[q[we]]=""})(ge),ge.q=ge.c="",ge.bufferCheckPosition=A.MAX_BUFFER_LENGTH,ge.opt=ee||{},ge.opt.lowercase=ge.opt.lowercase||ge.opt.lowercasetags,ge.looseCase=ge.opt.lowercase?"toLowerCase":"toUpperCase",ge.tags=[],ge.closed=ge.closedRoot=ge.sawRoot=!1,ge.tag=ge.error=null,ge.strict=!!J,ge.noscript=!(!J&&!ge.opt.noscript),ge.state=e.BEGIN,ge.strictEntities=ge.opt.strictEntities,ge.ENTITIES=ge.strictEntities?Object.create(A.XML_ENTITIES):Object.create(A.ENTITIES),ge.attribList=[],ge.opt.xmlns&&(ge.ns=Object.create(b)),ge.opt.unquotedAttributeValues===void 0&&(ge.opt.unquotedAttributeValues=!J),ge.trackPosition=ge.opt.position!==!1,ge.trackPosition&&(ge.position=ge.line=ge.column=0),o(ge,"onready")}A.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(J){function ee(){}return ee.prototype=J,new ee}),Object.keys||(Object.keys=function(J){var ee=[];for(var ge in J)J.hasOwnProperty(ge)&&ee.push(ge);return ee}),p.prototype={end:function(){H(this)},write:function(J){var ee=this;if(this.error)throw this.error;if(ee.closed)return M(ee,"Cannot write after close. Assign an onready handler.");if(J===null)return H(ee);typeof J=="object"&&(J=J.toString());for(var ge=0,pe="";pe=ne(J,ge++),ee.c=pe,pe;)switch(ee.trackPosition&&(ee.position++,pe===`
|
|
108
|
+
`?(ee.line++,ee.column=0):ee.column++),ee.state){case e.BEGIN:if(ee.state=e.BEGIN_WHITESPACE,pe==="\uFEFF")continue;Y(ee,pe);continue;case e.BEGIN_WHITESPACE:Y(ee,pe);continue;case e.TEXT:if(ee.sawRoot&&!ee.closedRoot){for(var we=ge-1;pe&&pe!=="<"&&pe!=="&";)(pe=ne(J,ge++))&&ee.trackPosition&&(ee.position++,pe===`
|
|
109
|
+
`?(ee.line++,ee.column=0):ee.column++);ee.textNode+=J.substring(we,ge-1)}pe!=="<"||ee.sawRoot&&ee.closedRoot&&!ee.strict?(P(pe)||ee.sawRoot&&!ee.closedRoot||K(ee,"Text data outside of root node."),pe==="&"?ee.state=e.TEXT_ENTITY:ee.textNode+=pe):(ee.state=e.OPEN_WAKA,ee.startTagPosition=ee.position);continue;case e.SCRIPT:pe==="<"?ee.state=e.SCRIPT_ENDING:ee.script+=pe;continue;case e.SCRIPT_ENDING:pe==="/"?ee.state=e.CLOSE_TAG:(ee.script+="<"+pe,ee.state=e.SCRIPT);continue;case e.OPEN_WAKA:if(pe==="!")ee.state=e.SGML_DECL,ee.sgmlDecl="";else if(!P(pe))if(Q(B,pe))ee.state=e.OPEN_TAG,ee.tagName=pe;else if(pe==="/")ee.state=e.CLOSE_TAG,ee.tagName="";else if(pe==="?")ee.state=e.PROC_INST,ee.procInstName=ee.procInstBody="";else{if(K(ee,"Unencoded <"),ee.startTagPosition+1<ee.position){var je=ee.position-ee.startTagPosition;pe=new Array(je).join(" ")+pe}ee.textNode+="<"+pe,ee.state=e.TEXT}continue;case e.SGML_DECL:if(ee.sgmlDecl+pe==="--"){ee.state=e.COMMENT,ee.comment="",ee.sgmlDecl="";continue}ee.doctype&&ee.doctype!==!0&&ee.sgmlDecl?(ee.state=e.DOCTYPE_DTD,ee.doctype+="<!"+ee.sgmlDecl+pe,ee.sgmlDecl=""):(ee.sgmlDecl+pe).toUpperCase()===S?(r(ee,"onopencdata"),ee.state=e.CDATA,ee.sgmlDecl="",ee.cdata=""):(ee.sgmlDecl+pe).toUpperCase()===_?(ee.state=e.DOCTYPE,(ee.doctype||ee.sawRoot)&&K(ee,"Inappropriately located doctype declaration"),ee.doctype="",ee.sgmlDecl=""):pe===">"?(r(ee,"onsgmldeclaration",ee.sgmlDecl),ee.sgmlDecl="",ee.state=e.TEXT):(W(pe)&&(ee.state=e.SGML_DECL_QUOTED),ee.sgmlDecl+=pe);continue;case e.SGML_DECL_QUOTED:pe===ee.q&&(ee.state=e.SGML_DECL,ee.q=""),ee.sgmlDecl+=pe;continue;case e.DOCTYPE:pe===">"?(ee.state=e.TEXT,r(ee,"ondoctype",ee.doctype),ee.doctype=!0):(ee.doctype+=pe,pe==="["?ee.state=e.DOCTYPE_DTD:W(pe)&&(ee.state=e.DOCTYPE_QUOTED,ee.q=pe));continue;case e.DOCTYPE_QUOTED:ee.doctype+=pe,pe===ee.q&&(ee.q="",ee.state=e.DOCTYPE);continue;case e.DOCTYPE_DTD:pe==="]"?(ee.doctype+=pe,ee.state=e.DOCTYPE):pe==="<"?(ee.state=e.OPEN_WAKA,ee.startTagPosition=ee.position):W(pe)?(ee.doctype+=pe,ee.state=e.DOCTYPE_DTD_QUOTED,ee.q=pe):ee.doctype+=pe;continue;case e.DOCTYPE_DTD_QUOTED:ee.doctype+=pe,pe===ee.q&&(ee.state=e.DOCTYPE_DTD,ee.q="");continue;case e.COMMENT:pe==="-"?ee.state=e.COMMENT_ENDING:ee.comment+=pe;continue;case e.COMMENT_ENDING:pe==="-"?(ee.state=e.COMMENT_ENDED,ee.comment=h(ee.opt,ee.comment),ee.comment&&r(ee,"oncomment",ee.comment),ee.comment=""):(ee.comment+="-"+pe,ee.state=e.COMMENT);continue;case e.COMMENT_ENDED:pe!==">"?(K(ee,"Malformed comment"),ee.comment+="--"+pe,ee.state=e.COMMENT):ee.doctype&&ee.doctype!==!0?ee.state=e.DOCTYPE_DTD:ee.state=e.TEXT;continue;case e.CDATA:pe==="]"?ee.state=e.CDATA_ENDING:ee.cdata+=pe;continue;case e.CDATA_ENDING:pe==="]"?ee.state=e.CDATA_ENDING_2:(ee.cdata+="]"+pe,ee.state=e.CDATA);continue;case e.CDATA_ENDING_2:pe===">"?(ee.cdata&&r(ee,"oncdata",ee.cdata),r(ee,"onclosecdata"),ee.cdata="",ee.state=e.TEXT):pe==="]"?ee.cdata+="]":(ee.cdata+="]]"+pe,ee.state=e.CDATA);continue;case e.PROC_INST:pe==="?"?ee.state=e.PROC_INST_ENDING:P(pe)?ee.state=e.PROC_INST_BODY:ee.procInstName+=pe;continue;case e.PROC_INST_BODY:if(!ee.procInstBody&&P(pe))continue;pe==="?"?ee.state=e.PROC_INST_ENDING:ee.procInstBody+=pe;continue;case e.PROC_INST_ENDING:pe===">"?(r(ee,"onprocessinginstruction",{name:ee.procInstName,body:ee.procInstBody}),ee.procInstName=ee.procInstBody="",ee.state=e.TEXT):(ee.procInstBody+="?"+pe,ee.state=e.PROC_INST_BODY);continue;case e.OPEN_TAG:Q(D,pe)?ee.tagName+=pe:(V(ee),pe===">"?ae(ee):pe==="/"?ee.state=e.OPEN_TAG_SLASH:(P(pe)||K(ee,"Invalid character in tag name"),ee.state=e.ATTRIB));continue;case e.OPEN_TAG_SLASH:pe===">"?(ae(ee,!0),ie(ee)):(K(ee,"Forward-slash in opening tag not followed by >"),ee.state=e.ATTRIB);continue;case e.ATTRIB:if(P(pe))continue;pe===">"?ae(ee):pe==="/"?ee.state=e.OPEN_TAG_SLASH:Q(B,pe)?(ee.attribName=pe,ee.attribValue="",ee.state=e.ATTRIB_NAME):K(ee,"Invalid attribute name");continue;case e.ATTRIB_NAME:pe==="="?ee.state=e.ATTRIB_VALUE:pe===">"?(K(ee,"Attribute without value"),ee.attribValue=ee.attribName,X(ee),ae(ee)):P(pe)?ee.state=e.ATTRIB_NAME_SAW_WHITE:Q(D,pe)?ee.attribName+=pe:K(ee,"Invalid attribute name");continue;case e.ATTRIB_NAME_SAW_WHITE:if(pe==="=")ee.state=e.ATTRIB_VALUE;else{if(P(pe))continue;K(ee,"Attribute without value"),ee.tag.attributes[ee.attribName]="",ee.attribValue="",r(ee,"onattribute",{name:ee.attribName,value:""}),ee.attribName="",pe===">"?ae(ee):Q(B,pe)?(ee.attribName=pe,ee.state=e.ATTRIB_NAME):(K(ee,"Invalid attribute name"),ee.state=e.ATTRIB)}continue;case e.ATTRIB_VALUE:if(P(pe))continue;W(pe)?(ee.q=pe,ee.state=e.ATTRIB_VALUE_QUOTED):(ee.opt.unquotedAttributeValues||M(ee,"Unquoted attribute value"),ee.state=e.ATTRIB_VALUE_UNQUOTED,ee.attribValue=pe);continue;case e.ATTRIB_VALUE_QUOTED:if(pe!==ee.q){pe==="&"?ee.state=e.ATTRIB_VALUE_ENTITY_Q:ee.attribValue+=pe;continue}X(ee),ee.q="",ee.state=e.ATTRIB_VALUE_CLOSED;continue;case e.ATTRIB_VALUE_CLOSED:P(pe)?ee.state=e.ATTRIB:pe===">"?ae(ee):pe==="/"?ee.state=e.OPEN_TAG_SLASH:Q(B,pe)?(K(ee,"No whitespace between attributes"),ee.attribName=pe,ee.attribValue="",ee.state=e.ATTRIB_NAME):K(ee,"Invalid attribute name");continue;case e.ATTRIB_VALUE_UNQUOTED:if(!G(pe)){pe==="&"?ee.state=e.ATTRIB_VALUE_ENTITY_U:ee.attribValue+=pe;continue}X(ee),pe===">"?ae(ee):ee.state=e.ATTRIB;continue;case e.CLOSE_TAG:if(ee.tagName)pe===">"?ie(ee):Q(D,pe)?ee.tagName+=pe:ee.script?(ee.script+="</"+ee.tagName,ee.tagName="",ee.state=e.SCRIPT):(P(pe)||K(ee,"Invalid tagname in closing tag"),ee.state=e.CLOSE_TAG_SAW_WHITE);else{if(P(pe))continue;te(B,pe)?ee.script?(ee.script+="</"+pe,ee.state=e.SCRIPT):K(ee,"Invalid tagname in closing tag."):ee.tagName=pe}continue;case e.CLOSE_TAG_SAW_WHITE:if(P(pe))continue;pe===">"?ie(ee):K(ee,"Invalid characters in closing tag");continue;case e.TEXT_ENTITY:case e.ATTRIB_VALUE_ENTITY_Q:case e.ATTRIB_VALUE_ENTITY_U:var Me,Ae;switch(ee.state){case e.TEXT_ENTITY:Me=e.TEXT,Ae="textNode";break;case e.ATTRIB_VALUE_ENTITY_Q:Me=e.ATTRIB_VALUE_QUOTED,Ae="attribValue";break;case e.ATTRIB_VALUE_ENTITY_U:Me=e.ATTRIB_VALUE_UNQUOTED,Ae="attribValue"}if(pe===";"){var Ve=ce(ee);ee.opt.unparsedEntities&&!Object.values(A.XML_ENTITIES).includes(Ve)?(ee.entity="",ee.state=Me,ee.write(Ve)):(ee[Ae]+=Ve,ee.entity="",ee.state=Me)}else Q(ee.entity.length?$:U,pe)?ee.entity+=pe:(K(ee,"Invalid character in entity name"),ee[Ae]+="&"+ee.entity+pe,ee.entity="",ee.state=Me);continue;default:throw new Error(ee,"Unknown state: "+ee.state)}return ee.position>=ee.bufferCheckPosition&&function(Ie){for(var Be=Math.max(A.MAX_BUFFER_LENGTH,10),le=0,he=0,fe=q.length;he<fe;he++){var ve=Ie[q[he]].length;if(ve>Be)switch(q[he]){case"textNode":t(Ie);break;case"cdata":r(Ie,"oncdata",Ie.cdata),Ie.cdata="";break;case"script":r(Ie,"onscript",Ie.script),Ie.script="";break;default:M(Ie,"Max buffer length exceeded: "+q[he])}le=Math.max(le,ve)}var ye=A.MAX_BUFFER_LENGTH-le;Ie.bufferCheckPosition=ye+Ie.position}(ee),ee},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var J;t(J=this),J.cdata!==""&&(r(J,"oncdata",J.cdata),J.cdata=""),J.script!==""&&(r(J,"onscript",J.script),J.script="")}};try{O=d(8310).Stream}catch{O=function(){}}O||(O=function(){});var j=A.EVENTS.filter(function(J){return J!=="error"&&J!=="end"});function w(J,ee){if(!(this instanceof w))return new w(J,ee);O.apply(this),this._parser=new p(J,ee),this.writable=!0,this.readable=!0;var ge=this;this._parser.onend=function(){ge.emit("end")},this._parser.onerror=function(pe){ge.emit("error",pe),ge._parser.error=null},this._decoder=null,j.forEach(function(pe){Object.defineProperty(ge,"on"+pe,{get:function(){return ge._parser["on"+pe]},set:function(we){if(!we)return ge.removeAllListeners(pe),ge._parser["on"+pe]=we,we;ge.on(pe,we)},enumerable:!0,configurable:!1})})}w.prototype=Object.create(O.prototype,{constructor:{value:w}}),w.prototype.write=function(J){if(typeof T=="function"&&typeof T.isBuffer=="function"&&T.isBuffer(J)){if(!this._decoder){var ee=d(3141).I;this._decoder=new ee("utf8")}J=this._decoder.write(J)}return this._parser.write(J.toString()),this.emit("data",J),!0},w.prototype.end=function(J){return J&&J.length&&this.write(J),this._parser.end(),!0},w.prototype.on=function(J,ee){var ge=this;return ge._parser["on"+J]||j.indexOf(J)===-1||(ge._parser["on"+J]=function(){var pe=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);pe.splice(0,0,J),ge.emit.apply(ge,pe)}),O.prototype.on.call(ge,J,ee)};var S="[CDATA[",_="DOCTYPE",N="http://www.w3.org/XML/1998/namespace",I="http://www.w3.org/2000/xmlns/",b={xml:N,xmlns:I},B=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,D=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,U=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,$=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function P(J){return J===" "||J===`
|
|
110
|
+
`||J==="\r"||J===" "}function W(J){return J==='"'||J==="'"}function G(J){return J===">"||P(J)}function Q(J,ee){return J.test(ee)}function te(J,ee){return!Q(J,ee)}var se,ue,de,e=0;for(var a in A.STATE={BEGIN:e++,BEGIN_WHITESPACE:e++,TEXT:e++,TEXT_ENTITY:e++,OPEN_WAKA:e++,SGML_DECL:e++,SGML_DECL_QUOTED:e++,DOCTYPE:e++,DOCTYPE_QUOTED:e++,DOCTYPE_DTD:e++,DOCTYPE_DTD_QUOTED:e++,COMMENT_STARTING:e++,COMMENT:e++,COMMENT_ENDING:e++,COMMENT_ENDED:e++,CDATA:e++,CDATA_ENDING:e++,CDATA_ENDING_2:e++,PROC_INST:e++,PROC_INST_BODY:e++,PROC_INST_ENDING:e++,OPEN_TAG:e++,OPEN_TAG_SLASH:e++,ATTRIB:e++,ATTRIB_NAME:e++,ATTRIB_NAME_SAW_WHITE:e++,ATTRIB_VALUE:e++,ATTRIB_VALUE_QUOTED:e++,ATTRIB_VALUE_CLOSED:e++,ATTRIB_VALUE_UNQUOTED:e++,ATTRIB_VALUE_ENTITY_Q:e++,ATTRIB_VALUE_ENTITY_U:e++,CLOSE_TAG:e++,CLOSE_TAG_SAW_WHITE:e++,SCRIPT:e++,SCRIPT_ENDING:e++},A.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},A.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(A.ENTITIES).forEach(function(J){var ee=A.ENTITIES[J],ge=typeof ee=="number"?String.fromCharCode(ee):ee;A.ENTITIES[J]=ge}),A.STATE)A.STATE[A.STATE[a]]=a;function o(J,ee,ge){J[ee]&&J[ee](ge)}function r(J,ee,ge){J.textNode&&t(J),o(J,ee,ge)}function t(J){J.textNode=h(J.opt,J.textNode),J.textNode&&o(J,"ontext",J.textNode),J.textNode=""}function h(J,ee){return J.trim&&(ee=ee.trim()),J.normalize&&(ee=ee.replace(/\s+/g," ")),ee}function M(J,ee){return t(J),J.trackPosition&&(ee+=`
|
|
111
|
+
Line: `+J.line+`
|
|
112
|
+
Column: `+J.column+`
|
|
113
|
+
Char: `+J.c),ee=new Error(ee),J.error=ee,o(J,"onerror",ee),J}function H(J){return J.sawRoot&&!J.closedRoot&&K(J,"Unclosed root tag"),J.state!==e.BEGIN&&J.state!==e.BEGIN_WHITESPACE&&J.state!==e.TEXT&&M(J,"Unexpected end"),t(J),J.c="",J.closed=!0,o(J,"onend"),p.call(J,J.strict,J.opt),J}function K(J,ee){if(typeof J!="object"||!(J instanceof p))throw new Error("bad call to strictFail");J.strict&&M(J,ee)}function V(J){J.strict||(J.tagName=J.tagName[J.looseCase]());var ee=J.tags[J.tags.length-1]||J,ge=J.tag={name:J.tagName,attributes:{}};J.opt.xmlns&&(ge.ns=ee.ns),J.attribList.length=0,r(J,"onopentagstart",ge)}function Z(J,ee){var ge=J.indexOf(":")<0?["",J]:J.split(":"),pe=ge[0],we=ge[1];return ee&&J==="xmlns"&&(pe="xmlns",we=""),{prefix:pe,local:we}}function X(J){if(J.strict||(J.attribName=J.attribName[J.looseCase]()),J.attribList.indexOf(J.attribName)!==-1||J.tag.attributes.hasOwnProperty(J.attribName))J.attribName=J.attribValue="";else{if(J.opt.xmlns){var ee=Z(J.attribName,!0),ge=ee.prefix,pe=ee.local;if(ge==="xmlns")if(pe==="xml"&&J.attribValue!==N)K(J,"xml: prefix must be bound to "+N+`
|
|
114
|
+
Actual: `+J.attribValue);else if(pe==="xmlns"&&J.attribValue!==I)K(J,"xmlns: prefix must be bound to "+I+`
|
|
115
|
+
Actual: `+J.attribValue);else{var we=J.tag,je=J.tags[J.tags.length-1]||J;we.ns===je.ns&&(we.ns=Object.create(je.ns)),we.ns[pe]=J.attribValue}J.attribList.push([J.attribName,J.attribValue])}else J.tag.attributes[J.attribName]=J.attribValue,r(J,"onattribute",{name:J.attribName,value:J.attribValue});J.attribName=J.attribValue=""}}function ae(J,ee){if(J.opt.xmlns){var ge=J.tag,pe=Z(J.tagName);ge.prefix=pe.prefix,ge.local=pe.local,ge.uri=ge.ns[pe.prefix]||"",ge.prefix&&!ge.uri&&(K(J,"Unbound namespace prefix: "+JSON.stringify(J.tagName)),ge.uri=pe.prefix);var we=J.tags[J.tags.length-1]||J;ge.ns&&we.ns!==ge.ns&&Object.keys(ge.ns).forEach(function(ye){r(J,"onopennamespace",{prefix:ye,uri:ge.ns[ye]})});for(var je=0,Me=J.attribList.length;je<Me;je++){var Ae=J.attribList[je],Ve=Ae[0],Ie=Ae[1],Be=Z(Ve,!0),le=Be.prefix,he=Be.local,fe=le===""?"":ge.ns[le]||"",ve={name:Ve,value:Ie,prefix:le,local:he,uri:fe};le&&le!=="xmlns"&&!fe&&(K(J,"Unbound namespace prefix: "+JSON.stringify(le)),ve.uri=le),J.tag.attributes[Ve]=ve,r(J,"onattribute",ve)}J.attribList.length=0}J.tag.isSelfClosing=!!ee,J.sawRoot=!0,J.tags.push(J.tag),r(J,"onopentag",J.tag),ee||(J.noscript||J.tagName.toLowerCase()!=="script"?J.state=e.TEXT:J.state=e.SCRIPT,J.tag=null,J.tagName=""),J.attribName=J.attribValue="",J.attribList.length=0}function ie(J){if(!J.tagName)return K(J,"Weird empty close tag."),J.textNode+="</>",void(J.state=e.TEXT);if(J.script){if(J.tagName!=="script")return J.script+="</"+J.tagName+">",J.tagName="",void(J.state=e.SCRIPT);r(J,"onscript",J.script),J.script=""}var ee=J.tags.length,ge=J.tagName;J.strict||(ge=ge[J.looseCase]());for(var pe=ge;ee--&&J.tags[ee].name!==pe;)K(J,"Unexpected close tag");if(ee<0)return K(J,"Unmatched closing tag: "+J.tagName),J.textNode+="</"+J.tagName+">",void(J.state=e.TEXT);J.tagName=ge;for(var we=J.tags.length;we-- >ee;){var je=J.tag=J.tags.pop();J.tagName=J.tag.name,r(J,"onclosetag",J.tagName);var Me={};for(var Ae in je.ns)Me[Ae]=je.ns[Ae];var Ve=J.tags[J.tags.length-1]||J;J.opt.xmlns&&je.ns!==Ve.ns&&Object.keys(je.ns).forEach(function(Ie){var Be=je.ns[Ie];r(J,"onclosenamespace",{prefix:Ie,uri:Be})})}ee===0&&(J.closedRoot=!0),J.tagName=J.attribValue=J.attribName="",J.attribList.length=0,J.state=e.TEXT}function ce(J){var ee,ge=J.entity,pe=ge.toLowerCase(),we="";return J.ENTITIES[ge]?J.ENTITIES[ge]:J.ENTITIES[pe]?J.ENTITIES[pe]:((ge=pe).charAt(0)==="#"&&(ge.charAt(1)==="x"?(ge=ge.slice(2),we=(ee=parseInt(ge,16)).toString(16)):(ge=ge.slice(1),we=(ee=parseInt(ge,10)).toString(10))),ge=ge.replace(/^0+/,""),isNaN(ee)||we.toLowerCase()!==ge?(K(J,"Invalid character entity"),"&"+J.entity+";"):String.fromCodePoint(ee))}function Y(J,ee){ee==="<"?(J.state=e.OPEN_WAKA,J.startTagPosition=J.position):P(ee)||(K(J,"Non-whitespace before first tag."),J.textNode=ee,J.state=e.TEXT)}function ne(J,ee){var ge="";return ee<J.length&&(ge=J.charAt(ee)),ge}e=A.STATE,String.fromCodePoint||(se=String.fromCharCode,ue=Math.floor,de=function(){var J,ee,ge=[],pe=-1,we=arguments.length;if(!we)return"";for(var je="";++pe<we;){var Me=Number(arguments[pe]);if(!isFinite(Me)||Me<0||Me>1114111||ue(Me)!==Me)throw RangeError("Invalid code point: "+Me);Me<=65535?ge.push(Me):(J=55296+((Me-=65536)>>10),ee=Me%1024+56320,ge.push(J,ee)),(pe+1===we||ge.length>16384)&&(je+=se.apply(null,ge),ge.length=0)}return je},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:de,configurable:!0,writable:!0}):String.fromCodePoint=de)})(v)},4050:(F,v,d)=>{var T=d(6168),A=d(9560),O=d(6698),q=d(2861).Buffer,p={"des-ede3-cbc":A.CBC.instantiate(A.EDE),"des-ede3":A.EDE,"des-ede-cbc":A.CBC.instantiate(A.EDE),"des-ede":A.EDE,"des-cbc":A.CBC.instantiate(A.DES),"des-ecb":A.DES};function j(w){T.call(this);var S,_=w.mode.toLowerCase(),N=p[_];S=w.decrypt?"decrypt":"encrypt";var I=w.key;q.isBuffer(I)||(I=q.from(I)),_!=="des-ede"&&_!=="des-ede-cbc"||(I=q.concat([I,I.slice(0,8)]));var b=w.iv;q.isBuffer(b)||(b=q.from(b)),this._des=N.create({key:I,iv:b,type:S})}p.des=p["des-cbc"],p.des3=p["des-ede3-cbc"],F.exports=j,O(j,T),j.prototype._update=function(w){return q.from(this._des.update(w))},j.prototype._final=function(){return q.from(this._des.final())}},4101:(F,v,d)=>{var T=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,A=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,O=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,q=d(8078),p=d(1241),j=d(2861).Buffer;F.exports=function(w,S){var _,N=w.toString(),I=N.match(T);if(I){var b="aes"+I[1],B=j.from(I[2],"hex"),D=j.from(I[3].replace(/[\r\n]/g,""),"base64"),U=q(S,B.slice(0,8),parseInt(I[1],10)).key,$=[],P=p.createDecipheriv(b,U,B);$.push(P.update(D)),$.push(P.final()),_=j.concat($)}else{var W=N.match(O);_=j.from(W[2].replace(/[\r\n]/g,""),"base64")}return{tag:N.match(A)[1],data:_}}},4107:(F,v,d)=>{var T=d(6698),A=d(392),O=d(2861).Buffer,q=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],p=new Array(64);function j(){this.init(),this._w=p,A.call(this,64,56)}function w(b,B,D){return D^b&(B^D)}function S(b,B,D){return b&B|D&(b|B)}function _(b){return(b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10)}function N(b){return(b>>>6|b<<26)^(b>>>11|b<<21)^(b>>>25|b<<7)}function I(b){return(b>>>7|b<<25)^(b>>>18|b<<14)^b>>>3}T(j,A),j.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},j.prototype._update=function(b){for(var B,D=this._w,U=0|this._a,$=0|this._b,P=0|this._c,W=0|this._d,G=0|this._e,Q=0|this._f,te=0|this._g,se=0|this._h,ue=0;ue<16;++ue)D[ue]=b.readInt32BE(4*ue);for(;ue<64;++ue)D[ue]=0|(((B=D[ue-2])>>>17|B<<15)^(B>>>19|B<<13)^B>>>10)+D[ue-7]+I(D[ue-15])+D[ue-16];for(var de=0;de<64;++de){var e=se+N(G)+w(G,Q,te)+q[de]+D[de]|0,a=_(U)+S(U,$,P)|0;se=te,te=Q,Q=G,G=W+e|0,W=P,P=$,$=U,U=e+a|0}this._a=U+this._a|0,this._b=$+this._b|0,this._c=P+this._c|0,this._d=W+this._d|0,this._e=G+this._e|0,this._f=Q+this._f|0,this._g=te+this._g|0,this._h=se+this._h|0},j.prototype._hash=function(){var b=O.allocUnsafe(32);return b.writeInt32BE(this._a,0),b.writeInt32BE(this._b,4),b.writeInt32BE(this._c,8),b.writeInt32BE(this._d,12),b.writeInt32BE(this._e,16),b.writeInt32BE(this._f,20),b.writeInt32BE(this._g,24),b.writeInt32BE(this._h,28),b},F.exports=j},4111:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;A=d(468),T=d(1737),F.exports=function(q){function p(j,w,S,_,N,I){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(S==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(w));if(!_)throw new Error("Missing DTD attribute type. "+this.debugInfo(w));if(!N)throw new Error("Missing DTD attribute default. "+this.debugInfo(w));if(N.indexOf("#")!==0&&(N="#"+N),!N.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(w));if(I&&!N.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(w));this.elementName=this.stringify.name(w),this.type=T.AttributeDeclaration,this.attributeName=this.stringify.name(S),this.attributeType=this.stringify.dtdAttType(_),I&&(this.defaultValue=this.stringify.dtdAttDefault(I)),this.defaultValueType=N}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.toString=function(j){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(j))},p}(A)}).call(this)},4116:(F,v,d)=>{var T=d(8287),A=T.Buffer;function O(p,j){for(var w in p)j[w]=p[w]}function q(p,j,w){return A(p,j,w)}A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow?F.exports=T:(O(T,v),v.Buffer=q),O(A,q),q.from=function(p,j,w){if(typeof p=="number")throw new TypeError("Argument must not be a number");return A(p,j,w)},q.alloc=function(p,j,w){if(typeof p!="number")throw new TypeError("Argument must be a number");var S=A(p);return j!==void 0?typeof w=="string"?S.fill(j,w):S.fill(j):S.fill(0),S},q.allocUnsafe=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return A(p)},q.allocUnsafeSlow=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return T.SlowBuffer(p)}},4130:function(F,v,d){(function(){var T,A,O,q={}.hasOwnProperty;O=d(9241).isObject,A=d(468),T=d(1737),F.exports=function(p){function j(w,S,_,N){var I;j.__super__.constructor.call(this,w),O(S)&&(S=(I=S).version,_=I.encoding,N=I.standalone),S||(S="1.0"),this.type=T.Declaration,this.version=this.stringify.xmlVersion(S),_!=null&&(this.encoding=this.stringify.xmlEncoding(_)),N!=null&&(this.standalone=this.stringify.xmlStandalone(N))}return function(w,S){for(var _ in S)q.call(S,_)&&(w[_]=S[_]);function N(){this.constructor=w}N.prototype=S.prototype,w.prototype=new N,w.__super__=S.prototype}(j,p),j.prototype.toString=function(w){return this.options.writer.declaration(this,this.options.writer.filterOptions(w))},j}(A)}).call(this)},4133:(F,v,d)=>{var T=d(487),A=d(8452),O=d(3003),q=d(6642),p=d(2464),j=T(q(),Number);A(j,{getPolyfill:q,implementation:O,shim:p}),F.exports=j},4148:(F,v,d)=>{var T=d(5606),A=d(6763);function O(ie){return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ce){return typeof ce}:function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},O(ie)}function q(ie,ce){for(var Y=0;Y<ce.length;Y++){var ne=ce[Y];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(ie,(J=function(ee){if(O(ee)!=="object"||ee===null)return ee;var ge=ee[Symbol.toPrimitive];if(ge!==void 0){var pe=ge.call(ee,"string");if(O(pe)!=="object")return pe;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(ee)}(ne.key),O(J)==="symbol"?J:String(J)),ne)}var J}function p(ie,ce,Y){return ce&&q(ie.prototype,ce),Y&&q(ie,Y),Object.defineProperty(ie,"prototype",{writable:!1}),ie}var j,w,S=d(9597).codes,_=S.ERR_AMBIGUOUS_ARGUMENT,N=S.ERR_INVALID_ARG_TYPE,I=S.ERR_INVALID_ARG_VALUE,b=S.ERR_INVALID_RETURN_VALUE,B=S.ERR_MISSING_ARGS,D=d(3918),U=d(537).inspect,$=d(537).types,P=$.isPromise,W=$.isRegExp,G=d(9133)(),Q=d(9394)(),te=d(8075)("RegExp.prototype.test");function se(){var ie=d(2299);j=ie.isDeepEqual,w=ie.isDeepStrictEqual}var ue=!1,de=F.exports=r,e={};function a(ie){throw ie.message instanceof Error?ie.message:new D(ie)}function o(ie,ce,Y,ne){if(!Y){var J=!1;if(ce===0)J=!0,ne="No value argument passed to `assert.ok()`";else if(ne instanceof Error)throw ne;var ee=new D({actual:Y,expected:!0,message:ne,operator:"==",stackStartFn:ie});throw ee.generatedMessage=J,ee}}function r(){for(var ie=arguments.length,ce=new Array(ie),Y=0;Y<ie;Y++)ce[Y]=arguments[Y];o.apply(void 0,[r,ce.length].concat(ce))}de.fail=function ie(ce,Y,ne,J,ee){var ge,pe=arguments.length;if(pe===0?ge="Failed":pe===1?(ne=ce,ce=void 0):(ue===!1&&(ue=!0,(T.emitWarning?T.emitWarning:A.warn.bind(A))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")),pe===2&&(J="!=")),ne instanceof Error)throw ne;var we={actual:ce,expected:Y,operator:J===void 0?"fail":J,stackStartFn:ee||ie};ne!==void 0&&(we.message=ne);var je=new D(we);throw ge&&(je.message=ge,je.generatedMessage=!0),je},de.AssertionError=D,de.ok=r,de.equal=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");ce!=Y&&a({actual:ce,expected:Y,message:ne,operator:"==",stackStartFn:ie})},de.notEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");ce==Y&&a({actual:ce,expected:Y,message:ne,operator:"!=",stackStartFn:ie})},de.deepEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");j===void 0&&se(),j(ce,Y)||a({actual:ce,expected:Y,message:ne,operator:"deepEqual",stackStartFn:ie})},de.notDeepEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");j===void 0&&se(),j(ce,Y)&&a({actual:ce,expected:Y,message:ne,operator:"notDeepEqual",stackStartFn:ie})},de.deepStrictEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");j===void 0&&se(),w(ce,Y)||a({actual:ce,expected:Y,message:ne,operator:"deepStrictEqual",stackStartFn:ie})},de.notDeepStrictEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");j===void 0&&se(),w(ce,Y)&&a({actual:ce,expected:Y,message:ne,operator:"notDeepStrictEqual",stackStartFn:ie})},de.strictEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");Q(ce,Y)||a({actual:ce,expected:Y,message:ne,operator:"strictEqual",stackStartFn:ie})},de.notStrictEqual=function ie(ce,Y,ne){if(arguments.length<2)throw new B("actual","expected");Q(ce,Y)&&a({actual:ce,expected:Y,message:ne,operator:"notStrictEqual",stackStartFn:ie})};var t=p(function ie(ce,Y,ne){var J=this;(function(ee,ge){if(!(ee instanceof ge))throw new TypeError("Cannot call a class as a function")})(this,ie),Y.forEach(function(ee){ee in ce&&(ne!==void 0&&typeof ne[ee]=="string"&&W(ce[ee])&&te(ce[ee],ne[ee])?J[ee]=ne[ee]:J[ee]=ce[ee])})});function h(ie,ce,Y,ne){if(typeof ce!="function"){if(W(ce))return te(ce,ie);if(arguments.length===2)throw new N("expected",["Function","RegExp"],ce);if(O(ie)!=="object"||ie===null){var J=new D({actual:ie,expected:ce,message:Y,operator:"deepStrictEqual",stackStartFn:ne});throw J.operator=ne.name,J}var ee=Object.keys(ce);if(ce instanceof Error)ee.push("name","message");else if(ee.length===0)throw new I("error",ce,"may not be an empty object");return j===void 0&&se(),ee.forEach(function(ge){typeof ie[ge]=="string"&&W(ce[ge])&&te(ce[ge],ie[ge])||function(pe,we,je,Me,Ae,Ve){if(!(je in pe)||!w(pe[je],we[je])){if(!Me){var Ie=new t(pe,Ae),Be=new t(we,Ae,pe),le=new D({actual:Ie,expected:Be,operator:"deepStrictEqual",stackStartFn:Ve});throw le.actual=pe,le.expected=we,le.operator=Ve.name,le}a({actual:pe,expected:we,message:Me,operator:Ve.name,stackStartFn:Ve})}}(ie,ce,ge,Y,ee,ne)}),!0}return ce.prototype!==void 0&&ie instanceof ce||!Error.isPrototypeOf(ce)&&ce.call({},ie)===!0}function M(ie){if(typeof ie!="function")throw new N("fn","Function",ie);try{ie()}catch(ce){return ce}return e}function H(ie){return P(ie)||ie!==null&&O(ie)==="object"&&typeof ie.then=="function"&&typeof ie.catch=="function"}function K(ie){return Promise.resolve().then(function(){var ce;if(typeof ie=="function"){if(!H(ce=ie()))throw new b("instance of Promise","promiseFn",ce)}else{if(!H(ie))throw new N("promiseFn",["Function","Promise"],ie);ce=ie}return Promise.resolve().then(function(){return ce}).then(function(){return e}).catch(function(Y){return Y})})}function V(ie,ce,Y,ne){if(typeof Y=="string"){if(arguments.length===4)throw new N("error",["Object","Error","Function","RegExp"],Y);if(O(ce)==="object"&&ce!==null){if(ce.message===Y)throw new _("error/message",'The error message "'.concat(ce.message,'" is identical to the message.'))}else if(ce===Y)throw new _("error/message",'The error "'.concat(ce,'" is identical to the message.'));ne=Y,Y=void 0}else if(Y!=null&&O(Y)!=="object"&&typeof Y!="function")throw new N("error",["Object","Error","Function","RegExp"],Y);if(ce===e){var J="";Y&&Y.name&&(J+=" (".concat(Y.name,")")),J+=ne?": ".concat(ne):".";var ee=ie.name==="rejects"?"rejection":"exception";a({actual:void 0,expected:Y,operator:ie.name,message:"Missing expected ".concat(ee).concat(J),stackStartFn:ie})}if(Y&&!h(ce,Y,ne,ie))throw ce}function Z(ie,ce,Y,ne){if(ce!==e){if(typeof Y=="string"&&(ne=Y,Y=void 0),!Y||h(ce,Y)){var J=ne?": ".concat(ne):".",ee=ie.name==="doesNotReject"?"rejection":"exception";a({actual:ce,expected:Y,operator:ie.name,message:"Got unwanted ".concat(ee).concat(J,`
|
|
116
|
+
`)+'Actual message: "'.concat(ce&&ce.message,'"'),stackStartFn:ie})}throw ce}}function X(ie,ce,Y,ne,J){if(!W(ce))throw new N("regexp","RegExp",ce);var ee=J==="match";if(typeof ie!="string"||te(ce,ie)!==ee){if(Y instanceof Error)throw Y;var ge=!Y;Y=Y||(typeof ie!="string"?'The "string" argument must be of type string. Received type '+"".concat(O(ie)," (").concat(U(ie),")"):(ee?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(U(ce),`. Input:
|
|
117
|
+
|
|
118
|
+
`).concat(U(ie),`
|
|
119
|
+
`));var pe=new D({actual:ie,expected:ce,message:Y,operator:J,stackStartFn:ne});throw pe.generatedMessage=ge,pe}}function ae(){for(var ie=arguments.length,ce=new Array(ie),Y=0;Y<ie;Y++)ce[Y]=arguments[Y];o.apply(void 0,[ae,ce.length].concat(ce))}de.throws=function ie(ce){for(var Y=arguments.length,ne=new Array(Y>1?Y-1:0),J=1;J<Y;J++)ne[J-1]=arguments[J];V.apply(void 0,[ie,M(ce)].concat(ne))},de.rejects=function ie(ce){for(var Y=arguments.length,ne=new Array(Y>1?Y-1:0),J=1;J<Y;J++)ne[J-1]=arguments[J];return K(ce).then(function(ee){return V.apply(void 0,[ie,ee].concat(ne))})},de.doesNotThrow=function ie(ce){for(var Y=arguments.length,ne=new Array(Y>1?Y-1:0),J=1;J<Y;J++)ne[J-1]=arguments[J];Z.apply(void 0,[ie,M(ce)].concat(ne))},de.doesNotReject=function ie(ce){for(var Y=arguments.length,ne=new Array(Y>1?Y-1:0),J=1;J<Y;J++)ne[J-1]=arguments[J];return K(ce).then(function(ee){return Z.apply(void 0,[ie,ee].concat(ne))})},de.ifError=function ie(ce){if(ce!=null){var Y="ifError got unwanted exception: ";O(ce)==="object"&&typeof ce.message=="string"?ce.message.length===0&&ce.constructor?Y+=ce.constructor.name:Y+=ce.message:Y+=U(ce);var ne=new D({actual:ce,expected:null,operator:"ifError",message:Y,stackStartFn:ie}),J=ce.stack;if(typeof J=="string"){var ee=J.split(`
|
|
120
|
+
`);ee.shift();for(var ge=ne.stack.split(`
|
|
121
|
+
`),pe=0;pe<ee.length;pe++){var we=ge.indexOf(ee[pe]);if(we!==-1){ge=ge.slice(0,we);break}}ne.stack="".concat(ge.join(`
|
|
122
|
+
`),`
|
|
123
|
+
`).concat(ee.join(`
|
|
124
|
+
`))}throw ne}},de.match=function ie(ce,Y,ne){X(ce,Y,ne,ie,"match")},de.doesNotMatch=function ie(ce,Y,ne){X(ce,Y,ne,ie,"doesNotMatch")},de.strict=G(ae,de,{equal:de.strictEqual,deepEqual:de.deepStrictEqual,notEqual:de.notStrictEqual,notDeepEqual:de.notDeepStrictEqual}),de.strict.strict=de.strict},4196:F=>{var v=Math.pow(2,30)-1;F.exports=function(d,T){if(typeof d!="number")throw new TypeError("Iterations not a number");if(d<0)throw new TypeError("Bad iterations");if(typeof T!="number")throw new TypeError("Key length not a number");if(T<0||T>v||T!=T)throw new TypeError("Bad key length")}},4238:function(F,v,d){(function(){var T;T=d(1737),d(468),F.exports=function(){function A(O,q,p){if(this.parent=O,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),q==null)throw new Error("Missing attribute name. "+this.debugInfo(q));this.name=this.stringify.name(q),this.value=this.stringify.attValue(p),this.type=T.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(A.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(A.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(A.prototype,"textContent",{get:function(){return this.value},set:function(O){return this.value=O||""}}),Object.defineProperty(A.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(A.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(A.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(A.prototype,"specified",{get:function(){return!0}}),A.prototype.clone=function(){return Object.create(this)},A.prototype.toString=function(O){return this.options.writer.attribute(this,this.options.writer.filterOptions(O))},A.prototype.debugInfo=function(O){return(O=O||this.name)==null?"parent: <"+this.parent.name+">":"attribute: {"+O+"}, parent: <"+this.parent.name+">"},A.prototype.isEqualNode=function(O){return O.namespaceURI===this.namespaceURI&&O.prefix===this.prefix&&O.localName===this.localName&&O.value===this.value},A}()}).call(this)},4280:F=>{F.exports=v=>encodeURIComponent(v).replace(/[!'()*]/g,d=>`%${d.charCodeAt(0).toString(16).toUpperCase()}`)},4348:(F,v,d)=>{var T=d(8287).Buffer,A=d(6763);Object.defineProperty(v,"__esModule",{value:!0}),v.parseBucketEncryptionConfig=function(I){return(0,j.parseXml)(I)},v.parseBucketNotification=function(I){var b={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},B=function($){var P=[];return $&&(0,j.toArray)($).forEach(W=>{P.push(W)}),P},D=function($){var P=[];return $&&($=(0,j.toArray)($))[0].S3Key&&($[0].S3Key=(0,j.toArray)($[0].S3Key),$[0].S3Key[0].FilterRule&&(0,j.toArray)($[0].S3Key[0].FilterRule).forEach(W=>{var G=(0,j.toArray)(W.Name)[0],Q=(0,j.toArray)(W.Value)[0];P.push({Name:G,Value:Q})})),P},U=(0,j.parseXml)(I);return(U=U.NotificationConfiguration).TopicConfiguration&&(0,j.toArray)(U.TopicConfiguration).forEach($=>{var P=(0,j.toArray)($.Id)[0],W=(0,j.toArray)($.Topic)[0],G=B($.Event),Q=D($.Filter);b.TopicConfiguration.push({Id:P,Topic:W,Event:G,Filter:Q})}),U.QueueConfiguration&&(0,j.toArray)(U.QueueConfiguration).forEach($=>{var P=(0,j.toArray)($.Id)[0],W=(0,j.toArray)($.Queue)[0],G=B($.Event),Q=D($.Filter);b.QueueConfiguration.push({Id:P,Queue:W,Event:G,Filter:Q})}),U.CloudFunctionConfiguration&&(0,j.toArray)(U.CloudFunctionConfiguration).forEach($=>{var P=(0,j.toArray)($.Id)[0],W=(0,j.toArray)($.CloudFunction)[0],G=B($.Event),Q=D($.Filter);b.CloudFunctionConfiguration.push({Id:P,CloudFunction:W,Event:G,Filter:Q})}),b},v.parseBucketRegion=function(I){return(0,j.parseXml)(I).LocationConstraint},v.parseBucketVersioningConfig=function(I){return(0,j.parseXml)(I).VersioningConfiguration},v.parseCompleteMultipart=function(I){var b=(0,j.parseXml)(I).CompleteMultipartUploadResult;return b.Location?{location:(0,j.toArray)(b.Location)[0],bucket:(0,j.toArray)(b.Bucket)[0],key:b.Key,etag:b.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")}:b.Code&&b.Message?{errCode:(0,j.toArray)(b.Code)[0],errMessage:(0,j.toArray)(b.Message)[0]}:void 0},v.parseCopyObject=function(I){var b={etag:"",lastModified:""},B=(0,j.parseXml)(I);if(!B.CopyObjectResult)throw new p.InvalidXMLError('Missing tag: "CopyObjectResult"');return(B=B.CopyObjectResult).ETag&&(b.etag=B.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),B.LastModified&&(b.lastModified=new Date(B.LastModified)),b},v.parseError=function(I,b){var B={},D=O.default.parse(I);D.Error&&(B=D.Error);var U=new p.S3Error;return q.default.each(B,($,P)=>{U[P.toLowerCase()]=$}),q.default.each(b,($,P)=>{U[P]=$}),U},v.parseInitiateMultipart=function(I){var b=(0,j.parseXml)(I);if(!b.InitiateMultipartUploadResult)throw new p.InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if((b=b.InitiateMultipartUploadResult).UploadId)return b.UploadId;throw new p.InvalidXMLError('Missing tag: "UploadId"')},v.parseLifecycleConfig=function(I){return(0,j.parseXml)(I).LifecycleConfiguration},v.parseListBucket=function(I){var b=[],B=(0,j.parseXml)(I);if(!B.ListAllMyBucketsResult)throw new p.InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');return(B=B.ListAllMyBucketsResult).Buckets&&B.Buckets.Bucket&&(0,j.toArray)(B.Buckets.Bucket).forEach(D=>{var U=D.Name,$=new Date(D.CreationDate);b.push({name:U,creationDate:$})}),b},v.parseListMultipart=function(I){var b={uploads:[],prefixes:[],isTruncated:!1},B=(0,j.parseXml)(I);if(!B.ListMultipartUploadsResult)throw new p.InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return(B=B.ListMultipartUploadsResult).IsTruncated&&(b.isTruncated=B.IsTruncated),B.NextKeyMarker&&(b.nextKeyMarker=B.NextKeyMarker),B.NextUploadIdMarker&&(b.nextUploadIdMarker=B.nextUploadIdMarker),B.CommonPrefixes&&(0,j.toArray)(B.CommonPrefixes).forEach(D=>{b.prefixes.push({prefix:(0,j.sanitizeObjectKey)((0,j.toArray)(D.Prefix)[0])})}),B.Upload&&(0,j.toArray)(B.Upload).forEach(D=>{var U=D.Key,$=D.UploadId,P={id:D.Initiator.ID,displayName:D.Initiator.DisplayName},W={id:D.Owner.ID,displayName:D.Owner.DisplayName},G=D.StorageClass,Q=new Date(D.Initiated);b.uploads.push({key:U,uploadId:$,initiator:P,owner:W,storageClass:G,initiated:Q})}),b},v.parseListObjects=function(I){var b={objects:[],isTruncated:!1};let B,D,U=!1;const $=(0,j.parseXml)(I),P=Q=>{Q&&(0,j.toArray)(Q).forEach(te=>{b.objects.push({prefix:(0,j.sanitizeObjectKey)((0,j.toArray)(te.Prefix)[0]),size:0})})},W=$.ListBucketResult,G=$.ListVersionsResult;return W&&(W.IsTruncated&&(U=W.IsTruncated),W.Contents&&(0,j.toArray)(W.Contents).forEach(Q=>{const te=(0,j.sanitizeObjectKey)((0,j.toArray)(Q.Key)[0]),se=new Date((0,j.toArray)(Q.LastModified)[0]),ue=(0,j.sanitizeETag)((0,j.toArray)(Q.ETag)[0]),de=Q.Size;b.objects.push({name:te,lastModified:se,etag:ue,size:de})}),W.NextMarker&&(B=W.NextMarker),P(W.CommonPrefixes)),G&&(G.IsTruncated&&(U=G.IsTruncated),G.Version&&(0,j.toArray)(G.Version).forEach(Q=>{b.objects.push(N(Q))}),G.DeleteMarker&&(0,j.toArray)(G.DeleteMarker).forEach(Q=>{b.objects.push(N(Q,{IsDeleteMarker:!0}))}),G.NextKeyMarker&&(D=G.NextKeyMarker),G.NextVersionIdMarker&&(b.versionIdMarker=G.NextVersionIdMarker),P(G.CommonPrefixes)),b.isTruncated=U,U&&(b.nextMarker=D||B),b},v.parseListObjectsV2=function(I){var b={objects:[],isTruncated:!1},B=(0,j.parseXml)(I);if(!B.ListBucketResult)throw new p.InvalidXMLError('Missing tag: "ListBucketResult"');return(B=B.ListBucketResult).IsTruncated&&(b.isTruncated=B.IsTruncated),B.NextContinuationToken&&(b.nextContinuationToken=B.NextContinuationToken),B.Contents&&(0,j.toArray)(B.Contents).forEach(D=>{var U=(0,j.sanitizeObjectKey)((0,j.toArray)(D.Key)[0]),$=new Date(D.LastModified),P=(0,j.sanitizeETag)(D.ETag),W=D.Size;b.objects.push({name:U,lastModified:$,etag:P,size:W})}),B.CommonPrefixes&&(0,j.toArray)(B.CommonPrefixes).forEach(D=>{b.objects.push({prefix:(0,j.sanitizeObjectKey)((0,j.toArray)(D.Prefix)[0]),size:0})}),b},v.parseListObjectsV2WithMetadata=function(I){var b={objects:[],isTruncated:!1},B=(0,j.parseXml)(I);if(!B.ListBucketResult)throw new p.InvalidXMLError('Missing tag: "ListBucketResult"');return(B=B.ListBucketResult).IsTruncated&&(b.isTruncated=B.IsTruncated),B.NextContinuationToken&&(b.nextContinuationToken=B.NextContinuationToken),B.Contents&&(0,j.toArray)(B.Contents).forEach(D=>{var U,$=(0,j.sanitizeObjectKey)(D.Key),P=new Date(D.LastModified),W=(0,j.sanitizeETag)(D.ETag),G=D.Size;U=D.UserMetadata!=null?(0,j.toArray)(D.UserMetadata)[0]:null,b.objects.push({name:$,lastModified:P,etag:W,size:G,metadata:U})}),B.CommonPrefixes&&(0,j.toArray)(B.CommonPrefixes).forEach(D=>{b.objects.push({prefix:(0,j.sanitizeObjectKey)((0,j.toArray)(D.Prefix)[0]),size:0})}),b},v.parseListParts=function(I){var b=(0,j.parseXml)(I),B={isTruncated:!1,parts:[],marker:void 0};if(!b.ListPartsResult)throw new p.InvalidXMLError('Missing tag: "ListPartsResult"');return(b=b.ListPartsResult).IsTruncated&&(B.isTruncated=b.IsTruncated),b.NextPartNumberMarker&&(B.marker=+(0,j.toArray)(b.NextPartNumberMarker)[0]),b.Part&&(0,j.toArray)(b.Part).forEach(D=>{var U=+(0,j.toArray)(D.PartNumber)[0],$=new Date(D.LastModified),P=D.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");B.parts.push({part:U,lastModified:$,etag:P})}),B},v.parseObjectLegalHoldConfig=function(I){return(0,j.parseXml)(I).LegalHold},v.parseObjectLockConfig=function(I){const b=(0,j.parseXml)(I);let B={};if(b.ObjectLockConfiguration){let D;if(B={objectLockEnabled:b.ObjectLockConfiguration.ObjectLockEnabled},b.ObjectLockConfiguration&&b.ObjectLockConfiguration.Rule&&b.ObjectLockConfiguration.Rule.DefaultRetention&&(D=b.ObjectLockConfiguration.Rule.DefaultRetention||{},B.mode=D.Mode),D){const U=D.Years;U?(B.validity=U,B.unit=j.RETENTION_VALIDITY_UNITS.YEARS):(B.validity=D.Days,B.unit=j.RETENTION_VALIDITY_UNITS.DAYS)}return B}},v.parseObjectRetentionConfig=function(I){const b=(0,j.parseXml)(I).Retention;return{mode:b.Mode,retainUntilDate:b.RetainUntilDate}},v.parseReplicationConfig=function(I){const b=(0,j.parseXml)(I);return{ReplicationConfiguration:{role:b.ReplicationConfiguration.Role,rules:(0,j.toArray)(b.ReplicationConfiguration.Rule)}}},v.parseSelectObjectContentResponse=function(I){function b($){const P=T.from($.read(1)).readUInt8(),W=(T.from($.read(P)).toString()||"").split(":");return W.length>=1?W[1]:""}function B($){const P=T.from($.read(2)).readUInt16BE();return T.from($.read(P)).toString()}const D=new j.SelectResults({}),U=(0,j.readableStream)(I);for(;U._readableState.length;){let $;const P=T.from(U.read(4));$=_(P);const W=T.from(U.read(4));$=_(W,$);const G=$.readInt32BE(),Q=T.from(U.read(4));$=_(Q,$);const te=P.readInt32BE(),se=W.readInt32BE(),ue=Q.readInt32BE();if(ue!==G)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${ue} does not equal expected CRC of ${G}`);const de={};if(se>0){const r=T.from(U.read(se));$=_(r,$);const t=(0,j.readableStream)(r);for(;t._readableState.length;){let h=b(t);t.read(1),de[h]=B(t)}}let e;const a=te-se-16;if(a>0){const r=T.from(U.read(a));$=_(r,$);const t=T.from(U.read(4)).readInt32BE(),h=$.readInt32BE();if(t!==h)throw new Error(`Message Checksum Mismatch, Message CRC of ${t} does not equal expected CRC of ${h}`);e=(0,j.readableStream)(r)}const o=de["message-type"];switch(o){case"error":{const r=de["error-code"]+':"'+de["error-message"]+'"';throw new Error(r)}case"event":{const r=de["content-type"];switch(de["event-type"]){case"End":return D.setResponse(I),D;case"Records":{const t=e.read(a);D.setRecords(t);break}case"Progress":switch(r){case"text/xml":{const t=e.read(a);D.setProgress(t.toString());break}default:throw new Error(`Unexpected content-type ${r} sent for event-type Progress`)}break;case"Stats":switch(r){case"text/xml":{const t=e.read(a);D.setStats(t.toString());break}default:throw new Error(`Unexpected content-type ${r} sent for event-type Stats`)}break;default:{const t=`Un implemented event detected ${o}.`;A.warn(t)}}}}}},v.parseTagging=function(I){const b=(0,j.parseXml)(I);let B=[];if(b.Tagging&&b.Tagging.TagSet&&b.Tagging.TagSet.Tag){const D=b.Tagging.TagSet.Tag;(0,j.isObject)(D)?B.push(D):B=D}return B},v.uploadPartParser=function(I){return(0,j.parseXml)(I).CopyPartResult};var O=S(d(8513)),q=S(d(2543)),p=function(I,b){if(I&&I.__esModule)return I;if(I===null||typeof I!="object"&&typeof I!="function")return{default:I};var B=w(b);if(B&&B.has(I))return B.get(I);var D={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in I)if($!=="default"&&Object.prototype.hasOwnProperty.call(I,$)){var P=U?Object.getOwnPropertyDescriptor(I,$):null;P&&(P.get||P.set)?Object.defineProperty(D,$,P):D[$]=I[$]}return D.default=I,B&&B.set(I,D),D}(d(6097)),j=d(2541);function w(I){if(typeof WeakMap!="function")return null;var b=new WeakMap,B=new WeakMap;return(w=function(D){return D?B:b})(I)}function S(I){return I&&I.__esModule?I:{default:I}}var _=d(4025);const N=(I,b={})=>{let{Key:B,LastModified:D,ETag:U,Size:$,VersionId:P,IsLatest:W}=I;return(0,j.isObject)(b)||(b={}),{name:(0,j.sanitizeObjectKey)((0,j.toArray)(B)[0]),lastModified:new Date((0,j.toArray)(D)[0]),etag:(0,j.sanitizeETag)((0,j.toArray)(U)[0]),size:$,versionId:P,isLatest:W,isDeleteMarker:!!b.IsDeleteMarker&&b.IsDeleteMarker}}},4367:(F,v)=>{var d=v;function T(O){return O.length===1?"0"+O:O}function A(O){for(var q="",p=0;p<O.length;p++)q+=T(O[p].toString(16));return q}d.toArray=function(O,q){if(Array.isArray(O))return O.slice();if(!O)return[];var p=[];if(typeof O!="string"){for(var j=0;j<O.length;j++)p[j]=0|O[j];return p}if(q==="hex")for((O=O.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(O="0"+O),j=0;j<O.length;j+=2)p.push(parseInt(O[j]+O[j+1],16));else for(j=0;j<O.length;j++){var w=O.charCodeAt(j),S=w>>8,_=255&w;S?p.push(S,_):p.push(_)}return p},d.zero2=T,d.toHex=A,d.encode=function(O,q){return q==="hex"?A(O):O}},4459:F=>{F.exports=Number.isNaN||function(v){return v!=v}},4579:(F,v,d)=>{Object.defineProperty(v,"__esModule",{value:!0}),v.postPresignSignatureV4=function(D,U,$,P){if(!(0,O.isString)(D))throw new TypeError('region should be of type "string"');if(!(0,O.isObject)(U))throw new TypeError('date should be of type "object"');if(!(0,O.isString)($))throw new TypeError('secretKey should be of type "string"');if(!(0,O.isString)(P))throw new TypeError('policyBase64 should be of type "string"');const W=I(U,D,$);return T.default.createHmac("sha256",W).update(P).digest("hex").toLowerCase()},v.presignSignatureV4=function(D,U,$,P,W,G,Q){if(!(0,O.isObject)(D))throw new TypeError('request should be of type "object"');if(!(0,O.isString)(U))throw new TypeError('accessKey should be of type "string"');if(!(0,O.isString)($))throw new TypeError('secretKey should be of type "string"');if(!(0,O.isString)(W))throw new TypeError('region should be of type "string"');if(!U)throw new q.AccessKeyRequiredError("accessKey is required for presigning");if(!$)throw new q.SecretKeyRequiredError("secretKey is required for presigning");if(!(0,O.isNumber)(Q))throw new TypeError('expires should be of type "number"');if(Q<1)throw new q.ExpiresParamError("expires param cannot be less than 1 seconds");if(Q>604800)throw new q.ExpiresParamError("expires param cannot be greater than 7 days");const te=(0,O.makeDateLong)(G),se=N(D.headers),ue=_(U,W,G),de=[];de.push(`X-Amz-Algorithm=${w}`),de.push(`X-Amz-Credential=${(0,O.uriEscape)(ue)}`),de.push(`X-Amz-Date=${te}`),de.push(`X-Amz-Expires=${Q}`),de.push(`X-Amz-SignedHeaders=${(0,O.uriEscape)(se.join(";").toLowerCase())}`),P&&de.push(`X-Amz-Security-Token=${(0,O.uriEscape)(P)}`);const e=D.path.split("?")[0];let a=D.path.split("?")[1];a=a?a+"&"+de.join("&"):de.join("&");const o=e+"?"+a,r=b(S(D.method,o,D.headers,se,"UNSIGNED-PAYLOAD"),G,W),t=I(G,W,$),h=T.default.createHmac("sha256",t).update(r).digest("hex").toLowerCase();return D.protocol+"//"+D.headers.host+o+`&X-Amz-Signature=${h}`},v.signV4=B,v.signV4ByServiceName=function(D,U,$,P,W,G="s3"){return B(D,U,$,P,W,G)};var T=j(d(1565)),A=j(d(2543)),O=d(2541),q=function(D,U){if(D&&D.__esModule)return D;if(D===null||typeof D!="object"&&typeof D!="function")return{default:D};var $=p(U);if($&&$.has(D))return $.get(D);var P={},W=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in D)if(G!=="default"&&Object.prototype.hasOwnProperty.call(D,G)){var Q=W?Object.getOwnPropertyDescriptor(D,G):null;Q&&(Q.get||Q.set)?Object.defineProperty(P,G,Q):P[G]=D[G]}return P.default=D,$&&$.set(D,P),P}(d(6097));function p(D){if(typeof WeakMap!="function")return null;var U=new WeakMap,$=new WeakMap;return(p=function(P){return P?$:U})(D)}function j(D){return D&&D.__esModule?D:{default:D}}const w="AWS4-HMAC-SHA256";function S(D,U,$,P,W){if(!(0,O.isString)(D))throw new TypeError('method should be of type "string"');if(!(0,O.isString)(U))throw new TypeError('path should be of type "string"');if(!(0,O.isObject)($))throw new TypeError('headers should be of type "object"');if(!(0,O.isArray)(P))throw new TypeError('signedHeaders should be of type "array"');if(!(0,O.isString)(W))throw new TypeError('hashedPayload should be of type "string"');const G=P.reduce((ue,de)=>{const e=`${$[de]}`.replace(/ +/g," ");return ue.push(`${de.toLowerCase()}:${e}`),ue},[]),Q=U.split("?")[0];let te=U.split("?")[1];te||(te=""),te&&(te=te.split("&").sort().map(ue=>ue.indexOf("=")===-1?ue+"=":ue).join("&"));const se=[];return se.push(D.toUpperCase()),se.push(Q),se.push(te),se.push(G.join(`
|
|
125
|
+
`)+`
|
|
126
|
+
`),se.push(P.join(";").toLowerCase()),se.push(W),se.join(`
|
|
127
|
+
`)}function _(D,U,$,P="s3"){if(!(0,O.isString)(D))throw new TypeError('accessKey should be of type "string"');if(!(0,O.isString)(U))throw new TypeError('region should be of type "string"');if(!(0,O.isObject)($))throw new TypeError('requestDate should be of type "object"');return`${D}/${(0,O.getScope)(U,$,P)}`}function N(D){if(!(0,O.isObject)(D))throw new TypeError('request should be of type "object"');const U=["authorization","content-length","content-type","user-agent"];return A.default.map(D,($,P)=>P).filter($=>U.indexOf($)===-1).sort()}function I(D,U,$,P="s3"){if(!(0,O.isObject)(D))throw new TypeError('date should be of type "object"');if(!(0,O.isString)(U))throw new TypeError('region should be of type "string"');if(!(0,O.isString)($))throw new TypeError('secretKey should be of type "string"');const W=(0,O.makeDateShort)(D);let G=T.default.createHmac("sha256","AWS4"+$).update(W).digest(),Q=T.default.createHmac("sha256",G).update(U).digest(),te=T.default.createHmac("sha256",Q).update(P).digest();return T.default.createHmac("sha256",te).update("aws4_request").digest()}function b(D,U,$,P="s3"){if(!(0,O.isString)(D))throw new TypeError('canonicalRequest should be of type "string"');if(!(0,O.isObject)(U))throw new TypeError('requestDate should be of type "object"');if(!(0,O.isString)($))throw new TypeError('region should be of type "string"');const W=T.default.createHash("sha256").update(D).digest("hex"),G=(0,O.getScope)($,U,P),Q=[];return Q.push(w),Q.push((0,O.makeDateLong)(U)),Q.push(G),Q.push(W),Q.join(`
|
|
128
|
+
`)}function B(D,U,$,P,W,G="s3"){if(!(0,O.isObject)(D))throw new TypeError('request should be of type "object"');if(!(0,O.isString)(U))throw new TypeError('accessKey should be of type "string"');if(!(0,O.isString)($))throw new TypeError('secretKey should be of type "string"');if(!(0,O.isString)(P))throw new TypeError('region should be of type "string"');if(!U)throw new q.AccessKeyRequiredError("accessKey is required for signing");if(!$)throw new q.SecretKeyRequiredError("secretKey is required for signing");const Q=D.headers["x-amz-content-sha256"],te=N(D.headers),se=G||"s3",ue=b(S(D.method,D.path,D.headers,te,Q),W,P,se),de=I(W,P,$,se),e=_(U,P,W,se),a=T.default.createHmac("sha256",de).update(ue).digest("hex").toLowerCase();return`${w} Credential=${e}, SignedHeaders=${te.join(";").toLowerCase()}, Signature=${a}`}},4589:F=>{F.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},4598:(F,v,d)=>{var T=d(2153);v.tagClass={0:"universal",1:"application",2:"context",3:"private"},v.tagClassByName=T._reverse(v.tagClass),v.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},v.tagByName=T._reverse(v.tag)},4610:(F,v,d)=>{F.exports=S;var T=d(6048).F,A=T.ERR_METHOD_NOT_IMPLEMENTED,O=T.ERR_MULTIPLE_CALLBACK,q=T.ERR_TRANSFORM_ALREADY_TRANSFORMING,p=T.ERR_TRANSFORM_WITH_LENGTH_0,j=d(5382);function w(I,b){var B=this._transformState;B.transforming=!1;var D=B.writecb;if(D===null)return this.emit("error",new O);B.writechunk=null,B.writecb=null,b!=null&&this.push(b),D(I);var U=this._readableState;U.reading=!1,(U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}function S(I){if(!(this instanceof S))return new S(I);j.call(this,I),this._transformState={afterTransform:w.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,I&&(typeof I.transform=="function"&&(this._transform=I.transform),typeof I.flush=="function"&&(this._flush=I.flush)),this.on("prefinish",_)}function _(){var I=this;typeof this._flush!="function"||this._readableState.destroyed?N(this,null,null):this._flush(function(b,B){N(I,b,B)})}function N(I,b,B){if(b)return I.emit("error",b);if(B!=null&&I.push(B),I._writableState.length)throw new p;if(I._transformState.transforming)throw new q;return I.push(null)}d(6698)(S,j),S.prototype.push=function(I,b){return this._transformState.needTransform=!1,j.prototype.push.call(this,I,b)},S.prototype._transform=function(I,b,B){B(new A("_transform()"))},S.prototype._write=function(I,b,B){var D=this._transformState;if(D.writecb=B,D.writechunk=I,D.writeencoding=b,!D.transforming){var U=this._readableState;(D.needTransform||U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}},S.prototype._read=function(I){var b=this._transformState;b.writechunk===null||b.transforming?b.needTransform=!0:(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform))},S.prototype._destroy=function(I,b){j.prototype._destroy.call(this,I,function(B){b(B)})}},4634:F=>{var v={}.toString;F.exports=Array.isArray||function(d){return v.call(d)=="[object Array]"}},4643:(F,v,d)=>{var T=d(6763);function A(O){try{if(!d.g.localStorage)return!1}catch{return!1}var q=d.g.localStorage[O];return q!=null&&String(q).toLowerCase()==="true"}F.exports=function(O,q){if(A("noDeprecation"))return O;var p=!1;return function(){if(!p){if(A("throwDeprecation"))throw new Error(q);A("traceDeprecation")?T.trace(q):T.warn(q),p=!0}return O.apply(this,arguments)}}},4669:(F,v,d)=>{var T=v;T.der=d(82),T.pem=d(735)},4688:()=>{},4729:(F,v,d)=>{var T=d(2861).Buffer,A=d(8310).Transform;function O(j){A.call(this),this._block=T.allocUnsafe(j),this._blockSize=j,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}d(6698)(O,A),O.prototype._transform=function(j,w,S){var _=null;try{this.update(j,w)}catch(N){_=N}S(_)},O.prototype._flush=function(j){var w=null;try{this.push(this.digest())}catch(S){w=S}j(w)};var q=typeof Uint8Array<"u",p=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(T.prototype instanceof Uint8Array||T.TYPED_ARRAY_SUPPORT);O.prototype.update=function(j,w){if(this._finalized)throw new Error("Digest already called");j=function(B,D){if(B instanceof T)return B;if(typeof B=="string")return T.from(B,D);if(p&&ArrayBuffer.isView(B)){if(B.byteLength===0)return T.alloc(0);var U=T.from(B.buffer,B.byteOffset,B.byteLength);if(U.byteLength===B.byteLength)return U}if(q&&B instanceof Uint8Array||T.isBuffer(B)&&B.constructor&&typeof B.constructor.isBuffer=="function"&&B.constructor.isBuffer(B))return T.from(B);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(j,w);for(var S=this._block,_=0;this._blockOffset+j.length-_>=this._blockSize;){for(var N=this._blockOffset;N<this._blockSize;)S[N++]=j[_++];this._update(),this._blockOffset=0}for(;_<j.length;)S[this._blockOffset++]=j[_++];for(var I=0,b=8*j.length;b>0;++I)this._length[I]+=b,(b=this._length[I]/4294967296|0)>0&&(this._length[I]-=4294967296*b);return this},O.prototype._update=function(){throw new Error("_update is not implemented")},O.prototype.digest=function(j){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var w=this._digest();j!==void 0&&(w=w.toString(j)),this._block.fill(0),this._blockOffset=0;for(var S=0;S<4;++S)this._length[S]=0;return w},O.prototype._digest=function(){throw new Error("_digest is not implemented")},F.exports=O},4765:F=>{var v=String.prototype.replace,d=/%20/g,T="RFC3986";F.exports={default:T,formatters:{RFC1738:function(A){return v.call(A,d,"+")},RFC3986:function(A){return String(A)}},RFC1738:"RFC1738",RFC3986:T}},4797:function(F){(function(){F.exports=function(){function v(d){this.nodes=d}return Object.defineProperty(v.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.getNamedItem=function(d){return this.nodes[d]},v.prototype.setNamedItem=function(d){var T;return T=this.nodes[d.nodeName],this.nodes[d.nodeName]=d,T||null},v.prototype.removeNamedItem=function(d){var T;return T=this.nodes[d],delete this.nodes[d],T||null},v.prototype.item=function(d){return this.nodes[Object.keys(this.nodes)[d]]||null},v.prototype.getNamedItemNS=function(d,T){throw new Error("This DOM method is not implemented.")},v.prototype.setNamedItemNS=function(d){throw new Error("This DOM method is not implemented.")},v.prototype.removeNamedItemNS=function(d,T){throw new Error("This DOM method is not implemented.")},v}()}).call(this)},4803:(F,v,d)=>{var T=d(8859),A=d(9675),O=function(q,p,j){for(var w,S=q;(w=S.next)!=null;S=w)if(w.key===p)return S.next=w.next,j||(w.next=q.next,q.next=w),w};F.exports=function(){var q,p={assert:function(j){if(!p.has(j))throw new A("Side channel does not contain "+T(j))},delete:function(j){var w=q&&q.next,S=function(_,N){if(_)return O(_,N,!0)}(q,j);return S&&w&&w===S&&(q=void 0),!!S},get:function(j){return function(w,S){if(w){var _=O(w,S);return _&&_.value}}(q,j)},has:function(j){return function(w,S){return!!w&&!!O(w,S)}(q,j)},set:function(j,w){q||(q={next:void 0}),function(S,_,N){var I=O(S,_);I?I.value=N:S.next={key:_,next:S.next,value:N}}(q,j,w)}};return p}},4847:(F,v,d)=>{var T=d(2861).Buffer,A=d(9404),O=d(6729).ec,q=d(8170),p=d(4589);function j(w,S){if(w.cmpn(0)<=0)throw new Error("invalid sig");if(w.cmp(S)>=0)throw new Error("invalid sig")}F.exports=function(w,S,_,N,I){var b=q(_);if(b.type==="ec"){if(N!=="ecdsa"&&N!=="ecdsa/rsa")throw new Error("wrong public key type");return function(G,Q,te){var se=p[te.data.algorithm.curve.join(".")];if(!se)throw new Error("unknown curve "+te.data.algorithm.curve.join("."));var ue=new O(se),de=te.data.subjectPrivateKey.data;return ue.verify(Q,G,de)}(w,S,b)}if(b.type==="dsa"){if(N!=="dsa")throw new Error("wrong public key type");return function(G,Q,te){var se=te.data.p,ue=te.data.q,de=te.data.g,e=te.data.pub_key,a=q.signature.decode(G,"der"),o=a.s,r=a.r;j(o,ue),j(r,ue);var t=A.mont(se),h=o.invm(ue);return de.toRed(t).redPow(new A(Q).mul(h).mod(ue)).fromRed().mul(e.toRed(t).redPow(r.mul(h).mod(ue)).fromRed()).mod(se).mod(ue).cmp(r)===0}(w,S,b)}if(N!=="rsa"&&N!=="ecdsa/rsa")throw new Error("wrong public key type");S=T.concat([I,S]);for(var B=b.modulus.byteLength(),D=[1],U=0;S.length+D.length+2<B;)D.push(255),U+=1;D.push(0);for(var $=-1;++$<S.length;)D.push(S[$]);D=T.from(D);var P=A.mont(b.modulus);w=(w=new A(w).toRed(P)).redPow(new A(b.publicExponent)),w=T.from(w.fromRed().toArray());var W=U<8?1:0;for(B=Math.min(w.length,D.length),w.length!==D.length&&(W=1),$=-1;++$<B;)W|=w[$]^D[$];return W===0}},4883:(F,v,d)=>{Object.defineProperty(v,"__esModule",{value:!0}),v.getS3Endpoint=function(O){if(!(0,T.isString)(O))throw new TypeError(`Invalid region: ${O}`);var q=A[O];return q||"s3.amazonaws.com"};var T=d(2541);let A={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com"}},4910:(F,v,d)=>{var T=d(8287).Buffer,A=d(6473),O=new(d(2244)),q=new A(24),p=new A(11),j=new A(10),w=new A(3),S=new A(7),_=d(4934),N=d(3209);function I($,P){return P=P||"utf8",T.isBuffer($)||($=new T($,P)),this._pub=new A($),this}function b($,P){return P=P||"utf8",T.isBuffer($)||($=new T($,P)),this._priv=new A($),this}F.exports=D;var B={};function D($,P,W){this.setGenerator(P),this.__prime=new A($),this._prime=A.mont(this.__prime),this._primeLen=$.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,W?(this.setPublicKey=I,this.setPrivateKey=b):this._primeCode=8}function U($,P){var W=new T($.toArray());return P?W.toString(P):W}Object.defineProperty(D.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=function($,P){var W=P.toString("hex"),G=[W,$.toString(16)].join("_");if(G in B)return B[G];var Q,te=0;if($.isEven()||!_.simpleSieve||!_.fermatTest($)||!O.test($))return te+=1,te+=W==="02"||W==="05"?8:4,B[G]=te,te;switch(O.test($.shrn(1))||(te+=2),W){case"02":$.mod(q).cmp(p)&&(te+=8);break;case"05":(Q=$.mod(j)).cmp(w)&&Q.cmp(S)&&(te+=8);break;default:te+=4}return B[G]=te,te}(this.__prime,this.__gen)),this._primeCode}}),D.prototype.generateKeys=function(){return this._priv||(this._priv=new A(N(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},D.prototype.computeSecret=function($){var P=($=($=new A($)).toRed(this._prime)).redPow(this._priv).fromRed(),W=new T(P.toArray()),G=this.getPrime();if(W.length<G.length){var Q=new T(G.length-W.length);Q.fill(0),W=T.concat([Q,W])}return W},D.prototype.getPublicKey=function($){return U(this._pub,$)},D.prototype.getPrivateKey=function($){return U(this._priv,$)},D.prototype.getPrime=function($){return U(this.__prime,$)},D.prototype.getGenerator=function($){return U(this._gen,$)},D.prototype.setGenerator=function($,P){return P=P||"utf8",T.isBuffer($)||($=new T($,P)),this.__gen=$,this._gen=new A($),this}},4923:function(F){(function(){F.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},4934:(F,v,d)=>{var T=d(3209);F.exports=$,$.simpleSieve=D,$.fermatTest=U;var A=d(6473),O=new A(24),q=new(d(2244)),p=new A(1),j=new A(2),w=new A(5),S=(new A(16),new A(8),new A(10)),_=new A(3),N=(new A(7),new A(11)),I=new A(4),b=(new A(12),null);function B(){if(b!==null)return b;var P=[];P[0]=2;for(var W=1,G=3;G<1048576;G+=2){for(var Q=Math.ceil(Math.sqrt(G)),te=0;te<W&&P[te]<=Q&&G%P[te]!=0;te++);W!==te&&P[te]<=Q||(P[W++]=G)}return b=P,P}function D(P){for(var W=B(),G=0;G<W.length;G++)if(P.modn(W[G])===0)return P.cmpn(W[G])===0;return!0}function U(P){var W=A.mont(P);return j.toRed(W).redPow(P.subn(1)).fromRed().cmpn(1)===0}function $(P,W){if(P<16)return new A(W===2||W===5?[140,123]:[140,39]);var G,Q;for(W=new A(W);;){for(G=new A(T(Math.ceil(P/8)));G.bitLength()>P;)G.ishrn(1);if(G.isEven()&&G.iadd(p),G.testn(1)||G.iadd(j),W.cmp(j)){if(!W.cmp(w))for(;G.mod(S).cmp(_);)G.iadd(I)}else for(;G.mod(O).cmp(N);)G.iadd(I);if(D(Q=G.shrn(1))&&D(G)&&U(Q)&&U(G)&&q.test(Q)&&q.test(G))return G}}},5037:(F,v,d)=>{var T;function A(q){this.rand=q}if(F.exports=function(q){return T||(T=new A(null)),T.generate(q)},F.exports.Rand=A,A.prototype.generate=function(q){return this._rand(q)},A.prototype._rand=function(q){if(this.rand.getBytes)return this.rand.getBytes(q);for(var p=new Uint8Array(q),j=0;j<p.length;j++)p[j]=this.rand.getByte();return p},typeof self=="object")self.crypto&&self.crypto.getRandomValues?A.prototype._rand=function(q){var p=new Uint8Array(q);return self.crypto.getRandomValues(p),p}:self.msCrypto&&self.msCrypto.getRandomValues?A.prototype._rand=function(q){var p=new Uint8Array(q);return self.msCrypto.getRandomValues(p),p}:typeof window=="object"&&(A.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var O=d(3776);if(typeof O.randomBytes!="function")throw new Error("Not supported");A.prototype._rand=function(q){return O.randomBytes(q)}}catch{}},5122:F=>{F.exports=function(v){for(var d,T=v.length;T--;){if((d=v.readUInt8(T))!==255){d++,v.writeUInt8(d,T);break}v.writeUInt8(0,T)}}},5157:F=>{F.exports=function(){throw new Error("Readable.from is not available in the browser")}},5242:(F,v,d)=>{F.exports=O;var T=d(1816),A=Object.create(d(5622));function O(q){if(!(this instanceof O))return new O(q);T.call(this,q)}A.inherits=d(6698),A.inherits(O,T),O.prototype._transform=function(q,p,j){j(null,q)}},5264:(F,v,d)=>{var T=d(2861).Buffer;function A(q,p,j){for(var w,S,_=-1,N=0;++_<8;)w=p&1<<7-_?128:0,N+=(128&(S=q._cipher.encryptBlock(q._prev)[0]^w))>>_%8,q._prev=O(q._prev,j?w:S);return N}function O(q,p){var j=q.length,w=-1,S=T.allocUnsafe(q.length);for(q=T.concat([q,T.from([p])]);++w<j;)S[w]=q[w]<<1|q[w+1]>>7;return S}v.encrypt=function(q,p,j){for(var w=p.length,S=T.allocUnsafe(w),_=-1;++_<w;)S[_]=A(q,p[_],j);return S}},5279:(F,v,d)=>{var T=d(3349),A=d(6698),O=d(2808),q=d(2211);function p(w,S){T.equal(S.length,24,"Invalid key length");var _=S.slice(0,8),N=S.slice(8,16),I=S.slice(16,24);this.ciphers=w==="encrypt"?[q.create({type:"encrypt",key:_}),q.create({type:"decrypt",key:N}),q.create({type:"encrypt",key:I})]:[q.create({type:"decrypt",key:I}),q.create({type:"encrypt",key:N}),q.create({type:"decrypt",key:_})]}function j(w){O.call(this,w);var S=new p(this.type,this.options.key);this._edeState=S}A(j,O),F.exports=j,j.create=function(w){return new j(w)},j.prototype._update=function(w,S,_,N){var I=this._edeState;I.ciphers[0]._update(w,S,_,N),I.ciphers[1]._update(_,N,_,N),I.ciphers[2]._update(_,N,_,N)},j.prototype._pad=q.prototype._pad,j.prototype._unpad=q.prototype._unpad},5291:(F,v,d)=>{var T=d(6048).F.ERR_INVALID_OPT_VALUE;F.exports={getHighWaterMark:function(A,O,q,p){var j=function(w,S,_){return w.highWaterMark!=null?w.highWaterMark:S?w[_]:null}(O,p,q);if(j!=null){if(!isFinite(j)||Math.floor(j)!==j||j<0)throw new T(p?q:"highWaterMark",j);return Math.floor(j)}return A.objectMode?16:16384}}},5334:(F,v)=>{const d=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",T="["+d+"]["+d+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",A=new RegExp("^"+T+"$");v.isExist=function(O){return O!==void 0},v.isEmptyObject=function(O){return Object.keys(O).length===0},v.merge=function(O,q,p){if(q){const j=Object.keys(q),w=j.length;for(let S=0;S<w;S++)O[j[S]]=p==="strict"?[q[j[S]]]:q[j[S]]}},v.getValue=function(O){return v.isExist(O)?O:""},v.buildOptions=function(O,q,p){let j={};if(!O)return q;for(let w=0;w<p.length;w++)O[p[w]]!==void 0?j[p[w]]=O[p[w]]:j[p[w]]=q[p[w]];return j},v.isTagNameInArrayMode=function(O,q,p){return q!==!1&&(q instanceof RegExp?q.test(O):typeof q=="function"?!!q(O,p):q==="strict")},v.isName=function(O){return A.exec(O)!=null},v.getAllMatches=function(O,q){const p=[];let j=q.exec(O);for(;j;){const w=[];w.startIndex=q.lastIndex-j[0].length;const S=j.length;for(let _=0;_<S;_++)w.push(j[_]);p.push(w),j=q.exec(O)}return p},v.nameRegexp=T},5340:()=>{},5345:F=>{F.exports=URIError},5359:(F,v,d)=>{var T=d(2861).Buffer,A=d(3507),O=d(7332),q=d(6729).ec,p=d(9404),j=d(8170),w=d(4589);function S(b,B,D,U){if((b=T.from(b.toArray())).length<B.byteLength()){var $=T.alloc(B.byteLength()-b.length);b=T.concat([$,b])}var P=D.length,W=function(te,se){te=(te=_(te,se)).mod(se);var ue=T.from(te.toArray());if(ue.length<se.byteLength()){var de=T.alloc(se.byteLength()-ue.length);ue=T.concat([de,ue])}return ue}(D,B),G=T.alloc(P);G.fill(1);var Q=T.alloc(P);return Q=A(U,Q).update(G).update(T.from([0])).update(b).update(W).digest(),G=A(U,Q).update(G).digest(),{k:Q=A(U,Q).update(G).update(T.from([1])).update(b).update(W).digest(),v:G=A(U,Q).update(G).digest()}}function _(b,B){var D=new p(b),U=(b.length<<3)-B.bitLength();return U>0&&D.ishrn(U),D}function N(b,B,D){var U,$;do{for(U=T.alloc(0);8*U.length<b.bitLength();)B.v=A(D,B.k).update(B.v).digest(),U=T.concat([U,B.v]);$=_(U,b),B.k=A(D,B.k).update(B.v).update(T.from([0])).digest(),B.v=A(D,B.k).update(B.v).digest()}while($.cmp(b)!==-1);return $}function I(b,B,D,U){return b.toRed(p.mont(D)).redPow(B).fromRed().mod(U)}F.exports=function(b,B,D,U,$){var P=j(B);if(P.curve){if(U!=="ecdsa"&&U!=="ecdsa/rsa")throw new Error("wrong private key type");return function(te,se){var ue=w[se.curve.join(".")];if(!ue)throw new Error("unknown curve "+se.curve.join("."));var de=new q(ue).keyFromPrivate(se.privateKey).sign(te);return T.from(de.toDER())}(b,P)}if(P.type==="dsa"){if(U!=="dsa")throw new Error("wrong private key type");return function(te,se,ue){for(var de,e=se.params.priv_key,a=se.params.p,o=se.params.q,r=se.params.g,t=new p(0),h=_(te,o).mod(o),M=!1,H=S(e,o,te,ue);M===!1;)t=I(r,de=N(o,H,ue),a,o),(M=de.invm(o).imul(h.add(e.mul(t))).mod(o)).cmpn(0)===0&&(M=!1,t=new p(0));return function(K,V){K=K.toArray(),V=V.toArray(),128&K[0]&&(K=[0].concat(K)),128&V[0]&&(V=[0].concat(V));var Z=[48,K.length+V.length+4,2,K.length];return Z=Z.concat(K,[2,V.length],V),T.from(Z)}(t,M)}(b,P,D)}if(U!=="rsa"&&U!=="ecdsa/rsa")throw new Error("wrong private key type");if(B.padding!==void 0&&B.padding!==1)throw new Error("illegal or unsupported padding mode");b=T.concat([$,b]);for(var W=P.modulus.byteLength(),G=[0,1];b.length+G.length+1<W;)G.push(255);G.push(0);for(var Q=-1;++Q<b.length;)G.push(b[Q]);return O(G,P)},F.exports.getKey=S,F.exports.makeKey=N},5373:(F,v,d)=>{var T=d(8636),A=d(2642),O=d(4765);F.exports={formats:O,parse:A,stringify:T}},5380:(F,v,d)=>{var T=d(8287).Buffer,A=d(4934),O=d(3241),q=d(4910),p={binary:!0,hex:!0,base64:!0};v.DiffieHellmanGroup=v.createDiffieHellmanGroup=v.getDiffieHellman=function(j){var w=new T(O[j].prime,"hex"),S=new T(O[j].gen,"hex");return new q(w,S)},v.createDiffieHellman=v.DiffieHellman=function j(w,S,_,N){return T.isBuffer(S)||p[S]===void 0?j(w,"binary",S,_):(S=S||"binary",N=N||"binary",_=_||new T([2]),T.isBuffer(_)||(_=new T(_,N)),typeof w=="number"?new q(A(w,_),_,!0):(T.isBuffer(w)||(w=new T(w,S)),new q(w,_,!0)))}},5382:(F,v,d)=>{var T=d(5606),A=Object.keys||function(I){var b=[];for(var B in I)b.push(B);return b};F.exports=S;var O=d(5412),q=d(6708);d(6698)(S,O);for(var p=A(q.prototype),j=0;j<p.length;j++){var w=p[j];S.prototype[w]||(S.prototype[w]=q.prototype[w])}function S(I){if(!(this instanceof S))return new S(I);O.call(this,I),q.call(this,I),this.allowHalfOpen=!0,I&&(I.readable===!1&&(this.readable=!1),I.writable===!1&&(this.writable=!1),I.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",_)))}function _(){this._writableState.ended||T.nextTick(N,this)}function N(I){I.end()}Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(I){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=I,this._writableState.destroyed=I)}})},5412:(F,v,d)=>{var T,A=d(5606);F.exports=ue,ue.ReadableState=se,d(7007).EventEmitter;var O,q=function(Y,ne){return Y.listeners(ne).length},p=d(345),j=d(8287).Buffer,w=(d.g!==void 0?d.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},S=d(9838);O=S&&S.debuglog?S.debuglog("stream"):function(){};var _,N,I,b=d(2726),B=d(5896),D=d(5291).getHighWaterMark,U=d(6048).F,$=U.ERR_INVALID_ARG_TYPE,P=U.ERR_STREAM_PUSH_AFTER_EOF,W=U.ERR_METHOD_NOT_IMPLEMENTED,G=U.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;d(6698)(ue,p);var Q=B.errorOrDestroy,te=["error","close","destroy","pause","resume"];function se(Y,ne,J){T=T||d(5382),Y=Y||{},typeof J!="boolean"&&(J=ne instanceof T),this.objectMode=!!Y.objectMode,J&&(this.objectMode=this.objectMode||!!Y.readableObjectMode),this.highWaterMark=D(this,Y,"readableHighWaterMark",J),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Y.emitClose!==!1,this.autoDestroy=!!Y.autoDestroy,this.destroyed=!1,this.defaultEncoding=Y.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Y.encoding&&(_||(_=d(3141).I),this.decoder=new _(Y.encoding),this.encoding=Y.encoding)}function ue(Y){if(T=T||d(5382),!(this instanceof ue))return new ue(Y);var ne=this instanceof T;this._readableState=new se(Y,this,ne),this.readable=!0,Y&&(typeof Y.read=="function"&&(this._read=Y.read),typeof Y.destroy=="function"&&(this._destroy=Y.destroy)),p.call(this)}function de(Y,ne,J,ee,ge){O("readableAddChunk",ne);var pe,we=Y._readableState;if(ne===null)we.reading=!1,function(je,Me){if(O("onEofChunk"),!Me.ended){if(Me.decoder){var Ae=Me.decoder.end();Ae&&Ae.length&&(Me.buffer.push(Ae),Me.length+=Me.objectMode?1:Ae.length)}Me.ended=!0,Me.sync?r(je):(Me.needReadable=!1,Me.emittedReadable||(Me.emittedReadable=!0,t(je)))}}(Y,we);else if(ge||(pe=function(je,Me){var Ae,Ve;return Ve=Me,j.isBuffer(Ve)||Ve instanceof w||typeof Me=="string"||Me===void 0||je.objectMode||(Ae=new $("chunk",["string","Buffer","Uint8Array"],Me)),Ae}(we,ne)),pe)Q(Y,pe);else if(we.objectMode||ne&&ne.length>0)if(typeof ne=="string"||we.objectMode||Object.getPrototypeOf(ne)===j.prototype||(ne=function(je){return j.from(je)}(ne)),ee)we.endEmitted?Q(Y,new G):e(Y,we,ne,!0);else if(we.ended)Q(Y,new P);else{if(we.destroyed)return!1;we.reading=!1,we.decoder&&!J?(ne=we.decoder.write(ne),we.objectMode||ne.length!==0?e(Y,we,ne,!1):h(Y,we)):e(Y,we,ne,!1)}else ee||(we.reading=!1,h(Y,we));return!we.ended&&(we.length<we.highWaterMark||we.length===0)}function e(Y,ne,J,ee){ne.flowing&&ne.length===0&&!ne.sync?(ne.awaitDrain=0,Y.emit("data",J)):(ne.length+=ne.objectMode?1:J.length,ee?ne.buffer.unshift(J):ne.buffer.push(J),ne.needReadable&&r(Y)),h(Y,ne)}Object.defineProperty(ue.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(Y){this._readableState&&(this._readableState.destroyed=Y)}}),ue.prototype.destroy=B.destroy,ue.prototype._undestroy=B.undestroy,ue.prototype._destroy=function(Y,ne){ne(Y)},ue.prototype.push=function(Y,ne){var J,ee=this._readableState;return ee.objectMode?J=!0:typeof Y=="string"&&((ne=ne||ee.defaultEncoding)!==ee.encoding&&(Y=j.from(Y,ne),ne=""),J=!0),de(this,Y,ne,!1,J)},ue.prototype.unshift=function(Y){return de(this,Y,null,!0,!1)},ue.prototype.isPaused=function(){return this._readableState.flowing===!1},ue.prototype.setEncoding=function(Y){_||(_=d(3141).I);var ne=new _(Y);this._readableState.decoder=ne,this._readableState.encoding=this._readableState.decoder.encoding;for(var J=this._readableState.buffer.head,ee="";J!==null;)ee+=ne.write(J.data),J=J.next;return this._readableState.buffer.clear(),ee!==""&&this._readableState.buffer.push(ee),this._readableState.length=ee.length,this};var a=1073741824;function o(Y,ne){return Y<=0||ne.length===0&&ne.ended?0:ne.objectMode?1:Y!=Y?ne.flowing&&ne.length?ne.buffer.head.data.length:ne.length:(Y>ne.highWaterMark&&(ne.highWaterMark=function(J){return J>=a?J=a:(J--,J|=J>>>1,J|=J>>>2,J|=J>>>4,J|=J>>>8,J|=J>>>16,J++),J}(Y)),Y<=ne.length?Y:ne.ended?ne.length:(ne.needReadable=!0,0))}function r(Y){var ne=Y._readableState;O("emitReadable",ne.needReadable,ne.emittedReadable),ne.needReadable=!1,ne.emittedReadable||(O("emitReadable",ne.flowing),ne.emittedReadable=!0,A.nextTick(t,Y))}function t(Y){var ne=Y._readableState;O("emitReadable_",ne.destroyed,ne.length,ne.ended),ne.destroyed||!ne.length&&!ne.ended||(Y.emit("readable"),ne.emittedReadable=!1),ne.needReadable=!ne.flowing&&!ne.ended&&ne.length<=ne.highWaterMark,Z(Y)}function h(Y,ne){ne.readingMore||(ne.readingMore=!0,A.nextTick(M,Y,ne))}function M(Y,ne){for(;!ne.reading&&!ne.ended&&(ne.length<ne.highWaterMark||ne.flowing&&ne.length===0);){var J=ne.length;if(O("maybeReadMore read 0"),Y.read(0),J===ne.length)break}ne.readingMore=!1}function H(Y){var ne=Y._readableState;ne.readableListening=Y.listenerCount("readable")>0,ne.resumeScheduled&&!ne.paused?ne.flowing=!0:Y.listenerCount("data")>0&&Y.resume()}function K(Y){O("readable nexttick read 0"),Y.read(0)}function V(Y,ne){O("resume",ne.reading),ne.reading||Y.read(0),ne.resumeScheduled=!1,Y.emit("resume"),Z(Y),ne.flowing&&!ne.reading&&Y.read(0)}function Z(Y){var ne=Y._readableState;for(O("flow",ne.flowing);ne.flowing&&Y.read()!==null;);}function X(Y,ne){return ne.length===0?null:(ne.objectMode?J=ne.buffer.shift():!Y||Y>=ne.length?(J=ne.decoder?ne.buffer.join(""):ne.buffer.length===1?ne.buffer.first():ne.buffer.concat(ne.length),ne.buffer.clear()):J=ne.buffer.consume(Y,ne.decoder),J);var J}function ae(Y){var ne=Y._readableState;O("endReadable",ne.endEmitted),ne.endEmitted||(ne.ended=!0,A.nextTick(ie,ne,Y))}function ie(Y,ne){if(O("endReadableNT",Y.endEmitted,Y.length),!Y.endEmitted&&Y.length===0&&(Y.endEmitted=!0,ne.readable=!1,ne.emit("end"),Y.autoDestroy)){var J=ne._writableState;(!J||J.autoDestroy&&J.finished)&&ne.destroy()}}function ce(Y,ne){for(var J=0,ee=Y.length;J<ee;J++)if(Y[J]===ne)return J;return-1}ue.prototype.read=function(Y){O("read",Y),Y=parseInt(Y,10);var ne=this._readableState,J=Y;if(Y!==0&&(ne.emittedReadable=!1),Y===0&&ne.needReadable&&((ne.highWaterMark!==0?ne.length>=ne.highWaterMark:ne.length>0)||ne.ended))return O("read: emitReadable",ne.length,ne.ended),ne.length===0&&ne.ended?ae(this):r(this),null;if((Y=o(Y,ne))===0&&ne.ended)return ne.length===0&&ae(this),null;var ee,ge=ne.needReadable;return O("need readable",ge),(ne.length===0||ne.length-Y<ne.highWaterMark)&&O("length less than watermark",ge=!0),ne.ended||ne.reading?O("reading or ended",ge=!1):ge&&(O("do read"),ne.reading=!0,ne.sync=!0,ne.length===0&&(ne.needReadable=!0),this._read(ne.highWaterMark),ne.sync=!1,ne.reading||(Y=o(J,ne))),(ee=Y>0?X(Y,ne):null)===null?(ne.needReadable=ne.length<=ne.highWaterMark,Y=0):(ne.length-=Y,ne.awaitDrain=0),ne.length===0&&(ne.ended||(ne.needReadable=!0),J!==Y&&ne.ended&&ae(this)),ee!==null&&this.emit("data",ee),ee},ue.prototype._read=function(Y){Q(this,new W("_read()"))},ue.prototype.pipe=function(Y,ne){var J=this,ee=this._readableState;switch(ee.pipesCount){case 0:ee.pipes=Y;break;case 1:ee.pipes=[ee.pipes,Y];break;default:ee.pipes.push(Y)}ee.pipesCount+=1,O("pipe count=%d opts=%j",ee.pipesCount,ne);var ge=ne&&ne.end===!1||Y===A.stdout||Y===A.stderr?Be:pe;function pe(){O("onend"),Y.end()}ee.endEmitted?A.nextTick(ge):J.once("end",ge),Y.on("unpipe",function le(he,fe){O("onunpipe"),he===J&&fe&&fe.hasUnpiped===!1&&(fe.hasUnpiped=!0,O("cleanup"),Y.removeListener("close",Ve),Y.removeListener("finish",Ie),Y.removeListener("drain",we),Y.removeListener("error",Ae),Y.removeListener("unpipe",le),J.removeListener("end",pe),J.removeListener("end",Be),J.removeListener("data",Me),je=!0,!ee.awaitDrain||Y._writableState&&!Y._writableState.needDrain||we())});var we=function(le){return function(){var he=le._readableState;O("pipeOnDrain",he.awaitDrain),he.awaitDrain&&he.awaitDrain--,he.awaitDrain===0&&q(le,"data")&&(he.flowing=!0,Z(le))}}(J);Y.on("drain",we);var je=!1;function Me(le){O("ondata");var he=Y.write(le);O("dest.write",he),he===!1&&((ee.pipesCount===1&&ee.pipes===Y||ee.pipesCount>1&&ce(ee.pipes,Y)!==-1)&&!je&&(O("false write response, pause",ee.awaitDrain),ee.awaitDrain++),J.pause())}function Ae(le){O("onerror",le),Be(),Y.removeListener("error",Ae),q(Y,"error")===0&&Q(Y,le)}function Ve(){Y.removeListener("finish",Ie),Be()}function Ie(){O("onfinish"),Y.removeListener("close",Ve),Be()}function Be(){O("unpipe"),J.unpipe(Y)}return J.on("data",Me),function(le,he,fe){if(typeof le.prependListener=="function")return le.prependListener(he,fe);le._events&&le._events[he]?Array.isArray(le._events[he])?le._events[he].unshift(fe):le._events[he]=[fe,le._events[he]]:le.on(he,fe)}(Y,"error",Ae),Y.once("close",Ve),Y.once("finish",Ie),Y.emit("pipe",J),ee.flowing||(O("pipe resume"),J.resume()),Y},ue.prototype.unpipe=function(Y){var ne=this._readableState,J={hasUnpiped:!1};if(ne.pipesCount===0)return this;if(ne.pipesCount===1)return Y&&Y!==ne.pipes||(Y||(Y=ne.pipes),ne.pipes=null,ne.pipesCount=0,ne.flowing=!1,Y&&Y.emit("unpipe",this,J)),this;if(!Y){var ee=ne.pipes,ge=ne.pipesCount;ne.pipes=null,ne.pipesCount=0,ne.flowing=!1;for(var pe=0;pe<ge;pe++)ee[pe].emit("unpipe",this,{hasUnpiped:!1});return this}var we=ce(ne.pipes,Y);return we===-1||(ne.pipes.splice(we,1),ne.pipesCount-=1,ne.pipesCount===1&&(ne.pipes=ne.pipes[0]),Y.emit("unpipe",this,J)),this},ue.prototype.on=function(Y,ne){var J=p.prototype.on.call(this,Y,ne),ee=this._readableState;return Y==="data"?(ee.readableListening=this.listenerCount("readable")>0,ee.flowing!==!1&&this.resume()):Y==="readable"&&(ee.endEmitted||ee.readableListening||(ee.readableListening=ee.needReadable=!0,ee.flowing=!1,ee.emittedReadable=!1,O("on readable",ee.length,ee.reading),ee.length?r(this):ee.reading||A.nextTick(K,this))),J},ue.prototype.addListener=ue.prototype.on,ue.prototype.removeListener=function(Y,ne){var J=p.prototype.removeListener.call(this,Y,ne);return Y==="readable"&&A.nextTick(H,this),J},ue.prototype.removeAllListeners=function(Y){var ne=p.prototype.removeAllListeners.apply(this,arguments);return Y!=="readable"&&Y!==void 0||A.nextTick(H,this),ne},ue.prototype.resume=function(){var Y=this._readableState;return Y.flowing||(O("resume"),Y.flowing=!Y.readableListening,function(ne,J){J.resumeScheduled||(J.resumeScheduled=!0,A.nextTick(V,ne,J))}(this,Y)),Y.paused=!1,this},ue.prototype.pause=function(){return O("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(O("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},ue.prototype.wrap=function(Y){var ne=this,J=this._readableState,ee=!1;for(var ge in Y.on("end",function(){if(O("wrapped end"),J.decoder&&!J.ended){var we=J.decoder.end();we&&we.length&&ne.push(we)}ne.push(null)}),Y.on("data",function(we){O("wrapped data"),J.decoder&&(we=J.decoder.write(we)),J.objectMode&&we==null||(J.objectMode||we&&we.length)&&(ne.push(we)||(ee=!0,Y.pause()))}),Y)this[ge]===void 0&&typeof Y[ge]=="function"&&(this[ge]=function(we){return function(){return Y[we].apply(Y,arguments)}}(ge));for(var pe=0;pe<te.length;pe++)Y.on(te[pe],this.emit.bind(this,te[pe]));return this._read=function(we){O("wrapped _read",we),ee&&(ee=!1,Y.resume())},this},typeof Symbol=="function"&&(ue.prototype[Symbol.asyncIterator]=function(){return N===void 0&&(N=d(2955)),N(this)}),Object.defineProperty(ue.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(ue.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(ue.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Y){this._readableState&&(this._readableState.flowing=Y)}}),ue._fromList=X,Object.defineProperty(ue.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(ue.from=function(Y,ne){return I===void 0&&(I=d(5157)),I(ue,Y,ne)})},5479:()=>{},5529:function(F,v,d){(function(){var T,A,O,q={}.hasOwnProperty;O=d(9241).isObject,A=d(468),T=d(1737),F.exports=function(p){function j(w,S,_,N){if(j.__super__.constructor.call(this,w),_==null)throw new Error("Missing DTD entity name. "+this.debugInfo(_));if(N==null)throw new Error("Missing DTD entity value. "+this.debugInfo(_));if(this.pe=!!S,this.name=this.stringify.name(_),this.type=T.EntityDeclaration,O(N)){if(!N.pubID&&!N.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(_));if(N.pubID&&!N.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(_));if(this.internal=!1,N.pubID!=null&&(this.pubID=this.stringify.dtdPubID(N.pubID)),N.sysID!=null&&(this.sysID=this.stringify.dtdSysID(N.sysID)),N.nData!=null&&(this.nData=this.stringify.dtdNData(N.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(_))}else this.value=this.stringify.dtdEntityValue(N),this.internal=!0}return function(w,S){for(var _ in S)q.call(S,_)&&(w[_]=S[_]);function N(){this.constructor=w}N.prototype=S.prototype,w.prototype=new N,w.__super__=S.prototype}(j,p),Object.defineProperty(j.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(j.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(j.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(j.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(j.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(j.prototype,"xmlVersion",{get:function(){return null}}),j.prototype.toString=function(w){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(w))},j}(A)}).call(this)},5537:(F,v,d)=>{var T=d(8287).Buffer,A=d(5606),O=d(6688),q=d(6698),p=d(6917),j=d(8399),w=p.IncomingMessage,S=p.readyStates,_=F.exports=function(I){var b,B=this;j.Writable.call(B),B._opts=I,B._body=[],B._headers={},I.auth&&B.setHeader("Authorization","Basic "+T.from(I.auth).toString("base64")),Object.keys(I.headers).forEach(function(U){B.setHeader(U,I.headers[U])});var D=!0;if(I.mode==="disable-fetch"||"requestTimeout"in I&&!O.abortController)D=!1,b=!0;else if(I.mode==="prefer-streaming")b=!1;else if(I.mode==="allow-wrong-content-type")b=!O.overrideMimeType;else{if(I.mode&&I.mode!=="default"&&I.mode!=="prefer-fast")throw new Error("Invalid value for opts.mode");b=!0}B._mode=function(U,$){return O.fetch&&$?"fetch":O.mozchunkedarraybuffer?"moz-chunked-arraybuffer":O.msstream?"ms-stream":O.arraybuffer&&U?"arraybuffer":"text"}(b,D),B._fetchTimer=null,B._socketTimeout=null,B._socketTimer=null,B.on("finish",function(){B._onFinish()})};q(_,j.Writable),_.prototype.setHeader=function(I,b){var B=I.toLowerCase();N.indexOf(B)===-1&&(this._headers[B]={name:I,value:b})},_.prototype.getHeader=function(I){var b=this._headers[I.toLowerCase()];return b?b.value:null},_.prototype.removeHeader=function(I){delete this._headers[I.toLowerCase()]},_.prototype._onFinish=function(){var I=this;if(!I._destroyed){var b=I._opts;"timeout"in b&&b.timeout!==0&&I.setTimeout(b.timeout);var B=I._headers,D=null;b.method!=="GET"&&b.method!=="HEAD"&&(D=new Blob(I._body,{type:(B["content-type"]||{}).value||""}));var U=[];if(Object.keys(B).forEach(function(G){var Q=B[G].name,te=B[G].value;Array.isArray(te)?te.forEach(function(se){U.push([Q,se])}):U.push([Q,te])}),I._mode==="fetch"){var $=null;if(O.abortController){var P=new AbortController;$=P.signal,I._fetchAbortController=P,"requestTimeout"in b&&b.requestTimeout!==0&&(I._fetchTimer=d.g.setTimeout(function(){I.emit("requestTimeout"),I._fetchAbortController&&I._fetchAbortController.abort()},b.requestTimeout))}d.g.fetch(I._opts.url,{method:I._opts.method,headers:U,body:D||void 0,mode:"cors",credentials:b.withCredentials?"include":"same-origin",signal:$}).then(function(G){I._fetchResponse=G,I._resetTimers(!1),I._connect()},function(G){I._resetTimers(!0),I._destroyed||I.emit("error",G)})}else{var W=I._xhr=new d.g.XMLHttpRequest;try{W.open(I._opts.method,I._opts.url,!0)}catch(G){return void A.nextTick(function(){I.emit("error",G)})}"responseType"in W&&(W.responseType=I._mode),"withCredentials"in W&&(W.withCredentials=!!b.withCredentials),I._mode==="text"&&"overrideMimeType"in W&&W.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in b&&(W.timeout=b.requestTimeout,W.ontimeout=function(){I.emit("requestTimeout")}),U.forEach(function(G){W.setRequestHeader(G[0],G[1])}),I._response=null,W.onreadystatechange=function(){switch(W.readyState){case S.LOADING:case S.DONE:I._onXHRProgress()}},I._mode==="moz-chunked-arraybuffer"&&(W.onprogress=function(){I._onXHRProgress()}),W.onerror=function(){I._destroyed||(I._resetTimers(!0),I.emit("error",new Error("XHR error")))};try{W.send(D)}catch(G){return void A.nextTick(function(){I.emit("error",G)})}}}},_.prototype._onXHRProgress=function(){var I=this;I._resetTimers(!1),function(b){try{var B=b.status;return B!==null&&B!==0}catch{return!1}}(I._xhr)&&!I._destroyed&&(I._response||I._connect(),I._response._onXHRProgress(I._resetTimers.bind(I)))},_.prototype._connect=function(){var I=this;I._destroyed||(I._response=new w(I._xhr,I._fetchResponse,I._mode,I._resetTimers.bind(I)),I._response.on("error",function(b){I.emit("error",b)}),I.emit("response",I._response))},_.prototype._write=function(I,b,B){this._body.push(I),B()},_.prototype._resetTimers=function(I){var b=this;d.g.clearTimeout(b._socketTimer),b._socketTimer=null,I?(d.g.clearTimeout(b._fetchTimer),b._fetchTimer=null):b._socketTimeout&&(b._socketTimer=d.g.setTimeout(function(){b.emit("timeout")},b._socketTimeout))},_.prototype.abort=_.prototype.destroy=function(I){var b=this;b._destroyed=!0,b._resetTimers(!0),b._response&&(b._response._destroyed=!0),b._xhr?b._xhr.abort():b._fetchAbortController&&b._fetchAbortController.abort(),I&&b.emit("error",I)},_.prototype.end=function(I,b,B){typeof I=="function"&&(B=I,I=void 0),j.Writable.prototype.end.call(this,I,b,B)},_.prototype.setTimeout=function(I,b){var B=this;b&&B.once("timeout",b),B._socketTimeout=I,B._resetTimers(!1)},_.prototype.flushHeaders=function(){},_.prototype.setNoDelay=function(){},_.prototype.setSocketKeepAlive=function(){};var N=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]},5540:(F,v,d)=>{const T=function(N){return String.fromCharCode(N)},A={nilChar:T(176),missingChar:T(201),nilPremitive:T(175),missingPremitive:T(200),emptyChar:T(178),emptyValue:T(177),boundryChar:T(179),objStart:T(198),arrStart:T(204),arrayEnd:T(185)},O=[A.nilChar,A.nilPremitive,A.missingChar,A.missingPremitive,A.boundryChar,A.emptyChar,A.emptyValue,A.arrayEnd,A.objStart,A.arrStart],q=function(N,I,b){if(typeof I=="string")return N&&N[0]&&N[0].val!==void 0?p(N[0].val):p(N);{const D=(B=N)===void 0?A.missingChar:B===null?A.nilChar:!(B.child&&Object.keys(B.child).length===0&&(!B.attrsMap||Object.keys(B.attrsMap).length===0))||A.emptyChar;if(D===!0){let U="";if(Array.isArray(I)){U+=A.arrStart;const $=I[0],P=N.length;if(typeof $=="string")for(let W=0;W<P;W++){const G=p(N[W].val);U=j(U,G)}else for(let W=0;W<P;W++){const G=q(N[W],$,b);U=j(U,G)}U+=A.arrayEnd}else{U+=A.objStart;const $=Object.keys(I);Array.isArray(N)&&(N=N[0]);for(let P in $){const W=$[P];let G;G=!b.ignoreAttributes&&N.attrsMap&&N.attrsMap[W]?q(N.attrsMap[W],I[W],b):W===b.textNodeName?q(N.val,I[W],b):q(N.child[W],I[W],b),U=j(U,G)}}return U}return D}var B},p=function(N){switch(N){case void 0:return A.missingPremitive;case null:return A.nilPremitive;case"":return A.emptyValue;default:return N}},j=function(N,I){return w(I[0])||w(N[N.length-1])||(N+=A.boundryChar),N+I},w=function(N){return O.indexOf(N)!==-1},S=d(7765),_=d(5334).buildOptions;v.convert2nimn=function(N,I,b){return b=_(b,S.defaultOptions,S.props),q(N,I,b)}},5567:(F,v,d)=>{F.exports=d(7007).EventEmitter},5579:F=>{F.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')},5606:F=>{var v,d,T=F.exports={};function A(){throw new Error("setTimeout has not been defined")}function O(){throw new Error("clearTimeout has not been defined")}function q(B){if(v===setTimeout)return setTimeout(B,0);if((v===A||!v)&&setTimeout)return v=setTimeout,setTimeout(B,0);try{return v(B,0)}catch{try{return v.call(null,B,0)}catch{return v.call(this,B,0)}}}(function(){try{v=typeof setTimeout=="function"?setTimeout:A}catch{v=A}try{d=typeof clearTimeout=="function"?clearTimeout:O}catch{d=O}})();var p,j=[],w=!1,S=-1;function _(){w&&p&&(w=!1,p.length?j=p.concat(j):S=-1,j.length&&N())}function N(){if(!w){var B=q(_);w=!0;for(var D=j.length;D;){for(p=j,j=[];++S<D;)p&&p[S].run();S=-1,D=j.length}p=null,w=!1,function(U){if(d===clearTimeout)return clearTimeout(U);if((d===O||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(U);try{return d(U)}catch{try{return d.call(null,U)}catch{return d.call(this,U)}}}(B)}}function I(B,D){this.fun=B,this.array=D}function b(){}T.nextTick=function(B){var D=new Array(arguments.length-1);if(arguments.length>1)for(var U=1;U<arguments.length;U++)D[U-1]=arguments[U];j.push(new I(B,D)),j.length!==1||w||q(N)},I.prototype.run=function(){this.fun.apply(null,this.array)},T.title="browser",T.browser=!0,T.env={},T.argv=[],T.version="",T.versions={},T.on=b,T.addListener=b,T.once=b,T.off=b,T.removeListener=b,T.removeAllListeners=b,T.emit=b,T.prependListener=b,T.prependOnceListener=b,T.listeners=function(B){return[]},T.binding=function(B){throw new Error("process.binding is not supported")},T.cwd=function(){return"/"},T.chdir=function(B){throw new Error("process.chdir is not supported")},T.umask=function(){return 0}},5622:(F,v,d)=>{function T(A){return Object.prototype.toString.call(A)}v.isArray=function(A){return Array.isArray?Array.isArray(A):T(A)==="[object Array]"},v.isBoolean=function(A){return typeof A=="boolean"},v.isNull=function(A){return A===null},v.isNullOrUndefined=function(A){return A==null},v.isNumber=function(A){return typeof A=="number"},v.isString=function(A){return typeof A=="string"},v.isSymbol=function(A){return typeof A=="symbol"},v.isUndefined=function(A){return A===void 0},v.isRegExp=function(A){return T(A)==="[object RegExp]"},v.isObject=function(A){return typeof A=="object"&&A!==null},v.isDate=function(A){return T(A)==="[object Date]"},v.isError=function(A){return T(A)==="[object Error]"||A instanceof Error},v.isFunction=function(A){return typeof A=="function"},v.isPrimitive=function(A){return A===null||typeof A=="boolean"||typeof A=="number"||typeof A=="string"||typeof A=="symbol"||A===void 0},v.isBuffer=d(8287).Buffer.isBuffer},5660:function(F){(function(){F.exports=function(){function v(){}return v.prototype.handleError=function(d){throw new Error(d)},v}()}).call(this)},5680:(F,v,d)=>{var T=d(5767);F.exports=function(A){return!!T(A)}},5715:(F,v,d)=>{F.exports=d(2951)},5767:(F,v,d)=>{var T=d(2682),A=d(9209),O=d(487),q=d(6556),p=d(5795),j=d(3628),w=q("Object.prototype.toString"),S=d(9092)(),_=typeof globalThis>"u"?d.g:globalThis,N=A(),I=q("String.prototype.slice"),b=q("Array.prototype.indexOf",!0)||function(D,U){for(var $=0;$<D.length;$+=1)if(D[$]===U)return $;return-1},B={__proto__:null};T(N,S&&p&&j?function(D){var U=new _[D];if(Symbol.toStringTag in U&&j){var $=j(U),P=p($,Symbol.toStringTag);if(!P&&$){var W=j($);P=p(W,Symbol.toStringTag)}B["$"+D]=O(P.get)}}:function(D){var U=new _[D],$=U.slice||U.set;$&&(B["$"+D]=O($))}),F.exports=function(D){if(!D||typeof D!="object")return!1;if(!S){var U=I(w(D),8,-1);return b(N,U)>-1?U:U==="Object"&&function($){var P=!1;return T(B,function(W,G){if(!P)try{W($),P=I(G,1)}catch{}}),P}(D)}return p?function($){var P=!1;return T(B,function(W,G){if(!P)try{"$"+W($)===G&&(P=I(G,1))}catch{}}),P}(D):null}},5769:(F,v,d)=>{var T=d(5606);Object.defineProperty(v,"__esModule",{value:!0}),v.buildARN=v.TopicConfig=v.QueueConfig=v.ObjectRemovedDeleteMarkerCreated=v.ObjectRemovedDelete=v.ObjectRemovedAll=v.ObjectReducedRedundancyLostObject=v.ObjectCreatedPut=v.ObjectCreatedPost=v.ObjectCreatedCopy=v.ObjectCreatedCompleteMultipartUpload=v.ObjectCreatedAll=v.NotificationPoller=v.NotificationConfig=v.CloudFunctionConfig=void 0;var A=d(7007),O=function(I,b){if(I&&I.__esModule)return I;if(I===null||typeof I!="object"&&typeof I!="function")return{default:I};var B=p(b);if(B&&B.has(I))return B.get(I);var D={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in I)if($!=="default"&&Object.prototype.hasOwnProperty.call(I,$)){var P=U?Object.getOwnPropertyDescriptor(I,$):null;P&&(P.get||P.set)?Object.defineProperty(D,$,P):D[$]=I[$]}return D.default=I,B&&B.set(I,D),D}(d(8234)),q=d(2541);function p(I){if(typeof WeakMap!="function")return null;var b=new WeakMap,B=new WeakMap;return(p=function(D){return D?B:b})(I)}v.NotificationConfig=class{add(I){let b="";I instanceof w&&(b="TopicConfiguration"),I instanceof S&&(b="QueueConfiguration"),I instanceof _&&(b="CloudFunctionConfiguration"),this[b]||(this[b]=[]),this[b].push(I)}};class j{setId(b){this.Id=b}addEvent(b){this.Event||(this.Event=[]),this.Event.push(b)}addFilterSuffix(b){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:b})}addFilterPrefix(b){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:b})}}class w extends j{constructor(b){super(),this.Topic=b}}v.TopicConfig=w;class S extends j{constructor(b){super(),this.Queue=b}}v.QueueConfig=S;class _ extends j{constructor(b){super(),this.CloudFunction=b}}v.CloudFunctionConfig=_,v.buildARN=(I,b,B,D,U)=>"arn:"+I+":"+b+":"+B+":"+D+":"+U,v.ObjectCreatedAll="s3:ObjectCreated:*",v.ObjectCreatedPut="s3:ObjectCreated:Put",v.ObjectCreatedPost="s3:ObjectCreated:Post",v.ObjectCreatedCopy="s3:ObjectCreated:Copy",v.ObjectCreatedCompleteMultipartUpload="s3:ObjectCreated:CompleteMultipartUpload",v.ObjectRemovedAll="s3:ObjectRemoved:*",v.ObjectRemovedDelete="s3:ObjectRemoved:Delete",v.ObjectRemovedDeleteMarkerCreated="s3:ObjectRemoved:DeleteMarkerCreated",v.ObjectReducedRedundancyLostObject="s3:ReducedRedundancyLostObject";class N extends A.EventEmitter{constructor(b,B,D,U,$){super(),this.client=b,this.bucketName=B,this.prefix=D,this.suffix=U,this.events=$,this.ending=!1}start(){this.ending=!1,T.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;var b=[];if(this.prefix){var B=(0,q.uriEscape)(this.prefix);b.push(`prefix=${B}`)}if(this.suffix){var D=(0,q.uriEscape)(this.suffix);b.push(`suffix=${D}`)}this.events&&this.events.forEach(P=>b.push("events="+(0,q.uriEscape)(P))),b.sort();var U="";b.length>0&&(U=`${b.join("&")}`);const $=this.client.region||q.DEFAULT_REGION;this.client.makeRequest({method:"GET",bucketName:this.bucketName,query:U},"",[200],$,!0,(P,W)=>{if(P)return this.emit("error",P);let G=O.getNotificationTransformer();(0,q.pipesetup)(W,G).on("data",Q=>{let te=Q.Records;te||(te=[]),te.forEach(se=>{this.emit("notification",se)}),this.ending&&W.destroy()}).on("error",Q=>this.emit("error",Q)).on("end",()=>{T.nextTick(()=>{this.checkForChanges()})})})}}v.NotificationPoller=N},5795:(F,v,d)=>{var T=d(6549);if(T)try{T([],"length")}catch{T=null}F.exports=T},5799:(F,v,d)=>{var T=d(530),A=d(2356),O=d(2861).Buffer,q=d(650),p=d(6168),j=d(462),w=d(8078);function S(b,B,D){p.call(this),this._cache=new N,this._cipher=new j.AES(B),this._prev=O.from(D),this._mode=b,this._autopadding=!0}d(6698)(S,p),S.prototype._update=function(b){var B,D;this._cache.add(b);for(var U=[];B=this._cache.get();)D=this._mode.encrypt(this,B),U.push(D);return O.concat(U)};var _=O.alloc(16,16);function N(){this.cache=O.allocUnsafe(0)}function I(b,B,D){var U=T[b.toLowerCase()];if(!U)throw new TypeError("invalid suite type");if(typeof B=="string"&&(B=O.from(B)),B.length!==U.key/8)throw new TypeError("invalid key length "+B.length);if(typeof D=="string"&&(D=O.from(D)),U.mode!=="GCM"&&D.length!==U.iv)throw new TypeError("invalid iv length "+D.length);return U.type==="stream"?new q(U.module,B,D):U.type==="auth"?new A(U.module,B,D):new S(U.module,B,D)}S.prototype._final=function(){var b=this._cache.flush();if(this._autopadding)return b=this._mode.encrypt(this,b),this._cipher.scrub(),b;if(!b.equals(_))throw this._cipher.scrub(),new Error("data not multiple of block length")},S.prototype.setAutoPadding=function(b){return this._autopadding=!!b,this},N.prototype.add=function(b){this.cache=O.concat([this.cache,b])},N.prototype.get=function(){if(this.cache.length>15){var b=this.cache.slice(0,16);return this.cache=this.cache.slice(16),b}return null},N.prototype.flush=function(){for(var b=16-this.cache.length,B=O.allocUnsafe(b),D=-1;++D<b;)B.writeUInt8(b,D);return O.concat([this.cache,B])},v.createCipheriv=I,v.createCipher=function(b,B){var D=T[b.toLowerCase()];if(!D)throw new TypeError("invalid suite type");var U=w(B,!1,D.key,D.iv);return I(b,U.key,U.iv)}},5880:F=>{F.exports=Math.pow},5892:(F,v,d)=>{var T=d(2861).Buffer,A=T.alloc(16,0);function O(p){var j=T.allocUnsafe(16);return j.writeUInt32BE(p[0]>>>0,0),j.writeUInt32BE(p[1]>>>0,4),j.writeUInt32BE(p[2]>>>0,8),j.writeUInt32BE(p[3]>>>0,12),j}function q(p){this.h=p,this.state=T.alloc(16,0),this.cache=T.allocUnsafe(0)}q.prototype.ghash=function(p){for(var j=-1;++j<p.length;)this.state[j]^=p[j];this._multiply()},q.prototype._multiply=function(){for(var p,j,w,S=[(p=this.h).readUInt32BE(0),p.readUInt32BE(4),p.readUInt32BE(8),p.readUInt32BE(12)],_=[0,0,0,0],N=-1;++N<128;){for(this.state[~~(N/8)]&1<<7-N%8&&(_[0]^=S[0],_[1]^=S[1],_[2]^=S[2],_[3]^=S[3]),w=!!(1&S[3]),j=3;j>0;j--)S[j]=S[j]>>>1|(1&S[j-1])<<31;S[0]=S[0]>>>1,w&&(S[0]=S[0]^-520093696)}this.state=O(_)},q.prototype.update=function(p){var j;for(this.cache=T.concat([this.cache,p]);this.cache.length>=16;)j=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(j)},q.prototype.final=function(p,j){return this.cache.length&&this.ghash(T.concat([this.cache,A],16)),this.ghash(O([0,p,0,j])),this.state},F.exports=q},5896:(F,v,d)=>{var T=d(5606);function A(p,j){q(p,j),O(p)}function O(p){p._writableState&&!p._writableState.emitClose||p._readableState&&!p._readableState.emitClose||p.emit("close")}function q(p,j){p.emit("error",j)}F.exports={destroy:function(p,j){var w=this,S=this._readableState&&this._readableState.destroyed,_=this._writableState&&this._writableState.destroyed;return S||_?(j?j(p):p&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,T.nextTick(q,this,p)):T.nextTick(q,this,p)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(p||null,function(N){!j&&N?w._writableState?w._writableState.errorEmitted?T.nextTick(O,w):(w._writableState.errorEmitted=!0,T.nextTick(A,w,N)):T.nextTick(A,w,N):j?(T.nextTick(O,w),j(N)):T.nextTick(O,w)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(p,j){var w=p._readableState,S=p._writableState;w&&w.autoDestroy||S&&S.autoDestroy?p.destroy(j):p.emit("error",j)}}},5915:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;T=d(1737),A=d(7457),F.exports=function(q){function p(j,w,S){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=T.ProcessingInstruction,this.target=this.stringify.insTarget(w),this.name=this.target,S&&(this.value=this.stringify.insValue(S))}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.clone=function(){return Object.create(this)},p.prototype.toString=function(j){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(j))},p.prototype.isEqualNode=function(j){return!!p.__super__.isEqualNode.apply(this,arguments).isEqualNode(j)&&j.target===this.target},p}(A)}).call(this)},6011:(F,v,d)=>{var T=d(8287).Buffer,A=d(6698),O=d(4729),q=new Array(16),p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],j=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],w=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],S=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],_=[0,1518500249,1859775393,2400959708,2840853838],N=[1352829926,1548603684,1836072691,2053994217,0];function I(){O.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function b(W,G){return W<<G|W>>>32-G}function B(W,G,Q,te,se,ue,de,e){return b(W+(G^Q^te)+ue+de|0,e)+se|0}function D(W,G,Q,te,se,ue,de,e){return b(W+(G&Q|~G&te)+ue+de|0,e)+se|0}function U(W,G,Q,te,se,ue,de,e){return b(W+((G|~Q)^te)+ue+de|0,e)+se|0}function $(W,G,Q,te,se,ue,de,e){return b(W+(G&te|Q&~te)+ue+de|0,e)+se|0}function P(W,G,Q,te,se,ue,de,e){return b(W+(G^(Q|~te))+ue+de|0,e)+se|0}A(I,O),I.prototype._update=function(){for(var W=q,G=0;G<16;++G)W[G]=this._block.readInt32LE(4*G);for(var Q=0|this._a,te=0|this._b,se=0|this._c,ue=0|this._d,de=0|this._e,e=0|this._a,a=0|this._b,o=0|this._c,r=0|this._d,t=0|this._e,h=0;h<80;h+=1){var M,H;h<16?(M=B(Q,te,se,ue,de,W[p[h]],_[0],w[h]),H=P(e,a,o,r,t,W[j[h]],N[0],S[h])):h<32?(M=D(Q,te,se,ue,de,W[p[h]],_[1],w[h]),H=$(e,a,o,r,t,W[j[h]],N[1],S[h])):h<48?(M=U(Q,te,se,ue,de,W[p[h]],_[2],w[h]),H=U(e,a,o,r,t,W[j[h]],N[2],S[h])):h<64?(M=$(Q,te,se,ue,de,W[p[h]],_[3],w[h]),H=D(e,a,o,r,t,W[j[h]],N[3],S[h])):(M=P(Q,te,se,ue,de,W[p[h]],_[4],w[h]),H=B(e,a,o,r,t,W[j[h]],N[4],S[h])),Q=de,de=ue,ue=b(se,10),se=te,te=M,e=t,t=r,r=b(o,10),o=a,a=H}var K=this._b+se+r|0;this._b=this._c+ue+t|0,this._c=this._d+de+e|0,this._d=this._e+Q+a|0,this._e=this._a+te+o|0,this._a=K},I.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var W=T.alloc?T.alloc(20):new T(20);return W.writeInt32LE(this._a,0),W.writeInt32LE(this._b,4),W.writeInt32LE(this._c,8),W.writeInt32LE(this._d,12),W.writeInt32LE(this._e,16),W},F.exports=I},6048:F=>{var v={};function d(A,O,q){q||(q=Error);var p=function(j){var w,S;function _(N,I,b){return j.call(this,function(B,D,U){return typeof O=="string"?O:O(B,D,U)}(N,I,b))||this}return S=j,(w=_).prototype=Object.create(S.prototype),w.prototype.constructor=w,w.__proto__=S,_}(q);p.prototype.name=q.name,p.prototype.code=A,v[A]=p}function T(A,O){if(Array.isArray(A)){var q=A.length;return A=A.map(function(p){return String(p)}),q>2?"one of ".concat(O," ").concat(A.slice(0,q-1).join(", "),", or ")+A[q-1]:q===2?"one of ".concat(O," ").concat(A[0]," or ").concat(A[1]):"of ".concat(O," ").concat(A[0])}return"of ".concat(O," ").concat(String(A))}d("ERR_INVALID_OPT_VALUE",function(A,O){return'The value "'+O+'" is invalid for option "'+A+'"'},TypeError),d("ERR_INVALID_ARG_TYPE",function(A,O,q){var p,j,w,S,_;if(typeof O=="string"&&(j="not ",O.substr(0,4)===j)?(p="must not be",O=O.replace(/^not /,"")):p="must be",function(I,b,B){return(B===void 0||B>I.length)&&(B=I.length),I.substring(B-9,B)===b}(A," argument"))w="The ".concat(A," ").concat(p," ").concat(T(O,"type"));else{var N=(typeof _!="number"&&(_=0),_+1>(S=A).length||S.indexOf(".",_)===-1?"argument":"property");w='The "'.concat(A,'" ').concat(N," ").concat(p," ").concat(T(O,"type"))}return w+". Received type ".concat(typeof q)},TypeError),d("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),d("ERR_METHOD_NOT_IMPLEMENTED",function(A){return"The "+A+" method is not implemented"}),d("ERR_STREAM_PREMATURE_CLOSE","Premature close"),d("ERR_STREAM_DESTROYED",function(A){return"Cannot call "+A+" after a stream was destroyed"}),d("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),d("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),d("ERR_STREAM_WRITE_AFTER_END","write after end"),d("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),d("ERR_UNKNOWN_ENCODING",function(A){return"Unknown encoding: "+A},TypeError),d("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),F.exports.F=v},6049:(F,v,d)=>{var T,A,O,q=d(7598),p=d(7975).extname,j=/^\s*([^;\s]*)(?:;|\s|$)/,w=/^text\//i;function S(_){if(!_||typeof _!="string")return!1;var N=j.exec(_),I=N&&q[N[1].toLowerCase()];return I&&I.charset?I.charset:!(!N||!w.test(N[1]))&&"UTF-8"}v.charset=S,v.charsets={lookup:S},v.contentType=function(_){if(!_||typeof _!="string")return!1;var N=_.indexOf("/")===-1?v.lookup(_):_;if(!N)return!1;if(N.indexOf("charset")===-1){var I=v.charset(N);I&&(N+="; charset="+I.toLowerCase())}return N},v.extension=function(_){if(!_||typeof _!="string")return!1;var N=j.exec(_),I=N&&v.extensions[N[1].toLowerCase()];return!(!I||!I.length)&&I[0]},v.extensions=Object.create(null),v.lookup=function(_){if(!_||typeof _!="string")return!1;var N=p("x."+_).toLowerCase().substr(1);return N&&v.types[N]||!1},v.types=Object.create(null),T=v.extensions,A=v.types,O=["nginx","apache",void 0,"iana"],Object.keys(q).forEach(function(_){var N=q[_],I=N.extensions;if(I&&I.length){T[_]=I;for(var b=0;b<I.length;b++){var B=I[b];if(A[B]){var D=O.indexOf(q[A[B]].source),U=O.indexOf(N.source);if(A[B]!=="application/octet-stream"&&(D>U||D===U&&A[B].substr(0,12)==="application/"))continue}A[B]=_}}})},6089:()=>{},6097:(F,v,d)=>{Object.defineProperty(v,"__esModule",{value:!0}),v.SecretKeyRequiredError=v.S3Error=v.InvalidXMLError=v.InvalidPrefixError=v.InvalidPortError=v.InvalidObjectNameError=v.InvalidEndpointError=v.InvalidDateError=v.InvalidBucketPolicyError=v.InvalidBucketNameError=v.InvalidArgumentError=v.IncorrectSizeError=v.ExpiresParamError=v.AnonymousRequestError=v.AccessKeyRequiredError=void 0;var T,A=(T=d(7307))&&T.__esModule?T:{default:T};class O extends A.default{constructor(G){super(G)}}v.AnonymousRequestError=O;class q extends A.default{constructor(G){super(G)}}v.InvalidArgumentError=q;class p extends A.default{constructor(G){super(G)}}v.InvalidPortError=p;class j extends A.default{constructor(G){super(G)}}v.InvalidEndpointError=j;class w extends A.default{constructor(G){super(G)}}v.InvalidBucketNameError=w;class S extends A.default{constructor(G){super(G)}}v.InvalidObjectNameError=S;class _ extends A.default{constructor(G){super(G)}}v.AccessKeyRequiredError=_;class N extends A.default{constructor(G){super(G)}}v.SecretKeyRequiredError=N;class I extends A.default{constructor(G){super(G)}}v.ExpiresParamError=I;class b extends A.default{constructor(G){super(G)}}v.InvalidDateError=b;class B extends A.default{constructor(G){super(G)}}v.InvalidPrefixError=B;class D extends A.default{constructor(G){super(G)}}v.InvalidBucketPolicyError=D;class U extends A.default{constructor(G){super(G)}}v.IncorrectSizeError=U;class $ extends A.default{constructor(G){super(G)}}v.InvalidXMLError=$;class P extends A.default{constructor(G){super(G)}}v.S3Error=P},6150:(F,v,d)=>{Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var T,A=(T=d(8226))&&T.__esModule?T:{default:T};v.default=class{constructor({accessKey:O,secretKey:q,sessionToken:p}){this.credentials=new A.default({accessKey:O,secretKey:q,sessionToken:p})}getCredentials(){return this.credentials.get()}setCredentials(O){if(!(O instanceof A.default))throw new Error("Unable to set Credentials . it should be an instance of Credentials class");this.credentials=O}setAccessKey(O){this.credentials.setAccessKey(O)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(O){this.credentials.setSecretKey(O)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(O){this.credentials.setSessionToken(O)}getSessionToken(){return this.credentials.getSessionToken()}}},6166:(F,v,d)=>{var T=d(7426),A=d(3349);function O(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}v.BlockHash=O,O.prototype.update=function(q,p){if(q=T.toArray(q,p),this.pending?this.pending=this.pending.concat(q):this.pending=q,this.pendingTotal+=q.length,this.pending.length>=this._delta8){var j=(q=this.pending).length%this._delta8;this.pending=q.slice(q.length-j,q.length),this.pending.length===0&&(this.pending=null),q=T.join32(q,0,q.length-j,this.endian);for(var w=0;w<q.length;w+=this._delta32)this._update(q,w,w+this._delta32)}return this},O.prototype.digest=function(q){return this.update(this._pad()),A(this.pending===null),this._digest(q)},O.prototype._pad=function(){var q=this.pendingTotal,p=this._delta8,j=p-(q+this.padLength)%p,w=new Array(j+this.padLength);w[0]=128;for(var S=1;S<j;S++)w[S]=0;if(q<<=3,this.endian==="big"){for(var _=8;_<this.padLength;_++)w[S++]=0;w[S++]=0,w[S++]=0,w[S++]=0,w[S++]=0,w[S++]=q>>>24&255,w[S++]=q>>>16&255,w[S++]=q>>>8&255,w[S++]=255&q}else for(w[S++]=255&q,w[S++]=q>>>8&255,w[S++]=q>>>16&255,w[S++]=q>>>24&255,w[S++]=0,w[S++]=0,w[S++]=0,w[S++]=0,_=8;_<this.padLength;_++)w[S++]=0;return w}},6168:(F,v,d)=>{var T=d(2861).Buffer,A=d(8310).Transform,O=d(3141).I;function q(w){A.call(this),this.hashMode=typeof w=="string",this.hashMode?this[w]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}d(6698)(q,A);var p=typeof Uint8Array<"u",j=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(T.prototype instanceof Uint8Array||T.TYPED_ARRAY_SUPPORT);q.prototype.update=function(w,S,_){var N=function(b,B){if(b instanceof T)return b;if(typeof b=="string")return T.from(b,B);if(j&&ArrayBuffer.isView(b)){if(b.byteLength===0)return T.alloc(0);var D=T.from(b.buffer,b.byteOffset,b.byteLength);if(D.byteLength===b.byteLength)return D}if(p&&b instanceof Uint8Array||T.isBuffer(b)&&b.constructor&&typeof b.constructor.isBuffer=="function"&&b.constructor.isBuffer(b))return T.from(b);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(w,S),I=this._update(N);return this.hashMode?this:(_&&(I=this._toString(I,_)),I)},q.prototype.setAutoPadding=function(){},q.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},q.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},q.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},q.prototype._transform=function(w,S,_){var N;try{this.hashMode?this._update(w):this.push(this._update(w))}catch(I){N=I}finally{_(N)}},q.prototype._flush=function(w){var S;try{this.push(this.__final())}catch(_){S=_}w(S)},q.prototype._finalOrDigest=function(w){var S=this.__final()||T.alloc(0);return w&&(S=this._toString(S,w,!0)),S},q.prototype._toString=function(w,S,_){if(this._decoder||(this._decoder=new O(S),this._encoding=S),this._encoding!==S)throw new Error("can’t switch encodings");var N=this._decoder.write(w);return _&&(N+=this._decoder.end()),N},F.exports=q},6171:(F,v,d)=>{var T=d(2356),A=d(2861).Buffer,O=d(530),q=d(650),p=d(6168),j=d(462),w=d(8078);function S(I,b,B){p.call(this),this._cache=new _,this._last=void 0,this._cipher=new j.AES(b),this._prev=A.from(B),this._mode=I,this._autopadding=!0}function _(){this.cache=A.allocUnsafe(0)}function N(I,b,B){var D=O[I.toLowerCase()];if(!D)throw new TypeError("invalid suite type");if(typeof B=="string"&&(B=A.from(B)),D.mode!=="GCM"&&B.length!==D.iv)throw new TypeError("invalid iv length "+B.length);if(typeof b=="string"&&(b=A.from(b)),b.length!==D.key/8)throw new TypeError("invalid key length "+b.length);return D.type==="stream"?new q(D.module,b,B,!0):D.type==="auth"?new T(D.module,b,B,!0):new S(D.module,b,B)}d(6698)(S,p),S.prototype._update=function(I){var b,B;this._cache.add(I);for(var D=[];b=this._cache.get(this._autopadding);)B=this._mode.decrypt(this,b),D.push(B);return A.concat(D)},S.prototype._final=function(){var I=this._cache.flush();if(this._autopadding)return function(b){var B=b[15];if(B<1||B>16)throw new Error("unable to decrypt data");for(var D=-1;++D<B;)if(b[D+(16-B)]!==B)throw new Error("unable to decrypt data");if(B!==16)return b.slice(0,16-B)}(this._mode.decrypt(this,I));if(I)throw new Error("data not multiple of block length")},S.prototype.setAutoPadding=function(I){return this._autopadding=!!I,this},_.prototype.add=function(I){this.cache=A.concat([this.cache,I])},_.prototype.get=function(I){var b;if(I){if(this.cache.length>16)return b=this.cache.slice(0,16),this.cache=this.cache.slice(16),b}else if(this.cache.length>=16)return b=this.cache.slice(0,16),this.cache=this.cache.slice(16),b;return null},_.prototype.flush=function(){if(this.cache.length)return this.cache},v.createDecipher=function(I,b){var B=O[I.toLowerCase()];if(!B)throw new TypeError("invalid suite type");var D=w(b,!1,B.key,B.iv);return N(I,D.key,D.iv)},v.createDecipheriv=N},6188:F=>{F.exports=Math.max},6225:(F,v,d)=>{var T=d(7426).rotr32;function A(p,j,w){return p&j^~p&w}function O(p,j,w){return p&j^p&w^j&w}function q(p,j,w){return p^j^w}v.ft_1=function(p,j,w,S){return p===0?A(j,w,S):p===1||p===3?q(j,w,S):p===2?O(j,w,S):void 0},v.ch32=A,v.maj32=O,v.p32=q,v.s0_256=function(p){return T(p,2)^T(p,13)^T(p,22)},v.s1_256=function(p){return T(p,6)^T(p,11)^T(p,25)},v.g0_256=function(p){return T(p,7)^T(p,18)^p>>>3},v.g1_256=function(p){return T(p,17)^T(p,19)^p>>>10}},6229:(F,v,d)=>{v.sha1=d(3917),v.sha224=d(7714),v.sha256=d(2287),v.sha384=d(1911),v.sha512=d(7766)},6238:(F,v,d)=>{var T=d(6048).F.ERR_STREAM_PREMATURE_CLOSE;function A(){}F.exports=function O(q,p,j){if(typeof p=="function")return O(q,null,p);p||(p={}),j=function(P){var W=!1;return function(){if(!W){W=!0;for(var G=arguments.length,Q=new Array(G),te=0;te<G;te++)Q[te]=arguments[te];P.apply(this,Q)}}}(j||A);var w=p.readable||p.readable!==!1&&q.readable,S=p.writable||p.writable!==!1&&q.writable,_=function(){q.writable||I()},N=q._writableState&&q._writableState.finished,I=function(){S=!1,N=!0,w||j.call(q)},b=q._readableState&&q._readableState.endEmitted,B=function(){w=!1,b=!0,S||j.call(q)},D=function(P){j.call(q,P)},U=function(){var P;return w&&!b?(q._readableState&&q._readableState.ended||(P=new T),j.call(q,P)):S&&!N?(q._writableState&&q._writableState.ended||(P=new T),j.call(q,P)):void 0},$=function(){q.req.on("finish",I)};return function(P){return P.setHeader&&typeof P.abort=="function"}(q)?(q.on("complete",I),q.on("abort",U),q.req?$():q.on("request",$)):S&&!q._writableState&&(q.on("end",_),q.on("close",_)),q.on("end",B),q.on("finish",I),p.error!==!1&&q.on("error",D),q.on("close",U),function(){q.removeListener("complete",I),q.removeListener("abort",U),q.removeListener("request",$),q.req&&q.req.removeListener("finish",I),q.removeListener("end",_),q.removeListener("close",_),q.removeListener("finish",I),q.removeListener("end",B),q.removeListener("error",D),q.removeListener("close",U)}}},6248:(F,v,d)=>{var T=d(3225),A=Object.keys||function(b){var B=[];for(var D in b)B.push(D);return B};F.exports=_;var O=Object.create(d(5622));O.inherits=d(6698);var q=d(206),p=d(7314);O.inherits(_,q);for(var j=A(p.prototype),w=0;w<j.length;w++){var S=j[w];_.prototype[S]||(_.prototype[S]=p.prototype[S])}function _(b){if(!(this instanceof _))return new _(b);q.call(this,b),p.call(this,b),b&&b.readable===!1&&(this.readable=!1),b&&b.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,b&&b.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",N)}function N(){this.allowHalfOpen||this._writableState.ended||T.nextTick(I,this)}function I(b){b.end()}Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(_.prototype,"destroyed",{get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(b){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=b,this._writableState.destroyed=b)}}),_.prototype._destroy=function(b,B){this.push(null),this.end(),T.nextTick(B,b)}},6278:(F,v,d)=>{var T=d(3225);function A(O,q){O.emit("error",q)}F.exports={destroy:function(O,q){var p=this,j=this._readableState&&this._readableState.destroyed,w=this._writableState&&this._writableState.destroyed;return j||w?(q?q(O):O&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,T.nextTick(A,this,O)):T.nextTick(A,this,O)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(O||null,function(S){!q&&S?p._writableState?p._writableState.errorEmitted||(p._writableState.errorEmitted=!0,T.nextTick(A,p,S)):T.nextTick(A,p,S):q&&q(S)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},6286:function(F,v,d){(function(){var T,A,O,q={}.hasOwnProperty;O=d(9241).assign,T=d(1737),d(4130),d(6376),d(2691),d(2679),d(3906),d(1268),d(2535),d(5915),d(1218),d(4111),d(7696),d(5529),d(8012),A=d(8753),F.exports=function(){function p(j){var w,S,_;for(w in j||(j={}),this.options=j,S=j.writer||{})q.call(S,w)&&(_=S[w],this["_"+w]=this[w],this[w]=_)}return p.prototype.filterOptions=function(j){var w,S,_,N,I,b,B,D;return j||(j={}),j=O({},this.options,j),(w={writer:this}).pretty=j.pretty||!1,w.allowEmpty=j.allowEmpty||!1,w.indent=(S=j.indent)!=null?S:" ",w.newline=(_=j.newline)!=null?_:`
|
|
129
|
+
`,w.offset=(N=j.offset)!=null?N:0,w.dontPrettyTextNodes=(I=(b=j.dontPrettyTextNodes)!=null?b:j.dontprettytextnodes)!=null?I:0,w.spaceBeforeSlash=(B=(D=j.spaceBeforeSlash)!=null?D:j.spacebeforeslash)!=null?B:"",w.spaceBeforeSlash===!0&&(w.spaceBeforeSlash=" "),w.suppressPrettyCount=0,w.user={},w.state=A.None,w},p.prototype.indent=function(j,w,S){var _;return!w.pretty||w.suppressPrettyCount?"":w.pretty&&(_=(S||0)+w.offset+1)>0?new Array(_).join(w.indent):""},p.prototype.endline=function(j,w,S){return!w.pretty||w.suppressPrettyCount?"":w.newline},p.prototype.attribute=function(j,w,S){var _;return this.openAttribute(j,w,S),_=" "+j.name+'="'+j.value+'"',this.closeAttribute(j,w,S),_},p.prototype.cdata=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<![CDATA[",w.state=A.InsideTag,_+=j.value,w.state=A.CloseTag,_+="]]>"+this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.comment=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<!-- ",w.state=A.InsideTag,_+=j.value,w.state=A.CloseTag,_+=" -->"+this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.declaration=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<?xml",w.state=A.InsideTag,_+=' version="'+j.version+'"',j.encoding!=null&&(_+=' encoding="'+j.encoding+'"'),j.standalone!=null&&(_+=' standalone="'+j.standalone+'"'),w.state=A.CloseTag,_+=w.spaceBeforeSlash+"?>",_+=this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.docType=function(j,w,S){var _,N,I,b,B;if(S||(S=0),this.openNode(j,w,S),w.state=A.OpenTag,b=this.indent(j,w,S),b+="<!DOCTYPE "+j.root().name,j.pubID&&j.sysID?b+=' PUBLIC "'+j.pubID+'" "'+j.sysID+'"':j.sysID&&(b+=' SYSTEM "'+j.sysID+'"'),j.children.length>0){for(b+=" [",b+=this.endline(j,w,S),w.state=A.InsideTag,N=0,I=(B=j.children).length;N<I;N++)_=B[N],b+=this.writeChildNode(_,w,S+1);w.state=A.CloseTag,b+="]"}return w.state=A.CloseTag,b+=w.spaceBeforeSlash+">",b+=this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),b},p.prototype.element=function(j,w,S){var _,N,I,b,B,D,U,$,P,W,G,Q,te,se;for(P in S||(S=0),W=!1,G="",this.openNode(j,w,S),w.state=A.OpenTag,G+=this.indent(j,w,S)+"<"+j.name,Q=j.attribs)q.call(Q,P)&&(_=Q[P],G+=this.attribute(_,w,S));if(b=(I=j.children.length)===0?null:j.children[0],I===0||j.children.every(function(ue){return(ue.type===T.Text||ue.type===T.Raw)&&ue.value===""}))w.allowEmpty?(G+=">",w.state=A.CloseTag,G+="</"+j.name+">"+this.endline(j,w,S)):(w.state=A.CloseTag,G+=w.spaceBeforeSlash+"/>"+this.endline(j,w,S));else if(!w.pretty||I!==1||b.type!==T.Text&&b.type!==T.Raw||b.value==null){if(w.dontPrettyTextNodes){for(B=0,U=(te=j.children).length;B<U;B++)if(((N=te[B]).type===T.Text||N.type===T.Raw)&&N.value!=null){w.suppressPrettyCount++,W=!0;break}}for(G+=">"+this.endline(j,w,S),w.state=A.InsideTag,D=0,$=(se=j.children).length;D<$;D++)N=se[D],G+=this.writeChildNode(N,w,S+1);w.state=A.CloseTag,G+=this.indent(j,w,S)+"</"+j.name+">",W&&w.suppressPrettyCount--,G+=this.endline(j,w,S),w.state=A.None}else G+=">",w.state=A.InsideTag,w.suppressPrettyCount++,W=!0,G+=this.writeChildNode(b,w,S+1),w.suppressPrettyCount--,W=!1,w.state=A.CloseTag,G+="</"+j.name+">"+this.endline(j,w,S);return this.closeNode(j,w,S),G},p.prototype.writeChildNode=function(j,w,S){switch(j.type){case T.CData:return this.cdata(j,w,S);case T.Comment:return this.comment(j,w,S);case T.Element:return this.element(j,w,S);case T.Raw:return this.raw(j,w,S);case T.Text:return this.text(j,w,S);case T.ProcessingInstruction:return this.processingInstruction(j,w,S);case T.Dummy:return"";case T.Declaration:return this.declaration(j,w,S);case T.DocType:return this.docType(j,w,S);case T.AttributeDeclaration:return this.dtdAttList(j,w,S);case T.ElementDeclaration:return this.dtdElement(j,w,S);case T.EntityDeclaration:return this.dtdEntity(j,w,S);case T.NotationDeclaration:return this.dtdNotation(j,w,S);default:throw new Error("Unknown XML node type: "+j.constructor.name)}},p.prototype.processingInstruction=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<?",w.state=A.InsideTag,_+=j.target,j.value&&(_+=" "+j.value),w.state=A.CloseTag,_+=w.spaceBeforeSlash+"?>",_+=this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.raw=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S),w.state=A.InsideTag,_+=j.value,w.state=A.CloseTag,_+=this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.text=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S),w.state=A.InsideTag,_+=j.value,w.state=A.CloseTag,_+=this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.dtdAttList=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<!ATTLIST",w.state=A.InsideTag,_+=" "+j.elementName+" "+j.attributeName+" "+j.attributeType,j.defaultValueType!=="#DEFAULT"&&(_+=" "+j.defaultValueType),j.defaultValue&&(_+=' "'+j.defaultValue+'"'),w.state=A.CloseTag,_+=w.spaceBeforeSlash+">"+this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.dtdElement=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<!ELEMENT",w.state=A.InsideTag,_+=" "+j.name+" "+j.value,w.state=A.CloseTag,_+=w.spaceBeforeSlash+">"+this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.dtdEntity=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<!ENTITY",w.state=A.InsideTag,j.pe&&(_+=" %"),_+=" "+j.name,j.value?_+=' "'+j.value+'"':(j.pubID&&j.sysID?_+=' PUBLIC "'+j.pubID+'" "'+j.sysID+'"':j.sysID&&(_+=' SYSTEM "'+j.sysID+'"'),j.nData&&(_+=" NDATA "+j.nData)),w.state=A.CloseTag,_+=w.spaceBeforeSlash+">"+this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.dtdNotation=function(j,w,S){var _;return this.openNode(j,w,S),w.state=A.OpenTag,_=this.indent(j,w,S)+"<!NOTATION",w.state=A.InsideTag,_+=" "+j.name,j.pubID&&j.sysID?_+=' PUBLIC "'+j.pubID+'" "'+j.sysID+'"':j.pubID?_+=' PUBLIC "'+j.pubID+'"':j.sysID&&(_+=' SYSTEM "'+j.sysID+'"'),w.state=A.CloseTag,_+=w.spaceBeforeSlash+">"+this.endline(j,w,S),w.state=A.None,this.closeNode(j,w,S),_},p.prototype.openNode=function(j,w,S){},p.prototype.closeNode=function(j,w,S){},p.prototype.openAttribute=function(j,w,S){},p.prototype.closeAttribute=function(j,w,S){},p}()}).call(this)},6376:function(F,v,d){(function(){var T,A,O,q,p,j,w,S,_={}.hasOwnProperty;S=d(9241).isObject,w=d(468),T=d(1737),A=d(4111),q=d(5529),O=d(7696),p=d(8012),j=d(4797),F.exports=function(N){function I(b,B,D){var U,$,P,W,G,Q;if(I.__super__.constructor.call(this,b),this.type=T.DocType,b.children){for($=0,P=(W=b.children).length;$<P;$++)if((U=W[$]).type===T.Element){this.name=U.name;break}}this.documentObject=b,S(B)&&(B=(G=B).pubID,D=G.sysID),D==null&&(D=(Q=[B,D])[0],B=Q[1]),B!=null&&(this.pubID=this.stringify.dtdPubID(B)),D!=null&&(this.sysID=this.stringify.dtdSysID(D))}return function(b,B){for(var D in B)_.call(B,D)&&(b[D]=B[D]);function U(){this.constructor=b}U.prototype=B.prototype,b.prototype=new U,b.__super__=B.prototype}(I,N),Object.defineProperty(I.prototype,"entities",{get:function(){var b,B,D,U,$;for(U={},B=0,D=($=this.children).length;B<D;B++)(b=$[B]).type!==T.EntityDeclaration||b.pe||(U[b.name]=b);return new j(U)}}),Object.defineProperty(I.prototype,"notations",{get:function(){var b,B,D,U,$;for(U={},B=0,D=($=this.children).length;B<D;B++)(b=$[B]).type===T.NotationDeclaration&&(U[b.name]=b);return new j(U)}}),Object.defineProperty(I.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(I.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(I.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),I.prototype.element=function(b,B){var D;return D=new O(this,b,B),this.children.push(D),this},I.prototype.attList=function(b,B,D,U,$){var P;return P=new A(this,b,B,D,U,$),this.children.push(P),this},I.prototype.entity=function(b,B){var D;return D=new q(this,!1,b,B),this.children.push(D),this},I.prototype.pEntity=function(b,B){var D;return D=new q(this,!0,b,B),this.children.push(D),this},I.prototype.notation=function(b,B){var D;return D=new p(this,b,B),this.children.push(D),this},I.prototype.toString=function(b){return this.options.writer.docType(this,this.options.writer.filterOptions(b))},I.prototype.ele=function(b,B){return this.element(b,B)},I.prototype.att=function(b,B,D,U,$){return this.attList(b,B,D,U,$)},I.prototype.ent=function(b,B){return this.entity(b,B)},I.prototype.pent=function(b,B){return this.pEntity(b,B)},I.prototype.not=function(b,B){return this.notation(b,B)},I.prototype.up=function(){return this.root()||this.documentObject},I.prototype.isEqualNode=function(b){return!!I.__super__.isEqualNode.apply(this,arguments).isEqualNode(b)&&b.name===this.name&&b.publicId===this.publicId&&b.systemId===this.systemId},I}(w)}).call(this)},6383:(F,v,d)=>{var T=d(2861).Buffer,A=d(295);function O(q,p,j){var w=p.length,S=A(p,q._cache);return q._cache=q._cache.slice(w),q._prev=T.concat([q._prev,j?p:S]),S}v.encrypt=function(q,p,j){for(var w,S=T.allocUnsafe(0);p.length;){if(q._cache.length===0&&(q._cache=q._cipher.encryptBlock(q._prev),q._prev=T.allocUnsafe(0)),!(q._cache.length<=p.length)){S=T.concat([S,O(q,p,j)]);break}w=q._cache.length,S=T.concat([S,O(q,p.slice(0,w),j)]),p=p.slice(w)}return S}},6413:(F,v,d)=>{var T=d(7568),A=T.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),O=T.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),q=T.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),p=T.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(q),this.key("subjectPublicKey").bitstr())}),j=T.define("RelativeDistinguishedName",function(){this.setof(O)}),w=T.define("RDNSequence",function(){this.seqof(j)}),S=T.define("Name",function(){this.choice({rdnSequence:this.use(w)})}),_=T.define("Validity",function(){this.seq().obj(this.key("notBefore").use(A),this.key("notAfter").use(A))}),N=T.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),I=T.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(q),this.key("issuer").use(S),this.key("validity").use(_),this.key("subject").use(S),this.key("subjectPublicKeyInfo").use(p),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(N).optional())}),b=T.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(I),this.key("signatureAlgorithm").use(q),this.key("signatureValue").bitstr())});F.exports=b},6427:(F,v,d)=>{var T=d(8393).Buffer,A=T.isEncoding||function(b){switch((b=""+b)&&b.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function O(b){var B;switch(this.encoding=function(D){var U=function($){if(!$)return"utf8";for(var P;;)switch($){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return $;default:if(P)return;$=(""+$).toLowerCase(),P=!0}}(D);if(typeof U!="string"&&(T.isEncoding===A||!A(D)))throw new Error("Unknown encoding: "+D);return U||D}(b),this.encoding){case"utf16le":this.text=j,this.end=w,B=4;break;case"utf8":this.fillLast=p,B=4;break;case"base64":this.text=S,this.end=_,B=3;break;default:return this.write=N,void(this.end=I)}this.lastNeed=0,this.lastTotal=0,this.lastChar=T.allocUnsafe(B)}function q(b){return b<=127?0:b>>5==6?2:b>>4==14?3:b>>3==30?4:b>>6==2?-1:-2}function p(b){var B=this.lastTotal-this.lastNeed,D=function(U,$){if((192&$[0])!=128)return U.lastNeed=0,"�";if(U.lastNeed>1&&$.length>1){if((192&$[1])!=128)return U.lastNeed=1,"�";if(U.lastNeed>2&&$.length>2&&(192&$[2])!=128)return U.lastNeed=2,"�"}}(this,b);return D!==void 0?D:this.lastNeed<=b.length?(b.copy(this.lastChar,B,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(b.copy(this.lastChar,B,0,b.length),void(this.lastNeed-=b.length))}function j(b,B){if((b.length-B)%2==0){var D=b.toString("utf16le",B);if(D){var U=D.charCodeAt(D.length-1);if(U>=55296&&U<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=b[b.length-2],this.lastChar[1]=b[b.length-1],D.slice(0,-1)}return D}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=b[b.length-1],b.toString("utf16le",B,b.length-1)}function w(b){var B=b&&b.length?this.write(b):"";if(this.lastNeed){var D=this.lastTotal-this.lastNeed;return B+this.lastChar.toString("utf16le",0,D)}return B}function S(b,B){var D=(b.length-B)%3;return D===0?b.toString("base64",B):(this.lastNeed=3-D,this.lastTotal=3,D===1?this.lastChar[0]=b[b.length-1]:(this.lastChar[0]=b[b.length-2],this.lastChar[1]=b[b.length-1]),b.toString("base64",B,b.length-D))}function _(b){var B=b&&b.length?this.write(b):"";return this.lastNeed?B+this.lastChar.toString("base64",0,3-this.lastNeed):B}function N(b){return b.toString(this.encoding)}function I(b){return b&&b.length?this.write(b):""}v.I=O,O.prototype.write=function(b){if(b.length===0)return"";var B,D;if(this.lastNeed){if((B=this.fillLast(b))===void 0)return"";D=this.lastNeed,this.lastNeed=0}else D=0;return D<b.length?B?B+this.text(b,D):this.text(b,D):B||""},O.prototype.end=function(b){var B=b&&b.length?this.write(b):"";return this.lastNeed?B+"�":B},O.prototype.text=function(b,B){var D=function($,P,W){var G=P.length-1;if(G<W)return 0;var Q=q(P[G]);return Q>=0?(Q>0&&($.lastNeed=Q-1),Q):--G<W||Q===-2?0:(Q=q(P[G]))>=0?(Q>0&&($.lastNeed=Q-2),Q):--G<W||Q===-2?0:(Q=q(P[G]))>=0?(Q>0&&(Q===2?Q=0:$.lastNeed=Q-3),Q):0}(this,b,B);if(!this.lastNeed)return b.toString("utf8",B);this.lastTotal=D;var U=b.length-(D-this.lastNeed);return b.copy(this.lastChar,0,U),b.toString("utf8",B,U)},O.prototype.fillLast=function(b){if(this.lastNeed<=b.length)return b.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);b.copy(this.lastChar,this.lastTotal-this.lastNeed,0,b.length),this.lastNeed-=b.length}},6465:function(F,v){(function(){v.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:`
|
|
130
|
+
`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},6473:function(F,v,d){(function(T,A){function O(e,a){if(!e)throw new Error(a||"Assertion failed")}function q(e,a){e.super_=a;var o=function(){};o.prototype=a.prototype,e.prototype=new o,e.prototype.constructor=e}function p(e,a,o){if(p.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(a!=="le"&&a!=="be"||(o=a,a=10),this._init(e||0,a||10,o||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(6089).Buffer}catch{}function w(e,a){var o=e.charCodeAt(a);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function S(e,a,o){var r=w(e,o);return o-1>=a&&(r|=w(e,o-1)<<4),r}function _(e,a,o,r){for(var t=0,h=Math.min(e.length,o),M=a;M<h;M++){var H=e.charCodeAt(M)-48;t*=r,t+=H>=49?H-49+10:H>=17?H-17+10:H}return t}p.isBN=function(e){return e instanceof p||e!==null&&typeof e=="object"&&e.constructor.wordSize===p.wordSize&&Array.isArray(e.words)},p.max=function(e,a){return e.cmp(a)>0?e:a},p.min=function(e,a){return e.cmp(a)<0?e:a},p.prototype._init=function(e,a,o){if(typeof e=="number")return this._initNumber(e,a,o);if(typeof e=="object")return this._initArray(e,a,o);a==="hex"&&(a=16),O(a===(0|a)&&a>=2&&a<=36);var r=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(r++,this.negative=1),r<e.length&&(a===16?this._parseHex(e,r,o):(this._parseBase(e,a,r),o==="le"&&this._initArray(this.toArray(),a,o)))},p.prototype._initNumber=function(e,a,o){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(O(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),a,o)},p.prototype._initArray=function(e,a,o){if(O(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h,M=0;if(o==="be")for(r=e.length-1,t=0;r>=0;r-=3)h=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);else if(o==="le")for(r=0,t=0;r<e.length;r+=3)h=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);return this.strip()},p.prototype._parseHex=function(e,a,o){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h=0,M=0;if(o==="be")for(r=e.length-1;r>=a;r-=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;else for(r=(e.length-a)%2==0?a+1:a;r<e.length;r+=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;this.strip()},p.prototype._parseBase=function(e,a,o){this.words=[0],this.length=1;for(var r=0,t=1;t<=67108863;t*=a)r++;r--,t=t/a|0;for(var h=e.length-o,M=h%r,H=Math.min(h,h-M)+o,K=0,V=o;V<H;V+=r)K=_(e,V,V+r,a),this.imuln(t),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K);if(M!==0){var Z=1;for(K=_(e,V,e.length,a),V=0;V<M;V++)Z*=a;this.imuln(Z),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K)}this.strip()},p.prototype.copy=function(e){e.words=new Array(this.length);for(var a=0;a<this.length;a++)e.words[a]=this.words[a];e.length=this.length,e.negative=this.negative,e.red=this.red},p.prototype.clone=function(){var e=new p(null);return this.copy(e),e},p.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],b=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(e,a,o){o.negative=a.negative^e.negative;var r=e.length+a.length|0;o.length=r,r=r-1|0;var t=0|e.words[0],h=0|a.words[0],M=t*h,H=67108863&M,K=M/67108864|0;o.words[0]=H;for(var V=1;V<r;V++){for(var Z=K>>>26,X=67108863&K,ae=Math.min(V,a.length-1),ie=Math.max(0,V-e.length+1);ie<=ae;ie++){var ce=V-ie|0;Z+=(M=(t=0|e.words[ce])*(h=0|a.words[ie])+X)/67108864|0,X=67108863&M}o.words[V]=0|X,K=0|Z}return K!==0?o.words[V]=0|K:o.length--,o.strip()}p.prototype.toString=function(e,a){var o;if(a=0|a||1,(e=e||10)===16||e==="hex"){o="";for(var r=0,t=0,h=0;h<this.length;h++){var M=this.words[h],H=(16777215&(M<<r|t)).toString(16);t=M>>>24-r&16777215,(r+=2)>=26&&(r-=26,h--),o=t!==0||h!==this.length-1?N[6-H.length]+H+o:H+o}for(t!==0&&(o=t.toString(16)+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(e===(0|e)&&e>=2&&e<=36){var K=I[e],V=b[e];o="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var X=Z.modn(V).toString(e);o=(Z=Z.idivn(V)).isZero()?X+o:N[K-X.length]+X+o}for(this.isZero()&&(o="0"+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},p.prototype.toJSON=function(){return this.toString(16)},p.prototype.toBuffer=function(e,a){return O(j!==void 0),this.toArrayLike(j,e,a)},p.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)},p.prototype.toArrayLike=function(e,a,o){var r=this.byteLength(),t=o||Math.max(1,r);O(r<=t,"byte array longer than desired length"),O(t>0,"Requested array length <= 0"),this.strip();var h,M,H=a==="le",K=new e(t),V=this.clone();if(H){for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[M]=h;for(;M<t;M++)K[M]=0}else{for(M=0;M<t-r;M++)K[M]=0;for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[t-M-1]=h}return K},Math.clz32?p.prototype._countBits=function(e){return 32-Math.clz32(e)}:p.prototype._countBits=function(e){var a=e,o=0;return a>=4096&&(o+=13,a>>>=13),a>=64&&(o+=7,a>>>=7),a>=8&&(o+=4,a>>>=4),a>=2&&(o+=2,a>>>=2),o+a},p.prototype._zeroBits=function(e){if(e===0)return 26;var a=e,o=0;return 8191&a||(o+=13,a>>>=13),127&a||(o+=7,a>>>=7),15&a||(o+=4,a>>>=4),3&a||(o+=2,a>>>=2),1&a||o++,o},p.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;a<this.length;a++){var o=this._zeroBits(this.words[a]);if(e+=o,o!==26)break}return e},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},p.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var a=0;a<e.length;a++)this.words[a]=this.words[a]|e.words[a];return this.strip()},p.prototype.ior=function(e){return O(!(this.negative|e.negative)),this.iuor(e)},p.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},p.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},p.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var o=0;o<a.length;o++)this.words[o]=this.words[o]&e.words[o];return this.length=a.length,this.strip()},p.prototype.iand=function(e){return O(!(this.negative|e.negative)),this.iuand(e)},p.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},p.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},p.prototype.iuxor=function(e){var a,o;this.length>e.length?(a=this,o=e):(a=e,o=this);for(var r=0;r<o.length;r++)this.words[r]=a.words[r]^o.words[r];if(this!==a)for(;r<a.length;r++)this.words[r]=a.words[r];return this.length=a.length,this.strip()},p.prototype.ixor=function(e){return O(!(this.negative|e.negative)),this.iuxor(e)},p.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},p.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},p.prototype.inotn=function(e){O(typeof e=="number"&&e>=0);var a=0|Math.ceil(e/26),o=e%26;this._expand(a),o>0&&a--;for(var r=0;r<a;r++)this.words[r]=67108863&~this.words[r];return o>0&&(this.words[r]=~this.words[r]&67108863>>26-o),this.strip()},p.prototype.notn=function(e){return this.clone().inotn(e)},p.prototype.setn=function(e,a){O(typeof e=="number"&&e>=0);var o=e/26|0,r=e%26;return this._expand(o+1),this.words[o]=a?this.words[o]|1<<r:this.words[o]&~(1<<r),this.strip()},p.prototype.iadd=function(e){var a,o,r;if(this.negative!==0&&e.negative===0)return this.negative=0,a=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,a=this.isub(e),e.negative=1,a._normSign();this.length>e.length?(o=this,r=e):(o=e,r=this);for(var t=0,h=0;h<r.length;h++)a=(0|o.words[h])+(0|r.words[h])+t,this.words[h]=67108863&a,t=a>>>26;for(;t!==0&&h<o.length;h++)a=(0|o.words[h])+t,this.words[h]=67108863&a,t=a>>>26;if(this.length=o.length,t!==0)this.words[this.length]=t,this.length++;else if(o!==this)for(;h<o.length;h++)this.words[h]=o.words[h];return this},p.prototype.add=function(e){var a;return e.negative!==0&&this.negative===0?(e.negative=0,a=this.sub(e),e.negative^=1,a):e.negative===0&&this.negative!==0?(this.negative=0,a=e.sub(this),this.negative=1,a):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},p.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o,r,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(o=this,r=e):(o=e,r=this);for(var h=0,M=0;M<r.length;M++)h=(a=(0|o.words[M])-(0|r.words[M])+h)>>26,this.words[M]=67108863&a;for(;h!==0&&M<o.length;M++)h=(a=(0|o.words[M])+h)>>26,this.words[M]=67108863&a;if(h===0&&M<o.length&&o!==this)for(;M<o.length;M++)this.words[M]=o.words[M];return this.length=Math.max(this.length,M),o!==this&&(this.negative=1),this.strip()},p.prototype.sub=function(e){return this.clone().isub(e)};var D=function(e,a,o){var r,t,h,M=e.words,H=a.words,K=o.words,V=0,Z=0|M[0],X=8191&Z,ae=Z>>>13,ie=0|M[1],ce=8191&ie,Y=ie>>>13,ne=0|M[2],J=8191&ne,ee=ne>>>13,ge=0|M[3],pe=8191&ge,we=ge>>>13,je=0|M[4],Me=8191&je,Ae=je>>>13,Ve=0|M[5],Ie=8191&Ve,Be=Ve>>>13,le=0|M[6],he=8191&le,fe=le>>>13,ve=0|M[7],ye=8191&ve,xe=ve>>>13,Le=0|M[8],Oe=8191&Le,Pe=Le>>>13,wt=0|M[9],Ne=8191&wt,Ue=wt>>>13,It=0|H[0],He=8191&It,Ke=It>>>13,kt=0|H[1],Fe=8191&kt,nt=kt>>>13,_t=0|H[2],$e=8191&_t,tt=_t>>>13,jt=0|H[3],ze=8191&jt,rt=jt>>>13,Dt=0|H[4],Ge=8191&Dt,st=Dt>>>13,Wt=0|H[5],Ze=8191&Wt,ot=Wt>>>13,Zt=0|H[6],Ce=8191&Zt,Xe=Zt>>>13,$t=0|H[7],Je=8191&$t,ht=$t>>>13,Jt=0|H[8],Qe=8191&Jt,lt=Jt>>>13,en=0|H[9],et=8191&en,ft=en>>>13;o.negative=e.negative^a.negative,o.length=19;var Ht=(V+(r=Math.imul(X,He))|0)+((8191&(t=(t=Math.imul(X,Ke))+Math.imul(ae,He)|0))<<13)|0;V=((h=Math.imul(ae,Ke))+(t>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,r=Math.imul(ce,He),t=(t=Math.imul(ce,Ke))+Math.imul(Y,He)|0,h=Math.imul(Y,Ke);var Ut=(V+(r=r+Math.imul(X,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(X,nt)|0)+Math.imul(ae,Fe)|0))<<13)|0;V=((h=h+Math.imul(ae,nt)|0)+(t>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(J,He),t=(t=Math.imul(J,Ke))+Math.imul(ee,He)|0,h=Math.imul(ee,Ke),r=r+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(Y,Fe)|0,h=h+Math.imul(Y,nt)|0;var cn=(V+(r=r+Math.imul(X,$e)|0)|0)+((8191&(t=(t=t+Math.imul(X,tt)|0)+Math.imul(ae,$e)|0))<<13)|0;V=((h=h+Math.imul(ae,tt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,r=Math.imul(pe,He),t=(t=Math.imul(pe,Ke))+Math.imul(we,He)|0,h=Math.imul(we,Ke),r=r+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ee,Fe)|0,h=h+Math.imul(ee,nt)|0,r=r+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,tt)|0)+Math.imul(Y,$e)|0,h=h+Math.imul(Y,tt)|0;var mn=(V+(r=r+Math.imul(X,ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,rt)|0)+Math.imul(ae,ze)|0))<<13)|0;V=((h=h+Math.imul(ae,rt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,r=Math.imul(Me,He),t=(t=Math.imul(Me,Ke))+Math.imul(Ae,He)|0,h=Math.imul(Ae,Ke),r=r+Math.imul(pe,Fe)|0,t=(t=t+Math.imul(pe,nt)|0)+Math.imul(we,Fe)|0,h=h+Math.imul(we,nt)|0,r=r+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,tt)|0)+Math.imul(ee,$e)|0,h=h+Math.imul(ee,tt)|0,r=r+Math.imul(ce,ze)|0,t=(t=t+Math.imul(ce,rt)|0)+Math.imul(Y,ze)|0,h=h+Math.imul(Y,rt)|0;var hn=(V+(r=r+Math.imul(X,Ge)|0)|0)+((8191&(t=(t=t+Math.imul(X,st)|0)+Math.imul(ae,Ge)|0))<<13)|0;V=((h=h+Math.imul(ae,st)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,r=Math.imul(Ie,He),t=(t=Math.imul(Ie,Ke))+Math.imul(Be,He)|0,h=Math.imul(Be,Ke),r=r+Math.imul(Me,Fe)|0,t=(t=t+Math.imul(Me,nt)|0)+Math.imul(Ae,Fe)|0,h=h+Math.imul(Ae,nt)|0,r=r+Math.imul(pe,$e)|0,t=(t=t+Math.imul(pe,tt)|0)+Math.imul(we,$e)|0,h=h+Math.imul(we,tt)|0,r=r+Math.imul(J,ze)|0,t=(t=t+Math.imul(J,rt)|0)+Math.imul(ee,ze)|0,h=h+Math.imul(ee,rt)|0,r=r+Math.imul(ce,Ge)|0,t=(t=t+Math.imul(ce,st)|0)+Math.imul(Y,Ge)|0,h=h+Math.imul(Y,st)|0;var gn=(V+(r=r+Math.imul(X,Ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,ot)|0)+Math.imul(ae,Ze)|0))<<13)|0;V=((h=h+Math.imul(ae,ot)|0)+(t>>>13)|0)+(gn>>>26)|0,gn&=67108863,r=Math.imul(he,He),t=(t=Math.imul(he,Ke))+Math.imul(fe,He)|0,h=Math.imul(fe,Ke),r=r+Math.imul(Ie,Fe)|0,t=(t=t+Math.imul(Ie,nt)|0)+Math.imul(Be,Fe)|0,h=h+Math.imul(Be,nt)|0,r=r+Math.imul(Me,$e)|0,t=(t=t+Math.imul(Me,tt)|0)+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,tt)|0,r=r+Math.imul(pe,ze)|0,t=(t=t+Math.imul(pe,rt)|0)+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,r=r+Math.imul(J,Ge)|0,t=(t=t+Math.imul(J,st)|0)+Math.imul(ee,Ge)|0,h=h+Math.imul(ee,st)|0,r=r+Math.imul(ce,Ze)|0,t=(t=t+Math.imul(ce,ot)|0)+Math.imul(Y,Ze)|0,h=h+Math.imul(Y,ot)|0;var vn=(V+(r=r+Math.imul(X,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(X,Xe)|0)+Math.imul(ae,Ce)|0))<<13)|0;V=((h=h+Math.imul(ae,Xe)|0)+(t>>>13)|0)+(vn>>>26)|0,vn&=67108863,r=Math.imul(ye,He),t=(t=Math.imul(ye,Ke))+Math.imul(xe,He)|0,h=Math.imul(xe,Ke),r=r+Math.imul(he,Fe)|0,t=(t=t+Math.imul(he,nt)|0)+Math.imul(fe,Fe)|0,h=h+Math.imul(fe,nt)|0,r=r+Math.imul(Ie,$e)|0,t=(t=t+Math.imul(Ie,tt)|0)+Math.imul(Be,$e)|0,h=h+Math.imul(Be,tt)|0,r=r+Math.imul(Me,ze)|0,t=(t=t+Math.imul(Me,rt)|0)+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,r=r+Math.imul(pe,Ge)|0,t=(t=t+Math.imul(pe,st)|0)+Math.imul(we,Ge)|0,h=h+Math.imul(we,st)|0,r=r+Math.imul(J,Ze)|0,t=(t=t+Math.imul(J,ot)|0)+Math.imul(ee,Ze)|0,h=h+Math.imul(ee,ot)|0,r=r+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Xe)|0)+Math.imul(Y,Ce)|0,h=h+Math.imul(Y,Xe)|0;var yn=(V+(r=r+Math.imul(X,Je)|0)|0)+((8191&(t=(t=t+Math.imul(X,ht)|0)+Math.imul(ae,Je)|0))<<13)|0;V=((h=h+Math.imul(ae,ht)|0)+(t>>>13)|0)+(yn>>>26)|0,yn&=67108863,r=Math.imul(Oe,He),t=(t=Math.imul(Oe,Ke))+Math.imul(Pe,He)|0,h=Math.imul(Pe,Ke),r=r+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(xe,Fe)|0,h=h+Math.imul(xe,nt)|0,r=r+Math.imul(he,$e)|0,t=(t=t+Math.imul(he,tt)|0)+Math.imul(fe,$e)|0,h=h+Math.imul(fe,tt)|0,r=r+Math.imul(Ie,ze)|0,t=(t=t+Math.imul(Ie,rt)|0)+Math.imul(Be,ze)|0,h=h+Math.imul(Be,rt)|0,r=r+Math.imul(Me,Ge)|0,t=(t=t+Math.imul(Me,st)|0)+Math.imul(Ae,Ge)|0,h=h+Math.imul(Ae,st)|0,r=r+Math.imul(pe,Ze)|0,t=(t=t+Math.imul(pe,ot)|0)+Math.imul(we,Ze)|0,h=h+Math.imul(we,ot)|0,r=r+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Xe)|0)+Math.imul(ee,Ce)|0,h=h+Math.imul(ee,Xe)|0,r=r+Math.imul(ce,Je)|0,t=(t=t+Math.imul(ce,ht)|0)+Math.imul(Y,Je)|0,h=h+Math.imul(Y,ht)|0;var bn=(V+(r=r+Math.imul(X,Qe)|0)|0)+((8191&(t=(t=t+Math.imul(X,lt)|0)+Math.imul(ae,Qe)|0))<<13)|0;V=((h=h+Math.imul(ae,lt)|0)+(t>>>13)|0)+(bn>>>26)|0,bn&=67108863,r=Math.imul(Ne,He),t=(t=Math.imul(Ne,Ke))+Math.imul(Ue,He)|0,h=Math.imul(Ue,Ke),r=r+Math.imul(Oe,Fe)|0,t=(t=t+Math.imul(Oe,nt)|0)+Math.imul(Pe,Fe)|0,h=h+Math.imul(Pe,nt)|0,r=r+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,tt)|0)+Math.imul(xe,$e)|0,h=h+Math.imul(xe,tt)|0,r=r+Math.imul(he,ze)|0,t=(t=t+Math.imul(he,rt)|0)+Math.imul(fe,ze)|0,h=h+Math.imul(fe,rt)|0,r=r+Math.imul(Ie,Ge)|0,t=(t=t+Math.imul(Ie,st)|0)+Math.imul(Be,Ge)|0,h=h+Math.imul(Be,st)|0,r=r+Math.imul(Me,Ze)|0,t=(t=t+Math.imul(Me,ot)|0)+Math.imul(Ae,Ze)|0,h=h+Math.imul(Ae,ot)|0,r=r+Math.imul(pe,Ce)|0,t=(t=t+Math.imul(pe,Xe)|0)+Math.imul(we,Ce)|0,h=h+Math.imul(we,Xe)|0,r=r+Math.imul(J,Je)|0,t=(t=t+Math.imul(J,ht)|0)+Math.imul(ee,Je)|0,h=h+Math.imul(ee,ht)|0,r=r+Math.imul(ce,Qe)|0,t=(t=t+Math.imul(ce,lt)|0)+Math.imul(Y,Qe)|0,h=h+Math.imul(Y,lt)|0;var ln=(V+(r=r+Math.imul(X,et)|0)|0)+((8191&(t=(t=t+Math.imul(X,ft)|0)+Math.imul(ae,et)|0))<<13)|0;V=((h=h+Math.imul(ae,ft)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,r=Math.imul(Ne,Fe),t=(t=Math.imul(Ne,nt))+Math.imul(Ue,Fe)|0,h=Math.imul(Ue,nt),r=r+Math.imul(Oe,$e)|0,t=(t=t+Math.imul(Oe,tt)|0)+Math.imul(Pe,$e)|0,h=h+Math.imul(Pe,tt)|0,r=r+Math.imul(ye,ze)|0,t=(t=t+Math.imul(ye,rt)|0)+Math.imul(xe,ze)|0,h=h+Math.imul(xe,rt)|0,r=r+Math.imul(he,Ge)|0,t=(t=t+Math.imul(he,st)|0)+Math.imul(fe,Ge)|0,h=h+Math.imul(fe,st)|0,r=r+Math.imul(Ie,Ze)|0,t=(t=t+Math.imul(Ie,ot)|0)+Math.imul(Be,Ze)|0,h=h+Math.imul(Be,ot)|0,r=r+Math.imul(Me,Ce)|0,t=(t=t+Math.imul(Me,Xe)|0)+Math.imul(Ae,Ce)|0,h=h+Math.imul(Ae,Xe)|0,r=r+Math.imul(pe,Je)|0,t=(t=t+Math.imul(pe,ht)|0)+Math.imul(we,Je)|0,h=h+Math.imul(we,ht)|0,r=r+Math.imul(J,Qe)|0,t=(t=t+Math.imul(J,lt)|0)+Math.imul(ee,Qe)|0,h=h+Math.imul(ee,lt)|0;var wn=(V+(r=r+Math.imul(ce,et)|0)|0)+((8191&(t=(t=t+Math.imul(ce,ft)|0)+Math.imul(Y,et)|0))<<13)|0;V=((h=h+Math.imul(Y,ft)|0)+(t>>>13)|0)+(wn>>>26)|0,wn&=67108863,r=Math.imul(Ne,$e),t=(t=Math.imul(Ne,tt))+Math.imul(Ue,$e)|0,h=Math.imul(Ue,tt),r=r+Math.imul(Oe,ze)|0,t=(t=t+Math.imul(Oe,rt)|0)+Math.imul(Pe,ze)|0,h=h+Math.imul(Pe,rt)|0,r=r+Math.imul(ye,Ge)|0,t=(t=t+Math.imul(ye,st)|0)+Math.imul(xe,Ge)|0,h=h+Math.imul(xe,st)|0,r=r+Math.imul(he,Ze)|0,t=(t=t+Math.imul(he,ot)|0)+Math.imul(fe,Ze)|0,h=h+Math.imul(fe,ot)|0,r=r+Math.imul(Ie,Ce)|0,t=(t=t+Math.imul(Ie,Xe)|0)+Math.imul(Be,Ce)|0,h=h+Math.imul(Be,Xe)|0,r=r+Math.imul(Me,Je)|0,t=(t=t+Math.imul(Me,ht)|0)+Math.imul(Ae,Je)|0,h=h+Math.imul(Ae,ht)|0,r=r+Math.imul(pe,Qe)|0,t=(t=t+Math.imul(pe,lt)|0)+Math.imul(we,Qe)|0,h=h+Math.imul(we,lt)|0;var fn=(V+(r=r+Math.imul(J,et)|0)|0)+((8191&(t=(t=t+Math.imul(J,ft)|0)+Math.imul(ee,et)|0))<<13)|0;V=((h=h+Math.imul(ee,ft)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863,r=Math.imul(Ne,ze),t=(t=Math.imul(Ne,rt))+Math.imul(Ue,ze)|0,h=Math.imul(Ue,rt),r=r+Math.imul(Oe,Ge)|0,t=(t=t+Math.imul(Oe,st)|0)+Math.imul(Pe,Ge)|0,h=h+Math.imul(Pe,st)|0,r=r+Math.imul(ye,Ze)|0,t=(t=t+Math.imul(ye,ot)|0)+Math.imul(xe,Ze)|0,h=h+Math.imul(xe,ot)|0,r=r+Math.imul(he,Ce)|0,t=(t=t+Math.imul(he,Xe)|0)+Math.imul(fe,Ce)|0,h=h+Math.imul(fe,Xe)|0,r=r+Math.imul(Ie,Je)|0,t=(t=t+Math.imul(Ie,ht)|0)+Math.imul(Be,Je)|0,h=h+Math.imul(Be,ht)|0,r=r+Math.imul(Me,Qe)|0,t=(t=t+Math.imul(Me,lt)|0)+Math.imul(Ae,Qe)|0,h=h+Math.imul(Ae,lt)|0;var xn=(V+(r=r+Math.imul(pe,et)|0)|0)+((8191&(t=(t=t+Math.imul(pe,ft)|0)+Math.imul(we,et)|0))<<13)|0;V=((h=h+Math.imul(we,ft)|0)+(t>>>13)|0)+(xn>>>26)|0,xn&=67108863,r=Math.imul(Ne,Ge),t=(t=Math.imul(Ne,st))+Math.imul(Ue,Ge)|0,h=Math.imul(Ue,st),r=r+Math.imul(Oe,Ze)|0,t=(t=t+Math.imul(Oe,ot)|0)+Math.imul(Pe,Ze)|0,h=h+Math.imul(Pe,ot)|0,r=r+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Xe)|0)+Math.imul(xe,Ce)|0,h=h+Math.imul(xe,Xe)|0,r=r+Math.imul(he,Je)|0,t=(t=t+Math.imul(he,ht)|0)+Math.imul(fe,Je)|0,h=h+Math.imul(fe,ht)|0,r=r+Math.imul(Ie,Qe)|0,t=(t=t+Math.imul(Ie,lt)|0)+Math.imul(Be,Qe)|0,h=h+Math.imul(Be,lt)|0;var _n=(V+(r=r+Math.imul(Me,et)|0)|0)+((8191&(t=(t=t+Math.imul(Me,ft)|0)+Math.imul(Ae,et)|0))<<13)|0;V=((h=h+Math.imul(Ae,ft)|0)+(t>>>13)|0)+(_n>>>26)|0,_n&=67108863,r=Math.imul(Ne,Ze),t=(t=Math.imul(Ne,ot))+Math.imul(Ue,Ze)|0,h=Math.imul(Ue,ot),r=r+Math.imul(Oe,Ce)|0,t=(t=t+Math.imul(Oe,Xe)|0)+Math.imul(Pe,Ce)|0,h=h+Math.imul(Pe,Xe)|0,r=r+Math.imul(ye,Je)|0,t=(t=t+Math.imul(ye,ht)|0)+Math.imul(xe,Je)|0,h=h+Math.imul(xe,ht)|0,r=r+Math.imul(he,Qe)|0,t=(t=t+Math.imul(he,lt)|0)+Math.imul(fe,Qe)|0,h=h+Math.imul(fe,lt)|0;var pn=(V+(r=r+Math.imul(Ie,et)|0)|0)+((8191&(t=(t=t+Math.imul(Ie,ft)|0)+Math.imul(Be,et)|0))<<13)|0;V=((h=h+Math.imul(Be,ft)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,r=Math.imul(Ne,Ce),t=(t=Math.imul(Ne,Xe))+Math.imul(Ue,Ce)|0,h=Math.imul(Ue,Xe),r=r+Math.imul(Oe,Je)|0,t=(t=t+Math.imul(Oe,ht)|0)+Math.imul(Pe,Je)|0,h=h+Math.imul(Pe,ht)|0,r=r+Math.imul(ye,Qe)|0,t=(t=t+Math.imul(ye,lt)|0)+Math.imul(xe,Qe)|0,h=h+Math.imul(xe,lt)|0;var Bt=(V+(r=r+Math.imul(he,et)|0)|0)+((8191&(t=(t=t+Math.imul(he,ft)|0)+Math.imul(fe,et)|0))<<13)|0;V=((h=h+Math.imul(fe,ft)|0)+(t>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(Ne,Je),t=(t=Math.imul(Ne,ht))+Math.imul(Ue,Je)|0,h=Math.imul(Ue,ht),r=r+Math.imul(Oe,Qe)|0,t=(t=t+Math.imul(Oe,lt)|0)+Math.imul(Pe,Qe)|0,h=h+Math.imul(Pe,lt)|0;var Pt=(V+(r=r+Math.imul(ye,et)|0)|0)+((8191&(t=(t=t+Math.imul(ye,ft)|0)+Math.imul(xe,et)|0))<<13)|0;V=((h=h+Math.imul(xe,ft)|0)+(t>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(Ne,Qe),t=(t=Math.imul(Ne,lt))+Math.imul(Ue,Qe)|0,h=Math.imul(Ue,lt);var Mn=(V+(r=r+Math.imul(Oe,et)|0)|0)+((8191&(t=(t=t+Math.imul(Oe,ft)|0)+Math.imul(Pe,et)|0))<<13)|0;V=((h=h+Math.imul(Pe,ft)|0)+(t>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var En=(V+(r=Math.imul(Ne,et))|0)+((8191&(t=(t=Math.imul(Ne,ft))+Math.imul(Ue,et)|0))<<13)|0;return V=((h=Math.imul(Ue,ft))+(t>>>13)|0)+(En>>>26)|0,En&=67108863,K[0]=Ht,K[1]=Ut,K[2]=cn,K[3]=mn,K[4]=hn,K[5]=gn,K[6]=vn,K[7]=yn,K[8]=bn,K[9]=ln,K[10]=wn,K[11]=fn,K[12]=xn,K[13]=_n,K[14]=pn,K[15]=Bt,K[16]=Pt,K[17]=Mn,K[18]=En,V!==0&&(K[19]=V,o.length++),o};function U(e,a,o){return new $().mulp(e,a,o)}function $(e,a){this.x=e,this.y=a}Math.imul||(D=B),p.prototype.mulTo=function(e,a){var o,r=this.length+e.length;return o=this.length===10&&e.length===10?D(this,e,a):r<63?B(this,e,a):r<1024?function(t,h,M){M.negative=h.negative^t.negative,M.length=t.length+h.length;for(var H=0,K=0,V=0;V<M.length-1;V++){var Z=K;K=0;for(var X=67108863&H,ae=Math.min(V,h.length-1),ie=Math.max(0,V-t.length+1);ie<=ae;ie++){var ce=V-ie,Y=(0|t.words[ce])*(0|h.words[ie]),ne=67108863&Y;X=67108863&(ne=ne+X|0),K+=(Z=(Z=Z+(Y/67108864|0)|0)+(ne>>>26)|0)>>>26,Z&=67108863}M.words[V]=X,H=Z,Z=K}return H!==0?M.words[V]=H:M.length--,M.strip()}(this,e,a):U(this,e,a),o},$.prototype.makeRBT=function(e){for(var a=new Array(e),o=p.prototype._countBits(e)-1,r=0;r<e;r++)a[r]=this.revBin(r,o,e);return a},$.prototype.revBin=function(e,a,o){if(e===0||e===o-1)return e;for(var r=0,t=0;t<a;t++)r|=(1&e)<<a-t-1,e>>=1;return r},$.prototype.permute=function(e,a,o,r,t,h){for(var M=0;M<h;M++)r[M]=a[e[M]],t[M]=o[e[M]]},$.prototype.transform=function(e,a,o,r,t,h){this.permute(h,e,a,o,r,t);for(var M=1;M<t;M<<=1)for(var H=M<<1,K=Math.cos(2*Math.PI/H),V=Math.sin(2*Math.PI/H),Z=0;Z<t;Z+=H)for(var X=K,ae=V,ie=0;ie<M;ie++){var ce=o[Z+ie],Y=r[Z+ie],ne=o[Z+ie+M],J=r[Z+ie+M],ee=X*ne-ae*J;J=X*J+ae*ne,ne=ee,o[Z+ie]=ce+ne,r[Z+ie]=Y+J,o[Z+ie+M]=ce-ne,r[Z+ie+M]=Y-J,ie!==H&&(ee=K*X-V*ae,ae=K*ae+V*X,X=ee)}},$.prototype.guessLen13b=function(e,a){var o=1|Math.max(a,e),r=1&o,t=0;for(o=o/2|0;o;o>>>=1)t++;return 1<<t+1+r},$.prototype.conjugate=function(e,a,o){if(!(o<=1))for(var r=0;r<o/2;r++){var t=e[r];e[r]=e[o-r-1],e[o-r-1]=t,t=a[r],a[r]=-a[o-r-1],a[o-r-1]=-t}},$.prototype.normalize13b=function(e,a){for(var o=0,r=0;r<a/2;r++){var t=8192*Math.round(e[2*r+1]/a)+Math.round(e[2*r]/a)+o;e[r]=67108863&t,o=t<67108864?0:t/67108864|0}return e},$.prototype.convert13b=function(e,a,o,r){for(var t=0,h=0;h<a;h++)t+=0|e[h],o[2*h]=8191&t,t>>>=13,o[2*h+1]=8191&t,t>>>=13;for(h=2*a;h<r;++h)o[h]=0;O(t===0),O(!(-8192&t))},$.prototype.stub=function(e){for(var a=new Array(e),o=0;o<e;o++)a[o]=0;return a},$.prototype.mulp=function(e,a,o){var r=2*this.guessLen13b(e.length,a.length),t=this.makeRBT(r),h=this.stub(r),M=new Array(r),H=new Array(r),K=new Array(r),V=new Array(r),Z=new Array(r),X=new Array(r),ae=o.words;ae.length=r,this.convert13b(e.words,e.length,M,r),this.convert13b(a.words,a.length,V,r),this.transform(M,h,H,K,r,t),this.transform(V,h,Z,X,r,t);for(var ie=0;ie<r;ie++){var ce=H[ie]*Z[ie]-K[ie]*X[ie];K[ie]=H[ie]*X[ie]+K[ie]*Z[ie],H[ie]=ce}return this.conjugate(H,K,r),this.transform(H,K,ae,h,r,t),this.conjugate(ae,h,r),this.normalize13b(ae,r),o.negative=e.negative^a.negative,o.length=e.length+a.length,o.strip()},p.prototype.mul=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),this.mulTo(e,a)},p.prototype.mulf=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),U(this,e,a)},p.prototype.imul=function(e){return this.clone().mulTo(e,this)},p.prototype.imuln=function(e){O(typeof e=="number"),O(e<67108864);for(var a=0,o=0;o<this.length;o++){var r=(0|this.words[o])*e,t=(67108863&r)+(67108863&a);a>>=26,a+=r/67108864|0,a+=t>>>26,this.words[o]=67108863&t}return a!==0&&(this.words[o]=a,this.length++),this},p.prototype.muln=function(e){return this.clone().imuln(e)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(e){var a=function(h){for(var M=new Array(h.bitLength()),H=0;H<M.length;H++){var K=H/26|0,V=H%26;M[H]=(h.words[K]&1<<V)>>>V}return M}(e);if(a.length===0)return new p(1);for(var o=this,r=0;r<a.length&&a[r]===0;r++,o=o.sqr());if(++r<a.length)for(var t=o.sqr();r<a.length;r++,t=t.sqr())a[r]!==0&&(o=o.mul(t));return o},p.prototype.iushln=function(e){O(typeof e=="number"&&e>=0);var a,o=e%26,r=(e-o)/26,t=67108863>>>26-o<<26-o;if(o!==0){var h=0;for(a=0;a<this.length;a++){var M=this.words[a]&t,H=(0|this.words[a])-M<<o;this.words[a]=H|h,h=M>>>26-o}h&&(this.words[a]=h,this.length++)}if(r!==0){for(a=this.length-1;a>=0;a--)this.words[a+r]=this.words[a];for(a=0;a<r;a++)this.words[a]=0;this.length+=r}return this.strip()},p.prototype.ishln=function(e){return O(this.negative===0),this.iushln(e)},p.prototype.iushrn=function(e,a,o){var r;O(typeof e=="number"&&e>=0),r=a?(a-a%26)/26:0;var t=e%26,h=Math.min((e-t)/26,this.length),M=67108863^67108863>>>t<<t,H=o;if(r-=h,r=Math.max(0,r),H){for(var K=0;K<h;K++)H.words[K]=this.words[K];H.length=h}if(h!==0)if(this.length>h)for(this.length-=h,K=0;K<this.length;K++)this.words[K]=this.words[K+h];else this.words[0]=0,this.length=1;var V=0;for(K=this.length-1;K>=0&&(V!==0||K>=r);K--){var Z=0|this.words[K];this.words[K]=V<<26-t|Z>>>t,V=Z&M}return H&&V!==0&&(H.words[H.length++]=V),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},p.prototype.ishrn=function(e,a,o){return O(this.negative===0),this.iushrn(e,a,o)},p.prototype.shln=function(e){return this.clone().ishln(e)},p.prototype.ushln=function(e){return this.clone().iushln(e)},p.prototype.shrn=function(e){return this.clone().ishrn(e)},p.prototype.ushrn=function(e){return this.clone().iushrn(e)},p.prototype.testn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26,r=1<<a;return!(this.length<=o||!(this.words[o]&r))},p.prototype.imaskn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(a!==0&&o++,this.length=Math.min(o,this.length),a!==0){var r=67108863^67108863>>>a<<a;this.words[this.length-1]&=r}return this.strip()},p.prototype.maskn=function(e){return this.clone().imaskn(e)},p.prototype.iaddn=function(e){return O(typeof e=="number"),O(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},p.prototype._iaddn=function(e){this.words[0]+=e;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},p.prototype.isubn=function(e){if(O(typeof e=="number"),O(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},p.prototype.addn=function(e){return this.clone().iaddn(e)},p.prototype.subn=function(e){return this.clone().isubn(e)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(e,a,o){var r,t,h=e.length+o;this._expand(h);var M=0;for(r=0;r<e.length;r++){t=(0|this.words[r+o])+M;var H=(0|e.words[r])*a;M=((t-=67108863&H)>>26)-(H/67108864|0),this.words[r+o]=67108863&t}for(;r<this.length-o;r++)M=(t=(0|this.words[r+o])+M)>>26,this.words[r+o]=67108863&t;if(M===0)return this.strip();for(O(M===-1),M=0,r=0;r<this.length;r++)M=(t=-(0|this.words[r])+M)>>26,this.words[r]=67108863&t;return this.negative=1,this.strip()},p.prototype._wordDiv=function(e,a){var o=(this.length,e.length),r=this.clone(),t=e,h=0|t.words[t.length-1];(o=26-this._countBits(h))!=0&&(t=t.ushln(o),r.iushln(o),h=0|t.words[t.length-1]);var M,H=r.length-t.length;if(a!=="mod"){(M=new p(null)).length=H+1,M.words=new Array(M.length);for(var K=0;K<M.length;K++)M.words[K]=0}var V=r.clone()._ishlnsubmul(t,1,H);V.negative===0&&(r=V,M&&(M.words[H]=1));for(var Z=H-1;Z>=0;Z--){var X=67108864*(0|r.words[t.length+Z])+(0|r.words[t.length+Z-1]);for(X=Math.min(X/h|0,67108863),r._ishlnsubmul(t,X,Z);r.negative!==0;)X--,r.negative=0,r._ishlnsubmul(t,1,Z),r.isZero()||(r.negative^=1);M&&(M.words[Z]=X)}return M&&M.strip(),r.strip(),a!=="div"&&o!==0&&r.iushrn(o),{div:M||null,mod:r}},p.prototype.divmod=function(e,a,o){return O(!e.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&e.negative===0?(h=this.neg().divmod(e,a),a!=="mod"&&(r=h.div.neg()),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.iadd(e)),{div:r,mod:t}):this.negative===0&&e.negative!==0?(h=this.divmod(e.neg(),a),a!=="mod"&&(r=h.div.neg()),{div:r,mod:h.mod}):this.negative&e.negative?(h=this.neg().divmod(e.neg(),a),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.isub(e)),{div:h.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new p(0),mod:this}:e.length===1?a==="div"?{div:this.divn(e.words[0]),mod:null}:a==="mod"?{div:null,mod:new p(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new p(this.modn(e.words[0]))}:this._wordDiv(e,a);var r,t,h},p.prototype.div=function(e){return this.divmod(e,"div",!1).div},p.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},p.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},p.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var o=a.div.negative!==0?a.mod.isub(e):a.mod,r=e.ushrn(1),t=e.andln(1),h=o.cmp(r);return h<0||t===1&&h===0?a.div:a.div.negative!==0?a.div.isubn(1):a.div.iaddn(1)},p.prototype.modn=function(e){O(e<=67108863);for(var a=67108864%e,o=0,r=this.length-1;r>=0;r--)o=(a*o+(0|this.words[r]))%e;return o},p.prototype.idivn=function(e){O(e<=67108863);for(var a=0,o=this.length-1;o>=0;o--){var r=(0|this.words[o])+67108864*a;this.words[o]=r/e|0,a=r%e}return this.strip()},p.prototype.divn=function(e){return this.clone().idivn(e)},p.prototype.egcd=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r=new p(1),t=new p(0),h=new p(0),M=new p(1),H=0;a.isEven()&&o.isEven();)a.iushrn(1),o.iushrn(1),++H;for(var K=o.clone(),V=a.clone();!a.isZero();){for(var Z=0,X=1;!(a.words[0]&X)&&Z<26;++Z,X<<=1);if(Z>0)for(a.iushrn(Z);Z-- >0;)(r.isOdd()||t.isOdd())&&(r.iadd(K),t.isub(V)),r.iushrn(1),t.iushrn(1);for(var ae=0,ie=1;!(o.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(o.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(K),M.isub(V)),h.iushrn(1),M.iushrn(1);a.cmp(o)>=0?(a.isub(o),r.isub(h),t.isub(M)):(o.isub(a),h.isub(r),M.isub(t))}return{a:h,b:M,gcd:o.iushln(H)}},p.prototype._invmp=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r,t=new p(1),h=new p(0),M=o.clone();a.cmpn(1)>0&&o.cmpn(1)>0;){for(var H=0,K=1;!(a.words[0]&K)&&H<26;++H,K<<=1);if(H>0)for(a.iushrn(H);H-- >0;)t.isOdd()&&t.iadd(M),t.iushrn(1);for(var V=0,Z=1;!(o.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(o.iushrn(V);V-- >0;)h.isOdd()&&h.iadd(M),h.iushrn(1);a.cmp(o)>=0?(a.isub(o),t.isub(h)):(o.isub(a),h.isub(t))}return(r=a.cmpn(1)===0?t:h).cmpn(0)<0&&r.iadd(e),r},p.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),o=e.clone();a.negative=0,o.negative=0;for(var r=0;a.isEven()&&o.isEven();r++)a.iushrn(1),o.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;o.isEven();)o.iushrn(1);var t=a.cmp(o);if(t<0){var h=a;a=o,o=h}else if(t===0||o.cmpn(1)===0)break;a.isub(o)}return o.iushln(r)},p.prototype.invm=function(e){return this.egcd(e).a.umod(e)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(e){return this.words[0]&e},p.prototype.bincn=function(e){O(typeof e=="number");var a=e%26,o=(e-a)/26,r=1<<a;if(this.length<=o)return this._expand(o+1),this.words[o]|=r,this;for(var t=r,h=o;t!==0&&h<this.length;h++){var M=0|this.words[h];t=(M+=t)>>>26,M&=67108863,this.words[h]=M}return t!==0&&(this.words[h]=t,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(e){var a,o=e<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;if(this.strip(),this.length>1)a=1;else{o&&(e=-e),O(e<=67108863,"Number is too big");var r=0|this.words[0];a=r===e?0:r<e?-1:1}return this.negative!==0?0|-a:a},p.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var a=this.ucmp(e);return this.negative!==0?0|-a:a},p.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var a=0,o=this.length-1;o>=0;o--){var r=0|this.words[o],t=0|e.words[o];if(r!==t){r<t?a=-1:r>t&&(a=1);break}}return a},p.prototype.gtn=function(e){return this.cmpn(e)===1},p.prototype.gt=function(e){return this.cmp(e)===1},p.prototype.gten=function(e){return this.cmpn(e)>=0},p.prototype.gte=function(e){return this.cmp(e)>=0},p.prototype.ltn=function(e){return this.cmpn(e)===-1},p.prototype.lt=function(e){return this.cmp(e)===-1},p.prototype.lten=function(e){return this.cmpn(e)<=0},p.prototype.lte=function(e){return this.cmp(e)<=0},p.prototype.eqn=function(e){return this.cmpn(e)===0},p.prototype.eq=function(e){return this.cmp(e)===0},p.red=function(e){return new ue(e)},p.prototype.toRed=function(e){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(e){return this.red=e,this},p.prototype.forceRed=function(e){return O(!this.red,"Already a number in reduction context"),this._forceRed(e)},p.prototype.redAdd=function(e){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},p.prototype.redIAdd=function(e){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},p.prototype.redSub=function(e){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},p.prototype.redISub=function(e){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},p.prototype.redShl=function(e){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},p.prototype.redMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},p.prototype.redIMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(e){return O(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var P={k256:null,p224:null,p192:null,p25519:null};function W(e,a){this.name=e,this.p=new p(a,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function te(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function se(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(e){if(typeof e=="string"){var a=p._prime(e);this.m=a.p,this.prime=a}else O(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function de(e){ue.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W.prototype._tmp=function(){var e=new p(null);return e.words=new Array(Math.ceil(this.n/13)),e},W.prototype.ireduce=function(e){var a,o=e;do this.split(o,this.tmp),a=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(a>this.n);var r=a<this.n?-1:o.ucmp(this.p);return r===0?(o.words[0]=0,o.length=1):r>0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},W.prototype.split=function(e,a){e.iushrn(this.n,0,a)},W.prototype.imulK=function(e){return e.imul(this.k)},q(G,W),G.prototype.split=function(e,a){for(var o=4194303,r=Math.min(e.length,9),t=0;t<r;t++)a.words[t]=e.words[t];if(a.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var h=e.words[9];for(a.words[a.length++]=h&o,t=10;t<e.length;t++){var M=0|e.words[t];e.words[t-10]=(M&o)<<4|h>>>22,h=M}h>>>=22,e.words[t-10]=h,h===0&&e.length>10?e.length-=10:e.length-=9},G.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,o=0;o<e.length;o++){var r=0|e.words[o];a+=977*r,e.words[o]=67108863&a,a=64*r+(a/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},q(Q,W),q(te,W),q(se,W),se.prototype.imulK=function(e){for(var a=0,o=0;o<e.length;o++){var r=19*(0|e.words[o])+a,t=67108863&r;r>>>=26,e.words[o]=t,a=r}return a!==0&&(e.words[e.length++]=a),e},p._prime=function(e){if(P[e])return P[e];var a;if(e==="k256")a=new G;else if(e==="p224")a=new Q;else if(e==="p192")a=new te;else{if(e!=="p25519")throw new Error("Unknown prime "+e);a=new se}return P[e]=a,a},ue.prototype._verify1=function(e){O(e.negative===0,"red works only with positives"),O(e.red,"red works only with red numbers")},ue.prototype._verify2=function(e,a){O(!(e.negative|a.negative),"red works only with positives"),O(e.red&&e.red===a.red,"red works only with red numbers")},ue.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},ue.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},ue.prototype.add=function(e,a){this._verify2(e,a);var o=e.add(a);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},ue.prototype.iadd=function(e,a){this._verify2(e,a);var o=e.iadd(a);return o.cmp(this.m)>=0&&o.isub(this.m),o},ue.prototype.sub=function(e,a){this._verify2(e,a);var o=e.sub(a);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},ue.prototype.isub=function(e,a){this._verify2(e,a);var o=e.isub(a);return o.cmpn(0)<0&&o.iadd(this.m),o},ue.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},ue.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},ue.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},ue.prototype.isqr=function(e){return this.imul(e,e.clone())},ue.prototype.sqr=function(e){return this.mul(e,e)},ue.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(O(a%2==1),a===3){var o=this.m.add(new p(1)).iushrn(2);return this.pow(e,o)}for(var r=this.m.subn(1),t=0;!r.isZero()&&r.andln(1)===0;)t++,r.iushrn(1);O(!r.isZero());var h=new p(1).toRed(this),M=h.redNeg(),H=this.m.subn(1).iushrn(1),K=this.m.bitLength();for(K=new p(2*K*K).toRed(this);this.pow(K,H).cmp(M)!==0;)K.redIAdd(M);for(var V=this.pow(K,r),Z=this.pow(e,r.addn(1).iushrn(1)),X=this.pow(e,r),ae=t;X.cmp(h)!==0;){for(var ie=X,ce=0;ie.cmp(h)!==0;ce++)ie=ie.redSqr();O(ce<ae);var Y=this.pow(V,new p(1).iushln(ae-ce-1));Z=Z.redMul(Y),V=Y.redSqr(),X=X.redMul(V),ae=ce}return Z},ue.prototype.invm=function(e){var a=e._invmp(this.m);return a.negative!==0?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ue.prototype.pow=function(e,a){if(a.isZero())return new p(1).toRed(this);if(a.cmpn(1)===0)return e.clone();var o=new Array(16);o[0]=new p(1).toRed(this),o[1]=e;for(var r=2;r<o.length;r++)o[r]=this.mul(o[r-1],e);var t=o[0],h=0,M=0,H=a.bitLength()%26;for(H===0&&(H=26),r=a.length-1;r>=0;r--){for(var K=a.words[r],V=H-1;V>=0;V--){var Z=K>>V&1;t!==o[0]&&(t=this.sqr(t)),Z!==0||h!==0?(h<<=1,h|=Z,(++M==4||r===0&&V===0)&&(t=this.mul(t,o[h]),M=0,h=0)):M=0}H=26}return t},ue.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},ue.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},p.mont=function(e){return new de(e)},q(de,ue),de.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},de.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},de.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var o=e.imul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new p(0)._forceRed(this);var o=e.mul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},6549:F=>{F.exports=Object.getOwnPropertyDescriptor},6556:(F,v,d)=>{var T=d(453),A=d(3126),O=A([T("%String.prototype.indexOf%")]);F.exports=function(q,p){var j=T(q,!!p);return typeof j=="function"&&O(q,".prototype.")>-1?A([j]):j}},6576:(F,v,d)=>{var T=d(9394),A=d(8452);F.exports=function(){var O=T();return A(Object,{is:O},{is:function(){return Object.is!==O}}),O}},6578:F=>{F.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},6587:F=>{F.exports=JSON.parse('{"name":"minio","version":"7.0.32","description":"S3 Compatible Cloud Storage client","main":"./dist/main/minio.js","scripts":{"compile":"gulp compile","test":"gulp test","lint":"gulp lint","lint-fix":"gulp lint --fix","prepublishOnly":"gulp test","functional":"gulp functionalTest","browserify":"gulp browserify","prepare":"npm run compile"},"repository":{"type":"git","url":"git+https://github.com/minio/minio-js.git"},"author":{"name":"MinIO, Inc.","email":"","url":"https://min.io"},"engines":{"node":">8 <=18"},"license":"Apache-2.0","bugs":{"url":"https://github.com/minio/minio-js/issues","mail":""},"homepage":"https://github.com/minio/minio-js#readme","dependencies":{"async":"^3.1.0","block-stream2":"^2.0.0","browser-or-node":"^1.3.0","buffer-crc32":"^0.2.13","crypto-browserify":"^3.12.0","es6-error":"^4.1.1","fast-xml-parser":"^3.17.5","ipaddr.js":"^2.0.1","json-stream":"^1.0.0","lodash":"^4.17.21","mime-types":"^2.1.14","mkdirp":"^0.5.1","query-string":"^7.1.1","through2":"^3.0.1","web-encoding":"^1.1.5","xml":"^1.0.0","xml2js":"^0.4.15"},"devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.10","babelify":"^10.0.0","browserify":"^16.5.2","chai":"^4.2.0","eslint":"^8.9.0","gulp":"^4.0.2","gulp-babel":"^8.0.0","gulp-eslint":"^4.0.2","gulp-if":"^3.0.0","gulp-mocha":"^8.0.0","gulp-sourcemaps":"^2.6.5","mocha":"^9.2.0","mocha-steps":"^1.1.0","nock":"^13.2.2","source-map-support":"^0.5.13","split-file":"^2.2.2","superagent":"^5.1.0","uuid":"^3.3.2"},"keywords":["api","amazon","minio","cloud","s3","storage"]}')},6642:(F,v,d)=>{var T=d(3003);F.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:T}},6661:(F,v,d)=>{var T=d(7011),A=T.assert,O=T.parseBytes,q=T.cachedProperty;function p(j,w){this.eddsa=j,this._secret=O(w.secret),j.isPoint(w.pub)?this._pub=w.pub:this._pubBytes=O(w.pub)}p.fromPublic=function(j,w){return w instanceof p?w:new p(j,{pub:w})},p.fromSecret=function(j,w){return w instanceof p?w:new p(j,{secret:w})},p.prototype.secret=function(){return this._secret},q(p,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),q(p,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),q(p,"privBytes",function(){var j=this.eddsa,w=this.hash(),S=j.encodingLength-1,_=w.slice(0,j.encodingLength);return _[0]&=248,_[S]&=127,_[S]|=64,_}),q(p,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),q(p,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),q(p,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),p.prototype.sign=function(j){return A(this._secret,"KeyPair can only verify"),this.eddsa.sign(j,this)},p.prototype.verify=function(j,w){return this.eddsa.verify(j,w,this)},p.prototype.getSecret=function(j){return A(this._secret,"KeyPair is public only"),T.encode(this.secret(),j)},p.prototype.getPublic=function(j){return T.encode(this.pubBytes(),j)},F.exports=p},6663:(F,v,d)=>{const T=d(4280),A=d(454),O=d(528),q=d(3055),p=Symbol("encodeFragmentIdentifier");function j(D){if(typeof D!="string"||D.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function w(D,U){return U.encode?U.strict?T(D):encodeURIComponent(D):D}function S(D,U){return U.decode?A(D):D}function _(D){return Array.isArray(D)?D.sort():typeof D=="object"?_(Object.keys(D)).sort((U,$)=>Number(U)-Number($)).map(U=>D[U]):D}function N(D){const U=D.indexOf("#");return U!==-1&&(D=D.slice(0,U)),D}function I(D){const U=(D=N(D)).indexOf("?");return U===-1?"":D.slice(U+1)}function b(D,U){return U.parseNumbers&&!Number.isNaN(Number(D))&&typeof D=="string"&&D.trim()!==""?D=Number(D):!U.parseBooleans||D===null||D.toLowerCase()!=="true"&&D.toLowerCase()!=="false"||(D=D.toLowerCase()==="true"),D}function B(D,U){j((U=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},U)).arrayFormatSeparator);const $=function(W){let G;switch(W.arrayFormat){case"index":return(Q,te,se)=>{G=/\[(\d*)\]$/.exec(Q),Q=Q.replace(/\[\d*\]$/,""),G?(se[Q]===void 0&&(se[Q]={}),se[Q][G[1]]=te):se[Q]=te};case"bracket":return(Q,te,se)=>{G=/(\[\])$/.exec(Q),Q=Q.replace(/\[\]$/,""),G?se[Q]!==void 0?se[Q]=[].concat(se[Q],te):se[Q]=[te]:se[Q]=te};case"colon-list-separator":return(Q,te,se)=>{G=/(:list)$/.exec(Q),Q=Q.replace(/:list$/,""),G?se[Q]!==void 0?se[Q]=[].concat(se[Q],te):se[Q]=[te]:se[Q]=te};case"comma":case"separator":return(Q,te,se)=>{const ue=typeof te=="string"&&te.includes(W.arrayFormatSeparator),de=typeof te=="string"&&!ue&&S(te,W).includes(W.arrayFormatSeparator);te=de?S(te,W):te;const e=ue||de?te.split(W.arrayFormatSeparator).map(a=>S(a,W)):te===null?te:S(te,W);se[Q]=e};case"bracket-separator":return(Q,te,se)=>{const ue=/(\[\])$/.test(Q);if(Q=Q.replace(/\[\]$/,""),!ue)return void(se[Q]=te&&S(te,W));const de=te===null?[]:te.split(W.arrayFormatSeparator).map(e=>S(e,W));se[Q]!==void 0?se[Q]=[].concat(se[Q],de):se[Q]=de};default:return(Q,te,se)=>{se[Q]!==void 0?se[Q]=[].concat(se[Q],te):se[Q]=te}}}(U),P=Object.create(null);if(typeof D!="string"||!(D=D.trim().replace(/^[?#&]/,"")))return P;for(const W of D.split("&")){if(W==="")continue;let[G,Q]=O(U.decode?W.replace(/\+/g," "):W,"=");Q=Q===void 0?null:["comma","separator","bracket-separator"].includes(U.arrayFormat)?Q:S(Q,U),$(S(G,U),Q,P)}for(const W of Object.keys(P)){const G=P[W];if(typeof G=="object"&&G!==null)for(const Q of Object.keys(G))G[Q]=b(G[Q],U);else P[W]=b(G,U)}return U.sort===!1?P:(U.sort===!0?Object.keys(P).sort():Object.keys(P).sort(U.sort)).reduce((W,G)=>{const Q=P[G];return Q&&typeof Q=="object"&&!Array.isArray(Q)?W[G]=_(Q):W[G]=Q,W},Object.create(null))}v.extract=I,v.parse=B,v.stringify=(D,U)=>{if(!D)return"";j((U=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},U)).arrayFormatSeparator);const $=Q=>U.skipNull&&D[Q]==null||U.skipEmptyString&&D[Q]==="",P=function(Q){switch(Q.arrayFormat){case"index":return te=>(se,ue)=>{const de=se.length;return ue===void 0||Q.skipNull&&ue===null||Q.skipEmptyString&&ue===""?se:ue===null?[...se,[w(te,Q),"[",de,"]"].join("")]:[...se,[w(te,Q),"[",w(de,Q),"]=",w(ue,Q)].join("")]};case"bracket":return te=>(se,ue)=>ue===void 0||Q.skipNull&&ue===null||Q.skipEmptyString&&ue===""?se:ue===null?[...se,[w(te,Q),"[]"].join("")]:[...se,[w(te,Q),"[]=",w(ue,Q)].join("")];case"colon-list-separator":return te=>(se,ue)=>ue===void 0||Q.skipNull&&ue===null||Q.skipEmptyString&&ue===""?se:ue===null?[...se,[w(te,Q),":list="].join("")]:[...se,[w(te,Q),":list=",w(ue,Q)].join("")];case"comma":case"separator":case"bracket-separator":{const te=Q.arrayFormat==="bracket-separator"?"[]=":"=";return se=>(ue,de)=>de===void 0||Q.skipNull&&de===null||Q.skipEmptyString&&de===""?ue:(de=de===null?"":de,ue.length===0?[[w(se,Q),te,w(de,Q)].join("")]:[[ue,w(de,Q)].join(Q.arrayFormatSeparator)])}default:return te=>(se,ue)=>ue===void 0||Q.skipNull&&ue===null||Q.skipEmptyString&&ue===""?se:ue===null?[...se,w(te,Q)]:[...se,[w(te,Q),"=",w(ue,Q)].join("")]}}(U),W={};for(const Q of Object.keys(D))$(Q)||(W[Q]=D[Q]);const G=Object.keys(W);return U.sort!==!1&&G.sort(U.sort),G.map(Q=>{const te=D[Q];return te===void 0?"":te===null?w(Q,U):Array.isArray(te)?te.length===0&&U.arrayFormat==="bracket-separator"?w(Q,U)+"[]":te.reduce(P(Q),[]).join("&"):w(Q,U)+"="+w(te,U)}).filter(Q=>Q.length>0).join("&")},v.parseUrl=(D,U)=>{U=Object.assign({decode:!0},U);const[$,P]=O(D,"#");return Object.assign({url:$.split("?")[0]||"",query:B(I(D),U)},U&&U.parseFragmentIdentifier&&P?{fragmentIdentifier:S(P,U)}:{})},v.stringifyUrl=(D,U)=>{U=Object.assign({encode:!0,strict:!0,[p]:!0},U);const $=N(D.url).split("?")[0]||"",P=v.extract(D.url),W=v.parse(P,{sort:!1}),G=Object.assign(W,D.query);let Q=v.stringify(G,U);Q&&(Q=`?${Q}`);let te=function(se){let ue="";const de=se.indexOf("#");return de!==-1&&(ue=se.slice(de)),ue}(D.url);return D.fragmentIdentifier&&(te=`#${U[p]?w(D.fragmentIdentifier,U):D.fragmentIdentifier}`),`${$}${Q}${te}`},v.pick=(D,U,$)=>{$=Object.assign({parseFragmentIdentifier:!0,[p]:!1},$);const{url:P,query:W,fragmentIdentifier:G}=v.parseUrl(D,$);return v.stringifyUrl({url:P,query:q(W,U),fragmentIdentifier:G},$)},v.exclude=(D,U,$)=>{const P=Array.isArray(U)?W=>!U.includes(W):(W,G)=>!U(W,G);return v.pick(D,P,$)}},6677:(F,v,d)=>{var T=d(8490),A=d(7011),O=A.getNAF,q=A.getJSF,p=A.assert;function j(S,_){this.type=S,this.p=new T(_.p,16),this.red=_.prime?T.red(_.prime):T.mont(this.p),this.zero=new T(0).toRed(this.red),this.one=new T(1).toRed(this.red),this.two=new T(2).toRed(this.red),this.n=_.n&&new T(_.n,16),this.g=_.g&&this.pointFromJSON(_.g,_.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var N=this.n&&this.p.div(this.n);!N||N.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function w(S,_){this.curve=S,this.type=_,this.precomputed=null}F.exports=j,j.prototype.point=function(){throw new Error("Not implemented")},j.prototype.validate=function(){throw new Error("Not implemented")},j.prototype._fixedNafMul=function(S,_){p(S.precomputed);var N=S._getDoubles(),I=O(_,1,this._bitLength),b=(1<<N.step+1)-(N.step%2==0?2:1);b/=3;var B,D,U=[];for(B=0;B<I.length;B+=N.step){D=0;for(var $=B+N.step-1;$>=B;$--)D=(D<<1)+I[$];U.push(D)}for(var P=this.jpoint(null,null,null),W=this.jpoint(null,null,null),G=b;G>0;G--){for(B=0;B<U.length;B++)(D=U[B])===G?W=W.mixedAdd(N.points[B]):D===-G&&(W=W.mixedAdd(N.points[B].neg()));P=P.add(W)}return P.toP()},j.prototype._wnafMul=function(S,_){var N=4,I=S._getNAFPoints(N);N=I.wnd;for(var b=I.points,B=O(_,N,this._bitLength),D=this.jpoint(null,null,null),U=B.length-1;U>=0;U--){for(var $=0;U>=0&&B[U]===0;U--)$++;if(U>=0&&$++,D=D.dblp($),U<0)break;var P=B[U];p(P!==0),D=S.type==="affine"?P>0?D.mixedAdd(b[P-1>>1]):D.mixedAdd(b[-P-1>>1].neg()):P>0?D.add(b[P-1>>1]):D.add(b[-P-1>>1].neg())}return S.type==="affine"?D.toP():D},j.prototype._wnafMulAdd=function(S,_,N,I,b){var B,D,U,$=this._wnafT1,P=this._wnafT2,W=this._wnafT3,G=0;for(B=0;B<I;B++){var Q=(U=_[B])._getNAFPoints(S);$[B]=Q.wnd,P[B]=Q.points}for(B=I-1;B>=1;B-=2){var te=B-1,se=B;if($[te]===1&&$[se]===1){var ue=[_[te],null,null,_[se]];_[te].y.cmp(_[se].y)===0?(ue[1]=_[te].add(_[se]),ue[2]=_[te].toJ().mixedAdd(_[se].neg())):_[te].y.cmp(_[se].y.redNeg())===0?(ue[1]=_[te].toJ().mixedAdd(_[se]),ue[2]=_[te].add(_[se].neg())):(ue[1]=_[te].toJ().mixedAdd(_[se]),ue[2]=_[te].toJ().mixedAdd(_[se].neg()));var de=[-3,-1,-5,-7,0,7,5,1,3],e=q(N[te],N[se]);for(G=Math.max(e[0].length,G),W[te]=new Array(G),W[se]=new Array(G),D=0;D<G;D++){var a=0|e[0][D],o=0|e[1][D];W[te][D]=de[3*(a+1)+(o+1)],W[se][D]=0,P[te]=ue}}else W[te]=O(N[te],$[te],this._bitLength),W[se]=O(N[se],$[se],this._bitLength),G=Math.max(W[te].length,G),G=Math.max(W[se].length,G)}var r=this.jpoint(null,null,null),t=this._wnafT4;for(B=G;B>=0;B--){for(var h=0;B>=0;){var M=!0;for(D=0;D<I;D++)t[D]=0|W[D][B],t[D]!==0&&(M=!1);if(!M)break;h++,B--}if(B>=0&&h++,r=r.dblp(h),B<0)break;for(D=0;D<I;D++){var H=t[D];H!==0&&(H>0?U=P[D][H-1>>1]:H<0&&(U=P[D][-H-1>>1].neg()),r=U.type==="affine"?r.mixedAdd(U):r.add(U))}}for(B=0;B<I;B++)P[B]=null;return b?r:r.toP()},j.BasePoint=w,w.prototype.eq=function(){throw new Error("Not implemented")},w.prototype.validate=function(){return this.curve.validate(this)},j.prototype.decodePoint=function(S,_){S=A.toArray(S,_);var N=this.p.byteLength();if((S[0]===4||S[0]===6||S[0]===7)&&S.length-1==2*N)return S[0]===6?p(S[S.length-1]%2==0):S[0]===7&&p(S[S.length-1]%2==1),this.point(S.slice(1,1+N),S.slice(1+N,1+2*N));if((S[0]===2||S[0]===3)&&S.length-1===N)return this.pointFromX(S.slice(1,1+N),S[0]===3);throw new Error("Unknown point format")},w.prototype.encodeCompressed=function(S){return this.encode(S,!0)},w.prototype._encode=function(S){var _=this.curve.p.byteLength(),N=this.getX().toArray("be",_);return S?[this.getY().isEven()?2:3].concat(N):[4].concat(N,this.getY().toArray("be",_))},w.prototype.encode=function(S,_){return A.encode(this._encode(_),S)},w.prototype.precompute=function(S){if(this.precomputed)return this;var _={doubles:null,naf:null,beta:null};return _.naf=this._getNAFPoints(8),_.doubles=this._getDoubles(4,S),_.beta=this._getBeta(),this.precomputed=_,this},w.prototype._hasDoubles=function(S){if(!this.precomputed)return!1;var _=this.precomputed.doubles;return!!_&&_.points.length>=Math.ceil((S.bitLength()+1)/_.step)},w.prototype._getDoubles=function(S,_){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var N=[this],I=this,b=0;b<_;b+=S){for(var B=0;B<S;B++)I=I.dbl();N.push(I)}return{step:S,points:N}},w.prototype._getNAFPoints=function(S){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var _=[this],N=(1<<S)-1,I=N===1?null:this.dbl(),b=1;b<N;b++)_[b]=_[b-1].add(I);return{wnd:S,points:_}},w.prototype._getBeta=function(){return null},w.prototype.dblp=function(S){for(var _=this,N=0;N<S;N++)_=_.dbl();return _}},6684:function(F){(function(){F.exports=function(){function v(d){this.nodes=d}return Object.defineProperty(v.prototype,"length",{get:function(){return this.nodes.length||0}}),v.prototype.clone=function(){return this.nodes=null},v.prototype.item=function(d){return this.nodes[d]||null},v}()}).call(this)},6688:(F,v,d)=>{var T;function A(){if(T!==void 0)return T;if(d.g.XMLHttpRequest){T=new d.g.XMLHttpRequest;try{T.open("GET",d.g.XDomainRequest?"/":"https://example.com")}catch{T=null}}else T=null;return T}function O(p){var j=A();if(!j)return!1;try{return j.responseType=p,j.responseType===p}catch{}return!1}function q(p){return typeof p=="function"}v.fetch=q(d.g.fetch)&&q(d.g.ReadableStream),v.writableStream=q(d.g.WritableStream),v.abortController=q(d.g.AbortController),v.arraybuffer=v.fetch||O("arraybuffer"),v.msstream=!v.fetch&&O("ms-stream"),v.mozchunkedarraybuffer=!v.fetch&&O("moz-chunked-arraybuffer"),v.overrideMimeType=v.fetch||!!A()&&q(A().overrideMimeType),T=null},6698:F=>{typeof Object.create=="function"?F.exports=function(v,d){d&&(v.super_=d,v.prototype=Object.create(d.prototype,{constructor:{value:v,enumerable:!1,writable:!0,configurable:!0}}))}:F.exports=function(v,d){if(d){v.super_=d;var T=function(){};T.prototype=d.prototype,v.prototype=new T,v.prototype.constructor=v}}},6708:(F,v,d)=>{var T,A=d(5606);function O(h){var M=this;this.next=null,this.entry=null,this.finish=function(){(function(H,K){var V=H.entry;for(H.entry=null;V;){var Z=V.callback;K.pendingcb--,Z(void 0),V=V.next}K.corkedRequestsFree.next=H})(M,h)}}F.exports=ue,ue.WritableState=se;var q,p={deprecate:d(4643)},j=d(345),w=d(8287).Buffer,S=(d.g!==void 0?d.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},_=d(5896),N=d(5291).getHighWaterMark,I=d(6048).F,b=I.ERR_INVALID_ARG_TYPE,B=I.ERR_METHOD_NOT_IMPLEMENTED,D=I.ERR_MULTIPLE_CALLBACK,U=I.ERR_STREAM_CANNOT_PIPE,$=I.ERR_STREAM_DESTROYED,P=I.ERR_STREAM_NULL_VALUES,W=I.ERR_STREAM_WRITE_AFTER_END,G=I.ERR_UNKNOWN_ENCODING,Q=_.errorOrDestroy;function te(){}function se(h,M,H){T=T||d(5382),h=h||{},typeof H!="boolean"&&(H=M instanceof T),this.objectMode=!!h.objectMode,H&&(this.objectMode=this.objectMode||!!h.writableObjectMode),this.highWaterMark=N(this,h,"writableHighWaterMark",H),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var K=h.decodeStrings===!1;this.decodeStrings=!K,this.defaultEncoding=h.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(V){(function(Z,X){var ae=Z._writableState,ie=ae.sync,ce=ae.writecb;if(typeof ce!="function")throw new D;if(function(ne){ne.writing=!1,ne.writecb=null,ne.length-=ne.writelen,ne.writelen=0}(ae),X)(function(ne,J,ee,ge,pe){--J.pendingcb,ee?(A.nextTick(pe,ge),A.nextTick(t,ne,J),ne._writableState.errorEmitted=!0,Q(ne,ge)):(pe(ge),ne._writableState.errorEmitted=!0,Q(ne,ge),t(ne,J))})(Z,ae,ie,X,ce);else{var Y=o(ae)||Z.destroyed;Y||ae.corked||ae.bufferProcessing||!ae.bufferedRequest||a(Z,ae),ie?A.nextTick(e,Z,ae,Y,ce):e(Z,ae,Y,ce)}})(M,V)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=h.emitClose!==!1,this.autoDestroy=!!h.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new O(this)}function ue(h){var M=this instanceof(T=T||d(5382));if(!M&&!q.call(ue,this))return new ue(h);this._writableState=new se(h,this,M),this.writable=!0,h&&(typeof h.write=="function"&&(this._write=h.write),typeof h.writev=="function"&&(this._writev=h.writev),typeof h.destroy=="function"&&(this._destroy=h.destroy),typeof h.final=="function"&&(this._final=h.final)),j.call(this)}function de(h,M,H,K,V,Z,X){M.writelen=K,M.writecb=X,M.writing=!0,M.sync=!0,M.destroyed?M.onwrite(new $("write")):H?h._writev(V,M.onwrite):h._write(V,Z,M.onwrite),M.sync=!1}function e(h,M,H,K){H||function(V,Z){Z.length===0&&Z.needDrain&&(Z.needDrain=!1,V.emit("drain"))}(h,M),M.pendingcb--,K(),t(h,M)}function a(h,M){M.bufferProcessing=!0;var H=M.bufferedRequest;if(h._writev&&H&&H.next){var K=M.bufferedRequestCount,V=new Array(K),Z=M.corkedRequestsFree;Z.entry=H;for(var X=0,ae=!0;H;)V[X]=H,H.isBuf||(ae=!1),H=H.next,X+=1;V.allBuffers=ae,de(h,M,!0,M.length,V,"",Z.finish),M.pendingcb++,M.lastBufferedRequest=null,Z.next?(M.corkedRequestsFree=Z.next,Z.next=null):M.corkedRequestsFree=new O(M),M.bufferedRequestCount=0}else{for(;H;){var ie=H.chunk,ce=H.encoding,Y=H.callback;if(de(h,M,!1,M.objectMode?1:ie.length,ie,ce,Y),H=H.next,M.bufferedRequestCount--,M.writing)break}H===null&&(M.lastBufferedRequest=null)}M.bufferedRequest=H,M.bufferProcessing=!1}function o(h){return h.ending&&h.length===0&&h.bufferedRequest===null&&!h.finished&&!h.writing}function r(h,M){h._final(function(H){M.pendingcb--,H&&Q(h,H),M.prefinished=!0,h.emit("prefinish"),t(h,M)})}function t(h,M){var H=o(M);if(H&&(function(V,Z){Z.prefinished||Z.finalCalled||(typeof V._final!="function"||Z.destroyed?(Z.prefinished=!0,V.emit("prefinish")):(Z.pendingcb++,Z.finalCalled=!0,A.nextTick(r,V,Z)))}(h,M),M.pendingcb===0&&(M.finished=!0,h.emit("finish"),M.autoDestroy))){var K=h._readableState;(!K||K.autoDestroy&&K.endEmitted)&&h.destroy()}return H}d(6698)(ue,j),se.prototype.getBuffer=function(){for(var h=this.bufferedRequest,M=[];h;)M.push(h),h=h.next;return M},function(){try{Object.defineProperty(se.prototype,"buffer",{get:p.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(q=Function.prototype[Symbol.hasInstance],Object.defineProperty(ue,Symbol.hasInstance,{value:function(h){return!!q.call(this,h)||this===ue&&h&&h._writableState instanceof se}})):q=function(h){return h instanceof this},ue.prototype.pipe=function(){Q(this,new U)},ue.prototype.write=function(h,M,H){var K,V=this._writableState,Z=!1,X=!V.objectMode&&(K=h,w.isBuffer(K)||K instanceof S);return X&&!w.isBuffer(h)&&(h=function(ae){return w.from(ae)}(h)),typeof M=="function"&&(H=M,M=null),X?M="buffer":M||(M=V.defaultEncoding),typeof H!="function"&&(H=te),V.ending?function(ae,ie){var ce=new W;Q(ae,ce),A.nextTick(ie,ce)}(this,H):(X||function(ae,ie,ce,Y){var ne;return ce===null?ne=new P:typeof ce=="string"||ie.objectMode||(ne=new b("chunk",["string","Buffer"],ce)),!ne||(Q(ae,ne),A.nextTick(Y,ne),!1)}(this,V,h,H))&&(V.pendingcb++,Z=function(ae,ie,ce,Y,ne,J){if(!ce){var ee=function(je,Me,Ae){return je.objectMode||je.decodeStrings===!1||typeof Me!="string"||(Me=w.from(Me,Ae)),Me}(ie,Y,ne);Y!==ee&&(ce=!0,ne="buffer",Y=ee)}var ge=ie.objectMode?1:Y.length;ie.length+=ge;var pe=ie.length<ie.highWaterMark;if(pe||(ie.needDrain=!0),ie.writing||ie.corked){var we=ie.lastBufferedRequest;ie.lastBufferedRequest={chunk:Y,encoding:ne,isBuf:ce,callback:J,next:null},we?we.next=ie.lastBufferedRequest:ie.bufferedRequest=ie.lastBufferedRequest,ie.bufferedRequestCount+=1}else de(ae,ie,!1,ge,Y,ne,J);return pe}(this,V,X,h,M,H)),Z},ue.prototype.cork=function(){this._writableState.corked++},ue.prototype.uncork=function(){var h=this._writableState;h.corked&&(h.corked--,h.writing||h.corked||h.bufferProcessing||!h.bufferedRequest||a(this,h))},ue.prototype.setDefaultEncoding=function(h){if(typeof h=="string"&&(h=h.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((h+"").toLowerCase())>-1))throw new G(h);return this._writableState.defaultEncoding=h,this},Object.defineProperty(ue.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ue.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ue.prototype._write=function(h,M,H){H(new B("_write()"))},ue.prototype._writev=null,ue.prototype.end=function(h,M,H){var K=this._writableState;return typeof h=="function"?(H=h,h=null,M=null):typeof M=="function"&&(H=M,M=null),h!=null&&this.write(h,M),K.corked&&(K.corked=1,this.uncork()),K.ending||function(V,Z,X){Z.ending=!0,t(V,Z),X&&(Z.finished?A.nextTick(X):V.once("finish",X)),Z.ended=!0,V.writable=!1}(this,K,H),this},Object.defineProperty(ue.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ue.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(h){this._writableState&&(this._writableState.destroyed=h)}}),ue.prototype.destroy=_.destroy,ue.prototype._undestroy=_.undestroy,ue.prototype._destroy=function(h,M){M(h)}},6710:(F,v,d)=>{var T=d(6698),A=d(4107),O=d(392),q=d(2861).Buffer,p=new Array(64);function j(){this.init(),this._w=p,O.call(this,64,56)}T(j,A),j.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},j.prototype._hash=function(){var w=q.allocUnsafe(28);return w.writeInt32BE(this._a,0),w.writeInt32BE(this._b,4),w.writeInt32BE(this._c,8),w.writeInt32BE(this._d,12),w.writeInt32BE(this._e,16),w.writeInt32BE(this._f,20),w.writeInt32BE(this._g,24),w},F.exports=j},6712:function(F,v,d){(function(){var T,A,O,q,p,j={}.hasOwnProperty;T=d(9665),A=d(6465).defaults,q=function(w){return typeof w=="string"&&(w.indexOf("&")>=0||w.indexOf(">")>=0||w.indexOf("<")>=0)},p=function(w){return"<![CDATA["+O(w)+"]]>"},O=function(w){return w.replace("]]>","]]]]><![CDATA[>")},v.Builder=function(){function w(S){var _,N,I;for(_ in this.options={},N=A[.2])j.call(N,_)&&(I=N[_],this.options[_]=I);for(_ in S)j.call(S,_)&&(I=S[_],this.options[_]=I)}return w.prototype.buildObject=function(S){var _,N,I,b,B,D;return _=this.options.attrkey,N=this.options.charkey,Object.keys(S).length===1&&this.options.rootName===A[.2].rootName?S=S[B=Object.keys(S)[0]]:B=this.options.rootName,D=this,I=function(U,$){var P,W,G,Q,te,se;if(typeof $!="object")D.options.cdata&&q($)?U.raw(p($)):U.txt($);else if(Array.isArray($)){for(Q in $)if(j.call($,Q))for(te in W=$[Q])G=W[te],U=I(U.ele(te),G).up()}else for(te in $)if(j.call($,te))if(W=$[te],te===_){if(typeof W=="object")for(P in W)se=W[P],U=U.att(P,se)}else if(te===N)U=D.options.cdata&&q(W)?U.raw(p(W)):U.txt(W);else if(Array.isArray(W))for(Q in W)j.call(W,Q)&&(U=typeof(G=W[Q])=="string"?D.options.cdata&&q(G)?U.ele(te).raw(p(G)).up():U.ele(te,G).up():I(U.ele(te),G).up());else typeof W=="object"?U=I(U.ele(te),W).up():typeof W=="string"&&D.options.cdata&&q(W)?U=U.ele(te).raw(p(W)).up():(W==null&&(W=""),U=U.ele(te,W.toString()).up());return U},b=T.create(B,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),I(b,S).end(this.options.renderOpts)},w}()}).call(this)},6729:(F,v,d)=>{var T=v;T.version=d(1636).rE,T.utils=d(7011),T.rand=d(5037),T.curve=d(894),T.curves=d(480),T.ec=d(7447),T.eddsa=d(8650)},6737:(F,v,d)=>{(v=F.exports=d(206)).Stream=v,v.Readable=v,v.Writable=d(7314),v.Duplex=d(6248),v.Transform=d(1816),v.PassThrough=d(5242)},6743:(F,v,d)=>{var T=d(9353);F.exports=Function.prototype.bind||T},6763:(F,v,d)=>{var T=d(537),A=d(4148);function O(){return new Date().getTime()}var q,p=Array.prototype.slice,j={};q=d.g!==void 0&&d.g.console?d.g.console:typeof window<"u"&&window.console?window.console:{};for(var w=[[function(){},"log"],[function(){q.log.apply(q,arguments)},"info"],[function(){q.log.apply(q,arguments)},"warn"],[function(){q.warn.apply(q,arguments)},"error"],[function(b){j[b]=O()},"time"],[function(b){var B=j[b];if(!B)throw new Error("No such label: "+b);delete j[b];var D=O()-B;q.log(b+": "+D+"ms")},"timeEnd"],[function(){var b=new Error;b.name="Trace",b.message=T.format.apply(null,arguments),q.error(b.stack)},"trace"],[function(b){q.log(T.inspect(b)+`
|
|
131
|
+
`)},"dir"],[function(b){if(!b){var B=p.call(arguments,1);A.ok(!1,T.format.apply(null,B))}},"assert"]],S=0;S<w.length;S++){var _=w[S],N=_[0],I=_[1];q[I]||(q[I]=N)}F.exports=q},6768:(F,v,d)=>{Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0;var T,A=(T=d(8310))&&T.__esModule?T:{default:T},O=w(d(8234)),q=w(d(6097)),p=d(2541);function j(S){if(typeof WeakMap!="function")return null;var _=new WeakMap,N=new WeakMap;return(j=function(I){return I?N:_})(S)}function w(S,_){if(!_&&S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var N=j(_);if(N&&N.has(S))return N.get(S);var I={},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in S)if(B!=="default"&&Object.prototype.hasOwnProperty.call(S,B)){var D=b?Object.getOwnPropertyDescriptor(S,B):null;D&&(D.get||D.set)?Object.defineProperty(I,B,D):I[B]=S[B]}return I.default=S,N&&N.set(S,I),I}v.default=class{constructor(S){this.client=S}listObjectsV2WithMetadata(S,_,N,I){if(_===void 0&&(_=""),N===void 0&&(N=!1),I===void 0&&(I=""),!(0,p.isValidBucketName)(S))throw new q.InvalidBucketNameError("Invalid bucket name: "+S);if(!(0,p.isValidPrefix)(_))throw new q.InvalidPrefixError(`Invalid prefix : ${_}`);if(!(0,p.isString)(_))throw new TypeError('prefix should be of type "string"');if(!(0,p.isBoolean)(N))throw new TypeError('recursive should be of type "boolean"');if(!(0,p.isString)(I))throw new TypeError('startAfter should be of type "string"');var b=N?"":"/",B="",D=[],U=!1,$=A.default.Readable({objectMode:!0});return $._read=()=>{if(!D.length)return U?$.push(null):void this.listObjectsV2WithMetadataQuery(S,_,B,b,1e3,I).on("error",P=>$.emit("error",P)).on("data",P=>{P.isTruncated?B=P.nextContinuationToken:U=!0,D=P.objects,$._read()});$.push(D.shift())},$}listObjectsV2WithMetadataQuery(S,_,N,I,b,B){if(!(0,p.isValidBucketName)(S))throw new q.InvalidBucketNameError("Invalid bucket name: "+S);if(!(0,p.isString)(_))throw new TypeError('prefix should be of type "string"');if(!(0,p.isString)(N))throw new TypeError('continuationToken should be of type "string"');if(!(0,p.isString)(I))throw new TypeError('delimiter should be of type "string"');if(!(0,p.isNumber)(b))throw new TypeError('maxKeys should be of type "number"');if(!(0,p.isString)(B))throw new TypeError('startAfter should be of type "string"');var D=[];D.push("list-type=2"),D.push("encoding-type=url"),D.push(`prefix=${(0,p.uriEscape)(_)}`),D.push(`delimiter=${(0,p.uriEscape)(I)}`),D.push("metadata=true"),N&&(N=(0,p.uriEscape)(N),D.push(`continuation-token=${N}`)),B&&(B=(0,p.uriEscape)(B),D.push(`start-after=${B}`)),b&&(b>=1e3&&(b=1e3),D.push(`max-keys=${b}`)),D.sort();var U="";D.length>0&&(U=`${D.join("&")}`);var $=O.getListObjectsV2WithMetadataTransformer();return this.client.makeRequest({method:"GET",bucketName:S,query:U},"",[200],"",!0,(P,W)=>{if(P)return $.emit("error",P);(0,p.pipesetup)(W,$)}),$}}},6775:function(F,v,d){(function(){var T,A,O,q={}.hasOwnProperty;T=d(1737),O=d(6286),A=d(8753),F.exports=function(p){function j(w,S){this.stream=w,j.__super__.constructor.call(this,S)}return function(w,S){for(var _ in S)q.call(S,_)&&(w[_]=S[_]);function N(){this.constructor=w}N.prototype=S.prototype,w.prototype=new N,w.__super__=S.prototype}(j,p),j.prototype.endline=function(w,S,_){return w.isLastRootNode&&S.state===A.CloseTag?"":j.__super__.endline.call(this,w,S,_)},j.prototype.document=function(w,S){var _,N,I,b,B,D,U,$,P;for(N=I=0,B=(U=w.children).length;I<B;N=++I)(_=U[N]).isLastRootNode=N===w.children.length-1;for(S=this.filterOptions(S),P=[],b=0,D=($=w.children).length;b<D;b++)_=$[b],P.push(this.writeChildNode(_,S,0));return P},j.prototype.attribute=function(w,S,_){return this.stream.write(j.__super__.attribute.call(this,w,S,_))},j.prototype.cdata=function(w,S,_){return this.stream.write(j.__super__.cdata.call(this,w,S,_))},j.prototype.comment=function(w,S,_){return this.stream.write(j.__super__.comment.call(this,w,S,_))},j.prototype.declaration=function(w,S,_){return this.stream.write(j.__super__.declaration.call(this,w,S,_))},j.prototype.docType=function(w,S,_){var N,I,b,B;if(_||(_=0),this.openNode(w,S,_),S.state=A.OpenTag,this.stream.write(this.indent(w,S,_)),this.stream.write("<!DOCTYPE "+w.root().name),w.pubID&&w.sysID?this.stream.write(' PUBLIC "'+w.pubID+'" "'+w.sysID+'"'):w.sysID&&this.stream.write(' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(w,S,_)),S.state=A.InsideTag,I=0,b=(B=w.children).length;I<b;I++)N=B[I],this.writeChildNode(N,S,_+1);S.state=A.CloseTag,this.stream.write("]")}return S.state=A.CloseTag,this.stream.write(S.spaceBeforeSlash+">"),this.stream.write(this.endline(w,S,_)),S.state=A.None,this.closeNode(w,S,_)},j.prototype.element=function(w,S,_){var N,I,b,B,D,U,$,P,W;for($ in _||(_=0),this.openNode(w,S,_),S.state=A.OpenTag,this.stream.write(this.indent(w,S,_)+"<"+w.name),P=w.attribs)q.call(P,$)&&(N=P[$],this.attribute(N,S,_));if(B=(b=w.children.length)===0?null:w.children[0],b===0||w.children.every(function(G){return(G.type===T.Text||G.type===T.Raw)&&G.value===""}))S.allowEmpty?(this.stream.write(">"),S.state=A.CloseTag,this.stream.write("</"+w.name+">")):(S.state=A.CloseTag,this.stream.write(S.spaceBeforeSlash+"/>"));else if(!S.pretty||b!==1||B.type!==T.Text&&B.type!==T.Raw||B.value==null){for(this.stream.write(">"+this.endline(w,S,_)),S.state=A.InsideTag,D=0,U=(W=w.children).length;D<U;D++)I=W[D],this.writeChildNode(I,S,_+1);S.state=A.CloseTag,this.stream.write(this.indent(w,S,_)+"</"+w.name+">")}else this.stream.write(">"),S.state=A.InsideTag,S.suppressPrettyCount++,this.writeChildNode(B,S,_+1),S.suppressPrettyCount--,S.state=A.CloseTag,this.stream.write("</"+w.name+">");return this.stream.write(this.endline(w,S,_)),S.state=A.None,this.closeNode(w,S,_)},j.prototype.processingInstruction=function(w,S,_){return this.stream.write(j.__super__.processingInstruction.call(this,w,S,_))},j.prototype.raw=function(w,S,_){return this.stream.write(j.__super__.raw.call(this,w,S,_))},j.prototype.text=function(w,S,_){return this.stream.write(j.__super__.text.call(this,w,S,_))},j.prototype.dtdAttList=function(w,S,_){return this.stream.write(j.__super__.dtdAttList.call(this,w,S,_))},j.prototype.dtdElement=function(w,S,_){return this.stream.write(j.__super__.dtdElement.call(this,w,S,_))},j.prototype.dtdEntity=function(w,S,_){return this.stream.write(j.__super__.dtdEntity.call(this,w,S,_))},j.prototype.dtdNotation=function(w,S,_){return this.stream.write(j.__super__.dtdNotation.call(this,w,S,_))},j}(O)}).call(this)},6784:(F,v,d)=>{var T=d(7426),A=d(6166),O=T.rotl32,q=T.sum32,p=T.sum32_3,j=T.sum32_4,w=A.BlockHash;function S(){if(!(this instanceof S))return new S;w.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function _($,P,W,G){return $<=15?P^W^G:$<=31?P&W|~P&G:$<=47?(P|~W)^G:$<=63?P&G|W&~G:P^(W|~G)}function N($){return $<=15?0:$<=31?1518500249:$<=47?1859775393:$<=63?2400959708:2840853838}function I($){return $<=15?1352829926:$<=31?1548603684:$<=47?1836072691:$<=63?2053994217:0}T.inherits(S,w),v.ripemd160=S,S.blockSize=512,S.outSize=160,S.hmacStrength=192,S.padLength=64,S.prototype._update=function($,P){for(var W=this.h[0],G=this.h[1],Q=this.h[2],te=this.h[3],se=this.h[4],ue=W,de=G,e=Q,a=te,o=se,r=0;r<80;r++){var t=q(O(j(W,_(r,G,Q,te),$[b[r]+P],N(r)),D[r]),se);W=se,se=te,te=O(Q,10),Q=G,G=t,t=q(O(j(ue,_(79-r,de,e,a),$[B[r]+P],I(r)),U[r]),o),ue=o,o=a,a=O(e,10),e=de,de=t}t=p(this.h[1],Q,a),this.h[1]=p(this.h[2],te,o),this.h[2]=p(this.h[3],se,ue),this.h[3]=p(this.h[4],W,de),this.h[4]=p(this.h[0],G,e),this.h[0]=t},S.prototype._digest=function($){return $==="hex"?T.toHex32(this.h,"little"):T.split32(this.h,"little")};var b=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],B=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],D=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],U=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},6815:(F,v,d)=>{var T=d(5606),A=d(8399).Transform,O=d(6698);function q(w){A.call(this,w),this._destroyed=!1}function p(w,S,_){_(null,w)}function j(w){return function(S,_,N){return typeof S=="function"&&(N=_,_=S,S={}),typeof _!="function"&&(_=p),typeof N!="function"&&(N=null),w(S,_,N)}}O(q,A),q.prototype.destroy=function(w){if(!this._destroyed){this._destroyed=!0;var S=this;T.nextTick(function(){w&&S.emit("error",w),S.emit("close")})}},F.exports=j(function(w,S,_){var N=new q(w);return N._transform=S,_&&(N._flush=_),N}),F.exports.ctor=j(function(w,S,_){function N(I){if(!(this instanceof N))return new N(I);this.options=Object.assign({},w,I),q.call(this,this.options)}return O(N,q),N.prototype._transform=S,_&&(N.prototype._flush=_),N}),F.exports.obj=j(function(w,S,_){var N=new q(Object.assign({objectMode:!0,highWaterMark:16},w));return N._transform=S,_&&(N._flush=_),N})},6843:(F,v,d)=>{var T=d(8287).Buffer,A=d(295);function O(q){return q._prev=q._cipher.encryptBlock(q._prev),q._prev}v.encrypt=function(q,p){for(;q._cache.length<p.length;)q._cache=T.concat([q._cache,O(q)]);var j=q._cache.slice(0,p.length);return q._cache=q._cache.slice(p.length),A(p,j)}},6866:F=>{F.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},6897:(F,v,d)=>{var T=d(453),A=d(41),O=d(592)(),q=d(5795),p=d(9675),j=T("%Math.floor%");F.exports=function(w,S){if(typeof w!="function")throw new p("`fn` is not a function");if(typeof S!="number"||S<0||S>4294967295||j(S)!==S)throw new p("`length` must be a positive 32-bit integer");var _=arguments.length>2&&!!arguments[2],N=!0,I=!0;if("length"in w&&q){var b=q(w,"length");b&&!b.configurable&&(N=!1),b&&!b.writable&&(I=!1)}return(N||I||!_)&&(O?A(w,"length",S,!0,!0):A(w,"length",S)),w}},6917:(F,v,d)=>{var T=d(5606),A=d(8287).Buffer,O=d(6688),q=d(6698),p=d(8399),j=v.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},w=v.IncomingMessage=function(S,_,N,I){var b=this;if(p.Readable.call(b),b._mode=N,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){T.nextTick(function(){b.emit("close")})}),N==="fetch"){if(b._fetchResponse=_,b.url=_.url,b.statusCode=_.status,b.statusMessage=_.statusText,_.headers.forEach(function(P,W){b.headers[W.toLowerCase()]=P,b.rawHeaders.push(W,P)}),O.writableStream){var B=new WritableStream({write:function(P){return I(!1),new Promise(function(W,G){b._destroyed?G():b.push(A.from(P))?W():b._resumeFetch=W})},close:function(){I(!0),b._destroyed||b.push(null)},abort:function(P){I(!0),b._destroyed||b.emit("error",P)}});try{return void _.body.pipeTo(B).catch(function(P){I(!0),b._destroyed||b.emit("error",P)})}catch{}}var D=_.body.getReader();(function P(){D.read().then(function(W){b._destroyed||(I(W.done),W.done?b.push(null):(b.push(A.from(W.value)),P()))}).catch(function(W){I(!0),b._destroyed||b.emit("error",W)})})()}else if(b._xhr=S,b._pos=0,b.url=S.responseURL,b.statusCode=S.status,b.statusMessage=S.statusText,S.getAllResponseHeaders().split(/\r?\n/).forEach(function(P){var W=P.match(/^([^:]+):\s*(.*)/);if(W){var G=W[1].toLowerCase();G==="set-cookie"?(b.headers[G]===void 0&&(b.headers[G]=[]),b.headers[G].push(W[2])):b.headers[G]!==void 0?b.headers[G]+=", "+W[2]:b.headers[G]=W[2],b.rawHeaders.push(W[1],W[2])}}),b._charset="x-user-defined",!O.overrideMimeType){var U=b.rawHeaders["mime-type"];if(U){var $=U.match(/;\s*charset=([^;])(;|$)/);$&&(b._charset=$[1].toLowerCase())}b._charset||(b._charset="utf-8")}};q(w,p.Readable),w.prototype._read=function(){var S=this._resumeFetch;S&&(this._resumeFetch=null,S())},w.prototype._onXHRProgress=function(S){var _=this,N=_._xhr,I=null;switch(_._mode){case"text":if((I=N.responseText).length>_._pos){var b=I.substr(_._pos);if(_._charset==="x-user-defined"){for(var B=A.alloc(b.length),D=0;D<b.length;D++)B[D]=255&b.charCodeAt(D);_.push(B)}else _.push(b,_._charset);_._pos=I.length}break;case"arraybuffer":if(N.readyState!==j.DONE||!N.response)break;I=N.response,_.push(A.from(new Uint8Array(I)));break;case"moz-chunked-arraybuffer":if(I=N.response,N.readyState!==j.LOADING||!I)break;_.push(A.from(new Uint8Array(I)));break;case"ms-stream":if(I=N.response,N.readyState!==j.LOADING)break;var U=new d.g.MSStreamReader;U.onprogress=function(){U.result.byteLength>_._pos&&(_.push(A.from(new Uint8Array(U.result.slice(_._pos)))),_._pos=U.result.byteLength)},U.onload=function(){S(!0),_.push(null)},U.readAsArrayBuffer(I)}_._xhr.readyState===j.DONE&&_._mode!=="ms-stream"&&(S(!0),_.push(null))}},6975:(F,v,d)=>{var T=d(2861).Buffer;function A(O,q,p){var j=O._cipher.encryptBlock(O._prev)[0]^q;return O._prev=T.concat([O._prev.slice(1),T.from([p?q:j])]),j}v.encrypt=function(O,q,p){for(var j=q.length,w=T.allocUnsafe(j),S=-1;++S<j;)w[S]=A(O,q[S],p);return w}},6983:(F,v,d)=>{var T=d(5606);function A(){throw new Error(`secure random number generation not supported by this browser
|
|
132
|
+
use chrome, FireFox or Internet Explorer 11`)}var O=d(2861),q=d(3209),p=O.Buffer,j=O.kMaxLength,w=d.g.crypto||d.g.msCrypto,S=Math.pow(2,32)-1;function _(b,B){if(typeof b!="number"||b!=b)throw new TypeError("offset must be a number");if(b>S||b<0)throw new TypeError("offset must be a uint32");if(b>j||b>B)throw new RangeError("offset out of range")}function N(b,B,D){if(typeof b!="number"||b!=b)throw new TypeError("size must be a number");if(b>S||b<0)throw new TypeError("size must be a uint32");if(b+B>D||b>j)throw new RangeError("buffer too small")}function I(b,B,D,U){if(T.browser){var $=b.buffer,P=new Uint8Array($,B,D);return w.getRandomValues(P),U?void T.nextTick(function(){U(null,b)}):b}if(!U)return q(D).copy(b,B),b;q(D,function(W,G){if(W)return U(W);G.copy(b,B),U(null,b)})}w&&w.getRandomValues||!T.browser?(v.randomFill=function(b,B,D,U){if(!(p.isBuffer(b)||b instanceof d.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof B=="function")U=B,B=0,D=b.length;else if(typeof D=="function")U=D,D=b.length-B;else if(typeof U!="function")throw new TypeError('"cb" argument must be a function');return _(B,b.length),N(D,B,b.length),I(b,B,D,U)},v.randomFillSync=function(b,B,D){if(B===void 0&&(B=0),!(p.isBuffer(b)||b instanceof d.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return _(B,b.length),D===void 0&&(D=b.length-B),N(D,B,b.length),I(b,B,D)}):(v.randomFill=A,v.randomFillSync=A)},7007:(F,v,d)=>{var T,A=d(6763),O=typeof Reflect=="object"?Reflect:null,q=O&&typeof O.apply=="function"?O.apply:function(P,W,G){return Function.prototype.apply.call(P,W,G)};T=O&&typeof O.ownKeys=="function"?O.ownKeys:Object.getOwnPropertySymbols?function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:function(P){return Object.getOwnPropertyNames(P)};var p=Number.isNaN||function(P){return P!=P};function j(){j.init.call(this)}F.exports=j,F.exports.once=function(P,W){return new Promise(function(G,Q){function te(ue){P.removeListener(W,se),Q(ue)}function se(){typeof P.removeListener=="function"&&P.removeListener("error",te),G([].slice.call(arguments))}$(P,W,se,{once:!0}),W!=="error"&&function(ue,de){typeof ue.on=="function"&&$(ue,"error",de,{once:!0})}(P,te)})},j.EventEmitter=j,j.prototype._events=void 0,j.prototype._eventsCount=0,j.prototype._maxListeners=void 0;var w=10;function S(P){if(typeof P!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof P)}function _(P){return P._maxListeners===void 0?j.defaultMaxListeners:P._maxListeners}function N(P,W,G,Q){var te,se,ue,de;if(S(G),(se=P._events)===void 0?(se=P._events=Object.create(null),P._eventsCount=0):(se.newListener!==void 0&&(P.emit("newListener",W,G.listener?G.listener:G),se=P._events),ue=se[W]),ue===void 0)ue=se[W]=G,++P._eventsCount;else if(typeof ue=="function"?ue=se[W]=Q?[G,ue]:[ue,G]:Q?ue.unshift(G):ue.push(G),(te=_(P))>0&&ue.length>te&&!ue.warned){ue.warned=!0;var e=new Error("Possible EventEmitter memory leak detected. "+ue.length+" "+String(W)+" listeners added. Use emitter.setMaxListeners() to increase limit");e.name="MaxListenersExceededWarning",e.emitter=P,e.type=W,e.count=ue.length,de=e,A&&A.warn&&A.warn(de)}return P}function I(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function b(P,W,G){var Q={fired:!1,wrapFn:void 0,target:P,type:W,listener:G},te=I.bind(Q);return te.listener=G,Q.wrapFn=te,te}function B(P,W,G){var Q=P._events;if(Q===void 0)return[];var te=Q[W];return te===void 0?[]:typeof te=="function"?G?[te.listener||te]:[te]:G?function(se){for(var ue=new Array(se.length),de=0;de<ue.length;++de)ue[de]=se[de].listener||se[de];return ue}(te):U(te,te.length)}function D(P){var W=this._events;if(W!==void 0){var G=W[P];if(typeof G=="function")return 1;if(G!==void 0)return G.length}return 0}function U(P,W){for(var G=new Array(W),Q=0;Q<W;++Q)G[Q]=P[Q];return G}function $(P,W,G,Q){if(typeof P.on=="function")Q.once?P.once(W,G):P.on(W,G);else{if(typeof P.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof P);P.addEventListener(W,function te(se){Q.once&&P.removeEventListener(W,te),G(se)})}}Object.defineProperty(j,"defaultMaxListeners",{enumerable:!0,get:function(){return w},set:function(P){if(typeof P!="number"||P<0||p(P))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+P+".");w=P}}),j.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},j.prototype.setMaxListeners=function(P){if(typeof P!="number"||P<0||p(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this},j.prototype.getMaxListeners=function(){return _(this)},j.prototype.emit=function(P){for(var W=[],G=1;G<arguments.length;G++)W.push(arguments[G]);var Q=P==="error",te=this._events;if(te!==void 0)Q=Q&&te.error===void 0;else if(!Q)return!1;if(Q){var se;if(W.length>0&&(se=W[0]),se instanceof Error)throw se;var ue=new Error("Unhandled error."+(se?" ("+se.message+")":""));throw ue.context=se,ue}var de=te[P];if(de===void 0)return!1;if(typeof de=="function")q(de,this,W);else{var e=de.length,a=U(de,e);for(G=0;G<e;++G)q(a[G],this,W)}return!0},j.prototype.addListener=function(P,W){return N(this,P,W,!1)},j.prototype.on=j.prototype.addListener,j.prototype.prependListener=function(P,W){return N(this,P,W,!0)},j.prototype.once=function(P,W){return S(W),this.on(P,b(this,P,W)),this},j.prototype.prependOnceListener=function(P,W){return S(W),this.prependListener(P,b(this,P,W)),this},j.prototype.removeListener=function(P,W){var G,Q,te,se,ue;if(S(W),(Q=this._events)===void 0)return this;if((G=Q[P])===void 0)return this;if(G===W||G.listener===W)--this._eventsCount==0?this._events=Object.create(null):(delete Q[P],Q.removeListener&&this.emit("removeListener",P,G.listener||W));else if(typeof G!="function"){for(te=-1,se=G.length-1;se>=0;se--)if(G[se]===W||G[se].listener===W){ue=G[se].listener,te=se;break}if(te<0)return this;te===0?G.shift():function(de,e){for(;e+1<de.length;e++)de[e]=de[e+1];de.pop()}(G,te),G.length===1&&(Q[P]=G[0]),Q.removeListener!==void 0&&this.emit("removeListener",P,ue||W)}return this},j.prototype.off=j.prototype.removeListener,j.prototype.removeAllListeners=function(P){var W,G,Q;if((G=this._events)===void 0)return this;if(G.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):G[P]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete G[P]),this;if(arguments.length===0){var te,se=Object.keys(G);for(Q=0;Q<se.length;++Q)(te=se[Q])!=="removeListener"&&this.removeAllListeners(te);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(W=G[P])=="function")this.removeListener(P,W);else if(W!==void 0)for(Q=W.length-1;Q>=0;Q--)this.removeListener(P,W[Q]);return this},j.prototype.listeners=function(P){return B(this,P,!0)},j.prototype.rawListeners=function(P){return B(this,P,!1)},j.listenerCount=function(P,W){return typeof P.listenerCount=="function"?P.listenerCount(W):D.call(P,W)},j.prototype.listenerCount=D,j.prototype.eventNames=function(){return this._eventsCount>0?T(this._events):[]}},7011:(F,v,d)=>{var T=v,A=d(8490),O=d(3349),q=d(4367);T.assert=O,T.toArray=q.toArray,T.zero2=q.zero2,T.toHex=q.toHex,T.encode=q.encode,T.getNAF=function(p,j,w){var S,_=new Array(Math.max(p.bitLength(),w)+1);for(S=0;S<_.length;S+=1)_[S]=0;var N=1<<j+1,I=p.clone();for(S=0;S<_.length;S++){var b,B=I.andln(N-1);I.isOdd()?(b=B>(N>>1)-1?(N>>1)-B:B,I.isubn(b)):b=0,_[S]=b,I.iushrn(1)}return _},T.getJSF=function(p,j){var w=[[],[]];p=p.clone(),j=j.clone();for(var S,_=0,N=0;p.cmpn(-_)>0||j.cmpn(-N)>0;){var I,b,B=p.andln(3)+_&3,D=j.andln(3)+N&3;B===3&&(B=-1),D===3&&(D=-1),I=1&B?(S=p.andln(7)+_&7)!=3&&S!==5||D!==2?B:-B:0,w[0].push(I),b=1&D?(S=j.andln(7)+N&7)!=3&&S!==5||B!==2?D:-D:0,w[1].push(b),2*_===I+1&&(_=1-_),2*N===b+1&&(N=1-N),p.iushrn(1),j.iushrn(1)}return w},T.cachedProperty=function(p,j,w){var S="_"+j;p.prototype[j]=function(){return this[S]!==void 0?this[S]:this[S]=w.call(this)}},T.parseBytes=function(p){return typeof p=="string"?T.toArray(p,"hex"):p},T.intFromLE=function(p){return new A(p,"hex","le")}},7019:(F,v,d)=>{v.TextEncoder=typeof TextEncoder<"u"?TextEncoder:d(537).TextEncoder,v.TextDecoder=typeof TextDecoder<"u"?TextDecoder:d(537).TextDecoder},7103:function(F,v,d){var T=d.g!==void 0&&d.g||typeof self<"u"&&self||window,A=Function.prototype.apply;function O(q,p){this._id=q,this._clearFn=p}v.setTimeout=function(){return new O(A.call(setTimeout,T,arguments),clearTimeout)},v.setInterval=function(){return new O(A.call(setInterval,T,arguments),clearInterval)},v.clearTimeout=v.clearInterval=function(q){q&&q.close()},O.prototype.unref=O.prototype.ref=function(){},O.prototype.close=function(){this._clearFn.call(T,this._id)},v.enroll=function(q,p){clearTimeout(q._idleTimeoutId),q._idleTimeout=p},v.unenroll=function(q){clearTimeout(q._idleTimeoutId),q._idleTimeout=-1},v._unrefActive=v.active=function(q){clearTimeout(q._idleTimeoutId);var p=q._idleTimeout;p>=0&&(q._idleTimeoutId=setTimeout(function(){q._onTimeout&&q._onTimeout()},p))},d(2791),v.setImmediate=typeof self<"u"&&self.setImmediate||d.g!==void 0&&d.g.setImmediate||this&&this.setImmediate,v.clearImmediate=typeof self<"u"&&self.clearImmediate||d.g!==void 0&&d.g.clearImmediate||this&&this.clearImmediate},7108:(F,v,d)=>{var T=d(6698),A=d(8276),O=d(6011),q=d(2802),p=d(6168);function j(w){p.call(this,"digest"),this._hash=w}T(j,p),j.prototype._update=function(w){this._hash.update(w)},j.prototype._final=function(){return this._hash.digest()},F.exports=function(w){return(w=w.toLowerCase())==="md5"?new A:w==="rmd160"||w==="ripemd160"?new O:new j(q(w))}},7119:F=>{F.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},7168:(F,v,d)=>{v.publicEncrypt=d(8902),v.privateDecrypt=d(7362),v.privateEncrypt=function(T,A){return v.publicEncrypt(T,A,!0)},v.publicDecrypt=function(T,A){return v.privateDecrypt(T,A,!0)}},7176:(F,v,d)=>{var T,A=d(3126),O=d(5795);try{T=[].__proto__===Array.prototype}catch(w){if(!w||typeof w!="object"||!("code"in w)||w.code!=="ERR_PROTO_ACCESS")throw w}var q=!!T&&O&&O(Object.prototype,"__proto__"),p=Object,j=p.getPrototypeOf;F.exports=q&&typeof q.get=="function"?A([q.get]):typeof j=="function"&&function(w){return j(w==null?w:p(w))}},7227:(F,v,d)=>{var T=d(6698),A=d(9673).Reporter,O=d(8287).Buffer;function q(j,w){A.call(this,w),O.isBuffer(j)?(this.base=j,this.offset=0,this.length=j.length):this.error("Input not Buffer")}function p(j,w){if(Array.isArray(j))this.length=0,this.value=j.map(function(S){return S instanceof p||(S=new p(S,w)),this.length+=S.length,S},this);else if(typeof j=="number"){if(!(0<=j&&j<=255))return w.error("non-byte EncoderBuffer value");this.value=j,this.length=1}else if(typeof j=="string")this.value=j,this.length=O.byteLength(j);else{if(!O.isBuffer(j))return w.error("Unsupported type: "+typeof j);this.value=j,this.length=j.length}}T(q,A),v.t=q,q.prototype.save=function(){return{offset:this.offset,reporter:A.prototype.save.call(this)}},q.prototype.restore=function(j){var w=new q(this.base);return w.offset=j.offset,w.length=this.offset,this.offset=j.offset,A.prototype.restore.call(this,j.reporter),w},q.prototype.isEmpty=function(){return this.offset===this.length},q.prototype.readUInt8=function(j){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(j||"DecoderBuffer overrun")},q.prototype.skip=function(j,w){if(!(this.offset+j<=this.length))return this.error(w||"DecoderBuffer overrun");var S=new q(this.base);return S._reporterState=this._reporterState,S.offset=this.offset,S.length=this.offset+j,this.offset+=j,S},q.prototype.raw=function(j){return this.base.slice(j?j.offset:this.offset,this.length)},v.d=p,p.prototype.join=function(j,w){return j||(j=new O(this.length)),w||(w=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(S){S.join(j,w),w+=S.length}):(typeof this.value=="number"?j[w]=this.value:typeof this.value=="string"?j.write(this.value,w):O.isBuffer(this.value)&&this.value.copy(j,w),w+=this.length)),j}},7244:(F,v,d)=>{var T=d(9092)(),A=d(6556)("Object.prototype.toString"),O=function(j){return!(T&&j&&typeof j=="object"&&Symbol.toStringTag in j)&&A(j)==="[object Arguments]"},q=function(j){return!!O(j)||j!==null&&typeof j=="object"&&"length"in j&&typeof j.length=="number"&&j.length>=0&&A(j)!=="[object Array]"&&"callee"in j&&A(j.callee)==="[object Function]"},p=function(){return O(arguments)}();O.isLegacyArguments=q,F.exports=p?O:q},7260:function(F){(function(){F.exports=function(){function v(){}return v.prototype.hasFeature=function(d,T){return!0},v.prototype.createDocumentType=function(d,T,A){throw new Error("This DOM method is not implemented.")},v.prototype.createDocument=function(d,T,A){throw new Error("This DOM method is not implemented.")},v.prototype.createHTMLDocument=function(d){throw new Error("This DOM method is not implemented.")},v.prototype.getFeature=function(d,T){throw new Error("This DOM method is not implemented.")},v}()}).call(this)},7307:(F,v,d)=>{function T(O,q){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!q||typeof q!="object"&&typeof q!="function"?O:q}d.r(v),d.d(v,{default:()=>A});const A=function(O){function q(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";(function(w,S){if(!(w instanceof S))throw new TypeError("Cannot call a class as a function")})(this,q);var j=T(this,(q.__proto__||Object.getPrototypeOf(q)).call(this,p));return Object.defineProperty(j,"message",{configurable:!0,enumerable:!1,value:p,writable:!0}),Object.defineProperty(j,"name",{configurable:!0,enumerable:!1,value:j.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(j,j.constructor),T(j)):(Object.defineProperty(j,"stack",{configurable:!0,enumerable:!1,value:new Error(p).stack,writable:!0}),j)}return function(p,j){if(typeof j!="function"&&j!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof j);p.prototype=Object.create(j&&j.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(p,j):p.__proto__=j)}(q,O),q}(function(O){function q(){O.apply(this,arguments)}return q.prototype=Object.create(O.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(q,O):q.__proto__=O,q}(Error))},7314:(F,v,d)=>{var T=d(5606),A=d(3225);function O(se){var ue=this;this.next=null,this.entry=null,this.finish=function(){(function(de,e){var a=de.entry;for(de.entry=null;a;){var o=a.callback;e.pendingcb--,o(void 0),a=a.next}e.corkedRequestsFree.next=de})(ue,se)}}F.exports=U;var q,p=!T.browser&&["v0.10","v0.9."].indexOf(T.version.slice(0,5))>-1?setImmediate:A.nextTick;U.WritableState=D;var j=Object.create(d(5622));j.inherits=d(6698);var w,S={deprecate:d(4643)},_=d(5567),N=d(4116).Buffer,I=(d.g!==void 0?d.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},b=d(6278);function B(){}function D(se,ue){q=q||d(6248),se=se||{};var de=ue instanceof q;this.objectMode=!!se.objectMode,de&&(this.objectMode=this.objectMode||!!se.writableObjectMode);var e=se.highWaterMark,a=se.writableHighWaterMark,o=this.objectMode?16:16384;this.highWaterMark=e||e===0?e:de&&(a||a===0)?a:o,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var r=se.decodeStrings===!1;this.decodeStrings=!r,this.defaultEncoding=se.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){(function(h,M){var H=h._writableState,K=H.sync,V=H.writecb;if(function(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0}(H),M)(function(X,ae,ie,ce,Y){--ae.pendingcb,ie?(A.nextTick(Y,ce),A.nextTick(te,X,ae),X._writableState.errorEmitted=!0,X.emit("error",ce)):(Y(ce),X._writableState.errorEmitted=!0,X.emit("error",ce),te(X,ae))})(h,H,K,M,V);else{var Z=G(H);Z||H.corked||H.bufferProcessing||!H.bufferedRequest||W(h,H),K?p(P,h,H,Z,V):P(h,H,Z,V)}})(ue,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new O(this)}function U(se){if(q=q||d(6248),!(w.call(U,this)||this instanceof q))return new U(se);this._writableState=new D(se,this),this.writable=!0,se&&(typeof se.write=="function"&&(this._write=se.write),typeof se.writev=="function"&&(this._writev=se.writev),typeof se.destroy=="function"&&(this._destroy=se.destroy),typeof se.final=="function"&&(this._final=se.final)),_.call(this)}function $(se,ue,de,e,a,o,r){ue.writelen=e,ue.writecb=r,ue.writing=!0,ue.sync=!0,de?se._writev(a,ue.onwrite):se._write(a,o,ue.onwrite),ue.sync=!1}function P(se,ue,de,e){de||function(a,o){o.length===0&&o.needDrain&&(o.needDrain=!1,a.emit("drain"))}(se,ue),ue.pendingcb--,e(),te(se,ue)}function W(se,ue){ue.bufferProcessing=!0;var de=ue.bufferedRequest;if(se._writev&&de&&de.next){var e=ue.bufferedRequestCount,a=new Array(e),o=ue.corkedRequestsFree;o.entry=de;for(var r=0,t=!0;de;)a[r]=de,de.isBuf||(t=!1),de=de.next,r+=1;a.allBuffers=t,$(se,ue,!0,ue.length,a,"",o.finish),ue.pendingcb++,ue.lastBufferedRequest=null,o.next?(ue.corkedRequestsFree=o.next,o.next=null):ue.corkedRequestsFree=new O(ue),ue.bufferedRequestCount=0}else{for(;de;){var h=de.chunk,M=de.encoding,H=de.callback;if($(se,ue,!1,ue.objectMode?1:h.length,h,M,H),de=de.next,ue.bufferedRequestCount--,ue.writing)break}de===null&&(ue.lastBufferedRequest=null)}ue.bufferedRequest=de,ue.bufferProcessing=!1}function G(se){return se.ending&&se.length===0&&se.bufferedRequest===null&&!se.finished&&!se.writing}function Q(se,ue){se._final(function(de){ue.pendingcb--,de&&se.emit("error",de),ue.prefinished=!0,se.emit("prefinish"),te(se,ue)})}function te(se,ue){var de=G(ue);return de&&(function(e,a){a.prefinished||a.finalCalled||(typeof e._final=="function"?(a.pendingcb++,a.finalCalled=!0,A.nextTick(Q,e,a)):(a.prefinished=!0,e.emit("prefinish")))}(se,ue),ue.pendingcb===0&&(ue.finished=!0,se.emit("finish"))),de}j.inherits(U,_),D.prototype.getBuffer=function(){for(var se=this.bufferedRequest,ue=[];se;)ue.push(se),se=se.next;return ue},function(){try{Object.defineProperty(D.prototype,"buffer",{get:S.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(w=Function.prototype[Symbol.hasInstance],Object.defineProperty(U,Symbol.hasInstance,{value:function(se){return!!w.call(this,se)||this===U&&se&&se._writableState instanceof D}})):w=function(se){return se instanceof this},U.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},U.prototype.write=function(se,ue,de){var e,a=this._writableState,o=!1,r=!a.objectMode&&(e=se,N.isBuffer(e)||e instanceof I);return r&&!N.isBuffer(se)&&(se=function(t){return N.from(t)}(se)),typeof ue=="function"&&(de=ue,ue=null),r?ue="buffer":ue||(ue=a.defaultEncoding),typeof de!="function"&&(de=B),a.ended?function(t,h){var M=new Error("write after end");t.emit("error",M),A.nextTick(h,M)}(this,de):(r||function(t,h,M,H){var K=!0,V=!1;return M===null?V=new TypeError("May not write null values to stream"):typeof M=="string"||M===void 0||h.objectMode||(V=new TypeError("Invalid non-string/buffer chunk")),V&&(t.emit("error",V),A.nextTick(H,V),K=!1),K}(this,a,se,de))&&(a.pendingcb++,o=function(t,h,M,H,K,V){if(!M){var Z=function(ce,Y,ne){return ce.objectMode||ce.decodeStrings===!1||typeof Y!="string"||(Y=N.from(Y,ne)),Y}(h,H,K);H!==Z&&(M=!0,K="buffer",H=Z)}var X=h.objectMode?1:H.length;h.length+=X;var ae=h.length<h.highWaterMark;if(ae||(h.needDrain=!0),h.writing||h.corked){var ie=h.lastBufferedRequest;h.lastBufferedRequest={chunk:H,encoding:K,isBuf:M,callback:V,next:null},ie?ie.next=h.lastBufferedRequest:h.bufferedRequest=h.lastBufferedRequest,h.bufferedRequestCount+=1}else $(t,h,!1,X,H,K,V);return ae}(this,a,r,se,ue,de)),o},U.prototype.cork=function(){this._writableState.corked++},U.prototype.uncork=function(){var se=this._writableState;se.corked&&(se.corked--,se.writing||se.corked||se.bufferProcessing||!se.bufferedRequest||W(this,se))},U.prototype.setDefaultEncoding=function(se){if(typeof se=="string"&&(se=se.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((se+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+se);return this._writableState.defaultEncoding=se,this},Object.defineProperty(U.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),U.prototype._write=function(se,ue,de){de(new Error("_write() is not implemented"))},U.prototype._writev=null,U.prototype.end=function(se,ue,de){var e=this._writableState;typeof se=="function"?(de=se,se=null,ue=null):typeof ue=="function"&&(de=ue,ue=null),se!=null&&this.write(se,ue),e.corked&&(e.corked=1,this.uncork()),e.ending||function(a,o,r){o.ending=!0,te(a,o),r&&(o.finished?A.nextTick(r):a.once("finish",r)),o.ended=!0,a.writable=!1}(this,e,de)},Object.defineProperty(U.prototype,"destroyed",{get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(se){this._writableState&&(this._writableState.destroyed=se)}}),U.prototype.destroy=b.destroy,U.prototype._undestroy=b.undestroy,U.prototype._destroy=function(se,ue){this.end(),ue(se)}},7332:(F,v,d)=>{var T=d(9404),A=d(3209),O=d(2861).Buffer;function q(j){var w,S=j.modulus.byteLength();do w=new T(A(S));while(w.cmp(j.modulus)>=0||!w.umod(j.prime1)||!w.umod(j.prime2));return w}function p(j,w){var S=function(G){var Q=q(G);return{blinder:Q.toRed(T.mont(G.modulus)).redPow(new T(G.publicExponent)).fromRed(),unblinder:Q.invm(G.modulus)}}(w),_=w.modulus.byteLength(),N=new T(j).mul(S.blinder).umod(w.modulus),I=N.toRed(T.mont(w.prime1)),b=N.toRed(T.mont(w.prime2)),B=w.coefficient,D=w.prime1,U=w.prime2,$=I.redPow(w.exponent1).fromRed(),P=b.redPow(w.exponent2).fromRed(),W=$.isub(P).imul(B).umod(D).imul(U);return P.iadd(W).imul(S.unblinder).umod(w.modulus).toArrayLike(O,"be",_)}p.getr=q,F.exports=p},7362:(F,v,d)=>{var T=d(8170),A=d(8206),O=d(2061),q=d(2509),p=d(7332),j=d(7108),w=d(9247),S=d(2861).Buffer;F.exports=function(_,N,I){var b;b=_.padding?_.padding:I?1:4;var B,D=T(_),U=D.modulus.byteLength();if(N.length>U||new q(N).cmp(D.modulus)>=0)throw new Error("decryption error");B=I?w(new q(N),D):p(N,D);var $=S.alloc(U-B.length);if(B=S.concat([$,B],U),b===4)return function(P,W){var G=P.modulus.byteLength(),Q=j("sha1").update(S.alloc(0)).digest(),te=Q.length;if(W[0]!==0)throw new Error("decryption error");var se=W.slice(1,te+1),ue=W.slice(te+1),de=O(se,A(ue,te)),e=O(ue,A(de,G-te-1));if(function(o,r){o=S.from(o),r=S.from(r);var t=0,h=o.length;o.length!==r.length&&(t++,h=Math.min(o.length,r.length));for(var M=-1;++M<h;)t+=o[M]^r[M];return t}(Q,e.slice(0,te)))throw new Error("decryption error");for(var a=te;e[a]===0;)a++;if(e[a++]!==1)throw new Error("decryption error");return e.slice(a)}(D,B);if(b===1)return function(P,W,G){for(var Q=W.slice(0,2),te=2,se=0;W[te++]!==0;)if(te>=W.length){se++;break}var ue=W.slice(2,te-1);if((Q.toString("hex")!=="0002"&&!G||Q.toString("hex")!=="0001"&&G)&&se++,ue.length<8&&se++,se)throw new Error("decryption error");return W.slice(te)}(0,B,I);if(b===3)return B;throw new Error("unknown padding")}},7363:(F,v,d)=>{var T=d(7568),A=d(6698);function O(q,p){this.name=q,this.body=p,this.decoders={},this.encoders={}}v.define=function(q,p){return new O(q,p)},O.prototype._createNamed=function(q){var p;try{p=d(8961).runInThisContext("(function "+this.name+`(entity) {
|
|
133
|
+
this._initNamed(entity);
|
|
134
|
+
})`)}catch{p=function(w){this._initNamed(w)}}return A(p,q),p.prototype._initNamed=function(j){q.call(this,j)},new p(this)},O.prototype._getDecoder=function(q){return q=q||"der",this.decoders.hasOwnProperty(q)||(this.decoders[q]=this._createNamed(T.decoders[q])),this.decoders[q]},O.prototype.decode=function(q,p,j){return this._getDecoder(p).decode(q,j)},O.prototype._getEncoder=function(q){return q=q||"der",this.encoders.hasOwnProperty(q)||(this.encoders[q]=this._createNamed(T.encoders[q])),this.encoders[q]},O.prototype.encode=function(q,p,j){return this._getEncoder(p).encode(q,j)}},7426:(F,v,d)=>{var T=d(3349),A=d(6698);function O(w,S){return(64512&w.charCodeAt(S))==55296&&!(S<0||S+1>=w.length)&&(64512&w.charCodeAt(S+1))==56320}function q(w){return(w>>>24|w>>>8&65280|w<<8&16711680|(255&w)<<24)>>>0}function p(w){return w.length===1?"0"+w:w}function j(w){return w.length===7?"0"+w:w.length===6?"00"+w:w.length===5?"000"+w:w.length===4?"0000"+w:w.length===3?"00000"+w:w.length===2?"000000"+w:w.length===1?"0000000"+w:w}v.inherits=A,v.toArray=function(w,S){if(Array.isArray(w))return w.slice();if(!w)return[];var _=[];if(typeof w=="string")if(S){if(S==="hex")for((w=w.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(w="0"+w),I=0;I<w.length;I+=2)_.push(parseInt(w[I]+w[I+1],16))}else for(var N=0,I=0;I<w.length;I++){var b=w.charCodeAt(I);b<128?_[N++]=b:b<2048?(_[N++]=b>>6|192,_[N++]=63&b|128):O(w,I)?(b=65536+((1023&b)<<10)+(1023&w.charCodeAt(++I)),_[N++]=b>>18|240,_[N++]=b>>12&63|128,_[N++]=b>>6&63|128,_[N++]=63&b|128):(_[N++]=b>>12|224,_[N++]=b>>6&63|128,_[N++]=63&b|128)}else for(I=0;I<w.length;I++)_[I]=0|w[I];return _},v.toHex=function(w){for(var S="",_=0;_<w.length;_++)S+=p(w[_].toString(16));return S},v.htonl=q,v.toHex32=function(w,S){for(var _="",N=0;N<w.length;N++){var I=w[N];S==="little"&&(I=q(I)),_+=j(I.toString(16))}return _},v.zero2=p,v.zero8=j,v.join32=function(w,S,_,N){var I=_-S;T(I%4==0);for(var b=new Array(I/4),B=0,D=S;B<b.length;B++,D+=4){var U;U=N==="big"?w[D]<<24|w[D+1]<<16|w[D+2]<<8|w[D+3]:w[D+3]<<24|w[D+2]<<16|w[D+1]<<8|w[D],b[B]=U>>>0}return b},v.split32=function(w,S){for(var _=new Array(4*w.length),N=0,I=0;N<w.length;N++,I+=4){var b=w[N];S==="big"?(_[I]=b>>>24,_[I+1]=b>>>16&255,_[I+2]=b>>>8&255,_[I+3]=255&b):(_[I+3]=b>>>24,_[I+2]=b>>>16&255,_[I+1]=b>>>8&255,_[I]=255&b)}return _},v.rotr32=function(w,S){return w>>>S|w<<32-S},v.rotl32=function(w,S){return w<<S|w>>>32-S},v.sum32=function(w,S){return w+S>>>0},v.sum32_3=function(w,S,_){return w+S+_>>>0},v.sum32_4=function(w,S,_,N){return w+S+_+N>>>0},v.sum32_5=function(w,S,_,N,I){return w+S+_+N+I>>>0},v.sum64=function(w,S,_,N){var I=w[S],b=N+w[S+1]>>>0,B=(b<N?1:0)+_+I;w[S]=B>>>0,w[S+1]=b},v.sum64_hi=function(w,S,_,N){return(S+N>>>0<S?1:0)+w+_>>>0},v.sum64_lo=function(w,S,_,N){return S+N>>>0},v.sum64_4_hi=function(w,S,_,N,I,b,B,D){var U=0,$=S;return U+=($=$+N>>>0)<S?1:0,U+=($=$+b>>>0)<b?1:0,w+_+I+B+(U+=($=$+D>>>0)<D?1:0)>>>0},v.sum64_4_lo=function(w,S,_,N,I,b,B,D){return S+N+b+D>>>0},v.sum64_5_hi=function(w,S,_,N,I,b,B,D,U,$){var P=0,W=S;return P+=(W=W+N>>>0)<S?1:0,P+=(W=W+b>>>0)<b?1:0,P+=(W=W+D>>>0)<D?1:0,w+_+I+B+U+(P+=(W=W+$>>>0)<$?1:0)>>>0},v.sum64_5_lo=function(w,S,_,N,I,b,B,D,U,$){return S+N+b+D+$>>>0},v.rotr64_hi=function(w,S,_){return(S<<32-_|w>>>_)>>>0},v.rotr64_lo=function(w,S,_){return(w<<32-_|S>>>_)>>>0},v.shr64_hi=function(w,S,_){return w>>>_},v.shr64_lo=function(w,S,_){return(w<<32-_|S>>>_)>>>0}},7447:(F,v,d)=>{var T=d(8490),A=d(2723),O=d(7011),q=d(480),p=d(5037),j=O.assert,w=d(1200),S=d(8545);function _(N){if(!(this instanceof _))return new _(N);typeof N=="string"&&(j(Object.prototype.hasOwnProperty.call(q,N),"Unknown curve "+N),N=q[N]),N instanceof q.PresetCurve&&(N={curve:N}),this.curve=N.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=N.curve.g,this.g.precompute(N.curve.n.bitLength()+1),this.hash=N.hash||N.curve.hash}F.exports=_,_.prototype.keyPair=function(N){return new w(this,N)},_.prototype.keyFromPrivate=function(N,I){return w.fromPrivate(this,N,I)},_.prototype.keyFromPublic=function(N,I){return w.fromPublic(this,N,I)},_.prototype.genKeyPair=function(N){N||(N={});for(var I=new A({hash:this.hash,pers:N.pers,persEnc:N.persEnc||"utf8",entropy:N.entropy||p(this.hash.hmacStrength),entropyEnc:N.entropy&&N.entropyEnc||"utf8",nonce:this.n.toArray()}),b=this.n.byteLength(),B=this.n.sub(new T(2));;){var D=new T(I.generate(b));if(!(D.cmp(B)>0))return D.iaddn(1),this.keyFromPrivate(D)}},_.prototype._truncateToN=function(N,I,b){var B;if(T.isBN(N)||typeof N=="number")B=(N=new T(N,16)).byteLength();else if(typeof N=="object")B=N.length,N=new T(N,16);else{var D=N.toString();B=D.length+1>>>1,N=new T(D,16)}typeof b!="number"&&(b=8*B);var U=b-this.n.bitLength();return U>0&&(N=N.ushrn(U)),!I&&N.cmp(this.n)>=0?N.sub(this.n):N},_.prototype.sign=function(N,I,b,B){if(typeof b=="object"&&(B=b,b=null),B||(B={}),typeof N!="string"&&typeof N!="number"&&!T.isBN(N)){j(typeof N=="object"&&N&&typeof N.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),j(N.length>>>0===N.length);for(var D=0;D<N.length;D++)j((255&N[D])===N[D])}I=this.keyFromPrivate(I,b),N=this._truncateToN(N,!1,B.msgBitLength),j(!N.isNeg(),"Can not sign a negative message");var U=this.n.byteLength(),$=I.getPrivate().toArray("be",U),P=N.toArray("be",U);j(new T(P).eq(N),"Can not sign message");for(var W=new A({hash:this.hash,entropy:$,nonce:P,pers:B.pers,persEnc:B.persEnc||"utf8"}),G=this.n.sub(new T(1)),Q=0;;Q++){var te=B.k?B.k(Q):new T(W.generate(this.n.byteLength()));if(!((te=this._truncateToN(te,!0)).cmpn(1)<=0||te.cmp(G)>=0)){var se=this.g.mul(te);if(!se.isInfinity()){var ue=se.getX(),de=ue.umod(this.n);if(de.cmpn(0)!==0){var e=te.invm(this.n).mul(de.mul(I.getPrivate()).iadd(N));if((e=e.umod(this.n)).cmpn(0)!==0){var a=(se.getY().isOdd()?1:0)|(ue.cmp(de)!==0?2:0);return B.canonical&&e.cmp(this.nh)>0&&(e=this.n.sub(e),a^=1),new S({r:de,s:e,recoveryParam:a})}}}}}},_.prototype.verify=function(N,I,b,B,D){D||(D={}),N=this._truncateToN(N,!1,D.msgBitLength),b=this.keyFromPublic(b,B);var U=(I=new S(I,"hex")).r,$=I.s;if(U.cmpn(1)<0||U.cmp(this.n)>=0||$.cmpn(1)<0||$.cmp(this.n)>=0)return!1;var P,W=$.invm(this.n),G=W.mul(N).umod(this.n),Q=W.mul(U).umod(this.n);return this.curve._maxwellTrick?!(P=this.g.jmulAdd(G,b.getPublic(),Q)).isInfinity()&&P.eqXToP(U):!(P=this.g.mulAdd(G,b.getPublic(),Q)).isInfinity()&&P.getX().umod(this.n).cmp(U)===0},_.prototype.recoverPubKey=function(N,I,b,B){j((3&b)===b,"The recovery param is more than two bits"),I=new S(I,B);var D=this.n,U=new T(N),$=I.r,P=I.s,W=1&b,G=b>>1;if($.cmp(this.curve.p.umod(this.curve.n))>=0&&G)throw new Error("Unable to find sencond key candinate");$=G?this.curve.pointFromX($.add(this.curve.n),W):this.curve.pointFromX($,W);var Q=I.r.invm(D),te=D.sub(U).mul(Q).umod(D),se=P.mul(Q).umod(D);return this.g.mulAdd(te,$,se)},_.prototype.getKeyRecoveryParam=function(N,I,b,B){if((I=new S(I,B)).recoveryParam!==null)return I.recoveryParam;for(var D=0;D<4;D++){var U;try{U=this.recoverPubKey(N,I,D)}catch{continue}if(U.eq(b))return D}throw new Error("Unable to find valid recovery factor")}},7457:function(F,v,d){(function(){var T,A={}.hasOwnProperty;T=d(468),F.exports=function(O){function q(p){q.__super__.constructor.call(this,p),this.value=""}return function(p,j){for(var w in j)A.call(j,w)&&(p[w]=j[w]);function S(){this.constructor=p}S.prototype=j.prototype,p.prototype=new S,p.__super__=j.prototype}(q,O),Object.defineProperty(q.prototype,"data",{get:function(){return this.value},set:function(p){return this.value=p||""}}),Object.defineProperty(q.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(q.prototype,"textContent",{get:function(){return this.value},set:function(p){return this.value=p||""}}),q.prototype.clone=function(){return Object.create(this)},q.prototype.substringData=function(p,j){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.appendData=function(p){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.insertData=function(p,j){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.deleteData=function(p,j){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.replaceData=function(p,j,w){throw new Error("This DOM method is not implemented."+this.debugInfo())},q.prototype.isEqualNode=function(p){return!!q.__super__.isEqualNode.apply(this,arguments).isEqualNode(p)&&p.data===this.data},q}(T)}).call(this)},7510:F=>{F.exports=function(){for(var d={},T=0;T<arguments.length;T++){var A=arguments[T];for(var O in A)v.call(A,O)&&(d[O]=A[O])}return d};var v=Object.prototype.hasOwnProperty},7526:(F,v)=>{v.byteLength=function(w){var S=p(w),_=S[0],N=S[1];return 3*(_+N)/4-N},v.toByteArray=function(w){var S,_,N=p(w),I=N[0],b=N[1],B=new A(function($,P,W){return 3*(P+W)/4-W}(0,I,b)),D=0,U=b>0?I-4:I;for(_=0;_<U;_+=4)S=T[w.charCodeAt(_)]<<18|T[w.charCodeAt(_+1)]<<12|T[w.charCodeAt(_+2)]<<6|T[w.charCodeAt(_+3)],B[D++]=S>>16&255,B[D++]=S>>8&255,B[D++]=255&S;return b===2&&(S=T[w.charCodeAt(_)]<<2|T[w.charCodeAt(_+1)]>>4,B[D++]=255&S),b===1&&(S=T[w.charCodeAt(_)]<<10|T[w.charCodeAt(_+1)]<<4|T[w.charCodeAt(_+2)]>>2,B[D++]=S>>8&255,B[D++]=255&S),B},v.fromByteArray=function(w){for(var S,_=w.length,N=_%3,I=[],b=16383,B=0,D=_-N;B<D;B+=b)I.push(j(w,B,B+b>D?D:B+b));return N===1?(S=w[_-1],I.push(d[S>>2]+d[S<<4&63]+"==")):N===2&&(S=(w[_-2]<<8)+w[_-1],I.push(d[S>>10]+d[S>>4&63]+d[S<<2&63]+"=")),I.join("")};for(var d=[],T=[],A=typeof Uint8Array<"u"?Uint8Array:Array,O="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",q=0;q<64;++q)d[q]=O[q],T[O.charCodeAt(q)]=q;function p(w){var S=w.length;if(S%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _=w.indexOf("=");return _===-1&&(_=S),[_,_===S?0:4-_%4]}function j(w,S,_){for(var N,I,b=[],B=S;B<_;B+=3)N=(w[B]<<16&16711680)+(w[B+1]<<8&65280)+(255&w[B+2]),b.push(d[(I=N)>>18&63]+d[I>>12&63]+d[I>>6&63]+d[63&I]);return b.join("")}T["-".charCodeAt(0)]=62,T["_".charCodeAt(0)]=63},7568:(F,v,d)=>{var T=v;T.bignum=d(2344),T.define=d(7363).define,T.base=d(9673),T.constants=d(2153),T.decoders=d(2853),T.encoders=d(4669)},7598:(F,v,d)=>{F.exports=d(1813)},7626:(F,v)=>{v.readUInt32BE=function(O,q){return(O[0+q]<<24|O[1+q]<<16|O[2+q]<<8|O[3+q])>>>0},v.writeUInt32BE=function(O,q,p){O[0+p]=q>>>24,O[1+p]=q>>>16&255,O[2+p]=q>>>8&255,O[3+p]=255&q},v.ip=function(O,q,p,j){for(var w=0,S=0,_=6;_>=0;_-=2){for(var N=0;N<=24;N+=8)w<<=1,w|=q>>>N+_&1;for(N=0;N<=24;N+=8)w<<=1,w|=O>>>N+_&1}for(_=6;_>=0;_-=2){for(N=1;N<=25;N+=8)S<<=1,S|=q>>>N+_&1;for(N=1;N<=25;N+=8)S<<=1,S|=O>>>N+_&1}p[j+0]=w>>>0,p[j+1]=S>>>0},v.rip=function(O,q,p,j){for(var w=0,S=0,_=0;_<4;_++)for(var N=24;N>=0;N-=8)w<<=1,w|=q>>>N+_&1,w<<=1,w|=O>>>N+_&1;for(_=4;_<8;_++)for(N=24;N>=0;N-=8)S<<=1,S|=q>>>N+_&1,S<<=1,S|=O>>>N+_&1;p[j+0]=w>>>0,p[j+1]=S>>>0},v.pc1=function(O,q,p,j){for(var w=0,S=0,_=7;_>=5;_--){for(var N=0;N<=24;N+=8)w<<=1,w|=q>>N+_&1;for(N=0;N<=24;N+=8)w<<=1,w|=O>>N+_&1}for(N=0;N<=24;N+=8)w<<=1,w|=q>>N+_&1;for(_=1;_<=3;_++){for(N=0;N<=24;N+=8)S<<=1,S|=q>>N+_&1;for(N=0;N<=24;N+=8)S<<=1,S|=O>>N+_&1}for(N=0;N<=24;N+=8)S<<=1,S|=O>>N+_&1;p[j+0]=w>>>0,p[j+1]=S>>>0},v.r28shl=function(O,q){return O<<q&268435455|O>>>28-q};var d=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];v.pc2=function(O,q,p,j){for(var w=0,S=0,_=d.length>>>1,N=0;N<_;N++)w<<=1,w|=O>>>d[N]&1;for(N=_;N<d.length;N++)S<<=1,S|=q>>>d[N]&1;p[j+0]=w>>>0,p[j+1]=S>>>0},v.expand=function(O,q,p){var j=0,w=0;j=(1&O)<<5|O>>>27;for(var S=23;S>=15;S-=4)j<<=6,j|=O>>>S&63;for(S=11;S>=3;S-=4)w|=O>>>S&63,w<<=6;w|=(31&O)<<1|O>>>31,q[p+0]=j>>>0,q[p+1]=w>>>0};var T=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];v.substitute=function(O,q){for(var p=0,j=0;j<4;j++)p<<=4,p|=T[64*j+(O>>>18-6*j&63)];for(j=0;j<4;j++)p<<=4,p|=T[256+64*j+(q>>>18-6*j&63)];return p>>>0};var A=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];v.permute=function(O){for(var q=0,p=0;p<A.length;p++)q<<=1,q|=O>>>A[p]&1;return q>>>0},v.padSplit=function(O,q,p){for(var j=O.toString(2);j.length<q;)j="0"+j;for(var w=[],S=0;S<q;S+=p)w.push(j.slice(S,S+p));return w.join(" ")}},7653:(F,v,d)=>{var T=d(8452),A=d(487),O=d(9211),q=d(9394),p=d(6576),j=A(q(),Object);T(j,{getPolyfill:q,implementation:O,shim:p}),F.exports=j},7696:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;A=d(468),T=d(1737),F.exports=function(q){function p(j,w,S){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing DTD element name. "+this.debugInfo());S||(S="(#PCDATA)"),Array.isArray(S)&&(S="("+S.join(",")+")"),this.name=this.stringify.name(w),this.type=T.ElementDeclaration,this.value=this.stringify.dtdElementValue(S)}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),p.prototype.toString=function(j){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(j))},p}(A)}).call(this)},7714:(F,v,d)=>{var T=d(7426),A=d(2287);function O(){if(!(this instanceof O))return new O;A.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}T.inherits(O,A),F.exports=O,O.blockSize=512,O.outSize=224,O.hmacStrength=192,O.padLength=64,O.prototype._digest=function(q){return q==="hex"?T.toHex32(this.h.slice(0,7),"big"):T.split32(this.h.slice(0,7),"big")}},7720:(F,v,d)=>{var T=d(4765),A=Object.prototype.hasOwnProperty,O=Array.isArray,q=function(){for(var w=[],S=0;S<256;++S)w.push("%"+((S<16?"0":"")+S.toString(16)).toUpperCase());return w}(),p=function(w,S){for(var _=S&&S.plainObjects?{__proto__:null}:{},N=0;N<w.length;++N)w[N]!==void 0&&(_[N]=w[N]);return _},j=1024;F.exports={arrayToObject:p,assign:function(w,S){return Object.keys(S).reduce(function(_,N){return _[N]=S[N],_},w)},combine:function(w,S){return[].concat(w,S)},compact:function(w){for(var S=[{obj:{o:w},prop:"o"}],_=[],N=0;N<S.length;++N)for(var I=S[N],b=I.obj[I.prop],B=Object.keys(b),D=0;D<B.length;++D){var U=B[D],$=b[U];typeof $=="object"&&$!==null&&_.indexOf($)===-1&&(S.push({obj:b,prop:U}),_.push($))}return function(P){for(;P.length>1;){var W=P.pop(),G=W.obj[W.prop];if(O(G)){for(var Q=[],te=0;te<G.length;++te)G[te]!==void 0&&Q.push(G[te]);W.obj[W.prop]=Q}}}(S),w},decode:function(w,S,_){var N=w.replace(/\+/g," ");if(_==="iso-8859-1")return N.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(N)}catch{return N}},encode:function(w,S,_,N,I){if(w.length===0)return w;var b=w;if(typeof w=="symbol"?b=Symbol.prototype.toString.call(w):typeof w!="string"&&(b=String(w)),_==="iso-8859-1")return escape(b).replace(/%u[0-9a-f]{4}/gi,function(G){return"%26%23"+parseInt(G.slice(2),16)+"%3B"});for(var B="",D=0;D<b.length;D+=j){for(var U=b.length>=j?b.slice(D,D+j):b,$=[],P=0;P<U.length;++P){var W=U.charCodeAt(P);W===45||W===46||W===95||W===126||W>=48&&W<=57||W>=65&&W<=90||W>=97&&W<=122||I===T.RFC1738&&(W===40||W===41)?$[$.length]=U.charAt(P):W<128?$[$.length]=q[W]:W<2048?$[$.length]=q[192|W>>6]+q[128|63&W]:W<55296||W>=57344?$[$.length]=q[224|W>>12]+q[128|W>>6&63]+q[128|63&W]:(P+=1,W=65536+((1023&W)<<10|1023&U.charCodeAt(P)),$[$.length]=q[240|W>>18]+q[128|W>>12&63]+q[128|W>>6&63]+q[128|63&W])}B+=$.join("")}return B},isBuffer:function(w){return!(!w||typeof w!="object"||!(w.constructor&&w.constructor.isBuffer&&w.constructor.isBuffer(w)))},isRegExp:function(w){return Object.prototype.toString.call(w)==="[object RegExp]"},maybeMap:function(w,S){if(O(w)){for(var _=[],N=0;N<w.length;N+=1)_.push(S(w[N]));return _}return S(w)},merge:function w(S,_,N){if(!_)return S;if(typeof _!="object"&&typeof _!="function"){if(O(S))S.push(_);else{if(!S||typeof S!="object")return[S,_];(N&&(N.plainObjects||N.allowPrototypes)||!A.call(Object.prototype,_))&&(S[_]=!0)}return S}if(!S||typeof S!="object")return[S].concat(_);var I=S;return O(S)&&!O(_)&&(I=p(S,N)),O(S)&&O(_)?(_.forEach(function(b,B){if(A.call(S,B)){var D=S[B];D&&typeof D=="object"&&b&&typeof b=="object"?S[B]=w(D,b,N):S.push(b)}else S[B]=b}),S):Object.keys(_).reduce(function(b,B){var D=_[B];return A.call(b,B)?b[B]=w(b[B],D,N):b[B]=D,b},I)}}},7758:(F,v,d)=>{var T,A=d(6048).F,O=A.ERR_MISSING_ARGS,q=A.ERR_STREAM_DESTROYED;function p(S){if(S)throw S}function j(S){S()}function w(S,_){return S.pipe(_)}F.exports=function(){for(var S=arguments.length,_=new Array(S),N=0;N<S;N++)_[N]=arguments[N];var I,b=function(D){return D.length?typeof D[D.length-1]!="function"?p:D.pop():p}(_);if(Array.isArray(_[0])&&(_=_[0]),_.length<2)throw new O("streams");var B=_.map(function(D,U){var $=U<_.length-1;return function(P,W,G,Q){Q=function(ue){var de=!1;return function(){de||(de=!0,ue.apply(void 0,arguments))}}(Q);var te=!1;P.on("close",function(){te=!0}),T===void 0&&(T=d(6238)),T(P,{readable:W,writable:G},function(ue){if(ue)return Q(ue);te=!0,Q()});var se=!1;return function(ue){if(!te&&!se)return se=!0,function(de){return de.setHeader&&typeof de.abort=="function"}(P)?P.abort():typeof P.destroy=="function"?P.destroy():void Q(ue||new q("pipe"))}}(D,$,U>0,function(P){I||(I=P),P&&B.forEach(j),$||(B.forEach(j),b(I))})});return _.reduce(w)}},7765:(F,v,d)=>{const T=d(5334),A=d(5334).buildOptions,O=d(361),q=d(7983);"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,T.nameRegexp),!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const p={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(D,U){return D},attrValueProcessor:function(D,U){return D},stopNodes:[],alwaysCreateTextNode:!1};v.defaultOptions=p;const j=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];function w(D,U,$){return U&&($.trimValues&&(U=U.trim()),U=_(U=$.tagValueProcessor(U,D),$.parseNodeValue,$.numParseOptions)),U}function S(D,U){if(U.ignoreNameSpace){const $=D.split(":"),P=D.charAt(0)==="/"?"/":"";if($[0]==="xmlns")return"";$.length===2&&(D=P+$[1])}return D}function _(D,U,$){if(U&&typeof D=="string"){const P=D.trim();return P==="true"||P!=="false"&&q(D,$)}return T.isExist(D)?D:""}v.props=j;const N=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function I(D,U){if(!U.ignoreAttributes&&typeof D=="string"){D=D.replace(/\r?\n/g," ");const $=T.getAllMatches(D,N),P=$.length,W={};for(let G=0;G<P;G++){const Q=S($[G][1],U);Q.length&&($[G][4]!==void 0?(U.trimValues&&($[G][4]=$[G][4].trim()),$[G][4]=U.attrValueProcessor($[G][4],Q),W[U.attributeNamePrefix+Q]=_($[G][4],U.parseAttributeValue,U.numParseOptions)):U.allowBooleanAttributes&&(W[U.attributeNamePrefix+Q]=!0))}if(!Object.keys(W).length)return;if(U.attrNodeName){const G={};return G[U.attrNodeName]=W,G}return W}}function b(D,U){let $,P="";for(let W=U;W<D.length;W++){let G=D[W];if($)G===$&&($="");else if(G==='"'||G==="'")$=G;else{if(G===">")return{data:P,index:W};G===" "&&(G=" ")}P+=G}}function B(D,U,$,P){const W=D.indexOf(U,$);if(W===-1)throw new Error(P);return W+U.length-1}v.getTraversalObj=function(D,U){D=D.replace(/\r\n?/g,`
|
|
135
|
+
`),U=A(U,p,j);const $=new O("!xml");let P=$,W="";for(let G=0;G<D.length;G++)if(D[G]==="<")if(D[G+1]==="/"){const Q=B(D,">",G,"Closing Tag is not closed.");let te=D.substring(G+2,Q).trim();if(U.ignoreNameSpace){const se=te.indexOf(":");se!==-1&&(te=te.substr(se+1))}P&&(P.val?P.val=T.getValue(P.val)+""+w(te,W,U):P.val=w(te,W,U)),U.stopNodes.length&&U.stopNodes.includes(P.tagname)&&(P.child=[],P.attrsMap==null&&(P.attrsMap={}),P.val=D.substr(P.startIndex+1,G-P.startIndex-1)),P=P.parent,W="",G=Q}else if(D[G+1]==="?")G=B(D,"?>",G,"Pi Tag is not closed.");else if(D.substr(G+1,3)==="!--")G=B(D,"-->",G,"Comment is not closed.");else if(D.substr(G+1,2)==="!D"){const Q=B(D,">",G,"DOCTYPE is not closed.");G=D.substring(G,Q).indexOf("[")>=0?D.indexOf("]>",G)+1:Q}else if(D.substr(G+1,2)==="!["){const Q=B(D,"]]>",G,"CDATA is not closed.")-2,te=D.substring(G+9,Q);if(W&&(P.val=T.getValue(P.val)+""+w(P.tagname,W,U),W=""),U.cdataTagName){const se=new O(U.cdataTagName,P,te);P.addChild(se),P.val=T.getValue(P.val)+U.cdataPositionChar,te&&(se.val=te)}else P.val=(P.val||"")+(te||"");G=Q+2}else{const Q=b(D,G+1);let te=Q.data;const se=Q.index,ue=te.indexOf(" ");let de=te,e=!0;if(ue!==-1&&(de=te.substr(0,ue).replace(/\s\s*$/,""),te=te.substr(ue+1)),U.ignoreNameSpace){const a=de.indexOf(":");a!==-1&&(de=de.substr(a+1),e=de!==Q.data.substr(a+1))}if(P&&W&&P.tagname!=="!xml"&&(P.val=T.getValue(P.val)+""+w(P.tagname,W,U)),te.length>0&&te.lastIndexOf("/")===te.length-1){de[de.length-1]==="/"?(de=de.substr(0,de.length-1),te=de):te=te.substr(0,te.length-1);const a=new O(de,P,"");de!==te&&(a.attrsMap=I(te,U)),P.addChild(a)}else{const a=new O(de,P);U.stopNodes.length&&U.stopNodes.includes(a.tagname)&&(a.startIndex=se),de!==te&&e&&(a.attrsMap=I(te,U)),P.addChild(a),P=a}W="",G=se}else W+=D[G];return $}},7766:(F,v,d)=>{var T=d(7426),A=d(6166),O=d(3349),q=T.rotr64_hi,p=T.rotr64_lo,j=T.shr64_hi,w=T.shr64_lo,S=T.sum64,_=T.sum64_hi,N=T.sum64_lo,I=T.sum64_4_hi,b=T.sum64_4_lo,B=T.sum64_5_hi,D=T.sum64_5_lo,U=A.BlockHash,$=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function P(){if(!(this instanceof P))return new P;U.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=$,this.W=new Array(160)}function W(r,t,h,M,H){var K=r&h^~r&H;return K<0&&(K+=4294967296),K}function G(r,t,h,M,H,K){var V=t&M^~t&K;return V<0&&(V+=4294967296),V}function Q(r,t,h,M,H){var K=r&h^r&H^h&H;return K<0&&(K+=4294967296),K}function te(r,t,h,M,H,K){var V=t&M^t&K^M&K;return V<0&&(V+=4294967296),V}function se(r,t){var h=q(r,t,28)^q(t,r,2)^q(t,r,7);return h<0&&(h+=4294967296),h}function ue(r,t){var h=p(r,t,28)^p(t,r,2)^p(t,r,7);return h<0&&(h+=4294967296),h}function de(r,t){var h=p(r,t,14)^p(r,t,18)^p(t,r,9);return h<0&&(h+=4294967296),h}function e(r,t){var h=q(r,t,1)^q(r,t,8)^j(r,t,7);return h<0&&(h+=4294967296),h}function a(r,t){var h=p(r,t,1)^p(r,t,8)^w(r,t,7);return h<0&&(h+=4294967296),h}function o(r,t){var h=p(r,t,19)^p(t,r,29)^w(r,t,6);return h<0&&(h+=4294967296),h}T.inherits(P,U),F.exports=P,P.blockSize=1024,P.outSize=512,P.hmacStrength=192,P.padLength=128,P.prototype._prepareBlock=function(r,t){for(var h=this.W,M=0;M<32;M++)h[M]=r[t+M];for(;M<h.length;M+=2){var H=(Y=h[M-4],ne=h[M-3],J=void 0,(J=q(Y,ne,19)^q(ne,Y,29)^j(Y,ne,6))<0&&(J+=4294967296),J),K=o(h[M-4],h[M-3]),V=h[M-14],Z=h[M-13],X=e(h[M-30],h[M-29]),ae=a(h[M-30],h[M-29]),ie=h[M-32],ce=h[M-31];h[M]=I(H,K,V,Z,X,ae,ie,ce),h[M+1]=b(H,K,V,Z,X,ae,ie,ce)}var Y,ne,J},P.prototype._update=function(r,t){this._prepareBlock(r,t);var h,M,H,K=this.W,V=this.h[0],Z=this.h[1],X=this.h[2],ae=this.h[3],ie=this.h[4],ce=this.h[5],Y=this.h[6],ne=this.h[7],J=this.h[8],ee=this.h[9],ge=this.h[10],pe=this.h[11],we=this.h[12],je=this.h[13],Me=this.h[14],Ae=this.h[15];O(this.k.length===K.length);for(var Ve=0;Ve<K.length;Ve+=2){var Ie=Me,Be=Ae,le=(H=void 0,(H=q(h=J,M=ee,14)^q(h,M,18)^q(M,h,9))<0&&(H+=4294967296),H),he=de(J,ee),fe=W(J,0,ge,0,we),ve=G(0,ee,0,pe,0,je),ye=this.k[Ve],xe=this.k[Ve+1],Le=K[Ve],Oe=K[Ve+1],Pe=B(Ie,Be,le,he,fe,ve,ye,xe,Le,Oe),wt=D(Ie,Be,le,he,fe,ve,ye,xe,Le,Oe);Ie=se(V,Z),Be=ue(V,Z),le=Q(V,0,X,0,ie),he=te(0,Z,0,ae,0,ce);var Ne=_(Ie,Be,le,he),Ue=N(Ie,Be,le,he);Me=we,Ae=je,we=ge,je=pe,ge=J,pe=ee,J=_(Y,ne,Pe,wt),ee=N(ne,ne,Pe,wt),Y=ie,ne=ce,ie=X,ce=ae,X=V,ae=Z,V=_(Pe,wt,Ne,Ue),Z=N(Pe,wt,Ne,Ue)}S(this.h,0,V,Z),S(this.h,2,X,ae),S(this.h,4,ie,ce),S(this.h,6,Y,ne),S(this.h,8,J,ee),S(this.h,10,ge,pe),S(this.h,12,we,je),S(this.h,14,Me,Ae)},P.prototype._digest=function(r){return r==="hex"?T.toHex32(this.h,"big"):T.split32(this.h,"big")}},7771:(F,v,d)=>{var T=d(8287).Buffer,A=d(537),O=d(8310).Transform;F.exports=function(p){return new q(p)};var q=F.exports.JSONStream=function(p){p=p||{},O.call(this,p),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=p.async||!1};A.inherits(q,O),q.prototype._transform=function(p,j,w){T.isBuffer(p)||(p=new T(p)),this._buffer&&(p=T.concat([this._buffer,p]));for(var S=0,_=0;++S<=p.length;)if(p[S]===10||S===p.length){var N;try{N=JSON.parse(p.slice(_,S))}catch{}N&&(this.push(N),N=null),p[S]===10&&(_=++S)}return this._buffer=p.slice(_),this._async?void setImmediate(w):void w()}},7790:()=>{},7816:(F,v,d)=>{var T=d(6698),A=d(392),O=d(2861).Buffer,q=[1518500249,1859775393,-1894007588,-899497514],p=new Array(80);function j(){this.init(),this._w=p,A.call(this,64,56)}function w(_){return _<<30|_>>>2}function S(_,N,I,b){return _===0?N&I|~N&b:_===2?N&I|N&b|I&b:N^I^b}T(j,A),j.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},j.prototype._update=function(_){for(var N,I=this._w,b=0|this._a,B=0|this._b,D=0|this._c,U=0|this._d,$=0|this._e,P=0;P<16;++P)I[P]=_.readInt32BE(4*P);for(;P<80;++P)I[P]=I[P-3]^I[P-8]^I[P-14]^I[P-16];for(var W=0;W<80;++W){var G=~~(W/20),Q=0|((N=b)<<5|N>>>27)+S(G,B,D,U)+$+I[W]+q[G];$=U,U=D,D=w(B),B=b,b=Q}this._a=b+this._a|0,this._b=B+this._b|0,this._c=D+this._c|0,this._d=U+this._d|0,this._e=$+this._e|0},j.prototype._hash=function(){var _=O.allocUnsafe(20);return _.writeInt32BE(0|this._a,0),_.writeInt32BE(0|this._b,4),_.writeInt32BE(0|this._c,8),_.writeInt32BE(0|this._d,12),_.writeInt32BE(0|this._e,16),_},F.exports=j},7952:(F,v,d)=>{var T=v;T.utils=d(7426),T.common=d(6166),T.sha=d(6229),T.ripemd=d(6784),T.hmac=d(8948),T.sha1=T.sha.sha1,T.sha256=T.sha.sha256,T.sha224=T.sha.sha224,T.sha384=T.sha.sha384,T.sha512=T.sha.sha512,T.ripemd160=T.ripemd.ripemd160},7965:()=>{},7975:(F,v,d)=>{var T=d(5606);function A(p){if(typeof p!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(p))}function O(p,j){for(var w,S="",_=0,N=-1,I=0,b=0;b<=p.length;++b){if(b<p.length)w=p.charCodeAt(b);else{if(w===47)break;w=47}if(w===47){if(!(N===b-1||I===1))if(N!==b-1&&I===2){if(S.length<2||_!==2||S.charCodeAt(S.length-1)!==46||S.charCodeAt(S.length-2)!==46){if(S.length>2){var B=S.lastIndexOf("/");if(B!==S.length-1){B===-1?(S="",_=0):_=(S=S.slice(0,B)).length-1-S.lastIndexOf("/"),N=b,I=0;continue}}else if(S.length===2||S.length===1){S="",_=0,N=b,I=0;continue}}j&&(S.length>0?S+="/..":S="..",_=2)}else S.length>0?S+="/"+p.slice(N+1,b):S=p.slice(N+1,b),_=b-N-1;N=b,I=0}else w===46&&I!==-1?++I:I=-1}return S}var q={resolve:function(){for(var p,j="",w=!1,S=arguments.length-1;S>=-1&&!w;S--){var _;S>=0?_=arguments[S]:(p===void 0&&(p=T.cwd()),_=p),A(_),_.length!==0&&(j=_+"/"+j,w=_.charCodeAt(0)===47)}return j=O(j,!w),w?j.length>0?"/"+j:"/":j.length>0?j:"."},normalize:function(p){if(A(p),p.length===0)return".";var j=p.charCodeAt(0)===47,w=p.charCodeAt(p.length-1)===47;return(p=O(p,!j)).length!==0||j||(p="."),p.length>0&&w&&(p+="/"),j?"/"+p:p},isAbsolute:function(p){return A(p),p.length>0&&p.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var p,j=0;j<arguments.length;++j){var w=arguments[j];A(w),w.length>0&&(p===void 0?p=w:p+="/"+w)}return p===void 0?".":q.normalize(p)},relative:function(p,j){if(A(p),A(j),p===j||(p=q.resolve(p))===(j=q.resolve(j)))return"";for(var w=1;w<p.length&&p.charCodeAt(w)===47;++w);for(var S=p.length,_=S-w,N=1;N<j.length&&j.charCodeAt(N)===47;++N);for(var I=j.length-N,b=_<I?_:I,B=-1,D=0;D<=b;++D){if(D===b){if(I>b){if(j.charCodeAt(N+D)===47)return j.slice(N+D+1);if(D===0)return j.slice(N+D)}else _>b&&(p.charCodeAt(w+D)===47?B=D:D===0&&(B=0));break}var U=p.charCodeAt(w+D);if(U!==j.charCodeAt(N+D))break;U===47&&(B=D)}var $="";for(D=w+B+1;D<=S;++D)D!==S&&p.charCodeAt(D)!==47||($.length===0?$+="..":$+="/..");return $.length>0?$+j.slice(N+B):(N+=B,j.charCodeAt(N)===47&&++N,j.slice(N))},_makeLong:function(p){return p},dirname:function(p){if(A(p),p.length===0)return".";for(var j=p.charCodeAt(0),w=j===47,S=-1,_=!0,N=p.length-1;N>=1;--N)if((j=p.charCodeAt(N))===47){if(!_){S=N;break}}else _=!1;return S===-1?w?"/":".":w&&S===1?"//":p.slice(0,S)},basename:function(p,j){if(j!==void 0&&typeof j!="string")throw new TypeError('"ext" argument must be a string');A(p);var w,S=0,_=-1,N=!0;if(j!==void 0&&j.length>0&&j.length<=p.length){if(j.length===p.length&&j===p)return"";var I=j.length-1,b=-1;for(w=p.length-1;w>=0;--w){var B=p.charCodeAt(w);if(B===47){if(!N){S=w+1;break}}else b===-1&&(N=!1,b=w+1),I>=0&&(B===j.charCodeAt(I)?--I==-1&&(_=w):(I=-1,_=b))}return S===_?_=b:_===-1&&(_=p.length),p.slice(S,_)}for(w=p.length-1;w>=0;--w)if(p.charCodeAt(w)===47){if(!N){S=w+1;break}}else _===-1&&(N=!1,_=w+1);return _===-1?"":p.slice(S,_)},extname:function(p){A(p);for(var j=-1,w=0,S=-1,_=!0,N=0,I=p.length-1;I>=0;--I){var b=p.charCodeAt(I);if(b!==47)S===-1&&(_=!1,S=I+1),b===46?j===-1?j=I:N!==1&&(N=1):j!==-1&&(N=-1);else if(!_){w=I+1;break}}return j===-1||S===-1||N===0||N===1&&j===S-1&&j===w+1?"":p.slice(j,S)},format:function(p){if(p===null||typeof p!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof p);return function(j,w){var S=w.dir||w.root,_=w.base||(w.name||"")+(w.ext||"");return S?S===w.root?S+_:S+"/"+_:_}(0,p)},parse:function(p){A(p);var j={root:"",dir:"",base:"",ext:"",name:""};if(p.length===0)return j;var w,S=p.charCodeAt(0),_=S===47;_?(j.root="/",w=1):w=0;for(var N=-1,I=0,b=-1,B=!0,D=p.length-1,U=0;D>=w;--D)if((S=p.charCodeAt(D))!==47)b===-1&&(B=!1,b=D+1),S===46?N===-1?N=D:U!==1&&(U=1):N!==-1&&(U=-1);else if(!B){I=D+1;break}return N===-1||b===-1||U===0||U===1&&N===b-1&&N===I+1?b!==-1&&(j.base=j.name=I===0&&_?p.slice(1,b):p.slice(I,b)):(I===0&&_?(j.name=p.slice(1,N),j.base=p.slice(1,b)):(j.name=p.slice(I,N),j.base=p.slice(I,b)),j.ext=p.slice(N,b)),I>0?j.dir=p.slice(0,I-1):_&&(j.dir="/"),j},sep:"/",delimiter:":",win32:null,posix:null};q.posix=q,F.exports=q},7983:F=>{const v=/^[-+]?0x[a-fA-F0-9]+$/,d=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,T={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};F.exports=function(A,O={}){if(O=Object.assign({},T,O),!A||typeof A!="string")return A;let q=A.trim();if(O.skipLike!==void 0&&O.skipLike.test(q))return A;if(A==="0")return 0;if(O.hex&&v.test(q))return function(j){if(parseInt)return parseInt(j,16);if(Number.parseInt)return Number.parseInt(j,16);if(window&&window.parseInt)return window.parseInt(j,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(q);if(q.search(/[eE]/)!==-1){const j=q.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(j){if(O.leadingZeros)q=(j[1]||"")+j[3];else if(j[2]!=="0"||j[3][0]!==".")return A;return O.eNotation?Number(q):A}return A}{const j=d.exec(q);if(j){const w=j[1],S=j[2];let _=((p=j[3])&&p.indexOf(".")!==-1&&((p=p.replace(/0+$/,""))==="."?p="0":p[0]==="."?p="0"+p:p[p.length-1]==="."&&(p=p.substr(0,p.length-1))),p);if(!O.leadingZeros&&S.length>0&&w&&q[2]!=="."||!O.leadingZeros&&S.length>0&&!w&&q[1]!==".")return A;if(O.leadingZeros&&S===A)return 0;{const N=Number(q),I=""+N;return I.search(/[eE]/)!==-1?O.eNotation?N:A:q.indexOf(".")!==-1?I==="0"&&_===""||I===_||w&&I==="-"+_?N:A:S?_===I||w+_===I?N:A:q===I||q===w+I?N:A}}return A}var p}},8002:F=>{F.exports=Math.min},8012:function(F,v,d){(function(){var T,A,O={}.hasOwnProperty;A=d(468),T=d(1737),F.exports=function(q){function p(j,w,S){if(p.__super__.constructor.call(this,j),w==null)throw new Error("Missing DTD notation name. "+this.debugInfo(w));if(!S.pubID&&!S.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(w));this.name=this.stringify.name(w),this.type=T.NotationDeclaration,S.pubID!=null&&(this.pubID=this.stringify.dtdPubID(S.pubID)),S.sysID!=null&&(this.sysID=this.stringify.dtdSysID(S.sysID))}return function(j,w){for(var S in w)O.call(w,S)&&(j[S]=w[S]);function _(){this.constructor=j}_.prototype=w.prototype,j.prototype=new _,j.__super__=w.prototype}(p,q),Object.defineProperty(p.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(p.prototype,"systemId",{get:function(){return this.sysID}}),p.prototype.toString=function(j){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(j))},p}(A)}).call(this)},8038:(F,v,d)=>{var T=d(5606);Object.defineProperty(v,"__esModule",{value:!0});var A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},O=typeof window<"u"&&window.document!==void 0,q=(typeof self>"u"?"undefined":A(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",p=T!==void 0&&T.versions!=null&&T.versions.node!=null;v.isBrowser=O,v.isWebWorker=q,v.isNode=p,v.isJsDom=function(){return typeof window<"u"&&window.name==="nodejs"||navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")}},8068:F=>{F.exports=SyntaxError},8075:(F,v,d)=>{var T=d(453),A=d(487),O=A(T("String.prototype.indexOf"));F.exports=function(q,p){var j=T(q,!!p);return typeof j=="function"&&O(q,".prototype.")>-1?A(j):j}},8078:(F,v,d)=>{var T=d(2861).Buffer,A=d(8276);F.exports=function(O,q,p,j){if(T.isBuffer(O)||(O=T.from(O,"binary")),q&&(T.isBuffer(q)||(q=T.from(q,"binary")),q.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var w=p/8,S=T.alloc(w),_=T.alloc(j||0),N=T.alloc(0);w>0||j>0;){var I=new A;I.update(N),I.update(O),q&&I.update(q),N=I.digest();var b=0;if(w>0){var B=S.length-w;b=Math.min(w,N.length),N.copy(S,B,0,b),w-=b}if(b<N.length&&j>0){var D=_.length-j,U=Math.min(j,N.length-b);N.copy(_,D,b,b+U),j-=U}}return N.fill(0),{key:S,iv:_}}},8170:(F,v,d)=>{var T=d(1137),A=d(5579),O=d(4101),q=d(1241),p=d(8396),j=d(2861).Buffer;function w(S){var _;typeof S!="object"||j.isBuffer(S)||(_=S.passphrase,S=S.key),typeof S=="string"&&(S=j.from(S));var N,I,b=O(S,_),B=b.tag,D=b.data;switch(B){case"CERTIFICATE":I=T.certificate.decode(D,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(I||(I=T.PublicKey.decode(D,"der")),N=I.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return T.RSAPublicKey.decode(I.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return I.subjectPrivateKey=I.subjectPublicKey,{type:"ec",data:I};case"1.2.840.10040.4.1":return I.algorithm.params.pub_key=T.DSAparam.decode(I.subjectPublicKey.data,"der"),{type:"dsa",data:I.algorithm.params};default:throw new Error("unknown key id "+N)}case"ENCRYPTED PRIVATE KEY":D=function(U,$){var P=U.algorithm.decrypt.kde.kdeparams.salt,W=parseInt(U.algorithm.decrypt.kde.kdeparams.iters.toString(),10),G=A[U.algorithm.decrypt.cipher.algo.join(".")],Q=U.algorithm.decrypt.cipher.iv,te=U.subjectPrivateKey,se=parseInt(G.split("-")[1],10)/8,ue=p.pbkdf2Sync($,P,W,se,"sha1"),de=q.createDecipheriv(G,ue,Q),e=[];return e.push(de.update(te)),e.push(de.final()),j.concat(e)}(D=T.EncryptedPrivateKey.decode(D,"der"),_);case"PRIVATE KEY":switch(N=(I=T.PrivateKey.decode(D,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return T.RSAPrivateKey.decode(I.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:I.algorithm.curve,privateKey:T.ECPrivateKey.decode(I.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return I.algorithm.params.priv_key=T.DSAparam.decode(I.subjectPrivateKey,"der"),{type:"dsa",params:I.algorithm.params};default:throw new Error("unknown key id "+N)}case"RSA PUBLIC KEY":return T.RSAPublicKey.decode(D,"der");case"RSA PRIVATE KEY":return T.RSAPrivateKey.decode(D,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:T.DSAPrivateKey.decode(D,"der")};case"EC PRIVATE KEY":return{curve:(D=T.ECPrivateKey.decode(D,"der")).parameters.value,privateKey:D.privateKey};default:throw new Error("unknown key type "+B)}}w.signature=T.signature,F.exports=w},8184:(F,v,d)=>{var T,A=d(6556),O=d(9721)(/^\s*(?:function)?\*/),q=d(9092)(),p=d(3628),j=A("Object.prototype.toString"),w=A("Function.prototype.toString");F.exports=function(S){if(typeof S!="function")return!1;if(O(w(S)))return!0;if(!q)return j(S)==="[object GeneratorFunction]";if(!p)return!1;if(T===void 0){var _=function(){if(!q)return!1;try{return Function("return function*() {}")()}catch{}}();T=!!_&&p(_)}return p(S)===T}},8206:(F,v,d)=>{var T=d(7108),A=d(2861).Buffer;function O(q){var p=A.allocUnsafe(4);return p.writeUInt32BE(q,0),p}F.exports=function(q,p){for(var j,w=A.alloc(0),S=0;w.length<p;)j=O(S++),w=A.concat([w,T("sha1").update(q).update(j).digest()]);return w.slice(0,p)}},8226:(F,v)=>{Object.defineProperty(v,"__esModule",{value:!0}),v.default=void 0,v.default=class{constructor({accessKey:d,secretKey:T,sessionToken:A}){this.accessKey=d,this.secretKey=T,this.sessionToken=A}setAccessKey(d){this.accessKey=d}getAccessKey(){return this.accessKey}setSecretKey(d){this.secretKey=d}getSecretKey(){return this.secretKey}setSessionToken(d){this.sessionToken=d}getSessionToken(){return this.sessionToken}get(){return{accessKey:this.accessKey,secretKey:this.secretKey,sessionToken:this.sessionToken}}}},8234:(F,v,d)=>{var T=d(8287).Buffer;Object.defineProperty(v,"__esModule",{value:!0}),v.bucketEncryptionTransformer=function(){return b(A.parseBucketEncryptionConfig)},v.bucketVersioningTransformer=function(){return b(A.parseBucketVersioningConfig)},v.getBucketNotificationTransformer=function(){return b(A.parseBucketNotification)},v.getBucketRegionTransformer=function(){return b(A.parseBucketRegion)},v.getCompleteMultipartTransformer=function(){return b(A.parseCompleteMultipart)},v.getConcater=b,v.getCopyObjectTransformer=function(){return b(A.parseCopyObject)},v.getErrorTransformer=function(B){var D,U,$=B.statusCode;$===301?(D="MovedPermanently",U="Moved Permanently"):$===307?(D="TemporaryRedirect",U="Are you using the correct endpoint URL?"):$===403?(D="AccessDenied",U="Valid and authorized credentials required"):$===404?(D="NotFound",U="Not Found"):$===405||$===501?(D="MethodNotAllowed",U="Method Not Allowed"):(D="UnknownError",U=`${$}`);var P={};return P.amzRequestid=B.headersSent?B.getHeader("x-amz-request-id"):null,P.amzId2=B.headersSent?B.getHeader("x-amz-id-2"):null,P.amzBucketRegion=B.headersSent?B.getHeader("x-amz-bucket-region"):null,b(W=>{let G,Q=()=>{var te=new S.S3Error(U);return te.code=D,O.each(P,(se,ue)=>{te[ue]=se}),te};if(!W)return Q();try{G=A.parseError(W,P)}catch{return Q()}return G},!0)},v.getHashSummer=function(B){var D=p.default.createHash("md5"),U=p.default.createHash("sha256");return q.default.obj(function($,P,W){B?U.update($):D.update($),W()},function($){var P="",W="";B?W=U.digest("hex"):P=D.digest("base64");var G={md5sum:P,sha256sum:W};this.push(G),this.push(null),$()})},v.getInitiateMultipartTransformer=function(){return b(A.parseInitiateMultipart)},v.getListBucketTransformer=function(){return b(A.parseListBucket)},v.getListMultipartTransformer=function(){return b(A.parseListMultipart)},v.getListObjectsTransformer=function(){return b(A.parseListObjects)},v.getListObjectsV2Transformer=function(){return b(A.parseListObjectsV2)},v.getListObjectsV2WithMetadataTransformer=function(){return b(A.parseListObjectsV2WithMetadata)},v.getListPartsTransformer=function(){return b(A.parseListParts)},v.getNotificationTransformer=function(){return new j.default},v.getTagsTransformer=function(){return b(A.parseTagging)},v.lifecycleTransformer=function(){return b(A.parseLifecycleConfig)},v.objectLegalHoldTransformer=function(){return b(A.parseObjectLegalHoldConfig)},v.objectLockTransformer=function(){return b(A.parseObjectLockConfig)},v.objectRetentionTransformer=function(){return b(A.parseObjectRetentionConfig)},v.replicationConfigTransformer=function(){return b(A.parseReplicationConfig)},v.selectObjectContentTransformer=function(){return b()},v.uploadPartTransformer=function(){return b(A.uploadPartParser)};var A=I(d(4348)),O=I(d(2543)),q=_(d(6815)),p=_(d(1565)),j=_(d(7771)),w=d(2541),S=I(d(6097));function _(B){return B&&B.__esModule?B:{default:B}}function N(B){if(typeof WeakMap!="function")return null;var D=new WeakMap,U=new WeakMap;return(N=function($){return $?U:D})(B)}function I(B,D){if(!D&&B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var U=N(D);if(U&&U.has(B))return U.get(B);var $={},P=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var W in B)if(W!=="default"&&Object.prototype.hasOwnProperty.call(B,W)){var G=P?Object.getOwnPropertyDescriptor(B,W):null;G&&(G.get||G.set)?Object.defineProperty($,W,G):$[W]=B[W]}return $.default=B,U&&U.set(B,$),$}function b(B,D){var U=!1,$=[];if(B&&!(0,w.isFunction)(B))throw new TypeError('parser should be of type "function"');return B&&(U=!0),(0,q.default)({objectMode:U},function(P,W,G){$.push(P),G()},function(P){if(D)return P(B(T.concat($).toString())),void this.push(null);$.length&&(B?this.push(B(T.concat($).toString())):this.push(T.concat($))),P()})}},8276:(F,v,d)=>{var T=d(6698),A=d(4729),O=d(2861).Buffer,q=new Array(16);function p(){A.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function j(I,b){return I<<b|I>>>32-b}function w(I,b,B,D,U,$,P){return j(I+(b&B|~b&D)+U+$|0,P)+b|0}function S(I,b,B,D,U,$,P){return j(I+(b&D|B&~D)+U+$|0,P)+b|0}function _(I,b,B,D,U,$,P){return j(I+(b^B^D)+U+$|0,P)+b|0}function N(I,b,B,D,U,$,P){return j(I+(B^(b|~D))+U+$|0,P)+b|0}T(p,A),p.prototype._update=function(){for(var I=q,b=0;b<16;++b)I[b]=this._block.readInt32LE(4*b);var B=this._a,D=this._b,U=this._c,$=this._d;B=w(B,D,U,$,I[0],3614090360,7),$=w($,B,D,U,I[1],3905402710,12),U=w(U,$,B,D,I[2],606105819,17),D=w(D,U,$,B,I[3],3250441966,22),B=w(B,D,U,$,I[4],4118548399,7),$=w($,B,D,U,I[5],1200080426,12),U=w(U,$,B,D,I[6],2821735955,17),D=w(D,U,$,B,I[7],4249261313,22),B=w(B,D,U,$,I[8],1770035416,7),$=w($,B,D,U,I[9],2336552879,12),U=w(U,$,B,D,I[10],4294925233,17),D=w(D,U,$,B,I[11],2304563134,22),B=w(B,D,U,$,I[12],1804603682,7),$=w($,B,D,U,I[13],4254626195,12),U=w(U,$,B,D,I[14],2792965006,17),B=S(B,D=w(D,U,$,B,I[15],1236535329,22),U,$,I[1],4129170786,5),$=S($,B,D,U,I[6],3225465664,9),U=S(U,$,B,D,I[11],643717713,14),D=S(D,U,$,B,I[0],3921069994,20),B=S(B,D,U,$,I[5],3593408605,5),$=S($,B,D,U,I[10],38016083,9),U=S(U,$,B,D,I[15],3634488961,14),D=S(D,U,$,B,I[4],3889429448,20),B=S(B,D,U,$,I[9],568446438,5),$=S($,B,D,U,I[14],3275163606,9),U=S(U,$,B,D,I[3],4107603335,14),D=S(D,U,$,B,I[8],1163531501,20),B=S(B,D,U,$,I[13],2850285829,5),$=S($,B,D,U,I[2],4243563512,9),U=S(U,$,B,D,I[7],1735328473,14),B=_(B,D=S(D,U,$,B,I[12],2368359562,20),U,$,I[5],4294588738,4),$=_($,B,D,U,I[8],2272392833,11),U=_(U,$,B,D,I[11],1839030562,16),D=_(D,U,$,B,I[14],4259657740,23),B=_(B,D,U,$,I[1],2763975236,4),$=_($,B,D,U,I[4],1272893353,11),U=_(U,$,B,D,I[7],4139469664,16),D=_(D,U,$,B,I[10],3200236656,23),B=_(B,D,U,$,I[13],681279174,4),$=_($,B,D,U,I[0],3936430074,11),U=_(U,$,B,D,I[3],3572445317,16),D=_(D,U,$,B,I[6],76029189,23),B=_(B,D,U,$,I[9],3654602809,4),$=_($,B,D,U,I[12],3873151461,11),U=_(U,$,B,D,I[15],530742520,16),B=N(B,D=_(D,U,$,B,I[2],3299628645,23),U,$,I[0],4096336452,6),$=N($,B,D,U,I[7],1126891415,10),U=N(U,$,B,D,I[14],2878612391,15),D=N(D,U,$,B,I[5],4237533241,21),B=N(B,D,U,$,I[12],1700485571,6),$=N($,B,D,U,I[3],2399980690,10),U=N(U,$,B,D,I[10],4293915773,15),D=N(D,U,$,B,I[1],2240044497,21),B=N(B,D,U,$,I[8],1873313359,6),$=N($,B,D,U,I[15],4264355552,10),U=N(U,$,B,D,I[6],2734768916,15),D=N(D,U,$,B,I[13],1309151649,21),B=N(B,D,U,$,I[4],4149444226,6),$=N($,B,D,U,I[11],3174756917,10),U=N(U,$,B,D,I[2],718787259,15),D=N(D,U,$,B,I[9],3951481745,21),this._a=this._a+B|0,this._b=this._b+D|0,this._c=this._c+U|0,this._d=this._d+$|0},p.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var I=O.allocUnsafe(16);return I.writeInt32LE(this._a,0),I.writeInt32LE(this._b,4),I.writeInt32LE(this._c,8),I.writeInt32LE(this._d,12),I},F.exports=p},8287:(F,v,d)=>{var T=d(6763);const A=d(7526),O=d(251),q=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;v.Buffer=w,v.SlowBuffer=function(le){return+le!=le&&(le=0),w.alloc(+le)},v.INSPECT_MAX_BYTES=50;const p=2147483647;function j(le){if(le>p)throw new RangeError('The value "'+le+'" is invalid for option "size"');const he=new Uint8Array(le);return Object.setPrototypeOf(he,w.prototype),he}function w(le,he,fe){if(typeof le=="number"){if(typeof he=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return N(le)}return S(le,he,fe)}function S(le,he,fe){if(typeof le=="string")return function(xe,Le){if(typeof Le=="string"&&Le!==""||(Le="utf8"),!w.isEncoding(Le))throw new TypeError("Unknown encoding: "+Le);const Oe=0|D(xe,Le);let Pe=j(Oe);const wt=Pe.write(xe,Le);return wt!==Oe&&(Pe=Pe.slice(0,wt)),Pe}(le,he);if(ArrayBuffer.isView(le))return function(xe){if(Me(xe,Uint8Array)){const Le=new Uint8Array(xe);return b(Le.buffer,Le.byteOffset,Le.byteLength)}return I(xe)}(le);if(le==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le);if(Me(le,ArrayBuffer)||le&&Me(le.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Me(le,SharedArrayBuffer)||le&&Me(le.buffer,SharedArrayBuffer)))return b(le,he,fe);if(typeof le=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ve=le.valueOf&&le.valueOf();if(ve!=null&&ve!==le)return w.from(ve,he,fe);const ye=function(xe){if(w.isBuffer(xe)){const Le=0|B(xe.length),Oe=j(Le);return Oe.length===0||xe.copy(Oe,0,0,Le),Oe}return xe.length!==void 0?typeof xe.length!="number"||Ae(xe.length)?j(0):I(xe):xe.type==="Buffer"&&Array.isArray(xe.data)?I(xe.data):void 0}(le);if(ye)return ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof le[Symbol.toPrimitive]=="function")return w.from(le[Symbol.toPrimitive]("string"),he,fe);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof le)}function _(le){if(typeof le!="number")throw new TypeError('"size" argument must be of type number');if(le<0)throw new RangeError('The value "'+le+'" is invalid for option "size"')}function N(le){return _(le),j(le<0?0:0|B(le))}function I(le){const he=le.length<0?0:0|B(le.length),fe=j(he);for(let ve=0;ve<he;ve+=1)fe[ve]=255&le[ve];return fe}function b(le,he,fe){if(he<0||le.byteLength<he)throw new RangeError('"offset" is outside of buffer bounds');if(le.byteLength<he+(fe||0))throw new RangeError('"length" is outside of buffer bounds');let ve;return ve=he===void 0&&fe===void 0?new Uint8Array(le):fe===void 0?new Uint8Array(le,he):new Uint8Array(le,he,fe),Object.setPrototypeOf(ve,w.prototype),ve}function B(le){if(le>=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|le}function D(le,he){if(w.isBuffer(le))return le.length;if(ArrayBuffer.isView(le)||Me(le,ArrayBuffer))return le.byteLength;if(typeof le!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof le);const fe=le.length,ve=arguments.length>2&&arguments[2]===!0;if(!ve&&fe===0)return 0;let ye=!1;for(;;)switch(he){case"ascii":case"latin1":case"binary":return fe;case"utf8":case"utf-8":return pe(le).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*fe;case"hex":return fe>>>1;case"base64":return we(le).length;default:if(ye)return ve?-1:pe(le).length;he=(""+he).toLowerCase(),ye=!0}}function U(le,he,fe){let ve=!1;if((he===void 0||he<0)&&(he=0),he>this.length||((fe===void 0||fe>this.length)&&(fe=this.length),fe<=0)||(fe>>>=0)<=(he>>>=0))return"";for(le||(le="utf8");;)switch(le){case"hex":return t(this,he,fe);case"utf8":case"utf-8":return e(this,he,fe);case"ascii":return o(this,he,fe);case"latin1":case"binary":return r(this,he,fe);case"base64":return de(this,he,fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h(this,he,fe);default:if(ve)throw new TypeError("Unknown encoding: "+le);le=(le+"").toLowerCase(),ve=!0}}function $(le,he,fe){const ve=le[he];le[he]=le[fe],le[fe]=ve}function P(le,he,fe,ve,ye){if(le.length===0)return-1;if(typeof fe=="string"?(ve=fe,fe=0):fe>2147483647?fe=2147483647:fe<-2147483648&&(fe=-2147483648),Ae(fe=+fe)&&(fe=ye?0:le.length-1),fe<0&&(fe=le.length+fe),fe>=le.length){if(ye)return-1;fe=le.length-1}else if(fe<0){if(!ye)return-1;fe=0}if(typeof he=="string"&&(he=w.from(he,ve)),w.isBuffer(he))return he.length===0?-1:W(le,he,fe,ve,ye);if(typeof he=="number")return he&=255,typeof Uint8Array.prototype.indexOf=="function"?ye?Uint8Array.prototype.indexOf.call(le,he,fe):Uint8Array.prototype.lastIndexOf.call(le,he,fe):W(le,[he],fe,ve,ye);throw new TypeError("val must be string, number or Buffer")}function W(le,he,fe,ve,ye){let xe,Le=1,Oe=le.length,Pe=he.length;if(ve!==void 0&&((ve=String(ve).toLowerCase())==="ucs2"||ve==="ucs-2"||ve==="utf16le"||ve==="utf-16le")){if(le.length<2||he.length<2)return-1;Le=2,Oe/=2,Pe/=2,fe/=2}function wt(Ne,Ue){return Le===1?Ne[Ue]:Ne.readUInt16BE(Ue*Le)}if(ye){let Ne=-1;for(xe=fe;xe<Oe;xe++)if(wt(le,xe)===wt(he,Ne===-1?0:xe-Ne)){if(Ne===-1&&(Ne=xe),xe-Ne+1===Pe)return Ne*Le}else Ne!==-1&&(xe-=xe-Ne),Ne=-1}else for(fe+Pe>Oe&&(fe=Oe-Pe),xe=fe;xe>=0;xe--){let Ne=!0;for(let Ue=0;Ue<Pe;Ue++)if(wt(le,xe+Ue)!==wt(he,Ue)){Ne=!1;break}if(Ne)return xe}return-1}function G(le,he,fe,ve){fe=Number(fe)||0;const ye=le.length-fe;ve?(ve=Number(ve))>ye&&(ve=ye):ve=ye;const xe=he.length;let Le;for(ve>xe/2&&(ve=xe/2),Le=0;Le<ve;++Le){const Oe=parseInt(he.substr(2*Le,2),16);if(Ae(Oe))return Le;le[fe+Le]=Oe}return Le}function Q(le,he,fe,ve){return je(pe(he,le.length-fe),le,fe,ve)}function te(le,he,fe,ve){return je(function(ye){const xe=[];for(let Le=0;Le<ye.length;++Le)xe.push(255&ye.charCodeAt(Le));return xe}(he),le,fe,ve)}function se(le,he,fe,ve){return je(we(he),le,fe,ve)}function ue(le,he,fe,ve){return je(function(ye,xe){let Le,Oe,Pe;const wt=[];for(let Ne=0;Ne<ye.length&&!((xe-=2)<0);++Ne)Le=ye.charCodeAt(Ne),Oe=Le>>8,Pe=Le%256,wt.push(Pe),wt.push(Oe);return wt}(he,le.length-fe),le,fe,ve)}function de(le,he,fe){return he===0&&fe===le.length?A.fromByteArray(le):A.fromByteArray(le.slice(he,fe))}function e(le,he,fe){fe=Math.min(le.length,fe);const ve=[];let ye=he;for(;ye<fe;){const xe=le[ye];let Le=null,Oe=xe>239?4:xe>223?3:xe>191?2:1;if(ye+Oe<=fe){let Pe,wt,Ne,Ue;switch(Oe){case 1:xe<128&&(Le=xe);break;case 2:Pe=le[ye+1],(192&Pe)==128&&(Ue=(31&xe)<<6|63&Pe,Ue>127&&(Le=Ue));break;case 3:Pe=le[ye+1],wt=le[ye+2],(192&Pe)==128&&(192&wt)==128&&(Ue=(15&xe)<<12|(63&Pe)<<6|63&wt,Ue>2047&&(Ue<55296||Ue>57343)&&(Le=Ue));break;case 4:Pe=le[ye+1],wt=le[ye+2],Ne=le[ye+3],(192&Pe)==128&&(192&wt)==128&&(192&Ne)==128&&(Ue=(15&xe)<<18|(63&Pe)<<12|(63&wt)<<6|63&Ne,Ue>65535&&Ue<1114112&&(Le=Ue))}}Le===null?(Le=65533,Oe=1):Le>65535&&(Le-=65536,ve.push(Le>>>10&1023|55296),Le=56320|1023&Le),ve.push(Le),ye+=Oe}return function(xe){const Le=xe.length;if(Le<=a)return String.fromCharCode.apply(String,xe);let Oe="",Pe=0;for(;Pe<Le;)Oe+=String.fromCharCode.apply(String,xe.slice(Pe,Pe+=a));return Oe}(ve)}v.kMaxLength=p,w.TYPED_ARRAY_SUPPORT=function(){try{const le=new Uint8Array(1),he={foo:function(){return 42}};return Object.setPrototypeOf(he,Uint8Array.prototype),Object.setPrototypeOf(le,he),le.foo()===42}catch{return!1}}(),w.TYPED_ARRAY_SUPPORT||T===void 0||typeof T.error!="function"||T.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(w.prototype,"parent",{enumerable:!0,get:function(){if(w.isBuffer(this))return this.buffer}}),Object.defineProperty(w.prototype,"offset",{enumerable:!0,get:function(){if(w.isBuffer(this))return this.byteOffset}}),w.poolSize=8192,w.from=function(le,he,fe){return S(le,he,fe)},Object.setPrototypeOf(w.prototype,Uint8Array.prototype),Object.setPrototypeOf(w,Uint8Array),w.alloc=function(le,he,fe){return function(ve,ye,xe){return _(ve),ve<=0?j(ve):ye!==void 0?typeof xe=="string"?j(ve).fill(ye,xe):j(ve).fill(ye):j(ve)}(le,he,fe)},w.allocUnsafe=function(le){return N(le)},w.allocUnsafeSlow=function(le){return N(le)},w.isBuffer=function(le){return le!=null&&le._isBuffer===!0&&le!==w.prototype},w.compare=function(le,he){if(Me(le,Uint8Array)&&(le=w.from(le,le.offset,le.byteLength)),Me(he,Uint8Array)&&(he=w.from(he,he.offset,he.byteLength)),!w.isBuffer(le)||!w.isBuffer(he))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(le===he)return 0;let fe=le.length,ve=he.length;for(let ye=0,xe=Math.min(fe,ve);ye<xe;++ye)if(le[ye]!==he[ye]){fe=le[ye],ve=he[ye];break}return fe<ve?-1:ve<fe?1:0},w.isEncoding=function(le){switch(String(le).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},w.concat=function(le,he){if(!Array.isArray(le))throw new TypeError('"list" argument must be an Array of Buffers');if(le.length===0)return w.alloc(0);let fe;if(he===void 0)for(he=0,fe=0;fe<le.length;++fe)he+=le[fe].length;const ve=w.allocUnsafe(he);let ye=0;for(fe=0;fe<le.length;++fe){let xe=le[fe];if(Me(xe,Uint8Array))ye+xe.length>ve.length?(w.isBuffer(xe)||(xe=w.from(xe)),xe.copy(ve,ye)):Uint8Array.prototype.set.call(ve,xe,ye);else{if(!w.isBuffer(xe))throw new TypeError('"list" argument must be an Array of Buffers');xe.copy(ve,ye)}ye+=xe.length}return ve},w.byteLength=D,w.prototype._isBuffer=!0,w.prototype.swap16=function(){const le=this.length;if(le%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let he=0;he<le;he+=2)$(this,he,he+1);return this},w.prototype.swap32=function(){const le=this.length;if(le%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let he=0;he<le;he+=4)$(this,he,he+3),$(this,he+1,he+2);return this},w.prototype.swap64=function(){const le=this.length;if(le%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let he=0;he<le;he+=8)$(this,he,he+7),$(this,he+1,he+6),$(this,he+2,he+5),$(this,he+3,he+4);return this},w.prototype.toString=function(){const le=this.length;return le===0?"":arguments.length===0?e(this,0,le):U.apply(this,arguments)},w.prototype.toLocaleString=w.prototype.toString,w.prototype.equals=function(le){if(!w.isBuffer(le))throw new TypeError("Argument must be a Buffer");return this===le||w.compare(this,le)===0},w.prototype.inspect=function(){let le="";const he=v.INSPECT_MAX_BYTES;return le=this.toString("hex",0,he).replace(/(.{2})/g,"$1 ").trim(),this.length>he&&(le+=" ... "),"<Buffer "+le+">"},q&&(w.prototype[q]=w.prototype.inspect),w.prototype.compare=function(le,he,fe,ve,ye){if(Me(le,Uint8Array)&&(le=w.from(le,le.offset,le.byteLength)),!w.isBuffer(le))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof le);if(he===void 0&&(he=0),fe===void 0&&(fe=le?le.length:0),ve===void 0&&(ve=0),ye===void 0&&(ye=this.length),he<0||fe>le.length||ve<0||ye>this.length)throw new RangeError("out of range index");if(ve>=ye&&he>=fe)return 0;if(ve>=ye)return-1;if(he>=fe)return 1;if(this===le)return 0;let xe=(ye>>>=0)-(ve>>>=0),Le=(fe>>>=0)-(he>>>=0);const Oe=Math.min(xe,Le),Pe=this.slice(ve,ye),wt=le.slice(he,fe);for(let Ne=0;Ne<Oe;++Ne)if(Pe[Ne]!==wt[Ne]){xe=Pe[Ne],Le=wt[Ne];break}return xe<Le?-1:Le<xe?1:0},w.prototype.includes=function(le,he,fe){return this.indexOf(le,he,fe)!==-1},w.prototype.indexOf=function(le,he,fe){return P(this,le,he,fe,!0)},w.prototype.lastIndexOf=function(le,he,fe){return P(this,le,he,fe,!1)},w.prototype.write=function(le,he,fe,ve){if(he===void 0)ve="utf8",fe=this.length,he=0;else if(fe===void 0&&typeof he=="string")ve=he,fe=this.length,he=0;else{if(!isFinite(he))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");he>>>=0,isFinite(fe)?(fe>>>=0,ve===void 0&&(ve="utf8")):(ve=fe,fe=void 0)}const ye=this.length-he;if((fe===void 0||fe>ye)&&(fe=ye),le.length>0&&(fe<0||he<0)||he>this.length)throw new RangeError("Attempt to write outside buffer bounds");ve||(ve="utf8");let xe=!1;for(;;)switch(ve){case"hex":return G(this,le,he,fe);case"utf8":case"utf-8":return Q(this,le,he,fe);case"ascii":case"latin1":case"binary":return te(this,le,he,fe);case"base64":return se(this,le,he,fe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ue(this,le,he,fe);default:if(xe)throw new TypeError("Unknown encoding: "+ve);ve=(""+ve).toLowerCase(),xe=!0}},w.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const a=4096;function o(le,he,fe){let ve="";fe=Math.min(le.length,fe);for(let ye=he;ye<fe;++ye)ve+=String.fromCharCode(127&le[ye]);return ve}function r(le,he,fe){let ve="";fe=Math.min(le.length,fe);for(let ye=he;ye<fe;++ye)ve+=String.fromCharCode(le[ye]);return ve}function t(le,he,fe){const ve=le.length;(!he||he<0)&&(he=0),(!fe||fe<0||fe>ve)&&(fe=ve);let ye="";for(let xe=he;xe<fe;++xe)ye+=Ve[le[xe]];return ye}function h(le,he,fe){const ve=le.slice(he,fe);let ye="";for(let xe=0;xe<ve.length-1;xe+=2)ye+=String.fromCharCode(ve[xe]+256*ve[xe+1]);return ye}function M(le,he,fe){if(le%1!=0||le<0)throw new RangeError("offset is not uint");if(le+he>fe)throw new RangeError("Trying to access beyond buffer length")}function H(le,he,fe,ve,ye,xe){if(!w.isBuffer(le))throw new TypeError('"buffer" argument must be a Buffer instance');if(he>ye||he<xe)throw new RangeError('"value" argument is out of bounds');if(fe+ve>le.length)throw new RangeError("Index out of range")}function K(le,he,fe,ve,ye){ne(he,ve,ye,le,fe,7);let xe=Number(he&BigInt(4294967295));le[fe++]=xe,xe>>=8,le[fe++]=xe,xe>>=8,le[fe++]=xe,xe>>=8,le[fe++]=xe;let Le=Number(he>>BigInt(32)&BigInt(4294967295));return le[fe++]=Le,Le>>=8,le[fe++]=Le,Le>>=8,le[fe++]=Le,Le>>=8,le[fe++]=Le,fe}function V(le,he,fe,ve,ye){ne(he,ve,ye,le,fe,7);let xe=Number(he&BigInt(4294967295));le[fe+7]=xe,xe>>=8,le[fe+6]=xe,xe>>=8,le[fe+5]=xe,xe>>=8,le[fe+4]=xe;let Le=Number(he>>BigInt(32)&BigInt(4294967295));return le[fe+3]=Le,Le>>=8,le[fe+2]=Le,Le>>=8,le[fe+1]=Le,Le>>=8,le[fe]=Le,fe+8}function Z(le,he,fe,ve,ye,xe){if(fe+ve>le.length)throw new RangeError("Index out of range");if(fe<0)throw new RangeError("Index out of range")}function X(le,he,fe,ve,ye){return he=+he,fe>>>=0,ye||Z(le,0,fe,4),O.write(le,he,fe,ve,23,4),fe+4}function ae(le,he,fe,ve,ye){return he=+he,fe>>>=0,ye||Z(le,0,fe,8),O.write(le,he,fe,ve,52,8),fe+8}w.prototype.slice=function(le,he){const fe=this.length;(le=~~le)<0?(le+=fe)<0&&(le=0):le>fe&&(le=fe),(he=he===void 0?fe:~~he)<0?(he+=fe)<0&&(he=0):he>fe&&(he=fe),he<le&&(he=le);const ve=this.subarray(le,he);return Object.setPrototypeOf(ve,w.prototype),ve},w.prototype.readUintLE=w.prototype.readUIntLE=function(le,he,fe){le>>>=0,he>>>=0,fe||M(le,he,this.length);let ve=this[le],ye=1,xe=0;for(;++xe<he&&(ye*=256);)ve+=this[le+xe]*ye;return ve},w.prototype.readUintBE=w.prototype.readUIntBE=function(le,he,fe){le>>>=0,he>>>=0,fe||M(le,he,this.length);let ve=this[le+--he],ye=1;for(;he>0&&(ye*=256);)ve+=this[le+--he]*ye;return ve},w.prototype.readUint8=w.prototype.readUInt8=function(le,he){return le>>>=0,he||M(le,1,this.length),this[le]},w.prototype.readUint16LE=w.prototype.readUInt16LE=function(le,he){return le>>>=0,he||M(le,2,this.length),this[le]|this[le+1]<<8},w.prototype.readUint16BE=w.prototype.readUInt16BE=function(le,he){return le>>>=0,he||M(le,2,this.length),this[le]<<8|this[le+1]},w.prototype.readUint32LE=w.prototype.readUInt32LE=function(le,he){return le>>>=0,he||M(le,4,this.length),(this[le]|this[le+1]<<8|this[le+2]<<16)+16777216*this[le+3]},w.prototype.readUint32BE=w.prototype.readUInt32BE=function(le,he){return le>>>=0,he||M(le,4,this.length),16777216*this[le]+(this[le+1]<<16|this[le+2]<<8|this[le+3])},w.prototype.readBigUInt64LE=Ie(function(le){J(le>>>=0,"offset");const he=this[le],fe=this[le+7];he!==void 0&&fe!==void 0||ee(le,this.length-8);const ve=he+256*this[++le]+65536*this[++le]+this[++le]*2**24,ye=this[++le]+256*this[++le]+65536*this[++le]+fe*2**24;return BigInt(ve)+(BigInt(ye)<<BigInt(32))}),w.prototype.readBigUInt64BE=Ie(function(le){J(le>>>=0,"offset");const he=this[le],fe=this[le+7];he!==void 0&&fe!==void 0||ee(le,this.length-8);const ve=he*2**24+65536*this[++le]+256*this[++le]+this[++le],ye=this[++le]*2**24+65536*this[++le]+256*this[++le]+fe;return(BigInt(ve)<<BigInt(32))+BigInt(ye)}),w.prototype.readIntLE=function(le,he,fe){le>>>=0,he>>>=0,fe||M(le,he,this.length);let ve=this[le],ye=1,xe=0;for(;++xe<he&&(ye*=256);)ve+=this[le+xe]*ye;return ye*=128,ve>=ye&&(ve-=Math.pow(2,8*he)),ve},w.prototype.readIntBE=function(le,he,fe){le>>>=0,he>>>=0,fe||M(le,he,this.length);let ve=he,ye=1,xe=this[le+--ve];for(;ve>0&&(ye*=256);)xe+=this[le+--ve]*ye;return ye*=128,xe>=ye&&(xe-=Math.pow(2,8*he)),xe},w.prototype.readInt8=function(le,he){return le>>>=0,he||M(le,1,this.length),128&this[le]?-1*(255-this[le]+1):this[le]},w.prototype.readInt16LE=function(le,he){le>>>=0,he||M(le,2,this.length);const fe=this[le]|this[le+1]<<8;return 32768&fe?4294901760|fe:fe},w.prototype.readInt16BE=function(le,he){le>>>=0,he||M(le,2,this.length);const fe=this[le+1]|this[le]<<8;return 32768&fe?4294901760|fe:fe},w.prototype.readInt32LE=function(le,he){return le>>>=0,he||M(le,4,this.length),this[le]|this[le+1]<<8|this[le+2]<<16|this[le+3]<<24},w.prototype.readInt32BE=function(le,he){return le>>>=0,he||M(le,4,this.length),this[le]<<24|this[le+1]<<16|this[le+2]<<8|this[le+3]},w.prototype.readBigInt64LE=Ie(function(le){J(le>>>=0,"offset");const he=this[le],fe=this[le+7];he!==void 0&&fe!==void 0||ee(le,this.length-8);const ve=this[le+4]+256*this[le+5]+65536*this[le+6]+(fe<<24);return(BigInt(ve)<<BigInt(32))+BigInt(he+256*this[++le]+65536*this[++le]+this[++le]*16777216)}),w.prototype.readBigInt64BE=Ie(function(le){J(le>>>=0,"offset");const he=this[le],fe=this[le+7];he!==void 0&&fe!==void 0||ee(le,this.length-8);const ve=(he<<24)+65536*this[++le]+256*this[++le]+this[++le];return(BigInt(ve)<<BigInt(32))+BigInt(this[++le]*16777216+65536*this[++le]+256*this[++le]+fe)}),w.prototype.readFloatLE=function(le,he){return le>>>=0,he||M(le,4,this.length),O.read(this,le,!0,23,4)},w.prototype.readFloatBE=function(le,he){return le>>>=0,he||M(le,4,this.length),O.read(this,le,!1,23,4)},w.prototype.readDoubleLE=function(le,he){return le>>>=0,he||M(le,8,this.length),O.read(this,le,!0,52,8)},w.prototype.readDoubleBE=function(le,he){return le>>>=0,he||M(le,8,this.length),O.read(this,le,!1,52,8)},w.prototype.writeUintLE=w.prototype.writeUIntLE=function(le,he,fe,ve){le=+le,he>>>=0,fe>>>=0,ve||H(this,le,he,fe,Math.pow(2,8*fe)-1,0);let ye=1,xe=0;for(this[he]=255≤++xe<fe&&(ye*=256);)this[he+xe]=le/ye&255;return he+fe},w.prototype.writeUintBE=w.prototype.writeUIntBE=function(le,he,fe,ve){le=+le,he>>>=0,fe>>>=0,ve||H(this,le,he,fe,Math.pow(2,8*fe)-1,0);let ye=fe-1,xe=1;for(this[he+ye]=255≤--ye>=0&&(xe*=256);)this[he+ye]=le/xe&255;return he+fe},w.prototype.writeUint8=w.prototype.writeUInt8=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,1,255,0),this[he]=255&le,he+1},w.prototype.writeUint16LE=w.prototype.writeUInt16LE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,2,65535,0),this[he]=255&le,this[he+1]=le>>>8,he+2},w.prototype.writeUint16BE=w.prototype.writeUInt16BE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,2,65535,0),this[he]=le>>>8,this[he+1]=255&le,he+2},w.prototype.writeUint32LE=w.prototype.writeUInt32LE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,4,4294967295,0),this[he+3]=le>>>24,this[he+2]=le>>>16,this[he+1]=le>>>8,this[he]=255&le,he+4},w.prototype.writeUint32BE=w.prototype.writeUInt32BE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,4,4294967295,0),this[he]=le>>>24,this[he+1]=le>>>16,this[he+2]=le>>>8,this[he+3]=255&le,he+4},w.prototype.writeBigUInt64LE=Ie(function(le,he=0){return K(this,le,he,BigInt(0),BigInt("0xffffffffffffffff"))}),w.prototype.writeBigUInt64BE=Ie(function(le,he=0){return V(this,le,he,BigInt(0),BigInt("0xffffffffffffffff"))}),w.prototype.writeIntLE=function(le,he,fe,ve){if(le=+le,he>>>=0,!ve){const Oe=Math.pow(2,8*fe-1);H(this,le,he,fe,Oe-1,-Oe)}let ye=0,xe=1,Le=0;for(this[he]=255≤++ye<fe&&(xe*=256);)le<0&&Le===0&&this[he+ye-1]!==0&&(Le=1),this[he+ye]=(le/xe|0)-Le&255;return he+fe},w.prototype.writeIntBE=function(le,he,fe,ve){if(le=+le,he>>>=0,!ve){const Oe=Math.pow(2,8*fe-1);H(this,le,he,fe,Oe-1,-Oe)}let ye=fe-1,xe=1,Le=0;for(this[he+ye]=255≤--ye>=0&&(xe*=256);)le<0&&Le===0&&this[he+ye+1]!==0&&(Le=1),this[he+ye]=(le/xe|0)-Le&255;return he+fe},w.prototype.writeInt8=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,1,127,-128),le<0&&(le=255+le+1),this[he]=255&le,he+1},w.prototype.writeInt16LE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,2,32767,-32768),this[he]=255&le,this[he+1]=le>>>8,he+2},w.prototype.writeInt16BE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,2,32767,-32768),this[he]=le>>>8,this[he+1]=255&le,he+2},w.prototype.writeInt32LE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,4,2147483647,-2147483648),this[he]=255&le,this[he+1]=le>>>8,this[he+2]=le>>>16,this[he+3]=le>>>24,he+4},w.prototype.writeInt32BE=function(le,he,fe){return le=+le,he>>>=0,fe||H(this,le,he,4,2147483647,-2147483648),le<0&&(le=4294967295+le+1),this[he]=le>>>24,this[he+1]=le>>>16,this[he+2]=le>>>8,this[he+3]=255&le,he+4},w.prototype.writeBigInt64LE=Ie(function(le,he=0){return K(this,le,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),w.prototype.writeBigInt64BE=Ie(function(le,he=0){return V(this,le,he,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),w.prototype.writeFloatLE=function(le,he,fe){return X(this,le,he,!0,fe)},w.prototype.writeFloatBE=function(le,he,fe){return X(this,le,he,!1,fe)},w.prototype.writeDoubleLE=function(le,he,fe){return ae(this,le,he,!0,fe)},w.prototype.writeDoubleBE=function(le,he,fe){return ae(this,le,he,!1,fe)},w.prototype.copy=function(le,he,fe,ve){if(!w.isBuffer(le))throw new TypeError("argument should be a Buffer");if(fe||(fe=0),ve||ve===0||(ve=this.length),he>=le.length&&(he=le.length),he||(he=0),ve>0&&ve<fe&&(ve=fe),ve===fe||le.length===0||this.length===0)return 0;if(he<0)throw new RangeError("targetStart out of bounds");if(fe<0||fe>=this.length)throw new RangeError("Index out of range");if(ve<0)throw new RangeError("sourceEnd out of bounds");ve>this.length&&(ve=this.length),le.length-he<ve-fe&&(ve=le.length-he+fe);const ye=ve-fe;return this===le&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(he,fe,ve):Uint8Array.prototype.set.call(le,this.subarray(fe,ve),he),ye},w.prototype.fill=function(le,he,fe,ve){if(typeof le=="string"){if(typeof he=="string"?(ve=he,he=0,fe=this.length):typeof fe=="string"&&(ve=fe,fe=this.length),ve!==void 0&&typeof ve!="string")throw new TypeError("encoding must be a string");if(typeof ve=="string"&&!w.isEncoding(ve))throw new TypeError("Unknown encoding: "+ve);if(le.length===1){const xe=le.charCodeAt(0);(ve==="utf8"&&xe<128||ve==="latin1")&&(le=xe)}}else typeof le=="number"?le&=255:typeof le=="boolean"&&(le=Number(le));if(he<0||this.length<he||this.length<fe)throw new RangeError("Out of range index");if(fe<=he)return this;let ye;if(he>>>=0,fe=fe===void 0?this.length:fe>>>0,le||(le=0),typeof le=="number")for(ye=he;ye<fe;++ye)this[ye]=le;else{const xe=w.isBuffer(le)?le:w.from(le,ve),Le=xe.length;if(Le===0)throw new TypeError('The value "'+le+'" is invalid for argument "value"');for(ye=0;ye<fe-he;++ye)this[ye+he]=xe[ye%Le]}return this};const ie={};function ce(le,he,fe){ie[le]=class extends fe{constructor(){super(),Object.defineProperty(this,"message",{value:he.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${le}]`,this.stack,delete this.name}get code(){return le}set code(ve){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ve,writable:!0})}toString(){return`${this.name} [${le}]: ${this.message}`}}}function Y(le){let he="",fe=le.length;const ve=le[0]==="-"?1:0;for(;fe>=ve+4;fe-=3)he=`_${le.slice(fe-3,fe)}${he}`;return`${le.slice(0,fe)}${he}`}function ne(le,he,fe,ve,ye,xe){if(le>fe||le<he){const Le=typeof he=="bigint"?"n":"";let Oe;throw Oe=xe>3?he===0||he===BigInt(0)?`>= 0${Le} and < 2${Le} ** ${8*(xe+1)}${Le}`:`>= -(2${Le} ** ${8*(xe+1)-1}${Le}) and < 2 ** ${8*(xe+1)-1}${Le}`:`>= ${he}${Le} and <= ${fe}${Le}`,new ie.ERR_OUT_OF_RANGE("value",Oe,le)}(function(Le,Oe,Pe){J(Oe,"offset"),Le[Oe]!==void 0&&Le[Oe+Pe]!==void 0||ee(Oe,Le.length-(Pe+1))})(ve,ye,xe)}function J(le,he){if(typeof le!="number")throw new ie.ERR_INVALID_ARG_TYPE(he,"number",le)}function ee(le,he,fe){throw Math.floor(le)!==le?(J(le,fe),new ie.ERR_OUT_OF_RANGE(fe||"offset","an integer",le)):he<0?new ie.ERR_BUFFER_OUT_OF_BOUNDS:new ie.ERR_OUT_OF_RANGE(fe||"offset",`>= ${fe?1:0} and <= ${he}`,le)}ce("ERR_BUFFER_OUT_OF_BOUNDS",function(le){return le?`${le} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ce("ERR_INVALID_ARG_TYPE",function(le,he){return`The "${le}" argument must be of type number. Received type ${typeof he}`},TypeError),ce("ERR_OUT_OF_RANGE",function(le,he,fe){let ve=`The value of "${le}" is out of range.`,ye=fe;return Number.isInteger(fe)&&Math.abs(fe)>4294967296?ye=Y(String(fe)):typeof fe=="bigint"&&(ye=String(fe),(fe>BigInt(2)**BigInt(32)||fe<-(BigInt(2)**BigInt(32)))&&(ye=Y(ye)),ye+="n"),ve+=` It must be ${he}. Received ${ye}`,ve},RangeError);const ge=/[^+/0-9A-Za-z-_]/g;function pe(le,he){let fe;he=he||1/0;const ve=le.length;let ye=null;const xe=[];for(let Le=0;Le<ve;++Le){if(fe=le.charCodeAt(Le),fe>55295&&fe<57344){if(!ye){if(fe>56319){(he-=3)>-1&&xe.push(239,191,189);continue}if(Le+1===ve){(he-=3)>-1&&xe.push(239,191,189);continue}ye=fe;continue}if(fe<56320){(he-=3)>-1&&xe.push(239,191,189),ye=fe;continue}fe=65536+(ye-55296<<10|fe-56320)}else ye&&(he-=3)>-1&&xe.push(239,191,189);if(ye=null,fe<128){if((he-=1)<0)break;xe.push(fe)}else if(fe<2048){if((he-=2)<0)break;xe.push(fe>>6|192,63&fe|128)}else if(fe<65536){if((he-=3)<0)break;xe.push(fe>>12|224,fe>>6&63|128,63&fe|128)}else{if(!(fe<1114112))throw new Error("Invalid code point");if((he-=4)<0)break;xe.push(fe>>18|240,fe>>12&63|128,fe>>6&63|128,63&fe|128)}}return xe}function we(le){return A.toByteArray(function(he){if((he=(he=he.split("=")[0]).trim().replace(ge,"")).length<2)return"";for(;he.length%4!=0;)he+="=";return he}(le))}function je(le,he,fe,ve){let ye;for(ye=0;ye<ve&&!(ye+fe>=he.length||ye>=le.length);++ye)he[ye+fe]=le[ye];return ye}function Me(le,he){return le instanceof he||le!=null&&le.constructor!=null&&le.constructor.name!=null&&le.constructor.name===he.name}function Ae(le){return le!=le}const Ve=function(){const le="0123456789abcdef",he=new Array(256);for(let fe=0;fe<16;++fe){const ve=16*fe;for(let ye=0;ye<16;++ye)he[ve+ye]=le[fe]+le[ye]}return he}();function Ie(le){return typeof BigInt>"u"?Be:le}function Be(){throw new Error("BigInt not supported")}},8292:(F,v,d)=>{const T=d(5334),A=d(5334).buildOptions,O=d(7765),q=function(p,j,w){let S="{";const _=Object.keys(p.child);for(let I=0;I<_.length;I++){const b=_[I];if(p.child[b]&&p.child[b].length>1){S+='"'+b+'" : [ ';for(let B in p.child[b])S+=q(p.child[b][B],j)+" , ";S=S.substr(0,S.length-1)+" ] "}else S+='"'+b+'" : '+q(p.child[b][0],j)+" ,"}return T.merge(S,p.attrsMap),T.isEmptyObject(S)?T.isExist(p.val)?p.val:"":(T.isExist(p.val)&&(typeof p.val!="string"||p.val!==""&&p.val!==j.cdataPositionChar)&&(S+='"'+j.textNodeName+'" : '+((N=p.val)!==!0&&N!==!1&&isNaN(N)?'"'+N+'"':N)),S[S.length-1]===","&&(S=S.substr(0,S.length-2)),S+"}");var N};v.convertToJsonString=function(p,j){return(j=A(j,O.defaultOptions,O.props)).indentBy=j.indentBy||"",q(p,j)}},8310:(F,v,d)=>{F.exports=A;var T=d(7007).EventEmitter;function A(){T.call(this)}d(6698)(A,T),A.Readable=d(5412),A.Writable=d(6708),A.Duplex=d(5382),A.Transform=d(4610),A.PassThrough=d(3600),A.finished=d(6238),A.pipeline=d(7758),A.Stream=A,A.prototype.pipe=function(O,q){var p=this;function j(B){O.writable&&O.write(B)===!1&&p.pause&&p.pause()}function w(){p.readable&&p.resume&&p.resume()}p.on("data",j),O.on("drain",w),O._isStdio||q&&q.end===!1||(p.on("end",_),p.on("close",N));var S=!1;function _(){S||(S=!0,O.end())}function N(){S||(S=!0,typeof O.destroy=="function"&&O.destroy())}function I(B){if(b(),T.listenerCount(this,"error")===0)throw B}function b(){p.removeListener("data",j),O.removeListener("drain",w),p.removeListener("end",_),p.removeListener("close",N),p.removeListener("error",I),O.removeListener("error",I),p.removeListener("end",b),p.removeListener("close",b),O.removeListener("close",b)}return p.on("error",I),O.on("error",I),p.on("end",b),p.on("close",b),O.on("close",b),O.emit("pipe",p),O}},8393:(F,v,d)=>{var T=d(8287),A=T.Buffer;function O(p,j){for(var w in p)j[w]=p[w]}function q(p,j,w){return A(p,j,w)}A.from&&A.alloc&&A.allocUnsafe&&A.allocUnsafeSlow?F.exports=T:(O(T,v),v.Buffer=q),O(A,q),q.from=function(p,j,w){if(typeof p=="number")throw new TypeError("Argument must not be a number");return A(p,j,w)},q.alloc=function(p,j,w){if(typeof p!="number")throw new TypeError("Argument must be a number");var S=A(p);return j!==void 0?typeof w=="string"?S.fill(j,w):S.fill(j):S.fill(0),S},q.allocUnsafe=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return A(p)},q.allocUnsafeSlow=function(p){if(typeof p!="number")throw new TypeError("Argument must be a number");return T.SlowBuffer(p)}},8396:(F,v,d)=>{v.pbkdf2=d(3832),v.pbkdf2Sync=d(1352)},8399:(F,v,d)=>{(v=F.exports=d(5412)).Stream=v,v.Readable=v,v.Writable=d(6708),v.Duplex=d(5382),v.Transform=d(4610),v.PassThrough=d(3600),v.finished=d(6238),v.pipeline=d(7758)},8403:(F,v,d)=>{var T=d(1189),A=d(1333)(),O=d(6556),q=d(9612),p=O("Array.prototype.push"),j=O("Object.prototype.propertyIsEnumerable"),w=A?q.getOwnPropertySymbols:null;F.exports=function(S,_){if(S==null)throw new TypeError("target must be an object");var N=q(S);if(arguments.length===1)return N;for(var I=1;I<arguments.length;++I){var b=q(arguments[I]),B=T(b),D=A&&(q.getOwnPropertySymbols||w);if(D)for(var U=D(b),$=0;$<U.length;++$){var P=U[$];j(b,P)&&p(B,P)}for(var W=0;W<B.length;++W){var G=B[W];if(j(b,G)){var Q=b[G];N[G]=Q}}}return N}},8452:(F,v,d)=>{var T=d(1189),A=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",O=Object.prototype.toString,q=Array.prototype.concat,p=d(41),j=d(592)(),w=function(_,N,I,b){if(N in _){if(b===!0){if(_[N]===I)return}else if(typeof(B=b)!="function"||O.call(B)!=="[object Function]"||!b())return}var B;j?p(_,N,I,!0):p(_,N,I)},S=function(_,N){var I=arguments.length>2?arguments[2]:{},b=T(N);A&&(b=q.call(b,Object.getOwnPropertySymbols(N)));for(var B=0;B<b.length;B+=1)w(_,b[B],N[b[B]],I[b[B]])};S.supportsDescriptors=!!j,F.exports=S},8490:function(F,v,d){(function(T,A){function O(e,a){if(!e)throw new Error(a||"Assertion failed")}function q(e,a){e.super_=a;var o=function(){};o.prototype=a.prototype,e.prototype=new o,e.prototype.constructor=e}function p(e,a,o){if(p.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,e!==null&&(a!=="le"&&a!=="be"||(o=a,a=10),this._init(e||0,a||10,o||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(9368).Buffer}catch{}function w(e,a){var o=e.charCodeAt(a);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function S(e,a,o){var r=w(e,o);return o-1>=a&&(r|=w(e,o-1)<<4),r}function _(e,a,o,r){for(var t=0,h=Math.min(e.length,o),M=a;M<h;M++){var H=e.charCodeAt(M)-48;t*=r,t+=H>=49?H-49+10:H>=17?H-17+10:H}return t}p.isBN=function(e){return e instanceof p||e!==null&&typeof e=="object"&&e.constructor.wordSize===p.wordSize&&Array.isArray(e.words)},p.max=function(e,a){return e.cmp(a)>0?e:a},p.min=function(e,a){return e.cmp(a)<0?e:a},p.prototype._init=function(e,a,o){if(typeof e=="number")return this._initNumber(e,a,o);if(typeof e=="object")return this._initArray(e,a,o);a==="hex"&&(a=16),O(a===(0|a)&&a>=2&&a<=36);var r=0;(e=e.toString().replace(/\s+/g,""))[0]==="-"&&(r++,this.negative=1),r<e.length&&(a===16?this._parseHex(e,r,o):(this._parseBase(e,a,r),o==="le"&&this._initArray(this.toArray(),a,o)))},p.prototype._initNumber=function(e,a,o){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(O(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),a,o)},p.prototype._initArray=function(e,a,o){if(O(typeof e.length=="number"),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h,M=0;if(o==="be")for(r=e.length-1,t=0;r>=0;r-=3)h=e[r]|e[r-1]<<8|e[r-2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);else if(o==="le")for(r=0,t=0;r<e.length;r+=3)h=e[r]|e[r+1]<<8|e[r+2]<<16,this.words[t]|=h<<M&67108863,this.words[t+1]=h>>>26-M&67108863,(M+=24)>=26&&(M-=26,t++);return this.strip()},p.prototype._parseHex=function(e,a,o){this.length=Math.ceil((e.length-a)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var t,h=0,M=0;if(o==="be")for(r=e.length-1;r>=a;r-=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;else for(r=(e.length-a)%2==0?a+1:a;r<e.length;r+=2)t=S(e,a,r)<<h,this.words[M]|=67108863&t,h>=18?(h-=18,M+=1,this.words[M]|=t>>>26):h+=8;this.strip()},p.prototype._parseBase=function(e,a,o){this.words=[0],this.length=1;for(var r=0,t=1;t<=67108863;t*=a)r++;r--,t=t/a|0;for(var h=e.length-o,M=h%r,H=Math.min(h,h-M)+o,K=0,V=o;V<H;V+=r)K=_(e,V,V+r,a),this.imuln(t),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K);if(M!==0){var Z=1;for(K=_(e,V,e.length,a),V=0;V<M;V++)Z*=a;this.imuln(Z),this.words[0]+K<67108864?this.words[0]+=K:this._iaddn(K)}this.strip()},p.prototype.copy=function(e){e.words=new Array(this.length);for(var a=0;a<this.length;a++)e.words[a]=this.words[a];e.length=this.length,e.negative=this.negative,e.red=this.red},p.prototype.clone=function(){var e=new p(null);return this.copy(e),e},p.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},p.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},p.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],b=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function B(e,a,o){o.negative=a.negative^e.negative;var r=e.length+a.length|0;o.length=r,r=r-1|0;var t=0|e.words[0],h=0|a.words[0],M=t*h,H=67108863&M,K=M/67108864|0;o.words[0]=H;for(var V=1;V<r;V++){for(var Z=K>>>26,X=67108863&K,ae=Math.min(V,a.length-1),ie=Math.max(0,V-e.length+1);ie<=ae;ie++){var ce=V-ie|0;Z+=(M=(t=0|e.words[ce])*(h=0|a.words[ie])+X)/67108864|0,X=67108863&M}o.words[V]=0|X,K=0|Z}return K!==0?o.words[V]=0|K:o.length--,o.strip()}p.prototype.toString=function(e,a){var o;if(a=0|a||1,(e=e||10)===16||e==="hex"){o="";for(var r=0,t=0,h=0;h<this.length;h++){var M=this.words[h],H=(16777215&(M<<r|t)).toString(16);t=M>>>24-r&16777215,(r+=2)>=26&&(r-=26,h--),o=t!==0||h!==this.length-1?N[6-H.length]+H+o:H+o}for(t!==0&&(o=t.toString(16)+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(e===(0|e)&&e>=2&&e<=36){var K=I[e],V=b[e];o="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var X=Z.modn(V).toString(e);o=(Z=Z.idivn(V)).isZero()?X+o:N[K-X.length]+X+o}for(this.isZero()&&(o="0"+o);o.length%a!=0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var e=this.words[0];return this.length===2?e+=67108864*this.words[1]:this.length===3&&this.words[2]===1?e+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-e:e},p.prototype.toJSON=function(){return this.toString(16)},p.prototype.toBuffer=function(e,a){return O(j!==void 0),this.toArrayLike(j,e,a)},p.prototype.toArray=function(e,a){return this.toArrayLike(Array,e,a)},p.prototype.toArrayLike=function(e,a,o){var r=this.byteLength(),t=o||Math.max(1,r);O(r<=t,"byte array longer than desired length"),O(t>0,"Requested array length <= 0"),this.strip();var h,M,H=a==="le",K=new e(t),V=this.clone();if(H){for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[M]=h;for(;M<t;M++)K[M]=0}else{for(M=0;M<t-r;M++)K[M]=0;for(M=0;!V.isZero();M++)h=V.andln(255),V.iushrn(8),K[t-M-1]=h}return K},Math.clz32?p.prototype._countBits=function(e){return 32-Math.clz32(e)}:p.prototype._countBits=function(e){var a=e,o=0;return a>=4096&&(o+=13,a>>>=13),a>=64&&(o+=7,a>>>=7),a>=8&&(o+=4,a>>>=4),a>=2&&(o+=2,a>>>=2),o+a},p.prototype._zeroBits=function(e){if(e===0)return 26;var a=e,o=0;return 8191&a||(o+=13,a>>>=13),127&a||(o+=7,a>>>=7),15&a||(o+=4,a>>>=4),3&a||(o+=2,a>>>=2),1&a||o++,o},p.prototype.bitLength=function(){var e=this.words[this.length-1],a=this._countBits(e);return 26*(this.length-1)+a},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,a=0;a<this.length;a++){var o=this._zeroBits(this.words[a]);if(e+=o,o!==26)break}return e},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(e){return this.negative!==0?this.abs().inotn(e).iaddn(1):this.clone()},p.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var a=0;a<e.length;a++)this.words[a]=this.words[a]|e.words[a];return this.strip()},p.prototype.ior=function(e){return O(!(this.negative|e.negative)),this.iuor(e)},p.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},p.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},p.prototype.iuand=function(e){var a;a=this.length>e.length?e:this;for(var o=0;o<a.length;o++)this.words[o]=this.words[o]&e.words[o];return this.length=a.length,this.strip()},p.prototype.iand=function(e){return O(!(this.negative|e.negative)),this.iuand(e)},p.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},p.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},p.prototype.iuxor=function(e){var a,o;this.length>e.length?(a=this,o=e):(a=e,o=this);for(var r=0;r<o.length;r++)this.words[r]=a.words[r]^o.words[r];if(this!==a)for(;r<a.length;r++)this.words[r]=a.words[r];return this.length=a.length,this.strip()},p.prototype.ixor=function(e){return O(!(this.negative|e.negative)),this.iuxor(e)},p.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},p.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},p.prototype.inotn=function(e){O(typeof e=="number"&&e>=0);var a=0|Math.ceil(e/26),o=e%26;this._expand(a),o>0&&a--;for(var r=0;r<a;r++)this.words[r]=67108863&~this.words[r];return o>0&&(this.words[r]=~this.words[r]&67108863>>26-o),this.strip()},p.prototype.notn=function(e){return this.clone().inotn(e)},p.prototype.setn=function(e,a){O(typeof e=="number"&&e>=0);var o=e/26|0,r=e%26;return this._expand(o+1),this.words[o]=a?this.words[o]|1<<r:this.words[o]&~(1<<r),this.strip()},p.prototype.iadd=function(e){var a,o,r;if(this.negative!==0&&e.negative===0)return this.negative=0,a=this.isub(e),this.negative^=1,this._normSign();if(this.negative===0&&e.negative!==0)return e.negative=0,a=this.isub(e),e.negative=1,a._normSign();this.length>e.length?(o=this,r=e):(o=e,r=this);for(var t=0,h=0;h<r.length;h++)a=(0|o.words[h])+(0|r.words[h])+t,this.words[h]=67108863&a,t=a>>>26;for(;t!==0&&h<o.length;h++)a=(0|o.words[h])+t,this.words[h]=67108863&a,t=a>>>26;if(this.length=o.length,t!==0)this.words[this.length]=t,this.length++;else if(o!==this)for(;h<o.length;h++)this.words[h]=o.words[h];return this},p.prototype.add=function(e){var a;return e.negative!==0&&this.negative===0?(e.negative=0,a=this.sub(e),e.negative^=1,a):e.negative===0&&this.negative!==0?(this.negative=0,a=e.sub(this),this.negative=1,a):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},p.prototype.isub=function(e){if(e.negative!==0){e.negative=0;var a=this.iadd(e);return e.negative=1,a._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var o,r,t=this.cmp(e);if(t===0)return this.negative=0,this.length=1,this.words[0]=0,this;t>0?(o=this,r=e):(o=e,r=this);for(var h=0,M=0;M<r.length;M++)h=(a=(0|o.words[M])-(0|r.words[M])+h)>>26,this.words[M]=67108863&a;for(;h!==0&&M<o.length;M++)h=(a=(0|o.words[M])+h)>>26,this.words[M]=67108863&a;if(h===0&&M<o.length&&o!==this)for(;M<o.length;M++)this.words[M]=o.words[M];return this.length=Math.max(this.length,M),o!==this&&(this.negative=1),this.strip()},p.prototype.sub=function(e){return this.clone().isub(e)};var D=function(e,a,o){var r,t,h,M=e.words,H=a.words,K=o.words,V=0,Z=0|M[0],X=8191&Z,ae=Z>>>13,ie=0|M[1],ce=8191&ie,Y=ie>>>13,ne=0|M[2],J=8191&ne,ee=ne>>>13,ge=0|M[3],pe=8191&ge,we=ge>>>13,je=0|M[4],Me=8191&je,Ae=je>>>13,Ve=0|M[5],Ie=8191&Ve,Be=Ve>>>13,le=0|M[6],he=8191&le,fe=le>>>13,ve=0|M[7],ye=8191&ve,xe=ve>>>13,Le=0|M[8],Oe=8191&Le,Pe=Le>>>13,wt=0|M[9],Ne=8191&wt,Ue=wt>>>13,It=0|H[0],He=8191&It,Ke=It>>>13,kt=0|H[1],Fe=8191&kt,nt=kt>>>13,_t=0|H[2],$e=8191&_t,tt=_t>>>13,jt=0|H[3],ze=8191&jt,rt=jt>>>13,Dt=0|H[4],Ge=8191&Dt,st=Dt>>>13,Wt=0|H[5],Ze=8191&Wt,ot=Wt>>>13,Zt=0|H[6],Ce=8191&Zt,Xe=Zt>>>13,$t=0|H[7],Je=8191&$t,ht=$t>>>13,Jt=0|H[8],Qe=8191&Jt,lt=Jt>>>13,en=0|H[9],et=8191&en,ft=en>>>13;o.negative=e.negative^a.negative,o.length=19;var Ht=(V+(r=Math.imul(X,He))|0)+((8191&(t=(t=Math.imul(X,Ke))+Math.imul(ae,He)|0))<<13)|0;V=((h=Math.imul(ae,Ke))+(t>>>13)|0)+(Ht>>>26)|0,Ht&=67108863,r=Math.imul(ce,He),t=(t=Math.imul(ce,Ke))+Math.imul(Y,He)|0,h=Math.imul(Y,Ke);var Ut=(V+(r=r+Math.imul(X,Fe)|0)|0)+((8191&(t=(t=t+Math.imul(X,nt)|0)+Math.imul(ae,Fe)|0))<<13)|0;V=((h=h+Math.imul(ae,nt)|0)+(t>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,r=Math.imul(J,He),t=(t=Math.imul(J,Ke))+Math.imul(ee,He)|0,h=Math.imul(ee,Ke),r=r+Math.imul(ce,Fe)|0,t=(t=t+Math.imul(ce,nt)|0)+Math.imul(Y,Fe)|0,h=h+Math.imul(Y,nt)|0;var cn=(V+(r=r+Math.imul(X,$e)|0)|0)+((8191&(t=(t=t+Math.imul(X,tt)|0)+Math.imul(ae,$e)|0))<<13)|0;V=((h=h+Math.imul(ae,tt)|0)+(t>>>13)|0)+(cn>>>26)|0,cn&=67108863,r=Math.imul(pe,He),t=(t=Math.imul(pe,Ke))+Math.imul(we,He)|0,h=Math.imul(we,Ke),r=r+Math.imul(J,Fe)|0,t=(t=t+Math.imul(J,nt)|0)+Math.imul(ee,Fe)|0,h=h+Math.imul(ee,nt)|0,r=r+Math.imul(ce,$e)|0,t=(t=t+Math.imul(ce,tt)|0)+Math.imul(Y,$e)|0,h=h+Math.imul(Y,tt)|0;var mn=(V+(r=r+Math.imul(X,ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,rt)|0)+Math.imul(ae,ze)|0))<<13)|0;V=((h=h+Math.imul(ae,rt)|0)+(t>>>13)|0)+(mn>>>26)|0,mn&=67108863,r=Math.imul(Me,He),t=(t=Math.imul(Me,Ke))+Math.imul(Ae,He)|0,h=Math.imul(Ae,Ke),r=r+Math.imul(pe,Fe)|0,t=(t=t+Math.imul(pe,nt)|0)+Math.imul(we,Fe)|0,h=h+Math.imul(we,nt)|0,r=r+Math.imul(J,$e)|0,t=(t=t+Math.imul(J,tt)|0)+Math.imul(ee,$e)|0,h=h+Math.imul(ee,tt)|0,r=r+Math.imul(ce,ze)|0,t=(t=t+Math.imul(ce,rt)|0)+Math.imul(Y,ze)|0,h=h+Math.imul(Y,rt)|0;var hn=(V+(r=r+Math.imul(X,Ge)|0)|0)+((8191&(t=(t=t+Math.imul(X,st)|0)+Math.imul(ae,Ge)|0))<<13)|0;V=((h=h+Math.imul(ae,st)|0)+(t>>>13)|0)+(hn>>>26)|0,hn&=67108863,r=Math.imul(Ie,He),t=(t=Math.imul(Ie,Ke))+Math.imul(Be,He)|0,h=Math.imul(Be,Ke),r=r+Math.imul(Me,Fe)|0,t=(t=t+Math.imul(Me,nt)|0)+Math.imul(Ae,Fe)|0,h=h+Math.imul(Ae,nt)|0,r=r+Math.imul(pe,$e)|0,t=(t=t+Math.imul(pe,tt)|0)+Math.imul(we,$e)|0,h=h+Math.imul(we,tt)|0,r=r+Math.imul(J,ze)|0,t=(t=t+Math.imul(J,rt)|0)+Math.imul(ee,ze)|0,h=h+Math.imul(ee,rt)|0,r=r+Math.imul(ce,Ge)|0,t=(t=t+Math.imul(ce,st)|0)+Math.imul(Y,Ge)|0,h=h+Math.imul(Y,st)|0;var gn=(V+(r=r+Math.imul(X,Ze)|0)|0)+((8191&(t=(t=t+Math.imul(X,ot)|0)+Math.imul(ae,Ze)|0))<<13)|0;V=((h=h+Math.imul(ae,ot)|0)+(t>>>13)|0)+(gn>>>26)|0,gn&=67108863,r=Math.imul(he,He),t=(t=Math.imul(he,Ke))+Math.imul(fe,He)|0,h=Math.imul(fe,Ke),r=r+Math.imul(Ie,Fe)|0,t=(t=t+Math.imul(Ie,nt)|0)+Math.imul(Be,Fe)|0,h=h+Math.imul(Be,nt)|0,r=r+Math.imul(Me,$e)|0,t=(t=t+Math.imul(Me,tt)|0)+Math.imul(Ae,$e)|0,h=h+Math.imul(Ae,tt)|0,r=r+Math.imul(pe,ze)|0,t=(t=t+Math.imul(pe,rt)|0)+Math.imul(we,ze)|0,h=h+Math.imul(we,rt)|0,r=r+Math.imul(J,Ge)|0,t=(t=t+Math.imul(J,st)|0)+Math.imul(ee,Ge)|0,h=h+Math.imul(ee,st)|0,r=r+Math.imul(ce,Ze)|0,t=(t=t+Math.imul(ce,ot)|0)+Math.imul(Y,Ze)|0,h=h+Math.imul(Y,ot)|0;var vn=(V+(r=r+Math.imul(X,Ce)|0)|0)+((8191&(t=(t=t+Math.imul(X,Xe)|0)+Math.imul(ae,Ce)|0))<<13)|0;V=((h=h+Math.imul(ae,Xe)|0)+(t>>>13)|0)+(vn>>>26)|0,vn&=67108863,r=Math.imul(ye,He),t=(t=Math.imul(ye,Ke))+Math.imul(xe,He)|0,h=Math.imul(xe,Ke),r=r+Math.imul(he,Fe)|0,t=(t=t+Math.imul(he,nt)|0)+Math.imul(fe,Fe)|0,h=h+Math.imul(fe,nt)|0,r=r+Math.imul(Ie,$e)|0,t=(t=t+Math.imul(Ie,tt)|0)+Math.imul(Be,$e)|0,h=h+Math.imul(Be,tt)|0,r=r+Math.imul(Me,ze)|0,t=(t=t+Math.imul(Me,rt)|0)+Math.imul(Ae,ze)|0,h=h+Math.imul(Ae,rt)|0,r=r+Math.imul(pe,Ge)|0,t=(t=t+Math.imul(pe,st)|0)+Math.imul(we,Ge)|0,h=h+Math.imul(we,st)|0,r=r+Math.imul(J,Ze)|0,t=(t=t+Math.imul(J,ot)|0)+Math.imul(ee,Ze)|0,h=h+Math.imul(ee,ot)|0,r=r+Math.imul(ce,Ce)|0,t=(t=t+Math.imul(ce,Xe)|0)+Math.imul(Y,Ce)|0,h=h+Math.imul(Y,Xe)|0;var yn=(V+(r=r+Math.imul(X,Je)|0)|0)+((8191&(t=(t=t+Math.imul(X,ht)|0)+Math.imul(ae,Je)|0))<<13)|0;V=((h=h+Math.imul(ae,ht)|0)+(t>>>13)|0)+(yn>>>26)|0,yn&=67108863,r=Math.imul(Oe,He),t=(t=Math.imul(Oe,Ke))+Math.imul(Pe,He)|0,h=Math.imul(Pe,Ke),r=r+Math.imul(ye,Fe)|0,t=(t=t+Math.imul(ye,nt)|0)+Math.imul(xe,Fe)|0,h=h+Math.imul(xe,nt)|0,r=r+Math.imul(he,$e)|0,t=(t=t+Math.imul(he,tt)|0)+Math.imul(fe,$e)|0,h=h+Math.imul(fe,tt)|0,r=r+Math.imul(Ie,ze)|0,t=(t=t+Math.imul(Ie,rt)|0)+Math.imul(Be,ze)|0,h=h+Math.imul(Be,rt)|0,r=r+Math.imul(Me,Ge)|0,t=(t=t+Math.imul(Me,st)|0)+Math.imul(Ae,Ge)|0,h=h+Math.imul(Ae,st)|0,r=r+Math.imul(pe,Ze)|0,t=(t=t+Math.imul(pe,ot)|0)+Math.imul(we,Ze)|0,h=h+Math.imul(we,ot)|0,r=r+Math.imul(J,Ce)|0,t=(t=t+Math.imul(J,Xe)|0)+Math.imul(ee,Ce)|0,h=h+Math.imul(ee,Xe)|0,r=r+Math.imul(ce,Je)|0,t=(t=t+Math.imul(ce,ht)|0)+Math.imul(Y,Je)|0,h=h+Math.imul(Y,ht)|0;var bn=(V+(r=r+Math.imul(X,Qe)|0)|0)+((8191&(t=(t=t+Math.imul(X,lt)|0)+Math.imul(ae,Qe)|0))<<13)|0;V=((h=h+Math.imul(ae,lt)|0)+(t>>>13)|0)+(bn>>>26)|0,bn&=67108863,r=Math.imul(Ne,He),t=(t=Math.imul(Ne,Ke))+Math.imul(Ue,He)|0,h=Math.imul(Ue,Ke),r=r+Math.imul(Oe,Fe)|0,t=(t=t+Math.imul(Oe,nt)|0)+Math.imul(Pe,Fe)|0,h=h+Math.imul(Pe,nt)|0,r=r+Math.imul(ye,$e)|0,t=(t=t+Math.imul(ye,tt)|0)+Math.imul(xe,$e)|0,h=h+Math.imul(xe,tt)|0,r=r+Math.imul(he,ze)|0,t=(t=t+Math.imul(he,rt)|0)+Math.imul(fe,ze)|0,h=h+Math.imul(fe,rt)|0,r=r+Math.imul(Ie,Ge)|0,t=(t=t+Math.imul(Ie,st)|0)+Math.imul(Be,Ge)|0,h=h+Math.imul(Be,st)|0,r=r+Math.imul(Me,Ze)|0,t=(t=t+Math.imul(Me,ot)|0)+Math.imul(Ae,Ze)|0,h=h+Math.imul(Ae,ot)|0,r=r+Math.imul(pe,Ce)|0,t=(t=t+Math.imul(pe,Xe)|0)+Math.imul(we,Ce)|0,h=h+Math.imul(we,Xe)|0,r=r+Math.imul(J,Je)|0,t=(t=t+Math.imul(J,ht)|0)+Math.imul(ee,Je)|0,h=h+Math.imul(ee,ht)|0,r=r+Math.imul(ce,Qe)|0,t=(t=t+Math.imul(ce,lt)|0)+Math.imul(Y,Qe)|0,h=h+Math.imul(Y,lt)|0;var ln=(V+(r=r+Math.imul(X,et)|0)|0)+((8191&(t=(t=t+Math.imul(X,ft)|0)+Math.imul(ae,et)|0))<<13)|0;V=((h=h+Math.imul(ae,ft)|0)+(t>>>13)|0)+(ln>>>26)|0,ln&=67108863,r=Math.imul(Ne,Fe),t=(t=Math.imul(Ne,nt))+Math.imul(Ue,Fe)|0,h=Math.imul(Ue,nt),r=r+Math.imul(Oe,$e)|0,t=(t=t+Math.imul(Oe,tt)|0)+Math.imul(Pe,$e)|0,h=h+Math.imul(Pe,tt)|0,r=r+Math.imul(ye,ze)|0,t=(t=t+Math.imul(ye,rt)|0)+Math.imul(xe,ze)|0,h=h+Math.imul(xe,rt)|0,r=r+Math.imul(he,Ge)|0,t=(t=t+Math.imul(he,st)|0)+Math.imul(fe,Ge)|0,h=h+Math.imul(fe,st)|0,r=r+Math.imul(Ie,Ze)|0,t=(t=t+Math.imul(Ie,ot)|0)+Math.imul(Be,Ze)|0,h=h+Math.imul(Be,ot)|0,r=r+Math.imul(Me,Ce)|0,t=(t=t+Math.imul(Me,Xe)|0)+Math.imul(Ae,Ce)|0,h=h+Math.imul(Ae,Xe)|0,r=r+Math.imul(pe,Je)|0,t=(t=t+Math.imul(pe,ht)|0)+Math.imul(we,Je)|0,h=h+Math.imul(we,ht)|0,r=r+Math.imul(J,Qe)|0,t=(t=t+Math.imul(J,lt)|0)+Math.imul(ee,Qe)|0,h=h+Math.imul(ee,lt)|0;var wn=(V+(r=r+Math.imul(ce,et)|0)|0)+((8191&(t=(t=t+Math.imul(ce,ft)|0)+Math.imul(Y,et)|0))<<13)|0;V=((h=h+Math.imul(Y,ft)|0)+(t>>>13)|0)+(wn>>>26)|0,wn&=67108863,r=Math.imul(Ne,$e),t=(t=Math.imul(Ne,tt))+Math.imul(Ue,$e)|0,h=Math.imul(Ue,tt),r=r+Math.imul(Oe,ze)|0,t=(t=t+Math.imul(Oe,rt)|0)+Math.imul(Pe,ze)|0,h=h+Math.imul(Pe,rt)|0,r=r+Math.imul(ye,Ge)|0,t=(t=t+Math.imul(ye,st)|0)+Math.imul(xe,Ge)|0,h=h+Math.imul(xe,st)|0,r=r+Math.imul(he,Ze)|0,t=(t=t+Math.imul(he,ot)|0)+Math.imul(fe,Ze)|0,h=h+Math.imul(fe,ot)|0,r=r+Math.imul(Ie,Ce)|0,t=(t=t+Math.imul(Ie,Xe)|0)+Math.imul(Be,Ce)|0,h=h+Math.imul(Be,Xe)|0,r=r+Math.imul(Me,Je)|0,t=(t=t+Math.imul(Me,ht)|0)+Math.imul(Ae,Je)|0,h=h+Math.imul(Ae,ht)|0,r=r+Math.imul(pe,Qe)|0,t=(t=t+Math.imul(pe,lt)|0)+Math.imul(we,Qe)|0,h=h+Math.imul(we,lt)|0;var fn=(V+(r=r+Math.imul(J,et)|0)|0)+((8191&(t=(t=t+Math.imul(J,ft)|0)+Math.imul(ee,et)|0))<<13)|0;V=((h=h+Math.imul(ee,ft)|0)+(t>>>13)|0)+(fn>>>26)|0,fn&=67108863,r=Math.imul(Ne,ze),t=(t=Math.imul(Ne,rt))+Math.imul(Ue,ze)|0,h=Math.imul(Ue,rt),r=r+Math.imul(Oe,Ge)|0,t=(t=t+Math.imul(Oe,st)|0)+Math.imul(Pe,Ge)|0,h=h+Math.imul(Pe,st)|0,r=r+Math.imul(ye,Ze)|0,t=(t=t+Math.imul(ye,ot)|0)+Math.imul(xe,Ze)|0,h=h+Math.imul(xe,ot)|0,r=r+Math.imul(he,Ce)|0,t=(t=t+Math.imul(he,Xe)|0)+Math.imul(fe,Ce)|0,h=h+Math.imul(fe,Xe)|0,r=r+Math.imul(Ie,Je)|0,t=(t=t+Math.imul(Ie,ht)|0)+Math.imul(Be,Je)|0,h=h+Math.imul(Be,ht)|0,r=r+Math.imul(Me,Qe)|0,t=(t=t+Math.imul(Me,lt)|0)+Math.imul(Ae,Qe)|0,h=h+Math.imul(Ae,lt)|0;var xn=(V+(r=r+Math.imul(pe,et)|0)|0)+((8191&(t=(t=t+Math.imul(pe,ft)|0)+Math.imul(we,et)|0))<<13)|0;V=((h=h+Math.imul(we,ft)|0)+(t>>>13)|0)+(xn>>>26)|0,xn&=67108863,r=Math.imul(Ne,Ge),t=(t=Math.imul(Ne,st))+Math.imul(Ue,Ge)|0,h=Math.imul(Ue,st),r=r+Math.imul(Oe,Ze)|0,t=(t=t+Math.imul(Oe,ot)|0)+Math.imul(Pe,Ze)|0,h=h+Math.imul(Pe,ot)|0,r=r+Math.imul(ye,Ce)|0,t=(t=t+Math.imul(ye,Xe)|0)+Math.imul(xe,Ce)|0,h=h+Math.imul(xe,Xe)|0,r=r+Math.imul(he,Je)|0,t=(t=t+Math.imul(he,ht)|0)+Math.imul(fe,Je)|0,h=h+Math.imul(fe,ht)|0,r=r+Math.imul(Ie,Qe)|0,t=(t=t+Math.imul(Ie,lt)|0)+Math.imul(Be,Qe)|0,h=h+Math.imul(Be,lt)|0;var _n=(V+(r=r+Math.imul(Me,et)|0)|0)+((8191&(t=(t=t+Math.imul(Me,ft)|0)+Math.imul(Ae,et)|0))<<13)|0;V=((h=h+Math.imul(Ae,ft)|0)+(t>>>13)|0)+(_n>>>26)|0,_n&=67108863,r=Math.imul(Ne,Ze),t=(t=Math.imul(Ne,ot))+Math.imul(Ue,Ze)|0,h=Math.imul(Ue,ot),r=r+Math.imul(Oe,Ce)|0,t=(t=t+Math.imul(Oe,Xe)|0)+Math.imul(Pe,Ce)|0,h=h+Math.imul(Pe,Xe)|0,r=r+Math.imul(ye,Je)|0,t=(t=t+Math.imul(ye,ht)|0)+Math.imul(xe,Je)|0,h=h+Math.imul(xe,ht)|0,r=r+Math.imul(he,Qe)|0,t=(t=t+Math.imul(he,lt)|0)+Math.imul(fe,Qe)|0,h=h+Math.imul(fe,lt)|0;var pn=(V+(r=r+Math.imul(Ie,et)|0)|0)+((8191&(t=(t=t+Math.imul(Ie,ft)|0)+Math.imul(Be,et)|0))<<13)|0;V=((h=h+Math.imul(Be,ft)|0)+(t>>>13)|0)+(pn>>>26)|0,pn&=67108863,r=Math.imul(Ne,Ce),t=(t=Math.imul(Ne,Xe))+Math.imul(Ue,Ce)|0,h=Math.imul(Ue,Xe),r=r+Math.imul(Oe,Je)|0,t=(t=t+Math.imul(Oe,ht)|0)+Math.imul(Pe,Je)|0,h=h+Math.imul(Pe,ht)|0,r=r+Math.imul(ye,Qe)|0,t=(t=t+Math.imul(ye,lt)|0)+Math.imul(xe,Qe)|0,h=h+Math.imul(xe,lt)|0;var Bt=(V+(r=r+Math.imul(he,et)|0)|0)+((8191&(t=(t=t+Math.imul(he,ft)|0)+Math.imul(fe,et)|0))<<13)|0;V=((h=h+Math.imul(fe,ft)|0)+(t>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,r=Math.imul(Ne,Je),t=(t=Math.imul(Ne,ht))+Math.imul(Ue,Je)|0,h=Math.imul(Ue,ht),r=r+Math.imul(Oe,Qe)|0,t=(t=t+Math.imul(Oe,lt)|0)+Math.imul(Pe,Qe)|0,h=h+Math.imul(Pe,lt)|0;var Pt=(V+(r=r+Math.imul(ye,et)|0)|0)+((8191&(t=(t=t+Math.imul(ye,ft)|0)+Math.imul(xe,et)|0))<<13)|0;V=((h=h+Math.imul(xe,ft)|0)+(t>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,r=Math.imul(Ne,Qe),t=(t=Math.imul(Ne,lt))+Math.imul(Ue,Qe)|0,h=Math.imul(Ue,lt);var Mn=(V+(r=r+Math.imul(Oe,et)|0)|0)+((8191&(t=(t=t+Math.imul(Oe,ft)|0)+Math.imul(Pe,et)|0))<<13)|0;V=((h=h+Math.imul(Pe,ft)|0)+(t>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var En=(V+(r=Math.imul(Ne,et))|0)+((8191&(t=(t=Math.imul(Ne,ft))+Math.imul(Ue,et)|0))<<13)|0;return V=((h=Math.imul(Ue,ft))+(t>>>13)|0)+(En>>>26)|0,En&=67108863,K[0]=Ht,K[1]=Ut,K[2]=cn,K[3]=mn,K[4]=hn,K[5]=gn,K[6]=vn,K[7]=yn,K[8]=bn,K[9]=ln,K[10]=wn,K[11]=fn,K[12]=xn,K[13]=_n,K[14]=pn,K[15]=Bt,K[16]=Pt,K[17]=Mn,K[18]=En,V!==0&&(K[19]=V,o.length++),o};function U(e,a,o){return new $().mulp(e,a,o)}function $(e,a){this.x=e,this.y=a}Math.imul||(D=B),p.prototype.mulTo=function(e,a){var o,r=this.length+e.length;return o=this.length===10&&e.length===10?D(this,e,a):r<63?B(this,e,a):r<1024?function(t,h,M){M.negative=h.negative^t.negative,M.length=t.length+h.length;for(var H=0,K=0,V=0;V<M.length-1;V++){var Z=K;K=0;for(var X=67108863&H,ae=Math.min(V,h.length-1),ie=Math.max(0,V-t.length+1);ie<=ae;ie++){var ce=V-ie,Y=(0|t.words[ce])*(0|h.words[ie]),ne=67108863&Y;X=67108863&(ne=ne+X|0),K+=(Z=(Z=Z+(Y/67108864|0)|0)+(ne>>>26)|0)>>>26,Z&=67108863}M.words[V]=X,H=Z,Z=K}return H!==0?M.words[V]=H:M.length--,M.strip()}(this,e,a):U(this,e,a),o},$.prototype.makeRBT=function(e){for(var a=new Array(e),o=p.prototype._countBits(e)-1,r=0;r<e;r++)a[r]=this.revBin(r,o,e);return a},$.prototype.revBin=function(e,a,o){if(e===0||e===o-1)return e;for(var r=0,t=0;t<a;t++)r|=(1&e)<<a-t-1,e>>=1;return r},$.prototype.permute=function(e,a,o,r,t,h){for(var M=0;M<h;M++)r[M]=a[e[M]],t[M]=o[e[M]]},$.prototype.transform=function(e,a,o,r,t,h){this.permute(h,e,a,o,r,t);for(var M=1;M<t;M<<=1)for(var H=M<<1,K=Math.cos(2*Math.PI/H),V=Math.sin(2*Math.PI/H),Z=0;Z<t;Z+=H)for(var X=K,ae=V,ie=0;ie<M;ie++){var ce=o[Z+ie],Y=r[Z+ie],ne=o[Z+ie+M],J=r[Z+ie+M],ee=X*ne-ae*J;J=X*J+ae*ne,ne=ee,o[Z+ie]=ce+ne,r[Z+ie]=Y+J,o[Z+ie+M]=ce-ne,r[Z+ie+M]=Y-J,ie!==H&&(ee=K*X-V*ae,ae=K*ae+V*X,X=ee)}},$.prototype.guessLen13b=function(e,a){var o=1|Math.max(a,e),r=1&o,t=0;for(o=o/2|0;o;o>>>=1)t++;return 1<<t+1+r},$.prototype.conjugate=function(e,a,o){if(!(o<=1))for(var r=0;r<o/2;r++){var t=e[r];e[r]=e[o-r-1],e[o-r-1]=t,t=a[r],a[r]=-a[o-r-1],a[o-r-1]=-t}},$.prototype.normalize13b=function(e,a){for(var o=0,r=0;r<a/2;r++){var t=8192*Math.round(e[2*r+1]/a)+Math.round(e[2*r]/a)+o;e[r]=67108863&t,o=t<67108864?0:t/67108864|0}return e},$.prototype.convert13b=function(e,a,o,r){for(var t=0,h=0;h<a;h++)t+=0|e[h],o[2*h]=8191&t,t>>>=13,o[2*h+1]=8191&t,t>>>=13;for(h=2*a;h<r;++h)o[h]=0;O(t===0),O(!(-8192&t))},$.prototype.stub=function(e){for(var a=new Array(e),o=0;o<e;o++)a[o]=0;return a},$.prototype.mulp=function(e,a,o){var r=2*this.guessLen13b(e.length,a.length),t=this.makeRBT(r),h=this.stub(r),M=new Array(r),H=new Array(r),K=new Array(r),V=new Array(r),Z=new Array(r),X=new Array(r),ae=o.words;ae.length=r,this.convert13b(e.words,e.length,M,r),this.convert13b(a.words,a.length,V,r),this.transform(M,h,H,K,r,t),this.transform(V,h,Z,X,r,t);for(var ie=0;ie<r;ie++){var ce=H[ie]*Z[ie]-K[ie]*X[ie];K[ie]=H[ie]*X[ie]+K[ie]*Z[ie],H[ie]=ce}return this.conjugate(H,K,r),this.transform(H,K,ae,h,r,t),this.conjugate(ae,h,r),this.normalize13b(ae,r),o.negative=e.negative^a.negative,o.length=e.length+a.length,o.strip()},p.prototype.mul=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),this.mulTo(e,a)},p.prototype.mulf=function(e){var a=new p(null);return a.words=new Array(this.length+e.length),U(this,e,a)},p.prototype.imul=function(e){return this.clone().mulTo(e,this)},p.prototype.imuln=function(e){O(typeof e=="number"),O(e<67108864);for(var a=0,o=0;o<this.length;o++){var r=(0|this.words[o])*e,t=(67108863&r)+(67108863&a);a>>=26,a+=r/67108864|0,a+=t>>>26,this.words[o]=67108863&t}return a!==0&&(this.words[o]=a,this.length++),this},p.prototype.muln=function(e){return this.clone().imuln(e)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(e){var a=function(h){for(var M=new Array(h.bitLength()),H=0;H<M.length;H++){var K=H/26|0,V=H%26;M[H]=(h.words[K]&1<<V)>>>V}return M}(e);if(a.length===0)return new p(1);for(var o=this,r=0;r<a.length&&a[r]===0;r++,o=o.sqr());if(++r<a.length)for(var t=o.sqr();r<a.length;r++,t=t.sqr())a[r]!==0&&(o=o.mul(t));return o},p.prototype.iushln=function(e){O(typeof e=="number"&&e>=0);var a,o=e%26,r=(e-o)/26,t=67108863>>>26-o<<26-o;if(o!==0){var h=0;for(a=0;a<this.length;a++){var M=this.words[a]&t,H=(0|this.words[a])-M<<o;this.words[a]=H|h,h=M>>>26-o}h&&(this.words[a]=h,this.length++)}if(r!==0){for(a=this.length-1;a>=0;a--)this.words[a+r]=this.words[a];for(a=0;a<r;a++)this.words[a]=0;this.length+=r}return this.strip()},p.prototype.ishln=function(e){return O(this.negative===0),this.iushln(e)},p.prototype.iushrn=function(e,a,o){var r;O(typeof e=="number"&&e>=0),r=a?(a-a%26)/26:0;var t=e%26,h=Math.min((e-t)/26,this.length),M=67108863^67108863>>>t<<t,H=o;if(r-=h,r=Math.max(0,r),H){for(var K=0;K<h;K++)H.words[K]=this.words[K];H.length=h}if(h!==0)if(this.length>h)for(this.length-=h,K=0;K<this.length;K++)this.words[K]=this.words[K+h];else this.words[0]=0,this.length=1;var V=0;for(K=this.length-1;K>=0&&(V!==0||K>=r);K--){var Z=0|this.words[K];this.words[K]=V<<26-t|Z>>>t,V=Z&M}return H&&V!==0&&(H.words[H.length++]=V),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},p.prototype.ishrn=function(e,a,o){return O(this.negative===0),this.iushrn(e,a,o)},p.prototype.shln=function(e){return this.clone().ishln(e)},p.prototype.ushln=function(e){return this.clone().iushln(e)},p.prototype.shrn=function(e){return this.clone().ishrn(e)},p.prototype.ushrn=function(e){return this.clone().iushrn(e)},p.prototype.testn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26,r=1<<a;return!(this.length<=o||!(this.words[o]&r))},p.prototype.imaskn=function(e){O(typeof e=="number"&&e>=0);var a=e%26,o=(e-a)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(a!==0&&o++,this.length=Math.min(o,this.length),a!==0){var r=67108863^67108863>>>a<<a;this.words[this.length-1]&=r}return this.strip()},p.prototype.maskn=function(e){return this.clone().imaskn(e)},p.prototype.iaddn=function(e){return O(typeof e=="number"),O(e<67108864),e<0?this.isubn(-e):this.negative!==0?this.length===1&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},p.prototype._iaddn=function(e){this.words[0]+=e;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},p.prototype.isubn=function(e){if(O(typeof e=="number"),O(e<67108864),e<0)return this.iaddn(-e);if(this.negative!==0)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},p.prototype.addn=function(e){return this.clone().iaddn(e)},p.prototype.subn=function(e){return this.clone().isubn(e)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(e,a,o){var r,t,h=e.length+o;this._expand(h);var M=0;for(r=0;r<e.length;r++){t=(0|this.words[r+o])+M;var H=(0|e.words[r])*a;M=((t-=67108863&H)>>26)-(H/67108864|0),this.words[r+o]=67108863&t}for(;r<this.length-o;r++)M=(t=(0|this.words[r+o])+M)>>26,this.words[r+o]=67108863&t;if(M===0)return this.strip();for(O(M===-1),M=0,r=0;r<this.length;r++)M=(t=-(0|this.words[r])+M)>>26,this.words[r]=67108863&t;return this.negative=1,this.strip()},p.prototype._wordDiv=function(e,a){var o=(this.length,e.length),r=this.clone(),t=e,h=0|t.words[t.length-1];(o=26-this._countBits(h))!=0&&(t=t.ushln(o),r.iushln(o),h=0|t.words[t.length-1]);var M,H=r.length-t.length;if(a!=="mod"){(M=new p(null)).length=H+1,M.words=new Array(M.length);for(var K=0;K<M.length;K++)M.words[K]=0}var V=r.clone()._ishlnsubmul(t,1,H);V.negative===0&&(r=V,M&&(M.words[H]=1));for(var Z=H-1;Z>=0;Z--){var X=67108864*(0|r.words[t.length+Z])+(0|r.words[t.length+Z-1]);for(X=Math.min(X/h|0,67108863),r._ishlnsubmul(t,X,Z);r.negative!==0;)X--,r.negative=0,r._ishlnsubmul(t,1,Z),r.isZero()||(r.negative^=1);M&&(M.words[Z]=X)}return M&&M.strip(),r.strip(),a!=="div"&&o!==0&&r.iushrn(o),{div:M||null,mod:r}},p.prototype.divmod=function(e,a,o){return O(!e.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&e.negative===0?(h=this.neg().divmod(e,a),a!=="mod"&&(r=h.div.neg()),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.iadd(e)),{div:r,mod:t}):this.negative===0&&e.negative!==0?(h=this.divmod(e.neg(),a),a!=="mod"&&(r=h.div.neg()),{div:r,mod:h.mod}):this.negative&e.negative?(h=this.neg().divmod(e.neg(),a),a!=="div"&&(t=h.mod.neg(),o&&t.negative!==0&&t.isub(e)),{div:h.div,mod:t}):e.length>this.length||this.cmp(e)<0?{div:new p(0),mod:this}:e.length===1?a==="div"?{div:this.divn(e.words[0]),mod:null}:a==="mod"?{div:null,mod:new p(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new p(this.modn(e.words[0]))}:this._wordDiv(e,a);var r,t,h},p.prototype.div=function(e){return this.divmod(e,"div",!1).div},p.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},p.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},p.prototype.divRound=function(e){var a=this.divmod(e);if(a.mod.isZero())return a.div;var o=a.div.negative!==0?a.mod.isub(e):a.mod,r=e.ushrn(1),t=e.andln(1),h=o.cmp(r);return h<0||t===1&&h===0?a.div:a.div.negative!==0?a.div.isubn(1):a.div.iaddn(1)},p.prototype.modn=function(e){O(e<=67108863);for(var a=67108864%e,o=0,r=this.length-1;r>=0;r--)o=(a*o+(0|this.words[r]))%e;return o},p.prototype.idivn=function(e){O(e<=67108863);for(var a=0,o=this.length-1;o>=0;o--){var r=(0|this.words[o])+67108864*a;this.words[o]=r/e|0,a=r%e}return this.strip()},p.prototype.divn=function(e){return this.clone().idivn(e)},p.prototype.egcd=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r=new p(1),t=new p(0),h=new p(0),M=new p(1),H=0;a.isEven()&&o.isEven();)a.iushrn(1),o.iushrn(1),++H;for(var K=o.clone(),V=a.clone();!a.isZero();){for(var Z=0,X=1;!(a.words[0]&X)&&Z<26;++Z,X<<=1);if(Z>0)for(a.iushrn(Z);Z-- >0;)(r.isOdd()||t.isOdd())&&(r.iadd(K),t.isub(V)),r.iushrn(1),t.iushrn(1);for(var ae=0,ie=1;!(o.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(o.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(K),M.isub(V)),h.iushrn(1),M.iushrn(1);a.cmp(o)>=0?(a.isub(o),r.isub(h),t.isub(M)):(o.isub(a),h.isub(r),M.isub(t))}return{a:h,b:M,gcd:o.iushln(H)}},p.prototype._invmp=function(e){O(e.negative===0),O(!e.isZero());var a=this,o=e.clone();a=a.negative!==0?a.umod(e):a.clone();for(var r,t=new p(1),h=new p(0),M=o.clone();a.cmpn(1)>0&&o.cmpn(1)>0;){for(var H=0,K=1;!(a.words[0]&K)&&H<26;++H,K<<=1);if(H>0)for(a.iushrn(H);H-- >0;)t.isOdd()&&t.iadd(M),t.iushrn(1);for(var V=0,Z=1;!(o.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(o.iushrn(V);V-- >0;)h.isOdd()&&h.iadd(M),h.iushrn(1);a.cmp(o)>=0?(a.isub(o),t.isub(h)):(o.isub(a),h.isub(t))}return(r=a.cmpn(1)===0?t:h).cmpn(0)<0&&r.iadd(e),r},p.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var a=this.clone(),o=e.clone();a.negative=0,o.negative=0;for(var r=0;a.isEven()&&o.isEven();r++)a.iushrn(1),o.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;o.isEven();)o.iushrn(1);var t=a.cmp(o);if(t<0){var h=a;a=o,o=h}else if(t===0||o.cmpn(1)===0)break;a.isub(o)}return o.iushln(r)},p.prototype.invm=function(e){return this.egcd(e).a.umod(e)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(e){return this.words[0]&e},p.prototype.bincn=function(e){O(typeof e=="number");var a=e%26,o=(e-a)/26,r=1<<a;if(this.length<=o)return this._expand(o+1),this.words[o]|=r,this;for(var t=r,h=o;t!==0&&h<this.length;h++){var M=0|this.words[h];t=(M+=t)>>>26,M&=67108863,this.words[h]=M}return t!==0&&(this.words[h]=t,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(e){var a,o=e<0;if(this.negative!==0&&!o)return-1;if(this.negative===0&&o)return 1;if(this.strip(),this.length>1)a=1;else{o&&(e=-e),O(e<=67108863,"Number is too big");var r=0|this.words[0];a=r===e?0:r<e?-1:1}return this.negative!==0?0|-a:a},p.prototype.cmp=function(e){if(this.negative!==0&&e.negative===0)return-1;if(this.negative===0&&e.negative!==0)return 1;var a=this.ucmp(e);return this.negative!==0?0|-a:a},p.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var a=0,o=this.length-1;o>=0;o--){var r=0|this.words[o],t=0|e.words[o];if(r!==t){r<t?a=-1:r>t&&(a=1);break}}return a},p.prototype.gtn=function(e){return this.cmpn(e)===1},p.prototype.gt=function(e){return this.cmp(e)===1},p.prototype.gten=function(e){return this.cmpn(e)>=0},p.prototype.gte=function(e){return this.cmp(e)>=0},p.prototype.ltn=function(e){return this.cmpn(e)===-1},p.prototype.lt=function(e){return this.cmp(e)===-1},p.prototype.lten=function(e){return this.cmpn(e)<=0},p.prototype.lte=function(e){return this.cmp(e)<=0},p.prototype.eqn=function(e){return this.cmpn(e)===0},p.prototype.eq=function(e){return this.cmp(e)===0},p.red=function(e){return new ue(e)},p.prototype.toRed=function(e){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),e.convertTo(this)._forceRed(e)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(e){return this.red=e,this},p.prototype.forceRed=function(e){return O(!this.red,"Already a number in reduction context"),this._forceRed(e)},p.prototype.redAdd=function(e){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},p.prototype.redIAdd=function(e){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},p.prototype.redSub=function(e){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},p.prototype.redISub=function(e){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},p.prototype.redShl=function(e){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},p.prototype.redMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},p.prototype.redIMul=function(e){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(e){return O(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var P={k256:null,p224:null,p192:null,p25519:null};function W(e,a){this.name=e,this.p=new p(a,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function G(){W.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function Q(){W.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function te(){W.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function se(){W.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ue(e){if(typeof e=="string"){var a=p._prime(e);this.m=a.p,this.prime=a}else O(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function de(e){ue.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}W.prototype._tmp=function(){var e=new p(null);return e.words=new Array(Math.ceil(this.n/13)),e},W.prototype.ireduce=function(e){var a,o=e;do this.split(o,this.tmp),a=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength();while(a>this.n);var r=a<this.n?-1:o.ucmp(this.p);return r===0?(o.words[0]=0,o.length=1):r>0?o.isub(this.p):o.strip!==void 0?o.strip():o._strip(),o},W.prototype.split=function(e,a){e.iushrn(this.n,0,a)},W.prototype.imulK=function(e){return e.imul(this.k)},q(G,W),G.prototype.split=function(e,a){for(var o=4194303,r=Math.min(e.length,9),t=0;t<r;t++)a.words[t]=e.words[t];if(a.length=r,e.length<=9)return e.words[0]=0,void(e.length=1);var h=e.words[9];for(a.words[a.length++]=h&o,t=10;t<e.length;t++){var M=0|e.words[t];e.words[t-10]=(M&o)<<4|h>>>22,h=M}h>>>=22,e.words[t-10]=h,h===0&&e.length>10?e.length-=10:e.length-=9},G.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var a=0,o=0;o<e.length;o++){var r=0|e.words[o];a+=977*r,e.words[o]=67108863&a,a=64*r+(a/67108864|0)}return e.words[e.length-1]===0&&(e.length--,e.words[e.length-1]===0&&e.length--),e},q(Q,W),q(te,W),q(se,W),se.prototype.imulK=function(e){for(var a=0,o=0;o<e.length;o++){var r=19*(0|e.words[o])+a,t=67108863&r;r>>>=26,e.words[o]=t,a=r}return a!==0&&(e.words[e.length++]=a),e},p._prime=function(e){if(P[e])return P[e];var a;if(e==="k256")a=new G;else if(e==="p224")a=new Q;else if(e==="p192")a=new te;else{if(e!=="p25519")throw new Error("Unknown prime "+e);a=new se}return P[e]=a,a},ue.prototype._verify1=function(e){O(e.negative===0,"red works only with positives"),O(e.red,"red works only with red numbers")},ue.prototype._verify2=function(e,a){O(!(e.negative|a.negative),"red works only with positives"),O(e.red&&e.red===a.red,"red works only with red numbers")},ue.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},ue.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},ue.prototype.add=function(e,a){this._verify2(e,a);var o=e.add(a);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},ue.prototype.iadd=function(e,a){this._verify2(e,a);var o=e.iadd(a);return o.cmp(this.m)>=0&&o.isub(this.m),o},ue.prototype.sub=function(e,a){this._verify2(e,a);var o=e.sub(a);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},ue.prototype.isub=function(e,a){this._verify2(e,a);var o=e.isub(a);return o.cmpn(0)<0&&o.iadd(this.m),o},ue.prototype.shl=function(e,a){return this._verify1(e),this.imod(e.ushln(a))},ue.prototype.imul=function(e,a){return this._verify2(e,a),this.imod(e.imul(a))},ue.prototype.mul=function(e,a){return this._verify2(e,a),this.imod(e.mul(a))},ue.prototype.isqr=function(e){return this.imul(e,e.clone())},ue.prototype.sqr=function(e){return this.mul(e,e)},ue.prototype.sqrt=function(e){if(e.isZero())return e.clone();var a=this.m.andln(3);if(O(a%2==1),a===3){var o=this.m.add(new p(1)).iushrn(2);return this.pow(e,o)}for(var r=this.m.subn(1),t=0;!r.isZero()&&r.andln(1)===0;)t++,r.iushrn(1);O(!r.isZero());var h=new p(1).toRed(this),M=h.redNeg(),H=this.m.subn(1).iushrn(1),K=this.m.bitLength();for(K=new p(2*K*K).toRed(this);this.pow(K,H).cmp(M)!==0;)K.redIAdd(M);for(var V=this.pow(K,r),Z=this.pow(e,r.addn(1).iushrn(1)),X=this.pow(e,r),ae=t;X.cmp(h)!==0;){for(var ie=X,ce=0;ie.cmp(h)!==0;ce++)ie=ie.redSqr();O(ce<ae);var Y=this.pow(V,new p(1).iushln(ae-ce-1));Z=Z.redMul(Y),V=Y.redSqr(),X=X.redMul(V),ae=ce}return Z},ue.prototype.invm=function(e){var a=e._invmp(this.m);return a.negative!==0?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ue.prototype.pow=function(e,a){if(a.isZero())return new p(1).toRed(this);if(a.cmpn(1)===0)return e.clone();var o=new Array(16);o[0]=new p(1).toRed(this),o[1]=e;for(var r=2;r<o.length;r++)o[r]=this.mul(o[r-1],e);var t=o[0],h=0,M=0,H=a.bitLength()%26;for(H===0&&(H=26),r=a.length-1;r>=0;r--){for(var K=a.words[r],V=H-1;V>=0;V--){var Z=K>>V&1;t!==o[0]&&(t=this.sqr(t)),Z!==0||h!==0?(h<<=1,h|=Z,(++M==4||r===0&&V===0)&&(t=this.mul(t,o[h]),M=0,h=0)):M=0}H=26}return t},ue.prototype.convertTo=function(e){var a=e.umod(this.m);return a===e?a.clone():a},ue.prototype.convertFrom=function(e){var a=e.clone();return a.red=null,a},p.mont=function(e){return new de(e)},q(de,ue),de.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},de.prototype.convertFrom=function(e){var a=this.imod(e.mul(this.rinv));return a.red=null,a},de.prototype.imul=function(e,a){if(e.isZero()||a.isZero())return e.words[0]=0,e.length=1,e;var o=e.imul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.mul=function(e,a){if(e.isZero()||a.isZero())return new p(0)._forceRed(this);var o=e.mul(a),r=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),t=o.isub(r).iushrn(this.shift),h=t;return t.cmp(this.m)>=0?h=t.isub(this.m):t.cmpn(0)<0&&(h=t.iadd(this.m)),h._forceRed(this)},de.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},8513:(F,v,d)=>{d(6763);const T=d(9780),A=d(7765),O=d(7765),q=d(5334).buildOptions,p=d(1537);v.parse=function(j,w={},S){if(S){S===!0&&(S={});const I=p.validate(j,S);if(I!==!0)throw Error(I.err.msg)}w.parseTrueNumberOnly&&w.parseNodeValue!==!1&&!w.numParseOptions&&(w.numParseOptions={leadingZeros:!1});let _=q(w,O.defaultOptions,O.props);const N=A.getTraversalObj(j,_);return T.convertToJson(N,_)},v.convertTonimn=d(5540).convert2nimn,v.getTraversalObj=A.getTraversalObj,v.convertToJson=T.convertToJson,v.convertToJsonString=d(8292).convertToJsonString,v.validate=p.validate,v.j2xParser=d(635),v.parseToNimn=function(j,w,S){return v.convertTonimn(v.getTraversalObj(j,S),w,S)}},8545:(F,v,d)=>{var T=d(8490),A=d(7011),O=A.assert;function q(_,N){if(_ instanceof q)return _;this._importDER(_,N)||(O(_.r&&_.s,"Signature without r or s"),this.r=new T(_.r,16),this.s=new T(_.s,16),_.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=_.recoveryParam)}function p(){this.place=0}function j(_,N){var I=_[N.place++];if(!(128&I))return I;var b=15&I;if(b===0||b>4||_[N.place]===0)return!1;for(var B=0,D=0,U=N.place;D<b;D++,U++)B<<=8,B|=_[U],B>>>=0;return!(B<=127)&&(N.place=U,B)}function w(_){for(var N=0,I=_.length-1;!_[N]&&!(128&_[N+1])&&N<I;)N++;return N===0?_:_.slice(N)}function S(_,N){if(N<128)_.push(N);else{var I=1+(Math.log(N)/Math.LN2>>>3);for(_.push(128|I);--I;)_.push(N>>>(I<<3)&255);_.push(N)}}F.exports=q,q.prototype._importDER=function(_,N){_=A.toArray(_,N);var I=new p;if(_[I.place++]!==48)return!1;var b=j(_,I);if(b===!1||b+I.place!==_.length||_[I.place++]!==2)return!1;var B=j(_,I);if(B===!1||128&_[I.place])return!1;var D=_.slice(I.place,B+I.place);if(I.place+=B,_[I.place++]!==2)return!1;var U=j(_,I);if(U===!1||_.length!==U+I.place||128&_[I.place])return!1;var $=_.slice(I.place,U+I.place);if(D[0]===0){if(!(128&D[1]))return!1;D=D.slice(1)}if($[0]===0){if(!(128&$[1]))return!1;$=$.slice(1)}return this.r=new T(D),this.s=new T($),this.recoveryParam=null,!0},q.prototype.toDER=function(_){var N=this.r.toArray(),I=this.s.toArray();for(128&N[0]&&(N=[0].concat(N)),128&I[0]&&(I=[0].concat(I)),N=w(N),I=w(I);!(I[0]||128&I[1]);)I=I.slice(1);var b=[2];S(b,N.length),(b=b.concat(N)).push(2),S(b,I.length);var B=b.concat(I),D=[48];return S(D,B.length),D=D.concat(B),A.encode(D,_)}},8636:(F,v,d)=>{var T=d(920),A=d(7720),O=d(4765),q=Object.prototype.hasOwnProperty,p={brackets:function(D){return D+"[]"},comma:"comma",indices:function(D,U){return D+"["+U+"]"},repeat:function(D){return D}},j=Array.isArray,w=Array.prototype.push,S=function(D,U){w.apply(D,j(U)?U:[U])},_=Date.prototype.toISOString,N=O.default,I={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:A.encode,encodeValuesOnly:!1,filter:void 0,format:N,formatter:O.formatters[N],indices:!1,serializeDate:function(D){return _.call(D)},skipNulls:!1,strictNullHandling:!1},b={},B=function D(U,$,P,W,G,Q,te,se,ue,de,e,a,o,r,t,h,M,H){for(var K,V=U,Z=H,X=0,ae=!1;(Z=Z.get(b))!==void 0&&!ae;){var ie=Z.get(U);if(X+=1,ie!==void 0){if(ie===X)throw new RangeError("Cyclic object value");ae=!0}Z.get(b)===void 0&&(X=0)}if(typeof de=="function"?V=de($,V):V instanceof Date?V=o(V):P==="comma"&&j(V)&&(V=A.maybeMap(V,function(Ve){return Ve instanceof Date?o(Ve):Ve})),V===null){if(Q)return ue&&!h?ue($,I.encoder,M,"key",r):$;V=""}if(typeof(K=V)=="string"||typeof K=="number"||typeof K=="boolean"||typeof K=="symbol"||typeof K=="bigint"||A.isBuffer(V))return ue?[t(h?$:ue($,I.encoder,M,"key",r))+"="+t(ue(V,I.encoder,M,"value",r))]:[t($)+"="+t(String(V))];var ce,Y=[];if(V===void 0)return Y;if(P==="comma"&&j(V))h&&ue&&(V=A.maybeMap(V,ue)),ce=[{value:V.length>0?V.join(",")||null:void 0}];else if(j(de))ce=de;else{var ne=Object.keys(V);ce=e?ne.sort(e):ne}var J=se?String($).replace(/\./g,"%2E"):String($),ee=W&&j(V)&&V.length===1?J+"[]":J;if(G&&j(V)&&V.length===0)return ee+"[]";for(var ge=0;ge<ce.length;++ge){var pe=ce[ge],we=typeof pe=="object"&&pe&&pe.value!==void 0?pe.value:V[pe];if(!te||we!==null){var je=a&&se?String(pe).replace(/\./g,"%2E"):String(pe),Me=j(V)?typeof P=="function"?P(ee,je):ee:ee+(a?"."+je:"["+je+"]");H.set(U,X);var Ae=T();Ae.set(b,H),S(Y,D(we,Me,P,W,G,Q,te,se,P==="comma"&&h&&j(V)?null:ue,de,e,a,o,r,t,h,M,Ae))}}return Y};F.exports=function(D,U){var $,P=D,W=function(r){if(!r)return I;if(r.allowEmptyArrays!==void 0&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(r.encodeDotInKeys!==void 0&&typeof r.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(r.encoder!==null&&r.encoder!==void 0&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=r.charset||I.charset;if(r.charset!==void 0&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var h=O.default;if(r.format!==void 0){if(!q.call(O.formatters,r.format))throw new TypeError("Unknown format option provided.");h=r.format}var M,H=O.formatters[h],K=I.filter;if((typeof r.filter=="function"||j(r.filter))&&(K=r.filter),M=r.arrayFormat in p?r.arrayFormat:"indices"in r?r.indices?"indices":"repeat":I.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var V=r.allowDots===void 0?r.encodeDotInKeys===!0||I.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:I.addQueryPrefix,allowDots:V,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:I.allowEmptyArrays,arrayFormat:M,charset:t,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:I.charsetSentinel,commaRoundTrip:!!r.commaRoundTrip,delimiter:r.delimiter===void 0?I.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:I.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:I.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:I.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:I.encodeValuesOnly,filter:K,format:h,formatter:H,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:I.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:I.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:I.strictNullHandling}}(U);typeof W.filter=="function"?P=(0,W.filter)("",P):j(W.filter)&&($=W.filter);var G=[];if(typeof P!="object"||P===null)return"";var Q=p[W.arrayFormat],te=Q==="comma"&&W.commaRoundTrip;$||($=Object.keys(P)),W.sort&&$.sort(W.sort);for(var se=T(),ue=0;ue<$.length;++ue){var de=$[ue],e=P[de];W.skipNulls&&e===null||S(G,B(e,de,Q,te,W.allowEmptyArrays,W.strictNullHandling,W.skipNulls,W.encodeDotInKeys,W.encode?W.encoder:null,W.filter,W.sort,W.allowDots,W.serializeDate,W.format,W.formatter,W.encodeValuesOnly,W.charset,se))}var a=G.join(W.delimiter),o=W.addQueryPrefix===!0?"?":"";return W.charsetSentinel&&(W.charset==="iso-8859-1"?o+="utf8=%26%2310003%3B&":o+="utf8=%E2%9C%93&"),a.length>0?o+a:""}},8648:F=>{F.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},8650:(F,v,d)=>{var T=d(7952),A=d(480),O=d(7011),q=O.assert,p=O.parseBytes,j=d(6661),w=d(220);function S(_){if(q(_==="ed25519","only tested with ed25519 so far"),!(this instanceof S))return new S(_);_=A[_].curve,this.curve=_,this.g=_.g,this.g.precompute(_.n.bitLength()+1),this.pointClass=_.point().constructor,this.encodingLength=Math.ceil(_.n.bitLength()/8),this.hash=T.sha512}F.exports=S,S.prototype.sign=function(_,N){_=p(_);var I=this.keyFromSecret(N),b=this.hashInt(I.messagePrefix(),_),B=this.g.mul(b),D=this.encodePoint(B),U=this.hashInt(D,I.pubBytes(),_).mul(I.priv()),$=b.add(U).umod(this.curve.n);return this.makeSignature({R:B,S:$,Rencoded:D})},S.prototype.verify=function(_,N,I){if(_=p(_),(N=this.makeSignature(N)).S().gte(N.eddsa.curve.n)||N.S().isNeg())return!1;var b=this.keyFromPublic(I),B=this.hashInt(N.Rencoded(),b.pubBytes(),_),D=this.g.mul(N.S());return N.R().add(b.pub().mul(B)).eq(D)},S.prototype.hashInt=function(){for(var _=this.hash(),N=0;N<arguments.length;N++)_.update(arguments[N]);return O.intFromLE(_.digest()).umod(this.curve.n)},S.prototype.keyFromPublic=function(_){return j.fromPublic(this,_)},S.prototype.keyFromSecret=function(_){return j.fromSecret(this,_)},S.prototype.makeSignature=function(_){return _ instanceof w?_:new w(this,_)},S.prototype.encodePoint=function(_){var N=_.getY().toArray("le",this.encodingLength);return N[this.encodingLength-1]|=_.getX().isOdd()?128:0,N},S.prototype.decodePoint=function(_){var N=(_=O.parseBytes(_)).length-1,I=_.slice(0,N).concat(-129&_[N]),b=!!(128&_[N]),B=O.intFromLE(I);return this.curve.pointFromY(B,b)},S.prototype.encodeInt=function(_){return _.toArray("le",this.encodingLength)},S.prototype.decodeInt=function(_){return O.intFromLE(_)},S.prototype.isPoint=function(_){return _ instanceof this.pointClass}},8753:function(F){(function(){F.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},8805:function(F,v,d){(function(){var T,A,O,q,p={}.hasOwnProperty;A=d(6465),T=d(6712),O=d(1912),q=d(2114),v.defaults=A.defaults,v.processors=q,v.ValidationError=function(){function j(w){this.message=w}return function(w,S){for(var _ in S)p.call(S,_)&&(w[_]=S[_]);function N(){this.constructor=w}N.prototype=S.prototype,w.prototype=new N,w.__super__=S.prototype}(j,Error),j}(),v.Builder=T.Builder,v.Parser=O.Parser,v.parseString=O.parseString,v.parseStringPromise=O.parseStringPromise}).call(this)},8835:(F,v,d)=>{var T=d(1270);function A(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var O=/^([a-z0-9.+-]+:)/i,q=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,j=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
136
|
+
`," "]),w=["'"].concat(j),S=["%","/","?",";","#"].concat(w),_=["/","?","#"],N=/^[+a-z0-9A-Z_-]{0,63}$/,I=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,b={javascript:!0,"javascript:":!0},B={javascript:!0,"javascript:":!0},D={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},U=d(5373);function $(P,W,G){if(P&&typeof P=="object"&&P instanceof A)return P;var Q=new A;return Q.parse(P,W,G),Q}A.prototype.parse=function(P,W,G){if(typeof P!="string")throw new TypeError("Parameter 'url' must be a string, not "+typeof P);var Q=P.indexOf("?"),te=Q!==-1&&Q<P.indexOf("#")?"?":"#",se=P.split(te);se[0]=se[0].replace(/\\/g,"/");var ue=P=se.join(te);if(ue=ue.trim(),!G&&P.split("#").length===1){var de=p.exec(ue);if(de)return this.path=ue,this.href=ue,this.pathname=de[1],de[2]?(this.search=de[2],this.query=W?U.parse(this.search.substr(1)):this.search.substr(1)):W&&(this.search="",this.query={}),this}var e=O.exec(ue);if(e){var a=(e=e[0]).toLowerCase();this.protocol=a,ue=ue.substr(e.length)}if(G||e||ue.match(/^\/\/[^@/]+@[^@/]+/)){var o=ue.substr(0,2)==="//";!o||e&&B[e]||(ue=ue.substr(2),this.slashes=!0)}if(!B[e]&&(o||e&&!D[e])){for(var r,t,h=-1,M=0;M<_.length;M++)(H=ue.indexOf(_[M]))!==-1&&(h===-1||H<h)&&(h=H);for((t=h===-1?ue.lastIndexOf("@"):ue.lastIndexOf("@",h))!==-1&&(r=ue.slice(0,t),ue=ue.slice(t+1),this.auth=decodeURIComponent(r)),h=-1,M=0;M<S.length;M++){var H;(H=ue.indexOf(S[M]))!==-1&&(h===-1||H<h)&&(h=H)}h===-1&&(h=ue.length),this.host=ue.slice(0,h),ue=ue.slice(h),this.parseHost(),this.hostname=this.hostname||"";var K=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!K)for(var V=this.hostname.split(/\./),Z=(M=0,V.length);M<Z;M++){var X=V[M];if(X&&!X.match(N)){for(var ae="",ie=0,ce=X.length;ie<ce;ie++)X.charCodeAt(ie)>127?ae+="x":ae+=X[ie];if(!ae.match(N)){var Y=V.slice(0,M),ne=V.slice(M+1),J=X.match(I);J&&(Y.push(J[1]),ne.unshift(J[2])),ne.length&&(ue="/"+ne.join(".")+ue),this.hostname=Y.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),K||(this.hostname=T.toASCII(this.hostname));var ee=this.port?":"+this.port:"",ge=this.hostname||"";this.host=ge+ee,this.href+=this.host,K&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),ue[0]!=="/"&&(ue="/"+ue))}if(!b[a])for(M=0,Z=w.length;M<Z;M++){var pe=w[M];if(ue.indexOf(pe)!==-1){var we=encodeURIComponent(pe);we===pe&&(we=escape(pe)),ue=ue.split(pe).join(we)}}var je=ue.indexOf("#");je!==-1&&(this.hash=ue.substr(je),ue=ue.slice(0,je));var Me=ue.indexOf("?");if(Me!==-1?(this.search=ue.substr(Me),this.query=ue.substr(Me+1),W&&(this.query=U.parse(this.query)),ue=ue.slice(0,Me)):W&&(this.search="",this.query={}),ue&&(this.pathname=ue),D[a]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){ee=this.pathname||"";var Ae=this.search||"";this.path=ee+Ae}return this.href=this.format(),this},A.prototype.format=function(){var P=this.auth||"";P&&(P=(P=encodeURIComponent(P)).replace(/%3A/i,":"),P+="@");var W=this.protocol||"",G=this.pathname||"",Q=this.hash||"",te=!1,se="";this.host?te=P+this.host:this.hostname&&(te=P+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(te+=":"+this.port)),this.query&&typeof this.query=="object"&&Object.keys(this.query).length&&(se=U.stringify(this.query,{arrayFormat:"repeat",addQueryPrefix:!1}));var ue=this.search||se&&"?"+se||"";return W&&W.substr(-1)!==":"&&(W+=":"),this.slashes||(!W||D[W])&&te!==!1?(te="//"+(te||""),G&&G.charAt(0)!=="/"&&(G="/"+G)):te||(te=""),Q&&Q.charAt(0)!=="#"&&(Q="#"+Q),ue&&ue.charAt(0)!=="?"&&(ue="?"+ue),W+te+(G=G.replace(/[?#]/g,function(de){return encodeURIComponent(de)}))+(ue=ue.replace("#","%23"))+Q},A.prototype.resolve=function(P){return this.resolveObject($(P,!1,!0)).format()},A.prototype.resolveObject=function(P){if(typeof P=="string"){var W=new A;W.parse(P,!1,!0),P=W}for(var G=new A,Q=Object.keys(this),te=0;te<Q.length;te++){var se=Q[te];G[se]=this[se]}if(G.hash=P.hash,P.href==="")return G.href=G.format(),G;if(P.slashes&&!P.protocol){for(var ue=Object.keys(P),de=0;de<ue.length;de++){var e=ue[de];e!=="protocol"&&(G[e]=P[e])}return D[G.protocol]&&G.hostname&&!G.pathname&&(G.pathname="/",G.path=G.pathname),G.href=G.format(),G}if(P.protocol&&P.protocol!==G.protocol){if(!D[P.protocol]){for(var a=Object.keys(P),o=0;o<a.length;o++){var r=a[o];G[r]=P[r]}return G.href=G.format(),G}if(G.protocol=P.protocol,P.host||B[P.protocol])G.pathname=P.pathname;else{for(var t=(P.pathname||"").split("/");t.length&&!(P.host=t.shift()););P.host||(P.host=""),P.hostname||(P.hostname=""),t[0]!==""&&t.unshift(""),t.length<2&&t.unshift(""),G.pathname=t.join("/")}if(G.search=P.search,G.query=P.query,G.host=P.host||"",G.auth=P.auth,G.hostname=P.hostname||P.host,G.port=P.port,G.pathname||G.search){var h=G.pathname||"",M=G.search||"";G.path=h+M}return G.slashes=G.slashes||P.slashes,G.href=G.format(),G}var H=G.pathname&&G.pathname.charAt(0)==="/",K=P.host||P.pathname&&P.pathname.charAt(0)==="/",V=K||H||G.host&&P.pathname,Z=V,X=G.pathname&&G.pathname.split("/")||[],ae=(t=P.pathname&&P.pathname.split("/")||[],G.protocol&&!D[G.protocol]);if(ae&&(G.hostname="",G.port=null,G.host&&(X[0]===""?X[0]=G.host:X.unshift(G.host)),G.host="",P.protocol&&(P.hostname=null,P.port=null,P.host&&(t[0]===""?t[0]=P.host:t.unshift(P.host)),P.host=null),V=V&&(t[0]===""||X[0]==="")),K)G.host=P.host||P.host===""?P.host:G.host,G.hostname=P.hostname||P.hostname===""?P.hostname:G.hostname,G.search=P.search,G.query=P.query,X=t;else if(t.length)X||(X=[]),X.pop(),X=X.concat(t),G.search=P.search,G.query=P.query;else if(P.search!=null)return ae&&(G.host=X.shift(),G.hostname=G.host,(J=!!(G.host&&G.host.indexOf("@")>0)&&G.host.split("@"))&&(G.auth=J.shift(),G.hostname=J.shift(),G.host=G.hostname)),G.search=P.search,G.query=P.query,G.pathname===null&&G.search===null||(G.path=(G.pathname?G.pathname:"")+(G.search?G.search:"")),G.href=G.format(),G;if(!X.length)return G.pathname=null,G.search?G.path="/"+G.search:G.path=null,G.href=G.format(),G;for(var ie=X.slice(-1)[0],ce=(G.host||P.host||X.length>1)&&(ie==="."||ie==="..")||ie==="",Y=0,ne=X.length;ne>=0;ne--)(ie=X[ne])==="."?X.splice(ne,1):ie===".."?(X.splice(ne,1),Y++):Y&&(X.splice(ne,1),Y--);if(!V&&!Z)for(;Y--;Y)X.unshift("..");!V||X[0]===""||X[0]&&X[0].charAt(0)==="/"||X.unshift(""),ce&&X.join("/").substr(-1)!=="/"&&X.push("");var J,ee=X[0]===""||X[0]&&X[0].charAt(0)==="/";return ae&&(G.hostname=ee?"":X.length?X.shift():"",G.host=G.hostname,(J=!!(G.host&&G.host.indexOf("@")>0)&&G.host.split("@"))&&(G.auth=J.shift(),G.hostname=J.shift(),G.host=G.hostname)),(V=V||G.host&&X.length)&&!ee&&X.unshift(""),X.length>0?G.pathname=X.join("/"):(G.pathname=null,G.path=null),G.pathname===null&&G.search===null||(G.path=(G.pathname?G.pathname:"")+(G.search?G.search:"")),G.auth=P.auth||G.auth,G.slashes=G.slashes||P.slashes,G.href=G.format(),G},A.prototype.parseHost=function(){var P=this.host,W=q.exec(P);W&&((W=W[0])!==":"&&(this.port=W.substr(1)),P=P.substr(0,P.length-W.length)),P&&(this.hostname=P)},v.parse=$,v.resolve=function(P,W){return $(P,!1,!0).resolve(W)},v.resolveObject=function(P,W){return P?$(P,!1,!0).resolveObject(W):W},v.format=function(P){return typeof P=="string"&&(P=$(P)),P instanceof A?P.format():A.prototype.format.call(P)},v.Url=A},8859:(F,v,d)=>{var T=typeof Map=="function"&&Map.prototype,A=Object.getOwnPropertyDescriptor&&T?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,O=T&&A&&typeof A.get=="function"?A.get:null,q=T&&Map.prototype.forEach,p=typeof Set=="function"&&Set.prototype,j=Object.getOwnPropertyDescriptor&&p?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,w=p&&j&&typeof j.get=="function"?j.get:null,S=p&&Set.prototype.forEach,_=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap.prototype.has:null,N=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet.prototype.has:null,I=typeof WeakRef=="function"&&WeakRef.prototype?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,B=Object.prototype.toString,D=Function.prototype.toString,U=String.prototype.match,$=String.prototype.slice,P=String.prototype.replace,W=String.prototype.toUpperCase,G=String.prototype.toLowerCase,Q=RegExp.prototype.test,te=Array.prototype.concat,se=Array.prototype.join,ue=Array.prototype.slice,de=Math.floor,e=typeof BigInt=="function"?BigInt.prototype.valueOf:null,a=Object.getOwnPropertySymbols,o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,r=typeof Symbol=="function"&&typeof Symbol.iterator=="object",t=typeof Symbol=="function"&&Symbol.toStringTag?Symbol.toStringTag:null,h=Object.prototype.propertyIsEnumerable,M=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(fe){return fe.__proto__}:null);function H(fe,ve){if(fe===1/0||fe===-1/0||fe!=fe||fe&&fe>-1e3&&fe<1e3||Q.call(/e/,ve))return ve;var ye=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof fe=="number"){var xe=fe<0?-de(-fe):de(fe);if(xe!==fe){var Le=String(xe),Oe=$.call(ve,Le.length+1);return P.call(Le,ye,"$&_")+"."+P.call(P.call(Oe,/([0-9]{3})/g,"$&_"),/_$/,"")}}return P.call(ve,ye,"$&_")}var K=d(2634),V=K.custom,Z=ee(V)?V:null,X={__proto__:null,double:'"',single:"'"},ae={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function ie(fe,ve,ye){var xe=ye.quoteStyle||ve,Le=X[xe];return Le+fe+Le}function ce(fe){return P.call(String(fe),/"/g,""")}function Y(fe){return!t||!(typeof fe=="object"&&(t in fe||fe[t]!==void 0))}function ne(fe){return we(fe)==="[object Array]"&&Y(fe)}function J(fe){return we(fe)==="[object RegExp]"&&Y(fe)}function ee(fe){if(r)return fe&&typeof fe=="object"&&fe instanceof Symbol;if(typeof fe=="symbol")return!0;if(!fe||typeof fe!="object"||!o)return!1;try{return o.call(fe),!0}catch{}return!1}F.exports=function fe(ve,ye,xe,Le){var Oe=ye||{};if(pe(Oe,"quoteStyle")&&!pe(X,Oe.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(pe(Oe,"maxStringLength")&&(typeof Oe.maxStringLength=="number"?Oe.maxStringLength<0&&Oe.maxStringLength!==1/0:Oe.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Pe=!pe(Oe,"customInspect")||Oe.customInspect;if(typeof Pe!="boolean"&&Pe!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(pe(Oe,"indent")&&Oe.indent!==null&&Oe.indent!==" "&&!(parseInt(Oe.indent,10)===Oe.indent&&Oe.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(pe(Oe,"numericSeparator")&&typeof Oe.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var wt=Oe.numericSeparator;if(ve===void 0)return"undefined";if(ve===null)return"null";if(typeof ve=="boolean")return ve?"true":"false";if(typeof ve=="string")return Me(ve,Oe);if(typeof ve=="number"){if(ve===0)return 1/0/ve>0?"0":"-0";var Ne=String(ve);return wt?H(ve,Ne):Ne}if(typeof ve=="bigint"){var Ue=String(ve)+"n";return wt?H(ve,Ue):Ue}var It=Oe.depth===void 0?5:Oe.depth;if(xe===void 0&&(xe=0),xe>=It&&It>0&&typeof ve=="object")return ne(ve)?"[Array]":"[Object]";var He,Ke=function(Ce,Xe){var $t;if(Ce.indent===" ")$t=" ";else{if(!(typeof Ce.indent=="number"&&Ce.indent>0))return null;$t=se.call(Array(Ce.indent+1)," ")}return{base:$t,prev:se.call(Array(Xe+1),$t)}}(Oe,xe);if(Le===void 0)Le=[];else if(je(Le,ve)>=0)return"[Circular]";function kt(Ce,Xe,$t){if(Xe&&(Le=ue.call(Le)).push(Xe),$t){var Je={depth:Oe.depth};return pe(Oe,"quoteStyle")&&(Je.quoteStyle=Oe.quoteStyle),fe(Ce,Je,xe+1,Le)}return fe(Ce,Oe,xe+1,Le)}if(typeof ve=="function"&&!J(ve)){var Fe=function(Ce){if(Ce.name)return Ce.name;var Xe=U.call(D.call(Ce),/^function\s*([\w$]+)/);return Xe?Xe[1]:null}(ve),nt=he(ve,kt);return"[Function"+(Fe?": "+Fe:" (anonymous)")+"]"+(nt.length>0?" { "+se.call(nt,", ")+" }":"")}if(ee(ve)){var _t=r?P.call(String(ve),/^(Symbol\(.*\))_[^)]*$/,"$1"):o.call(ve);return typeof ve!="object"||r?_t:Ve(_t)}if((He=ve)&&typeof He=="object"&&(typeof HTMLElement<"u"&&He instanceof HTMLElement||typeof He.nodeName=="string"&&typeof He.getAttribute=="function")){for(var $e="<"+G.call(String(ve.nodeName)),tt=ve.attributes||[],jt=0;jt<tt.length;jt++)$e+=" "+tt[jt].name+"="+ie(ce(tt[jt].value),"double",Oe);return $e+=">",ve.childNodes&&ve.childNodes.length&&($e+="..."),$e+"</"+G.call(String(ve.nodeName))+">"}if(ne(ve)){if(ve.length===0)return"[]";var ze=he(ve,kt);return Ke&&!function(Ce){for(var Xe=0;Xe<Ce.length;Xe++)if(je(Ce[Xe],`
|
|
137
|
+
`)>=0)return!1;return!0}(ze)?"["+le(ze,Ke)+"]":"[ "+se.call(ze,", ")+" ]"}if(function(Ce){return we(Ce)==="[object Error]"&&Y(Ce)}(ve)){var rt=he(ve,kt);return"cause"in Error.prototype||!("cause"in ve)||h.call(ve,"cause")?rt.length===0?"["+String(ve)+"]":"{ ["+String(ve)+"] "+se.call(rt,", ")+" }":"{ ["+String(ve)+"] "+se.call(te.call("[cause]: "+kt(ve.cause),rt),", ")+" }"}if(typeof ve=="object"&&Pe){if(Z&&typeof ve[Z]=="function"&&K)return K(ve,{depth:It-xe});if(Pe!=="symbol"&&typeof ve.inspect=="function")return ve.inspect()}if(function(Ce){if(!O||!Ce||typeof Ce!="object")return!1;try{O.call(Ce);try{w.call(Ce)}catch{return!0}return Ce instanceof Map}catch{}return!1}(ve)){var Dt=[];return q&&q.call(ve,function(Ce,Xe){Dt.push(kt(Xe,ve,!0)+" => "+kt(Ce,ve))}),Be("Map",O.call(ve),Dt,Ke)}if(function(Ce){if(!w||!Ce||typeof Ce!="object")return!1;try{w.call(Ce);try{O.call(Ce)}catch{return!0}return Ce instanceof Set}catch{}return!1}(ve)){var Ge=[];return S&&S.call(ve,function(Ce){Ge.push(kt(Ce,ve))}),Be("Set",w.call(ve),Ge,Ke)}if(function(Ce){if(!_||!Ce||typeof Ce!="object")return!1;try{_.call(Ce,_);try{N.call(Ce,N)}catch{return!0}return Ce instanceof WeakMap}catch{}return!1}(ve))return Ie("WeakMap");if(function(Ce){if(!N||!Ce||typeof Ce!="object")return!1;try{N.call(Ce,N);try{_.call(Ce,_)}catch{return!0}return Ce instanceof WeakSet}catch{}return!1}(ve))return Ie("WeakSet");if(function(Ce){if(!I||!Ce||typeof Ce!="object")return!1;try{return I.call(Ce),!0}catch{}return!1}(ve))return Ie("WeakRef");if(function(Ce){return we(Ce)==="[object Number]"&&Y(Ce)}(ve))return Ve(kt(Number(ve)));if(function(Ce){if(!Ce||typeof Ce!="object"||!e)return!1;try{return e.call(Ce),!0}catch{}return!1}(ve))return Ve(kt(e.call(ve)));if(function(Ce){return we(Ce)==="[object Boolean]"&&Y(Ce)}(ve))return Ve(b.call(ve));if(function(Ce){return we(Ce)==="[object String]"&&Y(Ce)}(ve))return Ve(kt(String(ve)));if(typeof window<"u"&&ve===window)return"{ [object Window] }";if(typeof globalThis<"u"&&ve===globalThis||d.g!==void 0&&ve===d.g)return"{ [object globalThis] }";if(!function(Ce){return we(Ce)==="[object Date]"&&Y(Ce)}(ve)&&!J(ve)){var st=he(ve,kt),Wt=M?M(ve)===Object.prototype:ve instanceof Object||ve.constructor===Object,Ze=ve instanceof Object?"":"null prototype",ot=!Wt&&t&&Object(ve)===ve&&t in ve?$.call(we(ve),8,-1):Ze?"Object":"",Zt=(Wt||typeof ve.constructor!="function"?"":ve.constructor.name?ve.constructor.name+" ":"")+(ot||Ze?"["+se.call(te.call([],ot||[],Ze||[]),": ")+"] ":"");return st.length===0?Zt+"{}":Ke?Zt+"{"+le(st,Ke)+"}":Zt+"{ "+se.call(st,", ")+" }"}return String(ve)};var ge=Object.prototype.hasOwnProperty||function(fe){return fe in this};function pe(fe,ve){return ge.call(fe,ve)}function we(fe){return B.call(fe)}function je(fe,ve){if(fe.indexOf)return fe.indexOf(ve);for(var ye=0,xe=fe.length;ye<xe;ye++)if(fe[ye]===ve)return ye;return-1}function Me(fe,ve){if(fe.length>ve.maxStringLength){var ye=fe.length-ve.maxStringLength,xe="... "+ye+" more character"+(ye>1?"s":"");return Me($.call(fe,0,ve.maxStringLength),ve)+xe}var Le=ae[ve.quoteStyle||"single"];return Le.lastIndex=0,ie(P.call(P.call(fe,Le,"\\$1"),/[\x00-\x1f]/g,Ae),"single",ve)}function Ae(fe){var ve=fe.charCodeAt(0),ye={8:"b",9:"t",10:"n",12:"f",13:"r"}[ve];return ye?"\\"+ye:"\\x"+(ve<16?"0":"")+W.call(ve.toString(16))}function Ve(fe){return"Object("+fe+")"}function Ie(fe){return fe+" { ? }"}function Be(fe,ve,ye,xe){return fe+" ("+ve+") {"+(xe?le(ye,xe):se.call(ye,", "))+"}"}function le(fe,ve){if(fe.length===0)return"";var ye=`
|
|
138
|
+
`+ve.prev+ve.base;return ye+se.call(fe,","+ye)+`
|
|
139
|
+
`+ve.prev}function he(fe,ve){var ye=ne(fe),xe=[];if(ye){xe.length=fe.length;for(var Le=0;Le<fe.length;Le++)xe[Le]=pe(fe,Le)?ve(fe[Le],fe):""}var Oe,Pe=typeof a=="function"?a(fe):[];if(r){Oe={};for(var wt=0;wt<Pe.length;wt++)Oe["$"+Pe[wt]]=Pe[wt]}for(var Ne in fe)pe(fe,Ne)&&(ye&&String(Number(Ne))===Ne&&Ne<fe.length||r&&Oe["$"+Ne]instanceof Symbol||(Q.call(/[^\w$]/,Ne)?xe.push(ve(Ne,fe)+": "+ve(fe[Ne],fe)):xe.push(Ne+": "+ve(fe[Ne],fe))));if(typeof a=="function")for(var Ue=0;Ue<Pe.length;Ue++)h.call(fe,Pe[Ue])&&xe.push("["+ve(Pe[Ue])+"]: "+ve(fe[Pe[Ue]],fe));return xe}},8875:(F,v,d)=>{var T;if(!Object.keys){var A=Object.prototype.hasOwnProperty,O=Object.prototype.toString,q=d(1093),p=Object.prototype.propertyIsEnumerable,j=!p.call({toString:null},"toString"),w=p.call(function(){},"prototype"),S=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],_=function(b){var B=b.constructor;return B&&B.prototype===b},N={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},I=function(){if(typeof window>"u")return!1;for(var b in window)try{if(!N["$"+b]&&A.call(window,b)&&window[b]!==null&&typeof window[b]=="object")try{_(window[b])}catch{return!0}}catch{return!0}return!1}();T=function(b){var B=b!==null&&typeof b=="object",D=O.call(b)==="[object Function]",U=q(b),$=B&&O.call(b)==="[object String]",P=[];if(!B&&!D&&!U)throw new TypeError("Object.keys called on a non-object");var W=w&&D;if($&&b.length>0&&!A.call(b,0))for(var G=0;G<b.length;++G)P.push(String(G));if(U&&b.length>0)for(var Q=0;Q<b.length;++Q)P.push(String(Q));else for(var te in b)W&&te==="prototype"||!A.call(b,te)||P.push(String(te));if(j)for(var se=function(de){if(typeof window>"u"||!I)return _(de);try{return _(de)}catch{return!1}}(b),ue=0;ue<S.length;++ue)se&&S[ue]==="constructor"||!A.call(b,S[ue])||P.push(S[ue]);return P}}F.exports=T},8902:(F,v,d)=>{var T=d(8170),A=d(3209),O=d(7108),q=d(8206),p=d(2061),j=d(2509),w=d(9247),S=d(7332),_=d(2861).Buffer;F.exports=function(N,I,b){var B;B=N.padding?N.padding:b?1:4;var D,U=T(N);if(B===4)D=function($,P){var W=$.modulus.byteLength(),G=P.length,Q=O("sha1").update(_.alloc(0)).digest(),te=Q.length,se=2*te;if(G>W-se-2)throw new Error("message too long");var ue=_.alloc(W-G-se-2),de=W-te-1,e=A(te),a=p(_.concat([Q,ue,_.alloc(1,1),P],de),q(e,de)),o=p(e,q(a,te));return new j(_.concat([_.alloc(1),o,a],W))}(U,I);else if(B===1)D=function($,P,W){var G,Q=P.length,te=$.modulus.byteLength();if(Q>te-11)throw new Error("message too long");return G=W?_.alloc(te-Q-3,255):function(se){for(var ue,de=_.allocUnsafe(se),e=0,a=A(2*se),o=0;e<se;)o===a.length&&(a=A(2*se),o=0),(ue=a[o++])&&(de[e++]=ue);return de}(te-Q-3),new j(_.concat([_.from([0,W?1:2]),G,_.alloc(1),P],te))}(U,I,b);else{if(B!==3)throw new Error("unknown padding");if((D=new j(I)).cmp(U.modulus)>=0)throw new Error("data too long for modulus")}return b?S(D,U):w(D,U)}},8903:(F,v,d)=>{var T=d(6698),A=d(8287).Buffer,O=d(2010);function q(p){O.call(this,p),this.enc="pem"}T(q,O),F.exports=q,q.prototype.decode=function(p,j){for(var w=p.toString().split(/[\r\n]+/g),S=j.label.toUpperCase(),_=/^-----(BEGIN|END) ([^-]+)-----$/,N=-1,I=-1,b=0;b<w.length;b++){var B=w[b].match(_);if(B!==null&&B[2]===S){if(N!==-1){if(B[1]!=="END")break;I=b;break}if(B[1]!=="BEGIN")break;N=b}}if(N===-1||I===-1)throw new Error("PEM section not found for: "+S);var D=w.slice(N+1,I).join("");D.replace(/[^a-z0-9\+\/=]+/gi,"");var U=new A(D,"base64");return O.prototype.decode.call(this,U,j)}},8948:(F,v,d)=>{var T=d(7426),A=d(3349);function O(q,p,j){if(!(this instanceof O))return new O(q,p,j);this.Hash=q,this.blockSize=q.blockSize/8,this.outSize=q.outSize/8,this.inner=null,this.outer=null,this._init(T.toArray(p,j))}F.exports=O,O.prototype._init=function(q){q.length>this.blockSize&&(q=new this.Hash().update(q).digest()),A(q.length<=this.blockSize);for(var p=q.length;p<this.blockSize;p++)q.push(0);for(p=0;p<q.length;p++)q[p]^=54;for(this.inner=new this.Hash().update(q),p=0;p<q.length;p++)q[p]^=106;this.outer=new this.Hash().update(q)},O.prototype.update=function(q,p){return this.inner.update(q,p),this},O.prototype.digest=function(q){return this.outer.update(this.inner.digest()),this.outer.digest(q)}},8961:(__unused_webpack_module,exports)=>{var indexOf=function(F,v){if(F.indexOf)return F.indexOf(v);for(var d=0;d<F.length;d++)if(F[d]===v)return d;return-1},Object_keys=function(F){if(Object.keys)return Object.keys(F);var v=[];for(var d in F)v.push(d);return v},forEach=function(F,v){if(F.forEach)return F.forEach(v);for(var d=0;d<F.length;d++)v(F[d],d,F)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(F,v,d){Object.defineProperty(F,v,{writable:!0,enumerable:!1,configurable:!0,value:d})}}catch{return function(v,d,T){v[d]=T}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(F){if(!(this instanceof Script))return new Script(F);this.code=F};Script.prototype.runInContext=function(F){if(!(F instanceof Context))throw new TypeError("needs a 'context' argument.");var v=document.createElement("iframe");v.style||(v.style={}),v.style.display="none",document.body.appendChild(v);var d=v.contentWindow,T=d.eval,A=d.execScript;!T&&A&&(A.call(d,"null"),T=d.eval),forEach(Object_keys(F),function(p){d[p]=F[p]}),forEach(globals,function(p){F[p]&&(d[p]=F[p])});var O=Object_keys(d),q=T.call(d,this.code);return forEach(Object_keys(d),function(p){(p in F||indexOf(O,p)===-1)&&(F[p]=d[p])}),forEach(globals,function(p){p in F||defineProp(F,p,d[p])}),document.body.removeChild(v),q},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(F){var v=Script.createContext(F),d=this.runInContext(v);return F&&forEach(Object_keys(v),function(T){F[T]=v[T]}),d},forEach(Object_keys(Script.prototype),function(F){exports[F]=Script[F]=function(v){var d=Script(v);return d[F].apply(d,[].slice.call(arguments,1))}}),exports.isContext=function(F){return F instanceof Context},exports.createScript=function(F){return exports.Script(F)},exports.createContext=Script.createContext=function(F){var v=new Context;return typeof F=="object"&&forEach(Object_keys(F),function(d){v[d]=F[d]}),v}},8968:F=>{F.exports=Math.floor},8982:()=>{},9032:(F,v,d)=>{var T=d(7244),A=d(8184),O=d(5767),q=d(5680);function p(M){return M.call.bind(M)}var j=typeof BigInt<"u",w=typeof Symbol<"u",S=p(Object.prototype.toString),_=p(Number.prototype.valueOf),N=p(String.prototype.valueOf),I=p(Boolean.prototype.valueOf);if(j)var b=p(BigInt.prototype.valueOf);if(w)var B=p(Symbol.prototype.valueOf);function D(M,H){if(typeof M!="object")return!1;try{return H(M),!0}catch{return!1}}function U(M){return S(M)==="[object Map]"}function $(M){return S(M)==="[object Set]"}function P(M){return S(M)==="[object WeakMap]"}function W(M){return S(M)==="[object WeakSet]"}function G(M){return S(M)==="[object ArrayBuffer]"}function Q(M){return typeof ArrayBuffer<"u"&&(G.working?G(M):M instanceof ArrayBuffer)}function te(M){return S(M)==="[object DataView]"}function se(M){return typeof DataView<"u"&&(te.working?te(M):M instanceof DataView)}v.isArgumentsObject=T,v.isGeneratorFunction=A,v.isTypedArray=q,v.isPromise=function(M){return typeof Promise<"u"&&M instanceof Promise||M!==null&&typeof M=="object"&&typeof M.then=="function"&&typeof M.catch=="function"},v.isArrayBufferView=function(M){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(M):q(M)||se(M)},v.isUint8Array=function(M){return O(M)==="Uint8Array"},v.isUint8ClampedArray=function(M){return O(M)==="Uint8ClampedArray"},v.isUint16Array=function(M){return O(M)==="Uint16Array"},v.isUint32Array=function(M){return O(M)==="Uint32Array"},v.isInt8Array=function(M){return O(M)==="Int8Array"},v.isInt16Array=function(M){return O(M)==="Int16Array"},v.isInt32Array=function(M){return O(M)==="Int32Array"},v.isFloat32Array=function(M){return O(M)==="Float32Array"},v.isFloat64Array=function(M){return O(M)==="Float64Array"},v.isBigInt64Array=function(M){return O(M)==="BigInt64Array"},v.isBigUint64Array=function(M){return O(M)==="BigUint64Array"},U.working=typeof Map<"u"&&U(new Map),v.isMap=function(M){return typeof Map<"u"&&(U.working?U(M):M instanceof Map)},$.working=typeof Set<"u"&&$(new Set),v.isSet=function(M){return typeof Set<"u"&&($.working?$(M):M instanceof Set)},P.working=typeof WeakMap<"u"&&P(new WeakMap),v.isWeakMap=function(M){return typeof WeakMap<"u"&&(P.working?P(M):M instanceof WeakMap)},W.working=typeof WeakSet<"u"&&W(new WeakSet),v.isWeakSet=function(M){return W(M)},G.working=typeof ArrayBuffer<"u"&&G(new ArrayBuffer),v.isArrayBuffer=Q,te.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&te(new DataView(new ArrayBuffer(1),0,1)),v.isDataView=se;var ue=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function de(M){return S(M)==="[object SharedArrayBuffer]"}function e(M){return ue!==void 0&&(de.working===void 0&&(de.working=de(new ue)),de.working?de(M):M instanceof ue)}function a(M){return D(M,_)}function o(M){return D(M,N)}function r(M){return D(M,I)}function t(M){return j&&D(M,b)}function h(M){return w&&D(M,B)}v.isSharedArrayBuffer=e,v.isAsyncFunction=function(M){return S(M)==="[object AsyncFunction]"},v.isMapIterator=function(M){return S(M)==="[object Map Iterator]"},v.isSetIterator=function(M){return S(M)==="[object Set Iterator]"},v.isGeneratorObject=function(M){return S(M)==="[object Generator]"},v.isWebAssemblyCompiledModule=function(M){return S(M)==="[object WebAssembly.Module]"},v.isNumberObject=a,v.isStringObject=o,v.isBooleanObject=r,v.isBigIntObject=t,v.isSymbolObject=h,v.isBoxedPrimitive=function(M){return a(M)||o(M)||r(M)||t(M)||h(M)},v.isAnyArrayBuffer=function(M){return typeof Uint8Array<"u"&&(Q(M)||e(M))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(M){Object.defineProperty(v,M,{enumerable:!1,value:function(){throw new Error(M+" is not supported in userland")}})})},9092:(F,v,d)=>{var T=d(1333);F.exports=function(){return T()&&!!Symbol.toStringTag}},9123:(F,v,d)=>{var T=d(5606),A=d(1499),O=d(8310).Stream;function q(j,w,S){S=S||0;var _,N,I=(_=w,new Array(S||0).join(_||"")),b=j;if(typeof j=="object"&&(b=j[N=Object.keys(j)[0]])&&b._elem)return b._elem.name=N,b._elem.icount=S,b._elem.indent=w,b._elem.indents=I,b._elem.interrupt=b,b._elem;var B,D=[],U=[];function $(P){Object.keys(P).forEach(function(W){D.push(function(G,Q){return G+'="'+A(Q)+'"'}(W,P[W]))})}switch(typeof b){case"object":if(b===null)break;b._attr&&$(b._attr),b._cdata&&U.push(("<![CDATA["+b._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),b.forEach&&(B=!1,U.push(""),b.forEach(function(P){typeof P=="object"?Object.keys(P)[0]=="_attr"?$(P._attr):U.push(q(P,w,S+1)):(U.pop(),B=!0,U.push(A(P)))}),B||U.push(""));break;default:U.push(A(b))}return{name:N,interrupt:!1,attributes:D,content:U,icount:S,indents:I,indent:w}}function p(j,w,S){if(typeof w!="object")return j(!1,w);var _=w.interrupt?1:w.content.length;function N(){for(;w.content.length;){var b=w.content.shift();if(b!==void 0){if(I(b))return;p(j,b)}}j(!1,(_>1?w.indents:"")+(w.name?"</"+w.name+">":"")+(w.indent&&!S?`
|
|
140
|
+
`:"")),S&&S()}function I(b){return!!b.interrupt&&(b.interrupt.append=j,b.interrupt.end=N,b.interrupt=!1,j(!0),!0)}if(j(!1,w.indents+(w.name?"<"+w.name:"")+(w.attributes.length?" "+w.attributes.join(" "):"")+(_?w.name?">":"":w.name?"/>":"")+(w.indent&&_>1?`
|
|
141
|
+
`:"")),!_)return j(!1,w.indent?`
|
|
142
|
+
`:"");I(w)||N()}F.exports=function(j,w){typeof w!="object"&&(w={indent:w});var S,_,N=w.stream?new O:null,I="",b=!1,B=w.indent?w.indent===!0?" ":w.indent:"",D=!0;function U(G){D?T.nextTick(G):G()}function $(G,Q){if(Q!==void 0&&(I+=Q),G&&!b&&(N=N||new O,b=!0),G&&b){var te=I;U(function(){N.emit("data",te)}),I=""}}function P(G,Q){p($,q(G,B,B?1:0),Q)}function W(){if(N){var G=I;U(function(){N.emit("data",G),N.emit("end"),N.readable=!1,N.emit("close")})}}return U(function(){D=!1}),w.declaration&&(_={version:"1.0",encoding:(S=w.declaration).encoding||"UTF-8"},S.standalone&&(_.standalone=S.standalone),P({"?xml":{_attr:_}}),I=I.replace("/>","?>")),j&&j.forEach?j.forEach(function(G,Q){var te;Q+1===j.length&&(te=W),P(G,te)}):P(j,W),N?(N.readable=!0,N):I},F.exports.element=F.exports.Element=function(){return{_elem:q(Array.prototype.slice.call(arguments)),push:function(j){if(!this.append)throw new Error("not assigned to a parent!");var w=this,S=this._elem.indent;p(this.append,q(j,S,this._elem.icount+(S?1:0)),function(){w.append(!0)})},close:function(j){j!==void 0&&this.push(j),this.end&&this.end()}}}},9133:(F,v,d)=>{var T=d(8403);F.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var A="abcdefghijklmnopqrst",O=A.split(""),q={},p=0;p<O.length;++p)q[O[p]]=O[p];var j=Object.assign({},q),w="";for(var S in j)w+=S;return A!==w}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var A=Object.preventExtensions({1:2});try{Object.assign(A,"xy")}catch{return A[1]==="y"}return!1}()?T:Object.assign:T}},9188:(F,v,d)=>{var T=d(7011),A=d(8490),O=d(6698),q=d(6677),p=T.assert;function j(_){q.call(this,"short",_),this.a=new A(_.a,16).toRed(this.red),this.b=new A(_.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(_),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function w(_,N,I,b){q.BasePoint.call(this,_,"affine"),N===null&&I===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new A(N,16),this.y=new A(I,16),b&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function S(_,N,I,b){q.BasePoint.call(this,_,"jacobian"),N===null&&I===null&&b===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new A(0)):(this.x=new A(N,16),this.y=new A(I,16),this.z=new A(b,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}O(j,q),F.exports=j,j.prototype._getEndomorphism=function(_){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var N,I;if(_.beta)N=new A(_.beta,16).toRed(this.red);else{var b=this._getEndoRoots(this.p);N=(N=b[0].cmp(b[1])<0?b[0]:b[1]).toRed(this.red)}if(_.lambda)I=new A(_.lambda,16);else{var B=this._getEndoRoots(this.n);this.g.mul(B[0]).x.cmp(this.g.x.redMul(N))===0?I=B[0]:(I=B[1],p(this.g.mul(I).x.cmp(this.g.x.redMul(N))===0))}return{beta:N,lambda:I,basis:_.basis?_.basis.map(function(D){return{a:new A(D.a,16),b:new A(D.b,16)}}):this._getEndoBasis(I)}}},j.prototype._getEndoRoots=function(_){var N=_===this.p?this.red:A.mont(_),I=new A(2).toRed(N).redInvm(),b=I.redNeg(),B=new A(3).toRed(N).redNeg().redSqrt().redMul(I);return[b.redAdd(B).fromRed(),b.redSub(B).fromRed()]},j.prototype._getEndoBasis=function(_){for(var N,I,b,B,D,U,$,P,W,G=this.n.ushrn(Math.floor(this.n.bitLength()/2)),Q=_,te=this.n.clone(),se=new A(1),ue=new A(0),de=new A(0),e=new A(1),a=0;Q.cmpn(0)!==0;){var o=te.div(Q);P=te.sub(o.mul(Q)),W=de.sub(o.mul(se));var r=e.sub(o.mul(ue));if(!b&&P.cmp(G)<0)N=$.neg(),I=se,b=P.neg(),B=W;else if(b&&++a==2)break;$=P,te=Q,Q=P,de=se,se=W,e=ue,ue=r}D=P.neg(),U=W;var t=b.sqr().add(B.sqr());return D.sqr().add(U.sqr()).cmp(t)>=0&&(D=N,U=I),b.negative&&(b=b.neg(),B=B.neg()),D.negative&&(D=D.neg(),U=U.neg()),[{a:b,b:B},{a:D,b:U}]},j.prototype._endoSplit=function(_){var N=this.endo.basis,I=N[0],b=N[1],B=b.b.mul(_).divRound(this.n),D=I.b.neg().mul(_).divRound(this.n),U=B.mul(I.a),$=D.mul(b.a),P=B.mul(I.b),W=D.mul(b.b);return{k1:_.sub(U).sub($),k2:P.add(W).neg()}},j.prototype.pointFromX=function(_,N){(_=new A(_,16)).red||(_=_.toRed(this.red));var I=_.redSqr().redMul(_).redIAdd(_.redMul(this.a)).redIAdd(this.b),b=I.redSqrt();if(b.redSqr().redSub(I).cmp(this.zero)!==0)throw new Error("invalid point");var B=b.fromRed().isOdd();return(N&&!B||!N&&B)&&(b=b.redNeg()),this.point(_,b)},j.prototype.validate=function(_){if(_.inf)return!0;var N=_.x,I=_.y,b=this.a.redMul(N),B=N.redSqr().redMul(N).redIAdd(b).redIAdd(this.b);return I.redSqr().redISub(B).cmpn(0)===0},j.prototype._endoWnafMulAdd=function(_,N,I){for(var b=this._endoWnafT1,B=this._endoWnafT2,D=0;D<_.length;D++){var U=this._endoSplit(N[D]),$=_[D],P=$._getBeta();U.k1.negative&&(U.k1.ineg(),$=$.neg(!0)),U.k2.negative&&(U.k2.ineg(),P=P.neg(!0)),b[2*D]=$,b[2*D+1]=P,B[2*D]=U.k1,B[2*D+1]=U.k2}for(var W=this._wnafMulAdd(1,b,B,2*D,I),G=0;G<2*D;G++)b[G]=null,B[G]=null;return W},O(w,q.BasePoint),j.prototype.point=function(_,N,I){return new w(this,_,N,I)},j.prototype.pointFromJSON=function(_,N){return w.fromJSON(this,_,N)},w.prototype._getBeta=function(){if(this.curve.endo){var _=this.precomputed;if(_&&_.beta)return _.beta;var N=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(_){var I=this.curve,b=function(B){return I.point(B.x.redMul(I.endo.beta),B.y)};_.beta=N,N.precomputed={beta:null,naf:_.naf&&{wnd:_.naf.wnd,points:_.naf.points.map(b)},doubles:_.doubles&&{step:_.doubles.step,points:_.doubles.points.map(b)}}}return N}},w.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},w.fromJSON=function(_,N,I){typeof N=="string"&&(N=JSON.parse(N));var b=_.point(N[0],N[1],I);if(!N[2])return b;function B(U){return _.point(U[0],U[1],I)}var D=N[2];return b.precomputed={beta:null,doubles:D.doubles&&{step:D.doubles.step,points:[b].concat(D.doubles.points.map(B))},naf:D.naf&&{wnd:D.naf.wnd,points:[b].concat(D.naf.points.map(B))}},b},w.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},w.prototype.isInfinity=function(){return this.inf},w.prototype.add=function(_){if(this.inf)return _;if(_.inf)return this;if(this.eq(_))return this.dbl();if(this.neg().eq(_))return this.curve.point(null,null);if(this.x.cmp(_.x)===0)return this.curve.point(null,null);var N=this.y.redSub(_.y);N.cmpn(0)!==0&&(N=N.redMul(this.x.redSub(_.x).redInvm()));var I=N.redSqr().redISub(this.x).redISub(_.x),b=N.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,b)},w.prototype.dbl=function(){if(this.inf)return this;var _=this.y.redAdd(this.y);if(_.cmpn(0)===0)return this.curve.point(null,null);var N=this.curve.a,I=this.x.redSqr(),b=_.redInvm(),B=I.redAdd(I).redIAdd(I).redIAdd(N).redMul(b),D=B.redSqr().redISub(this.x.redAdd(this.x)),U=B.redMul(this.x.redSub(D)).redISub(this.y);return this.curve.point(D,U)},w.prototype.getX=function(){return this.x.fromRed()},w.prototype.getY=function(){return this.y.fromRed()},w.prototype.mul=function(_){return _=new A(_,16),this.isInfinity()?this:this._hasDoubles(_)?this.curve._fixedNafMul(this,_):this.curve.endo?this.curve._endoWnafMulAdd([this],[_]):this.curve._wnafMul(this,_)},w.prototype.mulAdd=function(_,N,I){var b=[this,N],B=[_,I];return this.curve.endo?this.curve._endoWnafMulAdd(b,B):this.curve._wnafMulAdd(1,b,B,2)},w.prototype.jmulAdd=function(_,N,I){var b=[this,N],B=[_,I];return this.curve.endo?this.curve._endoWnafMulAdd(b,B,!0):this.curve._wnafMulAdd(1,b,B,2,!0)},w.prototype.eq=function(_){return this===_||this.inf===_.inf&&(this.inf||this.x.cmp(_.x)===0&&this.y.cmp(_.y)===0)},w.prototype.neg=function(_){if(this.inf)return this;var N=this.curve.point(this.x,this.y.redNeg());if(_&&this.precomputed){var I=this.precomputed,b=function(B){return B.neg()};N.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(b)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(b)}}}return N},w.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},O(S,q.BasePoint),j.prototype.jpoint=function(_,N,I){return new S(this,_,N,I)},S.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var _=this.z.redInvm(),N=_.redSqr(),I=this.x.redMul(N),b=this.y.redMul(N).redMul(_);return this.curve.point(I,b)},S.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},S.prototype.add=function(_){if(this.isInfinity())return _;if(_.isInfinity())return this;var N=_.z.redSqr(),I=this.z.redSqr(),b=this.x.redMul(N),B=_.x.redMul(I),D=this.y.redMul(N.redMul(_.z)),U=_.y.redMul(I.redMul(this.z)),$=b.redSub(B),P=D.redSub(U);if($.cmpn(0)===0)return P.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var W=$.redSqr(),G=W.redMul($),Q=b.redMul(W),te=P.redSqr().redIAdd(G).redISub(Q).redISub(Q),se=P.redMul(Q.redISub(te)).redISub(D.redMul(G)),ue=this.z.redMul(_.z).redMul($);return this.curve.jpoint(te,se,ue)},S.prototype.mixedAdd=function(_){if(this.isInfinity())return _.toJ();if(_.isInfinity())return this;var N=this.z.redSqr(),I=this.x,b=_.x.redMul(N),B=this.y,D=_.y.redMul(N).redMul(this.z),U=I.redSub(b),$=B.redSub(D);if(U.cmpn(0)===0)return $.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var P=U.redSqr(),W=P.redMul(U),G=I.redMul(P),Q=$.redSqr().redIAdd(W).redISub(G).redISub(G),te=$.redMul(G.redISub(Q)).redISub(B.redMul(W)),se=this.z.redMul(U);return this.curve.jpoint(Q,te,se)},S.prototype.dblp=function(_){if(_===0)return this;if(this.isInfinity())return this;if(!_)return this.dbl();var N;if(this.curve.zeroA||this.curve.threeA){var I=this;for(N=0;N<_;N++)I=I.dbl();return I}var b=this.curve.a,B=this.curve.tinv,D=this.x,U=this.y,$=this.z,P=$.redSqr().redSqr(),W=U.redAdd(U);for(N=0;N<_;N++){var G=D.redSqr(),Q=W.redSqr(),te=Q.redSqr(),se=G.redAdd(G).redIAdd(G).redIAdd(b.redMul(P)),ue=D.redMul(Q),de=se.redSqr().redISub(ue.redAdd(ue)),e=ue.redISub(de),a=se.redMul(e);a=a.redIAdd(a).redISub(te);var o=W.redMul($);N+1<_&&(P=P.redMul(te)),D=de,$=o,W=a}return this.curve.jpoint(D,W.redMul(B),$)},S.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},S.prototype._zeroDbl=function(){var _,N,I;if(this.zOne){var b=this.x.redSqr(),B=this.y.redSqr(),D=B.redSqr(),U=this.x.redAdd(B).redSqr().redISub(b).redISub(D);U=U.redIAdd(U);var $=b.redAdd(b).redIAdd(b),P=$.redSqr().redISub(U).redISub(U),W=D.redIAdd(D);W=(W=W.redIAdd(W)).redIAdd(W),_=P,N=$.redMul(U.redISub(P)).redISub(W),I=this.y.redAdd(this.y)}else{var G=this.x.redSqr(),Q=this.y.redSqr(),te=Q.redSqr(),se=this.x.redAdd(Q).redSqr().redISub(G).redISub(te);se=se.redIAdd(se);var ue=G.redAdd(G).redIAdd(G),de=ue.redSqr(),e=te.redIAdd(te);e=(e=e.redIAdd(e)).redIAdd(e),_=de.redISub(se).redISub(se),N=ue.redMul(se.redISub(_)).redISub(e),I=(I=this.y.redMul(this.z)).redIAdd(I)}return this.curve.jpoint(_,N,I)},S.prototype._threeDbl=function(){var _,N,I;if(this.zOne){var b=this.x.redSqr(),B=this.y.redSqr(),D=B.redSqr(),U=this.x.redAdd(B).redSqr().redISub(b).redISub(D);U=U.redIAdd(U);var $=b.redAdd(b).redIAdd(b).redIAdd(this.curve.a),P=$.redSqr().redISub(U).redISub(U);_=P;var W=D.redIAdd(D);W=(W=W.redIAdd(W)).redIAdd(W),N=$.redMul(U.redISub(P)).redISub(W),I=this.y.redAdd(this.y)}else{var G=this.z.redSqr(),Q=this.y.redSqr(),te=this.x.redMul(Q),se=this.x.redSub(G).redMul(this.x.redAdd(G));se=se.redAdd(se).redIAdd(se);var ue=te.redIAdd(te),de=(ue=ue.redIAdd(ue)).redAdd(ue);_=se.redSqr().redISub(de),I=this.y.redAdd(this.z).redSqr().redISub(Q).redISub(G);var e=Q.redSqr();e=(e=(e=e.redIAdd(e)).redIAdd(e)).redIAdd(e),N=se.redMul(ue.redISub(_)).redISub(e)}return this.curve.jpoint(_,N,I)},S.prototype._dbl=function(){var _=this.curve.a,N=this.x,I=this.y,b=this.z,B=b.redSqr().redSqr(),D=N.redSqr(),U=I.redSqr(),$=D.redAdd(D).redIAdd(D).redIAdd(_.redMul(B)),P=N.redAdd(N),W=(P=P.redIAdd(P)).redMul(U),G=$.redSqr().redISub(W.redAdd(W)),Q=W.redISub(G),te=U.redSqr();te=(te=(te=te.redIAdd(te)).redIAdd(te)).redIAdd(te);var se=$.redMul(Q).redISub(te),ue=I.redAdd(I).redMul(b);return this.curve.jpoint(G,se,ue)},S.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var _=this.x.redSqr(),N=this.y.redSqr(),I=this.z.redSqr(),b=N.redSqr(),B=_.redAdd(_).redIAdd(_),D=B.redSqr(),U=this.x.redAdd(N).redSqr().redISub(_).redISub(b),$=(U=(U=(U=U.redIAdd(U)).redAdd(U).redIAdd(U)).redISub(D)).redSqr(),P=b.redIAdd(b);P=(P=(P=P.redIAdd(P)).redIAdd(P)).redIAdd(P);var W=B.redIAdd(U).redSqr().redISub(D).redISub($).redISub(P),G=N.redMul(W);G=(G=G.redIAdd(G)).redIAdd(G);var Q=this.x.redMul($).redISub(G);Q=(Q=Q.redIAdd(Q)).redIAdd(Q);var te=this.y.redMul(W.redMul(P.redISub(W)).redISub(U.redMul($)));te=(te=(te=te.redIAdd(te)).redIAdd(te)).redIAdd(te);var se=this.z.redAdd(U).redSqr().redISub(I).redISub($);return this.curve.jpoint(Q,te,se)},S.prototype.mul=function(_,N){return _=new A(_,N),this.curve._wnafMul(this,_)},S.prototype.eq=function(_){if(_.type==="affine")return this.eq(_.toJ());if(this===_)return!0;var N=this.z.redSqr(),I=_.z.redSqr();if(this.x.redMul(I).redISub(_.x.redMul(N)).cmpn(0)!==0)return!1;var b=N.redMul(this.z),B=I.redMul(_.z);return this.y.redMul(B).redISub(_.y.redMul(b)).cmpn(0)===0},S.prototype.eqXToP=function(_){var N=this.z.redSqr(),I=_.toRed(this.curve.red).redMul(N);if(this.x.cmp(I)===0)return!0;for(var b=_.clone(),B=this.curve.redN.redMul(N);;){if(b.iadd(this.curve.n),b.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(B),this.x.cmp(I)===0)return!0}},S.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},S.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},9209:(F,v,d)=>{var T=d(6578),A=typeof globalThis>"u"?d.g:globalThis;F.exports=function(){for(var O=[],q=0;q<T.length;q++)typeof A[T[q]]=="function"&&(O[O.length]=T[q]);return O}},9211:F=>{var v=function(d){return d!=d};F.exports=function(d,T){return d===0&&T===0?1/d==1/T:d===T||!(!v(d)||!v(T))}},9220:(F,v,d)=>{var T=d(6698);function A(q){this._reporterState={obj:null,path:[],options:q||{},errors:[]}}function O(q,p){this.path=q,this.rethrow(p)}v.a=A,A.prototype.isError=function(q){return q instanceof O},A.prototype.save=function(){var q=this._reporterState;return{obj:q.obj,pathLen:q.path.length}},A.prototype.restore=function(q){var p=this._reporterState;p.obj=q.obj,p.path=p.path.slice(0,q.pathLen)},A.prototype.enterKey=function(q){return this._reporterState.path.push(q)},A.prototype.exitKey=function(q){var p=this._reporterState;p.path=p.path.slice(0,q-1)},A.prototype.leaveKey=function(q,p,j){var w=this._reporterState;this.exitKey(q),w.obj!==null&&(w.obj[p]=j)},A.prototype.path=function(){return this._reporterState.path.join("/")},A.prototype.enterObject=function(){var q=this._reporterState,p=q.obj;return q.obj={},p},A.prototype.leaveObject=function(q){var p=this._reporterState,j=p.obj;return p.obj=q,j},A.prototype.error=function(q){var p,j=this._reporterState,w=q instanceof O;if(p=w?q:new O(j.path.map(function(S){return"["+JSON.stringify(S)+"]"}).join(""),q.message||q,q.stack),!j.options.partial)throw p;return w||j.errors.push(p),p},A.prototype.wrapResult=function(q){var p=this._reporterState;return p.options.partial?{result:this.isError(q)?null:q,errors:p.errors}:q},T(O,Error),O.prototype.rethrow=function(q){if(this.message=q+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,O),!this.stack)try{throw new Error(this.message)}catch(p){this.stack=p.stack}return this}},9241:function(F){(function(){var v,d,T,A,O,q,p,j=[].slice,w={}.hasOwnProperty;v=function(){var S,_,N,I,b,B;if(B=arguments[0],b=2<=arguments.length?j.call(arguments,1):[],O(Object.assign))Object.assign.apply(null,arguments);else for(S=0,N=b.length;S<N;S++)if((I=b[S])!=null)for(_ in I)w.call(I,_)&&(B[_]=I[_]);return B},O=function(S){return!!S&&Object.prototype.toString.call(S)==="[object Function]"},q=function(S){var _;return!!S&&((_=typeof S)=="function"||_==="object")},T=function(S){return O(Array.isArray)?Array.isArray(S):Object.prototype.toString.call(S)==="[object Array]"},A=function(S){var _;if(T(S))return!S.length;for(_ in S)if(w.call(S,_))return!1;return!0},p=function(S){var _,N;return q(S)&&(N=Object.getPrototypeOf(S))&&(_=N.constructor)&&typeof _=="function"&&_ instanceof _&&Function.prototype.toString.call(_)===Function.prototype.toString.call(Object)},d=function(S){return O(S.valueOf)?S.valueOf():S},F.exports.assign=v,F.exports.isFunction=O,F.exports.isObject=q,F.exports.isArray=T,F.exports.isEmpty=A,F.exports.isPlainObject=p,F.exports.getValue=d}).call(this)},9247:(F,v,d)=>{var T=d(2509),A=d(2861).Buffer;F.exports=function(O,q){return A.from(O.toRed(T.mont(q.modulus)).redPow(new T(q.publicExponent)).fromRed().toArray())}},9290:F=>{F.exports=RangeError},9353:F=>{var v=Object.prototype.toString,d=Math.max,T=function(A,O){for(var q=[],p=0;p<A.length;p+=1)q[p]=A[p];for(var j=0;j<O.length;j+=1)q[j+A.length]=O[j];return q};F.exports=function(A){var O=this;if(typeof O!="function"||v.apply(O)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+O);for(var q,p=function(N){for(var I=[],b=1,B=0;b<N.length;b+=1,B+=1)I[B]=N[b];return I}(arguments),j=d(0,O.length-p.length),w=[],S=0;S<j;S++)w[S]="$"+S;if(q=Function("binder","return function ("+function(N){for(var I="",b=0;b<N.length;b+=1)I+=N[b],b+1<N.length&&(I+=",");return I}(w)+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof q){var N=O.apply(this,T(p,arguments));return Object(N)===N?N:this}return O.apply(A,T(p,arguments))}),O.prototype){var _=function(){};_.prototype=O.prototype,q.prototype=new _,_.prototype=null}return q}},9368:()=>{},9383:F=>{F.exports=Error},9394:(F,v,d)=>{var T=d(9211);F.exports=function(){return typeof Object.is=="function"?Object.is:T}},9404:function(F,v,d){(function(T,A){function O(o,r){if(!o)throw new Error(r||"Assertion failed")}function q(o,r){o.super_=r;var t=function(){};t.prototype=r.prototype,o.prototype=new t,o.prototype.constructor=o}function p(o,r,t){if(p.isBN(o))return o;this.negative=0,this.words=null,this.length=0,this.red=null,o!==null&&(r!=="le"&&r!=="be"||(t=r,r=10),this._init(o||0,r||10,t||"be"))}var j;typeof T=="object"?T.exports=p:A.BN=p,p.BN=p,p.wordSize=26;try{j=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:d(7790).Buffer}catch{}function w(o,r){var t=o.charCodeAt(r);return t>=48&&t<=57?t-48:t>=65&&t<=70?t-55:t>=97&&t<=102?t-87:void O(!1,"Invalid character in "+o)}function S(o,r,t){var h=w(o,t);return t-1>=r&&(h|=w(o,t-1)<<4),h}function _(o,r,t,h){for(var M=0,H=0,K=Math.min(o.length,t),V=r;V<K;V++){var Z=o.charCodeAt(V)-48;M*=h,H=Z>=49?Z-49+10:Z>=17?Z-17+10:Z,O(Z>=0&&H<h,"Invalid character"),M+=H}return M}function N(o,r){o.words=r.words,o.length=r.length,o.negative=r.negative,o.red=r.red}if(p.isBN=function(o){return o instanceof p||o!==null&&typeof o=="object"&&o.constructor.wordSize===p.wordSize&&Array.isArray(o.words)},p.max=function(o,r){return o.cmp(r)>0?o:r},p.min=function(o,r){return o.cmp(r)<0?o:r},p.prototype._init=function(o,r,t){if(typeof o=="number")return this._initNumber(o,r,t);if(typeof o=="object")return this._initArray(o,r,t);r==="hex"&&(r=16),O(r===(0|r)&&r>=2&&r<=36);var h=0;(o=o.toString().replace(/\s+/g,""))[0]==="-"&&(h++,this.negative=1),h<o.length&&(r===16?this._parseHex(o,h,t):(this._parseBase(o,r,h),t==="le"&&this._initArray(this.toArray(),r,t)))},p.prototype._initNumber=function(o,r,t){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[67108863&o],this.length=1):o<4503599627370496?(this.words=[67108863&o,o/67108864&67108863],this.length=2):(O(o<9007199254740992),this.words=[67108863&o,o/67108864&67108863,1],this.length=3),t==="le"&&this._initArray(this.toArray(),r,t)},p.prototype._initArray=function(o,r,t){if(O(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var M,H,K=0;if(t==="be")for(h=o.length-1,M=0;h>=0;h-=3)H=o[h]|o[h-1]<<8|o[h-2]<<16,this.words[M]|=H<<K&67108863,this.words[M+1]=H>>>26-K&67108863,(K+=24)>=26&&(K-=26,M++);else if(t==="le")for(h=0,M=0;h<o.length;h+=3)H=o[h]|o[h+1]<<8|o[h+2]<<16,this.words[M]|=H<<K&67108863,this.words[M+1]=H>>>26-K&67108863,(K+=24)>=26&&(K-=26,M++);return this._strip()},p.prototype._parseHex=function(o,r,t){this.length=Math.ceil((o.length-r)/6),this.words=new Array(this.length);for(var h=0;h<this.length;h++)this.words[h]=0;var M,H=0,K=0;if(t==="be")for(h=o.length-1;h>=r;h-=2)M=S(o,r,h)<<H,this.words[K]|=67108863&M,H>=18?(H-=18,K+=1,this.words[K]|=M>>>26):H+=8;else for(h=(o.length-r)%2==0?r+1:r;h<o.length;h+=2)M=S(o,r,h)<<H,this.words[K]|=67108863&M,H>=18?(H-=18,K+=1,this.words[K]|=M>>>26):H+=8;this._strip()},p.prototype._parseBase=function(o,r,t){this.words=[0],this.length=1;for(var h=0,M=1;M<=67108863;M*=r)h++;h--,M=M/r|0;for(var H=o.length-t,K=H%h,V=Math.min(H,H-K)+t,Z=0,X=t;X<V;X+=h)Z=_(o,X,X+h,r),this.imuln(M),this.words[0]+Z<67108864?this.words[0]+=Z:this._iaddn(Z);if(K!==0){var ae=1;for(Z=_(o,X,o.length,r),X=0;X<K;X++)ae*=r;this.imuln(ae),this.words[0]+Z<67108864?this.words[0]+=Z:this._iaddn(Z)}this._strip()},p.prototype.copy=function(o){o.words=new Array(this.length);for(var r=0;r<this.length;r++)o.words[r]=this.words[r];o.length=this.length,o.negative=this.negative,o.red=this.red},p.prototype._move=function(o){N(o,this)},p.prototype.clone=function(){var o=new p(null);return this.copy(o),o},p.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},p.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},p.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{p.prototype[Symbol.for("nodejs.util.inspect.custom")]=I}catch{p.prototype.inspect=I}else p.prototype.inspect=I;function I(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var b=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],B=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function U(o,r,t){t.negative=r.negative^o.negative;var h=o.length+r.length|0;t.length=h,h=h-1|0;var M=0|o.words[0],H=0|r.words[0],K=M*H,V=67108863&K,Z=K/67108864|0;t.words[0]=V;for(var X=1;X<h;X++){for(var ae=Z>>>26,ie=67108863&Z,ce=Math.min(X,r.length-1),Y=Math.max(0,X-o.length+1);Y<=ce;Y++){var ne=X-Y|0;ae+=(K=(M=0|o.words[ne])*(H=0|r.words[Y])+ie)/67108864|0,ie=67108863&K}t.words[X]=0|ie,Z=0|ae}return Z!==0?t.words[X]=0|Z:t.length--,t._strip()}p.prototype.toString=function(o,r){var t;if(r=0|r||1,(o=o||10)===16||o==="hex"){t="";for(var h=0,M=0,H=0;H<this.length;H++){var K=this.words[H],V=(16777215&(K<<h|M)).toString(16);M=K>>>24-h&16777215,(h+=2)>=26&&(h-=26,H--),t=M!==0||H!==this.length-1?b[6-V.length]+V+t:V+t}for(M!==0&&(t=M.toString(16)+t);t.length%r!=0;)t="0"+t;return this.negative!==0&&(t="-"+t),t}if(o===(0|o)&&o>=2&&o<=36){var Z=B[o],X=D[o];t="";var ae=this.clone();for(ae.negative=0;!ae.isZero();){var ie=ae.modrn(X).toString(o);t=(ae=ae.idivn(X)).isZero()?ie+t:b[Z-ie.length]+ie+t}for(this.isZero()&&(t="0"+t);t.length%r!=0;)t="0"+t;return this.negative!==0&&(t="-"+t),t}O(!1,"Base should be between 2 and 36")},p.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=67108864*this.words[1]:this.length===3&&this.words[2]===1?o+=4503599627370496+67108864*this.words[1]:this.length>2&&O(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},p.prototype.toJSON=function(){return this.toString(16,2)},j&&(p.prototype.toBuffer=function(o,r){return this.toArrayLike(j,o,r)}),p.prototype.toArray=function(o,r){return this.toArrayLike(Array,o,r)},p.prototype.toArrayLike=function(o,r,t){this._strip();var h=this.byteLength(),M=t||Math.max(1,h);O(h<=M,"byte array longer than desired length"),O(M>0,"Requested array length <= 0");var H=function(K,V){return K.allocUnsafe?K.allocUnsafe(V):new K(V)}(o,M);return this["_toArrayLike"+(r==="le"?"LE":"BE")](H,h),H},p.prototype._toArrayLikeLE=function(o,r){for(var t=0,h=0,M=0,H=0;M<this.length;M++){var K=this.words[M]<<H|h;o[t++]=255&K,t<o.length&&(o[t++]=K>>8&255),t<o.length&&(o[t++]=K>>16&255),H===6?(t<o.length&&(o[t++]=K>>24&255),h=0,H=0):(h=K>>>24,H+=2)}if(t<o.length)for(o[t++]=h;t<o.length;)o[t++]=0},p.prototype._toArrayLikeBE=function(o,r){for(var t=o.length-1,h=0,M=0,H=0;M<this.length;M++){var K=this.words[M]<<H|h;o[t--]=255&K,t>=0&&(o[t--]=K>>8&255),t>=0&&(o[t--]=K>>16&255),H===6?(t>=0&&(o[t--]=K>>24&255),h=0,H=0):(h=K>>>24,H+=2)}if(t>=0)for(o[t--]=h;t>=0;)o[t--]=0},Math.clz32?p.prototype._countBits=function(o){return 32-Math.clz32(o)}:p.prototype._countBits=function(o){var r=o,t=0;return r>=4096&&(t+=13,r>>>=13),r>=64&&(t+=7,r>>>=7),r>=8&&(t+=4,r>>>=4),r>=2&&(t+=2,r>>>=2),t+r},p.prototype._zeroBits=function(o){if(o===0)return 26;var r=o,t=0;return 8191&r||(t+=13,r>>>=13),127&r||(t+=7,r>>>=7),15&r||(t+=4,r>>>=4),3&r||(t+=2,r>>>=2),1&r||t++,t},p.prototype.bitLength=function(){var o=this.words[this.length-1],r=this._countBits(o);return 26*(this.length-1)+r},p.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,r=0;r<this.length;r++){var t=this._zeroBits(this.words[r]);if(o+=t,t!==26)break}return o},p.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},p.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},p.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},p.prototype.isNeg=function(){return this.negative!==0},p.prototype.neg=function(){return this.clone().ineg()},p.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},p.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var r=0;r<o.length;r++)this.words[r]=this.words[r]|o.words[r];return this._strip()},p.prototype.ior=function(o){return O(!(this.negative|o.negative)),this.iuor(o)},p.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},p.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},p.prototype.iuand=function(o){var r;r=this.length>o.length?o:this;for(var t=0;t<r.length;t++)this.words[t]=this.words[t]&o.words[t];return this.length=r.length,this._strip()},p.prototype.iand=function(o){return O(!(this.negative|o.negative)),this.iuand(o)},p.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},p.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},p.prototype.iuxor=function(o){var r,t;this.length>o.length?(r=this,t=o):(r=o,t=this);for(var h=0;h<t.length;h++)this.words[h]=r.words[h]^t.words[h];if(this!==r)for(;h<r.length;h++)this.words[h]=r.words[h];return this.length=r.length,this._strip()},p.prototype.ixor=function(o){return O(!(this.negative|o.negative)),this.iuxor(o)},p.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},p.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},p.prototype.inotn=function(o){O(typeof o=="number"&&o>=0);var r=0|Math.ceil(o/26),t=o%26;this._expand(r),t>0&&r--;for(var h=0;h<r;h++)this.words[h]=67108863&~this.words[h];return t>0&&(this.words[h]=~this.words[h]&67108863>>26-t),this._strip()},p.prototype.notn=function(o){return this.clone().inotn(o)},p.prototype.setn=function(o,r){O(typeof o=="number"&&o>=0);var t=o/26|0,h=o%26;return this._expand(t+1),this.words[t]=r?this.words[t]|1<<h:this.words[t]&~(1<<h),this._strip()},p.prototype.iadd=function(o){var r,t,h;if(this.negative!==0&&o.negative===0)return this.negative=0,r=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,r=this.isub(o),o.negative=1,r._normSign();this.length>o.length?(t=this,h=o):(t=o,h=this);for(var M=0,H=0;H<h.length;H++)r=(0|t.words[H])+(0|h.words[H])+M,this.words[H]=67108863&r,M=r>>>26;for(;M!==0&&H<t.length;H++)r=(0|t.words[H])+M,this.words[H]=67108863&r,M=r>>>26;if(this.length=t.length,M!==0)this.words[this.length]=M,this.length++;else if(t!==this)for(;H<t.length;H++)this.words[H]=t.words[H];return this},p.prototype.add=function(o){var r;return o.negative!==0&&this.negative===0?(o.negative=0,r=this.sub(o),o.negative^=1,r):o.negative===0&&this.negative!==0?(this.negative=0,r=o.sub(this),this.negative=1,r):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},p.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var r=this.iadd(o);return o.negative=1,r._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var t,h,M=this.cmp(o);if(M===0)return this.negative=0,this.length=1,this.words[0]=0,this;M>0?(t=this,h=o):(t=o,h=this);for(var H=0,K=0;K<h.length;K++)H=(r=(0|t.words[K])-(0|h.words[K])+H)>>26,this.words[K]=67108863&r;for(;H!==0&&K<t.length;K++)H=(r=(0|t.words[K])+H)>>26,this.words[K]=67108863&r;if(H===0&&K<t.length&&t!==this)for(;K<t.length;K++)this.words[K]=t.words[K];return this.length=Math.max(this.length,K),t!==this&&(this.negative=1),this._strip()},p.prototype.sub=function(o){return this.clone().isub(o)};var $=function(o,r,t){var h,M,H,K=o.words,V=r.words,Z=t.words,X=0,ae=0|K[0],ie=8191&ae,ce=ae>>>13,Y=0|K[1],ne=8191&Y,J=Y>>>13,ee=0|K[2],ge=8191&ee,pe=ee>>>13,we=0|K[3],je=8191&we,Me=we>>>13,Ae=0|K[4],Ve=8191&Ae,Ie=Ae>>>13,Be=0|K[5],le=8191&Be,he=Be>>>13,fe=0|K[6],ve=8191&fe,ye=fe>>>13,xe=0|K[7],Le=8191&xe,Oe=xe>>>13,Pe=0|K[8],wt=8191&Pe,Ne=Pe>>>13,Ue=0|K[9],It=8191&Ue,He=Ue>>>13,Ke=0|V[0],kt=8191&Ke,Fe=Ke>>>13,nt=0|V[1],_t=8191&nt,$e=nt>>>13,tt=0|V[2],jt=8191&tt,ze=tt>>>13,rt=0|V[3],Dt=8191&rt,Ge=rt>>>13,st=0|V[4],Wt=8191&st,Ze=st>>>13,ot=0|V[5],Zt=8191&ot,Ce=ot>>>13,Xe=0|V[6],$t=8191&Xe,Je=Xe>>>13,ht=0|V[7],Jt=8191&ht,Qe=ht>>>13,lt=0|V[8],en=8191<,et=lt>>>13,ft=0|V[9],Ht=8191&ft,Ut=ft>>>13;t.negative=o.negative^r.negative,t.length=19;var cn=(X+(h=Math.imul(ie,kt))|0)+((8191&(M=(M=Math.imul(ie,Fe))+Math.imul(ce,kt)|0))<<13)|0;X=((H=Math.imul(ce,Fe))+(M>>>13)|0)+(cn>>>26)|0,cn&=67108863,h=Math.imul(ne,kt),M=(M=Math.imul(ne,Fe))+Math.imul(J,kt)|0,H=Math.imul(J,Fe);var mn=(X+(h=h+Math.imul(ie,_t)|0)|0)+((8191&(M=(M=M+Math.imul(ie,$e)|0)+Math.imul(ce,_t)|0))<<13)|0;X=((H=H+Math.imul(ce,$e)|0)+(M>>>13)|0)+(mn>>>26)|0,mn&=67108863,h=Math.imul(ge,kt),M=(M=Math.imul(ge,Fe))+Math.imul(pe,kt)|0,H=Math.imul(pe,Fe),h=h+Math.imul(ne,_t)|0,M=(M=M+Math.imul(ne,$e)|0)+Math.imul(J,_t)|0,H=H+Math.imul(J,$e)|0;var hn=(X+(h=h+Math.imul(ie,jt)|0)|0)+((8191&(M=(M=M+Math.imul(ie,ze)|0)+Math.imul(ce,jt)|0))<<13)|0;X=((H=H+Math.imul(ce,ze)|0)+(M>>>13)|0)+(hn>>>26)|0,hn&=67108863,h=Math.imul(je,kt),M=(M=Math.imul(je,Fe))+Math.imul(Me,kt)|0,H=Math.imul(Me,Fe),h=h+Math.imul(ge,_t)|0,M=(M=M+Math.imul(ge,$e)|0)+Math.imul(pe,_t)|0,H=H+Math.imul(pe,$e)|0,h=h+Math.imul(ne,jt)|0,M=(M=M+Math.imul(ne,ze)|0)+Math.imul(J,jt)|0,H=H+Math.imul(J,ze)|0;var gn=(X+(h=h+Math.imul(ie,Dt)|0)|0)+((8191&(M=(M=M+Math.imul(ie,Ge)|0)+Math.imul(ce,Dt)|0))<<13)|0;X=((H=H+Math.imul(ce,Ge)|0)+(M>>>13)|0)+(gn>>>26)|0,gn&=67108863,h=Math.imul(Ve,kt),M=(M=Math.imul(Ve,Fe))+Math.imul(Ie,kt)|0,H=Math.imul(Ie,Fe),h=h+Math.imul(je,_t)|0,M=(M=M+Math.imul(je,$e)|0)+Math.imul(Me,_t)|0,H=H+Math.imul(Me,$e)|0,h=h+Math.imul(ge,jt)|0,M=(M=M+Math.imul(ge,ze)|0)+Math.imul(pe,jt)|0,H=H+Math.imul(pe,ze)|0,h=h+Math.imul(ne,Dt)|0,M=(M=M+Math.imul(ne,Ge)|0)+Math.imul(J,Dt)|0,H=H+Math.imul(J,Ge)|0;var vn=(X+(h=h+Math.imul(ie,Wt)|0)|0)+((8191&(M=(M=M+Math.imul(ie,Ze)|0)+Math.imul(ce,Wt)|0))<<13)|0;X=((H=H+Math.imul(ce,Ze)|0)+(M>>>13)|0)+(vn>>>26)|0,vn&=67108863,h=Math.imul(le,kt),M=(M=Math.imul(le,Fe))+Math.imul(he,kt)|0,H=Math.imul(he,Fe),h=h+Math.imul(Ve,_t)|0,M=(M=M+Math.imul(Ve,$e)|0)+Math.imul(Ie,_t)|0,H=H+Math.imul(Ie,$e)|0,h=h+Math.imul(je,jt)|0,M=(M=M+Math.imul(je,ze)|0)+Math.imul(Me,jt)|0,H=H+Math.imul(Me,ze)|0,h=h+Math.imul(ge,Dt)|0,M=(M=M+Math.imul(ge,Ge)|0)+Math.imul(pe,Dt)|0,H=H+Math.imul(pe,Ge)|0,h=h+Math.imul(ne,Wt)|0,M=(M=M+Math.imul(ne,Ze)|0)+Math.imul(J,Wt)|0,H=H+Math.imul(J,Ze)|0;var yn=(X+(h=h+Math.imul(ie,Zt)|0)|0)+((8191&(M=(M=M+Math.imul(ie,Ce)|0)+Math.imul(ce,Zt)|0))<<13)|0;X=((H=H+Math.imul(ce,Ce)|0)+(M>>>13)|0)+(yn>>>26)|0,yn&=67108863,h=Math.imul(ve,kt),M=(M=Math.imul(ve,Fe))+Math.imul(ye,kt)|0,H=Math.imul(ye,Fe),h=h+Math.imul(le,_t)|0,M=(M=M+Math.imul(le,$e)|0)+Math.imul(he,_t)|0,H=H+Math.imul(he,$e)|0,h=h+Math.imul(Ve,jt)|0,M=(M=M+Math.imul(Ve,ze)|0)+Math.imul(Ie,jt)|0,H=H+Math.imul(Ie,ze)|0,h=h+Math.imul(je,Dt)|0,M=(M=M+Math.imul(je,Ge)|0)+Math.imul(Me,Dt)|0,H=H+Math.imul(Me,Ge)|0,h=h+Math.imul(ge,Wt)|0,M=(M=M+Math.imul(ge,Ze)|0)+Math.imul(pe,Wt)|0,H=H+Math.imul(pe,Ze)|0,h=h+Math.imul(ne,Zt)|0,M=(M=M+Math.imul(ne,Ce)|0)+Math.imul(J,Zt)|0,H=H+Math.imul(J,Ce)|0;var bn=(X+(h=h+Math.imul(ie,$t)|0)|0)+((8191&(M=(M=M+Math.imul(ie,Je)|0)+Math.imul(ce,$t)|0))<<13)|0;X=((H=H+Math.imul(ce,Je)|0)+(M>>>13)|0)+(bn>>>26)|0,bn&=67108863,h=Math.imul(Le,kt),M=(M=Math.imul(Le,Fe))+Math.imul(Oe,kt)|0,H=Math.imul(Oe,Fe),h=h+Math.imul(ve,_t)|0,M=(M=M+Math.imul(ve,$e)|0)+Math.imul(ye,_t)|0,H=H+Math.imul(ye,$e)|0,h=h+Math.imul(le,jt)|0,M=(M=M+Math.imul(le,ze)|0)+Math.imul(he,jt)|0,H=H+Math.imul(he,ze)|0,h=h+Math.imul(Ve,Dt)|0,M=(M=M+Math.imul(Ve,Ge)|0)+Math.imul(Ie,Dt)|0,H=H+Math.imul(Ie,Ge)|0,h=h+Math.imul(je,Wt)|0,M=(M=M+Math.imul(je,Ze)|0)+Math.imul(Me,Wt)|0,H=H+Math.imul(Me,Ze)|0,h=h+Math.imul(ge,Zt)|0,M=(M=M+Math.imul(ge,Ce)|0)+Math.imul(pe,Zt)|0,H=H+Math.imul(pe,Ce)|0,h=h+Math.imul(ne,$t)|0,M=(M=M+Math.imul(ne,Je)|0)+Math.imul(J,$t)|0,H=H+Math.imul(J,Je)|0;var ln=(X+(h=h+Math.imul(ie,Jt)|0)|0)+((8191&(M=(M=M+Math.imul(ie,Qe)|0)+Math.imul(ce,Jt)|0))<<13)|0;X=((H=H+Math.imul(ce,Qe)|0)+(M>>>13)|0)+(ln>>>26)|0,ln&=67108863,h=Math.imul(wt,kt),M=(M=Math.imul(wt,Fe))+Math.imul(Ne,kt)|0,H=Math.imul(Ne,Fe),h=h+Math.imul(Le,_t)|0,M=(M=M+Math.imul(Le,$e)|0)+Math.imul(Oe,_t)|0,H=H+Math.imul(Oe,$e)|0,h=h+Math.imul(ve,jt)|0,M=(M=M+Math.imul(ve,ze)|0)+Math.imul(ye,jt)|0,H=H+Math.imul(ye,ze)|0,h=h+Math.imul(le,Dt)|0,M=(M=M+Math.imul(le,Ge)|0)+Math.imul(he,Dt)|0,H=H+Math.imul(he,Ge)|0,h=h+Math.imul(Ve,Wt)|0,M=(M=M+Math.imul(Ve,Ze)|0)+Math.imul(Ie,Wt)|0,H=H+Math.imul(Ie,Ze)|0,h=h+Math.imul(je,Zt)|0,M=(M=M+Math.imul(je,Ce)|0)+Math.imul(Me,Zt)|0,H=H+Math.imul(Me,Ce)|0,h=h+Math.imul(ge,$t)|0,M=(M=M+Math.imul(ge,Je)|0)+Math.imul(pe,$t)|0,H=H+Math.imul(pe,Je)|0,h=h+Math.imul(ne,Jt)|0,M=(M=M+Math.imul(ne,Qe)|0)+Math.imul(J,Jt)|0,H=H+Math.imul(J,Qe)|0;var wn=(X+(h=h+Math.imul(ie,en)|0)|0)+((8191&(M=(M=M+Math.imul(ie,et)|0)+Math.imul(ce,en)|0))<<13)|0;X=((H=H+Math.imul(ce,et)|0)+(M>>>13)|0)+(wn>>>26)|0,wn&=67108863,h=Math.imul(It,kt),M=(M=Math.imul(It,Fe))+Math.imul(He,kt)|0,H=Math.imul(He,Fe),h=h+Math.imul(wt,_t)|0,M=(M=M+Math.imul(wt,$e)|0)+Math.imul(Ne,_t)|0,H=H+Math.imul(Ne,$e)|0,h=h+Math.imul(Le,jt)|0,M=(M=M+Math.imul(Le,ze)|0)+Math.imul(Oe,jt)|0,H=H+Math.imul(Oe,ze)|0,h=h+Math.imul(ve,Dt)|0,M=(M=M+Math.imul(ve,Ge)|0)+Math.imul(ye,Dt)|0,H=H+Math.imul(ye,Ge)|0,h=h+Math.imul(le,Wt)|0,M=(M=M+Math.imul(le,Ze)|0)+Math.imul(he,Wt)|0,H=H+Math.imul(he,Ze)|0,h=h+Math.imul(Ve,Zt)|0,M=(M=M+Math.imul(Ve,Ce)|0)+Math.imul(Ie,Zt)|0,H=H+Math.imul(Ie,Ce)|0,h=h+Math.imul(je,$t)|0,M=(M=M+Math.imul(je,Je)|0)+Math.imul(Me,$t)|0,H=H+Math.imul(Me,Je)|0,h=h+Math.imul(ge,Jt)|0,M=(M=M+Math.imul(ge,Qe)|0)+Math.imul(pe,Jt)|0,H=H+Math.imul(pe,Qe)|0,h=h+Math.imul(ne,en)|0,M=(M=M+Math.imul(ne,et)|0)+Math.imul(J,en)|0,H=H+Math.imul(J,et)|0;var fn=(X+(h=h+Math.imul(ie,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(ie,Ut)|0)+Math.imul(ce,Ht)|0))<<13)|0;X=((H=H+Math.imul(ce,Ut)|0)+(M>>>13)|0)+(fn>>>26)|0,fn&=67108863,h=Math.imul(It,_t),M=(M=Math.imul(It,$e))+Math.imul(He,_t)|0,H=Math.imul(He,$e),h=h+Math.imul(wt,jt)|0,M=(M=M+Math.imul(wt,ze)|0)+Math.imul(Ne,jt)|0,H=H+Math.imul(Ne,ze)|0,h=h+Math.imul(Le,Dt)|0,M=(M=M+Math.imul(Le,Ge)|0)+Math.imul(Oe,Dt)|0,H=H+Math.imul(Oe,Ge)|0,h=h+Math.imul(ve,Wt)|0,M=(M=M+Math.imul(ve,Ze)|0)+Math.imul(ye,Wt)|0,H=H+Math.imul(ye,Ze)|0,h=h+Math.imul(le,Zt)|0,M=(M=M+Math.imul(le,Ce)|0)+Math.imul(he,Zt)|0,H=H+Math.imul(he,Ce)|0,h=h+Math.imul(Ve,$t)|0,M=(M=M+Math.imul(Ve,Je)|0)+Math.imul(Ie,$t)|0,H=H+Math.imul(Ie,Je)|0,h=h+Math.imul(je,Jt)|0,M=(M=M+Math.imul(je,Qe)|0)+Math.imul(Me,Jt)|0,H=H+Math.imul(Me,Qe)|0,h=h+Math.imul(ge,en)|0,M=(M=M+Math.imul(ge,et)|0)+Math.imul(pe,en)|0,H=H+Math.imul(pe,et)|0;var xn=(X+(h=h+Math.imul(ne,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(ne,Ut)|0)+Math.imul(J,Ht)|0))<<13)|0;X=((H=H+Math.imul(J,Ut)|0)+(M>>>13)|0)+(xn>>>26)|0,xn&=67108863,h=Math.imul(It,jt),M=(M=Math.imul(It,ze))+Math.imul(He,jt)|0,H=Math.imul(He,ze),h=h+Math.imul(wt,Dt)|0,M=(M=M+Math.imul(wt,Ge)|0)+Math.imul(Ne,Dt)|0,H=H+Math.imul(Ne,Ge)|0,h=h+Math.imul(Le,Wt)|0,M=(M=M+Math.imul(Le,Ze)|0)+Math.imul(Oe,Wt)|0,H=H+Math.imul(Oe,Ze)|0,h=h+Math.imul(ve,Zt)|0,M=(M=M+Math.imul(ve,Ce)|0)+Math.imul(ye,Zt)|0,H=H+Math.imul(ye,Ce)|0,h=h+Math.imul(le,$t)|0,M=(M=M+Math.imul(le,Je)|0)+Math.imul(he,$t)|0,H=H+Math.imul(he,Je)|0,h=h+Math.imul(Ve,Jt)|0,M=(M=M+Math.imul(Ve,Qe)|0)+Math.imul(Ie,Jt)|0,H=H+Math.imul(Ie,Qe)|0,h=h+Math.imul(je,en)|0,M=(M=M+Math.imul(je,et)|0)+Math.imul(Me,en)|0,H=H+Math.imul(Me,et)|0;var _n=(X+(h=h+Math.imul(ge,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(ge,Ut)|0)+Math.imul(pe,Ht)|0))<<13)|0;X=((H=H+Math.imul(pe,Ut)|0)+(M>>>13)|0)+(_n>>>26)|0,_n&=67108863,h=Math.imul(It,Dt),M=(M=Math.imul(It,Ge))+Math.imul(He,Dt)|0,H=Math.imul(He,Ge),h=h+Math.imul(wt,Wt)|0,M=(M=M+Math.imul(wt,Ze)|0)+Math.imul(Ne,Wt)|0,H=H+Math.imul(Ne,Ze)|0,h=h+Math.imul(Le,Zt)|0,M=(M=M+Math.imul(Le,Ce)|0)+Math.imul(Oe,Zt)|0,H=H+Math.imul(Oe,Ce)|0,h=h+Math.imul(ve,$t)|0,M=(M=M+Math.imul(ve,Je)|0)+Math.imul(ye,$t)|0,H=H+Math.imul(ye,Je)|0,h=h+Math.imul(le,Jt)|0,M=(M=M+Math.imul(le,Qe)|0)+Math.imul(he,Jt)|0,H=H+Math.imul(he,Qe)|0,h=h+Math.imul(Ve,en)|0,M=(M=M+Math.imul(Ve,et)|0)+Math.imul(Ie,en)|0,H=H+Math.imul(Ie,et)|0;var pn=(X+(h=h+Math.imul(je,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(je,Ut)|0)+Math.imul(Me,Ht)|0))<<13)|0;X=((H=H+Math.imul(Me,Ut)|0)+(M>>>13)|0)+(pn>>>26)|0,pn&=67108863,h=Math.imul(It,Wt),M=(M=Math.imul(It,Ze))+Math.imul(He,Wt)|0,H=Math.imul(He,Ze),h=h+Math.imul(wt,Zt)|0,M=(M=M+Math.imul(wt,Ce)|0)+Math.imul(Ne,Zt)|0,H=H+Math.imul(Ne,Ce)|0,h=h+Math.imul(Le,$t)|0,M=(M=M+Math.imul(Le,Je)|0)+Math.imul(Oe,$t)|0,H=H+Math.imul(Oe,Je)|0,h=h+Math.imul(ve,Jt)|0,M=(M=M+Math.imul(ve,Qe)|0)+Math.imul(ye,Jt)|0,H=H+Math.imul(ye,Qe)|0,h=h+Math.imul(le,en)|0,M=(M=M+Math.imul(le,et)|0)+Math.imul(he,en)|0,H=H+Math.imul(he,et)|0;var Bt=(X+(h=h+Math.imul(Ve,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(Ve,Ut)|0)+Math.imul(Ie,Ht)|0))<<13)|0;X=((H=H+Math.imul(Ie,Ut)|0)+(M>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,h=Math.imul(It,Zt),M=(M=Math.imul(It,Ce))+Math.imul(He,Zt)|0,H=Math.imul(He,Ce),h=h+Math.imul(wt,$t)|0,M=(M=M+Math.imul(wt,Je)|0)+Math.imul(Ne,$t)|0,H=H+Math.imul(Ne,Je)|0,h=h+Math.imul(Le,Jt)|0,M=(M=M+Math.imul(Le,Qe)|0)+Math.imul(Oe,Jt)|0,H=H+Math.imul(Oe,Qe)|0,h=h+Math.imul(ve,en)|0,M=(M=M+Math.imul(ve,et)|0)+Math.imul(ye,en)|0,H=H+Math.imul(ye,et)|0;var Pt=(X+(h=h+Math.imul(le,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(le,Ut)|0)+Math.imul(he,Ht)|0))<<13)|0;X=((H=H+Math.imul(he,Ut)|0)+(M>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,h=Math.imul(It,$t),M=(M=Math.imul(It,Je))+Math.imul(He,$t)|0,H=Math.imul(He,Je),h=h+Math.imul(wt,Jt)|0,M=(M=M+Math.imul(wt,Qe)|0)+Math.imul(Ne,Jt)|0,H=H+Math.imul(Ne,Qe)|0,h=h+Math.imul(Le,en)|0,M=(M=M+Math.imul(Le,et)|0)+Math.imul(Oe,en)|0,H=H+Math.imul(Oe,et)|0;var Mn=(X+(h=h+Math.imul(ve,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(ve,Ut)|0)+Math.imul(ye,Ht)|0))<<13)|0;X=((H=H+Math.imul(ye,Ut)|0)+(M>>>13)|0)+(Mn>>>26)|0,Mn&=67108863,h=Math.imul(It,Jt),M=(M=Math.imul(It,Qe))+Math.imul(He,Jt)|0,H=Math.imul(He,Qe),h=h+Math.imul(wt,en)|0,M=(M=M+Math.imul(wt,et)|0)+Math.imul(Ne,en)|0,H=H+Math.imul(Ne,et)|0;var En=(X+(h=h+Math.imul(Le,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(Le,Ut)|0)+Math.imul(Oe,Ht)|0))<<13)|0;X=((H=H+Math.imul(Oe,Ut)|0)+(M>>>13)|0)+(En>>>26)|0,En&=67108863,h=Math.imul(It,en),M=(M=Math.imul(It,et))+Math.imul(He,en)|0,H=Math.imul(He,et);var gi=(X+(h=h+Math.imul(wt,Ht)|0)|0)+((8191&(M=(M=M+Math.imul(wt,Ut)|0)+Math.imul(Ne,Ht)|0))<<13)|0;X=((H=H+Math.imul(Ne,Ut)|0)+(M>>>13)|0)+(gi>>>26)|0,gi&=67108863;var _i=(X+(h=Math.imul(It,Ht))|0)+((8191&(M=(M=Math.imul(It,Ut))+Math.imul(He,Ht)|0))<<13)|0;return X=((H=Math.imul(He,Ut))+(M>>>13)|0)+(_i>>>26)|0,_i&=67108863,Z[0]=cn,Z[1]=mn,Z[2]=hn,Z[3]=gn,Z[4]=vn,Z[5]=yn,Z[6]=bn,Z[7]=ln,Z[8]=wn,Z[9]=fn,Z[10]=xn,Z[11]=_n,Z[12]=pn,Z[13]=Bt,Z[14]=Pt,Z[15]=Mn,Z[16]=En,Z[17]=gi,Z[18]=_i,X!==0&&(Z[19]=X,t.length++),t};function P(o,r,t){t.negative=r.negative^o.negative,t.length=o.length+r.length;for(var h=0,M=0,H=0;H<t.length-1;H++){var K=M;M=0;for(var V=67108863&h,Z=Math.min(H,r.length-1),X=Math.max(0,H-o.length+1);X<=Z;X++){var ae=H-X,ie=(0|o.words[ae])*(0|r.words[X]),ce=67108863&ie;V=67108863&(ce=ce+V|0),M+=(K=(K=K+(ie/67108864|0)|0)+(ce>>>26)|0)>>>26,K&=67108863}t.words[H]=V,h=K,K=M}return h!==0?t.words[H]=h:t.length--,t._strip()}function W(o,r,t){return P(o,r,t)}Math.imul||($=U),p.prototype.mulTo=function(o,r){var t=this.length+o.length;return this.length===10&&o.length===10?$(this,o,r):t<63?U(this,o,r):t<1024?P(this,o,r):W(this,o,r)},p.prototype.mul=function(o){var r=new p(null);return r.words=new Array(this.length+o.length),this.mulTo(o,r)},p.prototype.mulf=function(o){var r=new p(null);return r.words=new Array(this.length+o.length),W(this,o,r)},p.prototype.imul=function(o){return this.clone().mulTo(o,this)},p.prototype.imuln=function(o){var r=o<0;r&&(o=-o),O(typeof o=="number"),O(o<67108864);for(var t=0,h=0;h<this.length;h++){var M=(0|this.words[h])*o,H=(67108863&M)+(67108863&t);t>>=26,t+=M/67108864|0,t+=H>>>26,this.words[h]=67108863&H}return t!==0&&(this.words[h]=t,this.length++),r?this.ineg():this},p.prototype.muln=function(o){return this.clone().imuln(o)},p.prototype.sqr=function(){return this.mul(this)},p.prototype.isqr=function(){return this.imul(this.clone())},p.prototype.pow=function(o){var r=function(H){for(var K=new Array(H.bitLength()),V=0;V<K.length;V++){var Z=V/26|0,X=V%26;K[V]=H.words[Z]>>>X&1}return K}(o);if(r.length===0)return new p(1);for(var t=this,h=0;h<r.length&&r[h]===0;h++,t=t.sqr());if(++h<r.length)for(var M=t.sqr();h<r.length;h++,M=M.sqr())r[h]!==0&&(t=t.mul(M));return t},p.prototype.iushln=function(o){O(typeof o=="number"&&o>=0);var r,t=o%26,h=(o-t)/26,M=67108863>>>26-t<<26-t;if(t!==0){var H=0;for(r=0;r<this.length;r++){var K=this.words[r]&M,V=(0|this.words[r])-K<<t;this.words[r]=V|H,H=K>>>26-t}H&&(this.words[r]=H,this.length++)}if(h!==0){for(r=this.length-1;r>=0;r--)this.words[r+h]=this.words[r];for(r=0;r<h;r++)this.words[r]=0;this.length+=h}return this._strip()},p.prototype.ishln=function(o){return O(this.negative===0),this.iushln(o)},p.prototype.iushrn=function(o,r,t){var h;O(typeof o=="number"&&o>=0),h=r?(r-r%26)/26:0;var M=o%26,H=Math.min((o-M)/26,this.length),K=67108863^67108863>>>M<<M,V=t;if(h-=H,h=Math.max(0,h),V){for(var Z=0;Z<H;Z++)V.words[Z]=this.words[Z];V.length=H}if(H!==0)if(this.length>H)for(this.length-=H,Z=0;Z<this.length;Z++)this.words[Z]=this.words[Z+H];else this.words[0]=0,this.length=1;var X=0;for(Z=this.length-1;Z>=0&&(X!==0||Z>=h);Z--){var ae=0|this.words[Z];this.words[Z]=X<<26-M|ae>>>M,X=ae&K}return V&&X!==0&&(V.words[V.length++]=X),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},p.prototype.ishrn=function(o,r,t){return O(this.negative===0),this.iushrn(o,r,t)},p.prototype.shln=function(o){return this.clone().ishln(o)},p.prototype.ushln=function(o){return this.clone().iushln(o)},p.prototype.shrn=function(o){return this.clone().ishrn(o)},p.prototype.ushrn=function(o){return this.clone().iushrn(o)},p.prototype.testn=function(o){O(typeof o=="number"&&o>=0);var r=o%26,t=(o-r)/26,h=1<<r;return!(this.length<=t||!(this.words[t]&h))},p.prototype.imaskn=function(o){O(typeof o=="number"&&o>=0);var r=o%26,t=(o-r)/26;if(O(this.negative===0,"imaskn works only with positive numbers"),this.length<=t)return this;if(r!==0&&t++,this.length=Math.min(t,this.length),r!==0){var h=67108863^67108863>>>r<<r;this.words[this.length-1]&=h}return this._strip()},p.prototype.maskn=function(o){return this.clone().imaskn(o)},p.prototype.iaddn=function(o){return O(typeof o=="number"),O(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(0|this.words[0])<=o?(this.words[0]=o-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},p.prototype._iaddn=function(o){this.words[0]+=o;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},p.prototype.isubn=function(o){if(O(typeof o=="number"),O(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this._strip()},p.prototype.addn=function(o){return this.clone().iaddn(o)},p.prototype.subn=function(o){return this.clone().isubn(o)},p.prototype.iabs=function(){return this.negative=0,this},p.prototype.abs=function(){return this.clone().iabs()},p.prototype._ishlnsubmul=function(o,r,t){var h,M,H=o.length+t;this._expand(H);var K=0;for(h=0;h<o.length;h++){M=(0|this.words[h+t])+K;var V=(0|o.words[h])*r;K=((M-=67108863&V)>>26)-(V/67108864|0),this.words[h+t]=67108863&M}for(;h<this.length-t;h++)K=(M=(0|this.words[h+t])+K)>>26,this.words[h+t]=67108863&M;if(K===0)return this._strip();for(O(K===-1),K=0,h=0;h<this.length;h++)K=(M=-(0|this.words[h])+K)>>26,this.words[h]=67108863&M;return this.negative=1,this._strip()},p.prototype._wordDiv=function(o,r){var t=(this.length,o.length),h=this.clone(),M=o,H=0|M.words[M.length-1];(t=26-this._countBits(H))!=0&&(M=M.ushln(t),h.iushln(t),H=0|M.words[M.length-1]);var K,V=h.length-M.length;if(r!=="mod"){(K=new p(null)).length=V+1,K.words=new Array(K.length);for(var Z=0;Z<K.length;Z++)K.words[Z]=0}var X=h.clone()._ishlnsubmul(M,1,V);X.negative===0&&(h=X,K&&(K.words[V]=1));for(var ae=V-1;ae>=0;ae--){var ie=67108864*(0|h.words[M.length+ae])+(0|h.words[M.length+ae-1]);for(ie=Math.min(ie/H|0,67108863),h._ishlnsubmul(M,ie,ae);h.negative!==0;)ie--,h.negative=0,h._ishlnsubmul(M,1,ae),h.isZero()||(h.negative^=1);K&&(K.words[ae]=ie)}return K&&K._strip(),h._strip(),r!=="div"&&t!==0&&h.iushrn(t),{div:K||null,mod:h}},p.prototype.divmod=function(o,r,t){return O(!o.isZero()),this.isZero()?{div:new p(0),mod:new p(0)}:this.negative!==0&&o.negative===0?(H=this.neg().divmod(o,r),r!=="mod"&&(h=H.div.neg()),r!=="div"&&(M=H.mod.neg(),t&&M.negative!==0&&M.iadd(o)),{div:h,mod:M}):this.negative===0&&o.negative!==0?(H=this.divmod(o.neg(),r),r!=="mod"&&(h=H.div.neg()),{div:h,mod:H.mod}):this.negative&o.negative?(H=this.neg().divmod(o.neg(),r),r!=="div"&&(M=H.mod.neg(),t&&M.negative!==0&&M.isub(o)),{div:H.div,mod:M}):o.length>this.length||this.cmp(o)<0?{div:new p(0),mod:this}:o.length===1?r==="div"?{div:this.divn(o.words[0]),mod:null}:r==="mod"?{div:null,mod:new p(this.modrn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new p(this.modrn(o.words[0]))}:this._wordDiv(o,r);var h,M,H},p.prototype.div=function(o){return this.divmod(o,"div",!1).div},p.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},p.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},p.prototype.divRound=function(o){var r=this.divmod(o);if(r.mod.isZero())return r.div;var t=r.div.negative!==0?r.mod.isub(o):r.mod,h=o.ushrn(1),M=o.andln(1),H=t.cmp(h);return H<0||M===1&&H===0?r.div:r.div.negative!==0?r.div.isubn(1):r.div.iaddn(1)},p.prototype.modrn=function(o){var r=o<0;r&&(o=-o),O(o<=67108863);for(var t=67108864%o,h=0,M=this.length-1;M>=0;M--)h=(t*h+(0|this.words[M]))%o;return r?-h:h},p.prototype.modn=function(o){return this.modrn(o)},p.prototype.idivn=function(o){var r=o<0;r&&(o=-o),O(o<=67108863);for(var t=0,h=this.length-1;h>=0;h--){var M=(0|this.words[h])+67108864*t;this.words[h]=M/o|0,t=M%o}return this._strip(),r?this.ineg():this},p.prototype.divn=function(o){return this.clone().idivn(o)},p.prototype.egcd=function(o){O(o.negative===0),O(!o.isZero());var r=this,t=o.clone();r=r.negative!==0?r.umod(o):r.clone();for(var h=new p(1),M=new p(0),H=new p(0),K=new p(1),V=0;r.isEven()&&t.isEven();)r.iushrn(1),t.iushrn(1),++V;for(var Z=t.clone(),X=r.clone();!r.isZero();){for(var ae=0,ie=1;!(r.words[0]&ie)&&ae<26;++ae,ie<<=1);if(ae>0)for(r.iushrn(ae);ae-- >0;)(h.isOdd()||M.isOdd())&&(h.iadd(Z),M.isub(X)),h.iushrn(1),M.iushrn(1);for(var ce=0,Y=1;!(t.words[0]&Y)&&ce<26;++ce,Y<<=1);if(ce>0)for(t.iushrn(ce);ce-- >0;)(H.isOdd()||K.isOdd())&&(H.iadd(Z),K.isub(X)),H.iushrn(1),K.iushrn(1);r.cmp(t)>=0?(r.isub(t),h.isub(H),M.isub(K)):(t.isub(r),H.isub(h),K.isub(M))}return{a:H,b:K,gcd:t.iushln(V)}},p.prototype._invmp=function(o){O(o.negative===0),O(!o.isZero());var r=this,t=o.clone();r=r.negative!==0?r.umod(o):r.clone();for(var h,M=new p(1),H=new p(0),K=t.clone();r.cmpn(1)>0&&t.cmpn(1)>0;){for(var V=0,Z=1;!(r.words[0]&Z)&&V<26;++V,Z<<=1);if(V>0)for(r.iushrn(V);V-- >0;)M.isOdd()&&M.iadd(K),M.iushrn(1);for(var X=0,ae=1;!(t.words[0]&ae)&&X<26;++X,ae<<=1);if(X>0)for(t.iushrn(X);X-- >0;)H.isOdd()&&H.iadd(K),H.iushrn(1);r.cmp(t)>=0?(r.isub(t),M.isub(H)):(t.isub(r),H.isub(M))}return(h=r.cmpn(1)===0?M:H).cmpn(0)<0&&h.iadd(o),h},p.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var r=this.clone(),t=o.clone();r.negative=0,t.negative=0;for(var h=0;r.isEven()&&t.isEven();h++)r.iushrn(1),t.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;t.isEven();)t.iushrn(1);var M=r.cmp(t);if(M<0){var H=r;r=t,t=H}else if(M===0||t.cmpn(1)===0)break;r.isub(t)}return t.iushln(h)},p.prototype.invm=function(o){return this.egcd(o).a.umod(o)},p.prototype.isEven=function(){return!(1&this.words[0])},p.prototype.isOdd=function(){return!(1&~this.words[0])},p.prototype.andln=function(o){return this.words[0]&o},p.prototype.bincn=function(o){O(typeof o=="number");var r=o%26,t=(o-r)/26,h=1<<r;if(this.length<=t)return this._expand(t+1),this.words[t]|=h,this;for(var M=h,H=t;M!==0&&H<this.length;H++){var K=0|this.words[H];M=(K+=M)>>>26,K&=67108863,this.words[H]=K}return M!==0&&(this.words[H]=M,this.length++),this},p.prototype.isZero=function(){return this.length===1&&this.words[0]===0},p.prototype.cmpn=function(o){var r,t=o<0;if(this.negative!==0&&!t)return-1;if(this.negative===0&&t)return 1;if(this._strip(),this.length>1)r=1;else{t&&(o=-o),O(o<=67108863,"Number is too big");var h=0|this.words[0];r=h===o?0:h<o?-1:1}return this.negative!==0?0|-r:r},p.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var r=this.ucmp(o);return this.negative!==0?0|-r:r},p.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var r=0,t=this.length-1;t>=0;t--){var h=0|this.words[t],M=0|o.words[t];if(h!==M){h<M?r=-1:h>M&&(r=1);break}}return r},p.prototype.gtn=function(o){return this.cmpn(o)===1},p.prototype.gt=function(o){return this.cmp(o)===1},p.prototype.gten=function(o){return this.cmpn(o)>=0},p.prototype.gte=function(o){return this.cmp(o)>=0},p.prototype.ltn=function(o){return this.cmpn(o)===-1},p.prototype.lt=function(o){return this.cmp(o)===-1},p.prototype.lten=function(o){return this.cmpn(o)<=0},p.prototype.lte=function(o){return this.cmp(o)<=0},p.prototype.eqn=function(o){return this.cmpn(o)===0},p.prototype.eq=function(o){return this.cmp(o)===0},p.red=function(o){return new e(o)},p.prototype.toRed=function(o){return O(!this.red,"Already a number in reduction context"),O(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},p.prototype.fromRed=function(){return O(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},p.prototype._forceRed=function(o){return this.red=o,this},p.prototype.forceRed=function(o){return O(!this.red,"Already a number in reduction context"),this._forceRed(o)},p.prototype.redAdd=function(o){return O(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},p.prototype.redIAdd=function(o){return O(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},p.prototype.redSub=function(o){return O(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},p.prototype.redISub=function(o){return O(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},p.prototype.redShl=function(o){return O(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},p.prototype.redMul=function(o){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},p.prototype.redIMul=function(o){return O(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},p.prototype.redSqr=function(){return O(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},p.prototype.redISqr=function(){return O(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},p.prototype.redSqrt=function(){return O(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},p.prototype.redInvm=function(){return O(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},p.prototype.redNeg=function(){return O(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},p.prototype.redPow=function(o){return O(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var G={k256:null,p224:null,p192:null,p25519:null};function Q(o,r){this.name=o,this.p=new p(r,16),this.n=this.p.bitLength(),this.k=new p(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function te(){Q.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){Q.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ue(){Q.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function de(){Q.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function e(o){if(typeof o=="string"){var r=p._prime(o);this.m=r.p,this.prime=r}else O(o.gtn(1),"modulus must be greater than 1"),this.m=o,this.prime=null}function a(o){e.call(this,o),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new p(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}Q.prototype._tmp=function(){var o=new p(null);return o.words=new Array(Math.ceil(this.n/13)),o},Q.prototype.ireduce=function(o){var r,t=o;do this.split(t,this.tmp),r=(t=(t=this.imulK(t)).iadd(this.tmp)).bitLength();while(r>this.n);var h=r<this.n?-1:t.ucmp(this.p);return h===0?(t.words[0]=0,t.length=1):h>0?t.isub(this.p):t.strip!==void 0?t.strip():t._strip(),t},Q.prototype.split=function(o,r){o.iushrn(this.n,0,r)},Q.prototype.imulK=function(o){return o.imul(this.k)},q(te,Q),te.prototype.split=function(o,r){for(var t=4194303,h=Math.min(o.length,9),M=0;M<h;M++)r.words[M]=o.words[M];if(r.length=h,o.length<=9)return o.words[0]=0,void(o.length=1);var H=o.words[9];for(r.words[r.length++]=H&t,M=10;M<o.length;M++){var K=0|o.words[M];o.words[M-10]=(K&t)<<4|H>>>22,H=K}H>>>=22,o.words[M-10]=H,H===0&&o.length>10?o.length-=10:o.length-=9},te.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var r=0,t=0;t<o.length;t++){var h=0|o.words[t];r+=977*h,o.words[t]=67108863&r,r=64*h+(r/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o},q(se,Q),q(ue,Q),q(de,Q),de.prototype.imulK=function(o){for(var r=0,t=0;t<o.length;t++){var h=19*(0|o.words[t])+r,M=67108863&h;h>>>=26,o.words[t]=M,r=h}return r!==0&&(o.words[o.length++]=r),o},p._prime=function(o){if(G[o])return G[o];var r;if(o==="k256")r=new te;else if(o==="p224")r=new se;else if(o==="p192")r=new ue;else{if(o!=="p25519")throw new Error("Unknown prime "+o);r=new de}return G[o]=r,r},e.prototype._verify1=function(o){O(o.negative===0,"red works only with positives"),O(o.red,"red works only with red numbers")},e.prototype._verify2=function(o,r){O(!(o.negative|r.negative),"red works only with positives"),O(o.red&&o.red===r.red,"red works only with red numbers")},e.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):(N(o,o.umod(this.m)._forceRed(this)),o)},e.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},e.prototype.add=function(o,r){this._verify2(o,r);var t=o.add(r);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},e.prototype.iadd=function(o,r){this._verify2(o,r);var t=o.iadd(r);return t.cmp(this.m)>=0&&t.isub(this.m),t},e.prototype.sub=function(o,r){this._verify2(o,r);var t=o.sub(r);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},e.prototype.isub=function(o,r){this._verify2(o,r);var t=o.isub(r);return t.cmpn(0)<0&&t.iadd(this.m),t},e.prototype.shl=function(o,r){return this._verify1(o),this.imod(o.ushln(r))},e.prototype.imul=function(o,r){return this._verify2(o,r),this.imod(o.imul(r))},e.prototype.mul=function(o,r){return this._verify2(o,r),this.imod(o.mul(r))},e.prototype.isqr=function(o){return this.imul(o,o.clone())},e.prototype.sqr=function(o){return this.mul(o,o)},e.prototype.sqrt=function(o){if(o.isZero())return o.clone();var r=this.m.andln(3);if(O(r%2==1),r===3){var t=this.m.add(new p(1)).iushrn(2);return this.pow(o,t)}for(var h=this.m.subn(1),M=0;!h.isZero()&&h.andln(1)===0;)M++,h.iushrn(1);O(!h.isZero());var H=new p(1).toRed(this),K=H.redNeg(),V=this.m.subn(1).iushrn(1),Z=this.m.bitLength();for(Z=new p(2*Z*Z).toRed(this);this.pow(Z,V).cmp(K)!==0;)Z.redIAdd(K);for(var X=this.pow(Z,h),ae=this.pow(o,h.addn(1).iushrn(1)),ie=this.pow(o,h),ce=M;ie.cmp(H)!==0;){for(var Y=ie,ne=0;Y.cmp(H)!==0;ne++)Y=Y.redSqr();O(ne<ce);var J=this.pow(X,new p(1).iushln(ce-ne-1));ae=ae.redMul(J),X=J.redSqr(),ie=ie.redMul(X),ce=ne}return ae},e.prototype.invm=function(o){var r=o._invmp(this.m);return r.negative!==0?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},e.prototype.pow=function(o,r){if(r.isZero())return new p(1).toRed(this);if(r.cmpn(1)===0)return o.clone();var t=new Array(16);t[0]=new p(1).toRed(this),t[1]=o;for(var h=2;h<t.length;h++)t[h]=this.mul(t[h-1],o);var M=t[0],H=0,K=0,V=r.bitLength()%26;for(V===0&&(V=26),h=r.length-1;h>=0;h--){for(var Z=r.words[h],X=V-1;X>=0;X--){var ae=Z>>X&1;M!==t[0]&&(M=this.sqr(M)),ae!==0||H!==0?(H<<=1,H|=ae,(++K==4||h===0&&X===0)&&(M=this.mul(M,t[H]),K=0,H=0)):K=0}V=26}return M},e.prototype.convertTo=function(o){var r=o.umod(this.m);return r===o?r.clone():r},e.prototype.convertFrom=function(o){var r=o.clone();return r.red=null,r},p.mont=function(o){return new a(o)},q(a,e),a.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},a.prototype.convertFrom=function(o){var r=this.imod(o.mul(this.rinv));return r.red=null,r},a.prototype.imul=function(o,r){if(o.isZero()||r.isZero())return o.words[0]=0,o.length=1,o;var t=o.imul(r),h=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=t.isub(h).iushrn(this.shift),H=M;return M.cmp(this.m)>=0?H=M.isub(this.m):M.cmpn(0)<0&&(H=M.iadd(this.m)),H._forceRed(this)},a.prototype.mul=function(o,r){if(o.isZero()||r.isZero())return new p(0)._forceRed(this);var t=o.mul(r),h=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=t.isub(h).iushrn(this.shift),H=M;return M.cmp(this.m)>=0?H=M.isub(this.m):M.cmpn(0)<0&&(H=M.iadd(this.m)),H._forceRed(this)},a.prototype.invm=function(o){return this.imod(o._invmp(this.m).mul(this.r2))._forceRed(this)}})(F=d.nmd(F),this)},9538:F=>{F.exports=ReferenceError},9560:(F,v,d)=>{v.utils=d(7626),v.Cipher=d(2808),v.DES=d(2211),v.CBC=d(3389),v.EDE=d(5279)},9597:(F,v,d)=>{function T(_){return T=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},T(_)}function A(_,N){return A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,b){return I.__proto__=b,I},A(_,N)}function O(_){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(N){return N.__proto__||Object.getPrototypeOf(N)},O(_)}var q,p,j={};function w(_,N,I){I||(I=Error);var b=function(B){(function(G,Q){if(typeof Q!="function"&&Q!==null)throw new TypeError("Super expression must either be null or a function");G.prototype=Object.create(Q&&Q.prototype,{constructor:{value:G,writable:!0,configurable:!0}}),Object.defineProperty(G,"prototype",{writable:!1}),Q&&A(G,Q)})(W,B);var D,U,$,P=(U=W,$=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var G,Q=O(U);if($){var te=O(this).constructor;G=Reflect.construct(Q,arguments,te)}else G=Q.apply(this,arguments);return function(se,ue){if(ue&&(T(ue)==="object"||typeof ue=="function"))return ue;if(ue!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(de){if(de===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return de}(se)}(this,G)});function W(G,Q,te){var se;return function(ue,de){if(!(ue instanceof de))throw new TypeError("Cannot call a class as a function")}(this,W),se=P.call(this,function(ue,de,e){return typeof N=="string"?N:N(ue,de,e)}(G,Q,te)),se.code=_,se}return D=W,Object.defineProperty(D,"prototype",{writable:!1}),D}(I);j[_]=b}function S(_,N){if(Array.isArray(_)){var I=_.length;return _=_.map(function(b){return String(b)}),I>2?"one of ".concat(N," ").concat(_.slice(0,I-1).join(", "),", or ")+_[I-1]:I===2?"one of ".concat(N," ").concat(_[0]," or ").concat(_[1]):"of ".concat(N," ").concat(_[0])}return"of ".concat(N," ").concat(String(_))}w("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),w("ERR_INVALID_ARG_TYPE",function(_,N,I){var b,B,D,U,$;if(q===void 0&&(q=d(4148)),q(typeof _=="string","'name' must be a string"),typeof N=="string"&&(B="not ",N.substr(0,4)===B)?(b="must not be",N=N.replace(/^not /,"")):b="must be",function(W,G,Q){return(Q===void 0||Q>W.length)&&(Q=W.length),W.substring(Q-9,Q)===G}(_," argument"))D="The ".concat(_," ").concat(b," ").concat(S(N,"type"));else{var P=(typeof $!="number"&&($=0),$+1>(U=_).length||U.indexOf(".",$)===-1?"argument":"property");D='The "'.concat(_,'" ').concat(P," ").concat(b," ").concat(S(N,"type"))}return D+". Received type ".concat(T(I))},TypeError),w("ERR_INVALID_ARG_VALUE",function(_,N){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";p===void 0&&(p=d(537));var b=p.inspect(N);return b.length>128&&(b="".concat(b.slice(0,128),"...")),"The argument '".concat(_,"' ").concat(I,". Received ").concat(b)},TypeError),w("ERR_INVALID_RETURN_VALUE",function(_,N,I){var b;return b=I&&I.constructor&&I.constructor.name?"instance of ".concat(I.constructor.name):"type ".concat(T(I)),"Expected ".concat(_,' to be returned from the "').concat(N,'"')+" function but got ".concat(b,".")},TypeError),w("ERR_MISSING_ARGS",function(){for(var _=arguments.length,N=new Array(_),I=0;I<_;I++)N[I]=arguments[I];q===void 0&&(q=d(4148)),q(N.length>0,"At least one arg needs to be specified");var b="The ",B=N.length;switch(N=N.map(function(D){return'"'.concat(D,'"')}),B){case 1:b+="".concat(N[0]," argument");break;case 2:b+="".concat(N[0]," and ").concat(N[1]," arguments");break;default:b+=N.slice(0,B-1).join(", "),b+=", and ".concat(N[B-1]," arguments")}return"".concat(b," must be specified")},TypeError),F.exports.codes=j},9600:F=>{var v,d,T=Function.prototype.toString,A=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof A=="function"&&typeof Object.defineProperty=="function")try{v=Object.defineProperty({},"length",{get:function(){throw d}}),d={},A(function(){throw 42},null,v)}catch(I){I!==d&&(A=null)}else A=null;var O=/^\s*class\b/,q=function(I){try{var b=T.call(I);return O.test(b)}catch{return!1}},p=function(I){try{return!q(I)&&(T.call(I),!0)}catch{return!1}},j=Object.prototype.toString,w=typeof Symbol=="function"&&!!Symbol.toStringTag,S=!(0 in[,]),_=function(){return!1};if(typeof document=="object"){var N=document.all;j.call(N)===j.call(document.all)&&(_=function(I){if((S||!I)&&(I===void 0||typeof I=="object"))try{var b=j.call(I);return(b==="[object HTMLAllCollection]"||b==="[object HTML document.all class]"||b==="[object HTMLCollection]"||b==="[object Object]")&&I("")==null}catch{}return!1})}F.exports=A?function(I){if(_(I))return!0;if(!I||typeof I!="function"&&typeof I!="object")return!1;try{A(I,null,v)}catch(b){if(b!==d)return!1}return!q(I)&&p(I)}:function(I){if(_(I))return!0;if(!I||typeof I!="function"&&typeof I!="object")return!1;if(w)return p(I);if(q(I))return!1;var b=j.call(I);return!(b!=="[object Function]"&&b!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(b))&&p(I)}},9612:F=>{F.exports=Object},9665:function(F,v,d){(function(){var T,A,O,q,p,j,w,S,_,N;N=d(9241),S=N.assign,_=N.isFunction,O=d(7260),q=d(1933),p=d(400),w=d(382),j=d(6775),T=d(1737),A=d(8753),F.exports.create=function(I,b,B,D){var U,$;if(I==null)throw new Error("Root element needs a name.");return D=S({},b,B,D),$=(U=new q(D)).element(I),D.headless||(U.declaration(D),D.pubID==null&&D.sysID==null||U.dtd(D)),$},F.exports.begin=function(I,b,B){var D;return _(I)&&(b=(D=[I,b])[0],B=D[1],I={}),b?new p(I,b,B):new q(I)},F.exports.stringWriter=function(I){return new w(I)},F.exports.streamWriter=function(I,b){return new j(I,b)},F.exports.implementation=new O,F.exports.nodeType=T,F.exports.writerState=A}).call(this)},9673:(F,v,d)=>{var T=v;T.Reporter=d(9220).a,T.DecoderBuffer=d(7227).t,T.EncoderBuffer=d(7227).d,T.Node=d(993)},9675:F=>{F.exports=TypeError},9721:(F,v,d)=>{var T=d(6556),A=d(4035),O=T("RegExp.prototype.exec"),q=d(9675);F.exports=function(p){if(!A(p))throw new q("`regex` must be a RegExp");return function(j){return O(p,j)!==null}}},9780:(F,v,d)=>{const T=d(5334),A=function(O,q,p){const j={};if(!q.alwaysCreateTextNode&&(!O.child||T.isEmptyObject(O.child))&&(!O.attrsMap||T.isEmptyObject(O.attrsMap)))return T.isExist(O.val)?O.val:"";if(T.isExist(O.val)&&(typeof O.val!="string"||O.val!==""&&O.val!==q.cdataPositionChar)){const S=T.isTagNameInArrayMode(O.tagname,q.arrayMode,p);j[q.textNodeName]=S?[O.val]:O.val}T.merge(j,O.attrsMap,q.arrayMode);const w=Object.keys(O.child);for(let S=0;S<w.length;S++){const _=w[S];if(O.child[_]&&O.child[_].length>1){j[_]=[];for(let N in O.child[_])O.child[_].hasOwnProperty(N)&&j[_].push(A(O.child[_][N],q,_))}else{const N=A(O.child[_][0],q,_),I=q.arrayMode===!0&&typeof N=="object"||T.isTagNameInArrayMode(_,q.arrayMode,p);j[_]=I?[N]:N}}return j};v.convertToJson=A},9838:()=>{},9957:(F,v,d)=>{var T=Function.prototype.call,A=Object.prototype.hasOwnProperty,O=d(6743);F.exports=O.call(T,A)}},__webpack_module_cache__={};function __webpack_require__(F){var v=__webpack_module_cache__[F];if(v!==void 0)return v.exports;var d=__webpack_module_cache__[F]={id:F,loaded:!1,exports:{}};return __webpack_modules__[F].call(d.exports,d,d.exports,__webpack_require__),d.loaded=!0,d.exports}__webpack_require__.d=(F,v)=>{for(var d in v)__webpack_require__.o(v,d)&&!__webpack_require__.o(F,d)&&Object.defineProperty(F,d,{enumerable:!0,get:v[d]})},__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),__webpack_require__.o=(F,v)=>Object.prototype.hasOwnProperty.call(F,v),__webpack_require__.r=F=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(F,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(F,"__esModule",{value:!0})},__webpack_require__.nmd=F=>(F.paths=[],F.children||(F.children=[]),F);var __webpack_exports__={};return(()=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Minio:()=>v,initMinio:()=>T,putObjectBuffer:()=>A});var F=__webpack_require__(8287).Buffer;const v=__webpack_require__(1980);let d=null;function T(O){if(!O)throw new Error("Minio的配置不能为空");d=O;const q=(O.endPoint||"").split(":");q[0]&&(d.endPoint=q[0]),q[1]&&(d.port=Number(q[1]))}function A(O,q,p,j,w){if(!d)throw new Error("请先初始化Minio");let S=F.from(p);new(__webpack_require__(1980)).Client(d).putObject(O,q,S,j,w)}})(),__webpack_exports__})())})(minio);var minioExports=minio.exports,n$1=(F=>(F[F.Robot=1]="Robot",F[F.User=2]="User",F[F.System=3]="System",F))(n$1||{}),dayjs_min={exports:{}};(function(F,v){(function(d,T){F.exports=T()})(commonjsGlobal,function(){var d=1e3,T=6e4,A=36e5,O="millisecond",q="second",p="minute",j="hour",w="day",S="week",_="month",N="quarter",I="year",b="date",B="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(r){var t=["th","st","nd","rd"],h=r%100;return"["+r+(t[(h-20)%10]||t[h]||t[0])+"]"}},P=function(r,t,h){var M=String(r);return!M||M.length>=t?r:""+Array(t+1-M.length).join(h)+r},W={s:P,z:function(r){var t=-r.utcOffset(),h=Math.abs(t),M=Math.floor(h/60),H=h%60;return(t<=0?"+":"-")+P(M,2,"0")+":"+P(H,2,"0")},m:function r(t,h){if(t.date()<h.date())return-r(h,t);var M=12*(h.year()-t.year())+(h.month()-t.month()),H=t.clone().add(M,_),K=h-H<0,V=t.clone().add(M+(K?-1:1),_);return+(-(M+(h-H)/(K?H-V:V-H))||0)},a:function(r){return r<0?Math.ceil(r)||0:Math.floor(r)},p:function(r){return{M:_,y:I,w:S,d:w,D:b,h:j,m:p,s:q,ms:O,Q:N}[r]||String(r||"").toLowerCase().replace(/s$/,"")},u:function(r){return r===void 0}},G="en",Q={};Q[G]=$;var te="$isDayjsObject",se=function(r){return r instanceof a||!(!r||!r[te])},ue=function r(t,h,M){var H;if(!t)return G;if(typeof t=="string"){var K=t.toLowerCase();Q[K]&&(H=K),h&&(Q[K]=h,H=K);var V=t.split("-");if(!H&&V.length>1)return r(V[0])}else{var Z=t.name;Q[Z]=t,H=Z}return!M&&H&&(G=H),H||!M&&G},de=function(r,t){if(se(r))return r.clone();var h=typeof t=="object"?t:{};return h.date=r,h.args=arguments,new a(h)},e=W;e.l=ue,e.i=se,e.w=function(r,t){return de(r,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var a=function(){function r(h){this.$L=ue(h.locale,null,!0),this.parse(h),this.$x=this.$x||h.x||{},this[te]=!0}var t=r.prototype;return t.parse=function(h){this.$d=function(M){var H=M.date,K=M.utc;if(H===null)return new Date(NaN);if(e.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var V=H.match(D);if(V){var Z=V[2]-1||0,X=(V[7]||"0").substring(0,3);return K?new Date(Date.UTC(V[1],Z,V[3]||1,V[4]||0,V[5]||0,V[6]||0,X)):new Date(V[1],Z,V[3]||1,V[4]||0,V[5]||0,V[6]||0,X)}}return new Date(H)}(h),this.init()},t.init=function(){var h=this.$d;this.$y=h.getFullYear(),this.$M=h.getMonth(),this.$D=h.getDate(),this.$W=h.getDay(),this.$H=h.getHours(),this.$m=h.getMinutes(),this.$s=h.getSeconds(),this.$ms=h.getMilliseconds()},t.$utils=function(){return e},t.isValid=function(){return this.$d.toString()!==B},t.isSame=function(h,M){var H=de(h);return this.startOf(M)<=H&&H<=this.endOf(M)},t.isAfter=function(h,M){return de(h)<this.startOf(M)},t.isBefore=function(h,M){return this.endOf(M)<de(h)},t.$g=function(h,M,H){return e.u(h)?this[M]:this.set(H,h)},t.unix=function(){return Math.floor(this.valueOf()/1e3)},t.valueOf=function(){return this.$d.getTime()},t.startOf=function(h,M){var H=this,K=!!e.u(M)||M,V=e.p(h),Z=function(ee,ge){var pe=e.w(H.$u?Date.UTC(H.$y,ge,ee):new Date(H.$y,ge,ee),H);return K?pe:pe.endOf(w)},X=function(ee,ge){return e.w(H.toDate()[ee].apply(H.toDate("s"),(K?[0,0,0,0]:[23,59,59,999]).slice(ge)),H)},ae=this.$W,ie=this.$M,ce=this.$D,Y="set"+(this.$u?"UTC":"");switch(V){case I:return K?Z(1,0):Z(31,11);case _:return K?Z(1,ie):Z(0,ie+1);case S:var ne=this.$locale().weekStart||0,J=(ae<ne?ae+7:ae)-ne;return Z(K?ce-J:ce+(6-J),ie);case w:case b:return X(Y+"Hours",0);case j:return X(Y+"Minutes",1);case p:return X(Y+"Seconds",2);case q:return X(Y+"Milliseconds",3);default:return this.clone()}},t.endOf=function(h){return this.startOf(h,!1)},t.$set=function(h,M){var H,K=e.p(h),V="set"+(this.$u?"UTC":""),Z=(H={},H[w]=V+"Date",H[b]=V+"Date",H[_]=V+"Month",H[I]=V+"FullYear",H[j]=V+"Hours",H[p]=V+"Minutes",H[q]=V+"Seconds",H[O]=V+"Milliseconds",H)[K],X=K===w?this.$D+(M-this.$W):M;if(K===_||K===I){var ae=this.clone().set(b,1);ae.$d[Z](X),ae.init(),this.$d=ae.set(b,Math.min(this.$D,ae.daysInMonth())).$d}else Z&&this.$d[Z](X);return this.init(),this},t.set=function(h,M){return this.clone().$set(h,M)},t.get=function(h){return this[e.p(h)]()},t.add=function(h,M){var H,K=this;h=Number(h);var V=e.p(M),Z=function(ie){var ce=de(K);return e.w(ce.date(ce.date()+Math.round(ie*h)),K)};if(V===_)return this.set(_,this.$M+h);if(V===I)return this.set(I,this.$y+h);if(V===w)return Z(1);if(V===S)return Z(7);var X=(H={},H[p]=T,H[j]=A,H[q]=d,H)[V]||1,ae=this.$d.getTime()+h*X;return e.w(ae,this)},t.subtract=function(h,M){return this.add(-1*h,M)},t.format=function(h){var M=this,H=this.$locale();if(!this.isValid())return H.invalidDate||B;var K=h||"YYYY-MM-DDTHH:mm:ssZ",V=e.z(this),Z=this.$H,X=this.$m,ae=this.$M,ie=H.weekdays,ce=H.months,Y=H.meridiem,ne=function(ge,pe,we,je){return ge&&(ge[pe]||ge(M,K))||we[pe].slice(0,je)},J=function(ge){return e.s(Z%12||12,ge,"0")},ee=Y||function(ge,pe,we){var je=ge<12?"AM":"PM";return we?je.toLowerCase():je};return K.replace(U,function(ge,pe){return pe||function(we){switch(we){case"YY":return String(M.$y).slice(-2);case"YYYY":return e.s(M.$y,4,"0");case"M":return ae+1;case"MM":return e.s(ae+1,2,"0");case"MMM":return ne(H.monthsShort,ae,ce,3);case"MMMM":return ne(ce,ae);case"D":return M.$D;case"DD":return e.s(M.$D,2,"0");case"d":return String(M.$W);case"dd":return ne(H.weekdaysMin,M.$W,ie,2);case"ddd":return ne(H.weekdaysShort,M.$W,ie,3);case"dddd":return ie[M.$W];case"H":return String(Z);case"HH":return e.s(Z,2,"0");case"h":return J(1);case"hh":return J(2);case"a":return ee(Z,X,!0);case"A":return ee(Z,X,!1);case"m":return String(X);case"mm":return e.s(X,2,"0");case"s":return String(M.$s);case"ss":return e.s(M.$s,2,"0");case"SSS":return e.s(M.$ms,3,"0");case"Z":return V}return null}(ge)||V.replace(":","")})},t.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},t.diff=function(h,M,H){var K,V=this,Z=e.p(M),X=de(h),ae=(X.utcOffset()-this.utcOffset())*T,ie=this-X,ce=function(){return e.m(V,X)};switch(Z){case I:K=ce()/12;break;case _:K=ce();break;case N:K=ce()/3;break;case S:K=(ie-ae)/6048e5;break;case w:K=(ie-ae)/864e5;break;case j:K=ie/A;break;case p:K=ie/T;break;case q:K=ie/d;break;default:K=ie}return H?K:e.a(K)},t.daysInMonth=function(){return this.endOf(_).$D},t.$locale=function(){return Q[this.$L]},t.locale=function(h,M){if(!h)return this.$L;var H=this.clone(),K=ue(h,M,!0);return K&&(H.$L=K),H},t.clone=function(){return e.w(this.$d,this)},t.toDate=function(){return new Date(this.valueOf())},t.toJSON=function(){return this.isValid()?this.toISOString():null},t.toISOString=function(){return this.$d.toISOString()},t.toString=function(){return this.$d.toUTCString()},r}(),o=a.prototype;return de.prototype=o,[["$ms",O],["$s",q],["$m",p],["$H",j],["$W",w],["$M",_],["$y",I],["$D",b]].forEach(function(r){o[r[1]]=function(t){return this.$g(t,r[0],r[1])}}),de.extend=function(r,t){return r.$i||(r(t,a,de),r.$i=!0),de},de.locale=ue,de.isDayjs=se,de.unix=function(r){return de(1e3*r)},de.en=Q[G],de.Ls=Q,de.p={},de})})(dayjs_min);var dayjs_minExports=dayjs_min.exports;const dayjs=getDefaultExportFromCjs(dayjs_minExports);var s=(F,v,d)=>new Promise((T,A)=>{var O=j=>{try{p(d.next(j))}catch(w){A(w)}},q=j=>{try{p(d.throw(j))}catch(w){A(w)}},p=j=>j.done?T(j.value):Promise.resolve(j.value).then(O,q);p((d=d.apply(F,v)).next())});class m extends R{constructor(v,d){super(v??axios$1.create(),d)}getKnowledge(v,d){return s(this,null,function*(){return this.get("/knowledge",{docId:v,name:d})})}postKnowledge(v){return s(this,null,function*(){return this.post("/knowledge",v)})}getKnowledgeId(v){return s(this,null,function*(){return this.get(`/knowledge/${v}`)})}patchKnowledgeId(v,d){return s(this,null,function*(){return this.patch(`/knowledge/${v}`,d)})}delKnowledgeId(v){return s(this,null,function*(){return this.delete(`/knowledge/${v}`)})}getKnowledgeIdFile(v){return s(this,null,function*(){return this.get(`/knowledge/${v}/file`)})}getKnowledgeIdFileList(v,d){return s(this,null,function*(){return this.listPaged(`/knowledge/${v}/file`,d)})}postKnowledgeIdFile(v,d){return s(this,null,function*(){return this.post(`/knowledge/${v}/file`,d)})}getUploadTicket(v){return s(this,null,function*(){return this.get("/upload/ticket",v)})}delKnowledgeIdFileFid(v,d){return s(this,null,function*(){return this.delete(`/knowledge/${v}/file/${d}`)})}patchKnowledgeIdFileFid(v,d,T){return s(this,null,function*(){return this.patch(`/knowledge/${v}/file/${d}`,T)})}listSessions(v,d){return s(this,null,function*(){return this.get(`/application/${v}/sessionsa`,d)})}postSession(v,d){return s(this,null,function*(){return this.post(`/application/${v}/sessions`,d)})}getSession(v,d){return s(this,null,function*(){return this.get(`/application/${v}/sessions/${d}`)})}patchSessionsId(v,d,T){return s(this,null,function*(){return this.patch(`/application/${v}/sessions/${d}`,T)})}delSessionsId(v,d){return s(this,null,function*(){return this.delete(`/application/${v}/sessions/${d}`)})}getSessionKnowledgeFile(v,d,T){return s(this,null,function*(){return this.get(`/application/${v}session/${d}/file/${T}`)})}postSessionKnowledgeFile(v,d,T){return s(this,null,function*(){return this.post(`/application/${v}session/${d}/file`,T)})}postComments(v,d,T){return s(this,null,function*(){return this.post(`/application/${v}/sessions/${d}/comments`,T)})}getChatHistorySessionId(v,d,T){return s(this,null,function*(){return this.get(`application/${v}/chatHistory/${d}`,T)})}postChatHistorySessionId(v,d){return s(this,null,function*(){return this.post(`/chatHistory/${v}`,d)})}getApplications(v){return s(this,null,function*(){return this.get("/applications",v)})}postApplication(v){return s(this,null,function*(){return this.post("/applications",v)})}getApplicationId(v){return s(this,null,function*(){return this.get(`/applications/${v}`)})}patchApplicationId(v,d){return s(this,null,function*(){return this.patch(`/applications/${v}`,d)})}delApplicationId(v){return s(this,null,function*(){return this.delete(`/applications/${v}`)})}getApplicationIdSessions(v){return s(this,null,function*(){return this.get(`/applications/${v}/session`)})}patchFileId(v,d){return s(this,null,function*(){return this.patch(`/file/${v}`,d)})}getCvforceResource(v){return s(this,null,function*(){return this.get("/cvforce/resource",v)})}postKnowledgeIdComposedFiles(v,d){return s(this,null,function*(){return this.post(`/knowledge/${v}/composedFiles`,d)})}getTokensApplicationId(v,d){return s(this,null,function*(){return this.get(`/tokens/${v}`,d)})}getTokens(v){return s(this,null,function*(){return this.get("/tokens",v)})}uploadMinioFile(v,d){return s(this,null,function*(){return new Promise((T,A)=>{const O=new FileReader;O.readAsArrayBuffer(d),O.onload=q=>{minioExports.initMinio({endPoint:v.endpoints[0],useSSL:v.useSSL,accessKey:v.accessKey,secretKey:v.secretKey});const p=Buffer.from(q.target.result),j={"Content-Type":"application/octet-stream"};minioExports.putObjectBuffer(v.bucket,v.fileKeys[0],p,j,w=>{if(w)throw console.error(w),Error(w);T(v.fileKeys[0])})}})})}uploadFile(v,d){return s(this,null,function*(){const T={files:[d.name],isv:"minio",knowledgeId:v};return this.getUploadTicket(T).then(A=>this.uploadMinioFile(A.minio,d)).catch(A=>{throw Error(A)})})}uploadFiles(v,d){return s(this,null,function*(){const T={files:d.map(A=>A.name),isv:"minio",knowledgeId:v};return this.getUploadTicket(T).then(A=>Promise.all(d.map(O=>this.uploadMinioFile(A.minio,O)))).catch(A=>{throw Error(A)})})}getAecModels(){return s(this,null,function*(){return this.get("/aecModels")})}postTextFilter(v){return s(this,null,function*(){return this.post("/textFilter",v)})}getTenantModel(){return s(this,null,function*(){return this.get("/tenantModel")})}getPrompts(v,d){return s(this,null,function*(){return this.get(`application/${v}/promptVariables`,d)})}postPrompt(v,d){return s(this,null,function*(){return this.post(`application/${v}/promptVariables`,d)})}patchPromptId(v,d,T){return s(this,null,function*(){return this.patch(`application/${v}/promptVariables/${d}`,T)})}delPromptId(v,d){return s(this,null,function*(){return this.delete(`application/${v}/promptVariables/${d}`)})}getSessionPrompts(v){return s(this,null,function*(){return this.get(`session/${v}/promptVariables`)})}patchSessionPromptId(v,d,T){return s(this,null,function*(){return this.patch(`session/${d}/promptVariables/${v}`,T)})}getApplicationIdSessionIdPromptVariables(v,d){return s(this,null,function*(){return this.get(`/application/${v}/session/${d}/promptVariables`)})}patchApplicationIdSessionpromptVariablesId(v,d,T,A){return s(this,null,function*(){return this.patch(`/application/${v}/session/${d}/promptVariables/${T}`,A)})}getPresetApplication(v){return s(this,null,function*(){return this.get("presetApplication",v)})}postKnowledgeConfig(v){return s(this,null,function*(){return this.post("/knowledgeConfig",v)})}getKnowledgeConfig(v){return s(this,null,function*(){return this.get(`/knowledgeConfig/${v}`)})}patchKnowledgeConfig(v,d){return s(this,null,function*(){return this.patch(`/knowledgeConfig/${v}`,d)})}getKnowledgeIdFileId(v,d){return s(this,null,function*(){return this.get(`/knowledge/${v}/file/${d}`)})}getKnowledgeIdFileIdData(v,d,T){return s(this,null,function*(){return this.listPaged(`/knowledge/${v}/file/${d}/data`,T)})}postKnowledgeIdFileIdData(v,d,T){return s(this,null,function*(){return this.post(`/knowledge/${v}/file/${d}/data`,{data:T})})}patchKnowledgeIdFileIdData(v,d,T,A){return s(this,null,function*(){return this.patch(`/knowledge/${v}/file/${d}/data/${T}`,{data:A})})}delKnowledgeIdFileIdDataDid(v,d,T){return s(this,null,function*(){return this.delete(`/knowledge/${v}/file/${d}/data/${T}`)})}getPresetKnowledge(v){return s(this,null,function*(){return this.get("/presetKnowledge",v)})}patchSessionsIdContext(v){return s(this,null,function*(){return this.patch(`/sessions/${v}/context`,{})})}postResourceToken(v){return s(this,null,function*(){return this.post("/resourceToken",v)})}getApplicationIdSession(v){return s(this,null,function*(){return this.get(`/application/${v}/session`)})}patchApplicationIdSessionsIdContext(v,d){return s(this,null,function*(){return this.patch(`/application/${v}/sessions/${d}/context`,{})})}postApplicationIdSessions(v,d){return s(this,null,function*(){return this.post(`/application/${v}/sessions`,d)})}getApplicationIdChatHistorySessionId(v,d){return s(this,null,function*(){return this.get(`/application/${v}/chatHistory/${d}`)})}postApplicationIdChatHistorySessionIdComments(v,d,T){return s(this,null,function*(){return this.post(`/application/${v}/sessions/${d}/comments`,T)})}getApplicationIdPrompts(v,d){return s(this,null,function*(){return this.get(`/application/${v}/promptVariables`,d)})}postKnowledgeSourceFile(v,d,T){return s(this,null,function*(){return this.post(`/knowledge/${v}/sourceFile/${d}`,T)})}getMetadata(v){return s(this,null,function*(){return this.get("/metadata",v)})}postGeneques(v){return s(this,null,function*(){return this.post("/geneques",v)})}getBaseModel(v){return s(this,null,function*(){return this.get("/baseModelInfo",{serviceId:v})})}}var n=(F=>(F[F.Robot=1]="Robot",F[F.User=2]="User",F[F.System=3]="System",F))(n||{}),L=(F=>(F[F.Idle=0]="Idle",F[F.Quoted=1]="Quoted",F))(L||{}),k=(F=>(F[F.Dialog=0]="Dialog",F[F.Text=1]="Text",F[F.Agent=2]="Agent",F[F.All=3]="All",F))(k||{});function getCVForceService(F,v,d){const T=w=>{var S;return v&&(isExpired(v)&&d(403,"aiotToken is timeout"),w.headers=(S=w.headers)!==null&&S!==void 0?S:{},w.headers=Object.assign(Object.assign({},w.headers),{Authorization:v?`Bearer ${v}`:""})),w};function A(w,S=!0){const _=`${F}${w}`,N=axios$1.create({baseURL:_});return S&&N.interceptors.request.use(T),N}const O=(w,S)=>{w===401&&d(w,"aiotToken is invalid")},q=(w,S)=>{w!==10001&&w!==10215&&d(w,S)},p=A("/data/v1");return new m(p,{onHttpStatusError:O,onAppStatusError:q})}const PACKET_TYPES=Object.create(null);PACKET_TYPES.open="0",PACKET_TYPES.close="1",PACKET_TYPES.ping="2",PACKET_TYPES.pong="3",PACKET_TYPES.message="4",PACKET_TYPES.upgrade="5",PACKET_TYPES.noop="6";const PACKET_TYPES_REVERSE=Object.create(null);Object.keys(PACKET_TYPES).forEach(F=>{PACKET_TYPES_REVERSE[PACKET_TYPES[F]]=F});const ERROR_PACKET={type:"error",data:"parser error"},withNativeBlob$1=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",withNativeArrayBuffer$2=typeof ArrayBuffer=="function",isView$1=F=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(F):F&&F.buffer instanceof ArrayBuffer,encodePacket=({type:F,data:v},d,T)=>withNativeBlob$1&&v instanceof Blob?d?T(v):encodeBlobAsBase64(v,T):withNativeArrayBuffer$2&&(v instanceof ArrayBuffer||isView$1(v))?d?T(v):encodeBlobAsBase64(new Blob([v]),T):T(PACKET_TYPES[F]+(v||"")),encodeBlobAsBase64=(F,v)=>{const d=new FileReader;return d.onload=function(){const T=d.result.split(",")[1];v("b"+(T||""))},d.readAsDataURL(F)};function toArray(F){return F instanceof Uint8Array?F:F instanceof ArrayBuffer?new Uint8Array(F):new Uint8Array(F.buffer,F.byteOffset,F.byteLength)}let TEXT_ENCODER;function encodePacketToBinary(F,v){if(withNativeBlob$1&&F.data instanceof Blob)return F.data.arrayBuffer().then(toArray).then(v);if(withNativeArrayBuffer$2&&(F.data instanceof ArrayBuffer||isView$1(F.data)))return v(toArray(F.data));encodePacket(F,!1,d=>{TEXT_ENCODER||(TEXT_ENCODER=new TextEncoder),v(TEXT_ENCODER.encode(d))})}const chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",lookup$1=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let F=0;F<chars.length;F++)lookup$1[chars.charCodeAt(F)]=F;const decode$1=F=>{let v=F.length*.75,d=F.length,T,A=0,O,q,p,j;F[F.length-1]==="="&&(v--,F[F.length-2]==="="&&v--);const w=new ArrayBuffer(v),S=new Uint8Array(w);for(T=0;T<d;T+=4)O=lookup$1[F.charCodeAt(T)],q=lookup$1[F.charCodeAt(T+1)],p=lookup$1[F.charCodeAt(T+2)],j=lookup$1[F.charCodeAt(T+3)],S[A++]=O<<2|q>>4,S[A++]=(q&15)<<4|p>>2,S[A++]=(p&3)<<6|j&63;return w},withNativeArrayBuffer$1=typeof ArrayBuffer=="function",decodePacket=(F,v)=>{if(typeof F!="string")return{type:"message",data:mapBinary(F,v)};const d=F.charAt(0);return d==="b"?{type:"message",data:decodeBase64Packet(F.substring(1),v)}:PACKET_TYPES_REVERSE[d]?F.length>1?{type:PACKET_TYPES_REVERSE[d],data:F.substring(1)}:{type:PACKET_TYPES_REVERSE[d]}:ERROR_PACKET},decodeBase64Packet=(F,v)=>{if(withNativeArrayBuffer$1){const d=decode$1(F);return mapBinary(d,v)}else return{base64:!0,data:F}},mapBinary=(F,v)=>{switch(v){case"blob":return F instanceof Blob?F:new Blob([F]);case"arraybuffer":default:return F instanceof ArrayBuffer?F:F.buffer}},SEPARATOR=String.fromCharCode(30),encodePayload=(F,v)=>{const d=F.length,T=new Array(d);let A=0;F.forEach((O,q)=>{encodePacket(O,!1,p=>{T[q]=p,++A===d&&v(T.join(SEPARATOR))})})},decodePayload=(F,v)=>{const d=F.split(SEPARATOR),T=[];for(let A=0;A<d.length;A++){const O=decodePacket(d[A],v);if(T.push(O),O.type==="error")break}return T};function createPacketEncoderStream(){return new TransformStream({transform(F,v){encodePacketToBinary(F,d=>{const T=d.length;let A;if(T<126)A=new Uint8Array(1),new DataView(A.buffer).setUint8(0,T);else if(T<65536){A=new Uint8Array(3);const O=new DataView(A.buffer);O.setUint8(0,126),O.setUint16(1,T)}else{A=new Uint8Array(9);const O=new DataView(A.buffer);O.setUint8(0,127),O.setBigUint64(1,BigInt(T))}F.data&&typeof F.data!="string"&&(A[0]|=128),v.enqueue(A),v.enqueue(d)})}})}let TEXT_DECODER;function totalLength(F){return F.reduce((v,d)=>v+d.length,0)}function concatChunks(F,v){if(F[0].length===v)return F.shift();const d=new Uint8Array(v);let T=0;for(let A=0;A<v;A++)d[A]=F[0][T++],T===F[0].length&&(F.shift(),T=0);return F.length&&T<F[0].length&&(F[0]=F[0].slice(T)),d}function createPacketDecoderStream(F,v){TEXT_DECODER||(TEXT_DECODER=new TextDecoder);const d=[];let T=0,A=-1,O=!1;return new TransformStream({transform(q,p){for(d.push(q);;){if(T===0){if(totalLength(d)<1)break;const j=concatChunks(d,1);O=(j[0]&128)===128,A=j[0]&127,A<126?T=3:A===126?T=1:T=2}else if(T===1){if(totalLength(d)<2)break;const j=concatChunks(d,2);A=new DataView(j.buffer,j.byteOffset,j.length).getUint16(0),T=3}else if(T===2){if(totalLength(d)<8)break;const j=concatChunks(d,8),w=new DataView(j.buffer,j.byteOffset,j.length),S=w.getUint32(0);if(S>Math.pow(2,53-32)-1){p.enqueue(ERROR_PACKET);break}A=S*Math.pow(2,32)+w.getUint32(4),T=3}else{if(totalLength(d)<A)break;const j=concatChunks(d,A);p.enqueue(decodePacket(O?j:TEXT_DECODER.decode(j),v)),T=0}if(A===0||A>F){p.enqueue(ERROR_PACKET);break}}}})}const protocol$1=4;function Emitter(F){if(F)return mixin(F)}function mixin(F){for(var v in Emitter.prototype)F[v]=Emitter.prototype[v];return F}Emitter.prototype.on=Emitter.prototype.addEventListener=function(F,v){return this._callbacks=this._callbacks||{},(this._callbacks["$"+F]=this._callbacks["$"+F]||[]).push(v),this},Emitter.prototype.once=function(F,v){function d(){this.off(F,d),v.apply(this,arguments)}return d.fn=v,this.on(F,d),this},Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(F,v){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var d=this._callbacks["$"+F];if(!d)return this;if(arguments.length==1)return delete this._callbacks["$"+F],this;for(var T,A=0;A<d.length;A++)if(T=d[A],T===v||T.fn===v){d.splice(A,1);break}return d.length===0&&delete this._callbacks["$"+F],this},Emitter.prototype.emit=function(F){this._callbacks=this._callbacks||{};for(var v=new Array(arguments.length-1),d=this._callbacks["$"+F],T=1;T<arguments.length;T++)v[T-1]=arguments[T];if(d){d=d.slice(0);for(var T=0,A=d.length;T<A;++T)d[T].apply(this,v)}return this},Emitter.prototype.emitReserved=Emitter.prototype.emit,Emitter.prototype.listeners=function(F){return this._callbacks=this._callbacks||{},this._callbacks["$"+F]||[]},Emitter.prototype.hasListeners=function(F){return!!this.listeners(F).length};const globalThisShim=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function pick(F,...v){return v.reduce((d,T)=>(F.hasOwnProperty(T)&&(d[T]=F[T]),d),{})}const NATIVE_SET_TIMEOUT=globalThisShim.setTimeout,NATIVE_CLEAR_TIMEOUT=globalThisShim.clearTimeout;function installTimerFunctions(F,v){v.useNativeTimers?(F.setTimeoutFn=NATIVE_SET_TIMEOUT.bind(globalThisShim),F.clearTimeoutFn=NATIVE_CLEAR_TIMEOUT.bind(globalThisShim)):(F.setTimeoutFn=globalThisShim.setTimeout.bind(globalThisShim),F.clearTimeoutFn=globalThisShim.clearTimeout.bind(globalThisShim))}const BASE64_OVERHEAD=1.33;function byteLength(F){return typeof F=="string"?utf8Length(F):Math.ceil((F.byteLength||F.size)*BASE64_OVERHEAD)}function utf8Length(F){let v=0,d=0;for(let T=0,A=F.length;T<A;T++)v=F.charCodeAt(T),v<128?d+=1:v<2048?d+=2:v<55296||v>=57344?d+=3:(T++,d+=4);return d}function encode$1(F){let v="";for(let d in F)F.hasOwnProperty(d)&&(v.length&&(v+="&"),v+=encodeURIComponent(d)+"="+encodeURIComponent(F[d]));return v}function decode(F){let v={},d=F.split("&");for(let T=0,A=d.length;T<A;T++){let O=d[T].split("=");v[decodeURIComponent(O[0])]=decodeURIComponent(O[1])}return v}class TransportError extends Error{constructor(v,d,T){super(v),this.description=d,this.context=T,this.type="TransportError"}}class Transport extends Emitter{constructor(v){super(),this.writable=!1,installTimerFunctions(this,v),this.opts=v,this.query=v.query,this.socket=v.socket}onError(v,d,T){return super.emitReserved("error",new TransportError(v,d,T)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(v){this.readyState==="open"&&this.write(v)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(v){const d=decodePacket(v,this.socket.binaryType);this.onPacket(d)}onPacket(v){super.emitReserved("packet",v)}onClose(v){this.readyState="closed",super.emitReserved("close",v)}pause(v){}createUri(v,d={}){return v+"://"+this._hostname()+this._port()+this.opts.path+this._query(d)}_hostname(){const v=this.opts.hostname;return v.indexOf(":")===-1?v:"["+v+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(v){const d=encode$1(v);return d.length?"?"+d:""}}const alphabet="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),length=64,map={};let seed=0,i=0,prev;function encode(F){let v="";do v=alphabet[F%length]+v,F=Math.floor(F/length);while(F>0);return v}function yeast(){const F=encode(+new Date);return F!==prev?(seed=0,prev=F):F+"."+encode(seed++)}for(;i<length;i++)map[alphabet[i]]=i;let value=!1;try{value=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch(F){}const hasCORS=value;function XHR(F){const v=F.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!v||hasCORS))return new XMLHttpRequest}catch{}if(!v)try{return new globalThisShim[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function createCookieJar(){}function empty(){}const hasXHR2=function(){return new XHR({xdomain:!1}).responseType!=null}();class Polling extends Transport{constructor(v){if(super(v),this.polling=!1,typeof location<"u"){const T=location.protocol==="https:";let A=location.port;A||(A=T?"443":"80"),this.xd=typeof location<"u"&&v.hostname!==location.hostname||A!==v.port}const d=v&&v.forceBase64;this.supportsBinary=hasXHR2&&!d,this.opts.withCredentials&&(this.cookieJar=void 0)}get name(){return"polling"}doOpen(){this.poll()}pause(v){this.readyState="pausing";const d=()=>{this.readyState="paused",v()};if(this.polling||!this.writable){let T=0;this.polling&&(T++,this.once("pollComplete",function(){--T||d()})),this.writable||(T++,this.once("drain",function(){--T||d()}))}else d()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(v){const d=T=>{if(this.readyState==="opening"&&T.type==="open"&&this.onOpen(),T.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(T)};decodePayload(v,this.socket.binaryType).forEach(d),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const v=()=>{this.write([{type:"close"}])};this.readyState==="open"?v():this.once("open",v)}write(v){this.writable=!1,encodePayload(v,d=>{this.doWrite(d,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const v=this.opts.secure?"https":"http",d=this.query||{};return this.opts.timestampRequests!==!1&&(d[this.opts.timestampParam]=yeast()),!this.supportsBinary&&!d.sid&&(d.b64=1),this.createUri(v,d)}request(v={}){return Object.assign(v,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new Request(this.uri(),v)}doWrite(v,d){const T=this.request({method:"POST",data:v});T.on("success",d),T.on("error",(A,O)=>{this.onError("xhr post error",A,O)})}doPoll(){const v=this.request();v.on("data",this.onData.bind(this)),v.on("error",(d,T)=>{this.onError("xhr poll error",d,T)}),this.pollXhr=v}}class Request extends Emitter{constructor(v,d){super(),installTimerFunctions(this,d),this.opts=d,this.method=d.method||"GET",this.uri=v,this.data=d.data!==void 0?d.data:null,this.create()}create(){var v;const d=pick(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");d.xdomain=!!this.opts.xd;const T=this.xhr=new XHR(d);try{T.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders){T.setDisableHeaderCheck&&T.setDisableHeaderCheck(!0);for(let A in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(A)&&T.setRequestHeader(A,this.opts.extraHeaders[A])}}catch{}if(this.method==="POST")try{T.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{T.setRequestHeader("Accept","*/*")}catch{}(v=this.opts.cookieJar)===null||v===void 0||v.addCookies(T),"withCredentials"in T&&(T.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(T.timeout=this.opts.requestTimeout),T.onreadystatechange=()=>{var A;T.readyState===3&&((A=this.opts.cookieJar)===null||A===void 0||A.parseCookies(T)),T.readyState===4&&(T.status===200||T.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof T.status=="number"?T.status:0)},0))},T.send(this.data)}catch(A){this.setTimeoutFn(()=>{this.onError(A)},0);return}typeof document<"u"&&(this.index=Request.requestsCount++,Request.requests[this.index]=this)}onError(v){this.emitReserved("error",v,this.xhr),this.cleanup(!0)}cleanup(v){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=empty,v)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Request.requests[this.index],this.xhr=null}}onLoad(){const v=this.xhr.responseText;v!==null&&(this.emitReserved("data",v),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}if(Request.requestsCount=0,Request.requests={},typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",unloadHandler);else if(typeof addEventListener=="function"){const F="onpagehide"in globalThisShim?"pagehide":"unload";addEventListener(F,unloadHandler,!1)}}function unloadHandler(){for(let F in Request.requests)Request.requests.hasOwnProperty(F)&&Request.requests[F].abort()}const nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?v=>Promise.resolve().then(v):(v,d)=>d(v,0))(),WebSocket=globalThisShim.WebSocket||globalThisShim.MozWebSocket,usingBrowserWebSocket=!0,defaultBinaryType="arraybuffer",isReactNative=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class WS extends Transport{constructor(v){super(v),this.supportsBinary=!v.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const v=this.uri(),d=this.opts.protocols,T=isReactNative?{}:pick(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(T.headers=this.opts.extraHeaders);try{this.ws=usingBrowserWebSocket&&!isReactNative?d?new WebSocket(v,d):new WebSocket(v):new WebSocket(v,d,T)}catch(A){return this.emitReserved("error",A)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=v=>this.onClose({description:"websocket connection closed",context:v}),this.ws.onmessage=v=>this.onData(v.data),this.ws.onerror=v=>this.onError("websocket error",v)}write(v){this.writable=!1;for(let d=0;d<v.length;d++){const T=v[d],A=d===v.length-1;encodePacket(T,this.supportsBinary,O=>{const q={};try{usingBrowserWebSocket&&this.ws.send(O)}catch{}A&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){const v=this.opts.secure?"wss":"ws",d=this.query||{};return this.opts.timestampRequests&&(d[this.opts.timestampParam]=yeast()),this.supportsBinary||(d.b64=1),this.createUri(v,d)}check(){return!!WebSocket}}class WT extends Transport{get name(){return"webtransport"}doOpen(){typeof WebTransport=="function"&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then(()=>{this.onClose()}).catch(v=>{this.onError("webtransport error",v)}),this.transport.ready.then(()=>{this.transport.createBidirectionalStream().then(v=>{const d=createPacketDecoderStream(Number.MAX_SAFE_INTEGER,this.socket.binaryType),T=v.readable.pipeThrough(d).getReader(),A=createPacketEncoderStream();A.readable.pipeTo(v.writable),this.writer=A.writable.getWriter();const O=()=>{T.read().then(({done:p,value:j})=>{p||(this.onPacket(j),O())}).catch(p=>{})};O();const q={type:"open"};this.query.sid&&(q.data=`{"sid":"${this.query.sid}"}`),this.writer.write(q).then(()=>this.onOpen())})}))}write(v){this.writable=!1;for(let d=0;d<v.length;d++){const T=v[d],A=d===v.length-1;this.writer.write(T).then(()=>{A&&nextTick(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var v;(v=this.transport)===null||v===void 0||v.close()}}const transports={websocket:WS,webtransport:WT,polling:Polling},re=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,parts=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function parse(F){if(F.length>2e3)throw"URI too long";const v=F,d=F.indexOf("["),T=F.indexOf("]");d!=-1&&T!=-1&&(F=F.substring(0,d)+F.substring(d,T).replace(/:/g,";")+F.substring(T,F.length));let A=re.exec(F||""),O={},q=14;for(;q--;)O[parts[q]]=A[q]||"";return d!=-1&&T!=-1&&(O.source=v,O.host=O.host.substring(1,O.host.length-1).replace(/;/g,":"),O.authority=O.authority.replace("[","").replace("]","").replace(/;/g,":"),O.ipv6uri=!0),O.pathNames=pathNames(O,O.path),O.queryKey=queryKey(O,O.query),O}function pathNames(F,v){const d=/\/{2,9}/g,T=v.replace(d,"/").split("/");return(v.slice(0,1)=="/"||v.length===0)&&T.splice(0,1),v.slice(-1)=="/"&&T.splice(T.length-1,1),T}function queryKey(F,v){const d={};return v.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(T,A,O){A&&(d[A]=O)}),d}let Socket$1=class lr extends Emitter{constructor(v,d={}){super(),this.binaryType=defaultBinaryType,this.writeBuffer=[],v&&typeof v=="object"&&(d=v,v=null),v?(v=parse(v),d.hostname=v.host,d.secure=v.protocol==="https"||v.protocol==="wss",d.port=v.port,v.query&&(d.query=v.query)):d.host&&(d.hostname=parse(d.host).host),installTimerFunctions(this,d),this.secure=d.secure!=null?d.secure:typeof location<"u"&&location.protocol==="https:",d.hostname&&!d.port&&(d.port=this.secure?"443":"80"),this.hostname=d.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=d.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=d.transports||["polling","websocket","webtransport"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},d),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=decode(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(v){const d=Object.assign({},this.opts.query);d.EIO=protocol$1,d.transport=v,this.id&&(d.sid=this.id);const T=Object.assign({},this.opts,{query:d,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[v]);return new transports[v](T)}open(){let v;if(this.opts.rememberUpgrade&&lr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)v="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else v=this.transports[0];this.readyState="opening";try{v=this.createTransport(v)}catch{this.transports.shift(),this.open();return}v.open(),this.setTransport(v)}setTransport(v){this.transport&&this.transport.removeAllListeners(),this.transport=v,v.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",d=>this.onClose("transport close",d))}probe(v){let d=this.createTransport(v),T=!1;lr.priorWebsocketSuccess=!1;const A=()=>{T||(d.send([{type:"ping",data:"probe"}]),d.once("packet",_=>{if(!T)if(_.type==="pong"&&_.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",d),!d)return;lr.priorWebsocketSuccess=d.name==="websocket",this.transport.pause(()=>{T||this.readyState!=="closed"&&(S(),this.setTransport(d),d.send([{type:"upgrade"}]),this.emitReserved("upgrade",d),d=null,this.upgrading=!1,this.flush())})}else{const N=new Error("probe error");N.transport=d.name,this.emitReserved("upgradeError",N)}}))};function O(){T||(T=!0,S(),d.close(),d=null)}const q=_=>{const N=new Error("probe error: "+_);N.transport=d.name,O(),this.emitReserved("upgradeError",N)};function p(){q("transport closed")}function j(){q("socket closed")}function w(_){d&&_.name!==d.name&&O()}const S=()=>{d.removeListener("open",A),d.removeListener("error",q),d.removeListener("close",p),this.off("close",j),this.off("upgrading",w)};d.once("open",A),d.once("error",q),d.once("close",p),this.once("close",j),this.once("upgrading",w),this.upgrades.indexOf("webtransport")!==-1&&v!=="webtransport"?this.setTimeoutFn(()=>{T||d.open()},200):d.open()}onOpen(){if(this.readyState="open",lr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let v=0;const d=this.upgrades.length;for(;v<d;v++)this.probe(this.upgrades[v])}}onPacket(v){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",v),this.emitReserved("heartbeat"),this.resetPingTimeout(),v.type){case"open":this.onHandshake(JSON.parse(v.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const d=new Error("server error");d.code=v.data,this.onError(d);break;case"message":this.emitReserved("data",v.data),this.emitReserved("message",v.data);break}}onHandshake(v){this.emitReserved("handshake",v),this.id=v.sid,this.transport.query.sid=v.sid,this.upgrades=this.filterUpgrades(v.upgrades),this.pingInterval=v.pingInterval,this.pingTimeout=v.pingTimeout,this.maxPayload=v.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const v=this.getWritablePackets();this.transport.send(v),this.prevBufferLen=v.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let d=1;for(let T=0;T<this.writeBuffer.length;T++){const A=this.writeBuffer[T].data;if(A&&(d+=byteLength(A)),T>0&&d>this.maxPayload)return this.writeBuffer.slice(0,T);d+=2}return this.writeBuffer}write(v,d,T){return this.sendPacket("message",v,d,T),this}send(v,d,T){return this.sendPacket("message",v,d,T),this}sendPacket(v,d,T,A){if(typeof d=="function"&&(A=d,d=void 0),typeof T=="function"&&(A=T,T=null),this.readyState==="closing"||this.readyState==="closed")return;T=T||{},T.compress=T.compress!==!1;const O={type:v,data:d,options:T};this.emitReserved("packetCreate",O),this.writeBuffer.push(O),A&&this.once("flush",A),this.flush()}close(){const v=()=>{this.onClose("forced close"),this.transport.close()},d=()=>{this.off("upgrade",d),this.off("upgradeError",d),v()},T=()=>{this.once("upgrade",d),this.once("upgradeError",d)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?T():v()}):this.upgrading?T():v()),this}onError(v){lr.priorWebsocketSuccess=!1,this.emitReserved("error",v),this.onClose("transport error",v)}onClose(v,d){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",v,d),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(v){const d=[];let T=0;const A=v.length;for(;T<A;T++)~this.transports.indexOf(v[T])&&d.push(v[T]);return d}};Socket$1.protocol=protocol$1;function url(F,v="",d){let T=F;d=d||typeof location<"u"&&location,F==null&&(F=d.protocol+"//"+d.host),typeof F=="string"&&(F.charAt(0)==="/"&&(F.charAt(1)==="/"?F=d.protocol+F:F=d.host+F),/^(https?|wss?):\/\//.test(F)||(typeof d<"u"?F=d.protocol+"//"+F:F="https://"+F),T=parse(F)),T.port||(/^(http|ws)$/.test(T.protocol)?T.port="80":/^(http|ws)s$/.test(T.protocol)&&(T.port="443")),T.path=T.path||"/";const O=T.host.indexOf(":")!==-1?"["+T.host+"]":T.host;return T.id=T.protocol+"://"+O+":"+T.port+v,T.href=T.protocol+"://"+O+(d&&d.port===T.port?"":":"+T.port),T}const withNativeArrayBuffer=typeof ArrayBuffer=="function",isView=F=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(F):F.buffer instanceof ArrayBuffer,toString=Object.prototype.toString,withNativeBlob=typeof Blob=="function"||typeof Blob<"u"&&toString.call(Blob)==="[object BlobConstructor]",withNativeFile=typeof File=="function"||typeof File<"u"&&toString.call(File)==="[object FileConstructor]";function isBinary(F){return withNativeArrayBuffer&&(F instanceof ArrayBuffer||isView(F))||withNativeBlob&&F instanceof Blob||withNativeFile&&F instanceof File}function hasBinary(F,v){if(!F||typeof F!="object")return!1;if(Array.isArray(F)){for(let d=0,T=F.length;d<T;d++)if(hasBinary(F[d]))return!0;return!1}if(isBinary(F))return!0;if(F.toJSON&&typeof F.toJSON=="function"&&arguments.length===1)return hasBinary(F.toJSON(),!0);for(const d in F)if(Object.prototype.hasOwnProperty.call(F,d)&&hasBinary(F[d]))return!0;return!1}function deconstructPacket(F){const v=[],d=F.data,T=F;return T.data=_deconstructPacket(d,v),T.attachments=v.length,{packet:T,buffers:v}}function _deconstructPacket(F,v){if(!F)return F;if(isBinary(F)){const d={_placeholder:!0,num:v.length};return v.push(F),d}else if(Array.isArray(F)){const d=new Array(F.length);for(let T=0;T<F.length;T++)d[T]=_deconstructPacket(F[T],v);return d}else if(typeof F=="object"&&!(F instanceof Date)){const d={};for(const T in F)Object.prototype.hasOwnProperty.call(F,T)&&(d[T]=_deconstructPacket(F[T],v));return d}return F}function reconstructPacket(F,v){return F.data=_reconstructPacket(F.data,v),delete F.attachments,F}function _reconstructPacket(F,v){if(!F)return F;if(F&&F._placeholder===!0){if(typeof F.num=="number"&&F.num>=0&&F.num<v.length)return v[F.num];throw new Error("illegal attachments")}else if(Array.isArray(F))for(let d=0;d<F.length;d++)F[d]=_reconstructPacket(F[d],v);else if(typeof F=="object")for(const d in F)Object.prototype.hasOwnProperty.call(F,d)&&(F[d]=_reconstructPacket(F[d],v));return F}const RESERVED_EVENTS$1=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],protocol=5;var PacketType;(function(F){F[F.CONNECT=0]="CONNECT",F[F.DISCONNECT=1]="DISCONNECT",F[F.EVENT=2]="EVENT",F[F.ACK=3]="ACK",F[F.CONNECT_ERROR=4]="CONNECT_ERROR",F[F.BINARY_EVENT=5]="BINARY_EVENT",F[F.BINARY_ACK=6]="BINARY_ACK"})(PacketType||(PacketType={}));class Encoder{constructor(v){this.replacer=v}encode(v){return(v.type===PacketType.EVENT||v.type===PacketType.ACK)&&hasBinary(v)?this.encodeAsBinary({type:v.type===PacketType.EVENT?PacketType.BINARY_EVENT:PacketType.BINARY_ACK,nsp:v.nsp,data:v.data,id:v.id}):[this.encodeAsString(v)]}encodeAsString(v){let d=""+v.type;return(v.type===PacketType.BINARY_EVENT||v.type===PacketType.BINARY_ACK)&&(d+=v.attachments+"-"),v.nsp&&v.nsp!=="/"&&(d+=v.nsp+","),v.id!=null&&(d+=v.id),v.data!=null&&(d+=JSON.stringify(v.data,this.replacer)),d}encodeAsBinary(v){const d=deconstructPacket(v),T=this.encodeAsString(d.packet),A=d.buffers;return A.unshift(T),A}}function isObject(F){return Object.prototype.toString.call(F)==="[object Object]"}class Decoder extends Emitter{constructor(v){super(),this.reviver=v}add(v){let d;if(typeof v=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");d=this.decodeString(v);const T=d.type===PacketType.BINARY_EVENT;T||d.type===PacketType.BINARY_ACK?(d.type=T?PacketType.EVENT:PacketType.ACK,this.reconstructor=new BinaryReconstructor(d),d.attachments===0&&super.emitReserved("decoded",d)):super.emitReserved("decoded",d)}else if(isBinary(v)||v.base64)if(this.reconstructor)d=this.reconstructor.takeBinaryData(v),d&&(this.reconstructor=null,super.emitReserved("decoded",d));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+v)}decodeString(v){let d=0;const T={type:Number(v.charAt(0))};if(PacketType[T.type]===void 0)throw new Error("unknown packet type "+T.type);if(T.type===PacketType.BINARY_EVENT||T.type===PacketType.BINARY_ACK){const O=d+1;for(;v.charAt(++d)!=="-"&&d!=v.length;);const q=v.substring(O,d);if(q!=Number(q)||v.charAt(d)!=="-")throw new Error("Illegal attachments");T.attachments=Number(q)}if(v.charAt(d+1)==="/"){const O=d+1;for(;++d&&!(v.charAt(d)===","||d===v.length););T.nsp=v.substring(O,d)}else T.nsp="/";const A=v.charAt(d+1);if(A!==""&&Number(A)==A){const O=d+1;for(;++d;){const q=v.charAt(d);if(q==null||Number(q)!=q){--d;break}if(d===v.length)break}T.id=Number(v.substring(O,d+1))}if(v.charAt(++d)){const O=this.tryParse(v.substr(d));if(Decoder.isPayloadValid(T.type,O))T.data=O;else throw new Error("invalid payload")}return T}tryParse(v){try{return JSON.parse(v,this.reviver)}catch{return!1}}static isPayloadValid(v,d){switch(v){case PacketType.CONNECT:return isObject(d);case PacketType.DISCONNECT:return d===void 0;case PacketType.CONNECT_ERROR:return typeof d=="string"||isObject(d);case PacketType.EVENT:case PacketType.BINARY_EVENT:return Array.isArray(d)&&(typeof d[0]=="number"||typeof d[0]=="string"&&RESERVED_EVENTS$1.indexOf(d[0])===-1);case PacketType.ACK:case PacketType.BINARY_ACK:return Array.isArray(d)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class BinaryReconstructor{constructor(v){this.packet=v,this.buffers=[],this.reconPack=v}takeBinaryData(v){if(this.buffers.push(v),this.buffers.length===this.reconPack.attachments){const d=reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),d}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const parser=Object.freeze(Object.defineProperty({__proto__:null,Decoder,Encoder,get PacketType(){return PacketType},protocol},Symbol.toStringTag,{value:"Module"}));function on(F,v,d){return F.on(v,d),function(){F.off(v,d)}}const RESERVED_EVENTS=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Socket extends Emitter{constructor(v,d,T){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=v,this.nsp=d,T&&T.auth&&(this.auth=T.auth),this._opts=Object.assign({},T),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const v=this.io;this.subs=[on(v,"open",this.onopen.bind(this)),on(v,"packet",this.onpacket.bind(this)),on(v,"error",this.onerror.bind(this)),on(v,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...v){return v.unshift("message"),this.emit.apply(this,v),this}emit(v,...d){if(RESERVED_EVENTS.hasOwnProperty(v))throw new Error('"'+v.toString()+'" is a reserved event name');if(d.unshift(v),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(d),this;const T={type:PacketType.EVENT,data:d};if(T.options={},T.options.compress=this.flags.compress!==!1,typeof d[d.length-1]=="function"){const q=this.ids++,p=d.pop();this._registerAckCallback(q,p),T.id=q}const A=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!A||!this.connected)||(this.connected?(this.notifyOutgoingListeners(T),this.packet(T)):this.sendBuffer.push(T)),this.flags={},this}_registerAckCallback(v,d){var T;const A=(T=this.flags.timeout)!==null&&T!==void 0?T:this._opts.ackTimeout;if(A===void 0){this.acks[v]=d;return}const O=this.io.setTimeoutFn(()=>{delete this.acks[v];for(let p=0;p<this.sendBuffer.length;p++)this.sendBuffer[p].id===v&&this.sendBuffer.splice(p,1);d.call(this,new Error("operation has timed out"))},A),q=(...p)=>{this.io.clearTimeoutFn(O),d.apply(this,p)};q.withError=!0,this.acks[v]=q}emitWithAck(v,...d){return new Promise((T,A)=>{const O=(q,p)=>q?A(q):T(p);O.withError=!0,d.push(O),this.emit(v,...d)})}_addToQueue(v){let d;typeof v[v.length-1]=="function"&&(d=v.pop());const T={id:this._queueSeq++,tryCount:0,pending:!1,args:v,flags:Object.assign({fromQueue:!0},this.flags)};v.push((A,...O)=>T!==this._queue[0]?void 0:(A!==null?T.tryCount>this._opts.retries&&(this._queue.shift(),d&&d(A)):(this._queue.shift(),d&&d(null,...O)),T.pending=!1,this._drainQueue())),this._queue.push(T),this._drainQueue()}_drainQueue(v=!1){if(!this.connected||this._queue.length===0)return;const d=this._queue[0];d.pending&&!v||(d.pending=!0,d.tryCount++,this.flags=d.flags,this.emit.apply(this,d.args))}packet(v){v.nsp=this.nsp,this.io._packet(v)}onopen(){typeof this.auth=="function"?this.auth(v=>{this._sendConnectPacket(v)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(v){this.packet({type:PacketType.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},v):v})}onerror(v){this.connected||this.emitReserved("connect_error",v)}onclose(v,d){this.connected=!1,delete this.id,this.emitReserved("disconnect",v,d),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(v=>{if(!this.sendBuffer.some(T=>String(T.id)===v)){const T=this.acks[v];delete this.acks[v],T.withError&&T.call(this,new Error("socket has been disconnected"))}})}onpacket(v){if(v.nsp===this.nsp)switch(v.type){case PacketType.CONNECT:v.data&&v.data.sid?this.onconnect(v.data.sid,v.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case PacketType.EVENT:case PacketType.BINARY_EVENT:this.onevent(v);break;case PacketType.ACK:case PacketType.BINARY_ACK:this.onack(v);break;case PacketType.DISCONNECT:this.ondisconnect();break;case PacketType.CONNECT_ERROR:this.destroy();const T=new Error(v.data.message);T.data=v.data.data,this.emitReserved("connect_error",T);break}}onevent(v){const d=v.data||[];v.id!=null&&d.push(this.ack(v.id)),this.connected?this.emitEvent(d):this.receiveBuffer.push(Object.freeze(d))}emitEvent(v){if(this._anyListeners&&this._anyListeners.length){const d=this._anyListeners.slice();for(const T of d)T.apply(this,v)}super.emit.apply(this,v),this._pid&&v.length&&typeof v[v.length-1]=="string"&&(this._lastOffset=v[v.length-1])}ack(v){const d=this;let T=!1;return function(...A){T||(T=!0,d.packet({type:PacketType.ACK,id:v,data:A}))}}onack(v){const d=this.acks[v.id];typeof d=="function"&&(delete this.acks[v.id],d.withError&&v.data.unshift(null),d.apply(this,v.data))}onconnect(v,d){this.id=v,this.recovered=d&&this._pid===d,this._pid=d,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(v=>this.emitEvent(v)),this.receiveBuffer=[],this.sendBuffer.forEach(v=>{this.notifyOutgoingListeners(v),this.packet(v)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(v=>v()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:PacketType.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(v){return this.flags.compress=v,this}get volatile(){return this.flags.volatile=!0,this}timeout(v){return this.flags.timeout=v,this}onAny(v){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(v),this}prependAny(v){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(v),this}offAny(v){if(!this._anyListeners)return this;if(v){const d=this._anyListeners;for(let T=0;T<d.length;T++)if(v===d[T])return d.splice(T,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(v){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(v),this}prependAnyOutgoing(v){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(v),this}offAnyOutgoing(v){if(!this._anyOutgoingListeners)return this;if(v){const d=this._anyOutgoingListeners;for(let T=0;T<d.length;T++)if(v===d[T])return d.splice(T,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(v){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const d=this._anyOutgoingListeners.slice();for(const T of d)T.apply(this,v.data)}}}function Backoff(F){F=F||{},this.ms=F.min||100,this.max=F.max||1e4,this.factor=F.factor||2,this.jitter=F.jitter>0&&F.jitter<=1?F.jitter:0,this.attempts=0}Backoff.prototype.duration=function(){var F=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var v=Math.random(),d=Math.floor(v*this.jitter*F);F=Math.floor(v*10)&1?F+d:F-d}return Math.min(F,this.max)|0},Backoff.prototype.reset=function(){this.attempts=0},Backoff.prototype.setMin=function(F){this.ms=F},Backoff.prototype.setMax=function(F){this.max=F},Backoff.prototype.setJitter=function(F){this.jitter=F};class Manager extends Emitter{constructor(v,d){var T;super(),this.nsps={},this.subs=[],v&&typeof v=="object"&&(d=v,v=void 0),d=d||{},d.path=d.path||"/socket.io",this.opts=d,installTimerFunctions(this,d),this.reconnection(d.reconnection!==!1),this.reconnectionAttempts(d.reconnectionAttempts||1/0),this.reconnectionDelay(d.reconnectionDelay||1e3),this.reconnectionDelayMax(d.reconnectionDelayMax||5e3),this.randomizationFactor((T=d.randomizationFactor)!==null&&T!==void 0?T:.5),this.backoff=new Backoff({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(d.timeout==null?2e4:d.timeout),this._readyState="closed",this.uri=v;const A=d.parser||parser;this.encoder=new A.Encoder,this.decoder=new A.Decoder,this._autoConnect=d.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(v){return arguments.length?(this._reconnection=!!v,this):this._reconnection}reconnectionAttempts(v){return v===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=v,this)}reconnectionDelay(v){var d;return v===void 0?this._reconnectionDelay:(this._reconnectionDelay=v,(d=this.backoff)===null||d===void 0||d.setMin(v),this)}randomizationFactor(v){var d;return v===void 0?this._randomizationFactor:(this._randomizationFactor=v,(d=this.backoff)===null||d===void 0||d.setJitter(v),this)}reconnectionDelayMax(v){var d;return v===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=v,(d=this.backoff)===null||d===void 0||d.setMax(v),this)}timeout(v){return arguments.length?(this._timeout=v,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(v){if(~this._readyState.indexOf("open"))return this;this.engine=new Socket$1(this.uri,this.opts);const d=this.engine,T=this;this._readyState="opening",this.skipReconnect=!1;const A=on(d,"open",function(){T.onopen(),v&&v()}),O=p=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",p),v?v(p):this.maybeReconnectOnOpen()},q=on(d,"error",O);if(this._timeout!==!1){const p=this._timeout,j=this.setTimeoutFn(()=>{A(),O(new Error("timeout")),d.close()},p);this.opts.autoUnref&&j.unref(),this.subs.push(()=>{this.clearTimeoutFn(j)})}return this.subs.push(A),this.subs.push(q),this}connect(v){return this.open(v)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const v=this.engine;this.subs.push(on(v,"ping",this.onping.bind(this)),on(v,"data",this.ondata.bind(this)),on(v,"error",this.onerror.bind(this)),on(v,"close",this.onclose.bind(this)),on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(v){try{this.decoder.add(v)}catch(d){this.onclose("parse error",d)}}ondecoded(v){nextTick(()=>{this.emitReserved("packet",v)},this.setTimeoutFn)}onerror(v){this.emitReserved("error",v)}socket(v,d){let T=this.nsps[v];return T?this._autoConnect&&!T.active&&T.connect():(T=new Socket(this,v,d),this.nsps[v]=T),T}_destroy(v){const d=Object.keys(this.nsps);for(const T of d)if(this.nsps[T].active)return;this._close()}_packet(v){const d=this.encoder.encode(v);for(let T=0;T<d.length;T++)this.engine.write(d[T],v.options)}cleanup(){this.subs.forEach(v=>v()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(v,d){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",v,d),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const v=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const d=this.backoff.duration();this._reconnecting=!0;const T=this.setTimeoutFn(()=>{v.skipReconnect||(this.emitReserved("reconnect_attempt",v.backoff.attempts),!v.skipReconnect&&v.open(A=>{A?(v._reconnecting=!1,v.reconnect(),this.emitReserved("reconnect_error",A)):v.onreconnect()}))},d);this.opts.autoUnref&&T.unref(),this.subs.push(()=>{this.clearTimeoutFn(T)})}}onreconnect(){const v=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",v)}}const cache={};function lookup(F,v){typeof F=="object"&&(v=F,F=void 0),v=v||{};const d=url(F,v.path||"/socket.io"),T=d.source,A=d.id,O=d.path,q=cache[A]&&O in cache[A].nsps,p=v.forceNew||v["force new connection"]||v.multiplex===!1||q;let j;return p?j=new Manager(T,v):(cache[A]||(cache[A]=new Manager(T,v)),j=cache[A]),d.query&&!v.query&&(v.query=d.queryKey),j.socket(d.path,v)}Object.assign(lookup,{Manager,Socket,io:lookup,connect:lookup});var UserMode;(function(F){F[F.Normal=0]="Normal",F[F.Debug=1]="Debug"})(UserMode||(UserMode={}));let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let F=0;F<256;++F)byteToHex.push((F+256).toString(16).slice(1));function unsafeStringify(F,v=0){return byteToHex[F[v+0]]+byteToHex[F[v+1]]+byteToHex[F[v+2]]+byteToHex[F[v+3]]+"-"+byteToHex[F[v+4]]+byteToHex[F[v+5]]+"-"+byteToHex[F[v+6]]+byteToHex[F[v+7]]+"-"+byteToHex[F[v+8]]+byteToHex[F[v+9]]+"-"+byteToHex[F[v+10]]+byteToHex[F[v+11]]+byteToHex[F[v+12]]+byteToHex[F[v+13]]+byteToHex[F[v+14]]+byteToHex[F[v+15]]}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(F,v,d){if(native.randomUUID&&!v&&!F)return native.randomUUID();F=F||{};const T=F.random||(F.rng||rng)();if(T[6]=T[6]&15|64,T[8]=T[8]&63|128,v){d=d||0;for(let A=0;A<16;++A)v[d+A]=T[A];return v}return unsafeStringify(T)}const logger$4=new Logger$1("[EventBus] ");class EventBus{constructor(v=!1){Object.defineProperty(this,"eventListenerMap",{enumerable:!0,configurable:!0,writable:!0,value:{}}),v&&logger$4.disable()}getEventListenerMap(){return Object.assign({},this.eventListenerMap)}on(v,d,T=!1){this.eventListenerMap[v]||(this.eventListenerMap[v]=[]),T?this.eventListenerMap[v].push({fn:d,once:!0}):this.eventListenerMap[v].push(d),logger$4.log(`add event ${v} listener ${T?", call once":""}`)}once(v,d){this.on(v,d,!0)}off(v,d){if(this.eventListenerMap[v]){const T=this.eventListenerMap[v].findIndex(A=>{if(typeof A=="function"&&d===A)return!0;if(A=A,A.fn===d)return!0});T<0?logger$4.log(`event ${v} listener ${d.name} is not found`):(this.eventListenerMap[v].splice(T,1),logger$4.log(`remove event ${v} listener`))}else logger$4.log(`event ${v} listeners is empty`)}emit(v,d){if(!this.eventListenerMap[v]){logger$4.log(`event ${v} listeners is empty`);return}const T=[];for(let A=0;A<this.eventListenerMap[v].length;A++){const O=this.eventListenerMap[v][A];typeof O=="function"?O(d):T.push(O)}T.forEach(A=>{A&&(A.fn(d),this.off(v,A.fn))}),logger$4.log(`event ${v} is fired, has ${this.eventListenerMap[v].length} listeners`)}removeAllListeners(){this.eventListenerMap={}}}var NetOpen;(function(F){F[F.enable=1]="enable",F[F.disable=2]="disable"})(NetOpen||(NetOpen={}));const logger$3=new Logger$1("[Session] ");var SessionErrors;(function(F){F.DataRequestFailed="data request error",F.SocketConnectionFailed="socket error",F.IdUndefined="session id is not defined",F.SendingEmptyContent="failed at sending empty content",F.Frozen="session is frozen",F.UserModeError="failed at setting socket user mode",F.Inactive="session is inactive"})(SessionErrors||(SessionErrors={})),SessionErrors.IdUndefined+"",SessionErrors.SendingEmptyContent+"",SessionErrors.Frozen+"";class Session{constructor(v,d="",T,A,O,q){Object.defineProperty(this,"token",{enumerable:!0,configurable:!0,writable:!0,value:v}),Object.defineProperty(this,"lazyload",{enumerable:!0,configurable:!0,writable:!0,value:A}),Object.defineProperty(this,"_id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_frozen",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"inactivating",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_ready",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:new EventBus}),Object.defineProperty(this,"_applicationId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_application",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"client",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"messages",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_loadingMessages",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_loadingMessagesSize",{enumerable:!0,configurable:!0,writable:!0,value:10}),Object.defineProperty(this,"cvforceApi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"socket",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_promptVariables",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"active",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"activing",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_stopAnswer",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataLoading",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataLoaded",{enumerable:!0,configurable:!0,writable:!0,value:!1}),this.client=q||null,this._applicationId=parseJWT(v).rid||exports.configuration.applicationId,this.cvforceApi=this.getService(),O&&(this._application=O),this.event.emit("init",{applicationId:this._applicationId,sessionId:d}),this.loadApplicationInfo().then(()=>{var p;if(d)this._id=d,this.event.emit("data:loading"),T?(this.data=T,A||(this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,d).then(j=>__awaiter(this,void 0,void 0,function*(){this.data=j,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,d)})).then(()=>__awaiter(this,void 0,void 0,function*(){this.messages=[],yield this.fetchMessages(),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data)})))):(this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,d).then(j=>__awaiter(this,void 0,void 0,function*(){this.data=j,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,d)})).then(()=>__awaiter(this,void 0,void 0,function*(){this.messages=[],yield this.fetchMessages(),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._dataLoading=!1,this._dataLoaded=!0})));else{const j=(T==null?void 0:T.name)||"新建会话";this.event.emit("data:creating",{applicationId:this._applicationId,name:j}),this.event.emit("data:loading"),this.cvforceApi.postSession(this.applicationId,{name:j,netOpen:T==null?void 0:T.netOpen,knowledgeList:(p=T==null?void 0:T.knowledges)===null||p===void 0?void 0:p.map(w=>w.id),applicationId:this._applicationId}).then(w=>__awaiter(this,void 0,void 0,function*(){this._id=w.id,this.data=w,this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this._id),yield(()=>{if(T!=null&&T.knowledges)return this.setKnowledges((T==null?void 0:T.knowledges)||void 0)})(),yield(()=>{if(T!=null&&T.promptVariables){const S=this._promptVariables.map(_=>{var N,I;const b=((I=(N=T.promptVariables)===null||N===void 0?void 0:N.find(B=>B.key===_.key))===null||I===void 0?void 0:I.value)||"";return Object.assign(Object.assign({},_),{value:b})}).sort((_,N)=>_.key.localeCompare(N.key));return this.setPromptVariables(S||[])}else return})(),this.event.emit("data:created",this.data),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._ready=!0,this.event.emit("ready")}))}})}fetchData(){return __awaiter(this,void 0,void 0,function*(){if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.getSession(this.applicationId,this.data.id).then(v=>__awaiter(this,void 0,void 0,function*(){return this.data=v,this.event.emit("data:updated",this.data),v}))})}get id(){var v;return this._id||((v=this.data)===null||v===void 0?void 0:v.id)||""}get applicationId(){return this._applicationId}get application(){return this._application}loadApplicationInfo(){if(this._application)return Promise.resolve(this._application);if(this._applicationId&&!this._application)return this.event.emit("application:data:loading"),this.cvforceApi.getApplicationId(this._applicationId).then(v=>(this._application=v,this.event.emit("application:data:loaded",v),v));throw Error("application id is not defined")}get ready(){return this._ready}get frozen(){return this._frozen}set frozen(v){v===!1&&this.inactivating&&this.socket&&(this.socket.disconnect(),this.socket=null,this.event.emit("inactivated")),this._frozen=v,this.event.emit("frozen",v)}get knowledges(){if(!this.data)throw Error("session data is not loaded");return this.data.knowledges||void 0}setKnowledges(v){return __awaiter(this,void 0,void 0,function*(){var d;if(((d=this._application)===null||d===void 0?void 0:d.type)===k.Agent){console.warn("Agent Application Sessions are disabled to setKnowledges.");return}if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.patchSessionsId(this._applicationId,this.data.id,{knowledges:v}),this.data.knowledges=v,this.event.emit("data:updated",this.data),this.event.emit("data:updated:knowledges",{knowledges:v}),v})}validateConfigs(){if(!this._id)throw Error("session id is not defined");if(!this.data)throw Error("session data is not loaded");const v=this.promptVariables.filter(d=>d.status===L.Quoted).filter(d=>!d.value);if(v.length)throw Error(`在提示词中被引用的变量值不能为空, 请检查以下变量: ${v.map(d=>d.key).join(", ")}`)}get promptVariables(){return this._promptVariables.filter(v=>v.key!=="query")}setPromptVariables(v){return __awaiter(this,void 0,void 0,function*(){var d;if(((d=this._application)===null||d===void 0?void 0:d.type)===k.Agent){console.warn("Agent Application Sessions are disabled to setPromptVariables.");return}const T=this._promptVariables.map(A=>{var O;const q=((O=v==null?void 0:v.find(p=>p.key===A.key))===null||O===void 0?void 0:O.value)||A.value;return Object.assign(Object.assign({},A),{value:q})}).sort((A,O)=>A.key.localeCompare(O.key));if(yield Promise.all(T.filter(A=>A.key!=="query").map(A=>{if(!this.data)throw Error("session data is not loaded");if(!(!A.id||!A.key))return this.cvforceApi.patchApplicationIdSessionpromptVariablesId(this._applicationId,this.data.id,A.id,{value:A.value}).catch(console.error)})),!this.data)throw Error("session data is not loaded");return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this.data.id),this.event.emit("data:updated",this.data),this.event.emit("data:updated:promptVariables",{promptVariables:this._promptVariables}),this._promptVariables})}get netOpen(){if(!this.data)throw Error("session data is not loaded");return this.data.netOpen||!1}setNetOpen(v){return __awaiter(this,void 0,void 0,function*(){var d,T,A;if(logger$3.log("setNetOpen:",v),logger$3.log("application arrange setting value: ",(d=this._application)===null||d===void 0?void 0:d.arrange[0].enableNetOpen),((T=this._application)===null||T===void 0?void 0:T.type)===k.Agent){console.warn("Agent Application Sessions are disabled to setNetOpen.");return}if(((A=this._application)===null||A===void 0?void 0:A.arrange[0].enableNetOpen)===!1){console.warn("This Application is disabled to change netOpen.");return}if(!this.data)throw Error("session data is not loaded");return yield this.cvforceApi.patchSessionsId(this._applicationId,this.data.id,{netOpen:v?NetOpen.enable:NetOpen.disable}),this.data.netOpen=v,logger$3.log("data:updated",this.data),this.event.emit("data:updated",this.data),this.event.emit("data:updated:netOpen",{netOpen:v}),v})}getService(){return getCVForceService(exports.configuration.apiRoot,this.token,(v,d)=>{const T=new Error(SessionErrors.DataRequestFailed);logger$3.error(T),this.event.emit("error",T)})}addEventListener(v,d,T=!1){if(typeof d!="function")throw Error("event listener is not a function");if(T){this.event.once(v,d);return}this.event.on(v,d)}removeEventListener(v,d){this.event.off(v,d)}fetchMessages(){return __awaiter(this,arguments,void 0,function*(v={}){var d,T;const A={pageSize:this._loadingMessagesSize};if(this._id){v=Object.assign(Object.assign({},A),v),this.event.emit("history:loading"),logger$3.log("history:loading"),(v.endTime||v.startTime)&&(this.event.emit("history:moreloading",v),logger$3.log("history:moreloading",v)),this._loadingMessages=!0;const O=yield this.cvforceApi.getChatHistorySessionId(this._applicationId,this._id,v),q=O.map((j,w)=>{var S,_;let N=[],I;return typeof((S=j.agentHistoryList)===null||S===void 0?void 0:S.agentList)=="string"&&(N=JSON.parse(j.agentHistoryList.agentList).reduce((B,D)=>(B[D.data.step-1]||(B[D.data.step-1]=[]),B[D.data.step-1].push(D),B),[])),w===O.length-1&&(I=(_=this.data)===null||_===void 0?void 0:_.lastRelatedQuestion),Object.assign(Object.assign({},j),{actions:N,relatedQuesion:I})});if(!v.endTime&&!v.startTime){const j=this.messages[this.messages.length-1];j&&!j.relatedQuesion&&(j.relatedQuesion=(d=this.data)===null||d===void 0?void 0:d.lastRelatedQuestion),this.messages=[...q,...this.messages]}else if(v.endTime&&!v.startTime){const j=this.messages.findIndex(w=>w.ts===v.endTime);this.messages.splice(0,j+1),this.messages=[...q,...this.messages]}else if(!v.endTime&&v.startTime){const j=this.messages.findLastIndex(w=>w.ts===v.endTime);this.messages.splice(j,this.messages.length-j-1),this.messages=[...this.messages,...q]}else{const j=this.messages.findIndex(S=>S.ts===v.endTime),w=this.messages.findLastIndex(S=>S.ts===v.endTime);this.messages.splice(j,w-j+1,...q)}const p=this.messages[this.messages.length-1];return p&&!p.relatedQuesion&&(p.relatedQuesion=(T=this.data)===null||T===void 0?void 0:T.lastRelatedQuestion),this.event.emit("history:moreloaded",q),logger$3.log("history:loaded",this.messages),this.event.emit("history:loaded",this.messages),this._loadingMessages=!1,q}else{const O=new Error(SessionErrors.IdUndefined);return logger$3.error(O),this.event.emit("error",O),!1}})}rename(v){return __awaiter(this,void 0,void 0,function*(){if(!this._id)throw Error("session is not created yet");if(v.trim()==="")throw Error("name is empty");return this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{name:v}),logger$3.log("data:updated",this.messages),this.event.emit("data:updated",this.data),this.event.emit("data:updated:name",{name:v}),!0})}pushMessage(v){return __awaiter(this,void 0,void 0,function*(){this.messages.push(v),logger$3.log("history:add",v),this.event.emit("history:add",v),this.event.emit("message:new",v),this.event.emit("message:updated",v)})}reloadSessionInfo(){if(!this._id)throw Error("session is not created yet");return this._dataLoading=!0,this.cvforceApi.getSession(this.applicationId,this._id).then(v=>__awaiter(this,void 0,void 0,function*(){if(this.data=v,!this._id)throw Error("session is not created yet");return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,this._id),logger$3.log("data:updated",this.data),this.event.emit("data:updated",this.data),this.data})).then(()=>__awaiter(this,void 0,void 0,function*(){return this.messages=[],yield this.fetchMessages(),this._dataLoading=!1,this._dataLoaded=!0,this.event.emit("data:loaded",this.data),this}))}reload(){return __awaiter(this,void 0,void 0,function*(){return yield this.reloadSessionInfo(),this.socket?(this.inactivate(!0),this.activate()):(this.inactivate(!0),this.activate())})}delete(){return __awaiter(this,void 0,void 0,function*(){if(!this.id){const v=new Error(SessionErrors.IdUndefined);return logger$3.error(v),this.event.emit("error",v),!1}return this.event.emit("data:deleting"),yield this.cvforceApi.delSessionsId(this.applicationId,this.id),this.event.emit("data:deleted"),this.destroy()})}activate(){return __awaiter(this,void 0,void 0,function*(){if(this.activing)return new Promise(d=>{this.addEventListener("activated",()=>{d(!0)},!0)});if(!this._id)throw Error("session is not avalible. id is undefined");this.activing=!0;const v=this._id;return this._dataLoading=!0,this._dataLoaded=!1,this.data=yield this.cvforceApi.getSession(this.applicationId,v).then(d=>__awaiter(this,void 0,void 0,function*(){return this._promptVariables=yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId,v),d})),this.messages.length||(this.messages=[],yield this.fetchMessages()),this.event.emit("data:loaded",this.data),this.event.emit("data:updated",this.data),this._dataLoaded=!0,this._dataLoading=!1,this.inactivating=!1,this.frozen=!0,yield this.prepareConnection(),this.event.emit("activated",this.socket),this.active=!0,this.activing=!1,this})}inactivate(v=!1){return this.socket?this._frozen?(v||(this.inactivating=!0),this.activing=!1,!0):(this.socket.close(),this.socket=null,this.event.emit("inactivated"),this.active=!1,this.activing=!1,!0):(this.activing=!1,!0)}get dataLoaded(){return this._dataLoaded}get messagesLoading(){return this._loadingMessages}send(v){return __awaiter(this,arguments,void 0,function*(d,T={stream:!1}){var A;try{this.validateConfigs()}catch(I){console.error(I)}const{stream:O=!1,referenceFirst:q=!1}=T,p=d.uuid||v4(),j=((A=d.text)===null||A===void 0?void 0:A.trim())||"",w=d.fileIds;if(!j&&!(w!=null&&w.length)){const I=new Error(SessionErrors.SendingEmptyContent);return logger$3.error(I),this.event.emit("error",I),!1}if(!this._id){const I=new Error(SessionErrors.IdUndefined);return logger$3.error(I),this.event.emit("error",I),!1}if(this.frozen){const I=new Error(SessionErrors.Frozen);return logger$3.error(I),this.event.emit("error",I),!1}this.frozen=!0,this._stopAnswer=!1;const S={sessionId:this.id,role:2,content:j,messageId:p,reference:[],searchReference:[],messageTime:""},_={content:j,stream:O,requestId:p,fileIds:w,referenceFirst:q};this.pushMessage(S),this.event.emit("question:content",j);const N=I=>__awaiter(this,void 0,void 0,function*(){if(I.role!==n.Robot)return;switch(this.removeEventListener("answer:finish",N),this._id&&I.content&&I.index&&I.index<0&&(this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{finialMessage:I.content}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:finialMessage",{finialMessage:I.content})),yield this.fillMessageReference(I),I.code){case 11915:I.content="请您换个问题问我吧~",I.index=-1,I.isSensitive=!0,I.isLoading=!1,I.sessionId=this._id||"",this.event.emit("message:error",I);break;case 200:I.index=-1,I.isLoading=!1;break;default:I.content=I.message||"未知错误",I.isLoading=!1,I.index=-1,this.event.emit("message:error",I)}const b=yield this.getRelatedQuesion(I);I=Object.assign(Object.assign({},I),b),I.isLoading=!1;let B=this.messages[this.messages.length-1];if(B&&B.role===n.Robot){const D=Object.assign(Object.assign({},B),I);this.messages[this.messages.length-1]=D,this.event.emit("message:updated",D)}else this.pushMessage(I);this.frozen=!1});return this.addEventListener("answer:finish",N),this.sendQuestion(_,Object.assign(Object.assign({},T),{stream:O,referenceFirst:q})),S})}getRelatedQuesion(v){return __awaiter(this,void 0,void 0,function*(){var d;if(!v.content||v.isSensitive||v.code!==200)return v;this.event.emit("message:relatedQuesion:loading",v);const T=yield this.cvforceApi.postGeneques({content:v.content}).catch(q=>null);if(!T){const q=[],p=Object.assign(Object.assign({},v),{relatedQuesion:q,index:-3,isLoading:!1});return this.event.emit("message:relatedQuesion:loaded",{relatedQuesion:q}),p}const A=(d=T.content)===null||d===void 0?void 0:d.split("*").map(removeNewlines).map(removeLeadingAndTrailingBackslashes).filter(q=>!!q);v.relatedQuesion=A,v.index=-3,v.isLoading=!1;const O=Object.assign(Object.assign({},v),{relatedQuesion:A,index:-3,isLoading:!1});return this.event.emit("message:relatedQuesion:loaded",O),this._id&&this.cvforceApi.patchSessionsId(this._applicationId,this._id,{lastRelatedQuestion:A}),O})}fillMessageReference(v){return __awaiter(this,void 0,void 0,function*(){var d;return(d=v.reference)===null||d===void 0||d.forEach((T,A)=>__awaiter(this,void 0,void 0,function*(){const O=yield this.cvforceApi.getKnowledgeIdFileId(T.knowledgeId,T.docId);v.reference[A]=Object.assign(Object.assign({},T),O)})),v})}answerAgain(){return __awaiter(this,arguments,void 0,function*(v={stream:!1}){const d=this.messages[this.messages.length-1];if(!d)throw Error("message list is empty");this.frozen=!0,this._stopAnswer=!1;const{stream:T=!1}=v;let A;d.role!==n.User&&(A=v.oldMessageId||d.messageId,this.messages.splice(this.messages.length-1,1),this.event.emit("message:remove",d),this.event.emit("history:remove",d));const O=this.messages[this.messages.length-1],q={content:O.content,fileIds:O.fileIds,requestId:O.messageId,stream:T,oldMessageId:A},p=j=>__awaiter(this,void 0,void 0,function*(){if(j.role===n.Robot&&j.index===-1){switch(this._id&&j.content&&j.index&&j.index<0&&(this.data=yield this.cvforceApi.patchSessionsId(this.applicationId,this._id,{finialMessage:j.content}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:finialMessage",{finialMessage:j.content})),yield this.fillMessageReference(j),j.code){case 11915:j.content="请您换个问题问我吧~",j.index=-1,j.isSensitive=!0,j.isLoading=!1,j.sessionId=this._id||"",this.event.emit("message:error",j);break;case 200:j.index=-1,j.isLoading=!1;break;default:j.content=j.message||"未知错误",j.isLoading=!1,j.index=-1,this.event.emit("message:error",j)}const w=yield this.getRelatedQuesion(j);this.event.emit("message:updated",w),this.removeEventListener("message:content",p),this.frozen=!1}});this.addEventListener("message:content",p),this.sendQuestion(q,Object.assign(Object.assign({},v),{stream:T}))})}setTop(v){return __awaiter(this,void 0,void 0,function*(){if(!this._id)throw Error("session is not avalible. id is undefined");this.data=yield this.cvforceApi.patchSessionsId(this._applicationId,this._id,{top:v}),this.event.emit("data:updated",this.data),this.event.emit("data:updated:top",{top:v})})}suspend(){var v;this.stopAnswer(),this.frozen=!1,this._stopAnswer=!0;let d=this.messages[this.messages.length-1];const T={messageId:v4(),isLoading:!1,index:-2,messageTime:dayjs(new Date).format("YYYY-MM-DD HH:ss:mm"),content:"",role:n.System,sessionId:this.id||"",reference:[],searchReference:[]};if(d&&!d.messageId){if(d.index===-2)return;if(d.actions){const A=d.actions[((v=d.actions)===null||v===void 0?void 0:v.length)-1];if(A){const O=A[A.length-1];if(O&&(O.type==="BEFORE_CALL"||O.type==="FUNCTION_CALL")){const{pluginName:q,pluginCode:p,funcCode:j,funcName:w}=O.data;A.push({data:{pluginName:q,pluginCode:p,funcCode:j,funcName:w,step:O.data.step+1},type:"ABORT"}),this.event.emit("message:action",{messageId:d.messageId,action:A})}}}d=Object.assign(Object.assign({},d),T),this.event.emit("message:content",d),this.event.emit("message:updated",d)}else this.pushMessage(T),this.event.emit("message:content",T);return this}postMessageComment(v){return __awaiter(this,void 0,void 0,function*(){if(!this._applicationId||!this._id)throw Error("session is not avalible. id is undefined");return this.cvforceApi.postComments(this._applicationId,this._id,v).then(d=>{const T=this.messages.find(A=>A.messageId===v.messageId);return T&&(T.comment=v,this.event.emit("message:comment",T)),d})})}clear(){if(!this._id)throw Error("session is not avalible. id is undefined");return this.cvforceApi.patchApplicationIdSessionsIdContext(this._applicationId,this._id).then(()=>(this.event.emit("context:clear"),!0))}destroy(){var v;return this._ready=!1,this.event.removeAllListeners(),(v=this.socket)===null||v===void 0||v.disconnect(),this.socket=null,this.event.emit("destroy",{applicationId:this._applicationId,sessionId:this._id}),this._id||""}}const logger$2=new Logger$1("[AgentSession] ");class AgentSession extends Session{constructor(v,d="",T,A,O,q){super(v,d,T,A,O,q)}prepareConnection(){return new Promise(v=>__awaiter(this,void 0,void 0,function*(){this.socket&&v(!0);const d={version:"1.0",stream:"false",appId:this._applicationId,sessionId:this.id,Authorization:`${this.token}`,userMode:exports.configuration.debug?UserMode.Debug:UserMode.Normal},T=new URL(exports.configuration.apiRoot),A=yield lookup(T.origin,{path:T.pathname.replace("api","socketio")+"/copilot",query:d,transports:["websocket"]});A.on("connect",()=>{logger$2.log("socket:connect"),this.event.emit("socket:connect"),A.emit("init")}),A.on("disconnect",()=>{logger$2.log("socket:disconnect"),this.event.emit("socket:disconnect")}),A.on("ready",O=>{if(O.code===200){logger$2.log("ready");const q=exports.configuration.debug?UserMode.Debug:UserMode.Normal;q===UserMode.Debug&&O.userMode,this._ready||(this._ready=!0,this.event.emit("ready")),this.frozen=!1,v(!0)}else{this._ready&&(this._ready=!1);const q=new Error(SessionErrors.SocketConnectionFailed);logger$2.error("error",q),this.event.emit("error",q),v(!1)}}),A.on("action",(O,q)=>__awaiter(this,void 0,void 0,function*(){if(this._stopAnswer||!this.id)return;const{type:p,data:{runnerIsClient:j,pluginCode:w,funcCode:S,parameters:_,requestBody:N}}=O,I=this.messages[this.messages.length-1];if(!I.messageId)I.actions||(I.actions=[]),I.actions[O.data.step-1]||(I.actions[O.data.step-1]=[]),I.actions[O.data.step-1].push(O),this.event.emit("message:action",{messageId:I.messageId,action:O}),this.event.emit("message:updated",I);else{const b={messageId:"",content:"",role:n.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!0,messageTime:"",actions:[[O]],comment:{isAgree:0}};this.pushMessage(b),this.event.emit("message:action",{messageId:b.messageId,action:O})}if(this.inactivating){const b=new Error(SessionErrors.Inactive);logger$2.warn("error",b),this.event.emit("error",b)}else if(p==="FUNCTION_CALL"&&j){if(logger$2.log(`calling function ${S} of plugin ${w} with argument:
|
|
143
|
+
${JSON.stringify(_)}`),!exports.configuration.plugins[w]){q({code:404,message:"对不起,没有找到插件。"});return}const b=exports.configuration.plugins[w][S];typeof b!="function"&&q({code:404,message:"对不起,没有找到插件方法。"});let B=_==null?void 0:_.query;try{B=JSON.parse(_==null?void 0:_.query)}catch{}b(B,(...D)=>{this._stopAnswer||q(...D)})}})),A.on("answer",O=>{if(!this._stopAnswer)if(O.data.code!==200&&(O.data.index=-1,this.event.emit("error",O.data)),O.data.index===-1){let q=this.messages[this.messages.length-1];if(q&&!q.messageId)q=Object.assign(Object.assign({},q),O.data),this.event.emit("message:content",q),this.event.emit("message:updated",q),this.event.emit("answer:finish",q);else{const p=Object.assign({messageId:"",content:"",role:n.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!1,messageTime:"",actions:[],comment:{isAgree:0}},O.data);this.event.emit("message:content",p),this.pushMessage(p),this.event.emit("answer:finish",p)}}else{let q=this.messages[this.messages.length-1];q&&!q.messageId?(q=Object.assign(Object.assign({},q),O.data),this.messages[this.messages.length-1]=q,this.event.emit("message:content",q),this.event.emit("message:updated",q)):(this.pushMessage(O.data),this.event.emit("message:content",O.data))}}),A.on("reference",O=>__awaiter(this,void 0,void 0,function*(){if(this._stopAnswer)return;if(!this.id){const _=new Error(SessionErrors.IdUndefined);logger$2.error(_),this.event.emit("error",_),this.frozen=!1;return}const{type:q,data:p,requestId:j}=O,w=this.messages.findIndex(_=>_.messageId===j&&_.role===n.User);if(w<0)return;const S=w+1;if(S>=this.messages.length){const _={messageId:"",content:"",role:n.Robot,sessionId:this.id,reference:[],searchReference:[],isLoading:!0,messageTime:"",actions:[],comment:{isAgree:0}};this.pushMessage(_)}q==="KG"?(this.messages[S]=Object.assign(Object.assign({},this.messages[S]),{reference:p.knowledgeReference}),yield this.fillMessageReference(this.messages[S]),this.event.emit("message:reference",p.knowledgeReference),this.event.emit("message:updated",this.messages[S])):q==="WEB_SEARCH"&&(this.messages[S]=Object.assign(Object.assign({},this.messages[S]),{searchReference:p.knowledgeReference}),this.event.emit("message:searchreference",p.searchReference),this.event.emit("message:updated",this.messages[S]))})),this.socket=A,A.open()}))}sendQuestion(v,d){return __awaiter(this,void 0,void 0,function*(){var T,A;if(!this.active){if(yield this.activate(),!this.socket){const O=new Error(SessionErrors.SocketConnectionFailed);return logger$2.warn("error",O),this.event.emit("error",O),!1}(T=this.socket)===null||T===void 0||T.emit("question",v);return}(A=this.socket)===null||A===void 0||A.emit("question",v)})}stopAnswer(){var v;(v=this.socket)===null||v===void 0||v.emit("stop_answer")}}function getBytes(F,v){return __awaiter(this,void 0,void 0,function*(){const d=F.getReader();let T;for(;!(T=yield d.read()).done;)v(T.value)})}var ControlChars;(function(F){F[F.NewLine=10]="NewLine",F[F.CarriageReturn=13]="CarriageReturn",F[F.Space=32]="Space",F[F.Colon=58]="Colon"})(ControlChars||(ControlChars={}));function getLines(F){let v,d,T,A=!1,O;return function(p){v===void 0?(v=p,d=0,T=-1,O=!1):v=concat(v,p);const j=v.length;let w=0;for(;d<j;){A&&(v[d]===ControlChars.NewLine&&(w=++d),A=!1);let S=-1;for(;d<j&&S===-1;++d)switch(v[d]){case ControlChars.Colon:T===-1&&(T=d-w);break;case ControlChars.CarriageReturn:A=!1,d+4<j&&v[d+1]===ControlChars.NewLine&&v[d+2]!==ControlChars.CarriageReturn&&v[d-1]!==ControlChars.NewLine&&v[d-2]!==ControlChars.CarriageReturn&&(O=!0);case ControlChars.NewLine:S=d;break}if(S===-1)break;F(v.subarray(w,S),T,O),w=d,T=-1,O=!1}w===j?v=void 0:w!==0&&(v=v.subarray(w),d-=w)}}function getMessages(F,v,d){let T=newMessage();const A=new TextDecoder;return function(q,p,j){if(q.length===0)d==null||d(T),T=newMessage();else if(p>0){const w=A.decode(q.subarray(0,p)),S=p+(q[p+1]===ControlChars.Space?2:1);let _=A.decode(q.subarray(S));switch(j&&(_+=`
|
|
144
|
+
`),w){case"data":T.data=T.data?T.data+`
|
|
145
|
+
`+_:_;break;case"event":T.event=_;break;case"id":F(T.id=_);break;case"retry":const N=parseInt(_,10);isNaN(N)||v(T.retry=N);break}}}}function concat(F,v){const d=new Uint8Array(F.length+v.length);return d.set(F),d.set(v,F.length),d}function newMessage(){return{data:"",event:"",id:"",retry:void 0}}const EventStreamContentType="text/event-stream",DefaultRetryInterval=1e3,LastEventId="last-event-id";function fetchEventSource(F,v){var{signal:d,headers:T,onopen:A,onmessage:O,onclose:q,onerror:p,openWhenHidden:j,fetch:w}=v,S=__rest(v,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((_,N)=>{const I=Object.assign({},T);I.accept||(I.accept=EventStreamContentType);let b;function B(){b.abort(),document.hidden||G()}j||document.addEventListener("visibilitychange",B);let D=DefaultRetryInterval,U=0;function $(){document.removeEventListener("visibilitychange",B),window.clearTimeout(U),b.abort()}d==null||d.addEventListener("abort",()=>{$(),_()});const P=w??window.fetch,W=A??defaultOnOpen;function G(){return __awaiter(this,void 0,void 0,function*(){var Q;b=new AbortController;try{const te=yield P(F,Object.assign(Object.assign({},S),{headers:I,signal:b.signal}));yield W(te),yield getBytes(te.body,getLines(getMessages(se=>{se?I[LastEventId]=se:delete I[LastEventId]},se=>{D=se},O))),q==null||q(),$(),_()}catch(te){if(!b.signal.aborted)try{const se=(Q=p==null?void 0:p(te))!==null&&Q!==void 0?Q:D;window.clearTimeout(U),U=window.setTimeout(G,se)}catch(se){$(),N(se)}}})}G()})}function defaultOnOpen(F){const v=F.headers.get("content-type");if(!(v!=null&&v.startsWith(EventStreamContentType)))throw new Error(`Expected content-type to be ${EventStreamContentType}, Actual: ${v}`)}const logger$1=new Logger$1("[DialogSession] ");class DialogSession extends Session{constructor(v,d="",T,A,O,q){super(v,d,T,A,O,q),Object.defineProperty(this,"ctrl",{enumerable:!0,configurable:!0,writable:!0,value:new AbortController})}prepareConnection(){return new Promise(v=>__awaiter(this,void 0,void 0,function*(){this._ready=!0,this.event.emit("ready"),this.frozen=!1,v(!0)}))}postChatV2EventSource(v,d,T,A,O,q){return __awaiter(this,void 0,void 0,function*(){const p={code:0,content:"",role:n$1.Robot,sessionId:d,reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1},j=Object.assign(Object.assign({},T),{stream:!0});fetchEventSource(`${exports.configuration.apiRoot}/chat/v2/chat?applicationId=${v}&sessionId=${d}`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:JSON.stringify(j),openWhenHidden:!0,signal:A,onopen(w){return w.ok&&O!=null&&O.onopen&&O.onopen(),Promise.resolve()},onmessage(w){if(!w.data.includes('{"code": ')){let _={};try{_=JSON.parse(w.data)}catch{}(_==null?void 0:_.mtype)==="search"?p.searchReference.push(_):p.content=p.content+w.data;const N={content:p.content,role:1,reference:p.reference,searchReference:p.searchReference,messageId:p.messageId,sessionId:d,messageTime:dayjs(new Date).format("YYYY-MM-DD HH:mm:ss"),comment:{isAgree:0},isReplying:!0};return(O==null?void 0:O.onmessage)&&O.onmessage(N)}const S=JSON.parse(w.data);if(p.reference=S.data.reference,p.searchReference=S.data.searchReference,p.messageTime=S.data.messageTime,p.messageId=S.data.messageId,p.llmModel=S.data.llmModel,p.content=S.data.content,p.code=S.code,S.code===200){const _={code:p.code,content:p.content,role:1,reference:p.reference,searchReference:p.searchReference,messageId:p.messageId,sessionId:d,messageTime:p.messageTime,isReplying:!0};O!=null&&O.onmessage&&O.onmessage(_)}else return O!=null&&O.onclose&&O.onclose(p),q&&q({code:p.code,message:p.message})},onerror(){O!=null&&O.onerror&&O.onerror()},onclose(){const w={code:p.code,content:p.content,role:1,reference:p.reference,searchReference:p.searchReference,messageId:p.messageId,sessionId:d,messageTime:p.messageTime,comment:{isAgree:0},isReplying:!1,index:-1};O!=null&&O.onclose&&O.onclose(w)}})})}postChatV3EventSource(v,d,T,A,O,q){return __awaiter(this,void 0,void 0,function*(){const p={code:0,content:"",role:n$1.Robot,sessionId:d,reference:[],searchReference:[],messageTime:"",llmModel:"",comment:{isAgree:0},isReplying:!1,reasoningContent:"",thinkingSecs:"",thinkingStatus:""},j=Object.assign(Object.assign({},T),{stream:!0});fetchEventSource(`${exports.configuration.apiRoot}/chat/v3/chat?applicationId=${v}&sessionId=${d}`,{method:"POST",headers:{Authorization:`Bearer ${this.token}`,"Content-Type":"application/json"},body:JSON.stringify(j),openWhenHidden:!0,signal:A,onopen(w){return w.ok&&O!=null&&O.onopen&&O.onopen(),Promise.resolve()},onmessage(w){if(!w.data&&!w.event&&!w.id&&!w.retry)return;let S={};try{S=JSON.parse(w.data)}catch{console.error("parse eventData to JSON failed. ",w.data)}if(S.code!==200)return p.index=-1,p.code=S.code,p.message=S.message,O!=null&&O.onmessage&&O.onmessage(p),q&&q({code:S.code,message:S.message});const _=S.data.type,N=S.data.payload;if(p.isReplying=!0,_==="search"&&p.searchReference.push(N),_==="thinking"){p.thinkingStatus="start";const b=N.choices[0];p.reasoningContent=p.reasoningContent+b.delta.reasoningContent}if(_==="thinkingOver"){p.thinkingStatus="end";const I=N.thinkingSecs;p.thinkingSecs=I}if(_==="text"){const b=N.choices[0];p.content=p.content+b.delta.content}if(_==="reference"&&(p.reference=N),_==="result"){const I=N.messageId,b=N.llmModel,B=N.messageTime;p.messageId=I,p.llmModel=b,p.messageTime=B,p.sessionId=d}_==="over"?p.index=-1:(p.code=S.code,p.message=S.message),O!=null&&O.onmessage&&O.onmessage(p)},onerror(){O!=null&&O.onerror&&O.onerror()},onclose(){const w=Object.assign(Object.assign({},p),{isReplying:!1});O!=null&&O.onclose&&O.onclose(w)}})})}sendQuestion(v,d){return __awaiter(this,void 0,void 0,function*(){var T;const{content:A,fileIds:O,oldMessageId:q}=v,{stream:p,referenceFirst:j}=d;if(this.active||(yield this.activate()),this._id){let w={content:A,fileIds:O,referenceFirst:j,oldMessageId:q,promptVariables:this.promptVariables.reduce((S,_)=>Object.assign(Object.assign({},S),{[_.key]:_.value}),{}),knowledges:(T=this.knowledges)===null||T===void 0?void 0:T.map(S=>S.id)};this.ctrl=new AbortController,this.postChatV3EventSource(this._applicationId,this._id,w,this.ctrl.signal,{onopen:()=>{logger$1.log("open",this.ctrl)},onmessage:S=>{if(this._stopAnswer)return;let _=this.messages[this.messages.length-1];_&&_.role===n.Robot?(_=Object.assign(Object.assign({},_),S),this.messages[this.messages.length-1]=_,this.event.emit("message:content",_),this.event.emit("message:updated",_)):(this.pushMessage(S),this.event.emit("message:content",S))},onclose:S=>__awaiter(this,void 0,void 0,function*(){this._stopAnswer||(logger$1.log(S,"onclose"),this.event.emit("answer:finish",S))}),onerror:()=>{this._stopAnswer||(this.event.emit("message:error",""),this.frozen=!1)}})}})}stopAnswer(){this.ctrl.abort()}}const logger=new Logger$1("[BotClient] ");class BotClient{constructor(v,d,T=!0){if(Object.defineProperty(this,"_token",{enumerable:!0,configurable:!0,writable:!0,value:v}),Object.defineProperty(this,"lazyload",{enumerable:!0,configurable:!0,writable:!0,value:T}),Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:new EventBus}),Object.defineProperty(this,"cvforceApi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_applicationId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_application",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_sessions",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_activeSession",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_ready",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_questionContextMaxLength",{enumerable:!0,configurable:!0,writable:!0,value:4e3}),Object.defineProperty(this,"_promptVariables",{enumerable:!0,configurable:!0,writable:!0,value:[]}),configure(d),this._applicationId=parseJWT(v).rid||exports.configuration.applicationId,!this._applicationId)throw"token is not vaild";this.cvforceApi=this.getService(),this.loadApplication().then(()=>{this.event.emit("ready")})}checkReady(){if(!this.ready)throw Error("client is not ready.")}get ready(){return this._ready}set ready(v){this._ready=v}get questionContextMaxLength(){return this.checkReady(),this._questionContextMaxLength}get promptVariables(){return this.checkReady(),this._promptVariables}get knowledges(){var v;return this.checkReady(),(v=this._application)===null||v===void 0?void 0:v.arrange[0].knowledges}get sessions(){return this.checkReady(),this._sessions}set sessions(v){this.checkReady(),this._sessions=v,this.event.emit("sessions:updated",v)}loadApplication(){return __awaiter(this,void 0,void 0,function*(){var v,d;this._application=yield this.cvforceApi.getApplicationId(this._applicationId);const T=(d=(v=this._application.arrange)===null||v===void 0?void 0:v[0])===null||d===void 0?void 0:d.llmModel;return T&&(this._questionContextMaxLength=yield this.cvforceApi.getBaseModel(T).then(A=>A.maxModelLength)),this._promptVariables=yield this.cvforceApi.getPrompts(this._applicationId),this._ready=!0,this.event.emit("application:loaded"),this._application})}getService(){return this.cvforceApi?this.cvforceApi:getCVForceService(exports.configuration.apiRoot,this.token,(v,d)=>logger.error(d))}get token(){return this._token}set token(v){this.checkReady(),this._token=v,this.ready=!1;const d=parseJWT(v).rid;this._applicationId!==d&&(this._applicationId=d,this._application=null,this.loadApplication().then(()=>{this.event.emit("ready")}),this.clean())}get applicationId(){return this._applicationId}get application(){return this.checkReady(),this._application}get activeSession(){var v;return this.checkReady(),((v=this._activeSession)===null||v===void 0?void 0:v.id)||""}set activeSession(v){this.checkReady(),this.loadSession(v).then(d=>{this._activeSession&&this._activeSession.id!==v&&this._activeSession.inactivate(),this._activeSession=d})}createSession(v,d,T,A,O){return __awaiter(this,void 0,void 0,function*(){const q=this;return new Promise((p,j)=>{const w=S=>__awaiter(this,void 0,void 0,function*(){if(S===k.Agent)p(new AgentSession(v,d,T,A,O,q));else if(S===k.Dialog)p(new DialogSession(v,d,T,A,O,q));else throw Error(`不支持的应用类型:${S}`)});if(this.ready){if(!this._application)throw Error("client is not ready");w(this._application.type)}else this.event.on("ready",()=>{if(!this._application)throw Error("_application is null");w(this._application.type)},!0)})})}getSessions(v){return __awaiter(this,void 0,void 0,function*(){return new Promise((d,T)=>{const A=()=>this.cvforceApi.listSessions(this._applicationId,v).then(O=>{const q=[];return O.forEach(p=>__awaiter(this,void 0,void 0,function*(){const j=this._sessions.find(w=>p.id===w.id);if(j)j.data=p,q.push(j);else{const w=yield this.createSession(this.token,p.id,p,this.lazyload,this._application||void 0);q.push(w)}})),this.sessions=q,q});if(this.ready){if(!this._application)throw Error("_application is null");d(A())}else this.event.on("ready",()=>{if(!this._application)throw Error("_application is null");d(A())},!0)})})}loadSession(){return __awaiter(this,arguments,void 0,function*(v="",d){this.checkReady();let T=this.sessions.find(A=>A.id===v);if(T||(T=yield this.createSession(this.token,v,d),this._sessions.push(T)),this._activeSession){if(this._activeSession===T)return T;this._activeSession.inactivate()}return T.id?(yield T.activate(),this._activeSession=T):T.addEventListener("data:loaded",()=>{this._activeSession!==T&&(T==null||T.activate(),this._activeSession=T)},!0),T})}reload(){return this.loadApplication().then(()=>__awaiter(this,void 0,void 0,function*(){return yield this.getSessions(),this.event.emit("ready"),this}))}reloadSession(v){return __awaiter(this,void 0,void 0,function*(){yield this.reload();let d=this._sessions.find(T=>T.id===v)||this._activeSession;if(!d){console.warn("reloadSession session failed.");return}return yield d.reload(),d})}setTop(v,d){return __awaiter(this,arguments,void 0,function*(T,A,O="top_time desc, sort_status desc, updated_at desc"){let q=T?this._sessions.find(p=>p.id===T):this._activeSession;if(!q){console.warn("setTop session failed.");return}return yield q.setTop(A),this.getSessions({order:O})})}addEventListener(v,d,T=!1){if(typeof d!="function")throw Error("event listener is not a function");if(T){this.event.once(v,d);return}this.event.on(v,d)}removeEventListener(v,d){this.event.off(v,d)}removeSession(v,d){return __awaiter(this,void 0,void 0,function*(){this.checkReady();let T=-1;if(typeof v=="string"?T=this._sessions.findIndex(A=>A.id===v):T=this._sessions.findIndex(A=>A.id===v.id),T>-1){const A=this._sessions[T];d&&(yield A.delete()),this._sessions.splice(T,1)}else console.warn("session delete failed, session is not exist.")})}clean(){this._sessions.forEach(v=>v.destroy()),this.sessions=[]}}class AgentPlugin{constructor(v,d={},T){Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"description",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"loaded",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"functions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this.code=v,d&&(this.functions=d)}fetchData(){this.description="描述",this.loaded=!0}checkFunctions(){}}exports.AgentPlugin=AgentPlugin,exports.BotClient=BotClient,exports.Session=Session,exports.configure=configure,Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})});
|