x_ite 10.5.10 → 10.5.12

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.
Files changed (49) hide show
  1. package/README.md +4 -4
  2. package/dist/assets/components/AnnotationComponent.js +2 -2
  3. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  4. package/dist/assets/components/CADGeometryComponent.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  6. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  8. package/dist/assets/components/DISComponent.js +2 -2
  9. package/dist/assets/components/DISComponent.min.js +2 -2
  10. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  12. package/dist/assets/components/Geometry2DComponent.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  14. package/dist/assets/components/GeospatialComponent.js +2 -2
  15. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  16. package/dist/assets/components/HAnimComponent.js +2 -2
  17. package/dist/assets/components/HAnimComponent.min.js +2 -2
  18. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  19. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  20. package/dist/assets/components/LayoutComponent.js +8 -42
  21. package/dist/assets/components/LayoutComponent.min.js +2 -2
  22. package/dist/assets/components/NURBSComponent.js +2 -2
  23. package/dist/assets/components/NURBSComponent.min.js +2 -2
  24. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  25. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  26. package/dist/assets/components/PickingComponent.js +2 -2
  27. package/dist/assets/components/PickingComponent.min.js +2 -2
  28. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  29. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  30. package/dist/assets/components/ScriptingComponent.js +2 -2
  31. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  32. package/dist/assets/components/TextComponent.js +4 -4
  33. package/dist/assets/components/TextComponent.min.js +2 -2
  34. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  35. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  36. package/dist/assets/components/Texturing3DComponent.js +10 -10
  37. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  38. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  39. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  40. package/dist/assets/components/X_ITEComponent.js +2 -2
  41. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +98 -88
  45. package/dist/x_ite.min.js +2 -2
  46. package/dist/x_ite.min.mjs +2 -2
  47. package/dist/x_ite.mjs +98 -88
  48. package/dist/x_ite.zip +0 -0
  49. package/package.json +2 -2
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v10.5.10 */
1
+ /* X_ITE v10.5.12 */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory();
@@ -12,10 +12,10 @@
12
12
  return /******/ (() => { // webpackBootstrap
13
13
  /******/ var __webpack_modules__ = ({
14
14
 
15
- /***/ 367:
15
+ /***/ 823:
16
16
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
17
17
 
18
- /* provided dependency */ var jQuery = __webpack_require__(427);
18
+ /* provided dependency */ var jQuery = __webpack_require__(827);
19
19
  /**
20
20
  * @preserve jquery.fullscreen 1.1.5
21
21
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -211,7 +211,7 @@ installFullScreenHandlers();
211
211
 
212
212
  /***/ }),
213
213
 
214
- /***/ 675:
214
+ /***/ 739:
215
215
  /***/ ((module, exports, __webpack_require__) => {
216
216
 
217
217
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -225,7 +225,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
225
225
  (function (factory) {
226
226
  if ( true ) {
227
227
  // AMD. Register as an anonymous module.
228
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(427)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
228
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(827)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
229
229
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
230
230
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
231
231
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -436,7 +436,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
436
436
 
437
437
  /***/ }),
438
438
 
439
- /***/ 427:
439
+ /***/ 827:
440
440
  /***/ (function(module, exports) {
441
441
 
442
442
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11160,7 +11160,7 @@ return jQuery;
11160
11160
 
11161
11161
  /***/ }),
11162
11162
 
11163
- /***/ 800:
11163
+ /***/ 688:
11164
11164
  /***/ ((module) => {
11165
11165
 
11166
11166
  /**
@@ -15939,7 +15939,7 @@ if (true) {
15939
15939
 
15940
15940
  /***/ }),
15941
15941
 
15942
- /***/ 355:
15942
+ /***/ 779:
15943
15943
  /***/ (function(__unused_webpack_module, exports) {
15944
15944
 
15945
15945
 
@@ -19184,7 +19184,7 @@ if (true) {
19184
19184
 
19185
19185
  /***/ }),
19186
19186
 
19187
- /***/ 388:
19187
+ /***/ 428:
19188
19188
  /***/ (function(module, exports) {
19189
19189
 
19190
19190
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20311,7 +20311,7 @@ Object .defineProperty (Namespace, "add",
20311
20311
  return module;
20312
20312
  }
20313
20313
 
20314
- const X3D = window [Symbol .for ("X_ITE.X3D-10.5.10")];
20314
+ const X3D = window [Symbol .for ("X_ITE.X3D-10.5.12")];
20315
20315
 
20316
20316
  if (X3D)
20317
20317
  X3D [name] = module;
@@ -34187,7 +34187,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34187
34187
 
34188
34188
  /* harmony default export */ const Base_X3DBaseNode = (x_ite_Namespace .add ("X3DBaseNode", X3DBaseNode_default_));
34189
34189
  ;// ./src/x_ite/Browser/Legacy.js
34190
- /* provided dependency */ var $ = __webpack_require__(427);
34190
+ /* provided dependency */ var $ = __webpack_require__(827);
34191
34191
  /*******************************************************************************
34192
34192
  *
34193
34193
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34323,7 +34323,7 @@ const Legacy_default_ = Legacy;
34323
34323
  *
34324
34324
  ******************************************************************************/
34325
34325
 
34326
- const BROWSER_VERSION_default_ = "10.5.10";
34326
+ const BROWSER_VERSION_default_ = "10.5.12";
34327
34327
  ;
34328
34328
 
34329
34329
  /* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
@@ -37352,7 +37352,7 @@ const X3DBindableNode_default_ = X3DBindableNode;
37352
37352
 
37353
37353
  /* harmony default export */ const Core_X3DBindableNode = (x_ite_Namespace .add ("X3DBindableNode", X3DBindableNode_default_));
37354
37354
  ;// ./src/standard/Math/Geometry/Triangle3.js
37355
- /* provided dependency */ var libtess = __webpack_require__(800);
37355
+ /* provided dependency */ var libtess = __webpack_require__(688);
37356
37356
  /*******************************************************************************
37357
37357
  *
37358
37358
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39918,7 +39918,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39918
39918
 
39919
39919
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (x_ite_Namespace .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
39920
39920
  ;// ./src/x_ite/Parser/X3DParser.js
39921
- /* provided dependency */ var X3DParser_$ = __webpack_require__(427);
39921
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(827);
39922
39922
  /*******************************************************************************
39923
39923
  *
39924
39924
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -40173,7 +40173,7 @@ const Expressions_default_ = Expressions;
40173
40173
 
40174
40174
  /* harmony default export */ const Parser_Expressions = (x_ite_Namespace .add ("Expressions", Expressions_default_));
40175
40175
  ;// ./src/x_ite/Parser/VRMLParser.js
40176
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(427);
40176
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(827);
40177
40177
  /*******************************************************************************
40178
40178
  *
40179
40179
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42813,7 +42813,7 @@ const VRMLParser_default_ = VRMLParser;
42813
42813
 
42814
42814
  /* harmony default export */ const Parser_VRMLParser = (x_ite_Namespace .add ("VRMLParser", VRMLParser_default_));
42815
42815
  ;// ./src/x_ite/Parser/XMLParser.js
42816
- /* provided dependency */ var XMLParser_$ = __webpack_require__(427);
42816
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(827);
42817
42817
  /*******************************************************************************
42818
42818
  *
42819
42819
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43603,8 +43603,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
43603
43603
  scriptElement (element)
43604
43604
  {
43605
43605
  const
43606
- domParser = new DOMParser (),
43607
- scriptDocument = domParser .parseFromString (element .outerHTML, "application/xml"),
43606
+ scriptDocument = XMLParser_$.parseXML (element .outerHTML, "application/xml"),
43608
43607
  childNodes = scriptDocument .children [0] .childNodes;
43609
43608
 
43610
43609
  element .textContent = "// Content moved into childNodes.";
@@ -44036,6 +44035,7 @@ const XMLParser_default_ = XMLParser;
44036
44035
 
44037
44036
  /* harmony default export */ const Parser_XMLParser = (x_ite_Namespace .add ("XMLParser", XMLParser_default_));
44038
44037
  ;// ./src/x_ite/Parser/JSONParser.js
44038
+ /* provided dependency */ var JSONParser_$ = __webpack_require__(827);
44039
44039
  /*******************************************************************************
44040
44040
  *
44041
44041
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -44215,7 +44215,7 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
44215
44215
  createCDATA (document, element, str)
44216
44216
  {
44217
44217
  const
44218
- docu = new DOMParser () .parseFromString ("<xml></xml>", "application/xml"),
44218
+ docu = JSONParser_$.parseXML ("<xml></xml>", "application/xml"),
44219
44219
  cdata = docu .createCDATASection (str);
44220
44220
 
44221
44221
  element .appendChild (cdata);
@@ -44991,7 +44991,7 @@ const URLs_default_ = URLs;
44991
44991
 
44992
44992
  /* harmony default export */ const Networking_URLs = (x_ite_Namespace .add ("URLs", URLs_default_));
44993
44993
  ;// ./src/x_ite/Parser/GLTF2Parser.js
44994
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(427);
44994
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(827);
44995
44995
  /*******************************************************************************
44996
44996
  *
44997
44997
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -48389,22 +48389,28 @@ function eventsProcessed ()
48389
48389
 
48390
48390
  const coordinateInterpolatorNode = this .createArrayInterpolator ("CoordinateInterpolator", interpolation, times, keyValues .array, cycleInterval, targets, attributes, "POSITION");
48391
48391
 
48392
- if (coordinateInterpolatorNode)
48392
+ if (coordinateInterpolatorNode ?._key .length > 1)
48393
48393
  {
48394
- interpolatorNodes .push (coordinateInterpolatorNode);
48394
+ if (coordinateInterpolatorNode ._keyValue .length / coordinateInterpolatorNode ._key .length === geometryNode ._coord .point .length)
48395
+ {
48396
+ interpolatorNodes .push (coordinateInterpolatorNode);
48395
48397
 
48396
- scene .addRoute (timeSensorNode, "fraction_changed", coordinateInterpolatorNode, "set_fraction");
48397
- scene .addRoute (coordinateInterpolatorNode, "value_changed", geometryNode ._coord, "point");
48398
+ scene .addRoute (timeSensorNode, "fraction_changed", coordinateInterpolatorNode, "set_fraction");
48399
+ scene .addRoute (coordinateInterpolatorNode, "value_changed", geometryNode ._coord, "point");
48400
+ }
48398
48401
  }
48399
48402
 
48400
48403
  const normalInterpolatorNode = this .createArrayInterpolator ("NormalInterpolator", interpolation, times, keyValues .array, cycleInterval, targets, attributes, "NORMAL");
48401
48404
 
48402
- if (normalInterpolatorNode)
48405
+ if (normalInterpolatorNode ?._key .length > 1)
48403
48406
  {
48404
- interpolatorNodes .push (normalInterpolatorNode);
48407
+ if (normalInterpolatorNode ._keyValue .length / normalInterpolatorNode ._key .length === geometryNode ._normal .vector .length)
48408
+ {
48409
+ interpolatorNodes .push (normalInterpolatorNode);
48405
48410
 
48406
- scene .addRoute (timeSensorNode, "fraction_changed", normalInterpolatorNode, "set_fraction");
48407
- scene .addRoute (normalInterpolatorNode, "value_changed", geometryNode ._normal, "vector");
48411
+ scene .addRoute (timeSensorNode, "fraction_changed", normalInterpolatorNode, "set_fraction");
48412
+ scene .addRoute (normalInterpolatorNode, "value_changed", geometryNode ._normal, "vector");
48413
+ }
48408
48414
  }
48409
48415
  }
48410
48416
 
@@ -48998,7 +49004,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
48998
49004
 
48999
49005
  /* harmony default export */ const Parser_GLTF2Parser = (x_ite_Namespace .add ("GLTF2Parser", GLTF2Parser_default_));
49000
49006
  ;// ./src/x_ite/Parser/GLB2Parser.js
49001
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(427);
49007
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(827);
49002
49008
  /*******************************************************************************
49003
49009
  *
49004
49010
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49149,7 +49155,7 @@ const GLB2Parser_default_ = GLB2Parser;
49149
49155
 
49150
49156
  /* harmony default export */ const Parser_GLB2Parser = (x_ite_Namespace .add ("GLB2Parser", GLB2Parser_default_));
49151
49157
  ;// ./src/x_ite/Parser/OBJParser.js
49152
- /* provided dependency */ var OBJParser_$ = __webpack_require__(427);
49158
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(827);
49153
49159
  /*******************************************************************************
49154
49160
  *
49155
49161
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52516,8 +52522,8 @@ const MatrixStack_default_ = MatrixStack;
52516
52522
 
52517
52523
  /* harmony default export */ const Utility_MatrixStack = (x_ite_Namespace .add ("MatrixStack", MatrixStack_default_));
52518
52524
  ;// ./src/x_ite/Parser/SVGParser.js
52519
- /* provided dependency */ var SVGParser_$ = __webpack_require__(427);
52520
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(800);
52525
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(827);
52526
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(688);
52521
52527
  /*******************************************************************************
52522
52528
  *
52523
52529
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52653,8 +52659,7 @@ function SVGParser (scene)
52653
52659
  this .strokeGeometries = new Map ();
52654
52660
  this .lineProperties = new Map ();
52655
52661
  this .tessy = this .createTesselator ();
52656
- this .canvas = document .createElement ("canvas");
52657
- this .context = this .canvas .getContext ("2d");
52662
+ this .context = document .createElement ("canvas") .getContext ("2d", { willReadFrequently: true });
52658
52663
  this .numSwitchNodes = 0;
52659
52664
 
52660
52665
  this .styles = [{
@@ -52708,8 +52713,9 @@ function SVGParser (scene)
52708
52713
  break;
52709
52714
  }
52710
52715
 
52711
- this .canvas .width = this .GRADIENT_SIZE;
52712
- this .canvas .height = this .GRADIENT_SIZE;
52716
+ // Use .canvas to support foreign 2d libs.
52717
+ this .context .canvas .width = this .GRADIENT_SIZE;
52718
+ this .context .canvas .height = this .GRADIENT_SIZE;
52713
52719
  }
52714
52720
 
52715
52721
  Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .prototype),
@@ -53726,7 +53732,7 @@ Object .assign (Object .setPrototypeOf (SVGParser .prototype, Parser_X3DParser .
53726
53732
  cx .restore ();
53727
53733
 
53728
53734
  // Use PNG because image can have alpha channel.
53729
- return this .canvas .toDataURL ("image/png");
53735
+ return this .context .canvas .toDataURL ("image/png");
53730
53736
  },
53731
53737
  patternUrl (xmlElement)
53732
53738
  {
@@ -55296,7 +55302,7 @@ const SVGParser_default_ = SVGParser;
55296
55302
 
55297
55303
  /* harmony default export */ const Parser_SVGParser = (x_ite_Namespace .add ("SVGParser", SVGParser_default_));
55298
55304
  ;// ./src/x_ite/Parser/GoldenGate.js
55299
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(427);
55305
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(827);
55300
55306
  /*******************************************************************************
55301
55307
  *
55302
55308
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60289,7 +60295,7 @@ const MikkTSpace_default_ = new class MikkTSpace
60289
60295
  {
60290
60296
  if (response .headers .get ("Content-Type") !== "application/wasm")
60291
60297
  {
60292
- console .warn ("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", error);
60298
+ // console .warn ("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", error);
60293
60299
  }
60294
60300
  else
60295
60301
  {
@@ -63315,7 +63321,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
63315
63321
 
63316
63322
  /* harmony default export */ const Texturing_X3DTexture2DNode = (x_ite_Namespace .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
63317
63323
  ;// ./src/x_ite/Components/Texturing/ImageTexture.js
63318
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(427);
63324
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(827);
63319
63325
  /*******************************************************************************
63320
63326
  *
63321
63327
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -63518,8 +63524,9 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
63518
63524
  height = Math_Algorithm .nextPowerOfTwo (height);
63519
63525
  }
63520
63526
 
63521
- canvas .width = width;
63522
- canvas .height = height;
63527
+ // Use .canvas to support foreign 2d libs.
63528
+ cx .canvas .width = width;
63529
+ cx .canvas .height = height;
63523
63530
 
63524
63531
  cx .clearRect (0, 0, width, height);
63525
63532
  cx .drawImage (image, 0, 0, image .width, image .height, 0, 0, width, height);
@@ -66741,7 +66748,7 @@ const X3DWorld_default_ = X3DWorld;
66741
66748
 
66742
66749
  /* harmony default export */ const Execution_X3DWorld = (x_ite_Namespace .add ("X3DWorld", X3DWorld_default_));
66743
66750
  ;// ./src/x_ite/InputOutput/FileLoader.js
66744
- /* provided dependency */ var FileLoader_$ = __webpack_require__(427);
66751
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(827);
66745
66752
  /*******************************************************************************
66746
66753
  *
66747
66754
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67705,7 +67712,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
67705
67712
 
67706
67713
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (x_ite_Namespace .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
67707
67714
  ;// ./src/x_ite/Routing/X3DRoute.js
67708
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(427);
67715
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(827);
67709
67716
  /*******************************************************************************
67710
67717
  *
67711
67718
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -91385,7 +91392,7 @@ mediump samplerCube textureCube;
91385
91392
 
91386
91393
  /* harmony default export */ const MaterialTextures = (x_ite_Namespace .add ("MaterialTextures", MaterialTextures_default_));
91387
91394
  ;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
91388
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(427);
91395
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(827);
91389
91396
  /*******************************************************************************
91390
91397
  *
91391
91398
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -96682,7 +96689,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
96682
96689
 
96683
96690
  /* harmony default export */ const Shaders_ShaderCompiler = (x_ite_Namespace .add ("ShaderCompiler", ShaderCompiler_default_));
96684
96691
  ;// ./src/x_ite/Components/Shaders/ShaderPart.js
96685
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(427);
96692
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(827);
96686
96693
  /*******************************************************************************
96687
96694
  *
96688
96695
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -97280,7 +97287,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
97280
97287
 
97281
97288
  /* harmony default export */ const Shape_X3DAppearanceNode = (x_ite_Namespace .add ("X3DAppearanceNode", X3DAppearanceNode_default_));
97282
97289
  ;// ./src/x_ite/Components/Shape/Appearance.js
97283
- /* provided dependency */ var Appearance_$ = __webpack_require__(427);
97290
+ /* provided dependency */ var Appearance_$ = __webpack_require__(827);
97284
97291
  /*******************************************************************************
97285
97292
  *
97286
97293
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105210,10 +105217,9 @@ Object .assign (Object .setPrototypeOf (WaveShaper .prototype, Sound_X3DSoundPro
105210
105217
  },
105211
105218
  set_curve__ ()
105212
105219
  {
105213
- if (this ._curve .length < 2)
105214
- this ._curve .length = 2;
105215
-
105216
- this .waveShaperNode .curve = this ._curve .shrinkToFit ();
105220
+ this .waveShaperNode .curve = this ._curve .length < 2
105221
+ ? new Float32Array (2)
105222
+ : this ._curve .shrinkToFit ();
105217
105223
  },
105218
105224
  set_oversample__: (function ()
105219
105225
  {
@@ -105512,8 +105518,8 @@ const GifMedia_default_ = GifMedia;
105512
105518
 
105513
105519
  /* harmony default export */ const Texturing_GifMedia = (x_ite_Namespace .add ("GifMedia", GifMedia_default_));
105514
105520
  ;// ./src/x_ite/Components/Texturing/MovieTexture.js
105515
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(427);
105516
- /* provided dependency */ var SuperGif = __webpack_require__(388);
105521
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(827);
105522
+ /* provided dependency */ var SuperGif = __webpack_require__(428);
105517
105523
  /*******************************************************************************
105518
105524
  *
105519
105525
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105747,8 +105753,11 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
105747
105753
  {
105748
105754
  const media = this .getMediaElement ();
105749
105755
 
105750
- if (media)
105751
- media .playbackRate = this ._speed .getValue () * Math .max (this ._pitch .getValue (), 0);
105756
+ if (!media)
105757
+ return;
105758
+
105759
+ media .playbackRate = this ._speed .getValue () * Math .max (this ._pitch .getValue (), 0);
105760
+ media .preservesPitch = this ._pitch .getValue () === 1;
105752
105761
  },
105753
105762
  set_time ()
105754
105763
  {
@@ -106560,8 +106569,7 @@ Object .assign (Object .setPrototypeOf (PixelTexture .prototype, Texturing_X3DTe
106560
106569
  }
106561
106570
  else
106562
106571
  {
106563
- if (!this .canvas)
106564
- this .canvas = [document .createElement ("canvas"), document .createElement ("canvas")];
106572
+ this .canvas ??= [document .createElement ("canvas"), document .createElement ("canvas")];
106565
106573
 
106566
106574
  const
106567
106575
  canvas1 = this .canvas [0],
@@ -106570,8 +106578,9 @@ Object .assign (Object .setPrototypeOf (PixelTexture .prototype, Texturing_X3DTe
106570
106578
  cx2 = canvas2 .getContext ("2d", { willReadFrequently: true }),
106571
106579
  imageData = cx1 .createImageData (width, height);
106572
106580
 
106573
- canvas1 .width = width;
106574
- canvas1 .height = height;
106581
+ // Use .canvas to support foreign 2d libs.
106582
+ cx1 .canvas .width = width;
106583
+ cx1 .canvas .height = height;
106575
106584
 
106576
106585
  this .convert (imageData .data, comp, array .getValue (), array .length);
106577
106586
  cx1 .putImageData (imageData, 0, 0);
@@ -106579,8 +106588,9 @@ Object .assign (Object .setPrototypeOf (PixelTexture .prototype, Texturing_X3DTe
106579
106588
  width = Math_Algorithm .nextPowerOfTwo (width);
106580
106589
  height = Math_Algorithm .nextPowerOfTwo (height);
106581
106590
 
106582
- canvas2 .width = width;
106583
- canvas2 .height = height;
106591
+ // Use .canvas to support foreign 2d libs.
106592
+ cx2 .canvas .width = width;
106593
+ cx2 .canvas .height = height;
106584
106594
 
106585
106595
  cx2 .clearRect (0, 0, width, height);
106586
106596
  cx2 .drawImage (canvas1, 0, 0, canvas1 .width, canvas1 .height, 0, 0, width, height);
@@ -107982,7 +107992,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
107982
107992
 
107983
107993
  /* harmony default export */ const gettext = (x_ite_Namespace .add ("gettext", gettext_default_));
107984
107994
  ;// ./src/x_ite/Browser/Core/BrowserTimings.js
107985
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(427);
107995
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(827);
107986
107996
  /*******************************************************************************
107987
107997
  *
107988
107998
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -108612,7 +108622,7 @@ const TextCompression_default_ = TextCompression;
108612
108622
 
108613
108623
  /* harmony default export */ const Core_TextCompression = (x_ite_Namespace .add ("TextCompression", TextCompression_default_));
108614
108624
  ;// ./src/x_ite/Browser/Core/BrowserOptions.js
108615
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(427);
108625
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(827);
108616
108626
  /*******************************************************************************
108617
108627
  *
108618
108628
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109259,7 +109269,7 @@ const RenderingProperties_default_ = RenderingProperties;
109259
109269
 
109260
109270
  /* harmony default export */ const Core_RenderingProperties = (x_ite_Namespace .add ("RenderingProperties", RenderingProperties_default_));
109261
109271
  ;// ./src/x_ite/Browser/Core/Notification.js
109262
- /* provided dependency */ var Notification_$ = __webpack_require__(427);
109272
+ /* provided dependency */ var Notification_$ = __webpack_require__(827);
109263
109273
  /*******************************************************************************
109264
109274
  *
109265
109275
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109341,7 +109351,7 @@ Object .assign (Object .setPrototypeOf (Notification .prototype, Base_X3DBaseNod
109341
109351
  .hide ()
109342
109352
  .addClass ("x_ite-private-notification")
109343
109353
  .appendTo (this .getBrowser () .getSurface ())
109344
- .animate ({ width: 0 });
109354
+ .css ("width", 0);
109345
109355
 
109346
109356
  Notification_$("<span></span>") .appendTo (this .element);
109347
109357
 
@@ -109381,8 +109391,8 @@ const Notification_default_ = Notification;
109381
109391
 
109382
109392
  /* harmony default export */ const Core_Notification = (x_ite_Namespace .add ("Notification", Notification_default_));
109383
109393
  ;// ./src/x_ite/Browser/Core/ContextMenu.js
109384
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(367);
109385
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(427);
109394
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(823);
109395
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(827);
109386
109396
  /*******************************************************************************
109387
109397
  *
109388
109398
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112104,7 +112114,7 @@ const DataStorage_default_ = DataStorage;
112104
112114
 
112105
112115
  /* harmony default export */ const Utility_DataStorage = (x_ite_Namespace .add ("DataStorage", DataStorage_default_));
112106
112116
  ;// ./src/x_ite/Browser/Core/X3DCoreContext.js
112107
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(427);
112117
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(827);
112108
112118
  /*******************************************************************************
112109
112119
  *
112110
112120
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114715,8 +114725,8 @@ const X3DViewer_default_ = X3DViewer;
114715
114725
 
114716
114726
  /* harmony default export */ const Navigation_X3DViewer = (x_ite_Namespace .add ("X3DViewer", X3DViewer_default_));
114717
114727
  ;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
114718
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(675);
114719
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(427);
114728
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(739);
114729
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(827);
114720
114730
  /*******************************************************************************
114721
114731
  *
114722
114732
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115631,8 +115641,8 @@ const ExamineViewer_default_ = ExamineViewer;
115631
115641
 
115632
115642
  /* harmony default export */ const Navigation_ExamineViewer = (x_ite_Namespace .add ("ExamineViewer", ExamineViewer_default_));
115633
115643
  ;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
115634
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(675);
115635
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(427);
115644
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(739);
115645
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(827);
115636
115646
  /*******************************************************************************
115637
115647
  *
115638
115648
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116647,8 +116657,8 @@ const FlyViewer_default_ = FlyViewer;
116647
116657
 
116648
116658
  /* harmony default export */ const Navigation_FlyViewer = (x_ite_Namespace .add ("FlyViewer", FlyViewer_default_));
116649
116659
  ;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
116650
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(675);
116651
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(427);
116660
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(739);
116661
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(827);
116652
116662
  /*******************************************************************************
116653
116663
  *
116654
116664
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116977,8 +116987,8 @@ const NoneViewer_default_ = NoneViewer;
116977
116987
 
116978
116988
  /* harmony default export */ const Navigation_NoneViewer = (x_ite_Namespace .add ("NoneViewer", NoneViewer_default_));
116979
116989
  ;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
116980
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(675);
116981
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(427);
116990
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(739);
116991
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(827);
116982
116992
  /*******************************************************************************
116983
116993
  *
116984
116994
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118120,8 +118130,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
118120
118130
 
118121
118131
  /* harmony default export */ const Picking_X3DPickingContext = (x_ite_Namespace .add ("X3DPickingContext", X3DPickingContext_default_));
118122
118132
  ;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
118123
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(675);
118124
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(427);
118133
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(739);
118134
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(827);
118125
118135
  /*******************************************************************************
118126
118136
  *
118127
118137
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119568,7 +119578,7 @@ const Lock_default_ = Lock;
119568
119578
 
119569
119579
  /* harmony default export */ const Utility_Lock = (x_ite_Namespace .add ("Lock", Lock_default_));
119570
119580
  ;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
119571
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(427);
119581
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(827);
119572
119582
  /*******************************************************************************
119573
119583
  *
119574
119584
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120882,7 +120892,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
120882
120892
 
120883
120893
  /* harmony default export */ const Sound_X3DSoundContext = (x_ite_Namespace .add ("X3DSoundContext", X3DSoundContext_default_));
120884
120894
  ;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
120885
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(427);
120895
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(827);
120886
120896
  const KTXDecoder_default_ = class KTXDecoder
120887
120897
  {
120888
120898
  constructor (gl, externalKtxlib, scriptDir)
@@ -122461,7 +122471,7 @@ const Components_default_ = Components;
122461
122471
 
122462
122472
  /* harmony default export */ const x_ite_Components = (x_ite_Namespace .add ("Components", Components_default_));
122463
122473
  ;// ./src/x_ite/Browser/DOMIntegration.js
122464
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(427);
122474
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(827);
122465
122475
  /*******************************************************************************
122466
122476
  * MIT License
122467
122477
  *
@@ -123727,7 +123737,7 @@ const FieldTypes_default_ = new Configuration_FieldTypesArray (Object .values (x
123727
123737
 
123728
123738
  /* harmony default export */ const FieldTypes = (x_ite_Namespace .add ("FieldTypes", FieldTypes_default_));
123729
123739
  ;// ./src/x_ite/Browser/X3DBrowser.js
123730
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(427);
123740
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(827);
123731
123741
  /*******************************************************************************
123732
123742
  *
123733
123743
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -124829,7 +124839,7 @@ const X3DBrowser_default_ = X3DBrowser;
124829
124839
 
124830
124840
  /* harmony default export */ const Browser_X3DBrowser = (x_ite_Namespace .add ("X3DBrowser", X3DBrowser_default_));
124831
124841
  ;// ./src/x_ite/X3DCanvasElement.js
124832
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(427);
124842
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(827);
124833
124843
  /*******************************************************************************
124834
124844
  *
124835
124845
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125096,8 +125106,8 @@ const QuickSort_default_ = QuickSort;
125096
125106
 
125097
125107
  /* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
125098
125108
  ;// ./src/lib/jquery.js
125099
- /* provided dependency */ var jquery_$ = __webpack_require__(427);
125100
- /* provided dependency */ var pako = __webpack_require__(355);
125109
+ /* provided dependency */ var jquery_$ = __webpack_require__(827);
125110
+ /* provided dependency */ var pako = __webpack_require__(779);
125101
125111
  Object .assign (jquery_$,
125102
125112
  {
125103
125113
  decodeText (input)
@@ -125178,13 +125188,13 @@ const jquery_default_ = jquery_$;
125178
125188
 
125179
125189
  /* harmony default export */ const jquery = (x_ite_Namespace .add ("jquery", jquery_default_));
125180
125190
  ;// ./src/lib/libtess.js
125181
- /* provided dependency */ var libtess_libtess = __webpack_require__(800);
125191
+ /* provided dependency */ var libtess_libtess = __webpack_require__(688);
125182
125192
  const libtess_default_ = libtess_libtess;
125183
125193
  ;
125184
125194
 
125185
125195
  /* harmony default export */ const lib_libtess = (x_ite_Namespace .add ("libtess", libtess_default_));
125186
125196
  ;// ./src/x_ite/X3D.js
125187
- /* provided dependency */ var X3D_$ = __webpack_require__(427);
125197
+ /* provided dependency */ var X3D_$ = __webpack_require__(827);
125188
125198
  /*******************************************************************************
125189
125199
  *
125190
125200
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -125488,7 +125498,7 @@ x_ite_Namespace, x_ite_Namespace .Fields,
125488
125498
 
125489
125499
  // Assign X3D to global namespace.
125490
125500
 
125491
- window [Symbol .for ("X_ITE.X3D-10.5.10")] = x_ite_X3D;
125501
+ window [Symbol .for ("X_ITE.X3D-10.5.12")] = x_ite_X3D;
125492
125502
 
125493
125503
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
125494
125504