fl-web-component 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/fl-web-component.common.1.js +137 -191
- package/dist/fl-web-component.common.2.js +21 -26
- package/dist/fl-web-component.common.js +134 -118
- package/dist/fl-web-component.css +1 -1
- package/package.json +1 -1
- package/packages/components/com-graphics/index.vue +26 -12
|
@@ -762,6 +762,17 @@ exports.Easings = {
|
|
|
762
762
|
}
|
|
763
763
|
};
|
|
764
764
|
|
|
765
|
+
/***/ }),
|
|
766
|
+
|
|
767
|
+
/***/ "0ccb":
|
|
768
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
769
|
+
|
|
770
|
+
"use strict";
|
|
771
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0134be08_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cdf6");
|
|
772
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0134be08_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_0134be08_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
773
|
+
/* unused harmony reexport * */
|
|
774
|
+
|
|
775
|
+
|
|
765
776
|
/***/ }),
|
|
766
777
|
|
|
767
778
|
/***/ "0ff5":
|
|
@@ -8984,13 +8995,6 @@ exports.Sepia = Sepia;
|
|
|
8984
8995
|
|
|
8985
8996
|
/***/ }),
|
|
8986
8997
|
|
|
8987
|
-
/***/ "7c10":
|
|
8988
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8989
|
-
|
|
8990
|
-
// extracted by mini-css-extract-plugin
|
|
8991
|
-
|
|
8992
|
-
/***/ }),
|
|
8993
|
-
|
|
8994
8998
|
/***/ "7cc1":
|
|
8995
8999
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8996
9000
|
|
|
@@ -24933,6 +24937,13 @@ module.exports = g;
|
|
|
24933
24937
|
|
|
24934
24938
|
/***/ }),
|
|
24935
24939
|
|
|
24940
|
+
/***/ "cdf6":
|
|
24941
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24942
|
+
|
|
24943
|
+
// extracted by mini-css-extract-plugin
|
|
24944
|
+
|
|
24945
|
+
/***/ }),
|
|
24946
|
+
|
|
24936
24947
|
/***/ "cf29":
|
|
24937
24948
|
/***/ (function(module, exports, __webpack_require__) {
|
|
24938
24949
|
|
|
@@ -28216,17 +28227,6 @@ Animation.animations = [];
|
|
|
28216
28227
|
Animation.animIdCounter = 0;
|
|
28217
28228
|
Animation.animRunning = false;
|
|
28218
28229
|
|
|
28219
|
-
/***/ }),
|
|
28220
|
-
|
|
28221
|
-
/***/ "effe":
|
|
28222
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
28223
|
-
|
|
28224
|
-
"use strict";
|
|
28225
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7c10");
|
|
28226
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_581c5bb4_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
28227
|
-
/* unused harmony reexport * */
|
|
28228
|
-
|
|
28229
|
-
|
|
28230
28230
|
/***/ }),
|
|
28231
28231
|
|
|
28232
28232
|
/***/ "f0b4":
|
|
@@ -29241,8 +29241,8 @@ if (typeof window !== 'undefined') {
|
|
|
29241
29241
|
// Indicate to webpack that this file can be concatenated
|
|
29242
29242
|
/* harmony default export */ var setPublicPath = (null);
|
|
29243
29243
|
|
|
29244
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
29245
|
-
var
|
|
29244
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0cfbbe05-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=template&id=0134be08&scoped=true
|
|
29245
|
+
var com_graphicsvue_type_template_id_0134be08_scoped_true_render = function render() {
|
|
29246
29246
|
var _vm = this,
|
|
29247
29247
|
_c = _vm._self._c;
|
|
29248
29248
|
return _c('div', {
|
|
@@ -29253,7 +29253,7 @@ var com_graphicsvue_type_template_id_581c5bb4_scoped_true_render = function rend
|
|
|
29253
29253
|
};
|
|
29254
29254
|
var staticRenderFns = [];
|
|
29255
29255
|
|
|
29256
|
-
// CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=
|
|
29256
|
+
// CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=template&id=0134be08&scoped=true
|
|
29257
29257
|
|
|
29258
29258
|
// CONCATENATED MODULE: ./node_modules/camera-controls/dist/camera-controls.module.js
|
|
29259
29259
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
@@ -31888,7 +31888,7 @@ var CameraControls = /*#__PURE__*/function (_EventDispatcher) {
|
|
|
31888
31888
|
}(EventDispatcher);
|
|
31889
31889
|
|
|
31890
31890
|
// CONCATENATED MODULE: ./node_modules/three/build/three.core.js
|
|
31891
|
-
function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,three_core_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),three_core_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(three_core_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&three_core_setPrototypeOf(p,r.prototype),p;}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function three_core_superPropGet(t,o,e,r){var p=three_core_get(three_core_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function three_core_get(){return three_core_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=three_core_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},three_core_get.apply(null,arguments);}function three_core_superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=three_core_getPrototypeOf(t)););return t;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_core_callSuper(t,o,e){return o=three_core_getPrototypeOf(o),three_core_possibleConstructorReturn(t,three_core_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_core_getPrototypeOf(t).constructor):o.apply(t,e));}function three_core_possibleConstructorReturn(t,e){if(e&&("object"==three_core_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_core_assertThisInitialized(t);}function three_core_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_core_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_core_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_core_getPrototypeOf(t){return three_core_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_core_getPrototypeOf(t);}function three_core_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_core_setPrototypeOf(t,e);}function three_core_setPrototypeOf(t,e){return three_core_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_core_setPrototypeOf(t,e);}function _defineProperty(e,r,t){return(r=three_core_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return _regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),_regeneratorDefine2(u),_regeneratorDefine2(u,o,"Generator"),_regeneratorDefine2(u,n,function(){return this;}),_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(_regenerator=function _regenerator(){return{w:i,m:f};})();}function _regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){if(r)i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n;else{function o(r,n){_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}o("next",0),o("throw",1),o("return",2);}},_regeneratorDefine2(e,r,n,t);}function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only');}function three_core_typeof(o){"@babel/helpers - typeof";return three_core_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_core_typeof(o);}function three_core_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_core_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_core_toPropertyKey(o.key),o);}}function three_core_createClass(e,r,t){return r&&three_core_defineProperties(e.prototype,r),t&&three_core_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_core_toPropertyKey(t){var i=three_core_toPrimitive(t,"string");return"symbol"==three_core_typeof(i)?i:i+"";}function three_core_toPrimitive(t,r){if("object"!=three_core_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_core_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
31891
|
+
function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function _wrapNativeSuper(t){var r="function"==typeof Map?new Map():void 0;return _wrapNativeSuper=function _wrapNativeSuper(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper);}function Wrapper(){return _construct(t,arguments,three_core_getPrototypeOf(this).constructor);}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),three_core_setPrototypeOf(Wrapper,t);},_wrapNativeSuper(t);}function _construct(t,e,r){if(three_core_isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o))();return r&&three_core_setPrototypeOf(p,r.prototype),p;}function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]");}catch(n){return"function"==typeof t;}}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}function three_core_superPropGet(t,o,e,r){var p=three_core_get(three_core_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function three_core_get(){return three_core_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=three_core_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},three_core_get.apply(null,arguments);}function three_core_superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=three_core_getPrototypeOf(t)););return t;}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable;})),t.push.apply(t,o);}return t;}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));});}return e;}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_core_callSuper(t,o,e){return o=three_core_getPrototypeOf(o),three_core_possibleConstructorReturn(t,three_core_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_core_getPrototypeOf(t).constructor):o.apply(t,e));}function three_core_possibleConstructorReturn(t,e){if(e&&("object"==three_core_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_core_assertThisInitialized(t);}function three_core_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_core_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_core_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_core_getPrototypeOf(t){return three_core_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_core_getPrototypeOf(t);}function three_core_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_core_setPrototypeOf(t,e);}function three_core_setPrototypeOf(t,e){return three_core_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_core_setPrototypeOf(t,e);}function _defineProperty(e,r,t){return(r=three_core_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */_regeneratorRuntime=function _regeneratorRuntime(){return r;};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e,n){return Object.defineProperty(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n});}try{c({},"");}catch(t){c=function c(t,r,e){return t[r]=e;};}function h(r,e,n,o){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype);return c(a,"_invoke",function(r,e,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=d(u,n);if(c){if(c===f)continue;return c;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var h=s(r,e,n);if("normal"===h.type){if(o=n.done?4:2,h.arg===f)continue;return{value:h.arg,done:n.done};}"throw"===h.type&&(o=4,n.method="throw",n.arg=h.arg);}};}(r,n,new Context(o||[])),!0),a;}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)};}catch(t){return{type:"throw",arg:t};}}r.wrap=h;var f={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};c(l,i,function(){return this;});var p=Object.getPrototypeOf,y=p&&p(p(x([])));y&&y!==e&&n.call(y,i)&&(l=y);var v=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function g(t){["next","throw","return"].forEach(function(r){c(t,r,function(t){return this._invoke(r,t);});});}function AsyncIterator(t,r){function e(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var h=c.arg,f=h.value;return f&&"object"==three_core_typeof(f)&&n.call(f,"__await")?r.resolve(f.__await).then(function(t){e("next",t,a,u);},function(t){e("throw",t,a,u);}):r.resolve(f).then(function(t){h.value=t,a(h);},function(t){return e("throw",t,a,u);});}u(c.arg);}var o;c(this,"_invoke",function(t,n){function i(){return new r(function(r,o){e(t,n,r,o);});}return o=o?o.then(i,i):i();},!0);}function d(r,e){var n=e.method,o=r.i[n];if(o===t)return e.delegate=null,"throw"===n&&r.i.return&&(e.method="return",e.arg=t,d(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,r.i,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[r.r]=a.value,e.next=r.n,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f);}function w(t){this.tryEntries.push(t);}function m(r){var e=r[4]||{};e.type="normal",e.arg=t,r[4]=e;}function Context(t){this.tryEntries=[[-1]],t.forEach(w,this),this.reset(!0);}function x(r){if(null!=r){var e=r[i];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e;};return a.next=a;}}throw new TypeError(three_core_typeof(r)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(v,"constructor",GeneratorFunctionPrototype),c(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=c(GeneratorFunctionPrototype,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name));},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,c(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t;},r.awrap=function(t){return{__await:t};},g(AsyncIterator.prototype),c(AsyncIterator.prototype,a,function(){return this;}),r.AsyncIterator=AsyncIterator,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next();});},g(v),c(v,u,"Generator"),c(v,i,function(){return this;}),c(v,"toString",function(){return"[object Generator]";}),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.unshift(n);return function t(){for(;e.length;)if((n=e.pop())in r)return t.value=n,t.done=!1,t;return t.done=!0,t;};},r.values=x,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(m),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(r){if(this.done)throw r;var e=this;function n(t){a.type="throw",a.arg=r,e.next=t;}for(var o=e.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],h=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!h)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<h)return n(h),!1;}}},abrupt:function abrupt(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break;}}o&&("break"===t||"continue"===t)&&o[0]<=r&&r<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o[2],f):this.complete(i);},complete:function complete(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),f;},finish:function finish(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[2]===t)return this.complete(e[4],e[3]),m(e),f;}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[0]===t){var n=e[4];if("throw"===n.type){var o=n.arg;m(e);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(r,e,n){return this.delegate={i:x(r),r:e,n:n},"next"===this.method&&(this.arg=t),f;}},r;}function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only');}function three_core_typeof(o){"@babel/helpers - typeof";return three_core_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_core_typeof(o);}function three_core_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_core_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_core_toPropertyKey(o.key),o);}}function three_core_createClass(e,r,t){return r&&three_core_defineProperties(e.prototype,r),t&&three_core_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_core_toPropertyKey(t){var i=three_core_toPrimitive(t,"string");return"symbol"==three_core_typeof(i)?i:i+"";}function three_core_toPrimitive(t,r){if("object"!=three_core_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_core_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
31892
31892
|
* @license
|
|
31893
31893
|
* Copyright 2010-2025 Three.js Authors
|
|
31894
31894
|
* SPDX-License-Identifier: MIT
|
|
@@ -33681,7 +33681,7 @@ return Math.acos(_clamp(theta,-1,1));}/**
|
|
|
33681
33681
|
* `1`, excluding `1`.
|
|
33682
33682
|
*
|
|
33683
33683
|
* @return {Vector2} A reference to this vector.
|
|
33684
|
-
*/},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/
|
|
33684
|
+
*/},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:_context2.next=2;return this.x;case 2:_context2.next=4;return this.y;case 4:case"end":return _context2.stop();}},value,this);})}]);}();/**
|
|
33685
33685
|
* Represents a 3x3 matrix.
|
|
33686
33686
|
*
|
|
33687
33687
|
* A Note on Row-Major and Column-Major Ordering:
|
|
@@ -34640,7 +34640,7 @@ this.x=_clamp(this.x,min.x,max.x);this.y=_clamp(this.y,min.y,max.y);this.z=_clam
|
|
|
34640
34640
|
* `1`, excluding `1`.
|
|
34641
34641
|
*
|
|
34642
34642
|
* @return {Vector4} A reference to this vector.
|
|
34643
|
-
*/},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();this.z=Math.random();this.w=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/
|
|
34643
|
+
*/},{key:"random",value:function random(){this.x=Math.random();this.y=Math.random();this.z=Math.random();this.w=Math.random();return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context3){while(1)switch(_context3.prev=_context3.next){case 0:_context3.next=2;return this.x;case 2:_context3.next=4;return this.y;case 4:_context3.next=6;return this.z;case 6:_context3.next=8;return this.w;case 8:case"end":return _context3.stop();}},value,this);})}]);}();/**
|
|
34644
34644
|
* A render target is a buffer where the video card draws pixels for a scene
|
|
34645
34645
|
* that is being rendered in the background. It is used in different effects,
|
|
34646
34646
|
* such as applying postprocessing to a rendered image before displaying it
|
|
@@ -35219,7 +35219,7 @@ var theta1=2*Math.PI*Math.random();var theta2=2*Math.PI*Math.random();var x0=Mat
|
|
|
35219
35219
|
* numerical elements of this quaternion in an array of format `[x, y, z, w]`.
|
|
35220
35220
|
*
|
|
35221
35221
|
* @return {Array<number>} The serialized quaternion.
|
|
35222
|
-
*/},{key:"toJSON",value:function toJSON(){return this.toArray();}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/
|
|
35222
|
+
*/},{key:"toJSON",value:function toJSON(){return this.toArray();}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context4){while(1)switch(_context4.prev=_context4.next){case 0:_context4.next=2;return this._x;case 2:_context4.next=4;return this._y;case 4:_context4.next=6;return this._z;case 6:_context4.next=8;return this._w;case 8:case"end":return _context4.stop();}},value,this);})}],[{key:"slerpFlat",value:function slerpFlat(dst,dstOffset,src0,srcOffset0,src1,srcOffset1,t){// fuzz-free, array-based Quaternion SLERP operation
|
|
35223
35223
|
var x0=src0[srcOffset0+0],y0=src0[srcOffset0+1],z0=src0[srcOffset0+2],w0=src0[srcOffset0+3];var x1=src1[srcOffset1+0],y1=src1[srcOffset1+1],z1=src1[srcOffset1+2],w1=src1[srcOffset1+3];if(t===0){dst[dstOffset+0]=x0;dst[dstOffset+1]=y0;dst[dstOffset+2]=z0;dst[dstOffset+3]=w0;return;}if(t===1){dst[dstOffset+0]=x1;dst[dstOffset+1]=y1;dst[dstOffset+2]=z1;dst[dstOffset+3]=w1;return;}if(w0!==w1||x0!==x1||y0!==y1||z0!==z1){var s=1-t;var cos=x0*x1+y0*y1+z0*z1+w0*w1,dir=cos>=0?1:-1,sqrSin=1-cos*cos;// Skip the Slerp for tiny steps to avoid numeric problems:
|
|
35224
35224
|
if(sqrSin>Number.EPSILON){var sin=Math.sqrt(sqrSin),len=Math.atan2(sin,cos*dir);s=Math.sin(s*len)/sin;t=Math.sin(t*len)/sin;}var tDir=t*dir;x0=x0*s+x1*tDir;y0=y0*s+y1*tDir;z0=z0*s+z1*tDir;w0=w0*s+w1*tDir;// Normalize in case we just did a lerp:
|
|
35225
35225
|
if(s===1-t){var f=1/Math.sqrt(x0*x0+y0*y0+z0*z0+w0*w0);x0*=f;y0*=f;z0*=f;w0*=f;}}dst[dstOffset]=x0;dst[dstOffset+1]=y0;dst[dstOffset+2]=z0;dst[dstOffset+3]=w0;}/**
|
|
@@ -35704,7 +35704,7 @@ return Math.acos(_clamp(theta,-1,1));}/**
|
|
|
35704
35704
|
*
|
|
35705
35705
|
* @return {Vector3} A reference to this vector.
|
|
35706
35706
|
*/},{key:"randomDirection",value:function randomDirection(){// https://mathworld.wolfram.com/SpherePointPicking.html
|
|
35707
|
-
var theta=Math.random()*Math.PI*2;var u=Math.random()*2-1;var c=Math.sqrt(1-u*u);this.x=c*Math.cos(theta);this.y=u;this.z=c*Math.sin(theta);return this;}},{key:Symbol.iterator,value:/*#__PURE__*/
|
|
35707
|
+
var theta=Math.random()*Math.PI*2;var u=Math.random()*2-1;var c=Math.sqrt(1-u*u);this.x=c*Math.cos(theta);this.y=u;this.z=c*Math.sin(theta);return this;}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context5){while(1)switch(_context5.prev=_context5.next){case 0:_context5.next=2;return this.x;case 2:_context5.next=4;return this.y;case 4:_context5.next=6;return this.z;case 6:case"end":return _context5.stop();}},value,this);})}]);}();var _vector$c=/*@__PURE__*/new Vector3();var _quaternion$4=/*@__PURE__*/new Quaternion();/**
|
|
35708
35708
|
* Represents an axis-aligned bounding box (AABB) in 3D space.
|
|
35709
35709
|
*/var Box3=/*#__PURE__*/function(){/**
|
|
35710
35710
|
* Constructs a new bounding box.
|
|
@@ -36703,7 +36703,7 @@ _m1$2.copy(this);var invSX=1/sx;var invSY=1/sy;var invSZ=1/sz;_m1$2.elements[0]*
|
|
|
36703
36703
|
* @param {Array<number,number,number,string>} [array=[]] - The target array holding the Euler components.
|
|
36704
36704
|
* @param {number} [offset=0] - Index of the first element in the array.
|
|
36705
36705
|
* @return {Array<number,number,number,string>} The Euler components.
|
|
36706
|
-
*/},{key:"toArray",value:function toArray(){var array=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var offset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;array[offset]=this._x;array[offset+1]=this._y;array[offset+2]=this._z;array[offset+3]=this._order;return array;}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/
|
|
36706
|
+
*/},{key:"toArray",value:function toArray(){var array=arguments.length>0&&arguments[0]!==undefined?arguments[0]:[];var offset=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;array[offset]=this._x;array[offset+1]=this._y;array[offset+2]=this._z;array[offset+3]=this._order;return array;}},{key:"_onChange",value:function _onChange(callback){this._onChangeCallback=callback;return this;}},{key:"_onChangeCallback",value:function _onChangeCallback(){}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context6){while(1)switch(_context6.prev=_context6.next){case 0:_context6.next=2;return this._x;case 2:_context6.next=4;return this._y;case 4:_context6.next=6;return this._z;case 6:_context6.next=8;return this._order;case 8:case"end":return _context6.stop();}},value,this);})}]);}();/**
|
|
36707
36707
|
* The default Euler angle order.
|
|
36708
36708
|
*
|
|
36709
36709
|
* @static
|
|
@@ -37783,7 +37783,7 @@ return"color(".concat(colorSpace," ").concat(r.toFixed(3)," ").concat(g.toFixed(
|
|
|
37783
37783
|
* as a hexadecimal value.
|
|
37784
37784
|
*
|
|
37785
37785
|
* @return {number} The hexadecimal value.
|
|
37786
|
-
*/},{key:"toJSON",value:function toJSON(){return this.getHex();}},{key:Symbol.iterator,value:/*#__PURE__*/
|
|
37786
|
+
*/},{key:"toJSON",value:function toJSON(){return this.getHex();}},{key:Symbol.iterator,value:/*#__PURE__*/_regeneratorRuntime().mark(function value(){return _regeneratorRuntime().wrap(function value$(_context7){while(1)switch(_context7.prev=_context7.next){case 0:_context7.next=2;return this.r;case 2:_context7.next=4;return this.g;case 4:_context7.next=6;return this.b;case 6:case"end":return _context7.stop();}},value,this);})}]);}();var _color=/*@__PURE__*/new Color();/**
|
|
37787
37787
|
* A dictionary with X11 color names.
|
|
37788
37788
|
*
|
|
37789
37789
|
* Note that multiple words such as Dark Orange become the string 'darkorange'.
|
|
@@ -47757,7 +47757,7 @@ return path+url;}}]);}();/**
|
|
|
47757
47757
|
* @param {string} url - The path/URL of the file to be loaded. This can also be a data URI.
|
|
47758
47758
|
* @param {onProgressCallback} onProgress - Executed while the loading is in progress.
|
|
47759
47759
|
* @return {Promise<Object3D>} A Promise that resolves with the loaded 3D object.
|
|
47760
|
-
*/},{key:"loadAsync",value:(function(){var _loadAsync=_asyncToGenerator(/*#__PURE__*/
|
|
47760
|
+
*/},{key:"loadAsync",value:(function(){var _loadAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(url,onProgress){var scope,path,loader,text,json,metadata;return _regeneratorRuntime().wrap(function _callee$(_context8){while(1)switch(_context8.prev=_context8.next){case 0:scope=this;path=this.path===''?LoaderUtils.extractUrlBase(url):this.path;this.resourcePath=this.resourcePath||path;loader=new FileLoader(this.manager);loader.setPath(this.path);loader.setRequestHeader(this.requestHeader);loader.setWithCredentials(this.withCredentials);_context8.next=9;return loader.loadAsync(url,onProgress);case 9:text=_context8.sent;json=JSON.parse(text);metadata=json.metadata;if(!(metadata===undefined||metadata.type===undefined||metadata.type.toLowerCase()==='geometry')){_context8.next=14;break;}throw new Error('THREE.ObjectLoader: Can\'t load '+url);case 14:_context8.next=16;return scope.parseAsync(json);case 16:return _context8.abrupt("return",_context8.sent);case 17:case"end":return _context8.stop();}},_callee,this);}));function loadAsync(_x5,_x6){return _loadAsync.apply(this,arguments);}return loadAsync;}()/**
|
|
47761
47761
|
* Parses the given JSON. This is used internally by {@link ObjectLoader#load}
|
|
47762
47762
|
* but can also be used directly to parse a previously loaded JSON structure.
|
|
47763
47763
|
*
|
|
@@ -47770,16 +47770,16 @@ if(onLoad!==undefined){var hasImages=false;for(var uuid in images){if(images[uui
|
|
|
47770
47770
|
*
|
|
47771
47771
|
* @param {Object} json - The serialized 3D object.
|
|
47772
47772
|
* @return {Promise<Object3D>} A Promise that resolves with the parsed 3D object.
|
|
47773
|
-
*/},{key:"parseAsync",value:(function(){var _parseAsync=_asyncToGenerator(/*#__PURE__*/
|
|
47773
|
+
*/},{key:"parseAsync",value:(function(){var _parseAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(json){var animations,shapes,geometries,images,textures,materials,object,skeletons;return _regeneratorRuntime().wrap(function _callee2$(_context9){while(1)switch(_context9.prev=_context9.next){case 0:animations=this.parseAnimations(json.animations);shapes=this.parseShapes(json.shapes);geometries=this.parseGeometries(json.geometries,shapes);_context9.next=5;return this.parseImagesAsync(json.images);case 5:images=_context9.sent;textures=this.parseTextures(json.textures,images);materials=this.parseMaterials(json.materials,textures);object=this.parseObject(json.object,geometries,materials,textures,animations);skeletons=this.parseSkeletons(json.skeletons,object);this.bindSkeletons(object,skeletons);this.bindLightTargets(object);return _context9.abrupt("return",object);case 13:case"end":return _context9.stop();}},_callee2,this);}));function parseAsync(_x7){return _parseAsync.apply(this,arguments);}return parseAsync;}()// internals
|
|
47774
47774
|
)},{key:"parseShapes",value:function parseShapes(json){var shapes={};if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var shape=new Shape().fromJSON(json[i]);shapes[shape.uuid]=shape;}}return shapes;}},{key:"parseSkeletons",value:function parseSkeletons(json,object){var skeletons={};var bones={};// generate bone lookup table
|
|
47775
47775
|
object.traverse(function(child){if(child.isBone)bones[child.uuid]=child;});// create skeletons
|
|
47776
47776
|
if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var skeleton=new Skeleton().fromJSON(json[i],bones);skeletons[skeleton.uuid]=skeleton;}}return skeletons;}},{key:"parseGeometries",value:function parseGeometries(json,shapes){var geometries={};if(json!==undefined){var bufferGeometryLoader=new BufferGeometryLoader();for(var i=0,l=json.length;i<l;i++){var geometry=void 0;var data=json[i];switch(data.type){case'BufferGeometry':case'InstancedBufferGeometry':geometry=bufferGeometryLoader.parse(data);break;default:if(data.type in Geometries){geometry=Geometries[data.type].fromJSON(data,shapes);}else{console.warn("THREE.ObjectLoader: Unsupported geometry type \"".concat(data.type,"\""));}}geometry.uuid=data.uuid;if(data.name!==undefined)geometry.name=data.name;if(data.userData!==undefined)geometry.userData=data.userData;geometries[data.uuid]=geometry;}}return geometries;}},{key:"parseMaterials",value:function parseMaterials(json,textures){var cache={};// MultiMaterial
|
|
47777
47777
|
var materials={};if(json!==undefined){var loader=new MaterialLoader();loader.setTextures(textures);for(var i=0,l=json.length;i<l;i++){var data=json[i];if(cache[data.uuid]===undefined){cache[data.uuid]=loader.parse(data);}materials[data.uuid]=cache[data.uuid];}}return materials;}},{key:"parseAnimations",value:function parseAnimations(json){var animations={};if(json!==undefined){for(var i=0;i<json.length;i++){var data=json[i];var clip=AnimationClip.parse(data);animations[clip.uuid]=clip;}}return animations;}},{key:"parseImages",value:function parseImages(json,onLoad){var scope=this;var images={};var loader;function loadImage(url){scope.manager.itemStart(url);return loader.load(url,function(){scope.manager.itemEnd(url);},undefined,function(){scope.manager.itemError(url);scope.manager.itemEnd(url);});}function deserializeImage(image){if(typeof image==='string'){var url=image;var path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(url)?url:scope.resourcePath+url;return loadImage(path);}else{if(image.data){return{data:getTypedArray(image.type,image.data),width:image.width,height:image.height};}else{return null;}}}if(json!==undefined&&json.length>0){var manager=new LoadingManager(onLoad);loader=new ImageLoader(manager);loader.setCrossOrigin(this.crossOrigin);for(var i=0,il=json.length;i<il;i++){var image=json[i];var url=image.url;if(Array.isArray(url)){// load array of images e.g CubeTexture
|
|
47778
47778
|
var imageArray=[];for(var j=0,jl=url.length;j<jl;j++){var currentUrl=url[j];var deserializedImage=deserializeImage(currentUrl);if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage);}else{// special case: handle array of data textures for cube textures
|
|
47779
47779
|
imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height));}}}images[image.uuid]=new Source(imageArray);}else{// load single image
|
|
47780
|
-
var _deserializedImage=deserializeImage(image.url);images[image.uuid]=new Source(_deserializedImage);}}}return images;}},{key:"parseImagesAsync",value:function(){var _parseImagesAsync=_asyncToGenerator(/*#__PURE__*/
|
|
47781
|
-
imageArray=[];j=0,jl=url.length;case
|
|
47782
|
-
imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height));}}case
|
|
47780
|
+
var _deserializedImage=deserializeImage(image.url);images[image.uuid]=new Source(_deserializedImage);}}}return images;}},{key:"parseImagesAsync",value:function(){var _parseImagesAsync=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(json){var scope,images,loader,deserializeImage,_deserializeImage,i,il,image,url,imageArray,j,jl,currentUrl,deserializedImage,_deserializedImage2;return _regeneratorRuntime().wrap(function _callee4$(_context1){while(1)switch(_context1.prev=_context1.next){case 0:_deserializeImage=function _deserializeImage3(){_deserializeImage=_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(image){var _url,path;return _regeneratorRuntime().wrap(function _callee3$(_context0){while(1)switch(_context0.prev=_context0.next){case 0:if(!(typeof image==='string')){_context0.next=8;break;}_url=image;path=/^(\/\/)|([a-z]+:(\/\/)?)/i.test(_url)?_url:scope.resourcePath+_url;_context0.next=5;return loader.loadAsync(path);case 5:return _context0.abrupt("return",_context0.sent);case 8:if(!image.data){_context0.next=12;break;}return _context0.abrupt("return",{data:getTypedArray(image.type,image.data),width:image.width,height:image.height});case 12:return _context0.abrupt("return",null);case 13:case"end":return _context0.stop();}},_callee3);}));return _deserializeImage.apply(this,arguments);};deserializeImage=function _deserializeImage2(_x9){return _deserializeImage.apply(this,arguments);};scope=this;images={};if(!(json!==undefined&&json.length>0)){_context1.next=33;break;}loader=new ImageLoader(this.manager);loader.setCrossOrigin(this.crossOrigin);i=0,il=json.length;case 8:if(!(i<il)){_context1.next=33;break;}image=json[i];url=image.url;if(!Array.isArray(url)){_context1.next=26;break;}// load array of images e.g CubeTexture
|
|
47781
|
+
imageArray=[];j=0,jl=url.length;case 14:if(!(j<jl)){_context1.next=23;break;}currentUrl=url[j];_context1.next=18;return deserializeImage(currentUrl);case 18:deserializedImage=_context1.sent;if(deserializedImage!==null){if(deserializedImage instanceof HTMLImageElement){imageArray.push(deserializedImage);}else{// special case: handle array of data textures for cube textures
|
|
47782
|
+
imageArray.push(new DataTexture(deserializedImage.data,deserializedImage.width,deserializedImage.height));}}case 20:j++;_context1.next=14;break;case 23:images[image.uuid]=new Source(imageArray);_context1.next=30;break;case 26:_context1.next=28;return deserializeImage(image.url);case 28:_deserializedImage2=_context1.sent;images[image.uuid]=new Source(_deserializedImage2);case 30:i++;_context1.next=8;break;case 33:return _context1.abrupt("return",images);case 34:case"end":return _context1.stop();}},_callee4,this);}));function parseImagesAsync(_x8){return _parseImagesAsync.apply(this,arguments);}return parseImagesAsync;}()},{key:"parseTextures",value:function parseTextures(json,images){function parseConstant(value,type){if(typeof value==='number')return value;console.warn('THREE.ObjectLoader.parseTexture: Constant should be in numeric form.',value);return type[value];}var textures={};if(json!==undefined){for(var i=0,l=json.length;i<l;i++){var data=json[i];if(data.image===undefined){console.warn('THREE.ObjectLoader: No "image" specified for',data.uuid);}if(images[data.image]===undefined){console.warn('THREE.ObjectLoader: Undefined image',data.image);}var source=images[data.image];var image=source.data;var texture=void 0;if(Array.isArray(image)){texture=new CubeTexture();if(image.length===6)texture.needsUpdate=true;}else{if(image&&image.data){texture=new DataTexture();}else{texture=new Texture();}if(image)texture.needsUpdate=true;// textures can have undefined image data
|
|
47783
47783
|
}texture.source=source;texture.uuid=data.uuid;if(data.name!==undefined)texture.name=data.name;if(data.mapping!==undefined)texture.mapping=parseConstant(data.mapping,TEXTURE_MAPPING);if(data.channel!==undefined)texture.channel=data.channel;if(data.offset!==undefined)texture.offset.fromArray(data.offset);if(data.repeat!==undefined)texture.repeat.fromArray(data.repeat);if(data.center!==undefined)texture.center.fromArray(data.center);if(data.rotation!==undefined)texture.rotation=data.rotation;if(data.wrap!==undefined){texture.wrapS=parseConstant(data.wrap[0],TEXTURE_WRAPPING);texture.wrapT=parseConstant(data.wrap[1],TEXTURE_WRAPPING);}if(data.format!==undefined)texture.format=data.format;if(data.internalFormat!==undefined)texture.internalFormat=data.internalFormat;if(data.type!==undefined)texture.type=data.type;if(data.colorSpace!==undefined)texture.colorSpace=data.colorSpace;if(data.minFilter!==undefined)texture.minFilter=parseConstant(data.minFilter,TEXTURE_FILTER);if(data.magFilter!==undefined)texture.magFilter=parseConstant(data.magFilter,TEXTURE_FILTER);if(data.anisotropy!==undefined)texture.anisotropy=data.anisotropy;if(data.flipY!==undefined)texture.flipY=data.flipY;if(data.generateMipmaps!==undefined)texture.generateMipmaps=data.generateMipmaps;if(data.premultiplyAlpha!==undefined)texture.premultiplyAlpha=data.premultiplyAlpha;if(data.unpackAlignment!==undefined)texture.unpackAlignment=data.unpackAlignment;if(data.compareFunction!==undefined)texture.compareFunction=data.compareFunction;if(data.userData!==undefined)texture.userData=data.userData;textures[data.uuid]=texture;}}return textures;}},{key:"parseObject",value:function parseObject(data,geometries,materials,textures,animations){var object;function getGeometry(name){if(geometries[name]===undefined){console.warn('THREE.ObjectLoader: Undefined geometry',name);}return geometries[name];}function getMaterial(name){if(name===undefined)return undefined;if(Array.isArray(name)){var array=[];for(var i=0,l=name.length;i<l;i++){var uuid=name[i];if(materials[uuid]===undefined){console.warn('THREE.ObjectLoader: Undefined material',uuid);}array.push(materials[uuid]);}return array;}if(materials[name]===undefined){console.warn('THREE.ObjectLoader: Undefined material',name);}return materials[name];}function getTexture(uuid){if(textures[uuid]===undefined){console.warn('THREE.ObjectLoader: Undefined texture',uuid);}return textures[uuid];}var geometry,material;switch(data.type){case'Scene':object=new Scene();if(data.background!==undefined){if(Number.isInteger(data.background)){object.background=new Color(data.background);}else{object.background=getTexture(data.background);}}if(data.environment!==undefined){object.environment=getTexture(data.environment);}if(data.fog!==undefined){if(data.fog.type==='Fog'){object.fog=new Fog(data.fog.color,data.fog.near,data.fog.far);}else if(data.fog.type==='FogExp2'){object.fog=new FogExp2(data.fog.color,data.fog.density);}if(data.fog.name!==''){object.fog.name=data.fog.name;}}if(data.backgroundBlurriness!==undefined)object.backgroundBlurriness=data.backgroundBlurriness;if(data.backgroundIntensity!==undefined)object.backgroundIntensity=data.backgroundIntensity;if(data.backgroundRotation!==undefined)object.backgroundRotation.fromArray(data.backgroundRotation);if(data.environmentIntensity!==undefined)object.environmentIntensity=data.environmentIntensity;if(data.environmentRotation!==undefined)object.environmentRotation.fromArray(data.environmentRotation);break;case'PerspectiveCamera':object=new PerspectiveCamera(data.fov,data.aspect,data.near,data.far);if(data.focus!==undefined)object.focus=data.focus;if(data.zoom!==undefined)object.zoom=data.zoom;if(data.filmGauge!==undefined)object.filmGauge=data.filmGauge;if(data.filmOffset!==undefined)object.filmOffset=data.filmOffset;if(data.view!==undefined)object.view=Object.assign({},data.view);break;case'OrthographicCamera':object=new OrthographicCamera(data.left,data.right,data.top,data.bottom,data.near,data.far);if(data.zoom!==undefined)object.zoom=data.zoom;if(data.view!==undefined)object.view=Object.assign({},data.view);break;case'AmbientLight':object=new AmbientLight(data.color,data.intensity);break;case'DirectionalLight':object=new DirectionalLight(data.color,data.intensity);object.target=data.target||'';break;case'PointLight':object=new PointLight(data.color,data.intensity,data.distance,data.decay);break;case'RectAreaLight':object=new RectAreaLight(data.color,data.intensity,data.width,data.height);break;case'SpotLight':object=new SpotLight(data.color,data.intensity,data.distance,data.angle,data.penumbra,data.decay);object.target=data.target||'';break;case'HemisphereLight':object=new HemisphereLight(data.color,data.groundColor,data.intensity);break;case'LightProbe':object=new LightProbe().fromJSON(data);break;case'SkinnedMesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new SkinnedMesh(geometry,material);if(data.bindMode!==undefined)object.bindMode=data.bindMode;if(data.bindMatrix!==undefined)object.bindMatrix.fromArray(data.bindMatrix);if(data.skeleton!==undefined)object.skeleton=data.skeleton;break;case'Mesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new Mesh(geometry,material);break;case'InstancedMesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);var count=data.count;var instanceMatrix=data.instanceMatrix;var instanceColor=data.instanceColor;object=new InstancedMesh(geometry,material,count);object.instanceMatrix=new InstancedBufferAttribute(new Float32Array(instanceMatrix.array),16);if(instanceColor!==undefined)object.instanceColor=new InstancedBufferAttribute(new Float32Array(instanceColor.array),instanceColor.itemSize);break;case'BatchedMesh':geometry=getGeometry(data.geometry);material=getMaterial(data.material);object=new BatchedMesh(data.maxInstanceCount,data.maxVertexCount,data.maxIndexCount,material);object.geometry=geometry;object.perObjectFrustumCulled=data.perObjectFrustumCulled;object.sortObjects=data.sortObjects;object._drawRanges=data.drawRanges;object._reservedRanges=data.reservedRanges;object._geometryInfo=data.geometryInfo.map(function(info){var box=null;var sphere=null;if(info.boundingBox!==undefined){box=new Box3();box.min.fromArray(info.boundingBox.min);box.max.fromArray(info.boundingBox.max);}if(info.boundingSphere!==undefined){sphere=new Sphere();sphere.radius=info.boundingSphere.radius;sphere.center.fromArray(info.boundingSphere.center);}return _objectSpread(_objectSpread({},info),{},{boundingBox:box,boundingSphere:sphere});});object._instanceInfo=data.instanceInfo;object._availableInstanceIds=data._availableInstanceIds;object._availableGeometryIds=data._availableGeometryIds;object._nextIndexStart=data.nextIndexStart;object._nextVertexStart=data.nextVertexStart;object._geometryCount=data.geometryCount;object._maxInstanceCount=data.maxInstanceCount;object._maxVertexCount=data.maxVertexCount;object._maxIndexCount=data.maxIndexCount;object._geometryInitialized=data.geometryInitialized;object._matricesTexture=getTexture(data.matricesTexture.uuid);object._indirectTexture=getTexture(data.indirectTexture.uuid);if(data.colorsTexture!==undefined){object._colorsTexture=getTexture(data.colorsTexture.uuid);}if(data.boundingSphere!==undefined){object.boundingSphere=new Sphere();object.boundingSphere.center.fromArray(data.boundingSphere.center);object.boundingSphere.radius=data.boundingSphere.radius;}if(data.boundingBox!==undefined){object.boundingBox=new Box3();object.boundingBox.min.fromArray(data.boundingBox.min);object.boundingBox.max.fromArray(data.boundingBox.max);}break;case'LOD':object=new LOD();break;case'Line':object=new three_core_Line(getGeometry(data.geometry),getMaterial(data.material));break;case'LineLoop':object=new LineLoop(getGeometry(data.geometry),getMaterial(data.material));break;case'LineSegments':object=new LineSegments(getGeometry(data.geometry),getMaterial(data.material));break;case'PointCloud':case'Points':object=new Points(getGeometry(data.geometry),getMaterial(data.material));break;case'Sprite':object=new Sprite(getMaterial(data.material));break;case'Group':object=new Group();break;case'Bone':object=new Bone();break;default:object=new Object3D();}object.uuid=data.uuid;if(data.name!==undefined)object.name=data.name;if(data.matrix!==undefined){object.matrix.fromArray(data.matrix);if(data.matrixAutoUpdate!==undefined)object.matrixAutoUpdate=data.matrixAutoUpdate;if(object.matrixAutoUpdate)object.matrix.decompose(object.position,object.quaternion,object.scale);}else{if(data.position!==undefined)object.position.fromArray(data.position);if(data.rotation!==undefined)object.rotation.fromArray(data.rotation);if(data.quaternion!==undefined)object.quaternion.fromArray(data.quaternion);if(data.scale!==undefined)object.scale.fromArray(data.scale);}if(data.up!==undefined)object.up.fromArray(data.up);if(data.castShadow!==undefined)object.castShadow=data.castShadow;if(data.receiveShadow!==undefined)object.receiveShadow=data.receiveShadow;if(data.shadow){if(data.shadow.intensity!==undefined)object.shadow.intensity=data.shadow.intensity;if(data.shadow.bias!==undefined)object.shadow.bias=data.shadow.bias;if(data.shadow.normalBias!==undefined)object.shadow.normalBias=data.shadow.normalBias;if(data.shadow.radius!==undefined)object.shadow.radius=data.shadow.radius;if(data.shadow.mapSize!==undefined)object.shadow.mapSize.fromArray(data.shadow.mapSize);if(data.shadow.camera!==undefined)object.shadow.camera=this.parseObject(data.shadow.camera);}if(data.visible!==undefined)object.visible=data.visible;if(data.frustumCulled!==undefined)object.frustumCulled=data.frustumCulled;if(data.renderOrder!==undefined)object.renderOrder=data.renderOrder;if(data.userData!==undefined)object.userData=data.userData;if(data.layers!==undefined)object.layers.mask=data.layers;if(data.children!==undefined){var children=data.children;for(var i=0;i<children.length;i++){object.add(this.parseObject(children[i],geometries,materials,textures,animations));}}if(data.animations!==undefined){var objectAnimations=data.animations;for(var _i63=0;_i63<objectAnimations.length;_i63++){var uuid=objectAnimations[_i63];object.animations.push(animations[uuid]);}}if(data.type==='LOD'){if(data.autoUpdate!==undefined)object.autoUpdate=data.autoUpdate;var levels=data.levels;for(var l=0;l<levels.length;l++){var level=levels[l];var child=object.getObjectByProperty('uuid',level.object);if(child!==undefined){object.addLevel(child,level.distance,level.hysteresis);}}}return object;}},{key:"bindSkeletons",value:function bindSkeletons(object,skeletons){if(Object.keys(skeletons).length===0)return;object.traverse(function(child){if(child.isSkinnedMesh===true&&child.skeleton!==undefined){var skeleton=skeletons[child.skeleton];if(skeleton===undefined){console.warn('THREE.ObjectLoader: No skeleton found with UUID:',child.skeleton);}else{child.bind(skeleton,child.bindMatrix);}}});}},{key:"bindLightTargets",value:function bindLightTargets(object){object.traverse(function(child){if(child.isDirectionalLight||child.isSpotLight){var uuid=child.target;var target=object.getObjectByProperty('uuid',uuid);if(target!==undefined){child.target=target;}else{child.target=new Object3D();}}});}}]);}(Loader);var TEXTURE_MAPPING={UVMapping:UVMapping,CubeReflectionMapping:CubeReflectionMapping,CubeRefractionMapping:CubeRefractionMapping,EquirectangularReflectionMapping:EquirectangularReflectionMapping,EquirectangularRefractionMapping:EquirectangularRefractionMapping,CubeUVReflectionMapping:CubeUVReflectionMapping};var TEXTURE_WRAPPING={RepeatWrapping:RepeatWrapping,ClampToEdgeWrapping:ClampToEdgeWrapping,MirroredRepeatWrapping:MirroredRepeatWrapping};var TEXTURE_FILTER={NearestFilter:NearestFilter,NearestMipmapNearestFilter:NearestMipmapNearestFilter,NearestMipmapLinearFilter:NearestMipmapLinearFilter,LinearFilter:LinearFilter,LinearMipmapNearestFilter:LinearMipmapNearestFilter,LinearMipmapLinearFilter:LinearMipmapLinearFilter};/**
|
|
47784
47784
|
* A loader for loading images as an [ImageBitmap]{@link https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap}.
|
|
47785
47785
|
* An `ImageBitmap` provides an asynchronous and resource efficient pathway to prepare
|
|
@@ -57520,7 +57520,7 @@ var TextGeometry = /*#__PURE__*/function (_ExtrudeGeometry) {
|
|
|
57520
57520
|
var helvetiker_regular_typeface = __webpack_require__("7e1b");
|
|
57521
57521
|
|
|
57522
57522
|
// CONCATENATED MODULE: ./node_modules/three/build/three.module.js
|
|
57523
|
-
function three_module_regenerator(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return three_module_regeneratorDefine2(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function d(t,r){return i=t,c=0,u=e,G.n=r,a;}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0));}if(o||r>1)return a;throw y=!0,n;}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0);}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e;}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break;}catch(t){i=e,c=1,u=t;}finally{f=1;}}return{value:t,done:y};};}(r,o,i),!0),u;}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(three_module_regeneratorDefine2(t={},n,function(){return this;}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,three_module_regeneratorDefine2(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e;}return GeneratorFunction.prototype=GeneratorFunctionPrototype,three_module_regeneratorDefine2(u,"constructor",GeneratorFunctionPrototype),three_module_regeneratorDefine2(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",three_module_regeneratorDefine2(GeneratorFunctionPrototype,o,"GeneratorFunction"),three_module_regeneratorDefine2(u),three_module_regeneratorDefine2(u,o,"Generator"),three_module_regeneratorDefine2(u,n,function(){return this;}),three_module_regeneratorDefine2(u,"toString",function(){return"[object Generator]";}),(three_module_regenerator=function _regenerator(){return{w:i,m:f};})();}function three_module_regeneratorDefine2(e,r,n,t){var i=Object.defineProperty;try{i({},"",{});}catch(e){i=0;}three_module_regeneratorDefine2=function _regeneratorDefine(e,r,n,t){if(r)i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n;else{function o(r,n){three_module_regeneratorDefine2(e,r,function(e){return this._invoke(r,n,e);});}o("next",0),o("throw",1),o("return",2);}},three_module_regeneratorDefine2(e,r,n,t);}function three_module_asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function three_module_asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function three_module_callSuper(t,o,e){return o=three_module_getPrototypeOf(o),three_module_possibleConstructorReturn(t,three_module_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_module_getPrototypeOf(t).constructor):o.apply(t,e));}function three_module_possibleConstructorReturn(t,e){if(e&&("object"==three_module_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_module_assertThisInitialized(t);}function three_module_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_module_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_module_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_module_getPrototypeOf(t){return three_module_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_module_getPrototypeOf(t);}function three_module_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_module_setPrototypeOf(t,e);}function three_module_setPrototypeOf(t,e){return three_module_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_module_setPrototypeOf(t,e);}function three_module_defineProperty(e,r,t){return(r=three_module_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function three_module_createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=three_module_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function three_module_unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return three_module_arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?three_module_arrayLikeToArray(r,a):void 0;}}function three_module_arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_module_typeof(o){"@babel/helpers - typeof";return three_module_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_module_typeof(o);}function three_module_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_module_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_module_toPropertyKey(o.key),o);}}function three_module_createClass(e,r,t){return r&&three_module_defineProperties(e.prototype,r),t&&three_module_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_module_toPropertyKey(t){var i=three_module_toPrimitive(t,"string");return"symbol"==three_module_typeof(i)?i:i+"";}function three_module_toPrimitive(t,r){if("object"!=three_module_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_module_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
57523
|
+
function three_module_regeneratorRuntime(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */three_module_regeneratorRuntime=function _regeneratorRuntime(){return r;};var t,r={},e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e,n){return Object.defineProperty(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n});}try{c({},"");}catch(t){c=function c(t,r,e){return t[r]=e;};}function h(r,e,n,o){var i=e&&e.prototype instanceof Generator?e:Generator,a=Object.create(i.prototype);return c(a,"_invoke",function(r,e,n){var o=1;return function(i,a){if(3===o)throw Error("Generator is already running");if(4===o){if("throw"===i)throw a;return{value:t,done:!0};}for(n.method=i,n.arg=a;;){var u=n.delegate;if(u){var c=d(u,n);if(c){if(c===f)continue;return c;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(1===o)throw o=4,n.arg;n.dispatchException(n.arg);}else"return"===n.method&&n.abrupt("return",n.arg);o=3;var h=s(r,e,n);if("normal"===h.type){if(o=n.done?4:2,h.arg===f)continue;return{value:h.arg,done:n.done};}"throw"===h.type&&(o=4,n.method="throw",n.arg=h.arg);}};}(r,n,new Context(o||[])),!0),a;}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)};}catch(t){return{type:"throw",arg:t};}}r.wrap=h;var f={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var l={};c(l,i,function(){return this;});var p=Object.getPrototypeOf,y=p&&p(p(x([])));y&&y!==e&&n.call(y,i)&&(l=y);var v=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(l);function g(t){["next","throw","return"].forEach(function(r){c(t,r,function(t){return this._invoke(r,t);});});}function AsyncIterator(t,r){function e(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var h=c.arg,f=h.value;return f&&"object"==three_module_typeof(f)&&n.call(f,"__await")?r.resolve(f.__await).then(function(t){e("next",t,a,u);},function(t){e("throw",t,a,u);}):r.resolve(f).then(function(t){h.value=t,a(h);},function(t){return e("throw",t,a,u);});}u(c.arg);}var o;c(this,"_invoke",function(t,n){function i(){return new r(function(r,o){e(t,n,r,o);});}return o=o?o.then(i,i):i();},!0);}function d(r,e){var n=e.method,o=r.i[n];if(o===t)return e.delegate=null,"throw"===n&&r.i.return&&(e.method="return",e.arg=t,d(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=s(o,r.i,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var a=i.arg;return a?a.done?(e[r.r]=a.value,e.next=r.n,"return"!==e.method&&(e.method="next",e.arg=t),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f);}function w(t){this.tryEntries.push(t);}function m(r){var e=r[4]||{};e.type="normal",e.arg=t,r[4]=e;}function Context(t){this.tryEntries=[[-1]],t.forEach(w,this),this.reset(!0);}function x(r){if(null!=r){var e=r[i];if(e)return e.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function e(){for(;++o<r.length;)if(n.call(r,o))return e.value=r[o],e.done=!1,e;return e.value=t,e.done=!0,e;};return a.next=a;}}throw new TypeError(three_module_typeof(r)+" is not iterable");}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(v,"constructor",GeneratorFunctionPrototype),c(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName=c(GeneratorFunctionPrototype,u,"GeneratorFunction"),r.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===GeneratorFunction||"GeneratorFunction"===(r.displayName||r.name));},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,c(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t;},r.awrap=function(t){return{__await:t};},g(AsyncIterator.prototype),c(AsyncIterator.prototype,a,function(){return this;}),r.AsyncIterator=AsyncIterator,r.async=function(t,e,n,o,i){void 0===i&&(i=Promise);var a=new AsyncIterator(h(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then(function(t){return t.done?t.value:a.next();});},g(v),c(v,u,"Generator"),c(v,i,function(){return this;}),c(v,"toString",function(){return"[object Generator]";}),r.keys=function(t){var r=Object(t),e=[];for(var n in r)e.unshift(n);return function t(){for(;e.length;)if((n=e.pop())in r)return t.value=n,t.done=!1,t;return t.done=!0,t;};},r.values=x,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(m),!r)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=t);},stop:function stop(){this.done=!0;var t=this.tryEntries[0][4];if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function dispatchException(r){if(this.done)throw r;var e=this;function n(t){a.type="throw",a.arg=r,e.next=t;}for(var o=e.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i[4],u=this.prev,c=i[1],h=i[2];if(-1===i[0])return n("end"),!1;if(!c&&!h)throw Error("try statement without catch or finally");if(null!=i[0]&&i[0]<=u){if(u<c)return this.method="next",this.arg=t,n(c),!0;if(u<h)return n(h),!1;}}},abrupt:function abrupt(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n[0]>-1&&n[0]<=this.prev&&this.prev<n[2]){var o=n;break;}}o&&("break"===t||"continue"===t)&&o[0]<=r&&r<=o[2]&&(o=null);var i=o?o[4]:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o[2],f):this.complete(i);},complete:function complete(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),f;},finish:function finish(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[2]===t)return this.complete(e[4],e[3]),m(e),f;}},catch:function _catch(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e[0]===t){var n=e[4];if("throw"===n.type){var o=n.arg;m(e);}return o;}}throw Error("illegal catch attempt");},delegateYield:function delegateYield(r,e,n){return this.delegate={i:x(r),r:e,n:n},"next"===this.method&&(this.arg=t),f;}},r;}function three_module_asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value;}catch(n){return void e(n);}i.done?t(u):Promise.resolve(u).then(r,o);}function three_module_asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"next",n);}function _throw(n){three_module_asyncGeneratorStep(a,r,o,_next,_throw,"throw",n);}_next(void 0);});};}function three_module_callSuper(t,o,e){return o=three_module_getPrototypeOf(o),three_module_possibleConstructorReturn(t,three_module_isNativeReflectConstruct()?Reflect.construct(o,e||[],three_module_getPrototypeOf(t).constructor):o.apply(t,e));}function three_module_possibleConstructorReturn(t,e){if(e&&("object"==three_module_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return three_module_assertThisInitialized(t);}function three_module_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function three_module_isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(three_module_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function three_module_getPrototypeOf(t){return three_module_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},three_module_getPrototypeOf(t);}function three_module_inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&three_module_setPrototypeOf(t,e);}function three_module_setPrototypeOf(t,e){return three_module_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},three_module_setPrototypeOf(t,e);}function three_module_defineProperty(e,r,t){return(r=three_module_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function three_module_createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=three_module_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t.return||t.return();}finally{if(u)throw o;}}};}function three_module_unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return three_module_arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?three_module_arrayLikeToArray(r,a):void 0;}}function three_module_arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function three_module_typeof(o){"@babel/helpers - typeof";return three_module_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},three_module_typeof(o);}function three_module_classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function three_module_defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,three_module_toPropertyKey(o.key),o);}}function three_module_createClass(e,r,t){return r&&three_module_defineProperties(e.prototype,r),t&&three_module_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function three_module_toPropertyKey(t){var i=three_module_toPrimitive(t,"string");return"symbol"==three_module_typeof(i)?i:i+"";}function three_module_toPrimitive(t,r){if("object"!=three_module_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=three_module_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
|
|
57524
57524
|
* @license
|
|
57525
57525
|
* Copyright 2010-2025 Three.js Authors
|
|
57526
57526
|
* SPDX-License-Identifier: MIT
|
|
@@ -58114,10 +58114,10 @@ animation.stop();scope.isPresenting=false;renderer.setPixelRatio(currentPixelRat
|
|
|
58114
58114
|
* @async
|
|
58115
58115
|
* @param {XRSession} value - The XR session to set.
|
|
58116
58116
|
* @return {Promise} A Promise that resolves when the session has been set.
|
|
58117
|
-
*/_this2.setSession=/*#__PURE__*/function(){var _ref=three_module_asyncToGenerator(/*#__PURE__*/
|
|
58117
|
+
*/_this2.setSession=/*#__PURE__*/function(){var _ref=three_module_asyncToGenerator(/*#__PURE__*/three_module_regeneratorRuntime().mark(function _callee(value){var useLayers,layerInit,depthFormat,depthType,glDepthFormat,projectionlayerInit;return three_module_regeneratorRuntime().wrap(function _callee$(_context){while(1)switch(_context.prev=_context.next){case 0:session=value;if(!(session!==null)){_context.next=28;break;}initialRenderTarget=renderer.getRenderTarget();session.addEventListener('select',onSessionEvent);session.addEventListener('selectstart',onSessionEvent);session.addEventListener('selectend',onSessionEvent);session.addEventListener('squeeze',onSessionEvent);session.addEventListener('squeezestart',onSessionEvent);session.addEventListener('squeezeend',onSessionEvent);session.addEventListener('end',onSessionEnd);session.addEventListener('inputsourceschange',onInputSourcesChange);if(!(attributes.xrCompatible!==true)){_context.next=14;break;}_context.next=14;return gl.makeXRCompatible();case 14:currentPixelRatio=renderer.getPixelRatio();renderer.getSize(currentSize);// Check that the browser implements the necessary APIs to use an
|
|
58118
58118
|
// XRProjectionLayer rather than an XRWebGLLayer
|
|
58119
58119
|
useLayers=typeof XRWebGLBinding!=='undefined'&&'createProjectionLayer'in XRWebGLBinding.prototype;if(!useLayers){layerInit={antialias:attributes.antialias,alpha:true,depth:attributes.depth,stencil:attributes.stencil,framebufferScaleFactor:framebufferScaleFactor};glBaseLayer=new XRWebGLLayer(session,gl,layerInit);session.updateRenderState({baseLayer:glBaseLayer});renderer.setPixelRatio(1);renderer.setSize(glBaseLayer.framebufferWidth,glBaseLayer.framebufferHeight,false);newRenderTarget=new WebGLRenderTarget(glBaseLayer.framebufferWidth,glBaseLayer.framebufferHeight,{format:RGBAFormat,type:UnsignedByteType,colorSpace:renderer.outputColorSpace,stencilBuffer:attributes.stencil,resolveDepthBuffer:glBaseLayer.ignoreDepthValues===false,resolveStencilBuffer:glBaseLayer.ignoreDepthValues===false});}else{depthFormat=null;depthType=null;glDepthFormat=null;if(attributes.depth){glDepthFormat=attributes.stencil?gl.DEPTH24_STENCIL8:gl.DEPTH_COMPONENT24;depthFormat=attributes.stencil?DepthStencilFormat:DepthFormat;depthType=attributes.stencil?UnsignedInt248Type:UnsignedIntType;}projectionlayerInit={colorFormat:gl.RGBA8,depthFormat:glDepthFormat,scaleFactor:framebufferScaleFactor};glBinding=new XRWebGLBinding(session,gl);glProjLayer=glBinding.createProjectionLayer(projectionlayerInit);session.updateRenderState({layers:[glProjLayer]});renderer.setPixelRatio(1);renderer.setSize(glProjLayer.textureWidth,glProjLayer.textureHeight,false);newRenderTarget=new WebGLRenderTarget(glProjLayer.textureWidth,glProjLayer.textureHeight,{format:RGBAFormat,type:UnsignedByteType,depthTexture:new DepthTexture(glProjLayer.textureWidth,glProjLayer.textureHeight,depthType,undefined,undefined,undefined,undefined,undefined,undefined,depthFormat),stencilBuffer:attributes.stencil,colorSpace:renderer.outputColorSpace,samples:attributes.antialias?4:0,resolveDepthBuffer:glProjLayer.ignoreDepthValues===false,resolveStencilBuffer:glProjLayer.ignoreDepthValues===false});}newRenderTarget.isXRRenderTarget=true;// TODO Remove this when possible, see #23278
|
|
58120
|
-
this.setFoveation(foveation);customReferenceSpace=null;_context.
|
|
58120
|
+
this.setFoveation(foveation);customReferenceSpace=null;_context.next=23;return session.requestReferenceSpace(referenceSpaceType);case 23:referenceSpace=_context.sent;animation.setContext(session);animation.start();scope.isPresenting=true;scope.dispatchEvent({type:'sessionstart'});case 28:case"end":return _context.stop();}},_callee,this);}));return function(_x2){return _ref.apply(this,arguments);};}();/**
|
|
58121
58121
|
* Returns the environment blend mode from the current XR session.
|
|
58122
58122
|
*
|
|
58123
58123
|
* @return {'opaque'|'additive'|'alpha-blend'|undefined} The environment blend mode. Returns `undefined` when used outside of a XR session.
|
|
@@ -58730,11 +58730,11 @@ var _framebuffer=_currentRenderTarget!==null?properties.get(_currentRenderTarget
|
|
|
58730
58730
|
* @param {TypedArray} buffer - The result buffer.
|
|
58731
58731
|
* @param {number} [activeCubeFaceIndex] - The active cube face index.
|
|
58732
58732
|
* @return {Promise<TypedArray>} A Promise that resolves when the read has been finished. The resolve provides the read data as a typed array.
|
|
58733
|
-
*/this.readRenderTargetPixelsAsync=/*#__PURE__*/function(){var _ref2=three_module_asyncToGenerator(/*#__PURE__*/
|
|
58734
|
-
state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);texture=renderTarget.texture;textureFormat=texture.format;textureType=texture.type;if(capabilities.textureFormatReadable(textureFormat)){_context2.
|
|
58733
|
+
*/this.readRenderTargetPixelsAsync=/*#__PURE__*/function(){var _ref2=three_module_asyncToGenerator(/*#__PURE__*/three_module_regeneratorRuntime().mark(function _callee2(renderTarget,x,y,width,height,buffer,activeCubeFaceIndex){var framebuffer,texture,textureFormat,textureType,glBuffer,currFramebuffer,sync;return three_module_regeneratorRuntime().wrap(function _callee2$(_context2){while(1)switch(_context2.prev=_context2.next){case 0:if(renderTarget&&renderTarget.isWebGLRenderTarget){_context2.next=2;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.');case 2:framebuffer=properties.get(renderTarget).__webglFramebuffer;if(renderTarget.isWebGLCubeRenderTarget&&activeCubeFaceIndex!==undefined){framebuffer=framebuffer[activeCubeFaceIndex];}if(!framebuffer){_context2.next=32;break;}if(!(x>=0&&x<=renderTarget.width-width&&y>=0&&y<=renderTarget.height-height)){_context2.next=31;break;}// set the active frame buffer to the one we want to read
|
|
58734
|
+
state.bindFramebuffer(_gl.FRAMEBUFFER,framebuffer);texture=renderTarget.texture;textureFormat=texture.format;textureType=texture.type;if(capabilities.textureFormatReadable(textureFormat)){_context2.next=12;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.');case 12:if(capabilities.textureTypeReadable(textureType)){_context2.next=14;break;}throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.');case 14:glBuffer=_gl.createBuffer();_gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.bufferData(_gl.PIXEL_PACK_BUFFER,buffer.byteLength,_gl.STREAM_READ);_gl.readPixels(x,y,width,height,utils.convert(textureFormat),utils.convert(textureType),0);// reset the frame buffer to the currently set buffer before waiting
|
|
58735
58735
|
currFramebuffer=_currentRenderTarget!==null?properties.get(_currentRenderTarget).__webglFramebuffer:null;state.bindFramebuffer(_gl.FRAMEBUFFER,currFramebuffer);// check if the commands have finished every 8 ms
|
|
58736
|
-
sync=_gl.fenceSync(_gl.SYNC_GPU_COMMANDS_COMPLETE,0);_gl.flush();_context2.
|
|
58737
|
-
_gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.getBufferSubData(_gl.PIXEL_PACK_BUFFER,0,buffer);_gl.deleteBuffer(glBuffer);_gl.deleteSync(sync);return _context2.
|
|
58736
|
+
sync=_gl.fenceSync(_gl.SYNC_GPU_COMMANDS_COMPLETE,0);_gl.flush();_context2.next=24;return probeAsync(_gl,sync,4);case 24:// read the data and delete the buffer
|
|
58737
|
+
_gl.bindBuffer(_gl.PIXEL_PACK_BUFFER,glBuffer);_gl.getBufferSubData(_gl.PIXEL_PACK_BUFFER,0,buffer);_gl.deleteBuffer(glBuffer);_gl.deleteSync(sync);return _context2.abrupt("return",buffer);case 31:throw new Error('THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.');case 32:case"end":return _context2.stop();}},_callee2);}));return function(_x3,_x4,_x5,_x6,_x7,_x8,_x9){return _ref2.apply(this,arguments);};}();/**
|
|
58738
58738
|
* Copies pixels from the current bound framebuffer into the given texture.
|
|
58739
58739
|
*
|
|
58740
58740
|
* @param {FramebufferTexture} texture - The texture.
|
|
@@ -60901,26 +60901,27 @@ var RenderPass_RenderPass = /*#__PURE__*/function (_Pass) {
|
|
|
60901
60901
|
}(Pass);
|
|
60902
60902
|
|
|
60903
60903
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/index.vue?vue&type=script&lang=js
|
|
60904
|
-
function
|
|
60905
|
-
function
|
|
60904
|
+
function com_graphicsvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return com_graphicsvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, com_graphicsvue_type_script_lang_js_typeof(o); }
|
|
60905
|
+
function com_graphicsvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ com_graphicsvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof Symbol ? Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return Object.defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = Object.getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(l); function g(t) { ["next", "throw", "return"].forEach(function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == com_graphicsvue_type_script_lang_js_typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], t.forEach(w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(com_graphicsvue_type_script_lang_js_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = Object.create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, catch: function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
|
|
60906
60906
|
function com_graphicsvue_type_script_lang_js_slicedToArray(r, e) { return com_graphicsvue_type_script_lang_js_arrayWithHoles(r) || com_graphicsvue_type_script_lang_js_iterableToArrayLimit(r, e) || com_graphicsvue_type_script_lang_js_unsupportedIterableToArray(r, e) || com_graphicsvue_type_script_lang_js_nonIterableRest(); }
|
|
60907
60907
|
function com_graphicsvue_type_script_lang_js_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
60908
60908
|
function com_graphicsvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
|
|
60909
60909
|
function com_graphicsvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
60910
60910
|
function com_graphicsvue_type_script_lang_js_iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
60911
60911
|
function com_graphicsvue_type_script_lang_js_arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
60912
|
-
var com_graphicsvue_type_script_lang_js_ref = /*#__PURE__*/
|
|
60913
|
-
return
|
|
60914
|
-
while (1) switch (_context.
|
|
60912
|
+
var com_graphicsvue_type_script_lang_js_ref = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee(v) {
|
|
60913
|
+
return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
60914
|
+
while (1) switch (_context.prev = _context.next) {
|
|
60915
60915
|
case 0:
|
|
60916
60916
|
if (false) {}
|
|
60917
|
-
_context.
|
|
60917
|
+
_context.next = 3;
|
|
60918
60918
|
return v;
|
|
60919
|
-
case
|
|
60920
|
-
_context.
|
|
60919
|
+
case 3:
|
|
60920
|
+
_context.next = 0;
|
|
60921
60921
|
break;
|
|
60922
|
-
case
|
|
60923
|
-
|
|
60922
|
+
case 5:
|
|
60923
|
+
case "end":
|
|
60924
|
+
return _context.stop();
|
|
60924
60925
|
}
|
|
60925
60926
|
}, _callee);
|
|
60926
60927
|
})(null),
|
|
@@ -60949,18 +60950,19 @@ var com_graphicsvue_type_script_lang_js_ref = /*#__PURE__*/com_graphicsvue_type_
|
|
|
60949
60950
|
com_graphicsvue_type_script_lang_js_renderTarget = com_graphicsvue_type_script_lang_js_ref2[21],
|
|
60950
60951
|
sceneClock = com_graphicsvue_type_script_lang_js_ref2[22],
|
|
60951
60952
|
mat4 = com_graphicsvue_type_script_lang_js_ref2[23];
|
|
60952
|
-
var _ref3 = /*#__PURE__*/
|
|
60953
|
-
return
|
|
60954
|
-
while (1) switch (_context2.
|
|
60953
|
+
var _ref3 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2(v) {
|
|
60954
|
+
return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
60955
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
60955
60956
|
case 0:
|
|
60956
60957
|
if (false) {}
|
|
60957
|
-
_context2.
|
|
60958
|
+
_context2.next = 3;
|
|
60958
60959
|
return v;
|
|
60959
|
-
case
|
|
60960
|
-
_context2.
|
|
60960
|
+
case 3:
|
|
60961
|
+
_context2.next = 0;
|
|
60961
60962
|
break;
|
|
60962
|
-
case
|
|
60963
|
-
|
|
60963
|
+
case 5:
|
|
60964
|
+
case "end":
|
|
60965
|
+
return _context2.stop();
|
|
60964
60966
|
}
|
|
60965
60967
|
}, _callee2);
|
|
60966
60968
|
})(0),
|
|
@@ -60971,18 +60973,19 @@ var _ref3 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(fun
|
|
|
60971
60973
|
timeStamp = _ref4[3],
|
|
60972
60974
|
progress = _ref4[4];
|
|
60973
60975
|
var singleFrameTime = 1 / 30;
|
|
60974
|
-
var _ref5 = /*#__PURE__*/
|
|
60975
|
-
return
|
|
60976
|
-
while (1) switch (_context3.
|
|
60976
|
+
var _ref5 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3(v) {
|
|
60977
|
+
return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
60978
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
60977
60979
|
case 0:
|
|
60978
60980
|
if (false) {}
|
|
60979
|
-
_context3.
|
|
60981
|
+
_context3.next = 3;
|
|
60980
60982
|
return v;
|
|
60981
|
-
case
|
|
60982
|
-
_context3.
|
|
60983
|
+
case 3:
|
|
60984
|
+
_context3.next = 0;
|
|
60983
60985
|
break;
|
|
60984
|
-
case
|
|
60985
|
-
|
|
60986
|
+
case 5:
|
|
60987
|
+
case "end":
|
|
60988
|
+
return _context3.stop();
|
|
60986
60989
|
}
|
|
60987
60990
|
}, _callee3);
|
|
60988
60991
|
})(false),
|
|
@@ -60995,18 +60998,19 @@ var _ref5 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regenerator().m(fun
|
|
|
60995
60998
|
moveLeft = _ref6[5],
|
|
60996
60999
|
moveRight = _ref6[6],
|
|
60997
61000
|
measureFlag = _ref6[7];
|
|
60998
|
-
var _ref7 = /*#__PURE__*/
|
|
60999
|
-
return
|
|
61000
|
-
while (1) switch (_context4.
|
|
61001
|
+
var _ref7 = /*#__PURE__*/com_graphicsvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4(v) {
|
|
61002
|
+
return com_graphicsvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
61003
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
61001
61004
|
case 0:
|
|
61002
61005
|
if (false) {}
|
|
61003
|
-
_context4.
|
|
61006
|
+
_context4.next = 3;
|
|
61004
61007
|
return v;
|
|
61005
|
-
case
|
|
61006
|
-
_context4.
|
|
61008
|
+
case 3:
|
|
61009
|
+
_context4.next = 0;
|
|
61007
61010
|
break;
|
|
61008
|
-
case
|
|
61009
|
-
|
|
61011
|
+
case 5:
|
|
61012
|
+
case "end":
|
|
61013
|
+
return _context4.stop();
|
|
61010
61014
|
}
|
|
61011
61015
|
}, _callee4);
|
|
61012
61016
|
})(true),
|
|
@@ -61130,7 +61134,7 @@ var guiParams = {
|
|
|
61130
61134
|
com_graphicsvue_type_script_lang_js_renderer.autoClearStencil = false;
|
|
61131
61135
|
},
|
|
61132
61136
|
initScene: function initScene() {
|
|
61133
|
-
|
|
61137
|
+
// modelGroup = new this.THREE.Group();
|
|
61134
61138
|
com_graphicsvue_type_script_lang_js_scene = new this.THREE.Scene();
|
|
61135
61139
|
},
|
|
61136
61140
|
initCamera: function initCamera() {
|
|
@@ -61178,6 +61182,7 @@ var guiParams = {
|
|
|
61178
61182
|
instances = _parseData.instances,
|
|
61179
61183
|
drawObjs = _parseData.drawObjs;
|
|
61180
61184
|
if (instances.length > 0) {
|
|
61185
|
+
com_graphicsvue_type_script_lang_js_modelGroup = new this.THREE.Group();
|
|
61181
61186
|
com_graphicsvue_type_script_lang_js_modelGroup = handleInstancedMeshModel(instances, drawObjs, '', com_graphicsvue_type_script_lang_js_scene, color, meshNameConfig);
|
|
61182
61187
|
var modelBox3 = new this.THREE.Box3();
|
|
61183
61188
|
modelBox3.expandByObject(com_graphicsvue_type_script_lang_js_modelGroup);
|
|
@@ -61589,28 +61594,39 @@ var guiParams = {
|
|
|
61589
61594
|
},
|
|
61590
61595
|
// 删除场景中所有的实体
|
|
61591
61596
|
removeAll: function removeAll() {
|
|
61592
|
-
var _this5 = this;
|
|
61593
61597
|
if (com_graphicsvue_type_script_lang_js_scene) {
|
|
61594
|
-
|
|
61595
|
-
|
|
61596
|
-
|
|
61597
|
-
|
|
61598
|
+
this.removeTraverse();
|
|
61599
|
+
}
|
|
61600
|
+
},
|
|
61601
|
+
removeTraverse: function removeTraverse() {
|
|
61602
|
+
var length = com_graphicsvue_type_script_lang_js_modelGroup.children.length;
|
|
61603
|
+
if (length > 0) {
|
|
61604
|
+
var list = com_graphicsvue_type_script_lang_js_modelGroup.children[0];
|
|
61605
|
+
list.traverse(function (item) {
|
|
61606
|
+
if (item.isMesh) {
|
|
61607
|
+
item.material.dispose();
|
|
61608
|
+
item.geometry.dispose();
|
|
61598
61609
|
item.clear();
|
|
61610
|
+
com_graphicsvue_type_script_lang_js_modelGroup.remove(item);
|
|
61599
61611
|
}
|
|
61612
|
+
});
|
|
61613
|
+
com_graphicsvue_type_script_lang_js_modelGroup.remove(list);
|
|
61614
|
+
this.removeTraverse();
|
|
61615
|
+
} else {
|
|
61616
|
+
// 在这里清除一些标记之类的
|
|
61617
|
+
com_graphicsvue_type_script_lang_js_scene.traverse(function (item) {
|
|
61600
61618
|
com_graphicsvue_type_script_lang_js_scene.remove(item);
|
|
61601
61619
|
});
|
|
61602
|
-
com_graphicsvue_type_script_lang_js_scene.
|
|
61620
|
+
com_graphicsvue_type_script_lang_js_scene.remove(com_graphicsvue_type_script_lang_js_modelGroup);
|
|
61621
|
+
com_graphicsvue_type_script_lang_js_renderer.clear();
|
|
61622
|
+
com_graphicsvue_type_script_lang_js_modelGroup = null;
|
|
61603
61623
|
}
|
|
61604
61624
|
},
|
|
61605
61625
|
// 销毁场景 释放内存
|
|
61606
61626
|
destroyScene: function destroyScene() {
|
|
61607
61627
|
cancelAnimationFrame(animateId);
|
|
61608
61628
|
if (com_graphicsvue_type_script_lang_js_scene) {
|
|
61609
|
-
|
|
61610
|
-
child.material && child.material.dispose();
|
|
61611
|
-
child.geometry && child.geometry.dispose();
|
|
61612
|
-
child = null;
|
|
61613
|
-
});
|
|
61629
|
+
this.removeTraverse();
|
|
61614
61630
|
com_graphicsvue_type_script_lang_js_scene.clear();
|
|
61615
61631
|
com_graphicsvue_type_script_lang_js_scene = null;
|
|
61616
61632
|
}
|
|
@@ -61631,11 +61647,11 @@ var guiParams = {
|
|
|
61631
61647
|
}
|
|
61632
61648
|
*/
|
|
61633
61649
|
drawCurve: function drawCurve(params) {
|
|
61634
|
-
var
|
|
61650
|
+
var _this5 = this;
|
|
61635
61651
|
this.removeObjectByName(params.name);
|
|
61636
61652
|
var route = [];
|
|
61637
61653
|
params.path.forEach(function (element) {
|
|
61638
|
-
route.push(new
|
|
61654
|
+
route.push(new _this5.THREE.Vector3(element.x, element.y, element.z));
|
|
61639
61655
|
});
|
|
61640
61656
|
if (route.length > 1) {
|
|
61641
61657
|
com_graphicsvue_type_script_lang_js_curve = new this.THREE.CatmullRomCurve3(route);
|
|
@@ -61659,11 +61675,11 @@ var guiParams = {
|
|
|
61659
61675
|
}
|
|
61660
61676
|
*/
|
|
61661
61677
|
drawTextureCurve: function drawTextureCurve(params) {
|
|
61662
|
-
var
|
|
61678
|
+
var _this6 = this;
|
|
61663
61679
|
this.removeObjectByName(params.name);
|
|
61664
61680
|
var route = [];
|
|
61665
61681
|
params.path.forEach(function (element) {
|
|
61666
|
-
route.push(new
|
|
61682
|
+
route.push(new _this6.THREE.Vector3(element.x, element.y, element.z));
|
|
61667
61683
|
});
|
|
61668
61684
|
// 画曲线
|
|
61669
61685
|
if (route.length > 1) {
|
|
@@ -61765,13 +61781,13 @@ var guiParams = {
|
|
|
61765
61781
|
* 参数val: 爆炸的值
|
|
61766
61782
|
*/
|
|
61767
61783
|
globalBomb: function globalBomb(val) {
|
|
61768
|
-
var
|
|
61784
|
+
var _this7 = this;
|
|
61769
61785
|
if (com_graphicsvue_type_script_lang_js_scene.children.length === 0) return;
|
|
61770
61786
|
for (var i = 0; i < com_graphicsvue_type_script_lang_js_scene.children.length; i++) {
|
|
61771
61787
|
com_graphicsvue_type_script_lang_js_scene.children[i].traverse(function (item) {
|
|
61772
61788
|
if (!item.isMesh || !item.worldDir) return;
|
|
61773
61789
|
// 爆炸公式
|
|
61774
|
-
|
|
61790
|
+
_this7.computedBomb(item, val);
|
|
61775
61791
|
});
|
|
61776
61792
|
}
|
|
61777
61793
|
// this.timeRender();
|
|
@@ -61938,7 +61954,7 @@ var guiParams = {
|
|
|
61938
61954
|
},
|
|
61939
61955
|
// 页面是否锁定
|
|
61940
61956
|
initPointerLock: function initPointerLock() {
|
|
61941
|
-
var
|
|
61957
|
+
var _this8 = this;
|
|
61942
61958
|
this.home();
|
|
61943
61959
|
setTimeout(function () {
|
|
61944
61960
|
pointControls = new PointerLockControls(com_graphicsvue_type_script_lang_js_camera, com_graphicsvue_type_script_lang_js_renderer.domElement);
|
|
@@ -61946,10 +61962,10 @@ var guiParams = {
|
|
|
61946
61962
|
// 锁定
|
|
61947
61963
|
pointControls.addEventListener('lock', function () {
|
|
61948
61964
|
cameraControls.enabled = false;
|
|
61949
|
-
window.addEventListener('keydown',
|
|
61950
|
-
window.addEventListener('keyup',
|
|
61951
|
-
com_graphicsvue_type_script_lang_js_renderer.domElement.removeEventListener('mouseup',
|
|
61952
|
-
com_graphicsvue_type_script_lang_js_renderer.domElement.removeEventListener('mousedown',
|
|
61965
|
+
window.addEventListener('keydown', _this8.onKeyDown, false);
|
|
61966
|
+
window.addEventListener('keyup', _this8.onKeyUp, false);
|
|
61967
|
+
com_graphicsvue_type_script_lang_js_renderer.domElement.removeEventListener('mouseup', _this8.mouseClick, false);
|
|
61968
|
+
com_graphicsvue_type_script_lang_js_renderer.domElement.removeEventListener('mousedown', _this8.mouseDown, false);
|
|
61953
61969
|
});
|
|
61954
61970
|
// 解锁
|
|
61955
61971
|
pointControls.addEventListener('unlock', function () {
|
|
@@ -61959,10 +61975,10 @@ var guiParams = {
|
|
|
61959
61975
|
cameraControls.reset(true);
|
|
61960
61976
|
cameraControls.update(0);
|
|
61961
61977
|
setTimeout(function () {
|
|
61962
|
-
window.removeEventListener('keydown',
|
|
61963
|
-
window.removeEventListener('keyup',
|
|
61964
|
-
com_graphicsvue_type_script_lang_js_renderer.domElement.addEventListener('mouseup',
|
|
61965
|
-
com_graphicsvue_type_script_lang_js_renderer.domElement.addEventListener('mousedown',
|
|
61978
|
+
window.removeEventListener('keydown', _this8.onKeyDown);
|
|
61979
|
+
window.removeEventListener('keyup', _this8.onKeyUp);
|
|
61980
|
+
com_graphicsvue_type_script_lang_js_renderer.domElement.addEventListener('mouseup', _this8.mouseClick, false);
|
|
61981
|
+
com_graphicsvue_type_script_lang_js_renderer.domElement.addEventListener('mousedown', _this8.mouseDown, false);
|
|
61966
61982
|
// this.timeRender()
|
|
61967
61983
|
}, 0);
|
|
61968
61984
|
});
|
|
@@ -62165,11 +62181,11 @@ var guiParams = {
|
|
|
62165
62181
|
参数: object, 目标实体,
|
|
62166
62182
|
*/
|
|
62167
62183
|
isolate: function isolate(object) {
|
|
62168
|
-
var
|
|
62184
|
+
var _this9 = this;
|
|
62169
62185
|
// 隔离 将目标实体以外的实体隐藏掉
|
|
62170
62186
|
com_graphicsvue_type_script_lang_js_scene.traverse(function (item) {
|
|
62171
62187
|
if (item.isMesh && item.name !== object.name) {
|
|
62172
|
-
var offsetMatrix = new
|
|
62188
|
+
var offsetMatrix = new _this9.THREE.Matrix4().copy(item.userData.copyMatrix).makeTranslation(9999999, 9999999, 9999999);
|
|
62173
62189
|
item.setMatrixAt(item.userData.instanceIndex, offsetMatrix);
|
|
62174
62190
|
item.instanceMatrix.needsUpdate = true;
|
|
62175
62191
|
}
|
|
@@ -62177,7 +62193,7 @@ var guiParams = {
|
|
|
62177
62193
|
},
|
|
62178
62194
|
// 还原操作 将修改过的实体进行恢复
|
|
62179
62195
|
restore: function restore() {
|
|
62180
|
-
var
|
|
62196
|
+
var _this0 = this;
|
|
62181
62197
|
com_graphicsvue_type_script_lang_js_scene.traverse(function (item) {
|
|
62182
62198
|
if (item.isMesh) {
|
|
62183
62199
|
item.setColorAt(item.userData.instanceIndex, item.material.userData.nColor);
|
|
@@ -62197,14 +62213,14 @@ var guiParams = {
|
|
|
62197
62213
|
item.userData.translateMatrixInvert = null;
|
|
62198
62214
|
}
|
|
62199
62215
|
if (item.userData.combineMatrixInvert) {
|
|
62200
|
-
|
|
62216
|
+
_this0.rotateMesh(item, {
|
|
62201
62217
|
x: 0,
|
|
62202
62218
|
y: 0,
|
|
62203
62219
|
z: 0
|
|
62204
62220
|
});
|
|
62205
62221
|
item.userData.combineMatrixInvert = null;
|
|
62206
62222
|
}
|
|
62207
|
-
var offsetMatrix = new
|
|
62223
|
+
var offsetMatrix = new _this0.THREE.Matrix4().copy(item.userData.copyMatrix);
|
|
62208
62224
|
item.setMatrixAt(item.userData.instanceIndex, offsetMatrix);
|
|
62209
62225
|
item.instanceMatrix.needsUpdate = true;
|
|
62210
62226
|
}
|
|
@@ -62212,7 +62228,7 @@ var guiParams = {
|
|
|
62212
62228
|
},
|
|
62213
62229
|
// 添加自定义模型, 暂时只支持glb、gltf格式
|
|
62214
62230
|
addCustomModel: function addCustomModel(name, position, url) {
|
|
62215
|
-
var
|
|
62231
|
+
var _this1 = this;
|
|
62216
62232
|
var scale = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
62217
62233
|
var immediately = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
|
|
62218
62234
|
var callback = arguments.length > 5 ? arguments[5] : undefined;
|
|
@@ -62230,9 +62246,9 @@ var guiParams = {
|
|
|
62230
62246
|
locationModel.userData.cull = false;
|
|
62231
62247
|
locationModel.name = name;
|
|
62232
62248
|
com_graphicsvue_type_script_lang_js_scene.add(locationModel);
|
|
62233
|
-
locationModel.position.copy(new
|
|
62249
|
+
locationModel.position.copy(new _this1.THREE.Vector3(position.x, position.y, position.z));
|
|
62234
62250
|
if (gltf.animations.length > 0) {
|
|
62235
|
-
var actionMixer = new
|
|
62251
|
+
var actionMixer = new _this1.THREE.AnimationMixer(gltf.scene);
|
|
62236
62252
|
var walkActive = actionMixer.clipAction(gltf.animations[0]);
|
|
62237
62253
|
walkActive.play();
|
|
62238
62254
|
modelActive.push(walkActive);
|
|
@@ -62243,7 +62259,7 @@ var guiParams = {
|
|
|
62243
62259
|
},
|
|
62244
62260
|
// 删除添加的自定义模型
|
|
62245
62261
|
removeCustomModel: function removeCustomModel(name) {
|
|
62246
|
-
var
|
|
62262
|
+
var _this10 = this;
|
|
62247
62263
|
var obj = this.getObjectByName(name);
|
|
62248
62264
|
obj.forEach(function (item, index) {
|
|
62249
62265
|
if (item.animations > 0) {
|
|
@@ -62252,7 +62268,7 @@ var guiParams = {
|
|
|
62252
62268
|
modelActions[index].uncacheRoot(modelActive[index]);
|
|
62253
62269
|
}
|
|
62254
62270
|
item.traverse(function (child) {
|
|
62255
|
-
if (child instanceof
|
|
62271
|
+
if (child instanceof _this10.THREE.Mesh) {
|
|
62256
62272
|
child.geometry.dispose();
|
|
62257
62273
|
child.material.dispose();
|
|
62258
62274
|
}
|
|
@@ -62337,8 +62353,8 @@ var guiParams = {
|
|
|
62337
62353
|
});
|
|
62338
62354
|
// CONCATENATED MODULE: ./packages/components/com-graphics/index.vue?vue&type=script&lang=js
|
|
62339
62355
|
/* harmony default export */ var components_com_graphicsvue_type_script_lang_js = (com_graphicsvue_type_script_lang_js);
|
|
62340
|
-
// EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=
|
|
62341
|
-
var
|
|
62356
|
+
// EXTERNAL MODULE: ./packages/components/com-graphics/index.vue?vue&type=style&index=0&id=0134be08&prod&lang=scss&scoped=true
|
|
62357
|
+
var com_graphicsvue_type_style_index_0_id_0134be08_prod_lang_scss_scoped_true = __webpack_require__("0ccb");
|
|
62342
62358
|
|
|
62343
62359
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
62344
62360
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -62449,17 +62465,17 @@ function normalizeComponent(
|
|
|
62449
62465
|
|
|
62450
62466
|
var component = normalizeComponent(
|
|
62451
62467
|
components_com_graphicsvue_type_script_lang_js,
|
|
62452
|
-
|
|
62468
|
+
com_graphicsvue_type_template_id_0134be08_scoped_true_render,
|
|
62453
62469
|
staticRenderFns,
|
|
62454
62470
|
false,
|
|
62455
62471
|
null,
|
|
62456
|
-
"
|
|
62472
|
+
"0134be08",
|
|
62457
62473
|
null
|
|
62458
62474
|
|
|
62459
62475
|
)
|
|
62460
62476
|
|
|
62461
62477
|
/* harmony default export */ var com_graphics = (component.exports);
|
|
62462
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
62478
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0cfbbe05-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-flcanvas/index.vue?vue&type=template&id=1eba8e28&scoped=true
|
|
62463
62479
|
var com_flcanvasvue_type_template_id_1eba8e28_scoped_true_render = function render() {
|
|
62464
62480
|
var _vm = this,
|
|
62465
62481
|
_c = _vm._self._c;
|
|
@@ -65658,7 +65674,7 @@ var com_flcanvas_component = normalizeComponent(
|
|
|
65658
65674
|
)
|
|
65659
65675
|
|
|
65660
65676
|
/* harmony default export */ var com_flcanvas = (com_flcanvas_component.exports);
|
|
65661
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65677
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0cfbbe05-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/per-control.vue?vue&type=template&id=f547d5c6&scoped=true
|
|
65662
65678
|
var per_controlvue_type_template_id_f547d5c6_scoped_true_render = function render() {
|
|
65663
65679
|
var _vm = this,
|
|
65664
65680
|
_c = _vm._self._c;
|
|
@@ -65766,7 +65782,7 @@ var per_control_component = normalizeComponent(
|
|
|
65766
65782
|
)
|
|
65767
65783
|
|
|
65768
65784
|
/* harmony default export */ var per_control = (per_control_component.exports);
|
|
65769
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
65785
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0cfbbe05-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/components/com-graphics/pid.vue?vue&type=template&id=0ec35ee4&scoped=true
|
|
65770
65786
|
var pidvue_type_template_id_0ec35ee4_scoped_true_render = function render() {
|
|
65771
65787
|
var _vm = this,
|
|
65772
65788
|
_c = _vm._self._c;
|