x_ite 8.6.16 → 8.6.18

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 (101) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +13 -13
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +28 -28
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -21
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +19 -19
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +33 -39
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +18 -18
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +27 -27
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +24 -24
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +22 -22
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +24 -23
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +20 -20
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +121 -193
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +30 -31
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjector.js +14 -14
  34. package/dist/assets/components/TextureProjector.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +174 -174
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +35 -33
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +9 -9
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +408 -405
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.zip +0 -0
  45. package/docs/_config.yml +1 -1
  46. package/docs/_posts/reference/prototype-services.md +2 -2
  47. package/package.json +2 -2
  48. package/src/x_ite/Base/X3DBaseNode.js +8 -23
  49. package/src/x_ite/Base/X3DEventObject.js +1 -1
  50. package/src/x_ite/Base/X3DField.js +17 -18
  51. package/src/x_ite/Base/X3DObject.js +5 -1
  52. package/src/x_ite/Base/X3DObjectArrayField.js +12 -11
  53. package/src/x_ite/Base/X3DTypedArrayField.js +3 -3
  54. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +8 -6
  55. package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +2 -2
  56. package/src/x_ite/Browser/VERSION.js +1 -1
  57. package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +2 -2
  58. package/src/x_ite/Browser/X3DBrowser.js +17 -39
  59. package/src/x_ite/Components/Core/X3DNode.js +2 -2
  60. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +3 -8
  61. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +3 -3
  62. package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +0 -8
  63. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +14 -12
  64. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +3 -3
  65. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +1 -1
  66. package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +1 -1
  67. package/src/x_ite/Components/Geospatial/GeoMetadata.js +0 -6
  68. package/src/x_ite/Components/Networking/Anchor.js +36 -33
  69. package/src/x_ite/Components/Networking/Inline.js +3 -3
  70. package/src/x_ite/Components/Networking/X3DUrlObject.js +74 -23
  71. package/src/x_ite/Components/Picking/X3DPickSensorNode.js +6 -5
  72. package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +1 -1
  73. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +2 -2
  74. package/src/x_ite/Components/Scripting/Script.js +93 -165
  75. package/src/x_ite/Components/Shaders/ComposedShader.js +3 -18
  76. package/src/x_ite/Components/Shaders/PackagedShader.js +0 -2
  77. package/src/x_ite/Components/Shaders/ShaderPart.js +4 -4
  78. package/src/x_ite/Components/Shaders/ShaderProgram.js +0 -2
  79. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -4
  80. package/src/x_ite/Components/Sound/AudioClip.js +3 -3
  81. package/src/x_ite/Components/Text/Text.js +2 -3
  82. package/src/x_ite/Components/Text/X3DFontStyleNode.js +4 -4
  83. package/src/x_ite/Components/Texturing/ImageTexture.js +3 -3
  84. package/src/x_ite/Components/Texturing/MovieTexture.js +3 -3
  85. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +3 -3
  86. package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +3 -3
  87. package/src/x_ite/Components/Time/X3DTimeDependentNode.js +31 -25
  88. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +1 -1
  89. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +1 -1
  90. package/src/x_ite/Components/VolumeRendering/VolumeData.js +1 -1
  91. package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +11 -9
  92. package/src/x_ite/Execution/X3DExecutionContext.js +30 -32
  93. package/src/x_ite/Execution/X3DScene.js +6 -6
  94. package/src/x_ite/Fields/ArrayFields.js +2 -1
  95. package/src/x_ite/Fields/SFImage.js +0 -1
  96. package/src/x_ite/Fields/SFNode.js +4 -5
  97. package/src/x_ite/Parser/GLTF2Parser.js +45 -45
  98. package/src/x_ite/Parser/VRMLParser.js +2 -2
  99. package/src/x_ite/Parser/XMLParser.js +3 -3
  100. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +2 -2
  101. package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.15 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v8.6.18 */(function webpackUniversalModuleDefinition(root, factory) {
2
2
  if(typeof exports === 'object' && typeof module === 'object')
3
3
  module.exports = factory();
4
4
  else if(typeof define === 'function' && define.amd)
@@ -11,11 +11,11 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 556:
14
+ /***/ 891:
15
15
  /***/ (function(module, exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- /* provided dependency */ var jQuery = __webpack_require__(972);
18
+ /* provided dependency */ var jQuery = __webpack_require__(505);
19
19
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
20
20
 
21
21
  /**
@@ -387,10 +387,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
387
387
 
388
388
  /***/ }),
389
389
 
390
- /***/ 481:
390
+ /***/ 221:
391
391
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
392
392
 
393
- /* provided dependency */ var jQuery = __webpack_require__(972);
393
+ /* provided dependency */ var jQuery = __webpack_require__(505);
394
394
  /**
395
395
  * @preserve jquery.fullscreen 1.1.5
396
396
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -586,7 +586,7 @@ installFullScreenHandlers();
586
586
 
587
587
  /***/ }),
588
588
 
589
- /***/ 93:
589
+ /***/ 59:
590
590
  /***/ ((module, exports, __webpack_require__) => {
591
591
 
592
592
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -600,7 +600,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
600
600
  (function (factory) {
601
601
  if ( true ) {
602
602
  // AMD. Register as an anonymous module.
603
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(972)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
603
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(505)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
604
604
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
605
605
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
606
606
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -811,7 +811,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
811
811
 
812
812
  /***/ }),
813
813
 
814
- /***/ 972:
814
+ /***/ 505:
815
815
  /***/ (function(module, exports) {
816
816
 
817
817
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11784,7 +11784,7 @@ return jQuery;
11784
11784
 
11785
11785
  /***/ }),
11786
11786
 
11787
- /***/ 838:
11787
+ /***/ 811:
11788
11788
  /***/ ((module) => {
11789
11789
 
11790
11790
  /**
@@ -16563,7 +16563,7 @@ if (true) {
16563
16563
 
16564
16564
  /***/ }),
16565
16565
 
16566
- /***/ 680:
16566
+ /***/ 794:
16567
16567
  /***/ (function(__unused_webpack_module, exports) {
16568
16568
 
16569
16569
 
@@ -19808,7 +19808,7 @@ if (true) {
19808
19808
 
19809
19809
  /***/ }),
19810
19810
 
19811
- /***/ 309:
19811
+ /***/ 969:
19812
19812
  /***/ (function(module, exports) {
19813
19813
 
19814
19814
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -21953,7 +21953,11 @@ X3DObject .prototype =
21953
21953
  {
21954
21954
  generator .string = "[object " + this .getTypeName () + "]";
21955
21955
  },
21956
- dispose: function () { },
21956
+ dispose: function ()
21957
+ {
21958
+ this [_interests] .clear ();
21959
+ this [_userData] .clear ();
21960
+ },
21957
21961
  };
21958
21962
 
21959
21963
  for (const key of Reflect .ownKeys (X3DObject .prototype))
@@ -22323,8 +22327,8 @@ X3DEventObject .prototype = Object .assign (Object .create (Base_X3DChildObject.
22323
22327
 
22324
22328
  // Register for processEvent
22325
22329
 
22326
- browser .addBrowserEvent ();
22327
22330
  browser .addTaintedField (field, event);
22331
+ browser .addBrowserEvent ();
22328
22332
 
22329
22333
  // Register for eventsProcessed
22330
22334
 
@@ -22971,8 +22975,6 @@ function X3DField (value)
22971
22975
  Base_X3DChildObject.call (this);
22972
22976
 
22973
22977
  this [_value] = value;
22974
-
22975
- return this;
22976
22978
  }
22977
22979
 
22978
22980
  X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.prototype),
@@ -23270,32 +23272,31 @@ X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.protot
23270
23272
  if (field !== this)
23271
23273
  this .set (field .getValue (), field .length);
23272
23274
 
23273
- // Process interests
23275
+ // Process interests.
23274
23276
 
23275
23277
  this .processInterests ();
23276
23278
 
23277
- // Process routes
23279
+ // Process routes.
23278
23280
 
23279
23281
  let first = true;
23280
23282
 
23281
- if (this [_fieldInterests] .size)
23283
+ for (const fieldInterest of this [_fieldInterests])
23282
23284
  {
23283
- for (const fieldInterest of this [_fieldInterests] .values ())
23285
+ if (first)
23284
23286
  {
23285
- if (first)
23286
- {
23287
- first = false;
23288
- fieldInterest .addEventObject (this, event);
23289
- }
23290
- else
23291
- fieldInterest .addEventObject (this, Base_Events.copy (event));
23287
+ first = false;
23288
+ fieldInterest .addEventObject (this, event);
23289
+ }
23290
+ else
23291
+ {
23292
+ fieldInterest .addEventObject (this, Base_Events.copy (event));
23292
23293
  }
23293
23294
  }
23294
23295
 
23295
23296
  if (first)
23296
23297
  Base_Events.push (event);
23297
23298
 
23298
- // Process field callbacks
23299
+ // Process field callbacks.
23299
23300
 
23300
23301
  if (this [_fieldCallbacks] .size)
23301
23302
  {
@@ -23306,16 +23307,18 @@ X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.protot
23306
23307
  })(),
23307
23308
  addCloneCount: Function .prototype,
23308
23309
  removeCloneCount: Function .prototype,
23309
- valueOf: function ()
23310
- {
23311
- return this;
23312
- },
23313
23310
  fromString: function (string, scene)
23314
23311
  {
23315
23312
  // Function will be overridden in VRMLParser.
23316
23313
  },
23317
23314
  dispose: function ()
23318
23315
  {
23316
+ this [_references] .clear ();
23317
+ this [_referencesCallbacks] .clear ();
23318
+ this [_fieldInterests] .clear ();
23319
+ this [_fieldCallbacks] .clear ();
23320
+ this [_routeCallbacks] .clear ();
23321
+
23319
23322
  for (const route of new Set (this [_inputRoutes]))
23320
23323
  route .dispose ();
23321
23324
 
@@ -30512,8 +30515,7 @@ SFNode .prototype = Object .assign (Object .create (Base_X3DField.prototype),
30512
30515
 
30513
30516
  target [_cloneCount] += count;
30514
30517
 
30515
- if (value)
30516
- value .addCloneCount (count);
30518
+ value ?.addCloneCount (count);
30517
30519
  },
30518
30520
  removeCloneCount: function (count)
30519
30521
  {
@@ -30523,8 +30525,7 @@ SFNode .prototype = Object .assign (Object .create (Base_X3DField.prototype),
30523
30525
 
30524
30526
  target [_cloneCount] -= count;
30525
30527
 
30526
- if (value)
30527
- value .removeCloneCount (count);
30528
+ value ?.removeCloneCount (count);
30528
30529
  },
30529
30530
  getNodeUserData: function (key)
30530
30531
  {
@@ -30636,7 +30637,8 @@ SFNode .prototype = Object .assign (Object .create (Base_X3DField.prototype),
30636
30637
  {
30637
30638
  const target = this [SFNode_target];
30638
30639
 
30639
- target .setValue (null);
30640
+ target .set (null);
30641
+ target .processInterests ();
30640
30642
 
30641
30643
  Base_X3DField.prototype.dispose.call (target);
30642
30644
  },
@@ -31629,7 +31631,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
31629
31631
 
31630
31632
  for (let i = 0; i < length; ++ i)
31631
31633
  {
31632
- if (! a [i] .equals (b [i]))
31634
+ if (!a [i] .equals (b [i]))
31633
31635
  return false;
31634
31636
  }
31635
31637
 
@@ -31802,7 +31804,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
31802
31804
  {
31803
31805
  const current = values [i];
31804
31806
 
31805
- if (! value (current .valueOf ()))
31807
+ if (!value (current .valueOf ()))
31806
31808
  {
31807
31809
  const tmp = values [first];
31808
31810
 
@@ -31826,7 +31828,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
31826
31828
  {
31827
31829
  const current = values [i];
31828
31830
 
31829
- if (! current .equals (value))
31831
+ if (!current .equals (value))
31830
31832
  {
31831
31833
  const tmp = values [first];
31832
31834
 
@@ -31854,25 +31856,26 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
31854
31856
 
31855
31857
  return values .map (function (value) { return value .valueOf () });
31856
31858
  },
31857
- resize: function (size, value, silent)
31859
+ resize: function (size, value, silently)
31858
31860
  {
31859
31861
  const
31860
31862
  target = this [X3DObjectArrayField_target],
31861
- array = target .getValue ();
31863
+ array = target .getValue (),
31864
+ length = array .length;
31862
31865
 
31863
- if (size < array .length)
31866
+ if (size < length)
31864
31867
  {
31865
- for (let i = size, length = array .length; i < length; ++ i)
31868
+ for (let i = size; i < length; ++ i)
31866
31869
  target .removeChildObject (array [i]);
31867
31870
 
31868
31871
  array .length = size;
31869
31872
 
31870
- if (! silent)
31873
+ if (!silently)
31871
31874
  target .addEvent ();
31872
31875
  }
31873
- else if (size > array .length)
31876
+ else if (size > length)
31874
31877
  {
31875
- for (let i = array .length; i < size; ++ i)
31878
+ for (let i = length; i < size; ++ i)
31876
31879
  {
31877
31880
  const field = new (target .getSingleType ()) ();
31878
31881
 
@@ -31883,7 +31886,7 @@ X3DObjectArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFi
31883
31886
  array .push (field);
31884
31887
  }
31885
31888
 
31886
- if (! silent)
31889
+ if (!silently)
31887
31890
  target .addEvent ();
31888
31891
  }
31889
31892
  },
@@ -32675,7 +32678,7 @@ X3DTypedArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFie
32675
32678
 
32676
32679
  return values .slice ();
32677
32680
  },
32678
- resize: function (newLength, value, silent)
32681
+ resize: function (newLength, value, silently)
32679
32682
  {
32680
32683
  const
32681
32684
  target = this [X3DTypedArrayField_target],
@@ -32691,7 +32694,7 @@ X3DTypedArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFie
32691
32694
  if (components > 1)
32692
32695
  target [_cache] .length = newLength;
32693
32696
 
32694
- if (!silent)
32697
+ if (!silently)
32695
32698
  target .addEvent ();
32696
32699
  }
32697
32700
  else if (newLength > length)
@@ -32716,7 +32719,7 @@ X3DTypedArrayField .prototype = Object .assign (Object .create (Base_X3DArrayFie
32716
32719
  }
32717
32720
  }
32718
32721
 
32719
- if (!silent)
32722
+ if (!silently)
32720
32723
  target .addEvent ();
32721
32724
  }
32722
32725
 
@@ -33591,7 +33594,8 @@ MFNode .prototype = Object .assign (Object .create (Base_X3DObjectArrayField.pro
33591
33594
  {
33592
33595
  const target = this .getTarget ();
33593
33596
 
33594
- target .resize (0);
33597
+ target .resize (0, undefined, true);
33598
+ target .processInterests ();
33595
33599
 
33596
33600
  Base_X3DObjectArrayField.prototype.dispose.call (target);
33597
33601
  },
@@ -33927,7 +33931,6 @@ function SFImage (width, height, comp, array)
33927
33931
 
33928
33932
  this .getValue () .getArray () .addParent (this);
33929
33933
  this .addInterest ("set_size__", this);
33930
- return this;
33931
33934
  }
33932
33935
 
33933
33936
  SFImage .prototype = Object .assign (Object .create (Base_X3DField.prototype),
@@ -34553,22 +34556,15 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
34553
34556
  {
34554
34557
  return new (this .constructor) (executionContext || this [_executionContext]);
34555
34558
  },
34556
- setup: (function ()
34559
+ setup: function ()
34557
34560
  {
34558
- const attributes = { value: Function .prototype, enumerable: false };
34559
-
34560
- return function ()
34561
- {
34562
- Object .defineProperty (this, "setup", attributes);
34563
-
34564
- for (const field of this [_fields])
34565
- field .setTainted (false);
34561
+ for (const field of this [_fields])
34562
+ field .setTainted (false);
34566
34563
 
34567
- this .initialize ();
34564
+ this .initialize ();
34568
34565
 
34569
- this [_initialized] = true;
34570
- };
34571
- })(),
34566
+ this [_initialized] = true;
34567
+ },
34572
34568
  initialize: function ()
34573
34569
  { },
34574
34570
  isInitialized: function ()
@@ -34621,10 +34617,6 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
34621
34617
  {
34622
34618
  return this [_fieldDefinitions];
34623
34619
  },
34624
- getFieldsAreEnumerable: function ()
34625
- {
34626
- return false;
34627
- },
34628
34620
  addField: function (fieldDefinition)
34629
34621
  {
34630
34622
  const
@@ -34644,7 +34636,7 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
34644
34636
  {
34645
34637
  get: function () { return field; },
34646
34638
  set: function (value) { field .setValue (value); },
34647
- enumerable: this .getFieldsAreEnumerable (),
34639
+ enumerable: false,
34648
34640
  configurable: true, // false : non deletable
34649
34641
  });
34650
34642
 
@@ -34828,10 +34820,6 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
34828
34820
  {
34829
34821
  return this [_fields];
34830
34822
  },
34831
- getSourceText: function ()
34832
- {
34833
- return null;
34834
- },
34835
34823
  hasRoutes: function ()
34836
34824
  {
34837
34825
  /// Returns true if there are any routes from or to fields of this node otherwise false.
@@ -34913,7 +34901,7 @@ X3DBaseNode .prototype = Object .assign (Object .create (Base_X3DEventObject.pro
34913
34901
  for (const field of this [_childObjects])
34914
34902
  field .dispose ();
34915
34903
 
34916
- for (const field of this .getFields ())
34904
+ for (const field of this [_fields])
34917
34905
  field .dispose ();
34918
34906
 
34919
34907
  Base_X3DEventObject.prototype.dispose.call (this);
@@ -34976,7 +34964,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34976
34964
  *
34977
34965
  ******************************************************************************/
34978
34966
 
34979
- const VERSION_default_ = "8.6.15";
34967
+ const VERSION_default_ = "8.6.18";
34980
34968
  ;
34981
34969
 
34982
34970
  x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
@@ -35880,7 +35868,7 @@ const gettext_default_ = gettext;
35880
35868
  x_ite_Namespace.set ("locale/gettext", gettext_default_);
35881
35869
  /* harmony default export */ const locale_gettext = (gettext_default_);
35882
35870
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
35883
- /* provided dependency */ var $ = __webpack_require__(972);
35871
+ /* provided dependency */ var $ = __webpack_require__(505);
35884
35872
  /*******************************************************************************
35885
35873
  *
35886
35874
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36298,7 +36286,7 @@ const TextureQuality_default_ = TextureQuality;
36298
36286
  x_ite_Namespace.set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
36299
36287
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
36300
36288
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
36301
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(972);
36289
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(505);
36302
36290
  /*******************************************************************************
36303
36291
  *
36304
36292
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36834,7 +36822,7 @@ const RenderingProperties_default_ = RenderingProperties;
36834
36822
  x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
36835
36823
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
36836
36824
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
36837
- /* provided dependency */ var Notification_$ = __webpack_require__(972);
36825
+ /* provided dependency */ var Notification_$ = __webpack_require__(505);
36838
36826
  /*******************************************************************************
36839
36827
  *
36840
36828
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36956,8 +36944,8 @@ const Notification_default_ = Notification;
36956
36944
  x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
36957
36945
  /* harmony default export */ const Core_Notification = (Notification_default_);
36958
36946
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
36959
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(481);
36960
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(972);
36947
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(221);
36948
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(505);
36961
36949
  /*******************************************************************************
36962
36950
  *
36963
36951
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -38102,9 +38090,9 @@ X3DNode .prototype = Object .assign (Object .create (Base_X3DBaseNode.prototype)
38102
38090
 
38103
38091
  return false;
38104
38092
  },
38105
- getFieldsAreEnumerable: function ()
38093
+ getSourceText: function ()
38106
38094
  {
38107
- return true;
38095
+ return null;
38108
38096
  },
38109
38097
  traverse: function () { },
38110
38098
  toStream: function (generator)
@@ -40273,11 +40261,6 @@ X3DPrototypeInstance .prototype = Object .assign (Object .create (Core_X3DNode.p
40273
40261
 
40274
40262
  protoNode ._name_changed .addFieldInterest (this ._typeName_changed);
40275
40263
 
40276
- const outerNode = this .getExecutionContext () .getOuterNode ();
40277
-
40278
- if (outerNode ?.getType () .includes (Base_X3DConstants.X3DProtoDeclaration))
40279
- return;
40280
-
40281
40264
  if (protoNode .isExternProto)
40282
40265
  {
40283
40266
  if (this [_protoNode] .checkLoadState () === Base_X3DConstants.COMPLETE_STATE)
@@ -40287,7 +40270,7 @@ X3DPrototypeInstance .prototype = Object .assign (Object .create (Core_X3DNode.p
40287
40270
  else
40288
40271
  {
40289
40272
  protoNode ._updateInstances .addInterest ("construct", this);
40290
- protoNode .requestImmediateLoad ();
40273
+ protoNode .requestImmediateLoad () .catch (Function .prototype);
40291
40274
  }
40292
40275
  }
40293
40276
  else
@@ -41014,11 +40997,11 @@ X3DPrototypeInstance .prototype = Object .assign (Object .create (Core_X3DNode.p
41014
40997
  },
41015
40998
  dispose: function ()
41016
40999
  {
41000
+ this [_protoNode] ._name_changed .removeFieldInterest (this ._typeName_changed);
41017
41001
  this [_protoNode] ._updateInstances .removeInterest ("construct", this);
41018
41002
  this [_protoNode] ._updateInstances .removeInterest ("update", this);
41019
41003
 
41020
- if (this [_body])
41021
- this [_body] .dispose ();
41004
+ this [_body] ?.dispose ();
41022
41005
 
41023
41006
  Core_X3DNode.prototype.dispose.call (this);
41024
41007
  },
@@ -41102,7 +41085,7 @@ X3DProtoDeclarationNode .prototype = Object .assign (Object .create (Base_X3DBas
41102
41085
  {
41103
41086
  return true;
41104
41087
  },
41105
- createInstance: function (executionContext, { setup = true } = { })
41088
+ createInstance: function (executionContext, setup = true /* non-public argument */)
41106
41089
  {
41107
41090
  if (setup === false)
41108
41091
  {
@@ -41761,6 +41744,7 @@ x_ite_Namespace.set ("x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_
41761
41744
 
41762
41745
 
41763
41746
 
41747
+
41764
41748
  const
41765
41749
  X3DUrlObject_cache = Symbol (),
41766
41750
  _autoRefreshStartTime = Symbol (),
@@ -41772,7 +41756,7 @@ function X3DUrlObject (executionContext)
41772
41756
  this .addType (Base_X3DConstants.X3DUrlObject);
41773
41757
 
41774
41758
  this .addChildObjects ("loadState", new x_ite_Fields.SFInt32 (Base_X3DConstants.NOT_STARTED_STATE),
41775
- "loadNow", new x_ite_Fields.SFTime ());
41759
+ "loadData", new x_ite_Fields.SFTime ());
41776
41760
 
41777
41761
  this [X3DUrlObject_cache] = true;
41778
41762
  this [_autoRefreshStartTime] = Date .now ();
@@ -41787,7 +41771,7 @@ X3DUrlObject .prototype =
41787
41771
 
41788
41772
  this ._load .addInterest ("set_load__", this);
41789
41773
  this ._url .addInterest ("set_url__", this);
41790
- this ._loadNow .addInterest ("loadNow", this);
41774
+ this ._loadData .addInterest ("loadData", this);
41791
41775
  this ._autoRefresh .addInterest ("set_autoRefresh__", this);
41792
41776
  this ._autoRefreshTimeLimit .addInterest ("set_autoRefresh__", this);
41793
41777
  },
@@ -41839,27 +41823,73 @@ X3DUrlObject .prototype =
41839
41823
  },
41840
41824
  requestImmediateLoad: function (cache = true)
41841
41825
  {
41842
- const loadState = this .checkLoadState ();
41826
+ return new Promise ((resolve, reject) =>
41827
+ {
41828
+ const loading = () =>
41829
+ {
41830
+ const _loading = Symbol ();
41843
41831
 
41844
- if (loadState === Base_X3DConstants.COMPLETE_STATE || loadState === Base_X3DConstants.IN_PROGRESS_STATE)
41845
- return;
41832
+ this ._loadState .addFieldCallback (_loading, () =>
41833
+ {
41834
+ switch (this .checkLoadState ())
41835
+ {
41836
+ case Base_X3DConstants.COMPLETE_STATE:
41837
+ this ._loadState .removeFieldCallback (_loading);
41838
+ resolve ();
41839
+ break;
41840
+ case Base_X3DConstants.FAILED_STATE:
41841
+ this ._loadState .removeFieldCallback (_loading);
41842
+ reject ();
41843
+ break;
41844
+ }
41845
+ })
41846
+ };
41846
41847
 
41847
- if (!this ._load .getValue ())
41848
- return;
41848
+ const loadState = this .checkLoadState ();
41849
41849
 
41850
- if (this ._url .length === 0)
41851
- return;
41850
+ if (loadState === Base_X3DConstants.COMPLETE_STATE)
41851
+ {
41852
+ resolve ();
41853
+ return;
41854
+ }
41852
41855
 
41853
- this .setCache (cache);
41854
- this .setLoadState (Base_X3DConstants.IN_PROGRESS_STATE);
41856
+ if (loadState === Base_X3DConstants.IN_PROGRESS_STATE)
41857
+ {
41858
+ loading ();
41859
+ return;
41860
+ }
41855
41861
 
41856
- if (this .isInitialized ())
41857
- // Buffer prevents double load of the scene if load and url field are set at the same time.
41858
- this ._loadNow = this .getBrowser () .getCurrentTime ();
41859
- else
41860
- this .loadNow ();
41862
+ if (!this ._load .getValue ())
41863
+ {
41864
+ reject ();
41865
+ return;
41866
+ }
41867
+
41868
+ if (this ._url .length === 0)
41869
+ {
41870
+ resolve ();
41871
+ return;
41872
+ }
41873
+
41874
+ this .setCache (cache);
41875
+ this .setLoadState (Base_X3DConstants.IN_PROGRESS_STATE);
41876
+
41877
+ if (this .isInitialized ())
41878
+ // Buffer prevents double load of the scene if load and url field are set at the same time.
41879
+ this ._loadData = this .getBrowser () .getCurrentTime ();
41880
+ else
41881
+ this .loadData ();
41882
+
41883
+ loading ();
41884
+ });
41861
41885
  },
41862
41886
  loadNow: function ()
41887
+ {
41888
+ this .setLoadState (Base_X3DConstants.NOT_STARTED_STATE);
41889
+
41890
+ return this .requestImmediateLoad ();
41891
+ },
41892
+ loadData: function ()
41863
41893
  { },
41864
41894
  requestUnload: function ()
41865
41895
  {
@@ -41869,9 +41899,13 @@ X3DUrlObject .prototype =
41869
41899
  return;
41870
41900
 
41871
41901
  this .setLoadState (Base_X3DConstants.NOT_STARTED_STATE);
41872
- this .unLoadNow ();
41902
+ this .unloadData ();
41873
41903
  },
41874
- unLoadNow: function ()
41904
+ unloadNow: function ()
41905
+ {
41906
+ this .requestUnload ();
41907
+ },
41908
+ unloadData: function ()
41875
41909
  { },
41876
41910
  setAutoRefreshTimer: function (autoRefreshInterval)
41877
41911
  {
@@ -41893,7 +41927,7 @@ X3DUrlObject .prototype =
41893
41927
  performAutoRefresh: function ()
41894
41928
  {
41895
41929
  this .setLoadState (Base_X3DConstants.NOT_STARTED_STATE);
41896
- this .requestImmediateLoad (false);
41930
+ this .requestImmediateLoad (false) .catch (Function .prototype);
41897
41931
  },
41898
41932
  set_live__: function ()
41899
41933
  {
@@ -41905,7 +41939,7 @@ X3DUrlObject .prototype =
41905
41939
  set_load__: function ()
41906
41940
  {
41907
41941
  if (this ._load .getValue ())
41908
- this .requestImmediateLoad ();
41942
+ this .requestImmediateLoad () .catch (Function .prototype);
41909
41943
  else
41910
41944
  this .requestUnload ();
41911
41945
  },
@@ -41915,7 +41949,7 @@ X3DUrlObject .prototype =
41915
41949
  return;
41916
41950
 
41917
41951
  this .setLoadState (Base_X3DConstants.NOT_STARTED_STATE);
41918
- this .requestImmediateLoad ();
41952
+ this .requestImmediateLoad () .catch (Function .prototype);
41919
41953
  },
41920
41954
  set_autoRefresh__: function ()
41921
41955
  {
@@ -41942,7 +41976,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
41942
41976
  x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
41943
41977
  /* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
41944
41978
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
41945
- /* provided dependency */ var X3DParser_$ = __webpack_require__(972);
41979
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(505);
41946
41980
  /*******************************************************************************
41947
41981
  *
41948
41982
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43457,11 +43491,11 @@ VRMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototy
43457
43491
  {
43458
43492
  var
43459
43493
  nodeTypeId = this .result [1],
43460
- baseNode = this .getExecutionContext () .createNode (nodeTypeId, { setup: false });
43494
+ baseNode = this .getExecutionContext () .createNode (nodeTypeId, false);
43461
43495
 
43462
43496
  if (! baseNode)
43463
43497
  {
43464
- baseNode = this .getExecutionContext () .createProto (nodeTypeId, { setup: false });
43498
+ baseNode = this .getExecutionContext () .createProto (nodeTypeId, false);
43465
43499
 
43466
43500
  if (! baseNode)
43467
43501
  throw new Error ("Unknown node type or proto '" + nodeTypeId + "', you probably have insufficient component/profile statements, and/or an inappropriate specification version.");
@@ -45124,7 +45158,7 @@ const VRMLParser_default_ = VRMLParser;
45124
45158
  x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
45125
45159
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
45126
45160
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
45127
- /* provided dependency */ var XMLParser_$ = __webpack_require__(972);
45161
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(505);
45128
45162
  /*******************************************************************************
45129
45163
  *
45130
45164
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45833,7 +45867,7 @@ XMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
45833
45867
 
45834
45868
  if (this .id (name))
45835
45869
  {
45836
- var node = this .getExecutionContext () .createProto (name, { setup: false });
45870
+ var node = this .getExecutionContext () .createProto (name, false);
45837
45871
 
45838
45872
  if (! node)
45839
45873
  throw new Error ("Unknown proto or externproto type '" + name + "'.");
@@ -45907,10 +45941,10 @@ XMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
45907
45941
  if (this .useAttribute (xmlElement))
45908
45942
  return;
45909
45943
 
45910
- var node = this .getExecutionContext () .createNode (this .nodeNameToCamelCase (xmlElement .nodeName), { setup: false });
45944
+ var node = this .getExecutionContext () .createNode (this .nodeNameToCamelCase (xmlElement .nodeName), false);
45911
45945
 
45912
45946
  if (!node)
45913
- node = this .getExecutionContext () .createProto (this .protoNameToCamelCase (xmlElement .nodeName), { setup: false });
45947
+ node = this .getExecutionContext () .createProto (this .protoNameToCamelCase (xmlElement .nodeName), false);
45914
45948
 
45915
45949
  if (!node)
45916
45950
  throw new Error (`Unknown node type '${xmlElement .nodeName}', you probably have insufficient component/profile statements and/or an inappropriate specification version.`);
@@ -47167,7 +47201,7 @@ const URLs_default_ = URLs;
47167
47201
  x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
47168
47202
  /* harmony default export */ const Networking_URLs = (URLs_default_);
47169
47203
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
47170
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(972);
47204
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(505);
47171
47205
  /*******************************************************************************
47172
47206
  *
47173
47207
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47387,7 +47421,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47387
47421
  const
47388
47422
  scene = this .getExecutionContext (),
47389
47423
  worldURL = scene .getWorldURL (),
47390
- worldInfoNode = scene .createNode ("WorldInfo", { setup: false });
47424
+ worldInfoNode = scene .createNode ("WorldInfo", false);
47391
47425
 
47392
47426
  for (const [key, value] of Object .entries (asset))
47393
47427
  {
@@ -47517,7 +47551,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47517
47551
  {
47518
47552
  const
47519
47553
  scene = this .getExecutionContext (),
47520
- lightNode = scene .createNode ("DirectionalLight", { setup: false });
47554
+ lightNode = scene .createNode ("DirectionalLight", false);
47521
47555
 
47522
47556
  return lightNode;
47523
47557
  },
@@ -47525,7 +47559,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47525
47559
  {
47526
47560
  const
47527
47561
  scene = this .getExecutionContext (),
47528
- lightNode = scene .createNode ("SpotLight", { setup: false });
47562
+ lightNode = scene .createNode ("SpotLight", false);
47529
47563
 
47530
47564
  lightNode ._radius = this .numberValue (light .range, 0) || 1_000_000_000;
47531
47565
  lightNode ._cutOffAngle = this .numberValue (light .outerConeAngle, Math .PI / 4);
@@ -47538,7 +47572,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47538
47572
  {
47539
47573
  const
47540
47574
  scene = this .getExecutionContext (),
47541
- lightNode = scene .createNode ("PointLight", { setup: false });
47575
+ lightNode = scene .createNode ("PointLight", false);
47542
47576
 
47543
47577
  lightNode ._radius = this .numberValue (light .range, 0) || 1_000_000_000;
47544
47578
  lightNode ._attenuation = new Numbers_Vector3 (0, 0, 1);
@@ -47764,7 +47798,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47764
47798
  {
47765
47799
  const
47766
47800
  scene = this .getExecutionContext (),
47767
- texturePropertiesNode = scene .createNode ("TextureProperties", { setup: false }),
47801
+ texturePropertiesNode = scene .createNode ("TextureProperties", false),
47768
47802
  name = this .sanitizeName (sampler .name);
47769
47803
 
47770
47804
  if (name)
@@ -47865,7 +47899,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47865
47899
 
47866
47900
  const
47867
47901
  scene = this .getExecutionContext (),
47868
- textureNode = scene .createNode ("ImageTexture", { setup: false }),
47902
+ textureNode = scene .createNode ("ImageTexture", false),
47869
47903
  name = this .sanitizeName (texture .name || image .name);
47870
47904
 
47871
47905
  if (name)
@@ -47910,7 +47944,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47910
47944
 
47911
47945
  const
47912
47946
  scene = this .getExecutionContext (),
47913
- appearanceNode = scene .createNode ("Appearance", { setup: false }),
47947
+ appearanceNode = scene .createNode ("Appearance", false),
47914
47948
  materialNode = this .createMaterial (material),
47915
47949
  name = this .sanitizeName (material .name);
47916
47950
 
@@ -47934,7 +47968,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47934
47968
 
47935
47969
  if (this .textureTransformNodes .length)
47936
47970
  {
47937
- const textureTransformNode = scene .createNode ("TextureTransform", { setup: false });
47971
+ const textureTransformNode = scene .createNode ("TextureTransform", false);
47938
47972
 
47939
47973
  textureTransformNode ._mapping = mapping;
47940
47974
  textureTransformNode ._translation .y = -1;
@@ -47999,7 +48033,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
47999
48033
 
48000
48034
  const
48001
48035
  scene = this .getExecutionContext (),
48002
- materialNode = scene .createNode ("PhysicalMaterial", { setup: false });
48036
+ materialNode = scene .createNode ("PhysicalMaterial", false);
48003
48037
 
48004
48038
  const
48005
48039
  baseColorFactor = new Numbers_Color4 (0, 0, 0, 0),
@@ -48028,7 +48062,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48028
48062
 
48029
48063
  const
48030
48064
  scene = this .getExecutionContext (),
48031
- materialNode = scene .createNode ("Material", { setup: false });
48065
+ materialNode = scene .createNode ("Material", false);
48032
48066
 
48033
48067
  const
48034
48068
  diffuseFactor = new Numbers_Color4 (0, 0, 0, 0),
@@ -48163,7 +48197,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48163
48197
 
48164
48198
  const
48165
48199
  scene = this .getExecutionContext (),
48166
- textureTransformNode = scene .createNode ("TextureTransformMatrix3D", { setup: false }),
48200
+ textureTransformNode = scene .createNode ("TextureTransformMatrix3D", false),
48167
48201
  mapping = `TEXCOORD_${this .texCoordIndex + this .textureTransformNodes .length + 1}`;
48168
48202
 
48169
48203
  const
@@ -48486,7 +48520,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48486
48520
  {
48487
48521
  const
48488
48522
  scene = this .getExecutionContext (),
48489
- viewpointNode = scene .createNode ("OrthoViewpoint", { setup: false });
48523
+ viewpointNode = scene .createNode ("OrthoViewpoint", false);
48490
48524
 
48491
48525
  if (typeof camera .xmag === "number")
48492
48526
  {
@@ -48514,7 +48548,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48514
48548
  {
48515
48549
  const
48516
48550
  scene = this .getExecutionContext (),
48517
- viewpointNode = scene .createNode ("Viewpoint", { setup: false });
48551
+ viewpointNode = scene .createNode ("Viewpoint", false);
48518
48552
 
48519
48553
  if (typeof camera .yfov === "number")
48520
48554
  viewpointNode ._fieldOfView = camera .yfov
@@ -48548,7 +48582,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48548
48582
 
48549
48583
  const
48550
48584
  scene = this .getExecutionContext (),
48551
- transformNode = scene .createNode ("Transform", { setup: false }),
48585
+ transformNode = scene .createNode ("Transform", false),
48552
48586
  name = this .sanitizeName (node .name);
48553
48587
 
48554
48588
  // Name
@@ -48686,7 +48720,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48686
48720
  if (this .usedLights)
48687
48721
  scene .getRootNodes () .push (this .createNavigationInfo ());
48688
48722
 
48689
- const switchNode = scene .createNode ("Switch", { setup: false });
48723
+ const switchNode = scene .createNode ("Switch", false);
48690
48724
 
48691
48725
  scene .addNamedNode (scene .getUniqueName ("Scenes"), switchNode);
48692
48726
  scene .addExportedNode (scene .getUniqueExportName ("Scenes"), switchNode);
@@ -48724,7 +48758,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48724
48758
  {
48725
48759
  const
48726
48760
  scene = this .getExecutionContext (),
48727
- groupNode = scene .createNode ("Group", { setup: false }),
48761
+ groupNode = scene .createNode ("Group", false),
48728
48762
  name = this .sanitizeName (sceneObject .name);
48729
48763
 
48730
48764
  if (name)
@@ -48759,7 +48793,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48759
48793
 
48760
48794
  const
48761
48795
  scene = this .getExecutionContext (),
48762
- groupNode = scene .createNode ("Group", { setup: false });
48796
+ groupNode = scene .createNode ("Group", false);
48763
48797
 
48764
48798
  scene .addNamedNode (scene .getUniqueName ("Animations"), groupNode);
48765
48799
  scene .addExportedNode (scene .getUniqueExportName ("Animations"), groupNode);
@@ -48777,14 +48811,14 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48777
48811
 
48778
48812
  const
48779
48813
  scene = this .getExecutionContext (),
48780
- timeSensorNode = scene .createNode ("TimeSensor", { setup: false }),
48814
+ timeSensorNode = scene .createNode ("TimeSensor", false),
48781
48815
  channelNodes = this .animationChannelsArray (animation .channels, animation .samplers, timeSensorNode);
48782
48816
 
48783
48817
  if (!channelNodes .length)
48784
48818
  return null;
48785
48819
 
48786
48820
  const
48787
- groupNode = scene .createNode ("Group", { setup: false }),
48821
+ groupNode = scene .createNode ("Group", false),
48788
48822
  name = this .sanitizeName (animation .name);
48789
48823
 
48790
48824
  ++ this .animations;
@@ -48879,7 +48913,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48879
48913
  {
48880
48914
  const
48881
48915
  scene = this .getExecutionContext (),
48882
- navigationInfoNode = scene .createNode ("NavigationInfo", { setup: false });
48916
+ navigationInfoNode = scene .createNode ("NavigationInfo", false);
48883
48917
 
48884
48918
  navigationInfoNode ._headlight = false;
48885
48919
 
@@ -48891,7 +48925,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48891
48925
  {
48892
48926
  const
48893
48927
  scene = this .getExecutionContext (),
48894
- shapeNode = scene .createNode ("Shape", { setup: false }),
48928
+ shapeNode = scene .createNode ("Shape", false),
48895
48929
  appearanceNode = this .materialObject (primitive .material),
48896
48930
  geometryNode = this .createGeometry (primitive);
48897
48931
 
@@ -48909,8 +48943,8 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48909
48943
 
48910
48944
  const
48911
48945
  scene = this .getExecutionContext (),
48912
- appearanceNode = scene .createNode ("Appearance", { setup: false }),
48913
- materialNode = scene .createNode ("PhysicalMaterial", { setup: false });
48946
+ appearanceNode = scene .createNode ("Appearance", false),
48947
+ materialNode = scene .createNode ("PhysicalMaterial", false);
48914
48948
 
48915
48949
  appearanceNode ._alphaMode = "OPAQUE";
48916
48950
  appearanceNode ._material = materialNode;
@@ -48939,7 +48973,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48939
48973
 
48940
48974
  const
48941
48975
  scene = this .getExecutionContext (),
48942
- textureTransformNode = scene .createNode ("TextureTransform", { setup: false });
48976
+ textureTransformNode = scene .createNode ("TextureTransform", false);
48943
48977
 
48944
48978
  textureTransformNode ._translation .y = -1;
48945
48979
  textureTransformNode ._scale .y = -1;
@@ -48956,7 +48990,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
48956
48990
  {
48957
48991
  const
48958
48992
  scene = this .getExecutionContext (),
48959
- textureTransformNode = scene .createNode ("MultiTextureTransform", { setup: false });
48993
+ textureTransformNode = scene .createNode ("MultiTextureTransform", false);
48960
48994
 
48961
48995
  textureTransformNode ._textureTransform = textureTransformNodes;
48962
48996
 
@@ -49017,7 +49051,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49017
49051
  {
49018
49052
  const
49019
49053
  scene = this .getExecutionContext (),
49020
- geometryNode = scene .createNode ("PointSet", { setup: false });
49054
+ geometryNode = scene .createNode ("PointSet", false);
49021
49055
 
49022
49056
  geometryNode ._color = this .createColor (attributes .COLOR [0], material);
49023
49057
  geometryNode ._normal = this .createNormal (attributes .NORMAL);
@@ -49031,7 +49065,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49031
49065
  {
49032
49066
  const
49033
49067
  scene = this .getExecutionContext (),
49034
- geometryNode = scene .createNode ("IndexedLineSet", { setup: false });
49068
+ geometryNode = scene .createNode ("IndexedLineSet", false);
49035
49069
 
49036
49070
  geometryNode ._color = this .createColor (attributes .COLOR [0], material);
49037
49071
  geometryNode ._normal = this .createNormal (attributes .NORMAL);
@@ -49102,7 +49136,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49102
49136
  {
49103
49137
  const
49104
49138
  scene = this .getExecutionContext (),
49105
- geometryNode = scene .createNode ("LineSet", { setup: false });
49139
+ geometryNode = scene .createNode ("LineSet", false);
49106
49140
 
49107
49141
  geometryNode ._color = this .createColor (attributes .COLOR [0], material);
49108
49142
  geometryNode ._normal = this .createNormal (attributes .NORMAL);
@@ -49116,7 +49150,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49116
49150
  {
49117
49151
  const
49118
49152
  scene = this .getExecutionContext (),
49119
- geometryNode = scene .createNode ("IndexedTriangleSet", { setup: false });
49153
+ geometryNode = scene .createNode ("IndexedTriangleSet", false);
49120
49154
 
49121
49155
  geometryNode ._solid = material ? ! material .doubleSided : true;
49122
49156
  geometryNode ._index = indices .array;
@@ -49134,7 +49168,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49134
49168
  {
49135
49169
  const
49136
49170
  scene = this .getExecutionContext (),
49137
- geometryNode = scene .createNode ("TriangleSet", { setup: false });
49171
+ geometryNode = scene .createNode ("TriangleSet", false);
49138
49172
 
49139
49173
  geometryNode ._solid = material ? ! material .doubleSided : true;
49140
49174
  geometryNode ._color = this .createColor (attributes .COLOR [0], material);
@@ -49151,7 +49185,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49151
49185
  {
49152
49186
  const
49153
49187
  scene = this .getExecutionContext (),
49154
- geometryNode = scene .createNode ("IndexedTriangleStripSet", { setup: false });
49188
+ geometryNode = scene .createNode ("IndexedTriangleStripSet", false);
49155
49189
 
49156
49190
  geometryNode ._solid = material ? ! material .doubleSided : true;
49157
49191
  geometryNode ._index = indices .array;
@@ -49169,7 +49203,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49169
49203
  {
49170
49204
  const
49171
49205
  scene = this .getExecutionContext (),
49172
- geometryNode = scene .createNode ("TriangleStripSet", { setup: false });
49206
+ geometryNode = scene .createNode ("TriangleStripSet", false);
49173
49207
 
49174
49208
  geometryNode ._solid = material ? ! material .doubleSided : true;
49175
49209
  geometryNode ._color = this .createColor (attributes .COLOR [0], material);
@@ -49194,7 +49228,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49194
49228
  {
49195
49229
  const
49196
49230
  scene = this .getExecutionContext (),
49197
- geometryNode = scene .createNode ("IndexedTriangleFanSet", { setup: false });
49231
+ geometryNode = scene .createNode ("IndexedTriangleFanSet", false);
49198
49232
 
49199
49233
  geometryNode ._solid = material ? ! material .doubleSided : true;
49200
49234
  geometryNode ._index = indices .array;
@@ -49212,7 +49246,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49212
49246
  {
49213
49247
  const
49214
49248
  scene = this .getExecutionContext (),
49215
- geometryNode = scene .createNode ("TriangleFanSet", { setup: false });
49249
+ geometryNode = scene .createNode ("TriangleFanSet", false);
49216
49250
 
49217
49251
  geometryNode ._solid = material ? ! material .doubleSided : true;
49218
49252
  geometryNode ._color = this .createColor (attributes .COLOR [0], material);
@@ -49257,7 +49291,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49257
49291
  scene = this .getExecutionContext (),
49258
49292
  appearanceNode = this .materialObject (material),
49259
49293
  opaque = appearanceNode ._alphaMode .getValue () === "OPAQUE",
49260
- colorNode = scene .createNode (opaque ? "Color" : typeName, { setup: false });
49294
+ colorNode = scene .createNode (opaque ? "Color" : typeName, false);
49261
49295
 
49262
49296
  colorNode ._color = opaque && typeName !== "Color"
49263
49297
  ? color .array .filter ((_, i) => (i + 1) % 4)
@@ -49301,7 +49335,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49301
49335
 
49302
49336
  const
49303
49337
  scene = this .getExecutionContext (),
49304
- textureCoordinateNode = scene .createNode ("MultiTextureCoordinate", { setup: false });
49338
+ textureCoordinateNode = scene .createNode ("MultiTextureCoordinate", false);
49305
49339
 
49306
49340
  textureCoordinateNode ._texCoord = textureCoordinateNodes;
49307
49341
 
@@ -49324,7 +49358,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49324
49358
 
49325
49359
  const
49326
49360
  scene = this .getExecutionContext (),
49327
- textureCoordinateNode = scene .createNode ("TextureCoordinate", { setup: false });
49361
+ textureCoordinateNode = scene .createNode ("TextureCoordinate", false);
49328
49362
 
49329
49363
  textureCoordinateNode ._mapping = mapping;
49330
49364
  textureCoordinateNode ._point = texCoord .array;
@@ -49346,7 +49380,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49346
49380
 
49347
49381
  const
49348
49382
  scene = this .getExecutionContext (),
49349
- normalNode = scene .createNode ("Normal", { setup: false });
49383
+ normalNode = scene .createNode ("Normal", false);
49350
49384
 
49351
49385
  normalNode ._vector = normal .array;
49352
49386
 
@@ -49367,7 +49401,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49367
49401
 
49368
49402
  const
49369
49403
  scene = this .getExecutionContext (),
49370
- coordinateNode = scene .createNode ("Coordinate", { setup: false });
49404
+ coordinateNode = scene .createNode ("Coordinate", false);
49371
49405
 
49372
49406
  coordinateNode ._point = position .array;
49373
49407
 
@@ -49420,7 +49454,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49420
49454
  {
49421
49455
  case "STEP":
49422
49456
  {
49423
- const interpolatorNode = scene .createNode ("PositionInterpolator", { setup: false });
49457
+ const interpolatorNode = scene .createNode ("PositionInterpolator", false);
49424
49458
 
49425
49459
  // Key
49426
49460
 
@@ -49448,7 +49482,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49448
49482
  default:
49449
49483
  case "LINEAR":
49450
49484
  {
49451
- const interpolatorNode = scene .createNode ("PositionInterpolator", { setup: false });
49485
+ const interpolatorNode = scene .createNode ("PositionInterpolator", false);
49452
49486
 
49453
49487
  interpolatorNode ._key = times .map (t => t / cycleInterval);
49454
49488
  interpolatorNode ._keyValue = keyValues;
@@ -49460,7 +49494,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49460
49494
  case "CUBICSPLINE":
49461
49495
  {
49462
49496
  const
49463
- interpolatorNode = scene .createNode ("PositionInterpolator", { setup: false }),
49497
+ interpolatorNode = scene .createNode ("PositionInterpolator", false),
49464
49498
  vectors = [ ];
49465
49499
 
49466
49500
  for (let i = 0, length = keyValues .length; i < length; i += 3)
@@ -49494,7 +49528,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49494
49528
  {
49495
49529
  case "STEP":
49496
49530
  {
49497
- const interpolatorNode = scene .createNode ("OrientationInterpolator", { setup: false });
49531
+ const interpolatorNode = scene .createNode ("OrientationInterpolator", false);
49498
49532
 
49499
49533
  // Key
49500
49534
 
@@ -49531,7 +49565,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49531
49565
  default:
49532
49566
  case "LINEAR":
49533
49567
  {
49534
- const interpolatorNode = scene .createNode ("OrientationInterpolator", { setup: false });
49568
+ const interpolatorNode = scene .createNode ("OrientationInterpolator", false);
49535
49569
 
49536
49570
  interpolatorNode ._key = times .map (t => t / cycleInterval);
49537
49571
 
@@ -49550,7 +49584,7 @@ GLTF2Parser .prototype = Object .assign (Object .create (Parser_X3DParser.protot
49550
49584
  case "CUBICSPLINE":
49551
49585
  {
49552
49586
  const
49553
- interpolatorNode = scene .createNode ("OrientationInterpolator", { setup: false }),
49587
+ interpolatorNode = scene .createNode ("OrientationInterpolator", false),
49554
49588
  quaternions = [ ];
49555
49589
 
49556
49590
  for (let i = 0, length = keyValues .length; i < length; i += 4)
@@ -49633,7 +49667,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
49633
49667
  x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
49634
49668
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
49635
49669
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
49636
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(972);
49670
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(505);
49637
49671
  /*******************************************************************************
49638
49672
  *
49639
49673
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49786,7 +49820,7 @@ const GLB2Parser_default_ = GLB2Parser;
49786
49820
  x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
49787
49821
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
49788
49822
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
49789
- /* provided dependency */ var OBJParser_$ = __webpack_require__(972);
49823
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(505);
49790
49824
  /*******************************************************************************
49791
49825
  *
49792
49826
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52276,8 +52310,8 @@ const MatrixStack_default_ = MatrixStack;
52276
52310
  x_ite_Namespace.set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
52277
52311
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
52278
52312
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52279
- /* provided dependency */ var SVGParser_$ = __webpack_require__(972);
52280
- /* provided dependency */ var libtess = __webpack_require__(838);
52313
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(505);
52314
+ /* provided dependency */ var libtess = __webpack_require__(811);
52281
52315
  /*******************************************************************************
52282
52316
  *
52283
52317
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55046,7 +55080,7 @@ const SVGParser_default_ = SVGParser;
55046
55080
  x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
55047
55081
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
55048
55082
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
55049
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(972);
55083
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(505);
55050
55084
  /*******************************************************************************
55051
55085
  *
55052
55086
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55375,7 +55409,7 @@ const Plane3_default_ = Plane3;
55375
55409
  x_ite_Namespace.set ("standard/Math/Geometry/Plane3", Plane3_default_);
55376
55410
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
55377
55411
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
55378
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(838);
55412
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(811);
55379
55413
  /*******************************************************************************
55380
55414
  *
55381
55415
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62679,7 +62713,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62679
62713
  x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62680
62714
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62681
62715
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62682
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(972);
62716
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(505);
62683
62717
  /*******************************************************************************
62684
62718
  *
62685
62719
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -62787,17 +62821,17 @@ ImageTexture .prototype = Object .assign (Object .create (Texturing_X3DTexture2D
62787
62821
  this .image .on ("abort error", this .setError .bind (this));
62788
62822
  this .image .prop ("crossOrigin", "Anonymous");
62789
62823
 
62790
- this .requestImmediateLoad ();
62824
+ this .requestImmediateLoad () .catch (Function .prototype);
62791
62825
  },
62792
62826
  getElement: function ()
62793
62827
  {
62794
62828
  return this .image [0];
62795
62829
  },
62796
- unLoadNow: function ()
62830
+ unloadData: function ()
62797
62831
  {
62798
62832
  this .clearTexture ();
62799
62833
  },
62800
- loadNow: function ()
62834
+ loadData: function ()
62801
62835
  {
62802
62836
  this .urlStack .setValue (this ._url);
62803
62837
  this .loadNext ();
@@ -63653,10 +63687,7 @@ function X3DTimeDependentNode (executionContext)
63653
63687
  this .start = 0;
63654
63688
  this .pause = 0;
63655
63689
  this .pauseInterval = 0;
63656
- this .startTimeout = null;
63657
- this .pauseTimeout = null;
63658
- this .resumeTimeout = null;
63659
- this .stopTimeout = null;
63690
+ this .timeouts = new Map ();
63660
63691
  this .disabled = false;
63661
63692
  }
63662
63693
 
@@ -63755,13 +63786,13 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63755
63786
 
63756
63787
  if (this ._enabled .getValue ())
63757
63788
  {
63758
- this .removeTimeout ("startTimeout");
63789
+ this .removeTimeout ("start");
63759
63790
 
63760
63791
  if (this .startTimeValue <= this .getBrowser () .getCurrentTime ())
63761
63792
  this .do_start ();
63762
63793
 
63763
63794
  else
63764
- this .addTimeout ("startTimeout", "do_start", this .startTimeValue);
63795
+ this .addTimeout ("start", "do_start", this .startTimeValue);
63765
63796
  }
63766
63797
  },
63767
63798
  set_pauseTime__: function ()
@@ -63770,7 +63801,7 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63770
63801
 
63771
63802
  if (this ._enabled .getValue ())
63772
63803
  {
63773
- this .removeTimeout ("pauseTimeout");
63804
+ this .removeTimeout ("pause");
63774
63805
 
63775
63806
  if (this .pauseTimeValue <= this .resumeTimeValue)
63776
63807
  return;
@@ -63779,7 +63810,7 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63779
63810
  this .do_pause ();
63780
63811
 
63781
63812
  else
63782
- this .addTimeout ("pauseTimeout", "do_pause", this .pauseTimeValue);
63813
+ this .addTimeout ("pause", "do_pause", this .pauseTimeValue);
63783
63814
  }
63784
63815
  },
63785
63816
  set_resumeTime__: function ()
@@ -63788,7 +63819,7 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63788
63819
 
63789
63820
  if (this ._enabled .getValue ())
63790
63821
  {
63791
- this .removeTimeout ("resumeTimeout");
63822
+ this .removeTimeout ("resume");
63792
63823
 
63793
63824
  if (this .resumeTimeValue <= this .pauseTimeValue)
63794
63825
  return;
@@ -63797,7 +63828,7 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63797
63828
  this .do_resume ();
63798
63829
 
63799
63830
  else
63800
- this .addTimeout ("resumeTimeout", "do_resume", this .resumeTimeValue);
63831
+ this .addTimeout ("resume", "do_resume", this .resumeTimeValue);
63801
63832
  }
63802
63833
  },
63803
63834
  set_stopTime__: function ()
@@ -63806,7 +63837,7 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63806
63837
 
63807
63838
  if (this ._enabled .getValue ())
63808
63839
  {
63809
- this .removeTimeout ("stopTimeout");
63840
+ this .removeTimeout ("stop");
63810
63841
 
63811
63842
  if (this .stopTimeValue <= this .startTimeValue)
63812
63843
  return;
@@ -63815,7 +63846,7 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63815
63846
  this .do_stop ();
63816
63847
 
63817
63848
  else
63818
- this .addTimeout ("stopTimeout", "do_stop", this .stopTimeValue);
63849
+ this .addTimeout ("stop", "do_stop", this .stopTimeValue);
63819
63850
  }
63820
63851
  },
63821
63852
  do_start: function ()
@@ -63909,24 +63940,29 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63909
63940
  this .getBrowser () .timeEvents () .removeInterest ("set_time" ,this);
63910
63941
  }
63911
63942
  },
63912
- timeout: function (callback)
63913
- {
63914
- if (this ._enabled .getValue ())
63915
- {
63916
- this .getBrowser () .advanceTime ();
63917
-
63918
- this [callback] ();
63919
- }
63920
- },
63921
63943
  addTimeout: function (name, callback, time)
63922
63944
  {
63923
63945
  this .removeTimeout (name);
63924
- this [name] = setTimeout (this .timeout .bind (this, callback), (time - this .getBrowser () .getCurrentTime ()) * 1000);
63946
+
63947
+ this .timeouts .set (name, setTimeout (this .processTimeout .bind (this, callback), (time - this .getBrowser () .getCurrentTime ()) * 1000));
63925
63948
  },
63926
63949
  removeTimeout: function (name)
63927
63950
  {
63928
- clearTimeout (this [name]);
63929
- this [name] = null;
63951
+ clearTimeout (this .timeouts .get (name));
63952
+
63953
+ this .timeouts .delete (name);
63954
+ },
63955
+ processTimeout: function (callback)
63956
+ {
63957
+ if (!this ._enabled .getValue ())
63958
+ return;
63959
+
63960
+ if (!(this .getLive () .getValue () || this ._isEvenLive .getValue ()))
63961
+ return;
63962
+
63963
+ this .getBrowser () .advanceTime ();
63964
+
63965
+ this [callback] ();
63930
63966
  },
63931
63967
  set_loop: Function .prototype,
63932
63968
  set_start: Function .prototype,
@@ -63934,7 +63970,11 @@ X3DTimeDependentNode .prototype = Object .assign (Object .create (Core_X3DChildN
63934
63970
  set_resume: Function .prototype,
63935
63971
  set_stop: Function .prototype,
63936
63972
  set_time: Function .prototype,
63937
- dispose: Function .prototype,
63973
+ dispose: function ()
63974
+ {
63975
+ for (const name of [... this .timeouts .keys ()])
63976
+ this .removeTimeout (name);
63977
+ },
63938
63978
  });
63939
63979
 
63940
63980
  const X3DTimeDependentNode_default_ = X3DTimeDependentNode;
@@ -67013,7 +67053,7 @@ const X3DWorld_default_ = X3DWorld;
67013
67053
  x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
67014
67054
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
67015
67055
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
67016
- /* provided dependency */ var FileLoader_$ = __webpack_require__(972);
67056
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(505);
67017
67057
  /*******************************************************************************
67018
67058
  *
67019
67059
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67475,7 +67515,7 @@ X3DExternProtoDeclaration .prototype = Object .assign (Object .create (Prototype
67475
67515
 
67476
67516
  if (proto)
67477
67517
  {
67478
- for (const field of this .getUserDefinedFields ())
67518
+ for (const field of [... this .getUserDefinedFields ()])
67479
67519
  this .removeUserDefinedField (field .getName ())
67480
67520
 
67481
67521
  for (const field of proto .getUserDefinedFields ())
@@ -67488,7 +67528,7 @@ X3DExternProtoDeclaration .prototype = Object .assign (Object .create (Prototype
67488
67528
  {
67489
67529
  return this [_proto];
67490
67530
  },
67491
- loadNow: function ()
67531
+ loadData: function ()
67492
67532
  {
67493
67533
  // 7.73 — ExternProtoDeclaration function
67494
67534
 
@@ -68303,7 +68343,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68303
68343
  {
68304
68344
  Base_X3DBaseNode.prototype.initialize.call (this);
68305
68345
 
68306
- if (! this .isScene ())
68346
+ if (!this .isScene ())
68307
68347
  this ._sceneGraph_changed .addInterest ("set_sceneGraph", this)
68308
68348
  },
68309
68349
  set_sceneGraph: function ()
@@ -68339,13 +68379,13 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68339
68379
  {
68340
68380
  return this .getExecutionContext () .getProfile ();
68341
68381
  },
68342
- getComponents: function ()
68382
+ hasComponent: function (name)
68343
68383
  {
68344
- return this .getExecutionContext () .getComponents ();
68384
+ return this .getExecutionContext () .hasComponent (name);
68345
68385
  },
68346
- hasComponent: function (componentName)
68386
+ getComponents: function ()
68347
68387
  {
68348
- return this .getExecutionContext () .hasComponent (componentName);
68388
+ return this .getExecutionContext () .getComponents ();
68349
68389
  },
68350
68390
  fromUnit: function (category, value)
68351
68391
  {
@@ -68359,7 +68399,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68359
68399
  {
68360
68400
  return this .getExecutionContext () .getUnits ();
68361
68401
  },
68362
- createNode: function (typeName, { setup = true, warn = true } = { })
68402
+ createNode: function (typeName, setup = true /* non-public argument */)
68363
68403
  {
68364
68404
  typeName = String (typeName);
68365
68405
 
@@ -68367,7 +68407,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68367
68407
  {
68368
68408
  const Type = this .getBrowser () .getSupportedNode (typeName);
68369
68409
 
68370
- if (! Type)
68410
+ if (!Type)
68371
68411
  return null;
68372
68412
 
68373
68413
  const specificationRange = Type .prototype .getSpecificationRange ();
@@ -68378,7 +68418,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68378
68418
  if (this .getSpecificationVersion () > specificationRange [1])
68379
68419
  return null;
68380
68420
 
68381
- if (warn && !this .hasComponent (Type .prototype .getComponentName ()))
68421
+ if (!this .hasComponent (Type .prototype .getComponentName ()))
68382
68422
  console .warn (`Node type '${typeName}' does not match component/profile statements in '${this .getWorldURL ()}'.`);
68383
68423
 
68384
68424
  return new Type (this);
@@ -68387,7 +68427,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68387
68427
  {
68388
68428
  const Type = this .getBrowser () .getSupportedNode (typeName);
68389
68429
 
68390
- if (! Type)
68430
+ if (!Type)
68391
68431
  throw new Error (`Unknown node type '${typeName}'.`);
68392
68432
 
68393
68433
  const specificationRange = Type .prototype .getSpecificationRange ();
@@ -68398,7 +68438,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68398
68438
  if (this .getSpecificationVersion () > specificationRange [1])
68399
68439
  throw new Error (`Node type '${typeName}' does not match specification version in '${this .getWorldURL ()}.`);
68400
68440
 
68401
- if (warn && !this .hasComponent (Type .prototype .getComponentName ()))
68441
+ if (!this .hasComponent (Type .prototype .getComponentName ()))
68402
68442
  console .warn (`Node type '${typeName}' does not match component/profile statements in '${this .getWorldURL ()}'.`);
68403
68443
 
68404
68444
  const baseNode = new Type (this);
@@ -68408,7 +68448,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68408
68448
  return Fields_SFNodeCache.get (baseNode);
68409
68449
  }
68410
68450
  },
68411
- createProto: function (name, { setup = true } = { })
68451
+ createProto: function (name, setup = true /* non-public argument */)
68412
68452
  {
68413
68453
  name = String (name);
68414
68454
 
@@ -68419,12 +68459,12 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68419
68459
  const proto = executionContext .protos .get (name);
68420
68460
 
68421
68461
  if (proto)
68422
- return proto .createInstance (this, { setup: setup });
68462
+ return proto .createInstance (this, setup);
68423
68463
 
68424
68464
  const externproto = executionContext .externprotos .get (name);
68425
68465
 
68426
68466
  if (externproto)
68427
- return externproto .createInstance (this, { setup: setup });
68467
+ return externproto .createInstance (this, setup);
68428
68468
 
68429
68469
  if (executionContext .isScene ())
68430
68470
  break;
@@ -68449,7 +68489,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68449
68489
  name = String (name);
68450
68490
  node = Base_X3DCast (Base_X3DConstants.X3DNode, node, false);
68451
68491
 
68452
- if (! node)
68492
+ if (!node)
68453
68493
  throw new Error ("Couldn't update named node: node must be of type X3DNode.");
68454
68494
 
68455
68495
  if (node .getExecutionContext () !== this)
@@ -68477,7 +68517,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68477
68517
 
68478
68518
  const node = this [_namedNodes] .get (name);
68479
68519
 
68480
- if (! node)
68520
+ if (!node)
68481
68521
  return;
68482
68522
 
68483
68523
  node .setName ("");
@@ -68524,7 +68564,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68524
68564
  exportedName = String (exportedName);
68525
68565
  importedName = importedName === undefined ? exportedName : String (importedName);
68526
68566
 
68527
- if (! inlineNode)
68567
+ if (!inlineNode)
68528
68568
  throw new Error ("Node must be of type Inline node.");
68529
68569
 
68530
68570
  if (inlineNode .getExecutionContext () !== this)
@@ -68552,7 +68592,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68552
68592
 
68553
68593
  const importedNode = this [_importedNodes] .get (importedName);
68554
68594
 
68555
- if (! importedNode)
68595
+ if (!importedNode)
68556
68596
  return;
68557
68597
 
68558
68598
  importedNode .dispose ();
@@ -68598,7 +68638,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68598
68638
  {
68599
68639
  node = Base_X3DCast (Base_X3DConstants.X3DNode, node, false);
68600
68640
 
68601
- if (! node)
68641
+ if (!node)
68602
68642
  throw new Error ("Couldn't get local name: node must be of type X3DNode.");
68603
68643
 
68604
68644
  if (node .getExecutionContext () === this)
@@ -68639,7 +68679,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68639
68679
  {
68640
68680
  name = String (name);
68641
68681
 
68642
- if (! (proto instanceof Prototype_X3DProtoDeclaration))
68682
+ if (!(proto instanceof Prototype_X3DProtoDeclaration))
68643
68683
  throw new Error ("Couldn't add proto declaration: proto must be of type X3DProtoDeclaration.");
68644
68684
 
68645
68685
  if (this [_protos] .get (name))
@@ -68659,7 +68699,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68659
68699
  {
68660
68700
  name = String (name);
68661
68701
 
68662
- if (! (proto instanceof Prototype_X3DProtoDeclaration))
68702
+ if (!(proto instanceof Prototype_X3DProtoDeclaration))
68663
68703
  throw new Error ("Couldn't add proto declaration: proto must be of type X3DProtoDeclaration.");
68664
68704
 
68665
68705
  name = String (name);
@@ -68703,7 +68743,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68703
68743
  {
68704
68744
  name = String (name);
68705
68745
 
68706
- if (! (externproto instanceof Prototype_X3DExternProtoDeclaration))
68746
+ if (!(externproto instanceof Prototype_X3DExternProtoDeclaration))
68707
68747
  throw new Error ("Couldn't add extern proto declaration: extern proto must be of type X3DExternProtoDeclaration.");
68708
68748
 
68709
68749
  if (this [_externprotos] .get (name))
@@ -68723,7 +68763,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68723
68763
  {
68724
68764
  name = String (name);
68725
68765
 
68726
- if (! (externproto instanceof Prototype_X3DExternProtoDeclaration))
68766
+ if (!(externproto instanceof Prototype_X3DExternProtoDeclaration))
68727
68767
  throw new Error ("Couldn't add extern proto declaration: extern proto must be of type X3DExternProtoDeclaration.");
68728
68768
 
68729
68769
  name = String (name);
@@ -68759,10 +68799,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68759
68799
  destinationNode = Base_X3DCast (Base_X3DConstants.X3DNode, destinationNode, false);
68760
68800
  destinationField = String (destinationField);
68761
68801
 
68762
- if (! sourceNode)
68802
+ if (!sourceNode)
68763
68803
  throw new Error ("Bad ROUTE specification: source node must be of type X3DNode.");
68764
68804
 
68765
- if (! destinationNode)
68805
+ if (!destinationNode)
68766
68806
  throw new Error ("Bad ROUTE specification: destination node must be of type X3DNode.");
68767
68807
 
68768
68808
  // Imported nodes handling.
@@ -68827,10 +68867,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68827
68867
  sourceField = sourceNode .getField (sourceField),
68828
68868
  destinationField = destinationNode .getField (destinationField);
68829
68869
 
68830
- if (! sourceField .isOutput ())
68870
+ if (!sourceField .isOutput ())
68831
68871
  throw new Error ("Field named '" + sourceField .getName () + "' in node named '" + sourceNode .getName () + "' of type " + sourceNode .getTypeName () + " is not an output field.");
68832
68872
 
68833
- if (! destinationField .isInput ())
68873
+ if (!destinationField .isInput ())
68834
68874
  throw new Error ("Field named '" + destinationField .getName () + "' in node named '" + destinationNode .getName () + "' of type " + destinationNode .getTypeName () + " is not an input field.");
68835
68875
 
68836
68876
  if (sourceField .getType () !== destinationField .getType ())
@@ -68863,7 +68903,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68863
68903
  {
68864
68904
  route = this .getRoute .apply (this, arguments);
68865
68905
 
68866
- if (! route)
68906
+ if (!route)
68867
68907
  return false;
68868
68908
  }
68869
68909
 
@@ -68943,10 +68983,10 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
68943
68983
  destinationNode = Base_X3DCast (Base_X3DConstants.X3DNode, destinationNode, false);
68944
68984
  destinationField = String (destinationField)
68945
68985
 
68946
- if (! sourceNode)
68986
+ if (!sourceNode)
68947
68987
  throw new Error ("Bad ROUTE specification: sourceNode must be of type X3DNode.");
68948
68988
 
68949
- if (! destinationNode)
68989
+ if (!destinationNode)
68950
68990
  throw new Error ("Bad ROUTE specification: destinationNode must be of type X3DNode.");
68951
68991
 
68952
68992
  sourceField = sourceNode .getField (sourceField);
@@ -69128,9 +69168,7 @@ X3DExecutionContext .prototype = Object .assign (Object .create (Base_X3DBaseNod
69128
69168
  },
69129
69169
  dispose: function ()
69130
69170
  {
69131
- this ._rootNodes .dispose ();
69132
-
69133
- for (const route of this [X3DExecutionContext_routes])
69171
+ for (const route of [... this [X3DExecutionContext_routes]])
69134
69172
  this .deleteRoute (route);
69135
69173
 
69136
69174
  Base_X3DBaseNode.prototype.dispose.call (this);
@@ -69217,7 +69255,7 @@ const X3DExecutionContext_default_ = X3DExecutionContext;
69217
69255
  x_ite_Namespace.set ("x_ite/Execution/X3DExecutionContext", X3DExecutionContext_default_);
69218
69256
  /* harmony default export */ const Execution_X3DExecutionContext = (X3DExecutionContext_default_);
69219
69257
  ;// CONCATENATED MODULE: ./src/x_ite/Configuration/ComponentInfo.js
69220
- /* provided dependency */ var ComponentInfo_$ = __webpack_require__(972);
69258
+ /* provided dependency */ var ComponentInfo_$ = __webpack_require__(505);
69221
69259
  /*******************************************************************************
69222
69260
  *
69223
69261
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -70088,15 +70126,19 @@ X3DScene .prototype = Object .assign (Object .create (Execution_X3DExecutionCont
70088
70126
  {
70089
70127
  return this [_profile];
70090
70128
  },
70129
+ hasComponent: function (name)
70130
+ {
70131
+ return (this [_profile] ?.components .has (name) ?? true) || this [_components] .has (name);
70132
+ },
70091
70133
  addComponent: function (component)
70092
70134
  {
70093
70135
  this [_components] .add (component .name, component);
70094
70136
 
70095
70137
  this ._components_changed = this .getBrowser () .getCurrentTime ();
70096
70138
  },
70097
- removeComponent: function (component)
70139
+ removeComponent: function (name)
70098
70140
  {
70099
- this [_components] .remove (component .name);
70141
+ this [_components] .remove (name);
70100
70142
 
70101
70143
  this ._components_changed = this .getBrowser () .getCurrentTime ();
70102
70144
  },
@@ -70104,10 +70146,6 @@ X3DScene .prototype = Object .assign (Object .create (Execution_X3DExecutionCont
70104
70146
  {
70105
70147
  return this [_components];
70106
70148
  },
70107
- hasComponent: function (componentName)
70108
- {
70109
- return (this [_profile] ?.components .has (componentName) ?? true) || this [_components] .has (componentName);
70110
- },
70111
70149
  updateUnit: function (category, name, conversionFactor)
70112
70150
  {
70113
70151
  // Private function.
@@ -71192,7 +71230,7 @@ const DataStorage_default_ = DataStorage;
71192
71230
  x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
71193
71231
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
71194
71232
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
71195
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(972);
71233
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(505);
71196
71234
  /*******************************************************************************
71197
71235
  *
71198
71236
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -77249,8 +77287,8 @@ const OrientationChaser_default_ = OrientationChaser;
77249
77287
  x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
77250
77288
  /* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
77251
77289
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
77252
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(93);
77253
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(972);
77290
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(59);
77291
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(505);
77254
77292
  /*******************************************************************************
77255
77293
  *
77256
77294
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -78111,8 +78149,8 @@ const ExamineViewer_default_ = ExamineViewer;
78111
78149
  x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
78112
78150
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
78113
78151
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
78114
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(93);
78115
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(972);
78152
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(59);
78153
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(505);
78116
78154
  /*******************************************************************************
78117
78155
  *
78118
78156
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79060,8 +79098,8 @@ const FlyViewer_default_ = FlyViewer;
79060
79098
  x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
79061
79099
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
79062
79100
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
79063
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(93);
79064
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(972);
79101
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(59);
79102
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(505);
79065
79103
  /*******************************************************************************
79066
79104
  *
79067
79105
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79370,8 +79408,8 @@ const NoneViewer_default_ = NoneViewer;
79370
79408
  x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
79371
79409
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
79372
79410
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
79373
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(93);
79374
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(972);
79411
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(59);
79412
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(505);
79375
79413
  /*******************************************************************************
79376
79414
  *
79377
79415
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -80746,11 +80784,10 @@ X3DNetworkingContext .prototype =
80746
80784
  {
80747
80785
  this [_loading] = value;
80748
80786
 
80749
- this .setLoadCount (0);
80750
-
80751
80787
  if (value)
80752
80788
  {
80753
- this .resetLoadCount ();
80789
+ if (!this [X3DNetworkingContext_loadingObjects] .has (this))
80790
+ this .resetLoadCount ();
80754
80791
 
80755
80792
  this .getShadow () .find (".x_ite-private-world-info") .remove ();
80756
80793
 
@@ -80774,6 +80811,10 @@ X3DNetworkingContext .prototype =
80774
80811
  {
80775
80812
  return this [_loading];
80776
80813
  },
80814
+ getDisplayLoadCount: function ()
80815
+ {
80816
+ return [... this [X3DNetworkingContext_loadingObjects]] .reduce ((v, o) => v + !(o .isPrivate ?.() ?? true), 0);
80817
+ },
80777
80818
  addLoadingObject: function (object)
80778
80819
  {
80779
80820
  if (this [X3DNetworkingContext_loadingObjects] .has (object))
@@ -80794,6 +80835,7 @@ X3DNetworkingContext .prototype =
80794
80835
  this [X3DNetworkingContext_loadingObjects] .delete (object);
80795
80836
 
80796
80837
  this .setLoadCount (this [X3DNetworkingContext_loadingObjects] .size);
80838
+ this .setCursor (this .getCursor ());
80797
80839
  },
80798
80840
  setLoadCount: function (value)
80799
80841
  {
@@ -80812,9 +80854,7 @@ X3DNetworkingContext .prototype =
80812
80854
  },
80813
80855
  [_set_loadCount]: function ()
80814
80856
  {
80815
- const loadingDisplay = [... this [X3DNetworkingContext_loadingObjects]]
80816
- .filter (o => o .isPrivate)
80817
- .reduce ((v, o) => v + !o .isPrivate (), 0);
80857
+ const loadingDisplay = this .getDisplayLoadCount ();
80818
80858
 
80819
80859
  if (this ._loadCount .getValue () || this [_loading])
80820
80860
  {
@@ -80987,8 +81027,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
80987
81027
  x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
80988
81028
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
80989
81029
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
80990
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(93);
80991
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(972);
81030
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(59);
81031
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(505);
80992
81032
  /*******************************************************************************
80993
81033
  *
80994
81034
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -81613,9 +81653,9 @@ X3DPointingDeviceSensorContext .prototype =
81613
81653
  break;
81614
81654
  default:
81615
81655
  {
81616
- if (this ._loadCount .getValue ())
81656
+ if (this .getDisplayLoadCount ())
81617
81657
  div .css ("cursor", "wait");
81618
- else if (this [_pointingDevice] && this [_pointingDevice] .isOver)
81658
+ else if (this [_pointingDevice] ?.isOver)
81619
81659
  div .css ("cursor", "pointer");
81620
81660
  else
81621
81661
  div .css ("cursor", "default");
@@ -82026,8 +82066,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
82026
82066
  x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
82027
82067
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
82028
82068
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
82029
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(972);
82030
- /* provided dependency */ var ResizeSensor = __webpack_require__(556);
82069
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(505);
82070
+ /* provided dependency */ var ResizeSensor = __webpack_require__(891);
82031
82071
  /*******************************************************************************
82032
82072
  *
82033
82073
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -87916,7 +87956,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
87916
87956
  x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
87917
87957
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
87918
87958
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
87919
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(972);
87959
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(505);
87920
87960
  /*******************************************************************************
87921
87961
  *
87922
87962
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -87968,7 +88008,6 @@ x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_def
87968
88008
 
87969
88009
 
87970
88010
 
87971
-
87972
88011
  const X3DProgrammableShaderObject_uniformLocation = Symbol .for ("X3DField.uniformLocation");
87973
88012
 
87974
88013
  function X3DProgrammableShaderObject (executionContext)
@@ -89675,8 +89714,6 @@ ComposedShader .prototype = Object .assign (Object .create (Shaders_X3DShaderNod
89675
89714
  Shaders_X3DShaderNode.prototype.initialize.call (this);
89676
89715
  Shaders_X3DProgrammableShaderObject.prototype.initialize.call (this);
89677
89716
 
89678
- this .getLive () .addInterest ("set_live__", this);
89679
-
89680
89717
  // https://www.web3d.org/documents/specifications/19775-1/V4.0/Part01/shaders_glsl.html#relinkingprograms
89681
89718
  this ._activate .addInterest ("set_activate__", this);
89682
89719
 
@@ -89699,7 +89736,7 @@ ComposedShader .prototype = Object .assign (Object .create (Shaders_X3DShaderNod
89699
89736
  },
89700
89737
  addUserDefinedField: function (accessType, name, field)
89701
89738
  {
89702
- const shaderFields = this .isInitialized () && this .getLive () .getValue () && this .isValid ();
89739
+ const shaderFields = this .isInitialized () && this .isValid ();
89703
89740
 
89704
89741
  if (shaderFields)
89705
89742
  this .removeShaderFields ();
@@ -89711,7 +89748,7 @@ ComposedShader .prototype = Object .assign (Object .create (Shaders_X3DShaderNod
89711
89748
  },
89712
89749
  removeUserDefinedField: function (name)
89713
89750
  {
89714
- const shaderFields = this .isInitialized () && this .getLive () .getValue () && this .isValid ();
89751
+ const shaderFields = this .isInitialized () && this .isValid ();
89715
89752
 
89716
89753
  if (shaderFields)
89717
89754
  this .removeShaderFields ();
@@ -89729,22 +89766,9 @@ ComposedShader .prototype = Object .assign (Object .create (Shaders_X3DShaderNod
89729
89766
  {
89730
89767
  return this .program;
89731
89768
  },
89732
- set_live__: function ()
89733
- {
89734
- if (this .getLive () .getValue ())
89735
- {
89736
- if (this .isValid ())
89737
- this .addShaderFields ();
89738
- }
89739
- else
89740
- {
89741
- if (this .isValid ())
89742
- this .removeShaderFields ();
89743
- }
89744
- },
89745
89769
  set_activate__: function ()
89746
89770
  {
89747
- if (! this ._activate .getValue ())
89771
+ if (!this ._activate .getValue ())
89748
89772
  return;
89749
89773
 
89750
89774
  this .set_loaded__ ();
@@ -90709,7 +90733,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
90709
90733
  x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
90710
90734
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
90711
90735
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
90712
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(972);
90736
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(505);
90713
90737
  /*******************************************************************************
90714
90738
  *
90715
90739
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -90830,13 +90854,13 @@ ShaderPart .prototype = Object .assign (Object .create (Core_X3DNode.prototype),
90830
90854
 
90831
90855
  this ._type .addInterest ("set_type__", this);
90832
90856
 
90833
- this .requestImmediateLoad ();
90857
+ this .requestImmediateLoad () .catch (Function .prototype);
90834
90858
  },
90835
90859
  set_type__: function ()
90836
90860
  {
90837
90861
  this .setLoadState (Base_X3DConstants.NOT_STARTED_STATE);
90838
90862
 
90839
- this .requestImmediateLoad ();
90863
+ this .requestImmediateLoad () .catch (Function .prototype);
90840
90864
  },
90841
90865
  getSourceText: function ()
90842
90866
  {
@@ -90870,11 +90894,11 @@ ShaderPart .prototype = Object .assign (Object .create (Core_X3DNode.prototype),
90870
90894
  return shaderTypes .get (this ._type .getValue ()) || "VERTEX_SHADER";
90871
90895
  };
90872
90896
  })(),
90873
- unLoadNow: function ()
90897
+ unloadData: function ()
90874
90898
  {
90875
90899
  this .valid = false;
90876
90900
  },
90877
- loadNow: function ()
90901
+ loadData: function ()
90878
90902
  {
90879
90903
  new InputOutput_FileLoader (this) .loadDocument (this ._url,
90880
90904
  function (data, url)
@@ -95816,7 +95840,7 @@ X3DEnvironmentalSensorNode .prototype = Object .assign (Object .create (Core_X3D
95816
95840
  },
95817
95841
  set_live__: function ()
95818
95842
  {
95819
- if (this ._traversed .getValue () && this .getLive () .getValue () && this ._enabled .getValue () && ! (this .zeroTest && this ._size. getValue () .equals (Numbers_Vector3.Zero)))
95843
+ if (this ._traversed .getValue () && this .getLive () .getValue () && this ._enabled .getValue () && !(this .zeroTest && this ._size. getValue () .equals (Numbers_Vector3.Zero)))
95820
95844
  {
95821
95845
  this .getBrowser () .sensorEvents () .addInterest ("update", this);
95822
95846
  }
@@ -95939,7 +95963,7 @@ function ProximitySensor (executionContext)
95939
95963
 
95940
95964
  this .min = new Numbers_Vector3 (0, 0, 0);
95941
95965
  this .max = new Numbers_Vector3 (0, 0, 0);
95942
- this .viewpointNode = null;
95966
+ this .layerNode = null;
95943
95967
  this .modelMatrix = new Numbers_Matrix4 ();
95944
95968
  this .inside = false;
95945
95969
  }
@@ -96025,15 +96049,17 @@ ProximitySensor .prototype = Object .assign (Object .create (EnvironmentalSensor
96025
96049
  {
96026
96050
  if (this .inside && this .getTraversed ())
96027
96051
  {
96028
- if (this .viewpointNode)
96052
+ if (this .layerNode)
96029
96053
  {
96030
- const modelMatrix = this .modelMatrix;
96054
+ const
96055
+ viewpointNode = this .layerNode .getViewpoint (),
96056
+ modelMatrix = this .modelMatrix;
96031
96057
 
96032
- centerOfRotationMatrix .assign (this .viewpointNode .getModelMatrix ());
96033
- centerOfRotationMatrix .translate (this .viewpointNode .getUserCenterOfRotation ());
96058
+ centerOfRotationMatrix .assign (viewpointNode .getModelMatrix ());
96059
+ centerOfRotationMatrix .translate (viewpointNode .getUserCenterOfRotation ());
96034
96060
  centerOfRotationMatrix .multRight (invModelMatrix .assign (modelMatrix) .inverse ());
96035
96061
 
96036
- modelMatrix .multRight (this .viewpointNode .getViewMatrix ());
96062
+ modelMatrix .multRight (viewpointNode .getViewMatrix ());
96037
96063
  modelMatrix .get (null, orientation);
96038
96064
  modelMatrix .inverse ();
96039
96065
 
@@ -96045,13 +96071,13 @@ ProximitySensor .prototype = Object .assign (Object .create (EnvironmentalSensor
96045
96071
 
96046
96072
  if (this ._isActive .getValue ())
96047
96073
  {
96048
- if (! this ._position_changed .getValue () .equals (position))
96074
+ if (!this ._position_changed .getValue () .equals (position))
96049
96075
  this ._position_changed = position;
96050
96076
 
96051
- if (! this ._orientation_changed .getValue () .equals (orientation))
96077
+ if (!this ._orientation_changed .getValue () .equals (orientation))
96052
96078
  this ._orientation_changed = orientation;
96053
96079
 
96054
- if (! this ._centerOfRotation_changed .getValue () .equals (centerOfRotation))
96080
+ if (!this ._centerOfRotation_changed .getValue () .equals (centerOfRotation))
96055
96081
  this ._centerOfRotation_changed = centerOfRotation;
96056
96082
  }
96057
96083
  else
@@ -96073,8 +96099,8 @@ ProximitySensor .prototype = Object .assign (Object .create (EnvironmentalSensor
96073
96099
  }
96074
96100
  }
96075
96101
 
96076
- this .inside = false;
96077
- this .viewpointNode = null;
96102
+ this .inside = false;
96103
+ this .layerNode = null;
96078
96104
 
96079
96105
  this .setTraversed (false);
96080
96106
  };
@@ -96091,7 +96117,7 @@ ProximitySensor .prototype = Object .assign (Object .create (EnvironmentalSensor
96091
96117
  {
96092
96118
  case Rendering_TraverseType.CAMERA:
96093
96119
  {
96094
- this .viewpointNode = renderObject .getViewpoint ();
96120
+ this .layerNode = renderObject .getLayer ();
96095
96121
  this .modelMatrix .assign (renderObject .getModelViewMatrix () .get ());
96096
96122
  return;
96097
96123
  }
@@ -96268,7 +96294,7 @@ TransformSensor .prototype = Object .assign (Object .create (EnvironmentalSensor
96268
96294
  { },
96269
96295
  set_enabled__: function ()
96270
96296
  {
96271
- if (this .getLive () .getValue () && this .targetObjectNode && this ._enabled .getValue () && ! this ._size. getValue () .equals (Numbers_Vector3.Zero))
96297
+ if (this .getLive () .getValue () && this .targetObjectNode && this ._enabled .getValue () && !this ._size. getValue () .equals (Numbers_Vector3.Zero))
96272
96298
  {
96273
96299
  this .setPickableObject (true);
96274
96300
  this .getBrowser () .addTransformSensor (this);
@@ -96369,10 +96395,10 @@ TransformSensor .prototype = Object .assign (Object .create (EnvironmentalSensor
96369
96395
 
96370
96396
  if (this ._isActive .getValue ())
96371
96397
  {
96372
- if (! this ._position_changed .getValue () .equals (position))
96398
+ if (!this ._position_changed .getValue () .equals (position))
96373
96399
  this ._position_changed = position;
96374
96400
 
96375
- if (! this ._orientation_changed .getValue () .equals (orientation))
96401
+ if (!this ._orientation_changed .getValue () .equals (orientation))
96376
96402
  this ._orientation_changed = orientation;
96377
96403
  }
96378
96404
  else
@@ -96566,7 +96592,7 @@ VisibilitySensor .prototype = Object .assign (Object .create (EnvironmentalSenso
96566
96592
  {
96567
96593
  if (this .visible && this .getTraversed ())
96568
96594
  {
96569
- if (! this ._isActive .getValue ())
96595
+ if (!this ._isActive .getValue ())
96570
96596
  {
96571
96597
  this ._isActive = true;
96572
96598
  this ._enterTime = this .getBrowser () .getCurrentTime ();
@@ -106080,18 +106106,15 @@ Anchor .prototype = Object .assign (Object .create (Grouping_X3DGroupingNode.pro
106080
106106
  this .touchSensorNode ._enabled = this ._load;
106081
106107
  this .touchSensorNode .setup ();
106082
106108
 
106083
- // Modify set_active__ to get immediate response to user action (click event), otherwise links are not opened in this window.
106084
-
106085
- const
106086
- anchor = this,
106087
- set_active__ = this .touchSensorNode .set_active__;
106109
+ // Modify set_active__ to get immediate response to user action (click event),
106110
+ // otherwise links are not opened in this window.
106088
106111
 
106089
- this .touchSensorNode .set_active__ = function (active, hit)
106112
+ this .touchSensorNode .set_active__ = (active, hit) =>
106090
106113
  {
106091
- set_active__ .call (this, active, hit);
106114
+ PointingDeviceSensor_TouchSensor.prototype.set_active__.call (this .touchSensorNode, active, hit);
106092
106115
 
106093
- if (this ._isOver .getValue () && ! active)
106094
- anchor .requestImmediateLoad ();
106116
+ if (this .touchSensorNode ._isOver .getValue () && !active)
106117
+ this .requestImmediateLoad () .catch (Function .prototype);
106095
106118
  };
106096
106119
  },
106097
106120
  set_load__: function ()
@@ -106103,34 +106126,40 @@ Anchor .prototype = Object .assign (Object .create (Grouping_X3DGroupingNode.pro
106103
106126
  this .setCache (cache);
106104
106127
  this .setLoadState (Base_X3DConstants.IN_PROGRESS_STATE, false);
106105
106128
 
106106
- new InputOutput_FileLoader (this) .createX3DFromURL (this ._url, this ._parameter,
106107
- function (scene)
106129
+ return new Promise ((resolve, reject) =>
106108
106130
  {
106109
- if (scene)
106131
+ new InputOutput_FileLoader (this) .createX3DFromURL (this ._url, this ._parameter,
106132
+ (scene) =>
106110
106133
  {
106111
- this .getBrowser () .replaceWorld (scene);
106134
+ if (scene)
106135
+ {
106136
+ this .getBrowser () .replaceWorld (scene);
106137
+ this .setLoadState (Base_X3DConstants.COMPLETE_STATE, false);
106138
+ resolve ();
106139
+ }
106140
+ else
106141
+ {
106142
+ this .setLoadState (Base_X3DConstants.FAILED_STATE, false);
106143
+ reject ();
106144
+ }
106145
+ },
106146
+ (viewpointName) =>
106147
+ {
106148
+ this .getBrowser () .changeViewpoint (viewpointName);
106112
106149
  this .setLoadState (Base_X3DConstants.COMPLETE_STATE, false);
106113
- }
106114
- else
106115
- this .setLoadState (Base_X3DConstants.FAILED_STATE, false);
106116
- }
106117
- .bind (this),
106118
- function (viewpointName)
106119
- {
106120
- this .getBrowser () .changeViewpoint (viewpointName);
106121
- this .setLoadState (Base_X3DConstants.COMPLETE_STATE, false);
106122
- }
106123
- .bind (this),
106124
- function (url, target)
106125
- {
106126
- if (target)
106127
- window .open (url, target);
106128
- else
106129
- location = url;
106150
+ resolve ();
106151
+ },
106152
+ (url, target) =>
106153
+ {
106154
+ if (target)
106155
+ window .open (url, target);
106156
+ else
106157
+ location = url;
106130
106158
 
106131
- this .setLoadState (Base_X3DConstants.COMPLETE_STATE, false);
106132
- }
106133
- .bind (this));
106159
+ this .setLoadState (Base_X3DConstants.COMPLETE_STATE, false);
106160
+ resolve ();
106161
+ });
106162
+ });
106134
106163
  },
106135
106164
  requestUnload ()
106136
106165
  { },
@@ -106296,7 +106325,7 @@ Inline .prototype = Object .assign (Object .create (Core_X3DChildNode.prototype)
106296
106325
  this .groupNode ._isCameraObject .addFieldInterest (this ._isCameraObject);
106297
106326
  this .groupNode ._isPickableObject .addFieldInterest (this ._isPickableObject);
106298
106327
 
106299
- this .requestImmediateLoad ();
106328
+ this .requestImmediateLoad () .catch (Function .prototype);
106300
106329
  },
106301
106330
  getBBox: function (bbox, shadows)
106302
106331
  {
@@ -106314,12 +106343,12 @@ Inline .prototype = Object .assign (Object .create (Core_X3DChildNode.prototype)
106314
106343
 
106315
106344
  this .scene .setLive (this .getLive () .getValue ());
106316
106345
  },
106317
- unLoadNow: function ()
106346
+ unloadData: function ()
106318
106347
  {
106319
106348
  this .abortLoading ();
106320
106349
  this .setInternalScene (this .getBrowser () .getDefaultScene ());
106321
106350
  },
106322
- loadNow: function ()
106351
+ loadData: function ()
106323
106352
  {
106324
106353
  this .abortLoading ();
106325
106354
  this .fileLoader = new InputOutput_FileLoader (this) .createX3DFromURL (this ._url, null, this .setInternalSceneAsync .bind (this));
@@ -107454,7 +107483,7 @@ PlaneSensor .prototype = Object .assign (Object .create (PointingDeviceSensor_X3
107454
107483
  {
107455
107484
  //console .error (error);
107456
107485
 
107457
- trackPoint = this .startPoint;
107486
+ trackPoint .assign (this .startPoint);
107458
107487
  }
107459
107488
 
107460
107489
  this .trackStart (trackPoint);
@@ -111041,8 +111070,6 @@ PackagedShader .prototype = Object .assign (Object .create (Shaders_X3DShaderNod
111041
111070
  },
111042
111071
  requestImmediateLoad: function (cache = true)
111043
111072
  { },
111044
- requestUnload: function ()
111045
- { },
111046
111073
  initialize: function ()
111047
111074
  {
111048
111075
  Shaders_X3DShaderNode.prototype.initialize.call (this);
@@ -111258,8 +111285,6 @@ ShaderProgram .prototype = Object .assign (Object .create (Core_X3DNode.prototyp
111258
111285
  },
111259
111286
  requestImmediateLoad: function (cache = true)
111260
111287
  { },
111261
- requestUnload: function ()
111262
- { },
111263
111288
  initialize: function ()
111264
111289
  {
111265
111290
  Core_X3DNode.prototype.initialize.call (this);
@@ -113147,7 +113172,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
113147
113172
  x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
113148
113173
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
113149
113174
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
113150
- /* provided dependency */ var AudioClip_$ = __webpack_require__(972);
113175
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(505);
113151
113176
  /*******************************************************************************
113152
113177
  *
113153
113178
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113268,7 +113293,7 @@ AudioClip .prototype = Object .assign (Object .create (Sound_X3DSoundSourceNode.
113268
113293
  this .audio .prop ("preload", "auto");
113269
113294
  this .audio .prop ("muted", true);
113270
113295
 
113271
- this .requestImmediateLoad ();
113296
+ this .requestImmediateLoad () .catch (Function .prototype);
113272
113297
  },
113273
113298
  getElement: function ()
113274
113299
  {
@@ -113279,11 +113304,11 @@ AudioClip .prototype = Object .assign (Object .create (Sound_X3DSoundSourceNode.
113279
113304
  Sound_X3DSoundSourceNode.prototype.set_live__.call (this);
113280
113305
  Networking_X3DUrlObject.prototype.set_live__.call (this);
113281
113306
  },
113282
- unLoadNow: function ()
113307
+ unloadData: function ()
113283
113308
  {
113284
113309
  this .setMedia (null);
113285
113310
  },
113286
- loadNow: function ()
113311
+ loadData: function ()
113287
113312
  {
113288
113313
  this .setMedia (null);
113289
113314
  this .urlStack .setValue (this ._url);
@@ -116042,8 +116067,8 @@ const GIFMedia_default_ = GifMedia;
116042
116067
  x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
116043
116068
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
116044
116069
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
116045
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(972);
116046
- /* provided dependency */ var SuperGif = __webpack_require__(309);
116070
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(505);
116071
+ /* provided dependency */ var SuperGif = __webpack_require__(969);
116047
116072
  /*******************************************************************************
116048
116073
  *
116049
116074
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116172,7 +116197,7 @@ MovieTexture .prototype = Object .assign (Object .create (Texturing_X3DTexture2D
116172
116197
  this .video .prop ("preload", "auto");
116173
116198
  this .video .prop ("muted", true);
116174
116199
 
116175
- this .requestImmediateLoad ();
116200
+ this .requestImmediateLoad () .catch (Function .prototype);
116176
116201
  },
116177
116202
  getElement: function ()
116178
116203
  {
@@ -116183,11 +116208,11 @@ MovieTexture .prototype = Object .assign (Object .create (Texturing_X3DTexture2D
116183
116208
  Sound_X3DSoundSourceNode.prototype.set_live__.call (this);
116184
116209
  Networking_X3DUrlObject.prototype.set_live__.call (this);
116185
116210
  },
116186
- unLoadNow: function ()
116211
+ unloadData: function ()
116187
116212
  {
116188
116213
  this .clearTexture ();
116189
116214
  },
116190
- loadNow: function ()
116215
+ loadData: function ()
116191
116216
  {
116192
116217
  delete this .gif;
116193
116218
  this .setMedia (null);
@@ -117006,7 +117031,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
117006
117031
  x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
117007
117032
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
117008
117033
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
117009
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(972);
117034
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(505);
117010
117035
  /*******************************************************************************
117011
117036
  *
117012
117037
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117717,7 +117742,7 @@ const Components_default_ = Components;
117717
117742
  x_ite_Namespace.set ("x_ite/Components", Components_default_);
117718
117743
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
117719
117744
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
117720
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(972);
117745
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(505);
117721
117746
  /*******************************************************************************
117722
117747
  * MIT License
117723
117748
  *
@@ -118954,7 +118979,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
118954
118979
  x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
118955
118980
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
118956
118981
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
118957
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(972);
118982
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(505);
118958
118983
  /*******************************************************************************
118959
118984
  *
118960
118985
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119044,7 +119069,6 @@ function X3DBrowser (element)
119044
119069
 
119045
119070
  Browser_X3DBrowserContext.call (this, element);
119046
119071
 
119047
- this [_reject] = Function .prototype;
119048
119072
  this [_browserCallbacks] = new Map ();
119049
119073
  this [_console] = document .getElementsByClassName ("x_ite-console");
119050
119074
 
@@ -119201,6 +119225,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119201
119225
  if (argument instanceof Configuration_ComponentInfo)
119202
119226
  return this .loadComponents ([argument .name]);
119203
119227
 
119228
+ // Load array of component names.
119204
119229
  return loadComponents (this, [... argument], new Set ());
119205
119230
  };
119206
119231
  })(),
@@ -119242,11 +119267,9 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119242
119267
  {
119243
119268
  return new Promise ((resolve, reject) =>
119244
119269
  {
119245
- this [_reject] ("Replacing world aborted.");
119246
-
119247
- if (this [_fileLoader])
119248
- this [_fileLoader] .abort ();
119270
+ this [_fileLoader] ?.abort ();
119249
119271
 
119272
+ this [_reject] ?.("Replacing world aborted.");
119250
119273
  this [_reject] = reject;
119251
119274
 
119252
119275
  // Remove world.
@@ -119437,16 +119460,15 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119437
119460
  this ._loadCount .removeInterest ("checkLoadCount", this);
119438
119461
  this .prepareEvents () .removeInterest ("updateInitialized", this);
119439
119462
 
119440
- if (this [_fileLoader])
119441
- this [_fileLoader] .abort ();
119463
+ this [_fileLoader] ?.abort ();
119442
119464
 
119443
119465
  // Start loading.
119444
119466
 
119445
- this .setBrowserLoading (true);
119446
- this .addLoadingObject (this);
119447
-
119448
119467
  const fileLoader = this [_fileLoader] = new InputOutput_FileLoader (this .getWorld ());
119449
119468
 
119469
+ this .setBrowserLoading (true);
119470
+ this .addLoadingObject (fileLoader);
119471
+
119450
119472
  fileLoader .createX3DFromURL (url, parameter, (scene) =>
119451
119473
  {
119452
119474
  if (fileLoader !== this [_fileLoader])
@@ -119460,8 +119482,10 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119460
119482
 
119461
119483
  if (scene)
119462
119484
  {
119485
+ this .addLoadingObject (this); // Prevent resetLoadCount.
119463
119486
  this .replaceWorld (scene) .then (resolve) .catch (reject);
119464
119487
  this .removeLoadingObject (this);
119488
+ this .removeLoadingObject (fileLoader);
119465
119489
  }
119466
119490
  else
119467
119491
  {
@@ -119487,7 +119511,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119487
119511
  }
119488
119512
 
119489
119513
  this .changeViewpoint (fragment);
119490
- this .removeLoadingObject (this);
119514
+ this .removeLoadingObject (fileLoader);
119491
119515
  this .setBrowserLoading (false);
119492
119516
 
119493
119517
  resolve ();
@@ -119505,7 +119529,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119505
119529
  else
119506
119530
  location = url;
119507
119531
 
119508
- this .removeLoadingObject (this);
119532
+ this .removeLoadingObject (fileLoader);
119509
119533
  this .setBrowserLoading (false);
119510
119534
 
119511
119535
  resolve ();
@@ -119605,10 +119629,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119605
119629
  },
119606
119630
  viewAll: function (layerNode)
119607
119631
  {
119608
- layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode);
119609
-
119610
- if (!layerNode)
119611
- layerNode = this .getActiveLayer ();
119632
+ layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode) ?? this .getActiveLayer ();
119612
119633
 
119613
119634
  if (!layerNode)
119614
119635
  return;
@@ -119617,13 +119638,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119617
119638
  },
119618
119639
  firstViewpoint: function (layerNode)
119619
119640
  {
119620
- layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode);
119621
-
119622
- if (!layerNode)
119623
- layerNode = this .getActiveLayer ();
119624
-
119625
- if (!layerNode)
119626
- return;
119641
+ layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode) ?? this .getActiveLayer ();
119627
119642
 
119628
119643
  const viewpoints = layerNode .getUserViewpoints ();
119629
119644
 
@@ -119632,10 +119647,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119632
119647
  },
119633
119648
  previousViewpoint: function (layerNode)
119634
119649
  {
119635
- layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode);
119636
-
119637
- if (!layerNode)
119638
- layerNode = this .getActiveLayer ();
119650
+ layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode) ?? this .getActiveLayer ();
119639
119651
 
119640
119652
  if (!layerNode)
119641
119653
  return;
@@ -119664,10 +119676,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119664
119676
  },
119665
119677
  nextViewpoint: function (layerNode)
119666
119678
  {
119667
- layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode);
119668
-
119669
- if (!layerNode)
119670
- layerNode = this .getActiveLayer ();
119679
+ layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode) ?? this .getActiveLayer ();
119671
119680
 
119672
119681
  if (!layerNode)
119673
119682
  return;
@@ -119696,10 +119705,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119696
119705
  },
119697
119706
  lastViewpoint: function (layerNode)
119698
119707
  {
119699
- layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode);
119700
-
119701
- if (!layerNode)
119702
- layerNode = this .getActiveLayer ();
119708
+ layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode) ?? this .getActiveLayer ();
119703
119709
 
119704
119710
  if (!layerNode)
119705
119711
  return;
@@ -119717,10 +119723,7 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119717
119723
  layerNode = this .getActiveLayer ();
119718
119724
  }
119719
119725
 
119720
- layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode);
119721
-
119722
- if (!layerNode)
119723
- layerNode = this .getActiveLayer ();
119726
+ layerNode = Base_X3DCast (Base_X3DConstants.X3DLayerNode, layerNode) ?? this .getActiveLayer ();
119724
119727
 
119725
119728
  if (!layerNode)
119726
119729
  return;
@@ -119899,7 +119902,7 @@ const X3DBrowser_default_ = X3DBrowser;
119899
119902
  x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
119900
119903
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
119901
119904
  ;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
119902
- /* provided dependency */ var Fallback_$ = __webpack_require__(972);
119905
+ /* provided dependency */ var Fallback_$ = __webpack_require__(505);
119903
119906
  /*******************************************************************************
119904
119907
  *
119905
119908
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120078,8 +120081,8 @@ const MicroTime_default_ = undefined;
120078
120081
  x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
120079
120082
  /* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
120080
120083
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
120081
- /* provided dependency */ var jquery_$ = __webpack_require__(972);
120082
- /* provided dependency */ var pako = __webpack_require__(680);
120084
+ /* provided dependency */ var jquery_$ = __webpack_require__(505);
120085
+ /* provided dependency */ var pako = __webpack_require__(794);
120083
120086
  jquery_$.decodeText = function (input)
120084
120087
  {
120085
120088
  if (typeof input === "string")
@@ -120111,14 +120114,14 @@ const jquery_default_ = jquery_$;
120111
120114
  x_ite_Namespace.set ("lib/jquery", jquery_default_);
120112
120115
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
120113
120116
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
120114
- /* provided dependency */ var libtess_libtess = __webpack_require__(838);
120117
+ /* provided dependency */ var libtess_libtess = __webpack_require__(811);
120115
120118
  const libtess_default_ = libtess_libtess;
120116
120119
  ;
120117
120120
 
120118
120121
  x_ite_Namespace.set ("lib/libtess", libtess_default_);
120119
120122
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
120120
120123
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
120121
- /* provided dependency */ var X3D_$ = __webpack_require__(972);
120124
+ /* provided dependency */ var X3D_$ = __webpack_require__(505);
120122
120125
  /*******************************************************************************
120123
120126
  *
120124
120127
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120374,7 +120377,7 @@ const X3D_default_ = X3D;
120374
120377
  x_ite_Namespace.set ("x_ite/X3D", X3D_default_);
120375
120378
  /* harmony default export */ const x_ite_X3D = (X3D_default_);
120376
120379
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120377
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(972);
120380
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(505);
120378
120381
  /*******************************************************************************
120379
120382
  *
120380
120383
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120653,7 +120656,7 @@ x_ite_Namespace.set ("shim", shim_default_);
120653
120656
 
120654
120657
  // Assign X3D to global namespace.
120655
120658
 
120656
- window [Symbol .for ("X_ITE.X3D-8.6.15")] = x_ite_X3D;
120659
+ window [Symbol .for ("X_ITE.X3D-8.6.18")] = x_ite_X3D;
120657
120660
 
120658
120661
  x_ite_X3DCanvasElement.define ();
120659
120662