diff --git a/doc/jiehuo.org b/doc/jiehuo.org index 90eb79a12..461081c1b 100755 --- a/doc/jiehuo.org +++ b/doc/jiehuo.org @@ -471,8 +471,7 @@ https://www.grapecity.com.cn/blogs/wyn-3dmodel-bi-analize-data-visualization-sol * DONE fix in it even though run in pc - -* TODO generate model +* DONE generate model # ** TODO use CSG to generate wall with window @@ -488,15 +487,16 @@ https://www.grapecity.com.cn/blogs/wyn-3dmodel-bi-analize-data-visualization-sol ** DONE feat: add empty gameObject to scenetree -** TODO fix Cube's normal +# ** TODO fix Cube's normal +** DONE fix Cube not affect by ambient -** TODO generate wall models(white) +** DONE generate wall models(white) TODO use Cube as wall -** TODO update ground +** DONE update ground use gray color on one plane(cube) @@ -536,19 +536,45 @@ https://www.dhzn3d.com/?cat=&s=%E6%9F%9C +* TODO move all scripts, ui to published project; only use meta3d editor to build scene! + +TODO move Page out + +TODO scene only has one script: +invoke script func implemented in published project + + +TODO update publish action +TODO script api add get scene, perspectiveCamera and three api + * TODO update page position: use screen coordinate +* TODO add Sprite(billboard) demo + +refer to: +https://juejin.cn/post/7107223446999793695 + + + * TODO update -scenegraph +# component-pbrmaterial + +# event + +# publish action + +# actions -event +# scenegraph + +# event @@ -565,6 +591,9 @@ TODO run test in mobile +* TODO arcball add pointer lock + + * TODO add 第一人称 走路 漫游 TODO use FirstPersonControl @@ -595,6 +624,8 @@ TODO update demmo need get picture, size? +TODO get picture in front, side, back + refer to: https://www.tuguan.net/doc/scene-editor/createmodel/modeling/ @@ -610,11 +641,6 @@ https://www.tuguan.net/doc/scene-editor/createmodel/modeling/ -* TODO add Sprite(billboard) demo - -refer to: -https://juejin.cn/post/7107223446999793695 - * TODO add 3d ui(billboard or face to one direction) demo @@ -927,10 +953,8 @@ TODO add instance componenet can add util functions! -** TODO add transform gizmo -** TODO add AssetBundle @@ -941,8 +965,10 @@ can add util functions! +** TODO add transform gizmo +** TODO add AssetBundle ** TODO add keyframe animation editor @@ -964,6 +990,9 @@ https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/index.html ** TODO add Stream Load +** TODO improve model editor, 2d ui editor, data binding editor + + diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/Main.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/Main.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/config/ConfigUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/config/ConfigUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/create_state/CreateStateUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/create_state/CreateStateUtils.bs.js old mode 100755 new mode 100644 index 229c60227..1e902fb61 --- a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/create_state/CreateStateUtils.bs.js +++ b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/create_state/CreateStateUtils.bs.js @@ -109,7 +109,7 @@ function createState(isDebug, pbrMaterialCount) { 1.0, defaultSpecularColor, 1.0, - 1.0, + 0.0, 0.0, 1.5 ]); @@ -122,7 +122,7 @@ function createState(isDebug, pbrMaterialCount) { 1.0, defaultSpecularColor, 1.0, - 1.0, + 0.0, 0.0, 1.5 ], { diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/AddPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/AddPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetGameObjectsUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetGameObjectsUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetNeedDisposedPBRMaterialsUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetNeedDisposedPBRMaterialsUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/HasPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/HasPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/RemovePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/RemovePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/ClonePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/ClonePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/CreatePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/CreatePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/DisposePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/DisposePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/GetAllPBRMaterialsUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_component/GetAllPBRMaterialsUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_data/GetPBRMaterialDataUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_data/GetPBRMaterialDataUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_data/SetPBRMaterialDataUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/operate_data/SetPBRMaterialDataUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/type/PBRMaterialSharedArrayBufferDataType.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/type/PBRMaterialSharedArrayBufferDataType.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/type/StateType.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/type/StateType.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/utils/OperateTypeArrayPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/utils/OperateTypeArrayPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/Main.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/Main.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/config/ConfigUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/config/ConfigUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/create_state/CreateStateUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/create_state/CreateStateUtils.bs.js old mode 100755 new mode 100644 index 3eae8e2db..df6b438f4 --- a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/create_state/CreateStateUtils.bs.js +++ b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/create_state/CreateStateUtils.bs.js @@ -109,7 +109,7 @@ function createState(isDebug, pbrMaterialCount) { 1.0, defaultSpecularColor, 1.0, - 1.0, + 0.0, 0.0, 1.5 ]); @@ -122,7 +122,7 @@ function createState(isDebug, pbrMaterialCount) { 1.0, defaultSpecularColor, 1.0, - 1.0, + 0.0, 0.0, 1.5 ], { diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/AddPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/AddPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetGameObjectsUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetGameObjectsUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetNeedDisposedPBRMaterialsUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetNeedDisposedPBRMaterialsUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/HasPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/HasPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/RemovePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/RemovePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/ClonePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/ClonePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/CreatePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/CreatePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/DisposePBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/DisposePBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/GetAllPBRMaterialsUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_component/GetAllPBRMaterialsUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_data/GetPBRMaterialDataUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_data/GetPBRMaterialDataUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_data/SetPBRMaterialDataUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/operate_data/SetPBRMaterialDataUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/type/PBRMaterialSharedArrayBufferDataType.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/type/PBRMaterialSharedArrayBufferDataType.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/type/StateType.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/type/StateType.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/utils/OperateTypeArrayPBRMaterialUtils.bs.js b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/utils/OperateTypeArrayPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/package.json b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/package.json index 93750776a..244206c9e 100755 --- a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/package.json +++ b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/package.json @@ -1,6 +1,6 @@ { "name": "meta3d-component-pbrmaterial", - "version": "1.3.1", + "version": "1.3.2", "publisher": "meta3d", "protocol": { "name": "meta3d-component-pbrmaterial-protocol" diff --git a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/src/create_state/CreateStateUtils.res b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/src/create_state/CreateStateUtils.res index 70518113e..934db09d4 100755 --- a/packages/engine-scene/contributes/meta3d-component-pbrmaterial/src/create_state/CreateStateUtils.res +++ b/packages/engine-scene/contributes/meta3d-component-pbrmaterial/src/create_state/CreateStateUtils.res @@ -100,7 +100,7 @@ let createState = (isDebug: bool, pbrMaterialCount: int) => { let defaultSpecular = 1.0 let defaultSpecularColor = (1., 1., 1.) let defaultRoughness = 1.0 - let defaultMetalness = 1.0 + let defaultMetalness = 0.0 let defaultTransmission = 0.0 let defaultIOR = 1.5 diff --git a/packages/event/contributes/meta3d-pipeline-event/package.json b/packages/event/contributes/meta3d-pipeline-event/package.json index c2138d255..a7b88b5c6 100755 --- a/packages/event/contributes/meta3d-pipeline-event/package.json +++ b/packages/event/contributes/meta3d-pipeline-event/package.json @@ -1,6 +1,6 @@ { "name": "meta3d-pipeline-event", - "version": "1.3.2", + "version": "1.3.3", "publisher": "meta3d", "protocol": { "name": "meta3d-pipeline-event-protocol" 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 5700dc284..b1ec147b0 100644 --- a/packages/event/extensions/meta3d-event/dist/static/js/main.js +++ b/packages/event/extensions/meta3d-event/dist/static/js/main.js @@ -977,36 +977,36 @@ eval("\n\nvar keys = __webpack_require__(/*! object-keys */ \"../../../../node_m /***/ }), -/***/ "../../../../node_modules/function-bind/implementation.js": -/*!****************************************************************!*\ - !*** ../../../../node_modules/function-bind/implementation.js ***! - \****************************************************************/ -/***/ ((module) => { +/***/ "../../../../node_modules/get-intrinsic/index.js": +/*!*******************************************************!*\ + !*** ../../../../node_modules/get-intrinsic/index.js ***! + \*******************************************************/ +/***/ ((module, __unused_webpack_exports, __webpack_require__) => { "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?"); +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/get-intrinsic/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/function-bind/index.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/function-bind/index.js ***! - \*******************************************************/ -/***/ ((module, __unused_webpack_exports, __webpack_require__) => { +/***/ "../../../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js": +/*!*******************************************************************************************!*\ + !*** ../../../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js ***! + \*******************************************************************************************/ +/***/ ((module) => { "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?"); +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/get-intrinsic/node_modules/function-bind/implementation.js?"); /***/ }), -/***/ "../../../../node_modules/get-intrinsic/index.js": -/*!*******************************************************!*\ - !*** ../../../../node_modules/get-intrinsic/index.js ***! - \*******************************************************/ +/***/ "../../../../node_modules/get-intrinsic/node_modules/function-bind/index.js": +/*!**********************************************************************************!*\ + !*** ../../../../node_modules/get-intrinsic/node_modules/function-bind/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?"); +eval("\n\nvar implementation = __webpack_require__(/*! ./implementation */ \"../../../../node_modules/get-intrinsic/node_modules/function-bind/implementation.js\");\n\nmodule.exports = Function.prototype.bind || implementation;\n\n\n//# sourceURL=webpack://Extension/../../../../node_modules/get-intrinsic/node_modules/function-bind/index.js?"); /***/ }), @@ -2391,7 +2391,7 @@ eval("\n\nvar ArraySt$Meta3dCommonlib = __webpack_require__(/*! meta3d-commonlib /***/ ((__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?"); +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 return Most.mergeArray(match === 3 || match === 2 ? _fromMobileDomEventArr(state, eventExtensionProtocolName) : _fromPCDomEventArr(state, eventExtensionProtocolName));\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?"); /***/ }) diff --git a/packages/event/extensions/meta3d-event/lib/es6_global/src/event_manager/service/init_event/InitEventDoService.bs.js b/packages/event/extensions/meta3d-event/lib/es6_global/src/event_manager/service/init_event/InitEventDoService.bs.js index 1214e1f7e..4ba8229a2 100644 --- a/packages/event/extensions/meta3d-event/lib/es6_global/src/event_manager/service/init_event/InitEventDoService.bs.js +++ b/packages/event/extensions/meta3d-event/lib/es6_global/src/event_manager/service/init_event/InitEventDoService.bs.js @@ -294,24 +294,7 @@ function _fromMobileDomEventArr(state, eventExtensionProtocolName) { function fromDomEvent(state, eventExtensionProtocolName) { var match = BrowserDoService$Meta3dEvent.getBrowser(state); - var tmp; - if (match >= 2) { - if (match >= 4) { - throw { - RE_EXN_ID: "Match_failure", - _1: [ - "InitEventDoService.res", - 444, - 4 - ], - Error: new Error() - }; - } - tmp = _fromMobileDomEventArr(state, eventExtensionProtocolName); - } else { - tmp = _fromPCDomEventArr(state, eventExtensionProtocolName); - } - return Most.mergeArray(tmp); + return Most.mergeArray(match === 3 || match === 2 ? _fromMobileDomEventArr(state, eventExtensionProtocolName) : _fromPCDomEventArr(state, eventExtensionProtocolName)); } var handleDomEventStreamError = Log$Meta3dCommonlib.logForDebug; diff --git a/packages/event/extensions/meta3d-event/package.json b/packages/event/extensions/meta3d-event/package.json index d504ea757..a8dd3167a 100755 --- a/packages/event/extensions/meta3d-event/package.json +++ b/packages/event/extensions/meta3d-event/package.json @@ -1,6 +1,6 @@ { "name": "meta3d-event", - "version": "1.3.3", + "version": "1.3.5", "publisher": "meta3d", "displayName": "event", "protocol": { diff --git a/packages/event/extensions/meta3d-event/src/event_manager/service/init_event/InitEventDoService.res b/packages/event/extensions/meta3d-event/src/event_manager/service/init_event/InitEventDoService.res index 6c8e145e5..ed84617da 100755 --- a/packages/event/extensions/meta3d-event/src/event_manager/service/init_event/InitEventDoService.res +++ b/packages/event/extensions/meta3d-event/src/event_manager/service/init_event/InitEventDoService.res @@ -98,7 +98,8 @@ let bindDomEventToTriggerPointEvent = ( ) => switch browser { | Chrome - | Firefox => + | Firefox + | Unknown => stateForEventHandler ->_bindMouseEventToTriggerPointEvent(Click, NameEventDoService.getPointTapEventName(), PointTap) ->_bindMouseEventToTriggerPointEvent(MouseUp, NameEventDoService.getPointUpEventName(), PointUp) diff --git a/packages/three/extensions/meta3d-scenegraph-converter-three/package.json b/packages/three/extensions/meta3d-scenegraph-converter-three/package.json index 7b5f38281..fa1455a95 100755 --- a/packages/three/extensions/meta3d-scenegraph-converter-three/package.json +++ b/packages/three/extensions/meta3d-scenegraph-converter-three/package.json @@ -1,6 +1,6 @@ { "name": "meta3d-scenegraph-converter-three", - "version": "1.3.5", + "version": "1.3.6", "publisher": "meta3d", "displayName": "meta3d-scenegraph-converter-three", "protocol": { diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/DefaultGetDataUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/DefaultGetDataUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/directionlight/BufferDirectionLightUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/directionlight/BufferDirectionLightUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/directionlight/CreateTypeArrayDirectionLightUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/directionlight/CreateTypeArrayDirectionLightUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/directionlight/OperateTypeArrayDirectionLightUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/directionlight/OperateTypeArrayDirectionLightUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/BufferGeometryUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/BufferGeometryUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/CreateTypeArrayGeometryUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/CreateTypeArrayGeometryUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/IndicesUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/IndicesUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/NormalsUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/NormalsUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/ReallocatedPointsGeometryUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/ReallocatedPointsGeometryUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/TangentsUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/TangentsUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/TexCoordsUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/TexCoordsUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/VerticesUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/VerticesUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/BufferPBRMaterialUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/BufferPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/CreateTypeArrayPBRMaterialUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/CreateTypeArrayPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/OperateTypeArrayPBRMaterialUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/OperateTypeArrayPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/BufferTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/BufferTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/CreateTypeArrayTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/CreateTypeArrayTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/ModelMatrixTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/ModelMatrixTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/OperateTypeArrayTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/es6_global/src/transform/OperateTypeArrayTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/DefaultGetDataUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/DefaultGetDataUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/directionlight/BufferDirectionLightUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/directionlight/BufferDirectionLightUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/directionlight/CreateTypeArrayDirectionLightUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/directionlight/CreateTypeArrayDirectionLightUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/directionlight/OperateTypeArrayDirectionLightUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/directionlight/OperateTypeArrayDirectionLightUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/BufferGeometryUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/BufferGeometryUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/CreateTypeArrayGeometryUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/CreateTypeArrayGeometryUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/IndicesUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/IndicesUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/NormalsUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/NormalsUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/ReallocatedPointsGeometryUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/ReallocatedPointsGeometryUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/TangentsUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/TangentsUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/TexCoordsUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/TexCoordsUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/geometry/VerticesUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/geometry/VerticesUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/BufferPBRMaterialUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/BufferPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/CreateTypeArrayPBRMaterialUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/CreateTypeArrayPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/OperateTypeArrayPBRMaterialUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/OperateTypeArrayPBRMaterialUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/transform/BufferTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/transform/BufferTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/transform/CreateTypeArrayTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/transform/CreateTypeArrayTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/transform/ModelMatrixTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/transform/ModelMatrixTransformUtils.bs.js old mode 100755 new mode 100644 diff --git a/utils/meta3d-component-worker-utils/lib/js/src/transform/OperateTypeArrayTransformUtils.bs.js b/utils/meta3d-component-worker-utils/lib/js/src/transform/OperateTypeArrayTransformUtils.bs.js old mode 100755 new mode 100644