diff --git a/contributes/meta3d-action-add-asset/package.json b/contributes/meta3d-action-add-asset/package.json index 571d6e1ae..01a3856a5 100755 --- a/contributes/meta3d-action-add-asset/package.json +++ b/contributes/meta3d-action-add-asset/package.json @@ -1,6 +1,6 @@ { "name": "meta3d-action-add-asset", - "version": "1.3.1", + "version": "1.3.2", "publisher": "meta3d", "repoLink": "", "protocol": { diff --git a/doc/1.3.1.org b/doc/1.3.1.org index 34d92c574..4f1eeadf0 100644 --- a/doc/1.3.1.org +++ b/doc/1.3.1.org @@ -49,19 +49,28 @@ not restore ui control state * DONE fix(editor): load glb->cancel error -* TODO fix(editor): shouldn't export when run +# * TODO fix(editor): shouldn't export when run -* TODO fix(platform): fix "version not match" +# * TODO fix(platform): fix "version not match" * TODO publish TODO need update -ui +# ui -add-asset +# add-asset +editor-whole package +engine-whole package TODO update production code +TODO publish all to prod -TODO add publish video \ No newline at end of file +TODO update packages in pro + +TODO run test in pro: +import editor + + +# TODO add publish video \ No newline at end of file diff --git a/packages/asset/extensions/meta3d-asset/lib/bs/.compiler.log b/packages/asset/extensions/meta3d-asset/lib/bs/.compiler.log index e46b508c7..4c926027c 100644 --- a/packages/asset/extensions/meta3d-asset/lib/bs/.compiler.log +++ b/packages/asset/extensions/meta3d-asset/lib/bs/.compiler.log @@ -1,2 +1,2 @@ -#Start(1708918892462) -#Done(1708918892531) +#Start(1709091849089) +#Done(1709091849138) diff --git a/packages/asset/extensions/meta3d-asset/lib/bs/.ninja_log b/packages/asset/extensions/meta3d-asset/lib/bs/.ninja_log index 0ec22c9ea..8f9fa8506 100644 --- a/packages/asset/extensions/meta3d-asset/lib/bs/.ninja_log +++ b/packages/asset/extensions/meta3d-asset/lib/bs/.ninja_log @@ -1,8 +1,8 @@ # ninja log v6 -0 21 1708918892482294979 src/Main.ast be32b555a17b097d -0 22 1708918892481895173 Meta3dAsset.cmi 1174fecef0a95267 -22 30 1708918892492042090 src/Main.d 25b1222acb99c010 -30 69 1708918892528951968 src/Main-Meta3dAsset.cmj 29446dee86056cce -30 69 1708918892528951968 src/Main-Meta3dAsset.cmi 29446dee86056cce -30 69 1708918892528951968 ../es6_global/src/Main.bs.js 29446dee86056cce -30 69 1708918892528951968 ../js/src/Main.bs.js 29446dee86056cce +0 16 1709091849103629830 src/Main.ast be32b555a17b097d +1 16 1709091849103230723 Meta3dAsset.cmi 1174fecef0a95267 +16 22 1709091849111519076 src/Main.d 25b1222acb99c010 +22 49 1709091849136726682 src/Main-Meta3dAsset.cmj 9d746eb046086149 +22 49 1709091849136726682 src/Main-Meta3dAsset.cmi 9d746eb046086149 +22 49 1709091849136726682 ../es6_global/src/Main.bs.js 9d746eb046086149 +22 49 1709091849136726682 ../js/src/Main.bs.js 9d746eb046086149 diff --git a/packages/asset/extensions/meta3d-asset/lib/bs/src/Main-Meta3dAsset.cmt b/packages/asset/extensions/meta3d-asset/lib/bs/src/Main-Meta3dAsset.cmt index 5347c9ad3..3d2b8fdfe 100644 Binary files a/packages/asset/extensions/meta3d-asset/lib/bs/src/Main-Meta3dAsset.cmt and b/packages/asset/extensions/meta3d-asset/lib/bs/src/Main-Meta3dAsset.cmt differ diff --git a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.compiler.log b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.compiler.log index 40bb35c5c..ce7de5179 100644 --- a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.compiler.log +++ b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.compiler.log @@ -1,2 +1,2 @@ -#Start(1708918890365) -#Done(1708918890458) +#Start(1709091847580) +#Done(1709091847642) diff --git a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.ninja_log b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.ninja_log index 574fdf460..abac052fe 100644 --- a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.ninja_log +++ b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/.ninja_log @@ -1,14 +1,14 @@ # ninja log v6 -0 22 1708918890385736055 src/service/ServiceType.ast 785165cefc5839bb -2 24 1708918890388245638 src/state/StateType.ast b77cdc3afc8a15dc -3 27 1708918890389114243 Meta3dAssetProtocol.cmi 3809cb3bf0a1578c -22 32 1708918890397209955 src/service/ServiceType.d f2d6bc4aa9df18b6 -24 35 1708918890399994545 src/state/StateType.d e67c05e9db4e307d -35 65 1708918890428199037 src/state/StateType-Meta3dAssetProtocol.cmj 186add4bff2f6a77 -35 65 1708918890428199037 src/state/StateType-Meta3dAssetProtocol.cmi 186add4bff2f6a77 -35 65 1708918890428199037 ../es6_global/src/state/StateType.bs.js 186add4bff2f6a77 -35 65 1708918890428199037 ../js/src/state/StateType.bs.js 186add4bff2f6a77 -65 93 1708918890456443756 src/service/ServiceType-Meta3dAssetProtocol.cmj 25774efee3b32347 -65 93 1708918890456443756 src/service/ServiceType-Meta3dAssetProtocol.cmi 25774efee3b32347 -65 93 1708918890456443756 ../es6_global/src/service/ServiceType.bs.js 25774efee3b32347 -65 93 1708918890456443756 ../js/src/service/ServiceType.bs.js 25774efee3b32347 +0 15 1709091847594615597 src/service/ServiceType.ast 785165cefc5839bb +1 16 1709091847594567789 src/state/StateType.ast b77cdc3afc8a15dc +1 16 1709091847594913213 Meta3dAssetProtocol.cmi 3809cb3bf0a1578c +15 22 1709091847602213334 src/service/ServiceType.d f2d6bc4aa9df18b6 +16 22 1709091847602311501 src/state/StateType.d e67c05e9db4e307d +22 41 1709091847620628647 src/state/StateType-Meta3dAssetProtocol.cmj 41f4f8cdb2729823 +22 41 1709091847620628647 src/state/StateType-Meta3dAssetProtocol.cmi 41f4f8cdb2729823 +22 41 1709091847620628647 ../es6_global/src/state/StateType.bs.js 41f4f8cdb2729823 +22 41 1709091847620628647 ../js/src/state/StateType.bs.js 41f4f8cdb2729823 +41 62 1709091847641039767 src/service/ServiceType-Meta3dAssetProtocol.cmj 755cf5e80e523cf6 +41 62 1709091847641039767 src/service/ServiceType-Meta3dAssetProtocol.cmi 755cf5e80e523cf6 +41 62 1709091847641039767 ../es6_global/src/service/ServiceType.bs.js 755cf5e80e523cf6 +41 62 1709091847641039767 ../js/src/service/ServiceType.bs.js 755cf5e80e523cf6 diff --git a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/service/ServiceType-Meta3dAssetProtocol.cmt b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/service/ServiceType-Meta3dAssetProtocol.cmt index 815f4981c..b3103ce3a 100644 Binary files a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/service/ServiceType-Meta3dAssetProtocol.cmt and b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/service/ServiceType-Meta3dAssetProtocol.cmt differ diff --git a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/state/StateType-Meta3dAssetProtocol.cmt b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/state/StateType-Meta3dAssetProtocol.cmt index 57153ee1a..2b1d7ea6c 100644 Binary files a/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/state/StateType-Meta3dAssetProtocol.cmt and b/packages/asset/protocols/extension_protocols/meta3d-asset-protocol/lib/bs/src/state/StateType-Meta3dAssetProtocol.cmt differ diff --git a/packages/core/contributes/meta3d-pipeline-root/dist/static/js/main.js b/packages/core/contributes/meta3d-pipeline-root/dist/static/js/main.js index 72dea2f5e..a94b77fd9 100644 --- a/packages/core/contributes/meta3d-pipeline-root/dist/static/js/main.js +++ b/packages/core/contributes/meta3d-pipeline-root/dist/static/js/main.js @@ -1,118 +1 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "../../../../node_modules/rescript/lib/js/caml_array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l.tl;\n _acc = l.hd.length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l.hd;\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l.tl;\n _i = k;\n continue ;\n };\n}\n\nfunction concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n xs[index] = newval;\n}\n\nfunction get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n return xs[index];\n}\n\nfunction make(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction make_float(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n}\n\nfunction dup(prim) {\n return prim.slice(0);\n}\n\nexports.dup = dup;\nexports.sub = sub;\nexports.concat = concat;\nexports.make = make;\nexports.make_float = make_float;\nexports.blit = blit;\nexports.get = get;\nexports.set = set;\n/* No side effect */\n\n\n//# sourceURL=webpack://Contribute/../../../../node_modules/rescript/lib/js/caml_array.js?"); - -/***/ }), - -/***/ "./lib/js/src/Main.bs.js": -/*!*******************************!*\ - !*** ./lib/js/src/Main.bs.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar InitJob$Meta3dPipelineRoot = __webpack_require__(/*! ./jobs/InitJob.bs.js */ \"./lib/js/src/jobs/InitJob.bs.js\");\nvar RenderJob$Meta3dPipelineRoot = __webpack_require__(/*! ./jobs/RenderJob.bs.js */ \"./lib/js/src/jobs/RenderJob.bs.js\");\nvar UpdateJob$Meta3dPipelineRoot = __webpack_require__(/*! ./jobs/UpdateJob.bs.js */ \"./lib/js/src/jobs/UpdateJob.bs.js\");\nvar StateType$Meta3dPipelineRootProtocol = __webpack_require__(/*! meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js */ \"../../protocols/contribute_protocols/meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js\");\n\nfunction _getExecFunc(_pipelineName, jobName) {\n if (jobName === StateType$Meta3dPipelineRootProtocol.job.Init) {\n return InitJob$Meta3dPipelineRoot.execFunc;\n } else if (jobName === StateType$Meta3dPipelineRootProtocol.job.Update) {\n return UpdateJob$Meta3dPipelineRoot.execFunc;\n } else if (jobName === StateType$Meta3dPipelineRootProtocol.job.Render) {\n return RenderJob$Meta3dPipelineRoot.execFunc;\n } else {\n return null;\n }\n}\n\nfunction _init(_state) {\n \n}\n\nfunction getContribute(api) {\n return {\n pipelineName: StateType$Meta3dPipelineRootProtocol.pipelineName,\n createStateFunc: (function (meta3dState, param) {\n var mostService = api.getExtensionService(meta3dState, \"meta3d-bs-most-protocol\");\n return {\n mostService: mostService\n };\n }),\n initFunc: _init,\n getExecFunc: _getExecFunc,\n allPipelineData: StateType$Meta3dPipelineRootProtocol.allPipelineData,\n restoreFunc: null,\n deepCopyFunc: null\n };\n}\n\nexports._getExecFunc = _getExecFunc;\nexports._init = _init;\nexports.getContribute = getContribute;\n/* InitJob-Meta3dPipelineRoot Not a pure module */\n\n\n//# sourceURL=webpack://Contribute/./lib/js/src/Main.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/jobs/InitJob.bs.js": -/*!***************************************!*\ - !*** ./lib/js/src/jobs/InitJob.bs.js ***! - \***************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Utils$Meta3dPipelineRoot = __webpack_require__(/*! ./Utils.bs.js */ \"./lib/js/src/jobs/Utils.bs.js\");\n\nfunction execFunc(meta3dState, param) {\n var match = Utils$Meta3dPipelineRoot.getState(param.getStatesFunc(meta3dState));\n return match.mostService.callFunc(function (param) {\n return meta3dState;\n });\n}\n\nexports.execFunc = execFunc;\n/* Utils-Meta3dPipelineRoot Not a pure module */\n\n\n//# sourceURL=webpack://Contribute/./lib/js/src/jobs/InitJob.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/jobs/RenderJob.bs.js": -/*!*****************************************!*\ - !*** ./lib/js/src/jobs/RenderJob.bs.js ***! - \*****************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Utils$Meta3dPipelineRoot = __webpack_require__(/*! ./Utils.bs.js */ \"./lib/js/src/jobs/Utils.bs.js\");\n\nfunction execFunc(meta3dState, param) {\n var match = Utils$Meta3dPipelineRoot.getState(param.getStatesFunc(meta3dState));\n return match.mostService.callFunc(function (param) {\n return meta3dState;\n });\n}\n\nexports.execFunc = execFunc;\n/* Utils-Meta3dPipelineRoot Not a pure module */\n\n\n//# sourceURL=webpack://Contribute/./lib/js/src/jobs/RenderJob.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/jobs/UpdateJob.bs.js": -/*!*****************************************!*\ - !*** ./lib/js/src/jobs/UpdateJob.bs.js ***! - \*****************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Utils$Meta3dPipelineRoot = __webpack_require__(/*! ./Utils.bs.js */ \"./lib/js/src/jobs/Utils.bs.js\");\n\nfunction execFunc(meta3dState, param) {\n var match = Utils$Meta3dPipelineRoot.getState(param.getStatesFunc(meta3dState));\n return match.mostService.callFunc(function (param) {\n return meta3dState;\n });\n}\n\nexports.execFunc = execFunc;\n/* Utils-Meta3dPipelineRoot Not a pure module */\n\n\n//# sourceURL=webpack://Contribute/./lib/js/src/jobs/UpdateJob.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/jobs/Utils.bs.js": -/*!*************************************!*\ - !*** ./lib/js/src/jobs/Utils.bs.js ***! - \*************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_array = __webpack_require__(/*! rescript/lib/js/caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\nvar StateType$Meta3dPipelineRootProtocol = __webpack_require__(/*! meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js */ \"../../protocols/contribute_protocols/meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js\");\n\nfunction getState(states) {\n return Caml_array.get(states, StateType$Meta3dPipelineRootProtocol.pipelineName);\n}\n\nexports.getState = getState;\n/* StateType-Meta3dPipelineRootProtocol Not a pure module */\n\n\n//# sourceURL=webpack://Contribute/./lib/js/src/jobs/Utils.bs.js?"); - -/***/ }), - -/***/ "../../protocols/contribute_protocols/meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js": -/*!*****************************************************************************************************!*\ - !*** ../../protocols/contribute_protocols/meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js ***! - \*****************************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar pipeline = {\n Init: \"init\",\n Update: \"update\",\n Render: \"render\"\n};\n\nvar job = {\n Init: \"init_root_meta3d\",\n Update: \"update_root_meta3d\",\n Render: \"render_root_meta3d\"\n};\n\nvar allPipelineData = [\n {\n name: pipeline.Init,\n groups: [{\n name: \"first_root_meta3d\",\n link: \"concat\",\n elements: [{\n name: job.Init,\n type_: \"job\",\n is_set_state: true\n }]\n }],\n first_group: \"first_root_meta3d\"\n },\n {\n name: pipeline.Update,\n groups: [{\n name: \"first_root_meta3d\",\n link: \"concat\",\n elements: [{\n name: job.Update,\n type_: \"job\",\n is_set_state: true\n }]\n }],\n first_group: \"first_root_meta3d\"\n },\n {\n name: pipeline.Render,\n groups: [{\n name: \"first_root_meta3d\",\n link: \"concat\",\n elements: [{\n name: job.Render,\n type_: \"job\",\n is_set_state: true\n }]\n }],\n first_group: \"first_root_meta3d\"\n }\n];\n\nvar pipelineName = \"Root\";\n\nexports.pipelineName = pipelineName;\nexports.pipeline = pipeline;\nexports.job = job;\nexports.allPipelineData = allPipelineData;\n/* allPipelineData Not a pure module */\n\n\n//# sourceURL=webpack://Contribute/../../protocols/contribute_protocols/meta3d-pipeline-root-protocol/lib/js/src/StateType.bs.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./lib/js/src/Main.bs.js"); -/******/ window.Contribute = __webpack_exports__; -/******/ -/******/ })() -; \ No newline at end of file +(()=>{"use strict";var e={667:(e,t)=>{t.dup=function(e){return e.slice(0)},t.sub=function(e,t,n){for(var r=new Array(n),o=0,i=t;o=0;--a)n[a+r|0]=e[a+t|0]},t.get=function(e,t){if(t<0||t>=e.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return e[t]},t.set=function(e,t,n){if(t<0||t>=e.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};e[t]=n}},451:(e,t,n)=>{var r=n(864);t.execFunc=function(e,t){return r.getState(t.getStatesFunc(e)).mostService.callFunc((function(t){return e}))}},743:(e,t,n)=>{var r=n(864);t.execFunc=function(e,t){return r.getState(t.getStatesFunc(e)).mostService.callFunc((function(t){return e}))}},39:(e,t,n)=>{var r=n(864);t.execFunc=function(e,t){return r.getState(t.getStatesFunc(e)).mostService.callFunc((function(t){return e}))}},864:(e,t,n)=>{var r=n(667),o=n(272);t.getState=function(e){return r.get(e,o.pipelineName)}},272:(e,t)=>{var n={Init:"init",Update:"update",Render:"render"},r={Init:"init_root_meta3d",Update:"update_root_meta3d",Render:"render_root_meta3d"},o=[{name:n.Init,groups:[{name:"first_root_meta3d",link:"concat",elements:[{name:r.Init,type_:"job",is_set_state:!0}]}],first_group:"first_root_meta3d"},{name:n.Update,groups:[{name:"first_root_meta3d",link:"concat",elements:[{name:r.Update,type_:"job",is_set_state:!0}]}],first_group:"first_root_meta3d"},{name:n.Render,groups:[{name:"first_root_meta3d",link:"concat",elements:[{name:r.Render,type_:"job",is_set_state:!0}]}],first_group:"first_root_meta3d"}];t.pipelineName="Root",t.pipeline=n,t.job=r,t.allPipelineData=o}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,n),i.exports}var r={};(()=>{var e=r,t=n(451),o=n(743),i=n(39),a=n(272);function u(e,n){return n===a.job.Init?t.execFunc:n===a.job.Update?i.execFunc:n===a.job.Render?o.execFunc:null}function c(e){}e._getExecFunc=u,e._init=c,e.getContribute=function(e){return{pipelineName:a.pipelineName,createStateFunc:function(t,n){return{mostService:e.getExtensionService(t,"meta3d-bs-most-protocol")}},initFunc:c,getExecFunc:u,allPipelineData:a.allPipelineData,restoreFunc:null,deepCopyFunc:null}}})(),window.Contribute=r})(); \ No newline at end of file diff --git a/packages/core/extensions/meta3d-bs-most/dist/static/js/main.js b/packages/core/extensions/meta3d-bs-most/dist/static/js/main.js index f44a5dffe..ca264fb42 100644 --- a/packages/core/extensions/meta3d-bs-most/dist/static/js/main.js +++ b/packages/core/extensions/meta3d-bs-most/dist/static/js/main.js @@ -1,2173 +1,2 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js": -/*!*************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Most = __webpack_require__(/*! most */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js\");\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\n\nfunction subscribe(arg1, obj) {\n return obj.subscribe(arg1);\n}\n\nfunction unfold(f) {\n return function (param) {\n return Most.unfold((function (x) {\n var match = Curry._1(f, x);\n if (match !== undefined) {\n return {\n value: match[0],\n seed: match[1]\n };\n } else {\n return {\n done: true\n };\n }\n }), param);\n };\n}\n\nfunction fromList(list) {\n return unfold(function (curList) {\n if (curList) {\n return [\n curList.hd,\n curList.tl\n ];\n }\n \n })(list);\n}\n\nfunction concat(arg1, obj) {\n return obj.concat(arg1);\n}\n\nvar Subject = {};\n\nexports.subscribe = subscribe;\nexports.unfold = unfold;\nexports.fromList = fromList;\nexports.concat = concat;\nexports.Subject = Subject;\n/* most Not a pure module */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js": -/*!***************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LinkedList)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Doubly linked list\n * @constructor\n */\nfunction LinkedList () {\n this.head = null\n this.length = 0\n}\n\n/**\n * Add a node to the end of the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to add\n */\nLinkedList.prototype.add = function (x) {\n if (this.head !== null) {\n this.head.prev = x\n x.next = this.head\n }\n this.head = x\n ++this.length\n}\n\n/**\n * Remove the provided node from the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to remove\n */\nLinkedList.prototype.remove = function (x) { // eslint-disable-line complexity\n --this.length\n if (x === this.head) {\n this.head = this.head.next\n }\n if (x.next !== null) {\n x.next.prev = x.prev\n x.next = null\n }\n if (x.prev !== null) {\n x.prev.next = x.next\n x.prev = null\n }\n}\n\n/**\n * @returns {boolean} true iff there are no nodes in the list\n */\nLinkedList.prototype.isEmpty = function () {\n return this.length === 0\n}\n\n/**\n * Dispose all nodes\n * @returns {Promise} promise that fulfills when all nodes have been disposed,\n * or rejects if an error occurs while disposing\n */\nLinkedList.prototype.dispose = function () {\n if (this.isEmpty()) {\n return Promise.resolve()\n }\n\n var promises = []\n var x = this.head\n this.head = null\n this.length = 0\n\n while (x !== null) {\n promises.push(x.dispose())\n x = x.next\n }\n\n return Promise.all(promises)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js": -/*!************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js ***! - \************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isPromise: () => (/* binding */ isPromise)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction isPromise (p) {\n return p !== null && typeof p === 'object' && typeof p.then === 'function'\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Queue)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n// Based on https://github.com/petkaantonov/deque\n\nfunction Queue (capPow2) {\n this._capacity = capPow2 || 32\n this._length = 0\n this._head = 0\n}\n\nQueue.prototype.push = function (x) {\n var len = this._length\n this._checkCapacity(len + 1)\n\n var i = (this._head + len) & (this._capacity - 1)\n this[i] = x\n this._length = len + 1\n}\n\nQueue.prototype.shift = function () {\n var head = this._head\n var x = this[head]\n\n this[head] = void 0\n this._head = (head + 1) & (this._capacity - 1)\n this._length--\n return x\n}\n\nQueue.prototype.isEmpty = function () {\n return this._length === 0\n}\n\nQueue.prototype.length = function () {\n return this._length\n}\n\nQueue.prototype._checkCapacity = function (size) {\n if (this._capacity < size) {\n this._ensureCapacity(this._capacity << 1)\n }\n}\n\nQueue.prototype._ensureCapacity = function (capacity) {\n var oldCapacity = this._capacity\n this._capacity = capacity\n\n var last = this._head + this._length\n\n if (last > oldCapacity) {\n copy(this, 0, this, oldCapacity, last & (oldCapacity - 1))\n }\n}\n\nfunction copy (src, srcIndex, dst, dstIndex, len) {\n for (var j = 0; j < len; ++j) {\n dst[j + dstIndex] = src[j + srcIndex]\n src[j + srcIndex] = void 0\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js": -/*!***********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Stream)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction Stream (source) {\n this.source = source\n}\n\nStream.prototype.run = function (sink, scheduler) {\n return this.source.run(sink, scheduler)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js": -/*!**************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js ***! - \**************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ reduce: () => (/* binding */ reduce),\n/* harmony export */ scan: () => (/* binding */ scan)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../runSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @param {Stream} stream stream to scan\n * @returns {Stream} new stream containing successive reduce results\n */\nfunction scan (f, initial, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Scan(f, initial, stream.source))\n}\n\nfunction Scan (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nScan.prototype.run = function (sink, scheduler) {\n var d1 = scheduler.asap(_scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"].event(this.value, sink))\n var d2 = this.source.run(new ScanSink(this.f, this.value, sink), scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.all([d1, d2])\n}\n\nfunction ScanSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nScanSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nScanSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nScanSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\n/**\n* Reduce a stream to produce a single result. Note that reducing an infinite\n* stream will return a Promise that never fulfills, but that may reject if an error\n* occurs.\n* @param {function(result:*, x:*):*} f reducer function\n* @param {*} initial initial value\n* @param {Stream} stream to reduce\n* @returns {Promise} promise for the file result of the reduce\n*/\nfunction reduce (f, initial, stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_2__.withDefaultScheduler)(new Reduce(f, initial, stream.source))\n}\n\nfunction Reduce (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nReduce.prototype.run = function (sink, scheduler) {\n return this.source.run(new ReduceSink(this.f, this.value, sink), scheduler)\n}\n\nfunction ReduceSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nReduceSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nReduceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nReduceSink.prototype.end = function (t) {\n this.sink.end(t, this.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js": -/*!***************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js ***! - \***************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ap: () => (/* binding */ ap)\n/* harmony export */ });\n/* harmony import */ var _combine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./combine */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Assume fs is a stream containing functions, and apply the latest function\n * in fs to the latest value in xs.\n * fs: --f---------g--------h------>\n * xs: -a-------b-------c-------d-->\n * ap(fs, xs): --fa-----fb-gb---gc--hc--hd->\n * @param {Stream} fs stream of functions to apply to the latest x\n * @param {Stream} xs stream of values to which to apply all the latest f\n * @returns {Stream} stream containing all the applications of fs to xs\n */\nfunction ap (fs, xs) {\n return (0,_combine__WEBPACK_IMPORTED_MODULE_0__.combine)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.apply, fs, xs)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ cons: () => (/* binding */ cons)\n/* harmony export */ });\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _continueWith__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continueWith */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * @param {*} x value to prepend\n * @param {Stream} stream\n * @returns {Stream} new stream with x prepended\n */\nfunction cons (x, stream) {\n return concat((0,_source_core__WEBPACK_IMPORTED_MODULE_0__.of)(x), stream)\n}\n\n/**\n* @param {Stream} left\n* @param {Stream} right\n* @returns {Stream} new stream containing all events in left followed by all\n* events in right. This *timeshifts* right to the end of left.\n*/\nfunction concat (left, right) {\n return (0,_continueWith__WEBPACK_IMPORTED_MODULE_1__.continueWith)(function () {\n return right\n }, left)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ combineArray: () => (/* binding */ combineArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\nfunction combine (f /*, ...streams */) {\n return combineArray(f, tail(arguments))\n}\n\n/**\n* Combine latest events from all input streams\n* @param {function(...events):*} f function to combine most recent events\n* @param {[Stream]} streams most recent events\n* @returns {Stream} stream containing the result of applying f to the most recent\n* event of each input stream, whenever a new event arrives on any stream.\n*/\nfunction combineArray (f, streams) {\n var l = streams.length\n return l === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : l === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](combineSources(f, streams))\n}\n\nfunction combineSources (f, streams) {\n return new Combine(f, map(getSource, streams))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Combine (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nCombine.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new CombineSink(disposables, sinks, sink, this.f)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction CombineSink (disposables, sinks, sink, f) {\n this.sink = sink\n this.disposables = disposables\n this.sinks = sinks\n this.f = f\n\n var l = sinks.length\n this.awaiting = l\n this.values = new Array(l)\n this.hasValue = new Array(l)\n for (var i = 0; i < l; ++i) {\n this.hasValue[i] = false\n }\n\n this.activeCount = sinks.length\n}\n\nCombineSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nCombineSink.prototype.event = function (t, indexedValue) {\n var i = indexedValue.index\n var awaiting = this._updateReady(i)\n\n this.values[i] = indexedValue.value\n if (awaiting === 0) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(this.f, this.values))\n }\n}\n\nCombineSink.prototype._updateReady = function (index) {\n if (this.awaiting > 0) {\n if (!this.hasValue[index]) {\n this.hasValue[index] = true\n this.awaiting -= 1\n }\n }\n return this.awaiting\n}\n\nCombineSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concatMap: () => (/* binding */ concatMap)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in stream to a new stream, and concatenate them all\n * stream: -a---b---cX\n * f(a): 1-1-1-1X\n * f(b): -2-2-2-2X\n * f(c): -3-3-3-3X\n * stream.concatMap(f): -1-1-1-1-2-2-2-2-3-3-3-3X\n * @param {function(x:*):Stream} f function to map each value to a stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction concatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, 1, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ continueWith: () => (/* binding */ continueWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction continueWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ContinueWith(f, stream.source))\n}\n\nfunction ContinueWith (f, source) {\n this.f = f\n this.source = source\n}\n\nContinueWith.prototype.run = function (sink, scheduler) {\n return new ContinueWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction ContinueWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.once(source.run(this, scheduler))\n}\n\nContinueWithSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nContinueWithSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nContinueWithSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, x, this.sink)\n}\n\nContinueWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nContinueWithSink.prototype._continue = function (f, x, sink) {\n return f(x).source.run(sink, this.scheduler)\n}\n\nContinueWithSink.prototype.dispose = function () {\n this.active = false\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ delay: () => (/* binding */ delay)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @param {Stream} stream\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\nfunction delay (delayTime, stream) {\n return delayTime <= 0 ? stream\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Delay(delayTime, stream.source))\n}\n\nfunction Delay (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDelay.prototype.run = function (sink, scheduler) {\n var delaySink = new DelaySink(this.dt, sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([delaySink, this.source.run(delaySink, scheduler)])\n}\n\nfunction DelaySink (dt, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n}\n\nDelaySink.prototype.dispose = function () {\n var self = this\n this.scheduler.cancelAll(function (task) {\n return task.sink === self.sink\n })\n}\n\nDelaySink.prototype.event = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].event(x, this.sink))\n}\n\nDelaySink.prototype.end = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].end(x, this.sink))\n}\n\nDelaySink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMapError: () => (/* binding */ flatMapError),\n/* harmony export */ recoverWith: () => (/* binding */ recoverWith),\n/* harmony export */ throwError: () => (/* binding */ throwError)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/SafeSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * If stream encounters an error, recover and continue with items from stream\n * returned by f.\n * @param {function(error:*):Stream} f function which returns a new stream\n * @param {Stream} stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\nfunction recoverWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new RecoverWith(f, stream.source))\n}\n\nvar flatMapError = recoverWith\n\n/**\n * Create a stream containing only an error\n * @param {*} e error value, preferably an Error or Error subtype\n * @returns {Stream} new stream containing only an error\n */\nfunction throwError (e) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ErrorSource(e))\n}\n\nfunction ErrorSource (e) {\n this.value = e\n}\n\nErrorSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"](runError, this.value, sink))\n}\n\nfunction runError (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction RecoverWith (f, source) {\n this.f = f\n this.source = source\n}\n\nRecoverWith.prototype.run = function (sink, scheduler) {\n return new RecoverWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction RecoverWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = new _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__[\"default\"](sink)\n this.scheduler = scheduler\n this.disposable = source.run(this, scheduler)\n}\n\nRecoverWithSink.prototype.event = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEvent(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.end = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEnd(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.error = function (t, e) {\n var nextSink = this.sink.disable()\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, e, nextSink)\n}\n\nRecoverWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nRecoverWithSink.prototype._continue = function (f, x, sink) {\n var stream = f(x)\n return stream.source.run(sink, this.scheduler)\n}\n\nRecoverWithSink.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ filter: () => (/* binding */ filter),\n/* harmony export */ skipRepeats: () => (/* binding */ skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* binding */ skipRepeatsWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _fusion_Filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fusion/Filter */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Retain only items matching a predicate\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @param {Stream} stream stream to filter\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\nfunction filter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"].create(p, stream.source))\n}\n\n/**\n * Skip repeated events, using === to detect duplicates\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeats (stream) {\n return skipRepeatsWith(same, stream)\n}\n\n/**\n * Skip repeated events using the provided equals function to detect duplicates\n * @param {function(a:*, b:*):boolean} equals optional function to compare items\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeatsWith (equals, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipRepeats(equals, stream.source))\n}\n\nfunction SkipRepeats (equals, source) {\n this.equals = equals\n this.source = source\n}\n\nSkipRepeats.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipRepeatsSink(this.equals, sink), scheduler)\n}\n\nfunction SkipRepeatsSink (equals, sink) {\n this.equals = equals\n this.sink = sink\n this.value = void 0\n this.init = true\n}\n\nSkipRepeatsSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipRepeatsSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipRepeatsSink.prototype.event = function (t, x) {\n if (this.init) {\n this.init = false\n this.value = x\n this.sink.event(t, x)\n } else if (!this.equals(this.value, x)) {\n this.value = x\n this.sink.event(t, x)\n }\n}\n\nfunction same (a, b) {\n return a === b\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMap: () => (/* binding */ flatMap),\n/* harmony export */ join: () => (/* binding */ join)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction flatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, Infinity, stream)\n}\n\n/**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @param {Stream>} stream stream of streams\n * @returns {Stream} new stream containing all events of all inner streams\n */\nfunction join (stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeConcurrently)(Infinity, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ debounce: () => (/* binding */ debounce),\n/* harmony export */ throttle: () => (/* binding */ throttle)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n/**\n * Limit the rate of events by suppressing events that occur too often\n * @param {Number} period time to suppress events\n * @param {Stream} stream\n * @returns {Stream}\n */\nfunction throttle (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](throttleSource(period, stream.source))\n}\n\nfunction throttleSource (period, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_3__[\"default\"] ? commuteMapThrottle(period, source)\n : source instanceof Throttle ? fuseThrottle(period, source)\n : new Throttle(period, source)\n}\n\nfunction commuteMapThrottle (period, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_3__[\"default\"].create(source.f, throttleSource(period, source.source))\n}\n\nfunction fuseThrottle (period, source) {\n return new Throttle(Math.max(period, source.period), source.source)\n}\n\nfunction Throttle (period, source) {\n this.period = period\n this.source = source\n}\n\nThrottle.prototype.run = function (sink, scheduler) {\n return this.source.run(new ThrottleSink(this.period, sink), scheduler)\n}\n\nfunction ThrottleSink (period, sink) {\n this.time = 0\n this.period = period\n this.sink = sink\n}\n\nThrottleSink.prototype.event = function (t, x) {\n if (t >= this.time) {\n this.time = t + this.period\n this.sink.event(t, x)\n }\n}\n\nThrottleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nThrottleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * @param {Number} period events occuring more frequently than this\n * will be suppressed\n * @param {Stream} stream stream to debounce\n * @returns {Stream} new debounced stream\n */\nfunction debounce (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Debounce(period, stream.source))\n}\n\nfunction Debounce (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDebounce.prototype.run = function (sink, scheduler) {\n return new DebounceSink(this.dt, this.source, sink, scheduler)\n}\n\nfunction DebounceSink (dt, source, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n this.value = void 0\n this.timer = null\n this.disposable = source.run(this, scheduler)\n}\n\nDebounceSink.prototype.event = function (t, x) {\n this._clearTimer()\n this.value = x\n this.timer = this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"].event(x, this.sink))\n}\n\nDebounceSink.prototype.end = function (t, x) {\n if (this._clearTimer()) {\n this.sink.event(t, this.value)\n this.value = void 0\n }\n this.sink.end(t, x)\n}\n\nDebounceSink.prototype.error = function (t, x) {\n this._clearTimer()\n this.sink.error(t, x)\n}\n\nDebounceSink.prototype.dispose = function () {\n this._clearTimer()\n return this.disposable.dispose()\n}\n\nDebounceSink.prototype._clearTimer = function () {\n if (this.timer === null) {\n return false\n }\n this.timer.dispose()\n this.timer = null\n return true\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loop: () => (/* binding */ loop)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @param {Stream} stream event stream\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\nfunction loop (stepper, seed, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Loop(stepper, seed, stream.source))\n}\n\nfunction Loop (stepper, seed, source) {\n this.step = stepper\n this.seed = seed\n this.source = source\n}\n\nLoop.prototype.run = function (sink, scheduler) {\n return this.source.run(new LoopSink(this.step, this.seed, sink), scheduler)\n}\n\nfunction LoopSink (stepper, seed, sink) {\n this.step = stepper\n this.seed = seed\n this.sink = sink\n}\n\nLoopSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLoopSink.prototype.event = function (t, x) {\n var result = this.step(this.seed, x)\n this.seed = result.seed\n this.sink.event(t, result.value)\n}\n\nLoopSink.prototype.end = function (t) {\n this.sink.end(t, this.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ merge: () => (/* binding */ merge),\n/* harmony export */ mergeArray: () => (/* binding */ mergeArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\nvar copy = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.copy\nvar reduce = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.reduce\n\n/**\n * @returns {Stream} stream containing events from all streams in the argument\n * list in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction merge (/* ...streams*/) {\n return mergeArray(copy(arguments))\n}\n\n/**\n * @param {Array} streams array of stream to merge\n * @returns {Stream} stream containing events from all input observables\n * in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction mergeArray (streams) {\n var l = streams.length\n return l === 0 ? (0,_source_core__WEBPACK_IMPORTED_MODULE_3__.empty)()\n : l === 1 ? streams[0]\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](mergeSources(streams))\n}\n\n/**\n * This implements fusion/flattening for merge. It will\n * fuse adjacent merge operations. For example:\n * - a.merge(b).merge(c) effectively becomes merge(a, b, c)\n * - merge(a, merge(b, c)) effectively becomes merge(a, b, c)\n * It does this by concatenating the sources arrays of\n * any nested Merge sources, in effect \"flattening\" nested\n * merge operations into a single merge.\n */\nfunction mergeSources (streams) {\n return new Merge(reduce(appendSources, [], streams))\n}\n\nfunction appendSources (sources, stream) {\n var source = stream.source\n return source instanceof Merge\n ? sources.concat(source.sources)\n : sources.concat(source)\n}\n\nfunction Merge (sources) {\n this.sources = sources\n}\n\nMerge.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new MergeSink(disposables, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.all(disposables)\n}\n\nfunction MergeSink (disposables, sinks, sink) {\n this.sink = sink\n this.disposables = disposables\n this.activeCount = sinks.length\n}\n\nMergeSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nMergeSink.prototype.event = function (t, indexValue) {\n this.sink.event(t, indexValue.value)\n}\n\nMergeSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js": -/*!*********************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js ***! - \*********************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mergeConcurrently: () => (/* binding */ mergeConcurrently),\n/* harmony export */ mergeMapConcurrently: () => (/* binding */ mergeMapConcurrently)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _LinkedList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LinkedList */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction mergeConcurrently (concurrency, stream) {\n return mergeMapConcurrently(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, concurrency, stream)\n}\n\nfunction mergeMapConcurrently (f, concurrency, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new MergeConcurrently(f, concurrency, stream.source))\n}\n\nfunction MergeConcurrently (f, concurrency, source) {\n this.f = f\n this.concurrency = concurrency\n this.source = source\n}\n\nMergeConcurrently.prototype.run = function (sink, scheduler) {\n return new Outer(this.f, this.concurrency, this.source, sink, scheduler)\n}\n\nfunction Outer (f, concurrency, source, sink, scheduler) {\n this.f = f\n this.concurrency = concurrency\n this.sink = sink\n this.scheduler = scheduler\n this.pending = []\n this.current = new _LinkedList__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.once(source.run(this, scheduler))\n this.active = true\n}\n\nOuter.prototype.event = function (t, x) {\n this._addInner(t, x)\n}\n\nOuter.prototype._addInner = function (t, x) {\n if (this.current.length < this.concurrency) {\n this._startInner(t, x)\n } else {\n this.pending.push(x)\n }\n}\n\nOuter.prototype._startInner = function (t, x) {\n try {\n this._initInner(t, x)\n } catch (e) {\n this.error(t, e)\n }\n}\n\nOuter.prototype._initInner = function (t, x) {\n var innerSink = new Inner(t, this, this.sink)\n innerSink.disposable = mapAndRun(this.f, x, innerSink, this.scheduler)\n this.current.add(innerSink)\n}\n\nfunction mapAndRun (f, x, sink, scheduler) {\n return f(x).source.run(sink, scheduler)\n}\n\nOuter.prototype.end = function (t, x) {\n this.active = false\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n this._checkEnd(t, x)\n}\n\nOuter.prototype.error = function (t, e) {\n this.active = false\n this.sink.error(t, e)\n}\n\nOuter.prototype.dispose = function () {\n this.active = false\n this.pending.length = 0\n return Promise.all([this.disposable.dispose(), this.current.dispose()])\n}\n\nOuter.prototype._endInner = function (t, x, inner) {\n this.current.remove(inner)\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, inner, this)\n\n if (this.pending.length === 0) {\n this._checkEnd(t, x)\n } else {\n this._startInner(t, this.pending.shift())\n }\n}\n\nOuter.prototype._checkEnd = function (t, x) {\n if (!this.active && this.current.isEmpty()) {\n this.sink.end(t, x)\n }\n}\n\nfunction Inner (time, outer, sink) {\n this.prev = this.next = null\n this.time = time\n this.outer = outer\n this.sink = sink\n this.disposable = void 0\n}\n\nInner.prototype.event = function (t, x) {\n this.sink.event(Math.max(t, this.time), x)\n}\n\nInner.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.time), x, this)\n}\n\nInner.prototype.error = function (t, e) {\n this.outer.error(Math.max(t, this.time), e)\n}\n\nInner.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drain: () => (/* binding */ drain),\n/* harmony export */ observe: () => (/* binding */ observe)\n/* harmony export */ });\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../runSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Observe all the event values in the stream in time order. The\n * provided function `f` will be called for each event value\n * @param {function(x:T):*} f function to call with each event value\n * @param {Stream} stream stream to observe\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction observe (f, stream) {\n return drain((0,_transform__WEBPACK_IMPORTED_MODULE_1__.tap)(f, stream))\n}\n\n/**\n * \"Run\" a stream by creating demand and consuming all events\n * @param {Stream} stream stream to drain\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction drain (stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_0__.withDefaultScheduler)(stream.source)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ awaitPromises: () => (/* binding */ awaitPromises),\n/* harmony export */ fromPromise: () => (/* binding */ fromPromise)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fatalError */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream containing only the promise's fulfillment\n * value at the time it fulfills.\n * @param {Promise} p promise\n * @return {Stream} stream containing promise's fulfillment value.\n * If the promise rejects, the stream will error\n */\nfunction fromPromise (p) {\n return awaitPromises((0,_source_core__WEBPACK_IMPORTED_MODULE_2__.of)(p))\n}\n\n/**\n * Turn a Stream> into Stream by awaiting each promise.\n * Event order is preserved.\n * @param {Stream>} stream\n * @return {Stream} stream of fulfillment values. The stream will\n * error if any promise rejects.\n */\nfunction awaitPromises (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Await(stream.source))\n}\n\nfunction Await (source) {\n this.source = source\n}\n\nAwait.prototype.run = function (sink, scheduler) {\n return this.source.run(new AwaitSink(sink, scheduler), scheduler)\n}\n\nfunction AwaitSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.queue = Promise.resolve()\n var self = this\n\n\t// Pre-create closures, to avoid creating them per event\n this._eventBound = function (x) {\n self.sink.event(self.scheduler.now(), x)\n }\n\n this._endBound = function (x) {\n self.sink.end(self.scheduler.now(), x)\n }\n\n this._errorBound = function (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n}\n\nAwaitSink.prototype.event = function (t, promise) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._event(promise)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.end = function (t, x) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._end(x)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.error = function (t, e) {\n var self = this\n // Don't resolve error values, propagate directly\n this.queue = this.queue.then(function () {\n return self._errorBound(e)\n }).catch(_fatalError__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nAwaitSink.prototype._event = function (promise) {\n return promise.then(this._eventBound)\n}\n\nAwaitSink.prototype._end = function (x) {\n return Promise.resolve(x).then(this._endBound)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sample: () => (/* binding */ sample),\n/* harmony export */ sampleArray: () => (/* binding */ sampleArray),\n/* harmony export */ sampleWith: () => (/* binding */ sampleWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../invoke */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * When an event arrives on sampler, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @param {Stream} sampler streams will be sampled whenever an event arrives\n * on sampler\n * @returns {Stream} stream of sampled and transformed values\n */\nfunction sample (f, sampler /*, ...streams */) {\n return sampleArray(f, sampler, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.drop(2, arguments))\n}\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * stream's latest value will be propagated\n * @param {Stream} stream stream of values\n * @returns {Stream} sampled stream of values\n */\nfunction sampleWith (sampler, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, sampler.source, [stream.source]))\n}\n\nfunction sampleArray (f, sampler, streams) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(f, sampler.source, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Sampler (f, sampler, sources) {\n this.f = f\n this.sampler = sampler\n this.sources = sources\n}\n\nSampler.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l + 1)\n var sinks = new Array(l)\n\n var sampleSink = new SampleSink(this.f, sinks, sink)\n\n for (var hold, i = 0; i < l; ++i) {\n hold = sinks[i] = new Hold(sampleSink)\n disposables[i] = this.sources[i].run(hold, scheduler)\n }\n\n disposables[i] = this.sampler.run(sampleSink, scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all(disposables)\n}\n\nfunction Hold (sink) {\n this.sink = sink\n this.hasValue = false\n}\n\nHold.prototype.event = function (t, x) {\n this.value = x\n this.hasValue = true\n this.sink._notify(this)\n}\n\nHold.prototype.end = function () {}\nHold.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction SampleSink (f, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.active = false\n}\n\nSampleSink.prototype._notify = function () {\n if (!this.active) {\n this.active = this.sinks.every(hasValue)\n }\n}\n\nSampleSink.prototype.event = function (t) {\n if (this.active) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.f, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getValue, this.sinks)))\n }\n}\n\nSampleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSampleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction hasValue (hold) {\n return hold.hasValue\n}\n\nfunction getValue (hold) {\n return hold.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ skip: () => (/* binding */ skip),\n/* harmony export */ skipAfter: () => (/* binding */ skipAfter),\n/* harmony export */ skipWhile: () => (/* binding */ skipWhile),\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ take: () => (/* binding */ take),\n/* harmony export */ takeWhile: () => (/* binding */ takeWhile)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream containing only up to the first n items from stream\n */\nfunction take (n, stream) {\n return slice(0, n, stream)\n}\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream with the first n items removed\n */\nfunction skip (n, stream) {\n return slice(n, Infinity, stream)\n}\n\n/**\n * Slice a stream by index. Negative start/end indexes are not supported\n * @param {number} start\n * @param {number} end\n * @param {Stream} stream\n * @returns {Stream} stream containing items where start <= index < end\n */\nfunction slice (start, end, stream) {\n return end <= start ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sliceSource(start, end, stream.source))\n}\n\nfunction sliceSource (start, end, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"] ? commuteMapSlice(start, end, source)\n : source instanceof Slice ? fuseSlice(start, end, source)\n : new Slice(start, end, source)\n}\n\nfunction commuteMapSlice (start, end, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"].create(source.f, sliceSource(start, end, source.source))\n}\n\nfunction fuseSlice (start, end, source) {\n start += source.min\n end = Math.min(end + source.min, source.max)\n return new Slice(start, end, source.source)\n}\n\nfunction Slice (min, max, source) {\n this.source = source\n this.min = min\n this.max = max\n}\n\nSlice.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var sliceSink = new SliceSink(this.min, this.max - this.min, sink, disposable)\n\n disposable.setDisposable(this.source.run(sliceSink, scheduler))\n return disposable\n}\n\nfunction SliceSink (skip, take, sink, disposable) {\n this.sink = sink\n this.skip = skip\n this.take = take\n this.disposable = disposable\n}\n\nSliceSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSliceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSliceSink.prototype.event = function (t, x) {\n /* eslint complexity: [1, 4] */\n if (this.skip > 0) {\n this.skip -= 1\n return\n }\n\n if (this.take === 0) {\n return\n }\n\n this.take -= 1\n this.sink.event(t, x)\n if (this.take === 0) {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction takeWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new TakeWhile(p, stream.source))\n}\n\nfunction TakeWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nTakeWhile.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var takeWhileSink = new TakeWhileSink(this.p, sink, disposable)\n\n disposable.setDisposable(this.source.run(takeWhileSink, scheduler))\n return disposable\n}\n\nfunction TakeWhileSink (p, sink, disposable) {\n this.p = p\n this.sink = sink\n this.active = true\n this.disposable = disposable\n}\n\nTakeWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTakeWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTakeWhileSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n var p = this.p\n this.active = p(x)\n if (this.active) {\n this.sink.event(t, x)\n } else {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction skipWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipWhile(p, stream.source))\n}\n\nfunction SkipWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipWhile.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipWhileSink(this.p, sink), scheduler)\n}\n\nfunction SkipWhileSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = true\n}\n\nSkipWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipWhileSink.prototype.event = function (t, x) {\n if (this.skipping) {\n var p = this.p\n this.skipping = p(x)\n if (this.skipping) {\n return\n }\n }\n\n this.sink.event(t, x)\n}\n\nfunction skipAfter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipAfter(p, stream.source))\n}\n\nfunction SkipAfter (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipAfter.prototype.run = function run (sink, scheduler) {\n return this.source.run(new SkipAfterSink(this.p, sink), scheduler)\n}\n\nfunction SkipAfterSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = false\n}\n\nSkipAfterSink.prototype.event = function event (t, x) {\n if (this.skipping) {\n return\n }\n\n var p = this.p\n this.skipping = p(x)\n this.sink.event(t, x)\n\n if (this.skipping) {\n this.sink.end(t, x)\n }\n}\n\nSkipAfterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipAfterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"switch\": () => (/* binding */ switchLatest),\n/* harmony export */ switchLatest: () => (/* binding */ switchLatest)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @param {Stream} stream of streams on which to switch\n * @returns {Stream} switching stream\n */\nfunction switchLatest (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Switch(stream.source))\n}\n\n\n\nfunction Switch (source) {\n this.source = source\n}\n\nSwitch.prototype.run = function (sink, scheduler) {\n var switchSink = new SwitchSink(sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.all([switchSink, this.source.run(switchSink, scheduler)])\n}\n\nfunction SwitchSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.current = null\n this.ended = false\n}\n\nSwitchSink.prototype.event = function (t, stream) {\n this._disposeCurrent(t) // TODO: capture the result of this dispose\n this.current = new Segment(t, Infinity, this, this.sink)\n this.current.disposable = stream.source.run(this.current, this.scheduler)\n}\n\nSwitchSink.prototype.end = function (t, x) {\n this.ended = true\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype.error = function (t, e) {\n this.ended = true\n this.sink.error(t, e)\n}\n\nSwitchSink.prototype.dispose = function () {\n return this._disposeCurrent(this.scheduler.now())\n}\n\nSwitchSink.prototype._disposeCurrent = function (t) {\n if (this.current !== null) {\n return this.current._dispose(t)\n }\n}\n\nSwitchSink.prototype._disposeInner = function (t, inner) {\n inner._dispose(t) // TODO: capture the result of this dispose\n if (inner === this.current) {\n this.current = null\n }\n}\n\nSwitchSink.prototype._checkEnd = function (t, x) {\n if (this.ended && this.current === null) {\n this.sink.end(t, x)\n }\n}\n\nSwitchSink.prototype._endInner = function (t, x, inner) {\n this._disposeInner(t, inner)\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype._errorInner = function (t, e, inner) {\n this._disposeInner(t, inner)\n this.sink.error(t, e)\n}\n\nfunction Segment (min, max, outer, sink) {\n this.min = min\n this.max = max\n this.outer = outer\n this.sink = sink\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nSegment.prototype.event = function (t, x) {\n if (t < this.max) {\n this.sink.event(Math.max(t, this.min), x)\n }\n}\n\nSegment.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.min), x, this)\n}\n\nSegment.prototype.error = function (t, e) {\n this.outer._errorInner(Math.max(t, this.min), e, this)\n}\n\nSegment.prototype._dispose = function (t) {\n this.max = t\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ thru: () => (/* binding */ thru)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2017 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction thru (f, stream) {\n return f(stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ during: () => (/* binding */ during),\n/* harmony export */ skipUntil: () => (/* binding */ skipUntil),\n/* harmony export */ takeUntil: () => (/* binding */ takeUntil)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../combinator/flatMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction takeUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Until(signal.source, stream.source))\n}\n\nfunction skipUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Since(signal.source, stream.source))\n}\n\nfunction during (timeWindow, stream) {\n return takeUntil((0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__.join)(timeWindow), skipUntil(timeWindow, stream))\n}\n\nfunction Until (maxSignal, source) {\n this.maxSignal = maxSignal\n this.source = source\n}\n\nUntil.prototype.run = function (sink, scheduler) {\n var min = new Bound(-Infinity, sink)\n var max = new UpperBound(this.maxSignal, sink, scheduler)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Since (minSignal, source) {\n this.minSignal = minSignal\n this.source = source\n}\n\nSince.prototype.run = function (sink, scheduler) {\n var min = new LowerBound(this.minSignal, sink, scheduler)\n var max = new Bound(Infinity, sink)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Bound (value, sink) {\n this.value = value\n this.sink = sink\n}\n\nBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nBound.prototype.event = noop\nBound.prototype.end = noop\nBound.prototype.dispose = noop\n\nfunction TimeWindowSink (min, max, sink) {\n this.min = min\n this.max = max\n this.sink = sink\n}\n\nTimeWindowSink.prototype.event = function (t, x) {\n if (t >= this.min.value && t < this.max.value) {\n this.sink.event(t, x)\n }\n}\n\nTimeWindowSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nTimeWindowSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nfunction LowerBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nLowerBound.prototype.event = function (t /*, x */) {\n if (t < this.value) {\n this.value = t\n }\n}\n\nLowerBound.prototype.end = noop\nLowerBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLowerBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction UpperBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nUpperBound.prototype.event = function (t, x) {\n if (t < this.value) {\n this.value = t\n this.sink.end(t, x)\n }\n}\n\nUpperBound.prototype.end = noop\nUpperBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nUpperBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction noop () {}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ timestamp: () => (/* binding */ timestamp)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction timestamp (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Timestamp(stream.source))\n}\n\nfunction Timestamp (source) {\n this.source = source\n}\n\nTimestamp.prototype.run = function (sink, scheduler) {\n return this.source.run(new TimestampSink(sink), scheduler)\n}\n\nfunction TimestampSink (sink) {\n this.sink = sink\n}\n\nTimestampSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTimestampSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTimestampSink.prototype.event = function (t, x) {\n this.sink.event(t, { time: t, value: x })\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ transduce: () => (/* binding */ transduce)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Transform a stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @param {Stream} stream stream whose events will be passed through the\n * transducer\n * @return {Stream} stream of events transformed by the transducer\n */\nfunction transduce (transducer, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Transduce(transducer, stream.source))\n}\n\nfunction Transduce (transducer, source) {\n this.transducer = transducer\n this.source = source\n}\n\nTransduce.prototype.run = function (sink, scheduler) {\n var xf = this.transducer(new Transformer(sink))\n return this.source.run(new TransduceSink(getTxHandler(xf), sink), scheduler)\n}\n\nfunction TransduceSink (adapter, sink) {\n this.xf = adapter\n this.sink = sink\n}\n\nTransduceSink.prototype.event = function (t, x) {\n var next = this.xf.step(t, x)\n\n return this.xf.isReduced(next)\n ? this.sink.end(t, this.xf.getResult(next))\n : next\n}\n\nTransduceSink.prototype.end = function (t, x) {\n return this.xf.result(x)\n}\n\nTransduceSink.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\nfunction Transformer (sink) {\n this.time = -Infinity\n this.sink = sink\n}\n\nTransformer.prototype['@@transducer/init'] = Transformer.prototype.init = function () {}\n\nTransformer.prototype['@@transducer/step'] = Transformer.prototype.step = function (t, x) {\n if (!isNaN(t)) {\n this.time = Math.max(t, this.time)\n }\n return this.sink.event(this.time, x)\n}\n\nTransformer.prototype['@@transducer/result'] = Transformer.prototype.result = function (x) {\n return this.sink.end(this.time, x)\n}\n\n/**\n* Given an object supporting the new or legacy transducer protocol,\n* create an adapter for it.\n* @param {object} tx transform\n* @returns {TxAdapter|LegacyTxAdapter}\n*/\nfunction getTxHandler (tx) {\n return typeof tx['@@transducer/step'] === 'function'\n ? new TxAdapter(tx)\n : new LegacyTxAdapter(tx)\n}\n\n/**\n* Adapter for new official transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction TxAdapter (tx) {\n this.tx = tx\n}\n\nTxAdapter.prototype.step = function (t, x) {\n return this.tx['@@transducer/step'](t, x)\n}\nTxAdapter.prototype.result = function (x) {\n return this.tx['@@transducer/result'](x)\n}\nTxAdapter.prototype.isReduced = function (x) {\n return x != null && x['@@transducer/reduced']\n}\nTxAdapter.prototype.getResult = function (x) {\n return x['@@transducer/value']\n}\n\n/**\n* Adapter for older transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction LegacyTxAdapter (tx) {\n this.tx = tx\n}\n\nLegacyTxAdapter.prototype.step = function (t, x) {\n return this.tx.step(t, x)\n}\nLegacyTxAdapter.prototype.result = function (x) {\n return this.tx.result(x)\n}\nLegacyTxAdapter.prototype.isReduced = function (x) {\n return x != null && x.__transducers_reduced__\n}\nLegacyTxAdapter.prototype.getResult = function (x) {\n return x.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ constant: () => (/* binding */ constant),\n/* harmony export */ map: () => (/* binding */ map),\n/* harmony export */ tap: () => (/* binding */ tap)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @param {Stream} stream stream to map\n * @returns {Stream} stream containing items transformed by f\n */\nfunction map (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Map__WEBPACK_IMPORTED_MODULE_1__[\"default\"].create(f, stream.source))\n}\n\n/**\n* Replace each value in the stream with x\n* @param {*} x\n* @param {Stream} stream\n* @returns {Stream} stream containing items replaced with x\n*/\nfunction constant (x, stream) {\n return map(function () {\n return x\n }, stream)\n}\n\n/**\n* Perform a side effect for each item in the stream\n* @param {function(x:*):*} f side effect to execute for each item. The\n* return value will be discarded.\n* @param {Stream} stream stream to tap\n* @returns {Stream} new stream containing the same items as this stream\n*/\nfunction tap (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Tap(f, stream.source))\n}\n\nfunction Tap (f, source) {\n this.source = source\n this.f = f\n}\n\nTap.prototype.run = function (sink, scheduler) {\n return this.source.run(new TapSink(this.f, sink), scheduler)\n}\n\nfunction TapSink (f, sink) {\n this.sink = sink\n this.f = f\n}\n\nTapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.end\nTapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.error\n\nTapSink.prototype.event = function (t, x) {\n var f = this.f\n f(x)\n this.sink.event(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js": -/*!*******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ zip: () => (/* binding */ zip),\n/* harmony export */ zipArray: () => (/* binding */ zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js\");\n/* harmony import */ var _Queue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Queue */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine streams pairwise (or tuple-wise) by index by applying f to values\n * at corresponding indices. The returned stream ends when any of the input\n * streams ends.\n * @param {function} f function to combine values\n * @returns {Stream} new stream with items at corresponding indices combined\n * using f\n */\nfunction zip (f /*, ...streams */) {\n return zipArray(f, tail(arguments))\n}\n\n/**\n* Combine streams pairwise (or tuple-wise) by index by applying f to values\n* at corresponding indices. The returned stream ends when any of the input\n* streams ends.\n* @param {function} f function to combine values\n* @param {[Stream]} streams streams to zip using f\n* @returns {Stream} new stream with items at corresponding indices combined\n* using f\n*/\nfunction zipArray (f, streams) {\n return streams.length === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n: streams.length === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n: new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Zip(f, map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Zip (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nZip.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n var buffers = new Array(l)\n\n var zipSink = new ZipSink(this.f, buffers, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n buffers[i] = new _Queue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]()\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, zipSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction ZipSink (f, buffers, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.buffers = buffers\n}\n\nZipSink.prototype.event = function (t, indexedValue) { // eslint-disable-line complexity\n var buffers = this.buffers\n var buffer = buffers[indexedValue.index]\n\n buffer.push(indexedValue.value)\n\n if (buffer.length() === 1) {\n if (!ready(this.buffers)) {\n return\n }\n\n emitZipped(this.f, t, buffers, this.sink)\n\n if (ended(this.buffers, this.sinks)) {\n this.sink.end(t, void 0)\n }\n }\n}\n\nZipSink.prototype.end = function (t, indexedValue) {\n var buffer = this.buffers[indexedValue.index]\n if (buffer.isEmpty()) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\nZipSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nfunction emitZipped (f, t, buffers, sink) {\n sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(f, map(head, buffers)))\n}\n\nfunction head (buffer) {\n return buffer.shift()\n}\n\nfunction ended (buffers, sinks) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty() && !sinks[i].active) {\n return true\n }\n }\n return false\n}\n\nfunction ready (buffers) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty()) {\n return false\n }\n }\n return true\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js": -/*!**************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js ***! - \**************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Disposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Create a new Disposable which will dispose its underlying resource.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @constructor\n */\nfunction Disposable (dispose, data) {\n this._dispose = dispose\n this._data = data\n}\n\nDisposable.prototype.dispose = function () {\n return this._dispose(this._data)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js": -/*!**********************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js ***! - \**********************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SettableDisposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SettableDisposable () {\n this.disposable = void 0\n this.disposed = false\n this._resolve = void 0\n\n var self = this\n this.result = new Promise(function (resolve) {\n self._resolve = resolve\n })\n}\n\nSettableDisposable.prototype.setDisposable = function (disposable) {\n if (this.disposable !== void 0) {\n throw new Error('setDisposable called more than once')\n }\n\n this.disposable = disposable\n\n if (this.disposed) {\n this._resolve(disposable.dispose())\n }\n}\n\nSettableDisposable.prototype.dispose = function () {\n if (this.disposed) {\n return this.result\n }\n\n this.disposed = true\n\n if (this.disposable !== void 0) {\n this.result = this.disposable.dispose()\n }\n\n return this.result\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ all: () => (/* binding */ all),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ once: () => (/* binding */ once),\n/* harmony export */ promised: () => (/* binding */ promised),\n/* harmony export */ settable: () => (/* binding */ settable),\n/* harmony export */ tryDispose: () => (/* binding */ tryDispose)\n/* harmony export */ });\n/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Disposable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js\");\n/* harmony import */ var _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SettableDisposable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js\");\n/* harmony import */ var _Promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Promise */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map\nvar identity = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.id\n\n/**\n * Call disposable.dispose. If it returns a promise, catch promise\n * error and forward it through the provided sink.\n * @param {number} t time\n * @param {{dispose: function}} disposable\n * @param {{error: function}} sink\n * @return {*} result of disposable.dispose\n */\nfunction tryDispose (t, disposable, sink) {\n var result = disposeSafely(disposable)\n return (0,_Promise__WEBPACK_IMPORTED_MODULE_2__.isPromise)(result)\n ? result.catch(function (e) {\n sink.error(t, e)\n })\n : result\n}\n\n/**\n * Create a new Disposable which will dispose its underlying resource\n * at most once.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @return {Disposable}\n */\nfunction create (dispose, data) {\n return once(new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](dispose, data))\n}\n\n/**\n * Create a noop disposable. Can be used to satisfy a Disposable\n * requirement when no actual resource needs to be disposed.\n * @return {Disposable|exports|module.exports}\n */\nfunction empty () {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](identity, void 0)\n}\n\n/**\n * Create a disposable that will dispose all input disposables in parallel.\n * @param {Array} disposables\n * @return {Disposable}\n */\nfunction all (disposables) {\n return create(disposeAll, disposables)\n}\n\nfunction disposeAll (disposables) {\n return Promise.all(map(disposeSafely, disposables))\n}\n\nfunction disposeSafely (disposable) {\n try {\n return disposable.dispose()\n } catch (e) {\n return Promise.reject(e)\n }\n}\n\n/**\n * Create a disposable from a promise for another disposable\n * @param {Promise} disposablePromise\n * @return {Disposable}\n */\nfunction promised (disposablePromise) {\n return create(disposePromise, disposablePromise)\n}\n\nfunction disposePromise (disposablePromise) {\n return disposablePromise.then(disposeOne)\n}\n\nfunction disposeOne (disposable) {\n return disposable.dispose()\n}\n\n/**\n * Create a disposable proxy that allows its underlying disposable to\n * be set later.\n * @return {SettableDisposable}\n */\nfunction settable () {\n return new _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__[\"default\"]()\n}\n\n/**\n * Wrap an existing disposable (which may not already have been once()d)\n * so that it will only dispose its underlying resource at most once.\n * @param {{ dispose: function() }} disposable\n * @return {Disposable} wrapped disposable\n */\nfunction once (disposable) {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](disposeMemoized, memoized(disposable))\n}\n\nfunction disposeMemoized (memoized) {\n if (!memoized.disposed) {\n memoized.disposed = true\n memoized.value = disposeSafely(memoized.disposable)\n memoized.disposable = void 0\n }\n\n return memoized.value\n}\n\nfunction memoized (disposable) {\n return { disposed: false, disposable: disposable, value: void 0 }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js": -/*!***************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ fatalError)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction fatalError (e) {\n setTimeout(function () {\n throw e\n }, 0)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js": -/*!******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Filter)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Filter (p, source) {\n this.p = p\n this.source = source\n}\n\n/**\n * Create a filtered source, fusing adjacent filter.filter if possible\n * @param {function(x:*):boolean} p filtering predicate\n * @param {{run:function}} source source to filter\n * @returns {Filter} filtered source\n */\nFilter.create = function createFilter (p, source) {\n if (source instanceof Filter) {\n return new Filter(and(source.p, p), source.source)\n }\n\n return new Filter(p, source)\n}\n\nFilter.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterSink(this.p, sink), scheduler)\n}\n\nfunction FilterSink (p, sink) {\n this.p = p\n this.sink = sink\n}\n\nFilterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nFilterSink.prototype.event = function (t, x) {\n var p = this.p\n p(x) && this.sink.event(t, x)\n}\n\nfunction and (p, q) {\n return function (x) {\n return p(x) && q(x)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FilterMap)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction FilterMap (p, f, source) {\n this.p = p\n this.f = f\n this.source = source\n}\n\nFilterMap.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterMapSink(this.p, this.f, sink), scheduler)\n}\n\nfunction FilterMapSink (p, f, sink) {\n this.p = p\n this.f = f\n this.sink = sink\n}\n\nFilterMapSink.prototype.event = function (t, x) {\n var f = this.f\n var p = this.p\n p(x) && this.sink.event(t, f(x))\n}\n\nFilterMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js": -/*!***************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Map)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _Filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Filter */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js\");\n/* harmony import */ var _FilterMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction Map (f, source) {\n this.f = f\n this.source = source\n}\n\n/**\n * Create a mapped source, fusing adjacent map.map, filter.map,\n * and filter.map.map if possible\n * @param {function(*):*} f mapping function\n * @param {{run:function}} source source to map\n * @returns {Map|FilterMap} mapped source, possibly fused\n */\nMap.create = function createMap (f, source) {\n if (source instanceof Map) {\n return new Map(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.compose(f, source.f), source.source)\n }\n\n if (source instanceof _Filter__WEBPACK_IMPORTED_MODULE_1__[\"default\"]) {\n return new _FilterMap__WEBPACK_IMPORTED_MODULE_2__[\"default\"](source.p, f, source.source)\n }\n\n return new Map(f, source)\n}\n\nMap.prototype.run = function (sink, scheduler) { // eslint-disable-line no-extend-native\n return this.source.run(new MapSink(this.f, sink), scheduler)\n}\n\nfunction MapSink (f, sink) {\n this.f = f\n this.sink = sink\n}\n\nMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nMapSink.prototype.event = function (t, x) {\n var f = this.f\n this.sink.event(t, f(x))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PropagateTask: () => (/* reexport safe */ _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_38__[\"default\"]),\n/* harmony export */ Stream: () => (/* reexport safe */ _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ ap: () => (/* reexport safe */ _combinator_applicative__WEBPACK_IMPORTED_MODULE_17__.ap),\n/* harmony export */ \"await\": () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_34__.awaitPromises),\n/* harmony export */ awaitPromises: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_34__.awaitPromises),\n/* harmony export */ chain: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.flatMap),\n/* harmony export */ combine: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_24__.combine),\n/* harmony export */ combineArray: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_24__.combineArray),\n/* harmony export */ concat: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_15__.concat),\n/* harmony export */ concatMap: () => (/* reexport safe */ _combinator_concatMap__WEBPACK_IMPORTED_MODULE_21__.concatMap),\n/* harmony export */ constant: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_16__.constant),\n/* harmony export */ continueWith: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__.continueWith),\n/* harmony export */ debounce: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_33__.debounce),\n/* harmony export */ defaultScheduler: () => (/* reexport safe */ _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_37__[\"default\"]),\n/* harmony export */ delay: () => (/* reexport safe */ _combinator_delay__WEBPACK_IMPORTED_MODULE_31__.delay),\n/* harmony export */ distinct: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeats),\n/* harmony export */ distinctBy: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeatsWith),\n/* harmony export */ drain: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_9__.drain),\n/* harmony export */ during: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.during),\n/* harmony export */ empty: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.empty),\n/* harmony export */ filter: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.filter),\n/* harmony export */ flatMap: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.flatMap),\n/* harmony export */ flatMapEnd: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__.continueWith),\n/* harmony export */ flatMapError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_35__.flatMapError),\n/* harmony export */ forEach: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_9__.observe),\n/* harmony export */ from: () => (/* reexport safe */ _source_from__WEBPACK_IMPORTED_MODULE_3__.from),\n/* harmony export */ fromEvent: () => (/* reexport safe */ _source_fromEvent__WEBPACK_IMPORTED_MODULE_8__.fromEvent),\n/* harmony export */ fromPromise: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_34__.fromPromise),\n/* harmony export */ generate: () => (/* reexport safe */ _source_generate__WEBPACK_IMPORTED_MODULE_14__.generate),\n/* harmony export */ iterate: () => (/* reexport safe */ _source_iterate__WEBPACK_IMPORTED_MODULE_13__.iterate),\n/* harmony export */ join: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.join),\n/* harmony export */ just: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ loop: () => (/* reexport safe */ _combinator_loop__WEBPACK_IMPORTED_MODULE_10__.loop),\n/* harmony export */ map: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_16__.map),\n/* harmony export */ merge: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_23__.merge),\n/* harmony export */ mergeArray: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_23__.mergeArray),\n/* harmony export */ mergeConcurrently: () => (/* reexport safe */ _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_22__.mergeConcurrently),\n/* harmony export */ multicast: () => (/* reexport safe */ _most_multicast__WEBPACK_IMPORTED_MODULE_36__[\"default\"]),\n/* harmony export */ never: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.never),\n/* harmony export */ observe: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_9__.observe),\n/* harmony export */ of: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ periodic: () => (/* reexport safe */ _source_periodic__WEBPACK_IMPORTED_MODULE_4__.periodic),\n/* harmony export */ recoverWith: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_35__.recoverWith),\n/* harmony export */ reduce: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.reduce),\n/* harmony export */ sample: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sample),\n/* harmony export */ sampleArray: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleArray),\n/* harmony export */ sampleWith: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleWith),\n/* harmony export */ scan: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.scan),\n/* harmony export */ since: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.skipUntil),\n/* harmony export */ skip: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skip),\n/* harmony export */ skipAfter: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipAfter),\n/* harmony export */ skipRepeats: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeatsWith),\n/* harmony export */ skipUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.skipUntil),\n/* harmony export */ skipWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipWhile),\n/* harmony export */ slice: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.slice),\n/* harmony export */ startWith: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_15__.cons),\n/* harmony export */ \"switch\": () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_27__.switchLatest),\n/* harmony export */ switchLatest: () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_27__.switchLatest),\n/* harmony export */ take: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.take),\n/* harmony export */ takeUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.takeUntil),\n/* harmony export */ takeWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.takeWhile),\n/* harmony export */ tap: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_16__.tap),\n/* harmony export */ throttle: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_33__.throttle),\n/* harmony export */ throwError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_35__.throwError),\n/* harmony export */ timestamp: () => (/* reexport safe */ _combinator_timestamp__WEBPACK_IMPORTED_MODULE_32__.timestamp),\n/* harmony export */ transduce: () => (/* reexport safe */ _combinator_transduce__WEBPACK_IMPORTED_MODULE_18__.transduce),\n/* harmony export */ unfold: () => (/* reexport safe */ _source_unfold__WEBPACK_IMPORTED_MODULE_12__.unfold),\n/* harmony export */ until: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.takeUntil),\n/* harmony export */ zip: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_26__.zip),\n/* harmony export */ zipArray: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_26__.zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _source_from__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./source/from */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js\");\n/* harmony import */ var _source_periodic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source/periodic */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js\");\n/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! symbol-observable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js\");\n/* harmony import */ var _observable_subscribe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observable/subscribe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js\");\n/* harmony import */ var _combinator_thru__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./combinator/thru */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js\");\n/* harmony import */ var _source_fromEvent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./source/fromEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js\");\n/* harmony import */ var _combinator_observe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./combinator/observe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js\");\n/* harmony import */ var _combinator_loop__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./combinator/loop */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js\");\n/* harmony import */ var _combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./combinator/accumulate */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js\");\n/* harmony import */ var _source_unfold__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./source/unfold */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js\");\n/* harmony import */ var _source_iterate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./source/iterate */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js\");\n/* harmony import */ var _source_generate__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./source/generate */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js\");\n/* harmony import */ var _combinator_build__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./combinator/build */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js\");\n/* harmony import */ var _combinator_transform__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./combinator/transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _combinator_applicative__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./combinator/applicative */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js\");\n/* harmony import */ var _combinator_transduce__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./combinator/transduce */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./combinator/flatMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js\");\n/* harmony import */ var _combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./combinator/continueWith */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js\");\n/* harmony import */ var _combinator_concatMap__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./combinator/concatMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js\");\n/* harmony import */ var _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./combinator/mergeConcurrently */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js\");\n/* harmony import */ var _combinator_merge__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./combinator/merge */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js\");\n/* harmony import */ var _combinator_combine__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./combinator/combine */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _combinator_sample__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./combinator/sample */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js\");\n/* harmony import */ var _combinator_zip__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./combinator/zip */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js\");\n/* harmony import */ var _combinator_switch__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./combinator/switch */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js\");\n/* harmony import */ var _combinator_filter__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./combinator/filter */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js\");\n/* harmony import */ var _combinator_slice__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./combinator/slice */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js\");\n/* harmony import */ var _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./combinator/timeslice */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js\");\n/* harmony import */ var _combinator_delay__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./combinator/delay */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js\");\n/* harmony import */ var _combinator_timestamp__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./combinator/timestamp */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js\");\n/* harmony import */ var _combinator_limit__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./combinator/limit */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js\");\n/* harmony import */ var _combinator_promises__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./combinator/promises */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js\");\n/* harmony import */ var _combinator_errors__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./combinator/errors */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js\");\n/* harmony import */ var _most_multicast__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @most/multicast */ \"../../../../node_modules/@most/multicast/dist/multicast.es.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n/**\n * Core stream type\n * @type {Stream}\n */\n\n\n// Add of and empty to constructor for fantasy-land compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].of = _source_core__WEBPACK_IMPORTED_MODULE_2__.of\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].empty = _source_core__WEBPACK_IMPORTED_MODULE_2__.empty\n// Add from to constructor for ES Observable compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].from = _source_from__WEBPACK_IMPORTED_MODULE_3__.from\n\n\n// -----------------------------------------------------------------------\n// Draft ES Observable proposal interop\n// https://github.com/zenparsing/es-observable\n\n;\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.subscribe = function (subscriber) {\n return (0,_observable_subscribe__WEBPACK_IMPORTED_MODULE_6__.subscribe)(subscriber, this)\n}\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype[symbol_observable__WEBPACK_IMPORTED_MODULE_5__[\"default\"]] = function () {\n return this\n}\n\n// -----------------------------------------------------------------------\n// Fluent adapter\n\n;\n\n/**\n * Adapt a functional stream transform to fluent style.\n * It applies f to the this stream object\n * @param {function(s: Stream): Stream} f function that\n * receives the stream itself and must return a new stream\n * @return {Stream}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.thru = function (f) {\n return (0,_combinator_thru__WEBPACK_IMPORTED_MODULE_7__.thru)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Adapting other sources\n\n/**\n * Create a stream of events from the supplied EventTarget or EventEmitter\n * @param {String} event event name\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter. The source\n * must support either addEventListener/removeEventListener (w3c EventTarget:\n * http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget),\n * or addListener/removeListener (node EventEmitter: http://nodejs.org/api/events.html)\n * @returns {Stream} stream of events of the specified type from the source\n */\n\n\n// -----------------------------------------------------------------------\n// Observing\n\n;\n\n\n\n/**\n * Process all the events in the stream\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.observe = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.forEach = function (f) {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_9__.observe)(f, this)\n}\n\n/**\n * Consume all events in the stream, without providing a function to process each.\n * This causes a stream to become active and begin emitting events, and is useful\n * in cases where all processing has been setup upstream via other combinators, and\n * there is no need to process the terminal events.\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.drain = function () {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_9__.drain)(this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.loop = function (stepper, seed) {\n return (0,_combinator_loop__WEBPACK_IMPORTED_MODULE_10__.loop)(stepper, seed, this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @returns {Stream} new stream containing successive reduce results\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.scan = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.scan)(f, initial, this)\n}\n\n/**\n * Reduce the stream to produce a single result. Note that reducing an infinite\n * stream will return a Promise that never fulfills, but that may reject if an error\n * occurs.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial optional initial value\n * @returns {Promise} promise for the file result of the reduce\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.reduce = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.reduce)(f, initial, this)\n}\n\n// -----------------------------------------------------------------------\n// Building and extending\n\n\n\n\n;\n\n\n\n/**\n * @param {Stream} tail\n * @returns {Stream} new stream containing all items in this followed by\n * all items in tail\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concat = function (tail) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_15__.concat)(this, tail)\n}\n\n/**\n * @param {*} x value to prepend\n * @returns {Stream} a new stream with x prepended\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.startWith = function (x) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_15__.cons)(x, this)\n}\n\n// -----------------------------------------------------------------------\n// Transforming\n\n;\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @returns {Stream} stream containing items transformed by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.map = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_16__.map)(f, this)\n}\n\n/**\n * Assume this stream contains functions, and apply each function to each item\n * in the provided stream. This generates, in effect, a cross product.\n * @param {Stream} xs stream of items to which\n * @returns {Stream} stream containing the cross product of items\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.ap = function (xs) {\n return (0,_combinator_applicative__WEBPACK_IMPORTED_MODULE_17__.ap)(this, xs)\n}\n\n/**\n * Replace each value in the stream with x\n * @param {*} x\n * @returns {Stream} stream containing items replaced with x\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.constant = function (x) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_16__.constant)(x, this)\n}\n\n/**\n * Perform a side effect for each item in the stream\n * @param {function(x:*):*} f side effect to execute for each item. The\n * return value will be discarded.\n * @returns {Stream} new stream containing the same items as this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.tap = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_16__.tap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Transducer support\n\n;\n\n\n\n/**\n * Transform this stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @return {Stream} stream of events transformed by the transducer\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.transduce = function (transducer) {\n return (0,_combinator_transduce__WEBPACK_IMPORTED_MODULE_18__.transduce)(transducer, this)\n}\n\n// -----------------------------------------------------------------------\n// FlatMapping\n\n;\n\n// @deprecated flatMap, use chain instead\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain = function (f) {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.flatMap)(f, this)\n}\n\n// @deprecated use chain instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMap = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain\n\n /**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @returns {Stream} new stream containing all events of all inner streams\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.join = function () {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.join)(this)\n}\n\n;\n\n// @deprecated flatMapEnd, use continueWith instead\n\n\n/**\n * Map the end event to a new stream, and begin emitting its values.\n * @param {function(x:*):Stream} f function that receives the end event value,\n * and *must* return a new Stream to continue with.\n * @returns {Stream} new stream that emits all events from the original stream,\n * followed by all events from the stream returned by f.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith = function (f) {\n return (0,_combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__.continueWith)(f, this)\n}\n\n// @deprecated use continueWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapEnd = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith\n\n;\n\n\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concatMap = function (f) {\n return (0,_combinator_concatMap__WEBPACK_IMPORTED_MODULE_21__.concatMap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Concurrent merging\n\n;\n\n\n\n/**\n * Flatten a Stream> to Stream by merging inner\n * streams to the outer, limiting the number of inner streams that may\n * be active concurrently.\n * @param {number} concurrency at most this many inner streams will be\n * allowed to be active concurrently.\n * @return {Stream} new stream containing all events of all inner\n * streams, with limited concurrency.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.mergeConcurrently = function (concurrency) {\n return (0,_combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_22__.mergeConcurrently)(concurrency, this)\n}\n\n// -----------------------------------------------------------------------\n// Merging\n\n;\n\n\n\n/**\n * Merge this stream and all the provided streams\n * @returns {Stream} stream containing items from this stream and s in time\n * order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.merge = function (/* ...streams*/) {\n return (0,_combinator_merge__WEBPACK_IMPORTED_MODULE_23__.mergeArray)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.cons(this, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Combining\n\n;\n\n\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.combine = function (f /*, ...streams*/) {\n return (0,_combinator_combine__WEBPACK_IMPORTED_MODULE_24__.combineArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Sampling\n\n;\n\n\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * signal's latest value will be propagated\n * @returns {Stream} sampled stream of values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sampleWith = function (sampler) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleWith)(sampler, this)\n}\n\n/**\n * When an event arrives on this stream, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @returns {Stream} stream of sampled and transformed values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sample = function (f /* ...streams */) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleArray)(f, this, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments))\n}\n\n// -----------------------------------------------------------------------\n// Zipping\n\n;\n\n\n\n/**\n * Pair-wise combine items with those in s. Given 2 streams:\n * [1,2,3] zipWith f [4,5,6] -> [f(1,4),f(2,5),f(3,6)]\n * Note: zip causes fast streams to buffer and wait for slow streams.\n * @param {function(a:Stream, b:Stream, ...):*} f function to combine items\n * @returns {Stream} new stream containing pairs\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.zip = function (f /*, ...streams*/) {\n return (0,_combinator_zip__WEBPACK_IMPORTED_MODULE_26__.zipArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Switching\n\n;\n\n// @deprecated switch, use switchLatest instead\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @returns {Stream} switching stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest = function () {\n return (0,_combinator_switch__WEBPACK_IMPORTED_MODULE_27__.switchLatest)(this)\n}\n\n// @deprecated use switchLatest instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switch = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest\n\n// -----------------------------------------------------------------------\n// Filtering\n\n;\n\n// @deprecated distinct, use skipRepeats instead\n// @deprecated distinctBy, use skipRepeatsWith instead\n\n\n/**\n * Retain only items matching a predicate\n * stream: -12345678-\n * filter(x => x % 2 === 0, stream): --2-4-6-8-\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.filter = function (p) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_28__.filter)(p, this)\n}\n\n/**\n * Skip repeated events, using === to compare items\n * stream: -abbcd-\n * distinct(stream): -ab-cd-\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeats = function () {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeats)(this)\n}\n\n/**\n * Skip repeated events, using supplied equals function to compare items\n * @param {function(a:*, b:*):boolean} equals function to compare items\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeatsWith = function (equals) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeatsWith)(equals, this)\n}\n\n// -----------------------------------------------------------------------\n// Slicing\n\n;\n\n\n\n/**\n * stream: -abcd-\n * take(2, stream): -ab|\n * @param {Number} n take up to this many events\n * @returns {Stream} stream containing at most the first n items from this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.take = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.take)(n, this)\n}\n\n/**\n * stream: -abcd->\n * skip(2, stream): ---cd->\n * @param {Number} n skip this many events\n * @returns {Stream} stream not containing the first n events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skip = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skip)(n, this)\n}\n\n/**\n * Slice a stream by event index. Equivalent to, but more efficient than\n * stream.take(end).skip(start);\n * NOTE: Negative start and end are not supported\n * @param {Number} start skip all events before the start index\n * @param {Number} end allow all events from the start index to the end index\n * @returns {Stream} stream containing items where start <= index < end\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.slice = function (start, end) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.slice)(start, end, this)\n}\n\n/**\n * stream: -123451234->\n * takeWhile(x => x < 5, stream): -1234|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, but not including, the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.takeWhile)(p, this)\n}\n\n/**\n * stream: -123451234->\n * skipWhile(x => x < 5, stream): -----51234->\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items following *and including* the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipWhile)(p, this)\n}\n\n/**\n * stream: -123456789->\n * skipAfter(x => x === 5, stream):-12345|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, *and including*, the\n * first item for which p returns truthy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipAfter = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipAfter)(p, this)\n}\n\n// -----------------------------------------------------------------------\n// Time slicing\n\n;\n\n// @deprecated takeUntil, use until instead\n// @deprecated skipUntil, use since instead\n\n\n/**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -a-b-c-|\n * @param {Stream} signal retain only events in stream before the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur before\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.takeUntil)(signal, this)\n}\n\n// @deprecated use until instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -------d-e-f-g->\n * @param {Stream} signal retain only events in stream at or after the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur after\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.skipUntil)(signal, this)\n}\n\n// @deprecated use since instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * timeWindow: -----s\n * s: -----t\n * stream.during(timeWindow): -----c-d-e-|\n * @param {Stream} timeWindow a stream whose first event (s) represents\n * the window start time. That event (s) is itself a stream whose first event (t)\n * represents the window end time\n * @returns {Stream} new stream containing only events within the provided timespan\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.during = function (timeWindow) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.during)(timeWindow, this)\n}\n\n// -----------------------------------------------------------------------\n// Delaying\n\n;\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.delay = function (delayTime) {\n return (0,_combinator_delay__WEBPACK_IMPORTED_MODULE_31__.delay)(delayTime, this)\n}\n\n// -----------------------------------------------------------------------\n// Getting event timestamp\n\n;\n\n\n/**\n * Expose event timestamps into the stream. Turns a Stream into\n * Stream<{time:t, value:X}>\n * @returns {Stream<{time:number, value:*}>}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.timestamp = function () {\n return (0,_combinator_timestamp__WEBPACK_IMPORTED_MODULE_32__.timestamp)(this)\n}\n\n// -----------------------------------------------------------------------\n// Rate limiting\n\n;\n\n\n\n/**\n * Limit the rate of events\n * stream: abcd----abcd----\n * throttle(2, stream): a-c-----a-c-----\n * @param {Number} period time to suppress events\n * @returns {Stream} new stream that skips events for throttle period\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.throttle = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_33__.throttle)(period, this)\n}\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * stream: abcd----abcd----\n * debounce(2, stream): -----d-------d--\n * @param {Number} period events occuring more frequently than this\n * on the provided scheduler will be suppressed\n * @returns {Stream} new debounced stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.debounce = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_33__.debounce)(period, this)\n}\n\n// -----------------------------------------------------------------------\n// Awaiting Promises\n\n;\n\n// @deprecated await, use awaitPromises instead\n\n\n/**\n * Await promises, turning a Stream> into Stream. Preserves\n * event order, but timeshifts events based on promise resolution time.\n * @returns {Stream} stream containing non-promise values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises = function () {\n return (0,_combinator_promises__WEBPACK_IMPORTED_MODULE_34__.awaitPromises)(this)\n}\n\n// @deprecated use awaitPromises instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.await = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises\n\n// -----------------------------------------------------------------------\n// Error handling\n\n;\n\n// @deprecated flatMapError, use recoverWith instead\n\n\n/**\n * If this stream encounters an error, recover and continue with items from stream\n * returned by f.\n * stream: -a-b-c-X-\n * f(X): d-e-f-g-\n * flatMapError(f, stream): -a-b-c-d-e-f-g-\n * @param {function(error:*):Stream} f function which returns a new stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith = function (f) {\n return (0,_combinator_errors__WEBPACK_IMPORTED_MODULE_35__.flatMapError)(f, this)\n}\n\n// @deprecated use recoverWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapError = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith\n\n// -----------------------------------------------------------------------\n// Multicasting\n\n;\n\n\n\n/**\n * Transform the stream into multicast stream. That means that many subscribers\n * to the stream will not cause multiple invocations of the internal machinery.\n * @returns {Stream} new stream which will multicast events to all observers.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.multicast = function () {\n return (0,_most_multicast__WEBPACK_IMPORTED_MODULE_36__[\"default\"])(this)\n}\n\n// export the instance of the defaultScheduler for third-party libraries\n;\n\n\n\n// export an implementation of Task used internally for third-party libraries\n;\n\n\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js": -/*!***********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ invoke)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction invoke (f, args) {\n\t/*eslint complexity: [2,7]*/\n switch (args.length) {\n case 0: return f()\n case 1: return f(args[0])\n case 2: return f(args[0], args[1])\n case 3: return f(args[0], args[1], args[2])\n case 4: return f(args[0], args[1], args[2], args[3])\n case 5: return f(args[0], args[1], args[2], args[3], args[4])\n default:\n return f.apply(void 0, args)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js": -/*!*************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getIterator: () => (/* binding */ getIterator),\n/* harmony export */ isIterable: () => (/* binding */ isIterable),\n/* harmony export */ makeIterable: () => (/* binding */ makeIterable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/*global Set, Symbol*/\nvar iteratorSymbol\n// Firefox ships a partial implementation using the name @@iterator.\n// https://bugzilla.mozilla.org/show_bug.cgi?id=907077#c14\nif (typeof Set === 'function' && typeof new Set()['@@iterator'] === 'function') {\n iteratorSymbol = '@@iterator'\n} else {\n iteratorSymbol = typeof Symbol === 'function' && Symbol.iterator ||\n '_es6shim_iterator_'\n}\n\nfunction isIterable (o) {\n return typeof o[iteratorSymbol] === 'function'\n}\n\nfunction getIterator (o) {\n return o[iteratorSymbol]()\n}\n\nfunction makeIterable (f, o) {\n o[iteratorSymbol] = f\n return o\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js": -/*!******************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js ***! - \******************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ObservableSource: () => (/* binding */ ObservableSource),\n/* harmony export */ SubscriberSink: () => (/* binding */ SubscriberSink),\n/* harmony export */ fromObservable: () => (/* binding */ fromObservable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromObservable (observable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ObservableSource(observable))\n}\n\nfunction ObservableSource (observable) {\n this.observable = observable\n}\n\nObservableSource.prototype.run = function (sink, scheduler) {\n var sub = this.observable.subscribe(new SubscriberSink(sink, scheduler))\n if (typeof sub === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(sub)\n } else if (sub && typeof sub.unsubscribe === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(unsubscribe, sub)\n }\n\n throw new TypeError('Observable returned invalid subscription ' + String(sub))\n}\n\nfunction SubscriberSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n}\n\nSubscriberSink.prototype.next = function (x) {\n (0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.complete = function (x) {\n ;(0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEnd)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.error = function (e) {\n this.sink.error(this.scheduler.now(), e)\n}\n\nfunction unsubscribe (subscription) {\n return subscription.unsubscribe()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js": -/*!*****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js ***! - \*****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ getObservable)\n/* harmony export */ });\n/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction getObservable (o) { // eslint-disable-line complexity\n var obs = null\n if (o) {\n // Access foreign method only once\n var method = o[symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"default\"]]\n if (typeof method === 'function') {\n obs = method.call(o)\n if (!(obs && typeof obs.subscribe === 'function')) {\n throw new TypeError('invalid observable ' + obs)\n }\n }\n }\n\n return obs\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SubscribeObserver: () => (/* binding */ SubscribeObserver),\n/* harmony export */ Subscription: () => (/* binding */ Subscription),\n/* harmony export */ subscribe: () => (/* binding */ subscribe)\n/* harmony export */ });\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/defaultScheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fatalError */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction subscribe (subscriber, stream) {\n if (Object(subscriber) !== subscriber) {\n throw new TypeError('subscriber must be an object')\n }\n\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.settable()\n var observer = new SubscribeObserver(_fatalError__WEBPACK_IMPORTED_MODULE_2__[\"default\"], subscriber, disposable)\n\n disposable.setDisposable(stream.source.run(observer, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"]))\n\n return new Subscription(disposable)\n}\n\nfunction SubscribeObserver (fatalError, subscriber, disposable) {\n this.fatalError = fatalError\n this.subscriber = subscriber\n this.disposable = disposable\n}\n\nSubscribeObserver.prototype.event = function (t, x) {\n if (!this.disposable.disposed && typeof this.subscriber.next === 'function') {\n this.subscriber.next(x)\n }\n}\n\nSubscribeObserver.prototype.end = function (t, x) {\n if (!this.disposable.disposed) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n if (typeof s.complete === 'function') {\n s.complete(x)\n }\n }).catch(function (e) {\n throwError(e, s, fatalError)\n })\n }\n}\n\nSubscribeObserver.prototype.error = function (t, e) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n throwError(e, s, fatalError)\n })\n}\n\nfunction Subscription (disposable) {\n this.disposable = disposable\n}\n\nSubscription.prototype.unsubscribe = function () {\n this.disposable.dispose()\n}\n\nfunction throwError (e1, subscriber, throwError) {\n if (typeof subscriber.error === 'function') {\n try {\n subscriber.error(e1)\n } catch (e2) {\n throwError(e2)\n }\n } else {\n throwError(e1)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js": -/*!**************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withDefaultScheduler: () => (/* binding */ withDefaultScheduler),\n/* harmony export */ withScheduler: () => (/* binding */ withScheduler)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction withDefaultScheduler (source) {\n return withScheduler(source, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nfunction withScheduler (source, scheduler) {\n return new Promise(function (resolve, reject) {\n runSource(source, scheduler, resolve, reject)\n })\n}\n\nfunction runSource (source, scheduler, resolve, reject) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.settable()\n var observer = new Drain(resolve, reject, disposable)\n\n disposable.setDisposable(source.run(observer, scheduler))\n}\n\nfunction Drain (end, error, disposable) {\n this._end = end\n this._error = error\n this._disposable = disposable\n this.active = true\n}\n\nDrain.prototype.event = function (t, x) {}\n\nDrain.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n disposeThen(this._end, this._error, this._disposable, x)\n}\n\nDrain.prototype.error = function (t, e) {\n this.active = false\n disposeThen(this._error, this._error, this._disposable, e)\n}\n\nfunction disposeThen (end, error, disposable, x) {\n Promise.resolve(disposable.dispose()).then(function () {\n end(x)\n }, error)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ClockTimer)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/*global setTimeout, clearTimeout*/\n\nfunction ClockTimer () {}\n\nClockTimer.prototype.now = Date.now\n\nClockTimer.prototype.setTimer = function (f, dt) {\n return dt <= 0 ? runAsap(f) : setTimeout(f, dt)\n}\n\nClockTimer.prototype.clearTimer = function (t) {\n return t instanceof Asap ? t.cancel() : clearTimeout(t)\n}\n\nfunction Asap (f) {\n this.f = f\n this.active = true\n}\n\nAsap.prototype.run = function () {\n return this.active && this.f()\n}\n\nAsap.prototype.error = function (e) {\n throw e\n}\n\nAsap.prototype.cancel = function () {\n this.active = false\n}\n\nfunction runAsap (f) {\n var task = new Asap(f)\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n return task\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PropagateTask)\n/* harmony export */ });\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../fatalError */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction PropagateTask (run, value, sink) {\n this._run = run\n this.value = value\n this.sink = sink\n this.active = true\n}\n\nPropagateTask.event = function (value, sink) {\n return new PropagateTask(emit, value, sink)\n}\n\nPropagateTask.end = function (value, sink) {\n return new PropagateTask(end, value, sink)\n}\n\nPropagateTask.error = function (value, sink) {\n return new PropagateTask(error, value, sink)\n}\n\nPropagateTask.prototype.dispose = function () {\n this.active = false\n}\n\nPropagateTask.prototype.run = function (t) {\n if (!this.active) {\n return\n }\n this._run(t, this.value, this.sink)\n}\n\nPropagateTask.prototype.error = function (t, e) {\n if (!this.active) {\n return (0,_fatalError__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e)\n }\n this.sink.error(t, e)\n}\n\nfunction error (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction emit (t, x, sink) {\n sink.event(t, x)\n}\n\nfunction end (t, x, sink) {\n sink.end(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ScheduledTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction ScheduledTask (delay, period, task, scheduler) {\n this.time = delay\n this.period = period\n this.task = task\n this.scheduler = scheduler\n this.active = true\n}\n\nScheduledTask.prototype.run = function () {\n return this.task.run(this.time)\n}\n\nScheduledTask.prototype.error = function (e) {\n return this.task.error(this.time, e)\n}\n\nScheduledTask.prototype.dispose = function () {\n this.scheduler.cancel(this)\n return this.task.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Scheduler)\n/* harmony export */ });\n/* harmony import */ var _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ScheduledTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js\");\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../task */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction Scheduler (timer, timeline) {\n this.timer = timer\n this.timeline = timeline\n\n this._timer = null\n this._nextArrival = Infinity\n\n var self = this\n this._runReadyTasksBound = function () {\n self._runReadyTasks(self.now())\n }\n}\n\nScheduler.prototype.now = function () {\n return this.timer.now()\n}\n\nScheduler.prototype.asap = function (task) {\n return this.schedule(0, -1, task)\n}\n\nScheduler.prototype.delay = function (delay, task) {\n return this.schedule(delay, -1, task)\n}\n\nScheduler.prototype.periodic = function (period, task) {\n return this.schedule(0, period, task)\n}\n\nScheduler.prototype.schedule = function (delay, period, task) {\n var now = this.now()\n var st = new _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__[\"default\"](now + Math.max(0, delay), period, task, this)\n\n this.timeline.add(st)\n this._scheduleNextRun(now)\n return st\n}\n\nScheduler.prototype.cancel = function (task) {\n task.active = false\n if (this.timeline.remove(task)) {\n this._reschedule()\n }\n}\n\nScheduler.prototype.cancelAll = function (f) {\n this.timeline.removeAll(f)\n this._reschedule()\n}\n\nScheduler.prototype._reschedule = function () {\n if (this.timeline.isEmpty()) {\n this._unschedule()\n } else {\n this._scheduleNextRun(this.now())\n }\n}\n\nScheduler.prototype._unschedule = function () {\n this.timer.clearTimer(this._timer)\n this._timer = null\n}\n\nScheduler.prototype._scheduleNextRun = function (now) { // eslint-disable-line complexity\n if (this.timeline.isEmpty()) {\n return\n }\n\n var nextArrival = this.timeline.nextArrival()\n\n if (this._timer === null) {\n this._scheduleNextArrival(nextArrival, now)\n } else if (nextArrival < this._nextArrival) {\n this._unschedule()\n this._scheduleNextArrival(nextArrival, now)\n }\n}\n\nScheduler.prototype._scheduleNextArrival = function (nextArrival, now) {\n this._nextArrival = nextArrival\n var delay = Math.max(0, nextArrival - now)\n this._timer = this.timer.setTimer(this._runReadyTasksBound, delay)\n}\n\nScheduler.prototype._runReadyTasks = function (now) {\n this._timer = null\n this.timeline.runTasks(now, _task__WEBPACK_IMPORTED_MODULE_1__.runTask)\n this._scheduleNextRun(this.now())\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Timeline)\n/* harmony export */ });\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Timeline () {\n this.tasks = []\n}\n\nTimeline.prototype.nextArrival = function () {\n return this.isEmpty() ? Infinity : this.tasks[0].time\n}\n\nTimeline.prototype.isEmpty = function () {\n return this.tasks.length === 0\n}\n\nTimeline.prototype.add = function (st) {\n insertByTime(st, this.tasks)\n}\n\nTimeline.prototype.remove = function (st) {\n var i = binarySearch(st.time, this.tasks)\n\n if (i >= 0 && i < this.tasks.length) {\n var at = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.findIndex(st, this.tasks[i].events)\n if (at >= 0) {\n this.tasks[i].events.splice(at, 1)\n return true\n }\n }\n\n return false\n}\n\nTimeline.prototype.removeAll = function (f) {\n for (var i = 0, l = this.tasks.length; i < l; ++i) {\n removeAllFrom(f, this.tasks[i])\n }\n}\n\nTimeline.prototype.runTasks = function (t, runTask) {\n var tasks = this.tasks\n var l = tasks.length\n var i = 0\n\n while (i < l && tasks[i].time <= t) {\n ++i\n }\n\n this.tasks = tasks.slice(i)\n\n // Run all ready tasks\n for (var j = 0; j < i; ++j) {\n this.tasks = runTasks(runTask, tasks[j], this.tasks)\n }\n}\n\nfunction runTasks (runTask, timeslot, tasks) { // eslint-disable-line complexity\n var events = timeslot.events\n for (var i = 0; i < events.length; ++i) {\n var task = events[i]\n\n if (task.active) {\n runTask(task)\n\n // Reschedule periodic repeating tasks\n // Check active again, since a task may have canceled itself\n if (task.period >= 0 && task.active) {\n task.time = task.time + task.period\n insertByTime(task, tasks)\n }\n }\n }\n\n return tasks\n}\n\nfunction insertByTime (task, timeslots) { // eslint-disable-line complexity\n var l = timeslots.length\n\n if (l === 0) {\n timeslots.push(newTimeslot(task.time, [task]))\n return\n }\n\n var i = binarySearch(task.time, timeslots)\n\n if (i >= l) {\n timeslots.push(newTimeslot(task.time, [task]))\n } else if (task.time === timeslots[i].time) {\n timeslots[i].events.push(task)\n } else {\n timeslots.splice(i, 0, newTimeslot(task.time, [task]))\n }\n}\n\nfunction removeAllFrom (f, timeslot) {\n timeslot.events = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.removeAll(f, timeslot.events)\n}\n\nfunction binarySearch (t, sortedArray) { // eslint-disable-line complexity\n var lo = 0\n var hi = sortedArray.length\n var mid, y\n\n while (lo < hi) {\n mid = Math.floor((lo + hi) / 2)\n y = sortedArray[mid]\n\n if (t === y.time) {\n return mid\n } else if (t < y.time) {\n hi = mid\n } else {\n lo = mid + 1\n }\n }\n return hi\n}\n\nfunction newTimeslot (t, events) {\n return { time: t, events: events }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js": -/*!*******************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js ***! - \*******************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Scheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js\");\n/* harmony import */ var _ClockTimer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClockTimer */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js\");\n/* harmony import */ var _Timeline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Timeline */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar defaultScheduler = new _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new _ClockTimer__WEBPACK_IMPORTED_MODULE_1__[\"default\"](), new _Timeline__WEBPACK_IMPORTED_MODULE_2__[\"default\"]())\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultScheduler);\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ DeferredSink)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction DeferredSink (sink) {\n this.sink = sink\n this.events = []\n this.active = true\n}\n\nDeferredSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n if (this.events.length === 0) {\n (0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(new PropagateAllTask(this.sink, t, this.events))\n }\n\n this.events.push({ time: t, value: x })\n}\n\nDeferredSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n this._end(new EndTask(t, x, this.sink))\n}\n\nDeferredSink.prototype.error = function (t, e) {\n this._end(new ErrorTask(t, e, this.sink))\n}\n\nDeferredSink.prototype._end = function (task) {\n this.active = false\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n}\n\nfunction PropagateAllTask (sink, time, events) {\n this.sink = sink\n this.events = events\n this.time = time\n}\n\nPropagateAllTask.prototype.run = function () {\n var events = this.events\n var sink = this.sink\n var event\n\n for (var i = 0, l = events.length; i < l; ++i) {\n event = events[i]\n this.time = event.time\n sink.event(event.time, event.value)\n }\n\n events.length = 0\n}\n\nPropagateAllTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction EndTask (t, x, sink) {\n this.time = t\n this.value = x\n this.sink = sink\n}\n\nEndTask.prototype.run = function () {\n this.sink.end(this.time, this.value)\n}\n\nEndTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction ErrorTask (t, e, sink) {\n this.time = t\n this.value = e\n this.sink = sink\n}\n\nErrorTask.prototype.run = function () {\n this.sink.error(this.time, this.value)\n}\n\nErrorTask.prototype.error = function (e) {\n throw e\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js": -/*!*******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ IndexSink)\n/* harmony export */ });\n/* harmony import */ var _Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction IndexSink (i, sink) {\n this.sink = sink\n this.index = i\n this.active = true\n this.value = void 0\n}\n\nIndexSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.value = x\n this.sink.event(t, this)\n}\n\nIndexSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n this.sink.end(t, { index: this.index, value: x })\n}\n\nIndexSink.prototype.error = _Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js": -/*!**************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Pipe)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * A sink mixin that simply forwards event, end, and error to\n * another sink.\n * @param sink\n * @constructor\n */\nfunction Pipe (sink) {\n this.sink = sink\n}\n\nPipe.prototype.event = function (t, x) {\n return this.sink.event(t, x)\n}\n\nPipe.prototype.end = function (t, x) {\n return this.sink.end(t, x)\n}\n\nPipe.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js": -/*!******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SafeSink)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SafeSink (sink) {\n this.sink = sink\n this.active = true\n}\n\nSafeSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nSafeSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.disable()\n this.sink.end(t, x)\n}\n\nSafeSink.prototype.error = function (t, e) {\n this.disable()\n this.sink.error(t, e)\n}\n\nSafeSink.prototype.disable = function () {\n this.active = false\n return this.sink\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js": -/*!******************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js ***! - \******************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventEmitterSource)\n/* harmony export */ });\n/* harmony import */ var _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/DeferredSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction EventEmitterSource (event, source) {\n this.event = event\n this.source = source\n}\n\nEventEmitterSource.prototype.run = function (sink, scheduler) {\n // NOTE: Because EventEmitter allows events in the same call stack as\n // a listener is added, use a DeferredSink to buffer events\n // until the stack clears, then propagate. This maintains most.js's\n // invariant that no event will be delivered in the same call stack\n // as an observer begins observing.\n var dsink = new _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sink)\n\n function addEventVariadic (a) {\n var l = arguments.length\n if (l > 1) {\n var arr = new Array(l)\n for (var i = 0; i < l; ++i) {\n arr[i] = arguments[i]\n }\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), arr, dsink)\n } else {\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), a, dsink)\n }\n }\n\n this.source.addListener(this.event, addEventVariadic)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEventEmitter, { target: this, addEvent: addEventVariadic })\n}\n\nfunction disposeEventEmitter (info) {\n var target = info.target\n target.source.removeListener(target.event, info.addEvent)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js": -/*!*****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js ***! - \*****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventTargetSource)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction EventTargetSource (event, source, capture) {\n this.event = event\n this.source = source\n this.capture = capture\n}\n\nEventTargetSource.prototype.run = function (sink, scheduler) {\n function addEvent (e) {\n _tryEvent__WEBPACK_IMPORTED_MODULE_1__.tryEvent(scheduler.now(), e, sink)\n }\n\n this.source.addEventListener(this.event, addEvent, this.capture)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.create(disposeEventTarget,\n { target: this, addEvent: addEvent })\n}\n\nfunction disposeEventTarget (info) {\n var target = info.target\n target.source.removeEventListener(target.event, info.addEvent, target.capture)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ never: () => (/* binding */ never),\n/* harmony export */ of: () => (/* binding */ of)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Stream containing only x\n * @param {*} x\n * @returns {Stream}\n */\nfunction of (x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Just(x))\n}\n\nfunction Just (x) {\n this.value = x\n}\n\nJust.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runJust, this.value, sink))\n}\n\nfunction runJust (t, x, sink) {\n sink.event(t, x)\n sink.end(t, void 0)\n}\n\n/**\n * Stream containing no events and ends immediately\n * @returns {Stream}\n */\nfunction empty () {\n return EMPTY\n}\n\nfunction EmptySource () {}\n\nEmptySource.prototype.run = function (sink, scheduler) {\n var task = _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"].end(void 0, sink)\n scheduler.asap(task)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEmpty, task)\n}\n\nfunction disposeEmpty (task) {\n return task.dispose()\n}\n\nvar EMPTY = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new EmptySource())\n\n/**\n * Stream containing no events and never ends\n * @returns {Stream}\n */\nfunction never () {\n return NEVER\n}\n\nfunction NeverSource () {}\n\nNeverSource.prototype.run = function () {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nvar NEVER = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new NeverSource())\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ from: () => (/* binding */ from)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../iterable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js\");\n/* harmony import */ var _fromIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromIterable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js\");\n/* harmony import */ var _observable_getObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/getObservable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js\");\n/* harmony import */ var _observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../observable/fromObservable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\nfunction from (a) { // eslint-disable-line complexity\n if (a instanceof _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) {\n return a\n }\n\n var observable = (0,_observable_getObservable__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(a)\n if (observable != null) {\n return (0,_observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__.fromObservable)(observable)\n }\n\n if (Array.isArray(a) || (0,_most_prelude__WEBPACK_IMPORTED_MODULE_6__.isArrayLike)(a)) {\n return (0,_fromArray__WEBPACK_IMPORTED_MODULE_1__.fromArray)(a)\n }\n\n if ((0,_iterable__WEBPACK_IMPORTED_MODULE_2__.isIterable)(a)) {\n return (0,_fromIterable__WEBPACK_IMPORTED_MODULE_3__.fromIterable)(a)\n }\n\n throw new TypeError('from(x) must be observable, iterable, or array-like: ' + a)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromArray: () => (/* binding */ fromArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction fromArray (a) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ArraySource(a))\n}\n\nfunction ArraySource (a) {\n this.array = a\n}\n\nArraySource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"](runProducer, this.array, sink))\n}\n\nfunction runProducer (t, array, sink) {\n for (var i = 0, l = array.length; i < l && this.active; ++i) {\n sink.event(t, array[i])\n }\n\n this.active && sink.end(t)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromEvent: () => (/* binding */ fromEvent)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EventTargetSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js\");\n/* harmony import */ var _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventEmitterSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream from an EventTarget, such as a DOM Node, or EventEmitter.\n * @param {String} event event type name, e.g. 'click'\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter\n * @param {*?} capture for DOM events, whether to use\n * capturing--passed as 3rd parameter to addEventListener.\n * @returns {Stream} stream containing all events of the specified type\n * from the source.\n */\nfunction fromEvent (event, source, capture) { // eslint-disable-line complexity\n var s\n\n if (typeof source.addEventListener === 'function' && typeof source.removeEventListener === 'function') {\n if (arguments.length < 3) {\n capture = false\n }\n\n s = new _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__[\"default\"](event, source, capture)\n } else if (typeof source.addListener === 'function' && typeof source.removeListener === 'function') {\n s = new _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__[\"default\"](event, source)\n } else {\n throw new Error('source must support addEventListener/removeEventListener or addListener/removeListener')\n }\n\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](s)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromIterable: () => (/* binding */ fromIterable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../iterable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromIterable (iterable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterableSource(iterable))\n}\n\nfunction IterableSource (iterable) {\n this.iterable = iterable\n}\n\nIterableSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runProducer, (0,_iterable__WEBPACK_IMPORTED_MODULE_1__.getIterator)(this.iterable), sink))\n}\n\nfunction runProducer (t, iterator, sink) {\n var r = iterator.next()\n\n while (!r.done && this.active) {\n sink.event(t, r.value)\n r = iterator.next()\n }\n\n sink.end(t, r.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ generate: () => (/* binding */ generate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2014 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Compute a stream using an *async* generator, which yields promises\n * to control event times.\n * @param f\n * @returns {Stream}\n */\nfunction generate (f /*, ...args */) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new GenerateSource(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments)))\n}\n\nfunction GenerateSource (f, args) {\n this.f = f\n this.args = args\n}\n\nGenerateSource.prototype.run = function (sink, scheduler) {\n return new Generate(this.f.apply(void 0, this.args), sink, scheduler)\n}\n\nfunction Generate (iterator, sink, scheduler) {\n this.iterator = iterator\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n Promise.resolve(this).then(next).catch(err)\n}\n\nfunction next (generate, x) {\n return generate.active ? handle(generate, generate.iterator.next(x)) : x\n}\n\nfunction handle (generate, result) {\n if (result.done) {\n return generate.sink.end(generate.scheduler.now(), result.value)\n }\n\n return Promise.resolve(result.value).then(function (x) {\n return emit(generate, x)\n }, function (e) {\n return error(generate, e)\n })\n}\n\nfunction emit (generate, x) {\n generate.sink.event(generate.scheduler.now(), x)\n return next(generate, x)\n}\n\nfunction error (generate, e) {\n return handle(generate, generate.iterator.throw(e))\n}\n\nGenerate.prototype.dispose = function () {\n this.active = false\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js": -/*!*******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ iterate: () => (/* binding */ iterate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by iteratively calling f to produce values\n * Event times may be controlled by returning a Promise from f\n * @param {function(x:*):*|Promise<*>} f\n * @param {*} x initial value\n * @returns {Stream}\n */\nfunction iterate (f, x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterateSource(f, x))\n}\n\nfunction IterateSource (f, x) {\n this.f = f\n this.value = x\n}\n\nIterateSource.prototype.run = function (sink, scheduler) {\n return new Iterate(this.f, this.value, sink, scheduler)\n}\n\nfunction Iterate (f, initial, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var x = initial\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (iterate) {\n return stepIterate(iterate, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nIterate.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepIterate (iterate, x) {\n iterate.sink.event(iterate.scheduler.now(), x)\n\n if (!iterate.active) {\n return x\n }\n\n var f = iterate.f\n return Promise.resolve(f(x)).then(function (y) {\n return continueIterate(iterate, y)\n })\n}\n\nfunction continueIterate (iterate, x) {\n return !iterate.active ? iterate.value : stepIterate(iterate, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ periodic: () => (/* binding */ periodic)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Create a stream that emits the current time periodically\n * @param {Number} period periodicity of events in millis\n * @param {*} deprecatedValue @deprecated value to emit each period\n * @returns {Stream} new stream that emits the current time every period\n */\nfunction periodic (period, deprecatedValue) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Periodic(period, deprecatedValue))\n}\n\nfunction Periodic (period, value) {\n this.period = period\n this.value = value\n}\n\nPeriodic.prototype.run = function (sink, scheduler) {\n return scheduler.periodic(this.period, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"].event(this.value, sink))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ tryEnd: () => (/* binding */ tryEnd),\n/* harmony export */ tryEvent: () => (/* binding */ tryEvent)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction tryEvent (t, x, sink) {\n try {\n sink.event(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nfunction tryEnd (t, x, sink) {\n try {\n sink.end(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js": -/*!******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ unfold: () => (/* binding */ unfold)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by unfolding tuples of future values from a seed value\n * Event times may be controlled by returning a Promise from f\n * @param {function(seed:*):{value:*, seed:*, done:boolean}|Promise<{value:*, seed:*, done:boolean}>} f unfolding function accepts\n * a seed and returns a new tuple with a value, new seed, and boolean done flag.\n * If tuple.done is true, the stream will end.\n * @param {*} seed seed value\n * @returns {Stream} stream containing all value of all tuples produced by the\n * unfolding function.\n */\nfunction unfold (f, seed) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new UnfoldSource(f, seed))\n}\n\nfunction UnfoldSource (f, seed) {\n this.f = f\n this.value = seed\n}\n\nUnfoldSource.prototype.run = function (sink, scheduler) {\n return new Unfold(this.f, this.value, sink, scheduler)\n}\n\nfunction Unfold (f, x, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (unfold) {\n return stepUnfold(unfold, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nUnfold.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepUnfold (unfold, x) {\n var f = unfold.f\n return Promise.resolve(f(x)).then(function (tuple) {\n return continueUnfold(unfold, tuple)\n })\n}\n\nfunction continueUnfold (unfold, tuple) {\n if (tuple.done) {\n unfold.sink.end(unfold.scheduler.now(), tuple.value)\n return tuple.value\n }\n\n unfold.sink.event(unfold.scheduler.now(), tuple.value)\n\n if (!unfold.active) {\n return tuple.value\n }\n return stepUnfold(unfold, tuple.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js": -/*!*********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js ***! - \*********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defer: () => (/* binding */ defer),\n/* harmony export */ runTask: () => (/* binding */ runTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction defer (task) {\n return Promise.resolve(task).then(runTask)\n}\n\nfunction runTask (task) {\n try {\n return task.run()\n } catch (e) {\n return task.error(e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js ***! - \**********************************************************************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ \"../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js\");\n/* module decorator */ module = __webpack_require__.hmd(module);\n/* global window */\n\n\nvar root;\n\nif (typeof self !== 'undefined') {\n root = self;\n} else if (typeof window !== 'undefined') {\n root = window;\n} else if (typeof __webpack_require__.g !== 'undefined') {\n root = __webpack_require__.g;\n} else if (true) {\n root = module;\n} else {}\n\nvar result = (0,_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(root);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (result);\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ symbolObservablePonyfill)\n/* harmony export */ });\nfunction symbolObservablePonyfill(root) {\n\tvar result;\n\tvar Symbol = root.Symbol;\n\n\tif (typeof Symbol === 'function') {\n\t\tif (Symbol.observable) {\n\t\t\tresult = Symbol.observable;\n\t\t} else {\n\t\t\tresult = Symbol('observable');\n\t\t\tSymbol.observable = result;\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js": -/*!********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js ***! - \********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_obj = __webpack_require__(/*! rescript/lib/js/caml_obj.js */ \"../../../../node_modules/rescript/lib/js/caml_obj.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../node_modules/rescript/lib/js/belt_List.js\");\nvar Js_option = __webpack_require__(/*! rescript/lib/js/js_option.js */ \"../../../../node_modules/rescript/lib/js/js_option.js\");\n\nfunction _assert(result, message) {\n return result;\n}\n\nfunction test(message, func) {\n if (Curry._1(func, undefined)) {\n return ;\n } else {\n return Js_exn.raiseError(message);\n }\n}\n\nfunction requireCheck(f, isTest) {\n if (isTest) {\n return Curry._1(f, undefined);\n }\n \n}\n\nfunction ensureCheck(returnVal, f, isTest) {\n if (isTest) {\n Curry._1(f, returnVal);\n return returnVal;\n } else {\n return returnVal;\n }\n}\n\nfunction assertPass(param) {\n return true;\n}\n\nfunction assertTrue(source) {\n return source === true;\n}\n\nfunction assertFalse(source) {\n return source === false;\n}\n\nfunction assertJsTrue(source) {\n return source === true;\n}\n\nfunction assertJsFalse(source) {\n return source === false;\n}\n\nfunction assertIsBool(source) {\n if (source === true) {\n return true;\n } else {\n return source === false;\n }\n}\n\nvar _isNullableExist = (function(source) {\n return source !== undefined && source !== null;\n});\n\nvar assertNullableExist = _isNullableExist;\n\nfunction _isNullableListExist(sourceList) {\n return Js_option.isNone(Belt_List.getBy(sourceList, (function (source) {\n return source == null;\n })));\n}\n\nvar assertNullableListExist = _isNullableListExist;\n\nvar assertExist = Js_option.isSome;\n\nvar assertNotExist = Js_option.isNone;\n\nfunction _getEqualMessage(source, target) {\n return \"\\\"expect to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertEqual(kind, source, target) {\n _getEqualMessage(source, target);\n return Caml_obj.equal(source, target);\n}\n\nfunction _getNotEqualMessage(source, target) {\n return \"\\\"expect not to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertNotEqual(kind, source, target) {\n _getNotEqualMessage(source, target);\n return Caml_obj.notequal(source, target);\n}\n\nfunction assertGt(kind, source, target) {\n return Caml_obj.greaterthan(source, target);\n}\n\nfunction assertGte(kind, source, target) {\n return Caml_obj.greaterequal(source, target);\n}\n\nfunction assertLt(kind, source, target) {\n return Caml_obj.lessthan(source, target);\n}\n\nfunction assertLte(kind, source, target) {\n return Caml_obj.lessequal(source, target);\n}\n\nfunction $eq(a, b) {\n return assertEqual(/* Int */0, a, b);\n}\n\nfunction $eq$eq$dot(a, b) {\n return assertEqual(/* Float */1, a, b);\n}\n\nfunction $eq$eq$caret(a, b) {\n return assertEqual(/* String */2, a, b);\n}\n\nfunction $less$great$eq(a, b) {\n return assertNotEqual(/* Int */0, a, b);\n}\n\nfunction $less$great$eq$dot(a, b) {\n return assertNotEqual(/* Float */1, a, b);\n}\n\nvar $great = Caml_obj.greaterthan;\n\nvar $great$dot = Caml_obj.greaterthan;\n\nvar $great$eq = Caml_obj.greaterequal;\n\nvar $great$eq$dot = Caml_obj.greaterequal;\n\nvar $less = Caml_obj.lessthan;\n\nvar $less$dot = Caml_obj.lessthan;\n\nvar $less$eq = Caml_obj.lessequal;\n\nvar $less$eq$dot = Caml_obj.lessequal;\n\nvar Operators = {\n $eq: $eq,\n $eq$eq$dot: $eq$eq$dot,\n $eq$eq$caret: $eq$eq$caret,\n $less$great$eq: $less$great$eq,\n $less$great$eq$dot: $less$great$eq$dot,\n $great: $great,\n $great$dot: $great$dot,\n $great$eq: $great$eq,\n $great$eq$dot: $great$eq$dot,\n $less: $less,\n $less$dot: $less$dot,\n $less$eq: $less$eq,\n $less$eq$dot: $less$eq$dot\n};\n\nexports._assert = _assert;\nexports.test = test;\nexports.requireCheck = requireCheck;\nexports.ensureCheck = ensureCheck;\nexports.assertPass = assertPass;\nexports.assertTrue = assertTrue;\nexports.assertFalse = assertFalse;\nexports.assertJsTrue = assertJsTrue;\nexports.assertJsFalse = assertJsFalse;\nexports.assertIsBool = assertIsBool;\nexports._isNullableExist = _isNullableExist;\nexports.assertNullableExist = assertNullableExist;\nexports._isNullableListExist = _isNullableListExist;\nexports.assertNullableListExist = assertNullableListExist;\nexports.assertExist = assertExist;\nexports.assertNotExist = assertNotExist;\nexports._getEqualMessage = _getEqualMessage;\nexports.assertEqual = assertEqual;\nexports._getNotEqualMessage = _getNotEqualMessage;\nexports.assertNotEqual = assertNotEqual;\nexports.assertGt = assertGt;\nexports.assertGte = assertGte;\nexports.assertLt = assertLt;\nexports.assertLte = assertLte;\nexports.Operators = Operators;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js": -/*!**********************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../node_modules/rescript/lib/js/belt_List.js\");\n\nfunction printForDebug(value) {\n console.log(JSON.stringify(value));\n return value;\n}\n\nfunction printStringForDebug(value) {\n console.log(value);\n return value;\n}\n\nfunction printListForDebug(list) {\n console.log(Belt_List.toArray(list));\n return list;\n}\n\nfunction logForDebug(value) {\n console.log(value);\n console.trace();\n}\n\nfunction log(value) {\n console.log(JSON.stringify(value));\n}\n\nfunction debugWithFunc(func, isTest) {\n if (isTest) {\n return Curry._1(func, undefined);\n }\n \n}\n\nfunction _debug(msg) {\n console.debug(msg);\n}\n\nfunction debug(buildMessageFunc, isTest) {\n if (!isTest) {\n return ;\n }\n var msg = Curry._1(buildMessageFunc, undefined);\n console.debug(msg);\n console.trace();\n}\n\nfunction getJsonStr(json) {\n return JSON.stringify(json);\n}\n\nfunction buildDebugMessage(description, params, param) {\n return \"\\n Debug:\\n\\n description\\n \" + description + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildDebugJsonMessage(description, $$var, param) {\n var varStr = JSON.stringify($$var);\n return \"\\n DebugJson:\\n\\n description\\n \" + description + \"\\n\\n variable value\\n \" + varStr + \"\\n \";\n}\n\nfunction buildFatalMessage(title, description, reason, solution, params) {\n return \"\\n Fatal:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildErrorMessage(title, description, reason, solution, params) {\n return \"\\n Error:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildAssertMessage(expect, actual) {\n return \"expect \" + expect + \", but actual \" + actual;\n}\n\nexports.printForDebug = printForDebug;\nexports.printStringForDebug = printStringForDebug;\nexports.printListForDebug = printListForDebug;\nexports.logForDebug = logForDebug;\nexports.log = log;\nexports.debugWithFunc = debugWithFunc;\nexports._debug = _debug;\nexports.debug = debug;\nexports.getJsonStr = getJsonStr;\nexports.buildDebugMessage = buildDebugMessage;\nexports.buildDebugJsonMessage = buildDebugJsonMessage;\nexports.buildFatalMessage = buildFatalMessage;\nexports.buildErrorMessage = buildErrorMessage;\nexports.buildAssertMessage = buildAssertMessage;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js": -/*!********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js ***! - \********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_array = __webpack_require__(/*! rescript/lib/js/caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Log$Meta3dCommonlib = __webpack_require__(/*! ../log/Log.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\nvar Contract$Meta3dCommonlib = __webpack_require__(/*! ../contract/Contract.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar PromiseSt$Meta3dCommonlib = __webpack_require__(/*! ./PromiseSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! ./hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\n\nvar _getExn = ((nullableData) => { if (nullableData !== undefined) { return nullableData; } throw new Error(\"Not_found\") });\n\nfunction getExn(arr, index) {\n return _getExn(arr[index]);\n}\n\nfunction length(prim) {\n return prim.length;\n}\n\nfunction find(arr, func) {\n return Js_array.find(func, arr);\n}\n\nfunction includes(arr, value) {\n return Js_array.includes(value, arr);\n}\n\nfunction includesByFunc(arr, func) {\n return OptionSt$Meta3dCommonlib.isSome(Js_array.find(func, arr));\n}\n\nfunction sliceFrom(arr, index) {\n return Js_array.sliceFrom(index, arr);\n}\n\nfunction slice(arr, start, end_) {\n return Js_array.slice(start, end_, arr);\n}\n\nfunction copy(prim) {\n return prim.slice();\n}\n\nfunction reduceOneParam(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction reduceOneParami(arr, func, param) {\n var mutableParam = param;\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n mutableParam = func(mutableParam, arr[i], i);\n }\n return mutableParam;\n}\n\nfunction traverseResultM(arr, func) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed([]);\n } else {\n return Result$Meta3dCommonlib.bind(Curry._1(func, _getExn(arr[0])), (function (h) {\n return Result$Meta3dCommonlib.bind(traverseResultM(Js_array.sliceFrom(1, arr), func), (function (t) {\n return Result$Meta3dCommonlib.succeed(Js_array.concat(t, [h]));\n }));\n }));\n }\n}\n\nfunction _id(value) {\n return value;\n}\n\nfunction sequenceResultM(arr) {\n return traverseResultM(arr, _id);\n}\n\nfunction traverseReducePromiseM(arr, func, param) {\n if (arr.length === 0) {\n return Promise.resolve(param);\n } else {\n return PromiseSt$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReducePromiseM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction traverseReduceResultM(arr, func, param) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed(param);\n } else {\n return Result$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReduceResultM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction unsafeGetFirst(arr) {\n return arr[0];\n}\n\nfunction getFirst(arr) {\n if (arr.length >= 1) {\n return Caml_option.some(Caml_array.get(arr, 0));\n }\n \n}\n\nfunction push(arr, value) {\n Js_array.push(value, arr);\n return arr;\n}\n\nfunction forEach(arr, func) {\n Js_array.forEach(func, arr);\n}\n\nfunction map(arr, func) {\n return Js_array.map(func, arr);\n}\n\nfunction mapi(arr, func) {\n return Js_array.mapi(func, arr);\n}\n\nfunction filter(arr, func) {\n return Js_array.filter(func, arr);\n}\n\nfunction reverse(arr) {\n return arr.slice().reverse();\n}\n\nfunction deleteBySwap(arr, isDebug, index, lastIndex) {\n Contract$Meta3dCommonlib.requireCheck((function (param) {\n var len = arr.length;\n Contract$Meta3dCommonlib.test(Log$Meta3dCommonlib.buildAssertMessage(\"lastIndex:\" + lastIndex + \" === arr.length:\" + len, \"not\"), (function (param) {\n return Contract$Meta3dCommonlib.assertEqual(/* Int */0, arr.length - 1 | 0, lastIndex);\n }));\n }), isDebug);\n arr[index] = arr[lastIndex];\n arr.pop();\n}\n\nfunction range(a, b) {\n var result = [];\n for(var i = a; i <= b; ++i){\n Js_array.push(i, result);\n }\n return result;\n}\n\nfunction removeDuplicateItems(arr) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = item.toString();\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction removeDuplicateItemsWithBuildKeyFunc(arr, buildKeyFunc) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = buildKeyFunc(item);\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction chunk(arr, size) {\n var match = Belt_Array.reduceU(arr, [\n [],\n []\n ], (function (param, value) {\n var group = param[1];\n var result = param[0];\n if (group.length < size) {\n return [\n result,\n push(group, value)\n ];\n } else {\n return [\n push(result, group),\n [value]\n ];\n }\n }));\n var group = match[1];\n var result = match[0];\n if (group.length > 0) {\n return push(result, group);\n } else {\n return result;\n }\n}\n\nfunction sort(arr, func) {\n return Js_array.sortInPlaceWith(func, arr);\n}\n\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.length = length;\nexports.find = find;\nexports.includes = includes;\nexports.includesByFunc = includesByFunc;\nexports.sliceFrom = sliceFrom;\nexports.slice = slice;\nexports.copy = copy;\nexports.reduceOneParam = reduceOneParam;\nexports.reduceOneParami = reduceOneParami;\nexports.traverseResultM = traverseResultM;\nexports._id = _id;\nexports.sequenceResultM = sequenceResultM;\nexports.traverseReducePromiseM = traverseReducePromiseM;\nexports.traverseReduceResultM = traverseReduceResultM;\nexports.unsafeGetFirst = unsafeGetFirst;\nexports.getFirst = getFirst;\nexports.push = push;\nexports.forEach = forEach;\nexports.map = map;\nexports.mapi = mapi;\nexports.filter = filter;\nexports.reverse = reverse;\nexports.deleteBySwap = deleteBySwap;\nexports.range = range;\nexports.removeDuplicateItems = removeDuplicateItems;\nexports.removeDuplicateItemsWithBuildKeyFunc = removeDuplicateItemsWithBuildKeyFunc;\nexports.chunk = chunk;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar throwErr = ((err) => {\n throw err;\n});\n\nvar buildErr = ((message) => {\nreturn new Error(message);\n});\n\nexports.throwErr = throwErr;\nexports.buildErr = buildErr;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js": -/*!*********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js ***! - \*********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Option = __webpack_require__(/*! rescript/lib/js/belt_Option.js */ \"../../../../node_modules/rescript/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\n\nfunction unsafeGet(prim) {\n return prim;\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nvar getExn = _getExn;\n\nfunction buildFailResult(param) {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n}\n\nfunction get(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.succeed(Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n }\n}\n\nfunction fromNullable(optionData) {\n if (optionData == null) {\n return ;\n } else {\n return Caml_option.some(optionData);\n }\n}\n\nvar toNullable = Js_null_undefined.from_opt;\n\nfunction toStrictNullable(optionData) {\n if (optionData !== undefined) {\n return Caml_option.valFromOption(optionData);\n } else {\n return null;\n }\n}\n\nfunction forEachResult(optionData, func) {\n if (optionData !== undefined) {\n return Curry._1(func, Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction sequenceResultM(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.mapSuccess(optionData, (function (value) {\n return Caml_option.some(value);\n }));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction open_(optionOptionData) {\n if (optionOptionData !== undefined) {\n return Caml_option.valFromOption(optionOptionData);\n }\n \n}\n\nvar getWithDefault = Belt_Option.getWithDefault;\n\nvar isSome = Belt_Option.isSome;\n\nvar map = Belt_Option.map;\n\nvar bind = Belt_Option.flatMap;\n\nexports.unsafeGet = unsafeGet;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.buildFailResult = buildFailResult;\nexports.get = get;\nexports.getWithDefault = getWithDefault;\nexports.isSome = isSome;\nexports.map = map;\nexports.bind = bind;\nexports.fromNullable = fromNullable;\nexports.toNullable = toNullable;\nexports.toStrictNullable = toStrictNullable;\nexports.forEachResult = forEachResult;\nexports.sequenceResultM = sequenceResultM;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_promise = __webpack_require__(/*! rescript/lib/js/js_promise.js */ \"../../../../node_modules/rescript/lib/js/js_promise.js\");\n\nfunction bind(p, func) {\n return Js_promise.then_(func, p);\n}\n\nfunction map(p, func) {\n return Js_promise.then_((function (v) {\n return Promise.resolve(Curry._1(func, v));\n }), p);\n}\n\nexports.bind = bind;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js": -/*!*******************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js ***! - \*******************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_js_exceptions = __webpack_require__(/*! rescript/lib/js/caml_js_exceptions.js */ \"../../../../node_modules/rescript/lib/js/caml_js_exceptions.js\");\nvar Exception$Meta3dCommonlib = __webpack_require__(/*! ./Exception.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js\");\n\nfunction succeed(x) {\n return {\n TAG: /* Ok */0,\n _0: x\n };\n}\n\nfunction fail(x) {\n return {\n TAG: /* Error */1,\n _0: x\n };\n}\n\nvar _buildErr = Exception$Meta3dCommonlib.buildErr;\n\nfunction failWith(x) {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(x)\n };\n}\n\nfunction isSuccess(result) {\n if (result.TAG === /* Ok */0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction either(result, successFunc, failureFunc) {\n if (result.TAG === /* Ok */0) {\n return Curry._1(successFunc, result._0);\n } else {\n return Curry._1(failureFunc, result._0);\n }\n}\n\nfunction bind(result, switchFunc) {\n return either(result, switchFunc, fail);\n}\n\nfunction tap(result, oneTrackFunc) {\n return either(result, (function (result) {\n Curry._1(oneTrackFunc, result);\n return {\n TAG: /* Ok */0,\n _0: result\n };\n }), fail);\n}\n\nfunction tryCatch(oneTrackFunc) {\n try {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(oneTrackFunc, undefined)\n };\n }\n catch (raw_e){\n var e = Caml_js_exceptions.internalToOCamlException(raw_e);\n if (e.RE_EXN_ID === Js_exn.$$Error) {\n return {\n TAG: /* Error */1,\n _0: e._1\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(\"unknown error: \" + e)\n };\n }\n }\n}\n\nfunction mapSuccess(result, mapFunc) {\n if (result.TAG === /* Ok */0) {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(mapFunc, result._0)\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: result._0\n };\n }\n}\n\nfunction handleFail(result, handleFailFunc) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return Curry._1(handleFailFunc, result._0);\n }\n}\n\nfunction getExn(result) {\n return handleFail(result, Exception$Meta3dCommonlib.throwErr);\n}\n\nfunction toNullable(result) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return null;\n }\n}\n\nfunction open_(resultResultData) {\n if (resultResultData.TAG === /* Ok */0) {\n return resultResultData._0;\n } else {\n return {\n TAG: /* Error */1,\n _0: resultResultData._0\n };\n }\n}\n\nexports.succeed = succeed;\nexports.fail = fail;\nexports._buildErr = _buildErr;\nexports.failWith = failWith;\nexports.isSuccess = isSuccess;\nexports.either = either;\nexports.bind = bind;\nexports.tap = tap;\nexports.tryCatch = tryCatch;\nexports.mapSuccess = mapSuccess;\nexports.handleFail = handleFail;\nexports.getExn = getExn;\nexports.toNullable = toNullable;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js": -/*!*****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js ***! - \*****************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_dict = __webpack_require__(/*! rescript/lib/js/js_dict.js */ \"../../../../node_modules/rescript/lib/js/js_dict.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar NullUtils$Meta3dCommonlib = __webpack_require__(/*! ../utils/NullUtils.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js\");\n\nfunction createEmpty(hintSizeOpt, param) {\n return {};\n}\n\nfunction unsafeGet(map, key) {\n return map[key];\n}\n\nfunction get(map, key) {\n var value = map[key];\n if (NullUtils$Meta3dCommonlib.isEmpty(value)) {\n return ;\n } else {\n return Caml_option.some(value);\n }\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nfunction getExn(map, key) {\n return _getExn(map[key]);\n}\n\nfunction getNullable(map, key) {\n return Js_null_undefined.fromOption(get(map, key));\n}\n\nfunction has(map, key) {\n return !NullUtils$Meta3dCommonlib.isEmpty(map[key]);\n}\n\nvar entries = Js_dict.entries;\n\nfunction _mutableSet(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction _createEmpty(param) {\n return {};\n}\n\nfunction _reduceArray(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction copy(map) {\n return Belt_Array.reduceU(Js_dict.entries(map), {}, (function (newMap, param) {\n return _mutableSet(newMap, param[0], param[1]);\n }));\n}\n\nfunction getValidValues(map) {\n var __x = Js_dict.values(map);\n return Js_array.filter(NullUtils$Meta3dCommonlib.isInMap, __x);\n}\n\nfunction map(map$1, func) {\n return Js_dict.map(func, map$1);\n}\n\nfunction merge(sourceMap, targetMap) {\n return Belt_Array.reduceU(Js_dict.entries(sourceMap), targetMap, (function (targetMap, param) {\n return _mutableSet(targetMap, param[0], param[1]);\n }));\n}\n\nexports.createEmpty = createEmpty;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.entries = entries;\nexports._mutableSet = _mutableSet;\nexports._createEmpty = _createEmpty;\nexports._reduceArray = _reduceArray;\nexports.copy = copy;\nexports.getValidValues = getValidValues;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar HashMap$Meta3dCommonlib = __webpack_require__(/*! ./HashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js\");\n\nfunction set(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction deleteVal(map, key) {\n map[key] = undefined;\n return map;\n}\n\nvar createEmpty = HashMap$Meta3dCommonlib.createEmpty;\n\nvar unsafeGet = HashMap$Meta3dCommonlib.unsafeGet;\n\nvar get = HashMap$Meta3dCommonlib.get;\n\nvar getExn = HashMap$Meta3dCommonlib.getExn;\n\nvar getNullable = HashMap$Meta3dCommonlib.getNullable;\n\nvar has = HashMap$Meta3dCommonlib.has;\n\nvar getValidValues = HashMap$Meta3dCommonlib.getValidValues;\n\nvar copy = HashMap$Meta3dCommonlib.copy;\n\nvar entries = HashMap$Meta3dCommonlib.entries;\n\nvar map = HashMap$Meta3dCommonlib.map;\n\nvar merge = HashMap$Meta3dCommonlib.merge;\n\nexports.createEmpty = createEmpty;\nexports.set = set;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.deleteVal = deleteVal;\nexports.getValidValues = getValidValues;\nexports.copy = copy;\nexports.entries = entries;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nfunction isEmpty(value) {\n if (value === null) {\n return true;\n } else {\n return value === undefined;\n }\n}\n\nfunction isNotInMap(value) {\n return value === undefined;\n}\n\nfunction isInMap(value) {\n return value !== undefined;\n}\n\nexports.isUndefined = isUndefined;\nexports.isEmpty = isEmpty;\nexports.isNotInMap = isNotInMap;\nexports.isInMap = isInMap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js?"); - -/***/ }), - -/***/ "../../../../node_modules/@most/multicast/dist/multicast.es.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/@most/multicast/dist/multicast.es.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MulticastSource: () => (/* binding */ MulticastSource),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n\n\nvar MulticastDisposable = function MulticastDisposable (source, sink) {\n this.source = source\n this.sink = sink\n this.disposed = false\n};\n\nMulticastDisposable.prototype.dispose = function dispose () {\n if (this.disposed) {\n return\n }\n this.disposed = true\n var remaining = this.source.remove(this.sink)\n return remaining === 0 && this.source._dispose()\n};\n\nfunction tryEvent (t, x, sink) {\n try {\n sink.event(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nfunction tryEnd (t, x, sink) {\n try {\n sink.end(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nvar dispose = function (disposable) { return disposable.dispose(); }\n\nvar emptyDisposable = {\n dispose: function dispose$1 () {}\n}\n\nvar MulticastSource = function MulticastSource (source) {\n this.source = source\n this.sinks = []\n this._disposable = emptyDisposable\n};\n\nMulticastSource.prototype.run = function run (sink, scheduler) {\n var n = this.add(sink)\n if (n === 1) {\n this._disposable = this.source.run(this, scheduler)\n }\n return new MulticastDisposable(this, sink)\n};\n\nMulticastSource.prototype._dispose = function _dispose () {\n var disposable = this._disposable\n this._disposable = emptyDisposable\n return Promise.resolve(disposable).then(dispose)\n};\n\nMulticastSource.prototype.add = function add (sink) {\n this.sinks = (0,_most_prelude__WEBPACK_IMPORTED_MODULE_0__.append)(sink, this.sinks)\n return this.sinks.length\n};\n\nMulticastSource.prototype.remove = function remove$1 (sink) {\n var i = (0,_most_prelude__WEBPACK_IMPORTED_MODULE_0__.findIndex)(sink, this.sinks)\n // istanbul ignore next\n if (i >= 0) {\n this.sinks = (0,_most_prelude__WEBPACK_IMPORTED_MODULE_0__.remove)(i, this.sinks)\n }\n\n return this.sinks.length\n};\n\nMulticastSource.prototype.event = function event (time, value) {\n var s = this.sinks\n if (s.length === 1) {\n return s[0].event(time, value)\n }\n for (var i = 0; i < s.length; ++i) {\n tryEvent(time, value, s[i])\n }\n};\n\nMulticastSource.prototype.end = function end (time, value) {\n var s = this.sinks\n for (var i = 0; i < s.length; ++i) {\n tryEnd(time, value, s[i])\n }\n};\n\nMulticastSource.prototype.error = function error (time, err) {\n var s = this.sinks\n for (var i = 0; i < s.length; ++i) {\n s[i].error(time, err)\n }\n};\n\nfunction multicast (stream) {\n var source = stream.source\n return source instanceof MulticastSource\n ? stream\n : new stream.constructor(new MulticastSource(source))\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (multicast);\n//# sourceMappingURL=multicast.es.js.map\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/@most/multicast/dist/multicast.es.js?"); - -/***/ }), - -/***/ "../../../../node_modules/@most/prelude/dist/index.es.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/@most/prelude/dist/index.es.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ append: () => (/* binding */ append),\n/* harmony export */ apply: () => (/* binding */ apply),\n/* harmony export */ compose: () => (/* binding */ compose),\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ cons: () => (/* binding */ cons),\n/* harmony export */ copy: () => (/* binding */ copy),\n/* harmony export */ curry2: () => (/* binding */ curry2),\n/* harmony export */ curry3: () => (/* binding */ curry3),\n/* harmony export */ curry4: () => (/* binding */ curry4),\n/* harmony export */ drop: () => (/* binding */ drop),\n/* harmony export */ findIndex: () => (/* binding */ findIndex),\n/* harmony export */ id: () => (/* binding */ id),\n/* harmony export */ isArrayLike: () => (/* binding */ isArrayLike),\n/* harmony export */ map: () => (/* binding */ map),\n/* harmony export */ reduce: () => (/* binding */ reduce),\n/* harmony export */ remove: () => (/* binding */ remove),\n/* harmony export */ removeAll: () => (/* binding */ removeAll),\n/* harmony export */ replace: () => (/* binding */ replace),\n/* harmony export */ tail: () => (/* binding */ tail)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\r\n// Non-mutating array operations\r\n/**\r\n * a with x prepended\r\n */\r\nfunction cons(x, a) {\r\n var l = a.length;\r\n var b = new Array(l + 1);\r\n b[0] = x;\r\n for (var i = 0; i < l; ++i) {\r\n b[i + 1] = a[i];\r\n }\r\n return b;\r\n}\r\n/**\r\n * a with x appended\r\n */\r\nfunction append(x, a) {\r\n var l = a.length;\r\n var b = new Array(l + 1);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = a[i];\r\n }\r\n b[l] = x;\r\n return b;\r\n}\r\n/**\r\n * Concats two `ArrayLike`s\r\n */\r\nfunction concat(a, b) {\r\n var al = a.length;\r\n var bl = b.length;\r\n var r = new Array(al + bl);\r\n var i = 0;\r\n for (i = 0; i < al; i++) {\r\n r[i] = a[i];\r\n }\r\n for (var j = 0; j < bl; j++) {\r\n r[i++] = b[j];\r\n }\r\n return r;\r\n}\r\n//\r\n/**\r\n * drop first n elements\r\n */\r\nfunction drop(n, a) {\r\n if (n < 0) {\r\n throw new TypeError('n must be >= 0');\r\n }\r\n var l = a.length;\r\n if (n === 0 || l === 0) {\r\n return a;\r\n }\r\n if (n >= l) {\r\n return [];\r\n }\r\n return unsafeDrop(n, a, l - n);\r\n}\r\n/**\r\n * Internal helper for drop\r\n */\r\nfunction unsafeDrop(n, a, l) {\r\n var b = new Array(l);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = a[n + i];\r\n }\r\n return b;\r\n}\r\n/**\r\n * drop head element\r\n */\r\nfunction tail(a) {\r\n return drop(1, a);\r\n}\r\n/**\r\n * duplicate a (shallow duplication)\r\n */\r\nfunction copy(a) {\r\n var l = a.length;\r\n var b = new Array(l);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = a[i];\r\n }\r\n return b;\r\n}\r\n/**\r\n * transform each element with f\r\n */\r\nfunction map(f, a) {\r\n var l = a.length;\r\n var b = new Array(l);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = f(a[i]);\r\n }\r\n return b;\r\n}\r\n/**\r\n * accumulate via left-fold\r\n */\r\nfunction reduce(f, z, a) {\r\n var r = z;\r\n for (var i = 0, l = a.length; i < l; ++i) {\r\n r = f(r, a[i], i);\r\n }\r\n return r;\r\n}\r\n/**\r\n * replace element at index\r\n */\r\nfunction replace(x, i, a) {\r\n if (i < 0) {\r\n throw new TypeError('i must be >= 0');\r\n }\r\n var l = a.length;\r\n var b = new Array(l);\r\n for (var j = 0; j < l; ++j) {\r\n b[j] = i === j ? x : a[j];\r\n }\r\n return b;\r\n}\r\n/**\r\n * remove element at index\r\n * @throws\r\n */\r\nfunction remove(i, a) {\r\n if (i < 0) {\r\n throw new TypeError('i must be >= 0');\r\n }\r\n var l = a.length;\r\n if (l === 0 || i >= l) { // exit early if index beyond end of array\r\n return a;\r\n }\r\n if (l === 1) { // exit early if index in bounds and length === 1\r\n return [];\r\n }\r\n return unsafeRemove(i, a, l - 1);\r\n}\r\n/**\r\n * Internal helper to remove element at index\r\n */\r\nfunction unsafeRemove(i, a, l) {\r\n var b = new Array(l);\r\n var j;\r\n for (j = 0; j < i; ++j) {\r\n b[j] = a[j];\r\n }\r\n for (j = i; j < l; ++j) {\r\n b[j] = a[j + 1];\r\n }\r\n return b;\r\n}\r\n/**\r\n * remove all elements matching a predicate\r\n * @deprecated\r\n */\r\nfunction removeAll(f, a) {\r\n var l = a.length;\r\n var b = new Array(l);\r\n var j = 0;\r\n for (var x = void 0, i = 0; i < l; ++i) {\r\n x = a[i];\r\n if (!f(x)) {\r\n b[j] = x;\r\n ++j;\r\n }\r\n }\r\n b.length = j;\r\n return b;\r\n}\r\n/**\r\n * find index of x in a, from the left\r\n */\r\nfunction findIndex(x, a) {\r\n for (var i = 0, l = a.length; i < l; ++i) {\r\n if (x === a[i]) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n}\r\n/**\r\n * Return true iff x is array-like\r\n */\r\nfunction isArrayLike(x) {\r\n return x != null && typeof x.length === 'number' && typeof x !== 'function';\r\n}\n\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\r\nvar id = function (x) { return x; };\r\nvar compose = function (f, g) { return function (x) { return f(g(x)); }; };\r\nvar apply = function (f, x) { return f(x); };\r\nfunction curry2(f) {\r\n function curried(a, b) {\r\n switch (arguments.length) {\r\n case 0: return curried;\r\n case 1: return function (b) { return f(a, b); };\r\n default: return f(a, b);\r\n }\r\n }\r\n return curried;\r\n}\r\nfunction curry3(f) {\r\n function curried(a, b, c) {\r\n switch (arguments.length) {\r\n case 0: return curried;\r\n case 1: return curry2(function (b, c) { return f(a, b, c); });\r\n case 2: return function (c) { return f(a, b, c); };\r\n default: return f(a, b, c);\r\n }\r\n }\r\n return curried;\r\n}\r\nfunction curry4(f) {\r\n function curried(a, b, c, d) {\r\n switch (arguments.length) {\r\n case 0: return curried;\r\n case 1: return curry3(function (b, c, d) { return f(a, b, c, d); });\r\n case 2: return curry2(function (c, d) { return f(a, b, c, d); });\r\n case 3: return function (d) { return f(a, b, c, d); };\r\n default: return f(a, b, c, d);\r\n }\r\n }\r\n return curried;\r\n}\n\n\n//# sourceMappingURL=index.es.js.map\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/@most/prelude/dist/index.es.js?"); - -/***/ }), - -/***/ "../../../../node_modules/define-data-property/index.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/define-data-property/index.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar hasPropertyDescriptors = __webpack_require__(/*! has-property-descriptors */ \"../../../../node_modules/has-property-descriptors/index.js\")();\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../../node_modules/get-intrinsic/index.js\");\n\nvar $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);\n\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar gopd = __webpack_require__(/*! gopd */ \"../../../../node_modules/gopd/index.js\");\n\n/** @type {(obj: Record, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/define-data-property/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/define-properties/index.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/define-properties/index.js ***! - \***********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar keys = __webpack_require__(/*! object-keys */ \"../../../../node_modules/object-keys/index.js\");\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar defineDataProperty = __webpack_require__(/*! define-data-property */ \"../../../../node_modules/define-data-property/index.js\");\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar supportsDescriptors = __webpack_require__(/*! has-property-descriptors */ \"../../../../node_modules/has-property-descriptors/index.js\")();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object) {\n\t\tif (predicate === true) {\n\t\t\tif (object[name] === value) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (!isFunction(predicate) || !predicate()) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (supportsDescriptors) {\n\t\tdefineDataProperty(object, name, value, true);\n\t} else {\n\t\tdefineDataProperty(object, name, value);\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/define-properties/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/function-bind/implementation.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/function-bind/implementation.js ***! - \****************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/function-bind/implementation.js?"); - -/***/ }), - -/***/ "../../../../node_modules/function-bind/index.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/function-bind/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/function-bind/implementation.js\");\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/function-bind/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/get-intrinsic/index.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/get-intrinsic/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"../../../../node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"../../../../node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../../../node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! has */ \"../../../../node_modules/has/src/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/implementation.browser.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/globalthis/implementation.browser.js ***! - \*********************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("/* eslint no-negated-condition: 0, no-new-func: 0 */\n\n\n\nif (typeof self !== 'undefined') {\n\tmodule.exports = self;\n} else if (typeof window !== 'undefined') {\n\tmodule.exports = window;\n} else {\n\tmodule.exports = Function('return this')();\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/implementation.browser.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/index.js": -/*!****************************************************!*\ - !*** ../../../../node_modules/globalthis/index.js ***! - \****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar defineProperties = __webpack_require__(/*! define-properties */ \"../../../../node_modules/define-properties/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/globalthis/implementation.browser.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"../../../../node_modules/globalthis/polyfill.js\");\nvar shim = __webpack_require__(/*! ./shim */ \"../../../../node_modules/globalthis/shim.js\");\n\nvar polyfill = getPolyfill();\n\nvar getGlobal = function () { return polyfill; };\n\ndefineProperties(getGlobal, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = getGlobal;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/polyfill.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/globalthis/polyfill.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/globalthis/implementation.browser.js\");\n\nmodule.exports = function getPolyfill() {\n\tif (typeof __webpack_require__.g !== 'object' || !__webpack_require__.g || __webpack_require__.g.Math !== Math || __webpack_require__.g.Array !== Array) {\n\t\treturn implementation;\n\t}\n\treturn __webpack_require__.g;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/polyfill.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/shim.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/globalthis/shim.js ***! - \***************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"../../../../node_modules/define-properties/index.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"../../../../node_modules/globalthis/polyfill.js\");\n\nmodule.exports = function shimGlobal() {\n\tvar polyfill = getPolyfill();\n\tif (define.supportsDescriptors) {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(polyfill, 'globalThis');\n\t\tif (!descriptor || (descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill))) { // eslint-disable-line max-len\n\t\t\tObject.defineProperty(polyfill, 'globalThis', {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: false,\n\t\t\t\tvalue: polyfill,\n\t\t\t\twritable: true\n\t\t\t});\n\t\t}\n\t} else if (typeof globalThis !== 'object' || globalThis !== polyfill) {\n\t\tpolyfill.globalThis = polyfill;\n\t}\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/shim.js?"); - -/***/ }), - -/***/ "../../../../node_modules/gopd/index.js": -/*!**********************************************!*\ - !*** ../../../../node_modules/gopd/index.js ***! - \**********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../../node_modules/get-intrinsic/index.js\");\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-property-descriptors/index.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/has-property-descriptors/index.js ***! - \******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../../node_modules/get-intrinsic/index.js\");\n\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\tif ($defineProperty) {\n\t\ttry {\n\t\t\t$defineProperty({}, 'a', { value: 1 });\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\t// IE 8 has a broken defineProperty\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn false;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!hasPropertyDescriptors()) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-property-descriptors/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-proto/index.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/has-proto/index.js ***! - \***************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar test = {\n\tfoo: {}\n};\n\nvar $Object = Object;\n\nmodule.exports = function hasProto() {\n\treturn { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-proto/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-symbols/index.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/has-symbols/index.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"../../../../node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-symbols/shams.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/has-symbols/shams.js ***! - \*****************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has/src/index.js": -/*!*************************************************!*\ - !*** ../../../../node_modules/has/src/index.js ***! - \*************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar hasOwnProperty = {}.hasOwnProperty;\nvar call = Function.prototype.call;\n\nmodule.exports = call.bind ? call.bind(hasOwnProperty) : function (O, P) {\n return call.call(hasOwnProperty, O, P);\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has/src/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/LinkedList.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/most/src/LinkedList.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LinkedList)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Doubly linked list\n * @constructor\n */\nfunction LinkedList () {\n this.head = null\n this.length = 0\n}\n\n/**\n * Add a node to the end of the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to add\n */\nLinkedList.prototype.add = function (x) {\n if (this.head !== null) {\n this.head.prev = x\n x.next = this.head\n }\n this.head = x\n ++this.length\n}\n\n/**\n * Remove the provided node from the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to remove\n */\nLinkedList.prototype.remove = function (x) { // eslint-disable-line complexity\n --this.length\n if (x === this.head) {\n this.head = this.head.next\n }\n if (x.next !== null) {\n x.next.prev = x.prev\n x.next = null\n }\n if (x.prev !== null) {\n x.prev.next = x.next\n x.prev = null\n }\n}\n\n/**\n * @returns {boolean} true iff there are no nodes in the list\n */\nLinkedList.prototype.isEmpty = function () {\n return this.length === 0\n}\n\n/**\n * Dispose all nodes\n * @returns {Promise} promise that fulfills when all nodes have been disposed,\n * or rejects if an error occurs while disposing\n */\nLinkedList.prototype.dispose = function () {\n if (this.isEmpty()) {\n return Promise.resolve()\n }\n\n var promises = []\n var x = this.head\n this.head = null\n this.length = 0\n\n while (x !== null) {\n promises.push(x.dispose())\n x = x.next\n }\n\n return Promise.all(promises)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/LinkedList.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/Promise.js": -/*!****************************************************!*\ - !*** ../../../../node_modules/most/src/Promise.js ***! - \****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isPromise: () => (/* binding */ isPromise)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction isPromise (p) {\n return p !== null && typeof p === 'object' && typeof p.then === 'function'\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/Promise.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/Queue.js": -/*!**************************************************!*\ - !*** ../../../../node_modules/most/src/Queue.js ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Queue)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n// Based on https://github.com/petkaantonov/deque\n\nfunction Queue (capPow2) {\n this._capacity = capPow2 || 32\n this._length = 0\n this._head = 0\n}\n\nQueue.prototype.push = function (x) {\n var len = this._length\n this._checkCapacity(len + 1)\n\n var i = (this._head + len) & (this._capacity - 1)\n this[i] = x\n this._length = len + 1\n}\n\nQueue.prototype.shift = function () {\n var head = this._head\n var x = this[head]\n\n this[head] = void 0\n this._head = (head + 1) & (this._capacity - 1)\n this._length--\n return x\n}\n\nQueue.prototype.isEmpty = function () {\n return this._length === 0\n}\n\nQueue.prototype.length = function () {\n return this._length\n}\n\nQueue.prototype._checkCapacity = function (size) {\n if (this._capacity < size) {\n this._ensureCapacity(this._capacity << 1)\n }\n}\n\nQueue.prototype._ensureCapacity = function (capacity) {\n var oldCapacity = this._capacity\n this._capacity = capacity\n\n var last = this._head + this._length\n\n if (last > oldCapacity) {\n copy(this, 0, this, oldCapacity, last & (oldCapacity - 1))\n }\n}\n\nfunction copy (src, srcIndex, dst, dstIndex, len) {\n for (var j = 0; j < len; ++j) {\n dst[j + dstIndex] = src[j + srcIndex]\n src[j + srcIndex] = void 0\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/Queue.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/Stream.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/most/src/Stream.js ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Stream)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction Stream (source) {\n this.source = source\n}\n\nStream.prototype.run = function (sink, scheduler) {\n return this.source.run(sink, scheduler)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/Stream.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/accumulate.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/accumulate.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ reduce: () => (/* binding */ reduce),\n/* harmony export */ scan: () => (/* binding */ scan)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../runSource */ \"../../../../node_modules/most/src/runSource.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @param {Stream} stream stream to scan\n * @returns {Stream} new stream containing successive reduce results\n */\nfunction scan (f, initial, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Scan(f, initial, stream.source))\n}\n\nfunction Scan (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nScan.prototype.run = function (sink, scheduler) {\n var d1 = scheduler.asap(_scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"].event(this.value, sink))\n var d2 = this.source.run(new ScanSink(this.f, this.value, sink), scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.all([d1, d2])\n}\n\nfunction ScanSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nScanSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nScanSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nScanSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\n/**\n* Reduce a stream to produce a single result. Note that reducing an infinite\n* stream will return a Promise that never fulfills, but that may reject if an error\n* occurs.\n* @param {function(result:*, x:*):*} f reducer function\n* @param {*} initial initial value\n* @param {Stream} stream to reduce\n* @returns {Promise} promise for the file result of the reduce\n*/\nfunction reduce (f, initial, stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_2__.withDefaultScheduler)(new Reduce(f, initial, stream.source))\n}\n\nfunction Reduce (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nReduce.prototype.run = function (sink, scheduler) {\n return this.source.run(new ReduceSink(this.f, this.value, sink), scheduler)\n}\n\nfunction ReduceSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nReduceSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nReduceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nReduceSink.prototype.end = function (t) {\n this.sink.end(t, this.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/accumulate.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/applicative.js": -/*!*******************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/applicative.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ap: () => (/* binding */ ap)\n/* harmony export */ });\n/* harmony import */ var _combine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./combine */ \"../../../../node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Assume fs is a stream containing functions, and apply the latest function\n * in fs to the latest value in xs.\n * fs: --f---------g--------h------>\n * xs: -a-------b-------c-------d-->\n * ap(fs, xs): --fa-----fb-gb---gc--hc--hd->\n * @param {Stream} fs stream of functions to apply to the latest x\n * @param {Stream} xs stream of values to which to apply all the latest f\n * @returns {Stream} stream containing all the applications of fs to xs\n */\nfunction ap (fs, xs) {\n return (0,_combine__WEBPACK_IMPORTED_MODULE_0__.combine)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.apply, fs, xs)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/applicative.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/build.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/build.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ cons: () => (/* binding */ cons)\n/* harmony export */ });\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _continueWith__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continueWith */ \"../../../../node_modules/most/src/combinator/continueWith.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * @param {*} x value to prepend\n * @param {Stream} stream\n * @returns {Stream} new stream with x prepended\n */\nfunction cons (x, stream) {\n return concat((0,_source_core__WEBPACK_IMPORTED_MODULE_0__.of)(x), stream)\n}\n\n/**\n* @param {Stream} left\n* @param {Stream} right\n* @returns {Stream} new stream containing all events in left followed by all\n* events in right. This *timeshifts* right to the end of left.\n*/\nfunction concat (left, right) {\n return (0,_continueWith__WEBPACK_IMPORTED_MODULE_1__.continueWith)(function () {\n return right\n }, left)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/build.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/combine.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/combine.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ combineArray: () => (/* binding */ combineArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\nfunction combine (f /*, ...streams */) {\n return combineArray(f, tail(arguments))\n}\n\n/**\n* Combine latest events from all input streams\n* @param {function(...events):*} f function to combine most recent events\n* @param {[Stream]} streams most recent events\n* @returns {Stream} stream containing the result of applying f to the most recent\n* event of each input stream, whenever a new event arrives on any stream.\n*/\nfunction combineArray (f, streams) {\n var l = streams.length\n return l === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : l === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](combineSources(f, streams))\n}\n\nfunction combineSources (f, streams) {\n return new Combine(f, map(getSource, streams))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Combine (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nCombine.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new CombineSink(disposables, sinks, sink, this.f)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction CombineSink (disposables, sinks, sink, f) {\n this.sink = sink\n this.disposables = disposables\n this.sinks = sinks\n this.f = f\n\n var l = sinks.length\n this.awaiting = l\n this.values = new Array(l)\n this.hasValue = new Array(l)\n for (var i = 0; i < l; ++i) {\n this.hasValue[i] = false\n }\n\n this.activeCount = sinks.length\n}\n\nCombineSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nCombineSink.prototype.event = function (t, indexedValue) {\n var i = indexedValue.index\n var awaiting = this._updateReady(i)\n\n this.values[i] = indexedValue.value\n if (awaiting === 0) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(this.f, this.values))\n }\n}\n\nCombineSink.prototype._updateReady = function (index) {\n if (this.awaiting > 0) {\n if (!this.hasValue[index]) {\n this.hasValue[index] = true\n this.awaiting -= 1\n }\n }\n return this.awaiting\n}\n\nCombineSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/combine.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/concatMap.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/concatMap.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concatMap: () => (/* binding */ concatMap)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in stream to a new stream, and concatenate them all\n * stream: -a---b---cX\n * f(a): 1-1-1-1X\n * f(b): -2-2-2-2X\n * f(c): -3-3-3-3X\n * stream.concatMap(f): -1-1-1-1-2-2-2-2-3-3-3-3X\n * @param {function(x:*):Stream} f function to map each value to a stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction concatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, 1, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/concatMap.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/continueWith.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/continueWith.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ continueWith: () => (/* binding */ continueWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction continueWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ContinueWith(f, stream.source))\n}\n\nfunction ContinueWith (f, source) {\n this.f = f\n this.source = source\n}\n\nContinueWith.prototype.run = function (sink, scheduler) {\n return new ContinueWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction ContinueWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.once(source.run(this, scheduler))\n}\n\nContinueWithSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nContinueWithSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nContinueWithSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, x, this.sink)\n}\n\nContinueWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nContinueWithSink.prototype._continue = function (f, x, sink) {\n return f(x).source.run(sink, this.scheduler)\n}\n\nContinueWithSink.prototype.dispose = function () {\n this.active = false\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/continueWith.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/delay.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/delay.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ delay: () => (/* binding */ delay)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @param {Stream} stream\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\nfunction delay (delayTime, stream) {\n return delayTime <= 0 ? stream\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Delay(delayTime, stream.source))\n}\n\nfunction Delay (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDelay.prototype.run = function (sink, scheduler) {\n var delaySink = new DelaySink(this.dt, sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([delaySink, this.source.run(delaySink, scheduler)])\n}\n\nfunction DelaySink (dt, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n}\n\nDelaySink.prototype.dispose = function () {\n var self = this\n this.scheduler.cancelAll(function (scheduledTask) {\n return scheduledTask.task.sink === self.sink\n })\n}\n\nDelaySink.prototype.event = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].event(x, this.sink))\n}\n\nDelaySink.prototype.end = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].end(x, this.sink))\n}\n\nDelaySink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/delay.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/errors.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/errors.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMapError: () => (/* binding */ flatMapError),\n/* harmony export */ recoverWith: () => (/* binding */ recoverWith),\n/* harmony export */ throwError: () => (/* binding */ throwError)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/SafeSink */ \"../../../../node_modules/most/src/sink/SafeSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * If stream encounters an error, recover and continue with items from stream\n * returned by f.\n * @param {function(error:*):Stream} f function which returns a new stream\n * @param {Stream} stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\nfunction recoverWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new RecoverWith(f, stream.source))\n}\n\nvar flatMapError = recoverWith\n\n/**\n * Create a stream containing only an error\n * @param {*} e error value, preferably an Error or Error subtype\n * @returns {Stream} new stream containing only an error\n */\nfunction throwError (e) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ErrorSource(e))\n}\n\nfunction ErrorSource (e) {\n this.value = e\n}\n\nErrorSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"](runError, this.value, sink))\n}\n\nfunction runError (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction RecoverWith (f, source) {\n this.f = f\n this.source = source\n}\n\nRecoverWith.prototype.run = function (sink, scheduler) {\n return new RecoverWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction RecoverWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = new _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__[\"default\"](sink)\n this.scheduler = scheduler\n this.disposable = source.run(this, scheduler)\n}\n\nRecoverWithSink.prototype.event = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEvent(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.end = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEnd(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.error = function (t, e) {\n var nextSink = this.sink.disable()\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, e, nextSink)\n}\n\nRecoverWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nRecoverWithSink.prototype._continue = function (f, x, sink) {\n var stream = f(x)\n return stream.source.run(sink, this.scheduler)\n}\n\nRecoverWithSink.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/errors.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/filter.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/filter.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ filter: () => (/* binding */ filter),\n/* harmony export */ skipRepeats: () => (/* binding */ skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* binding */ skipRepeatsWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _fusion_Filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fusion/Filter */ \"../../../../node_modules/most/src/fusion/Filter.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Retain only items matching a predicate\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @param {Stream} stream stream to filter\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\nfunction filter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"].create(p, stream.source))\n}\n\n/**\n * Skip repeated events, using === to detect duplicates\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeats (stream) {\n return skipRepeatsWith(same, stream)\n}\n\n/**\n * Skip repeated events using the provided equals function to detect duplicates\n * @param {function(a:*, b:*):boolean} equals optional function to compare items\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeatsWith (equals, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipRepeats(equals, stream.source))\n}\n\nfunction SkipRepeats (equals, source) {\n this.equals = equals\n this.source = source\n}\n\nSkipRepeats.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipRepeatsSink(this.equals, sink), scheduler)\n}\n\nfunction SkipRepeatsSink (equals, sink) {\n this.equals = equals\n this.sink = sink\n this.value = void 0\n this.init = true\n}\n\nSkipRepeatsSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipRepeatsSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipRepeatsSink.prototype.event = function (t, x) {\n if (this.init) {\n this.init = false\n this.value = x\n this.sink.event(t, x)\n } else if (!this.equals(this.value, x)) {\n this.value = x\n this.sink.event(t, x)\n }\n}\n\nfunction same (a, b) {\n return a === b\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/filter.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/flatMap.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/flatMap.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMap: () => (/* binding */ flatMap),\n/* harmony export */ join: () => (/* binding */ join)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction flatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, Infinity, stream)\n}\n\n/**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @param {Stream>} stream stream of streams\n * @returns {Stream} new stream containing all events of all inner streams\n */\nfunction join (stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeConcurrently)(Infinity, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/flatMap.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/limit.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/limit.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ debounce: () => (/* binding */ debounce),\n/* harmony export */ throttle: () => (/* binding */ throttle)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Limit the rate of events by suppressing events that occur too often\n * @param {Number} period time to suppress events\n * @param {Stream} stream\n * @returns {Stream}\n */\nfunction throttle (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](throttleSource(period, stream.source))\n}\n\nfunction throttleSource (period, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_2__[\"default\"] ? commuteMapThrottle(period, source)\n : source instanceof Throttle ? fuseThrottle(period, source)\n : new Throttle(period, source)\n}\n\nfunction commuteMapThrottle (period, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_2__[\"default\"].create(source.f, throttleSource(period, source.source))\n}\n\nfunction fuseThrottle (period, source) {\n return new Throttle(Math.max(period, source.period), source.source)\n}\n\nfunction Throttle (period, source) {\n this.period = period\n this.source = source\n}\n\nThrottle.prototype.run = function (sink, scheduler) {\n return this.source.run(new ThrottleSink(this.period, sink), scheduler)\n}\n\nfunction ThrottleSink (period, sink) {\n this.time = 0\n this.period = period\n this.sink = sink\n}\n\nThrottleSink.prototype.event = function (t, x) {\n if (t >= this.time) {\n this.time = t + this.period\n this.sink.event(t, x)\n }\n}\n\nThrottleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nThrottleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * @param {Number} period events occurring more frequently than this\n * will be suppressed\n * @param {Stream} stream stream to debounce\n * @returns {Stream} new debounced stream\n */\nfunction debounce (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Debounce(period, stream.source))\n}\n\nfunction Debounce (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDebounce.prototype.run = function (sink, scheduler) {\n return new DebounceSink(this.dt, this.source, sink, scheduler)\n}\n\nfunction DebounceSink (dt, source, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n this.value = void 0\n this.timer = null\n this.disposable = source.run(this, scheduler)\n}\n\nDebounceSink.prototype.event = function (t, x) {\n this._clearTimer()\n this.value = x\n this.timer = this.scheduler.delay(this.dt, new DebounceTask(this, x))\n}\n\nDebounceSink.prototype._event = function (t, x) {\n this._clearTimer()\n this.sink.event(t, x)\n}\n\nDebounceSink.prototype.end = function (t, x) {\n if (this._clearTimer()) {\n this.sink.event(t, this.value)\n this.value = void 0\n }\n this.sink.end(t, x)\n}\n\nDebounceSink.prototype.error = function (t, x) {\n this._clearTimer()\n this.sink.error(t, x)\n}\n\nDebounceSink.prototype.dispose = function () {\n this._clearTimer()\n return this.disposable.dispose()\n}\n\nDebounceSink.prototype._clearTimer = function () {\n if (this.timer === null) {\n return false\n }\n this.timer.dispose()\n this.timer = null\n return true\n}\n\nfunction DebounceTask (debounce, value) {\n this.debounce = debounce\n this.value = value\n}\n\nDebounceTask.prototype.run = function (t) {\n this.debounce._event(t, this.value)\n}\n\nDebounceTask.prototype.error = function (t, e) {\n this.debounce.error(t, e)\n}\n\nDebounceTask.prototype.dispose = function () {}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/limit.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/loop.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/loop.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loop: () => (/* binding */ loop)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @param {Stream} stream event stream\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\nfunction loop (stepper, seed, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Loop(stepper, seed, stream.source))\n}\n\nfunction Loop (stepper, seed, source) {\n this.step = stepper\n this.seed = seed\n this.source = source\n}\n\nLoop.prototype.run = function (sink, scheduler) {\n return this.source.run(new LoopSink(this.step, this.seed, sink), scheduler)\n}\n\nfunction LoopSink (stepper, seed, sink) {\n this.step = stepper\n this.seed = seed\n this.sink = sink\n}\n\nLoopSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLoopSink.prototype.event = function (t, x) {\n var result = this.step(this.seed, x)\n this.seed = result.seed\n this.sink.event(t, result.value)\n}\n\nLoopSink.prototype.end = function (t) {\n this.sink.end(t, this.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/loop.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/merge.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/merge.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ merge: () => (/* binding */ merge),\n/* harmony export */ mergeArray: () => (/* binding */ mergeArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\nvar copy = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.copy\nvar reduce = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.reduce\n\n/**\n * @returns {Stream} stream containing events from all streams in the argument\n * list in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction merge (/* ...streams */) {\n return mergeArray(copy(arguments))\n}\n\n/**\n * @param {Array} streams array of stream to merge\n * @returns {Stream} stream containing events from all input observables\n * in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction mergeArray (streams) {\n var l = streams.length\n return l === 0 ? (0,_source_core__WEBPACK_IMPORTED_MODULE_3__.empty)()\n : l === 1 ? streams[0]\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](mergeSources(streams))\n}\n\n/**\n * This implements fusion/flattening for merge. It will\n * fuse adjacent merge operations. For example:\n * - a.merge(b).merge(c) effectively becomes merge(a, b, c)\n * - merge(a, merge(b, c)) effectively becomes merge(a, b, c)\n * It does this by concatenating the sources arrays of\n * any nested Merge sources, in effect \"flattening\" nested\n * merge operations into a single merge.\n */\nfunction mergeSources (streams) {\n return new Merge(reduce(appendSources, [], streams))\n}\n\nfunction appendSources (sources, stream) {\n var source = stream.source\n return source instanceof Merge\n ? sources.concat(source.sources)\n : sources.concat(source)\n}\n\nfunction Merge (sources) {\n this.sources = sources\n}\n\nMerge.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new MergeSink(disposables, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.all(disposables)\n}\n\nfunction MergeSink (disposables, sinks, sink) {\n this.sink = sink\n this.disposables = disposables\n this.activeCount = sinks.length\n}\n\nMergeSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nMergeSink.prototype.event = function (t, indexValue) {\n this.sink.event(t, indexValue.value)\n}\n\nMergeSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/merge.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/mergeConcurrently.js": -/*!*************************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/mergeConcurrently.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mergeConcurrently: () => (/* binding */ mergeConcurrently),\n/* harmony export */ mergeMapConcurrently: () => (/* binding */ mergeMapConcurrently)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _LinkedList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LinkedList */ \"../../../../node_modules/most/src/LinkedList.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction mergeConcurrently (concurrency, stream) {\n return mergeMapConcurrently(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, concurrency, stream)\n}\n\nfunction mergeMapConcurrently (f, concurrency, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new MergeConcurrently(f, concurrency, stream.source))\n}\n\nfunction MergeConcurrently (f, concurrency, source) {\n this.f = f\n this.concurrency = concurrency\n this.source = source\n}\n\nMergeConcurrently.prototype.run = function (sink, scheduler) {\n return new Outer(this.f, this.concurrency, this.source, sink, scheduler)\n}\n\nfunction Outer (f, concurrency, source, sink, scheduler) {\n this.f = f\n this.concurrency = concurrency\n this.sink = sink\n this.scheduler = scheduler\n this.pending = []\n this.current = new _LinkedList__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.once(source.run(this, scheduler))\n this.active = true\n}\n\nOuter.prototype.event = function (t, x) {\n this._addInner(t, x)\n}\n\nOuter.prototype._addInner = function (t, x) {\n if (this.current.length < this.concurrency) {\n this._startInner(t, x)\n } else {\n this.pending.push(x)\n }\n}\n\nOuter.prototype._startInner = function (t, x) {\n try {\n this._initInner(t, x)\n } catch (e) {\n this.error(t, e)\n }\n}\n\nOuter.prototype._initInner = function (t, x) {\n var innerSink = new Inner(t, this, this.sink)\n innerSink.disposable = mapAndRun(this.f, x, innerSink, this.scheduler)\n this.current.add(innerSink)\n}\n\nfunction mapAndRun (f, x, sink, scheduler) {\n return f(x).source.run(sink, scheduler)\n}\n\nOuter.prototype.end = function (t, x) {\n this.active = false\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n this._checkEnd(t, x)\n}\n\nOuter.prototype.error = function (t, e) {\n this.active = false\n this.sink.error(t, e)\n}\n\nOuter.prototype.dispose = function () {\n this.active = false\n this.pending.length = 0\n return Promise.all([this.disposable.dispose(), this.current.dispose()])\n}\n\nOuter.prototype._endInner = function (t, x, inner) {\n this.current.remove(inner)\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, inner, this)\n\n if (this.pending.length === 0) {\n this._checkEnd(t, x)\n } else {\n this._startInner(t, this.pending.shift())\n }\n}\n\nOuter.prototype._checkEnd = function (t, x) {\n if (!this.active && this.current.isEmpty()) {\n this.sink.end(t, x)\n }\n}\n\nfunction Inner (time, outer, sink) {\n this.prev = this.next = null\n this.time = time\n this.outer = outer\n this.sink = sink\n this.disposable = void 0\n}\n\nInner.prototype.event = function (t, x) {\n this.sink.event(Math.max(t, this.time), x)\n}\n\nInner.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.time), x, this)\n}\n\nInner.prototype.error = function (t, e) {\n this.outer.error(Math.max(t, this.time), e)\n}\n\nInner.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/mergeConcurrently.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/observe.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/observe.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drain: () => (/* binding */ drain),\n/* harmony export */ observe: () => (/* binding */ observe)\n/* harmony export */ });\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../runSource */ \"../../../../node_modules/most/src/runSource.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Observe all the event values in the stream in time order. The\n * provided function `f` will be called for each event value\n * @param {function(x:T):*} f function to call with each event value\n * @param {Stream} stream stream to observe\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction observe (f, stream) {\n return drain((0,_transform__WEBPACK_IMPORTED_MODULE_1__.tap)(f, stream))\n}\n\n/**\n * \"Run\" a stream by creating demand and consuming all events\n * @param {Stream} stream stream to drain\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction drain (stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_0__.withDefaultScheduler)(stream.source)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/observe.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/promises.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/promises.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ awaitPromises: () => (/* binding */ awaitPromises),\n/* harmony export */ fromPromise: () => (/* binding */ fromPromise)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fatalError */ \"../../../../node_modules/most/src/fatalError.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream containing only the promise's fulfillment\n * value at the time it fulfills.\n * @param {Promise} p promise\n * @return {Stream} stream containing promise's fulfillment value.\n * If the promise rejects, the stream will error\n */\nfunction fromPromise (p) {\n return awaitPromises((0,_source_core__WEBPACK_IMPORTED_MODULE_2__.of)(p))\n}\n\n/**\n * Turn a Stream> into Stream by awaiting each promise.\n * Event order is preserved.\n * @param {Stream>} stream\n * @return {Stream} stream of fulfillment values. The stream will\n * error if any promise rejects.\n */\nfunction awaitPromises (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Await(stream.source))\n}\n\nfunction Await (source) {\n this.source = source\n}\n\nAwait.prototype.run = function (sink, scheduler) {\n return new AwaitSink(this.source, sink, scheduler)\n}\n\nfunction AwaitSink (source, sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.queue = Promise.resolve()\n this.disposable = source.run(this, scheduler)\n this.active = true\n var self = this\n\n // Pre-create closures, to avoid creating them per event\n this._eventBound = function (x) {\n if (!self.active) return\n self.sink.event(self.scheduler.now(), x)\n }\n\n this._endBound = function (x) {\n if (!self.active) return\n self.sink.end(self.scheduler.now(), x)\n }\n\n this._errorBound = function (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n}\n\nAwaitSink.prototype.dispose = function () {\n this.active = false\n return this.disposable.dispose()\n}\n\nAwaitSink.prototype.event = function (t, promise) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._event(promise)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.end = function (t, x) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._end(x)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.error = function (t, e) {\n var self = this\n // Don't resolve error values, propagate directly\n this.queue = this.queue.then(function () {\n return self._errorBound(e)\n }).catch(_fatalError__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nAwaitSink.prototype._event = function (promise) {\n return promise.then(this._eventBound)\n}\n\nAwaitSink.prototype._end = function (x) {\n return Promise.resolve(x).then(this._endBound)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/promises.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/sample.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/sample.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sample: () => (/* binding */ sample),\n/* harmony export */ sampleArray: () => (/* binding */ sampleArray),\n/* harmony export */ sampleWith: () => (/* binding */ sampleWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../invoke */ \"../../../../node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * When an event arrives on sampler, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @param {Stream} sampler streams will be sampled whenever an event arrives\n * on sampler\n * @returns {Stream} stream of sampled and transformed values\n */\nfunction sample (f, sampler /*, ...streams */) {\n return sampleArray(f, sampler, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.drop(2, arguments))\n}\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * stream's latest value will be propagated\n * @param {Stream} stream stream of values\n * @returns {Stream} sampled stream of values\n */\nfunction sampleWith (sampler, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, sampler.source, [stream.source]))\n}\n\nfunction sampleArray (f, sampler, streams) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(f, sampler.source, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Sampler (f, sampler, sources) {\n this.f = f\n this.sampler = sampler\n this.sources = sources\n}\n\nSampler.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l + 1)\n var sinks = new Array(l)\n\n var sampleSink = new SampleSink(this.f, sinks, sink)\n\n for (var hold, i = 0; i < l; ++i) {\n hold = sinks[i] = new Hold(sampleSink)\n disposables[i] = this.sources[i].run(hold, scheduler)\n }\n\n disposables[i] = this.sampler.run(sampleSink, scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all(disposables)\n}\n\nfunction Hold (sink) {\n this.sink = sink\n this.hasValue = false\n}\n\nHold.prototype.event = function (t, x) {\n this.value = x\n this.hasValue = true\n this.sink._notify(this)\n}\n\nHold.prototype.end = function () {}\nHold.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction SampleSink (f, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.active = false\n}\n\nSampleSink.prototype._notify = function () {\n if (!this.active) {\n this.active = this.sinks.every(hasValue)\n }\n}\n\nSampleSink.prototype.event = function (t) {\n if (this.active) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.f, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getValue, this.sinks)))\n }\n}\n\nSampleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSampleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction hasValue (hold) {\n return hold.hasValue\n}\n\nfunction getValue (hold) {\n return hold.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/sample.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/slice.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/slice.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ skip: () => (/* binding */ skip),\n/* harmony export */ skipAfter: () => (/* binding */ skipAfter),\n/* harmony export */ skipWhile: () => (/* binding */ skipWhile),\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ take: () => (/* binding */ take),\n/* harmony export */ takeWhile: () => (/* binding */ takeWhile)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream containing only up to the first n items from stream\n */\nfunction take (n, stream) {\n return slice(0, n, stream)\n}\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream with the first n items removed\n */\nfunction skip (n, stream) {\n return slice(n, Infinity, stream)\n}\n\n/**\n * Slice a stream by index. Negative start/end indexes are not supported\n * @param {number} start\n * @param {number} end\n * @param {Stream} stream\n * @returns {Stream} stream containing items where start <= index < end\n */\nfunction slice (start, end, stream) {\n return end <= start ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sliceSource(start, end, stream.source))\n}\n\nfunction sliceSource (start, end, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"] ? commuteMapSlice(start, end, source)\n : source instanceof Slice ? fuseSlice(start, end, source)\n : new Slice(start, end, source)\n}\n\nfunction commuteMapSlice (start, end, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"].create(source.f, sliceSource(start, end, source.source))\n}\n\nfunction fuseSlice (start, end, source) {\n start += source.min\n end = Math.min(end + source.min, source.max)\n return new Slice(start, end, source.source)\n}\n\nfunction Slice (min, max, source) {\n this.source = source\n this.min = min\n this.max = max\n}\n\nSlice.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var sliceSink = new SliceSink(this.min, this.max - this.min, sink, disposable)\n\n disposable.setDisposable(this.source.run(sliceSink, scheduler))\n return disposable\n}\n\nfunction SliceSink (skip, take, sink, disposable) {\n this.sink = sink\n this.skip = skip\n this.take = take\n this.disposable = disposable\n}\n\nSliceSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSliceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSliceSink.prototype.event = function (t, x) {\n /* eslint complexity: [1, 4] */\n if (this.skip > 0) {\n this.skip -= 1\n return\n }\n\n if (this.take === 0) {\n return\n }\n\n this.take -= 1\n this.sink.event(t, x)\n if (this.take === 0) {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction takeWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new TakeWhile(p, stream.source))\n}\n\nfunction TakeWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nTakeWhile.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var takeWhileSink = new TakeWhileSink(this.p, sink, disposable)\n\n disposable.setDisposable(this.source.run(takeWhileSink, scheduler))\n return disposable\n}\n\nfunction TakeWhileSink (p, sink, disposable) {\n this.p = p\n this.sink = sink\n this.active = true\n this.disposable = disposable\n}\n\nTakeWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTakeWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTakeWhileSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n var p = this.p\n this.active = p(x)\n if (this.active) {\n this.sink.event(t, x)\n } else {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction skipWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipWhile(p, stream.source))\n}\n\nfunction SkipWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipWhile.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipWhileSink(this.p, sink), scheduler)\n}\n\nfunction SkipWhileSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = true\n}\n\nSkipWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipWhileSink.prototype.event = function (t, x) {\n if (this.skipping) {\n var p = this.p\n this.skipping = p(x)\n if (this.skipping) {\n return\n }\n }\n\n this.sink.event(t, x)\n}\n\nfunction skipAfter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipAfter(p, stream.source))\n}\n\nfunction SkipAfter (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipAfter.prototype.run = function run (sink, scheduler) {\n return this.source.run(new SkipAfterSink(this.p, sink), scheduler)\n}\n\nfunction SkipAfterSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = false\n}\n\nSkipAfterSink.prototype.event = function event (t, x) {\n if (this.skipping) {\n return\n }\n\n var p = this.p\n this.skipping = p(x)\n this.sink.event(t, x)\n\n if (this.skipping) {\n this.sink.end(t, x)\n }\n}\n\nSkipAfterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipAfterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/slice.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/switch.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/switch.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"switch\": () => (/* binding */ switchLatest),\n/* harmony export */ switchLatest: () => (/* binding */ switchLatest)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @param {Stream} stream of streams on which to switch\n * @returns {Stream} switching stream\n */\nfunction switchLatest (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Switch(stream.source))\n}\n\n\n\nfunction Switch (source) {\n this.source = source\n}\n\nSwitch.prototype.run = function (sink, scheduler) {\n var switchSink = new SwitchSink(sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.all([switchSink, this.source.run(switchSink, scheduler)])\n}\n\nfunction SwitchSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.current = null\n this.ended = false\n}\n\nSwitchSink.prototype.event = function (t, stream) {\n this._disposeCurrent(t) // TODO: capture the result of this dispose\n this.current = new Segment(t, Infinity, this, this.sink)\n this.current.disposable = stream.source.run(this.current, this.scheduler)\n}\n\nSwitchSink.prototype.end = function (t, x) {\n this.ended = true\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype.error = function (t, e) {\n this.ended = true\n this.sink.error(t, e)\n}\n\nSwitchSink.prototype.dispose = function () {\n return this._disposeCurrent(this.scheduler.now())\n}\n\nSwitchSink.prototype._disposeCurrent = function (t) {\n if (this.current !== null) {\n return this.current._dispose(t)\n }\n}\n\nSwitchSink.prototype._disposeInner = function (t, inner) {\n inner._dispose(t) // TODO: capture the result of this dispose\n if (inner === this.current) {\n this.current = null\n }\n}\n\nSwitchSink.prototype._checkEnd = function (t, x) {\n if (this.ended && this.current === null) {\n this.sink.end(t, x)\n }\n}\n\nSwitchSink.prototype._endInner = function (t, x, inner) {\n this._disposeInner(t, inner)\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype._errorInner = function (t, e, inner) {\n this._disposeInner(t, inner)\n this.sink.error(t, e)\n}\n\nfunction Segment (min, max, outer, sink) {\n this.min = min\n this.max = max\n this.outer = outer\n this.sink = sink\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nSegment.prototype.event = function (t, x) {\n if (t < this.max) {\n this.sink.event(Math.max(t, this.min), x)\n }\n}\n\nSegment.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.min), x, this)\n}\n\nSegment.prototype.error = function (t, e) {\n this.outer._errorInner(Math.max(t, this.min), e, this)\n}\n\nSegment.prototype._dispose = function (t) {\n this.max = t\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/switch.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/thru.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/thru.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ thru: () => (/* binding */ thru)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2017 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction thru (f, stream) {\n return f(stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/thru.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/timeslice.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/timeslice.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ during: () => (/* binding */ during),\n/* harmony export */ skipUntil: () => (/* binding */ skipUntil),\n/* harmony export */ takeUntil: () => (/* binding */ takeUntil)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../combinator/flatMap */ \"../../../../node_modules/most/src/combinator/flatMap.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction takeUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Until(signal.source, stream.source))\n}\n\nfunction skipUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Since(signal.source, stream.source))\n}\n\nfunction during (timeWindow, stream) {\n return takeUntil((0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__.join)(timeWindow), skipUntil(timeWindow, stream))\n}\n\nfunction Until (maxSignal, source) {\n this.maxSignal = maxSignal\n this.source = source\n}\n\nUntil.prototype.run = function (sink, scheduler) {\n var min = new Bound(-Infinity, sink)\n var max = new UpperBound(this.maxSignal, sink, scheduler)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Since (minSignal, source) {\n this.minSignal = minSignal\n this.source = source\n}\n\nSince.prototype.run = function (sink, scheduler) {\n var min = new LowerBound(this.minSignal, sink, scheduler)\n var max = new Bound(Infinity, sink)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Bound (value, sink) {\n this.value = value\n this.sink = sink\n}\n\nBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nBound.prototype.event = noop\nBound.prototype.end = noop\nBound.prototype.dispose = noop\n\nfunction TimeWindowSink (min, max, sink) {\n this.min = min\n this.max = max\n this.sink = sink\n}\n\nTimeWindowSink.prototype.event = function (t, x) {\n if (t >= this.min.value && t < this.max.value) {\n this.sink.event(t, x)\n }\n}\n\nTimeWindowSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nTimeWindowSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nfunction LowerBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nLowerBound.prototype.event = function (t /*, x */) {\n if (t < this.value) {\n this.value = t\n }\n}\n\nLowerBound.prototype.end = noop\nLowerBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLowerBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction UpperBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nUpperBound.prototype.event = function (t, x) {\n if (t < this.value) {\n this.value = t\n this.sink.end(t, x)\n }\n}\n\nUpperBound.prototype.end = noop\nUpperBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nUpperBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction noop () {}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/timeslice.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/timestamp.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/timestamp.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ timestamp: () => (/* binding */ timestamp)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction timestamp (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Timestamp(stream.source))\n}\n\nfunction Timestamp (source) {\n this.source = source\n}\n\nTimestamp.prototype.run = function (sink, scheduler) {\n return this.source.run(new TimestampSink(sink), scheduler)\n}\n\nfunction TimestampSink (sink) {\n this.sink = sink\n}\n\nTimestampSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTimestampSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTimestampSink.prototype.event = function (t, x) {\n this.sink.event(t, { time: t, value: x })\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/timestamp.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/transduce.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/transduce.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ transduce: () => (/* binding */ transduce)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Transform a stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @param {Stream} stream stream whose events will be passed through the\n * transducer\n * @return {Stream} stream of events transformed by the transducer\n */\nfunction transduce (transducer, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Transduce(transducer, stream.source))\n}\n\nfunction Transduce (transducer, source) {\n this.transducer = transducer\n this.source = source\n}\n\nTransduce.prototype.run = function (sink, scheduler) {\n var xf = this.transducer(new Transformer(sink))\n return this.source.run(new TransduceSink(getTxHandler(xf), sink), scheduler)\n}\n\nfunction TransduceSink (adapter, sink) {\n this.xf = adapter\n this.sink = sink\n}\n\nTransduceSink.prototype.event = function (t, x) {\n var next = this.xf.step(t, x)\n\n return this.xf.isReduced(next)\n ? this.sink.end(t, this.xf.getResult(next))\n : next\n}\n\nTransduceSink.prototype.end = function (t, x) {\n return this.xf.result(x)\n}\n\nTransduceSink.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\nfunction Transformer (sink) {\n this.time = -Infinity\n this.sink = sink\n}\n\nTransformer.prototype['@@transducer/init'] = Transformer.prototype.init = function () {}\n\nTransformer.prototype['@@transducer/step'] = Transformer.prototype.step = function (t, x) {\n if (!isNaN(t)) {\n this.time = Math.max(t, this.time)\n }\n return this.sink.event(this.time, x)\n}\n\nTransformer.prototype['@@transducer/result'] = Transformer.prototype.result = function (x) {\n return this.sink.end(this.time, x)\n}\n\n/**\n* Given an object supporting the new or legacy transducer protocol,\n* create an adapter for it.\n* @param {object} tx transform\n* @returns {TxAdapter|LegacyTxAdapter}\n*/\nfunction getTxHandler (tx) {\n return typeof tx['@@transducer/step'] === 'function'\n ? new TxAdapter(tx)\n : new LegacyTxAdapter(tx)\n}\n\n/**\n* Adapter for new official transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction TxAdapter (tx) {\n this.tx = tx\n}\n\nTxAdapter.prototype.step = function (t, x) {\n return this.tx['@@transducer/step'](t, x)\n}\nTxAdapter.prototype.result = function (x) {\n return this.tx['@@transducer/result'](x)\n}\nTxAdapter.prototype.isReduced = function (x) {\n return x != null && x['@@transducer/reduced']\n}\nTxAdapter.prototype.getResult = function (x) {\n return x['@@transducer/value']\n}\n\n/**\n* Adapter for older transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction LegacyTxAdapter (tx) {\n this.tx = tx\n}\n\nLegacyTxAdapter.prototype.step = function (t, x) {\n return this.tx.step(t, x)\n}\nLegacyTxAdapter.prototype.result = function (x) {\n return this.tx.result(x)\n}\nLegacyTxAdapter.prototype.isReduced = function (x) {\n return x != null && x.__transducers_reduced__\n}\nLegacyTxAdapter.prototype.getResult = function (x) {\n return x.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/transduce.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/transform.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/transform.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ constant: () => (/* binding */ constant),\n/* harmony export */ map: () => (/* binding */ map),\n/* harmony export */ tap: () => (/* binding */ tap)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../node_modules/most/src/fusion/Map.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @param {Stream} stream stream to map\n * @returns {Stream} stream containing items transformed by f\n */\nfunction map (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Map__WEBPACK_IMPORTED_MODULE_1__[\"default\"].create(f, stream.source))\n}\n\n/**\n* Replace each value in the stream with x\n* @param {*} x\n* @param {Stream} stream\n* @returns {Stream} stream containing items replaced with x\n*/\nfunction constant (x, stream) {\n return map(function () {\n return x\n }, stream)\n}\n\n/**\n* Perform a side effect for each item in the stream\n* @param {function(x:*):*} f side effect to execute for each item. The\n* return value will be discarded.\n* @param {Stream} stream stream to tap\n* @returns {Stream} new stream containing the same items as this stream\n*/\nfunction tap (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Tap(f, stream.source))\n}\n\nfunction Tap (f, source) {\n this.source = source\n this.f = f\n}\n\nTap.prototype.run = function (sink, scheduler) {\n return this.source.run(new TapSink(this.f, sink), scheduler)\n}\n\nfunction TapSink (f, sink) {\n this.sink = sink\n this.f = f\n}\n\nTapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.end\nTapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.error\n\nTapSink.prototype.event = function (t, x) {\n var f = this.f\n f(x)\n this.sink.event(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/transform.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/zip.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/zip.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ zip: () => (/* binding */ zip),\n/* harmony export */ zipArray: () => (/* binding */ zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../node_modules/most/src/invoke.js\");\n/* harmony import */ var _Queue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Queue */ \"../../../../node_modules/most/src/Queue.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine streams pairwise (or tuple-wise) by index by applying f to values\n * at corresponding indices. The returned stream ends when any of the input\n * streams ends.\n * @param {function} f function to combine values\n * @returns {Stream} new stream with items at corresponding indices combined\n * using f\n */\nfunction zip (f /*, ...streams */) {\n return zipArray(f, tail(arguments))\n}\n\n/**\n* Combine streams pairwise (or tuple-wise) by index by applying f to values\n* at corresponding indices. The returned stream ends when any of the input\n* streams ends.\n* @param {function} f function to combine values\n* @param {[Stream]} streams streams to zip using f\n* @returns {Stream} new stream with items at corresponding indices combined\n* using f\n*/\nfunction zipArray (f, streams) {\n return streams.length === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n: streams.length === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n: new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Zip(f, map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Zip (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nZip.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n var buffers = new Array(l)\n\n var zipSink = new ZipSink(this.f, buffers, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n buffers[i] = new _Queue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]()\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, zipSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction ZipSink (f, buffers, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.buffers = buffers\n}\n\nZipSink.prototype.event = function (t, indexedValue) { // eslint-disable-line complexity\n var buffers = this.buffers\n var buffer = buffers[indexedValue.index]\n\n buffer.push(indexedValue.value)\n\n if (buffer.length() === 1) {\n if (!ready(this.buffers)) {\n return\n }\n\n emitZipped(this.f, t, buffers, this.sink)\n\n if (ended(this.buffers, this.sinks)) {\n this.sink.end(t, void 0)\n }\n }\n}\n\nZipSink.prototype.end = function (t, indexedValue) {\n var buffer = this.buffers[indexedValue.index]\n if (buffer.isEmpty()) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\nZipSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nfunction emitZipped (f, t, buffers, sink) {\n sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(f, map(head, buffers)))\n}\n\nfunction head (buffer) {\n return buffer.shift()\n}\n\nfunction ended (buffers, sinks) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty() && !sinks[i].active) {\n return true\n }\n }\n return false\n}\n\nfunction ready (buffers) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty()) {\n return false\n }\n }\n return true\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/zip.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/disposable/Disposable.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/most/src/disposable/Disposable.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Disposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Create a new Disposable which will dispose its underlying resource.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @constructor\n */\nfunction Disposable (dispose, data) {\n this._dispose = dispose\n this._data = data\n}\n\nDisposable.prototype.dispose = function () {\n return this._dispose(this._data)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/disposable/Disposable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/disposable/SettableDisposable.js": -/*!**************************************************************************!*\ - !*** ../../../../node_modules/most/src/disposable/SettableDisposable.js ***! - \**************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SettableDisposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SettableDisposable () {\n this.disposable = void 0\n this.disposed = false\n this._resolve = void 0\n\n var self = this\n this.result = new Promise(function (resolve) {\n self._resolve = resolve\n })\n}\n\nSettableDisposable.prototype.setDisposable = function (disposable) {\n if (this.disposable !== void 0) {\n throw new Error('setDisposable called more than once')\n }\n\n this.disposable = disposable\n\n if (this.disposed) {\n this._resolve(disposable.dispose())\n }\n}\n\nSettableDisposable.prototype.dispose = function () {\n if (this.disposed) {\n return this.result\n }\n\n this.disposed = true\n\n if (this.disposable !== void 0) {\n this.result = this.disposable.dispose()\n }\n\n return this.result\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/disposable/SettableDisposable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/disposable/dispose.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/disposable/dispose.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ all: () => (/* binding */ all),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ once: () => (/* binding */ once),\n/* harmony export */ promised: () => (/* binding */ promised),\n/* harmony export */ settable: () => (/* binding */ settable),\n/* harmony export */ tryDispose: () => (/* binding */ tryDispose)\n/* harmony export */ });\n/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Disposable */ \"../../../../node_modules/most/src/disposable/Disposable.js\");\n/* harmony import */ var _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SettableDisposable */ \"../../../../node_modules/most/src/disposable/SettableDisposable.js\");\n/* harmony import */ var _Promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Promise */ \"../../../../node_modules/most/src/Promise.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map\nvar identity = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.id\n\n/**\n * Call disposable.dispose. If it returns a promise, catch promise\n * error and forward it through the provided sink.\n * @param {number} t time\n * @param {{dispose: function}} disposable\n * @param {{error: function}} sink\n * @return {*} result of disposable.dispose\n */\nfunction tryDispose (t, disposable, sink) {\n var result = disposeSafely(disposable)\n return (0,_Promise__WEBPACK_IMPORTED_MODULE_2__.isPromise)(result)\n ? result.catch(function (e) {\n sink.error(t, e)\n })\n : result\n}\n\n/**\n * Create a new Disposable which will dispose its underlying resource\n * at most once.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @return {Disposable}\n */\nfunction create (dispose, data) {\n return once(new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](dispose, data))\n}\n\n/**\n * Create a noop disposable. Can be used to satisfy a Disposable\n * requirement when no actual resource needs to be disposed.\n * @return {Disposable|exports|module.exports}\n */\nfunction empty () {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](identity, void 0)\n}\n\n/**\n * Create a disposable that will dispose all input disposables in parallel.\n * @param {Array} disposables\n * @return {Disposable}\n */\nfunction all (disposables) {\n return create(disposeAll, disposables)\n}\n\nfunction disposeAll (disposables) {\n return Promise.all(map(disposeSafely, disposables))\n}\n\nfunction disposeSafely (disposable) {\n try {\n return disposable.dispose()\n } catch (e) {\n return Promise.reject(e)\n }\n}\n\n/**\n * Create a disposable from a promise for another disposable\n * @param {Promise} disposablePromise\n * @return {Disposable}\n */\nfunction promised (disposablePromise) {\n return create(disposePromise, disposablePromise)\n}\n\nfunction disposePromise (disposablePromise) {\n return disposablePromise.then(disposeOne)\n}\n\nfunction disposeOne (disposable) {\n return disposable.dispose()\n}\n\n/**\n * Create a disposable proxy that allows its underlying disposable to\n * be set later.\n * @return {SettableDisposable}\n */\nfunction settable () {\n return new _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__[\"default\"]()\n}\n\n/**\n * Wrap an existing disposable (which may not already have been once()d)\n * so that it will only dispose its underlying resource at most once.\n * @param {{ dispose: function() }} disposable\n * @return {Disposable} wrapped disposable\n */\nfunction once (disposable) {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](disposeMemoized, memoized(disposable))\n}\n\nfunction disposeMemoized (memoized) {\n if (!memoized.disposed) {\n memoized.disposed = true\n memoized.value = disposeSafely(memoized.disposable)\n memoized.disposable = void 0\n }\n\n return memoized.value\n}\n\nfunction memoized (disposable) {\n return { disposed: false, disposable: disposable, value: void 0 }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/disposable/dispose.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fatalError.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/most/src/fatalError.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ fatalError)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction fatalError (e) {\n setTimeout(function () {\n throw e\n }, 0)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fatalError.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fusion/Filter.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/most/src/fusion/Filter.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Filter)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Filter (p, source) {\n this.p = p\n this.source = source\n}\n\n/**\n * Create a filtered source, fusing adjacent filter.filter if possible\n * @param {function(x:*):boolean} p filtering predicate\n * @param {{run:function}} source source to filter\n * @returns {Filter} filtered source\n */\nFilter.create = function createFilter (p, source) {\n if (source instanceof Filter) {\n return new Filter(and(source.p, p), source.source)\n }\n\n return new Filter(p, source)\n}\n\nFilter.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterSink(this.p, sink), scheduler)\n}\n\nfunction FilterSink (p, sink) {\n this.p = p\n this.sink = sink\n}\n\nFilterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nFilterSink.prototype.event = function (t, x) {\n var p = this.p\n p(x) && this.sink.event(t, x)\n}\n\nfunction and (p, q) {\n return function (x) {\n return p(x) && q(x)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fusion/Filter.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fusion/FilterMap.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/fusion/FilterMap.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FilterMap)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction FilterMap (p, f, source) {\n this.p = p\n this.f = f\n this.source = source\n}\n\nFilterMap.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterMapSink(this.p, this.f, sink), scheduler)\n}\n\nfunction FilterMapSink (p, f, sink) {\n this.p = p\n this.f = f\n this.sink = sink\n}\n\nFilterMapSink.prototype.event = function (t, x) {\n var f = this.f\n var p = this.p\n p(x) && this.sink.event(t, f(x))\n}\n\nFilterMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fusion/FilterMap.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fusion/Map.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/most/src/fusion/Map.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Map)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _Filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Filter */ \"../../../../node_modules/most/src/fusion/Filter.js\");\n/* harmony import */ var _FilterMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterMap */ \"../../../../node_modules/most/src/fusion/FilterMap.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction Map (f, source) {\n this.f = f\n this.source = source\n}\n\n/**\n * Create a mapped source, fusing adjacent map.map, filter.map,\n * and filter.map.map if possible\n * @param {function(*):*} f mapping function\n * @param {{run:function}} source source to map\n * @returns {Map|FilterMap} mapped source, possibly fused\n */\nMap.create = function createMap (f, source) {\n if (source instanceof Map) {\n return new Map(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.compose(f, source.f), source.source)\n }\n\n if (source instanceof _Filter__WEBPACK_IMPORTED_MODULE_1__[\"default\"]) {\n return new _FilterMap__WEBPACK_IMPORTED_MODULE_2__[\"default\"](source.p, f, source.source)\n }\n\n return new Map(f, source)\n}\n\nMap.prototype.run = function (sink, scheduler) { // eslint-disable-line no-extend-native\n return this.source.run(new MapSink(this.f, sink), scheduler)\n}\n\nfunction MapSink (f, sink) {\n this.f = f\n this.sink = sink\n}\n\nMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nMapSink.prototype.event = function (t, x) {\n var f = this.f\n this.sink.event(t, f(x))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fusion/Map.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/index.js": -/*!**************************************************!*\ - !*** ../../../../node_modules/most/src/index.js ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PropagateTask: () => (/* reexport safe */ _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_37__[\"default\"]),\n/* harmony export */ Stream: () => (/* reexport safe */ _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ ap: () => (/* reexport safe */ _combinator_applicative__WEBPACK_IMPORTED_MODULE_16__.ap),\n/* harmony export */ \"await\": () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_33__.awaitPromises),\n/* harmony export */ awaitPromises: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_33__.awaitPromises),\n/* harmony export */ chain: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.flatMap),\n/* harmony export */ combine: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_23__.combine),\n/* harmony export */ combineArray: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_23__.combineArray),\n/* harmony export */ concat: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_14__.concat),\n/* harmony export */ concatMap: () => (/* reexport safe */ _combinator_concatMap__WEBPACK_IMPORTED_MODULE_20__.concatMap),\n/* harmony export */ constant: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_15__.constant),\n/* harmony export */ continueWith: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__.continueWith),\n/* harmony export */ debounce: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_32__.debounce),\n/* harmony export */ defaultScheduler: () => (/* reexport safe */ _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_36__[\"default\"]),\n/* harmony export */ delay: () => (/* reexport safe */ _combinator_delay__WEBPACK_IMPORTED_MODULE_30__.delay),\n/* harmony export */ distinct: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeats),\n/* harmony export */ distinctBy: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeatsWith),\n/* harmony export */ drain: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_8__.drain),\n/* harmony export */ during: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.during),\n/* harmony export */ empty: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.empty),\n/* harmony export */ filter: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.filter),\n/* harmony export */ flatMap: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.flatMap),\n/* harmony export */ flatMapEnd: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__.continueWith),\n/* harmony export */ flatMapError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_34__.flatMapError),\n/* harmony export */ forEach: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_8__.observe),\n/* harmony export */ from: () => (/* reexport safe */ _source_from__WEBPACK_IMPORTED_MODULE_3__.from),\n/* harmony export */ fromEvent: () => (/* reexport safe */ _source_fromEvent__WEBPACK_IMPORTED_MODULE_7__.fromEvent),\n/* harmony export */ fromPromise: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_33__.fromPromise),\n/* harmony export */ generate: () => (/* reexport safe */ _source_generate__WEBPACK_IMPORTED_MODULE_13__.generate),\n/* harmony export */ iterate: () => (/* reexport safe */ _source_iterate__WEBPACK_IMPORTED_MODULE_12__.iterate),\n/* harmony export */ join: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.join),\n/* harmony export */ just: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ loop: () => (/* reexport safe */ _combinator_loop__WEBPACK_IMPORTED_MODULE_9__.loop),\n/* harmony export */ map: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_15__.map),\n/* harmony export */ merge: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_22__.merge),\n/* harmony export */ mergeArray: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_22__.mergeArray),\n/* harmony export */ mergeConcurrently: () => (/* reexport safe */ _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_21__.mergeConcurrently),\n/* harmony export */ multicast: () => (/* reexport safe */ _most_multicast__WEBPACK_IMPORTED_MODULE_35__[\"default\"]),\n/* harmony export */ never: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.never),\n/* harmony export */ observe: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_8__.observe),\n/* harmony export */ of: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ periodic: () => (/* reexport safe */ _source_periodic__WEBPACK_IMPORTED_MODULE_4__.periodic),\n/* harmony export */ recoverWith: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_34__.recoverWith),\n/* harmony export */ reduce: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.reduce),\n/* harmony export */ sample: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sample),\n/* harmony export */ sampleArray: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleArray),\n/* harmony export */ sampleWith: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleWith),\n/* harmony export */ scan: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.scan),\n/* harmony export */ since: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.skipUntil),\n/* harmony export */ skip: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skip),\n/* harmony export */ skipAfter: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipAfter),\n/* harmony export */ skipRepeats: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeatsWith),\n/* harmony export */ skipUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.skipUntil),\n/* harmony export */ skipWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipWhile),\n/* harmony export */ slice: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.slice),\n/* harmony export */ startWith: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_14__.cons),\n/* harmony export */ \"switch\": () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_26__.switchLatest),\n/* harmony export */ switchLatest: () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_26__.switchLatest),\n/* harmony export */ take: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.take),\n/* harmony export */ takeUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.takeUntil),\n/* harmony export */ takeWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.takeWhile),\n/* harmony export */ tap: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_15__.tap),\n/* harmony export */ throttle: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_32__.throttle),\n/* harmony export */ throwError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_34__.throwError),\n/* harmony export */ timestamp: () => (/* reexport safe */ _combinator_timestamp__WEBPACK_IMPORTED_MODULE_31__.timestamp),\n/* harmony export */ transduce: () => (/* reexport safe */ _combinator_transduce__WEBPACK_IMPORTED_MODULE_17__.transduce),\n/* harmony export */ unfold: () => (/* reexport safe */ _source_unfold__WEBPACK_IMPORTED_MODULE_11__.unfold),\n/* harmony export */ until: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.takeUntil),\n/* harmony export */ zip: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_25__.zip),\n/* harmony export */ zipArray: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_25__.zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _source_from__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./source/from */ \"../../../../node_modules/most/src/source/from.js\");\n/* harmony import */ var _source_periodic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source/periodic */ \"../../../../node_modules/most/src/source/periodic.js\");\n/* harmony import */ var _observable_subscribe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./observable/subscribe */ \"../../../../node_modules/most/src/observable/subscribe.js\");\n/* harmony import */ var _combinator_thru__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./combinator/thru */ \"../../../../node_modules/most/src/combinator/thru.js\");\n/* harmony import */ var _source_fromEvent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./source/fromEvent */ \"../../../../node_modules/most/src/source/fromEvent.js\");\n/* harmony import */ var _combinator_observe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./combinator/observe */ \"../../../../node_modules/most/src/combinator/observe.js\");\n/* harmony import */ var _combinator_loop__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./combinator/loop */ \"../../../../node_modules/most/src/combinator/loop.js\");\n/* harmony import */ var _combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./combinator/accumulate */ \"../../../../node_modules/most/src/combinator/accumulate.js\");\n/* harmony import */ var _source_unfold__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./source/unfold */ \"../../../../node_modules/most/src/source/unfold.js\");\n/* harmony import */ var _source_iterate__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./source/iterate */ \"../../../../node_modules/most/src/source/iterate.js\");\n/* harmony import */ var _source_generate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./source/generate */ \"../../../../node_modules/most/src/source/generate.js\");\n/* harmony import */ var _combinator_build__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./combinator/build */ \"../../../../node_modules/most/src/combinator/build.js\");\n/* harmony import */ var _combinator_transform__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./combinator/transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _combinator_applicative__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./combinator/applicative */ \"../../../../node_modules/most/src/combinator/applicative.js\");\n/* harmony import */ var _combinator_transduce__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./combinator/transduce */ \"../../../../node_modules/most/src/combinator/transduce.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./combinator/flatMap */ \"../../../../node_modules/most/src/combinator/flatMap.js\");\n/* harmony import */ var _combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./combinator/continueWith */ \"../../../../node_modules/most/src/combinator/continueWith.js\");\n/* harmony import */ var _combinator_concatMap__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./combinator/concatMap */ \"../../../../node_modules/most/src/combinator/concatMap.js\");\n/* harmony import */ var _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./combinator/mergeConcurrently */ \"../../../../node_modules/most/src/combinator/mergeConcurrently.js\");\n/* harmony import */ var _combinator_merge__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./combinator/merge */ \"../../../../node_modules/most/src/combinator/merge.js\");\n/* harmony import */ var _combinator_combine__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./combinator/combine */ \"../../../../node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _combinator_sample__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./combinator/sample */ \"../../../../node_modules/most/src/combinator/sample.js\");\n/* harmony import */ var _combinator_zip__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./combinator/zip */ \"../../../../node_modules/most/src/combinator/zip.js\");\n/* harmony import */ var _combinator_switch__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./combinator/switch */ \"../../../../node_modules/most/src/combinator/switch.js\");\n/* harmony import */ var _combinator_filter__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./combinator/filter */ \"../../../../node_modules/most/src/combinator/filter.js\");\n/* harmony import */ var _combinator_slice__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./combinator/slice */ \"../../../../node_modules/most/src/combinator/slice.js\");\n/* harmony import */ var _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./combinator/timeslice */ \"../../../../node_modules/most/src/combinator/timeslice.js\");\n/* harmony import */ var _combinator_delay__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./combinator/delay */ \"../../../../node_modules/most/src/combinator/delay.js\");\n/* harmony import */ var _combinator_timestamp__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./combinator/timestamp */ \"../../../../node_modules/most/src/combinator/timestamp.js\");\n/* harmony import */ var _combinator_limit__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./combinator/limit */ \"../../../../node_modules/most/src/combinator/limit.js\");\n/* harmony import */ var _combinator_promises__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./combinator/promises */ \"../../../../node_modules/most/src/combinator/promises.js\");\n/* harmony import */ var _combinator_errors__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./combinator/errors */ \"../../../../node_modules/most/src/combinator/errors.js\");\n/* harmony import */ var _most_multicast__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @most/multicast */ \"../../../../node_modules/@most/multicast/dist/multicast.es.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/* eslint import/first: 0 */\n\n\n\n\n\n\nconst getGlobalThis = (__webpack_require__(/*! globalthis */ \"../../../../node_modules/globalthis/index.js\").getPolyfill)\nconst provideSymbolObservable = (__webpack_require__(/*! symbol-observable/ponyfill */ \"../../../../node_modules/symbol-observable/ponyfill.js\")[\"default\"])\n\nconst symbolObservable = provideSymbolObservable(getGlobalThis())\n\n/**\n * Core stream type\n * @type {Stream}\n */\n\n\n// Add of and empty to constructor for fantasy-land compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].of = _source_core__WEBPACK_IMPORTED_MODULE_2__.of\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].empty = _source_core__WEBPACK_IMPORTED_MODULE_2__.empty\n// Add from to constructor for ES Observable compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].from = _source_from__WEBPACK_IMPORTED_MODULE_3__.from\n\n\n// -----------------------------------------------------------------------\n// Draft ES Observable proposal interop\n// https://github.com/zenparsing/es-observable\n\n;\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.subscribe = function (subscriber) {\n return (0,_observable_subscribe__WEBPACK_IMPORTED_MODULE_5__.subscribe)(subscriber, this)\n}\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype[symbolObservable] = function () {\n return this\n}\n\n// -----------------------------------------------------------------------\n// Fluent adapter\n\n;\n\n/**\n * Adapt a functional stream transform to fluent style.\n * It applies f to the this stream object\n * @param {function(s: Stream): Stream} f function that\n * receives the stream itself and must return a new stream\n * @return {Stream}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.thru = function (f) {\n return (0,_combinator_thru__WEBPACK_IMPORTED_MODULE_6__.thru)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Adapting other sources\n\n/**\n * Create a stream of events from the supplied EventTarget or EventEmitter\n * @param {String} event event name\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter. The source\n * must support either addEventListener/removeEventListener (w3c EventTarget:\n * http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget),\n * or addListener/removeListener (node EventEmitter: http://nodejs.org/api/events.html)\n * @returns {Stream} stream of events of the specified type from the source\n */\n\n\n// -----------------------------------------------------------------------\n// Observing\n\n;\n\n\n\n/**\n * Process all the events in the stream\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.observe = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.forEach = function (f) {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_8__.observe)(f, this)\n}\n\n/**\n * Consume all events in the stream, without providing a function to process each.\n * This causes a stream to become active and begin emitting events, and is useful\n * in cases where all processing has been setup upstream via other combinators, and\n * there is no need to process the terminal events.\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.drain = function () {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_8__.drain)(this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.loop = function (stepper, seed) {\n return (0,_combinator_loop__WEBPACK_IMPORTED_MODULE_9__.loop)(stepper, seed, this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @returns {Stream} new stream containing successive reduce results\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.scan = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.scan)(f, initial, this)\n}\n\n/**\n * Reduce the stream to produce a single result. Note that reducing an infinite\n * stream will return a Promise that never fulfills, but that may reject if an error\n * occurs.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial optional initial value\n * @returns {Promise} promise for the file result of the reduce\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.reduce = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.reduce)(f, initial, this)\n}\n\n// -----------------------------------------------------------------------\n// Building and extending\n\n\n\n\n;\n\n\n\n/**\n * @param {Stream} tail\n * @returns {Stream} new stream containing all items in this followed by\n * all items in tail\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concat = function (tail) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_14__.concat)(this, tail)\n}\n\n/**\n * @param {*} x value to prepend\n * @returns {Stream} a new stream with x prepended\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.startWith = function (x) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_14__.cons)(x, this)\n}\n\n// -----------------------------------------------------------------------\n// Transforming\n\n;\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @returns {Stream} stream containing items transformed by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.map = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_15__.map)(f, this)\n}\n\n/**\n * Assume this stream contains functions, and apply each function to each item\n * in the provided stream. This generates, in effect, a cross product.\n * @param {Stream} xs stream of items to which\n * @returns {Stream} stream containing the cross product of items\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.ap = function (xs) {\n return (0,_combinator_applicative__WEBPACK_IMPORTED_MODULE_16__.ap)(this, xs)\n}\n\n/**\n * Replace each value in the stream with x\n * @param {*} x\n * @returns {Stream} stream containing items replaced with x\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.constant = function (x) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_15__.constant)(x, this)\n}\n\n/**\n * Perform a side effect for each item in the stream\n * @param {function(x:*):*} f side effect to execute for each item. The\n * return value will be discarded.\n * @returns {Stream} new stream containing the same items as this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.tap = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_15__.tap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Transducer support\n\n;\n\n\n\n/**\n * Transform this stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @return {Stream} stream of events transformed by the transducer\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.transduce = function (transducer) {\n return (0,_combinator_transduce__WEBPACK_IMPORTED_MODULE_17__.transduce)(transducer, this)\n}\n\n// -----------------------------------------------------------------------\n// FlatMapping\n\n;\n\n// @deprecated flatMap, use chain instead\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain = function (f) {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.flatMap)(f, this)\n}\n\n// @deprecated use chain instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMap = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain\n\n /**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @returns {Stream} new stream containing all events of all inner streams\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.join = function () {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.join)(this)\n}\n\n;\n\n// @deprecated flatMapEnd, use continueWith instead\n\n\n/**\n * Map the end event to a new stream, and begin emitting its values.\n * @param {function(x:*):Stream} f function that receives the end event value,\n * and *must* return a new Stream to continue with.\n * @returns {Stream} new stream that emits all events from the original stream,\n * followed by all events from the stream returned by f.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith = function (f) {\n return (0,_combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__.continueWith)(f, this)\n}\n\n// @deprecated use continueWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapEnd = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith\n\n;\n\n\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concatMap = function (f) {\n return (0,_combinator_concatMap__WEBPACK_IMPORTED_MODULE_20__.concatMap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Concurrent merging\n\n;\n\n\n\n/**\n * Flatten a Stream> to Stream by merging inner\n * streams to the outer, limiting the number of inner streams that may\n * be active concurrently.\n * @param {number} concurrency at most this many inner streams will be\n * allowed to be active concurrently.\n * @return {Stream} new stream containing all events of all inner\n * streams, with limited concurrency.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.mergeConcurrently = function (concurrency) {\n return (0,_combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_21__.mergeConcurrently)(concurrency, this)\n}\n\n// -----------------------------------------------------------------------\n// Merging\n\n;\n\n\n\n/**\n * Merge this stream and all the provided streams\n * @returns {Stream} stream containing items from this stream and s in time\n * order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.merge = function (/* ...streams */) {\n return (0,_combinator_merge__WEBPACK_IMPORTED_MODULE_22__.mergeArray)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.cons(this, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Combining\n\n;\n\n\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.combine = function (f /*, ...streams */) {\n return (0,_combinator_combine__WEBPACK_IMPORTED_MODULE_23__.combineArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Sampling\n\n;\n\n\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * signal's latest value will be propagated\n * @returns {Stream} sampled stream of values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sampleWith = function (sampler) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleWith)(sampler, this)\n}\n\n/**\n * When an event arrives on this stream, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @returns {Stream} stream of sampled and transformed values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sample = function (f /* ...streams */) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleArray)(f, this, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments))\n}\n\n// -----------------------------------------------------------------------\n// Zipping\n\n;\n\n\n\n/**\n * Pair-wise combine items with those in s. Given 2 streams:\n * [1,2,3] zipWith f [4,5,6] -> [f(1,4),f(2,5),f(3,6)]\n * Note: zip causes fast streams to buffer and wait for slow streams.\n * @param {function(a:Stream, b:Stream, ...):*} f function to combine items\n * @returns {Stream} new stream containing pairs\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.zip = function (f /*, ...streams */) {\n return (0,_combinator_zip__WEBPACK_IMPORTED_MODULE_25__.zipArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Switching\n\n;\n\n// @deprecated switch, use switchLatest instead\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @returns {Stream} switching stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest = function () {\n return (0,_combinator_switch__WEBPACK_IMPORTED_MODULE_26__.switchLatest)(this)\n}\n\n// @deprecated use switchLatest instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switch = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest\n\n// -----------------------------------------------------------------------\n// Filtering\n\n;\n\n// @deprecated distinct, use skipRepeats instead\n// @deprecated distinctBy, use skipRepeatsWith instead\n\n\n/**\n * Retain only items matching a predicate\n * stream: -12345678-\n * filter(x => x % 2 === 0, stream): --2-4-6-8-\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.filter = function (p) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_27__.filter)(p, this)\n}\n\n/**\n * Skip repeated events, using === to compare items\n * stream: -abbcd-\n * distinct(stream): -ab-cd-\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeats = function () {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeats)(this)\n}\n\n/**\n * Skip repeated events, using supplied equals function to compare items\n * @param {function(a:*, b:*):boolean} equals function to compare items\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeatsWith = function (equals) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeatsWith)(equals, this)\n}\n\n// -----------------------------------------------------------------------\n// Slicing\n\n;\n\n\n\n/**\n * stream: -abcd-\n * take(2, stream): -ab|\n * @param {Number} n take up to this many events\n * @returns {Stream} stream containing at most the first n items from this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.take = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.take)(n, this)\n}\n\n/**\n * stream: -abcd->\n * skip(2, stream): ---cd->\n * @param {Number} n skip this many events\n * @returns {Stream} stream not containing the first n events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skip = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skip)(n, this)\n}\n\n/**\n * Slice a stream by event index. Equivalent to, but more efficient than\n * stream.take(end).skip(start);\n * NOTE: Negative start and end are not supported\n * @param {Number} start skip all events before the start index\n * @param {Number} end allow all events from the start index to the end index\n * @returns {Stream} stream containing items where start <= index < end\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.slice = function (start, end) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.slice)(start, end, this)\n}\n\n/**\n * stream: -123451234->\n * takeWhile(x => x < 5, stream): -1234|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, but not including, the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.takeWhile)(p, this)\n}\n\n/**\n * stream: -123451234->\n * skipWhile(x => x < 5, stream): -----51234->\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items following *and including* the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipWhile)(p, this)\n}\n\n/**\n * stream: -123456789->\n * skipAfter(x => x === 5, stream):-12345|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, *and including*, the\n * first item for which p returns truthy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipAfter = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipAfter)(p, this)\n}\n\n// -----------------------------------------------------------------------\n// Time slicing\n\n;\n\n// @deprecated takeUntil, use until instead\n// @deprecated skipUntil, use since instead\n\n\n/**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -a-b-c-|\n * @param {Stream} signal retain only events in stream before the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur before\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.takeUntil)(signal, this)\n}\n\n// @deprecated use until instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -------d-e-f-g->\n * @param {Stream} signal retain only events in stream at or after the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur after\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.skipUntil)(signal, this)\n}\n\n// @deprecated use since instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * timeWindow: -----s\n * s: -----t\n * stream.during(timeWindow): -----c-d-e-|\n * @param {Stream} timeWindow a stream whose first event (s) represents\n * the window start time. That event (s) is itself a stream whose first event (t)\n * represents the window end time\n * @returns {Stream} new stream containing only events within the provided timespan\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.during = function (timeWindow) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.during)(timeWindow, this)\n}\n\n// -----------------------------------------------------------------------\n// Delaying\n\n;\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.delay = function (delayTime) {\n return (0,_combinator_delay__WEBPACK_IMPORTED_MODULE_30__.delay)(delayTime, this)\n}\n\n// -----------------------------------------------------------------------\n// Getting event timestamp\n\n;\n\n\n/**\n * Expose event timestamps into the stream. Turns a Stream into\n * Stream<{time:t, value:X}>\n * @returns {Stream<{time:number, value:*}>}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.timestamp = function () {\n return (0,_combinator_timestamp__WEBPACK_IMPORTED_MODULE_31__.timestamp)(this)\n}\n\n// -----------------------------------------------------------------------\n// Rate limiting\n\n;\n\n\n\n/**\n * Limit the rate of events\n * stream: abcd----abcd----\n * throttle(2, stream): a-c-----a-c-----\n * @param {Number} period time to suppress events\n * @returns {Stream} new stream that skips events for throttle period\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.throttle = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_32__.throttle)(period, this)\n}\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * stream: abcd----abcd----\n * debounce(2, stream): -----d-------d--\n * @param {Number} period events occurring more frequently than this\n * on the provided scheduler will be suppressed\n * @returns {Stream} new debounced stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.debounce = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_32__.debounce)(period, this)\n}\n\n// -----------------------------------------------------------------------\n// Awaiting Promises\n\n;\n\n// @deprecated await, use awaitPromises instead\n\n\n/**\n * Await promises, turning a Stream> into Stream. Preserves\n * event order, but timeshifts events based on promise resolution time.\n * @returns {Stream} stream containing non-promise values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises = function () {\n return (0,_combinator_promises__WEBPACK_IMPORTED_MODULE_33__.awaitPromises)(this)\n}\n\n// @deprecated use awaitPromises instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.await = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises\n\n// -----------------------------------------------------------------------\n// Error handling\n\n;\n\n// @deprecated flatMapError, use recoverWith instead\n\n\n/**\n * If this stream encounters an error, recover and continue with items from stream\n * returned by f.\n * stream: -a-b-c-X-\n * f(X): d-e-f-g-\n * flatMapError(f, stream): -a-b-c-d-e-f-g-\n * @param {function(error:*):Stream} f function which returns a new stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith = function (f) {\n return (0,_combinator_errors__WEBPACK_IMPORTED_MODULE_34__.flatMapError)(f, this)\n}\n\n// @deprecated use recoverWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapError = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith\n\n// -----------------------------------------------------------------------\n// Multicasting\n\n;\n\n\n\n/**\n * Transform the stream into multicast stream. That means that many subscribers\n * to the stream will not cause multiple invocations of the internal machinery.\n * @returns {Stream} new stream which will multicast events to all observers.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.multicast = function () {\n return (0,_most_multicast__WEBPACK_IMPORTED_MODULE_35__[\"default\"])(this)\n}\n\n// export the instance of the defaultScheduler for third-party libraries\n;\n\n\n\n// export an implementation of Task used internally for third-party libraries\n;\n\n\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/invoke.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/most/src/invoke.js ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ invoke)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction invoke (f, args) {\n /* eslint complexity: [2,7] */\n switch (args.length) {\n case 0: return f()\n case 1: return f(args[0])\n case 2: return f(args[0], args[1])\n case 3: return f(args[0], args[1], args[2])\n case 4: return f(args[0], args[1], args[2], args[3])\n case 5: return f(args[0], args[1], args[2], args[3], args[4])\n default:\n return f.apply(void 0, args)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/invoke.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/iterable.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/most/src/iterable.js ***! - \*****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getIterator: () => (/* binding */ getIterator),\n/* harmony export */ isIterable: () => (/* binding */ isIterable),\n/* harmony export */ makeIterable: () => (/* binding */ makeIterable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/* global Set, Symbol */\nvar iteratorSymbol\n// Firefox ships a partial implementation using the name @@iterator.\n// https://bugzilla.mozilla.org/show_bug.cgi?id=907077#c14\nif (typeof Set === 'function' && typeof new Set()['@@iterator'] === 'function') {\n iteratorSymbol = '@@iterator'\n} else {\n iteratorSymbol = typeof Symbol === 'function' ? Symbol.iterator\n : '_es6shim_iterator_'\n}\n\nfunction isIterable (o) {\n return typeof o[iteratorSymbol] === 'function'\n}\n\nfunction getIterator (o) {\n return o[iteratorSymbol]()\n}\n\nfunction makeIterable (f, o) {\n o[iteratorSymbol] = f\n return o\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/iterable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/observable/fromObservable.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/most/src/observable/fromObservable.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ObservableSource: () => (/* binding */ ObservableSource),\n/* harmony export */ SubscriberSink: () => (/* binding */ SubscriberSink),\n/* harmony export */ fromObservable: () => (/* binding */ fromObservable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromObservable (observable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ObservableSource(observable))\n}\n\nfunction ObservableSource (observable) {\n this.observable = observable\n}\n\nObservableSource.prototype.run = function (sink, scheduler) {\n var sub = this.observable.subscribe(new SubscriberSink(sink, scheduler))\n if (typeof sub === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(sub)\n } else if (sub && typeof sub.unsubscribe === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(unsubscribe, sub)\n }\n\n throw new TypeError('Observable returned invalid subscription ' + String(sub))\n}\n\nfunction SubscriberSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n}\n\nSubscriberSink.prototype.next = function (x) {\n (0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.complete = function (x) {\n ;(0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEnd)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.error = function (e) {\n this.sink.error(this.scheduler.now(), e)\n}\n\nfunction unsubscribe (subscription) {\n return subscription.unsubscribe()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/observable/fromObservable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/observable/getObservable.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/most/src/observable/getObservable.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ getObservable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nconst getGlobalThis = (__webpack_require__(/*! globalthis */ \"../../../../node_modules/globalthis/index.js\").getPolyfill)\nconst provideSymbolObservable = (__webpack_require__(/*! symbol-observable/ponyfill */ \"../../../../node_modules/symbol-observable/ponyfill.js\")[\"default\"])\n\nconst symbolObservable = provideSymbolObservable(getGlobalThis())\n\nfunction getObservable (o) { // eslint-disable-line complexity\n var obs = null\n if (o) {\n // Access foreign method only once\n var method = o[symbolObservable]\n if (typeof method === 'function') {\n obs = method.call(o)\n if (!(obs && typeof obs.subscribe === 'function')) {\n throw new TypeError('invalid observable ' + obs)\n }\n }\n }\n\n return obs\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/observable/getObservable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/observable/subscribe.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/observable/subscribe.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SubscribeObserver: () => (/* binding */ SubscribeObserver),\n/* harmony export */ Subscription: () => (/* binding */ Subscription),\n/* harmony export */ subscribe: () => (/* binding */ subscribe)\n/* harmony export */ });\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/defaultScheduler */ \"../../../../node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fatalError */ \"../../../../node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction subscribe (subscriber, stream) {\n if (Object(subscriber) !== subscriber) {\n throw new TypeError('subscriber must be an object')\n }\n\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.settable()\n var observer = new SubscribeObserver(_fatalError__WEBPACK_IMPORTED_MODULE_2__[\"default\"], subscriber, disposable)\n\n disposable.setDisposable(stream.source.run(observer, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"]))\n\n return new Subscription(disposable)\n}\n\nfunction SubscribeObserver (fatalError, subscriber, disposable) {\n this.fatalError = fatalError\n this.subscriber = subscriber\n this.disposable = disposable\n}\n\nSubscribeObserver.prototype.event = function (t, x) {\n if (!this.disposable.disposed && typeof this.subscriber.next === 'function') {\n this.subscriber.next(x)\n }\n}\n\nSubscribeObserver.prototype.end = function (t, x) {\n if (!this.disposable.disposed) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n if (typeof s.complete === 'function') {\n s.complete(x)\n }\n }).catch(function (e) {\n throwError(e, s, fatalError)\n })\n }\n}\n\nSubscribeObserver.prototype.error = function (t, e) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n throwError(e, s, fatalError)\n })\n}\n\nfunction Subscription (disposable) {\n this.disposable = disposable\n}\n\nSubscription.prototype.unsubscribe = function () {\n this.disposable.dispose()\n}\n\nfunction throwError (e1, subscriber, throwError) {\n if (typeof subscriber.error === 'function') {\n try {\n subscriber.error(e1)\n } catch (e2) {\n throwError(e2)\n }\n } else {\n throwError(e1)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/observable/subscribe.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/runSource.js": -/*!******************************************************!*\ - !*** ../../../../node_modules/most/src/runSource.js ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withDefaultScheduler: () => (/* binding */ withDefaultScheduler),\n/* harmony export */ withScheduler: () => (/* binding */ withScheduler)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../node_modules/most/src/scheduler/defaultScheduler.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction withDefaultScheduler (source) {\n return withScheduler(source, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nfunction withScheduler (source, scheduler) {\n return new Promise(function (resolve, reject) {\n runSource(source, scheduler, resolve, reject)\n })\n}\n\nfunction runSource (source, scheduler, resolve, reject) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.settable()\n var observer = new Drain(resolve, reject, disposable)\n\n disposable.setDisposable(source.run(observer, scheduler))\n}\n\nfunction Drain (end, error, disposable) {\n this._end = end\n this._error = error\n this._disposable = disposable\n this.active = true\n}\n\nDrain.prototype.event = function (t, x) {}\n\nDrain.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n disposeThen(this._end, this._error, this._disposable, x)\n}\n\nDrain.prototype.error = function (t, e) {\n this.active = false\n disposeThen(this._error, this._error, this._disposable, e)\n}\n\nfunction disposeThen (end, error, disposable, x) {\n Promise.resolve(disposable.dispose()).then(function () {\n end(x)\n }, error)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/runSource.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/ClockTimer.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/ClockTimer.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ClockTimer)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/* global setTimeout, clearTimeout */\n\nfunction ClockTimer () {}\n\nClockTimer.prototype.now = Date.now\n\nClockTimer.prototype.setTimer = function (f, dt) {\n return dt <= 0 ? runAsap(f) : setTimeout(f, dt)\n}\n\nClockTimer.prototype.clearTimer = function (t) {\n return t instanceof Asap ? t.cancel() : clearTimeout(t)\n}\n\nfunction Asap (f) {\n this.f = f\n this.active = true\n}\n\nAsap.prototype.run = function () {\n return this.active && this.f()\n}\n\nAsap.prototype.error = function (e) {\n throw e\n}\n\nAsap.prototype.cancel = function () {\n this.active = false\n}\n\nfunction runAsap (f) {\n var task = new Asap(f)\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n return task\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/ClockTimer.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/PropagateTask.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/PropagateTask.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PropagateTask)\n/* harmony export */ });\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../fatalError */ \"../../../../node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction PropagateTask (run, value, sink) {\n this._run = run\n this.value = value\n this.sink = sink\n this.active = true\n}\n\nPropagateTask.event = function (value, sink) {\n return new PropagateTask(emit, value, sink)\n}\n\nPropagateTask.end = function (value, sink) {\n return new PropagateTask(end, value, sink)\n}\n\nPropagateTask.error = function (value, sink) {\n return new PropagateTask(error, value, sink)\n}\n\nPropagateTask.prototype.dispose = function () {\n this.active = false\n}\n\nPropagateTask.prototype.run = function (t) {\n if (!this.active) {\n return\n }\n this._run(t, this.value, this.sink)\n}\n\nPropagateTask.prototype.error = function (t, e) {\n if (!this.active) {\n return (0,_fatalError__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e)\n }\n this.sink.error(t, e)\n}\n\nfunction error (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction emit (t, x, sink) {\n sink.event(t, x)\n}\n\nfunction end (t, x, sink) {\n sink.end(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/PropagateTask.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/ScheduledTask.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/ScheduledTask.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ScheduledTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction ScheduledTask (delay, period, task, scheduler) {\n this.time = delay\n this.period = period\n this.task = task\n this.scheduler = scheduler\n this.active = true\n}\n\nScheduledTask.prototype.run = function () {\n return this.task.run(this.time)\n}\n\nScheduledTask.prototype.error = function (e) {\n return this.task.error(this.time, e)\n}\n\nScheduledTask.prototype.dispose = function () {\n this.scheduler.cancel(this)\n return this.task.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/ScheduledTask.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/Scheduler.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/Scheduler.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Scheduler)\n/* harmony export */ });\n/* harmony import */ var _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ScheduledTask */ \"../../../../node_modules/most/src/scheduler/ScheduledTask.js\");\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../task */ \"../../../../node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction Scheduler (timer, timeline) {\n this.timer = timer\n this.timeline = timeline\n\n this._timer = null\n this._nextArrival = Infinity\n\n var self = this\n this._runReadyTasksBound = function () {\n self._runReadyTasks(self.now())\n }\n}\n\nScheduler.prototype.now = function () {\n return this.timer.now()\n}\n\nScheduler.prototype.asap = function (task) {\n return this.schedule(0, -1, task)\n}\n\nScheduler.prototype.delay = function (delay, task) {\n return this.schedule(delay, -1, task)\n}\n\nScheduler.prototype.periodic = function (period, task) {\n return this.schedule(0, period, task)\n}\n\nScheduler.prototype.schedule = function (delay, period, task) {\n var now = this.now()\n var st = new _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__[\"default\"](now + Math.max(0, delay), period, task, this)\n\n this.timeline.add(st)\n this._scheduleNextRun(now)\n return st\n}\n\nScheduler.prototype.cancel = function (task) {\n task.active = false\n if (this.timeline.remove(task)) {\n this._reschedule()\n }\n}\n\nScheduler.prototype.cancelAll = function (f) {\n this.timeline.removeAll(f)\n this._reschedule()\n}\n\nScheduler.prototype._reschedule = function () {\n if (this.timeline.isEmpty()) {\n this._unschedule()\n } else {\n this._scheduleNextRun(this.now())\n }\n}\n\nScheduler.prototype._unschedule = function () {\n this.timer.clearTimer(this._timer)\n this._timer = null\n}\n\nScheduler.prototype._scheduleNextRun = function (now) { // eslint-disable-line complexity\n if (this.timeline.isEmpty()) {\n return\n }\n\n var nextArrival = this.timeline.nextArrival()\n\n if (this._timer === null) {\n this._scheduleNextArrival(nextArrival, now)\n } else if (nextArrival < this._nextArrival) {\n this._unschedule()\n this._scheduleNextArrival(nextArrival, now)\n }\n}\n\nScheduler.prototype._scheduleNextArrival = function (nextArrival, now) {\n this._nextArrival = nextArrival\n var delay = Math.max(0, nextArrival - now)\n this._timer = this.timer.setTimer(this._runReadyTasksBound, delay)\n}\n\nScheduler.prototype._runReadyTasks = function (now) {\n this._timer = null\n this.timeline.runTasks(now, _task__WEBPACK_IMPORTED_MODULE_1__.runTask)\n this._scheduleNextRun(this.now())\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/Scheduler.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/Timeline.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/Timeline.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Timeline)\n/* harmony export */ });\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Timeline () {\n this.tasks = []\n}\n\nTimeline.prototype.nextArrival = function () {\n return this.isEmpty() ? Infinity : this.tasks[0].time\n}\n\nTimeline.prototype.isEmpty = function () {\n return this.tasks.length === 0\n}\n\nTimeline.prototype.add = function (st) {\n insertByTime(st, this.tasks)\n}\n\nTimeline.prototype.remove = function (st) {\n var i = binarySearch(st.time, this.tasks)\n\n if (i >= 0 && i < this.tasks.length) {\n var at = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.findIndex(st, this.tasks[i].events)\n if (at >= 0) {\n this.tasks[i].events.splice(at, 1)\n return true\n }\n }\n\n return false\n}\n\nTimeline.prototype.removeAll = function (f) {\n for (var i = 0, l = this.tasks.length; i < l; ++i) {\n removeAllFrom(f, this.tasks[i])\n }\n}\n\nTimeline.prototype.runTasks = function (t, runTask) {\n var tasks = this.tasks\n var l = tasks.length\n var i = 0\n\n while (i < l && tasks[i].time <= t) {\n ++i\n }\n\n this.tasks = tasks.slice(i)\n\n // Run all ready tasks\n for (var j = 0; j < i; ++j) {\n this.tasks = runTasks(runTask, tasks[j], this.tasks)\n }\n}\n\nfunction runTasks (runTask, timeslot, tasks) { // eslint-disable-line complexity\n var events = timeslot.events\n for (var i = 0; i < events.length; ++i) {\n var task = events[i]\n\n if (task.active) {\n runTask(task)\n\n // Reschedule periodic repeating tasks\n // Check active again, since a task may have canceled itself\n if (task.period >= 0 && task.active) {\n task.time = task.time + task.period\n insertByTime(task, tasks)\n }\n }\n }\n\n return tasks\n}\n\nfunction insertByTime (task, timeslots) { // eslint-disable-line complexity\n var l = timeslots.length\n\n if (l === 0) {\n timeslots.push(newTimeslot(task.time, [task]))\n return\n }\n\n var i = binarySearch(task.time, timeslots)\n\n if (i >= l) {\n timeslots.push(newTimeslot(task.time, [task]))\n } else if (task.time === timeslots[i].time) {\n timeslots[i].events.push(task)\n } else {\n timeslots.splice(i, 0, newTimeslot(task.time, [task]))\n }\n}\n\nfunction removeAllFrom (f, timeslot) {\n timeslot.events = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.removeAll(f, timeslot.events)\n}\n\nfunction binarySearch (t, sortedArray) { // eslint-disable-line complexity\n var lo = 0\n var hi = sortedArray.length\n var mid, y\n\n while (lo < hi) {\n mid = Math.floor((lo + hi) / 2)\n y = sortedArray[mid]\n\n if (t === y.time) {\n return mid\n } else if (t < y.time) {\n hi = mid\n } else {\n lo = mid + 1\n }\n }\n return hi\n}\n\nfunction newTimeslot (t, events) {\n return { time: t, events: events }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/Timeline.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/defaultScheduler.js": -/*!***********************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/defaultScheduler.js ***! - \***********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Scheduler */ \"../../../../node_modules/most/src/scheduler/Scheduler.js\");\n/* harmony import */ var _ClockTimer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClockTimer */ \"../../../../node_modules/most/src/scheduler/ClockTimer.js\");\n/* harmony import */ var _Timeline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Timeline */ \"../../../../node_modules/most/src/scheduler/Timeline.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar defaultScheduler = new _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new _ClockTimer__WEBPACK_IMPORTED_MODULE_1__[\"default\"](), new _Timeline__WEBPACK_IMPORTED_MODULE_2__[\"default\"]())\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultScheduler);\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/defaultScheduler.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/DeferredSink.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/sink/DeferredSink.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ DeferredSink)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction DeferredSink (sink) {\n this.sink = sink\n this.events = []\n this.active = true\n}\n\nDeferredSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n if (this.events.length === 0) {\n (0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(new PropagateAllTask(this.sink, t, this.events))\n }\n\n this.events.push({ time: t, value: x })\n}\n\nDeferredSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n this._end(new EndTask(t, x, this.sink))\n}\n\nDeferredSink.prototype.error = function (t, e) {\n this._end(new ErrorTask(t, e, this.sink))\n}\n\nDeferredSink.prototype._end = function (task) {\n this.active = false\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n}\n\nfunction PropagateAllTask (sink, time, events) {\n this.sink = sink\n this.events = events\n this.time = time\n}\n\nPropagateAllTask.prototype.run = function () {\n var events = this.events\n var sink = this.sink\n var event\n\n for (var i = 0, l = events.length; i < l; ++i) {\n event = events[i]\n this.time = event.time\n sink.event(event.time, event.value)\n }\n\n events.length = 0\n}\n\nPropagateAllTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction EndTask (t, x, sink) {\n this.time = t\n this.value = x\n this.sink = sink\n}\n\nEndTask.prototype.run = function () {\n this.sink.end(this.time, this.value)\n}\n\nEndTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction ErrorTask (t, e, sink) {\n this.time = t\n this.value = e\n this.sink = sink\n}\n\nErrorTask.prototype.run = function () {\n this.sink.error(this.time, this.value)\n}\n\nErrorTask.prototype.error = function (e) {\n throw e\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/DeferredSink.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/IndexSink.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/most/src/sink/IndexSink.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ IndexSink)\n/* harmony export */ });\n/* harmony import */ var _Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction IndexSink (i, sink) {\n this.sink = sink\n this.index = i\n this.active = true\n this.value = void 0\n}\n\nIndexSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.value = x\n this.sink.event(t, this)\n}\n\nIndexSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n this.sink.end(t, { index: this.index, value: x })\n}\n\nIndexSink.prototype.error = _Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/IndexSink.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/Pipe.js": -/*!******************************************************!*\ - !*** ../../../../node_modules/most/src/sink/Pipe.js ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Pipe)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * A sink mixin that simply forwards event, end, and error to\n * another sink.\n * @param sink\n * @constructor\n */\nfunction Pipe (sink) {\n this.sink = sink\n}\n\nPipe.prototype.event = function (t, x) {\n return this.sink.event(t, x)\n}\n\nPipe.prototype.end = function (t, x) {\n return this.sink.end(t, x)\n}\n\nPipe.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/Pipe.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/SafeSink.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/most/src/sink/SafeSink.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SafeSink)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SafeSink (sink) {\n this.sink = sink\n this.active = true\n}\n\nSafeSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nSafeSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.disable()\n this.sink.end(t, x)\n}\n\nSafeSink.prototype.error = function (t, e) {\n this.disable()\n this.sink.error(t, e)\n}\n\nSafeSink.prototype.disable = function () {\n this.active = false\n return this.sink\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/SafeSink.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/EventEmitterSource.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/most/src/source/EventEmitterSource.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventEmitterSource)\n/* harmony export */ });\n/* harmony import */ var _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/DeferredSink */ \"../../../../node_modules/most/src/sink/DeferredSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction EventEmitterSource (event, source) {\n this.event = event\n this.source = source\n}\n\nEventEmitterSource.prototype.run = function (sink, scheduler) {\n // NOTE: Because EventEmitter allows events in the same call stack as\n // a listener is added, use a DeferredSink to buffer events\n // until the stack clears, then propagate. This maintains most.js's\n // invariant that no event will be delivered in the same call stack\n // as an observer begins observing.\n var dsink = new _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sink)\n\n function addEventVariadic (a) {\n var l = arguments.length\n if (l > 1) {\n var arr = new Array(l)\n for (var i = 0; i < l; ++i) {\n arr[i] = arguments[i]\n }\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), arr, dsink)\n } else {\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), a, dsink)\n }\n }\n\n this.source.addListener(this.event, addEventVariadic)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEventEmitter, { target: this, addEvent: addEventVariadic })\n}\n\nfunction disposeEventEmitter (info) {\n var target = info.target\n target.source.removeListener(target.event, info.addEvent)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/EventEmitterSource.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/EventTargetSource.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/most/src/source/EventTargetSource.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventTargetSource)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction EventTargetSource (event, source, capture) {\n this.event = event\n this.source = source\n this.capture = capture\n}\n\nEventTargetSource.prototype.run = function (sink, scheduler) {\n function addEvent (e) {\n _tryEvent__WEBPACK_IMPORTED_MODULE_1__.tryEvent(scheduler.now(), e, sink)\n }\n\n this.source.addEventListener(this.event, addEvent, this.capture)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.create(disposeEventTarget,\n { target: this, addEvent: addEvent })\n}\n\nfunction disposeEventTarget (info) {\n var target = info.target\n target.source.removeEventListener(target.event, info.addEvent, target.capture)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/EventTargetSource.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/core.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/most/src/source/core.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ never: () => (/* binding */ never),\n/* harmony export */ of: () => (/* binding */ of)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Stream containing only x\n * @param {*} x\n * @returns {Stream}\n */\nfunction of (x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Just(x))\n}\n\nfunction Just (x) {\n this.value = x\n}\n\nJust.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runJust, this.value, sink))\n}\n\nfunction runJust (t, x, sink) {\n sink.event(t, x)\n sink.end(t, void 0)\n}\n\n/**\n * Stream containing no events and ends immediately\n * @returns {Stream}\n */\nfunction empty () {\n return EMPTY\n}\n\nfunction EmptySource () {}\n\nEmptySource.prototype.run = function (sink, scheduler) {\n var task = _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"].end(void 0, sink)\n scheduler.asap(task)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEmpty, task)\n}\n\nfunction disposeEmpty (task) {\n return task.dispose()\n}\n\nvar EMPTY = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new EmptySource())\n\n/**\n * Stream containing no events and never ends\n * @returns {Stream}\n */\nfunction never () {\n return NEVER\n}\n\nfunction NeverSource () {}\n\nNeverSource.prototype.run = function () {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nvar NEVER = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new NeverSource())\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/core.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/from.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/most/src/source/from.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ from: () => (/* binding */ from)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"../../../../node_modules/most/src/source/fromArray.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../iterable */ \"../../../../node_modules/most/src/iterable.js\");\n/* harmony import */ var _fromIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromIterable */ \"../../../../node_modules/most/src/source/fromIterable.js\");\n/* harmony import */ var _observable_getObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/getObservable */ \"../../../../node_modules/most/src/observable/getObservable.js\");\n/* harmony import */ var _observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../observable/fromObservable */ \"../../../../node_modules/most/src/observable/fromObservable.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\nfunction from (a) { // eslint-disable-line complexity\n if (a instanceof _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) {\n return a\n }\n\n var observable = (0,_observable_getObservable__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(a)\n if (observable != null) {\n return (0,_observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__.fromObservable)(observable)\n }\n\n if (Array.isArray(a) || (0,_most_prelude__WEBPACK_IMPORTED_MODULE_6__.isArrayLike)(a)) {\n return (0,_fromArray__WEBPACK_IMPORTED_MODULE_1__.fromArray)(a)\n }\n\n if ((0,_iterable__WEBPACK_IMPORTED_MODULE_2__.isIterable)(a)) {\n return (0,_fromIterable__WEBPACK_IMPORTED_MODULE_3__.fromIterable)(a)\n }\n\n throw new TypeError('from(x) must be observable, iterable, or array-like: ' + a)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/from.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/fromArray.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/source/fromArray.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromArray: () => (/* binding */ fromArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction fromArray (a) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ArraySource(a))\n}\n\nfunction ArraySource (a) {\n this.array = a\n}\n\nArraySource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"](runProducer, this.array, sink))\n}\n\nfunction runProducer (t, array, sink) {\n for (var i = 0, l = array.length; i < l && this.active; ++i) {\n sink.event(t, array[i])\n }\n\n this.active && sink.end(t)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/fromArray.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/fromEvent.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/source/fromEvent.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromEvent: () => (/* binding */ fromEvent)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EventTargetSource */ \"../../../../node_modules/most/src/source/EventTargetSource.js\");\n/* harmony import */ var _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventEmitterSource */ \"../../../../node_modules/most/src/source/EventEmitterSource.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream from an EventTarget, such as a DOM Node, or EventEmitter.\n * @param {String} event event type name, e.g. 'click'\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter\n * @param {*?} capture for DOM events, whether to use\n * capturing--passed as 3rd parameter to addEventListener.\n * @returns {Stream} stream containing all events of the specified type\n * from the source.\n */\nfunction fromEvent (event, source, capture) { // eslint-disable-line complexity\n var s\n\n if (typeof source.addEventListener === 'function' && typeof source.removeEventListener === 'function') {\n if (arguments.length < 3) {\n capture = false\n }\n\n s = new _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__[\"default\"](event, source, capture)\n } else if (typeof source.addListener === 'function' && typeof source.removeListener === 'function') {\n s = new _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__[\"default\"](event, source)\n } else {\n throw new Error('source must support addEventListener/removeEventListener or addListener/removeListener')\n }\n\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](s)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/fromEvent.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/fromIterable.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/most/src/source/fromIterable.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromIterable: () => (/* binding */ fromIterable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../iterable */ \"../../../../node_modules/most/src/iterable.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromIterable (iterable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterableSource(iterable))\n}\n\nfunction IterableSource (iterable) {\n this.iterable = iterable\n}\n\nIterableSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runProducer, (0,_iterable__WEBPACK_IMPORTED_MODULE_1__.getIterator)(this.iterable), sink))\n}\n\nfunction runProducer (t, iterator, sink) {\n var r = iterator.next()\n\n while (!r.done && this.active) {\n sink.event(t, r.value)\n r = iterator.next()\n }\n\n sink.end(t, r.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/fromIterable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/generate.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/source/generate.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ generate: () => (/* binding */ generate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2014 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Compute a stream using an *async* generator, which yields promises\n * to control event times.\n * @param f\n * @returns {Stream}\n */\nfunction generate (f /*, ...args */) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new GenerateSource(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments)))\n}\n\nfunction GenerateSource (f, args) {\n this.f = f\n this.args = args\n}\n\nGenerateSource.prototype.run = function (sink, scheduler) {\n return new Generate(this.f.apply(void 0, this.args), sink, scheduler)\n}\n\nfunction Generate (iterator, sink, scheduler) {\n this.iterator = iterator\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n Promise.resolve(this).then(next).catch(err)\n}\n\nfunction next (generate, x) {\n return generate.active ? handle(generate, generate.iterator.next(x)) : x\n}\n\nfunction handle (generate, result) {\n if (result.done) {\n return generate.sink.end(generate.scheduler.now(), result.value)\n }\n\n return Promise.resolve(result.value).then(function (x) {\n return emit(generate, x)\n }, function (e) {\n return error(generate, e)\n })\n}\n\nfunction emit (generate, x) {\n generate.sink.event(generate.scheduler.now(), x)\n return next(generate, x)\n}\n\nfunction error (generate, e) {\n return handle(generate, generate.iterator.throw(e))\n}\n\nGenerate.prototype.dispose = function () {\n this.active = false\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/generate.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/iterate.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/most/src/source/iterate.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ iterate: () => (/* binding */ iterate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by iteratively calling f to produce values\n * Event times may be controlled by returning a Promise from f\n * @param {function(x:*):*|Promise<*>} f\n * @param {*} x initial value\n * @returns {Stream}\n */\nfunction iterate (f, x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterateSource(f, x))\n}\n\nfunction IterateSource (f, x) {\n this.f = f\n this.value = x\n}\n\nIterateSource.prototype.run = function (sink, scheduler) {\n return new Iterate(this.f, this.value, sink, scheduler)\n}\n\nfunction Iterate (f, initial, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var x = initial\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (iterate) {\n return stepIterate(iterate, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nIterate.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepIterate (iterate, x) {\n iterate.sink.event(iterate.scheduler.now(), x)\n\n if (!iterate.active) {\n return x\n }\n\n var f = iterate.f\n return Promise.resolve(f(x)).then(function (y) {\n return continueIterate(iterate, y)\n })\n}\n\nfunction continueIterate (iterate, x) {\n return !iterate.active ? iterate.value : stepIterate(iterate, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/iterate.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/periodic.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/source/periodic.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ periodic: () => (/* binding */ periodic)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Create a stream that emits the current time periodically\n * @param {Number} period periodicity of events in millis\n * @param {*} deprecatedValue @deprecated value to emit each period\n * @returns {Stream} new stream that emits the current time every period\n */\nfunction periodic (period, deprecatedValue) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Periodic(period, deprecatedValue))\n}\n\nfunction Periodic (period, value) {\n this.period = period\n this.value = value\n}\n\nPeriodic.prototype.run = function (sink, scheduler) {\n return scheduler.periodic(this.period, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"].event(this.value, sink))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/periodic.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/tryEvent.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/source/tryEvent.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ tryEnd: () => (/* binding */ tryEnd),\n/* harmony export */ tryEvent: () => (/* binding */ tryEvent)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction tryEvent (t, x, sink) {\n try {\n sink.event(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nfunction tryEnd (t, x, sink) {\n try {\n sink.end(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/tryEvent.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/unfold.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/most/src/source/unfold.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ unfold: () => (/* binding */ unfold)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by unfolding tuples of future values from a seed value\n * Event times may be controlled by returning a Promise from f\n * @param {function(seed:*):{value:*, seed:*, done:boolean}|Promise<{value:*, seed:*, done:boolean}>} f unfolding function accepts\n * a seed and returns a new tuple with a value, new seed, and boolean done flag.\n * If tuple.done is true, the stream will end.\n * @param {*} seed seed value\n * @returns {Stream} stream containing all value of all tuples produced by the\n * unfolding function.\n */\nfunction unfold (f, seed) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new UnfoldSource(f, seed))\n}\n\nfunction UnfoldSource (f, seed) {\n this.f = f\n this.value = seed\n}\n\nUnfoldSource.prototype.run = function (sink, scheduler) {\n return new Unfold(this.f, this.value, sink, scheduler)\n}\n\nfunction Unfold (f, x, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (unfold) {\n return stepUnfold(unfold, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nUnfold.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepUnfold (unfold, x) {\n var f = unfold.f\n return Promise.resolve(f(x)).then(function (tuple) {\n return continueUnfold(unfold, tuple)\n })\n}\n\nfunction continueUnfold (unfold, tuple) {\n if (tuple.done) {\n unfold.sink.end(unfold.scheduler.now(), tuple.value)\n return tuple.value\n }\n\n unfold.sink.event(unfold.scheduler.now(), tuple.value)\n\n if (!unfold.active) {\n return tuple.value\n }\n return stepUnfold(unfold, tuple.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/unfold.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/task.js": -/*!*************************************************!*\ - !*** ../../../../node_modules/most/src/task.js ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defer: () => (/* binding */ defer),\n/* harmony export */ runTask: () => (/* binding */ runTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction defer (task) {\n return Promise.resolve(task).then(runTask)\n}\n\nfunction runTask (task) {\n try {\n return task.run()\n } catch (e) {\n return task.error(e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/task.js?"); - -/***/ }), - -/***/ "../../../../node_modules/object-keys/implementation.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/object-keys/implementation.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = __webpack_require__(/*! ./isArguments */ \"../../../../node_modules/object-keys/isArguments.js\"); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/object-keys/implementation.js?"); - -/***/ }), - -/***/ "../../../../node_modules/object-keys/index.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/object-keys/index.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar slice = Array.prototype.slice;\nvar isArgs = __webpack_require__(/*! ./isArguments */ \"../../../../node_modules/object-keys/isArguments.js\");\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(/*! ./implementation */ \"../../../../node_modules/object-keys/implementation.js\");\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/object-keys/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/object-keys/isArguments.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/object-keys/isArguments.js ***! - \***********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/object-keys/isArguments.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_Array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_Array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../node_modules/rescript/lib/js/caml.js\");\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_math = __webpack_require__(/*! ./js_math.js */ \"../../../../node_modules/rescript/lib/js/js_math.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(arr, i) {\n if (i >= 0 && i < arr.length) {\n return Caml_option.some(arr[i]);\n }\n \n}\n\nfunction getExn(arr, i) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 35,\n 2\n ],\n Error: new Error()\n };\n }\n return arr[i];\n}\n\nfunction set(arr, i, v) {\n if (i >= 0 && i < arr.length) {\n arr[i] = v;\n return true;\n } else {\n return false;\n }\n}\n\nfunction setExn(arr, i, v) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 45,\n 2\n ],\n Error: new Error()\n };\n }\n arr[i] = v;\n}\n\nfunction swapUnsafe(xs, i, j) {\n var tmp = xs[i];\n xs[i] = xs[j];\n xs[j] = tmp;\n}\n\nfunction shuffleInPlace(xs) {\n var len = xs.length;\n for(var i = 0; i < len; ++i){\n swapUnsafe(xs, i, Js_math.random_int(i, len));\n }\n}\n\nfunction shuffle(xs) {\n var result = xs.slice(0);\n shuffleInPlace(result);\n return result;\n}\n\nfunction reverseInPlace(xs) {\n var len = xs.length;\n var ofs = 0;\n for(var i = 0 ,i_finish = len / 2 | 0; i < i_finish; ++i){\n swapUnsafe(xs, ofs + i | 0, ((ofs + len | 0) - i | 0) - 1 | 0);\n }\n}\n\nfunction reverse(xs) {\n var len = xs.length;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = xs[(len - 1 | 0) - i | 0];\n }\n return result;\n}\n\nfunction make(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f;\n }\n return res;\n}\n\nfunction makeByU(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f(i);\n }\n return res;\n}\n\nfunction makeBy(l, f) {\n return makeByU(l, Curry.__1(f));\n}\n\nfunction makeByAndShuffleU(l, f) {\n var u = makeByU(l, f);\n shuffleInPlace(u);\n return u;\n}\n\nfunction makeByAndShuffle(l, f) {\n return makeByAndShuffleU(l, Curry.__1(f));\n}\n\nfunction range(start, finish) {\n var cut = finish - start | 0;\n if (cut < 0) {\n return [];\n }\n var arr = new Array(cut + 1 | 0);\n for(var i = 0; i <= cut; ++i){\n arr[i] = start + i | 0;\n }\n return arr;\n}\n\nfunction rangeBy(start, finish, step) {\n var cut = finish - start | 0;\n if (cut < 0 || step <= 0) {\n return [];\n }\n var nb = (cut / step | 0) + 1 | 0;\n var arr = new Array(nb);\n var cur = start;\n for(var i = 0; i < nb; ++i){\n arr[i] = cur;\n cur = cur + step | 0;\n }\n return arr;\n}\n\nfunction zip(xs, ys) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = [\n xs[i],\n ys[i]\n ];\n }\n return s;\n}\n\nfunction zipByU(xs, ys, f) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = f(xs[i], ys[i]);\n }\n return s;\n}\n\nfunction zipBy(xs, ys, f) {\n return zipByU(xs, ys, Curry.__2(f));\n}\n\nfunction concat(a1, a2) {\n var l1 = a1.length;\n var l2 = a2.length;\n var a1a2 = new Array(l1 + l2 | 0);\n for(var i = 0; i < l1; ++i){\n a1a2[i] = a1[i];\n }\n for(var i$1 = 0; i$1 < l2; ++i$1){\n a1a2[l1 + i$1 | 0] = a2[i$1];\n }\n return a1a2;\n}\n\nfunction concatMany(arrs) {\n var lenArrs = arrs.length;\n var totalLen = 0;\n for(var i = 0; i < lenArrs; ++i){\n totalLen = totalLen + arrs[i].length | 0;\n }\n var result = new Array(totalLen);\n totalLen = 0;\n for(var j = 0; j < lenArrs; ++j){\n var cur = arrs[j];\n for(var k = 0 ,k_finish = cur.length; k < k_finish; ++k){\n result[totalLen] = cur[k];\n totalLen = totalLen + 1 | 0;\n }\n }\n return result;\n}\n\nfunction slice(a, offset, len) {\n if (len <= 0) {\n return [];\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var copyLength = hasLen < len ? hasLen : len;\n if (copyLength <= 0) {\n return [];\n }\n var result = new Array(copyLength);\n for(var i = 0; i < copyLength; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction sliceToEnd(a, offset) {\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var len = lena > ofs ? lena - ofs | 0 : 0;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction fill(a, offset, len, v) {\n if (len <= 0) {\n return ;\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var fillLength = hasLen < len ? hasLen : len;\n if (fillLength <= 0) {\n return ;\n }\n for(var i = ofs ,i_finish = ofs + fillLength | 0; i < i_finish; ++i){\n a[i] = v;\n }\n}\n\nfunction blitUnsafe(a1, srcofs1, a2, srcofs2, blitLength) {\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction blit(a1, ofs1, a2, ofs2, len) {\n var lena1 = a1.length;\n var lena2 = a2.length;\n var srcofs1 = ofs1 < 0 ? Caml.int_max(lena1 + ofs1 | 0, 0) : ofs1;\n var srcofs2 = ofs2 < 0 ? Caml.int_max(lena2 + ofs2 | 0, 0) : ofs2;\n var blitLength = Caml.int_min(len, Caml.int_min(lena1 - srcofs1 | 0, lena2 - srcofs2 | 0));\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction forEachU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(a[i]);\n }\n}\n\nfunction forEach(a, f) {\n forEachU(a, Curry.__1(f));\n}\n\nfunction mapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(a[i]);\n }\n return r;\n}\n\nfunction map(a, f) {\n return mapU(a, Curry.__1(f));\n}\n\nfunction flatMapU(a, f) {\n return concatMany(mapU(a, f));\n}\n\nfunction flatMap(a, f) {\n return concatMany(mapU(a, Curry.__1(f)));\n}\n\nfunction getByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = Caml_option.some(v);\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getBy(a, p) {\n return getByU(a, Curry.__1(p));\n}\n\nfunction getIndexByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = i;\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getIndexBy(a, p) {\n return getIndexByU(a, Curry.__1(p));\n}\n\nfunction keepU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keep(a, f) {\n return keepU(a, Curry.__1(f));\n}\n\nfunction keepWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v, i)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepWithIndex(a, f) {\n return keepWithIndexU(a, Curry.__2(f));\n}\n\nfunction keepMapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n var v$1 = f(v);\n if (v$1 !== undefined) {\n r[j] = Caml_option.valFromOption(v$1);\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepMap(a, f) {\n return keepMapU(a, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(i, a[i]);\n }\n}\n\nfunction forEachWithIndex(a, f) {\n forEachWithIndexU(a, Curry.__2(f));\n}\n\nfunction mapWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(i, a[i]);\n }\n return r;\n}\n\nfunction mapWithIndex(a, f) {\n return mapWithIndexU(a, Curry.__2(f));\n}\n\nfunction reduceU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduce(a, x, f) {\n return reduceU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverseU(a, x, f) {\n var r = x;\n for(var i = a.length - 1 | 0; i >= 0; --i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduceReverse(a, x, f) {\n return reduceReverseU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverse2U(a, b, x, f) {\n var r = x;\n var len = Caml.int_min(a.length, b.length);\n for(var i = len - 1 | 0; i >= 0; --i){\n r = f(r, a[i], b[i]);\n }\n return r;\n}\n\nfunction reduceReverse2(a, b, x, f) {\n return reduceReverse2U(a, b, x, Curry.__3(f));\n}\n\nfunction reduceWithIndexU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i], i);\n }\n return r;\n}\n\nfunction reduceWithIndex(a, x, f) {\n return reduceWithIndexU(a, x, Curry.__3(f));\n}\n\nfunction everyU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every(arr, f) {\n return everyU(arr, Curry.__1(f));\n}\n\nfunction someU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (b(arr[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some(arr, f) {\n return someU(arr, Curry.__1(f));\n}\n\nfunction everyAux2(arr1, arr2, _i, b, len) {\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr1[i], arr2[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every2U(a, b, p) {\n return everyAux2(a, b, 0, p, Caml.int_min(a.length, b.length));\n}\n\nfunction every2(a, b, p) {\n return every2U(a, b, Curry.__2(p));\n}\n\nfunction some2U(a, b, p) {\n var _i = 0;\n var len = Caml.int_min(a.length, b.length);\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (p(a[i], b[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some2(a, b, p) {\n return some2U(a, b, Curry.__2(p));\n}\n\nfunction eqU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena === lenb) {\n return everyAux2(a, b, 0, p, lena);\n } else {\n return false;\n }\n}\n\nfunction eq(a, b, p) {\n return eqU(a, b, Curry.__2(p));\n}\n\nfunction cmpU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena > lenb) {\n return 1;\n } else if (lena < lenb) {\n return -1;\n } else {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === lena) {\n return 0;\n }\n var c = p(a[i], b[i]);\n if (c !== 0) {\n return c;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction cmp(a, b, p) {\n return cmpU(a, b, Curry.__2(p));\n}\n\nfunction partitionU(a, f) {\n var l = a.length;\n var i = 0;\n var j = 0;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var ii = 0; ii < l; ++ii){\n var v = a[ii];\n if (f(v)) {\n a1[i] = v;\n i = i + 1 | 0;\n } else {\n a2[j] = v;\n j = j + 1 | 0;\n }\n }\n a1.length = i;\n a2.length = j;\n return [\n a1,\n a2\n ];\n}\n\nfunction partition(a, f) {\n return partitionU(a, Curry.__1(f));\n}\n\nfunction unzip(a) {\n var l = a.length;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var i = 0; i < l; ++i){\n var match = a[i];\n a1[i] = match[0];\n a2[i] = match[1];\n }\n return [\n a1,\n a2\n ];\n}\n\nfunction joinWithU(a, sep, toString) {\n var l = a.length;\n if (l === 0) {\n return \"\";\n }\n var lastIndex = l - 1 | 0;\n var _i = 0;\n var _res = \"\";\n while(true) {\n var res = _res;\n var i = _i;\n if (i === lastIndex) {\n return res + toString(a[i]);\n }\n _res = res + (toString(a[i]) + sep);\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction joinWith(a, sep, toString) {\n return joinWithU(a, sep, Curry.__1(toString));\n}\n\nfunction initU(n, f) {\n var v = new Array(n);\n for(var i = 0; i < n; ++i){\n v[i] = f(i);\n }\n return v;\n}\n\nfunction init(n, f) {\n return initU(n, Curry.__1(f));\n}\n\nexports.get = get;\nexports.getExn = getExn;\nexports.set = set;\nexports.setExn = setExn;\nexports.shuffleInPlace = shuffleInPlace;\nexports.shuffle = shuffle;\nexports.reverseInPlace = reverseInPlace;\nexports.reverse = reverse;\nexports.make = make;\nexports.range = range;\nexports.rangeBy = rangeBy;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.makeByAndShuffleU = makeByAndShuffleU;\nexports.makeByAndShuffle = makeByAndShuffle;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.unzip = unzip;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.slice = slice;\nexports.sliceToEnd = sliceToEnd;\nexports.fill = fill;\nexports.blit = blit;\nexports.blitUnsafe = blitUnsafe;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.getIndexByU = getIndexByU;\nexports.getIndexBy = getIndexBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.joinWithU = joinWithU;\nexports.joinWith = joinWith;\nexports.someU = someU;\nexports.some = some;\nexports.everyU = everyU;\nexports.every = every;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.initU = initU;\nexports.init = init;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_Array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_List.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_List.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Belt_SortArray = __webpack_require__(/*! ./belt_SortArray.js */ \"../../../../node_modules/rescript/lib/js/belt_SortArray.js\");\n\nfunction head(x) {\n if (x) {\n return Caml_option.some(x.hd);\n }\n \n}\n\nfunction headExn(x) {\n if (x) {\n return x.hd;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction tail(x) {\n if (x) {\n return x.tl;\n }\n \n}\n\nfunction tailExn(x) {\n if (x) {\n return x.tl;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction add(xs, x) {\n return {\n hd: x,\n tl: xs\n };\n}\n\nfunction get(x, n) {\n if (n < 0) {\n return ;\n } else {\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (!x$1) {\n return ;\n }\n if (n$1 === 0) {\n return Caml_option.some(x$1.hd);\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n };\n }\n}\n\nfunction getExn(x, n) {\n if (n < 0) {\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n }\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (x$1) {\n if (n$1 === 0) {\n return x$1.hd;\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n };\n}\n\nfunction partitionAux(p, _cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var t = cell.tl;\n var h = cell.hd;\n var next = {\n hd: h,\n tl: /* [] */0\n };\n if (p(h)) {\n precX.tl = next;\n _precX = next;\n _cell = t;\n continue ;\n }\n precY.tl = next;\n _precY = next;\n _cell = t;\n continue ;\n };\n}\n\nfunction splitAux(_cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var match = cell.hd;\n var nextA = {\n hd: match[0],\n tl: /* [] */0\n };\n var nextB = {\n hd: match[1],\n tl: /* [] */0\n };\n precX.tl = nextA;\n precY.tl = nextB;\n _precY = nextB;\n _precX = nextA;\n _cell = cell.tl;\n continue ;\n };\n}\n\nfunction copyAuxCont(_cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return prec;\n }\n var next = {\n hd: cellX.hd,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWitFilter(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithFilterIndex(f, _cellX, _prec, _i) {\n while(true) {\n var i = _i;\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h, i)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _i = i + 1 | 0;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _i = i + 1 | 0;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWitFilterMap(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = f(cellX.hd);\n if (h !== undefined) {\n var next = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction removeAssocAuxWithMap(_cellX, x, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h[0], x)) {\n prec.tl = t;\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction setAssocAuxWithMap(_cellX, x, k, _prec, eq) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (eq(h[0], x)) {\n prec.tl = {\n hd: [\n x,\n k\n ],\n tl: t\n };\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithMap(_cellX, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction zipAux(_cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: [\n cellX.hd,\n cellY.hd\n ],\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMap2(f, _cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: f(cellX.hd, cellY.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMapI(f, _i, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n var i = _i;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(i, cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction takeAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return true;\n }\n if (!cell) {\n return false;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction splitAtAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return cell;\n }\n if (!cell) {\n return ;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction take(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return /* [] */0;\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var has = takeAux(n - 1 | 0, lst.tl, cell);\n if (has) {\n return cell;\n }\n \n}\n\nfunction drop(lst, n) {\n if (n < 0) {\n return ;\n } else {\n var _l = lst;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var l = _l;\n if (n$1 === 0) {\n return l;\n }\n if (!l) {\n return ;\n }\n _n = n$1 - 1 | 0;\n _l = l.tl;\n continue ;\n };\n }\n}\n\nfunction splitAt(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return [\n /* [] */0,\n lst\n ];\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var rest = splitAtAux(n - 1 | 0, lst.tl, cell);\n if (rest !== undefined) {\n return [\n cell,\n rest\n ];\n }\n \n}\n\nfunction concat(xs, ys) {\n if (!xs) {\n return ys;\n }\n var cell = {\n hd: xs.hd,\n tl: /* [] */0\n };\n copyAuxCont(xs.tl, cell).tl = ys;\n return cell;\n}\n\nfunction mapU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMap(xs.tl, cell, f);\n return cell;\n}\n\nfunction map(xs, f) {\n return mapU(xs, Curry.__1(f));\n}\n\nfunction zipByU(l1, l2, f) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: f(l1.hd, l2.hd),\n tl: /* [] */0\n };\n copyAuxWithMap2(f, l1.tl, l2.tl, cell);\n return cell;\n}\n\nfunction zipBy(l1, l2, f) {\n return zipByU(l1, l2, Curry.__2(f));\n}\n\nfunction mapWithIndexU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(0, xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMapI(f, 1, xs.tl, cell);\n return cell;\n}\n\nfunction mapWithIndex(xs, f) {\n return mapWithIndexU(xs, Curry.__2(f));\n}\n\nfunction makeByU(n, f) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: f(0),\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v = {\n hd: f(i),\n tl: /* [] */0\n };\n cur.tl = v;\n cur = v;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction makeBy(n, f) {\n return makeByU(n, Curry.__1(f));\n}\n\nfunction make(n, v) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: v,\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v$1 = {\n hd: v,\n tl: /* [] */0\n };\n cur.tl = v$1;\n cur = v$1;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction length(xs) {\n var _x = xs;\n var _acc = 0;\n while(true) {\n var acc = _acc;\n var x = _x;\n if (!x) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _x = x.tl;\n continue ;\n };\n}\n\nfunction fillAux(arr, _i, _x) {\n while(true) {\n var x = _x;\n var i = _i;\n if (!x) {\n return ;\n }\n arr[i] = x.hd;\n _x = x.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction fromArray(a) {\n var _i = a.length - 1 | 0;\n var _res = /* [] */0;\n while(true) {\n var res = _res;\n var i = _i;\n if (i < 0) {\n return res;\n }\n _res = {\n hd: a[i],\n tl: res\n };\n _i = i - 1 | 0;\n continue ;\n };\n}\n\nfunction toArray(x) {\n var len = length(x);\n var arr = new Array(len);\n fillAux(arr, 0, x);\n return arr;\n}\n\nfunction shuffle(xs) {\n var v = toArray(xs);\n Belt_Array.shuffleInPlace(v);\n return fromArray(v);\n}\n\nfunction reverseConcat(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return l2;\n }\n _l2 = {\n hd: l1.hd,\n tl: l2\n };\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reverse(l) {\n return reverseConcat(l, /* [] */0);\n}\n\nfunction flattenAux(_prec, _xs) {\n while(true) {\n var xs = _xs;\n var prec = _prec;\n if (xs) {\n _xs = xs.tl;\n _prec = copyAuxCont(xs.hd, prec);\n continue ;\n }\n prec.tl = /* [] */0;\n return ;\n };\n}\n\nfunction flatten(_xs) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var match = xs.hd;\n if (match) {\n var cell = {\n hd: match.hd,\n tl: /* [] */0\n };\n flattenAux(copyAuxCont(match.tl, cell), xs.tl);\n return cell;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction concatMany(xs) {\n var len = xs.length;\n if (len === 1) {\n return xs[0];\n }\n if (len === 0) {\n return /* [] */0;\n }\n var len$1 = xs.length;\n var v = xs[len$1 - 1 | 0];\n for(var i = len$1 - 2 | 0; i >= 0; --i){\n v = concat(xs[i], v);\n }\n return v;\n}\n\nfunction mapReverseU(l, f) {\n var _accu = /* [] */0;\n var _xs = l;\n while(true) {\n var xs = _xs;\n var accu = _accu;\n if (!xs) {\n return accu;\n }\n _xs = xs.tl;\n _accu = {\n hd: f(xs.hd),\n tl: accu\n };\n continue ;\n };\n}\n\nfunction mapReverse(l, f) {\n return mapReverseU(l, Curry.__1(f));\n}\n\nfunction forEachU(_xs, f) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(xs.hd);\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEach(xs, f) {\n forEachU(xs, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(l, f) {\n var _xs = l;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(i, xs.hd);\n _i = i + 1 | 0;\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEachWithIndex(l, f) {\n forEachWithIndexU(l, Curry.__2(f));\n}\n\nfunction reduceU(_l, _accu, f) {\n while(true) {\n var accu = _accu;\n var l = _l;\n if (!l) {\n return accu;\n }\n _accu = f(accu, l.hd);\n _l = l.tl;\n continue ;\n };\n}\n\nfunction reduce(l, accu, f) {\n return reduceU(l, accu, Curry.__2(f));\n}\n\nfunction reduceReverseUnsafeU(l, accu, f) {\n if (l) {\n return f(reduceReverseUnsafeU(l.tl, accu, f), l.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverseU(l, acc, f) {\n var len = length(l);\n if (len < 1000) {\n return reduceReverseUnsafeU(l, acc, f);\n } else {\n return Belt_Array.reduceReverseU(toArray(l), acc, f);\n }\n}\n\nfunction reduceReverse(l, accu, f) {\n return reduceReverseU(l, accu, Curry.__2(f));\n}\n\nfunction reduceWithIndexU(l, acc, f) {\n var _l = l;\n var _acc = acc;\n var _i = 0;\n while(true) {\n var i = _i;\n var acc$1 = _acc;\n var l$1 = _l;\n if (!l$1) {\n return acc$1;\n }\n _i = i + 1 | 0;\n _acc = f(acc$1, l$1.hd, i);\n _l = l$1.tl;\n continue ;\n };\n}\n\nfunction reduceWithIndex(l, acc, f) {\n return reduceWithIndexU(l, acc, Curry.__3(f));\n}\n\nfunction mapReverse2U(l1, l2, f) {\n var _l1 = l1;\n var _l2 = l2;\n var _accu = /* [] */0;\n while(true) {\n var accu = _accu;\n var l2$1 = _l2;\n var l1$1 = _l1;\n if (!l1$1) {\n return accu;\n }\n if (!l2$1) {\n return accu;\n }\n _accu = {\n hd: f(l1$1.hd, l2$1.hd),\n tl: accu\n };\n _l2 = l2$1.tl;\n _l1 = l1$1.tl;\n continue ;\n };\n}\n\nfunction mapReverse2(l1, l2, f) {\n return mapReverse2U(l1, l2, Curry.__2(f));\n}\n\nfunction forEach2U(_l1, _l2, f) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return ;\n }\n if (!l2) {\n return ;\n }\n f(l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction forEach2(l1, l2, f) {\n forEach2U(l1, l2, Curry.__2(f));\n}\n\nfunction reduce2U(_l1, _l2, _accu, f) {\n while(true) {\n var accu = _accu;\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return accu;\n }\n if (!l2) {\n return accu;\n }\n _accu = f(accu, l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reduce2(l1, l2, acc, f) {\n return reduce2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction reduceReverse2UnsafeU(l1, l2, accu, f) {\n if (l1 && l2) {\n return f(reduceReverse2UnsafeU(l1.tl, l2.tl, accu, f), l1.hd, l2.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverse2U(l1, l2, acc, f) {\n var len = length(l1);\n if (len < 1000) {\n return reduceReverse2UnsafeU(l1, l2, acc, f);\n } else {\n return Belt_Array.reduceReverse2U(toArray(l1), toArray(l2), acc, f);\n }\n}\n\nfunction reduceReverse2(l1, l2, acc, f) {\n return reduceReverse2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction everyU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return true;\n }\n if (!p(xs.hd)) {\n return false;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction every(xs, p) {\n return everyU(xs, Curry.__1(p));\n}\n\nfunction someU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (p(xs.hd)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction some(xs, p) {\n return someU(xs, Curry.__1(p));\n}\n\nfunction every2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return true;\n }\n if (!l2) {\n return true;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction every2(l1, l2, p) {\n return every2U(l1, l2, Curry.__2(p));\n}\n\nfunction cmpByLength(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmpU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n var c = p(l1.hd, l2.hd);\n if (c !== 0) {\n return c;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmp(l1, l2, f) {\n return cmpU(l1, l2, Curry.__2(f));\n}\n\nfunction eqU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return false;\n } else {\n return true;\n }\n }\n if (!l2) {\n return false;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction eq(l1, l2, f) {\n return eqU(l1, l2, Curry.__2(f));\n}\n\nfunction some2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return false;\n }\n if (!l2) {\n return false;\n }\n if (p(l1.hd, l2.hd)) {\n return true;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction some2(l1, l2, p) {\n return some2U(l1, l2, Curry.__2(p));\n}\n\nfunction hasU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd, x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction has(xs, x, eq) {\n return hasU(xs, x, Curry.__2(eq));\n}\n\nfunction getAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var match = xs.hd;\n if (eq(match[0], x)) {\n return Caml_option.some(match[1]);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getAssoc(xs, x, eq) {\n return getAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction hasAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd[0], x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction hasAssoc(xs, x, eq) {\n return hasAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction removeAssocU(xs, x, eq) {\n if (!xs) {\n return /* [] */0;\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return l;\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var removed = removeAssocAuxWithMap(l, x, cell, eq);\n if (removed) {\n return cell;\n } else {\n return xs;\n }\n}\n\nfunction removeAssoc(xs, x, eq) {\n return removeAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction setAssocU(xs, x, k, eq) {\n if (!xs) {\n return {\n hd: [\n x,\n k\n ],\n tl: /* [] */0\n };\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return {\n hd: [\n x,\n k\n ],\n tl: l\n };\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var replaced = setAssocAuxWithMap(l, x, k, cell, eq);\n if (replaced) {\n return cell;\n } else {\n return {\n hd: [\n x,\n k\n ],\n tl: xs\n };\n }\n}\n\nfunction setAssoc(xs, x, k, eq) {\n return setAssocU(xs, x, k, Curry.__2(eq));\n}\n\nfunction sortU(xs, cmp) {\n var arr = toArray(xs);\n Belt_SortArray.stableSortInPlaceByU(arr, cmp);\n return fromArray(arr);\n}\n\nfunction sort(xs, cmp) {\n return sortU(xs, Curry.__2(cmp));\n}\n\nfunction getByU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var x = xs.hd;\n if (p(x)) {\n return Caml_option.some(x);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getBy(xs, p) {\n return getByU(xs, Curry.__1(p));\n}\n\nfunction keepU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = xs.hd;\n if (p(h)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWitFilter(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keep(xs, p) {\n return keepU(xs, Curry.__1(p));\n}\n\nfunction keepWithIndexU(xs, p) {\n var _xs = xs;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs$1 = _xs;\n if (!xs$1) {\n return /* [] */0;\n }\n var t = xs$1.tl;\n var h = xs$1.hd;\n if (p(h, i)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWithFilterIndex(p, t, cell, i + 1 | 0);\n return cell;\n }\n _i = i + 1 | 0;\n _xs = t;\n continue ;\n };\n}\n\nfunction keepWithIndex(xs, p) {\n return keepWithIndexU(xs, Curry.__2(p));\n}\n\nfunction keepMapU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = p(xs.hd);\n if (h !== undefined) {\n var cell = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n copyAuxWitFilterMap(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keepMap(xs, p) {\n return keepMapU(xs, Curry.__1(p));\n}\n\nfunction partitionU(l, p) {\n if (!l) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var h = l.hd;\n var nextX = {\n hd: h,\n tl: /* [] */0\n };\n var nextY = {\n hd: h,\n tl: /* [] */0\n };\n var b = p(h);\n partitionAux(p, l.tl, nextX, nextY);\n if (b) {\n return [\n nextX,\n nextY.tl\n ];\n } else {\n return [\n nextX.tl,\n nextY\n ];\n }\n}\n\nfunction partition(l, p) {\n return partitionU(l, Curry.__1(p));\n}\n\nfunction unzip(xs) {\n if (!xs) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var match = xs.hd;\n var cellX = {\n hd: match[0],\n tl: /* [] */0\n };\n var cellY = {\n hd: match[1],\n tl: /* [] */0\n };\n splitAux(xs.tl, cellX, cellY);\n return [\n cellX,\n cellY\n ];\n}\n\nfunction zip(l1, l2) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: [\n l1.hd,\n l2.hd\n ],\n tl: /* [] */0\n };\n zipAux(l1.tl, l2.tl, cell);\n return cell;\n}\n\nvar size = length;\n\nvar filter = keep;\n\nvar filterWithIndex = keepWithIndex;\n\nexports.length = length;\nexports.size = size;\nexports.head = head;\nexports.headExn = headExn;\nexports.tail = tail;\nexports.tailExn = tailExn;\nexports.add = add;\nexports.get = get;\nexports.getExn = getExn;\nexports.make = make;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.shuffle = shuffle;\nexports.drop = drop;\nexports.take = take;\nexports.splitAt = splitAt;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.reverseConcat = reverseConcat;\nexports.flatten = flatten;\nexports.mapU = mapU;\nexports.map = map;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.fromArray = fromArray;\nexports.toArray = toArray;\nexports.reverse = reverse;\nexports.mapReverseU = mapReverseU;\nexports.mapReverse = mapReverse;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.mapReverse2U = mapReverse2U;\nexports.mapReverse2 = mapReverse2;\nexports.forEach2U = forEach2U;\nexports.forEach2 = forEach2;\nexports.reduce2U = reduce2U;\nexports.reduce2 = reduce2;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.everyU = everyU;\nexports.every = every;\nexports.someU = someU;\nexports.some = some;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpByLength = cmpByLength;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.hasU = hasU;\nexports.has = has;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.filter = filter;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.filterWithIndex = filterWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.unzip = unzip;\nexports.getAssocU = getAssocU;\nexports.getAssoc = getAssoc;\nexports.hasAssocU = hasAssocU;\nexports.hasAssoc = hasAssoc;\nexports.removeAssocU = removeAssocU;\nexports.removeAssoc = removeAssoc;\nexports.setAssocU = setAssocU;\nexports.setAssoc = setAssoc;\nexports.sortU = sortU;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_List.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_Option.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_Option.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction keepU(opt, p) {\n if (opt !== undefined && p(Caml_option.valFromOption(opt))) {\n return opt;\n }\n \n}\n\nfunction keep(opt, p) {\n return keepU(opt, Curry.__1(p));\n}\n\nfunction forEachU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction forEach(opt, f) {\n forEachU(opt, Curry.__1(f));\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction mapWithDefaultU(opt, $$default, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n } else {\n return $$default;\n }\n}\n\nfunction mapWithDefault(opt, $$default, f) {\n return mapWithDefaultU(opt, $$default, Curry.__1(f));\n}\n\nfunction mapU(opt, f) {\n if (opt !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(opt)));\n }\n \n}\n\nfunction map(opt, f) {\n return mapU(opt, Curry.__1(f));\n}\n\nfunction flatMapU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction flatMap(opt, f) {\n return flatMapU(opt, Curry.__1(f));\n}\n\nfunction getWithDefault(opt, $$default) {\n if (opt !== undefined) {\n return Caml_option.valFromOption(opt);\n } else {\n return $$default;\n }\n}\n\nfunction orElse(opt, other) {\n if (opt !== undefined) {\n return opt;\n } else {\n return other;\n }\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isNone(x) {\n return x === undefined;\n}\n\nfunction eqU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction eq(a, b, f) {\n return eqU(a, b, Curry.__2(f));\n}\n\nfunction cmpU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return 1;\n }\n } else if (b !== undefined) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction cmp(a, b, f) {\n return cmpU(a, b, Curry.__2(f));\n}\n\nexports.keepU = keepU;\nexports.keep = keep;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.getExn = getExn;\nexports.mapWithDefaultU = mapWithDefaultU;\nexports.mapWithDefault = mapWithDefault;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getWithDefault = getWithDefault;\nexports.orElse = orElse;\nexports.isSome = isSome;\nexports.isNone = isNone;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_Option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_SortArray.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_SortArray.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\n\nfunction sortedLengthAuxMore(xs, _prec, _acc, len, lt) {\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(v, prec)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n}\n\nfunction strictlySortedLengthU(xs, lt) {\n var len = xs.length;\n if (len === 0 || len === 1) {\n return len;\n }\n var x0 = xs[0];\n var x1 = xs[1];\n if (lt(x0, x1)) {\n var _prec = x1;\n var _acc = 2;\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(prec, v)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n } else if (lt(x1, x0)) {\n return -sortedLengthAuxMore(xs, x1, 2, len, lt) | 0;\n } else {\n return 1;\n }\n}\n\nfunction strictlySortedLength(xs, lt) {\n return strictlySortedLengthU(xs, Curry.__2(lt));\n}\n\nfunction isSortedU(a, cmp) {\n var len = a.length;\n if (len === 0) {\n return true;\n } else {\n var _i = 0;\n var last_bound = len - 1 | 0;\n while(true) {\n var i = _i;\n if (i === last_bound) {\n return true;\n }\n if (cmp(a[i], a[i + 1 | 0]) > 0) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction isSorted(a, cmp) {\n return isSortedU(a, Curry.__2(cmp));\n}\n\nfunction merge(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n if (cmp(s1, s2) <= 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return Belt_Array.blitUnsafe(src2, i2, dst, d + 1 | 0, src2r - i2 | 0);\n }\n _d = d + 1 | 0;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n dst[d] = s2;\n var i2$1 = i2 + 1 | 0;\n if (i2$1 >= src2r) {\n return Belt_Array.blitUnsafe(src, i1, dst, d + 1 | 0, src1r - i1 | 0);\n }\n _d = d + 1 | 0;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n continue ;\n };\n}\n\nfunction unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (i1$1 < src1r) {\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n Belt_Array.blitUnsafe(src2, i2, dst, d$1, src2r - i2 | 0);\n return (d$1 + src2r | 0) - i2 | 0;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$2 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n Belt_Array.blitUnsafe(src2, i2$1, dst, d$2, src2r - i2$1 | 0);\n return (d$2 + src2r | 0) - i2$1 | 0;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d$2, src1r - i1$2 | 0);\n return (d$2 + src1r | 0) - i1$2 | 0;\n }\n }\n _d = d$2;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n dst[d] = s2;\n var i2$2 = i2 + 1 | 0;\n var d$3 = d + 1 | 0;\n if (i2$2 < src2r) {\n _d = d$3;\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d$3, src1r - i1 | 0);\n return (d$3 + src1r | 0) - i1 | 0;\n };\n}\n\nfunction union(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d;\n }\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n return d$1;\n }\n _d = d$1;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 >= src2r) {\n return d;\n }\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n };\n}\n\nfunction intersect(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var d$1 = d + 1 | 0;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d$1;\n }\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n return d;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d, src1r - i1$2 | 0);\n return (d + src1r | 0) - i1$2 | 0;\n }\n }\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 < src2r) {\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d, src1r - i1 | 0);\n return (d + src1r | 0) - i1 | 0;\n };\n}\n\nfunction diff(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction insertionSort(src, srcofs, dst, dstofs, len, cmp) {\n for(var i = 0; i < len; ++i){\n var e = src[srcofs + i | 0];\n var j = (dstofs + i | 0) - 1 | 0;\n while(j >= dstofs && cmp(dst[j], e) > 0) {\n dst[j + 1 | 0] = dst[j];\n j = j - 1 | 0;\n };\n dst[j + 1 | 0] = e;\n }\n}\n\nfunction sortTo(src, srcofs, dst, dstofs, len, cmp) {\n if (len <= 5) {\n return insertionSort(src, srcofs, dst, dstofs, len, cmp);\n }\n var l1 = len / 2 | 0;\n var l2 = len - l1 | 0;\n sortTo(src, srcofs + l1 | 0, dst, dstofs + l1 | 0, l2, cmp);\n sortTo(src, srcofs, src, srcofs + l2 | 0, l1, cmp);\n merge(src, srcofs + l2 | 0, l1, dst, dstofs + l1 | 0, l2, dst, dstofs, cmp);\n}\n\nfunction stableSortInPlaceByU(a, cmp) {\n var l = a.length;\n if (l <= 5) {\n return insertionSort(a, 0, a, 0, l, cmp);\n }\n var l1 = l / 2 | 0;\n var l2 = l - l1 | 0;\n var t = new Array(l2);\n sortTo(a, l1, t, 0, l2, cmp);\n sortTo(a, 0, a, l2, l1, cmp);\n merge(a, l2, l1, t, 0, l2, a, 0, cmp);\n}\n\nfunction stableSortInPlaceBy(a, cmp) {\n stableSortInPlaceByU(a, Curry.__2(cmp));\n}\n\nfunction stableSortByU(a, cmp) {\n var b = a.slice(0);\n stableSortInPlaceByU(b, cmp);\n return b;\n}\n\nfunction stableSortBy(a, cmp) {\n return stableSortByU(a, Curry.__2(cmp));\n}\n\nfunction binarySearchByU(sorted, key, cmp) {\n var len = sorted.length;\n if (len === 0) {\n return -1;\n }\n var lo = sorted[0];\n var c = cmp(key, lo);\n if (c < 0) {\n return -1;\n }\n var hi = sorted[len - 1 | 0];\n var c2 = cmp(key, hi);\n if (c2 > 0) {\n return -(len + 1 | 0) | 0;\n } else {\n var _lo = 0;\n var _hi = len - 1 | 0;\n while(true) {\n var hi$1 = _hi;\n var lo$1 = _lo;\n var mid = (lo$1 + hi$1 | 0) / 2 | 0;\n var midVal = sorted[mid];\n var c$1 = cmp(key, midVal);\n if (c$1 === 0) {\n return mid;\n }\n if (c$1 < 0) {\n if (hi$1 === mid) {\n if (cmp(sorted[lo$1], key) === 0) {\n return lo$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _hi = mid;\n continue ;\n }\n if (lo$1 === mid) {\n if (cmp(sorted[hi$1], key) === 0) {\n return hi$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _lo = mid;\n continue ;\n };\n }\n}\n\nfunction binarySearchBy(sorted, key, cmp) {\n return binarySearchByU(sorted, key, Curry.__2(cmp));\n}\n\nvar Int;\n\nvar $$String;\n\nexports.Int = Int;\nexports.$$String = $$String;\nexports.strictlySortedLengthU = strictlySortedLengthU;\nexports.strictlySortedLength = strictlySortedLength;\nexports.isSortedU = isSortedU;\nexports.isSorted = isSorted;\nexports.stableSortInPlaceByU = stableSortInPlaceByU;\nexports.stableSortInPlaceBy = stableSortInPlaceBy;\nexports.stableSortByU = stableSortByU;\nexports.stableSortBy = stableSortBy;\nexports.binarySearchByU = binarySearchByU;\nexports.binarySearchBy = binarySearchBy;\nexports.unionU = unionU;\nexports.union = union;\nexports.intersectU = intersectU;\nexports.intersect = intersect;\nexports.diffU = diffU;\nexports.diff = diff;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_SortArray.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction int_compare(x, y) {\n if (x < y) {\n return -1;\n } else if (x === y) {\n return 0;\n } else {\n return 1;\n }\n}\n\nfunction bool_compare(x, y) {\n if (x) {\n if (y) {\n return 0;\n } else {\n return 1;\n }\n } else if (y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction float_compare(x, y) {\n if (x === y) {\n return 0;\n } else if (x < y) {\n return -1;\n } else if (x > y || x === x) {\n return 1;\n } else if (y === y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction string_compare(s1, s2) {\n if (s1 === s2) {\n return 0;\n } else if (s1 < s2) {\n return -1;\n } else {\n return 1;\n }\n}\n\nfunction bool_min(x, y) {\n if (x) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction int_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction bool_max(x, y) {\n if (x) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction int_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction i64_eq(x, y) {\n if (x[1] === y[1]) {\n return x[0] === y[0];\n } else {\n return false;\n }\n}\n\nfunction i64_ge(param, param$1) {\n var other_hi = param$1[0];\n var hi = param[0];\n if (hi > other_hi) {\n return true;\n } else if (hi < other_hi) {\n return false;\n } else {\n return param[1] >= param$1[1];\n }\n}\n\nfunction i64_neq(x, y) {\n return !i64_eq(x, y);\n}\n\nfunction i64_lt(x, y) {\n return !i64_ge(x, y);\n}\n\nfunction i64_gt(x, y) {\n if (x[0] > y[0]) {\n return true;\n } else if (x[0] < y[0]) {\n return false;\n } else {\n return x[1] > y[1];\n }\n}\n\nfunction i64_le(x, y) {\n return !i64_gt(x, y);\n}\n\nfunction i64_min(x, y) {\n if (i64_ge(x, y)) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction i64_max(x, y) {\n if (i64_gt(x, y)) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.int_compare = int_compare;\nexports.bool_compare = bool_compare;\nexports.float_compare = float_compare;\nexports.string_compare = string_compare;\nexports.bool_min = bool_min;\nexports.int_min = int_min;\nexports.float_min = float_min;\nexports.string_min = string_min;\nexports.bool_max = bool_max;\nexports.int_max = int_max;\nexports.float_max = float_max;\nexports.string_max = string_max;\nexports.i64_eq = i64_eq;\nexports.i64_neq = i64_neq;\nexports.i64_lt = i64_lt;\nexports.i64_gt = i64_gt;\nexports.i64_le = i64_le;\nexports.i64_ge = i64_ge;\nexports.i64_min = i64_min;\nexports.i64_max = i64_max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l.tl;\n _acc = l.hd.length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l.hd;\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l.tl;\n _i = k;\n continue ;\n };\n}\n\nfunction concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n xs[index] = newval;\n}\n\nfunction get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n return xs[index];\n}\n\nfunction make(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction make_float(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n}\n\nfunction dup(prim) {\n return prim.slice(0);\n}\n\nexports.dup = dup;\nexports.sub = sub;\nexports.concat = concat;\nexports.make = make;\nexports.make_float = make_float;\nexports.blit = blit;\nexports.get = get;\nexports.set = set;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_exceptions.js": -/*!*******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_exceptions.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar id = {\n contents: 0\n};\n\nfunction create(str) {\n id.contents = id.contents + 1 | 0;\n return str + (\"/\" + id.contents);\n}\n\nfunction is_extension(e) {\n if (e == null) {\n return false;\n } else {\n return typeof e.RE_EXN_ID === \"string\";\n }\n}\n\nfunction exn_slot_name(x) {\n return x.RE_EXN_ID;\n}\n\nexports.id = id;\nexports.create = create;\nexports.is_extension = is_extension;\nexports.exn_slot_name = exn_slot_name;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_exceptions.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_js_exceptions.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_js_exceptions.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_exceptions = __webpack_require__(/*! ./caml_exceptions.js */ \"../../../../node_modules/rescript/lib/js/caml_exceptions.js\");\n\nvar $$Error = \"JsError\";\n\nfunction internalToOCamlException(e) {\n if (Caml_exceptions.is_extension(e)) {\n return e;\n } else {\n return {\n RE_EXN_ID: \"JsError\",\n _1: e\n };\n }\n}\n\nfunction as_js_exn(exn) {\n if (exn.RE_EXN_ID === $$Error) {\n return Caml_option.some(exn._1);\n }\n \n}\n\nexports.$$Error = $$Error;\nexports.internalToOCamlException = internalToOCamlException;\nexports.as_js_exn = as_js_exn;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_js_exceptions.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_obj.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_obj.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../node_modules/rescript/lib/js/caml.js\");\n\nvar for_in = (function(o,foo){\n for (var x in o) { foo(x) }});\n\nvar obj_dup = (function(x){\n if(Array.isArray(x)){\n var len = x.length \n var v = new Array(len)\n for(var i = 0 ; i < len ; ++i){\n v[i] = x[i]\n }\n if(x.TAG !== undefined){\n v.TAG = x.TAG // TODO this can be removed eventually\n } \n return v \n } \n return Object.assign({},x) \n});\n\nvar update_dummy = (function(x,y){\n var k \n if(Array.isArray(y)){\n for(k = 0; k < y.length ; ++k){\n x[k] = y[k]\n }\n if(y.TAG !== undefined){\n x.TAG = y.TAG\n }\n } else {\n for (var k in y){\n x[k] = y[k]\n }\n }\n});\n\nfunction compare(a, b) {\n if (a === b) {\n return 0;\n }\n var a_type = typeof a;\n var b_type = typeof b;\n switch (a_type) {\n case \"boolean\" :\n if (b_type === \"boolean\") {\n return Caml.bool_compare(a, b);\n }\n break;\n case \"function\" :\n if (b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"compare: functional value\",\n Error: new Error()\n };\n }\n break;\n case \"number\" :\n if (b_type === \"number\") {\n return Caml.float_compare(a, b);\n }\n break;\n case \"string\" :\n if (b_type === \"string\") {\n return Caml.string_compare(a, b);\n } else {\n return 1;\n }\n case \"undefined\" :\n return -1;\n default:\n \n }\n switch (b_type) {\n case \"string\" :\n return -1;\n case \"undefined\" :\n return 1;\n default:\n if (a_type === \"boolean\") {\n return 1;\n }\n if (b_type === \"boolean\") {\n return -1;\n }\n if (a_type === \"function\") {\n return 1;\n }\n if (b_type === \"function\") {\n return -1;\n }\n if (a_type === \"number\") {\n if (b === null || b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b_type === \"number\") {\n if (a === null || a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a === null) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b === null) {\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return aux_obj_compare(a, b);\n } else {\n return -1;\n }\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return Caml.int_compare(a[1], b[1]);\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n if (tag_a < tag_b) {\n return -1;\n } else {\n return 1;\n }\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return 0;\n }\n var res = compare(a[i], b[i]);\n if (res !== 0) {\n return res;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return (a - b);\n } else {\n return aux_obj_compare(a, b);\n }\n } else if (len_a < len_b) {\n var _i$1 = 0;\n while(true) {\n var i$1 = _i$1;\n if (i$1 === len_a) {\n return -1;\n }\n var res$1 = compare(a[i$1], b[i$1]);\n if (res$1 !== 0) {\n return res$1;\n }\n _i$1 = i$1 + 1 | 0;\n continue ;\n };\n } else {\n var _i$2 = 0;\n while(true) {\n var i$2 = _i$2;\n if (i$2 === len_b) {\n return 1;\n }\n var res$2 = compare(a[i$2], b[i$2]);\n if (res$2 !== 0) {\n return res$2;\n }\n _i$2 = i$2 + 1 | 0;\n continue ;\n };\n }\n }\n}\n\nfunction aux_obj_compare(a, b) {\n var min_key_lhs = {\n contents: undefined\n };\n var min_key_rhs = {\n contents: undefined\n };\n var do_key = function (param, key) {\n var min_key = param[2];\n var b = param[1];\n if (!(!Object.prototype.hasOwnProperty.call(b, key) || compare(param[0][key], b[key]) > 0)) {\n return ;\n }\n var mk = min_key.contents;\n if (mk !== undefined && key >= mk) {\n return ;\n } else {\n min_key.contents = key;\n return ;\n }\n };\n var partial_arg = [\n a,\n b,\n min_key_rhs\n ];\n var do_key_a = function (param) {\n return do_key(partial_arg, param);\n };\n var partial_arg$1 = [\n b,\n a,\n min_key_lhs\n ];\n var do_key_b = function (param) {\n return do_key(partial_arg$1, param);\n };\n for_in(a, do_key_a);\n for_in(b, do_key_b);\n var match = min_key_lhs.contents;\n var match$1 = min_key_rhs.contents;\n if (match !== undefined) {\n if (match$1 !== undefined) {\n return Caml.string_compare(match, match$1);\n } else {\n return -1;\n }\n } else if (match$1 !== undefined) {\n return 1;\n } else {\n return 0;\n }\n}\n\nfunction equal(a, b) {\n if (a === b) {\n return true;\n }\n var a_type = typeof a;\n if (a_type === \"string\" || a_type === \"number\" || a_type === \"boolean\" || a_type === \"undefined\" || a === null) {\n return false;\n }\n var b_type = typeof b;\n if (a_type === \"function\" || b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: functional value\",\n Error: new Error()\n };\n }\n if (b_type === \"number\" || b_type === \"undefined\" || b === null) {\n return false;\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return a[1] === b[1];\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n return false;\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return true;\n }\n if (!equal(a[i], b[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return !(a > b || a < b);\n } else {\n var result = {\n contents: true\n };\n var do_key_a = function (key) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) {\n result.contents = false;\n return ;\n }\n \n };\n var do_key_b = function (key) {\n if (!Object.prototype.hasOwnProperty.call(a, key) || !equal(b[key], a[key])) {\n result.contents = false;\n return ;\n }\n \n };\n for_in(a, do_key_a);\n if (result.contents) {\n for_in(b, do_key_b);\n }\n return result.contents;\n }\n } else {\n return false;\n }\n}\n\nfunction equal_null(x, y) {\n if (y !== null) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_undefined(x, y) {\n if (y !== undefined) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_nullable(x, y) {\n if (y == null) {\n return x === y;\n } else {\n return equal(x, y);\n }\n}\n\nfunction notequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a !== b;\n } else {\n return !equal(a, b);\n }\n}\n\nfunction greaterequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a >= b;\n } else {\n return compare(a, b) >= 0;\n }\n}\n\nfunction greaterthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a > b;\n } else {\n return compare(a, b) > 0;\n }\n}\n\nfunction lessequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a <= b;\n } else {\n return compare(a, b) <= 0;\n }\n}\n\nfunction lessthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a < b;\n } else {\n return compare(a, b) < 0;\n }\n}\n\nfunction min(x, y) {\n if (compare(x, y) <= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction max(x, y) {\n if (compare(x, y) >= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.obj_dup = obj_dup;\nexports.update_dummy = update_dummy;\nexports.compare = compare;\nexports.equal = equal;\nexports.equal_null = equal_null;\nexports.equal_undefined = equal_undefined;\nexports.equal_nullable = equal_nullable;\nexports.notequal = notequal;\nexports.greaterequal = greaterequal;\nexports.greaterthan = greaterthan;\nexports.lessthan = lessthan;\nexports.lessequal = lessequal;\nexports.min = min;\nexports.max = max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_obj.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_option.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_option.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction isNested(x) {\n return x.BS_PRIVATE_NESTED_SOME_NONE !== undefined;\n}\n\nfunction some(x) {\n if (x === undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: 0\n };\n } else if (x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: x.BS_PRIVATE_NESTED_SOME_NONE + 1 | 0\n };\n } else {\n return x;\n }\n}\n\nfunction nullable_to_opt(x) {\n if (x == null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction undefined_to_opt(x) {\n if (x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction null_to_opt(x) {\n if (x === null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction valFromOption(x) {\n if (!(x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined)) {\n return x;\n }\n var depth = x.BS_PRIVATE_NESTED_SOME_NONE;\n if (depth === 0) {\n return ;\n } else {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: depth - 1 | 0\n };\n }\n}\n\nfunction option_get(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x);\n }\n}\n\nfunction option_unwrap(x) {\n if (x !== undefined) {\n return x.VAL;\n } else {\n return x;\n }\n}\n\nexports.nullable_to_opt = nullable_to_opt;\nexports.undefined_to_opt = undefined_to_opt;\nexports.null_to_opt = null_to_opt;\nexports.valFromOption = valFromOption;\nexports.some = some;\nexports.isNested = isNested;\nexports.option_get = option_get;\nexports.option_unwrap = option_unwrap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_splice_call.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_splice_call.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar spliceApply = (function(fn,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return fn.apply(null,applied)\n});\n\nvar spliceNewApply = (function (ctor,args){\n var i, argLen;\n argLen = args.length\n var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in `args` to be `null`\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n var C = Function.prototype.bind.apply(ctor, applied)\n return new C()\n});\n\nvar spliceObjApply = (function(obj,name,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return (obj[name]).apply(obj,applied)\n});\n\nexports.spliceApply = spliceApply;\nexports.spliceNewApply = spliceNewApply;\nexports.spliceObjApply = spliceObjApply;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_splice_call.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/curry.js": -/*!*********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/curry.js ***! - \*********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_array = __webpack_require__(/*! ./caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\n\nfunction app(_f, _args) {\n while(true) {\n var args = _args;\n var f = _f;\n var init_arity = f.length;\n var arity = init_arity === 0 ? 1 : init_arity;\n var len = args.length;\n var d = arity - len | 0;\n if (d === 0) {\n return f.apply(null, args);\n }\n if (d >= 0) {\n return (function(f,args){\n return function (x) {\n return app(f, args.concat([x]));\n }\n }(f,args));\n }\n _args = Caml_array.sub(args, arity, -d | 0);\n _f = f.apply(null, Caml_array.sub(args, 0, arity));\n continue ;\n };\n}\n\nfunction _1(o, a0) {\n var arity = o.length;\n if (arity === 1) {\n return o(a0);\n } else {\n switch (arity) {\n case 1 :\n return o(a0);\n case 2 :\n return function (param) {\n return o(a0, param);\n };\n case 3 :\n return function (param, param$1) {\n return o(a0, param, param$1);\n };\n case 4 :\n return function (param, param$1, param$2) {\n return o(a0, param, param$1, param$2);\n };\n case 5 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, param, param$1, param$2, param$3);\n };\n case 6 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, param, param$1, param$2, param$3, param$4);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4, param$5) {\n return o(a0, param, param$1, param$2, param$3, param$4, param$5);\n };\n default:\n return app(o, [a0]);\n }\n }\n}\n\nfunction __1(o) {\n var arity = o.length;\n if (arity === 1) {\n return o;\n } else {\n return function (a0) {\n return _1(o, a0);\n };\n }\n}\n\nfunction _2(o, a0, a1) {\n var arity = o.length;\n if (arity === 2) {\n return o(a0, a1);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [a1]);\n case 2 :\n return o(a0, a1);\n case 3 :\n return function (param) {\n return o(a0, a1, param);\n };\n case 4 :\n return function (param, param$1) {\n return o(a0, a1, param, param$1);\n };\n case 5 :\n return function (param, param$1, param$2) {\n return o(a0, a1, param, param$1, param$2);\n };\n case 6 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, param, param$1, param$2, param$3);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, a1, param, param$1, param$2, param$3, param$4);\n };\n default:\n return app(o, [\n a0,\n a1\n ]);\n }\n }\n}\n\nfunction __2(o) {\n var arity = o.length;\n if (arity === 2) {\n return o;\n } else {\n return function (a0, a1) {\n return _2(o, a0, a1);\n };\n }\n}\n\nfunction _3(o, a0, a1, a2) {\n var arity = o.length;\n if (arity === 3) {\n return o(a0, a1, a2);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2\n ]);\n case 2 :\n return app(o(a0, a1), [a2]);\n case 3 :\n return o(a0, a1, a2);\n case 4 :\n return function (param) {\n return o(a0, a1, a2, param);\n };\n case 5 :\n return function (param, param$1) {\n return o(a0, a1, a2, param, param$1);\n };\n case 6 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, param, param$1, param$2);\n };\n case 7 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, a2, param, param$1, param$2, param$3);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2\n ]);\n }\n }\n}\n\nfunction __3(o) {\n var arity = o.length;\n if (arity === 3) {\n return o;\n } else {\n return function (a0, a1, a2) {\n return _3(o, a0, a1, a2);\n };\n }\n}\n\nfunction _4(o, a0, a1, a2, a3) {\n var arity = o.length;\n if (arity === 4) {\n return o(a0, a1, a2, a3);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3\n ]);\n case 3 :\n return app(o(a0, a1, a2), [a3]);\n case 4 :\n return o(a0, a1, a2, a3);\n case 5 :\n return function (param) {\n return o(a0, a1, a2, a3, param);\n };\n case 6 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, param, param$1);\n };\n case 7 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, a3, param, param$1, param$2);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3\n ]);\n }\n }\n}\n\nfunction __4(o) {\n var arity = o.length;\n if (arity === 4) {\n return o;\n } else {\n return function (a0, a1, a2, a3) {\n return _4(o, a0, a1, a2, a3);\n };\n }\n}\n\nfunction _5(o, a0, a1, a2, a3, a4) {\n var arity = o.length;\n if (arity === 5) {\n return o(a0, a1, a2, a3, a4);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [a4]);\n case 5 :\n return o(a0, a1, a2, a3, a4);\n case 6 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, param);\n };\n case 7 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, a4, param, param$1);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4\n ]);\n }\n }\n}\n\nfunction __5(o) {\n var arity = o.length;\n if (arity === 5) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4) {\n return _5(o, a0, a1, a2, a3, a4);\n };\n }\n}\n\nfunction _6(o, a0, a1, a2, a3, a4, a5) {\n var arity = o.length;\n if (arity === 6) {\n return o(a0, a1, a2, a3, a4, a5);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [a5]);\n case 6 :\n return o(a0, a1, a2, a3, a4, a5);\n case 7 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, a5, param);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n }\n }\n}\n\nfunction __6(o) {\n var arity = o.length;\n if (arity === 6) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5) {\n return _6(o, a0, a1, a2, a3, a4, a5);\n };\n }\n}\n\nfunction _7(o, a0, a1, a2, a3, a4, a5, a6) {\n var arity = o.length;\n if (arity === 7) {\n return o(a0, a1, a2, a3, a4, a5, a6);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [a6]);\n case 7 :\n return o(a0, a1, a2, a3, a4, a5, a6);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n }\n }\n}\n\nfunction __7(o) {\n var arity = o.length;\n if (arity === 7) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return _7(o, a0, a1, a2, a3, a4, a5, a6);\n };\n }\n}\n\nfunction _8(o, a0, a1, a2, a3, a4, a5, a6, a7) {\n var arity = o.length;\n if (arity === 8) {\n return o(a0, a1, a2, a3, a4, a5, a6, a7);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6,\n a7\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6,\n a7\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [\n a6,\n a7\n ]);\n case 7 :\n return app(o(a0, a1, a2, a3, a4, a5, a6), [a7]);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n }\n }\n}\n\nfunction __8(o) {\n var arity = o.length;\n if (arity === 8) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return _8(o, a0, a1, a2, a3, a4, a5, a6, a7);\n };\n }\n}\n\nexports.app = app;\nexports._1 = _1;\nexports.__1 = __1;\nexports._2 = _2;\nexports.__2 = __2;\nexports._3 = _3;\nexports.__3 = __3;\nexports._4 = _4;\nexports.__4 = __4;\nexports._5 = _5;\nexports.__5 = __5;\nexports._6 = _6;\nexports.__6 = __6;\nexports._7 = _7;\nexports.__7 = __7;\nexports._8 = _8;\nexports.__8 = __8;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/curry.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_array.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_array.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_splice_call = __webpack_require__(/*! ./caml_splice_call.js */ \"../../../../node_modules/rescript/lib/js/caml_splice_call.js\");\n\nfunction copyWithin(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction push(arg1, obj) {\n return obj.push(arg1);\n}\n\nfunction pushMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"push\", [arg1]);\n}\n\nfunction sortInPlaceWith(arg1, obj) {\n return obj.sort(Curry.__2(arg1));\n}\n\nfunction spliceInPlace(pos, remove, add, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"splice\", [\n pos,\n remove,\n add\n ]);\n}\n\nfunction removeFromInPlace(pos, obj) {\n return obj.splice(pos);\n}\n\nfunction removeCountInPlace(pos, count, obj) {\n return obj.splice(pos, count);\n}\n\nfunction unshift(arg1, obj) {\n return obj.unshift(arg1);\n}\n\nfunction unshiftMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"unshift\", [arg1]);\n}\n\nfunction concat(arg1, obj) {\n return obj.concat(arg1);\n}\n\nfunction concatMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"concat\", [arg1]);\n}\n\nfunction includes(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction every(arg1, obj) {\n return obj.every(Curry.__1(arg1));\n}\n\nfunction everyi(arg1, obj) {\n return obj.every(Curry.__2(arg1));\n}\n\nfunction filter(arg1, obj) {\n return obj.filter(Curry.__1(arg1));\n}\n\nfunction filteri(arg1, obj) {\n return obj.filter(Curry.__2(arg1));\n}\n\nfunction find(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__1(arg1)));\n}\n\nfunction findi(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__2(arg1)));\n}\n\nfunction findIndex(arg1, obj) {\n return obj.findIndex(Curry.__1(arg1));\n}\n\nfunction findIndexi(arg1, obj) {\n return obj.findIndex(Curry.__2(arg1));\n}\n\nfunction forEach(arg1, obj) {\n obj.forEach(Curry.__1(arg1));\n}\n\nfunction forEachi(arg1, obj) {\n obj.forEach(Curry.__2(arg1));\n}\n\nfunction map(arg1, obj) {\n return obj.map(Curry.__1(arg1));\n}\n\nfunction mapi(arg1, obj) {\n return obj.map(Curry.__2(arg1));\n}\n\nfunction reduce(arg1, arg2, obj) {\n return obj.reduce(Curry.__2(arg1), arg2);\n}\n\nfunction reducei(arg1, arg2, obj) {\n return obj.reduce(Curry.__3(arg1), arg2);\n}\n\nfunction reduceRight(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__2(arg1), arg2);\n}\n\nfunction reduceRighti(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__3(arg1), arg2);\n}\n\nfunction some(arg1, obj) {\n return obj.some(Curry.__1(arg1));\n}\n\nfunction somei(arg1, obj) {\n return obj.some(Curry.__2(arg1));\n}\n\nexports.copyWithin = copyWithin;\nexports.copyWithinFrom = copyWithinFrom;\nexports.copyWithinFromRange = copyWithinFromRange;\nexports.fillInPlace = fillInPlace;\nexports.fillFromInPlace = fillFromInPlace;\nexports.fillRangeInPlace = fillRangeInPlace;\nexports.push = push;\nexports.pushMany = pushMany;\nexports.sortInPlaceWith = sortInPlaceWith;\nexports.spliceInPlace = spliceInPlace;\nexports.removeFromInPlace = removeFromInPlace;\nexports.removeCountInPlace = removeCountInPlace;\nexports.unshift = unshift;\nexports.unshiftMany = unshiftMany;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.includes = includes;\nexports.indexOf = indexOf;\nexports.indexOfFrom = indexOfFrom;\nexports.joinWith = joinWith;\nexports.lastIndexOf = lastIndexOf;\nexports.lastIndexOfFrom = lastIndexOfFrom;\nexports.slice = slice;\nexports.sliceFrom = sliceFrom;\nexports.every = every;\nexports.everyi = everyi;\nexports.filter = filter;\nexports.filteri = filteri;\nexports.find = find;\nexports.findi = findi;\nexports.findIndex = findIndex;\nexports.findIndexi = findIndexi;\nexports.forEach = forEach;\nexports.forEachi = forEachi;\nexports.map = map;\nexports.mapi = mapi;\nexports.reduce = reduce;\nexports.reducei = reducei;\nexports.reduceRight = reduceRight;\nexports.reduceRighti = reduceRighti;\nexports.some = some;\nexports.somei = somei;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_dict.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_dict.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(dict, k) {\n if ((k in dict)) {\n return Caml_option.some(dict[k]);\n }\n \n}\n\nvar unsafeDeleteKey = (function (dict,key){\n delete dict[key];\n });\n\nfunction entries(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values = new Array(l);\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n values[i] = [\n key,\n dict[key]\n ];\n }\n return values;\n}\n\nfunction values(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values$1 = new Array(l);\n for(var i = 0; i < l; ++i){\n values$1[i] = dict[keys[i]];\n }\n return values$1;\n}\n\nfunction fromList(entries) {\n var dict = {};\n var _param = entries;\n while(true) {\n var param = _param;\n if (!param) {\n return dict;\n }\n var match = param.hd;\n dict[match[0]] = match[1];\n _param = param.tl;\n continue ;\n };\n}\n\nfunction fromArray(entries) {\n var dict = {};\n var l = entries.length;\n for(var i = 0; i < l; ++i){\n var match = entries[i];\n dict[match[0]] = match[1];\n }\n return dict;\n}\n\nfunction map(f, source) {\n var target = {};\n var keys = Object.keys(source);\n var l = keys.length;\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n target[key] = f(source[key]);\n }\n return target;\n}\n\nexports.get = get;\nexports.unsafeDeleteKey = unsafeDeleteKey;\nexports.entries = entries;\nexports.values = values;\nexports.fromList = fromList;\nexports.fromArray = fromArray;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_dict.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_exn.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_exn.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction raiseError(str) {\n throw new Error(str);\n}\n\nfunction raiseEvalError(str) {\n throw new EvalError(str);\n}\n\nfunction raiseRangeError(str) {\n throw new RangeError(str);\n}\n\nfunction raiseReferenceError(str) {\n throw new ReferenceError(str);\n}\n\nfunction raiseSyntaxError(str) {\n throw new SyntaxError(str);\n}\n\nfunction raiseTypeError(str) {\n throw new TypeError(str);\n}\n\nfunction raiseUriError(str) {\n throw new URIError(str);\n}\n\nvar $$Error$1 = \"JsError\";\n\nexports.$$Error = $$Error$1;\nexports.raiseError = raiseError;\nexports.raiseEvalError = raiseEvalError;\nexports.raiseRangeError = raiseRangeError;\nexports.raiseReferenceError = raiseReferenceError;\nexports.raiseSyntaxError = raiseSyntaxError;\nexports.raiseTypeError = raiseTypeError;\nexports.raiseUriError = raiseUriError;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_exn.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_int.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_int.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction equal(x, y) {\n return x === y;\n}\n\nvar max = 2147483647;\n\nvar min = -2147483648;\n\nexports.equal = equal;\nexports.max = max;\nexports.min = min;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_int.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_math.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_math.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_int = __webpack_require__(/*! ./js_int.js */ \"../../../../node_modules/rescript/lib/js/js_int.js\");\n\nfunction unsafe_ceil(prim) {\n return Math.ceil(prim);\n}\n\nfunction ceil_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.ceil(f);\n }\n}\n\nfunction unsafe_floor(prim) {\n return Math.floor(prim);\n}\n\nfunction floor_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.floor(f);\n }\n}\n\nfunction random_int(min, max) {\n return floor_int(Math.random() * (max - min | 0)) + min | 0;\n}\n\nvar ceil = ceil_int;\n\nvar floor = floor_int;\n\nexports.unsafe_ceil = unsafe_ceil;\nexports.ceil_int = ceil_int;\nexports.ceil = ceil;\nexports.unsafe_floor = unsafe_floor;\nexports.floor_int = floor_int;\nexports.floor = floor;\nexports.random_int = random_int;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_math.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_null_undefined.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_null_undefined.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction bind(x, f) {\n if (x == null) {\n return x;\n } else {\n return f(x);\n }\n}\n\nfunction iter(x, f) {\n if (!(x == null)) {\n return f(x);\n }\n \n}\n\nfunction fromOption(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n \n}\n\nvar from_opt = fromOption;\n\nexports.bind = bind;\nexports.iter = iter;\nexports.fromOption = fromOption;\nexports.from_opt = from_opt;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_null_undefined.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_option.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_option.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction some(x) {\n return Caml_option.some(x);\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isSomeValue(eq, v, x) {\n if (x !== undefined) {\n return eq(v, Caml_option.valFromOption(x));\n } else {\n return false;\n }\n}\n\nfunction isNone(param) {\n return param === undefined;\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw new Error(\"getExn\");\n}\n\nfunction equal(eq, a, b) {\n if (a !== undefined) {\n if (b !== undefined) {\n return eq(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction andThen(f, x) {\n if (x !== undefined) {\n return f(Caml_option.valFromOption(x));\n }\n \n}\n\nfunction map(f, x) {\n if (x !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(x)));\n }\n \n}\n\nfunction getWithDefault(a, x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n } else {\n return a;\n }\n}\n\nfunction filter(f, x) {\n if (x === undefined) {\n return ;\n }\n var x$1 = Caml_option.valFromOption(x);\n if (f(x$1)) {\n return Caml_option.some(x$1);\n }\n \n}\n\nfunction firstSome(a, b) {\n if (a !== undefined) {\n return a;\n } else if (b !== undefined) {\n return b;\n } else {\n return ;\n }\n}\n\nvar $$default = getWithDefault;\n\nexports.some = some;\nexports.isSome = isSome;\nexports.isSomeValue = isSomeValue;\nexports.isNone = isNone;\nexports.getExn = getExn;\nexports.equal = equal;\nexports.andThen = andThen;\nexports.map = map;\nexports.getWithDefault = getWithDefault;\nexports.$$default = $$default;\nexports[\"default\"] = $$default;\nexports.__esModule = true;\nexports.filter = filter;\nexports.firstSome = firstSome;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_promise.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_promise.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\n\nfunction then_(arg1, obj) {\n return obj.then(Curry.__1(arg1));\n}\n\nfunction $$catch(arg1, obj) {\n return obj.catch(Curry.__1(arg1));\n}\n\nexports.then_ = then_;\nexports.$$catch = $$catch;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_promise.js?"); - -/***/ }), - -/***/ "../../../../node_modules/symbol-observable/lib/ponyfill.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/symbol-observable/lib/ponyfill.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\nexports[\"default\"] = symbolObservablePonyfill;\nfunction symbolObservablePonyfill(root) {\n\tvar result;\n\tvar _Symbol = root.Symbol;\n\n\tif (typeof _Symbol === 'function') {\n\t\tif (_Symbol.observable) {\n\t\t\tresult = _Symbol.observable;\n\t\t} else {\n\n\t\t\t// This just needs to be something that won't trample other user's Symbol.for use\n\t\t\t// It also will guide people to the source of their issues, if this is problematic.\n\t\t\t// META: It's a resource locator!\n\t\t\tresult = _Symbol['for']('https://github.com/benlesh/symbol-observable');\n\t\t\ttry {\n\t\t\t\t_Symbol.observable = result;\n\t\t\t} catch (err) {\n\t\t\t\t// Do nothing. In some environments, users have frozen `Symbol` for security reasons,\n\t\t\t\t// if it is frozen assigning to it will throw. In this case, we don't care, because\n\t\t\t\t// they will need to use the returned value from the ponyfill.\n\t\t\t}\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n\n//# sourceURL=webpack://Extension/../../../../node_modules/symbol-observable/lib/ponyfill.js?"); - -/***/ }), - -/***/ "../../../../node_modules/symbol-observable/ponyfill.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/symbol-observable/ponyfill.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("module.exports = __webpack_require__(/*! ./lib/ponyfill */ \"../../../../node_modules/symbol-observable/lib/ponyfill.js\");\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/symbol-observable/ponyfill.js?"); - -/***/ }), - -/***/ "./lib/js/src/Main.bs.js": -/*!*******************************!*\ - !*** ./lib/js/src/Main.bs.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Most = __webpack_require__(/*! most */ \"../../../../node_modules/most/src/index.js\");\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_array = __webpack_require__(/*! rescript/lib/js/caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar Most$Meta3dBsMostDefault = __webpack_require__(/*! meta3d-bs-most-default/lib/js/src/most.bs.js */ \"../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js\");\n\nvar _isFromEventStream = (function(stream){ var source = stream.source; return !!source.event && !!source.source; });\n\nfunction concatArray(streamArr) {\n var match = streamArr.length;\n if (match !== 0) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(ArraySt$Meta3dCommonlib.sliceFrom(streamArr, 1), (function (stream1, stream2) {\n _isFromEventStream(stream1) === true;\n return Most$Meta3dBsMostDefault.concat(stream2, stream1);\n }), Caml_array.get(streamArr, 0));\n } else {\n return Most.just(1);\n }\n}\n\nfunction callFunc(func) {\n var __x = Most.just(func);\n return Most.map((function (func) {\n return Curry._1(func, undefined);\n }), __x);\n}\n\nfunction getExtensionService(api) {\n return {\n tap: (function (prim0, prim1) {\n return Most.tap(prim0, prim1);\n }),\n filter: (function (prim0, prim1) {\n return Most.filter(prim0, prim1);\n }),\n take: (function (prim0, prim1) {\n return Most.take(prim0, prim1);\n }),\n fromEvent: (function (prim0, prim1, prim2) {\n return Most.fromEvent(prim0, prim1, prim2);\n }),\n fromPromise: (function (prim) {\n return Most.fromPromise(prim);\n }),\n just: (function (prim) {\n return Most.just(prim);\n }),\n concat: Most$Meta3dBsMostDefault.concat,\n map: (function (prim0, prim1) {\n return Most.map(prim0, prim1);\n }),\n flatMap: (function (prim0, prim1) {\n return Most.flatMap(prim0, prim1);\n }),\n mergeArray: (function (prim) {\n return Most.mergeArray(prim);\n }),\n concatArray: concatArray,\n callFunc: callFunc,\n drain: (function (prim) {\n return Most.drain(prim);\n })\n };\n}\n\nfunction createExtensionState(param, param$1) {\n \n}\n\nfunction getExtensionLife(param, param$1) {\n return {\n onRegister: null,\n onRestore: null,\n onDeepCopy: null,\n onStart: null,\n onInit: null,\n onUpdate: null\n };\n}\n\nexports._isFromEventStream = _isFromEventStream;\nexports.concatArray = concatArray;\nexports.callFunc = callFunc;\nexports.getExtensionService = getExtensionService;\nexports.createExtensionState = createExtensionState;\nexports.getExtensionLife = getExtensionLife;\n/* most Not a pure module */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/Main.bs.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ id: moduleId, -/******/ loaded: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ -/******/ /* webpack/runtime/harmony module decorator */ -/******/ (() => { -/******/ __webpack_require__.hmd = (module) => { -/******/ module = Object.create(module); -/******/ if (!module.children) module.children = []; -/******/ Object.defineProperty(module, 'exports', { -/******/ enumerable: true, -/******/ set: () => { -/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id); -/******/ } -/******/ }); -/******/ return module; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./lib/js/src/Main.bs.js"); -/******/ window.Extension = __webpack_exports__; -/******/ -/******/ })() -; \ No newline at end of file +/*! For license information please see main.js.LICENSE.txt */ +(()=>{var t={1149:(t,n,e)=>{"use strict";var r=e(9742),i=e(3454);function o(t){return function(n){return r.unfold((function(n){var e=i._1(t,n);return void 0!==e?{value:e[0],seed:e[1]}:{done:!0}}),n)}}n.subscribe=function(t,n){return n.subscribe(t)},n.unfold=o,n.fromList=function(t){return o((function(t){if(t)return[t.hd,t.tl]}))(t)},n.concat=function(t,n){return n.concat(t)},n.Subject={}},9742:(t,n,e)=>{"use strict";function r(t){this.source=t}e.r(n),e.d(n,{PropagateTask:()=>w,Stream:()=>r,ap:()=>_n,await:()=>tr,awaitPromises:()=>tr,chain:()=>Rn,combine:()=>ln,combineArray:()=>dn,concat:()=>cn,concatMap:()=>Tn,constant:()=>Ot,continueWith:()=>rn,debounce:()=>Ye,defaultScheduler:()=>ot,delay:()=>qe,distinct:()=>ae,distinctBy:()=>pe,drain:()=>Mt,during:()=>Ne,empty:()=>S,filter:()=>fe,flatMap:()=>Rn,flatMapEnd:()=>rn,flatMapError:()=>or,forEach:()=>Tt,from:()=>L,fromEvent:()=>mt,fromPromise:()=>Ke,generate:()=>Ht,iterate:()=>Xt,join:()=>Nn,just:()=>E,loop:()=>jt,map:()=>It,merge:()=>Fn,mergeArray:()=>Bn,mergeConcurrently:()=>Sn,multicast:()=>pr.Z,never:()=>U,observe:()=>Tt,of:()=>E,periodic:()=>V,recoverWith:()=>ir,reduce:()=>$t,sample:()=>$n,sampleArray:()=>Cn,sampleWith:()=>Gn,scan:()=>Wt,since:()=>Re,skip:()=>ve,skipAfter:()=>Pe,skipRepeats:()=>ae,skipRepeatsWith:()=>pe,skipUntil:()=>Re,skipWhile:()=>xe,slice:()=>me,startWith:()=>sn,switch:()=>oe,switchLatest:()=>oe,take:()=>ye,takeUntil:()=>Ue,takeWhile:()=>be,tap:()=>Ut,throttle:()=>ze,throwError:()=>ur,timestamp:()=>Ce,transduce:()=>wn,unfold:()=>Lt,until:()=>Ue,zip:()=>Kn,zipArray:()=>te}),r.prototype.run=function(t,n){return this.source.run(t,n)};var i=e(8211);function o(t,n){this._dispose=t,this._data=n}function u(){this.disposable=void 0,this.disposed=!1,this._resolve=void 0;var t=this;this.result=new Promise((function(n){t._resolve=n}))}o.prototype.dispose=function(){return this._dispose(this._data)},u.prototype.setDisposable=function(t){if(void 0!==this.disposable)throw new Error("setDisposable called more than once");this.disposable=t,this.disposed&&this._resolve(t.dispose())},u.prototype.dispose=function(){return this.disposed||(this.disposed=!0,void 0!==this.disposable&&(this.result=this.disposable.dispose())),this.result};var s=i.UI,c=i.id;function f(t,n,e){var r,i=d(n);return null!==(r=i)&&"object"==typeof r&&"function"==typeof r.then?i.catch((function(n){e.error(t,n)})):i}function a(t,n){return v(new o(t,n))}function p(){return new o(c,void 0)}function h(t){return a(l,t)}function l(t){return Promise.all(s(d,t))}function d(t){try{return t.dispose()}catch(t){return Promise.reject(t)}}function y(){return new u}function v(t){return new o(m,function(t){return{disposed:!1,disposable:t,value:void 0}}(t))}function m(t){return t.disposed||(t.disposed=!0,t.value=d(t.disposable),t.disposable=void 0),t.value}function _(t){setTimeout((function(){throw t}),0)}function w(t,n,e){this._run=t,this.value=n,this.sink=e,this.active=!0}function g(t,n,e){e.error(t,n)}function b(t,n,e){e.event(t,n)}function k(t,n,e){e.end(t,n)}function E(t){return new r(new x(t))}function x(t){this.value=t}function A(t,n,e){e.event(t,n),e.end(t,void 0)}function S(){return O}function P(){}function I(t){return t.dispose()}w.event=function(t,n){return new w(b,t,n)},w.end=function(t,n){return new w(k,t,n)},w.error=function(t,n){return new w(g,t,n)},w.prototype.dispose=function(){this.active=!1},w.prototype.run=function(t){this.active&&this._run(t,this.value,this.sink)},w.prototype.error=function(t,n){if(!this.active)return _(n);this.sink.error(t,n)},x.prototype.run=function(t,n){return n.asap(new w(A,this.value,t))},P.prototype.run=function(t,n){var e=w.end(void 0,t);return n.asap(e),a(I,e)};var O=new r(new P);function U(){return T}function R(){}R.prototype.run=function(){return p()};var N,T=new r(new R);function M(t){this.array=t}function j(t,n,e){for(var r=0,i=n.length;r=0&&o.active&&(o.time=o.time+o.period,nt(o,e)))}return e}function nt(t,n){var e=n.length;if(0!==e){var r=rt(t.time,n);r>=e?n.push(it(t.time,[t])):t.time===n[r].time?n[r].events.push(t):n.splice(r,0,it(t.time,[t]))}else n.push(it(t.time,[t]))}function et(t,n){n.events=i.xY(t,n.events)}function rt(t,n){for(var e,r,i=0,o=n.length;i=0&&n=0)return this.tasks[n].events.splice(e,1),!0}return!1},K.prototype.removeAll=function(t){for(var n=0,e=this.tasks.length;n1){for(var i=new Array(r),o=0;o0&&(this.hasValue[t]||(this.hasValue[t]=!0,this.awaiting-=1)),this.awaiting},mn.prototype.end=function(t,n){f(t,this.disposables[n.index],this.sink),0==--this.activeCount&&this.sink.end(t,n.value)},gn.prototype.run=function(t,n){var e,r=this.transducer(new kn(t));return this.source.run(new bn("function"==typeof(e=r)["@@transducer/step"]?new En(e):new xn(e),t),n)},bn.prototype.event=function(t,n){var e=this.xf.step(t,n);return this.xf.isReduced(e)?this.sink.end(t,this.xf.getResult(e)):e},bn.prototype.end=function(t,n){return this.xf.result(n)},bn.prototype.error=function(t,n){return this.sink.error(t,n)},kn.prototype["@@transducer/init"]=kn.prototype.init=function(){},kn.prototype["@@transducer/step"]=kn.prototype.step=function(t,n){return isNaN(t)||(this.time=Math.max(t,this.time)),this.sink.event(this.time,n)},kn.prototype["@@transducer/result"]=kn.prototype.result=function(t){return this.sink.end(this.time,t)},En.prototype.step=function(t,n){return this.tx["@@transducer/step"](t,n)},En.prototype.result=function(t){return this.tx["@@transducer/result"](t)},En.prototype.isReduced=function(t){return null!=t&&t["@@transducer/reduced"]},En.prototype.getResult=function(t){return t["@@transducer/value"]},xn.prototype.step=function(t,n){return this.tx.step(t,n)},xn.prototype.result=function(t){return this.tx.result(t)},xn.prototype.isReduced=function(t){return null!=t&&t.__transducers_reduced__},xn.prototype.getResult=function(t){return t.value},An.prototype.add=function(t){null!==this.head&&(this.head.prev=t,t.next=this.head),this.head=t,++this.length},An.prototype.remove=function(t){--this.length,t===this.head&&(this.head=this.head.next),null!==t.next&&(t.next.prev=t.prev,t.next=null),null!==t.prev&&(t.prev.next=t.next,t.prev=null)},An.prototype.isEmpty=function(){return 0===this.length},An.prototype.dispose=function(){if(this.isEmpty())return Promise.resolve();var t=[],n=this.head;for(this.head=null,this.length=0;null!==n;)t.push(n.dispose()),n=n.next;return Promise.all(t)},In.prototype.run=function(t,n){return new On(this.f,this.concurrency,this.source,t,n)},On.prototype.event=function(t,n){this._addInner(t,n)},On.prototype._addInner=function(t,n){this.current.lengthn&&function(t,n,e,r,i){for(var o=0;o0?this.skip-=1:0!==this.take&&(this.take-=1,this.sink.event(t,n),0===this.take&&(this.disposable.dispose(),this.sink.end(t,n)))},ke.prototype.run=function(t,n){var e=y(),r=new Ee(this.p,t,e);return e.setDisposable(this.source.run(r,n)),e},Ee.prototype.end=bt.prototype.end,Ee.prototype.error=bt.prototype.error,Ee.prototype.event=function(t,n){if(this.active){var e=this.p;this.active=e(n),this.active?this.sink.event(t,n):(this.disposable.dispose(),this.sink.end(t,n))}},Ae.prototype.run=function(t,n){return this.source.run(new Se(this.p,t),n)},Se.prototype.end=bt.prototype.end,Se.prototype.error=bt.prototype.error,Se.prototype.event=function(t,n){if(this.skipping){var e=this.p;if(this.skipping=e(n),this.skipping)return}this.sink.event(t,n)},Ie.prototype.run=function(t,n){return this.source.run(new Oe(this.p,t),n)},Oe.prototype.event=function(t,n){if(!this.skipping){var e=this.p;this.skipping=e(n),this.sink.event(t,n),this.skipping&&this.sink.end(t,n)}},Oe.prototype.end=bt.prototype.end,Oe.prototype.error=bt.prototype.error,Te.prototype.run=function(t,n){var e=new je(-1/0,t),r=new We(this.maxSignal,t,n);return h([e,r,this.source.run(new Fe(e,r,t),n)])},Me.prototype.run=function(t,n){var e=new Be(this.minSignal,t,n),r=new je(1/0,t);return h([e,r,this.source.run(new Fe(e,r,t),n)])},je.prototype.error=bt.prototype.error,je.prototype.event=De,je.prototype.end=De,je.prototype.dispose=De,Fe.prototype.event=function(t,n){t>=this.min.value&&t=this.time&&(this.time=t+this.period,this.sink.event(t,n))},Ze.prototype.end=bt.prototype.end,Ze.prototype.error=bt.prototype.error,Qe.prototype.run=function(t,n){return new He(this.dt,this.source,t,n)},He.prototype.event=function(t,n){this._clearTimer(),this.value=n,this.timer=this.scheduler.delay(this.dt,w.event(n,this.sink))},He.prototype.end=function(t,n){this._clearTimer()&&(this.sink.event(t,this.value),this.value=void 0),this.sink.end(t,n)},He.prototype.error=function(t,n){this._clearTimer(),this.sink.error(t,n)},He.prototype.dispose=function(){return this._clearTimer(),this.disposable.dispose()},He.prototype._clearTimer=function(){return null!==this.timer&&(this.timer.dispose(),this.timer=null,!0)},nr.prototype.run=function(t,n){return this.source.run(new er(t,n),n)},er.prototype.event=function(t,n){var e=this;this.queue=this.queue.then((function(){return e._event(n)})).catch(this._errorBound)},er.prototype.end=function(t,n){var e=this;this.queue=this.queue.then((function(){return e._end(n)})).catch(this._errorBound)},er.prototype.error=function(t,n){var e=this;this.queue=this.queue.then((function(){return e._errorBound(n)})).catch(_)},er.prototype._event=function(t){return t.then(this._eventBound)},er.prototype._end=function(t){return Promise.resolve(t).then(this._endBound)},rr.prototype.event=function(t,n){this.active&&this.sink.event(t,n)},rr.prototype.end=function(t,n){this.active&&(this.disable(),this.sink.end(t,n))},rr.prototype.error=function(t,n){this.disable(),this.sink.error(t,n)},rr.prototype.disable=function(){return this.active=!1,this.sink};var or=ir;function ur(t){return new r(new sr(t))}function sr(t){this.value=t}function cr(t,n,e){e.error(t,n)}function fr(t,n){this.f=t,this.source=n}function ar(t,n,e,r){this.f=t,this.sink=new rr(e),this.scheduler=r,this.disposable=n.run(this,r)}sr.prototype.run=function(t,n){return n.asap(new w(cr,this.value,t))},fr.prototype.run=function(t,n){return new ar(this.f,this.source,t,n)},ar.prototype.event=function(t,n){D(t,n,this.sink)},ar.prototype.end=function(t,n){q(t,n,this.sink)},ar.prototype.error=function(t,n){var e=this.sink.disable();f(t,this.disposable,this.sink),this._startNext(t,n,e)},ar.prototype._startNext=function(t,n,e){try{this.disposable=this._continue(this.f,n,e)}catch(n){e.error(t,n)}},ar.prototype._continue=function(t,n,e){return t(n).source.run(e,this.scheduler)},ar.prototype.dispose=function(){return this.disposable.dispose()};var pr=e(8278);r.of=E,r.empty=S,r.from=L,r.prototype.subscribe=function(t){return function(t,n){if(Object(t)!==t)throw new TypeError("subscriber must be an object");var e=y(),r=new ut(_,t,e);return e.setDisposable(n.source.run(r,ot)),new st(e)}(t,this)},r.prototype[W.Z]=function(){return this},r.prototype.thru=function(t){return function(t,n){return t(n)}(t,this)},r.prototype.observe=r.prototype.forEach=function(t){return Tt(t,this)},r.prototype.drain=function(){return Mt(this)},r.prototype.loop=function(t,n){return jt(t,n,this)},r.prototype.scan=function(t,n){return Wt(t,n,this)},r.prototype.reduce=function(t,n){return $t(t,n,this)},r.prototype.concat=function(t){return cn(this,t)},r.prototype.startWith=function(t){return sn(t,this)},r.prototype.map=function(t){return It(t,this)},r.prototype.ap=function(t){return _n(this,t)},r.prototype.constant=function(t){return Ot(t,this)},r.prototype.tap=function(t){return Ut(t,this)},r.prototype.transduce=function(t){return wn(t,this)},r.prototype.chain=function(t){return Rn(t,this)},r.prototype.flatMap=r.prototype.chain,r.prototype.join=function(){return Nn(this)},r.prototype.continueWith=function(t){return rn(t,this)},r.prototype.flatMapEnd=r.prototype.continueWith,r.prototype.concatMap=function(t){return Tn(t,this)},r.prototype.mergeConcurrently=function(t){return Sn(t,this)},r.prototype.merge=function(){return Bn(i.QI(this,arguments))},r.prototype.combine=function(t){return dn(t,i.gx(this,0,arguments))},r.prototype.sampleWith=function(t){return Gn(t,this)},r.prototype.sample=function(t){return Cn(t,this,i.Gb(arguments))},r.prototype.zip=function(t){return te(t,i.gx(this,0,arguments))},r.prototype.switchLatest=function(){return oe(this)},r.prototype.switch=r.prototype.switchLatest,r.prototype.filter=function(t){return fe(t,this)},r.prototype.skipRepeats=function(){return ae(this)},r.prototype.skipRepeatsWith=function(t){return pe(t,this)},r.prototype.take=function(t){return ye(t,this)},r.prototype.skip=function(t){return ve(t,this)},r.prototype.slice=function(t,n){return me(t,n,this)},r.prototype.takeWhile=function(t){return be(t,this)},r.prototype.skipWhile=function(t){return xe(t,this)},r.prototype.skipAfter=function(t){return Pe(t,this)},r.prototype.until=function(t){return Ue(t,this)},r.prototype.takeUntil=r.prototype.until,r.prototype.since=function(t){return Re(t,this)},r.prototype.skipUntil=r.prototype.since,r.prototype.during=function(t){return Ne(t,this)},r.prototype.delay=function(t){return qe(t,this)},r.prototype.timestamp=function(){return Ce(this)},r.prototype.throttle=function(t){return ze(t,this)},r.prototype.debounce=function(t){return Ye(t,this)},r.prototype.awaitPromises=function(){return tr(this)},r.prototype.await=r.prototype.awaitPromises,r.prototype.recoverWith=function(t){return or(t,this)},r.prototype.flatMapError=r.prototype.recoverWith,r.prototype.multicast=function(){return(0,pr.Z)(this)}},5477:(t,n,e)=>{"use strict";e.d(n,{Z:()=>r}),t=e.hmd(t);const r=function(t){var n,e=t.Symbol;return"function"==typeof e?e.observable?n=e.observable:(n=e("observable"),e.observable=n):n="@@observable",n}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e.g?e.g:t)},7370:(t,n,e)=>{"use strict";var r=e(3454),i=e(9577),o=e(4541),u=e(2868),s=e(1025),c=function(t){return null!=t},f=c;function a(t){return s.isNone(u.getBy(t,(function(t){return null==t})))}var p=a,h=s.isSome,l=s.isNone;function d(t,n){return'"expect to be '+n+", but actual is "+t+'"'}function y(t,n,e){return d(n,e),o.equal(n,e)}function v(t,n){return'"expect not to be '+n+", but actual is "+t+'"'}function m(t,n,e){return v(n,e),o.notequal(n,e)}var _={$eq:function(t,n){return y(0,t,n)},$eq$eq$dot:function(t,n){return y(0,t,n)},$eq$eq$caret:function(t,n){return y(0,t,n)},$less$great$eq:function(t,n){return m(0,t,n)},$less$great$eq$dot:function(t,n){return m(0,t,n)},$great:o.greaterthan,$great$dot:o.greaterthan,$great$eq:o.greaterequal,$great$eq$dot:o.greaterequal,$less:o.lessthan,$less$dot:o.lessthan,$less$eq:o.lessequal,$less$eq$dot:o.lessequal};n._assert=function(t,n){return t},n.test=function(t,n){return r._1(n,void 0)?void 0:i.raiseError(t)},n.requireCheck=function(t,n){if(n)return r._1(t,void 0)},n.ensureCheck=function(t,n,e){return e?(r._1(n,t),t):t},n.assertPass=function(t){return!0},n.assertTrue=function(t){return!0===t},n.assertFalse=function(t){return!1===t},n.assertJsTrue=function(t){return!0===t},n.assertJsFalse=function(t){return!1===t},n.assertIsBool=function(t){return!0===t||!1===t},n._isNullableExist=c,n.assertNullableExist=f,n._isNullableListExist=a,n.assertNullableListExist=p,n.assertExist=h,n.assertNotExist=l,n._getEqualMessage=d,n.assertEqual=y,n._getNotEqualMessage=v,n.assertNotEqual=m,n.assertGt=function(t,n,e){return o.greaterthan(n,e)},n.assertGte=function(t,n,e){return o.greaterequal(n,e)},n.assertLt=function(t,n,e){return o.lessthan(n,e)},n.assertLte=function(t,n,e){return o.lessequal(n,e)},n.Operators=_},5065:(t,n,e)=>{"use strict";var r=e(3454),i=e(2868);n.printForDebug=function(t){return console.log(JSON.stringify(t)),t},n.printStringForDebug=function(t){return console.log(t),t},n.printListForDebug=function(t){return console.log(i.toArray(t)),t},n.logForDebug=function(t){console.log(t),console.trace()},n.log=function(t){console.log(JSON.stringify(t))},n.debugWithFunc=function(t,n){if(n)return r._1(t,void 0)},n._debug=function(t){console.debug(t)},n.debug=function(t,n){if(n){var e=r._1(t,void 0);console.debug(e),console.trace()}},n.getJsonStr=function(t){return JSON.stringify(t)},n.buildDebugMessage=function(t,n,e){return"\n Debug:\n\n description\n "+t+"\n\n params\n "+n+"\n\n "},n.buildDebugJsonMessage=function(t,n,e){return"\n DebugJson:\n\n description\n "+t+"\n\n variable value\n "+JSON.stringify(n)+"\n "},n.buildFatalMessage=function(t,n,e,r,i){return"\n Fatal:\n\n title\n "+t+"\n\n description\n "+n+"\n\n reason\n "+e+"\n\n solution\n "+r+"\n\n params\n "+i+"\n\n "},n.buildErrorMessage=function(t,n,e,r,i){return"\n Error:\n\n title\n "+t+"\n\n description\n "+n+"\n\n reason\n "+e+"\n\n solution\n "+r+"\n\n params\n "+i+"\n\n "},n.buildAssertMessage=function(t,n){return"expect "+t+", but actual "+n}},8254:(t,n,e)=>{"use strict";var r=e(3454),i=e(236),o=e(575),u=e(8667),s=e(1949),c=e(5065),f=e(6866),a=e(7370),p=e(4458),h=e(7055),l=e(3161),d=t=>{if(void 0!==t)return t;throw new Error("Not_found")};function y(t,n){return 0===t.length?f.succeed([]):f.bind(r._1(n,d(t[0])),(function(e){return f.bind(y(i.sliceFrom(1,t),n),(function(t){return f.succeed(i.concat(t,[e]))}))}))}function v(t){return t}function m(t,n){return i.push(n,t),t}n._getExn=d,n.getExn=function(t,n){return d(t[n])},n.length=function(t){return t.length},n.find=function(t,n){return i.find(n,t)},n.includes=function(t,n){return i.includes(n,t)},n.includesByFunc=function(t,n){return p.isSome(i.find(n,t))},n.sliceFrom=function(t,n){return i.sliceFrom(n,t)},n.slice=function(t,n,e){return i.slice(n,e,t)},n.copy=function(t){return t.slice()},n.reduceOneParam=function(t,n,e){return o.reduceU(t,e,n)},n.reduceOneParami=function(t,n,e){for(var r=e,i=0,o=t.length;i=1)return s.some(u.get(t,0))},n.push=m,n.forEach=function(t,n){i.forEach(n,t)},n.map=function(t,n){return i.map(n,t)},n.mapi=function(t,n){return i.mapi(n,t)},n.filter=function(t,n){return i.filter(n,t)},n.reverse=function(t){return t.slice().reverse()},n.deleteBySwap=function(t,n,e,r){a.requireCheck((function(n){var e=t.length;a.test(c.buildAssertMessage("lastIndex:"+r+" === arr.length:"+e,"not"),(function(n){return a.assertEqual(0,t.length-1|0,r)}))}),n),t[e]=t[r],t.pop()},n.range=function(t,n){for(var e=[],r=t;r<=n;++r)i.push(r,e);return e},n.removeDuplicateItems=function(t){for(var n=[],e=l.createEmpty(void 0,void 0),r=0,o=t.length;r0?m(i,r):i},n.sort=function(t,n){return i.sortInPlaceWith(n,t)}},6226:(t,n)=>{"use strict";n.throwErr=t=>{throw t},n.buildErr=t=>new Error(t)},4458:(t,n,e)=>{"use strict";var r=e(3454),i=e(7992),o=e(1949),u=e(2879),s=e(6866),c=t=>{if(void 0!==t)return t;throw new Error("Not_found")},f=c,a=u.from_opt,p=i.getWithDefault,h=i.isSome,l=i.map,d=i.flatMap;n.unsafeGet=function(t){return t},n._getExn=c,n.getExn=f,n.buildFailResult=function(t){return s.failWith("data not exist in option data")},n.get=function(t){return void 0!==t?s.succeed(o.valFromOption(t)):s.failWith("data not exist in option data")},n.getWithDefault=p,n.isSome=h,n.map=l,n.bind=d,n.fromNullable=function(t){return null==t?void 0:o.some(t)},n.toNullable=a,n.toStrictNullable=function(t){return void 0!==t?o.valFromOption(t):null},n.forEachResult=function(t,n){return void 0!==t?r._1(n,o.valFromOption(t)):s.succeed(void 0)},n.sequenceResultM=function(t){return void 0!==t?s.mapSuccess(t,(function(t){return o.some(t)})):s.succeed(void 0)},n.open_=function(t){if(void 0!==t)return o.valFromOption(t)}},7055:(t,n,e)=>{"use strict";var r=e(3454),i=e(2792);n.bind=function(t,n){return i.then_(n,t)},n.map=function(t,n){return i.then_((function(t){return Promise.resolve(r._1(n,t))}),t)}},6866:(t,n,e)=>{"use strict";var r=e(3454),i=e(9577),o=e(1948),u=e(6226);function s(t){return{TAG:1,_0:t}}var c=u.buildErr;function f(t,n,e){return 0===t.TAG?r._1(n,t._0):r._1(e,t._0)}function a(t,n){return 0===t.TAG?t._0:r._1(n,t._0)}n.succeed=function(t){return{TAG:0,_0:t}},n.fail=s,n._buildErr=c,n.failWith=function(t){return{TAG:1,_0:u.buildErr(t)}},n.isSuccess=function(t){return 0===t.TAG},n.either=f,n.bind=function(t,n){return f(t,n,s)},n.tap=function(t,n){return f(t,(function(t){return r._1(n,t),{TAG:0,_0:t}}),s)},n.tryCatch=function(t){try{return{TAG:0,_0:r._1(t,void 0)}}catch(t){var n=o.internalToOCamlException(t);return n.RE_EXN_ID===i.$$Error?{TAG:1,_0:n._1}:{TAG:1,_0:u.buildErr("unknown error: "+n)}}},n.mapSuccess=function(t,n){return 0===t.TAG?{TAG:0,_0:r._1(n,t._0)}:{TAG:1,_0:t._0}},n.handleFail=a,n.getExn=function(t){return a(t,u.throwErr)},n.toNullable=function(t){return 0===t.TAG?t._0:null},n.open_=function(t){return 0===t.TAG?t._0:{TAG:1,_0:t._0}}},3634:(t,n,e)=>{"use strict";var r=e(7261),i=e(236),o=e(575),u=e(1949),s=e(2879),c=e(2858);function f(t,n){var e=t[n];return c.isEmpty(e)?void 0:u.some(e)}var a=t=>{if(void 0!==t)return t;throw new Error("Not_found")},p=r.entries;function h(t,n,e){return t[n]=e,t}n.createEmpty=function(t,n){return{}},n.unsafeGet=function(t,n){return t[n]},n.get=f,n._getExn=a,n.getExn=function(t,n){return a(t[n])},n.getNullable=function(t,n){return s.fromOption(f(t,n))},n.has=function(t,n){return!c.isEmpty(t[n])},n.entries=p,n._mutableSet=h,n._createEmpty=function(t){return{}},n._reduceArray=function(t,n,e){return o.reduceU(t,e,n)},n.copy=function(t){return o.reduceU(r.entries(t),{},(function(t,n){return h(t,n[0],n[1])}))},n.getValidValues=function(t){var n=r.values(t);return i.filter(c.isInMap,n)},n.map=function(t,n){return r.map(n,t)},n.merge=function(t,n){return o.reduceU(r.entries(t),n,(function(t,n){return h(t,n[0],n[1])}))}},3161:(t,n,e)=>{"use strict";var r=e(3634),i=r.createEmpty,o=r.unsafeGet,u=r.get,s=r.getExn,c=r.getNullable,f=r.has,a=r.getValidValues,p=r.copy,h=r.entries,l=r.map,d=r.merge;n.createEmpty=i,n.set=function(t,n,e){return t[n]=e,t},n.unsafeGet=o,n.get=u,n.getExn=s,n.getNullable=c,n.has=f,n.deleteVal=function(t,n){return t[n]=void 0,t},n.getValidValues=a,n.copy=p,n.entries=h,n.map=l,n.merge=d},2858:(t,n)=>{"use strict";n.isUndefined=function(t){return void 0===t},n.isEmpty=function(t){return null==t},n.isNotInMap=function(t){return void 0===t},n.isInMap=function(t){return void 0!==t}},8278:(t,n,e)=>{"use strict";e.d(n,{Z:()=>a});var r=e(8211),i=function(t,n){this.source=t,this.sink=n,this.disposed=!1};function o(t,n,e){try{e.event(t,n)}catch(n){e.error(t,n)}}function u(t,n,e){try{e.end(t,n)}catch(n){e.error(t,n)}}i.prototype.dispose=function(){if(!this.disposed)return this.disposed=!0,0===this.source.remove(this.sink)&&this.source._dispose()};var s=function(t){return t.dispose()},c={dispose:function(){}},f=function(t){this.source=t,this.sinks=[],this._disposable=c};f.prototype.run=function(t,n){return 1===this.add(t)&&(this._disposable=this.source.run(this,n)),new i(this,t)},f.prototype._dispose=function(){var t=this._disposable;return this._disposable=c,Promise.resolve(t).then(s)},f.prototype.add=function(t){return this.sinks=(0,r.R3)(t,this.sinks),this.sinks.length},f.prototype.remove=function(t){var n=(0,r.cx)(t,this.sinks);return n>=0&&(this.sinks=(0,r.Od)(n,this.sinks)),this.sinks.length},f.prototype.event=function(t,n){var e=this.sinks;if(1===e.length)return e[0].event(t,n);for(var r=0;r{"use strict";function r(t,n){var e=n.length,r=new Array(e+1);r[0]=t;for(var i=0;i= 0");var e=n.length;return 0===t||0===e?n:t>=e?[]:function(t,n,e){for(var r=new Array(e),i=0;i= 0");for(var r=e.length,i=new Array(r),o=0;o= 0");var e=n.length;return 0===e||t>=e?n:1===e?[]:function(t,n,e){var r,i=new Array(e);for(r=0;ro,Gb:()=>u,JG:()=>s,Od:()=>p,QI:()=>r,R3:()=>i,UI:()=>c,cx:()=>l,gx:()=>a,id:()=>y,nn:()=>m,qC:()=>v,u4:()=>f,xY:()=>h,zG:()=>d});var y=function(t){return t},v=function(t,n){return function(e){return t(n(e))}},m=function(t,n){return t(n)}},9581:(t,n,e)=>{"use strict";var r=e(8027)(),i=e(1308),o=r&&i("%Object.defineProperty%",!0),u=i("%SyntaxError%"),s=i("%TypeError%"),c=e(1322);t.exports=function(t,n,e){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new s("`obj` must be an object or a function`");if("string"!=typeof n&&"symbol"!=typeof n)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,a=arguments.length>6&&arguments[6],p=!!c&&c(t,n);if(o)o(t,n,{configurable:null===f&&p?p.configurable:!f,enumerable:null===r&&p?p.enumerable:!r,value:e,writable:null===i&&p?p.writable:!i});else{if(!a&&(r||i||f))throw new u("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[n]=e}}},6844:(t,n,e)=>{"use strict";var r=e(7395),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,u=Array.prototype.concat,s=e(9581),c=e(8027)(),f=function(t,n,e,r){if(n in t)if(!0===r){if(t[n]===e)return}else if("function"!=typeof(i=r)||"[object Function]"!==o.call(i)||!r())return;var i;c?s(t,n,e,!0):s(t,n,e)},a=function(t,n){var e=arguments.length>2?arguments[2]:{},o=r(n);i&&(o=u.call(o,Object.getOwnPropertySymbols(n)));for(var s=0;s{"use strict";var n=Array.prototype.slice,e=Object.prototype.toString;t.exports=function(t){var r=this;if("function"!=typeof r||"[object Function]"!==e.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var i,o=n.call(arguments,1),u=Math.max(0,r.length-o.length),s=[],c=0;c{"use strict";var r=e(6494);t.exports=Function.prototype.bind||r},1308:(t,n,e)=>{"use strict";var r,i=SyntaxError,o=Function,u=TypeError,s=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(t){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(t){c=null}var f=function(){throw new u},a=c?function(){try{return f}catch(t){try{return c(arguments,"callee").get}catch(t){return f}}}():f,p=e(8813)(),h=e(5083)(),l=Object.getPrototypeOf||(h?function(t){return t.__proto__}:null),d={},y="undefined"!=typeof Uint8Array&&l?l(Uint8Array):r,v={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":p&&l?l([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p&&l?l(l([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p&&l?l((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p&&l?l((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p&&l?l(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":a,"%TypedArray%":y,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(l)try{null.error}catch(t){var m=l(l(t));v["%Error.prototype%"]=m}var _=function t(n){var e;if("%AsyncFunction%"===n)e=s("async function () {}");else if("%GeneratorFunction%"===n)e=s("function* () {}");else if("%AsyncGeneratorFunction%"===n)e=s("async function* () {}");else if("%AsyncGenerator%"===n){var r=t("%AsyncGeneratorFunction%");r&&(e=r.prototype)}else if("%AsyncIteratorPrototype%"===n){var i=t("%AsyncGenerator%");i&&l&&(e=l(i.prototype))}return v[n]=e,e},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=e(2786),b=e(7876),k=g.call(Function.call,Array.prototype.concat),E=g.call(Function.apply,Array.prototype.splice),x=g.call(Function.call,String.prototype.replace),A=g.call(Function.call,String.prototype.slice),S=g.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,O=function(t,n){var e,r=t;if(b(w,r)&&(r="%"+(e=w[r])[0]+"%"),b(v,r)){var o=v[r];if(o===d&&(o=_(r)),void 0===o&&!n)throw new u("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:e,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,n){if("string"!=typeof t||0===t.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof n)throw new u('"allowMissing" argument must be a boolean');if(null===S(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var e=function(t){var n=A(t,0,1),e=A(t,-1);if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return x(t,P,(function(t,n,e,i){r[r.length]=e?x(i,I,"$1"):n||t})),r}(t),r=e.length>0?e[0]:"",o=O("%"+r+"%",n),s=o.name,f=o.value,a=!1,p=o.alias;p&&(r=p[0],E(e,k([0,1],p)));for(var h=1,l=!0;h=e.length){var _=c(f,d);f=(l=!!_)&&"get"in _&&!("originalValue"in _.get)?_.get:f[d]}else l=b(f,d),f=f[d];l&&!a&&(v[s]=f)}}return f}},9371:t=>{"use strict";"undefined"!=typeof self?t.exports=self:"undefined"!=typeof window?t.exports=window:t.exports=Function("return this")()},7076:(t,n,e)=>{"use strict";var r=e(6844),i=e(9371),o=e(9981),u=e(9384),s=o(),c=function(){return s};r(c,{getPolyfill:o,implementation:i,shim:u}),t.exports=c},9981:(t,n,e)=>{"use strict";var r=e(9371);t.exports=function(){return"object"==typeof e.g&&e.g&&e.g.Math===Math&&e.g.Array===Array?e.g:r}},9384:(t,n,e)=>{"use strict";var r=e(6844),i=e(9981);t.exports=function(){var t=i();if(r.supportsDescriptors){var n=Object.getOwnPropertyDescriptor(t,"globalThis");n&&(!n.configurable||!n.enumerable&&n.writable&&globalThis===t)||Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else"object"==typeof globalThis&&globalThis===t||(t.globalThis=t);return t}},1322:(t,n,e)=>{"use strict";var r=e(1308)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(t){r=null}t.exports=r},8027:(t,n,e)=>{"use strict";var r=e(1308)("%Object.defineProperty%",!0),i=function(){if(r)try{return r({},"a",{value:1}),!0}catch(t){return!1}return!1};i.hasArrayLengthDefineBug=function(){if(!i())return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=i},5083:t=>{"use strict";var n={foo:{}},e=Object;t.exports=function(){return{__proto__:n}.foo===n.foo&&!({__proto__:null}instanceof e)}},8813:(t,n,e)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=e(7722);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},7722:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},n=Symbol("test"),e=Object(n);if("string"==typeof n)return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;for(n in t[n]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==n)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,n))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(t,n);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},7876:t=>{"use strict";var n={}.hasOwnProperty,e=Function.prototype.call;t.exports=e.bind?e.bind(n):function(t,r){return e.call(n,t,r)}},3447:(t,n,e)=>{"use strict";function r(t){this.source=t}e.r(n),e.d(n,{PropagateTask:()=>w,Stream:()=>r,ap:()=>wn,await:()=>er,awaitPromises:()=>er,chain:()=>Nn,combine:()=>dn,combineArray:()=>yn,concat:()=>fn,concatMap:()=>Mn,constant:()=>Ut,continueWith:()=>on,debounce:()=>Qe,defaultScheduler:()=>ut,delay:()=>$e,distinct:()=>pe,distinctBy:()=>he,drain:()=>jt,during:()=>Te,empty:()=>S,filter:()=>ae,flatMap:()=>Nn,flatMapEnd:()=>on,flatMapError:()=>sr,forEach:()=>Mt,from:()=>V,fromEvent:()=>_t,fromPromise:()=>nr,generate:()=>Kt,iterate:()=>Zt,join:()=>Tn,just:()=>E,loop:()=>Ft,map:()=>Ot,merge:()=>Bn,mergeArray:()=>Wn,mergeConcurrently:()=>Pn,multicast:()=>lr.Z,never:()=>U,observe:()=>Mt,of:()=>E,periodic:()=>z,recoverWith:()=>ur,reduce:()=>Gt,sample:()=>Gn,sampleArray:()=>Ln,sampleWith:()=>Cn,scan:()=>Dt,since:()=>Ne,skip:()=>me,skipAfter:()=>Ie,skipRepeats:()=>pe,skipRepeatsWith:()=>he,skipUntil:()=>Ne,skipWhile:()=>Ae,slice:()=>_e,startWith:()=>cn,switch:()=>ue,switchLatest:()=>ue,take:()=>ve,takeUntil:()=>Re,takeWhile:()=>ke,tap:()=>Rt,throttle:()=>Je,throwError:()=>cr,timestamp:()=>Le,transduce:()=>gn,unfold:()=>Vt,until:()=>Re,zip:()=>te,zipArray:()=>ne}),r.prototype.run=function(t,n){return this.source.run(t,n)};var i=e(8211);function o(t,n){this._dispose=t,this._data=n}function u(){this.disposable=void 0,this.disposed=!1,this._resolve=void 0;var t=this;this.result=new Promise((function(n){t._resolve=n}))}o.prototype.dispose=function(){return this._dispose(this._data)},u.prototype.setDisposable=function(t){if(void 0!==this.disposable)throw new Error("setDisposable called more than once");this.disposable=t,this.disposed&&this._resolve(t.dispose())},u.prototype.dispose=function(){return this.disposed||(this.disposed=!0,void 0!==this.disposable&&(this.result=this.disposable.dispose())),this.result};var s=i.UI,c=i.id;function f(t,n,e){var r,i=d(n);return null!==(r=i)&&"object"==typeof r&&"function"==typeof r.then?i.catch((function(n){e.error(t,n)})):i}function a(t,n){return v(new o(t,n))}function p(){return new o(c,void 0)}function h(t){return a(l,t)}function l(t){return Promise.all(s(d,t))}function d(t){try{return t.dispose()}catch(t){return Promise.reject(t)}}function y(){return new u}function v(t){return new o(m,function(t){return{disposed:!1,disposable:t,value:void 0}}(t))}function m(t){return t.disposed||(t.disposed=!0,t.value=d(t.disposable),t.disposable=void 0),t.value}function _(t){setTimeout((function(){throw t}),0)}function w(t,n,e){this._run=t,this.value=n,this.sink=e,this.active=!0}function g(t,n,e){e.error(t,n)}function b(t,n,e){e.event(t,n)}function k(t,n,e){e.end(t,n)}function E(t){return new r(new x(t))}function x(t){this.value=t}function A(t,n,e){e.event(t,n),e.end(t,void 0)}function S(){return O}function P(){}function I(t){return t.dispose()}w.event=function(t,n){return new w(b,t,n)},w.end=function(t,n){return new w(k,t,n)},w.error=function(t,n){return new w(g,t,n)},w.prototype.dispose=function(){this.active=!1},w.prototype.run=function(t){this.active&&this._run(t,this.value,this.sink)},w.prototype.error=function(t,n){if(!this.active)return _(n);this.sink.error(t,n)},x.prototype.run=function(t,n){return n.asap(new w(A,this.value,t))},P.prototype.run=function(t,n){var e=w.end(void 0,t);return n.asap(e),a(I,e)};var O=new r(new P);function U(){return T}function R(){}R.prototype.run=function(){return p()};var N,T=new r(new R);function M(t){this.array=t}function j(t,n,e){for(var r=0,i=n.length;r=0&&o.active&&(o.time=o.time+o.period,et(o,e)))}return e}function et(t,n){var e=n.length;if(0!==e){var r=it(t.time,n);r>=e?n.push(ot(t.time,[t])):t.time===n[r].time?n[r].events.push(t):n.splice(r,0,ot(t.time,[t]))}else n.push(ot(t.time,[t]))}function rt(t,n){n.events=i.xY(t,n.events)}function it(t,n){for(var e,r,i=0,o=n.length;i=0&&n=0)return this.tasks[n].events.splice(e,1),!0}return!1},tt.prototype.removeAll=function(t){for(var n=0,e=this.tasks.length;n1){for(var i=new Array(r),o=0;o0&&(this.hasValue[t]||(this.hasValue[t]=!0,this.awaiting-=1)),this.awaiting},_n.prototype.end=function(t,n){f(t,this.disposables[n.index],this.sink),0==--this.activeCount&&this.sink.end(t,n.value)},bn.prototype.run=function(t,n){var e,r=this.transducer(new En(t));return this.source.run(new kn("function"==typeof(e=r)["@@transducer/step"]?new xn(e):new An(e),t),n)},kn.prototype.event=function(t,n){var e=this.xf.step(t,n);return this.xf.isReduced(e)?this.sink.end(t,this.xf.getResult(e)):e},kn.prototype.end=function(t,n){return this.xf.result(n)},kn.prototype.error=function(t,n){return this.sink.error(t,n)},En.prototype["@@transducer/init"]=En.prototype.init=function(){},En.prototype["@@transducer/step"]=En.prototype.step=function(t,n){return isNaN(t)||(this.time=Math.max(t,this.time)),this.sink.event(this.time,n)},En.prototype["@@transducer/result"]=En.prototype.result=function(t){return this.sink.end(this.time,t)},xn.prototype.step=function(t,n){return this.tx["@@transducer/step"](t,n)},xn.prototype.result=function(t){return this.tx["@@transducer/result"](t)},xn.prototype.isReduced=function(t){return null!=t&&t["@@transducer/reduced"]},xn.prototype.getResult=function(t){return t["@@transducer/value"]},An.prototype.step=function(t,n){return this.tx.step(t,n)},An.prototype.result=function(t){return this.tx.result(t)},An.prototype.isReduced=function(t){return null!=t&&t.__transducers_reduced__},An.prototype.getResult=function(t){return t.value},Sn.prototype.add=function(t){null!==this.head&&(this.head.prev=t,t.next=this.head),this.head=t,++this.length},Sn.prototype.remove=function(t){--this.length,t===this.head&&(this.head=this.head.next),null!==t.next&&(t.next.prev=t.prev,t.next=null),null!==t.prev&&(t.prev.next=t.next,t.prev=null)},Sn.prototype.isEmpty=function(){return 0===this.length},Sn.prototype.dispose=function(){if(this.isEmpty())return Promise.resolve();var t=[],n=this.head;for(this.head=null,this.length=0;null!==n;)t.push(n.dispose()),n=n.next;return Promise.all(t)},On.prototype.run=function(t,n){return new Un(this.f,this.concurrency,this.source,t,n)},Un.prototype.event=function(t,n){this._addInner(t,n)},Un.prototype._addInner=function(t,n){this.current.lengthn&&function(t,n,e,r,i){for(var o=0;o0?this.skip-=1:0!==this.take&&(this.take-=1,this.sink.event(t,n),0===this.take&&(this.disposable.dispose(),this.sink.end(t,n)))},Ee.prototype.run=function(t,n){var e=y(),r=new xe(this.p,t,e);return e.setDisposable(this.source.run(r,n)),e},xe.prototype.end=kt.prototype.end,xe.prototype.error=kt.prototype.error,xe.prototype.event=function(t,n){if(this.active){var e=this.p;this.active=e(n),this.active?this.sink.event(t,n):(this.disposable.dispose(),this.sink.end(t,n))}},Se.prototype.run=function(t,n){return this.source.run(new Pe(this.p,t),n)},Pe.prototype.end=kt.prototype.end,Pe.prototype.error=kt.prototype.error,Pe.prototype.event=function(t,n){if(this.skipping){var e=this.p;if(this.skipping=e(n),this.skipping)return}this.sink.event(t,n)},Oe.prototype.run=function(t,n){return this.source.run(new Ue(this.p,t),n)},Ue.prototype.event=function(t,n){if(!this.skipping){var e=this.p;this.skipping=e(n),this.sink.event(t,n),this.skipping&&this.sink.end(t,n)}},Ue.prototype.end=kt.prototype.end,Ue.prototype.error=kt.prototype.error,Me.prototype.run=function(t,n){var e=new Fe(-1/0,t),r=new De(this.maxSignal,t,n);return h([e,r,this.source.run(new Be(e,r,t),n)])},je.prototype.run=function(t,n){var e=new We(this.minSignal,t,n),r=new Fe(1/0,t);return h([e,r,this.source.run(new Be(e,r,t),n)])},Fe.prototype.error=kt.prototype.error,Fe.prototype.event=qe,Fe.prototype.end=qe,Fe.prototype.dispose=qe,Be.prototype.event=function(t,n){t>=this.min.value&&t=this.time&&(this.time=t+this.period,this.sink.event(t,n))},Ye.prototype.end=kt.prototype.end,Ye.prototype.error=kt.prototype.error,He.prototype.run=function(t,n){return new Ke(this.dt,this.source,t,n)},Ke.prototype.event=function(t,n){this._clearTimer(),this.value=n,this.timer=this.scheduler.delay(this.dt,new tr(this,n))},Ke.prototype._event=function(t,n){this._clearTimer(),this.sink.event(t,n)},Ke.prototype.end=function(t,n){this._clearTimer()&&(this.sink.event(t,this.value),this.value=void 0),this.sink.end(t,n)},Ke.prototype.error=function(t,n){this._clearTimer(),this.sink.error(t,n)},Ke.prototype.dispose=function(){return this._clearTimer(),this.disposable.dispose()},Ke.prototype._clearTimer=function(){return null!==this.timer&&(this.timer.dispose(),this.timer=null,!0)},tr.prototype.run=function(t){this.debounce._event(t,this.value)},tr.prototype.error=function(t,n){this.debounce.error(t,n)},tr.prototype.dispose=function(){},rr.prototype.run=function(t,n){return new ir(this.source,t,n)},ir.prototype.dispose=function(){return this.active=!1,this.disposable.dispose()},ir.prototype.event=function(t,n){var e=this;this.queue=this.queue.then((function(){return e._event(n)})).catch(this._errorBound)},ir.prototype.end=function(t,n){var e=this;this.queue=this.queue.then((function(){return e._end(n)})).catch(this._errorBound)},ir.prototype.error=function(t,n){var e=this;this.queue=this.queue.then((function(){return e._errorBound(n)})).catch(_)},ir.prototype._event=function(t){return t.then(this._eventBound)},ir.prototype._end=function(t){return Promise.resolve(t).then(this._endBound)},or.prototype.event=function(t,n){this.active&&this.sink.event(t,n)},or.prototype.end=function(t,n){this.active&&(this.disable(),this.sink.end(t,n))},or.prototype.error=function(t,n){this.disable(),this.sink.error(t,n)},or.prototype.disable=function(){return this.active=!1,this.sink};var sr=ur;function cr(t){return new r(new fr(t))}function fr(t){this.value=t}function ar(t,n,e){e.error(t,n)}function pr(t,n){this.f=t,this.source=n}function hr(t,n,e,r){this.f=t,this.sink=new or(e),this.scheduler=r,this.disposable=n.run(this,r)}fr.prototype.run=function(t,n){return n.asap(new w(ar,this.value,t))},pr.prototype.run=function(t,n){return new hr(this.f,this.source,t,n)},hr.prototype.event=function(t,n){q(t,n,this.sink)},hr.prototype.end=function(t,n){$(t,n,this.sink)},hr.prototype.error=function(t,n){var e=this.sink.disable();f(t,this.disposable,this.sink),this._startNext(t,n,e)},hr.prototype._startNext=function(t,n,e){try{this.disposable=this._continue(this.f,n,e)}catch(n){e.error(t,n)}},hr.prototype._continue=function(t,n,e){return t(n).source.run(e,this.scheduler)},hr.prototype.dispose=function(){return this.disposable.dispose()};var lr=e(8278);const dr=e(7076).getPolyfill,yr=(0,e(4959).default)(dr());r.of=E,r.empty=S,r.from=V,r.prototype.subscribe=function(t){return function(t,n){if(Object(t)!==t)throw new TypeError("subscriber must be an object");var e=y(),r=new st(_,t,e);return e.setDisposable(n.source.run(r,ut)),new ct(e)}(t,this)},r.prototype[yr]=function(){return this},r.prototype.thru=function(t){return function(t,n){return t(n)}(t,this)},r.prototype.observe=r.prototype.forEach=function(t){return Mt(t,this)},r.prototype.drain=function(){return jt(this)},r.prototype.loop=function(t,n){return Ft(t,n,this)},r.prototype.scan=function(t,n){return Dt(t,n,this)},r.prototype.reduce=function(t,n){return Gt(t,n,this)},r.prototype.concat=function(t){return fn(this,t)},r.prototype.startWith=function(t){return cn(t,this)},r.prototype.map=function(t){return Ot(t,this)},r.prototype.ap=function(t){return wn(this,t)},r.prototype.constant=function(t){return Ut(t,this)},r.prototype.tap=function(t){return Rt(t,this)},r.prototype.transduce=function(t){return gn(t,this)},r.prototype.chain=function(t){return Nn(t,this)},r.prototype.flatMap=r.prototype.chain,r.prototype.join=function(){return Tn(this)},r.prototype.continueWith=function(t){return on(t,this)},r.prototype.flatMapEnd=r.prototype.continueWith,r.prototype.concatMap=function(t){return Mn(t,this)},r.prototype.mergeConcurrently=function(t){return Pn(t,this)},r.prototype.merge=function(){return Wn(i.QI(this,arguments))},r.prototype.combine=function(t){return yn(t,i.gx(this,0,arguments))},r.prototype.sampleWith=function(t){return Cn(t,this)},r.prototype.sample=function(t){return Ln(t,this,i.Gb(arguments))},r.prototype.zip=function(t){return ne(t,i.gx(this,0,arguments))},r.prototype.switchLatest=function(){return ue(this)},r.prototype.switch=r.prototype.switchLatest,r.prototype.filter=function(t){return ae(t,this)},r.prototype.skipRepeats=function(){return pe(this)},r.prototype.skipRepeatsWith=function(t){return he(t,this)},r.prototype.take=function(t){return ve(t,this)},r.prototype.skip=function(t){return me(t,this)},r.prototype.slice=function(t,n){return _e(t,n,this)},r.prototype.takeWhile=function(t){return ke(t,this)},r.prototype.skipWhile=function(t){return Ae(t,this)},r.prototype.skipAfter=function(t){return Ie(t,this)},r.prototype.until=function(t){return Re(t,this)},r.prototype.takeUntil=r.prototype.until,r.prototype.since=function(t){return Ne(t,this)},r.prototype.skipUntil=r.prototype.since,r.prototype.during=function(t){return Te(t,this)},r.prototype.delay=function(t){return $e(t,this)},r.prototype.timestamp=function(){return Le(this)},r.prototype.throttle=function(t){return Je(t,this)},r.prototype.debounce=function(t){return Qe(t,this)},r.prototype.awaitPromises=function(){return er(this)},r.prototype.await=r.prototype.awaitPromises,r.prototype.recoverWith=function(t){return sr(t,this)},r.prototype.flatMapError=r.prototype.recoverWith,r.prototype.multicast=function(){return(0,lr.Z)(this)}},1219:(t,n,e)=>{"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,u=e(3401),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),f=s.call((function(){}),"prototype"),a=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(t){var n=t.constructor;return n&&n.prototype===t},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},l=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!h["$"+t]&&i.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{p(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(t){var n=null!==t&&"object"==typeof t,e="[object Function]"===o.call(t),r=u(t),s=n&&"[object String]"===o.call(t),h=[];if(!n&&!e&&!r)throw new TypeError("Object.keys called on a non-object");var d=f&&e;if(s&&t.length>0&&!i.call(t,0))for(var y=0;y0)for(var v=0;v{"use strict";var r=Array.prototype.slice,i=e(3401),o=Object.keys,u=o?function(t){return o(t)}:e(1219),s=Object.keys;u.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return i(t)?s(r.call(t)):s(t)})}else Object.keys=u;return Object.keys||u},t.exports=u},3401:t=>{"use strict";var n=Object.prototype.toString;t.exports=function(t){var e=n.call(t),r="[object Arguments]"===e;return r||(r="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===n.call(t.callee)),r}},575:(t,n,e)=>{"use strict";var r=e(8982),i=e(3454),o=e(7311),u=e(1949);function s(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function c(t){for(var n=t.length,e=0;e=0;--i)r=e(r,t[i]);return r}function x(t,n,e,i){for(var o=e,u=r.int_min(t.length,n.length)-1|0;u>=0;--u)o=i(o,t[u],n[u]);return o}function A(t,n,e){for(var r=n,i=0,o=t.length;ii)return 1;if(r=0&&n=0&&n=0&&n=0&&ni?e-i|0:0,u=new Array(o),s=0;s=0;--h)e[h+f|0]=t[h+c|0]},n.blitUnsafe=function(t,n,e,r,i){if(r<=n)for(var o=0;o=0;--u)e[u+r|0]=t[u+n|0]},n.forEachU=l,n.forEach=function(t,n){l(t,i.__1(n))},n.mapU=d,n.map=function(t,n){return d(t,i.__1(n))},n.flatMapU=function(t,n){return h(d(t,n))},n.flatMap=function(t,n){return h(d(t,i.__1(n)))},n.getByU=y,n.getBy=function(t,n){return y(t,i.__1(n))},n.getIndexByU=v,n.getIndexBy=function(t,n){return v(t,i.__1(n))},n.keepU=m,n.keep=function(t,n){return m(t,i.__1(n))},n.keepWithIndexU=_,n.keepWithIndex=function(t,n){return _(t,i.__2(n))},n.keepMapU=w,n.keepMap=function(t,n){return w(t,i.__1(n))},n.forEachWithIndexU=g,n.forEachWithIndex=function(t,n){g(t,i.__2(n))},n.mapWithIndexU=b,n.mapWithIndex=function(t,n){return b(t,i.__2(n))},n.partitionU=T,n.partition=function(t,n){return T(t,i.__1(n))},n.reduceU=k,n.reduce=function(t,n,e){return k(t,n,i.__2(e))},n.reduceReverseU=E,n.reduceReverse=function(t,n,e){return E(t,n,i.__2(e))},n.reduceReverse2U=x,n.reduceReverse2=function(t,n,e,r){return x(t,n,e,i.__3(r))},n.reduceWithIndexU=A,n.reduceWithIndex=function(t,n,e){return A(t,n,i.__3(e))},n.joinWithU=M,n.joinWith=function(t,n,e){return M(t,n,i.__1(e))},n.someU=P,n.some=function(t,n){return P(t,i.__1(n))},n.everyU=S,n.every=function(t,n){return S(t,i.__1(n))},n.every2U=O,n.every2=function(t,n,e){return O(t,n,i.__2(e))},n.some2U=U,n.some2=function(t,n,e){return U(t,n,i.__2(e))},n.cmpU=N,n.cmp=function(t,n,e){return N(t,n,i.__2(e))},n.eqU=R,n.eq=function(t,n,e){return R(t,n,i.__2(e))},n.initU=j,n.init=function(t,n){return j(t,i.__1(n))}},2868:(t,n,e)=>{"use strict";var r=e(3454),i=e(575),o=e(1949),u=e(4369);function s(t,n){for(;;){var e=n,r=t;if(!r)return e;var i={hd:r.hd,tl:0};e.tl=i,n=i,t=r.tl}}function c(t,n,e){for(;;){var r=e,i=n;if(!i)return;var o=i.tl,u=i.hd;if(t(u)){var s={hd:u,tl:0};r.tl=s,e=s,n=o}else n=o}}function f(t,n,e,r){for(;;){var i=r,o=e,u=n;if(!u)return;var s=u.tl,c=u.hd;if(t(c,i)){var f={hd:c,tl:0};o.tl=f,r=i+1|0,e=f,n=s}else r=i+1|0,n=s}}function a(t,n,e){for(;;){var r=e,i=n;if(!i)return;var u=i.tl,s=t(i.hd);if(void 0===s)n=u;else{var c={hd:o.valFromOption(s),tl:0};r.tl=c,e=c,n=u}}}function p(t,n){if(!t)return n;var e={hd:t.hd,tl:0};return s(t.tl,e).tl=n,e}function h(t,n){if(!t)return 0;var e={hd:n(t.hd),tl:0};return function(t,n,e){for(;;){var r=n,i=t;if(!i)return;var o={hd:e(i.hd),tl:0};r.tl=o,n=o,t=i.tl}}(t.tl,e,n),e}function l(t,n,e){if(!t)return 0;if(!n)return 0;var r={hd:e(t.hd,n.hd),tl:0};return function(t,n,e,r){for(;;){var i=r,o=e,u=n;if(!u)return;if(!o)return;var s={hd:t(u.hd,o.hd),tl:0};i.tl=s,r=s,e=o.tl,n=u.tl}}(e,t.tl,n.tl,r),r}function d(t,n){if(!t)return 0;var e={hd:n(0,t.hd),tl:0};return function(t,n,e,r){for(;;){var i=r,o=e,u=n;if(!o)return;var s={hd:t(u,o.hd),tl:0};i.tl=s,r=s,e=o.tl,n=u+1|0}}(n,1,t.tl,e),e}function y(t,n){if(t<=0)return 0;for(var e={hd:n(0),tl:0},r=e,i=1;i=0;--i)r=p(t[i],r);return r},n.reverseConcat=w,n.flatten=function(t){for(;;){var n=t;if(!n)return 0;var e=n.hd;if(e){var r={hd:e.hd,tl:0};return g(s(e.tl,r),n.tl),r}t=n.tl}},n.mapU=h,n.map=function(t,n){return h(t,r.__1(n))},n.zip=function(t,n){if(!t)return 0;if(!n)return 0;var e={hd:[t.hd,n.hd],tl:0};return function(t,n,e){for(;;){var r=e,i=n,o=t;if(!o)return;if(!i)return;var u={hd:[o.hd,i.hd],tl:0};r.tl=u,e=u,n=i.tl,t=o.tl}}(t.tl,n.tl,e),e},n.zipByU=l,n.zipBy=function(t,n,e){return l(t,n,r.__2(e))},n.mapWithIndexU=d,n.mapWithIndex=function(t,n){return d(t,r.__2(n))},n.fromArray=m,n.toArray=_,n.reverse=function(t){return w(t,0)},n.mapReverseU=b,n.mapReverse=function(t,n){return b(t,r.__1(n))},n.forEachU=k,n.forEach=function(t,n){k(t,r.__1(n))},n.forEachWithIndexU=E,n.forEachWithIndex=function(t,n){E(t,r.__2(n))},n.reduceU=x,n.reduce=function(t,n,e){return x(t,n,r.__2(e))},n.reduceWithIndexU=P,n.reduceWithIndex=function(t,n,e){return P(t,n,r.__3(e))},n.reduceReverseU=S,n.reduceReverse=function(t,n,e){return S(t,n,r.__2(e))},n.mapReverse2U=I,n.mapReverse2=function(t,n,e){return I(t,n,r.__2(e))},n.forEach2U=O,n.forEach2=function(t,n,e){O(t,n,r.__2(e))},n.reduce2U=U,n.reduce2=function(t,n,e,i){return U(t,n,e,r.__3(i))},n.reduceReverse2U=N,n.reduceReverse2=function(t,n,e,i){return N(t,n,e,r.__3(i))},n.everyU=T,n.every=function(t,n){return T(t,r.__1(n))},n.someU=M,n.some=function(t,n){return M(t,r.__1(n))},n.every2U=j,n.every2=function(t,n,e){return j(t,n,r.__2(e))},n.some2U=W,n.some2=function(t,n,e){return W(t,n,r.__2(e))},n.cmpByLength=function(t,n){for(;;){var e=t;if(!e)return n?-1:0;if(!n)return 1;n=n.tl,t=e.tl}},n.cmpU=F,n.cmp=function(t,n,e){return F(t,n,r.__2(e))},n.eqU=B,n.eq=function(t,n,e){return B(t,n,r.__2(e))},n.hasU=D,n.has=function(t,n,e){return D(t,n,r.__2(e))},n.getByU=V,n.getBy=function(t,n){return V(t,r.__1(n))},n.keepU=z,n.keep=J,n.filter=K,n.keepWithIndexU=X,n.keepWithIndex=Z,n.filterWithIndex=tt,n.keepMapU=Y,n.keepMap=function(t,n){return Y(t,r.__1(n))},n.partitionU=Q,n.partition=function(t,n){return Q(t,r.__1(n))},n.unzip=function(t){if(!t)return[0,0];var n=t.hd,e={hd:n[0],tl:0},r={hd:n[1],tl:0};return function(t,n,e){for(;;){var r=e,i=n,o=t;if(!o)return;var u=o.hd,s={hd:u[0],tl:0},c={hd:u[1],tl:0};i.tl=s,r.tl=c,e=c,n=s,t=o.tl}}(t.tl,e,r),[e,r]},n.getAssocU=q,n.getAssoc=function(t,n,e){return q(t,n,r.__2(e))},n.hasAssocU=$,n.hasAssoc=function(t,n,e){return $(t,n,r.__2(e))},n.removeAssocU=G,n.removeAssoc=function(t,n,e){return G(t,n,r.__2(e))},n.setAssocU=C,n.setAssoc=function(t,n,e,i){return C(t,n,e,r.__2(i))},n.sortU=L,n.sort=function(t,n){return L(t,r.__2(n))}},7992:(t,n,e)=>{"use strict";var r=e(3454),i=e(1949);function o(t,n){if(void 0!==t&&n(i.valFromOption(t)))return t}function u(t,n){if(void 0!==t)return n(i.valFromOption(t))}function s(t,n,e){return void 0!==t?e(i.valFromOption(t)):n}function c(t,n){if(void 0!==t)return i.some(n(i.valFromOption(t)))}function f(t,n){if(void 0!==t)return n(i.valFromOption(t))}function a(t,n,e){return void 0!==t?void 0!==n&&e(i.valFromOption(t),i.valFromOption(n)):void 0===n}function p(t,n,e){return void 0!==t?void 0!==n?e(i.valFromOption(t),i.valFromOption(n)):1:void 0!==n?-1:0}n.keepU=o,n.keep=function(t,n){return o(t,r.__1(n))},n.forEachU=u,n.forEach=function(t,n){u(t,r.__1(n))},n.getExn=function(t){if(void 0!==t)return i.valFromOption(t);throw{RE_EXN_ID:"Not_found",Error:new Error}},n.mapWithDefaultU=s,n.mapWithDefault=function(t,n,e){return s(t,n,r.__1(e))},n.mapU=c,n.map=function(t,n){return c(t,r.__1(n))},n.flatMapU=f,n.flatMap=function(t,n){return f(t,r.__1(n))},n.getWithDefault=function(t,n){return void 0!==t?i.valFromOption(t):n},n.orElse=function(t,n){return void 0!==t?t:n},n.isSome=function(t){return void 0!==t},n.isNone=function(t){return void 0===t},n.eqU=a,n.eq=function(t,n,e){return a(t,n,r.__2(e))},n.cmpU=p,n.cmp=function(t,n,e){return p(t,n,r.__2(e))}},4369:(t,n,e)=>{"use strict";var r=e(3454),i=e(575);function o(t,n){var e=t.length;if(0===e||1===e)return e;var r=t[0],i=t[1];if(!n(r,i))return n(i,r)?0|-function(t,n,e,r,i){for(;;){var o=e,u=n;if(o>=r)return o;var s=t[o];if(!i(s,u))return o;e=o+1|0,n=s}}(t,i,2,e,n):1;for(var o=i,u=2;;){var s=u,c=o;if(s>=e)return s;var f=t[s];if(!n(c,f))return s;u=s+1|0,o=f}}function u(t,n){var e=t.length;if(0===e)return!0;for(var r=0,i=e-1|0;;){var o=r;if(o===i)return!0;if(n(t[o],t[o+1|0])>0)return!1;r=o+1|0}}function s(t,n,e,r,o,u,s,c,f){for(var a=n+e|0,p=o+u|0,h=n,l=t[n],d=o,y=r[o],v=c;;){var m=v,_=y,w=d,g=l,b=h;if(f(g,_)<=0){s[m]=g;var k=b+1|0;if(k>=a)return i.blitUnsafe(r,w,s,m+1|0,p-w|0);v=m+1|0,l=t[k],h=k}else{s[m]=_;var E=w+1|0;if(E>=p)return i.blitUnsafe(t,b,s,m+1|0,a-b|0);v=m+1|0,y=r[E],d=E}}}function c(t,n,e,r,o,u,s,c,f){for(var a=n+e|0,p=o+u|0,h=n,l=t[n],d=o,y=r[o],v=c;;){var m=v,_=y,w=d,g=l,b=h,k=f(g,_);if(k<0){s[m]=g;var E=b+1|0,x=m+1|0;if(E=f)return v;h=t[b],p=b}else if(0!==g){var k=m+1|0;if(k>=a)return v;d=r[k],l=k}else{u[v]=_;var E=w+1|0,x=m+1|0,A=v+1|0;if(!(E=a)return k;v=k,l=t[E],h=E}else if(0!==b){var x=_+1|0;if(!(x=r&&o(e[c],s)>0;)e[c+1|0]=e[c],c=c-1|0;e[c+1|0]=s}}function h(t,n,e,r,i,o){if(i<=5)return p(t,n,e,r,i,o);var u=i/2|0,c=i-u|0;h(t,n+u|0,e,r+u|0,c,o),h(t,n,t,n+c|0,u,o),s(t,n+c|0,u,e,r+u|0,c,e,r,o)}function l(t,n){var e=t.length;if(e<=5)return p(t,0,t,0,e,n);var r=e/2|0,i=e-r|0,o=new Array(i);h(t,r,o,0,i,n),h(t,0,t,i,r,n),s(t,i,r,o,0,i,t,0,n)}function d(t,n){var e=t.slice(0);return l(e,n),e}function y(t,n,e){var r=t.length;if(0===r)return-1;if(e(n,t[0])<0)return-1;if(e(n,t[r-1|0])>0)return 0|-(r+1|0);for(var i=0,o=r-1|0;;){var u=o,s=i,c=(s+u|0)/2|0,f=e(n,t[c]);if(0===f)return c;if(f<0){if(u===c)return 0===e(t[s],n)?s:0|-(u+1|0);o=c}else{if(s===c)return 0===e(t[u],n)?u:0|-(u+1|0);i=c}}}n.Int=void 0,n.$$String=void 0,n.strictlySortedLengthU=o,n.strictlySortedLength=function(t,n){return o(t,r.__2(n))},n.isSortedU=u,n.isSorted=function(t,n){return u(t,r.__2(n))},n.stableSortInPlaceByU=l,n.stableSortInPlaceBy=function(t,n){l(t,r.__2(n))},n.stableSortByU=d,n.stableSortBy=function(t,n){return d(t,r.__2(n))},n.binarySearchByU=y,n.binarySearchBy=function(t,n,e){return y(t,n,r.__2(e))},n.unionU=c,n.union=function(t,n,e,i,o,u,s,f,a){return c(t,n,e,i,o,u,s,f,r.__2(a))},n.intersectU=f,n.intersect=function(t,n,e,i,o,u,s,c,a){return f(t,n,e,i,o,u,s,c,r.__2(a))},n.diffU=a,n.diff=function(t,n,e,i,o,u,s,c,f){return a(t,n,e,i,o,u,s,c,r.__2(f))}},8982:(t,n)=>{"use strict";function e(t,n){return t[1]===n[1]&&t[0]===n[0]}function r(t,n){var e=n[0],r=t[0];return r>e||!(r=n[1]}function i(t,n){return t[0]>n[0]||!(t[0]n[1]}n.int_compare=function(t,n){return tn||t==t?1:n==n?-1:0},n.string_compare=function(t,n){return t===n?0:tn?t:n},n.float_max=function(t,n){return t>n?t:n},n.string_max=function(t,n){return t>n?t:n},n.i64_eq=e,n.i64_neq=function(t,n){return!e(t,n)},n.i64_lt=function(t,n){return!r(t,n)},n.i64_gt=i,n.i64_le=function(t,n){return!i(t,n)},n.i64_ge=r,n.i64_min=function(t,n){return r(t,n)?n:t},n.i64_max=function(t,n){return i(t,n)?t:n}},8667:(t,n)=>{"use strict";n.dup=function(t){return t.slice(0)},n.sub=function(t,n,e){for(var r=new Array(e),i=0,o=n;i=0;--u)e[u+r|0]=t[u+n|0]},n.get=function(t,n){if(n<0||n>=t.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return t[n]},n.set=function(t,n,e){if(n<0||n>=t.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};t[n]=e}},7470:(t,n)=>{"use strict";var e={contents:0};n.id=e,n.create=function(t){return e.contents=e.contents+1|0,t+"/"+e.contents},n.is_extension=function(t){return null!=t&&"string"==typeof t.RE_EXN_ID},n.exn_slot_name=function(t){return t.RE_EXN_ID}},1948:(t,n,e)=>{"use strict";var r=e(1949),i=e(7470),o="JsError";n.$$Error=o,n.internalToOCamlException=function(t){return i.is_extension(t)?t:{RE_EXN_ID:"JsError",_1:t}},n.as_js_exn=function(t){if(t.RE_EXN_ID===o)return r.some(t._1)}},4541:(t,n,e)=>{"use strict";var r=e(8982),i=function(t,n){for(var e in t)n(e)};function o(t,n){if(t===n)return 0;var e=typeof t,i=typeof n;switch(e){case"boolean":if("boolean"===i)return r.bool_compare(t,n);break;case"function":if("function"===i)throw{RE_EXN_ID:"Invalid_argument",_1:"compare: functional value",Error:new Error};break;case"number":if("number"===i)return r.float_compare(t,n);break;case"string":return"string"===i?r.string_compare(t,n):1;case"undefined":return-1}switch(i){case"string":return-1;case"undefined":return 1;default:if("boolean"===e)return 1;if("boolean"===i)return-1;if("function"===e)return 1;if("function"===i)return-1;if("number"===e)return null===n||void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if("number"===i)return null===t||void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(null===t)return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if(null===n)return void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(void 0!==t.BS_PRIVATE_NESTED_SOME_NONE)return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?u(t,n):-1;var s=0|t.TAG,c=0|n.TAG;if(248===s)return r.int_compare(t[1],n[1]);if(251===s)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(s!==c)return s0){var i=e.contents;return void 0!==i&&n>=i?void 0:void(e.contents=n)}},c=[t,n,u],f=[n,t,e];i(t,(function(t){return s(c,t)})),i(n,(function(t){return s(f,t)}));var a=e.contents,p=u.contents;return void 0!==a?void 0!==p?r.string_compare(a,p):-1:void 0!==p?1:0}function s(t,n){if(t===n)return!0;var e=typeof t;if("string"===e||"number"===e||"boolean"===e||"undefined"===e||null===t)return!1;var r=typeof n;if("function"===e||"function"===r)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if("number"===r||"undefined"===r||null===n)return!1;var o=0|t.TAG,u=0|n.TAG;if(248===o)return t[1]===n[1];if(251===o)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(o!==u)return!1;var c=0|t.length;if(c!==(0|n.length))return!1;if(!Array.isArray(t)){if(t instanceof Date&&n instanceof Date)return!(t>n||t=n:o(t,n)>=0},n.greaterthan=function(t,n){return"number"==typeof t&&"number"==typeof n?t>n:o(t,n)>0},n.lessthan=function(t,n){return"number"==typeof t&&"number"==typeof n?t=0?t:n}},1949:(t,n)=>{"use strict";function e(t){return void 0===t?{BS_PRIVATE_NESTED_SOME_NONE:0}:null!==t&&void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?{BS_PRIVATE_NESTED_SOME_NONE:t.BS_PRIVATE_NESTED_SOME_NONE+1|0}:t}function r(t){if(null===t||void 0===t.BS_PRIVATE_NESTED_SOME_NONE)return t;var n=t.BS_PRIVATE_NESTED_SOME_NONE;return 0===n?void 0:{BS_PRIVATE_NESTED_SOME_NONE:n-1|0}}n.nullable_to_opt=function(t){return null==t?void 0:e(t)},n.undefined_to_opt=function(t){return void 0===t?void 0:e(t)},n.null_to_opt=function(t){return null===t?void 0:e(t)},n.valFromOption=r,n.some=e,n.isNested=function(t){return void 0!==t.BS_PRIVATE_NESTED_SOME_NONE},n.option_get=function(t){return void 0===t?void 0:r(t)},n.option_unwrap=function(t){return void 0!==t?t.VAL:t}},5868:(t,n)=>{"use strict";n.spliceApply=function(t,n){var e,r;r=n.length;var i=[];for(e=0;e{"use strict";var r=e(8667);function i(t,n){for(;;){var e=n,o=t,u=o.length,s=0===u?1:u,c=s-e.length|0;if(0===c)return o.apply(null,e);if(c>=0)return function(t,n){return function(e){return i(t,n.concat([e]))}}(o,e);n=r.sub(e,s,0|-c),t=o.apply(null,r.sub(e,0,s))}}function o(t,n){var e=t.length;if(1===e)return t(n);switch(e){case 1:return t(n);case 2:return function(e){return t(n,e)};case 3:return function(e,r){return t(n,e,r)};case 4:return function(e,r,i){return t(n,e,r,i)};case 5:return function(e,r,i,o){return t(n,e,r,i,o)};case 6:return function(e,r,i,o,u){return t(n,e,r,i,o,u)};case 7:return function(e,r,i,o,u,s){return t(n,e,r,i,o,u,s)};default:return i(t,[n])}}function u(t,n,e){var r=t.length;if(2===r)return t(n,e);switch(r){case 1:return i(t(n),[e]);case 2:return t(n,e);case 3:return function(r){return t(n,e,r)};case 4:return function(r,i){return t(n,e,r,i)};case 5:return function(r,i,o){return t(n,e,r,i,o)};case 6:return function(r,i,o,u){return t(n,e,r,i,o,u)};case 7:return function(r,i,o,u,s){return t(n,e,r,i,o,u,s)};default:return i(t,[n,e])}}function s(t,n,e,r){var o=t.length;if(3===o)return t(n,e,r);switch(o){case 1:return i(t(n),[e,r]);case 2:return i(t(n,e),[r]);case 3:return t(n,e,r);case 4:return function(i){return t(n,e,r,i)};case 5:return function(i,o){return t(n,e,r,i,o)};case 6:return function(i,o,u){return t(n,e,r,i,o,u)};case 7:return function(i,o,u,s){return t(n,e,r,i,o,u,s)};default:return i(t,[n,e,r])}}function c(t,n,e,r,o){var u=t.length;if(4===u)return t(n,e,r,o);switch(u){case 1:return i(t(n),[e,r,o]);case 2:return i(t(n,e),[r,o]);case 3:return i(t(n,e,r),[o]);case 4:return t(n,e,r,o);case 5:return function(i){return t(n,e,r,o,i)};case 6:return function(i,u){return t(n,e,r,o,i,u)};case 7:return function(i,u,s){return t(n,e,r,o,i,u,s)};default:return i(t,[n,e,r,o])}}function f(t,n,e,r,o,u){var s=t.length;if(5===s)return t(n,e,r,o,u);switch(s){case 1:return i(t(n),[e,r,o,u]);case 2:return i(t(n,e),[r,o,u]);case 3:return i(t(n,e,r),[o,u]);case 4:return i(t(n,e,r,o),[u]);case 5:return t(n,e,r,o,u);case 6:return function(i){return t(n,e,r,o,u,i)};case 7:return function(i,s){return t(n,e,r,o,u,i,s)};default:return i(t,[n,e,r,o,u])}}function a(t,n,e,r,o,u,s){var c=t.length;if(6===c)return t(n,e,r,o,u,s);switch(c){case 1:return i(t(n),[e,r,o,u,s]);case 2:return i(t(n,e),[r,o,u,s]);case 3:return i(t(n,e,r),[o,u,s]);case 4:return i(t(n,e,r,o),[u,s]);case 5:return i(t(n,e,r,o,u),[s]);case 6:return t(n,e,r,o,u,s);case 7:return function(i){return t(n,e,r,o,u,s,i)};default:return i(t,[n,e,r,o,u,s])}}function p(t,n,e,r,o,u,s,c){var f=t.length;if(7===f)return t(n,e,r,o,u,s,c);switch(f){case 1:return i(t(n),[e,r,o,u,s,c]);case 2:return i(t(n,e),[r,o,u,s,c]);case 3:return i(t(n,e,r),[o,u,s,c]);case 4:return i(t(n,e,r,o),[u,s,c]);case 5:return i(t(n,e,r,o,u),[s,c]);case 6:return i(t(n,e,r,o,u,s),[c]);case 7:return t(n,e,r,o,u,s,c);default:return i(t,[n,e,r,o,u,s,c])}}function h(t,n,e,r,o,u,s,c,f){var a=t.length;if(8===a)return t(n,e,r,o,u,s,c,f);switch(a){case 1:return i(t(n),[e,r,o,u,s,c,f]);case 2:return i(t(n,e),[r,o,u,s,c,f]);case 3:return i(t(n,e,r),[o,u,s,c,f]);case 4:return i(t(n,e,r,o),[u,s,c,f]);case 5:return i(t(n,e,r,o,u),[s,c,f]);case 6:return i(t(n,e,r,o,u,s),[c,f]);case 7:return i(t(n,e,r,o,u,s,c),[f]);default:return i(t,[n,e,r,o,u,s,c,f])}}n.app=i,n._1=o,n.__1=function(t){return 1===t.length?t:function(n){return o(t,n)}},n._2=u,n.__2=function(t){return 2===t.length?t:function(n,e){return u(t,n,e)}},n._3=s,n.__3=function(t){return 3===t.length?t:function(n,e,r){return s(t,n,e,r)}},n._4=c,n.__4=function(t){return 4===t.length?t:function(n,e,r,i){return c(t,n,e,r,i)}},n._5=f,n.__5=function(t){return 5===t.length?t:function(n,e,r,i,o){return f(t,n,e,r,i,o)}},n._6=a,n.__6=function(t){return 6===t.length?t:function(n,e,r,i,o,u){return a(t,n,e,r,i,o,u)}},n._7=p,n.__7=function(t){return 7===t.length?t:function(n,e,r,i,o,u,s){return p(t,n,e,r,i,o,u,s)}},n._8=h,n.__8=function(t){return 8===t.length?t:function(n,e,r,i,o,u,s,c){return h(t,n,e,r,i,o,u,s,c)}}},236:(t,n,e)=>{"use strict";var r=e(3454),i=e(1949),o=e(5868);n.copyWithin=function(t,n){return n.copyWithin(t)},n.copyWithinFrom=function(t,n,e){return e.copyWithin(t,n)},n.copyWithinFromRange=function(t,n,e,r){return r.copyWithin(t,n,e)},n.fillInPlace=function(t,n){return n.fill(t)},n.fillFromInPlace=function(t,n,e){return e.fill(t,n)},n.fillRangeInPlace=function(t,n,e,r){return r.fill(t,n,e)},n.push=function(t,n){return n.push(t)},n.pushMany=function(t,n){return o.spliceObjApply(n,"push",[t])},n.sortInPlaceWith=function(t,n){return n.sort(r.__2(t))},n.spliceInPlace=function(t,n,e,r){return o.spliceObjApply(r,"splice",[t,n,e])},n.removeFromInPlace=function(t,n){return n.splice(t)},n.removeCountInPlace=function(t,n,e){return e.splice(t,n)},n.unshift=function(t,n){return n.unshift(t)},n.unshiftMany=function(t,n){return o.spliceObjApply(n,"unshift",[t])},n.concat=function(t,n){return n.concat(t)},n.concatMany=function(t,n){return o.spliceObjApply(n,"concat",[t])},n.includes=function(t,n){return n.includes(t)},n.indexOf=function(t,n){return n.indexOf(t)},n.indexOfFrom=function(t,n,e){return e.indexOf(t,n)},n.joinWith=function(t,n){return n.join(t)},n.lastIndexOf=function(t,n){return n.lastIndexOf(t)},n.lastIndexOfFrom=function(t,n,e){return e.lastIndexOf(t,n)},n.slice=function(t,n,e){return e.slice(t,n)},n.sliceFrom=function(t,n){return n.slice(t)},n.every=function(t,n){return n.every(r.__1(t))},n.everyi=function(t,n){return n.every(r.__2(t))},n.filter=function(t,n){return n.filter(r.__1(t))},n.filteri=function(t,n){return n.filter(r.__2(t))},n.find=function(t,n){return i.undefined_to_opt(n.find(r.__1(t)))},n.findi=function(t,n){return i.undefined_to_opt(n.find(r.__2(t)))},n.findIndex=function(t,n){return n.findIndex(r.__1(t))},n.findIndexi=function(t,n){return n.findIndex(r.__2(t))},n.forEach=function(t,n){n.forEach(r.__1(t))},n.forEachi=function(t,n){n.forEach(r.__2(t))},n.map=function(t,n){return n.map(r.__1(t))},n.mapi=function(t,n){return n.map(r.__2(t))},n.reduce=function(t,n,e){return e.reduce(r.__2(t),n)},n.reducei=function(t,n,e){return e.reduce(r.__3(t),n)},n.reduceRight=function(t,n,e){return e.reduceRight(r.__2(t),n)},n.reduceRighti=function(t,n,e){return e.reduceRight(r.__3(t),n)},n.some=function(t,n){return n.some(r.__1(t))},n.somei=function(t,n){return n.some(r.__2(t))}},7261:(t,n,e)=>{"use strict";var r=e(1949);n.get=function(t,n){if(n in t)return r.some(t[n])},n.unsafeDeleteKey=function(t,n){delete t[n]},n.entries=function(t){for(var n=Object.keys(t),e=n.length,r=new Array(e),i=0;i{"use strict";n.$$Error="JsError",n.raiseError=function(t){throw new Error(t)},n.raiseEvalError=function(t){throw new EvalError(t)},n.raiseRangeError=function(t){throw new RangeError(t)},n.raiseReferenceError=function(t){throw new ReferenceError(t)},n.raiseSyntaxError=function(t){throw new SyntaxError(t)},n.raiseTypeError=function(t){throw new TypeError(t)},n.raiseUriError=function(t){throw new URIError(t)}},4890:(t,n)=>{"use strict";n.equal=function(t,n){return t===n},n.max=2147483647,n.min=-2147483648},7311:(t,n,e)=>{"use strict";var r=e(4890);function i(t){return t>r.max?r.max:tr.max?r.max:t{"use strict";var r=e(1949);function i(t){if(void 0!==t)return r.valFromOption(t)}var o=i;n.bind=function(t,n){return null==t?t:n(t)},n.iter=function(t,n){if(null!=t)return n(t)},n.fromOption=i,n.from_opt=o},1025:(t,n,e)=>{"use strict";var r=e(1949);function i(t,n){return void 0!==n?r.valFromOption(n):t}var o=i;n.some=function(t){return r.some(t)},n.isSome=function(t){return void 0!==t},n.isSomeValue=function(t,n,e){return void 0!==e&&t(n,r.valFromOption(e))},n.isNone=function(t){return void 0===t},n.getExn=function(t){if(void 0!==t)return r.valFromOption(t);throw new Error("getExn")},n.equal=function(t,n,e){return void 0!==n?void 0!==e&&t(r.valFromOption(n),r.valFromOption(e)):void 0===e},n.andThen=function(t,n){if(void 0!==n)return t(r.valFromOption(n))},n.map=function(t,n){if(void 0!==n)return r.some(t(r.valFromOption(n)))},n.getWithDefault=i,n.$$default=o,n.default=o,n.__esModule=!0,n.filter=function(t,n){if(void 0!==n){var e=r.valFromOption(n);return t(e)?r.some(e):void 0}},n.firstSome=function(t,n){return void 0!==t?t:void 0!==n?n:void 0}},2792:(t,n,e)=>{"use strict";var r=e(3454);n.then_=function(t,n){return n.then(r.__1(t))},n.$$catch=function(t,n){return n.catch(r.__1(t))}},3205:(t,n)=>{"use strict";n.default=function(t){var n,e=t.Symbol;if("function"==typeof e)if(e.observable)n=e.observable;else{n=e.for("https://github.com/benlesh/symbol-observable");try{e.observable=n}catch(t){}}else n="@@observable";return n}},4959:(t,n,e)=>{t.exports=e(3205)}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={id:r,loaded:!1,exports:{}};return t[r](o,o.exports,e),o.loaded=!0,o.exports}e.d=(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";var t=r,n=e(3447),i=e(3454),o=e(8667),u=e(8254),s=e(1149),c=function(t){var n=t.source;return!!n.event&&!!n.source};function f(t){return 0!==t.length?u.reduceOneParam(u.sliceFrom(t,1),(function(t,n){return c(t),s.concat(n,t)}),o.get(t,0)):n.just(1)}function a(t){var e=n.just(t);return n.map((function(t){return i._1(t,void 0)}),e)}t._isFromEventStream=c,t.concatArray=f,t.callFunc=a,t.getExtensionService=function(t){return{tap:function(t,e){return n.tap(t,e)},filter:function(t,e){return n.filter(t,e)},take:function(t,e){return n.take(t,e)},fromEvent:function(t,e,r){return n.fromEvent(t,e,r)},fromPromise:function(t){return n.fromPromise(t)},just:function(t){return n.just(t)},concat:s.concat,map:function(t,e){return n.map(t,e)},flatMap:function(t,e){return n.flatMap(t,e)},mergeArray:function(t){return n.mergeArray(t)},concatArray:f,callFunc:a,drain:function(t){return n.drain(t)}}},t.createExtensionState=function(t,n){},t.getExtensionLife=function(t,n){return{onRegister:null,onRestore:null,onDeepCopy:null,onStart:null,onInit:null,onUpdate:null}}})(),window.Extension=r})(); \ No newline at end of file diff --git a/packages/editor-whole/ui/extensions/meta3d-ui/dist/static/js/main.js b/packages/editor-whole/ui/extensions/meta3d-ui/dist/static/js/main.js index bbdf5354b..ea39057ad 100644 --- a/packages/editor-whole/ui/extensions/meta3d-ui/dist/static/js/main.js +++ b/packages/editor-whole/ui/extensions/meta3d-ui/dist/static/js/main.js @@ -1,388 +1 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js": -/*!***********************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_obj = __webpack_require__(/*! rescript/lib/js/caml_obj.js */ \"../../../../../node_modules/rescript/lib/js/caml_obj.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../../node_modules/rescript/lib/js/belt_List.js\");\nvar Js_option = __webpack_require__(/*! rescript/lib/js/js_option.js */ \"../../../../../node_modules/rescript/lib/js/js_option.js\");\n\nfunction _assert(result, message) {\n return result;\n}\n\nfunction test(message, func) {\n if (Curry._1(func, undefined)) {\n return ;\n } else {\n return Js_exn.raiseError(message);\n }\n}\n\nfunction requireCheck(f, isTest) {\n if (isTest) {\n return Curry._1(f, undefined);\n }\n \n}\n\nfunction ensureCheck(returnVal, f, isTest) {\n if (isTest) {\n Curry._1(f, returnVal);\n return returnVal;\n } else {\n return returnVal;\n }\n}\n\nfunction assertPass(param) {\n return true;\n}\n\nfunction assertTrue(source) {\n return source === true;\n}\n\nfunction assertFalse(source) {\n return source === false;\n}\n\nfunction assertJsTrue(source) {\n return source === true;\n}\n\nfunction assertJsFalse(source) {\n return source === false;\n}\n\nfunction assertIsBool(source) {\n if (source === true) {\n return true;\n } else {\n return source === false;\n }\n}\n\nvar _isNullableExist = (function(source) {\n return source !== undefined && source !== null;\n});\n\nvar assertNullableExist = _isNullableExist;\n\nfunction _isNullableListExist(sourceList) {\n return Js_option.isNone(Belt_List.getBy(sourceList, (function (source) {\n return source == null;\n })));\n}\n\nvar assertNullableListExist = _isNullableListExist;\n\nvar assertExist = Js_option.isSome;\n\nvar assertNotExist = Js_option.isNone;\n\nfunction _getEqualMessage(source, target) {\n return \"\\\"expect to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertEqual(kind, source, target) {\n _getEqualMessage(source, target);\n return Caml_obj.equal(source, target);\n}\n\nfunction _getNotEqualMessage(source, target) {\n return \"\\\"expect not to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertNotEqual(kind, source, target) {\n _getNotEqualMessage(source, target);\n return Caml_obj.notequal(source, target);\n}\n\nfunction assertGt(kind, source, target) {\n return Caml_obj.greaterthan(source, target);\n}\n\nfunction assertGte(kind, source, target) {\n return Caml_obj.greaterequal(source, target);\n}\n\nfunction assertLt(kind, source, target) {\n return Caml_obj.lessthan(source, target);\n}\n\nfunction assertLte(kind, source, target) {\n return Caml_obj.lessequal(source, target);\n}\n\nfunction $eq(a, b) {\n return assertEqual(/* Int */0, a, b);\n}\n\nfunction $eq$eq$dot(a, b) {\n return assertEqual(/* Float */1, a, b);\n}\n\nfunction $eq$eq$caret(a, b) {\n return assertEqual(/* String */2, a, b);\n}\n\nfunction $less$great$eq(a, b) {\n return assertNotEqual(/* Int */0, a, b);\n}\n\nfunction $less$great$eq$dot(a, b) {\n return assertNotEqual(/* Float */1, a, b);\n}\n\nvar $great = Caml_obj.greaterthan;\n\nvar $great$dot = Caml_obj.greaterthan;\n\nvar $great$eq = Caml_obj.greaterequal;\n\nvar $great$eq$dot = Caml_obj.greaterequal;\n\nvar $less = Caml_obj.lessthan;\n\nvar $less$dot = Caml_obj.lessthan;\n\nvar $less$eq = Caml_obj.lessequal;\n\nvar $less$eq$dot = Caml_obj.lessequal;\n\nvar Operators = {\n $eq: $eq,\n $eq$eq$dot: $eq$eq$dot,\n $eq$eq$caret: $eq$eq$caret,\n $less$great$eq: $less$great$eq,\n $less$great$eq$dot: $less$great$eq$dot,\n $great: $great,\n $great$dot: $great$dot,\n $great$eq: $great$eq,\n $great$eq$dot: $great$eq$dot,\n $less: $less,\n $less$dot: $less$dot,\n $less$eq: $less$eq,\n $less$eq$dot: $less$eq$dot\n};\n\nexports._assert = _assert;\nexports.test = test;\nexports.requireCheck = requireCheck;\nexports.ensureCheck = ensureCheck;\nexports.assertPass = assertPass;\nexports.assertTrue = assertTrue;\nexports.assertFalse = assertFalse;\nexports.assertJsTrue = assertJsTrue;\nexports.assertJsFalse = assertJsFalse;\nexports.assertIsBool = assertIsBool;\nexports._isNullableExist = _isNullableExist;\nexports.assertNullableExist = assertNullableExist;\nexports._isNullableListExist = _isNullableListExist;\nexports.assertNullableListExist = assertNullableListExist;\nexports.assertExist = assertExist;\nexports.assertNotExist = assertNotExist;\nexports._getEqualMessage = _getEqualMessage;\nexports.assertEqual = assertEqual;\nexports._getNotEqualMessage = _getNotEqualMessage;\nexports.assertNotEqual = assertNotEqual;\nexports.assertGt = assertGt;\nexports.assertGte = assertGte;\nexports.assertLt = assertLt;\nexports.assertLte = assertLte;\nexports.Operators = Operators;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js": -/*!*************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../../node_modules/rescript/lib/js/belt_List.js\");\n\nfunction printForDebug(value) {\n console.log(JSON.stringify(value));\n return value;\n}\n\nfunction printStringForDebug(value) {\n console.log(value);\n return value;\n}\n\nfunction printListForDebug(list) {\n console.log(Belt_List.toArray(list));\n return list;\n}\n\nfunction logForDebug(value) {\n console.log(value);\n console.trace();\n}\n\nfunction log(value) {\n console.log(JSON.stringify(value));\n}\n\nfunction debugWithFunc(func, isTest) {\n if (isTest) {\n return Curry._1(func, undefined);\n }\n \n}\n\nfunction _debug(msg) {\n console.debug(msg);\n}\n\nfunction debug(buildMessageFunc, isTest) {\n if (!isTest) {\n return ;\n }\n var msg = Curry._1(buildMessageFunc, undefined);\n console.debug(msg);\n console.trace();\n}\n\nfunction getJsonStr(json) {\n return JSON.stringify(json);\n}\n\nfunction buildDebugMessage(description, params, param) {\n return \"\\n Debug:\\n\\n description\\n \" + description + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildDebugJsonMessage(description, $$var, param) {\n var varStr = JSON.stringify($$var);\n return \"\\n DebugJson:\\n\\n description\\n \" + description + \"\\n\\n variable value\\n \" + varStr + \"\\n \";\n}\n\nfunction buildFatalMessage(title, description, reason, solution, params) {\n return \"\\n Fatal:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildErrorMessage(title, description, reason, solution, params) {\n return \"\\n Error:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildAssertMessage(expect, actual) {\n return \"expect \" + expect + \", but actual \" + actual;\n}\n\nexports.printForDebug = printForDebug;\nexports.printStringForDebug = printStringForDebug;\nexports.printListForDebug = printListForDebug;\nexports.logForDebug = logForDebug;\nexports.log = log;\nexports.debugWithFunc = debugWithFunc;\nexports._debug = _debug;\nexports.debug = debug;\nexports.getJsonStr = getJsonStr;\nexports.buildDebugMessage = buildDebugMessage;\nexports.buildDebugJsonMessage = buildDebugJsonMessage;\nexports.buildFatalMessage = buildFatalMessage;\nexports.buildErrorMessage = buildErrorMessage;\nexports.buildAssertMessage = buildAssertMessage;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js": -/*!***********************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_array = __webpack_require__(/*! rescript/lib/js/caml_array.js */ \"../../../../../node_modules/rescript/lib/js/caml_array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Log$Meta3dCommonlib = __webpack_require__(/*! ../log/Log.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\nvar Contract$Meta3dCommonlib = __webpack_require__(/*! ../contract/Contract.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar PromiseSt$Meta3dCommonlib = __webpack_require__(/*! ./PromiseSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! ./hash_map/MutableHashMap.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\n\nvar _getExn = ((nullableData) => { if (nullableData !== undefined) { return nullableData; } throw new Error(\"Not_found\") });\n\nfunction getExn(arr, index) {\n return _getExn(arr[index]);\n}\n\nfunction length(prim) {\n return prim.length;\n}\n\nfunction find(arr, func) {\n return Js_array.find(func, arr);\n}\n\nfunction includes(arr, value) {\n return Js_array.includes(value, arr);\n}\n\nfunction includesByFunc(arr, func) {\n return OptionSt$Meta3dCommonlib.isSome(Js_array.find(func, arr));\n}\n\nfunction sliceFrom(arr, index) {\n return Js_array.sliceFrom(index, arr);\n}\n\nfunction slice(arr, start, end_) {\n return Js_array.slice(start, end_, arr);\n}\n\nfunction copy(prim) {\n return prim.slice();\n}\n\nfunction reduceOneParam(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction reduceOneParami(arr, func, param) {\n var mutableParam = param;\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n mutableParam = func(mutableParam, arr[i], i);\n }\n return mutableParam;\n}\n\nfunction traverseResultM(arr, func) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed([]);\n } else {\n return Result$Meta3dCommonlib.bind(Curry._1(func, _getExn(arr[0])), (function (h) {\n return Result$Meta3dCommonlib.bind(traverseResultM(Js_array.sliceFrom(1, arr), func), (function (t) {\n return Result$Meta3dCommonlib.succeed(Js_array.concat(t, [h]));\n }));\n }));\n }\n}\n\nfunction _id(value) {\n return value;\n}\n\nfunction sequenceResultM(arr) {\n return traverseResultM(arr, _id);\n}\n\nfunction traverseReducePromiseM(arr, func, param) {\n if (arr.length === 0) {\n return Promise.resolve(param);\n } else {\n return PromiseSt$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReducePromiseM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction traverseReduceResultM(arr, func, param) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed(param);\n } else {\n return Result$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReduceResultM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction unsafeGetFirst(arr) {\n return arr[0];\n}\n\nfunction getFirst(arr) {\n if (arr.length >= 1) {\n return Caml_option.some(Caml_array.get(arr, 0));\n }\n \n}\n\nfunction push(arr, value) {\n Js_array.push(value, arr);\n return arr;\n}\n\nfunction forEach(arr, func) {\n Js_array.forEach(func, arr);\n}\n\nfunction map(arr, func) {\n return Js_array.map(func, arr);\n}\n\nfunction mapi(arr, func) {\n return Js_array.mapi(func, arr);\n}\n\nfunction filter(arr, func) {\n return Js_array.filter(func, arr);\n}\n\nfunction reverse(arr) {\n return arr.slice().reverse();\n}\n\nfunction deleteBySwap(arr, isDebug, index, lastIndex) {\n Contract$Meta3dCommonlib.requireCheck((function (param) {\n var len = arr.length;\n Contract$Meta3dCommonlib.test(Log$Meta3dCommonlib.buildAssertMessage(\"lastIndex:\" + lastIndex + \" === arr.length:\" + len, \"not\"), (function (param) {\n return Contract$Meta3dCommonlib.assertEqual(/* Int */0, arr.length - 1 | 0, lastIndex);\n }));\n }), isDebug);\n arr[index] = arr[lastIndex];\n arr.pop();\n}\n\nfunction range(a, b) {\n var result = [];\n for(var i = a; i <= b; ++i){\n Js_array.push(i, result);\n }\n return result;\n}\n\nfunction removeDuplicateItems(arr) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = item.toString();\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction removeDuplicateItemsWithBuildKeyFunc(arr, buildKeyFunc) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = buildKeyFunc(item);\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction chunk(arr, size) {\n var match = Belt_Array.reduceU(arr, [\n [],\n []\n ], (function (param, value) {\n var group = param[1];\n var result = param[0];\n if (group.length < size) {\n return [\n result,\n push(group, value)\n ];\n } else {\n return [\n push(result, group),\n [value]\n ];\n }\n }));\n var group = match[1];\n var result = match[0];\n if (group.length > 0) {\n return push(result, group);\n } else {\n return result;\n }\n}\n\nfunction sort(arr, func) {\n return Js_array.sortInPlaceWith(func, arr);\n}\n\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.length = length;\nexports.find = find;\nexports.includes = includes;\nexports.includesByFunc = includesByFunc;\nexports.sliceFrom = sliceFrom;\nexports.slice = slice;\nexports.copy = copy;\nexports.reduceOneParam = reduceOneParam;\nexports.reduceOneParami = reduceOneParami;\nexports.traverseResultM = traverseResultM;\nexports._id = _id;\nexports.sequenceResultM = sequenceResultM;\nexports.traverseReducePromiseM = traverseReducePromiseM;\nexports.traverseReduceResultM = traverseReduceResultM;\nexports.unsafeGetFirst = unsafeGetFirst;\nexports.getFirst = getFirst;\nexports.push = push;\nexports.forEach = forEach;\nexports.map = map;\nexports.mapi = mapi;\nexports.filter = filter;\nexports.reverse = reverse;\nexports.deleteBySwap = deleteBySwap;\nexports.range = range;\nexports.removeDuplicateItems = removeDuplicateItems;\nexports.removeDuplicateItemsWithBuildKeyFunc = removeDuplicateItemsWithBuildKeyFunc;\nexports.chunk = chunk;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js": -/*!*************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar throwErr = ((err) => {\n throw err;\n});\n\nvar buildErr = ((message) => {\nreturn new Error(message);\n});\n\nexports.throwErr = throwErr;\nexports.buildErr = buildErr;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js": -/*!**************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction getExn(data) {\n return OptionSt$Meta3dCommonlib.getExn(OptionSt$Meta3dCommonlib.fromNullable(data));\n}\n\nfunction $$return(data) {\n return data;\n}\n\nfunction getWithDefault(nullableData, $$default) {\n return OptionSt$Meta3dCommonlib.getWithDefault(OptionSt$Meta3dCommonlib.fromNullable(nullableData), $$default);\n}\n\nfunction bind(nullableData, func) {\n return OptionSt$Meta3dCommonlib.toNullable(OptionSt$Meta3dCommonlib.bind(OptionSt$Meta3dCommonlib.fromNullable(nullableData), (function (val) {\n return OptionSt$Meta3dCommonlib.fromNullable(func(val));\n })));\n}\n\nfunction isNullable(prim) {\n return prim == null;\n}\n\nfunction getEmpty(param) {\n \n}\n\nvar map = Js_null_undefined.bind;\n\nexports.getExn = getExn;\nexports.$$return = $$return;\nexports.getWithDefault = getWithDefault;\nexports.map = map;\nexports.bind = bind;\nexports.isNullable = isNullable;\nexports.getEmpty = getEmpty;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js": -/*!************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js ***! - \************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Option = __webpack_require__(/*! rescript/lib/js/belt_Option.js */ \"../../../../../node_modules/rescript/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\n\nfunction unsafeGet(prim) {\n return prim;\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nvar getExn = _getExn;\n\nfunction buildFailResult(param) {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n}\n\nfunction get(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.succeed(Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n }\n}\n\nfunction fromNullable(optionData) {\n if (optionData == null) {\n return ;\n } else {\n return Caml_option.some(optionData);\n }\n}\n\nvar toNullable = Js_null_undefined.from_opt;\n\nfunction toStrictNullable(optionData) {\n if (optionData !== undefined) {\n return Caml_option.valFromOption(optionData);\n } else {\n return null;\n }\n}\n\nfunction forEachResult(optionData, func) {\n if (optionData !== undefined) {\n return Curry._1(func, Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction sequenceResultM(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.mapSuccess(optionData, (function (value) {\n return Caml_option.some(value);\n }));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction open_(optionOptionData) {\n if (optionOptionData !== undefined) {\n return Caml_option.valFromOption(optionOptionData);\n }\n \n}\n\nvar getWithDefault = Belt_Option.getWithDefault;\n\nvar isSome = Belt_Option.isSome;\n\nvar map = Belt_Option.map;\n\nvar bind = Belt_Option.flatMap;\n\nexports.unsafeGet = unsafeGet;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.buildFailResult = buildFailResult;\nexports.get = get;\nexports.getWithDefault = getWithDefault;\nexports.isSome = isSome;\nexports.map = map;\nexports.bind = bind;\nexports.fromNullable = fromNullable;\nexports.toNullable = toNullable;\nexports.toStrictNullable = toStrictNullable;\nexports.forEachResult = forEachResult;\nexports.sequenceResultM = sequenceResultM;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js": -/*!*************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_promise = __webpack_require__(/*! rescript/lib/js/js_promise.js */ \"../../../../../node_modules/rescript/lib/js/js_promise.js\");\n\nfunction bind(p, func) {\n return Js_promise.then_(func, p);\n}\n\nfunction map(p, func) {\n return Js_promise.then_((function (v) {\n return Promise.resolve(Curry._1(func, v));\n }), p);\n}\n\nexports.bind = bind;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_js_exceptions = __webpack_require__(/*! rescript/lib/js/caml_js_exceptions.js */ \"../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js\");\nvar Exception$Meta3dCommonlib = __webpack_require__(/*! ./Exception.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js\");\n\nfunction succeed(x) {\n return {\n TAG: /* Ok */0,\n _0: x\n };\n}\n\nfunction fail(x) {\n return {\n TAG: /* Error */1,\n _0: x\n };\n}\n\nvar _buildErr = Exception$Meta3dCommonlib.buildErr;\n\nfunction failWith(x) {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(x)\n };\n}\n\nfunction isSuccess(result) {\n if (result.TAG === /* Ok */0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction either(result, successFunc, failureFunc) {\n if (result.TAG === /* Ok */0) {\n return Curry._1(successFunc, result._0);\n } else {\n return Curry._1(failureFunc, result._0);\n }\n}\n\nfunction bind(result, switchFunc) {\n return either(result, switchFunc, fail);\n}\n\nfunction tap(result, oneTrackFunc) {\n return either(result, (function (result) {\n Curry._1(oneTrackFunc, result);\n return {\n TAG: /* Ok */0,\n _0: result\n };\n }), fail);\n}\n\nfunction tryCatch(oneTrackFunc) {\n try {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(oneTrackFunc, undefined)\n };\n }\n catch (raw_e){\n var e = Caml_js_exceptions.internalToOCamlException(raw_e);\n if (e.RE_EXN_ID === Js_exn.$$Error) {\n return {\n TAG: /* Error */1,\n _0: e._1\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(\"unknown error: \" + e)\n };\n }\n }\n}\n\nfunction mapSuccess(result, mapFunc) {\n if (result.TAG === /* Ok */0) {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(mapFunc, result._0)\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: result._0\n };\n }\n}\n\nfunction handleFail(result, handleFailFunc) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return Curry._1(handleFailFunc, result._0);\n }\n}\n\nfunction getExn(result) {\n return handleFail(result, Exception$Meta3dCommonlib.throwErr);\n}\n\nfunction toNullable(result) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return null;\n }\n}\n\nfunction open_(resultResultData) {\n if (resultResultData.TAG === /* Ok */0) {\n return resultResultData._0;\n } else {\n return {\n TAG: /* Error */1,\n _0: resultResultData._0\n };\n }\n}\n\nexports.succeed = succeed;\nexports.fail = fail;\nexports._buildErr = _buildErr;\nexports.failWith = failWith;\nexports.isSuccess = isSuccess;\nexports.either = either;\nexports.bind = bind;\nexports.tap = tap;\nexports.tryCatch = tryCatch;\nexports.mapSuccess = mapSuccess;\nexports.handleFail = handleFail;\nexports.getExn = getExn;\nexports.toNullable = toNullable;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js": -/*!********************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_dict = __webpack_require__(/*! rescript/lib/js/js_dict.js */ \"../../../../../node_modules/rescript/lib/js/js_dict.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar NullUtils$Meta3dCommonlib = __webpack_require__(/*! ../utils/NullUtils.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js\");\n\nfunction createEmpty(hintSizeOpt, param) {\n return {};\n}\n\nfunction unsafeGet(map, key) {\n return map[key];\n}\n\nfunction get(map, key) {\n var value = map[key];\n if (NullUtils$Meta3dCommonlib.isEmpty(value)) {\n return ;\n } else {\n return Caml_option.some(value);\n }\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nfunction getExn(map, key) {\n return _getExn(map[key]);\n}\n\nfunction getNullable(map, key) {\n return Js_null_undefined.fromOption(get(map, key));\n}\n\nfunction has(map, key) {\n return !NullUtils$Meta3dCommonlib.isEmpty(map[key]);\n}\n\nvar entries = Js_dict.entries;\n\nfunction _mutableSet(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction _createEmpty(param) {\n return {};\n}\n\nfunction _reduceArray(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction copy(map) {\n return Belt_Array.reduceU(Js_dict.entries(map), {}, (function (newMap, param) {\n return _mutableSet(newMap, param[0], param[1]);\n }));\n}\n\nfunction getValidValues(map) {\n var __x = Js_dict.values(map);\n return Js_array.filter(NullUtils$Meta3dCommonlib.isInMap, __x);\n}\n\nfunction map(map$1, func) {\n return Js_dict.map(func, map$1);\n}\n\nfunction merge(sourceMap, targetMap) {\n return Belt_Array.reduceU(Js_dict.entries(sourceMap), targetMap, (function (targetMap, param) {\n return _mutableSet(targetMap, param[0], param[1]);\n }));\n}\n\nexports.createEmpty = createEmpty;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.entries = entries;\nexports._mutableSet = _mutableSet;\nexports._createEmpty = _createEmpty;\nexports._reduceArray = _reduceArray;\nexports.copy = copy;\nexports.getValidValues = getValidValues;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js": -/*!*****************************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js ***! - \*****************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar HashMap$Meta3dCommonlib = __webpack_require__(/*! ./HashMap.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js\");\n\nfunction set(map, key, value) {\n var newMap = HashMap$Meta3dCommonlib.copy(map);\n newMap[key] = value;\n return newMap;\n}\n\nfunction deleteVal(map, key) {\n var newMap = HashMap$Meta3dCommonlib.copy(map);\n newMap[key] = undefined;\n return newMap;\n}\n\nvar createEmpty = HashMap$Meta3dCommonlib.createEmpty;\n\nvar unsafeGet = HashMap$Meta3dCommonlib.unsafeGet;\n\nvar get = HashMap$Meta3dCommonlib.get;\n\nvar getExn = HashMap$Meta3dCommonlib.getExn;\n\nvar getNullable = HashMap$Meta3dCommonlib.getNullable;\n\nvar has = HashMap$Meta3dCommonlib.has;\n\nvar getValidValues = HashMap$Meta3dCommonlib.getValidValues;\n\nvar copy = HashMap$Meta3dCommonlib.copy;\n\nvar entries = HashMap$Meta3dCommonlib.entries;\n\nvar map = HashMap$Meta3dCommonlib.map;\n\nvar merge = HashMap$Meta3dCommonlib.merge;\n\nexports.createEmpty = createEmpty;\nexports.set = set;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.deleteVal = deleteVal;\nexports.getValidValues = getValidValues;\nexports.copy = copy;\nexports.entries = entries;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js": -/*!***************************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js ***! - \***************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar HashMap$Meta3dCommonlib = __webpack_require__(/*! ./HashMap.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js\");\n\nfunction set(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction deleteVal(map, key) {\n map[key] = undefined;\n return map;\n}\n\nvar createEmpty = HashMap$Meta3dCommonlib.createEmpty;\n\nvar unsafeGet = HashMap$Meta3dCommonlib.unsafeGet;\n\nvar get = HashMap$Meta3dCommonlib.get;\n\nvar getExn = HashMap$Meta3dCommonlib.getExn;\n\nvar getNullable = HashMap$Meta3dCommonlib.getNullable;\n\nvar has = HashMap$Meta3dCommonlib.has;\n\nvar getValidValues = HashMap$Meta3dCommonlib.getValidValues;\n\nvar copy = HashMap$Meta3dCommonlib.copy;\n\nvar entries = HashMap$Meta3dCommonlib.entries;\n\nvar map = HashMap$Meta3dCommonlib.map;\n\nvar merge = HashMap$Meta3dCommonlib.merge;\n\nexports.createEmpty = createEmpty;\nexports.set = set;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.deleteVal = deleteVal;\nexports.getValidValues = getValidValues;\nexports.copy = copy;\nexports.entries = entries;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js": -/*!*******************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nfunction isEmpty(value) {\n if (value === null) {\n return true;\n } else {\n return value === undefined;\n }\n}\n\nfunction isNotInMap(value) {\n return value === undefined;\n}\n\nfunction isInMap(value) {\n return value !== undefined;\n}\n\nexports.isUndefined = isUndefined;\nexports.isEmpty = isEmpty;\nexports.isNotInMap = isNotInMap;\nexports.isInMap = isInMap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/belt_Array.js": -/*!*****************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/belt_Array.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../../node_modules/rescript/lib/js/caml.js\");\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_math = __webpack_require__(/*! ./js_math.js */ \"../../../../../node_modules/rescript/lib/js/js_math.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(arr, i) {\n if (i >= 0 && i < arr.length) {\n return Caml_option.some(arr[i]);\n }\n \n}\n\nfunction getExn(arr, i) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 35,\n 2\n ],\n Error: new Error()\n };\n }\n return arr[i];\n}\n\nfunction set(arr, i, v) {\n if (i >= 0 && i < arr.length) {\n arr[i] = v;\n return true;\n } else {\n return false;\n }\n}\n\nfunction setExn(arr, i, v) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 45,\n 2\n ],\n Error: new Error()\n };\n }\n arr[i] = v;\n}\n\nfunction swapUnsafe(xs, i, j) {\n var tmp = xs[i];\n xs[i] = xs[j];\n xs[j] = tmp;\n}\n\nfunction shuffleInPlace(xs) {\n var len = xs.length;\n for(var i = 0; i < len; ++i){\n swapUnsafe(xs, i, Js_math.random_int(i, len));\n }\n}\n\nfunction shuffle(xs) {\n var result = xs.slice(0);\n shuffleInPlace(result);\n return result;\n}\n\nfunction reverseInPlace(xs) {\n var len = xs.length;\n var ofs = 0;\n for(var i = 0 ,i_finish = len / 2 | 0; i < i_finish; ++i){\n swapUnsafe(xs, ofs + i | 0, ((ofs + len | 0) - i | 0) - 1 | 0);\n }\n}\n\nfunction reverse(xs) {\n var len = xs.length;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = xs[(len - 1 | 0) - i | 0];\n }\n return result;\n}\n\nfunction make(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f;\n }\n return res;\n}\n\nfunction makeByU(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f(i);\n }\n return res;\n}\n\nfunction makeBy(l, f) {\n return makeByU(l, Curry.__1(f));\n}\n\nfunction makeByAndShuffleU(l, f) {\n var u = makeByU(l, f);\n shuffleInPlace(u);\n return u;\n}\n\nfunction makeByAndShuffle(l, f) {\n return makeByAndShuffleU(l, Curry.__1(f));\n}\n\nfunction range(start, finish) {\n var cut = finish - start | 0;\n if (cut < 0) {\n return [];\n }\n var arr = new Array(cut + 1 | 0);\n for(var i = 0; i <= cut; ++i){\n arr[i] = start + i | 0;\n }\n return arr;\n}\n\nfunction rangeBy(start, finish, step) {\n var cut = finish - start | 0;\n if (cut < 0 || step <= 0) {\n return [];\n }\n var nb = (cut / step | 0) + 1 | 0;\n var arr = new Array(nb);\n var cur = start;\n for(var i = 0; i < nb; ++i){\n arr[i] = cur;\n cur = cur + step | 0;\n }\n return arr;\n}\n\nfunction zip(xs, ys) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = [\n xs[i],\n ys[i]\n ];\n }\n return s;\n}\n\nfunction zipByU(xs, ys, f) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = f(xs[i], ys[i]);\n }\n return s;\n}\n\nfunction zipBy(xs, ys, f) {\n return zipByU(xs, ys, Curry.__2(f));\n}\n\nfunction concat(a1, a2) {\n var l1 = a1.length;\n var l2 = a2.length;\n var a1a2 = new Array(l1 + l2 | 0);\n for(var i = 0; i < l1; ++i){\n a1a2[i] = a1[i];\n }\n for(var i$1 = 0; i$1 < l2; ++i$1){\n a1a2[l1 + i$1 | 0] = a2[i$1];\n }\n return a1a2;\n}\n\nfunction concatMany(arrs) {\n var lenArrs = arrs.length;\n var totalLen = 0;\n for(var i = 0; i < lenArrs; ++i){\n totalLen = totalLen + arrs[i].length | 0;\n }\n var result = new Array(totalLen);\n totalLen = 0;\n for(var j = 0; j < lenArrs; ++j){\n var cur = arrs[j];\n for(var k = 0 ,k_finish = cur.length; k < k_finish; ++k){\n result[totalLen] = cur[k];\n totalLen = totalLen + 1 | 0;\n }\n }\n return result;\n}\n\nfunction slice(a, offset, len) {\n if (len <= 0) {\n return [];\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var copyLength = hasLen < len ? hasLen : len;\n if (copyLength <= 0) {\n return [];\n }\n var result = new Array(copyLength);\n for(var i = 0; i < copyLength; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction sliceToEnd(a, offset) {\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var len = lena > ofs ? lena - ofs | 0 : 0;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction fill(a, offset, len, v) {\n if (len <= 0) {\n return ;\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var fillLength = hasLen < len ? hasLen : len;\n if (fillLength <= 0) {\n return ;\n }\n for(var i = ofs ,i_finish = ofs + fillLength | 0; i < i_finish; ++i){\n a[i] = v;\n }\n}\n\nfunction blitUnsafe(a1, srcofs1, a2, srcofs2, blitLength) {\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction blit(a1, ofs1, a2, ofs2, len) {\n var lena1 = a1.length;\n var lena2 = a2.length;\n var srcofs1 = ofs1 < 0 ? Caml.int_max(lena1 + ofs1 | 0, 0) : ofs1;\n var srcofs2 = ofs2 < 0 ? Caml.int_max(lena2 + ofs2 | 0, 0) : ofs2;\n var blitLength = Caml.int_min(len, Caml.int_min(lena1 - srcofs1 | 0, lena2 - srcofs2 | 0));\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction forEachU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(a[i]);\n }\n}\n\nfunction forEach(a, f) {\n forEachU(a, Curry.__1(f));\n}\n\nfunction mapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(a[i]);\n }\n return r;\n}\n\nfunction map(a, f) {\n return mapU(a, Curry.__1(f));\n}\n\nfunction flatMapU(a, f) {\n return concatMany(mapU(a, f));\n}\n\nfunction flatMap(a, f) {\n return concatMany(mapU(a, Curry.__1(f)));\n}\n\nfunction getByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = Caml_option.some(v);\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getBy(a, p) {\n return getByU(a, Curry.__1(p));\n}\n\nfunction getIndexByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = i;\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getIndexBy(a, p) {\n return getIndexByU(a, Curry.__1(p));\n}\n\nfunction keepU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keep(a, f) {\n return keepU(a, Curry.__1(f));\n}\n\nfunction keepWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v, i)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepWithIndex(a, f) {\n return keepWithIndexU(a, Curry.__2(f));\n}\n\nfunction keepMapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n var v$1 = f(v);\n if (v$1 !== undefined) {\n r[j] = Caml_option.valFromOption(v$1);\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepMap(a, f) {\n return keepMapU(a, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(i, a[i]);\n }\n}\n\nfunction forEachWithIndex(a, f) {\n forEachWithIndexU(a, Curry.__2(f));\n}\n\nfunction mapWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(i, a[i]);\n }\n return r;\n}\n\nfunction mapWithIndex(a, f) {\n return mapWithIndexU(a, Curry.__2(f));\n}\n\nfunction reduceU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduce(a, x, f) {\n return reduceU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverseU(a, x, f) {\n var r = x;\n for(var i = a.length - 1 | 0; i >= 0; --i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduceReverse(a, x, f) {\n return reduceReverseU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverse2U(a, b, x, f) {\n var r = x;\n var len = Caml.int_min(a.length, b.length);\n for(var i = len - 1 | 0; i >= 0; --i){\n r = f(r, a[i], b[i]);\n }\n return r;\n}\n\nfunction reduceReverse2(a, b, x, f) {\n return reduceReverse2U(a, b, x, Curry.__3(f));\n}\n\nfunction reduceWithIndexU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i], i);\n }\n return r;\n}\n\nfunction reduceWithIndex(a, x, f) {\n return reduceWithIndexU(a, x, Curry.__3(f));\n}\n\nfunction everyU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every(arr, f) {\n return everyU(arr, Curry.__1(f));\n}\n\nfunction someU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (b(arr[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some(arr, f) {\n return someU(arr, Curry.__1(f));\n}\n\nfunction everyAux2(arr1, arr2, _i, b, len) {\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr1[i], arr2[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every2U(a, b, p) {\n return everyAux2(a, b, 0, p, Caml.int_min(a.length, b.length));\n}\n\nfunction every2(a, b, p) {\n return every2U(a, b, Curry.__2(p));\n}\n\nfunction some2U(a, b, p) {\n var _i = 0;\n var len = Caml.int_min(a.length, b.length);\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (p(a[i], b[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some2(a, b, p) {\n return some2U(a, b, Curry.__2(p));\n}\n\nfunction eqU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena === lenb) {\n return everyAux2(a, b, 0, p, lena);\n } else {\n return false;\n }\n}\n\nfunction eq(a, b, p) {\n return eqU(a, b, Curry.__2(p));\n}\n\nfunction cmpU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena > lenb) {\n return 1;\n } else if (lena < lenb) {\n return -1;\n } else {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === lena) {\n return 0;\n }\n var c = p(a[i], b[i]);\n if (c !== 0) {\n return c;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction cmp(a, b, p) {\n return cmpU(a, b, Curry.__2(p));\n}\n\nfunction partitionU(a, f) {\n var l = a.length;\n var i = 0;\n var j = 0;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var ii = 0; ii < l; ++ii){\n var v = a[ii];\n if (f(v)) {\n a1[i] = v;\n i = i + 1 | 0;\n } else {\n a2[j] = v;\n j = j + 1 | 0;\n }\n }\n a1.length = i;\n a2.length = j;\n return [\n a1,\n a2\n ];\n}\n\nfunction partition(a, f) {\n return partitionU(a, Curry.__1(f));\n}\n\nfunction unzip(a) {\n var l = a.length;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var i = 0; i < l; ++i){\n var match = a[i];\n a1[i] = match[0];\n a2[i] = match[1];\n }\n return [\n a1,\n a2\n ];\n}\n\nfunction joinWithU(a, sep, toString) {\n var l = a.length;\n if (l === 0) {\n return \"\";\n }\n var lastIndex = l - 1 | 0;\n var _i = 0;\n var _res = \"\";\n while(true) {\n var res = _res;\n var i = _i;\n if (i === lastIndex) {\n return res + toString(a[i]);\n }\n _res = res + (toString(a[i]) + sep);\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction joinWith(a, sep, toString) {\n return joinWithU(a, sep, Curry.__1(toString));\n}\n\nfunction initU(n, f) {\n var v = new Array(n);\n for(var i = 0; i < n; ++i){\n v[i] = f(i);\n }\n return v;\n}\n\nfunction init(n, f) {\n return initU(n, Curry.__1(f));\n}\n\nexports.get = get;\nexports.getExn = getExn;\nexports.set = set;\nexports.setExn = setExn;\nexports.shuffleInPlace = shuffleInPlace;\nexports.shuffle = shuffle;\nexports.reverseInPlace = reverseInPlace;\nexports.reverse = reverse;\nexports.make = make;\nexports.range = range;\nexports.rangeBy = rangeBy;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.makeByAndShuffleU = makeByAndShuffleU;\nexports.makeByAndShuffle = makeByAndShuffle;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.unzip = unzip;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.slice = slice;\nexports.sliceToEnd = sliceToEnd;\nexports.fill = fill;\nexports.blit = blit;\nexports.blitUnsafe = blitUnsafe;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.getIndexByU = getIndexByU;\nexports.getIndexBy = getIndexBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.joinWithU = joinWithU;\nexports.joinWith = joinWith;\nexports.someU = someU;\nexports.some = some;\nexports.everyU = everyU;\nexports.every = every;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.initU = initU;\nexports.init = init;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/belt_Array.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/belt_List.js": -/*!****************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/belt_List.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Belt_SortArray = __webpack_require__(/*! ./belt_SortArray.js */ \"../../../../../node_modules/rescript/lib/js/belt_SortArray.js\");\n\nfunction head(x) {\n if (x) {\n return Caml_option.some(x.hd);\n }\n \n}\n\nfunction headExn(x) {\n if (x) {\n return x.hd;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction tail(x) {\n if (x) {\n return x.tl;\n }\n \n}\n\nfunction tailExn(x) {\n if (x) {\n return x.tl;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction add(xs, x) {\n return {\n hd: x,\n tl: xs\n };\n}\n\nfunction get(x, n) {\n if (n < 0) {\n return ;\n } else {\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (!x$1) {\n return ;\n }\n if (n$1 === 0) {\n return Caml_option.some(x$1.hd);\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n };\n }\n}\n\nfunction getExn(x, n) {\n if (n < 0) {\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n }\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (x$1) {\n if (n$1 === 0) {\n return x$1.hd;\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n };\n}\n\nfunction partitionAux(p, _cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var t = cell.tl;\n var h = cell.hd;\n var next = {\n hd: h,\n tl: /* [] */0\n };\n if (p(h)) {\n precX.tl = next;\n _precX = next;\n _cell = t;\n continue ;\n }\n precY.tl = next;\n _precY = next;\n _cell = t;\n continue ;\n };\n}\n\nfunction splitAux(_cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var match = cell.hd;\n var nextA = {\n hd: match[0],\n tl: /* [] */0\n };\n var nextB = {\n hd: match[1],\n tl: /* [] */0\n };\n precX.tl = nextA;\n precY.tl = nextB;\n _precY = nextB;\n _precX = nextA;\n _cell = cell.tl;\n continue ;\n };\n}\n\nfunction copyAuxCont(_cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return prec;\n }\n var next = {\n hd: cellX.hd,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWitFilter(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithFilterIndex(f, _cellX, _prec, _i) {\n while(true) {\n var i = _i;\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h, i)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _i = i + 1 | 0;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _i = i + 1 | 0;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWitFilterMap(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = f(cellX.hd);\n if (h !== undefined) {\n var next = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction removeAssocAuxWithMap(_cellX, x, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h[0], x)) {\n prec.tl = t;\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction setAssocAuxWithMap(_cellX, x, k, _prec, eq) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (eq(h[0], x)) {\n prec.tl = {\n hd: [\n x,\n k\n ],\n tl: t\n };\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithMap(_cellX, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction zipAux(_cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: [\n cellX.hd,\n cellY.hd\n ],\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMap2(f, _cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: f(cellX.hd, cellY.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMapI(f, _i, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n var i = _i;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(i, cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction takeAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return true;\n }\n if (!cell) {\n return false;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction splitAtAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return cell;\n }\n if (!cell) {\n return ;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction take(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return /* [] */0;\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var has = takeAux(n - 1 | 0, lst.tl, cell);\n if (has) {\n return cell;\n }\n \n}\n\nfunction drop(lst, n) {\n if (n < 0) {\n return ;\n } else {\n var _l = lst;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var l = _l;\n if (n$1 === 0) {\n return l;\n }\n if (!l) {\n return ;\n }\n _n = n$1 - 1 | 0;\n _l = l.tl;\n continue ;\n };\n }\n}\n\nfunction splitAt(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return [\n /* [] */0,\n lst\n ];\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var rest = splitAtAux(n - 1 | 0, lst.tl, cell);\n if (rest !== undefined) {\n return [\n cell,\n rest\n ];\n }\n \n}\n\nfunction concat(xs, ys) {\n if (!xs) {\n return ys;\n }\n var cell = {\n hd: xs.hd,\n tl: /* [] */0\n };\n copyAuxCont(xs.tl, cell).tl = ys;\n return cell;\n}\n\nfunction mapU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMap(xs.tl, cell, f);\n return cell;\n}\n\nfunction map(xs, f) {\n return mapU(xs, Curry.__1(f));\n}\n\nfunction zipByU(l1, l2, f) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: f(l1.hd, l2.hd),\n tl: /* [] */0\n };\n copyAuxWithMap2(f, l1.tl, l2.tl, cell);\n return cell;\n}\n\nfunction zipBy(l1, l2, f) {\n return zipByU(l1, l2, Curry.__2(f));\n}\n\nfunction mapWithIndexU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(0, xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMapI(f, 1, xs.tl, cell);\n return cell;\n}\n\nfunction mapWithIndex(xs, f) {\n return mapWithIndexU(xs, Curry.__2(f));\n}\n\nfunction makeByU(n, f) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: f(0),\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v = {\n hd: f(i),\n tl: /* [] */0\n };\n cur.tl = v;\n cur = v;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction makeBy(n, f) {\n return makeByU(n, Curry.__1(f));\n}\n\nfunction make(n, v) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: v,\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v$1 = {\n hd: v,\n tl: /* [] */0\n };\n cur.tl = v$1;\n cur = v$1;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction length(xs) {\n var _x = xs;\n var _acc = 0;\n while(true) {\n var acc = _acc;\n var x = _x;\n if (!x) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _x = x.tl;\n continue ;\n };\n}\n\nfunction fillAux(arr, _i, _x) {\n while(true) {\n var x = _x;\n var i = _i;\n if (!x) {\n return ;\n }\n arr[i] = x.hd;\n _x = x.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction fromArray(a) {\n var _i = a.length - 1 | 0;\n var _res = /* [] */0;\n while(true) {\n var res = _res;\n var i = _i;\n if (i < 0) {\n return res;\n }\n _res = {\n hd: a[i],\n tl: res\n };\n _i = i - 1 | 0;\n continue ;\n };\n}\n\nfunction toArray(x) {\n var len = length(x);\n var arr = new Array(len);\n fillAux(arr, 0, x);\n return arr;\n}\n\nfunction shuffle(xs) {\n var v = toArray(xs);\n Belt_Array.shuffleInPlace(v);\n return fromArray(v);\n}\n\nfunction reverseConcat(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return l2;\n }\n _l2 = {\n hd: l1.hd,\n tl: l2\n };\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reverse(l) {\n return reverseConcat(l, /* [] */0);\n}\n\nfunction flattenAux(_prec, _xs) {\n while(true) {\n var xs = _xs;\n var prec = _prec;\n if (xs) {\n _xs = xs.tl;\n _prec = copyAuxCont(xs.hd, prec);\n continue ;\n }\n prec.tl = /* [] */0;\n return ;\n };\n}\n\nfunction flatten(_xs) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var match = xs.hd;\n if (match) {\n var cell = {\n hd: match.hd,\n tl: /* [] */0\n };\n flattenAux(copyAuxCont(match.tl, cell), xs.tl);\n return cell;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction concatMany(xs) {\n var len = xs.length;\n if (len === 1) {\n return xs[0];\n }\n if (len === 0) {\n return /* [] */0;\n }\n var len$1 = xs.length;\n var v = xs[len$1 - 1 | 0];\n for(var i = len$1 - 2 | 0; i >= 0; --i){\n v = concat(xs[i], v);\n }\n return v;\n}\n\nfunction mapReverseU(l, f) {\n var _accu = /* [] */0;\n var _xs = l;\n while(true) {\n var xs = _xs;\n var accu = _accu;\n if (!xs) {\n return accu;\n }\n _xs = xs.tl;\n _accu = {\n hd: f(xs.hd),\n tl: accu\n };\n continue ;\n };\n}\n\nfunction mapReverse(l, f) {\n return mapReverseU(l, Curry.__1(f));\n}\n\nfunction forEachU(_xs, f) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(xs.hd);\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEach(xs, f) {\n forEachU(xs, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(l, f) {\n var _xs = l;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(i, xs.hd);\n _i = i + 1 | 0;\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEachWithIndex(l, f) {\n forEachWithIndexU(l, Curry.__2(f));\n}\n\nfunction reduceU(_l, _accu, f) {\n while(true) {\n var accu = _accu;\n var l = _l;\n if (!l) {\n return accu;\n }\n _accu = f(accu, l.hd);\n _l = l.tl;\n continue ;\n };\n}\n\nfunction reduce(l, accu, f) {\n return reduceU(l, accu, Curry.__2(f));\n}\n\nfunction reduceReverseUnsafeU(l, accu, f) {\n if (l) {\n return f(reduceReverseUnsafeU(l.tl, accu, f), l.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverseU(l, acc, f) {\n var len = length(l);\n if (len < 1000) {\n return reduceReverseUnsafeU(l, acc, f);\n } else {\n return Belt_Array.reduceReverseU(toArray(l), acc, f);\n }\n}\n\nfunction reduceReverse(l, accu, f) {\n return reduceReverseU(l, accu, Curry.__2(f));\n}\n\nfunction reduceWithIndexU(l, acc, f) {\n var _l = l;\n var _acc = acc;\n var _i = 0;\n while(true) {\n var i = _i;\n var acc$1 = _acc;\n var l$1 = _l;\n if (!l$1) {\n return acc$1;\n }\n _i = i + 1 | 0;\n _acc = f(acc$1, l$1.hd, i);\n _l = l$1.tl;\n continue ;\n };\n}\n\nfunction reduceWithIndex(l, acc, f) {\n return reduceWithIndexU(l, acc, Curry.__3(f));\n}\n\nfunction mapReverse2U(l1, l2, f) {\n var _l1 = l1;\n var _l2 = l2;\n var _accu = /* [] */0;\n while(true) {\n var accu = _accu;\n var l2$1 = _l2;\n var l1$1 = _l1;\n if (!l1$1) {\n return accu;\n }\n if (!l2$1) {\n return accu;\n }\n _accu = {\n hd: f(l1$1.hd, l2$1.hd),\n tl: accu\n };\n _l2 = l2$1.tl;\n _l1 = l1$1.tl;\n continue ;\n };\n}\n\nfunction mapReverse2(l1, l2, f) {\n return mapReverse2U(l1, l2, Curry.__2(f));\n}\n\nfunction forEach2U(_l1, _l2, f) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return ;\n }\n if (!l2) {\n return ;\n }\n f(l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction forEach2(l1, l2, f) {\n forEach2U(l1, l2, Curry.__2(f));\n}\n\nfunction reduce2U(_l1, _l2, _accu, f) {\n while(true) {\n var accu = _accu;\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return accu;\n }\n if (!l2) {\n return accu;\n }\n _accu = f(accu, l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reduce2(l1, l2, acc, f) {\n return reduce2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction reduceReverse2UnsafeU(l1, l2, accu, f) {\n if (l1 && l2) {\n return f(reduceReverse2UnsafeU(l1.tl, l2.tl, accu, f), l1.hd, l2.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverse2U(l1, l2, acc, f) {\n var len = length(l1);\n if (len < 1000) {\n return reduceReverse2UnsafeU(l1, l2, acc, f);\n } else {\n return Belt_Array.reduceReverse2U(toArray(l1), toArray(l2), acc, f);\n }\n}\n\nfunction reduceReverse2(l1, l2, acc, f) {\n return reduceReverse2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction everyU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return true;\n }\n if (!p(xs.hd)) {\n return false;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction every(xs, p) {\n return everyU(xs, Curry.__1(p));\n}\n\nfunction someU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (p(xs.hd)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction some(xs, p) {\n return someU(xs, Curry.__1(p));\n}\n\nfunction every2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return true;\n }\n if (!l2) {\n return true;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction every2(l1, l2, p) {\n return every2U(l1, l2, Curry.__2(p));\n}\n\nfunction cmpByLength(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmpU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n var c = p(l1.hd, l2.hd);\n if (c !== 0) {\n return c;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmp(l1, l2, f) {\n return cmpU(l1, l2, Curry.__2(f));\n}\n\nfunction eqU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return false;\n } else {\n return true;\n }\n }\n if (!l2) {\n return false;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction eq(l1, l2, f) {\n return eqU(l1, l2, Curry.__2(f));\n}\n\nfunction some2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return false;\n }\n if (!l2) {\n return false;\n }\n if (p(l1.hd, l2.hd)) {\n return true;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction some2(l1, l2, p) {\n return some2U(l1, l2, Curry.__2(p));\n}\n\nfunction hasU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd, x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction has(xs, x, eq) {\n return hasU(xs, x, Curry.__2(eq));\n}\n\nfunction getAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var match = xs.hd;\n if (eq(match[0], x)) {\n return Caml_option.some(match[1]);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getAssoc(xs, x, eq) {\n return getAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction hasAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd[0], x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction hasAssoc(xs, x, eq) {\n return hasAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction removeAssocU(xs, x, eq) {\n if (!xs) {\n return /* [] */0;\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return l;\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var removed = removeAssocAuxWithMap(l, x, cell, eq);\n if (removed) {\n return cell;\n } else {\n return xs;\n }\n}\n\nfunction removeAssoc(xs, x, eq) {\n return removeAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction setAssocU(xs, x, k, eq) {\n if (!xs) {\n return {\n hd: [\n x,\n k\n ],\n tl: /* [] */0\n };\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return {\n hd: [\n x,\n k\n ],\n tl: l\n };\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var replaced = setAssocAuxWithMap(l, x, k, cell, eq);\n if (replaced) {\n return cell;\n } else {\n return {\n hd: [\n x,\n k\n ],\n tl: xs\n };\n }\n}\n\nfunction setAssoc(xs, x, k, eq) {\n return setAssocU(xs, x, k, Curry.__2(eq));\n}\n\nfunction sortU(xs, cmp) {\n var arr = toArray(xs);\n Belt_SortArray.stableSortInPlaceByU(arr, cmp);\n return fromArray(arr);\n}\n\nfunction sort(xs, cmp) {\n return sortU(xs, Curry.__2(cmp));\n}\n\nfunction getByU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var x = xs.hd;\n if (p(x)) {\n return Caml_option.some(x);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getBy(xs, p) {\n return getByU(xs, Curry.__1(p));\n}\n\nfunction keepU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = xs.hd;\n if (p(h)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWitFilter(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keep(xs, p) {\n return keepU(xs, Curry.__1(p));\n}\n\nfunction keepWithIndexU(xs, p) {\n var _xs = xs;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs$1 = _xs;\n if (!xs$1) {\n return /* [] */0;\n }\n var t = xs$1.tl;\n var h = xs$1.hd;\n if (p(h, i)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWithFilterIndex(p, t, cell, i + 1 | 0);\n return cell;\n }\n _i = i + 1 | 0;\n _xs = t;\n continue ;\n };\n}\n\nfunction keepWithIndex(xs, p) {\n return keepWithIndexU(xs, Curry.__2(p));\n}\n\nfunction keepMapU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = p(xs.hd);\n if (h !== undefined) {\n var cell = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n copyAuxWitFilterMap(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keepMap(xs, p) {\n return keepMapU(xs, Curry.__1(p));\n}\n\nfunction partitionU(l, p) {\n if (!l) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var h = l.hd;\n var nextX = {\n hd: h,\n tl: /* [] */0\n };\n var nextY = {\n hd: h,\n tl: /* [] */0\n };\n var b = p(h);\n partitionAux(p, l.tl, nextX, nextY);\n if (b) {\n return [\n nextX,\n nextY.tl\n ];\n } else {\n return [\n nextX.tl,\n nextY\n ];\n }\n}\n\nfunction partition(l, p) {\n return partitionU(l, Curry.__1(p));\n}\n\nfunction unzip(xs) {\n if (!xs) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var match = xs.hd;\n var cellX = {\n hd: match[0],\n tl: /* [] */0\n };\n var cellY = {\n hd: match[1],\n tl: /* [] */0\n };\n splitAux(xs.tl, cellX, cellY);\n return [\n cellX,\n cellY\n ];\n}\n\nfunction zip(l1, l2) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: [\n l1.hd,\n l2.hd\n ],\n tl: /* [] */0\n };\n zipAux(l1.tl, l2.tl, cell);\n return cell;\n}\n\nvar size = length;\n\nvar filter = keep;\n\nvar filterWithIndex = keepWithIndex;\n\nexports.length = length;\nexports.size = size;\nexports.head = head;\nexports.headExn = headExn;\nexports.tail = tail;\nexports.tailExn = tailExn;\nexports.add = add;\nexports.get = get;\nexports.getExn = getExn;\nexports.make = make;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.shuffle = shuffle;\nexports.drop = drop;\nexports.take = take;\nexports.splitAt = splitAt;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.reverseConcat = reverseConcat;\nexports.flatten = flatten;\nexports.mapU = mapU;\nexports.map = map;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.fromArray = fromArray;\nexports.toArray = toArray;\nexports.reverse = reverse;\nexports.mapReverseU = mapReverseU;\nexports.mapReverse = mapReverse;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.mapReverse2U = mapReverse2U;\nexports.mapReverse2 = mapReverse2;\nexports.forEach2U = forEach2U;\nexports.forEach2 = forEach2;\nexports.reduce2U = reduce2U;\nexports.reduce2 = reduce2;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.everyU = everyU;\nexports.every = every;\nexports.someU = someU;\nexports.some = some;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpByLength = cmpByLength;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.hasU = hasU;\nexports.has = has;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.filter = filter;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.filterWithIndex = filterWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.unzip = unzip;\nexports.getAssocU = getAssocU;\nexports.getAssoc = getAssoc;\nexports.hasAssocU = hasAssocU;\nexports.hasAssoc = hasAssoc;\nexports.removeAssocU = removeAssocU;\nexports.removeAssoc = removeAssoc;\nexports.setAssocU = setAssocU;\nexports.setAssoc = setAssoc;\nexports.sortU = sortU;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/belt_List.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/belt_Option.js": -/*!******************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/belt_Option.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction keepU(opt, p) {\n if (opt !== undefined && p(Caml_option.valFromOption(opt))) {\n return opt;\n }\n \n}\n\nfunction keep(opt, p) {\n return keepU(opt, Curry.__1(p));\n}\n\nfunction forEachU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction forEach(opt, f) {\n forEachU(opt, Curry.__1(f));\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction mapWithDefaultU(opt, $$default, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n } else {\n return $$default;\n }\n}\n\nfunction mapWithDefault(opt, $$default, f) {\n return mapWithDefaultU(opt, $$default, Curry.__1(f));\n}\n\nfunction mapU(opt, f) {\n if (opt !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(opt)));\n }\n \n}\n\nfunction map(opt, f) {\n return mapU(opt, Curry.__1(f));\n}\n\nfunction flatMapU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction flatMap(opt, f) {\n return flatMapU(opt, Curry.__1(f));\n}\n\nfunction getWithDefault(opt, $$default) {\n if (opt !== undefined) {\n return Caml_option.valFromOption(opt);\n } else {\n return $$default;\n }\n}\n\nfunction orElse(opt, other) {\n if (opt !== undefined) {\n return opt;\n } else {\n return other;\n }\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isNone(x) {\n return x === undefined;\n}\n\nfunction eqU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction eq(a, b, f) {\n return eqU(a, b, Curry.__2(f));\n}\n\nfunction cmpU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return 1;\n }\n } else if (b !== undefined) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction cmp(a, b, f) {\n return cmpU(a, b, Curry.__2(f));\n}\n\nexports.keepU = keepU;\nexports.keep = keep;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.getExn = getExn;\nexports.mapWithDefaultU = mapWithDefaultU;\nexports.mapWithDefault = mapWithDefault;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getWithDefault = getWithDefault;\nexports.orElse = orElse;\nexports.isSome = isSome;\nexports.isNone = isNone;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/belt_Option.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/belt_SortArray.js": -/*!*********************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/belt_SortArray.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../../node_modules/rescript/lib/js/belt_Array.js\");\n\nfunction sortedLengthAuxMore(xs, _prec, _acc, len, lt) {\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(v, prec)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n}\n\nfunction strictlySortedLengthU(xs, lt) {\n var len = xs.length;\n if (len === 0 || len === 1) {\n return len;\n }\n var x0 = xs[0];\n var x1 = xs[1];\n if (lt(x0, x1)) {\n var _prec = x1;\n var _acc = 2;\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(prec, v)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n } else if (lt(x1, x0)) {\n return -sortedLengthAuxMore(xs, x1, 2, len, lt) | 0;\n } else {\n return 1;\n }\n}\n\nfunction strictlySortedLength(xs, lt) {\n return strictlySortedLengthU(xs, Curry.__2(lt));\n}\n\nfunction isSortedU(a, cmp) {\n var len = a.length;\n if (len === 0) {\n return true;\n } else {\n var _i = 0;\n var last_bound = len - 1 | 0;\n while(true) {\n var i = _i;\n if (i === last_bound) {\n return true;\n }\n if (cmp(a[i], a[i + 1 | 0]) > 0) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction isSorted(a, cmp) {\n return isSortedU(a, Curry.__2(cmp));\n}\n\nfunction merge(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n if (cmp(s1, s2) <= 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return Belt_Array.blitUnsafe(src2, i2, dst, d + 1 | 0, src2r - i2 | 0);\n }\n _d = d + 1 | 0;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n dst[d] = s2;\n var i2$1 = i2 + 1 | 0;\n if (i2$1 >= src2r) {\n return Belt_Array.blitUnsafe(src, i1, dst, d + 1 | 0, src1r - i1 | 0);\n }\n _d = d + 1 | 0;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n continue ;\n };\n}\n\nfunction unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (i1$1 < src1r) {\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n Belt_Array.blitUnsafe(src2, i2, dst, d$1, src2r - i2 | 0);\n return (d$1 + src2r | 0) - i2 | 0;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$2 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n Belt_Array.blitUnsafe(src2, i2$1, dst, d$2, src2r - i2$1 | 0);\n return (d$2 + src2r | 0) - i2$1 | 0;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d$2, src1r - i1$2 | 0);\n return (d$2 + src1r | 0) - i1$2 | 0;\n }\n }\n _d = d$2;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n dst[d] = s2;\n var i2$2 = i2 + 1 | 0;\n var d$3 = d + 1 | 0;\n if (i2$2 < src2r) {\n _d = d$3;\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d$3, src1r - i1 | 0);\n return (d$3 + src1r | 0) - i1 | 0;\n };\n}\n\nfunction union(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d;\n }\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n return d$1;\n }\n _d = d$1;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 >= src2r) {\n return d;\n }\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n };\n}\n\nfunction intersect(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var d$1 = d + 1 | 0;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d$1;\n }\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n return d;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d, src1r - i1$2 | 0);\n return (d + src1r | 0) - i1$2 | 0;\n }\n }\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 < src2r) {\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d, src1r - i1 | 0);\n return (d + src1r | 0) - i1 | 0;\n };\n}\n\nfunction diff(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction insertionSort(src, srcofs, dst, dstofs, len, cmp) {\n for(var i = 0; i < len; ++i){\n var e = src[srcofs + i | 0];\n var j = (dstofs + i | 0) - 1 | 0;\n while(j >= dstofs && cmp(dst[j], e) > 0) {\n dst[j + 1 | 0] = dst[j];\n j = j - 1 | 0;\n };\n dst[j + 1 | 0] = e;\n }\n}\n\nfunction sortTo(src, srcofs, dst, dstofs, len, cmp) {\n if (len <= 5) {\n return insertionSort(src, srcofs, dst, dstofs, len, cmp);\n }\n var l1 = len / 2 | 0;\n var l2 = len - l1 | 0;\n sortTo(src, srcofs + l1 | 0, dst, dstofs + l1 | 0, l2, cmp);\n sortTo(src, srcofs, src, srcofs + l2 | 0, l1, cmp);\n merge(src, srcofs + l2 | 0, l1, dst, dstofs + l1 | 0, l2, dst, dstofs, cmp);\n}\n\nfunction stableSortInPlaceByU(a, cmp) {\n var l = a.length;\n if (l <= 5) {\n return insertionSort(a, 0, a, 0, l, cmp);\n }\n var l1 = l / 2 | 0;\n var l2 = l - l1 | 0;\n var t = new Array(l2);\n sortTo(a, l1, t, 0, l2, cmp);\n sortTo(a, 0, a, l2, l1, cmp);\n merge(a, l2, l1, t, 0, l2, a, 0, cmp);\n}\n\nfunction stableSortInPlaceBy(a, cmp) {\n stableSortInPlaceByU(a, Curry.__2(cmp));\n}\n\nfunction stableSortByU(a, cmp) {\n var b = a.slice(0);\n stableSortInPlaceByU(b, cmp);\n return b;\n}\n\nfunction stableSortBy(a, cmp) {\n return stableSortByU(a, Curry.__2(cmp));\n}\n\nfunction binarySearchByU(sorted, key, cmp) {\n var len = sorted.length;\n if (len === 0) {\n return -1;\n }\n var lo = sorted[0];\n var c = cmp(key, lo);\n if (c < 0) {\n return -1;\n }\n var hi = sorted[len - 1 | 0];\n var c2 = cmp(key, hi);\n if (c2 > 0) {\n return -(len + 1 | 0) | 0;\n } else {\n var _lo = 0;\n var _hi = len - 1 | 0;\n while(true) {\n var hi$1 = _hi;\n var lo$1 = _lo;\n var mid = (lo$1 + hi$1 | 0) / 2 | 0;\n var midVal = sorted[mid];\n var c$1 = cmp(key, midVal);\n if (c$1 === 0) {\n return mid;\n }\n if (c$1 < 0) {\n if (hi$1 === mid) {\n if (cmp(sorted[lo$1], key) === 0) {\n return lo$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _hi = mid;\n continue ;\n }\n if (lo$1 === mid) {\n if (cmp(sorted[hi$1], key) === 0) {\n return hi$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _lo = mid;\n continue ;\n };\n }\n}\n\nfunction binarySearchBy(sorted, key, cmp) {\n return binarySearchByU(sorted, key, Curry.__2(cmp));\n}\n\nvar Int;\n\nvar $$String;\n\nexports.Int = Int;\nexports.$$String = $$String;\nexports.strictlySortedLengthU = strictlySortedLengthU;\nexports.strictlySortedLength = strictlySortedLength;\nexports.isSortedU = isSortedU;\nexports.isSorted = isSorted;\nexports.stableSortInPlaceByU = stableSortInPlaceByU;\nexports.stableSortInPlaceBy = stableSortInPlaceBy;\nexports.stableSortByU = stableSortByU;\nexports.stableSortBy = stableSortBy;\nexports.binarySearchByU = binarySearchByU;\nexports.binarySearchBy = binarySearchBy;\nexports.unionU = unionU;\nexports.union = union;\nexports.intersectU = intersectU;\nexports.intersect = intersect;\nexports.diffU = diffU;\nexports.diff = diff;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/belt_SortArray.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml.js": -/*!***********************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction int_compare(x, y) {\n if (x < y) {\n return -1;\n } else if (x === y) {\n return 0;\n } else {\n return 1;\n }\n}\n\nfunction bool_compare(x, y) {\n if (x) {\n if (y) {\n return 0;\n } else {\n return 1;\n }\n } else if (y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction float_compare(x, y) {\n if (x === y) {\n return 0;\n } else if (x < y) {\n return -1;\n } else if (x > y || x === x) {\n return 1;\n } else if (y === y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction string_compare(s1, s2) {\n if (s1 === s2) {\n return 0;\n } else if (s1 < s2) {\n return -1;\n } else {\n return 1;\n }\n}\n\nfunction bool_min(x, y) {\n if (x) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction int_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction bool_max(x, y) {\n if (x) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction int_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction i64_eq(x, y) {\n if (x[1] === y[1]) {\n return x[0] === y[0];\n } else {\n return false;\n }\n}\n\nfunction i64_ge(param, param$1) {\n var other_hi = param$1[0];\n var hi = param[0];\n if (hi > other_hi) {\n return true;\n } else if (hi < other_hi) {\n return false;\n } else {\n return param[1] >= param$1[1];\n }\n}\n\nfunction i64_neq(x, y) {\n return !i64_eq(x, y);\n}\n\nfunction i64_lt(x, y) {\n return !i64_ge(x, y);\n}\n\nfunction i64_gt(x, y) {\n if (x[0] > y[0]) {\n return true;\n } else if (x[0] < y[0]) {\n return false;\n } else {\n return x[1] > y[1];\n }\n}\n\nfunction i64_le(x, y) {\n return !i64_gt(x, y);\n}\n\nfunction i64_min(x, y) {\n if (i64_ge(x, y)) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction i64_max(x, y) {\n if (i64_gt(x, y)) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.int_compare = int_compare;\nexports.bool_compare = bool_compare;\nexports.float_compare = float_compare;\nexports.string_compare = string_compare;\nexports.bool_min = bool_min;\nexports.int_min = int_min;\nexports.float_min = float_min;\nexports.string_min = string_min;\nexports.bool_max = bool_max;\nexports.int_max = int_max;\nexports.float_max = float_max;\nexports.string_max = string_max;\nexports.i64_eq = i64_eq;\nexports.i64_neq = i64_neq;\nexports.i64_lt = i64_lt;\nexports.i64_gt = i64_gt;\nexports.i64_le = i64_le;\nexports.i64_ge = i64_ge;\nexports.i64_min = i64_min;\nexports.i64_max = i64_max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_array.js": -/*!*****************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_array.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l.tl;\n _acc = l.hd.length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l.hd;\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l.tl;\n _i = k;\n continue ;\n };\n}\n\nfunction concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n xs[index] = newval;\n}\n\nfunction get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n return xs[index];\n}\n\nfunction make(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction make_float(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n}\n\nfunction dup(prim) {\n return prim.slice(0);\n}\n\nexports.dup = dup;\nexports.sub = sub;\nexports.concat = concat;\nexports.make = make;\nexports.make_float = make_float;\nexports.blit = blit;\nexports.get = get;\nexports.set = set;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_array.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_exceptions.js": -/*!**********************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_exceptions.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar id = {\n contents: 0\n};\n\nfunction create(str) {\n id.contents = id.contents + 1 | 0;\n return str + (\"/\" + id.contents);\n}\n\nfunction is_extension(e) {\n if (e == null) {\n return false;\n } else {\n return typeof e.RE_EXN_ID === \"string\";\n }\n}\n\nfunction exn_slot_name(x) {\n return x.RE_EXN_ID;\n}\n\nexports.id = id;\nexports.create = create;\nexports.is_extension = is_extension;\nexports.exn_slot_name = exn_slot_name;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_exceptions.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js": -/*!*************************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_exceptions = __webpack_require__(/*! ./caml_exceptions.js */ \"../../../../../node_modules/rescript/lib/js/caml_exceptions.js\");\n\nvar $$Error = \"JsError\";\n\nfunction internalToOCamlException(e) {\n if (Caml_exceptions.is_extension(e)) {\n return e;\n } else {\n return {\n RE_EXN_ID: \"JsError\",\n _1: e\n };\n }\n}\n\nfunction as_js_exn(exn) {\n if (exn.RE_EXN_ID === $$Error) {\n return Caml_option.some(exn._1);\n }\n \n}\n\nexports.$$Error = $$Error;\nexports.internalToOCamlException = internalToOCamlException;\nexports.as_js_exn = as_js_exn;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_obj.js": -/*!***************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_obj.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../../node_modules/rescript/lib/js/caml.js\");\n\nvar for_in = (function(o,foo){\n for (var x in o) { foo(x) }});\n\nvar obj_dup = (function(x){\n if(Array.isArray(x)){\n var len = x.length \n var v = new Array(len)\n for(var i = 0 ; i < len ; ++i){\n v[i] = x[i]\n }\n if(x.TAG !== undefined){\n v.TAG = x.TAG // TODO this can be removed eventually\n } \n return v \n } \n return Object.assign({},x) \n});\n\nvar update_dummy = (function(x,y){\n var k \n if(Array.isArray(y)){\n for(k = 0; k < y.length ; ++k){\n x[k] = y[k]\n }\n if(y.TAG !== undefined){\n x.TAG = y.TAG\n }\n } else {\n for (var k in y){\n x[k] = y[k]\n }\n }\n});\n\nfunction compare(a, b) {\n if (a === b) {\n return 0;\n }\n var a_type = typeof a;\n var b_type = typeof b;\n switch (a_type) {\n case \"boolean\" :\n if (b_type === \"boolean\") {\n return Caml.bool_compare(a, b);\n }\n break;\n case \"function\" :\n if (b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"compare: functional value\",\n Error: new Error()\n };\n }\n break;\n case \"number\" :\n if (b_type === \"number\") {\n return Caml.float_compare(a, b);\n }\n break;\n case \"string\" :\n if (b_type === \"string\") {\n return Caml.string_compare(a, b);\n } else {\n return 1;\n }\n case \"undefined\" :\n return -1;\n default:\n \n }\n switch (b_type) {\n case \"string\" :\n return -1;\n case \"undefined\" :\n return 1;\n default:\n if (a_type === \"boolean\") {\n return 1;\n }\n if (b_type === \"boolean\") {\n return -1;\n }\n if (a_type === \"function\") {\n return 1;\n }\n if (b_type === \"function\") {\n return -1;\n }\n if (a_type === \"number\") {\n if (b === null || b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b_type === \"number\") {\n if (a === null || a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a === null) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b === null) {\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return aux_obj_compare(a, b);\n } else {\n return -1;\n }\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return Caml.int_compare(a[1], b[1]);\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n if (tag_a < tag_b) {\n return -1;\n } else {\n return 1;\n }\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return 0;\n }\n var res = compare(a[i], b[i]);\n if (res !== 0) {\n return res;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return (a - b);\n } else {\n return aux_obj_compare(a, b);\n }\n } else if (len_a < len_b) {\n var _i$1 = 0;\n while(true) {\n var i$1 = _i$1;\n if (i$1 === len_a) {\n return -1;\n }\n var res$1 = compare(a[i$1], b[i$1]);\n if (res$1 !== 0) {\n return res$1;\n }\n _i$1 = i$1 + 1 | 0;\n continue ;\n };\n } else {\n var _i$2 = 0;\n while(true) {\n var i$2 = _i$2;\n if (i$2 === len_b) {\n return 1;\n }\n var res$2 = compare(a[i$2], b[i$2]);\n if (res$2 !== 0) {\n return res$2;\n }\n _i$2 = i$2 + 1 | 0;\n continue ;\n };\n }\n }\n}\n\nfunction aux_obj_compare(a, b) {\n var min_key_lhs = {\n contents: undefined\n };\n var min_key_rhs = {\n contents: undefined\n };\n var do_key = function (param, key) {\n var min_key = param[2];\n var b = param[1];\n if (!(!Object.prototype.hasOwnProperty.call(b, key) || compare(param[0][key], b[key]) > 0)) {\n return ;\n }\n var mk = min_key.contents;\n if (mk !== undefined && key >= mk) {\n return ;\n } else {\n min_key.contents = key;\n return ;\n }\n };\n var partial_arg = [\n a,\n b,\n min_key_rhs\n ];\n var do_key_a = function (param) {\n return do_key(partial_arg, param);\n };\n var partial_arg$1 = [\n b,\n a,\n min_key_lhs\n ];\n var do_key_b = function (param) {\n return do_key(partial_arg$1, param);\n };\n for_in(a, do_key_a);\n for_in(b, do_key_b);\n var match = min_key_lhs.contents;\n var match$1 = min_key_rhs.contents;\n if (match !== undefined) {\n if (match$1 !== undefined) {\n return Caml.string_compare(match, match$1);\n } else {\n return -1;\n }\n } else if (match$1 !== undefined) {\n return 1;\n } else {\n return 0;\n }\n}\n\nfunction equal(a, b) {\n if (a === b) {\n return true;\n }\n var a_type = typeof a;\n if (a_type === \"string\" || a_type === \"number\" || a_type === \"boolean\" || a_type === \"undefined\" || a === null) {\n return false;\n }\n var b_type = typeof b;\n if (a_type === \"function\" || b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: functional value\",\n Error: new Error()\n };\n }\n if (b_type === \"number\" || b_type === \"undefined\" || b === null) {\n return false;\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return a[1] === b[1];\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n return false;\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return true;\n }\n if (!equal(a[i], b[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return !(a > b || a < b);\n } else {\n var result = {\n contents: true\n };\n var do_key_a = function (key) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) {\n result.contents = false;\n return ;\n }\n \n };\n var do_key_b = function (key) {\n if (!Object.prototype.hasOwnProperty.call(a, key) || !equal(b[key], a[key])) {\n result.contents = false;\n return ;\n }\n \n };\n for_in(a, do_key_a);\n if (result.contents) {\n for_in(b, do_key_b);\n }\n return result.contents;\n }\n } else {\n return false;\n }\n}\n\nfunction equal_null(x, y) {\n if (y !== null) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_undefined(x, y) {\n if (y !== undefined) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_nullable(x, y) {\n if (y == null) {\n return x === y;\n } else {\n return equal(x, y);\n }\n}\n\nfunction notequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a !== b;\n } else {\n return !equal(a, b);\n }\n}\n\nfunction greaterequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a >= b;\n } else {\n return compare(a, b) >= 0;\n }\n}\n\nfunction greaterthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a > b;\n } else {\n return compare(a, b) > 0;\n }\n}\n\nfunction lessequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a <= b;\n } else {\n return compare(a, b) <= 0;\n }\n}\n\nfunction lessthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a < b;\n } else {\n return compare(a, b) < 0;\n }\n}\n\nfunction min(x, y) {\n if (compare(x, y) <= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction max(x, y) {\n if (compare(x, y) >= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.obj_dup = obj_dup;\nexports.update_dummy = update_dummy;\nexports.compare = compare;\nexports.equal = equal;\nexports.equal_null = equal_null;\nexports.equal_undefined = equal_undefined;\nexports.equal_nullable = equal_nullable;\nexports.notequal = notequal;\nexports.greaterequal = greaterequal;\nexports.greaterthan = greaterthan;\nexports.lessthan = lessthan;\nexports.lessequal = lessequal;\nexports.min = min;\nexports.max = max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_obj.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_option.js": -/*!******************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_option.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction isNested(x) {\n return x.BS_PRIVATE_NESTED_SOME_NONE !== undefined;\n}\n\nfunction some(x) {\n if (x === undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: 0\n };\n } else if (x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: x.BS_PRIVATE_NESTED_SOME_NONE + 1 | 0\n };\n } else {\n return x;\n }\n}\n\nfunction nullable_to_opt(x) {\n if (x == null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction undefined_to_opt(x) {\n if (x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction null_to_opt(x) {\n if (x === null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction valFromOption(x) {\n if (!(x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined)) {\n return x;\n }\n var depth = x.BS_PRIVATE_NESTED_SOME_NONE;\n if (depth === 0) {\n return ;\n } else {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: depth - 1 | 0\n };\n }\n}\n\nfunction option_get(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x);\n }\n}\n\nfunction option_unwrap(x) {\n if (x !== undefined) {\n return x.VAL;\n } else {\n return x;\n }\n}\n\nexports.nullable_to_opt = nullable_to_opt;\nexports.undefined_to_opt = undefined_to_opt;\nexports.null_to_opt = null_to_opt;\nexports.valFromOption = valFromOption;\nexports.some = some;\nexports.isNested = isNested;\nexports.option_get = option_get;\nexports.option_unwrap = option_unwrap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_option.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_splice_call.js": -/*!***********************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_splice_call.js ***! - \***********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar spliceApply = (function(fn,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return fn.apply(null,applied)\n});\n\nvar spliceNewApply = (function (ctor,args){\n var i, argLen;\n argLen = args.length\n var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in `args` to be `null`\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n var C = Function.prototype.bind.apply(ctor, applied)\n return new C()\n});\n\nvar spliceObjApply = (function(obj,name,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return (obj[name]).apply(obj,applied)\n});\n\nexports.spliceApply = spliceApply;\nexports.spliceNewApply = spliceNewApply;\nexports.spliceObjApply = spliceObjApply;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_splice_call.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/curry.js": -/*!************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/curry.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_array = __webpack_require__(/*! ./caml_array.js */ \"../../../../../node_modules/rescript/lib/js/caml_array.js\");\n\nfunction app(_f, _args) {\n while(true) {\n var args = _args;\n var f = _f;\n var init_arity = f.length;\n var arity = init_arity === 0 ? 1 : init_arity;\n var len = args.length;\n var d = arity - len | 0;\n if (d === 0) {\n return f.apply(null, args);\n }\n if (d >= 0) {\n return (function(f,args){\n return function (x) {\n return app(f, args.concat([x]));\n }\n }(f,args));\n }\n _args = Caml_array.sub(args, arity, -d | 0);\n _f = f.apply(null, Caml_array.sub(args, 0, arity));\n continue ;\n };\n}\n\nfunction _1(o, a0) {\n var arity = o.length;\n if (arity === 1) {\n return o(a0);\n } else {\n switch (arity) {\n case 1 :\n return o(a0);\n case 2 :\n return function (param) {\n return o(a0, param);\n };\n case 3 :\n return function (param, param$1) {\n return o(a0, param, param$1);\n };\n case 4 :\n return function (param, param$1, param$2) {\n return o(a0, param, param$1, param$2);\n };\n case 5 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, param, param$1, param$2, param$3);\n };\n case 6 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, param, param$1, param$2, param$3, param$4);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4, param$5) {\n return o(a0, param, param$1, param$2, param$3, param$4, param$5);\n };\n default:\n return app(o, [a0]);\n }\n }\n}\n\nfunction __1(o) {\n var arity = o.length;\n if (arity === 1) {\n return o;\n } else {\n return function (a0) {\n return _1(o, a0);\n };\n }\n}\n\nfunction _2(o, a0, a1) {\n var arity = o.length;\n if (arity === 2) {\n return o(a0, a1);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [a1]);\n case 2 :\n return o(a0, a1);\n case 3 :\n return function (param) {\n return o(a0, a1, param);\n };\n case 4 :\n return function (param, param$1) {\n return o(a0, a1, param, param$1);\n };\n case 5 :\n return function (param, param$1, param$2) {\n return o(a0, a1, param, param$1, param$2);\n };\n case 6 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, param, param$1, param$2, param$3);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, a1, param, param$1, param$2, param$3, param$4);\n };\n default:\n return app(o, [\n a0,\n a1\n ]);\n }\n }\n}\n\nfunction __2(o) {\n var arity = o.length;\n if (arity === 2) {\n return o;\n } else {\n return function (a0, a1) {\n return _2(o, a0, a1);\n };\n }\n}\n\nfunction _3(o, a0, a1, a2) {\n var arity = o.length;\n if (arity === 3) {\n return o(a0, a1, a2);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2\n ]);\n case 2 :\n return app(o(a0, a1), [a2]);\n case 3 :\n return o(a0, a1, a2);\n case 4 :\n return function (param) {\n return o(a0, a1, a2, param);\n };\n case 5 :\n return function (param, param$1) {\n return o(a0, a1, a2, param, param$1);\n };\n case 6 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, param, param$1, param$2);\n };\n case 7 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, a2, param, param$1, param$2, param$3);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2\n ]);\n }\n }\n}\n\nfunction __3(o) {\n var arity = o.length;\n if (arity === 3) {\n return o;\n } else {\n return function (a0, a1, a2) {\n return _3(o, a0, a1, a2);\n };\n }\n}\n\nfunction _4(o, a0, a1, a2, a3) {\n var arity = o.length;\n if (arity === 4) {\n return o(a0, a1, a2, a3);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3\n ]);\n case 3 :\n return app(o(a0, a1, a2), [a3]);\n case 4 :\n return o(a0, a1, a2, a3);\n case 5 :\n return function (param) {\n return o(a0, a1, a2, a3, param);\n };\n case 6 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, param, param$1);\n };\n case 7 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, a3, param, param$1, param$2);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3\n ]);\n }\n }\n}\n\nfunction __4(o) {\n var arity = o.length;\n if (arity === 4) {\n return o;\n } else {\n return function (a0, a1, a2, a3) {\n return _4(o, a0, a1, a2, a3);\n };\n }\n}\n\nfunction _5(o, a0, a1, a2, a3, a4) {\n var arity = o.length;\n if (arity === 5) {\n return o(a0, a1, a2, a3, a4);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [a4]);\n case 5 :\n return o(a0, a1, a2, a3, a4);\n case 6 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, param);\n };\n case 7 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, a4, param, param$1);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4\n ]);\n }\n }\n}\n\nfunction __5(o) {\n var arity = o.length;\n if (arity === 5) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4) {\n return _5(o, a0, a1, a2, a3, a4);\n };\n }\n}\n\nfunction _6(o, a0, a1, a2, a3, a4, a5) {\n var arity = o.length;\n if (arity === 6) {\n return o(a0, a1, a2, a3, a4, a5);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [a5]);\n case 6 :\n return o(a0, a1, a2, a3, a4, a5);\n case 7 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, a5, param);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n }\n }\n}\n\nfunction __6(o) {\n var arity = o.length;\n if (arity === 6) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5) {\n return _6(o, a0, a1, a2, a3, a4, a5);\n };\n }\n}\n\nfunction _7(o, a0, a1, a2, a3, a4, a5, a6) {\n var arity = o.length;\n if (arity === 7) {\n return o(a0, a1, a2, a3, a4, a5, a6);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [a6]);\n case 7 :\n return o(a0, a1, a2, a3, a4, a5, a6);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n }\n }\n}\n\nfunction __7(o) {\n var arity = o.length;\n if (arity === 7) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return _7(o, a0, a1, a2, a3, a4, a5, a6);\n };\n }\n}\n\nfunction _8(o, a0, a1, a2, a3, a4, a5, a6, a7) {\n var arity = o.length;\n if (arity === 8) {\n return o(a0, a1, a2, a3, a4, a5, a6, a7);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6,\n a7\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6,\n a7\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [\n a6,\n a7\n ]);\n case 7 :\n return app(o(a0, a1, a2, a3, a4, a5, a6), [a7]);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n }\n }\n}\n\nfunction __8(o) {\n var arity = o.length;\n if (arity === 8) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return _8(o, a0, a1, a2, a3, a4, a5, a6, a7);\n };\n }\n}\n\nexports.app = app;\nexports._1 = _1;\nexports.__1 = __1;\nexports._2 = _2;\nexports.__2 = __2;\nexports._3 = _3;\nexports.__3 = __3;\nexports._4 = _4;\nexports.__4 = __4;\nexports._5 = _5;\nexports.__5 = __5;\nexports._6 = _6;\nexports.__6 = __6;\nexports._7 = _7;\nexports.__7 = __7;\nexports._8 = _8;\nexports.__8 = __8;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/curry.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_array.js": -/*!***************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_array.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_splice_call = __webpack_require__(/*! ./caml_splice_call.js */ \"../../../../../node_modules/rescript/lib/js/caml_splice_call.js\");\n\nfunction copyWithin(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction push(arg1, obj) {\n return obj.push(arg1);\n}\n\nfunction pushMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"push\", [arg1]);\n}\n\nfunction sortInPlaceWith(arg1, obj) {\n return obj.sort(Curry.__2(arg1));\n}\n\nfunction spliceInPlace(pos, remove, add, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"splice\", [\n pos,\n remove,\n add\n ]);\n}\n\nfunction removeFromInPlace(pos, obj) {\n return obj.splice(pos);\n}\n\nfunction removeCountInPlace(pos, count, obj) {\n return obj.splice(pos, count);\n}\n\nfunction unshift(arg1, obj) {\n return obj.unshift(arg1);\n}\n\nfunction unshiftMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"unshift\", [arg1]);\n}\n\nfunction concat(arg1, obj) {\n return obj.concat(arg1);\n}\n\nfunction concatMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"concat\", [arg1]);\n}\n\nfunction includes(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction every(arg1, obj) {\n return obj.every(Curry.__1(arg1));\n}\n\nfunction everyi(arg1, obj) {\n return obj.every(Curry.__2(arg1));\n}\n\nfunction filter(arg1, obj) {\n return obj.filter(Curry.__1(arg1));\n}\n\nfunction filteri(arg1, obj) {\n return obj.filter(Curry.__2(arg1));\n}\n\nfunction find(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__1(arg1)));\n}\n\nfunction findi(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__2(arg1)));\n}\n\nfunction findIndex(arg1, obj) {\n return obj.findIndex(Curry.__1(arg1));\n}\n\nfunction findIndexi(arg1, obj) {\n return obj.findIndex(Curry.__2(arg1));\n}\n\nfunction forEach(arg1, obj) {\n obj.forEach(Curry.__1(arg1));\n}\n\nfunction forEachi(arg1, obj) {\n obj.forEach(Curry.__2(arg1));\n}\n\nfunction map(arg1, obj) {\n return obj.map(Curry.__1(arg1));\n}\n\nfunction mapi(arg1, obj) {\n return obj.map(Curry.__2(arg1));\n}\n\nfunction reduce(arg1, arg2, obj) {\n return obj.reduce(Curry.__2(arg1), arg2);\n}\n\nfunction reducei(arg1, arg2, obj) {\n return obj.reduce(Curry.__3(arg1), arg2);\n}\n\nfunction reduceRight(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__2(arg1), arg2);\n}\n\nfunction reduceRighti(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__3(arg1), arg2);\n}\n\nfunction some(arg1, obj) {\n return obj.some(Curry.__1(arg1));\n}\n\nfunction somei(arg1, obj) {\n return obj.some(Curry.__2(arg1));\n}\n\nexports.copyWithin = copyWithin;\nexports.copyWithinFrom = copyWithinFrom;\nexports.copyWithinFromRange = copyWithinFromRange;\nexports.fillInPlace = fillInPlace;\nexports.fillFromInPlace = fillFromInPlace;\nexports.fillRangeInPlace = fillRangeInPlace;\nexports.push = push;\nexports.pushMany = pushMany;\nexports.sortInPlaceWith = sortInPlaceWith;\nexports.spliceInPlace = spliceInPlace;\nexports.removeFromInPlace = removeFromInPlace;\nexports.removeCountInPlace = removeCountInPlace;\nexports.unshift = unshift;\nexports.unshiftMany = unshiftMany;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.includes = includes;\nexports.indexOf = indexOf;\nexports.indexOfFrom = indexOfFrom;\nexports.joinWith = joinWith;\nexports.lastIndexOf = lastIndexOf;\nexports.lastIndexOfFrom = lastIndexOfFrom;\nexports.slice = slice;\nexports.sliceFrom = sliceFrom;\nexports.every = every;\nexports.everyi = everyi;\nexports.filter = filter;\nexports.filteri = filteri;\nexports.find = find;\nexports.findi = findi;\nexports.findIndex = findIndex;\nexports.findIndexi = findIndexi;\nexports.forEach = forEach;\nexports.forEachi = forEachi;\nexports.map = map;\nexports.mapi = mapi;\nexports.reduce = reduce;\nexports.reducei = reducei;\nexports.reduceRight = reduceRight;\nexports.reduceRighti = reduceRighti;\nexports.some = some;\nexports.somei = somei;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_array.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_dict.js": -/*!**************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_dict.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(dict, k) {\n if ((k in dict)) {\n return Caml_option.some(dict[k]);\n }\n \n}\n\nvar unsafeDeleteKey = (function (dict,key){\n delete dict[key];\n });\n\nfunction entries(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values = new Array(l);\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n values[i] = [\n key,\n dict[key]\n ];\n }\n return values;\n}\n\nfunction values(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values$1 = new Array(l);\n for(var i = 0; i < l; ++i){\n values$1[i] = dict[keys[i]];\n }\n return values$1;\n}\n\nfunction fromList(entries) {\n var dict = {};\n var _param = entries;\n while(true) {\n var param = _param;\n if (!param) {\n return dict;\n }\n var match = param.hd;\n dict[match[0]] = match[1];\n _param = param.tl;\n continue ;\n };\n}\n\nfunction fromArray(entries) {\n var dict = {};\n var l = entries.length;\n for(var i = 0; i < l; ++i){\n var match = entries[i];\n dict[match[0]] = match[1];\n }\n return dict;\n}\n\nfunction map(f, source) {\n var target = {};\n var keys = Object.keys(source);\n var l = keys.length;\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n target[key] = f(source[key]);\n }\n return target;\n}\n\nexports.get = get;\nexports.unsafeDeleteKey = unsafeDeleteKey;\nexports.entries = entries;\nexports.values = values;\nexports.fromList = fromList;\nexports.fromArray = fromArray;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_dict.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_exn.js": -/*!*************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_exn.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction raiseError(str) {\n throw new Error(str);\n}\n\nfunction raiseEvalError(str) {\n throw new EvalError(str);\n}\n\nfunction raiseRangeError(str) {\n throw new RangeError(str);\n}\n\nfunction raiseReferenceError(str) {\n throw new ReferenceError(str);\n}\n\nfunction raiseSyntaxError(str) {\n throw new SyntaxError(str);\n}\n\nfunction raiseTypeError(str) {\n throw new TypeError(str);\n}\n\nfunction raiseUriError(str) {\n throw new URIError(str);\n}\n\nvar $$Error$1 = \"JsError\";\n\nexports.$$Error = $$Error$1;\nexports.raiseError = raiseError;\nexports.raiseEvalError = raiseEvalError;\nexports.raiseRangeError = raiseRangeError;\nexports.raiseReferenceError = raiseReferenceError;\nexports.raiseSyntaxError = raiseSyntaxError;\nexports.raiseTypeError = raiseTypeError;\nexports.raiseUriError = raiseUriError;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_exn.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_int.js": -/*!*************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_int.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction equal(x, y) {\n return x === y;\n}\n\nvar max = 2147483647;\n\nvar min = -2147483648;\n\nexports.equal = equal;\nexports.max = max;\nexports.min = min;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_int.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_math.js": -/*!**************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_math.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_int = __webpack_require__(/*! ./js_int.js */ \"../../../../../node_modules/rescript/lib/js/js_int.js\");\n\nfunction unsafe_ceil(prim) {\n return Math.ceil(prim);\n}\n\nfunction ceil_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.ceil(f);\n }\n}\n\nfunction unsafe_floor(prim) {\n return Math.floor(prim);\n}\n\nfunction floor_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.floor(f);\n }\n}\n\nfunction random_int(min, max) {\n return floor_int(Math.random() * (max - min | 0)) + min | 0;\n}\n\nvar ceil = ceil_int;\n\nvar floor = floor_int;\n\nexports.unsafe_ceil = unsafe_ceil;\nexports.ceil_int = ceil_int;\nexports.ceil = ceil;\nexports.unsafe_floor = unsafe_floor;\nexports.floor_int = floor_int;\nexports.floor = floor;\nexports.random_int = random_int;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_math.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_null_undefined.js": -/*!************************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_null_undefined.js ***! - \************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction bind(x, f) {\n if (x == null) {\n return x;\n } else {\n return f(x);\n }\n}\n\nfunction iter(x, f) {\n if (!(x == null)) {\n return f(x);\n }\n \n}\n\nfunction fromOption(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n \n}\n\nvar from_opt = fromOption;\n\nexports.bind = bind;\nexports.iter = iter;\nexports.fromOption = fromOption;\nexports.from_opt = from_opt;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_null_undefined.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_option.js": -/*!****************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_option.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction some(x) {\n return Caml_option.some(x);\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isSomeValue(eq, v, x) {\n if (x !== undefined) {\n return eq(v, Caml_option.valFromOption(x));\n } else {\n return false;\n }\n}\n\nfunction isNone(param) {\n return param === undefined;\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw new Error(\"getExn\");\n}\n\nfunction equal(eq, a, b) {\n if (a !== undefined) {\n if (b !== undefined) {\n return eq(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction andThen(f, x) {\n if (x !== undefined) {\n return f(Caml_option.valFromOption(x));\n }\n \n}\n\nfunction map(f, x) {\n if (x !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(x)));\n }\n \n}\n\nfunction getWithDefault(a, x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n } else {\n return a;\n }\n}\n\nfunction filter(f, x) {\n if (x === undefined) {\n return ;\n }\n var x$1 = Caml_option.valFromOption(x);\n if (f(x$1)) {\n return Caml_option.some(x$1);\n }\n \n}\n\nfunction firstSome(a, b) {\n if (a !== undefined) {\n return a;\n } else if (b !== undefined) {\n return b;\n } else {\n return ;\n }\n}\n\nvar $$default = getWithDefault;\n\nexports.some = some;\nexports.isSome = isSome;\nexports.isSomeValue = isSomeValue;\nexports.isNone = isNone;\nexports.getExn = getExn;\nexports.equal = equal;\nexports.andThen = andThen;\nexports.map = map;\nexports.getWithDefault = getWithDefault;\nexports.$$default = $$default;\nexports[\"default\"] = $$default;\nexports.__esModule = true;\nexports.filter = filter;\nexports.firstSome = firstSome;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_option.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_promise.js": -/*!*****************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_promise.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\n\nfunction then_(arg1, obj) {\n return obj.then(Curry.__1(arg1));\n}\n\nfunction $$catch(arg1, obj) {\n return obj.catch(Curry.__1(arg1));\n}\n\nexports.then_ = then_;\nexports.$$catch = $$catch;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_promise.js?"); - -/***/ }), - -/***/ "./lib/js/src/Main.bs.js": -/*!*******************************!*\ - !*** ./lib/js/src/Main.bs.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar UIManager$Meta3dUi = __webpack_require__(/*! ./UIManager.bs.js */ \"./lib/js/src/UIManager.bs.js\");\nvar NullableSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js\");\nvar ImmutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js\");\n\nfunction getExtensionService(api) {\n var partial_arg = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$1 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$2 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$3 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$4 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$5 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$6 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$7 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$8 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$9 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$10 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$11 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$12 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$13 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$14 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$15 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$16 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$17 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$18 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$19 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$20 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$21 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$22 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$23 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n var partial_arg$24 = [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ];\n return {\n registerElement: (function (meta3dState, elementContribute) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.registerElement(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), elementContribute));\n }),\n registerSkin: (function (meta3dState, skinContribute) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.registerSkin(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), skinContribute));\n }),\n registerUIControl: (function (meta3dState, uiControlContribute) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.registerUIControl(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), uiControlContribute));\n }),\n registerInput: (function (meta3dState, inputContribute) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.registerInput(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), inputContribute));\n }),\n render: (function (param, param$1, param$2) {\n return UIManager$Meta3dUi.render(api, param, param$1, param$2);\n }),\n show: (function (meta3dState, elementName) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.show(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), elementName));\n }),\n hide: (function (meta3dState, elementName) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.hide(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), elementName));\n }),\n isStateChange: (function (meta3dState, elementName) {\n return UIManager$Meta3dUi.isStateChange(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), elementName);\n }),\n getElementState: (function (meta3dState, elementName) {\n return UIManager$Meta3dUi.getElementState(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), elementName);\n }),\n updateElementState: (function (meta3dState, updateElementStateFunc) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.updateElementState(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), updateElementStateFunc));\n }),\n getSkin: (function (meta3dState, skinName) {\n return UIManager$Meta3dUi.getSkin(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), skinName);\n }),\n getUIControlFunc: (function (meta3dState, uiControlName) {\n return UIManager$Meta3dUi.getUIControlFuncExn(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), uiControlName);\n }),\n getInputFunc: (function (meta3dState, inputName) {\n return UIManager$Meta3dUi.getInputFunc(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), inputName);\n }),\n getUIControlState: (function (meta3dState, uiControlName) {\n return UIManager$Meta3dUi.getUIControlState(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), uiControlName);\n }),\n setUIControlState: (function (meta3dState, uiControlName, uiControlState) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.setUIControlState(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), uiControlName, uiControlState));\n }),\n setStyle: (function (meta3dState, style) {\n return UIManager$Meta3dUi.setStyle(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], style);\n }),\n beginWindow: (function (meta3dState, label, flags) {\n return UIManager$Meta3dUi.beginWindow(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], label, flags);\n }),\n endWindow: (function (meta3dState) {\n return UIManager$Meta3dUi.endWindow(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ]);\n }),\n beginChild: (function (meta3dState, label) {\n return UIManager$Meta3dUi.beginChild(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], label);\n }),\n endChild: (function (meta3dState) {\n return UIManager$Meta3dUi.endChild(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ]);\n }),\n setNextWindowRect: (function (meta3dState, rect) {\n return UIManager$Meta3dUi.setNextWindowRect(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], rect);\n }),\n addFBOTexture: (function (meta3dState, texture, rect) {\n return UIManager$Meta3dUi.addFBOTexture(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], texture, rect);\n }),\n getFBOTexture: (function (meta3dState, textureID) {\n return UIManager$Meta3dUi.getFBOTexture(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), textureID);\n }),\n setFBOTexture: (function (meta3dState, textureID, texture) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.setFBOTexture(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), textureID, texture));\n }),\n getWindowBarHeight: (function (meta3dState) {\n return UIManager$Meta3dUi.getWindowBarHeight(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ]);\n }),\n getContext: (function (meta3dState) {\n return UIManager$Meta3dUi.getContext(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ]);\n }),\n button: (function (meta3dState, label, size) {\n return UIManager$Meta3dUi.button(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], label, size);\n }),\n setCursorPos: (function (meta3dState, pos) {\n return UIManager$Meta3dUi.setCursorPos(meta3dState, [\n api,\n \"meta3d-imgui-renderer-protocol\"\n ], pos);\n }),\n loadImage: (function (param, param$1) {\n return UIManager$Meta3dUi.loadImage(partial_arg, param, param$1);\n }),\n asset: (function (param, param$1, param$2, param$3) {\n return UIManager$Meta3dUi.asset(partial_arg$1, param, param$1, param$2, param$3);\n }),\n handleDragDropTarget: (function (param, param$1) {\n return UIManager$Meta3dUi.handleDragDropTarget(partial_arg$2, param, param$1);\n }),\n menu: (function (param, param$1, param$2, param$3) {\n return UIManager$Meta3dUi.menu(partial_arg$3, param, param$1, param$2, param$3);\n }),\n tree: (function (param, param$1, param$2, param$3, param$4, param$5) {\n return UIManager$Meta3dUi.tree(partial_arg$4, param, param$1, param$2, param$3, param$4, param$5);\n }),\n switchButton: (function (param, param$1, param$2, param$3) {\n return UIManager$Meta3dUi.switchButton(partial_arg$5, param, param$1, param$2, param$3);\n }),\n imageButton: (function (param, param$1, param$2) {\n return UIManager$Meta3dUi.imageButton(partial_arg$6, param, param$1, param$2);\n }),\n image: (function (param, param$1, param$2) {\n return UIManager$Meta3dUi.image(partial_arg$7, param, param$1, param$2);\n }),\n inputText: (function (param, param$1, param$2, param$3, param$4) {\n return UIManager$Meta3dUi.inputText(partial_arg$8, param, param$1, param$2, param$3, param$4);\n }),\n inputFloat1: (function (param, param$1, param$2, param$3, param$4, param$5) {\n return UIManager$Meta3dUi.inputFloat1(partial_arg$9, param, param$1, param$2, param$3, param$4, param$5);\n }),\n inputFloat3: (function (param, param$1, param$2, param$3, param$4, param$5) {\n return UIManager$Meta3dUi.inputFloat3(partial_arg$10, param, param$1, param$2, param$3, param$4, param$5);\n }),\n checkbox: (function (param, param$1, param$2) {\n return UIManager$Meta3dUi.checkbox(partial_arg$11, param, param$1, param$2);\n }),\n collapsing: (function (param, param$1, param$2, param$3) {\n return UIManager$Meta3dUi.collapsing(partial_arg$12, param, param$1, param$2, param$3);\n }),\n openModal: (function (param, param$1) {\n return UIManager$Meta3dUi.openModal(partial_arg$13, param, param$1);\n }),\n closeCurrentModal: (function (param) {\n return UIManager$Meta3dUi.closeCurrentModal(partial_arg$14, param);\n }),\n beginModal: (function (param, param$1) {\n return UIManager$Meta3dUi.beginModal(partial_arg$15, param, param$1);\n }),\n endModal: (function (param) {\n return UIManager$Meta3dUi.endModal(partial_arg$16, param);\n }),\n popup: (function (param, param$1, param$2, param$3) {\n return UIManager$Meta3dUi.popup(partial_arg$17, param, param$1, param$2, param$3);\n }),\n imagePopup: (function (param, param$1, param$2, param$3, param$4) {\n return UIManager$Meta3dUi.imagePopup(partial_arg$18, param, param$1, param$2, param$3, param$4);\n }),\n dummy: (function (param, param$1, param$2) {\n return UIManager$Meta3dUi.dummy(partial_arg$19, param, param$1, param$2);\n }),\n list: (function (param, param$1, param$2, param$3, param$4, param$5, param$6) {\n return UIManager$Meta3dUi.list(partial_arg$20, param, param$1, param$2, param$3, param$4, param$5, param$6);\n }),\n getItemRectMax: (function (param) {\n return UIManager$Meta3dUi.getItemRectMax(partial_arg$21, param);\n }),\n getItemRectSize: (function (param) {\n return UIManager$Meta3dUi.getItemRectSize(partial_arg$22, param);\n }),\n getWindowPos: (function (param) {\n return UIManager$Meta3dUi.getWindowPos(partial_arg$23, param);\n }),\n getWindowSize: (function (param) {\n return UIManager$Meta3dUi.getWindowSize(partial_arg$24, param);\n }),\n init: UIManager$Meta3dUi.init,\n clear: UIManager$Meta3dUi.clear,\n getCurrentElementState: (function (meta3dState) {\n return UIManager$Meta3dUi.getCurrentElementState(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"));\n }),\n setCurrentElementState: (function (meta3dState, currentElementState) {\n return api.setExtensionState(meta3dState, \"meta3d-ui-protocol\", UIManager$Meta3dUi.setCurrentElementState(api.getExtensionState(meta3dState, \"meta3d-ui-protocol\"), currentElementState));\n })\n };\n}\n\nfunction createExtensionState(param, param$1) {\n return {\n elementFuncMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n elementStateMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n elementExecOrderMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n isShowMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n isStateChangeMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n skinContributeMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n uiControlContributeMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n uiControlStateMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n inputContributeMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n currentElementName: undefined,\n fboTextureMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined)\n };\n}\n\nfunction getExtensionLife(api, param) {\n return {\n onRegister: null,\n onRestore: NullableSt$Meta3dCommonlib.$$return(function (param, param$1) {\n return UIManager$Meta3dUi.restore(api, param, param$1);\n }),\n onDeepCopy: NullableSt$Meta3dCommonlib.$$return(function (param) {\n return UIManager$Meta3dUi.deepCopy(api, param);\n }),\n onStart: null,\n onInit: null,\n onUpdate: null\n };\n}\n\nexports.getExtensionService = getExtensionService;\nexports.createExtensionState = createExtensionState;\nexports.getExtensionLife = getExtensionLife;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/Main.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/UIManager.bs.js": -/*!************************************!*\ - !*** ./lib/js/src/UIManager.bs.js ***! - \************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_obj = __webpack_require__(/*! rescript/lib/js/caml_obj.js */ \"../../../../../node_modules/rescript/lib/js/caml_obj.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar PromiseSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js\");\nvar NullableSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js\");\nvar ImmutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js\");\n\nfunction hide(state, elementName) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: ImmutableHashMap$Meta3dCommonlib.set(state.isShowMap, elementName, false),\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction show(state, elementName) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: ImmutableHashMap$Meta3dCommonlib.set(state.isShowMap, elementName, true),\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction _markStateChange(state, elementName) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: ImmutableHashMap$Meta3dCommonlib.set(state.isStateChangeMap, elementName, true),\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction _markStateNotChange(state, elementName) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: ImmutableHashMap$Meta3dCommonlib.set(state.isStateChangeMap, elementName, false),\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction _markAllStateNotChange(state, needMarkStateNotChangeIds) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(needMarkStateNotChangeIds, _markStateNotChange, state);\n}\n\nfunction _getElementStateExn(param, elementName) {\n return ImmutableHashMap$Meta3dCommonlib.getExn(param.elementStateMap, elementName);\n}\n\nfunction getElementState(param, elementName) {\n return ImmutableHashMap$Meta3dCommonlib.getNullable(param.elementStateMap, elementName);\n}\n\nfunction _setElementState(state, elementName, elementState) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: ImmutableHashMap$Meta3dCommonlib.set(state.elementStateMap, elementName, elementState),\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction _getElementExecOrderExn(state, elementName) {\n return ImmutableHashMap$Meta3dCommonlib.getExn(state.elementExecOrderMap, elementName);\n}\n\nfunction _setElementExecOrder(state, elementName, execOrder) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: ImmutableHashMap$Meta3dCommonlib.set(state.elementExecOrderMap, elementName, execOrder),\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction _getCurrentElementName(state) {\n return OptionSt$Meta3dCommonlib.getExn(state.currentElementName);\n}\n\nfunction _setCurrentElementName(state, elementName) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: elementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction updateElementState(state, updateElementStateFunc) {\n var elementName = OptionSt$Meta3dCommonlib.getExn(state.currentElementName);\n var oldElementState = _getElementStateExn(state, elementName);\n var newElementState = Curry._1(updateElementStateFunc, oldElementState);\n if (Caml_obj.notequal(oldElementState, newElementState)) {\n return _setElementState(_markStateChange(state, elementName), elementName, newElementState);\n } else {\n return _markStateNotChange(state, elementName);\n }\n}\n\nfunction _exec(meta3dState, state) {\n var elementFuncMap = state.elementFuncMap;\n var __x = ImmutableHashMap$Meta3dCommonlib.entries(state.isShowMap);\n return ArraySt$Meta3dCommonlib.traverseReducePromiseM(Js_array.sortInPlaceWith((function (param, param$1) {\n return ImmutableHashMap$Meta3dCommonlib.getExn(state.elementExecOrderMap, param[0]) - ImmutableHashMap$Meta3dCommonlib.getExn(state.elementExecOrderMap, param$1[0]) | 0;\n }), __x), (function (param, param$1) {\n var needMarkStateNotChangeIds = param[1];\n var meta3dState = param[0];\n if (!param$1[1]) {\n return Promise.resolve([\n meta3dState,\n needMarkStateNotChangeIds\n ]);\n }\n var elementName = param$1[0];\n var elementFunc = ImmutableHashMap$Meta3dCommonlib.getExn(elementFuncMap, elementName);\n return PromiseSt$Meta3dCommonlib.map(elementFunc(meta3dState, _getElementStateExn(state, elementName)), (function (meta3dState) {\n return [\n meta3dState,\n ArraySt$Meta3dCommonlib.push(needMarkStateNotChangeIds, elementName)\n ];\n }));\n }), [\n meta3dState,\n []\n ]);\n}\n\nfunction _invokeIMGUIRenderFunc(meta3dState, invokeFunc, param) {\n var imguiRendererExtensionProtocolName = param[1];\n var api = param[0];\n var imguiRendererState = api.getExtensionState(meta3dState, imguiRendererExtensionProtocolName);\n var imguiRendererService = api.getExtensionService(meta3dState, imguiRendererExtensionProtocolName);\n var imguiRendererState$1 = invokeFunc(imguiRendererState, imguiRendererService);\n return api.setExtensionState(meta3dState, imguiRendererExtensionProtocolName, imguiRendererState$1);\n}\n\nfunction _invokeIMGUIRenderFuncWithParam(meta3dState, invokeFunc, param) {\n var imguiRendererExtensionProtocolName = param[1];\n var api = param[0];\n var imguiRendererState = api.getExtensionState(meta3dState, imguiRendererExtensionProtocolName);\n var imguiRendererService = api.getExtensionService(meta3dState, imguiRendererExtensionProtocolName);\n var match = invokeFunc(imguiRendererState, imguiRendererService);\n var meta3dState$1 = api.setExtensionState(meta3dState, imguiRendererExtensionProtocolName, match[0]);\n return [\n meta3dState$1,\n match[1]\n ];\n}\n\nfunction _invokeIMGUIRenderFuncReturnData(meta3dState, invokeFunc, param) {\n var imguiRendererExtensionProtocolName = param[1];\n var api = param[0];\n var imguiRendererState = api.getExtensionState(meta3dState, imguiRendererExtensionProtocolName);\n var imguiRendererService = api.getExtensionService(meta3dState, imguiRendererExtensionProtocolName);\n return invokeFunc(imguiRendererState, imguiRendererService);\n}\n\nfunction render(api, meta3dState, param, time) {\n var imguiRendererExtensionProtocolName = param[1];\n var uiExtensionProtocolName = param[0];\n var state = api.getExtensionState(meta3dState, uiExtensionProtocolName);\n var meta3dState$1 = api.setExtensionState(meta3dState, uiExtensionProtocolName, state);\n var meta3dState$2 = _invokeIMGUIRenderFunc(meta3dState$1, (function (imguiRendererState, imguiRendererService) {\n return imguiRendererService.beforeExec(imguiRendererState, time);\n }), [\n api,\n imguiRendererExtensionProtocolName\n ]);\n return PromiseSt$Meta3dCommonlib.map(PromiseSt$Meta3dCommonlib.map(_exec(meta3dState$2, state), (function (param) {\n var meta3dState = param[0];\n var state = api.getExtensionState(meta3dState, uiExtensionProtocolName);\n var state$1 = _markAllStateNotChange(state, param[1]);\n return api.setExtensionState(meta3dState, uiExtensionProtocolName, state$1);\n })), (function (meta3dState) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n Curry._1(imguiRendererService.afterExec, undefined);\n Curry._1(imguiRendererService.render, undefined);\n return imguiRendererState;\n }), [\n api,\n imguiRendererExtensionProtocolName\n ]);\n }));\n}\n\nfunction _setElementFunc(state, elementName, elementFunc) {\n return {\n elementFuncMap: ImmutableHashMap$Meta3dCommonlib.set(state.elementFuncMap, elementName, elementFunc),\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction registerElement(state, param) {\n var elementName = param.elementName;\n return _markStateChange(show(_setElementExecOrder(_setElementState(_setElementFunc(_setCurrentElementName(state, elementName), elementName, param.elementFunc), elementName, param.elementState), elementName, param.execOrder), elementName), elementName);\n}\n\nfunction registerSkin(state, skinContribute) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: ImmutableHashMap$Meta3dCommonlib.set(state.skinContributeMap, skinContribute.skinName, skinContribute),\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction registerUIControl(state, uiControlContribute) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: ImmutableHashMap$Meta3dCommonlib.set(state.uiControlContributeMap, uiControlContribute.uiControlName, uiControlContribute),\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction registerInput(state, inputContribute) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: ImmutableHashMap$Meta3dCommonlib.set(state.inputContributeMap, inputContribute.inputName, inputContribute),\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction getSkin(state, skinName) {\n return ImmutableHashMap$Meta3dCommonlib.getNullable(state.skinContributeMap, skinName);\n}\n\nfunction _getUIControlExn(state, uiControlName) {\n return ImmutableHashMap$Meta3dCommonlib.getExn(state.uiControlContributeMap, uiControlName);\n}\n\nfunction getUIControlFuncExn(state, uiControlName) {\n return ImmutableHashMap$Meta3dCommonlib.getExn(state.uiControlContributeMap, uiControlName).func;\n}\n\nfunction getInputFunc(state, inputName) {\n return NullableSt$Meta3dCommonlib.map(ImmutableHashMap$Meta3dCommonlib.getNullable(state.inputContributeMap, inputName), (function (param) {\n return param.func;\n }));\n}\n\nfunction getUIControlState(state, uiControlName) {\n return ImmutableHashMap$Meta3dCommonlib.getNullable(state.uiControlStateMap, uiControlName);\n}\n\nfunction setUIControlState(state, uiControlName, uiControlState) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: ImmutableHashMap$Meta3dCommonlib.set(state.uiControlStateMap, uiControlName, uiControlState),\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: state.fboTextureMap\n };\n}\n\nfunction isStateChange(state, elementName) {\n return ImmutableHashMap$Meta3dCommonlib.getExn(state.isStateChangeMap, elementName);\n}\n\nfunction setStyle(meta3dState, data, style) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return imguiRendererService.setStyle(imguiRendererState, style);\n }), data);\n}\n\nfunction beginWindow(meta3dState, data, label, flags) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.beginWindow(label, flags);\n return imguiRendererState;\n }), data);\n}\n\nfunction endWindow(meta3dState, data) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n Curry._1(imguiRendererService.endWindow, undefined);\n return imguiRendererState;\n }), data);\n}\n\nfunction beginChild(meta3dState, data, label) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.beginChild(label);\n return imguiRendererState;\n }), data);\n}\n\nfunction endChild(meta3dState, data) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n Curry._1(imguiRendererService.endChild, undefined);\n return imguiRendererState;\n }), data);\n}\n\nfunction setNextWindowRect(meta3dState, data, rect) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.setNextWindowRect(rect);\n return imguiRendererState;\n }), data);\n}\n\nfunction getFBOTexture(state, textureID) {\n return ImmutableHashMap$Meta3dCommonlib.getNullable(state.fboTextureMap, textureID);\n}\n\nfunction setFBOTexture(state, textureID, texture) {\n return {\n elementFuncMap: state.elementFuncMap,\n elementStateMap: state.elementStateMap,\n elementExecOrderMap: state.elementExecOrderMap,\n isShowMap: state.isShowMap,\n isStateChangeMap: state.isStateChangeMap,\n skinContributeMap: state.skinContributeMap,\n uiControlContributeMap: state.uiControlContributeMap,\n uiControlStateMap: state.uiControlStateMap,\n inputContributeMap: state.inputContributeMap,\n currentElementName: state.currentElementName,\n fboTextureMap: ImmutableHashMap$Meta3dCommonlib.set(state.fboTextureMap, textureID, texture)\n };\n}\n\nfunction addFBOTexture(meta3dState, data, texture, rect) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.addFBOTexture(texture, rect);\n return imguiRendererState;\n }), data);\n}\n\nfunction getWindowBarHeight(meta3dState, data) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return Curry._1(imguiRendererService.getWindowBarHeight, undefined);\n }), data);\n}\n\nfunction getContext(meta3dState, data) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return Curry._1(imguiRendererService.getContext, undefined);\n }), data);\n}\n\nfunction button(meta3dState, data, label, size) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.button(label, size)\n ];\n }), data);\n}\n\nfunction setCursorPos(meta3dState, data, pos) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.setCursorPos(pos);\n return imguiRendererState;\n }), data);\n}\n\nfunction loadImage(data, meta3dState, imageBase64Src) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return imguiRendererService.loadImage(imageBase64Src);\n }), data);\n}\n\nfunction asset(data, meta3dState, files, label, rect) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.asset(files, label, rect)\n ];\n }), data);\n}\n\nfunction handleDragDropTarget(data, meta3dState, type_) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.handleDragDropTarget(type_)\n ];\n }), data);\n}\n\nfunction menu(data, meta3dState, allLabels, windowName, rect) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.menu(allLabels, windowName, rect)\n ];\n }), data);\n}\n\nfunction tree(data, meta3dState, treeData, treeNodeLabel, lastTreeSelectedData, windowName, rect) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.tree(treeData, treeNodeLabel, lastTreeSelectedData, windowName, rect)\n ];\n }), data);\n}\n\nfunction switchButton(data, meta3dState, isRun, textures, size) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.switchButton(isRun, textures, size)\n ];\n }), data);\n}\n\nfunction imageButton(data, meta3dState, texture, size) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.imageButton(texture, size)\n ];\n }), data);\n}\n\nfunction image(data, meta3dState, texture, size) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.image(texture, size);\n return imguiRendererState;\n }), data);\n}\n\nfunction inputText(data, meta3dState, label, value, maxLength, width) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.inputText(label, value, maxLength, width)\n ];\n }), data);\n}\n\nfunction inputFloat1(data, meta3dState, label, value, step, stepFast, width) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.inputFloat1(label, value, step, stepFast, width)\n ];\n }), data);\n}\n\nfunction inputFloat3(data, meta3dState, label, value, step, stepFast, width) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.inputFloat3(label, value, step, stepFast, width)\n ];\n }), data);\n}\n\nfunction checkbox(data, meta3dState, label, value) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.checkbox(label, value)\n ];\n }), data);\n}\n\nfunction collapsing(data, meta3dState, label, isOpen, cond) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.collapsing(label, isOpen, cond)\n ];\n }), data);\n}\n\nfunction openModal(data, meta3dState, label) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.openModal(label);\n return imguiRendererState;\n }), data);\n}\n\nfunction closeCurrentModal(data, meta3dState) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n Curry._1(imguiRendererService.closeCurrentModal, undefined);\n return imguiRendererState;\n }), data);\n}\n\nfunction beginModal(data, meta3dState, label) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.beginModal(label)\n ];\n }), data);\n}\n\nfunction endModal(data, meta3dState) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n Curry._1(imguiRendererService.endModal, undefined);\n return imguiRendererState;\n }), data);\n}\n\nfunction popup(data, meta3dState, label, selectedValues, id) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.popup(label, selectedValues, id)\n ];\n }), data);\n}\n\nfunction imagePopup(data, meta3dState, clickTexture, size, selectedValues, id) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.imagePopup(clickTexture, size, selectedValues, id)\n ];\n }), data);\n}\n\nfunction dummy(data, meta3dState, width, height) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.dummy(width, height);\n return imguiRendererState;\n }), data);\n}\n\nfunction list(data, meta3dState, label, size, items, itemSize, isRemoveable, removeTexture) {\n return _invokeIMGUIRenderFuncWithParam(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return [\n imguiRendererState,\n imguiRendererService.list(label, size, items, itemSize, isRemoveable, removeTexture)\n ];\n }), data);\n}\n\nfunction getItemRectMax(data, meta3dState) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return Curry._1(imguiRendererService.getItemRectMax, undefined);\n }), data);\n}\n\nfunction getItemRectSize(data, meta3dState) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return Curry._1(imguiRendererService.getItemRectSize, undefined);\n }), data);\n}\n\nfunction getWindowPos(data, meta3dState) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return Curry._1(imguiRendererService.getWindowPos, undefined);\n }), data);\n}\n\nfunction getWindowSize(data, meta3dState) {\n return _invokeIMGUIRenderFuncReturnData(meta3dState, (function (imguiRendererState, imguiRendererService) {\n return Curry._1(imguiRendererService.getWindowSize, undefined);\n }), data);\n}\n\nfunction clear(meta3dState, data, clearColor) {\n return _invokeIMGUIRenderFunc(meta3dState, (function (imguiRendererState, imguiRendererService) {\n imguiRendererService.clear(clearColor);\n return imguiRendererState;\n }), data);\n}\n\nfunction _getCurrentElementStateOption(state) {\n return OptionSt$Meta3dCommonlib.bind(state.currentElementName, (function (currentElementName) {\n return ImmutableHashMap$Meta3dCommonlib.get(state.elementStateMap, currentElementName);\n }));\n}\n\nfunction getCurrentElementState(state) {\n return getElementState(state, OptionSt$Meta3dCommonlib.getExn(state.currentElementName));\n}\n\nfunction setCurrentElementState(state, currentElementState) {\n return _setElementState(state, OptionSt$Meta3dCommonlib.getExn(state.currentElementName), currentElementState);\n}\n\nfunction init(meta3dState, param, isInitEvent, isDebug, canvas) {\n var imguiRendererExtensionProtocolName = param[1];\n var api = param[0];\n var uiExtensionProtocolName = \"meta3d-ui-protocol\";\n var uiState = api.getExtensionState(meta3dState, uiExtensionProtocolName);\n var elementState = _getCurrentElementStateOption(uiState);\n var meta3dState$1;\n if (elementState !== undefined) {\n var eventExtensionProtocolName = \"meta3d-event-protocol\";\n var eventService = api.getExtensionService(meta3dState, eventExtensionProtocolName);\n var eventState = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var elementState$1 = ArraySt$Meta3dCommonlib.reduceOneParam(Curry._1(eventService.getAllActionContributes, eventState), (function (elementState, param) {\n return ImmutableHashMap$Meta3dCommonlib.set(elementState, param[0], Curry._1(param[1].createState, meta3dState));\n }), Caml_option.valFromOption(elementState));\n var uiState$1 = setCurrentElementState(uiState, elementState$1);\n meta3dState$1 = api.setExtensionState(meta3dState, uiExtensionProtocolName, uiState$1);\n } else {\n meta3dState$1 = meta3dState;\n }\n var imguiRendererState = api.getExtensionState(meta3dState$1, imguiRendererExtensionProtocolName);\n var imguiRendererService = api.getExtensionService(meta3dState$1, imguiRendererExtensionProtocolName);\n return PromiseSt$Meta3dCommonlib.map(imguiRendererService.init(imguiRendererState, isInitEvent, isDebug, canvas), (function (imguiRendererState) {\n return api.setExtensionState(meta3dState$1, imguiRendererExtensionProtocolName, imguiRendererState);\n }));\n}\n\nfunction restore(api, currentMeta3dState, targetMeta3dState) {\n var eventExtensionProtocolName = \"meta3d-event-protocol\";\n var uiExtensionProtocolName = \"meta3d-ui-protocol\";\n var eventService = api.getExtensionService(targetMeta3dState, eventExtensionProtocolName);\n var eventState = api.getExtensionState(targetMeta3dState, eventExtensionProtocolName);\n var currentUIState = api.getExtensionState(currentMeta3dState, uiExtensionProtocolName);\n var currentElementState = NullableSt$Meta3dCommonlib.getExn(getElementState(currentUIState, OptionSt$Meta3dCommonlib.getExn(currentUIState.currentElementName)));\n var targetUIState = api.getExtensionState(targetMeta3dState, uiExtensionProtocolName);\n var targetElementState = ArraySt$Meta3dCommonlib.reduceOneParam(Curry._1(eventService.getAllActionContributes, eventState), (function (targetElementState, param) {\n var actionName = param[0];\n return NullableSt$Meta3dCommonlib.getWithDefault(NullableSt$Meta3dCommonlib.map(param[1].restore, (function (restore) {\n return ImmutableHashMap$Meta3dCommonlib.set(targetElementState, actionName, Curry._2(restore, ImmutableHashMap$Meta3dCommonlib.getExn(currentElementState, actionName), ImmutableHashMap$Meta3dCommonlib.getExn(targetElementState, actionName)));\n })), targetElementState);\n }), NullableSt$Meta3dCommonlib.getExn(getElementState(targetUIState, OptionSt$Meta3dCommonlib.getExn(targetUIState.currentElementName))));\n var targetUIState$1 = setCurrentElementState(targetUIState, targetElementState);\n return api.setExtensionState(targetMeta3dState, uiExtensionProtocolName, {\n elementFuncMap: targetUIState$1.elementFuncMap,\n elementStateMap: targetUIState$1.elementStateMap,\n elementExecOrderMap: targetUIState$1.elementExecOrderMap,\n isShowMap: targetUIState$1.isShowMap,\n isStateChangeMap: targetUIState$1.isStateChangeMap,\n skinContributeMap: targetUIState$1.skinContributeMap,\n uiControlContributeMap: targetUIState$1.uiControlContributeMap,\n uiControlStateMap: currentUIState.uiControlStateMap,\n inputContributeMap: targetUIState$1.inputContributeMap,\n currentElementName: targetUIState$1.currentElementName,\n fboTextureMap: targetUIState$1.fboTextureMap\n });\n}\n\nfunction deepCopy(api, meta3dState) {\n var eventExtensionProtocolName = \"meta3d-event-protocol\";\n var uiExtensionProtocolName = \"meta3d-ui-protocol\";\n var eventService = api.getExtensionService(meta3dState, eventExtensionProtocolName);\n var eventState = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var uiState = api.getExtensionState(meta3dState, uiExtensionProtocolName);\n var elementState = ArraySt$Meta3dCommonlib.reduceOneParam(Curry._1(eventService.getAllActionContributes, eventState), (function (elementState, param) {\n var actionName = param[0];\n return NullableSt$Meta3dCommonlib.getWithDefault(NullableSt$Meta3dCommonlib.map(param[1].deepCopy, (function (deepCopy) {\n return ImmutableHashMap$Meta3dCommonlib.set(elementState, actionName, Curry._1(deepCopy, ImmutableHashMap$Meta3dCommonlib.getExn(elementState, actionName)));\n })), elementState);\n }), NullableSt$Meta3dCommonlib.getExn(getElementState(uiState, OptionSt$Meta3dCommonlib.getExn(uiState.currentElementName))));\n var uiState$1 = setCurrentElementState(uiState, elementState);\n return api.setExtensionState(meta3dState, uiExtensionProtocolName, uiState$1);\n}\n\nexports.hide = hide;\nexports.show = show;\nexports._markStateChange = _markStateChange;\nexports._markStateNotChange = _markStateNotChange;\nexports._markAllStateNotChange = _markAllStateNotChange;\nexports._getElementStateExn = _getElementStateExn;\nexports.getElementState = getElementState;\nexports._setElementState = _setElementState;\nexports._getElementExecOrderExn = _getElementExecOrderExn;\nexports._setElementExecOrder = _setElementExecOrder;\nexports._getCurrentElementName = _getCurrentElementName;\nexports._setCurrentElementName = _setCurrentElementName;\nexports.updateElementState = updateElementState;\nexports._exec = _exec;\nexports._invokeIMGUIRenderFunc = _invokeIMGUIRenderFunc;\nexports._invokeIMGUIRenderFuncWithParam = _invokeIMGUIRenderFuncWithParam;\nexports._invokeIMGUIRenderFuncReturnData = _invokeIMGUIRenderFuncReturnData;\nexports.render = render;\nexports._setElementFunc = _setElementFunc;\nexports.registerElement = registerElement;\nexports.registerSkin = registerSkin;\nexports.registerUIControl = registerUIControl;\nexports.registerInput = registerInput;\nexports.getSkin = getSkin;\nexports._getUIControlExn = _getUIControlExn;\nexports.getUIControlFuncExn = getUIControlFuncExn;\nexports.getInputFunc = getInputFunc;\nexports.getUIControlState = getUIControlState;\nexports.setUIControlState = setUIControlState;\nexports.isStateChange = isStateChange;\nexports.setStyle = setStyle;\nexports.beginWindow = beginWindow;\nexports.endWindow = endWindow;\nexports.beginChild = beginChild;\nexports.endChild = endChild;\nexports.setNextWindowRect = setNextWindowRect;\nexports.getFBOTexture = getFBOTexture;\nexports.setFBOTexture = setFBOTexture;\nexports.addFBOTexture = addFBOTexture;\nexports.getWindowBarHeight = getWindowBarHeight;\nexports.getContext = getContext;\nexports.button = button;\nexports.setCursorPos = setCursorPos;\nexports.loadImage = loadImage;\nexports.asset = asset;\nexports.handleDragDropTarget = handleDragDropTarget;\nexports.menu = menu;\nexports.tree = tree;\nexports.switchButton = switchButton;\nexports.imageButton = imageButton;\nexports.image = image;\nexports.inputText = inputText;\nexports.inputFloat1 = inputFloat1;\nexports.inputFloat3 = inputFloat3;\nexports.checkbox = checkbox;\nexports.collapsing = collapsing;\nexports.openModal = openModal;\nexports.closeCurrentModal = closeCurrentModal;\nexports.beginModal = beginModal;\nexports.endModal = endModal;\nexports.popup = popup;\nexports.imagePopup = imagePopup;\nexports.dummy = dummy;\nexports.list = list;\nexports.getItemRectMax = getItemRectMax;\nexports.getItemRectSize = getItemRectSize;\nexports.getWindowPos = getWindowPos;\nexports.getWindowSize = getWindowSize;\nexports.clear = clear;\nexports._getCurrentElementStateOption = _getCurrentElementStateOption;\nexports.getCurrentElementState = getCurrentElementState;\nexports.setCurrentElementState = setCurrentElementState;\nexports.init = init;\nexports.restore = restore;\nexports.deepCopy = deepCopy;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/UIManager.bs.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./lib/js/src/Main.bs.js"); -/******/ window.Extension = __webpack_exports__; -/******/ -/******/ })() -; \ No newline at end of file +(()=>{"use strict";var t={876:(t,n,e)=>{var r=e(127),u=e(144),o=e(428),i=e(62),a=e(99),f=function(t){return null!=t},c=f;function l(t){return a.isNone(i.getBy(t,(function(t){return null==t})))}var s=l,p=a.isSome,d=a.isNone;function m(t,n){return'"expect to be '+n+", but actual is "+t+'"'}function v(t,n,e){return m(n,e),o.equal(n,e)}function g(t,n){return'"expect not to be '+n+", but actual is "+t+'"'}function h(t,n,e){return g(n,e),o.notequal(n,e)}var _={$eq:function(t,n){return v(0,t,n)},$eq$eq$dot:function(t,n){return v(0,t,n)},$eq$eq$caret:function(t,n){return v(0,t,n)},$less$great$eq:function(t,n){return h(0,t,n)},$less$great$eq$dot:function(t,n){return h(0,t,n)},$great:o.greaterthan,$great$dot:o.greaterthan,$great$eq:o.greaterequal,$great$eq$dot:o.greaterequal,$less:o.lessthan,$less$dot:o.lessthan,$less$eq:o.lessequal,$less$eq$dot:o.lessequal};n._assert=function(t,n){return t},n.test=function(t,n){return r._1(n,void 0)?void 0:u.raiseError(t)},n.requireCheck=function(t,n){if(n)return r._1(t,void 0)},n.ensureCheck=function(t,n,e){return e?(r._1(n,t),t):t},n.assertPass=function(t){return!0},n.assertTrue=function(t){return!0===t},n.assertFalse=function(t){return!1===t},n.assertJsTrue=function(t){return!0===t},n.assertJsFalse=function(t){return!1===t},n.assertIsBool=function(t){return!0===t||!1===t},n._isNullableExist=f,n.assertNullableExist=c,n._isNullableListExist=l,n.assertNullableListExist=s,n.assertExist=p,n.assertNotExist=d,n._getEqualMessage=m,n.assertEqual=v,n._getNotEqualMessage=g,n.assertNotEqual=h,n.assertGt=function(t,n,e){return o.greaterthan(n,e)},n.assertGte=function(t,n,e){return o.greaterequal(n,e)},n.assertLt=function(t,n,e){return o.lessthan(n,e)},n.assertLte=function(t,n,e){return o.lessequal(n,e)},n.Operators=_},862:(t,n,e)=>{var r=e(127),u=e(62);n.printForDebug=function(t){return console.log(JSON.stringify(t)),t},n.printStringForDebug=function(t){return console.log(t),t},n.printListForDebug=function(t){return console.log(u.toArray(t)),t},n.logForDebug=function(t){console.log(t),console.trace()},n.log=function(t){console.log(JSON.stringify(t))},n.debugWithFunc=function(t,n){if(n)return r._1(t,void 0)},n._debug=function(t){console.debug(t)},n.debug=function(t,n){if(n){var e=r._1(t,void 0);console.debug(e),console.trace()}},n.getJsonStr=function(t){return JSON.stringify(t)},n.buildDebugMessage=function(t,n,e){return"\n Debug:\n\n description\n "+t+"\n\n params\n "+n+"\n\n "},n.buildDebugJsonMessage=function(t,n,e){return"\n DebugJson:\n\n description\n "+t+"\n\n variable value\n "+JSON.stringify(n)+"\n "},n.buildFatalMessage=function(t,n,e,r,u){return"\n Fatal:\n\n title\n "+t+"\n\n description\n "+n+"\n\n reason\n "+e+"\n\n solution\n "+r+"\n\n params\n "+u+"\n\n "},n.buildErrorMessage=function(t,n,e,r,u){return"\n Error:\n\n title\n "+t+"\n\n description\n "+n+"\n\n reason\n "+e+"\n\n solution\n "+r+"\n\n params\n "+u+"\n\n "},n.buildAssertMessage=function(t,n){return"expect "+t+", but actual "+n}},469:(t,n,e)=>{var r=e(127),u=e(210),o=e(218),i=e(962),a=e(199),f=e(862),c=e(826),l=e(876),s=e(484),p=e(932),d=e(781),m=t=>{if(void 0!==t)return t;throw new Error("Not_found")};function v(t,n){return 0===t.length?c.succeed([]):c.bind(r._1(n,m(t[0])),(function(e){return c.bind(v(u.sliceFrom(1,t),n),(function(t){return c.succeed(u.concat(t,[e]))}))}))}function g(t){return t}function h(t,n){return u.push(n,t),t}n._getExn=m,n.getExn=function(t,n){return m(t[n])},n.length=function(t){return t.length},n.find=function(t,n){return u.find(n,t)},n.includes=function(t,n){return u.includes(n,t)},n.includesByFunc=function(t,n){return s.isSome(u.find(n,t))},n.sliceFrom=function(t,n){return u.sliceFrom(n,t)},n.slice=function(t,n,e){return u.slice(n,e,t)},n.copy=function(t){return t.slice()},n.reduceOneParam=function(t,n,e){return o.reduceU(t,e,n)},n.reduceOneParami=function(t,n,e){for(var r=e,u=0,o=t.length;u=1)return a.some(i.get(t,0))},n.push=h,n.forEach=function(t,n){u.forEach(n,t)},n.map=function(t,n){return u.map(n,t)},n.mapi=function(t,n){return u.mapi(n,t)},n.filter=function(t,n){return u.filter(n,t)},n.reverse=function(t){return t.slice().reverse()},n.deleteBySwap=function(t,n,e,r){l.requireCheck((function(n){var e=t.length;l.test(f.buildAssertMessage("lastIndex:"+r+" === arr.length:"+e,"not"),(function(n){return l.assertEqual(0,t.length-1|0,r)}))}),n),t[e]=t[r],t.pop()},n.range=function(t,n){for(var e=[],r=t;r<=n;++r)u.push(r,e);return e},n.removeDuplicateItems=function(t){for(var n=[],e=d.createEmpty(void 0,void 0),r=0,o=t.length;r0?h(u,r):u},n.sort=function(t,n){return u.sortInPlaceWith(n,t)}},30:(t,n)=>{n.throwErr=t=>{throw t},n.buildErr=t=>new Error(t)},164:(t,n,e)=>{var r=e(212),u=e(484),o=r.bind;n.getExn=function(t){return u.getExn(u.fromNullable(t))},n.$$return=function(t){return t},n.getWithDefault=function(t,n){return u.getWithDefault(u.fromNullable(t),n)},n.map=o,n.bind=function(t,n){return u.toNullable(u.bind(u.fromNullable(t),(function(t){return u.fromNullable(n(t))})))},n.isNullable=function(t){return null==t},n.getEmpty=function(t){}},484:(t,n,e)=>{var r=e(127),u=e(829),o=e(199),i=e(212),a=e(826),f=t=>{if(void 0!==t)return t;throw new Error("Not_found")},c=f,l=i.from_opt,s=u.getWithDefault,p=u.isSome,d=u.map,m=u.flatMap;n.unsafeGet=function(t){return t},n._getExn=f,n.getExn=c,n.buildFailResult=function(t){return a.failWith("data not exist in option data")},n.get=function(t){return void 0!==t?a.succeed(o.valFromOption(t)):a.failWith("data not exist in option data")},n.getWithDefault=s,n.isSome=p,n.map=d,n.bind=m,n.fromNullable=function(t){return null==t?void 0:o.some(t)},n.toNullable=l,n.toStrictNullable=function(t){return void 0!==t?o.valFromOption(t):null},n.forEachResult=function(t,n){return void 0!==t?r._1(n,o.valFromOption(t)):a.succeed(void 0)},n.sequenceResultM=function(t){return void 0!==t?a.mapSuccess(t,(function(t){return o.some(t)})):a.succeed(void 0)},n.open_=function(t){if(void 0!==t)return o.valFromOption(t)}},932:(t,n,e)=>{var r=e(127),u=e(732);n.bind=function(t,n){return u.then_(n,t)},n.map=function(t,n){return u.then_((function(t){return Promise.resolve(r._1(n,t))}),t)}},826:(t,n,e)=>{var r=e(127),u=e(144),o=e(931),i=e(30);function a(t){return{TAG:1,_0:t}}var f=i.buildErr;function c(t,n,e){return 0===t.TAG?r._1(n,t._0):r._1(e,t._0)}function l(t,n){return 0===t.TAG?t._0:r._1(n,t._0)}n.succeed=function(t){return{TAG:0,_0:t}},n.fail=a,n._buildErr=f,n.failWith=function(t){return{TAG:1,_0:i.buildErr(t)}},n.isSuccess=function(t){return 0===t.TAG},n.either=c,n.bind=function(t,n){return c(t,n,a)},n.tap=function(t,n){return c(t,(function(t){return r._1(n,t),{TAG:0,_0:t}}),a)},n.tryCatch=function(t){try{return{TAG:0,_0:r._1(t,void 0)}}catch(t){var n=o.internalToOCamlException(t);return n.RE_EXN_ID===u.$$Error?{TAG:1,_0:n._1}:{TAG:1,_0:i.buildErr("unknown error: "+n)}}},n.mapSuccess=function(t,n){return 0===t.TAG?{TAG:0,_0:r._1(n,t._0)}:{TAG:1,_0:t._0}},n.handleFail=l,n.getExn=function(t){return l(t,i.throwErr)},n.toNullable=function(t){return 0===t.TAG?t._0:null},n.open_=function(t){return 0===t.TAG?t._0:{TAG:1,_0:t._0}}},533:(t,n,e)=>{var r=e(200),u=e(210),o=e(218),i=e(199),a=e(212),f=e(360);function c(t,n){var e=t[n];return f.isEmpty(e)?void 0:i.some(e)}var l=t=>{if(void 0!==t)return t;throw new Error("Not_found")},s=r.entries;function p(t,n,e){return t[n]=e,t}n.createEmpty=function(t,n){return{}},n.unsafeGet=function(t,n){return t[n]},n.get=c,n._getExn=l,n.getExn=function(t,n){return l(t[n])},n.getNullable=function(t,n){return a.fromOption(c(t,n))},n.has=function(t,n){return!f.isEmpty(t[n])},n.entries=s,n._mutableSet=p,n._createEmpty=function(t){return{}},n._reduceArray=function(t,n,e){return o.reduceU(t,e,n)},n.copy=function(t){return o.reduceU(r.entries(t),{},(function(t,n){return p(t,n[0],n[1])}))},n.getValidValues=function(t){var n=r.values(t);return u.filter(f.isInMap,n)},n.map=function(t,n){return r.map(n,t)},n.merge=function(t,n){return o.reduceU(r.entries(t),n,(function(t,n){return p(t,n[0],n[1])}))}},370:(t,n,e)=>{var r=e(533),u=r.createEmpty,o=r.unsafeGet,i=r.get,a=r.getExn,f=r.getNullable,c=r.has,l=r.getValidValues,s=r.copy,p=r.entries,d=r.map,m=r.merge;n.createEmpty=u,n.set=function(t,n,e){var u=r.copy(t);return u[n]=e,u},n.unsafeGet=o,n.get=i,n.getExn=a,n.getNullable=f,n.has=c,n.deleteVal=function(t,n){var e=r.copy(t);return e[n]=void 0,e},n.getValidValues=l,n.copy=s,n.entries=p,n.map=d,n.merge=m},781:(t,n,e)=>{var r=e(533),u=r.createEmpty,o=r.unsafeGet,i=r.get,a=r.getExn,f=r.getNullable,c=r.has,l=r.getValidValues,s=r.copy,p=r.entries,d=r.map,m=r.merge;n.createEmpty=u,n.set=function(t,n,e){return t[n]=e,t},n.unsafeGet=o,n.get=i,n.getExn=a,n.getNullable=f,n.has=c,n.deleteVal=function(t,n){return t[n]=void 0,t},n.getValidValues=l,n.copy=s,n.entries=p,n.map=d,n.merge=m},360:(t,n)=>{n.isUndefined=function(t){return void 0===t},n.isEmpty=function(t){return null==t},n.isNotInMap=function(t){return void 0===t},n.isInMap=function(t){return void 0!==t}},218:(t,n,e)=>{var r=e(811),u=e(127),o=e(74),i=e(199);function a(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function f(t){for(var n=t.length,e=0;e=0;--u)r=e(r,t[u]);return r}function C(t,n,e,u){for(var o=e,i=r.int_min(t.length,n.length)-1|0;i>=0;--i)o=u(o,t[i],n[i]);return o}function y(t,n,e){for(var r=n,u=0,o=t.length;uu)return 1;if(r=0&&n=0&&n=0&&n=0&&nu?e-u|0:0,i=new Array(o),a=0;a=0;--p)e[p+c|0]=t[p+f|0]},n.blitUnsafe=function(t,n,e,r,u){if(r<=n)for(var o=0;o=0;--i)e[i+r|0]=t[i+n|0]},n.forEachU=d,n.forEach=function(t,n){d(t,u.__1(n))},n.mapU=m,n.map=function(t,n){return m(t,u.__1(n))},n.flatMapU=function(t,n){return p(m(t,n))},n.flatMap=function(t,n){return p(m(t,u.__1(n)))},n.getByU=v,n.getBy=function(t,n){return v(t,u.__1(n))},n.getIndexByU=g,n.getIndexBy=function(t,n){return g(t,u.__1(n))},n.keepU=h,n.keep=function(t,n){return h(t,u.__1(n))},n.keepWithIndexU=_,n.keepWithIndex=function(t,n){return _(t,u.__2(n))},n.keepMapU=E,n.keepMap=function(t,n){return E(t,u.__1(n))},n.forEachWithIndexU=M,n.forEachWithIndex=function(t,n){M(t,u.__2(n))},n.mapWithIndexU=S,n.mapWithIndex=function(t,n){return S(t,u.__2(n))},n.partitionU=U,n.partition=function(t,n){return U(t,u.__1(n))},n.reduceU=b,n.reduce=function(t,n,e){return b(t,n,u.__2(e))},n.reduceReverseU=x,n.reduceReverse=function(t,n,e){return x(t,n,u.__2(e))},n.reduceReverse2U=C,n.reduceReverse2=function(t,n,e,r){return C(t,n,e,u.__3(r))},n.reduceWithIndexU=y,n.reduceWithIndex=function(t,n,e){return y(t,n,u.__3(e))},n.joinWithU=R,n.joinWith=function(t,n,e){return R(t,n,u.__1(e))},n.someU=N,n.some=function(t,n){return N(t,u.__1(n))},n.everyU=w,n.every=function(t,n){return w(t,u.__1(n))},n.every2U=I,n.every2=function(t,n,e){return I(t,n,u.__2(e))},n.some2U=F,n.some2=function(t,n,e){return F(t,n,u.__2(e))},n.cmpU=T,n.cmp=function(t,n,e){return T(t,n,u.__2(e))},n.eqU=A,n.eq=function(t,n,e){return A(t,n,u.__2(e))},n.initU=k,n.init=function(t,n){return k(t,u.__1(n))}},62:(t,n,e)=>{var r=e(127),u=e(218),o=e(199),i=e(71);function a(t,n){for(;;){var e=n,r=t;if(!r)return e;var u={hd:r.hd,tl:0};e.tl=u,n=u,t=r.tl}}function f(t,n,e){for(;;){var r=e,u=n;if(!u)return;var o=u.tl,i=u.hd;if(t(i)){var a={hd:i,tl:0};r.tl=a,e=a,n=o}else n=o}}function c(t,n,e,r){for(;;){var u=r,o=e,i=n;if(!i)return;var a=i.tl,f=i.hd;if(t(f,u)){var c={hd:f,tl:0};o.tl=c,r=u+1|0,e=c,n=a}else r=u+1|0,n=a}}function l(t,n,e){for(;;){var r=e,u=n;if(!u)return;var i=u.tl,a=t(u.hd);if(void 0===a)n=i;else{var f={hd:o.valFromOption(a),tl:0};r.tl=f,e=f,n=i}}}function s(t,n){if(!t)return n;var e={hd:t.hd,tl:0};return a(t.tl,e).tl=n,e}function p(t,n){if(!t)return 0;var e={hd:n(t.hd),tl:0};return function(t,n,e){for(;;){var r=n,u=t;if(!u)return;var o={hd:e(u.hd),tl:0};r.tl=o,n=o,t=u.tl}}(t.tl,e,n),e}function d(t,n,e){if(!t)return 0;if(!n)return 0;var r={hd:e(t.hd,n.hd),tl:0};return function(t,n,e,r){for(;;){var u=r,o=e,i=n;if(!i)return;if(!o)return;var a={hd:t(i.hd,o.hd),tl:0};u.tl=a,r=a,e=o.tl,n=i.tl}}(e,t.tl,n.tl,r),r}function m(t,n){if(!t)return 0;var e={hd:n(0,t.hd),tl:0};return function(t,n,e,r){for(;;){var u=r,o=e,i=n;if(!o)return;var a={hd:t(i,o.hd),tl:0};u.tl=a,r=a,e=o.tl,n=i+1|0}}(n,1,t.tl,e),e}function v(t,n){if(t<=0)return 0;for(var e={hd:n(0),tl:0},r=e,u=1;u=0;--u)r=s(t[u],r);return r},n.reverseConcat=E,n.flatten=function(t){for(;;){var n=t;if(!n)return 0;var e=n.hd;if(e){var r={hd:e.hd,tl:0};return M(a(e.tl,r),n.tl),r}t=n.tl}},n.mapU=p,n.map=function(t,n){return p(t,r.__1(n))},n.zip=function(t,n){if(!t)return 0;if(!n)return 0;var e={hd:[t.hd,n.hd],tl:0};return function(t,n,e){for(;;){var r=e,u=n,o=t;if(!o)return;if(!u)return;var i={hd:[o.hd,u.hd],tl:0};r.tl=i,e=i,n=u.tl,t=o.tl}}(t.tl,n.tl,e),e},n.zipByU=d,n.zipBy=function(t,n,e){return d(t,n,r.__2(e))},n.mapWithIndexU=m,n.mapWithIndex=function(t,n){return m(t,r.__2(n))},n.fromArray=h,n.toArray=_,n.reverse=function(t){return E(t,0)},n.mapReverseU=S,n.mapReverse=function(t,n){return S(t,r.__1(n))},n.forEachU=b,n.forEach=function(t,n){b(t,r.__1(n))},n.forEachWithIndexU=x,n.forEachWithIndex=function(t,n){x(t,r.__2(n))},n.reduceU=C,n.reduce=function(t,n,e){return C(t,n,r.__2(e))},n.reduceWithIndexU=N,n.reduceWithIndex=function(t,n,e){return N(t,n,r.__3(e))},n.reduceReverseU=w,n.reduceReverse=function(t,n,e){return w(t,n,r.__2(e))},n.mapReverse2U=O,n.mapReverse2=function(t,n,e){return O(t,n,r.__2(e))},n.forEach2U=I,n.forEach2=function(t,n,e){I(t,n,r.__2(e))},n.reduce2U=F,n.reduce2=function(t,n,e,u){return F(t,n,e,r.__3(u))},n.reduceReverse2U=T,n.reduceReverse2=function(t,n,e,u){return T(t,n,e,r.__3(u))},n.everyU=U,n.every=function(t,n){return U(t,r.__1(n))},n.someU=R,n.some=function(t,n){return R(t,r.__1(n))},n.every2U=k,n.every2=function(t,n,e){return k(t,n,r.__2(e))},n.some2U=B,n.some2=function(t,n,e){return B(t,n,r.__2(e))},n.cmpByLength=function(t,n){for(;;){var e=t;if(!e)return n?-1:0;if(!n)return 1;n=n.tl,t=e.tl}},n.cmpU=W,n.cmp=function(t,n,e){return W(t,n,r.__2(e))},n.eqU=D,n.eq=function(t,n,e){return D(t,n,r.__2(e))},n.hasU=P,n.has=function(t,n,e){return P(t,n,r.__2(e))},n.getByU=X,n.getBy=function(t,n){return X(t,r.__1(n))},n.keepU=z,n.keep=J,n.filter=Z,n.keepWithIndexU=L,n.keepWithIndex=H,n.filterWithIndex=tt,n.keepMapU=K,n.keepMap=function(t,n){return K(t,r.__1(n))},n.partitionU=Q,n.partition=function(t,n){return Q(t,r.__1(n))},n.unzip=function(t){if(!t)return[0,0];var n=t.hd,e={hd:n[0],tl:0},r={hd:n[1],tl:0};return function(t,n,e){for(;;){var r=e,u=n,o=t;if(!o)return;var i=o.hd,a={hd:i[0],tl:0},f={hd:i[1],tl:0};u.tl=a,r.tl=f,e=f,n=a,t=o.tl}}(t.tl,e,r),[e,r]},n.getAssocU=q,n.getAssoc=function(t,n,e){return q(t,n,r.__2(e))},n.hasAssocU=$,n.hasAssoc=function(t,n,e){return $(t,n,r.__2(e))},n.removeAssocU=G,n.removeAssoc=function(t,n,e){return G(t,n,r.__2(e))},n.setAssocU=V,n.setAssoc=function(t,n,e,u){return V(t,n,e,r.__2(u))},n.sortU=j,n.sort=function(t,n){return j(t,r.__2(n))}},829:(t,n,e)=>{var r=e(127),u=e(199);function o(t,n){if(void 0!==t&&n(u.valFromOption(t)))return t}function i(t,n){if(void 0!==t)return n(u.valFromOption(t))}function a(t,n,e){return void 0!==t?e(u.valFromOption(t)):n}function f(t,n){if(void 0!==t)return u.some(n(u.valFromOption(t)))}function c(t,n){if(void 0!==t)return n(u.valFromOption(t))}function l(t,n,e){return void 0!==t?void 0!==n&&e(u.valFromOption(t),u.valFromOption(n)):void 0===n}function s(t,n,e){return void 0!==t?void 0!==n?e(u.valFromOption(t),u.valFromOption(n)):1:void 0!==n?-1:0}n.keepU=o,n.keep=function(t,n){return o(t,r.__1(n))},n.forEachU=i,n.forEach=function(t,n){i(t,r.__1(n))},n.getExn=function(t){if(void 0!==t)return u.valFromOption(t);throw{RE_EXN_ID:"Not_found",Error:new Error}},n.mapWithDefaultU=a,n.mapWithDefault=function(t,n,e){return a(t,n,r.__1(e))},n.mapU=f,n.map=function(t,n){return f(t,r.__1(n))},n.flatMapU=c,n.flatMap=function(t,n){return c(t,r.__1(n))},n.getWithDefault=function(t,n){return void 0!==t?u.valFromOption(t):n},n.orElse=function(t,n){return void 0!==t?t:n},n.isSome=function(t){return void 0!==t},n.isNone=function(t){return void 0===t},n.eqU=l,n.eq=function(t,n,e){return l(t,n,r.__2(e))},n.cmpU=s,n.cmp=function(t,n,e){return s(t,n,r.__2(e))}},71:(t,n,e)=>{var r=e(127),u=e(218);function o(t,n){var e=t.length;if(0===e||1===e)return e;var r=t[0],u=t[1];if(!n(r,u))return n(u,r)?0|-function(t,n,e,r,u){for(;;){var o=e,i=n;if(o>=r)return o;var a=t[o];if(!u(a,i))return o;e=o+1|0,n=a}}(t,u,2,e,n):1;for(var o=u,i=2;;){var a=i,f=o;if(a>=e)return a;var c=t[a];if(!n(f,c))return a;i=a+1|0,o=c}}function i(t,n){var e=t.length;if(0===e)return!0;for(var r=0,u=e-1|0;;){var o=r;if(o===u)return!0;if(n(t[o],t[o+1|0])>0)return!1;r=o+1|0}}function a(t,n,e,r,o,i,a,f,c){for(var l=n+e|0,s=o+i|0,p=n,d=t[n],m=o,v=r[o],g=f;;){var h=g,_=v,E=m,M=d,S=p;if(c(M,_)<=0){a[h]=M;var b=S+1|0;if(b>=l)return u.blitUnsafe(r,E,a,h+1|0,s-E|0);g=h+1|0,d=t[b],p=b}else{a[h]=_;var x=E+1|0;if(x>=s)return u.blitUnsafe(t,S,a,h+1|0,l-S|0);g=h+1|0,v=r[x],m=x}}}function f(t,n,e,r,o,i,a,f,c){for(var l=n+e|0,s=o+i|0,p=n,d=t[n],m=o,v=r[o],g=f;;){var h=g,_=v,E=m,M=d,S=p,b=c(M,_);if(b<0){a[h]=M;var x=S+1|0,C=h+1|0;if(x=c)return g;p=t[S],s=S}else if(0!==M){var b=h+1|0;if(b>=l)return g;m=r[b],d=b}else{i[g]=_;var x=E+1|0,C=h+1|0,y=g+1|0;if(!(x=l)return b;g=b,d=t[x],p=x}else if(0!==S){var C=_+1|0;if(!(C=r&&o(e[f],a)>0;)e[f+1|0]=e[f],f=f-1|0;e[f+1|0]=a}}function p(t,n,e,r,u,o){if(u<=5)return s(t,n,e,r,u,o);var i=u/2|0,f=u-i|0;p(t,n+i|0,e,r+i|0,f,o),p(t,n,t,n+f|0,i,o),a(t,n+f|0,i,e,r+i|0,f,e,r,o)}function d(t,n){var e=t.length;if(e<=5)return s(t,0,t,0,e,n);var r=e/2|0,u=e-r|0,o=new Array(u);p(t,r,o,0,u,n),p(t,0,t,u,r,n),a(t,u,r,o,0,u,t,0,n)}function m(t,n){var e=t.slice(0);return d(e,n),e}function v(t,n,e){var r=t.length;if(0===r)return-1;if(e(n,t[0])<0)return-1;if(e(n,t[r-1|0])>0)return 0|-(r+1|0);for(var u=0,o=r-1|0;;){var i=o,a=u,f=(a+i|0)/2|0,c=e(n,t[f]);if(0===c)return f;if(c<0){if(i===f)return 0===e(t[a],n)?a:0|-(i+1|0);o=f}else{if(a===f)return 0===e(t[i],n)?i:0|-(i+1|0);u=f}}}n.Int=void 0,n.$$String=void 0,n.strictlySortedLengthU=o,n.strictlySortedLength=function(t,n){return o(t,r.__2(n))},n.isSortedU=i,n.isSorted=function(t,n){return i(t,r.__2(n))},n.stableSortInPlaceByU=d,n.stableSortInPlaceBy=function(t,n){d(t,r.__2(n))},n.stableSortByU=m,n.stableSortBy=function(t,n){return m(t,r.__2(n))},n.binarySearchByU=v,n.binarySearchBy=function(t,n,e){return v(t,n,r.__2(e))},n.unionU=f,n.union=function(t,n,e,u,o,i,a,c,l){return f(t,n,e,u,o,i,a,c,r.__2(l))},n.intersectU=c,n.intersect=function(t,n,e,u,o,i,a,f,l){return c(t,n,e,u,o,i,a,f,r.__2(l))},n.diffU=l,n.diff=function(t,n,e,u,o,i,a,f,c){return l(t,n,e,u,o,i,a,f,r.__2(c))}},811:(t,n)=>{function e(t,n){return t[1]===n[1]&&t[0]===n[0]}function r(t,n){var e=n[0],r=t[0];return r>e||!(r=n[1]}function u(t,n){return t[0]>n[0]||!(t[0]n[1]}n.int_compare=function(t,n){return tn||t==t?1:n==n?-1:0},n.string_compare=function(t,n){return t===n?0:tn?t:n},n.float_max=function(t,n){return t>n?t:n},n.string_max=function(t,n){return t>n?t:n},n.i64_eq=e,n.i64_neq=function(t,n){return!e(t,n)},n.i64_lt=function(t,n){return!r(t,n)},n.i64_gt=u,n.i64_le=function(t,n){return!u(t,n)},n.i64_ge=r,n.i64_min=function(t,n){return r(t,n)?n:t},n.i64_max=function(t,n){return u(t,n)?t:n}},962:(t,n)=>{n.dup=function(t){return t.slice(0)},n.sub=function(t,n,e){for(var r=new Array(e),u=0,o=n;u=0;--i)e[i+r|0]=t[i+n|0]},n.get=function(t,n){if(n<0||n>=t.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return t[n]},n.set=function(t,n,e){if(n<0||n>=t.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};t[n]=e}},682:(t,n)=>{var e={contents:0};n.id=e,n.create=function(t){return e.contents=e.contents+1|0,t+"/"+e.contents},n.is_extension=function(t){return null!=t&&"string"==typeof t.RE_EXN_ID},n.exn_slot_name=function(t){return t.RE_EXN_ID}},931:(t,n,e)=>{var r=e(199),u=e(682),o="JsError";n.$$Error=o,n.internalToOCamlException=function(t){return u.is_extension(t)?t:{RE_EXN_ID:"JsError",_1:t}},n.as_js_exn=function(t){if(t.RE_EXN_ID===o)return r.some(t._1)}},428:(t,n,e)=>{var r=e(811),u=function(t,n){for(var e in t)n(e)};function o(t,n){if(t===n)return 0;var e=typeof t,u=typeof n;switch(e){case"boolean":if("boolean"===u)return r.bool_compare(t,n);break;case"function":if("function"===u)throw{RE_EXN_ID:"Invalid_argument",_1:"compare: functional value",Error:new Error};break;case"number":if("number"===u)return r.float_compare(t,n);break;case"string":return"string"===u?r.string_compare(t,n):1;case"undefined":return-1}switch(u){case"string":return-1;case"undefined":return 1;default:if("boolean"===e)return 1;if("boolean"===u)return-1;if("function"===e)return 1;if("function"===u)return-1;if("number"===e)return null===n||void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if("number"===u)return null===t||void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(null===t)return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if(null===n)return void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(void 0!==t.BS_PRIVATE_NESTED_SOME_NONE)return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?i(t,n):-1;var a=0|t.TAG,f=0|n.TAG;if(248===a)return r.int_compare(t[1],n[1]);if(251===a)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(a!==f)return a0){var u=e.contents;return void 0!==u&&n>=u?void 0:void(e.contents=n)}},f=[t,n,i],c=[n,t,e];u(t,(function(t){return a(f,t)})),u(n,(function(t){return a(c,t)}));var l=e.contents,s=i.contents;return void 0!==l?void 0!==s?r.string_compare(l,s):-1:void 0!==s?1:0}function a(t,n){if(t===n)return!0;var e=typeof t;if("string"===e||"number"===e||"boolean"===e||"undefined"===e||null===t)return!1;var r=typeof n;if("function"===e||"function"===r)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if("number"===r||"undefined"===r||null===n)return!1;var o=0|t.TAG,i=0|n.TAG;if(248===o)return t[1]===n[1];if(251===o)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(o!==i)return!1;var f=0|t.length;if(f!==(0|n.length))return!1;if(!Array.isArray(t)){if(t instanceof Date&&n instanceof Date)return!(t>n||t=n:o(t,n)>=0},n.greaterthan=function(t,n){return"number"==typeof t&&"number"==typeof n?t>n:o(t,n)>0},n.lessthan=function(t,n){return"number"==typeof t&&"number"==typeof n?t=0?t:n}},199:(t,n)=>{function e(t){return void 0===t?{BS_PRIVATE_NESTED_SOME_NONE:0}:null!==t&&void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?{BS_PRIVATE_NESTED_SOME_NONE:t.BS_PRIVATE_NESTED_SOME_NONE+1|0}:t}function r(t){if(null===t||void 0===t.BS_PRIVATE_NESTED_SOME_NONE)return t;var n=t.BS_PRIVATE_NESTED_SOME_NONE;return 0===n?void 0:{BS_PRIVATE_NESTED_SOME_NONE:n-1|0}}n.nullable_to_opt=function(t){return null==t?void 0:e(t)},n.undefined_to_opt=function(t){return void 0===t?void 0:e(t)},n.null_to_opt=function(t){return null===t?void 0:e(t)},n.valFromOption=r,n.some=e,n.isNested=function(t){return void 0!==t.BS_PRIVATE_NESTED_SOME_NONE},n.option_get=function(t){return void 0===t?void 0:r(t)},n.option_unwrap=function(t){return void 0!==t?t.VAL:t}},169:(t,n)=>{n.spliceApply=function(t,n){var e,r;r=n.length;var u=[];for(e=0;e{var r=e(962);function u(t,n){for(;;){var e=n,o=t,i=o.length,a=0===i?1:i,f=a-e.length|0;if(0===f)return o.apply(null,e);if(f>=0)return function(t,n){return function(e){return u(t,n.concat([e]))}}(o,e);n=r.sub(e,a,0|-f),t=o.apply(null,r.sub(e,0,a))}}function o(t,n){var e=t.length;if(1===e)return t(n);switch(e){case 1:return t(n);case 2:return function(e){return t(n,e)};case 3:return function(e,r){return t(n,e,r)};case 4:return function(e,r,u){return t(n,e,r,u)};case 5:return function(e,r,u,o){return t(n,e,r,u,o)};case 6:return function(e,r,u,o,i){return t(n,e,r,u,o,i)};case 7:return function(e,r,u,o,i,a){return t(n,e,r,u,o,i,a)};default:return u(t,[n])}}function i(t,n,e){var r=t.length;if(2===r)return t(n,e);switch(r){case 1:return u(t(n),[e]);case 2:return t(n,e);case 3:return function(r){return t(n,e,r)};case 4:return function(r,u){return t(n,e,r,u)};case 5:return function(r,u,o){return t(n,e,r,u,o)};case 6:return function(r,u,o,i){return t(n,e,r,u,o,i)};case 7:return function(r,u,o,i,a){return t(n,e,r,u,o,i,a)};default:return u(t,[n,e])}}function a(t,n,e,r){var o=t.length;if(3===o)return t(n,e,r);switch(o){case 1:return u(t(n),[e,r]);case 2:return u(t(n,e),[r]);case 3:return t(n,e,r);case 4:return function(u){return t(n,e,r,u)};case 5:return function(u,o){return t(n,e,r,u,o)};case 6:return function(u,o,i){return t(n,e,r,u,o,i)};case 7:return function(u,o,i,a){return t(n,e,r,u,o,i,a)};default:return u(t,[n,e,r])}}function f(t,n,e,r,o){var i=t.length;if(4===i)return t(n,e,r,o);switch(i){case 1:return u(t(n),[e,r,o]);case 2:return u(t(n,e),[r,o]);case 3:return u(t(n,e,r),[o]);case 4:return t(n,e,r,o);case 5:return function(u){return t(n,e,r,o,u)};case 6:return function(u,i){return t(n,e,r,o,u,i)};case 7:return function(u,i,a){return t(n,e,r,o,u,i,a)};default:return u(t,[n,e,r,o])}}function c(t,n,e,r,o,i){var a=t.length;if(5===a)return t(n,e,r,o,i);switch(a){case 1:return u(t(n),[e,r,o,i]);case 2:return u(t(n,e),[r,o,i]);case 3:return u(t(n,e,r),[o,i]);case 4:return u(t(n,e,r,o),[i]);case 5:return t(n,e,r,o,i);case 6:return function(u){return t(n,e,r,o,i,u)};case 7:return function(u,a){return t(n,e,r,o,i,u,a)};default:return u(t,[n,e,r,o,i])}}function l(t,n,e,r,o,i,a){var f=t.length;if(6===f)return t(n,e,r,o,i,a);switch(f){case 1:return u(t(n),[e,r,o,i,a]);case 2:return u(t(n,e),[r,o,i,a]);case 3:return u(t(n,e,r),[o,i,a]);case 4:return u(t(n,e,r,o),[i,a]);case 5:return u(t(n,e,r,o,i),[a]);case 6:return t(n,e,r,o,i,a);case 7:return function(u){return t(n,e,r,o,i,a,u)};default:return u(t,[n,e,r,o,i,a])}}function s(t,n,e,r,o,i,a,f){var c=t.length;if(7===c)return t(n,e,r,o,i,a,f);switch(c){case 1:return u(t(n),[e,r,o,i,a,f]);case 2:return u(t(n,e),[r,o,i,a,f]);case 3:return u(t(n,e,r),[o,i,a,f]);case 4:return u(t(n,e,r,o),[i,a,f]);case 5:return u(t(n,e,r,o,i),[a,f]);case 6:return u(t(n,e,r,o,i,a),[f]);case 7:return t(n,e,r,o,i,a,f);default:return u(t,[n,e,r,o,i,a,f])}}function p(t,n,e,r,o,i,a,f,c){var l=t.length;if(8===l)return t(n,e,r,o,i,a,f,c);switch(l){case 1:return u(t(n),[e,r,o,i,a,f,c]);case 2:return u(t(n,e),[r,o,i,a,f,c]);case 3:return u(t(n,e,r),[o,i,a,f,c]);case 4:return u(t(n,e,r,o),[i,a,f,c]);case 5:return u(t(n,e,r,o,i),[a,f,c]);case 6:return u(t(n,e,r,o,i,a),[f,c]);case 7:return u(t(n,e,r,o,i,a,f),[c]);default:return u(t,[n,e,r,o,i,a,f,c])}}n.app=u,n._1=o,n.__1=function(t){return 1===t.length?t:function(n){return o(t,n)}},n._2=i,n.__2=function(t){return 2===t.length?t:function(n,e){return i(t,n,e)}},n._3=a,n.__3=function(t){return 3===t.length?t:function(n,e,r){return a(t,n,e,r)}},n._4=f,n.__4=function(t){return 4===t.length?t:function(n,e,r,u){return f(t,n,e,r,u)}},n._5=c,n.__5=function(t){return 5===t.length?t:function(n,e,r,u,o){return c(t,n,e,r,u,o)}},n._6=l,n.__6=function(t){return 6===t.length?t:function(n,e,r,u,o,i){return l(t,n,e,r,u,o,i)}},n._7=s,n.__7=function(t){return 7===t.length?t:function(n,e,r,u,o,i,a){return s(t,n,e,r,u,o,i,a)}},n._8=p,n.__8=function(t){return 8===t.length?t:function(n,e,r,u,o,i,a,f){return p(t,n,e,r,u,o,i,a,f)}}},210:(t,n,e)=>{var r=e(127),u=e(199),o=e(169);n.copyWithin=function(t,n){return n.copyWithin(t)},n.copyWithinFrom=function(t,n,e){return e.copyWithin(t,n)},n.copyWithinFromRange=function(t,n,e,r){return r.copyWithin(t,n,e)},n.fillInPlace=function(t,n){return n.fill(t)},n.fillFromInPlace=function(t,n,e){return e.fill(t,n)},n.fillRangeInPlace=function(t,n,e,r){return r.fill(t,n,e)},n.push=function(t,n){return n.push(t)},n.pushMany=function(t,n){return o.spliceObjApply(n,"push",[t])},n.sortInPlaceWith=function(t,n){return n.sort(r.__2(t))},n.spliceInPlace=function(t,n,e,r){return o.spliceObjApply(r,"splice",[t,n,e])},n.removeFromInPlace=function(t,n){return n.splice(t)},n.removeCountInPlace=function(t,n,e){return e.splice(t,n)},n.unshift=function(t,n){return n.unshift(t)},n.unshiftMany=function(t,n){return o.spliceObjApply(n,"unshift",[t])},n.concat=function(t,n){return n.concat(t)},n.concatMany=function(t,n){return o.spliceObjApply(n,"concat",[t])},n.includes=function(t,n){return n.includes(t)},n.indexOf=function(t,n){return n.indexOf(t)},n.indexOfFrom=function(t,n,e){return e.indexOf(t,n)},n.joinWith=function(t,n){return n.join(t)},n.lastIndexOf=function(t,n){return n.lastIndexOf(t)},n.lastIndexOfFrom=function(t,n,e){return e.lastIndexOf(t,n)},n.slice=function(t,n,e){return e.slice(t,n)},n.sliceFrom=function(t,n){return n.slice(t)},n.every=function(t,n){return n.every(r.__1(t))},n.everyi=function(t,n){return n.every(r.__2(t))},n.filter=function(t,n){return n.filter(r.__1(t))},n.filteri=function(t,n){return n.filter(r.__2(t))},n.find=function(t,n){return u.undefined_to_opt(n.find(r.__1(t)))},n.findi=function(t,n){return u.undefined_to_opt(n.find(r.__2(t)))},n.findIndex=function(t,n){return n.findIndex(r.__1(t))},n.findIndexi=function(t,n){return n.findIndex(r.__2(t))},n.forEach=function(t,n){n.forEach(r.__1(t))},n.forEachi=function(t,n){n.forEach(r.__2(t))},n.map=function(t,n){return n.map(r.__1(t))},n.mapi=function(t,n){return n.map(r.__2(t))},n.reduce=function(t,n,e){return e.reduce(r.__2(t),n)},n.reducei=function(t,n,e){return e.reduce(r.__3(t),n)},n.reduceRight=function(t,n,e){return e.reduceRight(r.__2(t),n)},n.reduceRighti=function(t,n,e){return e.reduceRight(r.__3(t),n)},n.some=function(t,n){return n.some(r.__1(t))},n.somei=function(t,n){return n.some(r.__2(t))}},200:(t,n,e)=>{var r=e(199);n.get=function(t,n){if(n in t)return r.some(t[n])},n.unsafeDeleteKey=function(t,n){delete t[n]},n.entries=function(t){for(var n=Object.keys(t),e=n.length,r=new Array(e),u=0;u{n.$$Error="JsError",n.raiseError=function(t){throw new Error(t)},n.raiseEvalError=function(t){throw new EvalError(t)},n.raiseRangeError=function(t){throw new RangeError(t)},n.raiseReferenceError=function(t){throw new ReferenceError(t)},n.raiseSyntaxError=function(t){throw new SyntaxError(t)},n.raiseTypeError=function(t){throw new TypeError(t)},n.raiseUriError=function(t){throw new URIError(t)}},875:(t,n)=>{n.equal=function(t,n){return t===n},n.max=2147483647,n.min=-2147483648},74:(t,n,e)=>{var r=e(875);function u(t){return t>r.max?r.max:tr.max?r.max:t{var r=e(199);function u(t){if(void 0!==t)return r.valFromOption(t)}var o=u;n.bind=function(t,n){return null==t?t:n(t)},n.iter=function(t,n){if(null!=t)return n(t)},n.fromOption=u,n.from_opt=o},99:(t,n,e)=>{var r=e(199);function u(t,n){return void 0!==n?r.valFromOption(n):t}var o=u;n.some=function(t){return r.some(t)},n.isSome=function(t){return void 0!==t},n.isSomeValue=function(t,n,e){return void 0!==e&&t(n,r.valFromOption(e))},n.isNone=function(t){return void 0===t},n.getExn=function(t){if(void 0!==t)return r.valFromOption(t);throw new Error("getExn")},n.equal=function(t,n,e){return void 0!==n?void 0!==e&&t(r.valFromOption(n),r.valFromOption(e)):void 0===e},n.andThen=function(t,n){if(void 0!==n)return t(r.valFromOption(n))},n.map=function(t,n){if(void 0!==n)return r.some(t(r.valFromOption(n)))},n.getWithDefault=u,n.$$default=o,n.default=o,n.__esModule=!0,n.filter=function(t,n){if(void 0!==n){var e=r.valFromOption(n);return t(e)?r.some(e):void 0}},n.firstSome=function(t,n){return void 0!==t?t:void 0!==n?n:void 0}},732:(t,n,e)=>{var r=e(127);n.then_=function(t,n){return n.then(r.__1(t))},n.$$catch=function(t,n){return n.catch(r.__1(t))}},521:(t,n,e)=>{var r=e(127),u=e(428),o=e(210),i=e(199),a=e(469),f=e(484),c=e(932),l=e(164),s=e(370);function p(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:s.set(t.isShowMap,n,!0),isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}}function d(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:s.set(t.isStateChangeMap,n,!0),skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}}function m(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:s.set(t.isStateChangeMap,n,!1),skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}}function v(t,n){return a.reduceOneParam(n,m,t)}function g(t,n){return s.getExn(t.elementStateMap,n)}function h(t,n){return s.getNullable(t.elementStateMap,n)}function _(t,n,e){return{elementFuncMap:t.elementFuncMap,elementStateMap:s.set(t.elementStateMap,n,e),elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}}function E(t,n,e){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:s.set(t.elementExecOrderMap,n,e),isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}}function M(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:n,fboTextureMap:t.fboTextureMap}}function S(t,n){var e=n.elementFuncMap,r=s.entries(n.isShowMap);return a.traverseReducePromiseM(o.sortInPlaceWith((function(t,e){return s.getExn(n.elementExecOrderMap,t[0])-s.getExn(n.elementExecOrderMap,e[0])|0}),r),(function(t,r){var u=t[1],o=t[0];if(!r[1])return Promise.resolve([o,u]);var i=r[0],f=s.getExn(e,i);return c.map(f(o,g(n,i)),(function(t){return[t,a.push(u,i)]}))}),[t,[]])}function b(t,n,e){var r=e[1],u=e[0],o=n(u.getExtensionState(t,r),u.getExtensionService(t,r));return u.setExtensionState(t,r,o)}function x(t,n,e){var r=e[1],u=e[0],o=n(u.getExtensionState(t,r),u.getExtensionService(t,r));return[u.setExtensionState(t,r,o[0]),o[1]]}function C(t,n,e){var r=e[1],u=e[0];return n(u.getExtensionState(t,r),u.getExtensionService(t,r))}function y(t,n,e){return{elementFuncMap:s.set(t.elementFuncMap,n,e),elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}}function w(t){return f.bind(t.currentElementName,(function(n){return s.get(t.elementStateMap,n)}))}function N(t,n){return _(t,f.getExn(t.currentElementName),n)}n.hide=function(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:s.set(t.isShowMap,n,!1),isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}},n.show=p,n._markStateChange=d,n._markStateNotChange=m,n._markAllStateNotChange=v,n._getElementStateExn=g,n.getElementState=h,n._setElementState=_,n._getElementExecOrderExn=function(t,n){return s.getExn(t.elementExecOrderMap,n)},n._setElementExecOrder=E,n._getCurrentElementName=function(t){return f.getExn(t.currentElementName)},n._setCurrentElementName=M,n.updateElementState=function(t,n){var e=f.getExn(t.currentElementName),o=g(t,e),i=r._1(n,o);return u.notequal(o,i)?_(d(t,e),e,i):m(t,e)},n._exec=S,n._invokeIMGUIRenderFunc=b,n._invokeIMGUIRenderFuncWithParam=x,n._invokeIMGUIRenderFuncReturnData=C,n.render=function(t,n,e,u){var o=e[1],i=e[0],a=t.getExtensionState(n,i),f=b(t.setExtensionState(n,i,a),(function(t,n){return n.beforeExec(t,u)}),[t,o]);return c.map(c.map(S(f,a),(function(n){var e=n[0],r=v(t.getExtensionState(e,i),n[1]);return t.setExtensionState(e,i,r)})),(function(n){return b(n,(function(t,n){return r._1(n.afterExec,void 0),r._1(n.render,void 0),t}),[t,o])}))},n._setElementFunc=y,n.registerElement=function(t,n){var e=n.elementName;return d(p(E(_(y(M(t,e),e,n.elementFunc),e,n.elementState),e,n.execOrder),e),e)},n.registerSkin=function(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:s.set(t.skinContributeMap,n.skinName,n),uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}},n.registerUIControl=function(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:s.set(t.uiControlContributeMap,n.uiControlName,n),uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}},n.registerInput=function(t,n){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:s.set(t.inputContributeMap,n.inputName,n),currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}},n.getSkin=function(t,n){return s.getNullable(t.skinContributeMap,n)},n._getUIControlExn=function(t,n){return s.getExn(t.uiControlContributeMap,n)},n.getUIControlFuncExn=function(t,n){return s.getExn(t.uiControlContributeMap,n).func},n.getInputFunc=function(t,n){return l.map(s.getNullable(t.inputContributeMap,n),(function(t){return t.func}))},n.getUIControlState=function(t,n){return s.getNullable(t.uiControlStateMap,n)},n.setUIControlState=function(t,n,e){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:s.set(t.uiControlStateMap,n,e),inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:t.fboTextureMap}},n.isStateChange=function(t,n){return s.getExn(t.isStateChangeMap,n)},n.setStyle=function(t,n,e){return b(t,(function(t,n){return n.setStyle(t,e)}),n)},n.beginWindow=function(t,n,e,r){return b(t,(function(t,n){return n.beginWindow(e,r),t}),n)},n.endWindow=function(t,n){return b(t,(function(t,n){return r._1(n.endWindow,void 0),t}),n)},n.beginChild=function(t,n,e){return b(t,(function(t,n){return n.beginChild(e),t}),n)},n.endChild=function(t,n){return b(t,(function(t,n){return r._1(n.endChild,void 0),t}),n)},n.setNextWindowRect=function(t,n,e){return b(t,(function(t,n){return n.setNextWindowRect(e),t}),n)},n.getFBOTexture=function(t,n){return s.getNullable(t.fboTextureMap,n)},n.setFBOTexture=function(t,n,e){return{elementFuncMap:t.elementFuncMap,elementStateMap:t.elementStateMap,elementExecOrderMap:t.elementExecOrderMap,isShowMap:t.isShowMap,isStateChangeMap:t.isStateChangeMap,skinContributeMap:t.skinContributeMap,uiControlContributeMap:t.uiControlContributeMap,uiControlStateMap:t.uiControlStateMap,inputContributeMap:t.inputContributeMap,currentElementName:t.currentElementName,fboTextureMap:s.set(t.fboTextureMap,n,e)}},n.addFBOTexture=function(t,n,e,r){return b(t,(function(t,n){return n.addFBOTexture(e,r),t}),n)},n.getWindowBarHeight=function(t,n){return C(t,(function(t,n){return r._1(n.getWindowBarHeight,void 0)}),n)},n.getContext=function(t,n){return C(t,(function(t,n){return r._1(n.getContext,void 0)}),n)},n.button=function(t,n,e,r){return x(t,(function(t,n){return[t,n.button(e,r)]}),n)},n.setCursorPos=function(t,n,e){return b(t,(function(t,n){return n.setCursorPos(e),t}),n)},n.loadImage=function(t,n,e){return C(n,(function(t,n){return n.loadImage(e)}),t)},n.asset=function(t,n,e,r,u){return x(n,(function(t,n){return[t,n.asset(e,r,u)]}),t)},n.handleDragDropTarget=function(t,n,e){return x(n,(function(t,n){return[t,n.handleDragDropTarget(e)]}),t)},n.menu=function(t,n,e,r,u){return x(n,(function(t,n){return[t,n.menu(e,r,u)]}),t)},n.tree=function(t,n,e,r,u,o,i){return x(n,(function(t,n){return[t,n.tree(e,r,u,o,i)]}),t)},n.switchButton=function(t,n,e,r,u){return x(n,(function(t,n){return[t,n.switchButton(e,r,u)]}),t)},n.imageButton=function(t,n,e,r){return x(n,(function(t,n){return[t,n.imageButton(e,r)]}),t)},n.image=function(t,n,e,r){return b(n,(function(t,n){return n.image(e,r),t}),t)},n.inputText=function(t,n,e,r,u,o){return x(n,(function(t,n){return[t,n.inputText(e,r,u,o)]}),t)},n.inputFloat1=function(t,n,e,r,u,o,i){return x(n,(function(t,n){return[t,n.inputFloat1(e,r,u,o,i)]}),t)},n.inputFloat3=function(t,n,e,r,u,o,i){return x(n,(function(t,n){return[t,n.inputFloat3(e,r,u,o,i)]}),t)},n.checkbox=function(t,n,e,r){return x(n,(function(t,n){return[t,n.checkbox(e,r)]}),t)},n.collapsing=function(t,n,e,r,u){return x(n,(function(t,n){return[t,n.collapsing(e,r,u)]}),t)},n.openModal=function(t,n,e){return b(n,(function(t,n){return n.openModal(e),t}),t)},n.closeCurrentModal=function(t,n){return b(n,(function(t,n){return r._1(n.closeCurrentModal,void 0),t}),t)},n.beginModal=function(t,n,e){return x(n,(function(t,n){return[t,n.beginModal(e)]}),t)},n.endModal=function(t,n){return b(n,(function(t,n){return r._1(n.endModal,void 0),t}),t)},n.popup=function(t,n,e,r,u){return x(n,(function(t,n){return[t,n.popup(e,r,u)]}),t)},n.imagePopup=function(t,n,e,r,u,o){return x(n,(function(t,n){return[t,n.imagePopup(e,r,u,o)]}),t)},n.dummy=function(t,n,e,r){return b(n,(function(t,n){return n.dummy(e,r),t}),t)},n.list=function(t,n,e,r,u,o,i,a){return x(n,(function(t,n){return[t,n.list(e,r,u,o,i,a)]}),t)},n.getItemRectMax=function(t,n){return C(n,(function(t,n){return r._1(n.getItemRectMax,void 0)}),t)},n.getItemRectSize=function(t,n){return C(n,(function(t,n){return r._1(n.getItemRectSize,void 0)}),t)},n.getWindowPos=function(t,n){return C(n,(function(t,n){return r._1(n.getWindowPos,void 0)}),t)},n.getWindowSize=function(t,n){return C(n,(function(t,n){return r._1(n.getWindowSize,void 0)}),t)},n.clear=function(t,n,e){return b(t,(function(t,n){return n.clear(e),t}),n)},n._getCurrentElementStateOption=w,n.getCurrentElementState=function(t){return h(t,f.getExn(t.currentElementName))},n.setCurrentElementState=N,n.init=function(t,n,e,u,o){var f,l=n[1],p=n[0],d="meta3d-ui-protocol",m=p.getExtensionState(t,d),v=w(m);if(void 0!==v){var g="meta3d-event-protocol",h=p.getExtensionService(t,g),_=p.getExtensionState(t,g),E=a.reduceOneParam(r._1(h.getAllActionContributes,_),(function(n,e){return s.set(n,e[0],r._1(e[1].createState,t))}),i.valFromOption(v)),M=N(m,E);f=p.setExtensionState(t,d,M)}else f=t;var S=p.getExtensionState(f,l),b=p.getExtensionService(f,l);return c.map(b.init(S,e,u,o),(function(t){return p.setExtensionState(f,l,t)}))},n.restore=function(t,n,e){var u="meta3d-event-protocol",o="meta3d-ui-protocol",i=t.getExtensionService(e,u),c=t.getExtensionState(e,u),p=t.getExtensionState(n,o),d=l.getExn(h(p,f.getExn(p.currentElementName))),m=t.getExtensionState(e,o),v=N(m,a.reduceOneParam(r._1(i.getAllActionContributes,c),(function(t,n){var e=n[0];return l.getWithDefault(l.map(n[1].restore,(function(n){return s.set(t,e,r._2(n,s.getExn(d,e),s.getExn(t,e)))})),t)}),l.getExn(h(m,f.getExn(m.currentElementName)))));return t.setExtensionState(e,o,{elementFuncMap:v.elementFuncMap,elementStateMap:v.elementStateMap,elementExecOrderMap:v.elementExecOrderMap,isShowMap:v.isShowMap,isStateChangeMap:v.isStateChangeMap,skinContributeMap:v.skinContributeMap,uiControlContributeMap:v.uiControlContributeMap,uiControlStateMap:p.uiControlStateMap,inputContributeMap:v.inputContributeMap,currentElementName:v.currentElementName,fboTextureMap:v.fboTextureMap})},n.deepCopy=function(t,n){var e="meta3d-event-protocol",u="meta3d-ui-protocol",o=t.getExtensionService(n,e),i=t.getExtensionState(n,e),c=t.getExtensionState(n,u),p=N(c,a.reduceOneParam(r._1(o.getAllActionContributes,i),(function(t,n){var e=n[0];return l.getWithDefault(l.map(n[1].deepCopy,(function(n){return s.set(t,e,r._1(n,s.getExn(t,e)))})),t)}),l.getExn(h(c,f.getExn(c.currentElementName)))));return t.setExtensionState(n,u,p)}}},n={};function e(r){var u=n[r];if(void 0!==u)return u.exports;var o=n[r]={exports:{}};return t[r](o,o.exports,e),o.exports}var r,u,o,i,a={};r=a,u=e(521),o=e(164),i=e(370),r.getExtensionService=function(t){var n=[t,"meta3d-imgui-renderer-protocol"],e=[t,"meta3d-imgui-renderer-protocol"],r=[t,"meta3d-imgui-renderer-protocol"],o=[t,"meta3d-imgui-renderer-protocol"],i=[t,"meta3d-imgui-renderer-protocol"],a=[t,"meta3d-imgui-renderer-protocol"],f=[t,"meta3d-imgui-renderer-protocol"],c=[t,"meta3d-imgui-renderer-protocol"],l=[t,"meta3d-imgui-renderer-protocol"],s=[t,"meta3d-imgui-renderer-protocol"],p=[t,"meta3d-imgui-renderer-protocol"],d=[t,"meta3d-imgui-renderer-protocol"],m=[t,"meta3d-imgui-renderer-protocol"],v=[t,"meta3d-imgui-renderer-protocol"],g=[t,"meta3d-imgui-renderer-protocol"],h=[t,"meta3d-imgui-renderer-protocol"],_=[t,"meta3d-imgui-renderer-protocol"],E=[t,"meta3d-imgui-renderer-protocol"],M=[t,"meta3d-imgui-renderer-protocol"],S=[t,"meta3d-imgui-renderer-protocol"],b=[t,"meta3d-imgui-renderer-protocol"],x=[t,"meta3d-imgui-renderer-protocol"],C=[t,"meta3d-imgui-renderer-protocol"],y=[t,"meta3d-imgui-renderer-protocol"],w=[t,"meta3d-imgui-renderer-protocol"];return{registerElement:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.registerElement(t.getExtensionState(n,"meta3d-ui-protocol"),e))},registerSkin:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.registerSkin(t.getExtensionState(n,"meta3d-ui-protocol"),e))},registerUIControl:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.registerUIControl(t.getExtensionState(n,"meta3d-ui-protocol"),e))},registerInput:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.registerInput(t.getExtensionState(n,"meta3d-ui-protocol"),e))},render:function(n,e,r){return u.render(t,n,e,r)},show:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.show(t.getExtensionState(n,"meta3d-ui-protocol"),e))},hide:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.hide(t.getExtensionState(n,"meta3d-ui-protocol"),e))},isStateChange:function(n,e){return u.isStateChange(t.getExtensionState(n,"meta3d-ui-protocol"),e)},getElementState:function(n,e){return u.getElementState(t.getExtensionState(n,"meta3d-ui-protocol"),e)},updateElementState:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.updateElementState(t.getExtensionState(n,"meta3d-ui-protocol"),e))},getSkin:function(n,e){return u.getSkin(t.getExtensionState(n,"meta3d-ui-protocol"),e)},getUIControlFunc:function(n,e){return u.getUIControlFuncExn(t.getExtensionState(n,"meta3d-ui-protocol"),e)},getInputFunc:function(n,e){return u.getInputFunc(t.getExtensionState(n,"meta3d-ui-protocol"),e)},getUIControlState:function(n,e){return u.getUIControlState(t.getExtensionState(n,"meta3d-ui-protocol"),e)},setUIControlState:function(n,e,r){return t.setExtensionState(n,"meta3d-ui-protocol",u.setUIControlState(t.getExtensionState(n,"meta3d-ui-protocol"),e,r))},setStyle:function(n,e){return u.setStyle(n,[t,"meta3d-imgui-renderer-protocol"],e)},beginWindow:function(n,e,r){return u.beginWindow(n,[t,"meta3d-imgui-renderer-protocol"],e,r)},endWindow:function(n){return u.endWindow(n,[t,"meta3d-imgui-renderer-protocol"])},beginChild:function(n,e){return u.beginChild(n,[t,"meta3d-imgui-renderer-protocol"],e)},endChild:function(n){return u.endChild(n,[t,"meta3d-imgui-renderer-protocol"])},setNextWindowRect:function(n,e){return u.setNextWindowRect(n,[t,"meta3d-imgui-renderer-protocol"],e)},addFBOTexture:function(n,e,r){return u.addFBOTexture(n,[t,"meta3d-imgui-renderer-protocol"],e,r)},getFBOTexture:function(n,e){return u.getFBOTexture(t.getExtensionState(n,"meta3d-ui-protocol"),e)},setFBOTexture:function(n,e,r){return t.setExtensionState(n,"meta3d-ui-protocol",u.setFBOTexture(t.getExtensionState(n,"meta3d-ui-protocol"),e,r))},getWindowBarHeight:function(n){return u.getWindowBarHeight(n,[t,"meta3d-imgui-renderer-protocol"])},getContext:function(n){return u.getContext(n,[t,"meta3d-imgui-renderer-protocol"])},button:function(n,e,r){return u.button(n,[t,"meta3d-imgui-renderer-protocol"],e,r)},setCursorPos:function(n,e){return u.setCursorPos(n,[t,"meta3d-imgui-renderer-protocol"],e)},loadImage:function(t,e){return u.loadImage(n,t,e)},asset:function(t,n,r,o){return u.asset(e,t,n,r,o)},handleDragDropTarget:function(t,n){return u.handleDragDropTarget(r,t,n)},menu:function(t,n,e,r){return u.menu(o,t,n,e,r)},tree:function(t,n,e,r,o,a){return u.tree(i,t,n,e,r,o,a)},switchButton:function(t,n,e,r){return u.switchButton(a,t,n,e,r)},imageButton:function(t,n,e){return u.imageButton(f,t,n,e)},image:function(t,n,e){return u.image(c,t,n,e)},inputText:function(t,n,e,r,o){return u.inputText(l,t,n,e,r,o)},inputFloat1:function(t,n,e,r,o,i){return u.inputFloat1(s,t,n,e,r,o,i)},inputFloat3:function(t,n,e,r,o,i){return u.inputFloat3(p,t,n,e,r,o,i)},checkbox:function(t,n,e){return u.checkbox(d,t,n,e)},collapsing:function(t,n,e,r){return u.collapsing(m,t,n,e,r)},openModal:function(t,n){return u.openModal(v,t,n)},closeCurrentModal:function(t){return u.closeCurrentModal(g,t)},beginModal:function(t,n){return u.beginModal(h,t,n)},endModal:function(t){return u.endModal(_,t)},popup:function(t,n,e,r){return u.popup(E,t,n,e,r)},imagePopup:function(t,n,e,r,o){return u.imagePopup(M,t,n,e,r,o)},dummy:function(t,n,e){return u.dummy(S,t,n,e)},list:function(t,n,e,r,o,i,a){return u.list(b,t,n,e,r,o,i,a)},getItemRectMax:function(t){return u.getItemRectMax(x,t)},getItemRectSize:function(t){return u.getItemRectSize(C,t)},getWindowPos:function(t){return u.getWindowPos(y,t)},getWindowSize:function(t){return u.getWindowSize(w,t)},init:u.init,clear:u.clear,getCurrentElementState:function(n){return u.getCurrentElementState(t.getExtensionState(n,"meta3d-ui-protocol"))},setCurrentElementState:function(n,e){return t.setExtensionState(n,"meta3d-ui-protocol",u.setCurrentElementState(t.getExtensionState(n,"meta3d-ui-protocol"),e))}}},r.createExtensionState=function(t,n){return{elementFuncMap:i.createEmpty(void 0,void 0),elementStateMap:i.createEmpty(void 0,void 0),elementExecOrderMap:i.createEmpty(void 0,void 0),isShowMap:i.createEmpty(void 0,void 0),isStateChangeMap:i.createEmpty(void 0,void 0),skinContributeMap:i.createEmpty(void 0,void 0),uiControlContributeMap:i.createEmpty(void 0,void 0),uiControlStateMap:i.createEmpty(void 0,void 0),inputContributeMap:i.createEmpty(void 0,void 0),currentElementName:void 0,fboTextureMap:i.createEmpty(void 0,void 0)}},r.getExtensionLife=function(t,n){return{onRegister:null,onRestore:o.$$return((function(n,e){return u.restore(t,n,e)})),onDeepCopy:o.$$return((function(n){return u.deepCopy(t,n)})),onStart:null,onInit:null,onUpdate:null}},window.Extension=a})(); \ No newline at end of file diff --git a/packages/editor-whole/ui/extensions/meta3d-ui/package.json b/packages/editor-whole/ui/extensions/meta3d-ui/package.json index 89cb7273c..c70a73f19 100755 --- a/packages/editor-whole/ui/extensions/meta3d-ui/package.json +++ b/packages/editor-whole/ui/extensions/meta3d-ui/package.json @@ -1,6 +1,6 @@ { "name": "meta3d-ui", - "version": "1.3.1", + "version": "1.3.2", "publisher": "meta3d", "displayName": "ui", "protocol": { diff --git a/packages/editor-whole/ui/extensions/meta3d-webgl1/dist/static/js/main.js b/packages/editor-whole/ui/extensions/meta3d-webgl1/dist/static/js/main.js index fde8fb31d..0c0531677 100644 --- a/packages/editor-whole/ui/extensions/meta3d-webgl1/dist/static/js/main.js +++ b/packages/editor-whole/ui/extensions/meta3d-webgl1/dist/static/js/main.js @@ -1,178 +1 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js": -/*!*************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar throwErr = ((err) => {\n throw err;\n});\n\nvar buildErr = ((message) => {\nreturn new Error(message);\n});\n\nexports.throwErr = throwErr;\nexports.buildErr = buildErr;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js": -/*!**************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction getExn(data) {\n return OptionSt$Meta3dCommonlib.getExn(OptionSt$Meta3dCommonlib.fromNullable(data));\n}\n\nfunction $$return(data) {\n return data;\n}\n\nfunction getWithDefault(nullableData, $$default) {\n return OptionSt$Meta3dCommonlib.getWithDefault(OptionSt$Meta3dCommonlib.fromNullable(nullableData), $$default);\n}\n\nfunction bind(nullableData, func) {\n return OptionSt$Meta3dCommonlib.toNullable(OptionSt$Meta3dCommonlib.bind(OptionSt$Meta3dCommonlib.fromNullable(nullableData), (function (val) {\n return OptionSt$Meta3dCommonlib.fromNullable(func(val));\n })));\n}\n\nfunction isNullable(prim) {\n return prim == null;\n}\n\nfunction getEmpty(param) {\n \n}\n\nvar map = Js_null_undefined.bind;\n\nexports.getExn = getExn;\nexports.$$return = $$return;\nexports.getWithDefault = getWithDefault;\nexports.map = map;\nexports.bind = bind;\nexports.isNullable = isNullable;\nexports.getEmpty = getEmpty;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js": -/*!************************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js ***! - \************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Option = __webpack_require__(/*! rescript/lib/js/belt_Option.js */ \"../../../../../node_modules/rescript/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\n\nfunction unsafeGet(prim) {\n return prim;\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nvar getExn = _getExn;\n\nfunction buildFailResult(param) {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n}\n\nfunction get(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.succeed(Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n }\n}\n\nfunction fromNullable(optionData) {\n if (optionData == null) {\n return ;\n } else {\n return Caml_option.some(optionData);\n }\n}\n\nvar toNullable = Js_null_undefined.from_opt;\n\nfunction toStrictNullable(optionData) {\n if (optionData !== undefined) {\n return Caml_option.valFromOption(optionData);\n } else {\n return null;\n }\n}\n\nfunction forEachResult(optionData, func) {\n if (optionData !== undefined) {\n return Curry._1(func, Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction sequenceResultM(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.mapSuccess(optionData, (function (value) {\n return Caml_option.some(value);\n }));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction open_(optionOptionData) {\n if (optionOptionData !== undefined) {\n return Caml_option.valFromOption(optionOptionData);\n }\n \n}\n\nvar getWithDefault = Belt_Option.getWithDefault;\n\nvar isSome = Belt_Option.isSome;\n\nvar map = Belt_Option.map;\n\nvar bind = Belt_Option.flatMap;\n\nexports.unsafeGet = unsafeGet;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.buildFailResult = buildFailResult;\nexports.get = get;\nexports.getWithDefault = getWithDefault;\nexports.isSome = isSome;\nexports.map = map;\nexports.bind = bind;\nexports.fromNullable = fromNullable;\nexports.toNullable = toNullable;\nexports.toStrictNullable = toStrictNullable;\nexports.forEachResult = forEachResult;\nexports.sequenceResultM = sequenceResultM;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js?"); - -/***/ }), - -/***/ "../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_js_exceptions = __webpack_require__(/*! rescript/lib/js/caml_js_exceptions.js */ \"../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js\");\nvar Exception$Meta3dCommonlib = __webpack_require__(/*! ./Exception.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js\");\n\nfunction succeed(x) {\n return {\n TAG: /* Ok */0,\n _0: x\n };\n}\n\nfunction fail(x) {\n return {\n TAG: /* Error */1,\n _0: x\n };\n}\n\nvar _buildErr = Exception$Meta3dCommonlib.buildErr;\n\nfunction failWith(x) {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(x)\n };\n}\n\nfunction isSuccess(result) {\n if (result.TAG === /* Ok */0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction either(result, successFunc, failureFunc) {\n if (result.TAG === /* Ok */0) {\n return Curry._1(successFunc, result._0);\n } else {\n return Curry._1(failureFunc, result._0);\n }\n}\n\nfunction bind(result, switchFunc) {\n return either(result, switchFunc, fail);\n}\n\nfunction tap(result, oneTrackFunc) {\n return either(result, (function (result) {\n Curry._1(oneTrackFunc, result);\n return {\n TAG: /* Ok */0,\n _0: result\n };\n }), fail);\n}\n\nfunction tryCatch(oneTrackFunc) {\n try {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(oneTrackFunc, undefined)\n };\n }\n catch (raw_e){\n var e = Caml_js_exceptions.internalToOCamlException(raw_e);\n if (e.RE_EXN_ID === Js_exn.$$Error) {\n return {\n TAG: /* Error */1,\n _0: e._1\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(\"unknown error: \" + e)\n };\n }\n }\n}\n\nfunction mapSuccess(result, mapFunc) {\n if (result.TAG === /* Ok */0) {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(mapFunc, result._0)\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: result._0\n };\n }\n}\n\nfunction handleFail(result, handleFailFunc) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return Curry._1(handleFailFunc, result._0);\n }\n}\n\nfunction getExn(result) {\n return handleFail(result, Exception$Meta3dCommonlib.throwErr);\n}\n\nfunction toNullable(result) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return null;\n }\n}\n\nfunction open_(resultResultData) {\n if (resultResultData.TAG === /* Ok */0) {\n return resultResultData._0;\n } else {\n return {\n TAG: /* Error */1,\n _0: resultResultData._0\n };\n }\n}\n\nexports.succeed = succeed;\nexports.fail = fail;\nexports._buildErr = _buildErr;\nexports.failWith = failWith;\nexports.isSuccess = isSuccess;\nexports.either = either;\nexports.bind = bind;\nexports.tap = tap;\nexports.tryCatch = tryCatch;\nexports.mapSuccess = mapSuccess;\nexports.handleFail = handleFail;\nexports.getExn = getExn;\nexports.toNullable = toNullable;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/belt_Option.js": -/*!******************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/belt_Option.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction keepU(opt, p) {\n if (opt !== undefined && p(Caml_option.valFromOption(opt))) {\n return opt;\n }\n \n}\n\nfunction keep(opt, p) {\n return keepU(opt, Curry.__1(p));\n}\n\nfunction forEachU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction forEach(opt, f) {\n forEachU(opt, Curry.__1(f));\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction mapWithDefaultU(opt, $$default, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n } else {\n return $$default;\n }\n}\n\nfunction mapWithDefault(opt, $$default, f) {\n return mapWithDefaultU(opt, $$default, Curry.__1(f));\n}\n\nfunction mapU(opt, f) {\n if (opt !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(opt)));\n }\n \n}\n\nfunction map(opt, f) {\n return mapU(opt, Curry.__1(f));\n}\n\nfunction flatMapU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction flatMap(opt, f) {\n return flatMapU(opt, Curry.__1(f));\n}\n\nfunction getWithDefault(opt, $$default) {\n if (opt !== undefined) {\n return Caml_option.valFromOption(opt);\n } else {\n return $$default;\n }\n}\n\nfunction orElse(opt, other) {\n if (opt !== undefined) {\n return opt;\n } else {\n return other;\n }\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isNone(x) {\n return x === undefined;\n}\n\nfunction eqU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction eq(a, b, f) {\n return eqU(a, b, Curry.__2(f));\n}\n\nfunction cmpU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return 1;\n }\n } else if (b !== undefined) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction cmp(a, b, f) {\n return cmpU(a, b, Curry.__2(f));\n}\n\nexports.keepU = keepU;\nexports.keep = keep;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.getExn = getExn;\nexports.mapWithDefaultU = mapWithDefaultU;\nexports.mapWithDefault = mapWithDefault;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getWithDefault = getWithDefault;\nexports.orElse = orElse;\nexports.isSome = isSome;\nexports.isNone = isNone;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/belt_Option.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_array.js": -/*!*****************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_array.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l.tl;\n _acc = l.hd.length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l.hd;\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l.tl;\n _i = k;\n continue ;\n };\n}\n\nfunction concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n xs[index] = newval;\n}\n\nfunction get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n return xs[index];\n}\n\nfunction make(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction make_float(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n}\n\nfunction dup(prim) {\n return prim.slice(0);\n}\n\nexports.dup = dup;\nexports.sub = sub;\nexports.concat = concat;\nexports.make = make;\nexports.make_float = make_float;\nexports.blit = blit;\nexports.get = get;\nexports.set = set;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_array.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_exceptions.js": -/*!**********************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_exceptions.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar id = {\n contents: 0\n};\n\nfunction create(str) {\n id.contents = id.contents + 1 | 0;\n return str + (\"/\" + id.contents);\n}\n\nfunction is_extension(e) {\n if (e == null) {\n return false;\n } else {\n return typeof e.RE_EXN_ID === \"string\";\n }\n}\n\nfunction exn_slot_name(x) {\n return x.RE_EXN_ID;\n}\n\nexports.id = id;\nexports.create = create;\nexports.is_extension = is_extension;\nexports.exn_slot_name = exn_slot_name;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_exceptions.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js": -/*!*************************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_exceptions = __webpack_require__(/*! ./caml_exceptions.js */ \"../../../../../node_modules/rescript/lib/js/caml_exceptions.js\");\n\nvar $$Error = \"JsError\";\n\nfunction internalToOCamlException(e) {\n if (Caml_exceptions.is_extension(e)) {\n return e;\n } else {\n return {\n RE_EXN_ID: \"JsError\",\n _1: e\n };\n }\n}\n\nfunction as_js_exn(exn) {\n if (exn.RE_EXN_ID === $$Error) {\n return Caml_option.some(exn._1);\n }\n \n}\n\nexports.$$Error = $$Error;\nexports.internalToOCamlException = internalToOCamlException;\nexports.as_js_exn = as_js_exn;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_js_exceptions.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/caml_option.js": -/*!******************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/caml_option.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction isNested(x) {\n return x.BS_PRIVATE_NESTED_SOME_NONE !== undefined;\n}\n\nfunction some(x) {\n if (x === undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: 0\n };\n } else if (x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: x.BS_PRIVATE_NESTED_SOME_NONE + 1 | 0\n };\n } else {\n return x;\n }\n}\n\nfunction nullable_to_opt(x) {\n if (x == null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction undefined_to_opt(x) {\n if (x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction null_to_opt(x) {\n if (x === null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction valFromOption(x) {\n if (!(x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined)) {\n return x;\n }\n var depth = x.BS_PRIVATE_NESTED_SOME_NONE;\n if (depth === 0) {\n return ;\n } else {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: depth - 1 | 0\n };\n }\n}\n\nfunction option_get(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x);\n }\n}\n\nfunction option_unwrap(x) {\n if (x !== undefined) {\n return x.VAL;\n } else {\n return x;\n }\n}\n\nexports.nullable_to_opt = nullable_to_opt;\nexports.undefined_to_opt = undefined_to_opt;\nexports.null_to_opt = null_to_opt;\nexports.valFromOption = valFromOption;\nexports.some = some;\nexports.isNested = isNested;\nexports.option_get = option_get;\nexports.option_unwrap = option_unwrap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/caml_option.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/curry.js": -/*!************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/curry.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_array = __webpack_require__(/*! ./caml_array.js */ \"../../../../../node_modules/rescript/lib/js/caml_array.js\");\n\nfunction app(_f, _args) {\n while(true) {\n var args = _args;\n var f = _f;\n var init_arity = f.length;\n var arity = init_arity === 0 ? 1 : init_arity;\n var len = args.length;\n var d = arity - len | 0;\n if (d === 0) {\n return f.apply(null, args);\n }\n if (d >= 0) {\n return (function(f,args){\n return function (x) {\n return app(f, args.concat([x]));\n }\n }(f,args));\n }\n _args = Caml_array.sub(args, arity, -d | 0);\n _f = f.apply(null, Caml_array.sub(args, 0, arity));\n continue ;\n };\n}\n\nfunction _1(o, a0) {\n var arity = o.length;\n if (arity === 1) {\n return o(a0);\n } else {\n switch (arity) {\n case 1 :\n return o(a0);\n case 2 :\n return function (param) {\n return o(a0, param);\n };\n case 3 :\n return function (param, param$1) {\n return o(a0, param, param$1);\n };\n case 4 :\n return function (param, param$1, param$2) {\n return o(a0, param, param$1, param$2);\n };\n case 5 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, param, param$1, param$2, param$3);\n };\n case 6 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, param, param$1, param$2, param$3, param$4);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4, param$5) {\n return o(a0, param, param$1, param$2, param$3, param$4, param$5);\n };\n default:\n return app(o, [a0]);\n }\n }\n}\n\nfunction __1(o) {\n var arity = o.length;\n if (arity === 1) {\n return o;\n } else {\n return function (a0) {\n return _1(o, a0);\n };\n }\n}\n\nfunction _2(o, a0, a1) {\n var arity = o.length;\n if (arity === 2) {\n return o(a0, a1);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [a1]);\n case 2 :\n return o(a0, a1);\n case 3 :\n return function (param) {\n return o(a0, a1, param);\n };\n case 4 :\n return function (param, param$1) {\n return o(a0, a1, param, param$1);\n };\n case 5 :\n return function (param, param$1, param$2) {\n return o(a0, a1, param, param$1, param$2);\n };\n case 6 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, param, param$1, param$2, param$3);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, a1, param, param$1, param$2, param$3, param$4);\n };\n default:\n return app(o, [\n a0,\n a1\n ]);\n }\n }\n}\n\nfunction __2(o) {\n var arity = o.length;\n if (arity === 2) {\n return o;\n } else {\n return function (a0, a1) {\n return _2(o, a0, a1);\n };\n }\n}\n\nfunction _3(o, a0, a1, a2) {\n var arity = o.length;\n if (arity === 3) {\n return o(a0, a1, a2);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2\n ]);\n case 2 :\n return app(o(a0, a1), [a2]);\n case 3 :\n return o(a0, a1, a2);\n case 4 :\n return function (param) {\n return o(a0, a1, a2, param);\n };\n case 5 :\n return function (param, param$1) {\n return o(a0, a1, a2, param, param$1);\n };\n case 6 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, param, param$1, param$2);\n };\n case 7 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, a2, param, param$1, param$2, param$3);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2\n ]);\n }\n }\n}\n\nfunction __3(o) {\n var arity = o.length;\n if (arity === 3) {\n return o;\n } else {\n return function (a0, a1, a2) {\n return _3(o, a0, a1, a2);\n };\n }\n}\n\nfunction _4(o, a0, a1, a2, a3) {\n var arity = o.length;\n if (arity === 4) {\n return o(a0, a1, a2, a3);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3\n ]);\n case 3 :\n return app(o(a0, a1, a2), [a3]);\n case 4 :\n return o(a0, a1, a2, a3);\n case 5 :\n return function (param) {\n return o(a0, a1, a2, a3, param);\n };\n case 6 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, param, param$1);\n };\n case 7 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, a3, param, param$1, param$2);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3\n ]);\n }\n }\n}\n\nfunction __4(o) {\n var arity = o.length;\n if (arity === 4) {\n return o;\n } else {\n return function (a0, a1, a2, a3) {\n return _4(o, a0, a1, a2, a3);\n };\n }\n}\n\nfunction _5(o, a0, a1, a2, a3, a4) {\n var arity = o.length;\n if (arity === 5) {\n return o(a0, a1, a2, a3, a4);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [a4]);\n case 5 :\n return o(a0, a1, a2, a3, a4);\n case 6 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, param);\n };\n case 7 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, a4, param, param$1);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4\n ]);\n }\n }\n}\n\nfunction __5(o) {\n var arity = o.length;\n if (arity === 5) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4) {\n return _5(o, a0, a1, a2, a3, a4);\n };\n }\n}\n\nfunction _6(o, a0, a1, a2, a3, a4, a5) {\n var arity = o.length;\n if (arity === 6) {\n return o(a0, a1, a2, a3, a4, a5);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [a5]);\n case 6 :\n return o(a0, a1, a2, a3, a4, a5);\n case 7 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, a5, param);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n }\n }\n}\n\nfunction __6(o) {\n var arity = o.length;\n if (arity === 6) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5) {\n return _6(o, a0, a1, a2, a3, a4, a5);\n };\n }\n}\n\nfunction _7(o, a0, a1, a2, a3, a4, a5, a6) {\n var arity = o.length;\n if (arity === 7) {\n return o(a0, a1, a2, a3, a4, a5, a6);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [a6]);\n case 7 :\n return o(a0, a1, a2, a3, a4, a5, a6);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n }\n }\n}\n\nfunction __7(o) {\n var arity = o.length;\n if (arity === 7) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return _7(o, a0, a1, a2, a3, a4, a5, a6);\n };\n }\n}\n\nfunction _8(o, a0, a1, a2, a3, a4, a5, a6, a7) {\n var arity = o.length;\n if (arity === 8) {\n return o(a0, a1, a2, a3, a4, a5, a6, a7);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6,\n a7\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6,\n a7\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [\n a6,\n a7\n ]);\n case 7 :\n return app(o(a0, a1, a2, a3, a4, a5, a6), [a7]);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n }\n }\n}\n\nfunction __8(o) {\n var arity = o.length;\n if (arity === 8) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return _8(o, a0, a1, a2, a3, a4, a5, a6, a7);\n };\n }\n}\n\nexports.app = app;\nexports._1 = _1;\nexports.__1 = __1;\nexports._2 = _2;\nexports.__2 = __2;\nexports._3 = _3;\nexports.__3 = __3;\nexports._4 = _4;\nexports.__4 = __4;\nexports._5 = _5;\nexports.__5 = __5;\nexports._6 = _6;\nexports.__6 = __6;\nexports._7 = _7;\nexports.__7 = __7;\nexports._8 = _8;\nexports.__8 = __8;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/curry.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_exn.js": -/*!*************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_exn.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction raiseError(str) {\n throw new Error(str);\n}\n\nfunction raiseEvalError(str) {\n throw new EvalError(str);\n}\n\nfunction raiseRangeError(str) {\n throw new RangeError(str);\n}\n\nfunction raiseReferenceError(str) {\n throw new ReferenceError(str);\n}\n\nfunction raiseSyntaxError(str) {\n throw new SyntaxError(str);\n}\n\nfunction raiseTypeError(str) {\n throw new TypeError(str);\n}\n\nfunction raiseUriError(str) {\n throw new URIError(str);\n}\n\nvar $$Error$1 = \"JsError\";\n\nexports.$$Error = $$Error$1;\nexports.raiseError = raiseError;\nexports.raiseEvalError = raiseEvalError;\nexports.raiseRangeError = raiseRangeError;\nexports.raiseReferenceError = raiseReferenceError;\nexports.raiseSyntaxError = raiseSyntaxError;\nexports.raiseTypeError = raiseTypeError;\nexports.raiseUriError = raiseUriError;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_exn.js?"); - -/***/ }), - -/***/ "../../../../../node_modules/rescript/lib/js/js_null_undefined.js": -/*!************************************************************************!*\ - !*** ../../../../../node_modules/rescript/lib/js/js_null_undefined.js ***! - \************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction bind(x, f) {\n if (x == null) {\n return x;\n } else {\n return f(x);\n }\n}\n\nfunction iter(x, f) {\n if (!(x == null)) {\n return f(x);\n }\n \n}\n\nfunction fromOption(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n \n}\n\nvar from_opt = fromOption;\n\nexports.bind = bind;\nexports.iter = iter;\nexports.fromOption = fromOption;\nexports.from_opt = from_opt;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../../node_modules/rescript/lib/js/js_null_undefined.js?"); - -/***/ }), - -/***/ "./lib/js/src/Main.bs.js": -/*!*******************************!*\ - !*** ./lib/js/src/Main.bs.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar NullableSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js */ \"../../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js\");\n\nfunction getExtensionService(api) {\n return {\n getContext: (function (canvas, contextConfigJsObj) {\n return canvas.getContext(\"webgl\", contextConfigJsObj);\n }),\n createProgram: (function (gl) {\n return gl.createProgram();\n }),\n linkProgram: (function (program, gl) {\n gl.linkProgram(program);\n }),\n useProgram: (function (program, gl) {\n gl.useProgram(program);\n }),\n uniformMatrix4fv: (function ($$location, value, gl) {\n gl.uniformMatrix4fv($$location, false, value);\n }),\n uniform1i: (function ($$location, value, gl) {\n gl.uniform1i($$location, value);\n }),\n uniform1f: (function ($$location, value, gl) {\n gl.uniform1f($$location, value);\n }),\n uniform3f: (function ($$location, value1, value2, value3, gl) {\n gl.uniform3f($$location, value1, value2, value3);\n }),\n getAttribLocation: (function (program, name, gl) {\n return gl.getAttribLocation(program, name);\n }),\n getUniformLocation: (function (program, name, gl) {\n return gl.getUniformLocation(program, name);\n }),\n shaderSource: (function (shader, shaderSource, gl) {\n gl.shaderSource(shader, shaderSource);\n }),\n compileShader: (function (shader, gl) {\n gl.compileShader(shader);\n }),\n createShader: (function (shaderType, gl) {\n return gl.createShader(shaderType);\n }),\n getParameter: (function (pname, gl) {\n return gl.getParameter(pname);\n }),\n getLinkStatus: (function (gl) {\n return gl.LINK_STATUS;\n }),\n getShaderParameter: (function (shader, parameterName, gl) {\n return gl.getShaderParameter(shader, parameterName);\n }),\n getProgramParameter: (function (program, parameterName, gl) {\n return gl.getProgramParameter(program, parameterName);\n }),\n getShaderInfoLog: (function (shader, gl) {\n return NullableSt$Meta3dCommonlib.getWithDefault(gl.getShaderInfoLog(shader), \"\");\n }),\n getProgramInfoLog: (function (program, gl) {\n return NullableSt$Meta3dCommonlib.getWithDefault(gl.getProgramInfoLog(program), \"\");\n }),\n attachShader: (function (program, shader, gl) {\n gl.attachShader(program, shader);\n }),\n deleteShader: (function (shader, gl) {\n gl.deleteShader(shader);\n }),\n bindAttribLocation: (function (program, index, name, gl) {\n gl.bindAttribLocation(program, index, name);\n }),\n getCompileStatus: (function (gl) {\n return gl.COMPILE_STATUS;\n }),\n getVertexShader: (function (gl) {\n return gl.VERTEX_SHADER;\n }),\n getFragmentShader: (function (gl) {\n return gl.FRAGMENT_SHADER;\n }),\n createBuffer: (function (gl) {\n return gl.createBuffer();\n }),\n bindBuffer: (function (arrayBufferType, buffer, gl) {\n gl.bindBuffer(arrayBufferType, buffer);\n }),\n bufferFloat32Data: (function (arrayBufferType, bufferData, arrayBufferUpdateType, gl) {\n gl.bufferData(arrayBufferType, bufferData, arrayBufferUpdateType);\n }),\n bufferUint16Data: (function (arrayBufferType, bufferData, arrayBufferUpdateType, gl) {\n gl.bufferData(arrayBufferType, bufferData, arrayBufferUpdateType);\n }),\n bufferUint32Data: (function (arrayBufferType, bufferData, arrayBufferUpdateType, gl) {\n gl.bufferData(arrayBufferType, bufferData, arrayBufferUpdateType);\n }),\n getArrayBuffer: (function (gl) {\n return gl.ARRAY_BUFFER;\n }),\n getElementArrayBuffer: (function (gl) {\n return gl.ELEMENT_ARRAY_BUFFER;\n }),\n getStaticDraw: (function (gl) {\n return gl.STATIC_DRAW;\n }),\n getDynamicDraw: (function (gl) {\n return gl.DYNAMIC_DRAW;\n }),\n disableVertexAttribArray: (function (index, gl) {\n gl.disableVertexAttribArray(index);\n }),\n vertexAttribPointer: (function (attributeLocation, size, _type, normalized, stride, offset, gl) {\n gl.vertexAttribPointer(attributeLocation, size, _type, normalized, stride, offset);\n }),\n enableVertexAttribArray: (function (attributeLocation, gl) {\n gl.enableVertexAttribArray(attributeLocation);\n }),\n getExtension: (function (name, gl) {\n gl.getExtension(name);\n }),\n drawElements: (function (mode, count, _type, offset, gl) {\n gl.drawElements(mode, count, _type, offset);\n }),\n clearColor: (function (red, green, blue, alpha, gl) {\n gl.clearColor(red, green, blue, alpha);\n }),\n clear: (function (mask, gl) {\n gl.clear(mask);\n }),\n getColorBufferBit: (function (gl) {\n return gl.COLOR_BUFFER_BIT;\n }),\n getDepthBufferBit: (function (gl) {\n return gl.DEPTH_BUFFER_BIT;\n }),\n getStencilBufferBit: (function (gl) {\n return gl.STENCIL_BUFFER_BIT;\n }),\n viewport: (function (x, y, width, height, gl) {\n gl.viewport(x, y, width, height);\n }),\n scissor: (function (x, y, width, height, gl) {\n gl.scissor(x, y, width, height);\n }),\n enable: (function (capability, gl) {\n gl.enable(capability);\n }),\n disable: (function (capability, gl) {\n gl.disable(capability);\n }),\n getFloat: (function (gl) {\n return gl.FLOAT;\n }),\n getDepthTest: (function (gl) {\n return gl.DEPTH_TEST;\n }),\n getStencilTest: (function (gl) {\n return gl.STENCIL_TEST;\n }),\n getScissorTest: (function (gl) {\n return gl.SCISSOR_TEST;\n }),\n getBlend: (function (gl) {\n return gl.BLEND;\n }),\n getCullFace: (function (gl) {\n return gl.CULL_FACE;\n }),\n getFrontAndBack: (function (gl) {\n return gl.FRONT_AND_BACK;\n }),\n getBack: (function (gl) {\n return gl.BACK;\n }),\n getFront: (function (gl) {\n return gl.FRONT;\n }),\n getCurrentProgram: (function (gl) {\n return gl.CURRENT_PROGRAM;\n }),\n getBindingElementArrayBuffer: (function (gl) {\n return gl.ELEMENT_ARRAY_BUFFER_BINDING;\n }),\n getBindingArrayBuffer: (function (gl) {\n return gl.ARRAY_BUFFER_BINDING;\n }),\n getSrcAlpha: (function (gl) {\n return gl.SRC_ALPHA;\n }),\n getOneMinusSrcAlpha: (function (gl) {\n return gl.ONE_MINUS_SRC_ALPHA;\n }),\n isEnabled: (function (capability, gl) {\n return gl.isEnabled(capability);\n }),\n bindVertexArrayOES: (function (arrayObject, gl) {\n gl.bindVertexArrayOES(arrayObject);\n }),\n blendFunc: (function (sfactor, dfactor, gl) {\n gl.blendFunc(sfactor, dfactor);\n }),\n getTriangles: (function (gl) {\n return gl.TRIANGLES;\n }),\n getTriangleFan: (function (gl) {\n return gl.TRIANGLE_FAN;\n }),\n getUnsignedByte: (function (gl) {\n return gl.UNSIGNED_BYTE;\n }),\n getUnsignedInt: (function (gl) {\n return gl.UNSIGNED_INT;\n }),\n getUnsignedShort: (function (gl) {\n return gl.UNSIGNED_SHORT;\n }),\n bindTexture: (function (mode, texture, gl) {\n gl.bindTexture(mode, texture);\n }),\n createTexture: (function (gl) {\n return gl.createTexture();\n }),\n texImage2D: (function (target, level, internalformat, width, height, border, format, type_, pixels, gl) {\n gl.texImage2D(target, level, internalformat, width, height, border, format, type_, pixels);\n }),\n texParameteri: (function (target, pname, param, gl) {\n gl.texParameteri(target, pname, param);\n }),\n getTexture2DType: (function (gl) {\n return gl.TEXTURE_2D;\n }),\n getRGBAType: (function (gl) {\n return gl.RGBA;\n }),\n getDrawingBufferWidth: (function (gl) {\n return gl.drawingBufferWidth;\n }),\n getDrawingBufferHeight: (function (gl) {\n return gl.drawingBufferHeight;\n }),\n getTextureMinFilterType: (function (gl) {\n return gl.TEXTURE_MIN_FILTER;\n }),\n getLinearType: (function (gl) {\n return gl.LINEAR;\n }),\n getTextureWrapSType: (function (gl) {\n return gl.TEXTURE_WRAP_S;\n }),\n getTextureWrapTType: (function (gl) {\n return gl.TEXTURE_WRAP_T;\n }),\n getClampToEdgeType: (function (gl) {\n return gl.CLAMP_TO_EDGE;\n }),\n getFrameBufferType: (function (gl) {\n return gl.FRAMEBUFFER;\n }),\n getRenderBufferType: (function (gl) {\n return gl.RENDERBUFFER;\n }),\n getColorAttachment0: (function (gl) {\n return gl.COLOR_ATTACHMENT0;\n }),\n getDepthAttachment: (function (gl) {\n return gl.DEPTH_ATTACHMENT;\n }),\n getDepthComponent16: (function (gl) {\n return gl.DEPTH_COMPONENT16;\n }),\n createFramebuffer: (function (gl) {\n return gl.createFramebuffer();\n }),\n bindFramebuffer: (function (target, framebuffer, gl) {\n gl.bindFramebuffer(target, framebuffer);\n }),\n framebufferTexture2D: (function (target, attachment, textarget, texture, level, gl) {\n gl.framebufferTexture2D(target, attachment, textarget, texture, level);\n }),\n createRenderbuffer: (function (gl) {\n return gl.createRenderbuffer();\n }),\n bindRenderbuffer: (function (target, renderBuffer, gl) {\n gl.bindRenderbuffer(target, renderBuffer);\n }),\n renderbufferStorage: (function (target, internalFormat, width, height, gl) {\n gl.renderbufferStorage(target, internalFormat, width, height);\n }),\n framebufferRenderbuffer: (function (target, attachment, renderBufferTarget, renderBuffer, gl) {\n gl.framebufferRenderbuffer(target, attachment, renderBufferTarget, renderBuffer);\n })\n };\n}\n\nfunction createExtensionState(param, param$1) {\n \n}\n\nfunction getExtensionLife(param, param$1) {\n return {\n onRegister: null,\n onRestore: null,\n onDeepCopy: null,\n onStart: null,\n onInit: null,\n onUpdate: null\n };\n}\n\nexports.getExtensionService = getExtensionService;\nexports.createExtensionState = createExtensionState;\nexports.getExtensionLife = getExtensionLife;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/Main.bs.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./lib/js/src/Main.bs.js"); -/******/ window.Extension = __webpack_exports__; -/******/ -/******/ })() -; \ No newline at end of file +(()=>{"use strict";var n={30:(n,r)=>{r.throwErr=n=>{throw n},r.buildErr=n=>new Error(n)},164:(n,r,t)=>{var e=t(212),u=t(484),o=e.bind;r.getExn=function(n){return u.getExn(u.fromNullable(n))},r.$$return=function(n){return n},r.getWithDefault=function(n,r){return u.getWithDefault(u.fromNullable(n),r)},r.map=o,r.bind=function(n,r){return u.toNullable(u.bind(u.fromNullable(n),(function(n){return u.fromNullable(r(n))})))},r.isNullable=function(n){return null==n},r.getEmpty=function(n){}},484:(n,r,t)=>{var e=t(127),u=t(829),o=t(199),i=t(212),f=t(826),c=n=>{if(void 0!==n)return n;throw new Error("Not_found")},a=c,l=i.from_opt,_=u.getWithDefault,E=u.isSome,s=u.map,d=u.flatMap;r.unsafeGet=function(n){return n},r._getExn=c,r.getExn=a,r.buildFailResult=function(n){return f.failWith("data not exist in option data")},r.get=function(n){return void 0!==n?f.succeed(o.valFromOption(n)):f.failWith("data not exist in option data")},r.getWithDefault=_,r.isSome=E,r.map=s,r.bind=d,r.fromNullable=function(n){return null==n?void 0:o.some(n)},r.toNullable=l,r.toStrictNullable=function(n){return void 0!==n?o.valFromOption(n):null},r.forEachResult=function(n,r){return void 0!==n?e._1(r,o.valFromOption(n)):f.succeed(void 0)},r.sequenceResultM=function(n){return void 0!==n?f.mapSuccess(n,(function(n){return o.some(n)})):f.succeed(void 0)},r.open_=function(n){if(void 0!==n)return o.valFromOption(n)}},826:(n,r,t)=>{var e=t(127),u=t(144),o=t(931),i=t(30);function f(n){return{TAG:1,_0:n}}var c=i.buildErr;function a(n,r,t){return 0===n.TAG?e._1(r,n._0):e._1(t,n._0)}function l(n,r){return 0===n.TAG?n._0:e._1(r,n._0)}r.succeed=function(n){return{TAG:0,_0:n}},r.fail=f,r._buildErr=c,r.failWith=function(n){return{TAG:1,_0:i.buildErr(n)}},r.isSuccess=function(n){return 0===n.TAG},r.either=a,r.bind=function(n,r){return a(n,r,f)},r.tap=function(n,r){return a(n,(function(n){return e._1(r,n),{TAG:0,_0:n}}),f)},r.tryCatch=function(n){try{return{TAG:0,_0:e._1(n,void 0)}}catch(n){var r=o.internalToOCamlException(n);return r.RE_EXN_ID===u.$$Error?{TAG:1,_0:r._1}:{TAG:1,_0:i.buildErr("unknown error: "+r)}}},r.mapSuccess=function(n,r){return 0===n.TAG?{TAG:0,_0:e._1(r,n._0)}:{TAG:1,_0:n._0}},r.handleFail=l,r.getExn=function(n){return l(n,i.throwErr)},r.toNullable=function(n){return 0===n.TAG?n._0:null},r.open_=function(n){return 0===n.TAG?n._0:{TAG:1,_0:n._0}}},829:(n,r,t)=>{var e=t(127),u=t(199);function o(n,r){if(void 0!==n&&r(u.valFromOption(n)))return n}function i(n,r){if(void 0!==n)return r(u.valFromOption(n))}function f(n,r,t){return void 0!==n?t(u.valFromOption(n)):r}function c(n,r){if(void 0!==n)return u.some(r(u.valFromOption(n)))}function a(n,r){if(void 0!==n)return r(u.valFromOption(n))}function l(n,r,t){return void 0!==n?void 0!==r&&t(u.valFromOption(n),u.valFromOption(r)):void 0===r}function _(n,r,t){return void 0!==n?void 0!==r?t(u.valFromOption(n),u.valFromOption(r)):1:void 0!==r?-1:0}r.keepU=o,r.keep=function(n,r){return o(n,e.__1(r))},r.forEachU=i,r.forEach=function(n,r){i(n,e.__1(r))},r.getExn=function(n){if(void 0!==n)return u.valFromOption(n);throw{RE_EXN_ID:"Not_found",Error:new Error}},r.mapWithDefaultU=f,r.mapWithDefault=function(n,r,t){return f(n,r,e.__1(t))},r.mapU=c,r.map=function(n,r){return c(n,e.__1(r))},r.flatMapU=a,r.flatMap=function(n,r){return a(n,e.__1(r))},r.getWithDefault=function(n,r){return void 0!==n?u.valFromOption(n):r},r.orElse=function(n,r){return void 0!==n?n:r},r.isSome=function(n){return void 0!==n},r.isNone=function(n){return void 0===n},r.eqU=l,r.eq=function(n,r,t){return l(n,r,e.__2(t))},r.cmpU=_,r.cmp=function(n,r,t){return _(n,r,e.__2(t))}},962:(n,r)=>{r.dup=function(n){return n.slice(0)},r.sub=function(n,r,t){for(var e=new Array(t),u=0,o=r;u=0;--i)t[i+e|0]=n[i+r|0]},r.get=function(n,r){if(r<0||r>=n.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return n[r]},r.set=function(n,r,t){if(r<0||r>=n.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};n[r]=t}},682:(n,r)=>{var t={contents:0};r.id=t,r.create=function(n){return t.contents=t.contents+1|0,n+"/"+t.contents},r.is_extension=function(n){return null!=n&&"string"==typeof n.RE_EXN_ID},r.exn_slot_name=function(n){return n.RE_EXN_ID}},931:(n,r,t)=>{var e=t(199),u=t(682),o="JsError";r.$$Error=o,r.internalToOCamlException=function(n){return u.is_extension(n)?n:{RE_EXN_ID:"JsError",_1:n}},r.as_js_exn=function(n){if(n.RE_EXN_ID===o)return e.some(n._1)}},199:(n,r)=>{function t(n){return void 0===n?{BS_PRIVATE_NESTED_SOME_NONE:0}:null!==n&&void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?{BS_PRIVATE_NESTED_SOME_NONE:n.BS_PRIVATE_NESTED_SOME_NONE+1|0}:n}function e(n){if(null===n||void 0===n.BS_PRIVATE_NESTED_SOME_NONE)return n;var r=n.BS_PRIVATE_NESTED_SOME_NONE;return 0===r?void 0:{BS_PRIVATE_NESTED_SOME_NONE:r-1|0}}r.nullable_to_opt=function(n){return null==n?void 0:t(n)},r.undefined_to_opt=function(n){return void 0===n?void 0:t(n)},r.null_to_opt=function(n){return null===n?void 0:t(n)},r.valFromOption=e,r.some=t,r.isNested=function(n){return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE},r.option_get=function(n){return void 0===n?void 0:e(n)},r.option_unwrap=function(n){return void 0!==n?n.VAL:n}},127:(n,r,t)=>{var e=t(962);function u(n,r){for(;;){var t=r,o=n,i=o.length,f=0===i?1:i,c=f-t.length|0;if(0===c)return o.apply(null,t);if(c>=0)return function(n,r){return function(t){return u(n,r.concat([t]))}}(o,t);r=e.sub(t,f,0|-c),n=o.apply(null,e.sub(t,0,f))}}function o(n,r){var t=n.length;if(1===t)return n(r);switch(t){case 1:return n(r);case 2:return function(t){return n(r,t)};case 3:return function(t,e){return n(r,t,e)};case 4:return function(t,e,u){return n(r,t,e,u)};case 5:return function(t,e,u,o){return n(r,t,e,u,o)};case 6:return function(t,e,u,o,i){return n(r,t,e,u,o,i)};case 7:return function(t,e,u,o,i,f){return n(r,t,e,u,o,i,f)};default:return u(n,[r])}}function i(n,r,t){var e=n.length;if(2===e)return n(r,t);switch(e){case 1:return u(n(r),[t]);case 2:return n(r,t);case 3:return function(e){return n(r,t,e)};case 4:return function(e,u){return n(r,t,e,u)};case 5:return function(e,u,o){return n(r,t,e,u,o)};case 6:return function(e,u,o,i){return n(r,t,e,u,o,i)};case 7:return function(e,u,o,i,f){return n(r,t,e,u,o,i,f)};default:return u(n,[r,t])}}function f(n,r,t,e){var o=n.length;if(3===o)return n(r,t,e);switch(o){case 1:return u(n(r),[t,e]);case 2:return u(n(r,t),[e]);case 3:return n(r,t,e);case 4:return function(u){return n(r,t,e,u)};case 5:return function(u,o){return n(r,t,e,u,o)};case 6:return function(u,o,i){return n(r,t,e,u,o,i)};case 7:return function(u,o,i,f){return n(r,t,e,u,o,i,f)};default:return u(n,[r,t,e])}}function c(n,r,t,e,o){var i=n.length;if(4===i)return n(r,t,e,o);switch(i){case 1:return u(n(r),[t,e,o]);case 2:return u(n(r,t),[e,o]);case 3:return u(n(r,t,e),[o]);case 4:return n(r,t,e,o);case 5:return function(u){return n(r,t,e,o,u)};case 6:return function(u,i){return n(r,t,e,o,u,i)};case 7:return function(u,i,f){return n(r,t,e,o,u,i,f)};default:return u(n,[r,t,e,o])}}function a(n,r,t,e,o,i){var f=n.length;if(5===f)return n(r,t,e,o,i);switch(f){case 1:return u(n(r),[t,e,o,i]);case 2:return u(n(r,t),[e,o,i]);case 3:return u(n(r,t,e),[o,i]);case 4:return u(n(r,t,e,o),[i]);case 5:return n(r,t,e,o,i);case 6:return function(u){return n(r,t,e,o,i,u)};case 7:return function(u,f){return n(r,t,e,o,i,u,f)};default:return u(n,[r,t,e,o,i])}}function l(n,r,t,e,o,i,f){var c=n.length;if(6===c)return n(r,t,e,o,i,f);switch(c){case 1:return u(n(r),[t,e,o,i,f]);case 2:return u(n(r,t),[e,o,i,f]);case 3:return u(n(r,t,e),[o,i,f]);case 4:return u(n(r,t,e,o),[i,f]);case 5:return u(n(r,t,e,o,i),[f]);case 6:return n(r,t,e,o,i,f);case 7:return function(u){return n(r,t,e,o,i,f,u)};default:return u(n,[r,t,e,o,i,f])}}function _(n,r,t,e,o,i,f,c){var a=n.length;if(7===a)return n(r,t,e,o,i,f,c);switch(a){case 1:return u(n(r),[t,e,o,i,f,c]);case 2:return u(n(r,t),[e,o,i,f,c]);case 3:return u(n(r,t,e),[o,i,f,c]);case 4:return u(n(r,t,e,o),[i,f,c]);case 5:return u(n(r,t,e,o,i),[f,c]);case 6:return u(n(r,t,e,o,i,f),[c]);case 7:return n(r,t,e,o,i,f,c);default:return u(n,[r,t,e,o,i,f,c])}}function E(n,r,t,e,o,i,f,c,a){var l=n.length;if(8===l)return n(r,t,e,o,i,f,c,a);switch(l){case 1:return u(n(r),[t,e,o,i,f,c,a]);case 2:return u(n(r,t),[e,o,i,f,c,a]);case 3:return u(n(r,t,e),[o,i,f,c,a]);case 4:return u(n(r,t,e,o),[i,f,c,a]);case 5:return u(n(r,t,e,o,i),[f,c,a]);case 6:return u(n(r,t,e,o,i,f),[c,a]);case 7:return u(n(r,t,e,o,i,f,c),[a]);default:return u(n,[r,t,e,o,i,f,c,a])}}r.app=u,r._1=o,r.__1=function(n){return 1===n.length?n:function(r){return o(n,r)}},r._2=i,r.__2=function(n){return 2===n.length?n:function(r,t){return i(n,r,t)}},r._3=f,r.__3=function(n){return 3===n.length?n:function(r,t,e){return f(n,r,t,e)}},r._4=c,r.__4=function(n){return 4===n.length?n:function(r,t,e,u){return c(n,r,t,e,u)}},r._5=a,r.__5=function(n){return 5===n.length?n:function(r,t,e,u,o){return a(n,r,t,e,u,o)}},r._6=l,r.__6=function(n){return 6===n.length?n:function(r,t,e,u,o,i){return l(n,r,t,e,u,o,i)}},r._7=_,r.__7=function(n){return 7===n.length?n:function(r,t,e,u,o,i,f){return _(n,r,t,e,u,o,i,f)}},r._8=E,r.__8=function(n){return 8===n.length?n:function(r,t,e,u,o,i,f,c){return E(n,r,t,e,u,o,i,f,c)}}},144:(n,r)=>{r.$$Error="JsError",r.raiseError=function(n){throw new Error(n)},r.raiseEvalError=function(n){throw new EvalError(n)},r.raiseRangeError=function(n){throw new RangeError(n)},r.raiseReferenceError=function(n){throw new ReferenceError(n)},r.raiseSyntaxError=function(n){throw new SyntaxError(n)},r.raiseTypeError=function(n){throw new TypeError(n)},r.raiseUriError=function(n){throw new URIError(n)}},212:(n,r,t)=>{var e=t(199);function u(n){if(void 0!==n)return e.valFromOption(n)}var o=u;r.bind=function(n,r){return null==n?n:r(n)},r.iter=function(n,r){if(null!=n)return r(n)},r.fromOption=u,r.from_opt=o}},r={};var t,e,u={};t=u,e=function t(e){var u=r[e];if(void 0!==u)return u.exports;var o=r[e]={exports:{}};return n[e](o,o.exports,t),o.exports}(164),t.getExtensionService=function(n){return{getContext:function(n,r){return n.getContext("webgl",r)},createProgram:function(n){return n.createProgram()},linkProgram:function(n,r){r.linkProgram(n)},useProgram:function(n,r){r.useProgram(n)},uniformMatrix4fv:function(n,r,t){t.uniformMatrix4fv(n,!1,r)},uniform1i:function(n,r,t){t.uniform1i(n,r)},uniform1f:function(n,r,t){t.uniform1f(n,r)},uniform3f:function(n,r,t,e,u){u.uniform3f(n,r,t,e)},getAttribLocation:function(n,r,t){return t.getAttribLocation(n,r)},getUniformLocation:function(n,r,t){return t.getUniformLocation(n,r)},shaderSource:function(n,r,t){t.shaderSource(n,r)},compileShader:function(n,r){r.compileShader(n)},createShader:function(n,r){return r.createShader(n)},getParameter:function(n,r){return r.getParameter(n)},getLinkStatus:function(n){return n.LINK_STATUS},getShaderParameter:function(n,r,t){return t.getShaderParameter(n,r)},getProgramParameter:function(n,r,t){return t.getProgramParameter(n,r)},getShaderInfoLog:function(n,r){return e.getWithDefault(r.getShaderInfoLog(n),"")},getProgramInfoLog:function(n,r){return e.getWithDefault(r.getProgramInfoLog(n),"")},attachShader:function(n,r,t){t.attachShader(n,r)},deleteShader:function(n,r){r.deleteShader(n)},bindAttribLocation:function(n,r,t,e){e.bindAttribLocation(n,r,t)},getCompileStatus:function(n){return n.COMPILE_STATUS},getVertexShader:function(n){return n.VERTEX_SHADER},getFragmentShader:function(n){return n.FRAGMENT_SHADER},createBuffer:function(n){return n.createBuffer()},bindBuffer:function(n,r,t){t.bindBuffer(n,r)},bufferFloat32Data:function(n,r,t,e){e.bufferData(n,r,t)},bufferUint16Data:function(n,r,t,e){e.bufferData(n,r,t)},bufferUint32Data:function(n,r,t,e){e.bufferData(n,r,t)},getArrayBuffer:function(n){return n.ARRAY_BUFFER},getElementArrayBuffer:function(n){return n.ELEMENT_ARRAY_BUFFER},getStaticDraw:function(n){return n.STATIC_DRAW},getDynamicDraw:function(n){return n.DYNAMIC_DRAW},disableVertexAttribArray:function(n,r){r.disableVertexAttribArray(n)},vertexAttribPointer:function(n,r,t,e,u,o,i){i.vertexAttribPointer(n,r,t,e,u,o)},enableVertexAttribArray:function(n,r){r.enableVertexAttribArray(n)},getExtension:function(n,r){r.getExtension(n)},drawElements:function(n,r,t,e,u){u.drawElements(n,r,t,e)},clearColor:function(n,r,t,e,u){u.clearColor(n,r,t,e)},clear:function(n,r){r.clear(n)},getColorBufferBit:function(n){return n.COLOR_BUFFER_BIT},getDepthBufferBit:function(n){return n.DEPTH_BUFFER_BIT},getStencilBufferBit:function(n){return n.STENCIL_BUFFER_BIT},viewport:function(n,r,t,e,u){u.viewport(n,r,t,e)},scissor:function(n,r,t,e,u){u.scissor(n,r,t,e)},enable:function(n,r){r.enable(n)},disable:function(n,r){r.disable(n)},getFloat:function(n){return n.FLOAT},getDepthTest:function(n){return n.DEPTH_TEST},getStencilTest:function(n){return n.STENCIL_TEST},getScissorTest:function(n){return n.SCISSOR_TEST},getBlend:function(n){return n.BLEND},getCullFace:function(n){return n.CULL_FACE},getFrontAndBack:function(n){return n.FRONT_AND_BACK},getBack:function(n){return n.BACK},getFront:function(n){return n.FRONT},getCurrentProgram:function(n){return n.CURRENT_PROGRAM},getBindingElementArrayBuffer:function(n){return n.ELEMENT_ARRAY_BUFFER_BINDING},getBindingArrayBuffer:function(n){return n.ARRAY_BUFFER_BINDING},getSrcAlpha:function(n){return n.SRC_ALPHA},getOneMinusSrcAlpha:function(n){return n.ONE_MINUS_SRC_ALPHA},isEnabled:function(n,r){return r.isEnabled(n)},bindVertexArrayOES:function(n,r){r.bindVertexArrayOES(n)},blendFunc:function(n,r,t){t.blendFunc(n,r)},getTriangles:function(n){return n.TRIANGLES},getTriangleFan:function(n){return n.TRIANGLE_FAN},getUnsignedByte:function(n){return n.UNSIGNED_BYTE},getUnsignedInt:function(n){return n.UNSIGNED_INT},getUnsignedShort:function(n){return n.UNSIGNED_SHORT},bindTexture:function(n,r,t){t.bindTexture(n,r)},createTexture:function(n){return n.createTexture()},texImage2D:function(n,r,t,e,u,o,i,f,c,a){a.texImage2D(n,r,t,e,u,o,i,f,c)},texParameteri:function(n,r,t,e){e.texParameteri(n,r,t)},getTexture2DType:function(n){return n.TEXTURE_2D},getRGBAType:function(n){return n.RGBA},getDrawingBufferWidth:function(n){return n.drawingBufferWidth},getDrawingBufferHeight:function(n){return n.drawingBufferHeight},getTextureMinFilterType:function(n){return n.TEXTURE_MIN_FILTER},getLinearType:function(n){return n.LINEAR},getTextureWrapSType:function(n){return n.TEXTURE_WRAP_S},getTextureWrapTType:function(n){return n.TEXTURE_WRAP_T},getClampToEdgeType:function(n){return n.CLAMP_TO_EDGE},getFrameBufferType:function(n){return n.FRAMEBUFFER},getRenderBufferType:function(n){return n.RENDERBUFFER},getColorAttachment0:function(n){return n.COLOR_ATTACHMENT0},getDepthAttachment:function(n){return n.DEPTH_ATTACHMENT},getDepthComponent16:function(n){return n.DEPTH_COMPONENT16},createFramebuffer:function(n){return n.createFramebuffer()},bindFramebuffer:function(n,r,t){t.bindFramebuffer(n,r)},framebufferTexture2D:function(n,r,t,e,u,o){o.framebufferTexture2D(n,r,t,e,u)},createRenderbuffer:function(n){return n.createRenderbuffer()},bindRenderbuffer:function(n,r,t){t.bindRenderbuffer(n,r)},renderbufferStorage:function(n,r,t,e,u){u.renderbufferStorage(n,r,t,e)},framebufferRenderbuffer:function(n,r,t,e,u){u.framebufferRenderbuffer(n,r,t,e)}}},t.createExtensionState=function(n,r){},t.getExtensionLife=function(n,r){return{onRegister:null,onRestore:null,onDeepCopy:null,onStart:null,onInit:null,onUpdate:null}},window.Extension=u})(); \ No newline at end of file diff --git a/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.compiler.log b/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.compiler.log index 4ed0c003d..4f0570c4c 100644 --- a/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.compiler.log +++ b/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.compiler.log @@ -1,2 +1,2 @@ -#Start(1709083011689) -#Done(1709083011755) +#Start(1709091447000) +#Done(1709091447055) diff --git a/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.ninja_log b/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.ninja_log index 6dff3dbae..c0ee0e9fd 100644 --- a/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.ninja_log +++ b/packages/engine-whole/protocols/extension_protocols/meta3d-engine-whole-protocol/lib/bs/.ninja_log @@ -1,8 +1,8 @@ # ninja log v6 -0 23 1709083011710294358 src/service/ServiceType.ast 785165cefc5839bb -2 24 1709083011710706147 Meta3dEngineWholeProtocol.cmi 5f7f0af9dc9a4eae -23 35 1709083011724107222 src/service/ServiceType.d c1e4bb8db3eac460 -35 66 1709083011754086808 src/service/ServiceType-Meta3dEngineWholeProtocol.cmj cc54f5ddefcea3c7 -35 66 1709083011754086808 src/service/ServiceType-Meta3dEngineWholeProtocol.cmi cc54f5ddefcea3c7 -35 66 1709083011754086808 ../es6_global/src/service/ServiceType.bs.js cc54f5ddefcea3c7 -35 66 1709083011754086808 ../js/src/service/ServiceType.bs.js cc54f5ddefcea3c7 +0 18 1709091447017120338 src/service/ServiceType.ast 785165cefc5839bb +0 19 1709091447016490118 Meta3dEngineWholeProtocol.cmi 5f7f0af9dc9a4eae +18 27 1709091447026980519 src/service/ServiceType.d c1e4bb8db3eac460 +27 55 1709091447054650118 src/service/ServiceType-Meta3dEngineWholeProtocol.cmj a7738ded62f39012 +27 55 1709091447054650118 src/service/ServiceType-Meta3dEngineWholeProtocol.cmi a7738ded62f39012 +27 55 1709091447054650118 ../es6_global/src/service/ServiceType.bs.js a7738ded62f39012 +27 55 1709091447054650118 ../js/src/service/ServiceType.bs.js a7738ded62f39012 diff --git a/packages/event/extensions/meta3d-event-data/dist/static/js/main.js b/packages/event/extensions/meta3d-event-data/dist/static/js/main.js index d44b43ea2..794814aef 100644 --- a/packages/event/extensions/meta3d-event-data/dist/static/js/main.js +++ b/packages/event/extensions/meta3d-event-data/dist/static/js/main.js @@ -1,488 +1 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js": -/*!********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js ***! - \********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_obj = __webpack_require__(/*! rescript/lib/js/caml_obj.js */ \"../../../../node_modules/rescript/lib/js/caml_obj.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../node_modules/rescript/lib/js/belt_List.js\");\nvar Js_option = __webpack_require__(/*! rescript/lib/js/js_option.js */ \"../../../../node_modules/rescript/lib/js/js_option.js\");\n\nfunction _assert(result, message) {\n return result;\n}\n\nfunction test(message, func) {\n if (Curry._1(func, undefined)) {\n return ;\n } else {\n return Js_exn.raiseError(message);\n }\n}\n\nfunction requireCheck(f, isTest) {\n if (isTest) {\n return Curry._1(f, undefined);\n }\n \n}\n\nfunction ensureCheck(returnVal, f, isTest) {\n if (isTest) {\n Curry._1(f, returnVal);\n return returnVal;\n } else {\n return returnVal;\n }\n}\n\nfunction assertPass(param) {\n return true;\n}\n\nfunction assertTrue(source) {\n return source === true;\n}\n\nfunction assertFalse(source) {\n return source === false;\n}\n\nfunction assertJsTrue(source) {\n return source === true;\n}\n\nfunction assertJsFalse(source) {\n return source === false;\n}\n\nfunction assertIsBool(source) {\n if (source === true) {\n return true;\n } else {\n return source === false;\n }\n}\n\nvar _isNullableExist = (function(source) {\n return source !== undefined && source !== null;\n});\n\nvar assertNullableExist = _isNullableExist;\n\nfunction _isNullableListExist(sourceList) {\n return Js_option.isNone(Belt_List.getBy(sourceList, (function (source) {\n return source == null;\n })));\n}\n\nvar assertNullableListExist = _isNullableListExist;\n\nvar assertExist = Js_option.isSome;\n\nvar assertNotExist = Js_option.isNone;\n\nfunction _getEqualMessage(source, target) {\n return \"\\\"expect to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertEqual(kind, source, target) {\n _getEqualMessage(source, target);\n return Caml_obj.equal(source, target);\n}\n\nfunction _getNotEqualMessage(source, target) {\n return \"\\\"expect not to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertNotEqual(kind, source, target) {\n _getNotEqualMessage(source, target);\n return Caml_obj.notequal(source, target);\n}\n\nfunction assertGt(kind, source, target) {\n return Caml_obj.greaterthan(source, target);\n}\n\nfunction assertGte(kind, source, target) {\n return Caml_obj.greaterequal(source, target);\n}\n\nfunction assertLt(kind, source, target) {\n return Caml_obj.lessthan(source, target);\n}\n\nfunction assertLte(kind, source, target) {\n return Caml_obj.lessequal(source, target);\n}\n\nfunction $eq(a, b) {\n return assertEqual(/* Int */0, a, b);\n}\n\nfunction $eq$eq$dot(a, b) {\n return assertEqual(/* Float */1, a, b);\n}\n\nfunction $eq$eq$caret(a, b) {\n return assertEqual(/* String */2, a, b);\n}\n\nfunction $less$great$eq(a, b) {\n return assertNotEqual(/* Int */0, a, b);\n}\n\nfunction $less$great$eq$dot(a, b) {\n return assertNotEqual(/* Float */1, a, b);\n}\n\nvar $great = Caml_obj.greaterthan;\n\nvar $great$dot = Caml_obj.greaterthan;\n\nvar $great$eq = Caml_obj.greaterequal;\n\nvar $great$eq$dot = Caml_obj.greaterequal;\n\nvar $less = Caml_obj.lessthan;\n\nvar $less$dot = Caml_obj.lessthan;\n\nvar $less$eq = Caml_obj.lessequal;\n\nvar $less$eq$dot = Caml_obj.lessequal;\n\nvar Operators = {\n $eq: $eq,\n $eq$eq$dot: $eq$eq$dot,\n $eq$eq$caret: $eq$eq$caret,\n $less$great$eq: $less$great$eq,\n $less$great$eq$dot: $less$great$eq$dot,\n $great: $great,\n $great$dot: $great$dot,\n $great$eq: $great$eq,\n $great$eq$dot: $great$eq$dot,\n $less: $less,\n $less$dot: $less$dot,\n $less$eq: $less$eq,\n $less$eq$dot: $less$eq$dot\n};\n\nexports._assert = _assert;\nexports.test = test;\nexports.requireCheck = requireCheck;\nexports.ensureCheck = ensureCheck;\nexports.assertPass = assertPass;\nexports.assertTrue = assertTrue;\nexports.assertFalse = assertFalse;\nexports.assertJsTrue = assertJsTrue;\nexports.assertJsFalse = assertJsFalse;\nexports.assertIsBool = assertIsBool;\nexports._isNullableExist = _isNullableExist;\nexports.assertNullableExist = assertNullableExist;\nexports._isNullableListExist = _isNullableListExist;\nexports.assertNullableListExist = assertNullableListExist;\nexports.assertExist = assertExist;\nexports.assertNotExist = assertNotExist;\nexports._getEqualMessage = _getEqualMessage;\nexports.assertEqual = assertEqual;\nexports._getNotEqualMessage = _getNotEqualMessage;\nexports.assertNotEqual = assertNotEqual;\nexports.assertGt = assertGt;\nexports.assertGte = assertGte;\nexports.assertLt = assertLt;\nexports.assertLte = assertLte;\nexports.Operators = Operators;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js": -/*!**********************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../node_modules/rescript/lib/js/belt_List.js\");\n\nfunction printForDebug(value) {\n console.log(JSON.stringify(value));\n return value;\n}\n\nfunction printStringForDebug(value) {\n console.log(value);\n return value;\n}\n\nfunction printListForDebug(list) {\n console.log(Belt_List.toArray(list));\n return list;\n}\n\nfunction logForDebug(value) {\n console.log(value);\n console.trace();\n}\n\nfunction log(value) {\n console.log(JSON.stringify(value));\n}\n\nfunction debugWithFunc(func, isTest) {\n if (isTest) {\n return Curry._1(func, undefined);\n }\n \n}\n\nfunction _debug(msg) {\n console.debug(msg);\n}\n\nfunction debug(buildMessageFunc, isTest) {\n if (!isTest) {\n return ;\n }\n var msg = Curry._1(buildMessageFunc, undefined);\n console.debug(msg);\n console.trace();\n}\n\nfunction getJsonStr(json) {\n return JSON.stringify(json);\n}\n\nfunction buildDebugMessage(description, params, param) {\n return \"\\n Debug:\\n\\n description\\n \" + description + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildDebugJsonMessage(description, $$var, param) {\n var varStr = JSON.stringify($$var);\n return \"\\n DebugJson:\\n\\n description\\n \" + description + \"\\n\\n variable value\\n \" + varStr + \"\\n \";\n}\n\nfunction buildFatalMessage(title, description, reason, solution, params) {\n return \"\\n Fatal:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildErrorMessage(title, description, reason, solution, params) {\n return \"\\n Error:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildAssertMessage(expect, actual) {\n return \"expect \" + expect + \", but actual \" + actual;\n}\n\nexports.printForDebug = printForDebug;\nexports.printStringForDebug = printStringForDebug;\nexports.printListForDebug = printListForDebug;\nexports.logForDebug = logForDebug;\nexports.log = log;\nexports.debugWithFunc = debugWithFunc;\nexports._debug = _debug;\nexports.debug = debug;\nexports.getJsonStr = getJsonStr;\nexports.buildDebugMessage = buildDebugMessage;\nexports.buildDebugJsonMessage = buildDebugJsonMessage;\nexports.buildFatalMessage = buildFatalMessage;\nexports.buildErrorMessage = buildErrorMessage;\nexports.buildAssertMessage = buildAssertMessage;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js": -/*!********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js ***! - \********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_array = __webpack_require__(/*! rescript/lib/js/caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Log$Meta3dCommonlib = __webpack_require__(/*! ../log/Log.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\nvar Contract$Meta3dCommonlib = __webpack_require__(/*! ../contract/Contract.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar PromiseSt$Meta3dCommonlib = __webpack_require__(/*! ./PromiseSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! ./hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\n\nvar _getExn = ((nullableData) => { if (nullableData !== undefined) { return nullableData; } throw new Error(\"Not_found\") });\n\nfunction getExn(arr, index) {\n return _getExn(arr[index]);\n}\n\nfunction length(prim) {\n return prim.length;\n}\n\nfunction find(arr, func) {\n return Js_array.find(func, arr);\n}\n\nfunction includes(arr, value) {\n return Js_array.includes(value, arr);\n}\n\nfunction includesByFunc(arr, func) {\n return OptionSt$Meta3dCommonlib.isSome(Js_array.find(func, arr));\n}\n\nfunction sliceFrom(arr, index) {\n return Js_array.sliceFrom(index, arr);\n}\n\nfunction slice(arr, start, end_) {\n return Js_array.slice(start, end_, arr);\n}\n\nfunction copy(prim) {\n return prim.slice();\n}\n\nfunction reduceOneParam(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction reduceOneParami(arr, func, param) {\n var mutableParam = param;\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n mutableParam = func(mutableParam, arr[i], i);\n }\n return mutableParam;\n}\n\nfunction traverseResultM(arr, func) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed([]);\n } else {\n return Result$Meta3dCommonlib.bind(Curry._1(func, _getExn(arr[0])), (function (h) {\n return Result$Meta3dCommonlib.bind(traverseResultM(Js_array.sliceFrom(1, arr), func), (function (t) {\n return Result$Meta3dCommonlib.succeed(Js_array.concat(t, [h]));\n }));\n }));\n }\n}\n\nfunction _id(value) {\n return value;\n}\n\nfunction sequenceResultM(arr) {\n return traverseResultM(arr, _id);\n}\n\nfunction traverseReducePromiseM(arr, func, param) {\n if (arr.length === 0) {\n return Promise.resolve(param);\n } else {\n return PromiseSt$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReducePromiseM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction traverseReduceResultM(arr, func, param) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed(param);\n } else {\n return Result$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReduceResultM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction unsafeGetFirst(arr) {\n return arr[0];\n}\n\nfunction getFirst(arr) {\n if (arr.length >= 1) {\n return Caml_option.some(Caml_array.get(arr, 0));\n }\n \n}\n\nfunction push(arr, value) {\n Js_array.push(value, arr);\n return arr;\n}\n\nfunction forEach(arr, func) {\n Js_array.forEach(func, arr);\n}\n\nfunction map(arr, func) {\n return Js_array.map(func, arr);\n}\n\nfunction mapi(arr, func) {\n return Js_array.mapi(func, arr);\n}\n\nfunction filter(arr, func) {\n return Js_array.filter(func, arr);\n}\n\nfunction reverse(arr) {\n return arr.slice().reverse();\n}\n\nfunction deleteBySwap(arr, isDebug, index, lastIndex) {\n Contract$Meta3dCommonlib.requireCheck((function (param) {\n var len = arr.length;\n Contract$Meta3dCommonlib.test(Log$Meta3dCommonlib.buildAssertMessage(\"lastIndex:\" + lastIndex + \" === arr.length:\" + len, \"not\"), (function (param) {\n return Contract$Meta3dCommonlib.assertEqual(/* Int */0, arr.length - 1 | 0, lastIndex);\n }));\n }), isDebug);\n arr[index] = arr[lastIndex];\n arr.pop();\n}\n\nfunction range(a, b) {\n var result = [];\n for(var i = a; i <= b; ++i){\n Js_array.push(i, result);\n }\n return result;\n}\n\nfunction removeDuplicateItems(arr) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = item.toString();\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction removeDuplicateItemsWithBuildKeyFunc(arr, buildKeyFunc) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = buildKeyFunc(item);\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction chunk(arr, size) {\n var match = Belt_Array.reduceU(arr, [\n [],\n []\n ], (function (param, value) {\n var group = param[1];\n var result = param[0];\n if (group.length < size) {\n return [\n result,\n push(group, value)\n ];\n } else {\n return [\n push(result, group),\n [value]\n ];\n }\n }));\n var group = match[1];\n var result = match[0];\n if (group.length > 0) {\n return push(result, group);\n } else {\n return result;\n }\n}\n\nfunction sort(arr, func) {\n return Js_array.sortInPlaceWith(func, arr);\n}\n\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.length = length;\nexports.find = find;\nexports.includes = includes;\nexports.includesByFunc = includesByFunc;\nexports.sliceFrom = sliceFrom;\nexports.slice = slice;\nexports.copy = copy;\nexports.reduceOneParam = reduceOneParam;\nexports.reduceOneParami = reduceOneParami;\nexports.traverseResultM = traverseResultM;\nexports._id = _id;\nexports.sequenceResultM = sequenceResultM;\nexports.traverseReducePromiseM = traverseReducePromiseM;\nexports.traverseReduceResultM = traverseReduceResultM;\nexports.unsafeGetFirst = unsafeGetFirst;\nexports.getFirst = getFirst;\nexports.push = push;\nexports.forEach = forEach;\nexports.map = map;\nexports.mapi = mapi;\nexports.filter = filter;\nexports.reverse = reverse;\nexports.deleteBySwap = deleteBySwap;\nexports.range = range;\nexports.removeDuplicateItems = removeDuplicateItems;\nexports.removeDuplicateItemsWithBuildKeyFunc = removeDuplicateItemsWithBuildKeyFunc;\nexports.chunk = chunk;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar throwErr = ((err) => {\n throw err;\n});\n\nvar buildErr = ((message) => {\nreturn new Error(message);\n});\n\nexports.throwErr = throwErr;\nexports.buildErr = buildErr;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js": -/*!***********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction getExn(data) {\n return OptionSt$Meta3dCommonlib.getExn(OptionSt$Meta3dCommonlib.fromNullable(data));\n}\n\nfunction $$return(data) {\n return data;\n}\n\nfunction getWithDefault(nullableData, $$default) {\n return OptionSt$Meta3dCommonlib.getWithDefault(OptionSt$Meta3dCommonlib.fromNullable(nullableData), $$default);\n}\n\nfunction bind(nullableData, func) {\n return OptionSt$Meta3dCommonlib.toNullable(OptionSt$Meta3dCommonlib.bind(OptionSt$Meta3dCommonlib.fromNullable(nullableData), (function (val) {\n return OptionSt$Meta3dCommonlib.fromNullable(func(val));\n })));\n}\n\nfunction isNullable(prim) {\n return prim == null;\n}\n\nfunction getEmpty(param) {\n \n}\n\nvar map = Js_null_undefined.bind;\n\nexports.getExn = getExn;\nexports.$$return = $$return;\nexports.getWithDefault = getWithDefault;\nexports.map = map;\nexports.bind = bind;\nexports.isNullable = isNullable;\nexports.getEmpty = getEmpty;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js": -/*!*********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js ***! - \*********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Option = __webpack_require__(/*! rescript/lib/js/belt_Option.js */ \"../../../../node_modules/rescript/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\n\nfunction unsafeGet(prim) {\n return prim;\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nvar getExn = _getExn;\n\nfunction buildFailResult(param) {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n}\n\nfunction get(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.succeed(Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n }\n}\n\nfunction fromNullable(optionData) {\n if (optionData == null) {\n return ;\n } else {\n return Caml_option.some(optionData);\n }\n}\n\nvar toNullable = Js_null_undefined.from_opt;\n\nfunction toStrictNullable(optionData) {\n if (optionData !== undefined) {\n return Caml_option.valFromOption(optionData);\n } else {\n return null;\n }\n}\n\nfunction forEachResult(optionData, func) {\n if (optionData !== undefined) {\n return Curry._1(func, Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction sequenceResultM(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.mapSuccess(optionData, (function (value) {\n return Caml_option.some(value);\n }));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction open_(optionOptionData) {\n if (optionOptionData !== undefined) {\n return Caml_option.valFromOption(optionOptionData);\n }\n \n}\n\nvar getWithDefault = Belt_Option.getWithDefault;\n\nvar isSome = Belt_Option.isSome;\n\nvar map = Belt_Option.map;\n\nvar bind = Belt_Option.flatMap;\n\nexports.unsafeGet = unsafeGet;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.buildFailResult = buildFailResult;\nexports.get = get;\nexports.getWithDefault = getWithDefault;\nexports.isSome = isSome;\nexports.map = map;\nexports.bind = bind;\nexports.fromNullable = fromNullable;\nexports.toNullable = toNullable;\nexports.toStrictNullable = toStrictNullable;\nexports.forEachResult = forEachResult;\nexports.sequenceResultM = sequenceResultM;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_promise = __webpack_require__(/*! rescript/lib/js/js_promise.js */ \"../../../../node_modules/rescript/lib/js/js_promise.js\");\n\nfunction bind(p, func) {\n return Js_promise.then_(func, p);\n}\n\nfunction map(p, func) {\n return Js_promise.then_((function (v) {\n return Promise.resolve(Curry._1(func, v));\n }), p);\n}\n\nexports.bind = bind;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js": -/*!*******************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js ***! - \*******************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_js_exceptions = __webpack_require__(/*! rescript/lib/js/caml_js_exceptions.js */ \"../../../../node_modules/rescript/lib/js/caml_js_exceptions.js\");\nvar Exception$Meta3dCommonlib = __webpack_require__(/*! ./Exception.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js\");\n\nfunction succeed(x) {\n return {\n TAG: /* Ok */0,\n _0: x\n };\n}\n\nfunction fail(x) {\n return {\n TAG: /* Error */1,\n _0: x\n };\n}\n\nvar _buildErr = Exception$Meta3dCommonlib.buildErr;\n\nfunction failWith(x) {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(x)\n };\n}\n\nfunction isSuccess(result) {\n if (result.TAG === /* Ok */0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction either(result, successFunc, failureFunc) {\n if (result.TAG === /* Ok */0) {\n return Curry._1(successFunc, result._0);\n } else {\n return Curry._1(failureFunc, result._0);\n }\n}\n\nfunction bind(result, switchFunc) {\n return either(result, switchFunc, fail);\n}\n\nfunction tap(result, oneTrackFunc) {\n return either(result, (function (result) {\n Curry._1(oneTrackFunc, result);\n return {\n TAG: /* Ok */0,\n _0: result\n };\n }), fail);\n}\n\nfunction tryCatch(oneTrackFunc) {\n try {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(oneTrackFunc, undefined)\n };\n }\n catch (raw_e){\n var e = Caml_js_exceptions.internalToOCamlException(raw_e);\n if (e.RE_EXN_ID === Js_exn.$$Error) {\n return {\n TAG: /* Error */1,\n _0: e._1\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(\"unknown error: \" + e)\n };\n }\n }\n}\n\nfunction mapSuccess(result, mapFunc) {\n if (result.TAG === /* Ok */0) {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(mapFunc, result._0)\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: result._0\n };\n }\n}\n\nfunction handleFail(result, handleFailFunc) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return Curry._1(handleFailFunc, result._0);\n }\n}\n\nfunction getExn(result) {\n return handleFail(result, Exception$Meta3dCommonlib.throwErr);\n}\n\nfunction toNullable(result) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return null;\n }\n}\n\nfunction open_(resultResultData) {\n if (resultResultData.TAG === /* Ok */0) {\n return resultResultData._0;\n } else {\n return {\n TAG: /* Error */1,\n _0: resultResultData._0\n };\n }\n}\n\nexports.succeed = succeed;\nexports.fail = fail;\nexports._buildErr = _buildErr;\nexports.failWith = failWith;\nexports.isSuccess = isSuccess;\nexports.either = either;\nexports.bind = bind;\nexports.tap = tap;\nexports.tryCatch = tryCatch;\nexports.mapSuccess = mapSuccess;\nexports.handleFail = handleFail;\nexports.getExn = getExn;\nexports.toNullable = toNullable;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js": -/*!*****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js ***! - \*****************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_dict = __webpack_require__(/*! rescript/lib/js/js_dict.js */ \"../../../../node_modules/rescript/lib/js/js_dict.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar NullUtils$Meta3dCommonlib = __webpack_require__(/*! ../utils/NullUtils.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js\");\n\nfunction createEmpty(hintSizeOpt, param) {\n return {};\n}\n\nfunction unsafeGet(map, key) {\n return map[key];\n}\n\nfunction get(map, key) {\n var value = map[key];\n if (NullUtils$Meta3dCommonlib.isEmpty(value)) {\n return ;\n } else {\n return Caml_option.some(value);\n }\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nfunction getExn(map, key) {\n return _getExn(map[key]);\n}\n\nfunction getNullable(map, key) {\n return Js_null_undefined.fromOption(get(map, key));\n}\n\nfunction has(map, key) {\n return !NullUtils$Meta3dCommonlib.isEmpty(map[key]);\n}\n\nvar entries = Js_dict.entries;\n\nfunction _mutableSet(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction _createEmpty(param) {\n return {};\n}\n\nfunction _reduceArray(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction copy(map) {\n return Belt_Array.reduceU(Js_dict.entries(map), {}, (function (newMap, param) {\n return _mutableSet(newMap, param[0], param[1]);\n }));\n}\n\nfunction getValidValues(map) {\n var __x = Js_dict.values(map);\n return Js_array.filter(NullUtils$Meta3dCommonlib.isInMap, __x);\n}\n\nfunction map(map$1, func) {\n return Js_dict.map(func, map$1);\n}\n\nfunction merge(sourceMap, targetMap) {\n return Belt_Array.reduceU(Js_dict.entries(sourceMap), targetMap, (function (targetMap, param) {\n return _mutableSet(targetMap, param[0], param[1]);\n }));\n}\n\nexports.createEmpty = createEmpty;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.entries = entries;\nexports._mutableSet = _mutableSet;\nexports._createEmpty = _createEmpty;\nexports._reduceArray = _reduceArray;\nexports.copy = copy;\nexports.getValidValues = getValidValues;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar HashMap$Meta3dCommonlib = __webpack_require__(/*! ./HashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js\");\n\nfunction set(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction deleteVal(map, key) {\n map[key] = undefined;\n return map;\n}\n\nvar createEmpty = HashMap$Meta3dCommonlib.createEmpty;\n\nvar unsafeGet = HashMap$Meta3dCommonlib.unsafeGet;\n\nvar get = HashMap$Meta3dCommonlib.get;\n\nvar getExn = HashMap$Meta3dCommonlib.getExn;\n\nvar getNullable = HashMap$Meta3dCommonlib.getNullable;\n\nvar has = HashMap$Meta3dCommonlib.has;\n\nvar getValidValues = HashMap$Meta3dCommonlib.getValidValues;\n\nvar copy = HashMap$Meta3dCommonlib.copy;\n\nvar entries = HashMap$Meta3dCommonlib.entries;\n\nvar map = HashMap$Meta3dCommonlib.map;\n\nvar merge = HashMap$Meta3dCommonlib.merge;\n\nexports.createEmpty = createEmpty;\nexports.set = set;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.deleteVal = deleteVal;\nexports.getValidValues = getValidValues;\nexports.copy = copy;\nexports.entries = entries;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js": -/*!*************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ../Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ../OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction create(x, y) {\n return [\n x,\n y\n ];\n}\n\nfunction collectOption(optionData1, optionData2) {\n if (optionData1 !== undefined && optionData2 !== undefined) {\n return Result$Meta3dCommonlib.succeed([\n Caml_option.valFromOption(optionData1),\n Caml_option.valFromOption(optionData2)\n ]);\n } else {\n return OptionSt$Meta3dCommonlib.buildFailResult(undefined);\n }\n}\n\nfunction collectResult(resultData1, resultData2) {\n return Result$Meta3dCommonlib.bind(resultData1, (function (data1) {\n return Result$Meta3dCommonlib.mapSuccess(resultData2, (function (data2) {\n return [\n data1,\n data2\n ];\n }));\n }));\n}\n\nfunction getFirst(param) {\n return param[0];\n}\n\nfunction getLast(param) {\n return param[1];\n}\n\nexports.create = create;\nexports.collectOption = collectOption;\nexports.collectResult = collectResult;\nexports.getFirst = getFirst;\nexports.getLast = getLast;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nfunction isEmpty(value) {\n if (value === null) {\n return true;\n } else {\n return value === undefined;\n }\n}\n\nfunction isNotInMap(value) {\n return value === undefined;\n}\n\nfunction isInMap(value) {\n return value !== undefined;\n}\n\nexports.isUndefined = isUndefined;\nexports.isEmpty = isEmpty;\nexports.isNotInMap = isNotInMap;\nexports.isInMap = isInMap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d/lib/js/src/file/BinaryFileOperator.bs.js": -/*!****************************************************************************!*\ - !*** ../../../../defaults/meta3d/lib/js/src/file/BinaryFileOperator.bs.js ***! - \****************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_typed_array = __webpack_require__(/*! rescript/lib/js/js_typed_array.js */ \"../../../../node_modules/rescript/lib/js/js_typed_array.js\");\nvar BufferUtils$Meta3d = __webpack_require__(/*! ./BufferUtils.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/BufferUtils.bs.js\");\nvar TextEncoder$Meta3d = __webpack_require__(/*! ./TextEncoder.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/TextEncoder.bs.js\");\nvar DataViewCommon$Meta3d = __webpack_require__(/*! ./DataViewCommon.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/DataViewCommon.bs.js\");\nvar TypeArrayUtils$Meta3d = __webpack_require__(/*! ./TypeArrayUtils.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/TypeArrayUtils.bs.js\");\nvar Tuple2$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\n\nfunction _buildEmptyEncodedUint8Data(param) {\n var encoder = new TextEncoder();\n var emptyUint8DataArr = TextEncoder$Meta3d.encodeUint8Array(\" \", encoder);\n return TypeArrayUtils$Meta3d.getUint8_1(0, emptyUint8DataArr);\n}\n\nfunction _writeHeader(dataLength, byteLengthArr, dataView) {\n var byteOffset = DataViewCommon$Meta3d.writeUint32_1(0, dataLength, dataView);\n return ArraySt$Meta3dCommonlib.reduceOneParam(byteLengthArr, (function (byteOffset, byteLength) {\n return DataViewCommon$Meta3d.writeUint32_1(byteOffset, byteLength, dataView);\n }), byteOffset);\n}\n\nfunction _writeDataArr(byteOffset, dataArr, alignedByteLengthArr, emptyEncodedUint8Data, dataView) {\n return ArraySt$Meta3dCommonlib.reduceOneParami(dataArr, (function (byteOffset, data, index) {\n return BufferUtils$Meta3d.copyUint8ArrayToArrayBuffer(byteOffset, [\n emptyEncodedUint8Data,\n ArraySt$Meta3dCommonlib.getExn(alignedByteLengthArr, index),\n data\n ], dataView);\n }), byteOffset);\n}\n\nfunction _getDataLengthByteLengthInHeader(param) {\n return 4;\n}\n\nfunction _getDataByteOffsetInHeader(dataIndex) {\n return 4 + (dataIndex << 2) | 0;\n}\n\nfunction _getHeaderByteLength(dataLength) {\n return 4 + (dataLength << 2) | 0;\n}\n\nfunction generate(dataArr) {\n var dataLength = ArraySt$Meta3dCommonlib.length(dataArr);\n var match = ArraySt$Meta3dCommonlib.reduceOneParam(dataArr, (function (param, data) {\n var byteLength = data.byteLength;\n var alignedByteLength = BufferUtils$Meta3d.alignedLength(byteLength);\n return [\n param[0] + alignedByteLength | 0,\n ArraySt$Meta3dCommonlib.push(param[1], byteLength),\n ArraySt$Meta3dCommonlib.push(param[2], alignedByteLength)\n ];\n }), [\n _getHeaderByteLength(dataLength),\n [],\n []\n ]);\n var binaryFile = new ArrayBuffer(match[0]);\n var dataView = DataViewCommon$Meta3d.create(binaryFile);\n _writeDataArr(_writeHeader(dataLength, match[1], dataView), dataArr, match[2], _buildEmptyEncodedUint8Data(undefined), dataView);\n return binaryFile;\n}\n\nfunction load(binaryFile) {\n var dataView = DataViewCommon$Meta3d.create(binaryFile);\n var match = DataViewCommon$Meta3d.getUint32_1(0, dataView);\n var dataLength = match[0];\n return Tuple2$Meta3dCommonlib.getLast(ArraySt$Meta3dCommonlib.reduceOneParam(ArraySt$Meta3dCommonlib.range(0, dataLength - 1 | 0), (function (param, dataIndex) {\n var byteOffset = param[0];\n var match = DataViewCommon$Meta3d.getUint32_1(_getDataByteOffsetInHeader(dataIndex), dataView);\n var byteLength = match[0];\n return [\n byteOffset + BufferUtils$Meta3d.alignedLength(byteLength) | 0,\n ArraySt$Meta3dCommonlib.push(param[1], new Uint8Array(Js_typed_array.$$ArrayBuffer.slice(_getHeaderByteLength(dataLength) + byteOffset | 0, (_getHeaderByteLength(dataLength) + byteOffset | 0) + byteLength | 0, binaryFile)))\n ];\n }), [\n 0,\n []\n ]));\n}\n\nexports._buildEmptyEncodedUint8Data = _buildEmptyEncodedUint8Data;\nexports._writeHeader = _writeHeader;\nexports._writeDataArr = _writeDataArr;\nexports._getDataLengthByteLengthInHeader = _getDataLengthByteLengthInHeader;\nexports._getDataByteOffsetInHeader = _getDataByteOffsetInHeader;\nexports._getHeaderByteLength = _getHeaderByteLength;\nexports.generate = generate;\nexports.load = load;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d/lib/js/src/file/BinaryFileOperator.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d/lib/js/src/file/BufferUtils.bs.js": -/*!*********************************************************************!*\ - !*** ../../../../defaults/meta3d/lib/js/src/file/BufferUtils.bs.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar DataViewCommon$Meta3d = __webpack_require__(/*! ./DataViewCommon.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/DataViewCommon.bs.js\");\nvar TypeArrayUtils$Meta3d = __webpack_require__(/*! ./TypeArrayUtils.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/TypeArrayUtils.bs.js\");\n\nfunction alignedLength(value) {\n if (value === 0) {\n return value;\n }\n var multiple = value % 4;\n if (multiple !== 0) {\n return value + (4 - multiple | 0) | 0;\n } else {\n return value;\n }\n}\n\nfunction copyUint8ArrayToArrayBuffer(byteOffset, param, dataView) {\n var uint8Array = param[2];\n var uint8ArrayAlignedByteLength = param[1];\n var emptyUint8Data = param[0];\n var resultByteOffset = byteOffset + uint8ArrayAlignedByteLength | 0;\n var byteOffset$1 = byteOffset;\n var uint8ArrayByteLength = uint8Array.length;\n for(var i = 0; i < uint8ArrayAlignedByteLength; ++i){\n var value = i >= uint8ArrayByteLength ? emptyUint8Data : TypeArrayUtils$Meta3d.getUint8_1(i, uint8Array);\n byteOffset$1 = DataViewCommon$Meta3d.writeUint8_1(byteOffset$1, value, dataView);\n }\n return resultByteOffset;\n}\n\nexports.alignedLength = alignedLength;\nexports.copyUint8ArrayToArrayBuffer = copyUint8ArrayToArrayBuffer;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d/lib/js/src/file/BufferUtils.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d/lib/js/src/file/DataViewCommon.bs.js": -/*!************************************************************************!*\ - !*** ../../../../defaults/meta3d/lib/js/src/file/DataViewCommon.bs.js ***! - \************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction create(arrayBuffer) {\n return new DataView(arrayBuffer);\n}\n\nfunction getFloat(offset, dataView) {\n return [\n dataView.getFloat32(offset, 1),\n offset + 4 | 0\n ];\n}\n\nfunction getUint16_1(offset, dataView) {\n return [\n dataView.getUint16(offset, 1),\n offset + 2 | 0\n ];\n}\n\nfunction getUint32_1(offset, dataView) {\n return [\n dataView.getUint32(offset, 1),\n offset + 4 | 0\n ];\n}\n\nfunction getUint8_1(offset, dataView) {\n return [\n dataView.getUint8(offset),\n offset + 1 | 0\n ];\n}\n\nfunction writeUint8_1(offset, value, dataView) {\n dataView.setUint8(offset, value);\n return offset + 1 | 0;\n}\n\nfunction writeUint16_1(offset, value, dataView) {\n dataView.setUint16(offset, value, 1);\n return offset + 2 | 0;\n}\n\nfunction writeUint32_1(offset, value, dataView) {\n dataView.setUint32(offset, value, 1);\n return offset + 4 | 0;\n}\n\nexports.create = create;\nexports.getFloat = getFloat;\nexports.getUint16_1 = getUint16_1;\nexports.getUint32_1 = getUint32_1;\nexports.getUint8_1 = getUint8_1;\nexports.writeUint8_1 = writeUint8_1;\nexports.writeUint16_1 = writeUint16_1;\nexports.writeUint32_1 = writeUint32_1;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d/lib/js/src/file/DataViewCommon.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d/lib/js/src/file/TextDecoder.bs.js": -/*!*********************************************************************!*\ - !*** ../../../../defaults/meta3d/lib/js/src/file/TextDecoder.bs.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction decodeUint8Array(arg1, obj) {\n return obj.decode(arg1);\n}\n\nfunction decodeArrayBuffer(arg1, obj) {\n return obj.decode(arg1);\n}\n\nexports.decodeUint8Array = decodeUint8Array;\nexports.decodeArrayBuffer = decodeArrayBuffer;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d/lib/js/src/file/TextDecoder.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d/lib/js/src/file/TextEncoder.bs.js": -/*!*********************************************************************!*\ - !*** ../../../../defaults/meta3d/lib/js/src/file/TextEncoder.bs.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction encodeUint8Array(arg1, obj) {\n return obj.encode(arg1);\n}\n\nexports.encodeUint8Array = encodeUint8Array;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d/lib/js/src/file/TextEncoder.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d/lib/js/src/file/TypeArrayUtils.bs.js": -/*!************************************************************************!*\ - !*** ../../../../defaults/meta3d/lib/js/src/file/TypeArrayUtils.bs.js ***! - \************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction getUint8_1(index, typeArray) {\n return typeArray[index];\n}\n\nexports.getUint8_1 = getUint8_1;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d/lib/js/src/file/TypeArrayUtils.bs.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_Array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_Array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../node_modules/rescript/lib/js/caml.js\");\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_math = __webpack_require__(/*! ./js_math.js */ \"../../../../node_modules/rescript/lib/js/js_math.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(arr, i) {\n if (i >= 0 && i < arr.length) {\n return Caml_option.some(arr[i]);\n }\n \n}\n\nfunction getExn(arr, i) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 35,\n 2\n ],\n Error: new Error()\n };\n }\n return arr[i];\n}\n\nfunction set(arr, i, v) {\n if (i >= 0 && i < arr.length) {\n arr[i] = v;\n return true;\n } else {\n return false;\n }\n}\n\nfunction setExn(arr, i, v) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 45,\n 2\n ],\n Error: new Error()\n };\n }\n arr[i] = v;\n}\n\nfunction swapUnsafe(xs, i, j) {\n var tmp = xs[i];\n xs[i] = xs[j];\n xs[j] = tmp;\n}\n\nfunction shuffleInPlace(xs) {\n var len = xs.length;\n for(var i = 0; i < len; ++i){\n swapUnsafe(xs, i, Js_math.random_int(i, len));\n }\n}\n\nfunction shuffle(xs) {\n var result = xs.slice(0);\n shuffleInPlace(result);\n return result;\n}\n\nfunction reverseInPlace(xs) {\n var len = xs.length;\n var ofs = 0;\n for(var i = 0 ,i_finish = len / 2 | 0; i < i_finish; ++i){\n swapUnsafe(xs, ofs + i | 0, ((ofs + len | 0) - i | 0) - 1 | 0);\n }\n}\n\nfunction reverse(xs) {\n var len = xs.length;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = xs[(len - 1 | 0) - i | 0];\n }\n return result;\n}\n\nfunction make(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f;\n }\n return res;\n}\n\nfunction makeByU(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f(i);\n }\n return res;\n}\n\nfunction makeBy(l, f) {\n return makeByU(l, Curry.__1(f));\n}\n\nfunction makeByAndShuffleU(l, f) {\n var u = makeByU(l, f);\n shuffleInPlace(u);\n return u;\n}\n\nfunction makeByAndShuffle(l, f) {\n return makeByAndShuffleU(l, Curry.__1(f));\n}\n\nfunction range(start, finish) {\n var cut = finish - start | 0;\n if (cut < 0) {\n return [];\n }\n var arr = new Array(cut + 1 | 0);\n for(var i = 0; i <= cut; ++i){\n arr[i] = start + i | 0;\n }\n return arr;\n}\n\nfunction rangeBy(start, finish, step) {\n var cut = finish - start | 0;\n if (cut < 0 || step <= 0) {\n return [];\n }\n var nb = (cut / step | 0) + 1 | 0;\n var arr = new Array(nb);\n var cur = start;\n for(var i = 0; i < nb; ++i){\n arr[i] = cur;\n cur = cur + step | 0;\n }\n return arr;\n}\n\nfunction zip(xs, ys) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = [\n xs[i],\n ys[i]\n ];\n }\n return s;\n}\n\nfunction zipByU(xs, ys, f) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = f(xs[i], ys[i]);\n }\n return s;\n}\n\nfunction zipBy(xs, ys, f) {\n return zipByU(xs, ys, Curry.__2(f));\n}\n\nfunction concat(a1, a2) {\n var l1 = a1.length;\n var l2 = a2.length;\n var a1a2 = new Array(l1 + l2 | 0);\n for(var i = 0; i < l1; ++i){\n a1a2[i] = a1[i];\n }\n for(var i$1 = 0; i$1 < l2; ++i$1){\n a1a2[l1 + i$1 | 0] = a2[i$1];\n }\n return a1a2;\n}\n\nfunction concatMany(arrs) {\n var lenArrs = arrs.length;\n var totalLen = 0;\n for(var i = 0; i < lenArrs; ++i){\n totalLen = totalLen + arrs[i].length | 0;\n }\n var result = new Array(totalLen);\n totalLen = 0;\n for(var j = 0; j < lenArrs; ++j){\n var cur = arrs[j];\n for(var k = 0 ,k_finish = cur.length; k < k_finish; ++k){\n result[totalLen] = cur[k];\n totalLen = totalLen + 1 | 0;\n }\n }\n return result;\n}\n\nfunction slice(a, offset, len) {\n if (len <= 0) {\n return [];\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var copyLength = hasLen < len ? hasLen : len;\n if (copyLength <= 0) {\n return [];\n }\n var result = new Array(copyLength);\n for(var i = 0; i < copyLength; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction sliceToEnd(a, offset) {\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var len = lena > ofs ? lena - ofs | 0 : 0;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction fill(a, offset, len, v) {\n if (len <= 0) {\n return ;\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var fillLength = hasLen < len ? hasLen : len;\n if (fillLength <= 0) {\n return ;\n }\n for(var i = ofs ,i_finish = ofs + fillLength | 0; i < i_finish; ++i){\n a[i] = v;\n }\n}\n\nfunction blitUnsafe(a1, srcofs1, a2, srcofs2, blitLength) {\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction blit(a1, ofs1, a2, ofs2, len) {\n var lena1 = a1.length;\n var lena2 = a2.length;\n var srcofs1 = ofs1 < 0 ? Caml.int_max(lena1 + ofs1 | 0, 0) : ofs1;\n var srcofs2 = ofs2 < 0 ? Caml.int_max(lena2 + ofs2 | 0, 0) : ofs2;\n var blitLength = Caml.int_min(len, Caml.int_min(lena1 - srcofs1 | 0, lena2 - srcofs2 | 0));\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction forEachU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(a[i]);\n }\n}\n\nfunction forEach(a, f) {\n forEachU(a, Curry.__1(f));\n}\n\nfunction mapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(a[i]);\n }\n return r;\n}\n\nfunction map(a, f) {\n return mapU(a, Curry.__1(f));\n}\n\nfunction flatMapU(a, f) {\n return concatMany(mapU(a, f));\n}\n\nfunction flatMap(a, f) {\n return concatMany(mapU(a, Curry.__1(f)));\n}\n\nfunction getByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = Caml_option.some(v);\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getBy(a, p) {\n return getByU(a, Curry.__1(p));\n}\n\nfunction getIndexByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = i;\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getIndexBy(a, p) {\n return getIndexByU(a, Curry.__1(p));\n}\n\nfunction keepU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keep(a, f) {\n return keepU(a, Curry.__1(f));\n}\n\nfunction keepWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v, i)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepWithIndex(a, f) {\n return keepWithIndexU(a, Curry.__2(f));\n}\n\nfunction keepMapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n var v$1 = f(v);\n if (v$1 !== undefined) {\n r[j] = Caml_option.valFromOption(v$1);\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepMap(a, f) {\n return keepMapU(a, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(i, a[i]);\n }\n}\n\nfunction forEachWithIndex(a, f) {\n forEachWithIndexU(a, Curry.__2(f));\n}\n\nfunction mapWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(i, a[i]);\n }\n return r;\n}\n\nfunction mapWithIndex(a, f) {\n return mapWithIndexU(a, Curry.__2(f));\n}\n\nfunction reduceU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduce(a, x, f) {\n return reduceU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverseU(a, x, f) {\n var r = x;\n for(var i = a.length - 1 | 0; i >= 0; --i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduceReverse(a, x, f) {\n return reduceReverseU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverse2U(a, b, x, f) {\n var r = x;\n var len = Caml.int_min(a.length, b.length);\n for(var i = len - 1 | 0; i >= 0; --i){\n r = f(r, a[i], b[i]);\n }\n return r;\n}\n\nfunction reduceReverse2(a, b, x, f) {\n return reduceReverse2U(a, b, x, Curry.__3(f));\n}\n\nfunction reduceWithIndexU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i], i);\n }\n return r;\n}\n\nfunction reduceWithIndex(a, x, f) {\n return reduceWithIndexU(a, x, Curry.__3(f));\n}\n\nfunction everyU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every(arr, f) {\n return everyU(arr, Curry.__1(f));\n}\n\nfunction someU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (b(arr[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some(arr, f) {\n return someU(arr, Curry.__1(f));\n}\n\nfunction everyAux2(arr1, arr2, _i, b, len) {\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr1[i], arr2[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every2U(a, b, p) {\n return everyAux2(a, b, 0, p, Caml.int_min(a.length, b.length));\n}\n\nfunction every2(a, b, p) {\n return every2U(a, b, Curry.__2(p));\n}\n\nfunction some2U(a, b, p) {\n var _i = 0;\n var len = Caml.int_min(a.length, b.length);\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (p(a[i], b[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some2(a, b, p) {\n return some2U(a, b, Curry.__2(p));\n}\n\nfunction eqU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena === lenb) {\n return everyAux2(a, b, 0, p, lena);\n } else {\n return false;\n }\n}\n\nfunction eq(a, b, p) {\n return eqU(a, b, Curry.__2(p));\n}\n\nfunction cmpU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena > lenb) {\n return 1;\n } else if (lena < lenb) {\n return -1;\n } else {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === lena) {\n return 0;\n }\n var c = p(a[i], b[i]);\n if (c !== 0) {\n return c;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction cmp(a, b, p) {\n return cmpU(a, b, Curry.__2(p));\n}\n\nfunction partitionU(a, f) {\n var l = a.length;\n var i = 0;\n var j = 0;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var ii = 0; ii < l; ++ii){\n var v = a[ii];\n if (f(v)) {\n a1[i] = v;\n i = i + 1 | 0;\n } else {\n a2[j] = v;\n j = j + 1 | 0;\n }\n }\n a1.length = i;\n a2.length = j;\n return [\n a1,\n a2\n ];\n}\n\nfunction partition(a, f) {\n return partitionU(a, Curry.__1(f));\n}\n\nfunction unzip(a) {\n var l = a.length;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var i = 0; i < l; ++i){\n var match = a[i];\n a1[i] = match[0];\n a2[i] = match[1];\n }\n return [\n a1,\n a2\n ];\n}\n\nfunction joinWithU(a, sep, toString) {\n var l = a.length;\n if (l === 0) {\n return \"\";\n }\n var lastIndex = l - 1 | 0;\n var _i = 0;\n var _res = \"\";\n while(true) {\n var res = _res;\n var i = _i;\n if (i === lastIndex) {\n return res + toString(a[i]);\n }\n _res = res + (toString(a[i]) + sep);\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction joinWith(a, sep, toString) {\n return joinWithU(a, sep, Curry.__1(toString));\n}\n\nfunction initU(n, f) {\n var v = new Array(n);\n for(var i = 0; i < n; ++i){\n v[i] = f(i);\n }\n return v;\n}\n\nfunction init(n, f) {\n return initU(n, Curry.__1(f));\n}\n\nexports.get = get;\nexports.getExn = getExn;\nexports.set = set;\nexports.setExn = setExn;\nexports.shuffleInPlace = shuffleInPlace;\nexports.shuffle = shuffle;\nexports.reverseInPlace = reverseInPlace;\nexports.reverse = reverse;\nexports.make = make;\nexports.range = range;\nexports.rangeBy = rangeBy;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.makeByAndShuffleU = makeByAndShuffleU;\nexports.makeByAndShuffle = makeByAndShuffle;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.unzip = unzip;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.slice = slice;\nexports.sliceToEnd = sliceToEnd;\nexports.fill = fill;\nexports.blit = blit;\nexports.blitUnsafe = blitUnsafe;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.getIndexByU = getIndexByU;\nexports.getIndexBy = getIndexBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.joinWithU = joinWithU;\nexports.joinWith = joinWith;\nexports.someU = someU;\nexports.some = some;\nexports.everyU = everyU;\nexports.every = every;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.initU = initU;\nexports.init = init;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_Array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_List.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_List.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Belt_SortArray = __webpack_require__(/*! ./belt_SortArray.js */ \"../../../../node_modules/rescript/lib/js/belt_SortArray.js\");\n\nfunction head(x) {\n if (x) {\n return Caml_option.some(x.hd);\n }\n \n}\n\nfunction headExn(x) {\n if (x) {\n return x.hd;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction tail(x) {\n if (x) {\n return x.tl;\n }\n \n}\n\nfunction tailExn(x) {\n if (x) {\n return x.tl;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction add(xs, x) {\n return {\n hd: x,\n tl: xs\n };\n}\n\nfunction get(x, n) {\n if (n < 0) {\n return ;\n } else {\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (!x$1) {\n return ;\n }\n if (n$1 === 0) {\n return Caml_option.some(x$1.hd);\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n };\n }\n}\n\nfunction getExn(x, n) {\n if (n < 0) {\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n }\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (x$1) {\n if (n$1 === 0) {\n return x$1.hd;\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n };\n}\n\nfunction partitionAux(p, _cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var t = cell.tl;\n var h = cell.hd;\n var next = {\n hd: h,\n tl: /* [] */0\n };\n if (p(h)) {\n precX.tl = next;\n _precX = next;\n _cell = t;\n continue ;\n }\n precY.tl = next;\n _precY = next;\n _cell = t;\n continue ;\n };\n}\n\nfunction splitAux(_cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var match = cell.hd;\n var nextA = {\n hd: match[0],\n tl: /* [] */0\n };\n var nextB = {\n hd: match[1],\n tl: /* [] */0\n };\n precX.tl = nextA;\n precY.tl = nextB;\n _precY = nextB;\n _precX = nextA;\n _cell = cell.tl;\n continue ;\n };\n}\n\nfunction copyAuxCont(_cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return prec;\n }\n var next = {\n hd: cellX.hd,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWitFilter(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithFilterIndex(f, _cellX, _prec, _i) {\n while(true) {\n var i = _i;\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h, i)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _i = i + 1 | 0;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _i = i + 1 | 0;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWitFilterMap(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = f(cellX.hd);\n if (h !== undefined) {\n var next = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction removeAssocAuxWithMap(_cellX, x, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h[0], x)) {\n prec.tl = t;\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction setAssocAuxWithMap(_cellX, x, k, _prec, eq) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (eq(h[0], x)) {\n prec.tl = {\n hd: [\n x,\n k\n ],\n tl: t\n };\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithMap(_cellX, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction zipAux(_cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: [\n cellX.hd,\n cellY.hd\n ],\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMap2(f, _cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: f(cellX.hd, cellY.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMapI(f, _i, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n var i = _i;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(i, cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction takeAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return true;\n }\n if (!cell) {\n return false;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction splitAtAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return cell;\n }\n if (!cell) {\n return ;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction take(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return /* [] */0;\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var has = takeAux(n - 1 | 0, lst.tl, cell);\n if (has) {\n return cell;\n }\n \n}\n\nfunction drop(lst, n) {\n if (n < 0) {\n return ;\n } else {\n var _l = lst;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var l = _l;\n if (n$1 === 0) {\n return l;\n }\n if (!l) {\n return ;\n }\n _n = n$1 - 1 | 0;\n _l = l.tl;\n continue ;\n };\n }\n}\n\nfunction splitAt(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return [\n /* [] */0,\n lst\n ];\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var rest = splitAtAux(n - 1 | 0, lst.tl, cell);\n if (rest !== undefined) {\n return [\n cell,\n rest\n ];\n }\n \n}\n\nfunction concat(xs, ys) {\n if (!xs) {\n return ys;\n }\n var cell = {\n hd: xs.hd,\n tl: /* [] */0\n };\n copyAuxCont(xs.tl, cell).tl = ys;\n return cell;\n}\n\nfunction mapU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMap(xs.tl, cell, f);\n return cell;\n}\n\nfunction map(xs, f) {\n return mapU(xs, Curry.__1(f));\n}\n\nfunction zipByU(l1, l2, f) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: f(l1.hd, l2.hd),\n tl: /* [] */0\n };\n copyAuxWithMap2(f, l1.tl, l2.tl, cell);\n return cell;\n}\n\nfunction zipBy(l1, l2, f) {\n return zipByU(l1, l2, Curry.__2(f));\n}\n\nfunction mapWithIndexU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(0, xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMapI(f, 1, xs.tl, cell);\n return cell;\n}\n\nfunction mapWithIndex(xs, f) {\n return mapWithIndexU(xs, Curry.__2(f));\n}\n\nfunction makeByU(n, f) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: f(0),\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v = {\n hd: f(i),\n tl: /* [] */0\n };\n cur.tl = v;\n cur = v;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction makeBy(n, f) {\n return makeByU(n, Curry.__1(f));\n}\n\nfunction make(n, v) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: v,\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v$1 = {\n hd: v,\n tl: /* [] */0\n };\n cur.tl = v$1;\n cur = v$1;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction length(xs) {\n var _x = xs;\n var _acc = 0;\n while(true) {\n var acc = _acc;\n var x = _x;\n if (!x) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _x = x.tl;\n continue ;\n };\n}\n\nfunction fillAux(arr, _i, _x) {\n while(true) {\n var x = _x;\n var i = _i;\n if (!x) {\n return ;\n }\n arr[i] = x.hd;\n _x = x.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction fromArray(a) {\n var _i = a.length - 1 | 0;\n var _res = /* [] */0;\n while(true) {\n var res = _res;\n var i = _i;\n if (i < 0) {\n return res;\n }\n _res = {\n hd: a[i],\n tl: res\n };\n _i = i - 1 | 0;\n continue ;\n };\n}\n\nfunction toArray(x) {\n var len = length(x);\n var arr = new Array(len);\n fillAux(arr, 0, x);\n return arr;\n}\n\nfunction shuffle(xs) {\n var v = toArray(xs);\n Belt_Array.shuffleInPlace(v);\n return fromArray(v);\n}\n\nfunction reverseConcat(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return l2;\n }\n _l2 = {\n hd: l1.hd,\n tl: l2\n };\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reverse(l) {\n return reverseConcat(l, /* [] */0);\n}\n\nfunction flattenAux(_prec, _xs) {\n while(true) {\n var xs = _xs;\n var prec = _prec;\n if (xs) {\n _xs = xs.tl;\n _prec = copyAuxCont(xs.hd, prec);\n continue ;\n }\n prec.tl = /* [] */0;\n return ;\n };\n}\n\nfunction flatten(_xs) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var match = xs.hd;\n if (match) {\n var cell = {\n hd: match.hd,\n tl: /* [] */0\n };\n flattenAux(copyAuxCont(match.tl, cell), xs.tl);\n return cell;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction concatMany(xs) {\n var len = xs.length;\n if (len === 1) {\n return xs[0];\n }\n if (len === 0) {\n return /* [] */0;\n }\n var len$1 = xs.length;\n var v = xs[len$1 - 1 | 0];\n for(var i = len$1 - 2 | 0; i >= 0; --i){\n v = concat(xs[i], v);\n }\n return v;\n}\n\nfunction mapReverseU(l, f) {\n var _accu = /* [] */0;\n var _xs = l;\n while(true) {\n var xs = _xs;\n var accu = _accu;\n if (!xs) {\n return accu;\n }\n _xs = xs.tl;\n _accu = {\n hd: f(xs.hd),\n tl: accu\n };\n continue ;\n };\n}\n\nfunction mapReverse(l, f) {\n return mapReverseU(l, Curry.__1(f));\n}\n\nfunction forEachU(_xs, f) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(xs.hd);\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEach(xs, f) {\n forEachU(xs, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(l, f) {\n var _xs = l;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(i, xs.hd);\n _i = i + 1 | 0;\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEachWithIndex(l, f) {\n forEachWithIndexU(l, Curry.__2(f));\n}\n\nfunction reduceU(_l, _accu, f) {\n while(true) {\n var accu = _accu;\n var l = _l;\n if (!l) {\n return accu;\n }\n _accu = f(accu, l.hd);\n _l = l.tl;\n continue ;\n };\n}\n\nfunction reduce(l, accu, f) {\n return reduceU(l, accu, Curry.__2(f));\n}\n\nfunction reduceReverseUnsafeU(l, accu, f) {\n if (l) {\n return f(reduceReverseUnsafeU(l.tl, accu, f), l.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverseU(l, acc, f) {\n var len = length(l);\n if (len < 1000) {\n return reduceReverseUnsafeU(l, acc, f);\n } else {\n return Belt_Array.reduceReverseU(toArray(l), acc, f);\n }\n}\n\nfunction reduceReverse(l, accu, f) {\n return reduceReverseU(l, accu, Curry.__2(f));\n}\n\nfunction reduceWithIndexU(l, acc, f) {\n var _l = l;\n var _acc = acc;\n var _i = 0;\n while(true) {\n var i = _i;\n var acc$1 = _acc;\n var l$1 = _l;\n if (!l$1) {\n return acc$1;\n }\n _i = i + 1 | 0;\n _acc = f(acc$1, l$1.hd, i);\n _l = l$1.tl;\n continue ;\n };\n}\n\nfunction reduceWithIndex(l, acc, f) {\n return reduceWithIndexU(l, acc, Curry.__3(f));\n}\n\nfunction mapReverse2U(l1, l2, f) {\n var _l1 = l1;\n var _l2 = l2;\n var _accu = /* [] */0;\n while(true) {\n var accu = _accu;\n var l2$1 = _l2;\n var l1$1 = _l1;\n if (!l1$1) {\n return accu;\n }\n if (!l2$1) {\n return accu;\n }\n _accu = {\n hd: f(l1$1.hd, l2$1.hd),\n tl: accu\n };\n _l2 = l2$1.tl;\n _l1 = l1$1.tl;\n continue ;\n };\n}\n\nfunction mapReverse2(l1, l2, f) {\n return mapReverse2U(l1, l2, Curry.__2(f));\n}\n\nfunction forEach2U(_l1, _l2, f) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return ;\n }\n if (!l2) {\n return ;\n }\n f(l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction forEach2(l1, l2, f) {\n forEach2U(l1, l2, Curry.__2(f));\n}\n\nfunction reduce2U(_l1, _l2, _accu, f) {\n while(true) {\n var accu = _accu;\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return accu;\n }\n if (!l2) {\n return accu;\n }\n _accu = f(accu, l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reduce2(l1, l2, acc, f) {\n return reduce2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction reduceReverse2UnsafeU(l1, l2, accu, f) {\n if (l1 && l2) {\n return f(reduceReverse2UnsafeU(l1.tl, l2.tl, accu, f), l1.hd, l2.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverse2U(l1, l2, acc, f) {\n var len = length(l1);\n if (len < 1000) {\n return reduceReverse2UnsafeU(l1, l2, acc, f);\n } else {\n return Belt_Array.reduceReverse2U(toArray(l1), toArray(l2), acc, f);\n }\n}\n\nfunction reduceReverse2(l1, l2, acc, f) {\n return reduceReverse2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction everyU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return true;\n }\n if (!p(xs.hd)) {\n return false;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction every(xs, p) {\n return everyU(xs, Curry.__1(p));\n}\n\nfunction someU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (p(xs.hd)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction some(xs, p) {\n return someU(xs, Curry.__1(p));\n}\n\nfunction every2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return true;\n }\n if (!l2) {\n return true;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction every2(l1, l2, p) {\n return every2U(l1, l2, Curry.__2(p));\n}\n\nfunction cmpByLength(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmpU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n var c = p(l1.hd, l2.hd);\n if (c !== 0) {\n return c;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmp(l1, l2, f) {\n return cmpU(l1, l2, Curry.__2(f));\n}\n\nfunction eqU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return false;\n } else {\n return true;\n }\n }\n if (!l2) {\n return false;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction eq(l1, l2, f) {\n return eqU(l1, l2, Curry.__2(f));\n}\n\nfunction some2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return false;\n }\n if (!l2) {\n return false;\n }\n if (p(l1.hd, l2.hd)) {\n return true;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction some2(l1, l2, p) {\n return some2U(l1, l2, Curry.__2(p));\n}\n\nfunction hasU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd, x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction has(xs, x, eq) {\n return hasU(xs, x, Curry.__2(eq));\n}\n\nfunction getAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var match = xs.hd;\n if (eq(match[0], x)) {\n return Caml_option.some(match[1]);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getAssoc(xs, x, eq) {\n return getAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction hasAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd[0], x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction hasAssoc(xs, x, eq) {\n return hasAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction removeAssocU(xs, x, eq) {\n if (!xs) {\n return /* [] */0;\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return l;\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var removed = removeAssocAuxWithMap(l, x, cell, eq);\n if (removed) {\n return cell;\n } else {\n return xs;\n }\n}\n\nfunction removeAssoc(xs, x, eq) {\n return removeAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction setAssocU(xs, x, k, eq) {\n if (!xs) {\n return {\n hd: [\n x,\n k\n ],\n tl: /* [] */0\n };\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return {\n hd: [\n x,\n k\n ],\n tl: l\n };\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var replaced = setAssocAuxWithMap(l, x, k, cell, eq);\n if (replaced) {\n return cell;\n } else {\n return {\n hd: [\n x,\n k\n ],\n tl: xs\n };\n }\n}\n\nfunction setAssoc(xs, x, k, eq) {\n return setAssocU(xs, x, k, Curry.__2(eq));\n}\n\nfunction sortU(xs, cmp) {\n var arr = toArray(xs);\n Belt_SortArray.stableSortInPlaceByU(arr, cmp);\n return fromArray(arr);\n}\n\nfunction sort(xs, cmp) {\n return sortU(xs, Curry.__2(cmp));\n}\n\nfunction getByU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var x = xs.hd;\n if (p(x)) {\n return Caml_option.some(x);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getBy(xs, p) {\n return getByU(xs, Curry.__1(p));\n}\n\nfunction keepU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = xs.hd;\n if (p(h)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWitFilter(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keep(xs, p) {\n return keepU(xs, Curry.__1(p));\n}\n\nfunction keepWithIndexU(xs, p) {\n var _xs = xs;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs$1 = _xs;\n if (!xs$1) {\n return /* [] */0;\n }\n var t = xs$1.tl;\n var h = xs$1.hd;\n if (p(h, i)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWithFilterIndex(p, t, cell, i + 1 | 0);\n return cell;\n }\n _i = i + 1 | 0;\n _xs = t;\n continue ;\n };\n}\n\nfunction keepWithIndex(xs, p) {\n return keepWithIndexU(xs, Curry.__2(p));\n}\n\nfunction keepMapU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = p(xs.hd);\n if (h !== undefined) {\n var cell = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n copyAuxWitFilterMap(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keepMap(xs, p) {\n return keepMapU(xs, Curry.__1(p));\n}\n\nfunction partitionU(l, p) {\n if (!l) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var h = l.hd;\n var nextX = {\n hd: h,\n tl: /* [] */0\n };\n var nextY = {\n hd: h,\n tl: /* [] */0\n };\n var b = p(h);\n partitionAux(p, l.tl, nextX, nextY);\n if (b) {\n return [\n nextX,\n nextY.tl\n ];\n } else {\n return [\n nextX.tl,\n nextY\n ];\n }\n}\n\nfunction partition(l, p) {\n return partitionU(l, Curry.__1(p));\n}\n\nfunction unzip(xs) {\n if (!xs) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var match = xs.hd;\n var cellX = {\n hd: match[0],\n tl: /* [] */0\n };\n var cellY = {\n hd: match[1],\n tl: /* [] */0\n };\n splitAux(xs.tl, cellX, cellY);\n return [\n cellX,\n cellY\n ];\n}\n\nfunction zip(l1, l2) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: [\n l1.hd,\n l2.hd\n ],\n tl: /* [] */0\n };\n zipAux(l1.tl, l2.tl, cell);\n return cell;\n}\n\nvar size = length;\n\nvar filter = keep;\n\nvar filterWithIndex = keepWithIndex;\n\nexports.length = length;\nexports.size = size;\nexports.head = head;\nexports.headExn = headExn;\nexports.tail = tail;\nexports.tailExn = tailExn;\nexports.add = add;\nexports.get = get;\nexports.getExn = getExn;\nexports.make = make;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.shuffle = shuffle;\nexports.drop = drop;\nexports.take = take;\nexports.splitAt = splitAt;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.reverseConcat = reverseConcat;\nexports.flatten = flatten;\nexports.mapU = mapU;\nexports.map = map;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.fromArray = fromArray;\nexports.toArray = toArray;\nexports.reverse = reverse;\nexports.mapReverseU = mapReverseU;\nexports.mapReverse = mapReverse;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.mapReverse2U = mapReverse2U;\nexports.mapReverse2 = mapReverse2;\nexports.forEach2U = forEach2U;\nexports.forEach2 = forEach2;\nexports.reduce2U = reduce2U;\nexports.reduce2 = reduce2;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.everyU = everyU;\nexports.every = every;\nexports.someU = someU;\nexports.some = some;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpByLength = cmpByLength;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.hasU = hasU;\nexports.has = has;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.filter = filter;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.filterWithIndex = filterWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.unzip = unzip;\nexports.getAssocU = getAssocU;\nexports.getAssoc = getAssoc;\nexports.hasAssocU = hasAssocU;\nexports.hasAssoc = hasAssoc;\nexports.removeAssocU = removeAssocU;\nexports.removeAssoc = removeAssoc;\nexports.setAssocU = setAssocU;\nexports.setAssoc = setAssoc;\nexports.sortU = sortU;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_List.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_Option.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_Option.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction keepU(opt, p) {\n if (opt !== undefined && p(Caml_option.valFromOption(opt))) {\n return opt;\n }\n \n}\n\nfunction keep(opt, p) {\n return keepU(opt, Curry.__1(p));\n}\n\nfunction forEachU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction forEach(opt, f) {\n forEachU(opt, Curry.__1(f));\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction mapWithDefaultU(opt, $$default, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n } else {\n return $$default;\n }\n}\n\nfunction mapWithDefault(opt, $$default, f) {\n return mapWithDefaultU(opt, $$default, Curry.__1(f));\n}\n\nfunction mapU(opt, f) {\n if (opt !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(opt)));\n }\n \n}\n\nfunction map(opt, f) {\n return mapU(opt, Curry.__1(f));\n}\n\nfunction flatMapU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction flatMap(opt, f) {\n return flatMapU(opt, Curry.__1(f));\n}\n\nfunction getWithDefault(opt, $$default) {\n if (opt !== undefined) {\n return Caml_option.valFromOption(opt);\n } else {\n return $$default;\n }\n}\n\nfunction orElse(opt, other) {\n if (opt !== undefined) {\n return opt;\n } else {\n return other;\n }\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isNone(x) {\n return x === undefined;\n}\n\nfunction eqU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction eq(a, b, f) {\n return eqU(a, b, Curry.__2(f));\n}\n\nfunction cmpU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return 1;\n }\n } else if (b !== undefined) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction cmp(a, b, f) {\n return cmpU(a, b, Curry.__2(f));\n}\n\nexports.keepU = keepU;\nexports.keep = keep;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.getExn = getExn;\nexports.mapWithDefaultU = mapWithDefaultU;\nexports.mapWithDefault = mapWithDefault;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getWithDefault = getWithDefault;\nexports.orElse = orElse;\nexports.isSome = isSome;\nexports.isNone = isNone;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_Option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_SortArray.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_SortArray.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\n\nfunction sortedLengthAuxMore(xs, _prec, _acc, len, lt) {\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(v, prec)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n}\n\nfunction strictlySortedLengthU(xs, lt) {\n var len = xs.length;\n if (len === 0 || len === 1) {\n return len;\n }\n var x0 = xs[0];\n var x1 = xs[1];\n if (lt(x0, x1)) {\n var _prec = x1;\n var _acc = 2;\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(prec, v)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n } else if (lt(x1, x0)) {\n return -sortedLengthAuxMore(xs, x1, 2, len, lt) | 0;\n } else {\n return 1;\n }\n}\n\nfunction strictlySortedLength(xs, lt) {\n return strictlySortedLengthU(xs, Curry.__2(lt));\n}\n\nfunction isSortedU(a, cmp) {\n var len = a.length;\n if (len === 0) {\n return true;\n } else {\n var _i = 0;\n var last_bound = len - 1 | 0;\n while(true) {\n var i = _i;\n if (i === last_bound) {\n return true;\n }\n if (cmp(a[i], a[i + 1 | 0]) > 0) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction isSorted(a, cmp) {\n return isSortedU(a, Curry.__2(cmp));\n}\n\nfunction merge(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n if (cmp(s1, s2) <= 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return Belt_Array.blitUnsafe(src2, i2, dst, d + 1 | 0, src2r - i2 | 0);\n }\n _d = d + 1 | 0;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n dst[d] = s2;\n var i2$1 = i2 + 1 | 0;\n if (i2$1 >= src2r) {\n return Belt_Array.blitUnsafe(src, i1, dst, d + 1 | 0, src1r - i1 | 0);\n }\n _d = d + 1 | 0;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n continue ;\n };\n}\n\nfunction unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (i1$1 < src1r) {\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n Belt_Array.blitUnsafe(src2, i2, dst, d$1, src2r - i2 | 0);\n return (d$1 + src2r | 0) - i2 | 0;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$2 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n Belt_Array.blitUnsafe(src2, i2$1, dst, d$2, src2r - i2$1 | 0);\n return (d$2 + src2r | 0) - i2$1 | 0;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d$2, src1r - i1$2 | 0);\n return (d$2 + src1r | 0) - i1$2 | 0;\n }\n }\n _d = d$2;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n dst[d] = s2;\n var i2$2 = i2 + 1 | 0;\n var d$3 = d + 1 | 0;\n if (i2$2 < src2r) {\n _d = d$3;\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d$3, src1r - i1 | 0);\n return (d$3 + src1r | 0) - i1 | 0;\n };\n}\n\nfunction union(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d;\n }\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n return d$1;\n }\n _d = d$1;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 >= src2r) {\n return d;\n }\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n };\n}\n\nfunction intersect(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var d$1 = d + 1 | 0;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d$1;\n }\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n return d;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d, src1r - i1$2 | 0);\n return (d + src1r | 0) - i1$2 | 0;\n }\n }\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 < src2r) {\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d, src1r - i1 | 0);\n return (d + src1r | 0) - i1 | 0;\n };\n}\n\nfunction diff(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction insertionSort(src, srcofs, dst, dstofs, len, cmp) {\n for(var i = 0; i < len; ++i){\n var e = src[srcofs + i | 0];\n var j = (dstofs + i | 0) - 1 | 0;\n while(j >= dstofs && cmp(dst[j], e) > 0) {\n dst[j + 1 | 0] = dst[j];\n j = j - 1 | 0;\n };\n dst[j + 1 | 0] = e;\n }\n}\n\nfunction sortTo(src, srcofs, dst, dstofs, len, cmp) {\n if (len <= 5) {\n return insertionSort(src, srcofs, dst, dstofs, len, cmp);\n }\n var l1 = len / 2 | 0;\n var l2 = len - l1 | 0;\n sortTo(src, srcofs + l1 | 0, dst, dstofs + l1 | 0, l2, cmp);\n sortTo(src, srcofs, src, srcofs + l2 | 0, l1, cmp);\n merge(src, srcofs + l2 | 0, l1, dst, dstofs + l1 | 0, l2, dst, dstofs, cmp);\n}\n\nfunction stableSortInPlaceByU(a, cmp) {\n var l = a.length;\n if (l <= 5) {\n return insertionSort(a, 0, a, 0, l, cmp);\n }\n var l1 = l / 2 | 0;\n var l2 = l - l1 | 0;\n var t = new Array(l2);\n sortTo(a, l1, t, 0, l2, cmp);\n sortTo(a, 0, a, l2, l1, cmp);\n merge(a, l2, l1, t, 0, l2, a, 0, cmp);\n}\n\nfunction stableSortInPlaceBy(a, cmp) {\n stableSortInPlaceByU(a, Curry.__2(cmp));\n}\n\nfunction stableSortByU(a, cmp) {\n var b = a.slice(0);\n stableSortInPlaceByU(b, cmp);\n return b;\n}\n\nfunction stableSortBy(a, cmp) {\n return stableSortByU(a, Curry.__2(cmp));\n}\n\nfunction binarySearchByU(sorted, key, cmp) {\n var len = sorted.length;\n if (len === 0) {\n return -1;\n }\n var lo = sorted[0];\n var c = cmp(key, lo);\n if (c < 0) {\n return -1;\n }\n var hi = sorted[len - 1 | 0];\n var c2 = cmp(key, hi);\n if (c2 > 0) {\n return -(len + 1 | 0) | 0;\n } else {\n var _lo = 0;\n var _hi = len - 1 | 0;\n while(true) {\n var hi$1 = _hi;\n var lo$1 = _lo;\n var mid = (lo$1 + hi$1 | 0) / 2 | 0;\n var midVal = sorted[mid];\n var c$1 = cmp(key, midVal);\n if (c$1 === 0) {\n return mid;\n }\n if (c$1 < 0) {\n if (hi$1 === mid) {\n if (cmp(sorted[lo$1], key) === 0) {\n return lo$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _hi = mid;\n continue ;\n }\n if (lo$1 === mid) {\n if (cmp(sorted[hi$1], key) === 0) {\n return hi$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _lo = mid;\n continue ;\n };\n }\n}\n\nfunction binarySearchBy(sorted, key, cmp) {\n return binarySearchByU(sorted, key, Curry.__2(cmp));\n}\n\nvar Int;\n\nvar $$String;\n\nexports.Int = Int;\nexports.$$String = $$String;\nexports.strictlySortedLengthU = strictlySortedLengthU;\nexports.strictlySortedLength = strictlySortedLength;\nexports.isSortedU = isSortedU;\nexports.isSorted = isSorted;\nexports.stableSortInPlaceByU = stableSortInPlaceByU;\nexports.stableSortInPlaceBy = stableSortInPlaceBy;\nexports.stableSortByU = stableSortByU;\nexports.stableSortBy = stableSortBy;\nexports.binarySearchByU = binarySearchByU;\nexports.binarySearchBy = binarySearchBy;\nexports.unionU = unionU;\nexports.union = union;\nexports.intersectU = intersectU;\nexports.intersect = intersect;\nexports.diffU = diffU;\nexports.diff = diff;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_SortArray.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction int_compare(x, y) {\n if (x < y) {\n return -1;\n } else if (x === y) {\n return 0;\n } else {\n return 1;\n }\n}\n\nfunction bool_compare(x, y) {\n if (x) {\n if (y) {\n return 0;\n } else {\n return 1;\n }\n } else if (y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction float_compare(x, y) {\n if (x === y) {\n return 0;\n } else if (x < y) {\n return -1;\n } else if (x > y || x === x) {\n return 1;\n } else if (y === y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction string_compare(s1, s2) {\n if (s1 === s2) {\n return 0;\n } else if (s1 < s2) {\n return -1;\n } else {\n return 1;\n }\n}\n\nfunction bool_min(x, y) {\n if (x) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction int_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction bool_max(x, y) {\n if (x) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction int_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction i64_eq(x, y) {\n if (x[1] === y[1]) {\n return x[0] === y[0];\n } else {\n return false;\n }\n}\n\nfunction i64_ge(param, param$1) {\n var other_hi = param$1[0];\n var hi = param[0];\n if (hi > other_hi) {\n return true;\n } else if (hi < other_hi) {\n return false;\n } else {\n return param[1] >= param$1[1];\n }\n}\n\nfunction i64_neq(x, y) {\n return !i64_eq(x, y);\n}\n\nfunction i64_lt(x, y) {\n return !i64_ge(x, y);\n}\n\nfunction i64_gt(x, y) {\n if (x[0] > y[0]) {\n return true;\n } else if (x[0] < y[0]) {\n return false;\n } else {\n return x[1] > y[1];\n }\n}\n\nfunction i64_le(x, y) {\n return !i64_gt(x, y);\n}\n\nfunction i64_min(x, y) {\n if (i64_ge(x, y)) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction i64_max(x, y) {\n if (i64_gt(x, y)) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.int_compare = int_compare;\nexports.bool_compare = bool_compare;\nexports.float_compare = float_compare;\nexports.string_compare = string_compare;\nexports.bool_min = bool_min;\nexports.int_min = int_min;\nexports.float_min = float_min;\nexports.string_min = string_min;\nexports.bool_max = bool_max;\nexports.int_max = int_max;\nexports.float_max = float_max;\nexports.string_max = string_max;\nexports.i64_eq = i64_eq;\nexports.i64_neq = i64_neq;\nexports.i64_lt = i64_lt;\nexports.i64_gt = i64_gt;\nexports.i64_le = i64_le;\nexports.i64_ge = i64_ge;\nexports.i64_min = i64_min;\nexports.i64_max = i64_max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l.tl;\n _acc = l.hd.length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l.hd;\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l.tl;\n _i = k;\n continue ;\n };\n}\n\nfunction concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n xs[index] = newval;\n}\n\nfunction get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n return xs[index];\n}\n\nfunction make(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction make_float(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n}\n\nfunction dup(prim) {\n return prim.slice(0);\n}\n\nexports.dup = dup;\nexports.sub = sub;\nexports.concat = concat;\nexports.make = make;\nexports.make_float = make_float;\nexports.blit = blit;\nexports.get = get;\nexports.set = set;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_exceptions.js": -/*!*******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_exceptions.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar id = {\n contents: 0\n};\n\nfunction create(str) {\n id.contents = id.contents + 1 | 0;\n return str + (\"/\" + id.contents);\n}\n\nfunction is_extension(e) {\n if (e == null) {\n return false;\n } else {\n return typeof e.RE_EXN_ID === \"string\";\n }\n}\n\nfunction exn_slot_name(x) {\n return x.RE_EXN_ID;\n}\n\nexports.id = id;\nexports.create = create;\nexports.is_extension = is_extension;\nexports.exn_slot_name = exn_slot_name;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_exceptions.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_js_exceptions.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_js_exceptions.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_exceptions = __webpack_require__(/*! ./caml_exceptions.js */ \"../../../../node_modules/rescript/lib/js/caml_exceptions.js\");\n\nvar $$Error = \"JsError\";\n\nfunction internalToOCamlException(e) {\n if (Caml_exceptions.is_extension(e)) {\n return e;\n } else {\n return {\n RE_EXN_ID: \"JsError\",\n _1: e\n };\n }\n}\n\nfunction as_js_exn(exn) {\n if (exn.RE_EXN_ID === $$Error) {\n return Caml_option.some(exn._1);\n }\n \n}\n\nexports.$$Error = $$Error;\nexports.internalToOCamlException = internalToOCamlException;\nexports.as_js_exn = as_js_exn;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_js_exceptions.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_obj.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_obj.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../node_modules/rescript/lib/js/caml.js\");\n\nvar for_in = (function(o,foo){\n for (var x in o) { foo(x) }});\n\nvar obj_dup = (function(x){\n if(Array.isArray(x)){\n var len = x.length \n var v = new Array(len)\n for(var i = 0 ; i < len ; ++i){\n v[i] = x[i]\n }\n if(x.TAG !== undefined){\n v.TAG = x.TAG // TODO this can be removed eventually\n } \n return v \n } \n return Object.assign({},x) \n});\n\nvar update_dummy = (function(x,y){\n var k \n if(Array.isArray(y)){\n for(k = 0; k < y.length ; ++k){\n x[k] = y[k]\n }\n if(y.TAG !== undefined){\n x.TAG = y.TAG\n }\n } else {\n for (var k in y){\n x[k] = y[k]\n }\n }\n});\n\nfunction compare(a, b) {\n if (a === b) {\n return 0;\n }\n var a_type = typeof a;\n var b_type = typeof b;\n switch (a_type) {\n case \"boolean\" :\n if (b_type === \"boolean\") {\n return Caml.bool_compare(a, b);\n }\n break;\n case \"function\" :\n if (b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"compare: functional value\",\n Error: new Error()\n };\n }\n break;\n case \"number\" :\n if (b_type === \"number\") {\n return Caml.float_compare(a, b);\n }\n break;\n case \"string\" :\n if (b_type === \"string\") {\n return Caml.string_compare(a, b);\n } else {\n return 1;\n }\n case \"undefined\" :\n return -1;\n default:\n \n }\n switch (b_type) {\n case \"string\" :\n return -1;\n case \"undefined\" :\n return 1;\n default:\n if (a_type === \"boolean\") {\n return 1;\n }\n if (b_type === \"boolean\") {\n return -1;\n }\n if (a_type === \"function\") {\n return 1;\n }\n if (b_type === \"function\") {\n return -1;\n }\n if (a_type === \"number\") {\n if (b === null || b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b_type === \"number\") {\n if (a === null || a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a === null) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b === null) {\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return aux_obj_compare(a, b);\n } else {\n return -1;\n }\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return Caml.int_compare(a[1], b[1]);\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n if (tag_a < tag_b) {\n return -1;\n } else {\n return 1;\n }\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return 0;\n }\n var res = compare(a[i], b[i]);\n if (res !== 0) {\n return res;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return (a - b);\n } else {\n return aux_obj_compare(a, b);\n }\n } else if (len_a < len_b) {\n var _i$1 = 0;\n while(true) {\n var i$1 = _i$1;\n if (i$1 === len_a) {\n return -1;\n }\n var res$1 = compare(a[i$1], b[i$1]);\n if (res$1 !== 0) {\n return res$1;\n }\n _i$1 = i$1 + 1 | 0;\n continue ;\n };\n } else {\n var _i$2 = 0;\n while(true) {\n var i$2 = _i$2;\n if (i$2 === len_b) {\n return 1;\n }\n var res$2 = compare(a[i$2], b[i$2]);\n if (res$2 !== 0) {\n return res$2;\n }\n _i$2 = i$2 + 1 | 0;\n continue ;\n };\n }\n }\n}\n\nfunction aux_obj_compare(a, b) {\n var min_key_lhs = {\n contents: undefined\n };\n var min_key_rhs = {\n contents: undefined\n };\n var do_key = function (param, key) {\n var min_key = param[2];\n var b = param[1];\n if (!(!Object.prototype.hasOwnProperty.call(b, key) || compare(param[0][key], b[key]) > 0)) {\n return ;\n }\n var mk = min_key.contents;\n if (mk !== undefined && key >= mk) {\n return ;\n } else {\n min_key.contents = key;\n return ;\n }\n };\n var partial_arg = [\n a,\n b,\n min_key_rhs\n ];\n var do_key_a = function (param) {\n return do_key(partial_arg, param);\n };\n var partial_arg$1 = [\n b,\n a,\n min_key_lhs\n ];\n var do_key_b = function (param) {\n return do_key(partial_arg$1, param);\n };\n for_in(a, do_key_a);\n for_in(b, do_key_b);\n var match = min_key_lhs.contents;\n var match$1 = min_key_rhs.contents;\n if (match !== undefined) {\n if (match$1 !== undefined) {\n return Caml.string_compare(match, match$1);\n } else {\n return -1;\n }\n } else if (match$1 !== undefined) {\n return 1;\n } else {\n return 0;\n }\n}\n\nfunction equal(a, b) {\n if (a === b) {\n return true;\n }\n var a_type = typeof a;\n if (a_type === \"string\" || a_type === \"number\" || a_type === \"boolean\" || a_type === \"undefined\" || a === null) {\n return false;\n }\n var b_type = typeof b;\n if (a_type === \"function\" || b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: functional value\",\n Error: new Error()\n };\n }\n if (b_type === \"number\" || b_type === \"undefined\" || b === null) {\n return false;\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return a[1] === b[1];\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n return false;\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return true;\n }\n if (!equal(a[i], b[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return !(a > b || a < b);\n } else {\n var result = {\n contents: true\n };\n var do_key_a = function (key) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) {\n result.contents = false;\n return ;\n }\n \n };\n var do_key_b = function (key) {\n if (!Object.prototype.hasOwnProperty.call(a, key) || !equal(b[key], a[key])) {\n result.contents = false;\n return ;\n }\n \n };\n for_in(a, do_key_a);\n if (result.contents) {\n for_in(b, do_key_b);\n }\n return result.contents;\n }\n } else {\n return false;\n }\n}\n\nfunction equal_null(x, y) {\n if (y !== null) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_undefined(x, y) {\n if (y !== undefined) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_nullable(x, y) {\n if (y == null) {\n return x === y;\n } else {\n return equal(x, y);\n }\n}\n\nfunction notequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a !== b;\n } else {\n return !equal(a, b);\n }\n}\n\nfunction greaterequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a >= b;\n } else {\n return compare(a, b) >= 0;\n }\n}\n\nfunction greaterthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a > b;\n } else {\n return compare(a, b) > 0;\n }\n}\n\nfunction lessequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a <= b;\n } else {\n return compare(a, b) <= 0;\n }\n}\n\nfunction lessthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a < b;\n } else {\n return compare(a, b) < 0;\n }\n}\n\nfunction min(x, y) {\n if (compare(x, y) <= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction max(x, y) {\n if (compare(x, y) >= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.obj_dup = obj_dup;\nexports.update_dummy = update_dummy;\nexports.compare = compare;\nexports.equal = equal;\nexports.equal_null = equal_null;\nexports.equal_undefined = equal_undefined;\nexports.equal_nullable = equal_nullable;\nexports.notequal = notequal;\nexports.greaterequal = greaterequal;\nexports.greaterthan = greaterthan;\nexports.lessthan = lessthan;\nexports.lessequal = lessequal;\nexports.min = min;\nexports.max = max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_obj.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_option.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_option.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction isNested(x) {\n return x.BS_PRIVATE_NESTED_SOME_NONE !== undefined;\n}\n\nfunction some(x) {\n if (x === undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: 0\n };\n } else if (x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: x.BS_PRIVATE_NESTED_SOME_NONE + 1 | 0\n };\n } else {\n return x;\n }\n}\n\nfunction nullable_to_opt(x) {\n if (x == null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction undefined_to_opt(x) {\n if (x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction null_to_opt(x) {\n if (x === null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction valFromOption(x) {\n if (!(x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined)) {\n return x;\n }\n var depth = x.BS_PRIVATE_NESTED_SOME_NONE;\n if (depth === 0) {\n return ;\n } else {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: depth - 1 | 0\n };\n }\n}\n\nfunction option_get(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x);\n }\n}\n\nfunction option_unwrap(x) {\n if (x !== undefined) {\n return x.VAL;\n } else {\n return x;\n }\n}\n\nexports.nullable_to_opt = nullable_to_opt;\nexports.undefined_to_opt = undefined_to_opt;\nexports.null_to_opt = null_to_opt;\nexports.valFromOption = valFromOption;\nexports.some = some;\nexports.isNested = isNested;\nexports.option_get = option_get;\nexports.option_unwrap = option_unwrap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_splice_call.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_splice_call.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar spliceApply = (function(fn,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return fn.apply(null,applied)\n});\n\nvar spliceNewApply = (function (ctor,args){\n var i, argLen;\n argLen = args.length\n var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in `args` to be `null`\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n var C = Function.prototype.bind.apply(ctor, applied)\n return new C()\n});\n\nvar spliceObjApply = (function(obj,name,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return (obj[name]).apply(obj,applied)\n});\n\nexports.spliceApply = spliceApply;\nexports.spliceNewApply = spliceNewApply;\nexports.spliceObjApply = spliceObjApply;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_splice_call.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/curry.js": -/*!*********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/curry.js ***! - \*********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_array = __webpack_require__(/*! ./caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\n\nfunction app(_f, _args) {\n while(true) {\n var args = _args;\n var f = _f;\n var init_arity = f.length;\n var arity = init_arity === 0 ? 1 : init_arity;\n var len = args.length;\n var d = arity - len | 0;\n if (d === 0) {\n return f.apply(null, args);\n }\n if (d >= 0) {\n return (function(f,args){\n return function (x) {\n return app(f, args.concat([x]));\n }\n }(f,args));\n }\n _args = Caml_array.sub(args, arity, -d | 0);\n _f = f.apply(null, Caml_array.sub(args, 0, arity));\n continue ;\n };\n}\n\nfunction _1(o, a0) {\n var arity = o.length;\n if (arity === 1) {\n return o(a0);\n } else {\n switch (arity) {\n case 1 :\n return o(a0);\n case 2 :\n return function (param) {\n return o(a0, param);\n };\n case 3 :\n return function (param, param$1) {\n return o(a0, param, param$1);\n };\n case 4 :\n return function (param, param$1, param$2) {\n return o(a0, param, param$1, param$2);\n };\n case 5 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, param, param$1, param$2, param$3);\n };\n case 6 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, param, param$1, param$2, param$3, param$4);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4, param$5) {\n return o(a0, param, param$1, param$2, param$3, param$4, param$5);\n };\n default:\n return app(o, [a0]);\n }\n }\n}\n\nfunction __1(o) {\n var arity = o.length;\n if (arity === 1) {\n return o;\n } else {\n return function (a0) {\n return _1(o, a0);\n };\n }\n}\n\nfunction _2(o, a0, a1) {\n var arity = o.length;\n if (arity === 2) {\n return o(a0, a1);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [a1]);\n case 2 :\n return o(a0, a1);\n case 3 :\n return function (param) {\n return o(a0, a1, param);\n };\n case 4 :\n return function (param, param$1) {\n return o(a0, a1, param, param$1);\n };\n case 5 :\n return function (param, param$1, param$2) {\n return o(a0, a1, param, param$1, param$2);\n };\n case 6 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, param, param$1, param$2, param$3);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, a1, param, param$1, param$2, param$3, param$4);\n };\n default:\n return app(o, [\n a0,\n a1\n ]);\n }\n }\n}\n\nfunction __2(o) {\n var arity = o.length;\n if (arity === 2) {\n return o;\n } else {\n return function (a0, a1) {\n return _2(o, a0, a1);\n };\n }\n}\n\nfunction _3(o, a0, a1, a2) {\n var arity = o.length;\n if (arity === 3) {\n return o(a0, a1, a2);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2\n ]);\n case 2 :\n return app(o(a0, a1), [a2]);\n case 3 :\n return o(a0, a1, a2);\n case 4 :\n return function (param) {\n return o(a0, a1, a2, param);\n };\n case 5 :\n return function (param, param$1) {\n return o(a0, a1, a2, param, param$1);\n };\n case 6 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, param, param$1, param$2);\n };\n case 7 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, a2, param, param$1, param$2, param$3);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2\n ]);\n }\n }\n}\n\nfunction __3(o) {\n var arity = o.length;\n if (arity === 3) {\n return o;\n } else {\n return function (a0, a1, a2) {\n return _3(o, a0, a1, a2);\n };\n }\n}\n\nfunction _4(o, a0, a1, a2, a3) {\n var arity = o.length;\n if (arity === 4) {\n return o(a0, a1, a2, a3);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3\n ]);\n case 3 :\n return app(o(a0, a1, a2), [a3]);\n case 4 :\n return o(a0, a1, a2, a3);\n case 5 :\n return function (param) {\n return o(a0, a1, a2, a3, param);\n };\n case 6 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, param, param$1);\n };\n case 7 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, a3, param, param$1, param$2);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3\n ]);\n }\n }\n}\n\nfunction __4(o) {\n var arity = o.length;\n if (arity === 4) {\n return o;\n } else {\n return function (a0, a1, a2, a3) {\n return _4(o, a0, a1, a2, a3);\n };\n }\n}\n\nfunction _5(o, a0, a1, a2, a3, a4) {\n var arity = o.length;\n if (arity === 5) {\n return o(a0, a1, a2, a3, a4);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [a4]);\n case 5 :\n return o(a0, a1, a2, a3, a4);\n case 6 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, param);\n };\n case 7 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, a4, param, param$1);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4\n ]);\n }\n }\n}\n\nfunction __5(o) {\n var arity = o.length;\n if (arity === 5) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4) {\n return _5(o, a0, a1, a2, a3, a4);\n };\n }\n}\n\nfunction _6(o, a0, a1, a2, a3, a4, a5) {\n var arity = o.length;\n if (arity === 6) {\n return o(a0, a1, a2, a3, a4, a5);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [a5]);\n case 6 :\n return o(a0, a1, a2, a3, a4, a5);\n case 7 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, a5, param);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n }\n }\n}\n\nfunction __6(o) {\n var arity = o.length;\n if (arity === 6) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5) {\n return _6(o, a0, a1, a2, a3, a4, a5);\n };\n }\n}\n\nfunction _7(o, a0, a1, a2, a3, a4, a5, a6) {\n var arity = o.length;\n if (arity === 7) {\n return o(a0, a1, a2, a3, a4, a5, a6);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [a6]);\n case 7 :\n return o(a0, a1, a2, a3, a4, a5, a6);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n }\n }\n}\n\nfunction __7(o) {\n var arity = o.length;\n if (arity === 7) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return _7(o, a0, a1, a2, a3, a4, a5, a6);\n };\n }\n}\n\nfunction _8(o, a0, a1, a2, a3, a4, a5, a6, a7) {\n var arity = o.length;\n if (arity === 8) {\n return o(a0, a1, a2, a3, a4, a5, a6, a7);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6,\n a7\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6,\n a7\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [\n a6,\n a7\n ]);\n case 7 :\n return app(o(a0, a1, a2, a3, a4, a5, a6), [a7]);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n }\n }\n}\n\nfunction __8(o) {\n var arity = o.length;\n if (arity === 8) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return _8(o, a0, a1, a2, a3, a4, a5, a6, a7);\n };\n }\n}\n\nexports.app = app;\nexports._1 = _1;\nexports.__1 = __1;\nexports._2 = _2;\nexports.__2 = __2;\nexports._3 = _3;\nexports.__3 = __3;\nexports._4 = _4;\nexports.__4 = __4;\nexports._5 = _5;\nexports.__5 = __5;\nexports._6 = _6;\nexports.__6 = __6;\nexports._7 = _7;\nexports.__7 = __7;\nexports._8 = _8;\nexports.__8 = __8;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/curry.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_array.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_array.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_splice_call = __webpack_require__(/*! ./caml_splice_call.js */ \"../../../../node_modules/rescript/lib/js/caml_splice_call.js\");\n\nfunction copyWithin(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction push(arg1, obj) {\n return obj.push(arg1);\n}\n\nfunction pushMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"push\", [arg1]);\n}\n\nfunction sortInPlaceWith(arg1, obj) {\n return obj.sort(Curry.__2(arg1));\n}\n\nfunction spliceInPlace(pos, remove, add, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"splice\", [\n pos,\n remove,\n add\n ]);\n}\n\nfunction removeFromInPlace(pos, obj) {\n return obj.splice(pos);\n}\n\nfunction removeCountInPlace(pos, count, obj) {\n return obj.splice(pos, count);\n}\n\nfunction unshift(arg1, obj) {\n return obj.unshift(arg1);\n}\n\nfunction unshiftMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"unshift\", [arg1]);\n}\n\nfunction concat(arg1, obj) {\n return obj.concat(arg1);\n}\n\nfunction concatMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"concat\", [arg1]);\n}\n\nfunction includes(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction every(arg1, obj) {\n return obj.every(Curry.__1(arg1));\n}\n\nfunction everyi(arg1, obj) {\n return obj.every(Curry.__2(arg1));\n}\n\nfunction filter(arg1, obj) {\n return obj.filter(Curry.__1(arg1));\n}\n\nfunction filteri(arg1, obj) {\n return obj.filter(Curry.__2(arg1));\n}\n\nfunction find(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__1(arg1)));\n}\n\nfunction findi(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__2(arg1)));\n}\n\nfunction findIndex(arg1, obj) {\n return obj.findIndex(Curry.__1(arg1));\n}\n\nfunction findIndexi(arg1, obj) {\n return obj.findIndex(Curry.__2(arg1));\n}\n\nfunction forEach(arg1, obj) {\n obj.forEach(Curry.__1(arg1));\n}\n\nfunction forEachi(arg1, obj) {\n obj.forEach(Curry.__2(arg1));\n}\n\nfunction map(arg1, obj) {\n return obj.map(Curry.__1(arg1));\n}\n\nfunction mapi(arg1, obj) {\n return obj.map(Curry.__2(arg1));\n}\n\nfunction reduce(arg1, arg2, obj) {\n return obj.reduce(Curry.__2(arg1), arg2);\n}\n\nfunction reducei(arg1, arg2, obj) {\n return obj.reduce(Curry.__3(arg1), arg2);\n}\n\nfunction reduceRight(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__2(arg1), arg2);\n}\n\nfunction reduceRighti(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__3(arg1), arg2);\n}\n\nfunction some(arg1, obj) {\n return obj.some(Curry.__1(arg1));\n}\n\nfunction somei(arg1, obj) {\n return obj.some(Curry.__2(arg1));\n}\n\nexports.copyWithin = copyWithin;\nexports.copyWithinFrom = copyWithinFrom;\nexports.copyWithinFromRange = copyWithinFromRange;\nexports.fillInPlace = fillInPlace;\nexports.fillFromInPlace = fillFromInPlace;\nexports.fillRangeInPlace = fillRangeInPlace;\nexports.push = push;\nexports.pushMany = pushMany;\nexports.sortInPlaceWith = sortInPlaceWith;\nexports.spliceInPlace = spliceInPlace;\nexports.removeFromInPlace = removeFromInPlace;\nexports.removeCountInPlace = removeCountInPlace;\nexports.unshift = unshift;\nexports.unshiftMany = unshiftMany;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.includes = includes;\nexports.indexOf = indexOf;\nexports.indexOfFrom = indexOfFrom;\nexports.joinWith = joinWith;\nexports.lastIndexOf = lastIndexOf;\nexports.lastIndexOfFrom = lastIndexOfFrom;\nexports.slice = slice;\nexports.sliceFrom = sliceFrom;\nexports.every = every;\nexports.everyi = everyi;\nexports.filter = filter;\nexports.filteri = filteri;\nexports.find = find;\nexports.findi = findi;\nexports.findIndex = findIndex;\nexports.findIndexi = findIndexi;\nexports.forEach = forEach;\nexports.forEachi = forEachi;\nexports.map = map;\nexports.mapi = mapi;\nexports.reduce = reduce;\nexports.reducei = reducei;\nexports.reduceRight = reduceRight;\nexports.reduceRighti = reduceRighti;\nexports.some = some;\nexports.somei = somei;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_dict.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_dict.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(dict, k) {\n if ((k in dict)) {\n return Caml_option.some(dict[k]);\n }\n \n}\n\nvar unsafeDeleteKey = (function (dict,key){\n delete dict[key];\n });\n\nfunction entries(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values = new Array(l);\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n values[i] = [\n key,\n dict[key]\n ];\n }\n return values;\n}\n\nfunction values(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values$1 = new Array(l);\n for(var i = 0; i < l; ++i){\n values$1[i] = dict[keys[i]];\n }\n return values$1;\n}\n\nfunction fromList(entries) {\n var dict = {};\n var _param = entries;\n while(true) {\n var param = _param;\n if (!param) {\n return dict;\n }\n var match = param.hd;\n dict[match[0]] = match[1];\n _param = param.tl;\n continue ;\n };\n}\n\nfunction fromArray(entries) {\n var dict = {};\n var l = entries.length;\n for(var i = 0; i < l; ++i){\n var match = entries[i];\n dict[match[0]] = match[1];\n }\n return dict;\n}\n\nfunction map(f, source) {\n var target = {};\n var keys = Object.keys(source);\n var l = keys.length;\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n target[key] = f(source[key]);\n }\n return target;\n}\n\nexports.get = get;\nexports.unsafeDeleteKey = unsafeDeleteKey;\nexports.entries = entries;\nexports.values = values;\nexports.fromList = fromList;\nexports.fromArray = fromArray;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_dict.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_exn.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_exn.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction raiseError(str) {\n throw new Error(str);\n}\n\nfunction raiseEvalError(str) {\n throw new EvalError(str);\n}\n\nfunction raiseRangeError(str) {\n throw new RangeError(str);\n}\n\nfunction raiseReferenceError(str) {\n throw new ReferenceError(str);\n}\n\nfunction raiseSyntaxError(str) {\n throw new SyntaxError(str);\n}\n\nfunction raiseTypeError(str) {\n throw new TypeError(str);\n}\n\nfunction raiseUriError(str) {\n throw new URIError(str);\n}\n\nvar $$Error$1 = \"JsError\";\n\nexports.$$Error = $$Error$1;\nexports.raiseError = raiseError;\nexports.raiseEvalError = raiseEvalError;\nexports.raiseRangeError = raiseRangeError;\nexports.raiseReferenceError = raiseReferenceError;\nexports.raiseSyntaxError = raiseSyntaxError;\nexports.raiseTypeError = raiseTypeError;\nexports.raiseUriError = raiseUriError;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_exn.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_int.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_int.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction equal(x, y) {\n return x === y;\n}\n\nvar max = 2147483647;\n\nvar min = -2147483648;\n\nexports.equal = equal;\nexports.max = max;\nexports.min = min;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_int.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_math.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_math.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_int = __webpack_require__(/*! ./js_int.js */ \"../../../../node_modules/rescript/lib/js/js_int.js\");\n\nfunction unsafe_ceil(prim) {\n return Math.ceil(prim);\n}\n\nfunction ceil_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.ceil(f);\n }\n}\n\nfunction unsafe_floor(prim) {\n return Math.floor(prim);\n}\n\nfunction floor_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.floor(f);\n }\n}\n\nfunction random_int(min, max) {\n return floor_int(Math.random() * (max - min | 0)) + min | 0;\n}\n\nvar ceil = ceil_int;\n\nvar floor = floor_int;\n\nexports.unsafe_ceil = unsafe_ceil;\nexports.ceil_int = ceil_int;\nexports.ceil = ceil;\nexports.unsafe_floor = unsafe_floor;\nexports.floor_int = floor_int;\nexports.floor = floor;\nexports.random_int = random_int;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_math.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_null_undefined.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_null_undefined.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction bind(x, f) {\n if (x == null) {\n return x;\n } else {\n return f(x);\n }\n}\n\nfunction iter(x, f) {\n if (!(x == null)) {\n return f(x);\n }\n \n}\n\nfunction fromOption(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n \n}\n\nvar from_opt = fromOption;\n\nexports.bind = bind;\nexports.iter = iter;\nexports.fromOption = fromOption;\nexports.from_opt = from_opt;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_null_undefined.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_option.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_option.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction some(x) {\n return Caml_option.some(x);\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isSomeValue(eq, v, x) {\n if (x !== undefined) {\n return eq(v, Caml_option.valFromOption(x));\n } else {\n return false;\n }\n}\n\nfunction isNone(param) {\n return param === undefined;\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw new Error(\"getExn\");\n}\n\nfunction equal(eq, a, b) {\n if (a !== undefined) {\n if (b !== undefined) {\n return eq(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction andThen(f, x) {\n if (x !== undefined) {\n return f(Caml_option.valFromOption(x));\n }\n \n}\n\nfunction map(f, x) {\n if (x !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(x)));\n }\n \n}\n\nfunction getWithDefault(a, x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n } else {\n return a;\n }\n}\n\nfunction filter(f, x) {\n if (x === undefined) {\n return ;\n }\n var x$1 = Caml_option.valFromOption(x);\n if (f(x$1)) {\n return Caml_option.some(x$1);\n }\n \n}\n\nfunction firstSome(a, b) {\n if (a !== undefined) {\n return a;\n } else if (b !== undefined) {\n return b;\n } else {\n return ;\n }\n}\n\nvar $$default = getWithDefault;\n\nexports.some = some;\nexports.isSome = isSome;\nexports.isSomeValue = isSomeValue;\nexports.isNone = isNone;\nexports.getExn = getExn;\nexports.equal = equal;\nexports.andThen = andThen;\nexports.map = map;\nexports.getWithDefault = getWithDefault;\nexports.$$default = $$default;\nexports[\"default\"] = $$default;\nexports.__esModule = true;\nexports.filter = filter;\nexports.firstSome = firstSome;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_promise.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_promise.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\n\nfunction then_(arg1, obj) {\n return obj.then(Curry.__1(arg1));\n}\n\nfunction $$catch(arg1, obj) {\n return obj.catch(Curry.__1(arg1));\n}\n\nexports.then_ = then_;\nexports.$$catch = $$catch;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_promise.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_typed_array.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_typed_array.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nfunction slice(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom(arg1, obj) {\n return obj.slice(arg1);\n}\n\nvar $$ArrayBuffer = {\n slice: slice,\n sliceFrom: sliceFrom\n};\n\nfunction setArray(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$1(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$1(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Int8Array = {\n setArray: setArray,\n setArrayOffset: setArrayOffset,\n copyWithin: copyWithin,\n copyWithinFrom: copyWithinFrom,\n copyWithinFromRange: copyWithinFromRange,\n fillInPlace: fillInPlace,\n fillFromInPlace: fillFromInPlace,\n fillRangeInPlace: fillRangeInPlace,\n sortInPlaceWith: sortInPlaceWith,\n includes: includes,\n indexOf: indexOf,\n indexOfFrom: indexOfFrom,\n joinWith: joinWith,\n lastIndexOf: lastIndexOf,\n lastIndexOfFrom: lastIndexOfFrom,\n slice: slice$1,\n sliceFrom: sliceFrom$1,\n subarray: subarray,\n subarrayFrom: subarrayFrom,\n every: every,\n everyi: everyi,\n filter: filter,\n filteri: filteri,\n find: find,\n findi: findi,\n findIndex: findIndex,\n findIndexi: findIndexi,\n forEach: forEach,\n forEachi: forEachi,\n map: map,\n mapi: mapi,\n reduce: reduce,\n reducei: reducei,\n reduceRight: reduceRight,\n reduceRighti: reduceRighti,\n some: some,\n somei: somei\n};\n\nfunction setArray$1(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$1(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$1(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$1(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$1(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$1(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$1(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$1(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$1(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$1(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$1(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$1(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$1(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$1(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$1(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$2(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$2(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$1(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$1(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$1(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$1(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$1(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$1(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$1(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$1(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$1(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$1(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$1(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$1(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$1(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$1(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$1(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$1(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$1(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$1(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$1(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$1(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Uint8Array = {\n setArray: setArray$1,\n setArrayOffset: setArrayOffset$1,\n copyWithin: copyWithin$1,\n copyWithinFrom: copyWithinFrom$1,\n copyWithinFromRange: copyWithinFromRange$1,\n fillInPlace: fillInPlace$1,\n fillFromInPlace: fillFromInPlace$1,\n fillRangeInPlace: fillRangeInPlace$1,\n sortInPlaceWith: sortInPlaceWith$1,\n includes: includes$1,\n indexOf: indexOf$1,\n indexOfFrom: indexOfFrom$1,\n joinWith: joinWith$1,\n lastIndexOf: lastIndexOf$1,\n lastIndexOfFrom: lastIndexOfFrom$1,\n slice: slice$2,\n sliceFrom: sliceFrom$2,\n subarray: subarray$1,\n subarrayFrom: subarrayFrom$1,\n every: every$1,\n everyi: everyi$1,\n filter: filter$1,\n filteri: filteri$1,\n find: find$1,\n findi: findi$1,\n findIndex: findIndex$1,\n findIndexi: findIndexi$1,\n forEach: forEach$1,\n forEachi: forEachi$1,\n map: map$1,\n mapi: mapi$1,\n reduce: reduce$1,\n reducei: reducei$1,\n reduceRight: reduceRight$1,\n reduceRighti: reduceRighti$1,\n some: some$1,\n somei: somei$1\n};\n\nfunction setArray$2(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$2(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$2(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$2(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$2(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$2(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$2(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$2(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$2(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$2(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$2(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$2(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$2(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$2(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$2(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$3(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$3(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$2(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$2(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$2(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$2(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$2(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$2(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$2(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$2(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$2(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$2(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$2(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$2(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$2(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$2(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$2(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$2(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$2(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$2(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$2(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$2(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Uint8ClampedArray = {\n setArray: setArray$2,\n setArrayOffset: setArrayOffset$2,\n copyWithin: copyWithin$2,\n copyWithinFrom: copyWithinFrom$2,\n copyWithinFromRange: copyWithinFromRange$2,\n fillInPlace: fillInPlace$2,\n fillFromInPlace: fillFromInPlace$2,\n fillRangeInPlace: fillRangeInPlace$2,\n sortInPlaceWith: sortInPlaceWith$2,\n includes: includes$2,\n indexOf: indexOf$2,\n indexOfFrom: indexOfFrom$2,\n joinWith: joinWith$2,\n lastIndexOf: lastIndexOf$2,\n lastIndexOfFrom: lastIndexOfFrom$2,\n slice: slice$3,\n sliceFrom: sliceFrom$3,\n subarray: subarray$2,\n subarrayFrom: subarrayFrom$2,\n every: every$2,\n everyi: everyi$2,\n filter: filter$2,\n filteri: filteri$2,\n find: find$2,\n findi: findi$2,\n findIndex: findIndex$2,\n findIndexi: findIndexi$2,\n forEach: forEach$2,\n forEachi: forEachi$2,\n map: map$2,\n mapi: mapi$2,\n reduce: reduce$2,\n reducei: reducei$2,\n reduceRight: reduceRight$2,\n reduceRighti: reduceRighti$2,\n some: some$2,\n somei: somei$2\n};\n\nfunction setArray$3(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$3(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$3(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$3(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$3(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$3(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$3(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$3(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$3(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$3(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$3(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$3(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$3(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$3(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$3(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$4(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$4(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$3(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$3(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$3(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$3(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$3(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$3(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$3(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$3(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$3(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$3(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$3(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$3(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$3(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$3(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$3(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$3(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$3(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$3(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$3(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$3(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Int16Array = {\n setArray: setArray$3,\n setArrayOffset: setArrayOffset$3,\n copyWithin: copyWithin$3,\n copyWithinFrom: copyWithinFrom$3,\n copyWithinFromRange: copyWithinFromRange$3,\n fillInPlace: fillInPlace$3,\n fillFromInPlace: fillFromInPlace$3,\n fillRangeInPlace: fillRangeInPlace$3,\n sortInPlaceWith: sortInPlaceWith$3,\n includes: includes$3,\n indexOf: indexOf$3,\n indexOfFrom: indexOfFrom$3,\n joinWith: joinWith$3,\n lastIndexOf: lastIndexOf$3,\n lastIndexOfFrom: lastIndexOfFrom$3,\n slice: slice$4,\n sliceFrom: sliceFrom$4,\n subarray: subarray$3,\n subarrayFrom: subarrayFrom$3,\n every: every$3,\n everyi: everyi$3,\n filter: filter$3,\n filteri: filteri$3,\n find: find$3,\n findi: findi$3,\n findIndex: findIndex$3,\n findIndexi: findIndexi$3,\n forEach: forEach$3,\n forEachi: forEachi$3,\n map: map$3,\n mapi: mapi$3,\n reduce: reduce$3,\n reducei: reducei$3,\n reduceRight: reduceRight$3,\n reduceRighti: reduceRighti$3,\n some: some$3,\n somei: somei$3\n};\n\nfunction setArray$4(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$4(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$4(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$4(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$4(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$4(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$4(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$4(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$4(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$4(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$4(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$4(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$4(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$4(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$4(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$5(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$5(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$4(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$4(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$4(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$4(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$4(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$4(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$4(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$4(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$4(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$4(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$4(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$4(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$4(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$4(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$4(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$4(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$4(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$4(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$4(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$4(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Uint16Array = {\n setArray: setArray$4,\n setArrayOffset: setArrayOffset$4,\n copyWithin: copyWithin$4,\n copyWithinFrom: copyWithinFrom$4,\n copyWithinFromRange: copyWithinFromRange$4,\n fillInPlace: fillInPlace$4,\n fillFromInPlace: fillFromInPlace$4,\n fillRangeInPlace: fillRangeInPlace$4,\n sortInPlaceWith: sortInPlaceWith$4,\n includes: includes$4,\n indexOf: indexOf$4,\n indexOfFrom: indexOfFrom$4,\n joinWith: joinWith$4,\n lastIndexOf: lastIndexOf$4,\n lastIndexOfFrom: lastIndexOfFrom$4,\n slice: slice$5,\n sliceFrom: sliceFrom$5,\n subarray: subarray$4,\n subarrayFrom: subarrayFrom$4,\n every: every$4,\n everyi: everyi$4,\n filter: filter$4,\n filteri: filteri$4,\n find: find$4,\n findi: findi$4,\n findIndex: findIndex$4,\n findIndexi: findIndexi$4,\n forEach: forEach$4,\n forEachi: forEachi$4,\n map: map$4,\n mapi: mapi$4,\n reduce: reduce$4,\n reducei: reducei$4,\n reduceRight: reduceRight$4,\n reduceRighti: reduceRighti$4,\n some: some$4,\n somei: somei$4\n};\n\nfunction setArray$5(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$5(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$5(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$5(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$5(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$5(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$5(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$5(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$5(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$5(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$5(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$5(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$5(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$5(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$5(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$6(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$6(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$5(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$5(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$5(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$5(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$5(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$5(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$5(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$5(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$5(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$5(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$5(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$5(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$5(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$5(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$5(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$5(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$5(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$5(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$5(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$5(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Int32Array = {\n setArray: setArray$5,\n setArrayOffset: setArrayOffset$5,\n copyWithin: copyWithin$5,\n copyWithinFrom: copyWithinFrom$5,\n copyWithinFromRange: copyWithinFromRange$5,\n fillInPlace: fillInPlace$5,\n fillFromInPlace: fillFromInPlace$5,\n fillRangeInPlace: fillRangeInPlace$5,\n sortInPlaceWith: sortInPlaceWith$5,\n includes: includes$5,\n indexOf: indexOf$5,\n indexOfFrom: indexOfFrom$5,\n joinWith: joinWith$5,\n lastIndexOf: lastIndexOf$5,\n lastIndexOfFrom: lastIndexOfFrom$5,\n slice: slice$6,\n sliceFrom: sliceFrom$6,\n subarray: subarray$5,\n subarrayFrom: subarrayFrom$5,\n every: every$5,\n everyi: everyi$5,\n filter: filter$5,\n filteri: filteri$5,\n find: find$5,\n findi: findi$5,\n findIndex: findIndex$5,\n findIndexi: findIndexi$5,\n forEach: forEach$5,\n forEachi: forEachi$5,\n map: map$5,\n mapi: mapi$5,\n reduce: reduce$5,\n reducei: reducei$5,\n reduceRight: reduceRight$5,\n reduceRighti: reduceRighti$5,\n some: some$5,\n somei: somei$5\n};\n\nfunction setArray$6(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$6(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$6(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$6(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$6(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$6(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$6(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$6(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$6(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$6(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$6(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$6(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$6(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$6(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$6(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$7(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$7(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$6(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$6(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$6(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$6(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$6(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$6(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$6(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$6(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$6(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$6(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$6(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$6(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$6(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$6(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$6(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$6(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$6(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$6(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$6(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$6(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Uint32Array = {\n setArray: setArray$6,\n setArrayOffset: setArrayOffset$6,\n copyWithin: copyWithin$6,\n copyWithinFrom: copyWithinFrom$6,\n copyWithinFromRange: copyWithinFromRange$6,\n fillInPlace: fillInPlace$6,\n fillFromInPlace: fillFromInPlace$6,\n fillRangeInPlace: fillRangeInPlace$6,\n sortInPlaceWith: sortInPlaceWith$6,\n includes: includes$6,\n indexOf: indexOf$6,\n indexOfFrom: indexOfFrom$6,\n joinWith: joinWith$6,\n lastIndexOf: lastIndexOf$6,\n lastIndexOfFrom: lastIndexOfFrom$6,\n slice: slice$7,\n sliceFrom: sliceFrom$7,\n subarray: subarray$6,\n subarrayFrom: subarrayFrom$6,\n every: every$6,\n everyi: everyi$6,\n filter: filter$6,\n filteri: filteri$6,\n find: find$6,\n findi: findi$6,\n findIndex: findIndex$6,\n findIndexi: findIndexi$6,\n forEach: forEach$6,\n forEachi: forEachi$6,\n map: map$6,\n mapi: mapi$6,\n reduce: reduce$6,\n reducei: reducei$6,\n reduceRight: reduceRight$6,\n reduceRighti: reduceRighti$6,\n some: some$6,\n somei: somei$6\n};\n\nfunction setArray$7(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$7(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$7(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$7(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$7(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$7(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$7(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$7(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$7(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$7(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$7(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$7(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$7(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$7(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$7(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$8(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$8(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$7(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$7(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$7(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$7(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$7(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$7(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$7(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$7(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$7(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$7(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$7(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$7(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$7(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$7(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$7(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$7(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$7(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$7(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$7(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$7(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Float32Array = {\n setArray: setArray$7,\n setArrayOffset: setArrayOffset$7,\n copyWithin: copyWithin$7,\n copyWithinFrom: copyWithinFrom$7,\n copyWithinFromRange: copyWithinFromRange$7,\n fillInPlace: fillInPlace$7,\n fillFromInPlace: fillFromInPlace$7,\n fillRangeInPlace: fillRangeInPlace$7,\n sortInPlaceWith: sortInPlaceWith$7,\n includes: includes$7,\n indexOf: indexOf$7,\n indexOfFrom: indexOfFrom$7,\n joinWith: joinWith$7,\n lastIndexOf: lastIndexOf$7,\n lastIndexOfFrom: lastIndexOfFrom$7,\n slice: slice$8,\n sliceFrom: sliceFrom$8,\n subarray: subarray$7,\n subarrayFrom: subarrayFrom$7,\n every: every$7,\n everyi: everyi$7,\n filter: filter$7,\n filteri: filteri$7,\n find: find$7,\n findi: findi$7,\n findIndex: findIndex$7,\n findIndexi: findIndexi$7,\n forEach: forEach$7,\n forEachi: forEachi$7,\n map: map$7,\n mapi: mapi$7,\n reduce: reduce$7,\n reducei: reducei$7,\n reduceRight: reduceRight$7,\n reduceRighti: reduceRighti$7,\n some: some$7,\n somei: somei$7\n};\n\nfunction setArray$8(arg1, obj) {\n obj.set(arg1);\n}\n\nfunction setArrayOffset$8(arg1, arg2, obj) {\n obj.set(arg1, arg2);\n}\n\nfunction copyWithin$8(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom$8(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange$8(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace$8(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace$8(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace$8(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction sortInPlaceWith$8(arg1, obj) {\n return obj.sort(arg1);\n}\n\nfunction includes$8(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf$8(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom$8(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith$8(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf$8(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom$8(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice$9(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom$9(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction subarray$8(start, end_, obj) {\n return obj.subarray(start, end_);\n}\n\nfunction subarrayFrom$8(arg1, obj) {\n return obj.subarray(arg1);\n}\n\nfunction every$8(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction everyi$8(arg1, obj) {\n return obj.every(arg1);\n}\n\nfunction filter$8(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction filteri$8(arg1, obj) {\n return obj.filter(arg1);\n}\n\nfunction find$8(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findi$8(arg1, obj) {\n return obj.find(arg1);\n}\n\nfunction findIndex$8(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction findIndexi$8(arg1, obj) {\n return obj.findIndex(arg1);\n}\n\nfunction forEach$8(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction forEachi$8(arg1, obj) {\n obj.forEach(arg1);\n}\n\nfunction map$8(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction mapi$8(arg1, obj) {\n return obj.map(arg1);\n}\n\nfunction reduce$8(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reducei$8(arg1, arg2, obj) {\n return obj.reduce(arg1, arg2);\n}\n\nfunction reduceRight$8(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction reduceRighti$8(arg1, arg2, obj) {\n return obj.reduceRight(arg1, arg2);\n}\n\nfunction some$8(arg1, obj) {\n return obj.some(arg1);\n}\n\nfunction somei$8(arg1, obj) {\n return obj.some(arg1);\n}\n\nvar $$Float64Array = {\n setArray: setArray$8,\n setArrayOffset: setArrayOffset$8,\n copyWithin: copyWithin$8,\n copyWithinFrom: copyWithinFrom$8,\n copyWithinFromRange: copyWithinFromRange$8,\n fillInPlace: fillInPlace$8,\n fillFromInPlace: fillFromInPlace$8,\n fillRangeInPlace: fillRangeInPlace$8,\n sortInPlaceWith: sortInPlaceWith$8,\n includes: includes$8,\n indexOf: indexOf$8,\n indexOfFrom: indexOfFrom$8,\n joinWith: joinWith$8,\n lastIndexOf: lastIndexOf$8,\n lastIndexOfFrom: lastIndexOfFrom$8,\n slice: slice$9,\n sliceFrom: sliceFrom$9,\n subarray: subarray$8,\n subarrayFrom: subarrayFrom$8,\n every: every$8,\n everyi: everyi$8,\n filter: filter$8,\n filteri: filteri$8,\n find: find$8,\n findi: findi$8,\n findIndex: findIndex$8,\n findIndexi: findIndexi$8,\n forEach: forEach$8,\n forEachi: forEachi$8,\n map: map$8,\n mapi: mapi$8,\n reduce: reduce$8,\n reducei: reducei$8,\n reduceRight: reduceRight$8,\n reduceRighti: reduceRighti$8,\n some: some$8,\n somei: somei$8\n};\n\nvar $$DataView = {};\n\nvar Int32_array;\n\nvar Float32_array;\n\nvar Float64_array;\n\nexports.$$ArrayBuffer = $$ArrayBuffer;\nexports.$$Int8Array = $$Int8Array;\nexports.$$Uint8Array = $$Uint8Array;\nexports.$$Uint8ClampedArray = $$Uint8ClampedArray;\nexports.$$Int16Array = $$Int16Array;\nexports.$$Uint16Array = $$Uint16Array;\nexports.$$Int32Array = $$Int32Array;\nexports.Int32_array = Int32_array;\nexports.$$Uint32Array = $$Uint32Array;\nexports.$$Float32Array = $$Float32Array;\nexports.Float32_array = Float32_array;\nexports.$$Float64Array = $$Float64Array;\nexports.Float64_array = Float64_array;\nexports.$$DataView = $$DataView;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_typed_array.js?"); - -/***/ }), - -/***/ "./lib/js/src/Main.bs.js": -/*!*******************************!*\ - !*** ./lib/js/src/Main.bs.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Main$Meta3dEventDataUtils = __webpack_require__(/*! meta3d-event-data-utils/lib/js/src/Main.bs.js */ \"../../../../utils/meta3d-event-data-utils/lib/js/src/Main.bs.js\");\nvar ParseEventData$Meta3dEventData = __webpack_require__(/*! ./ParseEventData.bs.js */ \"./lib/js/src/ParseEventData.bs.js\");\n\nfunction getExtensionService(api) {\n return {\n parseEventData: ParseEventData$Meta3dEventData.parse,\n exportEventData: Main$Meta3dEventDataUtils.exportEventData,\n generateEventDataBuffer: Main$Meta3dEventDataUtils.generateEventDataBuffer\n };\n}\n\nfunction createExtensionState(param, param$1) {\n return {};\n}\n\nfunction getExtensionLife(api, extensionProtocolName) {\n return {\n onRegister: null,\n onRestore: null,\n onDeepCopy: null,\n onStart: null,\n onInit: null,\n onUpdate: null\n };\n}\n\nexports.getExtensionService = getExtensionService;\nexports.createExtensionState = createExtensionState;\nexports.getExtensionLife = getExtensionLife;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/Main.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/ParseEventData.bs.js": -/*!*****************************************!*\ - !*** ./lib/js/src/ParseEventData.bs.js ***! - \*****************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar TextDecoder$Meta3d = __webpack_require__(/*! meta3d/lib/js/src/file/TextDecoder.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/TextDecoder.bs.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar BinaryFileOperator$Meta3d = __webpack_require__(/*! meta3d/lib/js/src/file/BinaryFileOperator.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/BinaryFileOperator.bs.js\");\n\nfunction parse(eventData) {\n var decoder = new TextDecoder(\"utf-8\");\n var match = BinaryFileOperator$Meta3d.load(eventData);\n if (match.length !== 3) {\n throw {\n RE_EXN_ID: \"Match_failure\",\n _1: [\n \"ParseEventData.res\",\n 6,\n 6\n ],\n Error: new Error()\n };\n }\n var allEventsUint8 = match[0];\n var outsideImmutableDataIdUint8 = match[1];\n var outsideImmutableDataUint8 = match[2];\n var outsideImmutableDataIdArr = JSON.parse(TextDecoder$Meta3d.decodeUint8Array(outsideImmutableDataIdUint8, decoder));\n var outsideImmutableDataArr = ArraySt$Meta3dCommonlib.map(BinaryFileOperator$Meta3d.load(outsideImmutableDataUint8.buffer), (function (data) {\n return data.buffer;\n }));\n return ArraySt$Meta3dCommonlib.map(JSON.parse(TextDecoder$Meta3d.decodeUint8Array(allEventsUint8, decoder)), (function (eventData) {\n return {\n name: eventData.name,\n isOnlyRead: eventData.isOnlyRead,\n inputData: ArraySt$Meta3dCommonlib.map(eventData.inputData, (function (singleInputData) {\n var index = Js_array.indexOf(singleInputData, outsideImmutableDataIdArr);\n if (index !== -1) {\n return ArraySt$Meta3dCommonlib.getExn(outsideImmutableDataArr, index);\n } else {\n return singleInputData;\n }\n }))\n };\n }));\n}\n\nexports.parse = parse;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/ParseEventData.bs.js?"); - -/***/ }), - -/***/ "../../../../utils/meta3d-event-data-utils/lib/js/src/ExportEventData.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../utils/meta3d-event-data-utils/lib/js/src/ExportEventData.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_math = __webpack_require__(/*! rescript/lib/js/js_math.js */ \"../../../../node_modules/rescript/lib/js/js_math.js\");\nvar TextEncoder$Meta3d = __webpack_require__(/*! meta3d/lib/js/src/file/TextEncoder.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/TextEncoder.bs.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar BinaryFileOperator$Meta3d = __webpack_require__(/*! meta3d/lib/js/src/file/BinaryFileOperator.bs.js */ \"../../../../defaults/meta3d/lib/js/src/file/BinaryFileOperator.bs.js\");\nvar DownloadUtils$Meta3dFileUtils = __webpack_require__(/*! meta3d-file-utils/lib/js/src/DownloadUtils.bs.js */ \"../../../../utils/meta3d-file-utils/lib/js/src/DownloadUtils.bs.js\");\n\nfunction _generateId(random) {\n return Js_math.floor_int(Curry._1(random, undefined) * 10000000.0);\n}\n\nvar _isArrayBuffer = (function (data){\nreturn data instanceof ArrayBuffer\n});\n\nvar _isOutsideImmutableData = _isArrayBuffer;\n\nfunction _generateEventDataBuffer(random, allEvents) {\n var encoder = new TextEncoder();\n var match = ArraySt$Meta3dCommonlib.reduceOneParam(allEvents, (function (param, eventData) {\n var match = ArraySt$Meta3dCommonlib.reduceOneParam(eventData.inputData, (function (param, singleInputData) {\n var newInputData = param[2];\n var outsideImmutableDataArr = param[1];\n var outsideImmutableDataIdArr = param[0];\n if (!_isArrayBuffer(singleInputData)) {\n return [\n outsideImmutableDataIdArr,\n outsideImmutableDataArr,\n ArraySt$Meta3dCommonlib.push(newInputData, singleInputData)\n ];\n }\n var id = _generateId(random);\n return [\n ArraySt$Meta3dCommonlib.push(outsideImmutableDataIdArr, id),\n ArraySt$Meta3dCommonlib.push(outsideImmutableDataArr, singleInputData),\n ArraySt$Meta3dCommonlib.push(newInputData, id)\n ];\n }), [\n param[0],\n param[1],\n []\n ]);\n return [\n match[0],\n match[1],\n ArraySt$Meta3dCommonlib.push(param[2], {\n name: eventData.name,\n isOnlyRead: eventData.isOnlyRead,\n inputData: match[2]\n })\n ];\n }), [\n [],\n [],\n []\n ]);\n return BinaryFileOperator$Meta3d.generate([\n TextEncoder$Meta3d.encodeUint8Array(JSON.stringify(match[2]), encoder),\n TextEncoder$Meta3d.encodeUint8Array(JSON.stringify(match[0]), encoder),\n new Uint8Array(BinaryFileOperator$Meta3d.generate(ArraySt$Meta3dCommonlib.map(match[1], (function (data) {\n return new Uint8Array(data);\n }))))\n ]);\n}\n\nfunction $$export(allEvents) {\n if (ArraySt$Meta3dCommonlib.length(allEvents) === 0) {\n return ;\n } else {\n return DownloadUtils$Meta3dFileUtils.createAndDownloadBlobFile(_generateEventDataBuffer((function (prim) {\n return Math.random();\n }), allEvents), \"eventData\", \"arraybuffer\");\n }\n}\n\nfunction generateEventDataBuffer(allEvents) {\n return _generateEventDataBuffer((function (prim) {\n return Math.random();\n }), allEvents);\n}\n\nexports._generateId = _generateId;\nexports._isArrayBuffer = _isArrayBuffer;\nexports._isOutsideImmutableData = _isOutsideImmutableData;\nexports._generateEventDataBuffer = _generateEventDataBuffer;\nexports.$$export = $$export;\nexports.generateEventDataBuffer = generateEventDataBuffer;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../utils/meta3d-event-data-utils/lib/js/src/ExportEventData.bs.js?"); - -/***/ }), - -/***/ "../../../../utils/meta3d-event-data-utils/lib/js/src/Main.bs.js": -/*!***********************************************************************!*\ - !*** ../../../../utils/meta3d-event-data-utils/lib/js/src/Main.bs.js ***! - \***********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -eval("\n\nvar NullableSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js\");\nvar ExportEventData$Meta3dEventDataUtils = __webpack_require__(/*! ./ExportEventData.bs.js */ \"../../../../utils/meta3d-event-data-utils/lib/js/src/ExportEventData.bs.js\");\n\nfunction _getImportDataEventName(param) {\n return \"ImportDataEvent\";\n}\n\nfunction buildAllEventsOnlyHasImportDataEvent(sceneGLB, assetData) {\n return [{\n name: \"ImportDataEvent\",\n isOnlyRead: NullableSt$Meta3dCommonlib.$$return(false),\n inputData: [\n sceneGLB,\n assetData\n ]\n }];\n}\n\nvar exportEventData = ExportEventData$Meta3dEventDataUtils.$$export;\n\nvar generateEventDataBuffer = ExportEventData$Meta3dEventDataUtils.generateEventDataBuffer;\n\nexports._getImportDataEventName = _getImportDataEventName;\nexports.buildAllEventsOnlyHasImportDataEvent = buildAllEventsOnlyHasImportDataEvent;\nexports.exportEventData = exportEventData;\nexports.generateEventDataBuffer = generateEventDataBuffer;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../utils/meta3d-event-data-utils/lib/js/src/Main.bs.js?"); - -/***/ }), - -/***/ "../../../../utils/meta3d-file-utils/lib/js/src/DownloadUtils.bs.js": -/*!**************************************************************************!*\ - !*** ../../../../utils/meta3d-file-utils/lib/js/src/DownloadUtils.bs.js ***! - \**************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -eval("\n\n\nvar createAndDownloadBlobFile = (function (body, filename, extension){\n const blob = new Blob([body], {type: \"arraybuffer\"});\n const fileName = filename + \".\" + extension;\n\n const link = document.createElement('a');\n\n const url = URL.createObjectURL(blob);\n link.setAttribute('href', url);\n link.setAttribute('download', fileName);\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n});\n\nexports.createAndDownloadBlobFile = createAndDownloadBlobFile;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../utils/meta3d-file-utils/lib/js/src/DownloadUtils.bs.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ // no module.id needed -/******/ // no module.loaded needed -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./lib/js/src/Main.bs.js"); -/******/ window.Extension = __webpack_exports__; -/******/ -/******/ })() -; \ No newline at end of file +(()=>{"use strict";var n={370:(n,r,t)=>{var e=t(454),u=t(577),i=t(541),o=t(127),f=t(25),c=function(n){return null!=n},a=c;function l(n){return f.isNone(o.getBy(n,(function(n){return null==n})))}var s=l,d=f.isSome,v=f.isNone;function h(n,r){return'"expect to be '+r+", but actual is "+n+'"'}function _(n,r,t){return h(r,t),i.equal(r,t)}function m(n,r){return'"expect not to be '+r+", but actual is "+n+'"'}function p(n,r,t){return m(r,t),i.notequal(r,t)}var y={$eq:function(n,r){return _(0,n,r)},$eq$eq$dot:function(n,r){return _(0,n,r)},$eq$eq$caret:function(n,r){return _(0,n,r)},$less$great$eq:function(n,r){return p(0,n,r)},$less$great$eq$dot:function(n,r){return p(0,n,r)},$great:i.greaterthan,$great$dot:i.greaterthan,$great$eq:i.greaterequal,$great$eq$dot:i.greaterequal,$less:i.lessthan,$less$dot:i.lessthan,$less$eq:i.lessequal,$less$eq$dot:i.lessequal};r._assert=function(n,r){return n},r.test=function(n,r){return e._1(r,void 0)?void 0:u.raiseError(n)},r.requireCheck=function(n,r){if(r)return e._1(n,void 0)},r.ensureCheck=function(n,r,t){return t?(e._1(r,n),n):n},r.assertPass=function(n){return!0},r.assertTrue=function(n){return!0===n},r.assertFalse=function(n){return!1===n},r.assertJsTrue=function(n){return!0===n},r.assertJsFalse=function(n){return!1===n},r.assertIsBool=function(n){return!0===n||!1===n},r._isNullableExist=c,r.assertNullableExist=a,r._isNullableListExist=l,r.assertNullableListExist=s,r.assertExist=d,r.assertNotExist=v,r._getEqualMessage=h,r.assertEqual=_,r._getNotEqualMessage=m,r.assertNotEqual=p,r.assertGt=function(n,r,t){return i.greaterthan(r,t)},r.assertGte=function(n,r,t){return i.greaterequal(r,t)},r.assertLt=function(n,r,t){return i.lessthan(r,t)},r.assertLte=function(n,r,t){return i.lessequal(r,t)},r.Operators=y},65:(n,r,t)=>{var e=t(454),u=t(127);r.printForDebug=function(n){return console.log(JSON.stringify(n)),n},r.printStringForDebug=function(n){return console.log(n),n},r.printListForDebug=function(n){return console.log(u.toArray(n)),n},r.logForDebug=function(n){console.log(n),console.trace()},r.log=function(n){console.log(JSON.stringify(n))},r.debugWithFunc=function(n,r){if(r)return e._1(n,void 0)},r._debug=function(n){console.debug(n)},r.debug=function(n,r){if(r){var t=e._1(n,void 0);console.debug(t),console.trace()}},r.getJsonStr=function(n){return JSON.stringify(n)},r.buildDebugMessage=function(n,r,t){return"\n Debug:\n\n description\n "+n+"\n\n params\n "+r+"\n\n "},r.buildDebugJsonMessage=function(n,r,t){return"\n DebugJson:\n\n description\n "+n+"\n\n variable value\n "+JSON.stringify(r)+"\n "},r.buildFatalMessage=function(n,r,t,e,u){return"\n Fatal:\n\n title\n "+n+"\n\n description\n "+r+"\n\n reason\n "+t+"\n\n solution\n "+e+"\n\n params\n "+u+"\n\n "},r.buildErrorMessage=function(n,r,t,e,u){return"\n Error:\n\n title\n "+n+"\n\n description\n "+r+"\n\n reason\n "+t+"\n\n solution\n "+e+"\n\n params\n "+u+"\n\n "},r.buildAssertMessage=function(n,r){return"expect "+n+", but actual "+r}},254:(n,r,t)=>{var e=t(454),u=t(236),i=t(575),o=t(667),f=t(949),c=t(65),a=t(866),l=t(370),s=t(458),d=t(55),v=t(161),h=n=>{if(void 0!==n)return n;throw new Error("Not_found")};function _(n,r){return 0===n.length?a.succeed([]):a.bind(e._1(r,h(n[0])),(function(t){return a.bind(_(u.sliceFrom(1,n),r),(function(n){return a.succeed(u.concat(n,[t]))}))}))}function m(n){return n}function p(n,r){return u.push(r,n),n}r._getExn=h,r.getExn=function(n,r){return h(n[r])},r.length=function(n){return n.length},r.find=function(n,r){return u.find(r,n)},r.includes=function(n,r){return u.includes(r,n)},r.includesByFunc=function(n,r){return s.isSome(u.find(r,n))},r.sliceFrom=function(n,r){return u.sliceFrom(r,n)},r.slice=function(n,r,t){return u.slice(r,t,n)},r.copy=function(n){return n.slice()},r.reduceOneParam=function(n,r,t){return i.reduceU(n,t,r)},r.reduceOneParami=function(n,r,t){for(var e=t,u=0,i=n.length;u=1)return f.some(o.get(n,0))},r.push=p,r.forEach=function(n,r){u.forEach(r,n)},r.map=function(n,r){return u.map(r,n)},r.mapi=function(n,r){return u.mapi(r,n)},r.filter=function(n,r){return u.filter(r,n)},r.reverse=function(n){return n.slice().reverse()},r.deleteBySwap=function(n,r,t,e){l.requireCheck((function(r){var t=n.length;l.test(c.buildAssertMessage("lastIndex:"+e+" === arr.length:"+t,"not"),(function(r){return l.assertEqual(0,n.length-1|0,e)}))}),r),n[t]=n[e],n.pop()},r.range=function(n,r){for(var t=[],e=n;e<=r;++e)u.push(e,t);return t},r.removeDuplicateItems=function(n){for(var r=[],t=v.createEmpty(void 0,void 0),e=0,i=n.length;e0?p(u,e):u},r.sort=function(n,r){return u.sortInPlaceWith(r,n)}},226:(n,r)=>{r.throwErr=n=>{throw n},r.buildErr=n=>new Error(n)},73:(n,r,t)=>{var e=t(879),u=t(458),i=e.bind;r.getExn=function(n){return u.getExn(u.fromNullable(n))},r.$$return=function(n){return n},r.getWithDefault=function(n,r){return u.getWithDefault(u.fromNullable(n),r)},r.map=i,r.bind=function(n,r){return u.toNullable(u.bind(u.fromNullable(n),(function(n){return u.fromNullable(r(n))})))},r.isNullable=function(n){return null==n},r.getEmpty=function(n){}},458:(n,r,t)=>{var e=t(454),u=t(992),i=t(949),o=t(879),f=t(866),c=n=>{if(void 0!==n)return n;throw new Error("Not_found")},a=c,l=o.from_opt,s=u.getWithDefault,d=u.isSome,v=u.map,h=u.flatMap;r.unsafeGet=function(n){return n},r._getExn=c,r.getExn=a,r.buildFailResult=function(n){return f.failWith("data not exist in option data")},r.get=function(n){return void 0!==n?f.succeed(i.valFromOption(n)):f.failWith("data not exist in option data")},r.getWithDefault=s,r.isSome=d,r.map=v,r.bind=h,r.fromNullable=function(n){return null==n?void 0:i.some(n)},r.toNullable=l,r.toStrictNullable=function(n){return void 0!==n?i.valFromOption(n):null},r.forEachResult=function(n,r){return void 0!==n?e._1(r,i.valFromOption(n)):f.succeed(void 0)},r.sequenceResultM=function(n){return void 0!==n?f.mapSuccess(n,(function(n){return i.some(n)})):f.succeed(void 0)},r.open_=function(n){if(void 0!==n)return i.valFromOption(n)}},55:(n,r,t)=>{var e=t(454),u=t(792);r.bind=function(n,r){return u.then_(r,n)},r.map=function(n,r){return u.then_((function(n){return Promise.resolve(e._1(r,n))}),n)}},866:(n,r,t)=>{var e=t(454),u=t(577),i=t(948),o=t(226);function f(n){return{TAG:1,_0:n}}var c=o.buildErr;function a(n,r,t){return 0===n.TAG?e._1(r,n._0):e._1(t,n._0)}function l(n,r){return 0===n.TAG?n._0:e._1(r,n._0)}r.succeed=function(n){return{TAG:0,_0:n}},r.fail=f,r._buildErr=c,r.failWith=function(n){return{TAG:1,_0:o.buildErr(n)}},r.isSuccess=function(n){return 0===n.TAG},r.either=a,r.bind=function(n,r){return a(n,r,f)},r.tap=function(n,r){return a(n,(function(n){return e._1(r,n),{TAG:0,_0:n}}),f)},r.tryCatch=function(n){try{return{TAG:0,_0:e._1(n,void 0)}}catch(n){var r=i.internalToOCamlException(n);return r.RE_EXN_ID===u.$$Error?{TAG:1,_0:r._1}:{TAG:1,_0:o.buildErr("unknown error: "+r)}}},r.mapSuccess=function(n,r){return 0===n.TAG?{TAG:0,_0:e._1(r,n._0)}:{TAG:1,_0:n._0}},r.handleFail=l,r.getExn=function(n){return l(n,o.throwErr)},r.toNullable=function(n){return 0===n.TAG?n._0:null},r.open_=function(n){return 0===n.TAG?n._0:{TAG:1,_0:n._0}}},634:(n,r,t)=>{var e=t(261),u=t(236),i=t(575),o=t(949),f=t(879),c=t(858);function a(n,r){var t=n[r];return c.isEmpty(t)?void 0:o.some(t)}var l=n=>{if(void 0!==n)return n;throw new Error("Not_found")},s=e.entries;function d(n,r,t){return n[r]=t,n}r.createEmpty=function(n,r){return{}},r.unsafeGet=function(n,r){return n[r]},r.get=a,r._getExn=l,r.getExn=function(n,r){return l(n[r])},r.getNullable=function(n,r){return f.fromOption(a(n,r))},r.has=function(n,r){return!c.isEmpty(n[r])},r.entries=s,r._mutableSet=d,r._createEmpty=function(n){return{}},r._reduceArray=function(n,r,t){return i.reduceU(n,t,r)},r.copy=function(n){return i.reduceU(e.entries(n),{},(function(n,r){return d(n,r[0],r[1])}))},r.getValidValues=function(n){var r=e.values(n);return u.filter(c.isInMap,r)},r.map=function(n,r){return e.map(r,n)},r.merge=function(n,r){return i.reduceU(e.entries(n),r,(function(n,r){return d(n,r[0],r[1])}))}},161:(n,r,t)=>{var e=t(634),u=e.createEmpty,i=e.unsafeGet,o=e.get,f=e.getExn,c=e.getNullable,a=e.has,l=e.getValidValues,s=e.copy,d=e.entries,v=e.map,h=e.merge;r.createEmpty=u,r.set=function(n,r,t){return n[r]=t,n},r.unsafeGet=i,r.get=o,r.getExn=f,r.getNullable=c,r.has=a,r.deleteVal=function(n,r){return n[r]=void 0,n},r.getValidValues=l,r.copy=s,r.entries=d,r.map=v,r.merge=h},714:(n,r,t)=>{var e=t(949),u=t(866),i=t(458);r.create=function(n,r){return[n,r]},r.collectOption=function(n,r){return void 0!==n&&void 0!==r?u.succeed([e.valFromOption(n),e.valFromOption(r)]):i.buildFailResult(void 0)},r.collectResult=function(n,r){return u.bind(n,(function(n){return u.mapSuccess(r,(function(r){return[n,r]}))}))},r.getFirst=function(n){return n[0]},r.getLast=function(n){return n[1]}},858:(n,r)=>{r.isUndefined=function(n){return void 0===n},r.isEmpty=function(n){return null==n},r.isNotInMap=function(n){return void 0===n},r.isInMap=function(n){return void 0!==n}},734:(n,r,t)=>{var e=t(126),u=t(59),i=t(607),o=t(884),f=t(732),c=t(714),a=t(254);function l(n){var r=new TextEncoder,t=i.encodeUint8Array(" ",r);return f.getUint8_1(0,t)}function s(n,r,t){var e=o.writeUint32_1(0,n,t);return a.reduceOneParam(r,(function(n,r){return o.writeUint32_1(n,r,t)}),e)}function d(n,r,t,e,i){return a.reduceOneParami(r,(function(n,r,o){return u.copyUint8ArrayToArrayBuffer(n,[e,a.getExn(t,o),r],i)}),n)}function v(n){return 4+(n<<2)|0}function h(n){return 4+(n<<2)|0}r._buildEmptyEncodedUint8Data=l,r._writeHeader=s,r._writeDataArr=d,r._getDataLengthByteLengthInHeader=function(n){return 4},r._getDataByteOffsetInHeader=v,r._getHeaderByteLength=h,r.generate=function(n){var r=a.length(n),t=a.reduceOneParam(n,(function(n,r){var t=r.byteLength,e=u.alignedLength(t);return[n[0]+e|0,a.push(n[1],t),a.push(n[2],e)]}),[h(r),[],[]]),e=new ArrayBuffer(t[0]),i=o.create(e);return d(s(r,t[1],i),n,t[2],l(),i),e},r.load=function(n){var r=o.create(n),t=o.getUint32_1(0,r)[0];return c.getLast(a.reduceOneParam(a.range(0,t-1|0),(function(i,f){var c=i[0],l=o.getUint32_1(v(f),r)[0];return[c+u.alignedLength(l)|0,a.push(i[1],new Uint8Array(e.$$ArrayBuffer.slice(h(t)+c|0,(h(t)+c|0)+l|0,n)))]}),[0,[]]))}},59:(n,r,t)=>{var e=t(884),u=t(732);r.alignedLength=function(n){if(0===n)return n;var r=n%4;return 0!==r?n+(4-r|0)|0:n},r.copyUint8ArrayToArrayBuffer=function(n,r,t){for(var i=r[2],o=r[1],f=r[0],c=n+o|0,a=n,l=i.length,s=0;s=l?f:u.getUint8_1(s,i);a=e.writeUint8_1(a,d,t)}return c}},884:(n,r)=>{r.create=function(n){return new DataView(n)},r.getFloat=function(n,r){return[r.getFloat32(n,1),n+4|0]},r.getUint16_1=function(n,r){return[r.getUint16(n,1),n+2|0]},r.getUint32_1=function(n,r){return[r.getUint32(n,1),n+4|0]},r.getUint8_1=function(n,r){return[r.getUint8(n),n+1|0]},r.writeUint8_1=function(n,r,t){return t.setUint8(n,r),n+1|0},r.writeUint16_1=function(n,r,t){return t.setUint16(n,r,1),n+2|0},r.writeUint32_1=function(n,r,t){return t.setUint32(n,r,1),n+4|0}},870:(n,r)=>{r.decodeUint8Array=function(n,r){return r.decode(n)},r.decodeArrayBuffer=function(n,r){return r.decode(n)}},607:(n,r)=>{r.encodeUint8Array=function(n,r){return r.encode(n)}},732:(n,r)=>{r.getUint8_1=function(n,r){return r[n]}},575:(n,r,t)=>{var e=t(982),u=t(454),i=t(311),o=t(949);function f(n,r,t){var e=n[r];n[r]=n[t],n[t]=e}function c(n){for(var r=n.length,t=0;t=0;--u)e=t(e,n[u]);return e}function b(n,r,t,u){for(var i=t,o=e.int_min(n.length,r.length)-1|0;o>=0;--o)i=u(i,n[o],r[o]);return i}function A(n,r,t){for(var e=r,u=0,i=n.length;uu)return 1;if(e=0&&r=0&&r=0&&r=0&&ru?t-u|0:0,o=new Array(i),f=0;f=0;--d)t[d+a|0]=n[d+c|0]},r.blitUnsafe=function(n,r,t,e,u){if(e<=r)for(var i=0;i=0;--o)t[o+e|0]=n[o+r|0]},r.forEachU=v,r.forEach=function(n,r){v(n,u.__1(r))},r.mapU=h,r.map=function(n,r){return h(n,u.__1(r))},r.flatMapU=function(n,r){return d(h(n,r))},r.flatMap=function(n,r){return d(h(n,u.__1(r)))},r.getByU=_,r.getBy=function(n,r){return _(n,u.__1(r))},r.getIndexByU=m,r.getIndexBy=function(n,r){return m(n,u.__1(r))},r.keepU=p,r.keep=function(n,r){return p(n,u.__1(r))},r.keepWithIndexU=y,r.keepWithIndex=function(n,r){return y(n,u.__2(r))},r.keepMapU=g,r.keepMap=function(n,r){return g(n,u.__1(r))},r.forEachWithIndexU=E,r.forEachWithIndex=function(n,r){E(n,u.__2(r))},r.mapWithIndexU=x,r.mapWithIndex=function(n,r){return x(n,u.__2(r))},r.partitionU=S,r.partition=function(n,r){return S(n,u.__1(r))},r.reduceU=I,r.reduce=function(n,r,t){return I(n,r,u.__2(t))},r.reduceReverseU=O,r.reduceReverse=function(n,r,t){return O(n,r,u.__2(t))},r.reduceReverse2U=b,r.reduceReverse2=function(n,r,t,e){return b(n,r,t,u.__3(e))},r.reduceWithIndexU=A,r.reduceWithIndex=function(n,r,t){return A(n,r,u.__3(t))},r.joinWithU=P,r.joinWith=function(n,r,t){return P(n,r,u.__1(t))},r.someU=U,r.some=function(n,r){return U(n,u.__1(r))},r.everyU=F,r.every=function(n,r){return F(n,u.__1(r))},r.every2U=w,r.every2=function(n,r,t){return w(n,r,u.__2(t))},r.some2U=W,r.some2=function(n,r,t){return W(n,r,u.__2(t))},r.cmpU=D,r.cmp=function(n,r,t){return D(n,r,u.__2(t))},r.eqU=N,r.eq=function(n,r,t){return N(n,r,u.__2(t))},r.initU=$,r.init=function(n,r){return $(n,u.__1(r))}},127:(n,r,t)=>{var e=t(454),u=t(575),i=t(949),o=t(369);function f(n,r){for(;;){var t=r,e=n;if(!e)return t;var u={hd:e.hd,tl:0};t.tl=u,r=u,n=e.tl}}function c(n,r,t){for(;;){var e=t,u=r;if(!u)return;var i=u.tl,o=u.hd;if(n(o)){var f={hd:o,tl:0};e.tl=f,t=f,r=i}else r=i}}function a(n,r,t,e){for(;;){var u=e,i=t,o=r;if(!o)return;var f=o.tl,c=o.hd;if(n(c,u)){var a={hd:c,tl:0};i.tl=a,e=u+1|0,t=a,r=f}else e=u+1|0,r=f}}function l(n,r,t){for(;;){var e=t,u=r;if(!u)return;var o=u.tl,f=n(u.hd);if(void 0===f)r=o;else{var c={hd:i.valFromOption(f),tl:0};e.tl=c,t=c,r=o}}}function s(n,r){if(!n)return r;var t={hd:n.hd,tl:0};return f(n.tl,t).tl=r,t}function d(n,r){if(!n)return 0;var t={hd:r(n.hd),tl:0};return function(n,r,t){for(;;){var e=r,u=n;if(!u)return;var i={hd:t(u.hd),tl:0};e.tl=i,r=i,n=u.tl}}(n.tl,t,r),t}function v(n,r,t){if(!n)return 0;if(!r)return 0;var e={hd:t(n.hd,r.hd),tl:0};return function(n,r,t,e){for(;;){var u=e,i=t,o=r;if(!o)return;if(!i)return;var f={hd:n(o.hd,i.hd),tl:0};u.tl=f,e=f,t=i.tl,r=o.tl}}(t,n.tl,r.tl,e),e}function h(n,r){if(!n)return 0;var t={hd:r(0,n.hd),tl:0};return function(n,r,t,e){for(;;){var u=e,i=t,o=r;if(!i)return;var f={hd:n(o,i.hd),tl:0};u.tl=f,e=f,t=i.tl,r=o+1|0}}(r,1,n.tl,t),t}function _(n,r){if(n<=0)return 0;for(var t={hd:r(0),tl:0},e=t,u=1;u=0;--u)e=s(n[u],e);return e},r.reverseConcat=g,r.flatten=function(n){for(;;){var r=n;if(!r)return 0;var t=r.hd;if(t){var e={hd:t.hd,tl:0};return E(f(t.tl,e),r.tl),e}n=r.tl}},r.mapU=d,r.map=function(n,r){return d(n,e.__1(r))},r.zip=function(n,r){if(!n)return 0;if(!r)return 0;var t={hd:[n.hd,r.hd],tl:0};return function(n,r,t){for(;;){var e=t,u=r,i=n;if(!i)return;if(!u)return;var o={hd:[i.hd,u.hd],tl:0};e.tl=o,t=o,r=u.tl,n=i.tl}}(n.tl,r.tl,t),t},r.zipByU=v,r.zipBy=function(n,r,t){return v(n,r,e.__2(t))},r.mapWithIndexU=h,r.mapWithIndex=function(n,r){return h(n,e.__2(r))},r.fromArray=p,r.toArray=y,r.reverse=function(n){return g(n,0)},r.mapReverseU=x,r.mapReverse=function(n,r){return x(n,e.__1(r))},r.forEachU=I,r.forEach=function(n,r){I(n,e.__1(r))},r.forEachWithIndexU=O,r.forEachWithIndex=function(n,r){O(n,e.__2(r))},r.reduceU=b,r.reduce=function(n,r,t){return b(n,r,e.__2(t))},r.reduceWithIndexU=U,r.reduceWithIndex=function(n,r,t){return U(n,r,e.__3(t))},r.reduceReverseU=F,r.reduceReverse=function(n,r,t){return F(n,r,e.__2(t))},r.mapReverse2U=R,r.mapReverse2=function(n,r,t){return R(n,r,e.__2(t))},r.forEach2U=w,r.forEach2=function(n,r,t){w(n,r,e.__2(t))},r.reduce2U=W,r.reduce2=function(n,r,t,u){return W(n,r,t,e.__3(u))},r.reduceReverse2U=D,r.reduceReverse2=function(n,r,t,u){return D(n,r,t,e.__3(u))},r.everyU=S,r.every=function(n,r){return S(n,e.__1(r))},r.someU=P,r.some=function(n,r){return P(n,e.__1(r))},r.every2U=$,r.every2=function(n,r,t){return $(n,r,e.__2(t))},r.some2U=M,r.some2=function(n,r,t){return M(n,r,e.__2(t))},r.cmpByLength=function(n,r){for(;;){var t=n;if(!t)return r?-1:0;if(!r)return 1;r=r.tl,n=t.tl}},r.cmpU=T,r.cmp=function(n,r,t){return T(n,r,e.__2(t))},r.eqU=B,r.eq=function(n,r,t){return B(n,r,e.__2(t))},r.hasU=q,r.has=function(n,r,t){return q(n,r,e.__2(t))},r.getByU=X,r.getBy=function(n,r){return X(n,e.__1(r))},r.keepU=J,r.keep=C,r.filter=Z,r.keepWithIndexU=z,r.keepWithIndex=H,r.filterWithIndex=nn,r.keepMapU=K,r.keepMap=function(n,r){return K(n,e.__1(r))},r.partitionU=Q,r.partition=function(n,r){return Q(n,e.__1(r))},r.unzip=function(n){if(!n)return[0,0];var r=n.hd,t={hd:r[0],tl:0},e={hd:r[1],tl:0};return function(n,r,t){for(;;){var e=t,u=r,i=n;if(!i)return;var o=i.hd,f={hd:o[0],tl:0},c={hd:o[1],tl:0};u.tl=f,e.tl=c,t=c,r=f,n=i.tl}}(n.tl,t,e),[t,e]},r.getAssocU=j,r.getAssoc=function(n,r,t){return j(n,r,e.__2(t))},r.hasAssocU=k,r.hasAssoc=function(n,r,t){return k(n,r,e.__2(t))},r.removeAssocU=G,r.removeAssoc=function(n,r,t){return G(n,r,e.__2(t))},r.setAssocU=V,r.setAssoc=function(n,r,t,u){return V(n,r,t,e.__2(u))},r.sortU=L,r.sort=function(n,r){return L(n,e.__2(r))}},992:(n,r,t)=>{var e=t(454),u=t(949);function i(n,r){if(void 0!==n&&r(u.valFromOption(n)))return n}function o(n,r){if(void 0!==n)return r(u.valFromOption(n))}function f(n,r,t){return void 0!==n?t(u.valFromOption(n)):r}function c(n,r){if(void 0!==n)return u.some(r(u.valFromOption(n)))}function a(n,r){if(void 0!==n)return r(u.valFromOption(n))}function l(n,r,t){return void 0!==n?void 0!==r&&t(u.valFromOption(n),u.valFromOption(r)):void 0===r}function s(n,r,t){return void 0!==n?void 0!==r?t(u.valFromOption(n),u.valFromOption(r)):1:void 0!==r?-1:0}r.keepU=i,r.keep=function(n,r){return i(n,e.__1(r))},r.forEachU=o,r.forEach=function(n,r){o(n,e.__1(r))},r.getExn=function(n){if(void 0!==n)return u.valFromOption(n);throw{RE_EXN_ID:"Not_found",Error:new Error}},r.mapWithDefaultU=f,r.mapWithDefault=function(n,r,t){return f(n,r,e.__1(t))},r.mapU=c,r.map=function(n,r){return c(n,e.__1(r))},r.flatMapU=a,r.flatMap=function(n,r){return a(n,e.__1(r))},r.getWithDefault=function(n,r){return void 0!==n?u.valFromOption(n):r},r.orElse=function(n,r){return void 0!==n?n:r},r.isSome=function(n){return void 0!==n},r.isNone=function(n){return void 0===n},r.eqU=l,r.eq=function(n,r,t){return l(n,r,e.__2(t))},r.cmpU=s,r.cmp=function(n,r,t){return s(n,r,e.__2(t))}},369:(n,r,t)=>{var e=t(454),u=t(575);function i(n,r){var t=n.length;if(0===t||1===t)return t;var e=n[0],u=n[1];if(!r(e,u))return r(u,e)?0|-function(n,r,t,e,u){for(;;){var i=t,o=r;if(i>=e)return i;var f=n[i];if(!u(f,o))return i;t=i+1|0,r=f}}(n,u,2,t,r):1;for(var i=u,o=2;;){var f=o,c=i;if(f>=t)return f;var a=n[f];if(!r(c,a))return f;o=f+1|0,i=a}}function o(n,r){var t=n.length;if(0===t)return!0;for(var e=0,u=t-1|0;;){var i=e;if(i===u)return!0;if(r(n[i],n[i+1|0])>0)return!1;e=i+1|0}}function f(n,r,t,e,i,o,f,c,a){for(var l=r+t|0,s=i+o|0,d=r,v=n[r],h=i,_=e[i],m=c;;){var p=m,y=_,g=h,E=v,x=d;if(a(E,y)<=0){f[p]=E;var I=x+1|0;if(I>=l)return u.blitUnsafe(e,g,f,p+1|0,s-g|0);m=p+1|0,v=n[I],d=I}else{f[p]=y;var O=g+1|0;if(O>=s)return u.blitUnsafe(n,x,f,p+1|0,l-x|0);m=p+1|0,_=e[O],h=O}}}function c(n,r,t,e,i,o,f,c,a){for(var l=r+t|0,s=i+o|0,d=r,v=n[r],h=i,_=e[i],m=c;;){var p=m,y=_,g=h,E=v,x=d,I=a(E,y);if(I<0){f[p]=E;var O=x+1|0,b=p+1|0;if(O=a)return m;d=n[x],s=x}else if(0!==E){var I=p+1|0;if(I>=l)return m;h=e[I],v=I}else{o[m]=y;var O=g+1|0,b=p+1|0,A=m+1|0;if(!(O=l)return I;m=I,v=n[O],d=O}else if(0!==x){var b=y+1|0;if(!(b=e&&i(t[c],f)>0;)t[c+1|0]=t[c],c=c-1|0;t[c+1|0]=f}}function d(n,r,t,e,u,i){if(u<=5)return s(n,r,t,e,u,i);var o=u/2|0,c=u-o|0;d(n,r+o|0,t,e+o|0,c,i),d(n,r,n,r+c|0,o,i),f(n,r+c|0,o,t,e+o|0,c,t,e,i)}function v(n,r){var t=n.length;if(t<=5)return s(n,0,n,0,t,r);var e=t/2|0,u=t-e|0,i=new Array(u);d(n,e,i,0,u,r),d(n,0,n,u,e,r),f(n,u,e,i,0,u,n,0,r)}function h(n,r){var t=n.slice(0);return v(t,r),t}function _(n,r,t){var e=n.length;if(0===e)return-1;if(t(r,n[0])<0)return-1;if(t(r,n[e-1|0])>0)return 0|-(e+1|0);for(var u=0,i=e-1|0;;){var o=i,f=u,c=(f+o|0)/2|0,a=t(r,n[c]);if(0===a)return c;if(a<0){if(o===c)return 0===t(n[f],r)?f:0|-(o+1|0);i=c}else{if(f===c)return 0===t(n[o],r)?o:0|-(o+1|0);u=c}}}r.Int=void 0,r.$$String=void 0,r.strictlySortedLengthU=i,r.strictlySortedLength=function(n,r){return i(n,e.__2(r))},r.isSortedU=o,r.isSorted=function(n,r){return o(n,e.__2(r))},r.stableSortInPlaceByU=v,r.stableSortInPlaceBy=function(n,r){v(n,e.__2(r))},r.stableSortByU=h,r.stableSortBy=function(n,r){return h(n,e.__2(r))},r.binarySearchByU=_,r.binarySearchBy=function(n,r,t){return _(n,r,e.__2(t))},r.unionU=c,r.union=function(n,r,t,u,i,o,f,a,l){return c(n,r,t,u,i,o,f,a,e.__2(l))},r.intersectU=a,r.intersect=function(n,r,t,u,i,o,f,c,l){return a(n,r,t,u,i,o,f,c,e.__2(l))},r.diffU=l,r.diff=function(n,r,t,u,i,o,f,c,a){return l(n,r,t,u,i,o,f,c,e.__2(a))}},982:(n,r)=>{function t(n,r){return n[1]===r[1]&&n[0]===r[0]}function e(n,r){var t=r[0],e=n[0];return e>t||!(e=r[1]}function u(n,r){return n[0]>r[0]||!(n[0]r[1]}r.int_compare=function(n,r){return nr||n==n?1:r==r?-1:0},r.string_compare=function(n,r){return n===r?0:nr?n:r},r.float_max=function(n,r){return n>r?n:r},r.string_max=function(n,r){return n>r?n:r},r.i64_eq=t,r.i64_neq=function(n,r){return!t(n,r)},r.i64_lt=function(n,r){return!e(n,r)},r.i64_gt=u,r.i64_le=function(n,r){return!u(n,r)},r.i64_ge=e,r.i64_min=function(n,r){return e(n,r)?r:n},r.i64_max=function(n,r){return u(n,r)?n:r}},667:(n,r)=>{r.dup=function(n){return n.slice(0)},r.sub=function(n,r,t){for(var e=new Array(t),u=0,i=r;u=0;--o)t[o+e|0]=n[o+r|0]},r.get=function(n,r){if(r<0||r>=n.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return n[r]},r.set=function(n,r,t){if(r<0||r>=n.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};n[r]=t}},470:(n,r)=>{var t={contents:0};r.id=t,r.create=function(n){return t.contents=t.contents+1|0,n+"/"+t.contents},r.is_extension=function(n){return null!=n&&"string"==typeof n.RE_EXN_ID},r.exn_slot_name=function(n){return n.RE_EXN_ID}},948:(n,r,t)=>{var e=t(949),u=t(470),i="JsError";r.$$Error=i,r.internalToOCamlException=function(n){return u.is_extension(n)?n:{RE_EXN_ID:"JsError",_1:n}},r.as_js_exn=function(n){if(n.RE_EXN_ID===i)return e.some(n._1)}},541:(n,r,t)=>{var e=t(982),u=function(n,r){for(var t in n)r(t)};function i(n,r){if(n===r)return 0;var t=typeof n,u=typeof r;switch(t){case"boolean":if("boolean"===u)return e.bool_compare(n,r);break;case"function":if("function"===u)throw{RE_EXN_ID:"Invalid_argument",_1:"compare: functional value",Error:new Error};break;case"number":if("number"===u)return e.float_compare(n,r);break;case"string":return"string"===u?e.string_compare(n,r):1;case"undefined":return-1}switch(u){case"string":return-1;case"undefined":return 1;default:if("boolean"===t)return 1;if("boolean"===u)return-1;if("function"===t)return 1;if("function"===u)return-1;if("number"===t)return null===r||void 0!==r.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if("number"===u)return null===n||void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(null===n)return void 0!==r.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if(null===r)return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(void 0!==n.BS_PRIVATE_NESTED_SOME_NONE)return void 0!==r.BS_PRIVATE_NESTED_SOME_NONE?o(n,r):-1;var f=0|n.TAG,c=0|r.TAG;if(248===f)return e.int_compare(n[1],r[1]);if(251===f)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(f!==c)return f0){var u=t.contents;return void 0!==u&&r>=u?void 0:void(t.contents=r)}},c=[n,r,o],a=[r,n,t];u(n,(function(n){return f(c,n)})),u(r,(function(n){return f(a,n)}));var l=t.contents,s=o.contents;return void 0!==l?void 0!==s?e.string_compare(l,s):-1:void 0!==s?1:0}function f(n,r){if(n===r)return!0;var t=typeof n;if("string"===t||"number"===t||"boolean"===t||"undefined"===t||null===n)return!1;var e=typeof r;if("function"===t||"function"===e)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if("number"===e||"undefined"===e||null===r)return!1;var i=0|n.TAG,o=0|r.TAG;if(248===i)return n[1]===r[1];if(251===i)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(i!==o)return!1;var c=0|n.length;if(c!==(0|r.length))return!1;if(!Array.isArray(n)){if(n instanceof Date&&r instanceof Date)return!(n>r||n=r:i(n,r)>=0},r.greaterthan=function(n,r){return"number"==typeof n&&"number"==typeof r?n>r:i(n,r)>0},r.lessthan=function(n,r){return"number"==typeof n&&"number"==typeof r?n=0?n:r}},949:(n,r)=>{function t(n){return void 0===n?{BS_PRIVATE_NESTED_SOME_NONE:0}:null!==n&&void 0!==n.BS_PRIVATE_NESTED_SOME_NONE?{BS_PRIVATE_NESTED_SOME_NONE:n.BS_PRIVATE_NESTED_SOME_NONE+1|0}:n}function e(n){if(null===n||void 0===n.BS_PRIVATE_NESTED_SOME_NONE)return n;var r=n.BS_PRIVATE_NESTED_SOME_NONE;return 0===r?void 0:{BS_PRIVATE_NESTED_SOME_NONE:r-1|0}}r.nullable_to_opt=function(n){return null==n?void 0:t(n)},r.undefined_to_opt=function(n){return void 0===n?void 0:t(n)},r.null_to_opt=function(n){return null===n?void 0:t(n)},r.valFromOption=e,r.some=t,r.isNested=function(n){return void 0!==n.BS_PRIVATE_NESTED_SOME_NONE},r.option_get=function(n){return void 0===n?void 0:e(n)},r.option_unwrap=function(n){return void 0!==n?n.VAL:n}},868:(n,r)=>{r.spliceApply=function(n,r){var t,e;e=r.length;var u=[];for(t=0;t{var e=t(667);function u(n,r){for(;;){var t=r,i=n,o=i.length,f=0===o?1:o,c=f-t.length|0;if(0===c)return i.apply(null,t);if(c>=0)return function(n,r){return function(t){return u(n,r.concat([t]))}}(i,t);r=e.sub(t,f,0|-c),n=i.apply(null,e.sub(t,0,f))}}function i(n,r){var t=n.length;if(1===t)return n(r);switch(t){case 1:return n(r);case 2:return function(t){return n(r,t)};case 3:return function(t,e){return n(r,t,e)};case 4:return function(t,e,u){return n(r,t,e,u)};case 5:return function(t,e,u,i){return n(r,t,e,u,i)};case 6:return function(t,e,u,i,o){return n(r,t,e,u,i,o)};case 7:return function(t,e,u,i,o,f){return n(r,t,e,u,i,o,f)};default:return u(n,[r])}}function o(n,r,t){var e=n.length;if(2===e)return n(r,t);switch(e){case 1:return u(n(r),[t]);case 2:return n(r,t);case 3:return function(e){return n(r,t,e)};case 4:return function(e,u){return n(r,t,e,u)};case 5:return function(e,u,i){return n(r,t,e,u,i)};case 6:return function(e,u,i,o){return n(r,t,e,u,i,o)};case 7:return function(e,u,i,o,f){return n(r,t,e,u,i,o,f)};default:return u(n,[r,t])}}function f(n,r,t,e){var i=n.length;if(3===i)return n(r,t,e);switch(i){case 1:return u(n(r),[t,e]);case 2:return u(n(r,t),[e]);case 3:return n(r,t,e);case 4:return function(u){return n(r,t,e,u)};case 5:return function(u,i){return n(r,t,e,u,i)};case 6:return function(u,i,o){return n(r,t,e,u,i,o)};case 7:return function(u,i,o,f){return n(r,t,e,u,i,o,f)};default:return u(n,[r,t,e])}}function c(n,r,t,e,i){var o=n.length;if(4===o)return n(r,t,e,i);switch(o){case 1:return u(n(r),[t,e,i]);case 2:return u(n(r,t),[e,i]);case 3:return u(n(r,t,e),[i]);case 4:return n(r,t,e,i);case 5:return function(u){return n(r,t,e,i,u)};case 6:return function(u,o){return n(r,t,e,i,u,o)};case 7:return function(u,o,f){return n(r,t,e,i,u,o,f)};default:return u(n,[r,t,e,i])}}function a(n,r,t,e,i,o){var f=n.length;if(5===f)return n(r,t,e,i,o);switch(f){case 1:return u(n(r),[t,e,i,o]);case 2:return u(n(r,t),[e,i,o]);case 3:return u(n(r,t,e),[i,o]);case 4:return u(n(r,t,e,i),[o]);case 5:return n(r,t,e,i,o);case 6:return function(u){return n(r,t,e,i,o,u)};case 7:return function(u,f){return n(r,t,e,i,o,u,f)};default:return u(n,[r,t,e,i,o])}}function l(n,r,t,e,i,o,f){var c=n.length;if(6===c)return n(r,t,e,i,o,f);switch(c){case 1:return u(n(r),[t,e,i,o,f]);case 2:return u(n(r,t),[e,i,o,f]);case 3:return u(n(r,t,e),[i,o,f]);case 4:return u(n(r,t,e,i),[o,f]);case 5:return u(n(r,t,e,i,o),[f]);case 6:return n(r,t,e,i,o,f);case 7:return function(u){return n(r,t,e,i,o,f,u)};default:return u(n,[r,t,e,i,o,f])}}function s(n,r,t,e,i,o,f,c){var a=n.length;if(7===a)return n(r,t,e,i,o,f,c);switch(a){case 1:return u(n(r),[t,e,i,o,f,c]);case 2:return u(n(r,t),[e,i,o,f,c]);case 3:return u(n(r,t,e),[i,o,f,c]);case 4:return u(n(r,t,e,i),[o,f,c]);case 5:return u(n(r,t,e,i,o),[f,c]);case 6:return u(n(r,t,e,i,o,f),[c]);case 7:return n(r,t,e,i,o,f,c);default:return u(n,[r,t,e,i,o,f,c])}}function d(n,r,t,e,i,o,f,c,a){var l=n.length;if(8===l)return n(r,t,e,i,o,f,c,a);switch(l){case 1:return u(n(r),[t,e,i,o,f,c,a]);case 2:return u(n(r,t),[e,i,o,f,c,a]);case 3:return u(n(r,t,e),[i,o,f,c,a]);case 4:return u(n(r,t,e,i),[o,f,c,a]);case 5:return u(n(r,t,e,i,o),[f,c,a]);case 6:return u(n(r,t,e,i,o,f),[c,a]);case 7:return u(n(r,t,e,i,o,f,c),[a]);default:return u(n,[r,t,e,i,o,f,c,a])}}r.app=u,r._1=i,r.__1=function(n){return 1===n.length?n:function(r){return i(n,r)}},r._2=o,r.__2=function(n){return 2===n.length?n:function(r,t){return o(n,r,t)}},r._3=f,r.__3=function(n){return 3===n.length?n:function(r,t,e){return f(n,r,t,e)}},r._4=c,r.__4=function(n){return 4===n.length?n:function(r,t,e,u){return c(n,r,t,e,u)}},r._5=a,r.__5=function(n){return 5===n.length?n:function(r,t,e,u,i){return a(n,r,t,e,u,i)}},r._6=l,r.__6=function(n){return 6===n.length?n:function(r,t,e,u,i,o){return l(n,r,t,e,u,i,o)}},r._7=s,r.__7=function(n){return 7===n.length?n:function(r,t,e,u,i,o,f){return s(n,r,t,e,u,i,o,f)}},r._8=d,r.__8=function(n){return 8===n.length?n:function(r,t,e,u,i,o,f,c){return d(n,r,t,e,u,i,o,f,c)}}},236:(n,r,t)=>{var e=t(454),u=t(949),i=t(868);r.copyWithin=function(n,r){return r.copyWithin(n)},r.copyWithinFrom=function(n,r,t){return t.copyWithin(n,r)},r.copyWithinFromRange=function(n,r,t,e){return e.copyWithin(n,r,t)},r.fillInPlace=function(n,r){return r.fill(n)},r.fillFromInPlace=function(n,r,t){return t.fill(n,r)},r.fillRangeInPlace=function(n,r,t,e){return e.fill(n,r,t)},r.push=function(n,r){return r.push(n)},r.pushMany=function(n,r){return i.spliceObjApply(r,"push",[n])},r.sortInPlaceWith=function(n,r){return r.sort(e.__2(n))},r.spliceInPlace=function(n,r,t,e){return i.spliceObjApply(e,"splice",[n,r,t])},r.removeFromInPlace=function(n,r){return r.splice(n)},r.removeCountInPlace=function(n,r,t){return t.splice(n,r)},r.unshift=function(n,r){return r.unshift(n)},r.unshiftMany=function(n,r){return i.spliceObjApply(r,"unshift",[n])},r.concat=function(n,r){return r.concat(n)},r.concatMany=function(n,r){return i.spliceObjApply(r,"concat",[n])},r.includes=function(n,r){return r.includes(n)},r.indexOf=function(n,r){return r.indexOf(n)},r.indexOfFrom=function(n,r,t){return t.indexOf(n,r)},r.joinWith=function(n,r){return r.join(n)},r.lastIndexOf=function(n,r){return r.lastIndexOf(n)},r.lastIndexOfFrom=function(n,r,t){return t.lastIndexOf(n,r)},r.slice=function(n,r,t){return t.slice(n,r)},r.sliceFrom=function(n,r){return r.slice(n)},r.every=function(n,r){return r.every(e.__1(n))},r.everyi=function(n,r){return r.every(e.__2(n))},r.filter=function(n,r){return r.filter(e.__1(n))},r.filteri=function(n,r){return r.filter(e.__2(n))},r.find=function(n,r){return u.undefined_to_opt(r.find(e.__1(n)))},r.findi=function(n,r){return u.undefined_to_opt(r.find(e.__2(n)))},r.findIndex=function(n,r){return r.findIndex(e.__1(n))},r.findIndexi=function(n,r){return r.findIndex(e.__2(n))},r.forEach=function(n,r){r.forEach(e.__1(n))},r.forEachi=function(n,r){r.forEach(e.__2(n))},r.map=function(n,r){return r.map(e.__1(n))},r.mapi=function(n,r){return r.map(e.__2(n))},r.reduce=function(n,r,t){return t.reduce(e.__2(n),r)},r.reducei=function(n,r,t){return t.reduce(e.__3(n),r)},r.reduceRight=function(n,r,t){return t.reduceRight(e.__2(n),r)},r.reduceRighti=function(n,r,t){return t.reduceRight(e.__3(n),r)},r.some=function(n,r){return r.some(e.__1(n))},r.somei=function(n,r){return r.some(e.__2(n))}},261:(n,r,t)=>{var e=t(949);r.get=function(n,r){if(r in n)return e.some(n[r])},r.unsafeDeleteKey=function(n,r){delete n[r]},r.entries=function(n){for(var r=Object.keys(n),t=r.length,e=new Array(t),u=0;u{r.$$Error="JsError",r.raiseError=function(n){throw new Error(n)},r.raiseEvalError=function(n){throw new EvalError(n)},r.raiseRangeError=function(n){throw new RangeError(n)},r.raiseReferenceError=function(n){throw new ReferenceError(n)},r.raiseSyntaxError=function(n){throw new SyntaxError(n)},r.raiseTypeError=function(n){throw new TypeError(n)},r.raiseUriError=function(n){throw new URIError(n)}},890:(n,r)=>{r.equal=function(n,r){return n===r},r.max=2147483647,r.min=-2147483648},311:(n,r,t)=>{var e=t(890);function u(n){return n>e.max?e.max:ne.max?e.max:n{var e=t(949);function u(n){if(void 0!==n)return e.valFromOption(n)}var i=u;r.bind=function(n,r){return null==n?n:r(n)},r.iter=function(n,r){if(null!=n)return r(n)},r.fromOption=u,r.from_opt=i},25:(n,r,t)=>{var e=t(949);function u(n,r){return void 0!==r?e.valFromOption(r):n}var i=u;r.some=function(n){return e.some(n)},r.isSome=function(n){return void 0!==n},r.isSomeValue=function(n,r,t){return void 0!==t&&n(r,e.valFromOption(t))},r.isNone=function(n){return void 0===n},r.getExn=function(n){if(void 0!==n)return e.valFromOption(n);throw new Error("getExn")},r.equal=function(n,r,t){return void 0!==r?void 0!==t&&n(e.valFromOption(r),e.valFromOption(t)):void 0===t},r.andThen=function(n,r){if(void 0!==r)return n(e.valFromOption(r))},r.map=function(n,r){if(void 0!==r)return e.some(n(e.valFromOption(r)))},r.getWithDefault=u,r.$$default=i,r.default=i,r.__esModule=!0,r.filter=function(n,r){if(void 0!==r){var t=e.valFromOption(r);return n(t)?e.some(t):void 0}},r.firstSome=function(n,r){return void 0!==n?n:void 0!==r?r:void 0}},792:(n,r,t)=>{var e=t(454);r.then_=function(n,r){return r.then(e.__1(n))},r.$$catch=function(n,r){return r.catch(e.__1(n))}},126:(n,r)=>{r.$$ArrayBuffer={slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)}},r.$$Int8Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.$$Uint8Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.$$Uint8ClampedArray={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.$$Int16Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.$$Uint16Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.$$Int32Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.Int32_array=void 0,r.$$Uint32Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.$$Float32Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.Float32_array=void 0,r.$$Float64Array={setArray:function(n,r){r.set(n)},setArrayOffset:function(n,r,t){t.set(n,r)},copyWithin:function(n,r){return r.copyWithin(n)},copyWithinFrom:function(n,r,t){return t.copyWithin(n,r)},copyWithinFromRange:function(n,r,t,e){return e.copyWithin(n,r,t)},fillInPlace:function(n,r){return r.fill(n)},fillFromInPlace:function(n,r,t){return t.fill(n,r)},fillRangeInPlace:function(n,r,t,e){return e.fill(n,r,t)},sortInPlaceWith:function(n,r){return r.sort(n)},includes:function(n,r){return r.includes(n)},indexOf:function(n,r){return r.indexOf(n)},indexOfFrom:function(n,r,t){return t.indexOf(n,r)},joinWith:function(n,r){return r.join(n)},lastIndexOf:function(n,r){return r.lastIndexOf(n)},lastIndexOfFrom:function(n,r,t){return t.lastIndexOf(n,r)},slice:function(n,r,t){return t.slice(n,r)},sliceFrom:function(n,r){return r.slice(n)},subarray:function(n,r,t){return t.subarray(n,r)},subarrayFrom:function(n,r){return r.subarray(n)},every:function(n,r){return r.every(n)},everyi:function(n,r){return r.every(n)},filter:function(n,r){return r.filter(n)},filteri:function(n,r){return r.filter(n)},find:function(n,r){return r.find(n)},findi:function(n,r){return r.find(n)},findIndex:function(n,r){return r.findIndex(n)},findIndexi:function(n,r){return r.findIndex(n)},forEach:function(n,r){r.forEach(n)},forEachi:function(n,r){r.forEach(n)},map:function(n,r){return r.map(n)},mapi:function(n,r){return r.map(n)},reduce:function(n,r,t){return t.reduce(n,r)},reducei:function(n,r,t){return t.reduce(n,r)},reduceRight:function(n,r,t){return t.reduceRight(n,r)},reduceRighti:function(n,r,t){return t.reduceRight(n,r)},some:function(n,r){return r.some(n)},somei:function(n,r){return r.some(n)}},r.Float64_array=void 0,r.$$DataView={}},210:(n,r,t)=>{var e=t(236),u=t(870),i=t(254),o=t(734);r.parse=function(n){var r=new TextDecoder("utf-8"),t=o.load(n);if(3!==t.length)throw{RE_EXN_ID:"Match_failure",_1:["ParseEventData.res",6,6],Error:new Error};var f=t[0],c=t[1],a=t[2],l=JSON.parse(u.decodeUint8Array(c,r)),s=i.map(o.load(a.buffer),(function(n){return n.buffer}));return i.map(JSON.parse(u.decodeUint8Array(f,r)),(function(n){return{name:n.name,isOnlyRead:n.isOnlyRead,inputData:i.map(n.inputData,(function(n){var r=e.indexOf(n,l);return-1!==r?i.getExn(s,r):n}))}}))}},842:(n,r,t)=>{var e=t(454),u=t(311),i=t(607),o=t(254),f=t(734),c=t(644);function a(n){return u.floor_int(1e7*e._1(n,void 0))}var l=function(n){return n instanceof ArrayBuffer},s=l;function d(n,r){var t=new TextEncoder,e=o.reduceOneParam(r,(function(r,t){var e=o.reduceOneParam(t.inputData,(function(r,t){var e=r[2],u=r[1],i=r[0];if(!l(t))return[i,u,o.push(e,t)];var f=a(n);return[o.push(i,f),o.push(u,t),o.push(e,f)]}),[r[0],r[1],[]]);return[e[0],e[1],o.push(r[2],{name:t.name,isOnlyRead:t.isOnlyRead,inputData:e[2]})]}),[[],[],[]]);return f.generate([i.encodeUint8Array(JSON.stringify(e[2]),t),i.encodeUint8Array(JSON.stringify(e[0]),t),new Uint8Array(f.generate(o.map(e[1],(function(n){return new Uint8Array(n)}))))])}r._generateId=a,r._isArrayBuffer=l,r._isOutsideImmutableData=s,r._generateEventDataBuffer=d,r.$$export=function(n){return 0===o.length(n)?void 0:c.createAndDownloadBlobFile(d((function(n){return Math.random()}),n),"eventData","arraybuffer")},r.generateEventDataBuffer=function(n){return d((function(n){return Math.random()}),n)}},511:(n,r,t)=>{var e=t(73),u=t(842),i=u.$$export,o=u.generateEventDataBuffer;r._getImportDataEventName=function(n){return"ImportDataEvent"},r.buildAllEventsOnlyHasImportDataEvent=function(n,r){return[{name:"ImportDataEvent",isOnlyRead:e.$$return(!1),inputData:[n,r]}]},r.exportEventData=i,r.generateEventDataBuffer=o},644:(n,r)=>{r.createAndDownloadBlobFile=function(n,r,t){const e=new Blob([n],{type:"arraybuffer"}),u=r+"."+t,i=document.createElement("a"),o=URL.createObjectURL(e);i.setAttribute("href",o),i.setAttribute("download",u),i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i)}}},r={};function t(e){var u=r[e];if(void 0!==u)return u.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,t),i.exports}var e,u,i,o={};e=o,u=t(511),i=t(210),e.getExtensionService=function(n){return{parseEventData:i.parse,exportEventData:u.exportEventData,generateEventDataBuffer:u.generateEventDataBuffer}},e.createExtensionState=function(n,r){return{}},e.getExtensionLife=function(n,r){return{onRegister:null,onRestore:null,onDeepCopy:null,onStart:null,onInit:null,onUpdate:null}},window.Extension=o})(); \ No newline at end of file diff --git a/packages/event/extensions/meta3d-event/dist/static/js/main.js b/packages/event/extensions/meta3d-event/dist/static/js/main.js index 6bae64768..921309d9a 100644 --- a/packages/event/extensions/meta3d-event/dist/static/js/main.js +++ b/packages/event/extensions/meta3d-event/dist/static/js/main.js @@ -1,2492 +1,2 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js": -/*!*************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Most = __webpack_require__(/*! most */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js\");\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\n\nfunction subscribe(arg1, obj) {\n return obj.subscribe(arg1);\n}\n\nfunction unfold(f) {\n return function (param) {\n return Most.unfold((function (x) {\n var match = Curry._1(f, x);\n if (match !== undefined) {\n return {\n value: match[0],\n seed: match[1]\n };\n } else {\n return {\n done: true\n };\n }\n }), param);\n };\n}\n\nfunction fromList(list) {\n return unfold(function (curList) {\n if (curList) {\n return [\n curList.hd,\n curList.tl\n ];\n }\n \n })(list);\n}\n\nfunction concat(arg1, obj) {\n return obj.concat(arg1);\n}\n\nvar Subject = {};\n\nexports.subscribe = subscribe;\nexports.unfold = unfold;\nexports.fromList = fromList;\nexports.concat = concat;\nexports.Subject = Subject;\n/* most Not a pure module */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js": -/*!***************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LinkedList)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Doubly linked list\n * @constructor\n */\nfunction LinkedList () {\n this.head = null\n this.length = 0\n}\n\n/**\n * Add a node to the end of the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to add\n */\nLinkedList.prototype.add = function (x) {\n if (this.head !== null) {\n this.head.prev = x\n x.next = this.head\n }\n this.head = x\n ++this.length\n}\n\n/**\n * Remove the provided node from the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to remove\n */\nLinkedList.prototype.remove = function (x) { // eslint-disable-line complexity\n --this.length\n if (x === this.head) {\n this.head = this.head.next\n }\n if (x.next !== null) {\n x.next.prev = x.prev\n x.next = null\n }\n if (x.prev !== null) {\n x.prev.next = x.next\n x.prev = null\n }\n}\n\n/**\n * @returns {boolean} true iff there are no nodes in the list\n */\nLinkedList.prototype.isEmpty = function () {\n return this.length === 0\n}\n\n/**\n * Dispose all nodes\n * @returns {Promise} promise that fulfills when all nodes have been disposed,\n * or rejects if an error occurs while disposing\n */\nLinkedList.prototype.dispose = function () {\n if (this.isEmpty()) {\n return Promise.resolve()\n }\n\n var promises = []\n var x = this.head\n this.head = null\n this.length = 0\n\n while (x !== null) {\n promises.push(x.dispose())\n x = x.next\n }\n\n return Promise.all(promises)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js": -/*!************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js ***! - \************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isPromise: () => (/* binding */ isPromise)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction isPromise (p) {\n return p !== null && typeof p === 'object' && typeof p.then === 'function'\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Queue)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n// Based on https://github.com/petkaantonov/deque\n\nfunction Queue (capPow2) {\n this._capacity = capPow2 || 32\n this._length = 0\n this._head = 0\n}\n\nQueue.prototype.push = function (x) {\n var len = this._length\n this._checkCapacity(len + 1)\n\n var i = (this._head + len) & (this._capacity - 1)\n this[i] = x\n this._length = len + 1\n}\n\nQueue.prototype.shift = function () {\n var head = this._head\n var x = this[head]\n\n this[head] = void 0\n this._head = (head + 1) & (this._capacity - 1)\n this._length--\n return x\n}\n\nQueue.prototype.isEmpty = function () {\n return this._length === 0\n}\n\nQueue.prototype.length = function () {\n return this._length\n}\n\nQueue.prototype._checkCapacity = function (size) {\n if (this._capacity < size) {\n this._ensureCapacity(this._capacity << 1)\n }\n}\n\nQueue.prototype._ensureCapacity = function (capacity) {\n var oldCapacity = this._capacity\n this._capacity = capacity\n\n var last = this._head + this._length\n\n if (last > oldCapacity) {\n copy(this, 0, this, oldCapacity, last & (oldCapacity - 1))\n }\n}\n\nfunction copy (src, srcIndex, dst, dstIndex, len) {\n for (var j = 0; j < len; ++j) {\n dst[j + dstIndex] = src[j + srcIndex]\n src[j + srcIndex] = void 0\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js": -/*!***********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Stream)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction Stream (source) {\n this.source = source\n}\n\nStream.prototype.run = function (sink, scheduler) {\n return this.source.run(sink, scheduler)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js": -/*!**************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js ***! - \**************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ reduce: () => (/* binding */ reduce),\n/* harmony export */ scan: () => (/* binding */ scan)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../runSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @param {Stream} stream stream to scan\n * @returns {Stream} new stream containing successive reduce results\n */\nfunction scan (f, initial, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Scan(f, initial, stream.source))\n}\n\nfunction Scan (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nScan.prototype.run = function (sink, scheduler) {\n var d1 = scheduler.asap(_scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"].event(this.value, sink))\n var d2 = this.source.run(new ScanSink(this.f, this.value, sink), scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.all([d1, d2])\n}\n\nfunction ScanSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nScanSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nScanSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nScanSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\n/**\n* Reduce a stream to produce a single result. Note that reducing an infinite\n* stream will return a Promise that never fulfills, but that may reject if an error\n* occurs.\n* @param {function(result:*, x:*):*} f reducer function\n* @param {*} initial initial value\n* @param {Stream} stream to reduce\n* @returns {Promise} promise for the file result of the reduce\n*/\nfunction reduce (f, initial, stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_2__.withDefaultScheduler)(new Reduce(f, initial, stream.source))\n}\n\nfunction Reduce (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nReduce.prototype.run = function (sink, scheduler) {\n return this.source.run(new ReduceSink(this.f, this.value, sink), scheduler)\n}\n\nfunction ReduceSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nReduceSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nReduceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nReduceSink.prototype.end = function (t) {\n this.sink.end(t, this.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js": -/*!***************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js ***! - \***************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ap: () => (/* binding */ ap)\n/* harmony export */ });\n/* harmony import */ var _combine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./combine */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Assume fs is a stream containing functions, and apply the latest function\n * in fs to the latest value in xs.\n * fs: --f---------g--------h------>\n * xs: -a-------b-------c-------d-->\n * ap(fs, xs): --fa-----fb-gb---gc--hc--hd->\n * @param {Stream} fs stream of functions to apply to the latest x\n * @param {Stream} xs stream of values to which to apply all the latest f\n * @returns {Stream} stream containing all the applications of fs to xs\n */\nfunction ap (fs, xs) {\n return (0,_combine__WEBPACK_IMPORTED_MODULE_0__.combine)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.apply, fs, xs)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ cons: () => (/* binding */ cons)\n/* harmony export */ });\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _continueWith__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continueWith */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * @param {*} x value to prepend\n * @param {Stream} stream\n * @returns {Stream} new stream with x prepended\n */\nfunction cons (x, stream) {\n return concat((0,_source_core__WEBPACK_IMPORTED_MODULE_0__.of)(x), stream)\n}\n\n/**\n* @param {Stream} left\n* @param {Stream} right\n* @returns {Stream} new stream containing all events in left followed by all\n* events in right. This *timeshifts* right to the end of left.\n*/\nfunction concat (left, right) {\n return (0,_continueWith__WEBPACK_IMPORTED_MODULE_1__.continueWith)(function () {\n return right\n }, left)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ combineArray: () => (/* binding */ combineArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\nfunction combine (f /*, ...streams */) {\n return combineArray(f, tail(arguments))\n}\n\n/**\n* Combine latest events from all input streams\n* @param {function(...events):*} f function to combine most recent events\n* @param {[Stream]} streams most recent events\n* @returns {Stream} stream containing the result of applying f to the most recent\n* event of each input stream, whenever a new event arrives on any stream.\n*/\nfunction combineArray (f, streams) {\n var l = streams.length\n return l === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : l === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](combineSources(f, streams))\n}\n\nfunction combineSources (f, streams) {\n return new Combine(f, map(getSource, streams))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Combine (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nCombine.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new CombineSink(disposables, sinks, sink, this.f)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction CombineSink (disposables, sinks, sink, f) {\n this.sink = sink\n this.disposables = disposables\n this.sinks = sinks\n this.f = f\n\n var l = sinks.length\n this.awaiting = l\n this.values = new Array(l)\n this.hasValue = new Array(l)\n for (var i = 0; i < l; ++i) {\n this.hasValue[i] = false\n }\n\n this.activeCount = sinks.length\n}\n\nCombineSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nCombineSink.prototype.event = function (t, indexedValue) {\n var i = indexedValue.index\n var awaiting = this._updateReady(i)\n\n this.values[i] = indexedValue.value\n if (awaiting === 0) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(this.f, this.values))\n }\n}\n\nCombineSink.prototype._updateReady = function (index) {\n if (this.awaiting > 0) {\n if (!this.hasValue[index]) {\n this.hasValue[index] = true\n this.awaiting -= 1\n }\n }\n return this.awaiting\n}\n\nCombineSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concatMap: () => (/* binding */ concatMap)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in stream to a new stream, and concatenate them all\n * stream: -a---b---cX\n * f(a): 1-1-1-1X\n * f(b): -2-2-2-2X\n * f(c): -3-3-3-3X\n * stream.concatMap(f): -1-1-1-1-2-2-2-2-3-3-3-3X\n * @param {function(x:*):Stream} f function to map each value to a stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction concatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, 1, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ continueWith: () => (/* binding */ continueWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction continueWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ContinueWith(f, stream.source))\n}\n\nfunction ContinueWith (f, source) {\n this.f = f\n this.source = source\n}\n\nContinueWith.prototype.run = function (sink, scheduler) {\n return new ContinueWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction ContinueWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.once(source.run(this, scheduler))\n}\n\nContinueWithSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nContinueWithSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nContinueWithSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, x, this.sink)\n}\n\nContinueWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nContinueWithSink.prototype._continue = function (f, x, sink) {\n return f(x).source.run(sink, this.scheduler)\n}\n\nContinueWithSink.prototype.dispose = function () {\n this.active = false\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ delay: () => (/* binding */ delay)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @param {Stream} stream\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\nfunction delay (delayTime, stream) {\n return delayTime <= 0 ? stream\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Delay(delayTime, stream.source))\n}\n\nfunction Delay (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDelay.prototype.run = function (sink, scheduler) {\n var delaySink = new DelaySink(this.dt, sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([delaySink, this.source.run(delaySink, scheduler)])\n}\n\nfunction DelaySink (dt, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n}\n\nDelaySink.prototype.dispose = function () {\n var self = this\n this.scheduler.cancelAll(function (task) {\n return task.sink === self.sink\n })\n}\n\nDelaySink.prototype.event = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].event(x, this.sink))\n}\n\nDelaySink.prototype.end = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].end(x, this.sink))\n}\n\nDelaySink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMapError: () => (/* binding */ flatMapError),\n/* harmony export */ recoverWith: () => (/* binding */ recoverWith),\n/* harmony export */ throwError: () => (/* binding */ throwError)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/SafeSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * If stream encounters an error, recover and continue with items from stream\n * returned by f.\n * @param {function(error:*):Stream} f function which returns a new stream\n * @param {Stream} stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\nfunction recoverWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new RecoverWith(f, stream.source))\n}\n\nvar flatMapError = recoverWith\n\n/**\n * Create a stream containing only an error\n * @param {*} e error value, preferably an Error or Error subtype\n * @returns {Stream} new stream containing only an error\n */\nfunction throwError (e) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ErrorSource(e))\n}\n\nfunction ErrorSource (e) {\n this.value = e\n}\n\nErrorSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"](runError, this.value, sink))\n}\n\nfunction runError (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction RecoverWith (f, source) {\n this.f = f\n this.source = source\n}\n\nRecoverWith.prototype.run = function (sink, scheduler) {\n return new RecoverWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction RecoverWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = new _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__[\"default\"](sink)\n this.scheduler = scheduler\n this.disposable = source.run(this, scheduler)\n}\n\nRecoverWithSink.prototype.event = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEvent(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.end = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEnd(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.error = function (t, e) {\n var nextSink = this.sink.disable()\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, e, nextSink)\n}\n\nRecoverWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nRecoverWithSink.prototype._continue = function (f, x, sink) {\n var stream = f(x)\n return stream.source.run(sink, this.scheduler)\n}\n\nRecoverWithSink.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ filter: () => (/* binding */ filter),\n/* harmony export */ skipRepeats: () => (/* binding */ skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* binding */ skipRepeatsWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _fusion_Filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fusion/Filter */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Retain only items matching a predicate\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @param {Stream} stream stream to filter\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\nfunction filter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"].create(p, stream.source))\n}\n\n/**\n * Skip repeated events, using === to detect duplicates\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeats (stream) {\n return skipRepeatsWith(same, stream)\n}\n\n/**\n * Skip repeated events using the provided equals function to detect duplicates\n * @param {function(a:*, b:*):boolean} equals optional function to compare items\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeatsWith (equals, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipRepeats(equals, stream.source))\n}\n\nfunction SkipRepeats (equals, source) {\n this.equals = equals\n this.source = source\n}\n\nSkipRepeats.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipRepeatsSink(this.equals, sink), scheduler)\n}\n\nfunction SkipRepeatsSink (equals, sink) {\n this.equals = equals\n this.sink = sink\n this.value = void 0\n this.init = true\n}\n\nSkipRepeatsSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipRepeatsSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipRepeatsSink.prototype.event = function (t, x) {\n if (this.init) {\n this.init = false\n this.value = x\n this.sink.event(t, x)\n } else if (!this.equals(this.value, x)) {\n this.value = x\n this.sink.event(t, x)\n }\n}\n\nfunction same (a, b) {\n return a === b\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMap: () => (/* binding */ flatMap),\n/* harmony export */ join: () => (/* binding */ join)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction flatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, Infinity, stream)\n}\n\n/**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @param {Stream>} stream stream of streams\n * @returns {Stream} new stream containing all events of all inner streams\n */\nfunction join (stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeConcurrently)(Infinity, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ debounce: () => (/* binding */ debounce),\n/* harmony export */ throttle: () => (/* binding */ throttle)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n/**\n * Limit the rate of events by suppressing events that occur too often\n * @param {Number} period time to suppress events\n * @param {Stream} stream\n * @returns {Stream}\n */\nfunction throttle (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](throttleSource(period, stream.source))\n}\n\nfunction throttleSource (period, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_3__[\"default\"] ? commuteMapThrottle(period, source)\n : source instanceof Throttle ? fuseThrottle(period, source)\n : new Throttle(period, source)\n}\n\nfunction commuteMapThrottle (period, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_3__[\"default\"].create(source.f, throttleSource(period, source.source))\n}\n\nfunction fuseThrottle (period, source) {\n return new Throttle(Math.max(period, source.period), source.source)\n}\n\nfunction Throttle (period, source) {\n this.period = period\n this.source = source\n}\n\nThrottle.prototype.run = function (sink, scheduler) {\n return this.source.run(new ThrottleSink(this.period, sink), scheduler)\n}\n\nfunction ThrottleSink (period, sink) {\n this.time = 0\n this.period = period\n this.sink = sink\n}\n\nThrottleSink.prototype.event = function (t, x) {\n if (t >= this.time) {\n this.time = t + this.period\n this.sink.event(t, x)\n }\n}\n\nThrottleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nThrottleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * @param {Number} period events occuring more frequently than this\n * will be suppressed\n * @param {Stream} stream stream to debounce\n * @returns {Stream} new debounced stream\n */\nfunction debounce (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Debounce(period, stream.source))\n}\n\nfunction Debounce (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDebounce.prototype.run = function (sink, scheduler) {\n return new DebounceSink(this.dt, this.source, sink, scheduler)\n}\n\nfunction DebounceSink (dt, source, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n this.value = void 0\n this.timer = null\n this.disposable = source.run(this, scheduler)\n}\n\nDebounceSink.prototype.event = function (t, x) {\n this._clearTimer()\n this.value = x\n this.timer = this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"].event(x, this.sink))\n}\n\nDebounceSink.prototype.end = function (t, x) {\n if (this._clearTimer()) {\n this.sink.event(t, this.value)\n this.value = void 0\n }\n this.sink.end(t, x)\n}\n\nDebounceSink.prototype.error = function (t, x) {\n this._clearTimer()\n this.sink.error(t, x)\n}\n\nDebounceSink.prototype.dispose = function () {\n this._clearTimer()\n return this.disposable.dispose()\n}\n\nDebounceSink.prototype._clearTimer = function () {\n if (this.timer === null) {\n return false\n }\n this.timer.dispose()\n this.timer = null\n return true\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loop: () => (/* binding */ loop)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @param {Stream} stream event stream\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\nfunction loop (stepper, seed, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Loop(stepper, seed, stream.source))\n}\n\nfunction Loop (stepper, seed, source) {\n this.step = stepper\n this.seed = seed\n this.source = source\n}\n\nLoop.prototype.run = function (sink, scheduler) {\n return this.source.run(new LoopSink(this.step, this.seed, sink), scheduler)\n}\n\nfunction LoopSink (stepper, seed, sink) {\n this.step = stepper\n this.seed = seed\n this.sink = sink\n}\n\nLoopSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLoopSink.prototype.event = function (t, x) {\n var result = this.step(this.seed, x)\n this.seed = result.seed\n this.sink.event(t, result.value)\n}\n\nLoopSink.prototype.end = function (t) {\n this.sink.end(t, this.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ merge: () => (/* binding */ merge),\n/* harmony export */ mergeArray: () => (/* binding */ mergeArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\nvar copy = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.copy\nvar reduce = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.reduce\n\n/**\n * @returns {Stream} stream containing events from all streams in the argument\n * list in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction merge (/* ...streams*/) {\n return mergeArray(copy(arguments))\n}\n\n/**\n * @param {Array} streams array of stream to merge\n * @returns {Stream} stream containing events from all input observables\n * in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction mergeArray (streams) {\n var l = streams.length\n return l === 0 ? (0,_source_core__WEBPACK_IMPORTED_MODULE_3__.empty)()\n : l === 1 ? streams[0]\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](mergeSources(streams))\n}\n\n/**\n * This implements fusion/flattening for merge. It will\n * fuse adjacent merge operations. For example:\n * - a.merge(b).merge(c) effectively becomes merge(a, b, c)\n * - merge(a, merge(b, c)) effectively becomes merge(a, b, c)\n * It does this by concatenating the sources arrays of\n * any nested Merge sources, in effect \"flattening\" nested\n * merge operations into a single merge.\n */\nfunction mergeSources (streams) {\n return new Merge(reduce(appendSources, [], streams))\n}\n\nfunction appendSources (sources, stream) {\n var source = stream.source\n return source instanceof Merge\n ? sources.concat(source.sources)\n : sources.concat(source)\n}\n\nfunction Merge (sources) {\n this.sources = sources\n}\n\nMerge.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new MergeSink(disposables, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.all(disposables)\n}\n\nfunction MergeSink (disposables, sinks, sink) {\n this.sink = sink\n this.disposables = disposables\n this.activeCount = sinks.length\n}\n\nMergeSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nMergeSink.prototype.event = function (t, indexValue) {\n this.sink.event(t, indexValue.value)\n}\n\nMergeSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js": -/*!*********************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js ***! - \*********************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mergeConcurrently: () => (/* binding */ mergeConcurrently),\n/* harmony export */ mergeMapConcurrently: () => (/* binding */ mergeMapConcurrently)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _LinkedList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LinkedList */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/LinkedList.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction mergeConcurrently (concurrency, stream) {\n return mergeMapConcurrently(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, concurrency, stream)\n}\n\nfunction mergeMapConcurrently (f, concurrency, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new MergeConcurrently(f, concurrency, stream.source))\n}\n\nfunction MergeConcurrently (f, concurrency, source) {\n this.f = f\n this.concurrency = concurrency\n this.source = source\n}\n\nMergeConcurrently.prototype.run = function (sink, scheduler) {\n return new Outer(this.f, this.concurrency, this.source, sink, scheduler)\n}\n\nfunction Outer (f, concurrency, source, sink, scheduler) {\n this.f = f\n this.concurrency = concurrency\n this.sink = sink\n this.scheduler = scheduler\n this.pending = []\n this.current = new _LinkedList__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.once(source.run(this, scheduler))\n this.active = true\n}\n\nOuter.prototype.event = function (t, x) {\n this._addInner(t, x)\n}\n\nOuter.prototype._addInner = function (t, x) {\n if (this.current.length < this.concurrency) {\n this._startInner(t, x)\n } else {\n this.pending.push(x)\n }\n}\n\nOuter.prototype._startInner = function (t, x) {\n try {\n this._initInner(t, x)\n } catch (e) {\n this.error(t, e)\n }\n}\n\nOuter.prototype._initInner = function (t, x) {\n var innerSink = new Inner(t, this, this.sink)\n innerSink.disposable = mapAndRun(this.f, x, innerSink, this.scheduler)\n this.current.add(innerSink)\n}\n\nfunction mapAndRun (f, x, sink, scheduler) {\n return f(x).source.run(sink, scheduler)\n}\n\nOuter.prototype.end = function (t, x) {\n this.active = false\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n this._checkEnd(t, x)\n}\n\nOuter.prototype.error = function (t, e) {\n this.active = false\n this.sink.error(t, e)\n}\n\nOuter.prototype.dispose = function () {\n this.active = false\n this.pending.length = 0\n return Promise.all([this.disposable.dispose(), this.current.dispose()])\n}\n\nOuter.prototype._endInner = function (t, x, inner) {\n this.current.remove(inner)\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, inner, this)\n\n if (this.pending.length === 0) {\n this._checkEnd(t, x)\n } else {\n this._startInner(t, this.pending.shift())\n }\n}\n\nOuter.prototype._checkEnd = function (t, x) {\n if (!this.active && this.current.isEmpty()) {\n this.sink.end(t, x)\n }\n}\n\nfunction Inner (time, outer, sink) {\n this.prev = this.next = null\n this.time = time\n this.outer = outer\n this.sink = sink\n this.disposable = void 0\n}\n\nInner.prototype.event = function (t, x) {\n this.sink.event(Math.max(t, this.time), x)\n}\n\nInner.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.time), x, this)\n}\n\nInner.prototype.error = function (t, e) {\n this.outer.error(Math.max(t, this.time), e)\n}\n\nInner.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drain: () => (/* binding */ drain),\n/* harmony export */ observe: () => (/* binding */ observe)\n/* harmony export */ });\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../runSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Observe all the event values in the stream in time order. The\n * provided function `f` will be called for each event value\n * @param {function(x:T):*} f function to call with each event value\n * @param {Stream} stream stream to observe\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction observe (f, stream) {\n return drain((0,_transform__WEBPACK_IMPORTED_MODULE_1__.tap)(f, stream))\n}\n\n/**\n * \"Run\" a stream by creating demand and consuming all events\n * @param {Stream} stream stream to drain\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction drain (stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_0__.withDefaultScheduler)(stream.source)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ awaitPromises: () => (/* binding */ awaitPromises),\n/* harmony export */ fromPromise: () => (/* binding */ fromPromise)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fatalError */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream containing only the promise's fulfillment\n * value at the time it fulfills.\n * @param {Promise} p promise\n * @return {Stream} stream containing promise's fulfillment value.\n * If the promise rejects, the stream will error\n */\nfunction fromPromise (p) {\n return awaitPromises((0,_source_core__WEBPACK_IMPORTED_MODULE_2__.of)(p))\n}\n\n/**\n * Turn a Stream> into Stream by awaiting each promise.\n * Event order is preserved.\n * @param {Stream>} stream\n * @return {Stream} stream of fulfillment values. The stream will\n * error if any promise rejects.\n */\nfunction awaitPromises (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Await(stream.source))\n}\n\nfunction Await (source) {\n this.source = source\n}\n\nAwait.prototype.run = function (sink, scheduler) {\n return this.source.run(new AwaitSink(sink, scheduler), scheduler)\n}\n\nfunction AwaitSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.queue = Promise.resolve()\n var self = this\n\n\t// Pre-create closures, to avoid creating them per event\n this._eventBound = function (x) {\n self.sink.event(self.scheduler.now(), x)\n }\n\n this._endBound = function (x) {\n self.sink.end(self.scheduler.now(), x)\n }\n\n this._errorBound = function (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n}\n\nAwaitSink.prototype.event = function (t, promise) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._event(promise)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.end = function (t, x) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._end(x)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.error = function (t, e) {\n var self = this\n // Don't resolve error values, propagate directly\n this.queue = this.queue.then(function () {\n return self._errorBound(e)\n }).catch(_fatalError__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nAwaitSink.prototype._event = function (promise) {\n return promise.then(this._eventBound)\n}\n\nAwaitSink.prototype._end = function (x) {\n return Promise.resolve(x).then(this._endBound)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sample: () => (/* binding */ sample),\n/* harmony export */ sampleArray: () => (/* binding */ sampleArray),\n/* harmony export */ sampleWith: () => (/* binding */ sampleWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../invoke */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * When an event arrives on sampler, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @param {Stream} sampler streams will be sampled whenever an event arrives\n * on sampler\n * @returns {Stream} stream of sampled and transformed values\n */\nfunction sample (f, sampler /*, ...streams */) {\n return sampleArray(f, sampler, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.drop(2, arguments))\n}\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * stream's latest value will be propagated\n * @param {Stream} stream stream of values\n * @returns {Stream} sampled stream of values\n */\nfunction sampleWith (sampler, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, sampler.source, [stream.source]))\n}\n\nfunction sampleArray (f, sampler, streams) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(f, sampler.source, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Sampler (f, sampler, sources) {\n this.f = f\n this.sampler = sampler\n this.sources = sources\n}\n\nSampler.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l + 1)\n var sinks = new Array(l)\n\n var sampleSink = new SampleSink(this.f, sinks, sink)\n\n for (var hold, i = 0; i < l; ++i) {\n hold = sinks[i] = new Hold(sampleSink)\n disposables[i] = this.sources[i].run(hold, scheduler)\n }\n\n disposables[i] = this.sampler.run(sampleSink, scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all(disposables)\n}\n\nfunction Hold (sink) {\n this.sink = sink\n this.hasValue = false\n}\n\nHold.prototype.event = function (t, x) {\n this.value = x\n this.hasValue = true\n this.sink._notify(this)\n}\n\nHold.prototype.end = function () {}\nHold.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction SampleSink (f, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.active = false\n}\n\nSampleSink.prototype._notify = function () {\n if (!this.active) {\n this.active = this.sinks.every(hasValue)\n }\n}\n\nSampleSink.prototype.event = function (t) {\n if (this.active) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.f, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getValue, this.sinks)))\n }\n}\n\nSampleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSampleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction hasValue (hold) {\n return hold.hasValue\n}\n\nfunction getValue (hold) {\n return hold.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ skip: () => (/* binding */ skip),\n/* harmony export */ skipAfter: () => (/* binding */ skipAfter),\n/* harmony export */ skipWhile: () => (/* binding */ skipWhile),\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ take: () => (/* binding */ take),\n/* harmony export */ takeWhile: () => (/* binding */ takeWhile)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream containing only up to the first n items from stream\n */\nfunction take (n, stream) {\n return slice(0, n, stream)\n}\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream with the first n items removed\n */\nfunction skip (n, stream) {\n return slice(n, Infinity, stream)\n}\n\n/**\n * Slice a stream by index. Negative start/end indexes are not supported\n * @param {number} start\n * @param {number} end\n * @param {Stream} stream\n * @returns {Stream} stream containing items where start <= index < end\n */\nfunction slice (start, end, stream) {\n return end <= start ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sliceSource(start, end, stream.source))\n}\n\nfunction sliceSource (start, end, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"] ? commuteMapSlice(start, end, source)\n : source instanceof Slice ? fuseSlice(start, end, source)\n : new Slice(start, end, source)\n}\n\nfunction commuteMapSlice (start, end, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"].create(source.f, sliceSource(start, end, source.source))\n}\n\nfunction fuseSlice (start, end, source) {\n start += source.min\n end = Math.min(end + source.min, source.max)\n return new Slice(start, end, source.source)\n}\n\nfunction Slice (min, max, source) {\n this.source = source\n this.min = min\n this.max = max\n}\n\nSlice.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var sliceSink = new SliceSink(this.min, this.max - this.min, sink, disposable)\n\n disposable.setDisposable(this.source.run(sliceSink, scheduler))\n return disposable\n}\n\nfunction SliceSink (skip, take, sink, disposable) {\n this.sink = sink\n this.skip = skip\n this.take = take\n this.disposable = disposable\n}\n\nSliceSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSliceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSliceSink.prototype.event = function (t, x) {\n /* eslint complexity: [1, 4] */\n if (this.skip > 0) {\n this.skip -= 1\n return\n }\n\n if (this.take === 0) {\n return\n }\n\n this.take -= 1\n this.sink.event(t, x)\n if (this.take === 0) {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction takeWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new TakeWhile(p, stream.source))\n}\n\nfunction TakeWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nTakeWhile.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var takeWhileSink = new TakeWhileSink(this.p, sink, disposable)\n\n disposable.setDisposable(this.source.run(takeWhileSink, scheduler))\n return disposable\n}\n\nfunction TakeWhileSink (p, sink, disposable) {\n this.p = p\n this.sink = sink\n this.active = true\n this.disposable = disposable\n}\n\nTakeWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTakeWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTakeWhileSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n var p = this.p\n this.active = p(x)\n if (this.active) {\n this.sink.event(t, x)\n } else {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction skipWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipWhile(p, stream.source))\n}\n\nfunction SkipWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipWhile.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipWhileSink(this.p, sink), scheduler)\n}\n\nfunction SkipWhileSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = true\n}\n\nSkipWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipWhileSink.prototype.event = function (t, x) {\n if (this.skipping) {\n var p = this.p\n this.skipping = p(x)\n if (this.skipping) {\n return\n }\n }\n\n this.sink.event(t, x)\n}\n\nfunction skipAfter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipAfter(p, stream.source))\n}\n\nfunction SkipAfter (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipAfter.prototype.run = function run (sink, scheduler) {\n return this.source.run(new SkipAfterSink(this.p, sink), scheduler)\n}\n\nfunction SkipAfterSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = false\n}\n\nSkipAfterSink.prototype.event = function event (t, x) {\n if (this.skipping) {\n return\n }\n\n var p = this.p\n this.skipping = p(x)\n this.sink.event(t, x)\n\n if (this.skipping) {\n this.sink.end(t, x)\n }\n}\n\nSkipAfterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipAfterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"switch\": () => (/* binding */ switchLatest),\n/* harmony export */ switchLatest: () => (/* binding */ switchLatest)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @param {Stream} stream of streams on which to switch\n * @returns {Stream} switching stream\n */\nfunction switchLatest (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Switch(stream.source))\n}\n\n\n\nfunction Switch (source) {\n this.source = source\n}\n\nSwitch.prototype.run = function (sink, scheduler) {\n var switchSink = new SwitchSink(sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.all([switchSink, this.source.run(switchSink, scheduler)])\n}\n\nfunction SwitchSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.current = null\n this.ended = false\n}\n\nSwitchSink.prototype.event = function (t, stream) {\n this._disposeCurrent(t) // TODO: capture the result of this dispose\n this.current = new Segment(t, Infinity, this, this.sink)\n this.current.disposable = stream.source.run(this.current, this.scheduler)\n}\n\nSwitchSink.prototype.end = function (t, x) {\n this.ended = true\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype.error = function (t, e) {\n this.ended = true\n this.sink.error(t, e)\n}\n\nSwitchSink.prototype.dispose = function () {\n return this._disposeCurrent(this.scheduler.now())\n}\n\nSwitchSink.prototype._disposeCurrent = function (t) {\n if (this.current !== null) {\n return this.current._dispose(t)\n }\n}\n\nSwitchSink.prototype._disposeInner = function (t, inner) {\n inner._dispose(t) // TODO: capture the result of this dispose\n if (inner === this.current) {\n this.current = null\n }\n}\n\nSwitchSink.prototype._checkEnd = function (t, x) {\n if (this.ended && this.current === null) {\n this.sink.end(t, x)\n }\n}\n\nSwitchSink.prototype._endInner = function (t, x, inner) {\n this._disposeInner(t, inner)\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype._errorInner = function (t, e, inner) {\n this._disposeInner(t, inner)\n this.sink.error(t, e)\n}\n\nfunction Segment (min, max, outer, sink) {\n this.min = min\n this.max = max\n this.outer = outer\n this.sink = sink\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nSegment.prototype.event = function (t, x) {\n if (t < this.max) {\n this.sink.event(Math.max(t, this.min), x)\n }\n}\n\nSegment.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.min), x, this)\n}\n\nSegment.prototype.error = function (t, e) {\n this.outer._errorInner(Math.max(t, this.min), e, this)\n}\n\nSegment.prototype._dispose = function (t) {\n this.max = t\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ thru: () => (/* binding */ thru)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2017 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction thru (f, stream) {\n return f(stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ during: () => (/* binding */ during),\n/* harmony export */ skipUntil: () => (/* binding */ skipUntil),\n/* harmony export */ takeUntil: () => (/* binding */ takeUntil)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../combinator/flatMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction takeUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Until(signal.source, stream.source))\n}\n\nfunction skipUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Since(signal.source, stream.source))\n}\n\nfunction during (timeWindow, stream) {\n return takeUntil((0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__.join)(timeWindow), skipUntil(timeWindow, stream))\n}\n\nfunction Until (maxSignal, source) {\n this.maxSignal = maxSignal\n this.source = source\n}\n\nUntil.prototype.run = function (sink, scheduler) {\n var min = new Bound(-Infinity, sink)\n var max = new UpperBound(this.maxSignal, sink, scheduler)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Since (minSignal, source) {\n this.minSignal = minSignal\n this.source = source\n}\n\nSince.prototype.run = function (sink, scheduler) {\n var min = new LowerBound(this.minSignal, sink, scheduler)\n var max = new Bound(Infinity, sink)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Bound (value, sink) {\n this.value = value\n this.sink = sink\n}\n\nBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nBound.prototype.event = noop\nBound.prototype.end = noop\nBound.prototype.dispose = noop\n\nfunction TimeWindowSink (min, max, sink) {\n this.min = min\n this.max = max\n this.sink = sink\n}\n\nTimeWindowSink.prototype.event = function (t, x) {\n if (t >= this.min.value && t < this.max.value) {\n this.sink.event(t, x)\n }\n}\n\nTimeWindowSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nTimeWindowSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nfunction LowerBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nLowerBound.prototype.event = function (t /*, x */) {\n if (t < this.value) {\n this.value = t\n }\n}\n\nLowerBound.prototype.end = noop\nLowerBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLowerBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction UpperBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nUpperBound.prototype.event = function (t, x) {\n if (t < this.value) {\n this.value = t\n this.sink.end(t, x)\n }\n}\n\nUpperBound.prototype.end = noop\nUpperBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nUpperBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction noop () {}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ timestamp: () => (/* binding */ timestamp)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction timestamp (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Timestamp(stream.source))\n}\n\nfunction Timestamp (source) {\n this.source = source\n}\n\nTimestamp.prototype.run = function (sink, scheduler) {\n return this.source.run(new TimestampSink(sink), scheduler)\n}\n\nfunction TimestampSink (sink) {\n this.sink = sink\n}\n\nTimestampSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTimestampSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTimestampSink.prototype.event = function (t, x) {\n this.sink.event(t, { time: t, value: x })\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ transduce: () => (/* binding */ transduce)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Transform a stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @param {Stream} stream stream whose events will be passed through the\n * transducer\n * @return {Stream} stream of events transformed by the transducer\n */\nfunction transduce (transducer, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Transduce(transducer, stream.source))\n}\n\nfunction Transduce (transducer, source) {\n this.transducer = transducer\n this.source = source\n}\n\nTransduce.prototype.run = function (sink, scheduler) {\n var xf = this.transducer(new Transformer(sink))\n return this.source.run(new TransduceSink(getTxHandler(xf), sink), scheduler)\n}\n\nfunction TransduceSink (adapter, sink) {\n this.xf = adapter\n this.sink = sink\n}\n\nTransduceSink.prototype.event = function (t, x) {\n var next = this.xf.step(t, x)\n\n return this.xf.isReduced(next)\n ? this.sink.end(t, this.xf.getResult(next))\n : next\n}\n\nTransduceSink.prototype.end = function (t, x) {\n return this.xf.result(x)\n}\n\nTransduceSink.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\nfunction Transformer (sink) {\n this.time = -Infinity\n this.sink = sink\n}\n\nTransformer.prototype['@@transducer/init'] = Transformer.prototype.init = function () {}\n\nTransformer.prototype['@@transducer/step'] = Transformer.prototype.step = function (t, x) {\n if (!isNaN(t)) {\n this.time = Math.max(t, this.time)\n }\n return this.sink.event(this.time, x)\n}\n\nTransformer.prototype['@@transducer/result'] = Transformer.prototype.result = function (x) {\n return this.sink.end(this.time, x)\n}\n\n/**\n* Given an object supporting the new or legacy transducer protocol,\n* create an adapter for it.\n* @param {object} tx transform\n* @returns {TxAdapter|LegacyTxAdapter}\n*/\nfunction getTxHandler (tx) {\n return typeof tx['@@transducer/step'] === 'function'\n ? new TxAdapter(tx)\n : new LegacyTxAdapter(tx)\n}\n\n/**\n* Adapter for new official transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction TxAdapter (tx) {\n this.tx = tx\n}\n\nTxAdapter.prototype.step = function (t, x) {\n return this.tx['@@transducer/step'](t, x)\n}\nTxAdapter.prototype.result = function (x) {\n return this.tx['@@transducer/result'](x)\n}\nTxAdapter.prototype.isReduced = function (x) {\n return x != null && x['@@transducer/reduced']\n}\nTxAdapter.prototype.getResult = function (x) {\n return x['@@transducer/value']\n}\n\n/**\n* Adapter for older transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction LegacyTxAdapter (tx) {\n this.tx = tx\n}\n\nLegacyTxAdapter.prototype.step = function (t, x) {\n return this.tx.step(t, x)\n}\nLegacyTxAdapter.prototype.result = function (x) {\n return this.tx.result(x)\n}\nLegacyTxAdapter.prototype.isReduced = function (x) {\n return x != null && x.__transducers_reduced__\n}\nLegacyTxAdapter.prototype.getResult = function (x) {\n return x.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ constant: () => (/* binding */ constant),\n/* harmony export */ map: () => (/* binding */ map),\n/* harmony export */ tap: () => (/* binding */ tap)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @param {Stream} stream stream to map\n * @returns {Stream} stream containing items transformed by f\n */\nfunction map (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Map__WEBPACK_IMPORTED_MODULE_1__[\"default\"].create(f, stream.source))\n}\n\n/**\n* Replace each value in the stream with x\n* @param {*} x\n* @param {Stream} stream\n* @returns {Stream} stream containing items replaced with x\n*/\nfunction constant (x, stream) {\n return map(function () {\n return x\n }, stream)\n}\n\n/**\n* Perform a side effect for each item in the stream\n* @param {function(x:*):*} f side effect to execute for each item. The\n* return value will be discarded.\n* @param {Stream} stream stream to tap\n* @returns {Stream} new stream containing the same items as this stream\n*/\nfunction tap (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Tap(f, stream.source))\n}\n\nfunction Tap (f, source) {\n this.source = source\n this.f = f\n}\n\nTap.prototype.run = function (sink, scheduler) {\n return this.source.run(new TapSink(this.f, sink), scheduler)\n}\n\nfunction TapSink (f, sink) {\n this.sink = sink\n this.f = f\n}\n\nTapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.end\nTapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.error\n\nTapSink.prototype.event = function (t, x) {\n var f = this.f\n f(x)\n this.sink.event(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js": -/*!*******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ zip: () => (/* binding */ zip),\n/* harmony export */ zipArray: () => (/* binding */ zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js\");\n/* harmony import */ var _Queue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Queue */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Queue.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine streams pairwise (or tuple-wise) by index by applying f to values\n * at corresponding indices. The returned stream ends when any of the input\n * streams ends.\n * @param {function} f function to combine values\n * @returns {Stream} new stream with items at corresponding indices combined\n * using f\n */\nfunction zip (f /*, ...streams */) {\n return zipArray(f, tail(arguments))\n}\n\n/**\n* Combine streams pairwise (or tuple-wise) by index by applying f to values\n* at corresponding indices. The returned stream ends when any of the input\n* streams ends.\n* @param {function} f function to combine values\n* @param {[Stream]} streams streams to zip using f\n* @returns {Stream} new stream with items at corresponding indices combined\n* using f\n*/\nfunction zipArray (f, streams) {\n return streams.length === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n: streams.length === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n: new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Zip(f, map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Zip (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nZip.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n var buffers = new Array(l)\n\n var zipSink = new ZipSink(this.f, buffers, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n buffers[i] = new _Queue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]()\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, zipSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction ZipSink (f, buffers, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.buffers = buffers\n}\n\nZipSink.prototype.event = function (t, indexedValue) { // eslint-disable-line complexity\n var buffers = this.buffers\n var buffer = buffers[indexedValue.index]\n\n buffer.push(indexedValue.value)\n\n if (buffer.length() === 1) {\n if (!ready(this.buffers)) {\n return\n }\n\n emitZipped(this.f, t, buffers, this.sink)\n\n if (ended(this.buffers, this.sinks)) {\n this.sink.end(t, void 0)\n }\n }\n}\n\nZipSink.prototype.end = function (t, indexedValue) {\n var buffer = this.buffers[indexedValue.index]\n if (buffer.isEmpty()) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\nZipSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nfunction emitZipped (f, t, buffers, sink) {\n sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(f, map(head, buffers)))\n}\n\nfunction head (buffer) {\n return buffer.shift()\n}\n\nfunction ended (buffers, sinks) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty() && !sinks[i].active) {\n return true\n }\n }\n return false\n}\n\nfunction ready (buffers) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty()) {\n return false\n }\n }\n return true\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js": -/*!**************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js ***! - \**************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Disposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Create a new Disposable which will dispose its underlying resource.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @constructor\n */\nfunction Disposable (dispose, data) {\n this._dispose = dispose\n this._data = data\n}\n\nDisposable.prototype.dispose = function () {\n return this._dispose(this._data)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js": -/*!**********************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js ***! - \**********************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SettableDisposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SettableDisposable () {\n this.disposable = void 0\n this.disposed = false\n this._resolve = void 0\n\n var self = this\n this.result = new Promise(function (resolve) {\n self._resolve = resolve\n })\n}\n\nSettableDisposable.prototype.setDisposable = function (disposable) {\n if (this.disposable !== void 0) {\n throw new Error('setDisposable called more than once')\n }\n\n this.disposable = disposable\n\n if (this.disposed) {\n this._resolve(disposable.dispose())\n }\n}\n\nSettableDisposable.prototype.dispose = function () {\n if (this.disposed) {\n return this.result\n }\n\n this.disposed = true\n\n if (this.disposable !== void 0) {\n this.result = this.disposable.dispose()\n }\n\n return this.result\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ all: () => (/* binding */ all),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ once: () => (/* binding */ once),\n/* harmony export */ promised: () => (/* binding */ promised),\n/* harmony export */ settable: () => (/* binding */ settable),\n/* harmony export */ tryDispose: () => (/* binding */ tryDispose)\n/* harmony export */ });\n/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Disposable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/Disposable.js\");\n/* harmony import */ var _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SettableDisposable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/SettableDisposable.js\");\n/* harmony import */ var _Promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Promise */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Promise.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map\nvar identity = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.id\n\n/**\n * Call disposable.dispose. If it returns a promise, catch promise\n * error and forward it through the provided sink.\n * @param {number} t time\n * @param {{dispose: function}} disposable\n * @param {{error: function}} sink\n * @return {*} result of disposable.dispose\n */\nfunction tryDispose (t, disposable, sink) {\n var result = disposeSafely(disposable)\n return (0,_Promise__WEBPACK_IMPORTED_MODULE_2__.isPromise)(result)\n ? result.catch(function (e) {\n sink.error(t, e)\n })\n : result\n}\n\n/**\n * Create a new Disposable which will dispose its underlying resource\n * at most once.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @return {Disposable}\n */\nfunction create (dispose, data) {\n return once(new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](dispose, data))\n}\n\n/**\n * Create a noop disposable. Can be used to satisfy a Disposable\n * requirement when no actual resource needs to be disposed.\n * @return {Disposable|exports|module.exports}\n */\nfunction empty () {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](identity, void 0)\n}\n\n/**\n * Create a disposable that will dispose all input disposables in parallel.\n * @param {Array} disposables\n * @return {Disposable}\n */\nfunction all (disposables) {\n return create(disposeAll, disposables)\n}\n\nfunction disposeAll (disposables) {\n return Promise.all(map(disposeSafely, disposables))\n}\n\nfunction disposeSafely (disposable) {\n try {\n return disposable.dispose()\n } catch (e) {\n return Promise.reject(e)\n }\n}\n\n/**\n * Create a disposable from a promise for another disposable\n * @param {Promise} disposablePromise\n * @return {Disposable}\n */\nfunction promised (disposablePromise) {\n return create(disposePromise, disposablePromise)\n}\n\nfunction disposePromise (disposablePromise) {\n return disposablePromise.then(disposeOne)\n}\n\nfunction disposeOne (disposable) {\n return disposable.dispose()\n}\n\n/**\n * Create a disposable proxy that allows its underlying disposable to\n * be set later.\n * @return {SettableDisposable}\n */\nfunction settable () {\n return new _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__[\"default\"]()\n}\n\n/**\n * Wrap an existing disposable (which may not already have been once()d)\n * so that it will only dispose its underlying resource at most once.\n * @param {{ dispose: function() }} disposable\n * @return {Disposable} wrapped disposable\n */\nfunction once (disposable) {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](disposeMemoized, memoized(disposable))\n}\n\nfunction disposeMemoized (memoized) {\n if (!memoized.disposed) {\n memoized.disposed = true\n memoized.value = disposeSafely(memoized.disposable)\n memoized.disposable = void 0\n }\n\n return memoized.value\n}\n\nfunction memoized (disposable) {\n return { disposed: false, disposable: disposable, value: void 0 }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js": -/*!***************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ fatalError)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction fatalError (e) {\n setTimeout(function () {\n throw e\n }, 0)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js": -/*!******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Filter)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Filter (p, source) {\n this.p = p\n this.source = source\n}\n\n/**\n * Create a filtered source, fusing adjacent filter.filter if possible\n * @param {function(x:*):boolean} p filtering predicate\n * @param {{run:function}} source source to filter\n * @returns {Filter} filtered source\n */\nFilter.create = function createFilter (p, source) {\n if (source instanceof Filter) {\n return new Filter(and(source.p, p), source.source)\n }\n\n return new Filter(p, source)\n}\n\nFilter.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterSink(this.p, sink), scheduler)\n}\n\nfunction FilterSink (p, sink) {\n this.p = p\n this.sink = sink\n}\n\nFilterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nFilterSink.prototype.event = function (t, x) {\n var p = this.p\n p(x) && this.sink.event(t, x)\n}\n\nfunction and (p, q) {\n return function (x) {\n return p(x) && q(x)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FilterMap)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction FilterMap (p, f, source) {\n this.p = p\n this.f = f\n this.source = source\n}\n\nFilterMap.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterMapSink(this.p, this.f, sink), scheduler)\n}\n\nfunction FilterMapSink (p, f, sink) {\n this.p = p\n this.f = f\n this.sink = sink\n}\n\nFilterMapSink.prototype.event = function (t, x) {\n var f = this.f\n var p = this.p\n p(x) && this.sink.event(t, f(x))\n}\n\nFilterMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js": -/*!***************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Map)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _Filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Filter */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Filter.js\");\n/* harmony import */ var _FilterMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/FilterMap.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction Map (f, source) {\n this.f = f\n this.source = source\n}\n\n/**\n * Create a mapped source, fusing adjacent map.map, filter.map,\n * and filter.map.map if possible\n * @param {function(*):*} f mapping function\n * @param {{run:function}} source source to map\n * @returns {Map|FilterMap} mapped source, possibly fused\n */\nMap.create = function createMap (f, source) {\n if (source instanceof Map) {\n return new Map(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.compose(f, source.f), source.source)\n }\n\n if (source instanceof _Filter__WEBPACK_IMPORTED_MODULE_1__[\"default\"]) {\n return new _FilterMap__WEBPACK_IMPORTED_MODULE_2__[\"default\"](source.p, f, source.source)\n }\n\n return new Map(f, source)\n}\n\nMap.prototype.run = function (sink, scheduler) { // eslint-disable-line no-extend-native\n return this.source.run(new MapSink(this.f, sink), scheduler)\n}\n\nfunction MapSink (f, sink) {\n this.f = f\n this.sink = sink\n}\n\nMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nMapSink.prototype.event = function (t, x) {\n var f = this.f\n this.sink.event(t, f(x))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fusion/Map.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PropagateTask: () => (/* reexport safe */ _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_38__[\"default\"]),\n/* harmony export */ Stream: () => (/* reexport safe */ _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ ap: () => (/* reexport safe */ _combinator_applicative__WEBPACK_IMPORTED_MODULE_17__.ap),\n/* harmony export */ \"await\": () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_34__.awaitPromises),\n/* harmony export */ awaitPromises: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_34__.awaitPromises),\n/* harmony export */ chain: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.flatMap),\n/* harmony export */ combine: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_24__.combine),\n/* harmony export */ combineArray: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_24__.combineArray),\n/* harmony export */ concat: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_15__.concat),\n/* harmony export */ concatMap: () => (/* reexport safe */ _combinator_concatMap__WEBPACK_IMPORTED_MODULE_21__.concatMap),\n/* harmony export */ constant: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_16__.constant),\n/* harmony export */ continueWith: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__.continueWith),\n/* harmony export */ debounce: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_33__.debounce),\n/* harmony export */ defaultScheduler: () => (/* reexport safe */ _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_37__[\"default\"]),\n/* harmony export */ delay: () => (/* reexport safe */ _combinator_delay__WEBPACK_IMPORTED_MODULE_31__.delay),\n/* harmony export */ distinct: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeats),\n/* harmony export */ distinctBy: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeatsWith),\n/* harmony export */ drain: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_9__.drain),\n/* harmony export */ during: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.during),\n/* harmony export */ empty: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.empty),\n/* harmony export */ filter: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.filter),\n/* harmony export */ flatMap: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.flatMap),\n/* harmony export */ flatMapEnd: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__.continueWith),\n/* harmony export */ flatMapError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_35__.flatMapError),\n/* harmony export */ forEach: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_9__.observe),\n/* harmony export */ from: () => (/* reexport safe */ _source_from__WEBPACK_IMPORTED_MODULE_3__.from),\n/* harmony export */ fromEvent: () => (/* reexport safe */ _source_fromEvent__WEBPACK_IMPORTED_MODULE_8__.fromEvent),\n/* harmony export */ fromPromise: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_34__.fromPromise),\n/* harmony export */ generate: () => (/* reexport safe */ _source_generate__WEBPACK_IMPORTED_MODULE_14__.generate),\n/* harmony export */ iterate: () => (/* reexport safe */ _source_iterate__WEBPACK_IMPORTED_MODULE_13__.iterate),\n/* harmony export */ join: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.join),\n/* harmony export */ just: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ loop: () => (/* reexport safe */ _combinator_loop__WEBPACK_IMPORTED_MODULE_10__.loop),\n/* harmony export */ map: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_16__.map),\n/* harmony export */ merge: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_23__.merge),\n/* harmony export */ mergeArray: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_23__.mergeArray),\n/* harmony export */ mergeConcurrently: () => (/* reexport safe */ _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_22__.mergeConcurrently),\n/* harmony export */ multicast: () => (/* reexport safe */ _most_multicast__WEBPACK_IMPORTED_MODULE_36__[\"default\"]),\n/* harmony export */ never: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.never),\n/* harmony export */ observe: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_9__.observe),\n/* harmony export */ of: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ periodic: () => (/* reexport safe */ _source_periodic__WEBPACK_IMPORTED_MODULE_4__.periodic),\n/* harmony export */ recoverWith: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_35__.recoverWith),\n/* harmony export */ reduce: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.reduce),\n/* harmony export */ sample: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sample),\n/* harmony export */ sampleArray: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleArray),\n/* harmony export */ sampleWith: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleWith),\n/* harmony export */ scan: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.scan),\n/* harmony export */ since: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.skipUntil),\n/* harmony export */ skip: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skip),\n/* harmony export */ skipAfter: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipAfter),\n/* harmony export */ skipRepeats: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeatsWith),\n/* harmony export */ skipUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.skipUntil),\n/* harmony export */ skipWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipWhile),\n/* harmony export */ slice: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.slice),\n/* harmony export */ startWith: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_15__.cons),\n/* harmony export */ \"switch\": () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_27__.switchLatest),\n/* harmony export */ switchLatest: () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_27__.switchLatest),\n/* harmony export */ take: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.take),\n/* harmony export */ takeUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.takeUntil),\n/* harmony export */ takeWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_29__.takeWhile),\n/* harmony export */ tap: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_16__.tap),\n/* harmony export */ throttle: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_33__.throttle),\n/* harmony export */ throwError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_35__.throwError),\n/* harmony export */ timestamp: () => (/* reexport safe */ _combinator_timestamp__WEBPACK_IMPORTED_MODULE_32__.timestamp),\n/* harmony export */ transduce: () => (/* reexport safe */ _combinator_transduce__WEBPACK_IMPORTED_MODULE_18__.transduce),\n/* harmony export */ unfold: () => (/* reexport safe */ _source_unfold__WEBPACK_IMPORTED_MODULE_12__.unfold),\n/* harmony export */ until: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.takeUntil),\n/* harmony export */ zip: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_26__.zip),\n/* harmony export */ zipArray: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_26__.zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./source/core */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js\");\n/* harmony import */ var _source_from__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./source/from */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js\");\n/* harmony import */ var _source_periodic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source/periodic */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js\");\n/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! symbol-observable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js\");\n/* harmony import */ var _observable_subscribe__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./observable/subscribe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js\");\n/* harmony import */ var _combinator_thru__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./combinator/thru */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/thru.js\");\n/* harmony import */ var _source_fromEvent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./source/fromEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js\");\n/* harmony import */ var _combinator_observe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./combinator/observe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/observe.js\");\n/* harmony import */ var _combinator_loop__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./combinator/loop */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/loop.js\");\n/* harmony import */ var _combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./combinator/accumulate */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/accumulate.js\");\n/* harmony import */ var _source_unfold__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./source/unfold */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js\");\n/* harmony import */ var _source_iterate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./source/iterate */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js\");\n/* harmony import */ var _source_generate__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./source/generate */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js\");\n/* harmony import */ var _combinator_build__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./combinator/build */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/build.js\");\n/* harmony import */ var _combinator_transform__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./combinator/transform */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _combinator_applicative__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./combinator/applicative */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/applicative.js\");\n/* harmony import */ var _combinator_transduce__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./combinator/transduce */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/transduce.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./combinator/flatMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/flatMap.js\");\n/* harmony import */ var _combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./combinator/continueWith */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/continueWith.js\");\n/* harmony import */ var _combinator_concatMap__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./combinator/concatMap */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/concatMap.js\");\n/* harmony import */ var _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./combinator/mergeConcurrently */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/mergeConcurrently.js\");\n/* harmony import */ var _combinator_merge__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./combinator/merge */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/merge.js\");\n/* harmony import */ var _combinator_combine__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./combinator/combine */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _combinator_sample__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./combinator/sample */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/sample.js\");\n/* harmony import */ var _combinator_zip__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./combinator/zip */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/zip.js\");\n/* harmony import */ var _combinator_switch__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./combinator/switch */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/switch.js\");\n/* harmony import */ var _combinator_filter__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./combinator/filter */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/filter.js\");\n/* harmony import */ var _combinator_slice__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./combinator/slice */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/slice.js\");\n/* harmony import */ var _combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./combinator/timeslice */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timeslice.js\");\n/* harmony import */ var _combinator_delay__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./combinator/delay */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/delay.js\");\n/* harmony import */ var _combinator_timestamp__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./combinator/timestamp */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/timestamp.js\");\n/* harmony import */ var _combinator_limit__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./combinator/limit */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/limit.js\");\n/* harmony import */ var _combinator_promises__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./combinator/promises */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/promises.js\");\n/* harmony import */ var _combinator_errors__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./combinator/errors */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/combinator/errors.js\");\n/* harmony import */ var _most_multicast__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! @most/multicast */ \"../../../../node_modules/@most/multicast/dist/multicast.es.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n/**\n * Core stream type\n * @type {Stream}\n */\n\n\n// Add of and empty to constructor for fantasy-land compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].of = _source_core__WEBPACK_IMPORTED_MODULE_2__.of\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].empty = _source_core__WEBPACK_IMPORTED_MODULE_2__.empty\n// Add from to constructor for ES Observable compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].from = _source_from__WEBPACK_IMPORTED_MODULE_3__.from\n\n\n// -----------------------------------------------------------------------\n// Draft ES Observable proposal interop\n// https://github.com/zenparsing/es-observable\n\n;\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.subscribe = function (subscriber) {\n return (0,_observable_subscribe__WEBPACK_IMPORTED_MODULE_6__.subscribe)(subscriber, this)\n}\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype[symbol_observable__WEBPACK_IMPORTED_MODULE_5__[\"default\"]] = function () {\n return this\n}\n\n// -----------------------------------------------------------------------\n// Fluent adapter\n\n;\n\n/**\n * Adapt a functional stream transform to fluent style.\n * It applies f to the this stream object\n * @param {function(s: Stream): Stream} f function that\n * receives the stream itself and must return a new stream\n * @return {Stream}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.thru = function (f) {\n return (0,_combinator_thru__WEBPACK_IMPORTED_MODULE_7__.thru)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Adapting other sources\n\n/**\n * Create a stream of events from the supplied EventTarget or EventEmitter\n * @param {String} event event name\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter. The source\n * must support either addEventListener/removeEventListener (w3c EventTarget:\n * http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget),\n * or addListener/removeListener (node EventEmitter: http://nodejs.org/api/events.html)\n * @returns {Stream} stream of events of the specified type from the source\n */\n\n\n// -----------------------------------------------------------------------\n// Observing\n\n;\n\n\n\n/**\n * Process all the events in the stream\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.observe = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.forEach = function (f) {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_9__.observe)(f, this)\n}\n\n/**\n * Consume all events in the stream, without providing a function to process each.\n * This causes a stream to become active and begin emitting events, and is useful\n * in cases where all processing has been setup upstream via other combinators, and\n * there is no need to process the terminal events.\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.drain = function () {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_9__.drain)(this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.loop = function (stepper, seed) {\n return (0,_combinator_loop__WEBPACK_IMPORTED_MODULE_10__.loop)(stepper, seed, this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @returns {Stream} new stream containing successive reduce results\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.scan = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.scan)(f, initial, this)\n}\n\n/**\n * Reduce the stream to produce a single result. Note that reducing an infinite\n * stream will return a Promise that never fulfills, but that may reject if an error\n * occurs.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial optional initial value\n * @returns {Promise} promise for the file result of the reduce\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.reduce = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_11__.reduce)(f, initial, this)\n}\n\n// -----------------------------------------------------------------------\n// Building and extending\n\n\n\n\n;\n\n\n\n/**\n * @param {Stream} tail\n * @returns {Stream} new stream containing all items in this followed by\n * all items in tail\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concat = function (tail) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_15__.concat)(this, tail)\n}\n\n/**\n * @param {*} x value to prepend\n * @returns {Stream} a new stream with x prepended\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.startWith = function (x) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_15__.cons)(x, this)\n}\n\n// -----------------------------------------------------------------------\n// Transforming\n\n;\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @returns {Stream} stream containing items transformed by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.map = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_16__.map)(f, this)\n}\n\n/**\n * Assume this stream contains functions, and apply each function to each item\n * in the provided stream. This generates, in effect, a cross product.\n * @param {Stream} xs stream of items to which\n * @returns {Stream} stream containing the cross product of items\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.ap = function (xs) {\n return (0,_combinator_applicative__WEBPACK_IMPORTED_MODULE_17__.ap)(this, xs)\n}\n\n/**\n * Replace each value in the stream with x\n * @param {*} x\n * @returns {Stream} stream containing items replaced with x\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.constant = function (x) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_16__.constant)(x, this)\n}\n\n/**\n * Perform a side effect for each item in the stream\n * @param {function(x:*):*} f side effect to execute for each item. The\n * return value will be discarded.\n * @returns {Stream} new stream containing the same items as this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.tap = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_16__.tap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Transducer support\n\n;\n\n\n\n/**\n * Transform this stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @return {Stream} stream of events transformed by the transducer\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.transduce = function (transducer) {\n return (0,_combinator_transduce__WEBPACK_IMPORTED_MODULE_18__.transduce)(transducer, this)\n}\n\n// -----------------------------------------------------------------------\n// FlatMapping\n\n;\n\n// @deprecated flatMap, use chain instead\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain = function (f) {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.flatMap)(f, this)\n}\n\n// @deprecated use chain instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMap = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain\n\n /**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @returns {Stream} new stream containing all events of all inner streams\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.join = function () {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_19__.join)(this)\n}\n\n;\n\n// @deprecated flatMapEnd, use continueWith instead\n\n\n/**\n * Map the end event to a new stream, and begin emitting its values.\n * @param {function(x:*):Stream} f function that receives the end event value,\n * and *must* return a new Stream to continue with.\n * @returns {Stream} new stream that emits all events from the original stream,\n * followed by all events from the stream returned by f.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith = function (f) {\n return (0,_combinator_continueWith__WEBPACK_IMPORTED_MODULE_20__.continueWith)(f, this)\n}\n\n// @deprecated use continueWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapEnd = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith\n\n;\n\n\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concatMap = function (f) {\n return (0,_combinator_concatMap__WEBPACK_IMPORTED_MODULE_21__.concatMap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Concurrent merging\n\n;\n\n\n\n/**\n * Flatten a Stream> to Stream by merging inner\n * streams to the outer, limiting the number of inner streams that may\n * be active concurrently.\n * @param {number} concurrency at most this many inner streams will be\n * allowed to be active concurrently.\n * @return {Stream} new stream containing all events of all inner\n * streams, with limited concurrency.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.mergeConcurrently = function (concurrency) {\n return (0,_combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_22__.mergeConcurrently)(concurrency, this)\n}\n\n// -----------------------------------------------------------------------\n// Merging\n\n;\n\n\n\n/**\n * Merge this stream and all the provided streams\n * @returns {Stream} stream containing items from this stream and s in time\n * order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.merge = function (/* ...streams*/) {\n return (0,_combinator_merge__WEBPACK_IMPORTED_MODULE_23__.mergeArray)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.cons(this, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Combining\n\n;\n\n\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.combine = function (f /*, ...streams*/) {\n return (0,_combinator_combine__WEBPACK_IMPORTED_MODULE_24__.combineArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Sampling\n\n;\n\n\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * signal's latest value will be propagated\n * @returns {Stream} sampled stream of values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sampleWith = function (sampler) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleWith)(sampler, this)\n}\n\n/**\n * When an event arrives on this stream, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @returns {Stream} stream of sampled and transformed values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sample = function (f /* ...streams */) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_25__.sampleArray)(f, this, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments))\n}\n\n// -----------------------------------------------------------------------\n// Zipping\n\n;\n\n\n\n/**\n * Pair-wise combine items with those in s. Given 2 streams:\n * [1,2,3] zipWith f [4,5,6] -> [f(1,4),f(2,5),f(3,6)]\n * Note: zip causes fast streams to buffer and wait for slow streams.\n * @param {function(a:Stream, b:Stream, ...):*} f function to combine items\n * @returns {Stream} new stream containing pairs\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.zip = function (f /*, ...streams*/) {\n return (0,_combinator_zip__WEBPACK_IMPORTED_MODULE_26__.zipArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Switching\n\n;\n\n// @deprecated switch, use switchLatest instead\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @returns {Stream} switching stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest = function () {\n return (0,_combinator_switch__WEBPACK_IMPORTED_MODULE_27__.switchLatest)(this)\n}\n\n// @deprecated use switchLatest instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switch = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest\n\n// -----------------------------------------------------------------------\n// Filtering\n\n;\n\n// @deprecated distinct, use skipRepeats instead\n// @deprecated distinctBy, use skipRepeatsWith instead\n\n\n/**\n * Retain only items matching a predicate\n * stream: -12345678-\n * filter(x => x % 2 === 0, stream): --2-4-6-8-\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.filter = function (p) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_28__.filter)(p, this)\n}\n\n/**\n * Skip repeated events, using === to compare items\n * stream: -abbcd-\n * distinct(stream): -ab-cd-\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeats = function () {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeats)(this)\n}\n\n/**\n * Skip repeated events, using supplied equals function to compare items\n * @param {function(a:*, b:*):boolean} equals function to compare items\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeatsWith = function (equals) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_28__.skipRepeatsWith)(equals, this)\n}\n\n// -----------------------------------------------------------------------\n// Slicing\n\n;\n\n\n\n/**\n * stream: -abcd-\n * take(2, stream): -ab|\n * @param {Number} n take up to this many events\n * @returns {Stream} stream containing at most the first n items from this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.take = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.take)(n, this)\n}\n\n/**\n * stream: -abcd->\n * skip(2, stream): ---cd->\n * @param {Number} n skip this many events\n * @returns {Stream} stream not containing the first n events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skip = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skip)(n, this)\n}\n\n/**\n * Slice a stream by event index. Equivalent to, but more efficient than\n * stream.take(end).skip(start);\n * NOTE: Negative start and end are not supported\n * @param {Number} start skip all events before the start index\n * @param {Number} end allow all events from the start index to the end index\n * @returns {Stream} stream containing items where start <= index < end\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.slice = function (start, end) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.slice)(start, end, this)\n}\n\n/**\n * stream: -123451234->\n * takeWhile(x => x < 5, stream): -1234|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, but not including, the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.takeWhile)(p, this)\n}\n\n/**\n * stream: -123451234->\n * skipWhile(x => x < 5, stream): -----51234->\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items following *and including* the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipWhile)(p, this)\n}\n\n/**\n * stream: -123456789->\n * skipAfter(x => x === 5, stream):-12345|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, *and including*, the\n * first item for which p returns truthy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipAfter = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_29__.skipAfter)(p, this)\n}\n\n// -----------------------------------------------------------------------\n// Time slicing\n\n;\n\n// @deprecated takeUntil, use until instead\n// @deprecated skipUntil, use since instead\n\n\n/**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -a-b-c-|\n * @param {Stream} signal retain only events in stream before the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur before\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.takeUntil)(signal, this)\n}\n\n// @deprecated use until instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -------d-e-f-g->\n * @param {Stream} signal retain only events in stream at or after the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur after\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.skipUntil)(signal, this)\n}\n\n// @deprecated use since instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * timeWindow: -----s\n * s: -----t\n * stream.during(timeWindow): -----c-d-e-|\n * @param {Stream} timeWindow a stream whose first event (s) represents\n * the window start time. That event (s) is itself a stream whose first event (t)\n * represents the window end time\n * @returns {Stream} new stream containing only events within the provided timespan\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.during = function (timeWindow) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_30__.during)(timeWindow, this)\n}\n\n// -----------------------------------------------------------------------\n// Delaying\n\n;\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.delay = function (delayTime) {\n return (0,_combinator_delay__WEBPACK_IMPORTED_MODULE_31__.delay)(delayTime, this)\n}\n\n// -----------------------------------------------------------------------\n// Getting event timestamp\n\n;\n\n\n/**\n * Expose event timestamps into the stream. Turns a Stream into\n * Stream<{time:t, value:X}>\n * @returns {Stream<{time:number, value:*}>}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.timestamp = function () {\n return (0,_combinator_timestamp__WEBPACK_IMPORTED_MODULE_32__.timestamp)(this)\n}\n\n// -----------------------------------------------------------------------\n// Rate limiting\n\n;\n\n\n\n/**\n * Limit the rate of events\n * stream: abcd----abcd----\n * throttle(2, stream): a-c-----a-c-----\n * @param {Number} period time to suppress events\n * @returns {Stream} new stream that skips events for throttle period\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.throttle = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_33__.throttle)(period, this)\n}\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * stream: abcd----abcd----\n * debounce(2, stream): -----d-------d--\n * @param {Number} period events occuring more frequently than this\n * on the provided scheduler will be suppressed\n * @returns {Stream} new debounced stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.debounce = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_33__.debounce)(period, this)\n}\n\n// -----------------------------------------------------------------------\n// Awaiting Promises\n\n;\n\n// @deprecated await, use awaitPromises instead\n\n\n/**\n * Await promises, turning a Stream> into Stream. Preserves\n * event order, but timeshifts events based on promise resolution time.\n * @returns {Stream} stream containing non-promise values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises = function () {\n return (0,_combinator_promises__WEBPACK_IMPORTED_MODULE_34__.awaitPromises)(this)\n}\n\n// @deprecated use awaitPromises instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.await = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises\n\n// -----------------------------------------------------------------------\n// Error handling\n\n;\n\n// @deprecated flatMapError, use recoverWith instead\n\n\n/**\n * If this stream encounters an error, recover and continue with items from stream\n * returned by f.\n * stream: -a-b-c-X-\n * f(X): d-e-f-g-\n * flatMapError(f, stream): -a-b-c-d-e-f-g-\n * @param {function(error:*):Stream} f function which returns a new stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith = function (f) {\n return (0,_combinator_errors__WEBPACK_IMPORTED_MODULE_35__.flatMapError)(f, this)\n}\n\n// @deprecated use recoverWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapError = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith\n\n// -----------------------------------------------------------------------\n// Multicasting\n\n;\n\n\n\n/**\n * Transform the stream into multicast stream. That means that many subscribers\n * to the stream will not cause multiple invocations of the internal machinery.\n * @returns {Stream} new stream which will multicast events to all observers.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.multicast = function () {\n return (0,_most_multicast__WEBPACK_IMPORTED_MODULE_36__[\"default\"])(this)\n}\n\n// export the instance of the defaultScheduler for third-party libraries\n;\n\n\n\n// export an implementation of Task used internally for third-party libraries\n;\n\n\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/index.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js": -/*!***********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ invoke)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction invoke (f, args) {\n\t/*eslint complexity: [2,7]*/\n switch (args.length) {\n case 0: return f()\n case 1: return f(args[0])\n case 2: return f(args[0], args[1])\n case 3: return f(args[0], args[1], args[2])\n case 4: return f(args[0], args[1], args[2], args[3])\n case 5: return f(args[0], args[1], args[2], args[3], args[4])\n default:\n return f.apply(void 0, args)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/invoke.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js": -/*!*************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getIterator: () => (/* binding */ getIterator),\n/* harmony export */ isIterable: () => (/* binding */ isIterable),\n/* harmony export */ makeIterable: () => (/* binding */ makeIterable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/*global Set, Symbol*/\nvar iteratorSymbol\n// Firefox ships a partial implementation using the name @@iterator.\n// https://bugzilla.mozilla.org/show_bug.cgi?id=907077#c14\nif (typeof Set === 'function' && typeof new Set()['@@iterator'] === 'function') {\n iteratorSymbol = '@@iterator'\n} else {\n iteratorSymbol = typeof Symbol === 'function' && Symbol.iterator ||\n '_es6shim_iterator_'\n}\n\nfunction isIterable (o) {\n return typeof o[iteratorSymbol] === 'function'\n}\n\nfunction getIterator (o) {\n return o[iteratorSymbol]()\n}\n\nfunction makeIterable (f, o) {\n o[iteratorSymbol] = f\n return o\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js": -/*!******************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js ***! - \******************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ObservableSource: () => (/* binding */ ObservableSource),\n/* harmony export */ SubscriberSink: () => (/* binding */ SubscriberSink),\n/* harmony export */ fromObservable: () => (/* binding */ fromObservable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromObservable (observable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ObservableSource(observable))\n}\n\nfunction ObservableSource (observable) {\n this.observable = observable\n}\n\nObservableSource.prototype.run = function (sink, scheduler) {\n var sub = this.observable.subscribe(new SubscriberSink(sink, scheduler))\n if (typeof sub === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(sub)\n } else if (sub && typeof sub.unsubscribe === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(unsubscribe, sub)\n }\n\n throw new TypeError('Observable returned invalid subscription ' + String(sub))\n}\n\nfunction SubscriberSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n}\n\nSubscriberSink.prototype.next = function (x) {\n (0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.complete = function (x) {\n ;(0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEnd)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.error = function (e) {\n this.sink.error(this.scheduler.now(), e)\n}\n\nfunction unsubscribe (subscription) {\n return subscription.unsubscribe()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js": -/*!*****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js ***! - \*****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ getObservable)\n/* harmony export */ });\n/* harmony import */ var symbol_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! symbol-observable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction getObservable (o) { // eslint-disable-line complexity\n var obs = null\n if (o) {\n // Access foreign method only once\n var method = o[symbol_observable__WEBPACK_IMPORTED_MODULE_0__[\"default\"]]\n if (typeof method === 'function') {\n obs = method.call(o)\n if (!(obs && typeof obs.subscribe === 'function')) {\n throw new TypeError('invalid observable ' + obs)\n }\n }\n }\n\n return obs\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SubscribeObserver: () => (/* binding */ SubscribeObserver),\n/* harmony export */ Subscription: () => (/* binding */ Subscription),\n/* harmony export */ subscribe: () => (/* binding */ subscribe)\n/* harmony export */ });\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/defaultScheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fatalError */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction subscribe (subscriber, stream) {\n if (Object(subscriber) !== subscriber) {\n throw new TypeError('subscriber must be an object')\n }\n\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.settable()\n var observer = new SubscribeObserver(_fatalError__WEBPACK_IMPORTED_MODULE_2__[\"default\"], subscriber, disposable)\n\n disposable.setDisposable(stream.source.run(observer, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"]))\n\n return new Subscription(disposable)\n}\n\nfunction SubscribeObserver (fatalError, subscriber, disposable) {\n this.fatalError = fatalError\n this.subscriber = subscriber\n this.disposable = disposable\n}\n\nSubscribeObserver.prototype.event = function (t, x) {\n if (!this.disposable.disposed && typeof this.subscriber.next === 'function') {\n this.subscriber.next(x)\n }\n}\n\nSubscribeObserver.prototype.end = function (t, x) {\n if (!this.disposable.disposed) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n if (typeof s.complete === 'function') {\n s.complete(x)\n }\n }).catch(function (e) {\n throwError(e, s, fatalError)\n })\n }\n}\n\nSubscribeObserver.prototype.error = function (t, e) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n throwError(e, s, fatalError)\n })\n}\n\nfunction Subscription (disposable) {\n this.disposable = disposable\n}\n\nSubscription.prototype.unsubscribe = function () {\n this.disposable.dispose()\n}\n\nfunction throwError (e1, subscriber, throwError) {\n if (typeof subscriber.error === 'function') {\n try {\n subscriber.error(e1)\n } catch (e2) {\n throwError(e2)\n }\n } else {\n throwError(e1)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/subscribe.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js": -/*!**************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withDefaultScheduler: () => (/* binding */ withDefaultScheduler),\n/* harmony export */ withScheduler: () => (/* binding */ withScheduler)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction withDefaultScheduler (source) {\n return withScheduler(source, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nfunction withScheduler (source, scheduler) {\n return new Promise(function (resolve, reject) {\n runSource(source, scheduler, resolve, reject)\n })\n}\n\nfunction runSource (source, scheduler, resolve, reject) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.settable()\n var observer = new Drain(resolve, reject, disposable)\n\n disposable.setDisposable(source.run(observer, scheduler))\n}\n\nfunction Drain (end, error, disposable) {\n this._end = end\n this._error = error\n this._disposable = disposable\n this.active = true\n}\n\nDrain.prototype.event = function (t, x) {}\n\nDrain.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n disposeThen(this._end, this._error, this._disposable, x)\n}\n\nDrain.prototype.error = function (t, e) {\n this.active = false\n disposeThen(this._error, this._error, this._disposable, e)\n}\n\nfunction disposeThen (end, error, disposable, x) {\n Promise.resolve(disposable.dispose()).then(function () {\n end(x)\n }, error)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/runSource.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ClockTimer)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/*global setTimeout, clearTimeout*/\n\nfunction ClockTimer () {}\n\nClockTimer.prototype.now = Date.now\n\nClockTimer.prototype.setTimer = function (f, dt) {\n return dt <= 0 ? runAsap(f) : setTimeout(f, dt)\n}\n\nClockTimer.prototype.clearTimer = function (t) {\n return t instanceof Asap ? t.cancel() : clearTimeout(t)\n}\n\nfunction Asap (f) {\n this.f = f\n this.active = true\n}\n\nAsap.prototype.run = function () {\n return this.active && this.f()\n}\n\nAsap.prototype.error = function (e) {\n throw e\n}\n\nAsap.prototype.cancel = function () {\n this.active = false\n}\n\nfunction runAsap (f) {\n var task = new Asap(f)\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n return task\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PropagateTask)\n/* harmony export */ });\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../fatalError */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction PropagateTask (run, value, sink) {\n this._run = run\n this.value = value\n this.sink = sink\n this.active = true\n}\n\nPropagateTask.event = function (value, sink) {\n return new PropagateTask(emit, value, sink)\n}\n\nPropagateTask.end = function (value, sink) {\n return new PropagateTask(end, value, sink)\n}\n\nPropagateTask.error = function (value, sink) {\n return new PropagateTask(error, value, sink)\n}\n\nPropagateTask.prototype.dispose = function () {\n this.active = false\n}\n\nPropagateTask.prototype.run = function (t) {\n if (!this.active) {\n return\n }\n this._run(t, this.value, this.sink)\n}\n\nPropagateTask.prototype.error = function (t, e) {\n if (!this.active) {\n return (0,_fatalError__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e)\n }\n this.sink.error(t, e)\n}\n\nfunction error (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction emit (t, x, sink) {\n sink.event(t, x)\n}\n\nfunction end (t, x, sink) {\n sink.end(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ScheduledTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction ScheduledTask (delay, period, task, scheduler) {\n this.time = delay\n this.period = period\n this.task = task\n this.scheduler = scheduler\n this.active = true\n}\n\nScheduledTask.prototype.run = function () {\n return this.task.run(this.time)\n}\n\nScheduledTask.prototype.error = function (e) {\n return this.task.error(this.time, e)\n}\n\nScheduledTask.prototype.dispose = function () {\n this.scheduler.cancel(this)\n return this.task.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Scheduler)\n/* harmony export */ });\n/* harmony import */ var _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ScheduledTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ScheduledTask.js\");\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../task */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction Scheduler (timer, timeline) {\n this.timer = timer\n this.timeline = timeline\n\n this._timer = null\n this._nextArrival = Infinity\n\n var self = this\n this._runReadyTasksBound = function () {\n self._runReadyTasks(self.now())\n }\n}\n\nScheduler.prototype.now = function () {\n return this.timer.now()\n}\n\nScheduler.prototype.asap = function (task) {\n return this.schedule(0, -1, task)\n}\n\nScheduler.prototype.delay = function (delay, task) {\n return this.schedule(delay, -1, task)\n}\n\nScheduler.prototype.periodic = function (period, task) {\n return this.schedule(0, period, task)\n}\n\nScheduler.prototype.schedule = function (delay, period, task) {\n var now = this.now()\n var st = new _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__[\"default\"](now + Math.max(0, delay), period, task, this)\n\n this.timeline.add(st)\n this._scheduleNextRun(now)\n return st\n}\n\nScheduler.prototype.cancel = function (task) {\n task.active = false\n if (this.timeline.remove(task)) {\n this._reschedule()\n }\n}\n\nScheduler.prototype.cancelAll = function (f) {\n this.timeline.removeAll(f)\n this._reschedule()\n}\n\nScheduler.prototype._reschedule = function () {\n if (this.timeline.isEmpty()) {\n this._unschedule()\n } else {\n this._scheduleNextRun(this.now())\n }\n}\n\nScheduler.prototype._unschedule = function () {\n this.timer.clearTimer(this._timer)\n this._timer = null\n}\n\nScheduler.prototype._scheduleNextRun = function (now) { // eslint-disable-line complexity\n if (this.timeline.isEmpty()) {\n return\n }\n\n var nextArrival = this.timeline.nextArrival()\n\n if (this._timer === null) {\n this._scheduleNextArrival(nextArrival, now)\n } else if (nextArrival < this._nextArrival) {\n this._unschedule()\n this._scheduleNextArrival(nextArrival, now)\n }\n}\n\nScheduler.prototype._scheduleNextArrival = function (nextArrival, now) {\n this._nextArrival = nextArrival\n var delay = Math.max(0, nextArrival - now)\n this._timer = this.timer.setTimer(this._runReadyTasksBound, delay)\n}\n\nScheduler.prototype._runReadyTasks = function (now) {\n this._timer = null\n this.timeline.runTasks(now, _task__WEBPACK_IMPORTED_MODULE_1__.runTask)\n this._scheduleNextRun(this.now())\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js": -/*!***********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js ***! - \***********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Timeline)\n/* harmony export */ });\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Timeline () {\n this.tasks = []\n}\n\nTimeline.prototype.nextArrival = function () {\n return this.isEmpty() ? Infinity : this.tasks[0].time\n}\n\nTimeline.prototype.isEmpty = function () {\n return this.tasks.length === 0\n}\n\nTimeline.prototype.add = function (st) {\n insertByTime(st, this.tasks)\n}\n\nTimeline.prototype.remove = function (st) {\n var i = binarySearch(st.time, this.tasks)\n\n if (i >= 0 && i < this.tasks.length) {\n var at = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.findIndex(st, this.tasks[i].events)\n if (at >= 0) {\n this.tasks[i].events.splice(at, 1)\n return true\n }\n }\n\n return false\n}\n\nTimeline.prototype.removeAll = function (f) {\n for (var i = 0, l = this.tasks.length; i < l; ++i) {\n removeAllFrom(f, this.tasks[i])\n }\n}\n\nTimeline.prototype.runTasks = function (t, runTask) {\n var tasks = this.tasks\n var l = tasks.length\n var i = 0\n\n while (i < l && tasks[i].time <= t) {\n ++i\n }\n\n this.tasks = tasks.slice(i)\n\n // Run all ready tasks\n for (var j = 0; j < i; ++j) {\n this.tasks = runTasks(runTask, tasks[j], this.tasks)\n }\n}\n\nfunction runTasks (runTask, timeslot, tasks) { // eslint-disable-line complexity\n var events = timeslot.events\n for (var i = 0; i < events.length; ++i) {\n var task = events[i]\n\n if (task.active) {\n runTask(task)\n\n // Reschedule periodic repeating tasks\n // Check active again, since a task may have canceled itself\n if (task.period >= 0 && task.active) {\n task.time = task.time + task.period\n insertByTime(task, tasks)\n }\n }\n }\n\n return tasks\n}\n\nfunction insertByTime (task, timeslots) { // eslint-disable-line complexity\n var l = timeslots.length\n\n if (l === 0) {\n timeslots.push(newTimeslot(task.time, [task]))\n return\n }\n\n var i = binarySearch(task.time, timeslots)\n\n if (i >= l) {\n timeslots.push(newTimeslot(task.time, [task]))\n } else if (task.time === timeslots[i].time) {\n timeslots[i].events.push(task)\n } else {\n timeslots.splice(i, 0, newTimeslot(task.time, [task]))\n }\n}\n\nfunction removeAllFrom (f, timeslot) {\n timeslot.events = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.removeAll(f, timeslot.events)\n}\n\nfunction binarySearch (t, sortedArray) { // eslint-disable-line complexity\n var lo = 0\n var hi = sortedArray.length\n var mid, y\n\n while (lo < hi) {\n mid = Math.floor((lo + hi) / 2)\n y = sortedArray[mid]\n\n if (t === y.time) {\n return mid\n } else if (t < y.time) {\n hi = mid\n } else {\n lo = mid + 1\n }\n }\n return hi\n}\n\nfunction newTimeslot (t, events) {\n return { time: t, events: events }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js": -/*!*******************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js ***! - \*******************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Scheduler */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Scheduler.js\");\n/* harmony import */ var _ClockTimer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClockTimer */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/ClockTimer.js\");\n/* harmony import */ var _Timeline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Timeline */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/Timeline.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar defaultScheduler = new _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new _ClockTimer__WEBPACK_IMPORTED_MODULE_1__[\"default\"](), new _Timeline__WEBPACK_IMPORTED_MODULE_2__[\"default\"]())\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultScheduler);\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/defaultScheduler.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js ***! - \**********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ DeferredSink)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction DeferredSink (sink) {\n this.sink = sink\n this.events = []\n this.active = true\n}\n\nDeferredSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n if (this.events.length === 0) {\n (0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(new PropagateAllTask(this.sink, t, this.events))\n }\n\n this.events.push({ time: t, value: x })\n}\n\nDeferredSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n this._end(new EndTask(t, x, this.sink))\n}\n\nDeferredSink.prototype.error = function (t, e) {\n this._end(new ErrorTask(t, e, this.sink))\n}\n\nDeferredSink.prototype._end = function (task) {\n this.active = false\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n}\n\nfunction PropagateAllTask (sink, time, events) {\n this.sink = sink\n this.events = events\n this.time = time\n}\n\nPropagateAllTask.prototype.run = function () {\n var events = this.events\n var sink = this.sink\n var event\n\n for (var i = 0, l = events.length; i < l; ++i) {\n event = events[i]\n this.time = event.time\n sink.event(event.time, event.value)\n }\n\n events.length = 0\n}\n\nPropagateAllTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction EndTask (t, x, sink) {\n this.time = t\n this.value = x\n this.sink = sink\n}\n\nEndTask.prototype.run = function () {\n this.sink.end(this.time, this.value)\n}\n\nEndTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction ErrorTask (t, e, sink) {\n this.time = t\n this.value = e\n this.sink = sink\n}\n\nErrorTask.prototype.run = function () {\n this.sink.error(this.time, this.value)\n}\n\nErrorTask.prototype.error = function (e) {\n throw e\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js": -/*!*******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ IndexSink)\n/* harmony export */ });\n/* harmony import */ var _Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Pipe */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction IndexSink (i, sink) {\n this.sink = sink\n this.index = i\n this.active = true\n this.value = void 0\n}\n\nIndexSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.value = x\n this.sink.event(t, this)\n}\n\nIndexSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n this.sink.end(t, { index: this.index, value: x })\n}\n\nIndexSink.prototype.error = _Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/IndexSink.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js": -/*!**************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Pipe)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * A sink mixin that simply forwards event, end, and error to\n * another sink.\n * @param sink\n * @constructor\n */\nfunction Pipe (sink) {\n this.sink = sink\n}\n\nPipe.prototype.event = function (t, x) {\n return this.sink.event(t, x)\n}\n\nPipe.prototype.end = function (t, x) {\n return this.sink.end(t, x)\n}\n\nPipe.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/Pipe.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js": -/*!******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SafeSink)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SafeSink (sink) {\n this.sink = sink\n this.active = true\n}\n\nSafeSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nSafeSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.disable()\n this.sink.end(t, x)\n}\n\nSafeSink.prototype.error = function (t, e) {\n this.disable()\n this.sink.error(t, e)\n}\n\nSafeSink.prototype.disable = function () {\n this.active = false\n return this.sink\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/SafeSink.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js": -/*!******************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js ***! - \******************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventEmitterSource)\n/* harmony export */ });\n/* harmony import */ var _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/DeferredSink */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/sink/DeferredSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction EventEmitterSource (event, source) {\n this.event = event\n this.source = source\n}\n\nEventEmitterSource.prototype.run = function (sink, scheduler) {\n // NOTE: Because EventEmitter allows events in the same call stack as\n // a listener is added, use a DeferredSink to buffer events\n // until the stack clears, then propagate. This maintains most.js's\n // invariant that no event will be delivered in the same call stack\n // as an observer begins observing.\n var dsink = new _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sink)\n\n function addEventVariadic (a) {\n var l = arguments.length\n if (l > 1) {\n var arr = new Array(l)\n for (var i = 0; i < l; ++i) {\n arr[i] = arguments[i]\n }\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), arr, dsink)\n } else {\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), a, dsink)\n }\n }\n\n this.source.addListener(this.event, addEventVariadic)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEventEmitter, { target: this, addEvent: addEventVariadic })\n}\n\nfunction disposeEventEmitter (info) {\n var target = info.target\n target.source.removeListener(target.event, info.addEvent)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js": -/*!*****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js ***! - \*****************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventTargetSource)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tryEvent */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction EventTargetSource (event, source, capture) {\n this.event = event\n this.source = source\n this.capture = capture\n}\n\nEventTargetSource.prototype.run = function (sink, scheduler) {\n function addEvent (e) {\n _tryEvent__WEBPACK_IMPORTED_MODULE_1__.tryEvent(scheduler.now(), e, sink)\n }\n\n this.source.addEventListener(this.event, addEvent, this.capture)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.create(disposeEventTarget,\n { target: this, addEvent: addEvent })\n}\n\nfunction disposeEventTarget (info) {\n var target = info.target\n target.source.removeEventListener(target.event, info.addEvent, target.capture)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ never: () => (/* binding */ never),\n/* harmony export */ of: () => (/* binding */ of)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Stream containing only x\n * @param {*} x\n * @returns {Stream}\n */\nfunction of (x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Just(x))\n}\n\nfunction Just (x) {\n this.value = x\n}\n\nJust.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runJust, this.value, sink))\n}\n\nfunction runJust (t, x, sink) {\n sink.event(t, x)\n sink.end(t, void 0)\n}\n\n/**\n * Stream containing no events and ends immediately\n * @returns {Stream}\n */\nfunction empty () {\n return EMPTY\n}\n\nfunction EmptySource () {}\n\nEmptySource.prototype.run = function (sink, scheduler) {\n var task = _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"].end(void 0, sink)\n scheduler.asap(task)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEmpty, task)\n}\n\nfunction disposeEmpty (task) {\n return task.dispose()\n}\n\nvar EMPTY = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new EmptySource())\n\n/**\n * Stream containing no events and never ends\n * @returns {Stream}\n */\nfunction never () {\n return NEVER\n}\n\nfunction NeverSource () {}\n\nNeverSource.prototype.run = function () {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nvar NEVER = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new NeverSource())\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/core.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ from: () => (/* binding */ from)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../iterable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js\");\n/* harmony import */ var _fromIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromIterable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js\");\n/* harmony import */ var _observable_getObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/getObservable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/getObservable.js\");\n/* harmony import */ var _observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../observable/fromObservable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/observable/fromObservable.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\nfunction from (a) { // eslint-disable-line complexity\n if (a instanceof _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) {\n return a\n }\n\n var observable = (0,_observable_getObservable__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(a)\n if (observable != null) {\n return (0,_observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__.fromObservable)(observable)\n }\n\n if (Array.isArray(a) || (0,_most_prelude__WEBPACK_IMPORTED_MODULE_6__.isArrayLike)(a)) {\n return (0,_fromArray__WEBPACK_IMPORTED_MODULE_1__.fromArray)(a)\n }\n\n if ((0,_iterable__WEBPACK_IMPORTED_MODULE_2__.isIterable)(a)) {\n return (0,_fromIterable__WEBPACK_IMPORTED_MODULE_3__.fromIterable)(a)\n }\n\n throw new TypeError('from(x) must be observable, iterable, or array-like: ' + a)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/from.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromArray: () => (/* binding */ fromArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction fromArray (a) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ArraySource(a))\n}\n\nfunction ArraySource (a) {\n this.array = a\n}\n\nArraySource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"](runProducer, this.array, sink))\n}\n\nfunction runProducer (t, array, sink) {\n for (var i = 0, l = array.length; i < l && this.active; ++i) {\n sink.event(t, array[i])\n }\n\n this.active && sink.end(t)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromArray.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromEvent: () => (/* binding */ fromEvent)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EventTargetSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventTargetSource.js\");\n/* harmony import */ var _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventEmitterSource */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/EventEmitterSource.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream from an EventTarget, such as a DOM Node, or EventEmitter.\n * @param {String} event event type name, e.g. 'click'\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter\n * @param {*?} capture for DOM events, whether to use\n * capturing--passed as 3rd parameter to addEventListener.\n * @returns {Stream} stream containing all events of the specified type\n * from the source.\n */\nfunction fromEvent (event, source, capture) { // eslint-disable-line complexity\n var s\n\n if (typeof source.addEventListener === 'function' && typeof source.removeEventListener === 'function') {\n if (arguments.length < 3) {\n capture = false\n }\n\n s = new _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__[\"default\"](event, source, capture)\n } else if (typeof source.addListener === 'function' && typeof source.removeListener === 'function') {\n s = new _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__[\"default\"](event, source)\n } else {\n throw new Error('source must support addEventListener/removeEventListener or addListener/removeListener')\n }\n\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](s)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromEvent.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromIterable: () => (/* binding */ fromIterable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../iterable */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/iterable.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromIterable (iterable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterableSource(iterable))\n}\n\nfunction IterableSource (iterable) {\n this.iterable = iterable\n}\n\nIterableSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runProducer, (0,_iterable__WEBPACK_IMPORTED_MODULE_1__.getIterator)(this.iterable), sink))\n}\n\nfunction runProducer (t, iterator, sink) {\n var r = iterator.next()\n\n while (!r.done && this.active) {\n sink.event(t, r.value)\n r = iterator.next()\n }\n\n sink.end(t, r.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/fromIterable.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ generate: () => (/* binding */ generate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2014 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Compute a stream using an *async* generator, which yields promises\n * to control event times.\n * @param f\n * @returns {Stream}\n */\nfunction generate (f /*, ...args */) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new GenerateSource(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments)))\n}\n\nfunction GenerateSource (f, args) {\n this.f = f\n this.args = args\n}\n\nGenerateSource.prototype.run = function (sink, scheduler) {\n return new Generate(this.f.apply(void 0, this.args), sink, scheduler)\n}\n\nfunction Generate (iterator, sink, scheduler) {\n this.iterator = iterator\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n Promise.resolve(this).then(next).catch(err)\n}\n\nfunction next (generate, x) {\n return generate.active ? handle(generate, generate.iterator.next(x)) : x\n}\n\nfunction handle (generate, result) {\n if (result.done) {\n return generate.sink.end(generate.scheduler.now(), result.value)\n }\n\n return Promise.resolve(result.value).then(function (x) {\n return emit(generate, x)\n }, function (e) {\n return error(generate, e)\n })\n}\n\nfunction emit (generate, x) {\n generate.sink.event(generate.scheduler.now(), x)\n return next(generate, x)\n}\n\nfunction error (generate, e) {\n return handle(generate, generate.iterator.throw(e))\n}\n\nGenerate.prototype.dispose = function () {\n this.active = false\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/generate.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js": -/*!*******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js ***! - \*******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ iterate: () => (/* binding */ iterate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by iteratively calling f to produce values\n * Event times may be controlled by returning a Promise from f\n * @param {function(x:*):*|Promise<*>} f\n * @param {*} x initial value\n * @returns {Stream}\n */\nfunction iterate (f, x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterateSource(f, x))\n}\n\nfunction IterateSource (f, x) {\n this.f = f\n this.value = x\n}\n\nIterateSource.prototype.run = function (sink, scheduler) {\n return new Iterate(this.f, this.value, sink, scheduler)\n}\n\nfunction Iterate (f, initial, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var x = initial\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (iterate) {\n return stepIterate(iterate, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nIterate.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepIterate (iterate, x) {\n iterate.sink.event(iterate.scheduler.now(), x)\n\n if (!iterate.active) {\n return x\n }\n\n var f = iterate.f\n return Promise.resolve(f(x)).then(function (y) {\n return continueIterate(iterate, y)\n })\n}\n\nfunction continueIterate (iterate, x) {\n return !iterate.active ? iterate.value : stepIterate(iterate, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/iterate.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ periodic: () => (/* binding */ periodic)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Create a stream that emits the current time periodically\n * @param {Number} period periodicity of events in millis\n * @param {*} deprecatedValue @deprecated value to emit each period\n * @returns {Stream} new stream that emits the current time every period\n */\nfunction periodic (period, deprecatedValue) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Periodic(period, deprecatedValue))\n}\n\nfunction Periodic (period, value) {\n this.period = period\n this.value = value\n}\n\nPeriodic.prototype.run = function (sink, scheduler) {\n return scheduler.periodic(this.period, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"].event(this.value, sink))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/periodic.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js": -/*!********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js ***! - \********************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ tryEnd: () => (/* binding */ tryEnd),\n/* harmony export */ tryEvent: () => (/* binding */ tryEvent)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction tryEvent (t, x, sink) {\n try {\n sink.event(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nfunction tryEnd (t, x, sink) {\n try {\n sink.end(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/tryEvent.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js": -/*!******************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ unfold: () => (/* binding */ unfold)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../defaults/meta3d-bs-most-default/node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by unfolding tuples of future values from a seed value\n * Event times may be controlled by returning a Promise from f\n * @param {function(seed:*):{value:*, seed:*, done:boolean}|Promise<{value:*, seed:*, done:boolean}>} f unfolding function accepts\n * a seed and returns a new tuple with a value, new seed, and boolean done flag.\n * If tuple.done is true, the stream will end.\n * @param {*} seed seed value\n * @returns {Stream} stream containing all value of all tuples produced by the\n * unfolding function.\n */\nfunction unfold (f, seed) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new UnfoldSource(f, seed))\n}\n\nfunction UnfoldSource (f, seed) {\n this.f = f\n this.value = seed\n}\n\nUnfoldSource.prototype.run = function (sink, scheduler) {\n return new Unfold(this.f, this.value, sink, scheduler)\n}\n\nfunction Unfold (f, x, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (unfold) {\n return stepUnfold(unfold, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nUnfold.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepUnfold (unfold, x) {\n var f = unfold.f\n return Promise.resolve(f(x)).then(function (tuple) {\n return continueUnfold(unfold, tuple)\n })\n}\n\nfunction continueUnfold (unfold, tuple) {\n if (tuple.done) {\n unfold.sink.end(unfold.scheduler.now(), tuple.value)\n return tuple.value\n }\n\n unfold.sink.event(unfold.scheduler.now(), tuple.value)\n\n if (!unfold.active) {\n return tuple.value\n }\n return stepUnfold(unfold, tuple.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/source/unfold.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js": -/*!*********************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js ***! - \*********************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defer: () => (/* binding */ defer),\n/* harmony export */ runTask: () => (/* binding */ runTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction defer (task) {\n return Promise.resolve(task).then(runTask)\n}\n\nfunction runTask (task) {\n try {\n return task.run()\n } catch (e) {\n return task.error(e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/most/src/task.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js": -/*!**********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js ***! - \**********************************************************************************************/ -/***/ ((module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _ponyfill_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ponyfill.js */ \"../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js\");\n/* module decorator */ module = __webpack_require__.hmd(module);\n/* global window */\n\n\nvar root;\n\nif (typeof self !== 'undefined') {\n root = self;\n} else if (typeof window !== 'undefined') {\n root = window;\n} else if (typeof __webpack_require__.g !== 'undefined') {\n root = __webpack_require__.g;\n} else if (true) {\n root = module;\n} else {}\n\nvar result = (0,_ponyfill_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(root);\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (result);\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/index.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js": -/*!*************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js ***! - \*************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ symbolObservablePonyfill)\n/* harmony export */ });\nfunction symbolObservablePonyfill(root) {\n\tvar result;\n\tvar Symbol = root.Symbol;\n\n\tif (typeof Symbol === 'function') {\n\t\tif (Symbol.observable) {\n\t\t\tresult = Symbol.observable;\n\t\t} else {\n\t\t\tresult = Symbol('observable');\n\t\t\tSymbol.observable = result;\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-bs-most-default/node_modules/symbol-observable/es/ponyfill.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js": -/*!********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js ***! - \********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_obj = __webpack_require__(/*! rescript/lib/js/caml_obj.js */ \"../../../../node_modules/rescript/lib/js/caml_obj.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../node_modules/rescript/lib/js/belt_List.js\");\nvar Js_option = __webpack_require__(/*! rescript/lib/js/js_option.js */ \"../../../../node_modules/rescript/lib/js/js_option.js\");\n\nfunction _assert(result, message) {\n return result;\n}\n\nfunction test(message, func) {\n if (Curry._1(func, undefined)) {\n return ;\n } else {\n return Js_exn.raiseError(message);\n }\n}\n\nfunction requireCheck(f, isTest) {\n if (isTest) {\n return Curry._1(f, undefined);\n }\n \n}\n\nfunction ensureCheck(returnVal, f, isTest) {\n if (isTest) {\n Curry._1(f, returnVal);\n return returnVal;\n } else {\n return returnVal;\n }\n}\n\nfunction assertPass(param) {\n return true;\n}\n\nfunction assertTrue(source) {\n return source === true;\n}\n\nfunction assertFalse(source) {\n return source === false;\n}\n\nfunction assertJsTrue(source) {\n return source === true;\n}\n\nfunction assertJsFalse(source) {\n return source === false;\n}\n\nfunction assertIsBool(source) {\n if (source === true) {\n return true;\n } else {\n return source === false;\n }\n}\n\nvar _isNullableExist = (function(source) {\n return source !== undefined && source !== null;\n});\n\nvar assertNullableExist = _isNullableExist;\n\nfunction _isNullableListExist(sourceList) {\n return Js_option.isNone(Belt_List.getBy(sourceList, (function (source) {\n return source == null;\n })));\n}\n\nvar assertNullableListExist = _isNullableListExist;\n\nvar assertExist = Js_option.isSome;\n\nvar assertNotExist = Js_option.isNone;\n\nfunction _getEqualMessage(source, target) {\n return \"\\\"expect to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertEqual(kind, source, target) {\n _getEqualMessage(source, target);\n return Caml_obj.equal(source, target);\n}\n\nfunction _getNotEqualMessage(source, target) {\n return \"\\\"expect not to be \" + target + \", but actual is \" + source + \"\\\"\";\n}\n\nfunction assertNotEqual(kind, source, target) {\n _getNotEqualMessage(source, target);\n return Caml_obj.notequal(source, target);\n}\n\nfunction assertGt(kind, source, target) {\n return Caml_obj.greaterthan(source, target);\n}\n\nfunction assertGte(kind, source, target) {\n return Caml_obj.greaterequal(source, target);\n}\n\nfunction assertLt(kind, source, target) {\n return Caml_obj.lessthan(source, target);\n}\n\nfunction assertLte(kind, source, target) {\n return Caml_obj.lessequal(source, target);\n}\n\nfunction $eq(a, b) {\n return assertEqual(/* Int */0, a, b);\n}\n\nfunction $eq$eq$dot(a, b) {\n return assertEqual(/* Float */1, a, b);\n}\n\nfunction $eq$eq$caret(a, b) {\n return assertEqual(/* String */2, a, b);\n}\n\nfunction $less$great$eq(a, b) {\n return assertNotEqual(/* Int */0, a, b);\n}\n\nfunction $less$great$eq$dot(a, b) {\n return assertNotEqual(/* Float */1, a, b);\n}\n\nvar $great = Caml_obj.greaterthan;\n\nvar $great$dot = Caml_obj.greaterthan;\n\nvar $great$eq = Caml_obj.greaterequal;\n\nvar $great$eq$dot = Caml_obj.greaterequal;\n\nvar $less = Caml_obj.lessthan;\n\nvar $less$dot = Caml_obj.lessthan;\n\nvar $less$eq = Caml_obj.lessequal;\n\nvar $less$eq$dot = Caml_obj.lessequal;\n\nvar Operators = {\n $eq: $eq,\n $eq$eq$dot: $eq$eq$dot,\n $eq$eq$caret: $eq$eq$caret,\n $less$great$eq: $less$great$eq,\n $less$great$eq$dot: $less$great$eq$dot,\n $great: $great,\n $great$dot: $great$dot,\n $great$eq: $great$eq,\n $great$eq$dot: $great$eq$dot,\n $less: $less,\n $less$dot: $less$dot,\n $less$eq: $less$eq,\n $less$eq$dot: $less$eq$dot\n};\n\nexports._assert = _assert;\nexports.test = test;\nexports.requireCheck = requireCheck;\nexports.ensureCheck = ensureCheck;\nexports.assertPass = assertPass;\nexports.assertTrue = assertTrue;\nexports.assertFalse = assertFalse;\nexports.assertJsTrue = assertJsTrue;\nexports.assertJsFalse = assertJsFalse;\nexports.assertIsBool = assertIsBool;\nexports._isNullableExist = _isNullableExist;\nexports.assertNullableExist = assertNullableExist;\nexports._isNullableListExist = _isNullableListExist;\nexports.assertNullableListExist = assertNullableListExist;\nexports.assertExist = assertExist;\nexports.assertNotExist = assertNotExist;\nexports._getEqualMessage = _getEqualMessage;\nexports.assertEqual = assertEqual;\nexports._getNotEqualMessage = _getNotEqualMessage;\nexports.assertNotEqual = assertNotEqual;\nexports.assertGt = assertGt;\nexports.assertGte = assertGte;\nexports.assertLt = assertLt;\nexports.assertLte = assertLte;\nexports.Operators = Operators;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js": -/*!**********************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_List = __webpack_require__(/*! rescript/lib/js/belt_List.js */ \"../../../../node_modules/rescript/lib/js/belt_List.js\");\n\nfunction printForDebug(value) {\n console.log(JSON.stringify(value));\n return value;\n}\n\nfunction printStringForDebug(value) {\n console.log(value);\n return value;\n}\n\nfunction printListForDebug(list) {\n console.log(Belt_List.toArray(list));\n return list;\n}\n\nfunction logForDebug(value) {\n console.log(value);\n console.trace();\n}\n\nfunction log(value) {\n console.log(JSON.stringify(value));\n}\n\nfunction debugWithFunc(func, isTest) {\n if (isTest) {\n return Curry._1(func, undefined);\n }\n \n}\n\nfunction _debug(msg) {\n console.debug(msg);\n}\n\nfunction debug(buildMessageFunc, isTest) {\n if (!isTest) {\n return ;\n }\n var msg = Curry._1(buildMessageFunc, undefined);\n console.debug(msg);\n console.trace();\n}\n\nfunction getJsonStr(json) {\n return JSON.stringify(json);\n}\n\nfunction buildDebugMessage(description, params, param) {\n return \"\\n Debug:\\n\\n description\\n \" + description + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildDebugJsonMessage(description, $$var, param) {\n var varStr = JSON.stringify($$var);\n return \"\\n DebugJson:\\n\\n description\\n \" + description + \"\\n\\n variable value\\n \" + varStr + \"\\n \";\n}\n\nfunction buildFatalMessage(title, description, reason, solution, params) {\n return \"\\n Fatal:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildErrorMessage(title, description, reason, solution, params) {\n return \"\\n Error:\\n\\n title\\n \" + title + \"\\n\\n description\\n \" + description + \"\\n\\n reason\\n \" + reason + \"\\n\\n solution\\n \" + solution + \"\\n\\n params\\n \" + params + \"\\n\\n \";\n}\n\nfunction buildAssertMessage(expect, actual) {\n return \"expect \" + expect + \", but actual \" + actual;\n}\n\nexports.printForDebug = printForDebug;\nexports.printStringForDebug = printStringForDebug;\nexports.printListForDebug = printListForDebug;\nexports.logForDebug = logForDebug;\nexports.log = log;\nexports.debugWithFunc = debugWithFunc;\nexports._debug = _debug;\nexports.debug = debug;\nexports.getJsonStr = getJsonStr;\nexports.buildDebugMessage = buildDebugMessage;\nexports.buildDebugJsonMessage = buildDebugJsonMessage;\nexports.buildFatalMessage = buildFatalMessage;\nexports.buildErrorMessage = buildErrorMessage;\nexports.buildAssertMessage = buildAssertMessage;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js": -/*!********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js ***! - \********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_array = __webpack_require__(/*! rescript/lib/js/caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Log$Meta3dCommonlib = __webpack_require__(/*! ../log/Log.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\nvar Contract$Meta3dCommonlib = __webpack_require__(/*! ../contract/Contract.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/contract/Contract.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar PromiseSt$Meta3dCommonlib = __webpack_require__(/*! ./PromiseSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! ./hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\n\nvar _getExn = ((nullableData) => { if (nullableData !== undefined) { return nullableData; } throw new Error(\"Not_found\") });\n\nfunction getExn(arr, index) {\n return _getExn(arr[index]);\n}\n\nfunction length(prim) {\n return prim.length;\n}\n\nfunction find(arr, func) {\n return Js_array.find(func, arr);\n}\n\nfunction includes(arr, value) {\n return Js_array.includes(value, arr);\n}\n\nfunction includesByFunc(arr, func) {\n return OptionSt$Meta3dCommonlib.isSome(Js_array.find(func, arr));\n}\n\nfunction sliceFrom(arr, index) {\n return Js_array.sliceFrom(index, arr);\n}\n\nfunction slice(arr, start, end_) {\n return Js_array.slice(start, end_, arr);\n}\n\nfunction copy(prim) {\n return prim.slice();\n}\n\nfunction reduceOneParam(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction reduceOneParami(arr, func, param) {\n var mutableParam = param;\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n mutableParam = func(mutableParam, arr[i], i);\n }\n return mutableParam;\n}\n\nfunction traverseResultM(arr, func) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed([]);\n } else {\n return Result$Meta3dCommonlib.bind(Curry._1(func, _getExn(arr[0])), (function (h) {\n return Result$Meta3dCommonlib.bind(traverseResultM(Js_array.sliceFrom(1, arr), func), (function (t) {\n return Result$Meta3dCommonlib.succeed(Js_array.concat(t, [h]));\n }));\n }));\n }\n}\n\nfunction _id(value) {\n return value;\n}\n\nfunction sequenceResultM(arr) {\n return traverseResultM(arr, _id);\n}\n\nfunction traverseReducePromiseM(arr, func, param) {\n if (arr.length === 0) {\n return Promise.resolve(param);\n } else {\n return PromiseSt$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReducePromiseM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction traverseReduceResultM(arr, func, param) {\n if (arr.length === 0) {\n return Result$Meta3dCommonlib.succeed(param);\n } else {\n return Result$Meta3dCommonlib.bind(func(param, Caml_array.get(arr, 0)), (function (h) {\n return traverseReduceResultM(Js_array.sliceFrom(1, arr), func, h);\n }));\n }\n}\n\nfunction unsafeGetFirst(arr) {\n return arr[0];\n}\n\nfunction getFirst(arr) {\n if (arr.length >= 1) {\n return Caml_option.some(Caml_array.get(arr, 0));\n }\n \n}\n\nfunction push(arr, value) {\n Js_array.push(value, arr);\n return arr;\n}\n\nfunction forEach(arr, func) {\n Js_array.forEach(func, arr);\n}\n\nfunction map(arr, func) {\n return Js_array.map(func, arr);\n}\n\nfunction mapi(arr, func) {\n return Js_array.mapi(func, arr);\n}\n\nfunction filter(arr, func) {\n return Js_array.filter(func, arr);\n}\n\nfunction reverse(arr) {\n return arr.slice().reverse();\n}\n\nfunction deleteBySwap(arr, isDebug, index, lastIndex) {\n Contract$Meta3dCommonlib.requireCheck((function (param) {\n var len = arr.length;\n Contract$Meta3dCommonlib.test(Log$Meta3dCommonlib.buildAssertMessage(\"lastIndex:\" + lastIndex + \" === arr.length:\" + len, \"not\"), (function (param) {\n return Contract$Meta3dCommonlib.assertEqual(/* Int */0, arr.length - 1 | 0, lastIndex);\n }));\n }), isDebug);\n arr[index] = arr[lastIndex];\n arr.pop();\n}\n\nfunction range(a, b) {\n var result = [];\n for(var i = a; i <= b; ++i){\n Js_array.push(i, result);\n }\n return result;\n}\n\nfunction removeDuplicateItems(arr) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = item.toString();\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction removeDuplicateItemsWithBuildKeyFunc(arr, buildKeyFunc) {\n var resultArr = [];\n var map = MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined);\n for(var i = 0 ,i_finish = arr.length; i < i_finish; ++i){\n var item = arr[i];\n var key = buildKeyFunc(item);\n var match = MutableHashMap$Meta3dCommonlib.get(map, key);\n if (match !== undefined) {\n \n } else {\n Js_array.push(item, resultArr);\n MutableHashMap$Meta3dCommonlib.set(map, key, item);\n }\n }\n return resultArr;\n}\n\nfunction chunk(arr, size) {\n var match = Belt_Array.reduceU(arr, [\n [],\n []\n ], (function (param, value) {\n var group = param[1];\n var result = param[0];\n if (group.length < size) {\n return [\n result,\n push(group, value)\n ];\n } else {\n return [\n push(result, group),\n [value]\n ];\n }\n }));\n var group = match[1];\n var result = match[0];\n if (group.length > 0) {\n return push(result, group);\n } else {\n return result;\n }\n}\n\nfunction sort(arr, func) {\n return Js_array.sortInPlaceWith(func, arr);\n}\n\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.length = length;\nexports.find = find;\nexports.includes = includes;\nexports.includesByFunc = includesByFunc;\nexports.sliceFrom = sliceFrom;\nexports.slice = slice;\nexports.copy = copy;\nexports.reduceOneParam = reduceOneParam;\nexports.reduceOneParami = reduceOneParami;\nexports.traverseResultM = traverseResultM;\nexports._id = _id;\nexports.sequenceResultM = sequenceResultM;\nexports.traverseReducePromiseM = traverseReducePromiseM;\nexports.traverseReduceResultM = traverseReduceResultM;\nexports.unsafeGetFirst = unsafeGetFirst;\nexports.getFirst = getFirst;\nexports.push = push;\nexports.forEach = forEach;\nexports.map = map;\nexports.mapi = mapi;\nexports.filter = filter;\nexports.reverse = reverse;\nexports.deleteBySwap = deleteBySwap;\nexports.range = range;\nexports.removeDuplicateItems = removeDuplicateItems;\nexports.removeDuplicateItemsWithBuildKeyFunc = removeDuplicateItemsWithBuildKeyFunc;\nexports.chunk = chunk;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar throwErr = ((err) => {\n throw err;\n});\n\nvar buildErr = ((message) => {\nreturn new Error(message);\n});\n\nexports.throwErr = throwErr;\nexports.buildErr = buildErr;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js": -/*!***********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js ***! - \***********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ./OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction getExn(data) {\n return OptionSt$Meta3dCommonlib.getExn(OptionSt$Meta3dCommonlib.fromNullable(data));\n}\n\nfunction $$return(data) {\n return data;\n}\n\nfunction getWithDefault(nullableData, $$default) {\n return OptionSt$Meta3dCommonlib.getWithDefault(OptionSt$Meta3dCommonlib.fromNullable(nullableData), $$default);\n}\n\nfunction bind(nullableData, func) {\n return OptionSt$Meta3dCommonlib.toNullable(OptionSt$Meta3dCommonlib.bind(OptionSt$Meta3dCommonlib.fromNullable(nullableData), (function (val) {\n return OptionSt$Meta3dCommonlib.fromNullable(func(val));\n })));\n}\n\nfunction isNullable(prim) {\n return prim == null;\n}\n\nfunction getEmpty(param) {\n \n}\n\nvar map = Js_null_undefined.bind;\n\nexports.getExn = getExn;\nexports.$$return = $$return;\nexports.getWithDefault = getWithDefault;\nexports.map = map;\nexports.bind = bind;\nexports.isNullable = isNullable;\nexports.getEmpty = getEmpty;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js": -/*!*********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js ***! - \*********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Option = __webpack_require__(/*! rescript/lib/js/belt_Option.js */ \"../../../../node_modules/rescript/lib/js/belt_Option.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ./Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\n\nfunction unsafeGet(prim) {\n return prim;\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nvar getExn = _getExn;\n\nfunction buildFailResult(param) {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n}\n\nfunction get(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.succeed(Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.failWith(\"data not exist in option data\");\n }\n}\n\nfunction fromNullable(optionData) {\n if (optionData == null) {\n return ;\n } else {\n return Caml_option.some(optionData);\n }\n}\n\nvar toNullable = Js_null_undefined.from_opt;\n\nfunction toStrictNullable(optionData) {\n if (optionData !== undefined) {\n return Caml_option.valFromOption(optionData);\n } else {\n return null;\n }\n}\n\nfunction forEachResult(optionData, func) {\n if (optionData !== undefined) {\n return Curry._1(func, Caml_option.valFromOption(optionData));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction sequenceResultM(optionData) {\n if (optionData !== undefined) {\n return Result$Meta3dCommonlib.mapSuccess(optionData, (function (value) {\n return Caml_option.some(value);\n }));\n } else {\n return Result$Meta3dCommonlib.succeed(undefined);\n }\n}\n\nfunction open_(optionOptionData) {\n if (optionOptionData !== undefined) {\n return Caml_option.valFromOption(optionOptionData);\n }\n \n}\n\nvar getWithDefault = Belt_Option.getWithDefault;\n\nvar isSome = Belt_Option.isSome;\n\nvar map = Belt_Option.map;\n\nvar bind = Belt_Option.flatMap;\n\nexports.unsafeGet = unsafeGet;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.buildFailResult = buildFailResult;\nexports.get = get;\nexports.getWithDefault = getWithDefault;\nexports.isSome = isSome;\nexports.map = map;\nexports.bind = bind;\nexports.fromNullable = fromNullable;\nexports.toNullable = toNullable;\nexports.toStrictNullable = toStrictNullable;\nexports.forEachResult = forEachResult;\nexports.sequenceResultM = sequenceResultM;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js": -/*!**********************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js ***! - \**********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_promise = __webpack_require__(/*! rescript/lib/js/js_promise.js */ \"../../../../node_modules/rescript/lib/js/js_promise.js\");\n\nfunction bind(p, func) {\n return Js_promise.then_(func, p);\n}\n\nfunction map(p, func) {\n return Js_promise.then_((function (v) {\n return Promise.resolve(Curry._1(func, v));\n }), p);\n}\n\nexports.bind = bind;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/PromiseSt.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js": -/*!*******************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js ***! - \*******************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_exn = __webpack_require__(/*! rescript/lib/js/js_exn.js */ \"../../../../node_modules/rescript/lib/js/js_exn.js\");\nvar Caml_js_exceptions = __webpack_require__(/*! rescript/lib/js/caml_js_exceptions.js */ \"../../../../node_modules/rescript/lib/js/caml_js_exceptions.js\");\nvar Exception$Meta3dCommonlib = __webpack_require__(/*! ./Exception.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Exception.bs.js\");\n\nfunction succeed(x) {\n return {\n TAG: /* Ok */0,\n _0: x\n };\n}\n\nfunction fail(x) {\n return {\n TAG: /* Error */1,\n _0: x\n };\n}\n\nvar _buildErr = Exception$Meta3dCommonlib.buildErr;\n\nfunction failWith(x) {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(x)\n };\n}\n\nfunction isSuccess(result) {\n if (result.TAG === /* Ok */0) {\n return true;\n } else {\n return false;\n }\n}\n\nfunction either(result, successFunc, failureFunc) {\n if (result.TAG === /* Ok */0) {\n return Curry._1(successFunc, result._0);\n } else {\n return Curry._1(failureFunc, result._0);\n }\n}\n\nfunction bind(result, switchFunc) {\n return either(result, switchFunc, fail);\n}\n\nfunction tap(result, oneTrackFunc) {\n return either(result, (function (result) {\n Curry._1(oneTrackFunc, result);\n return {\n TAG: /* Ok */0,\n _0: result\n };\n }), fail);\n}\n\nfunction tryCatch(oneTrackFunc) {\n try {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(oneTrackFunc, undefined)\n };\n }\n catch (raw_e){\n var e = Caml_js_exceptions.internalToOCamlException(raw_e);\n if (e.RE_EXN_ID === Js_exn.$$Error) {\n return {\n TAG: /* Error */1,\n _0: e._1\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: Exception$Meta3dCommonlib.buildErr(\"unknown error: \" + e)\n };\n }\n }\n}\n\nfunction mapSuccess(result, mapFunc) {\n if (result.TAG === /* Ok */0) {\n return {\n TAG: /* Ok */0,\n _0: Curry._1(mapFunc, result._0)\n };\n } else {\n return {\n TAG: /* Error */1,\n _0: result._0\n };\n }\n}\n\nfunction handleFail(result, handleFailFunc) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return Curry._1(handleFailFunc, result._0);\n }\n}\n\nfunction getExn(result) {\n return handleFail(result, Exception$Meta3dCommonlib.throwErr);\n}\n\nfunction toNullable(result) {\n if (result.TAG === /* Ok */0) {\n return result._0;\n } else {\n return null;\n }\n}\n\nfunction open_(resultResultData) {\n if (resultResultData.TAG === /* Ok */0) {\n return resultResultData._0;\n } else {\n return {\n TAG: /* Error */1,\n _0: resultResultData._0\n };\n }\n}\n\nexports.succeed = succeed;\nexports.fail = fail;\nexports._buildErr = _buildErr;\nexports.failWith = failWith;\nexports.isSuccess = isSuccess;\nexports.either = either;\nexports.bind = bind;\nexports.tap = tap;\nexports.tryCatch = tryCatch;\nexports.mapSuccess = mapSuccess;\nexports.handleFail = handleFail;\nexports.getExn = getExn;\nexports.toNullable = toNullable;\nexports.open_ = open_;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js": -/*!*****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js ***! - \*****************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_dict = __webpack_require__(/*! rescript/lib/js/js_dict.js */ \"../../../../node_modules/rescript/lib/js/js_dict.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Belt_Array = __webpack_require__(/*! rescript/lib/js/belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Js_null_undefined = __webpack_require__(/*! rescript/lib/js/js_null_undefined.js */ \"../../../../node_modules/rescript/lib/js/js_null_undefined.js\");\nvar NullUtils$Meta3dCommonlib = __webpack_require__(/*! ../utils/NullUtils.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js\");\n\nfunction createEmpty(hintSizeOpt, param) {\n return {};\n}\n\nfunction unsafeGet(map, key) {\n return map[key];\n}\n\nfunction get(map, key) {\n var value = map[key];\n if (NullUtils$Meta3dCommonlib.isEmpty(value)) {\n return ;\n } else {\n return Caml_option.some(value);\n }\n}\n\nvar _getExn = ((nullableData) => {\n if (nullableData !== undefined) {\n return nullableData;\n }\n\n throw new Error(\"Not_found\")\n});\n\nfunction getExn(map, key) {\n return _getExn(map[key]);\n}\n\nfunction getNullable(map, key) {\n return Js_null_undefined.fromOption(get(map, key));\n}\n\nfunction has(map, key) {\n return !NullUtils$Meta3dCommonlib.isEmpty(map[key]);\n}\n\nvar entries = Js_dict.entries;\n\nfunction _mutableSet(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction _createEmpty(param) {\n return {};\n}\n\nfunction _reduceArray(arr, func, param) {\n return Belt_Array.reduceU(arr, param, func);\n}\n\nfunction copy(map) {\n return Belt_Array.reduceU(Js_dict.entries(map), {}, (function (newMap, param) {\n return _mutableSet(newMap, param[0], param[1]);\n }));\n}\n\nfunction getValidValues(map) {\n var __x = Js_dict.values(map);\n return Js_array.filter(NullUtils$Meta3dCommonlib.isInMap, __x);\n}\n\nfunction map(map$1, func) {\n return Js_dict.map(func, map$1);\n}\n\nfunction merge(sourceMap, targetMap) {\n return Belt_Array.reduceU(Js_dict.entries(sourceMap), targetMap, (function (targetMap, param) {\n return _mutableSet(targetMap, param[0], param[1]);\n }));\n}\n\nexports.createEmpty = createEmpty;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports._getExn = _getExn;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.entries = entries;\nexports._mutableSet = _mutableSet;\nexports._createEmpty = _createEmpty;\nexports._reduceArray = _reduceArray;\nexports.copy = copy;\nexports.getValidValues = getValidValues;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js": -/*!**************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js ***! - \**************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar HashMap$Meta3dCommonlib = __webpack_require__(/*! ./HashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js\");\n\nfunction set(map, key, value) {\n var newMap = HashMap$Meta3dCommonlib.copy(map);\n newMap[key] = value;\n return newMap;\n}\n\nfunction deleteVal(map, key) {\n var newMap = HashMap$Meta3dCommonlib.copy(map);\n newMap[key] = undefined;\n return newMap;\n}\n\nvar createEmpty = HashMap$Meta3dCommonlib.createEmpty;\n\nvar unsafeGet = HashMap$Meta3dCommonlib.unsafeGet;\n\nvar get = HashMap$Meta3dCommonlib.get;\n\nvar getExn = HashMap$Meta3dCommonlib.getExn;\n\nvar getNullable = HashMap$Meta3dCommonlib.getNullable;\n\nvar has = HashMap$Meta3dCommonlib.has;\n\nvar getValidValues = HashMap$Meta3dCommonlib.getValidValues;\n\nvar copy = HashMap$Meta3dCommonlib.copy;\n\nvar entries = HashMap$Meta3dCommonlib.entries;\n\nvar map = HashMap$Meta3dCommonlib.map;\n\nvar merge = HashMap$Meta3dCommonlib.merge;\n\nexports.createEmpty = createEmpty;\nexports.set = set;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.deleteVal = deleteVal;\nexports.getValidValues = getValidValues;\nexports.copy = copy;\nexports.entries = entries;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js": -/*!************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js ***! - \************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar HashMap$Meta3dCommonlib = __webpack_require__(/*! ./HashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/HashMap.bs.js\");\n\nfunction set(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction deleteVal(map, key) {\n map[key] = undefined;\n return map;\n}\n\nvar createEmpty = HashMap$Meta3dCommonlib.createEmpty;\n\nvar unsafeGet = HashMap$Meta3dCommonlib.unsafeGet;\n\nvar get = HashMap$Meta3dCommonlib.get;\n\nvar getExn = HashMap$Meta3dCommonlib.getExn;\n\nvar getNullable = HashMap$Meta3dCommonlib.getNullable;\n\nvar has = HashMap$Meta3dCommonlib.has;\n\nvar getValidValues = HashMap$Meta3dCommonlib.getValidValues;\n\nvar copy = HashMap$Meta3dCommonlib.copy;\n\nvar entries = HashMap$Meta3dCommonlib.entries;\n\nvar map = HashMap$Meta3dCommonlib.map;\n\nvar merge = HashMap$Meta3dCommonlib.merge;\n\nexports.createEmpty = createEmpty;\nexports.set = set;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.deleteVal = deleteVal;\nexports.getValidValues = getValidValues;\nexports.copy = copy;\nexports.entries = entries;\nexports.map = map;\nexports.merge = merge;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js": -/*!****************************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js ***! - \****************************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ../OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar NullUtils$Meta3dCommonlib = __webpack_require__(/*! ../utils/NullUtils.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js\");\nvar SparseMap$Meta3dCommonlib = __webpack_require__(/*! ./SparseMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/SparseMap.bs.js\");\n\nfunction getExn(map, key) {\n return OptionSt$Meta3dCommonlib.getExn(SparseMap$Meta3dCommonlib.get(map, key));\n}\n\nfunction fastGet(map, key) {\n var value = SparseMap$Meta3dCommonlib.unsafeGet(map, key);\n return [\n NullUtils$Meta3dCommonlib.isInMap(value),\n value\n ];\n}\n\nfunction set(map, key, value) {\n map[key] = value;\n return map;\n}\n\nfunction remove(map, key) {\n map[key] = undefined;\n return map;\n}\n\nfunction deleteVal(map, key) {\n map[key] = undefined;\n return map;\n}\n\nvar createEmpty = SparseMap$Meta3dCommonlib.createEmpty;\n\nvar copy = SparseMap$Meta3dCommonlib.copy;\n\nvar unsafeGet = SparseMap$Meta3dCommonlib.unsafeGet;\n\nvar get = SparseMap$Meta3dCommonlib.get;\n\nvar getNullable = SparseMap$Meta3dCommonlib.getNullable;\n\nvar has = SparseMap$Meta3dCommonlib.has;\n\nvar map = SparseMap$Meta3dCommonlib.map;\n\nvar reducei = SparseMap$Meta3dCommonlib.reducei;\n\nvar getValues = SparseMap$Meta3dCommonlib.getValues;\n\nvar getKeys = SparseMap$Meta3dCommonlib.getKeys;\n\nexports.createEmpty = createEmpty;\nexports.copy = copy;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getExn = getExn;\nexports.fastGet = fastGet;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.set = set;\nexports.remove = remove;\nexports.map = map;\nexports.reducei = reducei;\nexports.getValues = getValues;\nexports.getKeys = getKeys;\nexports.deleteVal = deleteVal;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/SparseMap.bs.js": -/*!*********************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/SparseMap.bs.js ***! - \*********************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! ../ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar NullUtils$Meta3dCommonlib = __webpack_require__(/*! ../utils/NullUtils.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js\");\n\nfunction createEmpty(hintSizeOpt, param) {\n return [];\n}\n\nfunction copy(prim) {\n return prim.slice();\n}\n\nfunction unsafeGet(map, key) {\n return map[key];\n}\n\nfunction get(map, key) {\n var value = map[key];\n if (NullUtils$Meta3dCommonlib.isEmpty(value)) {\n return ;\n } else {\n return Caml_option.some(value);\n }\n}\n\nfunction getNullable(map, key) {\n var value = map[key];\n if (NullUtils$Meta3dCommonlib.isUndefined(value)) {\n return null;\n } else {\n return value;\n }\n}\n\nfunction has(map, key) {\n return !NullUtils$Meta3dCommonlib.isEmpty(map[key]);\n}\n\nfunction map(map$1, func) {\n return Js_array.map((function (value) {\n if (NullUtils$Meta3dCommonlib.isNotInMap(value)) {\n return ;\n } else {\n return func(value);\n }\n }), map$1);\n}\n\nfunction reducei(map, func, initValue) {\n return ArraySt$Meta3dCommonlib.reduceOneParami(map, (function (previousValue, value, index) {\n if (NullUtils$Meta3dCommonlib.isNotInMap(value)) {\n return previousValue;\n } else {\n return func(previousValue, value, index);\n }\n }), initValue);\n}\n\nfunction getValues(map) {\n return Js_array.filter(NullUtils$Meta3dCommonlib.isInMap, map);\n}\n\nfunction getKeys(map) {\n return ArraySt$Meta3dCommonlib.reduceOneParami(map, (function (arr, value, key) {\n if (NullUtils$Meta3dCommonlib.isNotInMap(value)) {\n return arr;\n } else {\n Js_array.push(key, arr);\n return arr;\n }\n }), []);\n}\n\nexports.createEmpty = createEmpty;\nexports.copy = copy;\nexports.unsafeGet = unsafeGet;\nexports.get = get;\nexports.getNullable = getNullable;\nexports.has = has;\nexports.map = map;\nexports.reducei = reducei;\nexports.getValues = getValues;\nexports.getKeys = getKeys;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/SparseMap.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js": -/*!*************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Result$Meta3dCommonlib = __webpack_require__(/*! ../Result.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/Result.bs.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! ../OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction create(x, y) {\n return [\n x,\n y\n ];\n}\n\nfunction collectOption(optionData1, optionData2) {\n if (optionData1 !== undefined && optionData2 !== undefined) {\n return Result$Meta3dCommonlib.succeed([\n Caml_option.valFromOption(optionData1),\n Caml_option.valFromOption(optionData2)\n ]);\n } else {\n return OptionSt$Meta3dCommonlib.buildFailResult(undefined);\n }\n}\n\nfunction collectResult(resultData1, resultData2) {\n return Result$Meta3dCommonlib.bind(resultData1, (function (data1) {\n return Result$Meta3dCommonlib.mapSuccess(resultData2, (function (data2) {\n return [\n data1,\n data2\n ];\n }));\n }));\n}\n\nfunction getFirst(param) {\n return param[0];\n}\n\nfunction getLast(param) {\n return param[1];\n}\n\nexports.create = create;\nexports.collectOption = collectOption;\nexports.collectResult = collectResult;\nexports.getFirst = getFirst;\nexports.getLast = getLast;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js?"); - -/***/ }), - -/***/ "../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js": -/*!****************************************************************************************!*\ - !*** ../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nfunction isEmpty(value) {\n if (value === null) {\n return true;\n } else {\n return value === undefined;\n }\n}\n\nfunction isNotInMap(value) {\n return value === undefined;\n}\n\nfunction isInMap(value) {\n return value !== undefined;\n}\n\nexports.isUndefined = isUndefined;\nexports.isEmpty = isEmpty;\nexports.isNotInMap = isNotInMap;\nexports.isInMap = isInMap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../defaults/meta3d-commonlib/lib/js/src/structure/utils/NullUtils.bs.js?"); - -/***/ }), - -/***/ "../../../../node_modules/@most/multicast/dist/multicast.es.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/@most/multicast/dist/multicast.es.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ MulticastSource: () => (/* binding */ MulticastSource),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n\n\nvar MulticastDisposable = function MulticastDisposable (source, sink) {\n this.source = source\n this.sink = sink\n this.disposed = false\n};\n\nMulticastDisposable.prototype.dispose = function dispose () {\n if (this.disposed) {\n return\n }\n this.disposed = true\n var remaining = this.source.remove(this.sink)\n return remaining === 0 && this.source._dispose()\n};\n\nfunction tryEvent (t, x, sink) {\n try {\n sink.event(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nfunction tryEnd (t, x, sink) {\n try {\n sink.end(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nvar dispose = function (disposable) { return disposable.dispose(); }\n\nvar emptyDisposable = {\n dispose: function dispose$1 () {}\n}\n\nvar MulticastSource = function MulticastSource (source) {\n this.source = source\n this.sinks = []\n this._disposable = emptyDisposable\n};\n\nMulticastSource.prototype.run = function run (sink, scheduler) {\n var n = this.add(sink)\n if (n === 1) {\n this._disposable = this.source.run(this, scheduler)\n }\n return new MulticastDisposable(this, sink)\n};\n\nMulticastSource.prototype._dispose = function _dispose () {\n var disposable = this._disposable\n this._disposable = emptyDisposable\n return Promise.resolve(disposable).then(dispose)\n};\n\nMulticastSource.prototype.add = function add (sink) {\n this.sinks = (0,_most_prelude__WEBPACK_IMPORTED_MODULE_0__.append)(sink, this.sinks)\n return this.sinks.length\n};\n\nMulticastSource.prototype.remove = function remove$1 (sink) {\n var i = (0,_most_prelude__WEBPACK_IMPORTED_MODULE_0__.findIndex)(sink, this.sinks)\n // istanbul ignore next\n if (i >= 0) {\n this.sinks = (0,_most_prelude__WEBPACK_IMPORTED_MODULE_0__.remove)(i, this.sinks)\n }\n\n return this.sinks.length\n};\n\nMulticastSource.prototype.event = function event (time, value) {\n var s = this.sinks\n if (s.length === 1) {\n return s[0].event(time, value)\n }\n for (var i = 0; i < s.length; ++i) {\n tryEvent(time, value, s[i])\n }\n};\n\nMulticastSource.prototype.end = function end (time, value) {\n var s = this.sinks\n for (var i = 0; i < s.length; ++i) {\n tryEnd(time, value, s[i])\n }\n};\n\nMulticastSource.prototype.error = function error (time, err) {\n var s = this.sinks\n for (var i = 0; i < s.length; ++i) {\n s[i].error(time, err)\n }\n};\n\nfunction multicast (stream) {\n var source = stream.source\n return source instanceof MulticastSource\n ? stream\n : new stream.constructor(new MulticastSource(source))\n}\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (multicast);\n//# sourceMappingURL=multicast.es.js.map\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/@most/multicast/dist/multicast.es.js?"); - -/***/ }), - -/***/ "../../../../node_modules/@most/prelude/dist/index.es.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/@most/prelude/dist/index.es.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ append: () => (/* binding */ append),\n/* harmony export */ apply: () => (/* binding */ apply),\n/* harmony export */ compose: () => (/* binding */ compose),\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ cons: () => (/* binding */ cons),\n/* harmony export */ copy: () => (/* binding */ copy),\n/* harmony export */ curry2: () => (/* binding */ curry2),\n/* harmony export */ curry3: () => (/* binding */ curry3),\n/* harmony export */ curry4: () => (/* binding */ curry4),\n/* harmony export */ drop: () => (/* binding */ drop),\n/* harmony export */ findIndex: () => (/* binding */ findIndex),\n/* harmony export */ id: () => (/* binding */ id),\n/* harmony export */ isArrayLike: () => (/* binding */ isArrayLike),\n/* harmony export */ map: () => (/* binding */ map),\n/* harmony export */ reduce: () => (/* binding */ reduce),\n/* harmony export */ remove: () => (/* binding */ remove),\n/* harmony export */ removeAll: () => (/* binding */ removeAll),\n/* harmony export */ replace: () => (/* binding */ replace),\n/* harmony export */ tail: () => (/* binding */ tail)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\r\n// Non-mutating array operations\r\n/**\r\n * a with x prepended\r\n */\r\nfunction cons(x, a) {\r\n var l = a.length;\r\n var b = new Array(l + 1);\r\n b[0] = x;\r\n for (var i = 0; i < l; ++i) {\r\n b[i + 1] = a[i];\r\n }\r\n return b;\r\n}\r\n/**\r\n * a with x appended\r\n */\r\nfunction append(x, a) {\r\n var l = a.length;\r\n var b = new Array(l + 1);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = a[i];\r\n }\r\n b[l] = x;\r\n return b;\r\n}\r\n/**\r\n * Concats two `ArrayLike`s\r\n */\r\nfunction concat(a, b) {\r\n var al = a.length;\r\n var bl = b.length;\r\n var r = new Array(al + bl);\r\n var i = 0;\r\n for (i = 0; i < al; i++) {\r\n r[i] = a[i];\r\n }\r\n for (var j = 0; j < bl; j++) {\r\n r[i++] = b[j];\r\n }\r\n return r;\r\n}\r\n//\r\n/**\r\n * drop first n elements\r\n */\r\nfunction drop(n, a) {\r\n if (n < 0) {\r\n throw new TypeError('n must be >= 0');\r\n }\r\n var l = a.length;\r\n if (n === 0 || l === 0) {\r\n return a;\r\n }\r\n if (n >= l) {\r\n return [];\r\n }\r\n return unsafeDrop(n, a, l - n);\r\n}\r\n/**\r\n * Internal helper for drop\r\n */\r\nfunction unsafeDrop(n, a, l) {\r\n var b = new Array(l);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = a[n + i];\r\n }\r\n return b;\r\n}\r\n/**\r\n * drop head element\r\n */\r\nfunction tail(a) {\r\n return drop(1, a);\r\n}\r\n/**\r\n * duplicate a (shallow duplication)\r\n */\r\nfunction copy(a) {\r\n var l = a.length;\r\n var b = new Array(l);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = a[i];\r\n }\r\n return b;\r\n}\r\n/**\r\n * transform each element with f\r\n */\r\nfunction map(f, a) {\r\n var l = a.length;\r\n var b = new Array(l);\r\n for (var i = 0; i < l; ++i) {\r\n b[i] = f(a[i]);\r\n }\r\n return b;\r\n}\r\n/**\r\n * accumulate via left-fold\r\n */\r\nfunction reduce(f, z, a) {\r\n var r = z;\r\n for (var i = 0, l = a.length; i < l; ++i) {\r\n r = f(r, a[i], i);\r\n }\r\n return r;\r\n}\r\n/**\r\n * replace element at index\r\n */\r\nfunction replace(x, i, a) {\r\n if (i < 0) {\r\n throw new TypeError('i must be >= 0');\r\n }\r\n var l = a.length;\r\n var b = new Array(l);\r\n for (var j = 0; j < l; ++j) {\r\n b[j] = i === j ? x : a[j];\r\n }\r\n return b;\r\n}\r\n/**\r\n * remove element at index\r\n * @throws\r\n */\r\nfunction remove(i, a) {\r\n if (i < 0) {\r\n throw new TypeError('i must be >= 0');\r\n }\r\n var l = a.length;\r\n if (l === 0 || i >= l) { // exit early if index beyond end of array\r\n return a;\r\n }\r\n if (l === 1) { // exit early if index in bounds and length === 1\r\n return [];\r\n }\r\n return unsafeRemove(i, a, l - 1);\r\n}\r\n/**\r\n * Internal helper to remove element at index\r\n */\r\nfunction unsafeRemove(i, a, l) {\r\n var b = new Array(l);\r\n var j;\r\n for (j = 0; j < i; ++j) {\r\n b[j] = a[j];\r\n }\r\n for (j = i; j < l; ++j) {\r\n b[j] = a[j + 1];\r\n }\r\n return b;\r\n}\r\n/**\r\n * remove all elements matching a predicate\r\n * @deprecated\r\n */\r\nfunction removeAll(f, a) {\r\n var l = a.length;\r\n var b = new Array(l);\r\n var j = 0;\r\n for (var x = void 0, i = 0; i < l; ++i) {\r\n x = a[i];\r\n if (!f(x)) {\r\n b[j] = x;\r\n ++j;\r\n }\r\n }\r\n b.length = j;\r\n return b;\r\n}\r\n/**\r\n * find index of x in a, from the left\r\n */\r\nfunction findIndex(x, a) {\r\n for (var i = 0, l = a.length; i < l; ++i) {\r\n if (x === a[i]) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n}\r\n/**\r\n * Return true iff x is array-like\r\n */\r\nfunction isArrayLike(x) {\r\n return x != null && typeof x.length === 'number' && typeof x !== 'function';\r\n}\n\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\r\nvar id = function (x) { return x; };\r\nvar compose = function (f, g) { return function (x) { return f(g(x)); }; };\r\nvar apply = function (f, x) { return f(x); };\r\nfunction curry2(f) {\r\n function curried(a, b) {\r\n switch (arguments.length) {\r\n case 0: return curried;\r\n case 1: return function (b) { return f(a, b); };\r\n default: return f(a, b);\r\n }\r\n }\r\n return curried;\r\n}\r\nfunction curry3(f) {\r\n function curried(a, b, c) {\r\n switch (arguments.length) {\r\n case 0: return curried;\r\n case 1: return curry2(function (b, c) { return f(a, b, c); });\r\n case 2: return function (c) { return f(a, b, c); };\r\n default: return f(a, b, c);\r\n }\r\n }\r\n return curried;\r\n}\r\nfunction curry4(f) {\r\n function curried(a, b, c, d) {\r\n switch (arguments.length) {\r\n case 0: return curried;\r\n case 1: return curry3(function (b, c, d) { return f(a, b, c, d); });\r\n case 2: return curry2(function (c, d) { return f(a, b, c, d); });\r\n case 3: return function (d) { return f(a, b, c, d); };\r\n default: return f(a, b, c, d);\r\n }\r\n }\r\n return curried;\r\n}\n\n\n//# sourceMappingURL=index.es.js.map\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/@most/prelude/dist/index.es.js?"); - -/***/ }), - -/***/ "../../../../node_modules/define-data-property/index.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/define-data-property/index.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar hasPropertyDescriptors = __webpack_require__(/*! has-property-descriptors */ \"../../../../node_modules/has-property-descriptors/index.js\")();\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../../node_modules/get-intrinsic/index.js\");\n\nvar $defineProperty = hasPropertyDescriptors && GetIntrinsic('%Object.defineProperty%', true);\n\nvar $SyntaxError = GetIntrinsic('%SyntaxError%');\nvar $TypeError = GetIntrinsic('%TypeError%');\n\nvar gopd = __webpack_require__(/*! gopd */ \"../../../../node_modules/gopd/index.js\");\n\n/** @type {(obj: Record, property: PropertyKey, value: unknown, nonEnumerable?: boolean | null, nonWritable?: boolean | null, nonConfigurable?: boolean | null, loose?: boolean) => void} */\nmodule.exports = function defineDataProperty(\n\tobj,\n\tproperty,\n\tvalue\n) {\n\tif (!obj || (typeof obj !== 'object' && typeof obj !== 'function')) {\n\t\tthrow new $TypeError('`obj` must be an object or a function`');\n\t}\n\tif (typeof property !== 'string' && typeof property !== 'symbol') {\n\t\tthrow new $TypeError('`property` must be a string or a symbol`');\n\t}\n\tif (arguments.length > 3 && typeof arguments[3] !== 'boolean' && arguments[3] !== null) {\n\t\tthrow new $TypeError('`nonEnumerable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 4 && typeof arguments[4] !== 'boolean' && arguments[4] !== null) {\n\t\tthrow new $TypeError('`nonWritable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 5 && typeof arguments[5] !== 'boolean' && arguments[5] !== null) {\n\t\tthrow new $TypeError('`nonConfigurable`, if provided, must be a boolean or null');\n\t}\n\tif (arguments.length > 6 && typeof arguments[6] !== 'boolean') {\n\t\tthrow new $TypeError('`loose`, if provided, must be a boolean');\n\t}\n\n\tvar nonEnumerable = arguments.length > 3 ? arguments[3] : null;\n\tvar nonWritable = arguments.length > 4 ? arguments[4] : null;\n\tvar nonConfigurable = arguments.length > 5 ? arguments[5] : null;\n\tvar loose = arguments.length > 6 ? arguments[6] : false;\n\n\t/* @type {false | TypedPropertyDescriptor} */\n\tvar desc = !!gopd && gopd(obj, property);\n\n\tif ($defineProperty) {\n\t\t$defineProperty(obj, property, {\n\t\t\tconfigurable: nonConfigurable === null && desc ? desc.configurable : !nonConfigurable,\n\t\t\tenumerable: nonEnumerable === null && desc ? desc.enumerable : !nonEnumerable,\n\t\t\tvalue: value,\n\t\t\twritable: nonWritable === null && desc ? desc.writable : !nonWritable\n\t\t});\n\t} else if (loose || (!nonEnumerable && !nonWritable && !nonConfigurable)) {\n\t\t// must fall back to [[Set]], and was not explicitly asked to make non-enumerable, non-writable, or non-configurable\n\t\tobj[property] = value; // eslint-disable-line no-param-reassign\n\t} else {\n\t\tthrow new $SyntaxError('This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.');\n\t}\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/define-data-property/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/define-properties/index.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/define-properties/index.js ***! - \***********************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar keys = __webpack_require__(/*! object-keys */ \"../../../../node_modules/object-keys/index.js\");\nvar hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';\n\nvar toStr = Object.prototype.toString;\nvar concat = Array.prototype.concat;\nvar defineDataProperty = __webpack_require__(/*! define-data-property */ \"../../../../node_modules/define-data-property/index.js\");\n\nvar isFunction = function (fn) {\n\treturn typeof fn === 'function' && toStr.call(fn) === '[object Function]';\n};\n\nvar supportsDescriptors = __webpack_require__(/*! has-property-descriptors */ \"../../../../node_modules/has-property-descriptors/index.js\")();\n\nvar defineProperty = function (object, name, value, predicate) {\n\tif (name in object) {\n\t\tif (predicate === true) {\n\t\t\tif (object[name] === value) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t} else if (!isFunction(predicate) || !predicate()) {\n\t\t\treturn;\n\t\t}\n\t}\n\n\tif (supportsDescriptors) {\n\t\tdefineDataProperty(object, name, value, true);\n\t} else {\n\t\tdefineDataProperty(object, name, value);\n\t}\n};\n\nvar defineProperties = function (object, map) {\n\tvar predicates = arguments.length > 2 ? arguments[2] : {};\n\tvar props = keys(map);\n\tif (hasSymbols) {\n\t\tprops = concat.call(props, Object.getOwnPropertySymbols(map));\n\t}\n\tfor (var i = 0; i < props.length; i += 1) {\n\t\tdefineProperty(object, props[i], map[props[i]], predicates[props[i]]);\n\t}\n};\n\ndefineProperties.supportsDescriptors = !!supportsDescriptors;\n\nmodule.exports = defineProperties;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/define-properties/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/function-bind/implementation.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/function-bind/implementation.js ***! - \****************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint no-invalid-this: 1 */\n\nvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\nvar slice = Array.prototype.slice;\nvar toStr = Object.prototype.toString;\nvar funcType = '[object Function]';\n\nmodule.exports = function bind(that) {\n var target = this;\n if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n throw new TypeError(ERROR_MESSAGE + target);\n }\n var args = slice.call(arguments, 1);\n\n var bound;\n var binder = function () {\n if (this instanceof bound) {\n var result = target.apply(\n this,\n args.concat(slice.call(arguments))\n );\n if (Object(result) === result) {\n return result;\n }\n return this;\n } else {\n return target.apply(\n that,\n args.concat(slice.call(arguments))\n );\n }\n };\n\n var boundLength = Math.max(0, target.length - args.length);\n var boundArgs = [];\n for (var i = 0; i < boundLength; i++) {\n boundArgs.push('$' + i);\n }\n\n bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n if (target.prototype) {\n var Empty = function Empty() {};\n Empty.prototype = target.prototype;\n bound.prototype = new Empty();\n Empty.prototype = null;\n }\n\n return bound;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/function-bind/implementation.js?"); - -/***/ }), - -/***/ "../../../../node_modules/function-bind/index.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/function-bind/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/function-bind/implementation.js\");\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/function-bind/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/get-intrinsic/index.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/get-intrinsic/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar undefined;\n\nvar $SyntaxError = SyntaxError;\nvar $Function = Function;\nvar $TypeError = TypeError;\n\n// eslint-disable-next-line consistent-return\nvar getEvalledConstructor = function (expressionSyntax) {\n\ttry {\n\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t} catch (e) {}\n};\n\nvar $gOPD = Object.getOwnPropertyDescriptor;\nif ($gOPD) {\n\ttry {\n\t\t$gOPD({}, '');\n\t} catch (e) {\n\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t}\n}\n\nvar throwTypeError = function () {\n\tthrow new $TypeError();\n};\nvar ThrowTypeError = $gOPD\n\t? (function () {\n\t\ttry {\n\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\treturn throwTypeError;\n\t\t} catch (calleeThrows) {\n\t\t\ttry {\n\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t} catch (gOPDthrows) {\n\t\t\t\treturn throwTypeError;\n\t\t\t}\n\t\t}\n\t}())\n\t: throwTypeError;\n\nvar hasSymbols = __webpack_require__(/*! has-symbols */ \"../../../../node_modules/has-symbols/index.js\")();\nvar hasProto = __webpack_require__(/*! has-proto */ \"../../../../node_modules/has-proto/index.js\")();\n\nvar getProto = Object.getPrototypeOf || (\n\thasProto\n\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t: null\n);\n\nvar needsEval = {};\n\nvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);\n\nvar INTRINSICS = {\n\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,\n\t'%Array%': Array,\n\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,\n\t'%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined,\n\t'%AsyncFromSyncIteratorPrototype%': undefined,\n\t'%AsyncFunction%': needsEval,\n\t'%AsyncGenerator%': needsEval,\n\t'%AsyncGeneratorFunction%': needsEval,\n\t'%AsyncIteratorPrototype%': needsEval,\n\t'%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,\n\t'%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,\n\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array,\n\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array,\n\t'%Boolean%': Boolean,\n\t'%DataView%': typeof DataView === 'undefined' ? undefined : DataView,\n\t'%Date%': Date,\n\t'%decodeURI%': decodeURI,\n\t'%decodeURIComponent%': decodeURIComponent,\n\t'%encodeURI%': encodeURI,\n\t'%encodeURIComponent%': encodeURIComponent,\n\t'%Error%': Error,\n\t'%eval%': eval, // eslint-disable-line no-eval\n\t'%EvalError%': EvalError,\n\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,\n\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,\n\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,\n\t'%Function%': $Function,\n\t'%GeneratorFunction%': needsEval,\n\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,\n\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,\n\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,\n\t'%isFinite%': isFinite,\n\t'%isNaN%': isNaN,\n\t'%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined,\n\t'%JSON%': typeof JSON === 'object' ? JSON : undefined,\n\t'%Map%': typeof Map === 'undefined' ? undefined : Map,\n\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()),\n\t'%Math%': Math,\n\t'%Number%': Number,\n\t'%Object%': Object,\n\t'%parseFloat%': parseFloat,\n\t'%parseInt%': parseInt,\n\t'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,\n\t'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,\n\t'%RangeError%': RangeError,\n\t'%ReferenceError%': ReferenceError,\n\t'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,\n\t'%RegExp%': RegExp,\n\t'%Set%': typeof Set === 'undefined' ? undefined : Set,\n\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()),\n\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,\n\t'%String%': String,\n\t'%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined,\n\t'%Symbol%': hasSymbols ? Symbol : undefined,\n\t'%SyntaxError%': $SyntaxError,\n\t'%ThrowTypeError%': ThrowTypeError,\n\t'%TypedArray%': TypedArray,\n\t'%TypeError%': $TypeError,\n\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,\n\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,\n\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,\n\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,\n\t'%URIError%': URIError,\n\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,\n\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,\n\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet\n};\n\nif (getProto) {\n\ttry {\n\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t} catch (e) {\n\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\tvar errorProto = getProto(getProto(e));\n\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t}\n}\n\nvar doEval = function doEval(name) {\n\tvar value;\n\tif (name === '%AsyncFunction%') {\n\t\tvalue = getEvalledConstructor('async function () {}');\n\t} else if (name === '%GeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('function* () {}');\n\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\tvalue = getEvalledConstructor('async function* () {}');\n\t} else if (name === '%AsyncGenerator%') {\n\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\tif (fn) {\n\t\t\tvalue = fn.prototype;\n\t\t}\n\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\tvar gen = doEval('%AsyncGenerator%');\n\t\tif (gen && getProto) {\n\t\t\tvalue = getProto(gen.prototype);\n\t\t}\n\t}\n\n\tINTRINSICS[name] = value;\n\n\treturn value;\n};\n\nvar LEGACY_ALIASES = {\n\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t'%DatePrototype%': ['Date', 'prototype'],\n\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t'%JSONParse%': ['JSON', 'parse'],\n\t'%JSONStringify%': ['JSON', 'stringify'],\n\t'%MapPrototype%': ['Map', 'prototype'],\n\t'%NumberPrototype%': ['Number', 'prototype'],\n\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t'%Promise_all%': ['Promise', 'all'],\n\t'%Promise_reject%': ['Promise', 'reject'],\n\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t'%SetPrototype%': ['Set', 'prototype'],\n\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t'%StringPrototype%': ['String', 'prototype'],\n\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n};\n\nvar bind = __webpack_require__(/*! function-bind */ \"../../../../node_modules/function-bind/index.js\");\nvar hasOwn = __webpack_require__(/*! has */ \"../../../../node_modules/has/src/index.js\");\nvar $concat = bind.call(Function.call, Array.prototype.concat);\nvar $spliceApply = bind.call(Function.apply, Array.prototype.splice);\nvar $replace = bind.call(Function.call, String.prototype.replace);\nvar $strSlice = bind.call(Function.call, String.prototype.slice);\nvar $exec = bind.call(Function.call, RegExp.prototype.exec);\n\n/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\nvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\nvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\nvar stringToPath = function stringToPath(string) {\n\tvar first = $strSlice(string, 0, 1);\n\tvar last = $strSlice(string, -1);\n\tif (first === '%' && last !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t} else if (last === '%' && first !== '%') {\n\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t}\n\tvar result = [];\n\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t});\n\treturn result;\n};\n/* end adaptation */\n\nvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\tvar intrinsicName = name;\n\tvar alias;\n\tif (hasOwn(LEGACY_ALIASES, intrinsicName)) {\n\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\tintrinsicName = '%' + alias[0] + '%';\n\t}\n\n\tif (hasOwn(INTRINSICS, intrinsicName)) {\n\t\tvar value = INTRINSICS[intrinsicName];\n\t\tif (value === needsEval) {\n\t\t\tvalue = doEval(intrinsicName);\n\t\t}\n\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t}\n\n\t\treturn {\n\t\t\talias: alias,\n\t\t\tname: intrinsicName,\n\t\t\tvalue: value\n\t\t};\n\t}\n\n\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n};\n\nmodule.exports = function GetIntrinsic(name, allowMissing) {\n\tif (typeof name !== 'string' || name.length === 0) {\n\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t}\n\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t}\n\n\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t}\n\tvar parts = stringToPath(name);\n\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\tvar intrinsicRealName = intrinsic.name;\n\tvar value = intrinsic.value;\n\tvar skipFurtherCaching = false;\n\n\tvar alias = intrinsic.alias;\n\tif (alias) {\n\t\tintrinsicBaseName = alias[0];\n\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t}\n\n\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\tvar part = parts[i];\n\t\tvar first = $strSlice(part, 0, 1);\n\t\tvar last = $strSlice(part, -1);\n\t\tif (\n\t\t\t(\n\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t)\n\t\t\t&& first !== last\n\t\t) {\n\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t}\n\t\tif (part === 'constructor' || !isOwn) {\n\t\t\tskipFurtherCaching = true;\n\t\t}\n\n\t\tintrinsicBaseName += '.' + part;\n\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\tif (hasOwn(INTRINSICS, intrinsicRealName)) {\n\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t} else if (value != null) {\n\t\t\tif (!(part in value)) {\n\t\t\t\tif (!allowMissing) {\n\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t}\n\t\t\t\treturn void undefined;\n\t\t\t}\n\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t// itself.\n\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\tvalue = desc.get;\n\t\t\t\t} else {\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tisOwn = hasOwn(value, part);\n\t\t\t\tvalue = value[part];\n\t\t\t}\n\n\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/get-intrinsic/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/implementation.browser.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/globalthis/implementation.browser.js ***! - \*********************************************************************/ -/***/ ((module) => { - -"use strict"; -eval("/* eslint no-negated-condition: 0, no-new-func: 0 */\n\n\n\nif (typeof self !== 'undefined') {\n\tmodule.exports = self;\n} else if (typeof window !== 'undefined') {\n\tmodule.exports = window;\n} else {\n\tmodule.exports = Function('return this')();\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/implementation.browser.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/index.js": -/*!****************************************************!*\ - !*** ../../../../node_modules/globalthis/index.js ***! - \****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar defineProperties = __webpack_require__(/*! define-properties */ \"../../../../node_modules/define-properties/index.js\");\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/globalthis/implementation.browser.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"../../../../node_modules/globalthis/polyfill.js\");\nvar shim = __webpack_require__(/*! ./shim */ \"../../../../node_modules/globalthis/shim.js\");\n\nvar polyfill = getPolyfill();\n\nvar getGlobal = function () { return polyfill; };\n\ndefineProperties(getGlobal, {\n\tgetPolyfill: getPolyfill,\n\timplementation: implementation,\n\tshim: shim\n});\n\nmodule.exports = getGlobal;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/polyfill.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/globalthis/polyfill.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/globalthis/implementation.browser.js\");\n\nmodule.exports = function getPolyfill() {\n\tif (typeof __webpack_require__.g !== 'object' || !__webpack_require__.g || __webpack_require__.g.Math !== Math || __webpack_require__.g.Array !== Array) {\n\t\treturn implementation;\n\t}\n\treturn __webpack_require__.g;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/polyfill.js?"); - -/***/ }), - -/***/ "../../../../node_modules/globalthis/shim.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/globalthis/shim.js ***! - \***************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar define = __webpack_require__(/*! define-properties */ \"../../../../node_modules/define-properties/index.js\");\nvar getPolyfill = __webpack_require__(/*! ./polyfill */ \"../../../../node_modules/globalthis/polyfill.js\");\n\nmodule.exports = function shimGlobal() {\n\tvar polyfill = getPolyfill();\n\tif (define.supportsDescriptors) {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(polyfill, 'globalThis');\n\t\tif (!descriptor || (descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill))) { // eslint-disable-line max-len\n\t\t\tObject.defineProperty(polyfill, 'globalThis', {\n\t\t\t\tconfigurable: true,\n\t\t\t\tenumerable: false,\n\t\t\t\tvalue: polyfill,\n\t\t\t\twritable: true\n\t\t\t});\n\t\t}\n\t} else if (typeof globalThis !== 'object' || globalThis !== polyfill) {\n\t\tpolyfill.globalThis = polyfill;\n\t}\n\treturn polyfill;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/globalthis/shim.js?"); - -/***/ }), - -/***/ "../../../../node_modules/gopd/index.js": -/*!**********************************************!*\ - !*** ../../../../node_modules/gopd/index.js ***! - \**********************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../../node_modules/get-intrinsic/index.js\");\n\nvar $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\nif ($gOPD) {\n\ttry {\n\t\t$gOPD([], 'length');\n\t} catch (e) {\n\t\t// IE 8 has a broken gOPD\n\t\t$gOPD = null;\n\t}\n}\n\nmodule.exports = $gOPD;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/gopd/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-property-descriptors/index.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/has-property-descriptors/index.js ***! - \******************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar GetIntrinsic = __webpack_require__(/*! get-intrinsic */ \"../../../../node_modules/get-intrinsic/index.js\");\n\nvar $defineProperty = GetIntrinsic('%Object.defineProperty%', true);\n\nvar hasPropertyDescriptors = function hasPropertyDescriptors() {\n\tif ($defineProperty) {\n\t\ttry {\n\t\t\t$defineProperty({}, 'a', { value: 1 });\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\t// IE 8 has a broken defineProperty\n\t\t\treturn false;\n\t\t}\n\t}\n\treturn false;\n};\n\nhasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {\n\t// node v0.6 has a bug where array lengths can be Set but not Defined\n\tif (!hasPropertyDescriptors()) {\n\t\treturn null;\n\t}\n\ttry {\n\t\treturn $defineProperty([], 'length', { value: 1 }).length !== 1;\n\t} catch (e) {\n\t\t// In Firefox 4-22, defining length on an array throws an exception.\n\t\treturn true;\n\t}\n};\n\nmodule.exports = hasPropertyDescriptors;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-property-descriptors/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-proto/index.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/has-proto/index.js ***! - \***************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar test = {\n\tfoo: {}\n};\n\nvar $Object = Object;\n\nmodule.exports = function hasProto() {\n\treturn { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-proto/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-symbols/index.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/has-symbols/index.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\nvar hasSymbolSham = __webpack_require__(/*! ./shams */ \"../../../../node_modules/has-symbols/shams.js\");\n\nmodule.exports = function hasNativeSymbols() {\n\tif (typeof origSymbol !== 'function') { return false; }\n\tif (typeof Symbol !== 'function') { return false; }\n\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\treturn hasSymbolSham();\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-symbols/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has-symbols/shams.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/has-symbols/shams.js ***! - \*****************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\n/* eslint complexity: [2, 18], max-statements: [2, 33] */\nmodule.exports = function hasSymbols() {\n\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\tvar obj = {};\n\tvar sym = Symbol('test');\n\tvar symObj = Object(sym);\n\tif (typeof sym === 'string') { return false; }\n\n\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t// if (sym instanceof Symbol) { return false; }\n\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\tvar symVal = 42;\n\tobj[sym] = symVal;\n\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\tvar syms = Object.getOwnPropertySymbols(obj);\n\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t}\n\n\treturn true;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has-symbols/shams.js?"); - -/***/ }), - -/***/ "../../../../node_modules/has/src/index.js": -/*!*************************************************!*\ - !*** ../../../../node_modules/has/src/index.js ***! - \*************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar hasOwnProperty = {}.hasOwnProperty;\nvar call = Function.prototype.call;\n\nmodule.exports = call.bind ? call.bind(hasOwnProperty) : function (O, P) {\n return call.call(hasOwnProperty, O, P);\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/has/src/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/LinkedList.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/most/src/LinkedList.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ LinkedList)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Doubly linked list\n * @constructor\n */\nfunction LinkedList () {\n this.head = null\n this.length = 0\n}\n\n/**\n * Add a node to the end of the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to add\n */\nLinkedList.prototype.add = function (x) {\n if (this.head !== null) {\n this.head.prev = x\n x.next = this.head\n }\n this.head = x\n ++this.length\n}\n\n/**\n * Remove the provided node from the list\n * @param {{prev:Object|null, next:Object|null, dispose:function}} x node to remove\n */\nLinkedList.prototype.remove = function (x) { // eslint-disable-line complexity\n --this.length\n if (x === this.head) {\n this.head = this.head.next\n }\n if (x.next !== null) {\n x.next.prev = x.prev\n x.next = null\n }\n if (x.prev !== null) {\n x.prev.next = x.next\n x.prev = null\n }\n}\n\n/**\n * @returns {boolean} true iff there are no nodes in the list\n */\nLinkedList.prototype.isEmpty = function () {\n return this.length === 0\n}\n\n/**\n * Dispose all nodes\n * @returns {Promise} promise that fulfills when all nodes have been disposed,\n * or rejects if an error occurs while disposing\n */\nLinkedList.prototype.dispose = function () {\n if (this.isEmpty()) {\n return Promise.resolve()\n }\n\n var promises = []\n var x = this.head\n this.head = null\n this.length = 0\n\n while (x !== null) {\n promises.push(x.dispose())\n x = x.next\n }\n\n return Promise.all(promises)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/LinkedList.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/Promise.js": -/*!****************************************************!*\ - !*** ../../../../node_modules/most/src/Promise.js ***! - \****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isPromise: () => (/* binding */ isPromise)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction isPromise (p) {\n return p !== null && typeof p === 'object' && typeof p.then === 'function'\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/Promise.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/Queue.js": -/*!**************************************************!*\ - !*** ../../../../node_modules/most/src/Queue.js ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Queue)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n// Based on https://github.com/petkaantonov/deque\n\nfunction Queue (capPow2) {\n this._capacity = capPow2 || 32\n this._length = 0\n this._head = 0\n}\n\nQueue.prototype.push = function (x) {\n var len = this._length\n this._checkCapacity(len + 1)\n\n var i = (this._head + len) & (this._capacity - 1)\n this[i] = x\n this._length = len + 1\n}\n\nQueue.prototype.shift = function () {\n var head = this._head\n var x = this[head]\n\n this[head] = void 0\n this._head = (head + 1) & (this._capacity - 1)\n this._length--\n return x\n}\n\nQueue.prototype.isEmpty = function () {\n return this._length === 0\n}\n\nQueue.prototype.length = function () {\n return this._length\n}\n\nQueue.prototype._checkCapacity = function (size) {\n if (this._capacity < size) {\n this._ensureCapacity(this._capacity << 1)\n }\n}\n\nQueue.prototype._ensureCapacity = function (capacity) {\n var oldCapacity = this._capacity\n this._capacity = capacity\n\n var last = this._head + this._length\n\n if (last > oldCapacity) {\n copy(this, 0, this, oldCapacity, last & (oldCapacity - 1))\n }\n}\n\nfunction copy (src, srcIndex, dst, dstIndex, len) {\n for (var j = 0; j < len; ++j) {\n dst[j + dstIndex] = src[j + srcIndex]\n src[j + srcIndex] = void 0\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/Queue.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/Stream.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/most/src/Stream.js ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Stream)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction Stream (source) {\n this.source = source\n}\n\nStream.prototype.run = function (sink, scheduler) {\n return this.source.run(sink, scheduler)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/Stream.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/accumulate.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/accumulate.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ reduce: () => (/* binding */ reduce),\n/* harmony export */ scan: () => (/* binding */ scan)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../runSource */ \"../../../../node_modules/most/src/runSource.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @param {Stream} stream stream to scan\n * @returns {Stream} new stream containing successive reduce results\n */\nfunction scan (f, initial, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Scan(f, initial, stream.source))\n}\n\nfunction Scan (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nScan.prototype.run = function (sink, scheduler) {\n var d1 = scheduler.asap(_scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"].event(this.value, sink))\n var d2 = this.source.run(new ScanSink(this.f, this.value, sink), scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.all([d1, d2])\n}\n\nfunction ScanSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nScanSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nScanSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nScanSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\n/**\n* Reduce a stream to produce a single result. Note that reducing an infinite\n* stream will return a Promise that never fulfills, but that may reject if an error\n* occurs.\n* @param {function(result:*, x:*):*} f reducer function\n* @param {*} initial initial value\n* @param {Stream} stream to reduce\n* @returns {Promise} promise for the file result of the reduce\n*/\nfunction reduce (f, initial, stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_2__.withDefaultScheduler)(new Reduce(f, initial, stream.source))\n}\n\nfunction Reduce (f, z, source) {\n this.source = source\n this.f = f\n this.value = z\n}\n\nReduce.prototype.run = function (sink, scheduler) {\n return this.source.run(new ReduceSink(this.f, this.value, sink), scheduler)\n}\n\nfunction ReduceSink (f, z, sink) {\n this.f = f\n this.value = z\n this.sink = sink\n}\n\nReduceSink.prototype.event = function (t, x) {\n var f = this.f\n this.value = f(this.value, x)\n this.sink.event(t, this.value)\n}\n\nReduceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nReduceSink.prototype.end = function (t) {\n this.sink.end(t, this.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/accumulate.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/applicative.js": -/*!*******************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/applicative.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ap: () => (/* binding */ ap)\n/* harmony export */ });\n/* harmony import */ var _combine__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./combine */ \"../../../../node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Assume fs is a stream containing functions, and apply the latest function\n * in fs to the latest value in xs.\n * fs: --f---------g--------h------>\n * xs: -a-------b-------c-------d-->\n * ap(fs, xs): --fa-----fb-gb---gc--hc--hd->\n * @param {Stream} fs stream of functions to apply to the latest x\n * @param {Stream} xs stream of values to which to apply all the latest f\n * @returns {Stream} stream containing all the applications of fs to xs\n */\nfunction ap (fs, xs) {\n return (0,_combine__WEBPACK_IMPORTED_MODULE_0__.combine)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.apply, fs, xs)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/applicative.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/build.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/build.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ cons: () => (/* binding */ cons)\n/* harmony export */ });\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _continueWith__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./continueWith */ \"../../../../node_modules/most/src/combinator/continueWith.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * @param {*} x value to prepend\n * @param {Stream} stream\n * @returns {Stream} new stream with x prepended\n */\nfunction cons (x, stream) {\n return concat((0,_source_core__WEBPACK_IMPORTED_MODULE_0__.of)(x), stream)\n}\n\n/**\n* @param {Stream} left\n* @param {Stream} right\n* @returns {Stream} new stream containing all events in left followed by all\n* events in right. This *timeshifts* right to the end of left.\n*/\nfunction concat (left, right) {\n return (0,_continueWith__WEBPACK_IMPORTED_MODULE_1__.continueWith)(function () {\n return right\n }, left)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/build.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/combine.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/combine.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ combineArray: () => (/* binding */ combineArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\nfunction combine (f /*, ...streams */) {\n return combineArray(f, tail(arguments))\n}\n\n/**\n* Combine latest events from all input streams\n* @param {function(...events):*} f function to combine most recent events\n* @param {[Stream]} streams most recent events\n* @returns {Stream} stream containing the result of applying f to the most recent\n* event of each input stream, whenever a new event arrives on any stream.\n*/\nfunction combineArray (f, streams) {\n var l = streams.length\n return l === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : l === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](combineSources(f, streams))\n}\n\nfunction combineSources (f, streams) {\n return new Combine(f, map(getSource, streams))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Combine (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nCombine.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new CombineSink(disposables, sinks, sink, this.f)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction CombineSink (disposables, sinks, sink, f) {\n this.sink = sink\n this.disposables = disposables\n this.sinks = sinks\n this.f = f\n\n var l = sinks.length\n this.awaiting = l\n this.values = new Array(l)\n this.hasValue = new Array(l)\n for (var i = 0; i < l; ++i) {\n this.hasValue[i] = false\n }\n\n this.activeCount = sinks.length\n}\n\nCombineSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nCombineSink.prototype.event = function (t, indexedValue) {\n var i = indexedValue.index\n var awaiting = this._updateReady(i)\n\n this.values[i] = indexedValue.value\n if (awaiting === 0) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(this.f, this.values))\n }\n}\n\nCombineSink.prototype._updateReady = function (index) {\n if (this.awaiting > 0) {\n if (!this.hasValue[index]) {\n this.hasValue[index] = true\n this.awaiting -= 1\n }\n }\n return this.awaiting\n}\n\nCombineSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/combine.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/concatMap.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/concatMap.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concatMap: () => (/* binding */ concatMap)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in stream to a new stream, and concatenate them all\n * stream: -a---b---cX\n * f(a): 1-1-1-1X\n * f(b): -2-2-2-2X\n * f(c): -3-3-3-3X\n * stream.concatMap(f): -1-1-1-1-2-2-2-2-3-3-3-3X\n * @param {function(x:*):Stream} f function to map each value to a stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction concatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, 1, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/concatMap.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/continueWith.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/continueWith.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ continueWith: () => (/* binding */ continueWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction continueWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ContinueWith(f, stream.source))\n}\n\nfunction ContinueWith (f, source) {\n this.f = f\n this.source = source\n}\n\nContinueWith.prototype.run = function (sink, scheduler) {\n return new ContinueWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction ContinueWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.once(source.run(this, scheduler))\n}\n\nContinueWithSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nContinueWithSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nContinueWithSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, x, this.sink)\n}\n\nContinueWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nContinueWithSink.prototype._continue = function (f, x, sink) {\n return f(x).source.run(sink, this.scheduler)\n}\n\nContinueWithSink.prototype.dispose = function () {\n this.active = false\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/continueWith.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/delay.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/delay.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ delay: () => (/* binding */ delay)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @param {Stream} stream\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\nfunction delay (delayTime, stream) {\n return delayTime <= 0 ? stream\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Delay(delayTime, stream.source))\n}\n\nfunction Delay (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDelay.prototype.run = function (sink, scheduler) {\n var delaySink = new DelaySink(this.dt, sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([delaySink, this.source.run(delaySink, scheduler)])\n}\n\nfunction DelaySink (dt, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n}\n\nDelaySink.prototype.dispose = function () {\n var self = this\n this.scheduler.cancelAll(function (scheduledTask) {\n return scheduledTask.task.sink === self.sink\n })\n}\n\nDelaySink.prototype.event = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].event(x, this.sink))\n}\n\nDelaySink.prototype.end = function (t, x) {\n this.scheduler.delay(this.dt, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_3__[\"default\"].end(x, this.sink))\n}\n\nDelaySink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/delay.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/errors.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/errors.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMapError: () => (/* binding */ flatMapError),\n/* harmony export */ recoverWith: () => (/* binding */ recoverWith),\n/* harmony export */ throwError: () => (/* binding */ throwError)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/SafeSink */ \"../../../../node_modules/most/src/sink/SafeSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * If stream encounters an error, recover and continue with items from stream\n * returned by f.\n * @param {function(error:*):Stream} f function which returns a new stream\n * @param {Stream} stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\nfunction recoverWith (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new RecoverWith(f, stream.source))\n}\n\nvar flatMapError = recoverWith\n\n/**\n * Create a stream containing only an error\n * @param {*} e error value, preferably an Error or Error subtype\n * @returns {Stream} new stream containing only an error\n */\nfunction throwError (e) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ErrorSource(e))\n}\n\nfunction ErrorSource (e) {\n this.value = e\n}\n\nErrorSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_4__[\"default\"](runError, this.value, sink))\n}\n\nfunction runError (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction RecoverWith (f, source) {\n this.f = f\n this.source = source\n}\n\nRecoverWith.prototype.run = function (sink, scheduler) {\n return new RecoverWithSink(this.f, this.source, sink, scheduler)\n}\n\nfunction RecoverWithSink (f, source, sink, scheduler) {\n this.f = f\n this.sink = new _sink_SafeSink__WEBPACK_IMPORTED_MODULE_1__[\"default\"](sink)\n this.scheduler = scheduler\n this.disposable = source.run(this, scheduler)\n}\n\nRecoverWithSink.prototype.event = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEvent(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.end = function (t, x) {\n _source_tryEvent__WEBPACK_IMPORTED_MODULE_3__.tryEnd(t, x, this.sink)\n}\n\nRecoverWithSink.prototype.error = function (t, e) {\n var nextSink = this.sink.disable()\n\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.tryDispose(t, this.disposable, this.sink)\n this._startNext(t, e, nextSink)\n}\n\nRecoverWithSink.prototype._startNext = function (t, x, sink) {\n try {\n this.disposable = this._continue(this.f, x, sink)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nRecoverWithSink.prototype._continue = function (f, x, sink) {\n var stream = f(x)\n return stream.source.run(sink, this.scheduler)\n}\n\nRecoverWithSink.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/errors.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/filter.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/filter.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ filter: () => (/* binding */ filter),\n/* harmony export */ skipRepeats: () => (/* binding */ skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* binding */ skipRepeatsWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _fusion_Filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fusion/Filter */ \"../../../../node_modules/most/src/fusion/Filter.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Retain only items matching a predicate\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @param {Stream} stream stream to filter\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\nfunction filter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Filter__WEBPACK_IMPORTED_MODULE_2__[\"default\"].create(p, stream.source))\n}\n\n/**\n * Skip repeated events, using === to detect duplicates\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeats (stream) {\n return skipRepeatsWith(same, stream)\n}\n\n/**\n * Skip repeated events using the provided equals function to detect duplicates\n * @param {function(a:*, b:*):boolean} equals optional function to compare items\n * @param {Stream} stream stream from which to omit repeated events\n * @returns {Stream} stream without repeated events\n */\nfunction skipRepeatsWith (equals, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipRepeats(equals, stream.source))\n}\n\nfunction SkipRepeats (equals, source) {\n this.equals = equals\n this.source = source\n}\n\nSkipRepeats.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipRepeatsSink(this.equals, sink), scheduler)\n}\n\nfunction SkipRepeatsSink (equals, sink) {\n this.equals = equals\n this.sink = sink\n this.value = void 0\n this.init = true\n}\n\nSkipRepeatsSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipRepeatsSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipRepeatsSink.prototype.event = function (t, x) {\n if (this.init) {\n this.init = false\n this.value = x\n this.sink.event(t, x)\n } else if (!this.equals(this.value, x)) {\n this.value = x\n this.sink.event(t, x)\n }\n}\n\nfunction same (a, b) {\n return a === b\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/filter.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/flatMap.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/flatMap.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ flatMap: () => (/* binding */ flatMap),\n/* harmony export */ join: () => (/* binding */ join)\n/* harmony export */ });\n/* harmony import */ var _mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./mergeConcurrently */ \"../../../../node_modules/most/src/combinator/mergeConcurrently.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @param {Stream} stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\nfunction flatMap (f, stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeMapConcurrently)(f, Infinity, stream)\n}\n\n/**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @param {Stream>} stream stream of streams\n * @returns {Stream} new stream containing all events of all inner streams\n */\nfunction join (stream) {\n return (0,_mergeConcurrently__WEBPACK_IMPORTED_MODULE_0__.mergeConcurrently)(Infinity, stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/flatMap.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/limit.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/limit.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ debounce: () => (/* binding */ debounce),\n/* harmony export */ throttle: () => (/* binding */ throttle)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Limit the rate of events by suppressing events that occur too often\n * @param {Number} period time to suppress events\n * @param {Stream} stream\n * @returns {Stream}\n */\nfunction throttle (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](throttleSource(period, stream.source))\n}\n\nfunction throttleSource (period, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_2__[\"default\"] ? commuteMapThrottle(period, source)\n : source instanceof Throttle ? fuseThrottle(period, source)\n : new Throttle(period, source)\n}\n\nfunction commuteMapThrottle (period, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_2__[\"default\"].create(source.f, throttleSource(period, source.source))\n}\n\nfunction fuseThrottle (period, source) {\n return new Throttle(Math.max(period, source.period), source.source)\n}\n\nfunction Throttle (period, source) {\n this.period = period\n this.source = source\n}\n\nThrottle.prototype.run = function (sink, scheduler) {\n return this.source.run(new ThrottleSink(this.period, sink), scheduler)\n}\n\nfunction ThrottleSink (period, sink) {\n this.time = 0\n this.period = period\n this.sink = sink\n}\n\nThrottleSink.prototype.event = function (t, x) {\n if (t >= this.time) {\n this.time = t + this.period\n this.sink.event(t, x)\n }\n}\n\nThrottleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nThrottleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * @param {Number} period events occurring more frequently than this\n * will be suppressed\n * @param {Stream} stream stream to debounce\n * @returns {Stream} new debounced stream\n */\nfunction debounce (period, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Debounce(period, stream.source))\n}\n\nfunction Debounce (dt, source) {\n this.dt = dt\n this.source = source\n}\n\nDebounce.prototype.run = function (sink, scheduler) {\n return new DebounceSink(this.dt, this.source, sink, scheduler)\n}\n\nfunction DebounceSink (dt, source, sink, scheduler) {\n this.dt = dt\n this.sink = sink\n this.scheduler = scheduler\n this.value = void 0\n this.timer = null\n this.disposable = source.run(this, scheduler)\n}\n\nDebounceSink.prototype.event = function (t, x) {\n this._clearTimer()\n this.value = x\n this.timer = this.scheduler.delay(this.dt, new DebounceTask(this, x))\n}\n\nDebounceSink.prototype._event = function (t, x) {\n this._clearTimer()\n this.sink.event(t, x)\n}\n\nDebounceSink.prototype.end = function (t, x) {\n if (this._clearTimer()) {\n this.sink.event(t, this.value)\n this.value = void 0\n }\n this.sink.end(t, x)\n}\n\nDebounceSink.prototype.error = function (t, x) {\n this._clearTimer()\n this.sink.error(t, x)\n}\n\nDebounceSink.prototype.dispose = function () {\n this._clearTimer()\n return this.disposable.dispose()\n}\n\nDebounceSink.prototype._clearTimer = function () {\n if (this.timer === null) {\n return false\n }\n this.timer.dispose()\n this.timer = null\n return true\n}\n\nfunction DebounceTask (debounce, value) {\n this.debounce = debounce\n this.value = value\n}\n\nDebounceTask.prototype.run = function (t) {\n this.debounce._event(t, this.value)\n}\n\nDebounceTask.prototype.error = function (t, e) {\n this.debounce.error(t, e)\n}\n\nDebounceTask.prototype.dispose = function () {}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/limit.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/loop.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/loop.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loop: () => (/* binding */ loop)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @param {Stream} stream event stream\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\nfunction loop (stepper, seed, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Loop(stepper, seed, stream.source))\n}\n\nfunction Loop (stepper, seed, source) {\n this.step = stepper\n this.seed = seed\n this.source = source\n}\n\nLoop.prototype.run = function (sink, scheduler) {\n return this.source.run(new LoopSink(this.step, this.seed, sink), scheduler)\n}\n\nfunction LoopSink (stepper, seed, sink) {\n this.step = stepper\n this.seed = seed\n this.sink = sink\n}\n\nLoopSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLoopSink.prototype.event = function (t, x) {\n var result = this.step(this.seed, x)\n this.seed = result.seed\n this.sink.event(t, result.value)\n}\n\nLoopSink.prototype.end = function (t) {\n this.sink.end(t, this.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/loop.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/merge.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/merge.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ merge: () => (/* binding */ merge),\n/* harmony export */ mergeArray: () => (/* binding */ mergeArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\nvar copy = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.copy\nvar reduce = _most_prelude__WEBPACK_IMPORTED_MODULE_5__.reduce\n\n/**\n * @returns {Stream} stream containing events from all streams in the argument\n * list in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction merge (/* ...streams */) {\n return mergeArray(copy(arguments))\n}\n\n/**\n * @param {Array} streams array of stream to merge\n * @returns {Stream} stream containing events from all input observables\n * in time order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\nfunction mergeArray (streams) {\n var l = streams.length\n return l === 0 ? (0,_source_core__WEBPACK_IMPORTED_MODULE_3__.empty)()\n : l === 1 ? streams[0]\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](mergeSources(streams))\n}\n\n/**\n * This implements fusion/flattening for merge. It will\n * fuse adjacent merge operations. For example:\n * - a.merge(b).merge(c) effectively becomes merge(a, b, c)\n * - merge(a, merge(b, c)) effectively becomes merge(a, b, c)\n * It does this by concatenating the sources arrays of\n * any nested Merge sources, in effect \"flattening\" nested\n * merge operations into a single merge.\n */\nfunction mergeSources (streams) {\n return new Merge(reduce(appendSources, [], streams))\n}\n\nfunction appendSources (sources, stream) {\n var source = stream.source\n return source instanceof Merge\n ? sources.concat(source.sources)\n : sources.concat(source)\n}\n\nfunction Merge (sources) {\n this.sources = sources\n}\n\nMerge.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n\n var mergeSink = new MergeSink(disposables, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_2__[\"default\"](i, mergeSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.all(disposables)\n}\n\nfunction MergeSink (disposables, sinks, sink) {\n this.sink = sink\n this.disposables = disposables\n this.activeCount = sinks.length\n}\n\nMergeSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nMergeSink.prototype.event = function (t, indexValue) {\n this.sink.event(t, indexValue.value)\n}\n\nMergeSink.prototype.end = function (t, indexedValue) {\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_4__.tryDispose(t, this.disposables[indexedValue.index], this.sink)\n if (--this.activeCount === 0) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/merge.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/mergeConcurrently.js": -/*!*************************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/mergeConcurrently.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mergeConcurrently: () => (/* binding */ mergeConcurrently),\n/* harmony export */ mergeMapConcurrently: () => (/* binding */ mergeMapConcurrently)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _LinkedList__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../LinkedList */ \"../../../../node_modules/most/src/LinkedList.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction mergeConcurrently (concurrency, stream) {\n return mergeMapConcurrently(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, concurrency, stream)\n}\n\nfunction mergeMapConcurrently (f, concurrency, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new MergeConcurrently(f, concurrency, stream.source))\n}\n\nfunction MergeConcurrently (f, concurrency, source) {\n this.f = f\n this.concurrency = concurrency\n this.source = source\n}\n\nMergeConcurrently.prototype.run = function (sink, scheduler) {\n return new Outer(this.f, this.concurrency, this.source, sink, scheduler)\n}\n\nfunction Outer (f, concurrency, source, sink, scheduler) {\n this.f = f\n this.concurrency = concurrency\n this.sink = sink\n this.scheduler = scheduler\n this.pending = []\n this.current = new _LinkedList__WEBPACK_IMPORTED_MODULE_2__[\"default\"]()\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.once(source.run(this, scheduler))\n this.active = true\n}\n\nOuter.prototype.event = function (t, x) {\n this._addInner(t, x)\n}\n\nOuter.prototype._addInner = function (t, x) {\n if (this.current.length < this.concurrency) {\n this._startInner(t, x)\n } else {\n this.pending.push(x)\n }\n}\n\nOuter.prototype._startInner = function (t, x) {\n try {\n this._initInner(t, x)\n } catch (e) {\n this.error(t, e)\n }\n}\n\nOuter.prototype._initInner = function (t, x) {\n var innerSink = new Inner(t, this, this.sink)\n innerSink.disposable = mapAndRun(this.f, x, innerSink, this.scheduler)\n this.current.add(innerSink)\n}\n\nfunction mapAndRun (f, x, sink, scheduler) {\n return f(x).source.run(sink, scheduler)\n}\n\nOuter.prototype.end = function (t, x) {\n this.active = false\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n this._checkEnd(t, x)\n}\n\nOuter.prototype.error = function (t, e) {\n this.active = false\n this.sink.error(t, e)\n}\n\nOuter.prototype.dispose = function () {\n this.active = false\n this.pending.length = 0\n return Promise.all([this.disposable.dispose(), this.current.dispose()])\n}\n\nOuter.prototype._endInner = function (t, x, inner) {\n this.current.remove(inner)\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, inner, this)\n\n if (this.pending.length === 0) {\n this._checkEnd(t, x)\n } else {\n this._startInner(t, this.pending.shift())\n }\n}\n\nOuter.prototype._checkEnd = function (t, x) {\n if (!this.active && this.current.isEmpty()) {\n this.sink.end(t, x)\n }\n}\n\nfunction Inner (time, outer, sink) {\n this.prev = this.next = null\n this.time = time\n this.outer = outer\n this.sink = sink\n this.disposable = void 0\n}\n\nInner.prototype.event = function (t, x) {\n this.sink.event(Math.max(t, this.time), x)\n}\n\nInner.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.time), x, this)\n}\n\nInner.prototype.error = function (t, e) {\n this.outer.error(Math.max(t, this.time), e)\n}\n\nInner.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/mergeConcurrently.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/observe.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/observe.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ drain: () => (/* binding */ drain),\n/* harmony export */ observe: () => (/* binding */ observe)\n/* harmony export */ });\n/* harmony import */ var _runSource__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../runSource */ \"../../../../node_modules/most/src/runSource.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Observe all the event values in the stream in time order. The\n * provided function `f` will be called for each event value\n * @param {function(x:T):*} f function to call with each event value\n * @param {Stream} stream stream to observe\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction observe (f, stream) {\n return drain((0,_transform__WEBPACK_IMPORTED_MODULE_1__.tap)(f, stream))\n}\n\n/**\n * \"Run\" a stream by creating demand and consuming all events\n * @param {Stream} stream stream to drain\n * @return {Promise} promise that fulfills after the stream ends without\n * an error, or rejects if the stream ends with an error.\n */\nfunction drain (stream) {\n return (0,_runSource__WEBPACK_IMPORTED_MODULE_0__.withDefaultScheduler)(stream.source)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/observe.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/promises.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/promises.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ awaitPromises: () => (/* binding */ awaitPromises),\n/* harmony export */ fromPromise: () => (/* binding */ fromPromise)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fatalError */ \"../../../../node_modules/most/src/fatalError.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream containing only the promise's fulfillment\n * value at the time it fulfills.\n * @param {Promise} p promise\n * @return {Stream} stream containing promise's fulfillment value.\n * If the promise rejects, the stream will error\n */\nfunction fromPromise (p) {\n return awaitPromises((0,_source_core__WEBPACK_IMPORTED_MODULE_2__.of)(p))\n}\n\n/**\n * Turn a Stream> into Stream by awaiting each promise.\n * Event order is preserved.\n * @param {Stream>} stream\n * @return {Stream} stream of fulfillment values. The stream will\n * error if any promise rejects.\n */\nfunction awaitPromises (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Await(stream.source))\n}\n\nfunction Await (source) {\n this.source = source\n}\n\nAwait.prototype.run = function (sink, scheduler) {\n return new AwaitSink(this.source, sink, scheduler)\n}\n\nfunction AwaitSink (source, sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.queue = Promise.resolve()\n this.disposable = source.run(this, scheduler)\n this.active = true\n var self = this\n\n // Pre-create closures, to avoid creating them per event\n this._eventBound = function (x) {\n if (!self.active) return\n self.sink.event(self.scheduler.now(), x)\n }\n\n this._endBound = function (x) {\n if (!self.active) return\n self.sink.end(self.scheduler.now(), x)\n }\n\n this._errorBound = function (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n}\n\nAwaitSink.prototype.dispose = function () {\n this.active = false\n return this.disposable.dispose()\n}\n\nAwaitSink.prototype.event = function (t, promise) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._event(promise)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.end = function (t, x) {\n var self = this\n this.queue = this.queue.then(function () {\n return self._end(x)\n }).catch(this._errorBound)\n}\n\nAwaitSink.prototype.error = function (t, e) {\n var self = this\n // Don't resolve error values, propagate directly\n this.queue = this.queue.then(function () {\n return self._errorBound(e)\n }).catch(_fatalError__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nAwaitSink.prototype._event = function (promise) {\n return promise.then(this._eventBound)\n}\n\nAwaitSink.prototype._end = function (x) {\n return Promise.resolve(x).then(this._endBound)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/promises.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/sample.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/sample.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sample: () => (/* binding */ sample),\n/* harmony export */ sampleArray: () => (/* binding */ sampleArray),\n/* harmony export */ sampleWith: () => (/* binding */ sampleWith)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../invoke */ \"../../../../node_modules/most/src/invoke.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * When an event arrives on sampler, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @param {Stream} sampler streams will be sampled whenever an event arrives\n * on sampler\n * @returns {Stream} stream of sampled and transformed values\n */\nfunction sample (f, sampler /*, ...streams */) {\n return sampleArray(f, sampler, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.drop(2, arguments))\n}\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * stream's latest value will be propagated\n * @param {Stream} stream stream of values\n * @returns {Stream} sampled stream of values\n */\nfunction sampleWith (sampler, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.id, sampler.source, [stream.source]))\n}\n\nfunction sampleArray (f, sampler, streams) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Sampler(f, sampler.source, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Sampler (f, sampler, sources) {\n this.f = f\n this.sampler = sampler\n this.sources = sources\n}\n\nSampler.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l + 1)\n var sinks = new Array(l)\n\n var sampleSink = new SampleSink(this.f, sinks, sink)\n\n for (var hold, i = 0; i < l; ++i) {\n hold = sinks[i] = new Hold(sampleSink)\n disposables[i] = this.sources[i].run(hold, scheduler)\n }\n\n disposables[i] = this.sampler.run(sampleSink, scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all(disposables)\n}\n\nfunction Hold (sink) {\n this.sink = sink\n this.hasValue = false\n}\n\nHold.prototype.event = function (t, x) {\n this.value = x\n this.hasValue = true\n this.sink._notify(this)\n}\n\nHold.prototype.end = function () {}\nHold.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction SampleSink (f, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.active = false\n}\n\nSampleSink.prototype._notify = function () {\n if (!this.active) {\n this.active = this.sinks.every(hasValue)\n }\n}\n\nSampleSink.prototype.event = function (t) {\n if (this.active) {\n this.sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(this.f, _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map(getValue, this.sinks)))\n }\n}\n\nSampleSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSampleSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nfunction hasValue (hold) {\n return hold.hasValue\n}\n\nfunction getValue (hold) {\n return hold.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/sample.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/slice.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/slice.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ skip: () => (/* binding */ skip),\n/* harmony export */ skipAfter: () => (/* binding */ skipAfter),\n/* harmony export */ skipWhile: () => (/* binding */ skipWhile),\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ take: () => (/* binding */ take),\n/* harmony export */ takeWhile: () => (/* binding */ takeWhile)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../node_modules/most/src/fusion/Map.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream containing only up to the first n items from stream\n */\nfunction take (n, stream) {\n return slice(0, n, stream)\n}\n\n/**\n * @param {number} n\n * @param {Stream} stream\n * @returns {Stream} new stream with the first n items removed\n */\nfunction skip (n, stream) {\n return slice(n, Infinity, stream)\n}\n\n/**\n * Slice a stream by index. Negative start/end indexes are not supported\n * @param {number} start\n * @param {number} end\n * @param {Stream} stream\n * @returns {Stream} stream containing items where start <= index < end\n */\nfunction slice (start, end, stream) {\n return end <= start ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n : new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sliceSource(start, end, stream.source))\n}\n\nfunction sliceSource (start, end, source) {\n return source instanceof _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"] ? commuteMapSlice(start, end, source)\n : source instanceof Slice ? fuseSlice(start, end, source)\n : new Slice(start, end, source)\n}\n\nfunction commuteMapSlice (start, end, source) {\n return _fusion_Map__WEBPACK_IMPORTED_MODULE_4__[\"default\"].create(source.f, sliceSource(start, end, source.source))\n}\n\nfunction fuseSlice (start, end, source) {\n start += source.min\n end = Math.min(end + source.min, source.max)\n return new Slice(start, end, source.source)\n}\n\nfunction Slice (min, max, source) {\n this.source = source\n this.min = min\n this.max = max\n}\n\nSlice.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var sliceSink = new SliceSink(this.min, this.max - this.min, sink, disposable)\n\n disposable.setDisposable(this.source.run(sliceSink, scheduler))\n return disposable\n}\n\nfunction SliceSink (skip, take, sink, disposable) {\n this.sink = sink\n this.skip = skip\n this.take = take\n this.disposable = disposable\n}\n\nSliceSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSliceSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSliceSink.prototype.event = function (t, x) {\n /* eslint complexity: [1, 4] */\n if (this.skip > 0) {\n this.skip -= 1\n return\n }\n\n if (this.take === 0) {\n return\n }\n\n this.take -= 1\n this.sink.event(t, x)\n if (this.take === 0) {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction takeWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new TakeWhile(p, stream.source))\n}\n\nfunction TakeWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nTakeWhile.prototype.run = function (sink, scheduler) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_3__.settable()\n var takeWhileSink = new TakeWhileSink(this.p, sink, disposable)\n\n disposable.setDisposable(this.source.run(takeWhileSink, scheduler))\n return disposable\n}\n\nfunction TakeWhileSink (p, sink, disposable) {\n this.p = p\n this.sink = sink\n this.active = true\n this.disposable = disposable\n}\n\nTakeWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTakeWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTakeWhileSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n var p = this.p\n this.active = p(x)\n if (this.active) {\n this.sink.event(t, x)\n } else {\n this.disposable.dispose()\n this.sink.end(t, x)\n }\n}\n\nfunction skipWhile (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipWhile(p, stream.source))\n}\n\nfunction SkipWhile (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipWhile.prototype.run = function (sink, scheduler) {\n return this.source.run(new SkipWhileSink(this.p, sink), scheduler)\n}\n\nfunction SkipWhileSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = true\n}\n\nSkipWhileSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipWhileSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nSkipWhileSink.prototype.event = function (t, x) {\n if (this.skipping) {\n var p = this.p\n this.skipping = p(x)\n if (this.skipping) {\n return\n }\n }\n\n this.sink.event(t, x)\n}\n\nfunction skipAfter (p, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new SkipAfter(p, stream.source))\n}\n\nfunction SkipAfter (p, source) {\n this.p = p\n this.source = source\n}\n\nSkipAfter.prototype.run = function run (sink, scheduler) {\n return this.source.run(new SkipAfterSink(this.p, sink), scheduler)\n}\n\nfunction SkipAfterSink (p, sink) {\n this.p = p\n this.sink = sink\n this.skipping = false\n}\n\nSkipAfterSink.prototype.event = function event (t, x) {\n if (this.skipping) {\n return\n }\n\n var p = this.p\n this.skipping = p(x)\n this.sink.event(t, x)\n\n if (this.skipping) {\n this.sink.end(t, x)\n }\n}\n\nSkipAfterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nSkipAfterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/slice.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/switch.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/switch.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"switch\": () => (/* binding */ switchLatest),\n/* harmony export */ switchLatest: () => (/* binding */ switchLatest)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @param {Stream} stream of streams on which to switch\n * @returns {Stream} switching stream\n */\nfunction switchLatest (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Switch(stream.source))\n}\n\n\n\nfunction Switch (source) {\n this.source = source\n}\n\nSwitch.prototype.run = function (sink, scheduler) {\n var switchSink = new SwitchSink(sink, scheduler)\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.all([switchSink, this.source.run(switchSink, scheduler)])\n}\n\nfunction SwitchSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n this.current = null\n this.ended = false\n}\n\nSwitchSink.prototype.event = function (t, stream) {\n this._disposeCurrent(t) // TODO: capture the result of this dispose\n this.current = new Segment(t, Infinity, this, this.sink)\n this.current.disposable = stream.source.run(this.current, this.scheduler)\n}\n\nSwitchSink.prototype.end = function (t, x) {\n this.ended = true\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype.error = function (t, e) {\n this.ended = true\n this.sink.error(t, e)\n}\n\nSwitchSink.prototype.dispose = function () {\n return this._disposeCurrent(this.scheduler.now())\n}\n\nSwitchSink.prototype._disposeCurrent = function (t) {\n if (this.current !== null) {\n return this.current._dispose(t)\n }\n}\n\nSwitchSink.prototype._disposeInner = function (t, inner) {\n inner._dispose(t) // TODO: capture the result of this dispose\n if (inner === this.current) {\n this.current = null\n }\n}\n\nSwitchSink.prototype._checkEnd = function (t, x) {\n if (this.ended && this.current === null) {\n this.sink.end(t, x)\n }\n}\n\nSwitchSink.prototype._endInner = function (t, x, inner) {\n this._disposeInner(t, inner)\n this._checkEnd(t, x)\n}\n\nSwitchSink.prototype._errorInner = function (t, e, inner) {\n this._disposeInner(t, inner)\n this.sink.error(t, e)\n}\n\nfunction Segment (min, max, outer, sink) {\n this.min = min\n this.max = max\n this.outer = outer\n this.sink = sink\n this.disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nSegment.prototype.event = function (t, x) {\n if (t < this.max) {\n this.sink.event(Math.max(t, this.min), x)\n }\n}\n\nSegment.prototype.end = function (t, x) {\n this.outer._endInner(Math.max(t, this.min), x, this)\n}\n\nSegment.prototype.error = function (t, e) {\n this.outer._errorInner(Math.max(t, this.min), e, this)\n}\n\nSegment.prototype._dispose = function (t) {\n this.max = t\n _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.tryDispose(t, this.disposable, this.sink)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/switch.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/thru.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/thru.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ thru: () => (/* binding */ thru)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2017 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction thru (f, stream) {\n return f(stream)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/thru.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/timeslice.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/timeslice.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ during: () => (/* binding */ during),\n/* harmony export */ skipUntil: () => (/* binding */ skipUntil),\n/* harmony export */ takeUntil: () => (/* binding */ takeUntil)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../combinator/flatMap */ \"../../../../node_modules/most/src/combinator/flatMap.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction takeUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Until(signal.source, stream.source))\n}\n\nfunction skipUntil (signal, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Since(signal.source, stream.source))\n}\n\nfunction during (timeWindow, stream) {\n return takeUntil((0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_3__.join)(timeWindow), skipUntil(timeWindow, stream))\n}\n\nfunction Until (maxSignal, source) {\n this.maxSignal = maxSignal\n this.source = source\n}\n\nUntil.prototype.run = function (sink, scheduler) {\n var min = new Bound(-Infinity, sink)\n var max = new UpperBound(this.maxSignal, sink, scheduler)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Since (minSignal, source) {\n this.minSignal = minSignal\n this.source = source\n}\n\nSince.prototype.run = function (sink, scheduler) {\n var min = new LowerBound(this.minSignal, sink, scheduler)\n var max = new Bound(Infinity, sink)\n var disposable = this.source.run(new TimeWindowSink(min, max, sink), scheduler)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_2__.all([min, max, disposable])\n}\n\nfunction Bound (value, sink) {\n this.value = value\n this.sink = sink\n}\n\nBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nBound.prototype.event = noop\nBound.prototype.end = noop\nBound.prototype.dispose = noop\n\nfunction TimeWindowSink (min, max, sink) {\n this.min = min\n this.max = max\n this.sink = sink\n}\n\nTimeWindowSink.prototype.event = function (t, x) {\n if (t >= this.min.value && t < this.max.value) {\n this.sink.event(t, x)\n }\n}\n\nTimeWindowSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\nTimeWindowSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\n\nfunction LowerBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nLowerBound.prototype.event = function (t /*, x */) {\n if (t < this.value) {\n this.value = t\n }\n}\n\nLowerBound.prototype.end = noop\nLowerBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nLowerBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction UpperBound (signal, sink, scheduler) {\n this.value = Infinity\n this.sink = sink\n this.disposable = signal.run(this, scheduler)\n}\n\nUpperBound.prototype.event = function (t, x) {\n if (t < this.value) {\n this.value = t\n this.sink.end(t, x)\n }\n}\n\nUpperBound.prototype.end = noop\nUpperBound.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nUpperBound.prototype.dispose = function () {\n return this.disposable.dispose()\n}\n\nfunction noop () {}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/timeslice.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/timestamp.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/timestamp.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ timestamp: () => (/* binding */ timestamp)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction timestamp (stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Timestamp(stream.source))\n}\n\nfunction Timestamp (source) {\n this.source = source\n}\n\nTimestamp.prototype.run = function (sink, scheduler) {\n return this.source.run(new TimestampSink(sink), scheduler)\n}\n\nfunction TimestampSink (sink) {\n this.sink = sink\n}\n\nTimestampSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.end\nTimestampSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_1__[\"default\"].prototype.error\n\nTimestampSink.prototype.event = function (t, x) {\n this.sink.event(t, { time: t, value: x })\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/timestamp.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/transduce.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/transduce.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ transduce: () => (/* binding */ transduce)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Transform a stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @param {Stream} stream stream whose events will be passed through the\n * transducer\n * @return {Stream} stream of events transformed by the transducer\n */\nfunction transduce (transducer, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Transduce(transducer, stream.source))\n}\n\nfunction Transduce (transducer, source) {\n this.transducer = transducer\n this.source = source\n}\n\nTransduce.prototype.run = function (sink, scheduler) {\n var xf = this.transducer(new Transformer(sink))\n return this.source.run(new TransduceSink(getTxHandler(xf), sink), scheduler)\n}\n\nfunction TransduceSink (adapter, sink) {\n this.xf = adapter\n this.sink = sink\n}\n\nTransduceSink.prototype.event = function (t, x) {\n var next = this.xf.step(t, x)\n\n return this.xf.isReduced(next)\n ? this.sink.end(t, this.xf.getResult(next))\n : next\n}\n\nTransduceSink.prototype.end = function (t, x) {\n return this.xf.result(x)\n}\n\nTransduceSink.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\nfunction Transformer (sink) {\n this.time = -Infinity\n this.sink = sink\n}\n\nTransformer.prototype['@@transducer/init'] = Transformer.prototype.init = function () {}\n\nTransformer.prototype['@@transducer/step'] = Transformer.prototype.step = function (t, x) {\n if (!isNaN(t)) {\n this.time = Math.max(t, this.time)\n }\n return this.sink.event(this.time, x)\n}\n\nTransformer.prototype['@@transducer/result'] = Transformer.prototype.result = function (x) {\n return this.sink.end(this.time, x)\n}\n\n/**\n* Given an object supporting the new or legacy transducer protocol,\n* create an adapter for it.\n* @param {object} tx transform\n* @returns {TxAdapter|LegacyTxAdapter}\n*/\nfunction getTxHandler (tx) {\n return typeof tx['@@transducer/step'] === 'function'\n ? new TxAdapter(tx)\n : new LegacyTxAdapter(tx)\n}\n\n/**\n* Adapter for new official transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction TxAdapter (tx) {\n this.tx = tx\n}\n\nTxAdapter.prototype.step = function (t, x) {\n return this.tx['@@transducer/step'](t, x)\n}\nTxAdapter.prototype.result = function (x) {\n return this.tx['@@transducer/result'](x)\n}\nTxAdapter.prototype.isReduced = function (x) {\n return x != null && x['@@transducer/reduced']\n}\nTxAdapter.prototype.getResult = function (x) {\n return x['@@transducer/value']\n}\n\n/**\n* Adapter for older transducer protocol\n* @param {object} tx transform\n* @constructor\n*/\nfunction LegacyTxAdapter (tx) {\n this.tx = tx\n}\n\nLegacyTxAdapter.prototype.step = function (t, x) {\n return this.tx.step(t, x)\n}\nLegacyTxAdapter.prototype.result = function (x) {\n return this.tx.result(x)\n}\nLegacyTxAdapter.prototype.isReduced = function (x) {\n return x != null && x.__transducers_reduced__\n}\nLegacyTxAdapter.prototype.getResult = function (x) {\n return x.value\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/transduce.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/transform.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/transform.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ constant: () => (/* binding */ constant),\n/* harmony export */ map: () => (/* binding */ map),\n/* harmony export */ tap: () => (/* binding */ tap)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _fusion_Map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../fusion/Map */ \"../../../../node_modules/most/src/fusion/Map.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @param {Stream} stream stream to map\n * @returns {Stream} stream containing items transformed by f\n */\nfunction map (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](_fusion_Map__WEBPACK_IMPORTED_MODULE_1__[\"default\"].create(f, stream.source))\n}\n\n/**\n* Replace each value in the stream with x\n* @param {*} x\n* @param {Stream} stream\n* @returns {Stream} stream containing items replaced with x\n*/\nfunction constant (x, stream) {\n return map(function () {\n return x\n }, stream)\n}\n\n/**\n* Perform a side effect for each item in the stream\n* @param {function(x:*):*} f side effect to execute for each item. The\n* return value will be discarded.\n* @param {Stream} stream stream to tap\n* @returns {Stream} new stream containing the same items as this stream\n*/\nfunction tap (f, stream) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Tap(f, stream.source))\n}\n\nfunction Tap (f, source) {\n this.source = source\n this.f = f\n}\n\nTap.prototype.run = function (sink, scheduler) {\n return this.source.run(new TapSink(this.f, sink), scheduler)\n}\n\nfunction TapSink (f, sink) {\n this.sink = sink\n this.f = f\n}\n\nTapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.end\nTapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_2__[\"default\"].prototype.error\n\nTapSink.prototype.event = function (t, x) {\n var f = this.f\n f(x)\n this.sink.event(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/transform.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/combinator/zip.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/most/src/combinator/zip.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ zip: () => (/* binding */ zip),\n/* harmony export */ zipArray: () => (/* binding */ zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _transform__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../sink/IndexSink */ \"../../../../node_modules/most/src/sink/IndexSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _invoke__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../invoke */ \"../../../../node_modules/most/src/invoke.js\");\n/* harmony import */ var _Queue__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../Queue */ \"../../../../node_modules/most/src/Queue.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.map\nvar tail = _most_prelude__WEBPACK_IMPORTED_MODULE_6__.tail\n\n/**\n * Combine streams pairwise (or tuple-wise) by index by applying f to values\n * at corresponding indices. The returned stream ends when any of the input\n * streams ends.\n * @param {function} f function to combine values\n * @returns {Stream} new stream with items at corresponding indices combined\n * using f\n */\nfunction zip (f /*, ...streams */) {\n return zipArray(f, tail(arguments))\n}\n\n/**\n* Combine streams pairwise (or tuple-wise) by index by applying f to values\n* at corresponding indices. The returned stream ends when any of the input\n* streams ends.\n* @param {function} f function to combine values\n* @param {[Stream]} streams streams to zip using f\n* @returns {Stream} new stream with items at corresponding indices combined\n* using f\n*/\nfunction zipArray (f, streams) {\n return streams.length === 0 ? _source_core__WEBPACK_IMPORTED_MODULE_2__.empty()\n: streams.length === 1 ? _transform__WEBPACK_IMPORTED_MODULE_1__.map(f, streams[0])\n: new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Zip(f, map(getSource, streams)))\n}\n\nfunction getSource (stream) {\n return stream.source\n}\n\nfunction Zip (f, sources) {\n this.f = f\n this.sources = sources\n}\n\nZip.prototype.run = function (sink, scheduler) {\n var l = this.sources.length\n var disposables = new Array(l)\n var sinks = new Array(l)\n var buffers = new Array(l)\n\n var zipSink = new ZipSink(this.f, buffers, sinks, sink)\n\n for (var indexSink, i = 0; i < l; ++i) {\n buffers[i] = new _Queue__WEBPACK_IMPORTED_MODULE_8__[\"default\"]()\n indexSink = sinks[i] = new _sink_IndexSink__WEBPACK_IMPORTED_MODULE_4__[\"default\"](i, zipSink)\n disposables[i] = this.sources[i].run(indexSink, scheduler)\n }\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_5__.all(disposables)\n}\n\nfunction ZipSink (f, buffers, sinks, sink) {\n this.f = f\n this.sinks = sinks\n this.sink = sink\n this.buffers = buffers\n}\n\nZipSink.prototype.event = function (t, indexedValue) { // eslint-disable-line complexity\n var buffers = this.buffers\n var buffer = buffers[indexedValue.index]\n\n buffer.push(indexedValue.value)\n\n if (buffer.length() === 1) {\n if (!ready(this.buffers)) {\n return\n }\n\n emitZipped(this.f, t, buffers, this.sink)\n\n if (ended(this.buffers, this.sinks)) {\n this.sink.end(t, void 0)\n }\n }\n}\n\nZipSink.prototype.end = function (t, indexedValue) {\n var buffer = this.buffers[indexedValue.index]\n if (buffer.isEmpty()) {\n this.sink.end(t, indexedValue.value)\n }\n}\n\nZipSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_3__[\"default\"].prototype.error\n\nfunction emitZipped (f, t, buffers, sink) {\n sink.event(t, (0,_invoke__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(f, map(head, buffers)))\n}\n\nfunction head (buffer) {\n return buffer.shift()\n}\n\nfunction ended (buffers, sinks) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty() && !sinks[i].active) {\n return true\n }\n }\n return false\n}\n\nfunction ready (buffers) {\n for (var i = 0, l = buffers.length; i < l; ++i) {\n if (buffers[i].isEmpty()) {\n return false\n }\n }\n return true\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/combinator/zip.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/disposable/Disposable.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/most/src/disposable/Disposable.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Disposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * Create a new Disposable which will dispose its underlying resource.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @constructor\n */\nfunction Disposable (dispose, data) {\n this._dispose = dispose\n this._data = data\n}\n\nDisposable.prototype.dispose = function () {\n return this._dispose(this._data)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/disposable/Disposable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/disposable/SettableDisposable.js": -/*!**************************************************************************!*\ - !*** ../../../../node_modules/most/src/disposable/SettableDisposable.js ***! - \**************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SettableDisposable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SettableDisposable () {\n this.disposable = void 0\n this.disposed = false\n this._resolve = void 0\n\n var self = this\n this.result = new Promise(function (resolve) {\n self._resolve = resolve\n })\n}\n\nSettableDisposable.prototype.setDisposable = function (disposable) {\n if (this.disposable !== void 0) {\n throw new Error('setDisposable called more than once')\n }\n\n this.disposable = disposable\n\n if (this.disposed) {\n this._resolve(disposable.dispose())\n }\n}\n\nSettableDisposable.prototype.dispose = function () {\n if (this.disposed) {\n return this.result\n }\n\n this.disposed = true\n\n if (this.disposable !== void 0) {\n this.result = this.disposable.dispose()\n }\n\n return this.result\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/disposable/SettableDisposable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/disposable/dispose.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/disposable/dispose.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ all: () => (/* binding */ all),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ once: () => (/* binding */ once),\n/* harmony export */ promised: () => (/* binding */ promised),\n/* harmony export */ settable: () => (/* binding */ settable),\n/* harmony export */ tryDispose: () => (/* binding */ tryDispose)\n/* harmony export */ });\n/* harmony import */ var _Disposable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Disposable */ \"../../../../node_modules/most/src/disposable/Disposable.js\");\n/* harmony import */ var _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SettableDisposable */ \"../../../../node_modules/most/src/disposable/SettableDisposable.js\");\n/* harmony import */ var _Promise__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../Promise */ \"../../../../node_modules/most/src/Promise.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar map = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.map\nvar identity = _most_prelude__WEBPACK_IMPORTED_MODULE_3__.id\n\n/**\n * Call disposable.dispose. If it returns a promise, catch promise\n * error and forward it through the provided sink.\n * @param {number} t time\n * @param {{dispose: function}} disposable\n * @param {{error: function}} sink\n * @return {*} result of disposable.dispose\n */\nfunction tryDispose (t, disposable, sink) {\n var result = disposeSafely(disposable)\n return (0,_Promise__WEBPACK_IMPORTED_MODULE_2__.isPromise)(result)\n ? result.catch(function (e) {\n sink.error(t, e)\n })\n : result\n}\n\n/**\n * Create a new Disposable which will dispose its underlying resource\n * at most once.\n * @param {function} dispose function\n * @param {*?} data any data to be passed to disposer function\n * @return {Disposable}\n */\nfunction create (dispose, data) {\n return once(new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](dispose, data))\n}\n\n/**\n * Create a noop disposable. Can be used to satisfy a Disposable\n * requirement when no actual resource needs to be disposed.\n * @return {Disposable|exports|module.exports}\n */\nfunction empty () {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](identity, void 0)\n}\n\n/**\n * Create a disposable that will dispose all input disposables in parallel.\n * @param {Array} disposables\n * @return {Disposable}\n */\nfunction all (disposables) {\n return create(disposeAll, disposables)\n}\n\nfunction disposeAll (disposables) {\n return Promise.all(map(disposeSafely, disposables))\n}\n\nfunction disposeSafely (disposable) {\n try {\n return disposable.dispose()\n } catch (e) {\n return Promise.reject(e)\n }\n}\n\n/**\n * Create a disposable from a promise for another disposable\n * @param {Promise} disposablePromise\n * @return {Disposable}\n */\nfunction promised (disposablePromise) {\n return create(disposePromise, disposablePromise)\n}\n\nfunction disposePromise (disposablePromise) {\n return disposablePromise.then(disposeOne)\n}\n\nfunction disposeOne (disposable) {\n return disposable.dispose()\n}\n\n/**\n * Create a disposable proxy that allows its underlying disposable to\n * be set later.\n * @return {SettableDisposable}\n */\nfunction settable () {\n return new _SettableDisposable__WEBPACK_IMPORTED_MODULE_1__[\"default\"]()\n}\n\n/**\n * Wrap an existing disposable (which may not already have been once()d)\n * so that it will only dispose its underlying resource at most once.\n * @param {{ dispose: function() }} disposable\n * @return {Disposable} wrapped disposable\n */\nfunction once (disposable) {\n return new _Disposable__WEBPACK_IMPORTED_MODULE_0__[\"default\"](disposeMemoized, memoized(disposable))\n}\n\nfunction disposeMemoized (memoized) {\n if (!memoized.disposed) {\n memoized.disposed = true\n memoized.value = disposeSafely(memoized.disposable)\n memoized.disposable = void 0\n }\n\n return memoized.value\n}\n\nfunction memoized (disposable) {\n return { disposed: false, disposable: disposable, value: void 0 }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/disposable/dispose.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fatalError.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/most/src/fatalError.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ fatalError)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction fatalError (e) {\n setTimeout(function () {\n throw e\n }, 0)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fatalError.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fusion/Filter.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/most/src/fusion/Filter.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Filter)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Filter (p, source) {\n this.p = p\n this.source = source\n}\n\n/**\n * Create a filtered source, fusing adjacent filter.filter if possible\n * @param {function(x:*):boolean} p filtering predicate\n * @param {{run:function}} source source to filter\n * @returns {Filter} filtered source\n */\nFilter.create = function createFilter (p, source) {\n if (source instanceof Filter) {\n return new Filter(and(source.p, p), source.source)\n }\n\n return new Filter(p, source)\n}\n\nFilter.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterSink(this.p, sink), scheduler)\n}\n\nfunction FilterSink (p, sink) {\n this.p = p\n this.sink = sink\n}\n\nFilterSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nFilterSink.prototype.event = function (t, x) {\n var p = this.p\n p(x) && this.sink.event(t, x)\n}\n\nfunction and (p, q) {\n return function (x) {\n return p(x) && q(x)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fusion/Filter.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fusion/FilterMap.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/fusion/FilterMap.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ FilterMap)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction FilterMap (p, f, source) {\n this.p = p\n this.f = f\n this.source = source\n}\n\nFilterMap.prototype.run = function (sink, scheduler) {\n return this.source.run(new FilterMapSink(this.p, this.f, sink), scheduler)\n}\n\nfunction FilterMapSink (p, f, sink) {\n this.p = p\n this.f = f\n this.sink = sink\n}\n\nFilterMapSink.prototype.event = function (t, x) {\n var f = this.f\n var p = this.p\n p(x) && this.sink.event(t, f(x))\n}\n\nFilterMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nFilterMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fusion/FilterMap.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/fusion/Map.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/most/src/fusion/Map.js ***! - \*******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Map)\n/* harmony export */ });\n/* harmony import */ var _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/* harmony import */ var _Filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Filter */ \"../../../../node_modules/most/src/fusion/Filter.js\");\n/* harmony import */ var _FilterMap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FilterMap */ \"../../../../node_modules/most/src/fusion/FilterMap.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\nfunction Map (f, source) {\n this.f = f\n this.source = source\n}\n\n/**\n * Create a mapped source, fusing adjacent map.map, filter.map,\n * and filter.map.map if possible\n * @param {function(*):*} f mapping function\n * @param {{run:function}} source source to map\n * @returns {Map|FilterMap} mapped source, possibly fused\n */\nMap.create = function createMap (f, source) {\n if (source instanceof Map) {\n return new Map(_most_prelude__WEBPACK_IMPORTED_MODULE_3__.compose(f, source.f), source.source)\n }\n\n if (source instanceof _Filter__WEBPACK_IMPORTED_MODULE_1__[\"default\"]) {\n return new _FilterMap__WEBPACK_IMPORTED_MODULE_2__[\"default\"](source.p, f, source.source)\n }\n\n return new Map(f, source)\n}\n\nMap.prototype.run = function (sink, scheduler) { // eslint-disable-line no-extend-native\n return this.source.run(new MapSink(this.f, sink), scheduler)\n}\n\nfunction MapSink (f, sink) {\n this.f = f\n this.sink = sink\n}\n\nMapSink.prototype.end = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.end\nMapSink.prototype.error = _sink_Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\nMapSink.prototype.event = function (t, x) {\n var f = this.f\n this.sink.event(t, f(x))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/fusion/Map.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/index.js": -/*!**************************************************!*\ - !*** ../../../../node_modules/most/src/index.js ***! - \**************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PropagateTask: () => (/* reexport safe */ _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_37__[\"default\"]),\n/* harmony export */ Stream: () => (/* reexport safe */ _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]),\n/* harmony export */ ap: () => (/* reexport safe */ _combinator_applicative__WEBPACK_IMPORTED_MODULE_16__.ap),\n/* harmony export */ \"await\": () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_33__.awaitPromises),\n/* harmony export */ awaitPromises: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_33__.awaitPromises),\n/* harmony export */ chain: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.flatMap),\n/* harmony export */ combine: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_23__.combine),\n/* harmony export */ combineArray: () => (/* reexport safe */ _combinator_combine__WEBPACK_IMPORTED_MODULE_23__.combineArray),\n/* harmony export */ concat: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_14__.concat),\n/* harmony export */ concatMap: () => (/* reexport safe */ _combinator_concatMap__WEBPACK_IMPORTED_MODULE_20__.concatMap),\n/* harmony export */ constant: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_15__.constant),\n/* harmony export */ continueWith: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__.continueWith),\n/* harmony export */ debounce: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_32__.debounce),\n/* harmony export */ defaultScheduler: () => (/* reexport safe */ _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_36__[\"default\"]),\n/* harmony export */ delay: () => (/* reexport safe */ _combinator_delay__WEBPACK_IMPORTED_MODULE_30__.delay),\n/* harmony export */ distinct: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeats),\n/* harmony export */ distinctBy: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeatsWith),\n/* harmony export */ drain: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_8__.drain),\n/* harmony export */ during: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.during),\n/* harmony export */ empty: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.empty),\n/* harmony export */ filter: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.filter),\n/* harmony export */ flatMap: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.flatMap),\n/* harmony export */ flatMapEnd: () => (/* reexport safe */ _combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__.continueWith),\n/* harmony export */ flatMapError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_34__.flatMapError),\n/* harmony export */ forEach: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_8__.observe),\n/* harmony export */ from: () => (/* reexport safe */ _source_from__WEBPACK_IMPORTED_MODULE_3__.from),\n/* harmony export */ fromEvent: () => (/* reexport safe */ _source_fromEvent__WEBPACK_IMPORTED_MODULE_7__.fromEvent),\n/* harmony export */ fromPromise: () => (/* reexport safe */ _combinator_promises__WEBPACK_IMPORTED_MODULE_33__.fromPromise),\n/* harmony export */ generate: () => (/* reexport safe */ _source_generate__WEBPACK_IMPORTED_MODULE_13__.generate),\n/* harmony export */ iterate: () => (/* reexport safe */ _source_iterate__WEBPACK_IMPORTED_MODULE_12__.iterate),\n/* harmony export */ join: () => (/* reexport safe */ _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.join),\n/* harmony export */ just: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ loop: () => (/* reexport safe */ _combinator_loop__WEBPACK_IMPORTED_MODULE_9__.loop),\n/* harmony export */ map: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_15__.map),\n/* harmony export */ merge: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_22__.merge),\n/* harmony export */ mergeArray: () => (/* reexport safe */ _combinator_merge__WEBPACK_IMPORTED_MODULE_22__.mergeArray),\n/* harmony export */ mergeConcurrently: () => (/* reexport safe */ _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_21__.mergeConcurrently),\n/* harmony export */ multicast: () => (/* reexport safe */ _most_multicast__WEBPACK_IMPORTED_MODULE_35__[\"default\"]),\n/* harmony export */ never: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.never),\n/* harmony export */ observe: () => (/* reexport safe */ _combinator_observe__WEBPACK_IMPORTED_MODULE_8__.observe),\n/* harmony export */ of: () => (/* reexport safe */ _source_core__WEBPACK_IMPORTED_MODULE_2__.of),\n/* harmony export */ periodic: () => (/* reexport safe */ _source_periodic__WEBPACK_IMPORTED_MODULE_4__.periodic),\n/* harmony export */ recoverWith: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_34__.recoverWith),\n/* harmony export */ reduce: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.reduce),\n/* harmony export */ sample: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sample),\n/* harmony export */ sampleArray: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleArray),\n/* harmony export */ sampleWith: () => (/* reexport safe */ _combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleWith),\n/* harmony export */ scan: () => (/* reexport safe */ _combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.scan),\n/* harmony export */ since: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.skipUntil),\n/* harmony export */ skip: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skip),\n/* harmony export */ skipAfter: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipAfter),\n/* harmony export */ skipRepeats: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeats),\n/* harmony export */ skipRepeatsWith: () => (/* reexport safe */ _combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeatsWith),\n/* harmony export */ skipUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.skipUntil),\n/* harmony export */ skipWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipWhile),\n/* harmony export */ slice: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.slice),\n/* harmony export */ startWith: () => (/* reexport safe */ _combinator_build__WEBPACK_IMPORTED_MODULE_14__.cons),\n/* harmony export */ \"switch\": () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_26__.switchLatest),\n/* harmony export */ switchLatest: () => (/* reexport safe */ _combinator_switch__WEBPACK_IMPORTED_MODULE_26__.switchLatest),\n/* harmony export */ take: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.take),\n/* harmony export */ takeUntil: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.takeUntil),\n/* harmony export */ takeWhile: () => (/* reexport safe */ _combinator_slice__WEBPACK_IMPORTED_MODULE_28__.takeWhile),\n/* harmony export */ tap: () => (/* reexport safe */ _combinator_transform__WEBPACK_IMPORTED_MODULE_15__.tap),\n/* harmony export */ throttle: () => (/* reexport safe */ _combinator_limit__WEBPACK_IMPORTED_MODULE_32__.throttle),\n/* harmony export */ throwError: () => (/* reexport safe */ _combinator_errors__WEBPACK_IMPORTED_MODULE_34__.throwError),\n/* harmony export */ timestamp: () => (/* reexport safe */ _combinator_timestamp__WEBPACK_IMPORTED_MODULE_31__.timestamp),\n/* harmony export */ transduce: () => (/* reexport safe */ _combinator_transduce__WEBPACK_IMPORTED_MODULE_17__.transduce),\n/* harmony export */ unfold: () => (/* reexport safe */ _source_unfold__WEBPACK_IMPORTED_MODULE_11__.unfold),\n/* harmony export */ until: () => (/* reexport safe */ _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.takeUntil),\n/* harmony export */ zip: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_25__.zip),\n/* harmony export */ zipArray: () => (/* reexport safe */ _combinator_zip__WEBPACK_IMPORTED_MODULE_25__.zipArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/* harmony import */ var _source_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./source/core */ \"../../../../node_modules/most/src/source/core.js\");\n/* harmony import */ var _source_from__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./source/from */ \"../../../../node_modules/most/src/source/from.js\");\n/* harmony import */ var _source_periodic__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./source/periodic */ \"../../../../node_modules/most/src/source/periodic.js\");\n/* harmony import */ var _observable_subscribe__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./observable/subscribe */ \"../../../../node_modules/most/src/observable/subscribe.js\");\n/* harmony import */ var _combinator_thru__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./combinator/thru */ \"../../../../node_modules/most/src/combinator/thru.js\");\n/* harmony import */ var _source_fromEvent__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./source/fromEvent */ \"../../../../node_modules/most/src/source/fromEvent.js\");\n/* harmony import */ var _combinator_observe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./combinator/observe */ \"../../../../node_modules/most/src/combinator/observe.js\");\n/* harmony import */ var _combinator_loop__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./combinator/loop */ \"../../../../node_modules/most/src/combinator/loop.js\");\n/* harmony import */ var _combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./combinator/accumulate */ \"../../../../node_modules/most/src/combinator/accumulate.js\");\n/* harmony import */ var _source_unfold__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./source/unfold */ \"../../../../node_modules/most/src/source/unfold.js\");\n/* harmony import */ var _source_iterate__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./source/iterate */ \"../../../../node_modules/most/src/source/iterate.js\");\n/* harmony import */ var _source_generate__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./source/generate */ \"../../../../node_modules/most/src/source/generate.js\");\n/* harmony import */ var _combinator_build__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./combinator/build */ \"../../../../node_modules/most/src/combinator/build.js\");\n/* harmony import */ var _combinator_transform__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./combinator/transform */ \"../../../../node_modules/most/src/combinator/transform.js\");\n/* harmony import */ var _combinator_applicative__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./combinator/applicative */ \"../../../../node_modules/most/src/combinator/applicative.js\");\n/* harmony import */ var _combinator_transduce__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./combinator/transduce */ \"../../../../node_modules/most/src/combinator/transduce.js\");\n/* harmony import */ var _combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./combinator/flatMap */ \"../../../../node_modules/most/src/combinator/flatMap.js\");\n/* harmony import */ var _combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./combinator/continueWith */ \"../../../../node_modules/most/src/combinator/continueWith.js\");\n/* harmony import */ var _combinator_concatMap__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./combinator/concatMap */ \"../../../../node_modules/most/src/combinator/concatMap.js\");\n/* harmony import */ var _combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./combinator/mergeConcurrently */ \"../../../../node_modules/most/src/combinator/mergeConcurrently.js\");\n/* harmony import */ var _combinator_merge__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./combinator/merge */ \"../../../../node_modules/most/src/combinator/merge.js\");\n/* harmony import */ var _combinator_combine__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./combinator/combine */ \"../../../../node_modules/most/src/combinator/combine.js\");\n/* harmony import */ var _combinator_sample__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./combinator/sample */ \"../../../../node_modules/most/src/combinator/sample.js\");\n/* harmony import */ var _combinator_zip__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./combinator/zip */ \"../../../../node_modules/most/src/combinator/zip.js\");\n/* harmony import */ var _combinator_switch__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./combinator/switch */ \"../../../../node_modules/most/src/combinator/switch.js\");\n/* harmony import */ var _combinator_filter__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./combinator/filter */ \"../../../../node_modules/most/src/combinator/filter.js\");\n/* harmony import */ var _combinator_slice__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./combinator/slice */ \"../../../../node_modules/most/src/combinator/slice.js\");\n/* harmony import */ var _combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./combinator/timeslice */ \"../../../../node_modules/most/src/combinator/timeslice.js\");\n/* harmony import */ var _combinator_delay__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./combinator/delay */ \"../../../../node_modules/most/src/combinator/delay.js\");\n/* harmony import */ var _combinator_timestamp__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./combinator/timestamp */ \"../../../../node_modules/most/src/combinator/timestamp.js\");\n/* harmony import */ var _combinator_limit__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./combinator/limit */ \"../../../../node_modules/most/src/combinator/limit.js\");\n/* harmony import */ var _combinator_promises__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./combinator/promises */ \"../../../../node_modules/most/src/combinator/promises.js\");\n/* harmony import */ var _combinator_errors__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./combinator/errors */ \"../../../../node_modules/most/src/combinator/errors.js\");\n/* harmony import */ var _most_multicast__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @most/multicast */ \"../../../../node_modules/@most/multicast/dist/multicast.es.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/* eslint import/first: 0 */\n\n\n\n\n\n\nconst getGlobalThis = (__webpack_require__(/*! globalthis */ \"../../../../node_modules/globalthis/index.js\").getPolyfill)\nconst provideSymbolObservable = (__webpack_require__(/*! symbol-observable/ponyfill */ \"../../../../node_modules/symbol-observable/ponyfill.js\")[\"default\"])\n\nconst symbolObservable = provideSymbolObservable(getGlobalThis())\n\n/**\n * Core stream type\n * @type {Stream}\n */\n\n\n// Add of and empty to constructor for fantasy-land compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].of = _source_core__WEBPACK_IMPORTED_MODULE_2__.of\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].empty = _source_core__WEBPACK_IMPORTED_MODULE_2__.empty\n// Add from to constructor for ES Observable compat\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].from = _source_from__WEBPACK_IMPORTED_MODULE_3__.from\n\n\n// -----------------------------------------------------------------------\n// Draft ES Observable proposal interop\n// https://github.com/zenparsing/es-observable\n\n;\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.subscribe = function (subscriber) {\n return (0,_observable_subscribe__WEBPACK_IMPORTED_MODULE_5__.subscribe)(subscriber, this)\n}\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype[symbolObservable] = function () {\n return this\n}\n\n// -----------------------------------------------------------------------\n// Fluent adapter\n\n;\n\n/**\n * Adapt a functional stream transform to fluent style.\n * It applies f to the this stream object\n * @param {function(s: Stream): Stream} f function that\n * receives the stream itself and must return a new stream\n * @return {Stream}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.thru = function (f) {\n return (0,_combinator_thru__WEBPACK_IMPORTED_MODULE_6__.thru)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Adapting other sources\n\n/**\n * Create a stream of events from the supplied EventTarget or EventEmitter\n * @param {String} event event name\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter. The source\n * must support either addEventListener/removeEventListener (w3c EventTarget:\n * http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-EventTarget),\n * or addListener/removeListener (node EventEmitter: http://nodejs.org/api/events.html)\n * @returns {Stream} stream of events of the specified type from the source\n */\n\n\n// -----------------------------------------------------------------------\n// Observing\n\n;\n\n\n\n/**\n * Process all the events in the stream\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.observe = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.forEach = function (f) {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_8__.observe)(f, this)\n}\n\n/**\n * Consume all events in the stream, without providing a function to process each.\n * This causes a stream to become active and begin emitting events, and is useful\n * in cases where all processing has been setup upstream via other combinators, and\n * there is no need to process the terminal events.\n * @returns {Promise} promise that fulfills when the stream ends, or rejects\n * if the stream fails with an unhandled error.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.drain = function () {\n return (0,_combinator_observe__WEBPACK_IMPORTED_MODULE_8__.drain)(this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Generalized feedback loop. Call a stepper function for each event. The stepper\n * will be called with 2 params: the current seed and the an event value. It must\n * return a new { seed, value } pair. The `seed` will be fed back into the next\n * invocation of stepper, and the `value` will be propagated as the event value.\n * @param {function(seed:*, value:*):{seed:*, value:*}} stepper loop step function\n * @param {*} seed initial seed value passed to first stepper call\n * @returns {Stream} new stream whose values are the `value` field of the objects\n * returned by the stepper\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.loop = function (stepper, seed) {\n return (0,_combinator_loop__WEBPACK_IMPORTED_MODULE_9__.loop)(stepper, seed, this)\n}\n\n// -------------------------------------------------------\n\n;\n\n\n\n/**\n * Create a stream containing successive reduce results of applying f to\n * the previous reduce result and the current stream item.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial initial value\n * @returns {Stream} new stream containing successive reduce results\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.scan = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.scan)(f, initial, this)\n}\n\n/**\n * Reduce the stream to produce a single result. Note that reducing an infinite\n * stream will return a Promise that never fulfills, but that may reject if an error\n * occurs.\n * @param {function(result:*, x:*):*} f reducer function\n * @param {*} initial optional initial value\n * @returns {Promise} promise for the file result of the reduce\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.reduce = function (f, initial) {\n return (0,_combinator_accumulate__WEBPACK_IMPORTED_MODULE_10__.reduce)(f, initial, this)\n}\n\n// -----------------------------------------------------------------------\n// Building and extending\n\n\n\n\n;\n\n\n\n/**\n * @param {Stream} tail\n * @returns {Stream} new stream containing all items in this followed by\n * all items in tail\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concat = function (tail) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_14__.concat)(this, tail)\n}\n\n/**\n * @param {*} x value to prepend\n * @returns {Stream} a new stream with x prepended\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.startWith = function (x) {\n return (0,_combinator_build__WEBPACK_IMPORTED_MODULE_14__.cons)(x, this)\n}\n\n// -----------------------------------------------------------------------\n// Transforming\n\n;\n\n\n\n\n/**\n * Transform each value in the stream by applying f to each\n * @param {function(*):*} f mapping function\n * @returns {Stream} stream containing items transformed by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.map = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_15__.map)(f, this)\n}\n\n/**\n * Assume this stream contains functions, and apply each function to each item\n * in the provided stream. This generates, in effect, a cross product.\n * @param {Stream} xs stream of items to which\n * @returns {Stream} stream containing the cross product of items\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.ap = function (xs) {\n return (0,_combinator_applicative__WEBPACK_IMPORTED_MODULE_16__.ap)(this, xs)\n}\n\n/**\n * Replace each value in the stream with x\n * @param {*} x\n * @returns {Stream} stream containing items replaced with x\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.constant = function (x) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_15__.constant)(x, this)\n}\n\n/**\n * Perform a side effect for each item in the stream\n * @param {function(x:*):*} f side effect to execute for each item. The\n * return value will be discarded.\n * @returns {Stream} new stream containing the same items as this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.tap = function (f) {\n return (0,_combinator_transform__WEBPACK_IMPORTED_MODULE_15__.tap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Transducer support\n\n;\n\n\n\n/**\n * Transform this stream by passing its events through a transducer.\n * @param {function} transducer transducer function\n * @return {Stream} stream of events transformed by the transducer\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.transduce = function (transducer) {\n return (0,_combinator_transduce__WEBPACK_IMPORTED_MODULE_17__.transduce)(transducer, this)\n}\n\n// -----------------------------------------------------------------------\n// FlatMapping\n\n;\n\n// @deprecated flatMap, use chain instead\n\n\n/**\n * Map each value in the stream to a new stream, and merge it into the\n * returned outer stream. Event arrival times are preserved.\n * @param {function(x:*):Stream} f chaining function, must return a Stream\n * @returns {Stream} new stream containing all events from each stream returned by f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain = function (f) {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.flatMap)(f, this)\n}\n\n// @deprecated use chain instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMap = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.chain\n\n /**\n * Monadic join. Flatten a Stream> to Stream by merging inner\n * streams to the outer. Event arrival times are preserved.\n * @returns {Stream} new stream containing all events of all inner streams\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.join = function () {\n return (0,_combinator_flatMap__WEBPACK_IMPORTED_MODULE_18__.join)(this)\n}\n\n;\n\n// @deprecated flatMapEnd, use continueWith instead\n\n\n/**\n * Map the end event to a new stream, and begin emitting its values.\n * @param {function(x:*):Stream} f function that receives the end event value,\n * and *must* return a new Stream to continue with.\n * @returns {Stream} new stream that emits all events from the original stream,\n * followed by all events from the stream returned by f.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith = function (f) {\n return (0,_combinator_continueWith__WEBPACK_IMPORTED_MODULE_19__.continueWith)(f, this)\n}\n\n// @deprecated use continueWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapEnd = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.continueWith\n\n;\n\n\n\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.concatMap = function (f) {\n return (0,_combinator_concatMap__WEBPACK_IMPORTED_MODULE_20__.concatMap)(f, this)\n}\n\n// -----------------------------------------------------------------------\n// Concurrent merging\n\n;\n\n\n\n/**\n * Flatten a Stream> to Stream by merging inner\n * streams to the outer, limiting the number of inner streams that may\n * be active concurrently.\n * @param {number} concurrency at most this many inner streams will be\n * allowed to be active concurrently.\n * @return {Stream} new stream containing all events of all inner\n * streams, with limited concurrency.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.mergeConcurrently = function (concurrency) {\n return (0,_combinator_mergeConcurrently__WEBPACK_IMPORTED_MODULE_21__.mergeConcurrently)(concurrency, this)\n}\n\n// -----------------------------------------------------------------------\n// Merging\n\n;\n\n\n\n/**\n * Merge this stream and all the provided streams\n * @returns {Stream} stream containing items from this stream and s in time\n * order. If two events are simultaneous they will be merged in\n * arbitrary order.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.merge = function (/* ...streams */) {\n return (0,_combinator_merge__WEBPACK_IMPORTED_MODULE_22__.mergeArray)(_most_prelude__WEBPACK_IMPORTED_MODULE_1__.cons(this, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Combining\n\n;\n\n\n\n/**\n * Combine latest events from all input streams\n * @param {function(...events):*} f function to combine most recent events\n * @returns {Stream} stream containing the result of applying f to the most recent\n * event of each input stream, whenever a new event arrives on any stream.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.combine = function (f /*, ...streams */) {\n return (0,_combinator_combine__WEBPACK_IMPORTED_MODULE_23__.combineArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Sampling\n\n;\n\n\n\n/**\n * When an event arrives on sampler, emit the latest event value from stream.\n * @param {Stream} sampler stream of events at whose arrival time\n * signal's latest value will be propagated\n * @returns {Stream} sampled stream of values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sampleWith = function (sampler) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleWith)(sampler, this)\n}\n\n/**\n * When an event arrives on this stream, emit the result of calling f with the latest\n * values of all streams being sampled\n * @param {function(...values):*} f function to apply to each set of sampled values\n * @returns {Stream} stream of sampled and transformed values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.sample = function (f /* ...streams */) {\n return (0,_combinator_sample__WEBPACK_IMPORTED_MODULE_24__.sampleArray)(f, this, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments))\n}\n\n// -----------------------------------------------------------------------\n// Zipping\n\n;\n\n\n\n/**\n * Pair-wise combine items with those in s. Given 2 streams:\n * [1,2,3] zipWith f [4,5,6] -> [f(1,4),f(2,5),f(3,6)]\n * Note: zip causes fast streams to buffer and wait for slow streams.\n * @param {function(a:Stream, b:Stream, ...):*} f function to combine items\n * @returns {Stream} new stream containing pairs\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.zip = function (f /*, ...streams */) {\n return (0,_combinator_zip__WEBPACK_IMPORTED_MODULE_25__.zipArray)(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.replace(this, 0, arguments))\n}\n\n// -----------------------------------------------------------------------\n// Switching\n\n;\n\n// @deprecated switch, use switchLatest instead\n\n\n/**\n * Given a stream of streams, return a new stream that adopts the behavior\n * of the most recent inner stream.\n * @returns {Stream} switching stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest = function () {\n return (0,_combinator_switch__WEBPACK_IMPORTED_MODULE_26__.switchLatest)(this)\n}\n\n// @deprecated use switchLatest instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switch = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.switchLatest\n\n// -----------------------------------------------------------------------\n// Filtering\n\n;\n\n// @deprecated distinct, use skipRepeats instead\n// @deprecated distinctBy, use skipRepeatsWith instead\n\n\n/**\n * Retain only items matching a predicate\n * stream: -12345678-\n * filter(x => x % 2 === 0, stream): --2-4-6-8-\n * @param {function(x:*):boolean} p filtering predicate called for each item\n * @returns {Stream} stream containing only items for which predicate returns truthy\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.filter = function (p) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_27__.filter)(p, this)\n}\n\n/**\n * Skip repeated events, using === to compare items\n * stream: -abbcd-\n * distinct(stream): -ab-cd-\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeats = function () {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeats)(this)\n}\n\n/**\n * Skip repeated events, using supplied equals function to compare items\n * @param {function(a:*, b:*):boolean} equals function to compare items\n * @returns {Stream} stream with no repeated events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipRepeatsWith = function (equals) {\n return (0,_combinator_filter__WEBPACK_IMPORTED_MODULE_27__.skipRepeatsWith)(equals, this)\n}\n\n// -----------------------------------------------------------------------\n// Slicing\n\n;\n\n\n\n/**\n * stream: -abcd-\n * take(2, stream): -ab|\n * @param {Number} n take up to this many events\n * @returns {Stream} stream containing at most the first n items from this stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.take = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.take)(n, this)\n}\n\n/**\n * stream: -abcd->\n * skip(2, stream): ---cd->\n * @param {Number} n skip this many events\n * @returns {Stream} stream not containing the first n events\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skip = function (n) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skip)(n, this)\n}\n\n/**\n * Slice a stream by event index. Equivalent to, but more efficient than\n * stream.take(end).skip(start);\n * NOTE: Negative start and end are not supported\n * @param {Number} start skip all events before the start index\n * @param {Number} end allow all events from the start index to the end index\n * @returns {Stream} stream containing items where start <= index < end\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.slice = function (start, end) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.slice)(start, end, this)\n}\n\n/**\n * stream: -123451234->\n * takeWhile(x => x < 5, stream): -1234|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, but not including, the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.takeWhile)(p, this)\n}\n\n/**\n * stream: -123451234->\n * skipWhile(x => x < 5, stream): -----51234->\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items following *and including* the\n * first item for which p returns falsy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipWhile = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipWhile)(p, this)\n}\n\n/**\n * stream: -123456789->\n * skipAfter(x => x === 5, stream):-12345|\n * @param {function(x:*):boolean} p predicate\n * @returns {Stream} stream containing items up to, *and including*, the\n * first item for which p returns truthy.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipAfter = function (p) {\n return (0,_combinator_slice__WEBPACK_IMPORTED_MODULE_28__.skipAfter)(p, this)\n}\n\n// -----------------------------------------------------------------------\n// Time slicing\n\n;\n\n// @deprecated takeUntil, use until instead\n// @deprecated skipUntil, use since instead\n\n\n/**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -a-b-c-|\n * @param {Stream} signal retain only events in stream before the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur before\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.takeUntil)(signal, this)\n}\n\n// @deprecated use until instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.takeUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.until\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * signal: -------x\n * takeUntil(signal, stream): -------d-e-f-g->\n * @param {Stream} signal retain only events in stream at or after the first\n * event in signal\n * @returns {Stream} new stream containing only events that occur after\n * the first event in signal.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since = function (signal) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.skipUntil)(signal, this)\n}\n\n// @deprecated use since instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.skipUntil = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.since\n\n /**\n * stream: -a-b-c-d-e-f-g->\n * timeWindow: -----s\n * s: -----t\n * stream.during(timeWindow): -----c-d-e-|\n * @param {Stream} timeWindow a stream whose first event (s) represents\n * the window start time. That event (s) is itself a stream whose first event (t)\n * represents the window end time\n * @returns {Stream} new stream containing only events within the provided timespan\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.during = function (timeWindow) {\n return (0,_combinator_timeslice__WEBPACK_IMPORTED_MODULE_29__.during)(timeWindow, this)\n}\n\n// -----------------------------------------------------------------------\n// Delaying\n\n;\n\n\n\n/**\n * @param {Number} delayTime milliseconds to delay each item\n * @returns {Stream} new stream containing the same items, but delayed by ms\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.delay = function (delayTime) {\n return (0,_combinator_delay__WEBPACK_IMPORTED_MODULE_30__.delay)(delayTime, this)\n}\n\n// -----------------------------------------------------------------------\n// Getting event timestamp\n\n;\n\n\n/**\n * Expose event timestamps into the stream. Turns a Stream into\n * Stream<{time:t, value:X}>\n * @returns {Stream<{time:number, value:*}>}\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.timestamp = function () {\n return (0,_combinator_timestamp__WEBPACK_IMPORTED_MODULE_31__.timestamp)(this)\n}\n\n// -----------------------------------------------------------------------\n// Rate limiting\n\n;\n\n\n\n/**\n * Limit the rate of events\n * stream: abcd----abcd----\n * throttle(2, stream): a-c-----a-c-----\n * @param {Number} period time to suppress events\n * @returns {Stream} new stream that skips events for throttle period\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.throttle = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_32__.throttle)(period, this)\n}\n\n/**\n * Wait for a burst of events to subside and emit only the last event in the burst\n * stream: abcd----abcd----\n * debounce(2, stream): -----d-------d--\n * @param {Number} period events occurring more frequently than this\n * on the provided scheduler will be suppressed\n * @returns {Stream} new debounced stream\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.debounce = function (period) {\n return (0,_combinator_limit__WEBPACK_IMPORTED_MODULE_32__.debounce)(period, this)\n}\n\n// -----------------------------------------------------------------------\n// Awaiting Promises\n\n;\n\n// @deprecated await, use awaitPromises instead\n\n\n/**\n * Await promises, turning a Stream> into Stream. Preserves\n * event order, but timeshifts events based on promise resolution time.\n * @returns {Stream} stream containing non-promise values\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises = function () {\n return (0,_combinator_promises__WEBPACK_IMPORTED_MODULE_33__.awaitPromises)(this)\n}\n\n// @deprecated use awaitPromises instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.await = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.awaitPromises\n\n// -----------------------------------------------------------------------\n// Error handling\n\n;\n\n// @deprecated flatMapError, use recoverWith instead\n\n\n/**\n * If this stream encounters an error, recover and continue with items from stream\n * returned by f.\n * stream: -a-b-c-X-\n * f(X): d-e-f-g-\n * flatMapError(f, stream): -a-b-c-d-e-f-g-\n * @param {function(error:*):Stream} f function which returns a new stream\n * @returns {Stream} new stream which will recover from an error by calling f\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith = function (f) {\n return (0,_combinator_errors__WEBPACK_IMPORTED_MODULE_34__.flatMapError)(f, this)\n}\n\n// @deprecated use recoverWith instead\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.flatMapError = _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.recoverWith\n\n// -----------------------------------------------------------------------\n// Multicasting\n\n;\n\n\n\n/**\n * Transform the stream into multicast stream. That means that many subscribers\n * to the stream will not cause multiple invocations of the internal machinery.\n * @returns {Stream} new stream which will multicast events to all observers.\n */\n_Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.multicast = function () {\n return (0,_most_multicast__WEBPACK_IMPORTED_MODULE_35__[\"default\"])(this)\n}\n\n// export the instance of the defaultScheduler for third-party libraries\n;\n\n\n\n// export an implementation of Task used internally for third-party libraries\n;\n\n\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/invoke.js": -/*!***************************************************!*\ - !*** ../../../../node_modules/most/src/invoke.js ***! - \***************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ invoke)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction invoke (f, args) {\n /* eslint complexity: [2,7] */\n switch (args.length) {\n case 0: return f()\n case 1: return f(args[0])\n case 2: return f(args[0], args[1])\n case 3: return f(args[0], args[1], args[2])\n case 4: return f(args[0], args[1], args[2], args[3])\n case 5: return f(args[0], args[1], args[2], args[3], args[4])\n default:\n return f.apply(void 0, args)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/invoke.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/iterable.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/most/src/iterable.js ***! - \*****************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getIterator: () => (/* binding */ getIterator),\n/* harmony export */ isIterable: () => (/* binding */ isIterable),\n/* harmony export */ makeIterable: () => (/* binding */ makeIterable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/* global Set, Symbol */\nvar iteratorSymbol\n// Firefox ships a partial implementation using the name @@iterator.\n// https://bugzilla.mozilla.org/show_bug.cgi?id=907077#c14\nif (typeof Set === 'function' && typeof new Set()['@@iterator'] === 'function') {\n iteratorSymbol = '@@iterator'\n} else {\n iteratorSymbol = typeof Symbol === 'function' ? Symbol.iterator\n : '_es6shim_iterator_'\n}\n\nfunction isIterable (o) {\n return typeof o[iteratorSymbol] === 'function'\n}\n\nfunction getIterator (o) {\n return o[iteratorSymbol]()\n}\n\nfunction makeIterable (f, o) {\n o[iteratorSymbol] = f\n return o\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/iterable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/observable/fromObservable.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/most/src/observable/fromObservable.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ObservableSource: () => (/* binding */ ObservableSource),\n/* harmony export */ SubscriberSink: () => (/* binding */ SubscriberSink),\n/* harmony export */ fromObservable: () => (/* binding */ fromObservable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _source_tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../source/tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromObservable (observable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ObservableSource(observable))\n}\n\nfunction ObservableSource (observable) {\n this.observable = observable\n}\n\nObservableSource.prototype.run = function (sink, scheduler) {\n var sub = this.observable.subscribe(new SubscriberSink(sink, scheduler))\n if (typeof sub === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(sub)\n } else if (sub && typeof sub.unsubscribe === 'function') {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(unsubscribe, sub)\n }\n\n throw new TypeError('Observable returned invalid subscription ' + String(sub))\n}\n\nfunction SubscriberSink (sink, scheduler) {\n this.sink = sink\n this.scheduler = scheduler\n}\n\nSubscriberSink.prototype.next = function (x) {\n (0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.complete = function (x) {\n ;(0,_source_tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEnd)(this.scheduler.now(), x, this.sink)\n}\n\nSubscriberSink.prototype.error = function (e) {\n this.sink.error(this.scheduler.now(), e)\n}\n\nfunction unsubscribe (subscription) {\n return subscription.unsubscribe()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/observable/fromObservable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/observable/getObservable.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/most/src/observable/getObservable.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ getObservable)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nconst getGlobalThis = (__webpack_require__(/*! globalthis */ \"../../../../node_modules/globalthis/index.js\").getPolyfill)\nconst provideSymbolObservable = (__webpack_require__(/*! symbol-observable/ponyfill */ \"../../../../node_modules/symbol-observable/ponyfill.js\")[\"default\"])\n\nconst symbolObservable = provideSymbolObservable(getGlobalThis())\n\nfunction getObservable (o) { // eslint-disable-line complexity\n var obs = null\n if (o) {\n // Access foreign method only once\n var method = o[symbolObservable]\n if (typeof method === 'function') {\n obs = method.call(o)\n if (!(obs && typeof obs.subscribe === 'function')) {\n throw new TypeError('invalid observable ' + obs)\n }\n }\n }\n\n return obs\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/observable/getObservable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/observable/subscribe.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/observable/subscribe.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SubscribeObserver: () => (/* binding */ SubscribeObserver),\n/* harmony export */ Subscription: () => (/* binding */ Subscription),\n/* harmony export */ subscribe: () => (/* binding */ subscribe)\n/* harmony export */ });\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../scheduler/defaultScheduler */ \"../../../../node_modules/most/src/scheduler/defaultScheduler.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../fatalError */ \"../../../../node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction subscribe (subscriber, stream) {\n if (Object(subscriber) !== subscriber) {\n throw new TypeError('subscriber must be an object')\n }\n\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.settable()\n var observer = new SubscribeObserver(_fatalError__WEBPACK_IMPORTED_MODULE_2__[\"default\"], subscriber, disposable)\n\n disposable.setDisposable(stream.source.run(observer, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"]))\n\n return new Subscription(disposable)\n}\n\nfunction SubscribeObserver (fatalError, subscriber, disposable) {\n this.fatalError = fatalError\n this.subscriber = subscriber\n this.disposable = disposable\n}\n\nSubscribeObserver.prototype.event = function (t, x) {\n if (!this.disposable.disposed && typeof this.subscriber.next === 'function') {\n this.subscriber.next(x)\n }\n}\n\nSubscribeObserver.prototype.end = function (t, x) {\n if (!this.disposable.disposed) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n if (typeof s.complete === 'function') {\n s.complete(x)\n }\n }).catch(function (e) {\n throwError(e, s, fatalError)\n })\n }\n}\n\nSubscribeObserver.prototype.error = function (t, e) {\n var s = this.subscriber\n var fatalError = this.fatalError\n Promise.resolve(this.disposable.dispose()).then(function () {\n throwError(e, s, fatalError)\n })\n}\n\nfunction Subscription (disposable) {\n this.disposable = disposable\n}\n\nSubscription.prototype.unsubscribe = function () {\n this.disposable.dispose()\n}\n\nfunction throwError (e1, subscriber, throwError) {\n if (typeof subscriber.error === 'function') {\n try {\n subscriber.error(e1)\n } catch (e2) {\n throwError(e2)\n }\n } else {\n throwError(e1)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/observable/subscribe.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/runSource.js": -/*!******************************************************!*\ - !*** ../../../../node_modules/most/src/runSource.js ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withDefaultScheduler: () => (/* binding */ withDefaultScheduler),\n/* harmony export */ withScheduler: () => (/* binding */ withScheduler)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./scheduler/defaultScheduler */ \"../../../../node_modules/most/src/scheduler/defaultScheduler.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction withDefaultScheduler (source) {\n return withScheduler(source, _scheduler_defaultScheduler__WEBPACK_IMPORTED_MODULE_1__[\"default\"])\n}\n\nfunction withScheduler (source, scheduler) {\n return new Promise(function (resolve, reject) {\n runSource(source, scheduler, resolve, reject)\n })\n}\n\nfunction runSource (source, scheduler, resolve, reject) {\n var disposable = _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.settable()\n var observer = new Drain(resolve, reject, disposable)\n\n disposable.setDisposable(source.run(observer, scheduler))\n}\n\nfunction Drain (end, error, disposable) {\n this._end = end\n this._error = error\n this._disposable = disposable\n this.active = true\n}\n\nDrain.prototype.event = function (t, x) {}\n\nDrain.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n disposeThen(this._end, this._error, this._disposable, x)\n}\n\nDrain.prototype.error = function (t, e) {\n this.active = false\n disposeThen(this._error, this._error, this._disposable, e)\n}\n\nfunction disposeThen (end, error, disposable, x) {\n Promise.resolve(disposable.dispose()).then(function () {\n end(x)\n }, error)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/runSource.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/ClockTimer.js": -/*!*****************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/ClockTimer.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ClockTimer)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/* global setTimeout, clearTimeout */\n\nfunction ClockTimer () {}\n\nClockTimer.prototype.now = Date.now\n\nClockTimer.prototype.setTimer = function (f, dt) {\n return dt <= 0 ? runAsap(f) : setTimeout(f, dt)\n}\n\nClockTimer.prototype.clearTimer = function (t) {\n return t instanceof Asap ? t.cancel() : clearTimeout(t)\n}\n\nfunction Asap (f) {\n this.f = f\n this.active = true\n}\n\nAsap.prototype.run = function () {\n return this.active && this.f()\n}\n\nAsap.prototype.error = function (e) {\n throw e\n}\n\nAsap.prototype.cancel = function () {\n this.active = false\n}\n\nfunction runAsap (f) {\n var task = new Asap(f)\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n return task\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/ClockTimer.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/PropagateTask.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/PropagateTask.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ PropagateTask)\n/* harmony export */ });\n/* harmony import */ var _fatalError__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../fatalError */ \"../../../../node_modules/most/src/fatalError.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction PropagateTask (run, value, sink) {\n this._run = run\n this.value = value\n this.sink = sink\n this.active = true\n}\n\nPropagateTask.event = function (value, sink) {\n return new PropagateTask(emit, value, sink)\n}\n\nPropagateTask.end = function (value, sink) {\n return new PropagateTask(end, value, sink)\n}\n\nPropagateTask.error = function (value, sink) {\n return new PropagateTask(error, value, sink)\n}\n\nPropagateTask.prototype.dispose = function () {\n this.active = false\n}\n\nPropagateTask.prototype.run = function (t) {\n if (!this.active) {\n return\n }\n this._run(t, this.value, this.sink)\n}\n\nPropagateTask.prototype.error = function (t, e) {\n if (!this.active) {\n return (0,_fatalError__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e)\n }\n this.sink.error(t, e)\n}\n\nfunction error (t, e, sink) {\n sink.error(t, e)\n}\n\nfunction emit (t, x, sink) {\n sink.event(t, x)\n}\n\nfunction end (t, x, sink) {\n sink.end(t, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/PropagateTask.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/ScheduledTask.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/ScheduledTask.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ ScheduledTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction ScheduledTask (delay, period, task, scheduler) {\n this.time = delay\n this.period = period\n this.task = task\n this.scheduler = scheduler\n this.active = true\n}\n\nScheduledTask.prototype.run = function () {\n return this.task.run(this.time)\n}\n\nScheduledTask.prototype.error = function (e) {\n return this.task.error(this.time, e)\n}\n\nScheduledTask.prototype.dispose = function () {\n this.scheduler.cancel(this)\n return this.task.dispose()\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/ScheduledTask.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/Scheduler.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/Scheduler.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Scheduler)\n/* harmony export */ });\n/* harmony import */ var _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ScheduledTask */ \"../../../../node_modules/most/src/scheduler/ScheduledTask.js\");\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../task */ \"../../../../node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction Scheduler (timer, timeline) {\n this.timer = timer\n this.timeline = timeline\n\n this._timer = null\n this._nextArrival = Infinity\n\n var self = this\n this._runReadyTasksBound = function () {\n self._runReadyTasks(self.now())\n }\n}\n\nScheduler.prototype.now = function () {\n return this.timer.now()\n}\n\nScheduler.prototype.asap = function (task) {\n return this.schedule(0, -1, task)\n}\n\nScheduler.prototype.delay = function (delay, task) {\n return this.schedule(delay, -1, task)\n}\n\nScheduler.prototype.periodic = function (period, task) {\n return this.schedule(0, period, task)\n}\n\nScheduler.prototype.schedule = function (delay, period, task) {\n var now = this.now()\n var st = new _ScheduledTask__WEBPACK_IMPORTED_MODULE_0__[\"default\"](now + Math.max(0, delay), period, task, this)\n\n this.timeline.add(st)\n this._scheduleNextRun(now)\n return st\n}\n\nScheduler.prototype.cancel = function (task) {\n task.active = false\n if (this.timeline.remove(task)) {\n this._reschedule()\n }\n}\n\nScheduler.prototype.cancelAll = function (f) {\n this.timeline.removeAll(f)\n this._reschedule()\n}\n\nScheduler.prototype._reschedule = function () {\n if (this.timeline.isEmpty()) {\n this._unschedule()\n } else {\n this._scheduleNextRun(this.now())\n }\n}\n\nScheduler.prototype._unschedule = function () {\n this.timer.clearTimer(this._timer)\n this._timer = null\n}\n\nScheduler.prototype._scheduleNextRun = function (now) { // eslint-disable-line complexity\n if (this.timeline.isEmpty()) {\n return\n }\n\n var nextArrival = this.timeline.nextArrival()\n\n if (this._timer === null) {\n this._scheduleNextArrival(nextArrival, now)\n } else if (nextArrival < this._nextArrival) {\n this._unschedule()\n this._scheduleNextArrival(nextArrival, now)\n }\n}\n\nScheduler.prototype._scheduleNextArrival = function (nextArrival, now) {\n this._nextArrival = nextArrival\n var delay = Math.max(0, nextArrival - now)\n this._timer = this.timer.setTimer(this._runReadyTasksBound, delay)\n}\n\nScheduler.prototype._runReadyTasks = function (now) {\n this._timer = null\n this.timeline.runTasks(now, _task__WEBPACK_IMPORTED_MODULE_1__.runTask)\n this._scheduleNextRun(this.now())\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/Scheduler.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/Timeline.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/Timeline.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Timeline)\n/* harmony export */ });\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction Timeline () {\n this.tasks = []\n}\n\nTimeline.prototype.nextArrival = function () {\n return this.isEmpty() ? Infinity : this.tasks[0].time\n}\n\nTimeline.prototype.isEmpty = function () {\n return this.tasks.length === 0\n}\n\nTimeline.prototype.add = function (st) {\n insertByTime(st, this.tasks)\n}\n\nTimeline.prototype.remove = function (st) {\n var i = binarySearch(st.time, this.tasks)\n\n if (i >= 0 && i < this.tasks.length) {\n var at = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.findIndex(st, this.tasks[i].events)\n if (at >= 0) {\n this.tasks[i].events.splice(at, 1)\n return true\n }\n }\n\n return false\n}\n\nTimeline.prototype.removeAll = function (f) {\n for (var i = 0, l = this.tasks.length; i < l; ++i) {\n removeAllFrom(f, this.tasks[i])\n }\n}\n\nTimeline.prototype.runTasks = function (t, runTask) {\n var tasks = this.tasks\n var l = tasks.length\n var i = 0\n\n while (i < l && tasks[i].time <= t) {\n ++i\n }\n\n this.tasks = tasks.slice(i)\n\n // Run all ready tasks\n for (var j = 0; j < i; ++j) {\n this.tasks = runTasks(runTask, tasks[j], this.tasks)\n }\n}\n\nfunction runTasks (runTask, timeslot, tasks) { // eslint-disable-line complexity\n var events = timeslot.events\n for (var i = 0; i < events.length; ++i) {\n var task = events[i]\n\n if (task.active) {\n runTask(task)\n\n // Reschedule periodic repeating tasks\n // Check active again, since a task may have canceled itself\n if (task.period >= 0 && task.active) {\n task.time = task.time + task.period\n insertByTime(task, tasks)\n }\n }\n }\n\n return tasks\n}\n\nfunction insertByTime (task, timeslots) { // eslint-disable-line complexity\n var l = timeslots.length\n\n if (l === 0) {\n timeslots.push(newTimeslot(task.time, [task]))\n return\n }\n\n var i = binarySearch(task.time, timeslots)\n\n if (i >= l) {\n timeslots.push(newTimeslot(task.time, [task]))\n } else if (task.time === timeslots[i].time) {\n timeslots[i].events.push(task)\n } else {\n timeslots.splice(i, 0, newTimeslot(task.time, [task]))\n }\n}\n\nfunction removeAllFrom (f, timeslot) {\n timeslot.events = _most_prelude__WEBPACK_IMPORTED_MODULE_0__.removeAll(f, timeslot.events)\n}\n\nfunction binarySearch (t, sortedArray) { // eslint-disable-line complexity\n var lo = 0\n var hi = sortedArray.length\n var mid, y\n\n while (lo < hi) {\n mid = Math.floor((lo + hi) / 2)\n y = sortedArray[mid]\n\n if (t === y.time) {\n return mid\n } else if (t < y.time) {\n hi = mid\n } else {\n lo = mid + 1\n }\n }\n return hi\n}\n\nfunction newTimeslot (t, events) {\n return { time: t, events: events }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/Timeline.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/scheduler/defaultScheduler.js": -/*!***********************************************************************!*\ - !*** ../../../../node_modules/most/src/scheduler/defaultScheduler.js ***! - \***********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _Scheduler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Scheduler */ \"../../../../node_modules/most/src/scheduler/Scheduler.js\");\n/* harmony import */ var _ClockTimer__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ClockTimer */ \"../../../../node_modules/most/src/scheduler/ClockTimer.js\");\n/* harmony import */ var _Timeline__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Timeline */ \"../../../../node_modules/most/src/scheduler/Timeline.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nvar defaultScheduler = new _Scheduler__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new _ClockTimer__WEBPACK_IMPORTED_MODULE_1__[\"default\"](), new _Timeline__WEBPACK_IMPORTED_MODULE_2__[\"default\"]())\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (defaultScheduler);\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/scheduler/defaultScheduler.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/DeferredSink.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/most/src/sink/DeferredSink.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ DeferredSink)\n/* harmony export */ });\n/* harmony import */ var _task__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../task */ \"../../../../node_modules/most/src/task.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction DeferredSink (sink) {\n this.sink = sink\n this.events = []\n this.active = true\n}\n\nDeferredSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n\n if (this.events.length === 0) {\n (0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(new PropagateAllTask(this.sink, t, this.events))\n }\n\n this.events.push({ time: t, value: x })\n}\n\nDeferredSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n\n this._end(new EndTask(t, x, this.sink))\n}\n\nDeferredSink.prototype.error = function (t, e) {\n this._end(new ErrorTask(t, e, this.sink))\n}\n\nDeferredSink.prototype._end = function (task) {\n this.active = false\n ;(0,_task__WEBPACK_IMPORTED_MODULE_0__.defer)(task)\n}\n\nfunction PropagateAllTask (sink, time, events) {\n this.sink = sink\n this.events = events\n this.time = time\n}\n\nPropagateAllTask.prototype.run = function () {\n var events = this.events\n var sink = this.sink\n var event\n\n for (var i = 0, l = events.length; i < l; ++i) {\n event = events[i]\n this.time = event.time\n sink.event(event.time, event.value)\n }\n\n events.length = 0\n}\n\nPropagateAllTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction EndTask (t, x, sink) {\n this.time = t\n this.value = x\n this.sink = sink\n}\n\nEndTask.prototype.run = function () {\n this.sink.end(this.time, this.value)\n}\n\nEndTask.prototype.error = function (e) {\n this.sink.error(this.time, e)\n}\n\nfunction ErrorTask (t, e, sink) {\n this.time = t\n this.value = e\n this.sink = sink\n}\n\nErrorTask.prototype.run = function () {\n this.sink.error(this.time, this.value)\n}\n\nErrorTask.prototype.error = function (e) {\n throw e\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/DeferredSink.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/IndexSink.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/most/src/sink/IndexSink.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ IndexSink)\n/* harmony export */ });\n/* harmony import */ var _Pipe__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Pipe */ \"../../../../node_modules/most/src/sink/Pipe.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\nfunction IndexSink (i, sink) {\n this.sink = sink\n this.index = i\n this.active = true\n this.value = void 0\n}\n\nIndexSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.value = x\n this.sink.event(t, this)\n}\n\nIndexSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.active = false\n this.sink.end(t, { index: this.index, value: x })\n}\n\nIndexSink.prototype.error = _Pipe__WEBPACK_IMPORTED_MODULE_0__[\"default\"].prototype.error\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/IndexSink.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/Pipe.js": -/*!******************************************************!*\ - !*** ../../../../node_modules/most/src/sink/Pipe.js ***! - \******************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Pipe)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n/**\n * A sink mixin that simply forwards event, end, and error to\n * another sink.\n * @param sink\n * @constructor\n */\nfunction Pipe (sink) {\n this.sink = sink\n}\n\nPipe.prototype.event = function (t, x) {\n return this.sink.event(t, x)\n}\n\nPipe.prototype.end = function (t, x) {\n return this.sink.end(t, x)\n}\n\nPipe.prototype.error = function (t, e) {\n return this.sink.error(t, e)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/Pipe.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/sink/SafeSink.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/most/src/sink/SafeSink.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ SafeSink)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction SafeSink (sink) {\n this.sink = sink\n this.active = true\n}\n\nSafeSink.prototype.event = function (t, x) {\n if (!this.active) {\n return\n }\n this.sink.event(t, x)\n}\n\nSafeSink.prototype.end = function (t, x) {\n if (!this.active) {\n return\n }\n this.disable()\n this.sink.end(t, x)\n}\n\nSafeSink.prototype.error = function (t, e) {\n this.disable()\n this.sink.error(t, e)\n}\n\nSafeSink.prototype.disable = function () {\n this.active = false\n return this.sink\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/sink/SafeSink.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/EventEmitterSource.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/most/src/source/EventEmitterSource.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventEmitterSource)\n/* harmony export */ });\n/* harmony import */ var _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../sink/DeferredSink */ \"../../../../node_modules/most/src/sink/DeferredSink.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction EventEmitterSource (event, source) {\n this.event = event\n this.source = source\n}\n\nEventEmitterSource.prototype.run = function (sink, scheduler) {\n // NOTE: Because EventEmitter allows events in the same call stack as\n // a listener is added, use a DeferredSink to buffer events\n // until the stack clears, then propagate. This maintains most.js's\n // invariant that no event will be delivered in the same call stack\n // as an observer begins observing.\n var dsink = new _sink_DeferredSink__WEBPACK_IMPORTED_MODULE_0__[\"default\"](sink)\n\n function addEventVariadic (a) {\n var l = arguments.length\n if (l > 1) {\n var arr = new Array(l)\n for (var i = 0; i < l; ++i) {\n arr[i] = arguments[i]\n }\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), arr, dsink)\n } else {\n _tryEvent__WEBPACK_IMPORTED_MODULE_2__.tryEvent(scheduler.now(), a, dsink)\n }\n }\n\n this.source.addListener(this.event, addEventVariadic)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEventEmitter, { target: this, addEvent: addEventVariadic })\n}\n\nfunction disposeEventEmitter (info) {\n var target = info.target\n target.source.removeListener(target.event, info.addEvent)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/EventEmitterSource.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/EventTargetSource.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/most/src/source/EventTargetSource.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ EventTargetSource)\n/* harmony export */ });\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _tryEvent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tryEvent */ \"../../../../node_modules/most/src/source/tryEvent.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction EventTargetSource (event, source, capture) {\n this.event = event\n this.source = source\n this.capture = capture\n}\n\nEventTargetSource.prototype.run = function (sink, scheduler) {\n function addEvent (e) {\n _tryEvent__WEBPACK_IMPORTED_MODULE_1__.tryEvent(scheduler.now(), e, sink)\n }\n\n this.source.addEventListener(this.event, addEvent, this.capture)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_0__.create(disposeEventTarget,\n { target: this, addEvent: addEvent })\n}\n\nfunction disposeEventTarget (info) {\n var target = info.target\n target.source.removeEventListener(target.event, info.addEvent, target.capture)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/EventTargetSource.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/core.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/most/src/source/core.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ never: () => (/* binding */ never),\n/* harmony export */ of: () => (/* binding */ of)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../disposable/dispose */ \"../../../../node_modules/most/src/disposable/dispose.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Stream containing only x\n * @param {*} x\n * @returns {Stream}\n */\nfunction of (x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Just(x))\n}\n\nfunction Just (x) {\n this.value = x\n}\n\nJust.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runJust, this.value, sink))\n}\n\nfunction runJust (t, x, sink) {\n sink.event(t, x)\n sink.end(t, void 0)\n}\n\n/**\n * Stream containing no events and ends immediately\n * @returns {Stream}\n */\nfunction empty () {\n return EMPTY\n}\n\nfunction EmptySource () {}\n\nEmptySource.prototype.run = function (sink, scheduler) {\n var task = _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"].end(void 0, sink)\n scheduler.asap(task)\n\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.create(disposeEmpty, task)\n}\n\nfunction disposeEmpty (task) {\n return task.dispose()\n}\n\nvar EMPTY = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new EmptySource())\n\n/**\n * Stream containing no events and never ends\n * @returns {Stream}\n */\nfunction never () {\n return NEVER\n}\n\nfunction NeverSource () {}\n\nNeverSource.prototype.run = function () {\n return _disposable_dispose__WEBPACK_IMPORTED_MODULE_1__.empty()\n}\n\nvar NEVER = new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new NeverSource())\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/core.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/from.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/most/src/source/from.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ from: () => (/* binding */ from)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _fromArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromArray */ \"../../../../node_modules/most/src/source/fromArray.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../iterable */ \"../../../../node_modules/most/src/iterable.js\");\n/* harmony import */ var _fromIterable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fromIterable */ \"../../../../node_modules/most/src/source/fromIterable.js\");\n/* harmony import */ var _observable_getObservable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../observable/getObservable */ \"../../../../node_modules/most/src/observable/getObservable.js\");\n/* harmony import */ var _observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../observable/fromObservable */ \"../../../../node_modules/most/src/observable/fromObservable.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n\n\n\n\nfunction from (a) { // eslint-disable-line complexity\n if (a instanceof _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"]) {\n return a\n }\n\n var observable = (0,_observable_getObservable__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(a)\n if (observable != null) {\n return (0,_observable_fromObservable__WEBPACK_IMPORTED_MODULE_5__.fromObservable)(observable)\n }\n\n if (Array.isArray(a) || (0,_most_prelude__WEBPACK_IMPORTED_MODULE_6__.isArrayLike)(a)) {\n return (0,_fromArray__WEBPACK_IMPORTED_MODULE_1__.fromArray)(a)\n }\n\n if ((0,_iterable__WEBPACK_IMPORTED_MODULE_2__.isIterable)(a)) {\n return (0,_fromIterable__WEBPACK_IMPORTED_MODULE_3__.fromIterable)(a)\n }\n\n throw new TypeError('from(x) must be observable, iterable, or array-like: ' + a)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/from.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/fromArray.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/source/fromArray.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromArray: () => (/* binding */ fromArray)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\nfunction fromArray (a) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new ArraySource(a))\n}\n\nfunction ArraySource (a) {\n this.array = a\n}\n\nArraySource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"](runProducer, this.array, sink))\n}\n\nfunction runProducer (t, array, sink) {\n for (var i = 0, l = array.length; i < l && this.active; ++i) {\n sink.event(t, array[i])\n }\n\n this.active && sink.end(t)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/fromArray.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/fromEvent.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/most/src/source/fromEvent.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromEvent: () => (/* binding */ fromEvent)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EventTargetSource */ \"../../../../node_modules/most/src/source/EventTargetSource.js\");\n/* harmony import */ var _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventEmitterSource */ \"../../../../node_modules/most/src/source/EventEmitterSource.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\n/**\n * Create a stream from an EventTarget, such as a DOM Node, or EventEmitter.\n * @param {String} event event type name, e.g. 'click'\n * @param {EventTarget|EventEmitter} source EventTarget or EventEmitter\n * @param {*?} capture for DOM events, whether to use\n * capturing--passed as 3rd parameter to addEventListener.\n * @returns {Stream} stream containing all events of the specified type\n * from the source.\n */\nfunction fromEvent (event, source, capture) { // eslint-disable-line complexity\n var s\n\n if (typeof source.addEventListener === 'function' && typeof source.removeEventListener === 'function') {\n if (arguments.length < 3) {\n capture = false\n }\n\n s = new _EventTargetSource__WEBPACK_IMPORTED_MODULE_1__[\"default\"](event, source, capture)\n } else if (typeof source.addListener === 'function' && typeof source.removeListener === 'function') {\n s = new _EventEmitterSource__WEBPACK_IMPORTED_MODULE_2__[\"default\"](event, source)\n } else {\n throw new Error('source must support addEventListener/removeEventListener or addListener/removeListener')\n }\n\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](s)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/fromEvent.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/fromIterable.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/most/src/source/fromIterable.js ***! - \****************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromIterable: () => (/* binding */ fromIterable)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _iterable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../iterable */ \"../../../../node_modules/most/src/iterable.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n\nfunction fromIterable (iterable) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterableSource(iterable))\n}\n\nfunction IterableSource (iterable) {\n this.iterable = iterable\n}\n\nIterableSource.prototype.run = function (sink, scheduler) {\n return scheduler.asap(new _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_2__[\"default\"](runProducer, (0,_iterable__WEBPACK_IMPORTED_MODULE_1__.getIterator)(this.iterable), sink))\n}\n\nfunction runProducer (t, iterator, sink) {\n var r = iterator.next()\n\n while (!r.done && this.active) {\n sink.event(t, r.value)\n r = iterator.next()\n }\n\n sink.end(t, r.value)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/fromIterable.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/generate.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/source/generate.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ generate: () => (/* binding */ generate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _most_prelude__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @most/prelude */ \"../../../../node_modules/@most/prelude/dist/index.es.js\");\n/** @license MIT License (c) copyright 2010-2014 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Compute a stream using an *async* generator, which yields promises\n * to control event times.\n * @param f\n * @returns {Stream}\n */\nfunction generate (f /*, ...args */) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new GenerateSource(f, _most_prelude__WEBPACK_IMPORTED_MODULE_1__.tail(arguments)))\n}\n\nfunction GenerateSource (f, args) {\n this.f = f\n this.args = args\n}\n\nGenerateSource.prototype.run = function (sink, scheduler) {\n return new Generate(this.f.apply(void 0, this.args), sink, scheduler)\n}\n\nfunction Generate (iterator, sink, scheduler) {\n this.iterator = iterator\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n Promise.resolve(this).then(next).catch(err)\n}\n\nfunction next (generate, x) {\n return generate.active ? handle(generate, generate.iterator.next(x)) : x\n}\n\nfunction handle (generate, result) {\n if (result.done) {\n return generate.sink.end(generate.scheduler.now(), result.value)\n }\n\n return Promise.resolve(result.value).then(function (x) {\n return emit(generate, x)\n }, function (e) {\n return error(generate, e)\n })\n}\n\nfunction emit (generate, x) {\n generate.sink.event(generate.scheduler.now(), x)\n return next(generate, x)\n}\n\nfunction error (generate, e) {\n return handle(generate, generate.iterator.throw(e))\n}\n\nGenerate.prototype.dispose = function () {\n this.active = false\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/generate.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/iterate.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/most/src/source/iterate.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ iterate: () => (/* binding */ iterate)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by iteratively calling f to produce values\n * Event times may be controlled by returning a Promise from f\n * @param {function(x:*):*|Promise<*>} f\n * @param {*} x initial value\n * @returns {Stream}\n */\nfunction iterate (f, x) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new IterateSource(f, x))\n}\n\nfunction IterateSource (f, x) {\n this.f = f\n this.value = x\n}\n\nIterateSource.prototype.run = function (sink, scheduler) {\n return new Iterate(this.f, this.value, sink, scheduler)\n}\n\nfunction Iterate (f, initial, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var x = initial\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (iterate) {\n return stepIterate(iterate, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nIterate.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepIterate (iterate, x) {\n iterate.sink.event(iterate.scheduler.now(), x)\n\n if (!iterate.active) {\n return x\n }\n\n var f = iterate.f\n return Promise.resolve(f(x)).then(function (y) {\n return continueIterate(iterate, y)\n })\n}\n\nfunction continueIterate (iterate, x) {\n return !iterate.active ? iterate.value : stepIterate(iterate, x)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/iterate.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/periodic.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/source/periodic.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ periodic: () => (/* binding */ periodic)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/* harmony import */ var _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../scheduler/PropagateTask */ \"../../../../node_modules/most/src/scheduler/PropagateTask.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n\n/**\n * Create a stream that emits the current time periodically\n * @param {Number} period periodicity of events in millis\n * @param {*} deprecatedValue @deprecated value to emit each period\n * @returns {Stream} new stream that emits the current time every period\n */\nfunction periodic (period, deprecatedValue) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new Periodic(period, deprecatedValue))\n}\n\nfunction Periodic (period, value) {\n this.period = period\n this.value = value\n}\n\nPeriodic.prototype.run = function (sink, scheduler) {\n return scheduler.periodic(this.period, _scheduler_PropagateTask__WEBPACK_IMPORTED_MODULE_1__[\"default\"].event(this.value, sink))\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/periodic.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/tryEvent.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/most/src/source/tryEvent.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ tryEnd: () => (/* binding */ tryEnd),\n/* harmony export */ tryEvent: () => (/* binding */ tryEvent)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction tryEvent (t, x, sink) {\n try {\n sink.event(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\nfunction tryEnd (t, x, sink) {\n try {\n sink.end(t, x)\n } catch (e) {\n sink.error(t, e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/tryEvent.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/source/unfold.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/most/src/source/unfold.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ unfold: () => (/* binding */ unfold)\n/* harmony export */ });\n/* harmony import */ var _Stream__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../Stream */ \"../../../../node_modules/most/src/Stream.js\");\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\n\n\n/**\n * Compute a stream by unfolding tuples of future values from a seed value\n * Event times may be controlled by returning a Promise from f\n * @param {function(seed:*):{value:*, seed:*, done:boolean}|Promise<{value:*, seed:*, done:boolean}>} f unfolding function accepts\n * a seed and returns a new tuple with a value, new seed, and boolean done flag.\n * If tuple.done is true, the stream will end.\n * @param {*} seed seed value\n * @returns {Stream} stream containing all value of all tuples produced by the\n * unfolding function.\n */\nfunction unfold (f, seed) {\n return new _Stream__WEBPACK_IMPORTED_MODULE_0__[\"default\"](new UnfoldSource(f, seed))\n}\n\nfunction UnfoldSource (f, seed) {\n this.f = f\n this.value = seed\n}\n\nUnfoldSource.prototype.run = function (sink, scheduler) {\n return new Unfold(this.f, this.value, sink, scheduler)\n}\n\nfunction Unfold (f, x, sink, scheduler) {\n this.f = f\n this.sink = sink\n this.scheduler = scheduler\n this.active = true\n\n var self = this\n function err (e) {\n self.sink.error(self.scheduler.now(), e)\n }\n\n function start (unfold) {\n return stepUnfold(unfold, x)\n }\n\n Promise.resolve(this).then(start).catch(err)\n}\n\nUnfold.prototype.dispose = function () {\n this.active = false\n}\n\nfunction stepUnfold (unfold, x) {\n var f = unfold.f\n return Promise.resolve(f(x)).then(function (tuple) {\n return continueUnfold(unfold, tuple)\n })\n}\n\nfunction continueUnfold (unfold, tuple) {\n if (tuple.done) {\n unfold.sink.end(unfold.scheduler.now(), tuple.value)\n return tuple.value\n }\n\n unfold.sink.event(unfold.scheduler.now(), tuple.value)\n\n if (!unfold.active) {\n return tuple.value\n }\n return stepUnfold(unfold, tuple.seed)\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/source/unfold.js?"); - -/***/ }), - -/***/ "../../../../node_modules/most/src/task.js": -/*!*************************************************!*\ - !*** ../../../../node_modules/most/src/task.js ***! - \*************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defer: () => (/* binding */ defer),\n/* harmony export */ runTask: () => (/* binding */ runTask)\n/* harmony export */ });\n/** @license MIT License (c) copyright 2010-2016 original author or authors */\n/** @author Brian Cavalier */\n/** @author John Hann */\n\nfunction defer (task) {\n return Promise.resolve(task).then(runTask)\n}\n\nfunction runTask (task) {\n try {\n return task.run()\n } catch (e) {\n return task.error(e)\n }\n}\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/most/src/task.js?"); - -/***/ }), - -/***/ "../../../../node_modules/object-keys/implementation.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/object-keys/implementation.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar keysShim;\nif (!Object.keys) {\n\t// modified from https://github.com/es-shims/es5-shim\n\tvar has = Object.prototype.hasOwnProperty;\n\tvar toStr = Object.prototype.toString;\n\tvar isArgs = __webpack_require__(/*! ./isArguments */ \"../../../../node_modules/object-keys/isArguments.js\"); // eslint-disable-line global-require\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\tvar hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');\n\tvar hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype');\n\tvar dontEnums = [\n\t\t'toString',\n\t\t'toLocaleString',\n\t\t'valueOf',\n\t\t'hasOwnProperty',\n\t\t'isPrototypeOf',\n\t\t'propertyIsEnumerable',\n\t\t'constructor'\n\t];\n\tvar equalsConstructorPrototype = function (o) {\n\t\tvar ctor = o.constructor;\n\t\treturn ctor && ctor.prototype === o;\n\t};\n\tvar excludedKeys = {\n\t\t$applicationCache: true,\n\t\t$console: true,\n\t\t$external: true,\n\t\t$frame: true,\n\t\t$frameElement: true,\n\t\t$frames: true,\n\t\t$innerHeight: true,\n\t\t$innerWidth: true,\n\t\t$onmozfullscreenchange: true,\n\t\t$onmozfullscreenerror: true,\n\t\t$outerHeight: true,\n\t\t$outerWidth: true,\n\t\t$pageXOffset: true,\n\t\t$pageYOffset: true,\n\t\t$parent: true,\n\t\t$scrollLeft: true,\n\t\t$scrollTop: true,\n\t\t$scrollX: true,\n\t\t$scrollY: true,\n\t\t$self: true,\n\t\t$webkitIndexedDB: true,\n\t\t$webkitStorageInfo: true,\n\t\t$window: true\n\t};\n\tvar hasAutomationEqualityBug = (function () {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined') { return false; }\n\t\tfor (var k in window) {\n\t\t\ttry {\n\t\t\t\tif (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tequalsConstructorPrototype(window[k]);\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}());\n\tvar equalsConstructorPrototypeIfNotBuggy = function (o) {\n\t\t/* global window */\n\t\tif (typeof window === 'undefined' || !hasAutomationEqualityBug) {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t}\n\t\ttry {\n\t\t\treturn equalsConstructorPrototype(o);\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tkeysShim = function keys(object) {\n\t\tvar isObject = object !== null && typeof object === 'object';\n\t\tvar isFunction = toStr.call(object) === '[object Function]';\n\t\tvar isArguments = isArgs(object);\n\t\tvar isString = isObject && toStr.call(object) === '[object String]';\n\t\tvar theKeys = [];\n\n\t\tif (!isObject && !isFunction && !isArguments) {\n\t\t\tthrow new TypeError('Object.keys called on a non-object');\n\t\t}\n\n\t\tvar skipProto = hasProtoEnumBug && isFunction;\n\t\tif (isString && object.length > 0 && !has.call(object, 0)) {\n\t\t\tfor (var i = 0; i < object.length; ++i) {\n\t\t\t\ttheKeys.push(String(i));\n\t\t\t}\n\t\t}\n\n\t\tif (isArguments && object.length > 0) {\n\t\t\tfor (var j = 0; j < object.length; ++j) {\n\t\t\t\ttheKeys.push(String(j));\n\t\t\t}\n\t\t} else {\n\t\t\tfor (var name in object) {\n\t\t\t\tif (!(skipProto && name === 'prototype') && has.call(object, name)) {\n\t\t\t\t\ttheKeys.push(String(name));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (hasDontEnumBug) {\n\t\t\tvar skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);\n\n\t\t\tfor (var k = 0; k < dontEnums.length; ++k) {\n\t\t\t\tif (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {\n\t\t\t\t\ttheKeys.push(dontEnums[k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn theKeys;\n\t};\n}\nmodule.exports = keysShim;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/object-keys/implementation.js?"); - -/***/ }), - -/***/ "../../../../node_modules/object-keys/index.js": -/*!*****************************************************!*\ - !*** ../../../../node_modules/object-keys/index.js ***! - \*****************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar slice = Array.prototype.slice;\nvar isArgs = __webpack_require__(/*! ./isArguments */ \"../../../../node_modules/object-keys/isArguments.js\");\n\nvar origKeys = Object.keys;\nvar keysShim = origKeys ? function keys(o) { return origKeys(o); } : __webpack_require__(/*! ./implementation */ \"../../../../node_modules/object-keys/implementation.js\");\n\nvar originalKeys = Object.keys;\n\nkeysShim.shim = function shimObjectKeys() {\n\tif (Object.keys) {\n\t\tvar keysWorksWithArguments = (function () {\n\t\t\t// Safari 5.0 bug\n\t\t\tvar args = Object.keys(arguments);\n\t\t\treturn args && args.length === arguments.length;\n\t\t}(1, 2));\n\t\tif (!keysWorksWithArguments) {\n\t\t\tObject.keys = function keys(object) { // eslint-disable-line func-name-matching\n\t\t\t\tif (isArgs(object)) {\n\t\t\t\t\treturn originalKeys(slice.call(object));\n\t\t\t\t}\n\t\t\t\treturn originalKeys(object);\n\t\t\t};\n\t\t}\n\t} else {\n\t\tObject.keys = keysShim;\n\t}\n\treturn Object.keys || keysShim;\n};\n\nmodule.exports = keysShim;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/object-keys/index.js?"); - -/***/ }), - -/***/ "../../../../node_modules/object-keys/isArguments.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/object-keys/isArguments.js ***! - \***********************************************************/ -/***/ ((module) => { - -"use strict"; -eval("\n\nvar toStr = Object.prototype.toString;\n\nmodule.exports = function isArguments(value) {\n\tvar str = toStr.call(value);\n\tvar isArgs = str === '[object Arguments]';\n\tif (!isArgs) {\n\t\tisArgs = str !== '[object Array]' &&\n\t\t\tvalue !== null &&\n\t\t\ttypeof value === 'object' &&\n\t\t\ttypeof value.length === 'number' &&\n\t\t\tvalue.length >= 0 &&\n\t\t\ttoStr.call(value.callee) === '[object Function]';\n\t}\n\treturn isArgs;\n};\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/object-keys/isArguments.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_Array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_Array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../node_modules/rescript/lib/js/caml.js\");\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_math = __webpack_require__(/*! ./js_math.js */ \"../../../../node_modules/rescript/lib/js/js_math.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(arr, i) {\n if (i >= 0 && i < arr.length) {\n return Caml_option.some(arr[i]);\n }\n \n}\n\nfunction getExn(arr, i) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 35,\n 2\n ],\n Error: new Error()\n };\n }\n return arr[i];\n}\n\nfunction set(arr, i, v) {\n if (i >= 0 && i < arr.length) {\n arr[i] = v;\n return true;\n } else {\n return false;\n }\n}\n\nfunction setExn(arr, i, v) {\n if (!(i >= 0 && i < arr.length)) {\n throw {\n RE_EXN_ID: \"Assert_failure\",\n _1: [\n \"belt_Array.ml\",\n 45,\n 2\n ],\n Error: new Error()\n };\n }\n arr[i] = v;\n}\n\nfunction swapUnsafe(xs, i, j) {\n var tmp = xs[i];\n xs[i] = xs[j];\n xs[j] = tmp;\n}\n\nfunction shuffleInPlace(xs) {\n var len = xs.length;\n for(var i = 0; i < len; ++i){\n swapUnsafe(xs, i, Js_math.random_int(i, len));\n }\n}\n\nfunction shuffle(xs) {\n var result = xs.slice(0);\n shuffleInPlace(result);\n return result;\n}\n\nfunction reverseInPlace(xs) {\n var len = xs.length;\n var ofs = 0;\n for(var i = 0 ,i_finish = len / 2 | 0; i < i_finish; ++i){\n swapUnsafe(xs, ofs + i | 0, ((ofs + len | 0) - i | 0) - 1 | 0);\n }\n}\n\nfunction reverse(xs) {\n var len = xs.length;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = xs[(len - 1 | 0) - i | 0];\n }\n return result;\n}\n\nfunction make(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f;\n }\n return res;\n}\n\nfunction makeByU(l, f) {\n if (l <= 0) {\n return [];\n }\n var res = new Array(l);\n for(var i = 0; i < l; ++i){\n res[i] = f(i);\n }\n return res;\n}\n\nfunction makeBy(l, f) {\n return makeByU(l, Curry.__1(f));\n}\n\nfunction makeByAndShuffleU(l, f) {\n var u = makeByU(l, f);\n shuffleInPlace(u);\n return u;\n}\n\nfunction makeByAndShuffle(l, f) {\n return makeByAndShuffleU(l, Curry.__1(f));\n}\n\nfunction range(start, finish) {\n var cut = finish - start | 0;\n if (cut < 0) {\n return [];\n }\n var arr = new Array(cut + 1 | 0);\n for(var i = 0; i <= cut; ++i){\n arr[i] = start + i | 0;\n }\n return arr;\n}\n\nfunction rangeBy(start, finish, step) {\n var cut = finish - start | 0;\n if (cut < 0 || step <= 0) {\n return [];\n }\n var nb = (cut / step | 0) + 1 | 0;\n var arr = new Array(nb);\n var cur = start;\n for(var i = 0; i < nb; ++i){\n arr[i] = cur;\n cur = cur + step | 0;\n }\n return arr;\n}\n\nfunction zip(xs, ys) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = [\n xs[i],\n ys[i]\n ];\n }\n return s;\n}\n\nfunction zipByU(xs, ys, f) {\n var lenx = xs.length;\n var leny = ys.length;\n var len = lenx < leny ? lenx : leny;\n var s = new Array(len);\n for(var i = 0; i < len; ++i){\n s[i] = f(xs[i], ys[i]);\n }\n return s;\n}\n\nfunction zipBy(xs, ys, f) {\n return zipByU(xs, ys, Curry.__2(f));\n}\n\nfunction concat(a1, a2) {\n var l1 = a1.length;\n var l2 = a2.length;\n var a1a2 = new Array(l1 + l2 | 0);\n for(var i = 0; i < l1; ++i){\n a1a2[i] = a1[i];\n }\n for(var i$1 = 0; i$1 < l2; ++i$1){\n a1a2[l1 + i$1 | 0] = a2[i$1];\n }\n return a1a2;\n}\n\nfunction concatMany(arrs) {\n var lenArrs = arrs.length;\n var totalLen = 0;\n for(var i = 0; i < lenArrs; ++i){\n totalLen = totalLen + arrs[i].length | 0;\n }\n var result = new Array(totalLen);\n totalLen = 0;\n for(var j = 0; j < lenArrs; ++j){\n var cur = arrs[j];\n for(var k = 0 ,k_finish = cur.length; k < k_finish; ++k){\n result[totalLen] = cur[k];\n totalLen = totalLen + 1 | 0;\n }\n }\n return result;\n}\n\nfunction slice(a, offset, len) {\n if (len <= 0) {\n return [];\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var copyLength = hasLen < len ? hasLen : len;\n if (copyLength <= 0) {\n return [];\n }\n var result = new Array(copyLength);\n for(var i = 0; i < copyLength; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction sliceToEnd(a, offset) {\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var len = lena > ofs ? lena - ofs | 0 : 0;\n var result = new Array(len);\n for(var i = 0; i < len; ++i){\n result[i] = a[ofs + i | 0];\n }\n return result;\n}\n\nfunction fill(a, offset, len, v) {\n if (len <= 0) {\n return ;\n }\n var lena = a.length;\n var ofs = offset < 0 ? Caml.int_max(lena + offset | 0, 0) : offset;\n var hasLen = lena - ofs | 0;\n var fillLength = hasLen < len ? hasLen : len;\n if (fillLength <= 0) {\n return ;\n }\n for(var i = ofs ,i_finish = ofs + fillLength | 0; i < i_finish; ++i){\n a[i] = v;\n }\n}\n\nfunction blitUnsafe(a1, srcofs1, a2, srcofs2, blitLength) {\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction blit(a1, ofs1, a2, ofs2, len) {\n var lena1 = a1.length;\n var lena2 = a2.length;\n var srcofs1 = ofs1 < 0 ? Caml.int_max(lena1 + ofs1 | 0, 0) : ofs1;\n var srcofs2 = ofs2 < 0 ? Caml.int_max(lena2 + ofs2 | 0, 0) : ofs2;\n var blitLength = Caml.int_min(len, Caml.int_min(lena1 - srcofs1 | 0, lena2 - srcofs2 | 0));\n if (srcofs2 <= srcofs1) {\n for(var j = 0; j < blitLength; ++j){\n a2[j + srcofs2 | 0] = a1[j + srcofs1 | 0];\n }\n return ;\n }\n for(var j$1 = blitLength - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + srcofs2 | 0] = a1[j$1 + srcofs1 | 0];\n }\n}\n\nfunction forEachU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(a[i]);\n }\n}\n\nfunction forEach(a, f) {\n forEachU(a, Curry.__1(f));\n}\n\nfunction mapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(a[i]);\n }\n return r;\n}\n\nfunction map(a, f) {\n return mapU(a, Curry.__1(f));\n}\n\nfunction flatMapU(a, f) {\n return concatMany(mapU(a, f));\n}\n\nfunction flatMap(a, f) {\n return concatMany(mapU(a, Curry.__1(f)));\n}\n\nfunction getByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = Caml_option.some(v);\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getBy(a, p) {\n return getByU(a, Curry.__1(p));\n}\n\nfunction getIndexByU(a, p) {\n var l = a.length;\n var i = 0;\n var r;\n while(r === undefined && i < l) {\n var v = a[i];\n if (p(v)) {\n r = i;\n }\n i = i + 1 | 0;\n };\n return r;\n}\n\nfunction getIndexBy(a, p) {\n return getIndexByU(a, Curry.__1(p));\n}\n\nfunction keepU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keep(a, f) {\n return keepU(a, Curry.__1(f));\n}\n\nfunction keepWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n if (f(v, i)) {\n r[j] = v;\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepWithIndex(a, f) {\n return keepWithIndexU(a, Curry.__2(f));\n}\n\nfunction keepMapU(a, f) {\n var l = a.length;\n var r = new Array(l);\n var j = 0;\n for(var i = 0; i < l; ++i){\n var v = a[i];\n var v$1 = f(v);\n if (v$1 !== undefined) {\n r[j] = Caml_option.valFromOption(v$1);\n j = j + 1 | 0;\n }\n \n }\n r.length = j;\n return r;\n}\n\nfunction keepMap(a, f) {\n return keepMapU(a, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(a, f) {\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n f(i, a[i]);\n }\n}\n\nfunction forEachWithIndex(a, f) {\n forEachWithIndexU(a, Curry.__2(f));\n}\n\nfunction mapWithIndexU(a, f) {\n var l = a.length;\n var r = new Array(l);\n for(var i = 0; i < l; ++i){\n r[i] = f(i, a[i]);\n }\n return r;\n}\n\nfunction mapWithIndex(a, f) {\n return mapWithIndexU(a, Curry.__2(f));\n}\n\nfunction reduceU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduce(a, x, f) {\n return reduceU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverseU(a, x, f) {\n var r = x;\n for(var i = a.length - 1 | 0; i >= 0; --i){\n r = f(r, a[i]);\n }\n return r;\n}\n\nfunction reduceReverse(a, x, f) {\n return reduceReverseU(a, x, Curry.__2(f));\n}\n\nfunction reduceReverse2U(a, b, x, f) {\n var r = x;\n var len = Caml.int_min(a.length, b.length);\n for(var i = len - 1 | 0; i >= 0; --i){\n r = f(r, a[i], b[i]);\n }\n return r;\n}\n\nfunction reduceReverse2(a, b, x, f) {\n return reduceReverse2U(a, b, x, Curry.__3(f));\n}\n\nfunction reduceWithIndexU(a, x, f) {\n var r = x;\n for(var i = 0 ,i_finish = a.length; i < i_finish; ++i){\n r = f(r, a[i], i);\n }\n return r;\n}\n\nfunction reduceWithIndex(a, x, f) {\n return reduceWithIndexU(a, x, Curry.__3(f));\n}\n\nfunction everyU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every(arr, f) {\n return everyU(arr, Curry.__1(f));\n}\n\nfunction someU(arr, b) {\n var len = arr.length;\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (b(arr[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some(arr, f) {\n return someU(arr, Curry.__1(f));\n}\n\nfunction everyAux2(arr1, arr2, _i, b, len) {\n while(true) {\n var i = _i;\n if (i === len) {\n return true;\n }\n if (!b(arr1[i], arr2[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction every2U(a, b, p) {\n return everyAux2(a, b, 0, p, Caml.int_min(a.length, b.length));\n}\n\nfunction every2(a, b, p) {\n return every2U(a, b, Curry.__2(p));\n}\n\nfunction some2U(a, b, p) {\n var _i = 0;\n var len = Caml.int_min(a.length, b.length);\n while(true) {\n var i = _i;\n if (i === len) {\n return false;\n }\n if (p(a[i], b[i])) {\n return true;\n }\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction some2(a, b, p) {\n return some2U(a, b, Curry.__2(p));\n}\n\nfunction eqU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena === lenb) {\n return everyAux2(a, b, 0, p, lena);\n } else {\n return false;\n }\n}\n\nfunction eq(a, b, p) {\n return eqU(a, b, Curry.__2(p));\n}\n\nfunction cmpU(a, b, p) {\n var lena = a.length;\n var lenb = b.length;\n if (lena > lenb) {\n return 1;\n } else if (lena < lenb) {\n return -1;\n } else {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === lena) {\n return 0;\n }\n var c = p(a[i], b[i]);\n if (c !== 0) {\n return c;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction cmp(a, b, p) {\n return cmpU(a, b, Curry.__2(p));\n}\n\nfunction partitionU(a, f) {\n var l = a.length;\n var i = 0;\n var j = 0;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var ii = 0; ii < l; ++ii){\n var v = a[ii];\n if (f(v)) {\n a1[i] = v;\n i = i + 1 | 0;\n } else {\n a2[j] = v;\n j = j + 1 | 0;\n }\n }\n a1.length = i;\n a2.length = j;\n return [\n a1,\n a2\n ];\n}\n\nfunction partition(a, f) {\n return partitionU(a, Curry.__1(f));\n}\n\nfunction unzip(a) {\n var l = a.length;\n var a1 = new Array(l);\n var a2 = new Array(l);\n for(var i = 0; i < l; ++i){\n var match = a[i];\n a1[i] = match[0];\n a2[i] = match[1];\n }\n return [\n a1,\n a2\n ];\n}\n\nfunction joinWithU(a, sep, toString) {\n var l = a.length;\n if (l === 0) {\n return \"\";\n }\n var lastIndex = l - 1 | 0;\n var _i = 0;\n var _res = \"\";\n while(true) {\n var res = _res;\n var i = _i;\n if (i === lastIndex) {\n return res + toString(a[i]);\n }\n _res = res + (toString(a[i]) + sep);\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction joinWith(a, sep, toString) {\n return joinWithU(a, sep, Curry.__1(toString));\n}\n\nfunction initU(n, f) {\n var v = new Array(n);\n for(var i = 0; i < n; ++i){\n v[i] = f(i);\n }\n return v;\n}\n\nfunction init(n, f) {\n return initU(n, Curry.__1(f));\n}\n\nexports.get = get;\nexports.getExn = getExn;\nexports.set = set;\nexports.setExn = setExn;\nexports.shuffleInPlace = shuffleInPlace;\nexports.shuffle = shuffle;\nexports.reverseInPlace = reverseInPlace;\nexports.reverse = reverse;\nexports.make = make;\nexports.range = range;\nexports.rangeBy = rangeBy;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.makeByAndShuffleU = makeByAndShuffleU;\nexports.makeByAndShuffle = makeByAndShuffle;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.unzip = unzip;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.slice = slice;\nexports.sliceToEnd = sliceToEnd;\nexports.fill = fill;\nexports.blit = blit;\nexports.blitUnsafe = blitUnsafe;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.getIndexByU = getIndexByU;\nexports.getIndexBy = getIndexBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.joinWithU = joinWithU;\nexports.joinWith = joinWith;\nexports.someU = someU;\nexports.some = some;\nexports.everyU = everyU;\nexports.every = every;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.initU = initU;\nexports.init = init;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_Array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_List.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_List.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Belt_SortArray = __webpack_require__(/*! ./belt_SortArray.js */ \"../../../../node_modules/rescript/lib/js/belt_SortArray.js\");\n\nfunction head(x) {\n if (x) {\n return Caml_option.some(x.hd);\n }\n \n}\n\nfunction headExn(x) {\n if (x) {\n return x.hd;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction tail(x) {\n if (x) {\n return x.tl;\n }\n \n}\n\nfunction tailExn(x) {\n if (x) {\n return x.tl;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction add(xs, x) {\n return {\n hd: x,\n tl: xs\n };\n}\n\nfunction get(x, n) {\n if (n < 0) {\n return ;\n } else {\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (!x$1) {\n return ;\n }\n if (n$1 === 0) {\n return Caml_option.some(x$1.hd);\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n };\n }\n}\n\nfunction getExn(x, n) {\n if (n < 0) {\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n }\n var _x = x;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var x$1 = _x;\n if (x$1) {\n if (n$1 === 0) {\n return x$1.hd;\n }\n _n = n$1 - 1 | 0;\n _x = x$1.tl;\n continue ;\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n };\n}\n\nfunction partitionAux(p, _cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var t = cell.tl;\n var h = cell.hd;\n var next = {\n hd: h,\n tl: /* [] */0\n };\n if (p(h)) {\n precX.tl = next;\n _precX = next;\n _cell = t;\n continue ;\n }\n precY.tl = next;\n _precY = next;\n _cell = t;\n continue ;\n };\n}\n\nfunction splitAux(_cell, _precX, _precY) {\n while(true) {\n var precY = _precY;\n var precX = _precX;\n var cell = _cell;\n if (!cell) {\n return ;\n }\n var match = cell.hd;\n var nextA = {\n hd: match[0],\n tl: /* [] */0\n };\n var nextB = {\n hd: match[1],\n tl: /* [] */0\n };\n precX.tl = nextA;\n precY.tl = nextB;\n _precY = nextB;\n _precX = nextA;\n _cell = cell.tl;\n continue ;\n };\n}\n\nfunction copyAuxCont(_cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return prec;\n }\n var next = {\n hd: cellX.hd,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWitFilter(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithFilterIndex(f, _cellX, _prec, _i) {\n while(true) {\n var i = _i;\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h, i)) {\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _i = i + 1 | 0;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _i = i + 1 | 0;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWitFilterMap(f, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var t = cellX.tl;\n var h = f(cellX.hd);\n if (h !== undefined) {\n var next = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n }\n _cellX = t;\n continue ;\n };\n}\n\nfunction removeAssocAuxWithMap(_cellX, x, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (f(h[0], x)) {\n prec.tl = t;\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction setAssocAuxWithMap(_cellX, x, k, _prec, eq) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return false;\n }\n var t = cellX.tl;\n var h = cellX.hd;\n if (eq(h[0], x)) {\n prec.tl = {\n hd: [\n x,\n k\n ],\n tl: t\n };\n return true;\n }\n var next = {\n hd: h,\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = t;\n continue ;\n };\n}\n\nfunction copyAuxWithMap(_cellX, _prec, f) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction zipAux(_cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: [\n cellX.hd,\n cellY.hd\n ],\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMap2(f, _cellX, _cellY, _prec) {\n while(true) {\n var prec = _prec;\n var cellY = _cellY;\n var cellX = _cellX;\n if (!cellX) {\n return ;\n }\n if (!cellY) {\n return ;\n }\n var next = {\n hd: f(cellX.hd, cellY.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellY = cellY.tl;\n _cellX = cellX.tl;\n continue ;\n };\n}\n\nfunction copyAuxWithMapI(f, _i, _cellX, _prec) {\n while(true) {\n var prec = _prec;\n var cellX = _cellX;\n var i = _i;\n if (!cellX) {\n return ;\n }\n var next = {\n hd: f(i, cellX.hd),\n tl: /* [] */0\n };\n prec.tl = next;\n _prec = next;\n _cellX = cellX.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction takeAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return true;\n }\n if (!cell) {\n return false;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction splitAtAux(_n, _cell, _prec) {\n while(true) {\n var prec = _prec;\n var cell = _cell;\n var n = _n;\n if (n === 0) {\n return cell;\n }\n if (!cell) {\n return ;\n }\n var cell$1 = {\n hd: cell.hd,\n tl: /* [] */0\n };\n prec.tl = cell$1;\n _prec = cell$1;\n _cell = cell.tl;\n _n = n - 1 | 0;\n continue ;\n };\n}\n\nfunction take(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return /* [] */0;\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var has = takeAux(n - 1 | 0, lst.tl, cell);\n if (has) {\n return cell;\n }\n \n}\n\nfunction drop(lst, n) {\n if (n < 0) {\n return ;\n } else {\n var _l = lst;\n var _n = n;\n while(true) {\n var n$1 = _n;\n var l = _l;\n if (n$1 === 0) {\n return l;\n }\n if (!l) {\n return ;\n }\n _n = n$1 - 1 | 0;\n _l = l.tl;\n continue ;\n };\n }\n}\n\nfunction splitAt(lst, n) {\n if (n < 0) {\n return ;\n }\n if (n === 0) {\n return [\n /* [] */0,\n lst\n ];\n }\n if (!lst) {\n return ;\n }\n var cell = {\n hd: lst.hd,\n tl: /* [] */0\n };\n var rest = splitAtAux(n - 1 | 0, lst.tl, cell);\n if (rest !== undefined) {\n return [\n cell,\n rest\n ];\n }\n \n}\n\nfunction concat(xs, ys) {\n if (!xs) {\n return ys;\n }\n var cell = {\n hd: xs.hd,\n tl: /* [] */0\n };\n copyAuxCont(xs.tl, cell).tl = ys;\n return cell;\n}\n\nfunction mapU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMap(xs.tl, cell, f);\n return cell;\n}\n\nfunction map(xs, f) {\n return mapU(xs, Curry.__1(f));\n}\n\nfunction zipByU(l1, l2, f) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: f(l1.hd, l2.hd),\n tl: /* [] */0\n };\n copyAuxWithMap2(f, l1.tl, l2.tl, cell);\n return cell;\n}\n\nfunction zipBy(l1, l2, f) {\n return zipByU(l1, l2, Curry.__2(f));\n}\n\nfunction mapWithIndexU(xs, f) {\n if (!xs) {\n return /* [] */0;\n }\n var cell = {\n hd: f(0, xs.hd),\n tl: /* [] */0\n };\n copyAuxWithMapI(f, 1, xs.tl, cell);\n return cell;\n}\n\nfunction mapWithIndex(xs, f) {\n return mapWithIndexU(xs, Curry.__2(f));\n}\n\nfunction makeByU(n, f) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: f(0),\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v = {\n hd: f(i),\n tl: /* [] */0\n };\n cur.tl = v;\n cur = v;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction makeBy(n, f) {\n return makeByU(n, Curry.__1(f));\n}\n\nfunction make(n, v) {\n if (n <= 0) {\n return /* [] */0;\n }\n var headX = {\n hd: v,\n tl: /* [] */0\n };\n var cur = headX;\n var i = 1;\n while(i < n) {\n var v$1 = {\n hd: v,\n tl: /* [] */0\n };\n cur.tl = v$1;\n cur = v$1;\n i = i + 1 | 0;\n };\n return headX;\n}\n\nfunction length(xs) {\n var _x = xs;\n var _acc = 0;\n while(true) {\n var acc = _acc;\n var x = _x;\n if (!x) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _x = x.tl;\n continue ;\n };\n}\n\nfunction fillAux(arr, _i, _x) {\n while(true) {\n var x = _x;\n var i = _i;\n if (!x) {\n return ;\n }\n arr[i] = x.hd;\n _x = x.tl;\n _i = i + 1 | 0;\n continue ;\n };\n}\n\nfunction fromArray(a) {\n var _i = a.length - 1 | 0;\n var _res = /* [] */0;\n while(true) {\n var res = _res;\n var i = _i;\n if (i < 0) {\n return res;\n }\n _res = {\n hd: a[i],\n tl: res\n };\n _i = i - 1 | 0;\n continue ;\n };\n}\n\nfunction toArray(x) {\n var len = length(x);\n var arr = new Array(len);\n fillAux(arr, 0, x);\n return arr;\n}\n\nfunction shuffle(xs) {\n var v = toArray(xs);\n Belt_Array.shuffleInPlace(v);\n return fromArray(v);\n}\n\nfunction reverseConcat(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return l2;\n }\n _l2 = {\n hd: l1.hd,\n tl: l2\n };\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reverse(l) {\n return reverseConcat(l, /* [] */0);\n}\n\nfunction flattenAux(_prec, _xs) {\n while(true) {\n var xs = _xs;\n var prec = _prec;\n if (xs) {\n _xs = xs.tl;\n _prec = copyAuxCont(xs.hd, prec);\n continue ;\n }\n prec.tl = /* [] */0;\n return ;\n };\n}\n\nfunction flatten(_xs) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var match = xs.hd;\n if (match) {\n var cell = {\n hd: match.hd,\n tl: /* [] */0\n };\n flattenAux(copyAuxCont(match.tl, cell), xs.tl);\n return cell;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction concatMany(xs) {\n var len = xs.length;\n if (len === 1) {\n return xs[0];\n }\n if (len === 0) {\n return /* [] */0;\n }\n var len$1 = xs.length;\n var v = xs[len$1 - 1 | 0];\n for(var i = len$1 - 2 | 0; i >= 0; --i){\n v = concat(xs[i], v);\n }\n return v;\n}\n\nfunction mapReverseU(l, f) {\n var _accu = /* [] */0;\n var _xs = l;\n while(true) {\n var xs = _xs;\n var accu = _accu;\n if (!xs) {\n return accu;\n }\n _xs = xs.tl;\n _accu = {\n hd: f(xs.hd),\n tl: accu\n };\n continue ;\n };\n}\n\nfunction mapReverse(l, f) {\n return mapReverseU(l, Curry.__1(f));\n}\n\nfunction forEachU(_xs, f) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(xs.hd);\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEach(xs, f) {\n forEachU(xs, Curry.__1(f));\n}\n\nfunction forEachWithIndexU(l, f) {\n var _xs = l;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs = _xs;\n if (!xs) {\n return ;\n }\n f(i, xs.hd);\n _i = i + 1 | 0;\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction forEachWithIndex(l, f) {\n forEachWithIndexU(l, Curry.__2(f));\n}\n\nfunction reduceU(_l, _accu, f) {\n while(true) {\n var accu = _accu;\n var l = _l;\n if (!l) {\n return accu;\n }\n _accu = f(accu, l.hd);\n _l = l.tl;\n continue ;\n };\n}\n\nfunction reduce(l, accu, f) {\n return reduceU(l, accu, Curry.__2(f));\n}\n\nfunction reduceReverseUnsafeU(l, accu, f) {\n if (l) {\n return f(reduceReverseUnsafeU(l.tl, accu, f), l.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverseU(l, acc, f) {\n var len = length(l);\n if (len < 1000) {\n return reduceReverseUnsafeU(l, acc, f);\n } else {\n return Belt_Array.reduceReverseU(toArray(l), acc, f);\n }\n}\n\nfunction reduceReverse(l, accu, f) {\n return reduceReverseU(l, accu, Curry.__2(f));\n}\n\nfunction reduceWithIndexU(l, acc, f) {\n var _l = l;\n var _acc = acc;\n var _i = 0;\n while(true) {\n var i = _i;\n var acc$1 = _acc;\n var l$1 = _l;\n if (!l$1) {\n return acc$1;\n }\n _i = i + 1 | 0;\n _acc = f(acc$1, l$1.hd, i);\n _l = l$1.tl;\n continue ;\n };\n}\n\nfunction reduceWithIndex(l, acc, f) {\n return reduceWithIndexU(l, acc, Curry.__3(f));\n}\n\nfunction mapReverse2U(l1, l2, f) {\n var _l1 = l1;\n var _l2 = l2;\n var _accu = /* [] */0;\n while(true) {\n var accu = _accu;\n var l2$1 = _l2;\n var l1$1 = _l1;\n if (!l1$1) {\n return accu;\n }\n if (!l2$1) {\n return accu;\n }\n _accu = {\n hd: f(l1$1.hd, l2$1.hd),\n tl: accu\n };\n _l2 = l2$1.tl;\n _l1 = l1$1.tl;\n continue ;\n };\n}\n\nfunction mapReverse2(l1, l2, f) {\n return mapReverse2U(l1, l2, Curry.__2(f));\n}\n\nfunction forEach2U(_l1, _l2, f) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return ;\n }\n if (!l2) {\n return ;\n }\n f(l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction forEach2(l1, l2, f) {\n forEach2U(l1, l2, Curry.__2(f));\n}\n\nfunction reduce2U(_l1, _l2, _accu, f) {\n while(true) {\n var accu = _accu;\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return accu;\n }\n if (!l2) {\n return accu;\n }\n _accu = f(accu, l1.hd, l2.hd);\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction reduce2(l1, l2, acc, f) {\n return reduce2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction reduceReverse2UnsafeU(l1, l2, accu, f) {\n if (l1 && l2) {\n return f(reduceReverse2UnsafeU(l1.tl, l2.tl, accu, f), l1.hd, l2.hd);\n } else {\n return accu;\n }\n}\n\nfunction reduceReverse2U(l1, l2, acc, f) {\n var len = length(l1);\n if (len < 1000) {\n return reduceReverse2UnsafeU(l1, l2, acc, f);\n } else {\n return Belt_Array.reduceReverse2U(toArray(l1), toArray(l2), acc, f);\n }\n}\n\nfunction reduceReverse2(l1, l2, acc, f) {\n return reduceReverse2U(l1, l2, acc, Curry.__3(f));\n}\n\nfunction everyU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return true;\n }\n if (!p(xs.hd)) {\n return false;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction every(xs, p) {\n return everyU(xs, Curry.__1(p));\n}\n\nfunction someU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (p(xs.hd)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction some(xs, p) {\n return someU(xs, Curry.__1(p));\n}\n\nfunction every2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return true;\n }\n if (!l2) {\n return true;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction every2(l1, l2, p) {\n return every2U(l1, l2, Curry.__2(p));\n}\n\nfunction cmpByLength(_l1, _l2) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmpU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return -1;\n } else {\n return 0;\n }\n }\n if (!l2) {\n return 1;\n }\n var c = p(l1.hd, l2.hd);\n if (c !== 0) {\n return c;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction cmp(l1, l2, f) {\n return cmpU(l1, l2, Curry.__2(f));\n}\n\nfunction eqU(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n if (l2) {\n return false;\n } else {\n return true;\n }\n }\n if (!l2) {\n return false;\n }\n if (!p(l1.hd, l2.hd)) {\n return false;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction eq(l1, l2, f) {\n return eqU(l1, l2, Curry.__2(f));\n}\n\nfunction some2U(_l1, _l2, p) {\n while(true) {\n var l2 = _l2;\n var l1 = _l1;\n if (!l1) {\n return false;\n }\n if (!l2) {\n return false;\n }\n if (p(l1.hd, l2.hd)) {\n return true;\n }\n _l2 = l2.tl;\n _l1 = l1.tl;\n continue ;\n };\n}\n\nfunction some2(l1, l2, p) {\n return some2U(l1, l2, Curry.__2(p));\n}\n\nfunction hasU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd, x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction has(xs, x, eq) {\n return hasU(xs, x, Curry.__2(eq));\n}\n\nfunction getAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var match = xs.hd;\n if (eq(match[0], x)) {\n return Caml_option.some(match[1]);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getAssoc(xs, x, eq) {\n return getAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction hasAssocU(_xs, x, eq) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return false;\n }\n if (eq(xs.hd[0], x)) {\n return true;\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction hasAssoc(xs, x, eq) {\n return hasAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction removeAssocU(xs, x, eq) {\n if (!xs) {\n return /* [] */0;\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return l;\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var removed = removeAssocAuxWithMap(l, x, cell, eq);\n if (removed) {\n return cell;\n } else {\n return xs;\n }\n}\n\nfunction removeAssoc(xs, x, eq) {\n return removeAssocU(xs, x, Curry.__2(eq));\n}\n\nfunction setAssocU(xs, x, k, eq) {\n if (!xs) {\n return {\n hd: [\n x,\n k\n ],\n tl: /* [] */0\n };\n }\n var l = xs.tl;\n var pair = xs.hd;\n if (eq(pair[0], x)) {\n return {\n hd: [\n x,\n k\n ],\n tl: l\n };\n }\n var cell = {\n hd: pair,\n tl: /* [] */0\n };\n var replaced = setAssocAuxWithMap(l, x, k, cell, eq);\n if (replaced) {\n return cell;\n } else {\n return {\n hd: [\n x,\n k\n ],\n tl: xs\n };\n }\n}\n\nfunction setAssoc(xs, x, k, eq) {\n return setAssocU(xs, x, k, Curry.__2(eq));\n}\n\nfunction sortU(xs, cmp) {\n var arr = toArray(xs);\n Belt_SortArray.stableSortInPlaceByU(arr, cmp);\n return fromArray(arr);\n}\n\nfunction sort(xs, cmp) {\n return sortU(xs, Curry.__2(cmp));\n}\n\nfunction getByU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return ;\n }\n var x = xs.hd;\n if (p(x)) {\n return Caml_option.some(x);\n }\n _xs = xs.tl;\n continue ;\n };\n}\n\nfunction getBy(xs, p) {\n return getByU(xs, Curry.__1(p));\n}\n\nfunction keepU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = xs.hd;\n if (p(h)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWitFilter(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keep(xs, p) {\n return keepU(xs, Curry.__1(p));\n}\n\nfunction keepWithIndexU(xs, p) {\n var _xs = xs;\n var _i = 0;\n while(true) {\n var i = _i;\n var xs$1 = _xs;\n if (!xs$1) {\n return /* [] */0;\n }\n var t = xs$1.tl;\n var h = xs$1.hd;\n if (p(h, i)) {\n var cell = {\n hd: h,\n tl: /* [] */0\n };\n copyAuxWithFilterIndex(p, t, cell, i + 1 | 0);\n return cell;\n }\n _i = i + 1 | 0;\n _xs = t;\n continue ;\n };\n}\n\nfunction keepWithIndex(xs, p) {\n return keepWithIndexU(xs, Curry.__2(p));\n}\n\nfunction keepMapU(_xs, p) {\n while(true) {\n var xs = _xs;\n if (!xs) {\n return /* [] */0;\n }\n var t = xs.tl;\n var h = p(xs.hd);\n if (h !== undefined) {\n var cell = {\n hd: Caml_option.valFromOption(h),\n tl: /* [] */0\n };\n copyAuxWitFilterMap(p, t, cell);\n return cell;\n }\n _xs = t;\n continue ;\n };\n}\n\nfunction keepMap(xs, p) {\n return keepMapU(xs, Curry.__1(p));\n}\n\nfunction partitionU(l, p) {\n if (!l) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var h = l.hd;\n var nextX = {\n hd: h,\n tl: /* [] */0\n };\n var nextY = {\n hd: h,\n tl: /* [] */0\n };\n var b = p(h);\n partitionAux(p, l.tl, nextX, nextY);\n if (b) {\n return [\n nextX,\n nextY.tl\n ];\n } else {\n return [\n nextX.tl,\n nextY\n ];\n }\n}\n\nfunction partition(l, p) {\n return partitionU(l, Curry.__1(p));\n}\n\nfunction unzip(xs) {\n if (!xs) {\n return [\n /* [] */0,\n /* [] */0\n ];\n }\n var match = xs.hd;\n var cellX = {\n hd: match[0],\n tl: /* [] */0\n };\n var cellY = {\n hd: match[1],\n tl: /* [] */0\n };\n splitAux(xs.tl, cellX, cellY);\n return [\n cellX,\n cellY\n ];\n}\n\nfunction zip(l1, l2) {\n if (!l1) {\n return /* [] */0;\n }\n if (!l2) {\n return /* [] */0;\n }\n var cell = {\n hd: [\n l1.hd,\n l2.hd\n ],\n tl: /* [] */0\n };\n zipAux(l1.tl, l2.tl, cell);\n return cell;\n}\n\nvar size = length;\n\nvar filter = keep;\n\nvar filterWithIndex = keepWithIndex;\n\nexports.length = length;\nexports.size = size;\nexports.head = head;\nexports.headExn = headExn;\nexports.tail = tail;\nexports.tailExn = tailExn;\nexports.add = add;\nexports.get = get;\nexports.getExn = getExn;\nexports.make = make;\nexports.makeByU = makeByU;\nexports.makeBy = makeBy;\nexports.shuffle = shuffle;\nexports.drop = drop;\nexports.take = take;\nexports.splitAt = splitAt;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.reverseConcat = reverseConcat;\nexports.flatten = flatten;\nexports.mapU = mapU;\nexports.map = map;\nexports.zip = zip;\nexports.zipByU = zipByU;\nexports.zipBy = zipBy;\nexports.mapWithIndexU = mapWithIndexU;\nexports.mapWithIndex = mapWithIndex;\nexports.fromArray = fromArray;\nexports.toArray = toArray;\nexports.reverse = reverse;\nexports.mapReverseU = mapReverseU;\nexports.mapReverse = mapReverse;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.forEachWithIndexU = forEachWithIndexU;\nexports.forEachWithIndex = forEachWithIndex;\nexports.reduceU = reduceU;\nexports.reduce = reduce;\nexports.reduceWithIndexU = reduceWithIndexU;\nexports.reduceWithIndex = reduceWithIndex;\nexports.reduceReverseU = reduceReverseU;\nexports.reduceReverse = reduceReverse;\nexports.mapReverse2U = mapReverse2U;\nexports.mapReverse2 = mapReverse2;\nexports.forEach2U = forEach2U;\nexports.forEach2 = forEach2;\nexports.reduce2U = reduce2U;\nexports.reduce2 = reduce2;\nexports.reduceReverse2U = reduceReverse2U;\nexports.reduceReverse2 = reduceReverse2;\nexports.everyU = everyU;\nexports.every = every;\nexports.someU = someU;\nexports.some = some;\nexports.every2U = every2U;\nexports.every2 = every2;\nexports.some2U = some2U;\nexports.some2 = some2;\nexports.cmpByLength = cmpByLength;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.hasU = hasU;\nexports.has = has;\nexports.getByU = getByU;\nexports.getBy = getBy;\nexports.keepU = keepU;\nexports.keep = keep;\nexports.filter = filter;\nexports.keepWithIndexU = keepWithIndexU;\nexports.keepWithIndex = keepWithIndex;\nexports.filterWithIndex = filterWithIndex;\nexports.keepMapU = keepMapU;\nexports.keepMap = keepMap;\nexports.partitionU = partitionU;\nexports.partition = partition;\nexports.unzip = unzip;\nexports.getAssocU = getAssocU;\nexports.getAssoc = getAssoc;\nexports.hasAssocU = hasAssocU;\nexports.hasAssoc = hasAssoc;\nexports.removeAssocU = removeAssocU;\nexports.removeAssoc = removeAssoc;\nexports.setAssocU = setAssocU;\nexports.setAssoc = setAssoc;\nexports.sortU = sortU;\nexports.sort = sort;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_List.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_Option.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_Option.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction keepU(opt, p) {\n if (opt !== undefined && p(Caml_option.valFromOption(opt))) {\n return opt;\n }\n \n}\n\nfunction keep(opt, p) {\n return keepU(opt, Curry.__1(p));\n}\n\nfunction forEachU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction forEach(opt, f) {\n forEachU(opt, Curry.__1(f));\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw {\n RE_EXN_ID: \"Not_found\",\n Error: new Error()\n };\n}\n\nfunction mapWithDefaultU(opt, $$default, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n } else {\n return $$default;\n }\n}\n\nfunction mapWithDefault(opt, $$default, f) {\n return mapWithDefaultU(opt, $$default, Curry.__1(f));\n}\n\nfunction mapU(opt, f) {\n if (opt !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(opt)));\n }\n \n}\n\nfunction map(opt, f) {\n return mapU(opt, Curry.__1(f));\n}\n\nfunction flatMapU(opt, f) {\n if (opt !== undefined) {\n return f(Caml_option.valFromOption(opt));\n }\n \n}\n\nfunction flatMap(opt, f) {\n return flatMapU(opt, Curry.__1(f));\n}\n\nfunction getWithDefault(opt, $$default) {\n if (opt !== undefined) {\n return Caml_option.valFromOption(opt);\n } else {\n return $$default;\n }\n}\n\nfunction orElse(opt, other) {\n if (opt !== undefined) {\n return opt;\n } else {\n return other;\n }\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isNone(x) {\n return x === undefined;\n}\n\nfunction eqU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction eq(a, b, f) {\n return eqU(a, b, Curry.__2(f));\n}\n\nfunction cmpU(a, b, f) {\n if (a !== undefined) {\n if (b !== undefined) {\n return f(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return 1;\n }\n } else if (b !== undefined) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction cmp(a, b, f) {\n return cmpU(a, b, Curry.__2(f));\n}\n\nexports.keepU = keepU;\nexports.keep = keep;\nexports.forEachU = forEachU;\nexports.forEach = forEach;\nexports.getExn = getExn;\nexports.mapWithDefaultU = mapWithDefaultU;\nexports.mapWithDefault = mapWithDefault;\nexports.mapU = mapU;\nexports.map = map;\nexports.flatMapU = flatMapU;\nexports.flatMap = flatMap;\nexports.getWithDefault = getWithDefault;\nexports.orElse = orElse;\nexports.isSome = isSome;\nexports.isNone = isNone;\nexports.eqU = eqU;\nexports.eq = eq;\nexports.cmpU = cmpU;\nexports.cmp = cmp;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_Option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/belt_SortArray.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/belt_SortArray.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Belt_Array = __webpack_require__(/*! ./belt_Array.js */ \"../../../../node_modules/rescript/lib/js/belt_Array.js\");\n\nfunction sortedLengthAuxMore(xs, _prec, _acc, len, lt) {\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(v, prec)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n}\n\nfunction strictlySortedLengthU(xs, lt) {\n var len = xs.length;\n if (len === 0 || len === 1) {\n return len;\n }\n var x0 = xs[0];\n var x1 = xs[1];\n if (lt(x0, x1)) {\n var _prec = x1;\n var _acc = 2;\n while(true) {\n var acc = _acc;\n var prec = _prec;\n if (acc >= len) {\n return acc;\n }\n var v = xs[acc];\n if (!lt(prec, v)) {\n return acc;\n }\n _acc = acc + 1 | 0;\n _prec = v;\n continue ;\n };\n } else if (lt(x1, x0)) {\n return -sortedLengthAuxMore(xs, x1, 2, len, lt) | 0;\n } else {\n return 1;\n }\n}\n\nfunction strictlySortedLength(xs, lt) {\n return strictlySortedLengthU(xs, Curry.__2(lt));\n}\n\nfunction isSortedU(a, cmp) {\n var len = a.length;\n if (len === 0) {\n return true;\n } else {\n var _i = 0;\n var last_bound = len - 1 | 0;\n while(true) {\n var i = _i;\n if (i === last_bound) {\n return true;\n }\n if (cmp(a[i], a[i + 1 | 0]) > 0) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n }\n}\n\nfunction isSorted(a, cmp) {\n return isSortedU(a, Curry.__2(cmp));\n}\n\nfunction merge(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n if (cmp(s1, s2) <= 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return Belt_Array.blitUnsafe(src2, i2, dst, d + 1 | 0, src2r - i2 | 0);\n }\n _d = d + 1 | 0;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n dst[d] = s2;\n var i2$1 = i2 + 1 | 0;\n if (i2$1 >= src2r) {\n return Belt_Array.blitUnsafe(src, i1, dst, d + 1 | 0, src1r - i1 | 0);\n }\n _d = d + 1 | 0;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n continue ;\n };\n}\n\nfunction unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var i1$1 = i1 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (i1$1 < src1r) {\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n Belt_Array.blitUnsafe(src2, i2, dst, d$1, src2r - i2 | 0);\n return (d$1 + src2r | 0) - i2 | 0;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$2 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n Belt_Array.blitUnsafe(src2, i2$1, dst, d$2, src2r - i2$1 | 0);\n return (d$2 + src2r | 0) - i2$1 | 0;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d$2, src1r - i1$2 | 0);\n return (d$2 + src1r | 0) - i1$2 | 0;\n }\n }\n _d = d$2;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n dst[d] = s2;\n var i2$2 = i2 + 1 | 0;\n var d$3 = d + 1 | 0;\n if (i2$2 < src2r) {\n _d = d$3;\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d$3, src1r - i1 | 0);\n return (d$3 + src1r | 0) - i1 | 0;\n };\n}\n\nfunction union(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return unionU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d;\n }\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n dst[d] = s1;\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n var d$1 = d + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n return d$1;\n }\n _d = d$1;\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 >= src2r) {\n return d;\n }\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n };\n}\n\nfunction intersect(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return intersectU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n var src1r = src1ofs + src1len | 0;\n var src2r = src2ofs + src2len | 0;\n var _i1 = src1ofs;\n var _s1 = src[src1ofs];\n var _i2 = src2ofs;\n var _s2 = src2[src2ofs];\n var _d = dstofs;\n while(true) {\n var d = _d;\n var s2 = _s2;\n var i2 = _i2;\n var s1 = _s1;\n var i1 = _i1;\n var c = cmp(s1, s2);\n if (c < 0) {\n dst[d] = s1;\n var d$1 = d + 1 | 0;\n var i1$1 = i1 + 1 | 0;\n if (i1$1 >= src1r) {\n return d$1;\n }\n _d = d$1;\n _s1 = src[i1$1];\n _i1 = i1$1;\n continue ;\n }\n if (c === 0) {\n var i1$2 = i1 + 1 | 0;\n var i2$1 = i2 + 1 | 0;\n if (!(i1$2 < src1r && i2$1 < src2r)) {\n if (i1$2 === src1r) {\n return d;\n } else {\n Belt_Array.blitUnsafe(src, i1$2, dst, d, src1r - i1$2 | 0);\n return (d + src1r | 0) - i1$2 | 0;\n }\n }\n _s2 = src2[i2$1];\n _i2 = i2$1;\n _s1 = src[i1$2];\n _i1 = i1$2;\n continue ;\n }\n var i2$2 = i2 + 1 | 0;\n if (i2$2 < src2r) {\n _s2 = src2[i2$2];\n _i2 = i2$2;\n continue ;\n }\n Belt_Array.blitUnsafe(src, i1, dst, d, src1r - i1 | 0);\n return (d + src1r | 0) - i1 | 0;\n };\n}\n\nfunction diff(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, cmp) {\n return diffU(src, src1ofs, src1len, src2, src2ofs, src2len, dst, dstofs, Curry.__2(cmp));\n}\n\nfunction insertionSort(src, srcofs, dst, dstofs, len, cmp) {\n for(var i = 0; i < len; ++i){\n var e = src[srcofs + i | 0];\n var j = (dstofs + i | 0) - 1 | 0;\n while(j >= dstofs && cmp(dst[j], e) > 0) {\n dst[j + 1 | 0] = dst[j];\n j = j - 1 | 0;\n };\n dst[j + 1 | 0] = e;\n }\n}\n\nfunction sortTo(src, srcofs, dst, dstofs, len, cmp) {\n if (len <= 5) {\n return insertionSort(src, srcofs, dst, dstofs, len, cmp);\n }\n var l1 = len / 2 | 0;\n var l2 = len - l1 | 0;\n sortTo(src, srcofs + l1 | 0, dst, dstofs + l1 | 0, l2, cmp);\n sortTo(src, srcofs, src, srcofs + l2 | 0, l1, cmp);\n merge(src, srcofs + l2 | 0, l1, dst, dstofs + l1 | 0, l2, dst, dstofs, cmp);\n}\n\nfunction stableSortInPlaceByU(a, cmp) {\n var l = a.length;\n if (l <= 5) {\n return insertionSort(a, 0, a, 0, l, cmp);\n }\n var l1 = l / 2 | 0;\n var l2 = l - l1 | 0;\n var t = new Array(l2);\n sortTo(a, l1, t, 0, l2, cmp);\n sortTo(a, 0, a, l2, l1, cmp);\n merge(a, l2, l1, t, 0, l2, a, 0, cmp);\n}\n\nfunction stableSortInPlaceBy(a, cmp) {\n stableSortInPlaceByU(a, Curry.__2(cmp));\n}\n\nfunction stableSortByU(a, cmp) {\n var b = a.slice(0);\n stableSortInPlaceByU(b, cmp);\n return b;\n}\n\nfunction stableSortBy(a, cmp) {\n return stableSortByU(a, Curry.__2(cmp));\n}\n\nfunction binarySearchByU(sorted, key, cmp) {\n var len = sorted.length;\n if (len === 0) {\n return -1;\n }\n var lo = sorted[0];\n var c = cmp(key, lo);\n if (c < 0) {\n return -1;\n }\n var hi = sorted[len - 1 | 0];\n var c2 = cmp(key, hi);\n if (c2 > 0) {\n return -(len + 1 | 0) | 0;\n } else {\n var _lo = 0;\n var _hi = len - 1 | 0;\n while(true) {\n var hi$1 = _hi;\n var lo$1 = _lo;\n var mid = (lo$1 + hi$1 | 0) / 2 | 0;\n var midVal = sorted[mid];\n var c$1 = cmp(key, midVal);\n if (c$1 === 0) {\n return mid;\n }\n if (c$1 < 0) {\n if (hi$1 === mid) {\n if (cmp(sorted[lo$1], key) === 0) {\n return lo$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _hi = mid;\n continue ;\n }\n if (lo$1 === mid) {\n if (cmp(sorted[hi$1], key) === 0) {\n return hi$1;\n } else {\n return -(hi$1 + 1 | 0) | 0;\n }\n }\n _lo = mid;\n continue ;\n };\n }\n}\n\nfunction binarySearchBy(sorted, key, cmp) {\n return binarySearchByU(sorted, key, Curry.__2(cmp));\n}\n\nvar Int;\n\nvar $$String;\n\nexports.Int = Int;\nexports.$$String = $$String;\nexports.strictlySortedLengthU = strictlySortedLengthU;\nexports.strictlySortedLength = strictlySortedLength;\nexports.isSortedU = isSortedU;\nexports.isSorted = isSorted;\nexports.stableSortInPlaceByU = stableSortInPlaceByU;\nexports.stableSortInPlaceBy = stableSortInPlaceBy;\nexports.stableSortByU = stableSortByU;\nexports.stableSortBy = stableSortBy;\nexports.binarySearchByU = binarySearchByU;\nexports.binarySearchBy = binarySearchBy;\nexports.unionU = unionU;\nexports.union = union;\nexports.intersectU = intersectU;\nexports.intersect = intersect;\nexports.diffU = diffU;\nexports.diff = diff;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/belt_SortArray.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml.js": -/*!********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml.js ***! - \********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction int_compare(x, y) {\n if (x < y) {\n return -1;\n } else if (x === y) {\n return 0;\n } else {\n return 1;\n }\n}\n\nfunction bool_compare(x, y) {\n if (x) {\n if (y) {\n return 0;\n } else {\n return 1;\n }\n } else if (y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction float_compare(x, y) {\n if (x === y) {\n return 0;\n } else if (x < y) {\n return -1;\n } else if (x > y || x === x) {\n return 1;\n } else if (y === y) {\n return -1;\n } else {\n return 0;\n }\n}\n\nfunction string_compare(s1, s2) {\n if (s1 === s2) {\n return 0;\n } else if (s1 < s2) {\n return -1;\n } else {\n return 1;\n }\n}\n\nfunction bool_min(x, y) {\n if (x) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction int_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_min(x, y) {\n if (x < y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction bool_max(x, y) {\n if (x) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction int_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction float_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction string_max(x, y) {\n if (x > y) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction i64_eq(x, y) {\n if (x[1] === y[1]) {\n return x[0] === y[0];\n } else {\n return false;\n }\n}\n\nfunction i64_ge(param, param$1) {\n var other_hi = param$1[0];\n var hi = param[0];\n if (hi > other_hi) {\n return true;\n } else if (hi < other_hi) {\n return false;\n } else {\n return param[1] >= param$1[1];\n }\n}\n\nfunction i64_neq(x, y) {\n return !i64_eq(x, y);\n}\n\nfunction i64_lt(x, y) {\n return !i64_ge(x, y);\n}\n\nfunction i64_gt(x, y) {\n if (x[0] > y[0]) {\n return true;\n } else if (x[0] < y[0]) {\n return false;\n } else {\n return x[1] > y[1];\n }\n}\n\nfunction i64_le(x, y) {\n return !i64_gt(x, y);\n}\n\nfunction i64_min(x, y) {\n if (i64_ge(x, y)) {\n return y;\n } else {\n return x;\n }\n}\n\nfunction i64_max(x, y) {\n if (i64_gt(x, y)) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.int_compare = int_compare;\nexports.bool_compare = bool_compare;\nexports.float_compare = float_compare;\nexports.string_compare = string_compare;\nexports.bool_min = bool_min;\nexports.int_min = int_min;\nexports.float_min = float_min;\nexports.string_min = string_min;\nexports.bool_max = bool_max;\nexports.int_max = int_max;\nexports.float_max = float_max;\nexports.string_max = string_max;\nexports.i64_eq = i64_eq;\nexports.i64_neq = i64_neq;\nexports.i64_lt = i64_lt;\nexports.i64_gt = i64_gt;\nexports.i64_le = i64_le;\nexports.i64_ge = i64_ge;\nexports.i64_min = i64_min;\nexports.i64_max = i64_max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_array.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_array.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction sub(x, offset, len) {\n var result = new Array(len);\n var j = 0;\n var i = offset;\n while(j < len) {\n result[j] = x[i];\n j = j + 1 | 0;\n i = i + 1 | 0;\n };\n return result;\n}\n\nfunction len(_acc, _l) {\n while(true) {\n var l = _l;\n var acc = _acc;\n if (!l) {\n return acc;\n }\n _l = l.tl;\n _acc = l.hd.length + acc | 0;\n continue ;\n };\n}\n\nfunction fill(arr, _i, _l) {\n while(true) {\n var l = _l;\n var i = _i;\n if (!l) {\n return ;\n }\n var x = l.hd;\n var l$1 = x.length;\n var k = i;\n var j = 0;\n while(j < l$1) {\n arr[k] = x[j];\n k = k + 1 | 0;\n j = j + 1 | 0;\n };\n _l = l.tl;\n _i = k;\n continue ;\n };\n}\n\nfunction concat(l) {\n var v = len(0, l);\n var result = new Array(v);\n fill(result, 0, l);\n return result;\n}\n\nfunction set(xs, index, newval) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n xs[index] = newval;\n}\n\nfunction get(xs, index) {\n if (index < 0 || index >= xs.length) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"index out of bounds\",\n Error: new Error()\n };\n }\n return xs[index];\n}\n\nfunction make(len, init) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = init;\n }\n return b;\n}\n\nfunction make_float(len) {\n var b = new Array(len);\n for(var i = 0; i < len; ++i){\n b[i] = 0;\n }\n return b;\n}\n\nfunction blit(a1, i1, a2, i2, len) {\n if (i2 <= i1) {\n for(var j = 0; j < len; ++j){\n a2[j + i2 | 0] = a1[j + i1 | 0];\n }\n return ;\n }\n for(var j$1 = len - 1 | 0; j$1 >= 0; --j$1){\n a2[j$1 + i2 | 0] = a1[j$1 + i1 | 0];\n }\n}\n\nfunction dup(prim) {\n return prim.slice(0);\n}\n\nexports.dup = dup;\nexports.sub = sub;\nexports.concat = concat;\nexports.make = make;\nexports.make_float = make_float;\nexports.blit = blit;\nexports.get = get;\nexports.set = set;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_exceptions.js": -/*!*******************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_exceptions.js ***! - \*******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar id = {\n contents: 0\n};\n\nfunction create(str) {\n id.contents = id.contents + 1 | 0;\n return str + (\"/\" + id.contents);\n}\n\nfunction is_extension(e) {\n if (e == null) {\n return false;\n } else {\n return typeof e.RE_EXN_ID === \"string\";\n }\n}\n\nfunction exn_slot_name(x) {\n return x.RE_EXN_ID;\n}\n\nexports.id = id;\nexports.create = create;\nexports.is_extension = is_extension;\nexports.exn_slot_name = exn_slot_name;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_exceptions.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_js_exceptions.js": -/*!**********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_js_exceptions.js ***! - \**********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_exceptions = __webpack_require__(/*! ./caml_exceptions.js */ \"../../../../node_modules/rescript/lib/js/caml_exceptions.js\");\n\nvar $$Error = \"JsError\";\n\nfunction internalToOCamlException(e) {\n if (Caml_exceptions.is_extension(e)) {\n return e;\n } else {\n return {\n RE_EXN_ID: \"JsError\",\n _1: e\n };\n }\n}\n\nfunction as_js_exn(exn) {\n if (exn.RE_EXN_ID === $$Error) {\n return Caml_option.some(exn._1);\n }\n \n}\n\nexports.$$Error = $$Error;\nexports.internalToOCamlException = internalToOCamlException;\nexports.as_js_exn = as_js_exn;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_js_exceptions.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_obj.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_obj.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml = __webpack_require__(/*! ./caml.js */ \"../../../../node_modules/rescript/lib/js/caml.js\");\n\nvar for_in = (function(o,foo){\n for (var x in o) { foo(x) }});\n\nvar obj_dup = (function(x){\n if(Array.isArray(x)){\n var len = x.length \n var v = new Array(len)\n for(var i = 0 ; i < len ; ++i){\n v[i] = x[i]\n }\n if(x.TAG !== undefined){\n v.TAG = x.TAG // TODO this can be removed eventually\n } \n return v \n } \n return Object.assign({},x) \n});\n\nvar update_dummy = (function(x,y){\n var k \n if(Array.isArray(y)){\n for(k = 0; k < y.length ; ++k){\n x[k] = y[k]\n }\n if(y.TAG !== undefined){\n x.TAG = y.TAG\n }\n } else {\n for (var k in y){\n x[k] = y[k]\n }\n }\n});\n\nfunction compare(a, b) {\n if (a === b) {\n return 0;\n }\n var a_type = typeof a;\n var b_type = typeof b;\n switch (a_type) {\n case \"boolean\" :\n if (b_type === \"boolean\") {\n return Caml.bool_compare(a, b);\n }\n break;\n case \"function\" :\n if (b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"compare: functional value\",\n Error: new Error()\n };\n }\n break;\n case \"number\" :\n if (b_type === \"number\") {\n return Caml.float_compare(a, b);\n }\n break;\n case \"string\" :\n if (b_type === \"string\") {\n return Caml.string_compare(a, b);\n } else {\n return 1;\n }\n case \"undefined\" :\n return -1;\n default:\n \n }\n switch (b_type) {\n case \"string\" :\n return -1;\n case \"undefined\" :\n return 1;\n default:\n if (a_type === \"boolean\") {\n return 1;\n }\n if (b_type === \"boolean\") {\n return -1;\n }\n if (a_type === \"function\") {\n return 1;\n }\n if (b_type === \"function\") {\n return -1;\n }\n if (a_type === \"number\") {\n if (b === null || b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b_type === \"number\") {\n if (a === null || a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a === null) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return 1;\n } else {\n return -1;\n }\n }\n if (b === null) {\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return -1;\n } else {\n return 1;\n }\n }\n if (a.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n if (b.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return aux_obj_compare(a, b);\n } else {\n return -1;\n }\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return Caml.int_compare(a[1], b[1]);\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n if (tag_a < tag_b) {\n return -1;\n } else {\n return 1;\n }\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return 0;\n }\n var res = compare(a[i], b[i]);\n if (res !== 0) {\n return res;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return (a - b);\n } else {\n return aux_obj_compare(a, b);\n }\n } else if (len_a < len_b) {\n var _i$1 = 0;\n while(true) {\n var i$1 = _i$1;\n if (i$1 === len_a) {\n return -1;\n }\n var res$1 = compare(a[i$1], b[i$1]);\n if (res$1 !== 0) {\n return res$1;\n }\n _i$1 = i$1 + 1 | 0;\n continue ;\n };\n } else {\n var _i$2 = 0;\n while(true) {\n var i$2 = _i$2;\n if (i$2 === len_b) {\n return 1;\n }\n var res$2 = compare(a[i$2], b[i$2]);\n if (res$2 !== 0) {\n return res$2;\n }\n _i$2 = i$2 + 1 | 0;\n continue ;\n };\n }\n }\n}\n\nfunction aux_obj_compare(a, b) {\n var min_key_lhs = {\n contents: undefined\n };\n var min_key_rhs = {\n contents: undefined\n };\n var do_key = function (param, key) {\n var min_key = param[2];\n var b = param[1];\n if (!(!Object.prototype.hasOwnProperty.call(b, key) || compare(param[0][key], b[key]) > 0)) {\n return ;\n }\n var mk = min_key.contents;\n if (mk !== undefined && key >= mk) {\n return ;\n } else {\n min_key.contents = key;\n return ;\n }\n };\n var partial_arg = [\n a,\n b,\n min_key_rhs\n ];\n var do_key_a = function (param) {\n return do_key(partial_arg, param);\n };\n var partial_arg$1 = [\n b,\n a,\n min_key_lhs\n ];\n var do_key_b = function (param) {\n return do_key(partial_arg$1, param);\n };\n for_in(a, do_key_a);\n for_in(b, do_key_b);\n var match = min_key_lhs.contents;\n var match$1 = min_key_rhs.contents;\n if (match !== undefined) {\n if (match$1 !== undefined) {\n return Caml.string_compare(match, match$1);\n } else {\n return -1;\n }\n } else if (match$1 !== undefined) {\n return 1;\n } else {\n return 0;\n }\n}\n\nfunction equal(a, b) {\n if (a === b) {\n return true;\n }\n var a_type = typeof a;\n if (a_type === \"string\" || a_type === \"number\" || a_type === \"boolean\" || a_type === \"undefined\" || a === null) {\n return false;\n }\n var b_type = typeof b;\n if (a_type === \"function\" || b_type === \"function\") {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: functional value\",\n Error: new Error()\n };\n }\n if (b_type === \"number\" || b_type === \"undefined\" || b === null) {\n return false;\n }\n var tag_a = a.TAG | 0;\n var tag_b = b.TAG | 0;\n if (tag_a === 248) {\n return a[1] === b[1];\n }\n if (tag_a === 251) {\n throw {\n RE_EXN_ID: \"Invalid_argument\",\n _1: \"equal: abstract value\",\n Error: new Error()\n };\n }\n if (tag_a !== tag_b) {\n return false;\n }\n var len_a = a.length | 0;\n var len_b = b.length | 0;\n if (len_a === len_b) {\n if (Array.isArray(a)) {\n var _i = 0;\n while(true) {\n var i = _i;\n if (i === len_a) {\n return true;\n }\n if (!equal(a[i], b[i])) {\n return false;\n }\n _i = i + 1 | 0;\n continue ;\n };\n } else if ((a instanceof Date && b instanceof Date)) {\n return !(a > b || a < b);\n } else {\n var result = {\n contents: true\n };\n var do_key_a = function (key) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) {\n result.contents = false;\n return ;\n }\n \n };\n var do_key_b = function (key) {\n if (!Object.prototype.hasOwnProperty.call(a, key) || !equal(b[key], a[key])) {\n result.contents = false;\n return ;\n }\n \n };\n for_in(a, do_key_a);\n if (result.contents) {\n for_in(b, do_key_b);\n }\n return result.contents;\n }\n } else {\n return false;\n }\n}\n\nfunction equal_null(x, y) {\n if (y !== null) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_undefined(x, y) {\n if (y !== undefined) {\n return equal(x, y);\n } else {\n return x === y;\n }\n}\n\nfunction equal_nullable(x, y) {\n if (y == null) {\n return x === y;\n } else {\n return equal(x, y);\n }\n}\n\nfunction notequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a !== b;\n } else {\n return !equal(a, b);\n }\n}\n\nfunction greaterequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a >= b;\n } else {\n return compare(a, b) >= 0;\n }\n}\n\nfunction greaterthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a > b;\n } else {\n return compare(a, b) > 0;\n }\n}\n\nfunction lessequal(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a <= b;\n } else {\n return compare(a, b) <= 0;\n }\n}\n\nfunction lessthan(a, b) {\n if (typeof a === \"number\" && typeof b === \"number\") {\n return a < b;\n } else {\n return compare(a, b) < 0;\n }\n}\n\nfunction min(x, y) {\n if (compare(x, y) <= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nfunction max(x, y) {\n if (compare(x, y) >= 0) {\n return x;\n } else {\n return y;\n }\n}\n\nexports.obj_dup = obj_dup;\nexports.update_dummy = update_dummy;\nexports.compare = compare;\nexports.equal = equal;\nexports.equal_null = equal_null;\nexports.equal_undefined = equal_undefined;\nexports.equal_nullable = equal_nullable;\nexports.notequal = notequal;\nexports.greaterequal = greaterequal;\nexports.greaterthan = greaterthan;\nexports.lessthan = lessthan;\nexports.lessequal = lessequal;\nexports.min = min;\nexports.max = max;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_obj.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_option.js": -/*!***************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_option.js ***! - \***************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction isNested(x) {\n return x.BS_PRIVATE_NESTED_SOME_NONE !== undefined;\n}\n\nfunction some(x) {\n if (x === undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: 0\n };\n } else if (x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined) {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: x.BS_PRIVATE_NESTED_SOME_NONE + 1 | 0\n };\n } else {\n return x;\n }\n}\n\nfunction nullable_to_opt(x) {\n if (x == null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction undefined_to_opt(x) {\n if (x === undefined) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction null_to_opt(x) {\n if (x === null) {\n return ;\n } else {\n return some(x);\n }\n}\n\nfunction valFromOption(x) {\n if (!(x !== null && x.BS_PRIVATE_NESTED_SOME_NONE !== undefined)) {\n return x;\n }\n var depth = x.BS_PRIVATE_NESTED_SOME_NONE;\n if (depth === 0) {\n return ;\n } else {\n return {\n BS_PRIVATE_NESTED_SOME_NONE: depth - 1 | 0\n };\n }\n}\n\nfunction option_get(x) {\n if (x === undefined) {\n return ;\n } else {\n return valFromOption(x);\n }\n}\n\nfunction option_unwrap(x) {\n if (x !== undefined) {\n return x.VAL;\n } else {\n return x;\n }\n}\n\nexports.nullable_to_opt = nullable_to_opt;\nexports.undefined_to_opt = undefined_to_opt;\nexports.null_to_opt = null_to_opt;\nexports.valFromOption = valFromOption;\nexports.some = some;\nexports.isNested = isNested;\nexports.option_get = option_get;\nexports.option_unwrap = option_unwrap;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/caml_splice_call.js": -/*!********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/caml_splice_call.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar spliceApply = (function(fn,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return fn.apply(null,applied)\n});\n\nvar spliceNewApply = (function (ctor,args){\n var i, argLen;\n argLen = args.length\n var applied = [null] // Function.prototype.bind.apply(fn, args) requires the first element in `args` to be `null`\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n var C = Function.prototype.bind.apply(ctor, applied)\n return new C()\n});\n\nvar spliceObjApply = (function(obj,name,args){\n var i, argLen; \n argLen = args.length\n var applied = []\n for(i = 0; i < argLen - 1; ++i){\n applied.push(args[i])\n }\n var lastOne = args[argLen - 1]\n for(i = 0; i < lastOne.length; ++i ){\n applied.push(lastOne[i])\n }\n return (obj[name]).apply(obj,applied)\n});\n\nexports.spliceApply = spliceApply;\nexports.spliceNewApply = spliceNewApply;\nexports.spliceObjApply = spliceObjApply;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/caml_splice_call.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/curry.js": -/*!*********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/curry.js ***! - \*********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_array = __webpack_require__(/*! ./caml_array.js */ \"../../../../node_modules/rescript/lib/js/caml_array.js\");\n\nfunction app(_f, _args) {\n while(true) {\n var args = _args;\n var f = _f;\n var init_arity = f.length;\n var arity = init_arity === 0 ? 1 : init_arity;\n var len = args.length;\n var d = arity - len | 0;\n if (d === 0) {\n return f.apply(null, args);\n }\n if (d >= 0) {\n return (function(f,args){\n return function (x) {\n return app(f, args.concat([x]));\n }\n }(f,args));\n }\n _args = Caml_array.sub(args, arity, -d | 0);\n _f = f.apply(null, Caml_array.sub(args, 0, arity));\n continue ;\n };\n}\n\nfunction _1(o, a0) {\n var arity = o.length;\n if (arity === 1) {\n return o(a0);\n } else {\n switch (arity) {\n case 1 :\n return o(a0);\n case 2 :\n return function (param) {\n return o(a0, param);\n };\n case 3 :\n return function (param, param$1) {\n return o(a0, param, param$1);\n };\n case 4 :\n return function (param, param$1, param$2) {\n return o(a0, param, param$1, param$2);\n };\n case 5 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, param, param$1, param$2, param$3);\n };\n case 6 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, param, param$1, param$2, param$3, param$4);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4, param$5) {\n return o(a0, param, param$1, param$2, param$3, param$4, param$5);\n };\n default:\n return app(o, [a0]);\n }\n }\n}\n\nfunction __1(o) {\n var arity = o.length;\n if (arity === 1) {\n return o;\n } else {\n return function (a0) {\n return _1(o, a0);\n };\n }\n}\n\nfunction _2(o, a0, a1) {\n var arity = o.length;\n if (arity === 2) {\n return o(a0, a1);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [a1]);\n case 2 :\n return o(a0, a1);\n case 3 :\n return function (param) {\n return o(a0, a1, param);\n };\n case 4 :\n return function (param, param$1) {\n return o(a0, a1, param, param$1);\n };\n case 5 :\n return function (param, param$1, param$2) {\n return o(a0, a1, param, param$1, param$2);\n };\n case 6 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, param, param$1, param$2, param$3);\n };\n case 7 :\n return function (param, param$1, param$2, param$3, param$4) {\n return o(a0, a1, param, param$1, param$2, param$3, param$4);\n };\n default:\n return app(o, [\n a0,\n a1\n ]);\n }\n }\n}\n\nfunction __2(o) {\n var arity = o.length;\n if (arity === 2) {\n return o;\n } else {\n return function (a0, a1) {\n return _2(o, a0, a1);\n };\n }\n}\n\nfunction _3(o, a0, a1, a2) {\n var arity = o.length;\n if (arity === 3) {\n return o(a0, a1, a2);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2\n ]);\n case 2 :\n return app(o(a0, a1), [a2]);\n case 3 :\n return o(a0, a1, a2);\n case 4 :\n return function (param) {\n return o(a0, a1, a2, param);\n };\n case 5 :\n return function (param, param$1) {\n return o(a0, a1, a2, param, param$1);\n };\n case 6 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, param, param$1, param$2);\n };\n case 7 :\n return function (param, param$1, param$2, param$3) {\n return o(a0, a1, a2, param, param$1, param$2, param$3);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2\n ]);\n }\n }\n}\n\nfunction __3(o) {\n var arity = o.length;\n if (arity === 3) {\n return o;\n } else {\n return function (a0, a1, a2) {\n return _3(o, a0, a1, a2);\n };\n }\n}\n\nfunction _4(o, a0, a1, a2, a3) {\n var arity = o.length;\n if (arity === 4) {\n return o(a0, a1, a2, a3);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3\n ]);\n case 3 :\n return app(o(a0, a1, a2), [a3]);\n case 4 :\n return o(a0, a1, a2, a3);\n case 5 :\n return function (param) {\n return o(a0, a1, a2, a3, param);\n };\n case 6 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, param, param$1);\n };\n case 7 :\n return function (param, param$1, param$2) {\n return o(a0, a1, a2, a3, param, param$1, param$2);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3\n ]);\n }\n }\n}\n\nfunction __4(o) {\n var arity = o.length;\n if (arity === 4) {\n return o;\n } else {\n return function (a0, a1, a2, a3) {\n return _4(o, a0, a1, a2, a3);\n };\n }\n}\n\nfunction _5(o, a0, a1, a2, a3, a4) {\n var arity = o.length;\n if (arity === 5) {\n return o(a0, a1, a2, a3, a4);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [a4]);\n case 5 :\n return o(a0, a1, a2, a3, a4);\n case 6 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, param);\n };\n case 7 :\n return function (param, param$1) {\n return o(a0, a1, a2, a3, a4, param, param$1);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4\n ]);\n }\n }\n}\n\nfunction __5(o) {\n var arity = o.length;\n if (arity === 5) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4) {\n return _5(o, a0, a1, a2, a3, a4);\n };\n }\n}\n\nfunction _6(o, a0, a1, a2, a3, a4, a5) {\n var arity = o.length;\n if (arity === 6) {\n return o(a0, a1, a2, a3, a4, a5);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [a5]);\n case 6 :\n return o(a0, a1, a2, a3, a4, a5);\n case 7 :\n return function (param) {\n return o(a0, a1, a2, a3, a4, a5, param);\n };\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5\n ]);\n }\n }\n}\n\nfunction __6(o) {\n var arity = o.length;\n if (arity === 6) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5) {\n return _6(o, a0, a1, a2, a3, a4, a5);\n };\n }\n}\n\nfunction _7(o, a0, a1, a2, a3, a4, a5, a6) {\n var arity = o.length;\n if (arity === 7) {\n return o(a0, a1, a2, a3, a4, a5, a6);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [a6]);\n case 7 :\n return o(a0, a1, a2, a3, a4, a5, a6);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6\n ]);\n }\n }\n}\n\nfunction __7(o) {\n var arity = o.length;\n if (arity === 7) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return _7(o, a0, a1, a2, a3, a4, a5, a6);\n };\n }\n}\n\nfunction _8(o, a0, a1, a2, a3, a4, a5, a6, a7) {\n var arity = o.length;\n if (arity === 8) {\n return o(a0, a1, a2, a3, a4, a5, a6, a7);\n } else {\n switch (arity) {\n case 1 :\n return app(o(a0), [\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 2 :\n return app(o(a0, a1), [\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 3 :\n return app(o(a0, a1, a2), [\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n case 4 :\n return app(o(a0, a1, a2, a3), [\n a4,\n a5,\n a6,\n a7\n ]);\n case 5 :\n return app(o(a0, a1, a2, a3, a4), [\n a5,\n a6,\n a7\n ]);\n case 6 :\n return app(o(a0, a1, a2, a3, a4, a5), [\n a6,\n a7\n ]);\n case 7 :\n return app(o(a0, a1, a2, a3, a4, a5, a6), [a7]);\n default:\n return app(o, [\n a0,\n a1,\n a2,\n a3,\n a4,\n a5,\n a6,\n a7\n ]);\n }\n }\n}\n\nfunction __8(o) {\n var arity = o.length;\n if (arity === 8) {\n return o;\n } else {\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return _8(o, a0, a1, a2, a3, a4, a5, a6, a7);\n };\n }\n}\n\nexports.app = app;\nexports._1 = _1;\nexports.__1 = __1;\nexports._2 = _2;\nexports.__2 = __2;\nexports._3 = _3;\nexports.__3 = __3;\nexports._4 = _4;\nexports.__4 = __4;\nexports._5 = _5;\nexports.__5 = __5;\nexports._6 = _6;\nexports.__6 = __6;\nexports._7 = _7;\nexports.__7 = __7;\nexports._8 = _8;\nexports.__8 = __8;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/curry.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_array.js": -/*!************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_array.js ***! - \************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Caml_splice_call = __webpack_require__(/*! ./caml_splice_call.js */ \"../../../../node_modules/rescript/lib/js/caml_splice_call.js\");\n\nfunction copyWithin(to_, obj) {\n return obj.copyWithin(to_);\n}\n\nfunction copyWithinFrom(to_, from, obj) {\n return obj.copyWithin(to_, from);\n}\n\nfunction copyWithinFromRange(to_, start, end_, obj) {\n return obj.copyWithin(to_, start, end_);\n}\n\nfunction fillInPlace(arg1, obj) {\n return obj.fill(arg1);\n}\n\nfunction fillFromInPlace(arg1, from, obj) {\n return obj.fill(arg1, from);\n}\n\nfunction fillRangeInPlace(arg1, start, end_, obj) {\n return obj.fill(arg1, start, end_);\n}\n\nfunction push(arg1, obj) {\n return obj.push(arg1);\n}\n\nfunction pushMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"push\", [arg1]);\n}\n\nfunction sortInPlaceWith(arg1, obj) {\n return obj.sort(Curry.__2(arg1));\n}\n\nfunction spliceInPlace(pos, remove, add, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"splice\", [\n pos,\n remove,\n add\n ]);\n}\n\nfunction removeFromInPlace(pos, obj) {\n return obj.splice(pos);\n}\n\nfunction removeCountInPlace(pos, count, obj) {\n return obj.splice(pos, count);\n}\n\nfunction unshift(arg1, obj) {\n return obj.unshift(arg1);\n}\n\nfunction unshiftMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"unshift\", [arg1]);\n}\n\nfunction concat(arg1, obj) {\n return obj.concat(arg1);\n}\n\nfunction concatMany(arg1, obj) {\n return Caml_splice_call.spliceObjApply(obj, \"concat\", [arg1]);\n}\n\nfunction includes(arg1, obj) {\n return obj.includes(arg1);\n}\n\nfunction indexOf(arg1, obj) {\n return obj.indexOf(arg1);\n}\n\nfunction indexOfFrom(arg1, from, obj) {\n return obj.indexOf(arg1, from);\n}\n\nfunction joinWith(arg1, obj) {\n return obj.join(arg1);\n}\n\nfunction lastIndexOf(arg1, obj) {\n return obj.lastIndexOf(arg1);\n}\n\nfunction lastIndexOfFrom(arg1, from, obj) {\n return obj.lastIndexOf(arg1, from);\n}\n\nfunction slice(start, end_, obj) {\n return obj.slice(start, end_);\n}\n\nfunction sliceFrom(arg1, obj) {\n return obj.slice(arg1);\n}\n\nfunction every(arg1, obj) {\n return obj.every(Curry.__1(arg1));\n}\n\nfunction everyi(arg1, obj) {\n return obj.every(Curry.__2(arg1));\n}\n\nfunction filter(arg1, obj) {\n return obj.filter(Curry.__1(arg1));\n}\n\nfunction filteri(arg1, obj) {\n return obj.filter(Curry.__2(arg1));\n}\n\nfunction find(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__1(arg1)));\n}\n\nfunction findi(arg1, obj) {\n return Caml_option.undefined_to_opt(obj.find(Curry.__2(arg1)));\n}\n\nfunction findIndex(arg1, obj) {\n return obj.findIndex(Curry.__1(arg1));\n}\n\nfunction findIndexi(arg1, obj) {\n return obj.findIndex(Curry.__2(arg1));\n}\n\nfunction forEach(arg1, obj) {\n obj.forEach(Curry.__1(arg1));\n}\n\nfunction forEachi(arg1, obj) {\n obj.forEach(Curry.__2(arg1));\n}\n\nfunction map(arg1, obj) {\n return obj.map(Curry.__1(arg1));\n}\n\nfunction mapi(arg1, obj) {\n return obj.map(Curry.__2(arg1));\n}\n\nfunction reduce(arg1, arg2, obj) {\n return obj.reduce(Curry.__2(arg1), arg2);\n}\n\nfunction reducei(arg1, arg2, obj) {\n return obj.reduce(Curry.__3(arg1), arg2);\n}\n\nfunction reduceRight(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__2(arg1), arg2);\n}\n\nfunction reduceRighti(arg1, arg2, obj) {\n return obj.reduceRight(Curry.__3(arg1), arg2);\n}\n\nfunction some(arg1, obj) {\n return obj.some(Curry.__1(arg1));\n}\n\nfunction somei(arg1, obj) {\n return obj.some(Curry.__2(arg1));\n}\n\nexports.copyWithin = copyWithin;\nexports.copyWithinFrom = copyWithinFrom;\nexports.copyWithinFromRange = copyWithinFromRange;\nexports.fillInPlace = fillInPlace;\nexports.fillFromInPlace = fillFromInPlace;\nexports.fillRangeInPlace = fillRangeInPlace;\nexports.push = push;\nexports.pushMany = pushMany;\nexports.sortInPlaceWith = sortInPlaceWith;\nexports.spliceInPlace = spliceInPlace;\nexports.removeFromInPlace = removeFromInPlace;\nexports.removeCountInPlace = removeCountInPlace;\nexports.unshift = unshift;\nexports.unshiftMany = unshiftMany;\nexports.concat = concat;\nexports.concatMany = concatMany;\nexports.includes = includes;\nexports.indexOf = indexOf;\nexports.indexOfFrom = indexOfFrom;\nexports.joinWith = joinWith;\nexports.lastIndexOf = lastIndexOf;\nexports.lastIndexOfFrom = lastIndexOfFrom;\nexports.slice = slice;\nexports.sliceFrom = sliceFrom;\nexports.every = every;\nexports.everyi = everyi;\nexports.filter = filter;\nexports.filteri = filteri;\nexports.find = find;\nexports.findi = findi;\nexports.findIndex = findIndex;\nexports.findIndexi = findIndexi;\nexports.forEach = forEach;\nexports.forEachi = forEachi;\nexports.map = map;\nexports.mapi = mapi;\nexports.reduce = reduce;\nexports.reducei = reducei;\nexports.reduceRight = reduceRight;\nexports.reduceRighti = reduceRighti;\nexports.some = some;\nexports.somei = somei;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_array.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_dict.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_dict.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction get(dict, k) {\n if ((k in dict)) {\n return Caml_option.some(dict[k]);\n }\n \n}\n\nvar unsafeDeleteKey = (function (dict,key){\n delete dict[key];\n });\n\nfunction entries(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values = new Array(l);\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n values[i] = [\n key,\n dict[key]\n ];\n }\n return values;\n}\n\nfunction values(dict) {\n var keys = Object.keys(dict);\n var l = keys.length;\n var values$1 = new Array(l);\n for(var i = 0; i < l; ++i){\n values$1[i] = dict[keys[i]];\n }\n return values$1;\n}\n\nfunction fromList(entries) {\n var dict = {};\n var _param = entries;\n while(true) {\n var param = _param;\n if (!param) {\n return dict;\n }\n var match = param.hd;\n dict[match[0]] = match[1];\n _param = param.tl;\n continue ;\n };\n}\n\nfunction fromArray(entries) {\n var dict = {};\n var l = entries.length;\n for(var i = 0; i < l; ++i){\n var match = entries[i];\n dict[match[0]] = match[1];\n }\n return dict;\n}\n\nfunction map(f, source) {\n var target = {};\n var keys = Object.keys(source);\n var l = keys.length;\n for(var i = 0; i < l; ++i){\n var key = keys[i];\n target[key] = f(source[key]);\n }\n return target;\n}\n\nexports.get = get;\nexports.unsafeDeleteKey = unsafeDeleteKey;\nexports.entries = entries;\nexports.values = values;\nexports.fromList = fromList;\nexports.fromArray = fromArray;\nexports.map = map;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_dict.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_exn.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_exn.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction raiseError(str) {\n throw new Error(str);\n}\n\nfunction raiseEvalError(str) {\n throw new EvalError(str);\n}\n\nfunction raiseRangeError(str) {\n throw new RangeError(str);\n}\n\nfunction raiseReferenceError(str) {\n throw new ReferenceError(str);\n}\n\nfunction raiseSyntaxError(str) {\n throw new SyntaxError(str);\n}\n\nfunction raiseTypeError(str) {\n throw new TypeError(str);\n}\n\nfunction raiseUriError(str) {\n throw new URIError(str);\n}\n\nvar $$Error$1 = \"JsError\";\n\nexports.$$Error = $$Error$1;\nexports.raiseError = raiseError;\nexports.raiseEvalError = raiseEvalError;\nexports.raiseRangeError = raiseRangeError;\nexports.raiseReferenceError = raiseReferenceError;\nexports.raiseSyntaxError = raiseSyntaxError;\nexports.raiseTypeError = raiseTypeError;\nexports.raiseUriError = raiseUriError;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_exn.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_int.js": -/*!**********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_int.js ***! - \**********************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction equal(x, y) {\n return x === y;\n}\n\nvar max = 2147483647;\n\nvar min = -2147483648;\n\nexports.equal = equal;\nexports.max = max;\nexports.min = min;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_int.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_math.js": -/*!***********************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_math.js ***! - \***********************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_int = __webpack_require__(/*! ./js_int.js */ \"../../../../node_modules/rescript/lib/js/js_int.js\");\n\nfunction unsafe_ceil(prim) {\n return Math.ceil(prim);\n}\n\nfunction ceil_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.ceil(f);\n }\n}\n\nfunction unsafe_floor(prim) {\n return Math.floor(prim);\n}\n\nfunction floor_int(f) {\n if (f > Js_int.max) {\n return Js_int.max;\n } else if (f < Js_int.min) {\n return Js_int.min;\n } else {\n return Math.floor(f);\n }\n}\n\nfunction random_int(min, max) {\n return floor_int(Math.random() * (max - min | 0)) + min | 0;\n}\n\nvar ceil = ceil_int;\n\nvar floor = floor_int;\n\nexports.unsafe_ceil = unsafe_ceil;\nexports.ceil_int = ceil_int;\nexports.ceil = ceil;\nexports.unsafe_floor = unsafe_floor;\nexports.floor_int = floor_int;\nexports.floor = floor;\nexports.random_int = random_int;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_math.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_null_undefined.js": -/*!*********************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_null_undefined.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction bind(x, f) {\n if (x == null) {\n return x;\n } else {\n return f(x);\n }\n}\n\nfunction iter(x, f) {\n if (!(x == null)) {\n return f(x);\n }\n \n}\n\nfunction fromOption(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n \n}\n\nvar from_opt = fromOption;\n\nexports.bind = bind;\nexports.iter = iter;\nexports.fromOption = fromOption;\nexports.from_opt = from_opt;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_null_undefined.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_option.js": -/*!*************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_option.js ***! - \*************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! ./caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction some(x) {\n return Caml_option.some(x);\n}\n\nfunction isSome(param) {\n return param !== undefined;\n}\n\nfunction isSomeValue(eq, v, x) {\n if (x !== undefined) {\n return eq(v, Caml_option.valFromOption(x));\n } else {\n return false;\n }\n}\n\nfunction isNone(param) {\n return param === undefined;\n}\n\nfunction getExn(x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n }\n throw new Error(\"getExn\");\n}\n\nfunction equal(eq, a, b) {\n if (a !== undefined) {\n if (b !== undefined) {\n return eq(Caml_option.valFromOption(a), Caml_option.valFromOption(b));\n } else {\n return false;\n }\n } else {\n return b === undefined;\n }\n}\n\nfunction andThen(f, x) {\n if (x !== undefined) {\n return f(Caml_option.valFromOption(x));\n }\n \n}\n\nfunction map(f, x) {\n if (x !== undefined) {\n return Caml_option.some(f(Caml_option.valFromOption(x)));\n }\n \n}\n\nfunction getWithDefault(a, x) {\n if (x !== undefined) {\n return Caml_option.valFromOption(x);\n } else {\n return a;\n }\n}\n\nfunction filter(f, x) {\n if (x === undefined) {\n return ;\n }\n var x$1 = Caml_option.valFromOption(x);\n if (f(x$1)) {\n return Caml_option.some(x$1);\n }\n \n}\n\nfunction firstSome(a, b) {\n if (a !== undefined) {\n return a;\n } else if (b !== undefined) {\n return b;\n } else {\n return ;\n }\n}\n\nvar $$default = getWithDefault;\n\nexports.some = some;\nexports.isSome = isSome;\nexports.isSomeValue = isSomeValue;\nexports.isNone = isNone;\nexports.getExn = getExn;\nexports.equal = equal;\nexports.andThen = andThen;\nexports.map = map;\nexports.getWithDefault = getWithDefault;\nexports.$$default = $$default;\nexports[\"default\"] = $$default;\nexports.__esModule = true;\nexports.filter = filter;\nexports.firstSome = firstSome;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_option.js?"); - -/***/ }), - -/***/ "../../../../node_modules/rescript/lib/js/js_promise.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/rescript/lib/js/js_promise.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! ./curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\n\nfunction then_(arg1, obj) {\n return obj.then(Curry.__1(arg1));\n}\n\nfunction $$catch(arg1, obj) {\n return obj.catch(Curry.__1(arg1));\n}\n\nexports.then_ = then_;\nexports.$$catch = $$catch;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/rescript/lib/js/js_promise.js?"); - -/***/ }), - -/***/ "../../../../node_modules/symbol-observable/lib/ponyfill.js": -/*!******************************************************************!*\ - !*** ../../../../node_modules/symbol-observable/lib/ponyfill.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\nObject.defineProperty(exports, \"__esModule\", ({\n\tvalue: true\n}));\nexports[\"default\"] = symbolObservablePonyfill;\nfunction symbolObservablePonyfill(root) {\n\tvar result;\n\tvar _Symbol = root.Symbol;\n\n\tif (typeof _Symbol === 'function') {\n\t\tif (_Symbol.observable) {\n\t\t\tresult = _Symbol.observable;\n\t\t} else {\n\n\t\t\t// This just needs to be something that won't trample other user's Symbol.for use\n\t\t\t// It also will guide people to the source of their issues, if this is problematic.\n\t\t\t// META: It's a resource locator!\n\t\t\tresult = _Symbol['for']('https://github.com/benlesh/symbol-observable');\n\t\t\ttry {\n\t\t\t\t_Symbol.observable = result;\n\t\t\t} catch (err) {\n\t\t\t\t// Do nothing. In some environments, users have frozen `Symbol` for security reasons,\n\t\t\t\t// if it is frozen assigning to it will throw. In this case, we don't care, because\n\t\t\t\t// they will need to use the returned value from the ponyfill.\n\t\t\t}\n\t\t}\n\t} else {\n\t\tresult = '@@observable';\n\t}\n\n\treturn result;\n};\n\n//# sourceURL=webpack://Extension/../../../../node_modules/symbol-observable/lib/ponyfill.js?"); - -/***/ }), - -/***/ "../../../../node_modules/symbol-observable/ponyfill.js": -/*!**************************************************************!*\ - !*** ../../../../node_modules/symbol-observable/ponyfill.js ***! - \**************************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { - -eval("module.exports = __webpack_require__(/*! ./lib/ponyfill */ \"../../../../node_modules/symbol-observable/lib/ponyfill.js\");\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/symbol-observable/ponyfill.js?"); - -/***/ }), - -/***/ "./lib/js/src/EventManager.bs.js": -/*!***************************************!*\ - !*** ./lib/js/src/EventManager.bs.js ***! - \***************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\nvar BodyDoService$Meta3dEvent = __webpack_require__(/*! ./event_manager/service/dom/BodyDoService.bs.js */ \"./lib/js/src/event_manager/service/dom/BodyDoService.bs.js\");\nvar CanvasDoService$Meta3dEvent = __webpack_require__(/*! ./event_manager/service/dom/CanvasDoService.bs.js */ \"./lib/js/src/event_manager/service/dom/CanvasDoService.bs.js\");\nvar BrowserDoService$Meta3dEvent = __webpack_require__(/*! ./event_manager/service/browser/BrowserDoService.bs.js */ \"./lib/js/src/event_manager/service/browser/BrowserDoService.bs.js\");\nvar ContainerManager$Meta3dEvent = __webpack_require__(/*! ./event_manager/data/ContainerManager.bs.js */ \"./lib/js/src/event_manager/data/ContainerManager.bs.js\");\nvar InitEventDoService$Meta3dEvent = __webpack_require__(/*! ./event_manager/service/init_event/InitEventDoService.bs.js */ \"./lib/js/src/event_manager/service/init_event/InitEventDoService.bs.js\");\nvar NameEventDoService$Meta3dEvent = __webpack_require__(/*! ./event_manager/service/event/NameEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/NameEventDoService.bs.js\");\nvar ImmutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/ImmutableHashMap.bs.js\");\nvar ManageEventDoService$Meta3dEvent = __webpack_require__(/*! ./event_manager/service/event/ManageEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/ManageEventDoService.bs.js\");\nvar CreateEventManagerState$Meta3dEvent = __webpack_require__(/*! ./event_manager/data/CreateEventManagerState.bs.js */ \"./lib/js/src/event_manager/data/CreateEventManagerState.bs.js\");\n\nfunction registerAction(state, actionContribute) {\n return {\n actionContributeMap: ImmutableHashMap$Meta3dCommonlib.set(state.actionContributeMap, actionContribute.actionName, actionContribute),\n eventManagerState: state.eventManagerState\n };\n}\n\nfunction trigger(api, meta3dState, eventExtensionProtocolName, actionName, uiData) {\n var state = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var actionContribute = ImmutableHashMap$Meta3dCommonlib.get(state.actionContributeMap, actionName);\n if (actionContribute !== undefined) {\n return Curry._2(actionContribute.handler, meta3dState, uiData);\n } else {\n return Promise.resolve(meta3dState);\n }\n}\n\nfunction onPointEvent(api, eventExtensionProtocolName, param) {\n var handleFunc = param[2];\n var eventManagerState = ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName);\n var eventManagerState$1 = ManageEventDoService$Meta3dEvent.onCustomGlobalEvent(param[0], (function (customEvent, state) {\n handleFunc(customEvent);\n return [\n state,\n customEvent\n ];\n }), eventManagerState, param[1], undefined);\n ContainerManager$Meta3dEvent.setState(eventManagerState$1, eventExtensionProtocolName);\n}\n\nfunction _setDomToStateForEventHandler(eventManagerState, eventExtensionProtocolName) {\n var browser = BrowserDoService$Meta3dEvent.getBrowser(eventManagerState);\n var canvas = OptionSt$Meta3dCommonlib.getExn(CanvasDoService$Meta3dEvent.getCanvas(eventManagerState));\n var body = BodyDoService$Meta3dEvent.getBodyExn(eventManagerState);\n ContainerManager$Meta3dEvent.setState(BodyDoService$Meta3dEvent.setBody(CanvasDoService$Meta3dEvent.setCanvas(BrowserDoService$Meta3dEvent.setBrowser(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), browser), canvas), body), eventExtensionProtocolName);\n}\n\nfunction initEvent(api, meta3dState, eventExtensionProtocolName) {\n var state = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n ContainerManager$Meta3dEvent.createState(CreateEventManagerState$Meta3dEvent.create, eventExtensionProtocolName);\n var eventManagerState = InitEventDoService$Meta3dEvent.initEvent(state.eventManagerState, eventExtensionProtocolName);\n _setDomToStateForEventHandler(eventManagerState, eventExtensionProtocolName);\n return api.setExtensionState(meta3dState, eventExtensionProtocolName, {\n actionContributeMap: state.actionContributeMap,\n eventManagerState: eventManagerState\n });\n}\n\nfunction _invokeEventManagerSetDomDataFuncWithOneArg(api, meta3dState, eventExtensionProtocolName, setDomDataFunc, domData) {\n var state = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var eventManagerState = Curry._2(setDomDataFunc, state.eventManagerState, domData);\n return api.setExtensionState(meta3dState, eventExtensionProtocolName, {\n actionContributeMap: state.actionContributeMap,\n eventManagerState: eventManagerState\n });\n}\n\nfunction setBrowser(api, meta3dState, eventExtensionProtocolName, browser) {\n return _invokeEventManagerSetDomDataFuncWithOneArg(api, meta3dState, eventExtensionProtocolName, BrowserDoService$Meta3dEvent.setBrowser, browser);\n}\n\nfunction setCanvas(api, meta3dState, eventExtensionProtocolName, canvas) {\n return _invokeEventManagerSetDomDataFuncWithOneArg(api, meta3dState, eventExtensionProtocolName, CanvasDoService$Meta3dEvent.setCanvas, canvas);\n}\n\nfunction setBody(api, meta3dState, eventExtensionProtocolName, body) {\n return _invokeEventManagerSetDomDataFuncWithOneArg(api, meta3dState, eventExtensionProtocolName, BodyDoService$Meta3dEvent.setBody, body);\n}\n\nfunction getBrowserChromeType(param) {\n return /* Chrome */0;\n}\n\nfunction getBrowserFirefoxType(param) {\n return /* Firefox */1;\n}\n\nfunction getBrowserAndroidType(param) {\n return /* Android */2;\n}\n\nfunction getBrowserIOSType(param) {\n return /* IOS */3;\n}\n\nfunction getBrowserUnknownType(param) {\n return /* Unknown */4;\n}\n\nfunction getAllActionContributes(state) {\n return ImmutableHashMap$Meta3dCommonlib.entries(state.actionContributeMap);\n}\n\nfunction createExtensionState(param, param$1) {\n return {\n actionContributeMap: ImmutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n eventManagerState: CreateEventManagerState$Meta3dEvent.create(undefined)\n };\n}\n\nvar getPointDownEventName = NameEventDoService$Meta3dEvent.getPointDownEventName;\n\nvar getPointUpEventName = NameEventDoService$Meta3dEvent.getPointUpEventName;\n\nvar getPointTapEventName = NameEventDoService$Meta3dEvent.getPointTapEventName;\n\nvar getPointMoveEventName = NameEventDoService$Meta3dEvent.getPointMoveEventName;\n\nvar getPointScaleEventName = NameEventDoService$Meta3dEvent.getPointScaleEventName;\n\nvar getPointDragStartEventName = NameEventDoService$Meta3dEvent.getPointDragStartEventName;\n\nvar getPointDragOverEventName = NameEventDoService$Meta3dEvent.getPointDragOverEventName;\n\nvar getPointDragDropEventName = NameEventDoService$Meta3dEvent.getPointDragDropEventName;\n\nexports.registerAction = registerAction;\nexports.trigger = trigger;\nexports.onPointEvent = onPointEvent;\nexports._setDomToStateForEventHandler = _setDomToStateForEventHandler;\nexports.initEvent = initEvent;\nexports._invokeEventManagerSetDomDataFuncWithOneArg = _invokeEventManagerSetDomDataFuncWithOneArg;\nexports.setBrowser = setBrowser;\nexports.setCanvas = setCanvas;\nexports.setBody = setBody;\nexports.getBrowserChromeType = getBrowserChromeType;\nexports.getBrowserFirefoxType = getBrowserFirefoxType;\nexports.getBrowserAndroidType = getBrowserAndroidType;\nexports.getBrowserIOSType = getBrowserIOSType;\nexports.getBrowserUnknownType = getBrowserUnknownType;\nexports.getPointDownEventName = getPointDownEventName;\nexports.getPointUpEventName = getPointUpEventName;\nexports.getPointTapEventName = getPointTapEventName;\nexports.getPointMoveEventName = getPointMoveEventName;\nexports.getPointScaleEventName = getPointScaleEventName;\nexports.getPointDragStartEventName = getPointDragStartEventName;\nexports.getPointDragOverEventName = getPointDragOverEventName;\nexports.getPointDragDropEventName = getPointDragDropEventName;\nexports.getAllActionContributes = getAllActionContributes;\nexports.createExtensionState = createExtensionState;\n/* InitEventDoService-Meta3dEvent Not a pure module */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/EventManager.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/Main.bs.js": -/*!*******************************!*\ - !*** ./lib/js/src/Main.bs.js ***! - \*******************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar EventManager$Meta3dEvent = __webpack_require__(/*! ./EventManager.bs.js */ \"./lib/js/src/EventManager.bs.js\");\nvar NullableSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/NullableSt.bs.js\");\nvar ManageEventAPIForSrc$Meta3dEvent = __webpack_require__(/*! ./event_manager/api/ManageEventAPIForSrc.bs.js */ \"./lib/js/src/event_manager/api/ManageEventAPIForSrc.bs.js\");\nvar CreateEventManagerState$Meta3dEvent = __webpack_require__(/*! ./event_manager/data/CreateEventManagerState.bs.js */ \"./lib/js/src/event_manager/data/CreateEventManagerState.bs.js\");\n\nfunction getExtensionService(api) {\n return {\n eventData: (function (meta3dState) {\n return api.getExtensionService(meta3dState, \"meta3d-event-data-protocol\");\n }),\n eventSourcing: (function (meta3dState) {\n return api.getExtensionService(meta3dState, \"meta3d-event-sourcing-protocol\");\n }),\n trigger: (function (param, param$1, param$2, param$3) {\n return EventManager$Meta3dEvent.trigger(api, param, param$1, param$2, param$3);\n }),\n registerAction: (function (meta3dState, actionContribute) {\n var __x = EventManager$Meta3dEvent.registerAction(api.getExtensionState(meta3dState, \"meta3d-event-protocol\"), actionContribute);\n return api.setExtensionState(meta3dState, \"meta3d-event-protocol\", __x);\n }),\n onPointEvent: (function (param, param$1) {\n return EventManager$Meta3dEvent.onPointEvent(api, param, param$1);\n }),\n onCustomGlobalEvent: ManageEventAPIForSrc$Meta3dEvent.onCustomGlobalEvent,\n offCustomGlobalEventByHandleFunc: ManageEventAPIForSrc$Meta3dEvent.offCustomGlobalEventByHandleFunc,\n onCustomGlobalEvent2: (function (param, param$1, param$2) {\n return ManageEventAPIForSrc$Meta3dEvent.onCustomGlobalEvent2(api, param, param$1, param$2);\n }),\n triggerCustomGlobalEvent2: (function (param, param$1, param$2) {\n return ManageEventAPIForSrc$Meta3dEvent.triggerCustomGlobalEvent2(api, param, param$1, param$2);\n }),\n onCustomGlobalEvent3: (function (param, param$1, param$2) {\n return ManageEventAPIForSrc$Meta3dEvent.onCustomGlobalEvent3(api, param, param$1, param$2);\n }),\n triggerCustomGlobalEvent3: (function (param, param$1, param$2) {\n return ManageEventAPIForSrc$Meta3dEvent.triggerCustomGlobalEvent3(api, param, param$1, param$2);\n }),\n createCustomEvent: ManageEventAPIForSrc$Meta3dEvent.createCustomEvent,\n initEvent: (function (param, param$1) {\n return EventManager$Meta3dEvent.initEvent(api, param, param$1);\n }),\n setBrowser: (function (param, param$1, param$2) {\n return EventManager$Meta3dEvent.setBrowser(api, param, param$1, param$2);\n }),\n setCanvas: (function (param, param$1, param$2) {\n return EventManager$Meta3dEvent.setCanvas(api, param, param$1, param$2);\n }),\n setBody: (function (param, param$1, param$2) {\n return EventManager$Meta3dEvent.setBody(api, param, param$1, param$2);\n }),\n getBrowserChromeType: EventManager$Meta3dEvent.getBrowserChromeType,\n getBrowserFirefoxType: EventManager$Meta3dEvent.getBrowserFirefoxType,\n getBrowserAndroidType: EventManager$Meta3dEvent.getBrowserAndroidType,\n getBrowserIOSType: EventManager$Meta3dEvent.getBrowserIOSType,\n getBrowserUnknownType: EventManager$Meta3dEvent.getBrowserUnknownType,\n getPointDownEventName: EventManager$Meta3dEvent.getPointDownEventName,\n getPointUpEventName: EventManager$Meta3dEvent.getPointUpEventName,\n getPointTapEventName: EventManager$Meta3dEvent.getPointTapEventName,\n getPointMoveEventName: EventManager$Meta3dEvent.getPointMoveEventName,\n getPointScaleEventName: EventManager$Meta3dEvent.getPointScaleEventName,\n getPointDragStartEventName: EventManager$Meta3dEvent.getPointDragStartEventName,\n getPointDragOverEventName: EventManager$Meta3dEvent.getPointDragOverEventName,\n getAllActionContributes: EventManager$Meta3dEvent.getAllActionContributes\n };\n}\n\nfunction createExtensionState(meta3dState, api) {\n return EventManager$Meta3dEvent.createExtensionState(meta3dState, api);\n}\n\nfunction getExtensionLife(api, extensionProtocolName) {\n return {\n onRegister: null,\n onRestore: null,\n onDeepCopy: NullableSt$Meta3dCommonlib.$$return(function (meta3dState) {\n var state = api.getExtensionState(meta3dState, extensionProtocolName);\n return api.setExtensionState(meta3dState, extensionProtocolName, {\n actionContributeMap: state.actionContributeMap,\n eventManagerState: CreateEventManagerState$Meta3dEvent.deepCopy(state.eventManagerState)\n });\n }),\n onStart: null,\n onInit: null,\n onUpdate: null\n };\n}\n\nexports.getExtensionService = getExtensionService;\nexports.createExtensionState = createExtensionState;\nexports.getExtensionLife = getExtensionLife;\n/* EventManager-Meta3dEvent Not a pure module */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/Main.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/api/ManageEventAPIForSrc.bs.js": -/*!*****************************************************************!*\ - !*** ./lib/js/src/event_manager/api/ManageEventAPIForSrc.bs.js ***! - \*****************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Tuple2$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/tuple/Tuple2.bs.js\");\nvar ContainerManager$Meta3dEvent = __webpack_require__(/*! ../data/ContainerManager.bs.js */ \"./lib/js/src/event_manager/data/ContainerManager.bs.js\");\nvar ManageEventDoService$Meta3dEvent = __webpack_require__(/*! ../service/event/ManageEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/ManageEventDoService.bs.js\");\nvar CreateCustomEventDoService$Meta3dEvent = __webpack_require__(/*! ../service/event/event/CreateCustomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/event/CreateCustomEventDoService.bs.js\");\n\nfunction onCustomGlobalEvent(eventExtensionProtocolName, param) {\n var handleFunc = param[2];\n ContainerManager$Meta3dEvent.setState(ManageEventDoService$Meta3dEvent.onCustomGlobalEvent(param[0], (function (customEvent, state) {\n handleFunc(customEvent);\n return [\n state,\n customEvent\n ];\n }), ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), param[1], undefined), eventExtensionProtocolName);\n}\n\nfunction offCustomGlobalEventByHandleFunc(eventExtensionProtocolName, param) {\n ContainerManager$Meta3dEvent.setState(ManageEventDoService$Meta3dEvent.offCustomGlobalEventByHandleFunc(param[0], param[1], ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName)), eventExtensionProtocolName);\n}\n\nfunction onCustomGlobalEvent2(api, meta3dState, eventExtensionProtocolName, param) {\n var handleFunc = param[2];\n var state = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var state_actionContributeMap = state.actionContributeMap;\n var state_eventManagerState = ManageEventDoService$Meta3dEvent.onCustomGlobalEvent2(param[0], (function (meta3dState, customEvent) {\n var meta3dState$1 = handleFunc(meta3dState, customEvent);\n return [\n meta3dState$1,\n customEvent\n ];\n }), state.eventManagerState, param[1], undefined);\n var state$1 = {\n actionContributeMap: state_actionContributeMap,\n eventManagerState: state_eventManagerState\n };\n return api.setExtensionState(meta3dState, eventExtensionProtocolName, state$1);\n}\n\nfunction triggerCustomGlobalEvent2(api, meta3dState, eventExtensionProtocolName, customEvent) {\n return Tuple2$Meta3dCommonlib.getFirst(ManageEventDoService$Meta3dEvent.triggerCustomGlobalEvent2(api, meta3dState, eventExtensionProtocolName, customEvent));\n}\n\nfunction onCustomGlobalEvent3(api, meta3dState, eventExtensionProtocolName, param) {\n var handleFunc = param[2];\n var state = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var state_actionContributeMap = state.actionContributeMap;\n var state_eventManagerState = ManageEventDoService$Meta3dEvent.onCustomGlobalEvent3(param[0], (function (meta3dState, customEvent) {\n return handleFunc(meta3dState, customEvent);\n }), state.eventManagerState, param[1], undefined);\n var state$1 = {\n actionContributeMap: state_actionContributeMap,\n eventManagerState: state_eventManagerState\n };\n return api.setExtensionState(meta3dState, eventExtensionProtocolName, state$1);\n}\n\nvar triggerCustomGlobalEvent3 = ManageEventDoService$Meta3dEvent.triggerCustomGlobalEvent3;\n\nfunction createCustomEvent(eventName, userData) {\n return CreateCustomEventDoService$Meta3dEvent.create(eventName, (userData == null) ? undefined : Caml_option.some(userData));\n}\n\nexports.onCustomGlobalEvent = onCustomGlobalEvent;\nexports.offCustomGlobalEventByHandleFunc = offCustomGlobalEventByHandleFunc;\nexports.onCustomGlobalEvent2 = onCustomGlobalEvent2;\nexports.triggerCustomGlobalEvent2 = triggerCustomGlobalEvent2;\nexports.onCustomGlobalEvent3 = onCustomGlobalEvent3;\nexports.triggerCustomGlobalEvent3 = triggerCustomGlobalEvent3;\nexports.createCustomEvent = createCustomEvent;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/api/ManageEventAPIForSrc.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/data/ContainerManager.bs.js": -/*!**************************************************************!*\ - !*** ./lib/js/src/event_manager/data/ContainerManager.bs.js ***! - \**************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar createState = (function(createStateFunc, eventExtensionProtocolName){\nwindow[eventExtensionProtocolName + \"_eventManagerState\"] = createStateFunc()\n });\n\nvar getState = (function(eventExtensionProtocolName){\nreturn window[eventExtensionProtocolName + \"_eventManagerState\"]\n });\n\nvar setState = (function(state, eventExtensionProtocolName){\nwindow[eventExtensionProtocolName + \"_eventManagerState\"] = state\n });\n\nexports.createState = createState;\nexports.getState = getState;\nexports.setState = setState;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/data/ContainerManager.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/data/CreateEventManagerState.bs.js": -/*!*********************************************************************!*\ - !*** ./lib/js/src/event_manager/data/CreateEventManagerState.bs.js ***! - \*********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\nvar MutableSparseMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js\");\n\nvar _createSpecialKeyMap = (function() {\n var resultMap = [];\n var special_key_map = {\n 8: \"backspace\",\n 9: \"tab\",\n 10: \"return\",\n 13: \"return\",\n 16: \"shift\",\n 17: \"ctrl\",\n 18: \"alt\",\n 19: \"pause\",\n 20: \"capslock\",\n 27: \"esc\",\n 32: \"space\",\n 33: \"pageup\",\n 34: \"pagedown\",\n 35: \"end\",\n 36: \"home\",\n 37: \"left\",\n 38: \"up\",\n 39: \"right\",\n 40: \"down\",\n 45: \"insert\",\n 46: \"del\",\n 59: \";\",\n 61: \"=\",\n 65: \"a\",\n 66: \"b\",\n 67: \"c\",\n 68: \"d\",\n 69: \"e\",\n 70: \"f\",\n 71: \"g\",\n 72: \"h\",\n 73: \"i\",\n 74: \"j\",\n 75: \"k\",\n 76: \"l\",\n 77: \"m\",\n 78: \"n\",\n 79: \"o\",\n 80: \"p\",\n 81: \"q\",\n 82: \"r\",\n 83: \"s\",\n 84: \"t\",\n 85: \"u\",\n 86: \"v\",\n 87: \"w\",\n 88: \"x\",\n 89: \"y\",\n 90: \"z\",\n 96: \"0\",\n 97: \"1\",\n 98: \"2\",\n 99: \"3\",\n 100: \"4\",\n 101: \"5\",\n 102: \"6\",\n 103: \"7\",\n 104: \"8\",\n 105: \"9\",\n 106: \"*\",\n 107: \"+\",\n 109: \"-\",\n 110: \".\",\n 111: \"/\",\n 112: \"f1\",\n 113: \"f2\",\n 114: \"f3\",\n 115: \"f4\",\n 116: \"f5\",\n 117: \"f6\",\n 118: \"f7\",\n 119: \"f8\",\n 120: \"f9\",\n 121: \"f10\",\n 122: \"f11\",\n 123: \"f12\",\n 144: \"numlock\",\n 145: \"scroll\",\n 173: \"-\",\n 186: \";\",\n 187: \"=\",\n 188: \",\",\n 189: \"-\",\n 190: \".\",\n 191: \"/\",\n 192: \"\\`\",\n 219: \"[\",\n 220: \"\\\\\\\\\",\n 221: \"]\",\n 222: \"'\"\n };\n\n for(let key in special_key_map){\n if(special_key_map.hasOwnProperty(key)){\nresultMap[key] = special_key_map[key];\n }\n }\n\n return resultMap;\n });\n\nvar _createShiftKeyByKeyCodeMap = (function(){\n var resultMap = [];\n var map = {\n 59: \":\",\n 61: \"+\",\n 65: \"A\",\n 66: \"B\",\n 67: \"C\",\n 68: \"D\",\n 69: \"E\",\n 70: \"F\",\n 71: \"G\",\n 72: \"H\",\n 73: \"I\",\n 74: \"J\",\n 75: \"K\",\n 76: \"L\",\n 77: \"M\",\n 78: \"N\",\n 79: \"O\",\n 80: \"P\",\n 81: \"Q\",\n 82: \"R\",\n 83: \"S\",\n 84: \"T\",\n 85: \"U\",\n 86: \"V\",\n 87: \"W\",\n 88: \"X\",\n 89: \"Y\",\n 90: \"Z\",\n 96: \")\",\n 97: \"!\",\n 98: \"@\",\n 99: \"#\",\n 100: \"$\",\n 101: \"%\",\n 102: \"^\",\n 103: \"&\",\n 104: \"*\",\n 105: \"(\",\n 173: \"_\",\n 186: \":\",\n 187: \"+\",\n 188: \"<\",\n 189: \"_\",\n 190: \">\",\n 191: \"?\",\n 192: \"~\",\n 219: \"{\",\n 220: \"|\",\n 221: \"}\",\n // TODO should restore after upgrade rescrip!\n // 222: \"\\\\\"\"\n };\n\n for(let key in map){\n if(map.hasOwnProperty(key)){\nresultMap[key] = map[key];\n }\n }\n\n return resultMap;\n });\n\nvar _createShiftKeyByCharCodeMap = (function(){\n return {\n \"\\`\": \"~\",\n \"1\": \"!\",\n \"2\": \"@\",\n \"3\": \"#\",\n \"4\": \"$\",\n \"5\": \"%\",\n \"6\": \"^\",\n \"7\": \"&\",\n \"8\": \"*\",\n \"9\": \"(\",\n \"0\": \")\",\n \"-\": \"_\",\n \"=\": \"+\",\n \";\": \":\",\n // TODO should restore after upgrade rescrip!\n // \"'\": \"\\\\\"\",\n \",\": \"<\",\n \".\": \">\",\n \"/\": \"?\",\n \"\\\\\\\\\": \"|\"\n }\n });\n\nfunction create(param) {\n return {\n eventData: {\n domEventStreamSubscription: undefined,\n mouseDomEventDataArrMap: MutableSparseMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n keyboardDomEventDataArrMap: MutableSparseMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n touchDomEventDataArrMap: MutableSparseMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n customGlobalEventArrMap: MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n customGlobalEventArrMap2: MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n customGlobalEventArrMap3: MutableHashMap$Meta3dCommonlib.createEmpty(undefined, undefined),\n mouseEventData: {\n lastX: undefined,\n lastY: undefined,\n isDrag: false\n },\n keyboardEventData: {\n specialKeyMap: _createSpecialKeyMap(),\n shiftKeyByKeyCodeMap: _createShiftKeyByKeyCodeMap(),\n shiftKeyByCharCodeMap: _createShiftKeyByCharCodeMap()\n },\n touchEventData: {\n lastX: undefined,\n lastY: undefined,\n isDrag: false\n }\n },\n canvas: undefined,\n body: undefined,\n browser: /* Chrome */0\n };\n}\n\nfunction deepCopy(eventManagerState) {\n var init = eventManagerState.eventData;\n return {\n eventData: {\n domEventStreamSubscription: init.domEventStreamSubscription,\n mouseDomEventDataArrMap: MutableSparseMap$Meta3dCommonlib.copy(eventManagerState.eventData.mouseDomEventDataArrMap),\n keyboardDomEventDataArrMap: MutableSparseMap$Meta3dCommonlib.copy(eventManagerState.eventData.keyboardDomEventDataArrMap),\n touchDomEventDataArrMap: MutableSparseMap$Meta3dCommonlib.copy(eventManagerState.eventData.touchDomEventDataArrMap),\n customGlobalEventArrMap: MutableHashMap$Meta3dCommonlib.copy(eventManagerState.eventData.customGlobalEventArrMap),\n customGlobalEventArrMap2: MutableHashMap$Meta3dCommonlib.copy(eventManagerState.eventData.customGlobalEventArrMap2),\n customGlobalEventArrMap3: init.customGlobalEventArrMap3,\n mouseEventData: init.mouseEventData,\n keyboardEventData: init.keyboardEventData,\n touchEventData: init.touchEventData\n },\n canvas: eventManagerState.canvas,\n body: eventManagerState.body,\n browser: eventManagerState.browser\n };\n}\n\nexports._createSpecialKeyMap = _createSpecialKeyMap;\nexports._createShiftKeyByKeyCodeMap = _createShiftKeyByKeyCodeMap;\nexports._createShiftKeyByCharCodeMap = _createShiftKeyByCharCodeMap;\nexports.create = create;\nexports.deepCopy = deepCopy;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/data/CreateEventManagerState.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/browser/BrowserDoService.bs.js": -/*!*************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/browser/BrowserDoService.bs.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction getBrowser(state) {\n return state.browser;\n}\n\nfunction setBrowser(state, browser) {\n return {\n eventData: state.eventData,\n canvas: state.canvas,\n body: state.body,\n browser: browser\n };\n}\n\nexports.getBrowser = getBrowser;\nexports.setBrowser = setBrowser;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/browser/BrowserDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/dom/BodyDoService.bs.js": -/*!******************************************************************!*\ - !*** ./lib/js/src/event_manager/service/dom/BodyDoService.bs.js ***! - \******************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar OptionSt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/OptionSt.bs.js\");\n\nfunction getBodyExn(state) {\n return OptionSt$Meta3dCommonlib.getExn(state.body);\n}\n\nfunction setBody(state, body) {\n return {\n eventData: state.eventData,\n canvas: state.canvas,\n body: Caml_option.some(body),\n browser: state.browser\n };\n}\n\nexports.getBodyExn = getBodyExn;\nexports.setBody = setBody;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/dom/BodyDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/dom/CanvasDoService.bs.js": -/*!********************************************************************!*\ - !*** ./lib/js/src/event_manager/service/dom/CanvasDoService.bs.js ***! - \********************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\n\nfunction getCanvas(state) {\n return state.canvas;\n}\n\nfunction setCanvas(state, canvas) {\n return {\n eventData: state.eventData,\n canvas: Caml_option.some(canvas),\n body: state.body,\n browser: state.browser\n };\n}\n\nvar getOffset = (function(canvas){\n var offset = [canvas.offsetLeft, canvas.offsetTop];\n var offsetParent = canvas;\n\n while (offsetParent = offsetParent.offsetParent) {\n offset[0] += offsetParent.offsetLeft;\n offset[1] += offsetParent.offsetTop;\n }\n\n return offset;\n });\n\nexports.getCanvas = getCanvas;\nexports.setCanvas = setCanvas;\nexports.getOffset = getOffset;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/dom/CanvasDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/ManageEventDoService.bs.js": -/*!***************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/ManageEventDoService.bs.js ***! - \***************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar BindCustomEventDoService$Meta3dEvent = __webpack_require__(/*! ./bind/BindCustomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindCustomEventDoService.bs.js\");\nvar BindMouseDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./bind/BindMouseDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindMouseDomEventDoService.bs.js\");\nvar BindTouchDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./bind/BindTouchDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindTouchDomEventDoService.bs.js\");\nvar HandleCustomEventDoService$Meta3dEvent = __webpack_require__(/*! ./handle/HandleCustomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandleCustomEventDoService.bs.js\");\nvar BindKeyboardDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./bind/BindKeyboardDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindKeyboardDomEventDoService.bs.js\");\n\nfunction onMouseEvent(eventName, handleFunc, state, priorityOpt, param) {\n var priority = priorityOpt !== undefined ? priorityOpt : 0;\n return BindMouseDomEventDoService$Meta3dEvent.bind(eventName, priority, handleFunc, state);\n}\n\nfunction onKeyboardEvent(eventName, handleFunc, state, priorityOpt, param) {\n var priority = priorityOpt !== undefined ? priorityOpt : 0;\n return BindKeyboardDomEventDoService$Meta3dEvent.bind(eventName, priority, handleFunc, state);\n}\n\nfunction onTouchEvent(eventName, handleFunc, state, priorityOpt, param) {\n var priority = priorityOpt !== undefined ? priorityOpt : 0;\n return BindTouchDomEventDoService$Meta3dEvent.bind(eventName, priority, handleFunc, state);\n}\n\nvar offMouseEventByHandleFunc = BindMouseDomEventDoService$Meta3dEvent.unbindByHandleFunc;\n\nvar offKeyboardEventByHandleFunc = BindKeyboardDomEventDoService$Meta3dEvent.unbindByHandleFunc;\n\nvar offTouchEventByHandleFunc = BindTouchDomEventDoService$Meta3dEvent.unbindByHandleFunc;\n\nfunction onCustomGlobalEvent(eventName, handleFunc, state, priorityOpt, param) {\n var priority = priorityOpt !== undefined ? priorityOpt : 0;\n return BindCustomEventDoService$Meta3dEvent.bindGlobalEvent(eventName, priority, handleFunc, state);\n}\n\nfunction onCustomGlobalEvent2(eventName, handleFunc, state, priorityOpt, param) {\n var priority = priorityOpt !== undefined ? priorityOpt : 0;\n return BindCustomEventDoService$Meta3dEvent.bindGlobalEvent2(eventName, priority, handleFunc, state);\n}\n\nfunction onCustomGlobalEvent3(eventName, handleFunc, state, priorityOpt, param) {\n var priority = priorityOpt !== undefined ? priorityOpt : 0;\n return BindCustomEventDoService$Meta3dEvent.bindGlobalEvent3(eventName, priority, handleFunc, state);\n}\n\nvar offCustomGlobalEventByHandleFunc = BindCustomEventDoService$Meta3dEvent.unbindGlobalEventByHandleFunc;\n\nvar stopPropagationCustomEvent = HandleCustomEventDoService$Meta3dEvent.stopPropagation;\n\nvar triggerCustomGlobalEvent = HandleCustomEventDoService$Meta3dEvent.triggerGlobalEvent;\n\nvar triggerCustomGlobalEvent2 = HandleCustomEventDoService$Meta3dEvent.triggerGlobalEvent2;\n\nvar triggerCustomGlobalEvent3 = HandleCustomEventDoService$Meta3dEvent.triggerGlobalEvent3;\n\nfunction setDomEventStreamSubscription(state, domEventStreamSubscription) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: Caml_option.some(domEventStreamSubscription),\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nvar _unsubscribeDomEventStream = (function(domEventStreamSubscription){\n domEventStreamSubscription.unsubscribe();\n });\n\nfunction unsubscribeDomEventStream(state) {\n var domEventStreamSubscription = state.eventData.domEventStreamSubscription;\n if (domEventStreamSubscription !== undefined) {\n _unsubscribeDomEventStream(Caml_option.valFromOption(domEventStreamSubscription));\n return state;\n } else {\n return state;\n }\n}\n\nexports.onMouseEvent = onMouseEvent;\nexports.onKeyboardEvent = onKeyboardEvent;\nexports.onTouchEvent = onTouchEvent;\nexports.offMouseEventByHandleFunc = offMouseEventByHandleFunc;\nexports.offKeyboardEventByHandleFunc = offKeyboardEventByHandleFunc;\nexports.offTouchEventByHandleFunc = offTouchEventByHandleFunc;\nexports.onCustomGlobalEvent = onCustomGlobalEvent;\nexports.onCustomGlobalEvent2 = onCustomGlobalEvent2;\nexports.onCustomGlobalEvent3 = onCustomGlobalEvent3;\nexports.offCustomGlobalEventByHandleFunc = offCustomGlobalEventByHandleFunc;\nexports.stopPropagationCustomEvent = stopPropagationCustomEvent;\nexports.triggerCustomGlobalEvent = triggerCustomGlobalEvent;\nexports.triggerCustomGlobalEvent2 = triggerCustomGlobalEvent2;\nexports.triggerCustomGlobalEvent3 = triggerCustomGlobalEvent3;\nexports.setDomEventStreamSubscription = setDomEventStreamSubscription;\nexports._unsubscribeDomEventStream = _unsubscribeDomEventStream;\nexports.unsubscribeDomEventStream = unsubscribeDomEventStream;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/ManageEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/MouseEventDoService.bs.js": -/*!**************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/MouseEventDoService.bs.js ***! - \**************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction getLastXY(param) {\n var mouseEventData = param.mouseEventData;\n return [\n mouseEventData.lastX,\n mouseEventData.lastY\n ];\n}\n\nfunction setLastXY(lastX, lastY, eventData) {\n return {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: {\n lastX: lastX,\n lastY: lastY,\n isDrag: eventData.mouseEventData.isDrag\n },\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n };\n}\n\nexports.getLastXY = getLastXY;\nexports.setLastXY = setLastXY;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/MouseEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/NameEventDoService.bs.js": -/*!*************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/NameEventDoService.bs.js ***! - \*************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction getPointDownEventName(param) {\n return \"meta3d_pointdown\";\n}\n\nfunction getPointUpEventName(param) {\n return \"meta3d_pointup\";\n}\n\nfunction getPointTapEventName(param) {\n return \"meta3d_pointtap\";\n}\n\nfunction getPointMoveEventName(param) {\n return \"meta3d_pointmove\";\n}\n\nfunction getPointScaleEventName(param) {\n return \"meta3d_pointscale\";\n}\n\nfunction getPointDragStartEventName(param) {\n return \"meta3d_pointdragstart\";\n}\n\nfunction getPointDragOverEventName(param) {\n return \"meta3d_pointdragover\";\n}\n\nfunction getPointDragDropEventName(param) {\n return \"meta3d_pointdragdrop\";\n}\n\nexports.getPointDownEventName = getPointDownEventName;\nexports.getPointUpEventName = getPointUpEventName;\nexports.getPointTapEventName = getPointTapEventName;\nexports.getPointMoveEventName = getPointMoveEventName;\nexports.getPointScaleEventName = getPointScaleEventName;\nexports.getPointDragStartEventName = getPointDragStartEventName;\nexports.getPointDragOverEventName = getPointDragOverEventName;\nexports.getPointDragDropEventName = getPointDragDropEventName;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/NameEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/TouchEventDoService.bs.js": -/*!**************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/TouchEventDoService.bs.js ***! - \**************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction getLastXY(param) {\n var touchEventData = param.touchEventData;\n return [\n touchEventData.lastX,\n touchEventData.lastY\n ];\n}\n\nfunction setLastXY(lastX, lastY, eventData) {\n return {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: {\n lastX: lastX,\n lastY: lastY,\n isDrag: eventData.touchEventData.isDrag\n }\n };\n}\n\nexports.getLastXY = getLastXY;\nexports.setLastXY = setLastXY;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/TouchEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/bind/BindCustomEventDoService.bs.js": -/*!************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/bind/BindCustomEventDoService.bs.js ***! - \************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\n\nfunction _addEventDataByPriority(eventData, arr) {\n var __x = ArraySt$Meta3dCommonlib.push(arr, eventData);\n return Js_array.sortInPlaceWith((function (eventDataA, eventDataB) {\n return eventDataB.priority - eventDataA.priority | 0;\n }), __x);\n}\n\nfunction _addToEventArr(eventName, eventData, eventArrMap) {\n var arr = MutableHashMap$Meta3dCommonlib.get(eventArrMap, eventName);\n if (arr !== undefined) {\n return MutableHashMap$Meta3dCommonlib.set(eventArrMap, eventName, _addEventDataByPriority(eventData, arr));\n } else {\n return MutableHashMap$Meta3dCommonlib.set(eventArrMap, eventName, [eventData]);\n }\n}\n\nfunction bindGlobalEvent(eventName, priority, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: _addToEventArr(eventName, {\n priority: priority,\n handleFunc: handleFunc\n }, eventData.customGlobalEventArrMap),\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction bindGlobalEvent2(eventName, priority, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: _addToEventArr(eventName, {\n priority: priority,\n handleFunc: handleFunc\n }, eventData.customGlobalEventArrMap2),\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction bindGlobalEvent3(eventName, priority, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: _addToEventArr(eventName, {\n priority: priority,\n handleFunc: handleFunc\n }, eventData.customGlobalEventArrMap3),\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction _removeFromEventArrByHandleFunc(arr, targetHandleFunc) {\n return Js_array.filter((function (param) {\n return param.handleFunc !== targetHandleFunc;\n }), arr);\n}\n\nfunction _removeFromEventArrMapByHandleFunc(eventName, handleFunc, eventArrMap) {\n var arr = MutableHashMap$Meta3dCommonlib.get(eventArrMap, eventName);\n if (arr !== undefined) {\n return MutableHashMap$Meta3dCommonlib.set(eventArrMap, eventName, _removeFromEventArrByHandleFunc(arr, handleFunc));\n } else {\n return eventArrMap;\n }\n}\n\nfunction unbindGlobalEventByHandleFunc(eventName, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: _removeFromEventArrMapByHandleFunc(eventName, handleFunc, eventData.customGlobalEventArrMap),\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nexports._addEventDataByPriority = _addEventDataByPriority;\nexports._addToEventArr = _addToEventArr;\nexports.bindGlobalEvent = bindGlobalEvent;\nexports.bindGlobalEvent2 = bindGlobalEvent2;\nexports.bindGlobalEvent3 = bindGlobalEvent3;\nexports._removeFromEventArrByHandleFunc = _removeFromEventArrByHandleFunc;\nexports._removeFromEventArrMapByHandleFunc = _removeFromEventArrMapByHandleFunc;\nexports.unbindGlobalEventByHandleFunc = unbindGlobalEventByHandleFunc;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/bind/BindCustomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/bind/BindDomEventDoService.bs.js": -/*!*********************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/bind/BindDomEventDoService.bs.js ***! - \*********************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Js_array = __webpack_require__(/*! rescript/lib/js/js_array.js */ \"../../../../node_modules/rescript/lib/js/js_array.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar MutableSparseMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js\");\n\nfunction addToEventArr(eventName, eventData, getPriorityFunc, eventArrMap) {\n var arr = MutableSparseMap$Meta3dCommonlib.get(eventArrMap, eventName);\n if (arr === undefined) {\n return MutableSparseMap$Meta3dCommonlib.set(eventArrMap, eventName, [eventData]);\n }\n var __x = ArraySt$Meta3dCommonlib.push(arr, eventData);\n return MutableSparseMap$Meta3dCommonlib.set(eventArrMap, eventName, Js_array.sortInPlaceWith((function (eventDataA, eventDataB) {\n return Curry._1(getPriorityFunc, eventDataB) - Curry._1(getPriorityFunc, eventDataA) | 0;\n }), __x));\n}\n\nfunction removeFromEventArrMapByHandleFunc(eventName, param, eventArrMap) {\n var targetHandleFunc = param[1];\n var getHandleFuncFunc = param[0];\n var arr = MutableSparseMap$Meta3dCommonlib.get(eventArrMap, eventName);\n if (arr !== undefined) {\n return MutableSparseMap$Meta3dCommonlib.set(eventArrMap, eventName, Js_array.filter((function (domEventData) {\n return Curry._1(getHandleFuncFunc, domEventData) !== targetHandleFunc;\n }), arr));\n } else {\n return eventArrMap;\n }\n}\n\nexports.addToEventArr = addToEventArr;\nexports.removeFromEventArrMapByHandleFunc = removeFromEventArrMapByHandleFunc;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/bind/BindDomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/bind/BindKeyboardDomEventDoService.bs.js": -/*!*****************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/bind/BindKeyboardDomEventDoService.bs.js ***! - \*****************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar BindDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./BindDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindDomEventDoService.bs.js\");\n\nfunction _addToEventArr(eventName, eventData, eventArrMap) {\n return BindDomEventDoService$Meta3dEvent.addToEventArr(eventName, eventData, (function (param) {\n return param.priority;\n }), eventArrMap);\n}\n\nfunction _removeFromEventArrMapByHandleFunc(eventName, targetHandleFunc, eventArrMap) {\n return BindDomEventDoService$Meta3dEvent.removeFromEventArrMapByHandleFunc(eventName, [\n (function (param) {\n return param.handleFunc;\n }),\n targetHandleFunc\n ], eventArrMap);\n}\n\nfunction bind(eventName, priority, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: _addToEventArr(eventName, {\n priority: priority,\n handleFunc: handleFunc\n }, eventData.keyboardDomEventDataArrMap),\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction unbindByHandleFunc(eventName, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: _removeFromEventArrMapByHandleFunc(eventName, handleFunc, eventData.keyboardDomEventDataArrMap),\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nexports._addToEventArr = _addToEventArr;\nexports._removeFromEventArrMapByHandleFunc = _removeFromEventArrMapByHandleFunc;\nexports.bind = bind;\nexports.unbindByHandleFunc = unbindByHandleFunc;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/bind/BindKeyboardDomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/bind/BindMouseDomEventDoService.bs.js": -/*!**************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/bind/BindMouseDomEventDoService.bs.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar BindDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./BindDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindDomEventDoService.bs.js\");\n\nfunction _addToEventArr(eventName, eventData, eventArrMap) {\n return BindDomEventDoService$Meta3dEvent.addToEventArr(eventName, eventData, (function (param) {\n return param.priority;\n }), eventArrMap);\n}\n\nfunction _removeFromEventArrMapByHandleFunc(eventName, targetHandleFunc, eventArrMap) {\n return BindDomEventDoService$Meta3dEvent.removeFromEventArrMapByHandleFunc(eventName, [\n (function (param) {\n return param.handleFunc;\n }),\n targetHandleFunc\n ], eventArrMap);\n}\n\nfunction bind(eventName, priority, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: _addToEventArr(eventName, {\n priority: priority,\n handleFunc: handleFunc\n }, eventData.mouseDomEventDataArrMap),\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction unbindByHandleFunc(eventName, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: _removeFromEventArrMapByHandleFunc(eventName, handleFunc, eventData.mouseDomEventDataArrMap),\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nexports._addToEventArr = _addToEventArr;\nexports._removeFromEventArrMapByHandleFunc = _removeFromEventArrMapByHandleFunc;\nexports.bind = bind;\nexports.unbindByHandleFunc = unbindByHandleFunc;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/bind/BindMouseDomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/bind/BindTouchDomEventDoService.bs.js": -/*!**************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/bind/BindTouchDomEventDoService.bs.js ***! - \**************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar BindDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./BindDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/bind/BindDomEventDoService.bs.js\");\n\nfunction _addToEventArr(eventName, eventData, eventArrMap) {\n return BindDomEventDoService$Meta3dEvent.addToEventArr(eventName, eventData, (function (param) {\n return param.priority;\n }), eventArrMap);\n}\n\nfunction _removeFromEventArrMapByHandleFunc(eventName, targetHandleFunc, eventArrMap) {\n return BindDomEventDoService$Meta3dEvent.removeFromEventArrMapByHandleFunc(eventName, [\n (function (param) {\n return param.handleFunc;\n }),\n targetHandleFunc\n ], eventArrMap);\n}\n\nfunction bind(eventName, priority, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: _addToEventArr(eventName, {\n priority: priority,\n handleFunc: handleFunc\n }, eventData.touchDomEventDataArrMap),\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction unbindByHandleFunc(eventName, handleFunc, state) {\n var eventData = state.eventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: _removeFromEventArrMapByHandleFunc(eventName, handleFunc, eventData.touchDomEventDataArrMap),\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nexports._addToEventArr = _addToEventArr;\nexports._removeFromEventArrMapByHandleFunc = _removeFromEventArrMapByHandleFunc;\nexports.bind = bind;\nexports.unbindByHandleFunc = unbindByHandleFunc;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/bind/BindTouchDomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/event/CreateCustomEventDoService.bs.js": -/*!***************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/event/CreateCustomEventDoService.bs.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nfunction create(eventName, userData) {\n return {\n name: eventName,\n isStopPropagation: false,\n phase: undefined,\n userData: userData\n };\n}\n\nexports.create = create;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/event/CreateCustomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/handle/HandleCustomEventDoService.bs.js": -/*!****************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/handle/HandleCustomEventDoService.bs.js ***! - \****************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\n\nfunction _triggerHandleFunc(customEvent, arr, state) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(arr, (function (param, param$1) {\n var customEvent = param[1];\n var state = param[0];\n if (customEvent.isStopPropagation) {\n return [\n state,\n customEvent\n ];\n } else {\n return param$1.handleFunc(customEvent, state);\n }\n }), [\n state,\n customEvent\n ]);\n}\n\nfunction _triggerHandleFunc2(customEvent, arr, meta3dState) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(arr, (function (param, param$1) {\n var customEvent = param[1];\n var meta3dState = param[0];\n if (customEvent.isStopPropagation) {\n return [\n meta3dState,\n customEvent\n ];\n } else {\n return param$1.handleFunc(meta3dState, customEvent);\n }\n }), [\n meta3dState,\n customEvent\n ]);\n}\n\nfunction _triggerHandleFunc3(customEvent, arr, meta3dState) {\n return ArraySt$Meta3dCommonlib.traverseReducePromiseM(arr, (function (meta3dState, param) {\n if (customEvent.isStopPropagation) {\n return Promise.resolve(meta3dState);\n } else {\n return param.handleFunc(meta3dState, customEvent);\n }\n }), meta3dState);\n}\n\nfunction stopPropagation(customEvent) {\n return {\n name: customEvent.name,\n isStopPropagation: true,\n phase: customEvent.phase,\n userData: customEvent.userData\n };\n}\n\nfunction triggerGlobalEvent(customEvent, state) {\n var match = state.eventData;\n var arr = MutableHashMap$Meta3dCommonlib.get(match.customGlobalEventArrMap, customEvent.name);\n if (arr !== undefined) {\n return _triggerHandleFunc(customEvent, arr, state);\n } else {\n return [\n state,\n customEvent\n ];\n }\n}\n\nfunction triggerGlobalEvent2(api, meta3dState, eventExtensionProtocolName, customEvent) {\n var match = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var match$1 = match.eventManagerState.eventData;\n var arr = MutableHashMap$Meta3dCommonlib.get(match$1.customGlobalEventArrMap2, customEvent.name);\n if (arr !== undefined) {\n return _triggerHandleFunc2(customEvent, arr, meta3dState);\n } else {\n return [\n meta3dState,\n customEvent\n ];\n }\n}\n\nfunction triggerGlobalEvent3(api, meta3dState, eventExtensionProtocolName, customEvent) {\n var match = api.getExtensionState(meta3dState, eventExtensionProtocolName);\n var match$1 = match.eventManagerState.eventData;\n var arr = MutableHashMap$Meta3dCommonlib.get(match$1.customGlobalEventArrMap3, customEvent.name);\n if (arr !== undefined) {\n return _triggerHandleFunc3(customEvent, arr, meta3dState);\n } else {\n return Promise.resolve(meta3dState);\n }\n}\n\nfunction getCustomEventUserData(customEvent) {\n return customEvent.userData;\n}\n\nexports._triggerHandleFunc = _triggerHandleFunc;\nexports._triggerHandleFunc2 = _triggerHandleFunc2;\nexports._triggerHandleFunc3 = _triggerHandleFunc3;\nexports.stopPropagation = stopPropagation;\nexports.triggerGlobalEvent = triggerGlobalEvent;\nexports.triggerGlobalEvent2 = triggerGlobalEvent2;\nexports.triggerGlobalEvent3 = triggerGlobalEvent3;\nexports.getCustomEventUserData = getCustomEventUserData;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/handle/HandleCustomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/handle/HandleDomEventDoService.bs.js": -/*!*************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/handle/HandleDomEventDoService.bs.js ***! - \*************************************************************************************/ -/***/ ((__unused_webpack_module, exports) => { - -"use strict"; -eval("\n\n\nvar preventDefault = (function(event){\n if (event.cancelable) {\n if (!event.defaultPrevented) {\n event.preventDefault();\n }\n }\n\n event.stopPropagation();\n });\n\nexports.preventDefault = preventDefault;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/handle/HandleDomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/handle/HandleKeyboardEventDoService.bs.js": -/*!******************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/handle/HandleKeyboardEventDoService.bs.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar MutableHashMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/hash_map/MutableHashMap.bs.js\");\nvar MutableSparseMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js\");\n\nfunction _getKeyCode(keyboardDomEvent) {\n return keyboardDomEvent.keyCode;\n}\n\nfunction _getShiftKey(keyboardDomEvent) {\n return keyboardDomEvent.shiftKey;\n}\n\nfunction _getKeyFromSpecialKeyMap(keyCode, $$char, specialKeyMap) {\n var key = MutableSparseMap$Meta3dCommonlib.get(specialKeyMap, keyCode);\n if (key !== undefined) {\n return Caml_option.valFromOption(key);\n } else {\n return $$char;\n }\n}\n\nfunction _handleShiftKey(keyCode, $$char, param) {\n var upperCaseChar = MutableSparseMap$Meta3dCommonlib.get(param[0], keyCode);\n if (upperCaseChar !== undefined) {\n return upperCaseChar;\n }\n var upperCaseChar$1 = MutableHashMap$Meta3dCommonlib.get(param[1], $$char);\n if (upperCaseChar$1 !== undefined) {\n return upperCaseChar$1;\n } else {\n return _getKeyFromSpecialKeyMap(keyCode, $$char, param[2]);\n }\n}\n\nfunction _getKey(keyboardDomEvent, param) {\n var keyboardEventData = param.eventData.keyboardEventData;\n var specialKeyMap = keyboardEventData.specialKeyMap;\n var keyCode = keyboardDomEvent.keyCode;\n var $$char = String.fromCharCode(keyCode).toLowerCase();\n if (keyboardDomEvent.shiftKey) {\n return _handleShiftKey(keyCode, $$char, [\n keyboardEventData.shiftKeyByKeyCodeMap,\n keyboardEventData.shiftKeyByCharCodeMap,\n specialKeyMap\n ]);\n } else {\n return _getKeyFromSpecialKeyMap(keyCode, $$char, specialKeyMap);\n }\n}\n\nfunction _convertKeyboardDomEventToKeyboardEvent(eventName, keyboardDomEvent, state) {\n return {\n name: eventName,\n keyCode: keyboardDomEvent.keyCode,\n ctrlKey: keyboardDomEvent.ctrlKey,\n altKey: keyboardDomEvent.altKey,\n shiftKey: keyboardDomEvent.shiftKey,\n metaKey: keyboardDomEvent.metaKey,\n key: _getKey(keyboardDomEvent, state),\n event: keyboardDomEvent\n };\n}\n\nfunction execEventHandle(state, eventName, keyboardDomEvent) {\n var arr = MutableSparseMap$Meta3dCommonlib.get(state.eventData.keyboardDomEventDataArrMap, eventName);\n if (arr !== undefined) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(arr, (function (state, param) {\n return param.handleFunc(_convertKeyboardDomEventToKeyboardEvent(eventName, keyboardDomEvent, state), state);\n }), state);\n } else {\n return state;\n }\n}\n\nexports._getKeyCode = _getKeyCode;\nexports._getShiftKey = _getShiftKey;\nexports._getKeyFromSpecialKeyMap = _getKeyFromSpecialKeyMap;\nexports._handleShiftKey = _handleShiftKey;\nexports._getKey = _getKey;\nexports._convertKeyboardDomEventToKeyboardEvent = _convertKeyboardDomEventToKeyboardEvent;\nexports.execEventHandle = execEventHandle;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/handle/HandleKeyboardEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/handle/HandleMouseEventDoService.bs.js": -/*!***************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/handle/HandleMouseEventDoService.bs.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar MouseEventDoService$Meta3dEvent = __webpack_require__(/*! ../MouseEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/MouseEventDoService.bs.js\");\nvar MutableSparseMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js\");\nvar HandlePointDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./HandlePointDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandlePointDomEventDoService.bs.js\");\n\nfunction getLocation(mouseDomEvent, state) {\n return [\n mouseDomEvent.pageX,\n mouseDomEvent.pageY\n ];\n}\n\nfunction getLocationInView(mouseDomEvent, state) {\n return HandlePointDomEventDoService$Meta3dEvent.getLocationInView(mouseDomEvent, getLocation, state);\n}\n\nfunction getButton(mouseDomEvent, state) {\n var match = mouseDomEvent.which;\n switch (match) {\n case 0 :\n return /* NoButton */0;\n case 1 :\n return /* Left */1;\n case 2 :\n return /* Center */3;\n case 3 :\n return /* Right */2;\n default:\n throw {\n RE_EXN_ID: \"Match_failure\",\n _1: [\n \"HandleMouseEventDoService.res\",\n 47,\n 2\n ],\n Error: new Error()\n };\n }\n}\n\nfunction _getFromDeltaY(mouseDomEvent) {\n var data = mouseDomEvent.deltaY;\n if (!(data == null)) {\n return data / -100 | 0;\n } else {\n return 0;\n }\n}\n\nfunction _getFromWheelDelta(mouseDomEvent) {\n var wheelData = mouseDomEvent.wheelDelta;\n if (wheelData == null) {\n return _getFromDeltaY(mouseDomEvent);\n } else {\n return wheelData / 120 | 0;\n }\n}\n\nfunction getWheel(mouseDomEvent) {\n var detail = mouseDomEvent.detail;\n if (!(detail == null) && detail !== 0) {\n return Math.imul(-1, detail);\n } else {\n return _getFromWheelDelta(mouseDomEvent);\n }\n}\n\nvar _isPointerLocked = (function() {\n return !!(\n document.pointerLockElement\n || document.mozPointerLockElement\n || document.webkitPointerLockElement\n );\n });\n\nfunction _getMovementDeltaWhenPointerLocked(mouseDomEvent) {\n var movementX = mouseDomEvent.movementX;\n var tmp;\n if (movementX == null) {\n var webkitMovementX = mouseDomEvent.webkitMovementX;\n if (webkitMovementX == null) {\n var mozMovementX = mouseDomEvent.mozMovementX;\n tmp = (mozMovementX == null) ? 0 : mozMovementX;\n } else {\n tmp = webkitMovementX;\n }\n } else {\n tmp = movementX;\n }\n var movementY = mouseDomEvent.movementY;\n var tmp$1;\n if (movementY == null) {\n var webkitMovementY = mouseDomEvent.webkitMovementY;\n if (webkitMovementY == null) {\n var mozMovementY = mouseDomEvent.mozMovementY;\n tmp$1 = (mozMovementY == null) ? 0 : mozMovementY;\n } else {\n tmp$1 = webkitMovementY;\n }\n } else {\n tmp$1 = movementY;\n }\n return [\n tmp,\n tmp$1\n ];\n}\n\nfunction getMovementDelta(mouseDomEvent, state) {\n if (_isPointerLocked()) {\n return _getMovementDeltaWhenPointerLocked(mouseDomEvent);\n } else {\n return HandlePointDomEventDoService$Meta3dEvent.getMovementDelta(getLocation(mouseDomEvent, state), MouseEventDoService$Meta3dEvent.getLastXY(state.eventData), state);\n }\n}\n\nfunction convertMouseDomEventToMouseEvent(eventName, mouseDomEvent, state) {\n return {\n name: eventName,\n location: getLocation(mouseDomEvent, state),\n locationInView: HandlePointDomEventDoService$Meta3dEvent.getLocationInView(mouseDomEvent, getLocation, state),\n button: getButton(mouseDomEvent, state),\n wheel: getWheel(mouseDomEvent),\n movementDelta: getMovementDelta(mouseDomEvent, state),\n event: mouseDomEvent\n };\n}\n\nfunction execEventHandle(state, mouseEvent) {\n var arr = MutableSparseMap$Meta3dCommonlib.get(state.eventData.mouseDomEventDataArrMap, mouseEvent.name);\n if (arr !== undefined) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(arr, (function (state, param) {\n return param.handleFunc(mouseEvent, state);\n }), state);\n } else {\n return state;\n }\n}\n\nfunction setLastXY(state, lastX, lastY) {\n return {\n eventData: MouseEventDoService$Meta3dEvent.setLastXY(lastX, lastY, state.eventData),\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction setLastXYByLocation(state, mouseEvent) {\n var $$location = mouseEvent.location;\n return setLastXY(state, $$location[0], $$location[1]);\n}\n\nfunction getIsDrag(state) {\n return state.eventData.mouseEventData.isDrag;\n}\n\nfunction setIsDrag(state, isDrag) {\n var eventData = state.eventData;\n var init = eventData.mouseEventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: {\n lastX: init.lastX,\n lastY: init.lastY,\n isDrag: isDrag\n },\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: eventData.touchEventData\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction setLastXYWhenMouseMove(state, mouseEvent) {\n if (getIsDrag(state)) {\n return state;\n } else {\n return setLastXYByLocation(state, mouseEvent);\n }\n}\n\nexports.getLocation = getLocation;\nexports.getLocationInView = getLocationInView;\nexports.getButton = getButton;\nexports._getFromDeltaY = _getFromDeltaY;\nexports._getFromWheelDelta = _getFromWheelDelta;\nexports.getWheel = getWheel;\nexports._isPointerLocked = _isPointerLocked;\nexports._getMovementDeltaWhenPointerLocked = _getMovementDeltaWhenPointerLocked;\nexports.getMovementDelta = getMovementDelta;\nexports.convertMouseDomEventToMouseEvent = convertMouseDomEventToMouseEvent;\nexports.execEventHandle = execEventHandle;\nexports.setLastXY = setLastXY;\nexports.setLastXYByLocation = setLastXYByLocation;\nexports.getIsDrag = getIsDrag;\nexports.setIsDrag = setIsDrag;\nexports.setLastXYWhenMouseMove = setLastXYWhenMouseMove;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/handle/HandleMouseEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/handle/HandlePointDomEventDoService.bs.js": -/*!******************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/handle/HandlePointDomEventDoService.bs.js ***! - \******************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar CanvasDoService$Meta3dEvent = __webpack_require__(/*! ../../dom/CanvasDoService.bs.js */ \"./lib/js/src/event_manager/service/dom/CanvasDoService.bs.js\");\nvar HandleDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./HandleDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandleDomEventDoService.bs.js\");\n\nfunction getLocationInView(domEvent, getLocationFunc, state) {\n var canvas = CanvasDoService$Meta3dEvent.getCanvas(state);\n if (canvas === undefined) {\n return [\n 0,\n 0\n ];\n }\n var match = CanvasDoService$Meta3dEvent.getOffset(Caml_option.valFromOption(canvas));\n var match$1 = Curry._2(getLocationFunc, domEvent, state);\n return [\n match$1[0] - match[0] | 0,\n match$1[1] - match[1] | 0\n ];\n}\n\nfunction getMovementDelta($$location, lastXYTuple, state) {\n var lastX = lastXYTuple[0];\n if (lastX !== undefined) {\n var lastY = lastXYTuple[1];\n if (lastY !== undefined) {\n return [\n $$location[0] - lastX | 0,\n $$location[1] - lastY | 0\n ];\n }\n throw {\n RE_EXN_ID: \"Match_failure\",\n _1: [\n \"HandlePointDomEventDoService.res\",\n 17,\n 2\n ],\n Error: new Error()\n };\n }\n if (lastXYTuple[1] === undefined) {\n return [\n 0,\n 0\n ];\n }\n throw {\n RE_EXN_ID: \"Match_failure\",\n _1: [\n \"HandlePointDomEventDoService.res\",\n 17,\n 2\n ],\n Error: new Error()\n };\n}\n\nvar preventDefault = HandleDomEventDoService$Meta3dEvent.preventDefault;\n\nexports.getLocationInView = getLocationInView;\nexports.getMovementDelta = getMovementDelta;\nexports.preventDefault = preventDefault;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/handle/HandlePointDomEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/event/handle/HandleTouchEventDoService.bs.js": -/*!***************************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/event/handle/HandleTouchEventDoService.bs.js ***! - \***************************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/ArraySt.bs.js\");\nvar TouchEventDoService$Meta3dEvent = __webpack_require__(/*! ../TouchEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/TouchEventDoService.bs.js\");\nvar MutableSparseMap$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/structure/sparse_map/MutableSparseMap.bs.js\");\nvar HandlePointDomEventDoService$Meta3dEvent = __webpack_require__(/*! ./HandlePointDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandlePointDomEventDoService.bs.js\");\n\nfunction _getTouchData(touchDomEvent) {\n var changedTouches = touchDomEvent.changedTouches;\n var touchDataJsObj = changedTouches[0];\n return {\n clientX: touchDataJsObj.clientX,\n clientY: touchDataJsObj.clientY,\n pageX: touchDataJsObj.pageX,\n pageY: touchDataJsObj.pageY,\n identifier: touchDataJsObj.identifier,\n screenX: touchDataJsObj.screenX,\n screenY: touchDataJsObj.screenY,\n radiusX: touchDataJsObj.radiusX,\n radiusY: touchDataJsObj.radiusY,\n rotationAngle: touchDataJsObj.rotationAngle,\n force: touchDataJsObj.force\n };\n}\n\nfunction _getLocation(touchDomEvent, state) {\n var match = _getTouchData(touchDomEvent);\n return [\n match.pageX,\n match.pageY\n ];\n}\n\nfunction _getLocationInView(touchDomEvent, state) {\n return HandlePointDomEventDoService$Meta3dEvent.getLocationInView(touchDomEvent, _getLocation, state);\n}\n\nfunction _getMovementDelta(touchDomEvent, state) {\n return HandlePointDomEventDoService$Meta3dEvent.getMovementDelta(_getLocation(touchDomEvent, state), TouchEventDoService$Meta3dEvent.getLastXY(state.eventData), state);\n}\n\nfunction _convertTouchDomEventToTouchEvent(eventName, touchDomEvent, state) {\n return {\n name: eventName,\n location: _getLocation(touchDomEvent, state),\n locationInView: HandlePointDomEventDoService$Meta3dEvent.getLocationInView(touchDomEvent, _getLocation, state),\n touchData: _getTouchData(touchDomEvent),\n movementDelta: _getMovementDelta(touchDomEvent, state),\n event: touchDomEvent\n };\n}\n\nfunction execEventHandle(state, eventName, touchDomEvent) {\n var arr = MutableSparseMap$Meta3dCommonlib.get(state.eventData.touchDomEventDataArrMap, eventName);\n if (arr !== undefined) {\n return ArraySt$Meta3dCommonlib.reduceOneParam(arr, (function (state, param) {\n return param.handleFunc(_convertTouchDomEventToTouchEvent(eventName, touchDomEvent, state), state);\n }), state);\n } else {\n return state;\n }\n}\n\nfunction setLastXY(state, lastX, lastY) {\n return {\n eventData: TouchEventDoService$Meta3dEvent.setLastXY(lastX, lastY, state.eventData),\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction setLastXYByLocation(state, eventName, touchDomEvent) {\n var match = _convertTouchDomEventToTouchEvent(eventName, touchDomEvent, state);\n var $$location = match.location;\n return setLastXY(state, $$location[0], $$location[1]);\n}\n\nfunction getIsDrag(state) {\n return state.eventData.touchEventData.isDrag;\n}\n\nfunction setIsDrag(state, isDrag) {\n var eventData = state.eventData;\n var init = eventData.touchEventData;\n return {\n eventData: {\n domEventStreamSubscription: eventData.domEventStreamSubscription,\n mouseDomEventDataArrMap: eventData.mouseDomEventDataArrMap,\n keyboardDomEventDataArrMap: eventData.keyboardDomEventDataArrMap,\n touchDomEventDataArrMap: eventData.touchDomEventDataArrMap,\n customGlobalEventArrMap: eventData.customGlobalEventArrMap,\n customGlobalEventArrMap2: eventData.customGlobalEventArrMap2,\n customGlobalEventArrMap3: eventData.customGlobalEventArrMap3,\n mouseEventData: eventData.mouseEventData,\n keyboardEventData: eventData.keyboardEventData,\n touchEventData: {\n lastX: init.lastX,\n lastY: init.lastY,\n isDrag: isDrag\n }\n },\n canvas: state.canvas,\n body: state.body,\n browser: state.browser\n };\n}\n\nfunction setLastXYWhenTouchMove(state, eventName, touchDomEvent) {\n if (getIsDrag(state)) {\n return state;\n } else {\n return setLastXYByLocation(state, eventName, touchDomEvent);\n }\n}\n\nexports._getTouchData = _getTouchData;\nexports._getLocation = _getLocation;\nexports._getLocationInView = _getLocationInView;\nexports._getMovementDelta = _getMovementDelta;\nexports._convertTouchDomEventToTouchEvent = _convertTouchDomEventToTouchEvent;\nexports.execEventHandle = execEventHandle;\nexports.setLastXY = setLastXY;\nexports.setLastXYByLocation = setLastXYByLocation;\nexports.getIsDrag = getIsDrag;\nexports.setIsDrag = setIsDrag;\nexports.setLastXYWhenTouchMove = setLastXYWhenTouchMove;\n/* No side effect */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/event/handle/HandleTouchEventDoService.bs.js?"); - -/***/ }), - -/***/ "./lib/js/src/event_manager/service/init_event/InitEventDoService.bs.js": -/*!******************************************************************************!*\ - !*** ./lib/js/src/event_manager/service/init_event/InitEventDoService.bs.js ***! - \******************************************************************************/ -/***/ ((__unused_webpack_module, exports, __webpack_require__) => { - -"use strict"; -eval("\n\nvar Most = __webpack_require__(/*! most */ \"../../../../node_modules/most/src/index.js\");\nvar Curry = __webpack_require__(/*! rescript/lib/js/curry.js */ \"../../../../node_modules/rescript/lib/js/curry.js\");\nvar Caml_option = __webpack_require__(/*! rescript/lib/js/caml_option.js */ \"../../../../node_modules/rescript/lib/js/caml_option.js\");\nvar Log$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib/lib/js/src/log/Log.bs.js */ \"../../../../defaults/meta3d-commonlib/lib/js/src/log/Log.bs.js\");\nvar Most$Meta3dBsMostDefault = __webpack_require__(/*! meta3d-bs-most-default/lib/js/src/most.bs.js */ \"../../../../defaults/meta3d-bs-most-default/lib/js/src/most.bs.js\");\nvar BodyDoService$Meta3dEvent = __webpack_require__(/*! ../dom/BodyDoService.bs.js */ \"./lib/js/src/event_manager/service/dom/BodyDoService.bs.js\");\nvar BrowserDoService$Meta3dEvent = __webpack_require__(/*! ../browser/BrowserDoService.bs.js */ \"./lib/js/src/event_manager/service/browser/BrowserDoService.bs.js\");\nvar ContainerManager$Meta3dEvent = __webpack_require__(/*! ../../data/ContainerManager.bs.js */ \"./lib/js/src/event_manager/data/ContainerManager.bs.js\");\nvar NameEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/NameEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/NameEventDoService.bs.js\");\nvar ManageEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/ManageEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/ManageEventDoService.bs.js\");\nvar HandleDomEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/handle/HandleDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandleDomEventDoService.bs.js\");\nvar HandleMouseEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/handle/HandleMouseEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandleMouseEventDoService.bs.js\");\nvar HandleTouchEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/handle/HandleTouchEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandleTouchEventDoService.bs.js\");\nvar CreateCustomEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/event/CreateCustomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/event/CreateCustomEventDoService.bs.js\");\nvar HandleKeyboardEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/handle/HandleKeyboardEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandleKeyboardEventDoService.bs.js\");\nvar HandlePointDomEventDoService$Meta3dEvent = __webpack_require__(/*! ../event/handle/HandlePointDomEventDoService.bs.js */ \"./lib/js/src/event_manager/service/event/handle/HandlePointDomEventDoService.bs.js\");\n\nvar _getBody = BodyDoService$Meta3dEvent.getBodyExn;\n\nfunction setBody(body, state) {\n return {\n eventData: state.eventData,\n canvas: state.canvas,\n body: Caml_option.some(body),\n browser: state.browser\n };\n}\n\nfunction _fromPointDomEvent(eventName, state) {\n return Most.fromEvent(eventName, BodyDoService$Meta3dEvent.getBodyExn(state), false);\n}\n\nfunction _fromMobilePointDomEvent(eventName, state) {\n return Most.fromEvent(eventName, BodyDoService$Meta3dEvent.getBodyExn(state), {\n passive: false\n });\n}\n\nfunction _fromTouchMoveDomEventAndPreventnDefault(state) {\n var __x = _fromMobilePointDomEvent(\"touchmove\", state);\n return Most.tap(HandlePointDomEventDoService$Meta3dEvent.preventDefault, __x);\n}\n\nfunction _fromKeyboardDomEvent(eventName, state) {\n return Most.fromEvent(eventName, BodyDoService$Meta3dEvent.getBodyExn(state), false);\n}\n\nfunction _convertMouseEventToPointEvent(eventName, param) {\n return {\n name: eventName,\n location: param.location,\n locationInView: param.locationInView,\n button: param.button,\n wheel: param.wheel,\n movementDelta: param.movementDelta,\n event: param.event\n };\n}\n\nfunction _bindDomEventToTriggerPointEvent(param, param$1, state) {\n var convertDomEventToPointEventFunc = param$1[1];\n var pointEventName = param[2];\n var customEventName = param[1];\n return Curry._4(param$1[0], param[0], (function (mouseEvent, state) {\n return ManageEventDoService$Meta3dEvent.triggerCustomGlobalEvent(CreateCustomEventDoService$Meta3dEvent.create(customEventName, Caml_option.some(Curry._2(convertDomEventToPointEventFunc, pointEventName, mouseEvent))), state)[0];\n }), state, undefined);\n}\n\nfunction _bindMouseEventToTriggerPointEvent(state, mouseEventName, customEventName, pointEventName) {\n return _bindDomEventToTriggerPointEvent([\n mouseEventName,\n customEventName,\n pointEventName\n ], [\n (function (param) {\n var func = function (param$1, param$2, param$3, param$4) {\n return ManageEventDoService$Meta3dEvent.onMouseEvent(param, param$1, param$2, param$3, param$4);\n };\n return function (param) {\n var func$1 = Curry._1(func, param);\n return function (param) {\n return Curry._2(func$1, param, 0);\n };\n };\n }),\n _convertMouseEventToPointEvent\n ], state);\n}\n\nfunction _convertTouchEventToPointEvent(eventName, param) {\n return {\n name: eventName,\n location: param.location,\n locationInView: param.locationInView,\n button: undefined,\n wheel: undefined,\n movementDelta: param.movementDelta,\n event: param.event\n };\n}\n\nfunction _bindTouchEventToTriggerPointEvent(state, touchEventName, customEventName, pointEventName) {\n return _bindDomEventToTriggerPointEvent([\n touchEventName,\n customEventName,\n pointEventName\n ], [\n (function (param) {\n var func = function (param$1, param$2, param$3, param$4) {\n return ManageEventDoService$Meta3dEvent.onTouchEvent(param, param$1, param$2, param$3, param$4);\n };\n return function (param) {\n var func$1 = Curry._1(func, param);\n return function (param) {\n return Curry._2(func$1, param, 0);\n };\n };\n }),\n _convertTouchEventToPointEvent\n ], state);\n}\n\nfunction bindDomEventToTriggerPointEvent(stateForEventHandler, browser) {\n if (browser < 2) {\n return _bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(_bindMouseEventToTriggerPointEvent(stateForEventHandler, /* Click */1, NameEventDoService$Meta3dEvent.getPointTapEventName(undefined), /* PointTap */0), /* MouseUp */3, NameEventDoService$Meta3dEvent.getPointUpEventName(undefined), /* PointUp */2), /* MouseDown */2, NameEventDoService$Meta3dEvent.getPointDownEventName(undefined), /* PointDown */1), /* MouseWheel */5, NameEventDoService$Meta3dEvent.getPointScaleEventName(undefined), /* PointScale */4), /* MouseMove */4, NameEventDoService$Meta3dEvent.getPointMoveEventName(undefined), /* PointMove */3), /* MouseDragStart */6, NameEventDoService$Meta3dEvent.getPointDragStartEventName(undefined), /* PointDragStart */5), /* MouseDragOver */7, NameEventDoService$Meta3dEvent.getPointDragOverEventName(undefined), /* PointDragOver */6), /* MouseDragDrop */8, NameEventDoService$Meta3dEvent.getPointDragDropEventName(undefined), /* PointDragDrop */7);\n }\n if (browser >= 4) {\n throw {\n RE_EXN_ID: \"Match_failure\",\n _1: [\n \"InitEventDoService.res\",\n 99,\n 2\n ],\n Error: new Error()\n };\n }\n return _bindTouchEventToTriggerPointEvent(_bindTouchEventToTriggerPointEvent(_bindTouchEventToTriggerPointEvent(_bindTouchEventToTriggerPointEvent(_bindTouchEventToTriggerPointEvent(_bindTouchEventToTriggerPointEvent(_bindTouchEventToTriggerPointEvent(stateForEventHandler, /* TouchTap */12, NameEventDoService$Meta3dEvent.getPointTapEventName(undefined), /* PointTap */0), /* TouchEnd */13, NameEventDoService$Meta3dEvent.getPointUpEventName(undefined), /* PointUp */2), /* TouchStart */15, NameEventDoService$Meta3dEvent.getPointDownEventName(undefined), /* PointDown */1), /* TouchMove */14, NameEventDoService$Meta3dEvent.getPointMoveEventName(undefined), /* PointMove */3), /* TouchDragStart */16, NameEventDoService$Meta3dEvent.getPointDragStartEventName(undefined), /* PointDragStart */5), /* TouchDragOver */17, NameEventDoService$Meta3dEvent.getPointDragOverEventName(undefined), /* PointDragOver */6), /* TouchDragDrop */18, NameEventDoService$Meta3dEvent.getPointDragDropEventName(undefined), /* PointDragDrop */7);\n}\n\nfunction _preventContextMenuEvent($$event) {\n HandleDomEventDoService$Meta3dEvent.preventDefault($$event);\n}\n\nfunction _execMouseEventHandle(eventName, $$event, eventExtensionProtocolName) {\n var state = ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName);\n ContainerManager$Meta3dEvent.setState(HandleMouseEventDoService$Meta3dEvent.execEventHandle(state, HandleMouseEventDoService$Meta3dEvent.convertMouseDomEventToMouseEvent(eventName, $$event, state)), eventExtensionProtocolName);\n}\n\nfunction _execMouseChangePositionEventHandle(mouseEventName, eventExtensionProtocolName, $$event, setPositionFunc) {\n var state = ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName);\n var mouseEvent = HandleMouseEventDoService$Meta3dEvent.convertMouseDomEventToMouseEvent(mouseEventName, $$event, state);\n ContainerManager$Meta3dEvent.setState(Curry._2(setPositionFunc, HandleMouseEventDoService$Meta3dEvent.execEventHandle(state, mouseEvent), mouseEvent), eventExtensionProtocolName);\n}\n\nfunction _execMouseMoveEventHandle(mouseEventName, $$event, eventExtensionProtocolName) {\n _execMouseChangePositionEventHandle(mouseEventName, eventExtensionProtocolName, $$event, HandleMouseEventDoService$Meta3dEvent.setLastXYWhenMouseMove);\n}\n\nfunction _execMouseDragingEventHandle(mouseEventName, $$event, eventExtensionProtocolName) {\n _execMouseChangePositionEventHandle(mouseEventName, eventExtensionProtocolName, $$event, HandleMouseEventDoService$Meta3dEvent.setLastXYByLocation);\n}\n\nfunction _execMouseDragStartEventHandle($$event, eventExtensionProtocolName) {\n var state = ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName);\n ContainerManager$Meta3dEvent.setState(HandleMouseEventDoService$Meta3dEvent.setLastXY(HandleMouseEventDoService$Meta3dEvent.setIsDrag(HandleMouseEventDoService$Meta3dEvent.execEventHandle(state, HandleMouseEventDoService$Meta3dEvent.convertMouseDomEventToMouseEvent(/* MouseDragStart */6, $$event, state)), true), undefined, undefined), eventExtensionProtocolName);\n}\n\nfunction _execMouseDragDropEventHandle($$event, eventExtensionProtocolName) {\n var state = ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName);\n ContainerManager$Meta3dEvent.setState(HandleMouseEventDoService$Meta3dEvent.setIsDrag(HandleMouseEventDoService$Meta3dEvent.execEventHandle(state, HandleMouseEventDoService$Meta3dEvent.convertMouseDomEventToMouseEvent(/* MouseDragDrop */8, $$event, state)), false), eventExtensionProtocolName);\n}\n\nfunction _execTouchEventHandle(touchEventName, $$event, eventExtensionProtocolName) {\n ContainerManager$Meta3dEvent.setState(HandleTouchEventDoService$Meta3dEvent.execEventHandle(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), touchEventName, $$event), eventExtensionProtocolName);\n}\n\nfunction _execTouchChangePositionEventHandle(touchEventName, eventExtensionProtocolName, $$event, setPositonFunc) {\n ContainerManager$Meta3dEvent.setState(Curry._3(setPositonFunc, HandleTouchEventDoService$Meta3dEvent.execEventHandle(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), touchEventName, $$event), touchEventName, $$event), eventExtensionProtocolName);\n}\n\nfunction _execTouchMoveEventHandle(touchEventName, $$event, eventExtensionProtocolName) {\n _execTouchChangePositionEventHandle(touchEventName, eventExtensionProtocolName, $$event, HandleTouchEventDoService$Meta3dEvent.setLastXYWhenTouchMove);\n}\n\nfunction _execTouchDragingEventHandle(touchEventName, $$event, eventExtensionProtocolName) {\n _execTouchChangePositionEventHandle(touchEventName, eventExtensionProtocolName, $$event, HandleTouchEventDoService$Meta3dEvent.setLastXYByLocation);\n}\n\nfunction _execTouchDragStartEventHandle($$event, eventExtensionProtocolName) {\n ContainerManager$Meta3dEvent.setState(HandleTouchEventDoService$Meta3dEvent.setLastXY(HandleTouchEventDoService$Meta3dEvent.setIsDrag(HandleTouchEventDoService$Meta3dEvent.execEventHandle(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), /* TouchDragStart */16, $$event), true), undefined, undefined), eventExtensionProtocolName);\n}\n\nfunction _execTouchDragDropEventHandle($$event, eventExtensionProtocolName) {\n ContainerManager$Meta3dEvent.setState(HandleTouchEventDoService$Meta3dEvent.setIsDrag(HandleTouchEventDoService$Meta3dEvent.execEventHandle(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), /* TouchDragDrop */18, $$event), false), eventExtensionProtocolName);\n}\n\nfunction _execKeyboardEventHandle(keyboardEventName, $$event, eventExtensionProtocolName) {\n ContainerManager$Meta3dEvent.setState(HandleKeyboardEventDoService$Meta3dEvent.execEventHandle(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), keyboardEventName, $$event), eventExtensionProtocolName);\n}\n\nfunction _fromPCDomEventArr(state, eventExtensionProtocolName) {\n var __x = Most.fromEvent(\"contextmenu\", BodyDoService$Meta3dEvent.getBodyExn(state), false);\n var __x$1 = _fromPointDomEvent(\"click\", state);\n var __x$2 = _fromPointDomEvent(\"mousedown\", state);\n var __x$3 = _fromPointDomEvent(\"mouseup\", state);\n var __x$4 = _fromPointDomEvent(\"mousemove\", state);\n var __x$5 = _fromPointDomEvent(\"wheel\", state);\n var __x$6 = _fromPointDomEvent(\"mousedown\", state);\n var __x$7 = Most.tap((function ($$event) {\n _execMouseDragStartEventHandle($$event, eventExtensionProtocolName);\n }), __x$6);\n var __x$8 = Most.flatMap((function ($$event) {\n var __x = Most.skip(2, _fromPointDomEvent(\"mousemove\", state));\n var __x$1 = _fromPointDomEvent(\"mouseup\", state);\n return Most.until(Most.tap((function ($$event) {\n _execMouseDragDropEventHandle($$event, eventExtensionProtocolName);\n }), __x$1), __x);\n }), __x$7);\n var __x$9 = _fromKeyboardDomEvent(\"keyup\", state);\n var __x$10 = _fromKeyboardDomEvent(\"keydown\", state);\n var __x$11 = _fromKeyboardDomEvent(\"keypress\", state);\n return [\n Most.tap((function ($$event) {\n HandleDomEventDoService$Meta3dEvent.preventDefault($$event);\n }), __x),\n Most.tap((function ($$event) {\n _execMouseEventHandle(/* Click */1, $$event, eventExtensionProtocolName);\n }), __x$1),\n Most.tap((function ($$event) {\n _execMouseEventHandle(/* MouseDown */2, $$event, eventExtensionProtocolName);\n }), __x$2),\n Most.tap((function ($$event) {\n _execMouseEventHandle(/* MouseUp */3, $$event, eventExtensionProtocolName);\n }), __x$3),\n Most.tap((function ($$event) {\n _execMouseMoveEventHandle(/* MouseMove */4, $$event, eventExtensionProtocolName);\n }), __x$4),\n Most.tap((function ($$event) {\n _execMouseEventHandle(/* MouseWheel */5, $$event, eventExtensionProtocolName);\n }), __x$5),\n Most.tap((function ($$event) {\n _execMouseDragingEventHandle(/* MouseDragOver */7, $$event, eventExtensionProtocolName);\n }), __x$8),\n Most.tap((function ($$event) {\n _execKeyboardEventHandle(/* KeyUp */9, $$event, eventExtensionProtocolName);\n }), __x$9),\n Most.tap((function ($$event) {\n _execKeyboardEventHandle(/* KeyDown */10, $$event, eventExtensionProtocolName);\n }), __x$10),\n Most.tap((function ($$event) {\n _execKeyboardEventHandle(/* KeyPress */11, $$event, eventExtensionProtocolName);\n }), __x$11)\n ];\n}\n\nfunction _fromMobileDomEventArr(state, eventExtensionProtocolName) {\n var __x = _fromMobilePointDomEvent(\"touchend\", state);\n var __x$1 = Most.since(_fromMobilePointDomEvent(\"touchstart\", state), __x);\n var __x$2 = _fromMobilePointDomEvent(\"touchend\", state);\n var __x$3 = _fromMobilePointDomEvent(\"touchstart\", state);\n var __x$4 = _fromTouchMoveDomEventAndPreventnDefault(state);\n var __x$5 = _fromMobilePointDomEvent(\"touchstart\", state);\n var __x$6 = Most.tap((function ($$event) {\n _execTouchDragStartEventHandle($$event, eventExtensionProtocolName);\n }), __x$5);\n var __x$7 = Most.flatMap((function ($$event) {\n var __x = _fromTouchMoveDomEventAndPreventnDefault(state);\n var __x$1 = _fromMobilePointDomEvent(\"touchend\", state);\n return Most.until(Most.tap((function ($$event) {\n _execTouchDragDropEventHandle($$event, eventExtensionProtocolName);\n }), __x$1), __x);\n }), __x$6);\n return [\n Most.tap((function ($$event) {\n _execTouchEventHandle(/* TouchTap */12, $$event, eventExtensionProtocolName);\n }), __x$1),\n Most.tap((function ($$event) {\n _execTouchEventHandle(/* TouchEnd */13, $$event, eventExtensionProtocolName);\n }), __x$2),\n Most.tap((function ($$event) {\n _execTouchEventHandle(/* TouchStart */15, $$event, eventExtensionProtocolName);\n }), __x$3),\n Most.tap((function ($$event) {\n _execTouchMoveEventHandle(/* TouchMove */14, $$event, eventExtensionProtocolName);\n }), __x$4),\n Most.tap((function ($$event) {\n _execTouchDragingEventHandle(/* TouchDragOver */17, $$event, eventExtensionProtocolName);\n }), __x$7)\n ];\n}\n\nfunction fromDomEvent(state, eventExtensionProtocolName) {\n var match = BrowserDoService$Meta3dEvent.getBrowser(state);\n var tmp;\n if (match >= 2) {\n if (match >= 4) {\n throw {\n RE_EXN_ID: \"Match_failure\",\n _1: [\n \"InitEventDoService.res\",\n 444,\n 4\n ],\n Error: new Error()\n };\n }\n tmp = _fromMobileDomEventArr(state, eventExtensionProtocolName);\n } else {\n tmp = _fromPCDomEventArr(state, eventExtensionProtocolName);\n }\n return Most.mergeArray(tmp);\n}\n\nvar handleDomEventStreamError = Log$Meta3dCommonlib.logForDebug;\n\nfunction initEvent(state, eventExtensionProtocolName) {\n var __x = fromDomEvent(state, eventExtensionProtocolName);\n var domEventStreamSubscription = Most$Meta3dBsMostDefault.subscribe({\n next: (function (param) {\n \n }),\n error: Log$Meta3dCommonlib.logForDebug,\n complete: (function (param) {\n \n })\n }, __x);\n var state$1 = ManageEventDoService$Meta3dEvent.setDomEventStreamSubscription(state, domEventStreamSubscription);\n ContainerManager$Meta3dEvent.setState(bindDomEventToTriggerPointEvent(ContainerManager$Meta3dEvent.getState(eventExtensionProtocolName), BrowserDoService$Meta3dEvent.getBrowser(state$1)), eventExtensionProtocolName);\n return state$1;\n}\n\nexports._getBody = _getBody;\nexports.setBody = setBody;\nexports._fromPointDomEvent = _fromPointDomEvent;\nexports._fromMobilePointDomEvent = _fromMobilePointDomEvent;\nexports._fromTouchMoveDomEventAndPreventnDefault = _fromTouchMoveDomEventAndPreventnDefault;\nexports._fromKeyboardDomEvent = _fromKeyboardDomEvent;\nexports._convertMouseEventToPointEvent = _convertMouseEventToPointEvent;\nexports._bindDomEventToTriggerPointEvent = _bindDomEventToTriggerPointEvent;\nexports._bindMouseEventToTriggerPointEvent = _bindMouseEventToTriggerPointEvent;\nexports._convertTouchEventToPointEvent = _convertTouchEventToPointEvent;\nexports._bindTouchEventToTriggerPointEvent = _bindTouchEventToTriggerPointEvent;\nexports.bindDomEventToTriggerPointEvent = bindDomEventToTriggerPointEvent;\nexports._preventContextMenuEvent = _preventContextMenuEvent;\nexports._execMouseEventHandle = _execMouseEventHandle;\nexports._execMouseChangePositionEventHandle = _execMouseChangePositionEventHandle;\nexports._execMouseMoveEventHandle = _execMouseMoveEventHandle;\nexports._execMouseDragingEventHandle = _execMouseDragingEventHandle;\nexports._execMouseDragStartEventHandle = _execMouseDragStartEventHandle;\nexports._execMouseDragDropEventHandle = _execMouseDragDropEventHandle;\nexports._execTouchEventHandle = _execTouchEventHandle;\nexports._execTouchChangePositionEventHandle = _execTouchChangePositionEventHandle;\nexports._execTouchMoveEventHandle = _execTouchMoveEventHandle;\nexports._execTouchDragingEventHandle = _execTouchDragingEventHandle;\nexports._execTouchDragStartEventHandle = _execTouchDragStartEventHandle;\nexports._execTouchDragDropEventHandle = _execTouchDragDropEventHandle;\nexports._execKeyboardEventHandle = _execKeyboardEventHandle;\nexports._fromPCDomEventArr = _fromPCDomEventArr;\nexports._fromMobileDomEventArr = _fromMobileDomEventArr;\nexports.fromDomEvent = fromDomEvent;\nexports.handleDomEventStreamError = handleDomEventStreamError;\nexports.initEvent = initEvent;\n/* most Not a pure module */\n\n\n//# sourceURL=webpack://Extension/./lib/js/src/event_manager/service/init_event/InitEventDoService.bs.js?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The module cache -/******/ var __webpack_module_cache__ = {}; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; -/******/ if (cachedModule !== undefined) { -/******/ return cachedModule.exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { -/******/ id: moduleId, -/******/ loaded: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.loaded = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } -/******/ } -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ -/******/ /* webpack/runtime/harmony module decorator */ -/******/ (() => { -/******/ __webpack_require__.hmd = (module) => { -/******/ module = Object.create(module); -/******/ if (!module.children) module.children = []; -/******/ Object.defineProperty(module, 'exports', { -/******/ enumerable: true, -/******/ set: () => { -/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id); -/******/ } -/******/ }); -/******/ return module; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = __webpack_require__("./lib/js/src/Main.bs.js"); -/******/ window.Extension = __webpack_exports__; -/******/ -/******/ })() -; \ No newline at end of file +/*! For license information please see main.js.LICENSE.txt */ +(()=>{var t={1149:(t,e,n)=>{"use strict";var r=n(9742),o=n(3454);function i(t){return function(e){return r.unfold((function(e){var n=o._1(t,e);return void 0!==n?{value:n[0],seed:n[1]}:{done:!0}}),e)}}e.subscribe=function(t,e){return e.subscribe(t)},e.unfold=i,e.fromList=function(t){return i((function(t){if(t)return[t.hd,t.tl]}))(t)},e.concat=function(t,e){return e.concat(t)},e.Subject={}},9742:(t,e,n)=>{"use strict";function r(t){this.source=t}n.r(e),n.d(e,{PropagateTask:()=>b,Stream:()=>r,ap:()=>me,await:()=>tr,awaitPromises:()=>tr,chain:()=>Ie,combine:()=>he,combineArray:()=>le,concat:()=>se,concatMap:()=>Ne,constant:()=>Pt,continueWith:()=>re,debounce:()=>zn,defaultScheduler:()=>it,delay:()=>jn,distinct:()=>fn,distinctBy:()=>pn,drain:()=>Ot,during:()=>Nn,empty:()=>M,filter:()=>cn,flatMap:()=>Ie,flatMapEnd:()=>re,flatMapError:()=>ir,forEach:()=>Tt,from:()=>q,fromEvent:()=>mt,fromPromise:()=>Qn,generate:()=>Zt,iterate:()=>Yt,join:()=>Ge,just:()=>k,loop:()=>Ft,map:()=>xt,merge:()=>Fe,mergeArray:()=>Be,mergeConcurrently:()=>Ae,multicast:()=>pr.Z,never:()=>I,observe:()=>Tt,of:()=>k,periodic:()=>X,recoverWith:()=>or,reduce:()=>Wt,sample:()=>je,sampleArray:()=>Le,sampleWith:()=>We,scan:()=>Rt,since:()=>Gn,skip:()=>yn,skipAfter:()=>Sn,skipRepeats:()=>fn,skipRepeatsWith:()=>pn,skipUntil:()=>Gn,skipWhile:()=>Dn,slice:()=>mn,startWith:()=>ue,switch:()=>on,switchLatest:()=>on,take:()=>dn,takeUntil:()=>In,takeWhile:()=>_n,tap:()=>It,throttle:()=>Vn,throwError:()=>ur,timestamp:()=>$n,transduce:()=>Ee,unfold:()=>qt,until:()=>In,zip:()=>Ze,zipArray:()=>Qe}),r.prototype.run=function(t,e){return this.source.run(t,e)};var o=n(8211);function i(t,e){this._dispose=t,this._data=e}function u(){this.disposable=void 0,this.disposed=!1,this._resolve=void 0;var t=this;this.result=new Promise((function(e){t._resolve=e}))}i.prototype.dispose=function(){return this._dispose(this._data)},u.prototype.setDisposable=function(t){if(void 0!==this.disposable)throw new Error("setDisposable called more than once");this.disposable=t,this.disposed&&this._resolve(t.dispose())},u.prototype.dispose=function(){return this.disposed||(this.disposed=!0,void 0!==this.disposable&&(this.result=this.disposable.dispose())),this.result};var s=o.UI,a=o.id;function c(t,e,n){var r,o=v(e);return null!==(r=o)&&"object"==typeof r&&"function"==typeof r.then?o.catch((function(e){n.error(t,e)})):o}function f(t,e){return y(new i(t,e))}function p(){return new i(a,void 0)}function h(t){return f(l,t)}function l(t){return Promise.all(s(v,t))}function v(t){try{return t.dispose()}catch(t){return Promise.reject(t)}}function d(){return new u}function y(t){return new i(m,function(t){return{disposed:!1,disposable:t,value:void 0}}(t))}function m(t){return t.disposed||(t.disposed=!0,t.value=v(t.disposable),t.disposable=void 0),t.value}function E(t){setTimeout((function(){throw t}),0)}function b(t,e,n){this._run=t,this.value=e,this.sink=n,this.active=!0}function g(t,e,n){n.error(t,e)}function _(t,e,n){n.event(t,e)}function w(t,e,n){n.end(t,e)}function k(t){return new r(new D(t))}function D(t){this.value=t}function A(t,e,n){n.event(t,e),n.end(t,void 0)}function M(){return P}function S(){}function x(t){return t.dispose()}b.event=function(t,e){return new b(_,t,e)},b.end=function(t,e){return new b(w,t,e)},b.error=function(t,e){return new b(g,t,e)},b.prototype.dispose=function(){this.active=!1},b.prototype.run=function(t){this.active&&this._run(t,this.value,this.sink)},b.prototype.error=function(t,e){if(!this.active)return E(e);this.sink.error(t,e)},D.prototype.run=function(t,e){return e.asap(new b(A,this.value,t))},S.prototype.run=function(t,e){var n=b.end(void 0,t);return e.asap(n),f(x,n)};var P=new r(new S);function I(){return T}function G(){}G.prototype.run=function(){return p()};var N,T=new r(new G);function O(t){this.array=t}function F(t,e,n){for(var r=0,o=e.length;r=0&&i.active&&(i.time=i.time+i.period,et(i,n)))}return n}function et(t,e){var n=e.length;if(0!==n){var r=rt(t.time,e);r>=n?e.push(ot(t.time,[t])):t.time===e[r].time?e[r].events.push(t):e.splice(r,0,ot(t.time,[t]))}else e.push(ot(t.time,[t]))}function nt(t,e){e.events=o.xY(t,e.events)}function rt(t,e){for(var n,r,o=0,i=e.length;o=0&&e=0)return this.tasks[e].events.splice(n,1),!0}return!1},Q.prototype.removeAll=function(t){for(var e=0,n=this.tasks.length;e1){for(var o=new Array(r),i=0;i0&&(this.hasValue[t]||(this.hasValue[t]=!0,this.awaiting-=1)),this.awaiting},ye.prototype.end=function(t,e){c(t,this.disposables[e.index],this.sink),0==--this.activeCount&&this.sink.end(t,e.value)},be.prototype.run=function(t,e){var n,r=this.transducer(new _e(t));return this.source.run(new ge("function"==typeof(n=r)["@@transducer/step"]?new we(n):new ke(n),t),e)},ge.prototype.event=function(t,e){var n=this.xf.step(t,e);return this.xf.isReduced(n)?this.sink.end(t,this.xf.getResult(n)):n},ge.prototype.end=function(t,e){return this.xf.result(e)},ge.prototype.error=function(t,e){return this.sink.error(t,e)},_e.prototype["@@transducer/init"]=_e.prototype.init=function(){},_e.prototype["@@transducer/step"]=_e.prototype.step=function(t,e){return isNaN(t)||(this.time=Math.max(t,this.time)),this.sink.event(this.time,e)},_e.prototype["@@transducer/result"]=_e.prototype.result=function(t){return this.sink.end(this.time,t)},we.prototype.step=function(t,e){return this.tx["@@transducer/step"](t,e)},we.prototype.result=function(t){return this.tx["@@transducer/result"](t)},we.prototype.isReduced=function(t){return null!=t&&t["@@transducer/reduced"]},we.prototype.getResult=function(t){return t["@@transducer/value"]},ke.prototype.step=function(t,e){return this.tx.step(t,e)},ke.prototype.result=function(t){return this.tx.result(t)},ke.prototype.isReduced=function(t){return null!=t&&t.__transducers_reduced__},ke.prototype.getResult=function(t){return t.value},De.prototype.add=function(t){null!==this.head&&(this.head.prev=t,t.next=this.head),this.head=t,++this.length},De.prototype.remove=function(t){--this.length,t===this.head&&(this.head=this.head.next),null!==t.next&&(t.next.prev=t.prev,t.next=null),null!==t.prev&&(t.prev.next=t.next,t.prev=null)},De.prototype.isEmpty=function(){return 0===this.length},De.prototype.dispose=function(){if(this.isEmpty())return Promise.resolve();var t=[],e=this.head;for(this.head=null,this.length=0;null!==e;)t.push(e.dispose()),e=e.next;return Promise.all(t)},Se.prototype.run=function(t,e){return new xe(this.f,this.concurrency,this.source,t,e)},xe.prototype.event=function(t,e){this._addInner(t,e)},xe.prototype._addInner=function(t,e){this.current.lengthe&&function(t,e,n,r,o){for(var i=0;i0?this.skip-=1:0!==this.take&&(this.take-=1,this.sink.event(t,e),0===this.take&&(this.disposable.dispose(),this.sink.end(t,e)))},wn.prototype.run=function(t,e){var n=d(),r=new kn(this.p,t,n);return n.setDisposable(this.source.run(r,e)),n},kn.prototype.end=_t.prototype.end,kn.prototype.error=_t.prototype.error,kn.prototype.event=function(t,e){if(this.active){var n=this.p;this.active=n(e),this.active?this.sink.event(t,e):(this.disposable.dispose(),this.sink.end(t,e))}},An.prototype.run=function(t,e){return this.source.run(new Mn(this.p,t),e)},Mn.prototype.end=_t.prototype.end,Mn.prototype.error=_t.prototype.error,Mn.prototype.event=function(t,e){if(this.skipping){var n=this.p;if(this.skipping=n(e),this.skipping)return}this.sink.event(t,e)},xn.prototype.run=function(t,e){return this.source.run(new Pn(this.p,t),e)},Pn.prototype.event=function(t,e){if(!this.skipping){var n=this.p;this.skipping=n(e),this.sink.event(t,e),this.skipping&&this.sink.end(t,e)}},Pn.prototype.end=_t.prototype.end,Pn.prototype.error=_t.prototype.error,Tn.prototype.run=function(t,e){var n=new Fn(-1/0,t),r=new Rn(this.maxSignal,t,e);return h([n,r,this.source.run(new Bn(n,r,t),e)])},On.prototype.run=function(t,e){var n=new Un(this.minSignal,t,e),r=new Fn(1/0,t);return h([n,r,this.source.run(new Bn(n,r,t),e)])},Fn.prototype.error=_t.prototype.error,Fn.prototype.event=Cn,Fn.prototype.end=Cn,Fn.prototype.dispose=Cn,Bn.prototype.event=function(t,e){t>=this.min.value&&t=this.time&&(this.time=t+this.period,this.sink.event(t,e))},Kn.prototype.end=_t.prototype.end,Kn.prototype.error=_t.prototype.error,Jn.prototype.run=function(t,e){return new Zn(this.dt,this.source,t,e)},Zn.prototype.event=function(t,e){this._clearTimer(),this.value=e,this.timer=this.scheduler.delay(this.dt,b.event(e,this.sink))},Zn.prototype.end=function(t,e){this._clearTimer()&&(this.sink.event(t,this.value),this.value=void 0),this.sink.end(t,e)},Zn.prototype.error=function(t,e){this._clearTimer(),this.sink.error(t,e)},Zn.prototype.dispose=function(){return this._clearTimer(),this.disposable.dispose()},Zn.prototype._clearTimer=function(){return null!==this.timer&&(this.timer.dispose(),this.timer=null,!0)},er.prototype.run=function(t,e){return this.source.run(new nr(t,e),e)},nr.prototype.event=function(t,e){var n=this;this.queue=this.queue.then((function(){return n._event(e)})).catch(this._errorBound)},nr.prototype.end=function(t,e){var n=this;this.queue=this.queue.then((function(){return n._end(e)})).catch(this._errorBound)},nr.prototype.error=function(t,e){var n=this;this.queue=this.queue.then((function(){return n._errorBound(e)})).catch(E)},nr.prototype._event=function(t){return t.then(this._eventBound)},nr.prototype._end=function(t){return Promise.resolve(t).then(this._endBound)},rr.prototype.event=function(t,e){this.active&&this.sink.event(t,e)},rr.prototype.end=function(t,e){this.active&&(this.disable(),this.sink.end(t,e))},rr.prototype.error=function(t,e){this.disable(),this.sink.error(t,e)},rr.prototype.disable=function(){return this.active=!1,this.sink};var ir=or;function ur(t){return new r(new sr(t))}function sr(t){this.value=t}function ar(t,e,n){n.error(t,e)}function cr(t,e){this.f=t,this.source=e}function fr(t,e,n,r){this.f=t,this.sink=new rr(n),this.scheduler=r,this.disposable=e.run(this,r)}sr.prototype.run=function(t,e){return e.asap(new b(ar,this.value,t))},cr.prototype.run=function(t,e){return new fr(this.f,this.source,t,e)},fr.prototype.event=function(t,e){C(t,e,this.sink)},fr.prototype.end=function(t,e){j(t,e,this.sink)},fr.prototype.error=function(t,e){var n=this.sink.disable();c(t,this.disposable,this.sink),this._startNext(t,e,n)},fr.prototype._startNext=function(t,e,n){try{this.disposable=this._continue(this.f,e,n)}catch(e){n.error(t,e)}},fr.prototype._continue=function(t,e,n){return t(e).source.run(n,this.scheduler)},fr.prototype.dispose=function(){return this.disposable.dispose()};var pr=n(8278);r.of=k,r.empty=M,r.from=q,r.prototype.subscribe=function(t){return function(t,e){if(Object(t)!==t)throw new TypeError("subscriber must be an object");var n=d(),r=new ut(E,t,n);return n.setDisposable(e.source.run(r,it)),new st(n)}(t,this)},r.prototype[R.Z]=function(){return this},r.prototype.thru=function(t){return function(t,e){return t(e)}(t,this)},r.prototype.observe=r.prototype.forEach=function(t){return Tt(t,this)},r.prototype.drain=function(){return Ot(this)},r.prototype.loop=function(t,e){return Ft(t,e,this)},r.prototype.scan=function(t,e){return Rt(t,e,this)},r.prototype.reduce=function(t,e){return Wt(t,e,this)},r.prototype.concat=function(t){return se(this,t)},r.prototype.startWith=function(t){return ue(t,this)},r.prototype.map=function(t){return xt(t,this)},r.prototype.ap=function(t){return me(this,t)},r.prototype.constant=function(t){return Pt(t,this)},r.prototype.tap=function(t){return It(t,this)},r.prototype.transduce=function(t){return Ee(t,this)},r.prototype.chain=function(t){return Ie(t,this)},r.prototype.flatMap=r.prototype.chain,r.prototype.join=function(){return Ge(this)},r.prototype.continueWith=function(t){return re(t,this)},r.prototype.flatMapEnd=r.prototype.continueWith,r.prototype.concatMap=function(t){return Ne(t,this)},r.prototype.mergeConcurrently=function(t){return Ae(t,this)},r.prototype.merge=function(){return Be(o.QI(this,arguments))},r.prototype.combine=function(t){return le(t,o.gx(this,0,arguments))},r.prototype.sampleWith=function(t){return We(t,this)},r.prototype.sample=function(t){return Le(t,this,o.Gb(arguments))},r.prototype.zip=function(t){return Qe(t,o.gx(this,0,arguments))},r.prototype.switchLatest=function(){return on(this)},r.prototype.switch=r.prototype.switchLatest,r.prototype.filter=function(t){return cn(t,this)},r.prototype.skipRepeats=function(){return fn(this)},r.prototype.skipRepeatsWith=function(t){return pn(t,this)},r.prototype.take=function(t){return dn(t,this)},r.prototype.skip=function(t){return yn(t,this)},r.prototype.slice=function(t,e){return mn(t,e,this)},r.prototype.takeWhile=function(t){return _n(t,this)},r.prototype.skipWhile=function(t){return Dn(t,this)},r.prototype.skipAfter=function(t){return Sn(t,this)},r.prototype.until=function(t){return In(t,this)},r.prototype.takeUntil=r.prototype.until,r.prototype.since=function(t){return Gn(t,this)},r.prototype.skipUntil=r.prototype.since,r.prototype.during=function(t){return Nn(t,this)},r.prototype.delay=function(t){return jn(t,this)},r.prototype.timestamp=function(){return $n(this)},r.prototype.throttle=function(t){return Vn(t,this)},r.prototype.debounce=function(t){return zn(t,this)},r.prototype.awaitPromises=function(){return tr(this)},r.prototype.await=r.prototype.awaitPromises,r.prototype.recoverWith=function(t){return ir(t,this)},r.prototype.flatMapError=r.prototype.recoverWith,r.prototype.multicast=function(){return(0,pr.Z)(this)}},5477:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r}),t=n.hmd(t);const r=function(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:t)},7370:(t,e,n)=>{"use strict";var r=n(3454),o=n(9577),i=n(4541),u=n(2868),s=n(1025),a=function(t){return null!=t},c=a;function f(t){return s.isNone(u.getBy(t,(function(t){return null==t})))}var p=f,h=s.isSome,l=s.isNone;function v(t,e){return'"expect to be '+e+", but actual is "+t+'"'}function d(t,e,n){return v(e,n),i.equal(e,n)}function y(t,e){return'"expect not to be '+e+", but actual is "+t+'"'}function m(t,e,n){return y(e,n),i.notequal(e,n)}var E={$eq:function(t,e){return d(0,t,e)},$eq$eq$dot:function(t,e){return d(0,t,e)},$eq$eq$caret:function(t,e){return d(0,t,e)},$less$great$eq:function(t,e){return m(0,t,e)},$less$great$eq$dot:function(t,e){return m(0,t,e)},$great:i.greaterthan,$great$dot:i.greaterthan,$great$eq:i.greaterequal,$great$eq$dot:i.greaterequal,$less:i.lessthan,$less$dot:i.lessthan,$less$eq:i.lessequal,$less$eq$dot:i.lessequal};e._assert=function(t,e){return t},e.test=function(t,e){return r._1(e,void 0)?void 0:o.raiseError(t)},e.requireCheck=function(t,e){if(e)return r._1(t,void 0)},e.ensureCheck=function(t,e,n){return n?(r._1(e,t),t):t},e.assertPass=function(t){return!0},e.assertTrue=function(t){return!0===t},e.assertFalse=function(t){return!1===t},e.assertJsTrue=function(t){return!0===t},e.assertJsFalse=function(t){return!1===t},e.assertIsBool=function(t){return!0===t||!1===t},e._isNullableExist=a,e.assertNullableExist=c,e._isNullableListExist=f,e.assertNullableListExist=p,e.assertExist=h,e.assertNotExist=l,e._getEqualMessage=v,e.assertEqual=d,e._getNotEqualMessage=y,e.assertNotEqual=m,e.assertGt=function(t,e,n){return i.greaterthan(e,n)},e.assertGte=function(t,e,n){return i.greaterequal(e,n)},e.assertLt=function(t,e,n){return i.lessthan(e,n)},e.assertLte=function(t,e,n){return i.lessequal(e,n)},e.Operators=E},5065:(t,e,n)=>{"use strict";var r=n(3454),o=n(2868);e.printForDebug=function(t){return console.log(JSON.stringify(t)),t},e.printStringForDebug=function(t){return console.log(t),t},e.printListForDebug=function(t){return console.log(o.toArray(t)),t},e.logForDebug=function(t){console.log(t),console.trace()},e.log=function(t){console.log(JSON.stringify(t))},e.debugWithFunc=function(t,e){if(e)return r._1(t,void 0)},e._debug=function(t){console.debug(t)},e.debug=function(t,e){if(e){var n=r._1(t,void 0);console.debug(n),console.trace()}},e.getJsonStr=function(t){return JSON.stringify(t)},e.buildDebugMessage=function(t,e,n){return"\n Debug:\n\n description\n "+t+"\n\n params\n "+e+"\n\n "},e.buildDebugJsonMessage=function(t,e,n){return"\n DebugJson:\n\n description\n "+t+"\n\n variable value\n "+JSON.stringify(e)+"\n "},e.buildFatalMessage=function(t,e,n,r,o){return"\n Fatal:\n\n title\n "+t+"\n\n description\n "+e+"\n\n reason\n "+n+"\n\n solution\n "+r+"\n\n params\n "+o+"\n\n "},e.buildErrorMessage=function(t,e,n,r,o){return"\n Error:\n\n title\n "+t+"\n\n description\n "+e+"\n\n reason\n "+n+"\n\n solution\n "+r+"\n\n params\n "+o+"\n\n "},e.buildAssertMessage=function(t,e){return"expect "+t+", but actual "+e}},8254:(t,e,n)=>{"use strict";var r=n(3454),o=n(236),i=n(575),u=n(8667),s=n(1949),a=n(5065),c=n(6866),f=n(7370),p=n(4458),h=n(7055),l=n(3161),v=t=>{if(void 0!==t)return t;throw new Error("Not_found")};function d(t,e){return 0===t.length?c.succeed([]):c.bind(r._1(e,v(t[0])),(function(n){return c.bind(d(o.sliceFrom(1,t),e),(function(t){return c.succeed(o.concat(t,[n]))}))}))}function y(t){return t}function m(t,e){return o.push(e,t),t}e._getExn=v,e.getExn=function(t,e){return v(t[e])},e.length=function(t){return t.length},e.find=function(t,e){return o.find(e,t)},e.includes=function(t,e){return o.includes(e,t)},e.includesByFunc=function(t,e){return p.isSome(o.find(e,t))},e.sliceFrom=function(t,e){return o.sliceFrom(e,t)},e.slice=function(t,e,n){return o.slice(e,n,t)},e.copy=function(t){return t.slice()},e.reduceOneParam=function(t,e,n){return i.reduceU(t,n,e)},e.reduceOneParami=function(t,e,n){for(var r=n,o=0,i=t.length;o=1)return s.some(u.get(t,0))},e.push=m,e.forEach=function(t,e){o.forEach(e,t)},e.map=function(t,e){return o.map(e,t)},e.mapi=function(t,e){return o.mapi(e,t)},e.filter=function(t,e){return o.filter(e,t)},e.reverse=function(t){return t.slice().reverse()},e.deleteBySwap=function(t,e,n,r){f.requireCheck((function(e){var n=t.length;f.test(a.buildAssertMessage("lastIndex:"+r+" === arr.length:"+n,"not"),(function(e){return f.assertEqual(0,t.length-1|0,r)}))}),e),t[n]=t[r],t.pop()},e.range=function(t,e){for(var n=[],r=t;r<=e;++r)o.push(r,n);return n},e.removeDuplicateItems=function(t){for(var e=[],n=l.createEmpty(void 0,void 0),r=0,i=t.length;r0?m(o,r):o},e.sort=function(t,e){return o.sortInPlaceWith(e,t)}},6226:(t,e)=>{"use strict";e.throwErr=t=>{throw t},e.buildErr=t=>new Error(t)},8073:(t,e,n)=>{"use strict";var r=n(2879),o=n(4458),i=r.bind;e.getExn=function(t){return o.getExn(o.fromNullable(t))},e.$$return=function(t){return t},e.getWithDefault=function(t,e){return o.getWithDefault(o.fromNullable(t),e)},e.map=i,e.bind=function(t,e){return o.toNullable(o.bind(o.fromNullable(t),(function(t){return o.fromNullable(e(t))})))},e.isNullable=function(t){return null==t},e.getEmpty=function(t){}},4458:(t,e,n)=>{"use strict";var r=n(3454),o=n(7992),i=n(1949),u=n(2879),s=n(6866),a=t=>{if(void 0!==t)return t;throw new Error("Not_found")},c=a,f=u.from_opt,p=o.getWithDefault,h=o.isSome,l=o.map,v=o.flatMap;e.unsafeGet=function(t){return t},e._getExn=a,e.getExn=c,e.buildFailResult=function(t){return s.failWith("data not exist in option data")},e.get=function(t){return void 0!==t?s.succeed(i.valFromOption(t)):s.failWith("data not exist in option data")},e.getWithDefault=p,e.isSome=h,e.map=l,e.bind=v,e.fromNullable=function(t){return null==t?void 0:i.some(t)},e.toNullable=f,e.toStrictNullable=function(t){return void 0!==t?i.valFromOption(t):null},e.forEachResult=function(t,e){return void 0!==t?r._1(e,i.valFromOption(t)):s.succeed(void 0)},e.sequenceResultM=function(t){return void 0!==t?s.mapSuccess(t,(function(t){return i.some(t)})):s.succeed(void 0)},e.open_=function(t){if(void 0!==t)return i.valFromOption(t)}},7055:(t,e,n)=>{"use strict";var r=n(3454),o=n(2792);e.bind=function(t,e){return o.then_(e,t)},e.map=function(t,e){return o.then_((function(t){return Promise.resolve(r._1(e,t))}),t)}},6866:(t,e,n)=>{"use strict";var r=n(3454),o=n(9577),i=n(1948),u=n(6226);function s(t){return{TAG:1,_0:t}}var a=u.buildErr;function c(t,e,n){return 0===t.TAG?r._1(e,t._0):r._1(n,t._0)}function f(t,e){return 0===t.TAG?t._0:r._1(e,t._0)}e.succeed=function(t){return{TAG:0,_0:t}},e.fail=s,e._buildErr=a,e.failWith=function(t){return{TAG:1,_0:u.buildErr(t)}},e.isSuccess=function(t){return 0===t.TAG},e.either=c,e.bind=function(t,e){return c(t,e,s)},e.tap=function(t,e){return c(t,(function(t){return r._1(e,t),{TAG:0,_0:t}}),s)},e.tryCatch=function(t){try{return{TAG:0,_0:r._1(t,void 0)}}catch(t){var e=i.internalToOCamlException(t);return e.RE_EXN_ID===o.$$Error?{TAG:1,_0:e._1}:{TAG:1,_0:u.buildErr("unknown error: "+e)}}},e.mapSuccess=function(t,e){return 0===t.TAG?{TAG:0,_0:r._1(e,t._0)}:{TAG:1,_0:t._0}},e.handleFail=f,e.getExn=function(t){return f(t,u.throwErr)},e.toNullable=function(t){return 0===t.TAG?t._0:null},e.open_=function(t){return 0===t.TAG?t._0:{TAG:1,_0:t._0}}},3634:(t,e,n)=>{"use strict";var r=n(7261),o=n(236),i=n(575),u=n(1949),s=n(2879),a=n(2858);function c(t,e){var n=t[e];return a.isEmpty(n)?void 0:u.some(n)}var f=t=>{if(void 0!==t)return t;throw new Error("Not_found")},p=r.entries;function h(t,e,n){return t[e]=n,t}e.createEmpty=function(t,e){return{}},e.unsafeGet=function(t,e){return t[e]},e.get=c,e._getExn=f,e.getExn=function(t,e){return f(t[e])},e.getNullable=function(t,e){return s.fromOption(c(t,e))},e.has=function(t,e){return!a.isEmpty(t[e])},e.entries=p,e._mutableSet=h,e._createEmpty=function(t){return{}},e._reduceArray=function(t,e,n){return i.reduceU(t,n,e)},e.copy=function(t){return i.reduceU(r.entries(t),{},(function(t,e){return h(t,e[0],e[1])}))},e.getValidValues=function(t){var e=r.values(t);return o.filter(a.isInMap,e)},e.map=function(t,e){return r.map(e,t)},e.merge=function(t,e){return i.reduceU(r.entries(t),e,(function(t,e){return h(t,e[0],e[1])}))}},1937:(t,e,n)=>{"use strict";var r=n(3634),o=r.createEmpty,i=r.unsafeGet,u=r.get,s=r.getExn,a=r.getNullable,c=r.has,f=r.getValidValues,p=r.copy,h=r.entries,l=r.map,v=r.merge;e.createEmpty=o,e.set=function(t,e,n){var o=r.copy(t);return o[e]=n,o},e.unsafeGet=i,e.get=u,e.getExn=s,e.getNullable=a,e.has=c,e.deleteVal=function(t,e){var n=r.copy(t);return n[e]=void 0,n},e.getValidValues=f,e.copy=p,e.entries=h,e.map=l,e.merge=v},3161:(t,e,n)=>{"use strict";var r=n(3634),o=r.createEmpty,i=r.unsafeGet,u=r.get,s=r.getExn,a=r.getNullable,c=r.has,f=r.getValidValues,p=r.copy,h=r.entries,l=r.map,v=r.merge;e.createEmpty=o,e.set=function(t,e,n){return t[e]=n,t},e.unsafeGet=i,e.get=u,e.getExn=s,e.getNullable=a,e.has=c,e.deleteVal=function(t,e){return t[e]=void 0,t},e.getValidValues=f,e.copy=p,e.entries=h,e.map=l,e.merge=v},7553:(t,e,n)=>{"use strict";var r=n(4458),o=n(2858),i=n(9898),u=i.createEmpty,s=i.copy,a=i.unsafeGet,c=i.get,f=i.getNullable,p=i.has,h=i.map,l=i.reducei,v=i.getValues,d=i.getKeys;e.createEmpty=u,e.copy=s,e.unsafeGet=a,e.get=c,e.getExn=function(t,e){return r.getExn(i.get(t,e))},e.fastGet=function(t,e){var n=i.unsafeGet(t,e);return[o.isInMap(n),n]},e.getNullable=f,e.has=p,e.set=function(t,e,n){return t[e]=n,t},e.remove=function(t,e){return t[e]=void 0,t},e.map=h,e.reducei=l,e.getValues=v,e.getKeys=d,e.deleteVal=function(t,e){return t[e]=void 0,t}},9898:(t,e,n)=>{"use strict";var r=n(236),o=n(1949),i=n(8254),u=n(2858);e.createEmpty=function(t,e){return[]},e.copy=function(t){return t.slice()},e.unsafeGet=function(t,e){return t[e]},e.get=function(t,e){var n=t[e];return u.isEmpty(n)?void 0:o.some(n)},e.getNullable=function(t,e){var n=t[e];return u.isUndefined(n)?null:n},e.has=function(t,e){return!u.isEmpty(t[e])},e.map=function(t,e){return r.map((function(t){return u.isNotInMap(t)?void 0:e(t)}),t)},e.reducei=function(t,e,n){return i.reduceOneParami(t,(function(t,n,r){return u.isNotInMap(n)?t:e(t,n,r)}),n)},e.getValues=function(t){return r.filter(u.isInMap,t)},e.getKeys=function(t){return i.reduceOneParami(t,(function(t,e,n){return u.isNotInMap(e)||r.push(n,t),t}),[])}},9714:(t,e,n)=>{"use strict";var r=n(1949),o=n(6866),i=n(4458);e.create=function(t,e){return[t,e]},e.collectOption=function(t,e){return void 0!==t&&void 0!==e?o.succeed([r.valFromOption(t),r.valFromOption(e)]):i.buildFailResult(void 0)},e.collectResult=function(t,e){return o.bind(t,(function(t){return o.mapSuccess(e,(function(e){return[t,e]}))}))},e.getFirst=function(t){return t[0]},e.getLast=function(t){return t[1]}},2858:(t,e)=>{"use strict";e.isUndefined=function(t){return void 0===t},e.isEmpty=function(t){return null==t},e.isNotInMap=function(t){return void 0===t},e.isInMap=function(t){return void 0!==t}},8278:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(8211),o=function(t,e){this.source=t,this.sink=e,this.disposed=!1};function i(t,e,n){try{n.event(t,e)}catch(e){n.error(t,e)}}function u(t,e,n){try{n.end(t,e)}catch(e){n.error(t,e)}}o.prototype.dispose=function(){if(!this.disposed)return this.disposed=!0,0===this.source.remove(this.sink)&&this.source._dispose()};var s=function(t){return t.dispose()},a={dispose:function(){}},c=function(t){this.source=t,this.sinks=[],this._disposable=a};c.prototype.run=function(t,e){return 1===this.add(t)&&(this._disposable=this.source.run(this,e)),new o(this,t)},c.prototype._dispose=function(){var t=this._disposable;return this._disposable=a,Promise.resolve(t).then(s)},c.prototype.add=function(t){return this.sinks=(0,r.R3)(t,this.sinks),this.sinks.length},c.prototype.remove=function(t){var e=(0,r.cx)(t,this.sinks);return e>=0&&(this.sinks=(0,r.Od)(e,this.sinks)),this.sinks.length},c.prototype.event=function(t,e){var n=this.sinks;if(1===n.length)return n[0].event(t,e);for(var r=0;r{"use strict";function r(t,e){var n=e.length,r=new Array(n+1);r[0]=t;for(var o=0;o= 0");var n=e.length;return 0===t||0===n?e:t>=n?[]:function(t,e,n){for(var r=new Array(n),o=0;o= 0");for(var r=n.length,o=new Array(r),i=0;i= 0");var n=e.length;return 0===n||t>=n?e:1===n?[]:function(t,e,n){var r,o=new Array(n);for(r=0;ri,Gb:()=>u,JG:()=>s,Od:()=>p,QI:()=>r,R3:()=>o,UI:()=>a,cx:()=>l,gx:()=>f,id:()=>d,nn:()=>m,qC:()=>y,u4:()=>c,xY:()=>h,zG:()=>v});var d=function(t){return t},y=function(t,e){return function(n){return t(e(n))}},m=function(t,e){return t(e)}},9581:(t,e,n)=>{"use strict";var r=n(8027)(),o=n(1308),i=r&&o("%Object.defineProperty%",!0),u=o("%SyntaxError%"),s=o("%TypeError%"),a=n(1322);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new s("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,f=arguments.length>6&&arguments[6],p=!!a&&a(t,e);if(i)i(t,e,{configurable:null===c&&p?p.configurable:!c,enumerable:null===r&&p?p.enumerable:!r,value:n,writable:null===o&&p?p.writable:!o});else{if(!f&&(r||o||c))throw new u("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=n}}},6844:(t,e,n)=>{"use strict";var r=n(7395),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,u=Array.prototype.concat,s=n(9581),a=n(8027)(),c=function(t,e,n,r){if(e in t)if(!0===r){if(t[e]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==i.call(o)||!r())return;var o;a?s(t,e,n,!0):s(t,e,n)},f=function(t,e){var n=arguments.length>2?arguments[2]:{},i=r(e);o&&(i=u.call(i,Object.getOwnPropertySymbols(e)));for(var s=0;s{"use strict";var e=Array.prototype.slice,n=Object.prototype.toString;t.exports=function(t){var r=this;if("function"!=typeof r||"[object Function]"!==n.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=e.call(arguments,1),u=Math.max(0,r.length-i.length),s=[],a=0;a{"use strict";var r=n(6494);t.exports=Function.prototype.bind||r},1308:(t,e,n)=>{"use strict";var r,o=SyntaxError,i=Function,u=TypeError,s=function(t){try{return i('"use strict"; return ('+t+").constructor;")()}catch(t){}},a=Object.getOwnPropertyDescriptor;if(a)try{a({},"")}catch(t){a=null}var c=function(){throw new u},f=a?function(){try{return c}catch(t){try{return a(arguments,"callee").get}catch(t){return c}}}():c,p=n(8813)(),h=n(5083)(),l=Object.getPrototypeOf||(h?function(t){return t.__proto__}:null),v={},d="undefined"!=typeof Uint8Array&&l?l(Uint8Array):r,y={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":p&&l?l([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p&&l?l(l([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p&&l?l((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p&&l?l((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p&&l?l(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":f,"%TypedArray%":d,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(l)try{null.error}catch(t){var m=l(l(t));y["%Error.prototype%"]=m}var E=function t(e){var n;if("%AsyncFunction%"===e)n=s("async function () {}");else if("%GeneratorFunction%"===e)n=s("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=s("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&l&&(n=l(o.prototype))}return y[e]=n,n},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=n(2786),_=n(7876),w=g.call(Function.call,Array.prototype.concat),k=g.call(Function.apply,Array.prototype.splice),D=g.call(Function.call,String.prototype.replace),A=g.call(Function.call,String.prototype.slice),M=g.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,P=function(t,e){var n,r=t;if(_(b,r)&&(r="%"+(n=b[r])[0]+"%"),_(y,r)){var i=y[r];if(i===v&&(i=E(r)),void 0===i&&!e)throw new u("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new o("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new u('"allowMissing" argument must be a boolean');if(null===M(/^%?[^%]*%?$/,t))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=A(t,0,1),n=A(t,-1);if("%"===e&&"%"!==n)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new o("invalid intrinsic syntax, expected opening `%`");var r=[];return D(t,S,(function(t,e,n,o){r[r.length]=n?D(o,x,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",i=P("%"+r+"%",e),s=i.name,c=i.value,f=!1,p=i.alias;p&&(r=p[0],k(n,w([0,1],p)));for(var h=1,l=!0;h=n.length){var E=a(c,v);c=(l=!!E)&&"get"in E&&!("originalValue"in E.get)?E.get:c[v]}else l=_(c,v),c=c[v];l&&!f&&(y[s]=c)}}return c}},9371:t=>{"use strict";"undefined"!=typeof self?t.exports=self:"undefined"!=typeof window?t.exports=window:t.exports=Function("return this")()},7076:(t,e,n)=>{"use strict";var r=n(6844),o=n(9371),i=n(9981),u=n(9384),s=i(),a=function(){return s};r(a,{getPolyfill:i,implementation:o,shim:u}),t.exports=a},9981:(t,e,n)=>{"use strict";var r=n(9371);t.exports=function(){return"object"==typeof n.g&&n.g&&n.g.Math===Math&&n.g.Array===Array?n.g:r}},9384:(t,e,n)=>{"use strict";var r=n(6844),o=n(9981);t.exports=function(){var t=o();if(r.supportsDescriptors){var e=Object.getOwnPropertyDescriptor(t,"globalThis");e&&(!e.configurable||!e.enumerable&&e.writable&&globalThis===t)||Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else"object"==typeof globalThis&&globalThis===t||(t.globalThis=t);return t}},1322:(t,e,n)=>{"use strict";var r=n(1308)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(t){r=null}t.exports=r},8027:(t,e,n)=>{"use strict";var r=n(1308)("%Object.defineProperty%",!0),o=function(){if(r)try{return r({},"a",{value:1}),!0}catch(t){return!1}return!1};o.hasArrayLengthDefineBug=function(){if(!o())return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},5083:t=>{"use strict";var e={foo:{}},n=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!({__proto__:null}instanceof n)}},8813:(t,e,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(7722);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},7722:t=>{"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},7876:t=>{"use strict";var e={}.hasOwnProperty,n=Function.prototype.call;t.exports=n.bind?n.bind(e):function(t,r){return n.call(e,t,r)}},3447:(t,e,n)=>{"use strict";function r(t){this.source=t}n.r(e),n.d(e,{PropagateTask:()=>b,Stream:()=>r,ap:()=>Ee,await:()=>nr,awaitPromises:()=>nr,chain:()=>Ge,combine:()=>le,combineArray:()=>ve,concat:()=>ae,concatMap:()=>Te,constant:()=>It,continueWith:()=>oe,debounce:()=>Jn,defaultScheduler:()=>ut,delay:()=>Wn,distinct:()=>pn,distinctBy:()=>hn,drain:()=>Ft,during:()=>Tn,empty:()=>M,filter:()=>fn,flatMap:()=>Ge,flatMapEnd:()=>oe,flatMapError:()=>sr,forEach:()=>Ot,from:()=>X,fromEvent:()=>Et,fromPromise:()=>er,generate:()=>Qt,iterate:()=>Kt,join:()=>Ne,just:()=>k,loop:()=>Bt,map:()=>Pt,merge:()=>Be,mergeArray:()=>Ue,mergeConcurrently:()=>Me,multicast:()=>lr.Z,never:()=>I,observe:()=>Ot,of:()=>k,periodic:()=>V,recoverWith:()=>ur,reduce:()=>Lt,sample:()=>We,sampleArray:()=>$e,sampleWith:()=>Le,scan:()=>Ct,since:()=>Nn,skip:()=>mn,skipAfter:()=>xn,skipRepeats:()=>pn,skipRepeatsWith:()=>hn,skipUntil:()=>Nn,skipWhile:()=>An,slice:()=>En,startWith:()=>se,switch:()=>un,switchLatest:()=>un,take:()=>yn,takeUntil:()=>Gn,takeWhile:()=>wn,tap:()=>Gt,throttle:()=>Hn,throwError:()=>ar,timestamp:()=>qn,transduce:()=>be,unfold:()=>Xt,until:()=>Gn,zip:()=>Qe,zipArray:()=>tn}),r.prototype.run=function(t,e){return this.source.run(t,e)};var o=n(8211);function i(t,e){this._dispose=t,this._data=e}function u(){this.disposable=void 0,this.disposed=!1,this._resolve=void 0;var t=this;this.result=new Promise((function(e){t._resolve=e}))}i.prototype.dispose=function(){return this._dispose(this._data)},u.prototype.setDisposable=function(t){if(void 0!==this.disposable)throw new Error("setDisposable called more than once");this.disposable=t,this.disposed&&this._resolve(t.dispose())},u.prototype.dispose=function(){return this.disposed||(this.disposed=!0,void 0!==this.disposable&&(this.result=this.disposable.dispose())),this.result};var s=o.UI,a=o.id;function c(t,e,n){var r,o=v(e);return null!==(r=o)&&"object"==typeof r&&"function"==typeof r.then?o.catch((function(e){n.error(t,e)})):o}function f(t,e){return y(new i(t,e))}function p(){return new i(a,void 0)}function h(t){return f(l,t)}function l(t){return Promise.all(s(v,t))}function v(t){try{return t.dispose()}catch(t){return Promise.reject(t)}}function d(){return new u}function y(t){return new i(m,function(t){return{disposed:!1,disposable:t,value:void 0}}(t))}function m(t){return t.disposed||(t.disposed=!0,t.value=v(t.disposable),t.disposable=void 0),t.value}function E(t){setTimeout((function(){throw t}),0)}function b(t,e,n){this._run=t,this.value=e,this.sink=n,this.active=!0}function g(t,e,n){n.error(t,e)}function _(t,e,n){n.event(t,e)}function w(t,e,n){n.end(t,e)}function k(t){return new r(new D(t))}function D(t){this.value=t}function A(t,e,n){n.event(t,e),n.end(t,void 0)}function M(){return P}function S(){}function x(t){return t.dispose()}b.event=function(t,e){return new b(_,t,e)},b.end=function(t,e){return new b(w,t,e)},b.error=function(t,e){return new b(g,t,e)},b.prototype.dispose=function(){this.active=!1},b.prototype.run=function(t){this.active&&this._run(t,this.value,this.sink)},b.prototype.error=function(t,e){if(!this.active)return E(e);this.sink.error(t,e)},D.prototype.run=function(t,e){return e.asap(new b(A,this.value,t))},S.prototype.run=function(t,e){var n=b.end(void 0,t);return e.asap(n),f(x,n)};var P=new r(new S);function I(){return T}function G(){}G.prototype.run=function(){return p()};var N,T=new r(new G);function O(t){this.array=t}function F(t,e,n){for(var r=0,o=e.length;r=0&&i.active&&(i.time=i.time+i.period,nt(i,n)))}return n}function nt(t,e){var n=e.length;if(0!==n){var r=ot(t.time,e);r>=n?e.push(it(t.time,[t])):t.time===e[r].time?e[r].events.push(t):e.splice(r,0,it(t.time,[t]))}else e.push(it(t.time,[t]))}function rt(t,e){e.events=o.xY(t,e.events)}function ot(t,e){for(var n,r,o=0,i=e.length;o=0&&e=0)return this.tasks[e].events.splice(n,1),!0}return!1},tt.prototype.removeAll=function(t){for(var e=0,n=this.tasks.length;e1){for(var o=new Array(r),i=0;i0&&(this.hasValue[t]||(this.hasValue[t]=!0,this.awaiting-=1)),this.awaiting},me.prototype.end=function(t,e){c(t,this.disposables[e.index],this.sink),0==--this.activeCount&&this.sink.end(t,e.value)},ge.prototype.run=function(t,e){var n,r=this.transducer(new we(t));return this.source.run(new _e("function"==typeof(n=r)["@@transducer/step"]?new ke(n):new De(n),t),e)},_e.prototype.event=function(t,e){var n=this.xf.step(t,e);return this.xf.isReduced(n)?this.sink.end(t,this.xf.getResult(n)):n},_e.prototype.end=function(t,e){return this.xf.result(e)},_e.prototype.error=function(t,e){return this.sink.error(t,e)},we.prototype["@@transducer/init"]=we.prototype.init=function(){},we.prototype["@@transducer/step"]=we.prototype.step=function(t,e){return isNaN(t)||(this.time=Math.max(t,this.time)),this.sink.event(this.time,e)},we.prototype["@@transducer/result"]=we.prototype.result=function(t){return this.sink.end(this.time,t)},ke.prototype.step=function(t,e){return this.tx["@@transducer/step"](t,e)},ke.prototype.result=function(t){return this.tx["@@transducer/result"](t)},ke.prototype.isReduced=function(t){return null!=t&&t["@@transducer/reduced"]},ke.prototype.getResult=function(t){return t["@@transducer/value"]},De.prototype.step=function(t,e){return this.tx.step(t,e)},De.prototype.result=function(t){return this.tx.result(t)},De.prototype.isReduced=function(t){return null!=t&&t.__transducers_reduced__},De.prototype.getResult=function(t){return t.value},Ae.prototype.add=function(t){null!==this.head&&(this.head.prev=t,t.next=this.head),this.head=t,++this.length},Ae.prototype.remove=function(t){--this.length,t===this.head&&(this.head=this.head.next),null!==t.next&&(t.next.prev=t.prev,t.next=null),null!==t.prev&&(t.prev.next=t.next,t.prev=null)},Ae.prototype.isEmpty=function(){return 0===this.length},Ae.prototype.dispose=function(){if(this.isEmpty())return Promise.resolve();var t=[],e=this.head;for(this.head=null,this.length=0;null!==e;)t.push(e.dispose()),e=e.next;return Promise.all(t)},xe.prototype.run=function(t,e){return new Pe(this.f,this.concurrency,this.source,t,e)},Pe.prototype.event=function(t,e){this._addInner(t,e)},Pe.prototype._addInner=function(t,e){this.current.lengthe&&function(t,e,n,r,o){for(var i=0;i0?this.skip-=1:0!==this.take&&(this.take-=1,this.sink.event(t,e),0===this.take&&(this.disposable.dispose(),this.sink.end(t,e)))},kn.prototype.run=function(t,e){var n=d(),r=new Dn(this.p,t,n);return n.setDisposable(this.source.run(r,e)),n},Dn.prototype.end=wt.prototype.end,Dn.prototype.error=wt.prototype.error,Dn.prototype.event=function(t,e){if(this.active){var n=this.p;this.active=n(e),this.active?this.sink.event(t,e):(this.disposable.dispose(),this.sink.end(t,e))}},Mn.prototype.run=function(t,e){return this.source.run(new Sn(this.p,t),e)},Sn.prototype.end=wt.prototype.end,Sn.prototype.error=wt.prototype.error,Sn.prototype.event=function(t,e){if(this.skipping){var n=this.p;if(this.skipping=n(e),this.skipping)return}this.sink.event(t,e)},Pn.prototype.run=function(t,e){return this.source.run(new In(this.p,t),e)},In.prototype.event=function(t,e){if(!this.skipping){var n=this.p;this.skipping=n(e),this.sink.event(t,e),this.skipping&&this.sink.end(t,e)}},In.prototype.end=wt.prototype.end,In.prototype.error=wt.prototype.error,On.prototype.run=function(t,e){var n=new Bn(-1/0,t),r=new Cn(this.maxSignal,t,e);return h([n,r,this.source.run(new Un(n,r,t),e)])},Fn.prototype.run=function(t,e){var n=new Rn(this.minSignal,t,e),r=new Bn(1/0,t);return h([n,r,this.source.run(new Un(n,r,t),e)])},Bn.prototype.error=wt.prototype.error,Bn.prototype.event=jn,Bn.prototype.end=jn,Bn.prototype.dispose=jn,Un.prototype.event=function(t,e){t>=this.min.value&&t=this.time&&(this.time=t+this.period,this.sink.event(t,e))},zn.prototype.end=wt.prototype.end,zn.prototype.error=wt.prototype.error,Zn.prototype.run=function(t,e){return new Qn(this.dt,this.source,t,e)},Qn.prototype.event=function(t,e){this._clearTimer(),this.value=e,this.timer=this.scheduler.delay(this.dt,new tr(this,e))},Qn.prototype._event=function(t,e){this._clearTimer(),this.sink.event(t,e)},Qn.prototype.end=function(t,e){this._clearTimer()&&(this.sink.event(t,this.value),this.value=void 0),this.sink.end(t,e)},Qn.prototype.error=function(t,e){this._clearTimer(),this.sink.error(t,e)},Qn.prototype.dispose=function(){return this._clearTimer(),this.disposable.dispose()},Qn.prototype._clearTimer=function(){return null!==this.timer&&(this.timer.dispose(),this.timer=null,!0)},tr.prototype.run=function(t){this.debounce._event(t,this.value)},tr.prototype.error=function(t,e){this.debounce.error(t,e)},tr.prototype.dispose=function(){},rr.prototype.run=function(t,e){return new or(this.source,t,e)},or.prototype.dispose=function(){return this.active=!1,this.disposable.dispose()},or.prototype.event=function(t,e){var n=this;this.queue=this.queue.then((function(){return n._event(e)})).catch(this._errorBound)},or.prototype.end=function(t,e){var n=this;this.queue=this.queue.then((function(){return n._end(e)})).catch(this._errorBound)},or.prototype.error=function(t,e){var n=this;this.queue=this.queue.then((function(){return n._errorBound(e)})).catch(E)},or.prototype._event=function(t){return t.then(this._eventBound)},or.prototype._end=function(t){return Promise.resolve(t).then(this._endBound)},ir.prototype.event=function(t,e){this.active&&this.sink.event(t,e)},ir.prototype.end=function(t,e){this.active&&(this.disable(),this.sink.end(t,e))},ir.prototype.error=function(t,e){this.disable(),this.sink.error(t,e)},ir.prototype.disable=function(){return this.active=!1,this.sink};var sr=ur;function ar(t){return new r(new cr(t))}function cr(t){this.value=t}function fr(t,e,n){n.error(t,e)}function pr(t,e){this.f=t,this.source=e}function hr(t,e,n,r){this.f=t,this.sink=new ir(n),this.scheduler=r,this.disposable=e.run(this,r)}cr.prototype.run=function(t,e){return e.asap(new b(fr,this.value,t))},pr.prototype.run=function(t,e){return new hr(this.f,this.source,t,e)},hr.prototype.event=function(t,e){j(t,e,this.sink)},hr.prototype.end=function(t,e){W(t,e,this.sink)},hr.prototype.error=function(t,e){var n=this.sink.disable();c(t,this.disposable,this.sink),this._startNext(t,e,n)},hr.prototype._startNext=function(t,e,n){try{this.disposable=this._continue(this.f,e,n)}catch(e){n.error(t,e)}},hr.prototype._continue=function(t,e,n){return t(e).source.run(n,this.scheduler)},hr.prototype.dispose=function(){return this.disposable.dispose()};var lr=n(8278);const vr=n(7076).getPolyfill,dr=(0,n(4959).default)(vr());r.of=k,r.empty=M,r.from=X,r.prototype.subscribe=function(t){return function(t,e){if(Object(t)!==t)throw new TypeError("subscriber must be an object");var n=d(),r=new st(E,t,n);return n.setDisposable(e.source.run(r,ut)),new at(n)}(t,this)},r.prototype[dr]=function(){return this},r.prototype.thru=function(t){return function(t,e){return t(e)}(t,this)},r.prototype.observe=r.prototype.forEach=function(t){return Ot(t,this)},r.prototype.drain=function(){return Ft(this)},r.prototype.loop=function(t,e){return Bt(t,e,this)},r.prototype.scan=function(t,e){return Ct(t,e,this)},r.prototype.reduce=function(t,e){return Lt(t,e,this)},r.prototype.concat=function(t){return ae(this,t)},r.prototype.startWith=function(t){return se(t,this)},r.prototype.map=function(t){return Pt(t,this)},r.prototype.ap=function(t){return Ee(this,t)},r.prototype.constant=function(t){return It(t,this)},r.prototype.tap=function(t){return Gt(t,this)},r.prototype.transduce=function(t){return be(t,this)},r.prototype.chain=function(t){return Ge(t,this)},r.prototype.flatMap=r.prototype.chain,r.prototype.join=function(){return Ne(this)},r.prototype.continueWith=function(t){return oe(t,this)},r.prototype.flatMapEnd=r.prototype.continueWith,r.prototype.concatMap=function(t){return Te(t,this)},r.prototype.mergeConcurrently=function(t){return Me(t,this)},r.prototype.merge=function(){return Ue(o.QI(this,arguments))},r.prototype.combine=function(t){return ve(t,o.gx(this,0,arguments))},r.prototype.sampleWith=function(t){return Le(t,this)},r.prototype.sample=function(t){return $e(t,this,o.Gb(arguments))},r.prototype.zip=function(t){return tn(t,o.gx(this,0,arguments))},r.prototype.switchLatest=function(){return un(this)},r.prototype.switch=r.prototype.switchLatest,r.prototype.filter=function(t){return fn(t,this)},r.prototype.skipRepeats=function(){return pn(this)},r.prototype.skipRepeatsWith=function(t){return hn(t,this)},r.prototype.take=function(t){return yn(t,this)},r.prototype.skip=function(t){return mn(t,this)},r.prototype.slice=function(t,e){return En(t,e,this)},r.prototype.takeWhile=function(t){return wn(t,this)},r.prototype.skipWhile=function(t){return An(t,this)},r.prototype.skipAfter=function(t){return xn(t,this)},r.prototype.until=function(t){return Gn(t,this)},r.prototype.takeUntil=r.prototype.until,r.prototype.since=function(t){return Nn(t,this)},r.prototype.skipUntil=r.prototype.since,r.prototype.during=function(t){return Tn(t,this)},r.prototype.delay=function(t){return Wn(t,this)},r.prototype.timestamp=function(){return qn(this)},r.prototype.throttle=function(t){return Hn(t,this)},r.prototype.debounce=function(t){return Jn(t,this)},r.prototype.awaitPromises=function(){return nr(this)},r.prototype.await=r.prototype.awaitPromises,r.prototype.recoverWith=function(t){return sr(t,this)},r.prototype.flatMapError=r.prototype.recoverWith,r.prototype.multicast=function(){return(0,lr.Z)(this)}},1219:(t,e,n)=>{"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,u=n(3401),s=Object.prototype.propertyIsEnumerable,a=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(t){var e=t.constructor;return e&&e.prototype===t},h={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},l=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!h["$"+t]&&o.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{p(window[t])}catch(t){return!0}}catch(t){return!0}return!1}();r=function(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===i.call(t),r=u(t),s=e&&"[object String]"===i.call(t),h=[];if(!e&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var v=c&&n;if(s&&t.length>0&&!o.call(t,0))for(var d=0;d0)for(var y=0;y{"use strict";var r=Array.prototype.slice,o=n(3401),i=Object.keys,u=i?function(t){return i(t)}:n(1219),s=Object.keys;u.shim=function(){if(Object.keys){var t=function(){var t=Object.keys(arguments);return t&&t.length===arguments.length}(1,2);t||(Object.keys=function(t){return o(t)?s(r.call(t)):s(t)})}else Object.keys=u;return Object.keys||u},t.exports=u},3401:t=>{"use strict";var e=Object.prototype.toString;t.exports=function(t){var n=e.call(t),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===e.call(t.callee)),r}},575:(t,e,n)=>{"use strict";var r=n(8982),o=n(3454),i=n(7311),u=n(1949);function s(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function a(t){for(var e=t.length,n=0;n=0;--o)r=n(r,t[o]);return r}function D(t,e,n,o){for(var i=n,u=r.int_min(t.length,e.length)-1|0;u>=0;--u)i=o(i,t[u],e[u]);return i}function A(t,e,n){for(var r=e,o=0,i=t.length;oo)return 1;if(r=0&&e=0&&e=0&&e=0&&eo?n-o|0:0,u=new Array(i),s=0;s=0;--h)n[h+c|0]=t[h+a|0]},e.blitUnsafe=function(t,e,n,r,o){if(r<=e)for(var i=0;i=0;--u)n[u+r|0]=t[u+e|0]},e.forEachU=l,e.forEach=function(t,e){l(t,o.__1(e))},e.mapU=v,e.map=function(t,e){return v(t,o.__1(e))},e.flatMapU=function(t,e){return h(v(t,e))},e.flatMap=function(t,e){return h(v(t,o.__1(e)))},e.getByU=d,e.getBy=function(t,e){return d(t,o.__1(e))},e.getIndexByU=y,e.getIndexBy=function(t,e){return y(t,o.__1(e))},e.keepU=m,e.keep=function(t,e){return m(t,o.__1(e))},e.keepWithIndexU=E,e.keepWithIndex=function(t,e){return E(t,o.__2(e))},e.keepMapU=b,e.keepMap=function(t,e){return b(t,o.__1(e))},e.forEachWithIndexU=g,e.forEachWithIndex=function(t,e){g(t,o.__2(e))},e.mapWithIndexU=_,e.mapWithIndex=function(t,e){return _(t,o.__2(e))},e.partitionU=T,e.partition=function(t,e){return T(t,o.__1(e))},e.reduceU=w,e.reduce=function(t,e,n){return w(t,e,o.__2(n))},e.reduceReverseU=k,e.reduceReverse=function(t,e,n){return k(t,e,o.__2(n))},e.reduceReverse2U=D,e.reduceReverse2=function(t,e,n,r){return D(t,e,n,o.__3(r))},e.reduceWithIndexU=A,e.reduceWithIndex=function(t,e,n){return A(t,e,o.__3(n))},e.joinWithU=O,e.joinWith=function(t,e,n){return O(t,e,o.__1(n))},e.someU=S,e.some=function(t,e){return S(t,o.__1(e))},e.everyU=M,e.every=function(t,e){return M(t,o.__1(e))},e.every2U=P,e.every2=function(t,e,n){return P(t,e,o.__2(n))},e.some2U=I,e.some2=function(t,e,n){return I(t,e,o.__2(n))},e.cmpU=N,e.cmp=function(t,e,n){return N(t,e,o.__2(n))},e.eqU=G,e.eq=function(t,e,n){return G(t,e,o.__2(n))},e.initU=F,e.init=function(t,e){return F(t,o.__1(e))}},2868:(t,e,n)=>{"use strict";var r=n(3454),o=n(575),i=n(1949),u=n(4369);function s(t,e){for(;;){var n=e,r=t;if(!r)return n;var o={hd:r.hd,tl:0};n.tl=o,e=o,t=r.tl}}function a(t,e,n){for(;;){var r=n,o=e;if(!o)return;var i=o.tl,u=o.hd;if(t(u)){var s={hd:u,tl:0};r.tl=s,n=s,e=i}else e=i}}function c(t,e,n,r){for(;;){var o=r,i=n,u=e;if(!u)return;var s=u.tl,a=u.hd;if(t(a,o)){var c={hd:a,tl:0};i.tl=c,r=o+1|0,n=c,e=s}else r=o+1|0,e=s}}function f(t,e,n){for(;;){var r=n,o=e;if(!o)return;var u=o.tl,s=t(o.hd);if(void 0===s)e=u;else{var a={hd:i.valFromOption(s),tl:0};r.tl=a,n=a,e=u}}}function p(t,e){if(!t)return e;var n={hd:t.hd,tl:0};return s(t.tl,n).tl=e,n}function h(t,e){if(!t)return 0;var n={hd:e(t.hd),tl:0};return function(t,e,n){for(;;){var r=e,o=t;if(!o)return;var i={hd:n(o.hd),tl:0};r.tl=i,e=i,t=o.tl}}(t.tl,n,e),n}function l(t,e,n){if(!t)return 0;if(!e)return 0;var r={hd:n(t.hd,e.hd),tl:0};return function(t,e,n,r){for(;;){var o=r,i=n,u=e;if(!u)return;if(!i)return;var s={hd:t(u.hd,i.hd),tl:0};o.tl=s,r=s,n=i.tl,e=u.tl}}(n,t.tl,e.tl,r),r}function v(t,e){if(!t)return 0;var n={hd:e(0,t.hd),tl:0};return function(t,e,n,r){for(;;){var o=r,i=n,u=e;if(!i)return;var s={hd:t(u,i.hd),tl:0};o.tl=s,r=s,n=i.tl,e=u+1|0}}(e,1,t.tl,n),n}function d(t,e){if(t<=0)return 0;for(var n={hd:e(0),tl:0},r=n,o=1;o=0;--o)r=p(t[o],r);return r},e.reverseConcat=b,e.flatten=function(t){for(;;){var e=t;if(!e)return 0;var n=e.hd;if(n){var r={hd:n.hd,tl:0};return g(s(n.tl,r),e.tl),r}t=e.tl}},e.mapU=h,e.map=function(t,e){return h(t,r.__1(e))},e.zip=function(t,e){if(!t)return 0;if(!e)return 0;var n={hd:[t.hd,e.hd],tl:0};return function(t,e,n){for(;;){var r=n,o=e,i=t;if(!i)return;if(!o)return;var u={hd:[i.hd,o.hd],tl:0};r.tl=u,n=u,e=o.tl,t=i.tl}}(t.tl,e.tl,n),n},e.zipByU=l,e.zipBy=function(t,e,n){return l(t,e,r.__2(n))},e.mapWithIndexU=v,e.mapWithIndex=function(t,e){return v(t,r.__2(e))},e.fromArray=m,e.toArray=E,e.reverse=function(t){return b(t,0)},e.mapReverseU=_,e.mapReverse=function(t,e){return _(t,r.__1(e))},e.forEachU=w,e.forEach=function(t,e){w(t,r.__1(e))},e.forEachWithIndexU=k,e.forEachWithIndex=function(t,e){k(t,r.__2(e))},e.reduceU=D,e.reduce=function(t,e,n){return D(t,e,r.__2(n))},e.reduceWithIndexU=S,e.reduceWithIndex=function(t,e,n){return S(t,e,r.__3(n))},e.reduceReverseU=M,e.reduceReverse=function(t,e,n){return M(t,e,r.__2(n))},e.mapReverse2U=x,e.mapReverse2=function(t,e,n){return x(t,e,r.__2(n))},e.forEach2U=P,e.forEach2=function(t,e,n){P(t,e,r.__2(n))},e.reduce2U=I,e.reduce2=function(t,e,n,o){return I(t,e,n,r.__3(o))},e.reduceReverse2U=N,e.reduceReverse2=function(t,e,n,o){return N(t,e,n,r.__3(o))},e.everyU=T,e.every=function(t,e){return T(t,r.__1(e))},e.someU=O,e.some=function(t,e){return O(t,r.__1(e))},e.every2U=F,e.every2=function(t,e,n){return F(t,e,r.__2(n))},e.some2U=R,e.some2=function(t,e,n){return R(t,e,r.__2(n))},e.cmpByLength=function(t,e){for(;;){var n=t;if(!n)return e?-1:0;if(!e)return 1;e=e.tl,t=n.tl}},e.cmpU=B,e.cmp=function(t,e,n){return B(t,e,r.__2(n))},e.eqU=U,e.eq=function(t,e,n){return U(t,e,r.__2(n))},e.hasU=C,e.has=function(t,e,n){return C(t,e,r.__2(n))},e.getByU=X,e.getBy=function(t,e){return X(t,r.__1(e))},e.keepU=V,e.keep=H,e.filter=Q,e.keepWithIndexU=Y,e.keepWithIndex=K,e.filterWithIndex=tt,e.keepMapU=z,e.keepMap=function(t,e){return z(t,r.__1(e))},e.partitionU=J,e.partition=function(t,e){return J(t,r.__1(e))},e.unzip=function(t){if(!t)return[0,0];var e=t.hd,n={hd:e[0],tl:0},r={hd:e[1],tl:0};return function(t,e,n){for(;;){var r=n,o=e,i=t;if(!i)return;var u=i.hd,s={hd:u[0],tl:0},a={hd:u[1],tl:0};o.tl=s,r.tl=a,n=a,e=s,t=i.tl}}(t.tl,n,r),[n,r]},e.getAssocU=j,e.getAssoc=function(t,e,n){return j(t,e,r.__2(n))},e.hasAssocU=W,e.hasAssoc=function(t,e,n){return W(t,e,r.__2(n))},e.removeAssocU=L,e.removeAssoc=function(t,e,n){return L(t,e,r.__2(n))},e.setAssocU=$,e.setAssoc=function(t,e,n,o){return $(t,e,n,r.__2(o))},e.sortU=q,e.sort=function(t,e){return q(t,r.__2(e))}},7992:(t,e,n)=>{"use strict";var r=n(3454),o=n(1949);function i(t,e){if(void 0!==t&&e(o.valFromOption(t)))return t}function u(t,e){if(void 0!==t)return e(o.valFromOption(t))}function s(t,e,n){return void 0!==t?n(o.valFromOption(t)):e}function a(t,e){if(void 0!==t)return o.some(e(o.valFromOption(t)))}function c(t,e){if(void 0!==t)return e(o.valFromOption(t))}function f(t,e,n){return void 0!==t?void 0!==e&&n(o.valFromOption(t),o.valFromOption(e)):void 0===e}function p(t,e,n){return void 0!==t?void 0!==e?n(o.valFromOption(t),o.valFromOption(e)):1:void 0!==e?-1:0}e.keepU=i,e.keep=function(t,e){return i(t,r.__1(e))},e.forEachU=u,e.forEach=function(t,e){u(t,r.__1(e))},e.getExn=function(t){if(void 0!==t)return o.valFromOption(t);throw{RE_EXN_ID:"Not_found",Error:new Error}},e.mapWithDefaultU=s,e.mapWithDefault=function(t,e,n){return s(t,e,r.__1(n))},e.mapU=a,e.map=function(t,e){return a(t,r.__1(e))},e.flatMapU=c,e.flatMap=function(t,e){return c(t,r.__1(e))},e.getWithDefault=function(t,e){return void 0!==t?o.valFromOption(t):e},e.orElse=function(t,e){return void 0!==t?t:e},e.isSome=function(t){return void 0!==t},e.isNone=function(t){return void 0===t},e.eqU=f,e.eq=function(t,e,n){return f(t,e,r.__2(n))},e.cmpU=p,e.cmp=function(t,e,n){return p(t,e,r.__2(n))}},4369:(t,e,n)=>{"use strict";var r=n(3454),o=n(575);function i(t,e){var n=t.length;if(0===n||1===n)return n;var r=t[0],o=t[1];if(!e(r,o))return e(o,r)?0|-function(t,e,n,r,o){for(;;){var i=n,u=e;if(i>=r)return i;var s=t[i];if(!o(s,u))return i;n=i+1|0,e=s}}(t,o,2,n,e):1;for(var i=o,u=2;;){var s=u,a=i;if(s>=n)return s;var c=t[s];if(!e(a,c))return s;u=s+1|0,i=c}}function u(t,e){var n=t.length;if(0===n)return!0;for(var r=0,o=n-1|0;;){var i=r;if(i===o)return!0;if(e(t[i],t[i+1|0])>0)return!1;r=i+1|0}}function s(t,e,n,r,i,u,s,a,c){for(var f=e+n|0,p=i+u|0,h=e,l=t[e],v=i,d=r[i],y=a;;){var m=y,E=d,b=v,g=l,_=h;if(c(g,E)<=0){s[m]=g;var w=_+1|0;if(w>=f)return o.blitUnsafe(r,b,s,m+1|0,p-b|0);y=m+1|0,l=t[w],h=w}else{s[m]=E;var k=b+1|0;if(k>=p)return o.blitUnsafe(t,_,s,m+1|0,f-_|0);y=m+1|0,d=r[k],v=k}}}function a(t,e,n,r,i,u,s,a,c){for(var f=e+n|0,p=i+u|0,h=e,l=t[e],v=i,d=r[i],y=a;;){var m=y,E=d,b=v,g=l,_=h,w=c(g,E);if(w<0){s[m]=g;var k=_+1|0,D=m+1|0;if(k=c)return y;h=t[_],p=_}else if(0!==g){var w=m+1|0;if(w>=f)return y;v=r[w],l=w}else{u[y]=E;var k=b+1|0,D=m+1|0,A=y+1|0;if(!(k=f)return w;y=w,l=t[k],h=k}else if(0!==_){var D=E+1|0;if(!(D=r&&i(n[a],s)>0;)n[a+1|0]=n[a],a=a-1|0;n[a+1|0]=s}}function h(t,e,n,r,o,i){if(o<=5)return p(t,e,n,r,o,i);var u=o/2|0,a=o-u|0;h(t,e+u|0,n,r+u|0,a,i),h(t,e,t,e+a|0,u,i),s(t,e+a|0,u,n,r+u|0,a,n,r,i)}function l(t,e){var n=t.length;if(n<=5)return p(t,0,t,0,n,e);var r=n/2|0,o=n-r|0,i=new Array(o);h(t,r,i,0,o,e),h(t,0,t,o,r,e),s(t,o,r,i,0,o,t,0,e)}function v(t,e){var n=t.slice(0);return l(n,e),n}function d(t,e,n){var r=t.length;if(0===r)return-1;if(n(e,t[0])<0)return-1;if(n(e,t[r-1|0])>0)return 0|-(r+1|0);for(var o=0,i=r-1|0;;){var u=i,s=o,a=(s+u|0)/2|0,c=n(e,t[a]);if(0===c)return a;if(c<0){if(u===a)return 0===n(t[s],e)?s:0|-(u+1|0);i=a}else{if(s===a)return 0===n(t[u],e)?u:0|-(u+1|0);o=a}}}e.Int=void 0,e.$$String=void 0,e.strictlySortedLengthU=i,e.strictlySortedLength=function(t,e){return i(t,r.__2(e))},e.isSortedU=u,e.isSorted=function(t,e){return u(t,r.__2(e))},e.stableSortInPlaceByU=l,e.stableSortInPlaceBy=function(t,e){l(t,r.__2(e))},e.stableSortByU=v,e.stableSortBy=function(t,e){return v(t,r.__2(e))},e.binarySearchByU=d,e.binarySearchBy=function(t,e,n){return d(t,e,r.__2(n))},e.unionU=a,e.union=function(t,e,n,o,i,u,s,c,f){return a(t,e,n,o,i,u,s,c,r.__2(f))},e.intersectU=c,e.intersect=function(t,e,n,o,i,u,s,a,f){return c(t,e,n,o,i,u,s,a,r.__2(f))},e.diffU=f,e.diff=function(t,e,n,o,i,u,s,a,c){return f(t,e,n,o,i,u,s,a,r.__2(c))}},8982:(t,e)=>{"use strict";function n(t,e){return t[1]===e[1]&&t[0]===e[0]}function r(t,e){var n=e[0],r=t[0];return r>n||!(r=e[1]}function o(t,e){return t[0]>e[0]||!(t[0]e[1]}e.int_compare=function(t,e){return te||t==t?1:e==e?-1:0},e.string_compare=function(t,e){return t===e?0:te?t:e},e.float_max=function(t,e){return t>e?t:e},e.string_max=function(t,e){return t>e?t:e},e.i64_eq=n,e.i64_neq=function(t,e){return!n(t,e)},e.i64_lt=function(t,e){return!r(t,e)},e.i64_gt=o,e.i64_le=function(t,e){return!o(t,e)},e.i64_ge=r,e.i64_min=function(t,e){return r(t,e)?e:t},e.i64_max=function(t,e){return o(t,e)?t:e}},8667:(t,e)=>{"use strict";e.dup=function(t){return t.slice(0)},e.sub=function(t,e,n){for(var r=new Array(n),o=0,i=e;o=0;--u)n[u+r|0]=t[u+e|0]},e.get=function(t,e){if(e<0||e>=t.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};return t[e]},e.set=function(t,e,n){if(e<0||e>=t.length)throw{RE_EXN_ID:"Invalid_argument",_1:"index out of bounds",Error:new Error};t[e]=n}},7470:(t,e)=>{"use strict";var n={contents:0};e.id=n,e.create=function(t){return n.contents=n.contents+1|0,t+"/"+n.contents},e.is_extension=function(t){return null!=t&&"string"==typeof t.RE_EXN_ID},e.exn_slot_name=function(t){return t.RE_EXN_ID}},1948:(t,e,n)=>{"use strict";var r=n(1949),o=n(7470),i="JsError";e.$$Error=i,e.internalToOCamlException=function(t){return o.is_extension(t)?t:{RE_EXN_ID:"JsError",_1:t}},e.as_js_exn=function(t){if(t.RE_EXN_ID===i)return r.some(t._1)}},4541:(t,e,n)=>{"use strict";var r=n(8982),o=function(t,e){for(var n in t)e(n)};function i(t,e){if(t===e)return 0;var n=typeof t,o=typeof e;switch(n){case"boolean":if("boolean"===o)return r.bool_compare(t,e);break;case"function":if("function"===o)throw{RE_EXN_ID:"Invalid_argument",_1:"compare: functional value",Error:new Error};break;case"number":if("number"===o)return r.float_compare(t,e);break;case"string":return"string"===o?r.string_compare(t,e):1;case"undefined":return-1}switch(o){case"string":return-1;case"undefined":return 1;default:if("boolean"===n)return 1;if("boolean"===o)return-1;if("function"===n)return 1;if("function"===o)return-1;if("number"===n)return null===e||void 0!==e.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if("number"===o)return null===t||void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(null===t)return void 0!==e.BS_PRIVATE_NESTED_SOME_NONE?1:-1;if(null===e)return void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?-1:1;if(void 0!==t.BS_PRIVATE_NESTED_SOME_NONE)return void 0!==e.BS_PRIVATE_NESTED_SOME_NONE?u(t,e):-1;var s=0|t.TAG,a=0|e.TAG;if(248===s)return r.int_compare(t[1],e[1]);if(251===s)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(s!==a)return s0){var o=n.contents;return void 0!==o&&e>=o?void 0:void(n.contents=e)}},a=[t,e,u],c=[e,t,n];o(t,(function(t){return s(a,t)})),o(e,(function(t){return s(c,t)}));var f=n.contents,p=u.contents;return void 0!==f?void 0!==p?r.string_compare(f,p):-1:void 0!==p?1:0}function s(t,e){if(t===e)return!0;var n=typeof t;if("string"===n||"number"===n||"boolean"===n||"undefined"===n||null===t)return!1;var r=typeof e;if("function"===n||"function"===r)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: functional value",Error:new Error};if("number"===r||"undefined"===r||null===e)return!1;var i=0|t.TAG,u=0|e.TAG;if(248===i)return t[1]===e[1];if(251===i)throw{RE_EXN_ID:"Invalid_argument",_1:"equal: abstract value",Error:new Error};if(i!==u)return!1;var a=0|t.length;if(a!==(0|e.length))return!1;if(!Array.isArray(t)){if(t instanceof Date&&e instanceof Date)return!(t>e||t=e:i(t,e)>=0},e.greaterthan=function(t,e){return"number"==typeof t&&"number"==typeof e?t>e:i(t,e)>0},e.lessthan=function(t,e){return"number"==typeof t&&"number"==typeof e?t=0?t:e}},1949:(t,e)=>{"use strict";function n(t){return void 0===t?{BS_PRIVATE_NESTED_SOME_NONE:0}:null!==t&&void 0!==t.BS_PRIVATE_NESTED_SOME_NONE?{BS_PRIVATE_NESTED_SOME_NONE:t.BS_PRIVATE_NESTED_SOME_NONE+1|0}:t}function r(t){if(null===t||void 0===t.BS_PRIVATE_NESTED_SOME_NONE)return t;var e=t.BS_PRIVATE_NESTED_SOME_NONE;return 0===e?void 0:{BS_PRIVATE_NESTED_SOME_NONE:e-1|0}}e.nullable_to_opt=function(t){return null==t?void 0:n(t)},e.undefined_to_opt=function(t){return void 0===t?void 0:n(t)},e.null_to_opt=function(t){return null===t?void 0:n(t)},e.valFromOption=r,e.some=n,e.isNested=function(t){return void 0!==t.BS_PRIVATE_NESTED_SOME_NONE},e.option_get=function(t){return void 0===t?void 0:r(t)},e.option_unwrap=function(t){return void 0!==t?t.VAL:t}},5868:(t,e)=>{"use strict";e.spliceApply=function(t,e){var n,r;r=e.length;var o=[];for(n=0;n{"use strict";var r=n(8667);function o(t,e){for(;;){var n=e,i=t,u=i.length,s=0===u?1:u,a=s-n.length|0;if(0===a)return i.apply(null,n);if(a>=0)return function(t,e){return function(n){return o(t,e.concat([n]))}}(i,n);e=r.sub(n,s,0|-a),t=i.apply(null,r.sub(n,0,s))}}function i(t,e){var n=t.length;if(1===n)return t(e);switch(n){case 1:return t(e);case 2:return function(n){return t(e,n)};case 3:return function(n,r){return t(e,n,r)};case 4:return function(n,r,o){return t(e,n,r,o)};case 5:return function(n,r,o,i){return t(e,n,r,o,i)};case 6:return function(n,r,o,i,u){return t(e,n,r,o,i,u)};case 7:return function(n,r,o,i,u,s){return t(e,n,r,o,i,u,s)};default:return o(t,[e])}}function u(t,e,n){var r=t.length;if(2===r)return t(e,n);switch(r){case 1:return o(t(e),[n]);case 2:return t(e,n);case 3:return function(r){return t(e,n,r)};case 4:return function(r,o){return t(e,n,r,o)};case 5:return function(r,o,i){return t(e,n,r,o,i)};case 6:return function(r,o,i,u){return t(e,n,r,o,i,u)};case 7:return function(r,o,i,u,s){return t(e,n,r,o,i,u,s)};default:return o(t,[e,n])}}function s(t,e,n,r){var i=t.length;if(3===i)return t(e,n,r);switch(i){case 1:return o(t(e),[n,r]);case 2:return o(t(e,n),[r]);case 3:return t(e,n,r);case 4:return function(o){return t(e,n,r,o)};case 5:return function(o,i){return t(e,n,r,o,i)};case 6:return function(o,i,u){return t(e,n,r,o,i,u)};case 7:return function(o,i,u,s){return t(e,n,r,o,i,u,s)};default:return o(t,[e,n,r])}}function a(t,e,n,r,i){var u=t.length;if(4===u)return t(e,n,r,i);switch(u){case 1:return o(t(e),[n,r,i]);case 2:return o(t(e,n),[r,i]);case 3:return o(t(e,n,r),[i]);case 4:return t(e,n,r,i);case 5:return function(o){return t(e,n,r,i,o)};case 6:return function(o,u){return t(e,n,r,i,o,u)};case 7:return function(o,u,s){return t(e,n,r,i,o,u,s)};default:return o(t,[e,n,r,i])}}function c(t,e,n,r,i,u){var s=t.length;if(5===s)return t(e,n,r,i,u);switch(s){case 1:return o(t(e),[n,r,i,u]);case 2:return o(t(e,n),[r,i,u]);case 3:return o(t(e,n,r),[i,u]);case 4:return o(t(e,n,r,i),[u]);case 5:return t(e,n,r,i,u);case 6:return function(o){return t(e,n,r,i,u,o)};case 7:return function(o,s){return t(e,n,r,i,u,o,s)};default:return o(t,[e,n,r,i,u])}}function f(t,e,n,r,i,u,s){var a=t.length;if(6===a)return t(e,n,r,i,u,s);switch(a){case 1:return o(t(e),[n,r,i,u,s]);case 2:return o(t(e,n),[r,i,u,s]);case 3:return o(t(e,n,r),[i,u,s]);case 4:return o(t(e,n,r,i),[u,s]);case 5:return o(t(e,n,r,i,u),[s]);case 6:return t(e,n,r,i,u,s);case 7:return function(o){return t(e,n,r,i,u,s,o)};default:return o(t,[e,n,r,i,u,s])}}function p(t,e,n,r,i,u,s,a){var c=t.length;if(7===c)return t(e,n,r,i,u,s,a);switch(c){case 1:return o(t(e),[n,r,i,u,s,a]);case 2:return o(t(e,n),[r,i,u,s,a]);case 3:return o(t(e,n,r),[i,u,s,a]);case 4:return o(t(e,n,r,i),[u,s,a]);case 5:return o(t(e,n,r,i,u),[s,a]);case 6:return o(t(e,n,r,i,u,s),[a]);case 7:return t(e,n,r,i,u,s,a);default:return o(t,[e,n,r,i,u,s,a])}}function h(t,e,n,r,i,u,s,a,c){var f=t.length;if(8===f)return t(e,n,r,i,u,s,a,c);switch(f){case 1:return o(t(e),[n,r,i,u,s,a,c]);case 2:return o(t(e,n),[r,i,u,s,a,c]);case 3:return o(t(e,n,r),[i,u,s,a,c]);case 4:return o(t(e,n,r,i),[u,s,a,c]);case 5:return o(t(e,n,r,i,u),[s,a,c]);case 6:return o(t(e,n,r,i,u,s),[a,c]);case 7:return o(t(e,n,r,i,u,s,a),[c]);default:return o(t,[e,n,r,i,u,s,a,c])}}e.app=o,e._1=i,e.__1=function(t){return 1===t.length?t:function(e){return i(t,e)}},e._2=u,e.__2=function(t){return 2===t.length?t:function(e,n){return u(t,e,n)}},e._3=s,e.__3=function(t){return 3===t.length?t:function(e,n,r){return s(t,e,n,r)}},e._4=a,e.__4=function(t){return 4===t.length?t:function(e,n,r,o){return a(t,e,n,r,o)}},e._5=c,e.__5=function(t){return 5===t.length?t:function(e,n,r,o,i){return c(t,e,n,r,o,i)}},e._6=f,e.__6=function(t){return 6===t.length?t:function(e,n,r,o,i,u){return f(t,e,n,r,o,i,u)}},e._7=p,e.__7=function(t){return 7===t.length?t:function(e,n,r,o,i,u,s){return p(t,e,n,r,o,i,u,s)}},e._8=h,e.__8=function(t){return 8===t.length?t:function(e,n,r,o,i,u,s,a){return h(t,e,n,r,o,i,u,s,a)}}},236:(t,e,n)=>{"use strict";var r=n(3454),o=n(1949),i=n(5868);e.copyWithin=function(t,e){return e.copyWithin(t)},e.copyWithinFrom=function(t,e,n){return n.copyWithin(t,e)},e.copyWithinFromRange=function(t,e,n,r){return r.copyWithin(t,e,n)},e.fillInPlace=function(t,e){return e.fill(t)},e.fillFromInPlace=function(t,e,n){return n.fill(t,e)},e.fillRangeInPlace=function(t,e,n,r){return r.fill(t,e,n)},e.push=function(t,e){return e.push(t)},e.pushMany=function(t,e){return i.spliceObjApply(e,"push",[t])},e.sortInPlaceWith=function(t,e){return e.sort(r.__2(t))},e.spliceInPlace=function(t,e,n,r){return i.spliceObjApply(r,"splice",[t,e,n])},e.removeFromInPlace=function(t,e){return e.splice(t)},e.removeCountInPlace=function(t,e,n){return n.splice(t,e)},e.unshift=function(t,e){return e.unshift(t)},e.unshiftMany=function(t,e){return i.spliceObjApply(e,"unshift",[t])},e.concat=function(t,e){return e.concat(t)},e.concatMany=function(t,e){return i.spliceObjApply(e,"concat",[t])},e.includes=function(t,e){return e.includes(t)},e.indexOf=function(t,e){return e.indexOf(t)},e.indexOfFrom=function(t,e,n){return n.indexOf(t,e)},e.joinWith=function(t,e){return e.join(t)},e.lastIndexOf=function(t,e){return e.lastIndexOf(t)},e.lastIndexOfFrom=function(t,e,n){return n.lastIndexOf(t,e)},e.slice=function(t,e,n){return n.slice(t,e)},e.sliceFrom=function(t,e){return e.slice(t)},e.every=function(t,e){return e.every(r.__1(t))},e.everyi=function(t,e){return e.every(r.__2(t))},e.filter=function(t,e){return e.filter(r.__1(t))},e.filteri=function(t,e){return e.filter(r.__2(t))},e.find=function(t,e){return o.undefined_to_opt(e.find(r.__1(t)))},e.findi=function(t,e){return o.undefined_to_opt(e.find(r.__2(t)))},e.findIndex=function(t,e){return e.findIndex(r.__1(t))},e.findIndexi=function(t,e){return e.findIndex(r.__2(t))},e.forEach=function(t,e){e.forEach(r.__1(t))},e.forEachi=function(t,e){e.forEach(r.__2(t))},e.map=function(t,e){return e.map(r.__1(t))},e.mapi=function(t,e){return e.map(r.__2(t))},e.reduce=function(t,e,n){return n.reduce(r.__2(t),e)},e.reducei=function(t,e,n){return n.reduce(r.__3(t),e)},e.reduceRight=function(t,e,n){return n.reduceRight(r.__2(t),e)},e.reduceRighti=function(t,e,n){return n.reduceRight(r.__3(t),e)},e.some=function(t,e){return e.some(r.__1(t))},e.somei=function(t,e){return e.some(r.__2(t))}},7261:(t,e,n)=>{"use strict";var r=n(1949);e.get=function(t,e){if(e in t)return r.some(t[e])},e.unsafeDeleteKey=function(t,e){delete t[e]},e.entries=function(t){for(var e=Object.keys(t),n=e.length,r=new Array(n),o=0;o{"use strict";e.$$Error="JsError",e.raiseError=function(t){throw new Error(t)},e.raiseEvalError=function(t){throw new EvalError(t)},e.raiseRangeError=function(t){throw new RangeError(t)},e.raiseReferenceError=function(t){throw new ReferenceError(t)},e.raiseSyntaxError=function(t){throw new SyntaxError(t)},e.raiseTypeError=function(t){throw new TypeError(t)},e.raiseUriError=function(t){throw new URIError(t)}},4890:(t,e)=>{"use strict";e.equal=function(t,e){return t===e},e.max=2147483647,e.min=-2147483648},7311:(t,e,n)=>{"use strict";var r=n(4890);function o(t){return t>r.max?r.max:tr.max?r.max:t{"use strict";var r=n(1949);function o(t){if(void 0!==t)return r.valFromOption(t)}var i=o;e.bind=function(t,e){return null==t?t:e(t)},e.iter=function(t,e){if(null!=t)return e(t)},e.fromOption=o,e.from_opt=i},1025:(t,e,n)=>{"use strict";var r=n(1949);function o(t,e){return void 0!==e?r.valFromOption(e):t}var i=o;e.some=function(t){return r.some(t)},e.isSome=function(t){return void 0!==t},e.isSomeValue=function(t,e,n){return void 0!==n&&t(e,r.valFromOption(n))},e.isNone=function(t){return void 0===t},e.getExn=function(t){if(void 0!==t)return r.valFromOption(t);throw new Error("getExn")},e.equal=function(t,e,n){return void 0!==e?void 0!==n&&t(r.valFromOption(e),r.valFromOption(n)):void 0===n},e.andThen=function(t,e){if(void 0!==e)return t(r.valFromOption(e))},e.map=function(t,e){if(void 0!==e)return r.some(t(r.valFromOption(e)))},e.getWithDefault=o,e.$$default=i,e.default=i,e.__esModule=!0,e.filter=function(t,e){if(void 0!==e){var n=r.valFromOption(e);return t(n)?r.some(n):void 0}},e.firstSome=function(t,e){return void 0!==t?t:void 0!==e?e:void 0}},2792:(t,e,n)=>{"use strict";var r=n(3454);e.then_=function(t,e){return e.then(r.__1(t))},e.$$catch=function(t,e){return e.catch(r.__1(t))}},3205:(t,e)=>{"use strict";e.default=function(t){var e,n=t.Symbol;if("function"==typeof n)if(n.observable)e=n.observable;else{e=n.for("https://github.com/benlesh/symbol-observable");try{n.observable=e}catch(t){}}else e="@@observable";return e}},4959:(t,e,n)=>{t.exports=n(3205)},432:(t,e,n)=>{"use strict";var r=n(3454),o=n(4458),i=n(369),u=n(3790),s=n(4746),a=n(3066),c=n(693),f=n(7405),p=n(1937),h=n(8970),l=n(2251);function v(t,e){var n=s.getBrowser(t),r=o.getExn(u.getCanvas(t)),c=i.getBodyExn(t);a.setState(i.setBody(u.setCanvas(s.setBrowser(a.getState(e),n),r),c),e)}function d(t,e,n,o,i){var u=t.getExtensionState(e,n),s=r._2(o,u.eventManagerState,i);return t.setExtensionState(e,n,{actionContributeMap:u.actionContributeMap,eventManagerState:s})}var y=f.getPointDownEventName,m=f.getPointUpEventName,E=f.getPointTapEventName,b=f.getPointMoveEventName,g=f.getPointScaleEventName,_=f.getPointDragStartEventName,w=f.getPointDragOverEventName,k=f.getPointDragDropEventName;e.registerAction=function(t,e){return{actionContributeMap:p.set(t.actionContributeMap,e.actionName,e),eventManagerState:t.eventManagerState}},e.trigger=function(t,e,n,o,i){var u=t.getExtensionState(e,n),s=p.get(u.actionContributeMap,o);return void 0!==s?r._2(s.handler,e,i):Promise.resolve(e)},e.onPointEvent=function(t,e,n){var r=n[2],o=a.getState(e),i=h.onCustomGlobalEvent(n[0],(function(t,e){return r(t),[e,t]}),o,n[1],void 0);a.setState(i,e)},e._setDomToStateForEventHandler=v,e.initEvent=function(t,e,n){var r=t.getExtensionState(e,n);a.createState(l.create,n);var o=c.initEvent(r.eventManagerState,n);return v(o,n),t.setExtensionState(e,n,{actionContributeMap:r.actionContributeMap,eventManagerState:o})},e._invokeEventManagerSetDomDataFuncWithOneArg=d,e.setBrowser=function(t,e,n,r){return d(t,e,n,s.setBrowser,r)},e.setCanvas=function(t,e,n,r){return d(t,e,n,u.setCanvas,r)},e.setBody=function(t,e,n,r){return d(t,e,n,i.setBody,r)},e.getBrowserChromeType=function(t){return 0},e.getBrowserFirefoxType=function(t){return 1},e.getBrowserAndroidType=function(t){return 2},e.getBrowserIOSType=function(t){return 3},e.getBrowserUnknownType=function(t){return 4},e.getPointDownEventName=y,e.getPointUpEventName=m,e.getPointTapEventName=E,e.getPointMoveEventName=b,e.getPointScaleEventName=g,e.getPointDragStartEventName=_,e.getPointDragOverEventName=w,e.getPointDragDropEventName=k,e.getAllActionContributes=function(t){return p.entries(t.actionContributeMap)},e.createExtensionState=function(t,e){return{actionContributeMap:p.createEmpty(void 0,void 0),eventManagerState:l.create(void 0)}}},3419:(t,e,n)=>{"use strict";var r=n(1949),o=n(9714),i=n(3066),u=n(8970),s=n(1562),a=u.triggerCustomGlobalEvent3;e.onCustomGlobalEvent=function(t,e){var n=e[2];i.setState(u.onCustomGlobalEvent(e[0],(function(t,e){return n(t),[e,t]}),i.getState(t),e[1],void 0),t)},e.offCustomGlobalEventByHandleFunc=function(t,e){i.setState(u.offCustomGlobalEventByHandleFunc(e[0],e[1],i.getState(t)),t)},e.onCustomGlobalEvent2=function(t,e,n,r){var o=r[2],i=t.getExtensionState(e,n),s=i.actionContributeMap,a=u.onCustomGlobalEvent2(r[0],(function(t,e){return[o(t,e),e]}),i.eventManagerState,r[1],void 0),c={actionContributeMap:s,eventManagerState:a};return t.setExtensionState(e,n,c)},e.triggerCustomGlobalEvent2=function(t,e,n,r){return o.getFirst(u.triggerCustomGlobalEvent2(t,e,n,r))},e.onCustomGlobalEvent3=function(t,e,n,r){var o=r[2],i=t.getExtensionState(e,n),s=i.actionContributeMap,a=u.onCustomGlobalEvent3(r[0],(function(t,e){return o(t,e)}),i.eventManagerState,r[1],void 0),c={actionContributeMap:s,eventManagerState:a};return t.setExtensionState(e,n,c)},e.triggerCustomGlobalEvent3=a,e.createCustomEvent=function(t,e){return s.create(t,null==e?void 0:r.some(e))}},3066:(t,e)=>{"use strict";e.createState=function(t,e){window[e+"_eventManagerState"]=t()},e.getState=function(t){return window[t+"_eventManagerState"]},e.setState=function(t,e){window[e+"_eventManagerState"]=t}},2251:(t,e,n)=>{"use strict";var r=n(3161),o=n(7553),i=function(){var t=[],e={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\\\",221:"]",222:"'"};for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},u=function(){var t=[],e={59:":",61:"+",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:")",97:"!",98:"@",99:"#",100:"$",101:"%",102:"^",103:"&",104:"*",105:"(",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}"};for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t};e._createSpecialKeyMap=i,e._createShiftKeyByKeyCodeMap=u,e._createShiftKeyByCharCodeMap=function(){return{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":",",":"<",".":">","/":"?","\\\\":"|"}},e.create=function(t){return{eventData:{domEventStreamSubscription:void 0,mouseDomEventDataArrMap:o.createEmpty(void 0,void 0),keyboardDomEventDataArrMap:o.createEmpty(void 0,void 0),touchDomEventDataArrMap:o.createEmpty(void 0,void 0),customGlobalEventArrMap:r.createEmpty(void 0,void 0),customGlobalEventArrMap2:r.createEmpty(void 0,void 0),customGlobalEventArrMap3:r.createEmpty(void 0,void 0),mouseEventData:{lastX:void 0,lastY:void 0,isDrag:!1},keyboardEventData:{specialKeyMap:i(),shiftKeyByKeyCodeMap:u(),shiftKeyByCharCodeMap:{"`":"~",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")","-":"_","=":"+",";":":",",":"<",".":">","/":"?","\\\\":"|"}},touchEventData:{lastX:void 0,lastY:void 0,isDrag:!1}},canvas:void 0,body:void 0,browser:0}},e.deepCopy=function(t){var e=t.eventData;return{eventData:{domEventStreamSubscription:e.domEventStreamSubscription,mouseDomEventDataArrMap:o.copy(t.eventData.mouseDomEventDataArrMap),keyboardDomEventDataArrMap:o.copy(t.eventData.keyboardDomEventDataArrMap),touchDomEventDataArrMap:o.copy(t.eventData.touchDomEventDataArrMap),customGlobalEventArrMap:r.copy(t.eventData.customGlobalEventArrMap),customGlobalEventArrMap2:r.copy(t.eventData.customGlobalEventArrMap2),customGlobalEventArrMap3:e.customGlobalEventArrMap3,mouseEventData:e.mouseEventData,keyboardEventData:e.keyboardEventData,touchEventData:e.touchEventData},canvas:t.canvas,body:t.body,browser:t.browser}}},4746:(t,e)=>{"use strict";e.getBrowser=function(t){return t.browser},e.setBrowser=function(t,e){return{eventData:t.eventData,canvas:t.canvas,body:t.body,browser:e}}},369:(t,e,n)=>{"use strict";var r=n(1949),o=n(4458);e.getBodyExn=function(t){return o.getExn(t.body)},e.setBody=function(t,e){return{eventData:t.eventData,canvas:t.canvas,body:r.some(e),browser:t.browser}}},3790:(t,e,n)=>{"use strict";var r=n(1949);e.getCanvas=function(t){return t.canvas},e.setCanvas=function(t,e){return{eventData:t.eventData,canvas:r.some(e),body:t.body,browser:t.browser}},e.getOffset=function(t){for(var e=[t.offsetLeft,t.offsetTop],n=t;n=n.offsetParent;)e[0]+=n.offsetLeft,e[1]+=n.offsetTop;return e}},8970:(t,e,n)=>{"use strict";var r=n(1949),o=n(4258),i=n(9136),u=n(2106),s=n(8582),a=n(3074),c=i.unbindByHandleFunc,f=a.unbindByHandleFunc,p=u.unbindByHandleFunc,h=o.unbindGlobalEventByHandleFunc,l=s.stopPropagation,v=s.triggerGlobalEvent,d=s.triggerGlobalEvent2,y=s.triggerGlobalEvent3,m=function(t){t.unsubscribe()};e.onMouseEvent=function(t,e,n,r,o){var u=void 0!==r?r:0;return i.bind(t,u,e,n)},e.onKeyboardEvent=function(t,e,n,r,o){var i=void 0!==r?r:0;return a.bind(t,i,e,n)},e.onTouchEvent=function(t,e,n,r,o){var i=void 0!==r?r:0;return u.bind(t,i,e,n)},e.offMouseEventByHandleFunc=c,e.offKeyboardEventByHandleFunc=f,e.offTouchEventByHandleFunc=p,e.onCustomGlobalEvent=function(t,e,n,r,i){var u=void 0!==r?r:0;return o.bindGlobalEvent(t,u,e,n)},e.onCustomGlobalEvent2=function(t,e,n,r,i){var u=void 0!==r?r:0;return o.bindGlobalEvent2(t,u,e,n)},e.onCustomGlobalEvent3=function(t,e,n,r,i){var u=void 0!==r?r:0;return o.bindGlobalEvent3(t,u,e,n)},e.offCustomGlobalEventByHandleFunc=h,e.stopPropagationCustomEvent=l,e.triggerCustomGlobalEvent=v,e.triggerCustomGlobalEvent2=d,e.triggerCustomGlobalEvent3=y,e.setDomEventStreamSubscription=function(t,e){var n=t.eventData;return{eventData:{domEventStreamSubscription:r.some(e),mouseDomEventDataArrMap:n.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:n.keyboardDomEventDataArrMap,touchDomEventDataArrMap:n.touchDomEventDataArrMap,customGlobalEventArrMap:n.customGlobalEventArrMap,customGlobalEventArrMap2:n.customGlobalEventArrMap2,customGlobalEventArrMap3:n.customGlobalEventArrMap3,mouseEventData:n.mouseEventData,keyboardEventData:n.keyboardEventData,touchEventData:n.touchEventData},canvas:t.canvas,body:t.body,browser:t.browser}},e._unsubscribeDomEventStream=m,e.unsubscribeDomEventStream=function(t){var e=t.eventData.domEventStreamSubscription;return void 0!==e?(m(r.valFromOption(e)),t):t}},6282:(t,e)=>{"use strict";e.getLastXY=function(t){var e=t.mouseEventData;return[e.lastX,e.lastY]},e.setLastXY=function(t,e,n){return{domEventStreamSubscription:n.domEventStreamSubscription,mouseDomEventDataArrMap:n.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:n.keyboardDomEventDataArrMap,touchDomEventDataArrMap:n.touchDomEventDataArrMap,customGlobalEventArrMap:n.customGlobalEventArrMap,customGlobalEventArrMap2:n.customGlobalEventArrMap2,customGlobalEventArrMap3:n.customGlobalEventArrMap3,mouseEventData:{lastX:t,lastY:e,isDrag:n.mouseEventData.isDrag},keyboardEventData:n.keyboardEventData,touchEventData:n.touchEventData}}},7405:(t,e)=>{"use strict";e.getPointDownEventName=function(t){return"meta3d_pointdown"},e.getPointUpEventName=function(t){return"meta3d_pointup"},e.getPointTapEventName=function(t){return"meta3d_pointtap"},e.getPointMoveEventName=function(t){return"meta3d_pointmove"},e.getPointScaleEventName=function(t){return"meta3d_pointscale"},e.getPointDragStartEventName=function(t){return"meta3d_pointdragstart"},e.getPointDragOverEventName=function(t){return"meta3d_pointdragover"},e.getPointDragDropEventName=function(t){return"meta3d_pointdragdrop"}},4045:(t,e)=>{"use strict";e.getLastXY=function(t){var e=t.touchEventData;return[e.lastX,e.lastY]},e.setLastXY=function(t,e,n){return{domEventStreamSubscription:n.domEventStreamSubscription,mouseDomEventDataArrMap:n.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:n.keyboardDomEventDataArrMap,touchDomEventDataArrMap:n.touchDomEventDataArrMap,customGlobalEventArrMap:n.customGlobalEventArrMap,customGlobalEventArrMap2:n.customGlobalEventArrMap2,customGlobalEventArrMap3:n.customGlobalEventArrMap3,mouseEventData:n.mouseEventData,keyboardEventData:n.keyboardEventData,touchEventData:{lastX:t,lastY:e,isDrag:n.touchEventData.isDrag}}}},4258:(t,e,n)=>{"use strict";var r=n(236),o=n(8254),i=n(3161);function u(t,e){var n=o.push(e,t);return r.sortInPlaceWith((function(t,e){return e.priority-t.priority|0}),n)}function s(t,e,n){var r=i.get(n,t);return void 0!==r?i.set(n,t,u(e,r)):i.set(n,t,[e])}function a(t,e){return r.filter((function(t){return t.handleFunc!==e}),t)}function c(t,e,n){var r=i.get(n,t);return void 0!==r?i.set(n,t,a(r,e)):n}e._addEventDataByPriority=u,e._addToEventArr=s,e.bindGlobalEvent=function(t,e,n,r){var o=r.eventData;return{eventData:{domEventStreamSubscription:o.domEventStreamSubscription,mouseDomEventDataArrMap:o.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:o.keyboardDomEventDataArrMap,touchDomEventDataArrMap:o.touchDomEventDataArrMap,customGlobalEventArrMap:s(t,{priority:e,handleFunc:n},o.customGlobalEventArrMap),customGlobalEventArrMap2:o.customGlobalEventArrMap2,customGlobalEventArrMap3:o.customGlobalEventArrMap3,mouseEventData:o.mouseEventData,keyboardEventData:o.keyboardEventData,touchEventData:o.touchEventData},canvas:r.canvas,body:r.body,browser:r.browser}},e.bindGlobalEvent2=function(t,e,n,r){var o=r.eventData;return{eventData:{domEventStreamSubscription:o.domEventStreamSubscription,mouseDomEventDataArrMap:o.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:o.keyboardDomEventDataArrMap,touchDomEventDataArrMap:o.touchDomEventDataArrMap,customGlobalEventArrMap:o.customGlobalEventArrMap,customGlobalEventArrMap2:s(t,{priority:e,handleFunc:n},o.customGlobalEventArrMap2),customGlobalEventArrMap3:o.customGlobalEventArrMap3,mouseEventData:o.mouseEventData,keyboardEventData:o.keyboardEventData,touchEventData:o.touchEventData},canvas:r.canvas,body:r.body,browser:r.browser}},e.bindGlobalEvent3=function(t,e,n,r){var o=r.eventData;return{eventData:{domEventStreamSubscription:o.domEventStreamSubscription,mouseDomEventDataArrMap:o.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:o.keyboardDomEventDataArrMap,touchDomEventDataArrMap:o.touchDomEventDataArrMap,customGlobalEventArrMap:o.customGlobalEventArrMap,customGlobalEventArrMap2:o.customGlobalEventArrMap2,customGlobalEventArrMap3:s(t,{priority:e,handleFunc:n},o.customGlobalEventArrMap3),mouseEventData:o.mouseEventData,keyboardEventData:o.keyboardEventData,touchEventData:o.touchEventData},canvas:r.canvas,body:r.body,browser:r.browser}},e._removeFromEventArrByHandleFunc=a,e._removeFromEventArrMapByHandleFunc=c,e.unbindGlobalEventByHandleFunc=function(t,e,n){var r=n.eventData;return{eventData:{domEventStreamSubscription:r.domEventStreamSubscription,mouseDomEventDataArrMap:r.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:r.keyboardDomEventDataArrMap,touchDomEventDataArrMap:r.touchDomEventDataArrMap,customGlobalEventArrMap:c(t,e,r.customGlobalEventArrMap),customGlobalEventArrMap2:r.customGlobalEventArrMap2,customGlobalEventArrMap3:r.customGlobalEventArrMap3,mouseEventData:r.mouseEventData,keyboardEventData:r.keyboardEventData,touchEventData:r.touchEventData},canvas:n.canvas,body:n.body,browser:n.browser}}},5753:(t,e,n)=>{"use strict";var r=n(3454),o=n(236),i=n(8254),u=n(7553);e.addToEventArr=function(t,e,n,s){var a=u.get(s,t);if(void 0===a)return u.set(s,t,[e]);var c=i.push(a,e);return u.set(s,t,o.sortInPlaceWith((function(t,e){return r._1(n,e)-r._1(n,t)|0}),c))},e.removeFromEventArrMapByHandleFunc=function(t,e,n){var i=e[1],s=e[0],a=u.get(n,t);return void 0!==a?u.set(n,t,o.filter((function(t){return r._1(s,t)!==i}),a)):n}},3074:(t,e,n)=>{"use strict";var r=n(5753);function o(t,e,n){return r.addToEventArr(t,e,(function(t){return t.priority}),n)}function i(t,e,n){return r.removeFromEventArrMapByHandleFunc(t,[function(t){return t.handleFunc},e],n)}e._addToEventArr=o,e._removeFromEventArrMapByHandleFunc=i,e.bind=function(t,e,n,r){var i=r.eventData;return{eventData:{domEventStreamSubscription:i.domEventStreamSubscription,mouseDomEventDataArrMap:i.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:o(t,{priority:e,handleFunc:n},i.keyboardDomEventDataArrMap),touchDomEventDataArrMap:i.touchDomEventDataArrMap,customGlobalEventArrMap:i.customGlobalEventArrMap,customGlobalEventArrMap2:i.customGlobalEventArrMap2,customGlobalEventArrMap3:i.customGlobalEventArrMap3,mouseEventData:i.mouseEventData,keyboardEventData:i.keyboardEventData,touchEventData:i.touchEventData},canvas:r.canvas,body:r.body,browser:r.browser}},e.unbindByHandleFunc=function(t,e,n){var r=n.eventData;return{eventData:{domEventStreamSubscription:r.domEventStreamSubscription,mouseDomEventDataArrMap:r.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:i(t,e,r.keyboardDomEventDataArrMap),touchDomEventDataArrMap:r.touchDomEventDataArrMap,customGlobalEventArrMap:r.customGlobalEventArrMap,customGlobalEventArrMap2:r.customGlobalEventArrMap2,customGlobalEventArrMap3:r.customGlobalEventArrMap3,mouseEventData:r.mouseEventData,keyboardEventData:r.keyboardEventData,touchEventData:r.touchEventData},canvas:n.canvas,body:n.body,browser:n.browser}}},9136:(t,e,n)=>{"use strict";var r=n(5753);function o(t,e,n){return r.addToEventArr(t,e,(function(t){return t.priority}),n)}function i(t,e,n){return r.removeFromEventArrMapByHandleFunc(t,[function(t){return t.handleFunc},e],n)}e._addToEventArr=o,e._removeFromEventArrMapByHandleFunc=i,e.bind=function(t,e,n,r){var i=r.eventData;return{eventData:{domEventStreamSubscription:i.domEventStreamSubscription,mouseDomEventDataArrMap:o(t,{priority:e,handleFunc:n},i.mouseDomEventDataArrMap),keyboardDomEventDataArrMap:i.keyboardDomEventDataArrMap,touchDomEventDataArrMap:i.touchDomEventDataArrMap,customGlobalEventArrMap:i.customGlobalEventArrMap,customGlobalEventArrMap2:i.customGlobalEventArrMap2,customGlobalEventArrMap3:i.customGlobalEventArrMap3,mouseEventData:i.mouseEventData,keyboardEventData:i.keyboardEventData,touchEventData:i.touchEventData},canvas:r.canvas,body:r.body,browser:r.browser}},e.unbindByHandleFunc=function(t,e,n){var r=n.eventData;return{eventData:{domEventStreamSubscription:r.domEventStreamSubscription,mouseDomEventDataArrMap:i(t,e,r.mouseDomEventDataArrMap),keyboardDomEventDataArrMap:r.keyboardDomEventDataArrMap,touchDomEventDataArrMap:r.touchDomEventDataArrMap,customGlobalEventArrMap:r.customGlobalEventArrMap,customGlobalEventArrMap2:r.customGlobalEventArrMap2,customGlobalEventArrMap3:r.customGlobalEventArrMap3,mouseEventData:r.mouseEventData,keyboardEventData:r.keyboardEventData,touchEventData:r.touchEventData},canvas:n.canvas,body:n.body,browser:n.browser}}},2106:(t,e,n)=>{"use strict";var r=n(5753);function o(t,e,n){return r.addToEventArr(t,e,(function(t){return t.priority}),n)}function i(t,e,n){return r.removeFromEventArrMapByHandleFunc(t,[function(t){return t.handleFunc},e],n)}e._addToEventArr=o,e._removeFromEventArrMapByHandleFunc=i,e.bind=function(t,e,n,r){var i=r.eventData;return{eventData:{domEventStreamSubscription:i.domEventStreamSubscription,mouseDomEventDataArrMap:i.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:i.keyboardDomEventDataArrMap,touchDomEventDataArrMap:o(t,{priority:e,handleFunc:n},i.touchDomEventDataArrMap),customGlobalEventArrMap:i.customGlobalEventArrMap,customGlobalEventArrMap2:i.customGlobalEventArrMap2,customGlobalEventArrMap3:i.customGlobalEventArrMap3,mouseEventData:i.mouseEventData,keyboardEventData:i.keyboardEventData,touchEventData:i.touchEventData},canvas:r.canvas,body:r.body,browser:r.browser}},e.unbindByHandleFunc=function(t,e,n){var r=n.eventData;return{eventData:{domEventStreamSubscription:r.domEventStreamSubscription,mouseDomEventDataArrMap:r.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:r.keyboardDomEventDataArrMap,touchDomEventDataArrMap:i(t,e,r.touchDomEventDataArrMap),customGlobalEventArrMap:r.customGlobalEventArrMap,customGlobalEventArrMap2:r.customGlobalEventArrMap2,customGlobalEventArrMap3:r.customGlobalEventArrMap3,mouseEventData:r.mouseEventData,keyboardEventData:r.keyboardEventData,touchEventData:r.touchEventData},canvas:n.canvas,body:n.body,browser:n.browser}}},1562:(t,e)=>{"use strict";e.create=function(t,e){return{name:t,isStopPropagation:!1,phase:void 0,userData:e}}},8582:(t,e,n)=>{"use strict";var r=n(8254),o=n(3161);function i(t,e,n){return r.reduceOneParam(e,(function(t,e){var n=t[1],r=t[0];return n.isStopPropagation?[r,n]:e.handleFunc(n,r)}),[n,t])}function u(t,e,n){return r.reduceOneParam(e,(function(t,e){var n=t[1],r=t[0];return n.isStopPropagation?[r,n]:e.handleFunc(r,n)}),[n,t])}function s(t,e,n){return r.traverseReducePromiseM(e,(function(e,n){return t.isStopPropagation?Promise.resolve(e):n.handleFunc(e,t)}),n)}e._triggerHandleFunc=i,e._triggerHandleFunc2=u,e._triggerHandleFunc3=s,e.stopPropagation=function(t){return{name:t.name,isStopPropagation:!0,phase:t.phase,userData:t.userData}},e.triggerGlobalEvent=function(t,e){var n=e.eventData,r=o.get(n.customGlobalEventArrMap,t.name);return void 0!==r?i(t,r,e):[e,t]},e.triggerGlobalEvent2=function(t,e,n,r){var i=t.getExtensionState(e,n).eventManagerState.eventData,s=o.get(i.customGlobalEventArrMap2,r.name);return void 0!==s?u(r,s,e):[e,r]},e.triggerGlobalEvent3=function(t,e,n,r){var i=t.getExtensionState(e,n).eventManagerState.eventData,u=o.get(i.customGlobalEventArrMap3,r.name);return void 0!==u?s(r,u,e):Promise.resolve(e)},e.getCustomEventUserData=function(t){return t.userData}},15:(t,e)=>{"use strict";e.preventDefault=function(t){t.cancelable&&(t.defaultPrevented||t.preventDefault()),t.stopPropagation()}},3971:(t,e,n)=>{"use strict";var r=n(1949),o=n(8254),i=n(3161),u=n(7553);function s(t,e,n){var o=u.get(n,t);return void 0!==o?r.valFromOption(o):e}function a(t,e,n){var r=u.get(n[0],t);if(void 0!==r)return r;var o=i.get(n[1],e);return void 0!==o?o:s(t,e,n[2])}function c(t,e){var n=e.eventData.keyboardEventData,r=n.specialKeyMap,o=t.keyCode,i=String.fromCharCode(o).toLowerCase();return t.shiftKey?a(o,i,[n.shiftKeyByKeyCodeMap,n.shiftKeyByCharCodeMap,r]):s(o,i,r)}function f(t,e,n){return{name:t,keyCode:e.keyCode,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey,metaKey:e.metaKey,key:c(e,n),event:e}}e._getKeyCode=function(t){return t.keyCode},e._getShiftKey=function(t){return t.shiftKey},e._getKeyFromSpecialKeyMap=s,e._handleShiftKey=a,e._getKey=c,e._convertKeyboardDomEventToKeyboardEvent=f,e.execEventHandle=function(t,e,n){var r=u.get(t.eventData.keyboardDomEventDataArrMap,e);return void 0!==r?o.reduceOneParam(r,(function(t,r){return r.handleFunc(f(e,n,t),t)}),t):t}},5588:(t,e,n)=>{"use strict";var r=n(8254),o=n(6282),i=n(7553),u=n(8074);function s(t,e){return[t.pageX,t.pageY]}function a(t,e){switch(t.which){case 0:return 0;case 1:return 1;case 2:return 3;case 3:return 2;default:throw{RE_EXN_ID:"Match_failure",_1:["HandleMouseEventDoService.res",47,2],Error:new Error}}}function c(t){var e=t.deltaY;return null!=e?e/-100|0:0}function f(t){var e=t.wheelDelta;return null==e?c(t):e/120|0}function p(t){var e=t.detail;return null!=e&&0!==e?Math.imul(-1,e):f(t)}var h=function(){return!!(document.pointerLockElement||document.mozPointerLockElement||document.webkitPointerLockElement)};function l(t){var e,n=t.movementX;if(null==n){var r=t.webkitMovementX;if(null==r){var o=t.mozMovementX;e=null==o?0:o}else e=r}else e=n;var i,u=t.movementY;if(null==u){var s=t.webkitMovementY;if(null==s){var a=t.mozMovementY;i=null==a?0:a}else i=s}else i=u;return[e,i]}function v(t,e){return h()?l(t):u.getMovementDelta(s(t),o.getLastXY(e.eventData),e)}function d(t,e,n){return{eventData:o.setLastXY(e,n,t.eventData),canvas:t.canvas,body:t.body,browser:t.browser}}function y(t,e){var n=e.location;return d(t,n[0],n[1])}function m(t){return t.eventData.mouseEventData.isDrag}e.getLocation=s,e.getLocationInView=function(t,e){return u.getLocationInView(t,s,e)},e.getButton=a,e._getFromDeltaY=c,e._getFromWheelDelta=f,e.getWheel=p,e._isPointerLocked=h,e._getMovementDeltaWhenPointerLocked=l,e.getMovementDelta=v,e.convertMouseDomEventToMouseEvent=function(t,e,n){return{name:t,location:s(e),locationInView:u.getLocationInView(e,s,n),button:a(e),wheel:p(e),movementDelta:v(e,n),event:e}},e.execEventHandle=function(t,e){var n=i.get(t.eventData.mouseDomEventDataArrMap,e.name);return void 0!==n?r.reduceOneParam(n,(function(t,n){return n.handleFunc(e,t)}),t):t},e.setLastXY=d,e.setLastXYByLocation=y,e.getIsDrag=m,e.setIsDrag=function(t,e){var n=t.eventData,r=n.mouseEventData;return{eventData:{domEventStreamSubscription:n.domEventStreamSubscription,mouseDomEventDataArrMap:n.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:n.keyboardDomEventDataArrMap,touchDomEventDataArrMap:n.touchDomEventDataArrMap,customGlobalEventArrMap:n.customGlobalEventArrMap,customGlobalEventArrMap2:n.customGlobalEventArrMap2,customGlobalEventArrMap3:n.customGlobalEventArrMap3,mouseEventData:{lastX:r.lastX,lastY:r.lastY,isDrag:e},keyboardEventData:n.keyboardEventData,touchEventData:n.touchEventData},canvas:t.canvas,body:t.body,browser:t.browser}},e.setLastXYWhenMouseMove=function(t,e){return m(t)?t:y(t,e)}},8074:(t,e,n)=>{"use strict";var r=n(3454),o=n(1949),i=n(3790),u=n(15).preventDefault;e.getLocationInView=function(t,e,n){var u=i.getCanvas(n);if(void 0===u)return[0,0];var s=i.getOffset(o.valFromOption(u)),a=r._2(e,t,n);return[a[0]-s[0]|0,a[1]-s[1]|0]},e.getMovementDelta=function(t,e,n){var r=e[0];if(void 0!==r){var o=e[1];if(void 0!==o)return[t[0]-r|0,t[1]-o|0];throw{RE_EXN_ID:"Match_failure",_1:["HandlePointDomEventDoService.res",17,2],Error:new Error}}if(void 0===e[1])return[0,0];throw{RE_EXN_ID:"Match_failure",_1:["HandlePointDomEventDoService.res",17,2],Error:new Error}},e.preventDefault=u},9918:(t,e,n)=>{"use strict";var r=n(8254),o=n(4045),i=n(7553),u=n(8074);function s(t){var e=t.changedTouches[0];return{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY,identifier:e.identifier,screenX:e.screenX,screenY:e.screenY,radiusX:e.radiusX,radiusY:e.radiusY,rotationAngle:e.rotationAngle,force:e.force}}function a(t,e){var n=s(t);return[n.pageX,n.pageY]}function c(t,e){return u.getMovementDelta(a(t),o.getLastXY(e.eventData),e)}function f(t,e,n){return{name:t,location:a(e),locationInView:u.getLocationInView(e,a,n),touchData:s(e),movementDelta:c(e,n),event:e}}function p(t,e,n){return{eventData:o.setLastXY(e,n,t.eventData),canvas:t.canvas,body:t.body,browser:t.browser}}function h(t,e,n){var r=f(e,n,t).location;return p(t,r[0],r[1])}function l(t){return t.eventData.touchEventData.isDrag}e._getTouchData=s,e._getLocation=a,e._getLocationInView=function(t,e){return u.getLocationInView(t,a,e)},e._getMovementDelta=c,e._convertTouchDomEventToTouchEvent=f,e.execEventHandle=function(t,e,n){var o=i.get(t.eventData.touchDomEventDataArrMap,e);return void 0!==o?r.reduceOneParam(o,(function(t,r){return r.handleFunc(f(e,n,t),t)}),t):t},e.setLastXY=p,e.setLastXYByLocation=h,e.getIsDrag=l,e.setIsDrag=function(t,e){var n=t.eventData,r=n.touchEventData;return{eventData:{domEventStreamSubscription:n.domEventStreamSubscription,mouseDomEventDataArrMap:n.mouseDomEventDataArrMap,keyboardDomEventDataArrMap:n.keyboardDomEventDataArrMap,touchDomEventDataArrMap:n.touchDomEventDataArrMap,customGlobalEventArrMap:n.customGlobalEventArrMap,customGlobalEventArrMap2:n.customGlobalEventArrMap2,customGlobalEventArrMap3:n.customGlobalEventArrMap3,mouseEventData:n.mouseEventData,keyboardEventData:n.keyboardEventData,touchEventData:{lastX:r.lastX,lastY:r.lastY,isDrag:e}},canvas:t.canvas,body:t.body,browser:t.browser}},e.setLastXYWhenTouchMove=function(t,e,n){return l(t)?t:h(t,e,n)}},693:(t,e,n)=>{"use strict";var r=n(3447),o=n(3454),i=n(1949),u=n(5065),s=n(1149),a=n(369),c=n(4746),f=n(3066),p=n(7405),h=n(8970),l=n(15),v=n(5588),d=n(9918),y=n(1562),m=n(3971),E=n(8074),b=a.getBodyExn;function g(t,e){return r.fromEvent(t,a.getBodyExn(e),!1)}function _(t,e){return r.fromEvent(t,a.getBodyExn(e),{passive:!1})}function w(t){var e=_("touchmove",t);return r.tap(E.preventDefault,e)}function k(t,e){return r.fromEvent(t,a.getBodyExn(e),!1)}function D(t,e){return{name:t,location:e.location,locationInView:e.locationInView,button:e.button,wheel:e.wheel,movementDelta:e.movementDelta,event:e.event}}function A(t,e,n){var r=e[1],u=t[2],s=t[1];return o._4(e[0],t[0],(function(t,e){return h.triggerCustomGlobalEvent(y.create(s,i.some(o._2(r,u,t))),e)[0]}),n,void 0)}function M(t,e,n,r){return A([e,n,r],[function(t){var e=function(e,n,r,o){return h.onMouseEvent(t,e,n,r,o)};return function(t){var n=o._1(e,t);return function(t){return o._2(n,t,0)}}},D],t)}function S(t,e){return{name:t,location:e.location,locationInView:e.locationInView,button:void 0,wheel:void 0,movementDelta:e.movementDelta,event:e.event}}function x(t,e,n,r){return A([e,n,r],[function(t){var e=function(e,n,r,o){return h.onTouchEvent(t,e,n,r,o)};return function(t){var n=o._1(e,t);return function(t){return o._2(n,t,0)}}},S],t)}function P(t,e){if(e<2)return M(M(M(M(M(M(M(M(t,1,p.getPointTapEventName(void 0),0),3,p.getPointUpEventName(void 0),2),2,p.getPointDownEventName(void 0),1),5,p.getPointScaleEventName(void 0),4),4,p.getPointMoveEventName(void 0),3),6,p.getPointDragStartEventName(void 0),5),7,p.getPointDragOverEventName(void 0),6),8,p.getPointDragDropEventName(void 0),7);if(e>=4)throw{RE_EXN_ID:"Match_failure",_1:["InitEventDoService.res",99,2],Error:new Error};return x(x(x(x(x(x(x(t,12,p.getPointTapEventName(void 0),0),13,p.getPointUpEventName(void 0),2),15,p.getPointDownEventName(void 0),1),14,p.getPointMoveEventName(void 0),3),16,p.getPointDragStartEventName(void 0),5),17,p.getPointDragOverEventName(void 0),6),18,p.getPointDragDropEventName(void 0),7)}function I(t,e,n){var r=f.getState(n);f.setState(v.execEventHandle(r,v.convertMouseDomEventToMouseEvent(t,e,r)),n)}function G(t,e,n,r){var i=f.getState(e),u=v.convertMouseDomEventToMouseEvent(t,n,i);f.setState(o._2(r,v.execEventHandle(i,u),u),e)}function N(t,e,n){G(t,n,e,v.setLastXYWhenMouseMove)}function T(t,e,n){G(t,n,e,v.setLastXYByLocation)}function O(t,e){var n=f.getState(e);f.setState(v.setLastXY(v.setIsDrag(v.execEventHandle(n,v.convertMouseDomEventToMouseEvent(6,t,n)),!0),void 0,void 0),e)}function F(t,e){var n=f.getState(e);f.setState(v.setIsDrag(v.execEventHandle(n,v.convertMouseDomEventToMouseEvent(8,t,n)),!1),e)}function B(t,e,n){f.setState(d.execEventHandle(f.getState(n),t,e),n)}function U(t,e,n,r){f.setState(o._3(r,d.execEventHandle(f.getState(e),t,n),t,n),e)}function R(t,e,n){U(t,n,e,d.setLastXYWhenTouchMove)}function C(t,e,n){U(t,n,e,d.setLastXYByLocation)}function j(t,e){f.setState(d.setLastXY(d.setIsDrag(d.execEventHandle(f.getState(e),16,t),!0),void 0,void 0),e)}function W(t,e){f.setState(d.setIsDrag(d.execEventHandle(f.getState(e),18,t),!1),e)}function L(t,e,n){f.setState(m.execEventHandle(f.getState(n),t,e),n)}function $(t,e){var n=r.fromEvent("contextmenu",a.getBodyExn(t),!1),o=g("click",t),i=g("mousedown",t),u=g("mouseup",t),s=g("mousemove",t),c=g("wheel",t),f=g("mousedown",t),p=r.tap((function(t){O(t,e)}),f),h=r.flatMap((function(n){var o=r.skip(2,g("mousemove",t)),i=g("mouseup",t);return r.until(r.tap((function(t){F(t,e)}),i),o)}),p),v=k("keyup",t),d=k("keydown",t),y=k("keypress",t);return[r.tap((function(t){l.preventDefault(t)}),n),r.tap((function(t){I(1,t,e)}),o),r.tap((function(t){I(2,t,e)}),i),r.tap((function(t){I(3,t,e)}),u),r.tap((function(t){N(4,t,e)}),s),r.tap((function(t){I(5,t,e)}),c),r.tap((function(t){T(7,t,e)}),h),r.tap((function(t){L(9,t,e)}),v),r.tap((function(t){L(10,t,e)}),d),r.tap((function(t){L(11,t,e)}),y)]}function q(t,e){var n=_("touchend",t),o=r.since(_("touchstart",t),n),i=_("touchend",t),u=_("touchstart",t),s=w(t),a=_("touchstart",t),c=r.tap((function(t){j(t,e)}),a),f=r.flatMap((function(n){var o=w(t),i=_("touchend",t);return r.until(r.tap((function(t){W(t,e)}),i),o)}),c);return[r.tap((function(t){B(12,t,e)}),o),r.tap((function(t){B(13,t,e)}),i),r.tap((function(t){B(15,t,e)}),u),r.tap((function(t){R(14,t,e)}),s),r.tap((function(t){C(17,t,e)}),f)]}function X(t,e){var n,o=c.getBrowser(t);if(o>=2){if(o>=4)throw{RE_EXN_ID:"Match_failure",_1:["InitEventDoService.res",444,4],Error:new Error};n=q(t,e)}else n=$(t,e);return r.mergeArray(n)}var V=u.logForDebug;e._getBody=b,e.setBody=function(t,e){return{eventData:e.eventData,canvas:e.canvas,body:i.some(t),browser:e.browser}},e._fromPointDomEvent=g,e._fromMobilePointDomEvent=_,e._fromTouchMoveDomEventAndPreventnDefault=w,e._fromKeyboardDomEvent=k,e._convertMouseEventToPointEvent=D,e._bindDomEventToTriggerPointEvent=A,e._bindMouseEventToTriggerPointEvent=M,e._convertTouchEventToPointEvent=S,e._bindTouchEventToTriggerPointEvent=x,e.bindDomEventToTriggerPointEvent=P,e._preventContextMenuEvent=function(t){l.preventDefault(t)},e._execMouseEventHandle=I,e._execMouseChangePositionEventHandle=G,e._execMouseMoveEventHandle=N,e._execMouseDragingEventHandle=T,e._execMouseDragStartEventHandle=O,e._execMouseDragDropEventHandle=F,e._execTouchEventHandle=B,e._execTouchChangePositionEventHandle=U,e._execTouchMoveEventHandle=R,e._execTouchDragingEventHandle=C,e._execTouchDragStartEventHandle=j,e._execTouchDragDropEventHandle=W,e._execKeyboardEventHandle=L,e._fromPCDomEventArr=$,e._fromMobileDomEventArr=q,e.fromDomEvent=X,e.handleDomEventStreamError=V,e.initEvent=function(t,e){var n=X(t,e),r=s.subscribe({next:function(t){},error:u.logForDebug,complete:function(t){}},n),o=h.setDomEventStreamSubscription(t,r);return f.setState(P(f.getState(e),c.getBrowser(o)),e),o}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,loaded:!1,exports:{}};return t[r](i,i.exports,n),i.loaded=!0,i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.hmd=t=>((t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};(()=>{"use strict";var t=r,e=n(432),o=n(8073),i=n(3419),u=n(2251);t.getExtensionService=function(t){return{eventData:function(e){return t.getExtensionService(e,"meta3d-event-data-protocol")},eventSourcing:function(e){return t.getExtensionService(e,"meta3d-event-sourcing-protocol")},trigger:function(n,r,o,i){return e.trigger(t,n,r,o,i)},registerAction:function(n,r){var o=e.registerAction(t.getExtensionState(n,"meta3d-event-protocol"),r);return t.setExtensionState(n,"meta3d-event-protocol",o)},onPointEvent:function(n,r){return e.onPointEvent(t,n,r)},onCustomGlobalEvent:i.onCustomGlobalEvent,offCustomGlobalEventByHandleFunc:i.offCustomGlobalEventByHandleFunc,onCustomGlobalEvent2:function(e,n,r){return i.onCustomGlobalEvent2(t,e,n,r)},triggerCustomGlobalEvent2:function(e,n,r){return i.triggerCustomGlobalEvent2(t,e,n,r)},onCustomGlobalEvent3:function(e,n,r){return i.onCustomGlobalEvent3(t,e,n,r)},triggerCustomGlobalEvent3:function(e,n,r){return i.triggerCustomGlobalEvent3(t,e,n,r)},createCustomEvent:i.createCustomEvent,initEvent:function(n,r){return e.initEvent(t,n,r)},setBrowser:function(n,r,o){return e.setBrowser(t,n,r,o)},setCanvas:function(n,r,o){return e.setCanvas(t,n,r,o)},setBody:function(n,r,o){return e.setBody(t,n,r,o)},getBrowserChromeType:e.getBrowserChromeType,getBrowserFirefoxType:e.getBrowserFirefoxType,getBrowserAndroidType:e.getBrowserAndroidType,getBrowserIOSType:e.getBrowserIOSType,getBrowserUnknownType:e.getBrowserUnknownType,getPointDownEventName:e.getPointDownEventName,getPointUpEventName:e.getPointUpEventName,getPointTapEventName:e.getPointTapEventName,getPointMoveEventName:e.getPointMoveEventName,getPointScaleEventName:e.getPointScaleEventName,getPointDragStartEventName:e.getPointDragStartEventName,getPointDragOverEventName:e.getPointDragOverEventName,getAllActionContributes:e.getAllActionContributes}},t.createExtensionState=function(t,n){return e.createExtensionState(t,n)},t.getExtensionLife=function(t,e){return{onRegister:null,onRestore:null,onDeepCopy:o.$$return((function(n){var r=t.getExtensionState(n,e);return t.setExtensionState(n,e,{actionContributeMap:r.actionContributeMap,eventManagerState:u.deepCopy(r.eventManagerState)})})),onStart:null,onInit:null,onUpdate:null}}})(),window.Extension=r})(); \ No newline at end of file