brsh 1.2.5 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/shell.min.js CHANGED
@@ -1,17 +1,17 @@
1
1
  (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Shell = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2
- (function (global){
3
- "use strict";const EventEmitter=require(21),Context=require(3),LocalCommand=require(12),ScriptCommand=require(6),Command=require(2),builtins=require(10),localCommands=require(18),variableRegex=/\${?([\w\d]+)}?/g;String.prototype.regexIndexOf=function(t,e){const s=this.substring(e||0).search(t);return s>=0?s+(e||0):s},require(64).shim();class Shell extends EventEmitter{constructor(t){super();const{path:e="/bin",profile:s,hostname:i="browser",filesystem:r={},cwd:o="/"}=t;this.context=new Context(Object.assign({},t,{clearFn:this.clear.bind(this),destroyFn:this.destroy.bind(this)})),this.context.setVar("PATH",e),this.context.setVar("HOST",i),this.context.setFilesystem(r),this.context.setCwd(o),this._loadDefaultCommands(),this._loadBuiltinCommands(),this._lastCode=0,s?this._loadProfile(s):setTimeout(()=>this.emit("status",Shell.STATUS_READY),0)}get path(){return this.context.getVar("PATH")}set lastCode(t){this.context.setVar("?",t),this._lastCode=t}get lastCode(){return this._lastCode}_loadDefaultCommands(){localCommands.forEach(t=>{this.context.setCommand(t)})}_loadBuiltinCommands(){builtins.forEach(t=>{this.context.setCommand(t)})}_loadProfile(t){this.onCommand(`source ${t}`)}onCommand(t,e=!0){const s=this._splitInput(t).reduce((t,e)=>t.then(()=>this._runCommand(e)).then(()=>{if(this._lastCode>0)throw new Error("chain broken")}),Promise.resolve());return e?s.then(()=>{this.destroyed||this.emit("status",Shell.STATUS_READY)}).catch(()=>this.emit("status",Shell.STATUS_READY)):s}tabCompletion(t){return this.context.fs.autoComplete(t,this.path)}_runCommand(t){if(t.length<1)return Promise.resolve();this.emit("status",Shell.STATUS_WORKING);let e=this._parseCommandLine(t),s=e.shift();const i=this.context.getAlias(s);if(i)return this.onCommand(i,!1);let r,o;try{r=this._parseCommand(s.toLowerCase())}catch(t){return this.emit("stdErr",t.message),this.lastCode=1,this.emit("exitCode",this.lastCode),Promise.resolve()}if(r.prototype instanceof LocalCommand||new r instanceof ScriptCommand)o=new r(e,this.context);else{if(!(r.prototype instanceof Command))return this.emit("stdErr",`${s}: Command not found`),this.lastCode=1,this.emit("exitCode",this.lastCode),Promise.resolve();o=new r(e)}return o.requiresFilesystem&&(o.fs=this.context.fs),o.runCommand().then(t=>{t.getStdOutput().forEach(t=>{"out"===t.type?this.emit("stdOut",t.string):"err"===t.type&&this.emit("stdErr",t.string)}),this.lastCode=t.getExitCode(),this.emit("exitCode",this.lastCode)})}getPrompt(){const t=this.context.fs.cwd.split("/");return`${this.context.getVar("HOST")}:${t[t.length-2]}$`}destroy(t=0){this.destroyed||(this.destroyed=!0,this.emit("status",Shell.STATUS_DESTROYED),this.emit("exit",t))}clear(){this.emit("clear")}_splitInput(t){return[t.split("#")[0]].flatMap(t=>t.split("&&")).flatMap(t=>t.split(":")).flatMap(t=>t.trim())}_parseCommand(t){if(t.startsWith("./")||t.startsWith("/")){const e=this.context.fs.getFileByPath(t);if(!e)throw new Error(`${t}: No such file or directory`);if(e.constructor===Object)throw new Error(`${t}: is a directory`);if(e.prototype&&e.prototype instanceof Command)return e;if(e.constructor===String&&e.startsWith("#!"))return ScriptCommand.bind(this,e);throw new Error(`${t}: permission denied`)}const e=this.context.getCommand(t);if(!e)throw new Error(`${t}: Command not found`);return e}_parseCommandLine(t){const e=Shell._sanitiseArray(Shell._splitCommand(t)).map(t=>this._replaceVariables(t));return Shell._sanitiseArray(e)}static _sanitiseCommandPart(t){return t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'")?t.substring(1,t.length-1):t}static _sanitiseArray(t){return t.filter(t=>t.length>0)}_replaceVariables(t){const e=t.matchAll(variableRegex);let s=e.next();for(;!s.done;){const i=this.context.getVar(s.value[1]);t=t.replace(new RegExp(Shell._escapeRegExp(s.value[0]),"g"),i),s=e.next()}return t}static _splitCommand(t){const e=/\s/g;let s=!1,i=!1,r=[];const o=[];for(let n of t){const t=n.match(e);"'"!==n||i?'"'!==n||s?s||i||!t?r.push(n):r.length>0&&(o.push(r.join("")),r=[]):i=!i:s=!s}if(r.length>0&&o.push(r.join("")),s||i)throw new Error("quote expression not closed");return o}static _escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}Shell.STATUS_READY="READY",Shell.STATUS_WORKING="WORKING",Shell.STATUS_DESTROYED="DESTROYED",Shell.Command=Command,global.shell=Shell,module.exports=Shell;
2
+ (function (global){(function (){
3
+ "use strict";const EventEmitter=require(22),Context=require(3),LocalCommand=require(12),ScriptCommand=require(6),Command=require(2),builtins=require(10),localCommands=require(18),variableRegex=/\${?([\w\d]+)}?/g;String.prototype.regexIndexOf=function(t,e){const s=this.substring(e||0).search(t);return s>=0?s+(e||0):s},require(65).shim();class Shell extends EventEmitter{constructor(t){super();const{path:e="/bin",profile:s,hostname:n="browser",filesystem:i={},cwd:r="/"}=t;this.context=new Context(Object.assign({},t,{clearFn:this.clear.bind(this),destroyFn:this.destroy.bind(this)})),this.context.setVar("PATH",e),this.context.setVar("HOST",n),this.context.setFilesystem(i),this.context.setCwd(r),this._loadDefaultCommands(),this._loadBuiltinCommands(),this._lastCode=0,s?this._loadProfile(s):setTimeout(()=>this.emit("status",Shell.STATUS_READY),0)}get path(){return this.context.getVar("PATH")}set lastCode(t){this.context.setVar("?",t),this._lastCode=t}get lastCode(){return this._lastCode}onInput(t){if(this.runningCommand&&this.runningCommand.onInput&&this.runningCommand.captureInput)return this.runningCommand.onInput(t),!0}_loadDefaultCommands(){localCommands.forEach(t=>{this.context.setCommand(t)})}_loadBuiltinCommands(){builtins.forEach(t=>{this.context.setCommand(t)})}_loadProfile(t){this.onCommand(`source ${t}`)}onCommand(t,e=!0){const s=this._splitInput(t).reduce((t,e)=>t.then(()=>this._runCommand(e)).then(()=>{if(this._lastCode>0)throw new Error("chain broken")}),Promise.resolve());return e?s.then(()=>{this.destroyed||this.emit("status",Shell.STATUS_READY)}).catch(()=>this.emit("status",Shell.STATUS_READY)):s}tabCompletion(t){return this.context.fs.autoComplete(t,this.path)}_runCommand(t){if(t.length<1)return Promise.resolve();this.emit("status",Shell.STATUS_WORKING);let e=this._parseCommandLine(t),s=e.shift();const n=this.context.getAlias(s);if(n)return this.onCommand(n,!1);let i,r;try{i=this._parseCommand(s.toLowerCase())}catch(t){return this.emit("stdErr",t.message),this.lastCode=1,this.emit("exitCode",this.lastCode),Promise.resolve()}if(i.prototype instanceof LocalCommand||new i instanceof ScriptCommand)r=new i(e,this.context);else{if(!(i.prototype instanceof Command))return this.emit("stdErr",`${s}: Command not found`),this.lastCode=1,this.emit("exitCode",this.lastCode),Promise.resolve();r=new i(e)}return r.requiresFilesystem&&(r.fs=this.context.fs),this.runningCommand=r,this.runningCommand.on&&this.runningCommand.on("flush",t=>{this._emitOutput(t)}),r.runCommand().then(t=>{this._emitOutput(t.getStdOutput()),this.lastCode=t.getExitCode(),this.emit("exitCode",this.lastCode),delete this.runningCommand})}_emitOutput(t){t.forEach(({type:t,string:e})=>{"out"===t?this.emit("stdOut",e):"err"===t&&this.emit("stdErr",e)})}getPrompt(){const t=this.context.fs.cwd.split("/");return`${this.context.getVar("HOST")}:${t[t.length-2]}$`}destroy(t=0){this.destroyed||(this.destroyed=!0,this.emit("status",Shell.STATUS_DESTROYED),this.emit("exit",t))}clear(){this.emit("clear")}_splitInput(t){return[t.split("#")[0]].flatMap(t=>t.split("&&")).flatMap(t=>t.trim())}_parseCommand(t){if(t.startsWith("./")||t.startsWith("/")){const e=this.context.fs.getFileByPath(t);if(!e)throw new Error(`${t}: No such file or directory`);if(e.constructor===Object)throw new Error(`${t}: is a directory`);if(e.prototype&&e.prototype instanceof Command)return e;if(e.constructor===String&&e.startsWith("#!"))return ScriptCommand.bind(this,e);throw new Error(`${t}: permission denied`)}const e=this.context.getCommand(t);if(!e)throw new Error(`${t}: Command not found`);return e}_parseCommandLine(t){const e=Shell._sanitiseArray(Shell._splitCommand(t)).map(t=>this._replaceVariables(t));return Shell._sanitiseArray(e)}static _sanitiseCommandPart(t){return t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'")?t.substring(1,t.length-1):t}static _sanitiseArray(t){return t.filter(t=>t.length>0)}_replaceVariables(t){const e=t.matchAll(variableRegex);let s=e.next();for(;!s.done;){const n=this.context.getVar(s.value[1]);t=t.replace(new RegExp(Shell._escapeRegExp(s.value[0]),"g"),n),s=e.next()}return t}static _splitCommand(t){const e=/\s/g;let s=!1,n=!1,i=[];const r=[];for(let o of t){const t=o.match(e);"'"!==o||n?'"'!==o||s?s||n||!t?i.push(o):i.length>0&&(r.push(i.join("")),i=[]):n=!n:s=!s}if(i.length>0&&r.push(i.join("")),s||n)throw new Error("quote expression not closed");return r}static _escapeRegExp(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}Shell.STATUS_READY="READY",Shell.STATUS_WORKING="WORKING",Shell.STATUS_DESTROYED="DESTROYED",Shell.Command=Command,global.shell=Shell,module.exports=Shell;
4
4
 
5
- }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
5
+ }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
6
6
 
7
- },{"10":10,"12":12,"18":18,"2":2,"21":21,"3":3,"6":6,"64":64}],21:[function(require,module,exports){
7
+ },{"10":10,"12":12,"18":18,"2":2,"22":22,"3":3,"6":6,"65":65}],22:[function(require,module,exports){
8
8
  var objectCreate=Object.create||objectCreatePolyfill,objectKeys=Object.keys||objectKeysPolyfill,bind=Function.prototype.bind||functionBindPolyfill;function EventEmitter(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=objectCreate(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}module.exports=EventEmitter,EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0;var hasDefineProperty,defaultMaxListeners=10;try{var o={};Object.defineProperty&&Object.defineProperty(o,"x",{value:0}),hasDefineProperty=0===o.x}catch(e){hasDefineProperty=!1}function $getMaxListeners(e){return void 0===e._maxListeners?EventEmitter.defaultMaxListeners:e._maxListeners}function emitNone(e,t,n){if(t)e.call(n);else for(var r=e.length,i=arrayClone(e,r),s=0;s<r;++s)i[s].call(n)}function emitOne(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,s=arrayClone(e,i),o=0;o<i;++o)s[o].call(n,r)}function emitTwo(e,t,n,r,i){if(t)e.call(n,r,i);else for(var s=e.length,o=arrayClone(e,s),a=0;a<s;++a)o[a].call(n,r,i)}function emitThree(e,t,n,r,i,s){if(t)e.call(n,r,i,s);else for(var o=e.length,a=arrayClone(e,o),l=0;l<o;++l)a[l].call(n,r,i,s)}function emitMany(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,s=arrayClone(e,i),o=0;o<i;++o)s[o].apply(n,r)}function _addListener(e,t,n,r){var i,s,o;if("function"!=typeof n)throw new TypeError('"listener" argument must be a function');if((s=e._events)?(s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),o=s[t]):(s=e._events=objectCreate(null),e._eventsCount=0),o){if("function"==typeof o?o=s[t]=r?[n,o]:[o,n]:r?o.unshift(n):o.push(n),!o.warned&&(i=$getMaxListeners(e))&&i>0&&o.length>i){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=o.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",a.name,a.message)}}else o=s[t]=n,++e._eventsCount;return e}function onceWrapper(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function _onceWrap(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=bind.call(onceWrapper,r);return i.listener=n,r.wrapFn=i,i}function _listeners(e,t,n){var r=e._events;if(!r)return[];var i=r[t];return i?"function"==typeof i?n?[i.listener||i]:[i]:n?unwrapListeners(i):arrayClone(i,i.length):[]}function listenerCount(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function spliceOne(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}function arrayClone(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function unwrapListeners(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function objectCreatePolyfill(e){var t=function(){};return t.prototype=e,new t}function objectKeysPolyfill(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n}function functionBindPolyfill(e){var t=this;return function(){return t.apply(e,arguments)}}hasDefineProperty?Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');defaultMaxListeners=e}}):EventEmitter.defaultMaxListeners=defaultMaxListeners,EventEmitter.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},EventEmitter.prototype.getMaxListeners=function(){return $getMaxListeners(this)},EventEmitter.prototype.emit=function(e){var t,n,r,i,s,o,a="error"===e;if(o=this._events)a=a&&null==o.error;else if(!a)return!1;if(a){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var l=new Error('Unhandled "error" event. ('+t+")");throw l.context=t,l}if(!(n=o[e]))return!1;var u="function"==typeof n;switch(r=arguments.length){case 1:emitNone(n,u,this);break;case 2:emitOne(n,u,this,arguments[1]);break;case 3:emitTwo(n,u,this,arguments[1],arguments[2]);break;case 4:emitThree(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),s=1;s<r;s++)i[s-1]=arguments[s];emitMany(n,u,this,i)}return!0},EventEmitter.prototype.addListener=function(e,t){return _addListener(this,e,t,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function(e,t){return _addListener(this,e,t,!0)},EventEmitter.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,_onceWrap(this,e,t)),this},EventEmitter.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,_onceWrap(this,e,t)),this},EventEmitter.prototype.removeListener=function(e,t){var n,r,i,s,o;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=objectCreate(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,s=n.length-1;s>=0;s--)if(n[s]===t||n[s].listener===t){o=n[s].listener,i=s;break}if(i<0)return this;0===i?n.shift():spliceOne(n,i),1===n.length&&(r[e]=n[0]),r.removeListener&&this.emit("removeListener",e,o||t)}return this},EventEmitter.prototype.removeAllListeners=function(e){var t,n,r;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=objectCreate(null),this._eventsCount=0):n[e]&&(0==--this._eventsCount?this._events=objectCreate(null):delete n[e]),this;if(0===arguments.length){var i,s=objectKeys(n);for(r=0;r<s.length;++r)"removeListener"!==(i=s[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=objectCreate(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},EventEmitter.prototype.listeners=function(e){return _listeners(this,e,!0)},EventEmitter.prototype.rawListeners=function(e){return _listeners(this,e,!1)},EventEmitter.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):listenerCount.call(e,t)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};
9
9
 
10
10
  },{}],6:[function(require,module,exports){
11
- (function (global){
11
+ (function (global){(function (){
12
12
  "use strict";const LocalCommand=require(12);class ScriptCommand extends LocalCommand{constructor(t,s,e,o=!1){super(s,e),this.script=t,this.source=o}run(){this.sandbox=new global.shell({cwd:this.context.cwd,filesystem:this.context.fs.getRaw()}),this.sandbox.context.source(this.context),this.sandbox.on("stdOut",t=>this.stdOut=t),this.sandbox.on("stdErr",t=>this.stdErr=t);const t=this.script.split(/\r?\n/);return t[0].startsWith("#!")?t.reduce((t,s)=>t.then(this.sandbox.onCommand(s).then(()=>{if(0!==this.sandbox.lastCode)return this.exitCode=this.sandbox.lastCode,Promise.reject()})),Promise.resolve()).then(()=>{this.source&&this.context.source(this.sandbox.context)}):Promise.reject("no interpreter set")}}module.exports=ScriptCommand;
13
13
 
14
- }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
14
+ }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
15
15
 
16
16
  },{"12":12}],12:[function(require,module,exports){
17
17
  "use strict";const Command=require(2);class LocalCommand extends Command{constructor(o,m){super(o),this.context=m}}module.exports=LocalCommand;
@@ -19,20 +19,20 @@ var objectCreate=Object.create||objectCreatePolyfill,objectKeys=Object.keys||obj
19
19
  },{"2":2}],3:[function(require,module,exports){
20
20
  "use strict";const FileSystem=require(4);class Context{constructor(s){this.options=s;const{cwd:t="/",clearFn:e,destroyFn:i}=this.options;this.vars={},this.aliases={},this.fs=new FileSystem(t),this._clearFn=e,this._destroyFn=i}setVar(s,t){t?this.vars[s]=t:delete this.vars[s]}unsetVar(s){this.setVar(s)}getVar(s){return this.vars[s]||""}setAlias(s,t){t?this.aliases[s]=t:delete this.aliases[s]}unsetAlias(s){this.setAlias(s)}getAlias(s){return this.aliases[s]||null}setCommand(s){const t=`${this.getVar("PATH")}/${s.name.toLowerCase()}`;this.fs.addFiles({[t]:s})}getCommand(s){const t=`${this.getVar("PATH")}/${s}`;return this.fs.getFileByPath(t)||null}setFilesystem(s){const t=this.fs.getFileByPath(this.getVar("PATH"))||{};this.fs=new FileSystem(this.fs.cwd,s),this.fs.addFiles(t)}setCwd(s){this.fs.setCwd(s)}source(s){this.vars=Object.assign({},this.vars,s.vars),this.aliases=Object.assign({},this.aliases,s.aliases)}clear(){"function"==typeof this._clearFn&&this._clearFn()}destroy(s=0){"function"==typeof this._destroyFn&&this._destroyFn(s)}}module.exports=Context;
21
21
 
22
- },{"4":4}],18:[function(require,module,exports){
23
- "use strict";module.exports=[require(13),require(17),require(14),require(20),require(19),require(15),require(16)];
22
+ },{"4":4}],2:[function(require,module,exports){
23
+ "use strict";const EventEmitter=require(22),Result=require(5);class Command extends EventEmitter{constructor(t){super(),this.arguments=t,this.result=new Result}get name(){return"unnamed"}run(){return Promise.reject("Command not implemented...")}runCommand(){return this.run().then(t=>(t&&t.split(/\r?\n/).forEach(t=>this.stdOut=t),this.result)).catch(t=>(t&&(this.stdErr=t.message||t),this.exitCode=127,this.result))}onInput(t){}set exitCode(t){this.result.exitCode=t}set stdOut(t){this.result.addStdOutLine(t)}set stdErr(t){this.result.addStdErrLine(t)}flush(){console.log("flush now"),this.emit("flush",this.result.flush())}}module.exports=Command;
24
24
 
25
- },{"13":13,"14":14,"15":15,"16":16,"17":17,"19":19,"20":20}],2:[function(require,module,exports){
26
- "use strict";const Result=require(5);class Command{constructor(t){this.arguments=t,this.result=new Result}get name(){return"unnamed"}run(){return Promise.reject("Command not implemented...")}runCommand(){return this.run().then(t=>(t&&t.split(/\r?\n/).forEach(t=>this.stdOut=t),this.result)).catch(t=>(t&&(this.stdErr=t.message||t),this.exitCode=127,this.result))}set exitCode(t){this.result.exitCode=t}set stdOut(t){this.result.addStdOutLine(t)}set stdErr(t){this.result.addStdErrLine(t)}}module.exports=Command;
25
+ },{"22":22,"5":5}],18:[function(require,module,exports){
26
+ "use strict";module.exports=[require(13),require(17),require(14),require(21),require(20),require(15),require(16),require(19)];
27
27
 
28
- },{"5":5}],10:[function(require,module,exports){
28
+ },{"13":13,"14":14,"15":15,"16":16,"17":17,"19":19,"20":20,"21":21}],10:[function(require,module,exports){
29
29
  "use strict";module.exports=[require(8),require(11),require(9)];
30
30
 
31
- },{"11":11,"8":8,"9":9}],64:[function(require,module,exports){
32
- "use strict";var bind=require(44),define=require(23),implementation=require(63),getPolyfill=require(65),shim=require(67),boundMatchAll=bind.call(Function.call,implementation);define(boundMatchAll,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=boundMatchAll;
31
+ },{"11":11,"8":8,"9":9}],65:[function(require,module,exports){
32
+ "use strict";var bind=require(45),define=require(24),implementation=require(64),getPolyfill=require(66),shim=require(68),boundMatchAll=bind.call(Function.call,implementation);define(boundMatchAll,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=boundMatchAll;
33
33
 
34
- },{"23":23,"44":44,"63":63,"65":65,"67":67}],5:[function(require,module,exports){
35
- "use strict";const StdLine=require(7);class Result{constructor(t=[],e=0){if("number"!=typeof e)throw new Error("Command Result ExitCode must be a number");if(!Array.isArray(t))throw new Error("Command Result be array");this.std=t,this.exitCode=e}addStdOutLine(t){this.std.push(new StdLine("out",t))}addStdErrLine(t){this.std.push(new StdLine("err",t))}getStdOutput(){return this.std}getExitCode(){return this.exitCode}}module.exports=Result;
34
+ },{"24":24,"45":45,"64":64,"66":66,"68":68}],5:[function(require,module,exports){
35
+ "use strict";const StdLine=require(7);class Result{constructor(t=[],e=0){if("number"!=typeof e)throw new Error("Command Result ExitCode must be a number");if(!Array.isArray(t))throw new Error("Command Result be array");this.std=t,this.exitCode=e}addStdOutLine(t){this.std.push(new StdLine("out",t))}addStdErrLine(t){this.std.push(new StdLine("err",t))}getStdOutput(){return this.std}getExitCode(){return this.exitCode}flush(){const t=this.std;return this.std=[],t}}module.exports=Result;
36
36
 
37
37
  },{"7":7}],4:[function(require,module,exports){
38
38
  "use strict";class FileSystem{constructor(t="/",e={}){this.fileSystem=e,this.cwd=t}getFileByPath(t){return this._getFileByAbsolutePath(this._pathToAbsolute(t))}_pathToAbsolute(t){return t.startsWith("./")&&(t=t.substring(2)),t.startsWith("/")||(t=this.cwd+t),this._traverseComplexAbsolutePath(t)}_traverseComplexAbsolutePath(t){const e=t.split("/");for(;e.includes("..");){const t=e.indexOf("..")-1;e.splice(t,2)}return e.join("/")}setFileByPath(t,e,s=!1){const i=this._pathToAbsolute(t);this._setFileByAbsolutePath(i,e,s)}_setFileByAbsolutePath(t,e,s=!0){const i=t.split("/");i.shift();const l=i.pop();i.reduce((t,e)=>{if(!t[e]){if(!s)throw new Error(`${e}: No such file or directory`);t[e]={}}return t[e]},this.fileSystem)[l]=e}_getFileByAbsolutePath(t){const e=t.split("/");return e.shift(),e[e.length-1].length<1&&e.pop(),e.reduce((t,e)=>t&&t[e]?t[e]:null,this.fileSystem)}setCwd(t){this.cwd=this._pathToAbsolute(t.endsWith("/")?t:t+"/")}getRaw(){return this.fileSystem}addFiles(t){Object.entries(t).forEach(([t,e])=>{this.setFileByPath(t,e,!0)})}autoComplete(t,e){const s=this._pathToAbsolute(t).split("/"),i=s.pop(),l=this.getFileByPath(s.length>1?s.join("/"):"/"),h=this.getFileByPath(e);if(l.constructor===Object){let e=Object.keys(l).filter(t=>t.startsWith(i));i.length<1&&(e=e.filter(t=>!t.startsWith(".")));const s=t.split("/");if(s.pop(),e.length<1&&s.length<1&&(e=Object.keys(h).filter(t=>t.startsWith(i))),e.length)return{path:s.length?s.join("/"):null,options:e.map(t=>l[t].constructor===Object?t.concat("/"):t)}}return null}}module.exports=FileSystem;
@@ -47,15 +47,15 @@ var objectCreate=Object.create||objectCreatePolyfill,objectKeys=Object.keys||obj
47
47
  "use strict";const Command=require(2),Result=require(5);class Echo extends Command{run(){return 1!==this.arguments.length&&Promise.reject("echo command requires a single argument"),Promise.resolve(this.arguments[0])}}module.exports=Echo;
48
48
 
49
49
  },{"2":2,"5":5}],11:[function(require,module,exports){
50
- "use strict";const Command=require(2),commandLineArgs=require(22);class Ls extends Command{get requiresFilesystem(){return!0}run(){let t;try{t=this.parseArgs()}catch(t){return this.printHelp(t),Promise.reject()}if(t.help)return this.printHelp(),Promise.resolve();const e=this.fs.getFileByPath(t.path);if(!e)return Promise.reject(`${t.path}: No such file or directory`);if(e.constructor===Object){let r=e;return t.all||(r=Object.entries(r).reduce((t,[e,r])=>(e.startsWith(".")||(t[e]=r),t),{})),t.long?this.printLong(r):this.printSimple(Object.keys(r)),Promise.resolve()}return Promise.resolve(t.path)}printHelp(t){t&&(this.stdOut=t.message),this.stdOut="usage: ls [-alh] [file ...]"}printSimple(t){this.stdOut=t.reduce((t,e)=>t+this.padString(e),"")}printLong(t){Object.entries(t).forEach(([t,e])=>e.constructor===Object?this.stdOut=`drwxr-xr-x root users ${this.padString(JSON.stringify(e).length,10)} ${t}`:e.constructor===String&&e.startsWith("#!")?this.stdOut=`-rwxr-xr-x root users ${this.padString(e.length,10)} ${t}`:this.stdOut=`-rw-r--r-- root users ${this.padString(e.toString().length,10)} ${t}`)}padString(t,e=16){const r=e-t.toString().length;let s="";for(let t=0;t<r;t++)s+=" ";return t.toString()+s}parseArgs(){return commandLineArgs([{name:"path",defaultOption:!0,defaultValue:"./",type:String},{name:"all",alias:"a",type:Boolean},{name:"long",alias:"l",type:Boolean},{name:"help",alias:"h",type:Boolean}],{argv:this.arguments})}}module.exports=Ls;
50
+ "use strict";const Command=require(2),commandLineArgs=require(23);class Ls extends Command{get requiresFilesystem(){return!0}run(){let t;try{t=this.parseArgs()}catch(t){return this.printHelp(t),Promise.reject()}if(t.help)return this.printHelp(),Promise.resolve();const e=this.fs.getFileByPath(t.path);if(!e)return Promise.reject(`${t.path}: No such file or directory`);if(e.constructor===Object){let r=e;return t.all||(r=Object.entries(r).reduce((t,[e,r])=>(e.startsWith(".")||(t[e]=r),t),{})),t.long?this.printLong(r):this.printSimple(Object.keys(r)),Promise.resolve()}return Promise.resolve(t.path)}printHelp(t){t&&(this.stdOut=t.message),this.stdOut="usage: ls [-alh] [file ...]"}printSimple(t){this.stdOut=t.reduce((t,e)=>t+this.padString(e),"")}printLong(t){Object.entries(t).forEach(([t,e])=>e.constructor===Object?this.stdOut=`drwxr-xr-x root users ${this.padString(JSON.stringify(e).length,10)} ${t}`:e.constructor===String&&e.startsWith("#!")?this.stdOut=`-rwxr-xr-x root users ${this.padString(e.length,10)} ${t}`:this.stdOut=`-rw-r--r-- root users ${this.padString(e.toString().length,10)} ${t}`)}padString(t,e=16){const r=e-t.toString().length;let s="";for(let t=0;t<r;t++)s+=" ";return t.toString()+s}parseArgs(){return commandLineArgs([{name:"path",defaultOption:!0,defaultValue:"./",type:String},{name:"all",alias:"a",type:Boolean},{name:"long",alias:"l",type:Boolean},{name:"help",alias:"h",type:Boolean}],{argv:this.arguments})}}module.exports=Ls;
51
51
 
52
- },{"2":2,"22":22}],22:[function(require,module,exports){
53
- (function (process){
54
- "use strict";function _interopDefault(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var camelCase=_interopDefault(require(52));function isObject(t){return"object"==typeof t&&null!==t}function isArrayLike(t){return isObject(t)&&"number"==typeof t.length}function arrayify(t){return Array.isArray(t)?t:void 0===t?[]:isArrayLike(t)?Array.prototype.slice.call(t):[t]}function isObject$1(t){return"object"==typeof t&&null!==t}function isArrayLike$1(t){return isObject$1(t)&&"number"==typeof t.length}function arrayify$1(t){return Array.isArray(t)?t:void 0===t?[]:isArrayLike$1(t)?Array.prototype.slice.call(t):[t]}function findReplace(t,e){const n=[],i=arrayify$1(arguments);return i.splice(0,2),arrayify$1(t).forEach((t,o)=>{let s=[];i.forEach(e=>{"function"==typeof e?s=s.concat(e(t)):s.push(e)}),e(t)&&n.push({index:o,replaceWithValue:s})}),n.reverse().forEach(e=>{const n=[e.index,1].concat(e.replaceWithValue);t.splice.apply(t,n)}),t}const re={short:/^-([^\d-])$/,long:/^--(\S+)/,combinedShort:/^-[^\d-]{2,}$/,optEquals:/^(--\S+?)=(.*)/};class ArgvArray extends Array{load(t){if(this.clear(),t&&t!==process.argv)t=arrayify(t);else{t=process.argv.slice(0);const e=process.execArgv.some(isExecArg)?1:2;t.splice(0,e)}t.forEach(t=>this.push(String(t)))}clear(){this.length=0}expandOptionEqualsNotation(){if(this.some(t=>re.optEquals.test(t))){const t=[];this.forEach(e=>{const n=e.match(re.optEquals);n?t.push(n[1],n[2]):t.push(e)}),this.clear(),this.load(t)}}expandGetoptNotation(){this.hasCombinedShortOptions()&&findReplace(this,re.combinedShort,expandCombinedShortArg)}hasCombinedShortOptions(){return this.some(t=>re.combinedShort.test(t))}static from(t){const e=new this;return e.load(t),e}}function expandCombinedShortArg(t){return(t=t.slice(1)).split("").map(t=>"-"+t)}function isOptionEqualsNotation(t){return re.optEquals.test(t)}function isOption(t){return(re.short.test(t)||re.long.test(t))&&!re.optEquals.test(t)}function isLongOption(t){return re.long.test(t)&&!isOptionEqualsNotation(t)}function getOptionName(t){return re.short.test(t)?t.match(re.short)[1]:isLongOption(t)?t.match(re.long)[1]:isOptionEqualsNotation(t)?t.match(re.optEquals)[1].replace(/^--/,""):null}function isValue(t){return!(isOption(t)||re.combinedShort.test(t)||re.optEquals.test(t))}function isExecArg(t){return["--eval","-e"].indexOf(t)>-1||t.startsWith("--eval=")}function isNumber(t){return!isNaN(parseFloat(t))&&isFinite(t)}function isPlainObject(t){return null!==t&&"object"==typeof t&&t.constructor===Object}function isArrayLike$2(t){return isObject$2(t)&&"number"==typeof t.length}function isObject$2(t){return"object"==typeof t&&null!==t}function isDefined(t){return void 0!==t}function isString(t){return"string"==typeof t}function isBoolean(t){return"boolean"==typeof t}function isFunction(t){return"function"==typeof t}function isClass(t){return!!isFunction(t)&&/^class /.test(Function.prototype.toString.call(t))}function isPrimitive(t){if(null===t)return!0;switch(typeof t){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function isPromise(t){if(t){const e=isDefined(Promise)&&t instanceof Promise,n=t.then&&"function"==typeof t.then;return!(!e&&!n)}return!1}function isIterable(t){return!(null===t||!isDefined(t))&&("function"==typeof t[Symbol.iterator]||"function"==typeof t[Symbol.asyncIterator])}var t={isNumber:isNumber,isString:isString,isBoolean:isBoolean,isPlainObject:isPlainObject,isArrayLike:isArrayLike$2,isObject:isObject$2,isDefined:isDefined,isFunction:isFunction,isClass:isClass,isPrimitive:isPrimitive,isPromise:isPromise,isIterable:isIterable};class OptionDefinition{constructor(t){this.name=t.name,this.type=t.type||String,this.alias=t.alias,this.multiple=t.multiple,this.lazyMultiple=t.lazyMultiple,this.defaultOption=t.defaultOption,this.defaultValue=t.defaultValue,this.group=t.group;for(let e in t)this[e]||(this[e]=t[e])}isBoolean(){return this.type===Boolean||t.isFunction(this.type)&&"Boolean"===this.type.name}isMultiple(){return this.multiple||this.lazyMultiple}static create(t){return new this(t)}}class Definitions extends Array{validate(){let e;this.some(t=>!t.name)&&halt("INVALID_DEFINITIONS","Invalid option definitions: the `name` property is required on each definition"),this.some(t=>t.type&&"function"!=typeof t.type)&&halt("INVALID_DEFINITIONS","Invalid option definitions: the `type` property must be a setter fuction (default: `Boolean`)"),this.some(n=>(e=n,t.isDefined(n.alias)&&t.isNumber(n.alias)))&&halt("INVALID_DEFINITIONS","Invalid option definition: to avoid ambiguity an alias cannot be numeric [--"+e.name+" alias is -"+e.alias+"]"),this.some(n=>(e=n,t.isDefined(n.alias)&&1!==n.alias.length))&&halt("INVALID_DEFINITIONS","Invalid option definition: an alias must be a single character"),this.some(t=>(e=t,"-"===t.alias))&&halt("INVALID_DEFINITIONS",'Invalid option definition: an alias cannot be "-"'),hasDuplicates(this.map(t=>t.name))&&halt("INVALID_DEFINITIONS","Two or more option definitions have the same name"),hasDuplicates(this.map(t=>t.alias))&&halt("INVALID_DEFINITIONS","Two or more option definitions have the same alias"),hasDuplicates(this.map(t=>t.defaultOption))&&halt("INVALID_DEFINITIONS","Only one option definition can be the defaultOption"),this.some(t=>(e=t,t.isBoolean()&&t.defaultOption))&&halt("INVALID_DEFINITIONS",`A boolean option ["${e.name}"] can not also be the defaultOption.`)}get(t){return isOption(t)?re.short.test(t)?this.find(e=>e.alias===getOptionName(t)):this.find(e=>e.name===getOptionName(t)):this.find(e=>e.name===t)}getDefault(){return this.find(t=>!0===t.defaultOption)}isGrouped(){return this.some(t=>t.group)}whereGrouped(){return this.filter(containsValidGroup)}whereNotGrouped(){return this.filter(t=>!containsValidGroup(t))}whereDefaultValueSet(){return this.filter(e=>t.isDefined(e.defaultValue))}static from(t){if(t instanceof this)return t;const e=super.from(arrayify(t),t=>OptionDefinition.create(t));return e.validate(),e}}function halt(t,e){const n=new Error(e);throw n.name=t,n}function containsValidGroup(t){return arrayify(t.group).some(t=>t)}function hasDuplicates(e){const n={};for(let i=0;i<e.length;i++){const o=e[i];if(n[o])return!0;t.isDefined(o)&&(n[o]=!0)}}class ArgvParser{constructor(t,e){this.options=Object.assign({},e),this.definitions=Definitions.from(t),this.argv=ArgvArray.from(this.options.argv),this.argv.hasCombinedShortOptions()&&findReplace(this.argv,re.combinedShort.test.bind(re.combinedShort),t=>(t=t.slice(1)).split("").map(e=>({origArg:`-${t}`,arg:"-"+e})))}*[Symbol.iterator](){const e=this.definitions;let n,i,o,s,a,r=!1,l=!1;for(let u of this.argv){if(t.isPlainObject(u)&&(a=u.origArg,u=u.arg),l&&this.options.stopAtFirstUnknown){yield{event:"unknown_value",arg:u,name:"_unknown",value:void 0};continue}if(isOption(u))i=void 0,(n=e.get(u))?(i=!!n.isBoolean()||null,s="set"):s="unknown_option";else if(isOptionEqualsNotation(u)){const t=u.match(re.optEquals);(n=e.get(t[1]))?n.isBoolean()?(yield{event:"unknown_value",arg:u,name:"_unknown",value:i,def:n},s="set",i=!0):(s="set",i=t[2]):s="unknown_option"}else isValue(u)&&(n?(i=u,s="set"):(n=this.definitions.getDefault())&&!r?(i=u,s="set"):(s="unknown_value",n=void 0));const c={event:s,arg:u,name:o=n?n.name:"_unknown",value:i,def:n};a&&(c.subArg=u,c.arg=a),yield c,"_unknown"===o&&(l=!0),n&&n.defaultOption&&!n.isMultiple()&&"set"===s&&(r=!0),n&&n.isBoolean()&&(n=void 0),n&&!n.multiple&&t.isDefined(i)&&null!==i&&(n=void 0),i=void 0,s=void 0,o=void 0,a=void 0}}}const _value=new WeakMap;class Option{constructor(t){this.definition=new OptionDefinition(t),this.state=null,this.resetToDefault()}get(){return _value.get(this)}set(t){this._set(t,"set")}_set(t,e){const n=this.definition;if(n.isMultiple()){if(null!=t){const i=this.get();"default"===this.state&&(i.length=0),i.push(n.type(t)),this.state=e}}else{if(!n.isMultiple()&&"set"===this.state){const e=new Error(`Singular option already set [${this.definition.name}=${this.get()}]`);throw e.name="ALREADY_SET",e.value=t,e.optionName=n.name,e}null==t?_value.set(this,t):(_value.set(this,n.type(t)),this.state=e)}}resetToDefault(){t.isDefined(this.definition.defaultValue)?this.definition.isMultiple()?_value.set(this,arrayify(this.definition.defaultValue).slice()):_value.set(this,this.definition.defaultValue):this.definition.isMultiple()?_value.set(this,[]):_value.set(this,null),this.state="default"}static create(t){return(t=new OptionDefinition(t)).isBoolean()?FlagOption.create(t):new this(t)}}class FlagOption extends Option{set(t){super.set(!0)}static create(t){return new this(t)}}class Output extends Map{constructor(t){super(),this.definitions=Definitions.from(t),this.set("_unknown",Option.create({name:"_unknown",multiple:!0}));for(const t of this.definitions.whereDefaultValueSet())this.set(t.name,Option.create(t))}toObject(t){t=t||{};const e={};for(const n of this){const i=t.camelCase&&"_unknown"!==n[0]?camelCase(n[0]):n[0],o=n[1];("_unknown"!==i||o.get().length)&&(e[i]=o.get())}return t.skipUnknown&&delete e._unknown,e}}class GroupedOutput extends Output{toObject(e){const n=super.toObject({skipUnknown:e.skipUnknown}),i=super.toObject(e),o=i._unknown;delete i._unknown;const s={_all:i};return o&&o.length&&(s._unknown=o),this.definitions.whereGrouped().forEach(i=>{const o=e.camelCase?camelCase(i.name):i.name,a=n[i.name];for(const e of arrayify(i.group))s[e]=s[e]||{},t.isDefined(a)&&(s[e][o]=a)}),this.definitions.whereNotGrouped().forEach(i=>{const o=e.camelCase?camelCase(i.name):i.name,a=n[i.name];t.isDefined(a)&&(s._none||(s._none={}),s._none[o]=a)}),s}}function commandLineArgs(t,e){(e=e||{}).stopAtFirstUnknown&&(e.partial=!0),t=Definitions.from(t);const n=new ArgvParser(t,{argv:e.argv,stopAtFirstUnknown:e.stopAtFirstUnknown}),i=new(t.isGrouped()?GroupedOutput:Output)(t);for(const t of n){const n=t.subArg||t.arg;if(!e.partial){if("unknown_value"===t.event){const t=new Error(`Unknown value: ${n}`);throw t.name="UNKNOWN_VALUE",t.value=n,t}if("unknown_option"===t.event){const t=new Error(`Unknown option: ${n}`);throw t.name="UNKNOWN_OPTION",t.optionName=n,t}}let o;i.has(t.name)?o=i.get(t.name):(o=Option.create(t.def),i.set(t.name,o)),"_unknown"===t.name?o.set(n):o.set(t.value)}return i.toObject({skipUnknown:!e.partial,camelCase:e.camelCase})}module.exports=commandLineArgs;
52
+ },{"2":2,"23":23}],23:[function(require,module,exports){
53
+ (function (process){(function (){
54
+ "use strict";function _interopDefault(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var camelCase=_interopDefault(require(53));function isObject(t){return"object"==typeof t&&null!==t}function isArrayLike(t){return isObject(t)&&"number"==typeof t.length}function arrayify(t){return Array.isArray(t)?t:void 0===t?[]:isArrayLike(t)?Array.prototype.slice.call(t):[t]}function isObject$1(t){return"object"==typeof t&&null!==t}function isArrayLike$1(t){return isObject$1(t)&&"number"==typeof t.length}function arrayify$1(t){return Array.isArray(t)?t:void 0===t?[]:isArrayLike$1(t)?Array.prototype.slice.call(t):[t]}function findReplace(t,e){const n=[],i=arrayify$1(arguments);return i.splice(0,2),arrayify$1(t).forEach((t,o)=>{let s=[];i.forEach(e=>{"function"==typeof e?s=s.concat(e(t)):s.push(e)}),e(t)&&n.push({index:o,replaceWithValue:s})}),n.reverse().forEach(e=>{const n=[e.index,1].concat(e.replaceWithValue);t.splice.apply(t,n)}),t}const re={short:/^-([^\d-])$/,long:/^--(\S+)/,combinedShort:/^-[^\d-]{2,}$/,optEquals:/^(--\S+?)=(.*)/};class ArgvArray extends Array{load(t){if(this.clear(),t&&t!==process.argv)t=arrayify(t);else{t=process.argv.slice(0);const e=process.execArgv.some(isExecArg)?1:2;t.splice(0,e)}t.forEach(t=>this.push(String(t)))}clear(){this.length=0}expandOptionEqualsNotation(){if(this.some(t=>re.optEquals.test(t))){const t=[];this.forEach(e=>{const n=e.match(re.optEquals);n?t.push(n[1],n[2]):t.push(e)}),this.clear(),this.load(t)}}expandGetoptNotation(){this.hasCombinedShortOptions()&&findReplace(this,re.combinedShort,expandCombinedShortArg)}hasCombinedShortOptions(){return this.some(t=>re.combinedShort.test(t))}static from(t){const e=new this;return e.load(t),e}}function expandCombinedShortArg(t){return(t=t.slice(1)).split("").map(t=>"-"+t)}function isOptionEqualsNotation(t){return re.optEquals.test(t)}function isOption(t){return(re.short.test(t)||re.long.test(t))&&!re.optEquals.test(t)}function isLongOption(t){return re.long.test(t)&&!isOptionEqualsNotation(t)}function getOptionName(t){return re.short.test(t)?t.match(re.short)[1]:isLongOption(t)?t.match(re.long)[1]:isOptionEqualsNotation(t)?t.match(re.optEquals)[1].replace(/^--/,""):null}function isValue(t){return!(isOption(t)||re.combinedShort.test(t)||re.optEquals.test(t))}function isExecArg(t){return["--eval","-e"].indexOf(t)>-1||t.startsWith("--eval=")}function isNumber(t){return!isNaN(parseFloat(t))&&isFinite(t)}function isPlainObject(t){return null!==t&&"object"==typeof t&&t.constructor===Object}function isArrayLike$2(t){return isObject$2(t)&&"number"==typeof t.length}function isObject$2(t){return"object"==typeof t&&null!==t}function isDefined(t){return void 0!==t}function isString(t){return"string"==typeof t}function isBoolean(t){return"boolean"==typeof t}function isFunction(t){return"function"==typeof t}function isClass(t){return!!isFunction(t)&&/^class /.test(Function.prototype.toString.call(t))}function isPrimitive(t){if(null===t)return!0;switch(typeof t){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function isPromise(t){if(t){const e=isDefined(Promise)&&t instanceof Promise,n=t.then&&"function"==typeof t.then;return!(!e&&!n)}return!1}function isIterable(t){return!(null===t||!isDefined(t))&&("function"==typeof t[Symbol.iterator]||"function"==typeof t[Symbol.asyncIterator])}var t={isNumber:isNumber,isString:isString,isBoolean:isBoolean,isPlainObject:isPlainObject,isArrayLike:isArrayLike$2,isObject:isObject$2,isDefined:isDefined,isFunction:isFunction,isClass:isClass,isPrimitive:isPrimitive,isPromise:isPromise,isIterable:isIterable};class OptionDefinition{constructor(t){this.name=t.name,this.type=t.type||String,this.alias=t.alias,this.multiple=t.multiple,this.lazyMultiple=t.lazyMultiple,this.defaultOption=t.defaultOption,this.defaultValue=t.defaultValue,this.group=t.group;for(let e in t)this[e]||(this[e]=t[e])}isBoolean(){return this.type===Boolean||t.isFunction(this.type)&&"Boolean"===this.type.name}isMultiple(){return this.multiple||this.lazyMultiple}static create(t){return new this(t)}}class Definitions extends Array{validate(){let e;this.some(t=>!t.name)&&halt("INVALID_DEFINITIONS","Invalid option definitions: the `name` property is required on each definition"),this.some(t=>t.type&&"function"!=typeof t.type)&&halt("INVALID_DEFINITIONS","Invalid option definitions: the `type` property must be a setter fuction (default: `Boolean`)"),this.some(n=>(e=n,t.isDefined(n.alias)&&t.isNumber(n.alias)))&&halt("INVALID_DEFINITIONS","Invalid option definition: to avoid ambiguity an alias cannot be numeric [--"+e.name+" alias is -"+e.alias+"]"),this.some(n=>(e=n,t.isDefined(n.alias)&&1!==n.alias.length))&&halt("INVALID_DEFINITIONS","Invalid option definition: an alias must be a single character"),this.some(t=>(e=t,"-"===t.alias))&&halt("INVALID_DEFINITIONS",'Invalid option definition: an alias cannot be "-"'),hasDuplicates(this.map(t=>t.name))&&halt("INVALID_DEFINITIONS","Two or more option definitions have the same name"),hasDuplicates(this.map(t=>t.alias))&&halt("INVALID_DEFINITIONS","Two or more option definitions have the same alias"),hasDuplicates(this.map(t=>t.defaultOption))&&halt("INVALID_DEFINITIONS","Only one option definition can be the defaultOption"),this.some(t=>(e=t,t.isBoolean()&&t.defaultOption))&&halt("INVALID_DEFINITIONS",`A boolean option ["${e.name}"] can not also be the defaultOption.`)}get(t){return isOption(t)?re.short.test(t)?this.find(e=>e.alias===getOptionName(t)):this.find(e=>e.name===getOptionName(t)):this.find(e=>e.name===t)}getDefault(){return this.find(t=>!0===t.defaultOption)}isGrouped(){return this.some(t=>t.group)}whereGrouped(){return this.filter(containsValidGroup)}whereNotGrouped(){return this.filter(t=>!containsValidGroup(t))}whereDefaultValueSet(){return this.filter(e=>t.isDefined(e.defaultValue))}static from(t){if(t instanceof this)return t;const e=super.from(arrayify(t),t=>OptionDefinition.create(t));return e.validate(),e}}function halt(t,e){const n=new Error(e);throw n.name=t,n}function containsValidGroup(t){return arrayify(t.group).some(t=>t)}function hasDuplicates(e){const n={};for(let i=0;i<e.length;i++){const o=e[i];if(n[o])return!0;t.isDefined(o)&&(n[o]=!0)}}class ArgvParser{constructor(t,e){this.options=Object.assign({},e),this.definitions=Definitions.from(t),this.argv=ArgvArray.from(this.options.argv),this.argv.hasCombinedShortOptions()&&findReplace(this.argv,re.combinedShort.test.bind(re.combinedShort),t=>(t=t.slice(1)).split("").map(e=>({origArg:`-${t}`,arg:"-"+e})))}*[Symbol.iterator](){const e=this.definitions;let n,i,o,s,a,r=!1,l=!1;for(let u of this.argv){if(t.isPlainObject(u)&&(a=u.origArg,u=u.arg),l&&this.options.stopAtFirstUnknown){yield{event:"unknown_value",arg:u,name:"_unknown",value:void 0};continue}if(isOption(u))i=void 0,(n=e.get(u))?(i=!!n.isBoolean()||null,s="set"):s="unknown_option";else if(isOptionEqualsNotation(u)){const t=u.match(re.optEquals);(n=e.get(t[1]))?n.isBoolean()?(yield{event:"unknown_value",arg:u,name:"_unknown",value:i,def:n},s="set",i=!0):(s="set",i=t[2]):s="unknown_option"}else isValue(u)&&(n?(i=u,s="set"):(n=this.definitions.getDefault())&&!r?(i=u,s="set"):(s="unknown_value",n=void 0));const c={event:s,arg:u,name:o=n?n.name:"_unknown",value:i,def:n};a&&(c.subArg=u,c.arg=a),yield c,"_unknown"===o&&(l=!0),n&&n.defaultOption&&!n.isMultiple()&&"set"===s&&(r=!0),n&&n.isBoolean()&&(n=void 0),n&&!n.multiple&&t.isDefined(i)&&null!==i&&(n=void 0),i=void 0,s=void 0,o=void 0,a=void 0}}}const _value=new WeakMap;class Option{constructor(t){this.definition=new OptionDefinition(t),this.state=null,this.resetToDefault()}get(){return _value.get(this)}set(t){this._set(t,"set")}_set(t,e){const n=this.definition;if(n.isMultiple()){if(null!=t){const i=this.get();"default"===this.state&&(i.length=0),i.push(n.type(t)),this.state=e}}else{if(!n.isMultiple()&&"set"===this.state){const e=new Error(`Singular option already set [${this.definition.name}=${this.get()}]`);throw e.name="ALREADY_SET",e.value=t,e.optionName=n.name,e}null==t?_value.set(this,t):(_value.set(this,n.type(t)),this.state=e)}}resetToDefault(){t.isDefined(this.definition.defaultValue)?this.definition.isMultiple()?_value.set(this,arrayify(this.definition.defaultValue).slice()):_value.set(this,this.definition.defaultValue):this.definition.isMultiple()?_value.set(this,[]):_value.set(this,null),this.state="default"}static create(t){return(t=new OptionDefinition(t)).isBoolean()?FlagOption.create(t):new this(t)}}class FlagOption extends Option{set(t){super.set(!0)}static create(t){return new this(t)}}class Output extends Map{constructor(t){super(),this.definitions=Definitions.from(t),this.set("_unknown",Option.create({name:"_unknown",multiple:!0}));for(const t of this.definitions.whereDefaultValueSet())this.set(t.name,Option.create(t))}toObject(t){t=t||{};const e={};for(const n of this){const i=t.camelCase&&"_unknown"!==n[0]?camelCase(n[0]):n[0],o=n[1];("_unknown"!==i||o.get().length)&&(e[i]=o.get())}return t.skipUnknown&&delete e._unknown,e}}class GroupedOutput extends Output{toObject(e){const n=super.toObject({skipUnknown:e.skipUnknown}),i=super.toObject(e),o=i._unknown;delete i._unknown;const s={_all:i};return o&&o.length&&(s._unknown=o),this.definitions.whereGrouped().forEach(i=>{const o=e.camelCase?camelCase(i.name):i.name,a=n[i.name];for(const e of arrayify(i.group))s[e]=s[e]||{},t.isDefined(a)&&(s[e][o]=a)}),this.definitions.whereNotGrouped().forEach(i=>{const o=e.camelCase?camelCase(i.name):i.name,a=n[i.name];t.isDefined(a)&&(s._none||(s._none={}),s._none[o]=a)}),s}}function commandLineArgs(t,e){(e=e||{}).stopAtFirstUnknown&&(e.partial=!0),t=Definitions.from(t);const n=new ArgvParser(t,{argv:e.argv,stopAtFirstUnknown:e.stopAtFirstUnknown}),i=new(t.isGrouped()?GroupedOutput:Output)(t);for(const t of n){const n=t.subArg||t.arg;if(!e.partial){if("unknown_value"===t.event){const t=new Error(`Unknown value: ${n}`);throw t.name="UNKNOWN_VALUE",t.value=n,t}if("unknown_option"===t.event){const t=new Error(`Unknown option: ${n}`);throw t.name="UNKNOWN_OPTION",t.optionName=n,t}}let o;i.has(t.name)?o=i.get(t.name):(o=Option.create(t.def),i.set(t.name,o)),"_unknown"===t.name?o.set(n):o.set(t.value)}return i.toObject({skipUnknown:!e.partial,camelCase:e.camelCase})}module.exports=commandLineArgs;
55
55
 
56
- }).call(this,require(56))
56
+ }).call(this)}).call(this,require(57))
57
57
 
58
- },{"52":52,"56":56}],13:[function(require,module,exports){
58
+ },{"53":53,"57":57}],13:[function(require,module,exports){
59
59
  "use strict";const LocalCommand=require(12);class Alias extends LocalCommand{run(){if(1!==this.arguments.length)return Promise.reject("alias requires a single argument");const e=this.arguments[0].split("=");return 2!==e.length?Promise.reject("alias requires a key and value delimited by '=' ie: key=value"):(this.context.setAlias(e[0],e[1]),Promise.resolve())}}module.exports=Alias;
60
60
 
61
61
  },{"12":12}],14:[function(require,module,exports){
@@ -70,150 +70,153 @@ var objectCreate=Object.create||objectCreatePolyfill,objectKeys=Object.keys||obj
70
70
  },{"12":12}],17:[function(require,module,exports){
71
71
  "use strict";const LocalCommand=require(12);class Export extends LocalCommand{run(){if(1!==this.arguments.length)return Promise.reject("export requires a single argument");const e=this.arguments[0].split("=");return 2!==e.length&&Promise.reject("export requires a key and value delimited by '=' ie: key=value"),this.context.setVar(e[0],e[1]),Promise.resolve()}}module.exports=Export;
72
72
 
73
- },{"12":12}],20:[function(require,module,exports){
73
+ },{"12":12}],21:[function(require,module,exports){
74
74
  "use strict";const LocalCommand=require(12);class Which extends LocalCommand{run(){if(1!==this.arguments.length)return Promise.reject("which requires a single argument");const t=this.context.fs.getFileByPath(`${this.context.getVar("PATH")}/${this.arguments[0]}}`);return t&&t.constructor!==Object&&t.constructor!==String?Promise.resolve(path):Promise.reject()}}module.exports=Which;
75
75
 
76
- },{"12":12}],19:[function(require,module,exports){
76
+ },{"12":12}],20:[function(require,module,exports){
77
77
  "use strict";const ScriptCommand=require(6),LocalCommand=require(12),Shell=require(1);class Source extends LocalCommand{constructor(t,r){if(super(t,r),1!==this.arguments.length)return Promise.reject("source requires a single argument");const e=this.arguments[0];if(e.startsWith("./")||e.startsWith("/")){const s=this.context.fs.getFileByPath(e);if(s&&s.constructor===String&&s.startsWith("#!"))return new ScriptCommand(s,t,r,!0)}}run(){const t=this.arguments[0];if(t.startsWith("./")||t.startsWith("/")){const r=this.context.fs.getFileByPath(t);if(!r)return Promise.reject(`${t}: No such file or directory`);if(r.constructor===Object)return Promise.reject(`${t}: is a directory`);if(r.prototype&&r.prototype instanceof Command)return Promise.reject(`${t}: command not found`);if(r.constructor===String&&r.startsWith("#!"))return Promise.reject("FATAL: should not get here")}return Promise.reject(`${t}: permission denied`)}}module.exports=Source;
78
78
 
79
- },{"1":1,"12":12,"6":6}],56:[function(require,module,exports){
79
+ },{"1":1,"12":12,"6":6}],19:[function(require,module,exports){
80
+ "use strict";const LocalCommand=require(12),commandLineArgs=require(23);class Read extends LocalCommand{get requiresFilesystem(){return!1}get captureInput(){return!0}run(){let t;try{t=this.parseArgs()}catch(t){return this.printHelp(t),Promise.reject()}return t.help?(this.printHelp(),Promise.resolve()):(this.nchars=t.nchars,this.var=t.name,this.stdErr=t.prompt||"",this.flush(),new Promise(e=>{const r=setTimeout(()=>{e(),this.exitCode=1},t.timeout?1e3*t.timeout:864e5);this.completionCallback=(t=>{clearTimeout(r),e(t)})}))}onInput(t){if(this.inputBuffer||(this.inputBuffer=""),1===t.length&&(this.inputBuffer+=t),this.inputBuffer.length===this.nchars){if(this.var)return this.context.setVar(this.var,this.inputBuffer),void this.completionCallback();this.completionCallback(this.inputBuffer)}}printHelp(t){t&&(this.stdOut=t.message),this.stdOut="usage: read [-n nchars] [-p prompt] [-t timeout] [name ...]"}parseArgs(){return commandLineArgs([{name:"prompt",alias:"p",type:String},{name:"nchars",alias:"n",type:Number},{name:"timeout",alias:"t",type:Number},{name:"help",alias:"h",type:Boolean},{defaultOption:!0,name:"name",type:String}],{argv:this.arguments})}}module.exports=Read;
81
+
82
+ },{"12":12,"23":23}],57:[function(require,module,exports){
80
83
  var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(e){if(cachedSetTimeout===setTimeout)return setTimeout(e,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(e,0);try{return cachedSetTimeout(e,0)}catch(t){try{return cachedSetTimeout.call(null,e,0)}catch(t){return cachedSetTimeout.call(this,e,0)}}}function runClearTimeout(e){if(cachedClearTimeout===clearTimeout)return clearTimeout(e);if((cachedClearTimeout===defaultClearTimeout||!cachedClearTimeout)&&clearTimeout)return cachedClearTimeout=clearTimeout,clearTimeout(e);try{return cachedClearTimeout(e)}catch(t){try{return cachedClearTimeout.call(null,e)}catch(t){return cachedClearTimeout.call(this,e)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&&currentQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var e=runTimeout(cleanUpNextTick);draining=!0;for(var t=queue.length;t;){for(currentQueue=queue,queue=[];++queueIndex<t;)currentQueue&&currentQueue[queueIndex].run();queueIndex=-1,t=queue.length}currentQueue=null,draining=!1,runClearTimeout(e)}}function Item(e,t){this.fun=e,this.array=t}function noop(){}process.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];queue.push(new Item(e,t)),1!==queue.length||draining||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},process.title="browser",process.browser=!0,process.env={},process.argv=[],process.version="",process.versions={},process.on=noop,process.addListener=noop,process.once=noop,process.off=noop,process.removeListener=noop,process.removeAllListeners=noop,process.emit=noop,process.prependListener=noop,process.prependOnceListener=noop,process.listeners=function(e){return[]},process.binding=function(e){throw new Error("process.binding is not supported")},process.cwd=function(){return"/"},process.chdir=function(e){throw new Error("process.chdir is not supported")},process.umask=function(){return 0};
81
84
 
82
- },{}],52:[function(require,module,exports){
83
- (function (global){
85
+ },{}],53:[function(require,module,exports){
86
+ (function (global){(function (){
84
87
  var INFINITY=1/0,symbolTag="[object Symbol]",reAsciiWord=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,reLatin=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rsAstralRange="\\ud800-\\udfff",rsComboMarksRange="\\u0300-\\u036f\\ufe20-\\ufe23",rsComboSymbolsRange="\\u20d0-\\u20f0",rsDingbatRange="\\u2700-\\u27bf",rsLowerRange="a-z\\xdf-\\xf6\\xf8-\\xff",rsMathOpRange="\\xac\\xb1\\xd7\\xf7",rsNonCharRange="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",rsPunctuationRange="\\u2000-\\u206f",rsSpaceRange=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rsUpperRange="A-Z\\xc0-\\xd6\\xd8-\\xde",rsVarRange="\\ufe0e\\ufe0f",rsBreakRange=rsMathOpRange+rsNonCharRange+rsPunctuationRange+rsSpaceRange,rsApos="['’]",rsAstral="["+rsAstralRange+"]",rsBreak="["+rsBreakRange+"]",rsCombo="["+rsComboMarksRange+rsComboSymbolsRange+"]",rsDigits="\\d+",rsDingbat="["+rsDingbatRange+"]",rsLower="["+rsLowerRange+"]",rsMisc="[^"+rsAstralRange+rsBreakRange+rsDigits+rsDingbatRange+rsLowerRange+rsUpperRange+"]",rsFitz="\\ud83c[\\udffb-\\udfff]",rsModifier="(?:"+rsCombo+"|"+rsFitz+")",rsNonAstral="[^"+rsAstralRange+"]",rsRegional="(?:\\ud83c[\\udde6-\\uddff]){2}",rsSurrPair="[\\ud800-\\udbff][\\udc00-\\udfff]",rsUpper="["+rsUpperRange+"]",rsZWJ="\\u200d",rsLowerMisc="(?:"+rsLower+"|"+rsMisc+")",rsUpperMisc="(?:"+rsUpper+"|"+rsMisc+")",rsOptLowerContr="(?:"+rsApos+"(?:d|ll|m|re|s|t|ve))?",rsOptUpperContr="(?:"+rsApos+"(?:D|LL|M|RE|S|T|VE))?",reOptMod=rsModifier+"?",rsOptVar="["+rsVarRange+"]?",rsOptJoin="(?:"+rsZWJ+"(?:"+[rsNonAstral,rsRegional,rsSurrPair].join("|")+")"+rsOptVar+reOptMod+")*",rsSeq=rsOptVar+reOptMod+rsOptJoin,rsEmoji="(?:"+[rsDingbat,rsRegional,rsSurrPair].join("|")+")"+rsSeq,rsSymbol="(?:"+[rsNonAstral+rsCombo+"?",rsCombo,rsRegional,rsSurrPair,rsAstral].join("|")+")",reApos=RegExp(rsApos,"g"),reComboMark=RegExp(rsCombo,"g"),reUnicode=RegExp(rsFitz+"(?="+rsFitz+")|"+rsSymbol+rsSeq,"g"),reUnicodeWord=RegExp([rsUpper+"?"+rsLower+"+"+rsOptLowerContr+"(?="+[rsBreak,rsUpper,"$"].join("|")+")",rsUpperMisc+"+"+rsOptUpperContr+"(?="+[rsBreak,rsUpper+rsLowerMisc,"$"].join("|")+")",rsUpper+"?"+rsLowerMisc+"+"+rsOptLowerContr,rsUpper+"+"+rsOptUpperContr,rsDigits,rsEmoji].join("|"),"g"),reHasUnicode=RegExp("["+rsZWJ+rsAstralRange+rsComboMarksRange+rsComboSymbolsRange+rsVarRange+"]"),reHasUnicodeWord=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,deburredLetters={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},freeGlobal="object"==typeof global&&global&&global.Object===Object&&global,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();function arrayReduce(r,e,o,s){var t=-1,n=r?r.length:0;for(s&&n&&(o=r[++t]);++t<n;)o=e(o,r[t],t,r);return o}function asciiToArray(r){return r.split("")}function asciiWords(r){return r.match(reAsciiWord)||[]}function basePropertyOf(r){return function(e){return null==r?void 0:r[e]}}var deburrLetter=basePropertyOf(deburredLetters);function hasUnicode(r){return reHasUnicode.test(r)}function hasUnicodeWord(r){return reHasUnicodeWord.test(r)}function stringToArray(r){return hasUnicode(r)?unicodeToArray(r):asciiToArray(r)}function unicodeToArray(r){return r.match(reUnicode)||[]}function unicodeWords(r){return r.match(reUnicodeWord)||[]}var objectProto=Object.prototype,objectToString=objectProto.toString,Symbol=root.Symbol,symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseSlice(r,e,o){var s=-1,t=r.length;e<0&&(e=-e>t?0:t+e),(o=o>t?t:o)<0&&(o+=t),t=e>o?0:o-e>>>0,e>>>=0;for(var n=Array(t);++s<t;)n[s]=r[s+e];return n}function baseToString(r){if("string"==typeof r)return r;if(isSymbol(r))return symbolToString?symbolToString.call(r):"";var e=r+"";return"0"==e&&1/r==-INFINITY?"-0":e}function castSlice(r,e,o){var s=r.length;return o=void 0===o?s:o,!e&&o>=s?r:baseSlice(r,e,o)}function createCaseFirst(r){return function(e){var o=hasUnicode(e=toString(e))?stringToArray(e):void 0,s=o?o[0]:e.charAt(0),t=o?castSlice(o,1).join(""):e.slice(1);return s[r]()+t}}function createCompounder(r){return function(e){return arrayReduce(words(deburr(e).replace(reApos,"")),r,"")}}function isObjectLike(r){return!!r&&"object"==typeof r}function isSymbol(r){return"symbol"==typeof r||isObjectLike(r)&&objectToString.call(r)==symbolTag}function toString(r){return null==r?"":baseToString(r)}var camelCase=createCompounder(function(r,e,o){return e=e.toLowerCase(),r+(o?capitalize(e):e)});function capitalize(r){return upperFirst(toString(r).toLowerCase())}function deburr(r){return(r=toString(r))&&r.replace(reLatin,deburrLetter).replace(reComboMark,"")}var upperFirst=createCaseFirst("toUpperCase");function words(r,e,o){return r=toString(r),void 0===(e=o?void 0:e)?hasUnicodeWord(r)?unicodeWords(r):asciiWords(r):r.match(e)||[]}module.exports=camelCase;
85
88
 
86
- }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
89
+ }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
87
90
 
88
- },{}],23:[function(require,module,exports){
89
- "use strict";var keys=require(54),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,isFunction=function(e){return"function"==typeof e&&"[object Function]"===toStr.call(e)},arePropertyDescriptorsSupported=function(){var e={};try{for(var r in origDefineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}},supportsDescriptors=origDefineProperty&&arePropertyDescriptorsSupported(),defineProperty=function(e,r,t,o){(!(r in e)||isFunction(o)&&o())&&(supportsDescriptors?origDefineProperty(e,r,{configurable:!0,enumerable:!1,value:t,writable:!0}):e[r]=t)},defineProperties=function(e,r){var t=arguments.length>2?arguments[2]:{},o=keys(r);hasSymbols&&(o=concat.call(o,Object.getOwnPropertySymbols(r)));for(var n=0;n<o.length;n+=1)defineProperty(e,o[n],r[o[n]],t[o[n]])};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties;
91
+ },{}],24:[function(require,module,exports){
92
+ "use strict";var keys=require(55),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,isFunction=function(e){return"function"==typeof e&&"[object Function]"===toStr.call(e)},arePropertyDescriptorsSupported=function(){var e={};try{for(var r in origDefineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}},supportsDescriptors=origDefineProperty&&arePropertyDescriptorsSupported(),defineProperty=function(e,r,t,o){(!(r in e)||isFunction(o)&&o())&&(supportsDescriptors?origDefineProperty(e,r,{configurable:!0,enumerable:!1,value:t,writable:!0}):e[r]=t)},defineProperties=function(e,r){var t=arguments.length>2?arguments[2]:{},o=keys(r);hasSymbols&&(o=concat.call(o,Object.getOwnPropertySymbols(r)));for(var n=0;n<o.length;n+=1)defineProperty(e,o[n],r[o[n]],t[o[n]])};defineProperties.supportsDescriptors=!!supportsDescriptors,module.exports=defineProperties;
90
93
 
91
- },{"54":54}],54:[function(require,module,exports){
92
- "use strict";var slice=Array.prototype.slice,isArgs=require(55),origKeys=Object.keys,keysShim=origKeys?function(e){return origKeys(e)}:require(53),originalKeys=Object.keys;keysShim.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return isArgs(e)?originalKeys(slice.call(e)):originalKeys(e)}):Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim;
94
+ },{"55":55}],55:[function(require,module,exports){
95
+ "use strict";var slice=Array.prototype.slice,isArgs=require(56),origKeys=Object.keys,keysShim=origKeys?function(e){return origKeys(e)}:require(54),originalKeys=Object.keys;keysShim.shim=function(){Object.keys?function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)||(Object.keys=function(e){return isArgs(e)?originalKeys(slice.call(e)):originalKeys(e)}):Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim;
93
96
 
94
- },{"53":53,"55":55}],24:[function(require,module,exports){
97
+ },{"54":54,"56":56}],25:[function(require,module,exports){
95
98
  "use strict";var undefined,generator,asyncFn,asyncGen,ThrowTypeError=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,getProto=Object.getPrototypeOf||function(e){return e.__proto__},generatorFunction=generator?getProto(generator):undefined,asyncFunction=asyncFn?asyncFn.constructor:undefined,asyncGenFunction=asyncGen?getProto(asyncGen):undefined,asyncGenIterator=asyncGen?asyncGen():undefined,TypedArray="undefined"==typeof Uint8Array?undefined:getProto(Uint8Array),INTRINSICS={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):undefined,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":undefined,"$ %AsyncFunction%":asyncFunction,"$ %AsyncFunctionPrototype%":asyncFunction?asyncFunction.prototype:undefined,"$ %AsyncGenerator%":asyncGen?getProto(asyncGenIterator):undefined,"$ %AsyncGeneratorFunction%":asyncGenFunction,"$ %AsyncGeneratorPrototype%":asyncGenFunction?asyncGenFunction.prototype:undefined,"$ %AsyncIteratorPrototype%":asyncGenIterator&&hasSymbols&&Symbol.asyncIterator?asyncGenIterator[Symbol.asyncIterator]():undefined,"$ %Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?undefined:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?undefined:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?undefined:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?undefined:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":generator?getProto(generator()):undefined,"$ %GeneratorFunction%":generatorFunction,"$ %GeneratorPrototype%":generatorFunction?generatorFunction.prototype:undefined,"$ %Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?undefined:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?undefined:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?undefined:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):undefined,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?undefined:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols?getProto((new Map)[Symbol.iterator]()):undefined,"$ %MapPrototype%":"undefined"==typeof Map?undefined:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?undefined:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?undefined:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?undefined:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?undefined:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?undefined:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?undefined:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?undefined:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols?getProto((new Set)[Symbol.iterator]()):undefined,"$ %SetPrototype%":"undefined"==typeof Set?undefined:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):undefined,"$ %StringPrototype%":String.prototype,"$ %Symbol%":hasSymbols?Symbol:undefined,"$ %SymbolPrototype%":hasSymbols?Symbol.prototype:undefined,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":ThrowTypeError,"$ %TypedArray%":TypedArray,"$ %TypedArrayPrototype%":TypedArray?TypedArray.prototype:undefined,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?undefined:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?undefined:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?undefined:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?undefined:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?undefined:WeakSet.prototype};module.exports=function(e,r){if(arguments.length>1&&"boolean"!=typeof r)throw new TypeError('"allowMissing" argument must be a boolean');var t="$ "+e;if(!(t in INTRINSICS))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===INTRINSICS[t]&&!r)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return INTRINSICS[t]};
96
99
 
97
- },{}],25:[function(require,module,exports){
98
- "use strict";var has=require(47),toPrimitive=require(41),keys=require(54),GetIntrinsic=require(24),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),$Array=GetIntrinsic("%Array%"),$String=GetIntrinsic("%String%"),$Object=GetIntrinsic("%Object%"),$Number=GetIntrinsic("%Number%"),$Symbol=GetIntrinsic("%Symbol%",!0),$RegExp=GetIntrinsic("%RegExp%"),hasSymbols=!!$Symbol,assertRecord=require(30),$isNaN=require(34),$isFinite=require(33),MAX_SAFE_INTEGER=$Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,assign=require(31),sign=require(37),mod=require(36),isPrimitive=require(35),parseInteger=parseInt,bind=require(44),arraySlice=bind.call(Function.call,$Array.prototype.slice),strSlice=bind.call(Function.call,$String.prototype.slice),isBinary=bind.call(Function.call,$RegExp.prototype.test,/^0b[01]+$/i),isOctal=bind.call(Function.call,$RegExp.prototype.test,/^0o[0-7]+$/i),regexExec=bind.call(Function.call,$RegExp.prototype.exec),nonWS=["…","​","￾"].join(""),nonWSregex=new $RegExp("["+nonWS+"]","g"),hasNonWS=bind.call(Function.call,$RegExp.prototype.test,nonWSregex),invalidHexLiteral=/^[-+]0x[0-9a-f]+$/i,isInvalidHexLiteral=bind.call(Function.call,$RegExp.prototype.test,invalidHexLiteral),$charCodeAt=bind.call(Function.call,$String.prototype.charCodeAt),toStr=bind.call(Function.call,Object.prototype.toString),$NumberValueOf=bind.call(Function.call,GetIntrinsic("%NumberPrototype%").valueOf),$BooleanValueOf=bind.call(Function.call,GetIntrinsic("%BooleanPrototype%").valueOf),$StringValueOf=bind.call(Function.call,GetIntrinsic("%StringPrototype%").valueOf),$DateValueOf=bind.call(Function.call,GetIntrinsic("%DatePrototype%").valueOf),$floor=Math.floor,$abs=Math.abs,$ObjectCreate=Object.create,$gOPD=$Object.getOwnPropertyDescriptor,$isExtensible=$Object.isExtensible,$defineProperty=$Object.defineProperty,ws=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),trimRegex=new RegExp("(^["+ws+"]+)|(["+ws+"]+$)","g"),replace=bind.call(Function.call,$String.prototype.replace),trim=function(e){return replace(e,trimRegex,"")},ES5=require(29),hasRegExpMatcher=require(50),ES6=assign(assign({},ES5),{Call:function(e,r){var t=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new $TypeError(e+" is not a function");return e.apply(r,t)},ToPrimitive:toPrimitive,ToNumber:function(e){var r=isPrimitive(e)?e:toPrimitive(e,$Number);if("symbol"==typeof r)throw new $TypeError("Cannot convert a Symbol value to a number");if("string"==typeof r){if(isBinary(r))return this.ToNumber(parseInteger(strSlice(r,2),2));if(isOctal(r))return this.ToNumber(parseInteger(strSlice(r,2),8));if(hasNonWS(r)||isInvalidHexLiteral(r))return NaN;var t=trim(r);if(t!==r)return this.ToNumber(t)}return $Number(r)},ToInt16:function(e){var r=this.ToUint16(e);return r>=32768?r-65536:r},ToInt8:function(e){var r=this.ToUint8(e);return r>=128?r-256:r},ToUint8:function(e){var r=this.ToNumber(e);if($isNaN(r)||0===r||!$isFinite(r))return 0;var t=sign(r)*$floor($abs(r));return mod(t,256)},ToUint8Clamp:function(e){var r=this.ToNumber(e);if($isNaN(r)||r<=0)return 0;if(r>=255)return 255;var t=$floor(e);return t+.5<r?t+1:r<t+.5?t:t%2!=0?t+1:t},ToString:function(e){if("symbol"==typeof e)throw new $TypeError("Cannot convert a Symbol value to a string");return $String(e)},ToObject:function(e){return this.RequireObjectCoercible(e),$Object(e)},ToPropertyKey:function(e){var r=this.ToPrimitive(e,$String);return"symbol"==typeof r?r:this.ToString(r)},ToLength:function(e){var r=this.ToInteger(e);return r<=0?0:r>MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:r},CanonicalNumericIndexString:function(e){if("[object String]"!==toStr(e))throw new $TypeError("must be a string");if("-0"===e)return-0;var r=this.ToNumber(e);return this.SameValue(this.ToString(r),e)?r:void 0},RequireObjectCoercible:ES5.CheckObjectCoercible,IsArray:$Array.isArray||function(e){return"[object Array]"===toStr(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!isPrimitive(e)&&$isExtensible(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||$isNaN(e)||!$isFinite(e))return!1;var r=$abs(e);return $floor(r)===r},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(hasSymbols){var r=e[$Symbol.match];if(void 0!==r)return ES5.ToBoolean(r)}return hasRegExpMatcher(e)},SameValueZero:function(e,r){return e===r||$isNaN(e)&&$isNaN(r)},GetV:function(e,r){if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[r]},GetMethod:function(e,r){if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var t=this.GetV(e,r);if(null!=t){if(!this.IsCallable(t))throw new $TypeError(r+"is not a function");return t}},Get:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return e[r]},Type:function(e){return"symbol"==typeof e?"Symbol":ES5.Type(e)},SpeciesConstructor:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");var t=e.constructor;if(void 0===t)return r;if("Object"!==this.Type(t))throw new $TypeError("O.constructor is not an Object");var i=hasSymbols&&$Symbol.species?t[$Symbol.species]:void 0;if(null==i)return r;if(this.IsConstructor(i))return i;throw new $TypeError("no constructor found")},CompletePropertyDescriptor:function(e){return assertRecord(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(has(e,"[[Value]]")||(e["[[Value]]"]=void 0),has(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(has(e,"[[Get]]")||(e["[[Get]]"]=void 0),has(e,"[[Set]]")||(e["[[Set]]"]=void 0)),has(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),has(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,r,t,i){if("Object"!==this.Type(e))throw new $TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");if("Boolean"!==this.Type(i))throw new $TypeError("Throw must be a Boolean");if(i)return e[r]=t,!0;try{e[r]=t}catch(e){return!1}},HasOwnProperty:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");return has(e,r)},HasProperty:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");return r in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(hasSymbols&&"symbol"==typeof $Symbol.isConcatSpreadable){var r=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==r)return this.ToBoolean(r)}return this.IsArray(e)},Invoke:function(e,r){if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");var t=arraySlice(arguments,2),i=this.GetV(e,r);return this.Call(i,e,t)},GetIterator:function(e,r){if(!hasSymbols)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var t=r;arguments.length<2&&(t=this.GetMethod(e,$Symbol.iterator));var i=this.Call(t,e);if("Object"!==this.Type(i))throw new $TypeError("iterator must return an object");return i},IteratorNext:function(e,r){var t=this.Invoke(e,"next",arguments.length<2?[]:[r]);if("Object"!==this.Type(t))throw new $TypeError("iterator next must return an object");return t},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var r=this.IteratorNext(e);return!0!==this.IteratorComplete(r)&&r},IteratorClose:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(r))throw new $TypeError("Assertion failed: completion is not a thunk for a Completion Record");var t,i=r,n=this.GetMethod(e,"return");if(void 0===n)return i();try{var o=this.Call(n,e,[])}catch(e){throw t=i(),i=null,e}if(t=i(),i=null,"Object"!==this.Type(o))throw new $TypeError("iterator .return must return an object");return t},CreateIterResultObject:function(e,r){if("Boolean"!==this.Type(r))throw new $TypeError("Assertion failed: Type(done) is not Boolean");return{value:e,done:r}},RegExpExec:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("R must be an Object");if("String"!==this.Type(r))throw new $TypeError("S must be a String");var t=this.Get(e,"exec");if(this.IsCallable(t)){var i=this.Call(t,e,[r]);if(null===i||"Object"===this.Type(i))return i;throw new $TypeError('"exec" method must return `null` or an Object')}return regexExec(e,r)},ArraySpeciesCreate:function(e,r){if(!this.IsInteger(r)||r<0)throw new $TypeError("Assertion failed: length must be an integer >= 0");var t,i=0===r?0:r;if(this.IsArray(e)&&(t=this.Get(e,"constructor"),"Object"===this.Type(t)&&hasSymbols&&$Symbol.species&&null===(t=this.Get(t,$Symbol.species))&&(t=void 0)),void 0===t)return $Array(i);if(!this.IsConstructor(t))throw new $TypeError("C must be a constructor");return new t(i)},CreateDataProperty:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var i=$gOPD(e,r),n=i||"function"!=typeof $isExtensible||$isExtensible(e);return!(!(!i||i.writable&&i.configurable)||!n)&&($defineProperty(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var i=this.CreateDataProperty(e,r,t);if(!i)throw new $TypeError("unable to create data property");return i},ObjectCreate:function(e,r){if(null!==e&&"Object"!==this.Type(e))throw new $TypeError("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:r).length>0)throw new $SyntaxError("es-abstract does not yet support internal slots");if(null===e&&!$ObjectCreate)throw new $SyntaxError("native Object.create support is required to create null objects");return $ObjectCreate(e)},AdvanceStringIndex:function(e,r,t){if("String"!==this.Type(e))throw new $TypeError("S must be a String");if(!this.IsInteger(r)||r<0||r>MAX_SAFE_INTEGER)throw new $TypeError("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(t))throw new $TypeError("Assertion failed: unicode must be a Boolean");if(!t)return r+1;if(r+1>=e.length)return r+1;var i=$charCodeAt(e,r);if(i<55296||i>56319)return r+1;var n=$charCodeAt(e,r+1);return n<56320||n>57343?r+1:r+2},CreateMethodProperty:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return!!$defineProperty(e,r,{configurable:!0,enumerable:!1,value:t,writable:!0})},DefinePropertyOrThrow:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return!!$defineProperty(e,r,t)},DeletePropertyOrThrow:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var t=delete e[r];if(!t)throw new TypeError("Attempt to delete property failed.");return t},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");return keys(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:$NumberValueOf(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:$BooleanValueOf(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:$StringValueOf(e)},thisTimeValue:function(e){return $DateValueOf(e)}});delete ES6.CheckObjectCoercible,module.exports=ES6;
100
+ },{}],26:[function(require,module,exports){
101
+ "use strict";var has=require(48),toPrimitive=require(42),keys=require(55),GetIntrinsic=require(25),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),$Array=GetIntrinsic("%Array%"),$String=GetIntrinsic("%String%"),$Object=GetIntrinsic("%Object%"),$Number=GetIntrinsic("%Number%"),$Symbol=GetIntrinsic("%Symbol%",!0),$RegExp=GetIntrinsic("%RegExp%"),hasSymbols=!!$Symbol,assertRecord=require(31),$isNaN=require(35),$isFinite=require(34),MAX_SAFE_INTEGER=$Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,assign=require(32),sign=require(38),mod=require(37),isPrimitive=require(36),parseInteger=parseInt,bind=require(45),arraySlice=bind.call(Function.call,$Array.prototype.slice),strSlice=bind.call(Function.call,$String.prototype.slice),isBinary=bind.call(Function.call,$RegExp.prototype.test,/^0b[01]+$/i),isOctal=bind.call(Function.call,$RegExp.prototype.test,/^0o[0-7]+$/i),regexExec=bind.call(Function.call,$RegExp.prototype.exec),nonWS=["…","​","￾"].join(""),nonWSregex=new $RegExp("["+nonWS+"]","g"),hasNonWS=bind.call(Function.call,$RegExp.prototype.test,nonWSregex),invalidHexLiteral=/^[-+]0x[0-9a-f]+$/i,isInvalidHexLiteral=bind.call(Function.call,$RegExp.prototype.test,invalidHexLiteral),$charCodeAt=bind.call(Function.call,$String.prototype.charCodeAt),toStr=bind.call(Function.call,Object.prototype.toString),$NumberValueOf=bind.call(Function.call,GetIntrinsic("%NumberPrototype%").valueOf),$BooleanValueOf=bind.call(Function.call,GetIntrinsic("%BooleanPrototype%").valueOf),$StringValueOf=bind.call(Function.call,GetIntrinsic("%StringPrototype%").valueOf),$DateValueOf=bind.call(Function.call,GetIntrinsic("%DatePrototype%").valueOf),$floor=Math.floor,$abs=Math.abs,$ObjectCreate=Object.create,$gOPD=$Object.getOwnPropertyDescriptor,$isExtensible=$Object.isExtensible,$defineProperty=$Object.defineProperty,ws=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),trimRegex=new RegExp("(^["+ws+"]+)|(["+ws+"]+$)","g"),replace=bind.call(Function.call,$String.prototype.replace),trim=function(e){return replace(e,trimRegex,"")},ES5=require(30),hasRegExpMatcher=require(51),ES6=assign(assign({},ES5),{Call:function(e,r){var t=arguments.length>2?arguments[2]:[];if(!this.IsCallable(e))throw new $TypeError(e+" is not a function");return e.apply(r,t)},ToPrimitive:toPrimitive,ToNumber:function(e){var r=isPrimitive(e)?e:toPrimitive(e,$Number);if("symbol"==typeof r)throw new $TypeError("Cannot convert a Symbol value to a number");if("string"==typeof r){if(isBinary(r))return this.ToNumber(parseInteger(strSlice(r,2),2));if(isOctal(r))return this.ToNumber(parseInteger(strSlice(r,2),8));if(hasNonWS(r)||isInvalidHexLiteral(r))return NaN;var t=trim(r);if(t!==r)return this.ToNumber(t)}return $Number(r)},ToInt16:function(e){var r=this.ToUint16(e);return r>=32768?r-65536:r},ToInt8:function(e){var r=this.ToUint8(e);return r>=128?r-256:r},ToUint8:function(e){var r=this.ToNumber(e);if($isNaN(r)||0===r||!$isFinite(r))return 0;var t=sign(r)*$floor($abs(r));return mod(t,256)},ToUint8Clamp:function(e){var r=this.ToNumber(e);if($isNaN(r)||r<=0)return 0;if(r>=255)return 255;var t=$floor(e);return t+.5<r?t+1:r<t+.5?t:t%2!=0?t+1:t},ToString:function(e){if("symbol"==typeof e)throw new $TypeError("Cannot convert a Symbol value to a string");return $String(e)},ToObject:function(e){return this.RequireObjectCoercible(e),$Object(e)},ToPropertyKey:function(e){var r=this.ToPrimitive(e,$String);return"symbol"==typeof r?r:this.ToString(r)},ToLength:function(e){var r=this.ToInteger(e);return r<=0?0:r>MAX_SAFE_INTEGER?MAX_SAFE_INTEGER:r},CanonicalNumericIndexString:function(e){if("[object String]"!==toStr(e))throw new $TypeError("must be a string");if("-0"===e)return-0;var r=this.ToNumber(e);return this.SameValue(this.ToString(r),e)?r:void 0},RequireObjectCoercible:ES5.CheckObjectCoercible,IsArray:$Array.isArray||function(e){return"[object Array]"===toStr(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!isPrimitive(e)&&$isExtensible(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||$isNaN(e)||!$isFinite(e))return!1;var r=$abs(e);return $floor(r)===r},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(hasSymbols){var r=e[$Symbol.match];if(void 0!==r)return ES5.ToBoolean(r)}return hasRegExpMatcher(e)},SameValueZero:function(e,r){return e===r||$isNaN(e)&&$isNaN(r)},GetV:function(e,r){if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[r]},GetMethod:function(e,r){if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var t=this.GetV(e,r);if(null!=t){if(!this.IsCallable(t))throw new $TypeError(r+"is not a function");return t}},Get:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return e[r]},Type:function(e){return"symbol"==typeof e?"Symbol":ES5.Type(e)},SpeciesConstructor:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");var t=e.constructor;if(void 0===t)return r;if("Object"!==this.Type(t))throw new $TypeError("O.constructor is not an Object");var i=hasSymbols&&$Symbol.species?t[$Symbol.species]:void 0;if(null==i)return r;if(this.IsConstructor(i))return i;throw new $TypeError("no constructor found")},CompletePropertyDescriptor:function(e){return assertRecord(this,"Property Descriptor","Desc",e),this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(has(e,"[[Value]]")||(e["[[Value]]"]=void 0),has(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(has(e,"[[Get]]")||(e["[[Get]]"]=void 0),has(e,"[[Set]]")||(e["[[Set]]"]=void 0)),has(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),has(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,r,t,i){if("Object"!==this.Type(e))throw new $TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");if("Boolean"!==this.Type(i))throw new $TypeError("Throw must be a Boolean");if(i)return e[r]=t,!0;try{e[r]=t}catch(e){return!1}},HasOwnProperty:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");return has(e,r)},HasProperty:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("O must be an Object");if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");return r in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(hasSymbols&&"symbol"==typeof $Symbol.isConcatSpreadable){var r=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==r)return this.ToBoolean(r)}return this.IsArray(e)},Invoke:function(e,r){if(!this.IsPropertyKey(r))throw new $TypeError("P must be a Property Key");var t=arraySlice(arguments,2),i=this.GetV(e,r);return this.Call(i,e,t)},GetIterator:function(e,r){if(!hasSymbols)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var t=r;arguments.length<2&&(t=this.GetMethod(e,$Symbol.iterator));var i=this.Call(t,e);if("Object"!==this.Type(i))throw new $TypeError("iterator must return an object");return i},IteratorNext:function(e,r){var t=this.Invoke(e,"next",arguments.length<2?[]:[r]);if("Object"!==this.Type(t))throw new $TypeError("iterator next must return an object");return t},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var r=this.IteratorNext(e);return!0!==this.IteratorComplete(r)&&r},IteratorClose:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(r))throw new $TypeError("Assertion failed: completion is not a thunk for a Completion Record");var t,i=r,n=this.GetMethod(e,"return");if(void 0===n)return i();try{var o=this.Call(n,e,[])}catch(e){throw t=i(),i=null,e}if(t=i(),i=null,"Object"!==this.Type(o))throw new $TypeError("iterator .return must return an object");return t},CreateIterResultObject:function(e,r){if("Boolean"!==this.Type(r))throw new $TypeError("Assertion failed: Type(done) is not Boolean");return{value:e,done:r}},RegExpExec:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("R must be an Object");if("String"!==this.Type(r))throw new $TypeError("S must be a String");var t=this.Get(e,"exec");if(this.IsCallable(t)){var i=this.Call(t,e,[r]);if(null===i||"Object"===this.Type(i))return i;throw new $TypeError('"exec" method must return `null` or an Object')}return regexExec(e,r)},ArraySpeciesCreate:function(e,r){if(!this.IsInteger(r)||r<0)throw new $TypeError("Assertion failed: length must be an integer >= 0");var t,i=0===r?0:r;if(this.IsArray(e)&&(t=this.Get(e,"constructor"),"Object"===this.Type(t)&&hasSymbols&&$Symbol.species&&null===(t=this.Get(t,$Symbol.species))&&(t=void 0)),void 0===t)return $Array(i);if(!this.IsConstructor(t))throw new $TypeError("C must be a constructor");return new t(i)},CreateDataProperty:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var i=$gOPD(e,r),n=i||"function"!=typeof $isExtensible||$isExtensible(e);return!(!(!i||i.writable&&i.configurable)||!n)&&($defineProperty(e,r,{configurable:!0,enumerable:!0,value:t,writable:!0}),!0)},CreateDataPropertyOrThrow:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var i=this.CreateDataProperty(e,r,t);if(!i)throw new $TypeError("unable to create data property");return i},ObjectCreate:function(e,r){if(null!==e&&"Object"!==this.Type(e))throw new $TypeError("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:r).length>0)throw new $SyntaxError("es-abstract does not yet support internal slots");if(null===e&&!$ObjectCreate)throw new $SyntaxError("native Object.create support is required to create null objects");return $ObjectCreate(e)},AdvanceStringIndex:function(e,r,t){if("String"!==this.Type(e))throw new $TypeError("S must be a String");if(!this.IsInteger(r)||r<0||r>MAX_SAFE_INTEGER)throw new $TypeError("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(t))throw new $TypeError("Assertion failed: unicode must be a Boolean");if(!t)return r+1;if(r+1>=e.length)return r+1;var i=$charCodeAt(e,r);if(i<55296||i>56319)return r+1;var n=$charCodeAt(e,r+1);return n<56320||n>57343?r+1:r+2},CreateMethodProperty:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return!!$defineProperty(e,r,{configurable:!0,enumerable:!1,value:t,writable:!0})},DefinePropertyOrThrow:function(e,r,t){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");return!!$defineProperty(e,r,t)},DeletePropertyOrThrow:function(e,r){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(r))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true");var t=delete e[r];if(!t)throw new TypeError("Attempt to delete property failed.");return t},EnumerableOwnNames:function(e){if("Object"!==this.Type(e))throw new $TypeError("Assertion failed: Type(O) is not Object");return keys(e)},thisNumberValue:function(e){return"Number"===this.Type(e)?e:$NumberValueOf(e)},thisBooleanValue:function(e){return"Boolean"===this.Type(e)?e:$BooleanValueOf(e)},thisStringValue:function(e){return"String"===this.Type(e)?e:$StringValueOf(e)},thisTimeValue:function(e){return $DateValueOf(e)}});delete ES6.CheckObjectCoercible,module.exports=ES6;
99
102
 
100
- },{"24":24,"29":29,"30":30,"31":31,"33":33,"34":34,"35":35,"36":36,"37":37,"41":41,"44":44,"47":47,"50":50,"54":54}],29:[function(require,module,exports){
101
- "use strict";var GetIntrinsic=require(24),$Object=GetIntrinsic("%Object%"),$TypeError=GetIntrinsic("%TypeError%"),$String=GetIntrinsic("%String%"),assertRecord=require(30),$isNaN=require(34),$isFinite=require(33),sign=require(37),mod=require(36),IsCallable=require(48),toPrimitive=require(40),has=require(47),ES5={ToPrimitive:toPrimitive,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var r=this.ToNumber(e);return $isNaN(r)?0:0!==r&&$isFinite(r)?sign(r)*Math.floor(Math.abs(r)):r},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var r=this.ToNumber(e);if($isNaN(r)||0===r||!$isFinite(r))return 0;var t=sign(r)*Math.floor(Math.abs(r));return mod(t,65536)},ToString:function(e){return $String(e)},ToObject:function(e){return this.CheckObjectCoercible(e),$Object(e)},CheckObjectCoercible:function(e,r){if(null==e)throw new $TypeError(r||"Cannot call method on "+e);return e},IsCallable:IsCallable,SameValue:function(e,r){return e===r?0!==e||1/e==1/r:$isNaN(e)&&$isNaN(r)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var r={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var t in e)if(has(e,t)&&!r[t])return!1;var i=has(e,"[[Value]]"),o=has(e,"[[Get]]")||has(e,"[[Set]]");if(i&&o)throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(assertRecord(this,"Property Descriptor","Desc",e),!(!has(e,"[[Get]]")&&!has(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(assertRecord(this,"Property Descriptor","Desc",e),!(!has(e,"[[Value]]")&&!has(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(assertRecord(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(assertRecord(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new $TypeError("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new $TypeError("ToPropertyDescriptor requires an object");var r={};if(has(e,"enumerable")&&(r["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),has(e,"configurable")&&(r["[[Configurable]]"]=this.ToBoolean(e.configurable)),has(e,"value")&&(r["[[Value]]"]=e.value),has(e,"writable")&&(r["[[Writable]]"]=this.ToBoolean(e.writable)),has(e,"get")){var t=e.get;if(void 0!==t&&!this.IsCallable(t))throw new TypeError("getter must be a function");r["[[Get]]"]=t}if(has(e,"set")){var i=e.set;if(void 0!==i&&!this.IsCallable(i))throw new $TypeError("setter must be a function");r["[[Set]]"]=i}if((has(r,"[[Get]]")||has(r,"[[Set]]"))&&(has(r,"[[Value]]")||has(r,"[[Writable]]")))throw new $TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r}};module.exports=ES5;
103
+ },{"25":25,"30":30,"31":31,"32":32,"34":34,"35":35,"36":36,"37":37,"38":38,"42":42,"45":45,"48":48,"51":51,"55":55}],30:[function(require,module,exports){
104
+ "use strict";var GetIntrinsic=require(25),$Object=GetIntrinsic("%Object%"),$TypeError=GetIntrinsic("%TypeError%"),$String=GetIntrinsic("%String%"),assertRecord=require(31),$isNaN=require(35),$isFinite=require(34),sign=require(38),mod=require(37),IsCallable=require(49),toPrimitive=require(41),has=require(48),ES5={ToPrimitive:toPrimitive,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var r=this.ToNumber(e);return $isNaN(r)?0:0!==r&&$isFinite(r)?sign(r)*Math.floor(Math.abs(r)):r},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var r=this.ToNumber(e);if($isNaN(r)||0===r||!$isFinite(r))return 0;var t=sign(r)*Math.floor(Math.abs(r));return mod(t,65536)},ToString:function(e){return $String(e)},ToObject:function(e){return this.CheckObjectCoercible(e),$Object(e)},CheckObjectCoercible:function(e,r){if(null==e)throw new $TypeError(r||"Cannot call method on "+e);return e},IsCallable:IsCallable,SameValue:function(e,r){return e===r?0!==e||1/e==1/r:$isNaN(e)&&$isNaN(r)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var r={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var t in e)if(has(e,t)&&!r[t])return!1;var i=has(e,"[[Value]]"),o=has(e,"[[Get]]")||has(e,"[[Set]]");if(i&&o)throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){return void 0!==e&&(assertRecord(this,"Property Descriptor","Desc",e),!(!has(e,"[[Get]]")&&!has(e,"[[Set]]")))},IsDataDescriptor:function(e){return void 0!==e&&(assertRecord(this,"Property Descriptor","Desc",e),!(!has(e,"[[Value]]")&&!has(e,"[[Writable]]")))},IsGenericDescriptor:function(e){return void 0!==e&&(assertRecord(this,"Property Descriptor","Desc",e),!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e))},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(assertRecord(this,"Property Descriptor","Desc",e),this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new $TypeError("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new $TypeError("ToPropertyDescriptor requires an object");var r={};if(has(e,"enumerable")&&(r["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),has(e,"configurable")&&(r["[[Configurable]]"]=this.ToBoolean(e.configurable)),has(e,"value")&&(r["[[Value]]"]=e.value),has(e,"writable")&&(r["[[Writable]]"]=this.ToBoolean(e.writable)),has(e,"get")){var t=e.get;if(void 0!==t&&!this.IsCallable(t))throw new TypeError("getter must be a function");r["[[Get]]"]=t}if(has(e,"set")){var i=e.set;if(void 0!==i&&!this.IsCallable(i))throw new $TypeError("setter must be a function");r["[[Set]]"]=i}if((has(r,"[[Get]]")||has(r,"[[Set]]"))&&(has(r,"[[Value]]")||has(r,"[[Writable]]")))throw new $TypeError("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r}};module.exports=ES5;
102
105
 
103
- },{"24":24,"30":30,"33":33,"34":34,"36":36,"37":37,"40":40,"47":47,"48":48}],34:[function(require,module,exports){
104
- module.exports=Number.isNaN||function(e){return e!=e};
106
+ },{"25":25,"31":31,"34":34,"35":35,"37":37,"38":38,"41":41,"48":48,"49":49}],32:[function(require,module,exports){
107
+ var bind=require(45),has=bind.call(Function.call,Object.prototype.hasOwnProperty),$assign=Object.assign;module.exports=function(n,i){if($assign)return $assign(n,i);for(var r in i)has(i,r)&&(n[r]=i[r]);return n};
105
108
 
106
- },{}],33:[function(require,module,exports){
107
- var $isNaN=Number.isNaN||function(e){return e!=e};module.exports=Number.isFinite||function(e){return"number"==typeof e&&!$isNaN(e)&&e!==1/0&&e!==-1/0};
108
-
109
- },{}],30:[function(require,module,exports){
110
- "use strict";var GetIntrinsic=require(24),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),has=require(47),predicates={"Property Descriptor":function(r,e){if("Object"!==r.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(has(e,n)&&!t[n])return!1;var o=has(e,"[[Value]]"),a=has(e,"[[Get]]")||has(e,"[[Set]]");if(o&&a)throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0}};module.exports=function(r,e,t,n){var o=predicates[e];if("function"!=typeof o)throw new $SyntaxError("unknown record type: "+e);if(!o(r,n))throw new $TypeError(t+" must be a "+e);console.log(o(r,n),n)};
111
-
112
- },{"24":24,"47":47}],31:[function(require,module,exports){
113
- var bind=require(44),has=bind.call(Function.call,Object.prototype.hasOwnProperty),$assign=Object.assign;module.exports=function(n,i){if($assign)return $assign(n,i);for(var r in i)has(i,r)&&(n[r]=i[r]);return n};
109
+ },{"45":45}],35:[function(require,module,exports){
110
+ module.exports=Number.isNaN||function(e){return e!=e};
114
111
 
115
- },{"44":44}],37:[function(require,module,exports){
112
+ },{}],38:[function(require,module,exports){
116
113
  module.exports=function(e){return e>=0?1:-1};
117
114
 
118
- },{}],36:[function(require,module,exports){
115
+ },{}],37:[function(require,module,exports){
119
116
  module.exports=function(o,r){var t=o%r;return Math.floor(t>=0?t:t+r)};
120
117
 
121
- },{}],35:[function(require,module,exports){
118
+ },{}],36:[function(require,module,exports){
122
119
  module.exports=function(o){return null===o||"function"!=typeof o&&"object"!=typeof o};
123
120
 
124
- },{}],44:[function(require,module,exports){
125
- "use strict";var implementation=require(43);module.exports=Function.prototype.bind||implementation;
121
+ },{}],34:[function(require,module,exports){
122
+ var $isNaN=Number.isNaN||function(e){return e!=e};module.exports=Number.isFinite||function(e){return"number"==typeof e&&!$isNaN(e)&&e!==1/0&&e!==-1/0};
126
123
 
127
- },{"43":43}],50:[function(require,module,exports){
128
- "use strict";var has=require(47),regexExec=RegExp.prototype.exec,gOPD=Object.getOwnPropertyDescriptor,tryRegexExecCall=function(e){try{var t=e.lastIndex;return e.lastIndex=0,regexExec.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}},toStr=Object.prototype.toString,regexClass="[object RegExp]",hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!hasToStringTag)return toStr.call(e)===regexClass;var t=gOPD(e,"lastIndex");return!(!t||!has(t,"value"))&&tryRegexExecCall(e)};
124
+ },{}],45:[function(require,module,exports){
125
+ "use strict";var implementation=require(44);module.exports=Function.prototype.bind||implementation;
129
126
 
130
- },{"47":47}],47:[function(require,module,exports){
131
- "use strict";var bind=require(44);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty);
127
+ },{"44":44}],51:[function(require,module,exports){
128
+ "use strict";var has=require(48),regexExec=RegExp.prototype.exec,gOPD=Object.getOwnPropertyDescriptor,tryRegexExecCall=function(e){try{var t=e.lastIndex;return e.lastIndex=0,regexExec.call(e),!0}catch(e){return!1}finally{e.lastIndex=t}},toStr=Object.prototype.toString,regexClass="[object RegExp]",hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!hasToStringTag)return toStr.call(e)===regexClass;var t=gOPD(e,"lastIndex");return!(!t||!has(t,"value"))&&tryRegexExecCall(e)};
132
129
 
133
- },{"44":44}],41:[function(require,module,exports){
134
- "use strict";module.exports=require(39);
130
+ },{"48":48}],31:[function(require,module,exports){
131
+ "use strict";var GetIntrinsic=require(25),$TypeError=GetIntrinsic("%TypeError%"),$SyntaxError=GetIntrinsic("%SyntaxError%"),has=require(48),predicates={"Property Descriptor":function(r,e){if("Object"!==r.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(has(e,n)&&!t[n])return!1;var o=has(e,"[[Value]]"),a=has(e,"[[Get]]")||has(e,"[[Set]]");if(o&&a)throw new $TypeError("Property Descriptors may not be both accessor and data descriptors");return!0}};module.exports=function(r,e,t,n){var o=predicates[e];if("function"!=typeof o)throw new $SyntaxError("unknown record type: "+e);if(!o(r,n))throw new $TypeError(t+" must be a "+e);console.log(o(r,n),n)};
135
132
 
136
- },{"39":39}],26:[function(require,module,exports){
137
- "use strict";var ES2015=require(25),assign=require(31),ES2016=assign(assign({},ES2015),{SameValueNonNumber:function(e,r){if("number"==typeof e||typeof e!=typeof r)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,r)}});module.exports=ES2016;
133
+ },{"25":25,"48":48}],48:[function(require,module,exports){
134
+ "use strict";var bind=require(45);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty);
138
135
 
139
- },{"25":25,"31":31}],27:[function(require,module,exports){
140
- "use strict";var bind=require(44),ES2016=require(26),assign=require(31),forEach=require(32),GetIntrinsic=require(24),$TypeError=GetIntrinsic("%TypeError%"),$isEnumerable=bind.call(Function.call,GetIntrinsic("%ObjectPrototype%").propertyIsEnumerable),$pushApply=bind.call(Function.apply,GetIntrinsic("%ArrayPrototype%").push),ES2017=assign(assign({},ES2016),{ToIndex:function(e){if(void 0===e)return 0;var r=this.ToInteger(e);if(r<0)throw new RangeError("index must be >= 0");var n=this.ToLength(r);if(!this.SameValueZero(r,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n},EnumerableOwnProperties:function(e,r){var n=ES2016.EnumerableOwnNames(e);if("key"===r)return n;if("value"===r||"key+value"===r){var i=[];return forEach(n,function(n){$isEnumerable(e,n)&&$pushApply(i,["value"===r?e[n]:[n,e[n]]])}),i}throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": '+r)}});delete ES2017.EnumerableOwnNames,module.exports=ES2017;
136
+ },{"45":45}],42:[function(require,module,exports){
137
+ "use strict";module.exports=require(40);
141
138
 
142
- },{"24":24,"26":26,"31":31,"32":32,"44":44}],32:[function(require,module,exports){
139
+ },{"40":40}],27:[function(require,module,exports){
140
+ "use strict";var ES2015=require(26),assign=require(32),ES2016=assign(assign({},ES2015),{SameValueNonNumber:function(e,r){if("number"==typeof e||typeof e!=typeof r)throw new TypeError("SameValueNonNumber requires two non-number values of the same type.");return this.SameValue(e,r)}});module.exports=ES2016;
141
+
142
+ },{"26":26,"32":32}],28:[function(require,module,exports){
143
+ "use strict";var bind=require(45),ES2016=require(27),assign=require(32),forEach=require(33),GetIntrinsic=require(25),$TypeError=GetIntrinsic("%TypeError%"),$isEnumerable=bind.call(Function.call,GetIntrinsic("%ObjectPrototype%").propertyIsEnumerable),$pushApply=bind.call(Function.apply,GetIntrinsic("%ArrayPrototype%").push),ES2017=assign(assign({},ES2016),{ToIndex:function(e){if(void 0===e)return 0;var r=this.ToInteger(e);if(r<0)throw new RangeError("index must be >= 0");var n=this.ToLength(r);if(!this.SameValueZero(r,n))throw new RangeError("index must be >= 0 and < 2 ** 53 - 1");return n},EnumerableOwnProperties:function(e,r){var n=ES2016.EnumerableOwnNames(e);if("key"===r)return n;if("value"===r||"key+value"===r){var i=[];return forEach(n,function(n){$isEnumerable(e,n)&&$pushApply(i,["value"===r?e[n]:[n,e[n]]])}),i}throw new $TypeError('Assertion failed: "kind" is not "key", "value", or "key+value": '+r)}});delete ES2017.EnumerableOwnNames,module.exports=ES2017;
144
+
145
+ },{"25":25,"27":27,"32":32,"33":33,"45":45}],33:[function(require,module,exports){
143
146
  "use strict";module.exports=function(t,e){for(var o=0;o<t.length;o+=1)e(t[o],o,t)};
144
147
 
145
- },{}],28:[function(require,module,exports){
146
- "use strict";var bind=require(44),keys=require(54),ES2017=require(27),assign=require(31),forEach=require(32),GetIntrinsic=require(24),$String=GetIntrinsic("%String%"),$Object=GetIntrinsic("%Object%"),$SymbolProto=GetIntrinsic("%SymbolPrototype%",!0),$SymbolValueOf=$SymbolProto?bind.call(Function.call,$SymbolProto.valueOf):null,$StringProto=GetIntrinsic("%StringPrototype%"),$charAt=bind.call(Function.call,$StringProto.charAt),$PromiseResolveOrig=GetIntrinsic("%Promise_resolve%",!0),$PromiseResolve=$PromiseResolveOrig?bind.call(Function.call,$PromiseResolveOrig):null,$isEnumerable=bind.call(Function.call,GetIntrinsic("%ObjectPrototype%").propertyIsEnumerable),$pushApply=bind.call(Function.apply,GetIntrinsic("%ArrayPrototype%").push),$gOPS=$SymbolValueOf?$Object.getOwnPropertySymbols:null,OwnPropertyKeys=function(e,r){var t=keys(r);return $gOPS&&$pushApply(t,$gOPS(r)),t},ES2018=assign(assign({},ES2017),{EnumerableOwnPropertyNames:ES2017.EnumerableOwnProperties,thisSymbolValue:function(e){if(!$SymbolValueOf)throw new SyntaxError("Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object");return"Symbol"===this.Type(e)?e:$SymbolValueOf(e)},IsStringPrefix:function(e,r){if("String"!==this.Type(e))throw new TypeError('Assertion failed: "p" must be a String');if("String"!==this.Type(r))throw new TypeError('Assertion failed: "q" must be a String');if(e===r||""===e)return!0;var t=e.length;if(t>=r.length)return!1;for(var o=0;o<t;o+=1)if($charAt(e,o)!==$charAt(r,o))return!1;return!0},NumberToString:function(e){if("Number"!==this.Type(e))throw new TypeError('Assertion failed: "m" must be a String');return $String(e)},CopyDataProperties:function(e,r,t){if("Object"!==this.Type(e))throw new TypeError('Assertion failed: "target" must be an Object');if(!this.IsArray(t))throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');for(var o=0;o<t.length;o+=1)if(!this.IsPropertyKey(t[o]))throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');if(null==r)return e;var i=this,n=i.ToObject(r),s=OwnPropertyKeys(i,n);return forEach(s,function(o){var s=!1;forEach(t,function(e){!0===i.SameValue(e,o)&&(s=!0)});var l=$isEnumerable(n,o)||"string"==typeof r&&o>=0&&i.IsInteger(i.ToNumber(o));if(!1===s&&l){var a=i.Get(n,o);i.CreateDataProperty(e,o,a)}}),e},PromiseResolve:function(e,r){if(!$PromiseResolve)throw new SyntaxError("This environment does not support Promises.");return $PromiseResolve(e,r)}});delete ES2018.EnumerableOwnProperties,delete ES2018.IsPropertyDescriptor,module.exports=ES2018;
148
+ },{}],29:[function(require,module,exports){
149
+ "use strict";var bind=require(45),keys=require(55),ES2017=require(28),assign=require(32),forEach=require(33),GetIntrinsic=require(25),$String=GetIntrinsic("%String%"),$Object=GetIntrinsic("%Object%"),$SymbolProto=GetIntrinsic("%SymbolPrototype%",!0),$SymbolValueOf=$SymbolProto?bind.call(Function.call,$SymbolProto.valueOf):null,$StringProto=GetIntrinsic("%StringPrototype%"),$charAt=bind.call(Function.call,$StringProto.charAt),$PromiseResolveOrig=GetIntrinsic("%Promise_resolve%",!0),$PromiseResolve=$PromiseResolveOrig?bind.call(Function.call,$PromiseResolveOrig):null,$isEnumerable=bind.call(Function.call,GetIntrinsic("%ObjectPrototype%").propertyIsEnumerable),$pushApply=bind.call(Function.apply,GetIntrinsic("%ArrayPrototype%").push),$gOPS=$SymbolValueOf?$Object.getOwnPropertySymbols:null,OwnPropertyKeys=function(e,r){var t=keys(r);return $gOPS&&$pushApply(t,$gOPS(r)),t},ES2018=assign(assign({},ES2017),{EnumerableOwnPropertyNames:ES2017.EnumerableOwnProperties,thisSymbolValue:function(e){if(!$SymbolValueOf)throw new SyntaxError("Symbols are not supported; thisSymbolValue requires that `value` be a Symbol or a Symbol object");return"Symbol"===this.Type(e)?e:$SymbolValueOf(e)},IsStringPrefix:function(e,r){if("String"!==this.Type(e))throw new TypeError('Assertion failed: "p" must be a String');if("String"!==this.Type(r))throw new TypeError('Assertion failed: "q" must be a String');if(e===r||""===e)return!0;var t=e.length;if(t>=r.length)return!1;for(var o=0;o<t;o+=1)if($charAt(e,o)!==$charAt(r,o))return!1;return!0},NumberToString:function(e){if("Number"!==this.Type(e))throw new TypeError('Assertion failed: "m" must be a String');return $String(e)},CopyDataProperties:function(e,r,t){if("Object"!==this.Type(e))throw new TypeError('Assertion failed: "target" must be an Object');if(!this.IsArray(t))throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');for(var o=0;o<t.length;o+=1)if(!this.IsPropertyKey(t[o]))throw new TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');if(null==r)return e;var i=this,n=i.ToObject(r),s=OwnPropertyKeys(i,n);return forEach(s,function(o){var s=!1;forEach(t,function(e){!0===i.SameValue(e,o)&&(s=!0)});var l=$isEnumerable(n,o)||"string"==typeof r&&o>=0&&i.IsInteger(i.ToNumber(o));if(!1===s&&l){var a=i.Get(n,o);i.CreateDataProperty(e,o,a)}}),e},PromiseResolve:function(e,r){if(!$PromiseResolve)throw new SyntaxError("This environment does not support Promises.");return $PromiseResolve(e,r)}});delete ES2018.EnumerableOwnProperties,delete ES2018.IsPropertyDescriptor,module.exports=ES2018;
147
150
 
148
- },{"24":24,"27":27,"31":31,"32":32,"44":44,"54":54}],48:[function(require,module,exports){
151
+ },{"25":25,"28":28,"32":32,"33":33,"45":45,"55":55}],49:[function(require,module,exports){
149
152
  "use strict";var fnToStr=Function.prototype.toString,constructorRegex=/^\s*class\b/,isES6ClassFn=function(t){try{var n=fnToStr.call(t);return constructorRegex.test(n)}catch(t){return!1}},tryFunctionObject=function(t){try{return!isES6ClassFn(t)&&(fnToStr.call(t),!0)}catch(t){return!1}},toStr=Object.prototype.toString,fnClass="[object Function]",genClass="[object GeneratorFunction]",hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(t){if(!t)return!1;if("function"!=typeof t&&"object"!=typeof t)return!1;if("function"==typeof t&&!t.prototype)return!0;if(hasToStringTag)return tryFunctionObject(t);if(isES6ClassFn(t))return!1;var n=toStr.call(t);return n===fnClass||n===genClass};
150
153
 
151
- },{}],40:[function(require,module,exports){
152
- "use strict";var toStr=Object.prototype.toString,isPrimitive=require(42),isCallable=require(48),ES5internalSlots={"[[DefaultValue]]":function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===toStr.call(e)?String:Number)===String||t===Number){var r,i,l=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<l.length;++i)if(isCallable(e[l[i]])&&(r=e[l[i]](),isPrimitive(r)))return r;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")}};module.exports=function(e){return isPrimitive(e)?e:arguments.length>1?ES5internalSlots["[[DefaultValue]]"](e,arguments[1]):ES5internalSlots["[[DefaultValue]]"](e)};
154
+ },{}],41:[function(require,module,exports){
155
+ "use strict";var toStr=Object.prototype.toString,isPrimitive=require(43),isCallable=require(49),ES5internalSlots={"[[DefaultValue]]":function(e){var t;if((t=arguments.length>1?arguments[1]:"[object Date]"===toStr.call(e)?String:Number)===String||t===Number){var r,i,l=t===String?["toString","valueOf"]:["valueOf","toString"];for(i=0;i<l.length;++i)if(isCallable(e[l[i]])&&(r=e[l[i]](),isPrimitive(r)))return r;throw new TypeError("No default value")}throw new TypeError("invalid [[DefaultValue]] hint supplied")}};module.exports=function(e){return isPrimitive(e)?e:arguments.length>1?ES5internalSlots["[[DefaultValue]]"](e,arguments[1]):ES5internalSlots["[[DefaultValue]]"](e)};
153
156
 
154
- },{"42":42,"48":48}],38:[function(require,module,exports){
155
- "use strict";var assign=require(31),ES5=require(29),ES2015=require(25),ES2016=require(26),ES2017=require(27),ES2018=require(28),ES={ES5:ES5,ES6:ES2015,ES2015:ES2015,ES7:ES2016,ES2016:ES2016,ES2017:ES2017,ES2018:ES2018};assign(ES,ES5),delete ES.CheckObjectCoercible,assign(ES,ES2015),module.exports=ES;
157
+ },{"43":43,"49":49}],39:[function(require,module,exports){
158
+ "use strict";var assign=require(32),ES5=require(30),ES2015=require(26),ES2016=require(27),ES2017=require(28),ES2018=require(29),ES={ES5:ES5,ES6:ES2015,ES2015:ES2015,ES7:ES2016,ES2016:ES2016,ES2017:ES2017,ES2018:ES2018};assign(ES,ES5),delete ES.CheckObjectCoercible,assign(ES,ES2015),module.exports=ES;
156
159
 
157
- },{"25":25,"26":26,"27":27,"28":28,"29":29,"31":31}],39:[function(require,module,exports){
158
- "use strict";var hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,isPrimitive=require(42),isCallable=require(48),isDate=require(49),isSymbol=require(51),ordinaryToPrimitive=function(r,e){if(null==r)throw new TypeError("Cannot call method on "+r);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var i,t,o,l="string"===e?["toString","valueOf"]:["valueOf","toString"];for(o=0;o<l.length;++o)if(i=r[l[o]],isCallable(i)&&(t=i.call(r),isPrimitive(t)))return t;throw new TypeError("No default value")},GetMethod=function(r,e){var i=r[e];if(null!=i){if(!isCallable(i))throw new TypeError(i+" returned for property "+e+" of object "+r+" is not a function");return i}};module.exports=function(r){if(isPrimitive(r))return r;var e,i="default";if(arguments.length>1&&(arguments[1]===String?i="string":arguments[1]===Number&&(i="number")),hasSymbols&&(Symbol.toPrimitive?e=GetMethod(r,Symbol.toPrimitive):isSymbol(r)&&(e=Symbol.prototype.valueOf)),void 0!==e){var t=e.call(r,i);if(isPrimitive(t))return t;throw new TypeError("unable to convert exotic object to primitive")}return"default"===i&&(isDate(r)||isSymbol(r))&&(i="string"),ordinaryToPrimitive(r,"default"===i?"number":i)};
160
+ },{"26":26,"27":27,"28":28,"29":29,"30":30,"32":32}],40:[function(require,module,exports){
161
+ "use strict";var hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,isPrimitive=require(43),isCallable=require(49),isDate=require(50),isSymbol=require(52),ordinaryToPrimitive=function(r,e){if(null==r)throw new TypeError("Cannot call method on "+r);if("string"!=typeof e||"number"!==e&&"string"!==e)throw new TypeError('hint must be "string" or "number"');var i,t,o,l="string"===e?["toString","valueOf"]:["valueOf","toString"];for(o=0;o<l.length;++o)if(i=r[l[o]],isCallable(i)&&(t=i.call(r),isPrimitive(t)))return t;throw new TypeError("No default value")},GetMethod=function(r,e){var i=r[e];if(null!=i){if(!isCallable(i))throw new TypeError(i+" returned for property "+e+" of object "+r+" is not a function");return i}};module.exports=function(r){if(isPrimitive(r))return r;var e,i="default";if(arguments.length>1&&(arguments[1]===String?i="string":arguments[1]===Number&&(i="number")),hasSymbols&&(Symbol.toPrimitive?e=GetMethod(r,Symbol.toPrimitive):isSymbol(r)&&(e=Symbol.prototype.valueOf)),void 0!==e){var t=e.call(r,i);if(isPrimitive(t))return t;throw new TypeError("unable to convert exotic object to primitive")}return"default"===i&&(isDate(r)||isSymbol(r))&&(i="string"),ordinaryToPrimitive(r,"default"===i?"number":i)};
159
162
 
160
- },{"42":42,"48":48,"49":49,"51":51}],42:[function(require,module,exports){
163
+ },{"43":43,"49":49,"50":50,"52":52}],43:[function(require,module,exports){
161
164
  module.exports=function(o){return null===o||"function"!=typeof o&&"object"!=typeof o};
162
165
 
163
- },{}],49:[function(require,module,exports){
166
+ },{}],50:[function(require,module,exports){
164
167
  "use strict";var getDay=Date.prototype.getDay,tryDateObject=function(t){try{return getDay.call(t),!0}catch(t){return!1}},toStr=Object.prototype.toString,dateClass="[object Date]",hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function(t){return"object"==typeof t&&null!==t&&(hasToStringTag?tryDateObject(t):toStr.call(t)===dateClass)};
165
168
 
166
- },{}],51:[function(require,module,exports){
167
- "use strict";var toStr=Object.prototype.toString,hasSymbols=require(45)();if(hasSymbols){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function(t){return"symbol"==typeof t.valueOf()&&symStringRegex.test(symToStr.call(t))};module.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==toStr.call(t))return!1;try{return isSymbolObject(t)}catch(t){return!1}}}else module.exports=function(t){return!1};
169
+ },{}],52:[function(require,module,exports){
170
+ "use strict";var toStr=Object.prototype.toString,hasSymbols=require(46)();if(hasSymbols){var symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function(t){return"symbol"==typeof t.valueOf()&&symStringRegex.test(symToStr.call(t))};module.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==toStr.call(t))return!1;try{return isSymbolObject(t)}catch(t){return!1}}}else module.exports=function(t){return!1};
168
171
 
169
- },{"45":45}],43:[function(require,module,exports){
172
+ },{"46":46}],44:[function(require,module,exports){
170
173
  "use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",slice=Array.prototype.slice,toStr=Object.prototype.toString,funcType="[object Function]";module.exports=function(t){var n=this;if("function"!=typeof n||toStr.call(n)!==funcType)throw new TypeError(ERROR_MESSAGE+n);for(var o,e=slice.call(arguments,1),r=Math.max(0,n.length-e.length),c=[],i=0;i<r;i++)c.push("$"+i);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var r=n.apply(this,e.concat(slice.call(arguments)));return Object(r)===r?r:this}return n.apply(t,e.concat(slice.call(arguments)))}),n.prototype){var p=function(){};p.prototype=n.prototype,o.prototype=new p,p.prototype=null}return o};
171
174
 
172
- },{}],45:[function(require,module,exports){
173
- (function (global){
174
- "use strict";var origSymbol=global.Symbol,hasSymbolSham=require(46);module.exports=function(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))};
175
+ },{}],46:[function(require,module,exports){
176
+ (function (global){(function (){
177
+ "use strict";var origSymbol=global.Symbol,hasSymbolSham=require(47);module.exports=function(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))};
175
178
 
176
- }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
179
+ }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
177
180
 
178
- },{"46":46}],46:[function(require,module,exports){
181
+ },{"47":47}],47:[function(require,module,exports){
179
182
  "use strict";module.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var o=Object.getOwnPropertySymbols(t);if(1!==o.length||o[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var n=Object.getOwnPropertyDescriptor(t,e);if(42!==n.value||!0!==n.enumerable)return!1}return!0};
180
183
 
181
- },{}],53:[function(require,module,exports){
182
- "use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=require(55),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call(function(){},"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(t){var o=t.constructor;return o&&o.prototype===t},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!excludedKeys["$"+t]&&has.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{equalsConstructorPrototype(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(t){if("undefined"==typeof window||!hasAutomationEqualityBug)return equalsConstructorPrototype(t);try{return equalsConstructorPrototype(t)}catch(t){return!1}};keysShim=function(t){var o=null!==t&&"object"==typeof t,r="[object Function]"===toStr.call(t),e=isArgs(t),n=o&&"[object String]"===toStr.call(t),u=[];if(!o&&!r&&!e)throw new TypeError("Object.keys called on a non-object");var s=hasProtoEnumBug&&r;if(n&&t.length>0&&!has.call(t,0))for(var a=0;a<t.length;++a)u.push(String(a));if(e&&t.length>0)for(var l=0;l<t.length;++l)u.push(String(l));else for(var i in t)s&&"prototype"===i||!has.call(t,i)||u.push(String(i));if(hasDontEnumBug)for(var c=equalsConstructorPrototypeIfNotBuggy(t),p=0;p<dontEnums.length;++p)c&&"constructor"===dontEnums[p]||!has.call(t,dontEnums[p])||u.push(dontEnums[p]);return u}}module.exports=keysShim;
184
+ },{}],54:[function(require,module,exports){
185
+ "use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=require(56),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call(function(){},"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(t){var o=t.constructor;return o&&o.prototype===t},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!excludedKeys["$"+t]&&has.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{equalsConstructorPrototype(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(t){if("undefined"==typeof window||!hasAutomationEqualityBug)return equalsConstructorPrototype(t);try{return equalsConstructorPrototype(t)}catch(t){return!1}};keysShim=function(t){var o=null!==t&&"object"==typeof t,r="[object Function]"===toStr.call(t),e=isArgs(t),n=o&&"[object String]"===toStr.call(t),u=[];if(!o&&!r&&!e)throw new TypeError("Object.keys called on a non-object");var s=hasProtoEnumBug&&r;if(n&&t.length>0&&!has.call(t,0))for(var a=0;a<t.length;++a)u.push(String(a));if(e&&t.length>0)for(var l=0;l<t.length;++l)u.push(String(l));else for(var i in t)s&&"prototype"===i||!has.call(t,i)||u.push(String(i));if(hasDontEnumBug)for(var c=equalsConstructorPrototypeIfNotBuggy(t),p=0;p<dontEnums.length;++p)c&&"constructor"===dontEnums[p]||!has.call(t,dontEnums[p])||u.push(dontEnums[p]);return u}}module.exports=keysShim;
183
186
 
184
- },{"55":55}],55:[function(require,module,exports){
187
+ },{"56":56}],56:[function(require,module,exports){
185
188
  "use strict";var toStr=Object.prototype.toString;module.exports=function(t){var e=toStr.call(t),o="[object Arguments]"===e;return o||(o="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===toStr.call(t.callee)),o};
186
189
 
187
- },{}],57:[function(require,module,exports){
190
+ },{}],58:[function(require,module,exports){
188
191
  "use strict";var toObject=Object,TypeErr=TypeError;module.exports=function(){if(null!=this&&this!==toObject(this))throw new TypeErr("RegExp.prototype.flags getter called on non-object");var t="";return this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.sticky&&(t+="y"),t};
189
192
 
190
- },{}],58:[function(require,module,exports){
191
- "use strict";var define=require(23),implementation=require(57),getPolyfill=require(59),shim=require(60),flagsBound=Function.call.bind(implementation);define(flagsBound,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=flagsBound;
193
+ },{}],59:[function(require,module,exports){
194
+ "use strict";var define=require(24),implementation=require(58),getPolyfill=require(60),shim=require(61),flagsBound=Function.call.bind(implementation);define(flagsBound,{getPolyfill:getPolyfill,implementation:implementation,shim:shim}),module.exports=flagsBound;
192
195
 
193
- },{"23":23,"57":57,"59":59,"60":60}],60:[function(require,module,exports){
194
- "use strict";var supportsDescriptors=require(23).supportsDescriptors,getPolyfill=require(59),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=getPolyfill(),r=getProto(regex),t=gOPD(r,"flags");return t&&t.get===e||defineProperty(r,"flags",{configurable:!0,enumerable:!1,get:e}),e};
196
+ },{"24":24,"58":58,"60":60,"61":61}],60:[function(require,module,exports){
197
+ "use strict";var implementation=require(58),supportsDescriptors=require(24).supportsDescriptors,gOPD=Object.getOwnPropertyDescriptor,TypeErr=TypeError;module.exports=function(){if(!supportsDescriptors)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=gOPD(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return implementation};
195
198
 
196
- },{"23":23,"59":59}],59:[function(require,module,exports){
197
- "use strict";var implementation=require(57),supportsDescriptors=require(23).supportsDescriptors,gOPD=Object.getOwnPropertyDescriptor,TypeErr=TypeError;module.exports=function(){if(!supportsDescriptors)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=gOPD(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return implementation};
199
+ },{"24":24,"58":58}],61:[function(require,module,exports){
200
+ "use strict";var supportsDescriptors=require(24).supportsDescriptors,getPolyfill=require(60),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=getPolyfill(),r=getProto(regex),t=gOPD(r,"flags");return t&&t.get===e||defineProperty(r,"flags",{configurable:!0,enumerable:!1,get:e}),e};
198
201
 
199
- },{"23":23,"57":57}],61:[function(require,module,exports){
200
- "use strict";var undefined,define=require(23),ES=require(38),GetIntrinsic=require(24),hasSymbols=require(45)(),hidden=require(62)(),RegExpStringIterator=function(e,t,r,n){if("String"!==ES.Type(t))throw new TypeError("S must be a string");if("Boolean"!==ES.Type(r))throw new TypeError("global must be a boolean");if("Boolean"!==ES.Type(n))throw new TypeError("fullUnicode must be a boolean");hidden.set(this,"[[IteratingRegExp]]",e),hidden.set(this,"[[IteratedString]]",t),hidden.set(this,"[[Global]]",r),hidden.set(this,"[[Unicode]]",n),hidden.set(this,"[[Done]]",!1)},IteratorPrototype=GetIntrinsic("%IteratorPrototype%",!0);if(IteratorPrototype&&(RegExpStringIterator.prototype=ES.ObjectCreate(IteratorPrototype)),define(RegExpStringIterator.prototype,{next:function(){var e=this;if("Object"!==ES.Type(e))throw new TypeError("receiver must be an object");if(!(e instanceof RegExpStringIterator&&hidden.has(e,"[[IteratingRegExp]]")&&hidden.has(e,"[[IteratedString]]")&&hidden.has(e,"[[Global]]")&&hidden.has(e,"[[Unicode]]")&&hidden.has(e,"[[Done]]")))throw new TypeError('"this" value must be a RegExpStringIterator instance');if(hidden.get(e,"[[Done]]"))return ES.CreateIterResultObject(undefined,!0);var t=hidden.get(e,"[[IteratingRegExp]]"),r=hidden.get(e,"[[IteratedString]]"),n=hidden.get(e,"[[Global]]"),i=hidden.get(e,"[[Unicode]]"),o=ES.RegExpExec(t,r);if(null===o)return hidden.set(e,"[[Done]]",!0),ES.CreateIterResultObject(undefined,!0);if(n){if(""===ES.ToString(ES.Get(o,"0"))){var a=ES.ToLength(ES.Get(t,"lastIndex")),d=ES.AdvanceStringIndex(r,a,i);ES.Set(t,"lastIndex",d,!0)}return ES.CreateIterResultObject(o,!1)}return hidden.set(e,"[[Done]]",!0),ES.CreateIterResultObject(o,!1)}}),hasSymbols){var defineP=Object.defineProperty;if(Symbol.toStringTag&&(defineP?defineP(RegExpStringIterator.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!1,value:"RegExp String Iterator",writable:!1}):RegExpStringIterator.prototype[Symbol.toStringTag]="RegExp String Iterator"),!IteratorPrototype&&Symbol.iterator){var func={};func[Symbol.iterator]=RegExpStringIterator.prototype[Symbol.iterator]||function(){return this};var predicate={};predicate[Symbol.iterator]=function(){return RegExpStringIterator.prototype[Symbol.iterator]!==func[Symbol.iterator]},define(RegExpStringIterator.prototype,func,predicate)}}module.exports=RegExpStringIterator;
202
+ },{"24":24,"60":60}],62:[function(require,module,exports){
203
+ "use strict";var undefined,define=require(24),ES=require(39),GetIntrinsic=require(25),hasSymbols=require(46)(),hidden=require(63)(),RegExpStringIterator=function(e,t,r,n){if("String"!==ES.Type(t))throw new TypeError("S must be a string");if("Boolean"!==ES.Type(r))throw new TypeError("global must be a boolean");if("Boolean"!==ES.Type(n))throw new TypeError("fullUnicode must be a boolean");hidden.set(this,"[[IteratingRegExp]]",e),hidden.set(this,"[[IteratedString]]",t),hidden.set(this,"[[Global]]",r),hidden.set(this,"[[Unicode]]",n),hidden.set(this,"[[Done]]",!1)},IteratorPrototype=GetIntrinsic("%IteratorPrototype%",!0);if(IteratorPrototype&&(RegExpStringIterator.prototype=ES.ObjectCreate(IteratorPrototype)),define(RegExpStringIterator.prototype,{next:function(){var e=this;if("Object"!==ES.Type(e))throw new TypeError("receiver must be an object");if(!(e instanceof RegExpStringIterator&&hidden.has(e,"[[IteratingRegExp]]")&&hidden.has(e,"[[IteratedString]]")&&hidden.has(e,"[[Global]]")&&hidden.has(e,"[[Unicode]]")&&hidden.has(e,"[[Done]]")))throw new TypeError('"this" value must be a RegExpStringIterator instance');if(hidden.get(e,"[[Done]]"))return ES.CreateIterResultObject(undefined,!0);var t=hidden.get(e,"[[IteratingRegExp]]"),r=hidden.get(e,"[[IteratedString]]"),n=hidden.get(e,"[[Global]]"),i=hidden.get(e,"[[Unicode]]"),o=ES.RegExpExec(t,r);if(null===o)return hidden.set(e,"[[Done]]",!0),ES.CreateIterResultObject(undefined,!0);if(n){if(""===ES.ToString(ES.Get(o,"0"))){var a=ES.ToLength(ES.Get(t,"lastIndex")),d=ES.AdvanceStringIndex(r,a,i);ES.Set(t,"lastIndex",d,!0)}return ES.CreateIterResultObject(o,!1)}return hidden.set(e,"[[Done]]",!0),ES.CreateIterResultObject(o,!1)}}),hasSymbols){var defineP=Object.defineProperty;if(Symbol.toStringTag&&(defineP?defineP(RegExpStringIterator.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!1,value:"RegExp String Iterator",writable:!1}):RegExpStringIterator.prototype[Symbol.toStringTag]="RegExp String Iterator"),!IteratorPrototype&&Symbol.iterator){var func={};func[Symbol.iterator]=RegExpStringIterator.prototype[Symbol.iterator]||function(){return this};var predicate={};predicate[Symbol.iterator]=function(){return RegExpStringIterator.prototype[Symbol.iterator]!==func[Symbol.iterator]},define(RegExpStringIterator.prototype,func,predicate)}}module.exports=RegExpStringIterator;
201
204
 
202
- },{"23":23,"24":24,"38":38,"45":45,"62":62}],62:[function(require,module,exports){
203
- "use strict";var define=require(23);module.exports=function(){var e={},r=function(r){return e["$"+r]?e["$"+r]:"function"==typeof Symbol?(e["$"+r]=Symbol(r),e["$"+r]):"___ "+r+" ___"};return{get:function(e,n){return e[r(n)]},has:function(e,n){return r(n)in e},set:function(e,n,t){var i=r(n);define.supportsDescriptors?Object.defineProperty(e,i,{configurable:!1,enumerable:!1,value:t,writable:!0}):e[i]=t}}};
205
+ },{"24":24,"25":25,"39":39,"46":46,"63":63}],63:[function(require,module,exports){
206
+ "use strict";var define=require(24);module.exports=function(){var e={},r=function(r){return e["$"+r]?e["$"+r]:"function"==typeof Symbol?(e["$"+r]=Symbol(r),e["$"+r]):"___ "+r+" ___"};return{get:function(e,n){return e[r(n)]},has:function(e,n){return r(n)in e},set:function(e,n,t){var i=r(n);define.supportsDescriptors?Object.defineProperty(e,i,{configurable:!1,enumerable:!1,value:t,writable:!0}):e[i]=t}}};
204
207
 
205
- },{"23":23}],63:[function(require,module,exports){
206
- "use strict";var ES=require(38),hasSymbols=require(45)(),regexMatchAll=require(66);module.exports=function(l){var e,r=ES.RequireObjectCoercible(this);if(null!=l&&(hasSymbols&&"symbol"==typeof Symbol.matchAll?e=ES.GetMethod(l,Symbol.matchAll):ES.IsRegExp(l)&&(e=regexMatchAll),void 0!==e))return ES.Call(e,l,[r]);var t=ES.ToString(r),a=new RegExp(l,"g");return hasSymbols&&"symbol"==typeof Symbol.matchAll?ES.Invoke(a,Symbol.matchAll,[t]):ES.Call(regexMatchAll,a,[t])};
208
+ },{"24":24}],64:[function(require,module,exports){
209
+ "use strict";var ES=require(39),hasSymbols=require(46)(),regexMatchAll=require(67);module.exports=function(l){var e,r=ES.RequireObjectCoercible(this);if(null!=l&&(hasSymbols&&"symbol"==typeof Symbol.matchAll?e=ES.GetMethod(l,Symbol.matchAll):ES.IsRegExp(l)&&(e=regexMatchAll),void 0!==e))return ES.Call(e,l,[r]);var t=ES.ToString(r),a=new RegExp(l,"g");return hasSymbols&&"symbol"==typeof Symbol.matchAll?ES.Invoke(a,Symbol.matchAll,[t]):ES.Call(regexMatchAll,a,[t])};
207
210
 
208
- },{"38":38,"45":45,"66":66}],66:[function(require,module,exports){
209
- "use strict";var ES=require(38),flagsGetter=require(58),RegExpStringIterator=require(61),OrigRegExp=RegExp,CreateRegExpStringIterator=function(e,r,t,a){if("String"!==ES.Type(r))throw new TypeError('"S" value must be a String');if("Boolean"!==ES.Type(t))throw new TypeError('"global" value must be a Boolean');if("Boolean"!==ES.Type(a))throw new TypeError('"fullUnicode" value must be a Boolean');return new RegExpStringIterator(e,r,t,a)},constructRegexWithFlags=function(e,r){var t,a=ES.Get(r,"flags");return"string"==typeof a?t=new e(r,a):e===OrigRegExp?(a=flagsGetter(r),t=new e(r.source,a)):t=new e(r,a=flagsGetter(r)),{flags:a,matcher:t}},regexMatchAll=function(e){var r=this;if("Object"!==ES.Type(r))throw new TypeError('"this" value must be an Object');var t=ES.ToString(e),a=ES.SpeciesConstructor(r,OrigRegExp),n=constructRegexWithFlags(a,r),g=n.flags,o=n.matcher,i=ES.ToLength(ES.Get(r,"lastIndex"));ES.Set(o,"lastIndex",i,!0);var l=g.indexOf("g")>-1,s=g.indexOf("u")>-1;return CreateRegExpStringIterator(o,t,l,s)},defineP=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor;if(defineP&&gOPD){var desc=gOPD(regexMatchAll,"name");desc&&desc.configurable&&defineP(regexMatchAll,"name",{value:"[Symbol.matchAll]"})}module.exports=regexMatchAll;
211
+ },{"39":39,"46":46,"67":67}],67:[function(require,module,exports){
212
+ "use strict";var ES=require(39),flagsGetter=require(59),RegExpStringIterator=require(62),OrigRegExp=RegExp,CreateRegExpStringIterator=function(e,r,t,a){if("String"!==ES.Type(r))throw new TypeError('"S" value must be a String');if("Boolean"!==ES.Type(t))throw new TypeError('"global" value must be a Boolean');if("Boolean"!==ES.Type(a))throw new TypeError('"fullUnicode" value must be a Boolean');return new RegExpStringIterator(e,r,t,a)},constructRegexWithFlags=function(e,r){var t,a=ES.Get(r,"flags");return"string"==typeof a?t=new e(r,a):e===OrigRegExp?(a=flagsGetter(r),t=new e(r.source,a)):t=new e(r,a=flagsGetter(r)),{flags:a,matcher:t}},regexMatchAll=function(e){var r=this;if("Object"!==ES.Type(r))throw new TypeError('"this" value must be an Object');var t=ES.ToString(e),a=ES.SpeciesConstructor(r,OrigRegExp),n=constructRegexWithFlags(a,r),g=n.flags,o=n.matcher,i=ES.ToLength(ES.Get(r,"lastIndex"));ES.Set(o,"lastIndex",i,!0);var l=g.indexOf("g")>-1,s=g.indexOf("u")>-1;return CreateRegExpStringIterator(o,t,l,s)},defineP=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor;if(defineP&&gOPD){var desc=gOPD(regexMatchAll,"name");desc&&desc.configurable&&defineP(regexMatchAll,"name",{value:"[Symbol.matchAll]"})}module.exports=regexMatchAll;
210
213
 
211
- },{"38":38,"58":58,"61":61}],65:[function(require,module,exports){
212
- "use strict";var implementation=require(63);module.exports=function(){return String.prototype.matchAll||implementation};
214
+ },{"39":39,"59":59,"62":62}],66:[function(require,module,exports){
215
+ "use strict";var implementation=require(64);module.exports=function(){return String.prototype.matchAll||implementation};
213
216
 
214
- },{"63":63}],67:[function(require,module,exports){
215
- "use strict";var define=require(23),hasSymbols=require(45)(),getPolyfill=require(65),regexMatchAll=require(66),defineP=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor;module.exports=function(){var e=getPolyfill();if(define(String.prototype,{matchAll:e},{matchAll:function(){return String.prototype.matchAll!==e}}),hasSymbols){var l=Symbol.matchAll||(Symbol.for?Symbol.for("Symbol.matchAll"):Symbol("Symbol.matchAll"));if(define(Symbol,{matchAll:l},{matchAll:function(){return Symbol.matchAll!==l}}),defineP&&gOPD){var r=gOPD(Symbol,l);r&&!r.configurable||defineP(Symbol,l,{configurable:!1,enumerable:!1,value:l,writable:!1})}var t={};t[l]=RegExp.prototype[l]||regexMatchAll;var o={};o[l]=function(){return RegExp.prototype[l]!==regexMatchAll},define(RegExp.prototype,t,o)}return e};
217
+ },{"64":64}],68:[function(require,module,exports){
218
+ "use strict";var define=require(24),hasSymbols=require(46)(),getPolyfill=require(66),regexMatchAll=require(67),defineP=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor;module.exports=function(){var e=getPolyfill();if(define(String.prototype,{matchAll:e},{matchAll:function(){return String.prototype.matchAll!==e}}),hasSymbols){var l=Symbol.matchAll||(Symbol.for?Symbol.for("Symbol.matchAll"):Symbol("Symbol.matchAll"));if(define(Symbol,{matchAll:l},{matchAll:function(){return Symbol.matchAll!==l}}),defineP&&gOPD){var r=gOPD(Symbol,l);r&&!r.configurable||defineP(Symbol,l,{configurable:!1,enumerable:!1,value:l,writable:!1})}var t={};t[l]=RegExp.prototype[l]||regexMatchAll;var o={};o[l]=function(){return RegExp.prototype[l]!==regexMatchAll},define(RegExp.prototype,t,o)}return e};
216
219
 
217
- },{"23":23,"45":45,"65":65,"66":66}]},{},[1])(1)
220
+ },{"24":24,"46":46,"66":66,"67":67}]},{},[1])(1)
218
221
  });
219
222
  //# sourceMappingURL=shell.min.js.map