!function(e){this.webpackChunk=function(t,r){for(var i in r)e[i]=r[i];for(;t.length;)n[t.pop()]=1};var t={},n={main:1};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.e=function(e){var t=[];return t.push(Promise.resolve().then((function(){n[e]||importScripts(r.p+""+e+".babel-transpiler.ef09383f.worker.js")}))),Promise.all(t)},r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s="../../node_modules/thread-loader/dist/cjs.js?!../../node_modules/babel-loader/lib/index.js?!./src/sandbox/eval/transpilers/babel/worker/index.ts")}({"../../node_modules/@babel/code-frame/lib/index.js":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=l,t.default=function(t,n,r,i={}){if(!a){a=!0;const t="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(e.emitWarning)e.emitWarning(t,"DeprecationWarning");else{new Error(t).name="DeprecationWarning",console.warn(new Error(t))}}r=Math.max(r,0);return l(t,{start:{column:r,line:n}},i)};var r=n("../../node_modules/@babel/highlight/lib/index.js"),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var a=i?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}r.default=e,n&&n.set(e,r);return r}(n("../../node_modules/@babel/code-frame/node_modules/chalk/index.js"),!0);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}let s=void 0;let a=!1;const u=/\r\n|[\n\r\u2028\u2029]/;function l(e,t,n={}){const o=(n.highlightCode||n.forceColor)&&(0,r.shouldHighlight)(n),a=n.forceColor?(null!=s||(s=new i.default.constructor({enabled:!0,level:1})),s):i.default;const l=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),c=(e,t)=>o?e(t):t,f=e.split(u),{start:d,end:h,markerLines:p}=function(e,t,n){const r=Object.assign({column:0,line:-1},e.start),i=Object.assign({},r,e.end),{linesAbove:o=2,linesBelow:s=3}=n||{},a=r.line,u=r.column,l=i.line,c=i.column;let f=Math.max(a-(o+1),0),d=Math.min(t.length,l+s);-1===a&&(f=0),-1===l&&(d=t.length);const h=l-a,p={};if(h)for(let e=0;e<=h;e++){const n=e+a;if(u)if(0===e){const e=t[n-1].length;p[n]=[u,e-u+1]}else if(e===h)p[n]=[0,c];else{const r=t[n-e].length;p[n]=[0,r]}else p[n]=!0}else p[a]=u===c?!u||[u,0]:[u,c-u];return{start:f,end:d,markerLines:p}}(t,f,n),m=t.start&&"number"==typeof t.start.column,b=String(h).length;let y=(o?(0,r.default)(e,n):e).split(u,h).slice(d,h).map((e,t)=>{const r=d+1+t,i=` ${(" "+r).slice(-b)} |`,o=p[r],s=!p[r+1];if(o){let t="";if(Array.isArray(o)){const r=e.slice(0,Math.max(o[0]-1,0)).replace(/[^\t]/g," "),a=o[1]||1;t=["\n ",c(l.gutter,i.replace(/\d/g," "))," ",r,c(l.marker,"^").repeat(a)].join(""),s&&n.message&&(t+=" "+c(l.message,n.message))}return[c(l.marker,">"),c(l.gutter,i),e.length>0?" "+e:"",t].join("")}return` ${c(l.gutter,i)}${e.length>0?" "+e:""}`}).join("\n");return n.message&&!m&&(y=`${" ".repeat(b+1)}${n.message}\n${y}`),o?a.reset(y):y}}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/@babel/code-frame/node_modules/ansi-styles/index.js":function(e,t,n){(function(e){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";const t=n("../../node_modules/color-convert/index.js"),r=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(r+n,"m")},i=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";5;").concat(r,"m")},o=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,n={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};n.color.grey=n.color.gray;for(const t of Object.keys(n)){const r=n[t];for(const t of Object.keys(r)){const i=r[t];n[t]={open:"\x1b[".concat(i[0],"m"),close:"\x1b[".concat(i[1],"m")},r[t]=n[t],e.set(i[0],i[1])}Object.defineProperty(n,t,{value:r,enumerable:!1}),Object.defineProperty(n,"codes",{value:e,enumerable:!1})}const s=e=>e,a=(e,t,n)=>[e,t,n];n.color.close="\x1b[39m",n.bgColor.close="\x1b[49m",n.color.ansi={ansi:r(s,0)},n.color.ansi256={ansi256:i(s,0)},n.color.ansi16m={rgb:o(a,0)},n.bgColor.ansi={ansi:r(s,10)},n.bgColor.ansi256={ansi256:i(s,10)},n.bgColor.ansi16m={rgb:o(a,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const s=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in s&&(n.color.ansi[e]=r(s.ansi16,0),n.bgColor.ansi[e]=r(s.ansi16,10)),"ansi256"in s&&(n.color.ansi256[e]=i(s.ansi256,0),n.bgColor.ansi256[e]=i(s.ansi256,10)),"rgb"in s&&(n.color.ansi16m[e]=o(s.rgb,0),n.bgColor.ansi16m[e]=o(s.rgb,10))}return n}})})?r.apply(t,i):r)||(e.exports=o)}).call(this,n("../../node_modules/webpack/buildin/module.js")(e))},"../../node_modules/@babel/code-frame/node_modules/chalk/index.js":function(e,t,n){(function(r){var i,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(s="function"==typeof(i=function(){"use strict";const t=n("../../node_modules/escape-string-regexp/index.js"),i=n("../../node_modules/@babel/code-frame/node_modules/ansi-styles/index.js"),o=n("../../node_modules/supports-color/browser.js").stdout,s=n("../../node_modules/@babel/code-frame/node_modules/chalk/templates.js"),a="win32"===r.platform&&!(r.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],l=new Set(["gray"]),c=Object.create(null);function f(e,t){t=t||{};const n=o?o.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function d(e){if(!this||!(this instanceof d)||this.template){const t={};return f(t,e),t.template=function(){const e=[].slice.call(arguments);return b.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,d.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=d,t.template}f(this,e)}a&&(i.blue.open="\x1b[94m");for(const e of Object.keys(i))i[e].closeRe=new RegExp(t(i[e].close),"g"),c[e]={get(){const t=i[e];return p.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};c.visible={get(){return p.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(t(i.color.close),"g");for(const e of Object.keys(i.color.ansi))l.has(e)||(c[e]={get(){const t=this.level;return function(){const n=i.color[u[t]][e].apply(null,arguments),r={open:n,close:i.color.close,closeRe:i.color.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});i.bgColor.closeRe=new RegExp(t(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi))l.has(e)||(c["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=i.bgColor[u[t]][e].apply(null,arguments),r={open:n,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});const h=Object.defineProperties(()=>{},c);function p(e,t,n){const r=function(){return m.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=h,r}function m(){const e=arguments,t=e.length;let n=String(arguments[0]);if(0===t)return"";if(t>1)for(let r=1;rt?s(t):n))}else n.push(Number(t));return n}function u(e){n.lastIndex=0;const t=[];let r;for(;null!==(r=n.exec(e));){const e=r[1];if(r[2]){const n=a(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function l(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}e.exports=(e,n)=>{const r=[],i=[];let o=[];if(n.replace(t,(t,n,a,c,f,d)=>{if(n)o.push(s(n));else if(c){const t=o.join("");o=[],i.push(0===r.length?t:l(e,r)(t)),r.push({inverse:a,styles:u(c)})}else if(f){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");i.push(l(e,r)(o.join(""))),o=[],r.pop()}else o.push(d)}),i.push(o.join("")),r.length>0){const e="Chalk template literal is missing ".concat(r.length," closing bracket").concat(1===r.length?"":"s"," (`}`)");throw new Error(e)}return i.join("")}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/@babel/helper-validator-identifier/lib/identifier.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=f,t.isIdentifierName=function(e){let t=!0;for(let n=0;ne)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function c(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&o.test(String.fromCharCode(e)):l(e,a)))}function f(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):l(e,a)||l(e,u))))}},"../../node_modules/@babel/helper-validator-identifier/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return r.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return r.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return r.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var r=n("../../node_modules/@babel/helper-validator-identifier/lib/identifier.js"),i=n("../../node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"../../node_modules/@babel/helper-validator-identifier/lib/keyword.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=function(e){return o.has(e)},t.isReservedWord=u,t.isStrictBindOnlyReservedWord=c,t.isStrictBindReservedWord=function(e,t){return l(e,t)||c(e)},t.isStrictReservedWord=l;const r=["implements","interface","let","package","private","protected","public","static","yield"],i=["eval","arguments"],o=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),s=new Set(r),a=new Set(i);function u(e,t){return t&&"await"===e||"enum"===e}function l(e,t){return u(e,t)||s.has(e)}function c(e){return a.has(e)}},"../../node_modules/@babel/highlight/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){if(""!==e&&f(t)){return function(e,t){let n="";for(const{type:r,value:i}of c(t)){const t=e[r];n+=t?i.split(u).map(e=>t(e)).join("\n"):i}return n}({keyword:(n=h(t.forceColor)).cyan,capitalized:n.yellow,jsxIdentifier:n.yellow,punctuator:n.yellow,number:n.magenta,string:n.green,regex:n.magenta,comment:n.grey,invalid:n.white.bgRed.bold},e)}return e;var n},t.shouldHighlight=f;var r=n("../../node_modules/@babel/highlight/node_modules/js-tokens/index.js"),i=n("../../node_modules/@babel/helper-validator-identifier/lib/index.js"),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n("../../node_modules/@babel/highlight/node_modules/chalk/index.js"),!0);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}const a=new Set(["as","async","from","get","of","set"]);const u=/\r\n|[\n\r\u2028\u2029]/,l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i,t=function(t,n,r){if("name"===t.type){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,!0)||a.has(t.value))return"keyword";if(e.test(t.value)&&("<"===r[n-1]||"0||e.forceColor}let d=void 0;function h(e){return e?(null!=d||(d=new o.default.constructor({enabled:!0,level:1})),d):o.default}t.getChalk=e=>h(e.forceColor)},"../../node_modules/@babel/highlight/node_modules/ansi-styles/index.js":function(e,t,n){(function(e){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";const t=n("../../node_modules/color-convert/index.js"),r=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(r+n,"m")},i=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";5;").concat(r,"m")},o=(e,n)=>function(){const r=e.apply(t,arguments);return"\x1b[".concat(38+n,";2;").concat(r[0],";").concat(r[1],";").concat(r[2],"m")};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){const e=new Map,n={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};n.color.grey=n.color.gray;for(const t of Object.keys(n)){const r=n[t];for(const t of Object.keys(r)){const i=r[t];n[t]={open:"\x1b[".concat(i[0],"m"),close:"\x1b[".concat(i[1],"m")},r[t]=n[t],e.set(i[0],i[1])}Object.defineProperty(n,t,{value:r,enumerable:!1}),Object.defineProperty(n,"codes",{value:e,enumerable:!1})}const s=e=>e,a=(e,t,n)=>[e,t,n];n.color.close="\x1b[39m",n.bgColor.close="\x1b[49m",n.color.ansi={ansi:r(s,0)},n.color.ansi256={ansi256:i(s,0)},n.color.ansi16m={rgb:o(a,0)},n.bgColor.ansi={ansi:r(s,10)},n.bgColor.ansi256={ansi256:i(s,10)},n.bgColor.ansi16m={rgb:o(a,10)};for(let e of Object.keys(t)){if("object"!=typeof t[e])continue;const s=t[e];"ansi16"===e&&(e="ansi"),"ansi16"in s&&(n.color.ansi[e]=r(s.ansi16,0),n.bgColor.ansi[e]=r(s.ansi16,10)),"ansi256"in s&&(n.color.ansi256[e]=i(s.ansi256,0),n.bgColor.ansi256[e]=i(s.ansi256,10)),"rgb"in s&&(n.color.ansi16m[e]=o(s.rgb,0),n.bgColor.ansi16m[e]=o(s.rgb,10))}return n}})})?r.apply(t,i):r)||(e.exports=o)}).call(this,n("../../node_modules/webpack/buildin/module.js")(e))},"../../node_modules/@babel/highlight/node_modules/chalk/index.js":function(e,t,n){(function(r){var i,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(s="function"==typeof(i=function(){"use strict";const t=n("../../node_modules/escape-string-regexp/index.js"),i=n("../../node_modules/@babel/highlight/node_modules/ansi-styles/index.js"),o=n("../../node_modules/supports-color/browser.js").stdout,s=n("../../node_modules/@babel/highlight/node_modules/chalk/templates.js"),a="win32"===r.platform&&!(r.env.TERM||"").toLowerCase().startsWith("xterm"),u=["ansi","ansi","ansi256","ansi16m"],l=new Set(["gray"]),c=Object.create(null);function f(e,t){t=t||{};const n=o?o.level:0;e.level=void 0===t.level?n:t.level,e.enabled="enabled"in t?t.enabled:e.level>0}function d(e){if(!this||!(this instanceof d)||this.template){const t={};return f(t,e),t.template=function(){const e=[].slice.call(arguments);return b.apply(null,[t.template].concat(e))},Object.setPrototypeOf(t,d.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=d,t.template}f(this,e)}a&&(i.blue.open="\x1b[94m");for(const e of Object.keys(i))i[e].closeRe=new RegExp(t(i[e].close),"g"),c[e]={get(){const t=i[e];return p.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};c.visible={get(){return p.call(this,this._styles||[],!0,"visible")}},i.color.closeRe=new RegExp(t(i.color.close),"g");for(const e of Object.keys(i.color.ansi))l.has(e)||(c[e]={get(){const t=this.level;return function(){const n=i.color[u[t]][e].apply(null,arguments),r={open:n,close:i.color.close,closeRe:i.color.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});i.bgColor.closeRe=new RegExp(t(i.bgColor.close),"g");for(const e of Object.keys(i.bgColor.ansi))l.has(e)||(c["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const t=this.level;return function(){const n=i.bgColor[u[t]][e].apply(null,arguments),r={open:n,close:i.bgColor.close,closeRe:i.bgColor.closeRe};return p.call(this,this._styles?this._styles.concat(r):[r],this._empty,e)}}});const h=Object.defineProperties(()=>{},c);function p(e,t,n){const r=function(){return m.apply(r,arguments)};r._styles=e,r._empty=t;const i=this;return Object.defineProperty(r,"level",{enumerable:!0,get:()=>i.level,set(e){i.level=e}}),Object.defineProperty(r,"enabled",{enumerable:!0,get:()=>i.enabled,set(e){i.enabled=e}}),r.hasGrey=this.hasGrey||"gray"===n||"grey"===n,r.__proto__=h,r}function m(){const e=arguments,t=e.length;let n=String(arguments[0]);if(0===t)return"";if(t>1)for(let r=1;rt?s(t):n))}else n.push(Number(t));return n}function u(e){n.lastIndex=0;const t=[];let r;for(;null!==(r=n.exec(e));){const e=r[1];if(r[2]){const n=a(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function l(e,t){const n={};for(const e of t)for(const t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(const e of Object.keys(n))if(Array.isArray(n[e])){if(!(e in r))throw new Error("Unknown Chalk style: ".concat(e));r=n[e].length>0?r[e].apply(r,n[e]):r[e]}return r}e.exports=(e,n)=>{const r=[],i=[];let o=[];if(n.replace(t,(t,n,a,c,f,d)=>{if(n)o.push(s(n));else if(c){const t=o.join("");o=[],i.push(0===r.length?t:l(e,r)(t)),r.push({inverse:a,styles:u(c)})}else if(f){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");i.push(l(e,r)(o.join(""))),o=[],r.pop()}else o.push(d)}),i.push(o.join("")),r.length>0){const e="Chalk template literal is missing ".concat(r.length," closing bracket").concat(1===r.length?"":"s"," (`}`)");throw new Error(e)}return i.join("")}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/@babel/highlight/node_modules/js-tokens/index.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},"../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js":function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/slicedToArray.js":function(e,t,n){var r=n("../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"),i=n("../../node_modules/@babel/runtime/helpers/iterableToArrayLimit.js"),o=n("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),s=n("../../node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toArray.js":function(e,t,n){var r=n("../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"),i=n("../../node_modules/@babel/runtime/helpers/iterableToArray.js"),o=n("../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js"),s=n("../../node_modules/@babel/runtime/helpers/nonIterableRest.js");e.exports=function(e){return r(e)||i(e)||o(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPrimitive.js":function(e,t,n){var r=n("../../node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/toPropertyKey.js":function(e,t,n){var r=n("../../node_modules/@babel/runtime/helpers/typeof.js").default,i=n("../../node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/typeof.js":function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js":function(e,t,n){var r=n("../../node_modules/@babel/runtime/helpers/arrayLikeToArray.js");e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},"../../node_modules/asn1.js/lib/asn1.js":function(e,t,n){var r=t;r.bignum=n("../../node_modules/bn.js/lib/bn.js"),r.define=n("../../node_modules/asn1.js/lib/asn1/api.js").define,r.base=n("../../node_modules/asn1.js/lib/asn1/base/index.js"),r.constants=n("../../node_modules/asn1.js/lib/asn1/constants/index.js"),r.decoders=n("../../node_modules/asn1.js/lib/asn1/decoders/index.js"),r.encoders=n("../../node_modules/asn1.js/lib/asn1/encoders/index.js")},"../../node_modules/asn1.js/lib/asn1/api.js":function(e,t,n){var r=n("../../node_modules/asn1.js/lib/asn1.js"),i=n("../../node_modules/inherits/inherits_browser.js");function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){var t;try{t=n("../../node_modules/vm-browserify/index.js").runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},o.prototype.decode=function(e,t,n){return this._getDecoder(t).decode(e,n)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},o.prototype.encode=function(e,t,n){return this._getEncoder(t).encode(e,n)}},"../../node_modules/asn1.js/lib/asn1/base/buffer.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/asn1.js/lib/asn1/base/index.js").Reporter,o=n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js").Buffer;function s(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map((function(e){return e instanceof a||(e=new a(e,t)),this.length+=e.length,e}),this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(s,i),t.DecoderBuffer=s,s.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},s.prototype.restore=function(e){var t=new s(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},s.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var n=new s(this.base);return n._reporterState=this._reporterState,n.offset=this.offset,n.length=this.offset+e,this.offset+=e,n},s.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.EncoderBuffer=a,a.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(n){n.join(e,t),t+=n.length})):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},"../../node_modules/asn1.js/lib/asn1/base/index.js":function(e,t,n){var r=t;r.Reporter=n("../../node_modules/asn1.js/lib/asn1/base/reporter.js").Reporter,r.DecoderBuffer=n("../../node_modules/asn1.js/lib/asn1/base/buffer.js").DecoderBuffer,r.EncoderBuffer=n("../../node_modules/asn1.js/lib/asn1/base/buffer.js").EncoderBuffer,r.Node=n("../../node_modules/asn1.js/lib/asn1/base/node.js")},"../../node_modules/asn1.js/lib/asn1/base/node.js":function(e,t,n){var r=n("../../node_modules/asn1.js/lib/asn1/base/index.js").Reporter,i=n("../../node_modules/asn1.js/lib/asn1/base/index.js").EncoderBuffer,o=n("../../node_modules/asn1.js/lib/asn1/base/index.js").DecoderBuffer,s=n("../../node_modules/minimalistic-assert/index.js"),a=["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"],u=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function l(e,t){var n={};this._baseState=n,n.enc=e,n.parent=t||null,n.children=null,n.tag=null,n.args=null,n.reverseArgs=null,n.choice=null,n.optional=!1,n.any=!1,n.obj=!1,n.use=null,n.useDecoder=null,n.key=null,n.default=null,n.explicit=null,n.implicit=null,n.contains=null,n.parent||(n.children=[],this._wrap())}e.exports=l;var c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];l.prototype.clone=function(){var e=this._baseState,t={};c.forEach((function(n){t[n]=e[n]}));var n=new this.constructor(t.parent);return n._baseState=t,n},l.prototype._wrap=function(){var e=this._baseState;u.forEach((function(t){this[t]=function(){var n=new this.constructor(this);return e.children.push(n),n[t].apply(n,arguments)}}),this)},l.prototype._init=function(e){var t=this._baseState;s(null===t.parent),e.call(this),t.children=t.children.filter((function(e){return e._baseState.parent===this}),this),s.equal(t.children.length,1,"Root node can have only one child")},l.prototype._useArgs=function(e){var t=this._baseState,n=e.filter((function(e){return e instanceof this.constructor}),this);e=e.filter((function(e){return!(e instanceof this.constructor)}),this),0!==n.length&&(s(null===t.children),t.children=n,n.forEach((function(e){e._baseState.parent=this}),this)),0!==e.length&&(s(null===t.args),t.args=e,t.reverseArgs=e.map((function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach((function(n){n==(0|n)&&(n|=0);var r=e[n];t[r]=n})),t})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(e){l.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}})),a.forEach((function(e){l.prototype[e]=function(){var t=this._baseState,n=Array.prototype.slice.call(arguments);return s(null===t.tag),t.tag=e,this._useArgs(n),this}})),l.prototype.use=function(e){s(e);var t=this._baseState;return s(null===t.use),t.use=e,this},l.prototype.optional=function(){return this._baseState.optional=!0,this},l.prototype.def=function(e){var t=this._baseState;return s(null===t.default),t.default=e,t.optional=!0,this},l.prototype.explicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.explicit=e,this},l.prototype.implicit=function(e){var t=this._baseState;return s(null===t.explicit&&null===t.implicit),t.implicit=e,this},l.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},l.prototype.key=function(e){var t=this._baseState;return s(null===t.key),t.key=e,this},l.prototype.any=function(){return this._baseState.any=!0,this},l.prototype.choice=function(e){var t=this._baseState;return s(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map((function(t){return e[t]}))),this},l.prototype.contains=function(e){var t=this._baseState;return s(null===t.use),t.contains=e,this},l.prototype._decode=function(e,t){var n=this._baseState;if(null===n.parent)return e.wrapResult(n.children[0]._decode(e,t));var r,i=n.default,s=!0,a=null;if(null!==n.key&&(a=e.enterKey(n.key)),n.optional){var u=null;if(null!==n.explicit?u=n.explicit:null!==n.implicit?u=n.implicit:null!==n.tag&&(u=n.tag),null!==u||n.any){if(s=this._peekTag(e,u,n.any),e.isError(s))return s}else{var l=e.save();try{null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),s=!0}catch(e){s=!1}e.restore(l)}}if(n.obj&&s&&(r=e.enterObject()),s){if(null!==n.explicit){var c=this._decodeTag(e,n.explicit);if(e.isError(c))return c;e=c}var f=e.offset;if(null===n.use&&null===n.choice){if(n.any)l=e.save();var d=this._decodeTag(e,null!==n.implicit?n.implicit:n.tag,n.any);if(e.isError(d))return d;n.any?i=e.raw(l):e=d}if(t&&t.track&&null!==n.tag&&t.track(e.path(),f,e.length,"tagged"),t&&t.track&&null!==n.tag&&t.track(e.path(),e.offset,e.length,"content"),i=n.any?i:null===n.choice?this._decodeGeneric(n.tag,e,t):this._decodeChoice(e,t),e.isError(i))return i;if(n.any||null!==n.choice||null===n.children||n.children.forEach((function(n){n._decode(e,t)})),n.contains&&("octstr"===n.tag||"bitstr"===n.tag)){var h=new o(i);i=this._getUse(n.contains,e._reporterState.obj)._decode(h,t)}}return n.obj&&s&&(i=e.leaveObject(r)),null===n.key||null===i&&!0!==s?null!==a&&e.exitKey(a):e.leaveKey(a,n.key,i),i},l.prototype._decodeGeneric=function(e,t,n){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0],n):/str$/.test(e)?this._decodeStr(t,e,n):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1],n):"objid"===e?this._decodeObjid(t,null,null,n):"gentime"===e||"utctime"===e?this._decodeTime(t,e,n):"null_"===e?this._decodeNull(t,n):"bool"===e?this._decodeBool(t,n):"objDesc"===e?this._decodeStr(t,e,n):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0],n):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,n):t.error("unknown tag: "+e)},l.prototype._getUse=function(e,t){var n=this._baseState;return n.useDecoder=this._use(e,t),s(null===n.useDecoder._baseState.parent),n.useDecoder=n.useDecoder._baseState.children[0],n.implicit!==n.useDecoder._baseState.implicit&&(n.useDecoder=n.useDecoder.clone(),n.useDecoder._baseState.implicit=n.implicit),n.useDecoder},l.prototype._decodeChoice=function(e,t){var n=this._baseState,r=null,i=!1;return Object.keys(n.choice).some((function(o){var s=e.save(),a=n.choice[o];try{var u=a._decode(e,t);if(e.isError(u))return!1;r={type:o,value:u},i=!0}catch(t){return e.restore(s),!1}return!0}),this),i?r:e.error("Choice not matched")},l.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},l.prototype._encode=function(e,t,n){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,n);if(void 0!==i&&!this._skipDefault(i,t,n))return i}},l.prototype._encodeValue=function(e,t,n){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new r);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var s=null,a=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,n)._encode(e,t),a=!0;else if(i.children)s=i.children.map((function(n){if("null_"===n._baseState.tag)return n._encode(null,t,e);if(null===n._baseState.key)return t.error("Child should have a key");var r=t.enterKey(n._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=n._encode(e[n._baseState.key],t,e);return t.leaveKey(r),i}),this).filter((function(e){return e})),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,s=this._createEncoderBuffer(e.map((function(n){var r=this._baseState;return this._getUse(r.args[0],e)._encode(n,t)}),u))}else null!==i.use?o=this._getUse(i.use,n)._encode(e,t):(s=this._encodePrimitive(i.tag,e),a=!0);if(!i.any&&null===i.choice){var l=null!==i.implicit?i.implicit:i.tag,c=null===i.implicit?"universal":"context";null===l?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(l,a,c,s))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},l.prototype._encodeChoice=function(e,t){var n=this._baseState,r=n.choice[e.type];return r||s(!1,e.type+" not found in "+JSON.stringify(Object.keys(n.choice))),r._encode(e.value,t)},l.prototype._encodePrimitive=function(e,t){var n=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&n.args)return this._encodeObjid(t,n.reverseArgs[0],n.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,n.args&&n.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},l.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},l.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},"../../node_modules/asn1.js/lib/asn1/base/reporter.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js");function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.Reporter=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,n){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=n)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,n=t.obj;return t.obj=e,n},i.prototype.error=function(e){var t,n=this._reporterState,r=e instanceof o;if(t=r?e:new o(n.path.map((function(e){return"["+JSON.stringify(e)+"]"})).join(""),e.message||e,e.stack),!n.options.partial)throw t;return r||n.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},"../../node_modules/asn1.js/lib/asn1/constants/der.js":function(e,t,n){var r=n("../../node_modules/asn1.js/lib/asn1/constants/index.js");t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r._reverse(t.tagClass),t.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"},t.tagByName=r._reverse(t.tag)},"../../node_modules/asn1.js/lib/asn1/constants/index.js":function(e,t,n){var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach((function(n){(0|n)==n&&(n|=0);var r=e[n];t[r]=n})),t},r.der=n("../../node_modules/asn1.js/lib/asn1/constants/der.js")},"../../node_modules/asn1.js/lib/asn1/decoders/der.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/asn1.js/lib/asn1.js"),o=i.base,s=i.bignum,a=i.constants.der;function u(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new l,this.tree._init(e.body)}function l(e){o.Node.call(this,"der",e)}function c(e,t){var n=e.readUInt8(t);if(e.isError(n))return n;var r=a.tagClass[n>>6],i=0==(32&n);if(31==(31&n)){var o=n;for(n=0;128==(128&o);){if(o=e.readUInt8(t),e.isError(o))return o;n<<=7,n|=127&o}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function f(e,t,n){var r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=a.tagClassByName[n||"universal"]<<6}(e,t,n,this.reporter);if(r.length<128)return(o=new i(2))[0]=s,o[1]=r.length,this._createEncoderBuffer([o,r]);for(var u=1,l=r.length;l>=256;l>>=8)u++;(o=new i(2+u))[0]=s,o[1]=128|u;l=1+u;for(var c=r.length;c>0;l--,c>>=8)o[l]=255&c;return this._createEncoderBuffer([o,r])},l.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var n=new i(2*e.length),r=0;r=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(r=0;r=128;s>>=7)o++}var a=new i(o),u=a.length-1;for(r=e.length-1;r>=0;r--){s=e[r];for(a[u--]=127&s;(s>>=7)>0;)a[u--]=128|127&s}return this._createEncoderBuffer(a)},l.prototype._encodeTime=function(e,t){var n,r=new Date(e);return"gentime"===t?n=[c(r.getFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[c(r.getFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},l.prototype._encodeNull=function(){return this._createEncoderBuffer("")},l.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var n=e.toArray();!e.sign&&128&n[0]&&n.unshift(0),e=new i(n)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=new i(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);r=1;for(var s=e;s>=256;s>>=8)r++;for(s=(o=new Array(r)).length-1;s>=0;s--)o[s]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},l.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},l.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},l.prototype._skipDefault=function(e,t,n){var r,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,n).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r=0;l--)if(c[l]!==f[l])return!1;for(l=c.length-1;l>=0;l--)if(a=c[l],!v(e[a],t[a],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function _(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function w(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function j(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(e){t=e}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&y(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!e&&i&&!n;if((!e&&s.isError(i)&&o&&w(i,n)||a)&&y(i,n,"Got unwanted exception"+r),e&&i&&n&&!w(i,n)||!e&&i)throw i}d.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return m(b(e.actual),128)+" "+e.operator+" "+m(b(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||y;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=p(t),o=r.indexOf("\n"+i);if(o>=0){var s=r.indexOf("\n",o+1);r=r.substring(s+1)}this.stack=r}}},s.inherits(d.AssertionError,Error),d.fail=y,d.ok=g,d.equal=function(e,t,n){e!=t&&y(e,t,n,"==",d.equal)},d.notEqual=function(e,t,n){e==t&&y(e,t,n,"!=",d.notEqual)},d.deepEqual=function(e,t,n){v(e,t,!1)||y(e,t,n,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(e,t,n){v(e,t,!0)||y(e,t,n,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(e,t,n){v(e,t,!1)&&y(e,t,n,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function e(t,n,r){v(t,n,!0)&&y(t,n,r,"notDeepStrictEqual",e)},d.strictEqual=function(e,t,n){e!==t&&y(e,t,n,"===",d.strictEqual)},d.notStrictEqual=function(e,t,n){e===t&&y(e,t,n,"!==",d.notStrictEqual)},d.throws=function(e,t,n){j(!0,e,t,n)},d.doesNotThrow=function(e,t,n){j(!1,e,t,n)},d.ifError=function(e){if(e)throw e},d.strict=r((function e(t,n){t||y(t,!0,n,"==",e)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var x=Object.keys||function(e){var t=[];for(var n in e)a.call(e,n)&&t.push(n);return t}}).call(this,n("../../node_modules/webpack/buildin/global.js"))},"../../node_modules/babel-plugin-macros/dist sync recursive":function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="../../node_modules/babel-plugin-macros/dist sync recursive"},"../../node_modules/babel-plugin-macros/dist/index.js":function(e,t,n){(function(r,i){var o,s,a;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,s=[],void 0===(a="function"==typeof(o=function(){"use strict";var t=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js"),o=t(n("../../node_modules/@babel/runtime/helpers/extends.js")),s=t(n("../../node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js"));const a=n("../../node_modules/path-browserify/index.js"),u=n("../../node_modules/resolve/index.js"),l=/[./]macro(\.js)?$/,c=e=>l.test(e);class f extends Error{constructor(e){super(e),this.name="MacroError","function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack||(this.stack=new Error(e).stack)}}let d=null;function h(e,t){return u.sync(e,{basedir:t,paths:[a.resolve(r,"../../")]})}function p(e){let t=e.path,r=e.imports,s=e.source,u=e.state,l=e.babel,c=e.interopRequire,f=e.resolvePath,h=e.options;const p=u.file.opts.filename,m=void 0===p?"":p;let b=!1;const y=r.reduce((e,n)=>{let r=n.importedName,i=n.localName;const o=t.scope.getBinding(i);return e[r]=o.referencePaths,b=b||Boolean(e[r].length),e},{}),g=0===s.indexOf("."),v=c(f(s,a.dirname(function(e){return a.isAbsolute(e)?e:a.join(i.cwd(),e)}(m))));if(!v.isBabelMacro)throw new Error('The macro imported from "'.concat(s,'" must be wrapped in "createMacro" ')+'which you can get from "babel-plugin-macros". Please refer to the documentation to see how to do this properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/author.md#writing-a-macro');const _=function(e,t,r,i){const s=e.options.configName;if(s){const e=function(e,t){try{const r=(d=d||n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.js").cosmiconfigSync("babel-plugin-macros",{searchPlaces:["package.json",".babel-plugin-macrosrc",".babel-plugin-macrosrc.json",".babel-plugin-macrosrc.yaml",".babel-plugin-macrosrc.yml",".babel-plugin-macrosrc.js","babel-plugin-macros.config.js"],packageProp:"babelMacros"})).search(t);if(r)return{options:r.config[e],path:r.filepath}}catch(e){return{error:e}}return{}}(s,t),a=function(e,t){if(t.hasOwnProperty(e)){if(!t[e]||"object"==typeof t[e])return{options:t[e]};console.error("The macro plugin options' ".concat(e," property was not an object or null."))}return{}}(s,i);if(void 0===a.options&&void 0===e.options&&void 0!==e.error)throw console.error('There was an error trying to load the config "'.concat(s,'" ')+'for the macro imported from "'.concat(r,". ")+"Please see the error thrown for more information."),e.error;if(void 0!==e.options&&void 0!==a.options&&"object"!=typeof e.options)throw new Error("".concat(e.path," specified a ").concat(s," config of type ")+"".concat(typeof a.options,", but the the macros plugin's ")+"options.".concat(s," did contain an object. Both configs must ")+"contain objects for their options to be mergeable.");return(0,o.default)({},a.options,{},e.options)}}(v,m,s,h);let w;try{u.file.scope.path.traverse({Identifier(){}}),w=v({references:y,source:s,state:u,babel:l,config:_,isBabelMacrosCall:!0})}catch(e){if("MacroError"===e.name)throw e;throw e.message="".concat(s,": ").concat(e.message),g||(e.message="".concat(e.message," Learn more: https://www.npmjs.com/package/").concat(s.replace(/^((?:@[^/]+\/)?[^/]+).*/,"$1"))),e}return w}function m(e,t){return e&&t&&Object.keys(t).every(n=>{const r=t[n],i=e[n];return"function"==typeof r?r(i):null==(o=r)||/^[sbn]/.test(typeof o)?r===i:m(i,r);var o})}e.exports=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.require,i=(void 0===r&&n("../../node_modules/babel-plugin-macros/dist sync recursive"),t.resolvePath),o=void 0===i?h:i,a=t.isMacrosName,u=void 0===a?c:a,l=(0,s.default)(t,["require","resolvePath","isMacrosName"]);function f(e){const t=self.require(e);return t&&t.__esModule&&t.default?t.default:t}return{name:"macros",visitor:{Program(t,n){t.traverse({ImportDeclaration(t){if(!m(t,{node:{source:{value:e=>u(e)}}}))return;const r=t.node.specifiers.map(e=>({localName:e.local.name,importedName:"ImportDefaultSpecifier"===e.type?"default":e.imported.name})),i=p({path:t,imports:r,source:t.node.source.value,state:n,babel:e,interopRequire:f,resolvePath:o,options:l});i&&i.keepImports||t.remove()},VariableDeclaration(t){t.get("declarations").filter(e=>m(e,{node:{init:{callee:{type:"Identifier",name:"require"},arguments:e=>1===e.length&&u(e[0].value)}}})).forEach(t=>{const r=t.node.id.name?[{localName:t.node.id.name,importedName:"default"}]:t.node.id.properties.map(e=>({localName:e.value.name,importedName:e.key.name})),i=t.get("init"),s=p({path:i,imports:r,source:i.node.arguments[0].value,state:n,babel:e,interopRequire:f,resolvePath:o,options:l});s&&s.keepImports||t.remove()})}})}}}},Object.assign(e.exports,{createMacro:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("options"===t.configName)throw new Error('You cannot use the configName "options". It is reserved for babel-plugin-macros.');return n.isBabelMacro=!0,n.options=t,n;function n(t){const n=t.source;if(!t.isBabelMacrosCall)throw new f('The macro you imported from "'.concat(n,'" is being executed outside the context of compilation with babel-plugin-macros. ')+'This indicates that you don\'t have the babel plugin "babel-plugin-macros" configured correctly. Please see the documentation for how to configure babel-plugin-macros properly: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/user.md');return e(t)}},MacroError:f})})?o.apply(t,s):o)||(e.exports=a)}).call(this,"/",n("../../node_modules/process/browser.js"))},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.js":function(e,t,n){(function(r){var i,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js")],void 0===(s="function"==typeof(i=function(e){"use strict";var i=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");e=i(e),Object.defineProperty(t,"__esModule",{value:!0}),t.Explorer=void 0;var o,s=(o=n("../../node_modules/path-browserify/index.js"))&&o.__esModule?o:{default:o},a=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.js"),u=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.js"),l=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.js"),c=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.js");class f extends a.ExplorerBase{constructor(e){super(e)}search(){var t=this;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.cwd();return(0,e.default)((function*(){const e=yield(0,c.getDirectory)(n);return yield t.searchFromDirectory(e)}))()}searchFromDirectory(t){var n=this;return(0,e.default)((function*(){const i=s.default.resolve(r.cwd(),t),o=function(){var t=(0,e.default)((function*(){const e=yield n.searchDirectory(i),t=n.nextDirectoryToSearch(i,e);return t?n.searchFromDirectory(t):yield n.config.transform(e)}));return function(){return t.apply(this,arguments)}}();return n.searchCache?(0,l.cacheWrapper)(n.searchCache,i,o):o()}))()}searchDirectory(t){var n=this;return(0,e.default)((function*(){var e,r=!0,i=!1;try{for(var o,s,a=function(e){var t;if("undefined"!=typeof Symbol){if(Symbol.asyncIterator&&null!=(t=e[Symbol.asyncIterator]))return t.call(e);if(Symbol.iterator&&null!=(t=e[Symbol.iterator]))return t.call(e)}throw new TypeError("Object is not async iterable")}(n.config.searchPlaces);r=(o=yield a.next()).done,s=yield o.value,!r;r=!0){const e=s,r=yield n.loadSearchPlace(t,e);if(!0===n.shouldSearchStopWithResult(r))return r}}catch(t){i=!0,e=t}finally{try{r||null==a.return||(yield a.return())}finally{if(i)throw e}}return null}))()}loadSearchPlace(t,n){var r=this;return(0,e.default)((function*(){const e=s.default.join(t,n),i=yield(0,u.readFile)(e);return yield r.createCosmiconfigResult(e,i)}))()}loadFileContent(t,n){var r=this;return(0,e.default)((function*(){if(null===n)return null;if(""===n.trim())return;const e=r.getLoaderEntryForFile(t);return yield e(t,n)}))()}createCosmiconfigResult(t,n){var r=this;return(0,e.default)((function*(){const e=yield r.loadFileContent(t,n);return r.loadedContentToCosmiconfigResult(t,e)}))()}load(t){var n=this;return(0,e.default)((function*(){n.validateFilePath(t);const i=s.default.resolve(r.cwd(),t),o=function(){var t=(0,e.default)((function*(){const e=yield(0,u.readFile)(i,{throwNotFound:!0}),t=yield n.createCosmiconfigResult(i,e);return yield n.config.transform(t)}));return function(){return t.apply(this,arguments)}}();return n.loadCache?(0,l.cacheWrapper)(n.loadCache,i,o):o()}))()}}t.Explorer=f})?i.apply(t,o):i)||(e.exports=s)}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getExtensionDescription=s,t.ExplorerBase=void 0;var e,r=(e=n("../../node_modules/path-browserify/index.js"))&&e.__esModule?e:{default:e},i=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.js"),o=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.js");function s(e){const t=r.default.extname(e);return t?'extension "'.concat(t,'"'):"files without extensions"}t.ExplorerBase=class{constructor(e){!0===e.cache&&(this.loadCache=new Map,this.searchCache=new Map),this.config=e,this.validateConfig()}clearLoadCache(){this.loadCache&&this.loadCache.clear()}clearSearchCache(){this.searchCache&&this.searchCache.clear()}clearCaches(){this.clearLoadCache(),this.clearSearchCache()}validateConfig(){const e=this.config;e.searchPlaces.forEach(t=>{const n=r.default.extname(t)||"noExt",i=e.loaders[n];if(!i)throw new Error("No loader specified for ".concat(s(t),', so searchPlaces item "').concat(t,'" is invalid'));if("function"!=typeof i)throw new Error("loader for ".concat(s(t),' is not a function (type provided: "').concat(typeof i,'"), so searchPlaces item "').concat(t,'" is invalid'))})}shouldSearchStopWithResult(e){return!(null===e||e.isEmpty&&this.config.ignoreEmptySearchPlaces)}nextDirectoryToSearch(e,t){if(this.shouldSearchStopWithResult(t))return null;const n=(i=e,r.default.dirname(i));var i;return n===e||e===this.config.stopDir?null:n}loadPackageProp(e,t){const n=i.loaders.loadJson(e,t);return(0,o.getPropertyByPath)(n,this.config.packageProp)||null}getLoaderEntryForFile(e){if("package.json"===r.default.basename(e))return this.loadPackageProp.bind(this);const t=r.default.extname(e)||"noExt",n=this.config.loaders[t];if(!n)throw new Error("No loader specified for ".concat(s(e)));return n}loadedContentToCosmiconfigResult(e,t){return null===t?null:void 0===t?{filepath:e,config:void 0,isEmpty:!0}:{config:t,filepath:e}}validateFilePath(e){if(!e)throw new Error("load must pass a non-empty string")}}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.js":function(e,t,n){(function(r){var i,o,s;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(s="function"==typeof(i=function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExplorerSync=void 0;var e,i=(e=n("../../node_modules/path-browserify/index.js"))&&e.__esModule?e:{default:e},o=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerBase.js"),s=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.js"),a=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.js"),u=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.js");class l extends o.ExplorerBase{constructor(e){super(e)}searchSync(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.cwd();const t=(0,u.getDirectorySync)(e);return this.searchFromDirectorySync(t)}searchFromDirectorySync(e){const t=i.default.resolve(r.cwd(),e),n=()=>{const e=this.searchDirectorySync(t),n=this.nextDirectoryToSearch(t,e);return n?this.searchFromDirectorySync(n):this.config.transform(e)};return this.searchCache?(0,a.cacheWrapperSync)(this.searchCache,t,n):n()}searchDirectorySync(e){for(const t of this.config.searchPlaces){const n=this.loadSearchPlaceSync(e,t);if(!0===this.shouldSearchStopWithResult(n))return n}return null}loadSearchPlaceSync(e,t){const n=i.default.join(e,t),r=(0,s.readFileSync)(n);return this.createCosmiconfigResultSync(n,r)}loadFileContentSync(e,t){return null===t?null:""!==t.trim()?this.getLoaderEntryForFile(e)(e,t):void 0}createCosmiconfigResultSync(e,t){const n=this.loadFileContentSync(e,t);return this.loadedContentToCosmiconfigResult(e,n)}loadSync(e){this.validateFilePath(e);const t=i.default.resolve(r.cwd(),e),n=()=>{const e=(0,s.readFileSync)(t,{throwNotFound:!0}),n=this.createCosmiconfigResultSync(t,e);return this.config.transform(n)};return this.loadCache?(0,a.cacheWrapperSync)(this.loadCache,t,n):n()}}t.ExplorerSync=l})?i.apply(t,o):i)||(e.exports=s)}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/cacheWrapper.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js")],void 0===(o="function"==typeof(r=function(e){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function i(){return(i=(0,e.default)((function*(e,t,n){const r=e.get(t);if(void 0!==r)return r;const i=yield n();return e.set(t,i),i}))).apply(this,arguments)}e=r(e),Object.defineProperty(t,"__esModule",{value:!0}),t.cacheWrapper=function(e,t,n){return i.apply(this,arguments)},t.cacheWrapperSync=function(e,t,n){const r=e.get(t);if(void 0!==r)return r;const i=n();return e.set(t,i),i}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getDirectory.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js")],void 0===(o="function"==typeof(r=function(e){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");e=r(e),Object.defineProperty(t,"__esModule",{value:!0}),t.getDirectory=function(e){return a.apply(this,arguments)},t.getDirectorySync=function(e){return!0===(0,s.isDirectorySync)(e)?e:o.default.dirname(e)};var i,o=(i=n("../../node_modules/path-browserify/index.js"))&&i.__esModule?i:{default:i},s=n("../../node_modules/path-type/index.js");function a(){return(a=(0,e.default)((function*(e){return!0===(yield(0,s.isDirectory)(e))?e:o.default.dirname(e)}))).apply(this,arguments)}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/getPropertyByPath.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPropertyByPath=function(e,t){return"string"==typeof t&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:("string"==typeof t?t.split("."):t).reduce((e,t)=>void 0===e?e:e[t],e)}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/index.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[n("../../node_modules/@babel/runtime/helpers/defineProperty.js")],void 0===(o="function"==typeof(r=function(e){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:{};const n=d(e,t),r=new u.Explorer(n);return{search:r.search.bind(r),load:r.load.bind(r),clearLoadCache:r.clearLoadCache.bind(r),clearSearchCache:r.clearSearchCache.bind(r),clearCaches:r.clearCaches.bind(r)}},t.cosmiconfigSync=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=d(e,t),r=new l.ExplorerSync(n);return{search:r.searchSync.bind(r),load:r.loadSync.bind(r),clearLoadCache:r.clearLoadCache.bind(r),clearSearchCache:r.clearSearchCache.bind(r),clearCaches:r.clearCaches.bind(r)}},t.defaultLoaders=void 0;var s,a=(s=n("../../node_modules/os-browserify/browser.js"))&&s.__esModule?s:{default:s},u=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/Explorer.js"),l=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/ExplorerSync.js"),c=n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.js");n("../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/types.js");const f=Object.freeze({".js":c.loaders.loadJs,".json":c.loaders.loadJson,".yaml":c.loaders.loadYaml,".yml":c.loaders.loadYaml,noExt:c.loaders.loadYaml});function d(e,t){const n={packageProp:e,searchPlaces:["package.json",".".concat(e,"rc"),".".concat(e,"rc.json"),".".concat(e,"rc.yaml"),".".concat(e,"rc.yml"),".".concat(e,"rc.js"),"".concat(e,".config.js")],ignoreEmptySearchPlaces:!0,stopDir:a.default.homedir(),cache:!0,transform:h,loaders:f};return o(o(o({},n),t),{},{loaders:o(o({},n.loaders),t.loaders)})}t.defaultLoaders=f;const h=function(e){return e}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/loaders.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){"use strict";let e,r,i;Object.defineProperty(t,"__esModule",{value:!0}),t.loaders=void 0;const o={loadJs:function(t){return void 0===e&&(e=n("../../node_modules/import-fresh/index.js")),e(t)},loadJson:function(e,t){void 0===r&&(r=n("../../node_modules/parse-json/index.js"));try{return r(t)}catch(t){throw t.message="JSON Error in ".concat(e,":\n").concat(t.message),t}},loadYaml:function(e,t){void 0===i&&(i=n("../../node_modules/yaml/browser/index.js"));try{return i.parse(t,{prettyErrors:!0})}catch(t){throw t.message="YAML Error in ".concat(e,":\n").concat(t.message),t}}};t.loaders=o})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/readFile.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js")],void 0===(o="function"==typeof(r=function(e){"use strict";var r=n("../../node_modules/@babel/runtime/helpers/interopRequireDefault.js");e=r(e),Object.defineProperty(t,"__esModule",{value:!0}),t.readFile=function(e){return u.apply(this,arguments)},t.readFileSync=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=!0===t.throwNotFound;try{return o.default.readFileSync(e,"utf8")}catch(e){if(!1===n&&"ENOENT"===e.code)return null;throw e}};var i,o=(i=n("../../standalone-packages/codesandbox-browserfs/dist/shims/fs.js"))&&i.__esModule?i:{default:i};function s(e,t){return a.apply(this,arguments)}function a(){return(a=(0,e.default)((function*(e,t){return new Promise((n,r)=>{o.default.readFile(e,t,(e,t)=>{e?r(e):n(t)})})}))).apply(this,arguments)}function u(){return(u=(0,e.default)((function*(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=!0===t.throwNotFound;try{return yield s(e,"utf8")}catch(e){if(!1===n&&"ENOENT"===e.code)return null;throw e}}))).apply(this,arguments)}})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/babel-plugin-macros/node_modules/cosmiconfig/dist/types.js":function(e,t,n){var r,i,o;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,i=[],void 0===(o="function"==typeof(r=function(){})?r.apply(t,i):r)||(e.exports=o)},"../../node_modules/base64-js/index.js":function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),s=r[0],a=r[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),c=0,f=a>0?s-4:s;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===a&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===a&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],s=0,a=n-i;sa?a:s+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=s.length;a0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,n){for(var i,o,s=[],a=t;a>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return s.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"../../node_modules/bn.js/lib/bn.js":function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s=n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js").Buffer}catch(e){}function a(e,t,n){for(var r=0,i=Math.min(e.length,n),o=t;o=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),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 i=0;i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=a(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=a(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,c=n;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","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"],c=[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],f=[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 d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(s=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&s}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215)||s!==this.length-1?l[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=c[e],h=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?m+n:l[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,h=0|s[1],p=8191&h,m=h>>>13,b=0|s[2],y=8191&b,g=b>>>13,v=0|s[3],_=8191&v,w=v>>>13,j=0|s[4],x=8191&j,k=j>>>13,S=0|s[5],M=8191&S,E=S>>>13,O=0|s[6],A=8191&O,P=O>>>13,C=0|s[7],R=8191&C,I=C>>>13,T=0|s[8],B=8191&T,N=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,F=0|a[0],q=8191&F,H=F>>>13,z=0|a[1],$=8191&z,W=z>>>13,K=0|a[2],V=8191&K,G=K>>>13,Y=0|a[3],J=8191&Y,Z=Y>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],fe=8191&ce,de=ce>>>13,he=0|a[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,H))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(p,q),i=(i=Math.imul(p,H))+Math.imul(m,q)|0,o=Math.imul(m,H);var ye=(l+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,$)|0))<<13)|0;l=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,H))+Math.imul(g,q)|0,o=Math.imul(g,H),r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,W)|0;var ge=(l+(r=r+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,V)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(_,q),i=(i=Math.imul(_,H))+Math.imul(w,q)|0,o=Math.imul(w,H),r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,W)|0,r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(d,J)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,H))+Math.imul(k,q)|0,o=Math.imul(k,H),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(y,V)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,Z)|0;var _e=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,H))+Math.imul(E,q)|0,o=Math.imul(E,H),r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,W)|0,r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Z)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(A,q),i=(i=Math.imul(A,H))+Math.imul(P,q)|0,o=Math.imul(P,H),r=r+Math.imul(M,$)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,W)|0,r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,G)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var je=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,se)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,se)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,H))+Math.imul(I,q)|0,o=Math.imul(I,H),r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(P,$)|0,o=o+Math.imul(P,W)|0,r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(E,V)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var xe=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,H))+Math.imul(N,q)|0,o=Math.imul(N,H),r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0;var ke=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,H))+Math.imul(U,q)|0,o=Math.imul(U,H),r=r+Math.imul(B,$)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,W)|0,r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Z)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,Z)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ue)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,$),i=(i=Math.imul(L,W))+Math.imul(U,$)|0,o=Math.imul(U,W),r=r+Math.imul(B,V)|0,i=(i=i+Math.imul(B,G)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(I,J)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Me=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,G))+Math.imul(U,V)|0,o=Math.imul(U,G),r=r+Math.imul(B,J)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,se)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,se)|0,r=r+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Ee=(l+(r=r+Math.imul(y,pe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,Z))+Math.imul(U,J)|0,o=Math.imul(U,Z),r=r+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(k,fe)|0,o=o+Math.imul(k,de)|0;var Oe=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),r=r+Math.imul(B,ne)|0,i=(i=i+Math.imul(B,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(E,fe)|0,o=o+Math.imul(E,de)|0;var Ae=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((o=o+Math.imul(k,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(P,fe)|0,o=o+Math.imul(P,de)|0;var Pe=(l+(r=r+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(B,ue)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(N,ue)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ce=(l+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((o=o+Math.imul(P,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,ue),i=(i=Math.imul(L,le))+Math.imul(U,ue)|0,o=Math.imul(U,le),r=r+Math.imul(B,fe)|0,i=(i=i+Math.imul(B,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Re=(l+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(I,pe)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var Ie=(l+(r=r+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,me)|0)+Math.imul(N,pe)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Te=(l+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,pe)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=be,u[1]=ye,u[2]=ge,u[3]=ve,u[4]=_e,u[5]=we,u[6]=je,u[7]=xe,u[8]=ke,u[9]=Se,u[10]=Me,u[11]=Ee,u[12]=Oe,u[13]=Ae,u[14]=Pe,u[15]=Ce,u[16]=Re,u[17]=Ie,u[18]=Te,0!==l&&(u[19]=l,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(h=d),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-o|f>>>o,c=f&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,u=r.length-i.length;if("mod"!==t){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);a&&(a.words[f]=d)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(f)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(f)),a.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new j(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function x(e){j.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):n.strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(g,y),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&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 t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new v;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return b[e]=t,t},j.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},j.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},j.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},j.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},j.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},j.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},j.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},j.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},j.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},j.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},j.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},j.prototype.isqr=function(e){return this.imul(e,e.clone())},j.prototype.sqr=function(e){return this.mul(e,e)},j.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=s;0!==h.cmp(a);){for(var m=h,b=0;0!==m.cmp(a);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===r&&0===c)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}u=26}return i},j.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},j.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new x(e)},i(x,j),x.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},x.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},x.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},x.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("../../node_modules/webpack/buildin/module.js")(e))},"../../node_modules/braces/index.js":function(e,t,n){"use strict";const r=n("../../node_modules/braces/lib/stringify.js"),i=n("../../node_modules/braces/lib/compile.js"),o=n("../../node_modules/braces/lib/expand.js"),s=n("../../node_modules/braces/lib/parse.js"),a=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=a.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};a.parse=(e,t={})=>s(e,t),a.stringify=(e,t={})=>r("string"==typeof e?a.parse(e,t):e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),i(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let n=o(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},"../../node_modules/braces/lib/compile.js":function(e,t,n){"use strict";const r=n("../../node_modules/fill-range/index.js"),i=n("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let n=(e,o={})=>{let s=i.isInvalidBrace(o),a=!0===e.invalid&&!0===t.escapeInvalid,u=!0===s||!0===a,l=!0===t.escapeInvalid?"\\":"",c="";if(!0===e.isOpen)return l+e.value;if(!0===e.isClose)return l+e.value;if("open"===e.type)return u?l+e.value:"(";if("close"===e.type)return u?l+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":u?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=i.reduce(e.nodes),o=r(...n,{...t,wrap:!1,toRegex:!0});if(0!==o.length)return n.length>1&&o.length>1?`(${o})`:o}if(e.nodes)for(let t of e.nodes)c+=n(t,e);return c};return n(e)}},"../../node_modules/braces/lib/constants.js":function(e,t,n){"use strict";e.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:"\xa0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},"../../node_modules/braces/lib/expand.js":function(e,t,n){"use strict";const r=n("../../node_modules/fill-range/index.js"),i=n("../../node_modules/braces/lib/stringify.js"),o=n("../../node_modules/braces/lib/utils.js"),s=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?o.flatten(t).map(e=>`{${e}}`):t;for(let i of e)if(Array.isArray(i))for(let e of i)r.push(s(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?s(i,e,n):i+e);return o.flatten(r)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,u={})=>{e.queue=[];let l=u,c=u.queue;for(;"brace"!==l.type&&"root"!==l.type&&l.parent;)l=l.parent,c=l.queue;if(e.invalid||e.dollar)return void c.push(s(c.pop(),i(e,t)));if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length)return void c.push(s(c.pop(),["{}"]));if(e.nodes&&e.ranges>0){let a=o.reduce(e.nodes);if(o.exceedsLimit(...a,t.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=r(...a,t);return 0===u.length&&(u=i(e,t)),c.push(s(c.pop(),u)),void(e.nodes=[])}let f=o.encloseBrace(e),d=e.queue,h=e;for(;"brace"!==h.type&&"root"!==h.type&&h.parent;)h=h.parent,d=h.queue;for(let t=0;t{if("string"!=typeof e)throw new TypeError("Expected a string");let n=t||{},v="number"==typeof n.maxLength?Math.min(i,n.maxLength):i;if(e.length>v)throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${v})`);let _,w={type:"root",input:e,nodes:[]},j=[w],x=w,k=w,S=0,M=e.length,E=0,O=0;const A=()=>e[E++],P=e=>{if("text"===e.type&&"dot"===k.type&&(k.type="text"),!k||"text"!==k.type||"text"!==e.type)return x.nodes.push(e),e.parent=x,e.prev=k,k=e,e;k.value+=e.value};for(P({type:"bos"});E0){if(x.ranges>0){x.ranges=0;let e=x.nodes.shift();x.nodes=[e,{type:"text",value:r(x)}]}P({type:"comma",value:_}),x.commas++}else if(_===u&&O>0&&0===x.commas){let e=x.nodes;if(0===O||0===e.length){P({type:"text",value:_});continue}if("dot"===k.type){if(x.range=[],k.value+=_,k.type="range",3!==x.nodes.length&&5!==x.nodes.length){x.invalid=!0,x.ranges=0,k.type="text";continue}x.ranges++,x.args=[];continue}if("range"===k.type){e.pop();let t=e[e.length-1];t.value+=k.value+_,k=t,x.ranges--;continue}P({type:"dot",value:_})}else P({type:"text",value:_});else{if("brace"!==x.type){P({type:"text",value:_});continue}let e="close";x=j.pop(),x.close=!0,P({type:e,value:_}),O--,x=j[j.length-1]}else{O++;let e=k.value&&"$"===k.value.slice(-1)||!0===x.dollar;x=P({type:"brace",open:!0,close:!1,dollar:e,depth:O,commas:0,ranges:0,nodes:[]}),j.push(x),P({type:"open",value:_})}else{let e,n=_;for(!0!==t.keepQuotes&&(_="");E{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=j[j.length-1],t=e.nodes.indexOf(x);e.nodes.splice(t,1,...x.nodes)}}while(j.length>0);return P({type:"eos"}),w}},"../../node_modules/braces/lib/stringify.js":function(e,t,n){"use strict";const r=n("../../node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let n=(e,i={})=>{let o=t.escapeInvalid&&r.isInvalidBrace(i),s=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(o||s)&&r.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=n(t);return a};return n(e)}},"../../node_modules/braces/lib/utils.js":function(e,t,n){"use strict";t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,n,r=1,i)=>!1!==i&&(!(!t.isInteger(e)||!t.isInteger(n))&&(Number(n)-Number(e))/Number(r)>=i),t.escapeNode=(e,t=0,n)=>{let r=e.nodes[t];r&&(n&&r.type===n||"open"===r.type||"close"===r.type)&&!0!==r.escaped&&(r.value="\\"+r.value,r.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&(e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0)),t.isInvalidBrace=e=>"brace"===e.type&&(!(!0!==e.invalid&&!e.dollar)||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||(!0===e.open||!0===e.close),t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{const t=[],n=e=>{for(let r=0;r>>24]^c[p>>>16&255]^f[m>>>8&255]^d[255&b]^t[y++],s=l[p>>>24]^c[m>>>16&255]^f[b>>>8&255]^d[255&h]^t[y++],a=l[m>>>24]^c[b>>>16&255]^f[h>>>8&255]^d[255&p]^t[y++],u=l[b>>>24]^c[h>>>16&255]^f[p>>>8&255]^d[255&m]^t[y++],h=o,p=s,m=a,b=u;return o=(r[h>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&b])^t[y++],s=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[b>>>8&255]<<8|r[255&h])^t[y++],a=(r[m>>>24]<<24|r[b>>>16&255]<<16|r[h>>>8&255]<<8|r[255&p])^t[y++],u=(r[b>>>24]<<24|r[h>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[y++],[o>>>=0,s>>>=0,a>>>=0,u>>>=0]}var a=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],s=0,a=0,u=0;u<256;++u){var l=a^a<<1^a<<2^a<<3^a<<4;l=l>>>8^255&l^99,n[s]=l,r[l]=s;var c=e[s],f=e[c],d=e[f],h=257*e[l]^16843008*l;i[0][s]=h<<24|h>>>8,i[1][s]=h<<16|h>>>16,i[2][s]=h<<8|h>>>24,i[3][s]=h,h=16843009*d^65537*f^257*c^16843008*s,o[0][l]=h<<24|h>>>8,o[1][l]=h<<16|h>>>16,o[2][l]=h<<8|h>>>24,o[3][l]=h,0===s?s=a=1:(s=c^e[e[e[d^c]]],a^=e[e[a]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function l(e){this._key=i(e),this._reset()}l.blockSize=16,l.keySize=32,l.prototype.blockSize=l.blockSize,l.prototype.keySize=l.keySize,l.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],o=0;o>>24,s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s],s^=a[o/t|0]<<24):t>6&&o%t==4&&(s=u.SBOX[s>>>24]<<24|u.SBOX[s>>>16&255]<<16|u.SBOX[s>>>8&255]<<8|u.SBOX[255&s]),i[o]=i[o-t]^s}for(var l=[],c=0;c>>24]]^u.INV_SUB_MIX[1][u.SBOX[d>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[d>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&d]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=l},l.prototype.encryptBlockRaw=function(e){return s(e=i(e),this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},l.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=r.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},l.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var n=s(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(n[0],0),o.writeUInt32BE(n[3],4),o.writeUInt32BE(n[2],8),o.writeUInt32BE(n[1],12),o},l.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=l},"../../node_modules/browserify-aes/authCipher.js":function(e,t,n){var r=n("../../node_modules/browserify-aes/aes.js"),i=n("../../node_modules/safe-buffer/index.js").Buffer,o=n("../../node_modules/cipher-base/index.js"),s=n("../../node_modules/inherits/inherits_browser.js"),a=n("../../node_modules/browserify-aes/ghash.js"),u=n("../../node_modules/buffer-xor/index.js"),l=n("../../node_modules/browserify-aes/incr32.js");function c(e,t,n,s){o.call(this);var u=i.alloc(4,0);this._cipher=new r.AES(t);var c=this._cipher.encryptBlock(u);this._ghash=new a(c),n=function(e,t,n){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new a(n),o=t.length,s=o%16;r.update(t),s&&(s=16-s,r.update(i.alloc(s,0))),r.update(i.alloc(8,0));var u=8*o,c=i.alloc(8);c.writeUIntBE(u,0,8),r.update(c),e._finID=r.state;var f=i.from(e._finID);return l(f),f}(this,n,c),this._prev=i.from(n),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}s(c,o),c.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var n=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(n),this._len+=e.length,n},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=u(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var n=0;e.length!==t.length&&n++;for(var r=Math.min(e.length,t.length),i=0;i16)throw new Error("unable to decrypt data");var n=-1;for(;++n16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},f.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var n=o[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");var r=l(t,!1,n.key,n.iv);return d(e,r.key,r.iv)},t.createDecipheriv=d},"../../node_modules/browserify-aes/encrypter.js":function(e,t,n){var r=n("../../node_modules/browserify-aes/modes/index.js"),i=n("../../node_modules/browserify-aes/authCipher.js"),o=n("../../node_modules/safe-buffer/index.js").Buffer,s=n("../../node_modules/browserify-aes/streamCipher.js"),a=n("../../node_modules/cipher-base/index.js"),u=n("../../node_modules/browserify-aes/aes.js"),l=n("../../node_modules/evp_bytestokey/index.js");function c(e,t,n){a.call(this),this._cache=new d,this._cipher=new u.AES(t),this._prev=o.from(n),this._mode=e,this._autopadding=!0}n("../../node_modules/inherits/inherits_browser.js")(c,a),c.prototype._update=function(e){var t,n;this._cache.add(e);for(var r=[];t=this._cache.get();)n=this._mode.encrypt(this,t),r.push(n);return o.concat(r)};var f=o.alloc(16,16);function d(){this.cache=o.allocUnsafe(0)}function h(e,t,n){var a=r[e.toLowerCase()];if(!a)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==a.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof n&&(n=o.from(n)),"GCM"!==a.mode&&n.length!==a.iv)throw new TypeError("invalid iv length "+n.length);return"stream"===a.type?new s(a.module,t,n):"auth"===a.type?new i(a.module,t,n):new c(a.module,t,n)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(f))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=o.concat([this.cache,e])},d.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},d.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),n=-1;++n>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function s(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}s.prototype.ghash=function(e){for(var t=-1;++t0;t--)r[t]=r[t]>>>1|(1&r[t-1])<<31;r[0]=r[0]>>>1,n&&(r[0]=r[0]^225<<24)}this.state=o(i)},s.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},s.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=s},"../../node_modules/browserify-aes/incr32.js":function(e,t){e.exports=function(e){for(var t,n=e.length;n--;){if(255!==(t=e.readUInt8(n))){t++,e.writeUInt8(t,n);break}e.writeUInt8(0,n)}}},"../../node_modules/browserify-aes/modes/cbc.js":function(e,t,n){var r=n("../../node_modules/buffer-xor/index.js");t.encrypt=function(e,t){var n=r(t,e._prev);return e._prev=e._cipher.encryptBlock(n),e._prev},t.decrypt=function(e,t){var n=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return r(i,n)}},"../../node_modules/browserify-aes/modes/cfb.js":function(e,t,n){var r=n("../../node_modules/safe-buffer/index.js").Buffer,i=n("../../node_modules/buffer-xor/index.js");function o(e,t,n){var o=t.length,s=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,n?t:s]),s}t.encrypt=function(e,t,n){for(var i,s=r.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),!(e._cache.length<=t.length)){s=r.concat([s,o(e,t,n)]);break}i=e._cache.length,s=r.concat([s,o(e,t.slice(0,i),n)]),t=t.slice(i)}return s}},"../../node_modules/browserify-aes/modes/cfb1.js":function(e,t,n){var r=n("../../node_modules/safe-buffer/index.js").Buffer;function i(e,t,n){for(var r,i,s=-1,a=0;++s<8;)r=t&1<<7-s?128:0,a+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^r))>>s%8,e._prev=o(e._prev,n?r:i);return a}function o(e,t){var n=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i>7;return o}t.encrypt=function(e,t,n){for(var o=t.length,s=r.allocUnsafe(o),a=-1;++a=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new r(i(t));return n}e.exports=o,o.getr=s}).call(this,n("../../node_modules/buffer/index.js").Buffer)},"../../node_modules/browserify-sign/algos.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/browserify-sign/browser/algorithms.json")},"../../node_modules/browserify-sign/browser/algorithms.json":function(e){e.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"}}')},"../../node_modules/browserify-sign/browser/curves.json":function(e){e.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"}')},"../../node_modules/browserify-sign/browser/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/safe-buffer/index.js").Buffer,i=n("../../node_modules/create-hash/browser.js"),o=n("../../node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js"),s=n("../../node_modules/inherits/inherits_browser.js"),a=n("../../node_modules/browserify-sign/browser/sign.js"),u=n("../../node_modules/browserify-sign/browser/verify.js"),l=n("../../node_modules/browserify-sign/browser/algorithms.json");function c(e){o.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function f(e){o.Writable.call(this);var t=l[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){return new c(e)}function h(e){return new f(e)}Object.keys(l).forEach((function(e){l[e].id=r.from(l[e].id,"hex"),l[e.toLowerCase()]=l[e]})),s(c,o.Writable),c.prototype._write=function(e,t,n){this._hash.update(e),n()},c.prototype.update=function(e,t){return this._hash.update("string"==typeof e?r.from(e,t):e),this},c.prototype.sign=function(e,t){this.end();var n=this._hash.digest(),r=a(n,e,this._hashType,this._signType,this._tag);return t?r.toString(t):r},s(f,o.Writable),f.prototype._write=function(e,t,n){this._hash.update(e),n()},f.prototype.update=function(e,t){return this._hash.update("string"==typeof e?r.from(e,t):e),this},f.prototype.verify=function(e,t,n){var i="string"==typeof t?r.from(t,n):t;this.end();var o=this._hash.digest();return u(i,o,e,this._signType,this._tag)},e.exports={Sign:d,Verify:h,createSign:d,createVerify:h}},"../../node_modules/browserify-sign/browser/sign.js":function(e,t,n){"use strict";var r=n("../../node_modules/safe-buffer/index.js").Buffer,i=n("../../node_modules/create-hmac/browser.js"),o=n("../../node_modules/browserify-sign/node_modules/browserify-rsa/index.js"),s=n("../../node_modules/elliptic/lib/elliptic.js").ec,a=n("../../node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"),u=n("../../node_modules/browserify-sign/node_modules/parse-asn1/index.js"),l=n("../../node_modules/browserify-sign/browser/curves.json");function c(e,t,n,o){if((e=r.from(e.toArray())).length0&&n.ishrn(r),n}function d(e,t,n){var o,s;do{for(o=r.alloc(0);8*o.length=0)throw new Error("invalid sig")}e.exports=function(e,t,n,l,c){var f=s(n);if("ec"===f.type){if("ecdsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=a[n.data.algorithm.curve.join(".")];if(!r)throw new Error("unknown curve "+n.data.algorithm.curve.join("."));var i=new o(r),s=n.data.subjectPrivateKey.data;return i.verify(t,e,s)}(e,t,f)}if("dsa"===f.type){if("dsa"!==l)throw new Error("wrong public key type");return function(e,t,n){var r=n.data.p,o=n.data.q,a=n.data.g,l=n.data.pub_key,c=s.signature.decode(e,"der"),f=c.s,d=c.r;u(f,o),u(d,o);var h=i.mont(r),p=f.invm(o);return 0===a.toRed(h).redPow(new i(t).mul(p).mod(o)).fromRed().mul(l.toRed(h).redPow(d.mul(p).mod(o)).fromRed()).mod(r).mod(o).cmp(d)}(e,t,f)}if("rsa"!==l&&"ecdsa/rsa"!==l)throw new Error("wrong public key type");t=r.concat([c,t]);for(var d=f.modulus.byteLength(),h=[1],p=0;t.length+h.length+2>6],i=0==(32&n);if(31==(31&n)){let r=n;for(n=0;128==(128&r);){if(r=e.readUInt8(t),e.isError(r))return r;n<<=7,n|=127&r}}else n&=31;return{cls:r,primitive:i,tag:n,tagStr:a.tag[n]}}function f(e,t,n){let r=e.readUInt8(n);if(e.isError(r))return r;if(!t&&128===r)return null;if(0==(128&r))return r;const i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(let t=0;t=31)return r.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[n||"universal"]<<6,i}(e,t,n,this.reporter);if(r.length<128){const e=i.alloc(2);return e[0]=o,e[1]=r.length,this._createEncoderBuffer([e,r])}let a=1;for(let e=r.length;e>=256;e>>=8)a++;const u=i.alloc(2+a);u[0]=o,u[1]=128|a;for(let e=1+a,t=r.length;t>0;e--,t>>=8)u[e]=255&t;return this._createEncoderBuffer([u,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){const t=i.alloc(2*e.length);for(let n=0;n=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}let r=0;for(let t=0;t=128;n>>=7)r++}const o=i.alloc(r);let s=o.length-1;for(let t=e.length-1;t>=0;t--){let n=e[t];for(o[s--]=127&n;(n>>=7)>0;)o[s--]=128|127&n}return this._createEncoderBuffer(o)},u.prototype._encodeTime=function(e,t){let n;const r=new Date(e);return"gentime"===t?n=[l(r.getUTCFullYear()),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?n=[l(r.getUTCFullYear()%100),l(r.getUTCMonth()+1),l(r.getUTCDate()),l(r.getUTCHours()),l(r.getUTCMinutes()),l(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(n,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){const t=e.toArray();!e.sign&&128&t[0]&&t.unshift(0),e=i.from(t)}if(i.isBuffer(e)){let t=e.length;0===e.length&&t++;const n=i.alloc(t);return e.copy(n),0===e.length&&(n[0]=0),this._createEncoderBuffer(n)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);let n=1;for(let t=e;t>=256;t>>=8)n++;const r=new Array(n);for(let t=r.length-1;t>=0;t--)r[t]=255&e,e>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(i.from(r))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,n){const r=this._baseState;let i;if(null===r.default)return!1;const o=e.join();if(void 0===r.defaultBuffer&&(r.defaultBuffer=this._encodeValue(r.default,t,n).join()),o.length!==r.defaultBuffer.length)return!1;for(i=0;i=49&&s<=54?s-49+10:s>=17&&s<=22?s-17+10:15&s}return r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"==typeof e.length),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 i=0;i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=6)i=a(e,n,n+6),this.words[r]|=i<>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);n+6!==t&&(i=a(e,t,n+6),this.words[r]|=i<>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,l=0,c=n;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var l=["","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"],c=[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],f=[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 d(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(s=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&s}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215)||s!==this.length-1?l[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var d=c[e],h=f[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?m+n:l[d-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,h=0|s[1],p=8191&h,m=h>>>13,b=0|s[2],y=8191&b,g=b>>>13,v=0|s[3],_=8191&v,w=v>>>13,j=0|s[4],x=8191&j,k=j>>>13,S=0|s[5],M=8191&S,E=S>>>13,O=0|s[6],A=8191&O,P=O>>>13,C=0|s[7],R=8191&C,I=C>>>13,T=0|s[8],B=8191&T,N=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,F=0|a[0],q=8191&F,H=F>>>13,z=0|a[1],$=8191&z,W=z>>>13,K=0|a[2],V=8191&K,G=K>>>13,Y=0|a[3],J=8191&Y,Z=Y>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],fe=8191&ce,de=ce>>>13,he=0|a[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,H))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(p,q),i=(i=Math.imul(p,H))+Math.imul(m,q)|0,o=Math.imul(m,H);var ye=(l+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,$)|0))<<13)|0;l=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,H))+Math.imul(g,q)|0,o=Math.imul(g,H),r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,W)|0;var ge=(l+(r=r+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,V)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(_,q),i=(i=Math.imul(_,H))+Math.imul(w,q)|0,o=Math.imul(w,H),r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,W)|0,r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(d,J)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,H))+Math.imul(k,q)|0,o=Math.imul(k,H),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(y,V)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,Z)|0;var _e=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,H))+Math.imul(E,q)|0,o=Math.imul(E,H),r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,W)|0,r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Z)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(A,q),i=(i=Math.imul(A,H))+Math.imul(P,q)|0,o=Math.imul(P,H),r=r+Math.imul(M,$)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,W)|0,r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,G)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var je=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,se)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,se)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,H))+Math.imul(I,q)|0,o=Math.imul(I,H),r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(P,$)|0,o=o+Math.imul(P,W)|0,r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(E,V)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var xe=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,H))+Math.imul(N,q)|0,o=Math.imul(N,H),r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0;var ke=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,H))+Math.imul(U,q)|0,o=Math.imul(U,H),r=r+Math.imul(B,$)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,W)|0,r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Z)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,Z)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ue)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,$),i=(i=Math.imul(L,W))+Math.imul(U,$)|0,o=Math.imul(U,W),r=r+Math.imul(B,V)|0,i=(i=i+Math.imul(B,G)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(I,J)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Me=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,G))+Math.imul(U,V)|0,o=Math.imul(U,G),r=r+Math.imul(B,J)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,se)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,se)|0,r=r+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Ee=(l+(r=r+Math.imul(y,pe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,Z))+Math.imul(U,J)|0,o=Math.imul(U,Z),r=r+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(k,fe)|0,o=o+Math.imul(k,de)|0;var Oe=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),r=r+Math.imul(B,ne)|0,i=(i=i+Math.imul(B,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(E,fe)|0,o=o+Math.imul(E,de)|0;var Ae=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((o=o+Math.imul(k,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(P,fe)|0,o=o+Math.imul(P,de)|0;var Pe=(l+(r=r+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(B,ue)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(N,ue)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ce=(l+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((o=o+Math.imul(P,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,ue),i=(i=Math.imul(L,le))+Math.imul(U,ue)|0,o=Math.imul(U,le),r=r+Math.imul(B,fe)|0,i=(i=i+Math.imul(B,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Re=(l+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(I,pe)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var Ie=(l+(r=r+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,me)|0)+Math.imul(N,pe)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Te=(l+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,pe)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=be,u[1]=ye,u[2]=ge,u[3]=ve,u[4]=_e,u[5]=we,u[6]=je,u[7]=xe,u[8]=ke,u[9]=Se,u[10]=Me,u[11]=Ee,u[12]=Oe,u[13]=Ae,u[14]=Pe,u[15]=Ce,u[16]=Re,u[17]=Ie,u[18]=Te,0!==l&&(u[19]=l,n.length++),n};function p(e,t,n){return(new m).mulp(e,t,n)}function m(e,t){this.x=e,this.y=t}Math.imul||(h=d),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?h(this,e,t):n<63?d(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):p(this,e,t)},m.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},m.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-o|f>>>o,c=f&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,u=r.length-i.length;if("mod"!==t){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);a&&(a.words[f]=d)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(f)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(f)),a.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new j(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function g(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function v(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function w(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function x(e){j.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):n.strip(),n},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(g,y),g.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&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 t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new g;else if("p224"===e)t=new v;else if("p192"===e)t=new _;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new w}return b[e]=t,t},j.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},j.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},j.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},j.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},j.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},j.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},j.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},j.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},j.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},j.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},j.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},j.prototype.isqr=function(e){return this.imul(e,e.clone())},j.prototype.sqr=function(e){return this.mul(e,e)},j.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=s;0!==h.cmp(a);){for(var m=h,b=0;0!==m.cmp(a);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===r&&0===c)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}u=26}return i},j.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},j.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new x(e)},i(x,j),x.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},x.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},x.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},x.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},x.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("../../node_modules/webpack/buildin/module.js")(e))},"../../node_modules/browserify-sign/node_modules/bn.js/lib/bn.js":function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js").Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=48&&n<=57?n-48:n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:void r(!1,"Invalid character in "+e)}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,i){for(var o=0,s=0,a=Math.min(e.length,n),u=t;u=49?l-49+10:l>=17?l-17+10:l,r(l>=0&&s0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(e){o.prototype.inspect=f}else o.prototype.inspect=f;function f(){return(this.red?""}var d=["","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"],h=[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],p=[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];o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),n=0!==o||s!==this.length-1?d[6-u.length]+u+n:u+n}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=h[e],c=p[e];n="";var f=this.clone();for(f.negative=0;!f.isZero();){var m=f.modrn(c).toString(e);n=(f=f.idivn(c)).isZero()?m+n:d[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(s,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(s=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&s}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n._strip()}o.prototype.toArrayLike=function(e,t,n){this._strip();var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var s=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(e,t){for(var n=0,r=0,i=0,o=0;i>8&255),n>16&255),6===o?(n>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n=0&&(e[n--]=s>>8&255),n>=0&&(e[n--]=s>>16&255),6===o?(n>=0&&(e[n--]=s>>24&255),r=0,o=0):(r=s>>>24,o+=2)}if(n>=0)for(e[n--]=r;n>=0;)e[n--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,n=0;return t>=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,h=0|s[1],p=8191&h,m=h>>>13,b=0|s[2],y=8191&b,g=b>>>13,v=0|s[3],_=8191&v,w=v>>>13,j=0|s[4],x=8191&j,k=j>>>13,S=0|s[5],M=8191&S,E=S>>>13,O=0|s[6],A=8191&O,P=O>>>13,C=0|s[7],R=8191&C,I=C>>>13,T=0|s[8],B=8191&T,N=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,F=0|a[0],q=8191&F,H=F>>>13,z=0|a[1],$=8191&z,W=z>>>13,K=0|a[2],V=8191&K,G=K>>>13,Y=0|a[3],J=8191&Y,Z=Y>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],fe=8191&ce,de=ce>>>13,he=0|a[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,H))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(p,q),i=(i=Math.imul(p,H))+Math.imul(m,q)|0,o=Math.imul(m,H);var ye=(l+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,$)|0))<<13)|0;l=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,H))+Math.imul(g,q)|0,o=Math.imul(g,H),r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,W)|0;var ge=(l+(r=r+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,V)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(_,q),i=(i=Math.imul(_,H))+Math.imul(w,q)|0,o=Math.imul(w,H),r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,W)|0,r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(d,J)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,H))+Math.imul(k,q)|0,o=Math.imul(k,H),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(y,V)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,Z)|0;var _e=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,H))+Math.imul(E,q)|0,o=Math.imul(E,H),r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,W)|0,r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Z)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(A,q),i=(i=Math.imul(A,H))+Math.imul(P,q)|0,o=Math.imul(P,H),r=r+Math.imul(M,$)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,W)|0,r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,G)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var je=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,se)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,se)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,H))+Math.imul(I,q)|0,o=Math.imul(I,H),r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(P,$)|0,o=o+Math.imul(P,W)|0,r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(E,V)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var xe=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,H))+Math.imul(N,q)|0,o=Math.imul(N,H),r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0;var ke=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,H))+Math.imul(U,q)|0,o=Math.imul(U,H),r=r+Math.imul(B,$)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,W)|0,r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Z)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,Z)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ue)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,$),i=(i=Math.imul(L,W))+Math.imul(U,$)|0,o=Math.imul(U,W),r=r+Math.imul(B,V)|0,i=(i=i+Math.imul(B,G)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(I,J)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Me=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,G))+Math.imul(U,V)|0,o=Math.imul(U,G),r=r+Math.imul(B,J)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,se)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,se)|0,r=r+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Ee=(l+(r=r+Math.imul(y,pe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,Z))+Math.imul(U,J)|0,o=Math.imul(U,Z),r=r+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(k,fe)|0,o=o+Math.imul(k,de)|0;var Oe=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),r=r+Math.imul(B,ne)|0,i=(i=i+Math.imul(B,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(E,fe)|0,o=o+Math.imul(E,de)|0;var Ae=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((o=o+Math.imul(k,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(P,fe)|0,o=o+Math.imul(P,de)|0;var Pe=(l+(r=r+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(B,ue)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(N,ue)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ce=(l+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((o=o+Math.imul(P,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,ue),i=(i=Math.imul(L,le))+Math.imul(U,ue)|0,o=Math.imul(U,le),r=r+Math.imul(B,fe)|0,i=(i=i+Math.imul(B,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Re=(l+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(I,pe)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var Ie=(l+(r=r+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,me)|0)+Math.imul(N,pe)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Te=(l+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,pe)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=be,u[1]=ye,u[2]=ge,u[3]=ve,u[4]=_e,u[5]=we,u[6]=je,u[7]=xe,u[8]=ke,u[9]=Se,u[10]=Me,u[11]=Ee,u[12]=Oe,u[13]=Ae,u[14]=Pe,u[15]=Ce,u[16]=Re,u[17]=Ie,u[18]=Te,0!==l&&(u[19]=l,n.length++),n};function y(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n._strip()}function g(e,t,n){return y(e,t,n)}function v(e,t){this.x=e,this.y=t}Math.imul||(b=m),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?b(this,e,t):n<63?m(this,e,t):n<1024?y(this,e,t):g(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},v.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,n+=o/67108864|0,n+=s>>>26,this.words[i]=67108863&s}return 0!==n&&(this.words[i]=n,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i&1}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-o|f>>>o,c=f&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this._strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,u=r.length-i.length;if("mod"!==t){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);a&&(a.words[f]=d)}return a&&a._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(n*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var n=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*n;this.words[i]=o/e|0,n=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(f)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(f)),a.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this._strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new M(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var _={k256:null,p224:null,p192:null,p25519:null};function w(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function j(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function x(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function M(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){M.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 o(null);return e.words=new Array(Math.ceil(this.n/13)),e},w.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},w.prototype.split=function(e,t){e.iushrn(this.n,0,t)},w.prototype.imulK=function(e){return e.imul(this.k)},i(j,w),j.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},j.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(_[e])return _[e];var t;if("k256"===e)t=new j;else if("p224"===e)t=new x;else if("p192"===e)t=new k;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new S}return _[e]=t,t},M.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},M.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},M.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},M.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},M.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},M.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},M.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},M.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},M.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},M.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},M.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},M.prototype.isqr=function(e){return this.imul(e,e.clone())},M.prototype.sqr=function(e){return this.mul(e,e)},M.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=s;0!==h.cmp(a);){for(var m=h,b=0;0!==m.cmp(a);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===r&&0===c)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}u=26}return i},M.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},M.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},i(E,M),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("../../node_modules/webpack/buildin/module.js")(e))},"../../node_modules/browserify-sign/node_modules/browserify-rsa/index.js":function(e,t,n){(function(t){var r=n("../../node_modules/browserify-sign/node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/randombytes/browser.js");function o(e){var t,n=e.modulus.byteLength();do{t=new r(i(n))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,n){var i=function(e){var t=o(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(n),s=n.modulus.byteLength(),a=new r(e).mul(i.blinder).umod(n.modulus),u=a.toRed(r.mont(n.prime1)),l=a.toRed(r.mont(n.prime2)),c=n.coefficient,f=n.prime1,d=n.prime2,h=u.redPow(n.exponent1).fromRed(),p=l.redPow(n.exponent2).fromRed(),m=h.isub(p).imul(c).umod(f).imul(d);return p.iadd(m).imul(i.unblinder).umod(n.modulus).toArrayLike(t,"be",s)}s.getr=o,e.exports=s}).call(this,n("../../node_modules/buffer/index.js").Buffer)},"../../node_modules/browserify-sign/node_modules/parse-asn1/aesid.json":function(e){e.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"}')},"../../node_modules/browserify-sign/node_modules/parse-asn1/asn1.js":function(e,t,n){"use strict";var r=n("../../node_modules/browserify-sign/node_modules/asn1.js/lib/asn1.js");t.certificate=n("../../node_modules/browserify-sign/node_modules/parse-asn1/certificate.js");var i=r.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())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var a=r.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())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var l=r.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())}));t.EncryptedPrivateKey=l;var c=r.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())}));t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var f=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=f;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"../../node_modules/browserify-sign/node_modules/parse-asn1/certificate.js":function(e,t,n){"use strict";var r=n("../../node_modules/browserify-sign/node_modules/asn1.js/lib/asn1.js"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),u=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),l=r.define("RDNSequence",(function(){this.seqof(u)})),c=r.define("Name",(function(){this.choice({rdnSequence:this.use(l)})})),f=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(c),this.key("validity").use(f),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));e.exports=p},"../../node_modules/browserify-sign/node_modules/parse-asn1/fixProc.js":function(e,t,n){var r=/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,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,s=n("../../node_modules/evp_bytestokey/index.js"),a=n("../../node_modules/browserify-aes/browser.js"),u=n("../../node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t){var n,l=e.toString(),c=l.match(r);if(c){var f="aes"+c[1],d=u.from(c[2],"hex"),h=u.from(c[3].replace(/[\r\n]/g,""),"base64"),p=s(t,d.slice(0,8),parseInt(c[1],10)).key,m=[],b=a.createDecipheriv(f,p,d);m.push(b.update(h)),m.push(b.final()),n=u.concat(m)}else{var y=l.match(o);n=u.from(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(i)[1],data:n}}},"../../node_modules/browserify-sign/node_modules/parse-asn1/index.js":function(e,t,n){var r=n("../../node_modules/browserify-sign/node_modules/parse-asn1/asn1.js"),i=n("../../node_modules/browserify-sign/node_modules/parse-asn1/aesid.json"),o=n("../../node_modules/browserify-sign/node_modules/parse-asn1/fixProc.js"),s=n("../../node_modules/browserify-aes/browser.js"),a=n("../../node_modules/pbkdf2/browser.js"),u=n("../../node_modules/safe-buffer/index.js").Buffer;function l(e){var t;"object"!=typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=u.from(e));var n,l,c=o(e,t),f=c.tag,d=c.data;switch(f){case"CERTIFICATE":l=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=r.PublicKey.decode(d,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=r.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"ENCRYPTED PRIVATE KEY":d=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,d=a.pbkdf2Sync(t,n,r,f,"sha1"),h=s.createDecipheriv(o,d,l),p=[];return p.push(h.update(c)),p.push(h.final()),u.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),t);case"PRIVATE KEY":switch(n=(l=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:r.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=r.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+f)}}e.exports=l,l.signature=r.signature},"../../node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js":function(e,t,n){"use strict";var r={};function i(e,t,n){n||(n=Error);var i=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);i.prototype.name=n.name,i.prototype.code=e,r[e]=i}function o(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}i("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),i("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,s,a;if("string"==typeof t&&(i="not ",t.substr(!s||s<0?0:+s,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(o(t,"type"));else{var u=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(u," ").concat(r," ").concat(o(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),i("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),i("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),i("ERR_STREAM_PREMATURE_CLOSE","Premature close"),i("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),i("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),i("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),i("ERR_STREAM_WRITE_AFTER_END","write after end"),i("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),i("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),i("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=r},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js":function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=l;var i=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js"),o=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js");n("../../node_modules/inherits/inherits_browser.js")(l,i);for(var s=r(o.prototype),a=0;a0)if("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=function(e){return a.from(e)}(t)),r)s.endEmitted?j(e,new w):E(e,s,t,!0);else if(s.ended)j(e,new v);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?E(e,s,t,!1):C(e,s)):E(e,s,t,!1)}else r||(s.reading=!1,C(e,s));return!s.ended&&(s.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=1073741824?e=1073741824:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;l("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(l("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(P,e))}function P(e){var t=e._readableState;l("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,N(e)}function C(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(R,e,t))}function R(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function T(e){l("readable nexttick read 0"),e.read(0)}function B(e,t){l("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),N(e),t.flowing&&!t.reading&&e.read(0)}function N(e){var t=e._readableState;for(l("flow",t.flowing);t.flowing&&null!==e.read(););}function D(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function L(e){var t=e._readableState;l("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(U,t,e))}function U(e,t){if(l("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function F(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return l("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?L(this):A(this),null;if(0===(e=O(e,t))&&t.ended)return 0===t.length&&L(this),null;var r,i=t.needReadable;return l("need readable",i),(0===t.length||t.length-e0?D(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&L(this)),null!==r&&this.emit("data",r),r},S.prototype._read=function(e){j(this,new _("_read()"))},S.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,l("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:b;function a(t,r){l("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,l("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",h),e.removeListener("unpipe",a),n.removeListener("end",u),n.removeListener("end",b),n.removeListener("data",d),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function u(){l("onend"),e.end()}i.endEmitted?r.nextTick(s):n.once("end",s),e.on("unpipe",a);var c=function(e){return function(){var t=e._readableState;l("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,N(e))}}(n);e.on("drain",c);var f=!1;function d(t){l("ondata");var r=e.write(t);l("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!f&&(l("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function h(t){l("onerror",t),b(),e.removeListener("error",h),0===o(e,"error")&&j(e,t)}function p(){e.removeListener("finish",m),b()}function m(){l("onfinish"),e.removeListener("close",p),b()}function b(){l("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",p),e.once("finish",m),e.emit("pipe",n),i.flowing||(l("pipe resume"),n.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,l("on readable",i.length,i.reading),i.length?A(this):i.reading||r.nextTick(T,this))),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(I,this),n},S.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(I,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(l("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(B,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(l("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(l("wrapped data"),n.decoder&&(i=n.decoder.write(i)),n.objectMode&&null==i)||(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new w(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new m("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,n){t.ending=!0,C(e,t),n&&(t.finished?r.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=f.destroy,S.prototype._undestroy=f.undestroy,S.prototype._destroy=function(e,t){t(e)}}).call(this,n("../../node_modules/webpack/buildin/global.js"),n("../../node_modules/process/browser.js"))},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/async_iterator.js":function(e,t,n){"use strict";(function(t){var r;function i(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),s=Symbol("lastResolve"),a=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),c=Symbol("lastPromise"),f=Symbol("handlePromise"),d=Symbol("stream");function h(e,t){return{value:e,done:t}}function p(e){var t=e[s];if(null!==t){var n=e[d].read();null!==n&&(e[c]=null,e[s]=null,e[a]=null,t(h(n,!1)))}}function m(e){t.nextTick(p,e)}var b=Object.getPrototypeOf((function(){})),y=Object.setPrototypeOf((i(r={get stream(){return this[d]},next:function(){var e=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[l])return Promise.resolve(h(void 0,!0));if(this[d].destroyed)return new Promise((function(n,r){t.nextTick((function(){e[u]?r(e[u]):n(h(void 0,!0))}))}));var r,i=this[c];if(i)r=new Promise(function(e,t){return function(n,r){e.then((function(){t[l]?n(h(void 0,!0)):t[f](n,r)}),r)}}(i,this));else{var o=this[d].read();if(null!==o)return Promise.resolve(h(o,!1));r=new Promise(this[f])}return this[c]=r,r}},Symbol.asyncIterator,(function(){return this})),i(r,"return",(function(){var e=this;return new Promise((function(t,n){e[d].destroy(null,(function(e){e?n(e):t(h(void 0,!0))}))}))})),r),b);e.exports=function(e){var t,n=Object.create(y,(i(t={},d,{value:e,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,a,{value:null,writable:!0}),i(t,u,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,f,{value:function(e,t){var r=n[d].read();r?(n[c]=null,n[s]=null,n[a]=null,e(h(r,!1))):(n[s]=e,n[a]=t)},writable:!0}),t));return n[c]=null,o(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=n[a];return null!==t&&(n[c]=null,n[s]=null,n[a]=null,t(e)),void(n[u]=e)}var r=n[s];null!==r&&(n[c]=null,n[s]=null,n[a]=null,r(h(void 0,!0))),n[l]=!0})),e.on("readable",m.bind(null,n)),n}}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/buffer_list.js":function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t,n,r,i=u.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,n=i,r=s,u.prototype.copy.call(t,n,r),s+=o.data.length,o=o.next;return i}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:c,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}()},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/destroy.js":function(e,t,n){"use strict";(function(t){function n(e,t){i(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,o){var s=this,a=this._readableState&&this._readableState.destroyed,u=this._writableState&&this._writableState.destroyed;return a||u?(o?o(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(i,this,e)):t.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!o&&e?s._writableState?s._writableState.errorEmitted?t.nextTick(r,s):(s._writableState.errorEmitted=!0,t.nextTick(n,s,e)):t.nextTick(n,s,e):o?(t.nextTick(r,s),o(e)):t.nextTick(r,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)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}}}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js":function(e,t,n){"use strict";var r=n("../../node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,n,o){if("function"==typeof n)return e(t,null,n);n||(n={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i0,(function(e){r||(r=e),e&&s.forEach(l),o||(s.forEach(l),i(r))}))}));return t.reduce(c)}},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/state.js":function(e,t,n){"use strict";var r=n("../../node_modules/browserify-sign/node_modules/readable-stream/errors-browser.js").codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,i,n);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},"../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/stream-browser.js":function(e,t,n){e.exports=n("../../node_modules/node-libs-browser/node_modules/events/events.js").EventEmitter},"../../node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js":function(e,t,n){(t=e.exports=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_readable.js")).Stream=t,t.Readable=t,t.Writable=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js"),t.Duplex=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_duplex.js"),t.Transform=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_transform.js"),t.PassThrough=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_passthrough.js"),t.finished=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"),t.pipeline=n("../../node_modules/browserify-sign/node_modules/readable-stream/lib/internal/streams/pipeline.js")},"../../node_modules/buffer-xor/index.js":function(e,t,n){(function(t){e.exports=function(e,n){for(var r=Math.min(e.length,n.length),i=new t(r),o=0;o=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return q(e).length;default:if(r)return F(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return E(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){var o,s=1,a=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,n/=2}function l(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var c=-1;for(o=n;oa&&(n=a-u),o=n;o>=0;o--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function S(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function M(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:l>223?3:l>191?2:1;if(i+f<=n)switch(f){case 1:l<128&&(c=l);break;case 2:128==(192&(o=e[i+1]))&&(u=(31&l)<<6|63&o)>127&&(c=u);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(u=(15&l)<<12|(63&o)<<6|63&s)>2047&&(u<55296||u>57343)&&(c=u);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(u=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&u<1114112&&(c=u)}null===c?(c=65533,f=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(o,s),l=this.slice(r,i),c=e.slice(t,n),f=0;fi)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return v(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return j(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;ir)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function T(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function B(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return o||B(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function D(e,t,n,r,o){return o||B(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||C(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||C(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||C(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||C(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||C(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||C(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||C(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||C(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||C(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||C(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||C(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||R(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):T(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);R(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):T(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):T(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return D(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return D(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}}).call(this,n("../../node_modules/webpack/buildin/global.js"))},"../../node_modules/callsites/index.js":function(e,t,n){"use strict";const r=()=>{const e=Error.prepareStackTrace;Error.prepareStackTrace=(e,t)=>t;const t=(new Error).stack.slice(1);return Error.prepareStackTrace=e,t};e.exports=r,e.exports.default=r},"../../node_modules/capability/es5.js":function(e,t,n){n("../../node_modules/capability/index.js").check("es5")},"../../node_modules/capability/index.js":function(e,t,n){n("../../node_modules/capability/lib/definitions.js"),e.exports=n("../../node_modules/capability/lib/index.js")},"../../node_modules/capability/lib/CapabilityDetector.js":function(e,t){var n=function(){this.tests={},this.cache={}};n.prototype={constructor:n,define:function(e,t){if("string"!=typeof e||!(t instanceof Function))throw new Error("Invalid capability definition.");if(this.tests[e])throw new Error('Duplicated capability definition by "'+e+'".');this.tests[e]=t},check:function(e){if(!this.test(e))throw new Error('The current environment does not support "'+e+'", therefore we cannot continue.')},test:function(e){if(void 0!==this.cache[e])return this.cache[e];if(!this.tests[e])throw new Error('Unknown capability with name "'+e+'".');var t=this.tests[e];return this.cache[e]=!!t(),this.cache[e]}},e.exports=n},"../../node_modules/capability/lib/definitions.js":function(e,t,n){var r=n("../../node_modules/capability/lib/index.js"),i=r.define,o=r.test;i("strict mode",(function(){return void 0===this})),i("arguments.callee.caller",(function(){try{return function(){return arguments.callee.caller}()===arguments.callee}catch(e){return!1}})),i("es5",(function(){return o("Array.prototype.forEach")&&o("Array.prototype.map")&&o("Function.prototype.bind")&&o("Object.create")&&o("Object.defineProperties")&&o("Object.defineProperty")&&o("Object.prototype.hasOwnProperty")})),i("Array.prototype.forEach",(function(){return Array.prototype.forEach})),i("Array.prototype.map",(function(){return Array.prototype.map})),i("Function.prototype.bind",(function(){return Function.prototype.bind})),i("Object.create",(function(){return Object.create})),i("Object.defineProperties",(function(){return Object.defineProperties})),i("Object.defineProperty",(function(){return Object.defineProperty})),i("Object.prototype.hasOwnProperty",(function(){return Object.prototype.hasOwnProperty})),i("Error.captureStackTrace",(function(){return Error.captureStackTrace})),i("Error.prototype.stack",(function(){try{throw new Error}catch(e){return e.stack||e.stacktrace}}))},"../../node_modules/capability/lib/index.js":function(e,t,n){var r=new(n("../../node_modules/capability/lib/CapabilityDetector.js")),i=function(e){return r.test(e)};i.define=function(e,t){r.define(e,t)},i.check=function(e){r.check(e)},i.test=i,e.exports=i},"../../node_modules/cipher-base/index.js":function(e,t,n){var r=n("../../node_modules/safe-buffer/index.js").Buffer,i=n("../../node_modules/node-libs-browser/node_modules/stream-browserify/index.js").Transform,o=n("../../node_modules/string_decoder/lib/string_decoder.js").StringDecoder;function s(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}n("../../node_modules/inherits/inherits_browser.js")(s,i),s.prototype.update=function(e,t,n){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(n&&(i=this._toString(i,n)),i)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(e,t,n){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{n(r)}},s.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},s.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},s.prototype._toString=function(e,t,n){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var r=this._decoder.write(e);return n&&(r+=this._decoder.end()),r},e.exports=s},"../../node_modules/color-convert/conversions.js":function(e,t,n){var r=n("../../node_modules/color-convert/node_modules/color-name/index.js"),i={};for(var o in r)r.hasOwnProperty(o)&&(i[r[o]]=o);var s=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in s)if(s.hasOwnProperty(a)){if(!("channels"in s[a]))throw new Error("missing channels property: "+a);if(!("labels"in s[a]))throw new Error("missing channel labels property: "+a);if(s[a].labels.length!==s[a].channels)throw new Error("channel and label counts mismatch: "+a);var u=s[a].channels,l=s[a].labels;delete s[a].channels,delete s[a].labels,Object.defineProperty(s[a],"channels",{value:u}),Object.defineProperty(s[a],"labels",{value:l})}s.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.min(r,i,o),a=Math.max(r,i,o),u=a-s;return a===s?t=0:r===a?t=(i-o)/u:i===a?t=2+(o-r)/u:o===a&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360),n=(s+a)/2,[t,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},s.rgb.hsv=function(e){var t,n,r,i,o,s=e[0]/255,a=e[1]/255,u=e[2]/255,l=Math.max(s,a,u),c=l-Math.min(s,a,u),f=function(e){return(l-e)/6/c+.5};return 0===c?i=o=0:(o=c/l,t=f(s),n=f(a),r=f(u),s===l?i=r-n:a===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},s.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[s.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},s.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},s.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,o,s,a=1/0;for(var u in r)if(r.hasOwnProperty(u)){var l=r[u],c=(o=e,s=l,Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)+Math.pow(o[2]-s[2],2));c.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},s.rgb.lab=function(e){var t=s.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},s.hsl.rgb=function(e){var t,n,r,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return[o=255*u,o,o];t=2*u-(n=u<.5?u*(1+a):u+a-u*a),i=[0,0,0];for(var l=0;l<3;l++)(r=s+1/3*-(l-1))<0&&r++,r>1&&r--,o=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i},s.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},s.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),s=255*r*(1-n),a=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},s.hsv.hsl=function(e){var t,n,r,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return r=(2-o)*s,n=o*a,[i,100*(n=(n/=(t=(2-o)*a)<=1?t:2-t)||0),100*(r/=2)]},s.hwb.rgb=function(e){var t,n,r,i,o,s,a,u=e[0]/360,l=e[1]/100,c=e[2]/100,f=l+c;switch(f>1&&(l/=f,c/=f),r=6*u-(t=Math.floor(6*u)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-c)-l),t){default:case 6:case 0:o=n,s=i,a=l;break;case 1:o=i,s=n,a=l;break;case 2:o=l,s=n,a=i;break;case 3:o=l,s=i,a=n;break;case 4:o=i,s=l,a=n;break;case 5:o=n,s=l,a=i}return[255*o,255*s,255*a]},s.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},s.xyz.rgb=function(e){var t,n,r,i=e[0]/100,o=e[1]/100,s=e[2]/100;return n=-.9689*i+1.8758*o+.0415*s,r=.0557*i+-.204*o+1.057*s,t=(t=3.2406*i+-1.5372*o+-.4986*s)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},s.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},s.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var o=Math.pow(n,3),s=Math.pow(t,3),a=Math.pow(r,3);return n=o>.008856?o:(n-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,r=a>.008856?a:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},s.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},s.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},s.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},s.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,o=Math.max(Math.max(n,r),i),s=Math.min(Math.min(n,r),i),a=o-s;return t=a<=0?0:o===n?(r-i)/a%6:o===r?2+(i-n)/a:4+(n-r)/a+4,t/=6,[360*(t%=1),100*a,100*(a<1?s/(1-a):0)]},s.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},s.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},s.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],s=t%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},s.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},s.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},s.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},s.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},"../../node_modules/color-convert/index.js":function(e,t,n){var r=n("../../node_modules/color-convert/conversions.js"),i=n("../../node_modules/color-convert/route.js"),o={};Object.keys(r).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var r=t[n];o[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))})),e.exports=o},"../../node_modules/color-convert/node_modules/color-name/index.js":function(e,t,n){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"../../node_modules/color-convert/route.js":function(e,t,n){var r=n("../../node_modules/color-convert/conversions.js");function i(e){var t=function(){for(var e={},t=Object.keys(r),n=t.length,i=0;in)?t=("rmd160"===e?new u:l(e)).update(t).digest():t.length64?t=e(t):t.length<64&&(t=i.concat([t,s],64));for(var n=this._ipad=i.allocUnsafe(64),r=this._opad=i.allocUnsafe(64),a=0;a<64;a++)n[a]=54^t[a],r[a]=92^t[a];this._hash=[n]}r(a,o),a.prototype._update=function(e){this._hash.push(e)},a.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=a},"../../node_modules/crypto-browserify/index.js":function(e,t,n){"use strict";t.randomBytes=t.rng=t.pseudoRandomBytes=t.prng=n("../../node_modules/randombytes/browser.js"),t.createHash=t.Hash=n("../../node_modules/create-hash/browser.js"),t.createHmac=t.Hmac=n("../../node_modules/create-hmac/browser.js");var r=n("../../node_modules/browserify-sign/algos.js"),i=Object.keys(r),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);t.getHashes=function(){return o};var s=n("../../node_modules/pbkdf2/browser.js");t.pbkdf2=s.pbkdf2,t.pbkdf2Sync=s.pbkdf2Sync;var a=n("../../node_modules/browserify-cipher/browser.js");t.Cipher=a.Cipher,t.createCipher=a.createCipher,t.Cipheriv=a.Cipheriv,t.createCipheriv=a.createCipheriv,t.Decipher=a.Decipher,t.createDecipher=a.createDecipher,t.Decipheriv=a.Decipheriv,t.createDecipheriv=a.createDecipheriv,t.getCiphers=a.getCiphers,t.listCiphers=a.listCiphers;var u=n("../../node_modules/diffie-hellman/browser.js");t.DiffieHellmanGroup=u.DiffieHellmanGroup,t.createDiffieHellmanGroup=u.createDiffieHellmanGroup,t.getDiffieHellman=u.getDiffieHellman,t.createDiffieHellman=u.createDiffieHellman,t.DiffieHellman=u.DiffieHellman;var l=n("../../node_modules/browserify-sign/browser/index.js");t.createSign=l.createSign,t.Sign=l.Sign,t.createVerify=l.createVerify,t.Verify=l.Verify,t.createECDH=n("../../node_modules/create-ecdh/browser.js");var c=n("../../node_modules/public-encrypt/browser.js");t.publicEncrypt=c.publicEncrypt,t.privateEncrypt=c.privateEncrypt,t.publicDecrypt=c.publicDecrypt,t.privateDecrypt=c.privateDecrypt;var f=n("../../node_modules/randomfill/browser.js");t.randomFill=f.randomFill,t.randomFillSync=f.randomFillSync,t.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},t.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}},"../../node_modules/d/auto-bind.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/type/value/is.js"),o=n("../../node_modules/type/value/ensure.js"),s=n("../../node_modules/type/plain-function/ensure.js"),a=n("../../node_modules/es5-ext/object/copy.js"),u=n("../../node_modules/es5-ext/object/normalize-options.js"),l=n("../../node_modules/es5-ext/object/map.js"),c=Function.prototype.bind,f=Object.defineProperty,d=Object.prototype.hasOwnProperty;r=function(e,t,n){var r,i=o(t)&&s(t.value);return delete(r=a(t)).writable,delete r.value,r.get=function(){return!n.overwriteDefinition&&d.call(this,e)?i:(t.value=c.call(i,n.resolveContext?n.resolveContext(this):this),f(this,e,t),this[e])},r},e.exports=function(e){var t=u(arguments[1]);return i(t.resolveContext)&&s(t.resolveContext),l(e,(function(e,n){return r(n,e,t)}))}},"../../node_modules/d/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/value/is.js"),i=n("../../node_modules/type/plain-function/is.js"),o=n("../../node_modules/es5-ext/object/assign/index.js"),s=n("../../node_modules/es5-ext/object/normalize-options.js"),a=n("../../node_modules/es5-ext/string/#/contains/index.js");(e.exports=function(e,t){var n,i,u,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],r(e)?(n=a.call(e,"c"),i=a.call(e,"e"),u=a.call(e,"w")):(n=u=!0,i=!1),c={value:t,configurable:n,enumerable:i,writable:u},l?o(s(l),c):c}).gs=function(e,t,n){var u,l,c,f;return"string"!=typeof e?(c=n,n=t,t=e,e=null):c=arguments[3],r(t)?i(t)?r(n)?i(n)||(c=n,n=void 0):n=void 0:(c=t,t=n=void 0):t=void 0,r(e)?(u=a.call(e,"c"),l=a.call(e,"e")):(u=!0,l=!1),f={get:t,set:n,configurable:u,enumerable:l},c?o(s(c),f):f}},"../../node_modules/des.js/lib/des.js":function(e,t,n){"use strict";t.utils=n("../../node_modules/des.js/lib/des/utils.js"),t.Cipher=n("../../node_modules/des.js/lib/des/cipher.js"),t.DES=n("../../node_modules/des.js/lib/des/des.js"),t.CBC=n("../../node_modules/des.js/lib/des/cbc.js"),t.EDE=n("../../node_modules/des.js/lib/des/ede.js")},"../../node_modules/des.js/lib/des/cbc.js":function(e,t,n){"use strict";var r=n("../../node_modules/minimalistic-assert/index.js"),i=n("../../node_modules/inherits/inherits_browser.js"),o={};function s(e){r.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t0;r--)t+=this._buffer(e,t),n+=this._flushBuffer(i,n);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,n;return e&&(t=this.update(e)),n="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(n):n},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t>>1];n=s.r28shl(n,a),i=s.r28shl(i,a),s.pc2(n,i,e.keys,o)}},l.prototype._update=function(e,t,n,r){var i=this._desState,o=s.readUInt32BE(e,t),a=s.readUInt32BE(e,t+4);s.ip(o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],"encrypt"===this.type?this._encrypt(i,o,a,i.tmp,0):this._decrypt(i,o,a,i.tmp,0),o=i.tmp[0],a=i.tmp[1],s.writeUInt32BE(n,o,r),s.writeUInt32BE(n,a,r+4)},l.prototype._pad=function(e,t){for(var n=e.length-t,r=t;r>>0,o=d}s.rip(a,o,r,i)},l.prototype._decrypt=function(e,t,n,r,i){for(var o=n,a=t,u=e.keys.length-2;u>=0;u-=2){var l=e.keys[u],c=e.keys[u+1];s.expand(o,e.tmp,0),l^=e.tmp[0],c^=e.tmp[1];var f=s.substitute(l,c),d=o;o=(a^s.permute(f))>>>0,a=d}s.rip(o,a,r,i)}},"../../node_modules/des.js/lib/des/ede.js":function(e,t,n){"use strict";var r=n("../../node_modules/minimalistic-assert/index.js"),i=n("../../node_modules/inherits/inherits_browser.js"),o=n("../../node_modules/des.js/lib/des.js"),s=o.Cipher,a=o.DES;function u(e,t){r.equal(t.length,24,"Invalid key length");var n=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:n}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:n})]}function l(e){s.call(this,e);var t=new u(this.type,this.options.key);this._edeState=t}i(l,s),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,n,r){var i=this._edeState;i.ciphers[0]._update(e,t,n,r),i.ciphers[1]._update(n,r,n,r),i.ciphers[2]._update(n,r,n,r)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},"../../node_modules/des.js/lib/des/utils.js":function(e,t,n){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,n){e[0+n]=t>>>24,e[1+n]=t>>>16&255,e[2+n]=t>>>8&255,e[3+n]=255&t},t.ip=function(e,t,n,r){for(var i=0,o=0,s=6;s>=0;s-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>>a+s&1}for(s=6;s>=0;s-=2){for(a=1;a<=25;a+=8)o<<=1,o|=t>>>a+s&1;for(a=1;a<=25;a+=8)o<<=1,o|=e>>>a+s&1}n[r+0]=i>>>0,n[r+1]=o>>>0},t.rip=function(e,t,n,r){for(var i=0,o=0,s=0;s<4;s++)for(var a=24;a>=0;a-=8)i<<=1,i|=t>>>a+s&1,i<<=1,i|=e>>>a+s&1;for(s=4;s<8;s++)for(a=24;a>=0;a-=8)o<<=1,o|=t>>>a+s&1,o<<=1,o|=e>>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.pc1=function(e,t,n,r){for(var i=0,o=0,s=7;s>=5;s--){for(var a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(a=0;a<=24;a+=8)i<<=1,i|=e>>a+s&1}for(a=0;a<=24;a+=8)i<<=1,i|=t>>a+s&1;for(s=1;s<=3;s++){for(a=0;a<=24;a+=8)o<<=1,o|=t>>a+s&1;for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1}for(a=0;a<=24;a+=8)o<<=1,o|=e>>a+s&1;n[r+0]=i>>>0,n[r+1]=o>>>0},t.r28shl=function(e,t){return e<>>28-t};var r=[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];t.pc2=function(e,t,n,i){for(var o=0,s=0,a=r.length>>>1,u=0;u>>r[u]&1;for(u=a;u>>r[u]&1;n[i+0]=o>>>0,n[i+1]=s>>>0},t.expand=function(e,t,n){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[n+0]=r>>>0,t[n+1]=i>>>0};var i=[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];t.substitute=function(e,t){for(var n=0,r=0;r<4;r++){n<<=4,n|=i[64*r+(e>>>18-6*r&63)]}for(r=0;r<4;r++){n<<=4,n|=i[256+64*r+(t>>>18-6*r&63)]}return n>>>0};var o=[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];t.permute=function(e){for(var t=0,n=0;n>>o[n]&1;return t>>>0},t.padSplit=function(e,t,n){for(var r=e.toString(2);r.lengthe;)n.ishrn(1);if(n.isEven()&&n.iadd(a),n.testn(1)||n.iadd(u),t.cmp(u)){if(!t.cmp(l))for(;n.mod(c).cmp(f);)n.iadd(h)}else for(;n.mod(o).cmp(d);)n.iadd(h);if(b(p=n.shrn(1))&&b(n)&&y(p)&&y(n)&&s.test(p)&&s.test(n))return n}}},"../../node_modules/diffie-hellman/lib/primes.json":function(e){e.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"}}')},"../../node_modules/elliptic/lib/elliptic.js":function(e,t,n){"use strict";var r=t;r.version=n("../../node_modules/elliptic/package.json").version,r.utils=n("../../node_modules/elliptic/lib/elliptic/utils.js"),r.rand=n("../../node_modules/brorand/index.js"),r.curve=n("../../node_modules/elliptic/lib/elliptic/curve/index.js"),r.curves=n("../../node_modules/elliptic/lib/elliptic/curves.js"),r.ec=n("../../node_modules/elliptic/lib/elliptic/ec/index.js"),r.eddsa=n("../../node_modules/elliptic/lib/elliptic/eddsa/index.js")},"../../node_modules/elliptic/lib/elliptic/curve/base.js":function(e,t,n){"use strict";var r=n("../../node_modules/elliptic/node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/elliptic/lib/elliptic/utils.js"),o=i.getNAF,s=i.getJSF,a=i.assert;function u(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.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 l(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=u,u.prototype.point=function(){throw new Error("Not implemented")},u.prototype.validate=function(){throw new Error("Not implemented")},u.prototype._fixedNafMul=function(e,t){a(e.precomputed);var n=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<=s;c--)u=(u<<1)+r[c];l.push(u)}for(var f=this.jpoint(null,null,null),d=this.jpoint(null,null,null),h=i;h>0;h--){for(s=0;s=0;l--){for(var c=0;l>=0&&0===s[l];l--)c++;if(l>=0&&c++,u=u.dblp(c),l<0)break;var f=s[l];a(0!==f),u="affine"===e.type?f>0?u.mixedAdd(i[f-1>>1]):u.mixedAdd(i[-f-1>>1].neg()):f>0?u.add(i[f-1>>1]):u.add(i[-f-1>>1].neg())}return"affine"===e.type?u.toP():u},u.prototype._wnafMulAdd=function(e,t,n,r,i){var a,u,l,c=this._wnafT1,f=this._wnafT2,d=this._wnafT3,h=0;for(a=0;a=1;a-=2){var m=a-1,b=a;if(1===c[m]&&1===c[b]){var y=[t[m],null,null,t[b]];0===t[m].y.cmp(t[b].y)?(y[1]=t[m].add(t[b]),y[2]=t[m].toJ().mixedAdd(t[b].neg())):0===t[m].y.cmp(t[b].y.redNeg())?(y[1]=t[m].toJ().mixedAdd(t[b]),y[2]=t[m].add(t[b].neg())):(y[1]=t[m].toJ().mixedAdd(t[b]),y[2]=t[m].toJ().mixedAdd(t[b].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=s(n[m],n[b]);for(h=Math.max(v[0].length,h),d[m]=new Array(h),d[b]=new Array(h),u=0;u=0;a--){for(var k=0;a>=0;){var S=!0;for(u=0;u=0&&k++,j=j.dblp(k),a<0)break;for(u=0;u0?l=f[u][M-1>>1]:M<0&&(l=f[u][-M-1>>1].neg()),j="affine"===l.type?j.mixedAdd(l):j.add(l))}}for(a=0;a=Math.ceil((e.bitLength()+1)/t.step)},l.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var n=[this],r=this,i=0;i":""},l.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},l.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),n=this.z.redSqr();n=n.redIAdd(n);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),s=o.redSub(n),a=r.redSub(t),u=i.redMul(s),l=o.redMul(a),c=i.redMul(a),f=s.redMul(o);return this.curve.point(u,l,f,c)},l.prototype._projDbl=function(){var e,t,n,r,i,o,s=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),u=this.y.redSqr();if(this.curve.twisted){var l=(r=this.curve._mulA(a)).redAdd(u);this.zOne?(e=s.redSub(a).redSub(u).redMul(l.redSub(this.curve.two)),t=l.redMul(r.redSub(u)),n=l.redSqr().redSub(l).redSub(l)):(i=this.z.redSqr(),o=l.redSub(i).redISub(i),e=s.redSub(a).redISub(u).redMul(o),t=l.redMul(r.redSub(u)),n=l.redMul(o))}else r=a.redAdd(u),i=this.curve._mulC(this.z).redSqr(),o=r.redSub(i).redSub(i),e=this.curve._mulC(s.redISub(r)).redMul(o),t=this.curve._mulC(r).redMul(a.redISub(u)),n=r.redMul(o);return this.curve.point(e,t,n)},l.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},l.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),n=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=n.redSub(t),s=i.redSub(r),a=i.redAdd(r),u=n.redAdd(t),l=o.redMul(s),c=a.redMul(u),f=o.redMul(u),d=s.redMul(a);return this.curve.point(l,c,d,f)},l.prototype._projAdd=function(e){var t,n,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),s=this.y.redMul(e.y),a=this.curve.d.redMul(o).redMul(s),u=i.redSub(a),l=i.redAdd(a),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(s),f=r.redMul(u).redMul(c);return this.curve.twisted?(t=r.redMul(l).redMul(s.redSub(this.curve._mulA(o))),n=u.redMul(l)):(t=r.redMul(l).redMul(s.redSub(o)),n=this.curve._mulC(u).redMul(l)),this.curve.point(f,t,n)},l.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},l.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!1)},l.prototype.jmulAdd=function(e,t,n){return this.curve._wnafMulAdd(1,[this,t],[e,n],2,!0)},l.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},l.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()},l.prototype.getY=function(){return this.normalize(),this.y.fromRed()},l.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},l.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var n=e.clone(),r=this.curve.redN.redMul(this.z);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},l.prototype.toP=l.prototype.normalize,l.prototype.mixedAdd=l.prototype.add},"../../node_modules/elliptic/lib/elliptic/curve/index.js":function(e,t,n){"use strict";var r=t;r.base=n("../../node_modules/elliptic/lib/elliptic/curve/base.js"),r.short=n("../../node_modules/elliptic/lib/elliptic/curve/short.js"),r.mont=n("../../node_modules/elliptic/lib/elliptic/curve/mont.js"),r.edwards=n("../../node_modules/elliptic/lib/elliptic/curve/edwards.js")},"../../node_modules/elliptic/lib/elliptic/curve/mont.js":function(e,t,n){"use strict";var r=n("../../node_modules/elliptic/node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/inherits/inherits_browser.js"),o=n("../../node_modules/elliptic/lib/elliptic/curve/base.js"),s=n("../../node_modules/elliptic/lib/elliptic/utils.js");function a(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function u(e,t,n){o.BasePoint.call(this,e,"projective"),null===t&&null===n?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(n,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(a,o),e.exports=a,a.prototype.validate=function(e){var t=e.normalize().x,n=t.redSqr(),r=n.redMul(t).redAdd(n.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(u,o.BasePoint),a.prototype.decodePoint=function(e,t){return this.point(s.toArray(e,t),1)},a.prototype.point=function(e,t){return new u(this,e,t)},a.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},u.prototype.precompute=function(){},u.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},u.fromJSON=function(e,t){return new u(e,t[0],t[1]||e.one)},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},u.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),n=e.redSub(t),r=e.redMul(t),i=n.redMul(t.redAdd(this.curve.a24.redMul(n)));return this.curve.point(r,i)},u.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.diffAdd=function(e,t){var n=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(n),s=i.redMul(r),a=t.z.redMul(o.redAdd(s).redSqr()),u=t.x.redMul(o.redISub(s).redSqr());return this.curve.point(a,u)},u.prototype.mul=function(e){for(var t=e.clone(),n=this,r=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(n=n.diffAdd(r,this),r=r.dbl()):(r=n.diffAdd(r,this),n=n.dbl());return r},u.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},u.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},u.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},"../../node_modules/elliptic/lib/elliptic/curve/short.js":function(e,t,n){"use strict";var r=n("../../node_modules/elliptic/lib/elliptic/utils.js"),i=n("../../node_modules/elliptic/node_modules/bn.js/lib/bn.js"),o=n("../../node_modules/inherits/inherits_browser.js"),s=n("../../node_modules/elliptic/lib/elliptic/curve/base.js"),a=r.assert;function u(e){s.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(e,t,n,r){s.BasePoint.call(this,e,"affine"),null===t&&null===n?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(n,16),r&&(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 c(e,t,n,r){s.BasePoint.call(this,e,"jacobian"),null===t&&null===n&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(n,16),this.z=new i(r,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(u,s),e.exports=u,u.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,n;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var r=this._getEndoRoots(this.p);t=(t=r[0].cmp(r[1])<0?r[0]:r[1]).toRed(this.red)}if(e.lambda)n=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?n=o[0]:(n=o[1],a(0===this.g.mul(n).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:n,basis:e.basis?e.basis.map((function(e){return{a:new i(e.a,16),b:new i(e.b,16)}})):this._getEndoBasis(n)}}},u.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),n=new i(2).toRed(t).redInvm(),r=n.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(n);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},u.prototype._getEndoBasis=function(e){for(var t,n,r,o,s,a,u,l,c,f=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=e,h=this.n.clone(),p=new i(1),m=new i(0),b=new i(0),y=new i(1),g=0;0!==d.cmpn(0);){var v=h.div(d);l=h.sub(v.mul(d)),c=b.sub(v.mul(p));var _=y.sub(v.mul(m));if(!r&&l.cmp(f)<0)t=u.neg(),n=p,r=l.neg(),o=c;else if(r&&2==++g)break;u=l,h=d,d=l,b=p,p=c,y=m,m=_}s=l.neg(),a=c;var w=r.sqr().add(o.sqr());return s.sqr().add(a.sqr()).cmp(w)>=0&&(s=t,a=n),r.negative&&(r=r.neg(),o=o.neg()),s.negative&&(s=s.neg(),a=a.neg()),[{a:r,b:o},{a:s,b:a}]},u.prototype._endoSplit=function(e){var t=this.endo.basis,n=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=n.b.neg().mul(e).divRound(this.n),s=i.mul(n.a),a=o.mul(r.a),u=i.mul(n.b),l=o.mul(r.b);return{k1:e.sub(s).sub(a),k2:u.add(l).neg()}},u.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var n=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=n.redSqrt();if(0!==r.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},u.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,n=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===n.redSqr().redISub(i).cmpn(0)},u.prototype._endoWnafMulAdd=function(e,t,n){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var n=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,r)},l.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,n=this.x.redSqr(),r=e.redInvm(),i=n.redAdd(n).redIAdd(n).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},l.prototype.mulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},l.prototype.jmulAdd=function(e,t,n){var r=[this,t],i=[e,n];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},l.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},l.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var n=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:n.naf&&{wnd:n.naf.wnd,points:n.naf.points.map(r)},doubles:n.doubles&&{step:n.doubles.step,points:n.doubles.points.map(r)}}}return t},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,s.BasePoint),u.prototype.jpoint=function(e,t,n){return new c(this,e,t,n)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),n=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(n,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),n=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(n),o=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(n.redMul(this.z)),a=r.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),f=r.redMul(l),d=u.redSqr().redIAdd(c).redISub(f).redISub(f),h=u.redMul(f.redISub(d)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(a);return this.curve.jpoint(d,h,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),n=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),s=n.redSub(r),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),c=n.redMul(u),f=a.redSqr().redIAdd(l).redISub(c).redISub(c),d=a.redMul(c.redISub(f)).redISub(i.redMul(l)),h=this.z.redMul(s);return this.curve.jpoint(f,d,h)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var n=this;for(t=0;t=0)return!1;if(n.redIAdd(i),0===this.x.cmp(n))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"":""},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},"../../node_modules/elliptic/lib/elliptic/curves.js":function(e,t,n){"use strict";var r,i=t,o=n("../../node_modules/hash.js/lib/hash.js"),s=n("../../node_modules/elliptic/lib/elliptic/curve/index.js"),a=n("../../node_modules/elliptic/lib/elliptic/utils.js").assert;function u(e){"short"===e.type?this.curve=new s.short(e):"edwards"===e.type?this.curve=new s.edwards(e):this.curve=new s.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var n=new u(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:n}),n}})}i.PresetCurve=u,l("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"]}),l("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"]}),l("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"]}),l("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"]}),l("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"]}),l("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"]}),l("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{r=n("../../node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js")}catch(e){r=void 0}l("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",r]})},"../../node_modules/elliptic/lib/elliptic/ec/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/elliptic/node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/hmac-drbg/lib/hmac-drbg.js"),o=n("../../node_modules/elliptic/lib/elliptic/utils.js"),s=n("../../node_modules/elliptic/lib/elliptic/curves.js"),a=n("../../node_modules/brorand/index.js"),u=o.assert,l=n("../../node_modules/elliptic/lib/elliptic/ec/key.js"),c=n("../../node_modules/elliptic/lib/elliptic/ec/signature.js");function f(e){if(!(this instanceof f))return new f(e);"string"==typeof e&&(u(Object.prototype.hasOwnProperty.call(s,e),"Unknown curve "+e),e=s[e]),e instanceof s.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=f,f.prototype.keyPair=function(e){return new l(this,e)},f.prototype.keyFromPrivate=function(e,t){return l.fromPrivate(this,e,t)},f.prototype.keyFromPublic=function(e,t){return l.fromPublic(this,e,t)},f.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||a(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),n=this.n.byteLength(),o=this.n.sub(new r(2));;){var s=new r(t.generate(n));if(!(s.cmp(o)>0))return s.iaddn(1),this.keyFromPrivate(s)}},f.prototype._truncateToN=function(e,t,n){var i;if(r.isBN(e)||"number"==typeof e)i=(e=new r(e,16)).byteLength();else if("object"==typeof e)i=e.length,e=new r(e,16);else{var o=e.toString();i=o.length+1>>>1,e=new r(o,16)}"number"!=typeof n&&(n=8*i);var s=n-this.n.bitLength();return s>0&&(e=e.ushrn(s)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},f.prototype.sign=function(e,t,n,o){if("object"==typeof n&&(o=n,n=null),o||(o={}),"string"!=typeof e&&"number"!=typeof e&&!r.isBN(e)){u("object"==typeof e&&e&&"number"==typeof e.length,"Expected message to be an array-like, a hex string, or a BN instance"),u(e.length>>>0===e.length);for(var s=0;s=0)){var b=this.g.mul(m);if(!b.isInfinity()){var y=b.getX(),g=y.umod(this.n);if(0!==g.cmpn(0)){var v=m.invm(this.n).mul(g.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var _=(b.getY().isOdd()?1:0)|(0!==y.cmp(g)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),_^=1),new c({r:g,s:v,recoveryParam:_})}}}}}},f.prototype.verify=function(e,t,n,r,i){i||(i={}),e=this._truncateToN(e,!1,i.msgBitLength),n=this.keyFromPublic(n,r);var o=(t=new c(t,"hex")).r,s=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var a,u=s.invm(this.n),l=u.mul(e).umod(this.n),f=u.mul(o).umod(this.n);return this.curve._maxwellTrick?!(a=this.g.jmulAdd(l,n.getPublic(),f)).isInfinity()&&a.eqXToP(o):!(a=this.g.mulAdd(l,n.getPublic(),f)).isInfinity()&&0===a.getX().umod(this.n).cmp(o)},f.prototype.recoverPubKey=function(e,t,n,i){u((3&n)===n,"The recovery param is more than two bits"),t=new c(t,i);var o=this.n,s=new r(e),a=t.r,l=t.s,f=1&n,d=n>>1;if(a.cmp(this.curve.p.umod(this.curve.n))>=0&&d)throw new Error("Unable to find sencond key candinate");a=d?this.curve.pointFromX(a.add(this.curve.n),f):this.curve.pointFromX(a,f);var h=t.r.invm(o),p=o.sub(s).mul(h).umod(o),m=l.mul(h).umod(o);return this.g.mulAdd(p,a,m)},f.prototype.getKeyRecoveryParam=function(e,t,n,r){if(null!==(t=new c(t,r)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(n))return i}throw new Error("Unable to find valid recovery factor")}},"../../node_modules/elliptic/lib/elliptic/ec/key.js":function(e,t,n){"use strict";var r=n("../../node_modules/elliptic/node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/elliptic/lib/elliptic/utils.js").assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,n){return t instanceof o?t:new o(e,{pub:t,pubEnc:n})},o.fromPrivate=function(e,t,n){return t instanceof o?t:new o(e,{priv:t,privEnc:n})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.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(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,n){return this.ec.sign(e,this,t,n)},o.prototype.verify=function(e,t,n){return this.ec.verify(e,t,this,void 0,n)},o.prototype.inspect=function(){return""}},"../../node_modules/elliptic/lib/elliptic/ec/signature.js":function(e,t,n){"use strict";var r=n("../../node_modules/elliptic/node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/elliptic/lib/elliptic/utils.js"),o=i.assert;function s(e,t){if(e instanceof s)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function a(){this.place=0}function u(e,t){var n=e[t.place++];if(!(128&n))return n;var r=15&n;if(0===r||r>4)return!1;if(0===e[t.place])return!1;for(var i=0,o=0,s=t.place;o>>=0;return!(i<=127)&&(t.place=s,i)}function l(e){for(var t=0,n=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|n);--n;)e.push(t>>>(n<<3)&255);e.push(t)}}e.exports=s,s.prototype._importDER=function(e,t){e=i.toArray(e,t);var n=new a;if(48!==e[n.place++])return!1;var o=u(e,n);if(!1===o)return!1;if(o+n.place!==e.length)return!1;if(2!==e[n.place++])return!1;var s=u(e,n);if(!1===s)return!1;if(0!=(128&e[n.place]))return!1;var l=e.slice(n.place,s+n.place);if(n.place+=s,2!==e[n.place++])return!1;var c=u(e,n);if(!1===c)return!1;if(e.length!==c+n.place)return!1;if(0!=(128&e[n.place]))return!1;var f=e.slice(n.place,c+n.place);if(0===l[0]){if(!(128&l[1]))return!1;l=l.slice(1)}if(0===f[0]){if(!(128&f[1]))return!1;f=f.slice(1)}return this.r=new r(l),this.s=new r(f),this.recoveryParam=null,!0},s.prototype.toDER=function(e){var t=this.r.toArray(),n=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&n[0]&&(n=[0].concat(n)),t=l(t),n=l(n);!(n[0]||128&n[1]);)n=n.slice(1);var r=[2];c(r,t.length),(r=r.concat(t)).push(2),c(r,n.length);var o=r.concat(n),s=[48];return c(s,o.length),s=s.concat(o),i.encode(s,e)}},"../../node_modules/elliptic/lib/elliptic/eddsa/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/hash.js/lib/hash.js"),i=n("../../node_modules/elliptic/lib/elliptic/curves.js"),o=n("../../node_modules/elliptic/lib/elliptic/utils.js"),s=o.assert,a=o.parseBytes,u=n("../../node_modules/elliptic/lib/elliptic/eddsa/key.js"),l=n("../../node_modules/elliptic/lib/elliptic/eddsa/signature.js");function c(e){if(s("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=c,c.prototype.sign=function(e,t){e=a(e);var n=this.keyFromSecret(t),r=this.hashInt(n.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),s=this.hashInt(o,n.pubBytes(),e).mul(n.priv()),u=r.add(s).umod(this.curve.n);return this.makeSignature({R:i,S:u,Rencoded:o})},c.prototype.verify=function(e,t,n){if(e=a(e),(t=this.makeSignature(t)).S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var r=this.keyFromPublic(n),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t(o>>1)-1?(o>>1)-u:u,s.isubn(a)):a=0,i[r]=a,s.iushrn(1)}return i},r.getJSF=function(e,t){var n=[[],[]];e=e.clone(),t=t.clone();for(var r,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var s,a,u=e.andln(3)+i&3,l=t.andln(3)+o&3;3===u&&(u=-1),3===l&&(l=-1),s=0==(1&u)?0:3!==(r=e.andln(7)+i&7)&&5!==r||2!==l?u:-u,n[0].push(s),a=0==(1&l)?0:3!==(r=t.andln(7)+o&7)&&5!==r||2!==u?l:-l,n[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return n},r.cachedProperty=function(e,t,n){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=n.call(this)}},r.parseBytes=function(e){return"string"==typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new i(e,"hex","le")}},"../../node_modules/elliptic/node_modules/bn.js/lib/bn.js":function(e,t,n){(function(e){!function(e,t){"use strict";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}var s;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js").Buffer}catch(e){}function a(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function u(e,t,n){var r=a(e,n);return n-1>=t&&(r|=a(e,n-1)<<4),r}function l(e,t,n,r){for(var i=0,o=Math.min(e.length,n),s=t;s=49?a-49+10:a>=17?a-17+10:a}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)s=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===n)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,n){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=2)i=u(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-n,s=o%r,a=Math.min(o,o-s)+n,u=0,c=n;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?""};var c=["","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"],f=[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 h(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],s=i*o,a=67108863&s,u=s/67108864|0;n.words[0]=a;for(var l=1;l>>26,f=67108863&u,d=Math.min(l,t.length-1),h=Math.max(0,l-e.length+1);h<=d;h++){var p=l-h|0;c+=(s=(i=0|e.words[p])*(o=0|t.words[h])+f)/67108864|0,f=67108863&s}n.words[l]=0|f,u=0|c}return 0!==u?n.words[l]=0|u:n.length--,n.strip()}o.prototype.toString=function(e,t){var n;if(t=0|t||1,16===(e=e||10)||"hex"===e){n="";for(var i=0,o=0,s=0;s>>24-i&16777215)||s!==this.length-1?c[6-u.length]+u+n:u+n,(i+=2)>=26&&(i-=26,s--)}for(0!==o&&(n=o.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var l=f[e],h=d[e];n="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(h).toString(e);n=(p=p.idivn(h)).isZero()?m+n:c[l-m.length]+m+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==s),this.toArrayLike(s,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,n){var i=this.byteLength(),o=n||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0"),this.strip();var s,a,u="le"===t,l=new e(o),c=this.clone();if(u){for(a=0;!c.isZero();a++)s=c.andln(255),c.iushrn(8),l[a]=s;for(;a=4096&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var n=0;ne.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var n,r,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(n=this,r=e):(n=e,r=this);for(var o=0,s=0;s>26,this.words[s]=67108863&t;for(;0!==o&&s>26,this.words[s]=67108863&t;if(0===o&&s>>13,h=0|s[1],p=8191&h,m=h>>>13,b=0|s[2],y=8191&b,g=b>>>13,v=0|s[3],_=8191&v,w=v>>>13,j=0|s[4],x=8191&j,k=j>>>13,S=0|s[5],M=8191&S,E=S>>>13,O=0|s[6],A=8191&O,P=O>>>13,C=0|s[7],R=8191&C,I=C>>>13,T=0|s[8],B=8191&T,N=T>>>13,D=0|s[9],L=8191&D,U=D>>>13,F=0|a[0],q=8191&F,H=F>>>13,z=0|a[1],$=8191&z,W=z>>>13,K=0|a[2],V=8191&K,G=K>>>13,Y=0|a[3],J=8191&Y,Z=Y>>>13,X=0|a[4],Q=8191&X,ee=X>>>13,te=0|a[5],ne=8191&te,re=te>>>13,ie=0|a[6],oe=8191&ie,se=ie>>>13,ae=0|a[7],ue=8191&ae,le=ae>>>13,ce=0|a[8],fe=8191&ce,de=ce>>>13,he=0|a[9],pe=8191&he,me=he>>>13;n.negative=e.negative^t.negative,n.length=19;var be=(l+(r=Math.imul(f,q))|0)+((8191&(i=(i=Math.imul(f,H))+Math.imul(d,q)|0))<<13)|0;l=((o=Math.imul(d,H))+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(p,q),i=(i=Math.imul(p,H))+Math.imul(m,q)|0,o=Math.imul(m,H);var ye=(l+(r=r+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,$)|0))<<13)|0;l=((o=o+Math.imul(d,W)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(y,q),i=(i=Math.imul(y,H))+Math.imul(g,q)|0,o=Math.imul(g,H),r=r+Math.imul(p,$)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,W)|0;var ge=(l+(r=r+Math.imul(f,V)|0)|0)+((8191&(i=(i=i+Math.imul(f,G)|0)+Math.imul(d,V)|0))<<13)|0;l=((o=o+Math.imul(d,G)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(_,q),i=(i=Math.imul(_,H))+Math.imul(w,q)|0,o=Math.imul(w,H),r=r+Math.imul(y,$)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(g,$)|0,o=o+Math.imul(g,W)|0,r=r+Math.imul(p,V)|0,i=(i=i+Math.imul(p,G)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,G)|0;var ve=(l+(r=r+Math.imul(f,J)|0)|0)+((8191&(i=(i=i+Math.imul(f,Z)|0)+Math.imul(d,J)|0))<<13)|0;l=((o=o+Math.imul(d,Z)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(x,q),i=(i=Math.imul(x,H))+Math.imul(k,q)|0,o=Math.imul(k,H),r=r+Math.imul(_,$)|0,i=(i=i+Math.imul(_,W)|0)+Math.imul(w,$)|0,o=o+Math.imul(w,W)|0,r=r+Math.imul(y,V)|0,i=(i=i+Math.imul(y,G)|0)+Math.imul(g,V)|0,o=o+Math.imul(g,G)|0,r=r+Math.imul(p,J)|0,i=(i=i+Math.imul(p,Z)|0)+Math.imul(m,J)|0,o=o+Math.imul(m,Z)|0;var _e=(l+(r=r+Math.imul(f,Q)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,Q)|0))<<13)|0;l=((o=o+Math.imul(d,ee)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,r=Math.imul(M,q),i=(i=Math.imul(M,H))+Math.imul(E,q)|0,o=Math.imul(E,H),r=r+Math.imul(x,$)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(k,$)|0,o=o+Math.imul(k,W)|0,r=r+Math.imul(_,V)|0,i=(i=i+Math.imul(_,G)|0)+Math.imul(w,V)|0,o=o+Math.imul(w,G)|0,r=r+Math.imul(y,J)|0,i=(i=i+Math.imul(y,Z)|0)+Math.imul(g,J)|0,o=o+Math.imul(g,Z)|0,r=r+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var we=(l+(r=r+Math.imul(f,ne)|0)|0)+((8191&(i=(i=i+Math.imul(f,re)|0)+Math.imul(d,ne)|0))<<13)|0;l=((o=o+Math.imul(d,re)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(A,q),i=(i=Math.imul(A,H))+Math.imul(P,q)|0,o=Math.imul(P,H),r=r+Math.imul(M,$)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(E,$)|0,o=o+Math.imul(E,W)|0,r=r+Math.imul(x,V)|0,i=(i=i+Math.imul(x,G)|0)+Math.imul(k,V)|0,o=o+Math.imul(k,G)|0,r=r+Math.imul(_,J)|0,i=(i=i+Math.imul(_,Z)|0)+Math.imul(w,J)|0,o=o+Math.imul(w,Z)|0,r=r+Math.imul(y,Q)|0,i=(i=i+Math.imul(y,ee)|0)+Math.imul(g,Q)|0,o=o+Math.imul(g,ee)|0,r=r+Math.imul(p,ne)|0,i=(i=i+Math.imul(p,re)|0)+Math.imul(m,ne)|0,o=o+Math.imul(m,re)|0;var je=(l+(r=r+Math.imul(f,oe)|0)|0)+((8191&(i=(i=i+Math.imul(f,se)|0)+Math.imul(d,oe)|0))<<13)|0;l=((o=o+Math.imul(d,se)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,r=Math.imul(R,q),i=(i=Math.imul(R,H))+Math.imul(I,q)|0,o=Math.imul(I,H),r=r+Math.imul(A,$)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(P,$)|0,o=o+Math.imul(P,W)|0,r=r+Math.imul(M,V)|0,i=(i=i+Math.imul(M,G)|0)+Math.imul(E,V)|0,o=o+Math.imul(E,G)|0,r=r+Math.imul(x,J)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(k,J)|0,o=o+Math.imul(k,Z)|0,r=r+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(w,Q)|0,o=o+Math.imul(w,ee)|0,r=r+Math.imul(y,ne)|0,i=(i=i+Math.imul(y,re)|0)+Math.imul(g,ne)|0,o=o+Math.imul(g,re)|0,r=r+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,se)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,se)|0;var xe=(l+(r=r+Math.imul(f,ue)|0)|0)+((8191&(i=(i=i+Math.imul(f,le)|0)+Math.imul(d,ue)|0))<<13)|0;l=((o=o+Math.imul(d,le)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(B,q),i=(i=Math.imul(B,H))+Math.imul(N,q)|0,o=Math.imul(N,H),r=r+Math.imul(R,$)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(I,$)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(A,V)|0,i=(i=i+Math.imul(A,G)|0)+Math.imul(P,V)|0,o=o+Math.imul(P,G)|0,r=r+Math.imul(M,J)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(E,J)|0,o=o+Math.imul(E,Z)|0,r=r+Math.imul(x,Q)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(k,Q)|0,o=o+Math.imul(k,ee)|0,r=r+Math.imul(_,ne)|0,i=(i=i+Math.imul(_,re)|0)+Math.imul(w,ne)|0,o=o+Math.imul(w,re)|0,r=r+Math.imul(y,oe)|0,i=(i=i+Math.imul(y,se)|0)+Math.imul(g,oe)|0,o=o+Math.imul(g,se)|0,r=r+Math.imul(p,ue)|0,i=(i=i+Math.imul(p,le)|0)+Math.imul(m,ue)|0,o=o+Math.imul(m,le)|0;var ke=(l+(r=r+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;l=((o=o+Math.imul(d,de)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(L,q),i=(i=Math.imul(L,H))+Math.imul(U,q)|0,o=Math.imul(U,H),r=r+Math.imul(B,$)|0,i=(i=i+Math.imul(B,W)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,W)|0,r=r+Math.imul(R,V)|0,i=(i=i+Math.imul(R,G)|0)+Math.imul(I,V)|0,o=o+Math.imul(I,G)|0,r=r+Math.imul(A,J)|0,i=(i=i+Math.imul(A,Z)|0)+Math.imul(P,J)|0,o=o+Math.imul(P,Z)|0,r=r+Math.imul(M,Q)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(E,Q)|0,o=o+Math.imul(E,ee)|0,r=r+Math.imul(x,ne)|0,i=(i=i+Math.imul(x,re)|0)+Math.imul(k,ne)|0,o=o+Math.imul(k,re)|0,r=r+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,se)|0)+Math.imul(w,oe)|0,o=o+Math.imul(w,se)|0,r=r+Math.imul(y,ue)|0,i=(i=i+Math.imul(y,le)|0)+Math.imul(g,ue)|0,o=o+Math.imul(g,le)|0,r=r+Math.imul(p,fe)|0,i=(i=i+Math.imul(p,de)|0)+Math.imul(m,fe)|0,o=o+Math.imul(m,de)|0;var Se=(l+(r=r+Math.imul(f,pe)|0)|0)+((8191&(i=(i=i+Math.imul(f,me)|0)+Math.imul(d,pe)|0))<<13)|0;l=((o=o+Math.imul(d,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(L,$),i=(i=Math.imul(L,W))+Math.imul(U,$)|0,o=Math.imul(U,W),r=r+Math.imul(B,V)|0,i=(i=i+Math.imul(B,G)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,G)|0,r=r+Math.imul(R,J)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(I,J)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(A,Q)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(P,Q)|0,o=o+Math.imul(P,ee)|0,r=r+Math.imul(M,ne)|0,i=(i=i+Math.imul(M,re)|0)+Math.imul(E,ne)|0,o=o+Math.imul(E,re)|0,r=r+Math.imul(x,oe)|0,i=(i=i+Math.imul(x,se)|0)+Math.imul(k,oe)|0,o=o+Math.imul(k,se)|0,r=r+Math.imul(_,ue)|0,i=(i=i+Math.imul(_,le)|0)+Math.imul(w,ue)|0,o=o+Math.imul(w,le)|0,r=r+Math.imul(y,fe)|0,i=(i=i+Math.imul(y,de)|0)+Math.imul(g,fe)|0,o=o+Math.imul(g,de)|0;var Me=(l+(r=r+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;l=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,r=Math.imul(L,V),i=(i=Math.imul(L,G))+Math.imul(U,V)|0,o=Math.imul(U,G),r=r+Math.imul(B,J)|0,i=(i=i+Math.imul(B,Z)|0)+Math.imul(N,J)|0,o=o+Math.imul(N,Z)|0,r=r+Math.imul(R,Q)|0,i=(i=i+Math.imul(R,ee)|0)+Math.imul(I,Q)|0,o=o+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=(i=i+Math.imul(A,re)|0)+Math.imul(P,ne)|0,o=o+Math.imul(P,re)|0,r=r+Math.imul(M,oe)|0,i=(i=i+Math.imul(M,se)|0)+Math.imul(E,oe)|0,o=o+Math.imul(E,se)|0,r=r+Math.imul(x,ue)|0,i=(i=i+Math.imul(x,le)|0)+Math.imul(k,ue)|0,o=o+Math.imul(k,le)|0,r=r+Math.imul(_,fe)|0,i=(i=i+Math.imul(_,de)|0)+Math.imul(w,fe)|0,o=o+Math.imul(w,de)|0;var Ee=(l+(r=r+Math.imul(y,pe)|0)|0)+((8191&(i=(i=i+Math.imul(y,me)|0)+Math.imul(g,pe)|0))<<13)|0;l=((o=o+Math.imul(g,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(L,J),i=(i=Math.imul(L,Z))+Math.imul(U,J)|0,o=Math.imul(U,Z),r=r+Math.imul(B,Q)|0,i=(i=i+Math.imul(B,ee)|0)+Math.imul(N,Q)|0,o=o+Math.imul(N,ee)|0,r=r+Math.imul(R,ne)|0,i=(i=i+Math.imul(R,re)|0)+Math.imul(I,ne)|0,o=o+Math.imul(I,re)|0,r=r+Math.imul(A,oe)|0,i=(i=i+Math.imul(A,se)|0)+Math.imul(P,oe)|0,o=o+Math.imul(P,se)|0,r=r+Math.imul(M,ue)|0,i=(i=i+Math.imul(M,le)|0)+Math.imul(E,ue)|0,o=o+Math.imul(E,le)|0,r=r+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(k,fe)|0,o=o+Math.imul(k,de)|0;var Oe=(l+(r=r+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(w,pe)|0))<<13)|0;l=((o=o+Math.imul(w,me)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(L,Q),i=(i=Math.imul(L,ee))+Math.imul(U,Q)|0,o=Math.imul(U,ee),r=r+Math.imul(B,ne)|0,i=(i=i+Math.imul(B,re)|0)+Math.imul(N,ne)|0,o=o+Math.imul(N,re)|0,r=r+Math.imul(R,oe)|0,i=(i=i+Math.imul(R,se)|0)+Math.imul(I,oe)|0,o=o+Math.imul(I,se)|0,r=r+Math.imul(A,ue)|0,i=(i=i+Math.imul(A,le)|0)+Math.imul(P,ue)|0,o=o+Math.imul(P,le)|0,r=r+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(E,fe)|0,o=o+Math.imul(E,de)|0;var Ae=(l+(r=r+Math.imul(x,pe)|0)|0)+((8191&(i=(i=i+Math.imul(x,me)|0)+Math.imul(k,pe)|0))<<13)|0;l=((o=o+Math.imul(k,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(L,ne),i=(i=Math.imul(L,re))+Math.imul(U,ne)|0,o=Math.imul(U,re),r=r+Math.imul(B,oe)|0,i=(i=i+Math.imul(B,se)|0)+Math.imul(N,oe)|0,o=o+Math.imul(N,se)|0,r=r+Math.imul(R,ue)|0,i=(i=i+Math.imul(R,le)|0)+Math.imul(I,ue)|0,o=o+Math.imul(I,le)|0,r=r+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(P,fe)|0,o=o+Math.imul(P,de)|0;var Pe=(l+(r=r+Math.imul(M,pe)|0)|0)+((8191&(i=(i=i+Math.imul(M,me)|0)+Math.imul(E,pe)|0))<<13)|0;l=((o=o+Math.imul(E,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(L,oe),i=(i=Math.imul(L,se))+Math.imul(U,oe)|0,o=Math.imul(U,se),r=r+Math.imul(B,ue)|0,i=(i=i+Math.imul(B,le)|0)+Math.imul(N,ue)|0,o=o+Math.imul(N,le)|0,r=r+Math.imul(R,fe)|0,i=(i=i+Math.imul(R,de)|0)+Math.imul(I,fe)|0,o=o+Math.imul(I,de)|0;var Ce=(l+(r=r+Math.imul(A,pe)|0)|0)+((8191&(i=(i=i+Math.imul(A,me)|0)+Math.imul(P,pe)|0))<<13)|0;l=((o=o+Math.imul(P,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(L,ue),i=(i=Math.imul(L,le))+Math.imul(U,ue)|0,o=Math.imul(U,le),r=r+Math.imul(B,fe)|0,i=(i=i+Math.imul(B,de)|0)+Math.imul(N,fe)|0,o=o+Math.imul(N,de)|0;var Re=(l+(r=r+Math.imul(R,pe)|0)|0)+((8191&(i=(i=i+Math.imul(R,me)|0)+Math.imul(I,pe)|0))<<13)|0;l=((o=o+Math.imul(I,me)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,r=Math.imul(L,fe),i=(i=Math.imul(L,de))+Math.imul(U,fe)|0,o=Math.imul(U,de);var Ie=(l+(r=r+Math.imul(B,pe)|0)|0)+((8191&(i=(i=i+Math.imul(B,me)|0)+Math.imul(N,pe)|0))<<13)|0;l=((o=o+Math.imul(N,me)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Te=(l+(r=Math.imul(L,pe))|0)+((8191&(i=(i=Math.imul(L,me))+Math.imul(U,pe)|0))<<13)|0;return l=((o=Math.imul(U,me))+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,u[0]=be,u[1]=ye,u[2]=ge,u[3]=ve,u[4]=_e,u[5]=we,u[6]=je,u[7]=xe,u[8]=ke,u[9]=Se,u[10]=Me,u[11]=Ee,u[12]=Oe,u[13]=Ae,u[14]=Pe,u[15]=Ce,u[16]=Re,u[17]=Ie,u[18]=Te,0!==l&&(u[19]=l,n.length++),n};function m(e,t,n){return(new b).mulp(e,t,n)}function b(e,t){this.x=e,this.y=t}Math.imul||(p=h),o.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?p(this,e,t):n<63?h(this,e,t):n<1024?function(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}n.words[o]=a,r=s,s=i}return 0!==r?n.words[o]=r:n.length--,n.strip()}(this,e,t):m(this,e,t)},b.prototype.makeRBT=function(e){for(var t=new Array(e),n=o.prototype._countBits(e)-1,r=0;r>=1;return r},b.prototype.permute=function(e,t,n,r,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,n[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,t+=i/67108864|0,t+=o>>>26,this.words[n]=67108863&o}return 0!==t&&(this.words[n]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),n=0;n>>i}return t}(e);if(0===t.length)return new o(1);for(var n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,o=67108863>>>26-n<<26-n;if(0!==n){var s=0;for(t=0;t>>26-n}s&&(this.words[t]=s,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var f=0|this.words[l];this.words[l]=c<<26-o|f>>>o,c=f&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,n){return r(0===this.negative),this.iushrn(e,t,n)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(u/67108864|0),this.words[i+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===a)return this.strip();for(r(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var n=(this.length,e.length),r=this.clone(),i=e,s=0|i.words[i.length-1];0!==(n=26-this._countBits(s))&&(i=i.ushln(n),r.iushln(n),s=0|i.words[i.length-1]);var a,u=r.length-i.length;if("mod"!==t){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;f--){var d=67108864*(0|r.words[i.length+f])+(0|r.words[i.length+f-1]);for(d=Math.min(d/s|0,67108863),r._ishlnsubmul(i,d,f);0!==r.negative;)d--,r.negative=0,r._ishlnsubmul(i,1,f),r.isZero()||(r.negative^=1);a&&(a.words[f]=d)}return a&&a.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:a||null,mod:r}},o.prototype.divmod=function(e,t,n){return r(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(i=a.div.neg()),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.iadd(e)),{div:i,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&e.negative)?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),n&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,s,a},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=n.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;t.isEven()&&n.isEven();)t.iushrn(1),n.iushrn(1),++l;for(var c=n.clone(),f=t.clone();!t.isZero();){for(var d=0,h=1;0==(t.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(f)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(f)),a.iushrn(1),u.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(a),s.isub(u)):(n.isub(t),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:n.iushln(l)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,s=new o(1),a=new o(0),u=n.clone();t.cmpn(1)>0&&n.cmpn(1)>0;){for(var l=0,c=1;0==(t.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(t.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var f=0,d=1;0==(n.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(n.iushrn(f);f-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);t.cmp(n)>=0?(t.isub(n),s.isub(a)):(n.isub(t),a.isub(s))}return(i=0===t.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var o=t;t=n,n=o}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,n=(e-t)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,n=e<0;if(0!==this.negative&&!n)return-1;if(0===this.negative&&n)return 1;if(this.strip(),this.length>1)t=1;else{n&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new x(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function g(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){g.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){g.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){g.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function j(){g.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function x(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function k(e){x.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}g.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},g.prototype.ireduce=function(e){var t,n=e;do{this.split(n,this.tmp),t=(n=(n=this.imulK(n)).iadd(this.tmp)).bitLength()}while(t>this.n);var r=t0?n.isub(this.p):void 0!==n.strip?n.strip():n._strip(),n},g.prototype.split=function(e,t){e.iushrn(this.n,0,t)},g.prototype.imulK=function(e){return e.imul(this.k)},i(v,g),v.prototype.split=function(e,t){for(var n=Math.min(e.length,9),r=0;r>>22,i=o}i>>>=22,e.words[r-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(y[e])return y[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new _;else if("p192"===e)t=new w;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new j}return y[e]=t,t},x.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},x.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},x.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},x.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},x.prototype.add=function(e,t){this._verify2(e,t);var n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},x.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},x.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},x.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},x.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},x.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},x.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},x.prototype.isqr=function(e){return this.imul(e,e.clone())},x.prototype.sqr=function(e){return this.mul(e,e)},x.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var n=this.m.add(new o(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);r(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var f=this.pow(c,i),d=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),p=s;0!==h.cmp(a);){for(var m=h,b=0;0!==m.cmp(a);b++)m=m.redSqr();r(b=0;r--){for(var l=t.words[r],c=u-1;c>=0;c--){var f=l>>c&1;i!==n[0]&&(i=this.sqr(i)),0!==f||0!==s?(s<<=1,s|=f,(4===++a||0===r&&0===c)&&(i=this.mul(i,n[s]),a=0,s=0)):a=0}u=26}return i},x.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},x.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new k(e)},i(k,x),k.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},k.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},k.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},k.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},k.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e,this)}).call(this,n("../../node_modules/webpack/buildin/module.js")(e))},"../../node_modules/elliptic/package.json":function(e){e.exports=JSON.parse('{"name":"elliptic","version":"6.6.1","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"lint":"eslint lib test","lint:fix":"npm run lint -- --fix","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny ","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^2.0.2","coveralls":"^3.1.0","eslint":"^7.6.0","grunt":"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.5","mocha":"^8.0.1"},"dependencies":{"bn.js":"^4.11.9","brorand":"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1","inherits":"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}')},"../../node_modules/error-ex/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/util/util.js"),i=n("../../node_modules/is-arrayish/index.js"),o=function(e,t){e&&e.constructor===String||(t=e||{},e=Error.name);var n=function r(o){if(!this)return new r(o);o=o instanceof Error?o.message:o||this.message,Error.call(this,o),Error.captureStackTrace(this,n),this.name=e,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var e=o.split(/\r?\n/g);for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"message"in r&&(e=r.message(this[n],e)||e,i(e)||(e=[e]))}return e.join("\n")},set:function(e){o=e}});var s=null,a=Object.getOwnPropertyDescriptor(this,"stack"),u=a.get,l=a.value;delete a.value,delete a.writable,a.set=function(e){s=e},a.get=function(){var e=(s||(u?u.call(this):l)).split(/\r?\n+/g);s||(e[0]=this.name+": "+this.message);var n=1;for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];if("line"in i){var o=i.line(this[r]);o&&e.splice(n++,0," "+o)}"stack"in i&&i.stack(this[r],e)}return e.join("\n")},Object.defineProperty(this,"stack",a)};return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):r.inherits(n,Error),n};o.append=function(e,t){return{message:function(n,r){return(n=n||t)&&(r[0]+=" "+e.replace("%s",n.toString())),r}}},o.line=function(e,t){return{line:function(n){return(n=n||t)?e.replace("%s",n.toString()):null}}},e.exports=o},"../../node_modules/error-polyfill/index.js":function(e,t,n){e.exports=n("../../node_modules/error-polyfill/lib/index.js")},"../../node_modules/error-polyfill/lib/index.js":function(e,t,n){n("../../node_modules/capability/es5.js");var r,i=n("../../node_modules/capability/index.js");r=i("Error.captureStackTrace")?n("../../node_modules/error-polyfill/lib/v8.js"):i("Error.prototype.stack")?n("../../node_modules/error-polyfill/lib/non-v8/index.js"):n("../../node_modules/error-polyfill/lib/unsupported.js"),e.exports=r()},"../../node_modules/error-polyfill/lib/non-v8/Frame.js":function(e,t,n){var r=n("../../node_modules/o3/index.js").Class,i=n("../../node_modules/o3/index.js").abstractMethod,o=r(Object,{prototype:{init:r.prototype.merge,frameString:void 0,toString:function(){return this.frameString},functionValue:void 0,getThis:i,getTypeName:i,getFunction:function(){return this.functionValue},getFunctionName:i,getMethodName:i,getFileName:i,getLineNumber:i,getColumnNumber:i,getEvalOrigin:i,isTopLevel:i,isEval:i,isNative:i,isConstructor:i}});e.exports=o},"../../node_modules/error-polyfill/lib/non-v8/FrameStringParser.js":function(e,t,n){var r=n("../../node_modules/o3/index.js").Class,i=n("../../node_modules/error-polyfill/lib/non-v8/Frame.js"),o=n("../../node_modules/u3/index.js").cache,s=r(Object,{prototype:{stackParser:null,frameParser:null,locationParsers:null,constructor:function(e){r.prototype.merge.call(this,e)},getFrames:function(e,t){for(var n=[],r=0,i=e.length;r=0?l(c):i(this.length)-l(u(c));t=55296&&g<=56319&&(j+=e[++n]),j=x?d.call(x,k,j,m):j,t?(h.value=j,p(b,m,h)):b[m]=j,++m;y=m}if(void 0===y)for(y=s(e.length),t&&(b=new t(y)),n=0;n0?1:-1}},"../../node_modules/es5-ext/number/is-nan/index.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/es5-ext/number/is-nan/is-implemented.js")()?Number.isNaN:n("../../node_modules/es5-ext/number/is-nan/shim.js")},"../../node_modules/es5-ext/number/is-nan/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}},"../../node_modules/es5-ext/number/is-nan/shim.js":function(e,t,n){"use strict";e.exports=function(e){return e!=e}},"../../node_modules/es5-ext/number/to-integer.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/math/sign/index.js"),i=Math.abs,o=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*o(i(e)):e}},"../../node_modules/es5-ext/number/to-pos-integer.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/number/to-integer.js"),i=Math.max;e.exports=function(e){return i(0,r(e))}},"../../node_modules/es5-ext/object/_iterate.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/object/valid-callable.js"),i=n("../../node_modules/es5-ext/object/valid-value.js"),o=Function.prototype.bind,s=Function.prototype.call,a=Object.keys,u=Object.prototype.propertyIsEnumerable;e.exports=function(e,t){return function(n,l){var c,f=arguments[2],d=arguments[3];return n=Object(i(n)),r(l),c=a(n),d&&c.sort("function"==typeof d?o.call(d,n):void 0),"function"!=typeof e&&(e=c[e]),s.call(e,c,(function(e,r){return u.call(n,e)?s.call(l,f,n[e],e,n,r):t}))}}},"../../node_modules/es5-ext/object/assign/index.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/es5-ext/object/assign/is-implemented.js")()?Object.assign:n("../../node_modules/es5-ext/object/assign/shim.js")},"../../node_modules/es5-ext/object/assign/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},"../../node_modules/es5-ext/object/assign/shim.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/object/keys/index.js"),i=n("../../node_modules/es5-ext/object/valid-value.js"),o=Math.max;e.exports=function(e,t){var n,s,a,u=o(arguments.length,2);for(e=Object(i(e)),a=function(r){try{e[r]=t[r]}catch(e){n||(n=e)}},s=1;s-1}},"../../node_modules/es5-ext/string/is-string.js":function(e,t,n){"use strict";var r=Object.prototype.toString,i=r.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||r.call(e)===i)||!1}},"../../node_modules/es5-ext/string/random-uniq.js":function(e,t,n){"use strict";var r=Object.create(null),i=Math.random;e.exports=function(){var e;do{e=i().toString(36).slice(2)}while(r[e]);return e}},"../../node_modules/es6-iterator/array.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/es5-ext/object/set-prototype-of/index.js"),o=n("../../node_modules/es5-ext/string/#/contains/index.js"),s=n("../../node_modules/d/index.js"),a=n("../../node_modules/es6-symbol/index.js"),u=n("../../node_modules/es6-iterator/index.js"),l=Object.defineProperty;r=e.exports=function(e,t){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");u.call(this,e),t=t?o.call(t,"key+value")?"key+value":o.call(t,"key")?"key":"value":"value",l(this,"__kind__",s("",t))},i&&i(r,u),delete r.prototype.constructor,r.prototype=Object.create(u.prototype,{_resolve:s((function(e){return"value"===this.__kind__?this.__list__[e]:"key+value"===this.__kind__?[e,this.__list__[e]]:e}))}),l(r.prototype,a.toStringTag,s("c","Array Iterator"))},"../../node_modules/es6-iterator/for-of.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/function/is-arguments.js"),i=n("../../node_modules/es5-ext/object/valid-callable.js"),o=n("../../node_modules/es5-ext/string/is-string.js"),s=n("../../node_modules/es6-iterator/get.js"),a=Array.isArray,u=Function.prototype.call,l=Array.prototype.some;e.exports=function(e,t){var n,c,f,d,h,p,m,b,y=arguments[2];if(a(e)||r(e)?n="array":o(e)?n="string":e=s(e),i(t),f=function(){d=!0},"array"!==n)if("string"!==n)for(c=e.next();!c.done;){if(u.call(t,y,c.value,f),d)return;c=e.next()}else for(p=e.length,h=0;h=55296&&b<=56319&&(m+=e[++h]),u.call(t,y,m,f),!d);++h);else l.call(e,(function(e){return u.call(t,y,e,f),d}))}},"../../node_modules/es6-iterator/get.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/function/is-arguments.js"),i=n("../../node_modules/es5-ext/string/is-string.js"),o=n("../../node_modules/es6-iterator/array.js"),s=n("../../node_modules/es6-iterator/string.js"),a=n("../../node_modules/es6-iterator/valid-iterable.js"),u=n("../../node_modules/es6-symbol/index.js").iterator;e.exports=function(e){return"function"==typeof a(e)[u]?e[u]():r(e)?new o(e):i(e)?new s(e):new o(e)}},"../../node_modules/es6-iterator/index.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/es5-ext/array/#/clear.js"),o=n("../../node_modules/es5-ext/object/assign/index.js"),s=n("../../node_modules/es5-ext/object/valid-callable.js"),a=n("../../node_modules/es5-ext/object/valid-value.js"),u=n("../../node_modules/d/index.js"),l=n("../../node_modules/d/auto-bind.js"),c=n("../../node_modules/es6-symbol/index.js"),f=Object.defineProperty,d=Object.defineProperties;e.exports=r=function(e,t){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");d(this,{__list__:u("w",a(e)),__context__:u("w",t),__nextIndex__:u("w",0)}),t&&(s(t.on),t.on("_add",this._onAdd),t.on("_delete",this._onDelete),t.on("_clear",this._onClear))},delete r.prototype.constructor,d(r.prototype,o({_next:u((function(){var e;if(this.__list__)return this.__redo__&&void 0!==(e=this.__redo__.shift())?e:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach((function(t,n){t>=e&&(this.__redo__[n]=++t)}),this),this.__redo__.push(e)):f(this,"__redo__",u("c",[e])))})),_onDelete:u((function(e){var t;e>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(t=this.__redo__.indexOf(e))&&this.__redo__.splice(t,1),this.__redo__.forEach((function(t,n){t>e&&(this.__redo__[n]=--t)}),this)))})),_onClear:u((function(){this.__redo__&&i.call(this.__redo__),this.__nextIndex__=0}))}))),f(r.prototype,c.iterator,u((function(){return this})))},"../../node_modules/es6-iterator/is-iterable.js":function(e,t,n){"use strict";var r=n("../../node_modules/es5-ext/function/is-arguments.js"),i=n("../../node_modules/es5-ext/object/is-value.js"),o=n("../../node_modules/es5-ext/string/is-string.js"),s=n("../../node_modules/es6-symbol/index.js").iterator,a=Array.isArray;e.exports=function(e){return!!i(e)&&(!!a(e)||(!!o(e)||(!!r(e)||"function"==typeof e[s])))}},"../../node_modules/es6-iterator/string.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/es5-ext/object/set-prototype-of/index.js"),o=n("../../node_modules/d/index.js"),s=n("../../node_modules/es6-symbol/index.js"),a=n("../../node_modules/es6-iterator/index.js"),u=Object.defineProperty;r=e.exports=function(e){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");e=String(e),a.call(this,e),u(this,"__length__",o("",e.length))},i&&i(r,a),delete r.prototype.constructor,r.prototype=Object.create(a.prototype,{_next:o((function(){if(this.__list__)return this.__nextIndex__=55296&&t<=56319?n+this.__list__[this.__nextIndex__++]:n}))}),u(r.prototype,s.toStringTag,o("c","String Iterator"))},"../../node_modules/es6-iterator/valid-iterable.js":function(e,t,n){"use strict";var r=n("../../node_modules/es6-iterator/is-iterable.js");e.exports=function(e){if(!r(e))throw new TypeError(e+" is not iterable");return e}},"../../node_modules/es6-map/index.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/es6-map/is-implemented.js")()?Map:n("../../node_modules/es6-map/polyfill.js")},"../../node_modules/es6-map/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){var e,t;if("function"!=typeof Map)return!1;try{e=new Map([["raz","one"],["dwa","two"],["trzy","three"]])}catch(e){return!1}return"[object Map]"===String(e)&&(3===e.size&&("function"==typeof e.clear&&("function"==typeof e.delete&&("function"==typeof e.entries&&("function"==typeof e.forEach&&("function"==typeof e.get&&("function"==typeof e.has&&("function"==typeof e.keys&&("function"==typeof e.set&&("function"==typeof e.values&&(!1===(t=e.entries().next()).done&&(!!t.value&&("raz"===t.value[0]&&"one"===t.value[1])))))))))))))}},"../../node_modules/es6-map/is-native-implemented.js":function(e,t,n){"use strict";e.exports="undefined"!=typeof Map&&"[object Map]"===Object.prototype.toString.call(new Map)},"../../node_modules/es6-map/lib/iterator-kinds.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/es5-ext/object/primitive-set.js")("key","value","key+value")},"../../node_modules/es6-map/lib/iterator.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/es5-ext/object/set-prototype-of/index.js"),o=n("../../node_modules/d/index.js"),s=n("../../node_modules/es6-iterator/index.js"),a=n("../../node_modules/es6-symbol/index.js").toStringTag,u=n("../../node_modules/es6-map/lib/iterator-kinds.js"),l=Object.defineProperties,c=s.prototype._unBind;r=e.exports=function(e,t){if(!(this instanceof r))return new r(e,t);s.call(this,e.__mapKeysData__,e),t&&u[t]||(t="key+value"),l(this,{__kind__:o("",t),__values__:o("w",e.__mapValuesData__)})},i&&i(r,s),r.prototype=Object.create(s.prototype,{constructor:o(r),_resolve:o((function(e){return"value"===this.__kind__?this.__values__[e]:"key"===this.__kind__?this.__list__[e]:[this.__list__[e],this.__values__[e]]})),_unBind:o((function(){this.__values__=null,c.call(this)})),toString:o((function(){return"[object Map Iterator]"}))}),Object.defineProperty(r.prototype,a,o("c","Map Iterator"))},"../../node_modules/es6-map/polyfill.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/es5-ext/array/#/clear.js"),o=n("../../node_modules/es5-ext/array/#/e-index-of.js"),s=n("../../node_modules/es5-ext/object/set-prototype-of/index.js"),a=n("../../node_modules/es5-ext/object/valid-callable.js"),u=n("../../node_modules/es5-ext/object/valid-value.js"),l=n("../../node_modules/d/index.js"),c=n("../../node_modules/event-emitter/index.js"),f=n("../../node_modules/es6-symbol/index.js"),d=n("../../node_modules/es6-iterator/valid-iterable.js"),h=n("../../node_modules/es6-iterator/for-of.js"),p=n("../../node_modules/es6-map/lib/iterator.js"),m=n("../../node_modules/es6-map/is-native-implemented.js"),b=Function.prototype.call,y=Object.defineProperties,g=Object.getPrototypeOf;e.exports=r=function(){var e,t,n,i=arguments[0];if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");return n=m&&s&&Map!==r?s(new Map,g(this)):this,null!=i&&d(i),y(n,{__mapKeysData__:l("c",e=[]),__mapValuesData__:l("c",t=[])}),i?(h(i,(function(n){var r=u(n)[0];n=n[1],-1===o.call(e,r)&&(e.push(r),t.push(n))}),n),n):n},m&&(s&&s(r,Map),r.prototype=Object.create(Map.prototype,{constructor:l(r)})),c(y(r.prototype,{clear:l((function(){this.__mapKeysData__.length&&(i.call(this.__mapKeysData__),i.call(this.__mapValuesData__),this.emit("_clear"))})),delete:l((function(e){var t=o.call(this.__mapKeysData__,e);return-1!==t&&(this.__mapKeysData__.splice(t,1),this.__mapValuesData__.splice(t,1),this.emit("_delete",t,e),!0)})),entries:l((function(){return new p(this,"key+value")})),forEach:l((function(e){var t,n,r=arguments[1];for(a(e),n=(t=this.entries())._next();void 0!==n;)b.call(e,r,this.__mapValuesData__[n],this.__mapKeysData__[n],this),n=t._next()})),get:l((function(e){var t=o.call(this.__mapKeysData__,e);if(-1!==t)return this.__mapValuesData__[t]})),has:l((function(e){return-1!==o.call(this.__mapKeysData__,e)})),keys:l((function(){return new p(this,"key")})),set:l((function(e,t){var n,r=o.call(this.__mapKeysData__,e);return-1===r&&(r=this.__mapKeysData__.push(e)-1,n=!0),this.__mapValuesData__[r]=t,n&&this.emit("_add",r,e),this})),size:l.gs((function(){return this.__mapKeysData__.length})),values:l((function(){return new p(this,"value")})),toString:l((function(){return"[object Map]"}))})),Object.defineProperty(r.prototype,f.iterator,l((function(){return this.entries()}))),Object.defineProperty(r.prototype,f.toStringTag,l("c","Map"))},"../../node_modules/es6-symbol/index.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/es6-symbol/is-implemented.js")()?n("../../node_modules/ext/global-this/index.js").Symbol:n("../../node_modules/es6-symbol/polyfill.js")},"../../node_modules/es6-symbol/is-implemented.js":function(e,t,n){"use strict";var r=n("../../node_modules/ext/global-this/index.js"),i={object:!0,symbol:!0};e.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!i[typeof t.iterator]&&(!!i[typeof t.toPrimitive]&&!!i[typeof t.toStringTag])}},"../../node_modules/es6-symbol/is-symbol.js":function(e,t,n){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},"../../node_modules/es6-symbol/lib/private/generate-name.js":function(e,t,n){"use strict";var r=n("../../node_modules/d/index.js"),i=Object.create,o=Object.defineProperty,s=Object.prototype,a=i(null);e.exports=function(e){for(var t,n,i=0;a[e+(i||"")];)++i;return a[e+=i||""]=!0,o(s,t="@@"+e,r.gs(null,(function(e){n||(n=!0,o(this,t,r(e)),n=!1)}))),t}},"../../node_modules/es6-symbol/lib/private/setup/standard-symbols.js":function(e,t,n){"use strict";var r=n("../../node_modules/d/index.js"),i=n("../../node_modules/ext/global-this/index.js").Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",i&&i.hasInstance||e("hasInstance")),isConcatSpreadable:r("",i&&i.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",i&&i.iterator||e("iterator")),match:r("",i&&i.match||e("match")),replace:r("",i&&i.replace||e("replace")),search:r("",i&&i.search||e("search")),species:r("",i&&i.species||e("species")),split:r("",i&&i.split||e("split")),toPrimitive:r("",i&&i.toPrimitive||e("toPrimitive")),toStringTag:r("",i&&i.toStringTag||e("toStringTag")),unscopables:r("",i&&i.unscopables||e("unscopables"))})}},"../../node_modules/es6-symbol/lib/private/setup/symbol-registry.js":function(e,t,n){"use strict";var r=n("../../node_modules/d/index.js"),i=n("../../node_modules/es6-symbol/validate-symbol.js"),o=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return o[t]?o[t]:o[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in i(e),o)if(o[t]===e)return t}))})}},"../../node_modules/es6-symbol/polyfill.js":function(e,t,n){"use strict";var r,i,o,s=n("../../node_modules/d/index.js"),a=n("../../node_modules/es6-symbol/validate-symbol.js"),u=n("../../node_modules/ext/global-this/index.js").Symbol,l=n("../../node_modules/es6-symbol/lib/private/generate-name.js"),c=n("../../node_modules/es6-symbol/lib/private/setup/standard-symbols.js"),f=n("../../node_modules/es6-symbol/lib/private/setup/symbol-registry.js"),d=Object.create,h=Object.defineProperties,p=Object.defineProperty;if("function"==typeof u)try{String(u()),o=!0}catch(e){}else u=null;i=function(e){if(this instanceof i)throw new TypeError("Symbol is not a constructor");return r(e)},e.exports=r=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return o?u(t):(n=d(i.prototype),t=void 0===t?"":String(t),h(n,{__description__:s("",t),__name__:s("",l(t))}))},c(r),f(r),h(i.prototype,{constructor:s(r),toString:s("",(function(){return this.__name__}))}),h(r.prototype,{toString:s((function(){return"Symbol ("+a(this).__description__+")"})),valueOf:s((function(){return a(this)}))}),p(r.prototype,r.toPrimitive,s("",(function(){var e=a(this);return"symbol"==typeof e?e:e.toString()}))),p(r.prototype,r.toStringTag,s("c","Symbol")),p(i.prototype,r.toStringTag,s("c",r.prototype[r.toStringTag])),p(i.prototype,r.toPrimitive,s("c",r.prototype[r.toPrimitive]))},"../../node_modules/es6-symbol/validate-symbol.js":function(e,t,n){"use strict";var r=n("../../node_modules/es6-symbol/is-symbol.js");e.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}},"../../node_modules/es6-weak-map/index.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/es6-weak-map/is-implemented.js")()?WeakMap:n("../../node_modules/es6-weak-map/polyfill.js")},"../../node_modules/es6-weak-map/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){var e,t;if("function"!=typeof WeakMap)return!1;try{e=new WeakMap([[t={},"one"],[{},"two"],[{},"three"]])}catch(e){return!1}return"[object WeakMap]"===String(e)&&("function"==typeof e.set&&(e.set({},1)===e&&("function"==typeof e.delete&&("function"==typeof e.has&&"one"===e.get(t)))))}},"../../node_modules/es6-weak-map/is-native-implemented.js":function(e,t,n){"use strict";e.exports="function"==typeof WeakMap&&"[object WeakMap]"===Object.prototype.toString.call(new WeakMap)},"../../node_modules/es6-weak-map/polyfill.js":function(e,t,n){"use strict";var r,i=n("../../node_modules/es5-ext/object/is-value.js"),o=n("../../node_modules/es5-ext/object/set-prototype-of/index.js"),s=n("../../node_modules/es5-ext/object/valid-object.js"),a=n("../../node_modules/es5-ext/object/valid-value.js"),u=n("../../node_modules/es5-ext/string/random-uniq.js"),l=n("../../node_modules/d/index.js"),c=n("../../node_modules/es6-iterator/get.js"),f=n("../../node_modules/es6-iterator/for-of.js"),d=n("../../node_modules/es6-symbol/index.js").toStringTag,h=n("../../node_modules/es6-weak-map/is-native-implemented.js"),p=Array.isArray,m=Object.defineProperty,b=Object.prototype.hasOwnProperty,y=Object.getPrototypeOf;e.exports=r=function(){var e,t=arguments[0];if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");return e=h&&o&&WeakMap!==r?o(new WeakMap,y(this)):this,i(t)&&(p(t)||(t=c(t))),m(e,"__weakMapData__",l("c","$weakMap$"+u())),t?(f(t,(function(t){a(t),e.set(t[0],t[1])})),e):e},h&&(o&&o(r,WeakMap),r.prototype=Object.create(WeakMap.prototype,{constructor:l(r)})),Object.defineProperties(r.prototype,{delete:l((function(e){return!!b.call(s(e),this.__weakMapData__)&&(delete e[this.__weakMapData__],!0)})),get:l((function(e){if(b.call(s(e),this.__weakMapData__))return e[this.__weakMapData__]})),has:l((function(e){return b.call(s(e),this.__weakMapData__)})),set:l((function(e,t){return m(s(e),this.__weakMapData__,l("c",t)),this})),toString:l((function(){return"[object WeakMap]"}))}),m(r.prototype,d,l("c","WeakMap"))},"../../node_modules/escape-string-regexp/index.js":function(e,t,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(r,"\\$&")}},"../../node_modules/escope/lib/definition.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Definition=t.ParameterDefinition=void 0;var r,i=n("../../node_modules/escope/lib/variable.js"),o=(r=i)&&r.__esModule?r:{default:r};function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function e(t,n,r,i,o,a){s(this,e),this.type=t,this.name=n,this.node=r,this.parent=i,this.index=o,this.kind=a};t.default=a;var u=function(e){function t(e,n,r,i){s(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,Object.getPrototypeOf(t).call(this,o.default.Parameter,e,n,null,r,null));return a.rest=i,a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(a);t.ParameterDefinition=u,t.Definition=a},"../../node_modules/escope/lib/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ScopeManager=t.Scope=t.Variable=t.Reference=t.version=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.analyze=function(e,t){var n,a;return a=function e(t,n){var i,o;function s(e){return"object"===(void 0===e?"undefined":r(e))&&e instanceof Object&&!(e instanceof Array)&&!(e instanceof RegExp)}for(i in n)n.hasOwnProperty(i)&&(s(o=n[i])?s(t[i])?e(t[i],o):t[i]=e({},o):t[i]=o);return t}({optimistic:!1,directive:!1,nodejsScope:!1,impliedStrict:!1,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"},t),n=new o.default(a),new s.default(a,n).visit(e),(0,i.default)(null===n.__currentScope,"currentScope should be null."),n};var i=f(n("../../node_modules/assert/assert.js")),o=f(n("../../node_modules/escope/lib/scope-manager.js")),s=f(n("../../node_modules/escope/lib/referencer.js")),a=f(n("../../node_modules/escope/lib/reference.js")),u=f(n("../../node_modules/escope/lib/variable.js")),l=f(n("../../node_modules/escope/lib/scope.js")),c=n("../../node_modules/escope/package.json");function f(e){return e&&e.__esModule?e:{default:e}}t.version=c.version,t.Reference=a.default,t.Variable=u.default,t.Scope=l.default,t.ScopeManager=o.default},"../../node_modules/escope/lib/pattern-visitor.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n=5}},{key:"__get",value:function(e){return this.__nodeToScope.get(e)}},{key:"getDeclaredVariables",value:function(e){return this.__declaredVariables.get(e)||[]}},{key:"acquire",value:function(e,t){var n,r,i,o;function s(e){return("function"!==e.type||!e.functionExpressionScope)&&"TDZ"!==e.type}if(!(n=this.__get(e))||0===n.length)return null;if(1===n.length)return n[0];if(t){for(i=n.length-1;i>=0;--i)if(s(r=n[i]))return r}else for(i=0,o=n.length;i=6}}]),e}();t.default=u},"../../node_modules/escope/lib/scope.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClassScope=t.ForScope=t.FunctionScope=t.SwitchScope=t.BlockScope=t.TDZScope=t.WithScope=t.CatchScope=t.FunctionExpressionNameScope=t.ModuleScope=t.GlobalScope=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},i=function(){function e(e,t){for(var n=0;n0&&n.every(m)}},{key:"__staticCloseRef",value:function(e){this.__resolve(e)||this.__delegateToUpperScope(e)}},{key:"__dynamicCloseRef",value:function(e){var t=this;do{t.through.push(e),t=t.upper}while(t)}},{key:"__globalCloseRef",value:function(e){this.__shouldStaticallyCloseForGlobal(e)?this.__staticCloseRef(e):this.__dynamicCloseRef(e)}},{key:"__close",value:function(e){var t;t=this.__shouldStaticallyClose(e)?this.__staticCloseRef:"global"!==this.type?this.__dynamicCloseRef:this.__globalCloseRef;for(var n=0,r=this.__left.length;n=0.4.0"},"maintainers":[{"name":"Yusuke Suzuki","email":"utatane.tea@gmail.com","web":"http://github.com/Constellation"}],"repository":{"type":"git","url":"https://github.com/estools/escope.git"},"dependencies":{"es6-map":"^0.1.3","es6-weak-map":"^2.0.1","esrecurse":"^4.1.0","estraverse":"^4.1.1"},"devDependencies":{"babel":"^6.3.26","babel-preset-es2015":"^6.3.13","babel-register":"^6.3.13","browserify":"^13.0.0","chai":"^3.4.1","espree":"^3.1.1","esprima":"^2.7.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-bump":"^1.0.0","gulp-eslint":"^1.1.1","gulp-espower":"^1.0.2","gulp-filter":"^3.0.1","gulp-git":"^1.6.1","gulp-mocha":"^2.2.0","gulp-plumber":"^1.0.1","gulp-sourcemaps":"^1.6.0","gulp-tag-version":"^1.3.0","jsdoc":"^3.4.0","lazypipe":"^1.0.1","vinyl-source-stream":"^1.1.0"},"license":"BSD-2-Clause","scripts":{"test":"gulp travis","unit-test":"gulp test","lint":"gulp lint","jsdoc":"jsdoc src/*.js README.md"}}')},"../../node_modules/esrecurse/esrecurse.js":function(e,t,n){!function(){"use strict";var e=n("../../node_modules/esrecurse/node_modules/estraverse/estraverse.js");function r(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function i(t,n){n=n||{},this.__visitor=t||this,this.__childVisitorKeys=n.childVisitorKeys?Object.assign({},e.VisitorKeys,n.childVisitorKeys):e.VisitorKeys,"iteration"===n.fallback?this.__fallback=Object.keys:"function"==typeof n.fallback&&(this.__fallback=n.fallback)}i.prototype.visitChildren=function(t){var n,i,o,s,a,u,l;if(null!=t){if(n=t.type||e.Syntax.Property,!(i=this.__childVisitorKeys[n])){if(!this.__fallback)throw new Error("Unknown node type "+n+".");i=this.__fallback(t)}for(o=0,s=i.length;o=0;--n)if(e[n].node===t)return!0;return!1}function m(e,t){return(new f).traverse(e,t)}function b(e,t){var n;return n=function(e,t){var n,r,i,o;for(r=e.length,i=0;r;)t(e[o=i+(n=r>>>1)])?r=n:(i=o+1,r-=n+1);return i}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},r={Break:o={},Skip:s={},Remove:a={}},l.prototype.replace=function(e){this.parent[this.key]=e},l.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},f.prototype.path=function(){var e,t,n,r,i;function o(e,t){if(Array.isArray(t))for(n=0,r=t.length;n=0;)if(g=a[f=y[m]])if(Array.isArray(g)){for(b=g.length;(b-=1)>=0;)if(g[b]&&!p(r,g[b])){if(h(u,y[m]))i=new c(g[b],[f,b],"Property",null);else{if(!d(g[b]))continue;i=new c(g[b],[f,b],null,null)}n.push(i)}}else if(d(g)){if(p(r,g))continue;n.push(new c(g,f,null,null))}}}else if(i=r.pop(),l=this.__execute(t.leave,i),this.__state===o||l===o)return},f.prototype.replace=function(e,t){var n,r,i,u,f,p,m,b,y,g,v,_,w;function j(e){var t,r,i,o;if(e.ref.remove())for(r=e.ref.key,o=e.ref.parent,t=n.length;t--;)if((i=n[t]).ref&&i.ref.parent===o){if(i.ref.key=0;)if(g=i[w=y[m]])if(Array.isArray(g)){for(b=g.length;(b-=1)>=0;)if(g[b]){if(h(u,y[m]))p=new c(g[b],[w,b],"Property",new l(g,b));else{if(!d(g[b]))continue;p=new c(g[b],[w,b],null,new l(g,b))}n.push(p)}}else d(g)&&n.push(new c(g,w,null,new l(i,w)))}}else if(p=r.pop(),void 0!==(f=this.__execute(t.leave,p))&&f!==o&&f!==s&&f!==a&&p.ref.replace(f),this.__state!==a&&f!==a||j(p),this.__state===o||f===o)return _.root;return _.root},t.Syntax=n,t.traverse=m,t.replace=function(e,t){return(new f).replace(e,t)},t.attachComments=function(e,t,n){var i,o,s,a,l=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(s=0,o=t.length;se.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),l.splice(a,1)):a+=1;return a===l.length?r.Break:l[a].extendedRange[0]>e.range[1]?r.Skip:void 0}}),a=0,m(e,{leave:function(e){for(var t;ae.range[1]?r.Skip:void 0}}),e},t.VisitorKeys=i,t.VisitorOption=r,t.Controller=f,t.cloneEnvironment=function(){return e({})},t}(t)},"../../node_modules/esrecurse/package.json":function(e){e.exports=JSON.parse('{"name":"esrecurse","description":"ECMAScript AST recursive visitor","homepage":"https://github.com/estools/esrecurse","main":"esrecurse.js","version":"4.3.0","engines":{"node":">=4.0"},"maintainers":[{"name":"Yusuke Suzuki","email":"utatane.tea@gmail.com","web":"https://github.com/Constellation"}],"repository":{"type":"git","url":"https://github.com/estools/esrecurse.git"},"dependencies":{"estraverse":"^5.2.0"},"devDependencies":{"babel-cli":"^6.24.1","babel-eslint":"^7.2.3","babel-preset-es2015":"^6.24.1","babel-register":"^6.24.1","chai":"^4.0.2","esprima":"^4.0.0","gulp":"^3.9.0","gulp-bump":"^2.7.0","gulp-eslint":"^4.0.0","gulp-filter":"^5.0.0","gulp-git":"^2.4.1","gulp-mocha":"^4.3.1","gulp-tag-version":"^1.2.1","jsdoc":"^3.3.0-alpha10","minimist":"^1.1.0"},"license":"BSD-2-Clause","scripts":{"test":"gulp travis","unit-test":"gulp test","lint":"gulp lint"},"babel":{"presets":["es2015"]}}')},"../../node_modules/estraverse/estraverse.js":function(e,t,n){!function e(t){"use strict";var r,i,o,s,a,u;function l(e){var t,n,r={};for(t in e)e.hasOwnProperty(t)&&(n=e[t],r[t]="object"==typeof n&&null!==n?l(n):n);return r}function c(e,t){this.parent=e,this.key=t}function f(e,t,n,r){this.node=e,this.path=t,this.wrap=n,this.ref=r}function d(){}function h(e){return null!=e&&("object"==typeof e&&"string"==typeof e.type)}function p(e,t){return(e===r.ObjectExpression||e===r.ObjectPattern)&&"properties"===t}function m(e,t){return(new d).traverse(e,t)}function b(e,t){var n;return n=function(e,t){var n,r,i,o;for(r=e.length,i=0;r;)t(e[o=i+(n=r>>>1)])?r=n:(i=o+1,r-=n+1);return i}(t,(function(t){return t.range[0]>e.range[0]})),e.extendedRange=[e.range[0],e.range[1]],n!==t.length&&(e.extendedRange[1]=t[n].range[0]),(n-=1)>=0&&(e.extendedRange[0]=t[n].range[1]),e}return r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},i={Break:s={},Skip:a={},Remove:u={}},c.prototype.replace=function(e){this.parent[this.key]=e},c.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},d.prototype.path=function(){var e,t,n,r,i;function o(e,t){if(Array.isArray(t))for(n=0,r=t.length;n=0;)if(y=o[c=b[d]])if(Array.isArray(y)){for(m=y.length;(m-=1)>=0;)if(y[m]){if(p(u,b[d]))i=new f(y[m],[c,m],"Property",null);else{if(!h(y[m]))continue;i=new f(y[m],[c,m],null,null)}n.push(i)}}else h(y)&&n.push(new f(y,c,null,null))}}else if(i=r.pop(),l=this.__execute(t.leave,i),this.__state===s||l===s)return},d.prototype.replace=function(e,t){var n,r,i,o,l,d,m,b,y,g,v,_,w;function j(e){var t,r,i,o;if(e.ref.remove())for(r=e.ref.key,o=e.ref.parent,t=n.length;t--;)if((i=n[t]).ref&&i.ref.parent===o){if(i.ref.key=0;)if(g=i[w=y[m]])if(Array.isArray(g)){for(b=g.length;(b-=1)>=0;)if(g[b]){if(p(o,y[m]))d=new f(g[b],[w,b],"Property",new c(g,b));else{if(!h(g[b]))continue;d=new f(g[b],[w,b],null,new c(g,b))}n.push(d)}}else h(g)&&n.push(new f(g,w,null,new c(i,w)))}}else if(d=r.pop(),void 0!==(l=this.__execute(t.leave,d))&&l!==s&&l!==a&&l!==u&&d.ref.replace(l),this.__state!==u&&l!==u||j(d),this.__state===s||l===s)return _.root;return _.root},t.version=n("../../node_modules/estraverse/package.json").version,t.Syntax=r,t.traverse=m,t.replace=function(e,t){return(new d).replace(e,t)},t.attachComments=function(e,t,n){var r,o,s,a,u=[];if(!e.range)throw new Error("attachComments needs range information");if(!n.length){if(t.length){for(s=0,o=t.length;se.range[0]);)t.extendedRange[1]===e.range[0]?(e.leadingComments||(e.leadingComments=[]),e.leadingComments.push(t),u.splice(a,1)):a+=1;return a===u.length?i.Break:u[a].extendedRange[0]>e.range[1]?i.Skip:void 0}}),a=0,m(e,{leave:function(e){for(var t;ae.range[1]?i.Skip:void 0}}),e},t.VisitorKeys=o,t.VisitorOption=i,t.Controller=d,t.cloneEnvironment=function(){return e({})},t}(t)},"../../node_modules/estraverse/package.json":function(e){e.exports=JSON.parse('{"name":"estraverse","description":"ECMAScript JS AST traversal functions","homepage":"https://github.com/estools/estraverse","main":"estraverse.js","version":"4.3.0","engines":{"node":">=4.0"},"maintainers":[{"name":"Yusuke Suzuki","email":"utatane.tea@gmail.com","web":"http://github.com/Constellation"}],"repository":{"type":"git","url":"http://github.com/estools/estraverse.git"},"devDependencies":{"babel-preset-env":"^1.6.1","babel-register":"^6.3.13","chai":"^2.1.1","espree":"^1.11.0","gulp":"^3.8.10","gulp-bump":"^0.2.2","gulp-filter":"^2.0.0","gulp-git":"^1.0.1","gulp-tag-version":"^1.3.0","jshint":"^2.5.6","mocha":"^2.1.0"},"license":"BSD-2-Clause","scripts":{"test":"npm run-script lint && npm run-script unit-test","lint":"jshint estraverse.js","unit-test":"mocha --compilers js:babel-register"}}')},"../../node_modules/event-emitter/index.js":function(e,t,n){"use strict";var r,i,o,s,a,u,l,c=n("../../node_modules/d/index.js"),f=n("../../node_modules/es5-ext/object/valid-callable.js"),d=Function.prototype.apply,h=Function.prototype.call,p=Object.create,m=Object.defineProperty,b=Object.defineProperties,y=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};i=function(e,t){var n,i;return f(t),i=this,r.call(this,e,n=function(){o.call(i,e,n),d.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a={on:r=function(e,t){var n;return f(t),y.call(this,"__ee__")?n=this.__ee__:(n=g.value=p(null),m(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:i,off:o=function(e,t){var n,r,i,o;if(f(t),!y.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},emit:s=function(e){var t,n,r,i,o;if(y.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"==typeof i){for(n=arguments.length,o=new Array(n-1),t=1;t0||o>0;){var c=new i;c.update(l),c.update(e),t&&c.update(t),l=c.digest();var f=0;if(s>0){var d=a.length-s;f=Math.min(s,l.length),l.copy(a,d,0,f),s-=f}if(f0){var h=u.length-o,p=Math.min(o,l.length-f);l.copy(u,h,f,f+p),o-=p}}return l.fill(0),{key:a,iv:u}}},"../../node_modules/ext/global-this/implementation.js":function(e,t){var n=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw new Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return n()}try{return __global__||n()}finally{delete Object.prototype.__global__}}()},"../../node_modules/ext/global-this/index.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/ext/global-this/is-implemented.js")()?globalThis:n("../../node_modules/ext/global-this/implementation.js")},"../../node_modules/ext/global-this/is-implemented.js":function(e,t,n){"use strict";e.exports=function(){return"object"==typeof globalThis&&(!!globalThis&&globalThis.Array===Array)}},"../../node_modules/fill-range/index.js":function(e,t,n){"use strict";const r=n("../../node_modules/util/util.js"),i=n("../../node_modules/to-regex-range/index.js"),o=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),s=e=>"number"==typeof e||"string"==typeof e&&""!==e,a=e=>Number.isInteger(+e),u=e=>{let t=""+e,n=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++n];);return n>0},l=(e,t,n)=>{if(t>0){let n="-"===e[0]?"-":"";n&&(e=e.slice(1)),e=n+e.padStart(n?t-1:t,"0")}return!1===n?String(e):e},c=(e,t)=>{let n="-"===e[0]?"-":"";for(n&&(e=e.slice(1),t--);e.length{if(n)return i(e,t,{wrap:!1,...r});let o=String.fromCharCode(e);return e===t?o:`[${o}-${String.fromCharCode(t)}]`},d=(e,t,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return i(e,t,n)},h=(...e)=>new RangeError("Invalid range arguments: "+r.inspect(...e)),p=(e,t,n)=>{if(!0===n.strictRanges)throw h([e,t]);return[]},m=(e,t,n=1,r={})=>{let i=Number(e),o=Number(t);if(!Number.isInteger(i)||!Number.isInteger(o)){if(!0===r.strictRanges)throw h([e,t]);return[]}0===i&&(i=0),0===o&&(o=0);let s=i>o,a=String(e),p=String(t),m=String(n);n=Math.max(Math.abs(n),1);let b=u(a)||u(p)||u(m),y=b?Math.max(a.length,p.length,m.length):0,g=!1===b&&!1===((e,t,n)=>"string"==typeof e||"string"==typeof t||!0===n.stringify)(e,t,r),v=r.transform||(e=>t=>!0===e?Number(t):String(t))(g);if(r.toRegex&&1===n)return f(c(e,y),c(t,y),!0,r);let _={negatives:[],positives:[]},w=[],j=0;for(;s?i>=o:i<=o;)!0===r.toRegex&&n>1?_[(x=i)<0?"negatives":"positives"].push(Math.abs(x)):w.push(l(v(i,j),y,g)),i=s?i-n:i+n,j++;var x;return!0===r.toRegex?n>1?((e,t)=>{e.negatives.sort((e,t)=>et?1:0),e.positives.sort((e,t)=>et?1:0);let n,r=t.capture?"":"?:",i="",o="";return e.positives.length&&(i=e.positives.join("|")),e.negatives.length&&(o=`-(${r}${e.negatives.join("|")})`),n=i&&o?`${i}|${o}`:i||o,t.wrap?`(${r}${n})`:n})(_,r):d(w,null,{wrap:!1,...r}):w},b=(e,t,n,r={})=>{if(null==t&&s(e))return[e];if(!s(e)||!s(t))return p(e,t,r);if("function"==typeof n)return b(e,t,1,{transform:n});if(o(n))return b(e,t,0,n);let i={...r};return!0===i.capture&&(i.wrap=!0),n=n||i.step||1,a(n)?a(e)&&a(t)?m(e,t,n,i):((e,t,n=1,r={})=>{if(!a(e)&&e.length>1||!a(t)&&t.length>1)return p(e,t,r);let i=r.transform||(e=>String.fromCharCode(e)),o=(""+e).charCodeAt(0),s=(""+t).charCodeAt(0),u=o>s,l=Math.min(o,s),c=Math.max(o,s);if(r.toRegex&&1===n)return f(l,c,!1,r);let h=[],m=0;for(;u?o>=s:o<=s;)h.push(i(o,m)),o=u?o-n:o+n,m++;return!0===r.toRegex?d(h,null,{wrap:!1,options:r}):h})(e,t,Math.max(Math.abs(n),1),i):null==n||o(n)?b(e,t,1,n):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(n,i)};e.exports=b},"../../node_modules/gensync/index.js":function(e,t,n){"use strict";const r=Symbol.for("gensync:v1:start"),i=Symbol.for("gensync:v1:suspend");function o(e,t,n,r){if(typeof n===e||r&&void 0===n)return;let i;throw i=r?`Expected opts.${t} to be either a ${e}, or undefined.`:`Expected opts.${t} to be a ${e}.`,s(i,"GENSYNC_OPTIONS_ERROR")}function s(e,t){return Object.assign(new Error(e),{code:t})}function a({name:e,arity:t,sync:n,async:o}){return h(e,t,(function*(...e){const t=yield r;if(!t){return n.call(this,e)}let s;try{o.call(this,e,e=>{s||(s={value:e},t())},e=>{s||(s={err:e},t())})}catch(e){s={err:e},t()}if(yield i,s.hasOwnProperty("err"))throw s.err;return s.value}))}function u(e){let t;for(;!({value:t}=e.next()).done;)c(t,e);return t}function l(e,t,n){!function r(){try{let n;for(;!({value:n}=e.next()).done;){c(n,e);let t=!0,i=!1;const o=e.next(()=>{t?i=!0:r()});if(t=!1,f(o,e),!i)return}return t(n)}catch(e){return n(e)}}()}function c(e,t){e!==r&&d(t,s(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,"GENSYNC_EXPECTED_START"))}function f({value:e,done:t},n){(t||e!==i)&&d(n,s(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,"GENSYNC_EXPECTED_SUSPEND"))}function d(e,t){throw e.throw&&e.throw(t),t}function h(e,t,n){if("string"==typeof e){const t=Object.getOwnPropertyDescriptor(n,"name");t&&!t.configurable||Object.defineProperty(n,"name",Object.assign(t||{},{configurable:!0,value:e}))}if("number"==typeof t){const e=Object.getOwnPropertyDescriptor(n,"length");e&&!e.configurable||Object.defineProperty(n,"length",Object.assign(e||{},{configurable:!0,value:t}))}return n}e.exports=Object.assign((function(e){let t=e;return t="function"!=typeof e?function({name:e,arity:t,sync:n,async:r,errback:i}){if(o("string","name",e,!0),o("number","arity",t,!0),o("function","sync",n),o("function","async",r,!0),o("function","errback",i,!0),r&&i)throw s("Expected one of either opts.async or opts.errback, but got _both_.","GENSYNC_OPTIONS_ERROR");if("string"!=typeof e){let t;i&&i.name&&"errback"!==i.name&&(t=i.name),r&&r.name&&"async"!==r.name&&(t=r.name.replace(/Async$/,"")),n&&n.name&&"sync"!==n.name&&(t=n.name.replace(/Sync$/,"")),"string"==typeof t&&(e=t)}"number"!=typeof t&&(t=n.length);return a({name:e,arity:t,sync:function(e){return n.apply(this,e)},async:function(e,t,o){r?r.apply(this,e).then(t,o):i?i.call(this,...e,(e,n)=>{null==e?t(n):o(e)}):t(n.apply(this,e))}})}(e):function(e){return h(e.name,e.length,(function(...t){return e.apply(this,t)}))}(e),Object.assign(t,function(e){return{sync:function(...t){return u(e.apply(this,t))},async:function(...t){return new Promise((n,r)=>{l(e.apply(this,t),n,r)})},errback:function(...t){const n=t.pop();if("function"!=typeof n)throw s("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let r;try{r=e.apply(this,t)}catch(e){return void n(e)}l(r,e=>n(void 0,e),e=>n(e))}}}(t))}),{all:a({name:"all",arity:1,sync:function(e){return Array.from(e[0]).map(e=>u(e))},async:function(e,t,n){const r=Array.from(e[0]);if(0===r.length)return void Promise.resolve().then(()=>t([]));let i=0;const o=r.map(()=>{});r.forEach((e,r)=>{l(e,e=>{o[r]=e,i+=1,i===o.length&&t(o)},n)})}}),race:a({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(0===t.length)throw s("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return u(t[0])},async:function(e,t,n){const r=Array.from(e[0]);if(0===r.length)throw s("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(const e of r)l(e,t,n)}})})},"../../node_modules/hash-base/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/safe-buffer/index.js").Buffer,i=n("../../node_modules/node-libs-browser/node_modules/stream-browserify/index.js").Transform;function o(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}n("../../node_modules/inherits/inherits_browser.js")(o,i),o.prototype._transform=function(e,t,n){var r=null;try{this.update(e,t)}catch(e){r=e}n(r)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},o.prototype.update=function(e,t){if(function(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw new TypeError(t+" must be a string or a buffer")}(e,"Data"),this._finalized)throw new Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var n=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o0;++s)this._length[s]+=a,(a=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*a);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},"../../node_modules/hash-sum/hash-sum.js":function(e,t,n){"use strict";function r(e,t){var n,r;if(0===t.length)return e;for(n=0,r=t.length;n=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;othis.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},"../../node_modules/hash.js/lib/hash/utils.js":function(e,t,n){"use strict";var r=n("../../node_modules/minimalistic-assert/index.js"),i=n("../../node_modules/inherits/inherits_browser.js");function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function a(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i>6|192,n[r++]=63&s|128):o(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,s=(o>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,s,a){var u=0,l=t;return u+=(l=l+r>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,n,r,i,o,s,a){return t+r+o+a>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,s,a,u,l){var c=0,f=t;return c+=(f=f+r>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,n,r,i,o,s,a,u,l){return t+r+o+a+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},"../../node_modules/hmac-drbg/lib/hmac-drbg.js":function(e,t,n){"use strict";var r=n("../../node_modules/hash.js/lib/hash.js"),i=n("../../node_modules/minimalistic-crypto-utils/lib/utils.js"),o=n("../../node_modules/minimalistic-assert/index.js");function s(e){if(!(this instanceof s))return new s(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),n=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,n,r)}e.exports=s,s.prototype._init=function(e,t,n){var r=e.concat(t).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(n||[])),this._reseed=1},s.prototype.generate=function(e,t,n,r){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(r=n,n=t,t=null),n&&(n=i.toArray(n,r||"hex"),this._update(n));for(var o=[];o.length>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=a;c>0;o=256*o+e[t+f],f+=d,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=l}return(h?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),(t+=s+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(s++,u/=2),s+f>=c?(a=0,s=c):s+f>=1?(a=(t*u-1)*Math.pow(2,i),s+=f):(a=t*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&a,h+=p,a/=256,i-=8);for(s=s<0;e[n+h]=255&s,h+=p,s/=256,l-=8);e[n+h-p]|=128*m}},"../../node_modules/import-fresh sync recursive":function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="../../node_modules/import-fresh sync recursive"},"../../node_modules/import-fresh/index.js":function(e,t,n){"use strict";(function(t){const r=n("../../node_modules/path-browserify/index.js"),i=n("../../node_modules/import-fresh/node_modules/resolve-from/index.js"),o=n("../../node_modules/parent-module/index.js");e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");const s=o(t),a=i(r.dirname(s),e),u=n.c[a];if(u&&u.parent){let e=u.parent.children.length;for(;e--;)u.parent.children[e].id===a&&u.parent.children.splice(e,1)}delete n.c[a];const l=n.c[s];return void 0===l?n("../../node_modules/import-fresh sync recursive")(a):l.require(a)}}).call(this,"/index.js")},"../../node_modules/import-fresh/node_modules/resolve-from/index.js":function(e,t,n){"use strict";const r=n("../../node_modules/path-browserify/index.js"),i=n("../../node_modules/node-libs-browser/mock/empty.js"),o=n("../../standalone-packages/codesandbox-browserfs/dist/shims/fs.js"),s=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``);if("string"!=typeof t)throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof t}\``);try{e=o.realpathSync(e)}catch(t){if("ENOENT"!==t.code){if(n)return null;throw t}e=r.resolve(e)}const s=r.join(e,"noop.js"),a=()=>i._resolveFilename(t,{id:s,filename:s,paths:i._nodeModulePaths(e)});if(n)try{return a()}catch(e){return null}return a()};e.exports=(e,t)=>s(e,t),e.exports.silent=(e,t)=>s(e,t,!0)},"../../node_modules/inherits/inherits_browser.js":function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},"../../node_modules/is-arrayish/index.js":function(e,t,n){"use strict";e.exports=function(e){return!!e&&(e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function)}},"../../node_modules/isarray/index.js":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"../../node_modules/json-parse-better-errors/index.js":function(e,t,n){"use strict";e.exports=function(e,t,n){n=n||20;try{return JSON.parse(e,t)}catch(t){if("string"!=typeof e){const t="Cannot parse "+(Array.isArray(e)&&0===e.length?"an empty array":String(e));throw new TypeError(t)}const r=t.message.match(/^Unexpected token.*position\s+(\d+)/i),i=r?+r[1]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null;if(null!=i){const r=i<=n?0:i-n,o=i+n>=e.length?e.length:i+n;t.message+=` while parsing near '${0===r?"":"..."}${e.slice(r,o)}${o===e.length?"":"..."}'`}else t.message+=` while parsing '${e.slice(0,2*n)}'`;throw t}}},"../../node_modules/lines-and-columns/dist/index.mjs":function(e,t,n){"use strict";n.r(t);var r=function(){function e(e){this.string=e;for(var t=[0],n=0;nthis.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;return{line:t,column:e-n[t]}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t},e}();t.default=r},"../../node_modules/lodash-es/_freeGlobal.js":function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n("../../node_modules/webpack/buildin/global.js"))},"../../node_modules/lodash-es/flatten.js":function(e,t,n){"use strict";var r=function(e,t){for(var n=-1,r=t.length,i=e.length;++n0&&i(l)?n>1?e(l,n-1,i,o,s):r(s,l):o||(s[s.length]=l)}return s};t.a=function(e){return(null==e?0:e.length)?S(e,1):[]}},"../../node_modules/md5.js/index.js":function(e,t,n){"use strict";var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/hash-base/index.js"),o=n("../../node_modules/safe-buffer/index.js").Buffer,s=new Array(16);function a(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function u(e,t){return e<>>32-t}function l(e,t,n,r,i,o,s){return u(e+(t&n|~t&r)+i+o|0,s)+t|0}function c(e,t,n,r,i,o,s){return u(e+(t&r|n&~r)+i+o|0,s)+t|0}function f(e,t,n,r,i,o,s){return u(e+(t^n^r)+i+o|0,s)+t|0}function d(e,t,n,r,i,o,s){return u(e+(n^(t|~r))+i+o|0,s)+t|0}r(a,i),a.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,i=this._c,o=this._d;n=l(n,r,i,o,e[0],3614090360,7),o=l(o,n,r,i,e[1],3905402710,12),i=l(i,o,n,r,e[2],606105819,17),r=l(r,i,o,n,e[3],3250441966,22),n=l(n,r,i,o,e[4],4118548399,7),o=l(o,n,r,i,e[5],1200080426,12),i=l(i,o,n,r,e[6],2821735955,17),r=l(r,i,o,n,e[7],4249261313,22),n=l(n,r,i,o,e[8],1770035416,7),o=l(o,n,r,i,e[9],2336552879,12),i=l(i,o,n,r,e[10],4294925233,17),r=l(r,i,o,n,e[11],2304563134,22),n=l(n,r,i,o,e[12],1804603682,7),o=l(o,n,r,i,e[13],4254626195,12),i=l(i,o,n,r,e[14],2792965006,17),n=c(n,r=l(r,i,o,n,e[15],1236535329,22),i,o,e[1],4129170786,5),o=c(o,n,r,i,e[6],3225465664,9),i=c(i,o,n,r,e[11],643717713,14),r=c(r,i,o,n,e[0],3921069994,20),n=c(n,r,i,o,e[5],3593408605,5),o=c(o,n,r,i,e[10],38016083,9),i=c(i,o,n,r,e[15],3634488961,14),r=c(r,i,o,n,e[4],3889429448,20),n=c(n,r,i,o,e[9],568446438,5),o=c(o,n,r,i,e[14],3275163606,9),i=c(i,o,n,r,e[3],4107603335,14),r=c(r,i,o,n,e[8],1163531501,20),n=c(n,r,i,o,e[13],2850285829,5),o=c(o,n,r,i,e[2],4243563512,9),i=c(i,o,n,r,e[7],1735328473,14),n=f(n,r=c(r,i,o,n,e[12],2368359562,20),i,o,e[5],4294588738,4),o=f(o,n,r,i,e[8],2272392833,11),i=f(i,o,n,r,e[11],1839030562,16),r=f(r,i,o,n,e[14],4259657740,23),n=f(n,r,i,o,e[1],2763975236,4),o=f(o,n,r,i,e[4],1272893353,11),i=f(i,o,n,r,e[7],4139469664,16),r=f(r,i,o,n,e[10],3200236656,23),n=f(n,r,i,o,e[13],681279174,4),o=f(o,n,r,i,e[0],3936430074,11),i=f(i,o,n,r,e[3],3572445317,16),r=f(r,i,o,n,e[6],76029189,23),n=f(n,r,i,o,e[9],3654602809,4),o=f(o,n,r,i,e[12],3873151461,11),i=f(i,o,n,r,e[15],530742520,16),n=d(n,r=f(r,i,o,n,e[2],3299628645,23),i,o,e[0],4096336452,6),o=d(o,n,r,i,e[7],1126891415,10),i=d(i,o,n,r,e[14],2878612391,15),r=d(r,i,o,n,e[5],4237533241,21),n=d(n,r,i,o,e[12],1700485571,6),o=d(o,n,r,i,e[3],2399980690,10),i=d(i,o,n,r,e[10],4293915773,15),r=d(r,i,o,n,e[1],2240044497,21),n=d(n,r,i,o,e[8],1873313359,6),o=d(o,n,r,i,e[15],4264355552,10),i=d(i,o,n,r,e[6],2734768916,15),r=d(r,i,o,n,e[13],1309151649,21),n=d(n,r,i,o,e[4],4149444226,6),o=d(o,n,r,i,e[11],3174756917,10),i=d(i,o,n,r,e[2],718787259,15),r=d(r,i,o,n,e[9],3951481745,21),this._a=this._a+n|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},a.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 e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=a},"../../node_modules/meriyah/dist/meriyah.umd.js":function(e,t,n){!function(e){"use strict";const t={0:"Unexpected token",28:"Unexpected token: '%0'",1:"Octal escape sequences are not allowed in strict mode",2:"Octal escape sequences are not allowed in template strings",3:"Unexpected token `#`",4:"Illegal Unicode escape sequence",5:"Invalid code point %0",6:"Invalid hexadecimal escape sequence",8:"Octal literals are not allowed in strict mode",7:"Decimal integer literals with a leading zero are forbidden in strict mode",9:"Expected number in radix %0",145:"Invalid left-hand side assignment to a destructible right-hand side",10:"Non-number found after exponent indicator",11:"Invalid BigIntLiteral",12:"No identifiers allowed directly after numeric literal",13:"Escapes \\8 or \\9 are not syntactically valid escapes",14:"Unterminated string literal",15:"Unterminated template literal",16:"Multiline comment was not closed properly",17:"The identifier contained dynamic unicode escape that was not closed",18:"Illegal character '%0'",19:"Missing hexadecimal digits",20:"Invalid implicit octal",21:"Invalid line break in string literal",22:"Only unicode escapes are legal in identifier names",23:"Expected '%0'",24:"Invalid left-hand side in assignment",25:"Invalid left-hand side in async arrow",26:'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass',27:"Member access on super must be in a method",29:"Await expression not allowed in formal parameter",30:"Yield expression not allowed in formal parameter",92:"Unexpected token: 'escaped keyword'",31:"Unary expressions as the left operand of an exponentation expression must be disambiguated with parentheses",119:"Async functions can only be declared at the top level or inside a block",32:"Unterminated regular expression",33:"Unexpected regular expression flag",34:"Duplicate regular expression flag '%0'",35:"%0 functions must have exactly %1 argument%2",36:"Setter function argument must not be a rest parameter",37:"%0 declaration must have a name in this context",38:"Function name may not contain any reserved words or be eval or arguments in strict mode",39:"The rest operator is missing an argument",40:"A getter cannot be a generator",41:"A computed property name must be followed by a colon or paren",130:"Object literal keys that are strings or numbers must be a method or have a colon",43:"Found `* async x(){}` but this should be `async * x(){}`",42:"Getters and setters can not be generators",44:"'%0' can not be generator method",45:"No line break is allowed after '=>'",46:"The left-hand side of the arrow can only be destructed through assignment",47:"The binding declaration is not destructible",48:"Async arrow can not be followed by new expression",49:"Classes may not have a static property named 'prototype'",50:"Class constructor may not be a %0",51:"Duplicate constructor method in class",52:"Invalid increment/decrement operand",53:"Invalid use of `new` keyword on an increment/decrement expression",54:"`=>` is an invalid assignment target",55:"Rest element may not have a trailing comma",56:"Missing initializer in %0 declaration",57:"'for-%0' loop head declarations can not have an initializer",58:"Invalid left-hand side in for-%0 loop: Must have a single binding",59:"Invalid shorthand property initializer",60:"Property name __proto__ appears more than once in object literal",61:"Let is disallowed as a lexically bound name",62:"Invalid use of '%0' inside new expression",63:"Illegal 'use strict' directive in function with non-simple parameter list",64:'Identifier "let" disallowed as left-hand side expression in strict mode',65:"Illegal continue statement",66:"Illegal break statement",67:"Cannot have `let[...]` as a var name in strict mode",68:"Invalid destructuring assignment target",69:"Rest parameter may not have a default initializer",70:"The rest argument must the be last parameter",71:"Invalid rest argument",73:"In strict mode code, functions can only be declared at top level or inside a block",74:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement",75:"Without web compability enabled functions can not be declared at top level, inside a block, or as the body of an if statement",76:"Class declaration can't appear in single-statement context",77:"Invalid left-hand side in for-%0",78:"Invalid assignment in for-%0",79:"for await (... of ...) is only valid in async functions and async generators",80:"The first token after the template expression should be a continuation of the template",82:"`let` declaration not allowed here and `let` cannot be a regular var name in strict mode",81:"`let \n [` is a restricted production at the start of a statement",83:"Catch clause requires exactly one parameter, not more (and no trailing comma)",84:"Catch clause parameter does not support default values",85:"Missing catch or finally after try",86:"More than one default clause in switch statement",87:"Illegal newline after throw",88:"Strict mode code may not include a with statement",89:"Illegal return statement",90:"The left hand side of the for-header binding declaration is not destructible",91:"new.target only allowed within functions",92:"'Unexpected token: 'escaped keyword'",93:"'#' not followed by identifier",99:"Invalid keyword",98:"Can not use 'let' as a class name",97:"'A lexical declaration can't define a 'let' binding",96:"Can not use `let` as variable name in strict mode",94:"'%0' may not be used as an identifier in this context",95:"Await is only valid in async functions",100:"The %0 keyword can only be used with the module goal",101:"Unicode codepoint must not be greater than 0x10FFFF",102:"%0 source must be string",103:"Only a identifier can be used to indicate alias",104:"Only '*' or '{...}' can be imported after default",105:"Trailing decorator may be followed by method",106:"Decorators can't be used with a constructor",107:"'%0' may not be used as an identifier in this context",108:"HTML comments are only allowed with web compability (Annex B)",109:"The identifier 'let' must not be in expression position in strict mode",110:"Cannot assign to `eval` and `arguments` in strict mode",111:"The left-hand side of a for-of loop may not start with 'let'",112:"Block body arrows can not be immediately invoked without a group",113:"Block body arrows can not be immediately accessed without a group",114:"Unexpected strict mode reserved word",115:"Unexpected eval or arguments in strict mode",116:"Decorators must not be followed by a semicolon",117:"Calling delete on expression not allowed in strict mode",118:"Pattern can not have a tail",120:"Can not have a `yield` expression on the left side of a ternary",121:"An arrow function can not have a postfix update operator",122:"Invalid object literal key character after generator star",123:"Private fields can not be deleted",125:"Classes may not have a field called constructor",124:"Classes may not have a private element named constructor",126:"A class field initializer may not contain arguments",127:"Generators can only be declared at the top level or inside a block",128:"Async methods are a restricted production and cannot have a newline following it",129:"Unexpected character after object literal property name",131:"Invalid key token",132:"Label '%0' has already been declared",133:"continue statement must be nested within an iteration statement",134:"Undefined label '%0'",135:"Trailing comma is disallowed inside import(...) arguments",136:"import() requires exactly one argument",137:"Cannot use new with import(...)",138:"... is not allowed in import()",139:"Expected '=>'",140:"Duplicate binding '%0'",141:"Cannot export a duplicate name '%0'",144:"Duplicate %0 for-binding",142:"Exported binding '%0' needs to refer to a top-level declared variable",143:"Unexpected private field",147:"Numeric separators are not allowed at the end of numeric literals",146:"Only one underscore is allowed as numeric separator",148:"JSX value should be either an expression or a quoted JSX text",149:"Expected corresponding JSX closing tag for %0",150:"Adjacent JSX elements must be wrapped in an enclosing tag",151:"JSX attributes must only be assigned a non-empty 'expression'",152:"'%0' has already been declared",153:"'%0' shadowed a catch clause binding",154:"Dot property must be an identifier",155:"Encountered invalid input after spread/rest argument",156:"Catch without try",157:"Finally without try",158:"Expected corresponding closing tag for JSX fragment",159:"Coalescing and logical operators used together in the same expression must be disambiguated with parentheses",160:"Invalid tagged template on optional chain",161:"Invalid optional chain from super property",162:"Invalid optional chain from new expression",163:'Cannot use "import.meta" outside a module'};class n extends SyntaxError{constructor(e,n,r,i,...o){const s="["+n+":"+r+"]: "+t[i].replace(/%(\d+)/g,(e,t)=>o[t]);super(""+s),this.index=e,this.line=n,this.column=r,this.description=s,this.loc={line:n,column:r}}}function r(e,t,...r){throw new n(e.index,e.line,e.column,t,...r)}function i(e){throw new n(e.index,e.line,e.column,e.type,e.params)}function o(e,t,r,i,...o){throw new n(e,t,r,i,...o)}function s(e,t,r,i){throw new n(e,t,r,i)}const a=((e,t)=>{const n=new Uint32Array(104448);let r=0,i=0;for(;r<3460;){const o=e[r++];if(o<0)i-=o;else{let s=e[r++];2&o&&(s=t[s]),1&o?n.fill(s,i,i+=e[r++]):n[i++]=s}}return n})([-1,2,27,2,28,2,5,-1,0,77595648,3,46,2,3,0,14,2,57,2,58,3,0,3,0,3168796671,0,4294956992,2,1,2,0,2,59,3,0,4,0,4294966523,3,0,4,2,16,2,60,2,0,0,4294836735,0,3221225471,0,4294901942,2,61,0,134152192,3,0,2,0,4294951935,3,0,2,0,2683305983,0,2684354047,2,17,2,0,0,4294961151,3,0,2,2,20,2,0,0,608174079,2,0,2,128,2,6,2,62,-1,2,64,2,25,2,1,3,0,3,0,4294901711,2,41,0,4089839103,0,2961209759,0,1342439375,0,4294543342,0,3547201023,0,1577204103,0,4194240,0,4294688750,2,2,0,80831,0,4261478351,0,4294549486,2,2,0,2965387679,0,196559,0,3594373100,0,3288319768,0,8469959,2,192,0,4294828031,0,3825204735,0,123747807,0,65487,2,3,0,4092591615,0,1080049119,0,458703,2,3,2,0,0,2163244511,0,4227923919,0,4236247020,2,69,0,4284449919,0,851904,2,4,2,11,0,67076095,-1,2,70,0,1073741743,0,4093591391,-1,0,50331649,0,3265266687,2,35,0,4294844415,0,4278190047,2,22,2,126,-1,3,0,2,2,32,2,0,2,9,2,0,2,14,2,15,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,10,0,261632,2,19,3,0,2,2,12,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,2088959,2,30,2,8,0,909311,3,0,2,0,814743551,2,43,0,67057664,3,0,2,2,42,2,0,2,31,2,0,2,18,2,7,0,268374015,2,29,2,51,2,0,2,79,0,134153215,-1,2,6,2,0,2,7,0,2684354559,0,67044351,0,1073676416,-2,3,0,2,2,44,0,1046528,3,0,3,2,8,2,0,2,52,0,4294960127,2,9,2,40,2,10,0,4294377472,2,11,3,0,7,0,4227858431,3,0,8,2,12,2,0,2,81,2,9,2,0,2,82,2,83,2,84,-1,2,122,0,1048577,2,85,2,13,-1,2,13,0,131042,2,86,2,87,2,88,2,0,2,36,-83,2,0,2,54,2,7,3,0,4,0,1046559,2,0,2,14,2,0,0,2147516671,2,23,3,89,2,2,0,-16,2,90,0,524222462,2,4,2,0,0,4269801471,2,4,2,0,2,15,2,80,2,16,3,0,2,2,49,2,11,-1,2,17,-16,3,0,205,2,18,-2,3,0,655,2,19,3,0,36,2,71,-1,2,17,2,9,3,0,8,2,92,2,119,2,0,0,3220242431,3,0,3,2,20,2,21,2,93,3,0,2,2,94,2,0,2,95,2,21,2,0,2,26,2,0,2,8,3,0,2,0,67043391,0,3909091327,2,0,2,24,2,8,2,22,3,0,2,0,67076097,2,7,2,0,2,23,0,67059711,0,4236247039,3,0,2,0,939524103,0,8191999,2,98,2,99,2,15,2,33,3,0,3,0,67057663,3,0,349,2,100,2,101,2,6,-264,3,0,11,2,24,3,0,2,2,34,-1,0,3774349439,2,102,2,103,3,0,2,2,20,2,25,3,0,10,2,9,2,17,2,0,2,47,2,0,2,26,2,104,2,19,0,1638399,2,172,2,105,3,0,3,2,22,2,27,2,28,2,5,2,29,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,30,-3,2,150,-4,2,22,2,0,2,38,0,1,2,0,2,63,2,31,2,11,2,9,2,0,2,110,-1,3,0,4,2,9,2,32,2,111,2,6,2,0,2,33,2,0,2,50,-4,3,0,9,2,23,2,18,2,26,-4,2,112,2,113,2,18,2,23,2,7,-2,2,114,2,18,2,34,-2,2,0,2,115,-2,0,4277137519,0,2269118463,-1,3,22,2,-1,2,35,2,39,2,0,3,18,2,2,37,2,20,-3,3,0,2,2,36,-1,2,0,2,37,2,0,2,37,2,0,2,48,-14,2,22,2,45,2,38,-4,2,23,3,0,2,2,39,0,2147549120,2,0,2,11,2,17,2,134,2,0,2,53,0,4294901872,0,5242879,3,0,2,0,402595359,-1,2,118,0,1090519039,-2,2,120,2,40,2,0,0,67045375,2,41,0,4226678271,0,3766565279,0,2039759,-4,3,0,2,0,3288270847,-1,3,0,2,0,67043519,-5,2,0,0,4282384383,0,1056964609,-1,3,0,2,0,67043345,-1,2,0,2,42,2,43,-1,2,10,2,44,-6,2,0,2,11,-3,3,0,2,0,2147484671,-5,2,123,0,4244635647,0,27,2,0,2,7,2,45,2,0,2,65,-1,2,0,2,42,-8,2,55,2,46,0,67043329,2,124,2,47,0,8388351,-2,2,125,0,3028287487,2,48,2,127,0,33259519,2,43,-9,2,23,-8,3,0,28,2,34,-3,3,0,3,2,49,3,0,6,2,50,-85,3,0,33,2,49,-126,3,0,18,2,39,-269,3,0,17,2,42,2,7,2,43,-2,2,17,2,51,2,0,2,23,0,67043343,2,129,2,19,-21,3,0,2,-4,3,0,2,0,4294936575,2,0,0,4294934783,-2,2,130,3,0,191,2,52,3,0,23,2,37,-296,3,0,8,2,7,-1,2,131,2,132,3,0,11,2,6,-72,3,0,3,2,133,0,1677656575,-166,0,4161266656,0,4071,0,15360,-4,0,28,-13,3,0,2,2,53,2,0,2,135,2,136,2,56,2,0,2,137,2,138,2,139,3,0,10,2,140,2,141,2,15,3,53,2,3,54,2,3,55,2,0,4294954999,2,0,-16,2,0,2,91,2,0,0,2105343,0,4160749584,0,65534,-42,0,4194303871,0,2011,-6,2,0,0,1073684479,0,17407,-11,2,0,2,34,-40,3,0,6,0,8323103,-1,3,0,2,2,44,-37,2,56,2,144,2,145,2,146,2,147,2,148,-138,3,0,1334,2,23,-1,3,0,129,2,30,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-22583,3,0,7,2,19,-6130,3,5,2,-1,0,69207040,3,46,2,3,0,14,2,57,2,58,-3,0,3168731136,0,4294956864,2,1,2,0,2,59,3,0,4,0,4294966275,3,0,4,2,16,2,60,2,0,2,36,-1,2,17,2,61,-1,2,0,2,62,0,4294885376,3,0,2,0,3145727,0,2617294944,0,4294770688,2,19,2,63,3,0,2,0,131135,2,96,0,70256639,0,71303167,0,272,2,42,2,62,-1,2,64,-2,2,97,2,65,0,4278255616,0,4294836227,0,4294549473,0,600178175,0,2952806400,0,268632067,0,4294543328,0,57540095,0,1577058304,0,1835008,0,4294688736,2,66,2,67,0,33554435,2,121,2,66,2,151,0,131075,0,3594373096,0,67094296,2,67,-1,2,68,0,603979263,2,160,0,3,0,4294828001,0,602930687,2,181,0,393219,2,68,0,671088639,0,2154840064,0,4227858435,0,4236247008,2,69,2,39,-1,2,4,0,917503,2,39,-1,2,70,0,537788335,0,4026531935,-1,0,1,-1,2,35,2,71,0,7936,-3,2,0,0,2147485695,0,1010761728,0,4292984930,0,16387,2,0,2,14,2,15,3,0,10,2,72,2,0,2,73,2,74,2,75,2,0,2,76,2,0,2,11,-1,2,19,3,0,2,2,12,2,4,3,0,18,2,77,2,5,3,0,2,2,78,0,253951,3,20,2,0,122879,2,0,2,8,0,276824064,-2,3,0,2,2,42,2,0,0,4294903295,2,0,2,18,2,7,-1,2,17,2,51,2,0,2,79,2,43,-1,2,23,2,0,2,30,-2,0,128,-2,2,80,2,8,0,4064,-1,2,117,0,4227907585,2,0,2,116,2,0,2,50,0,4227915776,2,9,2,40,2,10,-1,0,74440192,3,0,6,-2,3,0,8,2,12,2,0,2,81,2,9,2,0,2,82,2,83,2,84,-3,2,85,2,13,-3,2,86,2,87,2,88,2,0,2,36,-83,2,0,2,54,2,7,3,0,4,0,817183,2,0,2,14,2,0,0,33023,2,23,3,89,2,-17,2,90,0,524157950,2,4,2,0,2,91,2,4,2,0,2,15,2,80,2,16,3,0,2,2,49,2,11,-1,2,17,-16,3,0,205,2,18,-2,3,0,655,2,19,3,0,36,2,71,-1,2,17,2,9,3,0,8,2,92,0,3072,2,0,0,2147516415,2,9,3,0,2,2,19,2,21,2,93,3,0,2,2,94,2,0,2,95,2,21,0,4294965179,0,7,2,0,2,8,2,93,2,8,-1,0,1761345536,2,96,0,4294901823,2,39,2,22,2,97,2,37,2,165,0,2080440287,2,0,2,36,2,142,0,3296722943,2,0,0,1046675455,0,939524101,0,1837055,2,98,2,99,2,15,2,33,3,0,3,0,7,3,0,349,2,100,2,101,2,6,-264,3,0,11,2,24,3,0,2,2,34,-1,0,2700607615,2,102,2,103,3,0,2,2,20,2,25,3,0,10,2,9,2,17,2,0,2,47,2,0,2,26,2,104,-3,2,105,3,0,3,2,22,-1,3,5,2,2,29,2,0,2,7,2,106,-1,2,107,2,108,2,109,-1,3,0,3,2,11,-2,2,0,2,30,-8,2,22,2,0,2,38,-1,2,0,2,63,2,31,2,18,2,9,2,0,2,110,-1,3,0,4,2,9,2,17,2,111,2,6,2,0,2,33,2,0,2,50,-4,3,0,9,2,23,2,18,2,26,-4,2,112,2,113,2,18,2,23,2,7,-2,2,114,2,18,2,34,-2,2,0,2,115,-2,0,4277075969,2,18,-1,3,22,2,-1,2,35,2,143,2,0,3,18,2,2,37,2,20,-3,3,0,2,2,36,-1,2,0,2,37,2,0,2,37,2,0,2,50,-14,2,22,2,45,2,116,-4,2,23,2,117,2,52,-2,2,117,2,19,2,17,2,36,2,117,2,39,0,4294901776,0,4718591,2,117,2,37,0,335544350,-1,2,118,2,119,-2,2,120,2,40,2,7,-1,2,121,2,66,0,3758161920,0,3,-4,2,0,2,30,0,2147485568,-1,2,0,2,19,0,176,-5,2,0,2,49,2,183,-1,2,0,2,19,2,195,-1,2,0,0,16779263,-2,2,11,-7,2,0,2,119,-3,3,0,2,2,122,-5,2,123,2,38,0,10,0,4294965249,0,67633151,0,4026597376,2,0,0,536871935,-1,2,0,2,42,-8,2,55,2,49,0,1,2,124,2,19,-3,2,125,2,38,2,126,2,127,0,16778239,-10,2,37,-8,3,0,28,2,34,-3,3,0,3,2,49,3,0,6,2,50,-85,3,0,33,2,49,-126,3,0,18,2,39,-269,3,0,17,2,42,2,7,-3,2,17,2,128,2,0,2,19,2,50,2,129,2,19,-21,3,0,2,-4,3,0,2,0,67583,-1,2,25,-2,2,130,3,0,191,2,52,3,0,23,2,37,-296,3,0,8,2,7,-1,2,131,2,132,3,0,11,2,6,-72,3,0,3,2,133,2,134,-187,3,0,2,2,53,2,0,2,135,2,136,2,56,2,0,2,137,2,138,2,139,3,0,10,2,140,2,141,2,15,3,53,2,3,54,2,3,55,2,2,142,-73,2,0,0,1065361407,0,16384,-11,2,0,2,119,-40,3,0,6,2,143,-1,3,0,2,0,2063,-37,2,56,2,144,2,145,2,146,2,147,2,148,-138,3,0,1334,2,23,-1,3,0,129,2,30,3,0,6,2,9,3,0,180,2,149,3,0,233,0,1,-96,3,0,16,2,9,-28719,2,0,0,1,-1,2,122,2,0,0,8193,-21,2,191,0,10255,0,4,-11,2,67,2,170,-1,0,71680,-1,2,161,0,4292900864,0,805306431,-5,2,150,-1,2,177,-1,2,200,-2,2,124,-1,2,154,-1,2,157,2,151,2,164,2,0,0,3223322624,2,37,0,4,-4,2,189,0,205128192,0,1333757536,0,2147483696,0,423953,0,747766272,0,2717763192,0,4286578751,0,278545,2,152,0,4294886464,0,33292336,0,417809,2,152,0,1329579616,0,4278190128,0,700594195,0,1006647527,0,4286497336,0,4160749631,2,153,0,469762560,0,4171219488,0,8323120,2,153,0,202375680,0,3214918176,0,4294508592,0,139280,-1,0,983584,0,48,0,58720275,0,3489923072,0,10517376,0,4293066815,0,1,0,2013265920,2,176,2,0,0,2089,0,3221225552,0,201375904,2,0,-2,0,256,0,122880,0,16777216,2,150,0,4160757760,2,0,-6,2,166,-11,0,3263218176,-1,0,49664,0,2160197632,0,8388802,-1,0,12713984,-1,2,154,2,159,2,178,-2,2,162,-20,0,3758096385,-2,2,155,0,4292878336,2,21,2,168,0,4294057984,-2,2,163,2,156,2,174,-2,2,155,-1,2,180,-1,2,169,2,122,0,4026593280,0,14,0,4292919296,-1,2,158,0,939588608,-1,0,805306368,-1,2,122,0,1610612736,2,156,2,157,3,0,2,-2,2,158,2,159,-3,0,267386880,-1,2,160,0,7168,-1,0,65024,2,154,2,161,2,171,-7,2,167,-8,2,162,-1,0,1426112704,2,163,-1,2,186,0,271581216,0,2149777408,2,19,2,161,2,122,0,851967,0,3758129152,-1,2,19,2,179,-4,2,158,-20,2,193,2,164,-56,0,3145728,2,185,-4,2,165,2,122,-4,0,32505856,-1,2,166,-1,0,2147385088,2,21,1,2155905152,2,-3,2,17,2,0,2,167,-2,2,168,-6,2,169,0,4026597375,0,1,-1,0,1,-1,2,170,-3,2,143,2,67,-2,2,165,2,171,-1,2,175,2,122,-6,2,122,-213,2,169,-657,2,17,-36,2,172,-1,2,187,-10,2,198,-5,2,173,-6,0,4294967171,2,23,-1,0,4227919872,-1,2,173,-2,0,4227874752,-3,0,2146435072,2,159,-2,0,1006649344,2,122,-1,2,21,0,201375744,-3,0,134217720,2,21,0,4286677377,0,32896,-1,2,161,-3,2,174,-349,2,175,0,1920,2,176,3,0,264,-11,2,177,-2,2,178,2,0,0,520617856,0,2692743168,0,36,-3,0,524284,-11,2,19,-1,2,184,-1,2,182,0,3221291007,2,178,-1,0,524288,0,2158720,-3,2,159,0,1,-4,2,122,0,3808625411,0,3489628288,2,199,0,1207959680,0,3221274624,2,0,-3,2,171,0,120,0,7340032,-2,0,4026564608,2,4,2,19,2,163,3,0,4,2,159,-1,2,179,2,176,-1,0,8176,2,180,2,171,2,181,-1,0,4290773232,2,0,-4,2,163,2,188,0,15728640,2,176,-1,2,161,-1,0,4294934512,3,0,4,-9,2,21,2,169,2,182,3,0,4,0,704,0,1849688064,0,4194304,-1,2,122,0,4294901887,2,0,0,130547712,0,1879048192,2,197,3,0,2,-1,2,183,2,184,-1,0,17829776,0,2025848832,0,4261477888,-2,2,0,-1,0,4286580608,-1,0,29360128,2,185,0,16252928,0,3791388672,2,40,3,0,2,-2,2,194,2,0,-1,2,25,-1,0,66584576,-1,2,190,3,0,9,2,122,3,0,4,-1,2,161,2,178,3,0,4,2,21,-2,0,245760,0,2147418112,-1,2,150,2,202,0,4227923456,-1,2,186,2,187,2,21,-2,2,177,0,4292870145,0,262144,2,122,3,0,2,0,1073758848,2,188,-1,0,4227921920,2,189,0,68289024,0,528402016,0,4292927536,3,0,4,-2,0,335544320,2,0,-2,2,190,3,0,5,-1,2,185,2,163,2,0,-2,0,4227923936,2,63,-1,2,155,2,96,2,0,2,154,2,158,3,0,6,-1,2,176,3,0,3,-2,0,2146959360,3,0,5,0,768,2,191,2,80,-2,2,161,-2,2,117,-1,2,155,3,0,8,0,512,0,8388608,2,192,2,172,2,184,0,4286578944,3,0,2,0,1152,0,1266679808,2,190,0,576,0,4261707776,2,96,3,0,9,2,155,3,0,6,-1,0,2147221504,-28,2,178,3,0,3,-3,0,4292902912,-6,2,97,3,0,85,-33,0,4294934528,3,0,126,-18,2,193,3,0,269,-17,2,155,2,122,2,196,3,0,2,2,19,0,4290822144,-2,0,67174336,0,520093700,2,17,3,0,21,-2,2,171,3,0,3,-2,0,30720,-1,0,32512,3,0,2,2,97,-191,2,173,-23,2,25,3,0,296,-8,2,122,2,0,0,4294508543,0,65295,-11,2,176,3,0,72,-3,0,3758159872,0,201391616,3,0,155,-7,2,169,-1,0,384,-1,0,133693440,-3,2,194,-2,2,29,3,0,4,2,168,-2,2,21,2,155,3,0,4,-2,2,186,-1,2,150,0,335552923,2,195,-1,0,538974272,0,2214592512,0,132e3,-10,0,192,-8,0,12288,-21,0,134213632,0,4294901761,3,0,42,0,100663424,0,4294965284,3,0,6,-1,0,3221282816,2,196,3,0,11,-1,2,197,3,0,40,-6,0,4286578784,2,0,-2,0,1006694400,3,0,24,2,38,-1,2,201,3,0,2,0,1,2,163,3,0,6,2,195,0,4110942569,0,1432950139,0,2701658217,0,4026532864,0,4026532881,2,0,2,47,3,0,8,-1,2,158,-2,2,168,0,98304,0,65537,2,169,2,172,-2,2,172,-1,2,63,2,0,2,116,0,65528,2,176,0,4294770176,2,29,3,0,4,-30,2,169,0,4160806912,-3,2,168,-2,2,155,2,198,2,158,-1,2,190,-1,2,161,0,4294950912,3,0,2,2,199,-2,0,58982400,-1,0,14360,2,200,-3,2,168,0,4176527360,0,4290838520,3,0,43,-1334,2,21,2,0,-129,2,201,-6,2,163,-180,2,202,-233,2,4,3,0,96,-16,2,163,3,0,22583,-7,2,17,3,0,6128],[4294967295,4294967291,4092460543,4294828015,4294967294,134217726,268435455,2147483647,1048575,1073741823,3892314111,134217727,1061158911,536805376,4294910143,4160749567,4294901759,4294901760,4194303,65535,262143,4286578688,536870911,8388607,4294918143,4294443008,255,67043328,2281701374,4294967232,2097151,4294903807,4294902783,4294902015,67108863,4294967039,511,524287,131071,127,4294902271,4294549487,33554431,1023,67047423,4294901888,4286578687,4294770687,67043583,32767,15,2047999,16777215,4292870143,4294934527,4294966783,4294967279,262083,20511,4290772991,41943039,493567,2047,4294959104,1071644671,603979775,602799615,65536,4294828e3,805044223,4294965206,8191,1031749119,4294917631,2134769663,4286578493,4282253311,4294942719,33540095,4294905855,4294967264,2868854591,1608515583,265232348,534519807,2147614720,1060109444,4093640016,17376,2139062143,224,4169138175,4294909951,4294967292,4294965759,124,4294966272,4294967280,8289918,4294934399,4294901775,4294965375,1602223615,4294967259,268369920,4292804608,486341884,4294963199,3087007615,1073692671,4128527,4279238655,4294966591,2445279231,3670015,3238002687,63,4294967288,4294705151,4095,3221208447,4294549472,2147483648,4294966527,4294705152,4294966143,64,4294966719,16383,3774873592,11,458752,4294902e3,536807423,67043839,3758096383,3959414372,3755993023,2080374783,4294835295,4294967103,4160749565,4087,31,184024726,2862017156,1593309078,268434431,268434414,4294901763,536870912,2952790016,202506752,139264,402653184,4261412864,4227922944,2147532800,61440,3758096384,117440512,65280,3233808384,3221225472,4294965248,32768,57152,67108864,4293918720,4290772992,25165824,4160749568,57344,4278190080,4227907584,65520,4026531840,49152,4227858432,4294836224,63488,1073741824,4294967040,251658240,196608,12582912,2097152,65408,64512,417808,4227923712,50331648,65472,4294967168,4294966784,16,4294917120,2080374784,4294963200,4096,6144,4292870144,65532]),u=[126,126,126,126,126,126,126,126,126,125,133,125,125,127,126,126,126,126,126,126,126,126,126,126,126,126,126,126,126,126,126,126,125,16842797,134283267,128,208897,8457012,8455748,134283267,67174411,16,8457011,25233967,1073741842,25233968,67108877,8457013,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,134283266,21,1074790417,8456255,1077936157,8456256,22,130,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,208897,69271571,134,20,8455494,208897,129,4096,4096,4096,4096,4096,4096,4096,208897,4096,208897,208897,4096,208897,4096,208897,4096,208897,4096,4096,4096,208897,4096,4096,208897,4096,4096,2162700,8455237,1074790415,16842798,126];function l(e,t){e.flags=1^(1|e.flags),e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=c(e,t,0),e.onToken&&1048576!==e.token&&e.onToken(function(e){switch(e){case 134283266:return"NumericLiteral";case 134283267:return"StringLiteral";case 86021:case 86022:return"BooleanLiteral";case 86023:return"NullLiteral";case 65540:return"RegularExpression";case 67174408:case 67174409:case 129:return"TemplateLiteral";default:return 143360==(143360&e)?"Identifier":4096==(4096&e)?"Keyword":"Punctuator"}}(e.token),e.startPos,e.index)}function c(e,t,n){const i=0===e.index,o=e.source;for(;e.index=e.end)return 1077936157;const t=e.currentChar;return 61===t?61===m(e)?(m(e),8455993):8455995:62===t?(m(e),10):1077936157}case 16842797:return 61!==m(e)?16842797:61!==m(e)?8455996:(m(e),8455994);case 8457012:return 61!==m(e)?8457012:(m(e),4194342);case 8457011:{if(m(e),e.index>=e.end)return 8457011;const t=e.currentChar;return 61===t?(m(e),4194340):42!==t?8457011:61!==m(e)?8457270:(m(e),4194337)}case 8455494:return 61!==m(e)?8455494:(m(e),4194343);case 25233967:{m(e);const t=e.currentChar;return 43===t?(m(e),33619995):61===t?(m(e),4194338):25233967}case 25233968:{if(m(e),e.index>=e.end)return 25233968;const s=e.currentChar;if(45===s){if(m(e),(1&n||i)&&62===e.currentChar){0==(256&t)&&r(e,108),m(e),n=d(e,o,n,t,3);continue}return 33619996}return 61===s?(m(e),4194339):25233968}case 8457013:if(m(e),e.index=e.end)return 8455237;const t=e.currentChar;return 124===t?(m(e),8979e3):61===t?(m(e),4194344):8455237}case 8456256:{if(m(e),e.index>=e.end)return 8456256;const t=e.currentChar;if(61===t)return m(e),8455998;if(62!==t)return 8456256;if(m(e),e.index=e.end)return 8455748;const t=e.currentChar;return 38===t?(m(e),8979255):61===t?(m(e),4194345):8455748}case 67108877:const u=m(e);if(u>=48&&u<=57)return N(e,t,80);if(46===u){const t=e.index+1;if(t=48&&n<=57)))return m(e),67108988}return 22}case 4096:return O(e,t,1);case 208897:return O(e,t,0);case 134283266:return N(e,t,144);case 134283267:return I(e,t,l);case 129:return L(e,t);case 134:return A(e,t);case 128:return C(e);case 125:m(e);break;case 127:n|=5,g(e);break;case 133:y(e,n),n=-5&n|1}}else{if((8232^l)<=1){n=-5&n|1,g(e);continue}if(55296==(64512&l)||0!=(1&a[34816+(l>>>5)]>>>l))return 56320==(64512&l)&&(l=(1023&l)<<10|1023&l|65536,0==(1&a[0+(l>>>5)]>>>l)&&r(e,18,v(l)),e.index++,e.currentChar=l),e.column++,e.tokenValue="",P(e,t,0,0);if(160===(s=l)||65279===s||133===s||5760===s||s>=8192&&s<=8203||8239===s||8287===s||12288===s||65519===s){m(e);continue}r(e,18,v(l))}}var s;return 1048576}const f=["SingleLine","MultiLine","HTMLOpen","HTMLClose","HashbangComment"];function d(e,t,n,i,o){return 2048&i&&r(e,0),h(e,t,n,o)}function h(e,t,n,r){const{index:i}=e;for(;e.index>>5)]>>>t)&&r(e,18,v(t)),e.index++,e.column++,1)}function y(e,t){e.currentChar=e.source.charCodeAt(++e.index),e.flags|=1,0==(4&t)&&(e.column=0,e.line++)}function g(e){e.flags|=1,e.currentChar=e.source.charCodeAt(++e.index),e.column=0,e.line++}function v(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(e>>>10)+String.fromCharCode(1023&e)}function _(e){return e<65?e-48:e-65+10&15}const w=[0,0,0,0,0,0,0,0,0,0,1032,0,0,2056,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8192,0,3,0,0,8192,0,0,0,256,0,33024,0,0,242,242,114,114,114,114,114,114,594,594,0,0,16384,0,0,0,0,67,67,67,67,67,67,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,0,1,0,0,4099,0,71,71,71,71,71,71,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,16384,0,0,0,0],j=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0],x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0];function k(e){return e<=127?j[e]:1&a[34816+(e>>>5)]>>>e}function S(e){return e<=127?x[e]:1&a[0+(e>>>5)]>>>e||8204===e||8205===e}const M=["end of source","identifier","number","string","regular expression","false","true","null","template continuation","template tail","=>","(","{",".","...","}",")",";",",","[","]",":","?","'",'"',"","++","--","=","<<=",">>=",">>>=","**=","+=","-=","*=","/=","%=","^=","|=","&=","typeof","delete","void","!","~","+","-","in","instanceof","*","%","/","**","&&","||","===","!==","==","!=","<=",">=","<",">","<<",">>",">>>","&","|","^","var","let","const","break","case","catch","class","continue","debugger","default","do","else","export","extends","finally","for","function","if","import","new","return","super","switch","this","throw","try","while","with","implements","interface","package","private","protected","public","static","yield","as","async","await","constructor","get","set","from","of","enum","eval","arguments","escaped keyword","escaped future reserved keyword","reserved if strict","#","BigIntLiteral","??","?.","WhiteSpace","Illegal","LineTerminator","PrivateField","Template","@","target","meta","LineFeed","Escaped","JSXText"],E=Object.create(null,{this:{value:86110},function:{value:86103},if:{value:20568},return:{value:20571},var:{value:86087},else:{value:20562},for:{value:20566},new:{value:86106},in:{value:8738865},typeof:{value:16863274},while:{value:20577},case:{value:20555},break:{value:20554},try:{value:20576},catch:{value:20556},delete:{value:16863275},throw:{value:86111},switch:{value:86109},continue:{value:20558},default:{value:20560},instanceof:{value:8476722},do:{value:20561},void:{value:16863276},finally:{value:20565},async:{value:143468},await:{value:209005},class:{value:86093},const:{value:86089},constructor:{value:12398},debugger:{value:20559},export:{value:20563},extends:{value:20564},false:{value:86021},from:{value:12401},get:{value:12399},implements:{value:36963},import:{value:86105},interface:{value:36964},let:{value:241736},null:{value:86023},of:{value:274546},package:{value:36965},private:{value:36966},protected:{value:36967},public:{value:36968},set:{value:12400},static:{value:36969},super:{value:86108},true:{value:86022},with:{value:20578},yield:{value:241770},enum:{value:20595},eval:{value:537079924},as:{value:12395},arguments:{value:537079925},target:{value:143491},meta:{value:143492}});function O(e,t,n){for(;x[m(e)];);return e.tokenValue=e.source.slice(e.tokenPos,e.index),92!==e.currentChar&&e.currentChar<126?E[e.tokenValue]||208897:P(e,t,0,n)}function A(e,t){const n=R(e);return S(n)||r(e,4),e.tokenValue=v(n),P(e,t,1,4&w[n])}function P(e,t,n,i){let o=e.index;for(;e.index=2&&s<=11){const r=E[e.tokenValue];return void 0===r?208897:n?1024&t?209005===r&&0==(4196352&t)?r:36969===r||36864==(36864&r)?119:118:1073741824&t&&0==(8192&t)&&20480==(20480&r)?r:241770===r?1073741824&t?143480:2097152&t?118:r:143468===r&&1073741824&t?143480:36864==(36864&r)||209005===r&&0==(4194304&t)?r:118:r}return 208897}function C(e){return k(m(e))||r(e,93),128}function R(e){return 117!==e.source.charCodeAt(e.index+1)&&r(e,4),e.currentChar=e.source.charCodeAt(e.index+=2),function(e){let t=0;const n=e.currentChar;if(123===n){const n=e.index-2;for(;64&w[m(e)];)t=t<<4|_(e.currentChar),t>1114111&&s(n,e.line,e.index+1,101);return 125!==e.currentChar&&s(n,e.line,e.index-1,6),m(e),t}0==(64&w[n])&&r(e,6);const i=e.source.charCodeAt(e.index+1);0==(64&w[i])&&r(e,6);const o=e.source.charCodeAt(e.index+2);0==(64&w[o])&&r(e,6);const a=e.source.charCodeAt(e.index+3);return 0==(64&w[a])&&r(e,6),t=_(n)<<12|_(i)<<8|_(o)<<4|_(a),e.currentChar=e.source.charCodeAt(e.index+=4),t}(e)}function I(e,t,n){const{index:i}=e;let o="",s=m(e),a=e.index;for(;0==(8&w[s]);){if(s===n)return o+=e.source.slice(a,e.index),m(e),512&t&&(e.tokenRaw=e.source.slice(i,e.index)),e.tokenValue=o,134283267;if(8==(8&s)&&92===s){if(o+=e.source.slice(a,e.index),s=m(e),s>126)o+=v(s);else{const n=T(e,t,s);n>=0?o+=v(n):B(e,n,0)}a=e.index+1}e.index>=e.end&&r(e,14),s=m(e)}r(e,14)}function T(e,t,n){switch(n){case 98:return 8;case 102:return 12;case 114:return 13;case 110:return 10;case 116:return 9;case 118:return 11;case 13:e.index1114111)return-5;return e.currentChar<1||125!==e.currentChar?-4:t}{if(0==(64&w[t]))return-4;const n=e.source.charCodeAt(e.index+1);if(0==(64&w[n]))return-4;const r=e.source.charCodeAt(e.index+2);if(0==(64&w[r]))return-4;const i=e.source.charCodeAt(e.index+3);return 0==(64&w[i])?-4:(e.index+=3,e.column+=3,e.currentChar=e.source.charCodeAt(e.index),_(t)<<12|_(n)<<8|_(r)<<4|_(i))}}default:return n}}function B(e,t,n){switch(t){case-1:return;case-2:r(e,n?2:1);case-3:r(e,13);case-4:r(e,6);case-5:r(e,101)}}function N(e,t,n){let i=e.currentChar,o=0,a=9,u=64&n?0:1,l=0,c=0;if(64&n)o="."+D(e,i),i=e.currentChar,110===i&&r(e,11);else{if(48===i)if(i=m(e),120==(32|i)){for(n=136,i=m(e);4160&w[i];)95!==i?(c=1,o=16*o+_(i),l++,i=m(e)):(c||r(e,146),c=0,i=m(e));(l<1||!c)&&r(e,l<1?19:147)}else if(111==(32|i)){for(n=132,i=m(e);4128&w[i];)95!==i?(c=1,o=8*o+(i-48),l++,i=m(e)):(c||r(e,146),c=0,i=m(e));(l<1||!c)&&r(e,l<1?0:147)}else if(98==(32|i)){for(n=130,i=m(e);4224&w[i];)95!==i?(c=1,o=2*o+(i-48),l++,i=m(e)):(c||r(e,146),c=0,i=m(e));(l<1||!c)&&r(e,l<1?0:147)}else if(32&w[i])for(1024&t&&r(e,1),n=1;16&w[i];){if(512&w[i]){n=32,u=0;break}o=8*o+(i-48),i=m(e)}else 512&w[i]?(1024&t&&r(e,1),e.flags|=64,n=32):95===i&&r(e,0);if(48&n){if(u){for(;a>=0&&4112&w[i];)95!==i?(c=0,o=10*o+(i-48),i=m(e),--a):(i=m(e),(95===i||32&n)&&s(e.index,e.line,e.index+1,146),c=1);if(c&&s(e.index,e.line,e.index+1,147),a>=0&&!k(i)&&46!==i)return e.tokenValue=o,512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),134283266}o+=D(e,i),i=e.currentChar,46===i&&(95===m(e)&&r(e,0),n=64,o+="."+D(e,e.currentChar),i=e.currentChar)}}const f=e.index;let d=0;if(110===i&&128&n)d=1,i=m(e);else if(101==(32|i)){i=m(e),256&w[i]&&(i=m(e));const{index:t}=e;(16&w[i])<1&&r(e,10),o+=e.source.substring(f,t)+D(e,i),i=e.currentChar}return(e.index126)o+=v(s);else{const n=T(e,1024|t,s);if(n>=0)o+=v(n);else{if(-1!==n&&65536&t){o=void 0,s=U(e,s),s<0&&(i=67174408);break}B(e,n,1)}}else e.index=e.end&&r(e,15),s=m(e)}return m(e),e.tokenValue=o,e.tokenRaw=e.source.slice(n+1,e.index-(67174409===i?1:2)),i}function U(e,t){for(;96!==t;){switch(t){case 36:{const n=e.index+1;if(n=e.end&&r(e,15),t=m(e)}return t}function F(e,t){return e.index>=e.end&&r(e,0),e.index--,e.column--,L(e,t)}function q(e,t){const n=e.index;let i=0;e:for(;;){const t=e.currentChar;if(m(e),1&i)i&=-2;else switch(t){case 47:if(i)break;break e;case 92:i|=1;break;case 91:i|=2;break;case 93:i&=1;break;case 13:case 10:case 8232:case 8233:r(e,32)}if(e.index>=e.source.length)return r(e,32)}const o=e.index-1;let s=0,a=e.currentChar;const{index:u}=e;for(;S(a);){switch(a){case 103:2&s&&r(e,34,"g"),s|=2;break;case 105:1&s&&r(e,34,"i"),s|=1;break;case 109:4&s&&r(e,34,"m"),s|=4;break;case 117:16&s&&r(e,34,"g"),s|=16;break;case 121:8&s&&r(e,34,"y"),s|=8;break;case 115:12&s&&r(e,34,"s"),s|=12;break;default:r(e,33)}a=m(e)}const l=e.source.slice(u,e.index),c=e.source.slice(n,o);return e.tokenRegExp={pattern:c,flags:l},512&t&&(e.tokenRaw=e.source.slice(e.tokenPos,e.index)),e.tokenValue=function(e,t,n){try{RegExp(t)}catch(t){r(e,32)}try{return new RegExp(t,n)}catch(e){return null}}(e,c,l),65540}function H(e,t){return e.startPos=e.index,e.startColumn=e.column,e.startLine=e.line,e.token=8192&w[e.currentChar]?function(e){const t=e.currentChar;let n=m(e);const i=e.index;for(;n!==t;)e.index>=e.end&&r(e,14),n=m(e);return n!==t&&r(e,14),e.tokenValue=e.source.slice(i,e.index),m(e),134283267}(e):c(e,t,0),e.token}function z(e){if(e.startPos=e.tokenPos=e.index,e.startColumn=e.colPos=e.column,e.startLine=e.linePos=e.line,e.index>=e.end)return e.token=1048576;switch(u[e.source.charCodeAt(e.index)]){case 8456255:m(e),47===e.currentChar?(m(e),e.token=25):e.token=8456255;break;case 2162700:m(e),e.token=2162700;break;default:for(;e.index0&&G(e,t,209005);Y(e,32768|t,67174411),n&&(n=oe(n,1));let c,f=null,d=null,h=0,p=null,m=86087===e.token||241736===e.token||86089===e.token;const{token:b,tokenPos:y,linePos:g,colPos:v}=e;if(m?241736===b?(p=Qe(e,t,0),2240512&e.token?(8738865===e.token?1024&t&&r(e,64):p=te(e,t,y,g,v,{type:"VariableDeclaration",kind:"let",declarations:Me(e,134217728|t,n,8,32)}),e.assignable=1):1024&t?r(e,64):(m=!1,e.assignable=1,p=He(e,t,p,0,y,g,v),274546===e.token&&r(e,111))):(l(e,t),p=te(e,t,y,g,v,86087===b?{type:"VariableDeclaration",kind:"var",declarations:Me(e,134217728|t,n,4,32)}:{type:"VariableDeclaration",kind:"const",declarations:Me(e,134217728|t,n,16,32)}),e.assignable=1):1074790417===b?u&&r(e,79):2097152==(2097152&b)?(p=2162700===b?at(e,t,void 0,1,0,0,2,32,y,g,v):rt(e,t,void 0,1,0,0,2,32,y,g,v),h=e.destructible,256&t&&64&h&&r(e,60),e.assignable=16&h?2:1,p=He(e,134217728|t,p,0,e.tokenPos,e.linePos,e.colPos)):p=qe(e,134217728|t,1,0,1,y,g,v),262144==(262144&e.token)){if(274546===e.token){2&e.assignable&&r(e,77,u?"await":"of"),J(e,p),l(e,32768|t),c=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),Y(e,32768|t,16);const f=xe(e,t,n,i);return te(e,t,o,s,a,{type:"ForOfStatement",body:f,left:p,right:c,await:u})}2&e.assignable&&r(e,77,"in"),J(e,p),l(e,32768|t),u&&r(e,79),c=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos),Y(e,32768|t,16);const f=xe(e,t,n,i);return te(e,t,o,s,a,{type:"ForInStatement",body:f,left:p,right:c})}u&&r(e,79),m||(8&h&&1077936157!==e.token&&r(e,77,"loop"),p=Ne(e,134217728|t,0,0,y,g,v,p)),1073741842===e.token&&(p=Te(e,t,0,e.tokenPos,e.linePos,e.colPos,p)),Y(e,32768|t,1074790417),1074790417!==e.token&&(f=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos)),Y(e,32768|t,1074790417),16!==e.token&&(d=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos)),Y(e,32768|t,16);const _=xe(e,t,n,i);return te(e,t,o,s,a,{type:"ForStatement",body:_,init:p,test:f,update:d})}(e,t,n,o,a,u,c);case 20561:return function(e,t,n,r,i,o,s){l(e,32768|t);const a=xe(e,t,n,r);Y(e,t,20577),Y(e,32768|t,67174411);const u=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return Y(e,32768|t,16),W(e,32768|t,536870912&t),te(e,t,i,o,s,{type:"DoWhileStatement",body:a,test:u})}(e,t,n,o,a,u,c);case 20577:return function(e,t,n,r,i,o,s){l(e,t),Y(e,32768|t,67174411);const a=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos);Y(e,32768|t,16);const u=xe(e,t,n,r);return te(e,t,i,o,s,{type:"WhileStatement",test:a,body:u})}(e,t,n,o,a,u,c);case 86109:return function(e,t,n,i,o,s,a){l(e,t),Y(e,32768|t,67174411);const u=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos);Y(e,t,16),Y(e,t,2162700);const c=[];let f=0;for(n&&(n=oe(n,8));1074790415!==e.token;){const{tokenPos:o,linePos:s,colPos:a}=e;let u=null;const l=[];for(G(e,32768|t,20555)?u=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos):(Y(e,32768|t,20560),f&&r(e,86),f=1),Y(e,32768|t,21);20555!==e.token&&1074790415!==e.token&&20560!==e.token;)l.push(me(e,4096|t,n,2,{$:i},e.tokenPos,e.linePos,e.colPos));c.push(te(e,t,o,s,a,{type:"SwitchCase",test:u,consequent:l}))}return Y(e,32768|t,1074790415),te(e,t,o,s,a,{type:"SwitchStatement",discriminant:u,cases:c})}(e,t,n,o,a,u,c);case 1074790417:return function(e,t,n,r,i){return l(e,32768|t),te(e,t,n,r,i,{type:"EmptyStatement"})}(e,t,a,u,c);case 2162700:return ye(e,t,n?oe(n,2):n,o,a,u,c);case 86111:return function(e,t,n,i,o){l(e,32768|t),1&e.flags&&r(e,87);const s=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos);return W(e,32768|t),te(e,t,n,i,o,{type:"ThrowStatement",argument:s})}(e,t,a,u,c);case 20554:return function(e,t,n,i,o,s){l(e,32768|t);let a=null;if((1&e.flags)<1&&143360&e.token){const{tokenValue:i}=e;a=Qe(e,32768|t,0),ee(e,n,i,0)||r(e,134,i)}else(135168&t)<1&&r(e,66);return W(e,32768|t),te(e,t,i,o,s,{type:"BreakStatement",label:a})}(e,t,o,a,u,c);case 20558:return function(e,t,n,i,o,s){(131072&t)<1&&r(e,65),l(e,t);let a=null;if((1&e.flags)<1&&143360&e.token){const{tokenValue:i}=e;a=Qe(e,32768|t,0),ee(e,n,i,1)||r(e,134,i)}return W(e,32768|t),te(e,t,i,o,s,{type:"ContinueStatement",label:a})}(e,t,o,a,u,c);case 20576:return function(e,t,n,i,o,s,a){l(e,32768|t);const u=n?oe(n,32):void 0,c=ye(e,t,u,{$:i},e.tokenPos,e.linePos,e.colPos),{tokenPos:f,linePos:d,colPos:h}=e,p=G(e,32768|t,20556)?function(e,t,n,i,o,s,a){let u=null,l=n;G(e,t,67174411)&&(n&&(n=oe(n,4)),u=xt(e,t,n,2097152==(2097152&e.token)?256:512,0,e.tokenPos,e.linePos,e.colPos),1073741842===e.token?r(e,83):1077936157===e.token&&r(e,84),Y(e,32768|t,16),n&&(l=oe(n,64)));const c=ye(e,t,l,{$:i},e.tokenPos,e.linePos,e.colPos);return te(e,t,o,s,a,{type:"CatchClause",param:u,body:c})}(e,t,n,i,f,d,h):null;let m=null;if(20565===e.token){l(e,32768|t);const r=u?oe(n,4):void 0;m=ye(e,t,r,{$:i},f,d,h)}return p||m||r(e,85),te(e,t,o,s,a,{type:"TryStatement",block:c,handler:p,finalizer:m})}(e,t,n,o,a,u,c);case 20578:return function(e,t,n,i,o,s,a){l(e,t),1024&t&&r(e,88),Y(e,32768|t,67174411);const u=Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos);Y(e,32768|t,16);const c=be(e,t,n,2,i,0,e.tokenPos,e.linePos,e.colPos);return te(e,t,o,s,a,{type:"WithStatement",object:u,body:c})}(e,t,n,o,a,u,c);case 20559:return function(e,t,n,r,i){return l(e,32768|t),W(e,32768|t),te(e,t,n,r,i,{type:"DebuggerStatement"})}(e,t,a,u,c);case 143468:return _e(e,t,n,i,o,0,a,u,c);case 20556:r(e,156);case 20565:r(e,157);case 86103:r(e,1024&t?73:(256&t)<1?75:74);case 86093:r(e,76);default:return function(e,t,n,i,o,s,a,u,l){const{tokenValue:c,token:f}=e;let d;switch(f){case 241736:d=Qe(e,t,0),1024&t&&r(e,82),69271571===e.token&&r(e,81);break;default:d=We(e,t,0,0,1,0,0,1,e.tokenPos,e.linePos,e.colPos)}return 143360&f&&21===e.token?ve(e,t,n,i,o,c,d,f,s,a,u,l):(d=He(e,t,d,0,a,u,l),d=Ne(e,t,0,0,a,u,l,d),1073741842===e.token&&(d=Te(e,t,0,a,u,l,d)),ge(e,t,d,a,u,l))}(e,t,n,i,o,s,a,u,c)}}function ye(e,t,n,r,i,o,s){const a=[];for(Y(e,32768|t,2162700);1074790415!==e.token;)a.push(me(e,t,n,2,{$:r},e.tokenPos,e.linePos,e.colPos));return Y(e,32768|t,1074790415),te(e,t,i,o,s,{type:"BlockStatement",body:a})}function ge(e,t,n,r,i,o){return W(e,32768|t),te(e,t,r,i,o,{type:"ExpressionStatement",expression:n})}function ve(e,t,n,i,o,s,a,u,c,f,d,h){return Z(e,t,0,u,1),function(e,t,n){let i=t;for(;i;)i["$"+n]&&r(e,132,n),i=i.$;t["$"+n]=1}(e,o,s),l(e,32768|t),te(e,t,f,d,h,{type:"LabeledStatement",label:a,body:c&&(1024&t)<1&&256&t&&86103===e.token?tt(e,t,oe(n,2),i,0,0,0,e.tokenPos,e.linePos,e.colPos):be(e,t,n,i,o,c,e.tokenPos,e.linePos,e.colPos)})}function _e(e,t,n,i,o,s,a,u,l){const{token:c,tokenValue:f}=e;let d=Qe(e,t,0);if(21===e.token)return ve(e,t,n,i,o,f,d,c,1,a,u,l);const h=1&e.flags;if(!h){if(86103===e.token)return s||r(e,119),tt(e,t,n,i,1,0,1,a,u,l);if(143360==(143360&e.token))return d=pt(e,t,1,a,u,l),1073741842===e.token&&(d=Te(e,t,0,a,u,l,d)),ge(e,t,d,a,u,l)}return 67174411===e.token?d=mt(e,t,d,1,1,0,h,a,u,l):(10===e.token&&(de(e,t,c,1),d=ct(e,t,e.tokenValue,d,0,1,0,a,u,l)),e.assignable=1),d=He(e,t,d,0,a,u,l),1073741842===e.token&&(d=Te(e,t,0,a,u,l,d)),d=Ne(e,t,0,0,a,u,l,d),e.assignable=1,ge(e,t,d,a,u,l)}function we(e,t,n,r,i,o,s){const{tokenRaw:a}=e;return 1074790417!==r&&(e.assignable=2,n=He(e,t,n,0,i,o,s),1074790417!==e.token&&(n=Ne(e,t,0,0,i,o,s,n),1073741842===e.token&&(n=Te(e,t,0,i,o,s,n))),W(e,32768|t)),te(e,t,i,o,s,8&t?{type:"ExpressionStatement",expression:n,directive:a.slice(1,-1)}:{type:"ExpressionStatement",expression:n})}function je(e,t,n,r,i,o,s){return 1024&t||(256&t)<1||86103!==e.token?be(e,t,n,0,{$:r},0,e.tokenPos,e.linePos,e.colPos):tt(e,t,oe(n,2),0,0,0,0,i,o,s)}function xe(e,t,n,r){return be(e,134217728^(134217728|t)|131072,n,0,{loop:1,$:r},0,e.tokenPos,e.linePos,e.colPos)}function ke(e,t,n,r,i,o,s,a){l(e,t);const u=Me(e,t,n,r,i);return W(e,32768|t),te(e,t,o,s,a,{type:"VariableDeclaration",kind:8&r?"let":"const",declarations:u})}function Se(e,t,n,r,i,o,s){l(e,t);const a=Me(e,t,n,4,r);return W(e,32768|t),te(e,t,i,o,s,{type:"VariableDeclaration",kind:"var",declarations:a})}function Me(e,t,n,i,o){let s=1;const a=[Ee(e,t,n,i,o)];for(;G(e,t,1073741842);)s++,a.push(Ee(e,t,n,i,o));return s>1&&32&o&&262144&e.token&&r(e,58,M[255&e.token]),a}function Ee(e,t,n,i,s){const{token:a,tokenPos:u,linePos:c,colPos:f}=e;let d=null;const h=xt(e,t,n,i,s,u,c,f);return 1077936157===e.token?(l(e,32768|t),d=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos),(32&s||(2097152&a)<1)&&(274546===e.token||8738865===e.token&&(2097152&a||(4&i)<1||(256&t)<1||1024&t))&&o(u,e.line,e.index-3,57,274546===e.token?"of":"in")):(16&i||(2097152&a)>0)&&262144!=(262144&e.token)&&r(e,56,16&i?"const":"destructuring"),te(e,t,u,c,f,{type:"VariableDeclarator",init:d,id:h})}function Oe(e,t,n){return fe(t,e.token)||r(e,114),537079808==(537079808&e.token)&&r(e,115),n&&ae(e,t,n,e.tokenValue,8,0),Qe(e,t,0)}function Ae(e,t,n){const{tokenPos:r,linePos:i,colPos:s}=e;return l(e,t),Y(e,t,12395),134217728==(134217728&e.token)&&o(r,e.line,e.index,28,M[255&e.token]),te(e,t,r,i,s,{type:"ImportNamespaceSpecifier",local:Oe(e,t,n)})}function Pe(e,t,n,i){for(l(e,t);143360&e.token;){let{token:o,tokenValue:s,tokenPos:a,linePos:u,colPos:l}=e;const c=Qe(e,t,0);let f;G(e,t,12395)?(134217728==(134217728&e.token)||1073741842===e.token?r(e,103):Z(e,t,16,e.token,0),s=e.tokenValue,f=Qe(e,t,0)):(Z(e,t,16,o,0),f=c),n&&ae(e,t,n,s,8,0),i.push(te(e,t,a,u,l,{type:"ImportSpecifier",local:f,imported:c})),1074790415!==e.token&&Y(e,t,1073741842)}return Y(e,t,1074790415),i}function Ce(e,t,n,r,i){let o=Ke(e,t,te(e,t,n,r,i,{type:"Identifier",name:"import"}),n,r,i);return o=He(e,t,o,0,n,r,i),o=Ne(e,t,0,0,n,r,i,o),ge(e,t,o,n,r,i)}function Re(e,t,n,r,i){let o=Ve(e,t,0,n,r,i);return o=He(e,t,o,0,n,r,i),ge(e,t,o,n,r,i)}function Ie(e,t,n,r,i,o,s,a){let u=We(e,t,0,0,n,r,i,1,o,s,a);return u=He(e,t,u,i,o,s,a),Ne(e,t,i,0,o,s,a,u)}function Te(e,t,n,r,i,o,s){const a=[s];for(;G(e,32768|t,1073741842);)a.push(Ie(e,t,1,0,n,e.tokenPos,e.linePos,e.colPos));return te(e,t,r,i,o,{type:"SequenceExpression",expressions:a})}function Be(e,t,n,r,i,o,s){const a=Ie(e,t,r,0,n,i,o,s);return 1073741842===e.token?Te(e,t,n,i,o,s,a):a}function Ne(e,t,n,i,o,s,a,u){const{token:c}=e;if(4194304==(4194304&c)){2&e.assignable&&r(e,24),(!i&&1077936157===c&&"ArrayExpression"===u.type||"ObjectExpression"===u.type)&&J(e,u),l(e,32768|t);const f=Ie(e,t,1,1,n,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,te(e,t,o,s,a,i?{type:"AssignmentPattern",left:u,right:f}:{type:"AssignmentExpression",left:u,operator:M[255&c],right:f})}return 8454144==(8454144&c)&&(u=Ue(e,t,n,o,s,a,4,c,u)),G(e,32768|t,22)&&(u=Le(e,t,u,o,s,a)),u}function De(e,t,n,r,i,o,s,a){const{token:u}=e;l(e,32768|t);const c=Ie(e,t,1,1,n,e.tokenPos,e.linePos,e.colPos);return a=te(e,t,i,o,s,r?{type:"AssignmentPattern",left:a,right:c}:{type:"AssignmentExpression",left:a,operator:M[255&u],right:c}),e.assignable=2,a}function Le(e,t,n,r,i,o){const s=Ie(e,134217728^(134217728|t),1,0,0,e.tokenPos,e.linePos,e.colPos);Y(e,32768|t,21),e.assignable=1;const a=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,te(e,t,r,i,o,{type:"ConditionalExpression",test:n,consequent:s,alternate:a})}function Ue(e,t,n,i,o,s,a,u,c){const f=8738865&-((134217728&t)>0);let d,h;for(e.assignable=2;8454144&e.token&&(d=e.token,h=3840&d,(524288&d&&268435456&u||524288&u&&268435456&d)&&r(e,159),!(h+((8457270===d)<<8)-((f===d)<<12)<=a));)l(e,32768|t),c=te(e,t,i,o,s,{type:524288&d?"LogicalExpression":268435456&d?"CoalesceExpression":"BinaryExpression",left:c,right:Ue(e,t,n,e.tokenPos,e.linePos,e.colPos,h,d,qe(e,t,0,n,1,e.tokenPos,e.linePos,e.colPos)),operator:M[255&d]});return 1077936157===e.token&&r(e,24),c}function Fe(e,t,n,s,a,u){const{tokenPos:l,linePos:c,colPos:f}=e;Y(e,32768|t,2162700);const d=[],h=t;if(1074790415!==e.token){for(;134283267===e.token;){const{index:n,tokenPos:r,tokenValue:i,token:s}=e,a=et(e,t);K(e,n,r,i)&&(t|=1024,128&e.flags&&o(e.index,e.line,e.tokenPos,63),64&e.flags&&o(e.index,e.line,e.tokenPos,8)),d.push(we(e,t,a,s,r,e.linePos,e.colPos))}1024&t&&(a&&(537079808==(537079808&a)&&r(e,115),36864==(36864&a)&&r(e,38)),512&e.flags&&r(e,115),256&e.flags&&r(e,114)),64&t&&n&&void 0!==u&&(1024&h)<1&&(8192&t)<1&&i(u)}for(e.flags=832^(832|e.flags),e.destructible=256^(256|e.destructible);1074790415!==e.token;)d.push(me(e,t,n,4,{},e.tokenPos,e.linePos,e.colPos));return Y(e,24&s?32768|t:t,1074790415),e.flags&=-193,1077936157===e.token&&r(e,24),te(e,t,l,c,f,{type:"BlockStatement",body:d})}function qe(e,t,n,r,i,o,s,a){return He(e,t,We(e,t,0,0,n,0,r,i,o,s,a),r,o,s,a)}function He(e,t,n,i,o,s,a){if(33619968==(33619968&e.token)&&(1&e.flags)<1)return function(e,t,n,i,o,s){2&e.assignable&&r(e,52);const{token:a}=e;return l(e,t),e.assignable=2,te(e,t,i,o,s,{type:"UpdateExpression",argument:n,operator:M[255&a],prefix:!1})}(e,t,n,o,s,a);if(67108864==(67108864&e.token)){switch(t=134225920^(134225920|t),e.token){case 67108877:l(e,1073741824|t),e.assignable=1,n=te(e,t,o,s,a,{type:"MemberExpression",object:n,computed:!1,property:$e(e,t)});break;case 69271571:{l(e,32768|t);const{tokenPos:r,linePos:u,colPos:c}=e,f=Be(e,t,i,1,r,u,c);Y(e,t,20),e.assignable=1,n=te(e,t,o,s,a,{type:"MemberExpression",object:n,computed:!0,property:f});break}case 67174411:{const r=Xe(e,t,i);e.assignable=2,n=te(e,t,o,s,a,{type:"CallExpression",callee:n,arguments:r});break}case 67108988:l(e,t),e.assignable=2,n=te(e,t,o,s,a,{type:"OptionalExpression",object:n,chain:ze(e,t,o,s,a)});break;default:e.assignable=2,n=te(e,t,e.tokenPos,e.linePos,e.colPos,{type:"TaggedTemplateExpression",tag:n,quasi:67174408===e.token?Ye(e,65536|t,o,s,a):Ge(e,t,o,s,a)})}return He(e,t,n,0,o,s,a)}return n}function ze(e,t,n,i,o){let s=null;if(69271571===e.token){l(e,32768|t);const{tokenPos:n,linePos:r,colPos:i}=e,o=Be(e,t,0,1,n,r,i);Y(e,t,20),e.assignable=2,s=te(e,t,n,r,i,{type:"OptionalChain",base:null,computed:!0,property:o})}else if(67174411===e.token){const r=Xe(e,t,0);e.assignable=2,s=te(e,t,n,i,o,{type:"OptionalChain",base:null,arguments:r})}else{(143360&e.token)<1&&r(e,154);const a=Qe(e,t,0);e.assignable=2,s=te(e,t,n,i,o,{type:"OptionalChain",base:null,computed:!1,property:a})}for(;67108864==(67108864&e.token);)if(67108877===e.token){l(e,t),e.assignable=1,(143360&e.token)<1&&r(e,154);const n=Qe(e,t,0);s=te(e,t,e.tokenPos,e.linePos,e.colPos,{type:"OptionalChain",base:s,computed:!1,property:n})}else if(69271571===e.token){l(e,32768|t);const{tokenPos:n,linePos:r,colPos:i}=e,o=Be(e,t,0,1,n,r,i);Y(e,t,20),e.assignable=2,s=te(e,t,e.tokenPos,e.linePos,e.colPos,{type:"OptionalChain",base:s,computed:!0,property:o})}else if(67174411===e.token){const n=Xe(e,t,0);e.assignable=2,s=te(e,t,e.tokenPos,e.linePos,e.colPos,{type:"OptionalChain",base:s,arguments:n})}else{if(67174408!==e.token&&67174409!==e.token)break;r(e,160)}return s}function $e(e,t){return(143360&e.token)<1&&128!==e.token&&r(e,154),1&t&&128===e.token?wt(e,t,e.tokenPos,e.linePos,e.colPos):Qe(e,t,0)}function We(e,t,n,i,s,a,u,c,f,d,h){if(143360==(143360&e.token))switch(e.token){case 209005:return function(e,t,n,i,s,a,u){if(i&&(e.destructible|=128),4194304&t){n&&r(e,0),8388608&t&&o(e.index,e.line,e.index,29),l(e,32768|t);const i=qe(e,t,0,0,1,e.tokenPos,e.linePos,e.colPos);return e.assignable=2,te(e,t,s,a,u,{type:"AwaitExpression",argument:i})}return 2048&t&&r(e,107,"Await"),lt(e,t,s,a,u)}(e,t,i,u,f,d,h);case 241770:return function(e,t,n,i,o,s,a){if(n&&(e.destructible|=256),2097152&t){l(e,32768|t),8388608&t&&r(e,30),i||r(e,24),22===e.token&&r(e,120);let n=null,u=!1;return(1&e.flags)<1&&(u=G(e,32768|t,8457011),(65536&e.token||u)&&(n=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos))),e.assignable=2,te(e,t,o,s,a,{type:"YieldExpression",argument:n,delegate:u})}return 1024&t&&r(e,94,"yield"),lt(e,t,o,s,a)}(e,t,u,s,f,d,h);case 143468:return function(e,t,n,i,o,s,a,u,l,c){const{token:f}=e,d=Qe(e,t,s),{flags:h}=e;if((1&h)<1){if(86103===e.token)return nt(e,t,1,n,u,l,c);if(143360==(143360&e.token))return i||r(e,0),pt(e,t,o,u,l,c)}return a||67174411!==e.token?10===e.token?(de(e,t,f,1),a&&r(e,48),ct(e,t,e.tokenValue,d,a,o,0,u,l,c)):d:mt(e,t,d,o,1,0,h,u,l,c)}(e,t,u,c,s,a,i,f,d,h)}if(134217728==(134217728&e.token))return et(e,t);switch(e.token){case 33619995:case 33619996:return function(e,t,n,i,o,s,a){n&&r(e,53),i||r(e,0);const{token:u}=e;l(e,32768|t);const c=qe(e,t,0,0,1,e.tokenPos,e.linePos,e.colPos);return 2&e.assignable&&r(e,52),e.assignable=2,te(e,t,o,s,a,{type:"UpdateExpression",argument:c,operator:M[255&u],prefix:!0})}(e,t,i,c,f,d,h);case 16863275:case 16842797:case 16842798:case 25233967:case 25233968:case 16863274:case 16863276:return function(e,t,n,i,o,s,a){n||r(e,0);const u=e.token;l(e,32768|t);const c=qe(e,t,0,a,1,e.tokenPos,e.linePos,e.colPos);var f;return 8457270===e.token&&r(e,31),1024&t&&16863275===u&&("Identifier"===c.type?r(e,117):(f=c).property&&"PrivateName"===f.property.type&&r(e,123)),e.assignable=2,te(e,t,i,o,s,{type:"UnaryExpression",operator:M[255&u],argument:c,prefix:!0})}(e,t,c,f,d,h,u);case 86103:return nt(e,t,0,u,f,d,h);case 2162700:return function(e,t,n,i,o,s,a){const u=at(e,t,void 0,n,i,0,2,0,o,s,a);return 256&t&&64&e.destructible&&r(e,60),8&e.destructible&&r(e,59),u}(e,t,s?0:1,u,f,d,h);case 69271571:return function(e,t,n,i,o,s,a){const u=rt(e,t,void 0,n,i,0,2,0,o,s,a);return 256&t&&64&e.destructible&&r(e,60),8&e.destructible&&r(e,59),u}(e,t,s?0:1,u,f,d,h);case 67174411:return function(e,t,n,i,o,s,a,u){e.flags=128^(128|e.flags),l(e,1073774592|t);const c=64&t?oe({parent:void 0,type:2},1024):void 0;if(G(e,t=134225920^(134225920|t),16))return ft(e,t,c,[],n,0,s,a,u);let f,d=0;e.destructible&=-385;let h=[],p=0,m=0;const{tokenPos:b,linePos:y,colPos:g}=e;for(e.assignable=1;16!==e.token;){const{token:n,tokenPos:s,linePos:a,colPos:u}=e;if(143360&n)c&&ae(e,t,c,e.tokenValue,1,0),f=We(e,t,0,0,1,0,1,1,s,a,u),16===e.token||1073741842===e.token?2&e.assignable?(d|=16,m=1):537079808!=(537079808&n)&&36864!=(36864&n)||(m=1):(1077936157===e.token?m=1:d|=16,f=He(e,t,f,1,s,a,u),16!==e.token&&1073741842!==e.token&&(f=Ne(e,t,1,0,s,a,u,f)));else{if(2097152!=(2097152&n)){if(14===n){f=ot(e,t,c,16,i,o,0,1,0,s,a,u),16&e.destructible&&r(e,71),m=1,!p||16!==e.token&&1073741842!==e.token||h.push(f),d|=8;break}if(d|=16,f=Ie(e,t,1,0,1,s,a,u),!p||16!==e.token&&1073741842!==e.token||h.push(f),1073741842===e.token&&(p||(p=1,h=[f])),p){for(;G(e,32768|t,1073741842);)h.push(Ie(e,t,1,0,1,e.tokenPos,e.linePos,e.colPos));e.assignable=2,f=te(e,t,b,y,g,{type:"SequenceExpression",expressions:h})}return Y(e,t,16),e.destructible=d,f}f=2162700===n?at(e,1073741824|t,c,0,1,0,i,o,s,a,u):rt(e,1073741824|t,c,0,1,0,i,o,s,a,u),d|=e.destructible,m=1,e.assignable=2,16!==e.token&&1073741842!==e.token&&(8&d&&r(e,118),f=He(e,t,f,0,s,a,u),d|=16,16!==e.token&&1073741842!==e.token&&(f=Ne(e,t,0,0,s,a,u,f)))}if(!p||16!==e.token&&1073741842!==e.token||h.push(f),!G(e,32768|t,1073741842))break;if(p||(p=1,h=[f]),16===e.token){d|=8;break}}return p&&(e.assignable=2,f=te(e,t,b,y,g,{type:"SequenceExpression",expressions:h})),Y(e,t,16),16&d&&8&d&&r(e,145),d|=256&e.destructible?256:0|128&e.destructible?128:0,10===e.token?(48&d&&r(e,46),4196352&t&&128&d&&r(e,29),2098176&t&&256&d&&r(e,30),m&&(e.flags|=128),ft(e,t,c,p?h:[f],n,0,s,a,u)):(8&d&&r(e,139),e.destructible=256^(256|e.destructible)|d,128&t?te(e,t,b,y,g,{type:"ParenthesizedExpression",expression:f}):f)}(e,t,s,1,0,f,d,h);case 86021:case 86022:case 86023:return function(e,t,n,r,i){const o=M[255&e.token],s=86023===e.token?null:"true"===o;return l(e,t),e.assignable=2,te(e,t,n,r,i,512&t?{type:"Literal",value:s,raw:o}:{type:"Literal",value:s})}(e,t,f,d,h);case 86110:return function(e,t){const{tokenPos:n,linePos:r,colPos:i}=e;return l(e,t),e.assignable=2,te(e,t,n,r,i,{type:"ThisExpression"})}(e,t);case 65540:return function(e,t,n,r,i){const{tokenRaw:o,tokenRegExp:s,tokenValue:a}=e;return l(e,t),e.assignable=2,te(e,t,n,r,i,512&t?{type:"Literal",value:a,regex:s,raw:o}:{type:"Literal",value:a,regex:s})}(e,t,f,d,h);case 130:case 86093:return function(e,t,n,i,o,s){let a=null,u=null;const c=1&(t=16777216^(16778240|t))?yt(e,t):[];l(e,t),(4351&e.token^84)>4096&&(Q(e,t,e.token)&&r(e,114),537079808==(537079808&e.token)&&r(e,115),a=Qe(e,t,0));let f=t;G(e,32768|t,20564)?(u=qe(e,t,0,n,0,e.tokenPos,e.linePos,e.colPos),f|=524288):f=524288^(524288|f);const d=vt(e,f,t,void 0,2,0,n);return e.assignable=2,te(e,t,i,o,s,1&t?{type:"ClassExpression",id:a,superClass:u,decorators:c,body:d}:{type:"ClassExpression",id:a,superClass:u,body:d})}(e,t,u,f,d,h);case 86108:return function(e,t,n,i,o){switch(l(e,t),e.token){case 67108988:r(e,161);case 67174411:(524288&t)<1&&r(e,26),16384&t&&r(e,143),e.assignable=2;break;case 69271571:case 67108877:(262144&t)<1&&r(e,27),16384&t&&r(e,143),e.assignable=1;break;default:r(e,28,"super")}return te(e,t,n,i,o,{type:"Super"})}(e,t,f,d,h);case 67174409:return Ge(e,t,f,d,h);case 67174408:return Ye(e,t,f,d,h);case 86106:return function(e,t,n,i,o,s){const a=Qe(e,32768|t,0),{tokenPos:u,linePos:c,colPos:f}=e;if(G(e,t,67108877)){if(67108864&t&&143491===e.token)return e.assignable=2,function(e,t,n,r,i,o){const s=Qe(e,t,0);return te(e,t,r,i,o,{type:"MetaProperty",meta:n,property:s})}(e,t,a,i,o,s);r(e,91)}e.assignable=2,16842752==(16842752&e.token)&&r(e,62,M[255&e.token]);const d=We(e,t,0,1,0,0,n,1,u,c,f);t=134217728^(134217728|t),67108988===e.token&&r(e,162);const h=function e(t,n,r,i,o,s,a){const{token:u}=t;if(67108864&u){if(67108877===u){l(t,1073741824|n),t.assignable=1;const i=$e(t,n);return e(t,n,te(t,n,o,s,a,{type:"MemberExpression",object:r,computed:!1,property:i}),0,o,s,a)}if(69271571===u){l(t,32768|n);const{tokenPos:u,linePos:c,colPos:f}=t,d=Be(t,n,i,1,u,c,f);return Y(t,n,20),t.assignable=1,e(t,n,te(t,n,o,s,a,{type:"MemberExpression",object:r,computed:!0,property:d}),0,o,s,a)}if(67174408===u||67174409===u)return t.assignable=2,e(t,n,te(t,n,t.tokenPos,t.linePos,t.colPos,{type:"TaggedTemplateExpression",tag:r,quasi:67174408===t.token?Ye(t,65536|n,o,s,a):Ge(t,n,o,s,a)}),0,o,s,a)}return r}(e,t,d,n,u,c,f);return e.assignable=2,te(e,t,i,o,s,{type:"NewExpression",callee:h,arguments:67174411===e.token?Xe(e,t,n):[]})}(e,t,u,f,d,h);case 122:return function(e,t,n,r,i){const{tokenRaw:o,tokenValue:s}=e;return l(e,t),e.assignable=2,te(e,t,n,r,i,512&t?{type:"BigIntLiteral",value:s,bigint:o,raw:o}:{type:"BigIntLiteral",value:s,bigint:o})}(e,t,f,d,h);case 128:return wt(e,t,f,d,h);case 86105:return function(e,t,n,i,o,s,a){let u=Qe(e,t,0);return 1&t&&67108877===e.token?Ke(e,t,u,o,s,a):(n&&r(e,137),u=Ve(e,t,i,o,s,a),e.assignable=2,He(e,t,u,i,o,s,a))}(e,t,i,u,f,d,h);case 8456255:if(16&t)return St(e,t,1,f,d,h);default:if(fe(t,e.token))return lt(e,t,f,d,h);r(e,28,M[255&e.token])}}function Ke(e,t,n,i,o,s){return 0==(2048&t)&&r(e,163),l(e,t),143492!==e.token&&"meta"!==e.tokenValue&&r(e,28,M[255&e.token]),e.assignable=2,te(e,t,i,o,s,{type:"MetaProperty",meta:n,property:Qe(e,t,0)})}function Ve(e,t,n,i,o,s){Y(e,32768|t,67174411),14===e.token&&r(e,138);const a=Ie(e,t,1,0,n,e.tokenPos,e.linePos,e.colPos);return Y(e,t,16),te(e,t,i,o,s,{type:"ImportExpression",source:a})}function Ge(e,t,n,r,i){return e.assignable=2,Y(e,t,67174409),te(e,t,n,r,i,{type:"TemplateLiteral",expressions:[],quasis:[Je(e,t,!0)]})}function Ye(e,t,n,i,o){const s=[Je(e,t=134217728^(134217728|t),!1)];Y(e,32768|t,67174408);const a=[Be(e,t,0,1,e.tokenPos,e.linePos,e.colPos)];for(1074790415!==e.token&&r(e,80);67174409!==(e.token=F(e,t));){const{tokenPos:n,linePos:i,colPos:o}=e;s.push(Je(e,t,!1)),Y(e,32768|t,67174408),a.push(Be(e,t,0,1,n,i,o)),1074790415!==e.token&&r(e,80)}return s.push(Je(e,t,!0)),Y(e,t,67174409),te(e,t,n,i,o,{type:"TemplateLiteral",expressions:a,quasis:s})}function Je(e,t,n){const{tokenPos:r,linePos:i,colPos:o}=e;return te(e,t,r,i,o,{type:"TemplateElement",value:{cooked:e.tokenValue,raw:e.tokenRaw},tail:n})}function Ze(e,t,n,r,i){Y(e,32768|(t=134217728^(134217728|t)),14);const o=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return e.assignable=1,te(e,t,n,r,i,{type:"SpreadElement",argument:o})}function Xe(e,t,n){l(e,32768|t);const r=[];if(16===e.token)return l(e,t),r;for(;16!==e.token&&(14===e.token?r.push(Ze(e,t,e.tokenPos,e.linePos,e.colPos)):r.push(Ie(e,t,1,0,n,e.tokenPos,e.linePos,e.colPos)),1073741842===e.token)&&(l(e,32768|t),16!==e.token););return Y(e,t,16),r}function Qe(e,t,n){const{tokenValue:r,tokenPos:i,linePos:o,colPos:s}=e;return l(e,t),te(e,t,i,o,s,268435456&t?{type:"Identifier",name:r,pattern:1===n}:{type:"Identifier",name:r})}function et(e,t){const{tokenValue:n,tokenRaw:r,tokenPos:i,linePos:o,colPos:s}=e;return l(e,t),e.assignable=2,te(e,t,i,o,s,512&t?{type:"Literal",value:n,raw:r}:{type:"Literal",value:n})}function tt(e,t,n,i,o,s,a,u,c,f){l(e,32768|t);const d=o?V(e,t,8457011):0;let h,p=null,m=n?{parent:void 0,type:2}:void 0;if(67174411===e.token)(1&s)<1&&r(e,37,"Function");else{const r=4&i&&((8192&t)<1||(2048&t)<1)?4:64;X(e,t|(3072&t)<<11,e.token),n&&(4&r?ue(e,t,n,e.tokenValue,r):ae(e,t,n,e.tokenValue,r,i),m=oe(m,256),s&&2&s&&le(e,e.tokenValue)),h=e.token,p=Qe(e,t,0)}return t=32243712^(32243712|t)|67108864|2*a+d<<21|(d?0:1073741824),n&&(m=oe(m,512)),te(e,t,u,c,f,{type:"FunctionDeclaration",params:ht(e,8388608|t,m,0,1),body:Fe(e,143360^(143360|t),n?oe(m,128):m,8,h,n?m.scopeError:void 0),async:1===a,generator:1===d,id:p})}function nt(e,t,n,r,i,o,s){l(e,32768|t);const a=V(e,t,8457011),u=2*n+a<<21;let c,f=null,d=64&t?{parent:void 0,type:2}:void 0;(176128&e.token)>0&&(X(e,32243712^(32243712|t)|u,e.token),d&&(d=oe(d,256)),c=e.token,f=Qe(e,t,0)),t=32243712^(32243712|t)|67108864|u|(a?0:1073741824),d&&(d=oe(d,512));const h=ht(e,8388608|t,d,r,1),p=Fe(e,-134377473&t,d?oe(d,128):d,0,c,void 0);return e.assignable=2,te(e,t,i,o,s,{type:"FunctionExpression",params:h,body:p,async:1===n,generator:1===a,id:f})}function rt(e,t,n,i,o,s,a,u,c,f,d){l(e,32768|t);const h=[];let p=0;for(t=134217728^(134217728|t);20!==e.token;)if(G(e,32768|t,1073741842))h.push(null);else{let i;const{token:c,tokenPos:f,linePos:d,colPos:m,tokenValue:b}=e;if(143360&c)if(i=We(e,t,0,0,1,0,o,1,f,d,m),1077936157===e.token){2&e.assignable&&r(e,24),l(e,32768|t),n&&se(e,t,n,b,a,u);const c=Ie(e,t,1,1,o,e.tokenPos,e.linePos,e.colPos);i=te(e,t,f,d,m,s?{type:"AssignmentPattern",left:i,right:c}:{type:"AssignmentExpression",operator:"=",left:i,right:c}),p|=256&e.destructible?256:0|128&e.destructible?128:0}else 1073741842===e.token||20===e.token?(2&e.assignable?p|=16:n&&se(e,t,n,b,a,u),p|=256&e.destructible?256:0|128&e.destructible?128:0):(p|=1&a?32:(2&a)<1?16:0,i=He(e,t,i,o,f,d,m),1073741842!==e.token&&20!==e.token?(1077936157!==e.token&&(p|=16),i=Ne(e,t,o,s,f,d,m,i)):1077936157!==e.token&&(p|=2&e.assignable?16:32));else 2097152&c?(i=2162700===e.token?at(e,t,n,0,o,s,a,u,f,d,m):rt(e,t,n,0,o,s,a,u,f,d,m),p|=e.destructible,e.assignable=16&e.destructible?2:1,1073741842===e.token||20===e.token?2&e.assignable&&(p|=16):8&e.destructible?r(e,68):(i=He(e,t,i,o,f,d,m),p=2&e.assignable?16:0,1073741842!==e.token&&20!==e.token?i=Ne(e,t,o,s,f,d,m,i):1077936157!==e.token&&(p|=2&e.assignable?16:32))):14===c?(i=ot(e,t,n,20,a,u,0,o,s,f,d,m),p|=e.destructible,1073741842!==e.token&&20!==e.token&&r(e,28,M[255&e.token])):(i=qe(e,t,1,0,1,f,d,m),1073741842!==e.token&&20!==e.token?(i=Ne(e,t,o,s,f,d,m,i),(3&a)<1&&67174411===c&&(p|=16)):2&e.assignable?p|=16:67174411===c&&(p|=1&e.assignable&&3&a?32:16));if(h.push(i),!G(e,32768|t,1073741842))break;if(20===e.token)break}Y(e,t,20);const m=te(e,t,c,f,d,{type:s?"ArrayPattern":"ArrayExpression",elements:h});return!i&&4194304&e.token?it(e,t,p,o,s,c,f,d,m):(e.destructible=p,m)}function it(e,t,n,i,o,s,a,u,c){1077936157!==e.token&&r(e,24),l(e,32768|t),16&n&&r(e,24),o||J(e,c);const{tokenPos:f,linePos:d,colPos:h}=e,p=Ie(e,t,1,1,i,f,d,h);return e.destructible=72^(72|n)|(128&e.destructible?128:0)|(256&e.destructible?256:0),te(e,t,s,a,u,o?{type:"AssignmentPattern",left:c,right:p}:{type:"AssignmentExpression",left:c,operator:"=",right:p})}function ot(e,t,n,i,o,s,a,u,c,f,d,h){l(e,32768|t);let p=null,m=0,{token:b,tokenValue:y,tokenPos:g,linePos:v,colPos:_}=e;if(143360&b)e.assignable=1,p=We(e,t,0,0,1,0,u,1,g,v,_),b=e.token,p=He(e,t,p,u,g,v,_),1073741842!==e.token&&e.token!==i&&(2&e.assignable&&1077936157===e.token&&r(e,68),m|=16,p=Ne(e,t,u,c,g,v,_,p)),2&e.assignable?m|=16:b===i||1073741842===b?n&&se(e,t,n,y,o,s):m|=32,m|=128&e.destructible?128:0;else if(b===i)r(e,39);else{if(!(2097152&b)){m|=32,p=qe(e,t,1,u,1,e.tokenPos,e.linePos,e.colPos);const{token:n,tokenPos:o,linePos:s,colPos:a}=e;return 1077936157===n&&n!==i&&1073741842!==n?(2&e.assignable&&r(e,24),p=Ne(e,t,u,c,o,s,a,p),m|=16):(1073741842===n?m|=16:n!==i&&(p=Ne(e,t,u,c,o,s,a,p)),m|=1&e.assignable?32:16),e.destructible=m,e.token!==i&&1073741842!==e.token&&r(e,155),te(e,t,f,d,h,{type:c?"RestElement":"SpreadElement",argument:p})}p=2162700===e.token?at(e,t,n,1,u,c,o,s,g,v,_):rt(e,t,n,1,u,c,o,s,g,v,_),b=e.token,1077936157!==b&&b!==i&&1073741842!==b?(8&e.destructible&&r(e,68),p=He(e,t,p,u,g,v,_),m|=2&e.assignable?16:0,4194304==(4194304&e.token)?(1077936157!==e.token&&(m|=16),p=Ne(e,t,u,c,g,v,_,p)):(8454144==(8454144&e.token)&&(p=Ue(e,t,1,g,v,_,4,b,p)),G(e,32768|t,22)&&(p=Le(e,t,p,g,v,_)),m|=2&e.assignable?16:32)):m|=1074790415===i&&1077936157!==b?16:e.destructible}if(e.token!==i)if(1&o&&(m|=a?16:32),G(e,32768|t,1077936157)){16&m&&r(e,24),J(e,p);const n=Ie(e,t,1,1,u,e.tokenPos,e.linePos,e.colPos);p=te(e,t,g,v,_,c?{type:"AssignmentPattern",left:p,right:n}:{type:"AssignmentExpression",left:p,operator:"=",right:n}),m=16}else m|=16;return e.destructible=m,te(e,t,f,d,h,{type:c?"RestElement":"SpreadElement",argument:p})}function st(e,t,n,o,s,a,u){const c=(64&n)<1?31981568:14680064;let f=64&(t=(t|c)^c|(88&n)<<18|100925440)?oe({parent:void 0,type:2},512):void 0;const d=function(e,t,n,o,s,a){Y(e,t,67174411);const u=[];if(e.flags=128^(128|e.flags),16===e.token)return 512&o&&r(e,35,"Setter","one",""),l(e,t),u;256&o&&r(e,35,"Getter","no","s"),512&o&&14===e.token&&r(e,36),t=134217728^(134217728|t);let c=0,f=0;for(;1073741842!==e.token;){let i=null;const{tokenPos:d,linePos:h,colPos:p}=e;if(143360&e.token?((1024&t)<1&&(36864==(36864&e.token)&&(e.flags|=256),537079808==(537079808&e.token)&&(e.flags|=512)),i=kt(e,t,n,1|o,0,d,h,p)):(2162700===e.token?i=at(e,t,n,1,a,1,s,0,d,h,p):69271571===e.token?i=rt(e,t,n,1,a,1,s,0,d,h,p):14===e.token&&(i=ot(e,t,n,16,s,0,0,a,1,d,h,p)),f=1,48&e.destructible&&r(e,47)),1077936157===e.token){l(e,32768|t),f=1;const n=Ie(e,t,1,1,0,e.tokenPos,e.linePos,e.colPos);i=te(e,t,d,h,p,{type:"AssignmentPattern",left:i,right:n})}if(c++,u.push(i),!G(e,t,1073741842))break;if(16===e.token)break}return 512&o&&1!==c&&r(e,35,"Setter","one",""),n&&void 0!==n.scopeError&&i(n.scopeError),f&&(e.flags|=128),Y(e,t,16),u}(e,8388608|t,f,n,1,o);return f&&(f=oe(f,128)),te(e,t,s,a,u,{type:"FunctionExpression",params:d,body:Fe(e,-134230017&t,f,0,void 0,void 0),async:(16&n)>0,generator:(8&n)>0,id:null})}function at(e,t,n,i,s,a,u,c,f,d,h){l(e,t);const p=[];let m=0,b=0;for(t=134217728^(134217728|t);1074790415!==e.token;){const{token:i,tokenValue:f,linePos:d,colPos:h,tokenPos:y}=e;if(14===i)p.push(ot(e,t,n,1074790415,u,c,0,s,a,y,d,h));else{let g,v=0,_=null;const w=e.token;if(143360&e.token||118===e.token)if(_=Qe(e,t,0),1073741842===e.token||1074790415===e.token||1077936157===e.token)if(v|=4,1024&t&&537079808==(537079808&i)?m|=16:Z(e,t,u,i,0),n&&se(e,t,n,f,u,c),G(e,32768|t,1077936157)){m|=8;const n=Ie(e,t,1,1,s,e.tokenPos,e.linePos,e.colPos);m|=256&e.destructible?256:0|128&e.destructible?128:0,g=te(e,t,y,d,h,{type:"AssignmentPattern",left:-2147483648&t?Object.assign({},_):_,right:n})}else m|=(209005===i?128:0)|(118===i?16:0),g=-2147483648&t?Object.assign({},_):_;else if(G(e,32768|t,21)){const{tokenPos:o,linePos:l,colPos:d}=e;if("__proto__"===f&&b++,143360&e.token){const r=e.token,i=e.tokenValue;m|=118===w?16:0,g=We(e,t,0,0,1,0,s,1,o,l,d);const{token:f}=e;g=He(e,t,g,s,o,l,d),1073741842===e.token||1074790415===e.token?1077936157===f||1074790415===f||1073741842===f?(m|=128&e.destructible?128:0,2&e.assignable?m|=16:n&&143360==(143360&r)&&se(e,t,n,i,u,c)):m|=1&e.assignable?32:16:4194304==(4194304&e.token)?(2&e.assignable?m|=16:1077936157!==f?m|=32:n&&se(e,t,n,i,u,c),g=Ne(e,t,s,a,o,l,d,g)):(m|=16,8454144==(8454144&e.token)&&(g=Ue(e,t,1,o,l,d,4,f,g)),G(e,32768|t,22)&&(g=Le(e,t,g,o,l,d)))}else 2097152==(2097152&e.token)?(g=69271571===e.token?rt(e,t,n,0,s,a,u,c,o,l,d):at(e,t,n,0,s,a,u,c,o,l,d),m=e.destructible,e.assignable=16&m?2:1,1073741842===e.token||1074790415===e.token?2&e.assignable&&(m|=16):8&e.destructible?r(e,68):(g=He(e,t,g,s,o,l,d),m=2&e.assignable?16:0,4194304==(4194304&e.token)?g=De(e,t,s,a,o,l,d,g):(8454144==(8454144&e.token)&&(g=Ue(e,t,1,o,l,d,4,i,g)),G(e,32768|t,22)&&(g=Le(e,t,g,o,l,d)),m|=2&e.assignable?16:32))):(g=qe(e,t,1,s,1,o,l,d),m|=1&e.assignable?32:16,1073741842===e.token||1074790415===e.token?2&e.assignable&&(m|=16):(g=He(e,t,g,s,o,o,d),m=2&e.assignable?16:0,1073741842!==e.token&&1074790415!==i&&(1077936157!==e.token&&(m|=16),g=Ne(e,t,s,a,o,o,d,g))))}else 69271571===e.token?(m|=16,143468===i&&(v|=16),v|=2|(12399===i?256:12400===i?512:1),_=ut(e,t,s),m|=e.assignable,g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):143360&e.token?(m|=16,118===i&&r(e,92),143468===i&&(1&e.flags&&r(e,128),v|=16),_=Qe(e,t,0),v|=12399===i?256:12400===i?512:1,g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):67174411===e.token?(m|=16,v|=1,g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):8457011===e.token?(m|=16,12399===i||12400===i?r(e,40):143480===i&&r(e,92),l(e,t),v|=9|(143468===i?16:0),143360&e.token?_=Qe(e,t,0):134217728==(134217728&e.token)?_=et(e,t):69271571===e.token?(v|=2,_=ut(e,t,s),m|=e.assignable):r(e,28,M[255&e.token]),g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):134217728==(134217728&e.token)?(143468===i&&(v|=16),v|=12399===i?256:12400===i?512:1,m|=16,_=et(e,t),g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):r(e,129);else if(134217728==(134217728&e.token))if(_=et(e,t),21===e.token){Y(e,32768|t,21);const{tokenPos:r,linePos:o,colPos:l}=e;if("__proto__"===f&&b++,143360&e.token){g=We(e,t,0,0,1,0,s,1,r,o,l);const{token:i,tokenValue:f}=e;g=He(e,t,g,s,r,o,l),1073741842===e.token||1074790415===e.token?1077936157===i||1074790415===i||1073741842===i?2&e.assignable?m|=16:n&&se(e,t,n,f,u,c):m|=1&e.assignable?32:16:1077936157===e.token?(2&e.assignable&&(m|=16),g=Ne(e,t,s,a,r,o,l,g)):(m|=16,g=Ne(e,t,s,a,r,o,l,g))}else 2097152==(2097152&e.token)?(g=69271571===e.token?rt(e,t,n,0,s,a,u,c,r,o,l):at(e,t,n,0,s,a,u,c,r,o,l),m=e.destructible,e.assignable=16&m?2:1,1073741842===e.token||1074790415===e.token?2&e.assignable&&(m|=16):8!=(8&e.destructible)&&(g=He(e,t,g,s,r,o,l),m=2&e.assignable?16:0,4194304==(4194304&e.token)?g=De(e,t,s,a,r,o,l,g):(8454144==(8454144&e.token)&&(g=Ue(e,t,1,r,o,l,4,i,g)),G(e,32768|t,22)&&(g=Le(e,t,g,r,o,l)),m|=2&e.assignable?16:32))):(g=qe(e,t,1,0,1,r,o,l),m|=1&e.assignable?32:16,1073741842===e.token||1074790415===e.token?2&e.assignable&&(m|=16):(g=He(e,t,g,s,r,o,l),m=1&e.assignable?0:16,1073741842!==e.token&&1074790415!==e.token&&(1077936157!==e.token&&(m|=16),g=Ne(e,t,s,a,r,o,l,g))))}else 67174411===e.token?(v|=1,g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos),m=16|e.assignable):r(e,130);else if(69271571===e.token)if(_=ut(e,t,s),m|=256&e.destructible?256:0,v|=2,21===e.token){l(e,32768|t);const{tokenPos:o,linePos:f,colPos:d,tokenValue:h,token:p}=e;if(143360&e.token){g=We(e,t,0,0,1,0,s,1,o,f,d);const{token:r}=e;g=He(e,t,g,s,o,f,d),4194304==(4194304&e.token)?(m|=2&e.assignable?16:1077936157===r?0:32,g=De(e,t,s,a,o,f,d,g)):1073741842===e.token||1074790415===e.token?1077936157===r||1074790415===r||1073741842===r?2&e.assignable?m|=16:n&&143360==(143360&p)&&se(e,t,n,h,u,c):m|=1&e.assignable?32:16:(m|=16,g=Ne(e,t,s,a,o,f,d,g))}else 2097152==(2097152&e.token)?(g=69271571===e.token?rt(e,t,n,0,s,a,u,c,o,f,d):at(e,t,n,0,s,a,u,c,o,f,d),m=e.destructible,e.assignable=16&m?2:1,1073741842===e.token||1074790415===e.token?2&e.assignable&&(m|=16):8&m?r(e,59):(g=He(e,t,g,s,o,f,d),m=2&e.assignable?16|m:0,4194304==(4194304&e.token)?(1077936157!==e.token&&(m|=16),g=De(e,t,s,a,o,f,d,g)):(8454144==(8454144&e.token)&&(g=Ue(e,t,1,o,f,d,4,i,g)),G(e,32768|t,22)&&(g=Le(e,t,g,o,f,d)),m|=2&e.assignable?16:32))):(g=qe(e,t,1,0,1,o,f,d),m|=1&e.assignable?32:16,1073741842===e.token||1074790415===e.token?2&e.assignable&&(m|=16):(g=He(e,t,g,s,o,f,d),m=1&e.assignable?0:16,1073741842!==e.token&&1074790415!==e.token&&(1077936157!==e.token&&(m|=16),g=Ne(e,t,s,a,o,f,d,g))))}else 67174411===e.token?(v|=1,g=st(e,t,v,s,e.tokenPos,d,h),m=16):r(e,41);else if(8457011===i)if(Y(e,32768|t,8457011),v|=8,143360&e.token){const{token:n,line:r,index:i}=e;_=Qe(e,t,0),v|=1,67174411===e.token?(m|=16,g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):o(i,r,i,143468===n?43:12399===n||12400===e.token?42:44,M[255&n])}else 134217728==(134217728&e.token)?(m|=16,_=et(e,t),v|=1,g=st(e,t,v,s,y,d,h)):69271571===e.token?(m|=16,v|=3,_=ut(e,t,s),g=st(e,t,v,s,e.tokenPos,e.linePos,e.colPos)):r(e,122);else r(e,28,M[255&i]);m|=128&e.destructible?128:0,e.destructible=m,p.push(te(e,t,y,d,h,{type:"Property",key:_,value:g,kind:768&v?512&v?"set":"get":"init",computed:(2&v)>0,method:(1&v)>0,shorthand:(4&v)>0}))}if(m|=e.destructible,1073741842!==e.token)break;l(e,t)}Y(e,t,1074790415),b>1&&(m|=64);const y=te(e,t,f,d,h,{type:a?"ObjectPattern":"ObjectExpression",properties:p});return!i&&4194304&e.token?it(e,t,m,s,a,f,d,h,y):(e.destructible=m,y)}function ut(e,t,n){l(e,32768|t);const r=Ie(e,134217728^(134217728|t),1,0,n,e.tokenPos,e.linePos,e.colPos);return Y(e,t,20),r}function lt(e,t,n,r,i){const{tokenValue:o}=e,s=Qe(e,t,0);if(e.assignable=1,10===e.token){let a=void 0;return 64&t&&(a=re(e,t,o)),e.flags=128^(128|e.flags),dt(e,t,a,[s],0,n,r,i)}return s}function ct(e,t,n,i,o,s,a,u,l,c){return s||r(e,54),o&&r(e,48),e.flags&=-129,dt(e,t,64&t?re(e,t,n):void 0,[i],a,u,l,c)}function ft(e,t,n,i,o,s,a,u,l){o||r(e,54);for(let t=0;t4096?(Q(e,t,e.token)&&r(e,114),537079808==(537079808&e.token)&&r(e,115),n&&(ae(e,t,n,d,32,0),i&&2&i&&le(e,d)),c=Qe(e,t,0)):(1&i)<1&&r(e,37,"Class");let h=t;G(e,32768|t,20564)?(f=qe(e,t,0,0,0,e.tokenPos,e.linePos,e.colPos),h|=524288):h=524288^(524288|h);const p=vt(e,h,t,n,2,8,0);return te(e,t,o,s,a,1&t?{type:"ClassDeclaration",id:c,superClass:f,decorators:u,body:p}:{type:"ClassDeclaration",id:c,superClass:f,body:p})}function yt(e,t){const n=[];for(;130===e.token;)n.push(gt(e,t,e.tokenPos,e.linePos,e.colPos));return n}function gt(e,t,n,r,i){l(e,32768|t);let o=We(e,t,0,0,1,0,0,1,n,r,i);return o=He(e,t,o,0,n,r,i),te(e,t,n,r,i,{type:"Decorator",expression:o})}function vt(e,t,n,i,o,s,a){const{tokenPos:u,linePos:l,colPos:c}=e;Y(e,32768|t,2162700),t=134217728^(134217728|t),e.flags=32^(32|e.flags);const f=[];let d=[];for(;1074790415!==e.token;){let s=0;d=yt(e,t),s=d.length,s>0&&"constructor"===e.tokenValue&&r(e,106),1074790415===e.token&&r(e,105),G(e,t,1074790417)?s>0&&r(e,116):f.push(_t(e,t,i,n,o,d,0,a,e.tokenPos,e.linePos,e.colPos))}return Y(e,8&s?32768|t:t,1074790415),te(e,t,u,l,c,{type:"ClassBody",body:f})}function _t(e,t,n,i,o,s,a,u,c,f,d){let h=a?32:0,p=null;const{token:m,tokenPos:b,linePos:y,colPos:g}=e;if(176128&m)switch(p=Qe(e,t,0),m){case 36969:if(!a&&67174411!==e.token)return _t(e,t,n,i,o,s,1,u,c,f,d);break;case 143468:if(67174411!==e.token&&(1&e.flags)<1){if(1&t&&1073741824==(1073741824&e.token))return jt(e,t,p,h,s,b,y,g);h|=16|(V(e,t,8457011)?8:0)}break;case 12399:if(67174411!==e.token){if(1&t&&1073741824==(1073741824&e.token))return jt(e,t,p,h,s,b,y,g);h|=256}break;case 12400:if(67174411!==e.token){if(1&t&&1073741824==(1073741824&e.token))return jt(e,t,p,h,s,b,y,g);h|=512}}else 69271571===m?(h=2,p=ut(e,i,u)):134217728==(134217728&m)?p=et(e,t):8457011===m?(h|=8,l(e,t)):1&t&&128===e.token?(h|=4096,p=wt(e,t,b,y,g),t|=16384):1&t&&1073741824==(1073741824&e.token)?(h|=128,t|=16384):119===m?(p=Qe(e,t,0),67174411!==e.token&&r(e,28,M[255&e.token])):r(e,28,M[255&e.token]);if(792&h&&(143360&e.token?p=Qe(e,t,0):134217728==(134217728&e.token)?p=et(e,t):69271571===e.token?(h|=2,p=ut(e,t,0)):119===e.token?p=Qe(e,t,0):1&t&&128===e.token?(h|=4096,p=wt(e,t,b,y,g)):r(e,131)),(2&h)<1&&("constructor"===e.tokenValue?(1073741824==(1073741824&e.token)?r(e,125):(32&h)<1&&67174411===e.token&&(920&h?r(e,50,"accessor"):(524288&t)<1&&(32&e.flags?r(e,51):e.flags|=32)),h|=64):(4096&h)<1&&824&h&&"prototype"===e.tokenValue&&r(e,49)),1&t&&67174411!==e.token)return jt(e,t,p,h,s,b,y,g);const v=st(e,t,h,u,e.tokenPos,e.linePos,e.colPos);return te(e,t,c,f,d,1&t?{type:"MethodDefinition",kind:(32&h)<1&&64&h?"constructor":256&h?"get":512&h?"set":"method",static:(32&h)>0,computed:(2&h)>0,key:p,decorators:s,value:v}:{type:"MethodDefinition",kind:(32&h)<1&&64&h?"constructor":256&h?"get":512&h?"set":"method",static:(32&h)>0,computed:(2&h)>0,key:p,value:v})}function wt(e,t,n,i,o){l(e,t);const{tokenValue:s}=e;return"constructor"===s&&r(e,124),l(e,t),te(e,t,n,i,o,{type:"PrivateName",name:s})}function jt(e,t,n,i,o,s,a,u){let c=null;if(8&i&&r(e,0),1077936157===e.token){l(e,32768|t);const{tokenPos:n,linePos:i,colPos:o}=e;537079925===e.token&&r(e,115),c=We(e,16384|t,0,0,1,0,0,1,n,i,o),1073741824!=(1073741824&e.token)&&(c=He(e,16384|t,c,0,n,i,o),c=Ne(e,16384|t,0,0,n,i,o,c),1073741842===e.token&&(c=Te(e,t,0,s,a,u,c)))}return te(e,t,s,a,u,{type:"FieldDefinition",key:n,value:c,static:(32&i)>0,computed:(2&i)>0,decorators:o})}function xt(e,t,n,i,o,s,a,u){if(143360&e.token)return kt(e,t,n,i,o,s,a,u);2097152!=(2097152&e.token)&&r(e,28,M[255&e.token]);const l=69271571===e.token?rt(e,t,n,1,0,1,i,o,s,a,u):at(e,t,n,1,0,1,i,o,s,a,u);return 16&e.destructible&&r(e,47),32&e.destructible&&r(e,47),l}function kt(e,t,n,i,o,s,a,u){const{tokenValue:c,token:f}=e;return 1024&t&&(537079808==(537079808&f)?r(e,115):36864==(36864&f)&&r(e,114)),20480==(20480&f)&&r(e,99),2099200&t&&241770===f&&r(e,30),241736===f&&24&i&&r(e,97),4196352&t&&209005===f&&r(e,95),l(e,t),n&&se(e,t,n,c,i,o),te(e,t,s,a,u,{type:"Identifier",name:c})}function St(e,t,n,i,o,s){if(l(e,t),8456256===e.token)return te(e,t,i,o,s,{type:"JSXFragment",openingFragment:Mt(e,t,i,o,s),children:Ot(e,t),closingFragment:Et(e,t,0,e.tokenPos,e.linePos,e.colPos)});let a=null,u=[];const c=function(e,t,n,i,o,s){143360!=(143360&e.token)&&4096!=(4096&e.token)&&r(e,0);const a=Pt(e,t,e.tokenPos,e.linePos,e.colPos),u=function(e,t){const n=[];for(;8457013!==e.token&&8456256!==e.token;)n.push(Rt(e,t,e.tokenPos,e.linePos,e.colPos));return n}(e,t),l=8457013===e.token;return 8456256===e.token?z(e):(Y(e,t,8457013),n?Y(e,t,8456256):z(e)),te(e,t,i,o,s,{type:"JSXOpeningElement",name:a,attributes:u,selfClosing:l})}(e,t,n,i,o,s);if(!c.selfClosing){u=Ot(e,t),a=function(e,t,n,r,i,o){Y(e,t,25);const s=Pt(e,t,e.tokenPos,e.linePos,e.colPos);return n?Y(e,t,8456256):e.token=z(e),te(e,t,r,i,o,{type:"JSXClosingElement",name:s})}(e,t,n,e.tokenPos,e.linePos,e.colPos);const i=ne(a.name);ne(c.name)!==i&&r(e,149,i)}return te(e,t,i,o,s,{type:"JSXElement",children:u,openingElement:c,closingElement:a})}function Mt(e,t,n,r,i){return z(e),te(e,t,n,r,i,{type:"JSXOpeningFragment"})}function Et(e,t,n,r,i,o){return Y(e,t,25),Y(e,t,8456256),te(e,t,r,i,o,{type:"JSXClosingFragment"})}function Ot(e,t){const n=[];for(;25!==e.token;)e.index=e.tokenPos=e.startPos,e.column=e.colPos=e.startColumn,e.line=e.linePos=e.startLine,z(e),n.push(At(e,t,e.tokenPos,e.linePos,e.colPos));return n}function At(e,t,n,i,o){return 135===e.token?function(e,t,n,r,i){return z(e),te(e,t,n,r,i,{type:"JSXText",value:e.tokenValue})}(e,t,n,i,o):2162700===e.token?Tt(e,t,0,0,n,i,o):8456255===e.token?St(e,t,0,n,i,o):void r(e,0)}function Pt(e,t,n,r,i){$(e);let o=Bt(e,t,n,r,i);if(21===e.token)return It(e,t,o,n,r,i);for(;G(e,t,67108877);)$(e),o=Ct(e,t,o,n,r,i);return o}function Ct(e,t,n,r,i,o){return te(e,t,r,i,o,{type:"JSXMemberExpression",object:n,property:Bt(e,t,e.tokenPos,e.linePos,e.colPos)})}function Rt(e,t,n,i,o){if(2162700===e.token)return function(e,t,n,r,i){l(e,t),Y(e,t,14);const o=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return Y(e,t,1074790415),te(e,t,n,r,i,{type:"JSXSpreadAttribute",argument:o})}(e,t,n,i,o);$(e);let s=null,a=Bt(e,t,n,i,o);if(21===e.token&&(a=It(e,t,a,n,i,o)),1077936157===e.token){const n=H(e,t),{tokenPos:i,linePos:o,colPos:a}=e;switch(n){case 134283267:s=et(e,t);break;case 8456255:s=St(e,t,1,i,o,a);break;case 2162700:s=Tt(e,t,1,1,i,o,a);break;default:r(e,148)}}return te(e,t,n,i,o,{type:"JSXAttribute",value:s,name:a})}function It(e,t,n,r,i,o){return Y(e,t,21),te(e,t,r,i,o,{type:"JSXNamespacedName",namespace:n,name:Bt(e,t,e.tokenPos,e.linePos,e.colPos)})}function Tt(e,t,n,i,o,s,a){l(e,t);const{tokenPos:u,linePos:c,colPos:f}=e;if(14===e.token)return function(e,t,n,r,i){Y(e,t,14);const o=Ie(e,t,1,0,0,e.tokenPos,e.linePos,e.colPos);return Y(e,t,1074790415),te(e,t,n,r,i,{type:"JSXSpreadChild",expression:o})}(e,t,u,c,f);let d=null;return 1074790415===e.token?(i&&r(e,151),d=function(e,t,n,r,i){return te(e,t,n,r,i,{type:"JSXEmptyExpression"})}(e,t,u,c,f)):d=Ie(e,t,1,0,0,u,c,f),n?Y(e,t,1074790415):z(e),te(e,t,o,s,a,{type:"JSXExpressionContainer",expression:d})}function Bt(e,t,n,r,i){const{tokenValue:o}=e;return l(e,t),te(e,t,n,r,i,{type:"JSXIdentifier",name:o})}var Nt=Object.freeze({__proto__:null});e.ESTree=Nt,e.parse=function(e,t){return he(e,t,0)},e.parseModule=function(e,t){return he(e,t,3072)},e.parseScript=function(e,t){return he(e,t,0)},e.version="1.9.5",Object.defineProperty(e,"__esModule",{value:!0})}(t)},"../../node_modules/micromatch/index.js":function(e,t,n){"use strict";const r=n("../../node_modules/util/util.js"),i=n("../../node_modules/braces/index.js"),o=n("../../node_modules/picomatch/index.js"),s=n("../../node_modules/picomatch/lib/utils.js"),a=e=>""===e||"./"===e,u=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let r=new Set,i=new Set,s=new Set,a=0,u=e=>{s.add(e.output),n&&n.onResult&&n.onResult(e)};for(let s=0;s!r.has(e));if(n&&0===l.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map(e=>e.replace(/\\/g,"")):t}return l};u.match=u,u.matcher=(e,t)=>o(e,t),u.any=u.isMatch=(e,t,n)=>o(t,n)(e),u.not=(e,t,n={})=>{t=[].concat(t).map(String);let r=new Set,i=[],o=u(e,t,{...n,onResult:e=>{n.onResult&&n.onResult(e),i.push(e.output)}});for(let e of i)o.includes(e)||r.add(e);return[...r]},u.contains=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${r.inspect(e)}"`);if(Array.isArray(t))return t.some(t=>u.contains(e,t,n));if("string"==typeof t){if(a(e)||a(t))return!1;if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t))return!0}return u.isMatch(e,t,{...n,contains:!0})},u.matchKeys=(e,t,n)=>{if(!s.isObject(e))throw new TypeError("Expected the first argument to be an object");let r=u(Object.keys(e),t,n),i={};for(let t of r)i[t]=e[t];return i},u.some=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=o(String(e),n);if(r.some(e=>t(e)))return!0}return!1},u.every=(e,t,n)=>{let r=[].concat(e);for(let e of[].concat(t)){let t=o(String(e),n);if(!r.every(e=>t(e)))return!1}return!0},u.all=(e,t,n)=>{if("string"!=typeof e)throw new TypeError(`Expected a string: "${r.inspect(e)}"`);return[].concat(t).every(t=>o(t,n)(e))},u.capture=(e,t,n)=>{let r=s.isWindows(n),i=o.makeRe(String(e),{...n,capture:!0}).exec(r?s.toPosixSlashes(t):t);if(i)return i.slice(1).map(e=>void 0===e?"":e)},u.makeRe=(...e)=>o.makeRe(...e),u.scan=(...e)=>o.scan(...e),u.parse=(e,t)=>{let n=[];for(let r of[].concat(e||[]))for(let e of i(String(r),t))n.push(o.parse(e,t));return n},u.braces=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return t&&!0===t.nobrace||!/\{.*\}/.test(e)?[e]:i(e,t)},u.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return u.braces(e,{...t,expand:!0})},e.exports=u},"../../node_modules/miller-rabin/lib/mr.js":function(e,t,n){var r=n("../../node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/brorand/index.js");function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),n=Math.ceil(t/8);do{var i=new r(this.rand.generate(n))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var n=t.sub(e);return e.add(this._randbelow(n))},o.prototype.test=function(e,t,n){var i=e.bitLength(),o=r.mont(e),s=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var a=e.subn(1),u=0;!a.testn(u);u++);for(var l=e.shrn(u),c=a.toRed(o);t>0;t--){var f=this._randrange(new r(2),a);n&&n(f);var d=f.toRed(o).redPow(l);if(0!==d.cmp(s)&&0!==d.cmp(c)){for(var h=1;h0;t--){var c=this._randrange(new r(2),s),f=e.gcd(c);if(0!==f.cmpn(1))return f;var d=c.toRed(i).redPow(u);if(0!==d.cmp(o)&&0!==d.cmp(l)){for(var h=1;h>8,s=255&i;o?n.push(o,s):n.push(s)}return n},r.zero2=i,r.toHex=o,r.encode=function(e,t){return"hex"===t?o(e):e}},"../../node_modules/node-libs-browser/mock/empty.js":function(e,t){},"../../node_modules/node-libs-browser/node_modules/events/events.js":function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var u=10;function l(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,s,a;if("function"!=typeof n)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof n);if(void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"==typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=l(e))>0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,a=u,console&&console.warn&&console.warn(a)}return e}function f(){for(var e=[],t=0;t0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var u=i[e];if(void 0===u)return!1;if("function"==typeof u)o(u,this,t);else{var l=u.length,c=m(u,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},a.prototype.listenerCount=p,a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},"../../node_modules/node-libs-browser/node_modules/stream-browserify/index.js":function(e,t,n){e.exports=i;var r=n("../../node_modules/node-libs-browser/node_modules/events/events.js").EventEmitter;function i(){r.call(this)}n("../../node_modules/inherits/inherits_browser.js")(i,r),i.Readable=n("../../node_modules/readable-stream/readable-browser.js"),i.Writable=n("../../node_modules/readable-stream/writable-browser.js"),i.Duplex=n("../../node_modules/readable-stream/duplex-browser.js"),i.Transform=n("../../node_modules/readable-stream/transform.js"),i.PassThrough=n("../../node_modules/readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",u));var s=!1;function a(){s||(s=!0,e.end())}function u(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",a),n.removeListener("close",u),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},"../../node_modules/o3/index.js":function(e,t,n){n("../../node_modules/capability/es5.js"),e.exports=n("../../node_modules/o3/lib/index.js")},"../../node_modules/o3/lib/Class.js":function(e,t){var n=function(){var e=Object.create({Source:Object,config:{},buildArgs:[]});function t(t){var n="config";if(t instanceof Function)n="Source";else if(t instanceof Array)n="buildArgs";else{if(!(t instanceof Object))throw new Error("Invalid configuration option.");n="config"}if(e.hasOwnProperty(n))throw new Error("Duplicated configuration option: "+n+".");e[n]=t}for(var r=0,i=arguments.length;r{const t=r();if(!e)return t[2].getFileName();let n=!1;t.shift();for(const r of t){const t=r.getFileName();if("string"==typeof t)if(t!==e){if("module.js"!==t&&n&&t!==e)return t}else n=!0}}},"../../node_modules/parse-asn1/aesid.json":function(e){e.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"}')},"../../node_modules/parse-asn1/asn1.js":function(e,t,n){"use strict";var r=n("../../node_modules/asn1.js/lib/asn1.js");t.certificate=n("../../node_modules/parse-asn1/certificate.js");var i=r.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())}));t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));t.RSAPublicKey=o;var s=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}));t.PublicKey=s;var a=r.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())})),u=r.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())}));t.PrivateKey=u;var l=r.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())}));t.EncryptedPrivateKey=l;var c=r.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())}));t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",(function(){this.int()}));var f=r.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())}));t.ECPrivateKey=f;var d=r.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));t.signature=r.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},"../../node_modules/parse-asn1/certificate.js":function(e,t,n){"use strict";var r=n("../../node_modules/asn1.js/lib/asn1.js"),i=r.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),o=r.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),s=r.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),a=r.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())})),u=r.define("RelativeDistinguishedName",(function(){this.setof(o)})),l=r.define("RDNSequence",(function(){this.seqof(u)})),c=r.define("Name",(function(){this.choice({rdnSequence:this.use(l)})})),f=r.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))})),d=r.define("Extension",(function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())})),h=r.define("TBSCertificate",(function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(s),this.key("issuer").use(c),this.key("validity").use(f),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(a),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(d).optional())})),p=r.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(s),this.key("signatureValue").bitstr())}));e.exports=p},"../../node_modules/parse-asn1/fixProc.js":function(e,t,n){var r=/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,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,s=n("../../node_modules/evp_bytestokey/index.js"),a=n("../../node_modules/browserify-aes/browser.js"),u=n("../../node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t){var n,l=e.toString(),c=l.match(r);if(c){var f="aes"+c[1],d=u.from(c[2],"hex"),h=u.from(c[3].replace(/[\r\n]/g,""),"base64"),p=s(t,d.slice(0,8),parseInt(c[1],10)).key,m=[],b=a.createDecipheriv(f,p,d);m.push(b.update(h)),m.push(b.final()),n=u.concat(m)}else{var y=l.match(o);n=new u(y[2].replace(/[\r\n]/g,""),"base64")}return{tag:l.match(i)[1],data:n}}},"../../node_modules/parse-asn1/index.js":function(e,t,n){var r=n("../../node_modules/parse-asn1/asn1.js"),i=n("../../node_modules/parse-asn1/aesid.json"),o=n("../../node_modules/parse-asn1/fixProc.js"),s=n("../../node_modules/browserify-aes/browser.js"),a=n("../../node_modules/pbkdf2/browser.js"),u=n("../../node_modules/safe-buffer/index.js").Buffer;function l(e){var t;"object"!=typeof e||u.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=u.from(e));var n,l,c=o(e,t),f=c.tag,d=c.data;switch(f){case"CERTIFICATE":l=r.certificate.decode(d,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(l||(l=r.PublicKey.decode(d,"der")),n=l.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(l.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return l.subjectPrivateKey=l.subjectPublicKey,{type:"ec",data:l};case"1.2.840.10040.4.1":return l.algorithm.params.pub_key=r.DSAparam.decode(l.subjectPublicKey.data,"der"),{type:"dsa",data:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+f);case"ENCRYPTED PRIVATE KEY":d=function(e,t){var n=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],l=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,f=parseInt(o.split("-")[1],10)/8,d=a.pbkdf2Sync(t,n,r,f,"sha1"),h=s.createDecipheriv(o,d,l),p=[];return p.push(h.update(c)),p.push(h.final()),u.concat(p)}(d=r.EncryptedPrivateKey.decode(d,"der"),t);case"PRIVATE KEY":switch(n=(l=r.PrivateKey.decode(d,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(l.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:l.algorithm.curve,privateKey:r.ECPrivateKey.decode(l.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return l.algorithm.params.priv_key=r.DSAparam.decode(l.subjectPrivateKey,"der"),{type:"dsa",params:l.algorithm.params};default:throw new Error("unknown key id "+n)}throw new Error("unknown key type "+f);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(d,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(d,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(d,"der")};case"EC PRIVATE KEY":return{curve:(d=r.ECPrivateKey.decode(d,"der")).parameters.value,privateKey:d.privateKey};default:throw new Error("unknown key type "+f)}}e.exports=l,l.signature=r.signature},"../../node_modules/parse-json/index.js":function(e,t,n){"use strict";const r=n("../../node_modules/error-ex/index.js"),i=n("../../node_modules/json-parse-better-errors/index.js"),{default:o}=n("../../node_modules/lines-and-columns/dist/index.mjs"),{codeFrameColumns:s}=n("../../node_modules/@babel/code-frame/lib/index.js"),a=r("JSONError",{fileName:r.append("in %s"),codeFrame:r.append("\n\n%s\n")});e.exports=(e,t,n)=>{"string"==typeof t&&(n=t,t=null);try{try{return JSON.parse(e,t)}catch(n){throw i(e,t),n}}catch(t){t.message=t.message.replace(/\n/g,"");const r=t.message.match(/in JSON at position (\d+) while parsing near/),i=new a(t);if(n&&(i.fileName=n),r&&r.length>0){const t=new o(e),n=Number(r[1]),a=t.locationForIndex(n),u=s(e,{start:{line:a.line+1,column:a.column+1}},{highlightCode:!0});i.codeFrame=u}throw i}}},"../../node_modules/path-browserify/index.js":function(e,t,n){"use strict";(function(t){function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var n,r="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a2){var u=r.lastIndexOf("/");if(u!==r.length-1){-1===u?(r="",i=0):i=(r=r.slice(0,u)).length-1-r.lastIndexOf("/"),o=a,s=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=a,s=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var i={resolve:function(){for(var e,i="",o=!1,s=arguments.length-1;s>=-1&&!o;s--){var a;s>=0?a=arguments[s]:(void 0===e&&(e=t.cwd()),a=e),n(a),0!==a.length&&(i=a+"/"+i,o=47===a.charCodeAt(0))}return i=r(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(n(e),0===e.length)return".";var t=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!t)).length||t||(e="."),e.length>0&&i&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return n(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(n(e),n(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var r=1;rl){if(47===t.charCodeAt(a+f))return t.slice(a+f+1);if(0===f)return t.slice(a+f)}else s>l&&(47===e.charCodeAt(r+f)?c=f:0===f&&(c=0));break}var d=e.charCodeAt(r+f);if(d!==t.charCodeAt(a+f))break;47===d&&(c=f)}var h="";for(f=r+c+1;f<=o;++f)f!==o&&47!==e.charCodeAt(f)||(0===h.length?h+="..":h+="/..");return h.length>0?h+t.slice(a+c):(a+=c,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(n(e),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(t=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');n(e);var r,i=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,u=-1;for(r=e.length-1;r>=0;--r){var l=e.charCodeAt(r);if(47===l){if(!s){i=r+1;break}}else-1===u&&(s=!1,u=r+1),a>=0&&(l===t.charCodeAt(a)?-1==--a&&(o=r):(a=-1,o=u))}return i===o?o=u:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!s){i=r+1;break}}else-1===o&&(s=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){n(e);for(var t=-1,r=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var u=e.charCodeAt(a);if(47!==u)-1===i&&(o=!1,i=a+1),46===u?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!o){r=a+1;break}}return-1===t||-1===i||0===s||1===s&&t===i-1&&t===r+1?"":e.slice(t,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){n(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var r,i=e.charCodeAt(0),o=47===i;o?(t.root="/",r=1):r=0;for(var s=-1,a=0,u=-1,l=!0,c=e.length-1,f=0;c>=r;--c)if(47!==(i=e.charCodeAt(c)))-1===u&&(l=!1,u=c+1),46===i?-1===s?s=c:1!==f&&(f=1):-1!==s&&(f=-1);else if(!l){a=c+1;break}return-1===s||-1===u||0===f||1===f&&s===u-1&&s===a+1?-1!==u&&(t.base=t.name=0===a&&o?e.slice(1,u):e.slice(a,u)):(0===a&&o?(t.name=e.slice(1,s),t.base=e.slice(1,u)):(t.name=e.slice(a,s),t.base=e.slice(a,u)),t.ext=e.slice(s,u)),a>0?t.dir=e.slice(0,a-1):o&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/path-parse/index.js":function(e,t,n){"use strict";(function(t){var n="win32"===t.platform,r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,i={};i.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,r.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0]===n[1]?n[0]:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}};var o=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,s={};s.parse=function(e){if("string"!=typeof e)throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var t,n=(t=e,o.exec(t).slice(1));if(!n||5!==n.length)throw new TypeError("Invalid path '"+e+"'");return{root:n[1],dir:n[0].slice(0,-1),base:n[2],ext:n[4],name:n[3]}},e.exports=n?i.parse:s.parse,e.exports.posix=s.parse,e.exports.win32=i.parse}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/path-type/index.js":function(e,t,n){"use strict";const{promisify:r}=n("../../node_modules/util/util.js"),i=n("../../standalone-packages/codesandbox-browserfs/dist/shims/fs.js");async function o(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return(await r(i[e])(n))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function s(e,t,n){if("string"!=typeof n)throw new TypeError("Expected a string, got "+typeof n);try{return i[e](n)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}t.isFile=o.bind(null,"stat","isFile"),t.isDirectory=o.bind(null,"stat","isDirectory"),t.isSymlink=o.bind(null,"lstat","isSymbolicLink"),t.isFileSync=s.bind(null,"statSync","isFile"),t.isDirectorySync=s.bind(null,"statSync","isDirectory"),t.isSymlinkSync=s.bind(null,"lstatSync","isSymbolicLink")},"../../node_modules/pbkdf2/browser.js":function(e,t,n){t.pbkdf2=n("../../node_modules/pbkdf2/lib/async.js"),t.pbkdf2Sync=n("../../node_modules/pbkdf2/lib/sync-browser.js")},"../../node_modules/pbkdf2/lib/async.js":function(e,t,n){(function(t,r){var i,o=n("../../node_modules/pbkdf2/lib/precondition.js"),s=n("../../node_modules/pbkdf2/lib/default-encoding.js"),a=n("../../node_modules/pbkdf2/lib/sync-browser.js"),u=n("../../node_modules/safe-buffer/index.js").Buffer,l=t.crypto&&t.crypto.subtle,c={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"},f=[];function d(e,t,n,r,i){return l.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then((function(e){return l.deriveBits({name:"PBKDF2",salt:t,iterations:n,hash:{name:i}},e,r<<3)})).then((function(e){return u.from(e)}))}e.exports=function(e,n,h,p,m,b){"function"==typeof m&&(b=m,m=void 0);var y=c[(m=m||"sha1").toLowerCase()];if(!y||"function"!=typeof t.Promise)return r.nextTick((function(){var t;try{t=a(e,n,h,p,m)}catch(e){return b(e)}b(null,t)}));if(o(e,n,h,p),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");u.isBuffer(e)||(e=u.from(e,s)),u.isBuffer(n)||(n=u.from(n,s)),function(e,t){e.then((function(e){r.nextTick((function(){t(null,e)}))}),(function(e){r.nextTick((function(){t(e)}))}))}(function(e){if(t.process&&!t.process.browser)return Promise.resolve(!1);if(!l||!l.importKey||!l.deriveBits)return Promise.resolve(!1);if(void 0!==f[e])return f[e];var n=d(i=i||u.alloc(8),i,10,128,e).then((function(){return!0})).catch((function(){return!1}));return f[e]=n,n}(y).then((function(t){return t?d(e,n,h,p,y):a(e,n,h,p,m)})),b)}}).call(this,n("../../node_modules/webpack/buildin/global.js"),n("../../node_modules/process/browser.js"))},"../../node_modules/pbkdf2/lib/default-encoding.js":function(e,t,n){(function(t){var n;t.browser?n="utf-8":n=parseInt(t.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary";e.exports=n}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/pbkdf2/lib/precondition.js":function(e,t,n){(function(t){var n=Math.pow(2,30)-1;function r(e,n){if("string"!=typeof e&&!t.isBuffer(e))throw new TypeError(n+" must be a buffer or string")}e.exports=function(e,t,i,o){if(r(e,"Password"),r(t,"Salt"),"number"!=typeof i)throw new TypeError("Iterations not a number");if(i<0)throw new TypeError("Bad iterations");if("number"!=typeof o)throw new TypeError("Key length not a number");if(o<0||o>n||o!=o)throw new TypeError("Bad key length")}}).call(this,n("../../node_modules/buffer/index.js").Buffer)},"../../node_modules/pbkdf2/lib/sync-browser.js":function(e,t,n){var r=n("../../node_modules/create-hash/md5.js"),i=n("../../node_modules/ripemd160/index.js"),o=n("../../node_modules/sha.js/index.js"),s=n("../../node_modules/pbkdf2/lib/precondition.js"),a=n("../../node_modules/pbkdf2/lib/default-encoding.js"),u=n("../../node_modules/safe-buffer/index.js").Buffer,l=u.alloc(128),c={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function f(e,t,n){var s=function(e){function t(t){return o(e).update(t).digest()}return"rmd160"===e||"ripemd160"===e?function(e){return(new i).update(e).digest()}:"md5"===e?r:t}(e),a="sha512"===e||"sha384"===e?128:64;t.length>a?t=s(t):t.length?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:r.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?o:i}},"../../node_modules/picomatch/lib/parse.js":function(e,t,n){"use strict";const r=n("../../node_modules/picomatch/lib/constants.js"),i=n("../../node_modules/picomatch/lib/utils.js"),{MAX_LENGTH:o,POSIX_REGEX_SOURCE:s,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:l}=r,c=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map(e=>i.escapeRegex(e)).join("..")}return n},f=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,d=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=l[e]||e;const n={...t},d="number"==typeof n.maxLength?Math.min(o,n.maxLength):o;let h=e.length;if(h>d)throw new SyntaxError(`Input length: ${h}, exceeds maximum allowed length: ${d}`);const p={type:"bos",value:"",output:n.prepend||""},m=[p],b=n.capture?"":"?:",y=i.isWindows(t),g=r.globChars(y),v=r.extglobChars(g),{DOT_LITERAL:_,PLUS_LITERAL:w,SLASH_LITERAL:j,ONE_CHAR:x,DOTS_SLASH:k,NO_DOT:S,NO_DOT_SLASH:M,NO_DOTS_SLASH:E,QMARK:O,QMARK_NO_DOT:A,STAR:P,START_ANCHOR:C}=g,R=e=>`(${b}(?:(?!${C}${e.dot?k:_}).)*?)`,I=n.dot?"":S,T=n.dot?O:A;let B=!0===n.bash?R(n):P;n.capture&&(B=`(${B})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const N={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:m};e=i.removePrefix(e,N),h=e.length;const D=[],L=[],U=[];let F,q=p;const H=()=>N.index===h-1,z=N.peek=(t=1)=>e[N.index+t],$=N.advance=()=>e[++N.index]||"",W=()=>e.slice(N.index+1),K=(e="",t=0)=>{N.consumed+=e,N.index+=t},V=e=>{N.output+=null!=e.output?e.output:e.value,K(e.value)},G=()=>{let e=1;for(;"!"===z()&&("("!==z(2)||"?"===z(3));)$(),N.start++,e++;return e%2!=0&&(N.negated=!0,N.start++,!0)},Y=e=>{N[e]++,U.push(e)},J=e=>{N[e]--,U.pop()},Z=e=>{if("globstar"===q.type){const t=N.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||D.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(N.output=N.output.slice(0,-q.output.length),q.type="star",q.value="*",q.output=B,N.output+=q.output)}if(D.length&&"paren"!==e.type&&(D[D.length-1].inner+=e.value),(e.value||e.output)&&V(e),q&&"text"===q.type&&"text"===e.type)return q.value+=e.value,void(q.output=(q.output||"")+e.value);e.prev=q,m.push(e),q=e},X=(e,t)=>{const r={...v[t],conditions:1,inner:""};r.prev=q,r.parens=N.parens,r.output=N.output;const i=(n.capture?"(":"")+r.open;Y("parens"),Z({type:e,value:t,output:N.output?"":x}),Z({type:"paren",extglob:!0,value:$(),output:i}),D.push(r)},Q=e=>{let t,r=e.close+(n.capture?")":"");if("negate"===e.type){let i=B;e.inner&&e.inner.length>1&&e.inner.includes("/")&&(i=R(n)),(i!==B||H()||/^\)+$/.test(W()))&&(r=e.close=")$))"+i),e.inner.includes("*")&&(t=W())&&/^\.[^\\/.]+$/.test(t)&&(r=e.close=`)${t})${i})`),"bos"===e.prev.type&&(N.negatedExtglob=!0)}Z({type:"paren",extglob:!0,value:F,output:r}),J("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,o=e.replace(u,(e,t,n,i,o,s)=>"\\"===i?(r=!0,e):"?"===i?t?t+i+(o?O.repeat(o.length):""):0===s?T+(o?O.repeat(o.length):""):O.repeat(n.length):"."===i?_.repeat(n.length):"*"===i?t?t+i+(o?B:""):B:t?e:"\\"+e);return!0===r&&(o=!0===n.unescape?o.replace(/\\/g,""):o.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),o===e&&!0===n.contains?(N.output=e,N):(N.output=i.wrapOutput(o,N,t),N)}for(;!H();){if(F=$(),"\0"===F)continue;if("\\"===F){const e=z();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){F+="\\",Z({type:"text",value:F});continue}const t=/^\\+/.exec(W());let r=0;if(t&&t[0].length>2&&(r=t[0].length,N.index+=r,r%2!=0&&(F+="\\")),!0===n.unescape?F=$():F+=$(),0===N.brackets){Z({type:"text",value:F});continue}}if(N.brackets>0&&("]"!==F||"["===q.value||"[^"===q.value)){if(!1!==n.posix&&":"===F){const e=q.value.slice(1);if(e.includes("[")&&(q.posix=!0,e.includes(":"))){const e=q.value.lastIndexOf("["),t=q.value.slice(0,e),n=q.value.slice(e+2),r=s[n];if(r){q.value=t+r,N.backtrack=!0,$(),p.output||1!==m.indexOf(q)||(p.output=x);continue}}}("["===F&&":"!==z()||"-"===F&&"]"===z())&&(F="\\"+F),"]"!==F||"["!==q.value&&"[^"!==q.value||(F="\\"+F),!0===n.posix&&"!"===F&&"["===q.value&&(F="^"),q.value+=F,V({value:F});continue}if(1===N.quotes&&'"'!==F){F=i.escapeRegex(F),q.value+=F,V({value:F});continue}if('"'===F){N.quotes=1===N.quotes?0:1,!0===n.keepQuotes&&Z({type:"text",value:F});continue}if("("===F){Y("parens"),Z({type:"paren",value:F});continue}if(")"===F){if(0===N.parens&&!0===n.strictBrackets)throw new SyntaxError(f("opening","("));const e=D[D.length-1];if(e&&N.parens===e.parens+1){Q(D.pop());continue}Z({type:"paren",value:F,output:N.parens?")":"\\)"}),J("parens");continue}if("["===F){if(!0!==n.nobracket&&W().includes("]"))Y("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(f("closing","]"));F="\\"+F}Z({type:"bracket",value:F});continue}if("]"===F){if(!0===n.nobracket||q&&"bracket"===q.type&&1===q.value.length){Z({type:"text",value:F,output:"\\"+F});continue}if(0===N.brackets){if(!0===n.strictBrackets)throw new SyntaxError(f("opening","["));Z({type:"text",value:F,output:"\\"+F});continue}J("brackets");const e=q.value.slice(1);if(!0===q.posix||"^"!==e[0]||e.includes("/")||(F="/"+F),q.value+=F,V({value:F}),!1===n.literalBrackets||i.hasRegexChars(e))continue;const t=i.escapeRegex(q.value);if(N.output=N.output.slice(0,-q.value.length),!0===n.literalBrackets){N.output+=t,q.value=t;continue}q.value=`(${b}${t}|${q.value})`,N.output+=q.value;continue}if("{"===F&&!0!==n.nobrace){Y("braces");const e={type:"brace",value:F,output:"(",outputIndex:N.output.length,tokensIndex:N.tokens.length};L.push(e),Z(e);continue}if("}"===F){const e=L[L.length-1];if(!0===n.nobrace||!e){Z({type:"text",value:F,output:F});continue}let t=")";if(!0===e.dots){const e=m.slice(),r=[];for(let t=e.length-1;t>=0&&(m.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=c(r,n),N.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=N.output.slice(0,e.outputIndex),r=N.tokens.slice(e.tokensIndex);e.value=e.output="\\{",F=t="\\}",N.output=n;for(const e of r)N.output+=e.output||e.value}Z({type:"brace",value:F,output:t}),J("braces"),L.pop();continue}if("|"===F){D.length>0&&D[D.length-1].conditions++,Z({type:"text",value:F});continue}if(","===F){let e=F;const t=L[L.length-1];t&&"braces"===U[U.length-1]&&(t.comma=!0,e="|"),Z({type:"comma",value:F,output:e});continue}if("/"===F){if("dot"===q.type&&N.index===N.start+1){N.start=N.index+1,N.consumed="",N.output="",m.pop(),q=p;continue}Z({type:"slash",value:F,output:j});continue}if("."===F){if(N.braces>0&&"dot"===q.type){"."===q.value&&(q.output=_);const e=L[L.length-1];q.type="dots",q.output+=F,q.value+=F,e.dots=!0;continue}if(N.braces+N.parens===0&&"bos"!==q.type&&"slash"!==q.type){Z({type:"text",value:F,output:_});continue}Z({type:"dot",value:F,output:_});continue}if("?"===F){if(!(q&&"("===q.value)&&!0!==n.noextglob&&"("===z()&&"?"!==z(2)){X("qmark",F);continue}if(q&&"paren"===q.type){const e=z();let t=F;if("<"===e&&!i.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===q.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(W()))&&(t="\\"+F),Z({type:"text",value:F,output:t});continue}if(!0!==n.dot&&("slash"===q.type||"bos"===q.type)){Z({type:"qmark",value:F,output:A});continue}Z({type:"qmark",value:F,output:O});continue}if("!"===F){if(!0!==n.noextglob&&"("===z()&&("?"!==z(2)||!/[!=<:]/.test(z(3)))){X("negate",F);continue}if(!0!==n.nonegate&&0===N.index){G();continue}}if("+"===F){if(!0!==n.noextglob&&"("===z()&&"?"!==z(2)){X("plus",F);continue}if(q&&"("===q.value||!1===n.regex){Z({type:"plus",value:F,output:w});continue}if(q&&("bracket"===q.type||"paren"===q.type||"brace"===q.type)||N.parens>0){Z({type:"plus",value:F});continue}Z({type:"plus",value:w});continue}if("@"===F){if(!0!==n.noextglob&&"("===z()&&"?"!==z(2)){Z({type:"at",extglob:!0,value:F,output:""});continue}Z({type:"text",value:F});continue}if("*"!==F){"$"!==F&&"^"!==F||(F="\\"+F);const e=a.exec(W());e&&(F+=e[0],N.index+=e[0].length),Z({type:"text",value:F});continue}if(q&&("globstar"===q.type||!0===q.star)){q.type="star",q.star=!0,q.value+=F,q.output=B,N.backtrack=!0,N.globstar=!0,K(F);continue}let t=W();if(!0!==n.noextglob&&/^\([^?]/.test(t)){X("star",F);continue}if("star"===q.type){if(!0===n.noglobstar){K(F);continue}const r=q.prev,i=r.prev,o="slash"===r.type||"bos"===r.type,s=i&&("star"===i.type||"globstar"===i.type);if(!0===n.bash&&(!o||t[0]&&"/"!==t[0])){Z({type:"star",value:F,output:""});continue}const a=N.braces>0&&("comma"===r.type||"brace"===r.type),u=D.length&&("pipe"===r.type||"paren"===r.type);if(!o&&"paren"!==r.type&&!a&&!u){Z({type:"star",value:F,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[N.index+4];if(n&&"/"!==n)break;t=t.slice(3),K("/**",3)}if("bos"===r.type&&H()){q.type="globstar",q.value+=F,q.output=R(n),N.output=q.output,N.globstar=!0,K(F);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!s&&H()){N.output=N.output.slice(0,-(r.output+q.output).length),r.output="(?:"+r.output,q.type="globstar",q.output=R(n)+(n.strictSlashes?")":"|$)"),q.value+=F,N.globstar=!0,N.output+=r.output+q.output,K(F);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";N.output=N.output.slice(0,-(r.output+q.output).length),r.output="(?:"+r.output,q.type="globstar",q.output=`${R(n)}${j}|${j}${e})`,q.value+=F,N.output+=r.output+q.output,N.globstar=!0,K(F+$()),Z({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){q.type="globstar",q.value+=F,q.output=`(?:^|${j}|${R(n)}${j})`,N.output=q.output,N.globstar=!0,K(F+$()),Z({type:"slash",value:"/",output:""});continue}N.output=N.output.slice(0,-q.output.length),q.type="globstar",q.output=R(n),q.value+=F,N.output+=q.output,N.globstar=!0,K(F);continue}const r={type:"star",value:F,output:B};!0!==n.bash?!q||"bracket"!==q.type&&"paren"!==q.type||!0!==n.regex?(N.index!==N.start&&"slash"!==q.type&&"dot"!==q.type||("dot"===q.type?(N.output+=M,q.output+=M):!0===n.dot?(N.output+=E,q.output+=E):(N.output+=I,q.output+=I),"*"!==z()&&(N.output+=x,q.output+=x)),Z(r)):(r.output=F,Z(r)):(r.output=".*?","bos"!==q.type&&"slash"!==q.type||(r.output=I+r.output),Z(r))}for(;N.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(f("closing","]"));N.output=i.escapeLast(N.output,"["),J("brackets")}for(;N.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(f("closing",")"));N.output=i.escapeLast(N.output,"("),J("parens")}for(;N.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(f("closing","}"));N.output=i.escapeLast(N.output,"{"),J("braces")}if(!0===n.strictSlashes||"star"!==q.type&&"bracket"!==q.type||Z({type:"maybe_slash",value:"",output:j+"?"}),!0===N.backtrack){N.output="";for(const e of N.tokens)N.output+=null!=e.output?e.output:e.value,e.suffix&&(N.output+=e.suffix)}return N};d.fastpaths=(e,t)=>{const n={...t},s="number"==typeof n.maxLength?Math.min(o,n.maxLength):o,a=e.length;if(a>s)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`);e=l[e]||e;const u=i.isWindows(t),{DOT_LITERAL:c,SLASH_LITERAL:f,ONE_CHAR:d,DOTS_SLASH:h,NO_DOT:p,NO_DOTS:m,NO_DOTS_SLASH:b,STAR:y,START_ANCHOR:g}=r.globChars(u),v=n.dot?m:p,_=n.dot?b:p,w=n.capture?"":"?:";let j=!0===n.bash?".*?":y;n.capture&&(j=`(${j})`);const x=e=>!0===e.noglobstar?j:`(${w}(?:(?!${g}${e.dot?h:c}).)*?)`,k=e=>{switch(e){case"*":return`${v}${d}${j}`;case".*":return`${c}${d}${j}`;case"*.*":return`${v}${j}${c}${d}${j}`;case"*/*":return`${v}${j}${f}${d}${_}${j}`;case"**":return v+x(n);case"**/*":return`(?:${v}${x(n)}${f})?${_}${d}${j}`;case"**/*.*":return`(?:${v}${x(n)}${f})?${_}${j}${c}${d}${j}`;case"**/.*":return`(?:${v}${x(n)}${f})?${c}${d}${j}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=k(t[1]);if(!n)return;return n+c+t[2]}}},S=i.removePrefix(e,{negated:!1,prefix:""});let M=k(S);return M&&!0!==n.strictSlashes&&(M+=f+"?"),M},e.exports=d},"../../node_modules/picomatch/lib/picomatch.js":function(e,t,n){"use strict";const r=n("../../node_modules/path-browserify/index.js"),i=n("../../node_modules/picomatch/lib/scan.js"),o=n("../../node_modules/picomatch/lib/parse.js"),s=n("../../node_modules/picomatch/lib/utils.js"),a=n("../../node_modules/picomatch/lib/constants.js"),u=(e,t,n=!1)=>{if(Array.isArray(e)){const r=e.map(e=>u(e,t,n));return e=>{for(const t of r){const n=t(e);if(n)return n}return!1}}const r=(i=e)&&"object"==typeof i&&!Array.isArray(i)&&e.tokens&&e.input;var i;if(""===e||"string"!=typeof e&&!r)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},a=s.isWindows(t),l=r?u.compileRe(e,t):u.makeRe(e,t,!1,!0),c=l.state;delete l.state;let f=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};f=u(o.ignore,e,n)}const d=(n,r=!1)=>{const{isMatch:i,match:s,output:d}=u.test(n,l,t,{glob:e,posix:a}),h={glob:e,state:c,regex:l,posix:a,input:n,output:d,match:s,isMatch:i};return"function"==typeof o.onResult&&o.onResult(h),!1===i?(h.isMatch=!1,!!r&&h):f(n)?("function"==typeof o.onIgnore&&o.onIgnore(h),h.isMatch=!1,!!r&&h):("function"==typeof o.onMatch&&o.onMatch(h),!r||h)};return n&&(d.state=c),d};u.test=(e,t,n,{glob:r,posix:i}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const o=n||{},a=o.format||(i?s.toPosixSlashes:null);let l=e===r,c=l&&a?a(e):e;return!1===l&&(c=a?a(e):e,l=c===r),!1!==l&&!0!==o.capture||(l=!0===o.matchBase||!0===o.basename?u.matchBase(e,t,n,i):t.exec(c)),{isMatch:Boolean(l),match:l,output:c}},u.matchBase=(e,t,n,i=s.isWindows(n))=>(t instanceof RegExp?t:u.makeRe(t,n)).test(r.basename(e)),u.isMatch=(e,t,n)=>u(t,n)(e),u.parse=(e,t)=>Array.isArray(e)?e.map(e=>u.parse(e,t)):o(e,{...t,fastpaths:!1}),u.scan=(e,t)=>i(e,t),u.compileRe=(e,t,n=!1,r=!1)=>{if(!0===n)return e.output;const i=t||{},o=i.contains?"":"^",s=i.contains?"":"$";let a=`${o}(?:${e.output})${s}`;e&&!0===e.negated&&(a=`^(?!${a}).*$`);const l=u.toRegex(a,t);return!0===r&&(l.state=e),l},u.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(i.output=o.fastpaths(e,t)),i.output||(i=o(e,t)),u.compileRe(i,t,n,r)},u.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},u.constants=a,e.exports=u},"../../node_modules/picomatch/lib/scan.js":function(e,t,n){"use strict";const r=n("../../node_modules/picomatch/lib/utils.js"),{CHAR_ASTERISK:i,CHAR_AT:o,CHAR_BACKWARD_SLASH:s,CHAR_COMMA:a,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:l,CHAR_FORWARD_SLASH:c,CHAR_LEFT_CURLY_BRACE:f,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:h,CHAR_PLUS:p,CHAR_QUESTION_MARK:m,CHAR_RIGHT_CURLY_BRACE:b,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:g}=n("../../node_modules/picomatch/lib/constants.js"),v=e=>e===c||e===s,_=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},w=e.length-1,j=!0===n.parts||!0===n.scanToEnd,x=[],k=[],S=[];let M,E,O=e,A=-1,P=0,C=0,R=!1,I=!1,T=!1,B=!1,N=!1,D=!1,L=!1,U=!1,F=!1,q=!1,H=0,z={value:"",depth:0,isGlob:!1};const $=()=>A>=w,W=()=>(M=E,O.charCodeAt(++A));for(;A0&&(V=O.slice(0,P),O=O.slice(P),C-=P),K&&!0===T&&C>0?(K=O.slice(0,C),G=O.slice(C)):!0===T?(K="",G=O):K=O,K&&""!==K&&"/"!==K&&K!==O&&v(K.charCodeAt(K.length-1))&&(K=K.slice(0,-1)),!0===n.unescape&&(G&&(G=r.removeBackslashes(G)),K&&!0===L&&(K=r.removeBackslashes(K)));const Y={prefix:V,input:e,start:P,base:K,glob:G,isBrace:R,isBracket:I,isGlob:T,isExtglob:B,isGlobstar:N,negated:U,negatedExtglob:F};if(!0===n.tokens&&(Y.maxDepth=0,v(E)||k.push(z),Y.tokens=k),!0===n.parts||!0===n.tokens){let t;for(let r=0;rnull!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(u,"\\$1"),t.toPosixSlashes=e=>e.replace(o,"/"),t.removeBackslashes=e=>e.replace(s,e=>"\\"===e?"":e),t.supportsLookbehinds=()=>{const t=e.version.slice(1).split(".").map(Number);return 3===t.length&&t[0]>=9||8===t[0]&&t[1]>=10},t.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===i||"\\"===r.sep,t.escapeLast=(e,n,r)=>{const i=e.lastIndexOf(n,r);return-1===i?e:"\\"===e[i-1]?t.escapeLast(e,n,i-1):`${e.slice(0,i)}\\${e.slice(i)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(r=`(?:^(?!${r}).*$)`),r}}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/process-nextick-args/index.js":function(e,t,n){"use strict";(function(t){void 0===t||!t.version||0===t.version.indexOf("v0.")||0===t.version.indexOf("v1.")&&0!==t.version.indexOf("v1.8.")?e.exports={nextTick:function(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:for(o=new Array(a-1),s=0;s1)for(var n=1;np||new s(t).cmp(h.modulus)>=0)throw new Error("decryption error");d=n?l(new s(t),h):a(t,h);var m=c.alloc(p-d.length);if(d=c.concat([m,d],p),4===f)return function(e,t){var n=e.modulus.byteLength(),r=u("sha1").update(c.alloc(0)).digest(),s=r.length;if(0!==t[0])throw new Error("decryption error");var a=t.slice(1,s+1),l=t.slice(s+1),f=o(a,i(l,s)),d=o(l,i(f,n-s-1));if(function(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;for(;++i=t.length){o++;break}var s=t.slice(2,i-1);("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++;s.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,d,n);if(3===f)return d;throw new Error("unknown padding")}},"../../node_modules/public-encrypt/publicEncrypt.js":function(e,t,n){var r=n("../../node_modules/parse-asn1/index.js"),i=n("../../node_modules/randombytes/browser.js"),o=n("../../node_modules/create-hash/browser.js"),s=n("../../node_modules/public-encrypt/mgf.js"),a=n("../../node_modules/public-encrypt/xor.js"),u=n("../../node_modules/bn.js/lib/bn.js"),l=n("../../node_modules/public-encrypt/withPublic.js"),c=n("../../node_modules/browserify-rsa/index.js"),f=n("../../node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t,n){var d;d=e.padding?e.padding:n?1:4;var h,p=r(e);if(4===d)h=function(e,t){var n=e.modulus.byteLength(),r=t.length,l=o("sha1").update(f.alloc(0)).digest(),c=l.length,d=2*c;if(r>n-d-2)throw new Error("message too long");var h=f.alloc(n-r-d-2),p=n-c-1,m=i(c),b=a(f.concat([l,h,f.alloc(1,1),t],p),s(m,p)),y=a(m,s(b,c));return new u(f.concat([f.alloc(1),y,b],n))}(p,t);else if(1===d)h=function(e,t,n){var r,o=t.length,s=e.modulus.byteLength();if(o>s-11)throw new Error("message too long");r=n?f.alloc(s-o-3,255):function(e){var t,n=f.allocUnsafe(e),r=0,o=i(2*e),s=0;for(;r=0)throw new Error("data too long for modulus")}return n?c(h,p):l(h,p)}},"../../node_modules/public-encrypt/withPublic.js":function(e,t,n){var r=n("../../node_modules/bn.js/lib/bn.js"),i=n("../../node_modules/safe-buffer/index.js").Buffer;e.exports=function(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}},"../../node_modules/public-encrypt/xor.js":function(e,t){e.exports=function(e,t){for(var n=e.length,r=-1;++r4294967295)throw new RangeError("requested too many random bytes");var n=i.allocUnsafe(e);if(e>0)if(e>65536)for(var s=0;sc||e<0)throw new TypeError("offset must be a uint32");if(e>u||e>t)throw new RangeError("offset out of range")}function d(e,t,n){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>n||e>u)throw new RangeError("buffer too small")}function h(e,t,n,i){if(r.browser){var o=e.buffer,a=new Uint8Array(o,t,n);return l.getRandomValues(a),i?void r.nextTick((function(){i(null,e)})):e}if(!i)return s(n).copy(e,t),e;s(n,(function(n,r){if(n)return i(n);r.copy(e,t),i(null,e)}))}l&&l.getRandomValues||!r.browser?(t.randomFill=function(t,n,r,i){if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof n)i=n,n=0,r=t.length;else if("function"==typeof r)i=r,r=t.length-n;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return f(n,t.length),d(r,n,t.length),h(t,n,r,i)},t.randomFillSync=function(t,n,r){void 0===n&&(n=0);if(!(a.isBuffer(t)||t instanceof e.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');f(n,t.length),void 0===r&&(r=t.length-n);return d(r,n,t.length),h(t,n,r)}):(t.randomFill=i,t.randomFillSync=i)}).call(this,n("../../node_modules/webpack/buildin/global.js"),n("../../node_modules/process/browser.js"))},"../../node_modules/react-refresh/babel.js":function(e,t,n){"use strict";e.exports=n("../../node_modules/react-refresh/cjs/react-refresh-babel.production.min.js")},"../../node_modules/react-refresh/cjs/react-refresh-babel.production.min.js":function(e,t,n){"use strict";e.exports=function(e){function t(e,t){var n=e.scope.generateUidIdentifier("c");return h.has(e)||h.set(e,[]),h.get(e).push({handle:n,persistentID:t}),n}function r(e){return"string"==typeof e&&"A"<=e[0]&&"Z">=e[0]}function i(e,t,n){var o=t.node;switch(o.type){case"Identifier":if(!r(o.name))break;return n(e,o,null),!0;case"FunctionDeclaration":return n(e,o.id,null),!0;case"ArrowFunctionExpression":if("ArrowFunctionExpression"===o.body.type)break;return n(e,o,t),!0;case"FunctionExpression":return n(e,o,t),!0;case"CallExpression":var s=t.get("arguments");if(void 0===s||0===s.length)break;var a=t.get("callee");switch(a.node.type){case"MemberExpression":case"Identifier":return!!i(e+"$"+(a=a.getSource()),s[0],n)&&(n(e,o,t),!0);default:return!1}case"VariableDeclarator":if(null!==(s=o.init)&&r(a=o.id.name)){switch(s.type){case"ArrowFunctionExpression":case"FunctionExpression":break;case"CallExpression":var u=(o=s.callee).type;if("Import"===u||"Identifier"===u&&(0===o.name.indexOf("require")||0===o.name.indexOf("import")))return!1;break;case"TaggedTemplateExpression":break;default:return!1}if(i(e,o=t.get("init"),n))return!0;if(void 0===(a=t.scope.getBinding(a)))return;for(t=!1,a=a.referencePaths,u=0;u0?("string"==typeof t||s.objectMode||Object.getPrototypeOf(t)===l.prototype||(t=function(e){return l.from(e)}(t)),r?s.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):w(e,s,t,!0):s.ended?e.emit("error",new Error("stream.push() after EOF")):(s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?w(e,s,t,!1):S(e,s)):w(e,s,t,!1))):r||(s.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(k,e):k(e))}function k(e){h("emit readable"),e.emit("readable"),A(e)}function S(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(M,e,t))}function M(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;eo.length?o.length:e;if(s===o.length?i+=o:i+=o.slice(0,e),0===(e-=s)){s===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(s));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=l.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),0===(e-=s)){s===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(s));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(R,t,e))}function R(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):x(this),null;if(0===(e=j(e,t))&&t.ended)return 0===t.length&&C(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?P(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&C(this)),null!==r&&this.emit("data",r),r},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,h("pipe count=%d opts=%j",o.pipesCount,t);var u=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?c:v;function l(t,r){h("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,h("cleanup"),e.removeListener("close",y),e.removeListener("finish",g),e.removeListener("drain",f),e.removeListener("error",b),e.removeListener("unpipe",l),n.removeListener("end",c),n.removeListener("end",v),n.removeListener("data",m),d=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||f())}function c(){h("onend"),e.end()}o.endEmitted?i.nextTick(u):n.once("end",u),e.on("unpipe",l);var f=function(e){return function(){var t=e._readableState;h("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&a(e,"data")&&(t.flowing=!0,A(e))}}(n);e.on("drain",f);var d=!1;var p=!1;function m(t){h("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==I(o.pipes,e))&&!d&&(h("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,p=!0),n.pause())}function b(t){h("onerror",t),v(),e.removeListener("error",b),0===a(e,"error")&&e.emit("error",t)}function y(){e.removeListener("finish",g),v()}function g(){h("onfinish"),e.removeListener("close",y),v()}function v(){h("unpipe"),n.unpipe(e)}return n.on("data",m),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",b),e.once("close",y),e.once("finish",g),e.emit("pipe",n),o.flowing||(h("pipe resume"),n.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?setImmediate:i.nextTick;y.WritableState=b;var u=n("../../node_modules/core-util-is/lib/util.js");u.inherits=n("../../node_modules/inherits/inherits_browser.js");var l={deprecate:n("../../node_modules/util-deprecate/browser.js")},c=n("../../node_modules/readable-stream/lib/internal/streams/stream-browser.js"),f=n("../../node_modules/readable-stream/node_modules/safe-buffer/index.js").Buffer,d=r.Uint8Array||function(){};var h,p=n("../../node_modules/readable-stream/lib/internal/streams/destroy.js");function m(){}function b(e,t){s=s||n("../../node_modules/readable-stream/lib/_stream_duplex.js"),e=e||{};var r=t instanceof s;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var u=e.highWaterMark,l=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=u||0===u?u:r&&(l||0===l)?l:c,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 f=!1===e.decodeStrings;this.decodeStrings=!f,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),x(e,t))}(e,n,r,t,o);else{var s=w(n);s||n.corked||n.bufferProcessing||!n.bufferedRequest||_(e,n),r?a(v,e,n,s,o):v(e,n,s,o)}}(t,e)},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 y(e){if(s=s||n("../../node_modules/readable-stream/lib/_stream_duplex.js"),!(h.call(y,this)||this instanceof s))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),c.call(this)}function g(e,t,n,r,i,o,s){t.writelen=r,t.writecb=s,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function v(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),x(e,t)}function _(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),s=t.corkedRequestsFree;s.entry=n;for(var a=0,u=!0;n;)i[a]=n,n.isBuf||(u=!1),n=n.next,a+=1;i.allBuffers=u,g(e,t,!0,t.length,i,"",s.finish),t.pendingcb++,t.lastBufferedRequest=null,s.next?(t.corkedRequestsFree=s.next,s.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,f=n.callback;if(g(e,t,!1,t.objectMode?1:l.length,l,c,f),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function j(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var n=w(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(j,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}u.inherits(y,c),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):h=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,n){var r,o=this._writableState,s=!1,a=!o.objectMode&&(r=e,f.isBuffer(r)||r instanceof d);return a&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=m),o.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var o=!0,s=!1;return null===n?s=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(s=new TypeError("Invalid non-string/buffer chunk")),s&&(e.emit("error",s),i.nextTick(r,s),o=!1),o}(this,o,e,n))&&(o.pendingcb++,s=function(e,t,n,r,i,o){if(!n){var s=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n));return t}(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var u=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,x(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=p.destroy,y.prototype._undestroy=p.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n("../../node_modules/process/browser.js"),n("../../node_modules/webpack/buildin/global.js"))},"../../node_modules/readable-stream/lib/internal/streams/BufferList.js":function(e,t,n){"use strict";var r=n("../../node_modules/readable-stream/node_modules/safe-buffer/index.js").Buffer,i=n(1);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,i,o=r.allocUnsafe(e>>>0),s=this.head,a=0;s;)t=s.data,n=o,i=a,t.copy(n,i),a+=s.data.length,s=s.next;return o},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},"../../node_modules/readable-stream/lib/internal/streams/destroy.js":function(e,t,n){"use strict";var r=n("../../node_modules/process-nextick-args/index.js");function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var n=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(t?t(e):!e||this._writableState&&this._writableState.errorEmitted||r.nextTick(i,this,e),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?(r.nextTick(i,n,e),n._writableState&&(n._writableState.errorEmitted=!0)):t&&t(e)})),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.finished=!1,this._writableState.errorEmitted=!1)}}},"../../node_modules/readable-stream/lib/internal/streams/stream-browser.js":function(e,t,n){e.exports=n("../../node_modules/node-libs-browser/node_modules/events/events.js").EventEmitter},"../../node_modules/readable-stream/node_modules/safe-buffer/index.js":function(e,t,n){var r=n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),o(i,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"../../node_modules/readable-stream/passthrough.js":function(e,t,n){e.exports=n("../../node_modules/readable-stream/readable-browser.js").PassThrough},"../../node_modules/readable-stream/readable-browser.js":function(e,t,n){(t=e.exports=n("../../node_modules/readable-stream/lib/_stream_readable.js")).Stream=t,t.Readable=t,t.Writable=n("../../node_modules/readable-stream/lib/_stream_writable.js"),t.Duplex=n("../../node_modules/readable-stream/lib/_stream_duplex.js"),t.Transform=n("../../node_modules/readable-stream/lib/_stream_transform.js"),t.PassThrough=n("../../node_modules/readable-stream/lib/_stream_passthrough.js")},"../../node_modules/readable-stream/transform.js":function(e,t,n){e.exports=n("../../node_modules/readable-stream/readable-browser.js").Transform},"../../node_modules/readable-stream/writable-browser.js":function(e,t,n){e.exports=n("../../node_modules/readable-stream/lib/_stream_writable.js")},"../../node_modules/resolve/index.js":function(e,t,n){var r=n("../../node_modules/resolve/lib/async.js");r.core=n("../../node_modules/resolve/lib/core.js"),r.isCore=n("../../node_modules/resolve/lib/is-core.js"),r.sync=n("../../node_modules/resolve/lib/sync.js"),e.exports=r},"../../node_modules/resolve/lib/async.js":function(e,t,n){(function(t){var r=n("../../standalone-packages/codesandbox-browserfs/dist/shims/fs.js"),i=n("../../node_modules/path-browserify/index.js"),o=n("../../node_modules/resolve/lib/caller.js"),s=n("../../node_modules/resolve/lib/node-modules-paths.js"),a=n("../../node_modules/resolve/lib/normalize-options.js"),u=n("../../node_modules/resolve/lib/is-core.js"),l=r.realpath&&"function"==typeof r.realpath.native?r.realpath.native:r.realpath,c=function(e,t){r.stat(e,(function(e,n){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,n.isFile()||n.isFIFO())}))},f=function(e,t){r.stat(e,(function(e,n){return e?"ENOENT"===e.code||"ENOTDIR"===e.code?t(null,!1):t(e):t(null,n.isDirectory())}))},d=function(e,t){l(e,(function(n,r){n&&"ENOENT"!==n.code?t(n):t(null,n?e:r)}))},h=function(e,t,n,r){n&&!1===n.preserveSymlinks?e(t,r):r(null,t)};e.exports=function(e,n,l){var p=l,m=n;if("function"==typeof n&&(p=m,m={}),"string"!=typeof e){var b=new TypeError("Path must be a string.");return t.nextTick((function(){p(b)}))}var y=(m=a(e,m)).isFile||c,g=m.isDirectory||f,v=m.readFile||r.readFile,_=m.realpath||d,w=m.packageIterator,j=m.extensions||[".js"],x=m.basedir||i.dirname(o()),k=m.filename||x;m.paths=m.paths||[];var S,M=i.resolve(x);function E(t,n,r){t?p(t):n?p(null,n,r):A(S,(function(t,n,r){if(t)p(t);else if(n)h(_,n,m,(function(e,t){e?p(e):p(null,t,r)}));else{var i=new Error("Cannot find module '"+e+"' from '"+k+"'");i.code="MODULE_NOT_FOUND",p(i)}}))}function O(e,n,r){var o=n,s=r;"function"==typeof o&&(s=o,o=void 0),function e(n,r,o){if(0===n.length)return s(null,void 0,o);var a=r+n[0],u=o;u?l(null,u):function e(n,r){if(""===n||"/"===n)return r(null);if("win32"===t.platform&&/^\w:[/\\]*$/.test(n))return r(null);if(/[/\\]node_modules[/\\]*$/.test(n))return r(null);h(_,n,m,(function(t,o){if(t)return e(i.dirname(n),r);var s=i.join(o,"package.json");y(s,(function(t,o){if(!o)return e(i.dirname(n),r);v(s,(function(e,t){e&&r(e);try{var i=JSON.parse(t)}catch(e){}i&&m.packageFilter&&(i=m.packageFilter(i,s)),r(null,i,n)}))}))}))}(i.dirname(a),l);function l(t,o,l){if(u=o,t)return s(t);if(l&&u&&m.pathFilter){var f=i.relative(l,a),d=f.slice(0,f.length-n[0].length),h=m.pathFilter(u,r,d);if(h)return e([""].concat(j.slice()),i.resolve(l,h),u)}y(a,c)}function c(t,i){return t?s(t):i?s(null,a,u):void e(n.slice(1),r,u)}}([""].concat(j),e,o)}function A(e,t,n){var r=n,o=t;"function"==typeof o&&(r=o,o=m.package),h(_,e,m,(function(t,n){if(t)return r(t);var s=i.join(n,"package.json");y(s,(function(t,n){return t?r(t):n?void v(s,(function(t,n){if(t)return r(t);try{var o=JSON.parse(n)}catch(e){}if(o&&m.packageFilter&&(o=m.packageFilter(o,s)),o&&o.main){if("string"!=typeof o.main){var a=new TypeError("package \u201c"+o.name+"\u201d `main` must be a string");return a.code="INVALID_PACKAGE_MAIN",r(a)}return"."!==o.main&&"./"!==o.main||(o.main="index"),void O(i.resolve(e,o.main),o,(function(t,n,o){return t?r(t):n?r(null,n,o):o?void A(i.resolve(e,o.main),o,(function(t,n,o){return t?r(t):n?r(null,n,o):void O(i.join(e,"index"),o,r)})):O(i.join(e,"index"),o,r)}))}O(i.join(e,"/index"),o,r)})):O(i.join(e,"index"),o,r)}))}))}h(_,M,m,(function(t,n){t?p(t):function(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e))S=i.resolve(t,e),"."!==e&&".."!==e&&"/"!==e.slice(-1)||(S+="/"),/\/$/.test(e)&&S===t?A(S,m.package,E):O(S,m.package,E);else{if(u(e))return p(null,e);!function(e,t,n){var r=function(){return function(e,t,n){for(var r=s(t,n,e),o=0;o1?t[0]:"=",i=(t.length>1?t[1]:t[0]).split("."),o=0;o<3;++o){var s=Number(r[o]||0),a=Number(i[o]||0);if(s!==a)return"<"===n?s="===n&&s>=a}return">="===n}function o(e){var t=e.split(/ ?&& ?/);if(0===t.length)return!1;for(var n=0;n= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},"../../node_modules/resolve/lib/is-core.js":function(e,t,n){var r=n("../../node_modules/resolve/lib/core.js");e.exports=function(e){return Object.prototype.hasOwnProperty.call(r,e)}},"../../node_modules/resolve/lib/node-modules-paths.js":function(e,t,n){var r=n("../../node_modules/path-browserify/index.js"),i=r.parse||n("../../node_modules/path-parse/index.js"),o=function(e,t){var n="/";/^([A-Za-z]:)/.test(e)?n="":/^\\\\/.test(e)&&(n="\\\\");for(var o=[e],s=i(e);s.dir!==o[o.length-1];)o.push(s.dir),s=i(s.dir);return o.reduce((function(e,i){return e.concat(t.map((function(e){return r.resolve(n,i,e)})))}),[])};e.exports=function(e,t,n){var r=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&"function"==typeof t.paths)return t.paths(n,e,(function(){return o(e,r)}),t);var i=o(e,r);return t&&t.paths?i.concat(t.paths):i}},"../../node_modules/resolve/lib/normalize-options.js":function(e,t){e.exports=function(e,t){return t||{}}},"../../node_modules/resolve/lib/sync.js":function(e,t,n){(function(t){var r=n("../../node_modules/resolve/lib/is-core.js"),i=n("../../standalone-packages/codesandbox-browserfs/dist/shims/fs.js"),o=n("../../node_modules/path-browserify/index.js"),s=n("../../node_modules/resolve/lib/caller.js"),a=n("../../node_modules/resolve/lib/node-modules-paths.js"),u=n("../../node_modules/resolve/lib/normalize-options.js"),l=i.realpathSync&&"function"==typeof i.realpathSync.native?i.realpathSync.native:i.realpathSync,c=function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isFile()||t.isFIFO()},f=function(e){try{var t=i.statSync(e)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return!1;throw e}return t.isDirectory()},d=function(e){try{return l(e)}catch(e){if("ENOENT"!==e.code)throw e}return e},h=function(e,t,n){return n&&!1===n.preserveSymlinks?e(t):t};e.exports=function(e,n){if("string"!=typeof e)throw new TypeError("Path must be a string.");var l=u(e,n),p=l.isFile||c,m=l.readFileSync||i.readFileSync,b=l.isDirectory||f,y=l.realpathSync||d,g=l.packageIterator,v=l.extensions||[".js"],_=l.basedir||o.dirname(s()),w=l.filename||_;l.paths=l.paths||[];var j=h(y,o.resolve(_),l);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var x=o.resolve(j,e);"."!==e&&".."!==e&&"/"!==e.slice(-1)||(x+="/");var k=E(x)||O(x);if(k)return h(y,k,l)}else{if(r(e))return e;var S=function(e,t){for(var n=function(){return function(e,t,n){for(var r=a(t,n,e),i=0;i>>32-t}function m(e,t,n,r,i,o,s,a){return p(e+(t^n^r)+o+s|0,a)+i|0}function b(e,t,n,r,i,o,s,a){return p(e+(t&n|~t&r)+o+s|0,a)+i|0}function y(e,t,n,r,i,o,s,a){return p(e+((t|~n)^r)+o+s|0,a)+i|0}function g(e,t,n,r,i,o,s,a){return p(e+(t&r|n&~r)+o+s|0,a)+i|0}function v(e,t,n,r,i,o,s,a){return p(e+(t^(n|~r))+o+s|0,a)+i|0}i(h,o),h.prototype._update=function(){for(var e=s,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var n=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,h=0|this._e,_=0|this._a,w=0|this._b,j=0|this._c,x=0|this._d,k=0|this._e,S=0;S<80;S+=1){var M,E;S<16?(M=m(n,r,i,o,h,e[a[S]],f[0],l[S]),E=v(_,w,j,x,k,e[u[S]],d[0],c[S])):S<32?(M=b(n,r,i,o,h,e[a[S]],f[1],l[S]),E=g(_,w,j,x,k,e[u[S]],d[1],c[S])):S<48?(M=y(n,r,i,o,h,e[a[S]],f[2],l[S]),E=y(_,w,j,x,k,e[u[S]],d[2],c[S])):S<64?(M=g(n,r,i,o,h,e[a[S]],f[3],l[S]),E=b(_,w,j,x,k,e[u[S]],d[3],c[S])):(M=v(n,r,i,o,h,e[a[S]],f[4],l[S]),E=m(_,w,j,x,k,e[u[S]],d[4],c[S])),n=h,h=o,o=p(i,10),i=r,r=M,_=k,k=x,x=p(j,10),j=w,w=E}var O=this._b+i+x|0;this._b=this._c+o+k|0,this._c=this._d+h+_|0,this._d=this._e+n+w|0,this._e=this._a+r+j|0,this._a=O},h.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 e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},"../../node_modules/safe-buffer/index.js":function(e,t,n){var r=n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),s.prototype=Object.create(i.prototype),o(i,s),s.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},s.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},s.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},"../../node_modules/safer-buffer/safer.js":function(e,t,n){"use strict";(function(t){var r,i=n("../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js"),o=i.Buffer,s={};for(r in i)i.hasOwnProperty(r)&&"SlowBuffer"!==r&&"Buffer"!==r&&(s[r]=i[r]);var a=s.Buffer={};for(r in o)o.hasOwnProperty(r)&&"allocUnsafe"!==r&&"allocUnsafeSlow"!==r&&(a[r]=o[r]);if(s.Buffer.prototype=o.prototype,a.from&&a.from!==Uint8Array.from||(a.from=function(e,t,n){if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&void 0===e.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return o(e,t,n)}),a.alloc||(a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=o(e);return t&&0!==t.length?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r}),!s.kStringMaxLength)try{s.kStringMaxLength=t.binding("buffer").kStringMaxLength}catch(e){}s.constants||(s.constants={MAX_LENGTH:s.kMaxLength},s.kStringMaxLength&&(s.constants.MAX_STRING_LENGTH=s.kStringMaxLength)),e.exports=s}).call(this,n("../../node_modules/process/browser.js"))},"../../node_modules/sha.js/hash.js":function(e,t,n){var r=n("../../node_modules/safe-buffer/index.js").Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,i=this._blockSize,o=e.length,s=this._len,a=0;a=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},"../../node_modules/sha.js/index.js":function(e,t,n){(t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n}).sha=n("../../node_modules/sha.js/sha.js"),t.sha1=n("../../node_modules/sha.js/sha1.js"),t.sha224=n("../../node_modules/sha.js/sha224.js"),t.sha256=n("../../node_modules/sha.js/sha256.js"),t.sha384=n("../../node_modules/sha.js/sha384.js"),t.sha512=n("../../node_modules/sha.js/sha512.js")},"../../node_modules/sha.js/sha.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/sha.js/hash.js"),o=n("../../node_modules/safe-buffer/index.js").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<30|e>>>2}function c(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,f=0;f<16;++f)n[f]=e.readInt32BE(4*f);for(;f<80;++f)n[f]=n[f-3]^n[f-8]^n[f-14]^n[f-16];for(var d=0;d<80;++d){var h=~~(d/20),p=0|((t=r)<<5|t>>>27)+c(h,i,o,a)+u+n[d]+s[h];u=a,a=o,o=l(i),i=r,r=p}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"../../node_modules/sha.js/sha1.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/sha.js/hash.js"),o=n("../../node_modules/safe-buffer/index.js").Buffer,s=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function f(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,d=0;d<16;++d)n[d]=e.readInt32BE(4*d);for(;d<80;++d)n[d]=(t=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|t>>>31;for(var h=0;h<80;++h){var p=~~(h/20),m=l(r)+f(p,i,o,a)+u+n[h]+s[p]|0;u=a,a=o,o=c(i),i=r,r=m}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=u},"../../node_modules/sha.js/sha224.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/sha.js/sha256.js"),o=n("../../node_modules/sha.js/hash.js"),s=n("../../node_modules/safe-buffer/index.js").Buffer,a=new Array(64);function u(){this.init(),this._w=a,o.call(this,64,56)}r(u,i),u.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},u.prototype._hash=function(){var e=s.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=u},"../../node_modules/sha.js/sha256.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/sha.js/hash.js"),o=n("../../node_modules/safe-buffer/index.js").Buffer,s=[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],a=new Array(64);function u(){this.init(),this._w=a,i.call(this,64,56)}function l(e,t,n){return n^e&(t^n)}function c(e,t,n){return e&t|n&(e|t)}function f(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function d(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}r(u,i),u.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},u.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,a=0|this._d,u=0|this._e,p=0|this._f,m=0|this._g,b=0|this._h,y=0;y<16;++y)n[y]=e.readInt32BE(4*y);for(;y<64;++y)n[y]=0|(((t=n[y-2])>>>17|t<<15)^(t>>>19|t<<13)^t>>>10)+n[y-7]+h(n[y-15])+n[y-16];for(var g=0;g<64;++g){var v=b+d(u)+l(u,p,m)+s[g]+n[g]|0,_=f(r)+c(r,i,o)|0;b=m,m=p,p=u,u=a+v|0,a=o,o=i,i=r,r=v+_|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=a+this._d|0,this._e=u+this._e|0,this._f=p+this._f|0,this._g=m+this._g|0,this._h=b+this._h|0},u.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=u},"../../node_modules/sha.js/sha384.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/sha.js/sha512.js"),o=n("../../node_modules/sha.js/hash.js"),s=n("../../node_modules/safe-buffer/index.js").Buffer,a=new Array(160);function u(){this.init(),this._w=a,o.call(this,128,112)}r(u,i),u.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},u.prototype._hash=function(){var e=s.allocUnsafe(48);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=u},"../../node_modules/sha.js/sha512.js":function(e,t,n){var r=n("../../node_modules/inherits/inherits_browser.js"),i=n("../../node_modules/sha.js/hash.js"),o=n("../../node_modules/safe-buffer/index.js").Buffer,s=[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],a=new Array(160);function u(){this.init(),this._w=a,i.call(this,128,112)}function l(e,t,n){return n^e&(t^n)}function c(e,t,n){return e&t|n&(e|t)}function f(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function d(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function b(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function y(e,t){return e>>>0>>0?1:0}r(u,i),u.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},u.prototype._update=function(e){for(var t=this._w,n=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,a=0|this._eh,u=0|this._fh,g=0|this._gh,v=0|this._hh,_=0|this._al,w=0|this._bl,j=0|this._cl,x=0|this._dl,k=0|this._el,S=0|this._fl,M=0|this._gl,E=0|this._hl,O=0;O<32;O+=2)t[O]=e.readInt32BE(4*O),t[O+1]=e.readInt32BE(4*O+4);for(;O<160;O+=2){var A=t[O-30],P=t[O-30+1],C=h(A,P),R=p(P,A),I=m(A=t[O-4],P=t[O-4+1]),T=b(P,A),B=t[O-14],N=t[O-14+1],D=t[O-32],L=t[O-32+1],U=R+N|0,F=C+B+y(U,R)|0;F=(F=F+I+y(U=U+T|0,T)|0)+D+y(U=U+L|0,L)|0,t[O]=F,t[O+1]=U}for(var q=0;q<160;q+=2){F=t[q],U=t[q+1];var H=c(n,r,i),z=c(_,w,j),$=f(n,_),W=f(_,n),K=d(a,k),V=d(k,a),G=s[q],Y=s[q+1],J=l(a,u,g),Z=l(k,S,M),X=E+V|0,Q=v+K+y(X,E)|0;Q=(Q=(Q=Q+J+y(X=X+Z|0,Z)|0)+G+y(X=X+Y|0,Y)|0)+F+y(X=X+U|0,U)|0;var ee=W+z|0,te=$+H+y(ee,W)|0;v=g,E=M,g=u,M=S,u=a,S=k,a=o+Q+y(k=x+X|0,x)|0,o=i,x=j,i=r,j=w,r=n,w=_,n=Q+te+y(_=X+ee|0,X)|0}this._al=this._al+_|0,this._bl=this._bl+w|0,this._cl=this._cl+j|0,this._dl=this._dl+x|0,this._el=this._el+k|0,this._fl=this._fl+S|0,this._gl=this._gl+M|0,this._hl=this._hl+E|0,this._ah=this._ah+n+y(this._al,_)|0,this._bh=this._bh+r+y(this._bl,w)|0,this._ch=this._ch+i+y(this._cl,j)|0,this._dh=this._dh+o+y(this._dl,x)|0,this._eh=this._eh+a+y(this._el,k)|0,this._fh=this._fh+u+y(this._fl,S)|0,this._gh=this._gh+g+y(this._gl,M)|0,this._hh=this._hh+v+y(this._hl,E)|0},u.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,n,r){e.writeInt32BE(t,r),e.writeInt32BE(n,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=u},"../../node_modules/string_decoder/lib/string_decoder.js":function(e,t,n){"use strict";var r=n("../../node_modules/safe-buffer/index.js").Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.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(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){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 e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=u,this.end=l,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=f,t=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"\ufffd";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"\ufffd";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"\ufffd"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function u(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function f(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return i>0&&(e.lastNeed=i-1),i;if(--r=0)return i>0&&(e.lastNeed=i-2),i;if(--r=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},"../../node_modules/strip-json-comments/index.js":function(e,t,n){"use strict";const r=Symbol("singleComment"),i=Symbol("multiComment"),o=()=>"",s=(e,t,n)=>e.slice(t,n).replace(/\S/g," "),a=(e,t)=>{let n=t-1,r=0;for(;"\\"===e[n];)n-=1,r+=1;return Boolean(r%2)};e.exports=(e,t={})=>{if("string"!=typeof e)throw new TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof e}\``);const n=!1===t.whitespace?o:s;let u=!1,l=!1,c=0,f="";for(let t=0;t{n("./src/sandbox/eval/transpilers/babel/worker/babel-worker.ts")})},"../../node_modules/to-regex-range/index.js":function(e,t,n){"use strict";const r=n("../../node_modules/to-regex-range/node_modules/is-number/index.js"),i=(e,t,n)=>{if(!1===r(e))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===t||e===t)return String(e);if(!1===r(t))throw new TypeError("toRegexRange: expected the second argument to be a number.");let o={relaxZeros:!0,...n};"boolean"==typeof o.strictZeros&&(o.relaxZeros=!1===o.strictZeros);let u=e+":"+t+"="+String(o.relaxZeros)+String(o.shorthand)+String(o.capture)+String(o.wrap);if(i.cache.hasOwnProperty(u))return i.cache[u].result;let l=Math.min(e,t),c=Math.max(e,t);if(1===Math.abs(l-c)){let n=e+"|"+t;return o.capture?`(${n})`:!1===o.wrap?n:`(?:${n})`}let f=p(e)||p(t),d={min:e,max:t,a:l,b:c},h=[],m=[];if(f&&(d.isPadded=f,d.maxLen=String(d.max).length),l<0){m=s(c<0?Math.abs(c):1,Math.abs(l),d,o),l=d.a=0}return c>=0&&(h=s(l,c,d,o)),d.negatives=m,d.positives=h,d.result=function(e,t,n){let r=a(e,t,"-",!1,n)||[],i=a(t,e,"",!1,n)||[],o=a(e,t,"-?",!0,n)||[];return r.concat(o).concat(i).join("|")}(m,h,o),!0===o.capture?d.result=`(${d.result})`:!1!==o.wrap&&h.length+m.length>1&&(d.result=`(?:${d.result})`),i.cache[u]=d,d.result};function o(e,t,n){if(e===t)return{pattern:e,count:[],digits:0};let r=function(e,t){let n=[];for(let r=0;r1&&i.count.pop(),i.count.push(u.count[0]),i.string=i.pattern+d(i.count),l=t+1)}return a}function a(e,t,n,r,i){let o=[];for(let i of e){let{string:e}=i;r||l(t,"string",e)||o.push(n+e),r&&l(t,"string",e)&&o.push(n+e)}return o}function u(e,t){return e>t?1:t>e?-1:0}function l(e,t,n){return e.some(e=>e[t]===n)}function c(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function f(e,t){return e-e%Math.pow(10,t)}function d(e){let[t=0,n=""]=e;return n||t>1?`{${t+(n?","+n:"")}}`:""}function h(e,t,n){return`[${e}${t-e==1?"":"-"}${t}]`}function p(e){return/^-?(0+)\d/.test(e)}function m(e,t,n){if(!t.isPadded)return e;let r=Math.abs(t.maxLen-String(e).length),i=!1!==n.relaxZeros;switch(r){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${r}}`:`0{${r}}`}}i.cache={},i.clearCache=()=>i.cache={},e.exports=i},"../../node_modules/to-regex-range/node_modules/is-number/index.js":function(e,t,n){"use strict";e.exports=function(e){return"number"==typeof e?e-e==0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))}},"../../node_modules/type/function/is.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/prototype/is.js");e.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}},"../../node_modules/type/lib/resolve-exception.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/value/is.js"),i=n("../../node_modules/type/object/is.js"),o=n("../../node_modules/type/string/coerce.js"),s=n("../../node_modules/type/lib/to-short-string.js"),a=function(e,t){return e.replace("%v",s(t))};e.exports=function(e,t,n){if(!i(n))throw new TypeError(a(t,e));if(!r(e)){if("default"in n)return n.default;if(n.isOptional)return null}var s=o(n.errorMessage);throw r(s)||(s=t),new TypeError(a(s,e))}},"../../node_modules/type/lib/safe-to-string.js":function(e,t,n){"use strict";e.exports=function(e){try{return e.toString()}catch(t){try{return String(e)}catch(e){return null}}}},"../../node_modules/type/lib/to-short-string.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/lib/safe-to-string.js"),i=/[\n\r\u2028\u2029]/g;e.exports=function(e){var t=r(e);return null===t?"":(t.length>100&&(t=t.slice(0,99)+"\u2026"),t=t.replace(i,(function(e){switch(e){case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}})))}},"../../node_modules/type/object/is.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/value/is.js"),i={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!r(e)&&hasOwnProperty.call(i,typeof e)}},"../../node_modules/type/plain-function/ensure.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/lib/resolve-exception.js"),i=n("../../node_modules/type/plain-function/is.js");e.exports=function(e){return i(e)?e:r(e,"%v is not a plain function",arguments[1])}},"../../node_modules/type/plain-function/is.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/function/is.js"),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;e.exports=function(e){return!!r(e)&&!i.test(o.call(e))}},"../../node_modules/type/prototype/is.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/object/is.js");e.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}},"../../node_modules/type/string/coerce.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/value/is.js"),i=n("../../node_modules/type/object/is.js"),o=Object.prototype.toString;e.exports=function(e){if(!r(e))return null;if(i(e)){var t=e.toString;if("function"!=typeof t)return null;if(t===o)return null}try{return""+e}catch(e){return null}}},"../../node_modules/type/value/ensure.js":function(e,t,n){"use strict";var r=n("../../node_modules/type/lib/resolve-exception.js"),i=n("../../node_modules/type/value/is.js");e.exports=function(e){return i(e)?e:r(e,"Cannot use %v",arguments[1])}},"../../node_modules/type/value/is.js":function(e,t,n){"use strict";e.exports=function(e){return null!=e}},"../../node_modules/u3/index.js":function(e,t,n){e.exports=n("../../node_modules/u3/lib/index.js")},"../../node_modules/u3/lib/cache.js":function(e,t){e.exports=function(e){var t,n=!1;return e instanceof Function||(n=!0,t=e,delete e),function(){return n||(n=!0,t=e.apply(this,arguments),delete e),t}}},"../../node_modules/u3/lib/eachCombination.js":function(e,t){e.exports=function e(t,n,r){if(r||(r=[]),r.length=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),u=r[n];n=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&t._extend(r,n),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),c(r,e,r.depth)}function u(e,t){var n=a.styles[t];return n?"\x1b["+a.colors[n][0]+"m"+e+"\x1b["+a.colors[n][1]+"m":e}function l(e,t){return e}function c(e,n,r){if(e.customInspect&&n&&x(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return y(i)||(i=c(e,i,r)),i}var o=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(p(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,n);if(o)return o;var s=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),j(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return f(n);if(0===s.length){if(x(n)){var u=n.name?": "+n.name:"";return e.stylize("[Function"+u+"]","special")}if(v(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return e.stylize(Date.prototype.toString.call(n),"date");if(j(n))return f(n)}var l,_="",k=!1,S=["{","}"];(h(n)&&(k=!0,S=["[","]"]),x(n))&&(_=" [Function"+(n.name?": "+n.name:"")+"]");return v(n)&&(_=" "+RegExp.prototype.toString.call(n)),w(n)&&(_=" "+Date.prototype.toUTCString.call(n)),j(n)&&(_=" "+f(n)),0!==s.length||k&&0!=n.length?r<0?v(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),l=k?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,_,S)):S[0]+_+S[1]}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,i,o){var s,a,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(a=e.stylize("[Setter]","special")),O(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(u.value)<0?(a=m(n)?c(e,u.value,null):c(e,u.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),g(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function h(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function m(e){return null===e}function b(e){return"number"==typeof e}function y(e){return"string"==typeof e}function g(e){return void 0===e}function v(e){return _(e)&&"[object RegExp]"===k(e)}function _(e){return"object"==typeof e&&null!==e}function w(e){return _(e)&&"[object Date]"===k(e)}function j(e){return _(e)&&("[object Error]"===k(e)||e instanceof Error)}function x(e){return"function"==typeof e}function k(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(n){if(g(o)&&(o=e.env.NODE_DEBUG||""),n=n.toUpperCase(),!s[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=e.pid;s[n]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",n,r,e)}}else s[n]=function(){};return s[n]},t.inspect=a,a.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]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=h,t.isBoolean=p,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=y,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=g,t.isRegExp=v,t.isObject=_,t.isDate=w,t.isError=j,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n("../../node_modules/util/support/isBufferBrowser.js");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",E(),t.format.apply(t,arguments))},t.inherits=n("../../node_modules/util/node_modules/inherits/inherits_browser.js"),t._extend=function(e,t){if(!t||!_(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function P(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(A&&e[A]){var t;if("function"!=typeof(t=e[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o-1};p.prototype.append=function(e,t){e=f(e),t=d(t);var n=this.map[e];this.map[e]=n?n+","+t:t},p.prototype.delete=function(e){delete this.map[f(e)]},p.prototype.get=function(e){return e=f(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(f(e))},p.prototype.set=function(e,t){this.map[f(e)]=d(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),h(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),h(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),h(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var l=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},v.call(_.prototype),v.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},j.error=function(){var e=new j(null,{status:0,statusText:""});return e.type="error",e};var c=[301,302,303,307,308];j.redirect=function(e,t){if(-1===c.indexOf(t))throw new RangeError("Invalid status code");return new j(null,{status:t,headers:{location:e}})},e.Headers=p,e.Request=_,e.Response=j,e.fetch=function(e,t){return new Promise((function(n,i){var o=new _(e,t),s=new XMLHttpRequest;s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;n(new j(i,r))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.open(o.method,o.url,!0),"include"===o.credentials?s.withCredentials=!0:"omit"===o.credentials&&(s.withCredentials=!1),"responseType"in s&&r&&(s.responseType="blob"),o.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),s.send(void 0===o._bodyInit?null:o._bodyInit)}))},e.fetch.polyfill=!0}function f(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function h(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function m(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function b(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function y(e){var t=new FileReader,n=b(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(r&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(i&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(o&&r&&a(e))this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!o||!ArrayBuffer.prototype.isPrototypeOf(e)&&!u(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=m(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var e,t,n,r=m(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=b(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function j(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:this)},"../../node_modules/yaml/browser/dist/PlainValue-b8036b75.js":function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}n.d(t,"a",(function(){return S})),n.d(t,"b",(function(){return T})),n.d(t,"c",(function(){return F})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return M})),n.d(t,"f",(function(){return L})),n.d(t,"g",(function(){return k})),n.d(t,"h",(function(){return r})),n.d(t,"i",(function(){return s})),n.d(t,"j",(function(){return i})),n.d(t,"k",(function(){return E})),n.d(t,"l",(function(){return a})),n.d(t,"m",(function(){return U})),n.d(t,"n",(function(){return D})),n.d(t,"o",(function(){return g})),n.d(t,"p",(function(){return B})),n.d(t,"q",(function(){return u})),n.d(t,"r",(function(){return b})),n.d(t,"s",(function(){return y})),n.d(t,"t",(function(){return l})),n.d(t,"u",(function(){return O})),n.d(t,"v",(function(){return N})),n.d(t,"w",(function(){return p})),n.d(t,"x",(function(){return v})),n.d(t,"y",(function(){return m}));var S={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},M={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},E="tag:yaml.org,2002:",O={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function A(e){for(var t=[0],n=e.indexOf("\n");-1!==n;)n+=1,t.push(n),n=e.indexOf("\n",n);return t}function P(e){var t,n;return"string"==typeof e?(t=A(e),n=e):(Array.isArray(e)&&(e=e[0]),e&&e.context&&(e.lineStarts||(e.lineStarts=A(e.context.src)),t=e.lineStarts,n=e.context.src)),{lineStarts:t,src:n}}function C(e,t){if("number"!=typeof e||e<0)return null;var n=P(t),r=n.lineStarts,i=n.src;if(!r||!i||e>i.length)return null;for(var o=0;o=1)||e>r.length)return null;for(var o=r[e-1],s=r[e];s&&s>o&&"\n"===i[s-1];)--s;return i.slice(o,s)}var I=function(){function e(t,n){i(this,e),this.start=t,this.end=n||t}return s(e,[{key:"isEmpty",value:function(){return"number"!=typeof this.start||!this.end||this.end<=this.start}},{key:"setOrigRange",value:function(e,t){var n=this.start,r=this.end;if(0===e.length||r<=e[0])return this.origStart=n,this.origEnd=r,t;for(var i=t;in);)++i;this.origStart=n+i;for(var o=i;i=r);)++i;return this.origEnd=r+i,o}}],[{key:"copy",value:function(t){return new e(t.start,t.end)}}]),e}(),T=function(){function e(t,n,r){i(this,e),Object.defineProperty(this,"context",{value:r||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=n||[],this.type=t,this.value=null}return s(e,[{key:"getPropValue",value:function(e,t,n){if(!this.context)return null;var r=this.context.src,i=this.props[e];return i&&r[i.start]===t?r.slice(i.start+(n?1:0),i.end):null}},{key:"anchor",get:function(){for(var e=0;e0?e.join("\n"):null}},{key:"commentHasRequiredWhitespace",value:function(t){var n=this.context.src;if(this.header&&t===this.header.end)return!1;if(!this.valueRange)return!1;var r=this.valueRange.end;return t!==r||e.atBlank(n,r-1)}},{key:"hasComment",get:function(){if(this.context)for(var e=this.context.src,t=0;t=t.length||"\n"===t[i]?r+"\n":r}},{key:"atDocumentBoundary",value:function(e,t,n){var r=e[t];if(!r)return!0;var i=e[t-1];if(i&&"\n"!==i)return!1;if(n){if(r!==n)return!1}else if(r!==S.DIRECTIVES_END&&r!==S.DOCUMENT_END)return!1;var o=e[t+1],s=e[t+2];if(o!==r||s!==r)return!1;var a=e[t+3];return!a||"\n"===a||"\t"===a||" "===a}},{key:"endOfIdentifier",value:function(e,t){for(var n=e[t],r="<"===n,i=r?["\n","\t"," ",">"]:["\n","\t"," ","[","]","{","}",","];n&&-1===i.indexOf(n);)n=e[t+=1];return r&&">"===n&&(t+=1),t}},{key:"endOfIndent",value:function(e,t){for(var n=e[t];" "===n;)n=e[t+=1];return t}},{key:"endOfLine",value:function(e,t){for(var n=e[t];n&&"\n"!==n;)n=e[t+=1];return t}},{key:"endOfWhiteSpace",value:function(e,t){for(var n=e[t];"\t"===n||" "===n;)n=e[t+=1];return t}},{key:"startOfLine",value:function(e,t){var n=e[t-1];if("\n"===n)return t;for(;n&&"\n"!==n;)n=e[t-=1];return t+1}},{key:"endOfBlockIndent",value:function(t,n,r){var i=e.endOfIndent(t,r);if(i>r+n)return i;var o=e.endOfWhiteSpace(t,i),s=t[o];return s&&"\n"!==s?null:o}},{key:"atBlank",value:function(e,t,n){var r=e[t];return"\n"===r||"\t"===r||" "===r||n&&!r}},{key:"nextNodeIsIndented",value:function(e,t,n){return!(!e||t<0)&&(t>0||n&&"-"===e)}},{key:"normalizeOffset",value:function(t,n){var r=t[n];return r?"\n"!==r&&"\n"===t[n-1]?n-1:e.endOfWhiteSpace(t,n):n}},{key:"foldNewline",value:function(t,n,r){for(var i=0,o=!1,s="",a=t[n+1];" "===a||"\t"===a||"\n"===a;){switch(a){case"\n":i=0,n+=1,s+="\n";break;case"\t":i<=r&&(o=!0),n=e.endOfWhiteSpace(t,n+2)-1;break;case" ":i+=1,n+=1}a=t[n+1]}return s||(s=" "),a&&i<=r&&(o=!0),{fold:s,offset:n,error:o}}}]),e}(),B=function(e){u(n,e);var t=b(n);function n(e,r,o){var s;if(i(this,n),!(o&&r instanceof T))throw new Error("Invalid arguments for new ".concat(e));return(s=t.call(this)).name=e,s.message=o,s.source=r,s}return s(n,[{key:"makePretty",value:function(){if(this.source){this.nodeType=this.source.type;var e=this.source.context&&this.source.context.root;if("number"==typeof this.offset){this.range=new I(this.offset,this.offset+1);var t=e&&C(this.offset,e);if(t){var n={line:t.line,col:t.col+1};this.linePos={start:t,end:n}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){var r=this.linePos.start,i=r.line,o=r.col;this.message+=" at line ".concat(i,", column ").concat(o);var s=e&&function(e,t){var n=e.start,r=e.end,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:80,o=R(n.line,t);if(!o)return null;var s=n.col;if(o.length>i)if(s<=i-10)o=o.substr(0,i-1)+"\u2026";else{var a=Math.round(i/2);o.length>s+a&&(o=o.substr(0,s+a-1)+"\u2026"),s-=o.length-i,o="\u2026"+o.substr(1-i)}var u=1,l="";r&&(r.line===n.line&&s+(r.col-n.col)<=i+1?u=r.col-n.col:(u=Math.min(o.length+1,i)-s,l="\u2026"));var c=s>1?" ".repeat(s-1):"",f="^".repeat(u);return"".concat(o,"\n").concat(c).concat(f).concat(l)}(this.linePos,e);s&&(this.message+=":\n\n".concat(s,"\n"))}delete this.source}}}]),n}(h(Error)),N=function(e){u(n,e);var t=b(n);function n(e,r){return i(this,n),t.call(this,"YAMLReferenceError",e,r)}return n}(B),D=function(e){u(n,e);var t=b(n);function n(e,r){return i(this,n),t.call(this,"YAMLSemanticError",e,r)}return n}(B),L=function(e){u(n,e);var t=b(n);function n(e,r){return i(this,n),t.call(this,"YAMLSyntaxError",e,r)}return n}(B),U=function(e){u(n,e);var t=b(n);function n(e,r){return i(this,n),t.call(this,"YAMLWarning",e,r)}return n}(B),F=function(e){u(n,e);var t=b(n);function n(){return i(this,n),t.apply(this,arguments)}return s(n,[{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;for(var e=this.valueRange,t=e.start,n=e.end,r=this.context.src,i=r[n-1];tl?r.slice(l,s+1):a)}else o+=a}var f=r[t];switch(f){case"\t":return{errors:[new D(this,"Plain value cannot start with a tab character")],str:o};case"@":case"`":var d="Plain value cannot start with reserved character ".concat(f);return{errors:[new D(this,d)],str:o};default:return o}}},{key:"parseBlockValue",value:function(e){for(var t=this.context,r=t.indent,i=t.inFlow,o=t.src,s=e,a=e,u=o[s];"\n"===u&&!T.atDocumentBoundary(o,s+1);u=o[s]){var l=T.endOfBlockIndent(o,r,s+1);if(null===l||"#"===o[l])break;s="\n"===o[l]?l:a=n.endOfLine(o,l,i)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=a,a}},{key:"parse",value:function(e,t){this.context=e;var r=e.inFlow,i=e.src,o=t,s=i[o];return s&&"#"!==s&&"\n"!==s&&(o=n.endOfLine(i,t,r)),this.valueRange=new I(t,o),o=T.endOfWhiteSpace(i,o),o=this.parseComment(o),this.hasComment&&!this.valueRange.isEmpty()||(o=this.parseBlockValue(o)),o}}],[{key:"endOfLine",value:function(e,t,n){for(var r=e[t],i=t;r&&"\n"!==r&&(!n||"["!==r&&"]"!==r&&"{"!==r&&"}"!==r&&","!==r);){var o=e[i+1];if(":"===r&&(!o||"\n"===o||"\t"===o||" "===o||n&&","===o))break;if((" "===r||"\t"===r)&&"#"===o)break;i+=1,r=o}return i}}]),n}(T)},"../../node_modules/yaml/browser/dist/index.js":function(e,t,n){"use strict";n.r(t),n.d(t,"YAML",(function(){return de}));var r=n("../../node_modules/yaml/browser/dist/PlainValue-b8036b75.js"),i=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.call(this,r.e.BLANK_LINE)}return Object(r.i)(n,[{key:"includesTrailingLines",get:function(){return!0}},{key:"parse",value:function(e,t){return this.context=e,this.range=new r.d(t,t+1),t+1}}]),n}(r.b),o=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e,i){var o;return Object(r.j)(this,n),(o=t.call(this,e,i)).node=null,o}return Object(r.i)(n,[{key:"includesTrailingLines",get:function(){return!!this.node&&this.node.includesTrailingLines}},{key:"parse",value:function(e,t){this.context=e;var n=e.parseNode,o=e.src,s=e.atLineStart,a=e.lineStart;s||this.type!==r.e.SEQ_ITEM||(this.error=new r.n(this,"Sequence items must not have preceding content on the same line"));for(var u=s?t-a:e.indent,l=r.b.endOfWhiteSpace(o,t+1),c=o[l],f="#"===c,d=[],h=null;"\n"===c||"#"===c;){if("#"===c){var p=r.b.endOfLine(o,l+1);d.push(new r.d(l,p)),l=p}else{s=!0,a=l+1,"\n"===o[r.b.endOfWhiteSpace(o,a)]&&0===d.length&&(a=(h=new i).parse({src:o},a)),l=r.b.endOfIndent(o,a)}c=o[l]}if(r.b.nextNodeIsIndented(c,l-(a+u),this.type!==r.e.SEQ_ITEM)?this.node=n({atLineStart:s,inCollection:!1,indent:u,lineStart:a,parent:this},l):c&&a>t+1&&(l=a-1),this.node){if(h){var m=e.parent.items||e.parent.contents;m&&m.push(h)}d.length&&Array.prototype.push.apply(this.props,d),l=this.node.range.end}else if(f){var b=d[0];this.props.push(b),l=b.end}else l=r.b.endOfLine(o,t+1);var y=this.node?this.node.valueRange.end:l;return this.valueRange=new r.d(t,y),l}},{key:"setOrigRanges",value:function(e,t){return t=Object(r.s)(Object(r.t)(n.prototype),"setOrigRanges",this).call(this,e,t),this.node?this.node.setOrigRanges(e,t):t}},{key:"toString",value:function(){var e=this.context.src,t=this.node,n=this.range,i=this.value;if(null!=i)return i;var o=t?e.slice(n.start,t.range.start)+String(t):e.slice(n.start,n.end);return r.b.addStringTerminator(e,n.end,o)}}]),n}(r.b),s=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.call(this,r.e.COMMENT)}return Object(r.i)(n,[{key:"parse",value:function(e,t){this.context=e;var n=this.parseComment(t);return this.range=new r.d(t,n),n}}]),n}(r.b);function a(e){for(var t=e;t instanceof o;)t=t.node;if(!(t instanceof u))return null;for(var n=t.items.length,i=-1,s=n-1;s>=0;--s){var a=t.items[s];if(a.type===r.e.COMMENT){var l=a.context,c=l.indent,f=l.lineStart;if(c>0&&a.range.start>=f+c)break;i=s}else{if(a.type!==r.e.BLANK_LINE)break;i=s}}if(-1===i)return null;for(var d=t.items.splice(i,n-i),h=d[0].range.start;t.range.end=h,t.valueRange&&t.valueRange.end>h&&(t.valueRange.end=h),t!==e;)t=t.context.parent;return d}var u=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e){var i;Object(r.j)(this,n),i=t.call(this,e.type===r.e.SEQ_ITEM?r.e.SEQ:r.e.MAP);for(var o=e.props.length-1;o>=0;--o)if(e.props[o].start0}},{key:"parse",value:function(e,t){this.context=e;var o=e.parseNode,u=e.src,l=r.b.startOfLine(u,t),c=this.items[0];c.context.parent=this,this.valueRange=r.d.copy(c.valueRange);for(var f=c.range.start-c.context.lineStart,d=t,h=u[d=r.b.normalizeOffset(u,d)],p=r.b.endOfWhiteSpace(u,l)===d,m=!1;h;){for(;"\n"===h||"#"===h;){if(p&&"\n"===h&&!m){var b=new i;if(d=b.parse({src:u},d),this.valueRange.end=d,d>=u.length){h=null;break}this.items.push(b),d-=1}else if("#"===h){if(d=u.length){h=null;break}}if(l=d+1,d=r.b.endOfIndent(u,l),r.b.atBlank(u,d)){var g=r.b.endOfWhiteSpace(u,d),v=u[g];v&&"\n"!==v&&"#"!==v||(d=g)}h=u[d],p=!0}if(!h)break;if(d!==l+f&&(p||":"!==h)){if(dt&&(d=l);break}if(!this.error){this.error=new r.f(this,"All collection items must start at the same column")}}if(c.type===r.e.SEQ_ITEM){if("-"!==h){l>t&&(d=l);break}}else if("-"===h&&!this.error){var _=u[d+1];if(!_||"\n"===_||"\t"===_||" "===_){this.error=new r.f(this,"A collection cannot be both a mapping and a sequence")}}var w=o({atLineStart:p,inCollection:!0,indent:f,lineStart:l,parent:this},d);if(!w)return d;if(this.items.push(w),this.valueRange.end=w.valueRange.end,h=u[d=r.b.normalizeOffset(u,w.range.end)],p=!1,m=w.includesTrailingLines,h){for(var j=d-1,x=u[j];" "===x||"\t"===x;)x=u[--j];"\n"===x&&(l=j+1,p=!0)}var k=a(w);k&&Array.prototype.push.apply(this.items,k)}return d}},{key:"setOrigRanges",value:function(e,t){return t=Object(r.s)(Object(r.t)(n.prototype),"setOrigRanges",this).call(this,e,t),this.items.forEach((function(n){t=n.setOrigRanges(e,t)})),t}},{key:"toString",value:function(){var e=this.context.src,t=this.items,n=this.range,i=this.value;if(null!=i)return i;for(var o=e.slice(n.start,t[0].range.start)+String(t[0]),s=1;s=o+i||("#"===s||"\n"===s)&&n.nextContentHasIndent(e,t,i))}}]),n}(r.b),l=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){var e;return Object(r.j)(this,n),(e=t.call(this,r.e.DIRECTIVE)).name=null,e}return Object(r.i)(n,[{key:"parameters",get:function(){var e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}},{key:"parseName",value:function(e){for(var t=this.context.src,n=e,r=t[n];r&&"\n"!==r&&"\t"!==r&&" "!==r;)r=t[n+=1];return this.name=t.slice(e,n),n}},{key:"parseParameters",value:function(e){for(var t=this.context.src,n=e,i=t[n];i&&"\n"!==i&&"#"!==i;)i=t[n+=1];return this.valueRange=new r.d(e,n),n}},{key:"parse",value:function(e,t){this.context=e;var n=this.parseName(t+1);return n=this.parseParameters(n),n=this.parseComment(n),this.range=new r.d(t,n),n}}]),n}(r.b),c=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){var e;return Object(r.j)(this,n),(e=t.call(this,r.e.DOCUMENT)).directives=null,e.contents=null,e.directivesEndMarker=null,e.documentEndMarker=null,e}return Object(r.i)(n,[{key:"parseDirectives",value:function(e){var t=this.context.src;this.directives=[];for(var o=!0,a=!1,u=e;!r.b.atDocumentBoundary(t,u,r.a.DIRECTIVES_END);)switch(t[u=n.startCommentOrEndBlankLine(t,u)]){case"\n":if(o){var c=new i;(u=c.parse({src:t},u))0&&(this.contents=this.directives,this.directives=[]),u}return t[u]?(this.directivesEndMarker=new r.d(u,u+3),u+3):(a?this.error=new r.n(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),u)}},{key:"parseContents",value:function(e){var t=this.context,o=t.parseNode,u=t.src;this.contents||(this.contents=[]);for(var l=e;"-"===u[l-1];)l-=1;var c=r.b.endOfWhiteSpace(u,e),f=l===e;for(this.valueRange=new r.d(c);!r.b.atDocumentBoundary(u,c,r.a.DOCUMENT_END);){switch(u[c]){case"\n":if(f){var d=new i;(c=d.parse({src:u},c))0&&((t.length>0||e[0].type===r.e.COMMENT)&&(i+="---\n"),i+=e.join("")),"\n"!==i[i.length-1]&&(i+="\n"),i}}],[{key:"startCommentOrEndBlankLine",value:function(e,t){var n=r.b.endOfWhiteSpace(e,t),i=e[n];return"#"===i||"\n"===i?n:t}}]),n}(r.b),f=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.apply(this,arguments)}return Object(r.i)(n,[{key:"parse",value:function(e,t){this.context=e;var n=e.src,i=r.b.endOfIdentifier(n,t+1);return this.valueRange=new r.d(t+1,i),i=r.b.endOfWhiteSpace(n,i),i=this.parseComment(i)}}]),n}(r.b),d="CLIP",h="KEEP",p="STRIP",m=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e,i){var o;return Object(r.j)(this,n),(o=t.call(this,e,i)).blockIndent=null,o.chomping=d,o.header=null,o}return Object(r.i)(n,[{key:"includesTrailingLines",get:function(){return this.chomping===h}},{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=this.valueRange,t=e.start,n=e.end,i=this.context,o=i.indent,s=i.src;if(this.valueRange.isEmpty())return"";for(var a=null,u=s[n-1];"\n"===u||"\t"===u||" "===u;){if((n-=1)<=t){if(this.chomping===h)break;return""}"\n"===u&&(a=n),u=s[n-1]}var l=n+1;a&&(this.chomping===h?(l=a,n=this.valueRange.end):n=a);for(var c=o+this.blockIndent,f=this.type===r.e.BLOCK_FOLDED,d=!0,m="",b="",y=!1,g=t;gu&&(u=d);s="\n"===i[c]?c:a=r.b.endOfLine(i,c)}return this.chomping!==h&&(s=i[a]?a+1:a),this.valueRange=new r.d(e+1,s),s}},{key:"parse",value:function(e,t){this.context=e;var n=e.src,i=this.parseBlockHeader(t);return i=r.b.endOfWhiteSpace(n,i),i=this.parseComment(i),i=this.parseBlockValue(i)}},{key:"setOrigRanges",value:function(e,t){return t=Object(r.s)(Object(r.t)(n.prototype),"setOrigRanges",this).call(this,e,t),this.header?this.header.setOrigRange(e,t):t}}]),n}(r.b),b=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e,i){var o;return Object(r.j)(this,n),(o=t.call(this,e,i)).items=null,o}return Object(r.i)(n,[{key:"prevNodeIsJsonLike",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.items.length,t=this.items[e-1];return!!t&&(t.jsonLike||t.type===r.e.COMMENT&&this.prevNodeIsJsonLike(e-1))}},{key:"parse",value:function(e,t){this.context=e;var n=e.parseNode,o=e.src,a=e.indent,u=e.lineStart,l=o[t];this.items=[{char:l,offset:t}];var c=r.b.endOfWhiteSpace(o,t+1);for(l=o[c];l&&"]"!==l&&"}"!==l;){switch(l){case"\n":if(u=c+1,"\n"===o[r.b.endOfWhiteSpace(o,u)]){var f=new i;u=f.parse({src:o},u),this.items.push(f)}if((c=r.b.endOfIndent(o,u))<=u+a&&(l=o[c],cn.offset);)++i;n.origOffset=n.offset+i,t=i}})),t}},{key:"toString",value:function(){var e=this.context.src,t=this.items,n=this.range,i=this.value;if(null!=i)return i;var o=t.filter((function(e){return e instanceof r.b})),s="",a=n.start;return o.forEach((function(t){var n=e.slice(a,t.range.start);a=t.range.end,"\n"===(s+=n+String(t))[s.length-1]&&"\n"!==e[a-1]&&"\n"===e[a]&&(a+=1)})),s+=e.slice(a,n.end),r.b.addStringTerminator(e,n.end,s)}}]),n}(r.b),y=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.apply(this,arguments)}return Object(r.i)(n,[{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=[],t=this.valueRange,n=t.start,i=t.end,o=this.context,s=o.indent,a=o.src;'"'!==a[i-1]&&e.push(new r.f(this,'Missing closing "quote'));for(var u="",l=n+1;ld?a.slice(d,l+1):c)}else u+=c}return e.length>0?{errors:e,str:u}:u}},{key:"parseCharCode",value:function(e,t,n){var i=this.context.src,o=i.substr(e,t),s=o.length===t&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN;return isNaN(s)?(n.push(new r.f(this,"Invalid escape sequence ".concat(i.substr(e-2,t+2)))),i.substr(e-2,t+2)):String.fromCodePoint(s)}},{key:"parse",value:function(e,t){this.context=e;var i=e.src,o=n.endOfQuote(i,t+1);return this.valueRange=new r.d(t,o),o=r.b.endOfWhiteSpace(i,o),o=this.parseComment(o)}}],[{key:"endOfQuote",value:function(e,t){for(var n=e[t];n&&'"'!==n;)n=e[t+="\\"===n?2:1];return t+1}}]),n}(r.b),g=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.apply(this,arguments)}return Object(r.i)(n,[{key:"strValue",get:function(){if(!this.valueRange||!this.context)return null;var e=[],t=this.valueRange,n=t.start,i=t.end,o=this.context,s=o.indent,a=o.src;"'"!==a[i-1]&&e.push(new r.f(this,"Missing closing 'quote"));for(var u="",l=n+1;ld?a.slice(d,l+1):c)}else u+=c}return e.length>0?{errors:e,str:u}:u}},{key:"parse",value:function(e,t){this.context=e;var i=e.src,o=n.endOfQuote(i,t+1);return this.valueRange=new r.d(t,o),o=r.b.endOfWhiteSpace(i,o),o=this.parseComment(o)}}],[{key:"endOfQuote",value:function(e,t){for(var n=e[t];n;)if("'"===n){if("'"!==e[t+1])break;n=e[t+=2]}else n=e[t+=1];return t+1}}]),n}(r.b);function v(e,t){switch(e){case r.e.ALIAS:return new f(e,t);case r.e.BLOCK_FOLDED:case r.e.BLOCK_LITERAL:return new m(e,t);case r.e.FLOW_MAP:case r.e.FLOW_SEQ:return new b(e,t);case r.e.MAP_KEY:case r.e.MAP_VALUE:case r.e.SEQ_ITEM:return new o(e,t);case r.e.COMMENT:case r.e.PLAIN:return new r.c(e,t);case r.e.QUOTE_DOUBLE:return new y(e,t);case r.e.QUOTE_SINGLE:return new g(e,t);default:return null}}var _=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.atLineStart,s=i.inCollection,a=i.inFlow,l=i.indent,c=i.lineStart,f=i.parent;Object(r.j)(this,e),Object(r.l)(this,"parseNode",(function(n,i){if(r.b.atDocumentBoundary(t.src,i))return null;var o=new e(t,n),s=o.parseProps(i),a=s.props,l=s.type,c=s.valueStart,f=v(l,a),d=f.parse(o,c);if(f.range=new r.d(i,d),d<=i&&(f.error=new Error("Node#parse consumed no characters"),f.error.parseEnd=d,f.error.source=f,f.range.end=i+1),o.nodeStartsCollection(f)){f.error||o.atLineStart||o.parent.type!==r.e.DOCUMENT||(f.error=new r.f(f,"Block collection must not have preceding content here (e.g. directives-end indicator)"));var h=new u(f);return d=h.parse(new e(o),d),h.range=new r.d(i,d),h}return f})),this.atLineStart=null!=o?o:n.atLineStart||!1,this.inCollection=null!=s?s:n.inCollection||!1,this.inFlow=null!=a?a:n.inFlow||!1,this.indent=null!=l?l:n.indent,this.lineStart=null!=c?c:n.lineStart,this.parent=null!=f?f:n.parent||{},this.root=n.root,this.src=n.src}return Object(r.i)(e,[{key:"nodeStartsCollection",value:function(e){var t=this.inCollection,n=this.inFlow,i=this.src;if(t||n)return!1;if(e instanceof o)return!0;var s=e.range.end;return"\n"!==i[s]&&"\n"!==i[s-1]&&":"===i[s=r.b.endOfWhiteSpace(i,s)]}},{key:"parseProps",value:function(t){for(var n=this.inFlow,i=this.parent,o=this.src,s=[],a=!1,u=o[t=this.atLineStart?r.b.endOfIndent(o,t):r.b.endOfWhiteSpace(o,t)];u===r.a.ANCHOR||u===r.a.COMMENT||u===r.a.TAG||"\n"===u;){if("\n"===u){var l=t,c=void 0;do{c=l+1,l=r.b.endOfIndent(o,c)}while("\n"===o[l]);var f=l-(c+this.indent),d=i.type===r.e.SEQ_ITEM&&i.context.atLineStart;if("#"!==o[l]&&!r.b.nextNodeIsIndented(o[l],f,!d))break;this.atLineStart=!0,this.lineStart=c,a=!1,t=l}else if(u===r.a.COMMENT){var h=r.b.endOfLine(o,t+1);s.push(new r.d(t,h)),t=h}else{var p=r.b.endOfIdentifier(o,t+1);u===r.a.TAG&&","===o[p]&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(o.slice(t+1,p+13))&&(p=r.b.endOfIdentifier(o,p+5)),s.push(new r.d(t,p)),a=!0,t=r.b.endOfWhiteSpace(o,p)}u=o[t]}return a&&":"===u&&r.b.atBlank(o,t+1,!0)&&(t-=1),{props:s,type:e.parseType(o,t,n),valueStart:t}}}],[{key:"parseType",value:function(e,t,n){switch(e[t]){case"*":return r.e.ALIAS;case">":return r.e.BLOCK_FOLDED;case"|":return r.e.BLOCK_LITERAL;case"{":return r.e.FLOW_MAP;case"[":return r.e.FLOW_SEQ;case"?":return!n&&r.b.atBlank(e,t+1,!0)?r.e.MAP_KEY:r.e.PLAIN;case":":return!n&&r.b.atBlank(e,t+1,!0)?r.e.MAP_VALUE:r.e.PLAIN;case"-":return!n&&r.b.atBlank(e,t+1,!0)?r.e.SEQ_ITEM:r.e.PLAIN;case'"':return r.e.QUOTE_DOUBLE;case"'":return r.e.QUOTE_SINGLE;default:return r.e.PLAIN}}}]),e}();function w(e){var t=[];-1!==e.indexOf("\r")&&(e=e.replace(/\r\n?/g,(function(e,n){return e.length>1&&t.push(n),"\n"})));var n=[],r=0;do{var i=new c,o=new _({src:e});r=i.parse(o,r),n.push(i)}while(r=0?n+r.toString(t):Object(j.r)(e)}var C={identify:function(e){return null==e},createNode:function(e,t,n){return n.wrapScalars?new j.f(null):null},default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:function(){return null},options:j.t,stringify:function(){return j.t.nullStr}},R={identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:function(e){return"t"===e[0]||"T"===e[0]},options:j.h,stringify:function(e){return e.value?j.h.trueStr:j.h.falseStr}},I={identify:function(e){return O(e)&&e>=0},default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:function(e,t){return A(e,t,8)},options:j.p,stringify:function(e){return P(e,8,"0o")}},T={identify:O,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:function(e){return A(e,e,10)},options:j.p,stringify:j.r},B={identify:function(e){return O(e)&&e>=0},default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:function(e,t){return A(e,t,16)},options:j.p,stringify:function(e){return P(e,16,"0x")}},N={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:function(e,t){return t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY},stringify:j.r},D={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:function(e){return parseFloat(e)},stringify:function(e){var t=e.value;return Number(t).toExponential()}},L={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve:function(e,t,n){var r=t||n,i=new j.f(parseFloat(e));return r&&"0"===r[r.length-1]&&(i.minFractionDigits=r.length),i},stringify:j.r},U=E.concat([C,R,I,T,B,N,D,L]),F=function(e){return"bigint"==typeof e||Number.isInteger(e)},q=function(e){var t=e.value;return JSON.stringify(t)},H=[k,S,{identify:function(e){return"string"==typeof e},default:!0,tag:"tag:yaml.org,2002:str",resolve:j.q,stringify:q},{identify:function(e){return null==e},createNode:function(e,t,n){return n.wrapScalars?new j.f(null):null},default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:function(){return null},stringify:q},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:function(e){return"true"===e},stringify:q},{identify:F,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:function(e){return j.p.asBigInt?BigInt(e):parseInt(e,10)},stringify:function(e){var t=e.value;return F(t)?t.toString():JSON.stringify(t)}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:function(e){return parseFloat(e)},stringify:q}];H.scalarFallback=function(e){throw new SyntaxError("Unresolved plain scalar ".concat(JSON.stringify(e)))};var z=function(e){return e.value?j.h.trueStr:j.h.falseStr},$=function(e){return"bigint"==typeof e||Number.isInteger(e)};function W(e,t,n){var r=t.replace(/_/g,"");if(j.p.asBigInt){switch(n){case 2:r="0b".concat(r);break;case 8:r="0o".concat(r);break;case 16:r="0x".concat(r)}var i=BigInt(r);return"-"===e?BigInt(-1)*i:i}var o=parseInt(r,n);return"-"===e?-1*o:o}function K(e,t,n){var r=e.value;if($(r)){var i=r.toString(t);return r<0?"-"+n+i.substr(1):n+i}return Object(j.r)(e)}var V=E.concat([{identify:function(e){return null==e},createNode:function(e,t,n){return n.wrapScalars?new j.f(null):null},default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:function(){return null},options:j.t,stringify:function(){return j.t.nullStr}},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:function(){return!0},options:j.h,stringify:z},{identify:function(e){return"boolean"==typeof e},default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:function(){return!1},options:j.h,stringify:z},{identify:$,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:function(e,t,n){return W(t,n,2)},stringify:function(e){return K(e,2,"0b")}},{identify:$,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:function(e,t,n){return W(t,n,8)},stringify:function(e){return K(e,8,"0")}},{identify:$,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:function(e,t,n){return W(t,n,10)},stringify:j.r},{identify:$,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:function(e,t,n){return W(t,n,16)},stringify:function(e){return K(e,16,"0x")}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:function(e,t){return t?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY},stringify:j.r},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:function(e){return parseFloat(e.replace(/_/g,""))},stringify:function(e){var t=e.value;return Number(t).toExponential()}},{identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve:function(e,t){var n=new j.f(parseFloat(e.replace(/_/g,"")));if(t){var r=t.replace(/_/g,"");"0"===r[r.length-1]&&(n.minFractionDigits=r.length)}return n},stringify:j.r}],x.b,x.e,x.f,x.g,x.d,x.c,x.h),G={core:U,failsafe:E,json:H,yaml11:V},Y={binary:x.b,bool:R,float:L,floatExp:D,floatNaN:N,floatTime:x.c,int:T,intHex:B,intOct:I,intTime:x.d,map:k,null:C,omap:x.e,pairs:x.f,seq:S,set:x.g,timestamp:x.h};function J(e,t,n){if(e instanceof j.d)return e;var i=n.defaultPrefix,o=n.onTagObj,s=n.prevObjects,a=n.schema,u=n.wrapScalars;t&&t.startsWith("!!")&&(t=i+t.slice(2));var l=function(e,t,n){if(t){var r=n.filter((function(e){return e.tag===t})),i=r.find((function(e){return!e.format}))||r[0];if(!i)throw new Error("Tag ".concat(t," not found"));return i}return n.find((function(t){return(t.identify&&t.identify(e)||t.class&&e instanceof t.class)&&!t.format}))}(e,t,a.tags);if(!l){if("function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!==Object(r.h)(e))return u?new j.f(e):e;l=e instanceof Map?k:e[Symbol.iterator]?S:k}o&&(o(l),delete n.onTagObj);var c={value:void 0,node:void 0};if(e&&"object"===Object(r.h)(e)&&s){var f=s.get(e);if(f){var d=new j.a(f);return n.aliasNodes.push(d),d}c.value=e,s.set(e,c)}return c.node=l.createNode?l.createNode(n.schema,e,n):u?new j.f(e):e,t&&c.node instanceof j.d&&(c.node.tag=t),c.node}var Z=function(e,t){return e.keyt.key?1:0},X=function(){function e(t){var n=t.customTags,i=t.merge,o=t.schema,s=t.sortMapEntries,a=t.tags;Object(r.j)(this,e),this.merge=!!i,this.name=o,this.sortMapEntries=!0===s?Z:s||null,!n&&a&&Object(x.a)("tags","customTags"),this.tags=function(e,t,n,i){var o=e[i.replace(/\W/g,"")];if(!o){var s=Object.keys(e).map((function(e){return JSON.stringify(e)})).join(", ");throw new Error('Unknown schema "'.concat(i,'"; use one of ').concat(s))}if(Array.isArray(n)){var a,u=Object(r.g)(n);try{for(u.s();!(a=u.n()).done;){var l=a.value;o=o.concat(l)}}catch(e){u.e(e)}finally{u.f()}}else"function"==typeof n&&(o=n(o.slice()));for(var c=0;c");var s=t.substr(i.prefix.length).replace(/[!,[\]{}]/g,(function(e){return{"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"}[e]}));return i.handle+s}function re(e,t,n,i){var o,s=t.doc,a=s.anchors,u=s.schema;if(!(e instanceof j.d)){var l={aliasNodes:[],onTagObj:function(e){return o=e},prevObjects:new Map};e=u.createNode(e,!0,null,l);var c,f=Object(r.g)(l.aliasNodes);try{for(f.s();!(c=f.n()).done;){var d=c.value;d.source=d.source.node;var h=a.getName(d.source);h||(h=a.newName(),a.map[h]=d.source)}}catch(e){f.e(e)}finally{f.f()}}if(e instanceof j.e)return e.toString(t,n,i);o||(o=function(e,t){if(t instanceof j.a)return j.a;if(t.tag){var n=e.filter((function(e){return e.tag===t.tag}));if(n.length>0)return n.find((function(e){return e.format===t.format}))||n[0]}var i,o;if(t instanceof j.f){o=t.value;var s=e.filter((function(e){return e.identify&&e.identify(o)||e.class&&o instanceof e.class}));i=s.find((function(e){return e.format===t.format}))||s.find((function(e){return!e.format}))}else o=t,i=e.find((function(e){return e.nodeClass&&o instanceof e.nodeClass}));if(!i){var a=o&&o.constructor?o.constructor.name:Object(r.h)(o);throw new Error("Tag not resolved for ".concat(a," value"))}return i}(u.tags,e));var p=function(e,t,n){var r=n.anchors,i=n.doc,o=[],s=i.anchors.getName(e);return s&&(r[s]=e,o.push("&".concat(s))),e.tag?o.push(ne(i,e.tag)):t.default||o.push(ne(i,t.tag)),o.join(" ")}(e,o,t);p.length>0&&(t.indentAtStart=(t.indentAtStart||0)+p.length+1);var m="function"==typeof o.stringify?o.stringify(e,t,n,i):e instanceof j.f?Object(j.j)(e,t,n,i):e.toString(t,n,i);return p?e instanceof j.f||"{"===m[0]||"["===m[0]?"".concat(p," ").concat(m):"".concat(p,"\n").concat(t.indent).concat(m):m}var ie=function(){function e(t){Object(r.j)(this,e),Object(r.l)(this,"map",Object.create(null)),this.prefix=t}return Object(r.i)(e,[{key:"createAlias",value:function(e,t){return this.setAnchor(e,t),new j.a(e)}},{key:"createMergePair",value:function(){for(var e=this,t=new j.c,n=arguments.length,r=new Array(n),i=0;i0&&!e.commentBefore&&(e.commentBefore=i.before.join("\n"),i.before=[]))}}catch(e){a.e(e)}finally{a.f()}if(e.contents=o||null,o){var c=i.before.join("\n");if(c){var f=o instanceof j.b&&o.items[0]?o.items[0]:o;f.commentBefore=f.commentBefore?"".concat(c,"\n").concat(f.commentBefore):c}e.comment=i.after.join("\n")||null}else e.comment=i.before.concat(i.after).join("\n")||null}(this,s),this.anchors.resolveNodes(),this.options.prettyErrors){var c,f=Object(r.g)(this.errors);try{for(f.s();!(c=f.n()).done;){var d=c.value;d instanceof r.p&&d.makePretty()}}catch(e){f.e(e)}finally{f.f()}var h,p=Object(r.g)(this.warnings);try{for(p.s();!(h=p.n()).done;){var m=h.value;m instanceof r.p&&m.makePretty()}}catch(e){p.e(e)}finally{p.f()}}return this}},{key:"listNonDefaultTags",value:function(){return oe(this.contents).filter((function(e){return 0!==e.indexOf(X.defaultPrefix)}))}},{key:"setTagPrefix",value:function(e,t){if("!"!==e[0]||"!"!==e[e.length-1])throw new Error("Handle must start and end with !");if(t){var n=this.tagPrefixes.find((function(t){return t.handle===e}));n?n.prefix=t:this.tagPrefixes.push({handle:e,prefix:t})}else this.tagPrefixes=this.tagPrefixes.filter((function(t){return t.handle!==e}))}},{key:"toJSON",value:function(e,t){var n=this,i=this.options,o=i.keepBlobsInJSON,s=i.mapAsMap,a=i.maxAliasCount,u=o&&("string"!=typeof e||!(this.contents instanceof j.f)),l={doc:this,indentStep:" ",keep:u,mapAsMap:u&&!!s,maxAliasCount:a,stringify:re},c=Object.keys(this.anchors.map);c.length>0&&(l.anchors=new Map(c.map((function(e){return[n.anchors.map[e],{alias:[],aliasCount:0,count:1}]}))));var f=Object(j.w)(this.contents,e,l);if("function"==typeof t&&l.anchors){var d,h=Object(r.g)(l.anchors.values());try{for(h.s();!(d=h.n()).done;){var p=d.value,m=p.count;t(p.res,m)}}catch(e){h.e(e)}finally{h.f()}}return f}},{key:"toString",value:function(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");var e=this.options.indent;if(!Number.isInteger(e)||e<=0){var t=JSON.stringify(e);throw new Error('"indent" option must be a positive integer, not '.concat(t))}this.setSchema();var n=[],r=!1;if(this.version){var i="%YAML 1.2";"yaml-1.1"===this.schema.name&&("1.0"===this.version?i="%YAML:1.0":"1.1"===this.version&&(i="%YAML 1.1")),n.push(i),r=!0}var o=this.listNonDefaultTags();this.tagPrefixes.forEach((function(e){var t=e.handle,i=e.prefix;o.some((function(e){return 0===e.indexOf(i)}))&&(n.push("%TAG ".concat(t," ").concat(i)),r=!0)})),(r||this.directivesEndMarker)&&n.push("---"),this.commentBefore&&(!r&&this.directivesEndMarker||n.unshift(""),n.unshift(this.commentBefore.replace(/^/gm,"#")));var s={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:re},a=!1,u=null;if(this.contents){this.contents instanceof j.d&&(this.contents.spaceBefore&&(r||this.directivesEndMarker)&&n.push(""),this.contents.commentBefore&&n.push(this.contents.commentBefore.replace(/^/gm,"#")),s.forceBlockIndent=!!this.comment,u=this.contents.comment);var l=u?null:function(){return a=!0},c=re(this.contents,s,(function(){return u=null}),l);n.push(Object(j.m)(c,"",u))}else void 0!==this.contents&&n.push(re(this.contents,s));return this.comment&&(a&&!u||""===n[n.length-1]||n.push(""),n.push(this.comment.replace(/^/gm,"#"))),n.join("\n")+"\n"}}]),e}();Object(r.l)(le,"defaults",te);var ce=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e){return Object(r.j)(this,n),t.call(this,Object.assign({},Q,e))}return n}(le);function fe(e,t){var n=w(e),i=new ce(t).parse(n[0]);if(n.length>1){i.errors.unshift(new r.n(n[1],"Source contains multiple documents; please use YAML.parseAllDocuments()"))}return i}var de={createNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0;void 0===n&&"string"==typeof t&&(n=t,t=!0);var r=Object.assign({},le.defaults[Q.version],Q),i=new X(r);return i.createNode(e,t,n)},defaultOptions:Q,Document:ce,parse:function(e,t){var n=fe(e,t);if(n.warnings.forEach((function(e){return Object(x.i)(e)})),n.errors.length>0)throw n.errors[0];return n.toJSON()},parseAllDocuments:function(e,t){var n,i,o=[],s=Object(r.g)(w(e));try{for(s.s();!(i=s.n()).done;){var a=i.value,u=new ce(t);u.parse(a,n),o.push(u),n=u}}catch(e){s.e(e)}finally{s.f()}return o},parseCST:w,parseDocument:fe,scalarOptions:ee,stringify:function(e,t){var n=new ce(t);return n.contents=e,String(n)}}},"../../node_modules/yaml/browser/dist/resolveSeq-492ab440.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return g})),n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return a})),n.d(t,"g",(function(){return d})),n.d(t,"h",(function(){return _})),n.d(t,"i",(function(){return v})),n.d(t,"j",(function(){return R})),n.d(t,"k",(function(){return y})),n.d(t,"l",(function(){return l})),n.d(t,"m",(function(){return i})),n.d(t,"n",(function(){return $})),n.d(t,"o",(function(){return K})),n.d(t,"p",(function(){return w})),n.d(t,"q",(function(){return L})),n.d(t,"r",(function(){return I})),n.d(t,"s",(function(){return b})),n.d(t,"t",(function(){return j})),n.d(t,"u",(function(){return z})),n.d(t,"v",(function(){return x})),n.d(t,"w",(function(){return s}));var r=n("../../node_modules/yaml/browser/dist/PlainValue-b8036b75.js");function i(e,t,n){return n?-1===n.indexOf("\n")?"".concat(e," #").concat(n):"".concat(e,"\n")+n.replace(/^/gm,"".concat(t||"","#")):e}var o=function e(){Object(r.j)(this,e)};function s(e,t,n){if(Array.isArray(e))return e.map((function(e,t){return s(e,String(t),n)}));if(e&&"function"==typeof e.toJSON){var r=n&&n.anchors&&n.anchors.get(e);r&&(n.onCreate=function(e){r.res=e,delete n.onCreate});var i=e.toJSON(t,n);return r&&n.onCreate&&n.onCreate(i),i}return n&&n.keep||"bigint"!=typeof e?e:Number(e)}var a=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e){var i;return Object(r.j)(this,n),(i=t.call(this)).value=e,i}return Object(r.i)(n,[{key:"toJSON",value:function(e,t){return t&&t.keep?this.value:s(this.value,e,t)}},{key:"toString",value:function(){return String(this.value)}}]),n}(o);function u(e,t,n){for(var r=n,i=t.length-1;i>=0;--i){var o=t[i];if(Number.isInteger(o)&&o>=0){var s=[];s[o]=r,r=s}else{var a={};Object.defineProperty(a,o,{value:r,writable:!0,enumerable:!0,configurable:!0}),r=a}}return e.createNode(r,!1)}var l=function(e){return null==e||"object"===Object(r.h)(e)&&e[Symbol.iterator]().next().done},c=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e){var i;return Object(r.j)(this,n),i=t.call(this),Object(r.l)(Object(r.w)(i),"items",[]),i.schema=e,i}return Object(r.i)(n,[{key:"addIn",value:function(e,t){if(l(e))this.add(t);else{var i=Object(r.x)(e),o=i[0],s=i.slice(1),a=this.get(o,!0);if(a instanceof n)a.addIn(s,t);else{if(void 0!==a||!this.schema)throw new Error("Expected YAML collection at ".concat(o,". Remaining path: ").concat(s));this.set(o,u(this.schema,s,t))}}}},{key:"deleteIn",value:function(e){var t=Object(r.x)(e),i=t[0],o=t.slice(1);if(0===o.length)return this.delete(i);var s=this.get(i,!0);if(s instanceof n)return s.deleteIn(o);throw new Error("Expected YAML collection at ".concat(i,". Remaining path: ").concat(o))}},{key:"getIn",value:function(e,t){var i=Object(r.x)(e),o=i[0],s=i.slice(1),u=this.get(o,!0);return 0===s.length?!t&&u instanceof a?u.value:u:u instanceof n?u.getIn(s,t):void 0}},{key:"hasAllNullValues",value:function(){return this.items.every((function(e){if(!e||"PAIR"!==e.type)return!1;var t=e.value;return null==t||t instanceof a&&null==t.value&&!t.commentBefore&&!t.comment&&!t.tag}))}},{key:"hasIn",value:function(e){var t=Object(r.x)(e),i=t[0],o=t.slice(1);if(0===o.length)return this.has(i);var s=this.get(i,!0);return s instanceof n&&s.hasIn(o)}},{key:"setIn",value:function(e,t){var i=Object(r.x)(e),o=i[0],s=i.slice(1);if(0===s.length)this.set(o,t);else{var a=this.get(o,!0);if(a instanceof n)a.setIn(s,t);else{if(void 0!==a||!this.schema)throw new Error("Expected YAML collection at ".concat(o,". Remaining path: ").concat(s));this.set(o,u(this.schema,s,t))}}}},{key:"toJSON",value:function(){return null}},{key:"toString",value:function(e,t,o,s){var a=this,u=t.blockItem,l=t.flowChars,c=t.isMap,f=t.itemIndent,d=e,h=d.indent,p=d.indentStep,m=d.stringify,b=this.type===r.e.FLOW_MAP||this.type===r.e.FLOW_SEQ||e.inFlow;b&&(f+=p);var y=c&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:y,indent:f,inFlow:b,type:null});var g,v=!1,_=!1,w=this.items.reduce((function(t,n,r){var o;n&&(!v&&n.spaceBefore&&t.push({type:"comment",str:""}),n.commentBefore&&n.commentBefore.match(/^.*$/gm).forEach((function(e){t.push({type:"comment",str:"#".concat(e)})})),n.comment&&(o=n.comment),b&&(!v&&n.spaceBefore||n.commentBefore||n.comment||n.key&&(n.key.commentBefore||n.key.comment)||n.value&&(n.value.commentBefore||n.value.comment))&&(_=!0)),v=!1;var s=m(n,e,(function(){return o=null}),(function(){return v=!0}));return b&&!_&&s.includes("\n")&&(_=!0),b&&rn.maxFlowStringSingleLineLength){g=j;var S,M=Object(r.g)(k);try{for(M.s();!(S=M.n()).done;){var E=S.value;g+=E?"\n".concat(p).concat(h).concat(E):"\n"}}catch(e){M.e(e)}finally{M.f()}g+="\n".concat(h).concat(x)}else g="".concat(j," ").concat(k.join(" ")," ").concat(x)}else{var O=w.map(u);g=O.shift();var A,P=Object(r.g)(O);try{for(P.s();!(A=P.n()).done;){var C=A.value;g+=C?"\n".concat(h).concat(C):"\n"}}catch(e){P.e(e)}finally{P.f()}}return this.comment?(g+="\n"+this.comment.replace(/^/gm,"".concat(h,"#")),o&&o()):v&&s&&s(),g}}]),n}(o);function f(e){var t=e instanceof a?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),Number.isInteger(t)&&t>=0?t:null}Object(r.l)(c,"maxFlowStringSingleLineLength",60);var d=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.apply(this,arguments)}return Object(r.i)(n,[{key:"add",value:function(e){this.items.push(e)}},{key:"delete",value:function(e){var t=f(e);return"number"==typeof t&&this.items.splice(t,1).length>0}},{key:"get",value:function(e,t){var n=f(e);if("number"==typeof n){var r=this.items[n];return!t&&r instanceof a?r.value:r}}},{key:"has",value:function(e){var t=f(e);return"number"==typeof t&&t1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.j)(this,n),(i=t.call(this)).key=e,i.value=o,i.type=n.Type.PAIR,i}return Object(r.i)(n,[{key:"commentBefore",get:function(){return this.key instanceof o?this.key.commentBefore:void 0},set:function(e){if(null==this.key&&(this.key=new a(null)),!(this.key instanceof o)){throw new Error("Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.")}this.key.commentBefore=e}},{key:"addToJSMap",value:function(e,t){var n=s(this.key,"",e);if(t instanceof Map){var i=s(this.value,n,e);t.set(n,i)}else if(t instanceof Set)t.add(n);else{var a=function(e,t,n){return null===t?"":"object"!==Object(r.h)(t)?String(t):e instanceof o&&n&&n.doc?e.toString({anchors:Object.create(null),doc:n.doc,indent:"",indentStep:n.indentStep,inFlow:!0,inStringifyKey:!0,stringify:n.stringify}):JSON.stringify(t)}(this.key,n,e),u=s(this.value,a,e);a in t?Object.defineProperty(t,a,{value:u,writable:!0,enumerable:!0,configurable:!0}):t[a]=u}return t}},{key:"toJSON",value:function(e,t){var n=t&&t.mapAsMap?new Map:{};return this.addToJSMap(t,n)}},{key:"toString",value:function(e,t,n){if(!e||!e.doc)return JSON.stringify(this);var s=e.doc.options,u=s.indent,l=s.indentSeq,f=s.simpleKeys,h=this.key,p=this.value,m=h instanceof o&&h.comment;if(f){if(m)throw new Error("With simple keys, key nodes cannot have comments");if(h instanceof c){throw new Error("With simple keys, collection cannot be used as a key value")}}var b=!f&&(!h||m||(h instanceof o?h instanceof c||h.type===r.e.BLOCK_FOLDED||h.type===r.e.BLOCK_LITERAL:"object"===Object(r.h)(h))),y=e,g=y.doc,v=y.indent,_=y.indentStep,w=y.stringify;e=Object.assign({},e,{implicitKey:!b,indent:v+_});var j=!1,x=w(h,e,(function(){return m=null}),(function(){return j=!0}));if(x=i(x,e.indent,m),!b&&x.length>1024){if(f)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");b=!0}if(e.allNullValues&&!f)return this.comment?(x=i(x,e.indent,this.comment),t&&t()):j&&!m&&n&&n(),e.inFlow&&!b?x:"? ".concat(x);x=b?"? ".concat(x,"\n").concat(v,":"):"".concat(x,":"),this.comment&&(x=i(x,e.indent,this.comment),t&&t());var k="",S=null;if(p instanceof o){if(p.spaceBefore&&(k="\n"),p.commentBefore){var M=p.commentBefore.replace(/^/gm,"".concat(e.indent,"#"));k+="\n".concat(M)}S=p.comment}else p&&"object"===Object(r.h)(p)&&(p=g.schema.createNode(p,!0));e.implicitKey=!1,!b&&!this.comment&&p instanceof a&&(e.indentAtStart=x.length+1),j=!1,!l&&u>=2&&!e.inFlow&&!b&&p instanceof d&&p.type!==r.e.FLOW_SEQ&&!p.tag&&!g.anchors.getName(p)&&(e.indent=e.indent.substr(2));var E=w(p,e,(function(){return S=null}),(function(){return j=!0})),O=" ";if(k||this.comment)O="".concat(k,"\n").concat(e.indent);else if(!b&&p instanceof c){("["===E[0]||"{"===E[0])&&!E.includes("\n")||(O="\n".concat(e.indent))}else"\n"===E[0]&&(O="");return j&&!S&&n&&n(),i(x+O+E,e.indent,S)}}]),n}(o);Object(r.l)(h,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var p=function e(t,n){if(t instanceof m){var i=n.get(t.source);return i.count*i.aliasCount}if(t instanceof c){var o,s=0,a=Object(r.g)(t.items);try{for(a.s();!(o=a.n()).done;){var u=e(o.value,n);u>s&&(s=u)}}catch(e){a.e(e)}finally{a.f()}return s}if(t instanceof h){var l=e(t.key,n),f=e(t.value,n);return Math.max(l,f)}return 1},m=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e){var i;return Object(r.j)(this,n),(i=t.call(this)).source=e,i.type=r.e.ALIAS,i}return Object(r.i)(n,[{key:"tag",set:function(e){throw new Error("Alias nodes cannot have tags")}},{key:"toJSON",value:function(e,t){if(!t)return s(this.source,e,t);var n=t.anchors,i=t.maxAliasCount,o=n.get(this.source);if(!o||void 0===o.res){var a="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new r.v(this.cstNode,a):new ReferenceError(a)}if(i>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=p(this.source,n)),o.count*o.aliasCount>i)){var u="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new r.v(this.cstNode,u):new ReferenceError(u)}return o.res}},{key:"toString",value:function(e){return n.stringify(this,e)}}],[{key:"stringify",value:function(e,t){var n=e.range,r=e.source,i=t.anchors,o=t.doc,s=t.implicitKey,a=t.inStringifyKey,u=Object.keys(i).find((function(e){return i[e]===r}));if(!u&&a&&(u=o.anchors.getName(r)||o.anchors.newName()),u)return"*".concat(u).concat(s?" ":"");var l=o.anchors.getName(r)?"Alias node must be after source node":"Source node not found for alias node";throw new Error("".concat(l," [").concat(n,"]"))}}]),n}(o);function b(e,t){var n,i=t instanceof a?t.value:t,o=Object(r.g)(e);try{for(o.s();!(n=o.n()).done;){var s=n.value;if(s instanceof h){if(s.key===t||s.key===i)return s;if(s.key&&s.key.value===i)return s}}}catch(e){o.e(e)}finally{o.f()}}Object(r.l)(m,"default",!0);var y=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(){return Object(r.j)(this,n),t.apply(this,arguments)}return Object(r.i)(n,[{key:"add",value:function(e,t){e?e instanceof h||(e=new h(e.key||e,e.value)):e=new h(e);var n=b(this.items,e.key),r=this.schema&&this.schema.sortMapEntries;if(n){if(!t)throw new Error("Key ".concat(e.key," already set"));n.value=e.value}else if(r){var i=this.items.findIndex((function(t){return r(e,t)<0}));-1===i?this.items.push(e):this.items.splice(i,0,e)}else this.items.push(e)}},{key:"delete",value:function(e){var t=b(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}},{key:"get",value:function(e,t){var n=b(this.items,e),r=n&&n.value;return!t&&r instanceof a?r.value:r}},{key:"has",value:function(e){return!!b(this.items,e)}},{key:"set",value:function(e,t){this.add(new h(e,t),!0)}},{key:"toJSON",value:function(e,t,n){var i=n?new n:t&&t.mapAsMap?new Map:{};t&&t.onCreate&&t.onCreate(i);var o,s=Object(r.g)(this.items);try{for(s.s();!(o=s.n()).done;){o.value.addToJSMap(t,i)}}catch(e){s.e(e)}finally{s.f()}return i}},{key:"toString",value:function(e,t,i){if(!e)return JSON.stringify(this);var o,s=Object(r.g)(this.items);try{for(s.s();!(o=s.n()).done;){var a=o.value;if(!(a instanceof h))throw new Error("Map items must all be pairs; found ".concat(JSON.stringify(a)," instead"))}}catch(e){s.e(e)}finally{s.f()}return Object(r.s)(Object(r.t)(n.prototype),"toString",this).call(this,e,{blockItem:function(e){return e.str},flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},t,i)}}]),n}(c),g=function(e){Object(r.q)(n,e);var t=Object(r.r)(n);function n(e){var i;if(Object(r.j)(this,n),e instanceof h){var o=e.value;o instanceof d||((o=new d).items.push(e.value),o.range=e.value.range),(i=t.call(this,e.key,o)).range=e.range}else i=t.call(this,new a("<<"),new d);return i.type=h.Type.MERGE_PAIR,Object(r.y)(i)}return Object(r.i)(n,[{key:"addToJSMap",value:function(e,t){var n,i=Object(r.g)(this.value.items);try{for(i.s();!(n=i.n()).done;){var o=n.value.source;if(!(o instanceof y))throw new Error("Merge sources must be maps");var s,a=o.toJSON(null,e,Map),u=Object(r.g)(a);try{for(u.s();!(s=u.n()).done;){var l=Object(r.o)(s.value,2),c=l[0],f=l[1];t instanceof Map?t.has(c)||t.set(c,f):t instanceof Set?t.add(c):Object.prototype.hasOwnProperty.call(t,c)||Object.defineProperty(t,c,{value:f,writable:!0,enumerable:!0,configurable:!0})}}catch(e){u.e(e)}finally{u.f()}}}catch(e){i.e(e)}finally{i.f()}return t}},{key:"toString",value:function(e,t){var i=this.value;if(i.items.length>1)return Object(r.s)(Object(r.t)(n.prototype),"toString",this).call(this,e,t);this.value=i.items[0];var o=Object(r.s)(Object(r.t)(n.prototype),"toString",this).call(this,e,t);return this.value=i,o}}]),n}(h),v={defaultType:r.e.BLOCK_LITERAL,lineWidth:76},_={trueStr:"true",falseStr:"false"},w={asBigInt:!1},j={nullStr:"null"},x={defaultType:r.e.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function k(e,t,n){var i,o=Object(r.g)(t);try{for(o.s();!(i=o.n()).done;){var s=i.value,u=s.format,l=s.test,c=s.resolve;if(l){var f=e.match(l);if(f){var d=c.apply(null,f);return d instanceof a||(d=new a(d)),u&&(d.format=u),d}}}}catch(e){o.e(e)}finally{o.f()}return n&&(e=n(e)),new a(e)}var S=function(e,t){for(var n=e[t+1];" "===n||"\t"===n;){do{n=e[t+=1]}while(n&&"\n"!==n);n=e[t+1]}return t};function M(e,t,n,r){var i=r.indentAtStart,o=r.lineWidth,s=void 0===o?80:o,a=r.minContentWidth,u=void 0===a?20:a,l=r.onFold,c=r.onOverflow;if(!s||s<0)return e;var f=Math.max(1+u,1+s-t.length);if(e.length<=f)return e;var d=[],h={},p=s-t.length;"number"==typeof i&&(i>s-Math.max(2,u)?d.push(0):p=s-i);var m,b=void 0,y=void 0,g=!1,v=-1,_=-1,w=-1;for("block"===n&&-1!==(v=S(e,v))&&(p=v+f);m=e[v+=1];){if("quoted"===n&&"\\"===m){switch(_=v,e[v+1]){case"x":v+=3;break;case"u":v+=5;break;case"U":v+=9;break;default:v+=1}w=v}if("\n"===m)"block"===n&&(v=S(e,v)),p=v+f,b=void 0;else{if(" "===m&&y&&" "!==y&&"\n"!==y&&"\t"!==y){var j=e[v+1];j&&" "!==j&&"\n"!==j&&"\t"!==j&&(b=v)}if(v>=p)if(b)d.push(b),p=b+f,b=void 0;else if("quoted"===n){for(;" "===y||"\t"===y;)y=m,m=e[v+=1],g=!0;var x=v>w+1?v-2:_-1;if(h[x])return e;d.push(x),h[x]=!0,p=x+f,b=void 0}else g=!0}y=m}if(g&&c&&c(),0===d.length)return e;l&&l();for(var k=e.slice(0,d[0]),M=0;Mr)return!0;if(i-(s=o+1)<=r)return!1}return!0}(a,x.fold.lineWidth,u.length)),f=c?"|":">";if(!a)return f+"\n";var d="",h="";if(a=a.replace(/[\n\t ]*$/,(function(e){var t=e.indexOf("\n");return-1===t?f+="-":a!==e&&t===e.length-1||(f+="+",i&&i()),h=e.replace(/\n$/,""),""})).replace(/^[\n ]*/,(function(e){-1!==e.indexOf(" ")&&(f+=l);var t=e.match(/ +$/);return t?(d=e.slice(0,-t[0].length),t[0]):(d=e,"")})),h&&(h=h.replace(/\n+(?!\n|$)/g,"$&".concat(u))),d&&(d=d.replace(/\n+/g,"$&".concat(u))),o&&(f+=" #"+o.replace(/ ?[\r\n]+/g," "),n&&n()),!a)return"".concat(f).concat(l,"\n").concat(u).concat(h);if(c)return a=a.replace(/\n+/g,"$&".concat(u)),"".concat(f,"\n").concat(u).concat(d).concat(a).concat(h);a=a.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,"$&".concat(u));var p=M("".concat(d).concat(a).concat(h),u,"block",x.fold);return"".concat(f,"\n").concat(u).concat(p)}function R(e,t,n,i){var o=x.defaultType,s=t.implicitKey,a=t.inFlow,u=e,l=u.type,c=u.value;"string"!=typeof c&&(c=String(c),e=Object.assign({},e,{value:c}));var f=function(o){switch(o){case r.e.BLOCK_FOLDED:case r.e.BLOCK_LITERAL:return C(e,t,n,i);case r.e.QUOTE_DOUBLE:return A(c,t);case r.e.QUOTE_SINGLE:return P(c,t);case r.e.PLAIN:return function(e,t,n,i){var o=e.comment,s=e.type,a=e.value,u=t.actualString,l=t.implicitKey,c=t.indent,f=t.inFlow;if(l&&/[\n[\]{},]/.test(a)||f&&/[[\]{},]/.test(a))return A(a,t);if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return l||f||-1===a.indexOf("\n")?-1!==a.indexOf('"')&&-1===a.indexOf("'")?P(a,t):A(a,t):C(e,t,n,i);if(!l&&!f&&s!==r.e.PLAIN&&-1!==a.indexOf("\n"))return C(e,t,n,i);if(""===c&&O(a))return t.forceBlockIndent=!0,C(e,t,n,i);var d=a.replace(/\n+/g,"$&\n".concat(c));if(u){var h=t.doc.schema.tags;if("string"!=typeof k(d,h,h.scalarFallback).value)return A(a,t)}var p=l?d:M(d,c,"flow",E(t));return!o||f||-1===p.indexOf("\n")&&-1===o.indexOf("\n")?p:(n&&n(),function(e,t,n){if(!n)return e;var r=n.replace(/[\s\S]^/gm,"$&".concat(t,"#"));return"#".concat(r,"\n").concat(t).concat(e)}(p,c,o))}(e,t,n,i);default:return null}};l!==r.e.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(c)?l=r.e.QUOTE_DOUBLE:!s&&!a||l!==r.e.BLOCK_FOLDED&&l!==r.e.BLOCK_LITERAL||(l=r.e.QUOTE_DOUBLE);var d=f(l);if(null===d&&null===(d=f(o)))throw new Error("Unsupported default string type ".concat(o));return d}function I(e){var t=e.format,n=e.minFractionDigits,r=e.tag,i=e.value;if("bigint"==typeof i)return String(i);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";var o=JSON.stringify(i);if(!t&&n&&(!r||"tag:yaml.org,2002:float"===r)&&/^\d/.test(o)){var s=o.indexOf(".");s<0&&(s=o.length,o+=".");for(var a=n-(o.length-s-1);a-- >0;)o+="0"}return o}function T(e,t){var n,i,o;switch(t.type){case r.e.FLOW_MAP:n="}",i="flow map";break;case r.e.FLOW_SEQ:n="]",i="flow sequence";break;default:return void e.push(new r.n(t,"Not a flow collection!?"))}for(var s=t.items.length-1;s>=0;--s){var a=t.items[s];if(!a||a.type!==r.e.COMMENT){o=a;break}}if(o&&o.char!==n){var u,l="Expected ".concat(i," to end with ").concat(n);"number"==typeof o.offset?(u=new r.n(t,l)).offset=o.offset+1:(u=new r.n(o,l),o.range&&o.range.end&&(u.offset=o.range.end-o.range.start)),e.push(u)}}function B(e,t){var n=t.context.src[t.range.start-1];if("\n"!==n&&"\t"!==n&&" "!==n){e.push(new r.n(t,"Comments must be separated from other tokens by white space characters"))}}function N(e,t){var n=String(t),i=n.substr(0,8)+"..."+n.substr(-8);return new r.n(e,'The "'.concat(i,'" key is too long'))}function D(e,t){var n,i=Object(r.g)(t);try{for(i.s();!(n=i.n()).done;){var o=n.value,s=o.afterKey,a=o.before,u=o.comment,l=e.items[a];l?(s&&l.value&&(l=l.value),void 0===u?!s&&l.commentBefore||(l.spaceBefore=!0):l.commentBefore?l.commentBefore+="\n"+u:l.commentBefore=u):void 0!==u&&(e.comment?e.comment+="\n"+u:e.comment=u)}}catch(e){i.e(e)}finally{i.f()}}function L(e,t){var n=t.strValue;return n?"string"==typeof n?n:(n.errors.forEach((function(n){n.source||(n.source=t),e.errors.push(n)})),n.str):""}function U(e,t){var n=t.tag,i=t.type,o=!1;if(n){var s=n.handle,a=n.suffix,u=n.verbatim;if(u){if("!"!==u&&"!!"!==u)return u;var l="Verbatim tags aren't resolved, so ".concat(u," is invalid.");e.errors.push(new r.n(t,l))}else if("!"!==s||a)try{return function(e,t){var n=t.tag,i=n.handle,o=n.suffix,s=e.tagPrefixes.find((function(e){return e.handle===i}));if(!s){var a=e.getDefaults().tagPrefixes;if(a&&(s=a.find((function(e){return e.handle===i}))),!s)throw new r.n(t,"The ".concat(i," tag handle is non-default and was not declared."))}if(!o)throw new r.n(t,"The ".concat(i," tag has no suffix."));if("!"===i&&"1.0"===(e.version||e.options.version)){if("^"===o[0])return e.warnings.push(new r.m(t,"YAML 1.0 ^ tag expansion is not supported")),o;if(/[:/]/.test(o)){var u=o.match(/^([a-z0-9-]+)\/(.*)/i);return u?"tag:".concat(u[1],".yaml.org,2002:").concat(u[2]):"tag:".concat(o)}}return s.prefix+decodeURIComponent(o)}(e,t)}catch(t){e.errors.push(t)}else o=!0}switch(i){case r.e.BLOCK_FOLDED:case r.e.BLOCK_LITERAL:case r.e.QUOTE_DOUBLE:case r.e.QUOTE_SINGLE:return r.u.STR;case r.e.FLOW_MAP:case r.e.MAP:return r.u.MAP;case r.e.FLOW_SEQ:case r.e.SEQ:return r.u.SEQ;case r.e.PLAIN:return o?r.u.STR:null;default:return null}}function F(e,t,n){var i,o=e.schema.tags,s=[],u=Object(r.g)(o);try{for(u.s();!(i=u.n()).done;){var l=i.value;if(l.tag===n){if(!l.test){var f=l.resolve(e,t);return f instanceof c?f:new a(f)}s.push(l)}}}catch(e){u.e(e)}finally{u.f()}var d=L(e,t);return"string"==typeof d&&s.length>0?k(d,s,o.scalarFallback):null}function q(e,t,n){try{var i=F(e,t,n);if(i)return n&&t.tag&&(i.tag=n),i}catch(n){return n.source||(n.source=t),e.errors.push(n),null}try{var o=function(e){switch(e.type){case r.e.FLOW_MAP:case r.e.MAP:return r.u.MAP;case r.e.FLOW_SEQ:case r.e.SEQ:return r.u.SEQ;default:return r.u.STR}}(t);if(!o)throw new Error("The tag ".concat(n," is unavailable"));var s="The tag ".concat(n," is unavailable, falling back to ").concat(o);e.warnings.push(new r.m(t,s));var a=F(e,t,o);return a.tag=n,a}catch(n){var u=new r.v(t,n.message);return u.stack=n.stack,e.errors.push(u),null}}function H(e,t){var n,i={before:[],after:[]},o=!1,s=!1,a=function(e){if(!e)return!1;var t=e.type;return t===r.e.MAP_KEY||t===r.e.MAP_VALUE||t===r.e.SEQ_ITEM}(t.context.parent)?t.context.parent.props.concat(t.props):t.props,u=Object(r.g)(a);try{for(u.s();!(n=u.n()).done;){var l=n.value,c=l.start,f=l.end;switch(t.context.src[c]){case r.a.COMMENT:if(!t.commentHasRequiredWhitespace(c)){e.push(new r.n(t,"Comments must be separated from other tokens by white space characters"))}var d=t.header,h=t.valueRange;(h&&(c>h.start||d&&c>d.start)?i.after:i.before).push(t.context.src.slice(c+1,f));break;case r.a.ANCHOR:if(o){e.push(new r.n(t,"A node can have at most one anchor"))}o=!0;break;case r.a.TAG:if(s){e.push(new r.n(t,"A node can have at most one tag"))}s=!0}}}catch(e){u.e(e)}finally{u.f()}return{comments:i,hasAnchor:o,hasTag:s}}function z(e,t){if(!t)return null;t.error&&e.errors.push(t.error);var n=H(e.errors,t),i=n.comments,o=n.hasAnchor,s=n.hasTag;if(o){var a=e.anchors,u=t.anchor,l=a.getNode(u);l&&(a.map[a.newName(u)]=l),a.map[u]=t}if(t.type===r.e.ALIAS&&(o||s)){e.errors.push(new r.n(t,"An alias node must not specify any properties"))}var c=function(e,t){var n=e.anchors,i=e.errors,o=e.schema;if(t.type===r.e.ALIAS){var s=t.rawValue,a=n.getNode(s);if(!a){var u="Aliased anchor not found: ".concat(s);return i.push(new r.v(t,u)),null}var l=new m(a);return n._cstAliases.push(l),l}var c=U(e,t);if(c)return q(e,t,c);if(t.type!==r.e.PLAIN){var f="Failed to resolve ".concat(t.type," node here");return i.push(new r.f(t,f)),null}try{return k(L(e,t),o.tags,o.tags.scalarFallback)}catch(e){return e.source||(e.source=t),i.push(e),null}}(e,t);if(c){c.range=[t.range.start,t.range.end],e.options.keepCstNodes&&(c.cstNode=t),e.options.keepNodeTypes&&(c.type=t.type);var f=i.before.join("\n");f&&(c.commentBefore=c.commentBefore?"".concat(c.commentBefore,"\n").concat(f):f);var d=i.after.join("\n");d&&(c.comment=c.comment?"".concat(c.comment,"\n").concat(d):d)}return t.resolved=c}function $(e,t){if(t.type!==r.e.MAP&&t.type!==r.e.FLOW_MAP){var n="A ".concat(t.type," node cannot be resolved as a mapping");return e.errors.push(new r.f(t,n)),null}var i=t.type===r.e.FLOW_MAP?function(e,t){for(var n=[],i=[],o=void 0,s=!1,a="{",u=0;u0){(l=new r.c(r.e.PLAIN,[])).context={parent:u,src:u.context.src};var c=u.range.start+1;if(l.range={start:c,end:c},l.valueRange={start:c,end:c},"number"==typeof u.range.origStart){var f=u.range.origStart+1;l.range.origStart=l.range.origEnd=f,l.valueRange.origStart=l.valueRange.origEnd=f}}var d=new h(o,z(e,l));W(u,d),i.push(d),o&&"number"==typeof s&&u.range.start>s+1024&&e.errors.push(N(t,o)),o=void 0,s=null;break;default:void 0!==o&&i.push(new h(o)),o=z(e,u),s=u.range.start,u.error&&e.errors.push(u.error);e:for(var p=a+1;;++p){var m=t.items[p];switch(m&&m.type){case r.e.BLANK_LINE:case r.e.COMMENT:continue e;case r.e.MAP_VALUE:break e;default:e.errors.push(new r.n(u,"Implicit map keys need to be followed by map values"));break e}}if(u.valueRangeContainsNewline){e.errors.push(new r.n(u,"Implicit map keys need to be on a single line"))}}}void 0!==o&&i.push(new h(o));return{comments:n,items:i}}(e,t),o=i.comments,s=i.items,a=new y;a.items=s,D(a,o);for(var u=!1,l=0;li.valueRange.start)return!1;if(o[a]!==r.a.COMMENT)return!1;for(var u=n;ua+1024&&e.errors.push(N(t,s));for(var y=l.context.src,g=a;g1){throw new i.n(t,"Each pair must have its own sequence indicator")}var a=s.items[0]||new o.e;s.commentBefore&&(a.commentBefore=a.commentBefore?"".concat(s.commentBefore,"\n").concat(a.commentBefore):s.commentBefore),s.comment&&(a.comment=a.comment?"".concat(s.comment,"\n").concat(a.comment):s.comment),s=a}n.items[r]=s instanceof o.e?s:new o.e(s)}}return n}function u(e,t,n){var r=new o.g(e);r.tag="tag:yaml.org,2002:pairs";var s,a=Object(i.g)(t);try{for(a.s();!(s=a.n()).done;){var u=s.value,l=void 0,c=void 0;if(Array.isArray(u)){if(2!==u.length)throw new TypeError("Expected [key, value] tuple: ".concat(u));l=u[0],c=u[1]}else if(u&&u instanceof Object){var f=Object.keys(u);if(1!==f.length)throw new TypeError("Expected { key: value } tuple: ".concat(u));c=u[l=f[0]]}else l=u;var d=e.createPair(l,c,n);r.items.push(d)}}catch(e){a.e(e)}finally{a.f()}return r}var l={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:a,createNode:u},c=function(e){Object(i.q)(n,e);var t=Object(i.r)(n);function n(){var e;return Object(i.j)(this,n),e=t.call(this),Object(i.l)(Object(i.w)(e),"add",o.k.prototype.add.bind(Object(i.w)(e))),Object(i.l)(Object(i.w)(e),"delete",o.k.prototype.delete.bind(Object(i.w)(e))),Object(i.l)(Object(i.w)(e),"get",o.k.prototype.get.bind(Object(i.w)(e))),Object(i.l)(Object(i.w)(e),"has",o.k.prototype.has.bind(Object(i.w)(e))),Object(i.l)(Object(i.w)(e),"set",o.k.prototype.set.bind(Object(i.w)(e))),e.tag=n.tag,e}return Object(i.i)(n,[{key:"toJSON",value:function(e,t){var n=new Map;t&&t.onCreate&&t.onCreate(n);var r,s=Object(i.g)(this.items);try{for(s.s();!(r=s.n()).done;){var a=r.value,u=void 0,l=void 0;if(a instanceof o.e?(u=Object(o.w)(a.key,"",t),l=Object(o.w)(a.value,u,t)):u=Object(o.w)(a,"",t),n.has(u))throw new Error("Ordered maps must not include duplicate keys");n.set(u,l)}}catch(e){s.e(e)}finally{s.f()}return n}}]),n}(o.g);Object(i.l)(c,"tag","tag:yaml.org,2002:omap");var f={identify:function(e){return e instanceof Map},nodeClass:c,default:!1,tag:"tag:yaml.org,2002:omap",resolve:function(e,t){var n,r=a(e,t),s=[],u=Object(i.g)(r.items);try{for(u.s();!(n=u.n()).done;){var l=n.value.key;if(l instanceof o.f){if(s.includes(l.value)){throw new i.n(t,"Ordered maps must not include duplicate keys")}s.push(l.value)}}}catch(e){u.e(e)}finally{u.f()}return Object.assign(new c,r)},createNode:function(e,t,n){var r=u(e,t,n),i=new c;return i.items=r.items,i}},d=function(e){Object(i.q)(n,e);var t=Object(i.r)(n);function n(){var e;return Object(i.j)(this,n),(e=t.call(this)).tag=n.tag,e}return Object(i.i)(n,[{key:"add",value:function(e){var t=e instanceof o.e?e:new o.e(e);Object(o.s)(this.items,t.key)||this.items.push(t)}},{key:"get",value:function(e,t){var n=Object(o.s)(this.items,e);return!t&&n instanceof o.e?n.key instanceof o.f?n.key.value:n.key:n}},{key:"set",value:function(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not ".concat(Object(i.h)(t)));var n=Object(o.s)(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new o.e(e))}},{key:"toJSON",value:function(e,t){return Object(i.s)(Object(i.t)(n.prototype),"toJSON",this).call(this,e,t,Set)}},{key:"toString",value:function(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return Object(i.s)(Object(i.t)(n.prototype),"toString",this).call(this,e,t,r);throw new Error("Set items must all have null values")}}]),n}(o.k);Object(i.l)(d,"tag","tag:yaml.org,2002:set");var h={identify:function(e){return e instanceof Set},nodeClass:d,default:!1,tag:"tag:yaml.org,2002:set",resolve:function(e,t){var n=Object(o.n)(e,t);if(!n.hasAllNullValues())throw new i.n(t,"Set items must all have null values");return Object.assign(new d,n)},createNode:function(e,t,n){var r,o=new d,s=Object(i.g)(t);try{for(s.s();!(r=s.n()).done;){var a=r.value;o.items.push(e.createPair(a,null,n))}}catch(e){s.e(e)}finally{s.f()}return o}},p=function(e,t){var n=t.split(":").reduce((function(e,t){return 60*e+Number(t)}),0);return"-"===e?-n:n},m=function(e){var t=e.value;if(isNaN(t)||!isFinite(t))return Object(o.r)(t);var n="";t<0&&(n="-",t=Math.abs(t));var r=[t%60];return t<60?r.unshift(0):(t=Math.round((t-r[0])/60),r.unshift(t%60),t>=60&&(t=Math.round((t-r[0])/60),r.unshift(t))),n+r.map((function(e){return e<10?"0"+String(e):String(e)})).join(":").replace(/000000\d*$/,"")},b={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:function(e,t,n){return p(t,n.replace(/_/g,""))},stringify:m},y={identify:function(e){return"number"==typeof e},default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:function(e,t,n){return p(t,n.replace(/_/g,""))},stringify:m},g={identify:function(e){return e instanceof Date},default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:function(e,t,n,r,i,o,s,a,u){a&&(a=(a+"00").substr(1,3));var l=Date.UTC(t,n-1,r,i||0,o||0,s||0,a||0);if(u&&"Z"!==u){var c=p(u[0],u.slice(1));Math.abs(c)<30&&(c*=60),l-=6e4*c}return new Date(l)},stringify:function(e){return e.value.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")}};function v(e){var t=void 0!==r&&r.env||{};return e?"undefined"!=typeof YAML_SILENCE_DEPRECATION_WARNINGS?!YAML_SILENCE_DEPRECATION_WARNINGS:!t.YAML_SILENCE_DEPRECATION_WARNINGS:"undefined"!=typeof YAML_SILENCE_WARNINGS?!YAML_SILENCE_WARNINGS:!t.YAML_SILENCE_WARNINGS}function _(e,t){if(v(!1)){var n=void 0!==r&&r.emitWarning;n?n(e,t):console.warn(t?"".concat(t,": ").concat(e):e)}}var w={};function j(e,t){if(!w[e]&&v(!0)){w[e]=!0;var n="The option '".concat(e,"' will be removed in a future release");_(n+=t?", use '".concat(t,"' instead."):".","DeprecationWarning")}}}).call(this,n("../../node_modules/buffer/index.js").Buffer,n("../../node_modules/process/browser.js"))},"../../node_modules/yaml/browser/index.js":function(e,t,n){e.exports=n("../../node_modules/yaml/browser/dist/index.js").YAML},"../../standalone-packages/codesandbox-browserfs/dist/shims/buffer.js":function(e,t){e.exports=BrowserFS.BFSRequire("buffer")},"../../standalone-packages/codesandbox-browserfs/dist/shims/fs.js":function(e,t){e.exports=BrowserFS.BFSRequire("fs")},"../common/lib/load-dynamic-polyfills.js":function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=[];return void 0===Error.captureStackTrace&&e.push(Promise.resolve().then(()=>o(n("../../node_modules/error-polyfill/index.js")))),Promise.all(e)}},"../common/lib/templates/helpers/is-server.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isServer=void 0;const r=["adonis","apollo","docusaurus","ember","gatsby","gridsome","marko","mdx-deck","nest","next","node","nuxt","quasar","remix","sapper","styleguidist","unibit","vuepress"];t.isServer=e=>-1!==r.indexOf(e)},"../common/lib/utils/delay.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e=1e3){return new Promise(t=>setTimeout(t,e))}},"../common/lib/utils/global.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonPostMessage=t.getGlobal=void 0;const r=n("../common/lib/utils/url-generator.js");function i(){try{if("undefined"!=typeof window)return window;if("undefined"!=typeof self){return self}if(void 0!==o)return o}catch(e){}return{}}t.getGlobal=i;const o=i();t.commonPostMessage=function(e){"undefined"!=typeof Window?o.postMessage(e,(0,r.protocolAndHost)()):o.postMessage(e)}},"../common/lib/utils/path.js":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.relative=t.resolve=t.extname=t.absolute=t.basename=t.dirname=t.join=t.normalize=t.isAbsolute=void 0;const n=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^/]+?|)(\.[^./]*|))(?:[/]*)$/;function r(e,t){const n=[];for(let r=0;r=-1&&!i;r--){const o=r>=0?t[r]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(n=o+"/"+n,i="/"===o[0])}return n=r(n.split("/"),!i).join("/"),(i?"/":"")+n||"."}function a(e){const t=e.length-1;let n=0;for(;n<=t&&!e[n];n++);let r=t;for(;r>=0&&!e[r];r--);return 0===n&&r===t?e:n>r?[]:e.slice(n,r+1)}t.isAbsolute=i,t.normalize=o,t.join=function(...e){let t="";for(let n=0;n1)return n[n.length-2];if(t.length>0){if(r.substr(r.length-t.length)===t)return r.substr(0,r.length-t.length)}return r},t.absolute=function(e){return e.startsWith("/")?e:e.startsWith("./")?e.replace("./","/"):"/"+e},t.extname=function(e){!function(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}(e);let t=-1,n=0,r=-1,i=!0,o=0;for(let s=e.length-1;s>=0;--s){const a=e.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===t?t=s:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=s+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)},t.resolve=s,t.relative=function(e,t){e=s(e).substr(1),t=s(t).substr(1);const n=a(e.split("/")),r=a(t.split("/")),i=Math.min(n.length,r.length);let o=i;for(let e=0;e`https://codesandbox.io/p/github/${e}/${t}?create=true${n?"&welcome=true":""}`;const h=(e,...t)=>e[0]+t.map((t,n)=>`${encodeURIComponent(t)}${e[n+1]}`).join("");t.host=()=>"".split("//")[1];t.protocolAndHost=()=>`${location.protocol}//${(0,t.host)()}`;t.newSandboxWizard=()=>"/s";t.newSandboxUrl=()=>"/s/new";t.parcelSandboxUrl=()=>"/s/vanilla";t.newReactTypeScriptSandboxUrl=()=>"/s/react-ts";t.newDojoSandboxUrl=()=>"/s/github/dojo/dojo-codesandbox-template";t.newPreactSandboxUrl=()=>"/s/preact";t.newVueSandboxUrl=()=>"/s/vue";t.importFromGitHubUrl=()=>"/s/github";t.newSvelteSandboxUrl=()=>"/s/svelte";t.newAngularSandboxUrl=()=>"/s/angular";t.newCxJSSandboxUrl=()=>"/s/github/codaxy/cxjs-codesandbox-template";t.uploadFromCliUrl=()=>"/s/cli";const p=e=>h`github/${e.username}/${e.repo}/tree/${e.branch}/`+e.path;t.editorUrl=()=>"/s/";t.newEditorUrlPrefix=()=>"/p/";t.sandboxUrl=e=>{const n=e.isV2?(0,t.newEditorUrlPrefix)()+"devbox/":(0,t.newEditorUrlPrefix)()+"sandbox/",r=e.query?"?"+new URLSearchParams(e.query).toString():"";if(e.git){const{git:t}=e;return`${n}${p(t)}${r}`}return e.alias?`${n}${e.alias}${r}`:`${n}${e.id}${r}`};t.embedUrl=e=>{if(e.git){const{git:t}=e;return"/embed/"+p(t)}return e.alias?"/embed/"+e.alias:"/embed/"+e.id};t.vsCodeLauncherUrl=e=>`${(0,t.protocolAndHost)()}${(0,t.newEditorUrlPrefix)()}vscode?sandboxId=${e}`;t.vsCodeUrl=e=>"vscode://CodeSandbox-io.codesandbox-projects/sandbox/"+e;t.frameUrl=(e,n="",{useFallbackDomain:r=!1,port:i}={})=>{var o,a;const u="true"===(null===(o=window._env_)||void 0===o?void 0:o.USE_STATIC_PREVIEW),l=null===(a=window._env_)||void 0===a?void 0:a.PREVIEW_DOMAIN,f=0===n.indexOf("/")?n.substr(1):n;if(u&&l)return`${location.protocol}//${l}/${f}`;const d=(0,s.isServer)(e.template);let h=(0,t.host)();return!("https://"+h in c)||r||d||(h=c["https://"+h].split("//")[1]),`${location.protocol}//${e.id}${i?"-"+i:""}.${d?"sse.":""}${h}/${f}`};t.forkSandboxUrl=e=>(0,t.sandboxUrl)(e)+"/fork";t.signInPageUrl=e=>{let t="/signin";return e&&(t+="?continue="+e),t};t.signInUrl=(e=!1)=>"/auth/github"+(e?"?scope=user:email,public_repo,workflow":"");t.signInVercelUrl=()=>"/auth/vercel";t.profileUrl=e=>"/u/"+e;t.dashboardUrl=()=>"/dashboard";t.exploreUrl=()=>"/explore";t.teamOverviewUrl=e=>"/dashboard/teams/"+e;t.profileSandboxesUrl=(e,n)=>`${(0,t.profileUrl)(e)}/sandboxes${n?"/"+n:""}`;t.profileLikesUrl=(e,n)=>`${(0,t.profileUrl)(e)}/likes${n?"/"+n:""}`;t.githubRepoUrl=({repo:e,branch:t,username:n,path:r})=>h`https://github.com/${n}/${e}/tree/${t}/`+r;t.optionsToParameterizedUrl=e=>{const t=Object.keys(e).sort().filter(t=>e[t]).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&");return t?"?"+t:""};t.gitHubToSandboxUrl=e=>e.replace(u,"/s/github").replace(l,"");t.gitHubToProjectsUrl=e=>e.replace(u,"/p/github").replace(l,"");t.searchUrl=e=>"/search"+(e?"?query="+e:"");t.csbSite=()=>[f,d].join("/");t.tosUrl=()=>(0,t.csbSite)()+"/legal/terms";t.privacyUrl=()=>(0,t.csbSite)()+"/legal/privacy",t.getSandboxId=function(){const e="";let t;if([e,c[e]].filter(Boolean).forEach(e=>{const n=e.replace(/https?:\/\//,"").replace(/\./g,"\\."),r=new RegExp("(.*)\\."+n),i=document.location.host.match(r);i&&(t=i[1])}),!t)throw new Error("Can't detect sandbox ID from the current URL");return t};t.docsUrl=(e="")=>`${(0,t.csbSite)()}/docs${e}`;t.packageExamplesUrl=e=>`${(0,t.csbSite)()}/examples/package/${e}`;t.blogUrl=(e="")=>`${(0,t.csbSite)()}/blog${e}`;t.teamInviteLink=e=>`${(0,t.protocolAndHost)()}/invite/${e}`;t.githubAppInstallLink=()=>(0,t.protocolAndHost)()+"/auth/github/app-install";const m=({owner:e,repoName:n,branchName:r,workspaceId:i,createDraftBranch:o,importFlag:s,source:a})=>{const u=new URLSearchParams(Object.assign(Object.assign(Object.assign(Object.assign({},i?{workspaceId:i}:{}),o?{create:"true"}:{}),s?{import:"true"}:{}),a?{utm_source:a}:{})).toString();return`${(0,t.newEditorUrlPrefix)()}github/${e}/${n}${r?"/"+r:""}${u?"?"+u:""}`};t.v2BranchUrl=e=>m(e);t.v2DefaultBranchUrl=e=>m(e)},"../common/lib/utils/url-generator/dashboard.js":function(e,t,n){"use strict";function r(e,t){return t?`${e}?workspace=${t}`:e}Object.defineProperty(t,"__esModule",{value:!0}),t.createWorkspaceUrl=t.upgradeUrl=t.search=t.portalRelativePath=t.portalVMUsage=t.portalVMSettings=t.portalPermissions=t.portalRegistry=t.portalOverview=t.liked=t.shared=t.deleted=t.getStarted=t.recent=t.templates=t.syncedSandboxes=t.repository=t.repositories=t.myContributions=t.drafts=t.sandboxes=t.ALL_SANDBOXES_URL_PREFIX=t.DASHBOARD_URL_PREFIX=void 0,t.DASHBOARD_URL_PREFIX="/dashboard",t.ALL_SANDBOXES_URL_PREFIX=t.DASHBOARD_URL_PREFIX+"/sandboxes";t.sandboxes=(e,n)=>r(`${t.ALL_SANDBOXES_URL_PREFIX}${function(e){return e.split("/").map(e=>e.split(" ").map(encodeURIComponent).join(" ")).join("/")}(e)}`,n);t.drafts=e=>r(t.DASHBOARD_URL_PREFIX+"/drafts",e);t.myContributions=e=>r(t.DASHBOARD_URL_PREFIX+"/my-contributions",e);t.repositories=e=>r(t.DASHBOARD_URL_PREFIX+"/repositories",e);t.repository=({owner:e,name:n,teamId:i})=>r(`${t.DASHBOARD_URL_PREFIX}/repositories/github/${e}/${n}`,i);t.syncedSandboxes=e=>r(t.DASHBOARD_URL_PREFIX+"/synced-sandboxes",e);t.templates=e=>r(t.DASHBOARD_URL_PREFIX+"/templates",e);t.recent=(e,n)=>{let i=r(t.DASHBOARD_URL_PREFIX+"/recent",e);if(n&&Object.keys(n).length>0){const e=new URLSearchParams(n);i.includes("?")?i+="&":i+="?",i+=e.toString()}return i};t.getStarted=e=>r(t.DASHBOARD_URL_PREFIX+"/get-started",e);t.deleted=e=>r(t.DASHBOARD_URL_PREFIX+"/deleted",e);t.shared=e=>r(t.DASHBOARD_URL_PREFIX+"/shared",e);t.liked=e=>r(t.DASHBOARD_URL_PREFIX+"/liked",e);t.portalOverview=(e,t)=>{if(!e)return"https://codesandbox.io/t/overview";return`${r("https://codesandbox.io/t/overview",e)}&${new URLSearchParams(t).toString()}`};t.portalRegistry=e=>r("https://codesandbox.io/t/registry",e);t.portalPermissions=e=>r("https://codesandbox.io/t/permissions",e);t.portalVMSettings=e=>r("https://codesandbox.io/t/vm_settings",e);t.portalVMUsage=e=>r("https://codesandbox.io/t/usage",e);t.portalRelativePath=e=>r("/t/overview",e);t.search=(e,n)=>{let i=r(t.DASHBOARD_URL_PREFIX+"/search",n);return i.includes("?")?i+="&":i+="?",i+="query="+e,i};t.upgradeUrl=({workspaceId:e,source:t}={})=>{const n=new URLSearchParams({});e&&n.set("workspace",e),t&&n.set("utm_source",t);const r=n.toString();return r?"/upgrade?"+r:"/upgrade"};t.createWorkspaceUrl=({workspaceId:e})=>{const t=new URLSearchParams;e&&t.set("workspace",e);const n=t.toString();return n?"/create-workspace?"+n:"/create-workspace"}},"../sandpack-core/lib/resolver/errors/ModuleNotFound.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r extends Error{constructor(e,t){super(`Cannot find module '${e}' from '${t}'`),this.code="MODULE_NOT_FOUND",this.parent=t,this.filepath=e}}},"../sandpack-core/lib/resolver/resolver.js":function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var r=n("../../node_modules/gensync/index.js"),i=n.n(r),o=n("../../node_modules/micromatch/index.js"),s=n.n(o),a=n("../common/lib/utils/path.js"),u=n("../sandpack-core/lib/resolver/errors/ModuleNotFound.js");function l(e,t,n=!0){return"/"===e[0]?e:"."===e[0]||n?a.join(t,e):e}const c=["browser","development","default","import","require"];function f(e,t){return l(e.replace(/\*/g,"$1"),t)}function d(e,t,n=c){if(!e)return!1;if("string"==typeof e)return f(e,t);if(Array.isArray(e)){const n=e.map(e=>d(e,t)).filter(Boolean);return!!n.length&&n[0]}if("object"==typeof e){for(const r of n){const i=e[r];if(void 0!==i)return"string"==typeof i?f(i,t):d(i,t,n)}return!1}throw new Error("Unsupported export type "+typeof e)}const h=["module","browser","main","jsnext:main"],p=["browser","alias"],m=["browser","development","default","require"];function*b(e,t){return"//empty.js"===e||(yield*t(e))}function y(e,t="/"){const n=e.split("/"),r=[];for(;n.length>0;){const e=n.join("/")||"/";if(e.lengtha.join("/",n.baseUrl,e).replace(/\*/g,""));return{baseUrl:a.join("/",n.baseUrl),paths:e}}return null}function*w(e,t){const n=a.join(e,"package.json");let r=t.resolverCache.get(n);if(void 0===r)try{r=function(e,t){if(!e||"object"!=typeof e)return{aliases:{},hasExports:!1};const n={},r=e.exports&&"/"!==t;if(!r)for(const r of h)if("string"==typeof e[r]){n[t]=l(e[r],t);break}if(r)if("string"==typeof e.exports)n[t]=l(e.exports,t);else if("object"==typeof e.exports){const r=Object.keys(e.exports);if(r[0].startsWith("."))for(const i of r){const r=d(e.exports[i],t);n[l(i,t)]=r||"//empty.js"}else{const r=(i=e.name,o=e.version,"chevrotain"===i&&o.startsWith("10.")?m:void 0),s=d(e.exports,t,r);if(!s)throw new Error("Could not find a valid export for "+t);n[t]=s}}var i,o;!1===e.browser&&(n[t]="//empty.js");for(const r of p){const i=e[r];if("object"==typeof i)for(const e of Object.keys(i)){const o=i[e]||"//empty.js",s=l(e,t,!1),a=l(o,t,!1);n[s]=a,"browser"!==r&&(n[s+"/*"]=a+"/$1")}}return{aliases:n,hasExports:r}}(JSON.parse(yield*t.readFile(n)),a.dirname(n)),t.resolverCache.set(n,r)}catch(e){t.resolverCache.set(n,!1)}return r?{filepath:n,content:r}:null}function*j(e,t,n="/"){const r=y(e,n);for(const e of r){const n=yield*w(e,t);if(n)return n}return null}function x(e,t){const n=e.content.aliases;let r=t,i=r,o=0;do{if(r=i,o>5)throw new Error("Could not resolve file due to a cyclic alias");if(o++,!n[r]){for(const e of Object.keys(n)){if(!e.includes("*"))continue;const t=s.a.makeRe(e,{capture:!0});if(t.test(r)){const o=n[e];if(i=r.replace(t,o),i.startsWith(r)){const e=i.substr(r.length);!e.includes("/")&&r.endsWith(e)&&(i=r)}break}}break}i=n[r]}while(r!==i);return i||r}function*k(e,t){const n=function(e,t){switch(e[0]){case".":return a.join(t,e);case"/":default:return e}}(e,a.dirname(t.filename)),r="/"===n[0];return x(t.pkgJson||(yield*S(r?n:t.filename,t)),n)}function*S(e,t){let n=yield*j(e,t);return n||(n=yield*j("/index",t),n)?n:{filepath:"/package.json",content:{aliases:{},hasExports:!1}}}function*M(e,t,n=0){const r=yield*S(e,t);if(n>5)throw new Error("Cyclic alias detected");for(const i of t.extensions){const o=e+i,s=x(r,o);if(s===o){if(yield*b(o,t.isFile))return o}else{const e=yield*M(s,Object.assign(Object.assign({},t),{extensions:[""]}),n+1);if(e)return e}}return null}function*E(e,t,n=!1){const r=function(e){const t=e.replace(/(\/|\\)+/g,"/");return t.endsWith("/")?t.substring(0,t.length-1):t}(e),i=function(e){const t=e.moduleDirectories?new Set(e.moduleDirectories.map(e=>"/"===e[0]?e.substring(1):e)):new Set;return t.add("node_modules"),{filename:e.filename,extensions:[...new Set(["",...e.extensions])],isFile:e.isFile,readFile:e.readFile,moduleDirectories:[...t],resolverCache:e.resolverCache||new Map,pkgJson:e.pkgJson}}(t),o=yield*k(r,i);if("/"!==o[0]){if(!i.filename.includes("/node_modules")){const e=yield*function*(e){const t=e.resolverCache.get("__root_tsconfig");if(null!=t)return t;let n=!1;try{const t=_(yield*e.readFile("/tsconfig.json"));t&&(n=t)}catch(t){try{const t=_(yield*e.readFile("/jsconfig.json"));t&&(n=t)}catch(e){}}return e.resolverCache.set("__root_tsconfig",n),n}(i);if(e){const t=function(e,t){const n=[];for(const r of Object.keys(t.paths))if(r.endsWith("*")){const i=r.substring(0,r.length-1);if(e.startsWith(i)){const o=e.substr(i.length);for(const e of t.paths[r])n.push(e+o)}}else e===r&&n.push(...t.paths[r]);return n.push(a.join(t.baseUrl,e)),n}(o,e);for(const e of t)try{return yield*E(e,i)}catch(e){}}}try{return yield*function*e(t,n){const r=(e=>{const t=e.split("/");return{pkgName:"@"===t[0][0]?t.splice(0,2).join("/"):t.shift(),filepath:t.join("/")}})(t),i=y(n.filename);for(const o of n.moduleDirectories)for(const s of i){const i=a.join(s,o,r.pkgName);try{const e=a.join(i,r.filepath),t=yield*w(i,n),o=t&&t.content.hasExports?t:yield*j(e,n,i);if(o)try{return yield*E(e,Object.assign(Object.assign({},n),{filename:o.filepath,pkgJson:o}))}catch(t){if(!r.filepath)return yield*E(a.join(e,"index"),Object.assign(Object.assign({},n),{filename:o.filepath}));throw t}}catch(r){if(s.length>1)return yield*e(t,Object.assign(Object.assign({},n),{filename:a.dirname(s)}));throw r}}throw new u.a(t,n.filename)}(o,i)}catch(e){throw new u.a(r,i.filename)}}let s=yield*M(o,i);if(!s&&!n&&(s=yield*M(a.join(o,"index"),i),!s))try{const t=e.split("/");t.length&&t[t.length-1].startsWith("index")||(s=yield*E(e+"/index",i,!0))}catch(e){}if(!s)throw new u.a(o,i.filename);return s}const O=i()(E);O.sync,O.async},"./config/polyfills.js":function(e,t,n){const r="undefined"==typeof window?self:window;n("../../node_modules/whatwg-fetch/fetch.js"),r.cosmiconfig={},r.prettier={},r.jsdom={JSDOM:{fragment:function(e){var t=document.createElement("div");return t.innerHTML=e.trim(),t}}}},"./src/sandbox/eval/transpilers/babel/ast/convert-esmodule.ts":function(e,t,n){"use strict";n.d(t,"a",(function(){return ee}));var r=n("../../node_modules/@babel/runtime/helpers/defineProperty.js"),i=n.n(r),o=n("../../node_modules/escope/lib/index.js");function s(e,{enter:t,leave:n}){return function e(t,n,r,i,o,s){if(t){if(r){const e=a,i=u,h=l;a=!1,u=!1,l=null,r.call(c,t,n,o,s),l&&f(n,o,s,t=l),u&&d(n,o,s);const p=a,m=u;if(a=e,u=i,l=h,p)return t;if(m)return null}for(const n in t){const o=t[n];if("object"==typeof o)if(Array.isArray(o))for(let s=0,a=0;sa=!0,remove:()=>u=!0,replace:e=>l=e};function f(e,t,n,r){e&&(null!==n?e[t][n]=r:e[t]=r)}function d(e,t,n){e&&(null!==n?e[t].splice(n,1):delete e[t])}var h=n("../../node_modules/lodash-es/flatten.js");const p="ArrayPattern",m="AssignmentExpression",b="AssignmentPattern",y="BinaryExpression",g="BlockStatement",v="CallExpression",_="ClassDeclaration",w="ClassExpression",j="ConditionalExpression",x="ExportAllDeclaration",k="ExportDefaultDeclaration",S="ExportNamedDeclaration",M="ExportSpecifier",E="ExpressionStatement",O="FunctionDeclaration",A="FunctionExpression",P="Identifier",C="IfStatement",R="ImportDeclaration",I="ImportDefaultSpecifier",T="ImportNamespaceSpecifier",B="ImportSpecifier",N="Literal",D="LogicalExpression",L="MemberExpression",U="ObjectExpression",F="ObjectPattern",q="Property",H="ReturnStatement",z="UnaryExpression",$="VariableDeclaration",W="VariableDeclarator",K="ExportNamespaceSpecifier";function V(e,t){return{type:$,declarations:[{type:W,id:{type:P,name:e},init:{type:v,callee:{type:P,name:"require"},arguments:[{type:N,value:t}]}}],kind:"var"}}function G(e){return{type:E,expression:{type:v,callee:{type:L,computed:!1,object:{type:v,callee:{type:L,computed:!1,object:{type:P,name:"Object"},property:{type:P,name:"keys"}},arguments:[{type:P,name:e}]},property:{type:P,name:"forEach"}},arguments:[{type:A,id:null,params:[{type:P,name:"key"}],body:{type:g,body:[{type:C,test:{type:D,operator:"||",left:{type:y,operator:"===",left:{type:P,name:"key"},right:{type:N,value:"default",raw:'"default"'}},right:{type:y,operator:"===",left:{type:P,name:"key"},right:{type:N,value:"__esModule",raw:'"__esModule"'}}},consequent:{type:H,argument:null},alternate:null},{type:C,test:{type:v,callee:{type:L,object:{type:L,object:{type:L,object:{type:P,name:"Object"},computed:!1,property:{type:P,name:"prototype"}},computed:!1,property:{type:P,name:"hasOwnProperty"}},computed:!1,property:{type:P,name:"call"}},arguments:[{type:P,name:"exports"},{type:P,name:"key"}]},consequent:{type:H,argument:null},alternate:null},J({type:P,name:"key"},{type:L,computed:!0,object:{type:P,name:e},property:{type:P,name:"key"}})]},generator:!1,expression:!1,async:!1}]}}}function Y(e,t){return{type:E,expression:{type:m,operator:"=",left:{type:L,computed:!1,object:{type:P,name:"exports"},property:{type:P,name:t}},right:{type:P,name:e}}}}function J(e,t){return{type:E,expression:{type:v,callee:{type:L,computed:!1,object:{type:P,name:"Object"},property:{type:P,name:"defineProperty"}},arguments:[{type:P,name:"exports"},e,{type:U,properties:[{type:q,key:{type:P,name:"enumerable"},computed:!1,value:{type:N,value:!0,raw:"true"},kind:"init",method:!1,shorthand:!1},{type:q,key:{type:P,name:"configurable"},computed:!1,value:{type:N,value:!0,raw:"true"},kind:"init",method:!1,shorthand:!1},{type:q,key:{type:P,name:"get"},computed:!1,value:{type:A,id:{type:P,name:"$csbGet"},generator:!1,async:!1,params:[],body:{type:g,body:[{type:H,argument:t}]}},kind:"init",method:!1,shorthand:!1}]}]}}}function Z(e,t){return{type:$,kind:"var",declarations:[{type:W,init:{type:v,callee:{type:P,name:"$_csb__interopRequireDefault"},arguments:[e]},id:{type:P,name:t}}]}}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){const t=e.replace(/[^A-Za-z0-9]+/g,"_");return t.substr(t.length-36)}function ee(e){const t=e.program;e.isDirty=!0;const n={},r={},a={},u=new Set,l=e=>{let t=e.replace(/(\s|\.|-|@|\?|&|=|{|})/g,"");for(;n[t];)t+="_";return n[t]=!0,t};let c=0,f=0;function d(e,n){t.body.splice(e,1),t.body.splice(f,0,n),f++}let y=!1;function C(){y||(y=!0,t.body.unshift({type:E,expression:{type:v,callee:{type:L,computed:!1,object:{type:P,name:"Object"},property:{type:P,name:"defineProperty"}},arguments:[{type:P,name:"exports"},{type:N,value:"__esModule",raw:'"__esModule"'},{type:U,properties:[{type:q,key:{type:P,name:"value"},computed:!1,value:{type:N,value:!0,raw:"true"},kind:"init",method:!1,shorthand:!1}]}]}}),f++,c++)}let ee=!1;function te(){ee||(ee=!0,t.body.push({type:O,params:[{type:P,name:"obj"}],body:{type:g,body:[{type:H,argument:{type:j,test:{type:D,left:{type:P,name:"obj"},right:{type:L,object:{type:P,name:"obj"},computed:!1,property:{type:P,name:"__esModule"}},operator:"&&"},consequent:{type:P,name:"obj"},alternate:{type:U,properties:[{type:q,key:{type:P,name:"default"},value:{type:P,name:"obj"},kind:"init",computed:!1,method:!1,shorthand:!1}]}}}]},async:!1,generator:!1,id:{type:P,name:"$_csb__interopRequireDefault"}}))}let ne=!1;for(s(t,{enter(e,t){if(e.type===$)t.type===g&&!1===ne&&this.skip();else if(e.type===W){const t=e;t.id.type===P&&"exports"===t.id.name&&(ne=!0)}else if(e.type===P&&ne){const t=e;"exports"===t.name&&(t.name="__$csb_exports",this.replace(t))}else ne||null==t||this.skip()}});c{e.type===M?(u.add(e.exported.name),t.body.splice(f++,0,J({type:N,value:e.exported.name},{type:L,object:{type:P,name:r},property:{type:P,name:e.local.name}}))):e.type===K&&t.body.splice(f++,0,J({type:N,value:e.specifier.name},{type:P,name:r})),c++})}else if(e.declaration)if(t.body[c]=e.declaration,e.declaration.type===O||e.declaration.type===_){const n=e.declaration.id.name;c++;const r=e.declaration.type===O?1:c;t.body.splice(r,0,Y(n,n)),u.add(n)}else{const n=e.declaration;t.body.splice(c,1,n,...Object(h.a)(n.declarations.map(e=>e.id.type===F?Object(h.a)(e.id.properties.map(e=>e.type===q&&e.value.type===P&&(u.add(e.value.name),a[e.value.name]=e.value.name,Y(e.value.name,e.value.name)))).filter(Boolean):e.id.type===P?(a[e.id.name]=e.id.name,u.add(e.id.name),Y(e.id.name,e.id.name)):e.id.type===p?Object(h.a)(e.id.elements.map(e=>e.type===P&&(u.add(e.name),a[e.name]=e.name,Y(e.name,e.name)))).filter(Boolean):null)).filter(Boolean))}else e.specifiers&&(t.body.splice(c,1),c--,e.specifiers.forEach(e=>{e.type===M&&(c++,u.add(e.exported.name),t.body.unshift(J({type:N,value:e.exported.name},{type:P,name:e.local.name})),f++)}));else if(e.type===k){C();const n=l("$csb__default");if(e.declaration){e.declaration.type===O?e.declaration.type=A:e.declaration.type===_&&(e.declaration.type=w);const r=e.declaration;e.declaration.type===w||e.declaration.type===A?(e.declaration.id||(e.declaration.id={type:P,name:n}),t.body[c]=e.declaration,c++,t.body.splice(c,0,Y(e.declaration.id.name,"default"))):(t.body[c]={type:$,kind:"var",declarations:[{type:W,id:{type:P,name:n},init:r}]},c++,t.body.splice(c,0,Y(n,"default"))),r.type!==_&&r.type!==A||(a[r.id.name]="default")}}else if(e.type===R){const n=e.source;if("string"!=typeof n.value)continue;const i=l("$csb__".concat(Q(n.value)));d(c,V(i,n.value)),e.specifiers.reverse().forEach(e=>{let n,o;if(e.type!==B){if(c++,e.type===I)return n=e.local.name,o="default",te(),t.body.splice(f,0,Z({type:P,name:i},n)),r[n]=[n,"default"],void f++;e.type===T&&(n=e.local.name,o=null),t.body.splice(f,0,{type:$,kind:"var",declarations:[{type:W,id:{type:P,name:n},init:o?{type:L,computed:!1,object:{type:P,name:i},property:{type:P,name:o}}:{type:P,name:i}}]}),f++}else r[e.local.name]=[i,e.imported.name]})}}if(Object.keys(r).length>0||Object.keys(a).length>0){s(t,{enter(e,t,n,r){if(e.type===q){const t=e;t.shorthand&&t.value.type!==b&&(t.value=function(e){for(var t=1;t{e.references.forEach(e=>{if(Object.prototype.hasOwnProperty.call(r,e.identifier.name)&&null===e.resolved&&!e.writeExpr&&(e.identifier.name="(0, ".concat(r[e.identifier.name].join("."),")")),Object.prototype.hasOwnProperty.call(a,e.identifier.name)&&e.isWrite()&&null===e.resolved&&!e.init){const t=a[e.identifier.name];if(e.isRead())throw new Error("Can't convert read + write exports");e.identifier.name="exports.".concat(t," = ").concat(e.identifier.name)}})}),e.detach()}!function(){const e=[...u];for(;0!==e.length;){const n=e.splice(0,50),r={type:E,expression:{type:m,operator:"="}};let i=r.expression;for(;n.length>0;){const e=n.pop();i.left={type:L,object:{type:P,name:"exports"},property:{type:P,name:e}},n.length?(i.right={type:m,operator:"="},i=i.right):i.right={type:z,operator:"void",prefix:!0,argument:{type:N,value:0}}}t.body.unshift(r)}}()}},"./src/sandbox/eval/transpilers/babel/ast/utils.ts":function(e,t,n){"use strict";n.d(t,"b",(function(){return A})),n.d(t,"a",(function(){return P}));var r=n("../../node_modules/meriyah/dist/meriyah.umd.js");const{stringify:i}=JSON;if(!String.prototype.repeat)throw new Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw new Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");const o={"||":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},s={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function a(e,t){const{generator:n}=e;if(e.write("("),null!=t&&t.length>0){n[t[0].type](t[0],e);const{length:r}=t;for(let i=1;i0){e.write(r);for(let t=1;t0){n.VariableDeclarator(r[0],e);for(let t=1;t0){t.write(r),i&&null!=e.comments&&f(t,e.comments,o,r);const{length:a}=s;for(let e=0;e0){for(;i0&&t.write(", ");const e=n[i],r=e.type[6];if("D"===r)t.write(e.local.name,e),i++;else{if("N"!==r)break;t.write("* as "+e.local.name,e),i++}}if(i0)for(let e=0;;){const i=n[e],{name:o}=i.local;if(t.write(o,i),o!==i.exported.name&&t.write(" as "+i.exported.name),!(++e "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:m=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)},SpreadElement:m,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),l(t,e.argument,e)},TemplateLiteral(e,t){const{quasis:n,expressions:r}=e;t.write("`");const{length:i}=r;for(let e=0;e0){const{elements:n}=e,{length:r}=n;for(let e=0;;){const i=n[e];if(null!=i&&this[i.type](i,t),!(++e0){t.write(r),i&&null!=e.comments&&f(t,e.comments,o,r);const s=","+r,{properties:a}=e,{length:u}=a;for(let e=0;;){const n=a[e];if(i&&null!=n.comments&&f(t,n.comments,o,r),t.write(o),this[n.type](n,t),!(++e0){const{properties:n}=e,{length:r}=n;for(let e=0;this[n[e].type](n[e],t),++e1)&&("U"!==i[0]||"n"!==i[1]&&"p"!==i[1]||!r.prefix||r.operator[0]!==n||"+"!==n&&"-"!==n)||t.write(" "),o?(t.write(n.length>1?" (":"("),this[i](r,t),t.write(")")):this[i](r,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:b=function(e,t){const n="in"===e.operator;n&&t.write("("),l(t,e.left,e,!1),t.write(" "+e.operator+" "),l(t,e.right,e,!0),n&&t.write(")")},LogicalExpression:b,ConditionalExpression(e,t){const{test:n}=e,r=t.expressionsPrecedence[n.type];17===r||r<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[n.type](n,t),t.write(")")):this[n.type](n,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");const n=t.expressionsPrecedence[e.callee.type];17===n||n0&&(this.lineEndSize>0&&(1===r.length?e[n-1]===r:e.endsWith(r))?(this.line+=this.lineEndSize,this.column=0):this.column+=n)}toString(){return this.output}}var j=n("../../node_modules/@babel/runtime/helpers/defineProperty.js"),x=n.n(j),k={JSXElement(e,t){if(t.write("<"),this[e.openingElement.type](e.openingElement,t),e.closingElement){t.write(">");for(let n=0;n")}else t.write(" />")},JSXOpeningElement:function(e,t){this[e.name.type](e.name,t);for(let n=0;n1&&t.write(" "),E[e.argument.type]Object(g.a)().sync(e,{basePath:t})}))};w=Object.assign(w,{createMacro:y.createMacro,MacroError:y.MacroError});var j=w;function x(e,t,n){return function(t){return{visitor:{ImportDeclaration:function(t,r){return function(t,r,i){(function(e){return!1!==(!(e=n||e)||e.import)})(i)&&e(t.get("source"),r,i)}(t,r.file,r.opts)},CallExpression:function(t,r){return function(t,r,i){if(!function(e){return!1!==(!(e=n||e)||e.require)}(i))return;var o=t.get("callee");if(o.isIdentifier()&&o.node.name===function(e){return(e=n||e)&&e.word||"require"}(i)){var s=t.get("arguments.0");!s||s.isGenerated()&&!function(e){return e=n||e,Boolean(e&&e.generated)}(i)||e(s,r,i)}}(t,r.file,r.opts)},ExportNamedDeclaration:function(e,t){return r(e,t.file,t.opts)},ExportAllDeclaration:function(e,t){return r(e,t.file,t.opts)}}}};function r(t,r,i){(function(e){return!1!==(!(e=n||e)||e.export)})(i)&&t.get("source").node&&e(t.get("source"),r,i)}}function k(e,t,n){var r=O(n)?e:e.value;E(t).strings.push(r)}function S(e,t,n){var r;return O(n)?r=e:(r={start:e.start,end:e.end}).loc={start:M(e.loc.start),end:M(e.loc.end)},function(e){return Boolean(e&&e.source)}(n)&&(r.code=t.code.slice(r.start,r.end)),E(t).expressions.push(r),r}function M(e){return e&&{line:e.line,column:e.column}}function E(e){var t=e.metadata;return t.requires||(t.requires={strings:[],expressions:[]}),t.requires}function O(e){return Boolean(e&&e.nodes)}function A(e){return e.metadata.requires}var P=x((function(e,t,n){(e.isLiteral()&&"TemplateLiteral"!==e.type?k:S)(e.node,t,n)}));function C(e){let t=e.types;const n=(0,e.template)("\n if (ITERATOR++ > MAX_ITERATIONS) {\n var csb_global = typeof window === 'undefined' ? self : window;\n csb_global.infiniteLoopError = new RangeError(\n 'Potential infinite loop: exceeded ' +\n MAX_ITERATIONS +\n ' iterations. You can disable this check by creating a sandbox.config.json file.'\n );\n throw csb_global.infiniteLoopError;\n }\n ");return{visitor:{"WhileStatement|ForStatement|DoWhileStatement":(e,r)=>{const i=e.scope.parent.generateUidIdentifier("loopIt"),o=t.numericLiteral(0);e.scope.parent.push({id:i,init:o});const s=n({ITERATOR:i,MAX_ITERATIONS:t.numericLiteral(100001)});if(e.get("body").isBlockStatement())e.get("body").unshiftContainer("body",s);else{const n=e.get("body").node;e.get("body").replaceWith(t.blockStatement([s,n]))}}}}}const R={css:[],sass:["sass-loader?indentedSyntax=1"],scss:["sass-loader"],less:["less-loader"],styl:["stylus-loader"],stylus:["stylus-loader"]};var I=x(e=>{if(e.container&&e.container.specifiers&&e.container.specifiers.length>0){const t=e.node.value;let n=Object(b.extname)(t);n&&(n=n.substr(1));const r=R[n];if(null!=r){const n="!style-loader?module=true!"+r.join("!")+"!"+t;e.node.value=n}}}),T=function(){return{name:"babel-plugin-csb-rename-import",manipulateOptions:function(e,t){t.plugins.push("dynamicImport")},visitor:{CallExpression(e){"Import"===e.node.callee.type&&(e.node.callee={type:"Identifier",name:"$csbImport"})}}}};function B(e){if(!e)return[];const t={};e.strings&&e.strings.forEach(e=>{t[e.value]="direct"}),e.expressions&&e.expressions.forEach(e=>{"BinaryExpression"===e.type?t[e.left.value]="glob":"TemplateLiteral"===e.type?t[e.quasis[0].value.raw]="glob":"CallExpression"===e.type&&"MemberExpression"===e.callee.type&&"Identifier"===e.callee.property.type&&"concat"===e.callee.property.name&&e.arguments&&e.arguments[0]&&e.arguments[0].left&&"BinaryExpression"===e.arguments[0].left.type&&"StringLiteral"===e.arguments[0].left.left.type&&(t[e.arguments[0].left.left.value]="glob")});const n=[],r=Object.keys(t);for(let e=0;e"/index.js"};let q=!1;!function(){if(q)return;const e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};const t=(new Error).stack;Error.prepareStackTrace=e,q="function"==typeof t[0].getFileName}();class H extends Error{constructor(e){super(e),this.stack={2:F,split:()=>[F,F,F,F],replace:()=>""}}}function z(e){return e.replace("babel-plugin-","").replace("@babel/plugin-","")}function $(e){return e.replace("babel-preset-","").replace("@babel/preset-","")}var W=n("../../node_modules/hash-sum/hash-sum.js"),K=n.n(W),V=n("../../node_modules/node-libs-browser/node_modules/events/events.js"),G=n("../../node_modules/crypto-browserify/index.js"),Y=n("../../node_modules/util/util.js"),J=n("../../node_modules/path-browserify/index.js");const Z=/(;|^|}|\s)(import|export)(\s|{|"|\*)/gm;function X(e){return Z.lastIndex=0,-1!==e.indexOf("export default")||Z.test(e)}const Q={};let ee,te,ne,re=[],ie=!1,oe=-1;function se(){throw new Error("setTimeout has not been defined")}function ae(){throw new Error("clearTimeout has not been defined")}function ue(e){if(ee===setTimeout)return setTimeout(e,0);if((ee===se||!ee)&&setTimeout)return ee=setTimeout,setTimeout(e,0);try{return ee(e,0)}catch(t){try{return ee.call(null,e,0)}catch(t){return ee.call(this,e,0)}}}function le(){if(ie)return;const e=ue(ce);ie=!0;let t=re.length;for(;t;){for(ne=re,re=[];++oe1)for(let e=1;el[e]);try{return(0,eval)("(function $csb$eval("+f+") {"+e+"\n})").apply(l.global,d),n.exports}catch(e){let t=e;throw"string"==typeof e&&(t=new Error(e)),t.isEvalError=!0,t}};let be=null;function ye(){return n.e(0).then(n.t.bind(null,"../../node_modules/@babel/types/lib/index.js",7)).then(e=>{be=e})}function ge(){if(!be)throw new Error("Babel types aren't loaded");return be}let ve={},_e={},we=!1;const je=()=>{ve={},_e={}};function xe(e,t,n,r,i,o){const s=Object(g.a)().sync(n,{filename:r,extensions:[".cjs",".js",".json"]}),a=e.readFileSync(s).toString();return function e(t,n,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5?arguments[5]:void 0;const a=r=>{if("events"===r)return V;if("util"===r)return Y;if("assert"===r)return()=>{};if("crypto"===r)return G;if("stream"===r)return{};if("constants"===r)return{};if("os"===r)return{homedir:()=>"/"};if("module"===r)return{};if("resolve"===r)return Object(g.a)();if("babel-register"===r)return we=!0,()=>{};if("require-from-string"===r)return(r,i)=>e(t,n,r,i,o,s);if("@babel/types"===r)return ge();const a=n(r);if(a)return a;const u=o[r]||o[r.replace("babel-plugin-","")]||o[r.replace("@babel/plugin-","")];if(u&&"react"!==r)return r.startsWith("@babel/plugin")?{__esModule:!0,default:u}:u;const l=s[r]||s[r.replace("babel-preset-","")]||s[r.replace("@babel/preset-","")];if(l&&"react"!==r)return r.startsWith("@babel/preset")&&"@babel/preset-env"!==r?{__esModule:!0,default:l}:l;const c=Object(J.dirname)(i);_e[c]=_e[c]||{};const f=_e[c][r]||Object(g.a)().sync(r,{filename:"/"===i?"/index.js":i,extensions:[".cjs",".js",".json"]});_e[c][r]=f;const d=t.readFileSync(f).toString(),h=K()(d+f);return ve[h]?ve[h].exports:(ve[h]={},e(t,n,d,f,o,s))};a.resolve=e=>e;const u=K()(r+i);ve[u]={id:i,exports:{}};let l=r;if(i.endsWith(".json")&&(l="module.exports = JSON.parse(".concat(JSON.stringify(r),")")),l+="\n//# sourceURL=".concat(location.origin).concat(i),we||X(l)){l=self.Babel.transform(l,{presets:["env"]}).code}const c=me(l,a,ve[u],{VUE_CLI_BABEL_TRANSPILE_MODULES:!0},{__dirname:Object(J.dirname)(i),__filename:Object(J.basename)(i)});return c}(e,t,a,s,i,o)}var ke=n("../../node_modules/@babel/runtime/helpers/toArray.js"),Se=n.n(ke);function Me(e,t){const n=e.split("/"),r=Se()(n),i=r[0],o=r.slice(1),s=t?"@babel/preset-":"babel-preset-";return e.startsWith("@")?i+"/babel-preset-"+o.join("/"):"".concat(s).concat(e)}function Ee(e,t){const n=e.split("/"),r=Se()(n),i=r[0],o=r.slice(1),s=t?"@babel/plugin-":"babel-plugin-";return e.startsWith("@")?i+"/babel-plugin-"+o.join("/"):"".concat(s).concat(e)}class Oe extends Error{}function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;t{this.handleMessage(e.data).catch(console.error)}),self.postMessage({type:"worker_started",codesandbox:!0})}registerFunction(e,t){this.functions.set(e,t)}registerFSInitializer(e){this.initializeFS=e}handleMessage(e){var t=this;return u()((function*(){if("object"==typeof e&&e.codesandbox)if(t.isReady)switch(e.type){case"ping":t.isReady&&(yield t.emitReady());break;case"request":yield t.handleCallRequest(e);break;case"response":yield t.handleCallResponse(e);break;case"initialize-fs":if(!t.initializeFS)throw new Error("initializeFS is undefined for ".concat(t.name));yield t.initializeFS()}else t.queuedMessages.push(e);else e.browserfsMessage||console.warn("Invalid message from main thread to ".concat(t.name),e)}))()}handleCallResponse(e){const t=this.pendingCalls.get(e.idx);t&&(e.isError?t.reject(function(e){const t=new Oe(e.message);return t.name=e.name,t.columnNumber=e.columnNumber,t.fileName=e.fileName,t.lineNumber=e.lineNumber,t}(e.data)):t.resolve(e.data))}handleCallRequest(e){var t=this;return u()((function*(){try{const n=t.functions.get(e.method);if(!n)throw new Error("Could not find registered child function for call ".concat(t.name,"#").concat(e.method));const r=yield n(e.data);self.postMessage({type:"response",codesandbox:!0,idx:e.idx,data:r})}catch(t){console.error(t),self.postMessage({type:"response",codesandbox:!0,idx:e.idx,isError:!0,data:(n=t,{name:n.name,message:n.message,fileName:n.fileName,lineNumber:n.lineNumber,columnNumber:n.columnNumber})})}var n}))()}callFn(e){let t=e.method,n=e.data;const r=this.callId++,i={type:"request",codesandbox:!0,idx:r,method:t,data:n};return new Promise((e,o)=>{this.pendingCalls.set(r,{method:t,data:n,resolve:e,reject:o}),self.postMessage(i)})}emitReady(){this.isReady=!0,this.queuedMessages.forEach(e=>{console.warn("Run queued message",e),this.handleMessage(e).catch(console.error)}),self.postMessage({type:"ready",codesandbox:!0})}}("babel-worker"),Be=["util","os"],Ne=self.BrowserFS;Ne.configure({fs:"InMemory"},()=>{}),self.process={cwd:()=>"/",env:{NODE_ENV:"development",BABEL_ENV:"development"},platform:"linux",argv:[],stderr:{},versions:{node:10}},self.module={exports:{}};const De=self.module.exports;function Le(e){return Ue.apply(this,arguments)}function Ue(){return(Ue=u()((function*(e){Re=!0;const t=yield D({childHandler:Te,loaderContextId:e}),n={};t.forEach(e=>{n[e.path]={module:e}});const r={getTranspiledModules:()=>n,addModule:()=>{},removeModule:()=>{},moveModule:()=>{},updateModule:()=>{}};return new Promise(e=>{Ne.configure({fs:"OverlayFS",options:{writable:{fs:"InMemory"},readable:{fs:"CodeSandboxFS",options:{manager:r}}}},t=>{t?console.error(t):(Re=!1,Ce=!0,e(null))})})}))).apply(this,arguments)}function Fe(e){return qe.apply(this,arguments)}function qe(){return(qe=u()((function*(e){if(!Ce)for(Re||(yield Promise.all([Le(e),ye()]));!Ce;)yield h()(50)}))).apply(this,arguments)}function He(e){return ze.apply(this,arguments)}function ze(){return(ze=u()((function*(e){let t=e.name,n=e.isV7,r=e.isPreset,i=void 0!==r&&r,o=e.loaderContextId;const s=m(t);try{return yield Object(N.b)(Object(b.join)(s,"package.json"),{loaderContextId:o,childHandler:Te}),t}catch(e){const t=(i?Me:Ee)(s,n);try{yield Object(N.b)(Object(b.join)(t,"package.json"),{loaderContextId:o,childHandler:Te})}catch(e){throw new Error("Cannot find plugin '".concat(s,"' or '").concat(t,"'"))}return t}}))).apply(this,arguments)}function $e(e){return We.apply(this,arguments)}function We(){return(We=u()((function*(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=e.Babel,r=e.BFSRequire,i=e.name,o=e.currentPath,s=e.isV7,a=e.loaderContextId,u=z(i);if(n.availablePlugins[i])return n.availablePlugins[u]=n.availablePlugins[i],n.availablePlugins[i];if(n.availablePlugins[u])return n.availablePlugins[i]=n.availablePlugins[u],n.availablePlugins[i];yield Fe(a);const l=r("fs");let c=null;const f=yield He({name:i,isV7:s,loaderContextId:a}),d="/node_modules/".concat(f);yield Object(N.b)(d,{childHandler:Te,loaderContextId:a});try{yield Object(N.b)(d,{childHandler:Te,loaderContextId:a});const e=xe(l,r,d,o,n.availablePlugins,n.availablePresets);c=e.default||e}catch(n){if(t>5)throw console.error("Compiling babel plugin "+i+" went wrong, got:"),n;return console.warn("Compiling "+i+" went wrong, got:"),console.warn(n),yield Object(N.a)({error:n,childHandler:Te,loaderContextId:a}),je(),$e(e,t+1)}if(!c)throw new Error("Could not install plugin '".concat(i,"', it is undefined."));return n.availablePlugins[i]=c,n.availablePlugins[z(i)]=c,c}))).apply(this,arguments)}function Ke(e){return Ve.apply(this,arguments)}function Ve(){return(Ve=u()((function*(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=e.Babel,r=e.BFSRequire,i=e.name,o=e.currentPath,s=e.isV7,a=e.loaderContextId,u=$(i);if(n.availablePresets[i])return n.availablePresets[u]=n.availablePresets[i],n.availablePresets[i];if(n.availablePresets[u])return n.availablePresets[i]=n.availablePresets[u],n.availablePresets[i];yield Fe(a);const l=r("fs");let c=null;const f=yield He({name:i,isV7:s,isPreset:!0,loaderContextId:a});try{yield Object(N.b)(f,{childHandler:Te,loaderContextId:a});const e=xe(l,r,f,o,n.availablePlugins,n.availablePresets);c=e.default||e}catch(n){if(t>5)throw console.error("Compiling babel preset "+i+" went wrong, got:"),n;return console.warn("Compiling "+i+" went wrong, got:"),console.warn(n),yield Object(N.a)({error:n,childHandler:Te,loaderContextId:a}),je(),Ke(e,t+1)}if(!c)throw new Error("Could not install preset '".concat(i,"', it is undefined."));return n.availablePresets[i]=c,n.availablePresets[u]=c,c}))).apply(this,arguments)}function Ge(e){return t=>{if("string"==typeof t)return t.replace(e,"");if(Array.isArray(t)){const n=s()(t,2),r=n[0],i=n[1];return[r.replace(e,""),i]}return t}}self.exports=De,self.require=e=>{if("resolve"===e)return Object(g.a)();if("assert"===e)return n("../../node_modules/assert/assert.js");if("tty"===e)return{isatty:()=>!1};if("util"===e)return n("../../node_modules/util/util.js");if("os"===e){const e=n("../../node_modules/os-browserify/browser.js");return e.homedir=()=>"/home/sandbox",e}const t=Ne.BFSRequire(e);if(t)return t;if(Be.indexOf(e)>-1)return{};const r=Ne.BFSRequire("fs");return"Babel"in self?xe(r,Ne.BFSRequire,e,"/node_modules/babel-plugin-macros/index.js",Babel.availablePlugins,Babel.availablePresets):void 0},self.require.resolve=e=>p.sync(e);const Ye=new RegExp("@babel/plugin-"),Je=new RegExp("@babel/preset-");function Ze(e){return Pe(Pe({},e),{},{plugins:(e.plugins||[]).map(Ge(Ye)),presets:(e.presets||[]).map(Ge(Je))})}function Xe(e,t,n,r){let i=e.config,o=e.codeSandboxPlugins;return/^\/node_modules/.test(n)&&/\.js$/.test(n)&&r.compileNodeModulesWithEnv?7===t?{parserOpts:{plugins:["dynamicImport","objectRestSpread"]},presets:["env","react"],plugins:["transform-flow-strip-types","babel-plugin-csb-rename-import","transform-modules-commonjs","@babel/plugin-transform-runtime",...o]}:{presets:["es2015","react","stage-0"],plugins:["babel-plugin-csb-rename-import","transform-es2015-modules-commonjs","transform-class-properties",["transform-runtime",{helpers:!1,polyfill:!1,regenerator:!0}],["transform-regenerator",{async:!1}],...o]}:Pe(Pe({},i),{},{plugins:i.plugins?["babel-plugin-csb-rename-import",...i.plugins,...o]:o})}function Qe(e){return et.apply(this,arguments)}function et(){return(et=u()((function*(e){const t=e.code,r=e.config,i=e.path,o=e.isV7,s=e.loaderContextId;if(i.includes("node_modules")){const e=e=>"string"==typeof e?!e.includes("refresh"):!e[0].includes("refresh");r.plugins=r.plugins.filter(e),r.presets=r.presets.filter(e)}try{let e;try{e=Babel.transform(t,r)}catch(e){if(e.message=e.message.replace("unknown",i),!o){const r=yield n.e(1).then(n.t.bind(null,"../../node_modules/babel-code-frame/lib/index.js",7)).then(e=>e.default),i=/\((\d+):(\d+)\)/,o=e.message.match(i);if(o&&o[1]&&o[2]){const n=+o[1],i=+o[2],s=e.message+"\n\n"+r(t,n,i);e.message=s}}throw e}const s=B(A(e));return o&&(s.push({path:"@babel/runtime/helpers/interopRequireDefault",type:"direct"}),s.push({path:"@babel/runtime/helpers/interopRequireWildcard",type:"direct"})),{code:e.code,dependencies:s}}catch(t){const n="MODULE_NOT_FOUND"===t.code||t.message.indexOf("Cannot find module")>-1;if(!Ce&&(n||"EIO"===t.code))return yield Fe(s),Qe(e);if(n)return yield Object(N.a)({error:t,childHandler:Te,loaderContextId:s}),je(),Qe(e);throw t}}))).apply(this,arguments)}try{self.path$2=Ne.BFSRequire("path"),self.fs$1=Ne.BFSRequire("fs"),self.importScripts("".concat("","/static/js/babel.").concat("7.21.8",".min.js")),U(),ut()}catch(e){console.error(e)}function tt(){return(tt=u()((function*(e){const t=e.transpilerOptions;return lt(t&&t.babelURL,t&&t.babelEnvURL),{version:Babel.version,availablePlugins:Object.keys(Babel.availablePlugins),availablePresets:Object.keys(Babel.availablePresets)}}))).apply(this,arguments)}function nt(e){return rt.apply(this,arguments)}function rt(){return(rt=u()((function*(e){const t=e.path,r=e.sandboxOptions,i=e.babelTranspilerOptions,o=e.config,s=e.loaderOptions,a=e.version,c=e.hasMacros,d=e.loaderContextId,h=s.disableCodeSandboxPlugins,p=i&&i.babelURL,m=i&&i.babelEnvURL;p||m?lt(p,m):7!==a&<("".concat("","/static/js/babel.6.26.min.js"));const b=JSON.stringify(i);b&&Ie!==b&&(je(),Ie=b);const y=[];h||(s.dynamicCSSModules&&y.push("dynamic-css-modules"),r&&!r.infiniteLoopProtection||y.push("babel-plugin-transform-prevent-infinite-loops")),y.push(["babel-plugin-detective",{source:!0,nodes:!0,generated:!0}]);const g=Xe({config:o,codeSandboxPlugins:y},a,t,s),v=Object(l.a)(g.presets||[]),_=Object(l.a)(g.plugins||[]);if(!h){if(-1===Object.keys(Babel.availablePresets).indexOf("env")&&7!==a&&Babel.registerPreset("env",Babel.availablePresets.latest),(_.indexOf("transform-vue-jsx")>-1||_.indexOf("babel-plugin-transform-vue-jsx")>-1)&&-1===Object.keys(Babel.availablePlugins).indexOf("transform-vue-jsx")){const e=yield n.e("babel-plugin-transform-vue-jsx").then(n.t.bind(null,"../../node_modules/babel-plugin-transform-vue-jsx/index.js",7));Babel.registerPlugin("transform-vue-jsx",e),Babel.registerPlugin("babel-plugin-transform-vue-jsx",e)}if((_.indexOf("jsx-pragmatic")>-1||_.indexOf("babel-plugin-jsx-pragmatic")>-1)&&-1===Object.keys(Babel.availablePlugins).indexOf("jsx-pragmatic")){const e=yield n.e("babel-plugin-jsx-pragmatic").then(n.t.bind(null,"../../node_modules/babel-plugin-jsx-pragmatic/jsx-pragmatic.js",7));Babel.registerPlugin("jsx-pragmatic",e),Babel.registerPlugin("babel-plugin-jsx-pragmatic",e)}if(_.indexOf("babel-plugin-macros")>-1&&-1===Object.keys(Babel.availablePlugins).indexOf("babel-plugin-macros")&&(c&&(yield Fe(d)),Babel.registerPlugin("babel-plugin-macros",j)),_.indexOf("react-refresh/babel")>-1&&-1===Object.keys(Babel.availablePlugins).indexOf("react-refresh/babel")&&Babel.registerPlugin("react-refresh/babel",f.a),_.indexOf("transform-cx-jsx")>-1&&-1===Object.keys(Babel.availablePlugins).indexOf("transform-cx-jsx")){const e=yield n.e("transform-cx-jsx").then(n.t.bind(null,"../../node_modules/babel-plugin-transform-cx-jsx/index.js",7));Babel.registerPlugin("transform-cx-jsx",e)}}return yield Promise.all(_.filter(e=>"string"==typeof e).map(function(){var e=u()((function*(e){try{yield $e({Babel:Babel,BFSRequire:Ne.BFSRequire,name:e,currentPath:t,isV7:!Babel.version.startsWith("6"),loaderContextId:d})}catch(t){throw console.warn(t),new Error("Could not find/install babel plugin '".concat(e,"': ").concat(t.message))}}));return function(t){return e.apply(this,arguments)}}())),yield Promise.all(v.filter(e=>"string"==typeof e).map(function(){var e=u()((function*(e){try{yield Ke({Babel:Babel,BFSRequire:Ne.BFSRequire,name:e,currentPath:t,isV7:!Babel.version.startsWith("6"),loaderContextId:d})}catch(t){throw new Error("Could not find/install babel preset '".concat(e,"': ").concat(t.message))}}));return function(t){return e.apply(this,arguments)}}())),{customConfig:g}}))).apply(this,arguments)}function it(){return(it=u()((function*(e){const t=(yield nt(e)).customConfig,n=e.code,r=e.path,i=e.version,o=e.loaderContextId;if(null==o)throw new Error("Loader context is required to compile run BabelWorker#compile()");return Qe({code:n,config:7===i?Ze(t):t,path:r,isV7:7===i,loaderContextId:o})}))).apply(this,arguments)}function ot(){return(ot=u()((function*(){const e={path:"test.js",code:'const a = "b";',config:{presets:["env"]},version:7,loaderOptions:{}},t=(yield nt(e)).customConfig,n=e.code;Babel.transform(n,Ze(t))}))).apply(this,arguments)}Te.registerFunction("get-babel-context",(function(e){return tt.apply(this,arguments)})),Te.registerFunction("compile",(function(e){return it.apply(this,arguments)})),Te.emitReady(),function(){return ot.apply(this,arguments)}().catch(console.error);let st=null,at=null;function ut(){Babel.availablePlugins["babel-plugin-detective"]||Babel.registerPlugin("babel-plugin-detective",P),Babel.availablePlugins["dynamic-css-modules"]||Babel.registerPlugin("dynamic-css-modules",I),Babel.availablePlugins["babel-plugin-csb-rename-import"]||Babel.registerPlugin("babel-plugin-csb-rename-import",T),Babel.availablePlugins["babel-plugin-transform-prevent-infinite-loops"]||Babel.registerPlugin("babel-plugin-transform-prevent-infinite-loops",C),!Babel.availablePlugins["syntax-dynamic-import"]&&Babel.availablePlugins["proposal-dynamic-import"]&&Babel.registerPlugin("syntax-dynamic-import",Babel.availablePlugins["proposal-dynamic-import"])}function lt(e,t){e&&e!==st&&(self.importScripts(e),st=e),t&&t!==at&&(self.importScripts(t),at=t),U(),ut()}q||(self.Error=H,q=!0)},"./src/sandbox/eval/transpilers/babel/worker/dynamic-download.ts":function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return y})),n.d(t,"a",(function(){return v}));var r=n("../../node_modules/@babel/runtime/helpers/asyncToGenerator.js"),i=n.n(r),o=n("../common/lib/utils/global.js"),s=n("../sandpack-core/lib/resolver/errors/ModuleNotFound.js"),a=n("./src/sandbox/eval/transpilers/babel/worker/simple-get-require-statements.ts"),u=n("./src/sandbox/eval/transpilers/babel/ast/convert-esmodule.ts"),l=n("./src/sandbox/eval/transpilers/babel/ast/utils.ts"),c=n("./src/sandbox/eval/transpilers/babel/worker/utils/resolvePatch.ts");const f=Object(o.getGlobal)(),d=f.BrowserFS.BFSRequire("path");function h(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.isRelativeToScript,i=void 0!==r&&r;const o=f.BrowserFS.BFSRequire("fs"),s=d.sep,a=d.isAbsolute(t)?s:"",u=i?e:".";return t.split(s).reduce((e,n)=>{const r=d.resolve(u,e,n);try{o.mkdirSync(r)}catch(n){if("EEXIST"===n.code)return r;if("ENOENT"===n.code)throw new Error("EACCES: permission denied, mkdir '".concat(e,"'"));const i=["EACCES","EPERM","EISDIR"].indexOf(n.code)>-1;if(!i||i&&r===d.resolve(t))throw n}return r},a)}const p=new Map,m=(e,t)=>{const n=t.ignoredExtensions,r=t.childHandler,i=t.loaderContextId;return p.get(e)||p.set(e,r.callFn({method:"resolve-async-transpiled-module",data:{loaderContextId:i,path:e,options:{isAbsolute:!0,ignoredExtensions:n}}}).then(t=>{if(!t.found)throw new Error('Could not find path: "'.concat(e,'".'));return t})),p.get(e)};function b(e,t,n){const r=n.childHandler,o=n.loaderContextId,s=Object(a.a)(t);return Promise.all(s.map(function(){var t=i()((function*(t){if("direct"===t.type){if("babel-plugin-macros"===t.path)return;try{Object(c.a)().sync(t.path,{filename:e,extensions:[".js",".json"]})}catch(e){yield v({error:e,childHandler:r,loaderContextId:o})}}}));return function(e){return t.apply(this,arguments)}}()))}function y(e,t){return g.apply(this,arguments)}function g(){return(g=i()((function*(e,t){let n=t.childHandler,r=t.loaderContextId;const i=yield m(e,{childHandler:n,loaderContextId:r});if(!i.found)throw new Error("".concat(e," not found."));yield n.callFn({method:"add-transpilation-dependency",data:{loaderContextId:r,path:i.path}});const o=f.BrowserFS.BFSRequire("fs");let s;try{s=o.readFileSync(i.path)}catch(e){}if(s){try{const t=yield m(e.endsWith("/package.json")?e:d.join(e,"package.json"),{childHandler:n,loaderContextId:r});t&&(h(d.dirname(t.path)),o.writeFileSync(t.path,t.code))}catch(e){}const t=s.toString();return yield b(i.path,t,{childHandler:n,loaderContextId:r}),{code:t,path:i.path}}h(d.dirname(i.path));let a=i.code;try{const e=Object(l.b)(i.code);Object(u.a)(e),a=Object(l.a)(e)}catch(e){console.warn(e)}return o.writeFileSync(i.path,a),yield b(i.path,a,{childHandler:n,loaderContextId:r}),i}))).apply(this,arguments)}function v(e){const t=e.error,n=e.childHandler,r=e.loaderContextId,i=function(e){if(e instanceof s.a)return e.filepath;if(e.message.indexOf("Cannot find module")>-1){const t=e.message.match(/Cannot find module '(.*?)'.*from '(.*?)'/),n=t[1],r=t[2];return n.startsWith(".")?d.join(r,n):n}return null}(t);return i?y(i,{childHandler:n,loaderContextId:r}):Promise.resolve()}}).call(this,"/")},"./src/sandbox/eval/transpilers/babel/worker/simple-get-require-statements.ts":function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));const r=/require\s*\(\s*['|"|`]([^\s]*)['|"|`]\s*\)/g,i=/require\s*\(\s*['|"|`]([^\s]*)['|"|`]\s*\)/,o=/^(\s*\/?\*)|(\/\/)/;function s(e){const t=[];return e.split("\n").forEach(e=>{const n=-1===e.indexOf("/*#__PURE__*/")&&o.exec(e);if(n&&0===n.index)return;if(e.includes('require("".concat'))throw new Error("Glob require is part of statement");const s=e.match(r);s&&s.forEach(r=>{const o=r.match(i);if(o){if(n&&e.indexOf(r)>n.index)return;o[1]?t.find(e=>"direct"===e.type&&e.path===o[1])||t.push({type:"direct",path:o[1]}):o[2]&&/'|"|`/.test(o[2])&&(t.find(e=>"glob"===e.type&&e.path===o[2])||t.push({type:"glob",path:o[2]}))}})}),t}},"./src/sandbox/eval/transpilers/babel/worker/utils/resolvePatch.ts":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return a}));var r=n("../sandpack-core/lib/resolver/resolver.js"),i=n("../../node_modules/gensync/index.js"),o=n.n(i);function s(e,t){const n=e.basePath||e.basedir;return{filename:(n?n+"/index.js":e.filename)||"/index.js",extensions:e.extensions?e.extensions:[".js",".cjs",".mjs",".json",".ts",".tsx"],moduleDirectories:["node_modules"],isFile:o()({sync:e=>(e=>{try{return t.statSync(e).isFile()}catch(e){return!1}})(e)}),readFile:o()({sync:e=>t.readFileSync(e,"utf8")})}}function a(){const t=e.BrowserFS.BFSRequire("fs"),n={get:(e,n)=>(n,r)=>{const i=s(r,t);return e.sync(n,i)}};return new Proxy(r.a,n)}}).call(this,n("../../node_modules/webpack/buildin/global.js"))},0:function(e,t){},1:function(e,t){},2:function(e,t){},3:function(e,t){},4:function(e,t){}}); //# sourceMappingURL=babel-transpiler.ef09383f.worker.js.map