nadesiko3 3.2.39 → 3.2.40
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/package.json +1 -1
- package/release/_hash.txt +16 -16
- package/release/_script-tags.txt +13 -13
- package/release/nako_gen_async.js +1 -1
- package/release/stats.json +1 -1
- package/release/version.js +1 -1
- package/release/wnako3.js +1 -1
- package/release/wnako3webworker.js +1 -1
- package/release/yoyakugo.json +1 -0
- package/src/nako_from_dncl.js +40 -19
- package/src/nako_gen.js +17 -0
- package/src/nako_parser3.js +42 -2
- package/src/nako_reserved_words.js +1 -0
- package/src/nako_version.js +2 -2
- package/test/common/dncl_test.js +11 -0
package/release/wnako3.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see wnako3.js.LICENSE.txt */
|
|
2
|
-
(function(){var __webpack_modules__={6802:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(6992),n(1539),n(189),n(8783),n(3948),n(8674),n(1249),n(6755),n(9600),n(7941),n(7327),n(561),n(9826),n(2222),n(6699),n(8309),n(4747),n(9601),n(4916),n(5306),n(7042),n(1038),n(2526),n(1817),n(2165),n(5003),n(9337);var p=n(4015),h=n(5720),d=n(8178),y=n(4025),v=n(6464),g=n(4541),_=n(9361),m=n(6655),b=n(8891),w=n(7728),k=n(144),x=k.SourceMappingOfTokenization,j=k.SourceMappingOfIndentSyntax,S=k.OffsetToLineColumn,O=k.subtractSourceMapByPreCodeLength,A=n(7597),E=A.NakoRuntimeError,T=A.NakoLexerError,M=A.NakoImportError,P=A.NakoSyntaxError,L=A.InternalLexerError,I=n(7535),C=n(4688),R=function(e){return JSON.parse(JSON.stringify(e))},N={sync:y};function F(e){if(N[e])return N[e];throw new Error("コードジェネレータの「".concat(e,"」はサポートされていません。"))}var D=function(){"use strict";function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===t&&(t={useBasicPlugin:!0}),this.silent=!0,this.filename="inline",this.options=t,this.__varslist=[{},{},{}],this.__locals={},this.__self=this,this.__vars=this.__varslist[2],this.__globals=[],this.__module={},this.pluginFunclist={},this.funclist={},this.pluginfiles={},this.isSetter=!1,this.commandlist=new Set,this.nako_func={},this.logger=new I,this.prepare=new d(this.logger),this.parser=new p(this.logger),this.lexer=new h(this.logger),this.dependencies={},this.usedFuncs=new Set,this.setFunc=this.addFunc,this.numFailures=0,t.useBasicPlugin&&this.addBasicPlugins()}var t,n,i;return t=e,n=[{key:"addBasicPlugins",value:function(){this.addPluginObject("PluginSystem",_),this.addPluginObject("PluginMath",m),this.addPluginObject("PluginPromise",b),this.addPluginObject("PluginAssert",w)}},{key:"replaceLogger",value:function(){return this.prepare.logger=this.lexer.logger=this.parser.logger=this.logger=new I}},{key:"_loadDependencies",value:function(t,n,r,o){var i=this,a={},s=new e({useBasicPlugin:!0});try{var f=function t(n,r,f){var l,p=[],d=c(e.listRequireStatements(s.rawtokenize(n,0,r,f)).map((function(e){return u(u({},e),o.resolvePath(e.value,e.firstToken))})));try{var y=function(){var e=l.value;if(a.hasOwnProperty(e.filePath))return a[e.filePath].alias.add(e.value),"continue";if(a[e.filePath]={tokens:[],alias:new Set([e.value]),addPluginFile:function(){},funclist:{}},"js"===e.type){var n=o.readJs(e.filePath,e.firstToken);n.sync?a[e.filePath].addPluginFile=function(){i.addPluginFile(e.value,e.filePath,a[e.filePath].funclist=n.value(),!1)}:p.push(n.value.then((function(t){a[e.filePath].addPluginFile=function(){i.addPluginFile(e.value,e.filePath,a[e.filePath].funclist=t(),!1)}})))}else{if("nako3"!==e.type)throw new M("ファイル ".concat(e.value," を読み込めません。未対応の拡張子です。"),e.firstToken.line,e.firstToken.file);var r=o.readNako3(e.filePath,e.firstToken),u=function(n){n="「".concat(e.filePath,"」にプラグイン名設定;")+n+";『メイン』にプラグイン名設定;";var r=i.rawtokenize(n,0,e.filePath);a[e.filePath].tokens=r;var o={};return h.preDefineFunc(R(r),i.logger,o),a[e.filePath].funclist=o,t(n,e.filePath,"")};r.sync?u(r.value):p.push(r.value.then((function(e){return u(e)})))}};for(d.s();!(l=d.n()).done;)y()}catch(e){d.e(e)}finally{d.f()}if(p.length>0)return Promise.all(p)}(t,n,r);return void 0!==f&&f.catch((function(e){throw i.logger.error(e),e})),this.dependencies=a,f}catch(e){throw this.logger.error(e),e}}},{key:"rawtokenize",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!e.startsWith(r))throw new Error("codeの先頭にはpreCodeを含める必要があります。");var o,i=v.convert(e,n),a=i.code,c=i.insertedLines,s=i.deletedLines,f=g.convert(a,n),l=this.prepare.convert(f),p=new x(a.length,l),h=new j(a,c,s),d=new S(e);try{o=this.lexer.setInput(l.map((function(e){return e.text})).join(""),t,n)}catch(e){if(!(e instanceof L))throw e;var y=h.map(p.map(e.preprocessedCodeStartOffset),p.map(e.preprocessedCodeEndOffset)),_=null===y.startOffset?e.line:d.map(y.startOffset,!1).line,m=O(u(u({},y),{},{line:_}),r);throw new T(e.msg,m.startOffset,m.endOffset,m.line,n)}return o.map((function(e,t){var n=h.map(p.map(e.preprocessedCodeOffset),p.map(e.preprocessedCodeOffset+e.preprocessedCodeLength)),o=e.line,i=0;if("eol"===e.type&&null!==n.endOffset){var a=d.map(n.endOffset,!1);o=a.line,i=a.column}else if(null!==n.startOffset){var c=d.map(n.startOffset,!1);o=c.line,i=c.column}return u(u(u({},e),O({line:o,column:i,startOffset:n.startOffset,endOffset:n.endOffset},r)),{},{rawJosi:e.josi})}))}},{key:"converttoken",value:function(e,t){return this.lexer.setInput2(e,t)}},{key:"reset",value:function(){this.__varslist=[this.__varslist[0],{},{}],this.__v0=this.__varslist[0],this.__v1=this.__varslist[1],this.__vars=this.__varslist[2],this.__locals={},this.funclist={};for(var e=0,t=Object.keys(this.__v0);e<t.length;e++){var n=t[e],r=this.pluginFunclist[n];r&&(this.funclist[n]=JSON.parse(JSON.stringify(r)))}this.lexer.setFuncList(this.funclist)}},{key:"lexCodeToken",value:function(e,t,n,r){var o=this.rawtokenize(e,t,n,"");if(null===r){var i,a=c(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;s.startOffset=null,s.endOffset=null}}catch(e){a.e(e)}finally{a.f()}}else{var f,l=c(o);try{for(l.s();!(f=l.n()).done;){var p=f.value;null!==p.startOffset&&(p.startOffset+=r),null!==p.endOffset&&(p.endOffset+=r)}}catch(e){l.e(e)}finally{l.f()}}var h=o.filter((function(e){return"line_comment"===e.type||"range_comment"===e.type})).map((function(e){return u({},e)}));return{tokens:o=this.converttoken(o,!1),commentTokens:h}}},{key:"replaceRequireStatements",value:function(t){var n,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,u=[],a=c(e.listRequireStatements(t).reverse());try{var s=function(){var e=n.value;if(i.has(e.value))return u.push.apply(u,o(t.splice(e.start,e.end-e.start))),"continue";var a=Object.keys(r.dependencies).find((function(t){return r.dependencies[t].alias.has(e.value)}));if(void 0===a)throw new T("ファイル ".concat(e.value," が読み込まれていません。"),e.firstToken.startOffset,e.firstToken.endOffset,e.firstToken.line,e.firstToken.file);r.dependencies[a].addPluginFile();var c=R(r.dependencies[a].tokens);i.add(e.value),u.push.apply(u,o(r.replaceRequireStatements(c,i))),u.push.apply(u,o(t.splice.apply(t,[e.start,e.end-e.start].concat(o(c)))))};for(a.s();!(n=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}return u}},{key:"removeRequireStatements",value:function(t){var n,r=this,i=[],u=c(e.listRequireStatements(t).reverse());try{var a=function(){var e=n.value,u=Object.keys(r.dependencies).find((function(t){return r.dependencies[t].alias.has(e.value)}));void 0!==u&&r.dependencies[u].addPluginFile(),i.push.apply(i,o(t.splice(e.start,e.end-e.start)))};for(u.s();!(n=u.n()).done;)a()}catch(e){u.e(e)}finally{u.f()}return i}},{key:"lex",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.rawtokenize(e,0,t,r),s=i?this.removeRequireStatements(a):this.replaceRequireStatements(a,void 0),f=c(s);try{for(f.s();!(n=f.n()).done;){var l=n.value;"word"!==l.type&&"not"!==l.type||(l.type="require")}}catch(e){f.e(e)}finally{f.f()}var p=a.filter((function(e){return"line_comment"===e.type||"range_comment"===e.type})).map((function(e){return u({},e)}));a=this.converttoken(a,!0);for(var h=0;h<a.length;h++)if("code"===a[h].type){var d,y=this.lexCodeToken(a[h].value,a[h].line,t,a[h].startOffset);p.push.apply(p,o(y.commentTokens)),(d=a).splice.apply(d,[h,1].concat(o(y.tokens))),h--}return this.logger.trace("--- lex ---\n"+JSON.stringify(a,null,2)),{commentTokens:p,tokens:a,requireTokens:s}}},{key:"parse",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.lexer.setFuncList(this.funclist),this.parser.setFuncList(this.funclist);var r,o=this.lex(e,t,n);try{this.parser.genMode="sync",r=this.parser.parse(o.tokens)}catch(e){if("number"!=typeof e.startOffset)throw P.fromNode(e.message,o.tokens[this.parser.index]);throw e}return this.usedFuncs=this.getUsedFuncs(r),this.logger.trace("--- ast ---\n"+JSON.stringify(r,null,2)),r}},{key:"getUsedFuncs",value:function(e){var t=[e];for(this.usedFuncs=new Set;t.length>0;){var n=t.pop();null!=n&&null!==n.block&&void 0!==n.block&&this.getUsedAndDefFuncs(t,JSON.parse(JSON.stringify(n.block)))}return this.deleteUnNakoFuncs()}},{key:"getUsedAndDefFuncs",value:function(e,t){for(;t.length>0;){var n=t.pop();null!=n&&this.getUsedAndDefFunc(n,e,t)}}},{key:"getUsedAndDefFunc",value:function(e,t,n){["func","func_pointer"].includes(e.type)&&null!==e.name&&void 0!==e.name&&this.usedFuncs.add(e.name),t.push.apply(t,[e,e.block]),n.push.apply(n,[e.value].concat(e.args))}},{key:"deleteUnNakoFuncs",value:function(){var e,t=c(this.usedFuncs);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.commandlist.has(n)||this.usedFuncs.delete(n)}}catch(e){t.e(e)}finally{t.f()}return this.usedFuncs}},{key:"compile",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=this.parse(e,t,r);return F(o.genMode).generate(this,o,n).runtimeEnv}},{key:"_run",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i={resetLog:n,testOnly:r};return this._runEx(e,t,i,o)}},{key:"clearPlugins",value:function(){this.__globals.forEach((function(e){e.reset()}))}},{key:"_runEx",value:function(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4?arguments[4]:void 0;try{var u=Object.assign({resetEnv:!0,testOnly:!1,resetAll:!0},n);u.resetEnv&&this.reset(),u.resetAll&&this.clearPlugins();var a=this.parse(e,t,o);r=F(a.genMode).generate(this,a,u.testOnly)}catch(e){throw this.logger.error(e),e}i=i||new C(this,r.gen),this.__globals.indexOf(i)<0&&this.__globals.push(i);try{return new Function(r.runtimeEnv).apply(i),i}catch(e){var c=e;throw e instanceof E||(c=new E(e,i.__varslist[0].line)),this.logger.error(c),c}}},{key:"runEx",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return this._runEx(e,t,n,r)}},{key:"test",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return this._runEx(e,t,{testOnly:r||!0},n)}},{key:"run",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return this._runEx(e,t,{resetAll:!1},n)}},{key:"runReset",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return this._runEx(e,t,{resetAll:!0},n)}},{key:"compileStandalone",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=this.parse(e,t,r);return F(o.genMode).generate(this,o,n).standalone}},{key:"addPlugin",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.__varslist[0];for(var r in void 0===n.meta&&(n.meta={}),e){var o=e[r];if(this.funclist[r]=o,t&&(this.pluginFunclist[r]=JSON.parse(JSON.stringify(o))),"func"===o.type)n[r]=o.fn;else{if("const"!==o.type&&"var"!==o.type)throw new Error("プラグインの追加でエラー。");n[r]=o.value,n.meta[r]={readonly:"const"===o.type}}"初期化"!==r&&"!"!==r.substr(0,1)&&this.commandlist.add(r)}}},{key:"addPluginObject",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.__module[e]=t,this.pluginfiles[e]="*","object"===r(t["初期化"])){var o=t["初期化"];delete t["初期化"];var i="!".concat(e,":初期化");t[i]=o}if(t.meta&&t.meta.value&&"object"===r(t.meta)){var u=t.meta;delete t.meta;var a=u.value.pluginName||e,c="__".concat(a).replace("-","__");t[c]=u}this.addPlugin(t,n)}},{key:"addPluginFile",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.addPluginObject(e,n,r),void 0===this.pluginfiles[e]&&(this.pluginfiles[e]=t)}},{key:"addFunc",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.funclist[e]={josi:t,fn:n,type:"func",return_none:r},this.pluginFunclist[e]=R(this.funclist[e]),this.__varslist[0][e]=n}},{key:"getFunc",value:function(e){return this.funclist[e]}},{key:"addCodeGenerator",value:function(e,t){N[e]=t}}],i=[{key:"listRequireStatements",value:function(e){for(var t=[],n=0;n+2<e.length;n++)"not"!==e[n].type||"string"!==e[n+1].type&&"string_ex"!==e[n+1].type||"取込"!==e[n+2].value||(t.push({start:n,end:n+3,value:e[n+1].value+"",firstToken:e[n],lastToken:e[n+2]}),n+=2);return t}}],n&&l(t.prototype,n),i&&l(t,i),e}();e.exports=D},1269:function(e,t,n){n(4916),n(5306),n(2222);var r=["black","red","green","yellow","blue","magenta","cyan","white"];e.exports={convertColorTextFormat:function(e){var t,n=e.replace(/\x1b\[\d+m/g,""),o=[],i="inherit",u="inherit",a=e===n?n:e.replace(/\x1b\[(\d+)m/g,(function(e,t){var n=+t;return 0===n&&(i="inherit",u="inherit"),1===n&&(u="bold"),n>=30&&n<=37&&(i=r[n-30]),o.push("color: ".concat(i,"; font-weight: ").concat(u,";")),"%c"})),c="inherit",s="inherit";return{noColor:n,nodeConsole:e===n?n:e+"[0m",html:e===n?n:"<span>"+(t=e,t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")).replace(/\x1b\[(\d+)m/g,(function(e,t){var n=+t;return 0===n&&(c="inherit",s="inherit"),1===n&&(s="bold"),n>=30&&n<=37&&(c=r[n-30]),'</span><span style="color: '.concat(c,"; font-weight: ").concat(s,';">')}))+"</span>",browserConsole:[a].concat(o)}},colorNames:r,color:{reset:"[0m",bold:"[1m",black:"[30m",red:"[31m",green:"[32m",yellow:"[33m",blue:"[34m",magenta:"[35m",cyan:"[36m",white:"[37m"}}},7597:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function a(e){var t=l();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,h(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},s(e)}function f(e,t,n){return f=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&p(o,n.prototype),o},f.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}n(2222),n(489),n(8309),n(4916),n(1539),n(9714),n(2419),n(6992),n(1532),n(8783),n(3948),n(2526),n(1817),n(2165);var d=n(7785),y=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o,u){var a;i(this,n);var c="".concat(o||"").concat(void 0===u?"":"(".concat(u+1,"行目): "));return(a=t.call(this,"[".concat(e,"]").concat(c).concat(r,"\n[バージョン] ").concat(d.version))).tag="["+e+"]",a.positionJa=c,a.msg=r,a}return n}(s(Error)),v=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o){var u;return i(this,n),(u=t.call(this,"インデントエラー",e,o,r)).line=r,u.file=o,u}return n}(y),g=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o,u,a){var c;return i(this,n),(c=t.call(this,"字句解析エラー(内部エラー)",e,a,u)).preprocessedCodeStartOffset=r,c.preprocessedCodeEndOffset=o,c.line=u,c.file=a,c}return n}(y),_=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o,u,a){var c;return i(this,n),(c=t.call(this,"字句解析エラー",e,a,u)).startOffset=r,c.endOffset=o,c.line=u,c.file=a,c}return n}(y),m=function(e){"use strict";u(s,e);var t,n,r,c=a(s);function s(e,t,n,r,o){var u;return i(this,s),(u=c.call(this,"文法エラー",e,o,t)).file=o,u.line=t,u.startOffset=n,u.endOffset=r,u}return t=s,r=[{key:"fromNode",value:function(e,t,n){if(!t)return new s(e,void 0,null,null,void 0);var r="number"==typeof t.startOffset?t.startOffset:null,o=n&&"number"==typeof n.endOffset?n.endOffset:"number"==typeof t.endOffset?t.endOffset:null;return new s(e,t.line,r,o,t.file)}}],(n=null)&&o(t.prototype,n),r&&o(t,r),s}(y),b=function(e){"use strict";u(n,e);var t=a(n);function n(e,r){var o;i(this,n);var u,a,c,s=e instanceof Error&&e.constructor!==Error&&e.constructor!==n?e.constructor.name+": ":"",f=e instanceof Error?e.message:e+"";return void 0===r?(u=void 0,a=void 0):(c=/^l(-?\d+):(.*)$/.exec(r))?(u=+c[1],a=c[2]):(c=/^l(-?\d+)$/.exec(r))?(u=+c[1],a=void 0):(u=void 0,a=r),(o=t.call(this,"実行時エラー","エラー『".concat(s).concat(f,"』が発生しました。"),a,u)).error=e,o.lineNo=r,o.line=u,o.file=a,o}return n}(y),w=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o){var u;return i(this,n),(u=t.call(this,"取り込みエラー",e,o,r)).file=o,u.line=r,u}return n}(y);e.exports={NakoError:y,NakoIndentError:v,NakoLexerError:_,InternalLexerError:g,NakoSyntaxError:m,NakoRuntimeError:b,NakoImportError:w}},4541:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(4916),n(5306),n(3123),n(9600),n(4723),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);n(7597).NakoIndentError;var i=n(8178),u=["!DNCLモード"];function a(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function c(e,t){e=function(e){for(var t=new i,n="",r=!1,o="",u=0;u<e.length;u++){var a=e.charAt(u),c=t.convert1ch(a);if(r){if(c===o){r=!1,o="",n+=c;continue}n+=a}else"「"!==c?'"'!==c?("{"===c&&(c="["),"}"===c&&(c="]"),"←"===c&&(c="="),n+=c):(r=!0,o='"',n+=c):(r=!0,o="」",n+=c)}return n}(e);for(var n=e.split("\n"),r=0;r<n.length;r++)n[r]=n[r].replace(/^(\s*[|\s]+)(.*$)/,(function(e,t,n){return a(t.length)+n}));e=n.join("\n");for(var o={"を実行する":"ここまで","を実行し,そうでなくもし":"違えば、もし","を実行し,そうでなくもし":"違えば、もし","を実行し、そうでなくもし":"違えば、もし","を実行し,そうでなければ":"違えば","を実行し,そうでなければ":"違えば","を実行し、そうでなければ":"違えば","を繰り返す":"ここまで","改行なしで表示":"連続無改行表示","のすべての値を0にする":"=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]","ずつ増やしながら":"ずつ増やし繰り返す","ずつ減らしながら":"ずつ減らし繰り返す","二進で表示":"二進表示"},u=function(){var t=e.charAt(0);return e=e.substring(1),t},s=!1,f="",l="",p="";""!=e;){var h=e.charAt(0);if(s){if(h===l){p+=f+l,f="",s=!1,u();continue}f+=u()}else if('"'!=h)if("「"!=h)if("『"!=h)if(" "!==h&&" "!==h&&"\t"!=h)if("を表示"!==e.substring(0,3))if("を 表示"!==e.substring(0,4))if("乱数"!==e.substring(0,2)||"乱数範囲"===e.substring(0,4)){var d=e.indexOf("\n"),y=(d>=0?e.substring(0,d):e).match(/^もし(.+)を実行する(。|.)*/);if(y){var v=c(y[1],t);p+="もし、".concat(v,";"),e=e.substring(y[0].length)}else{var g=!1;for(var _ in o){if(e.substring(0,_.length)===_){p+=o[_],e=e.substring(_.length),g=!0;break}}g||(p+=u())}}else p+="乱数範囲",e=e.substring(2);else p+="を連続表示",e=e.substring(4);else p+="を連続表示",e=e.substring(3);else p+=u();else s=!0,l="』",f=u();else s=!0,l="」",f=u();else s=!0,l='"',f=u()}return p}e.exports={convert:function(e,t){return function(e){var t,n=u,o=r(e.split("\n",30));try{for(o.s();!(t=o.n()).done;){var i=t.value.replace("!","!");if(n.indexOf(i)>=0)return!0}}catch(e){o.e(e)}finally{o.f()}return!1}(e=e.replace(/(\r\n|\r)/g,"\n"))?c(e,t):e}}},4025:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(6992),n(1539),n(189),n(8783),n(3948),n(1249),n(7941),n(2222),n(1038),n(9714),n(8309),n(4916),n(5306),n(9600),n(3123),n(6699),n(2023),n(2481),n(4747),n(2526),n(7327),n(5003),n(9337),n(1817),n(2165),n(7042);var f=n(7597),l=f.NakoSyntaxError,p=f.NakoError,h=f.NakoRuntimeError,d=n(7785),y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.nako_func=a({},t.nako_func),this.nako_test={},this.used_func=new Set,this.loop_id=1,this.flagLoop=!1,this.__self=t,this.genMode="sync",this.lastLineNo=null,this.varslistSet=t.__varslist.map((function(e){return{isFunction:!1,names:new Set(Object.keys(e)),readonly:new Set}})),this.varsSet={isFunction:!1,names:new Set,readonly:new Set},this.varslistSet[2]=this.varsSet,this.speedMode={lineNumbers:0,implicitTypeCasting:0,invalidSore:0,forcePure:0},this.performanceMonitor={userFunction:0,systemFunction:0,systemFunctionBody:0},this.warnUndefinedReturnUserFunc=1,this.warnUndefinedCallingUserFuncArgs=1,this.warnUndefinedCallingSystemFuncArgs=1,this.warnUndefinedCalledUserFuncArgs=1}var t,n,o;return t=e,o=[{key:"generate",value:function(t,n,r){var o=new e(t);o.registerFunction(n);var i=o.convGen(n,!!r);return(i=o.getDefFuncCode(r)+i)&&r&&(i+="\n__self._runTests(__tests);\n"),t.logger.trace("--- generate ---\n"+i),{runtimeEnv:i,standalone:"const nakoVersion = ".concat(JSON.stringify(d),";\n").concat(p.toString(),"\n").concat(h.toString(),"\nthis.logger = {\n error(message) { console.error(message) },\n send(level, message) { console.log(message) },\n};\nthis.__varslist = [{}, {}, {}];\nthis.__vars = this.__varslist[2];\nthis.__module = {};\nthis.__locals = {};\nthis.__genMode = 'sync';\ntry {\n ").concat(o.getVarsCode(),"\n ").concat(i,"\n} catch (err) {\n if (!(err instanceof NakoRuntimeError)) {\n err = new NakoRuntimeError(err, __varslist[0].line);\n }\n this.logger.error(err);\n throw err;\n}"),gen:o}}},{key:"isValidIdentifier",value:function(e){return/^(?!(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$)[$A-Z_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(e)}},{key:"getFuncName",value:function(e){var t=e.replace(/[ぁ-ん]+$/,"");return""===t&&(t=e),t}},{key:"convPrint",value:function(e){return"__print(".concat(e,");")}},{key:"convRequire",value:function(e){var t=e.value;return this.convLineno(e,!1)+"__module['".concat(t,"'] = require('").concat(t,"');\n")}}],(n=[{key:"convLineno",value:function(e,t){if(this.speedMode.lineNumbers>0)return"";var n;if(n="number"!=typeof e.line?"unknown":"string"!=typeof e.file?"l".concat(e.line):"l".concat(e.line,":").concat(e.file),!t){if(n===this.lastLineNo)return"";this.lastLineNo=n}return"__v0.line=".concat(JSON.stringify(n),";")}},{key:"varname",value:function(t){return 3===this.varslistSet.length?"__varslist[".concat(2,"][",JSON.stringify(t),"]"):e.isValidIdentifier(t)?t:"__vars[".concat(JSON.stringify(t),"]")}},{key:"getVarsCode",value:function(){for(var e="",t=0,n=Array.from(this.used_func.values());t<n.length;t++){var r=n[t],o=this.__self.__varslist[0][r],i='this.__varslist[0]["'.concat(r,'"]');e+="function"==typeof o?i+"="+o.toString()+";\n":i+"="+JSON.stringify(o)+";\n"}return e}},{key:"getDefFuncCode",value:function(e){var t="";t+="const __self = this.__self = this;\n",t+="const __varslist = this.__varslist;\n",t+="const __module = this.__module;\n",t+="const __v0 = this.__v0 = this.__varslist[0];\n",t+="const __v1 = this.__v1 = this.__varslist[1];\n",t+="const __vars = this.__vars = this.__varslist[2];\n";var n="";for(var r in this.nako_func){var o=this.nako_func[r].fn;n+=""+"//[DEF_FUNC name='".concat(r,"']\n")+'__v1["'.concat(r,'"]=').concat(o,";\n;")+"//[/DEF_FUNC name='".concat(r,"']\n")}""!==n&&(t+="__v0.line='関数の定義';\n"+n);var i="";for(var u in this.__self.__module){var a="!".concat(u,":初期化");this.varslistSet[0].names.has(a)&&(this.used_func.add("!".concat(u,":初期化")),i+='__v0["!'.concat(u,':初期化"](__self);\n'))}if(""!==i&&(t+="__v0.line='プラグインの初期化';\n"+i),e){var c="const __tests = [];\n";for(var s in this.nako_test)if(!0===e||"string"==typeof e&&e===s){var f=this.nako_test[s].fn;c+="".concat(f,";\n;")}""!==c&&(t+="__v0.line='テストの定義';\n",t+=c+"\n")}return t}},{key:"addPlugin",value:function(e){return this.__self.addPlugin(e)}},{key:"addPluginObject",value:function(e,t){this.__self.addPluginObject(e,t)}},{key:"addPluginFile",value:function(e,t,n){this.__self.addPluginFile(e,t,n)}},{key:"addFunc",value:function(e,t,n){this.__self.addFunc(e,t,n)}},{key:"setFunc",value:function(e,t){this.__self.setFunc(e,t)}},{key:"getFunc",value:function(e){return this.__self.getFunc(e)}},{key:"registerFunction",value:function(e){var t=this;if("block"!==e.type)throw l.fromNode("構文解析に失敗しています。構文は必ずblockが先頭になります",e);!function e(n){for(var r=0;r<n.block.length;r++){var o=n.block[r];if("def_func"===o.type){var i=o.name.value;t.used_func.add(i),t.__self.__varslist[1][i]=function(){},t.nako_func[i]={josi:o.name.meta.josi,fn:"",type:"func"}}else("speed_mode"===o.type||"performance_monitor"===o.type)&&("block"===o.block.type?e(o.block):e(o))}}(e);var n=new Set;0===this.speedMode.invalidSore&&n.add("それ"),this.varsSet={isFunction:!1,names:n,readonly:new Set},this.varslistSet=this.__self.__varslist.map((function(e){return{isFunction:!1,names:new Set(Object.keys(e)),readonly:new Set}})),this.varslistSet[2]=this.varsSet}},{key:"convGen",value:function(e,t){var n=this.convLineno(e,!1)+this._convGen(e,!0);return t?"":n}},{key:"_convGen",value:function(t,n){var r="";if(t instanceof Array){for(var o=0;o<t.length;o++){var u=t[o];r+=this._convGen(u,n)}return r}if(null===t)return"null";if(void 0===t)return"undefined";if("object"!==i(t))return""+t;switch(t.type){case"nop":break;case"block":for(var a=0;a<t.block.length;a++){var c=t.block[a];r+=this._convGen(c,!1)}break;case"comment":case"eol":r+=this.convComment(t);break;case"break":r+=this.convCheckLoop(t,"break");break;case"continue":r+=this.convCheckLoop(t,"continue");break;case"end":r+="__varslist[0]['終']();";break;case"number":r+=t.value;break;case"string":r+=this.convString(t);break;case"def_local_var":r+=this.convDefLocalVar(t);break;case"def_local_varlist":r+=this.convDefLocalVarlist(t);break;case"let":r+=this.convLet(t);break;case"inc":r+=this.convInc(t);break;case"word":case"variable":r+=this.convGetVar(t);break;case"op":case"calc":r+=this.convOp(t);break;case"renbun":r+=this.convRenbun(t);break;case"not":r+="(("+this._convGen(t.value,!0)+")?0:1)";break;case"func":case"func_pointer":case"calc_func":r+=this.convFunc(t,n);break;case"if":r+=this.convIf(t);break;case"tikuji":r+=this.convTikuji(t);break;case"for":r+=this.convFor(t);break;case"foreach":r+=this.convForeach(t);break;case"repeat_times":r+=this.convRepeatTimes(t);break;case"speed_mode":r+=this.convSpeedMode(t,n);break;case"performance_monitor":r+=this.convPerformanceMonitor(t,n);break;case"while":r+=this.convWhile(t);break;case"switch":r+=this.convSwitch(t);break;case"let_array":r+=this.convLetArray(t);break;case"配列参照":r+=this.convRefArray(t);break;case"json_array":r+=this.convJsonArray(t);break;case"json_obj":r+=this.convJsonObj(t);break;case"func_obj":r+=this.convFuncObj(t);break;case"bool":r+=t.value?"true":"false";break;case"null":r+="null";break;case"def_test":r+=this.convDefTest(t);break;case"def_func":r+=this.convDefFunc(t);break;case"return":r+=this.convReturn(t);break;case"try_except":r+=this.convTryExcept(t);break;case"require":r+=e.convRequire(t);break;default:throw new Error("System Error: unknown_type="+t.type)}return r}},{key:"findVar",value:function(e){if(this.varslistSet.length>3&&this.varsSet.names.has(e))return{i:this.varslistSet.length-1,name:e,isTop:!0,js:this.varname(e)};for(var t=2;t>=0;t--)if(this.varslistSet[t].names.has(e))return{i:t,name:e,isTop:!1,js:"__varslist[".concat(t,"][").concat(JSON.stringify(e),"]")};return null}},{key:"genVar",value:function(e,t){var n=this.findVar(e),r=t.line;if(null===n)return"引数"===e||"それ"===e||"対象"===e||"対象キー"===e||this.__self.logger.warn("変数『".concat(e,"』は定義されていません。"),t),this.varsSet.names.add(e),this.varname(e);if(0===n.i){var o=this.__self.funclist[e];if(!o)return"".concat(n.js,"/*err:").concat(r,"*/");if("const"===o.type||"var"===o.type)return n.js;if("func"===o.type){if(0===o.josi.length)return"(".concat(n.js,"())");throw l.fromNode("『".concat(e,"』が複文で使われました。単文で記述してください。(v1非互換)"),t)}throw l.fromNode("『".concat(e,"』は関数であり参照できません。"),t)}return n.js}},{key:"convGetVar",value:function(e){var t=e.value;return this.genVar(t,e)}},{key:"convComment",value:function(e){var t=String(e.value);t=t.replace(/\n/g,"¶");var n=this.convLineno(e,!1);return""===t&&""===n?";":""===t?";"+n+"\n":";"+n+"//"+t+"\n"}},{key:"convReturn",value:function(e){if(this.varsSet.names.has("!関数"))throw l.fromNode("『戻る』がありますが、関数定義内のみで使用可能です。",e);var t,n=this.convLineno(e,!1);if(e.value)t=this._convGen(e.value,!0);else{if(0!==this.speedMode.invalidSore)return n+"return;";t=this.varname("それ")}return 0===this.warnUndefinedReturnUserFunc?n+"return ".concat(t,";"):n+"return (function(a){if(a===undefined){__self.logger.warn('ユーザ関数からundefinedが返されています',{file:'".concat(e.file,"',line:").concat(e.line,"});};return a;})(").concat(t,");")}},{key:"convCheckLoop",value:function(e,t){if(!this.flagLoop){var n="continue"===t?"続ける":"抜ける";throw l.fromNode("『".concat(n,"』文がありますが、それは繰り返しの中で利用してください。"),e)}return this.convLineno(e.line)+t+";"}},{key:"convDefFuncCommon",value:function(t,n){var r="",o="";if(0!==this.performanceMonitor.userFunction){var i=n;i||(void 0===this.performanceMonitor.mumeiId&&(this.performanceMonitor.mumeiId=0),this.performanceMonitor.mumeiId++,i="anous_".concat(this.performanceMonitor.mumeiId)),r="const performanceMonitorEnd = (function (key, type) {\nconst uf_start = performance.now() * 1000;\nreturn function () {\nconst el_time = performance.now() * 1000 - uf_start;\nif (!__self.__performance_monitor) {\n__self.__performance_monitor={};\n__self.__performance_monitor[key] = { called:1, totel_usec: el_time, min_usec: el_time, max_usec: el_time, type: type };\n} else if (!__self.__performance_monitor[key]) {\n__self.__performance_monitor[key] = { called:1, totel_usec: el_time, min_usec: el_time, max_usec: el_time, type: type };\n} else {\n__self.__performance_monitor[key].called++;\n__self.__performance_monitor[key].totel_usec+=el_time;\nif(__self.__performance_monitor[key].min_usec>el_time){__self.__performance_monitor[key].min_usec=el_time;}\nif(__self.__performance_monitor[key].max_usec<el_time){__self.__performance_monitor[key].max_usec=el_time;}\n"+"}};})('".concat(i,"', 'user');")+"try {\n",o="} finally { performanceMonitorEnd(); }\n"}var u="",a=new Set;0===this.speedMode.invalidSore&&a.add("それ"),this.varsSet={isFunction:!0,names:a,readonly:new Set},this.varslistSet.push(this.varsSet),u+=" var 引数 = arguments;\n",u+=" var __vars = {};\n";for(var c=Array.from(this.varsSet.names.values()),s="",f=n?t.name.meta:t.meta,l=0;l<f.varnames.length;l++){var p=f.varnames[l];0===this.warnUndefinedCalledUserFunc?s+=" ".concat(this.varname(p)," = arguments[").concat(l,"];\n"):s+=n?" ".concat(this.varname(p)," = (function(a){if(a===undefined){__self.logger.warn('ユーザ関数(").concat(n,")の引数(").concat(this.varname(p),")にundefinedが渡されました',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(arguments[").concat(l,"]);\n"):" ".concat(this.varname(p)," = (function(a){if(a===undefined){__self.logger.warn('匿名関数の引数(").concat(this.varname(p),")にundefinedが渡されました',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(arguments[").concat(l,"]);\n"),this.varsSet.names.add(p)}n&&(this.used_func.add(n),this.varslistSet[1].names.add(n),this.nako_func[n]={josi:t.name.meta.josi,fn:"",type:"func"}),s+=this._convGen(t.block,!1).split("\n").map((function(e){return" "+e})).join("\n")+"\n",0===this.speedMode.invalidSore&&(s+=" return (".concat(this.varname("それ"),");\n")),s+=o;for(var h=0,d=Array.from(this.varsSet.names.values());h<d.length;h++){var y=d[h];c.includes(y)||!e.isValidIdentifier(y)||(u+=" var ".concat(y,";\n"))}return e.isValidIdentifier("それ")||this.speedMode.invalidSore,0===this.speedMode.invalidSore&&(e.isValidIdentifier("それ")?u+=" var それ = '';\n":u+=" ".concat(this.varname("それ")," = '';")),s="(function(){\n"+r+u+s,s+="})",n&&(this.nako_func[n].fn=s),this.varslistSet.pop(),this.varsSet=this.varslistSet[this.varslistSet.length-1],n&&(this.__self.__varslist[1][n]=s),s}},{key:"convDefTest",value:function(e){var t=e.name.value,n="__tests.push({ name: '".concat(t,"', f: () => {\n"),r=this._convGen(e.block,!1);return n+=" ".concat(r,"\n")+"}});",this.nako_test[t]={josi:e.name.meta.josi,fn:n,type:"test_func"},""}},{key:"convDefFunc",value:function(t){var n=e.getFuncName(t.name.value);return this.convDefFuncCommon(t,n),""}},{key:"convFuncObj",value:function(e){return this.convDefFuncCommon(e,"")}},{key:"convJsonObj",value:function(e){var t=this;return"{"+e.value.map((function(e){var n=t._convGen(e.key,!0),r=t._convGen(e.value,!0);return"".concat(n,":").concat(r)})).join(",")+"}"}},{key:"convJsonArray",value:function(e){var t=this;return"["+e.value.map((function(e){return t._convGen(e,!0)})).join(",")+"]"}},{key:"convRefArray",value:function(e){for(var t=this._convGen(e.name,!0),n=e.index,r=t,o=0;o<n.length;o++)r+="["+this._convGen(n[o],!0)+"]";return r}},{key:"convLetArray",value:function(e){var t=this._convGen(e.name,!0),n=e.index,r="",o=t,i="";if(e.checkInit){var u="[0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0]";r+="\n/*配列初期化*/if (!(".concat(t," instanceof Array)) { ").concat(t," = ").concat(u,"; console.log('初期化:").concat(t,"') };");for(var a=0;a<n.length-1;a++){var c=this._convGen(n[a],!0);i+="[".concat(c,"]"),r+="\n/*配列初期化".concat(a,"*/if (!(").concat(t).concat(i," instanceof Array)) { ").concat(t).concat(i," = ").concat(u,"; };")}r+="\n"}for(var s=0;s<n.length;s++)o+="["+this._convGen(n[s],!0)+"]";return o+=" = "+this._convGen(e.value,!0)+";\n",this.convLineno(e,!1)+r+o}},{key:"convGenLoop",value:function(e){var t=this.flagLoop;this.flagLoop=!0;try{return this._convGen(e,!1)}finally{this.flagLoop=t}}},{key:"convFor",value:function(e){var t;if(null!==e.word){var n=e.word.value;this.varsSet.names.add(n),t=this.varname(n)}else this.varsSet.names.add("dummy"),t=this.varname("dummy");var r=this.loop_id++,o="$nako_i".concat(r),i=this._convGen(e.from,!0),u=this._convGen(e.to,!0),a=this._convGen(e.inc,!0);null!=a&&null!=a&&"null"!=a||(a=1);var c=this.convGenLoop(e.block),s="$nako_from".concat(r),f="$nako_to".concat(r),l="";0===this.speedMode.invalidSore&&(l="".concat(this.varname("それ")," = "));var p="\n//[FOR id=".concat(r,"]\n")+"const ".concat(s," = ").concat(i,";\n")+"const ".concat(f," = ").concat(u,";\n")+"if (".concat(s," <= ").concat(f,") { // up\n")+" for (let ".concat(o," = ").concat(s,"; ").concat(o," <= ").concat(f,"; ").concat(o,"+= ").concat(a,") {\n")+" ".concat(l).concat(t," = ").concat(o,";\n")+" ".concat(c,"\n")+" };\n} else { // down\n"+" for (let ".concat(o," = ").concat(s,"; ").concat(o," >= ").concat(f,"; ").concat(o,"-= ").concat(a,") {\n")+" ".concat(l).concat(t," = ").concat(o,";")+"\n"+" ".concat(c,"\n")+" };\n"+"};\n//[/FOR id=".concat(r,"]\n");return this.convLineno(e,!1)+p}},{key:"convForeach",value:function(e){var t;if(null===e.target){if(0!==this.speedMode.invalidSore)throw l.fromNode("『反復』の対象がありません。",e);t=this.varname("それ")}else t=this._convGen(e.target,!0);var n='__v0["対象"]';e.name&&(n=this.varname(e.name.value),this.varsSet.names.add(e.name.value));var r=this.convGenLoop(e.block),o=this.loop_id++,i="";0===this.speedMode.invalidSore&&(i="".concat(this.varname("それ")," = "));var u="let $nako_foreach_v".concat(o,"=").concat(t,";\n")+"for (let $nako_i".concat(o," in $nako_foreach_v").concat(o,")")+"{\n"+" if ($nako_foreach_v".concat(o,".hasOwnProperty($nako_i").concat(o,")) {\n")+" ".concat(n," = ").concat(i,"$nako_foreach_v").concat(o,"[$nako_i").concat(o,"];")+"\n"+" ".concat('__v0["対象キー"]'," = $nako_i").concat(o,";\n")+" ".concat(r,"\n")+" }\n};\n";return this.convLineno(e,!1)+u}},{key:"convRepeatTimes",value:function(e){var t=this.loop_id++,n=this._convGen(e.value,!0),r=this.convGenLoop(e.block),o="";0===this.speedMode.invalidSore&&(o="".concat(this.varname("それ")," = "));var i="let $nako_times_v".concat(t," = ").concat(n,";\n")+"for(var $nako_i".concat(t," = 1; $nako_i").concat(t," <= $nako_times_v").concat(t,"; $nako_i").concat(t,"++)")+"{\n"+" ".concat(o).concat('__v0["回数"]'," = $nako_i").concat(t,";")+"\n "+r+"\n}\n";return this.convLineno(e,!1)+i}},{key:"convSpeedMode",value:function(e,t){var n=a({},this.speedMode);e.options["行番号無し"]&&this.speedMode.lineNumbers++,e.options["暗黙の型変換無し"]&&this.speedMode.implicitTypeCasting++,e.options["強制ピュア"]&&this.speedMode.forcePure++,e.options["それ無効"]&&this.speedMode.invalidSore++;try{return this._convGen(e.block,t)}finally{this.speedMode=n}}},{key:"convPerformanceMonitor",value:function(e,t){var n=a({},this.performanceMonitor);e.options["ユーザ関数"]&&this.performanceMonitor.userFunction++,e.options["システム関数本体"]&&this.performanceMonitor.systemFunctionBody++,e.options["システム関数"]&&this.performanceMonitor.systemFunction++;try{return this._convGen(e.block,t)}finally{this.performanceMonitor=n}}},{key:"convWhile",value:function(e){var t=this._convGen(e.cond,!0),n=this.convGenLoop(e.block),r="while (".concat(t,")")+"{\n"+" ".concat(n)+"\n}\n";return this.convLineno(e,!1)+r}},{key:"convSwitch",value:function(e){for(var t=this._convGen(e.value,!0),n=e.cases,r="",o=0;o<n.length;o++){var i=n[o][0],u=this.convGenLoop(n[o][1]);if("違えば"===i.type)r+=" default:\n";else{var a=this._convGen(i,!0);r+=" case ".concat(a,":\n")}r+=" ".concat(u,"\n")+" break\n"}var c="switch (".concat(t,")")+"{\n"+"".concat(r)+"\n}\n";return this.convLineno(e,!1)+c}},{key:"convIf",value:function(e){var t=this._convGen(e.expr,!0),n=this._convGen(e.block,!1),r=null===e.false_block?"":"else {"+this._convGen(e.false_block,!1)+"};\n";return this.convLineno(e,!1)+"if (".concat(t,") {\n ").concat(n,"\n}")+r+";\n"}},{key:"convTikuji",value:function(e){for(var t=this.loop_id++,n="__tikuji".concat(t),r="const ".concat(n," = []\n"),o=0;o<e.blocks.length;o++){var i=this._convGen(e.blocks[o],!1).replace(/\s+$/,"")+"\n",u=this.convLineno(e.blocks[o],!0);r+="".concat(n,".push(function(resolve, reject) {\n")+" __self.resolve = resolve;\n __self.reject = reject;\n __self.resolveCount = 0;\n"+" ".concat(u,"\n")+" ".concat(i)+" if (__self.resolveCount === 0) resolve();\n}); // end of tikuji__${pid}[{$i}]\n"}r+="// end of ".concat(n," \n");var a=" ".concat(n,".splice(0);\n")+' __v0["エラーメッセージ"]=errMsg;\n';return null!=e.errorBlock&&(a+=this._convGen(e.errorBlock,!1).replace(/\s+$/,"")+"\n"),r+="const ".concat(n,"__reject = function(errMsg){\n").concat(a,"};\n"),r+="__self.resolve = undefined;\n",r+="const ".concat(n,"__resolve = function(){\n"),r+=" setTimeout(function(){\n",r+=" if (".concat(n,".length == 0) {return}\n"),r+=" const f = ".concat(n,".shift()\n"),r+=" f(".concat(n,"__resolve, ").concat(n,"__reject);\n"),r+=" }, 0);\n",r+="};\n",r+="".concat(n,"__resolve()\n"),this.convLineno(e,!1)+r}},{key:"convFuncGetArgsCalcType",value:function(e,t,n){for(var r=[],o={},i=0;i<n.args.length;i++){var u=n.args[i];0===i&&null===u&&0===this.speedMode.invalidSore?(r.push(this.varname("それ")),o.sore=!0):r.push(this._convGen(u,!0))}return[r,o]}},{key:"getPluginList",value:function(){var e=[];for(var t in this.__self.__module)e.push(t);return e}},{key:"convFunc",value:function(t,n){var o,i=e.getFuncName(t.name),u=this.findVar(i);if(null===u)throw l.fromNode("関数『".concat(i,"』が見当たりません。有効プラグイン=[")+this.getPluginList().join(", ")+"]",t);if(0===u.i){if("func"!==(o=this.__self.funclist[i]).type)throw l.fromNode("『".concat(i,"』は関数ではありません。"),t)}else void 0===(o=this.nako_func[i])&&(o={return_none:!1});if("func_pointer"===t.type)return u.js;var a=this.convFuncGetArgsCalcType(i,o,t),c=a[0],s=a[1];this.used_func.add(i),c.push("__self");var f="function",p="",h="";if(t.setter&&(p+=";__self.isSetter = true;\n",h+=";__self.isSetter = false;\n"),0===u.i&&this.varslistSet.length>3&&!0!==o.pure&&0===this.speedMode.forcePure){for(var d=[],y=0,v=Array.from(this.varsSet.names.values());y<v.length;y++){var g=v[y];e.isValidIdentifier(g)&&d.push({str:JSON.stringify(g),js:this.varname(g)})}p+="__self.__locals = __vars;\n";for(var _=0,m=d;_<m.length;_++){var b=m[_];p+="__self.__locals[".concat(b.str,"] = ").concat(b.js,";\n")}for(var w=0,k=d;w<k.length;w++){var x=k[w];"それ"!==x.js&&(h+="".concat(x.js," = __self.__locals[").concat(x.str,"];\n"))}}s.sore&&(p+="/*[sore]*/");var j,S=function(e,t){var n,o="",i=r(e.split("\n"));try{for(i.s();!(n=i.n()).done;){var u=n.value;""!==u&&(o+=" ".repeat(t)+u+"\n")}}catch(e){i.e(e)}finally{i.f()}return o};0===this.warnUndefinedCallingUserFunc&&0!==u.i||0===this.warnUndefinedCallingSystemFunc&&0===u.i?j=c.join(","):(j="",c.forEach((function(e){"__self"===e?j+=",".concat(e):0===u.i?j+=",(function(a){if(a===undefined){__self.logger.warn('命令『".concat(i,"』の引数にundefinedを渡しています。',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(").concat(e,")"):j+=",(function(a){if(a===undefined){__self.logger.warn('ユーザ関数『".concat(i,"』の引数にundefinedを渡しています。',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(").concat(e,")")})),j=j.substring(1));var O="".concat(u.js,"(").concat(j,")");if(0===u.i&&0!==this.performanceMonitor.systemFunctionBody){var A=i;A||(void 0===this.performanceMonitor.mumeiId&&(this.performanceMonitor.mumeiId=0),this.performanceMonitor.mumeiId++,A="anous_".concat(this.performanceMonitor.mumeiId)),O="(".concat(f," (key, type) {\n")+"const sbf_start = performance.now() * 1000;\ntry {\nreturn "+O+";\n} finally {\nconst sbl_time = performance.now() * 1000 - sbf_start;\nif (!__self.__performance_monitor) {\n__self.__performance_monitor={};\n__self.__performance_monitor[key] = { called:1, totel_usec: sbl_time, min_usec: sbl_time, max_usec: sbl_time, type: type };\n} else if (!__self.__performance_monitor[key]) {\n__self.__performance_monitor[key] = { called:1, totel_usec: sbl_time, min_usec: sbl_time, max_usec: sbl_time, type: type };\n} else {\n__self.__performance_monitor[key].called++;\n__self.__performance_monitor[key].totel_usec+=sbl_time;\nif(__self.__performance_monitor[key].min_usec>sbl_time){__self.__performance_monitor[key].min_usec=sbl_time;}\nif(__self.__performance_monitor[key].max_usec<sbl_time){__self.__performance_monitor[key].max_usec=sbl_time;}\n"+"}}})('".concat(i,"_body', 'sysbody')\n")}var E="";if(o.return_none)E=""===h?""===p?"".concat(O,";\n"):"".concat(p," ").concat(O,";\n"):"".concat(p,"try {\n").concat(S(O,1),";\n} finally {\n").concat(S(h,1),"}\n");else{var T="";0===this.speedMode.invalidSore&&(T="".concat(this.varname("それ")," = ")),E=""===p&&""===h?"(".concat(T).concat(O,")"):""===h?"(".concat(f,"(){\n").concat(S("".concat(p,";\nreturn ").concat(T," ").concat(O),1),"}).call(this)"):"(".concat(f,"(){\n").concat(S("".concat(p,"try {\n").concat(S("return ".concat(T).concat(O,";"),1),"\n} finally {\n").concat(S(h,1),"}"),1),"}).call(this)"),("して"===t.josi||""===t.josi&&!n)&&(E+=";\n")}return 0===u.i&&0!==this.performanceMonitor.systemFunction&&(E="(function (key, type) {\nconst sf_start = performance.now() * 1000;\ntry {\nreturn "+E+";\n} finally {\nconst sl_time = performance.now() * 1000 - sf_start;\nif (!__self.__performance_monitor) {\n__self.__performance_monitor={};\n__self.__performance_monitor[key] = { called:1, totel_usec: sl_time, min_usec: sl_time, max_usec: sl_time, type: type };\n} else if (!__self.__performance_monitor[key]) {\n__self.__performance_monitor[key] = { called:1, totel_usec: sl_time, min_usec: sl_time, max_usec: sl_time, type: type };\n} else {\n__self.__performance_monitor[key].called++;\n__self.__performance_monitor[key].totel_usec+=sl_time;\nif(__self.__performance_monitor[key].min_usec>sl_time){__self.__performance_monitor[key].min_usec=sl_time;}\nif(__self.__performance_monitor[key].max_usec<sl_time){__self.__performance_monitor[key].max_usec=sl_time;}\n"+"}}})('".concat(i,"_sys', 'system')\n")),E}},{key:"convRenbun",value:function(e){var t=this._convGen(e.right,!0),n=this._convGen(e.left,!1);return"(function(){".concat(n,"; return ").concat(t,"}).call(this)")}},{key:"convOp",value:function(e){var t={"&":'+""+',eq:"==",noteq:"!=","===":"===","!==":"!==",gt:">",lt:"<",gteq:">=",lteq:"<=",and:"&&",or:"||",shift_l:"<<",shift_r:">>",shift_r0:">>>"},n=e.operator,r=this._convGen(e.right,!0),o=this._convGen(e.left,!0);return"+"===n&&0===this.speedMode.implicitTypeCasting&&("number"!==e.left.type&&(o="parseFloat(".concat(o,")")),"number"!==e.right.type&&(r="parseFloat(".concat(r,")"))),"^"===n?"(Math.pow("+o+","+r+"))":(t[n]&&(n=t[n]),"(".concat(o," ").concat(n," ").concat(r,")"))}},{key:"convInc",value:function(e){var t=null;if(0===this.speedMode.invalidSore&&(t=this.varname("それ")),e.value&&(t=this._convGen(e.value,!0)),null==t)throw l.fromNode("加算する先の変数名がありません。",e);var n=e.name.value,r="";return null===this.findVar(n)&&this.varsSet.names.add(n),r+="if (typeof(".concat(this.varname(n),") === 'undefined') { ").concat(this.varname(n)," = 0; }"),r+="".concat(this.varname(n)," += ").concat(t),";"+this.convLineno(e,!1)+r+"\n"}},{key:"convLet",value:function(e){var t=null;if(0===this.speedMode.invalidSore&&(t=this.varname("それ")),e.value&&(t=this._convGen(e.value,!0)),null==t)throw l.fromNode("代入する先の変数名がありません。",e);var n=e.name.value,r=this.findVar(n),o="";if(null===r)this.varsSet.names.add(n),o="".concat(this.varname(n),"=").concat(t,";");else{if(this.varslistSet[r.i].readonly.has(n))throw l.fromNode("定数『".concat(n,"』は既に定義済みなので、値を代入することはできません。"),e);o="".concat(r.js,"=").concat(t,";")}return";"+this.convLineno(e,!1)+o+"\n"}},{key:"convDefLocalVar",value:function(e){var t=null===e.value?"null":this._convGen(e.value,!0),n=e.name.value,r=e.vartype;if(this.varsSet.names.has(n))throw l.fromNode("".concat(r,"『").concat(n,"』の二重定義はできません。"),e);this.varsSet.names.add(n),"定数"===r&&this.varsSet.readonly.add(n);var o="".concat(this.varname(n),"=").concat(t,";\n");return this.convLineno(e,!1)+o}},{key:"convDefLocalVarlist",value:function(e){var t="",n=e.vartype,r=null===e.value?"null":this._convGen(e.value,!0);this.loop_id++;var o="$nako_i".concat(this.loop_id);for(var i in t+="".concat(o,"=").concat(r,"\n"),t+="if (!(".concat(o," instanceof Array)) { ").concat(o,"=[").concat(o,"] }\n"),e.names){var u=e.names[i].value;this.varsSet.names.has(u),this.varsSet.names.add(u),"定数"===n&&this.varsSet.readonly.add(u);var a=this.varname(u);t+="".concat(a,"=").concat(o,"[").concat(i,"];\n")}return this.convLineno(e,!1)+t}},{key:"convString",value:function(e){var t=this,n=""+e.value,r=e.mode;if(n=(n=(n=(n=n.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')).replace(/\r/g,"\\r")).replace(/\n/g,"\\n"),"ex"===r){var o=function(n,r){return'"+'+t.genVar(r,e)+'+"'};n=(n=n.replace(/\{(.+?)\}/g,o)).replace(/{(.+?)}/g,o)}return'"'+n+'"'}},{key:"convTryExcept",value:function(e){var t=this._convGen(e.block,!1),n=this._convGen(e.errBlock,!1);return this.convLineno(e,!1)+"try {\n".concat(t,"\n} catch (e) {\n")+' __v0["エラーメッセージ"] = e.message;\n;\n'+"".concat(n,"}\n")}}])&&s(t.prototype,n),o&&s(t,o),e}();e.exports=y},4688:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(4916),n(5306),n(2222),n(915),n(8309),n(7941),n(2526),n(7327),n(1539),n(5003),n(4747),n(9337),n(7042),n(1038),n(8783),n(1817),n(2165),n(6992),n(3948);var s=n(1269),f=function(){"use strict";function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__locals={},this.__varslist=[u({},t.__varslist[0]),u({},t.__varslist[1]),u({},t.__varslist[2])],this.index=0,this.nextIndex=-1,this.__code=[],this.__callstack=[],this.__stack=[],this.__labels=[],this.__genMode=n.genMode,this.__module=u({},t.__module),this.pluginfiles=u({},t.pluginfiles),this.gen=n,this.logger=t.logger,this.compiler=t}var t,n,o;return t=e,n=[{key:"clearLog",value:function(){this.__varslist[0]["表示ログ"]=""}},{key:"log",get:function(){var e=this.__varslist[0]["表示ログ"];return e=e.replace(/\s+$/,"")}},{key:"runEx",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return this.compiler._runEx(e,t,n,r,this)}},{key:"_runTests",value:function(e){var t,n="".concat(s.color.bold,"テストの実行結果").concat(s.color.reset,"\n"),o=0,i=0,u=r(e);try{for(u.s();!(t=u.n()).done;){var a=t.value;try{a.f(),n+="".concat(s.color.green,"✔").concat(s.color.reset," ").concat(a.name,"\n"),o++}catch(e){n+="".concat(s.color.red,"☓").concat(s.color.reset," ").concat(a.name,": ").concat(e.message,"\n"),i++}}}catch(e){u.e(e)}finally{u.f()}n+=i>0?"".concat(s.color.green,"成功 ").concat(o,"件 ").concat(s.color.red,"失敗 ").concat(i,"件"):"".concat(s.color.green,"成功 ").concat(o,"件"),this.numFailures=i,this.logger.send("stdout",n)}},{key:"clearPlugins",value:function(){for(var e in this.pluginfiles){var t=this.__module[e];t["!クリア"]&&t["!クリア"].fn&&t["!クリア"].fn(this)}}},{key:"reset",value:function(){this.clearPlugins()}},{key:"destroy",value:function(){this.reset()}}],n&&c(t.prototype,n),o&&c(t,o),e}();e.exports=f},6464:function(e,t,n){function r(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(4916),n(3123),n(5306),n(9600),n(1249),n(1539),n(4747),n(6699),n(2023),n(3290),n(7042),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var a=n(7597).NakoIndentError,c=n(8178);var s="🌟🌟改行🌟🌟s4j#WjcSb😀/FcX3🌟🌟";function f(e){var t,n=["!インデント構文","!ここまでだるい"],r=o(e.split("\n",30));try{for(r.s();!(t=r.n()).done;){var i=t.value.substr(0,8).replace("!","!");if(n.indexOf(i)>=0)return!0}}catch(e){r.e(e)}finally{r.f()}return!1}function l(e){for(var t=new c,n=e.length,r="",o="",i=0,u=!1;i<n;){var a=e.charAt(i),s=e.substr(i,2),f=t.convert1ch(a),l=s.split("").map((function(e){return t.convert1ch(e)})).join("");if(""===o){switch(f){case'"':case"'":o=a,r+=a,i++;continue;case"「":o="」",r+=a,i++;continue;case"『":o="』",r+=a,i++;continue;case"“":o="”",r+=a,i++;continue;case"{":o="}",r+=a,i++;continue;case"[":o="]",r+=a,i++;continue}switch(s){case"🌴":o="🌴",r+=s,i+=2;continue;case"🌿":o="🌿",r+=s,i+=2;continue}"#"!==f?"//"!==l?"/*"!==l?(r+=a,i++):(o="*/",u=!0,i+=2):(o="\n",u=!0,i+=2):(o="\n",u=!0,i++)}else o===(1===o.length?f:l)?(u||(r+=e.substr(i,o.length)),i+=o.length,u=!1,o=""):(u||(r+=a),i++)}return r}function p(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function h(e){return/^([ ・\t]*)/.exec(l(e))[1]}function d(e){for(var t=0,n=0;n<e.length;n++){var r=e.charAt(n);if(" "!==r)if(" "!==r)if("・"!==r){if("\t"!==r)break;t+=4}else t+=2;else t+=2;else t++}return t}function y(e){for(var t=new c,n=e.length,r="",o="",i=0;i<n;){var u=e.charAt(i),a=e.substr(i,2),f=t.convert1ch(u),l=a.split("").map((function(e){return t.convert1ch(e)})).join("");if(""===o){switch(f){case'"':case"'":o=u,r+=u,i++;continue;case"「":o="」",r+=u,i++;continue;case"『":o="』",r+=u,i++;continue;case"“":o="”",r+=u,i++;continue;case"{":o="}",r+=u,i++;continue;case"[":o="]",r+=u,i++;continue}switch(a){case"🌴":o="🌴",r+=a,i+=2;continue;case"🌿":o="🌿",r+=a,i+=2;continue}"#"!==f?"//"!==l?"/*"!==l?(r+=u,i++):(o="*/",r+=a,i+=2):(o="\n",r+=a,i+=2):(o="\n",r+=u,i++)}else o===(1===o.length?f:l)?(r+=e.substr(i,o.length),i+=o.length,o=""):(r+="\n"===u?s:u,i++)}return r}e.exports={convert:function(e,t){return f(e)?function(e,t){var n=[],o=[],i="ここまで‰",u=y(e).split("\n"),c=[],f=[],h=0,v=-1;u.forEach((function(e){if(v+=e.split(s).length,/^[ ・\t]*$/.test(e))o.push({lineNumber:c.length,len:e.length});else{var r=l(e).replace(/^[ ・\t]+/,"").replace(/\s+$/,"");if(""!==r){if("ここまで"===r)throw new a("インデント構文が有効化されているときに『ここまで』を使うことはできません。",v,t);var u=d(e);if(h!==u){if(h<u)return f.push(h),h=u,void c.push(e);if(h>u)for(h=u;f.length>0;){var y=f.pop();if(y===u)return"違えば"!==r.substr(0,3)&&(n.push(c.length),c.push(p(y)+i)),void c.push(e);u<y&&(n.push(c.length),c.push(p(y)+i))}}else c.push(e)}else c.push(e)}}));for(;f.length>0;){var g=f.pop();n.push(c.length),c.push(p(g)+i)}for(var _=[],m=0;m<c.length;m++)if(c[m].includes(s)){for(var b=c[m].split(s),w=0;w<n.length;w++)_.length<n[w]&&(n[w]+=b.length-1);for(var k=0;k<o.length;k++)_.length<o[k].lineNumber&&(o[k].lineNumber+=b.length-1);_.push.apply(_,r(b))}else _.push(c[m]);return{code:_.join("\n"),insertedLines:n,deletedLines:o}}(e,t):{code:e,insertedLines:[],deletedLines:[]}},getBlockStructure:function(e){var t,n={lines:[],pairs:[],parents:[],spaces:[]},i=y(e).split("\n"),u=[],a=0,c=d(i[0]),f=o(i);try{for(f.s();!(t=f.n()).done;){var p,v,g,_=t.value,m=_.split(s).length,b=l(_),w=""===b.replace(/^[ ・\t]+/,"")?c:d(b);if((p=n.lines).push.apply(p,r(Array(m).fill(w))),(v=n.spaces).push.apply(v,r(Array(m).fill(h(b)))),c<w)u.push(a-1);else if(c>w){var k=u.pop();void 0!==k&&n.pairs.push([k,a])}var x=void 0!==u[u.length-1]?u[u.length-1]:null;(g=n.parents).push.apply(g,r(Array(m).fill(x))),c=w,a+=m}}catch(e){f.e(e)}finally{f.f()}for(var j=0,S=u;j<S.length;j++){var O=S[j];n.pairs.push([O,a])}return n},getIndent:h,countIndent:d,isIndentSyntaxEnabled:f}},6625:function(e,t,n){n(1539),n(2707),n(4603),n(4916),n(9714),n(9600);var r=["について","くらい","なのか","までを","までの","による","とは","から","まで","だけ","より","ほど","など","いて","えて","きて","けて","して","って","にて","みて","めて","ねて","では","には","は~","んで","ずつ","は","を","に","へ","で","と","が","の"],o={};["でなければ","なければ","ならば","なら","たら","れば"].forEach((function(e){r.push(e),o[e]=!0}));var i={};["こと","である","です","します","でした"].forEach((function(e){r.push(e),i[e]=!0})),r.sort((function(e,t){return t.length-e.length}));var u=new RegExp("^[\\t ]*("+r.join("|")+")");e.exports={josiRE:u,tararebaMap:o,removeJosiMap:i,josiList:r}},888:function(e,t,n){n(4916),n(5306),n(7042),n(2222),n(9653);var r=/^[\u3005\u4E00-\u9FCF_a-zA-Z0-9ァ-ヶー]+/,o=n(6625),i=o.josiRE,u=o.removeJosiMap,a=/^[ぁ-ん]/,c=/^[ぁ-ん]+$/,s=/^.+(以上|以下|超|未満)$/,f=function(e){return function(){throw new Error("突然の『"+e+"』があります。")}};function l(e,t,n){var r="",o="",a=0,c=(n=n.substr(e.length)).indexOf(t);if(c<0)r=n,n="";else if(r=n.substr(0,c),n=n.substr(c+t.length),r.indexOf(e)>=0)throw"『"===e?new Error("「『」で始めた文字列の中に「『」を含めることはできません。"):new Error("『".concat(e,"』で始めた文字列の中に『").concat(e,"』を含めることはできません。"));var s=i.exec(n);s&&(o=s[0].replace(/^\s+/,""),","===(n=n.substr(s[0].length)).charAt(0)&&(n=n.substr(1))),u[o]&&(o="");for(var f=0;f<r.length;f++)"\n"===r.charAt(f)&&a++;return{src:n,res:r,josi:o,numEOL:a}}function p(e){return a.test(e)?c.test(e)?e:e.replace(/[ぁ-ん]+$/g,""):e.replace(/[ぁ-ん]+/g,"")}function h(e){return Number(e.replace(/_/g,""))}e.exports={rules:[{name:"ここまで",pattern:/^;;;/},{name:"eol",pattern:/^\n/},{name:"eol",pattern:/^;/},{name:"space",pattern:/^(\x20|\x09|・)+/},{name:"comma",pattern:/^,/},{name:"line_comment",pattern:/^#[^\n]*/},{name:"line_comment",pattern:/^\/\/[^\n]*/},{name:"range_comment",pattern:/^\/\*/,cbParser:function(e){var t="",n=0,r=(e=e.substr(2)).indexOf("*/");r<0?(t=e,e=""):(t=e.substr(0,r),e=e.substr(r+2));for(var o=0;o<t.length;o++)"\n"===t.charAt(o)&&n++;return t=t.replace(/(^\s+|\s+$)/,""),{src:e,res:t,josi:"",numEOL:n}}},{name:"def_test",pattern:/^●テスト:/},{name:"def_func",pattern:/^●/},{name:"number",pattern:/^0[xX][0-9a-fA-F]+(_[0-9a-fA-F]+)*/,readJosi:!0,cb:h},{name:"number",pattern:/^0[oO][0-7]+(_[0-7]+)*/,readJosi:!0,cb:h},{name:"number",pattern:/^0[bB][0-1]+(_[0-1]+)*/,readJosi:!0,cb:h},{name:"number",pattern:/^\d+(_\d+)*\.(\d+(_\d+)*)?([eE][+|-]?\d+(_\d+)*)?/,readJosi:!0,cb:h},{name:"number",pattern:/^\.\d+(_\d+)*([eE][+|-]?\d+(_\d+)*)?/,readJosi:!0,cb:h},{name:"number",pattern:/^\d+(_\d+)*([eE][+|-]?\d+(_\d+)*)?/,readJosi:!0,cb:h},{name:"ここから",pattern:/^(ここから),?/},{name:"ここまで",pattern:/^(ここまで|💧)/},{name:"もし",pattern:/^もしも?/},{name:"違えば",pattern:/^違(えば)?/},{name:"shift_r0",pattern:/^>>>/},{name:"shift_r",pattern:/^>>/},{name:"shift_l",pattern:/^<</},{name:"===",pattern:/^===/},{name:"!==",pattern:/^!==/},{name:"gteq",pattern:/^(≧|>=|=>)/},{name:"lteq",pattern:/^(≦|<=|=<)/},{name:"noteq",pattern:/^(≠|<>|!=)/},{name:"←",pattern:/^(←|<--)/},{name:"eq",pattern:/^=/},{name:"line_comment",pattern:/^!(インデント構文|ここまでだるい)[^\n]*/},{name:"not",pattern:/^!/},{name:"gt",pattern:/^>/},{name:"lt",pattern:/^</},{name:"and",pattern:/^(かつ|&&)/},{name:"or",pattern:/^(または|或いは|あるいは|\|\|)/},{name:"@",pattern:/^@/},{name:"+",pattern:/^\+/},{name:"-",pattern:/^-/},{name:"*",pattern:/^(×|\*)/},{name:"/",pattern:/^(÷|\/)/},{name:"%",pattern:/^%/},{name:"^",pattern:/^\^/},{name:"&",pattern:/^&/},{name:"[",pattern:/^\[/},{name:"]",pattern:/^]/,readJosi:!0},{name:"(",pattern:/^\(/},{name:")",pattern:/^\)/,readJosi:!0},{name:"|",pattern:/^\|/},{name:"string",pattern:/^🌿/,cbParser:function(e){return l("🌿","🌿",e)}},{name:"string_ex",pattern:/^🌴/,cbParser:function(e){return l("🌴","🌴",e)}},{name:"string_ex",pattern:/^「/,cbParser:function(e){return l("「","」",e)}},{name:"string",pattern:/^『/,cbParser:function(e){return l("『","』",e)}},{name:"string_ex",pattern:/^“/,cbParser:function(e){return l("“","”",e)}},{name:"string_ex",pattern:/^"/,cbParser:function(e){return l('"','"',e)}},{name:"string",pattern:/^'/,cbParser:function(e){return l("'","'",e)}},{name:"」",pattern:/^」/,cbParser:f("」")},{name:"』",pattern:/^』/,cbParser:f("』")},{name:"func",pattern:/^\{関数\},?/},{name:"{",pattern:/^\{/},{name:"}",pattern:/^\}/,readJosi:!0},{name:":",pattern:/^:/},{name:"_eol",pattern:/^_\s*\n/},{name:"dec_lineno",pattern:/^‰/},{name:"word",pattern:/^[\uD800-\uDBFF][\uDC00-\uDFFF][_a-zA-Z0-9]*/,readJosi:!0},{name:"word",pattern:/^[\u1F60-\u1F6F][_a-zA-Z0-9]*/,readJosi:!0},{name:"word",pattern:/^《.+?》/,readJosi:!0},{name:"word",pattern:/^[_a-zA-Z\u3005\u4E00-\u9FCFぁ-んァ-ヶ]/,cbParser:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="",o="";for(;""!==e;){if(n.length>0){var c=i.exec(e);if(c){o=c[0].replace(/^\s+/,""),","===(e=e.substr(c[0].length)).charAt(0)&&(e=e.substr(1));break}}var f=r.exec(e);if(f)n+=f[0],e=e.substr(f[0].length);else{var l=a.test(e);if(!l)break;n+=e.charAt(0),e=e.substr(1)}}/[ぁ-ん]間$/.test(n)&&(e=n.charAt(n.length-1)+e,n=n.slice(0,-1));var h=s.exec(n);h&&(e=h[1]+o+e,o="",n=n.substr(0,n.length-h[1].length));u[o]&&(o="");t&&(n=p(n));""===n&&""!==o&&(n=o,o="");return{src:e,res:n,josi:o,numEOL:0}}}],trimOkurigana:p,unitRE:/^(円|ドル|元|歩|㎡|坪|度|℃|°|個|つ|本|冊|才|歳|匹|枚|皿|セット|羽|人|件|行|列|機|品|m|mm|cm|km|g|kg|t|px|dot|pt|em|b|mb|kb|gb)/}},5720:function(e,t,n){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(4916),n(3123),n(7042),n(5306),n(561),n(9600),n(8309),n(4723),n(1539),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=n(2479).opPriority,s=n(5740),f=n(6625),l=f.josiRE,p=f.removeJosiMap,h=f.tararebaMap,d=n(888),y=d.rules,v=n(7597),g=v.NakoLexerError,_=v.InternalLexerError,m=function(){"use strict";function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.logger=t,this.funclist={},this.result=[]}var t,n,i;return t=e,i=[{key:"preDefineFunc",value:function(e,t,n){for(var o=0,i=!1,u=function(){var t=[],n={};if("("!==e[o].type)return[];for(o++;e[o];){var r=e[o];if(o++,")"===r.type)break;"func"===r.type?i=!0:"|"!==r.type&&"comma"!==r.type&&(i&&(r.funcPointer=!0,i=!1),t.push(r),n[r.value]||(n[r.value]=[]),n[r.value].push(r.josi))}for(var u=[],a=[],c=[],s={},f=0,l=t;f<l.length;f++){var p=l[f];if(!s[p.value]){var h=n[p.value];c.push(h),u.push(p.value),p.funcPointer?a.push(p.value):a.push(null),s[p.value]=!0}}return[c,u,a]};o<e.length;){var a=e[o];if("word"===a.type&&"には"===a.josi||"word"===a.type&&"は~"===a.josi)a.josi="には",e.splice(o+1,0,{type:"def_func",value:"関数",line:a.line,column:a.column,file:a.file,josi:"",startOffset:a.endOffset,endOffset:a.endOffset,rawJosi:"",tag:"無名関数"}),o++;else if("word"===a.type&&""===a.josi&&a.value.length>=2&&a.value.match(/回$/)&&(a.value=a.value.substr(0,a.value.length-1),e.splice(o+1,0,{type:"回",value:"回",line:a.line,column:a.column,file:a.file,josi:"",startOffset:a.endOffset-1,endOffset:a.endOffset,rawJosi:""}),a.endOffset--,o++),"word"===a.type&&s[a.value]&&(a.type=s[a.value],"そう"===a.value&&(a.value="それ")),"def_test"===a.type||"def_func"===a.type){var c=!0,f={type:"eol"};o>=1&&(f=e[o-1]),"eol"===f.type&&(c=!1);var l=a;o++;var p=[],h=[],d=[],y="";if(e[o]&&"("===e[o].type){var v=r(u(),3);p=v[0],h=v[1],d=v[2]}if(!c&&e[o]&&"word"===e[o].type&&(y=e[o++].value),0===p.length&&e[o]&&"("===e[o].type){var g=r(u(),3);p=g[0],h=g[1],d=g[2]}""!==y&&(y in n&&t.warn("関数『".concat(y,"』は既に定義されています。"),l),n[y]={type:"func",josi:p,fn:null,varnames:h,funcPointers:d}),l.meta={josi:p,varnames:h,funcPointers:d}}else o++}}}],(n=[{key:"setFuncList",value:function(e){this.funclist=e}},{key:"setInput",value:function(e,t,n){return this.tokenize(e,t,n)}},{key:"setInput2",value:function(t,n){if(this.result=t,e.preDefineFunc(t,this.logger,this.funclist),this.replaceWord(this.result),n)if(this.result.length>0){var r=this.result[this.result.length-1];this.result.push({type:"eol",line:r.line,column:0,file:r.file,josi:"",value:"---",startOffset:r.startOffset,endOffset:r.endOffset,rawJosi:""}),this.result.push({type:"eof",line:r.line,column:0,file:r.file,josi:"",value:"",startOffset:r.startOffset,endOffset:r.endOffset,rawJosi:""})}else this.result.push({type:"eol",line:0,column:0,file:"",josi:"",value:"---",startOffset:0,endOffset:0,rawJosi:""}),this.result.push({type:"eof",line:0,column:0,file:"",josi:"",value:"",startOffset:0,endOffset:0,rawJosi:""});return this.result}},{key:"splitStringEx",value:function(e){var t=[],n=e.split(/[{{]/);t.push(n[0]);var r,i=o(n.slice(1));try{for(i.s();!(r=i.n()).done;){var u=r.value,a=u.replace("}","}").indexOf("}");if(-1===a)return null;t.push(u.slice(0,a),u.slice(a+1))}}catch(e){i.e(e)}finally{i.f()}return t}},{key:"replaceWord",value:function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("word"===r.type&&"それ"!==r.value){var o=this.funclist[r.value];if(o&&"func"===o.type){r.type="func",r.meta=o;continue}}if("-"===r.type&&e[n+1]&&"number"===e[n+1].type){var i=n<=0?"eol":e[n-1].type;("eol"===i||c[i]||""!==e[n-1].josi)&&(e.splice(n,1),e[n].value*=-1)}if(void 0===r.josi&&(r.josi=""),"は"!==r.josi)if("とは"!==r.josi)if(h[r.josi]){var u="でなければ"===r.josi||"なければ"===r.josi?"でなければ":"ならば",a=null===r.endOffset?null:r.endOffset-r.rawJosi.length;e.splice(n+1,0,{type:"ならば",value:u,line:r.line,column:r.column,file:r.file,startOffset:a,endOffset:r.endOffset,josi:"",rawJosi:""}),r.josi=r.rawJosi="",r.endOffset=a,n+=2}else"_eol"!==r.type?"line_comment"!==r.type&&"range_comment"!==r.type?("eol"===r.type&&(r.value=t.join("/"),t=[]),n++):(t.push(r.value),e.splice(n,1)):e.splice(n,1);else{var s=null===r.endOffset?null:r.endOffset-r.rawJosi.length;e.splice(n+1,0,{type:r.josi,line:r.line,column:r.column,file:r.file,startOffset:s,endOffset:r.endOffset,josi:"",rawJosi:"",value:void 0}),r.josi=r.rawJosi="",r.endOffset=s,n+=2}else{var f=null===r.endOffset?null:r.endOffset-r.rawJosi.length;e.splice(n+1,0,{type:"eq",line:r.line,column:r.column,file:r.file,startOffset:f,endOffset:r.endOffset,josi:"",rawJosi:"",value:void 0}),n+=2,r.josi=r.rawJosi="",r.endOffset=f}}}},{key:"tokenize",value:function(e,t,n){for(var r,i,u=e.length,a=[],c=1,s=!1;""!==e;){var f,h=!1,v=o(y);try{for(v.s();!(f=v.n()).done;){var m=f.value,b=m.pattern.exec(e);if(b)if(h=!0,"space"!==m.name){if(m.cbParser){var w=void 0;if(s&&"word"===m.name)w=m.cbParser(e,!1);else try{w=m.cbParser(e)}catch(r){throw new g(r.message,u-e.length,u-e.length+1,t,n)}if("string_ex"===m.name){var k=this.splitStringEx(w.res);if(null===k)throw new _("展開あり文字列で値の埋め込み{...}が対応していません。",u-e.length,u-w.src.length,t,n);for(var x=0,j=0;j<k.length;j++){var S=j===k.length-1?w.josi:"";j%2==0?(a.push({type:"string",value:k[j],file:n,josi:S,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:k[j].length+2+S.length}),x+=k[j].length+2):(a.push({type:"&",value:"&",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:0}),a.push({type:"(",value:"(",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:0}),a.push({type:"code",value:k[j],josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:k[j].length}),a.push({type:")",value:")",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x+k[j].length,preprocessedCodeLength:0}),a.push({type:"&",value:"&",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x+k[j].length,preprocessedCodeLength:0}),x+=k[j].length)}t+=w.numEOL,c+=e.length-w.src.length,e=w.src,w.numEOL>0&&(c=1);break}r=c,c+=e.length-w.src.length,a.push({type:m.name,value:w.res,josi:w.josi,line:t,column:r,file:n,preprocessedCodeOffset:u-e.length,preprocessedCodeLength:e.length-w.src.length}),e=w.src,t+=w.numEOL,w.numEOL>0&&(c=1);break}var O=u-e.length,A=b[0];if(m.cb&&(A=m.cb(A)),r=c,i=t,c+=b[0].length,e=e.substr(b[0].length),("eol"===m.name&&"\n"===A||"_eol"===m.name)&&(A=t++,c=1),"number"===m.name){var E=d.unitRE.exec(e);E&&(e=e.substr(E[0].length),c+=b[0].length)}var T="";if(m.readJosi){var M=l.exec(e);M&&(T=M[0].replace(/^\s+/,""),c+=M[0].length,","===(e=e.substr(M[0].length)).charAt(0)&&(e=e.substr(1)),p[T]&&(T=""))}switch(m.name){case"def_test":s=!0;break;case"eol":s=!1}if("dec_lineno"!==m.name){a.push({type:m.name,value:A,line:i,column:r,file:n,josi:T,preprocessedCodeOffset:O,preprocessedCodeLength:u-e.length-O});break}t--}else c+=b[0].length,e=e.substr(b[0].length)}}catch(e){v.e(e)}finally{v.f()}if(!h)throw new _("未知の語句: "+e.substr(0,3)+"...",u-e.length,u-u+3,t)}return a}}])&&a(t.prototype,n),i&&a(t,i),e}();e.exports=m},7535:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(2222),n(7327),n(1539),n(915),n(6699),n(2023),n(7042),n(8309),n(1038),n(8783),n(4916),n(2526),n(1817),n(2165),n(6992),n(3948);var u=n(7597).NakoError,a=n(1269),c=function(e){return e?"".concat(e.file||"").concat(void 0===e.line?"":"(".concat(e.line+1,"行目): ")):""},s=["trace","debug","info","warn","error","stdout"],f=function(){"use strict";function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.listeners=[]}var t,n,o;return t=e,n=[{key:"addListener",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.listeners.push({level:e,callback:t,includeHigherLevels:n})}},{key:"removeListener",value:function(e){this.listeners=this.listeners.filter((function(t){return t.callback!==e}))}},{key:"trace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("trace","".concat(a.color.bold,"[デバッグ情報(詳細)]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"debug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("debug","".concat(a.color.bold,"[デバッグ情報]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"info",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("info","".concat(a.color.bold).concat(a.color.blue,"[情報]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"warn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("warn","".concat(a.color.bold).concat(a.color.green,"[警告]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"error",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e instanceof u?this.send("error","".concat(a.color.red).concat(e.tag).concat(a.color.reset).concat(e.positionJa).concat(e.msg),t||e):(e instanceof Error&&(e=e.message),this.send("error","".concat(a.color.bold).concat(a.color.red,"[エラー]").concat(a.color.reset).concat(c(t)).concat(e),t||e))}},{key:"send",value:function(e,t,n,o,i){var u=a.convertColorTextFormat(t),c="";t.includes("\n")&&(c+="border-top: 1px solid #8080806b; border-bottom: 1px solid #8080806b;");var f,l={noColor:u.noColor,nodeConsole:u.nodeConsole,browserConsole:i||u.browserConsole,html:'<div style="'.concat(c,'">')+(o||u.html)+"</div>",level:e,position:n||{}},p=r(this.listeners);try{for(p.s();!(f=p.n()).done;){var h=f.value;h.includeHigherLevels?s.indexOf(h.level)<=s.indexOf(e)&&h.callback(l):h.level===e&&h.callback(l)}}catch(e){p.e(e)}finally{p.f()}}}],n&&i(t.prototype,n),o&&i(t,o),e}();e.exports=f},4015:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}n(1539),n(4747),n(9600),n(2222),n(8309),n(4916),n(3123),n(7941),n(6699),n(2023),n(1249),n(561),n(489),n(2419),n(2526),n(7327),n(5003),n(9337),n(7042),n(1038),n(8783),n(1817),n(2165),n(6992),n(3948);var y=n(2479),v=y.opPriority,g=y.keizokuJosi,_=n(14),m=_.NakoParserBase,b=_.NakoSyntaxError,w=[];for(var k in v)w.push(k);var x=function(e){"use strict";!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(u,e);var t,n,r,i=p(u);function u(){return s(this,u),i.apply(this,arguments)}return t=u,(n=[{key:"parse",value:function(e){return this.reset(),this.tokens=e,this.startParser()}},{key:"startParser",value:function(){var e=this.ySentenceList(),t=this.get();if(t&&"eof"!==t.type)throw this.logger.debug("構文解析でエラー。".concat(this.nodeToStr(t,{depth:1},!0),"の使い方が間違っています。"),t),b.fromNode("構文解析でエラー。".concat(this.nodeToStr(t,{depth:1},!1),"の使い方が間違っています。"),t);return e}},{key:"ySentenceList",value:function(){for(var e=[],t=-1,n=this.peekSourceMap();!this.isEOF();){var r=this.ySentence();if(!r)break;e.push(r),t<0&&(t=r.line)}if(0===e.length){var o=this.peek()||this.tokens[0];throw this.logger.debug("構文解析に失敗:"+this.nodeToStr(this.peek(),{depth:1},!0),o),b.fromNode("構文解析に失敗:"+this.nodeToStr(this.peek(),{depth:1},!1),o)}return a(a({type:"block",block:e},n),{},{end:this.peekSourceMap(),genMode:this.genMode})}},{key:"yEOL",value:function(){var e=this,t=this.get();if(this.stack.length>0){var n=[];this.stack.forEach((function(t){var r=e.nodeToStr(t,{depth:1},!1);t.josi&&(r+=t.josi),n.push(r)}));var r,i=n.join(","),u="",a="A".charCodeAt(0),c=o(this.recentlyCalledFunc);try{for(c.s();!(r=c.n()).done;){var s=r.value;u+=" - ";var f,l=0,p=o(s.josi);try{for(p.s();!(f=p.n()).done;){var h=f.value;u+=String.fromCharCode(a+l),1==h.length?u+=h[0]:u+="(".concat(h.join("|"),")"),l++}}catch(e){p.e(e)}finally{p.f()}u+=s.name+"\n"}}catch(e){c.e(e)}finally{c.f()}throw b.fromNode("未解決の単語があります: [".concat(i,"]\n次の命令の可能性があります:\n").concat(u),t)}return this.recentlyCalledFunc=[],t}},{key:"ySentence",value:function(){var e=this.peekSourceMap();if(this.check("eol"))return this.yEOL();if(this.check("もし"))return this.yIF();if(this.check("エラー監視"))return this.yTryExcept();if(this.check("逐次実行"))return this.yTikuji();if(this.accept(["抜ける"]))return a(a({type:"break",josi:""},e),{},{end:this.peekSourceMap()});if(this.accept(["続ける"]))return a(a({type:"continue",josi:""},e),{},{end:this.peekSourceMap()});if(this.accept(["require","string","取込"]))return a(a({type:"require",value:this.y[1].value,josi:""},e),{},{end:this.peekSourceMap()});if(this.accept(["not","非同期モード"]))return this.yASyncMode();if(this.accept(["not","DNCLモード"]))return this.yDNCLMode();if(this.accept(["not","string","モード設定"]))return this.ySetGenMode(this.y[1].value);if(this.check2(["func","←"]))return this.yCallOp();if(this.check2(["func","eq"])){var t=this.get()||{value:"?"};throw b.fromNode("関数『".concat(t.value,"』に代入できません。『←』を使ってください。"),t)}if(this.accept([this.ySpeedMode]))return this.y[0];if(this.accept([this.yPerformanceMonitor]))return this.y[0];if(this.accept([this.yLet]))return this.y[0];if(this.accept([this.yDefTest]))return this.y[0];if(this.accept([this.yDefFunc]))return this.y[0];if(this.accept([this.yCall])){var n=this.y[0];if("して"===n.josi){var r=this.ySentence();if(null!==r)return a(a({type:"block",block:[n,r],josi:r.josi},e),{},{end:this.peekSourceMap()})}return n}return null}},{key:"yASyncMode",value:function(){var e=this.peekSourceMap();return this.genMode="非同期モード",a(a({type:"eol"},e),{},{end:this.peekSourceMap()})}},{key:"yDNCLMode",value:function(){var e=this.peekSourceMap();return this.arrayIndexFrom=1,this.flagReverseArrayIndex=!0,this.flagCheckArrayInit=!0,a(a({type:"eol"},e),{},{end:this.peekSourceMap()})}},{key:"ySetGenMode",value:function(e){var t=this.peekSourceMap();return this.genMode=e,a(a({type:"eol"},t),{},{end:this.peekSourceMap()})}},{key:"yBlock",value:function(){var e=this.peekSourceMap(),t=[];for(this.check("ここから")&&this.get();!this.isEOF()&&!this.checkTypes(["違えば","ここまで","エラー"])&&this.accept([this.ySentence]);)t.push(this.y[0]);return a(a({type:"block",block:t},e),{},{end:this.peekSourceMap()})}},{key:"yDefFuncReadArgs",value:function(){if(!this.check("("))return null;var e=[];for(this.get();!this.isEOF();){if(this.check(")")){this.get();break}e.push(this.get()),this.check("comma")&&this.get()}return e}},{key:"yDefTest",value:function(){return this.yDef("def_test")}},{key:"yDefFunc",value:function(){return this.yDef("def_func")}},{key:"yDef",value:function(e){if(!this.check(e))return null;var t=this.peekSourceMap(),n=this.get(),r=[];this.check("(")&&(r=this.yDefFuncReadArgs());var o=this.get();if("func"!==o.type)throw this.logger.debug(this.nodeToStr(o,{depth:0,typeName:"関数"},!0)+"の宣言でエラー。",o),b.fromNode(this.nodeToStr(o,{depth:0,typeName:"関数"},!1)+"の宣言でエラー。",o);if(this.check("(")){if(r.length>0)throw this.logger.debug(this.nodeToStr(o,{depth:0,typeName:"関数"},!0)+"の宣言で、引数定義は名前の前か後に一度だけ可能です。",o),b.fromNode(this.nodeToStr(o,{depth:0,typeName:"関数"},!1)+"の宣言で、引数定義は名前の前か後に一度だけ可能です。",o);r=this.yDefFuncReadArgs()}this.check("とは")&&this.get();var i=null,u=!1;this.check("ここから")&&(u=!0),this.check("eol")&&(u=!0);try{if(u){if(this.saveStack(),i=this.yBlock(),!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。関数定義の末尾に必要です。",n);this.get(),this.loadStack()}else this.saveStack(),i=this.ySentence(),this.loadStack()}catch(e){throw this.logger.debug(this.nodeToStr(o,{depth:0,typeName:"関数"},!0)+"の定義で以下のエラーがありました。\n"+e.message,n),b.fromNode(this.nodeToStr(o,{depth:0,typeName:"関数"},!1)+"の定義で以下のエラーがありました。\n"+e.message,n)}return a(a({type:e,name:o,args:r,block:i,josi:""},t),{},{end:this.peekSourceMap()})}},{key:"yIFCond",value:function(){var e=this.peekSourceMap(),t=this.yGetArg();if(!t)return null;if("が"===t.josi){var n=this.index,r=this.yGetArg(),o=this.get();if(r&&"func"!==r.type&&o&&"ならば"===o.type)return a(a({type:"op",operator:"でなければ"===o.value?"noteq":"eq",left:t,right:r,josi:""},e),{},{end:this.peekSourceMap()});this.index=n}if(""!==t.josi&&(this.stack.push(t),t=this.yCall()),!this.check("ならば"))throw this.logger.debug("もし文で『ならば』がないか、条件が複雑過ぎます。"+this.nodeToStr(this.peek(),{depth:1},!1)+"の直前に『ならば』を書いてください。",t),b.fromNode("もし文で『ならば』がないか、条件が複雑過ぎます。"+this.nodeToStr(this.peek(),{depth:1},!1)+"の直前に『ならば』を書いてください。",t);return"でなければ"===this.get().value&&(t=a(a({type:"not",value:t,josi:""},e),{},{end:this.peekSourceMap()})),t}},{key:"yIF",value:function(){var e=this.peekSourceMap();if(!this.check("もし"))return null;for(var t=this.get();this.check("comma");)this.get();var n=null;try{n=this.yIFCond()}catch(e){throw b.fromNode("『もし』文の条件で次のエラーがあります。\n"+e.message,t)}if(null===n)throw b.fromNode("『もし』文で条件の指定が空です。",t);var r=null,o=null,i=!1;for(this.check("eol")?r=this.yBlock():(r=this.ySentence(),i=!0);this.check("eol");)this.get();if(this.check("違えば")){for(this.get();this.check("comma");)this.get();this.check("eol")?o=this.yBlock():(o=this.ySentence(),i=!0)}if(!1===i){if(!this.check("ここまで"))throw b.fromNode("『もし』文で『ここまで』がありません。",t);this.get()}return a(a({type:"if",expr:n,block:r,false_block:o,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"ySpeedMode",value:function(){var e=this.peekSourceMap();if(!this.check2(["string","実行速度優先"]))return null;var t=this.get();this.get();var n,r={"行番号無し":!1,"暗黙の型変換無し":!1,"強制ピュア":!1,"それ無効":!1},i=o(t.value.split("/"));try{for(i.s();!(n=i.n()).done;){var u=n.value;if("全て"===u){for(var c=0,s=Object.keys(r);c<s.length;c++)r[s[c]]=!0;break}Object.keys(r).includes(u)?r[u]=!0:this.logger.warn("実行速度優先文のオプション『".concat(u,"』は存在しません。"),t)}}catch(e){i.e(e)}finally{i.f()}var f=!1;this.check("ここから")?(this.get(),f=!0):this.check("eol")&&(f=!0);var l=null;return f?(l=this.yBlock(),this.check("ここまで")&&this.get()):l=this.ySentence(),a({type:"speed_mode",options:r,block:l,line:t.line,josi:""},e)}},{key:"yPerformanceMonitor",value:function(){var e=this.peekSourceMap();if(!this.check2(["string","パフォーマンスモニタ適用"]))return null;var t=this.get();this.get();var n,r={"ユーザ関数":!1,"システム関数本体":!1,"システム関数":!1},i=o(t.value.split("/"));try{for(i.s();!(n=i.n()).done;){var u=n.value;if("全て"===u){for(var c=0,s=Object.keys(r);c<s.length;c++)r[s[c]]=!0;break}Object.keys(r).includes(u)?r[u]=!0:this.logger.warn("パフォーマンスモニタ適用文のオプション『".concat(u,"』は存在しません。"),t)}}catch(e){i.e(e)}finally{i.f()}var f=!1;this.check("ここから")?(this.get(),f=!0):this.check("eol")&&(f=!0);var l=null;return f?(l=this.yBlock(),this.check("ここまで")&&this.get()):l=this.ySentence(),a({type:"performance_monitor",options:r,block:l,line:t.line,josi:""},e)}},{key:"yTikuji",value:function(){var e=this.peekSourceMap();if(!this.check("逐次実行"))return null;var t=this.get(),n=[],r=null;if(!this.check("eol"))throw b.fromNode("『逐次実行』の直後は改行が必要です",t);for(;!this.check("ここまで");)if(this.check("eol"))this.get();else{if(this.check2(["エラー","ならば"])){this.get(),this.get(),r=this.yBlock();break}var o=null;if(this.check("先に")||this.check("次に")){var i=this.get();if(this.check("comma")&&this.get(),this.check("eol")){if(o=this.yBlock(),!this.check("ここまで")){var u="次に";throw null!=i&&(u=i.type),b.fromNode("『".concat(u,"』...『ここまで』を対応させてください。"),i)}this.get()}else o=this.ySentence()}else o=this.ySentence();null!=o&&n.push(o)}if(!this.check("ここまで"))throw console.log(n,this.peek()),b.fromNode("『逐次実行』...『ここまで』を対応させてください。",t);return this.get(),a(a({type:"tikuji",blocks:n,errorBlock:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yGetArg",value:function(){var e=this.yValue();if(null===e)return null;for(var t=[e];!this.isEOF();){var n=this.peek();if(!n||!v[n.type])break;t.push(this.get());var r=this.yValue();if(null===r)throw b.fromNode("計算式で演算子『".concat(n.value,"』後に値がありません"),e);t.push(r)}return 0===t.length?null:1===t.length?t[0]:this.infixToAST(t)}},{key:"infixToPolish",value:function(e){for(var t=function(e){return v[e.type]?v[e.type]:10},n=[],r=[];e.length>0;){for(var o=e.shift();n.length>0;){var i=n[n.length-1];if(t(o)>t(i))break;r.push(n.pop())}n.push(o)}for(;n.length>0;)r.push(n.pop());return r}},{key:"infixToAST",value:function(e){if(0===e.length)return null;var t,n=e[e.length-1].josi,r=e[e.length-1],i=this.infixToPolish(e),u=[],a=o(i);try{for(a.s();!(t=a.n()).done;){var c=t.value;if(v[c.type]){var s=u.pop(),f=u.pop();if(void 0===f||void 0===s)throw this.logger.debug("--- 計算式(逆ポーランド) ---\n"+JSON.stringify(i)),b.fromNode("計算式でエラー",r);var l={type:"op",operator:c.type,left:f,right:s,josi:n,startOffset:f.startOffset,endOffset:f.endOffset,line:f.line,column:f.column,file:f.file};u.push(l)}else u.push(c)}}catch(e){a.e(e)}finally{a.f()}return u.pop()}},{key:"yGetArgParen",value:function(e){for(var t=!1,n=this.stack.length;!this.isEOF();){if(this.check(")")){t=!0;break}var r=this.yGetArg();if(!r)break;this.pushStack(r),this.check("comma")&&this.get()}if(!t)throw b.fromNode("C風関数『".concat(e[0].value,"』でカッコが閉じていません"),e[0]);for(var o=[];n<this.stack.length;){var i=this.popStack();o.unshift(i)}return o}},{key:"yRepeatTime",value:function(){var e=this.peekSourceMap();if(!this.check("回"))return null;this.get(),this.check("comma")&&this.get(),this.check("繰返")&&this.get();var t=this.popStack([]),n=!1,r=null;if(null===t&&(t=a(a({type:"word",value:"それ",josi:""},e),{},{end:this.peekSourceMap()})),this.check("comma")&&this.get(),this.check("ここから")?(this.get(),n=!0):this.check("eol")&&(n=!0),n){if(r=this.yBlock(),!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『回』...『ここまで』を対応させてください。",e);this.get()}else r=this.ySentence();return a(a({type:"repeat_times",value:t,block:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yWhile",value:function(){var e=this.peekSourceMap();if(!this.check("間"))return null;for(this.get();this.check("comma");)this.get();this.check("繰返")&&this.get();var t=this.popStack([]);if(null===t)throw b.fromNode("『間』で条件がありません。",t);if(this.check("comma")&&this.get(),!this.checkTypes(["ここから","eol"]))throw b.fromNode("『間』の直後は改行が必要です",t);var n=this.yBlock();return this.check("ここまで")&&this.get(),a(a({type:"while",cond:t,block:n,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yFor",value:function(){var e=this.peekSourceMap();if(!(this.check("繰返")||this.check("増繰返")||this.check("減繰返")))return null;var t=this.get(),n=this.stack.pop();"word"!=n.type||"増"!==n.value&&"減"!==n.value?this.stack.push(n):t.type=n.value+t.type;var r=null;"増繰返"!==t.type&&"減繰返"!==t.type||(r=this.popStack(["ずつ"]));var o=this.popStack(["まで"]),i=this.popStack(["から"]),u=this.popStack(["を","で"]);if(null===i||null===o)throw b.fromNode("『繰り返す』文でAからBまでの指定がありません。",t);this.check("comma")&&this.get();var c=!1;(this.check("ここから")||this.check("eol"))&&(c=!0,this.get());var s=null;if(c){if(s=this.yBlock(),!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『繰り返す』...『ここまで』を対応させてください。",e);this.get()}else s=this.ySentence();return a(a({type:"for",from:i,to:o,inc:r,word:u,block:s,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yReturn",value:function(){var e=this.peekSourceMap();return this.check("戻る")?(this.get(),a(a({type:"return",value:this.popStack(["で","を"]),josi:""},e),{},{end:this.peekSourceMap()})):null}},{key:"yForEach",value:function(){var e=this.peekSourceMap();if(!this.check("反復"))return null;for(this.get();this.check("comma");)this.get();var t=this.popStack(["を"]),n=this.popStack(["で"]),r=null,o=!1;return this.check("ここから")?(o=!0,this.get()):this.check("eol")&&(o=!0),o?(r=this.yBlock(),this.check("ここまで")&&this.get()):r=this.ySentence(),a(a({type:"foreach",name:n,target:t,block:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"ySwitch",value:function(){var e=this.peekSourceMap();if(!this.check("条件分岐"))return null;var t=this.get(),n=this.get(),r=this.popStack(["で"]);if(!r)throw b.fromNode("『(値)で条件分岐』のように記述してください。",t);if("eol"!==n.type)throw b.fromNode("『条件分岐』の直後は改行してください。",t);for(var o=!1,i=!1,u=[];!this.isEOF();){if(this.check("ここまで")){if(i)throw b.fromNode("『条件分岐』は『(条件)ならば〜ここまで』と記述してください。",t);this.get();break}if(this.check("eol"))this.get();else{if(o)throw b.fromNode("『条件分岐』で『違えば〜ここまで』の後に処理を続けることは出来ません。",t);var c=this.peek();if("違えば"===c.type)i=!1,o=!0,this.get(),this.check("comma")&&this.get();else{if(i)throw b.fromNode("『条件分岐』は『(条件)ならば〜ここまで』と記述してください。",t);if(c=this.yValue(),"ならば"!==this.get().type)throw b.fromNode("『条件分岐』で条件は**ならばと記述してください。",t);this.check("comma")&&this.get()}var s=this.yBlock();if("ここまで"===this.peek().type)this.get();else{if(o)throw b.fromNode("『条件分岐』は『違えば〜ここまで』と記述してください。",t);i=!0}u.push([c,s])}}return a(a({type:"switch",value:r,cases:u,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yMumeiFunc",value:function(){var e=this.peekSourceMap();if(!this.check("def_func"))return null;var t=this.get(),n=[];this.check("comma")&&this.get(),this.check("(")&&(n=this.yDefFuncReadArgs()),this.check("comma")&&this.get(),this.saveStack();var r=this.yBlock();if(!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『には』構文か無名関数の末尾に『ここまで』が必要です。",e);return this.get(),this.loadStack(),a(a({type:"func_obj",args:n,block:r,meta:t.meta,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yDainyu",value:function(){var e=this.peekSourceMap(),t=this.get();if(null===t)return null;var n=this.popStack(["を"]),r=this.popStack(["へ","に"]);if(!r||"word"!==r.type&&"func"!==r.type&&"配列参照"!==r.type)throw b.fromNode("代入文で代入先の変数が見当たりません。『(変数名)に(値)を代入』のように使います。",t);return"配列参照"===r.type?a(a({type:"let_array",name:r.name,index:r.index,value:n,josi:"",checkInit:this.flagCheckArrayInit},e),{},{end:this.peekSourceMap()}):a(a({type:"let",name:r,value:n,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"ySadameru",value:function(){var e=this.peekSourceMap(),t=this.get();if(null===t)return null;var n=this.popStack(["を"]),r=this.popStack(["へ","に"]);if(console.log(n),!n||"word"!==n.type&&"func"!==n.type&&"配列参照"!==n.type)throw b.fromNode("『定める』文で定数が見当たりません。『(定数名)を(値)に定める』のように使います。",t);return a(a({type:"def_local_var",name:n,vartype:"定数",value:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yIncDec",value:function(){var e=this.peekSourceMap(),t=this.get();if(null===t)return null;if(this.check("繰返"))return this.pushStack(a(a({type:"word",value:t.value,josi:t.josi},e),{},{end:this.peekSourceMap})),this.yFor();var n=this.popStack(["だけ",""]),r=this.popStack(["を"]);if(!r||"word"!==r.type&&"配列参照"!==r.type)throw b.fromNode("『".concat(t.type,"』文で定数が見当たりません。『(変数名)を(値)だけ").concat(t.type,"』のように使います。"),t);return"減"===t.value&&(n=a({type:"op",operator:"*",left:n,right:{type:"number",value:-1,line:t.line},josi:""},e)),a(a({type:"inc",name:r,value:n,josi:t.josi},e),{},{end:this.peekSourceMap()})}},{key:"yCall",value:function(){var e=this;if(this.isEOF())return null;for(;!this.isEOF();){if(this.check("ここから")&&this.get(),this.check("代入"))return this.yDainyu();if(this.check("定める"))return this.ySadameru();if(this.check("回"))return this.yRepeatTime();if(this.check("間"))return this.yWhile();if(this.check("繰返")||this.check("増繰返")||this.check("減繰返"))return this.yFor();if(this.check("反復"))return this.yForEach();if(this.check("条件分岐"))return this.ySwitch();if(this.check("戻る"))return this.yReturn();if(this.check("増")||this.check("減"))return this.yIncDec();if(this.check2([["func","word"],"("])&&""===this.peek().josi){var t=this.yValue();if("func"===t.type&&(""===t.josi||g.indexOf(t.josi)>=0))return t.josi="",t;this.pushStack(t),this.check("comma")&&this.get()}else{if(this.check("func")){var n=this.yCallFunc();if(null===n)continue;if(this.check("間")){this.pushStack(n);continue}return n}var r=this.yGetArg();if(!r)break;this.pushStack(r)}}if(this.stack.length>0){this.logger.debug("--- stack dump ---\n"+JSON.stringify(this.stack,null,2)+"\npeek: "+JSON.stringify(this.peek(),null,2));var i,u="不完全な文です。".concat(this.stack.map((function(t){return e.nodeToStr(t,{depth:0},!0)})).join("、"),"が解決していません。"),a="不完全な文です。".concat(this.stack.map((function(t){return e.nodeToStr(t,{depth:0},!1)})).join("、"),"が解決していません。"),c=o(this.stack);try{for(c.s();!(i=c.n()).done;){var s=i.value,f=this.nodeToStr(s,{depth:0},!1),l=this.nodeToStr(s,{depth:1},!1);f!==l&&(u+="".concat(this.nodeToStr(s,{depth:0},!0),"は").concat(this.nodeToStr(s,{depth:1},!0),"として使われています。"),a+="".concat(f,"は").concat(l,"として使われています。"))}}catch(e){c.e(e)}finally{c.f()}var p=this.stack[0],h=this.stack[this.stack.length-1];throw this.logger.debug(u,p),b.fromNode(a,p,h)}return this.popStack([])}},{key:"yCallFunc",value:function(){var e=this.peekSourceMap(),t=this.get(),n=t.meta,r=null;if("には"===t.josi){try{r=this.yMumeiFunc()}catch(e){throw b.fromNode("『".concat(t.value,"には...』で無名関数の定義で以下の間違いがあります。\n").concat(e.message),t)}if(null===r)throw b.fromNode("『Fには』構文がありましたが、関数定義が見当たりません。",t)}if(!n||void 0===n.josi)throw b.fromNode("関数の定義でエラー。",t);this.recentlyCalledFunc.push(a({name:t.value},n));for(var o=[],i=0,u=0,c=0;c<n.josi.length;c++)for(;;){var s=this.popStack(n.josi[c]);if(null!==s)u++;else{if(!(c<n.josi.length-1)&&n.isVariableJosi)break;i++,s=r}if(null!==s&&void 0!==n.funcPointers&&null!==n.funcPointers[c]){if("func"!==s.type)throw b.fromNode("関数『".concat(t.value,"』の引数『").concat(n.varnames[c],"』には関数オブジェクトが必要です。"),t);s.type="func_pointer"}if(o.push(s),c<n.josi.length-1||!n.isVariableJosi)break}if(i>=2&&(u>0||""===t.josi||g.indexOf(t.josi)>=0))throw b.fromNode("関数『".concat(t.value,"』の引数が不足しています。"),t);var f=a(a({type:"func",name:t.value,args:o,josi:t.josi},e),{},{end:this.peekSourceMap()});return""===t.josi?f:g.indexOf(t.josi)>=0?(f.josi="して",f):(f.meta=n,this.pushStack(f),null)}},{key:"yCallOp",value:function(){if(!this.check2(["func","←"]))return null;var e=this.peekSourceMap(),t=this.get();if(null==t)throw new Error("関数が取得できません。");try{if(null==this.get())throw new Error("関数呼び出し演算子が取得できません。");var n=t.value,r=t.meta.josi.length;if(0===r)throw b.fromNode("引数がない関数『".concat(n,"』を関数呼び出し演算子で呼び出すことはできません。"),t);for(var o=this.stack.length;!this.isEOF();){var i=this.yGetArg();if(!i)break;if(this.pushStack(i),this.stack.length-o===r)break}var u=this.stack.length-o;if(u!==r)throw b.fromNode("関数『".concat(n,"』呼び出しで引数の数(").concat(u,")が定義(").concat(r,")と違います。"),t);var c=this.stack.splice(o,r),s=c;return r>=2&&(s=[],t.meta.josi.forEach((function(e,t){for(var n=0;n<c.length;n++){var r=c[n];if(e.indexOf(r.josi)>=0)return void(s[t]=r)}var o=e.join(",");throw new Error("助詞『".concat(o,"』が見当たりません。"))}))),a(a({type:"func",name:n,args:s,setter:!0,josi:""},e),{},{end:this.peekSourceMap()})}catch(e){throw this.logger.debug("".concat(this.nodeToStr(t,{depth:0},!0),"の関数呼び出しで引数(『←』以降)が読み取れません。"),t),b.fromNode("".concat(this.nodeToStr(t,{depth:0},!1),"の関数呼び出しでエラーがあります。\n").concat(e.message),t)}}},{key:"yLet",value:function(){var e=this.peekSourceMap();if(this.check2(["word","eq"])){var t=this.peek(),n=!1;try{if(this.accept(["word","eq",this.yCalc])||this.accept(["word","eq",this.ySentence])){if("eol"===this.y[2].type)throw new Error("値が空です。");return this.check("comma")&&this.get(),a(a({type:"let",name:this.y[0],value:this.y[2]},e),{},{end:this.peekSourceMap()})}throw n=!0,this.logger.debug("".concat(this.nodeToStr(t,{depth:1},!0),"への代入文で計算式に書き間違いがあります。"),t),b.fromNode("".concat(this.nodeToStr(t,{depth:1},!1),"への代入文で計算式に書き間違いがあります。"),t)}catch(e){if(n)throw e;throw this.logger.debug("".concat(this.nodeToStr(t,{depth:1},!0),"への代入文で計算式に以下の書き間違いがあります。\n").concat(e.message),t),b.fromNode("".concat(this.nodeToStr(t,{depth:1},!1),"への代入文で計算式に以下の書き間違いがあります。\n").concat(e.message),t)}}if(this.check2(["word","@"])){var r=this.yLetArrayAt(e);if(this.check("comma")&&this.get(),r)return r.checkInit=this.flagCheckArrayInit,r}if(this.check2(["word","["])){var o=this.yLetArrayBracket(e);if(this.check("comma")&&this.get(),o)return o.checkInit=this.flagCheckArrayInit,o}if(this.accept(["word","とは"])){var i=this.y[0];if(!this.checkTypes(["変数","定数"]))throw b.fromNode("ローカル変数『"+i.value+"』の定義エラー",i);var u=this.get(),c=null;return this.check("eq")&&(this.get(),c=this.yCalc()),this.check("comma")&&this.get(),a(a({type:"def_local_var",name:i,vartype:u.type,value:c},e),{},{end:this.peekSourceMap()})}if(this.accept(["変数","word","eq",this.yCalc]))return a(a({type:"def_local_var",name:this.y[1],vartype:"変数",value:this.y[3]},e),{},{end:this.peekSourceMap()});if(this.accept(["定数","word","eq",this.yCalc]))return a(a({type:"def_local_var",name:this.y[1],vartype:"定数",value:this.y[3]},e),{},{end:this.peekSourceMap()});if(this.accept(["定数",this.yJSONArray,"eq",this.yCalc])){var s=this.y[1];if(!(s&&s.value instanceof Array))throw b.fromNode("複数定数の代入文でエラー。『定数[A,B,C]=[1,2,3]』の書式で記述してください。",this.y[0]);for(var f in s.value)if("word"!==s.value[f].type)throw b.fromNode("複数定数の代入文".concat(f+1,"番目でエラー。『定数[A,B,C]=[1,2,3]』の書式で記述してください。"),this.y[0]);return a(a({type:"def_local_varlist",names:s.value,vartype:"定数",value:this.y[3]},e),{},{end:this.peekSourceMap()})}if(this.accept(["変数",this.yJSONArray,"eq",this.yCalc])){var l=this.y[1];if(!(l&&l.value instanceof Array))throw b.fromNode("複数変数の代入文でエラー。『変数[A,B,C]=[1,2,3]』の書式で記述してください。",this.y[0]);for(var p in l.value)if("word"!==l.value[p].type)throw b.fromNode("複数変数の代入文".concat(p+1,"番目でエラー。『変数[A,B,C]=[1,2,3]』の書式で記述してください。"),this.y[0]);return a(a({type:"def_local_varlist",names:l.value,vartype:"変数",value:this.y[3]},e),{},{end:this.peekSourceMap()})}if(this.check2(["word","comma","word"])){if(this.accept(["word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2]],vartype:"変数",value:this.y[4]},e),{},{end:this.peekSourceMap()});if(this.accept(["word","comma","word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2],this.y[4]],vartype:"変数",value:this.y[6]},e),{},{end:this.peekSourceMap()});if(this.accept(["word","comma","word","comma","word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2],this.y[4],this.y[6]],vartype:"変数",value:this.y[8]},e),{},{end:this.peekSourceMap()});if(this.accept(["word","comma","word","comma","word","comma","word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2],this.y[4],this.y[6],this.y[8]],vartype:"変数",value:this.y[10]},e),{},{end:this.peekSourceMap()})}return null}},{key:"checkArrayIndex",value:function(e){return 0==this.arrayIndexFrom?e:a(a({},e),{},{type:"op",operator:"-",left:e,right:a(a({},e),{},{type:"number",value:this.arrayIndexFrom})})}},{key:"checkArrayReverse",value:function(e){return this.flagReverseArrayIndex?e.length<=1?e:e.reverse():e}},{key:"yLetArrayAt",value:function(e){return this.accept(["word","@",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:[this.checkArrayIndex(this.y[2])],value:this.y[4]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"@",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4])]),value:this.y[6]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"@",this.yValue,"@",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4]),this.checkArrayIndex(this.y[6])]),value:this.y[8]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"comma",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4])]),value:this.y[6]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"comma",this.yValue,"comma",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4]),this.checkArrayIndex(this.y[6])]),value:this.y[8]},e),{},{end:this.peekSourceMap()}):null}},{key:"yLetArrayBracket",value:function(e){return this.accept(["word","[",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:[this.checkArrayIndex(this.y[2])],value:this.y[5]},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"]","[",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[5])]),value:this.y[8],tag:"2"},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"comma",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4])]),value:this.y[7],tag:"2"},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"]","[",this.yCalc,"]","[",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[5]),this.checkArrayIndex(this.y[8])]),value:this.y[11]},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"comma",this.yCalc,"comma",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4]),this.checkArrayIndex(this.y[6])]),value:this.y[9]},e),{},{end:this.peekSourceMap()}):null}},{key:"yCalc",value:function(){var e=this.peekSourceMap();if(this.check("eol"))return null;var t=this.yGetArg();if(!t)return null;if(""===t.josi)return t;this.pushStack(t);var n=this.yCall();if("して"!==n.josi)return n;var r=this.yCalc();return r?a(a({type:"renbun",left:n,right:r,josi:r.josi},e),{},{end:this.peekSourceMap()}):n}},{key:"yValueKakko",value:function(){if(!this.check("("))return null;var e=this.get();this.saveStack();var t=this.yCalc()||this.ySentence();if(null===t){var n=this.get();throw this.logger.debug("(...)の解析エラー。"+this.nodeToStr(n,{depth:1},!0)+"の近く",e),b.fromNode("(...)の解析エラー。"+this.nodeToStr(n,{depth:1},!1)+"の近く",e)}if(!this.check(")"))throw this.logger.debug("(...)の解析エラー。"+this.nodeToStr(t,{depth:1},!0)+"の近く",e),b.fromNode("(...)の解析エラー。"+this.nodeToStr(t,{depth:1},!1)+"の近く",e);var r=this.get();return this.loadStack(),t.josi=r.josi,t}},{key:"yValue",value:function(){var e=this.peekSourceMap();if(this.check("comma")&&this.get(),this.checkTypes(["number","string"]))return this.get();if(this.check("("))return this.yValueKakko();if(this.check2(["-","number"])||this.check2(["-","word"])||this.check2(["-","func"])){var t=this.get(),n=this.yValue(),r=n&&n.josi?n.josi:"";return a(a({type:"op",operator:"*",left:{type:"number",value:-1,line:t.line},right:n,josi:r},e),{},{end:this.peekSourceMap()})}if(this.check("not")){this.get();var o=this.yValue();return a(a({type:"not",value:o,josi:o&&o.josi?o.josi:""},e),{},{end:this.peekSourceMap()})}var i=this.yJSONArray();if(i)return i;var u=this.yJSONObject();if(u)return u;var c=w.concat(["eol",")","]","ならば","回","間","反復","条件分岐"]);if(this.check2(["func",c])){var s=this.get();return a(a({type:"func",name:s.value,args:[],josi:s.josi},e),{},{end:this.peekSourceMap()})}if(this.check2([["func","word"],"("])&&""===this.peek().josi){var f=this.peek();if(this.accept([["func","word"],"(",this.yGetArgParen,")"]))return a(a({type:"func",name:this.y[0].value,args:this.y[2],josi:this.y[3].josi},e),{},{end:this.peekSourceMap()});throw b.fromNode("C風関数呼び出しのエラー",f)}if(this.check2(["func","←"]))return this.yCallOp();if(this.check("def_func"))return this.yMumeiFunc();var l=this.yValueWord();return l||null}},{key:"yValueWordGetIndex",value:function(e){if(this.check("@")){if(this.accept(["@",this.yValue,"comma",this.yValue,"comma",this.yValue]))return e.index.push(this.checkArrayIndex(this.y[1])),e.index.push(this.checkArrayIndex(this.y[3])),e.index.push(this.checkArrayIndex(this.y[5])),e.index=this.checkArrayReverse(e.index),e.josi=this.y[5].josi,!0;if(this.accept(["@",this.yValue,"comma",this.yValue]))return e.index.push(this.checkArrayIndex(this.y[1])),e.index.push(this.checkArrayIndex(this.y[3])),e.index=this.checkArrayReverse(e.index),e.josi=this.y[3].josi,!0;if(this.accept(["@",this.yValue]))return e.index.push(this.checkArrayIndex(this.y[1])),e.josi=this.y[1].josi,!0;throw b.fromNode("変数の後ろの『@要素』の指定が不正です。",e.name)}if(this.check("[")&&this.accept(["[",this.yCalc,"]"]))return e.index.push(this.checkArrayIndex(this.y[1])),e.josi=this.y[2].josi,!0;if(this.check("[")&&this.accept(["[",this.yCalc,"comma",this.yCalc,"]"])){var t=[this.checkArrayIndex(this.y[1]),this.checkArrayIndex(this.y[3])];return e.index=this.checkArrayReverse(t),e.josi=this.y[4].josi,!0}if(this.check("[")&&this.accept(["[",this.yCalc,"comma",this.yCalc,"comma",this.yCalc,"]"])){var n=[this.checkArrayIndex(this.y[1]),this.checkArrayIndex(this.y[3]),this.checkArrayIndex(this.y[5])];return e.index=this.checkArrayReverse(n),e.josi=this.y[6].josi,!0}return!1}},{key:"yValueWord",value:function(){var e=this.peekSourceMap();if(this.check("word")){var t=this.get();if(this.skipRefArray)return t;if(""===t.josi&&this.checkTypes(["[","@"])){for(var n=a(a({type:"配列参照",name:t,index:[],josi:""},e),{},{end:this.peekSourceMap()});!this.isEOF()&&this.yValueWordGetIndex(n););if(0===n.index.length)throw b.fromNode("配列『".concat(t.value,"』アクセスで指定ミス"),t);return n}return t}return null}},{key:"yJSONObjectValue",value:function(){for(var e=[],t=this.peek();!this.isEOF();){for(;this.check("eol");)this.get();if(this.check("}"))break;if(this.accept(["word",":",this.yCalc]))this.y[0].type="string",e.push({key:this.y[0],value:this.y[2]});else if(this.accept(["string",":",this.yCalc]))e.push({key:this.y[0],value:this.y[2]});else if(this.check("word")){var n=this.get();n.type="string",e.push({key:n,value:n})}else{if(!this.checkTypes(["string","number"]))throw b.fromNode("辞書オブジェクトの宣言で末尾の『}』がありません。",t);var r=this.get();e.push({key:r,value:r})}this.check("comma")&&this.get()}return e}},{key:"yJSONObject",value:function(){var e=this.peekSourceMap();if(this.accept(["{","}"]))return a(a({type:"json_obj",value:[],josi:this.y[1].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["{",this.yJSONObjectValue,"}"]))return a(a({type:"json_obj",value:this.y[1],josi:this.y[2].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["{",this.yJSONObjectValue]))throw b.fromNode("辞書型変数の初期化が『}』で閉じられていません。",this.y[1]);return null}},{key:"yJSONArrayValue",value:function(){this.check("eol")&&this.get();var e=this.yCalc();if(null===e)return null;this.check("comma")&&this.get();for(var t=[e];!this.isEOF()&&(this.check("eol")&&this.get(),!this.check("]"));){var n=this.yCalc();if(null===n)break;this.check("comma")&&this.get(),t.push(n)}return t}},{key:"yJSONArray",value:function(){var e=this.peekSourceMap();if(this.accept(["[","]"]))return a(a({type:"json_array",value:[],josi:this.y[1].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["[",this.yJSONArrayValue,"]"]))return a(a({type:"json_array",value:this.y[1],josi:this.y[2].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["[",this.yJSONArrayValue]))throw b.fromNode("配列変数の初期化が『]』で閉じられていません。",this.y[1]);return null}},{key:"yTryExcept",value:function(){var e=this.peekSourceMap();if(!this.check("エラー監視"))return null;var t=this.get(),n=this.yBlock();if(!this.check2(["エラー","ならば"]))throw b.fromNode("エラー構文で『エラーならば』がありません。『エラー監視..エラーならば..ここまで』を対で記述します。",t);this.get(),this.get();var r=this.yBlock();if(!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『エラー監視』...『エラーならば』...『ここまで』を対応させてください。",e);return this.get(),a(a({type:"try_except",block:n,errBlock:r,josi:""},e),{},{end:this.peekSourceMap()})}}])&&f(t.prototype,n),r&&f(t,r),u}(m);e.exports=x},14:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(561),n(2222),n(8309),n(2526),n(1817),n(1539),n(2165),n(6992),n(8783),n(3948);var i=n(7597).NakoSyntaxError,u=function(){"use strict";function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.logger=t,this.stackList=[],this.init(),this.tokens=[],this.stack=[],this.index=0,this.y=[],this.genMode="sync",this.arrayIndexFrom=0,this.flagReverseArrayIndex=!1,this.flagCheckArrayInit=!1,this.recentlyCalledFunc=[]}var t,n,i;return t=e,n=[{key:"init",value:function(){this.funclist={},this.reset()}},{key:"reset",value:function(){this.tokens=[],this.index=0,this.stack=[],this.y=[],this.genMode="sync"}},{key:"setFuncList",value:function(e){this.funclist=e}},{key:"popStack",value:function(e){if(!e)return this.stack.pop();for(var t=0;t<this.stack.length;t++){var n=this.stack[t];if(0===e.length||e.indexOf(n.josi)>=0)return this.stack.splice(t,1),this.logger.trace("POP :"+JSON.stringify(n)),n}return null}},{key:"saveStack",value:function(){this.stackList.push(this.stack),this.stack=[]}},{key:"loadStack",value:function(){this.stack=this.stackList.pop()}},{key:"pushStack",value:function(e){this.logger.debug("PUSH:"+JSON.stringify(e)),this.stack.push(e)}},{key:"isEOF",value:function(){return this.index>=this.tokens.length}},{key:"check",value:function(e){return this.tokens[this.index].type===e}},{key:"check2",value:function(e){for(var t=0;t<e.length;t++){var n=t+this.index;if(this.tokens.length<=n)return!1;if("*"!==e[t]){var r=this.tokens[n];if(e[t]instanceof Array){if(e[t].indexOf(r.type)<0)return!1}else if(r.type!==e[t])return!1}}return!0}},{key:"checkTypes",value:function(e){var t=this.tokens[this.index].type;return e.indexOf(t)>=0}},{key:"accept",value:function(e){for(var t=this,n=[],o=this.index,i=function(){return t.index=o,!1},u=0;u<e.length;u++){if(this.isEOF())return i();var a=e[u];if("string"!=typeof a)if("function"!=typeof a){if(!(a instanceof Array))throw new Error("System Error : accept broken : "+r(a));if(!this.checkTypes(a))return i();n[u]=this.get()}else{var c=a.bind(this)(n);if(null===c)return i();n[u]=c}else{var s=this.get();if(s.type!==a)return i();n[u]=s}}return this.y=n,!0}},{key:"get",value:function(){return this.isEOF()?null:this.tokens[this.index++]}},{key:"unget",value:function(){this.index>0&&this.index--}},{key:"peek",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.isEOF()?null:this.tokens[this.index+e]}},{key:"peekSourceMap",value:function(){var e=this.peek();return null===e?{startOffset:null,endOffset:null,file:void 0,line:0,column:0}:{startOffset:e.startOffset,endOffset:e.endOffset,file:e.file,line:e.line,column:e.column}}},{key:"nodeToStr",value:function(e,t,n){var r=t.depth-1,o=function(e){return void 0!==t.typeName?t.typeName:e},i=n?" debug: "+JSON.stringify(e,null,2):"";if(!e)return"(NULL)";switch(e.type){case"not":return r>=0?"".concat(o(""),"『").concat(this.nodeToStr(e.value,{depth:r},n),"に演算子『not』を適用した式").concat(i,"』"):"".concat(o("演算子"),"『not』");case"op":var u=e.operator,a={eq:"=",not:"!",gt:">",lt:"<",and:"かつ",or:"または"};if(u in a&&(u=a[u]),r>=0){var c=this.nodeToStr(e.left,{depth:r},n),s=this.nodeToStr(e.right,{depth:r},n);return"eq"===e.operator?"".concat(o(""),"『").concat(c,"と").concat(s,"が等しいかどうかの比較").concat(i,"』"):"".concat(o(""),"『").concat(c,"と").concat(s,"に演算子『").concat(u,"』を適用した式").concat(i,"』")}return"".concat(o("演算子"),"『").concat(u).concat(i,"』");case"number":return"".concat(o("数値")).concat(e.value);case"string":return"".concat(o("文字列"),"『").concat(e.value).concat(i,"』");case"word":return"".concat(o("単語"),"『").concat(e.value).concat(i,"』");case"func":return"".concat(o("関数"),"『").concat(e.name||e.value).concat(i,"』");case"eol":return"行の末尾";case"eof":return"ファイルの末尾";default:var f=e.name;return f||(f=e.value),"string"!=typeof f&&(f=e.type),"".concat(o(""),"『").concat(f).concat(i,"』")}}}],n&&o(t.prototype,n),i&&o(t,i),e}();e.exports={NakoParserBase:u,NakoSyntaxError:i}},2479:function(e){e.exports={opPriority:{and:1,or:1,eq:2,noteq:2,"===":2,"!==":2,gt:2,gteq:2,lt:2,lteq:2,"&":3,"+":4,"-":4,shift_l:4,shift_r:4,shift_r0:4,"*":5,"/":5,"%":5,"^":6},keizokuJosi:["いて","えて","きて","けて","して","って","にて","みて","めて","ねて","には","んで"]}},8178:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}n(4916),n(5306),n(9841),n(4953),n(7207),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=function(){"use strict";function e(t){i(this,e),this.history=[],this.code=t}return a(e,[{key:"getText",value:function(){return this.code}},{key:"replaceAll",value:function(e,t){for(;;){var n=this.getText().indexOf(e);if(-1===n)break;e.length!==t.length&&this.history.unshift({index:n,from:e.length,to:t.length}),this.code=this.code.replace(e,t)}}},{key:"getSourcePosition",value:function(e){var t,n=r(this.history);try{for(n.s();!(t=n.n()).done;){var o=t.value;e>=o.index+o.to?e+=o.from-o.to:o.index<=e&&e<o.index+o.to&&(e=o.to>=2&&e===o.index+o.to-1?o.index+o.from-1:o.index)}}catch(e){n.e(e)}finally{n.f()}return e}}]),e}(),s=function(){"use strict";function e(t){i(this,e),this.logger=t,this.HYPHENS={45:!0,8208:!0,8209:!0,8211:!0,8212:!0,8213:!0,8722:!0},this.TILDES={126:!0,732:!0,759:!0,8275:!0,8764:!0,12316:!0,65374:!0},this.SPACES={32:!0,8192:!0,8194:!0,8195:!0,8196:!0,8197:!0,8198:!0,8199:!0,8201:!0,8202:!0,8203:!0,8239:!0,8287:!0,12288:!0,12644:!0},this.convertTable={9:" ",8251:"#",12290:";",12304:"[",12305:"]",12289:",",65292:","}}return a(e,[{key:"convert1ch",value:function(e){if(!e)return"";var t=e.codePointAt(0);if(this.convertTable[t])return this.convertTable[t];if(t<127)return e;if(t>=65281&&t<=65374){var n=t-65248;return String.fromCodePoint(n)}return this.HYPHENS[t]?"-":this.TILDES[t]?"~":this.SPACES[t]?" ":e}},{key:"convert",value:function(e){if(!e)return[];var t=new c(e);t.replaceAll("\r\n","\n"),t.replaceAll("\r","\n");for(var n=!1,r=!1,o="",i=[],u=0,a="",s=0;s<t.getText().length;){var f=t.getText().charAt(s),l=t.getText().substr(s,2);if(n){if(f===o){n=!1,i.push({text:a+o,sourcePosition:t.getSourcePosition(u)}),u=++s;continue}a+=f,s++}else if(r){if(l===o){r=!1,i.push({text:a+o,sourcePosition:t.getSourcePosition(u)}),u=s+=2;continue}a+=f,s++}else if("「"!==f)if("『"!==f)if("“"!==f)if("🌴"!==l&&"🌿"!==l){var p=this.convert1ch(f);'"'!==p&&"'"!==p?"#"!==p?"//"!==l&&"//"!==l?"/*"!==l?(i.push({text:p,sourcePosition:t.getSourcePosition(u)}),u=++s):(i.push({text:l,sourcePosition:t.getSourcePosition(u)}),u=s+=2,r=!0,o="*/",a=""):(i.push({text:"//",sourcePosition:t.getSourcePosition(u)}),u=s+=2,n=!0,o="\n",a=""):(i.push({text:p,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="\n",a=""):(i.push({text:p,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o=f,a="")}else i.push({text:l,sourcePosition:t.getSourcePosition(u)}),u=s+=2,r=!0,o=l,a="";else i.push({text:f,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="”",a="";else i.push({text:f,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="』",a="";else i.push({text:f,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="」",a=""}return(n||r)&&i.push({text:a+o,sourcePosition:t.getSourcePosition(u)}),i}}]),e}();e.exports=s},5740:function(e){e.exports={"回":"回","回繰返":"回","間":"間","間繰返":"間","繰返":"繰返","増繰返":"増繰返","減繰返":"減繰返","反復":"反復","抜":"抜ける","続":"続ける","戻":"戻る","先":"先に","次":"次に","代入":"代入","実行速度優先":"実行速度優先","パフォーマンスモニタ適用":"パフォーマンスモニタ適用","定":"定める","逐次実行":"逐次実行","条件分岐":"条件分岐","増":"増","減":"減","変数":"変数","定数":"定数","エラー監視":"エラー監視","エラー":"エラー","それ":"word","そう":"word","関数":"def_func","インデント構文":"インデント構文","非同期モード":"非同期モード","DNCLモード":"DNCLモード","モード設定":"モード設定","取込":"取込"}},144:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}n(4553),n(4916),n(3123),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=function(){"use strict";function e(t,n){i(this,e),this.sourceCodeLength=t,this.preprocessed=n;var o=0;this.cumulativeSum=[];var u,a=r(n);try{for(a.s();!(u=a.n()).done;){var c=u.value;this.cumulativeSum.push(o),o+=c.text.length}}catch(e){a.e(e)}finally{a.f()}this.lastIndex=0,this.lastPreprocessedCodePosition=0}return a(e,[{key:"map",value:function(e){var t=this.findIndex(e);return Math.min(this.preprocessed[t].sourcePosition+(e-this.cumulativeSum[t]),t===this.preprocessed.length-1?this.sourceCodeLength:this.preprocessed[t+1].sourcePosition-1)}},{key:"findIndex",value:function(e){e<this.lastPreprocessedCodePosition&&(this.lastIndex=0),this.lastPreprocessedCodePosition=e;for(var t=this.lastIndex;t<this.preprocessed.length-1;t++)if(e<this.cumulativeSum[t+1])return this.lastIndex=t,t;return this.lastIndex=this.preprocessed.length-1,this.preprocessed.length-1}}]),e}(),s=function(){"use strict";function e(t,n,o){i(this,e),this.lines=[],this.linesInsertedByIndentationSyntax=n,this.linesDeletedByIndentationSyntax=o;var u,a=0,c=r(t.split("\n"));try{for(c.s();!(u=c.n()).done;){var s=u.value;this.lines.push({offset:a,len:s.length}),a+=s.length+1}}catch(e){c.e(e)}finally{c.f()}this.lastLineNumber=0,this.lastOffset=0}return a(e,[{key:"map",value:function(e,t){if(null===e)return{startOffset:e,endOffset:t};var n,o=this.getLineNumber(e),i=r(this.linesInsertedByIndentationSyntax);try{for(i.s();!(n=i.n()).done;){var u=n.value;if(o===u){e=null,t=null;break}o>u&&(e-=this.lines[u].len+1,null!==t&&(t-=this.lines[u].len+1))}}catch(e){i.e(e)}finally{i.f()}var a,c=r(this.linesDeletedByIndentationSyntax);try{for(c.s();!(a=c.n()).done;){var s=a.value;o>=s.lineNumber&&(null!==e&&(e+=s.len+1),null!==t&&(t+=s.len+1))}}catch(e){c.e(e)}finally{c.f()}return{startOffset:e,endOffset:t}}},{key:"getLineNumber",value:function(e){e<this.lastOffset&&(this.lastLineNumber=0),this.lastOffset=e;for(var t=this.lastLineNumber;t<this.lines.length-1;t++)if(e<this.lines[t+1].offset)return this.lastLineNumber=t,t;return this.lastLineNumber=this.lines.length-1,this.lines.length-1}}]),e}(),f=function(){"use strict";function e(t){i(this,e),this.lineOffsets=[];var n,o=0,u=r(t.split("\n"));try{for(u.s();!(n=u.n()).done;){var a=n.value;this.lineOffsets.push(o),o+=a.length+1}}catch(e){u.e(e)}finally{u.f()}this.lastLineNumber=0,this.lastOffset=0}return a(e,[{key:"map",value:function(e,t){e<this.lastOffset&&(this.lastLineNumber=0),this.lastOffset=e;for(var n=this.lastLineNumber;n<this.lineOffsets.length-1;n++)if(e<this.lineOffsets[n+1])return this.lastLineNumber=n,{line:n+(t?1:0),column:e-this.lineOffsets[n]};return this.lastLineNumber=this.lineOffsets.length-1,{line:this.lineOffsets.length-1+(t?1:0),column:e-this.lineOffsets[this.lineOffsets.length-1]}}}]),e}();e.exports={SourceMappingOfTokenization:c,SourceMappingOfIndentSyntax:s,OffsetToLineColumn:f,subtractSourceMapByPreCodeLength:function(e,t){if("number"==typeof e.startOffset&&(e.startOffset-=t.length),"number"==typeof e.endOffset&&(e.endOffset-=t.length),""!==t){var n=t.split("\n");"number"==typeof e.line&&(e.line-=n.length-1),0===e.line&&"number"==typeof e.column&&(e.column-=n[n.length-1].length)}return e}}},7785:function(e){e.exports={version:"3.2.39",major:3,minor:2,patch:39}},4068:function(e,t,n){n(4916),n(5306),n(561),n(1539),n(4747),n(9601);var r=n(7216),o=n(7880),i=n(8472),u=n(9739),a=n(103),c=n(1139),s=n(4402),f=n(8814),l=n(8698),p=n(615),h=n(4142),d=n(9497),y=n(580),v=n(4323),g=n(3267),_=n(7981),m=n(8446),b=n(9796),w={meta:{type:"const",value:{pluginName:"plugin_browser",pluginVersion:"3.2.24",nakoRuntime:["wnako"],nakoVersion:"^3.2.24"}},"初期化":{type:"func",josi:[],pure:!0,fn:function(e){"undefined"==typeof document&&(document={body:{}}),"undefined"==typeof window&&(window={location:{href:""}}),"undefined"==typeof navigator&&(navigator={}),e.__v0["AJAX:ONERROR"]=function(e){console.log(e)},e.__v0.DOCUMENT=document,e.__v0.WINDOW=window,e.__v0.NAVIGATOR=navigator,e.__v0["DOM親要素"]=document.body,e.__v0["ブラウザURL"]=window.location.href,e.__tohtml=function(e){return(""+e).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")},e.__tohtmlQ=function(t){return e.__tohtml(t).replace(/\"/g,""").replace(/\'/g,"'")},e.__dom_events=[],e.__addEvent=function(t,n,r,o){if("string"==typeof t&&!(t=document.querySelector(t)))throw new Error("DOMイベントが追加できません。要素が見当たりません。");if("string"==typeof r&&!(r=e.__findVar(r,null)))throw new Error("DOMイベントが追加できません。関数が見当たりません。");var i=function(t){return e.__v0["対象"]=t.target,e.__v0["対象イベント"]=t,o&&o(t,e),"非同期モード"===e.__genMode&&(e.newenv=!0),r(t,e)};e.__dom_events.push({dom:t,event:n,func:i,rawFunc:r}),t.addEventListener(n,i)},e.__keyHandler=function(e,t){t.__v0["押キー"]=e.key},e.__mouseHandler=function(e,t){var n=e.target.getBoundingClientRect();t.__v0["マウスX"]=e.clientX-n.left,t.__v0["マウスY"]=e.clientY-n.top},e.__touchHandler=function(e,t){var n=e.target.getBoundingClientRect(),r=e.changedTouches;if(!(r.length<=0)){for(var o=[],i=0;i<r.length;i++){var u=r[i],a=u.clientX-n.left,c=u.clientY-n.top;0===i&&(t.__v0["タッチX"]=a,t.__v0["タッチY"]=c),o.push([a,c])}return t.__v0["タッチ配列"]=o,o}},e.__removeEvent=function(t,n,r){if("string"==typeof t&&!(t=document.querySelector(t)))throw new Error("DOMイベントが削除できません。要素が見当たりません。");if("string"==typeof r&&!(r=e.__findVar(r,null)))throw new Error("DOMイベントが削除できません。関数が見当たりません。");for(var o=0;o<e.__dom_events.length;o++){var i=e.__dom_events[o];if(i.dom===t&&i.event===n&&i.rawFunc===r){i.dom.removeEventListener(i.event,i.func),e.__dom_events.splice(o,1);break}}},e.__requestAnimationFrameLastId=0,e.__removeAllDomEvent=function(){e.__dom_events.forEach((function(e){console.log(e.event,e.dom,e),e.dom.removeEventListener(e.event,e.func)})),e.__dom_events=[],e.__requestAnimationFrameLastId>0&&(window.cancelAnimationFrame(e.__requestAnimationFrameLastId),e.__requestAnimationFrameLastId=0)}}},"!クリア":{type:"func",josi:[],pure:!1,fn:function(e){e.__chartjs&&e.__chartjs.destroy(),e.__removeAllDomEvent()}}};[r,o,i,u,a,c,s,f,l,p,h,d,y,v,g,_,m,b].forEach((function(e){var t={};Object.assign(t,e),void 0!==t["初期化"]&&delete t["初期化"],Object.assign(w,t)})),e.exports=w},103:function(e,t,n){n(1539),n(8674),n(9600),n(9714),e.exports={"AJAX送信時":{type:"func",josi:[["の"],["まで","へ","に"]],pure:!0,fn:function(e,t,n){var r=n.__v0["AJAXオプション"];""===r&&(r={method:"GET"}),fetch(t,r).then((function(e){return e.text()})).then((function(t){n.__v0["対象"]=t,"非同期モード"===n.__genMode&&(n.newenv=!0),e(t,n)})).catch((function(e){console.log("[fetch.error]",e),n.__v0["AJAX:ONERROR"](e)}))},return_none:!0},"AJAX受信":{type:"func",josi:[["から","を"]],pure:!0,fn:function(e,t){if("非同期モード"!==t.__genMode)throw new Error("『AJAX受信』を使うには、プログラムの冒頭で「!非同期モード」と宣言してください。");var n=t.setAsync(t),r=t.__v0["AJAXオプション"];""===r&&(r={method:"GET"}),fetch(e,r).then((function(e){if(e.ok)return e.text();throw new Error("status="+e.status)})).then((function(e){t.__v0["対象"]=e,t.compAsync(t,n)})).catch((function(e){console.error("[AJAX受信のエラー]",e),t.__errorAsync(e,t)}))},return_none:!0},"AJAX受信時":{type:"func",josi:[["で"],["から","を"]],pure:!0,fn:function(e,t,n){n.__exec("AJAX送信時",[e,t,n])},return_none:!0},"GET送信時":{type:"func",josi:[["の"],["まで","へ","に"]],pure:!1,fn:function(e,t,n){n.__exec("AJAX送信時",[e,t,n])},return_none:!0},"POSTデータ生成":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){var n=[];for(var r in e){var o=e[r],i=encodeURIComponent(r)+"="+encodeURIComponent(o);n.push(i)}return n.join("&")}},"POST送信時":{type:"func",josi:[["の"],["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n,r){var o=r.__exec("POSTデータ生成",[n,r]);fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:o}).then((function(e){return e.text()})).then((function(t){r.__v0["対象"]=t,e(t)})).catch((function(e){r.__v0["AJAX:ONERROR"](e)}))}},"POSTフォーム送信時":{type:"func",josi:[["の"],["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n,r){var o=new FormData;for(var i in n)o.set(i,n[i]);fetch(t,{method:"POST",body:o}).then((function(e){return e.text()})).then((function(t){r.__v0["対象"]=t,e(t)})).catch((function(e){r.__v0["AJAX:ONERROR"](e)}))}},"AJAX失敗時":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){t.__v0["AJAX:ONERROR"]=e}},"AJAXオプション":{type:"const",value:""},"AJAXオプション設定":{type:"func",josi:[["に","へ","と"]],pure:!0,fn:function(e,t){t.__v0["AJAXオプション"]=e},return_none:!0},"AJAX送信":{type:"func",josi:[["まで","へ","に"]],pure:!0,fn:function(e,t){if(!t.resolve)throw new Error("『AJAX送信』は『逐次実行』構文内で利用する必要があります。");t.__exec("AJAX逐次送信",[e,t])},return_none:!0},"AJAX逐次送信":{type:"func",josi:[["まで","へ","に"]],pure:!0,fn:function(e,t){if(!t.resolve)throw new Error("『AJAX逐次送信』は『逐次実行』構文内で利用する必要があります。");t.resolveCount++;var n=t.resolve,r=t.reject,o=t.__v0["AJAXオプション"];""===o&&(o={method:"GET"}),fetch(e,o).then((function(e){return e.text()})).then((function(e){t.__v0["対象"]=e,n()})).catch((function(e){r(e.message)}))},return_none:!0},"AJAX保障送信":{type:"func",josi:[["まで","へ","に"]],pure:!0,fn:function(e,t){var n=t.__v0["AJAXオプション"];return""===n&&(n={method:"GET"}),fetch(e,n)},return_none:!1},"HTTP取得":{type:"func",josi:[["の","から","を"]],pure:!1,fn:function(e,t){if(!t.resolve)throw new Error("『HTTP取得』は『逐次実行』構文内で利用する必要があります。");t.__exec("AJAX逐次送信",[e,t])},return_none:!0},"HTTP逐次取得":{type:"func",josi:[["の","から","を"]],pure:!1,fn:function(e,t){if(!t.resolve)throw new Error("『HTTP逐次取得』は『逐次実行』構文内で利用する必要があります。");t.__exec("AJAX逐次送信",[e,t])},return_none:!0},"HTTP保障取得":{type:"func",josi:[["の","から","を"]],pure:!0,fn:function(e,t){return t.__exec("AJAX保障送信",[e,t])},return_none:!1},"POST逐次送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n){if(!n.resolve)throw new Error("『POST送信』は『逐次実行』構文内で利用する必要があります。");n.resolveCount++;var r=n.resolve,o=n.reject,i=n.__exec("POSTデータ生成",[t,n]);fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:i}).then((function(e){return e.text()})).then((function(e){n.__v0["対象"]=e,r(e)})).catch((function(e){o(e.message)}))},return_none:!0},"POST送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n){if(!n.resolve)throw new Error("『POST送信』は『逐次実行』構文内で利用する必要があります。");n.__exec("POST逐次送信",[e,t,n])},return_none:!0},"POST保障送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n){var r=n.__exec("POSTデータ生成",[t,n]);return fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:r})},return_none:!1},"POSTフォーム逐次送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n){if(!n.resolve)throw new Error("『POSTフォーム逐次送信』は『逐次実行』構文内で利用する必要があります。");n.resolveCount++;var r=n.resolve,o=n.reject,i=new FormData;for(var u in t)i.set(u,t[u]);fetch(e,{method:"POST",body:i}).then((function(e){return e.text()})).then((function(e){n.__v0["対象"]=e,r(e)})).catch((function(e){o(e.message)}))},return_none:!0},"POSTフォーム送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n){if(!n.resolve)throw new Error("『POSTフォーム送信』は『逐次実行』構文内で利用する必要があります。");n.__exec("POSTフォーム逐次送信",[e,t,n])},return_none:!0},"POSTフォーム保障送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n){var r=new FormData;for(var o in t)r.set(o,t[o]);return fetch(e,{method:"POST",body:r})},return_none:!1},"AJAX内容取得":{type:"func",josi:[["から"],["で"]],pure:!0,fn:function(e,t,n){return"TEXT"===(t=t.toString().toUpperCase())||"テキスト"===t?e.text():"JSON"===t?e.json():"BLOB"===t?e.blob():"ARRAY"===t||"配列"===t?e.arrayBuffer():"BODY"===t||"本体"===t?e.body:e.body()},return_none:!1}}},3267:function(e){e.exports={"オーディオ開":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e,t){var n=new Audio;return n.src=e,n},return_none:!1},"オーディオ再生":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ再生する前に、オーディオ開くで音声ファイルを読み込んでください");e.loop=!1,e.play()},return_none:!0},"オーディオループ再生":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ再生する前に、オーディオ開くで音声ファイルを読み込んでください");e.loop=!0,e.play()},return_none:!0},"オーディオ停止":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ停止する前に、オーディオ開くで音声ファイルを読み込んでください");e.pause(),e.currentTime=0,setTimeout((function(){e.currentTime=0}),10)},return_none:!0},"オーディオ一時停止":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ一時停止する前に、オーディオ開くで音声ファイルを読み込んでください");e.pause()},return_none:!0},"オーディオ音量取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ長取得する前に、オーディオ開くで音声ファイルを読み込んでください");return e.volume}},"オーディオ音量設定":{type:"func",josi:[["を"],["に","へ"]],pure:!0,fn:function(e,t,n){if(!e)throw new Error("オーディオ長取得する前に、オーディオ開くで音声ファイルを読み込んでください");e.volume=t},return_none:!0},"オーディオ長取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ長取得する前に、オーディオ開くで音声ファイルを読み込んでください");return e.duration}},"オーディオ再生位置取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ再生位置取得する前に、オーディオ開くで音声ファイルを読み込んでください");return e.currentTime}},"オーディオ再生位置設定":{type:"func",josi:[["を"],["に","へ"]],pure:!0,fn:function(e,t,n){if(!e)throw new Error("オーディオ停止する前に、オーディオ開くで音声ファイルを読み込んでください");e.currentTime=t},return_none:!0}}},4142:function(e,t,n){n(3290),n(4916);var r="描画を行うためには、HTML内にcanvasを配置し、idを振って『描画開始』命令に指定します。";e.exports={"描画開始":{type:"func",josi:[["の","へ","で"]],pure:!0,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)||document.getElementById(e)),!e)throw new Error("『描画開始』でCanvasを取得できませんでした。");t.__canvas=e,t.__ctx=e.getContext("2d"),t.__fillStyle="black",t.__strokeStyle="black",t.__v0["描画中キャンバス"]=e,t.__v0["描画中コンテキスト"]=t.__ctx},return_none:!0},"描画中キャンバス":{type:"const",value:null},"描画中コンテキスト":{type:"const",value:null},"キャンバス状態保存":{type:"func",josi:[],pure:!0,fn:function(e){if(!e.__ctx)throw new Error(r);e.__ctx.save()},return_none:!0},"キャンバス状態復元":{type:"func",josi:[],pure:!0,fn:function(e){if(!e.__ctx)throw new Error(r);e.__ctx.restore()},return_none:!0},"線色設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__strokeStyle=e,""!=e&&(t.__ctx.strokeStyle=e)},return_none:!0},"塗色設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__fillStyle=e,""!=e&&(t.__ctx.fillStyle=e)},return_none:!0},"線描画":{type:"func",josi:[["から"],["へ","まで"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);n.__ctx.beginPath(),n.__ctx.moveTo(e[0],e[1]),n.__ctx.lineTo(t[0],t[1]),n.__ctx.stroke()},return_none:!0},"線太設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.lineWidth=e},return_none:!0},"四角描画":{type:"func",josi:[["の","へ","に"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);""==t.__fillStyle&&""==t.__strokeStyle||(t.__ctx.beginPath(),t.__ctx.rect(e[0],e[1],e[2],e[3]),""!=t.__fillStyle&&t.__ctx.fill(),""!=t.__strokeStyle&&t.__ctx.stroke())},return_none:!0},"全描画クリア":{type:"func",josi:[],pure:!0,fn:function(e){if(!e.__ctx)throw new Error(r);e.__ctx.clearRect(0,0,e.__canvas.width,e.__canvas.height)},return_none:!0},"描画クリア":{type:"func",josi:[["の","へ","に"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);e instanceof Array||(e=[]),0==e.length?e=[0,0,t.__canvas.width,t.__canvas.height]:e.length<=2&&(e.unshift(0),e.unshift(0)),t.__ctx.clearRect(e[0],e[1],e[2],e[3])},return_none:!0},"円描画":{type:"func",josi:[["へ","に"],["の"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);""==n.__fillStyle&&""==n.__strokeStyle||(n.__ctx.beginPath(),n.__ctx.arc(e[0],e[1],t,0,2*Math.PI,!1),""!=n.__fillStyle&&n.__ctx.fill(),""!=n.__strokeStyle&&n.__ctx.stroke())},return_none:!0},"楕円描画":{type:"func",josi:[["へ","に","の"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);if(!e)throw new Error("楕円描画の引数配列が無効です");if(e.length<4)throw new Error("楕円描画の引数配列が不足しています");e.length<7&&(e[4]||(e[4]=0),e[5]||(e[5]=0),e[6]||(e[6]=2*Math.PI),e[7]||(e[7]=!0)),""==t.__fillStyle&&""==t.__strokeStyle||(t.__ctx.beginPath(),t.__ctx.ellipse.apply(t.__ctx,e),""!=t.__fillStyle&&t.__ctx.fill(),""!=t.__strokeStyle&&t.__ctx.stroke())},return_none:!0},"多角形描画":{type:"func",josi:[["で","の","を"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);if(""!=t.__fillStyle||""!=t.__strokeStyle){t.__ctx.beginPath();var n=e[0];t.__ctx.moveTo(n[0],n[1]);for(var o=1;o<e.length;o++){var i=e[o];t.__ctx.lineTo(i[0],i[1])}t.__ctx.lineTo(n[0],n[1]),""!=t.__fillStyle&&t.__ctx.fill(),""!=t.__strokeStyle&&t.__ctx.stroke()}},return_none:!0},"画像読":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){var n=new window.Image;return n.src=e,n}},"画像逐次読":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){if(void 0===t.resolve)throw new Error("『画像逐次読』は『逐次実行』構文で使ってください。");t.resolveCount++;var n=new window.Image;return n.src=e,n.onload=function(){t.__v0["対象"]=n,t.resolve()},n.onerror=function(){t.__v0["対象"]="",t.reject()},n}},"画像読時":{type:"func",josi:[["で"],["の","を"]],pure:!0,fn:function(e,t,n){var r=n.__findVar(e,null),o=new window.Image;o.src=t,o.onload=function(){n.__v0["対象"]=o,r(n)},o.onerror=function(){n.__v0["対象"]="",r(n)}},return_none:!0},"画像描画":{type:"func",josi:[["の","を"],["へ","に"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);var o=function(e,n){if(2===t.length)n.drawImage(e,t[0],t[1]);else if(4===t.length)n.drawImage(e,t[0],t[1],t[2],t[3]);else{if(8!==t.length)throw new Error("『画像描画』の第二引数の配列要素は2,4,8個のいずれかです。");n.drawImage(e,t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7])}};if("string"==typeof e){var i=new window.Image;return i.src=e,i.onload=function(){o(i,n.__ctx)},i}return o(e,n.__ctx),e},return_none:!1},"画像部分描画":{type:"func",josi:[["の"],["を","から"],["へ","に"]],pure:!0,fn:function(e,t,n,o){var i="『画像部分描画』に使える引数は画像と、描画する座標へ2つか、描画する座標とその位置の4つか、使用する座標と使用する位置と描画する座標と大きさの8つだけです。";if(e&&t&&!Array.isArray(t)&&Array.isArray(e)&&("string"==typeof t||"[object HTMLImageElement]"===String(t.__proto__))){var u=e;e=t,t=u}if(!o.__ctx)throw new Error(r);var a=function(e,r){if(n||(t?t.length>=2&&(n=t,t=void 0):r.drawImage(e)),2===n.length)r.drawImage(e,n[0],n[1]);else{if(4!==n.length)throw new Error(i);if(t){if(4!==t.length)throw new Error(i);r.drawImage(e,t[0],t[1],t[2],t[3],n[0],n[1],n[2],n[3])}else r.drawImage(e,n[0],n[1],n[2],n[3])}};if("string"==typeof e){var c=new window.Image;return c.src=e,c.onload=function(){a(c,o.__ctx)},c}return a(e,o.__ctx),e},return_none:!1},"描画フォント設定":{type:"func",josi:[["を","の","で","に"]],pure:!0,fn:function(e,t){"number"==typeof e?e+="px sans-serif":/^[0-9]+(px|em)$/.test(e)&&(e+=" sans-serif"),t.__ctx.font=e},return_none:!0},"文字描画":{type:"func",josi:[["へ","に"],["の","を"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);n.__ctx.fillText(t,e[0],e[1])},return_none:!0},"文字描画幅取得":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);return t.__ctx.measureText(e)},return_none:!0},"描画起点設定":{type:"func",josi:[["へ","に"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.translate(e[0],e[1])},return_none:!0},"描画回転":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.rotate(e*Math.PI/180)},return_none:!0},"描画拡大":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.scale(e[0],e[1])},return_none:!0},"描画変換マトリクス設定":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.setTransform(e[0],e[1],e[2],e[3],e[4],e[5],e[6])},return_none:!0},"描画変換マトリクス追加":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6])},return_none:!0},"描画データURL変換":{type:"func",josi:[],pure:!1,fn:function(e){return e.__v0["描画中キャンバス"].toDataURL("image/png")}},"描画ダウンロードリンク作成":{type:"func",josi:[["へ","に"]],pure:!1,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)),!e)throw new Error("『描画ダウンロードリンク作成』でDOMが見当たりません。");var n=t.__v0["描画中キャンバス"];if(!n)throw new Error("『描画ダウンロード』で描画中キャンバスが設定されていません。");e.href=n.toDataURL("image/png"),e.download="canvas.png"},return_none:!0},"描画ダウンロード":{type:"func",josi:[],pure:!1,fn:function(e){"string"==typeof dom&&(dom=document.querySelector(dom));var t=e.__v0["描画中キャンバス"];if(!t)throw new Error("『描画ダウンロード』で描画中キャンバスが設定されていません。");var n=document.createElement("a");return n.href=t.toDataURL("image/png"),n.download="canvas.png",n.click(),!0}}}},8446:function(e,t,n){n(9601),n(7042),e.exports={"グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!0,fn:function(e,t){if(!window.Chart)throw new Error("『グラフ描画』のエラー。Chart.jsを取り込んでください。");if(!t.__canvas)throw new Error("『グラフ描画』のエラー。『描画開始』命令で描画先のCanvasを指定してください。 ");e["タイプ"]&&(e.type=e["タイプ"]),e["データ"]&&(e.data=e["データ"]),e["オプション"]&&(e.options=e["オプション"]),t.__chartjs&&t.__chartjs.destroy();var n=new Chart(t.__canvas,e);return t.__chartjs=n,n}},"グラフオプション":{type:"const",value:{}},"線グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"line",data:e=t.__exec("二次元グラフデータ変形",["line",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"x"}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"横棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"y"}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"積上棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"x",scales:{x:{stacked:!0},y:{stacked:!0}}}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"積上横棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"y",scales:{x:{stacked:!0},y:{stacked:!0}}}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"散布図描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{}),r={type:"scatter",data:e=t.__exec("二次元グラフデータ変形",["scatter",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"円グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"pie",data:e=t.__exec("二次元グラフデータ変形",["pie",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"ドーナツグラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"doughnut",data:e=t.__exec("二次元グラフデータ変形",["pie",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"ポーラーグラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"polarArea",data:e=t.__exec("二次元グラフデータ変形",["pie",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"レーダーグラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"radar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"二次元グラフデータ変形":{type:"func",josi:[["の"],["を"]],pure:!1,fn:function(e,t,n){var r=["rgba(255, 99, 132, 0.2)","rgba(54, 162, 235, 0.2)","rgba(255, 206, 86, 0.2)","rgba(75, 192, 192, 0.2)","rgba(153, 102, 255, 0.2)","rgba(255, 159, 64, 0.2)"],o=["rgba(255, 99, 132, 1)","rgba(54, 162, 235, 1)","rgba(255, 206, 86, 1)","rgba(75, 192, 192, 1)","rgba(153, 102, 255, 1)","rgba(255, 159, 64, 1)"],i={},u=[],a=[];if(i.labels=[],t instanceof Array){if(t[0]instanceof Array){if("pie"===e){var c={data:[]};i.datasets=[c];for(var s=0;s<t.length;s++)i.labels.push(t[s][0]),c.data.push(t[s][1]),u.push(r[s%6]),a.push(o[s%6]);return c.backgroundColor=u,c.borderColor=a,i}if("string"==typeof t[1][0]){for(var f=1;f<t.length;f++)i.labels.push(t[f][0]),t[f]=t[f].slice(1);t[0]=t[0].slice(1)}else for(var l=1;l<t.length;l++)i.labels.push(l);i.datasets=[];for(var p=0;p<t[0].length;p++){var h={};i.datasets.push(h),h.label=t[0][p],h.backgroundColor=r[p%6],h.borderColor=o[p%6],h.data=[];for(var d=1;d<t.length;d++)h.data.push(t[d][p])}return i}for(var y=0;y<t.length;y++)i.labels.push(y+1),u.push(r[y%6]),a.push(o[y%6]);var v={};return i.datasets=[v],v.label="データ",v.data=t,v.backgroundColor=u,v.borderColor=a,i}return t instanceof Object?t:n.__exec("二次元グラフデータ変形",[[t],n])}}}},7216:function(e,t,n){n(1539),n(9714),e.exports={"水色":{type:"const",value:"aqua"},"紫色":{type:"const",value:"fuchsia"},"緑色":{type:"const",value:"lime"},"青色":{type:"const",value:"blue"},"赤色":{type:"const",value:"red"},"黄色":{type:"const",value:"yellow"},"黒色":{type:"const",value:"black"},"白色":{type:"const",value:"white"},"茶色":{type:"const",value:"maroon"},"灰色":{type:"const",value:"gray"},"金色":{type:"const",value:"gold"},"黄金色":{type:"const",value:"gold"},"銀色":{type:"const",value:"silver"},"白金色":{type:"const",value:"silver"},"オリーブ色":{type:"const",value:"olive"},"ベージュ色":{type:"const",value:"beige"},"アリスブルー色":{type:"const",value:"aliceblue"},RGB:{type:"func",josi:[["と"],["と"],["で","の"]],pure:!0,fn:function(e,t,n){var r=function(e){var t="00"+e.toString(16);return t.substr(t.length-2,2)};return"#"+r(e)+r(t)+r(n)},return_none:!1},"色混":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=function(e){var t="00"+e.toString(16);return t.substr(t.length-2,2)};if(!e)throw new Error("『色混ぜる』の引数には配列を指定します");if(e.length<3)throw new Error("『色混ぜる』の引数には[RR,GG,BB]形式の配列を指定します");return"#"+t(e[0])+t(e[1])+t(e[2])},return_none:!1}}},9796:function(e,t,n){n(1539),n(9714),n(9600),e.exports={"ハッシュ値計算時":{type:"func",josi:[["へ"],["を"],["で"]],pure:!1,fn:function(e,t,n,r){e=r.__findVar(e,null);var o=new TextEncoder("utf-8").encode(t);crypto.subtle.digest(n,o).then((function(t){for(var n=[],o=new DataView(t),i=0;i<o.byteLength;i+=4){var u="00"+o.getUint32(i).toString(16);n.push(u.substr(u.length-2,2))}var a=r.__v0["対象"]=n.join("");e(a)}))},return_none:!0}}},8472:function(e,t,n){n(4916),n(5306),e.exports={"言":{type:"func",josi:[["と","を"]],pure:!0,fn:function(e){window.alert(e)},return_none:!0},"尋":{type:"func",josi:[["と","を"]],pure:!0,fn:function(e,t){var n=window.prompt(e);return n?/^[-+]?[0-9]+(\.[0-9]+)?$/.test(n)?parseFloat(n):/^[-+-+]?[0-90-9]+([..][0-90-9]+)?$/.test(n)?parseFloat(n.replace(/[-+0-9.]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))):n:t.__v0["空"]}},"文字尋":{type:"func",josi:[["と","を"]],pure:!0,fn:function(e,t){var n=window.prompt(e);return n||t.__v0["空"]}},"二択":{type:"func",josi:[["で","の","と","を"]],pure:!0,fn:function(e){return window.confirm(e)}}}},1139:function(e,t,n){n(1038),n(8783),n(1539),n(4747),e.exports={DOCUMENT:{type:"const",value:""},WINDOW:{type:"const",value:""},NAVIGATOR:{type:"const",value:""},"DOM要素ID取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.getElementById(e)}},"DOM要素取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.querySelector(e)}},"DOM要素全取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return Array.from(document.querySelectorAll(e))}},"タグ一覧取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.getElementsByTagName(e)}},"DOM子要素取得":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)),!e.querySelector)throw new Error("『DOM子要素取得』で親要素がDOMではありません。");return e.querySelector(t)}},"DOM子要素全取得":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)),!e.querySelectorAll)throw new Error("『DOM子要素取得』で親要素がDOMではありません。");return e.querySelectorAll(t)}},"DOMイベント設定":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!1,fn:function(e,t,n,r){"string"==typeof e&&(e=document.querySelector(e)),e[t]=r.__findVar(n,null)},return_none:!0},"DOMテキスト設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!0,fn:function(e,t){"string"==typeof e&&(e=document.querySelector(e));var n=e.tagName.toUpperCase();if("INPUT"===n||"TEXTAREA"===n)e.value=t;else if("SELECT"===n)for(var r=0;r<e.options.length;r++){var o=e.options[r].value;if(String(o)===t){e.selectedIndex=r;break}}else e.innerHTML=t},return_none:!0},"DOMテキスト取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){"string"==typeof e&&(e=document.querySelector(e));var t=e.tagName.toUpperCase();if("INPUT"===t||"TEXTAREA"===t)return e.value;if("SELECT"===t){var n=e.selectedIndex;return n<0?null:e.options[n].value}return e.innerHTML}},"DOM_HTML設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!0,fn:function(e,t){"string"==typeof e&&(e=document.querySelector(e)),e.innerHTML=t},return_none:!0},"DOM_HTML取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){return"string"==typeof e&&(e=document.querySelector(e)),e.innerHTML}},"テキスト設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("DOMテキスト設定",[e,t,n])}},"テキスト取得":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){return t.__exec("DOMテキスト取得",[e,t])}},"HTML設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("DOM_HTML設定",[e,t,n])}},"HTML取得":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){return t.__exec("DOM_HTML取得",[e,t])}},"DOM属性設定":{type:"func",josi:[["の"],["に","へ"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n,r){"string"==typeof e&&(e=document.querySelector(e));var o=r.__v0["DOM和スタイル"];o[t]&&(t=o[t]),e[t]=n},return_none:!0},"DOM属性取得":{type:"func",josi:[["の","から"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){"string"==typeof e&&(e=document.querySelector(e));var r=n.__v0["DOM和スタイル"];return r[t]&&(t=r[t]),e[t]}},"DOM和スタイル":{type:"const",value:{"幅":"width","高さ":"height","高":"height","背景色":"background-color","色":"color","マージン":"margin","余白":"padding","文字サイズ":"font-size","行揃え":"text-align","左":"left","右":"right","中央":"center","ボーダー":"border","ボックス表示":"display","なし":"none","ブロック":"block","表示位置":"float","重なり":"z-index"}},"DOMスタイル設定":{type:"func",josi:[["の"],["に","へ"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n,r){"string"==typeof e&&(e=document.querySelector(e));var o=r.__v0["DOM和スタイル"];void 0!==o[t]&&(t=o[t]),void 0!==o[n]&&(n=o[n]),e.style[t]=n},return_none:!0},"DOMスタイル一括設定":{type:"func",josi:[["に","へ"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){if("string"==typeof e&&(e=document.querySelectorAll(e)),e){e instanceof window.HTMLElement&&(e=[e]);for(var r=n.__v0["DOM和スタイル"],o=0;o<e.length;o++){var i=e[o];for(var u in t){var a=u,c=t[u];void 0!==r[a]&&(a=r[a]),void 0!==r[c]&&(c=r[c]),i.style[a]=c}}}},return_none:!0},"DOMスタイル取得":{type:"func",josi:[["の"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){if("string"==typeof e&&(e=document.querySelector(e)),!e)return"";var r=n.__v0["DOM和スタイル"];return r[t]&&(t=r[t]),e.style[t]}},"DOMスタイル一括取得":{type:"func",josi:[["の"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){var r={};if("string"==typeof e&&(e=document.querySelector(e)),!e)return r;t instanceof String&&(t=[t]);var o=n.__v0["DOM和スタイル"];if(t instanceof Array)return t.forEach((function(t){o[t]&&(t=o[t]),r[t]=e.style[t]})),r;if(t instanceof Object){for(var i in t)o[i]&&(i=o[i]),r[i]=e.style[i];return r}return e.style[t]}},"DOM要素作成":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.createElement(e)}},"DOM子要素追加":{type:"func",josi:[["に","へ"],["を"]],pure:!0,fn:function(e,t){"string"==typeof t&&(t=document.querySelector(t)),"string"==typeof e&&(e=document.querySelector(e)),e.appendChild(t)}},"DOM子要素削除":{type:"func",josi:[["から"],["を"]],pure:!0,fn:function(e,t){"string"==typeof t&&(t=document.querySelector(t)),"string"==typeof e&&(e=document.querySelector(e)),e.removeChild(t)}}}},4402:function(e){e.exports={"対象イベント":{type:"const",value:""},"DOMイベント追加":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!1,fn:function(e,t,n,r){r.__addEvent(e,t,n,null)},return_none:!0},"DOMイベント削除":{type:"func",josi:[["の"],["から"],["を"]],pure:!1,fn:function(e,t,n,r){r.__removeEvent(e,t,n)},return_none:!0},"DOMイベント発火時":{type:"func",josi:[["で"],["の"],["が"]],pure:!0,fn:function(e,t,n,r){r.__addEvent(t,n,e,null)},return_none:!0},"DOMイベント処理停止":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e,t){e.preventDefault()},return_none:!0},"クリック時":{type:"func",josi:[["で"],["を"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"click",e,null)},return_none:!0},"読込時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"load",e,null)},return_none:!0},"フォーム送信時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"submit",e,null)},return_none:!0},"押キー":{type:"const",value:""},"キー押時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"keydown",e,n.__keyHandler)},return_none:!0},"キー離時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"keyup",e,n.__keyHandler)},return_none:!0},"キータイピング時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"keypress",e,n.__keyHandler)},return_none:!0},"マウスX":{type:"const",value:0},"マウスY":{type:"const",value:0},"マウス押時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"mousedown",e,n.__mouseHandler)},return_none:!0},"マウス移動時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"mousemove",e,n.__mouseHandler)},return_none:!0},"マウス離時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"mouseup",e,n.__mouseHandler)},return_none:!0},"タッチX":{type:"const",value:0},"タッチY":{type:"const",value:0},"タッチ配列":{type:"const",value:[]},"タッチイベント計算":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){return t.__touchHandler(e,t)}},"タッチ開始時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchstart",e,n.__touchHandler)},return_none:!0},"タッチ時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchmove",e,n.__touchHandler)},return_none:!0},"タッチ終了時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchend",e,n.__touchHandler)},return_none:!0},"タッチキャンセル時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchcancel",e,n.__touchHandler)},return_none:!0},"画面更新時実行":{type:"func",josi:[["を"]],pure:!1,fn:function(e,t){if(!(e=t.__findVar(e,null)))throw new Error("『画面更新時実行』で関数の取得に失敗しました。");return t.__requestAnimationFrameLastId=window.requestAnimationFrame(e),t.__requestAnimationFrameLastId}},"画面更新処理取消":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){window.cancelAnimationFrame(e),t.__requestAnimationFrameLastId===e&&(t.__requestAnimationFrameLastId=0)},return_none:!0}}},8814:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(4916),n(3123),n(8309),n(4723),n(7042),n(1539),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948),e.exports={"DOM親要素":{type:"const",value:""},"DOM部品個数":{type:"const",value:0},"DOM部品オプション":{type:"const",value:{"自動改行":!1,"テーブル背景色":["#AA4040","#ffffff","#fff0f0"]}},"DOM親要素設定":{type:"func",josi:[["に","へ"]],pure:!1,fn:function(e,t){return"string"==typeof e&&(e=document.querySelector(e)||document.getElementById(e)),t.__v0["DOM親要素"]=e,e}},"DOM親部品設定":{type:"func",josi:[["に","へ"]],pure:!1,fn:function(e,t){return t.__exec("DOM親要素設定",[e,t])}},"DOMスキン":{type:"const",value:""},"DOMスキン辞書":{type:"const",value:{}},"DOMスキン設定":{type:"func",josi:[["を","に","の"]],pure:!1,fn:function(e,t){t.__v0["DOMスキン"]=e},return_none:!0},"DOM部品作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__v0["DOM親要素"],r="string"==typeof e?document.createElement(e):e;r.id="nadesi-dom-"+t.__v0["DOM部品個数"];var o=t.__v0["DOMスキン辞書"][t.__v0["DOMスキン"]];return"function"==typeof o&&o(e,r,t),n.appendChild(r),t.__v0["DOM部品個数"]++,t.__v0["DOM部品オプション"]["自動改行"]&&n.appendChild(document.createElement("br")),r}},"ボタン作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["button",t]);return n.innerHTML=e,n}},"エディタ作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["input",t]);return n.type="text",n.value=e,n}},"テキストエリア作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["textarea",t]);return n.value=e,n}},"ラベル作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["span",t]);return n.innerHTML=e,n}},"キャンバス作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["canvas",t]);return n.width=e[0],n.height=e[1],n.style.width=e[0],n.style.height=e[1],t.__exec("描画開始",[n,t]),n}},"画像作成":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["img",t]);return n.src=e,n}},"改行作成":{type:"func",josi:[],pure:!1,fn:function(e){return e.__exec("DOM部品作成",["br",e])}},"チェックボックス作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=document.createElement("span"),r=document.createElement("input");r.type="checkbox",r.id="nadesi-dom-"+t.__v0["DOM部品個数"],t.__v0["DOM部品個数"]++;var o=document.createElement("label");return o.innerHTML=e,o.htmlFor=r.id,n.appendChild(r),n.appendChild(o),t.__exec("DOM部品作成",[n,t]),r}},"セレクトボックス作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){for(var n=document.createElement("select"),r=0;r<e.length;r++){var o=document.createElement("option");o.value=e[r],o.appendChild(document.createTextNode(e[r])),n.appendChild(o)}t.__exec("DOM部品作成",[n,t]);return n}},"色選択ボックス作成":{type:"func",josi:[],pure:!1,fn:function(e){var t=e.__exec("DOM部品作成",["input",e]);return t.type="color",t}},"日付選択ボックス作成":{type:"func",josi:[],pure:!1,fn:function(e){var t=e.__exec("DOM部品作成",["input",e]);return t.type="date",t}},"パスワード入力エディタ作成":{type:"func",josi:[["の","で"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["input",t]);return n.type="password",n.value=e,n}},"値指定バー作成":{type:"func",josi:[["の","で"]],pure:!1,fn:function(e,t){e instanceof Array&&!(e.length<2)||(e=[0,100,50]),e.length<=2&&e.push(Math.floor((e[1]-e[0])/2));var n=t.__exec("DOM部品作成",["input",t]);return n.type="range",n.min=e[0],n.max=e[1],n.value=e[2],n}},"送信ボタン作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["input",t]);return n.type="submit",n.value=e,n}},"フォーム作成":{type:"func",josi:[["で","の"],["を"]],pure:!1,fn:function(e,t,n){var o=n.__exec("DOM部品作成",["form",n]);if(e instanceof Object)for(var i in e)o[i]&&(o[i]=e[i]);var u=t.split("\n"),a=document.createElement("table");for(var c in u){var s=""+u[c];if(""!==s){s.indexOf("=")<0&&(s+="=");var f=s.split("="),l=f[0],p=f[1],h=document.createElement("th");h.innerHTML=n.__tohtmlQ(l);var d=document.createElement("td");if("?("===p.substring(0,2)){var y=(p.substring(2)+")").split(")"),v=y[0],g=y[1],_=v.split("|"),m=document.createElement("select");m.name=l;var b,w=r(_);try{for(w.s();!(b=w.n()).done;){var k=b.value,x=document.createElement("option");x.value=k,x.text=k,m.appendChild(x)}}catch(e){w.e(e)}finally{w.f()}var j=_.indexOf(g);j>=0&&(m.selectedIndex=j),d.appendChild(m)}else{var S=document.createElement("input");d.appendChild(S),S.id="nako3form_"+l,"?送信"===p||"?submit"===p?(S.type="submit",S.value=p.substring(1),""!=l&&(S.name=l)):"?c"===p.substring(0,2)?(S.type="color",S.value=p.substring(2),S.name=l):(S.type="text",S.value=p,S.name=l)}var O=document.createElement("tr");O.appendChild(h),O.appendChild(d),a.appendChild(O)}}return o.appendChild(a),o}},"フォーム入力一括取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){"string"==typeof e&&(e=document.querySelector(e));var t={};return function e(n){if(n&&n.childNodes)for(var r=0;r<n.childNodes.length;r++){var o=n.childNodes[r];if(!o.tagName)return;var i=o.tagName.toLowerCase();if("input"!==i)"textarea"===i?t[o.name]=o.value:"select"===i&&(o.selectedIndex>=0?t[o.name]=o.options[o.selectedIndex].value:t[o.name]=""),e(o);else{if("checkbox"===o.type){t[o.name]=o.checked?o.value:"";continue}t[o.name]=o.value}}}(e),t}},"テーブル作成":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){if("string"==typeof e){var n,o=[],i=r(e.split("\n"));try{for(i.s();!(n=i.n()).done;){var u=n.value;o.push(u.split(","))}}catch(e){i.e(e)}finally{i.f()}e=o}for(var a=JSON.parse(JSON.stringify(t.__v0["DOM部品オプション"]["テーブル背景色"])),c=0;c<3;c++)a.push("");var s=a.shift(),f=t.__exec("DOM部品作成",["table",t]);for(var l in e){var p,h=e[l],d=document.createElement("tr"),y=r(h);try{for(y.s();!(p=y.n()).done;){var v=p.value;v=""+v;var g=document.createElement(0==l?"th":"td");g.innerHTML=t.__tohtml(v),""!=s&&(g.style.backgroundColor=0==l?s:a[l%2],g.style.color=0==l?"white":"black"),v.match(/^\d+$/)&&(g.style.textAlign="right"),d.appendChild(g)}}catch(e){y.e(e)}finally{y.f()}f.appendChild(d)}return t.__exec("DOM親要素設定",[f,t]),f}}}},9497:function(e){e.exports={"位置情報取得時":{type:"func",josi:[["の","に","へ"]],pure:!1,fn:function(e,t){var n=e;if("string"==typeof n&&(n=t.__findVar(n)),!("geolocation"in navigator))throw new Error("関数『位置情報取得時』は使えません。");navigator.geolocation.getCurrentPosition((function(e){t.__v0["対象"]=[e.coords.latitude,e.coords.longitude],n(e)}))},return_none:!0},"位置情報監視時":{type:"func",josi:[["の","に","へ"]],pure:!1,fn:function(e,t){var n=e;if("string"==typeof n&&(n=t.__findVar(n)),!("geolocation"in navigator))throw new Error("関数『位置情報監視時』は使えません。");return navigator.geolocation.watchPosition((function(e){t.__v0["対象"]=[e.coords.latitude,e.coords.longitude],n(e)}))},return_none:!1},"位置情報監視停止":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){navigator.geolocation.clearWatch(e)},return_none:!0}}},7981:function(e,t,n){var r=n(3812);e.exports={"ホットキー登録":{type:"func",josi:[["に","で"],["を"]],pure:!0,fn:function(e,t,n){r(e,(function(e,r){e.preventDefault(),n.__v1[t]()}))}},"ホットキー解除":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){r.unbind(e)}}}},8698:function(e,t,n){n(4916),n(5306),e.exports={"HTML変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return String(e).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}},"クリップボード設定":{type:"func",josi:[["を"]],pure:!0,fn:function(e){if(navigator.clipboard)navigator.clipboard.writeText(e);else{var t=document.createElement("div"),n=document.createElement("pre");n.style.webkitUserSelect="auto",n.style.userSelect="auto",t.appendChild(n).textContent=e,t.style.position="fixed",t.right="200%",document.body.appendChild(t),document.getSelection().selectAllChildren(t),document.execCommand("copy"),document.body.removeChild(t)}},return_none:!0},"クリップボード取得時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!navigator.clipboard)throw new Error("Clipbard APIが利用できません。");"string"==typeof e&&(e=t.__findFunc(e,"クリップボード取得時")),navigator.clipboard.readText().then((function(n){t.__v0["対象"]=n,e(t)}))}}}},9739:function(e){e.exports={"ブラウザ移動":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){window.location.href=e}},"ブラウザ戻":{type:"func",josi:[],pure:!0,fn:function(){window.history.back(-1)}},"ブラウザURL":{type:"const",value:""}}},580:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(8309),n(7042),n(1539),n(1038),n(8783),n(4916),n(2526),n(1817),n(2165),n(6992),n(3948),e.exports={"話":{type:"func",josi:[["と","を","の"]],pure:!1,fn:function(e,t){var n=t.__v0["話:話者"];n||(n=t.__exec("話者設定",["ja",t]));var r=new SpeechSynthesisUtterance(e);return r.voice=n,n&&(r.lang=n.lang),r.rate=t.__v0["話者速度"],r.pitch=t.__v0["話者声高"],r.volume=t.__v0["話者音量"],window.speechSynthesis.speak(r),console.log("#話す:",e),e}},"話終時":{type:"func",josi:[["で"],["と","を","の"]],pure:!1,fn:function(e,t,n){var r=n.__v0["話:話者"];r||(r=n.__exec("話者設定",["ja",n]));var o=new SpeechSynthesisUtterance(t);return o.voice=r,r&&(o.lang=r.lang),o.rate=n.__v0["話者速度"],o.pitch=n.__v0["話者声高"],o.volume=n.__v0["話者音量"],o.onend=function(t){console.log("#話終時"),n.__v0["対象イベント"]=t,e(n)},window.speechSynthesis.speak(o),console.log("#話す:",t),t}},"話者一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){if(!("SpeechSynthesisUtterance"in window))throw new Error("音声合成APIに対応していません");return window.speechSynthesis.getVoices()}},"話者設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!("SpeechSynthesisUtterance"in window))throw new Error("音声合成APIに対応していません");if("string"==typeof e){var n,i=o(window.speechSynthesis.getVoices());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(u.lang.indexOf(e)>=0||u.name===e){var a=new SpeechSynthesisUtterance;return a.voice=u,a.lang=u.lang,t.__v0["話:話者"]=u,console.log("#話者:",u.name),u}}}catch(e){i.e(e)}finally{i.f()}}if("object"===r(e))return t.__v0["話:話者"]=e,e}},"話者速度":{type:"const",value:1},"話者声高":{type:"const",value:1},"話者音量":{type:"const",value:1},"話者詳細設定":{type:"func",josi:[["で","に","へ"]],pure:!0,fn:function(e,t){var n=function(e,n){"速度"===e&&(t.__v0["話者速度"]=n),"声高"!==e&&"ピッチ"!==e||(t.__v0["話者声高"]=n),"音量"===e&&(t.__v0["話者音量"]=n)};for(var r in e){n(r,e[r])}}}}},615:function(e){e.exports={"保存":{type:"func",josi:[["を"],["に","へ"]],pure:!1,fn:function(e,t,n){n.__exec("ローカルストレージ保存",[e,t,n])},return_none:!0},"開":{type:"func",josi:[["を","から","の"]],pure:!1,fn:function(e,t){return t.__exec("ローカルストレージ読",[e,t])},return_none:!1},"読":{type:"func",josi:[["を","から","の"]],pure:!1,fn:function(e,t){return t.__exec("ローカルストレージ読",[e,t])},return_none:!1},"存在":{type:"func",josi:[["が"]],pure:!0,fn:function(e){return null!==window.localStorage.getItem(e)},return_none:!1},"ローカルストレージ保存":{type:"func",josi:[["を"],["に","へ"]],pure:!0,fn:function(e,t,n){var r=e;n.__v0["保存オプション"]&&n.__v0["保存オプション"].indexOf("json")>=0&&(r=JSON.stringify(r)),window.localStorage[t]=r},return_none:!0},"ローカルストレージ読":{type:"func",josi:[["を","から","の"]],pure:!0,fn:function(e,t){var n=window.localStorage[e];if(t.__v0["保存オプション"]&&t.__v0["保存オプション"].indexOf("json")>=0)try{return JSON.parse(n)}catch(t){console.log("ローカルストレージ『"+e+"』の読み込みに失敗")}return n},return_none:!1},"ローカルストレージキー列挙":{type:"func",josi:[[]],pure:!0,fn:function(e){var t=[];for(var n in window.localStorage)t.push(n);return t},return_none:!1},"ローカルストレージキー削除":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){window.localStorage.removeItem(e)},return_none:!0},"ローカルストレージ全削除":{type:"func",josi:[],pure:!0,fn:function(){window.localStorage.clear()},return_none:!0},"ローカルストレージ有効確認":{type:"func",josi:[],pure:!0,fn:function(){return void 0!==window.localStorage},return_none:!1},"保存オプション":{type:"const",value:"json"},"保存オプション設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){e=e.toUpperCase(e),t.__v0["保存オプション"]=e},return_none:!0}}},7880:function(e){e.exports={"終":{type:"func",josi:[],pure:!0,fn:function(){throw new Error("__終わる__")},return_none:!0},"OS取得":{type:"func",josi:[],pure:!0,fn:function(){var e=window.navigator.userAgent.toLowerCase();return-1!==e.indexOf("windows")?"windows":-1!==e.indexOf("android")?"android":-1!==e.indexOf("iphone")?"iphone":-1!==e.indexOf("ipad")?"ipad":-1!==e.indexOf("mac os x")||-1!==e.indexOf("macintosh")?"darwin":-1!==e.indexOf("cros")?"chromeos":-1!==e.indexOf("ubuntu")?"ubuntu":-1!==e.indexOf("linux")?"linux":"unknown"}}}},4323:function(e){e.exports={"WS接続完了時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){t.__v0["WS:ONOPEN"]=e},return_none:!0},"WS受信時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){t.__v0["WS:ONMESSAGE"]=e},return_none:!0},"WSエラー発生時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){t.__v0["WS:ONERROR"]=e},return_none:!0},"WS接続":{type:"func",josi:[["に","へ","の"]],pure:!0,fn:function(e,t){var n=new WebSocket(e);return n.onopen=function(){var e=t.__v0["WS:ONOPEN"];e&&e(t)},n.onerror=function(e){var n=t.__v0["WS:ONERROR"];n&&n(e,t),console.log("WSエラー",e)},n.onmessage=function(e){t.__v0["対象"]=e.data;var n=t.__v0["WS:ONMESSAGE"];n&&n(t)},t.__v0["WS:SOCKET"]=n,n}},"WS送信":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){t.__v0["WS:SOCKET"].send(e)}},"WS切断":{type:"func",josi:[],pure:!0,fn:function(e){e.__v0["WS:SOCKET"].close()}}}},6655:function(e,t,n){n(5438),n(3689);var r={"初期化":{type:"func",josi:[],pure:!0,fn:function(e){}},SIN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.sin(e)}},COS:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.cos(e)}},TAN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.tan(e)}},ARCSIN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.asin(e)}},ARCCOS:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.acos(e)}},ARCTAN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.atan(e)}},ATAN2:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return Math.atan2(e,t)}},"座標角度計算":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return 180*Math.atan2(e[1],e[0])/Math.PI}},RAD2DEG:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/Math.PI*180}},DEG2RAD:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/180*Math.PI}},"度変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/Math.PI*180}},"ラジアン変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/180*Math.PI}},SIGN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return 0===parseFloat(e)?0:e>0?1:-1}},"符号":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__exec("SIGN",[e])}},ABS:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.abs(e)}},"絶対値":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.abs(e)}},EXP:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.exp(e)}},HYPOT:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return Math.hypot(e,t)}},"斜辺":{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return Math.hypot(e,t)}},LN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.log(e)}},LOG:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.log(e)}},LOGN:{type:"func",josi:[["で"],["の"]],pure:!0,fn:function(e,t){return 2===e?Math.LOG2E*Math.log(t):10===e?Math.LOG10E*Math.log(t):Math.log(t)/Math.log(e)}},FRAC:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e%1}},"小数部分":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e%1}},"整数部分":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.trunc(e)}},"乱数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.floor(Math.random()*e)}},"乱数範囲":{type:"func",josi:[["から"],["までの","の"]],pure:!0,fn:function(e,t){return Math.floor(Math.random()*(t-e+1))+e}},SQRT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.sqrt(e)}},"平方根":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.sqrt(e)}},ROUND:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.round(e)}},"四捨五入":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return Math.round(e)}},"小数点切上":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=Math.pow(10,t);return Math.ceil(e*n)/n}},"小数点切下":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=Math.pow(10,t);return Math.floor(e*n)/n}},"小数点四捨五入":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}},CEIL:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.ceil(e)}},"切上":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.ceil(e)}},FLOOR:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.floor(e)}},"切捨":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.floor(e)}}};e.exports=r},8891:function(e,t,n){n(1539),n(8674),n(7727),n(6992),n(8783),n(3948);var r={"初期化":{type:"func",josi:[],pure:!0,fn:function(e){null==e.__promise&&(e.__promise={setLastPromise:function(t){return e.__v0["そ"]=t,t}})}},"そ":{type:"const",value:""},"動時":{type:"func",josi:[["を","で"]],pure:!0,fn:function(e,t){return t.__promise.setLastPromise(new Promise((function(t,n){return e(t,n)})))},return_none:!1},"成功時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.then((function(t){return n.__v0["対象"]=t,e(t)})))},return_none:!1},"処理時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.then((function(t){return n.__v0["対象"]=t,e(!0,t,n)}),(function(t){return n.__v0["対象"]=t,e(!1,t,n)})))},return_none:!1},"失敗時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.catch((function(t){return n.__v0["対象"]=t,e(t)})))},return_none:!1},"終了時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.finally((function(){return e()})))},return_none:!1},"束":{type:"func",josi:[["と","を"]],pure:!0,fn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop();return r.__promise.setLastPromise(Promise.all(t))},return_none:!1}};e.exports=r},9361:function(module,__unused_webpack_exports,__webpack_require__){function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}__webpack_require__(4916),__webpack_require__(4723),__webpack_require__(5306),__webpack_require__(3123),__webpack_require__(2222),__webpack_require__(9600),__webpack_require__(1539),__webpack_require__(9714),__webpack_require__(1038),__webpack_require__(8783),__webpack_require__(4953),__webpack_require__(9841),__webpack_require__(1249),__webpack_require__(4603),__webpack_require__(7941),__webpack_require__(561),__webpack_require__(2707),__webpack_require__(4747),__webpack_require__(7327),__webpack_require__(7042),__webpack_require__(6992),__webpack_require__(2472),__webpack_require__(2990),__webpack_require__(8927),__webpack_require__(3105),__webpack_require__(5035),__webpack_require__(4345),__webpack_require__(7174),__webpack_require__(2846),__webpack_require__(4731),__webpack_require__(7209),__webpack_require__(6319),__webpack_require__(8867),__webpack_require__(7789),__webpack_require__(3739),__webpack_require__(9368),__webpack_require__(4483),__webpack_require__(2056),__webpack_require__(3462),__webpack_require__(678),__webpack_require__(7462),__webpack_require__(3824),__webpack_require__(5021),__webpack_require__(2974),__webpack_require__(5016),__webpack_require__(2526),__webpack_require__(1817),__webpack_require__(2165),__webpack_require__(3948),__webpack_require__(8309);var _require=__webpack_require__(7597),NakoRuntimeError=_require.NakoRuntimeError,NakoVersion=__webpack_require__(7785),PluginSystem={meta:{type:"const",value:{pluginName:"plugin_system",pluginVersion:"3.2.24",nakoRuntime:["wnako","cnako","phpnako"],nakoVersion:"^3.2.24"}},"初期化":{type:"func",josi:[],pure:!1,fn:function(e){e.__v0["ナデシコバージョン"]=void 0===NakoVersion?"?":NakoVersion.version,e.__findVar=function(t,n){if("function"==typeof t)return t;if(e.__locals[t])return e.__locals[t];for(var r=2;r>=0;r--){var o=e.__varslist[r];if(o[t])return o[t]}return n},e.__findFunc=function(t,n){var r=e.__findVar(t);if("function"==typeof r)return r;throw new Error("『".concat(n,"』に実行できない関数が指定されました。"))},e.__exec=function(t,n){var r=e.__v0[t];if(r)return r.apply(this,n);var o=e.__findVar(t);if(!o)throw new Error("システム関数でエイリアスの指定ミス:"+t);return o.apply(this,n)},e.__timeout=[],e.__interval=[];var t=e.__zero2=function(e){return(e="00"+e).substring(e.length-2)};e.__zero=function(e,t){for(var n="",r=0;r<t;r++)n+="0";return(e=n+e).substring(e.length-t)},e.__formatDate=function(e){return e.getFullYear()+"/"+t(e.getMonth()+1)+"/"+t(e.getDate())},e.__formatTime=function(e){return t(e.getHours())+":"+t(e.getSeconds())+":"+t(e.getMinutes())},e.__formatDateTime=function(e,n){var r=e.getFullYear()+"/"+t(e.getMonth()+1)+"/"+t(e.getDate()),o=t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds());return n.match(/^\d+\/\d+\/\d+\s+\d+:\d+:\d+$/)?r+" "+o:n.match(/^\d+\/\d+\/\d+$/)?r:n.match(/^\d+:\d+:\d+$/)?o:r+" "+o},e.__str2date=function(e){if((e=(""+e).replace(/(^\s+|\s+$)/,"")).match(/^(\d+|\d+\.\d+)$/))return new Date(1e3*parseFloat(e));if(e.match(/^\d+\:\d+(\:\d+)?$/)){var n=new Date,r=(e+":0").split(":");return new Date("".concat(n.getFullYear(),"-").concat(n.getMonth()+1,"-").concat(n.getDate()," ").concat(r[0],":").concat(r[1],":").concat(r[2]))}e=e.replace(/[\-\s\:]/g,"/");var o=(e+="/0/0/0").split("/"),i="".concat(o[0],"-").concat(o[1],"-").concat(o[2]," ").concat(t(o[3]),":").concat(t(o[4]),":").concat(t(o[5]));return new Date(i)},e.__printPool=""}},"!クリア":{type:"func",josi:[],pure:!1,fn:function(e){e.__exec("全タイマー停止",[e]),"非同期モード"===e.__genMode&&e.__stopAsync(e)}},"ナデシコバージョン":{type:"const",value:"?"},"ナデシコエンジン":{type:"const",value:"nadesi.com/v3"},"ナデシコ種類":{type:"const",value:"wnako3/cnako3"},"はい":{type:"const",value:1},"いいえ":{type:"const",value:0},"真":{type:"const",value:1},"偽":{type:"const",value:0},"永遠":{type:"const",value:1},"オン":{type:"const",value:1},"オフ":{type:"const",value:0},"改行":{type:"const",value:"\n"},"タブ":{type:"const",value:"\t"},"カッコ":{type:"const",value:"「"},"カッコ閉":{type:"const",value:"」"},"波カッコ":{type:"const",value:"{"},"波カッコ閉":{type:"const",value:"}"},OK:{type:"const",value:!0},NG:{type:"const",value:!1},"キャンセル":{type:"const",value:0},PI:{type:"const",value:Math.PI},"空":{type:"const",value:""},NULL:{type:"const",value:null},undefined:{type:"const",value:void 0},"未定義":{type:"const",value:void 0},"エラーメッセージ":{type:"const",value:""},"対象":{type:"const",value:""},"対象キー":{type:"const",value:""},"回数":{type:"const",value:""},CR:{type:"const",value:"\r"},LF:{type:"const",value:"\n"},"非数":{type:"const",value:NaN},"無限大":{type:"const",value:1/0},"空配列":{type:"func",josi:[],pure:!0,fn:function(e){return[]}},"空辞書":{type:"func",josi:[],pure:!0,fn:function(e){return{}}},"空ハッシュ":{type:"func",josi:[],pure:!0,fn:function(e){return{}}},"空オブジェクト":{type:"func",josi:[],pure:!1,fn:function(e){return e.__exec("空ハッシュ",[e])}},"表示":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){e=t.__printPool+e,t.__printPool="",t.__varslist[0]["表示ログ"]+=e+"\n",t.logger.send("stdout",e+"")},return_none:!0},"継続表示":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){t.__printPool+=e},return_none:!0},"連続表示":{type:"func",josi:[["と","を"]],isVariableJosi:!0,pure:!0,fn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),o=t.join("");r.__exec("表示",[o,r])},return_none:!0},"連続無改行表示":{type:"func",josi:[["と","を"]],isVariableJosi:!0,pure:!0,fn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),o=t.join("");r.__exec("継続表示",[o,r])},return_none:!0},"表示ログ":{type:"const",value:""},"表示ログクリア":{type:"func",josi:[],pure:!0,fn:function(e){e.__varslist[0]["表示ログ"]=""},return_none:!0},"言":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){t.logger.send("stdout",e+"")},return_none:!0},"コンソール表示":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){console.log(e)},return_none:!0},"足":{type:"func",josi:[["に","と"],["を"]],isVariableJosi:!1,pure:!0,fn:function(e,t){return e+t}},"引":{type:"func",josi:[["から"],["を"]],pure:!0,fn:function(e,t){return e-t}},"掛":{type:"func",josi:[["に","と"],["を"]],pure:!0,fn:function(e,t){return e*t}},"倍":{type:"func",josi:[["の"],[""]],pure:!0,fn:function(e,t){return e*t}},"割":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e/t}},"割余":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e%t}},"偶数":{type:"func",josi:[["が"]],pure:!0,fn:function(e){return e%2==0}},"奇数":{type:"func",josi:[["が"]],pure:!0,fn:function(e){return e%2==1}},"二乗":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return e*e}},"べき乗":{type:"func",josi:[["の"],["の"]],pure:!0,fn:function(e,t){return Math.pow(e,t)}},"以上":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e>=t}},"以下":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e<=t}},"未満":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e<t}},"超":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e>t}},"等":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return e===t}},"等無":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return e!==t}},"一致":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return"object"===_typeof(e)?JSON.stringify(e)===JSON.stringify(t):e===t}},"不一致":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return"object"===_typeof(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t}},"範囲内":{type:"func",josi:[["が"],["から"],["の"]],pure:!0,fn:function(e,t,n){return t<=e&&e<=n}},"連続加算":{type:"func",josi:[["を"],["に","と"]],isVariableJosi:!0,pure:!0,fn:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.pop(),n.push(e),n.reduce((function(e,t){return e+t}))}},"ください":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu||(e.__reisetu=0),e.__reisetu++},return_none:!0},"お願":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu||(e.__reisetu=0),e.__reisetu++},return_none:!0},"です":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu||(e.__reisetu=0),e.__reisetu++},return_none:!0},"拝啓":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu=0},return_none:!0},"礼節レベル取得":{type:"func",josi:[],pure:!0,fn:function(e){return e.__reisetu||(e.__reisetu=0),e.__reisetu}},"JS実行":{type:"func",josi:[["を","で"]],pure:!0,fn:function fn(src,sys){return eval(src)}},"JSオブジェクト取得":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__findVar(e,null)}},"JS関数実行":{type:"func",josi:[["を"],["で"]],fn:function fn(name,args,sys){if("string"==typeof name&&(name=eval(name)),"function"!=typeof name)throw new Error("JS関数取得で実行できません。");return args instanceof Array||(args=[args]),name.apply(null,args)}},"JSメソッド実行":{type:"func",josi:[["の"],["を"],["で"]],fn:function fn(obj,m,args,sys){if("string"==typeof obj&&(obj=eval(obj)),"object"!==_typeof(obj))throw new Error("JSオブジェクトを取得できませんでした。");return"function"!=typeof m&&(m=obj[m]),args instanceof Array||(args=[args]),m.apply(obj,args)}},"ナデシコ":{type:"func",josi:[["を","で"]],pure:!1,fn:function(e,t){if("非同期モード"===t.__genMode)throw new Error("非同期モードでは「ナデシコ」は利用できません。");t.__varslist[0]["表示ログ"]="",t.__self.runEx(e,"immediate-code.nako3",{resetEnv:!1,resetLog:!0});var n=t.__varslist[0]["表示ログ"]+"";return n&&t.logger.send("stdout",n),n}},"ナデシコ続":{type:"func",josi:[["を","で"]],fn:function(e,t){if("非同期モード"===t.__genMode)throw new Error("非同期モードでは「ナデシコ続」は利用できません。");t.__self.runEx(e,"immediate-code.nako3",{resetEnv:!1,resetLog:!1});var n=t.__varslist[0]["表示ログ"]+"";return n&&t.logger.send("stdout",n),n}},"実行":{type:"func",josi:[["を","に","で"]],pure:!1,fn:function(e,t){if("function"==typeof e)return e(t);if("string"==typeof e){var n=t.__findFunc(e,"実行");if("function"==typeof n)return n(t)}return e}},"実行時間計測":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){if("string"==typeof e&&(e=t.__findFunc(e,"実行時間計測")),performance&&performance.now){var n=performance.now();return e(t),performance.now()-n}var r=Date.now();return e(t),Date.now()-r}},"変数型確認":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return _typeof(e)}},TYPEOF:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return _typeof(e)}},"文字列変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return String(e)}},TOSTR:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return String(e)}},"整数変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseInt(e)}},TOINT:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseInt(e)}},"実数変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseFloat(e)}},TOFLOAT:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseFloat(e)}},INT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return parseInt(e)}},FLOAT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return parseFloat(e)}},"NAN判定":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return isNaN(e)}},HEX:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return parseInt(e).toString(16)}},"進数変換":{type:"func",josi:[["を","の"],[""]],pure:!0,fn:function(e,t){return parseInt(e).toString(t)}},"二進":{type:"func",josi:[["を","の","から"]],pure:!0,fn:function(e){return parseInt(e).toString(2)}},"二進表示":{type:"func",josi:[["を","の","から"]],pure:!0,fn:function(e,t){var n=parseInt(e).toString(2);t.__exec("表示",[n,t])}},RGB:{type:"func",josi:[["と"],["の"],["で"]],pure:!0,fn:function(e,t,n){var r=function(e){var t="00"+parseInt(e).toString(16);return t.substr(t.length-2,2)};return"#"+r(e)+r(t)+r(n)}},"論理OR":{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e||t}},"論理AND":{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e&&t}},"論理NOT":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e?0:1}},OR:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e|t}},AND:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e&t}},XOR:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e^t}},NOT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return~e}},SHIFT_L:{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e<<t}},SHIFT_R:{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e>>t}},SHIFT_UR:{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e>>>t}},"文字数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Array.from?Array.from(e).length:String(e).length}},"何文字目":{type:"func",josi:[["で","の"],["が"]],pure:!0,fn:function(e,t){return String(e).indexOf(t)+1}},CHR:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return String.fromCodePoint?String.fromCodePoint(e):String.fromCharCode(e)}},ASC:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return String.prototype.codePointAt?String(e).codePointAt(0):String(e).charCodeAt(0)}},"文字挿入":{type:"func",josi:[["で","の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){t<=0&&(t=1);var r=String(e);return r.substr(0,t-1)+n+r.substr(t-1)}},"文字検索":{type:"func",josi:[["で","の"],["から"],["を"]],pure:!0,fn:function(e,t,n){var r=String(e),o=(r=r.substr(t)).indexOf(n);return-1===o?0:o+1+t}},"追加":{type:"func",josi:[["で","に","へ"],["を"]],pure:!0,fn:function(e,t){return String(e)+String(t)}},"一行追加":{type:"func",josi:[["で","に","へ"],["を"]],pure:!0,fn:function(e,t){return String(e)+String(t)+"\n"}},"文字列分解":{type:"func",josi:[["を","の","で"]],pure:!0,fn:function(e){return Array.from?Array.from(e):String(e).split("")}},"リフレイン":{type:"func",josi:[["を","の"],["で"]],pure:!0,fn:function(e,t){for(var n="",r=0;r<t;r++)n+=String(e);return n}},"出現回数":{type:"func",josi:[["で"],["の"]],pure:!0,fn:function(e,t){return(e=""+e).split(t=""+t).length-1}},MID:{type:"func",josi:[["で","の"],["から"],["を"]],pure:!0,fn:function(e,t,n){return n=n||void 0,String(e).substr(t-1,n)}},"文字抜出":{type:"func",josi:[["で","の"],["から"],["を",""]],pure:!0,fn:function(e,t,n){return n=n||void 0,String(e).substr(t-1,n)}},LEFT:{type:"func",josi:[["の","で"],["だけ"]],pure:!0,fn:function(e,t){return String(e).substr(0,t)}},"文字左部分":{type:"func",josi:[["の","で"],["だけ",""]],pure:!0,fn:function(e,t){return String(e).substr(0,t)}},RIGHT:{type:"func",josi:[["の","で"],["だけ"]],pure:!0,fn:function(e,t){return(e=""+e).substr(e.length-t,t)}},"文字右部分":{type:"func",josi:[["の","で"],["だけ",""]],pure:!0,fn:function(e,t){return(e=""+e).substr(e.length-t,t)}},"区切":{type:"func",josi:[["の","を"],["で"]],pure:!0,fn:function(e,t){return(""+e).split(""+t)}},"文字列分割":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=(e=""+e).indexOf(t=""+t);return n<0?[e]:[e.substr(0,n),e.substr(n+t.length)]}},"切取":{type:"func",josi:[["から","の"],["まで","を"]],pure:!0,fn:function(e,t,n){var r=(e=String(e)).indexOf(t);return r<0?(n.__v0["対象"]="",e):(n.__v0["対象"]=e.substr(r+t.length),e.substr(0,r))}},"文字削除":{type:"func",josi:[["の"],["から"],["だけ","を",""]],pure:!0,fn:function(e,t,n){return(e=""+e).substr(0,t-1)+e.substr(t-1+n)}},"置換":{type:"func",josi:[["の","で"],["を","から"],["に","へ"]],pure:!0,fn:function(e,t,n){return String(e).split(t).join(n)}},"単置換":{type:"func",josi:[["の","で"],["を"],["に","へ"]],pure:!0,fn:function(e,t,n){return String(e).replace(t,n)}},"トリム":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return e=String(e).replace(/^\s+/,"").replace(/\s+$/,"")}},"空白除去":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return e=String(e).replace(/^\s+/,"").replace(/\s+$/,"")}},"大文字変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).toUpperCase()}},"小文字変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).toLowerCase()}},"平仮名変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\u30a1-\u30f6]/g,(function(e){var t=e.charCodeAt(0)-96;return String.fromCharCode(t)}))}},"カタカナ変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\u3041-\u3096]/g,(function(e){var t=e.charCodeAt(0)+96;return String.fromCharCode(t)}))}},"英数全角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[A-Za-z0-9]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65248)}))}},"英数半角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[A-Za-z0-9]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))}},"英数記号全角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\x20-\x7F]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65248)}))}},"英数記号半角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\uFF00-\uFF5F]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))}},"カタカナ全角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){for(var n=t.__v0["全角カナ一覧"],r=t.__v0["半角カナ一覧"],o=t.__v0["全角カナ濁音一覧"],i=t.__v0["半角カナ濁音一覧"],u="",a=0;a<e.length;){var c=e.substr(a,2),s=i.indexOf(c);if(s>=0)u+=o.charAt(s/2),a+=2;else{var f=e.charAt(a),l=r.indexOf(f);l>=0?(u+=n.charAt(l),a++):(u+=f,a++)}}return u}},"カタカナ半角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){var n=t.__v0["全角カナ一覧"],r=t.__v0["半角カナ一覧"],o=t.__v0["全角カナ濁音一覧"],i=t.__v0["半角カナ濁音一覧"];return e.split("").map((function(e){var t=n.indexOf(e);if(t>=0)return r.charAt(t);var u=o.indexOf(e);return u>=0?i.substr(2*u,2):e})).join("")}},"全角変換":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){var n=e;return n=t.__exec("カタカナ全角変換",[n,t]),n=t.__exec("英数記号全角変換",[n,t])}},"半角変換":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){var n=e;return n=t.__exec("カタカナ半角変換",[n,t]),n=t.__exec("英数記号半角変換",[n,t])}},"全角カナ一覧":{type:"const",value:"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンァィゥェォャュョッ、。ー「」"},"全角カナ濁音一覧":{type:"const",value:"ガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ"},"半角カナ一覧":{type:"const",value:"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンァィゥェォャュョッ、。ー「」゙゚"},"半角カナ濁音一覧":{type:"const",value:"ガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ"},"JSONエンコード":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return JSON.stringify(e)}},"JSONエンコード整形":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return JSON.stringify(e,null,2)}},"JSONデコード":{type:"func",josi:[["を","の","から"]],pure:!0,fn:function(e){return JSON.parse(e)}},"正規表現マッチ":{type:"func",josi:[["を","が"],["で","に"]],pure:!0,fn:function(e,t,n){var r,o=t.match(/^\/(.+)\/([a-zA-Z]*)$/);r=null===o?new RegExp(t,"g"):new RegExp(o[1],o[2]);var i=n.__varslist[0]["抽出文字列"]=[],u=String(e).match(r),a=u;if(r.global);else if(u&&u.length>0){a=u[0];for(var c=1;c<u.length;c++)i[c-1]=u[c]}return a}},"抽出文字列":{type:"const",value:[]},"正規表現置換":{type:"func",josi:[["の"],["を","から"],["で","に","へ"]],pure:!0,fn:function(e,t,n){var r,o=t.match(/^\/(.+)\/([a-zA-Z]*)/);return r=null===o?new RegExp(t,"g"):new RegExp(o[1],o[2]),String(e).replace(r,n)}},"正規表現区切":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n,r=t.match(/^\/(.+)\/([a-zA-Z]*)/);return n=null===r?new RegExp(t,"g"):new RegExp(r[1],r[2]),String(e).split(n)}},"通貨形式":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return String(e).replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")}},"ゼロ埋":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){e=String(e);for(var n="0",r=0;r<t;r++)n+="0";(t=parseInt(t))<e.length&&(t=e.length);var o=n+String(e);return o.substr(o.length-t,t)}},"空白埋":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){e=String(e);for(var n=" ",r=0;r<t;r++)n+=" ";(t=parseInt(t))<e.length&&(t=e.length);var o=n+String(e);return o.substr(o.length-t,t)}},"かなか判定":{type:"func",josi:[["を","の","が"]],pure:!0,fn:function(e){var t=String(e).charCodeAt(0);return t>=12353&&t<=12447}},"カタカナ判定":{type:"func",josi:[["を","の","が"]],pure:!0,fn:function(e){var t=String(e).charCodeAt(0);return t>=12449&&t<=12538}},"数字判定":{type:"func",josi:[["を","が"]],pure:!0,fn:function(e){var t=String(e).charAt(0);return t>="0"&&t<="9"||t>="0"&&t<="9"}},"数列判定":{type:"func",josi:[["を","が"]],pure:!0,fn:function(e){return null!==String(e).match(/^[0-9.]+$/)}},"配列結合":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e instanceof Array?e.join(""+t):String(e).split("\n").join(""+t)}},"配列検索":{type:"func",josi:[["の","から"],["を"]],pure:!0,fn:function(e,t){return e instanceof Array?e.indexOf(t):-1}},"配列要素数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e instanceof Array?e.length:e instanceof Object?Object.keys(e).length:1}},"要素数":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__exec("配列要素数",[e])}},"配列挿入":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){if(e instanceof Array)return e.splice(t,0,n);throw new Error("『配列挿入』で配列以外の要素への挿入。")}},"配列一括挿入":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){if(e instanceof Array&&n instanceof Array){for(var r=0;r<n.length;r++)e.splice(t+r,0,n[r]);return e}throw new Error("『配列一括挿入』で配列以外の要素への挿入。")}},"配列ソート":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array)return e.sort();throw new Error("『配列ソート』で配列以外が指定されました。")}},"配列数値ソート":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array)return e.sort((function(e,t){return parseFloat(e)-parseFloat(t)}));throw new Error("『配列数値ソート』で配列以外が指定されました。")}},"配列カスタムソート":{type:"func",josi:[["で"],["の","を"]],pure:!1,fn:function(e,t,n){var r=e;if("string"==typeof e&&(r=n.__findFunc(e,"配列カスタムソート")),t instanceof Array)return t.sort(r);throw new Error("『配列カスタムソート』で配列以外が指定されました。")}},"配列逆順":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array)return e.reverse();throw new Error("『配列ソート』で配列以外が指定されました。")}},"配列シャッフル":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}throw new Error("『配列シャッフル』で配列以外が指定されました。")}},"配列削除":{type:"func",josi:[["の","から"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("配列切取",[e,t,n])}},"配列切取":{type:"func",josi:[["の","から"],["を"]],pure:!0,fn:function(e,t){if(e instanceof Array){var n=e.splice(t,1);return n instanceof Array?n[0]:null}if(!(e instanceof Object&&"string"==typeof t))throw new Error("『配列切取』で配列以外を指定。");if(e[t]){var r=e[t];return delete e[t],r}}},"配列取出":{type:"func",josi:[["の"],["から"],["を"]],pure:!0,fn:function(e,t,n){if(e instanceof Array)return e.splice(t,n);throw new Error("『配列取出』で配列以外を指定。")}},"配列ポップ":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){if(e instanceof Array)return e.pop();throw new Error("『配列ポップ』で配列以外の処理。")}},"配列追加":{type:"func",josi:[["に","へ"],["を"]],pure:!0,fn:function(e,t){if(e instanceof Array)return e.push(t),e;throw new Error("『配列追加』で配列以外の処理。")}},"配列複製":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return JSON.parse(JSON.stringify(e))}},"配列足":{type:"func",josi:[["に","へ","と"],["を"]],pure:!0,fn:function(e,t){return e instanceof Array?e.concat(t):JSON.parse(JSON.stringify(e))}},"配列最大値":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e.reduce((function(e,t){return Math.max(e,t)}))}},"配列最小値":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e.reduce((function(e,t){return Math.min(e,t)}))}},"配列合計":{type:"func",josi:[["の"]],pure:!0,fn:function(e){if(e instanceof Array){var t=0;return e.forEach((function(e){var n=parseFloat(e);isNaN(n)||(t+=n)})),t}throw new Error("『配列合計』で配列変数以外の値が指定されました。")}},"表ソート":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表ソート』には配列を指定する必要があります。");return e.sort((function(e,n){var r=e[t],o=n[t];return r===o?0:r<o?-1:1})),e}},"表数値ソート":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表数値ソート』には配列を指定する必要があります。");return e.sort((function(e,n){return e[t]-n[t]})),e}},"表ピックアップ":{type:"func",josi:[["の"],["から"],["を","で"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表ピックアップ』には配列を指定する必要があります。");return e.filter((function(e){return String(e[t]).indexOf(n)>=0}))}},"表完全一致ピックアップ":{type:"func",josi:[["の"],["から"],["を","で"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表完全ピックアップ』には配列を指定する必要があります。");return e.filter((function(e){return e[t]===n}))}},"表検索":{type:"func",josi:[["の"],["で","に"],["から"],["を"]],pure:!0,fn:function(e,t,n,r){if(!(e instanceof Array))throw new Error("『表検索』には配列を指定する必要があります。");for(var o=n;o<e.length;o++)if(e[o][t]===r)return o;return-1}},"表列数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){if(!(e instanceof Array))throw new Error("『表列数』には配列を指定する必要があります。");for(var t=1,n=0;n<e.length;n++)e[n].length>t&&(t=e[n].length);return t}},"表行数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){if(!(e instanceof Array))throw new Error("『表行数』には配列を指定する必要があります。");return e.length}},"表行列交換":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表行列交換』には配列を指定する必要があります。");for(var n=t.__exec("表列数",[e]),r=e.length,o=[],i=0;i<n;i++){var u=[];o.push(u);for(var a=0;a<r;a++)u[a]=void 0!==e[a][i]?e[a][i]:""}return o}},"表右回転":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表右回転』には配列を指定する必要があります。");for(var n=t.__exec("表列数",[e]),r=e.length,o=[],i=0;i<n;i++){var u=[];o.push(u);for(var a=0;a<r;a++)u[a]=e[r-a-1][i]}return o}},"表重複削除":{type:"func",josi:[["の"],["を","で"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表重複削除』には配列を指定する必要があります。");for(var r=[],o={},i=0;i<e.length;i++){var u=e[i][t];void 0===o[u]&&(o[u]=!0,r.push(e[i]))}return r}},"表列取得":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表列取得』には配列を指定する必要があります。");return e.map((function(e){return e[t]}))}},"表列挿入":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表列挿入』には配列を指定する必要があります。");var r=[];return e.forEach((function(e,o){var i=[];t>0&&(i=i.concat(e.slice(0,t))),i.push(n[o]),i=i.concat(e.slice(t)),r.push(i)})),r}},"表列削除":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表列削除』には配列を指定する必要があります。");var n=[];return e.forEach((function(e,r){var o=e.slice(0);o.splice(t,1),n.push(o)})),n}},"表列合計":{type:"func",josi:[["の"],["を","で"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表列合計』には配列を指定する必要があります。");var n=0;return e.forEach((function(e){n+=e[t]})),n}},"表曖昧検索":{type:"func",josi:[["の"],["から"],["で"],["を"]],pure:!0,fn:function(e,t,n,r){if(!(e instanceof Array))throw new Error("『表曖昧検索』には配列を指定する必要があります。");for(var o=new RegExp(r),i=0;i<e.length;i++){var u=e[i];if(o.test(u[n]))return i}return-1}},"表正規表現ピックアップ":{type:"func",josi:[["の","で"],["から"],["を"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表正規表現ピックアップ』には配列を指定する必要があります。");for(var r=new RegExp(n),o=[],i=0;i<e.length;i++){var u=e[i];r.test(u[t])&&o.push(u.slice(0))}return o}},"辞書キー列挙":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=[];if(e instanceof Object){for(var n in e)t.push(n);return t}if(e instanceof Array){for(var r=0;r<e.length;r++)t.push(r);return t}throw new Error("『辞書キー列挙』でハッシュ以外が与えられました。")}},"辞書キー削除":{type:"func",josi:[["から","の"],["を"]],pure:!0,fn:function(e,t){if(e instanceof Object)return e[t]&&delete e[t],e;throw new Error("『辞書キー削除』でハッシュ以外が与えられました。")}},"辞書キー存在":{type:"func",josi:[["の","に"],["が"]],pure:!0,fn:function(e,t){return t in e}},"ハッシュキー列挙":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__exec("辞書キー列挙",[e,t])}},"ハッシュ内容列挙":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=[];if(e instanceof Object){for(var n in e)t.push(e[n]);return t}throw new Error("『ハッシュ内容列挙』でハッシュ以外が与えられました。")}},"ハッシュキー削除":{type:"func",josi:[["から","の"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("辞書キー削除",[e,t,n])}},"ハッシュキー存在":{type:"func",josi:[["の","に"],["が"]],pure:!0,fn:function(e,t){return t in e}},"秒待機":{type:"func",josi:[[""]],pure:!1,fn:function(e,t){if("非同期モード"===t.__genMode){var n=t.setAsync(t);setTimeout((function(){t.compAsync(t,n)}),1e3*e)}else{if(void 0===t.resolve)throw new Error("『秒待機』命令は『!非同期モード』で使ってください。");t.__exec("秒逐次待機",[e,t])}},return_none:!0},"秒逐次待機":{type:"func",josi:[[""]],pure:!0,fn:function(e,t){if(void 0===t.resolve)throw new Error("『秒逐次待機』命令は『逐次実行』構文と一緒に使ってください。");var n=t.resolve;t.resolveCount++;var r=setTimeout((function(){var e=t.__timeout.indexOf(r);e>=0&&t.__timeout.splice(e,1),n()}),1e3*e);t.__timeout.unshift(r)},return_none:!0},"秒後":{type:"func",josi:[["を"],[""]],pure:!1,fn:function(e,t,n){"string"==typeof e&&(e=n.__findFunc(e,"秒後"));var r=setTimeout((function(){var t=n.__timeout.indexOf(r);t>=0&&n.__timeout.splice(t,1),"非同期モード"===n.__genMode&&(n.newenv=!0);try{e(r,n)}catch(e){var o=e;e instanceof NakoRuntimeError||(o=new NakoRuntimeError(e,n.__varslist[0].line)),n.logger.error(o)}}),1e3*parseFloat(t));return n.__timeout.unshift(r),n.__v0["対象"]=r,r}},"秒毎":{type:"func",josi:[["を"],[""]],pure:!1,fn:function(e,t,n){"string"==typeof e&&(e=n.__findFunc(e,"秒毎"));var r=setInterval((function(){"非同期モード"===n.__genMode&&(n.newenv=!0),e(r,n)}),1e3*parseFloat(t));return n.__interval.unshift(r),n.__v0["対象"]=r,r}},"秒タイマー開始時":{type:"func",josi:[["を"],[""]],pure:!1,fn:function(e,t,n){return n.__exec("秒毎",[e,t,n])}},"タイマー停止":{type:"func",josi:[["の","で"]],pure:!0,fn:function(e,t){var n=t.__interval.indexOf(e);if(n>=0)return t.__interval.splice(n,1),clearInterval(e),!0;var r=t.__timeout.indexOf(e);return r>=0&&(t.__timeout.splice(r,1),clearTimeout(e),!0)},return_none:!1},"全タイマー停止":{type:"func",josi:[],pure:!0,fn:function(e){for(var t=0;t<e.__interval.length;t++){var n=e.__interval[t];clearInterval(n)}e.__interval=[];for(var r=0;r<e.__timeout.length;r++){var o=e.__timeout[r];clearTimeout(o)}e.__timeout=[]},return_none:!0},"元号データ":{type:"const",value:[{"元号":"令和","改元日":"2019/05/01"},{"元号":"平成","改元日":"1989/01/08"},{"元号":"昭和","改元日":"1926/12/25"},{"元号":"大正","改元日":"1912/07/30"},{"元号":"明治","改元日":"1868/10/23"}]},"今":{type:"func",josi:[],pure:!0,fn:function(){var e=function(e){return(e="00"+e).substr(e.length-2,2)},t=new Date;return e(t.getHours())+":"+e(t.getMinutes())+":"+e(t.getSeconds())}},"システム時間":{type:"func",josi:[],pure:!0,fn:function(){var e=new Date;return Math.floor(e.getTime()/1e3)}},"システム時間ミリ秒":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getTime()}},"今日":{type:"func",josi:[],pure:!1,fn:function(e){return e.__formatDate(new Date)}},"明日":{type:"func",josi:[],pure:!1,fn:function(e){var t=Date.now()+864e5;return e.__formatDate(new Date(t))}},"昨日":{type:"func",josi:[],pure:!1,fn:function(e){var t=Date.now()-864e5;return e.__formatDate(new Date(t))}},"今年":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getFullYear()}},"来年":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getFullYear()+1}},"去年":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getFullYear()-1}},"今月":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getMonth()+1}},"来月":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getMonth()+2}},"先月":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getMonth()}},"曜日":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__str2date(e);return"日月火水木金土".charAt(n.getDay()%7)}},"曜日番号取得":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=e.split("/");return new Date(t[0],t[1]-1,t[2]).getDay()}},"UNIXTIME変換":{type:"func",josi:[["の","を","から"]],pure:!1,fn:function(e,t){return t.__str2date(e).getTime()/1e3}},"UNIX時間変換":{type:"func",josi:[["の","を","から"]],pure:!1,fn:function(e,t){return t.__str2date(e).getTime()/1e3}},"日時変換":{type:"func",josi:[["を","から"]],pure:!1,fn:function(e,t){var n=1e3*e;return t.__formatDateTime(new Date(n),"2022/01/01 00:00:00")}},"日時書式変換":{type:"func",josi:[["を"],["で"]],pure:!1,fn:function(e,t,n){var r=n.__str2date(e);return t=t.replace(/(YYYY|ccc|WWW|MMM|YY|MM|DD|HH|mm|ss|[MDHmsW])/g,(function(e){switch(e){case"YYYY":return r.getFullYear();case"YY":return(""+r.getFullYear()).substring(2);case"MM":return n.__zero2(r.getMonth()+1);case"DD":return n.__zero2(r.getDate());case"M":return r.getMonth()+1;case"D":return r.getDate();case"HH":return n.__zero2(r.getHours());case"mm":return n.__zero2(r.getMinutes());case"ss":return n.__zero2(r.getSeconds());case"ccc":return n.__zero(r.getMilliseconds(),3);case"H":return r.getHours();case"m":return r.getMinutes();case"s":return r.getSeconds();case"W":return"日月火水木金土".charAt(r.getDay()%7);case"WWW":return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r.getDay()%7];case"MMM":return["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r.getMonth()]}return e}))}},"和暦変換":{type:"func",josi:[["を"]],pure:!1,fn:function(e,t){var n,r=t.__str2date(e),o=r.getTime(),i=_createForOfIteratorHelper(t.__v0["元号データ"]);try{for(i.s();!(n=i.n()).done;){var u=n.value,a=u["元号"],c=t.__str2date(u["改元日"]);if(c.getTime()<=o){var s=r.getFullYear()-c.getFullYear()+1;return 1==s&&(s="元"),a+s+"年"+t.__zero2(r.getMonth()+1)+"月"+t.__zero2(r.getDate())+"日"}}}catch(e){i.e(e)}finally{i.f()}throw new Error("『和暦変換』は明示以前の日付には対応していません。")}},"年数差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=n.__str2date(e);return n.__str2date(t).getFullYear()-r.getFullYear()}},"月数差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=n.__str2date(e),o=n.__str2date(t);return 12*o.getFullYear()+o.getMonth()-(12*r.getFullYear()+r.getMonth())}},"日数差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil((o-r)/86400)}},"時間差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil((o-r)/3600)}},"分差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil((o-r)/60)}},"秒差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil(o-r)}},"日時差":{type:"func",josi:[["と","から"],["の","までの"],["による"]],pure:!1,fn:function(e,t,n,r){switch(n){case"年":return r.__exec("年数差",[e,t,r]);case"月":return r.__exec("月数差",[e,t,r]);case"日":return r.__exec("日数差",[e,t,r]);case"時間":return r.__exec("時間差",[e,t,r]);case"分":return r.__exec("分差",[e,t,r]);case"秒":return r.__exec("秒差",[e,t,r])}throw new Error("『日時差』で不明な単位です。")}},"時間加算":{type:"func",josi:[["に"],["を"]],pure:!1,fn:function(e,t,n){var r=t.charAt(0);"-"!==r&&"+"!==r||(t=t.substring(1));var o=n.__str2date(e),i=(t+":0:0").split(":"),u=60*parseInt(i[0])*60+60*parseInt(i[1])+parseInt(i[2]);"-"===r&&(u*=-1);var a=new Date(o.getTime()+1e3*u);return n.__formatDateTime(a,e)}},"日付加算":{type:"func",josi:[["に"],["を"]],pure:!1,fn:function(e,t,n){var r=1,o=t.charAt(0);"-"!==o&&"+"!==o||(t=t.substring(1),"-"===o&&(r*=-1));var i=n.__str2date(e),u=(t+"/0/0").split("/"),a=parseInt(u[0])*r,c=parseInt(u[1])*r,s=parseInt(u[2])*r;return i.setFullYear(i.getFullYear()+a),i.setMonth(i.getMonth()+c),i.setDate(i.getDate()+s),n.__formatDateTime(i,e)}},"日時加算":{type:"func",josi:[["に"],["を"]],pure:!1,fn:function(e,t,n){var r=(""+t).match(/([+|-]?)(\d+)(年|ヶ月|日|週間|時間|分|秒)$/);if(!r)throw new Error("『日付加算』は『(+|-)1(年|ヶ月|日|時間|分|秒)』の書式で指定します。");switch(r[3]){case"年":return n.__exec("日付加算",[e,"".concat(r[1]).concat(r[2],"/0/0"),n]);case"ヶ月":return n.__exec("日付加算",[e,"".concat(r[1],"0/").concat(r[2],"/0"),n]);case"週間":return n.__exec("日付加算",[e,"".concat(r[1],"0/0/").concat(7*r[2]),n]);case"日":return n.__exec("日付加算",[e,"".concat(r[1],"0/0/").concat(r[2]),n]);case"時間":return n.__exec("時間加算",[e,"".concat(r[1]).concat(r[2],":0:0"),n]);case"分":return n.__exec("時間加算",[e,"".concat(r[1],"0:").concat(r[2],":0"),n]);case"秒":return n.__exec("時間加算",[e,"".concat(r[1],"0:0:").concat(r[2]),n])}}},"時間ミリ秒取得":{type:"func",josi:[],pure:!0,fn:function(){return performance&&performance.now?performance.now():Date.now?Date.now():(new Date).getTime()}},"エラー発生":{type:"func",josi:[["の","で"]],pure:!0,fn:function(e){throw new Error(e)}},"システム関数一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){var t=[];for(var n in e.__v0){"function"==typeof e.__v0[n]&&t.push(n)}return t}},"システム関数存在":{type:"func",josi:[["が","の"]],pure:!0,fn:function(e,t){return void 0!==t.__v0[e]}},"プラグイン一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){var t=[];for(var n in e.pluginfiles)t.push(n);return t}},"モジュール一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){var t=[];for(var n in e.__module)t.push(n);return t}},"助詞一覧取得":{type:"func",josi:[],pure:!0,fn:function(){return __webpack_require__(6625).josiList}},"予約語一覧取得":{type:"func",josi:[],pure:!0,fn:function(){var e=__webpack_require__(5740),t=[];for(var n in e)t.push(n);return t}},"プラグイン名":{type:"const",value:"メイン"},"プラグイン名設定":{type:"func",josi:[["に","へ"]],pure:!1,fn:function(e,t){t.__v0["プラグイン名"]=e},return_none:!0},"URLエンコード":{type:"func",josi:[["を","から"]],pure:!0,fn:function(e){return encodeURIComponent(e)}},"URLデコード":{type:"func",josi:[["を","へ","に"]],pure:!0,fn:function(e){return decodeURIComponent(e)}},"URLパラメータ解析":{type:"func",josi:[["を","の","から"]],pure:!1,fn:function(e,t){var n={};if("string"!=typeof e)return n;var r=e.split("?");if(r.length<=1)return n;var o,i=_createForOfIteratorHelper(r[1].split("&"));try{for(i.s();!(o=i.n()).done;){var u=(o.value+"=").split("=");n[t.__exec("URLデコード",[u[0]])]=t.__exec("URLデコード",[u[1]])}}catch(e){i.e(e)}finally{i.f()}return n}},"BASE64エンコード":{type:"func",josi:[["を","から"]],pure:!0,fn:function(e){if(window.btoa){var t=String.fromCharCode.apply(null,new TextEncoder("UTF-8").encode(e));return btoa(t)}return Buffer.from(e).toString("base64")}},"BASE64デコード":{type:"func",josi:[["を","へ","に"]],pure:!0,fn:function(e){if(window.atob){var t=atob(e),n=new Uint8Array(Array.prototype.map.call(t,(function(e){return e.charCodeAt()})));return new TextDecoder("UTF-8").decode(n)}return Buffer.from(e,"base64").toString()}}};module.exports=PluginSystem},7728:function(e,t,n){n(2222);var r={"ASSERT等":{type:"func",josi:[["と"],["が"]],pure:!0,fn:function(e,t,n){if(e!==t)throw new Error("不一致 [実際]".concat(e," [期待]").concat(t));return!0}},"テスト実行":{type:"func",josi:[["と"],["で"]],pure:!1,fn:function(e,t,n){n.__exec("ASSERT等",[e,t,n])}},"テスト等":{type:"func",josi:[["と"],["が"]],pure:!1,fn:function(e,t,n){n.__exec("ASSERT等",[e,t,n])}}};e.exports=r},6894:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var u=e.apply(t,n);function a(e){o(u,r,i,a,c,"next",e)}function c(e){o(u,r,i,a,c,"throw",e)}a(void 0)}))}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}n(5666),n(4916),n(4723),n(1539),n(8674),n(2222),n(6699),n(2023),n(6992),n(8783),n(3948),n(285),n(1637),n(3123),n(9600),n(561),n(7852),n(489),n(2419),n(2526),n(1817),n(2165),n(7774);var l=n(6802),p=n(7597).NakoImportError,h=/^(なでしこ|nako|nadesiko)3?$/,d=n(1475).setupEditor,y=n(4068),v=function(e){"use strict";!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(f,e);var t,n,r,o,s=c(f);function f(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(e=s.call(this,{useBasicPlugin:!0})).__varslist[0]["ナデシコ種類"]="wnako3",e}return t=f,n=[{key:"runNakoScript",value:function(){for(var e=0,t=document.querySelectorAll("script"),n=0;n<t.length;n++){var r=t[n];r.type.match(h)&&(e++,this.run(r.text,"script".concat(n,".nako3")))}console.log("実行したなでしこの個数=",e)}},{key:"loadDependencies",value:(o=i(regeneratorRuntime.mark((function e(t,n){var r,o,u=this,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>2&&void 0!==a[2]?a[2]:"",o=a.length>3&&void 0!==a[3]?a[3]:{},e.abrupt("return",this._loadDependencies(t,n,r,{readJs:function(e,t){return o.hasOwnProperty(e)?{sync:!0,value:function(){return Function(o[e])(),{}}}:{sync:!1,value:i(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch(e);case 2:if((r=n.sent).ok){n.next=5;break}throw new p("ファイル ".concat(e," のダウンロードに失敗しました: ").concat(r.status," ").concat(r.statusText),t.line,t.file);case 5:return n.next=7,r.text();case 7:if((o=n.sent).includes("navigator.nako3.addPluginObject")){n.next=10;break}throw new p("ファイル ".concat(e,' の中に文字列 "navigator.nako3.addPluginObject" が存在しません。現在、ブラウザ版のなでしこ言語v3は自動登録するプラグインのみをサポートしています。'),t.line,t.file);case 10:return n.abrupt("return",(function(){var n=navigator.nako3;navigator.nako3=u;try{Function(o)()}catch(n){throw new p("プラグイン ".concat(e," の取り込みに失敗: ").concat(n instanceof Error?n.message:n+""),t.line,t.file)}finally{navigator.nako3=n}return{}}));case 11:case"end":return n.stop()}}),n)})))()}},readNako3:function(e,t){return o.hasOwnProperty(e)?{sync:!0,value:o[e]}:{sync:!1,value:i(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch(e);case 2:if((r=n.sent).ok){n.next=5;break}throw new p("ファイル ".concat(e," のダウンロードに失敗しました: ").concat(r.status," ").concat(r.statusText),t.line,t.file);case 5:return n.next=7,r.text();case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),n)})))()}},resolvePath:function(e,t){var n=e;if(!o.hasOwnProperty(e))try{n=new URL(e).pathname}catch(o){try{var r=window.location.href.split("/"),i=r.splice(0,r.length-1).join("/");n=new URL(i+"/"+e).pathname}catch(e){throw new p("取り込み文の引数でパスが解決できません。https:// か http:// で始まるアドレスを指定してください。\n".concat(e),t.line,t.file)}}return n.endsWith(".js")||n.endsWith(".js.txt")?{filePath:e,type:"js"}:n.endsWith(".nako3")||n.endsWith(".nako3.txt")?{filePath:e,type:"nako3"}:{filePath:e,type:"invalid"}}}));case 3:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"checkScriptTagParam",value:function(){for(var e=document.querySelectorAll("script"),t=0;t<e.length;t++){var n=e[t].src||"";if(n.indexOf("wnako3.js?run")>=0||n.indexOf("wnako3.js&run")>=0)return!0}return!1}},{key:"setupEditor",value:function(e){return d(e,this,window.ace)}}],n&&u(t.prototype,n),r&&u(t,r),f}(l);if("object"!==("undefined"==typeof navigator?"undefined":r(navigator))||navigator.exportWNako3)e.exports=v;else{var g=navigator.nako3=new v;g.addPluginObject("PluginBrowser",y),window.addEventListener("DOMContentLoaded",(function(e){g.checkScriptTagParam()&&g.runNakoScript()}),!1)}},1475:function(e,t,n){function r(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n){return i=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o},i.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(5666),n(6699),n(7042),n(7941),n(2023),n(4916),n(3123),n(9600),n(1249),n(1539),n(9714),n(2222),n(5306),n(7327),n(9720),n(2707),n(561),n(3290),n(9826),n(6992),n(1532),n(8783),n(3948),n(189),n(6755),n(1038),n(4747),n(8309),n(8674),n(2526),n(1817),n(2165),n(5003),n(9337),n(2419);var m=n(144).OffsetToLineColumn,b=n(7597).NakoError,w=n(6464),k=w.getBlockStructure,x=w.getIndent,j=w.countIndent,S=w.isIndentSyntaxEnabled,O=n(8178),A=n(7535);function E(e,t,n,r,o){var i=function(e){switch(e.type){case"line_comment":return"comment.line";case"range_comment":return"comment.block";case"def_test":case"def_func":case"とは":case"ならば":case"でなければ":case"ここから":case"ここまで":case"もし":case"違えば":case"require":case"回":case"間":case"繰り返す":case"反復":case"抜ける":case"続ける":case"戻る":case"先に":case"次に":case"代入":case"逐次実行":case"条件分岐":case"取込":case"エラー監視":case"エラー":case"変数":case"実行速度優先":return"keyword.control";case"func":return"entity.name.function";case"number":return"constant.numeric";case"定める":case"定数":return"support.constant";case"shift_r0":case"shift_r":case"shift_l":case"gteq":case"lteq":case"noteq":case"eq":case"not":case"gt":case"lt":case"and":case"or":case"@":case"+":case"-":case"*":case"/":case"%":case"^":case"&":return"keyword.operator";case"string":case"string_ex":return"string.other";case"word":return["そう","それ","回数","対象キー","対象"].includes(e.value)?"variable.language":"variable.other";default:return"markup.other"}}(e),u=function(e,t){var n=function(e){return'<span class="tooltip-plugin-name">'.concat(P(e),"</span>")};if("func"===e.type){var r=T(e.value+"",t)||(e.meta&&e.meta.file?e.meta.file:null),o=e.meta&&e.meta.josi?M(e.meta.josi):"";return r?P(o+e.value)+n(r):P(o+e.value)}if("word"===e.type){var i=T(e.value+"",t)||(e.meta&&e.meta.file?e.meta.file:null);if(i)return P(e.value+"")+n(i)}return null}(e,t);return e.rawJosi&&n.length>=e.rawJosi.length&&r&&o?[{type:i,docHTML:u,value:n.slice(0,-e.rawJosi.length)},{type:i+".markup.underline",docHTML:u,value:n.slice(-e.josi.length)}]:[{type:i,docHTML:u,value:n}]}function T(e,t){for(var n=0,r=Object.keys(t.__module);n<r.length;n++){var o=r[n];if(Object.keys(t.__module[o]).includes(e))return o}return null}function M(e){var t=e.map((function(e,t){return e.map((function(e){return"".concat(function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");return e.toString(26).split("").map((function(e){return t[parseInt(e,26)]})).join("")}(t)).concat(e)})).join("|")})).join("、");return""!==t?"(".concat(t,")"):""}function P(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var L=function(e,t){return[{type:"markup.other",value:t.getLine(e),docHTML:null}]},I=function(e,t){var n=e.logger;try{return e.replaceLogger(),t()}finally{e.logger=n}};function C(e,t,n){var r=e.join("\n");t.reset();var o=I(t,(function(){return t.lex(r,"main.nako3",void 0,!0)}));o.commentTokens=o.commentTokens.filter((function(e){return"main.nako3"===e.file})),o.requireTokens=o.requireTokens.filter((function(e){return"main.nako3"===e.file})),o.tokens=o.tokens.filter((function(e){return"main.nako3"===e.file}));for(var i=0,u=Object.entries(t.dependencies);i<u.length;i++){var a,c=v(u[i],2),s=c[0],f=c[1].funclist,p=y(o.tokens);try{for(p.s();!(a=p.n()).done;){var d=a.value;"word"===d.type&&"それ"!==d.value&&f[d.value]&&(d.type="func",d.meta=h(h({},f[d.value+""]),{},{file:s}))}}catch(e){p.e(e)}finally{p.f()}}var g=[].concat(l(o.tokens),l(o.commentTokens),l(o.requireTokens)).filter((function(e){return"eol"!==e.type&&"eof"!==e.type&&"number"==typeof e.startOffset&&"number"==typeof e.endOffset&&e.startOffset<e.endOffset}));g.sort((function(e,t){return(e.startOffset||0)-(t.startOffset||0)}));for(var _=0,m=0,b=[],w=0;w<e.length;w++){b.push([]);for(var k=_+e[w].length,x=_;m<g.length&&g[m].endOffset<=_;)m++;if(m<g.length&&g[m].startOffset<=_&&g[m].endOffset>=k){var j;(j=b[w]).push.apply(j,l(E(g[m],t,e[w],g[m].endOffset<=k,n)))}else{var S,O;if(m<g.length&&g[m].startOffset<=_)(S=b[w]).push.apply(S,l(E(g[m],t,r.slice(x,g[m].endOffset),!0,n))),x=g[m].endOffset,m++;for(;m<g.length&&g[m].endOffset<k;){var A;x<g[m].startOffset&&(b[w].push({type:"markup.other",docHTML:null,value:r.slice(x,g[m].startOffset)}),x=g[m].startOffset),(A=b[w]).push.apply(A,l(E(g[m],t,r.slice(x,g[m].endOffset),!0,n))),x=g[m].endOffset,m++}if(m<g.length&&g[m].startOffset<k)x<g[m].startOffset&&(b[w].push({type:"markup.other",docHTML:null,value:r.slice(x,g[m].startOffset)}),x=g[m].startOffset),(O=b[w]).push.apply(O,l(E(g[m],t,r.slice(g[m].startOffset,k),g[m].endOffset<=k,n)));else b[w].push({type:"markup.other",docHTML:null,value:r.slice(x,k)})}_+=e[w].length+1}return{editorTokens:b,lexerOutput:o}}var R=function(){"use strict";function e(t,n,r,o){c(this,e),this.session=t,this.doc=n,this.AceRange=r,this.markers=[],this.hasAnnotations=!1,this.disable=o}return f(e,[{key:"add",value:function(t,n,r,o,u,a){var c=this;if(!this.disable){var s=i(this.AceRange,l(e.fromNullable(t,n,r,o,(function(e){return c.doc.getLine(e)}))));this.markers.push(this.session.addMarker(s,"marker-"+("warn"===a?"yellow":"red"),"text",!1)),this.session.setAnnotations([{row:t,column:n,text:u,type:"warn"===a?"warning":"error"}]),this.hasAnnotations=!0}}},{key:"addByError",value:function(t,n,r){var o=this;this.add.apply(this,l(e.fromError(t,n,(function(e){return o.doc.getLine(e)}))).concat([n.message,r]))}},{key:"clear",value:function(){var e,t=y(this.markers);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.session.removeMarker(n)}}catch(e){t.e(e)}finally{t.f()}this.markers.length=0,this.hasAnnotations&&(this.session.clearAnnotations(),this.hasAnnotations=!1)}}],[{key:"fromNullable",value:function(e,t,n,r,o){return null===t&&(t=0),null===n&&(n=e),null===r&&(r=o(n).length),e===n&&t===r&&r++,[e,t,n,r]}},{key:"fromOffset",value:function(e,t,n){var r=new m(e),o=r.map(t,!1),i=r.map(n,!1);return[o.line,o.column,i.line,i.column]}},{key:"fromError",value:function(e,t,n){return"number"==typeof t.startOffset&&"number"==typeof t.endOffset?this.fromOffset(e,t.startOffset,t.endOffset):"number"==typeof t.line?this.fromNullable(t.line,null,null,null,n):this.fromNullable(0,null,null,null,n)}}]),e}(),N=function(){"use strict";function e(t,n,r,o,i){var u=this;c(this,e),this.onUpdate=r,this.doc=t,this.dirty=!0,this.nako3=n,this.onCompileError=o,this.underlineJosi=i,this.lastLexerOutput=null,this.lines=this.doc.getAllLines().map((function(e){return[{type:"markup.other",value:e,docHTML:null}]})),this.cache=null,this.deleted=!1,this.enabled=!0;var a=function e(){if(!u.deleted)if(u.dirty&&u.enabled){var t=Date.now();u.dirty=!1;var i=u.doc.getAllLines().join("\n");try{var a=Date.now(),c=C(u.doc.getAllLines(),n,u.underlineJosi);u.lastLexerOutput=c.lexerOutput,u.lines=c.editorTokens,u.cache={code:i,lines:JSON.stringify(u.lines)},r(0,u.doc.getLength()-1,Date.now()-a)}catch(e){o(i,e)}setTimeout(e,Math.max(100,Math.min(5e3,5*(Date.now()-t))))}else setTimeout(e,100)};setTimeout((function(){a()}),0)}return f(e,[{key:"dispose",value:function(){this.deleted=!0}},{key:"$updateOnChange",value:function(e){var t=this;this.dirty=!0;var n=e.start.row,r=e.end.row;if(n===r)if("insert"===e.action&&this.lines[n]){for(var o=e.start.column,i=this.lines[n].filter((function(e){return"composition_placeholder"!==e.type})),u=[],a=0,c=0;a<i.length&&c+i[a].value.length<=o;)u.push(i[a]),c+=i[a].value.length,a++;for(a<i.length&&c<o?(u.push({type:i[a].type,value:i[a].value.slice(0,o-c),docHTML:null}),u.push({type:"markup.other",value:e.lines[0],docHTML:null}),u.push({type:i[a].type,value:i[a].value.slice(o-c),docHTML:null}),a++):u.push({type:"markup.other",value:e.lines[0],docHTML:null});a<i.length;)u.push(i[a]),a++;this.lines[n]=u}else this.lines[n]=L(n,this.doc);else if("remove"===e.action)this.lines.splice(n,r-n+1,L(n,this.doc));else{var s;(s=this.lines).splice.apply(s,[n,1].concat(l(Array(r-n+1).fill(null).map((function(e,r){return L(r+n,t.doc)})))))}}},{key:"getTokens",value:function(e){if(!this.lines[e]){var t=!1;if(this.enabled){var n=this.doc.getAllLines().join("\n");if(null!==this.cache&&this.cache.code===n)t=!0;else try{var r=C(this.doc.getAllLines(),this.nako3,this.underlineJosi);this.cache={code:n,lines:JSON.stringify(r.editorTokens)},t=!0}catch(e){e instanceof b||console.error(e)}}t&&null!==this.cache?this.lines[e]=JSON.parse(this.cache.lines)[e]:this.lines[e]=L(e,this.doc)}return this.lines[e]}},{key:"start",value:function(e){}},{key:"fireUpdateEvent",value:function(e,t){}},{key:"setDocument",value:function(e){}},{key:"scheduleStart",value:function(){}},{key:"setTokenizer",value:function(e){}},{key:"stop",value:function(){}},{key:"getState",value:function(e){return"start"}}]),e}(),F=function(){"use strict";function e(t,n){c(this,e),this.AceRange=t,this.nako3=n}return f(e,[{key:"autoOutdent",value:function(t,n,r){var o=n.doc;if(0!==r){var i,u=o.getLine(r-1);if(e.isBlockStart(u))i=x(u);else{var a=this.getBlockStructure(o.getAllLines().join("\n")),c=a.parents[r];i=null!==c?a.spaces[c]:""}var s=x(o.getLine(r));o.replace(new this.AceRange(r,0,r,s.length),i)}}},{key:"getFoldWidget",value:function(t,n,r){var o=t.doc;return e.isBlockStart(o.getLine(r))?"start":""}},{key:"getFoldWidgetRange",value:function(e,t,n){var r=e.doc,o=this.getBlockStructure(r.getAllLines().join("\n")).pairs.find((function(e){return e[0]===n}));return void 0!==o?new this.AceRange(o[0],r.getLine(o[0]).length,o[1]-1,r.getLine(o[1]-1).length):null}},{key:"getBlockStructure",value:function(e){return this.blockStructure&&this.blockStructure.code===e||(this.blockStructure={code:e,data:k(e)}),this.blockStructure.data}}],[{key:"toggleCommentLines",value:function(e,t,n,r){for(var o=t.doc,i=new O(new A),u=function(e){var t=x(e);if(t===e)return{type:"blank"};var n=(e=e.substr(t.length)).substr(0,2).split("").map((function(e){return i.convert1ch(e)})).join("");return"#"===n.substr(0,1)?{type:"comment",start:t.length,len:1+(" "===e.charAt(1)?1:0)}:"//"===n?{type:"comment",start:t.length,len:2+(" "===e.charAt(2)?1:0)}:{type:"code"}},a=[],c=n;c<=r;c++)a.push(c);if(!a.every((function(e){return"blank"===u(o.getLine(e)).type}))&&a.every((function(e){return"code"!==u(o.getLine(e)).type}))){var s,f=y(a);try{for(f.s();!(s=f.n()).done;){var p=s.value,h=u(o.getLine(p));"comment"===h.type&&o.removeInLine(p,h.start,h.start+h.len)}}catch(e){f.e(e)}finally{f.f()}}else{var d,v=Math.min.apply(Math,l(a.map((function(e){return j(o.getLine(e))})))),g=y(a);try{for(g.s();!(d=g.n()).done;){for(var _=d.value,m=o.getLine(_),b=m.length,w=0;w<m.length;w++)if(j(m.slice(0,w))>=v){b=w;break}o.insertInLine({row:_,column:b},"// ")}}catch(e){g.e(e)}finally{g.f()}}}},{key:"checkOutdent",value:function(e,t,n){return/^[ ・\t]*ここまで$/.test(t+n)}},{key:"getNextLineIndent",value:function(e,t,n){return this.isBlockStart(t)?x(t)+n:x(t)}},{key:"isBlockStart",value:function(e){return/^[ ・\t]*●|(ならば|なければ|ここから|条件分岐|違えば|回|繰り返(す|し)|の間|反復|とは|には|エラー監視|エラーならば|実行速度優先)、?\s*$/.test(e)}},{key:"getCompletionItems",value:function(e,t,n,r){for(var i=new Map,u=new Set,a=function(e,n,r){var o=i.get(e);if(o)o.meta.add(r);else{var a=t.split("").filter((function(e){return n.includes(e)})).length;i.set(e,{value:n,meta:new Set([r]),score:a}),u.add(n)}},c=0,s=Object.keys(n.__varslist[0]);c<s.length;c++){var f=s[c];if(!f.startsWith("!")){var l=n.funclist[f];if("object"===o(l)&&null!==l){var p=T(f,n)||"プラグイン";"func"===l.type?a(M(l.josi)+f,f,p):a(f,f,p)}}}for(var d=0,g=Object.entries(n.dependencies);d<g.length;d++)for(var _=v(g[d],2),m=_[0],b=_[1].funclist,w=0,k=Object.entries(b);w<k.length;w++){var x=v(k[w],2),j=x[0],S=x[1];a((S&&"func"===S.type?M(S.josi):"")+j,j,m)}if(null!==r.lastLexerOutput){var O,A=y(r.lastLexerOutput.tokens);try{for(A.s();!(O=A.n()).done;){var E=O.value,P=E.value+"";if(E.line!==e&&!u.has(P))if("word"===E.type)a(P,P,"変数");else if("func"===E.type){var L=n.funclist[P];a((L&&"func"===L.type?M(L.josi):"")+P,P,"関数")}}}catch(e){A.e(e)}finally{A.f()}}return Array.from(i.entries()).map((function(e){var t=v(e,2),n=t[0],r=t[1];return h(h({caption:n},r),{},{meta:Array.from(r.meta).join(", ")})}))}},{key:"getSnippets",value:function(e){var t=S(e),n=function(e,n,r){return t?{caption:e,meta:"⇥ ".concat(n),score:1,snippet:r.replace(/\t*ここまで(\n|$)/g,"").replace(/\t/g," ")}:{caption:e,meta:"⇥ ".concat(n),score:1,snippet:r.replace(/\t/g," ")}};return[n("if","もし〜ならば","もし${1:1=1}ならば\n\t${2:1を表示}\n違えば\n\t${3:2を表示}\nここまで\n"),n("times","〜回","${1:3}回\n\t${2:1を表示}\nここまで\n"),n("for","繰り返す","${1:N}で${2:1}から${3:3}まで繰り返す\n\t${4:Nを表示}\nここまで\n"),n("while","〜の間","${1:N<2の間}\n\tN=N+1\nここまで\n"),n("foreach","〜を反復","${1:[1,2,3]}を反復\n\t${2:対象を表示}\nここまで\n"),n("switch","〜で条件分岐","${1:N}で条件分岐\n\t${2:1}ならば\n\t\t${3:1を表示}\n\tここまで\n\t${4:2}ならば\n\t\t${5:2を表示}\n\tここまで\n\t違えば\n\t\t${6:3を表示}\n\tここまで\nここまで\n"),n("function","●〜とは","●(${1:AとBを})${2:足す}とは\n\t${3:A+Bを戻す}\nここまで\n"),n("test","●テスト:〜とは","●テスト:${2:足す}とは\n\t1と2を足す\n\tそれと3がASSERT等しい\nここまで\n"),n("try","エラー監視","エラー監視\n\t${1:1のエラー発生}\nエラーならば\n\t${2:2を表示}\nここまで\n")]}},{key:"getCompletionPrefix",value:function(e,t){var n=null;if(0===e.length||!/[ぁ-んa-zA-Zァ-ヶー\u3005\u4E00-\u9FCF]/.test(e[e.length-1]))return"";try{t.reset(),n=I(t,(function(){return t.lex(e,"completion.nako3",void 0,!0)})).tokens.filter((function(e){return"eol"!==e.type&&"eof"!==e.type}))}catch(e){e instanceof b||console.error(e)}if(null===n||0===n.length||!n[n.length-1].value)return"";var r=n[n.length-1].value+"";return/[ぁ-ん]/.test(r[r.length-1])&&!/[ぁ-ん]/.test(r[0])?"":r}},{key:"getCodeLens",value:function(e){for(var t=[],n=0,r=Array.from(e.getAllLines().entries());n<r.length;n++){var o=v(r[n],2),i=o[0],u=o[1],a=/^[ ・\t]*●テスト:(.+?)(?:とは|$)/.exec(u);null!==a&&t.push({start:{row:i},command:{title:"テストを実行",id:"runTest",arguments:[a[1]]}})}return t}}]),e}(),D=function(){"use strict";function e(t,n,r){c(this,e),this.editor=t,this.AceRange=n,this.UndoManager=r}return f(e,[{key:"newTab",value:function(e){return{content:e,cursor:{range:new this.AceRange(0,0,0,0),reversed:!1},scroll:{left:0,top:0},undoManger:new this.UndoManager}}},{key:"getTab",value:function(){return{content:this.editor.getValue(),cursor:{range:this.editor.session.selection.getRange(),reversed:this.editor.session.selection.isBackwards()},scroll:{left:this.editor.session.getScrollLeft(),top:this.editor.session.getScrollTop()},undoManger:this.editor.session.getUndoManager()}}},{key:"setTab",value:function(e){this.editor.setValue(e.content),this.editor.session.selection.setRange(e.cursor.range,e.cursor.reversed),this.editor.session.setScrollLeft(e.scroll.left),this.editor.session.setScrollTop(e.scroll.top),this.editor.session.setUndoManager(e.undoManger)}}]),e}(),q=function(){"use strict";function e(){c(this,e)}return f(e,null,[{key:"save",value:function(e){try{for(var t={},n=0,r=["syntaxHighlighting","keyboardHandler","theme","fontSize","wrap","useSoftTabs","tabSize","showInvisibles","enableLiveAutocompletion","indentedSoftWrap","underlineJosi"];n<r.length;n++){var o=r[n];t[o]=e.getOption(o)}localStorage.setItem("nako3EditorOptions",JSON.stringify(t))}catch(e){return console.error(e),null}}},{key:"load",value:function(e){try{if(!window.localStorage)return null;var t=window.localStorage.getItem("nako3EditorOptions");if(null===t)return null;var n=JSON.parse(t);["ace/keyboard/vscode","ace/keyboard/emacs","ace/keyboard/sublime","ace/keyboard/vim"].includes(n.keyboardHandler)&&e.setOption("keyboardHandler",n.keyboardHandler),["ace/theme/xcode","ace/theme/monokai"].includes(n.theme)&&e.setOption("theme",n.theme),"number"==typeof n.fontSize&&e.setOption("fontSize",Math.min(48,Math.max(6,n.fontSize)));for(var r=0,o=["syntaxHighlighting","wrap","useSoftTabs","showInvisibles","enableLiveAutocompletion","indentedSoftWrap","underlineJosi"];r<o.length;r++){var i=o[r];"boolean"==typeof n[i]&&e.setOption(i,n[i])}"number"==typeof n.tabSize&&e.setOption("tabSize",Math.min(16,Math.max(0,n.tabSize)))}catch(e){return console.error(e),null}}},{key:"initPanel",value:function(e,t){var n=new e(t);if(!this.done){this.done=!0;var r=!0;n.renderOptionGroup=function(e){if(r){for(var t=0,n=Object.keys(e);t<n.length;t++){delete e[n[t]]}e["シンタックスハイライト"]={path:"syntaxHighlighting"},e["キーバインド"]={path:"keyboardHandler",type:"select",items:[{caption:"VSCode",value:"ace/keyboard/vscode"},{caption:"Emacs",value:"ace/keyboard/emacs"},{caption:"Sublime",value:"ace/keyboard/sublime"},{caption:"Vim",value:"ace/keyboard/vim"}]},e["カラーテーマ"]={path:"theme",type:"select",items:[{caption:"ライト",value:"ace/theme/xcode"},{caption:"ダーク",value:"ace/theme/monokai"}]},e["文字サイズ"]={path:"fontSize",type:"number",defaultValue:16},e["行の折り返し"]={path:"wrap",type:"select",items:[{caption:"なし",value:"off"},{caption:"あり",value:"free"}]},e["ソフトタブ"]=[{path:"useSoftTabs"},{ariaLabel:"Tab Size",path:"tabSize",type:"number",values:[2,3,4,8,16]}],e["空白文字を表示"]={path:"showInvisibles"},e["常に自動補完"]={path:"enableLiveAutocompletion"},e["折り返した行をインデント"]={path:"indentedSoftWrap"},e["助詞に下線を引く"]={path:"underlineJosi"},r=!1}else for(var o=0,i=Object.keys(e);o<i.length;o++){delete e[i[o]]}},n.render();var o=e.prototype.render,i=this;e.prototype.render=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];o.apply.apply(o,[this].concat(n)),this.on("setOption",(function(){console.log("設定を保存しました。"),i.save(e.editor)}))}}}}]),e}(),U=[],B=0;e.exports={tokenize:C,setupEditor:function(e,t,n){var o=n.edit(e),i="string"==typeof e?document.getElementById(e):e;if(null===i)throw new Error("idが ".concat(e," のHTML要素は存在しません。"));var u=n.require("ace/range").Range,a=new R(o.session,o.session.bgTokenizer.doc,u,!!i.dataset.nako3DisableMarker);if(i.classList.contains("nako3_ace_mounted"))throw new Error("なでしこ言語のエディタの初期化処理を同一のHTML要素に対して複数回適用しました。");i.setAttribute("lang","en"),i.classList.add("nako3_ace_mounted"),i.classList.add("nako3_editor");var c=i.dataset.nako3Readonly;c&&(i.classList.add("readonly"),o.setReadOnly(!0)),o.setFontSize(16);var s=function(e){var t=e.doc,n=t.getAllLines(),r=e.selection.getRange();t.removeFullLines(0,t.getLength()),t.insert({row:0,column:0},n.join("\n")),e.selection.setRange(r,!1)};n.require("ace/config").defineOptions(o.constructor.prototype,"editor",{syntaxHighlighting:{set:function(e){this.session.bgTokenizer.enabled=e,s(this.session)},initialValue:!0},underlineJosi:{set:function(e){this.session.bgTokenizer.underlineJosi=e,s(this.session)},initialValue:!0}}),o.setOptions({wrap:"free",indentedSoftWrap:!1,showPrintMargin:!1}),n.require("ace/keybindings/vscode"),o.setKeyboardHandler("ace/keyboard/vscode");var f=new(0,n.require("ace/tooltip").Tooltip)(o.container);n.require("ace/lib/event").addListener(o.renderer.content,"mouseout",(function(){f.hide()})),o.on("mousemove",(function(e){var t=e.getDocumentPosition();if(t.column>=e.editor.session.getLine(t.row).length)f.hide();else{var n=e.editor.session.getTokenAt(t.row,t.column+1);null!==n&&n.docHTML?(f.setHtml(n.docHTML),f.show(null,e.clientX,e.clientY)):f.hide()}})),o.session.on("change",(function(){f.hide(),a.clear()}));var l=!!i.dataset.nako3ForceSyntaxHighlighting,p=!0,d=o.session.bgTokenizer,y=new N(o.session.bgTokenizer.doc,t,(function(e,t,n){d._signal("update",{data:{first:e,last:t}}),n>220&&o.getOption("syntaxHighlighting")&&!c&&!l&&p&&(p=!1,x.classList.add("visible"),o.setOption("syntaxHighlighting",!1),setTimeout((function(){x.classList.remove("visible")}),13e3))}),(function(e,t){a.addByError(e,t,"error")}),o.getOption("underlineJosi"));o.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0});var v=B++;o.wnako3EditorId=v,U.push({getCompletions:function(e,n,r,o,i){if(e.wnako3EditorId!==v)i(null,[]);else{var u=F.getCompletionItems(r.row,o,t,y);if(u.some((function(e){return e.value===o})))return void i(null,[]);i(null,u)}}},{getCompletions:function(e,t,n,r,o){o(null,e.wnako3EditorId!==v?[]:F.getSnippets(e.session.doc.getAllLines().join("\n")))}}),n.require("ace/ext/language_tools").setCompleters(U),n.require("ace/autocomplete/util").getCompletionPrefix=function(e){var n=e.getCursorPosition();return F.getCompletionPrefix(e.session.doc.getLine(n.row).slice(0,n.column),t)};var g=new F(u,t),_=n.require("ace/lib/oop"),m=n.require("ace/mode/text").Mode,b=function(){this.HighlightRules=(new m).HighlightRules,this.foldingRules={getFoldWidget:g.getFoldWidget.bind(g),getFoldWidgetRange:g.getFoldWidgetRange.bind(g)}};_.inherits(b,m),b.prototype.toggleCommentLines=F.toggleCommentLines.bind(F),b.prototype.getNextLineIndent=F.getNextLineIndent.bind(F),b.prototype.checkOutdent=F.checkOutdent.bind(F),b.prototype.autoOutdent=g.autoOutdent.bind(g),o.session.setMode(new b),o.session.bgTokenizer.stop(),o.session.bgTokenizer=y,o.setTheme("ace/theme/xcode"),q.load(o);var w=n.require("ace/ext/options").OptionPanel;q.initPanel(w,o);var k=document.createElement("div");k.classList.add("button-container"),o.container.appendChild(k);var x=document.createElement("span");x.classList.add("slow-speed-message"),x.innerHTML="<span>エディタの|応答速度が|低下したため|シンタックス|ハイライトを|無効化|しました。</span>".replace(/\|/g,"</span><span>"),k.appendChild(x);var j=[];try{var S=n.require("ace/ext/code_lens");o.setOption("enableCodeLens",!0),o.commands.addCommand({name:"runTest",exec:function(e,t){j.filter((function(e){return"test"===e.name})).forEach((function(e){return e.callback(t[0])}))}}),S.registerCodeLensProvider(o,{provideCodeLenses:function(e,t){t(null,j.some((function(e){return"test"===e.name}))?F.getCodeLens(e.doc):[])}})}catch(e){console.error(e)}var O=function(){o.container.classList.remove("fullscreen"),o.renderer.setScrollMargin(0,0,0,0)},A=document.createElement("span");A.classList.add("editor-button"),A.innerText="全画面表示",A.addEventListener("click",(function(e){o.container.classList.contains("fullscreen")?O():(o.container.classList.add("fullscreen"),o.renderer.setScrollMargin(20,20,0,0)),e.preventDefault()})),k.appendChild(A);var E=document.createElement("span");E.classList.add("editor-button"),E.innerText="設定を開く",E.addEventListener("click",(function(e){O(),o.execCommand("showSettingsMenu"),e.preventDefault()})),k.appendChild(E);var T=n.require("ace/undomanager").UndoManager,M=new D(o,u,T);i.dataset.nako3Resizable&&(new MutationObserver((function(){o.resize()})).observe(o.container,{attributes:!0}),o.renderer.setScrollMargin(4,0,4,0),o.container.classList.add("resizable"));var P=function(){y.dirty=!0};return{editor:o,editorMarkers:a,editorTabs:M,retokenize:P,run:function(e){var n=o.getValue(),i=e.preCode||"",u=t.replaceLogger();if(e.outputContainer){var c=e.outputContainer;u.addListener("info",(function(e){var t=e.html;c||console.log(t),c.style.display="block",c.innerHTML+=t})),e.outputContainer.classList.add("nako3-output-container")}var s=e.file||"main.nako3";u.addListener("info",(function(e){var t=e.position,r=e.noColor,o=e.level;t.file!==s||"warn"!==o&&"error"!==o||a.addByError(n,h(h({},t),{},{message:r}),o)}));var f=t.loadDependencies(i+n,s,i,e.localFiles||{}).then((function(){return"test"===e.method?t.test(i+n,s,i,e.testName):"compile"===e.method?t.compile(i+n,s,!1,i):t.runReset(i+n,s,i)})).catch((function(e){})).then(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:P();case 1:if(!y.dirty){e.next=6;break}return e.next=4,new Promise((function(e){return setTimeout(e,0)}));case 4:e.next=1;break;case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(o,i){var u=e.apply(t,n);function a(e){r(u,o,i,a,c,"next",e)}function c(e){r(u,o,i,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()).catch((function(e){console.error(e)}));return{promise:f,logger:u,code:n}},codeLensListeners:j}},LanguageFeatures:F,EditorMarkers:R,BackgroundTokenizer:N}},9662:function(e,t,n){var r=n(7854),o=n(614),i=n(6330),u=r.TypeError;e.exports=function(e){if(o(e))return e;throw u(i(e)+" is not a function")}},9483:function(e,t,n){var r=n(7854),o=n(4411),i=n(6330),u=r.TypeError;e.exports=function(e){if(o(e))return e;throw u(i(e)+" is not a constructor")}},6077:function(e,t,n){var r=n(7854),o=n(614),i=r.String,u=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw u("Can't set "+i(e)+" as a prototype")}},1223:function(e,t,n){var r=n(5112),o=n(30),i=n(3070),u=r("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),e.exports=function(e){a[u][e]=!0}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:function(e,t,n){var r=n(7854),o=n(7976),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},9670:function(e,t,n){var r=n(7854),o=n(111),i=r.String,u=r.TypeError;e.exports=function(e){if(o(e))return e;throw u(i(e)+" is not an object")}},4019:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},260:function(e,t,n){"use strict";var r,o,i,u=n(4019),a=n(9781),c=n(7854),s=n(614),f=n(111),l=n(2597),p=n(648),h=n(6330),d=n(8880),y=n(1320),v=n(3070).f,g=n(7976),_=n(9518),m=n(7674),b=n(5112),w=n(9711),k=c.Int8Array,x=k&&k.prototype,j=c.Uint8ClampedArray,S=j&&j.prototype,O=k&&_(k),A=x&&_(x),E=Object.prototype,T=c.TypeError,M=b("toStringTag"),P=w("TYPED_ARRAY_TAG"),L=w("TYPED_ARRAY_CONSTRUCTOR"),I=u&&!!m&&"Opera"!==p(c.opera),C=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},F=function(e){if(!f(e))return!1;var t=p(e);return l(R,t)||l(N,t)};for(r in R)(i=(o=c[r])&&o.prototype)?d(i,L,o):I=!1;for(r in N)(i=(o=c[r])&&o.prototype)&&d(i,L,o);if((!I||!s(O)||O===Function.prototype)&&(O=function(){throw T("Incorrect invocation")},I))for(r in R)c[r]&&m(c[r],O);if((!I||!A||A===E)&&(A=O.prototype,I))for(r in R)c[r]&&m(c[r].prototype,A);if(I&&_(S)!==A&&m(S,A),a&&!l(A,M))for(r in C=!0,v(A,M,{get:function(){return f(this)?this[P]:void 0}}),R)c[r]&&d(c[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:L,TYPED_ARRAY_TAG:C&&P,aTypedArray:function(e){if(F(e))return e;throw T("Target is not a typed array")},aTypedArrayConstructor:function(e){if(s(e)&&(!m||g(O,e)))return e;throw T(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(a){if(n)for(var r in R){var o=c[r];if(o&&l(o.prototype,e))try{delete o.prototype[e]}catch(e){}}A[e]&&!n||y(A,e,n?t:I&&x[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(a){if(m){if(n)for(r in R)if((o=c[r])&&l(o,e))try{delete o[e]}catch(e){}if(O[e]&&!n)return;try{return y(O,e,n?t:I&&O[e]||t)}catch(e){}}for(r in R)!(o=c[r])||o[e]&&!n||y(o,e,t)}},isView:function(e){if(!f(e))return!1;var t=p(e);return"DataView"===t||l(R,t)||l(N,t)},isTypedArray:F,TypedArray:O,TypedArrayPrototype:A}},3331:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(9781),u=n(4019),a=n(6530),c=n(8880),s=n(2248),f=n(7293),l=n(5787),p=n(9303),h=n(7466),d=n(7067),y=n(1179),v=n(9518),g=n(7674),_=n(8006).f,m=n(3070).f,b=n(1285),w=n(206),k=n(8003),x=n(9909),j=a.PROPER,S=a.CONFIGURABLE,O=x.get,A=x.set,E="ArrayBuffer",T="DataView",M="Wrong index",P=r.ArrayBuffer,L=P,I=L&&L.prototype,C=r.DataView,R=C&&C.prototype,N=Object.prototype,F=r.Array,D=r.RangeError,q=o(b),U=o([].reverse),B=y.pack,J=y.unpack,G=function(e){return[255&e]},V=function(e){return[255&e,e>>8&255]},$=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},H=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},W=function(e){return B(e,23,4)},z=function(e){return B(e,52,8)},Y=function(e,t){m(e.prototype,t,{get:function(){return O(this)[t]}})},X=function(e,t,n,r){var o=d(n),i=O(e);if(o+t>i.byteLength)throw D(M);var u=O(i.buffer).bytes,a=o+i.byteOffset,c=w(u,a,a+t);return r?c:U(c)},K=function(e,t,n,r,o,i){var u=d(n),a=O(e);if(u+t>a.byteLength)throw D(M);for(var c=O(a.buffer).bytes,s=u+a.byteOffset,f=r(+o),l=0;l<t;l++)c[s+l]=f[i?l:t-l-1]};if(u){var Z=j&&P.name!==E;if(f((function(){P(1)}))&&f((function(){new P(-1)}))&&!f((function(){return new P,new P(1.5),new P(NaN),Z&&!S})))Z&&S&&c(P,"name",E);else{(L=function(e){return l(this,I),new P(d(e))}).prototype=I;for(var Q,ee=_(P),te=0;ee.length>te;)(Q=ee[te++])in L||c(L,Q,P[Q]);I.constructor=L}g&&v(R)!==N&&g(R,N);var ne=new C(new L(2)),re=o(R.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||s(R,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else I=(L=function(e){l(this,I);var t=d(e);A(this,{bytes:q(F(t),0),byteLength:t}),i||(this.byteLength=t)}).prototype,R=(C=function(e,t,n){l(this,R),l(e,I);var r=O(e).byteLength,o=p(t);if(o<0||o>r)throw D("Wrong offset");if(o+(n=void 0===n?r-o:h(n))>r)throw D("Wrong length");A(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)}).prototype,i&&(Y(L,"byteLength"),Y(C,"buffer"),Y(C,"byteLength"),Y(C,"byteOffset")),s(R,{getInt8:function(e){return X(this,1,e)[0]<<24>>24},getUint8:function(e){return X(this,1,e)[0]},getInt16:function(e){var t=X(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=X(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return H(X(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return H(X(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return J(X(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return J(X(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){K(this,1,e,G,t)},setUint8:function(e,t){K(this,1,e,G,t)},setInt16:function(e,t){K(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){K(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){K(this,4,e,$,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){K(this,4,e,$,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){K(this,4,e,W,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){K(this,8,e,z,t,arguments.length>2?arguments[2]:void 0)}});k(L,E),k(C,T),e.exports={ArrayBuffer:L,DataView:C}},1048:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(6244),u=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n),c=o(e,a),s=o(t,a),f=arguments.length>2?arguments[2]:void 0,l=u((void 0===f?a:o(f,a))-s,a-c),p=1;for(s<c&&c<s+l&&(p=-1,s+=l-1,c+=l-1);l-- >0;)s in n?n[c]=n[s]:delete n[c],c+=p,s+=p;return n}},1285:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(6244);e.exports=function(e){for(var t=r(this),n=i(t),u=arguments.length,a=o(u>1?arguments[1]:void 0,n),c=u>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>a;)t[a++]=e;return t}},8533:function(e,t,n){"use strict";var r=n(2092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7745:function(e){e.exports=function(e,t){for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o}},8457:function(e,t,n){"use strict";var r=n(7854),o=n(9974),i=n(6916),u=n(7908),a=n(3411),c=n(7659),s=n(4411),f=n(6244),l=n(6135),p=n(8554),h=n(1246),d=r.Array;e.exports=function(e){var t=u(e),n=s(this),r=arguments.length,y=r>1?arguments[1]:void 0,v=void 0!==y;v&&(y=o(y,r>2?arguments[2]:void 0));var g,_,m,b,w,k,x=h(t),j=0;if(!x||this==d&&c(x))for(g=f(t),_=n?new this(g):d(g);g>j;j++)k=v?y(t[j],j):t[j],l(_,j,k);else for(w=(b=p(t,x)).next,_=n?new this:[];!(m=i(w,b)).done;j++)k=v?a(b,y,[m.value,j],!0):m.value,l(_,j,k);return _.length=j,_}},1318:function(e,t,n){var r=n(5656),o=n(1400),i=n(6244),u=function(e){return function(t,n,u){var a,c=r(t),s=i(c),f=o(u,s);if(e&&n!=n){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((e||f in c)&&c[f]===n)return e||f||0;return!e&&-1}};e.exports={includes:u(!0),indexOf:u(!1)}},2092:function(e,t,n){var r=n(9974),o=n(1702),i=n(8361),u=n(7908),a=n(6244),c=n(5417),s=o([].push),f=function(e){var t=1==e,n=2==e,o=3==e,f=4==e,l=6==e,p=7==e,h=5==e||l;return function(d,y,v,g){for(var _,m,b=u(d),w=i(b),k=r(y,v),x=a(w),j=0,S=g||c,O=t?S(d,x):n||p?S(d,0):void 0;x>j;j++)if((h||j in w)&&(m=k(_=w[j],j,b),e))if(t)O[j]=m;else if(m)switch(e){case 3:return!0;case 5:return _;case 6:return j;case 2:s(O,_)}else switch(e){case 4:return!1;case 7:s(O,_)}return l?-1:o||f?f:O}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},6583:function(e,t,n){"use strict";var r=n(2104),o=n(5656),i=n(9303),u=n(6244),a=n(9341),c=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),p=f||!l;e.exports=p?function(e){if(f)return r(s,this,arguments)||0;var t=o(this),n=u(t),a=n-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:s},1194:function(e,t,n){var r=n(7293),o=n(5112),i=n(7392),u=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[u]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,n){"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},3671:function(e,t,n){var r=n(7854),o=n(9662),i=n(7908),u=n(8361),a=n(6244),c=r.TypeError,s=function(e){return function(t,n,r,s){o(n);var f=i(t),l=u(f),p=a(f),h=e?p-1:0,d=e?-1:1;if(r<2)for(;;){if(h in l){s=l[h],h+=d;break}if(h+=d,e?h<0:p<=h)throw c("Reduce of empty array with no initial value")}for(;e?h>=0:p>h;h+=d)h in l&&(s=n(s,l[h],h,f));return s}};e.exports={left:s(!1),right:s(!0)}},206:function(e,t,n){var r=n(1702);e.exports=r([].slice)},4362:function(e,t,n){var r=n(206),o=Math.floor,i=function(e,t){var n=e.length,c=o(n/2);return n<8?u(e,t):a(e,i(r(e,0,c),t),i(r(e,c),t),t)},u=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},a=function(e,t,n,r){for(var o=t.length,i=n.length,u=0,a=0;u<o||a<i;)e[u+a]=u<o&&a<i?r(t[u],n[a])<=0?t[u++]:n[a++]:u<o?t[u++]:n[a++];return e};e.exports=i},7475:function(e,t,n){var r=n(7854),o=n(3157),i=n(4411),u=n(111),a=n(5112)("species"),c=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(i(t)&&(t===c||o(t.prototype))||u(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?c:t}},5417:function(e,t,n){var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},3411:function(e,t,n){var r=n(9670),o=n(9212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},7072:function(e,t,n){var r=n(5112)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:function(e,t,n){var r=n(7854),o=n(1694),i=n(614),u=n(4326),a=n(5112)("toStringTag"),c=r.Object,s="Arguments"==u(function(){return arguments}());e.exports=o?u:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=c(e),a))?n:s?u(t):"Object"==(r=u(t))&&i(t.callee)?"Arguments":r}},5631:function(e,t,n){"use strict";var r=n(3070).f,o=n(30),i=n(2248),u=n(9974),a=n(5787),c=n(408),s=n(654),f=n(6340),l=n(9781),p=n(2423).fastKey,h=n(9909),d=h.set,y=h.getterFor;e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){a(e,h),d(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),null!=r&&c(r,e[s],{that:e,AS_ENTRIES:n})})),h=f.prototype,v=y(t),g=function(e,t,n){var r,o,i=v(e),u=_(e,t);return u?u.value=n:(i.last=u={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},_=function(e,t){var n,r=v(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(h,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,l?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=_(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),l?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=u(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!_(this,e)}}),i(h,n?{get:function(e){var t=_(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),l&&r(h,"size",{get:function(){return v(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",o=y(t),i=y(r);s(e,t,(function(e,t){d(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(1702),u=n(4705),a=n(1320),c=n(2423),s=n(408),f=n(5787),l=n(614),p=n(111),h=n(7293),d=n(7072),y=n(8003),v=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),m=g?"set":"add",b=o[e],w=b&&b.prototype,k=b,x={},j=function(e){var t=i(w[e]);a(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(_&&!p(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return _&&!p(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(_&&!p(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(u(e,!l(b)||!(_||w.forEach&&!h((function(){(new b).entries().next()})))))k=n.getConstructor(t,e,g,m),c.enable();else if(u(e,!0)){var S=new k,O=S[m](_?{}:-0,1)!=S,A=h((function(){S.has(1)})),E=d((function(e){new b(e)})),T=!_&&h((function(){for(var e=new b,t=5;t--;)e[m](t,t);return!e.has(-0)}));E||((k=t((function(e,t){f(e,w);var n=v(new b,e,k);return null!=t&&s(t,n[m],{that:n,AS_ENTRIES:g}),n}))).prototype=w,w.constructor=k),(A||T)&&(j("delete"),j("has"),g&&j("get")),(T||O)&&j(m),_&&w.clear&&delete w.clear}return x[e]=k,r({global:!0,forced:k!=b},x),y(k,e),_||n.setStrong(k,e,g),k}},9920:function(e,t,n){var r=n(2597),o=n(3887),i=n(1236),u=n(3070);e.exports=function(e,t){for(var n=o(t),a=u.f,c=i.f,s=0;s<n.length;s++){var f=n[s];r(e,f)||a(e,f,c(t,f))}}},4964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:function(e,t,n){var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:function(e,t,n){var r=n(1702),o=n(4488),i=n(1340),u=/"/g,a=r("".replace);e.exports=function(e,t,n,r){var c=i(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+a(i(r),u,""")+'"'),s+">"+c+"</"+t+">"}},4994:function(e,t,n){"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),u=n(8003),a=n(7497),c=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),u(e,s,!1,!0),a[s]=c,e}},8880:function(e,t,n){var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,n){"use strict";var r=n(4948),o=n(3070),i=n(9114);e.exports=function(e,t,n){var u=r(t);u in e?o.f(e,u,i(0,n)):e[u]=n}},654:function(e,t,n){"use strict";var r=n(2109),o=n(6916),i=n(1913),u=n(6530),a=n(614),c=n(4994),s=n(9518),f=n(7674),l=n(8003),p=n(8880),h=n(1320),d=n(5112),y=n(7497),v=n(3383),g=u.PROPER,_=u.CONFIGURABLE,m=v.IteratorPrototype,b=v.BUGGY_SAFARI_ITERATORS,w=d("iterator"),k="keys",x="values",j="entries",S=function(){return this};e.exports=function(e,t,n,u,d,v,O){c(n,t,u);var A,E,T,M=function(e){if(e===d&&R)return R;if(!b&&e in I)return I[e];switch(e){case k:case x:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},P=t+" Iterator",L=!1,I=e.prototype,C=I[w]||I["@@iterator"]||d&&I[d],R=!b&&C||M(d),N="Array"==t&&I.entries||C;if(N&&(A=s(N.call(new e)))!==Object.prototype&&A.next&&(i||s(A)===m||(f?f(A,m):a(A[w])||h(A,w,S)),l(A,P,!0,!0),i&&(y[P]=S)),g&&d==x&&C&&C.name!==x&&(!i&&_?p(I,"name",x):(L=!0,R=function(){return o(C,this)})),d)if(E={values:M(x),keys:v?R:M(k),entries:M(j)},O)for(T in E)(b||L||!(T in I))&&h(I,T,E[T]);else r({target:t,proto:!0,forced:b||L},E);return i&&!O||I[w]===R||h(I,w,R,{name:d}),y[t]=R,E}},7235:function(e,t,n){var r=n(857),o=n(2597),i=n(6061),u=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||u(t,e,{value:i.f(e)})}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),i=r.document,u=o(i)&&o(i.createElement);e.exports=function(e){return u?i.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(e,t,n){var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:function(e,t,n){var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:function(e){e.exports="object"==typeof window},256:function(e,t,n){var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:function(e,t,n){var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:function(e,t,n){var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:function(e,t,n){var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:function(e,t,n){var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(7854),u=n(8113),a=i.process,c=i.Deno,s=a&&a.versions||c&&c.version,f=s&&s.v8;f&&(o=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:function(e,t,n){var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),u=n(1320),a=n(3505),c=n(9920),s=n(4705);e.exports=function(e,t){var n,f,l,p,h,d=e.target,y=e.global,v=e.stat;if(n=y?r:v?r[d]||a(d,{}):(r[d]||{}).prototype)for(f in t){if(p=t[f],l=e.noTargetGet?(h=o(n,f))&&h.value:n[f],!s(y?f:d+(v?".":"#")+f,e.forced)&&void 0!==l){if(typeof p==typeof l)continue;c(p,l)}(e.sham||l&&l.sham)&&i(p,"sham",!0),u(n,f,p,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1702),o=n(1320),i=n(2261),u=n(7293),a=n(5112),c=n(8880),s=a("species"),f=RegExp.prototype;e.exports=function(e,t,n,l){var p=a(e),h=!u((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),d=h&&!u((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!h||!d||n){var y=r(/./[p]),v=t(p,""[e],(function(e,t,n,o,u){var a=r(e),c=t.exec;return c===i||c===f.exec?h&&!u?{done:!0,value:y(t,n,o)}:{done:!0,value:a(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(f,p,v[1])}l&&c(f[p],"sham",!0)}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:function(e){var t=Function.prototype,n=t.apply,r=t.bind,o=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(n):function(){return o.apply(n,arguments)})},9974:function(e,t,n){var r=n(1702),o=n(9662),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?i(e,t):function(){return e.apply(t,arguments)}}},7065:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(9662),u=n(111),a=n(2597),c=n(206),s=r.Function,f=o([].concat),l=o([].join),p={},h=function(e,t,n){if(!a(p,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";p[t]=s("C,a","return new C("+l(r,",")+")")}return p[t](e,n)};e.exports=s.bind||function(e){var t=i(this),n=t.prototype,r=c(arguments,1),o=function(){var n=f(r,c(arguments));return this instanceof o?h(t,n.length,n):t.apply(e,n)};return u(n)&&(o.prototype=n),o}},6916:function(e){var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,s=a&&(!r||r&&u(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:s}},1702:function(e){var t=Function.prototype,n=t.bind,r=t.call,o=n&&n.bind(r);e.exports=n?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},1246:function(e,t,n){var r=n(648),o=n(8173),i=n(7497),u=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,u)||o(e,"@@iterator")||i[r(e)]}},8554:function(e,t,n){var r=n(7854),o=n(6916),i=n(9662),u=n(9670),a=n(6330),c=n(1246),s=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(i(n))return u(o(n,e));throw s(a(e)+" is not iterable")}},8173:function(e,t,n){var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},647:function(e,t,n){var r=n(1702),o=n(7908),i=Math.floor,u=r("".charAt),a=r("".replace),c=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,l,p){var h=n+e.length,d=r.length,y=f;return void 0!==l&&(l=o(l),y=s),a(p,y,(function(o,a){var s;switch(u(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,h);case"<":s=l[c(a,1,-1)];break;default:var f=+a;if(0===f)return o;if(f>d){var p=i(f/10);return 0===p?o:p<=d?void 0===r[p-1]?u(a,1):r[p-1]+u(a,1):o}s=r[f-1]}return void 0===s?"":s}))}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},842:function(e,t,n){var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1179:function(e,t,n){var r=n(7854).Array,o=Math.abs,i=Math.pow,u=Math.floor,a=Math.log,c=Math.LN2;e.exports={pack:function(e,t,n){var s,f,l,p=r(n),h=8*n-t-1,d=(1<<h)-1,y=d>>1,v=23===t?i(2,-24)-i(2,-77):0,g=e<0||0===e&&1/e<0?1:0,_=0;for((e=o(e))!=e||e===1/0?(f=e!=e?1:0,s=d):(s=u(a(e)/c),e*(l=i(2,-s))<1&&(s--,l*=2),(e+=s+y>=1?v/l:v*i(2,1-y))*l>=2&&(s++,l/=2),s+y>=d?(f=0,s=d):s+y>=1?(f=(e*l-1)*i(2,t),s+=y):(f=e*i(2,y-1)*i(2,t),s=0));t>=8;p[_++]=255&f,f/=256,t-=8);for(s=s<<t|f,h+=t;h>0;p[_++]=255&s,s/=256,h-=8);return p[--_]|=128*g,p},unpack:function(e,t){var n,r=e.length,o=8*r-t-1,u=(1<<o)-1,a=u>>1,c=o-7,s=r-1,f=e[s--],l=127&f;for(f>>=7;c>0;l=256*l+e[s],s--,c-=8);for(n=l&(1<<-c)-1,l>>=-c,c+=t;c>0;n=256*n+e[s],s--,c-=8);if(0===l)l=1-a;else{if(l===u)return n?NaN:f?-1/0:1/0;n+=i(2,t),l-=a}return(f?-1:1)*n*i(2,l-t)}}},8361:function(e,t,n){var r=n(7854),o=n(1702),i=n(7293),u=n(4326),a=r.Object,c=o("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==u(e)?c(e,""):a(e)}:a},9587:function(e,t,n){var r=n(614),o=n(111),i=n(7674);e.exports=function(e,t,n){var u,a;return i&&r(u=t.constructor)&&u!==n&&o(a=u.prototype)&&a!==n.prototype&&i(e,a),e}},2788:function(e,t,n){var r=n(1702),o=n(614),i=n(5465),u=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return u(e)}),e.exports=i.inspectSource},2423:function(e,t,n){var r=n(2109),o=n(1702),i=n(3501),u=n(111),a=n(2597),c=n(3070).f,s=n(8006),f=n(1156),l=n(2050),p=n(9711),h=n(6677),d=!1,y=p("meta"),v=0,g=function(e){c(e,y,{value:{objectID:"O"+v++,weakData:{}}})},_=e.exports={enable:function(){_.enable=function(){},d=!0;var e=s.f,t=o([].splice),n={};n[y]=1,e(n).length&&(s.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===y){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(e,t){if(!u(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,y)){if(!l(e))return"F";if(!t)return"E";g(e)}return e[y].objectID},getWeakData:function(e,t){if(!a(e,y)){if(!l(e))return!0;if(!t)return!1;g(e)}return e[y].weakData},onFreeze:function(e){return h&&d&&l(e)&&!a(e,y)&&g(e),e}};i[y]=!0},9909:function(e,t,n){var r,o,i,u=n(8536),a=n(7854),c=n(1702),s=n(111),f=n(8880),l=n(2597),p=n(5465),h=n(6200),d=n(3501),y="Object already initialized",v=a.TypeError,g=a.WeakMap;if(u||p.state){var _=p.state||(p.state=new g),m=c(_.get),b=c(_.has),w=c(_.set);r=function(e,t){if(b(_,e))throw new v(y);return t.facade=e,w(_,e,t),t},o=function(e){return m(_,e)||{}},i=function(e){return b(_,e)}}else{var k=h("state");d[k]=!0,r=function(e,t){if(l(e,k))throw new v(y);return t.facade=e,f(e,k,t),t},o=function(e){return l(e,k)?e[k]:{}},i=function(e){return l(e,k)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),o=n(7497),i=r("iterator"),u=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||u[i]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),o=n(7293),i=n(614),u=n(648),a=n(5005),c=n(2788),s=function(){},f=[],l=a("Reflect","construct"),p=/^\s*(?:class|function)\b/,h=r(p.exec),d=!p.exec(s),y=function(e){if(!i(e))return!1;try{return l(s,f,e),!0}catch(e){return!1}};e.exports=!l||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(u(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!h(p,c(e))}:y},4705:function(e,t,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,u=function(e,t){var n=c[a(e)];return n==f||n!=s&&(o(t)?r(t):!!t)},a=u.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=u.data={},s=u.NATIVE="N",f=u.POLYFILL="P";e.exports=u},5988:function(e,t,n){var r=n(111),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},111:function(e,t,n){var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),o=n(4326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},2190:function(e,t,n){var r=n(7854),o=n(5005),i=n(614),u=n(7976),a=n(3307),c=r.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&u(t.prototype,c(e))}},408:function(e,t,n){var r=n(7854),o=n(9974),i=n(6916),u=n(9670),a=n(6330),c=n(7659),s=n(6244),f=n(7976),l=n(8554),p=n(1246),h=n(9212),d=r.TypeError,y=function(e,t){this.stopped=e,this.result=t},v=y.prototype;e.exports=function(e,t,n){var r,g,_,m,b,w,k,x=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),A=o(t,x),E=function(e){return r&&h(r,"normal",e),new y(!0,e)},T=function(e){return j?(u(e),O?A(e[0],e[1],E):A(e[0],e[1])):O?A(e,E):A(e)};if(S)r=e;else{if(!(g=p(e)))throw d(a(e)+" is not iterable");if(c(g)){for(_=0,m=s(e);m>_;_++)if((b=T(e[_]))&&f(v,b))return b;return new y(!1)}r=l(e,g)}for(w=r.next;!(k=i(w,r)).done;){try{b=T(k.value)}catch(e){h(r,"throw",e)}if("object"==typeof b&&b&&f(v,b))return b}return new y(!1)}},9212:function(e,t,n){var r=n(6916),o=n(9670),i=n(8173);e.exports=function(e,t,n){var u,a;o(e);try{if(!(u=i(e,"return"))){if("throw"===t)throw n;return n}u=r(u,e)}catch(e){a=!0,u=e}if("throw"===t)throw n;if(a)throw u;return o(u),n}},3383:function(e,t,n){"use strict";var r,o,i,u=n(7293),a=n(614),c=n(30),s=n(9518),f=n(1320),l=n(5112),p=n(1913),h=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):d=!0),null==r||u((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=c(r)),a(r[h])||f(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7497:function(e){e.exports={}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},5948:function(e,t,n){var r,o,i,u,a,c,s,f,l=n(7854),p=n(9974),h=n(1236).f,d=n(261).set,y=n(6833),v=n(1528),g=n(1036),_=n(5268),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,k=l.Promise,x=h(l,"queueMicrotask"),j=x&&x.value;j||(r=function(){var e,t;for(_&&(e=w.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?u():i=void 0,e}}i=void 0,e&&e.enter()},y||_||g||!m||!b?!v&&k&&k.resolve?((s=k.resolve(void 0)).constructor=k,f=p(s.then,s),u=function(){f(r)}):_?u=function(){w.nextTick(r)}:(d=p(d,l),u=function(){d(r)}):(a=!0,c=b.createTextNode(""),new m(r).observe(c,{characterData:!0}),u=function(){c.data=a=!a})),e.exports=j||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,u()),i=t}},3366:function(e,t,n){var r=n(7854);e.exports=r.Promise},133:function(e,t,n){var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:function(e,t,n){var r=n(7293),o=n(5112),i=n(1913),u=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(e,t,n){var r=n(7854),o=n(614),i=n(2788),u=r.WeakMap;e.exports=o(u)&&/native code/.test(i(u))},8523:function(e,t,n){"use strict";var r=n(9662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:function(e,t,n){var r=n(7854),o=n(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:function(e,t,n){"use strict";var r=n(9781),o=n(1702),i=n(6916),u=n(7293),a=n(1956),c=n(5181),s=n(5296),f=n(7908),l=n(8361),p=Object.assign,h=Object.defineProperty,d=o([].concat);e.exports=!p||u((function(){if(r&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=p({},e)[n]||a(p({},t)).join("")!=o}))?function(e,t){for(var n=f(e),o=arguments.length,u=1,p=c.f,h=s.f;o>u;)for(var y,v=l(arguments[u++]),g=p?d(a(v),p(v)):a(v),_=g.length,m=0;_>m;)y=g[m++],r&&!i(h,v,y)||(n[y]=v[y]);return n}:p},30:function(e,t,n){var r,o=n(9670),i=n(6048),u=n(748),a=n(3501),c=n(490),s=n(317),f=n(6200),l=f("IE_PROTO"),p=function(){},h=function(e){return"<script>"+e+"</"+"script>"},d=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?d(r):((t=s("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):d(r);for(var n=u.length;n--;)delete y.prototype[u[n]];return y()};a[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[l]=e):n=y(),void 0===t?n:i(n,t)}},6048:function(e,t,n){var r=n(9781),o=n(3070),i=n(9670),u=n(5656),a=n(1956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=u(t),c=a(t),s=c.length,f=0;s>f;)o.f(e,n=c[f++],r[n]);return e}},3070:function(e,t,n){var r=n(7854),o=n(9781),i=n(4664),u=n(9670),a=n(4948),c=r.TypeError,s=Object.defineProperty;t.f=o?s:function(e,t,n){if(u(e),t=a(t),u(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(6916),i=n(5296),u=n(9114),a=n(5656),c=n(4948),s=n(2597),f=n(4664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t),f)try{return l(e,t)}catch(e){}if(s(e,t))return u(!o(i.f,e,t),e[t])}},1156:function(e,t,n){var r=n(4326),o=n(5656),i=n(8006).f,u=n(206),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==r(e)?function(e){try{return i(e)}catch(e){return u(a)}}(e):i(o(e))}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var r=n(7854),o=n(2597),i=n(614),u=n(7908),a=n(6200),c=n(8544),s=a("IE_PROTO"),f=r.Object,l=f.prototype;e.exports=c?f.getPrototypeOf:function(e){var t=u(e);if(o(t,s))return t[s];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof f?l:null}},2050:function(e,t,n){var r=n(7293),o=n(111),i=n(4326),u=n(7556),a=Object.isExtensible,c=r((function(){a(1)}));e.exports=c||u?function(e){return!!o(e)&&((!u||"ArrayBuffer"!=i(e))&&(!a||a(e)))}:a},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),o=n(2597),i=n(5656),u=n(1318).indexOf,a=n(3501),c=r([].push);e.exports=function(e,t){var n,r=i(e),s=0,f=[];for(n in r)!o(a,n)&&o(r,n)&&c(f,n);for(;t.length>s;)o(r,n=t[s++])&&(~u(f,n)||c(f,n));return f}},1956:function(e,t,n){var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(1702),o=n(9670),i=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},4699:function(e,t,n){var r=n(9781),o=n(1702),i=n(1956),u=n(5656),a=o(n(5296).f),c=o([].push),s=function(e){return function(t){for(var n,o=u(t),s=i(o),f=s.length,l=0,p=[];f>l;)n=s[l++],r&&!a(o,n)||c(p,e?[n,o[n]]:o[n]);return p}};e.exports={entries:s(!0),values:s(!1)}},288:function(e,t,n){"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},2140:function(e,t,n){var r=n(7854),o=n(6916),i=n(614),u=n(111),a=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!u(r=o(n,e)))return r;if(i(n=e.valueOf)&&!u(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!u(r=o(n,e)))return r;throw a("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),o=n(1702),i=n(8006),u=n(5181),a=n(9670),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=u.f;return n?c(t,n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},2534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9478:function(e,t,n){var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},2248:function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},1320:function(e,t,n){var r=n(7854),o=n(614),i=n(2597),u=n(8880),a=n(3505),c=n(2788),s=n(9909),f=n(6530).CONFIGURABLE,l=s.get,p=s.enforce,h=String(String).split("String");(e.exports=function(e,t,n,c){var s,l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,v=c&&void 0!==c.name?c.name:t;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||f&&n.name!==v)&&u(n,"name",v),(s=p(n)).source||(s.source=h.join("string"==typeof v?v:""))),e!==r?(l?!y&&e[t]&&(d=!0):delete e[t],d?e[t]=n:u(e,t,n)):d?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},7651:function(e,t,n){var r=n(7854),o=n(6916),i=n(9670),u=n(614),a=n(4326),c=n(2261),s=r.TypeError;e.exports=function(e,t){var n=e.exec;if(u(n)){var r=o(n,e,t);return null!==r&&i(r),r}if("RegExp"===a(e))return o(c,e,t);throw s("RegExp#exec called on incompatible receiver")}},2261:function(e,t,n){"use strict";var r,o,i=n(6916),u=n(1702),a=n(1340),c=n(7066),s=n(2999),f=n(2309),l=n(30),p=n(9909).get,h=n(9441),d=n(7168),y=f("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,g=v,_=u("".charAt),m=u("".indexOf),b=u("".replace),w=u("".slice),k=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=s.UNSUPPORTED_Y||s.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];(k||j||x||h||d)&&(g=function(e){var t,n,r,o,u,s,f,h=this,d=p(h),S=a(e),O=d.raw;if(O)return O.lastIndex=h.lastIndex,t=i(g,O,S),h.lastIndex=O.lastIndex,t;var A=d.groups,E=x&&h.sticky,T=i(c,h),M=h.source,P=0,L=S;if(E&&(T=b(T,"y",""),-1===m(T,"g")&&(T+="g"),L=w(S,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==_(S,h.lastIndex-1))&&(M="(?: "+M+")",L=" "+L,P++),n=new RegExp("^(?:"+M+")",T)),j&&(n=new RegExp("^"+M+"$(?!\\s)",T)),k&&(r=h.lastIndex),o=i(v,E?n:h,L),E?o?(o.input=w(o.input,P),o[0]=w(o[0],P),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:k&&o&&(h.lastIndex=h.global?o.index+o[0].length:r),j&&o&&o.length>1&&i(y,o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&A)for(o.groups=s=l(null),u=0;u<A.length;u++)s[(f=A[u])[0]]=o[f[1]];return o}),e.exports=g},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){var r=n(7293),o=n(7854).RegExp;t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},9441:function(e,t,n){var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:function(e,t,n){var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:function(e,t,n){var r=n(7854).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},3505:function(e,t,n){var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),o=n(3070),i=n(5112),u=n(9781),a=i("species");e.exports=function(e){var t=r(e),n=o.f;u&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},8003:function(e,t,n){var r=n(3070).f,o=n(2597),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3505),i="__core-js_shared__",u=r[i]||o(i,{});e.exports=u},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(e,t,n){var r=n(9670),o=n(9483),i=n(5112)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||null==(n=r(u)[i])?t:o(n)}},3429:function(e,t,n){var r=n(7293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8710:function(e,t,n){var r=n(1702),o=n(9303),i=n(1340),u=n(4488),a=r("".charAt),c=r("".charCodeAt),s=r("".slice),f=function(e){return function(t,n){var r,f,l=i(u(t)),p=o(n),h=l.length;return p<0||p>=h?e?"":void 0:(r=c(l,p))<55296||r>56319||p+1===h||(f=c(l,p+1))<56320||f>57343?e?a(l,p):r:e?s(l,p,p+2):f-56320+(r-55296<<10)+65536}};e.exports={codeAt:f(!1),charAt:f(!0)}},3197:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=2147483647,u=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,c="Overflow: input needs wider integers to process",s=r.RangeError,f=o(a.exec),l=Math.floor,p=String.fromCharCode,h=o("".charCodeAt),d=o([].join),y=o([].push),v=o("".replace),g=o("".split),_=o("".toLowerCase),m=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;r+=36)e=l(e/35);return l(r+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=h(e,n++);if(o>=55296&&o<=56319&&n<r){var i=h(e,n++);56320==(64512&i)?y(t,((1023&o)<<10)+(1023&i)+65536):(y(t,o),n--)}else y(t,o)}return t}(e);var n,r,o=e.length,u=128,a=0,f=72;for(n=0;n<e.length;n++)(r=e[n])<128&&y(t,p(r));var v=t.length,g=v;for(v&&y(t,"-");g<o;){var _=i;for(n=0;n<e.length;n++)(r=e[n])>=u&&r<_&&(_=r);var w=g+1;if(_-u>l((i-a)/w))throw s(c);for(a+=(_-u)*w,u=_,n=0;n<e.length;n++){if((r=e[n])<u&&++a>i)throw s(c);if(r==u){for(var k=a,x=36;;x+=36){var j=x<=f?1:x>=f+26?26:x-f;if(k<j)break;var S=k-j,O=36-j;y(t,p(m(j+S%O))),k=l(S/O)}y(t,p(m(k))),f=b(a,w,g==v),a=0,++g}}++a,++u}return d(t,"")};e.exports=function(e){var t,n,r=[],o=g(v(_(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],y(r,f(u,n)?"xn--"+w(n):n);return d(r,".")}},8415:function(e,t,n){"use strict";var r=n(7854),o=n(9303),i=n(1340),u=n(4488),a=r.RangeError;e.exports=function(e){var t=i(u(this)),n="",r=o(e);if(r<0||r==1/0)throw a("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},3111:function(e,t,n){var r=n(1702),o=n(4488),i=n(1340),u=n(1361),a=r("".replace),c="["+u+"]",s=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(e){return function(t){var n=i(o(t));return 1&e&&(n=a(n,s,"")),2&e&&(n=a(n,f,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},261:function(e,t,n){var r,o,i,u,a=n(7854),c=n(2104),s=n(9974),f=n(614),l=n(2597),p=n(7293),h=n(490),d=n(206),y=n(317),v=n(6833),g=n(5268),_=a.setImmediate,m=a.clearImmediate,b=a.process,w=a.Dispatch,k=a.Function,x=a.MessageChannel,j=a.String,S=0,O={},A="onreadystatechange";try{r=a.location}catch(e){}var E=function(e){if(l(O,e)){var t=O[e];delete O[e],t()}},T=function(e){return function(){E(e)}},M=function(e){E(e.data)},P=function(e){a.postMessage(j(e),r.protocol+"//"+r.host)};_&&m||(_=function(e){var t=d(arguments,1);return O[++S]=function(){c(f(e)?e:k(e),void 0,t)},o(S),S},m=function(e){delete O[e]},g?o=function(e){b.nextTick(T(e))}:w&&w.now?o=function(e){w.now(T(e))}:x&&!v?(u=(i=new x).port2,i.port1.onmessage=M,o=s(u.postMessage,u)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&r&&"file:"!==r.protocol&&!p(P)?(o=P,a.addEventListener("message",M,!1)):o=A in y("script")?function(e){h.appendChild(y("script")).onreadystatechange=function(){h.removeChild(this),E(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:_,clear:m}},863:function(e,t,n){var r=n(1702);e.exports=r(1..valueOf)},1400:function(e,t,n){var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},7067:function(e,t,n){var r=n(7854),o=n(9303),i=n(7466),u=r.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=o(e),n=i(t);if(t!==n)throw u("Wrong length or index");return n}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},7466:function(e,t,n){var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(7854),o=n(4488),i=r.Object;e.exports=function(e){return i(o(e))}},4590:function(e,t,n){var r=n(7854),o=n(3002),i=r.RangeError;e.exports=function(e,t){var n=o(e);if(n%t)throw i("Wrong offset");return n}},3002:function(e,t,n){var r=n(7854),o=n(9303),i=r.RangeError;e.exports=function(e){var t=o(e);if(t<0)throw i("The argument can't be less than 0");return t}},7593:function(e,t,n){var r=n(7854),o=n(6916),i=n(111),u=n(2190),a=n(8173),c=n(2140),s=n(5112),f=r.TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!i(e)||u(e))return e;var n,r=a(e,l);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||u(n))return n;throw f("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},4948:function(e,t,n){var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:function(e,t,n){var r=n(7854),o=n(648),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},6330:function(e,t,n){var r=n(7854).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},9843:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(6916),u=n(9781),a=n(3832),c=n(260),s=n(3331),f=n(5787),l=n(9114),p=n(8880),h=n(5988),d=n(7466),y=n(7067),v=n(4590),g=n(4948),_=n(2597),m=n(648),b=n(111),w=n(2190),k=n(30),x=n(7976),j=n(7674),S=n(8006).f,O=n(7321),A=n(2092).forEach,E=n(6340),T=n(3070),M=n(1236),P=n(9909),L=n(9587),I=P.get,C=P.set,R=T.f,N=M.f,F=Math.round,D=o.RangeError,q=s.ArrayBuffer,U=q.prototype,B=s.DataView,J=c.NATIVE_ARRAY_BUFFER_VIEWS,G=c.TYPED_ARRAY_CONSTRUCTOR,V=c.TYPED_ARRAY_TAG,$=c.TypedArray,H=c.TypedArrayPrototype,W=c.aTypedArrayConstructor,z=c.isTypedArray,Y="BYTES_PER_ELEMENT",X="Wrong length",K=function(e,t){W(e);for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o},Z=function(e,t){R(e,t,{get:function(){return I(this)[t]}})},Q=function(e){var t;return x(U,e)||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},ee=function(e,t){return z(e)&&!w(t)&&t in e&&h(+t)&&t>=0},te=function(e,t){return t=g(t),ee(e,t)?l(2,e[t]):N(e,t)},ne=function(e,t,n){return t=g(t),!(ee(e,t)&&b(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};u?(J||(M.f=te,T.f=ne,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),r({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var u=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",s="get"+e,l="set"+e,h=o[c],g=h,_=g&&g.prototype,m={},w=function(e,t){R(e,t,{get:function(){return function(e,t){var n=I(e);return n.view[s](t*u+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=I(e);n&&(r=(r=F(r))<0?0:r>255?255:255&r),o.view[l](t*u+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};J?a&&(g=t((function(e,t,n,r){return f(e,_),L(b(t)?Q(t)?void 0!==r?new h(t,v(n,u),r):void 0!==n?new h(t,v(n,u)):new h(t):z(t)?K(g,t):i(O,g,t):new h(y(t)),e,g)})),j&&j(g,$),A(S(h),(function(e){e in g||p(g,e,h[e])})),g.prototype=_):(g=t((function(e,t,n,r){f(e,_);var o,a,c,s=0,l=0;if(b(t)){if(!Q(t))return z(t)?K(g,t):i(O,g,t);o=t,l=v(n,u);var p=t.byteLength;if(void 0===r){if(p%u)throw D(X);if((a=p-l)<0)throw D(X)}else if((a=d(r)*u)+l>p)throw D(X);c=a/u}else c=y(t),o=new q(a=c*u);for(C(e,{buffer:o,byteOffset:l,byteLength:a,length:c,view:new B(o)});s<c;)w(e,s++)})),j&&j(g,$),_=g.prototype=k(H)),_.constructor!==g&&p(_,"constructor",g),p(_,G,g),V&&p(_,V,c),m[c]=g,r({global:!0,forced:g!=h,sham:!J},m),Y in g||p(g,Y,u),Y in _||p(_,Y,u),E(c)}):e.exports=function(){}},3832:function(e,t,n){var r=n(7854),o=n(7293),i=n(7072),u=n(260).NATIVE_ARRAY_BUFFER_VIEWS,a=r.ArrayBuffer,c=r.Int8Array;e.exports=!u||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new a(2),1,void 0).length}))},3074:function(e,t,n){var r=n(7745),o=n(6304);e.exports=function(e,t){return r(o(e),t)}},7321:function(e,t,n){var r=n(9974),o=n(6916),i=n(9483),u=n(7908),a=n(6244),c=n(8554),s=n(1246),f=n(7659),l=n(260).aTypedArrayConstructor;e.exports=function(e){var t,n,p,h,d,y,v=i(this),g=u(e),_=arguments.length,m=_>1?arguments[1]:void 0,b=void 0!==m,w=s(g);if(w&&!f(w))for(y=(d=c(g,w)).next,g=[];!(h=o(y,d)).done;)g.push(h.value);for(b&&_>2&&(m=r(m,arguments[2])),n=a(g),p=new(l(v))(n),t=0;n>t;t++)p[t]=b?m(g[t],t):g[t];return p}},6304:function(e,t,n){var r=n(260),o=n(6707),i=r.TYPED_ARRAY_CONSTRUCTOR,u=r.aTypedArrayConstructor;e.exports=function(e){return u(o(e,e[i]))}},9711:function(e,t,n){var r=n(1702),o=0,i=Math.random(),u=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+u(++o+i,36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:function(e,t,n){var r=n(5112);t.f=r},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(2597),u=n(9711),a=n(133),c=n(3307),s=o("wks"),f=r.Symbol,l=f&&f.for,p=c?f:f&&f.withoutSetter||u;e.exports=function(e){if(!i(s,e)||!a&&"string"!=typeof s[e]){var t="Symbol."+e;a&&i(f,e)?s[e]=f[e]:s[e]=c&&l?l(t):p(t)}return s[e]}},1361:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2222:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(7293),u=n(3157),a=n(111),c=n(7908),s=n(6244),f=n(6135),l=n(5417),p=n(1194),h=n(5112),d=n(7392),y=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",_=o.TypeError,m=d>=51||!i((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),b=p("concat"),w=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:u(e)};r({target:"Array",proto:!0,forced:!m||!b},{concat:function(e){var t,n,r,o,i,u=c(this),a=l(u,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(w(i=-1===t?u:arguments[t])){if(p+(o=s(i))>v)throw _(g);for(n=0;n<o;n++,p++)n in i&&f(a,p,i[n])}else{if(p>=v)throw _(g);f(a,p++,i)}return a.length=p,a}})},3290:function(e,t,n){var r=n(2109),o=n(1285),i=n(1223);r({target:"Array",proto:!0},{fill:o}),i("fill")},7327:function(e,t,n){"use strict";var r=n(2109),o=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4553:function(e,t,n){"use strict";var r=n(2109),o=n(2092).findIndex,i=n(1223),u="findIndex",a=!0;u in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(u)},9826:function(e,t,n){"use strict";var r=n(2109),o=n(2092).find,i=n(1223),u="find",a=!0;u in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(u)},1038:function(e,t,n){var r=n(2109),o=n(8457);r({target:"Array",stat:!0,forced:!n(7072)((function(e){Array.from(e)}))},{from:o})},6699:function(e,t,n){"use strict";var r=n(2109),o=n(1318).includes,i=n(1223);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},6992:function(e,t,n){"use strict";var r=n(5656),o=n(1223),i=n(7497),u=n(9909),a=n(654),c="Array Iterator",s=u.set,f=u.getterFor(c);e.exports=a(Array,"Array",(function(e,t){s(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},9600:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(8361),u=n(5656),a=n(9341),c=o([].join),s=i!=Object,f=a("join",",");r({target:"Array",proto:!0,forced:s||!f},{join:function(e){return c(u(this),void 0===e?",":e)}})},1249:function(e,t,n){"use strict";var r=n(2109),o=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},7042:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(3157),u=n(4411),a=n(111),c=n(1400),s=n(6244),f=n(5656),l=n(6135),p=n(5112),h=n(1194),d=n(206),y=h("slice"),v=p("species"),g=o.Array,_=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(e,t){var n,r,o,p=f(this),h=s(p),y=c(e,h),m=c(void 0===t?h:t,h);if(i(p)&&(n=p.constructor,(u(n)&&(n===g||i(n.prototype))||a(n)&&null===(n=n[v]))&&(n=void 0),n===g||void 0===n))return d(p,y,m);for(r=new(void 0===n?g:n)(_(m-y,0)),o=0;y<m;y++,o++)y in p&&l(r,o,p[y]);return r.length=o,r}})},2707:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(9662),u=n(7908),a=n(6244),c=n(1340),s=n(7293),f=n(4362),l=n(9341),p=n(8886),h=n(256),d=n(7392),y=n(8008),v=[],g=o(v.sort),_=o(v.push),m=s((function(){v.sort(void 0)})),b=s((function(){v.sort(null)})),w=l("sort"),k=!s((function(){if(d)return d<70;if(!(p&&p>3)){if(h)return!0;if(y)return y<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:m||!b||!w||!k},{sort:function(e){void 0!==e&&i(e);var t=u(this);if(k)return void 0===e?g(t):g(t,e);var n,r,o=[],s=a(t);for(r=0;r<s;r++)r in t&&_(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<s;)delete t[r++];return t}})},561:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(1400),u=n(9303),a=n(6244),c=n(7908),s=n(5417),f=n(6135),l=n(1194)("splice"),p=o.TypeError,h=Math.max,d=Math.min,y=9007199254740991,v="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!l},{splice:function(e,t){var n,r,o,l,g,_,m=c(this),b=a(m),w=i(e,b),k=arguments.length;if(0===k?n=r=0:1===k?(n=0,r=b-w):(n=k-2,r=d(h(u(t),0),b-w)),b+n-r>y)throw p(v);for(o=s(m,r),l=0;l<r;l++)(g=w+l)in m&&f(o,l,m[g]);if(o.length=r,n<r){for(l=w;l<b-r;l++)_=l+n,(g=l+r)in m?m[_]=m[g]:delete m[_];for(l=b;l>b-r+n;l--)delete m[l-1]}else if(n>r)for(l=b-r;l>w;l--)_=l+n-1,(g=l+r-1)in m?m[_]=m[g]:delete m[_];for(l=0;l<n;l++)m[l+w]=arguments[l+2];return m.length=b-r+n,o}})},8309:function(e,t,n){var r=n(9781),o=n(6530).EXISTS,i=n(1702),u=n(3070).f,a=Function.prototype,c=i(a.toString),s=/^\s*function ([^ (]*)/,f=i(s.exec);r&&!o&&u(a,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(e){return""}}})},1532:function(e,t,n){"use strict";n(7710)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},5438:function(e,t,n){var r=n(2109),o=Math.hypot,i=Math.abs,u=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,a=0,c=arguments.length,s=0;a<c;)s<(n=i(arguments[a++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*u(o)}})},3689:function(e,t,n){var r=n(2109),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},9653:function(e,t,n){"use strict";var r=n(9781),o=n(7854),i=n(1702),u=n(4705),a=n(1320),c=n(2597),s=n(9587),f=n(7976),l=n(2190),p=n(7593),h=n(7293),d=n(8006).f,y=n(1236).f,v=n(3070).f,g=n(863),_=n(3111).trim,m="Number",b=o.Number,w=b.prototype,k=o.TypeError,x=i("".slice),j=i("".charCodeAt),S=function(e){var t=p(e,"number");return"bigint"==typeof t?t:O(t)},O=function(e){var t,n,r,o,i,u,a,c,s=p(e,"number");if(l(s))throw k("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=_(s),43===(t=j(s,0))||45===t){if(88===(n=j(s,2))||120===n)return NaN}else if(48===t){switch(j(s,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(u=(i=x(s,2)).length,a=0;a<u;a++)if((c=j(i,a))<48||c>o)return NaN;return parseInt(i,r)}return+s};if(u(m,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var A,E=function(e){var t=arguments.length<1?0:b(S(e)),n=this;return f(w,n)&&h((function(){g(n)}))?s(Object(t),n,E):t},T=r?d(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),M=0;T.length>M;M++)c(b,A=T[M])&&!c(E,A)&&v(E,A,y(b,A));E.prototype=w,w.constructor=E,a(o,m,E)}},9601:function(e,t,n){var r=n(2109),o=n(1574);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},9720:function(e,t,n){var r=n(2109),o=n(4699).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},5003:function(e,t,n){var r=n(2109),o=n(7293),i=n(5656),u=n(1236).f,a=n(9781),c=o((function(){u(1)}));r({target:"Object",stat:!0,forced:!a||c,sham:!a},{getOwnPropertyDescriptor:function(e,t){return u(i(e),t)}})},9337:function(e,t,n){var r=n(2109),o=n(9781),i=n(3887),u=n(5656),a=n(1236),c=n(6135);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=u(e),o=a.f,s=i(r),f={},l=0;s.length>l;)void 0!==(n=o(r,t=s[l++]))&&c(f,t,n);return f}})},489:function(e,t,n){var r=n(2109),o=n(7293),i=n(7908),u=n(9518),a=n(8544);r({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!a},{getPrototypeOf:function(e){return u(i(e))}})},7941:function(e,t,n){var r=n(2109),o=n(7908),i=n(1956);r({target:"Object",stat:!0,forced:n(7293)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},1539:function(e,t,n){var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},7727:function(e,t,n){"use strict";var r=n(2109),o=n(1913),i=n(3366),u=n(7293),a=n(5005),c=n(614),s=n(6707),f=n(9478),l=n(1320);if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&u((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,a("Promise")),n=c(e);return this.then(n?function(n){return f(t,e()).then((function(){return n}))}:e,n?function(n){return f(t,e()).then((function(){throw n}))}:e)}}),!o&&c(i)){var p=a("Promise").prototype.finally;i.prototype.finally!==p&&l(i.prototype,"finally",p,{unsafe:!0})}},8674:function(e,t,n){"use strict";var r,o,i,u,a=n(2109),c=n(1913),s=n(7854),f=n(5005),l=n(6916),p=n(3366),h=n(1320),d=n(2248),y=n(7674),v=n(8003),g=n(6340),_=n(9662),m=n(614),b=n(111),w=n(5787),k=n(2788),x=n(408),j=n(7072),S=n(6707),O=n(261).set,A=n(5948),E=n(9478),T=n(842),M=n(8523),P=n(2534),L=n(9909),I=n(4705),C=n(5112),R=n(7871),N=n(5268),F=n(7392),D=C("species"),q="Promise",U=L.get,B=L.set,J=L.getterFor(q),G=p&&p.prototype,V=p,$=G,H=s.TypeError,W=s.document,z=s.process,Y=M.f,X=Y,K=!!(W&&W.createEvent&&s.dispatchEvent),Z=m(s.PromiseRejectionEvent),Q="unhandledrejection",ee=!1,te=I(q,(function(){var e=k(V),t=e!==String(V);if(!t&&66===F)return!0;if(c&&!$.finally)return!0;if(F>=51&&/native code/.test(e))return!1;var n=new V((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[D]=r,!(ee=n.then((function(){}))instanceof r)||!t&&R&&!Z})),ne=te||!j((function(e){V.all(e).catch((function(){}))})),re=function(e){var t;return!(!b(e)||!m(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;A((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var u,a,c,s=n[i++],f=o?s.ok:s.fail,p=s.resolve,h=s.reject,d=s.domain;try{f?(o||(2===e.rejection&&ce(e),e.rejection=1),!0===f?u=r:(d&&d.enter(),u=f(r),d&&(d.exit(),c=!0)),u===s.promise?h(H("Promise-chain cycle")):(a=re(u))?l(a,u,p,h):p(u)):h(r)}catch(e){d&&!c&&d.exit(),h(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ue(e)}))}},ie=function(e,t,n){var r,o;K?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(o=s["on"+e])?o(r):e===Q&&T("Unhandled promise rejection",n)},ue=function(e){l(O,s,(function(){var t,n=e.facade,r=e.value;if(ae(e)&&(t=P((function(){N?z.emit("unhandledRejection",r,n):ie(Q,n,r)})),e.rejection=N||ae(e)?2:1,t.error))throw t.value}))},ae=function(e){return 1!==e.rejection&&!e.parent},ce=function(e){l(O,s,(function(){var t=e.facade;N?z.emit("rejectionHandled",t):ie("rejectionhandled",t,e.value)}))},se=function(e,t,n){return function(r){e(t,r,n)}},fe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,oe(e,!0))},le=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw H("Promise can't be resolved itself");var r=re(t);r?A((function(){var n={done:!1};try{l(r,t,se(le,n,e),se(fe,n,e))}catch(t){fe(n,t,e)}})):(e.value=t,e.state=1,oe(e,!1))}catch(t){fe({done:!1},t,e)}}};if(te&&($=(V=function(e){w(this,$),_(e),l(r,this);var t=U(this);try{e(se(le,t),se(fe,t))}catch(e){fe(t,e)}}).prototype,(r=function(e){B(this,{type:q,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d($,{then:function(e,t){var n=J(this),r=n.reactions,o=Y(S(this,V));return o.ok=!m(e)||e,o.fail=m(t)&&t,o.domain=N?z.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&oe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=U(e);this.promise=e,this.resolve=se(le,t),this.reject=se(fe,t)},M.f=Y=function(e){return e===V||e===i?new o(e):X(e)},!c&&m(p)&&G!==Object.prototype)){u=G.then,ee||(h(G,"then",(function(e,t){var n=this;return new V((function(e,t){l(u,n,e,t)})).then(e,t)}),{unsafe:!0}),h(G,"catch",$.catch,{unsafe:!0}));try{delete G.constructor}catch(e){}y&&y(G,$)}a({global:!0,wrap:!0,forced:te},{Promise:V}),v(V,q,!1,!0),g(q),i=f(q),a({target:q,stat:!0,forced:te},{reject:function(e){var t=Y(this);return l(t.reject,void 0,e),t.promise}}),a({target:q,stat:!0,forced:c||te},{resolve:function(e){return E(c&&this===i?V:this,e)}}),a({target:q,stat:!0,forced:ne},{all:function(e){var t=this,n=Y(t),r=n.resolve,o=n.reject,i=P((function(){var n=_(t.resolve),i=[],u=0,a=1;x(e,(function(e){var c=u++,s=!1;a++,l(n,t,e).then((function(e){s||(s=!0,i[c]=e,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Y(t),r=n.reject,o=P((function(){var o=_(t.resolve);x(e,(function(e){l(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},2419:function(e,t,n){var r=n(2109),o=n(5005),i=n(2104),u=n(7065),a=n(9483),c=n(9670),s=n(111),f=n(30),l=n(7293),p=o("Reflect","construct"),h=Object.prototype,d=[].push,y=l((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),v=!l((function(){p((function(){}))})),g=y||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(e,t){a(e),c(t);var n=arguments.length<3?e:a(arguments[2]);if(v&&!y)return p(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(d,r,t),new(i(u,e,r))}var o=n.prototype,l=f(s(o)?o:h),g=i(e,l,t);return s(g)?g:l}})},4603:function(e,t,n){var r=n(9781),o=n(7854),i=n(1702),u=n(4705),a=n(9587),c=n(8880),s=n(3070).f,f=n(8006).f,l=n(7976),p=n(7850),h=n(1340),d=n(7066),y=n(2999),v=n(1320),g=n(7293),_=n(2597),m=n(9909).enforce,b=n(6340),w=n(5112),k=n(9441),x=n(7168),j=w("match"),S=o.RegExp,O=S.prototype,A=o.SyntaxError,E=i(d),T=i(O.exec),M=i("".charAt),P=i("".replace),L=i("".indexOf),I=i("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,N=/a/g,F=new S(R)!==R,D=y.UNSUPPORTED_Y,q=r&&(!F||D||k||x||g((function(){return N[j]=!1,S(R)!=R||S(N)==N||"/a/i"!=S(R,"i")})));if(u("RegExp",q)){for(var U=function(e,t){var n,r,o,i,u,s,f=l(O,this),d=p(e),y=void 0===t,v=[],g=e;if(!f&&d&&y&&e.constructor===U)return e;if((d||l(O,e))&&(e=e.source,y&&(t="flags"in g?g.flags:E(g))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),g=e,k&&"dotAll"in R&&(r=!!t&&L(t,"s")>-1)&&(t=P(t,/s/g,"")),n=t,D&&"sticky"in R&&(o=!!t&&L(t,"y")>-1)&&(t=P(t,/y/g,"")),x&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],u={},a=!1,c=!1,s=0,f="";r<=n;r++){if("\\"===(t=M(e,r)))t+=M(e,++r);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:T(C,I(e,r+1))&&(r+=2,c=!0),o+=t,s++;continue;case">"===t&&c:if(""===f||_(u,f))throw new A("Invalid capture group name");u[f]=!0,i[i.length]=[f,s],c=!1,f="";continue}c?f+=t:o+=t}return[o,i]}(e),e=i[0],v=i[1]),u=a(S(e,t),f?this:O,U),(r||o||v.length)&&(s=m(u),r&&(s.dotAll=!0,s.raw=U(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=M(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+M(e,++r);return o}(e),n)),o&&(s.sticky=!0),v.length&&(s.groups=v)),e!==g)try{c(u,"source",""===g?"(?:)":g)}catch(e){}return u},B=function(e){e in U||s(U,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},J=f(S),G=0;J.length>G;)B(J[G++]);O.constructor=U,U.prototype=O,v(o,"RegExp",U)}b("RegExp")},4916:function(e,t,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(e,t,n){"use strict";var r=n(1702),o=n(6530).PROPER,i=n(1320),u=n(9670),a=n(7976),c=n(1340),s=n(7293),f=n(7066),l="toString",p=RegExp.prototype,h=p.toString,d=r(f),y=s((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),v=o&&h.name!=l;(y||v)&&i(RegExp.prototype,l,(function(){var e=u(this),t=c(e.source),n=e.flags;return"/"+t+"/"+c(void 0===n&&a(p,e)&&!("flags"in p)?d(e):n)}),{unsafe:!0})},189:function(e,t,n){"use strict";n(7710)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},915:function(e,t,n){"use strict";var r=n(2109),o=n(4230);r({target:"String",proto:!0,forced:n(3429)("bold")},{bold:function(){return o(this,"b","","")}})},9841:function(e,t,n){"use strict";var r=n(2109),o=n(8710).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},7852:function(e,t,n){"use strict";var r,o=n(2109),i=n(1702),u=n(1236).f,a=n(7466),c=n(1340),s=n(3929),f=n(4488),l=n(4964),p=n(1913),h=i("".endsWith),d=i("".slice),y=Math.min,v=l("endsWith");o({target:"String",proto:!0,forced:!!(p||v||(r=u(String.prototype,"endsWith"),!r||r.writable))&&!v},{endsWith:function(e){var t=c(f(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:y(a(n),r),i=c(e);return h?h(t,i,o):d(t,o-i.length,o)===i}})},4953:function(e,t,n){var r=n(2109),o=n(7854),i=n(1702),u=n(1400),a=o.RangeError,c=String.fromCharCode,s=String.fromCodePoint,f=i([].join);r({target:"String",stat:!0,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],u(t,1114111)!==t)throw a(t+" is not a valid code point");n[o]=t<65536?c(t):c(55296+((t-=65536)>>10),t%1024+56320)}return f(n,"")}})},2023:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(3929),u=n(4488),a=n(1340),c=n(4964),s=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~s(a(u(this)),a(i(e)),arguments.length>1?arguments[1]:void 0)}})},8783:function(e,t,n){"use strict";var r=n(8710).charAt,o=n(1340),i=n(9909),u=n(654),a="String Iterator",c=i.set,s=i.getterFor(a);u(String,"String",(function(e){c(this,{type:a,string:o(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:function(e,t,n){"use strict";var r=n(6916),o=n(7007),i=n(9670),u=n(7466),a=n(1340),c=n(4488),s=n(8173),f=n(1530),l=n(7651);o("match",(function(e,t,n){return[function(t){var n=c(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](a(n))},function(e){var r=i(this),o=a(e),c=n(t,r,o);if(c.done)return c.value;if(!r.global)return l(r,o);var s=r.unicode;r.lastIndex=0;for(var p,h=[],d=0;null!==(p=l(r,o));){var y=a(p[0]);h[d]=y,""===y&&(r.lastIndex=f(o,u(r.lastIndex),s)),d++}return 0===d?null:h}]}))},2481:function(e,t,n){n(2109)({target:"String",proto:!0},{repeat:n(8415)})},8757:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(6916),u=n(1702),a=n(4488),c=n(614),s=n(7850),f=n(1340),l=n(8173),p=n(7066),h=n(647),d=n(5112),y=n(1913),v=d("replace"),g=RegExp.prototype,_=o.TypeError,m=u(p),b=u("".indexOf),w=u("".replace),k=u("".slice),x=Math.max,j=function(e,t,n){return n>e.length?-1:""===t?n:b(e,t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,u,p,d,S,O,A,E=a(this),T=0,M=0,P="";if(null!=e){if((n=s(e))&&(r=f(a("flags"in g?e.flags:m(e))),!~b(r,"g")))throw _("`.replaceAll` does not allow non-global regexes");if(o=l(e,v))return i(o,e,E,t);if(y&&n)return w(f(E),e,t)}for(u=f(E),p=f(e),(d=c(t))||(t=f(t)),S=p.length,O=x(1,S),T=j(u,p,0);-1!==T;)A=d?f(t(p,T,u)):h(p,u,T,[],void 0,t),P+=k(u,M,T)+A,M=T+S,T=j(u,p,T+O);return M<u.length&&(P+=k(u,M)),P}})},5306:function(e,t,n){"use strict";var r=n(2104),o=n(6916),i=n(1702),u=n(7007),a=n(7293),c=n(9670),s=n(614),f=n(9303),l=n(7466),p=n(1340),h=n(4488),d=n(1530),y=n(8173),v=n(647),g=n(7651),_=n(5112)("replace"),m=Math.max,b=Math.min,w=i([].concat),k=i([].push),x=i("".indexOf),j=i("".slice),S="$0"==="a".replace(/./,"$0"),O=!!/./[_]&&""===/./[_]("a","$0");u("replace",(function(e,t,n){var i=O?"$":"$0";return[function(e,n){var r=h(this),i=null==e?void 0:y(e,_);return i?o(i,e,r,n):o(t,p(r),e,n)},function(e,o){var u=c(this),a=p(e);if("string"==typeof o&&-1===x(o,i)&&-1===x(o,"$<")){var h=n(t,u,a,o);if(h.done)return h.value}var y=s(o);y||(o=p(o));var _=u.global;if(_){var S=u.unicode;u.lastIndex=0}for(var O=[];;){var A=g(u,a);if(null===A)break;if(k(O,A),!_)break;""===p(A[0])&&(u.lastIndex=d(a,l(u.lastIndex),S))}for(var E,T="",M=0,P=0;P<O.length;P++){for(var L=p((A=O[P])[0]),I=m(b(f(A.index),a.length),0),C=[],R=1;R<A.length;R++)k(C,void 0===(E=A[R])?E:String(E));var N=A.groups;if(y){var F=w([L],C,I,a);void 0!==N&&k(F,N);var D=p(r(o,void 0,F))}else D=v(L,a,I,C,N,o);I>=M&&(T+=j(a,M,I)+D,M=I+L.length)}return T+j(a,M)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||O)},3123:function(e,t,n){"use strict";var r=n(2104),o=n(6916),i=n(1702),u=n(7007),a=n(7850),c=n(9670),s=n(4488),f=n(6707),l=n(1530),p=n(7466),h=n(1340),d=n(8173),y=n(206),v=n(7651),g=n(2261),_=n(2999),m=n(7293),b=_.UNSUPPORTED_Y,w=4294967295,k=Math.min,x=[].push,j=i(/./.exec),S=i(x),O=i("".slice),A=!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));u("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=h(s(this)),u=void 0===n?w:n>>>0;if(0===u)return[];if(void 0===e)return[i];if(!a(e))return o(t,i,e,u);for(var c,f,l,p=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,_=new RegExp(e.source,d+"g");(c=o(g,_,i))&&!((f=_.lastIndex)>v&&(S(p,O(i,v,c.index)),c.length>1&&c.index<i.length&&r(x,p,y(c,1)),l=c[0].length,v=f,p.length>=u));)_.lastIndex===c.index&&_.lastIndex++;return v===i.length?!l&&j(_,"")||S(p,""):S(p,O(i,v)),p.length>u?y(p,0,u):p}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=s(this),u=null==t?void 0:d(t,e);return u?o(u,t,r,n):o(i,h(r),t,n)},function(e,r){var o=c(this),u=h(e),a=n(i,o,u,r,i!==t);if(a.done)return a.value;var s=f(o,RegExp),d=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(b?"g":"y"),g=new s(b?"^(?:"+o.source+")":o,y),_=void 0===r?w:r>>>0;if(0===_)return[];if(0===u.length)return null===v(g,u)?[u]:[];for(var m=0,x=0,j=[];x<u.length;){g.lastIndex=b?0:x;var A,E=v(g,b?O(u,x):u);if(null===E||(A=k(p(g.lastIndex+(b?x:0)),u.length))===m)x=l(u,x,d);else{if(S(j,O(u,m,x)),j.length===_)return j;for(var T=1;T<=E.length-1;T++)if(S(j,E[T]),j.length===_)return j;x=m=A}}return S(j,O(u,m)),j}]}),!A,b)},6755:function(e,t,n){"use strict";var r,o=n(2109),i=n(1702),u=n(1236).f,a=n(7466),c=n(1340),s=n(3929),f=n(4488),l=n(4964),p=n(1913),h=i("".startsWith),d=i("".slice),y=Math.min,v=l("startsWith");o({target:"String",proto:!0,forced:!!(p||v||(r=u(String.prototype,"startsWith"),!r||r.writable))&&!v},{startsWith:function(e){var t=c(f(this));s(e);var n=a(y(arguments.length>1?arguments[1]:void 0,t.length)),r=c(e);return h?h(t,r,n):d(t,n,n+r.length)===r}})},1817:function(e,t,n){"use strict";var r=n(2109),o=n(9781),i=n(7854),u=n(1702),a=n(2597),c=n(614),s=n(7976),f=n(1340),l=n(3070).f,p=n(9920),h=i.Symbol,d=h&&h.prototype;if(o&&c(h)&&(!("description"in d)||void 0!==h().description)){var y={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=s(d,this)?new h(e):void 0===e?h():h(e);return""===e&&(y[t]=!0),t};p(v,h),v.prototype=d,d.constructor=v;var g="Symbol(test)"==String(h("test")),_=u(d.toString),m=u(d.valueOf),b=/^Symbol\((.*)\)[^)]+$/,w=u("".replace),k=u("".slice);l(d,"description",{configurable:!0,get:function(){var e=m(this),t=_(e);if(a(y,e))return"";var n=g?k(t,7,-1):w(t,b,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},2165:function(e,t,n){n(7235)("iterator")},2526:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(5005),u=n(2104),a=n(6916),c=n(1702),s=n(1913),f=n(9781),l=n(133),p=n(7293),h=n(2597),d=n(3157),y=n(614),v=n(111),g=n(7976),_=n(2190),m=n(9670),b=n(7908),w=n(5656),k=n(4948),x=n(1340),j=n(9114),S=n(30),O=n(1956),A=n(8006),E=n(1156),T=n(5181),M=n(1236),P=n(3070),L=n(5296),I=n(206),C=n(1320),R=n(2309),N=n(6200),F=n(3501),D=n(9711),q=n(5112),U=n(6061),B=n(7235),J=n(8003),G=n(9909),V=n(2092).forEach,$=N("hidden"),H="Symbol",W=q("toPrimitive"),z=G.set,Y=G.getterFor(H),X=Object.prototype,K=o.Symbol,Z=K&&K.prototype,Q=o.TypeError,ee=o.QObject,te=i("JSON","stringify"),ne=M.f,re=P.f,oe=E.f,ie=L.f,ue=c([].push),ae=R("symbols"),ce=R("op-symbols"),se=R("string-to-symbol-registry"),fe=R("symbol-to-string-registry"),le=R("wks"),pe=!ee||!ee.prototype||!ee.prototype.findChild,he=f&&p((function(){return 7!=S(re({},"a",{get:function(){return re(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=ne(X,t);r&&delete X[t],re(e,t,n),r&&e!==X&&re(X,t,r)}:re,de=function(e,t){var n=ae[e]=S(Z);return z(n,{type:H,tag:e,description:t}),f||(n.description=t),n},ye=function(e,t,n){e===X&&ye(ce,t,n),m(e);var r=k(t);return m(n),h(ae,r)?(n.enumerable?(h(e,$)&&e[$][r]&&(e[$][r]=!1),n=S(n,{enumerable:j(0,!1)})):(h(e,$)||re(e,$,j(1,{})),e[$][r]=!0),he(e,r,n)):re(e,r,n)},ve=function(e,t){m(e);var n=w(t),r=O(n).concat(be(n));return V(r,(function(t){f&&!a(ge,n,t)||ye(e,t,n[t])})),e},ge=function(e){var t=k(e),n=a(ie,this,t);return!(this===X&&h(ae,t)&&!h(ce,t))&&(!(n||!h(this,t)||!h(ae,t)||h(this,$)&&this[$][t])||n)},_e=function(e,t){var n=w(e),r=k(t);if(n!==X||!h(ae,r)||h(ce,r)){var o=ne(n,r);return!o||!h(ae,r)||h(n,$)&&n[$][r]||(o.enumerable=!0),o}},me=function(e){var t=oe(w(e)),n=[];return V(t,(function(e){h(ae,e)||h(F,e)||ue(n,e)})),n},be=function(e){var t=e===X,n=oe(t?ce:w(e)),r=[];return V(n,(function(e){!h(ae,e)||t&&!h(X,e)||ue(r,ae[e])})),r};(l||(K=function(){if(g(Z,this))throw Q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?x(arguments[0]):void 0,t=D(e),n=function(e){this===X&&a(n,ce,e),h(this,$)&&h(this[$],t)&&(this[$][t]=!1),he(this,t,j(1,e))};return f&&pe&&he(X,t,{configurable:!0,set:n}),de(t,e)},C(Z=K.prototype,"toString",(function(){return Y(this).tag})),C(K,"withoutSetter",(function(e){return de(D(e),e)})),L.f=ge,P.f=ye,M.f=_e,A.f=E.f=me,T.f=be,U.f=function(e){return de(q(e),e)},f&&(re(Z,"description",{configurable:!0,get:function(){return Y(this).description}}),s||C(X,"propertyIsEnumerable",ge,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),V(O(le),(function(e){B(e)})),r({target:H,stat:!0,forced:!l},{for:function(e){var t=x(e);if(h(se,t))return se[t];var n=K(t);return se[t]=n,fe[n]=t,n},keyFor:function(e){if(!_(e))throw Q(e+" is not a symbol");if(h(fe,e))return fe[e]},useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(e,t){return void 0===t?S(e):ve(S(e),t)},defineProperty:ye,defineProperties:ve,getOwnPropertyDescriptor:_e}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:me,getOwnPropertySymbols:be}),r({target:"Object",stat:!0,forced:p((function(){T.f(1)}))},{getOwnPropertySymbols:function(e){return T.f(b(e))}}),te)&&r({target:"JSON",stat:!0,forced:!l||p((function(){var e=K();return"[null]"!=te([e])||"{}"!=te({a:e})||"{}"!=te(Object(e))}))},{stringify:function(e,t,n){var r=I(arguments),o=t;if((v(t)||void 0!==e)&&!_(e))return d(t)||(t=function(e,t){if(y(o)&&(t=a(o,this,e,t)),!_(t))return t}),r[1]=t,u(te,null,r)}});if(!Z[W]){var we=Z.valueOf;C(Z,W,(function(e){return a(we,this)}))}J(K,H),F[$]=!0},2990:function(e,t,n){"use strict";var r=n(1702),o=n(260),i=r(n(1048)),u=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(u(this),e,t,arguments.length>2?arguments[2]:void 0)}))},8927:function(e,t,n){"use strict";var r=n(260),o=n(2092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3105:function(e,t,n){"use strict";var r=n(260),o=n(6916),i=n(1285),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return o(i,u(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},5035:function(e,t,n){"use strict";var r=n(260),o=n(2092).filter,i=n(3074),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(u(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:function(e,t,n){"use strict";var r=n(260),o=n(2092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4345:function(e,t,n){"use strict";var r=n(260),o=n(2092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2846:function(e,t,n){"use strict";var r=n(260),o=n(2092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4731:function(e,t,n){"use strict";var r=n(260),o=n(1318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},7209:function(e,t,n){"use strict";var r=n(260),o=n(1318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6319:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(6530).PROPER,u=n(260),a=n(6992),c=n(5112)("iterator"),s=r.Uint8Array,f=o(a.values),l=o(a.keys),p=o(a.entries),h=u.aTypedArray,d=u.exportTypedArrayMethod,y=s&&s.prototype[c],v=!!y&&"values"===y.name,g=function(){return f(h(this))};d("entries",(function(){return p(h(this))})),d("keys",(function(){return l(h(this))})),d("values",g,i&&!v),d(c,g,i&&!v)},8867:function(e,t,n){"use strict";var r=n(260),o=n(1702),i=r.aTypedArray,u=r.exportTypedArrayMethod,a=o([].join);u("join",(function(e){return a(i(this),e)}))},7789:function(e,t,n){"use strict";var r=n(260),o=n(2104),i=n(6583),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,u(this),t>1?[e,arguments[1]]:[e])}))},3739:function(e,t,n){"use strict";var r=n(260),o=n(2092).map,i=n(6304),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(u(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},4483:function(e,t,n){"use strict";var r=n(260),o=n(3671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},9368:function(e,t,n){"use strict";var r=n(260),o=n(3671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},2056:function(e,t,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,u=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=u(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(7854),o=n(260),i=n(6244),u=n(4590),a=n(7908),c=n(7293),s=r.RangeError,f=o.aTypedArray;(0,o.exportTypedArrayMethod)("set",(function(e){f(this);var t=u(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),o=i(r),c=0;if(o+t>n)throw s("Wrong length");for(;c<o;)this[t+c]=r[c++]}),c((function(){new Int8Array(1).set({})})))},678:function(e,t,n){"use strict";var r=n(260),o=n(6304),i=n(7293),u=n(206),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=u(a(this),e,t),r=o(this),i=0,c=n.length,s=new r(c);c>i;)s[i]=n[i++];return s}),i((function(){new Int8Array(1).slice()})))},7462:function(e,t,n){"use strict";var r=n(260),o=n(2092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3824:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(7293),u=n(9662),a=n(4362),c=n(260),s=n(8886),f=n(256),l=n(7392),p=n(8008),h=r.Array,d=c.aTypedArray,y=c.exportTypedArrayMethod,v=r.Uint16Array,g=v&&o(v.prototype.sort),_=!(!g||i((function(){g(new v(2),null)}))&&i((function(){g(new v(2),{})}))),m=!!g&&!i((function(){if(l)return l<74;if(s)return s<67;if(f)return!0;if(p)return p<602;var e,t,n=new v(516),r=h(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));y("sort",(function(e){return void 0!==e&&u(e),m?g(this,e):a(d(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!m||_)},5021:function(e,t,n){"use strict";var r=n(260),o=n(7466),i=n(1400),u=n(6304),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=a(this),r=n.length,c=i(e,r);return new(u(n))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},2974:function(e,t,n){"use strict";var r=n(7854),o=n(2104),i=n(260),u=n(7293),a=n(206),c=r.Int8Array,s=i.aTypedArray,f=i.exportTypedArrayMethod,l=[].toLocaleString,p=!!c&&u((function(){l.call(new c(1))}));f("toLocaleString",(function(){return o(l,p?a(s(this)):s(this),a(arguments))}),u((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!u((function(){c.prototype.toLocaleString.call([1,2])})))},5016:function(e,t,n){"use strict";var r=n(260).exportTypedArrayMethod,o=n(7293),i=n(7854),u=n(1702),a=i.Uint8Array,c=a&&a.prototype||{},s=[].toString,f=u([].join);o((function(){s.call({})}))&&(s=function(){return f(this)});var l=c.toString!=s;r("toString",s,l)},2472:function(e,t,n){n(9843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},7207:function(e,t,n){n(8757)},4747:function(e,t,n){var r=n(7854),o=n(8324),i=n(8509),u=n(8533),a=n(8880),c=function(e){if(e&&e.forEach!==u)try{a(e,"forEach",u)}catch(t){e.forEach=u}};for(var s in o)o[s]&&c(r[s]&&r[s].prototype);c(i)},3948:function(e,t,n){var r=n(7854),o=n(8324),i=n(8509),u=n(6992),a=n(8880),c=n(5112),s=c("iterator"),f=c("toStringTag"),l=u.values,p=function(e,t){if(e){if(e[s]!==l)try{a(e,s,l)}catch(t){e[s]=l}if(e[f]||a(e,f,t),o[t])for(var n in u)if(e[n]!==u[n])try{a(e,n,u[n])}catch(t){e[n]=u[n]}}};for(var h in o)p(r[h]&&r[h].prototype,h);p(i,"DOMTokenList")},1637:function(e,t,n){"use strict";n(6992);var r=n(2109),o=n(7854),i=n(5005),u=n(6916),a=n(1702),c=n(590),s=n(1320),f=n(2248),l=n(8003),p=n(4994),h=n(9909),d=n(5787),y=n(614),v=n(2597),g=n(9974),_=n(648),m=n(9670),b=n(111),w=n(1340),k=n(30),x=n(9114),j=n(8554),S=n(1246),O=n(5112),A=n(4362),E=O("iterator"),T="URLSearchParams",M="URLSearchParamsIterator",P=h.set,L=h.getterFor(T),I=h.getterFor(M),C=i("fetch"),R=i("Request"),N=i("Headers"),F=R&&R.prototype,D=N&&N.prototype,q=o.RegExp,U=o.TypeError,B=o.decodeURIComponent,J=o.encodeURIComponent,G=a("".charAt),V=a([].join),$=a([].push),H=a("".replace),W=a([].shift),z=a([].splice),Y=a("".split),X=a("".slice),K=/\+/g,Z=Array(4),Q=function(e){return Z[e-1]||(Z[e-1]=q("((?:%[\\da-f]{2}){"+e+"})","gi"))},ee=function(e){try{return B(e)}catch(t){return e}},te=function(e){var t=H(e,K," "),n=4;try{return B(t)}catch(e){for(;n;)t=H(t,Q(n--),ee);return t}},ne=/[!'()~]|%20/g,re={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oe=function(e){return re[e]},ie=function(e){return H(J(e),ne,oe)},ue=function(e,t){if(t)for(var n,r,o=Y(t,"&"),i=0;i<o.length;)(n=o[i++]).length&&(r=Y(n,"="),$(e,{key:te(W(r)),value:te(V(r,"="))}))},ae=function(e){this.entries.length=0,ue(this.entries,e)},ce=function(e,t){if(e<t)throw U("Not enough arguments")},se=p((function(e,t){P(this,{type:M,iterator:j(L(e).entries),kind:t})}),"Iterator",(function(){var e=I(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),fe=function(){d(this,le);var e,t,n,r,o,i,a,c,s,f=arguments.length>0?arguments[0]:void 0,l=this,p=[];if(P(l,{type:T,entries:p,updateURL:function(){},updateSearchParams:ae}),void 0!==f)if(b(f))if(e=S(f))for(n=(t=j(f,e)).next;!(r=u(n,t)).done;){if(i=(o=j(m(r.value))).next,(a=u(i,o)).done||(c=u(i,o)).done||!u(i,o).done)throw U("Expected sequence with length 2");$(p,{key:w(a.value),value:w(c.value)})}else for(s in f)v(f,s)&&$(p,{key:s,value:w(f[s])});else ue(p,"string"==typeof f?"?"===G(f,0)?X(f,1):f:w(f))},le=fe.prototype;if(f(le,{append:function(e,t){ce(arguments.length,2);var n=L(this);$(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){ce(arguments.length,1);for(var t=L(this),n=t.entries,r=w(e),o=0;o<n.length;)n[o].key===r?z(n,o,1):o++;t.updateURL()},get:function(e){ce(arguments.length,1);for(var t=L(this).entries,n=w(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){ce(arguments.length,1);for(var t=L(this).entries,n=w(e),r=[],o=0;o<t.length;o++)t[o].key===n&&$(r,t[o].value);return r},has:function(e){ce(arguments.length,1);for(var t=L(this).entries,n=w(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){ce(arguments.length,1);for(var n,r=L(this),o=r.entries,i=!1,u=w(e),a=w(t),c=0;c<o.length;c++)(n=o[c]).key===u&&(i?z(o,c--,1):(i=!0,n.value=a));i||$(o,{key:u,value:a}),r.updateURL()},sort:function(){var e=L(this);A(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=L(this).entries,r=g(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new se(this,"keys")},values:function(){return new se(this,"values")},entries:function(){return new se(this,"entries")}},{enumerable:!0}),s(le,E,le.entries,{name:"entries"}),s(le,"toString",(function(){for(var e,t=L(this).entries,n=[],r=0;r<t.length;)e=t[r++],$(n,ie(e.key)+"="+ie(e.value));return V(n,"&")}),{enumerable:!0}),l(fe,T),r({global:!0,forced:!c},{URLSearchParams:fe}),!c&&y(N)){var pe=a(D.has),he=a(D.set),de=function(e){if(b(e)){var t,n=e.body;if(_(n)===T)return t=e.headers?new N(e.headers):new N,pe(t,"content-type")||he(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:x(0,w(n)),headers:x(0,t)})}return e};if(y(C)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return C(e,arguments.length>1?de(arguments[1]):{})}}),y(R)){var ye=function(e){return d(this,F),new R(e,arguments.length>1?de(arguments[1]):{})};F.constructor=ye,ye.prototype=F,r({global:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:L}},285:function(e,t,n){"use strict";n(8783);var r,o=n(2109),i=n(9781),u=n(590),a=n(7854),c=n(9974),s=n(6916),f=n(1702),l=n(6048),p=n(1320),h=n(5787),d=n(2597),y=n(1574),v=n(8457),g=n(206),_=n(8710).codeAt,m=n(3197),b=n(1340),w=n(8003),k=n(1637),x=n(9909),j=x.set,S=x.getterFor("URL"),O=k.URLSearchParams,A=k.getState,E=a.URL,T=a.TypeError,M=a.parseInt,P=Math.floor,L=Math.pow,I=f("".charAt),C=f(/./.exec),R=f([].join),N=f(1..toString),F=f([].pop),D=f([].push),q=f("".replace),U=f([].shift),B=f("".split),J=f("".slice),G=f("".toLowerCase),V=f([].unshift),$="Invalid scheme",H="Invalid host",W="Invalid port",z=/[a-z]/i,Y=/[\d+-.a-z]/i,X=/\d/,K=/^0x/i,Z=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,ie=function(e,t){var n,r,o;if("["==I(t,0)){if("]"!=I(t,t.length-1))return H;if(!(n=ae(J(t,1,-1))))return H;e.host=n}else if(ye(e)){if(t=m(t),C(te,t))return H;if(null===(n=ue(t)))return H;e.host=n}else{if(C(ne,t))return H;for(n="",r=v(t),o=0;o<r.length;o++)n+=he(r[o],se);e.host=n}},ue=function(e){var t,n,r,o,i,u,a,c=B(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==I(o,0)&&(i=C(K,o)?16:8,o=J(o,8==i?1:2)),""===o)u=0;else{if(!C(10==i?Q:8==i?Z:ee,o))return e;u=M(o,i)}D(n,u)}for(r=0;r<t;r++)if(u=n[r],r==t-1){if(u>=L(256,5-t))return null}else if(u>255)return null;for(a=F(n),r=0;r<n.length;r++)a+=n[r]*L(256,3-r);return a},ae=function(e){var t,n,r,o,i,u,a,c=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,p=function(){return I(e,l)};if(":"==p()){if(":"!=I(e,1))return;l+=2,f=++s}for(;p();){if(8==s)return;if(":"!=p()){for(t=n=0;n<4&&C(ee,p());)t=16*t+M(p(),16),l++,n++;if("."==p()){if(0==n)return;if(l-=n,s>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;l++}if(!C(X,p()))return;for(;C(X,p());){if(i=M(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}c[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==p()){if(l++,!p())return}else if(p())return;c[s++]=t}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(u=s-f,s=7;0!=s&&u>0;)a=c[s],c[s--]=c[f+u-1],c[f+--u]=a;else if(8!=s)return;return c},ce=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)V(t,e%256),e=P(e/256);return R(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=N(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},se={},fe=y({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),le=y({},fe,{"#":1,"?":1,"{":1,"}":1}),pe=y({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),he=function(e,t){var n=_(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e){return d(de,e.scheme)},ve=function(e){return""!=e.username||""!=e.password},ge=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},_e=function(e,t){var n;return 2==e.length&&C(z,I(e,0))&&(":"==(n=I(e,1))||!t&&"|"==n)},me=function(e){var t;return e.length>1&&_e(J(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},be=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&_e(t[0],!0)||t.length--},we=function(e){return"."===e||"%2e"===G(e)},ke={},xe={},je={},Se={},Oe={},Ae={},Ee={},Te={},Me={},Pe={},Le={},Ie={},Ce={},Re={},Ne={},Fe={},De={},qe={},Ue={},Be={},Je={},Ge=function(e,t,n,o){var i,u,a,c,s,f=n||ke,l=0,p="",h=!1,y=!1,_=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=q(t,re,"")),t=q(t,oe,""),i=v(t);l<=i.length;){switch(u=i[l],f){case ke:if(!u||!C(z,u)){if(n)return $;f=je;continue}p+=G(u),f=xe;break;case xe:if(u&&(C(Y,u)||"+"==u||"-"==u||"."==u))p+=G(u);else{if(":"!=u){if(n)return $;p="",f=je,l=0;continue}if(n&&(ye(e)!=d(de,p)||"file"==p&&(ve(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,n)return void(ye(e)&&de[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?f=Re:ye(e)&&o&&o.scheme==e.scheme?f=Se:ye(e)?f=Te:"/"==i[l+1]?(f=Oe,l++):(e.cannotBeABaseURL=!0,D(e.path,""),f=Ue)}break;case je:if(!o||o.cannotBeABaseURL&&"#"!=u)return $;if(o.cannotBeABaseURL&&"#"==u){e.scheme=o.scheme,e.path=g(o.path),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,f=Je;break}f="file"==o.scheme?Re:Ae;continue;case Se:if("/"!=u||"/"!=i[l+1]){f=Ae;continue}f=Me,l++;break;case Oe:if("/"==u){f=Pe;break}f=qe;continue;case Ae:if(e.scheme=o.scheme,u==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.query=o.query;else if("/"==u||"\\"==u&&ye(e))f=Ee;else if("?"==u)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.query="",f=Be;else{if("#"!=u){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.path.length--,f=qe;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.query=o.query,e.fragment="",f=Je}break;case Ee:if(!ye(e)||"/"!=u&&"\\"!=u){if("/"!=u){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,f=qe;continue}f=Pe}else f=Me;break;case Te:if(f=Me,"/"!=u||"/"!=I(p,l+1))continue;l++;break;case Me:if("/"!=u&&"\\"!=u){f=Pe;continue}break;case Pe:if("@"==u){h&&(p="%40"+p),h=!0,a=v(p);for(var m=0;m<a.length;m++){var b=a[m];if(":"!=b||_){var w=he(b,pe);_?e.password+=w:e.username+=w}else _=!0}p=""}else if(u==r||"/"==u||"?"==u||"#"==u||"\\"==u&&ye(e)){if(h&&""==p)return"Invalid authority";l-=v(p).length+1,p="",f=Le}else p+=u;break;case Le:case Ie:if(n&&"file"==e.scheme){f=Fe;continue}if(":"!=u||y){if(u==r||"/"==u||"?"==u||"#"==u||"\\"==u&&ye(e)){if(ye(e)&&""==p)return H;if(n&&""==p&&(ve(e)||null!==e.port))return;if(c=ie(e,p))return c;if(p="",f=De,n)return;continue}"["==u?y=!0:"]"==u&&(y=!1),p+=u}else{if(""==p)return H;if(c=ie(e,p))return c;if(p="",f=Ce,n==Ie)return}break;case Ce:if(!C(X,u)){if(u==r||"/"==u||"?"==u||"#"==u||"\\"==u&&ye(e)||n){if(""!=p){var k=M(p,10);if(k>65535)return W;e.port=ye(e)&&k===de[e.scheme]?null:k,p=""}if(n)return;f=De;continue}return W}p+=u;break;case Re:if(e.scheme="file","/"==u||"\\"==u)f=Ne;else{if(!o||"file"!=o.scheme){f=qe;continue}if(u==r)e.host=o.host,e.path=g(o.path),e.query=o.query;else if("?"==u)e.host=o.host,e.path=g(o.path),e.query="",f=Be;else{if("#"!=u){me(R(g(i,l),""))||(e.host=o.host,e.path=g(o.path),be(e)),f=qe;continue}e.host=o.host,e.path=g(o.path),e.query=o.query,e.fragment="",f=Je}}break;case Ne:if("/"==u||"\\"==u){f=Fe;break}o&&"file"==o.scheme&&!me(R(g(i,l),""))&&(_e(o.path[0],!0)?D(e.path,o.path[0]):e.host=o.host),f=qe;continue;case Fe:if(u==r||"/"==u||"\\"==u||"?"==u||"#"==u){if(!n&&_e(p))f=qe;else if(""==p){if(e.host="",n)return;f=De}else{if(c=ie(e,p))return c;if("localhost"==e.host&&(e.host=""),n)return;p="",f=De}continue}p+=u;break;case De:if(ye(e)){if(f=qe,"/"!=u&&"\\"!=u)continue}else if(n||"?"!=u)if(n||"#"!=u){if(u!=r&&(f=qe,"/"!=u))continue}else e.fragment="",f=Je;else e.query="",f=Be;break;case qe:if(u==r||"/"==u||"\\"==u&&ye(e)||!n&&("?"==u||"#"==u)){if(".."===(s=G(s=p))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(be(e),"/"==u||"\\"==u&&ye(e)||D(e.path,"")):we(p)?"/"==u||"\\"==u&&ye(e)||D(e.path,""):("file"==e.scheme&&!e.path.length&&_e(p)&&(e.host&&(e.host=""),p=I(p,0)+":"),D(e.path,p)),p="","file"==e.scheme&&(u==r||"?"==u||"#"==u))for(;e.path.length>1&&""===e.path[0];)U(e.path);"?"==u?(e.query="",f=Be):"#"==u&&(e.fragment="",f=Je)}else p+=he(u,le);break;case Ue:"?"==u?(e.query="",f=Be):"#"==u?(e.fragment="",f=Je):u!=r&&(e.path[0]+=he(u,se));break;case Be:n||"#"!=u?u!=r&&("'"==u&&ye(e)?e.query+="%27":e.query+="#"==u?"%23":he(u,se)):(e.fragment="",f=Je);break;case Je:u!=r&&(e.fragment+=he(u,fe))}l++}},Ve=function(e){var t,n,r=h(this,$e),o=arguments.length>1?arguments[1]:void 0,u=b(e),a=j(r,{type:"URL"});if(void 0!==o)try{t=S(o)}catch(e){if(n=Ge(t={},b(o)))throw T(n)}if(n=Ge(a,u,null,t))throw T(n);var c=a.searchParams=new O,f=A(c);f.updateSearchParams(a.query),f.updateURL=function(){a.query=b(c)||null},i||(r.href=s(He,r),r.origin=s(We,r),r.protocol=s(ze,r),r.username=s(Ye,r),r.password=s(Xe,r),r.host=s(Ke,r),r.hostname=s(Ze,r),r.port=s(Qe,r),r.pathname=s(et,r),r.search=s(tt,r),r.searchParams=s(nt,r),r.hash=s(rt,r))},$e=Ve.prototype,He=function(){var e=S(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,u=e.path,a=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",ve(e)&&(s+=n+(r?":"+r:"")+"@"),s+=ce(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?u[0]:u.length?"/"+R(u,"/"):"",null!==a&&(s+="?"+a),null!==c&&(s+="#"+c),s},We=function(){var e=S(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Ve(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&ye(e)?t+"://"+ce(e.host)+(null!==n?":"+n:""):"null"},ze=function(){return S(this).scheme+":"},Ye=function(){return S(this).username},Xe=function(){return S(this).password},Ke=function(){var e=S(this),t=e.host,n=e.port;return null===t?"":null===n?ce(t):ce(t)+":"+n},Ze=function(){var e=S(this).host;return null===e?"":ce(e)},Qe=function(){var e=S(this).port;return null===e?"":b(e)},et=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+R(t,"/"):""},tt=function(){var e=S(this).query;return e?"?"+e:""},nt=function(){return S(this).searchParams},rt=function(){var e=S(this).fragment;return e?"#"+e:""},ot=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l($e,{href:ot(He,(function(e){var t=S(this),n=b(e),r=Ge(t,n);if(r)throw T(r);A(t.searchParams).updateSearchParams(t.query)})),origin:ot(We),protocol:ot(ze,(function(e){var t=S(this);Ge(t,b(e)+":",ke)})),username:ot(Ye,(function(e){var t=S(this),n=v(b(e));if(!ge(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=he(n[r],pe)}})),password:ot(Xe,(function(e){var t=S(this),n=v(b(e));if(!ge(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=he(n[r],pe)}})),host:ot(Ke,(function(e){var t=S(this);t.cannotBeABaseURL||Ge(t,b(e),Le)})),hostname:ot(Ze,(function(e){var t=S(this);t.cannotBeABaseURL||Ge(t,b(e),Ie)})),port:ot(Qe,(function(e){var t=S(this);ge(t)||(""==(e=b(e))?t.port=null:Ge(t,e,Ce))})),pathname:ot(et,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],Ge(t,b(e),De))})),search:ot(tt,(function(e){var t=S(this);""==(e=b(e))?t.query=null:("?"==I(e,0)&&(e=J(e,1)),t.query="",Ge(t,e,Be)),A(t.searchParams).updateSearchParams(t.query)})),searchParams:ot(nt),hash:ot(rt,(function(e){var t=S(this);""!=(e=b(e))?("#"==I(e,0)&&(e=J(e,1)),t.fragment="",Ge(t,e,Je)):t.fragment=null}))}),p($e,"toJSON",(function(){return s(He,this)}),{enumerable:!0}),p($e,"toString",(function(){return s(He,this)}),{enumerable:!0}),E){var it=E.createObjectURL,ut=E.revokeObjectURL;it&&p(Ve,"createObjectURL",c(it,E)),ut&&p(Ve,"revokeObjectURL",c(ut,E))}w(Ve,"URL"),o({global:!0,forced:!u,sham:!i},{URL:Ve})},7950:function(e){"use strict";var t="undefined"!=typeof navigator&&0<navigator.userAgent.toLowerCase().indexOf("firefox");function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function r(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function o(e){for(var t=(e=(e="string"!=typeof e?"":e).replace(/\s/g,"")).split(","),n=t.lastIndexOf("");0<=n;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var i={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":t?173:189,"=":t?61:187,";":t?59:186,"'":222,"[":219,"]":221,"\\":220},u={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},a={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},c={16:!1,18:!1,17:!1,91:!1},s={},f=1;f<20;f++)i["f".concat(f)]=111+f;var l=[],p="all",h=[],d=function(e){return i[e.toLowerCase()]||u[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function y(e){p=e||"all"}function v(){return p||"all"}var g=function(e){var t=e.scope,n=e.method,i=e.splitKey,a=void 0===i?"+":i;o(e.key).forEach((function(e){var o,i=e.split(a),c=i.length;e="*"===(e=i[c-1])?"*":d(e);s[e]&&(t=t||v(),o=1<c?r(u,i):[],s[e]=s[e].map((function(e){return n&&e.method!==n||e.scope!==t||!function(e,t){for(var n=e.length<t.length?t:e,r=e.length<t.length?e:t,o=!0,i=0;i<n.length;i++)~r.indexOf(n[i])||(o=!1);return o}(e.mods,o)?e:{}})))}))};function _(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=0<t.mods.length,c)Object.prototype.hasOwnProperty.call(c,o)&&(!c[o]&&~t.mods.indexOf(+o)||c[o]&&!~t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||c[16]||c[18]||c[17]||c[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function m(e){var t=s["*"],n=e.keyCode||e.which||e.charCode;if(b.filter.call(this,e)){if(~l.indexOf(n=93===n||224===n?91:n)||229===n||l.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=a[t];e[t]&&!~l.indexOf(n)?l.push(n):!e[t]&&~l.indexOf(n)?l.splice(l.indexOf(n),1):"metaKey"===t&&e[t]&&3===l.length&&(e.ctrlKey||e.shiftKey||e.altKey||(l=l.slice(l.indexOf(n))))})),n in c){for(var r in c[n]=!0,u)u[r]===n&&(b[r]=!0);if(!t)return}for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(c[o]=e[a[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(~l.indexOf(17)||l.push(17),~l.indexOf(18)||l.push(18),c[17]=!0,c[18]=!0);var i=v();if(t)for(var f=0;f<t.length;f++)t[f].scope===i&&("keydown"===e.type&&t[f].keydown||"keyup"===e.type&&t[f].keyup)&&_(e,t[f],i);if(n in s)for(var p=0;p<s[n].length;p++)if(("keydown"===e.type&&s[n][p].keydown||"keyup"===e.type&&s[n][p].keyup)&&s[n][p].key){for(var h=s[n][p],y=h.key.split(h.splitKey),g=[],m=0;m<y.length;m++)g.push(d(y[m]));g.sort().join("")===l.sort().join("")&&_(e,h,i)}}}function b(e,t,i){l=[];var a=o(e),f=[],p="all",y=document,v=0,g=!1,_=!0,w="+";for(void 0===i&&"function"==typeof t&&(i=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(p=t.scope),t.element&&(y=t.element),t.keyup&&(g=t.keyup),void 0!==t.keydown&&(_=t.keydown),"string"==typeof t.splitKey&&(w=t.splitKey)),"string"==typeof t&&(p=t);v<a.length;v++)f=[],1<(e=a[v].split(w)).length&&(f=r(u,e)),(e="*"===(e=e[e.length-1])?"*":d(e))in s||(s[e]=[]),s[e].push({keyup:g,keydown:_,scope:p,mods:f,shortcut:a[v],method:i,key:a[v],splitKey:w});void 0!==y&&!function(e){return!!~h.indexOf(e)}(y)&&window&&(h.push(y),n(y,"keydown",(function(e){m(e)})),n(window,"focus",(function(){l=[]})),n(y,"keyup",(function(e){m(e),function(e){var t=e.keyCode||e.which||e.charCode,n=l.indexOf(t);if(n<0||l.splice(n,1),e.key&&"meta"==e.key.toLowerCase()&&l.splice(0,l.length),(t=93===t||224===t?91:t)in c)for(var r in c[t]=!1,u)u[r]===t&&(b[r]=!1)}(e)})))}var w,k,x={setScope:y,getScope:v,deleteScope:function(e,t){var n,r,o;for(o in e=e||v(),s)if(Object.prototype.hasOwnProperty.call(s,o))for(n=s[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;v()===e&&y(t||"all")},getPressedKeyCodes:function(){return l.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=d(e)),!!~l.indexOf(e)},filter:function(e){var t=e.target||e.srcElement;return e=t.tagName,!(t.isContentEditable||!("INPUT"!==e&&"TEXTAREA"!==e&&"SELECT"!==e||t.readOnly))},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&g(e)}));else if("object"==typeof e)e.key&&g(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),g({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(s).forEach((function(e){return delete s[e]}))}};for(w in x)Object.prototype.hasOwnProperty.call(x,w)&&(b[w]=x[w]);"undefined"!=typeof window&&(k=window.hotkeys,b.noConflict=function(e){return e&&window.hotkeys===b&&(window.hotkeys=k),b},window.hotkeys=b),e.exports=b},3812:function(e,t,n){e.exports=n(7950)},5666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),u=new E(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var a=S(u,n);if(a){if(a===y)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=f(e,t,n);if("normal"===c.type){if(r=n.done?d:p,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(e,n,u),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l="suspendedStart",p="suspendedYield",h="executing",d="completed",y={};function v(){}function g(){}function _(){}var m={};c(m,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&r.call(w,i)&&(m=w);var k=_.prototype=v.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,u,a){var c=f(e[o],e,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,u,a)}),(function(e){n("throw",e,u,a)})):t.resolve(l).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,a)}))}a(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,u=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return u.next=u}}return{next:M}}function M(){return{value:t,done:!0}}return g.prototype=_,c(k,"constructor",_),c(_,"constructor",g),g.displayName=c(_,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,a,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},x(j.prototype),c(j.prototype,u,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var u=new j(s(t,n,r,o),i);return e.isGeneratorFunction(n)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},x(k),c(k,a,"Generator"),c(k,i,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),s=r.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=e,u.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(u)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7774:function(e,t){!function(e){"use strict";var t="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==t&&t,n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function r(e){return e&&DataView.prototype.isPrototypeOf(e)}if(n.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function l(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function p(e){var t=new FileReader,n=l(t);return t.readAsArrayBuffer(e),n}function h(e){var t=new FileReader,n=l(t);return t.readAsText(e),n}function d(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:n.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:n.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():n.arrayBuffer&&n.blob&&r(e)?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=f(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(p)}),this.text=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return h(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(d(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(e,t){e=u(e),t=a(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[u(e)]},s.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},s.prototype.set=function(e,t){this.map[u(e)]=a(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),c(e)},s.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),c(e)},s.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),c(e)},n.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(e){var t=e.toUpperCase();return g.indexOf(t)>-1?t:e}function m(e,t){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof m){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=_(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e){var t=new s;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function k(e,t){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},v.call(m.prototype),v.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];k.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function j(r,o){return new Promise((function(i,u){var c=new m(r,o);if(c.signal&&c.signal.aborted)return u(new e.DOMException("Aborted","AbortError"));var f=new XMLHttpRequest;function l(){f.abort()}function p(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}f.onload=function(){var e={status:f.status,statusText:f.statusText,headers:w(f.getAllResponseHeaders()||"")};e.url="responseURL"in f?f.responseURL:e.headers.get("X-Request-URL");var t="response"in f?f.response:f.responseText;setTimeout((function(){i(new k(t,e))}),0)},f.onerror=function(){setTimeout((function(){u(new TypeError("Network request failed"))}),0)},f.ontimeout=function(){setTimeout((function(){u(new TypeError("Network request failed"))}),0)},f.onabort=function(){setTimeout((function(){u(new e.DOMException("Aborted","AbortError"))}),0)},f.open(c.method,p(c.url),!0),"include"===c.credentials?f.withCredentials=!0:"omit"===c.credentials&&(f.withCredentials=!1),"responseType"in f&&(n.blob?f.responseType="blob":n.arrayBuffer&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(f.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof s?c.headers.forEach((function(e,t){f.setRequestHeader(t,e)})):Object.getOwnPropertyNames(o.headers).forEach((function(e){f.setRequestHeader(e,a(o.headers[e]))})),c.signal&&(c.signal.addEventListener("abort",l),f.onreadystatechange=function(){4===f.readyState&&c.signal.removeEventListener("abort",l)}),f.send(void 0===c._bodyInit?null:c._bodyInit)}))}j.polyfill=!0,t.fetch||(t.fetch=j,t.Headers=s,t.Request=m,t.Response=k),e.Headers=s,e.Request=m,e.Response=k,e.fetch=j,Object.defineProperty(e,"__esModule",{value:!0})}(t)}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var __webpack_exports__=__webpack_require__(6894)})();
|
|
2
|
+
(function(){var __webpack_modules__={6802:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(6992),n(1539),n(189),n(8783),n(3948),n(8674),n(1249),n(6755),n(9600),n(7941),n(7327),n(561),n(9826),n(2222),n(6699),n(8309),n(4747),n(9601),n(4916),n(5306),n(7042),n(1038),n(2526),n(1817),n(2165),n(5003),n(9337);var h=n(4015),p=n(5720),d=n(8178),y=n(4025),v=n(6464),g=n(4541),_=n(9361),m=n(6655),b=n(8891),w=n(7728),k=n(144),x=k.SourceMappingOfTokenization,j=k.SourceMappingOfIndentSyntax,S=k.OffsetToLineColumn,O=k.subtractSourceMapByPreCodeLength,A=n(7597),E=A.NakoRuntimeError,T=A.NakoLexerError,M=A.NakoImportError,P=A.NakoSyntaxError,L=A.InternalLexerError,I=n(7535),C=n(4688),R=function(e){return JSON.parse(JSON.stringify(e))},N={sync:y};function F(e){if(N[e])return N[e];throw new Error("コードジェネレータの「".concat(e,"」はサポートされていません。"))}var D=function(){"use strict";function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===t&&(t={useBasicPlugin:!0}),this.silent=!0,this.filename="inline",this.options=t,this.__varslist=[{},{},{}],this.__locals={},this.__self=this,this.__vars=this.__varslist[2],this.__globals=[],this.__module={},this.pluginFunclist={},this.funclist={},this.pluginfiles={},this.isSetter=!1,this.commandlist=new Set,this.nako_func={},this.logger=new I,this.prepare=new d(this.logger),this.parser=new h(this.logger),this.lexer=new p(this.logger),this.dependencies={},this.usedFuncs=new Set,this.setFunc=this.addFunc,this.numFailures=0,t.useBasicPlugin&&this.addBasicPlugins()}var t,n,i;return t=e,n=[{key:"addBasicPlugins",value:function(){this.addPluginObject("PluginSystem",_),this.addPluginObject("PluginMath",m),this.addPluginObject("PluginPromise",b),this.addPluginObject("PluginAssert",w)}},{key:"replaceLogger",value:function(){return this.prepare.logger=this.lexer.logger=this.parser.logger=this.logger=new I}},{key:"_loadDependencies",value:function(t,n,r,o){var i=this,a={},s=new e({useBasicPlugin:!0});try{var f=function t(n,r,f){var l,h=[],d=c(e.listRequireStatements(s.rawtokenize(n,0,r,f)).map((function(e){return u(u({},e),o.resolvePath(e.value,e.firstToken))})));try{var y=function(){var e=l.value;if(a.hasOwnProperty(e.filePath))return a[e.filePath].alias.add(e.value),"continue";if(a[e.filePath]={tokens:[],alias:new Set([e.value]),addPluginFile:function(){},funclist:{}},"js"===e.type){var n=o.readJs(e.filePath,e.firstToken);n.sync?a[e.filePath].addPluginFile=function(){i.addPluginFile(e.value,e.filePath,a[e.filePath].funclist=n.value(),!1)}:h.push(n.value.then((function(t){a[e.filePath].addPluginFile=function(){i.addPluginFile(e.value,e.filePath,a[e.filePath].funclist=t(),!1)}})))}else{if("nako3"!==e.type)throw new M("ファイル ".concat(e.value," を読み込めません。未対応の拡張子です。"),e.firstToken.line,e.firstToken.file);var r=o.readNako3(e.filePath,e.firstToken),u=function(n){n="「".concat(e.filePath,"」にプラグイン名設定;")+n+";『メイン』にプラグイン名設定;";var r=i.rawtokenize(n,0,e.filePath);a[e.filePath].tokens=r;var o={};return p.preDefineFunc(R(r),i.logger,o),a[e.filePath].funclist=o,t(n,e.filePath,"")};r.sync?u(r.value):h.push(r.value.then((function(e){return u(e)})))}};for(d.s();!(l=d.n()).done;)y()}catch(e){d.e(e)}finally{d.f()}if(h.length>0)return Promise.all(h)}(t,n,r);return void 0!==f&&f.catch((function(e){throw i.logger.error(e),e})),this.dependencies=a,f}catch(e){throw this.logger.error(e),e}}},{key:"rawtokenize",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!e.startsWith(r))throw new Error("codeの先頭にはpreCodeを含める必要があります。");var o,i=v.convert(e,n),a=i.code,c=i.insertedLines,s=i.deletedLines,f=g.convert(a,n),l=this.prepare.convert(f),h=new x(a.length,l),p=new j(a,c,s),d=new S(e);try{o=this.lexer.setInput(l.map((function(e){return e.text})).join(""),t,n)}catch(e){if(!(e instanceof L))throw e;var y=p.map(h.map(e.preprocessedCodeStartOffset),h.map(e.preprocessedCodeEndOffset)),_=null===y.startOffset?e.line:d.map(y.startOffset,!1).line,m=O(u(u({},y),{},{line:_}),r);throw new T(e.msg,m.startOffset,m.endOffset,m.line,n)}return o.map((function(e,t){var n=p.map(h.map(e.preprocessedCodeOffset),h.map(e.preprocessedCodeOffset+e.preprocessedCodeLength)),o=e.line,i=0;if("eol"===e.type&&null!==n.endOffset){var a=d.map(n.endOffset,!1);o=a.line,i=a.column}else if(null!==n.startOffset){var c=d.map(n.startOffset,!1);o=c.line,i=c.column}return u(u(u({},e),O({line:o,column:i,startOffset:n.startOffset,endOffset:n.endOffset},r)),{},{rawJosi:e.josi})}))}},{key:"converttoken",value:function(e,t){return this.lexer.setInput2(e,t)}},{key:"reset",value:function(){this.__varslist=[this.__varslist[0],{},{}],this.__v0=this.__varslist[0],this.__v1=this.__varslist[1],this.__vars=this.__varslist[2],this.__locals={},this.funclist={};for(var e=0,t=Object.keys(this.__v0);e<t.length;e++){var n=t[e],r=this.pluginFunclist[n];r&&(this.funclist[n]=JSON.parse(JSON.stringify(r)))}this.lexer.setFuncList(this.funclist)}},{key:"lexCodeToken",value:function(e,t,n,r){var o=this.rawtokenize(e,t,n,"");if(null===r){var i,a=c(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;s.startOffset=null,s.endOffset=null}}catch(e){a.e(e)}finally{a.f()}}else{var f,l=c(o);try{for(l.s();!(f=l.n()).done;){var h=f.value;null!==h.startOffset&&(h.startOffset+=r),null!==h.endOffset&&(h.endOffset+=r)}}catch(e){l.e(e)}finally{l.f()}}var p=o.filter((function(e){return"line_comment"===e.type||"range_comment"===e.type})).map((function(e){return u({},e)}));return{tokens:o=this.converttoken(o,!1),commentTokens:p}}},{key:"replaceRequireStatements",value:function(t){var n,r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Set,u=[],a=c(e.listRequireStatements(t).reverse());try{var s=function(){var e=n.value;if(i.has(e.value))return u.push.apply(u,o(t.splice(e.start,e.end-e.start))),"continue";var a=Object.keys(r.dependencies).find((function(t){return r.dependencies[t].alias.has(e.value)}));if(void 0===a)throw new T("ファイル ".concat(e.value," が読み込まれていません。"),e.firstToken.startOffset,e.firstToken.endOffset,e.firstToken.line,e.firstToken.file);r.dependencies[a].addPluginFile();var c=R(r.dependencies[a].tokens);i.add(e.value),u.push.apply(u,o(r.replaceRequireStatements(c,i))),u.push.apply(u,o(t.splice.apply(t,[e.start,e.end-e.start].concat(o(c)))))};for(a.s();!(n=a.n()).done;)s()}catch(e){a.e(e)}finally{a.f()}return u}},{key:"removeRequireStatements",value:function(t){var n,r=this,i=[],u=c(e.listRequireStatements(t).reverse());try{var a=function(){var e=n.value,u=Object.keys(r.dependencies).find((function(t){return r.dependencies[t].alias.has(e.value)}));void 0!==u&&r.dependencies[u].addPluginFile(),i.push.apply(i,o(t.splice(e.start,e.end-e.start)))};for(u.s();!(n=u.n()).done;)a()}catch(e){u.e(e)}finally{u.f()}return i}},{key:"lex",value:function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this.rawtokenize(e,0,t,r),s=i?this.removeRequireStatements(a):this.replaceRequireStatements(a,void 0),f=c(s);try{for(f.s();!(n=f.n()).done;){var l=n.value;"word"!==l.type&&"not"!==l.type||(l.type="require")}}catch(e){f.e(e)}finally{f.f()}var h=a.filter((function(e){return"line_comment"===e.type||"range_comment"===e.type})).map((function(e){return u({},e)}));a=this.converttoken(a,!0);for(var p=0;p<a.length;p++)if("code"===a[p].type){var d,y=this.lexCodeToken(a[p].value,a[p].line,t,a[p].startOffset);h.push.apply(h,o(y.commentTokens)),(d=a).splice.apply(d,[p,1].concat(o(y.tokens))),p--}return this.logger.trace("--- lex ---\n"+JSON.stringify(a,null,2)),{commentTokens:h,tokens:a,requireTokens:s}}},{key:"parse",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.lexer.setFuncList(this.funclist),this.parser.setFuncList(this.funclist);var r,o=this.lex(e,t,n);try{this.parser.genMode="sync",r=this.parser.parse(o.tokens)}catch(e){if("number"!=typeof e.startOffset)throw P.fromNode(e.message,o.tokens[this.parser.index]);throw e}return this.usedFuncs=this.getUsedFuncs(r),this.logger.trace("--- ast ---\n"+JSON.stringify(r,null,2)),r}},{key:"getUsedFuncs",value:function(e){var t=[e];for(this.usedFuncs=new Set;t.length>0;){var n=t.pop();null!=n&&null!==n.block&&void 0!==n.block&&this.getUsedAndDefFuncs(t,JSON.parse(JSON.stringify(n.block)))}return this.deleteUnNakoFuncs()}},{key:"getUsedAndDefFuncs",value:function(e,t){for(;t.length>0;){var n=t.pop();null!=n&&this.getUsedAndDefFunc(n,e,t)}}},{key:"getUsedAndDefFunc",value:function(e,t,n){["func","func_pointer"].includes(e.type)&&null!==e.name&&void 0!==e.name&&this.usedFuncs.add(e.name),t.push.apply(t,[e,e.block]),n.push.apply(n,[e.value].concat(e.args))}},{key:"deleteUnNakoFuncs",value:function(){var e,t=c(this.usedFuncs);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.commandlist.has(n)||this.usedFuncs.delete(n)}}catch(e){t.e(e)}finally{t.f()}return this.usedFuncs}},{key:"compile",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=this.parse(e,t,r);return F(o.genMode).generate(this,o,n).runtimeEnv}},{key:"_run",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i={resetLog:n,testOnly:r};return this._runEx(e,t,i,o)}},{key:"clearPlugins",value:function(){this.__globals.forEach((function(e){e.reset()}))}},{key:"_runEx",value:function(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4?arguments[4]:void 0;try{var u=Object.assign({resetEnv:!0,testOnly:!1,resetAll:!0},n);u.resetEnv&&this.reset(),u.resetAll&&this.clearPlugins();var a=this.parse(e,t,o);r=F(a.genMode).generate(this,a,u.testOnly)}catch(e){throw this.logger.error(e),e}i=i||new C(this,r.gen),this.__globals.indexOf(i)<0&&this.__globals.push(i);try{return new Function(r.runtimeEnv).apply(i),i}catch(e){var c=e;throw e instanceof E||(c=new E(e,i.__varslist[0].line)),this.logger.error(c),c}}},{key:"runEx",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return this._runEx(e,t,n,r)}},{key:"test",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;return this._runEx(e,t,{testOnly:r||!0},n)}},{key:"run",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return this._runEx(e,t,{resetAll:!1},n)}},{key:"runReset",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return this._runEx(e,t,{resetAll:!0},n)}},{key:"compileStandalone",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=this.parse(e,t,r);return F(o.genMode).generate(this,o,n).standalone}},{key:"addPlugin",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.__varslist[0];for(var r in void 0===n.meta&&(n.meta={}),e){var o=e[r];if(this.funclist[r]=o,t&&(this.pluginFunclist[r]=JSON.parse(JSON.stringify(o))),"func"===o.type)n[r]=o.fn;else{if("const"!==o.type&&"var"!==o.type)throw new Error("プラグインの追加でエラー。");n[r]=o.value,n.meta[r]={readonly:"const"===o.type}}"初期化"!==r&&"!"!==r.substr(0,1)&&this.commandlist.add(r)}}},{key:"addPluginObject",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(this.__module[e]=t,this.pluginfiles[e]="*","object"===r(t["初期化"])){var o=t["初期化"];delete t["初期化"];var i="!".concat(e,":初期化");t[i]=o}if(t.meta&&t.meta.value&&"object"===r(t.meta)){var u=t.meta;delete t.meta;var a=u.value.pluginName||e,c="__".concat(a).replace("-","__");t[c]=u}this.addPlugin(t,n)}},{key:"addPluginFile",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.addPluginObject(e,n,r),void 0===this.pluginfiles[e]&&(this.pluginfiles[e]=t)}},{key:"addFunc",value:function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.funclist[e]={josi:t,fn:n,type:"func",return_none:r},this.pluginFunclist[e]=R(this.funclist[e]),this.__varslist[0][e]=n}},{key:"getFunc",value:function(e){return this.funclist[e]}},{key:"addCodeGenerator",value:function(e,t){N[e]=t}}],i=[{key:"listRequireStatements",value:function(e){for(var t=[],n=0;n+2<e.length;n++)"not"!==e[n].type||"string"!==e[n+1].type&&"string_ex"!==e[n+1].type||"取込"!==e[n+2].value||(t.push({start:n,end:n+3,value:e[n+1].value+"",firstToken:e[n],lastToken:e[n+2]}),n+=2);return t}}],n&&l(t.prototype,n),i&&l(t,i),e}();e.exports=D},1269:function(e,t,n){n(4916),n(5306),n(2222);var r=["black","red","green","yellow","blue","magenta","cyan","white"];e.exports={convertColorTextFormat:function(e){var t,n=e.replace(/\x1b\[\d+m/g,""),o=[],i="inherit",u="inherit",a=e===n?n:e.replace(/\x1b\[(\d+)m/g,(function(e,t){var n=+t;return 0===n&&(i="inherit",u="inherit"),1===n&&(u="bold"),n>=30&&n<=37&&(i=r[n-30]),o.push("color: ".concat(i,"; font-weight: ").concat(u,";")),"%c"})),c="inherit",s="inherit";return{noColor:n,nodeConsole:e===n?n:e+"[0m",html:e===n?n:"<span>"+(t=e,t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")).replace(/\x1b\[(\d+)m/g,(function(e,t){var n=+t;return 0===n&&(c="inherit",s="inherit"),1===n&&(s="bold"),n>=30&&n<=37&&(c=r[n-30]),'</span><span style="color: '.concat(c,"; font-weight: ").concat(s,';">')}))+"</span>",browserConsole:[a].concat(o)}},colorNames:r,color:{reset:"[0m",bold:"[1m",black:"[30m",red:"[31m",green:"[32m",yellow:"[33m",blue:"[34m",magenta:"[35m",cyan:"[36m",white:"[37m"}}},7597:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function a(e){var t=l();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,p(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),h(r,e)},s(e)}function f(e,t,n){return f=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&h(o,n.prototype),o},f.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}n(2222),n(489),n(8309),n(4916),n(1539),n(9714),n(2419),n(6992),n(1532),n(8783),n(3948),n(2526),n(1817),n(2165);var d=n(7785),y=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o,u){var a;i(this,n);var c="".concat(o||"").concat(void 0===u?"":"(".concat(u+1,"行目): "));return(a=t.call(this,"[".concat(e,"]").concat(c).concat(r,"\n[バージョン] ").concat(d.version))).tag="["+e+"]",a.positionJa=c,a.msg=r,a}return n}(s(Error)),v=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o){var u;return i(this,n),(u=t.call(this,"インデントエラー",e,o,r)).line=r,u.file=o,u}return n}(y),g=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o,u,a){var c;return i(this,n),(c=t.call(this,"字句解析エラー(内部エラー)",e,a,u)).preprocessedCodeStartOffset=r,c.preprocessedCodeEndOffset=o,c.line=u,c.file=a,c}return n}(y),_=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o,u,a){var c;return i(this,n),(c=t.call(this,"字句解析エラー",e,a,u)).startOffset=r,c.endOffset=o,c.line=u,c.file=a,c}return n}(y),m=function(e){"use strict";u(s,e);var t,n,r,c=a(s);function s(e,t,n,r,o){var u;return i(this,s),(u=c.call(this,"文法エラー",e,o,t)).file=o,u.line=t,u.startOffset=n,u.endOffset=r,u}return t=s,r=[{key:"fromNode",value:function(e,t,n){if(!t)return new s(e,void 0,null,null,void 0);var r="number"==typeof t.startOffset?t.startOffset:null,o=n&&"number"==typeof n.endOffset?n.endOffset:"number"==typeof t.endOffset?t.endOffset:null;return new s(e,t.line,r,o,t.file)}}],(n=null)&&o(t.prototype,n),r&&o(t,r),s}(y),b=function(e){"use strict";u(n,e);var t=a(n);function n(e,r){var o;i(this,n);var u,a,c,s=e instanceof Error&&e.constructor!==Error&&e.constructor!==n?e.constructor.name+": ":"",f=e instanceof Error?e.message:e+"";return void 0===r?(u=void 0,a=void 0):(c=/^l(-?\d+):(.*)$/.exec(r))?(u=+c[1],a=c[2]):(c=/^l(-?\d+)$/.exec(r))?(u=+c[1],a=void 0):(u=void 0,a=r),(o=t.call(this,"実行時エラー","エラー『".concat(s).concat(f,"』が発生しました。"),a,u)).error=e,o.lineNo=r,o.line=u,o.file=a,o}return n}(y),w=function(e){"use strict";u(n,e);var t=a(n);function n(e,r,o){var u;return i(this,n),(u=t.call(this,"取り込みエラー",e,o,r)).file=o,u.line=r,u}return n}(y);e.exports={NakoError:y,NakoIndentError:v,NakoLexerError:_,InternalLexerError:g,NakoSyntaxError:m,NakoRuntimeError:b,NakoImportError:w}},4541:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(4916),n(5306),n(3123),n(4723),n(2222),n(9600),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);n(7597).NakoIndentError;var i=n(8178),u=["!DNCLモード"];function a(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function c(e,t){e=function(e){for(var t=new i,n="",r=!1,o="",u=0;u<e.length;u++){var a=e.charAt(u),c=t.convert1ch(a);if(r){if(c===o){r=!1,o="",n+=c;continue}n+=a}else"「"!==c?'"'!==c?("{"===c&&(c="["),"}"===c&&(c="]"),"←"===c&&(c="="),n+=c):(r=!0,o='"',n+=c):(r=!0,o="」",n+=c)}return n}(e);for(var n=e.split("\n"),r=0;r<n.length;r++){var o=n[r];n[r]=o.replace(/^(\s*[|\s]+)(.*$)/,(function(e,t,n){return a(t.length)+n}));var u=o.replace(/^\s+/,"").replace(/\s+$/,"");"繰り返し,"!==u&&"繰り返し"!==u||(n[r]="後判定で繰り返し");var s=o.match(/^\s*を,?(.+)になるまで(繰り返す|実行する)/);if(s)n[r]="ここまで、(".concat(s[1],")になるまでの間");else{var f=o.match(/^もし(.+)を実行する(。|.)*/);if(f){var l=c(f[1],t);n[r]="もし、".concat(l,";")}else{var h=o.match(/^(.+?)のすべての(要素|値)(を|に)(.+?)(にする|を代入)/);if(h){var p=h[1],d=h[4];n[r]="".concat(p," = [").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,",").concat(d,"]")}else;}}}e=n.join("\n");for(var y={"を実行する":"ここまで","を実行し,そうでなくもし":"違えば、もし","を実行し,そうでなくもし":"違えば、もし","を実行し、そうでなくもし":"違えば、もし","を実行し,そうでなければ":"違えば","を実行し,そうでなければ":"違えば","を実行し、そうでなければ":"違えば","を繰り返す":"ここまで","改行なしで表示":"連続無改行表示","ずつ増やしながら":"ずつ増やし繰り返す","ずつ減らしながら":"ずつ減らし繰り返す","二進で表示":"二進表示","でないならば":"でなければ"},v=function(){var t=e.charAt(0);return e=e.substring(1),t},g=!1,_="",m="",b="";""!=e;){var w=e.charAt(0);if(g){if(w===m){b+=_+m,_="",g=!1,v();continue}_+=v()}else if('"'!=w)if("「"!=w)if("『"!=w)if(" "!==w&&" "!==w&&"\t"!=w){var k=e.substring(0,3);if("を表示"!==k)if("を 表示"!==e.substring(0,4))if("乱数"!==e.substring(0,2)||"乱数範囲"===e.substring(0,4)){"増やす"!==k&&"減らす"!==k||("だけ"!==b.substring(b.length-2)&&(b+="だけ"),b+=k,e=e.substring(3));var x=!1;for(var j in y){if(e.substring(0,j.length)===j){b+=y[j],e=e.substring(j.length),x=!0;break}}x||(b+=v())}else b+="乱数範囲",e=e.substring(2);else b+="を連続表示",e=e.substring(4);else b+="を連続表示",e=e.substring(3)}else b+=v();else g=!0,m="』",_=v();else g=!0,m="」",_=v();else g=!0,m='"',_=v()}return b}e.exports={convert:function(e,t){return function(e){var t,n=u,o=r(e.split("\n",30));try{for(o.s();!(t=o.n()).done;){var i=t.value.replace("!","!");if(n.indexOf(i)>=0)return!0}}catch(e){o.e(e)}finally{o.f()}return!1}(e=e.replace(/(\r\n|\r)/g,"\n"))?c(e,t):e}}},4025:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(6992),n(1539),n(189),n(8783),n(3948),n(1249),n(7941),n(2222),n(1038),n(9714),n(8309),n(4916),n(5306),n(9600),n(3123),n(6699),n(2023),n(2481),n(4747),n(2526),n(7327),n(5003),n(9337),n(1817),n(2165),n(7042);var f=n(7597),l=f.NakoSyntaxError,h=f.NakoError,p=f.NakoRuntimeError,d=n(7785),y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.nako_func=a({},t.nako_func),this.nako_test={},this.used_func=new Set,this.loop_id=1,this.flagLoop=!1,this.__self=t,this.genMode="sync",this.lastLineNo=null,this.varslistSet=t.__varslist.map((function(e){return{isFunction:!1,names:new Set(Object.keys(e)),readonly:new Set}})),this.varsSet={isFunction:!1,names:new Set,readonly:new Set},this.varslistSet[2]=this.varsSet,this.speedMode={lineNumbers:0,implicitTypeCasting:0,invalidSore:0,forcePure:0},this.performanceMonitor={userFunction:0,systemFunction:0,systemFunctionBody:0},this.warnUndefinedReturnUserFunc=1,this.warnUndefinedCallingUserFuncArgs=1,this.warnUndefinedCallingSystemFuncArgs=1,this.warnUndefinedCalledUserFuncArgs=1}var t,n,o;return t=e,o=[{key:"generate",value:function(t,n,r){var o=new e(t);o.registerFunction(n);var i=o.convGen(n,!!r);return(i=o.getDefFuncCode(r)+i)&&r&&(i+="\n__self._runTests(__tests);\n"),t.logger.trace("--- generate ---\n"+i),{runtimeEnv:i,standalone:"const nakoVersion = ".concat(JSON.stringify(d),";\n").concat(h.toString(),"\n").concat(p.toString(),"\nthis.logger = {\n error(message) { console.error(message) },\n send(level, message) { console.log(message) },\n};\nthis.__varslist = [{}, {}, {}];\nthis.__vars = this.__varslist[2];\nthis.__module = {};\nthis.__locals = {};\nthis.__genMode = 'sync';\ntry {\n ").concat(o.getVarsCode(),"\n ").concat(i,"\n} catch (err) {\n if (!(err instanceof NakoRuntimeError)) {\n err = new NakoRuntimeError(err, __varslist[0].line);\n }\n this.logger.error(err);\n throw err;\n}"),gen:o}}},{key:"isValidIdentifier",value:function(e){return/^(?!(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$)[$A-Z_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc][$A-Z_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc0-9\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19b0-\u19c0\u19c8\u19c9\u19d0-\u19d9\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf2-\u1cf4\u1dc0-\u1de6\u1dfc-\u1dff\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f1\ua900-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]*$/.test(e)}},{key:"getFuncName",value:function(e){var t=e.replace(/[ぁ-ん]+$/,"");return""===t&&(t=e),t}},{key:"convPrint",value:function(e){return"__print(".concat(e,");")}},{key:"convRequire",value:function(e){var t=e.value;return this.convLineno(e,!1)+"__module['".concat(t,"'] = require('").concat(t,"');\n")}}],(n=[{key:"convLineno",value:function(e,t){if(this.speedMode.lineNumbers>0)return"";var n;if(n="number"!=typeof e.line?"unknown":"string"!=typeof e.file?"l".concat(e.line):"l".concat(e.line,":").concat(e.file),!t){if(n===this.lastLineNo)return"";this.lastLineNo=n}return"__v0.line=".concat(JSON.stringify(n),";")}},{key:"varname",value:function(t){return 3===this.varslistSet.length?"__varslist[".concat(2,"][",JSON.stringify(t),"]"):e.isValidIdentifier(t)?t:"__vars[".concat(JSON.stringify(t),"]")}},{key:"getVarsCode",value:function(){for(var e="",t=0,n=Array.from(this.used_func.values());t<n.length;t++){var r=n[t],o=this.__self.__varslist[0][r],i='this.__varslist[0]["'.concat(r,'"]');e+="function"==typeof o?i+"="+o.toString()+";\n":i+"="+JSON.stringify(o)+";\n"}return e}},{key:"getDefFuncCode",value:function(e){var t="";t+="const __self = this.__self = this;\n",t+="const __varslist = this.__varslist;\n",t+="const __module = this.__module;\n",t+="const __v0 = this.__v0 = this.__varslist[0];\n",t+="const __v1 = this.__v1 = this.__varslist[1];\n",t+="const __vars = this.__vars = this.__varslist[2];\n";var n="";for(var r in this.nako_func){var o=this.nako_func[r].fn;n+=""+"//[DEF_FUNC name='".concat(r,"']\n")+'__v1["'.concat(r,'"]=').concat(o,";\n;")+"//[/DEF_FUNC name='".concat(r,"']\n")}""!==n&&(t+="__v0.line='関数の定義';\n"+n);var i="";for(var u in this.__self.__module){var a="!".concat(u,":初期化");this.varslistSet[0].names.has(a)&&(this.used_func.add("!".concat(u,":初期化")),i+='__v0["!'.concat(u,':初期化"](__self);\n'))}if(""!==i&&(t+="__v0.line='プラグインの初期化';\n"+i),e){var c="const __tests = [];\n";for(var s in this.nako_test)if(!0===e||"string"==typeof e&&e===s){var f=this.nako_test[s].fn;c+="".concat(f,";\n;")}""!==c&&(t+="__v0.line='テストの定義';\n",t+=c+"\n")}return t}},{key:"addPlugin",value:function(e){return this.__self.addPlugin(e)}},{key:"addPluginObject",value:function(e,t){this.__self.addPluginObject(e,t)}},{key:"addPluginFile",value:function(e,t,n){this.__self.addPluginFile(e,t,n)}},{key:"addFunc",value:function(e,t,n){this.__self.addFunc(e,t,n)}},{key:"setFunc",value:function(e,t){this.__self.setFunc(e,t)}},{key:"getFunc",value:function(e){return this.__self.getFunc(e)}},{key:"registerFunction",value:function(e){var t=this;if("block"!==e.type)throw l.fromNode("構文解析に失敗しています。構文は必ずblockが先頭になります",e);!function e(n){for(var r=0;r<n.block.length;r++){var o=n.block[r];if("def_func"===o.type){var i=o.name.value;t.used_func.add(i),t.__self.__varslist[1][i]=function(){},t.nako_func[i]={josi:o.name.meta.josi,fn:"",type:"func"}}else("speed_mode"===o.type||"performance_monitor"===o.type)&&("block"===o.block.type?e(o.block):e(o))}}(e);var n=new Set;0===this.speedMode.invalidSore&&n.add("それ"),this.varsSet={isFunction:!1,names:n,readonly:new Set},this.varslistSet=this.__self.__varslist.map((function(e){return{isFunction:!1,names:new Set(Object.keys(e)),readonly:new Set}})),this.varslistSet[2]=this.varsSet}},{key:"convGen",value:function(e,t){var n=this.convLineno(e,!1)+this._convGen(e,!0);return t?"":n}},{key:"_convGen",value:function(t,n){var r="";if(t instanceof Array){for(var o=0;o<t.length;o++){var u=t[o];r+=this._convGen(u,n)}return r}if(null===t)return"null";if(void 0===t)return"undefined";if("object"!==i(t))return""+t;switch(t.type){case"nop":break;case"block":for(var a=0;a<t.block.length;a++){var c=t.block[a];r+=this._convGen(c,!1)}break;case"comment":case"eol":r+=this.convComment(t);break;case"break":r+=this.convCheckLoop(t,"break");break;case"continue":r+=this.convCheckLoop(t,"continue");break;case"end":r+="__varslist[0]['終']();";break;case"number":r+=t.value;break;case"string":r+=this.convString(t);break;case"def_local_var":r+=this.convDefLocalVar(t);break;case"def_local_varlist":r+=this.convDefLocalVarlist(t);break;case"let":r+=this.convLet(t);break;case"inc":r+=this.convInc(t);break;case"word":case"variable":r+=this.convGetVar(t);break;case"op":case"calc":r+=this.convOp(t);break;case"renbun":r+=this.convRenbun(t);break;case"not":r+="(("+this._convGen(t.value,!0)+")?0:1)";break;case"func":case"func_pointer":case"calc_func":r+=this.convFunc(t,n);break;case"if":r+=this.convIf(t);break;case"tikuji":r+=this.convTikuji(t);break;case"for":r+=this.convFor(t);break;case"foreach":r+=this.convForeach(t);break;case"repeat_times":r+=this.convRepeatTimes(t);break;case"speed_mode":r+=this.convSpeedMode(t,n);break;case"performance_monitor":r+=this.convPerformanceMonitor(t,n);break;case"while":r+=this.convWhile(t);break;case"atohantei":r+=this.convAtohantei(t);break;case"switch":r+=this.convSwitch(t);break;case"let_array":r+=this.convLetArray(t);break;case"配列参照":r+=this.convRefArray(t);break;case"json_array":r+=this.convJsonArray(t);break;case"json_obj":r+=this.convJsonObj(t);break;case"func_obj":r+=this.convFuncObj(t);break;case"bool":r+=t.value?"true":"false";break;case"null":r+="null";break;case"def_test":r+=this.convDefTest(t);break;case"def_func":r+=this.convDefFunc(t);break;case"return":r+=this.convReturn(t);break;case"try_except":r+=this.convTryExcept(t);break;case"require":r+=e.convRequire(t);break;default:throw new Error("System Error: unknown_type="+t.type)}return r}},{key:"findVar",value:function(e){if(this.varslistSet.length>3&&this.varsSet.names.has(e))return{i:this.varslistSet.length-1,name:e,isTop:!0,js:this.varname(e)};for(var t=2;t>=0;t--)if(this.varslistSet[t].names.has(e))return{i:t,name:e,isTop:!1,js:"__varslist[".concat(t,"][").concat(JSON.stringify(e),"]")};return null}},{key:"genVar",value:function(e,t){var n=this.findVar(e),r=t.line;if(null===n)return"引数"===e||"それ"===e||"対象"===e||"対象キー"===e||this.__self.logger.warn("変数『".concat(e,"』は定義されていません。"),t),this.varsSet.names.add(e),this.varname(e);if(0===n.i){var o=this.__self.funclist[e];if(!o)return"".concat(n.js,"/*err:").concat(r,"*/");if("const"===o.type||"var"===o.type)return n.js;if("func"===o.type){if(0===o.josi.length)return"(".concat(n.js,"())");throw l.fromNode("『".concat(e,"』が複文で使われました。単文で記述してください。(v1非互換)"),t)}throw l.fromNode("『".concat(e,"』は関数であり参照できません。"),t)}return n.js}},{key:"convGetVar",value:function(e){var t=e.value;return this.genVar(t,e)}},{key:"convComment",value:function(e){var t=String(e.value);t=t.replace(/\n/g,"¶");var n=this.convLineno(e,!1);return""===t&&""===n?";":""===t?";"+n+"\n":";"+n+"//"+t+"\n"}},{key:"convReturn",value:function(e){if(this.varsSet.names.has("!関数"))throw l.fromNode("『戻る』がありますが、関数定義内のみで使用可能です。",e);var t,n=this.convLineno(e,!1);if(e.value)t=this._convGen(e.value,!0);else{if(0!==this.speedMode.invalidSore)return n+"return;";t=this.varname("それ")}return 0===this.warnUndefinedReturnUserFunc?n+"return ".concat(t,";"):n+"return (function(a){if(a===undefined){__self.logger.warn('ユーザ関数からundefinedが返されています',{file:'".concat(e.file,"',line:").concat(e.line,"});};return a;})(").concat(t,");")}},{key:"convCheckLoop",value:function(e,t){if(!this.flagLoop){var n="continue"===t?"続ける":"抜ける";throw l.fromNode("『".concat(n,"』文がありますが、それは繰り返しの中で利用してください。"),e)}return this.convLineno(e.line)+t+";"}},{key:"convDefFuncCommon",value:function(t,n){var r="",o="";if(0!==this.performanceMonitor.userFunction){var i=n;i||(void 0===this.performanceMonitor.mumeiId&&(this.performanceMonitor.mumeiId=0),this.performanceMonitor.mumeiId++,i="anous_".concat(this.performanceMonitor.mumeiId)),r="const performanceMonitorEnd = (function (key, type) {\nconst uf_start = performance.now() * 1000;\nreturn function () {\nconst el_time = performance.now() * 1000 - uf_start;\nif (!__self.__performance_monitor) {\n__self.__performance_monitor={};\n__self.__performance_monitor[key] = { called:1, totel_usec: el_time, min_usec: el_time, max_usec: el_time, type: type };\n} else if (!__self.__performance_monitor[key]) {\n__self.__performance_monitor[key] = { called:1, totel_usec: el_time, min_usec: el_time, max_usec: el_time, type: type };\n} else {\n__self.__performance_monitor[key].called++;\n__self.__performance_monitor[key].totel_usec+=el_time;\nif(__self.__performance_monitor[key].min_usec>el_time){__self.__performance_monitor[key].min_usec=el_time;}\nif(__self.__performance_monitor[key].max_usec<el_time){__self.__performance_monitor[key].max_usec=el_time;}\n"+"}};})('".concat(i,"', 'user');")+"try {\n",o="} finally { performanceMonitorEnd(); }\n"}var u="",a=new Set;0===this.speedMode.invalidSore&&a.add("それ"),this.varsSet={isFunction:!0,names:a,readonly:new Set},this.varslistSet.push(this.varsSet),u+=" var 引数 = arguments;\n",u+=" var __vars = {};\n";for(var c=Array.from(this.varsSet.names.values()),s="",f=n?t.name.meta:t.meta,l=0;l<f.varnames.length;l++){var h=f.varnames[l];0===this.warnUndefinedCalledUserFunc?s+=" ".concat(this.varname(h)," = arguments[").concat(l,"];\n"):s+=n?" ".concat(this.varname(h)," = (function(a){if(a===undefined){__self.logger.warn('ユーザ関数(").concat(n,")の引数(").concat(this.varname(h),")にundefinedが渡されました',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(arguments[").concat(l,"]);\n"):" ".concat(this.varname(h)," = (function(a){if(a===undefined){__self.logger.warn('匿名関数の引数(").concat(this.varname(h),")にundefinedが渡されました',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(arguments[").concat(l,"]);\n"),this.varsSet.names.add(h)}n&&(this.used_func.add(n),this.varslistSet[1].names.add(n),this.nako_func[n]={josi:t.name.meta.josi,fn:"",type:"func"}),s+=this._convGen(t.block,!1).split("\n").map((function(e){return" "+e})).join("\n")+"\n",0===this.speedMode.invalidSore&&(s+=" return (".concat(this.varname("それ"),");\n")),s+=o;for(var p=0,d=Array.from(this.varsSet.names.values());p<d.length;p++){var y=d[p];c.includes(y)||!e.isValidIdentifier(y)||(u+=" var ".concat(y,";\n"))}return e.isValidIdentifier("それ")||this.speedMode.invalidSore,0===this.speedMode.invalidSore&&(e.isValidIdentifier("それ")?u+=" var それ = '';\n":u+=" ".concat(this.varname("それ")," = '';")),s="(function(){\n"+r+u+s,s+="})",n&&(this.nako_func[n].fn=s),this.varslistSet.pop(),this.varsSet=this.varslistSet[this.varslistSet.length-1],n&&(this.__self.__varslist[1][n]=s),s}},{key:"convDefTest",value:function(e){var t=e.name.value,n="__tests.push({ name: '".concat(t,"', f: () => {\n"),r=this._convGen(e.block,!1);return n+=" ".concat(r,"\n")+"}});",this.nako_test[t]={josi:e.name.meta.josi,fn:n,type:"test_func"},""}},{key:"convDefFunc",value:function(t){var n=e.getFuncName(t.name.value);return this.convDefFuncCommon(t,n),""}},{key:"convFuncObj",value:function(e){return this.convDefFuncCommon(e,"")}},{key:"convJsonObj",value:function(e){var t=this;return"{"+e.value.map((function(e){var n=t._convGen(e.key,!0),r=t._convGen(e.value,!0);return"".concat(n,":").concat(r)})).join(",")+"}"}},{key:"convJsonArray",value:function(e){var t=this;return"["+e.value.map((function(e){return t._convGen(e,!0)})).join(",")+"]"}},{key:"convRefArray",value:function(e){for(var t=this._convGen(e.name,!0),n=e.index,r=t,o=0;o<n.length;o++)r+="["+this._convGen(n[o],!0)+"]";return r}},{key:"convLetArray",value:function(e){var t=this._convGen(e.name,!0),n=e.index,r="",o=t,i="";if(e.checkInit){var u="[0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0]";r+="\n/*配列初期化*/if (!(".concat(t," instanceof Array)) { ").concat(t," = ").concat(u,"; console.log('初期化:").concat(t,"') };");for(var a=0;a<n.length-1;a++){var c=this._convGen(n[a],!0);i+="[".concat(c,"]"),r+="\n/*配列初期化".concat(a,"*/if (!(").concat(t).concat(i," instanceof Array)) { ").concat(t).concat(i," = ").concat(u,"; };")}r+="\n"}for(var s=0;s<n.length;s++)o+="["+this._convGen(n[s],!0)+"]";return o+=" = "+this._convGen(e.value,!0)+";\n",this.convLineno(e,!1)+r+o}},{key:"convGenLoop",value:function(e){var t=this.flagLoop;this.flagLoop=!0;try{return this._convGen(e,!1)}finally{this.flagLoop=t}}},{key:"convFor",value:function(e){var t;if(null!==e.word){var n=e.word.value;this.varsSet.names.add(n),t=this.varname(n)}else this.varsSet.names.add("dummy"),t=this.varname("dummy");var r=this.loop_id++,o="$nako_i".concat(r),i=this._convGen(e.from,!0),u=this._convGen(e.to,!0),a=this._convGen(e.inc,!0);null!=a&&null!=a&&"null"!=a||(a=1);var c=this.convGenLoop(e.block),s="$nako_from".concat(r),f="$nako_to".concat(r),l="";0===this.speedMode.invalidSore&&(l="".concat(this.varname("それ")," = "));var h="\n//[FOR id=".concat(r,"]\n")+"const ".concat(s," = ").concat(i,";\n")+"const ".concat(f," = ").concat(u,";\n")+"if (".concat(s," <= ").concat(f,") { // up\n")+" for (let ".concat(o," = ").concat(s,"; ").concat(o," <= ").concat(f,"; ").concat(o,"+= ").concat(a,") {\n")+" ".concat(l).concat(t," = ").concat(o,";\n")+" ".concat(c,"\n")+" };\n} else { // down\n"+" for (let ".concat(o," = ").concat(s,"; ").concat(o," >= ").concat(f,"; ").concat(o,"-= ").concat(a,") {\n")+" ".concat(l).concat(t," = ").concat(o,";")+"\n"+" ".concat(c,"\n")+" };\n"+"};\n//[/FOR id=".concat(r,"]\n");return this.convLineno(e,!1)+h}},{key:"convForeach",value:function(e){var t;if(null===e.target){if(0!==this.speedMode.invalidSore)throw l.fromNode("『反復』の対象がありません。",e);t=this.varname("それ")}else t=this._convGen(e.target,!0);var n='__v0["対象"]';e.name&&(n=this.varname(e.name.value),this.varsSet.names.add(e.name.value));var r=this.convGenLoop(e.block),o=this.loop_id++,i="";0===this.speedMode.invalidSore&&(i="".concat(this.varname("それ")," = "));var u="let $nako_foreach_v".concat(o,"=").concat(t,";\n")+"for (let $nako_i".concat(o," in $nako_foreach_v").concat(o,")")+"{\n"+" if ($nako_foreach_v".concat(o,".hasOwnProperty($nako_i").concat(o,")) {\n")+" ".concat(n," = ").concat(i,"$nako_foreach_v").concat(o,"[$nako_i").concat(o,"];")+"\n"+" ".concat('__v0["対象キー"]'," = $nako_i").concat(o,";\n")+" ".concat(r,"\n")+" }\n};\n";return this.convLineno(e,!1)+u}},{key:"convRepeatTimes",value:function(e){var t=this.loop_id++,n=this._convGen(e.value,!0),r=this.convGenLoop(e.block),o="";0===this.speedMode.invalidSore&&(o="".concat(this.varname("それ")," = "));var i="let $nako_times_v".concat(t," = ").concat(n,";\n")+"for(var $nako_i".concat(t," = 1; $nako_i").concat(t," <= $nako_times_v").concat(t,"; $nako_i").concat(t,"++)")+"{\n"+" ".concat(o).concat('__v0["回数"]'," = $nako_i").concat(t,";")+"\n "+r+"\n}\n";return this.convLineno(e,!1)+i}},{key:"convSpeedMode",value:function(e,t){var n=a({},this.speedMode);e.options["行番号無し"]&&this.speedMode.lineNumbers++,e.options["暗黙の型変換無し"]&&this.speedMode.implicitTypeCasting++,e.options["強制ピュア"]&&this.speedMode.forcePure++,e.options["それ無効"]&&this.speedMode.invalidSore++;try{return this._convGen(e.block,t)}finally{this.speedMode=n}}},{key:"convPerformanceMonitor",value:function(e,t){var n=a({},this.performanceMonitor);e.options["ユーザ関数"]&&this.performanceMonitor.userFunction++,e.options["システム関数本体"]&&this.performanceMonitor.systemFunctionBody++,e.options["システム関数"]&&this.performanceMonitor.systemFunction++;try{return this._convGen(e.block,t)}finally{this.performanceMonitor=n}}},{key:"convWhile",value:function(e){var t=this._convGen(e.cond,!0),n=this.convGenLoop(e.block),r="while (".concat(t,")")+"{\n"+" ".concat(n)+"\n}\n";return this.convLineno(e,!1)+r}},{key:"convAtohantei",value:function(e){var t=this.loop_id++,n="$nako_i".concat(t),r=this._convGen(e.cond,!0),o=this.convGenLoop(e.block),i="for(;;) {\n"+" ".concat(o,"\n")+" let ".concat(n," = ").concat(r,";\n")+" if (".concat(n,") { continue } else { break }\n")+"}\n\n";return this.convLineno(e,!1)+i}},{key:"convSwitch",value:function(e){for(var t=this._convGen(e.value,!0),n=e.cases,r="",o=0;o<n.length;o++){var i=n[o][0],u=this.convGenLoop(n[o][1]);if("違えば"===i.type)r+=" default:\n";else{var a=this._convGen(i,!0);r+=" case ".concat(a,":\n")}r+=" ".concat(u,"\n")+" break\n"}var c="switch (".concat(t,")")+"{\n"+"".concat(r)+"\n}\n";return this.convLineno(e,!1)+c}},{key:"convIf",value:function(e){var t=this._convGen(e.expr,!0),n=this._convGen(e.block,!1),r=null===e.false_block?"":"else {"+this._convGen(e.false_block,!1)+"};\n";return this.convLineno(e,!1)+"if (".concat(t,") {\n ").concat(n,"\n}")+r+";\n"}},{key:"convTikuji",value:function(e){for(var t=this.loop_id++,n="__tikuji".concat(t),r="const ".concat(n," = []\n"),o=0;o<e.blocks.length;o++){var i=this._convGen(e.blocks[o],!1).replace(/\s+$/,"")+"\n",u=this.convLineno(e.blocks[o],!0);r+="".concat(n,".push(function(resolve, reject) {\n")+" __self.resolve = resolve;\n __self.reject = reject;\n __self.resolveCount = 0;\n"+" ".concat(u,"\n")+" ".concat(i)+" if (__self.resolveCount === 0) resolve();\n}); // end of tikuji__${pid}[{$i}]\n"}r+="// end of ".concat(n," \n");var a=" ".concat(n,".splice(0);\n")+' __v0["エラーメッセージ"]=errMsg;\n';return null!=e.errorBlock&&(a+=this._convGen(e.errorBlock,!1).replace(/\s+$/,"")+"\n"),r+="const ".concat(n,"__reject = function(errMsg){\n").concat(a,"};\n"),r+="__self.resolve = undefined;\n",r+="const ".concat(n,"__resolve = function(){\n"),r+=" setTimeout(function(){\n",r+=" if (".concat(n,".length == 0) {return}\n"),r+=" const f = ".concat(n,".shift()\n"),r+=" f(".concat(n,"__resolve, ").concat(n,"__reject);\n"),r+=" }, 0);\n",r+="};\n",r+="".concat(n,"__resolve()\n"),this.convLineno(e,!1)+r}},{key:"convFuncGetArgsCalcType",value:function(e,t,n){for(var r=[],o={},i=0;i<n.args.length;i++){var u=n.args[i];0===i&&null===u&&0===this.speedMode.invalidSore?(r.push(this.varname("それ")),o.sore=!0):r.push(this._convGen(u,!0))}return[r,o]}},{key:"getPluginList",value:function(){var e=[];for(var t in this.__self.__module)e.push(t);return e}},{key:"convFunc",value:function(t,n){var o,i=e.getFuncName(t.name),u=this.findVar(i);if(null===u)throw l.fromNode("関数『".concat(i,"』が見当たりません。有効プラグイン=[")+this.getPluginList().join(", ")+"]",t);if(0===u.i){if("func"!==(o=this.__self.funclist[i]).type)throw l.fromNode("『".concat(i,"』は関数ではありません。"),t)}else void 0===(o=this.nako_func[i])&&(o={return_none:!1});if("func_pointer"===t.type)return u.js;var a=this.convFuncGetArgsCalcType(i,o,t),c=a[0],s=a[1];this.used_func.add(i),c.push("__self");var f="function",h="",p="";if(t.setter&&(h+=";__self.isSetter = true;\n",p+=";__self.isSetter = false;\n"),0===u.i&&this.varslistSet.length>3&&!0!==o.pure&&0===this.speedMode.forcePure){for(var d=[],y=0,v=Array.from(this.varsSet.names.values());y<v.length;y++){var g=v[y];e.isValidIdentifier(g)&&d.push({str:JSON.stringify(g),js:this.varname(g)})}h+="__self.__locals = __vars;\n";for(var _=0,m=d;_<m.length;_++){var b=m[_];h+="__self.__locals[".concat(b.str,"] = ").concat(b.js,";\n")}for(var w=0,k=d;w<k.length;w++){var x=k[w];"それ"!==x.js&&(p+="".concat(x.js," = __self.__locals[").concat(x.str,"];\n"))}}s.sore&&(h+="/*[sore]*/");var j,S=function(e,t){var n,o="",i=r(e.split("\n"));try{for(i.s();!(n=i.n()).done;){var u=n.value;""!==u&&(o+=" ".repeat(t)+u+"\n")}}catch(e){i.e(e)}finally{i.f()}return o};0===this.warnUndefinedCallingUserFunc&&0!==u.i||0===this.warnUndefinedCallingSystemFunc&&0===u.i?j=c.join(","):(j="",c.forEach((function(e){"__self"===e?j+=",".concat(e):0===u.i?j+=",(function(a){if(a===undefined){__self.logger.warn('命令『".concat(i,"』の引数にundefinedを渡しています。',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(").concat(e,")"):j+=",(function(a){if(a===undefined){__self.logger.warn('ユーザ関数『".concat(i,"』の引数にundefinedを渡しています。',{file:'").concat(t.file,"',line:").concat(t.line,"});};return a;})(").concat(e,")")})),j=j.substring(1));var O="".concat(u.js,"(").concat(j,")");if(0===u.i&&0!==this.performanceMonitor.systemFunctionBody){var A=i;A||(void 0===this.performanceMonitor.mumeiId&&(this.performanceMonitor.mumeiId=0),this.performanceMonitor.mumeiId++,A="anous_".concat(this.performanceMonitor.mumeiId)),O="(".concat(f," (key, type) {\n")+"const sbf_start = performance.now() * 1000;\ntry {\nreturn "+O+";\n} finally {\nconst sbl_time = performance.now() * 1000 - sbf_start;\nif (!__self.__performance_monitor) {\n__self.__performance_monitor={};\n__self.__performance_monitor[key] = { called:1, totel_usec: sbl_time, min_usec: sbl_time, max_usec: sbl_time, type: type };\n} else if (!__self.__performance_monitor[key]) {\n__self.__performance_monitor[key] = { called:1, totel_usec: sbl_time, min_usec: sbl_time, max_usec: sbl_time, type: type };\n} else {\n__self.__performance_monitor[key].called++;\n__self.__performance_monitor[key].totel_usec+=sbl_time;\nif(__self.__performance_monitor[key].min_usec>sbl_time){__self.__performance_monitor[key].min_usec=sbl_time;}\nif(__self.__performance_monitor[key].max_usec<sbl_time){__self.__performance_monitor[key].max_usec=sbl_time;}\n"+"}}})('".concat(i,"_body', 'sysbody')\n")}var E="";if(o.return_none)E=""===p?""===h?"".concat(O,";\n"):"".concat(h," ").concat(O,";\n"):"".concat(h,"try {\n").concat(S(O,1),";\n} finally {\n").concat(S(p,1),"}\n");else{var T="";0===this.speedMode.invalidSore&&(T="".concat(this.varname("それ")," = ")),E=""===h&&""===p?"(".concat(T).concat(O,")"):""===p?"(".concat(f,"(){\n").concat(S("".concat(h,";\nreturn ").concat(T," ").concat(O),1),"}).call(this)"):"(".concat(f,"(){\n").concat(S("".concat(h,"try {\n").concat(S("return ".concat(T).concat(O,";"),1),"\n} finally {\n").concat(S(p,1),"}"),1),"}).call(this)"),("して"===t.josi||""===t.josi&&!n)&&(E+=";\n")}return 0===u.i&&0!==this.performanceMonitor.systemFunction&&(E="(function (key, type) {\nconst sf_start = performance.now() * 1000;\ntry {\nreturn "+E+";\n} finally {\nconst sl_time = performance.now() * 1000 - sf_start;\nif (!__self.__performance_monitor) {\n__self.__performance_monitor={};\n__self.__performance_monitor[key] = { called:1, totel_usec: sl_time, min_usec: sl_time, max_usec: sl_time, type: type };\n} else if (!__self.__performance_monitor[key]) {\n__self.__performance_monitor[key] = { called:1, totel_usec: sl_time, min_usec: sl_time, max_usec: sl_time, type: type };\n} else {\n__self.__performance_monitor[key].called++;\n__self.__performance_monitor[key].totel_usec+=sl_time;\nif(__self.__performance_monitor[key].min_usec>sl_time){__self.__performance_monitor[key].min_usec=sl_time;}\nif(__self.__performance_monitor[key].max_usec<sl_time){__self.__performance_monitor[key].max_usec=sl_time;}\n"+"}}})('".concat(i,"_sys', 'system')\n")),E}},{key:"convRenbun",value:function(e){var t=this._convGen(e.right,!0),n=this._convGen(e.left,!1);return"(function(){".concat(n,"; return ").concat(t,"}).call(this)")}},{key:"convOp",value:function(e){var t={"&":'+""+',eq:"==",noteq:"!=","===":"===","!==":"!==",gt:">",lt:"<",gteq:">=",lteq:"<=",and:"&&",or:"||",shift_l:"<<",shift_r:">>",shift_r0:">>>"},n=e.operator,r=this._convGen(e.right,!0),o=this._convGen(e.left,!0);return"+"===n&&0===this.speedMode.implicitTypeCasting&&("number"!==e.left.type&&(o="parseFloat(".concat(o,")")),"number"!==e.right.type&&(r="parseFloat(".concat(r,")"))),"^"===n?"(Math.pow("+o+","+r+"))":(t[n]&&(n=t[n]),"(".concat(o," ").concat(n," ").concat(r,")"))}},{key:"convInc",value:function(e){var t=null;if(0===this.speedMode.invalidSore&&(t=this.varname("それ")),e.value&&(t=this._convGen(e.value,!0)),null==t)throw l.fromNode("加算する先の変数名がありません。",e);var n=e.name.value,r="";return null===this.findVar(n)&&this.varsSet.names.add(n),r+="if (typeof(".concat(this.varname(n),") === 'undefined') { ").concat(this.varname(n)," = 0; }"),r+="".concat(this.varname(n)," += ").concat(t),";"+this.convLineno(e,!1)+r+"\n"}},{key:"convLet",value:function(e){var t=null;if(0===this.speedMode.invalidSore&&(t=this.varname("それ")),e.value&&(t=this._convGen(e.value,!0)),null==t)throw l.fromNode("代入する先の変数名がありません。",e);var n=e.name.value,r=this.findVar(n),o="";if(null===r)this.varsSet.names.add(n),o="".concat(this.varname(n),"=").concat(t,";");else{if(this.varslistSet[r.i].readonly.has(n))throw l.fromNode("定数『".concat(n,"』は既に定義済みなので、値を代入することはできません。"),e);o="".concat(r.js,"=").concat(t,";")}return";"+this.convLineno(e,!1)+o+"\n"}},{key:"convDefLocalVar",value:function(e){var t=null===e.value?"null":this._convGen(e.value,!0),n=e.name.value,r=e.vartype;if(this.varsSet.names.has(n))throw l.fromNode("".concat(r,"『").concat(n,"』の二重定義はできません。"),e);this.varsSet.names.add(n),"定数"===r&&this.varsSet.readonly.add(n);var o="".concat(this.varname(n),"=").concat(t,";\n");return this.convLineno(e,!1)+o}},{key:"convDefLocalVarlist",value:function(e){var t="",n=e.vartype,r=null===e.value?"null":this._convGen(e.value,!0);this.loop_id++;var o="$nako_i".concat(this.loop_id);for(var i in t+="".concat(o,"=").concat(r,"\n"),t+="if (!(".concat(o," instanceof Array)) { ").concat(o,"=[").concat(o,"] }\n"),e.names){var u=e.names[i].value;this.varsSet.names.has(u),this.varsSet.names.add(u),"定数"===n&&this.varsSet.readonly.add(u);var a=this.varname(u);t+="".concat(a,"=").concat(o,"[").concat(i,"];\n")}return this.convLineno(e,!1)+t}},{key:"convString",value:function(e){var t=this,n=""+e.value,r=e.mode;if(n=(n=(n=(n=n.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')).replace(/\r/g,"\\r")).replace(/\n/g,"\\n"),"ex"===r){var o=function(n,r){return'"+'+t.genVar(r,e)+'+"'};n=(n=n.replace(/\{(.+?)\}/g,o)).replace(/{(.+?)}/g,o)}return'"'+n+'"'}},{key:"convTryExcept",value:function(e){var t=this._convGen(e.block,!1),n=this._convGen(e.errBlock,!1);return this.convLineno(e,!1)+"try {\n".concat(t,"\n} catch (e) {\n")+' __v0["エラーメッセージ"] = e.message;\n;\n'+"".concat(n,"}\n")}}])&&s(t.prototype,n),o&&s(t,o),e}();e.exports=y},4688:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(4916),n(5306),n(2222),n(915),n(8309),n(7941),n(2526),n(7327),n(1539),n(5003),n(4747),n(9337),n(7042),n(1038),n(8783),n(1817),n(2165),n(6992),n(3948);var s=n(1269),f=function(){"use strict";function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.__locals={},this.__varslist=[u({},t.__varslist[0]),u({},t.__varslist[1]),u({},t.__varslist[2])],this.index=0,this.nextIndex=-1,this.__code=[],this.__callstack=[],this.__stack=[],this.__labels=[],this.__genMode=n.genMode,this.__module=u({},t.__module),this.pluginfiles=u({},t.pluginfiles),this.gen=n,this.logger=t.logger,this.compiler=t}var t,n,o;return t=e,n=[{key:"clearLog",value:function(){this.__varslist[0]["表示ログ"]=""}},{key:"log",get:function(){var e=this.__varslist[0]["表示ログ"];return e=e.replace(/\s+$/,"")}},{key:"runEx",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return this.compiler._runEx(e,t,n,r,this)}},{key:"_runTests",value:function(e){var t,n="".concat(s.color.bold,"テストの実行結果").concat(s.color.reset,"\n"),o=0,i=0,u=r(e);try{for(u.s();!(t=u.n()).done;){var a=t.value;try{a.f(),n+="".concat(s.color.green,"✔").concat(s.color.reset," ").concat(a.name,"\n"),o++}catch(e){n+="".concat(s.color.red,"☓").concat(s.color.reset," ").concat(a.name,": ").concat(e.message,"\n"),i++}}}catch(e){u.e(e)}finally{u.f()}n+=i>0?"".concat(s.color.green,"成功 ").concat(o,"件 ").concat(s.color.red,"失敗 ").concat(i,"件"):"".concat(s.color.green,"成功 ").concat(o,"件"),this.numFailures=i,this.logger.send("stdout",n)}},{key:"clearPlugins",value:function(){for(var e in this.pluginfiles){var t=this.__module[e];t["!クリア"]&&t["!クリア"].fn&&t["!クリア"].fn(this)}}},{key:"reset",value:function(){this.clearPlugins()}},{key:"destroy",value:function(){this.reset()}}],n&&c(t.prototype,n),o&&c(t,o),e}();e.exports=f},6464:function(e,t,n){function r(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(4916),n(3123),n(5306),n(9600),n(1249),n(1539),n(4747),n(6699),n(2023),n(3290),n(7042),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var a=n(7597).NakoIndentError,c=n(8178);var s="🌟🌟改行🌟🌟s4j#WjcSb😀/FcX3🌟🌟";function f(e){var t,n=["!インデント構文","!ここまでだるい"],r=o(e.split("\n",30));try{for(r.s();!(t=r.n()).done;){var i=t.value.substr(0,8).replace("!","!");if(n.indexOf(i)>=0)return!0}}catch(e){r.e(e)}finally{r.f()}return!1}function l(e){for(var t=new c,n=e.length,r="",o="",i=0,u=!1;i<n;){var a=e.charAt(i),s=e.substr(i,2),f=t.convert1ch(a),l=s.split("").map((function(e){return t.convert1ch(e)})).join("");if(""===o){switch(f){case'"':case"'":o=a,r+=a,i++;continue;case"「":o="」",r+=a,i++;continue;case"『":o="』",r+=a,i++;continue;case"“":o="”",r+=a,i++;continue;case"{":o="}",r+=a,i++;continue;case"[":o="]",r+=a,i++;continue}switch(s){case"🌴":o="🌴",r+=s,i+=2;continue;case"🌿":o="🌿",r+=s,i+=2;continue}"#"!==f?"//"!==l?"/*"!==l?(r+=a,i++):(o="*/",u=!0,i+=2):(o="\n",u=!0,i+=2):(o="\n",u=!0,i++)}else o===(1===o.length?f:l)?(u||(r+=e.substr(i,o.length)),i+=o.length,u=!1,o=""):(u||(r+=a),i++)}return r}function h(e){for(var t="",n=0;n<e;n++)t+=" ";return t}function p(e){return/^([ ・\t]*)/.exec(l(e))[1]}function d(e){for(var t=0,n=0;n<e.length;n++){var r=e.charAt(n);if(" "!==r)if(" "!==r)if("・"!==r){if("\t"!==r)break;t+=4}else t+=2;else t+=2;else t++}return t}function y(e){for(var t=new c,n=e.length,r="",o="",i=0;i<n;){var u=e.charAt(i),a=e.substr(i,2),f=t.convert1ch(u),l=a.split("").map((function(e){return t.convert1ch(e)})).join("");if(""===o){switch(f){case'"':case"'":o=u,r+=u,i++;continue;case"「":o="」",r+=u,i++;continue;case"『":o="』",r+=u,i++;continue;case"“":o="”",r+=u,i++;continue;case"{":o="}",r+=u,i++;continue;case"[":o="]",r+=u,i++;continue}switch(a){case"🌴":o="🌴",r+=a,i+=2;continue;case"🌿":o="🌿",r+=a,i+=2;continue}"#"!==f?"//"!==l?"/*"!==l?(r+=u,i++):(o="*/",r+=a,i+=2):(o="\n",r+=a,i+=2):(o="\n",r+=u,i++)}else o===(1===o.length?f:l)?(r+=e.substr(i,o.length),i+=o.length,o=""):(r+="\n"===u?s:u,i++)}return r}e.exports={convert:function(e,t){return f(e)?function(e,t){var n=[],o=[],i="ここまで‰",u=y(e).split("\n"),c=[],f=[],p=0,v=-1;u.forEach((function(e){if(v+=e.split(s).length,/^[ ・\t]*$/.test(e))o.push({lineNumber:c.length,len:e.length});else{var r=l(e).replace(/^[ ・\t]+/,"").replace(/\s+$/,"");if(""!==r){if("ここまで"===r)throw new a("インデント構文が有効化されているときに『ここまで』を使うことはできません。",v,t);var u=d(e);if(p!==u){if(p<u)return f.push(p),p=u,void c.push(e);if(p>u)for(p=u;f.length>0;){var y=f.pop();if(y===u)return"違えば"!==r.substr(0,3)&&(n.push(c.length),c.push(h(y)+i)),void c.push(e);u<y&&(n.push(c.length),c.push(h(y)+i))}}else c.push(e)}else c.push(e)}}));for(;f.length>0;){var g=f.pop();n.push(c.length),c.push(h(g)+i)}for(var _=[],m=0;m<c.length;m++)if(c[m].includes(s)){for(var b=c[m].split(s),w=0;w<n.length;w++)_.length<n[w]&&(n[w]+=b.length-1);for(var k=0;k<o.length;k++)_.length<o[k].lineNumber&&(o[k].lineNumber+=b.length-1);_.push.apply(_,r(b))}else _.push(c[m]);return{code:_.join("\n"),insertedLines:n,deletedLines:o}}(e,t):{code:e,insertedLines:[],deletedLines:[]}},getBlockStructure:function(e){var t,n={lines:[],pairs:[],parents:[],spaces:[]},i=y(e).split("\n"),u=[],a=0,c=d(i[0]),f=o(i);try{for(f.s();!(t=f.n()).done;){var h,v,g,_=t.value,m=_.split(s).length,b=l(_),w=""===b.replace(/^[ ・\t]+/,"")?c:d(b);if((h=n.lines).push.apply(h,r(Array(m).fill(w))),(v=n.spaces).push.apply(v,r(Array(m).fill(p(b)))),c<w)u.push(a-1);else if(c>w){var k=u.pop();void 0!==k&&n.pairs.push([k,a])}var x=void 0!==u[u.length-1]?u[u.length-1]:null;(g=n.parents).push.apply(g,r(Array(m).fill(x))),c=w,a+=m}}catch(e){f.e(e)}finally{f.f()}for(var j=0,S=u;j<S.length;j++){var O=S[j];n.pairs.push([O,a])}return n},getIndent:p,countIndent:d,isIndentSyntaxEnabled:f}},6625:function(e,t,n){n(1539),n(2707),n(4603),n(4916),n(9714),n(9600);var r=["について","くらい","なのか","までを","までの","による","とは","から","まで","だけ","より","ほど","など","いて","えて","きて","けて","して","って","にて","みて","めて","ねて","では","には","は~","んで","ずつ","は","を","に","へ","で","と","が","の"],o={};["でなければ","なければ","ならば","なら","たら","れば"].forEach((function(e){r.push(e),o[e]=!0}));var i={};["こと","である","です","します","でした"].forEach((function(e){r.push(e),i[e]=!0})),r.sort((function(e,t){return t.length-e.length}));var u=new RegExp("^[\\t ]*("+r.join("|")+")");e.exports={josiRE:u,tararebaMap:o,removeJosiMap:i,josiList:r}},888:function(e,t,n){n(4916),n(5306),n(7042),n(2222),n(9653);var r=/^[\u3005\u4E00-\u9FCF_a-zA-Z0-9ァ-ヶー]+/,o=n(6625),i=o.josiRE,u=o.removeJosiMap,a=/^[ぁ-ん]/,c=/^[ぁ-ん]+$/,s=/^.+(以上|以下|超|未満)$/,f=function(e){return function(){throw new Error("突然の『"+e+"』があります。")}};function l(e,t,n){var r="",o="",a=0,c=(n=n.substr(e.length)).indexOf(t);if(c<0)r=n,n="";else if(r=n.substr(0,c),n=n.substr(c+t.length),r.indexOf(e)>=0)throw"『"===e?new Error("「『」で始めた文字列の中に「『」を含めることはできません。"):new Error("『".concat(e,"』で始めた文字列の中に『").concat(e,"』を含めることはできません。"));var s=i.exec(n);s&&(o=s[0].replace(/^\s+/,""),","===(n=n.substr(s[0].length)).charAt(0)&&(n=n.substr(1))),u[o]&&(o="");for(var f=0;f<r.length;f++)"\n"===r.charAt(f)&&a++;return{src:n,res:r,josi:o,numEOL:a}}function h(e){return a.test(e)?c.test(e)?e:e.replace(/[ぁ-ん]+$/g,""):e.replace(/[ぁ-ん]+/g,"")}function p(e){return Number(e.replace(/_/g,""))}e.exports={rules:[{name:"ここまで",pattern:/^;;;/},{name:"eol",pattern:/^\n/},{name:"eol",pattern:/^;/},{name:"space",pattern:/^(\x20|\x09|・)+/},{name:"comma",pattern:/^,/},{name:"line_comment",pattern:/^#[^\n]*/},{name:"line_comment",pattern:/^\/\/[^\n]*/},{name:"range_comment",pattern:/^\/\*/,cbParser:function(e){var t="",n=0,r=(e=e.substr(2)).indexOf("*/");r<0?(t=e,e=""):(t=e.substr(0,r),e=e.substr(r+2));for(var o=0;o<t.length;o++)"\n"===t.charAt(o)&&n++;return t=t.replace(/(^\s+|\s+$)/,""),{src:e,res:t,josi:"",numEOL:n}}},{name:"def_test",pattern:/^●テスト:/},{name:"def_func",pattern:/^●/},{name:"number",pattern:/^0[xX][0-9a-fA-F]+(_[0-9a-fA-F]+)*/,readJosi:!0,cb:p},{name:"number",pattern:/^0[oO][0-7]+(_[0-7]+)*/,readJosi:!0,cb:p},{name:"number",pattern:/^0[bB][0-1]+(_[0-1]+)*/,readJosi:!0,cb:p},{name:"number",pattern:/^\d+(_\d+)*\.(\d+(_\d+)*)?([eE][+|-]?\d+(_\d+)*)?/,readJosi:!0,cb:p},{name:"number",pattern:/^\.\d+(_\d+)*([eE][+|-]?\d+(_\d+)*)?/,readJosi:!0,cb:p},{name:"number",pattern:/^\d+(_\d+)*([eE][+|-]?\d+(_\d+)*)?/,readJosi:!0,cb:p},{name:"ここから",pattern:/^(ここから),?/},{name:"ここまで",pattern:/^(ここまで|💧)/},{name:"もし",pattern:/^もしも?/},{name:"違えば",pattern:/^違(えば)?/},{name:"shift_r0",pattern:/^>>>/},{name:"shift_r",pattern:/^>>/},{name:"shift_l",pattern:/^<</},{name:"===",pattern:/^===/},{name:"!==",pattern:/^!==/},{name:"gteq",pattern:/^(≧|>=|=>)/},{name:"lteq",pattern:/^(≦|<=|=<)/},{name:"noteq",pattern:/^(≠|<>|!=)/},{name:"←",pattern:/^(←|<--)/},{name:"eq",pattern:/^=/},{name:"line_comment",pattern:/^!(インデント構文|ここまでだるい)[^\n]*/},{name:"not",pattern:/^!/},{name:"gt",pattern:/^>/},{name:"lt",pattern:/^</},{name:"and",pattern:/^(かつ|&&)/},{name:"or",pattern:/^(または|或いは|あるいは|\|\|)/},{name:"@",pattern:/^@/},{name:"+",pattern:/^\+/},{name:"-",pattern:/^-/},{name:"*",pattern:/^(×|\*)/},{name:"/",pattern:/^(÷|\/)/},{name:"%",pattern:/^%/},{name:"^",pattern:/^\^/},{name:"&",pattern:/^&/},{name:"[",pattern:/^\[/},{name:"]",pattern:/^]/,readJosi:!0},{name:"(",pattern:/^\(/},{name:")",pattern:/^\)/,readJosi:!0},{name:"|",pattern:/^\|/},{name:"string",pattern:/^🌿/,cbParser:function(e){return l("🌿","🌿",e)}},{name:"string_ex",pattern:/^🌴/,cbParser:function(e){return l("🌴","🌴",e)}},{name:"string_ex",pattern:/^「/,cbParser:function(e){return l("「","」",e)}},{name:"string",pattern:/^『/,cbParser:function(e){return l("『","』",e)}},{name:"string_ex",pattern:/^“/,cbParser:function(e){return l("“","”",e)}},{name:"string_ex",pattern:/^"/,cbParser:function(e){return l('"','"',e)}},{name:"string",pattern:/^'/,cbParser:function(e){return l("'","'",e)}},{name:"」",pattern:/^」/,cbParser:f("」")},{name:"』",pattern:/^』/,cbParser:f("』")},{name:"func",pattern:/^\{関数\},?/},{name:"{",pattern:/^\{/},{name:"}",pattern:/^\}/,readJosi:!0},{name:":",pattern:/^:/},{name:"_eol",pattern:/^_\s*\n/},{name:"dec_lineno",pattern:/^‰/},{name:"word",pattern:/^[\uD800-\uDBFF][\uDC00-\uDFFF][_a-zA-Z0-9]*/,readJosi:!0},{name:"word",pattern:/^[\u1F60-\u1F6F][_a-zA-Z0-9]*/,readJosi:!0},{name:"word",pattern:/^《.+?》/,readJosi:!0},{name:"word",pattern:/^[_a-zA-Z\u3005\u4E00-\u9FCFぁ-んァ-ヶ]/,cbParser:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="",o="";for(;""!==e;){if(n.length>0){var c=i.exec(e);if(c){o=c[0].replace(/^\s+/,""),","===(e=e.substr(c[0].length)).charAt(0)&&(e=e.substr(1));break}}var f=r.exec(e);if(f)n+=f[0],e=e.substr(f[0].length);else{var l=a.test(e);if(!l)break;n+=e.charAt(0),e=e.substr(1)}}/[ぁ-ん]間$/.test(n)&&(e=n.charAt(n.length-1)+e,n=n.slice(0,-1));var p=s.exec(n);p&&(e=p[1]+o+e,o="",n=n.substr(0,n.length-p[1].length));u[o]&&(o="");t&&(n=h(n));""===n&&""!==o&&(n=o,o="");return{src:e,res:n,josi:o,numEOL:0}}}],trimOkurigana:h,unitRE:/^(円|ドル|元|歩|㎡|坪|度|℃|°|個|つ|本|冊|才|歳|匹|枚|皿|セット|羽|人|件|行|列|機|品|m|mm|cm|km|g|kg|t|px|dot|pt|em|b|mb|kb|gb)/}},5720:function(e,t,n){function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(4916),n(3123),n(7042),n(5306),n(561),n(9600),n(8309),n(4723),n(1539),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=n(2479).opPriority,s=n(5740),f=n(6625),l=f.josiRE,h=f.removeJosiMap,p=f.tararebaMap,d=n(888),y=d.rules,v=n(7597),g=v.NakoLexerError,_=v.InternalLexerError,m=function(){"use strict";function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.logger=t,this.funclist={},this.result=[]}var t,n,i;return t=e,i=[{key:"preDefineFunc",value:function(e,t,n){for(var o=0,i=!1,u=function(){var t=[],n={};if("("!==e[o].type)return[];for(o++;e[o];){var r=e[o];if(o++,")"===r.type)break;"func"===r.type?i=!0:"|"!==r.type&&"comma"!==r.type&&(i&&(r.funcPointer=!0,i=!1),t.push(r),n[r.value]||(n[r.value]=[]),n[r.value].push(r.josi))}for(var u=[],a=[],c=[],s={},f=0,l=t;f<l.length;f++){var h=l[f];if(!s[h.value]){var p=n[h.value];c.push(p),u.push(h.value),h.funcPointer?a.push(h.value):a.push(null),s[h.value]=!0}}return[c,u,a]};o<e.length;){var a=e[o];if("word"===a.type&&"には"===a.josi||"word"===a.type&&"は~"===a.josi)a.josi="には",e.splice(o+1,0,{type:"def_func",value:"関数",line:a.line,column:a.column,file:a.file,josi:"",startOffset:a.endOffset,endOffset:a.endOffset,rawJosi:"",tag:"無名関数"}),o++;else if("word"===a.type&&""===a.josi&&a.value.length>=2&&a.value.match(/回$/)&&(a.value=a.value.substr(0,a.value.length-1),e.splice(o+1,0,{type:"回",value:"回",line:a.line,column:a.column,file:a.file,josi:"",startOffset:a.endOffset-1,endOffset:a.endOffset,rawJosi:""}),a.endOffset--,o++),"word"===a.type&&s[a.value]&&(a.type=s[a.value],"そう"===a.value&&(a.value="それ")),"def_test"===a.type||"def_func"===a.type){var c=!0,f={type:"eol"};o>=1&&(f=e[o-1]),"eol"===f.type&&(c=!1);var l=a;o++;var h=[],p=[],d=[],y="";if(e[o]&&"("===e[o].type){var v=r(u(),3);h=v[0],p=v[1],d=v[2]}if(!c&&e[o]&&"word"===e[o].type&&(y=e[o++].value),0===h.length&&e[o]&&"("===e[o].type){var g=r(u(),3);h=g[0],p=g[1],d=g[2]}""!==y&&(y in n&&t.warn("関数『".concat(y,"』は既に定義されています。"),l),n[y]={type:"func",josi:h,fn:null,varnames:p,funcPointers:d}),l.meta={josi:h,varnames:p,funcPointers:d}}else o++}}}],(n=[{key:"setFuncList",value:function(e){this.funclist=e}},{key:"setInput",value:function(e,t,n){return this.tokenize(e,t,n)}},{key:"setInput2",value:function(t,n){if(this.result=t,e.preDefineFunc(t,this.logger,this.funclist),this.replaceWord(this.result),n)if(this.result.length>0){var r=this.result[this.result.length-1];this.result.push({type:"eol",line:r.line,column:0,file:r.file,josi:"",value:"---",startOffset:r.startOffset,endOffset:r.endOffset,rawJosi:""}),this.result.push({type:"eof",line:r.line,column:0,file:r.file,josi:"",value:"",startOffset:r.startOffset,endOffset:r.endOffset,rawJosi:""})}else this.result.push({type:"eol",line:0,column:0,file:"",josi:"",value:"---",startOffset:0,endOffset:0,rawJosi:""}),this.result.push({type:"eof",line:0,column:0,file:"",josi:"",value:"",startOffset:0,endOffset:0,rawJosi:""});return this.result}},{key:"splitStringEx",value:function(e){var t=[],n=e.split(/[{{]/);t.push(n[0]);var r,i=o(n.slice(1));try{for(i.s();!(r=i.n()).done;){var u=r.value,a=u.replace("}","}").indexOf("}");if(-1===a)return null;t.push(u.slice(0,a),u.slice(a+1))}}catch(e){i.e(e)}finally{i.f()}return t}},{key:"replaceWord",value:function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("word"===r.type&&"それ"!==r.value){var o=this.funclist[r.value];if(o&&"func"===o.type){r.type="func",r.meta=o;continue}}if("-"===r.type&&e[n+1]&&"number"===e[n+1].type){var i=n<=0?"eol":e[n-1].type;("eol"===i||c[i]||""!==e[n-1].josi)&&(e.splice(n,1),e[n].value*=-1)}if(void 0===r.josi&&(r.josi=""),"は"!==r.josi)if("とは"!==r.josi)if(p[r.josi]){var u="でなければ"===r.josi||"なければ"===r.josi?"でなければ":"ならば",a=null===r.endOffset?null:r.endOffset-r.rawJosi.length;e.splice(n+1,0,{type:"ならば",value:u,line:r.line,column:r.column,file:r.file,startOffset:a,endOffset:r.endOffset,josi:"",rawJosi:""}),r.josi=r.rawJosi="",r.endOffset=a,n+=2}else"_eol"!==r.type?"line_comment"!==r.type&&"range_comment"!==r.type?("eol"===r.type&&(r.value=t.join("/"),t=[]),n++):(t.push(r.value),e.splice(n,1)):e.splice(n,1);else{var s=null===r.endOffset?null:r.endOffset-r.rawJosi.length;e.splice(n+1,0,{type:r.josi,line:r.line,column:r.column,file:r.file,startOffset:s,endOffset:r.endOffset,josi:"",rawJosi:"",value:void 0}),r.josi=r.rawJosi="",r.endOffset=s,n+=2}else{var f=null===r.endOffset?null:r.endOffset-r.rawJosi.length;e.splice(n+1,0,{type:"eq",line:r.line,column:r.column,file:r.file,startOffset:f,endOffset:r.endOffset,josi:"",rawJosi:"",value:void 0}),n+=2,r.josi=r.rawJosi="",r.endOffset=f}}}},{key:"tokenize",value:function(e,t,n){for(var r,i,u=e.length,a=[],c=1,s=!1;""!==e;){var f,p=!1,v=o(y);try{for(v.s();!(f=v.n()).done;){var m=f.value,b=m.pattern.exec(e);if(b)if(p=!0,"space"!==m.name){if(m.cbParser){var w=void 0;if(s&&"word"===m.name)w=m.cbParser(e,!1);else try{w=m.cbParser(e)}catch(r){throw new g(r.message,u-e.length,u-e.length+1,t,n)}if("string_ex"===m.name){var k=this.splitStringEx(w.res);if(null===k)throw new _("展開あり文字列で値の埋め込み{...}が対応していません。",u-e.length,u-w.src.length,t,n);for(var x=0,j=0;j<k.length;j++){var S=j===k.length-1?w.josi:"";j%2==0?(a.push({type:"string",value:k[j],file:n,josi:S,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:k[j].length+2+S.length}),x+=k[j].length+2):(a.push({type:"&",value:"&",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:0}),a.push({type:"(",value:"(",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:0}),a.push({type:"code",value:k[j],josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x,preprocessedCodeLength:k[j].length}),a.push({type:")",value:")",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x+k[j].length,preprocessedCodeLength:0}),a.push({type:"&",value:"&",josi:"",file:n,line:t,column:c,preprocessedCodeOffset:u-e.length+x+k[j].length,preprocessedCodeLength:0}),x+=k[j].length)}t+=w.numEOL,c+=e.length-w.src.length,e=w.src,w.numEOL>0&&(c=1);break}r=c,c+=e.length-w.src.length,a.push({type:m.name,value:w.res,josi:w.josi,line:t,column:r,file:n,preprocessedCodeOffset:u-e.length,preprocessedCodeLength:e.length-w.src.length}),e=w.src,t+=w.numEOL,w.numEOL>0&&(c=1);break}var O=u-e.length,A=b[0];if(m.cb&&(A=m.cb(A)),r=c,i=t,c+=b[0].length,e=e.substr(b[0].length),("eol"===m.name&&"\n"===A||"_eol"===m.name)&&(A=t++,c=1),"number"===m.name){var E=d.unitRE.exec(e);E&&(e=e.substr(E[0].length),c+=b[0].length)}var T="";if(m.readJosi){var M=l.exec(e);M&&(T=M[0].replace(/^\s+/,""),c+=M[0].length,","===(e=e.substr(M[0].length)).charAt(0)&&(e=e.substr(1)),h[T]&&(T=""))}switch(m.name){case"def_test":s=!0;break;case"eol":s=!1}if("dec_lineno"!==m.name){a.push({type:m.name,value:A,line:i,column:r,file:n,josi:T,preprocessedCodeOffset:O,preprocessedCodeLength:u-e.length-O});break}t--}else c+=b[0].length,e=e.substr(b[0].length)}}catch(e){v.e(e)}finally{v.f()}if(!p)throw new _("未知の語句: "+e.substr(0,3)+"...",u-e.length,u-u+3,t)}return a}}])&&a(t.prototype,n),i&&a(t,i),e}();e.exports=m},7535:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(2222),n(7327),n(1539),n(915),n(6699),n(2023),n(7042),n(8309),n(1038),n(8783),n(4916),n(2526),n(1817),n(2165),n(6992),n(3948);var u=n(7597).NakoError,a=n(1269),c=function(e){return e?"".concat(e.file||"").concat(void 0===e.line?"":"(".concat(e.line+1,"行目): ")):""},s=["trace","debug","info","warn","error","stdout"],f=function(){"use strict";function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.listeners=[]}var t,n,o;return t=e,n=[{key:"addListener",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.listeners.push({level:e,callback:t,includeHigherLevels:n})}},{key:"removeListener",value:function(e){this.listeners=this.listeners.filter((function(t){return t.callback!==e}))}},{key:"trace",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("trace","".concat(a.color.bold,"[デバッグ情報(詳細)]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"debug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("debug","".concat(a.color.bold,"[デバッグ情報]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"info",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("info","".concat(a.color.bold).concat(a.color.blue,"[情報]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"warn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.send("warn","".concat(a.color.bold).concat(a.color.green,"[警告]").concat(a.color.reset).concat(c(t)).concat(e),t)}},{key:"error",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e instanceof u?this.send("error","".concat(a.color.red).concat(e.tag).concat(a.color.reset).concat(e.positionJa).concat(e.msg),t||e):(e instanceof Error&&(e=e.message),this.send("error","".concat(a.color.bold).concat(a.color.red,"[エラー]").concat(a.color.reset).concat(c(t)).concat(e),t||e))}},{key:"send",value:function(e,t,n,o,i){var u=a.convertColorTextFormat(t),c="";t.includes("\n")&&(c+="border-top: 1px solid #8080806b; border-bottom: 1px solid #8080806b;");var f,l={noColor:u.noColor,nodeConsole:u.nodeConsole,browserConsole:i||u.browserConsole,html:'<div style="'.concat(c,'">')+(o||u.html)+"</div>",level:e,position:n||{}},h=r(this.listeners);try{for(h.s();!(f=h.n()).done;){var p=f.value;p.includeHigherLevels?s.indexOf(p.level)<=s.indexOf(e)&&p.callback(l):p.level===e&&p.callback(l)}}catch(e){h.e(e)}finally{h.f()}}}],n&&i(t.prototype,n),o&&i(t,o),e}();e.exports=f},4015:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}n(1539),n(4747),n(9600),n(2222),n(8309),n(4916),n(3123),n(7941),n(6699),n(2023),n(1249),n(561),n(489),n(2419),n(2526),n(7327),n(5003),n(9337),n(7042),n(1038),n(8783),n(1817),n(2165),n(6992),n(3948);var y=n(2479),v=y.opPriority,g=y.keizokuJosi,_=n(14),m=_.NakoParserBase,b=_.NakoSyntaxError,w=[];for(var k in v)w.push(k);var x=function(e){"use strict";!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(u,e);var t,n,r,i=h(u);function u(){return s(this,u),i.apply(this,arguments)}return t=u,(n=[{key:"parse",value:function(e){return this.reset(),this.tokens=e,this.startParser()}},{key:"startParser",value:function(){var e=this.ySentenceList(),t=this.get();if(t&&"eof"!==t.type)throw this.logger.debug("構文解析でエラー。".concat(this.nodeToStr(t,{depth:1},!0),"の使い方が間違っています。"),t),b.fromNode("構文解析でエラー。".concat(this.nodeToStr(t,{depth:1},!1),"の使い方が間違っています。"),t);return e}},{key:"ySentenceList",value:function(){for(var e=[],t=-1,n=this.peekSourceMap();!this.isEOF();){var r=this.ySentence();if(!r)break;e.push(r),t<0&&(t=r.line)}if(0===e.length){var o=this.peek()||this.tokens[0];throw this.logger.debug("構文解析に失敗:"+this.nodeToStr(this.peek(),{depth:1},!0),o),b.fromNode("構文解析に失敗:"+this.nodeToStr(this.peek(),{depth:1},!1),o)}return a(a({type:"block",block:e},n),{},{end:this.peekSourceMap(),genMode:this.genMode})}},{key:"yEOL",value:function(){var e=this,t=this.get();if(this.stack.length>0){var n=[];this.stack.forEach((function(t){var r=e.nodeToStr(t,{depth:1},!1);t.josi&&(r+=t.josi),n.push(r)}));var r,i=n.join(","),u="",a="A".charCodeAt(0),c=o(this.recentlyCalledFunc);try{for(c.s();!(r=c.n()).done;){var s=r.value;u+=" - ";var f,l=0,h=o(s.josi);try{for(h.s();!(f=h.n()).done;){var p=f.value;u+=String.fromCharCode(a+l),1==p.length?u+=p[0]:u+="(".concat(p.join("|"),")"),l++}}catch(e){h.e(e)}finally{h.f()}u+=s.name+"\n"}}catch(e){c.e(e)}finally{c.f()}throw b.fromNode("未解決の単語があります: [".concat(i,"]\n次の命令の可能性があります:\n").concat(u),t)}return this.recentlyCalledFunc=[],t}},{key:"ySentence",value:function(){var e=this.peekSourceMap();if(this.check("eol"))return this.yEOL();if(this.check("もし"))return this.yIF();if(this.check("後判定"))return this.yAtohantei();if(this.check("エラー監視"))return this.yTryExcept();if(this.check("逐次実行"))return this.yTikuji();if(this.accept(["抜ける"]))return a(a({type:"break",josi:""},e),{},{end:this.peekSourceMap()});if(this.accept(["続ける"]))return a(a({type:"continue",josi:""},e),{},{end:this.peekSourceMap()});if(this.accept(["require","string","取込"]))return a(a({type:"require",value:this.y[1].value,josi:""},e),{},{end:this.peekSourceMap()});if(this.accept(["not","非同期モード"]))return this.yASyncMode();if(this.accept(["not","DNCLモード"]))return this.yDNCLMode();if(this.accept(["not","string","モード設定"]))return this.ySetGenMode(this.y[1].value);if(this.check2(["func","←"]))return this.yCallOp();if(this.check2(["func","eq"])){var t=this.get()||{value:"?"};throw b.fromNode("関数『".concat(t.value,"』に代入できません。『←』を使ってください。"),t)}if(this.accept([this.ySpeedMode]))return this.y[0];if(this.accept([this.yPerformanceMonitor]))return this.y[0];if(this.accept([this.yLet]))return this.y[0];if(this.accept([this.yDefTest]))return this.y[0];if(this.accept([this.yDefFunc]))return this.y[0];if(this.accept([this.yCall])){var n=this.y[0];if("して"===n.josi){var r=this.ySentence();if(null!==r)return a(a({type:"block",block:[n,r],josi:r.josi},e),{},{end:this.peekSourceMap()})}return n}return null}},{key:"yASyncMode",value:function(){var e=this.peekSourceMap();return this.genMode="非同期モード",a(a({type:"eol"},e),{},{end:this.peekSourceMap()})}},{key:"yDNCLMode",value:function(){var e=this.peekSourceMap();return this.arrayIndexFrom=1,this.flagReverseArrayIndex=!0,this.flagCheckArrayInit=!0,a(a({type:"eol"},e),{},{end:this.peekSourceMap()})}},{key:"ySetGenMode",value:function(e){var t=this.peekSourceMap();return this.genMode=e,a(a({type:"eol"},t),{},{end:this.peekSourceMap()})}},{key:"yBlock",value:function(){var e=this.peekSourceMap(),t=[];for(this.check("ここから")&&this.get();!this.isEOF()&&!this.checkTypes(["違えば","ここまで","エラー"])&&this.accept([this.ySentence]);)t.push(this.y[0]);return a(a({type:"block",block:t},e),{},{end:this.peekSourceMap()})}},{key:"yDefFuncReadArgs",value:function(){if(!this.check("("))return null;var e=[];for(this.get();!this.isEOF();){if(this.check(")")){this.get();break}e.push(this.get()),this.check("comma")&&this.get()}return e}},{key:"yDefTest",value:function(){return this.yDef("def_test")}},{key:"yDefFunc",value:function(){return this.yDef("def_func")}},{key:"yDef",value:function(e){if(!this.check(e))return null;var t=this.peekSourceMap(),n=this.get(),r=[];this.check("(")&&(r=this.yDefFuncReadArgs());var o=this.get();if("func"!==o.type)throw this.logger.debug(this.nodeToStr(o,{depth:0,typeName:"関数"},!0)+"の宣言でエラー。",o),b.fromNode(this.nodeToStr(o,{depth:0,typeName:"関数"},!1)+"の宣言でエラー。",o);if(this.check("(")){if(r.length>0)throw this.logger.debug(this.nodeToStr(o,{depth:0,typeName:"関数"},!0)+"の宣言で、引数定義は名前の前か後に一度だけ可能です。",o),b.fromNode(this.nodeToStr(o,{depth:0,typeName:"関数"},!1)+"の宣言で、引数定義は名前の前か後に一度だけ可能です。",o);r=this.yDefFuncReadArgs()}this.check("とは")&&this.get();var i=null,u=!1;this.check("ここから")&&(u=!0),this.check("eol")&&(u=!0);try{if(u){if(this.saveStack(),i=this.yBlock(),!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。関数定義の末尾に必要です。",n);this.get(),this.loadStack()}else this.saveStack(),i=this.ySentence(),this.loadStack()}catch(e){throw this.logger.debug(this.nodeToStr(o,{depth:0,typeName:"関数"},!0)+"の定義で以下のエラーがありました。\n"+e.message,n),b.fromNode(this.nodeToStr(o,{depth:0,typeName:"関数"},!1)+"の定義で以下のエラーがありました。\n"+e.message,n)}return a(a({type:e,name:o,args:r,block:i,josi:""},t),{},{end:this.peekSourceMap()})}},{key:"yIFCond",value:function(){var e=this.peekSourceMap(),t=this.yGetArg();if(!t)return null;if("が"===t.josi){var n=this.index,r=this.yGetArg(),o=this.get();if(r&&"func"!==r.type&&o&&"ならば"===o.type)return a(a({type:"op",operator:"でなければ"===o.value?"noteq":"eq",left:t,right:r,josi:""},e),{},{end:this.peekSourceMap()});this.index=n}if(""!==t.josi&&(this.stack.push(t),t=this.yCall()),!this.check("ならば"))throw this.logger.debug("もし文で『ならば』がないか、条件が複雑過ぎます。"+this.nodeToStr(this.peek(),{depth:1},!1)+"の直前に『ならば』を書いてください。",t),b.fromNode("もし文で『ならば』がないか、条件が複雑過ぎます。"+this.nodeToStr(this.peek(),{depth:1},!1)+"の直前に『ならば』を書いてください。",t);return"でなければ"===this.get().value&&(t=a(a({type:"not",value:t,josi:""},e),{},{end:this.peekSourceMap()})),t}},{key:"yIF",value:function(){var e=this.peekSourceMap();if(!this.check("もし"))return null;for(var t=this.get();this.check("comma");)this.get();var n=null;try{n=this.yIFCond()}catch(e){throw b.fromNode("『もし』文の条件で次のエラーがあります。\n"+e.message,t)}if(null===n)throw b.fromNode("『もし』文で条件の指定が空です。",t);var r=null,o=null,i=!1;for(this.check("eol")?r=this.yBlock():(r=this.ySentence(),i=!0);this.check("eol");)this.get();if(this.check("違えば")){for(this.get();this.check("comma");)this.get();this.check("eol")?o=this.yBlock():(o=this.ySentence(),i=!0)}if(!1===i){if(!this.check("ここまで"))throw b.fromNode("『もし』文で『ここまで』がありません。",t);this.get()}return a(a({type:"if",expr:n,block:r,false_block:o,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"ySpeedMode",value:function(){var e=this.peekSourceMap();if(!this.check2(["string","実行速度優先"]))return null;var t=this.get();this.get();var n,r={"行番号無し":!1,"暗黙の型変換無し":!1,"強制ピュア":!1,"それ無効":!1},i=o(t.value.split("/"));try{for(i.s();!(n=i.n()).done;){var u=n.value;if("全て"===u){for(var c=0,s=Object.keys(r);c<s.length;c++)r[s[c]]=!0;break}Object.keys(r).includes(u)?r[u]=!0:this.logger.warn("実行速度優先文のオプション『".concat(u,"』は存在しません。"),t)}}catch(e){i.e(e)}finally{i.f()}var f=!1;this.check("ここから")?(this.get(),f=!0):this.check("eol")&&(f=!0);var l=null;return f?(l=this.yBlock(),this.check("ここまで")&&this.get()):l=this.ySentence(),a({type:"speed_mode",options:r,block:l,line:t.line,josi:""},e)}},{key:"yPerformanceMonitor",value:function(){var e=this.peekSourceMap();if(!this.check2(["string","パフォーマンスモニタ適用"]))return null;var t=this.get();this.get();var n,r={"ユーザ関数":!1,"システム関数本体":!1,"システム関数":!1},i=o(t.value.split("/"));try{for(i.s();!(n=i.n()).done;){var u=n.value;if("全て"===u){for(var c=0,s=Object.keys(r);c<s.length;c++)r[s[c]]=!0;break}Object.keys(r).includes(u)?r[u]=!0:this.logger.warn("パフォーマンスモニタ適用文のオプション『".concat(u,"』は存在しません。"),t)}}catch(e){i.e(e)}finally{i.f()}var f=!1;this.check("ここから")?(this.get(),f=!0):this.check("eol")&&(f=!0);var l=null;return f?(l=this.yBlock(),this.check("ここまで")&&this.get()):l=this.ySentence(),a({type:"performance_monitor",options:r,block:l,line:t.line,josi:""},e)}},{key:"yTikuji",value:function(){var e=this.peekSourceMap();if(!this.check("逐次実行"))return null;var t=this.get(),n=[],r=null;if(!this.check("eol"))throw b.fromNode("『逐次実行』の直後は改行が必要です",t);for(;!this.check("ここまで");)if(this.check("eol"))this.get();else{if(this.check2(["エラー","ならば"])){this.get(),this.get(),r=this.yBlock();break}var o=null;if(this.check("先に")||this.check("次に")){var i=this.get();if(this.check("comma")&&this.get(),this.check("eol")){if(o=this.yBlock(),!this.check("ここまで")){var u="次に";throw null!=i&&(u=i.type),b.fromNode("『".concat(u,"』...『ここまで』を対応させてください。"),i)}this.get()}else o=this.ySentence()}else o=this.ySentence();null!=o&&n.push(o)}if(!this.check("ここまで"))throw console.log(n,this.peek()),b.fromNode("『逐次実行』...『ここまで』を対応させてください。",t);return this.get(),a(a({type:"tikuji",blocks:n,errorBlock:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yGetArg",value:function(){var e=this.yValue();if(null===e)return null;for(var t=[e];!this.isEOF();){var n=this.peek();if(!n||!v[n.type])break;t.push(this.get());var r=this.yValue();if(null===r)throw b.fromNode("計算式で演算子『".concat(n.value,"』後に値がありません"),e);t.push(r)}return 0===t.length?null:1===t.length?t[0]:this.infixToAST(t)}},{key:"infixToPolish",value:function(e){for(var t=function(e){return v[e.type]?v[e.type]:10},n=[],r=[];e.length>0;){for(var o=e.shift();n.length>0;){var i=n[n.length-1];if(t(o)>t(i))break;r.push(n.pop())}n.push(o)}for(;n.length>0;)r.push(n.pop());return r}},{key:"infixToAST",value:function(e){if(0===e.length)return null;var t,n=e[e.length-1].josi,r=e[e.length-1],i=this.infixToPolish(e),u=[],a=o(i);try{for(a.s();!(t=a.n()).done;){var c=t.value;if(v[c.type]){var s=u.pop(),f=u.pop();if(void 0===f||void 0===s)throw this.logger.debug("--- 計算式(逆ポーランド) ---\n"+JSON.stringify(i)),b.fromNode("計算式でエラー",r);var l={type:"op",operator:c.type,left:f,right:s,josi:n,startOffset:f.startOffset,endOffset:f.endOffset,line:f.line,column:f.column,file:f.file};u.push(l)}else u.push(c)}}catch(e){a.e(e)}finally{a.f()}return u.pop()}},{key:"yGetArgParen",value:function(e){for(var t=!1,n=this.stack.length;!this.isEOF();){if(this.check(")")){t=!0;break}var r=this.yGetArg();if(!r)break;this.pushStack(r),this.check("comma")&&this.get()}if(!t)throw b.fromNode("C風関数『".concat(e[0].value,"』でカッコが閉じていません"),e[0]);for(var o=[];n<this.stack.length;){var i=this.popStack();o.unshift(i)}return o}},{key:"yRepeatTime",value:function(){var e=this.peekSourceMap();if(!this.check("回"))return null;this.get(),this.check("comma")&&this.get(),this.check("繰返")&&this.get();var t=this.popStack([]),n=!1,r=null;if(null===t&&(t=a(a({type:"word",value:"それ",josi:""},e),{},{end:this.peekSourceMap()})),this.check("comma")&&this.get(),this.check("ここから")?(this.get(),n=!0):this.check("eol")&&(n=!0),n){if(r=this.yBlock(),!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『回』...『ここまで』を対応させてください。",e);this.get()}else r=this.ySentence();return a(a({type:"repeat_times",value:t,block:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yWhile",value:function(){var e=this.peekSourceMap();if(!this.check("間"))return null;for(this.get();this.check("comma");)this.get();this.check("繰返")&&this.get();var t=this.popStack([]);if(null===t)throw b.fromNode("『間』で条件がありません。",t);if(this.check("comma")&&this.get(),!this.checkTypes(["ここから","eol"]))throw b.fromNode("『間』の直後は改行が必要です",t);var n=this.yBlock();return this.check("ここまで")&&this.get(),a(a({type:"while",cond:t,block:n,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yAtohantei",value:function(){var e=this.peekSourceMap();this.check("後判定")&&this.get(),this.check("繰返")&&this.get(),this.check("ここから")&&this.get();var t=this.yBlock();this.check("ここまで")&&this.get(),this.check("comma")&&this.get();var n=this.yGetArg(),r=!1,o=this.peek();return!o||"なる"!==o.value||"まで"!==o.josi&&"までの"!==o.josi||(this.get(),r=!0),this.check("間")&&this.get(),r&&(n=a(a({type:"not",value:n,josi:""},e),{},{end:this.peekSourceMap()})),a(a({type:"atohantei",cond:n,block:t,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yFor",value:function(){var e=this.peekSourceMap();if(!(this.check("繰返")||this.check("増繰返")||this.check("減繰返")))return null;var t=this.get(),n=this.stack.pop();"word"!=n.type||"増"!==n.value&&"減"!==n.value?this.stack.push(n):t.type=n.value+t.type;var r=null;"増繰返"!==t.type&&"減繰返"!==t.type||(r=this.popStack(["ずつ"]));var o=this.popStack(["まで"]),i=this.popStack(["から"]),u=this.popStack(["を","で"]);if(null===i||null===o)throw b.fromNode("『繰り返す』文でAからBまでの指定がありません。",t);this.check("comma")&&this.get();var c=!1;(this.check("ここから")||this.check("eol"))&&(c=!0,this.get());var s=null;if(c){if(s=this.yBlock(),!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『繰り返す』...『ここまで』を対応させてください。",e);this.get()}else s=this.ySentence();return a(a({type:"for",from:i,to:o,inc:r,word:u,block:s,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yReturn",value:function(){var e=this.peekSourceMap();return this.check("戻る")?(this.get(),a(a({type:"return",value:this.popStack(["で","を"]),josi:""},e),{},{end:this.peekSourceMap()})):null}},{key:"yForEach",value:function(){var e=this.peekSourceMap();if(!this.check("反復"))return null;for(this.get();this.check("comma");)this.get();var t=this.popStack(["を"]),n=this.popStack(["で"]),r=null,o=!1;return this.check("ここから")?(o=!0,this.get()):this.check("eol")&&(o=!0),o?(r=this.yBlock(),this.check("ここまで")&&this.get()):r=this.ySentence(),a(a({type:"foreach",name:n,target:t,block:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"ySwitch",value:function(){var e=this.peekSourceMap();if(!this.check("条件分岐"))return null;var t=this.get(),n=this.get(),r=this.popStack(["で"]);if(!r)throw b.fromNode("『(値)で条件分岐』のように記述してください。",t);if("eol"!==n.type)throw b.fromNode("『条件分岐』の直後は改行してください。",t);for(var o=!1,i=!1,u=[];!this.isEOF();){if(this.check("ここまで")){if(i)throw b.fromNode("『条件分岐』は『(条件)ならば〜ここまで』と記述してください。",t);this.get();break}if(this.check("eol"))this.get();else{if(o)throw b.fromNode("『条件分岐』で『違えば〜ここまで』の後に処理を続けることは出来ません。",t);var c=this.peek();if("違えば"===c.type)i=!1,o=!0,this.get(),this.check("comma")&&this.get();else{if(i)throw b.fromNode("『条件分岐』は『(条件)ならば〜ここまで』と記述してください。",t);if(c=this.yValue(),"ならば"!==this.get().type)throw b.fromNode("『条件分岐』で条件は**ならばと記述してください。",t);this.check("comma")&&this.get()}var s=this.yBlock();if("ここまで"===this.peek().type)this.get();else{if(o)throw b.fromNode("『条件分岐』は『違えば〜ここまで』と記述してください。",t);i=!0}u.push([c,s])}}return a(a({type:"switch",value:r,cases:u,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yMumeiFunc",value:function(){var e=this.peekSourceMap();if(!this.check("def_func"))return null;var t=this.get(),n=[];this.check("comma")&&this.get(),this.check("(")&&(n=this.yDefFuncReadArgs()),this.check("comma")&&this.get(),this.saveStack();var r=this.yBlock();if(!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『には』構文か無名関数の末尾に『ここまで』が必要です。",e);return this.get(),this.loadStack(),a(a({type:"func_obj",args:n,block:r,meta:t.meta,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yDainyu",value:function(){var e=this.peekSourceMap(),t=this.get();if(null===t)return null;var n=this.popStack(["を"]),r=this.popStack(["へ","に"]);if(!r||"word"!==r.type&&"func"!==r.type&&"配列参照"!==r.type)throw b.fromNode("代入文で代入先の変数が見当たりません。『(変数名)に(値)を代入』のように使います。",t);return"配列参照"===r.type?a(a({type:"let_array",name:r.name,index:r.index,value:n,josi:"",checkInit:this.flagCheckArrayInit},e),{},{end:this.peekSourceMap()}):a(a({type:"let",name:r,value:n,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"ySadameru",value:function(){var e=this.peekSourceMap(),t=this.get();if(null===t)return null;var n=this.popStack(["を"]),r=this.popStack(["へ","に"]);if(console.log(n),!n||"word"!==n.type&&"func"!==n.type&&"配列参照"!==n.type)throw b.fromNode("『定める』文で定数が見当たりません。『(定数名)を(値)に定める』のように使います。",t);return a(a({type:"def_local_var",name:n,vartype:"定数",value:r,josi:""},e),{},{end:this.peekSourceMap()})}},{key:"yIncDec",value:function(){var e=this.peekSourceMap(),t=this.get();if(null===t)return null;if(this.check("繰返"))return this.pushStack(a(a({type:"word",value:t.value,josi:t.josi},e),{},{end:this.peekSourceMap})),this.yFor();var n=this.popStack(["だけ",""]),r=this.popStack(["を"]);if(!r||"word"!==r.type&&"配列参照"!==r.type)throw b.fromNode("『".concat(t.type,"』文で定数が見当たりません。『(変数名)を(値)だけ").concat(t.type,"』のように使います。"),t);return"減"===t.value&&(n=a({type:"op",operator:"*",left:n,right:{type:"number",value:-1,line:t.line},josi:""},e)),a(a({type:"inc",name:r,value:n,josi:t.josi},e),{},{end:this.peekSourceMap()})}},{key:"yCall",value:function(){var e=this;if(this.isEOF())return null;for(;!this.isEOF();){if(this.check("ここから")&&this.get(),this.check("代入"))return this.yDainyu();if(this.check("定める"))return this.ySadameru();if(this.check("回"))return this.yRepeatTime();if(this.check("間"))return this.yWhile();if(this.check("繰返")||this.check("増繰返")||this.check("減繰返"))return this.yFor();if(this.check("反復"))return this.yForEach();if(this.check("条件分岐"))return this.ySwitch();if(this.check("戻る"))return this.yReturn();if(this.check("増")||this.check("減"))return this.yIncDec();if(this.check2([["func","word"],"("])&&""===this.peek().josi){var t=this.yValue();if("func"===t.type&&(""===t.josi||g.indexOf(t.josi)>=0))return t.josi="",t;this.pushStack(t),this.check("comma")&&this.get()}else{if(this.check("func")){var n=this.yCallFunc();if(null===n)continue;if(this.check("間")){this.pushStack(n);continue}return n}var r=this.yGetArg();if(!r)break;this.pushStack(r)}}if(this.stack.length>0){this.logger.debug("--- stack dump ---\n"+JSON.stringify(this.stack,null,2)+"\npeek: "+JSON.stringify(this.peek(),null,2));var i,u="不完全な文です。".concat(this.stack.map((function(t){return e.nodeToStr(t,{depth:0},!0)})).join("、"),"が解決していません。"),a="不完全な文です。".concat(this.stack.map((function(t){return e.nodeToStr(t,{depth:0},!1)})).join("、"),"が解決していません。"),c=o(this.stack);try{for(c.s();!(i=c.n()).done;){var s=i.value,f=this.nodeToStr(s,{depth:0},!1),l=this.nodeToStr(s,{depth:1},!1);f!==l&&(u+="".concat(this.nodeToStr(s,{depth:0},!0),"は").concat(this.nodeToStr(s,{depth:1},!0),"として使われています。"),a+="".concat(f,"は").concat(l,"として使われています。"))}}catch(e){c.e(e)}finally{c.f()}var h=this.stack[0],p=this.stack[this.stack.length-1];throw this.logger.debug(u,h),b.fromNode(a,h,p)}return this.popStack([])}},{key:"yCallFunc",value:function(){var e=this.peekSourceMap(),t=this.get(),n=t.meta,r=null;if("には"===t.josi){try{r=this.yMumeiFunc()}catch(e){throw b.fromNode("『".concat(t.value,"には...』で無名関数の定義で以下の間違いがあります。\n").concat(e.message),t)}if(null===r)throw b.fromNode("『Fには』構文がありましたが、関数定義が見当たりません。",t)}if(!n||void 0===n.josi)throw b.fromNode("関数の定義でエラー。",t);this.recentlyCalledFunc.push(a({name:t.value},n));for(var o=[],i=0,u=0,c=0;c<n.josi.length;c++)for(;;){var s=this.popStack(n.josi[c]);if(null!==s)u++;else{if(!(c<n.josi.length-1)&&n.isVariableJosi)break;i++,s=r}if(null!==s&&void 0!==n.funcPointers&&null!==n.funcPointers[c]){if("func"!==s.type)throw b.fromNode("関数『".concat(t.value,"』の引数『").concat(n.varnames[c],"』には関数オブジェクトが必要です。"),t);s.type="func_pointer"}if(o.push(s),c<n.josi.length-1||!n.isVariableJosi)break}if(i>=2&&(u>0||""===t.josi||g.indexOf(t.josi)>=0))throw b.fromNode("関数『".concat(t.value,"』の引数が不足しています。"),t);var f=a(a({type:"func",name:t.value,args:o,josi:t.josi},e),{},{end:this.peekSourceMap()});return""===t.josi?f:g.indexOf(t.josi)>=0?(f.josi="して",f):(f.meta=n,this.pushStack(f),null)}},{key:"yCallOp",value:function(){if(!this.check2(["func","←"]))return null;var e=this.peekSourceMap(),t=this.get();if(null==t)throw new Error("関数が取得できません。");try{if(null==this.get())throw new Error("関数呼び出し演算子が取得できません。");var n=t.value,r=t.meta.josi.length;if(0===r)throw b.fromNode("引数がない関数『".concat(n,"』を関数呼び出し演算子で呼び出すことはできません。"),t);for(var o=this.stack.length;!this.isEOF();){var i=this.yGetArg();if(!i)break;if(this.pushStack(i),this.stack.length-o===r)break}var u=this.stack.length-o;if(u!==r)throw b.fromNode("関数『".concat(n,"』呼び出しで引数の数(").concat(u,")が定義(").concat(r,")と違います。"),t);var c=this.stack.splice(o,r),s=c;return r>=2&&(s=[],t.meta.josi.forEach((function(e,t){for(var n=0;n<c.length;n++){var r=c[n];if(e.indexOf(r.josi)>=0)return void(s[t]=r)}var o=e.join(",");throw new Error("助詞『".concat(o,"』が見当たりません。"))}))),a(a({type:"func",name:n,args:s,setter:!0,josi:""},e),{},{end:this.peekSourceMap()})}catch(e){throw this.logger.debug("".concat(this.nodeToStr(t,{depth:0},!0),"の関数呼び出しで引数(『←』以降)が読み取れません。"),t),b.fromNode("".concat(this.nodeToStr(t,{depth:0},!1),"の関数呼び出しでエラーがあります。\n").concat(e.message),t)}}},{key:"yLet",value:function(){var e=this.peekSourceMap();if(this.check2(["word","eq"])){var t=this.peek(),n=!1;try{if(this.accept(["word","eq",this.yCalc])||this.accept(["word","eq",this.ySentence])){if("eol"===this.y[2].type)throw new Error("値が空です。");return this.check("comma")&&this.get(),a(a({type:"let",name:this.y[0],value:this.y[2]},e),{},{end:this.peekSourceMap()})}throw n=!0,this.logger.debug("".concat(this.nodeToStr(t,{depth:1},!0),"への代入文で計算式に書き間違いがあります。"),t),b.fromNode("".concat(this.nodeToStr(t,{depth:1},!1),"への代入文で計算式に書き間違いがあります。"),t)}catch(e){if(n)throw e;throw this.logger.debug("".concat(this.nodeToStr(t,{depth:1},!0),"への代入文で計算式に以下の書き間違いがあります。\n").concat(e.message),t),b.fromNode("".concat(this.nodeToStr(t,{depth:1},!1),"への代入文で計算式に以下の書き間違いがあります。\n").concat(e.message),t)}}if(this.check2(["word","@"])){var r=this.yLetArrayAt(e);if(this.check("comma")&&this.get(),r)return r.checkInit=this.flagCheckArrayInit,r}if(this.check2(["word","["])){var o=this.yLetArrayBracket(e);if(this.check("comma")&&this.get(),o)return o.checkInit=this.flagCheckArrayInit,o}if(this.accept(["word","とは"])){var i=this.y[0];if(!this.checkTypes(["変数","定数"]))throw b.fromNode("ローカル変数『"+i.value+"』の定義エラー",i);var u=this.get(),c=null;return this.check("eq")&&(this.get(),c=this.yCalc()),this.check("comma")&&this.get(),a(a({type:"def_local_var",name:i,vartype:u.type,value:c},e),{},{end:this.peekSourceMap()})}if(this.accept(["変数","word","eq",this.yCalc]))return a(a({type:"def_local_var",name:this.y[1],vartype:"変数",value:this.y[3]},e),{},{end:this.peekSourceMap()});if(this.accept(["定数","word","eq",this.yCalc]))return a(a({type:"def_local_var",name:this.y[1],vartype:"定数",value:this.y[3]},e),{},{end:this.peekSourceMap()});if(this.accept(["定数",this.yJSONArray,"eq",this.yCalc])){var s=this.y[1];if(!(s&&s.value instanceof Array))throw b.fromNode("複数定数の代入文でエラー。『定数[A,B,C]=[1,2,3]』の書式で記述してください。",this.y[0]);for(var f in s.value)if("word"!==s.value[f].type)throw b.fromNode("複数定数の代入文".concat(f+1,"番目でエラー。『定数[A,B,C]=[1,2,3]』の書式で記述してください。"),this.y[0]);return a(a({type:"def_local_varlist",names:s.value,vartype:"定数",value:this.y[3]},e),{},{end:this.peekSourceMap()})}if(this.accept(["変数",this.yJSONArray,"eq",this.yCalc])){var l=this.y[1];if(!(l&&l.value instanceof Array))throw b.fromNode("複数変数の代入文でエラー。『変数[A,B,C]=[1,2,3]』の書式で記述してください。",this.y[0]);for(var h in l.value)if("word"!==l.value[h].type)throw b.fromNode("複数変数の代入文".concat(h+1,"番目でエラー。『変数[A,B,C]=[1,2,3]』の書式で記述してください。"),this.y[0]);return a(a({type:"def_local_varlist",names:l.value,vartype:"変数",value:this.y[3]},e),{},{end:this.peekSourceMap()})}if(this.check2(["word","comma","word"])){if(this.accept(["word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2]],vartype:"変数",value:this.y[4]},e),{},{end:this.peekSourceMap()});if(this.accept(["word","comma","word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2],this.y[4]],vartype:"変数",value:this.y[6]},e),{},{end:this.peekSourceMap()});if(this.accept(["word","comma","word","comma","word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2],this.y[4],this.y[6]],vartype:"変数",value:this.y[8]},e),{},{end:this.peekSourceMap()});if(this.accept(["word","comma","word","comma","word","comma","word","comma","word","eq",this.yCalc]))return a(a({type:"def_local_varlist",names:[this.y[0],this.y[2],this.y[4],this.y[6],this.y[8]],vartype:"変数",value:this.y[10]},e),{},{end:this.peekSourceMap()})}return null}},{key:"checkArrayIndex",value:function(e){return 0==this.arrayIndexFrom?e:a(a({},e),{},{type:"op",operator:"-",left:e,right:a(a({},e),{},{type:"number",value:this.arrayIndexFrom})})}},{key:"checkArrayReverse",value:function(e){return this.flagReverseArrayIndex?e.length<=1?e:e.reverse():e}},{key:"yLetArrayAt",value:function(e){return this.accept(["word","@",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:[this.checkArrayIndex(this.y[2])],value:this.y[4]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"@",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4])]),value:this.y[6]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"@",this.yValue,"@",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4]),this.checkArrayIndex(this.y[6])]),value:this.y[8]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"comma",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4])]),value:this.y[6]},e),{},{end:this.peekSourceMap()}):this.accept(["word","@",this.yValue,"comma",this.yValue,"comma",this.yValue,"eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4]),this.checkArrayIndex(this.y[6])]),value:this.y[8]},e),{},{end:this.peekSourceMap()}):null}},{key:"yLetArrayBracket",value:function(e){return this.accept(["word","[",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:[this.checkArrayIndex(this.y[2])],value:this.y[5]},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"]","[",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[5])]),value:this.y[8],tag:"2"},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"comma",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4])]),value:this.y[7],tag:"2"},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"]","[",this.yCalc,"]","[",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[5]),this.checkArrayIndex(this.y[8])]),value:this.y[11]},e),{},{end:this.peekSourceMap()}):this.accept(["word","[",this.yCalc,"comma",this.yCalc,"comma",this.yCalc,"]","eq",this.yCalc])?a(a({type:"let_array",name:this.y[0],index:this.checkArrayReverse([this.checkArrayIndex(this.y[2]),this.checkArrayIndex(this.y[4]),this.checkArrayIndex(this.y[6])]),value:this.y[9]},e),{},{end:this.peekSourceMap()}):null}},{key:"yCalc",value:function(){var e=this.peekSourceMap();if(this.check("eol"))return null;var t=this.yGetArg();if(!t)return null;if(""===t.josi)return t;this.pushStack(t);var n=this.yCall();if("して"!==n.josi)return n;var r=this.yCalc();return r?a(a({type:"renbun",left:n,right:r,josi:r.josi},e),{},{end:this.peekSourceMap()}):n}},{key:"yValueKakko",value:function(){if(!this.check("("))return null;var e=this.get();this.saveStack();var t=this.yCalc()||this.ySentence();if(null===t){var n=this.get();throw this.logger.debug("(...)の解析エラー。"+this.nodeToStr(n,{depth:1},!0)+"の近く",e),b.fromNode("(...)の解析エラー。"+this.nodeToStr(n,{depth:1},!1)+"の近く",e)}if(!this.check(")"))throw this.logger.debug("(...)の解析エラー。"+this.nodeToStr(t,{depth:1},!0)+"の近く",e),b.fromNode("(...)の解析エラー。"+this.nodeToStr(t,{depth:1},!1)+"の近く",e);var r=this.get();return this.loadStack(),t.josi=r.josi,t}},{key:"yValue",value:function(){var e=this.peekSourceMap();if(this.check("comma")&&this.get(),this.checkTypes(["number","string"]))return this.get();if(this.check("("))return this.yValueKakko();if(this.check2(["-","number"])||this.check2(["-","word"])||this.check2(["-","func"])){var t=this.get(),n=this.yValue(),r=n&&n.josi?n.josi:"";return a(a({type:"op",operator:"*",left:{type:"number",value:-1,line:t.line},right:n,josi:r},e),{},{end:this.peekSourceMap()})}if(this.check("not")){this.get();var o=this.yValue();return a(a({type:"not",value:o,josi:o&&o.josi?o.josi:""},e),{},{end:this.peekSourceMap()})}var i=this.yJSONArray();if(i)return i;var u=this.yJSONObject();if(u)return u;var c=w.concat(["eol",")","]","ならば","回","間","反復","条件分岐"]);if(this.check2(["func",c])){var s=this.get();return a(a({type:"func",name:s.value,args:[],josi:s.josi},e),{},{end:this.peekSourceMap()})}if(this.check2([["func","word"],"("])&&""===this.peek().josi){var f=this.peek();if(this.accept([["func","word"],"(",this.yGetArgParen,")"]))return a(a({type:"func",name:this.y[0].value,args:this.y[2],josi:this.y[3].josi},e),{},{end:this.peekSourceMap()});throw b.fromNode("C風関数呼び出しのエラー",f)}if(this.check2(["func","←"]))return this.yCallOp();if(this.check("def_func"))return this.yMumeiFunc();var l=this.yValueWord();return l||null}},{key:"yValueWordGetIndex",value:function(e){if(this.check("@")){if(this.accept(["@",this.yValue,"comma",this.yValue,"comma",this.yValue]))return e.index.push(this.checkArrayIndex(this.y[1])),e.index.push(this.checkArrayIndex(this.y[3])),e.index.push(this.checkArrayIndex(this.y[5])),e.index=this.checkArrayReverse(e.index),e.josi=this.y[5].josi,!0;if(this.accept(["@",this.yValue,"comma",this.yValue]))return e.index.push(this.checkArrayIndex(this.y[1])),e.index.push(this.checkArrayIndex(this.y[3])),e.index=this.checkArrayReverse(e.index),e.josi=this.y[3].josi,!0;if(this.accept(["@",this.yValue]))return e.index.push(this.checkArrayIndex(this.y[1])),e.josi=this.y[1].josi,!0;throw b.fromNode("変数の後ろの『@要素』の指定が不正です。",e.name)}if(this.check("[")&&this.accept(["[",this.yCalc,"]"]))return e.index.push(this.checkArrayIndex(this.y[1])),e.josi=this.y[2].josi,!0;if(this.check("[")&&this.accept(["[",this.yCalc,"comma",this.yCalc,"]"])){var t=[this.checkArrayIndex(this.y[1]),this.checkArrayIndex(this.y[3])];return e.index=this.checkArrayReverse(t),e.josi=this.y[4].josi,!0}if(this.check("[")&&this.accept(["[",this.yCalc,"comma",this.yCalc,"comma",this.yCalc,"]"])){var n=[this.checkArrayIndex(this.y[1]),this.checkArrayIndex(this.y[3]),this.checkArrayIndex(this.y[5])];return e.index=this.checkArrayReverse(n),e.josi=this.y[6].josi,!0}return!1}},{key:"yValueWord",value:function(){var e=this.peekSourceMap();if(this.check("word")){var t=this.get();if(this.skipRefArray)return t;if(""===t.josi&&this.checkTypes(["[","@"])){for(var n=a(a({type:"配列参照",name:t,index:[],josi:""},e),{},{end:this.peekSourceMap()});!this.isEOF()&&this.yValueWordGetIndex(n););if(0===n.index.length)throw b.fromNode("配列『".concat(t.value,"』アクセスで指定ミス"),t);return n}return t}return null}},{key:"yJSONObjectValue",value:function(){for(var e=[],t=this.peek();!this.isEOF();){for(;this.check("eol");)this.get();if(this.check("}"))break;if(this.accept(["word",":",this.yCalc]))this.y[0].type="string",e.push({key:this.y[0],value:this.y[2]});else if(this.accept(["string",":",this.yCalc]))e.push({key:this.y[0],value:this.y[2]});else if(this.check("word")){var n=this.get();n.type="string",e.push({key:n,value:n})}else{if(!this.checkTypes(["string","number"]))throw b.fromNode("辞書オブジェクトの宣言で末尾の『}』がありません。",t);var r=this.get();e.push({key:r,value:r})}this.check("comma")&&this.get()}return e}},{key:"yJSONObject",value:function(){var e=this.peekSourceMap();if(this.accept(["{","}"]))return a(a({type:"json_obj",value:[],josi:this.y[1].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["{",this.yJSONObjectValue,"}"]))return a(a({type:"json_obj",value:this.y[1],josi:this.y[2].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["{",this.yJSONObjectValue]))throw b.fromNode("辞書型変数の初期化が『}』で閉じられていません。",this.y[1]);return null}},{key:"yJSONArrayValue",value:function(){this.check("eol")&&this.get();var e=this.yCalc();if(null===e)return null;this.check("comma")&&this.get();for(var t=[e];!this.isEOF()&&(this.check("eol")&&this.get(),!this.check("]"));){var n=this.yCalc();if(null===n)break;this.check("comma")&&this.get(),t.push(n)}return t}},{key:"yJSONArray",value:function(){var e=this.peekSourceMap();if(this.accept(["[","]"]))return a(a({type:"json_array",value:[],josi:this.y[1].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["[",this.yJSONArrayValue,"]"]))return a(a({type:"json_array",value:this.y[1],josi:this.y[2].josi},e),{},{end:this.peekSourceMap()});if(this.accept(["[",this.yJSONArrayValue]))throw b.fromNode("配列変数の初期化が『]』で閉じられていません。",this.y[1]);return null}},{key:"yTryExcept",value:function(){var e=this.peekSourceMap();if(!this.check("エラー監視"))return null;var t=this.get(),n=this.yBlock();if(!this.check2(["エラー","ならば"]))throw b.fromNode("エラー構文で『エラーならば』がありません。『エラー監視..エラーならば..ここまで』を対で記述します。",t);this.get(),this.get();var r=this.yBlock();if(!this.check("ここまで"))throw b.fromNode("『ここまで』がありません。『エラー監視』...『エラーならば』...『ここまで』を対応させてください。",e);return this.get(),a(a({type:"try_except",block:n,errBlock:r,josi:""},e),{},{end:this.peekSourceMap()})}}])&&f(t.prototype,n),r&&f(t,r),u}(m);e.exports=x},14:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(561),n(2222),n(8309),n(2526),n(1817),n(1539),n(2165),n(6992),n(8783),n(3948);var i=n(7597).NakoSyntaxError,u=function(){"use strict";function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.logger=t,this.stackList=[],this.init(),this.tokens=[],this.stack=[],this.index=0,this.y=[],this.genMode="sync",this.arrayIndexFrom=0,this.flagReverseArrayIndex=!1,this.flagCheckArrayInit=!1,this.recentlyCalledFunc=[]}var t,n,i;return t=e,n=[{key:"init",value:function(){this.funclist={},this.reset()}},{key:"reset",value:function(){this.tokens=[],this.index=0,this.stack=[],this.y=[],this.genMode="sync"}},{key:"setFuncList",value:function(e){this.funclist=e}},{key:"popStack",value:function(e){if(!e)return this.stack.pop();for(var t=0;t<this.stack.length;t++){var n=this.stack[t];if(0===e.length||e.indexOf(n.josi)>=0)return this.stack.splice(t,1),this.logger.trace("POP :"+JSON.stringify(n)),n}return null}},{key:"saveStack",value:function(){this.stackList.push(this.stack),this.stack=[]}},{key:"loadStack",value:function(){this.stack=this.stackList.pop()}},{key:"pushStack",value:function(e){this.logger.debug("PUSH:"+JSON.stringify(e)),this.stack.push(e)}},{key:"isEOF",value:function(){return this.index>=this.tokens.length}},{key:"check",value:function(e){return this.tokens[this.index].type===e}},{key:"check2",value:function(e){for(var t=0;t<e.length;t++){var n=t+this.index;if(this.tokens.length<=n)return!1;if("*"!==e[t]){var r=this.tokens[n];if(e[t]instanceof Array){if(e[t].indexOf(r.type)<0)return!1}else if(r.type!==e[t])return!1}}return!0}},{key:"checkTypes",value:function(e){var t=this.tokens[this.index].type;return e.indexOf(t)>=0}},{key:"accept",value:function(e){for(var t=this,n=[],o=this.index,i=function(){return t.index=o,!1},u=0;u<e.length;u++){if(this.isEOF())return i();var a=e[u];if("string"!=typeof a)if("function"!=typeof a){if(!(a instanceof Array))throw new Error("System Error : accept broken : "+r(a));if(!this.checkTypes(a))return i();n[u]=this.get()}else{var c=a.bind(this)(n);if(null===c)return i();n[u]=c}else{var s=this.get();if(s.type!==a)return i();n[u]=s}}return this.y=n,!0}},{key:"get",value:function(){return this.isEOF()?null:this.tokens[this.index++]}},{key:"unget",value:function(){this.index>0&&this.index--}},{key:"peek",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.isEOF()?null:this.tokens[this.index+e]}},{key:"peekSourceMap",value:function(){var e=this.peek();return null===e?{startOffset:null,endOffset:null,file:void 0,line:0,column:0}:{startOffset:e.startOffset,endOffset:e.endOffset,file:e.file,line:e.line,column:e.column}}},{key:"nodeToStr",value:function(e,t,n){var r=t.depth-1,o=function(e){return void 0!==t.typeName?t.typeName:e},i=n?" debug: "+JSON.stringify(e,null,2):"";if(!e)return"(NULL)";switch(e.type){case"not":return r>=0?"".concat(o(""),"『").concat(this.nodeToStr(e.value,{depth:r},n),"に演算子『not』を適用した式").concat(i,"』"):"".concat(o("演算子"),"『not』");case"op":var u=e.operator,a={eq:"=",not:"!",gt:">",lt:"<",and:"かつ",or:"または"};if(u in a&&(u=a[u]),r>=0){var c=this.nodeToStr(e.left,{depth:r},n),s=this.nodeToStr(e.right,{depth:r},n);return"eq"===e.operator?"".concat(o(""),"『").concat(c,"と").concat(s,"が等しいかどうかの比較").concat(i,"』"):"".concat(o(""),"『").concat(c,"と").concat(s,"に演算子『").concat(u,"』を適用した式").concat(i,"』")}return"".concat(o("演算子"),"『").concat(u).concat(i,"』");case"number":return"".concat(o("数値")).concat(e.value);case"string":return"".concat(o("文字列"),"『").concat(e.value).concat(i,"』");case"word":return"".concat(o("単語"),"『").concat(e.value).concat(i,"』");case"func":return"".concat(o("関数"),"『").concat(e.name||e.value).concat(i,"』");case"eol":return"行の末尾";case"eof":return"ファイルの末尾";default:var f=e.name;return f||(f=e.value),"string"!=typeof f&&(f=e.type),"".concat(o(""),"『").concat(f).concat(i,"』")}}}],n&&o(t.prototype,n),i&&o(t,i),e}();e.exports={NakoParserBase:u,NakoSyntaxError:i}},2479:function(e){e.exports={opPriority:{and:1,or:1,eq:2,noteq:2,"===":2,"!==":2,gt:2,gteq:2,lt:2,lteq:2,"&":3,"+":4,"-":4,shift_l:4,shift_r:4,shift_r0:4,"*":5,"/":5,"%":5,"^":6},keizokuJosi:["いて","えて","きて","けて","して","って","にて","みて","めて","ねて","には","んで"]}},8178:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}n(4916),n(5306),n(9841),n(4953),n(7207),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=function(){"use strict";function e(t){i(this,e),this.history=[],this.code=t}return a(e,[{key:"getText",value:function(){return this.code}},{key:"replaceAll",value:function(e,t){for(;;){var n=this.getText().indexOf(e);if(-1===n)break;e.length!==t.length&&this.history.unshift({index:n,from:e.length,to:t.length}),this.code=this.code.replace(e,t)}}},{key:"getSourcePosition",value:function(e){var t,n=r(this.history);try{for(n.s();!(t=n.n()).done;){var o=t.value;e>=o.index+o.to?e+=o.from-o.to:o.index<=e&&e<o.index+o.to&&(e=o.to>=2&&e===o.index+o.to-1?o.index+o.from-1:o.index)}}catch(e){n.e(e)}finally{n.f()}return e}}]),e}(),s=function(){"use strict";function e(t){i(this,e),this.logger=t,this.HYPHENS={45:!0,8208:!0,8209:!0,8211:!0,8212:!0,8213:!0,8722:!0},this.TILDES={126:!0,732:!0,759:!0,8275:!0,8764:!0,12316:!0,65374:!0},this.SPACES={32:!0,8192:!0,8194:!0,8195:!0,8196:!0,8197:!0,8198:!0,8199:!0,8201:!0,8202:!0,8203:!0,8239:!0,8287:!0,12288:!0,12644:!0},this.convertTable={9:" ",8251:"#",12290:";",12304:"[",12305:"]",12289:",",65292:","}}return a(e,[{key:"convert1ch",value:function(e){if(!e)return"";var t=e.codePointAt(0);if(this.convertTable[t])return this.convertTable[t];if(t<127)return e;if(t>=65281&&t<=65374){var n=t-65248;return String.fromCodePoint(n)}return this.HYPHENS[t]?"-":this.TILDES[t]?"~":this.SPACES[t]?" ":e}},{key:"convert",value:function(e){if(!e)return[];var t=new c(e);t.replaceAll("\r\n","\n"),t.replaceAll("\r","\n");for(var n=!1,r=!1,o="",i=[],u=0,a="",s=0;s<t.getText().length;){var f=t.getText().charAt(s),l=t.getText().substr(s,2);if(n){if(f===o){n=!1,i.push({text:a+o,sourcePosition:t.getSourcePosition(u)}),u=++s;continue}a+=f,s++}else if(r){if(l===o){r=!1,i.push({text:a+o,sourcePosition:t.getSourcePosition(u)}),u=s+=2;continue}a+=f,s++}else if("「"!==f)if("『"!==f)if("“"!==f)if("🌴"!==l&&"🌿"!==l){var h=this.convert1ch(f);'"'!==h&&"'"!==h?"#"!==h?"//"!==l&&"//"!==l?"/*"!==l?(i.push({text:h,sourcePosition:t.getSourcePosition(u)}),u=++s):(i.push({text:l,sourcePosition:t.getSourcePosition(u)}),u=s+=2,r=!0,o="*/",a=""):(i.push({text:"//",sourcePosition:t.getSourcePosition(u)}),u=s+=2,n=!0,o="\n",a=""):(i.push({text:h,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="\n",a=""):(i.push({text:h,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o=f,a="")}else i.push({text:l,sourcePosition:t.getSourcePosition(u)}),u=s+=2,r=!0,o=l,a="";else i.push({text:f,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="”",a="";else i.push({text:f,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="』",a="";else i.push({text:f,sourcePosition:t.getSourcePosition(u)}),u=++s,n=!0,o="」",a=""}return(n||r)&&i.push({text:a+o,sourcePosition:t.getSourcePosition(u)}),i}}]),e}();e.exports=s},5740:function(e){e.exports={"回":"回","回繰返":"回","間":"間","間繰返":"間","繰返":"繰返","増繰返":"増繰返","減繰返":"減繰返","後判定":"後判定","反復":"反復","抜":"抜ける","続":"続ける","戻":"戻る","先":"先に","次":"次に","代入":"代入","実行速度優先":"実行速度優先","パフォーマンスモニタ適用":"パフォーマンスモニタ適用","定":"定める","逐次実行":"逐次実行","条件分岐":"条件分岐","増":"増","減":"減","変数":"変数","定数":"定数","エラー監視":"エラー監視","エラー":"エラー","それ":"word","そう":"word","関数":"def_func","インデント構文":"インデント構文","非同期モード":"非同期モード","DNCLモード":"DNCLモード","モード設定":"モード設定","取込":"取込"}},144:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}n(4553),n(4916),n(3123),n(7042),n(1539),n(8309),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948);var c=function(){"use strict";function e(t,n){i(this,e),this.sourceCodeLength=t,this.preprocessed=n;var o=0;this.cumulativeSum=[];var u,a=r(n);try{for(a.s();!(u=a.n()).done;){var c=u.value;this.cumulativeSum.push(o),o+=c.text.length}}catch(e){a.e(e)}finally{a.f()}this.lastIndex=0,this.lastPreprocessedCodePosition=0}return a(e,[{key:"map",value:function(e){var t=this.findIndex(e);return Math.min(this.preprocessed[t].sourcePosition+(e-this.cumulativeSum[t]),t===this.preprocessed.length-1?this.sourceCodeLength:this.preprocessed[t+1].sourcePosition-1)}},{key:"findIndex",value:function(e){e<this.lastPreprocessedCodePosition&&(this.lastIndex=0),this.lastPreprocessedCodePosition=e;for(var t=this.lastIndex;t<this.preprocessed.length-1;t++)if(e<this.cumulativeSum[t+1])return this.lastIndex=t,t;return this.lastIndex=this.preprocessed.length-1,this.preprocessed.length-1}}]),e}(),s=function(){"use strict";function e(t,n,o){i(this,e),this.lines=[],this.linesInsertedByIndentationSyntax=n,this.linesDeletedByIndentationSyntax=o;var u,a=0,c=r(t.split("\n"));try{for(c.s();!(u=c.n()).done;){var s=u.value;this.lines.push({offset:a,len:s.length}),a+=s.length+1}}catch(e){c.e(e)}finally{c.f()}this.lastLineNumber=0,this.lastOffset=0}return a(e,[{key:"map",value:function(e,t){if(null===e)return{startOffset:e,endOffset:t};var n,o=this.getLineNumber(e),i=r(this.linesInsertedByIndentationSyntax);try{for(i.s();!(n=i.n()).done;){var u=n.value;if(o===u){e=null,t=null;break}o>u&&(e-=this.lines[u].len+1,null!==t&&(t-=this.lines[u].len+1))}}catch(e){i.e(e)}finally{i.f()}var a,c=r(this.linesDeletedByIndentationSyntax);try{for(c.s();!(a=c.n()).done;){var s=a.value;o>=s.lineNumber&&(null!==e&&(e+=s.len+1),null!==t&&(t+=s.len+1))}}catch(e){c.e(e)}finally{c.f()}return{startOffset:e,endOffset:t}}},{key:"getLineNumber",value:function(e){e<this.lastOffset&&(this.lastLineNumber=0),this.lastOffset=e;for(var t=this.lastLineNumber;t<this.lines.length-1;t++)if(e<this.lines[t+1].offset)return this.lastLineNumber=t,t;return this.lastLineNumber=this.lines.length-1,this.lines.length-1}}]),e}(),f=function(){"use strict";function e(t){i(this,e),this.lineOffsets=[];var n,o=0,u=r(t.split("\n"));try{for(u.s();!(n=u.n()).done;){var a=n.value;this.lineOffsets.push(o),o+=a.length+1}}catch(e){u.e(e)}finally{u.f()}this.lastLineNumber=0,this.lastOffset=0}return a(e,[{key:"map",value:function(e,t){e<this.lastOffset&&(this.lastLineNumber=0),this.lastOffset=e;for(var n=this.lastLineNumber;n<this.lineOffsets.length-1;n++)if(e<this.lineOffsets[n+1])return this.lastLineNumber=n,{line:n+(t?1:0),column:e-this.lineOffsets[n]};return this.lastLineNumber=this.lineOffsets.length-1,{line:this.lineOffsets.length-1+(t?1:0),column:e-this.lineOffsets[this.lineOffsets.length-1]}}}]),e}();e.exports={SourceMappingOfTokenization:c,SourceMappingOfIndentSyntax:s,OffsetToLineColumn:f,subtractSourceMapByPreCodeLength:function(e,t){if("number"==typeof e.startOffset&&(e.startOffset-=t.length),"number"==typeof e.endOffset&&(e.endOffset-=t.length),""!==t){var n=t.split("\n");"number"==typeof e.line&&(e.line-=n.length-1),0===e.line&&"number"==typeof e.column&&(e.column-=n[n.length-1].length)}return e}}},7785:function(e){e.exports={version:"3.2.40",major:3,minor:2,patch:40}},4068:function(e,t,n){n(4916),n(5306),n(561),n(1539),n(4747),n(9601);var r=n(7216),o=n(7880),i=n(8472),u=n(9739),a=n(103),c=n(1139),s=n(4402),f=n(8814),l=n(8698),h=n(615),p=n(4142),d=n(9497),y=n(580),v=n(4323),g=n(3267),_=n(7981),m=n(8446),b=n(9796),w={meta:{type:"const",value:{pluginName:"plugin_browser",pluginVersion:"3.2.24",nakoRuntime:["wnako"],nakoVersion:"^3.2.24"}},"初期化":{type:"func",josi:[],pure:!0,fn:function(e){"undefined"==typeof document&&(document={body:{}}),"undefined"==typeof window&&(window={location:{href:""}}),"undefined"==typeof navigator&&(navigator={}),e.__v0["AJAX:ONERROR"]=function(e){console.log(e)},e.__v0.DOCUMENT=document,e.__v0.WINDOW=window,e.__v0.NAVIGATOR=navigator,e.__v0["DOM親要素"]=document.body,e.__v0["ブラウザURL"]=window.location.href,e.__tohtml=function(e){return(""+e).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")},e.__tohtmlQ=function(t){return e.__tohtml(t).replace(/\"/g,""").replace(/\'/g,"'")},e.__dom_events=[],e.__addEvent=function(t,n,r,o){if("string"==typeof t&&!(t=document.querySelector(t)))throw new Error("DOMイベントが追加できません。要素が見当たりません。");if("string"==typeof r&&!(r=e.__findVar(r,null)))throw new Error("DOMイベントが追加できません。関数が見当たりません。");var i=function(t){return e.__v0["対象"]=t.target,e.__v0["対象イベント"]=t,o&&o(t,e),"非同期モード"===e.__genMode&&(e.newenv=!0),r(t,e)};e.__dom_events.push({dom:t,event:n,func:i,rawFunc:r}),t.addEventListener(n,i)},e.__keyHandler=function(e,t){t.__v0["押キー"]=e.key},e.__mouseHandler=function(e,t){var n=e.target.getBoundingClientRect();t.__v0["マウスX"]=e.clientX-n.left,t.__v0["マウスY"]=e.clientY-n.top},e.__touchHandler=function(e,t){var n=e.target.getBoundingClientRect(),r=e.changedTouches;if(!(r.length<=0)){for(var o=[],i=0;i<r.length;i++){var u=r[i],a=u.clientX-n.left,c=u.clientY-n.top;0===i&&(t.__v0["タッチX"]=a,t.__v0["タッチY"]=c),o.push([a,c])}return t.__v0["タッチ配列"]=o,o}},e.__removeEvent=function(t,n,r){if("string"==typeof t&&!(t=document.querySelector(t)))throw new Error("DOMイベントが削除できません。要素が見当たりません。");if("string"==typeof r&&!(r=e.__findVar(r,null)))throw new Error("DOMイベントが削除できません。関数が見当たりません。");for(var o=0;o<e.__dom_events.length;o++){var i=e.__dom_events[o];if(i.dom===t&&i.event===n&&i.rawFunc===r){i.dom.removeEventListener(i.event,i.func),e.__dom_events.splice(o,1);break}}},e.__requestAnimationFrameLastId=0,e.__removeAllDomEvent=function(){e.__dom_events.forEach((function(e){console.log(e.event,e.dom,e),e.dom.removeEventListener(e.event,e.func)})),e.__dom_events=[],e.__requestAnimationFrameLastId>0&&(window.cancelAnimationFrame(e.__requestAnimationFrameLastId),e.__requestAnimationFrameLastId=0)}}},"!クリア":{type:"func",josi:[],pure:!1,fn:function(e){e.__chartjs&&e.__chartjs.destroy(),e.__removeAllDomEvent()}}};[r,o,i,u,a,c,s,f,l,h,p,d,y,v,g,_,m,b].forEach((function(e){var t={};Object.assign(t,e),void 0!==t["初期化"]&&delete t["初期化"],Object.assign(w,t)})),e.exports=w},103:function(e,t,n){n(1539),n(8674),n(9600),n(9714),e.exports={"AJAX送信時":{type:"func",josi:[["の"],["まで","へ","に"]],pure:!0,fn:function(e,t,n){var r=n.__v0["AJAXオプション"];""===r&&(r={method:"GET"}),fetch(t,r).then((function(e){return e.text()})).then((function(t){n.__v0["対象"]=t,"非同期モード"===n.__genMode&&(n.newenv=!0),e(t,n)})).catch((function(e){console.log("[fetch.error]",e),n.__v0["AJAX:ONERROR"](e)}))},return_none:!0},"AJAX受信":{type:"func",josi:[["から","を"]],pure:!0,fn:function(e,t){if("非同期モード"!==t.__genMode)throw new Error("『AJAX受信』を使うには、プログラムの冒頭で「!非同期モード」と宣言してください。");var n=t.setAsync(t),r=t.__v0["AJAXオプション"];""===r&&(r={method:"GET"}),fetch(e,r).then((function(e){if(e.ok)return e.text();throw new Error("status="+e.status)})).then((function(e){t.__v0["対象"]=e,t.compAsync(t,n)})).catch((function(e){console.error("[AJAX受信のエラー]",e),t.__errorAsync(e,t)}))},return_none:!0},"AJAX受信時":{type:"func",josi:[["で"],["から","を"]],pure:!0,fn:function(e,t,n){n.__exec("AJAX送信時",[e,t,n])},return_none:!0},"GET送信時":{type:"func",josi:[["の"],["まで","へ","に"]],pure:!1,fn:function(e,t,n){n.__exec("AJAX送信時",[e,t,n])},return_none:!0},"POSTデータ生成":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){var n=[];for(var r in e){var o=e[r],i=encodeURIComponent(r)+"="+encodeURIComponent(o);n.push(i)}return n.join("&")}},"POST送信時":{type:"func",josi:[["の"],["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n,r){var o=r.__exec("POSTデータ生成",[n,r]);fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:o}).then((function(e){return e.text()})).then((function(t){r.__v0["対象"]=t,e(t)})).catch((function(e){r.__v0["AJAX:ONERROR"](e)}))}},"POSTフォーム送信時":{type:"func",josi:[["の"],["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n,r){var o=new FormData;for(var i in n)o.set(i,n[i]);fetch(t,{method:"POST",body:o}).then((function(e){return e.text()})).then((function(t){r.__v0["対象"]=t,e(t)})).catch((function(e){r.__v0["AJAX:ONERROR"](e)}))}},"AJAX失敗時":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){t.__v0["AJAX:ONERROR"]=e}},"AJAXオプション":{type:"const",value:""},"AJAXオプション設定":{type:"func",josi:[["に","へ","と"]],pure:!0,fn:function(e,t){t.__v0["AJAXオプション"]=e},return_none:!0},"AJAX送信":{type:"func",josi:[["まで","へ","に"]],pure:!0,fn:function(e,t){if(!t.resolve)throw new Error("『AJAX送信』は『逐次実行』構文内で利用する必要があります。");t.__exec("AJAX逐次送信",[e,t])},return_none:!0},"AJAX逐次送信":{type:"func",josi:[["まで","へ","に"]],pure:!0,fn:function(e,t){if(!t.resolve)throw new Error("『AJAX逐次送信』は『逐次実行』構文内で利用する必要があります。");t.resolveCount++;var n=t.resolve,r=t.reject,o=t.__v0["AJAXオプション"];""===o&&(o={method:"GET"}),fetch(e,o).then((function(e){return e.text()})).then((function(e){t.__v0["対象"]=e,n()})).catch((function(e){r(e.message)}))},return_none:!0},"AJAX保障送信":{type:"func",josi:[["まで","へ","に"]],pure:!0,fn:function(e,t){var n=t.__v0["AJAXオプション"];return""===n&&(n={method:"GET"}),fetch(e,n)},return_none:!1},"HTTP取得":{type:"func",josi:[["の","から","を"]],pure:!1,fn:function(e,t){if(!t.resolve)throw new Error("『HTTP取得』は『逐次実行』構文内で利用する必要があります。");t.__exec("AJAX逐次送信",[e,t])},return_none:!0},"HTTP逐次取得":{type:"func",josi:[["の","から","を"]],pure:!1,fn:function(e,t){if(!t.resolve)throw new Error("『HTTP逐次取得』は『逐次実行』構文内で利用する必要があります。");t.__exec("AJAX逐次送信",[e,t])},return_none:!0},"HTTP保障取得":{type:"func",josi:[["の","から","を"]],pure:!0,fn:function(e,t){return t.__exec("AJAX保障送信",[e,t])},return_none:!1},"POST逐次送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n){if(!n.resolve)throw new Error("『POST送信』は『逐次実行』構文内で利用する必要があります。");n.resolveCount++;var r=n.resolve,o=n.reject,i=n.__exec("POSTデータ生成",[t,n]);fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:i}).then((function(e){return e.text()})).then((function(e){n.__v0["対象"]=e,r(e)})).catch((function(e){o(e.message)}))},return_none:!0},"POST送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n){if(!n.resolve)throw new Error("『POST送信』は『逐次実行』構文内で利用する必要があります。");n.__exec("POST逐次送信",[e,t,n])},return_none:!0},"POST保障送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n){var r=n.__exec("POSTデータ生成",[t,n]);return fetch(e,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:r})},return_none:!1},"POSTフォーム逐次送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n){if(!n.resolve)throw new Error("『POSTフォーム逐次送信』は『逐次実行』構文内で利用する必要があります。");n.resolveCount++;var r=n.resolve,o=n.reject,i=new FormData;for(var u in t)i.set(u,t[u]);fetch(e,{method:"POST",body:i}).then((function(e){return e.text()})).then((function(e){n.__v0["対象"]=e,r(e)})).catch((function(e){o(e.message)}))},return_none:!0},"POSTフォーム送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!1,fn:function(e,t,n){if(!n.resolve)throw new Error("『POSTフォーム送信』は『逐次実行』構文内で利用する必要があります。");n.__exec("POSTフォーム逐次送信",[e,t,n])},return_none:!0},"POSTフォーム保障送信":{type:"func",josi:[["まで","へ","に"],["を"]],pure:!0,fn:function(e,t,n){var r=new FormData;for(var o in t)r.set(o,t[o]);return fetch(e,{method:"POST",body:r})},return_none:!1},"AJAX内容取得":{type:"func",josi:[["から"],["で"]],pure:!0,fn:function(e,t,n){return"TEXT"===(t=t.toString().toUpperCase())||"テキスト"===t?e.text():"JSON"===t?e.json():"BLOB"===t?e.blob():"ARRAY"===t||"配列"===t?e.arrayBuffer():"BODY"===t||"本体"===t?e.body:e.body()},return_none:!1}}},3267:function(e){e.exports={"オーディオ開":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e,t){var n=new Audio;return n.src=e,n},return_none:!1},"オーディオ再生":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ再生する前に、オーディオ開くで音声ファイルを読み込んでください");e.loop=!1,e.play()},return_none:!0},"オーディオループ再生":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ再生する前に、オーディオ開くで音声ファイルを読み込んでください");e.loop=!0,e.play()},return_none:!0},"オーディオ停止":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ停止する前に、オーディオ開くで音声ファイルを読み込んでください");e.pause(),e.currentTime=0,setTimeout((function(){e.currentTime=0}),10)},return_none:!0},"オーディオ一時停止":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ一時停止する前に、オーディオ開くで音声ファイルを読み込んでください");e.pause()},return_none:!0},"オーディオ音量取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ長取得する前に、オーディオ開くで音声ファイルを読み込んでください");return e.volume}},"オーディオ音量設定":{type:"func",josi:[["を"],["に","へ"]],pure:!0,fn:function(e,t,n){if(!e)throw new Error("オーディオ長取得する前に、オーディオ開くで音声ファイルを読み込んでください");e.volume=t},return_none:!0},"オーディオ長取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ長取得する前に、オーディオ開くで音声ファイルを読み込んでください");return e.duration}},"オーディオ再生位置取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e,t){if(!e)throw new Error("オーディオ再生位置取得する前に、オーディオ開くで音声ファイルを読み込んでください");return e.currentTime}},"オーディオ再生位置設定":{type:"func",josi:[["を"],["に","へ"]],pure:!0,fn:function(e,t,n){if(!e)throw new Error("オーディオ停止する前に、オーディオ開くで音声ファイルを読み込んでください");e.currentTime=t},return_none:!0}}},4142:function(e,t,n){n(3290),n(4916);var r="描画を行うためには、HTML内にcanvasを配置し、idを振って『描画開始』命令に指定します。";e.exports={"描画開始":{type:"func",josi:[["の","へ","で"]],pure:!0,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)||document.getElementById(e)),!e)throw new Error("『描画開始』でCanvasを取得できませんでした。");t.__canvas=e,t.__ctx=e.getContext("2d"),t.__fillStyle="black",t.__strokeStyle="black",t.__v0["描画中キャンバス"]=e,t.__v0["描画中コンテキスト"]=t.__ctx},return_none:!0},"描画中キャンバス":{type:"const",value:null},"描画中コンテキスト":{type:"const",value:null},"キャンバス状態保存":{type:"func",josi:[],pure:!0,fn:function(e){if(!e.__ctx)throw new Error(r);e.__ctx.save()},return_none:!0},"キャンバス状態復元":{type:"func",josi:[],pure:!0,fn:function(e){if(!e.__ctx)throw new Error(r);e.__ctx.restore()},return_none:!0},"線色設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__strokeStyle=e,""!=e&&(t.__ctx.strokeStyle=e)},return_none:!0},"塗色設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__fillStyle=e,""!=e&&(t.__ctx.fillStyle=e)},return_none:!0},"線描画":{type:"func",josi:[["から"],["へ","まで"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);n.__ctx.beginPath(),n.__ctx.moveTo(e[0],e[1]),n.__ctx.lineTo(t[0],t[1]),n.__ctx.stroke()},return_none:!0},"線太設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.lineWidth=e},return_none:!0},"四角描画":{type:"func",josi:[["の","へ","に"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);""==t.__fillStyle&&""==t.__strokeStyle||(t.__ctx.beginPath(),t.__ctx.rect(e[0],e[1],e[2],e[3]),""!=t.__fillStyle&&t.__ctx.fill(),""!=t.__strokeStyle&&t.__ctx.stroke())},return_none:!0},"全描画クリア":{type:"func",josi:[],pure:!0,fn:function(e){if(!e.__ctx)throw new Error(r);e.__ctx.clearRect(0,0,e.__canvas.width,e.__canvas.height)},return_none:!0},"描画クリア":{type:"func",josi:[["の","へ","に"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);e instanceof Array||(e=[]),0==e.length?e=[0,0,t.__canvas.width,t.__canvas.height]:e.length<=2&&(e.unshift(0),e.unshift(0)),t.__ctx.clearRect(e[0],e[1],e[2],e[3])},return_none:!0},"円描画":{type:"func",josi:[["へ","に"],["の"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);""==n.__fillStyle&&""==n.__strokeStyle||(n.__ctx.beginPath(),n.__ctx.arc(e[0],e[1],t,0,2*Math.PI,!1),""!=n.__fillStyle&&n.__ctx.fill(),""!=n.__strokeStyle&&n.__ctx.stroke())},return_none:!0},"楕円描画":{type:"func",josi:[["へ","に","の"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);if(!e)throw new Error("楕円描画の引数配列が無効です");if(e.length<4)throw new Error("楕円描画の引数配列が不足しています");e.length<7&&(e[4]||(e[4]=0),e[5]||(e[5]=0),e[6]||(e[6]=2*Math.PI),e[7]||(e[7]=!0)),""==t.__fillStyle&&""==t.__strokeStyle||(t.__ctx.beginPath(),t.__ctx.ellipse.apply(t.__ctx,e),""!=t.__fillStyle&&t.__ctx.fill(),""!=t.__strokeStyle&&t.__ctx.stroke())},return_none:!0},"多角形描画":{type:"func",josi:[["で","の","を"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);if(""!=t.__fillStyle||""!=t.__strokeStyle){t.__ctx.beginPath();var n=e[0];t.__ctx.moveTo(n[0],n[1]);for(var o=1;o<e.length;o++){var i=e[o];t.__ctx.lineTo(i[0],i[1])}t.__ctx.lineTo(n[0],n[1]),""!=t.__fillStyle&&t.__ctx.fill(),""!=t.__strokeStyle&&t.__ctx.stroke()}},return_none:!0},"画像読":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){var n=new window.Image;return n.src=e,n}},"画像逐次読":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){if(void 0===t.resolve)throw new Error("『画像逐次読』は『逐次実行』構文で使ってください。");t.resolveCount++;var n=new window.Image;return n.src=e,n.onload=function(){t.__v0["対象"]=n,t.resolve()},n.onerror=function(){t.__v0["対象"]="",t.reject()},n}},"画像読時":{type:"func",josi:[["で"],["の","を"]],pure:!0,fn:function(e,t,n){var r=n.__findVar(e,null),o=new window.Image;o.src=t,o.onload=function(){n.__v0["対象"]=o,r(n)},o.onerror=function(){n.__v0["対象"]="",r(n)}},return_none:!0},"画像描画":{type:"func",josi:[["の","を"],["へ","に"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);var o=function(e,n){if(2===t.length)n.drawImage(e,t[0],t[1]);else if(4===t.length)n.drawImage(e,t[0],t[1],t[2],t[3]);else{if(8!==t.length)throw new Error("『画像描画』の第二引数の配列要素は2,4,8個のいずれかです。");n.drawImage(e,t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7])}};if("string"==typeof e){var i=new window.Image;return i.src=e,i.onload=function(){o(i,n.__ctx)},i}return o(e,n.__ctx),e},return_none:!1},"画像部分描画":{type:"func",josi:[["の"],["を","から"],["へ","に"]],pure:!0,fn:function(e,t,n,o){var i="『画像部分描画』に使える引数は画像と、描画する座標へ2つか、描画する座標とその位置の4つか、使用する座標と使用する位置と描画する座標と大きさの8つだけです。";if(e&&t&&!Array.isArray(t)&&Array.isArray(e)&&("string"==typeof t||"[object HTMLImageElement]"===String(t.__proto__))){var u=e;e=t,t=u}if(!o.__ctx)throw new Error(r);var a=function(e,r){if(n||(t?t.length>=2&&(n=t,t=void 0):r.drawImage(e)),2===n.length)r.drawImage(e,n[0],n[1]);else{if(4!==n.length)throw new Error(i);if(t){if(4!==t.length)throw new Error(i);r.drawImage(e,t[0],t[1],t[2],t[3],n[0],n[1],n[2],n[3])}else r.drawImage(e,n[0],n[1],n[2],n[3])}};if("string"==typeof e){var c=new window.Image;return c.src=e,c.onload=function(){a(c,o.__ctx)},c}return a(e,o.__ctx),e},return_none:!1},"描画フォント設定":{type:"func",josi:[["を","の","で","に"]],pure:!0,fn:function(e,t){"number"==typeof e?e+="px sans-serif":/^[0-9]+(px|em)$/.test(e)&&(e+=" sans-serif"),t.__ctx.font=e},return_none:!0},"文字描画":{type:"func",josi:[["へ","に"],["の","を"]],pure:!0,fn:function(e,t,n){if(!n.__ctx)throw new Error(r);n.__ctx.fillText(t,e[0],e[1])},return_none:!0},"文字描画幅取得":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);return t.__ctx.measureText(e)},return_none:!0},"描画起点設定":{type:"func",josi:[["へ","に"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.translate(e[0],e[1])},return_none:!0},"描画回転":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.rotate(e*Math.PI/180)},return_none:!0},"描画拡大":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.scale(e[0],e[1])},return_none:!0},"描画変換マトリクス設定":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.setTransform(e[0],e[1],e[2],e[3],e[4],e[5],e[6])},return_none:!0},"描画変換マトリクス追加":{type:"func",josi:[["だけ","に","へ"]],pure:!0,fn:function(e,t){if(!t.__ctx)throw new Error(r);t.__ctx.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6])},return_none:!0},"描画データURL変換":{type:"func",josi:[],pure:!1,fn:function(e){return e.__v0["描画中キャンバス"].toDataURL("image/png")}},"描画ダウンロードリンク作成":{type:"func",josi:[["へ","に"]],pure:!1,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)),!e)throw new Error("『描画ダウンロードリンク作成』でDOMが見当たりません。");var n=t.__v0["描画中キャンバス"];if(!n)throw new Error("『描画ダウンロード』で描画中キャンバスが設定されていません。");e.href=n.toDataURL("image/png"),e.download="canvas.png"},return_none:!0},"描画ダウンロード":{type:"func",josi:[],pure:!1,fn:function(e){"string"==typeof dom&&(dom=document.querySelector(dom));var t=e.__v0["描画中キャンバス"];if(!t)throw new Error("『描画ダウンロード』で描画中キャンバスが設定されていません。");var n=document.createElement("a");return n.href=t.toDataURL("image/png"),n.download="canvas.png",n.click(),!0}}}},8446:function(e,t,n){n(9601),n(7042),e.exports={"グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!0,fn:function(e,t){if(!window.Chart)throw new Error("『グラフ描画』のエラー。Chart.jsを取り込んでください。");if(!t.__canvas)throw new Error("『グラフ描画』のエラー。『描画開始』命令で描画先のCanvasを指定してください。 ");e["タイプ"]&&(e.type=e["タイプ"]),e["データ"]&&(e.data=e["データ"]),e["オプション"]&&(e.options=e["オプション"]),t.__chartjs&&t.__chartjs.destroy();var n=new Chart(t.__canvas,e);return t.__chartjs=n,n}},"グラフオプション":{type:"const",value:{}},"線グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"line",data:e=t.__exec("二次元グラフデータ変形",["line",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"x"}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"横棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"y"}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"積上棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"x",scales:{x:{stacked:!0},y:{stacked:!0}}}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"積上横棒グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{indexAxis:"y",scales:{x:{stacked:!0},y:{stacked:!0}}}),r={type:"bar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"散布図描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n=Object.assign({},t.__v0["グラフオプション"],{}),r={type:"scatter",data:e=t.__exec("二次元グラフデータ変形",["scatter",e,t]),options:n};return t.__exec("グラフ描画",[r,t])}},"円グラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"pie",data:e=t.__exec("二次元グラフデータ変形",["pie",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"ドーナツグラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"doughnut",data:e=t.__exec("二次元グラフデータ変形",["pie",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"ポーラーグラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"polarArea",data:e=t.__exec("二次元グラフデータ変形",["pie",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"レーダーグラフ描画":{type:"func",josi:[["を","で","の"]],pure:!1,fn:function(e,t){var n={type:"radar",data:e=t.__exec("二次元グラフデータ変形",["bar",e,t]),options:t.__v0["グラフオプション"]};return t.__exec("グラフ描画",[n,t])}},"二次元グラフデータ変形":{type:"func",josi:[["の"],["を"]],pure:!1,fn:function(e,t,n){var r=["rgba(255, 99, 132, 0.2)","rgba(54, 162, 235, 0.2)","rgba(255, 206, 86, 0.2)","rgba(75, 192, 192, 0.2)","rgba(153, 102, 255, 0.2)","rgba(255, 159, 64, 0.2)"],o=["rgba(255, 99, 132, 1)","rgba(54, 162, 235, 1)","rgba(255, 206, 86, 1)","rgba(75, 192, 192, 1)","rgba(153, 102, 255, 1)","rgba(255, 159, 64, 1)"],i={},u=[],a=[];if(i.labels=[],t instanceof Array){if(t[0]instanceof Array){if("pie"===e){var c={data:[]};i.datasets=[c];for(var s=0;s<t.length;s++)i.labels.push(t[s][0]),c.data.push(t[s][1]),u.push(r[s%6]),a.push(o[s%6]);return c.backgroundColor=u,c.borderColor=a,i}if("string"==typeof t[1][0]){for(var f=1;f<t.length;f++)i.labels.push(t[f][0]),t[f]=t[f].slice(1);t[0]=t[0].slice(1)}else for(var l=1;l<t.length;l++)i.labels.push(l);i.datasets=[];for(var h=0;h<t[0].length;h++){var p={};i.datasets.push(p),p.label=t[0][h],p.backgroundColor=r[h%6],p.borderColor=o[h%6],p.data=[];for(var d=1;d<t.length;d++)p.data.push(t[d][h])}return i}for(var y=0;y<t.length;y++)i.labels.push(y+1),u.push(r[y%6]),a.push(o[y%6]);var v={};return i.datasets=[v],v.label="データ",v.data=t,v.backgroundColor=u,v.borderColor=a,i}return t instanceof Object?t:n.__exec("二次元グラフデータ変形",[[t],n])}}}},7216:function(e,t,n){n(1539),n(9714),e.exports={"水色":{type:"const",value:"aqua"},"紫色":{type:"const",value:"fuchsia"},"緑色":{type:"const",value:"lime"},"青色":{type:"const",value:"blue"},"赤色":{type:"const",value:"red"},"黄色":{type:"const",value:"yellow"},"黒色":{type:"const",value:"black"},"白色":{type:"const",value:"white"},"茶色":{type:"const",value:"maroon"},"灰色":{type:"const",value:"gray"},"金色":{type:"const",value:"gold"},"黄金色":{type:"const",value:"gold"},"銀色":{type:"const",value:"silver"},"白金色":{type:"const",value:"silver"},"オリーブ色":{type:"const",value:"olive"},"ベージュ色":{type:"const",value:"beige"},"アリスブルー色":{type:"const",value:"aliceblue"},RGB:{type:"func",josi:[["と"],["と"],["で","の"]],pure:!0,fn:function(e,t,n){var r=function(e){var t="00"+e.toString(16);return t.substr(t.length-2,2)};return"#"+r(e)+r(t)+r(n)},return_none:!1},"色混":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=function(e){var t="00"+e.toString(16);return t.substr(t.length-2,2)};if(!e)throw new Error("『色混ぜる』の引数には配列を指定します");if(e.length<3)throw new Error("『色混ぜる』の引数には[RR,GG,BB]形式の配列を指定します");return"#"+t(e[0])+t(e[1])+t(e[2])},return_none:!1}}},9796:function(e,t,n){n(1539),n(9714),n(9600),e.exports={"ハッシュ値計算時":{type:"func",josi:[["へ"],["を"],["で"]],pure:!1,fn:function(e,t,n,r){e=r.__findVar(e,null);var o=new TextEncoder("utf-8").encode(t);crypto.subtle.digest(n,o).then((function(t){for(var n=[],o=new DataView(t),i=0;i<o.byteLength;i+=4){var u="00"+o.getUint32(i).toString(16);n.push(u.substr(u.length-2,2))}var a=r.__v0["対象"]=n.join("");e(a)}))},return_none:!0}}},8472:function(e,t,n){n(4916),n(5306),e.exports={"言":{type:"func",josi:[["と","を"]],pure:!0,fn:function(e){window.alert(e)},return_none:!0},"尋":{type:"func",josi:[["と","を"]],pure:!0,fn:function(e,t){var n=window.prompt(e);return n?/^[-+]?[0-9]+(\.[0-9]+)?$/.test(n)?parseFloat(n):/^[-+-+]?[0-90-9]+([..][0-90-9]+)?$/.test(n)?parseFloat(n.replace(/[-+0-9.]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))):n:t.__v0["空"]}},"文字尋":{type:"func",josi:[["と","を"]],pure:!0,fn:function(e,t){var n=window.prompt(e);return n||t.__v0["空"]}},"二択":{type:"func",josi:[["で","の","と","を"]],pure:!0,fn:function(e){return window.confirm(e)}}}},1139:function(e,t,n){n(1038),n(8783),n(1539),n(4747),e.exports={DOCUMENT:{type:"const",value:""},WINDOW:{type:"const",value:""},NAVIGATOR:{type:"const",value:""},"DOM要素ID取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.getElementById(e)}},"DOM要素取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.querySelector(e)}},"DOM要素全取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return Array.from(document.querySelectorAll(e))}},"タグ一覧取得":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.getElementsByTagName(e)}},"DOM子要素取得":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)),!e.querySelector)throw new Error("『DOM子要素取得』で親要素がDOMではありません。");return e.querySelector(t)}},"DOM子要素全取得":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if("string"==typeof e&&(e=document.querySelector(e)),!e.querySelectorAll)throw new Error("『DOM子要素取得』で親要素がDOMではありません。");return e.querySelectorAll(t)}},"DOMイベント設定":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!1,fn:function(e,t,n,r){"string"==typeof e&&(e=document.querySelector(e)),e[t]=r.__findVar(n,null)},return_none:!0},"DOMテキスト設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!0,fn:function(e,t){"string"==typeof e&&(e=document.querySelector(e));var n=e.tagName.toUpperCase();if("INPUT"===n||"TEXTAREA"===n)e.value=t;else if("SELECT"===n)for(var r=0;r<e.options.length;r++){var o=e.options[r].value;if(String(o)===t){e.selectedIndex=r;break}}else e.innerHTML=t},return_none:!0},"DOMテキスト取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){"string"==typeof e&&(e=document.querySelector(e));var t=e.tagName.toUpperCase();if("INPUT"===t||"TEXTAREA"===t)return e.value;if("SELECT"===t){var n=e.selectedIndex;return n<0?null:e.options[n].value}return e.innerHTML}},"DOM_HTML設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!0,fn:function(e,t){"string"==typeof e&&(e=document.querySelector(e)),e.innerHTML=t},return_none:!0},"DOM_HTML取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){return"string"==typeof e&&(e=document.querySelector(e)),e.innerHTML}},"テキスト設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("DOMテキスト設定",[e,t,n])}},"テキスト取得":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){return t.__exec("DOMテキスト取得",[e,t])}},"HTML設定":{type:"func",josi:[["に","の","へ"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("DOM_HTML設定",[e,t,n])}},"HTML取得":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){return t.__exec("DOM_HTML取得",[e,t])}},"DOM属性設定":{type:"func",josi:[["の"],["に","へ"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n,r){"string"==typeof e&&(e=document.querySelector(e));var o=r.__v0["DOM和スタイル"];o[t]&&(t=o[t]),e[t]=n},return_none:!0},"DOM属性取得":{type:"func",josi:[["の","から"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){"string"==typeof e&&(e=document.querySelector(e));var r=n.__v0["DOM和スタイル"];return r[t]&&(t=r[t]),e[t]}},"DOM和スタイル":{type:"const",value:{"幅":"width","高さ":"height","高":"height","背景色":"background-color","色":"color","マージン":"margin","余白":"padding","文字サイズ":"font-size","行揃え":"text-align","左":"left","右":"right","中央":"center","ボーダー":"border","ボックス表示":"display","なし":"none","ブロック":"block","表示位置":"float","重なり":"z-index"}},"DOMスタイル設定":{type:"func",josi:[["の"],["に","へ"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n,r){"string"==typeof e&&(e=document.querySelector(e));var o=r.__v0["DOM和スタイル"];void 0!==o[t]&&(t=o[t]),void 0!==o[n]&&(n=o[n]),e.style[t]=n},return_none:!0},"DOMスタイル一括設定":{type:"func",josi:[["に","へ"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){if("string"==typeof e&&(e=document.querySelectorAll(e)),e){e instanceof window.HTMLElement&&(e=[e]);for(var r=n.__v0["DOM和スタイル"],o=0;o<e.length;o++){var i=e[o];for(var u in t){var a=u,c=t[u];void 0!==r[a]&&(a=r[a]),void 0!==r[c]&&(c=r[c]),i.style[a]=c}}}},return_none:!0},"DOMスタイル取得":{type:"func",josi:[["の"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){if("string"==typeof e&&(e=document.querySelector(e)),!e)return"";var r=n.__v0["DOM和スタイル"];return r[t]&&(t=r[t]),e.style[t]}},"DOMスタイル一括取得":{type:"func",josi:[["の"],["を"]],uses:["DOM和スタイル"],pure:!0,fn:function(e,t,n){var r={};if("string"==typeof e&&(e=document.querySelector(e)),!e)return r;t instanceof String&&(t=[t]);var o=n.__v0["DOM和スタイル"];if(t instanceof Array)return t.forEach((function(t){o[t]&&(t=o[t]),r[t]=e.style[t]})),r;if(t instanceof Object){for(var i in t)o[i]&&(i=o[i]),r[i]=e.style[i];return r}return e.style[t]}},"DOM要素作成":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return document.createElement(e)}},"DOM子要素追加":{type:"func",josi:[["に","へ"],["を"]],pure:!0,fn:function(e,t){"string"==typeof t&&(t=document.querySelector(t)),"string"==typeof e&&(e=document.querySelector(e)),e.appendChild(t)}},"DOM子要素削除":{type:"func",josi:[["から"],["を"]],pure:!0,fn:function(e,t){"string"==typeof t&&(t=document.querySelector(t)),"string"==typeof e&&(e=document.querySelector(e)),e.removeChild(t)}}}},4402:function(e){e.exports={"対象イベント":{type:"const",value:""},"DOMイベント追加":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!1,fn:function(e,t,n,r){r.__addEvent(e,t,n,null)},return_none:!0},"DOMイベント削除":{type:"func",josi:[["の"],["から"],["を"]],pure:!1,fn:function(e,t,n,r){r.__removeEvent(e,t,n)},return_none:!0},"DOMイベント発火時":{type:"func",josi:[["で"],["の"],["が"]],pure:!0,fn:function(e,t,n,r){r.__addEvent(t,n,e,null)},return_none:!0},"DOMイベント処理停止":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e,t){e.preventDefault()},return_none:!0},"クリック時":{type:"func",josi:[["で"],["を"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"click",e,null)},return_none:!0},"読込時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"load",e,null)},return_none:!0},"フォーム送信時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"submit",e,null)},return_none:!0},"押キー":{type:"const",value:""},"キー押時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"keydown",e,n.__keyHandler)},return_none:!0},"キー離時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"keyup",e,n.__keyHandler)},return_none:!0},"キータイピング時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"keypress",e,n.__keyHandler)},return_none:!0},"マウスX":{type:"const",value:0},"マウスY":{type:"const",value:0},"マウス押時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"mousedown",e,n.__mouseHandler)},return_none:!0},"マウス移動時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"mousemove",e,n.__mouseHandler)},return_none:!0},"マウス離時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"mouseup",e,n.__mouseHandler)},return_none:!0},"タッチX":{type:"const",value:0},"タッチY":{type:"const",value:0},"タッチ配列":{type:"const",value:[]},"タッチイベント計算":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){return t.__touchHandler(e,t)}},"タッチ開始時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchstart",e,n.__touchHandler)},return_none:!0},"タッチ時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchmove",e,n.__touchHandler)},return_none:!0},"タッチ終了時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchend",e,n.__touchHandler)},return_none:!0},"タッチキャンセル時":{type:"func",josi:[["で"],["を","の"]],pure:!1,fn:function(e,t,n){n.__addEvent(t,"touchcancel",e,n.__touchHandler)},return_none:!0},"画面更新時実行":{type:"func",josi:[["を"]],pure:!1,fn:function(e,t){if(!(e=t.__findVar(e,null)))throw new Error("『画面更新時実行』で関数の取得に失敗しました。");return t.__requestAnimationFrameLastId=window.requestAnimationFrame(e),t.__requestAnimationFrameLastId}},"画面更新処理取消":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){window.cancelAnimationFrame(e),t.__requestAnimationFrameLastId===e&&(t.__requestAnimationFrameLastId=0)},return_none:!0}}},8814:function(e,t,n){function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(4916),n(3123),n(8309),n(4723),n(7042),n(1539),n(1038),n(8783),n(2526),n(1817),n(2165),n(6992),n(3948),e.exports={"DOM親要素":{type:"const",value:""},"DOM部品個数":{type:"const",value:0},"DOM部品オプション":{type:"const",value:{"自動改行":!1,"テーブル背景色":["#AA4040","#ffffff","#fff0f0"]}},"DOM親要素設定":{type:"func",josi:[["に","へ"]],pure:!1,fn:function(e,t){return"string"==typeof e&&(e=document.querySelector(e)||document.getElementById(e)),t.__v0["DOM親要素"]=e,e}},"DOM親部品設定":{type:"func",josi:[["に","へ"]],pure:!1,fn:function(e,t){return t.__exec("DOM親要素設定",[e,t])}},"DOMスキン":{type:"const",value:""},"DOMスキン辞書":{type:"const",value:{}},"DOMスキン設定":{type:"func",josi:[["を","に","の"]],pure:!1,fn:function(e,t){t.__v0["DOMスキン"]=e},return_none:!0},"DOM部品作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__v0["DOM親要素"],r="string"==typeof e?document.createElement(e):e;r.id="nadesi-dom-"+t.__v0["DOM部品個数"];var o=t.__v0["DOMスキン辞書"][t.__v0["DOMスキン"]];return"function"==typeof o&&o(e,r,t),n.appendChild(r),t.__v0["DOM部品個数"]++,t.__v0["DOM部品オプション"]["自動改行"]&&n.appendChild(document.createElement("br")),r}},"ボタン作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["button",t]);return n.innerHTML=e,n}},"エディタ作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["input",t]);return n.type="text",n.value=e,n}},"テキストエリア作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["textarea",t]);return n.value=e,n}},"ラベル作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["span",t]);return n.innerHTML=e,n}},"キャンバス作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["canvas",t]);return n.width=e[0],n.height=e[1],n.style.width=e[0],n.style.height=e[1],t.__exec("描画開始",[n,t]),n}},"画像作成":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["img",t]);return n.src=e,n}},"改行作成":{type:"func",josi:[],pure:!1,fn:function(e){return e.__exec("DOM部品作成",["br",e])}},"チェックボックス作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=document.createElement("span"),r=document.createElement("input");r.type="checkbox",r.id="nadesi-dom-"+t.__v0["DOM部品個数"],t.__v0["DOM部品個数"]++;var o=document.createElement("label");return o.innerHTML=e,o.htmlFor=r.id,n.appendChild(r),n.appendChild(o),t.__exec("DOM部品作成",[n,t]),r}},"セレクトボックス作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){for(var n=document.createElement("select"),r=0;r<e.length;r++){var o=document.createElement("option");o.value=e[r],o.appendChild(document.createTextNode(e[r])),n.appendChild(o)}t.__exec("DOM部品作成",[n,t]);return n}},"色選択ボックス作成":{type:"func",josi:[],pure:!1,fn:function(e){var t=e.__exec("DOM部品作成",["input",e]);return t.type="color",t}},"日付選択ボックス作成":{type:"func",josi:[],pure:!1,fn:function(e){var t=e.__exec("DOM部品作成",["input",e]);return t.type="date",t}},"パスワード入力エディタ作成":{type:"func",josi:[["の","で"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["input",t]);return n.type="password",n.value=e,n}},"値指定バー作成":{type:"func",josi:[["の","で"]],pure:!1,fn:function(e,t){e instanceof Array&&!(e.length<2)||(e=[0,100,50]),e.length<=2&&e.push(Math.floor((e[1]-e[0])/2));var n=t.__exec("DOM部品作成",["input",t]);return n.type="range",n.min=e[0],n.max=e[1],n.value=e[2],n}},"送信ボタン作成":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__exec("DOM部品作成",["input",t]);return n.type="submit",n.value=e,n}},"フォーム作成":{type:"func",josi:[["で","の"],["を"]],pure:!1,fn:function(e,t,n){var o=n.__exec("DOM部品作成",["form",n]);if(e instanceof Object)for(var i in e)o[i]&&(o[i]=e[i]);var u=t.split("\n"),a=document.createElement("table");for(var c in u){var s=""+u[c];if(""!==s){s.indexOf("=")<0&&(s+="=");var f=s.split("="),l=f[0],h=f[1],p=document.createElement("th");p.innerHTML=n.__tohtmlQ(l);var d=document.createElement("td");if("?("===h.substring(0,2)){var y=(h.substring(2)+")").split(")"),v=y[0],g=y[1],_=v.split("|"),m=document.createElement("select");m.name=l;var b,w=r(_);try{for(w.s();!(b=w.n()).done;){var k=b.value,x=document.createElement("option");x.value=k,x.text=k,m.appendChild(x)}}catch(e){w.e(e)}finally{w.f()}var j=_.indexOf(g);j>=0&&(m.selectedIndex=j),d.appendChild(m)}else{var S=document.createElement("input");d.appendChild(S),S.id="nako3form_"+l,"?送信"===h||"?submit"===h?(S.type="submit",S.value=h.substring(1),""!=l&&(S.name=l)):"?c"===h.substring(0,2)?(S.type="color",S.value=h.substring(2),S.name=l):(S.type="text",S.value=h,S.name=l)}var O=document.createElement("tr");O.appendChild(p),O.appendChild(d),a.appendChild(O)}}return o.appendChild(a),o}},"フォーム入力一括取得":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){"string"==typeof e&&(e=document.querySelector(e));var t={};return function e(n){if(n&&n.childNodes)for(var r=0;r<n.childNodes.length;r++){var o=n.childNodes[r];if(!o.tagName)return;var i=o.tagName.toLowerCase();if("input"!==i)"textarea"===i?t[o.name]=o.value:"select"===i&&(o.selectedIndex>=0?t[o.name]=o.options[o.selectedIndex].value:t[o.name]=""),e(o);else{if("checkbox"===o.type){t[o.name]=o.checked?o.value:"";continue}t[o.name]=o.value}}}(e),t}},"テーブル作成":{type:"func",josi:[["の","から"]],pure:!1,fn:function(e,t){if("string"==typeof e){var n,o=[],i=r(e.split("\n"));try{for(i.s();!(n=i.n()).done;){var u=n.value;o.push(u.split(","))}}catch(e){i.e(e)}finally{i.f()}e=o}for(var a=JSON.parse(JSON.stringify(t.__v0["DOM部品オプション"]["テーブル背景色"])),c=0;c<3;c++)a.push("");var s=a.shift(),f=t.__exec("DOM部品作成",["table",t]);for(var l in e){var h,p=e[l],d=document.createElement("tr"),y=r(p);try{for(y.s();!(h=y.n()).done;){var v=h.value;v=""+v;var g=document.createElement(0==l?"th":"td");g.innerHTML=t.__tohtml(v),""!=s&&(g.style.backgroundColor=0==l?s:a[l%2],g.style.color=0==l?"white":"black"),v.match(/^\d+$/)&&(g.style.textAlign="right"),d.appendChild(g)}}catch(e){y.e(e)}finally{y.f()}f.appendChild(d)}return t.__exec("DOM親要素設定",[f,t]),f}}}},9497:function(e){e.exports={"位置情報取得時":{type:"func",josi:[["の","に","へ"]],pure:!1,fn:function(e,t){var n=e;if("string"==typeof n&&(n=t.__findVar(n)),!("geolocation"in navigator))throw new Error("関数『位置情報取得時』は使えません。");navigator.geolocation.getCurrentPosition((function(e){t.__v0["対象"]=[e.coords.latitude,e.coords.longitude],n(e)}))},return_none:!0},"位置情報監視時":{type:"func",josi:[["の","に","へ"]],pure:!1,fn:function(e,t){var n=e;if("string"==typeof n&&(n=t.__findVar(n)),!("geolocation"in navigator))throw new Error("関数『位置情報監視時』は使えません。");return navigator.geolocation.watchPosition((function(e){t.__v0["対象"]=[e.coords.latitude,e.coords.longitude],n(e)}))},return_none:!1},"位置情報監視停止":{type:"func",josi:[["の"]],pure:!0,fn:function(e,t){navigator.geolocation.clearWatch(e)},return_none:!0}}},7981:function(e,t,n){var r=n(3812);e.exports={"ホットキー登録":{type:"func",josi:[["に","で"],["を"]],pure:!0,fn:function(e,t,n){r(e,(function(e,r){e.preventDefault(),n.__v1[t]()}))}},"ホットキー解除":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){r.unbind(e)}}}},8698:function(e,t,n){n(4916),n(5306),e.exports={"HTML変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return String(e).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<")}},"クリップボード設定":{type:"func",josi:[["を"]],pure:!0,fn:function(e){if(navigator.clipboard)navigator.clipboard.writeText(e);else{var t=document.createElement("div"),n=document.createElement("pre");n.style.webkitUserSelect="auto",n.style.userSelect="auto",t.appendChild(n).textContent=e,t.style.position="fixed",t.right="200%",document.body.appendChild(t),document.getSelection().selectAllChildren(t),document.execCommand("copy"),document.body.removeChild(t)}},return_none:!0},"クリップボード取得時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){if(!navigator.clipboard)throw new Error("Clipbard APIが利用できません。");"string"==typeof e&&(e=t.__findFunc(e,"クリップボード取得時")),navigator.clipboard.readText().then((function(n){t.__v0["対象"]=n,e(t)}))}}}},9739:function(e){e.exports={"ブラウザ移動":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){window.location.href=e}},"ブラウザ戻":{type:"func",josi:[],pure:!0,fn:function(){window.history.back(-1)}},"ブラウザURL":{type:"const",value:""}}},580:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(8309),n(7042),n(1539),n(1038),n(8783),n(4916),n(2526),n(1817),n(2165),n(6992),n(3948),e.exports={"話":{type:"func",josi:[["と","を","の"]],pure:!1,fn:function(e,t){var n=t.__v0["話:話者"];n||(n=t.__exec("話者設定",["ja",t]));var r=new SpeechSynthesisUtterance(e);return r.voice=n,n&&(r.lang=n.lang),r.rate=t.__v0["話者速度"],r.pitch=t.__v0["話者声高"],r.volume=t.__v0["話者音量"],window.speechSynthesis.speak(r),console.log("#話す:",e),e}},"話終時":{type:"func",josi:[["で"],["と","を","の"]],pure:!1,fn:function(e,t,n){var r=n.__v0["話:話者"];r||(r=n.__exec("話者設定",["ja",n]));var o=new SpeechSynthesisUtterance(t);return o.voice=r,r&&(o.lang=r.lang),o.rate=n.__v0["話者速度"],o.pitch=n.__v0["話者声高"],o.volume=n.__v0["話者音量"],o.onend=function(t){console.log("#話終時"),n.__v0["対象イベント"]=t,e(n)},window.speechSynthesis.speak(o),console.log("#話す:",t),t}},"話者一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){if(!("SpeechSynthesisUtterance"in window))throw new Error("音声合成APIに対応していません");return window.speechSynthesis.getVoices()}},"話者設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){if(!("SpeechSynthesisUtterance"in window))throw new Error("音声合成APIに対応していません");if("string"==typeof e){var n,i=o(window.speechSynthesis.getVoices());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(u.lang.indexOf(e)>=0||u.name===e){var a=new SpeechSynthesisUtterance;return a.voice=u,a.lang=u.lang,t.__v0["話:話者"]=u,console.log("#話者:",u.name),u}}}catch(e){i.e(e)}finally{i.f()}}if("object"===r(e))return t.__v0["話:話者"]=e,e}},"話者速度":{type:"const",value:1},"話者声高":{type:"const",value:1},"話者音量":{type:"const",value:1},"話者詳細設定":{type:"func",josi:[["で","に","へ"]],pure:!0,fn:function(e,t){var n=function(e,n){"速度"===e&&(t.__v0["話者速度"]=n),"声高"!==e&&"ピッチ"!==e||(t.__v0["話者声高"]=n),"音量"===e&&(t.__v0["話者音量"]=n)};for(var r in e){n(r,e[r])}}}}},615:function(e){e.exports={"保存":{type:"func",josi:[["を"],["に","へ"]],pure:!1,fn:function(e,t,n){n.__exec("ローカルストレージ保存",[e,t,n])},return_none:!0},"開":{type:"func",josi:[["を","から","の"]],pure:!1,fn:function(e,t){return t.__exec("ローカルストレージ読",[e,t])},return_none:!1},"読":{type:"func",josi:[["を","から","の"]],pure:!1,fn:function(e,t){return t.__exec("ローカルストレージ読",[e,t])},return_none:!1},"存在":{type:"func",josi:[["が"]],pure:!0,fn:function(e){return null!==window.localStorage.getItem(e)},return_none:!1},"ローカルストレージ保存":{type:"func",josi:[["を"],["に","へ"]],pure:!0,fn:function(e,t,n){var r=e;n.__v0["保存オプション"]&&n.__v0["保存オプション"].indexOf("json")>=0&&(r=JSON.stringify(r)),window.localStorage[t]=r},return_none:!0},"ローカルストレージ読":{type:"func",josi:[["を","から","の"]],pure:!0,fn:function(e,t){var n=window.localStorage[e];if(t.__v0["保存オプション"]&&t.__v0["保存オプション"].indexOf("json")>=0)try{return JSON.parse(n)}catch(t){console.log("ローカルストレージ『"+e+"』の読み込みに失敗")}return n},return_none:!1},"ローカルストレージキー列挙":{type:"func",josi:[[]],pure:!0,fn:function(e){var t=[];for(var n in window.localStorage)t.push(n);return t},return_none:!1},"ローカルストレージキー削除":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){window.localStorage.removeItem(e)},return_none:!0},"ローカルストレージ全削除":{type:"func",josi:[],pure:!0,fn:function(){window.localStorage.clear()},return_none:!0},"ローカルストレージ有効確認":{type:"func",josi:[],pure:!0,fn:function(){return void 0!==window.localStorage},return_none:!1},"保存オプション":{type:"const",value:"json"},"保存オプション設定":{type:"func",josi:[["に","へ"]],pure:!0,fn:function(e,t){e=e.toUpperCase(e),t.__v0["保存オプション"]=e},return_none:!0}}},7880:function(e){e.exports={"終":{type:"func",josi:[],pure:!0,fn:function(){throw new Error("__終わる__")},return_none:!0},"OS取得":{type:"func",josi:[],pure:!0,fn:function(){var e=window.navigator.userAgent.toLowerCase();return-1!==e.indexOf("windows")?"windows":-1!==e.indexOf("android")?"android":-1!==e.indexOf("iphone")?"iphone":-1!==e.indexOf("ipad")?"ipad":-1!==e.indexOf("mac os x")||-1!==e.indexOf("macintosh")?"darwin":-1!==e.indexOf("cros")?"chromeos":-1!==e.indexOf("ubuntu")?"ubuntu":-1!==e.indexOf("linux")?"linux":"unknown"}}}},4323:function(e){e.exports={"WS接続完了時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){t.__v0["WS:ONOPEN"]=e},return_none:!0},"WS受信時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){t.__v0["WS:ONMESSAGE"]=e},return_none:!0},"WSエラー発生時":{type:"func",josi:[["を"]],pure:!0,fn:function(e,t){t.__v0["WS:ONERROR"]=e},return_none:!0},"WS接続":{type:"func",josi:[["に","へ","の"]],pure:!0,fn:function(e,t){var n=new WebSocket(e);return n.onopen=function(){var e=t.__v0["WS:ONOPEN"];e&&e(t)},n.onerror=function(e){var n=t.__v0["WS:ONERROR"];n&&n(e,t),console.log("WSエラー",e)},n.onmessage=function(e){t.__v0["対象"]=e.data;var n=t.__v0["WS:ONMESSAGE"];n&&n(t)},t.__v0["WS:SOCKET"]=n,n}},"WS送信":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){t.__v0["WS:SOCKET"].send(e)}},"WS切断":{type:"func",josi:[],pure:!0,fn:function(e){e.__v0["WS:SOCKET"].close()}}}},6655:function(e,t,n){n(5438),n(3689);var r={"初期化":{type:"func",josi:[],pure:!0,fn:function(e){}},SIN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.sin(e)}},COS:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.cos(e)}},TAN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.tan(e)}},ARCSIN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.asin(e)}},ARCCOS:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.acos(e)}},ARCTAN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.atan(e)}},ATAN2:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return Math.atan2(e,t)}},"座標角度計算":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return 180*Math.atan2(e[1],e[0])/Math.PI}},RAD2DEG:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/Math.PI*180}},DEG2RAD:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/180*Math.PI}},"度変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/Math.PI*180}},"ラジアン変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return e/180*Math.PI}},SIGN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return 0===parseFloat(e)?0:e>0?1:-1}},"符号":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__exec("SIGN",[e])}},ABS:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.abs(e)}},"絶対値":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.abs(e)}},EXP:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.exp(e)}},HYPOT:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return Math.hypot(e,t)}},"斜辺":{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return Math.hypot(e,t)}},LN:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.log(e)}},LOG:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.log(e)}},LOGN:{type:"func",josi:[["で"],["の"]],pure:!0,fn:function(e,t){return 2===e?Math.LOG2E*Math.log(t):10===e?Math.LOG10E*Math.log(t):Math.log(t)/Math.log(e)}},FRAC:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e%1}},"小数部分":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e%1}},"整数部分":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.trunc(e)}},"乱数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.floor(Math.random()*e)}},"乱数範囲":{type:"func",josi:[["から"],["までの","の"]],pure:!0,fn:function(e,t){return Math.floor(Math.random()*(t-e+1))+e}},SQRT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.sqrt(e)}},"平方根":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Math.sqrt(e)}},ROUND:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.round(e)}},"四捨五入":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return Math.round(e)}},"小数点切上":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=Math.pow(10,t);return Math.ceil(e*n)/n}},"小数点切下":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=Math.pow(10,t);return Math.floor(e*n)/n}},"小数点四捨五入":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}},CEIL:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.ceil(e)}},"切上":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.ceil(e)}},FLOOR:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.floor(e)}},"切捨":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return Math.floor(e)}}};e.exports=r},8891:function(e,t,n){n(1539),n(8674),n(7727),n(6992),n(8783),n(3948);var r={"初期化":{type:"func",josi:[],pure:!0,fn:function(e){null==e.__promise&&(e.__promise={setLastPromise:function(t){return e.__v0["そ"]=t,t}})}},"そ":{type:"const",value:""},"動時":{type:"func",josi:[["を","で"]],pure:!0,fn:function(e,t){return t.__promise.setLastPromise(new Promise((function(t,n){return e(t,n)})))},return_none:!1},"成功時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.then((function(t){return n.__v0["対象"]=t,e(t)})))},return_none:!1},"処理時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.then((function(t){return n.__v0["対象"]=t,e(!0,t,n)}),(function(t){return n.__v0["対象"]=t,e(!1,t,n)})))},return_none:!1},"失敗時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.catch((function(t){return n.__v0["対象"]=t,e(t)})))},return_none:!1},"終了時":{type:"func",josi:[["を"],["の","が","に"]],pure:!0,fn:function(e,t,n){return n.__promise.setLastPromise(t.finally((function(){return e()})))},return_none:!1},"束":{type:"func",josi:[["と","を"]],pure:!0,fn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop();return r.__promise.setLastPromise(Promise.all(t))},return_none:!1}};e.exports=r},9361:function(module,__unused_webpack_exports,__webpack_require__){function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}__webpack_require__(4916),__webpack_require__(4723),__webpack_require__(5306),__webpack_require__(3123),__webpack_require__(2222),__webpack_require__(9600),__webpack_require__(1539),__webpack_require__(9714),__webpack_require__(1038),__webpack_require__(8783),__webpack_require__(4953),__webpack_require__(9841),__webpack_require__(1249),__webpack_require__(4603),__webpack_require__(7941),__webpack_require__(561),__webpack_require__(2707),__webpack_require__(4747),__webpack_require__(7327),__webpack_require__(7042),__webpack_require__(6992),__webpack_require__(2472),__webpack_require__(2990),__webpack_require__(8927),__webpack_require__(3105),__webpack_require__(5035),__webpack_require__(4345),__webpack_require__(7174),__webpack_require__(2846),__webpack_require__(4731),__webpack_require__(7209),__webpack_require__(6319),__webpack_require__(8867),__webpack_require__(7789),__webpack_require__(3739),__webpack_require__(9368),__webpack_require__(4483),__webpack_require__(2056),__webpack_require__(3462),__webpack_require__(678),__webpack_require__(7462),__webpack_require__(3824),__webpack_require__(5021),__webpack_require__(2974),__webpack_require__(5016),__webpack_require__(2526),__webpack_require__(1817),__webpack_require__(2165),__webpack_require__(3948),__webpack_require__(8309);var _require=__webpack_require__(7597),NakoRuntimeError=_require.NakoRuntimeError,NakoVersion=__webpack_require__(7785),PluginSystem={meta:{type:"const",value:{pluginName:"plugin_system",pluginVersion:"3.2.24",nakoRuntime:["wnako","cnako","phpnako"],nakoVersion:"^3.2.24"}},"初期化":{type:"func",josi:[],pure:!1,fn:function(e){e.__v0["ナデシコバージョン"]=void 0===NakoVersion?"?":NakoVersion.version,e.__findVar=function(t,n){if("function"==typeof t)return t;if(e.__locals[t])return e.__locals[t];for(var r=2;r>=0;r--){var o=e.__varslist[r];if(o[t])return o[t]}return n},e.__findFunc=function(t,n){var r=e.__findVar(t);if("function"==typeof r)return r;throw new Error("『".concat(n,"』に実行できない関数が指定されました。"))},e.__exec=function(t,n){var r=e.__v0[t];if(r)return r.apply(this,n);var o=e.__findVar(t);if(!o)throw new Error("システム関数でエイリアスの指定ミス:"+t);return o.apply(this,n)},e.__timeout=[],e.__interval=[];var t=e.__zero2=function(e){return(e="00"+e).substring(e.length-2)};e.__zero=function(e,t){for(var n="",r=0;r<t;r++)n+="0";return(e=n+e).substring(e.length-t)},e.__formatDate=function(e){return e.getFullYear()+"/"+t(e.getMonth()+1)+"/"+t(e.getDate())},e.__formatTime=function(e){return t(e.getHours())+":"+t(e.getSeconds())+":"+t(e.getMinutes())},e.__formatDateTime=function(e,n){var r=e.getFullYear()+"/"+t(e.getMonth()+1)+"/"+t(e.getDate()),o=t(e.getHours())+":"+t(e.getMinutes())+":"+t(e.getSeconds());return n.match(/^\d+\/\d+\/\d+\s+\d+:\d+:\d+$/)?r+" "+o:n.match(/^\d+\/\d+\/\d+$/)?r:n.match(/^\d+:\d+:\d+$/)?o:r+" "+o},e.__str2date=function(e){if((e=(""+e).replace(/(^\s+|\s+$)/,"")).match(/^(\d+|\d+\.\d+)$/))return new Date(1e3*parseFloat(e));if(e.match(/^\d+\:\d+(\:\d+)?$/)){var n=new Date,r=(e+":0").split(":");return new Date("".concat(n.getFullYear(),"-").concat(n.getMonth()+1,"-").concat(n.getDate()," ").concat(r[0],":").concat(r[1],":").concat(r[2]))}e=e.replace(/[\-\s\:]/g,"/");var o=(e+="/0/0/0").split("/"),i="".concat(o[0],"-").concat(o[1],"-").concat(o[2]," ").concat(t(o[3]),":").concat(t(o[4]),":").concat(t(o[5]));return new Date(i)},e.__printPool=""}},"!クリア":{type:"func",josi:[],pure:!1,fn:function(e){e.__exec("全タイマー停止",[e]),"非同期モード"===e.__genMode&&e.__stopAsync(e)}},"ナデシコバージョン":{type:"const",value:"?"},"ナデシコエンジン":{type:"const",value:"nadesi.com/v3"},"ナデシコ種類":{type:"const",value:"wnako3/cnako3"},"はい":{type:"const",value:1},"いいえ":{type:"const",value:0},"真":{type:"const",value:1},"偽":{type:"const",value:0},"永遠":{type:"const",value:1},"オン":{type:"const",value:1},"オフ":{type:"const",value:0},"改行":{type:"const",value:"\n"},"タブ":{type:"const",value:"\t"},"カッコ":{type:"const",value:"「"},"カッコ閉":{type:"const",value:"」"},"波カッコ":{type:"const",value:"{"},"波カッコ閉":{type:"const",value:"}"},OK:{type:"const",value:!0},NG:{type:"const",value:!1},"キャンセル":{type:"const",value:0},PI:{type:"const",value:Math.PI},"空":{type:"const",value:""},NULL:{type:"const",value:null},undefined:{type:"const",value:void 0},"未定義":{type:"const",value:void 0},"エラーメッセージ":{type:"const",value:""},"対象":{type:"const",value:""},"対象キー":{type:"const",value:""},"回数":{type:"const",value:""},CR:{type:"const",value:"\r"},LF:{type:"const",value:"\n"},"非数":{type:"const",value:NaN},"無限大":{type:"const",value:1/0},"空配列":{type:"func",josi:[],pure:!0,fn:function(e){return[]}},"空辞書":{type:"func",josi:[],pure:!0,fn:function(e){return{}}},"空ハッシュ":{type:"func",josi:[],pure:!0,fn:function(e){return{}}},"空オブジェクト":{type:"func",josi:[],pure:!1,fn:function(e){return e.__exec("空ハッシュ",[e])}},"表示":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){e=t.__printPool+e,t.__printPool="",t.__varslist[0]["表示ログ"]+=e+"\n",t.logger.send("stdout",e+"")},return_none:!0},"継続表示":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){t.__printPool+=e},return_none:!0},"連続表示":{type:"func",josi:[["と","を"]],isVariableJosi:!0,pure:!0,fn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),o=t.join("");r.__exec("表示",[o,r])},return_none:!0},"連続無改行表示":{type:"func",josi:[["と","を"]],isVariableJosi:!0,pure:!0,fn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop(),o=t.join("");r.__exec("継続表示",[o,r])},return_none:!0},"表示ログ":{type:"const",value:""},"表示ログクリア":{type:"func",josi:[],pure:!0,fn:function(e){e.__varslist[0]["表示ログ"]=""},return_none:!0},"言":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){t.logger.send("stdout",e+"")},return_none:!0},"コンソール表示":{type:"func",josi:[["を","と"]],pure:!0,fn:function(e,t){console.log(e)},return_none:!0},"足":{type:"func",josi:[["に","と"],["を"]],isVariableJosi:!1,pure:!0,fn:function(e,t){return e+t}},"引":{type:"func",josi:[["から"],["を"]],pure:!0,fn:function(e,t){return e-t}},"掛":{type:"func",josi:[["に","と"],["を"]],pure:!0,fn:function(e,t){return e*t}},"倍":{type:"func",josi:[["の"],[""]],pure:!0,fn:function(e,t){return e*t}},"割":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e/t}},"割余":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e%t}},"偶数":{type:"func",josi:[["が"]],pure:!0,fn:function(e){return e%2==0}},"奇数":{type:"func",josi:[["が"]],pure:!0,fn:function(e){return e%2==1}},"二乗":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return e*e}},"べき乗":{type:"func",josi:[["の"],["の"]],pure:!0,fn:function(e,t){return Math.pow(e,t)}},"以上":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e>=t}},"以下":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e<=t}},"未満":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e<t}},"超":{type:"func",josi:[["が"],[""]],pure:!0,fn:function(e,t){return e>t}},"等":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return e===t}},"等無":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return e!==t}},"一致":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return"object"===_typeof(e)?JSON.stringify(e)===JSON.stringify(t):e===t}},"不一致":{type:"func",josi:[["が"],["と"]],pure:!0,fn:function(e,t){return"object"===_typeof(e)?JSON.stringify(e)!==JSON.stringify(t):e!==t}},"範囲内":{type:"func",josi:[["が"],["から"],["の"]],pure:!0,fn:function(e,t,n){return t<=e&&e<=n}},"連続加算":{type:"func",josi:[["を"],["に","と"]],isVariableJosi:!0,pure:!0,fn:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.pop(),n.push(e),n.reduce((function(e,t){return e+t}))}},"ください":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu||(e.__reisetu=0),e.__reisetu++},return_none:!0},"お願":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu||(e.__reisetu=0),e.__reisetu++},return_none:!0},"です":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu||(e.__reisetu=0),e.__reisetu++},return_none:!0},"拝啓":{type:"func",josi:[],pure:!0,fn:function(e){e.__reisetu=0},return_none:!0},"礼節レベル取得":{type:"func",josi:[],pure:!0,fn:function(e){return e.__reisetu||(e.__reisetu=0),e.__reisetu}},"JS実行":{type:"func",josi:[["を","で"]],pure:!0,fn:function fn(src,sys){return eval(src)}},"JSオブジェクト取得":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__findVar(e,null)}},"JS関数実行":{type:"func",josi:[["を"],["で"]],fn:function fn(name,args,sys){if("string"==typeof name&&(name=eval(name)),"function"!=typeof name)throw new Error("JS関数取得で実行できません。");return args instanceof Array||(args=[args]),name.apply(null,args)}},"JSメソッド実行":{type:"func",josi:[["の"],["を"],["で"]],fn:function fn(obj,m,args,sys){if("string"==typeof obj&&(obj=eval(obj)),"object"!==_typeof(obj))throw new Error("JSオブジェクトを取得できませんでした。");return"function"!=typeof m&&(m=obj[m]),args instanceof Array||(args=[args]),m.apply(obj,args)}},"ナデシコ":{type:"func",josi:[["を","で"]],pure:!1,fn:function(e,t){if("非同期モード"===t.__genMode)throw new Error("非同期モードでは「ナデシコ」は利用できません。");t.__varslist[0]["表示ログ"]="",t.__self.runEx(e,"immediate-code.nako3",{resetEnv:!1,resetLog:!0});var n=t.__varslist[0]["表示ログ"]+"";return n&&t.logger.send("stdout",n),n}},"ナデシコ続":{type:"func",josi:[["を","で"]],fn:function(e,t){if("非同期モード"===t.__genMode)throw new Error("非同期モードでは「ナデシコ続」は利用できません。");t.__self.runEx(e,"immediate-code.nako3",{resetEnv:!1,resetLog:!1});var n=t.__varslist[0]["表示ログ"]+"";return n&&t.logger.send("stdout",n),n}},"実行":{type:"func",josi:[["を","に","で"]],pure:!1,fn:function(e,t){if("function"==typeof e)return e(t);if("string"==typeof e){var n=t.__findFunc(e,"実行");if("function"==typeof n)return n(t)}return e}},"実行時間計測":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){if("string"==typeof e&&(e=t.__findFunc(e,"実行時間計測")),performance&&performance.now){var n=performance.now();return e(t),performance.now()-n}var r=Date.now();return e(t),Date.now()-r}},"変数型確認":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return _typeof(e)}},TYPEOF:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return _typeof(e)}},"文字列変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return String(e)}},TOSTR:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return String(e)}},"整数変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseInt(e)}},TOINT:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseInt(e)}},"実数変換":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseFloat(e)}},TOFLOAT:{type:"func",josi:[["を"]],pure:!0,fn:function(e){return parseFloat(e)}},INT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return parseInt(e)}},FLOAT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return parseFloat(e)}},"NAN判定":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return isNaN(e)}},HEX:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return parseInt(e).toString(16)}},"進数変換":{type:"func",josi:[["を","の"],[""]],pure:!0,fn:function(e,t){return parseInt(e).toString(t)}},"二進":{type:"func",josi:[["を","の","から"]],pure:!0,fn:function(e){return parseInt(e).toString(2)}},"二進表示":{type:"func",josi:[["を","の","から"]],pure:!0,fn:function(e,t){var n=parseInt(e).toString(2);t.__exec("表示",[n,t])}},RGB:{type:"func",josi:[["と"],["の"],["で"]],pure:!0,fn:function(e,t,n){var r=function(e){var t="00"+parseInt(e).toString(16);return t.substr(t.length-2,2)};return"#"+r(e)+r(t)+r(n)}},"論理OR":{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e||t}},"論理AND":{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e&&t}},"論理NOT":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e?0:1}},OR:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e|t}},AND:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e&t}},XOR:{type:"func",josi:[["と"],["の"]],pure:!0,fn:function(e,t){return e^t}},NOT:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return~e}},SHIFT_L:{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e<<t}},SHIFT_R:{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e>>t}},SHIFT_UR:{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e>>>t}},"文字数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return Array.from?Array.from(e).length:String(e).length}},"何文字目":{type:"func",josi:[["で","の"],["が"]],pure:!0,fn:function(e,t){return String(e).indexOf(t)+1}},CHR:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return String.fromCodePoint?String.fromCodePoint(e):String.fromCharCode(e)}},ASC:{type:"func",josi:[["の"]],pure:!0,fn:function(e){return String.prototype.codePointAt?String(e).codePointAt(0):String(e).charCodeAt(0)}},"文字挿入":{type:"func",josi:[["で","の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){t<=0&&(t=1);var r=String(e);return r.substr(0,t-1)+n+r.substr(t-1)}},"文字検索":{type:"func",josi:[["で","の"],["から"],["を"]],pure:!0,fn:function(e,t,n){var r=String(e),o=(r=r.substr(t)).indexOf(n);return-1===o?0:o+1+t}},"追加":{type:"func",josi:[["で","に","へ"],["を"]],pure:!0,fn:function(e,t){return String(e)+String(t)}},"一行追加":{type:"func",josi:[["で","に","へ"],["を"]],pure:!0,fn:function(e,t){return String(e)+String(t)+"\n"}},"文字列分解":{type:"func",josi:[["を","の","で"]],pure:!0,fn:function(e){return Array.from?Array.from(e):String(e).split("")}},"リフレイン":{type:"func",josi:[["を","の"],["で"]],pure:!0,fn:function(e,t){for(var n="",r=0;r<t;r++)n+=String(e);return n}},"出現回数":{type:"func",josi:[["で"],["の"]],pure:!0,fn:function(e,t){return(e=""+e).split(t=""+t).length-1}},MID:{type:"func",josi:[["で","の"],["から"],["を"]],pure:!0,fn:function(e,t,n){return n=n||void 0,String(e).substr(t-1,n)}},"文字抜出":{type:"func",josi:[["で","の"],["から"],["を",""]],pure:!0,fn:function(e,t,n){return n=n||void 0,String(e).substr(t-1,n)}},LEFT:{type:"func",josi:[["の","で"],["だけ"]],pure:!0,fn:function(e,t){return String(e).substr(0,t)}},"文字左部分":{type:"func",josi:[["の","で"],["だけ",""]],pure:!0,fn:function(e,t){return String(e).substr(0,t)}},RIGHT:{type:"func",josi:[["の","で"],["だけ"]],pure:!0,fn:function(e,t){return(e=""+e).substr(e.length-t,t)}},"文字右部分":{type:"func",josi:[["の","で"],["だけ",""]],pure:!0,fn:function(e,t){return(e=""+e).substr(e.length-t,t)}},"区切":{type:"func",josi:[["の","を"],["で"]],pure:!0,fn:function(e,t){return(""+e).split(""+t)}},"文字列分割":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n=(e=""+e).indexOf(t=""+t);return n<0?[e]:[e.substr(0,n),e.substr(n+t.length)]}},"切取":{type:"func",josi:[["から","の"],["まで","を"]],pure:!0,fn:function(e,t,n){var r=(e=String(e)).indexOf(t);return r<0?(n.__v0["対象"]="",e):(n.__v0["対象"]=e.substr(r+t.length),e.substr(0,r))}},"文字削除":{type:"func",josi:[["の"],["から"],["だけ","を",""]],pure:!0,fn:function(e,t,n){return(e=""+e).substr(0,t-1)+e.substr(t-1+n)}},"置換":{type:"func",josi:[["の","で"],["を","から"],["に","へ"]],pure:!0,fn:function(e,t,n){return String(e).split(t).join(n)}},"単置換":{type:"func",josi:[["の","で"],["を"],["に","へ"]],pure:!0,fn:function(e,t,n){return String(e).replace(t,n)}},"トリム":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return e=String(e).replace(/^\s+/,"").replace(/\s+$/,"")}},"空白除去":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return e=String(e).replace(/^\s+/,"").replace(/\s+$/,"")}},"大文字変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).toUpperCase()}},"小文字変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).toLowerCase()}},"平仮名変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\u30a1-\u30f6]/g,(function(e){var t=e.charCodeAt(0)-96;return String.fromCharCode(t)}))}},"カタカナ変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\u3041-\u3096]/g,(function(e){var t=e.charCodeAt(0)+96;return String.fromCharCode(t)}))}},"英数全角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[A-Za-z0-9]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65248)}))}},"英数半角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[A-Za-z0-9]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))}},"英数記号全角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\x20-\x7F]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)+65248)}))}},"英数記号半角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){return String(e).replace(/[\uFF00-\uFF5F]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)}))}},"カタカナ全角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){for(var n=t.__v0["全角カナ一覧"],r=t.__v0["半角カナ一覧"],o=t.__v0["全角カナ濁音一覧"],i=t.__v0["半角カナ濁音一覧"],u="",a=0;a<e.length;){var c=e.substr(a,2),s=i.indexOf(c);if(s>=0)u+=o.charAt(s/2),a+=2;else{var f=e.charAt(a),l=r.indexOf(f);l>=0?(u+=n.charAt(l),a++):(u+=f,a++)}}return u}},"カタカナ半角変換":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e,t){var n=t.__v0["全角カナ一覧"],r=t.__v0["半角カナ一覧"],o=t.__v0["全角カナ濁音一覧"],i=t.__v0["半角カナ濁音一覧"];return e.split("").map((function(e){var t=n.indexOf(e);if(t>=0)return r.charAt(t);var u=o.indexOf(e);return u>=0?i.substr(2*u,2):e})).join("")}},"全角変換":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){var n=e;return n=t.__exec("カタカナ全角変換",[n,t]),n=t.__exec("英数記号全角変換",[n,t])}},"半角変換":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){var n=e;return n=t.__exec("カタカナ半角変換",[n,t]),n=t.__exec("英数記号半角変換",[n,t])}},"全角カナ一覧":{type:"const",value:"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンァィゥェォャュョッ、。ー「」"},"全角カナ濁音一覧":{type:"const",value:"ガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ"},"半角カナ一覧":{type:"const",value:"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヲンァィゥェォャュョッ、。ー「」゙゚"},"半角カナ濁音一覧":{type:"const",value:"ガギグゲゴザジズゼゾダヂヅデドバビブベボパピプペポ"},"JSONエンコード":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return JSON.stringify(e)}},"JSONエンコード整形":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return JSON.stringify(e,null,2)}},"JSONデコード":{type:"func",josi:[["を","の","から"]],pure:!0,fn:function(e){return JSON.parse(e)}},"正規表現マッチ":{type:"func",josi:[["を","が"],["で","に"]],pure:!0,fn:function(e,t,n){var r,o=t.match(/^\/(.+)\/([a-zA-Z]*)$/);r=null===o?new RegExp(t,"g"):new RegExp(o[1],o[2]);var i=n.__varslist[0]["抽出文字列"]=[],u=String(e).match(r),a=u;if(r.global);else if(u&&u.length>0){a=u[0];for(var c=1;c<u.length;c++)i[c-1]=u[c]}return a}},"抽出文字列":{type:"const",value:[]},"正規表現置換":{type:"func",josi:[["の"],["を","から"],["で","に","へ"]],pure:!0,fn:function(e,t,n){var r,o=t.match(/^\/(.+)\/([a-zA-Z]*)/);return r=null===o?new RegExp(t,"g"):new RegExp(o[1],o[2]),String(e).replace(r,n)}},"正規表現区切":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){var n,r=t.match(/^\/(.+)\/([a-zA-Z]*)/);return n=null===r?new RegExp(t,"g"):new RegExp(r[1],r[2]),String(e).split(n)}},"通貨形式":{type:"func",josi:[["を","の"]],pure:!0,fn:function(e){return String(e).replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,")}},"ゼロ埋":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){e=String(e);for(var n="0",r=0;r<t;r++)n+="0";(t=parseInt(t))<e.length&&(t=e.length);var o=n+String(e);return o.substr(o.length-t,t)}},"空白埋":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){e=String(e);for(var n=" ",r=0;r<t;r++)n+=" ";(t=parseInt(t))<e.length&&(t=e.length);var o=n+String(e);return o.substr(o.length-t,t)}},"かなか判定":{type:"func",josi:[["を","の","が"]],pure:!0,fn:function(e){var t=String(e).charCodeAt(0);return t>=12353&&t<=12447}},"カタカナ判定":{type:"func",josi:[["を","の","が"]],pure:!0,fn:function(e){var t=String(e).charCodeAt(0);return t>=12449&&t<=12538}},"数字判定":{type:"func",josi:[["を","が"]],pure:!0,fn:function(e){var t=String(e).charAt(0);return t>="0"&&t<="9"||t>="0"&&t<="9"}},"数列判定":{type:"func",josi:[["を","が"]],pure:!0,fn:function(e){return null!==String(e).match(/^[0-9.]+$/)}},"配列結合":{type:"func",josi:[["を"],["で"]],pure:!0,fn:function(e,t){return e instanceof Array?e.join(""+t):String(e).split("\n").join(""+t)}},"配列検索":{type:"func",josi:[["の","から"],["を"]],pure:!0,fn:function(e,t){return e instanceof Array?e.indexOf(t):-1}},"配列要素数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e instanceof Array?e.length:e instanceof Object?Object.keys(e).length:1}},"要素数":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__exec("配列要素数",[e])}},"配列挿入":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){if(e instanceof Array)return e.splice(t,0,n);throw new Error("『配列挿入』で配列以外の要素への挿入。")}},"配列一括挿入":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){if(e instanceof Array&&n instanceof Array){for(var r=0;r<n.length;r++)e.splice(t+r,0,n[r]);return e}throw new Error("『配列一括挿入』で配列以外の要素への挿入。")}},"配列ソート":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array)return e.sort();throw new Error("『配列ソート』で配列以外が指定されました。")}},"配列数値ソート":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array)return e.sort((function(e,t){return parseFloat(e)-parseFloat(t)}));throw new Error("『配列数値ソート』で配列以外が指定されました。")}},"配列カスタムソート":{type:"func",josi:[["で"],["の","を"]],pure:!1,fn:function(e,t,n){var r=e;if("string"==typeof e&&(r=n.__findFunc(e,"配列カスタムソート")),t instanceof Array)return t.sort(r);throw new Error("『配列カスタムソート』で配列以外が指定されました。")}},"配列逆順":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array)return e.reverse();throw new Error("『配列ソート』で配列以外が指定されました。")}},"配列シャッフル":{type:"func",josi:[["の","を"]],pure:!0,fn:function(e){if(e instanceof Array){for(var t=e.length-1;t>0;t--){var n=Math.floor(Math.random()*(t+1)),r=e[t];e[t]=e[n],e[n]=r}return e}throw new Error("『配列シャッフル』で配列以外が指定されました。")}},"配列削除":{type:"func",josi:[["の","から"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("配列切取",[e,t,n])}},"配列切取":{type:"func",josi:[["の","から"],["を"]],pure:!0,fn:function(e,t){if(e instanceof Array){var n=e.splice(t,1);return n instanceof Array?n[0]:null}if(!(e instanceof Object&&"string"==typeof t))throw new Error("『配列切取』で配列以外を指定。");if(e[t]){var r=e[t];return delete e[t],r}}},"配列取出":{type:"func",josi:[["の"],["から"],["を"]],pure:!0,fn:function(e,t,n){if(e instanceof Array)return e.splice(t,n);throw new Error("『配列取出』で配列以外を指定。")}},"配列ポップ":{type:"func",josi:[["の","から"]],pure:!0,fn:function(e){if(e instanceof Array)return e.pop();throw new Error("『配列ポップ』で配列以外の処理。")}},"配列追加":{type:"func",josi:[["に","へ"],["を"]],pure:!0,fn:function(e,t){if(e instanceof Array)return e.push(t),e;throw new Error("『配列追加』で配列以外の処理。")}},"配列複製":{type:"func",josi:[["を"]],pure:!0,fn:function(e){return JSON.parse(JSON.stringify(e))}},"配列足":{type:"func",josi:[["に","へ","と"],["を"]],pure:!0,fn:function(e,t){return e instanceof Array?e.concat(t):JSON.parse(JSON.stringify(e))}},"配列最大値":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e.reduce((function(e,t){return Math.max(e,t)}))}},"配列最小値":{type:"func",josi:[["の"]],pure:!0,fn:function(e){return e.reduce((function(e,t){return Math.min(e,t)}))}},"配列合計":{type:"func",josi:[["の"]],pure:!0,fn:function(e){if(e instanceof Array){var t=0;return e.forEach((function(e){var n=parseFloat(e);isNaN(n)||(t+=n)})),t}throw new Error("『配列合計』で配列変数以外の値が指定されました。")}},"表ソート":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表ソート』には配列を指定する必要があります。");return e.sort((function(e,n){var r=e[t],o=n[t];return r===o?0:r<o?-1:1})),e}},"表数値ソート":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表数値ソート』には配列を指定する必要があります。");return e.sort((function(e,n){return e[t]-n[t]})),e}},"表ピックアップ":{type:"func",josi:[["の"],["から"],["を","で"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表ピックアップ』には配列を指定する必要があります。");return e.filter((function(e){return String(e[t]).indexOf(n)>=0}))}},"表完全一致ピックアップ":{type:"func",josi:[["の"],["から"],["を","で"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表完全ピックアップ』には配列を指定する必要があります。");return e.filter((function(e){return e[t]===n}))}},"表検索":{type:"func",josi:[["の"],["で","に"],["から"],["を"]],pure:!0,fn:function(e,t,n,r){if(!(e instanceof Array))throw new Error("『表検索』には配列を指定する必要があります。");for(var o=n;o<e.length;o++)if(e[o][t]===r)return o;return-1}},"表列数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){if(!(e instanceof Array))throw new Error("『表列数』には配列を指定する必要があります。");for(var t=1,n=0;n<e.length;n++)e[n].length>t&&(t=e[n].length);return t}},"表行数":{type:"func",josi:[["の"]],pure:!0,fn:function(e){if(!(e instanceof Array))throw new Error("『表行数』には配列を指定する必要があります。");return e.length}},"表行列交換":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表行列交換』には配列を指定する必要があります。");for(var n=t.__exec("表列数",[e]),r=e.length,o=[],i=0;i<n;i++){var u=[];o.push(u);for(var a=0;a<r;a++)u[a]=void 0!==e[a][i]?e[a][i]:""}return o}},"表右回転":{type:"func",josi:[["の","を"]],pure:!1,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表右回転』には配列を指定する必要があります。");for(var n=t.__exec("表列数",[e]),r=e.length,o=[],i=0;i<n;i++){var u=[];o.push(u);for(var a=0;a<r;a++)u[a]=e[r-a-1][i]}return o}},"表重複削除":{type:"func",josi:[["の"],["を","で"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表重複削除』には配列を指定する必要があります。");for(var r=[],o={},i=0;i<e.length;i++){var u=e[i][t];void 0===o[u]&&(o[u]=!0,r.push(e[i]))}return r}},"表列取得":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表列取得』には配列を指定する必要があります。");return e.map((function(e){return e[t]}))}},"表列挿入":{type:"func",josi:[["の"],["に","へ"],["を"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表列挿入』には配列を指定する必要があります。");var r=[];return e.forEach((function(e,o){var i=[];t>0&&(i=i.concat(e.slice(0,t))),i.push(n[o]),i=i.concat(e.slice(t)),r.push(i)})),r}},"表列削除":{type:"func",josi:[["の"],["を"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表列削除』には配列を指定する必要があります。");var n=[];return e.forEach((function(e,r){var o=e.slice(0);o.splice(t,1),n.push(o)})),n}},"表列合計":{type:"func",josi:[["の"],["を","で"]],pure:!0,fn:function(e,t){if(!(e instanceof Array))throw new Error("『表列合計』には配列を指定する必要があります。");var n=0;return e.forEach((function(e){n+=e[t]})),n}},"表曖昧検索":{type:"func",josi:[["の"],["から"],["で"],["を"]],pure:!0,fn:function(e,t,n,r){if(!(e instanceof Array))throw new Error("『表曖昧検索』には配列を指定する必要があります。");for(var o=new RegExp(r),i=0;i<e.length;i++){var u=e[i];if(o.test(u[n]))return i}return-1}},"表正規表現ピックアップ":{type:"func",josi:[["の","で"],["から"],["を"]],pure:!0,fn:function(e,t,n){if(!(e instanceof Array))throw new Error("『表正規表現ピックアップ』には配列を指定する必要があります。");for(var r=new RegExp(n),o=[],i=0;i<e.length;i++){var u=e[i];r.test(u[t])&&o.push(u.slice(0))}return o}},"辞書キー列挙":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=[];if(e instanceof Object){for(var n in e)t.push(n);return t}if(e instanceof Array){for(var r=0;r<e.length;r++)t.push(r);return t}throw new Error("『辞書キー列挙』でハッシュ以外が与えられました。")}},"辞書キー削除":{type:"func",josi:[["から","の"],["を"]],pure:!0,fn:function(e,t){if(e instanceof Object)return e[t]&&delete e[t],e;throw new Error("『辞書キー削除』でハッシュ以外が与えられました。")}},"辞書キー存在":{type:"func",josi:[["の","に"],["が"]],pure:!0,fn:function(e,t){return t in e}},"ハッシュキー列挙":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){return t.__exec("辞書キー列挙",[e,t])}},"ハッシュ内容列挙":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=[];if(e instanceof Object){for(var n in e)t.push(e[n]);return t}throw new Error("『ハッシュ内容列挙』でハッシュ以外が与えられました。")}},"ハッシュキー削除":{type:"func",josi:[["から","の"],["を"]],pure:!1,fn:function(e,t,n){return n.__exec("辞書キー削除",[e,t,n])}},"ハッシュキー存在":{type:"func",josi:[["の","に"],["が"]],pure:!0,fn:function(e,t){return t in e}},"秒待機":{type:"func",josi:[[""]],pure:!1,fn:function(e,t){if("非同期モード"===t.__genMode){var n=t.setAsync(t);setTimeout((function(){t.compAsync(t,n)}),1e3*e)}else{if(void 0===t.resolve)throw new Error("『秒待機』命令は『!非同期モード』で使ってください。");t.__exec("秒逐次待機",[e,t])}},return_none:!0},"秒逐次待機":{type:"func",josi:[[""]],pure:!0,fn:function(e,t){if(void 0===t.resolve)throw new Error("『秒逐次待機』命令は『逐次実行』構文と一緒に使ってください。");var n=t.resolve;t.resolveCount++;var r=setTimeout((function(){var e=t.__timeout.indexOf(r);e>=0&&t.__timeout.splice(e,1),n()}),1e3*e);t.__timeout.unshift(r)},return_none:!0},"秒後":{type:"func",josi:[["を"],[""]],pure:!1,fn:function(e,t,n){"string"==typeof e&&(e=n.__findFunc(e,"秒後"));var r=setTimeout((function(){var t=n.__timeout.indexOf(r);t>=0&&n.__timeout.splice(t,1),"非同期モード"===n.__genMode&&(n.newenv=!0);try{e(r,n)}catch(e){var o=e;e instanceof NakoRuntimeError||(o=new NakoRuntimeError(e,n.__varslist[0].line)),n.logger.error(o)}}),1e3*parseFloat(t));return n.__timeout.unshift(r),n.__v0["対象"]=r,r}},"秒毎":{type:"func",josi:[["を"],[""]],pure:!1,fn:function(e,t,n){"string"==typeof e&&(e=n.__findFunc(e,"秒毎"));var r=setInterval((function(){"非同期モード"===n.__genMode&&(n.newenv=!0),e(r,n)}),1e3*parseFloat(t));return n.__interval.unshift(r),n.__v0["対象"]=r,r}},"秒タイマー開始時":{type:"func",josi:[["を"],[""]],pure:!1,fn:function(e,t,n){return n.__exec("秒毎",[e,t,n])}},"タイマー停止":{type:"func",josi:[["の","で"]],pure:!0,fn:function(e,t){var n=t.__interval.indexOf(e);if(n>=0)return t.__interval.splice(n,1),clearInterval(e),!0;var r=t.__timeout.indexOf(e);return r>=0&&(t.__timeout.splice(r,1),clearTimeout(e),!0)},return_none:!1},"全タイマー停止":{type:"func",josi:[],pure:!0,fn:function(e){for(var t=0;t<e.__interval.length;t++){var n=e.__interval[t];clearInterval(n)}e.__interval=[];for(var r=0;r<e.__timeout.length;r++){var o=e.__timeout[r];clearTimeout(o)}e.__timeout=[]},return_none:!0},"元号データ":{type:"const",value:[{"元号":"令和","改元日":"2019/05/01"},{"元号":"平成","改元日":"1989/01/08"},{"元号":"昭和","改元日":"1926/12/25"},{"元号":"大正","改元日":"1912/07/30"},{"元号":"明治","改元日":"1868/10/23"}]},"今":{type:"func",josi:[],pure:!0,fn:function(){var e=function(e){return(e="00"+e).substr(e.length-2,2)},t=new Date;return e(t.getHours())+":"+e(t.getMinutes())+":"+e(t.getSeconds())}},"システム時間":{type:"func",josi:[],pure:!0,fn:function(){var e=new Date;return Math.floor(e.getTime()/1e3)}},"システム時間ミリ秒":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getTime()}},"今日":{type:"func",josi:[],pure:!1,fn:function(e){return e.__formatDate(new Date)}},"明日":{type:"func",josi:[],pure:!1,fn:function(e){var t=Date.now()+864e5;return e.__formatDate(new Date(t))}},"昨日":{type:"func",josi:[],pure:!1,fn:function(e){var t=Date.now()-864e5;return e.__formatDate(new Date(t))}},"今年":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getFullYear()}},"来年":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getFullYear()+1}},"去年":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getFullYear()-1}},"今月":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getMonth()+1}},"来月":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getMonth()+2}},"先月":{type:"func",josi:[],pure:!0,fn:function(){return(new Date).getMonth()}},"曜日":{type:"func",josi:[["の"]],pure:!1,fn:function(e,t){var n=t.__str2date(e);return"日月火水木金土".charAt(n.getDay()%7)}},"曜日番号取得":{type:"func",josi:[["の"]],pure:!0,fn:function(e){var t=e.split("/");return new Date(t[0],t[1]-1,t[2]).getDay()}},"UNIXTIME変換":{type:"func",josi:[["の","を","から"]],pure:!1,fn:function(e,t){return t.__str2date(e).getTime()/1e3}},"UNIX時間変換":{type:"func",josi:[["の","を","から"]],pure:!1,fn:function(e,t){return t.__str2date(e).getTime()/1e3}},"日時変換":{type:"func",josi:[["を","から"]],pure:!1,fn:function(e,t){var n=1e3*e;return t.__formatDateTime(new Date(n),"2022/01/01 00:00:00")}},"日時書式変換":{type:"func",josi:[["を"],["で"]],pure:!1,fn:function(e,t,n){var r=n.__str2date(e);return t=t.replace(/(YYYY|ccc|WWW|MMM|YY|MM|DD|HH|mm|ss|[MDHmsW])/g,(function(e){switch(e){case"YYYY":return r.getFullYear();case"YY":return(""+r.getFullYear()).substring(2);case"MM":return n.__zero2(r.getMonth()+1);case"DD":return n.__zero2(r.getDate());case"M":return r.getMonth()+1;case"D":return r.getDate();case"HH":return n.__zero2(r.getHours());case"mm":return n.__zero2(r.getMinutes());case"ss":return n.__zero2(r.getSeconds());case"ccc":return n.__zero(r.getMilliseconds(),3);case"H":return r.getHours();case"m":return r.getMinutes();case"s":return r.getSeconds();case"W":return"日月火水木金土".charAt(r.getDay()%7);case"WWW":return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][r.getDay()%7];case"MMM":return["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][r.getMonth()]}return e}))}},"和暦変換":{type:"func",josi:[["を"]],pure:!1,fn:function(e,t){var n,r=t.__str2date(e),o=r.getTime(),i=_createForOfIteratorHelper(t.__v0["元号データ"]);try{for(i.s();!(n=i.n()).done;){var u=n.value,a=u["元号"],c=t.__str2date(u["改元日"]);if(c.getTime()<=o){var s=r.getFullYear()-c.getFullYear()+1;return 1==s&&(s="元"),a+s+"年"+t.__zero2(r.getMonth()+1)+"月"+t.__zero2(r.getDate())+"日"}}}catch(e){i.e(e)}finally{i.f()}throw new Error("『和暦変換』は明示以前の日付には対応していません。")}},"年数差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=n.__str2date(e);return n.__str2date(t).getFullYear()-r.getFullYear()}},"月数差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=n.__str2date(e),o=n.__str2date(t);return 12*o.getFullYear()+o.getMonth()-(12*r.getFullYear()+r.getMonth())}},"日数差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil((o-r)/86400)}},"時間差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil((o-r)/3600)}},"分差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil((o-r)/60)}},"秒差":{type:"func",josi:[["と","から"],["の","までの"]],pure:!1,fn:function(e,t,n){var r=Math.ceil(n.__str2date(e).getTime()/1e3),o=Math.ceil(n.__str2date(t).getTime()/1e3);return Math.ceil(o-r)}},"日時差":{type:"func",josi:[["と","から"],["の","までの"],["による"]],pure:!1,fn:function(e,t,n,r){switch(n){case"年":return r.__exec("年数差",[e,t,r]);case"月":return r.__exec("月数差",[e,t,r]);case"日":return r.__exec("日数差",[e,t,r]);case"時間":return r.__exec("時間差",[e,t,r]);case"分":return r.__exec("分差",[e,t,r]);case"秒":return r.__exec("秒差",[e,t,r])}throw new Error("『日時差』で不明な単位です。")}},"時間加算":{type:"func",josi:[["に"],["を"]],pure:!1,fn:function(e,t,n){var r=t.charAt(0);"-"!==r&&"+"!==r||(t=t.substring(1));var o=n.__str2date(e),i=(t+":0:0").split(":"),u=60*parseInt(i[0])*60+60*parseInt(i[1])+parseInt(i[2]);"-"===r&&(u*=-1);var a=new Date(o.getTime()+1e3*u);return n.__formatDateTime(a,e)}},"日付加算":{type:"func",josi:[["に"],["を"]],pure:!1,fn:function(e,t,n){var r=1,o=t.charAt(0);"-"!==o&&"+"!==o||(t=t.substring(1),"-"===o&&(r*=-1));var i=n.__str2date(e),u=(t+"/0/0").split("/"),a=parseInt(u[0])*r,c=parseInt(u[1])*r,s=parseInt(u[2])*r;return i.setFullYear(i.getFullYear()+a),i.setMonth(i.getMonth()+c),i.setDate(i.getDate()+s),n.__formatDateTime(i,e)}},"日時加算":{type:"func",josi:[["に"],["を"]],pure:!1,fn:function(e,t,n){var r=(""+t).match(/([+|-]?)(\d+)(年|ヶ月|日|週間|時間|分|秒)$/);if(!r)throw new Error("『日付加算』は『(+|-)1(年|ヶ月|日|時間|分|秒)』の書式で指定します。");switch(r[3]){case"年":return n.__exec("日付加算",[e,"".concat(r[1]).concat(r[2],"/0/0"),n]);case"ヶ月":return n.__exec("日付加算",[e,"".concat(r[1],"0/").concat(r[2],"/0"),n]);case"週間":return n.__exec("日付加算",[e,"".concat(r[1],"0/0/").concat(7*r[2]),n]);case"日":return n.__exec("日付加算",[e,"".concat(r[1],"0/0/").concat(r[2]),n]);case"時間":return n.__exec("時間加算",[e,"".concat(r[1]).concat(r[2],":0:0"),n]);case"分":return n.__exec("時間加算",[e,"".concat(r[1],"0:").concat(r[2],":0"),n]);case"秒":return n.__exec("時間加算",[e,"".concat(r[1],"0:0:").concat(r[2]),n])}}},"時間ミリ秒取得":{type:"func",josi:[],pure:!0,fn:function(){return performance&&performance.now?performance.now():Date.now?Date.now():(new Date).getTime()}},"エラー発生":{type:"func",josi:[["の","で"]],pure:!0,fn:function(e){throw new Error(e)}},"システム関数一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){var t=[];for(var n in e.__v0){"function"==typeof e.__v0[n]&&t.push(n)}return t}},"システム関数存在":{type:"func",josi:[["が","の"]],pure:!0,fn:function(e,t){return void 0!==t.__v0[e]}},"プラグイン一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){var t=[];for(var n in e.pluginfiles)t.push(n);return t}},"モジュール一覧取得":{type:"func",josi:[],pure:!0,fn:function(e){var t=[];for(var n in e.__module)t.push(n);return t}},"助詞一覧取得":{type:"func",josi:[],pure:!0,fn:function(){return __webpack_require__(6625).josiList}},"予約語一覧取得":{type:"func",josi:[],pure:!0,fn:function(){var e=__webpack_require__(5740),t=[];for(var n in e)t.push(n);return t}},"プラグイン名":{type:"const",value:"メイン"},"プラグイン名設定":{type:"func",josi:[["に","へ"]],pure:!1,fn:function(e,t){t.__v0["プラグイン名"]=e},return_none:!0},"URLエンコード":{type:"func",josi:[["を","から"]],pure:!0,fn:function(e){return encodeURIComponent(e)}},"URLデコード":{type:"func",josi:[["を","へ","に"]],pure:!0,fn:function(e){return decodeURIComponent(e)}},"URLパラメータ解析":{type:"func",josi:[["を","の","から"]],pure:!1,fn:function(e,t){var n={};if("string"!=typeof e)return n;var r=e.split("?");if(r.length<=1)return n;var o,i=_createForOfIteratorHelper(r[1].split("&"));try{for(i.s();!(o=i.n()).done;){var u=(o.value+"=").split("=");n[t.__exec("URLデコード",[u[0]])]=t.__exec("URLデコード",[u[1]])}}catch(e){i.e(e)}finally{i.f()}return n}},"BASE64エンコード":{type:"func",josi:[["を","から"]],pure:!0,fn:function(e){if(window.btoa){var t=String.fromCharCode.apply(null,new TextEncoder("UTF-8").encode(e));return btoa(t)}return Buffer.from(e).toString("base64")}},"BASE64デコード":{type:"func",josi:[["を","へ","に"]],pure:!0,fn:function(e){if(window.atob){var t=atob(e),n=new Uint8Array(Array.prototype.map.call(t,(function(e){return e.charCodeAt()})));return new TextDecoder("UTF-8").decode(n)}return Buffer.from(e,"base64").toString()}}};module.exports=PluginSystem},7728:function(e,t,n){n(2222);var r={"ASSERT等":{type:"func",josi:[["と"],["が"]],pure:!0,fn:function(e,t,n){if(e!==t)throw new Error("不一致 [実際]".concat(e," [期待]").concat(t));return!0}},"テスト実行":{type:"func",josi:[["と"],["で"]],pure:!1,fn:function(e,t,n){n.__exec("ASSERT等",[e,t,n])}},"テスト等":{type:"func",josi:[["と"],["が"]],pure:!1,fn:function(e,t,n){n.__exec("ASSERT等",[e,t,n])}}};e.exports=r},6894:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var u=e.apply(t,n);function a(e){o(u,r,i,a,c,"next",e)}function c(e){o(u,r,i,a,c,"throw",e)}a(void 0)}))}}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}n(5666),n(4916),n(4723),n(1539),n(8674),n(2222),n(6699),n(2023),n(6992),n(8783),n(3948),n(285),n(1637),n(3123),n(9600),n(561),n(7852),n(489),n(2419),n(2526),n(1817),n(2165),n(7774);var l=n(6802),h=n(7597).NakoImportError,p=/^(なでしこ|nako|nadesiko)3?$/,d=n(1475).setupEditor,y=n(4068),v=function(e){"use strict";!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(f,e);var t,n,r,o,s=c(f);function f(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(e=s.call(this,{useBasicPlugin:!0})).__varslist[0]["ナデシコ種類"]="wnako3",e}return t=f,n=[{key:"runNakoScript",value:function(){for(var e=0,t=document.querySelectorAll("script"),n=0;n<t.length;n++){var r=t[n];r.type.match(p)&&(e++,this.run(r.text,"script".concat(n,".nako3")))}console.log("実行したなでしこの個数=",e)}},{key:"loadDependencies",value:(o=i(regeneratorRuntime.mark((function e(t,n){var r,o,u=this,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>2&&void 0!==a[2]?a[2]:"",o=a.length>3&&void 0!==a[3]?a[3]:{},e.abrupt("return",this._loadDependencies(t,n,r,{readJs:function(e,t){return o.hasOwnProperty(e)?{sync:!0,value:function(){return Function(o[e])(),{}}}:{sync:!1,value:i(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch(e);case 2:if((r=n.sent).ok){n.next=5;break}throw new h("ファイル ".concat(e," のダウンロードに失敗しました: ").concat(r.status," ").concat(r.statusText),t.line,t.file);case 5:return n.next=7,r.text();case 7:if((o=n.sent).includes("navigator.nako3.addPluginObject")){n.next=10;break}throw new h("ファイル ".concat(e,' の中に文字列 "navigator.nako3.addPluginObject" が存在しません。現在、ブラウザ版のなでしこ言語v3は自動登録するプラグインのみをサポートしています。'),t.line,t.file);case 10:return n.abrupt("return",(function(){var n=navigator.nako3;navigator.nako3=u;try{Function(o)()}catch(n){throw new h("プラグイン ".concat(e," の取り込みに失敗: ").concat(n instanceof Error?n.message:n+""),t.line,t.file)}finally{navigator.nako3=n}return{}}));case 11:case"end":return n.stop()}}),n)})))()}},readNako3:function(e,t){return o.hasOwnProperty(e)?{sync:!0,value:o[e]}:{sync:!1,value:i(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,fetch(e);case 2:if((r=n.sent).ok){n.next=5;break}throw new h("ファイル ".concat(e," のダウンロードに失敗しました: ").concat(r.status," ").concat(r.statusText),t.line,t.file);case 5:return n.next=7,r.text();case 7:return n.abrupt("return",n.sent);case 8:case"end":return n.stop()}}),n)})))()}},resolvePath:function(e,t){var n=e;if(!o.hasOwnProperty(e))try{n=new URL(e).pathname}catch(o){try{var r=window.location.href.split("/"),i=r.splice(0,r.length-1).join("/");n=new URL(i+"/"+e).pathname}catch(e){throw new h("取り込み文の引数でパスが解決できません。https:// か http:// で始まるアドレスを指定してください。\n".concat(e),t.line,t.file)}}return n.endsWith(".js")||n.endsWith(".js.txt")?{filePath:e,type:"js"}:n.endsWith(".nako3")||n.endsWith(".nako3.txt")?{filePath:e,type:"nako3"}:{filePath:e,type:"invalid"}}}));case 3:case"end":return e.stop()}}),e,this)}))),function(e,t){return o.apply(this,arguments)})},{key:"checkScriptTagParam",value:function(){for(var e=document.querySelectorAll("script"),t=0;t<e.length;t++){var n=e[t].src||"";if(n.indexOf("wnako3.js?run")>=0||n.indexOf("wnako3.js&run")>=0)return!0}return!1}},{key:"setupEditor",value:function(e){return d(e,this,window.ace)}}],n&&u(t.prototype,n),r&&u(t,r),f}(l);if("object"!==("undefined"==typeof navigator?"undefined":r(navigator))||navigator.exportWNako3)e.exports=v;else{var g=navigator.nako3=new v;g.addPluginObject("PluginBrowser",y),window.addEventListener("DOMContentLoaded",(function(e){g.checkScriptTagParam()&&g.runNakoScript()}),!1)}},1475:function(e,t,n){function r(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t,n){return i=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o},i.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=g(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],u=!0,a=!1;try{for(n=n.call(e);!(u=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){a=!0,o=e}finally{try{u||null==n.return||n.return()}finally{if(a)throw o}}return i}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(5666),n(6699),n(7042),n(7941),n(2023),n(4916),n(3123),n(9600),n(1249),n(1539),n(9714),n(2222),n(5306),n(7327),n(9720),n(2707),n(561),n(3290),n(9826),n(6992),n(1532),n(8783),n(3948),n(189),n(6755),n(1038),n(4747),n(8309),n(8674),n(2526),n(1817),n(2165),n(5003),n(9337),n(2419);var m=n(144).OffsetToLineColumn,b=n(7597).NakoError,w=n(6464),k=w.getBlockStructure,x=w.getIndent,j=w.countIndent,S=w.isIndentSyntaxEnabled,O=n(8178),A=n(7535);function E(e,t,n,r,o){var i=function(e){switch(e.type){case"line_comment":return"comment.line";case"range_comment":return"comment.block";case"def_test":case"def_func":case"とは":case"ならば":case"でなければ":case"ここから":case"ここまで":case"もし":case"違えば":case"require":case"回":case"間":case"繰り返す":case"反復":case"抜ける":case"続ける":case"戻る":case"先に":case"次に":case"代入":case"逐次実行":case"条件分岐":case"取込":case"エラー監視":case"エラー":case"変数":case"実行速度優先":return"keyword.control";case"func":return"entity.name.function";case"number":return"constant.numeric";case"定める":case"定数":return"support.constant";case"shift_r0":case"shift_r":case"shift_l":case"gteq":case"lteq":case"noteq":case"eq":case"not":case"gt":case"lt":case"and":case"or":case"@":case"+":case"-":case"*":case"/":case"%":case"^":case"&":return"keyword.operator";case"string":case"string_ex":return"string.other";case"word":return["そう","それ","回数","対象キー","対象"].includes(e.value)?"variable.language":"variable.other";default:return"markup.other"}}(e),u=function(e,t){var n=function(e){return'<span class="tooltip-plugin-name">'.concat(P(e),"</span>")};if("func"===e.type){var r=T(e.value+"",t)||(e.meta&&e.meta.file?e.meta.file:null),o=e.meta&&e.meta.josi?M(e.meta.josi):"";return r?P(o+e.value)+n(r):P(o+e.value)}if("word"===e.type){var i=T(e.value+"",t)||(e.meta&&e.meta.file?e.meta.file:null);if(i)return P(e.value+"")+n(i)}return null}(e,t);return e.rawJosi&&n.length>=e.rawJosi.length&&r&&o?[{type:i,docHTML:u,value:n.slice(0,-e.rawJosi.length)},{type:i+".markup.underline",docHTML:u,value:n.slice(-e.josi.length)}]:[{type:i,docHTML:u,value:n}]}function T(e,t){for(var n=0,r=Object.keys(t.__module);n<r.length;n++){var o=r[n];if(Object.keys(t.__module[o]).includes(e))return o}return null}function M(e){var t=e.map((function(e,t){return e.map((function(e){return"".concat(function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");return e.toString(26).split("").map((function(e){return t[parseInt(e,26)]})).join("")}(t)).concat(e)})).join("|")})).join("、");return""!==t?"(".concat(t,")"):""}function P(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}var L=function(e,t){return[{type:"markup.other",value:t.getLine(e),docHTML:null}]},I=function(e,t){var n=e.logger;try{return e.replaceLogger(),t()}finally{e.logger=n}};function C(e,t,n){var r=e.join("\n");t.reset();var o=I(t,(function(){return t.lex(r,"main.nako3",void 0,!0)}));o.commentTokens=o.commentTokens.filter((function(e){return"main.nako3"===e.file})),o.requireTokens=o.requireTokens.filter((function(e){return"main.nako3"===e.file})),o.tokens=o.tokens.filter((function(e){return"main.nako3"===e.file}));for(var i=0,u=Object.entries(t.dependencies);i<u.length;i++){var a,c=v(u[i],2),s=c[0],f=c[1].funclist,h=y(o.tokens);try{for(h.s();!(a=h.n()).done;){var d=a.value;"word"===d.type&&"それ"!==d.value&&f[d.value]&&(d.type="func",d.meta=p(p({},f[d.value+""]),{},{file:s}))}}catch(e){h.e(e)}finally{h.f()}}var g=[].concat(l(o.tokens),l(o.commentTokens),l(o.requireTokens)).filter((function(e){return"eol"!==e.type&&"eof"!==e.type&&"number"==typeof e.startOffset&&"number"==typeof e.endOffset&&e.startOffset<e.endOffset}));g.sort((function(e,t){return(e.startOffset||0)-(t.startOffset||0)}));for(var _=0,m=0,b=[],w=0;w<e.length;w++){b.push([]);for(var k=_+e[w].length,x=_;m<g.length&&g[m].endOffset<=_;)m++;if(m<g.length&&g[m].startOffset<=_&&g[m].endOffset>=k){var j;(j=b[w]).push.apply(j,l(E(g[m],t,e[w],g[m].endOffset<=k,n)))}else{var S,O;if(m<g.length&&g[m].startOffset<=_)(S=b[w]).push.apply(S,l(E(g[m],t,r.slice(x,g[m].endOffset),!0,n))),x=g[m].endOffset,m++;for(;m<g.length&&g[m].endOffset<k;){var A;x<g[m].startOffset&&(b[w].push({type:"markup.other",docHTML:null,value:r.slice(x,g[m].startOffset)}),x=g[m].startOffset),(A=b[w]).push.apply(A,l(E(g[m],t,r.slice(x,g[m].endOffset),!0,n))),x=g[m].endOffset,m++}if(m<g.length&&g[m].startOffset<k)x<g[m].startOffset&&(b[w].push({type:"markup.other",docHTML:null,value:r.slice(x,g[m].startOffset)}),x=g[m].startOffset),(O=b[w]).push.apply(O,l(E(g[m],t,r.slice(g[m].startOffset,k),g[m].endOffset<=k,n)));else b[w].push({type:"markup.other",docHTML:null,value:r.slice(x,k)})}_+=e[w].length+1}return{editorTokens:b,lexerOutput:o}}var R=function(){"use strict";function e(t,n,r,o){c(this,e),this.session=t,this.doc=n,this.AceRange=r,this.markers=[],this.hasAnnotations=!1,this.disable=o}return f(e,[{key:"add",value:function(t,n,r,o,u,a){var c=this;if(!this.disable){var s=i(this.AceRange,l(e.fromNullable(t,n,r,o,(function(e){return c.doc.getLine(e)}))));this.markers.push(this.session.addMarker(s,"marker-"+("warn"===a?"yellow":"red"),"text",!1)),this.session.setAnnotations([{row:t,column:n,text:u,type:"warn"===a?"warning":"error"}]),this.hasAnnotations=!0}}},{key:"addByError",value:function(t,n,r){var o=this;this.add.apply(this,l(e.fromError(t,n,(function(e){return o.doc.getLine(e)}))).concat([n.message,r]))}},{key:"clear",value:function(){var e,t=y(this.markers);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.session.removeMarker(n)}}catch(e){t.e(e)}finally{t.f()}this.markers.length=0,this.hasAnnotations&&(this.session.clearAnnotations(),this.hasAnnotations=!1)}}],[{key:"fromNullable",value:function(e,t,n,r,o){return null===t&&(t=0),null===n&&(n=e),null===r&&(r=o(n).length),e===n&&t===r&&r++,[e,t,n,r]}},{key:"fromOffset",value:function(e,t,n){var r=new m(e),o=r.map(t,!1),i=r.map(n,!1);return[o.line,o.column,i.line,i.column]}},{key:"fromError",value:function(e,t,n){return"number"==typeof t.startOffset&&"number"==typeof t.endOffset?this.fromOffset(e,t.startOffset,t.endOffset):"number"==typeof t.line?this.fromNullable(t.line,null,null,null,n):this.fromNullable(0,null,null,null,n)}}]),e}(),N=function(){"use strict";function e(t,n,r,o,i){var u=this;c(this,e),this.onUpdate=r,this.doc=t,this.dirty=!0,this.nako3=n,this.onCompileError=o,this.underlineJosi=i,this.lastLexerOutput=null,this.lines=this.doc.getAllLines().map((function(e){return[{type:"markup.other",value:e,docHTML:null}]})),this.cache=null,this.deleted=!1,this.enabled=!0;var a=function e(){if(!u.deleted)if(u.dirty&&u.enabled){var t=Date.now();u.dirty=!1;var i=u.doc.getAllLines().join("\n");try{var a=Date.now(),c=C(u.doc.getAllLines(),n,u.underlineJosi);u.lastLexerOutput=c.lexerOutput,u.lines=c.editorTokens,u.cache={code:i,lines:JSON.stringify(u.lines)},r(0,u.doc.getLength()-1,Date.now()-a)}catch(e){o(i,e)}setTimeout(e,Math.max(100,Math.min(5e3,5*(Date.now()-t))))}else setTimeout(e,100)};setTimeout((function(){a()}),0)}return f(e,[{key:"dispose",value:function(){this.deleted=!0}},{key:"$updateOnChange",value:function(e){var t=this;this.dirty=!0;var n=e.start.row,r=e.end.row;if(n===r)if("insert"===e.action&&this.lines[n]){for(var o=e.start.column,i=this.lines[n].filter((function(e){return"composition_placeholder"!==e.type})),u=[],a=0,c=0;a<i.length&&c+i[a].value.length<=o;)u.push(i[a]),c+=i[a].value.length,a++;for(a<i.length&&c<o?(u.push({type:i[a].type,value:i[a].value.slice(0,o-c),docHTML:null}),u.push({type:"markup.other",value:e.lines[0],docHTML:null}),u.push({type:i[a].type,value:i[a].value.slice(o-c),docHTML:null}),a++):u.push({type:"markup.other",value:e.lines[0],docHTML:null});a<i.length;)u.push(i[a]),a++;this.lines[n]=u}else this.lines[n]=L(n,this.doc);else if("remove"===e.action)this.lines.splice(n,r-n+1,L(n,this.doc));else{var s;(s=this.lines).splice.apply(s,[n,1].concat(l(Array(r-n+1).fill(null).map((function(e,r){return L(r+n,t.doc)})))))}}},{key:"getTokens",value:function(e){if(!this.lines[e]){var t=!1;if(this.enabled){var n=this.doc.getAllLines().join("\n");if(null!==this.cache&&this.cache.code===n)t=!0;else try{var r=C(this.doc.getAllLines(),this.nako3,this.underlineJosi);this.cache={code:n,lines:JSON.stringify(r.editorTokens)},t=!0}catch(e){e instanceof b||console.error(e)}}t&&null!==this.cache?this.lines[e]=JSON.parse(this.cache.lines)[e]:this.lines[e]=L(e,this.doc)}return this.lines[e]}},{key:"start",value:function(e){}},{key:"fireUpdateEvent",value:function(e,t){}},{key:"setDocument",value:function(e){}},{key:"scheduleStart",value:function(){}},{key:"setTokenizer",value:function(e){}},{key:"stop",value:function(){}},{key:"getState",value:function(e){return"start"}}]),e}(),F=function(){"use strict";function e(t,n){c(this,e),this.AceRange=t,this.nako3=n}return f(e,[{key:"autoOutdent",value:function(t,n,r){var o=n.doc;if(0!==r){var i,u=o.getLine(r-1);if(e.isBlockStart(u))i=x(u);else{var a=this.getBlockStructure(o.getAllLines().join("\n")),c=a.parents[r];i=null!==c?a.spaces[c]:""}var s=x(o.getLine(r));o.replace(new this.AceRange(r,0,r,s.length),i)}}},{key:"getFoldWidget",value:function(t,n,r){var o=t.doc;return e.isBlockStart(o.getLine(r))?"start":""}},{key:"getFoldWidgetRange",value:function(e,t,n){var r=e.doc,o=this.getBlockStructure(r.getAllLines().join("\n")).pairs.find((function(e){return e[0]===n}));return void 0!==o?new this.AceRange(o[0],r.getLine(o[0]).length,o[1]-1,r.getLine(o[1]-1).length):null}},{key:"getBlockStructure",value:function(e){return this.blockStructure&&this.blockStructure.code===e||(this.blockStructure={code:e,data:k(e)}),this.blockStructure.data}}],[{key:"toggleCommentLines",value:function(e,t,n,r){for(var o=t.doc,i=new O(new A),u=function(e){var t=x(e);if(t===e)return{type:"blank"};var n=(e=e.substr(t.length)).substr(0,2).split("").map((function(e){return i.convert1ch(e)})).join("");return"#"===n.substr(0,1)?{type:"comment",start:t.length,len:1+(" "===e.charAt(1)?1:0)}:"//"===n?{type:"comment",start:t.length,len:2+(" "===e.charAt(2)?1:0)}:{type:"code"}},a=[],c=n;c<=r;c++)a.push(c);if(!a.every((function(e){return"blank"===u(o.getLine(e)).type}))&&a.every((function(e){return"code"!==u(o.getLine(e)).type}))){var s,f=y(a);try{for(f.s();!(s=f.n()).done;){var h=s.value,p=u(o.getLine(h));"comment"===p.type&&o.removeInLine(h,p.start,p.start+p.len)}}catch(e){f.e(e)}finally{f.f()}}else{var d,v=Math.min.apply(Math,l(a.map((function(e){return j(o.getLine(e))})))),g=y(a);try{for(g.s();!(d=g.n()).done;){for(var _=d.value,m=o.getLine(_),b=m.length,w=0;w<m.length;w++)if(j(m.slice(0,w))>=v){b=w;break}o.insertInLine({row:_,column:b},"// ")}}catch(e){g.e(e)}finally{g.f()}}}},{key:"checkOutdent",value:function(e,t,n){return/^[ ・\t]*ここまで$/.test(t+n)}},{key:"getNextLineIndent",value:function(e,t,n){return this.isBlockStart(t)?x(t)+n:x(t)}},{key:"isBlockStart",value:function(e){return/^[ ・\t]*●|(ならば|なければ|ここから|条件分岐|違えば|回|繰り返(す|し)|の間|反復|とは|には|エラー監視|エラーならば|実行速度優先)、?\s*$/.test(e)}},{key:"getCompletionItems",value:function(e,t,n,r){for(var i=new Map,u=new Set,a=function(e,n,r){var o=i.get(e);if(o)o.meta.add(r);else{var a=t.split("").filter((function(e){return n.includes(e)})).length;i.set(e,{value:n,meta:new Set([r]),score:a}),u.add(n)}},c=0,s=Object.keys(n.__varslist[0]);c<s.length;c++){var f=s[c];if(!f.startsWith("!")){var l=n.funclist[f];if("object"===o(l)&&null!==l){var h=T(f,n)||"プラグイン";"func"===l.type?a(M(l.josi)+f,f,h):a(f,f,h)}}}for(var d=0,g=Object.entries(n.dependencies);d<g.length;d++)for(var _=v(g[d],2),m=_[0],b=_[1].funclist,w=0,k=Object.entries(b);w<k.length;w++){var x=v(k[w],2),j=x[0],S=x[1];a((S&&"func"===S.type?M(S.josi):"")+j,j,m)}if(null!==r.lastLexerOutput){var O,A=y(r.lastLexerOutput.tokens);try{for(A.s();!(O=A.n()).done;){var E=O.value,P=E.value+"";if(E.line!==e&&!u.has(P))if("word"===E.type)a(P,P,"変数");else if("func"===E.type){var L=n.funclist[P];a((L&&"func"===L.type?M(L.josi):"")+P,P,"関数")}}}catch(e){A.e(e)}finally{A.f()}}return Array.from(i.entries()).map((function(e){var t=v(e,2),n=t[0],r=t[1];return p(p({caption:n},r),{},{meta:Array.from(r.meta).join(", ")})}))}},{key:"getSnippets",value:function(e){var t=S(e),n=function(e,n,r){return t?{caption:e,meta:"⇥ ".concat(n),score:1,snippet:r.replace(/\t*ここまで(\n|$)/g,"").replace(/\t/g," ")}:{caption:e,meta:"⇥ ".concat(n),score:1,snippet:r.replace(/\t/g," ")}};return[n("if","もし〜ならば","もし${1:1=1}ならば\n\t${2:1を表示}\n違えば\n\t${3:2を表示}\nここまで\n"),n("times","〜回","${1:3}回\n\t${2:1を表示}\nここまで\n"),n("for","繰り返す","${1:N}で${2:1}から${3:3}まで繰り返す\n\t${4:Nを表示}\nここまで\n"),n("while","〜の間","${1:N<2の間}\n\tN=N+1\nここまで\n"),n("foreach","〜を反復","${1:[1,2,3]}を反復\n\t${2:対象を表示}\nここまで\n"),n("switch","〜で条件分岐","${1:N}で条件分岐\n\t${2:1}ならば\n\t\t${3:1を表示}\n\tここまで\n\t${4:2}ならば\n\t\t${5:2を表示}\n\tここまで\n\t違えば\n\t\t${6:3を表示}\n\tここまで\nここまで\n"),n("function","●〜とは","●(${1:AとBを})${2:足す}とは\n\t${3:A+Bを戻す}\nここまで\n"),n("test","●テスト:〜とは","●テスト:${2:足す}とは\n\t1と2を足す\n\tそれと3がASSERT等しい\nここまで\n"),n("try","エラー監視","エラー監視\n\t${1:1のエラー発生}\nエラーならば\n\t${2:2を表示}\nここまで\n")]}},{key:"getCompletionPrefix",value:function(e,t){var n=null;if(0===e.length||!/[ぁ-んa-zA-Zァ-ヶー\u3005\u4E00-\u9FCF]/.test(e[e.length-1]))return"";try{t.reset(),n=I(t,(function(){return t.lex(e,"completion.nako3",void 0,!0)})).tokens.filter((function(e){return"eol"!==e.type&&"eof"!==e.type}))}catch(e){e instanceof b||console.error(e)}if(null===n||0===n.length||!n[n.length-1].value)return"";var r=n[n.length-1].value+"";return/[ぁ-ん]/.test(r[r.length-1])&&!/[ぁ-ん]/.test(r[0])?"":r}},{key:"getCodeLens",value:function(e){for(var t=[],n=0,r=Array.from(e.getAllLines().entries());n<r.length;n++){var o=v(r[n],2),i=o[0],u=o[1],a=/^[ ・\t]*●テスト:(.+?)(?:とは|$)/.exec(u);null!==a&&t.push({start:{row:i},command:{title:"テストを実行",id:"runTest",arguments:[a[1]]}})}return t}}]),e}(),D=function(){"use strict";function e(t,n,r){c(this,e),this.editor=t,this.AceRange=n,this.UndoManager=r}return f(e,[{key:"newTab",value:function(e){return{content:e,cursor:{range:new this.AceRange(0,0,0,0),reversed:!1},scroll:{left:0,top:0},undoManger:new this.UndoManager}}},{key:"getTab",value:function(){return{content:this.editor.getValue(),cursor:{range:this.editor.session.selection.getRange(),reversed:this.editor.session.selection.isBackwards()},scroll:{left:this.editor.session.getScrollLeft(),top:this.editor.session.getScrollTop()},undoManger:this.editor.session.getUndoManager()}}},{key:"setTab",value:function(e){this.editor.setValue(e.content),this.editor.session.selection.setRange(e.cursor.range,e.cursor.reversed),this.editor.session.setScrollLeft(e.scroll.left),this.editor.session.setScrollTop(e.scroll.top),this.editor.session.setUndoManager(e.undoManger)}}]),e}(),q=function(){"use strict";function e(){c(this,e)}return f(e,null,[{key:"save",value:function(e){try{for(var t={},n=0,r=["syntaxHighlighting","keyboardHandler","theme","fontSize","wrap","useSoftTabs","tabSize","showInvisibles","enableLiveAutocompletion","indentedSoftWrap","underlineJosi"];n<r.length;n++){var o=r[n];t[o]=e.getOption(o)}localStorage.setItem("nako3EditorOptions",JSON.stringify(t))}catch(e){return console.error(e),null}}},{key:"load",value:function(e){try{if(!window.localStorage)return null;var t=window.localStorage.getItem("nako3EditorOptions");if(null===t)return null;var n=JSON.parse(t);["ace/keyboard/vscode","ace/keyboard/emacs","ace/keyboard/sublime","ace/keyboard/vim"].includes(n.keyboardHandler)&&e.setOption("keyboardHandler",n.keyboardHandler),["ace/theme/xcode","ace/theme/monokai"].includes(n.theme)&&e.setOption("theme",n.theme),"number"==typeof n.fontSize&&e.setOption("fontSize",Math.min(48,Math.max(6,n.fontSize)));for(var r=0,o=["syntaxHighlighting","wrap","useSoftTabs","showInvisibles","enableLiveAutocompletion","indentedSoftWrap","underlineJosi"];r<o.length;r++){var i=o[r];"boolean"==typeof n[i]&&e.setOption(i,n[i])}"number"==typeof n.tabSize&&e.setOption("tabSize",Math.min(16,Math.max(0,n.tabSize)))}catch(e){return console.error(e),null}}},{key:"initPanel",value:function(e,t){var n=new e(t);if(!this.done){this.done=!0;var r=!0;n.renderOptionGroup=function(e){if(r){for(var t=0,n=Object.keys(e);t<n.length;t++){delete e[n[t]]}e["シンタックスハイライト"]={path:"syntaxHighlighting"},e["キーバインド"]={path:"keyboardHandler",type:"select",items:[{caption:"VSCode",value:"ace/keyboard/vscode"},{caption:"Emacs",value:"ace/keyboard/emacs"},{caption:"Sublime",value:"ace/keyboard/sublime"},{caption:"Vim",value:"ace/keyboard/vim"}]},e["カラーテーマ"]={path:"theme",type:"select",items:[{caption:"ライト",value:"ace/theme/xcode"},{caption:"ダーク",value:"ace/theme/monokai"}]},e["文字サイズ"]={path:"fontSize",type:"number",defaultValue:16},e["行の折り返し"]={path:"wrap",type:"select",items:[{caption:"なし",value:"off"},{caption:"あり",value:"free"}]},e["ソフトタブ"]=[{path:"useSoftTabs"},{ariaLabel:"Tab Size",path:"tabSize",type:"number",values:[2,3,4,8,16]}],e["空白文字を表示"]={path:"showInvisibles"},e["常に自動補完"]={path:"enableLiveAutocompletion"},e["折り返した行をインデント"]={path:"indentedSoftWrap"},e["助詞に下線を引く"]={path:"underlineJosi"},r=!1}else for(var o=0,i=Object.keys(e);o<i.length;o++){delete e[i[o]]}},n.render();var o=e.prototype.render,i=this;e.prototype.render=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];o.apply.apply(o,[this].concat(n)),this.on("setOption",(function(){console.log("設定を保存しました。"),i.save(e.editor)}))}}}}]),e}(),U=[],B=0;e.exports={tokenize:C,setupEditor:function(e,t,n){var o=n.edit(e),i="string"==typeof e?document.getElementById(e):e;if(null===i)throw new Error("idが ".concat(e," のHTML要素は存在しません。"));var u=n.require("ace/range").Range,a=new R(o.session,o.session.bgTokenizer.doc,u,!!i.dataset.nako3DisableMarker);if(i.classList.contains("nako3_ace_mounted"))throw new Error("なでしこ言語のエディタの初期化処理を同一のHTML要素に対して複数回適用しました。");i.setAttribute("lang","en"),i.classList.add("nako3_ace_mounted"),i.classList.add("nako3_editor");var c=i.dataset.nako3Readonly;c&&(i.classList.add("readonly"),o.setReadOnly(!0)),o.setFontSize(16);var s=function(e){var t=e.doc,n=t.getAllLines(),r=e.selection.getRange();t.removeFullLines(0,t.getLength()),t.insert({row:0,column:0},n.join("\n")),e.selection.setRange(r,!1)};n.require("ace/config").defineOptions(o.constructor.prototype,"editor",{syntaxHighlighting:{set:function(e){this.session.bgTokenizer.enabled=e,s(this.session)},initialValue:!0},underlineJosi:{set:function(e){this.session.bgTokenizer.underlineJosi=e,s(this.session)},initialValue:!0}}),o.setOptions({wrap:"free",indentedSoftWrap:!1,showPrintMargin:!1}),n.require("ace/keybindings/vscode"),o.setKeyboardHandler("ace/keyboard/vscode");var f=new(0,n.require("ace/tooltip").Tooltip)(o.container);n.require("ace/lib/event").addListener(o.renderer.content,"mouseout",(function(){f.hide()})),o.on("mousemove",(function(e){var t=e.getDocumentPosition();if(t.column>=e.editor.session.getLine(t.row).length)f.hide();else{var n=e.editor.session.getTokenAt(t.row,t.column+1);null!==n&&n.docHTML?(f.setHtml(n.docHTML),f.show(null,e.clientX,e.clientY)):f.hide()}})),o.session.on("change",(function(){f.hide(),a.clear()}));var l=!!i.dataset.nako3ForceSyntaxHighlighting,h=!0,d=o.session.bgTokenizer,y=new N(o.session.bgTokenizer.doc,t,(function(e,t,n){d._signal("update",{data:{first:e,last:t}}),n>220&&o.getOption("syntaxHighlighting")&&!c&&!l&&h&&(h=!1,x.classList.add("visible"),o.setOption("syntaxHighlighting",!1),setTimeout((function(){x.classList.remove("visible")}),13e3))}),(function(e,t){a.addByError(e,t,"error")}),o.getOption("underlineJosi"));o.setOptions({enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0});var v=B++;o.wnako3EditorId=v,U.push({getCompletions:function(e,n,r,o,i){if(e.wnako3EditorId!==v)i(null,[]);else{var u=F.getCompletionItems(r.row,o,t,y);if(u.some((function(e){return e.value===o})))return void i(null,[]);i(null,u)}}},{getCompletions:function(e,t,n,r,o){o(null,e.wnako3EditorId!==v?[]:F.getSnippets(e.session.doc.getAllLines().join("\n")))}}),n.require("ace/ext/language_tools").setCompleters(U),n.require("ace/autocomplete/util").getCompletionPrefix=function(e){var n=e.getCursorPosition();return F.getCompletionPrefix(e.session.doc.getLine(n.row).slice(0,n.column),t)};var g=new F(u,t),_=n.require("ace/lib/oop"),m=n.require("ace/mode/text").Mode,b=function(){this.HighlightRules=(new m).HighlightRules,this.foldingRules={getFoldWidget:g.getFoldWidget.bind(g),getFoldWidgetRange:g.getFoldWidgetRange.bind(g)}};_.inherits(b,m),b.prototype.toggleCommentLines=F.toggleCommentLines.bind(F),b.prototype.getNextLineIndent=F.getNextLineIndent.bind(F),b.prototype.checkOutdent=F.checkOutdent.bind(F),b.prototype.autoOutdent=g.autoOutdent.bind(g),o.session.setMode(new b),o.session.bgTokenizer.stop(),o.session.bgTokenizer=y,o.setTheme("ace/theme/xcode"),q.load(o);var w=n.require("ace/ext/options").OptionPanel;q.initPanel(w,o);var k=document.createElement("div");k.classList.add("button-container"),o.container.appendChild(k);var x=document.createElement("span");x.classList.add("slow-speed-message"),x.innerHTML="<span>エディタの|応答速度が|低下したため|シンタックス|ハイライトを|無効化|しました。</span>".replace(/\|/g,"</span><span>"),k.appendChild(x);var j=[];try{var S=n.require("ace/ext/code_lens");o.setOption("enableCodeLens",!0),o.commands.addCommand({name:"runTest",exec:function(e,t){j.filter((function(e){return"test"===e.name})).forEach((function(e){return e.callback(t[0])}))}}),S.registerCodeLensProvider(o,{provideCodeLenses:function(e,t){t(null,j.some((function(e){return"test"===e.name}))?F.getCodeLens(e.doc):[])}})}catch(e){console.error(e)}var O=function(){o.container.classList.remove("fullscreen"),o.renderer.setScrollMargin(0,0,0,0)},A=document.createElement("span");A.classList.add("editor-button"),A.innerText="全画面表示",A.addEventListener("click",(function(e){o.container.classList.contains("fullscreen")?O():(o.container.classList.add("fullscreen"),o.renderer.setScrollMargin(20,20,0,0)),e.preventDefault()})),k.appendChild(A);var E=document.createElement("span");E.classList.add("editor-button"),E.innerText="設定を開く",E.addEventListener("click",(function(e){O(),o.execCommand("showSettingsMenu"),e.preventDefault()})),k.appendChild(E);var T=n.require("ace/undomanager").UndoManager,M=new D(o,u,T);i.dataset.nako3Resizable&&(new MutationObserver((function(){o.resize()})).observe(o.container,{attributes:!0}),o.renderer.setScrollMargin(4,0,4,0),o.container.classList.add("resizable"));var P=function(){y.dirty=!0};return{editor:o,editorMarkers:a,editorTabs:M,retokenize:P,run:function(e){var n=o.getValue(),i=e.preCode||"",u=t.replaceLogger();if(e.outputContainer){var c=e.outputContainer;u.addListener("info",(function(e){var t=e.html;c||console.log(t),c.style.display="block",c.innerHTML+=t})),e.outputContainer.classList.add("nako3-output-container")}var s=e.file||"main.nako3";u.addListener("info",(function(e){var t=e.position,r=e.noColor,o=e.level;t.file!==s||"warn"!==o&&"error"!==o||a.addByError(n,p(p({},t),{},{message:r}),o)}));var f=t.loadDependencies(i+n,s,i,e.localFiles||{}).then((function(){return"test"===e.method?t.test(i+n,s,i,e.testName):"compile"===e.method?t.compile(i+n,s,!1,i):t.runReset(i+n,s,i)})).catch((function(e){})).then(function(){var e,t=(e=regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:P();case 1:if(!y.dirty){e.next=6;break}return e.next=4,new Promise((function(e){return setTimeout(e,0)}));case 4:e.next=1;break;case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(o,i){var u=e.apply(t,n);function a(e){r(u,o,i,a,c,"next",e)}function c(e){r(u,o,i,a,c,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}()).catch((function(e){console.error(e)}));return{promise:f,logger:u,code:n}},codeLensListeners:j}},LanguageFeatures:F,EditorMarkers:R,BackgroundTokenizer:N}},9662:function(e,t,n){var r=n(7854),o=n(614),i=n(6330),u=r.TypeError;e.exports=function(e){if(o(e))return e;throw u(i(e)+" is not a function")}},9483:function(e,t,n){var r=n(7854),o=n(4411),i=n(6330),u=r.TypeError;e.exports=function(e){if(o(e))return e;throw u(i(e)+" is not a constructor")}},6077:function(e,t,n){var r=n(7854),o=n(614),i=r.String,u=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw u("Can't set "+i(e)+" as a prototype")}},1223:function(e,t,n){var r=n(5112),o=n(30),i=n(3070),u=r("unscopables"),a=Array.prototype;null==a[u]&&i.f(a,u,{configurable:!0,value:o(null)}),e.exports=function(e){a[u][e]=!0}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:function(e,t,n){var r=n(7854),o=n(7976),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},9670:function(e,t,n){var r=n(7854),o=n(111),i=r.String,u=r.TypeError;e.exports=function(e){if(o(e))return e;throw u(i(e)+" is not an object")}},4019:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},7556:function(e,t,n){var r=n(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},260:function(e,t,n){"use strict";var r,o,i,u=n(4019),a=n(9781),c=n(7854),s=n(614),f=n(111),l=n(2597),h=n(648),p=n(6330),d=n(8880),y=n(1320),v=n(3070).f,g=n(7976),_=n(9518),m=n(7674),b=n(5112),w=n(9711),k=c.Int8Array,x=k&&k.prototype,j=c.Uint8ClampedArray,S=j&&j.prototype,O=k&&_(k),A=x&&_(x),E=Object.prototype,T=c.TypeError,M=b("toStringTag"),P=w("TYPED_ARRAY_TAG"),L=w("TYPED_ARRAY_CONSTRUCTOR"),I=u&&!!m&&"Opera"!==h(c.opera),C=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},N={BigInt64Array:8,BigUint64Array:8},F=function(e){if(!f(e))return!1;var t=h(e);return l(R,t)||l(N,t)};for(r in R)(i=(o=c[r])&&o.prototype)?d(i,L,o):I=!1;for(r in N)(i=(o=c[r])&&o.prototype)&&d(i,L,o);if((!I||!s(O)||O===Function.prototype)&&(O=function(){throw T("Incorrect invocation")},I))for(r in R)c[r]&&m(c[r],O);if((!I||!A||A===E)&&(A=O.prototype,I))for(r in R)c[r]&&m(c[r].prototype,A);if(I&&_(S)!==A&&m(S,A),a&&!l(A,M))for(r in C=!0,v(A,M,{get:function(){return f(this)?this[P]:void 0}}),R)c[r]&&d(c[r],P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:L,TYPED_ARRAY_TAG:C&&P,aTypedArray:function(e){if(F(e))return e;throw T("Target is not a typed array")},aTypedArrayConstructor:function(e){if(s(e)&&(!m||g(O,e)))return e;throw T(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(a){if(n)for(var r in R){var o=c[r];if(o&&l(o.prototype,e))try{delete o.prototype[e]}catch(e){}}A[e]&&!n||y(A,e,n?t:I&&x[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(a){if(m){if(n)for(r in R)if((o=c[r])&&l(o,e))try{delete o[e]}catch(e){}if(O[e]&&!n)return;try{return y(O,e,n?t:I&&O[e]||t)}catch(e){}}for(r in R)!(o=c[r])||o[e]&&!n||y(o,e,t)}},isView:function(e){if(!f(e))return!1;var t=h(e);return"DataView"===t||l(R,t)||l(N,t)},isTypedArray:F,TypedArray:O,TypedArrayPrototype:A}},3331:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(9781),u=n(4019),a=n(6530),c=n(8880),s=n(2248),f=n(7293),l=n(5787),h=n(9303),p=n(7466),d=n(7067),y=n(1179),v=n(9518),g=n(7674),_=n(8006).f,m=n(3070).f,b=n(1285),w=n(206),k=n(8003),x=n(9909),j=a.PROPER,S=a.CONFIGURABLE,O=x.get,A=x.set,E="ArrayBuffer",T="DataView",M="Wrong index",P=r.ArrayBuffer,L=P,I=L&&L.prototype,C=r.DataView,R=C&&C.prototype,N=Object.prototype,F=r.Array,D=r.RangeError,q=o(b),U=o([].reverse),B=y.pack,J=y.unpack,G=function(e){return[255&e]},V=function(e){return[255&e,e>>8&255]},$=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},H=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},W=function(e){return B(e,23,4)},z=function(e){return B(e,52,8)},Y=function(e,t){m(e.prototype,t,{get:function(){return O(this)[t]}})},X=function(e,t,n,r){var o=d(n),i=O(e);if(o+t>i.byteLength)throw D(M);var u=O(i.buffer).bytes,a=o+i.byteOffset,c=w(u,a,a+t);return r?c:U(c)},K=function(e,t,n,r,o,i){var u=d(n),a=O(e);if(u+t>a.byteLength)throw D(M);for(var c=O(a.buffer).bytes,s=u+a.byteOffset,f=r(+o),l=0;l<t;l++)c[s+l]=f[i?l:t-l-1]};if(u){var Z=j&&P.name!==E;if(f((function(){P(1)}))&&f((function(){new P(-1)}))&&!f((function(){return new P,new P(1.5),new P(NaN),Z&&!S})))Z&&S&&c(P,"name",E);else{(L=function(e){return l(this,I),new P(d(e))}).prototype=I;for(var Q,ee=_(P),te=0;ee.length>te;)(Q=ee[te++])in L||c(L,Q,P[Q]);I.constructor=L}g&&v(R)!==N&&g(R,N);var ne=new C(new L(2)),re=o(R.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||s(R,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else I=(L=function(e){l(this,I);var t=d(e);A(this,{bytes:q(F(t),0),byteLength:t}),i||(this.byteLength=t)}).prototype,R=(C=function(e,t,n){l(this,R),l(e,I);var r=O(e).byteLength,o=h(t);if(o<0||o>r)throw D("Wrong offset");if(o+(n=void 0===n?r-o:p(n))>r)throw D("Wrong length");A(this,{buffer:e,byteLength:n,byteOffset:o}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=o)}).prototype,i&&(Y(L,"byteLength"),Y(C,"buffer"),Y(C,"byteLength"),Y(C,"byteOffset")),s(R,{getInt8:function(e){return X(this,1,e)[0]<<24>>24},getUint8:function(e){return X(this,1,e)[0]},getInt16:function(e){var t=X(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=X(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return H(X(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return H(X(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return J(X(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return J(X(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){K(this,1,e,G,t)},setUint8:function(e,t){K(this,1,e,G,t)},setInt16:function(e,t){K(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){K(this,2,e,V,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){K(this,4,e,$,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){K(this,4,e,$,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){K(this,4,e,W,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){K(this,8,e,z,t,arguments.length>2?arguments[2]:void 0)}});k(L,E),k(C,T),e.exports={ArrayBuffer:L,DataView:C}},1048:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(6244),u=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n),c=o(e,a),s=o(t,a),f=arguments.length>2?arguments[2]:void 0,l=u((void 0===f?a:o(f,a))-s,a-c),h=1;for(s<c&&c<s+l&&(h=-1,s+=l-1,c+=l-1);l-- >0;)s in n?n[c]=n[s]:delete n[c],c+=h,s+=h;return n}},1285:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(6244);e.exports=function(e){for(var t=r(this),n=i(t),u=arguments.length,a=o(u>1?arguments[1]:void 0,n),c=u>2?arguments[2]:void 0,s=void 0===c?n:o(c,n);s>a;)t[a++]=e;return t}},8533:function(e,t,n){"use strict";var r=n(2092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},7745:function(e){e.exports=function(e,t){for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o}},8457:function(e,t,n){"use strict";var r=n(7854),o=n(9974),i=n(6916),u=n(7908),a=n(3411),c=n(7659),s=n(4411),f=n(6244),l=n(6135),h=n(8554),p=n(1246),d=r.Array;e.exports=function(e){var t=u(e),n=s(this),r=arguments.length,y=r>1?arguments[1]:void 0,v=void 0!==y;v&&(y=o(y,r>2?arguments[2]:void 0));var g,_,m,b,w,k,x=p(t),j=0;if(!x||this==d&&c(x))for(g=f(t),_=n?new this(g):d(g);g>j;j++)k=v?y(t[j],j):t[j],l(_,j,k);else for(w=(b=h(t,x)).next,_=n?new this:[];!(m=i(w,b)).done;j++)k=v?a(b,y,[m.value,j],!0):m.value,l(_,j,k);return _.length=j,_}},1318:function(e,t,n){var r=n(5656),o=n(1400),i=n(6244),u=function(e){return function(t,n,u){var a,c=r(t),s=i(c),f=o(u,s);if(e&&n!=n){for(;s>f;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((e||f in c)&&c[f]===n)return e||f||0;return!e&&-1}};e.exports={includes:u(!0),indexOf:u(!1)}},2092:function(e,t,n){var r=n(9974),o=n(1702),i=n(8361),u=n(7908),a=n(6244),c=n(5417),s=o([].push),f=function(e){var t=1==e,n=2==e,o=3==e,f=4==e,l=6==e,h=7==e,p=5==e||l;return function(d,y,v,g){for(var _,m,b=u(d),w=i(b),k=r(y,v),x=a(w),j=0,S=g||c,O=t?S(d,x):n||h?S(d,0):void 0;x>j;j++)if((p||j in w)&&(m=k(_=w[j],j,b),e))if(t)O[j]=m;else if(m)switch(e){case 3:return!0;case 5:return _;case 6:return j;case 2:s(O,_)}else switch(e){case 4:return!1;case 7:s(O,_)}return l?-1:o||f?f:O}};e.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},6583:function(e,t,n){"use strict";var r=n(2104),o=n(5656),i=n(9303),u=n(6244),a=n(9341),c=Math.min,s=[].lastIndexOf,f=!!s&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),h=f||!l;e.exports=h?function(e){if(f)return r(s,this,arguments)||0;var t=o(this),n=u(t),a=n-1;for(arguments.length>1&&(a=c(a,i(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:s},1194:function(e,t,n){var r=n(7293),o=n(5112),i=n(7392),u=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[u]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,n){"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},3671:function(e,t,n){var r=n(7854),o=n(9662),i=n(7908),u=n(8361),a=n(6244),c=r.TypeError,s=function(e){return function(t,n,r,s){o(n);var f=i(t),l=u(f),h=a(f),p=e?h-1:0,d=e?-1:1;if(r<2)for(;;){if(p in l){s=l[p],p+=d;break}if(p+=d,e?p<0:h<=p)throw c("Reduce of empty array with no initial value")}for(;e?p>=0:h>p;p+=d)p in l&&(s=n(s,l[p],p,f));return s}};e.exports={left:s(!1),right:s(!0)}},206:function(e,t,n){var r=n(1702);e.exports=r([].slice)},4362:function(e,t,n){var r=n(206),o=Math.floor,i=function(e,t){var n=e.length,c=o(n/2);return n<8?u(e,t):a(e,i(r(e,0,c),t),i(r(e,c),t),t)},u=function(e,t){for(var n,r,o=e.length,i=1;i<o;){for(r=i,n=e[i];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==i++&&(e[r]=n)}return e},a=function(e,t,n,r){for(var o=t.length,i=n.length,u=0,a=0;u<o||a<i;)e[u+a]=u<o&&a<i?r(t[u],n[a])<=0?t[u++]:n[a++]:u<o?t[u++]:n[a++];return e};e.exports=i},7475:function(e,t,n){var r=n(7854),o=n(3157),i=n(4411),u=n(111),a=n(5112)("species"),c=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(i(t)&&(t===c||o(t.prototype))||u(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?c:t}},5417:function(e,t,n){var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},3411:function(e,t,n){var r=n(9670),o=n(9212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},7072:function(e,t,n){var r=n(5112)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[r]=function(){return this},Array.from(u,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:function(e,t,n){var r=n(7854),o=n(1694),i=n(614),u=n(4326),a=n(5112)("toStringTag"),c=r.Object,s="Arguments"==u(function(){return arguments}());e.exports=o?u:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=c(e),a))?n:s?u(t):"Object"==(r=u(t))&&i(t.callee)?"Arguments":r}},5631:function(e,t,n){"use strict";var r=n(3070).f,o=n(30),i=n(2248),u=n(9974),a=n(5787),c=n(408),s=n(654),f=n(6340),l=n(9781),h=n(2423).fastKey,p=n(9909),d=p.set,y=p.getterFor;e.exports={getConstructor:function(e,t,n,s){var f=e((function(e,r){a(e,p),d(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),l||(e.size=0),null!=r&&c(r,e[s],{that:e,AS_ENTRIES:n})})),p=f.prototype,v=y(t),g=function(e,t,n){var r,o,i=v(e),u=_(e,t);return u?u.value=n:(i.last=u={index:o=h(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=u),r&&(r.next=u),l?i.size++:e.size++,"F"!==o&&(i.index[o]=u)),e},_=function(e,t){var n,r=v(e),o=h(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(p,{clear:function(){for(var e=v(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,l?e.size=0:this.size=0},delete:function(e){var t=this,n=v(t),r=_(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),l?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=v(this),r=u(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!_(this,e)}}),i(p,n?{get:function(e){var t=_(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),l&&r(p,"size",{get:function(){return v(this).size}}),f},setStrong:function(e,t,n){var r=t+" Iterator",o=y(t),i=y(r);s(e,t,(function(e,t){d(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),f(t)}}},7710:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(1702),u=n(4705),a=n(1320),c=n(2423),s=n(408),f=n(5787),l=n(614),h=n(111),p=n(7293),d=n(7072),y=n(8003),v=n(9587);e.exports=function(e,t,n){var g=-1!==e.indexOf("Map"),_=-1!==e.indexOf("Weak"),m=g?"set":"add",b=o[e],w=b&&b.prototype,k=b,x={},j=function(e){var t=i(w[e]);a(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(_&&!h(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return _&&!h(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(_&&!h(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(u(e,!l(b)||!(_||w.forEach&&!p((function(){(new b).entries().next()})))))k=n.getConstructor(t,e,g,m),c.enable();else if(u(e,!0)){var S=new k,O=S[m](_?{}:-0,1)!=S,A=p((function(){S.has(1)})),E=d((function(e){new b(e)})),T=!_&&p((function(){for(var e=new b,t=5;t--;)e[m](t,t);return!e.has(-0)}));E||((k=t((function(e,t){f(e,w);var n=v(new b,e,k);return null!=t&&s(t,n[m],{that:n,AS_ENTRIES:g}),n}))).prototype=w,w.constructor=k),(A||T)&&(j("delete"),j("has"),g&&j("get")),(T||O)&&j(m),_&&w.clear&&delete w.clear}return x[e]=k,r({global:!0,forced:k!=b},x),y(k,e),_||n.setStrong(k,e,g),k}},9920:function(e,t,n){var r=n(2597),o=n(3887),i=n(1236),u=n(3070);e.exports=function(e,t){for(var n=o(t),a=u.f,c=i.f,s=0;s<n.length;s++){var f=n[s];r(e,f)||a(e,f,c(t,f))}}},4964:function(e,t,n){var r=n(5112)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},8544:function(e,t,n){var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:function(e,t,n){var r=n(1702),o=n(4488),i=n(1340),u=/"/g,a=r("".replace);e.exports=function(e,t,n,r){var c=i(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+a(i(r),u,""")+'"'),s+">"+c+"</"+t+">"}},4994:function(e,t,n){"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),u=n(8003),a=n(7497),c=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),u(e,s,!1,!0),a[s]=c,e}},8880:function(e,t,n){var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,n){"use strict";var r=n(4948),o=n(3070),i=n(9114);e.exports=function(e,t,n){var u=r(t);u in e?o.f(e,u,i(0,n)):e[u]=n}},654:function(e,t,n){"use strict";var r=n(2109),o=n(6916),i=n(1913),u=n(6530),a=n(614),c=n(4994),s=n(9518),f=n(7674),l=n(8003),h=n(8880),p=n(1320),d=n(5112),y=n(7497),v=n(3383),g=u.PROPER,_=u.CONFIGURABLE,m=v.IteratorPrototype,b=v.BUGGY_SAFARI_ITERATORS,w=d("iterator"),k="keys",x="values",j="entries",S=function(){return this};e.exports=function(e,t,n,u,d,v,O){c(n,t,u);var A,E,T,M=function(e){if(e===d&&R)return R;if(!b&&e in I)return I[e];switch(e){case k:case x:case j:return function(){return new n(this,e)}}return function(){return new n(this)}},P=t+" Iterator",L=!1,I=e.prototype,C=I[w]||I["@@iterator"]||d&&I[d],R=!b&&C||M(d),N="Array"==t&&I.entries||C;if(N&&(A=s(N.call(new e)))!==Object.prototype&&A.next&&(i||s(A)===m||(f?f(A,m):a(A[w])||p(A,w,S)),l(A,P,!0,!0),i&&(y[P]=S)),g&&d==x&&C&&C.name!==x&&(!i&&_?h(I,"name",x):(L=!0,R=function(){return o(C,this)})),d)if(E={values:M(x),keys:v?R:M(k),entries:M(j)},O)for(T in E)(b||L||!(T in I))&&p(I,T,E[T]);else r({target:t,proto:!0,forced:b||L},E);return i&&!O||I[w]===R||p(I,w,R,{name:d}),y[t]=R,E}},7235:function(e,t,n){var r=n(857),o=n(2597),i=n(6061),u=n(3070).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||u(t,e,{value:i.f(e)})}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),i=r.document,u=o(i)&&o(i.createElement);e.exports=function(e){return u?i.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:function(e,t,n){var r=n(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:function(e,t,n){var r=n(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},7871:function(e){e.exports="object"==typeof window},256:function(e,t,n){var r=n(8113);e.exports=/MSIE|Trident/.test(r)},1528:function(e,t,n){var r=n(8113),o=n(7854);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},6833:function(e,t,n){var r=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},5268:function(e,t,n){var r=n(4326),o=n(7854);e.exports="process"==r(o.process)},1036:function(e,t,n){var r=n(8113);e.exports=/web0s(?!.*chrome)/i.test(r)},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(7854),u=n(8113),a=i.process,c=i.Deno,s=a&&a.versions||c&&c.version,f=s&&s.v8;f&&(o=(r=f.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&u&&(!(r=u.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=u.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:function(e,t,n){var r=n(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),u=n(1320),a=n(3505),c=n(9920),s=n(4705);e.exports=function(e,t){var n,f,l,h,p,d=e.target,y=e.global,v=e.stat;if(n=y?r:v?r[d]||a(d,{}):(r[d]||{}).prototype)for(f in t){if(h=t[f],l=e.noTargetGet?(p=o(n,f))&&p.value:n[f],!s(y?f:d+(v?".":"#")+f,e.forced)&&void 0!==l){if(typeof h==typeof l)continue;c(h,l)}(e.sham||l&&l.sham)&&i(h,"sham",!0),u(n,f,h,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1702),o=n(1320),i=n(2261),u=n(7293),a=n(5112),c=n(8880),s=a("species"),f=RegExp.prototype;e.exports=function(e,t,n,l){var h=a(e),p=!u((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),d=p&&!u((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[s]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!p||!d||n){var y=r(/./[h]),v=t(h,""[e],(function(e,t,n,o,u){var a=r(e),c=t.exec;return c===i||c===f.exec?p&&!u?{done:!0,value:y(t,n,o)}:{done:!0,value:a(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(f,h,v[1])}l&&c(f[h],"sham",!0)}},6677:function(e,t,n){var r=n(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:function(e){var t=Function.prototype,n=t.apply,r=t.bind,o=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(n):function(){return o.apply(n,arguments)})},9974:function(e,t,n){var r=n(1702),o=n(9662),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?i(e,t):function(){return e.apply(t,arguments)}}},7065:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(9662),u=n(111),a=n(2597),c=n(206),s=r.Function,f=o([].concat),l=o([].join),h={},p=function(e,t,n){if(!a(h,t)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";h[t]=s("C,a","return new C("+l(r,",")+")")}return h[t](e,n)};e.exports=s.bind||function(e){var t=i(this),n=t.prototype,r=c(arguments,1),o=function(){var n=f(r,c(arguments));return this instanceof o?p(t,n.length,n):t.apply(e,n)};return u(n)&&(o.prototype=n),o}},6916:function(e){var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),i=Function.prototype,u=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,s=a&&(!r||r&&u(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:s}},1702:function(e){var t=Function.prototype,n=t.bind,r=t.call,o=n&&n.bind(r);e.exports=n?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},1246:function(e,t,n){var r=n(648),o=n(8173),i=n(7497),u=n(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,u)||o(e,"@@iterator")||i[r(e)]}},8554:function(e,t,n){var r=n(7854),o=n(6916),i=n(9662),u=n(9670),a=n(6330),c=n(1246),s=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?c(e):t;if(i(n))return u(o(n,e));throw s(a(e)+" is not iterable")}},8173:function(e,t,n){var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},647:function(e,t,n){var r=n(1702),o=n(7908),i=Math.floor,u=r("".charAt),a=r("".replace),c=r("".slice),s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,l,h){var p=n+e.length,d=r.length,y=f;return void 0!==l&&(l=o(l),y=s),a(h,y,(function(o,a){var s;switch(u(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,p);case"<":s=l[c(a,1,-1)];break;default:var f=+a;if(0===f)return o;if(f>d){var h=i(f/10);return 0===h?o:h<=d?void 0===r[h-1]?u(a,1):r[h-1]+u(a,1):o}s=r[f-1]}return void 0===s?"":s}))}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},842:function(e,t,n){var r=n(7854);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1179:function(e,t,n){var r=n(7854).Array,o=Math.abs,i=Math.pow,u=Math.floor,a=Math.log,c=Math.LN2;e.exports={pack:function(e,t,n){var s,f,l,h=r(n),p=8*n-t-1,d=(1<<p)-1,y=d>>1,v=23===t?i(2,-24)-i(2,-77):0,g=e<0||0===e&&1/e<0?1:0,_=0;for((e=o(e))!=e||e===1/0?(f=e!=e?1:0,s=d):(s=u(a(e)/c),e*(l=i(2,-s))<1&&(s--,l*=2),(e+=s+y>=1?v/l:v*i(2,1-y))*l>=2&&(s++,l/=2),s+y>=d?(f=0,s=d):s+y>=1?(f=(e*l-1)*i(2,t),s+=y):(f=e*i(2,y-1)*i(2,t),s=0));t>=8;h[_++]=255&f,f/=256,t-=8);for(s=s<<t|f,p+=t;p>0;h[_++]=255&s,s/=256,p-=8);return h[--_]|=128*g,h},unpack:function(e,t){var n,r=e.length,o=8*r-t-1,u=(1<<o)-1,a=u>>1,c=o-7,s=r-1,f=e[s--],l=127&f;for(f>>=7;c>0;l=256*l+e[s],s--,c-=8);for(n=l&(1<<-c)-1,l>>=-c,c+=t;c>0;n=256*n+e[s],s--,c-=8);if(0===l)l=1-a;else{if(l===u)return n?NaN:f?-1/0:1/0;n+=i(2,t),l-=a}return(f?-1:1)*n*i(2,l-t)}}},8361:function(e,t,n){var r=n(7854),o=n(1702),i=n(7293),u=n(4326),a=r.Object,c=o("".split);e.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==u(e)?c(e,""):a(e)}:a},9587:function(e,t,n){var r=n(614),o=n(111),i=n(7674);e.exports=function(e,t,n){var u,a;return i&&r(u=t.constructor)&&u!==n&&o(a=u.prototype)&&a!==n.prototype&&i(e,a),e}},2788:function(e,t,n){var r=n(1702),o=n(614),i=n(5465),u=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return u(e)}),e.exports=i.inspectSource},2423:function(e,t,n){var r=n(2109),o=n(1702),i=n(3501),u=n(111),a=n(2597),c=n(3070).f,s=n(8006),f=n(1156),l=n(2050),h=n(9711),p=n(6677),d=!1,y=h("meta"),v=0,g=function(e){c(e,y,{value:{objectID:"O"+v++,weakData:{}}})},_=e.exports={enable:function(){_.enable=function(){},d=!0;var e=s.f,t=o([].splice),n={};n[y]=1,e(n).length&&(s.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===y){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(e,t){if(!u(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,y)){if(!l(e))return"F";if(!t)return"E";g(e)}return e[y].objectID},getWeakData:function(e,t){if(!a(e,y)){if(!l(e))return!0;if(!t)return!1;g(e)}return e[y].weakData},onFreeze:function(e){return p&&d&&l(e)&&!a(e,y)&&g(e),e}};i[y]=!0},9909:function(e,t,n){var r,o,i,u=n(8536),a=n(7854),c=n(1702),s=n(111),f=n(8880),l=n(2597),h=n(5465),p=n(6200),d=n(3501),y="Object already initialized",v=a.TypeError,g=a.WeakMap;if(u||h.state){var _=h.state||(h.state=new g),m=c(_.get),b=c(_.has),w=c(_.set);r=function(e,t){if(b(_,e))throw new v(y);return t.facade=e,w(_,e,t),t},o=function(e){return m(_,e)||{}},i=function(e){return b(_,e)}}else{var k=p("state");d[k]=!0,r=function(e,t){if(l(e,k))throw new v(y);return t.facade=e,f(e,k,t),t},o=function(e){return l(e,k)?e[k]:{}},i=function(e){return l(e,k)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),o=n(7497),i=r("iterator"),u=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||u[i]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),o=n(7293),i=n(614),u=n(648),a=n(5005),c=n(2788),s=function(){},f=[],l=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,p=r(h.exec),d=!h.exec(s),y=function(e){if(!i(e))return!1;try{return l(s,f,e),!0}catch(e){return!1}};e.exports=!l||o((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(u(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!p(h,c(e))}:y},4705:function(e,t,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,u=function(e,t){var n=c[a(e)];return n==f||n!=s&&(o(t)?r(t):!!t)},a=u.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=u.data={},s=u.NATIVE="N",f=u.POLYFILL="P";e.exports=u},5988:function(e,t,n){var r=n(111),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},111:function(e,t,n){var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),o=n(4326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},2190:function(e,t,n){var r=n(7854),o=n(5005),i=n(614),u=n(7976),a=n(3307),c=r.Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&u(t.prototype,c(e))}},408:function(e,t,n){var r=n(7854),o=n(9974),i=n(6916),u=n(9670),a=n(6330),c=n(7659),s=n(6244),f=n(7976),l=n(8554),h=n(1246),p=n(9212),d=r.TypeError,y=function(e,t){this.stopped=e,this.result=t},v=y.prototype;e.exports=function(e,t,n){var r,g,_,m,b,w,k,x=n&&n.that,j=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),A=o(t,x),E=function(e){return r&&p(r,"normal",e),new y(!0,e)},T=function(e){return j?(u(e),O?A(e[0],e[1],E):A(e[0],e[1])):O?A(e,E):A(e)};if(S)r=e;else{if(!(g=h(e)))throw d(a(e)+" is not iterable");if(c(g)){for(_=0,m=s(e);m>_;_++)if((b=T(e[_]))&&f(v,b))return b;return new y(!1)}r=l(e,g)}for(w=r.next;!(k=i(w,r)).done;){try{b=T(k.value)}catch(e){p(r,"throw",e)}if("object"==typeof b&&b&&f(v,b))return b}return new y(!1)}},9212:function(e,t,n){var r=n(6916),o=n(9670),i=n(8173);e.exports=function(e,t,n){var u,a;o(e);try{if(!(u=i(e,"return"))){if("throw"===t)throw n;return n}u=r(u,e)}catch(e){a=!0,u=e}if("throw"===t)throw n;if(a)throw u;return o(u),n}},3383:function(e,t,n){"use strict";var r,o,i,u=n(7293),a=n(614),c=n(30),s=n(9518),f=n(1320),l=n(5112),h=n(1913),p=l("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):d=!0),null==r||u((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=c(r)),a(r[p])||f(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},7497:function(e){e.exports={}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},5948:function(e,t,n){var r,o,i,u,a,c,s,f,l=n(7854),h=n(9974),p=n(1236).f,d=n(261).set,y=n(6833),v=n(1528),g=n(1036),_=n(5268),m=l.MutationObserver||l.WebKitMutationObserver,b=l.document,w=l.process,k=l.Promise,x=p(l,"queueMicrotask"),j=x&&x.value;j||(r=function(){var e,t;for(_&&(e=w.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?u():i=void 0,e}}i=void 0,e&&e.enter()},y||_||g||!m||!b?!v&&k&&k.resolve?((s=k.resolve(void 0)).constructor=k,f=h(s.then,s),u=function(){f(r)}):_?u=function(){w.nextTick(r)}:(d=h(d,l),u=function(){d(r)}):(a=!0,c=b.createTextNode(""),new m(r).observe(c,{characterData:!0}),u=function(){c.data=a=!a})),e.exports=j||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,u()),i=t}},3366:function(e,t,n){var r=n(7854);e.exports=r.Promise},133:function(e,t,n){var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},590:function(e,t,n){var r=n(7293),o=n(5112),i=n(1913),u=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[u]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(e,t,n){var r=n(7854),o=n(614),i=n(2788),u=r.WeakMap;e.exports=o(u)&&/native code/.test(i(u))},8523:function(e,t,n){"use strict";var r=n(9662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},3929:function(e,t,n){var r=n(7854),o=n(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:function(e,t,n){"use strict";var r=n(9781),o=n(1702),i=n(6916),u=n(7293),a=n(1956),c=n(5181),s=n(5296),f=n(7908),l=n(8361),h=Object.assign,p=Object.defineProperty,d=o([].concat);e.exports=!h||u((function(){if(r&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=h({},e)[n]||a(h({},t)).join("")!=o}))?function(e,t){for(var n=f(e),o=arguments.length,u=1,h=c.f,p=s.f;o>u;)for(var y,v=l(arguments[u++]),g=h?d(a(v),h(v)):a(v),_=g.length,m=0;_>m;)y=g[m++],r&&!i(p,v,y)||(n[y]=v[y]);return n}:h},30:function(e,t,n){var r,o=n(9670),i=n(6048),u=n(748),a=n(3501),c=n(490),s=n(317),f=n(6200),l=f("IE_PROTO"),h=function(){},p=function(e){return"<script>"+e+"</"+"script>"},d=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;y="undefined"!=typeof document?document.domain&&r?d(r):((t=s("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):d(r);for(var n=u.length;n--;)delete y.prototype[u[n]];return y()};a[l]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h.prototype=o(e),n=new h,h.prototype=null,n[l]=e):n=y(),void 0===t?n:i(n,t)}},6048:function(e,t,n){var r=n(9781),o=n(3070),i=n(9670),u=n(5656),a=n(1956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=u(t),c=a(t),s=c.length,f=0;s>f;)o.f(e,n=c[f++],r[n]);return e}},3070:function(e,t,n){var r=n(7854),o=n(9781),i=n(4664),u=n(9670),a=n(4948),c=r.TypeError,s=Object.defineProperty;t.f=o?s:function(e,t,n){if(u(e),t=a(t),u(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(6916),i=n(5296),u=n(9114),a=n(5656),c=n(4948),s=n(2597),f=n(4664),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t),f)try{return l(e,t)}catch(e){}if(s(e,t))return u(!o(i.f,e,t),e[t])}},1156:function(e,t,n){var r=n(4326),o=n(5656),i=n(8006).f,u=n(206),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"Window"==r(e)?function(e){try{return i(e)}catch(e){return u(a)}}(e):i(o(e))}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var r=n(7854),o=n(2597),i=n(614),u=n(7908),a=n(6200),c=n(8544),s=a("IE_PROTO"),f=r.Object,l=f.prototype;e.exports=c?f.getPrototypeOf:function(e){var t=u(e);if(o(t,s))return t[s];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof f?l:null}},2050:function(e,t,n){var r=n(7293),o=n(111),i=n(4326),u=n(7556),a=Object.isExtensible,c=r((function(){a(1)}));e.exports=c||u?function(e){return!!o(e)&&((!u||"ArrayBuffer"!=i(e))&&(!a||a(e)))}:a},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),o=n(2597),i=n(5656),u=n(1318).indexOf,a=n(3501),c=r([].push);e.exports=function(e,t){var n,r=i(e),s=0,f=[];for(n in r)!o(a,n)&&o(r,n)&&c(f,n);for(;t.length>s;)o(r,n=t[s++])&&(~u(f,n)||c(f,n));return f}},1956:function(e,t,n){var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(1702),o=n(9670),i=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},4699:function(e,t,n){var r=n(9781),o=n(1702),i=n(1956),u=n(5656),a=o(n(5296).f),c=o([].push),s=function(e){return function(t){for(var n,o=u(t),s=i(o),f=s.length,l=0,h=[];f>l;)n=s[l++],r&&!a(o,n)||c(h,e?[n,o[n]]:o[n]);return h}};e.exports={entries:s(!0),values:s(!1)}},288:function(e,t,n){"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},2140:function(e,t,n){var r=n(7854),o=n(6916),i=n(614),u=n(111),a=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!u(r=o(n,e)))return r;if(i(n=e.valueOf)&&!u(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!u(r=o(n,e)))return r;throw a("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),o=n(1702),i=n(8006),u=n(5181),a=n(9670),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=u.f;return n?c(t,n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},2534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},9478:function(e,t,n){var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},2248:function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},1320:function(e,t,n){var r=n(7854),o=n(614),i=n(2597),u=n(8880),a=n(3505),c=n(2788),s=n(9909),f=n(6530).CONFIGURABLE,l=s.get,h=s.enforce,p=String(String).split("String");(e.exports=function(e,t,n,c){var s,l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,y=!!c&&!!c.noTargetGet,v=c&&void 0!==c.name?c.name:t;o(n)&&("Symbol("===String(v).slice(0,7)&&(v="["+String(v).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||f&&n.name!==v)&&u(n,"name",v),(s=h(n)).source||(s.source=p.join("string"==typeof v?v:""))),e!==r?(l?!y&&e[t]&&(d=!0):delete e[t],d?e[t]=n:u(e,t,n)):d?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return o(this)&&l(this).source||c(this)}))},7651:function(e,t,n){var r=n(7854),o=n(6916),i=n(9670),u=n(614),a=n(4326),c=n(2261),s=r.TypeError;e.exports=function(e,t){var n=e.exec;if(u(n)){var r=o(n,e,t);return null!==r&&i(r),r}if("RegExp"===a(e))return o(c,e,t);throw s("RegExp#exec called on incompatible receiver")}},2261:function(e,t,n){"use strict";var r,o,i=n(6916),u=n(1702),a=n(1340),c=n(7066),s=n(2999),f=n(2309),l=n(30),h=n(9909).get,p=n(9441),d=n(7168),y=f("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,g=v,_=u("".charAt),m=u("".indexOf),b=u("".replace),w=u("".slice),k=(o=/b*/g,i(v,r=/a/,"a"),i(v,o,"a"),0!==r.lastIndex||0!==o.lastIndex),x=s.UNSUPPORTED_Y||s.BROKEN_CARET,j=void 0!==/()??/.exec("")[1];(k||j||x||p||d)&&(g=function(e){var t,n,r,o,u,s,f,p=this,d=h(p),S=a(e),O=d.raw;if(O)return O.lastIndex=p.lastIndex,t=i(g,O,S),p.lastIndex=O.lastIndex,t;var A=d.groups,E=x&&p.sticky,T=i(c,p),M=p.source,P=0,L=S;if(E&&(T=b(T,"y",""),-1===m(T,"g")&&(T+="g"),L=w(S,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==_(S,p.lastIndex-1))&&(M="(?: "+M+")",L=" "+L,P++),n=new RegExp("^(?:"+M+")",T)),j&&(n=new RegExp("^"+M+"$(?!\\s)",T)),k&&(r=p.lastIndex),o=i(v,E?n:p,L),E?o?(o.input=w(o.input,P),o[0]=w(o[0],P),o.index=p.lastIndex,p.lastIndex+=o[0].length):p.lastIndex=0:k&&o&&(p.lastIndex=p.global?o.index+o[0].length:r),j&&o&&o.length>1&&i(y,o[0],n,(function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)})),o&&A)for(o.groups=s=l(null),u=0;u<A.length;u++)s[(f=A[u])[0]]=o[f[1]];return o}),e.exports=g},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){var r=n(7293),o=n(7854).RegExp;t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},9441:function(e,t,n){var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},7168:function(e,t,n){var r=n(7293),o=n(7854).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},4488:function(e,t,n){var r=n(7854).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},3505:function(e,t,n){var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),o=n(3070),i=n(5112),u=n(9781),a=i("species");e.exports=function(e){var t=r(e),n=o.f;u&&t&&!t[a]&&n(t,a,{configurable:!0,get:function(){return this}})}},8003:function(e,t,n){var r=n(3070).f,o=n(2597),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3505),i="__core-js_shared__",u=r[i]||o(i,{});e.exports=u},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(e,t,n){var r=n(9670),o=n(9483),i=n(5112)("species");e.exports=function(e,t){var n,u=r(e).constructor;return void 0===u||null==(n=r(u)[i])?t:o(n)}},3429:function(e,t,n){var r=n(7293);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},8710:function(e,t,n){var r=n(1702),o=n(9303),i=n(1340),u=n(4488),a=r("".charAt),c=r("".charCodeAt),s=r("".slice),f=function(e){return function(t,n){var r,f,l=i(u(t)),h=o(n),p=l.length;return h<0||h>=p?e?"":void 0:(r=c(l,h))<55296||r>56319||h+1===p||(f=c(l,h+1))<56320||f>57343?e?a(l,h):r:e?s(l,h,h+2):f-56320+(r-55296<<10)+65536}};e.exports={codeAt:f(!1),charAt:f(!0)}},3197:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=2147483647,u=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,c="Overflow: input needs wider integers to process",s=r.RangeError,f=o(a.exec),l=Math.floor,h=String.fromCharCode,p=o("".charCodeAt),d=o([].join),y=o([].push),v=o("".replace),g=o("".split),_=o("".toLowerCase),m=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?l(e/700):e>>1,e+=l(e/t);e>455;r+=36)e=l(e/35);return l(r+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=p(e,n++);if(o>=55296&&o<=56319&&n<r){var i=p(e,n++);56320==(64512&i)?y(t,((1023&o)<<10)+(1023&i)+65536):(y(t,o),n--)}else y(t,o)}return t}(e);var n,r,o=e.length,u=128,a=0,f=72;for(n=0;n<e.length;n++)(r=e[n])<128&&y(t,h(r));var v=t.length,g=v;for(v&&y(t,"-");g<o;){var _=i;for(n=0;n<e.length;n++)(r=e[n])>=u&&r<_&&(_=r);var w=g+1;if(_-u>l((i-a)/w))throw s(c);for(a+=(_-u)*w,u=_,n=0;n<e.length;n++){if((r=e[n])<u&&++a>i)throw s(c);if(r==u){for(var k=a,x=36;;x+=36){var j=x<=f?1:x>=f+26?26:x-f;if(k<j)break;var S=k-j,O=36-j;y(t,h(m(j+S%O))),k=l(S/O)}y(t,h(m(k))),f=b(a,w,g==v),a=0,++g}}++a,++u}return d(t,"")};e.exports=function(e){var t,n,r=[],o=g(v(_(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],y(r,f(u,n)?"xn--"+w(n):n);return d(r,".")}},8415:function(e,t,n){"use strict";var r=n(7854),o=n(9303),i=n(1340),u=n(4488),a=r.RangeError;e.exports=function(e){var t=i(u(this)),n="",r=o(e);if(r<0||r==1/0)throw a("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}},3111:function(e,t,n){var r=n(1702),o=n(4488),i=n(1340),u=n(1361),a=r("".replace),c="["+u+"]",s=RegExp("^"+c+c+"*"),f=RegExp(c+c+"*$"),l=function(e){return function(t){var n=i(o(t));return 1&e&&(n=a(n,s,"")),2&e&&(n=a(n,f,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},261:function(e,t,n){var r,o,i,u,a=n(7854),c=n(2104),s=n(9974),f=n(614),l=n(2597),h=n(7293),p=n(490),d=n(206),y=n(317),v=n(6833),g=n(5268),_=a.setImmediate,m=a.clearImmediate,b=a.process,w=a.Dispatch,k=a.Function,x=a.MessageChannel,j=a.String,S=0,O={},A="onreadystatechange";try{r=a.location}catch(e){}var E=function(e){if(l(O,e)){var t=O[e];delete O[e],t()}},T=function(e){return function(){E(e)}},M=function(e){E(e.data)},P=function(e){a.postMessage(j(e),r.protocol+"//"+r.host)};_&&m||(_=function(e){var t=d(arguments,1);return O[++S]=function(){c(f(e)?e:k(e),void 0,t)},o(S),S},m=function(e){delete O[e]},g?o=function(e){b.nextTick(T(e))}:w&&w.now?o=function(e){w.now(T(e))}:x&&!v?(u=(i=new x).port2,i.port1.onmessage=M,o=s(u.postMessage,u)):a.addEventListener&&f(a.postMessage)&&!a.importScripts&&r&&"file:"!==r.protocol&&!h(P)?(o=P,a.addEventListener("message",M,!1)):o=A in y("script")?function(e){p.appendChild(y("script")).onreadystatechange=function(){p.removeChild(this),E(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:_,clear:m}},863:function(e,t,n){var r=n(1702);e.exports=r(1..valueOf)},1400:function(e,t,n){var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},7067:function(e,t,n){var r=n(7854),o=n(9303),i=n(7466),u=r.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=o(e),n=i(t);if(t!==n)throw u("Wrong length or index");return n}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},7466:function(e,t,n){var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(7854),o=n(4488),i=r.Object;e.exports=function(e){return i(o(e))}},4590:function(e,t,n){var r=n(7854),o=n(3002),i=r.RangeError;e.exports=function(e,t){var n=o(e);if(n%t)throw i("Wrong offset");return n}},3002:function(e,t,n){var r=n(7854),o=n(9303),i=r.RangeError;e.exports=function(e){var t=o(e);if(t<0)throw i("The argument can't be less than 0");return t}},7593:function(e,t,n){var r=n(7854),o=n(6916),i=n(111),u=n(2190),a=n(8173),c=n(2140),s=n(5112),f=r.TypeError,l=s("toPrimitive");e.exports=function(e,t){if(!i(e)||u(e))return e;var n,r=a(e,l);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||u(n))return n;throw f("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},4948:function(e,t,n){var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},1340:function(e,t,n){var r=n(7854),o=n(648),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},6330:function(e,t,n){var r=n(7854).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},9843:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(6916),u=n(9781),a=n(3832),c=n(260),s=n(3331),f=n(5787),l=n(9114),h=n(8880),p=n(5988),d=n(7466),y=n(7067),v=n(4590),g=n(4948),_=n(2597),m=n(648),b=n(111),w=n(2190),k=n(30),x=n(7976),j=n(7674),S=n(8006).f,O=n(7321),A=n(2092).forEach,E=n(6340),T=n(3070),M=n(1236),P=n(9909),L=n(9587),I=P.get,C=P.set,R=T.f,N=M.f,F=Math.round,D=o.RangeError,q=s.ArrayBuffer,U=q.prototype,B=s.DataView,J=c.NATIVE_ARRAY_BUFFER_VIEWS,G=c.TYPED_ARRAY_CONSTRUCTOR,V=c.TYPED_ARRAY_TAG,$=c.TypedArray,H=c.TypedArrayPrototype,W=c.aTypedArrayConstructor,z=c.isTypedArray,Y="BYTES_PER_ELEMENT",X="Wrong length",K=function(e,t){W(e);for(var n=0,r=t.length,o=new e(r);r>n;)o[n]=t[n++];return o},Z=function(e,t){R(e,t,{get:function(){return I(this)[t]}})},Q=function(e){var t;return x(U,e)||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},ee=function(e,t){return z(e)&&!w(t)&&t in e&&p(+t)&&t>=0},te=function(e,t){return t=g(t),ee(e,t)?l(2,e[t]):N(e,t)},ne=function(e,t,n){return t=g(t),!(ee(e,t)&&b(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?R(e,t,n):(e[t]=n.value,e)};u?(J||(M.f=te,T.f=ne,Z(H,"buffer"),Z(H,"byteOffset"),Z(H,"byteLength"),Z(H,"length")),r({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:te,defineProperty:ne}),e.exports=function(e,t,n){var u=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",s="get"+e,l="set"+e,p=o[c],g=p,_=g&&g.prototype,m={},w=function(e,t){R(e,t,{get:function(){return function(e,t){var n=I(e);return n.view[s](t*u+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=I(e);n&&(r=(r=F(r))<0?0:r>255?255:255&r),o.view[l](t*u+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};J?a&&(g=t((function(e,t,n,r){return f(e,_),L(b(t)?Q(t)?void 0!==r?new p(t,v(n,u),r):void 0!==n?new p(t,v(n,u)):new p(t):z(t)?K(g,t):i(O,g,t):new p(y(t)),e,g)})),j&&j(g,$),A(S(p),(function(e){e in g||h(g,e,p[e])})),g.prototype=_):(g=t((function(e,t,n,r){f(e,_);var o,a,c,s=0,l=0;if(b(t)){if(!Q(t))return z(t)?K(g,t):i(O,g,t);o=t,l=v(n,u);var h=t.byteLength;if(void 0===r){if(h%u)throw D(X);if((a=h-l)<0)throw D(X)}else if((a=d(r)*u)+l>h)throw D(X);c=a/u}else c=y(t),o=new q(a=c*u);for(C(e,{buffer:o,byteOffset:l,byteLength:a,length:c,view:new B(o)});s<c;)w(e,s++)})),j&&j(g,$),_=g.prototype=k(H)),_.constructor!==g&&h(_,"constructor",g),h(_,G,g),V&&h(_,V,c),m[c]=g,r({global:!0,forced:g!=p,sham:!J},m),Y in g||h(g,Y,u),Y in _||h(_,Y,u),E(c)}):e.exports=function(){}},3832:function(e,t,n){var r=n(7854),o=n(7293),i=n(7072),u=n(260).NATIVE_ARRAY_BUFFER_VIEWS,a=r.ArrayBuffer,c=r.Int8Array;e.exports=!u||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new a(2),1,void 0).length}))},3074:function(e,t,n){var r=n(7745),o=n(6304);e.exports=function(e,t){return r(o(e),t)}},7321:function(e,t,n){var r=n(9974),o=n(6916),i=n(9483),u=n(7908),a=n(6244),c=n(8554),s=n(1246),f=n(7659),l=n(260).aTypedArrayConstructor;e.exports=function(e){var t,n,h,p,d,y,v=i(this),g=u(e),_=arguments.length,m=_>1?arguments[1]:void 0,b=void 0!==m,w=s(g);if(w&&!f(w))for(y=(d=c(g,w)).next,g=[];!(p=o(y,d)).done;)g.push(p.value);for(b&&_>2&&(m=r(m,arguments[2])),n=a(g),h=new(l(v))(n),t=0;n>t;t++)h[t]=b?m(g[t],t):g[t];return h}},6304:function(e,t,n){var r=n(260),o=n(6707),i=r.TYPED_ARRAY_CONSTRUCTOR,u=r.aTypedArrayConstructor;e.exports=function(e){return u(o(e,e[i]))}},9711:function(e,t,n){var r=n(1702),o=0,i=Math.random(),u=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+u(++o+i,36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},6061:function(e,t,n){var r=n(5112);t.f=r},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(2597),u=n(9711),a=n(133),c=n(3307),s=o("wks"),f=r.Symbol,l=f&&f.for,h=c?f:f&&f.withoutSetter||u;e.exports=function(e){if(!i(s,e)||!a&&"string"!=typeof s[e]){var t="Symbol."+e;a&&i(f,e)?s[e]=f[e]:s[e]=c&&l?l(t):h(t)}return s[e]}},1361:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},2222:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(7293),u=n(3157),a=n(111),c=n(7908),s=n(6244),f=n(6135),l=n(5417),h=n(1194),p=n(5112),d=n(7392),y=p("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",_=o.TypeError,m=d>=51||!i((function(){var e=[];return e[y]=!1,e.concat()[0]!==e})),b=h("concat"),w=function(e){if(!a(e))return!1;var t=e[y];return void 0!==t?!!t:u(e)};r({target:"Array",proto:!0,forced:!m||!b},{concat:function(e){var t,n,r,o,i,u=c(this),a=l(u,0),h=0;for(t=-1,r=arguments.length;t<r;t++)if(w(i=-1===t?u:arguments[t])){if(h+(o=s(i))>v)throw _(g);for(n=0;n<o;n++,h++)n in i&&f(a,h,i[n])}else{if(h>=v)throw _(g);f(a,h++,i)}return a.length=h,a}})},3290:function(e,t,n){var r=n(2109),o=n(1285),i=n(1223);r({target:"Array",proto:!0},{fill:o}),i("fill")},7327:function(e,t,n){"use strict";var r=n(2109),o=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},4553:function(e,t,n){"use strict";var r=n(2109),o=n(2092).findIndex,i=n(1223),u="findIndex",a=!0;u in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(u)},9826:function(e,t,n){"use strict";var r=n(2109),o=n(2092).find,i=n(1223),u="find",a=!0;u in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(u)},1038:function(e,t,n){var r=n(2109),o=n(8457);r({target:"Array",stat:!0,forced:!n(7072)((function(e){Array.from(e)}))},{from:o})},6699:function(e,t,n){"use strict";var r=n(2109),o=n(1318).includes,i=n(1223);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},6992:function(e,t,n){"use strict";var r=n(5656),o=n(1223),i=n(7497),u=n(9909),a=n(654),c="Array Iterator",s=u.set,f=u.getterFor(c);e.exports=a(Array,"Array",(function(e,t){s(this,{type:c,target:r(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},9600:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(8361),u=n(5656),a=n(9341),c=o([].join),s=i!=Object,f=a("join",",");r({target:"Array",proto:!0,forced:s||!f},{join:function(e){return c(u(this),void 0===e?",":e)}})},1249:function(e,t,n){"use strict";var r=n(2109),o=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},7042:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(3157),u=n(4411),a=n(111),c=n(1400),s=n(6244),f=n(5656),l=n(6135),h=n(5112),p=n(1194),d=n(206),y=p("slice"),v=h("species"),g=o.Array,_=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(e,t){var n,r,o,h=f(this),p=s(h),y=c(e,p),m=c(void 0===t?p:t,p);if(i(h)&&(n=h.constructor,(u(n)&&(n===g||i(n.prototype))||a(n)&&null===(n=n[v]))&&(n=void 0),n===g||void 0===n))return d(h,y,m);for(r=new(void 0===n?g:n)(_(m-y,0)),o=0;y<m;y++,o++)y in h&&l(r,o,h[y]);return r.length=o,r}})},2707:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(9662),u=n(7908),a=n(6244),c=n(1340),s=n(7293),f=n(4362),l=n(9341),h=n(8886),p=n(256),d=n(7392),y=n(8008),v=[],g=o(v.sort),_=o(v.push),m=s((function(){v.sort(void 0)})),b=s((function(){v.sort(null)})),w=l("sort"),k=!s((function(){if(d)return d<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)v.push({k:t+r,v:n})}for(v.sort((function(e,t){return t.v-e.v})),r=0;r<v.length;r++)t=v[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:m||!b||!w||!k},{sort:function(e){void 0!==e&&i(e);var t=u(this);if(k)return void 0===e?g(t):g(t,e);var n,r,o=[],s=a(t);for(r=0;r<s;r++)r in t&&_(o,t[r]);for(f(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=o.length,r=0;r<n;)t[r]=o[r++];for(;r<s;)delete t[r++];return t}})},561:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(1400),u=n(9303),a=n(6244),c=n(7908),s=n(5417),f=n(6135),l=n(1194)("splice"),h=o.TypeError,p=Math.max,d=Math.min,y=9007199254740991,v="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!l},{splice:function(e,t){var n,r,o,l,g,_,m=c(this),b=a(m),w=i(e,b),k=arguments.length;if(0===k?n=r=0:1===k?(n=0,r=b-w):(n=k-2,r=d(p(u(t),0),b-w)),b+n-r>y)throw h(v);for(o=s(m,r),l=0;l<r;l++)(g=w+l)in m&&f(o,l,m[g]);if(o.length=r,n<r){for(l=w;l<b-r;l++)_=l+n,(g=l+r)in m?m[_]=m[g]:delete m[_];for(l=b;l>b-r+n;l--)delete m[l-1]}else if(n>r)for(l=b-r;l>w;l--)_=l+n-1,(g=l+r-1)in m?m[_]=m[g]:delete m[_];for(l=0;l<n;l++)m[l+w]=arguments[l+2];return m.length=b-r+n,o}})},8309:function(e,t,n){var r=n(9781),o=n(6530).EXISTS,i=n(1702),u=n(3070).f,a=Function.prototype,c=i(a.toString),s=/^\s*function ([^ (]*)/,f=i(s.exec);r&&!o&&u(a,"name",{configurable:!0,get:function(){try{return f(s,c(this))[1]}catch(e){return""}}})},1532:function(e,t,n){"use strict";n(7710)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},5438:function(e,t,n){var r=n(2109),o=Math.hypot,i=Math.abs,u=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,a=0,c=arguments.length,s=0;a<c;)s<(n=i(arguments[a++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*u(o)}})},3689:function(e,t,n){var r=n(2109),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},9653:function(e,t,n){"use strict";var r=n(9781),o=n(7854),i=n(1702),u=n(4705),a=n(1320),c=n(2597),s=n(9587),f=n(7976),l=n(2190),h=n(7593),p=n(7293),d=n(8006).f,y=n(1236).f,v=n(3070).f,g=n(863),_=n(3111).trim,m="Number",b=o.Number,w=b.prototype,k=o.TypeError,x=i("".slice),j=i("".charCodeAt),S=function(e){var t=h(e,"number");return"bigint"==typeof t?t:O(t)},O=function(e){var t,n,r,o,i,u,a,c,s=h(e,"number");if(l(s))throw k("Cannot convert a Symbol value to a number");if("string"==typeof s&&s.length>2)if(s=_(s),43===(t=j(s,0))||45===t){if(88===(n=j(s,2))||120===n)return NaN}else if(48===t){switch(j(s,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(u=(i=x(s,2)).length,a=0;a<u;a++)if((c=j(i,a))<48||c>o)return NaN;return parseInt(i,r)}return+s};if(u(m,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var A,E=function(e){var t=arguments.length<1?0:b(S(e)),n=this;return f(w,n)&&p((function(){g(n)}))?s(Object(t),n,E):t},T=r?d(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),M=0;T.length>M;M++)c(b,A=T[M])&&!c(E,A)&&v(E,A,y(b,A));E.prototype=w,w.constructor=E,a(o,m,E)}},9601:function(e,t,n){var r=n(2109),o=n(1574);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},9720:function(e,t,n){var r=n(2109),o=n(4699).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},5003:function(e,t,n){var r=n(2109),o=n(7293),i=n(5656),u=n(1236).f,a=n(9781),c=o((function(){u(1)}));r({target:"Object",stat:!0,forced:!a||c,sham:!a},{getOwnPropertyDescriptor:function(e,t){return u(i(e),t)}})},9337:function(e,t,n){var r=n(2109),o=n(9781),i=n(3887),u=n(5656),a=n(1236),c=n(6135);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=u(e),o=a.f,s=i(r),f={},l=0;s.length>l;)void 0!==(n=o(r,t=s[l++]))&&c(f,t,n);return f}})},489:function(e,t,n){var r=n(2109),o=n(7293),i=n(7908),u=n(9518),a=n(8544);r({target:"Object",stat:!0,forced:o((function(){u(1)})),sham:!a},{getPrototypeOf:function(e){return u(i(e))}})},7941:function(e,t,n){var r=n(2109),o=n(7908),i=n(1956);r({target:"Object",stat:!0,forced:n(7293)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},1539:function(e,t,n){var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},7727:function(e,t,n){"use strict";var r=n(2109),o=n(1913),i=n(3366),u=n(7293),a=n(5005),c=n(614),s=n(6707),f=n(9478),l=n(1320);if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&u((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,a("Promise")),n=c(e);return this.then(n?function(n){return f(t,e()).then((function(){return n}))}:e,n?function(n){return f(t,e()).then((function(){throw n}))}:e)}}),!o&&c(i)){var h=a("Promise").prototype.finally;i.prototype.finally!==h&&l(i.prototype,"finally",h,{unsafe:!0})}},8674:function(e,t,n){"use strict";var r,o,i,u,a=n(2109),c=n(1913),s=n(7854),f=n(5005),l=n(6916),h=n(3366),p=n(1320),d=n(2248),y=n(7674),v=n(8003),g=n(6340),_=n(9662),m=n(614),b=n(111),w=n(5787),k=n(2788),x=n(408),j=n(7072),S=n(6707),O=n(261).set,A=n(5948),E=n(9478),T=n(842),M=n(8523),P=n(2534),L=n(9909),I=n(4705),C=n(5112),R=n(7871),N=n(5268),F=n(7392),D=C("species"),q="Promise",U=L.get,B=L.set,J=L.getterFor(q),G=h&&h.prototype,V=h,$=G,H=s.TypeError,W=s.document,z=s.process,Y=M.f,X=Y,K=!!(W&&W.createEvent&&s.dispatchEvent),Z=m(s.PromiseRejectionEvent),Q="unhandledrejection",ee=!1,te=I(q,(function(){var e=k(V),t=e!==String(V);if(!t&&66===F)return!0;if(c&&!$.finally)return!0;if(F>=51&&/native code/.test(e))return!1;var n=new V((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[D]=r,!(ee=n.then((function(){}))instanceof r)||!t&&R&&!Z})),ne=te||!j((function(e){V.all(e).catch((function(){}))})),re=function(e){var t;return!(!b(e)||!m(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;A((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var u,a,c,s=n[i++],f=o?s.ok:s.fail,h=s.resolve,p=s.reject,d=s.domain;try{f?(o||(2===e.rejection&&ce(e),e.rejection=1),!0===f?u=r:(d&&d.enter(),u=f(r),d&&(d.exit(),c=!0)),u===s.promise?p(H("Promise-chain cycle")):(a=re(u))?l(a,u,h,p):h(u)):p(r)}catch(e){d&&!c&&d.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ue(e)}))}},ie=function(e,t,n){var r,o;K?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),s.dispatchEvent(r)):r={promise:t,reason:n},!Z&&(o=s["on"+e])?o(r):e===Q&&T("Unhandled promise rejection",n)},ue=function(e){l(O,s,(function(){var t,n=e.facade,r=e.value;if(ae(e)&&(t=P((function(){N?z.emit("unhandledRejection",r,n):ie(Q,n,r)})),e.rejection=N||ae(e)?2:1,t.error))throw t.value}))},ae=function(e){return 1!==e.rejection&&!e.parent},ce=function(e){l(O,s,(function(){var t=e.facade;N?z.emit("rejectionHandled",t):ie("rejectionhandled",t,e.value)}))},se=function(e,t,n){return function(r){e(t,r,n)}},fe=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,oe(e,!0))},le=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw H("Promise can't be resolved itself");var r=re(t);r?A((function(){var n={done:!1};try{l(r,t,se(le,n,e),se(fe,n,e))}catch(t){fe(n,t,e)}})):(e.value=t,e.state=1,oe(e,!1))}catch(t){fe({done:!1},t,e)}}};if(te&&($=(V=function(e){w(this,$),_(e),l(r,this);var t=U(this);try{e(se(le,t),se(fe,t))}catch(e){fe(t,e)}}).prototype,(r=function(e){B(this,{type:q,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d($,{then:function(e,t){var n=J(this),r=n.reactions,o=Y(S(this,V));return o.ok=!m(e)||e,o.fail=m(t)&&t,o.domain=N?z.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&oe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=U(e);this.promise=e,this.resolve=se(le,t),this.reject=se(fe,t)},M.f=Y=function(e){return e===V||e===i?new o(e):X(e)},!c&&m(h)&&G!==Object.prototype)){u=G.then,ee||(p(G,"then",(function(e,t){var n=this;return new V((function(e,t){l(u,n,e,t)})).then(e,t)}),{unsafe:!0}),p(G,"catch",$.catch,{unsafe:!0}));try{delete G.constructor}catch(e){}y&&y(G,$)}a({global:!0,wrap:!0,forced:te},{Promise:V}),v(V,q,!1,!0),g(q),i=f(q),a({target:q,stat:!0,forced:te},{reject:function(e){var t=Y(this);return l(t.reject,void 0,e),t.promise}}),a({target:q,stat:!0,forced:c||te},{resolve:function(e){return E(c&&this===i?V:this,e)}}),a({target:q,stat:!0,forced:ne},{all:function(e){var t=this,n=Y(t),r=n.resolve,o=n.reject,i=P((function(){var n=_(t.resolve),i=[],u=0,a=1;x(e,(function(e){var c=u++,s=!1;a++,l(n,t,e).then((function(e){s||(s=!0,i[c]=e,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Y(t),r=n.reject,o=P((function(){var o=_(t.resolve);x(e,(function(e){l(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},2419:function(e,t,n){var r=n(2109),o=n(5005),i=n(2104),u=n(7065),a=n(9483),c=n(9670),s=n(111),f=n(30),l=n(7293),h=o("Reflect","construct"),p=Object.prototype,d=[].push,y=l((function(){function e(){}return!(h((function(){}),[],e)instanceof e)})),v=!l((function(){h((function(){}))})),g=y||v;r({target:"Reflect",stat:!0,forced:g,sham:g},{construct:function(e,t){a(e),c(t);var n=arguments.length<3?e:a(arguments[2]);if(v&&!y)return h(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return i(d,r,t),new(i(u,e,r))}var o=n.prototype,l=f(s(o)?o:p),g=i(e,l,t);return s(g)?g:l}})},4603:function(e,t,n){var r=n(9781),o=n(7854),i=n(1702),u=n(4705),a=n(9587),c=n(8880),s=n(3070).f,f=n(8006).f,l=n(7976),h=n(7850),p=n(1340),d=n(7066),y=n(2999),v=n(1320),g=n(7293),_=n(2597),m=n(9909).enforce,b=n(6340),w=n(5112),k=n(9441),x=n(7168),j=w("match"),S=o.RegExp,O=S.prototype,A=o.SyntaxError,E=i(d),T=i(O.exec),M=i("".charAt),P=i("".replace),L=i("".indexOf),I=i("".slice),C=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,N=/a/g,F=new S(R)!==R,D=y.UNSUPPORTED_Y,q=r&&(!F||D||k||x||g((function(){return N[j]=!1,S(R)!=R||S(N)==N||"/a/i"!=S(R,"i")})));if(u("RegExp",q)){for(var U=function(e,t){var n,r,o,i,u,s,f=l(O,this),d=h(e),y=void 0===t,v=[],g=e;if(!f&&d&&y&&e.constructor===U)return e;if((d||l(O,e))&&(e=e.source,y&&(t="flags"in g?g.flags:E(g))),e=void 0===e?"":p(e),t=void 0===t?"":p(t),g=e,k&&"dotAll"in R&&(r=!!t&&L(t,"s")>-1)&&(t=P(t,/s/g,"")),n=t,D&&"sticky"in R&&(o=!!t&&L(t,"y")>-1)&&(t=P(t,/y/g,"")),x&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],u={},a=!1,c=!1,s=0,f="";r<=n;r++){if("\\"===(t=M(e,r)))t+=M(e,++r);else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:T(C,I(e,r+1))&&(r+=2,c=!0),o+=t,s++;continue;case">"===t&&c:if(""===f||_(u,f))throw new A("Invalid capture group name");u[f]=!0,i[i.length]=[f,s],c=!1,f="";continue}c?f+=t:o+=t}return[o,i]}(e),e=i[0],v=i[1]),u=a(S(e,t),f?this:O,U),(r||o||v.length)&&(s=m(u),r&&(s.dotAll=!0,s.raw=U(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=M(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+M(e,++r);return o}(e),n)),o&&(s.sticky=!0),v.length&&(s.groups=v)),e!==g)try{c(u,"source",""===g?"(?:)":g)}catch(e){}return u},B=function(e){e in U||s(U,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},J=f(S),G=0;J.length>G;)B(J[G++]);O.constructor=U,U.prototype=O,v(o,"RegExp",U)}b("RegExp")},4916:function(e,t,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(e,t,n){"use strict";var r=n(1702),o=n(6530).PROPER,i=n(1320),u=n(9670),a=n(7976),c=n(1340),s=n(7293),f=n(7066),l="toString",h=RegExp.prototype,p=h.toString,d=r(f),y=s((function(){return"/a/b"!=p.call({source:"a",flags:"b"})})),v=o&&p.name!=l;(y||v)&&i(RegExp.prototype,l,(function(){var e=u(this),t=c(e.source),n=e.flags;return"/"+t+"/"+c(void 0===n&&a(h,e)&&!("flags"in h)?d(e):n)}),{unsafe:!0})},189:function(e,t,n){"use strict";n(7710)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(5631))},915:function(e,t,n){"use strict";var r=n(2109),o=n(4230);r({target:"String",proto:!0,forced:n(3429)("bold")},{bold:function(){return o(this,"b","","")}})},9841:function(e,t,n){"use strict";var r=n(2109),o=n(8710).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},7852:function(e,t,n){"use strict";var r,o=n(2109),i=n(1702),u=n(1236).f,a=n(7466),c=n(1340),s=n(3929),f=n(4488),l=n(4964),h=n(1913),p=i("".endsWith),d=i("".slice),y=Math.min,v=l("endsWith");o({target:"String",proto:!0,forced:!!(h||v||(r=u(String.prototype,"endsWith"),!r||r.writable))&&!v},{endsWith:function(e){var t=c(f(this));s(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:y(a(n),r),i=c(e);return p?p(t,i,o):d(t,o-i.length,o)===i}})},4953:function(e,t,n){var r=n(2109),o=n(7854),i=n(1702),u=n(1400),a=o.RangeError,c=String.fromCharCode,s=String.fromCodePoint,f=i([].join);r({target:"String",stat:!0,forced:!!s&&1!=s.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],u(t,1114111)!==t)throw a(t+" is not a valid code point");n[o]=t<65536?c(t):c(55296+((t-=65536)>>10),t%1024+56320)}return f(n,"")}})},2023:function(e,t,n){"use strict";var r=n(2109),o=n(1702),i=n(3929),u=n(4488),a=n(1340),c=n(4964),s=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~s(a(u(this)),a(i(e)),arguments.length>1?arguments[1]:void 0)}})},8783:function(e,t,n){"use strict";var r=n(8710).charAt,o=n(1340),i=n(9909),u=n(654),a="String Iterator",c=i.set,s=i.getterFor(a);u(String,"String",(function(e){c(this,{type:a,string:o(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:function(e,t,n){"use strict";var r=n(6916),o=n(7007),i=n(9670),u=n(7466),a=n(1340),c=n(4488),s=n(8173),f=n(1530),l=n(7651);o("match",(function(e,t,n){return[function(t){var n=c(this),o=null==t?void 0:s(t,e);return o?r(o,t,n):new RegExp(t)[e](a(n))},function(e){var r=i(this),o=a(e),c=n(t,r,o);if(c.done)return c.value;if(!r.global)return l(r,o);var s=r.unicode;r.lastIndex=0;for(var h,p=[],d=0;null!==(h=l(r,o));){var y=a(h[0]);p[d]=y,""===y&&(r.lastIndex=f(o,u(r.lastIndex),s)),d++}return 0===d?null:p}]}))},2481:function(e,t,n){n(2109)({target:"String",proto:!0},{repeat:n(8415)})},8757:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(6916),u=n(1702),a=n(4488),c=n(614),s=n(7850),f=n(1340),l=n(8173),h=n(7066),p=n(647),d=n(5112),y=n(1913),v=d("replace"),g=RegExp.prototype,_=o.TypeError,m=u(h),b=u("".indexOf),w=u("".replace),k=u("".slice),x=Math.max,j=function(e,t,n){return n>e.length?-1:""===t?n:b(e,t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,o,u,h,d,S,O,A,E=a(this),T=0,M=0,P="";if(null!=e){if((n=s(e))&&(r=f(a("flags"in g?e.flags:m(e))),!~b(r,"g")))throw _("`.replaceAll` does not allow non-global regexes");if(o=l(e,v))return i(o,e,E,t);if(y&&n)return w(f(E),e,t)}for(u=f(E),h=f(e),(d=c(t))||(t=f(t)),S=h.length,O=x(1,S),T=j(u,h,0);-1!==T;)A=d?f(t(h,T,u)):p(h,u,T,[],void 0,t),P+=k(u,M,T)+A,M=T+S,T=j(u,h,T+O);return M<u.length&&(P+=k(u,M)),P}})},5306:function(e,t,n){"use strict";var r=n(2104),o=n(6916),i=n(1702),u=n(7007),a=n(7293),c=n(9670),s=n(614),f=n(9303),l=n(7466),h=n(1340),p=n(4488),d=n(1530),y=n(8173),v=n(647),g=n(7651),_=n(5112)("replace"),m=Math.max,b=Math.min,w=i([].concat),k=i([].push),x=i("".indexOf),j=i("".slice),S="$0"==="a".replace(/./,"$0"),O=!!/./[_]&&""===/./[_]("a","$0");u("replace",(function(e,t,n){var i=O?"$":"$0";return[function(e,n){var r=p(this),i=null==e?void 0:y(e,_);return i?o(i,e,r,n):o(t,h(r),e,n)},function(e,o){var u=c(this),a=h(e);if("string"==typeof o&&-1===x(o,i)&&-1===x(o,"$<")){var p=n(t,u,a,o);if(p.done)return p.value}var y=s(o);y||(o=h(o));var _=u.global;if(_){var S=u.unicode;u.lastIndex=0}for(var O=[];;){var A=g(u,a);if(null===A)break;if(k(O,A),!_)break;""===h(A[0])&&(u.lastIndex=d(a,l(u.lastIndex),S))}for(var E,T="",M=0,P=0;P<O.length;P++){for(var L=h((A=O[P])[0]),I=m(b(f(A.index),a.length),0),C=[],R=1;R<A.length;R++)k(C,void 0===(E=A[R])?E:String(E));var N=A.groups;if(y){var F=w([L],C,I,a);void 0!==N&&k(F,N);var D=h(r(o,void 0,F))}else D=v(L,a,I,C,N,o);I>=M&&(T+=j(a,M,I)+D,M=I+L.length)}return T+j(a,M)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||O)},3123:function(e,t,n){"use strict";var r=n(2104),o=n(6916),i=n(1702),u=n(7007),a=n(7850),c=n(9670),s=n(4488),f=n(6707),l=n(1530),h=n(7466),p=n(1340),d=n(8173),y=n(206),v=n(7651),g=n(2261),_=n(2999),m=n(7293),b=_.UNSUPPORTED_Y,w=4294967295,k=Math.min,x=[].push,j=i(/./.exec),S=i(x),O=i("".slice),A=!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));u("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=p(s(this)),u=void 0===n?w:n>>>0;if(0===u)return[];if(void 0===e)return[i];if(!a(e))return o(t,i,e,u);for(var c,f,l,h=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,_=new RegExp(e.source,d+"g");(c=o(g,_,i))&&!((f=_.lastIndex)>v&&(S(h,O(i,v,c.index)),c.length>1&&c.index<i.length&&r(x,h,y(c,1)),l=c[0].length,v=f,h.length>=u));)_.lastIndex===c.index&&_.lastIndex++;return v===i.length?!l&&j(_,"")||S(h,""):S(h,O(i,v)),h.length>u?y(h,0,u):h}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=s(this),u=null==t?void 0:d(t,e);return u?o(u,t,r,n):o(i,p(r),t,n)},function(e,r){var o=c(this),u=p(e),a=n(i,o,u,r,i!==t);if(a.done)return a.value;var s=f(o,RegExp),d=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(b?"g":"y"),g=new s(b?"^(?:"+o.source+")":o,y),_=void 0===r?w:r>>>0;if(0===_)return[];if(0===u.length)return null===v(g,u)?[u]:[];for(var m=0,x=0,j=[];x<u.length;){g.lastIndex=b?0:x;var A,E=v(g,b?O(u,x):u);if(null===E||(A=k(h(g.lastIndex+(b?x:0)),u.length))===m)x=l(u,x,d);else{if(S(j,O(u,m,x)),j.length===_)return j;for(var T=1;T<=E.length-1;T++)if(S(j,E[T]),j.length===_)return j;x=m=A}}return S(j,O(u,m)),j}]}),!A,b)},6755:function(e,t,n){"use strict";var r,o=n(2109),i=n(1702),u=n(1236).f,a=n(7466),c=n(1340),s=n(3929),f=n(4488),l=n(4964),h=n(1913),p=i("".startsWith),d=i("".slice),y=Math.min,v=l("startsWith");o({target:"String",proto:!0,forced:!!(h||v||(r=u(String.prototype,"startsWith"),!r||r.writable))&&!v},{startsWith:function(e){var t=c(f(this));s(e);var n=a(y(arguments.length>1?arguments[1]:void 0,t.length)),r=c(e);return p?p(t,r,n):d(t,n,n+r.length)===r}})},1817:function(e,t,n){"use strict";var r=n(2109),o=n(9781),i=n(7854),u=n(1702),a=n(2597),c=n(614),s=n(7976),f=n(1340),l=n(3070).f,h=n(9920),p=i.Symbol,d=p&&p.prototype;if(o&&c(p)&&(!("description"in d)||void 0!==p().description)){var y={},v=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),t=s(d,this)?new p(e):void 0===e?p():p(e);return""===e&&(y[t]=!0),t};h(v,p),v.prototype=d,d.constructor=v;var g="Symbol(test)"==String(p("test")),_=u(d.toString),m=u(d.valueOf),b=/^Symbol\((.*)\)[^)]+$/,w=u("".replace),k=u("".slice);l(d,"description",{configurable:!0,get:function(){var e=m(this),t=_(e);if(a(y,e))return"";var n=g?k(t,7,-1):w(t,b,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:v})}},2165:function(e,t,n){n(7235)("iterator")},2526:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(5005),u=n(2104),a=n(6916),c=n(1702),s=n(1913),f=n(9781),l=n(133),h=n(7293),p=n(2597),d=n(3157),y=n(614),v=n(111),g=n(7976),_=n(2190),m=n(9670),b=n(7908),w=n(5656),k=n(4948),x=n(1340),j=n(9114),S=n(30),O=n(1956),A=n(8006),E=n(1156),T=n(5181),M=n(1236),P=n(3070),L=n(5296),I=n(206),C=n(1320),R=n(2309),N=n(6200),F=n(3501),D=n(9711),q=n(5112),U=n(6061),B=n(7235),J=n(8003),G=n(9909),V=n(2092).forEach,$=N("hidden"),H="Symbol",W=q("toPrimitive"),z=G.set,Y=G.getterFor(H),X=Object.prototype,K=o.Symbol,Z=K&&K.prototype,Q=o.TypeError,ee=o.QObject,te=i("JSON","stringify"),ne=M.f,re=P.f,oe=E.f,ie=L.f,ue=c([].push),ae=R("symbols"),ce=R("op-symbols"),se=R("string-to-symbol-registry"),fe=R("symbol-to-string-registry"),le=R("wks"),he=!ee||!ee.prototype||!ee.prototype.findChild,pe=f&&h((function(){return 7!=S(re({},"a",{get:function(){return re(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=ne(X,t);r&&delete X[t],re(e,t,n),r&&e!==X&&re(X,t,r)}:re,de=function(e,t){var n=ae[e]=S(Z);return z(n,{type:H,tag:e,description:t}),f||(n.description=t),n},ye=function(e,t,n){e===X&&ye(ce,t,n),m(e);var r=k(t);return m(n),p(ae,r)?(n.enumerable?(p(e,$)&&e[$][r]&&(e[$][r]=!1),n=S(n,{enumerable:j(0,!1)})):(p(e,$)||re(e,$,j(1,{})),e[$][r]=!0),pe(e,r,n)):re(e,r,n)},ve=function(e,t){m(e);var n=w(t),r=O(n).concat(be(n));return V(r,(function(t){f&&!a(ge,n,t)||ye(e,t,n[t])})),e},ge=function(e){var t=k(e),n=a(ie,this,t);return!(this===X&&p(ae,t)&&!p(ce,t))&&(!(n||!p(this,t)||!p(ae,t)||p(this,$)&&this[$][t])||n)},_e=function(e,t){var n=w(e),r=k(t);if(n!==X||!p(ae,r)||p(ce,r)){var o=ne(n,r);return!o||!p(ae,r)||p(n,$)&&n[$][r]||(o.enumerable=!0),o}},me=function(e){var t=oe(w(e)),n=[];return V(t,(function(e){p(ae,e)||p(F,e)||ue(n,e)})),n},be=function(e){var t=e===X,n=oe(t?ce:w(e)),r=[];return V(n,(function(e){!p(ae,e)||t&&!p(X,e)||ue(r,ae[e])})),r};(l||(K=function(){if(g(Z,this))throw Q("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?x(arguments[0]):void 0,t=D(e),n=function(e){this===X&&a(n,ce,e),p(this,$)&&p(this[$],t)&&(this[$][t]=!1),pe(this,t,j(1,e))};return f&&he&&pe(X,t,{configurable:!0,set:n}),de(t,e)},C(Z=K.prototype,"toString",(function(){return Y(this).tag})),C(K,"withoutSetter",(function(e){return de(D(e),e)})),L.f=ge,P.f=ye,M.f=_e,A.f=E.f=me,T.f=be,U.f=function(e){return de(q(e),e)},f&&(re(Z,"description",{configurable:!0,get:function(){return Y(this).description}}),s||C(X,"propertyIsEnumerable",ge,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),V(O(le),(function(e){B(e)})),r({target:H,stat:!0,forced:!l},{for:function(e){var t=x(e);if(p(se,t))return se[t];var n=K(t);return se[t]=n,fe[n]=t,n},keyFor:function(e){if(!_(e))throw Q(e+" is not a symbol");if(p(fe,e))return fe[e]},useSetter:function(){he=!0},useSimple:function(){he=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!f},{create:function(e,t){return void 0===t?S(e):ve(S(e),t)},defineProperty:ye,defineProperties:ve,getOwnPropertyDescriptor:_e}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:me,getOwnPropertySymbols:be}),r({target:"Object",stat:!0,forced:h((function(){T.f(1)}))},{getOwnPropertySymbols:function(e){return T.f(b(e))}}),te)&&r({target:"JSON",stat:!0,forced:!l||h((function(){var e=K();return"[null]"!=te([e])||"{}"!=te({a:e})||"{}"!=te(Object(e))}))},{stringify:function(e,t,n){var r=I(arguments),o=t;if((v(t)||void 0!==e)&&!_(e))return d(t)||(t=function(e,t){if(y(o)&&(t=a(o,this,e,t)),!_(t))return t}),r[1]=t,u(te,null,r)}});if(!Z[W]){var we=Z.valueOf;C(Z,W,(function(e){return a(we,this)}))}J(K,H),F[$]=!0},2990:function(e,t,n){"use strict";var r=n(1702),o=n(260),i=r(n(1048)),u=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(u(this),e,t,arguments.length>2?arguments[2]:void 0)}))},8927:function(e,t,n){"use strict";var r=n(260),o=n(2092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3105:function(e,t,n){"use strict";var r=n(260),o=n(6916),i=n(1285),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return o(i,u(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},5035:function(e,t,n){"use strict";var r=n(260),o=n(2092).filter,i=n(3074),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(u(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:function(e,t,n){"use strict";var r=n(260),o=n(2092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4345:function(e,t,n){"use strict";var r=n(260),o=n(2092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2846:function(e,t,n){"use strict";var r=n(260),o=n(2092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4731:function(e,t,n){"use strict";var r=n(260),o=n(1318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},7209:function(e,t,n){"use strict";var r=n(260),o=n(1318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6319:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(6530).PROPER,u=n(260),a=n(6992),c=n(5112)("iterator"),s=r.Uint8Array,f=o(a.values),l=o(a.keys),h=o(a.entries),p=u.aTypedArray,d=u.exportTypedArrayMethod,y=s&&s.prototype[c],v=!!y&&"values"===y.name,g=function(){return f(p(this))};d("entries",(function(){return h(p(this))})),d("keys",(function(){return l(p(this))})),d("values",g,i&&!v),d(c,g,i&&!v)},8867:function(e,t,n){"use strict";var r=n(260),o=n(1702),i=r.aTypedArray,u=r.exportTypedArrayMethod,a=o([].join);u("join",(function(e){return a(i(this),e)}))},7789:function(e,t,n){"use strict";var r=n(260),o=n(2104),i=n(6583),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,u(this),t>1?[e,arguments[1]]:[e])}))},3739:function(e,t,n){"use strict";var r=n(260),o=n(2092).map,i=n(6304),u=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(u(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},4483:function(e,t,n){"use strict";var r=n(260),o=n(3671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},9368:function(e,t,n){"use strict";var r=n(260),o=n(3671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},2056:function(e,t,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,u=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=u(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(7854),o=n(260),i=n(6244),u=n(4590),a=n(7908),c=n(7293),s=r.RangeError,f=o.aTypedArray;(0,o.exportTypedArrayMethod)("set",(function(e){f(this);var t=u(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),o=i(r),c=0;if(o+t>n)throw s("Wrong length");for(;c<o;)this[t+c]=r[c++]}),c((function(){new Int8Array(1).set({})})))},678:function(e,t,n){"use strict";var r=n(260),o=n(6304),i=n(7293),u=n(206),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=u(a(this),e,t),r=o(this),i=0,c=n.length,s=new r(c);c>i;)s[i]=n[i++];return s}),i((function(){new Int8Array(1).slice()})))},7462:function(e,t,n){"use strict";var r=n(260),o=n(2092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3824:function(e,t,n){"use strict";var r=n(7854),o=n(1702),i=n(7293),u=n(9662),a=n(4362),c=n(260),s=n(8886),f=n(256),l=n(7392),h=n(8008),p=r.Array,d=c.aTypedArray,y=c.exportTypedArrayMethod,v=r.Uint16Array,g=v&&o(v.prototype.sort),_=!(!g||i((function(){g(new v(2),null)}))&&i((function(){g(new v(2),{})}))),m=!!g&&!i((function(){if(l)return l<74;if(s)return s<67;if(f)return!0;if(h)return h<602;var e,t,n=new v(516),r=p(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(g(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));y("sort",(function(e){return void 0!==e&&u(e),m?g(this,e):a(d(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!m||_)},5021:function(e,t,n){"use strict";var r=n(260),o=n(7466),i=n(1400),u=n(6304),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=a(this),r=n.length,c=i(e,r);return new(u(n))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},2974:function(e,t,n){"use strict";var r=n(7854),o=n(2104),i=n(260),u=n(7293),a=n(206),c=r.Int8Array,s=i.aTypedArray,f=i.exportTypedArrayMethod,l=[].toLocaleString,h=!!c&&u((function(){l.call(new c(1))}));f("toLocaleString",(function(){return o(l,h?a(s(this)):s(this),a(arguments))}),u((function(){return[1,2].toLocaleString()!=new c([1,2]).toLocaleString()}))||!u((function(){c.prototype.toLocaleString.call([1,2])})))},5016:function(e,t,n){"use strict";var r=n(260).exportTypedArrayMethod,o=n(7293),i=n(7854),u=n(1702),a=i.Uint8Array,c=a&&a.prototype||{},s=[].toString,f=u([].join);o((function(){s.call({})}))&&(s=function(){return f(this)});var l=c.toString!=s;r("toString",s,l)},2472:function(e,t,n){n(9843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},7207:function(e,t,n){n(8757)},4747:function(e,t,n){var r=n(7854),o=n(8324),i=n(8509),u=n(8533),a=n(8880),c=function(e){if(e&&e.forEach!==u)try{a(e,"forEach",u)}catch(t){e.forEach=u}};for(var s in o)o[s]&&c(r[s]&&r[s].prototype);c(i)},3948:function(e,t,n){var r=n(7854),o=n(8324),i=n(8509),u=n(6992),a=n(8880),c=n(5112),s=c("iterator"),f=c("toStringTag"),l=u.values,h=function(e,t){if(e){if(e[s]!==l)try{a(e,s,l)}catch(t){e[s]=l}if(e[f]||a(e,f,t),o[t])for(var n in u)if(e[n]!==u[n])try{a(e,n,u[n])}catch(t){e[n]=u[n]}}};for(var p in o)h(r[p]&&r[p].prototype,p);h(i,"DOMTokenList")},1637:function(e,t,n){"use strict";n(6992);var r=n(2109),o=n(7854),i=n(5005),u=n(6916),a=n(1702),c=n(590),s=n(1320),f=n(2248),l=n(8003),h=n(4994),p=n(9909),d=n(5787),y=n(614),v=n(2597),g=n(9974),_=n(648),m=n(9670),b=n(111),w=n(1340),k=n(30),x=n(9114),j=n(8554),S=n(1246),O=n(5112),A=n(4362),E=O("iterator"),T="URLSearchParams",M="URLSearchParamsIterator",P=p.set,L=p.getterFor(T),I=p.getterFor(M),C=i("fetch"),R=i("Request"),N=i("Headers"),F=R&&R.prototype,D=N&&N.prototype,q=o.RegExp,U=o.TypeError,B=o.decodeURIComponent,J=o.encodeURIComponent,G=a("".charAt),V=a([].join),$=a([].push),H=a("".replace),W=a([].shift),z=a([].splice),Y=a("".split),X=a("".slice),K=/\+/g,Z=Array(4),Q=function(e){return Z[e-1]||(Z[e-1]=q("((?:%[\\da-f]{2}){"+e+"})","gi"))},ee=function(e){try{return B(e)}catch(t){return e}},te=function(e){var t=H(e,K," "),n=4;try{return B(t)}catch(e){for(;n;)t=H(t,Q(n--),ee);return t}},ne=/[!'()~]|%20/g,re={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oe=function(e){return re[e]},ie=function(e){return H(J(e),ne,oe)},ue=function(e,t){if(t)for(var n,r,o=Y(t,"&"),i=0;i<o.length;)(n=o[i++]).length&&(r=Y(n,"="),$(e,{key:te(W(r)),value:te(V(r,"="))}))},ae=function(e){this.entries.length=0,ue(this.entries,e)},ce=function(e,t){if(e<t)throw U("Not enough arguments")},se=h((function(e,t){P(this,{type:M,iterator:j(L(e).entries),kind:t})}),"Iterator",(function(){var e=I(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),fe=function(){d(this,le);var e,t,n,r,o,i,a,c,s,f=arguments.length>0?arguments[0]:void 0,l=this,h=[];if(P(l,{type:T,entries:h,updateURL:function(){},updateSearchParams:ae}),void 0!==f)if(b(f))if(e=S(f))for(n=(t=j(f,e)).next;!(r=u(n,t)).done;){if(i=(o=j(m(r.value))).next,(a=u(i,o)).done||(c=u(i,o)).done||!u(i,o).done)throw U("Expected sequence with length 2");$(h,{key:w(a.value),value:w(c.value)})}else for(s in f)v(f,s)&&$(h,{key:s,value:w(f[s])});else ue(h,"string"==typeof f?"?"===G(f,0)?X(f,1):f:w(f))},le=fe.prototype;if(f(le,{append:function(e,t){ce(arguments.length,2);var n=L(this);$(n.entries,{key:w(e),value:w(t)}),n.updateURL()},delete:function(e){ce(arguments.length,1);for(var t=L(this),n=t.entries,r=w(e),o=0;o<n.length;)n[o].key===r?z(n,o,1):o++;t.updateURL()},get:function(e){ce(arguments.length,1);for(var t=L(this).entries,n=w(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){ce(arguments.length,1);for(var t=L(this).entries,n=w(e),r=[],o=0;o<t.length;o++)t[o].key===n&&$(r,t[o].value);return r},has:function(e){ce(arguments.length,1);for(var t=L(this).entries,n=w(e),r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){ce(arguments.length,1);for(var n,r=L(this),o=r.entries,i=!1,u=w(e),a=w(t),c=0;c<o.length;c++)(n=o[c]).key===u&&(i?z(o,c--,1):(i=!0,n.value=a));i||$(o,{key:u,value:a}),r.updateURL()},sort:function(){var e=L(this);A(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=L(this).entries,r=g(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new se(this,"keys")},values:function(){return new se(this,"values")},entries:function(){return new se(this,"entries")}},{enumerable:!0}),s(le,E,le.entries,{name:"entries"}),s(le,"toString",(function(){for(var e,t=L(this).entries,n=[],r=0;r<t.length;)e=t[r++],$(n,ie(e.key)+"="+ie(e.value));return V(n,"&")}),{enumerable:!0}),l(fe,T),r({global:!0,forced:!c},{URLSearchParams:fe}),!c&&y(N)){var he=a(D.has),pe=a(D.set),de=function(e){if(b(e)){var t,n=e.body;if(_(n)===T)return t=e.headers?new N(e.headers):new N,he(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:x(0,w(n)),headers:x(0,t)})}return e};if(y(C)&&r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return C(e,arguments.length>1?de(arguments[1]):{})}}),y(R)){var ye=function(e){return d(this,F),new R(e,arguments.length>1?de(arguments[1]):{})};F.constructor=ye,ye.prototype=F,r({global:!0,forced:!0},{Request:ye})}}e.exports={URLSearchParams:fe,getState:L}},285:function(e,t,n){"use strict";n(8783);var r,o=n(2109),i=n(9781),u=n(590),a=n(7854),c=n(9974),s=n(6916),f=n(1702),l=n(6048),h=n(1320),p=n(5787),d=n(2597),y=n(1574),v=n(8457),g=n(206),_=n(8710).codeAt,m=n(3197),b=n(1340),w=n(8003),k=n(1637),x=n(9909),j=x.set,S=x.getterFor("URL"),O=k.URLSearchParams,A=k.getState,E=a.URL,T=a.TypeError,M=a.parseInt,P=Math.floor,L=Math.pow,I=f("".charAt),C=f(/./.exec),R=f([].join),N=f(1..toString),F=f([].pop),D=f([].push),q=f("".replace),U=f([].shift),B=f("".split),J=f("".slice),G=f("".toLowerCase),V=f([].unshift),$="Invalid scheme",H="Invalid host",W="Invalid port",z=/[a-z]/i,Y=/[\d+-.a-z]/i,X=/\d/,K=/^0x/i,Z=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,oe=/[\t\n\r]/g,ie=function(e,t){var n,r,o;if("["==I(t,0)){if("]"!=I(t,t.length-1))return H;if(!(n=ae(J(t,1,-1))))return H;e.host=n}else if(ye(e)){if(t=m(t),C(te,t))return H;if(null===(n=ue(t)))return H;e.host=n}else{if(C(ne,t))return H;for(n="",r=v(t),o=0;o<r.length;o++)n+=pe(r[o],se);e.host=n}},ue=function(e){var t,n,r,o,i,u,a,c=B(e,".");if(c.length&&""==c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;if(i=10,o.length>1&&"0"==I(o,0)&&(i=C(K,o)?16:8,o=J(o,8==i?1:2)),""===o)u=0;else{if(!C(10==i?Q:8==i?Z:ee,o))return e;u=M(o,i)}D(n,u)}for(r=0;r<t;r++)if(u=n[r],r==t-1){if(u>=L(256,5-t))return null}else if(u>255)return null;for(a=F(n),r=0;r<n.length;r++)a+=n[r]*L(256,3-r);return a},ae=function(e){var t,n,r,o,i,u,a,c=[0,0,0,0,0,0,0,0],s=0,f=null,l=0,h=function(){return I(e,l)};if(":"==h()){if(":"!=I(e,1))return;l+=2,f=++s}for(;h();){if(8==s)return;if(":"!=h()){for(t=n=0;n<4&&C(ee,h());)t=16*t+M(h(),16),l++,n++;if("."==h()){if(0==n)return;if(l-=n,s>6)return;for(r=0;h();){if(o=null,r>0){if(!("."==h()&&r<4))return;l++}if(!C(X,h()))return;for(;C(X,h());){if(i=M(h(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}c[s]=256*c[s]+o,2!=++r&&4!=r||s++}if(4!=r)return;break}if(":"==h()){if(l++,!h())return}else if(h())return;c[s++]=t}else{if(null!==f)return;l++,f=++s}}if(null!==f)for(u=s-f,s=7;0!=s&&u>0;)a=c[s],c[s--]=c[f+u-1],c[f+--u]=a;else if(8!=s)return;return c},ce=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)V(t,e%256),e=P(e/256);return R(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=N(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},se={},fe=y({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),le=y({},fe,{"#":1,"?":1,"{":1,"}":1}),he=y({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var n=_(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},de={ftp:21,file:null,http:80,https:443,ws:80,wss:443},ye=function(e){return d(de,e.scheme)},ve=function(e){return""!=e.username||""!=e.password},ge=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},_e=function(e,t){var n;return 2==e.length&&C(z,I(e,0))&&(":"==(n=I(e,1))||!t&&"|"==n)},me=function(e){var t;return e.length>1&&_e(J(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},be=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&_e(t[0],!0)||t.length--},we=function(e){return"."===e||"%2e"===G(e)},ke={},xe={},je={},Se={},Oe={},Ae={},Ee={},Te={},Me={},Pe={},Le={},Ie={},Ce={},Re={},Ne={},Fe={},De={},qe={},Ue={},Be={},Je={},Ge=function(e,t,n,o){var i,u,a,c,s,f=n||ke,l=0,h="",p=!1,y=!1,_=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=q(t,re,"")),t=q(t,oe,""),i=v(t);l<=i.length;){switch(u=i[l],f){case ke:if(!u||!C(z,u)){if(n)return $;f=je;continue}h+=G(u),f=xe;break;case xe:if(u&&(C(Y,u)||"+"==u||"-"==u||"."==u))h+=G(u);else{if(":"!=u){if(n)return $;h="",f=je,l=0;continue}if(n&&(ye(e)!=d(de,h)||"file"==h&&(ve(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(ye(e)&&de[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?f=Re:ye(e)&&o&&o.scheme==e.scheme?f=Se:ye(e)?f=Te:"/"==i[l+1]?(f=Oe,l++):(e.cannotBeABaseURL=!0,D(e.path,""),f=Ue)}break;case je:if(!o||o.cannotBeABaseURL&&"#"!=u)return $;if(o.cannotBeABaseURL&&"#"==u){e.scheme=o.scheme,e.path=g(o.path),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,f=Je;break}f="file"==o.scheme?Re:Ae;continue;case Se:if("/"!=u||"/"!=i[l+1]){f=Ae;continue}f=Me,l++;break;case Oe:if("/"==u){f=Pe;break}f=qe;continue;case Ae:if(e.scheme=o.scheme,u==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.query=o.query;else if("/"==u||"\\"==u&&ye(e))f=Ee;else if("?"==u)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.query="",f=Be;else{if("#"!=u){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.path.length--,f=qe;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=g(o.path),e.query=o.query,e.fragment="",f=Je}break;case Ee:if(!ye(e)||"/"!=u&&"\\"!=u){if("/"!=u){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,f=qe;continue}f=Pe}else f=Me;break;case Te:if(f=Me,"/"!=u||"/"!=I(h,l+1))continue;l++;break;case Me:if("/"!=u&&"\\"!=u){f=Pe;continue}break;case Pe:if("@"==u){p&&(h="%40"+h),p=!0,a=v(h);for(var m=0;m<a.length;m++){var b=a[m];if(":"!=b||_){var w=pe(b,he);_?e.password+=w:e.username+=w}else _=!0}h=""}else if(u==r||"/"==u||"?"==u||"#"==u||"\\"==u&&ye(e)){if(p&&""==h)return"Invalid authority";l-=v(h).length+1,h="",f=Le}else h+=u;break;case Le:case Ie:if(n&&"file"==e.scheme){f=Fe;continue}if(":"!=u||y){if(u==r||"/"==u||"?"==u||"#"==u||"\\"==u&&ye(e)){if(ye(e)&&""==h)return H;if(n&&""==h&&(ve(e)||null!==e.port))return;if(c=ie(e,h))return c;if(h="",f=De,n)return;continue}"["==u?y=!0:"]"==u&&(y=!1),h+=u}else{if(""==h)return H;if(c=ie(e,h))return c;if(h="",f=Ce,n==Ie)return}break;case Ce:if(!C(X,u)){if(u==r||"/"==u||"?"==u||"#"==u||"\\"==u&&ye(e)||n){if(""!=h){var k=M(h,10);if(k>65535)return W;e.port=ye(e)&&k===de[e.scheme]?null:k,h=""}if(n)return;f=De;continue}return W}h+=u;break;case Re:if(e.scheme="file","/"==u||"\\"==u)f=Ne;else{if(!o||"file"!=o.scheme){f=qe;continue}if(u==r)e.host=o.host,e.path=g(o.path),e.query=o.query;else if("?"==u)e.host=o.host,e.path=g(o.path),e.query="",f=Be;else{if("#"!=u){me(R(g(i,l),""))||(e.host=o.host,e.path=g(o.path),be(e)),f=qe;continue}e.host=o.host,e.path=g(o.path),e.query=o.query,e.fragment="",f=Je}}break;case Ne:if("/"==u||"\\"==u){f=Fe;break}o&&"file"==o.scheme&&!me(R(g(i,l),""))&&(_e(o.path[0],!0)?D(e.path,o.path[0]):e.host=o.host),f=qe;continue;case Fe:if(u==r||"/"==u||"\\"==u||"?"==u||"#"==u){if(!n&&_e(h))f=qe;else if(""==h){if(e.host="",n)return;f=De}else{if(c=ie(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",f=De}continue}h+=u;break;case De:if(ye(e)){if(f=qe,"/"!=u&&"\\"!=u)continue}else if(n||"?"!=u)if(n||"#"!=u){if(u!=r&&(f=qe,"/"!=u))continue}else e.fragment="",f=Je;else e.query="",f=Be;break;case qe:if(u==r||"/"==u||"\\"==u&&ye(e)||!n&&("?"==u||"#"==u)){if(".."===(s=G(s=h))||"%2e."===s||".%2e"===s||"%2e%2e"===s?(be(e),"/"==u||"\\"==u&&ye(e)||D(e.path,"")):we(h)?"/"==u||"\\"==u&&ye(e)||D(e.path,""):("file"==e.scheme&&!e.path.length&&_e(h)&&(e.host&&(e.host=""),h=I(h,0)+":"),D(e.path,h)),h="","file"==e.scheme&&(u==r||"?"==u||"#"==u))for(;e.path.length>1&&""===e.path[0];)U(e.path);"?"==u?(e.query="",f=Be):"#"==u&&(e.fragment="",f=Je)}else h+=pe(u,le);break;case Ue:"?"==u?(e.query="",f=Be):"#"==u?(e.fragment="",f=Je):u!=r&&(e.path[0]+=pe(u,se));break;case Be:n||"#"!=u?u!=r&&("'"==u&&ye(e)?e.query+="%27":e.query+="#"==u?"%23":pe(u,se)):(e.fragment="",f=Je);break;case Je:u!=r&&(e.fragment+=pe(u,fe))}l++}},Ve=function(e){var t,n,r=p(this,$e),o=arguments.length>1?arguments[1]:void 0,u=b(e),a=j(r,{type:"URL"});if(void 0!==o)try{t=S(o)}catch(e){if(n=Ge(t={},b(o)))throw T(n)}if(n=Ge(a,u,null,t))throw T(n);var c=a.searchParams=new O,f=A(c);f.updateSearchParams(a.query),f.updateURL=function(){a.query=b(c)||null},i||(r.href=s(He,r),r.origin=s(We,r),r.protocol=s(ze,r),r.username=s(Ye,r),r.password=s(Xe,r),r.host=s(Ke,r),r.hostname=s(Ze,r),r.port=s(Qe,r),r.pathname=s(et,r),r.search=s(tt,r),r.searchParams=s(nt,r),r.hash=s(rt,r))},$e=Ve.prototype,He=function(){var e=S(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,u=e.path,a=e.query,c=e.fragment,s=t+":";return null!==o?(s+="//",ve(e)&&(s+=n+(r?":"+r:"")+"@"),s+=ce(o),null!==i&&(s+=":"+i)):"file"==t&&(s+="//"),s+=e.cannotBeABaseURL?u[0]:u.length?"/"+R(u,"/"):"",null!==a&&(s+="?"+a),null!==c&&(s+="#"+c),s},We=function(){var e=S(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Ve(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&ye(e)?t+"://"+ce(e.host)+(null!==n?":"+n:""):"null"},ze=function(){return S(this).scheme+":"},Ye=function(){return S(this).username},Xe=function(){return S(this).password},Ke=function(){var e=S(this),t=e.host,n=e.port;return null===t?"":null===n?ce(t):ce(t)+":"+n},Ze=function(){var e=S(this).host;return null===e?"":ce(e)},Qe=function(){var e=S(this).port;return null===e?"":b(e)},et=function(){var e=S(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+R(t,"/"):""},tt=function(){var e=S(this).query;return e?"?"+e:""},nt=function(){return S(this).searchParams},rt=function(){var e=S(this).fragment;return e?"#"+e:""},ot=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l($e,{href:ot(He,(function(e){var t=S(this),n=b(e),r=Ge(t,n);if(r)throw T(r);A(t.searchParams).updateSearchParams(t.query)})),origin:ot(We),protocol:ot(ze,(function(e){var t=S(this);Ge(t,b(e)+":",ke)})),username:ot(Ye,(function(e){var t=S(this),n=v(b(e));if(!ge(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=pe(n[r],he)}})),password:ot(Xe,(function(e){var t=S(this),n=v(b(e));if(!ge(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=pe(n[r],he)}})),host:ot(Ke,(function(e){var t=S(this);t.cannotBeABaseURL||Ge(t,b(e),Le)})),hostname:ot(Ze,(function(e){var t=S(this);t.cannotBeABaseURL||Ge(t,b(e),Ie)})),port:ot(Qe,(function(e){var t=S(this);ge(t)||(""==(e=b(e))?t.port=null:Ge(t,e,Ce))})),pathname:ot(et,(function(e){var t=S(this);t.cannotBeABaseURL||(t.path=[],Ge(t,b(e),De))})),search:ot(tt,(function(e){var t=S(this);""==(e=b(e))?t.query=null:("?"==I(e,0)&&(e=J(e,1)),t.query="",Ge(t,e,Be)),A(t.searchParams).updateSearchParams(t.query)})),searchParams:ot(nt),hash:ot(rt,(function(e){var t=S(this);""!=(e=b(e))?("#"==I(e,0)&&(e=J(e,1)),t.fragment="",Ge(t,e,Je)):t.fragment=null}))}),h($e,"toJSON",(function(){return s(He,this)}),{enumerable:!0}),h($e,"toString",(function(){return s(He,this)}),{enumerable:!0}),E){var it=E.createObjectURL,ut=E.revokeObjectURL;it&&h(Ve,"createObjectURL",c(it,E)),ut&&h(Ve,"revokeObjectURL",c(ut,E))}w(Ve,"URL"),o({global:!0,forced:!u,sham:!i},{URL:Ve})},7950:function(e){"use strict";var t="undefined"!=typeof navigator&&0<navigator.userAgent.toLowerCase().indexOf("firefox");function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on".concat(t),(function(){n(window.event)}))}function r(e,t){for(var n=t.slice(0,t.length-1),r=0;r<n.length;r++)n[r]=e[n[r].toLowerCase()];return n}function o(e){for(var t=(e=(e="string"!=typeof e?"":e).replace(/\s/g,"")).split(","),n=t.lastIndexOf("");0<=n;)t[n-1]+=",",t.splice(n,1),n=t.lastIndexOf("");return t}for(var i={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,ins:45,insert:45,home:36,end:35,pageup:33,pagedown:34,capslock:20,num_0:96,num_1:97,num_2:98,num_3:99,num_4:100,num_5:101,num_6:102,num_7:103,num_8:104,num_9:105,num_multiply:106,num_add:107,num_enter:108,num_subtract:109,num_decimal:110,num_divide:111,"⇪":20,",":188,".":190,"/":191,"`":192,"-":t?173:189,"=":t?61:187,";":t?59:186,"'":222,"[":219,"]":221,"\\":220},u={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,cmd:91,command:91},a={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey",shiftKey:16,ctrlKey:17,altKey:18,metaKey:91},c={16:!1,18:!1,17:!1,91:!1},s={},f=1;f<20;f++)i["f".concat(f)]=111+f;var l=[],h="all",p=[],d=function(e){return i[e.toLowerCase()]||u[e.toLowerCase()]||e.toUpperCase().charCodeAt(0)};function y(e){h=e||"all"}function v(){return h||"all"}var g=function(e){var t=e.scope,n=e.method,i=e.splitKey,a=void 0===i?"+":i;o(e.key).forEach((function(e){var o,i=e.split(a),c=i.length;e="*"===(e=i[c-1])?"*":d(e);s[e]&&(t=t||v(),o=1<c?r(u,i):[],s[e]=s[e].map((function(e){return n&&e.method!==n||e.scope!==t||!function(e,t){for(var n=e.length<t.length?t:e,r=e.length<t.length?e:t,o=!0,i=0;i<n.length;i++)~r.indexOf(n[i])||(o=!1);return o}(e.mods,o)?e:{}})))}))};function _(e,t,n){var r;if(t.scope===n||"all"===t.scope){for(var o in r=0<t.mods.length,c)Object.prototype.hasOwnProperty.call(c,o)&&(!c[o]&&~t.mods.indexOf(+o)||c[o]&&!~t.mods.indexOf(+o))&&(r=!1);(0!==t.mods.length||c[16]||c[18]||c[17]||c[91])&&!r&&"*"!==t.shortcut||!1===t.method(e,t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function m(e){var t=s["*"],n=e.keyCode||e.which||e.charCode;if(b.filter.call(this,e)){if(~l.indexOf(n=93===n||224===n?91:n)||229===n||l.push(n),["ctrlKey","altKey","shiftKey","metaKey"].forEach((function(t){var n=a[t];e[t]&&!~l.indexOf(n)?l.push(n):!e[t]&&~l.indexOf(n)?l.splice(l.indexOf(n),1):"metaKey"===t&&e[t]&&3===l.length&&(e.ctrlKey||e.shiftKey||e.altKey||(l=l.slice(l.indexOf(n))))})),n in c){for(var r in c[n]=!0,u)u[r]===n&&(b[r]=!0);if(!t)return}for(var o in c)Object.prototype.hasOwnProperty.call(c,o)&&(c[o]=e[a[o]]);e.getModifierState&&(!e.altKey||e.ctrlKey)&&e.getModifierState("AltGraph")&&(~l.indexOf(17)||l.push(17),~l.indexOf(18)||l.push(18),c[17]=!0,c[18]=!0);var i=v();if(t)for(var f=0;f<t.length;f++)t[f].scope===i&&("keydown"===e.type&&t[f].keydown||"keyup"===e.type&&t[f].keyup)&&_(e,t[f],i);if(n in s)for(var h=0;h<s[n].length;h++)if(("keydown"===e.type&&s[n][h].keydown||"keyup"===e.type&&s[n][h].keyup)&&s[n][h].key){for(var p=s[n][h],y=p.key.split(p.splitKey),g=[],m=0;m<y.length;m++)g.push(d(y[m]));g.sort().join("")===l.sort().join("")&&_(e,p,i)}}}function b(e,t,i){l=[];var a=o(e),f=[],h="all",y=document,v=0,g=!1,_=!0,w="+";for(void 0===i&&"function"==typeof t&&(i=t),"[object Object]"===Object.prototype.toString.call(t)&&(t.scope&&(h=t.scope),t.element&&(y=t.element),t.keyup&&(g=t.keyup),void 0!==t.keydown&&(_=t.keydown),"string"==typeof t.splitKey&&(w=t.splitKey)),"string"==typeof t&&(h=t);v<a.length;v++)f=[],1<(e=a[v].split(w)).length&&(f=r(u,e)),(e="*"===(e=e[e.length-1])?"*":d(e))in s||(s[e]=[]),s[e].push({keyup:g,keydown:_,scope:h,mods:f,shortcut:a[v],method:i,key:a[v],splitKey:w});void 0!==y&&!function(e){return!!~p.indexOf(e)}(y)&&window&&(p.push(y),n(y,"keydown",(function(e){m(e)})),n(window,"focus",(function(){l=[]})),n(y,"keyup",(function(e){m(e),function(e){var t=e.keyCode||e.which||e.charCode,n=l.indexOf(t);if(n<0||l.splice(n,1),e.key&&"meta"==e.key.toLowerCase()&&l.splice(0,l.length),(t=93===t||224===t?91:t)in c)for(var r in c[t]=!1,u)u[r]===t&&(b[r]=!1)}(e)})))}var w,k,x={setScope:y,getScope:v,deleteScope:function(e,t){var n,r,o;for(o in e=e||v(),s)if(Object.prototype.hasOwnProperty.call(s,o))for(n=s[o],r=0;r<n.length;)n[r].scope===e?n.splice(r,1):r++;v()===e&&y(t||"all")},getPressedKeyCodes:function(){return l.slice(0)},isPressed:function(e){return"string"==typeof e&&(e=d(e)),!!~l.indexOf(e)},filter:function(e){var t=e.target||e.srcElement;return e=t.tagName,!(t.isContentEditable||!("INPUT"!==e&&"TEXTAREA"!==e&&"SELECT"!==e||t.readOnly))},unbind:function(e){if(e){if(Array.isArray(e))e.forEach((function(e){e.key&&g(e)}));else if("object"==typeof e)e.key&&g(e);else if("string"==typeof e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n[0],i=n[1];"function"==typeof o&&(i=o,o=""),g({key:e,scope:o,method:i,splitKey:"+"})}}else Object.keys(s).forEach((function(e){return delete s[e]}))}};for(w in x)Object.prototype.hasOwnProperty.call(x,w)&&(b[w]=x[w]);"undefined"!=typeof window&&(k=window.hotkeys,b.noConflict=function(e){return e&&window.hotkeys===b&&(window.hotkeys=k),b},window.hotkeys=b),e.exports=b},3812:function(e,t,n){e.exports=n(7950)},5666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",a=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),u=new E(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return M()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var a=S(u,n);if(a){if(a===y)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=f(e,t,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(e,n,u),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",y={};function v(){}function g(){}function _(){}var m={};c(m,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&r.call(w,i)&&(m=w);var k=_.prototype=v.prototype=Object.create(m);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function j(e,t){function n(o,i,u,a){var c=f(e[o],e,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,u,a)}),(function(e){n("throw",e,u,a)})):t.resolve(l).then((function(e){s.value=e,u(s)}),(function(e){return n("throw",e,u,a)}))}a(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,u=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return u.next=u}}return{next:M}}function M(){return{value:t,done:!0}}return g.prototype=_,c(k,"constructor",_),c(_,"constructor",g),g.displayName=c(_,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,a,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},x(j.prototype),c(j.prototype,u,(function(){return this})),e.AsyncIterator=j,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var u=new j(s(t,n,r,o),i);return e.isGeneratorFunction(n)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},x(k),c(k,a,"Generator"),c(k,i,(function(){return this})),c(k,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return a.type="throw",a.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],a=u.completion;if("root"===u.tryLoc)return o("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),s=r.call(u,"finallyLoc");if(c&&s){if(this.prev<u.catchLoc)return o(u.catchLoc,!0);if(this.prev<u.finallyLoc)return o(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return o(u.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return o(u.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=e,u.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(u)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7774:function(e,t){!function(e){"use strict";var t="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==t&&t,n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function r(e){return e&&DataView.prototype.isPrototypeOf(e)}if(n.arrayBuffer)var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],i=ArrayBuffer.isView||function(e){return e&&o.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function a(e){return"string"!=typeof e&&(e=String(e)),e}function c(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function f(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function l(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function h(e){var t=new FileReader,n=l(t);return t.readAsArrayBuffer(e),n}function p(e){var t=new FileReader,n=l(t);return t.readAsText(e),n}function d(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:n.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:n.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():n.arrayBuffer&&n.blob&&r(e)?(this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||i(e))?this._bodyArrayBuffer=y(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=f(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(h)}),this.text=function(){var e=f(this);if(e)return e;if(this._bodyBlob)return p(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(d(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}s.prototype.append=function(e,t){e=u(e),t=a(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},s.prototype.delete=function(e){delete this.map[u(e)]},s.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},s.prototype.set=function(e,t){this.map[u(e)]=a(t)},s.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},s.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),c(e)},s.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),c(e)},s.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),c(e)},n.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(e){var t=e.toUpperCase();return g.indexOf(t)>-1?t:e}function m(e,t){if(!(this instanceof m))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof m){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new s(t.headers)),this.method=_(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;if(r.test(this.url))this.url=this.url.replace(r,"$1_="+(new Date).getTime());else{var o=/\?/;this.url+=(o.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e){var t=new s;return e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t}function k(e,t){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},v.call(m.prototype),v.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},k.error=function(){var e=new k(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];k.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new k(null,{status:t,headers:{location:e}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function j(r,o){return new Promise((function(i,u){var c=new m(r,o);if(c.signal&&c.signal.aborted)return u(new e.DOMException("Aborted","AbortError"));var f=new XMLHttpRequest;function l(){f.abort()}function h(e){try{return""===e&&t.location.href?t.location.href:e}catch(t){return e}}f.onload=function(){var e={status:f.status,statusText:f.statusText,headers:w(f.getAllResponseHeaders()||"")};e.url="responseURL"in f?f.responseURL:e.headers.get("X-Request-URL");var t="response"in f?f.response:f.responseText;setTimeout((function(){i(new k(t,e))}),0)},f.onerror=function(){setTimeout((function(){u(new TypeError("Network request failed"))}),0)},f.ontimeout=function(){setTimeout((function(){u(new TypeError("Network request failed"))}),0)},f.onabort=function(){setTimeout((function(){u(new e.DOMException("Aborted","AbortError"))}),0)},f.open(c.method,h(c.url),!0),"include"===c.credentials?f.withCredentials=!0:"omit"===c.credentials&&(f.withCredentials=!1),"responseType"in f&&(n.blob?f.responseType="blob":n.arrayBuffer&&c.headers.get("Content-Type")&&-1!==c.headers.get("Content-Type").indexOf("application/octet-stream")&&(f.responseType="arraybuffer")),!o||"object"!=typeof o.headers||o.headers instanceof s?c.headers.forEach((function(e,t){f.setRequestHeader(t,e)})):Object.getOwnPropertyNames(o.headers).forEach((function(e){f.setRequestHeader(e,a(o.headers[e]))})),c.signal&&(c.signal.addEventListener("abort",l),f.onreadystatechange=function(){4===f.readyState&&c.signal.removeEventListener("abort",l)}),f.send(void 0===c._bodyInit?null:c._bodyInit)}))}j.polyfill=!0,t.fetch||(t.fetch=j,t.Headers=s,t.Request=m,t.Response=k),e.Headers=s,e.Request=m,e.Response=k,e.fetch=j,Object.defineProperty(e,"__esModule",{value:!0})}(t)}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();var __webpack_exports__=__webpack_require__(6894)})();
|