x_ite 8.6.18 → 8.6.20

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 (87) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/components/Annotation.js +13 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +13 -13
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +25 -25
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +13 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +9 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +19 -19
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +33 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +18 -18
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +27 -27
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +24 -24
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +23 -25
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +19 -21
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +18 -18
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +30 -32
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +24 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +14 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +30 -30
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +19 -19
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +9 -9
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/example.html +1 -1
  43. package/dist/x_ite.css +1 -1
  44. package/dist/x_ite.js +234 -235
  45. package/dist/x_ite.min.js +1 -1
  46. package/dist/x_ite.zip +0 -0
  47. package/docs/_config.yml +1 -1
  48. package/docs/_posts/getting-started.md +18 -18
  49. package/docs/_posts/setup-a-localhost-server.md +2 -2
  50. package/docs/_tabs/playground.html +24 -17
  51. package/package.json +4 -4
  52. package/src/example.html +1 -1
  53. package/src/standard/Math/Algorithm.js +1 -1
  54. package/src/standard/Math/Algorithms/MergeSort.js +7 -5
  55. package/src/standard/Math/Algorithms/PartialSort.js +3 -1
  56. package/src/standard/Math/Algorithms/QuickSort.js +1 -3
  57. package/src/standard/Math/Geometry/Box2.js +1 -1
  58. package/src/standard/Math/Geometry/Box3.js +1 -1
  59. package/src/standard/Math/Numbers/Quaternion.js +4 -3
  60. package/src/standard/Math/Numbers/Rotation4.js +4 -3
  61. package/src/x_ite/Base/X3DBaseNode.js +1 -1
  62. package/src/x_ite/Base/X3DEventObject.js +3 -2
  63. package/src/x_ite/Base/X3DField.js +2 -2
  64. package/src/x_ite/Browser/Core/Context.js +1 -1
  65. package/src/x_ite/Browser/Navigation/ExamineViewer.js +4 -1
  66. package/src/x_ite/Browser/Navigation/LookAtViewer.js +3 -0
  67. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +18 -11
  68. package/src/x_ite/Browser/VERSION.js +1 -1
  69. package/src/x_ite/Browser/X3DBrowser.js +48 -57
  70. package/src/x_ite/Browser/X3DBrowserContext.js +3 -3
  71. package/src/x_ite/Components/Scripting/Script.js +2 -4
  72. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +1 -1
  73. package/src/x_ite/Components/Sound/AudioClip.js +3 -3
  74. package/src/x_ite/Components/Sound/DynamicsCompressor.js +4 -4
  75. package/src/x_ite/Components/Texturing/MovieTexture.js +3 -3
  76. package/src/x_ite/Execution/Scene.js +1 -1
  77. package/src/x_ite/Execution/X3DExecutionContext.js +11 -11
  78. package/src/x_ite/Fields/SFNode.js +5 -3
  79. package/src/x_ite/Fields/SFRotation.js +2 -4
  80. package/src/x_ite/Fields/SFVecPrototypeTemplate.js +3 -3
  81. package/src/x_ite/InputOutput/FileLoader.js +16 -22
  82. package/src/x_ite/InputOutput/Generator.js +1 -1
  83. package/src/x_ite/Parser/X3DParser.js +4 -4
  84. package/src/x_ite/Parser/XMLParser.js +13 -19
  85. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +5 -4
  86. package/src/x_ite/Prototype/X3DProtoDeclaration.js +4 -3
  87. package/docs/_tabs/imprint.md +0 -52
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.18 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v8.6.20 */(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
- /***/ 891:
14
+ /***/ 780:
15
15
  /***/ (function(module, exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- /* provided dependency */ var jQuery = __webpack_require__(505);
18
+ /* provided dependency */ var jQuery = __webpack_require__(586);
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
- /***/ 221:
390
+ /***/ 54:
391
391
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
392
392
 
393
- /* provided dependency */ var jQuery = __webpack_require__(505);
393
+ /* provided dependency */ var jQuery = __webpack_require__(586);
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
- /***/ 59:
589
+ /***/ 729:
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__(505)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
603
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(586)], __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
- /***/ 505:
814
+ /***/ 586:
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
- /***/ 811:
11787
+ /***/ 314:
11788
11788
  /***/ ((module) => {
11789
11789
 
11790
11790
  /**
@@ -16563,7 +16563,7 @@ if (true) {
16563
16563
 
16564
16564
  /***/ }),
16565
16565
 
16566
- /***/ 794:
16566
+ /***/ 928:
16567
16567
  /***/ (function(__unused_webpack_module, exports) {
16568
16568
 
16569
16569
 
@@ -19808,7 +19808,7 @@ if (true) {
19808
19808
 
19809
19809
  /***/ }),
19810
19810
 
19811
- /***/ 969:
19811
+ /***/ 253:
19812
19812
  /***/ (function(module, exports) {
19813
19813
 
19814
19814
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -21227,7 +21227,7 @@ function Generator ({ style = "TIDY", precision = 7, doublePrecision = 15 })
21227
21227
  this .units = true;
21228
21228
  this .unitCategories = [ ];
21229
21229
 
21230
- this .names .set (null, new Set ());
21230
+ this .names .set (null, Object .assign (new Set (), { index: 0 }));
21231
21231
  }
21232
21232
 
21233
21233
  Generator .prototype =
@@ -22292,7 +22292,7 @@ x_ite_Namespace.set ("x_ite/Base/Events", Events_default_);
22292
22292
 
22293
22293
 
22294
22294
 
22295
- const _browser = Symbol .for ("X3DEventObject.browser");
22295
+ const _browser = Symbol .for ("X_ITE.X3DEventObject.browser");
22296
22296
 
22297
22297
  function X3DEventObject (browser)
22298
22298
  {
@@ -22310,6 +22310,7 @@ X3DEventObject .prototype = Object .assign (Object .create (Base_X3DChildObject.
22310
22310
  },
22311
22311
  getExtendedEventHandling: function ()
22312
22312
  {
22313
+ // Whether initializeOnly field are treated like inputOnly and inputOutput fields.
22313
22314
  return true;
22314
22315
  },
22315
22316
  addEvent: function (field)
@@ -22335,7 +22336,7 @@ X3DEventObject .prototype = Object .assign (Object .create (Base_X3DChildObject.
22335
22336
  if (this .isTainted ())
22336
22337
  return;
22337
22338
 
22338
- if (field .isInput () || (this .getExtendedEventHandling () && ! field .isOutput ()))
22339
+ if (field .isInput () || (this .getExtendedEventHandling () && field .isInitializable ()))
22339
22340
  {
22340
22341
  this .addNodeEvent ();
22341
22342
  }
@@ -22968,7 +22969,7 @@ const
22968
22969
  _inputRoutes = Symbol (),
22969
22970
  _outputRoutes = Symbol (),
22970
22971
  _routeCallbacks = Symbol (),
22971
- _uniformLocation = Symbol .for ("X3DField.uniformLocation");
22972
+ _uniformLocation = Symbol .for ("X_ITE.X3DField.uniformLocation");
22972
22973
 
22973
22974
  function X3DField (value)
22974
22975
  {
@@ -22983,7 +22984,6 @@ X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.protot
22983
22984
  [_value]: null,
22984
22985
  [_accessType]: Base_X3DConstants.initializeOnly,
22985
22986
  [_unit]: null,
22986
- [_uniformLocation]: null,
22987
22987
  [_references]: new Set (),
22988
22988
  [_referencesCallbacks]: new Map (),
22989
22989
  [_fieldInterests]: new Set (),
@@ -22991,6 +22991,7 @@ X3DField .prototype = Object .assign (Object .create (Base_X3DChildObject.protot
22991
22991
  [_inputRoutes]: new Set (),
22992
22992
  [_outputRoutes]: new Set (),
22993
22993
  [_routeCallbacks]: new Map (),
22994
+ [_uniformLocation]: null,
22994
22995
  create: function ()
22995
22996
  {
22996
22997
  return new (this .constructor) ();
@@ -23684,7 +23685,7 @@ const Algorithm_default_ = class Algorithm
23684
23685
 
23685
23686
  return first;
23686
23687
  }
23687
- };
23688
+ }
23688
23689
  ;
23689
23690
 
23690
23691
  x_ite_Namespace.set ("standard/Math/Algorithm", Algorithm_default_);
@@ -25333,9 +25334,9 @@ function SFVecPrototypeTemplate (TypeName, Type, ValueType, double)
25333
25334
  toJSONStreamValue: function (generator)
25334
25335
  {
25335
25336
  const
25336
- value = this .getValue (),
25337
- last = value .length - 1,
25338
- category = generator .Unit (this .getUnit ());
25337
+ value = this .getValue (),
25338
+ last = value .length - 1,
25339
+ category = generator .Unit (this .getUnit ());
25339
25340
 
25340
25341
  for (let i = 0; i < last; ++ i)
25341
25342
  {
@@ -28102,6 +28103,7 @@ x_ite_Namespace.set ("standard/Math/Numbers/Vector4", Vector4_default_);
28102
28103
 
28103
28104
 
28104
28105
 
28106
+
28105
28107
  function Quaternion (x, y, z, w)
28106
28108
  {
28107
28109
  this .x = x;
@@ -28191,7 +28193,7 @@ Quaternion .prototype =
28191
28193
 
28192
28194
  return this;
28193
28195
  },
28194
- getMatrix: function (matrix)
28196
+ getMatrix: function (matrix = new Numbers_Matrix3 ())
28195
28197
  {
28196
28198
  const { x, y, z, w } = this;
28197
28199
 
@@ -28222,11 +28224,11 @@ Quaternion .prototype =
28222
28224
  },
28223
28225
  isReal: function ()
28224
28226
  {
28225
- return ! (this .x || this .y || this .z);
28227
+ return !(this .x || this .y || this .z);
28226
28228
  },
28227
28229
  isImag: function ()
28228
28230
  {
28229
- return ! this .w;
28231
+ return !this .w;
28230
28232
  },
28231
28233
  equals: function (quat)
28232
28234
  {
@@ -28658,6 +28660,7 @@ x_ite_Namespace.set ("standard/Math/Numbers/Quaternion", Quaternion_default_);
28658
28660
 
28659
28661
 
28660
28662
 
28663
+
28661
28664
  const
28662
28665
  _x = Symbol (),
28663
28666
  _y = Symbol (),
@@ -28888,7 +28891,7 @@ Rotation4 .prototype =
28888
28891
  {
28889
28892
  this .set (vector .x, vector .y, vector .z, this [_angle]);
28890
28893
  },
28891
- getAxis: function (axis)
28894
+ getAxis: function (axis = new Numbers_Vector3 (0, 0, 0))
28892
28895
  {
28893
28896
  return axis .set (this [_x], this [_y], this [_z]);
28894
28897
  },
@@ -28898,7 +28901,7 @@ Rotation4 .prototype =
28898
28901
  this .update ();
28899
28902
  return this;
28900
28903
  },
28901
- getQuaternion: function (quaternion)
28904
+ getQuaternion: function (quaternion = new Numbers_Quaternion (0, 0, 0, 1))
28902
28905
  {
28903
28906
  return quaternion .assign (this [_quaternion]);
28904
28907
  },
@@ -28908,7 +28911,7 @@ Rotation4 .prototype =
28908
28911
  this .update ();
28909
28912
  return this;
28910
28913
  },
28911
- getMatrix: function (matrix)
28914
+ getMatrix: function (matrix = new Numbers_Matrix3 ())
28912
28915
  {
28913
28916
  return this [_quaternion] .getMatrix (matrix);
28914
28917
  },
@@ -30235,7 +30238,8 @@ const SFNode_handler =
30235
30238
  return value;
30236
30239
 
30237
30240
  const
30238
- field = target .getValue () .getField (key),
30241
+ node = target .getValue (),
30242
+ field = node .getField (key),
30239
30243
  accessType = field .getAccessType ();
30240
30244
 
30241
30245
  // Specification conform would be: accessType & X3DConstants .outputOnly.
@@ -30261,13 +30265,14 @@ const SFNode_handler =
30261
30265
  try
30262
30266
  {
30263
30267
  const
30264
- field = target .getValue () .getField (key),
30268
+ node = target .getValue (),
30269
+ field = node .getField (key),
30265
30270
  accessType = field .getAccessType ();
30266
30271
 
30267
30272
  if (accessType !== Base_X3DConstants.outputOnly)
30268
30273
  field .setValue (value);
30269
30274
 
30270
- return true;
30275
+ return true;
30271
30276
  }
30272
30277
  catch (error)
30273
30278
  {
@@ -30706,8 +30711,6 @@ x_ite_Namespace.set ("x_ite/Fields/SFNode", SFNode_default_);
30706
30711
 
30707
30712
 
30708
30713
 
30709
-
30710
-
30711
30714
  const
30712
30715
  SFVec3f = Fields_SFVec3.SFVec3f,
30713
30716
  SFMatrix3f = Fields_SFMatrix3.SFMatrix3f;
@@ -30781,7 +30784,7 @@ SFRotation .prototype = Object .assign (Object .create (Base_X3DField.prototype)
30781
30784
  },
30782
30785
  getAxis: function ()
30783
30786
  {
30784
- return new SFVec3f (this .getValue () .getAxis (new Numbers_Vector3 (0, 0, 0)));
30787
+ return new SFVec3f (this .getValue () .getAxis ());
30785
30788
  },
30786
30789
  setMatrix: function (matrix)
30787
30790
  {
@@ -30790,7 +30793,7 @@ SFRotation .prototype = Object .assign (Object .create (Base_X3DField.prototype)
30790
30793
  },
30791
30794
  getMatrix: function ()
30792
30795
  {
30793
- return new SFMatrix3f (this .getValue () .getMatrix (new Numbers_Matrix3 ()));
30796
+ return new SFMatrix3f (this .getValue () .getMatrix ());
30794
30797
  },
30795
30798
  inverse: function ()
30796
30799
  {
@@ -34375,7 +34378,7 @@ const
34375
34378
  _childObjects = Symbol (),
34376
34379
  _initialized = Symbol (),
34377
34380
  _live = Symbol (),
34378
- _set_live__ = Symbol ("X3DBaseNode.set_live__"),
34381
+ _set_live__ = Symbol (),
34379
34382
  X3DBaseNode_cloneCount = Symbol ();
34380
34383
 
34381
34384
  function X3DBaseNode (executionContext)
@@ -34964,7 +34967,7 @@ x_ite_Namespace.set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34964
34967
  *
34965
34968
  ******************************************************************************/
34966
34969
 
34967
- const VERSION_default_ = "8.6.18";
34970
+ const VERSION_default_ = "8.6.20";
34968
34971
  ;
34969
34972
 
34970
34973
  x_ite_Namespace.set ("x_ite/Browser/VERSION", VERSION_default_);
@@ -35254,7 +35257,7 @@ const Context =
35254
35257
  }
35255
35258
  };
35256
35259
 
35257
- setTimeout (check, 0);
35260
+ setTimeout (check);
35258
35261
  });
35259
35262
  },
35260
35263
  getBufferSubDataAsync: async function (target, buffer, srcByteOffset, dstBuffer, /* optional */ dstOffset, /* optional */ length)
@@ -35868,7 +35871,7 @@ const gettext_default_ = gettext;
35868
35871
  x_ite_Namespace.set ("locale/gettext", gettext_default_);
35869
35872
  /* harmony default export */ const locale_gettext = (gettext_default_);
35870
35873
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
35871
- /* provided dependency */ var $ = __webpack_require__(505);
35874
+ /* provided dependency */ var $ = __webpack_require__(586);
35872
35875
  /*******************************************************************************
35873
35876
  *
35874
35877
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36286,7 +36289,7 @@ const TextureQuality_default_ = TextureQuality;
36286
36289
  x_ite_Namespace.set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
36287
36290
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
36288
36291
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
36289
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(505);
36292
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(586);
36290
36293
  /*******************************************************************************
36291
36294
  *
36292
36295
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36822,7 +36825,7 @@ const RenderingProperties_default_ = RenderingProperties;
36822
36825
  x_ite_Namespace.set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
36823
36826
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
36824
36827
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
36825
- /* provided dependency */ var Notification_$ = __webpack_require__(505);
36828
+ /* provided dependency */ var Notification_$ = __webpack_require__(586);
36826
36829
  /*******************************************************************************
36827
36830
  *
36828
36831
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -36944,8 +36947,8 @@ const Notification_default_ = Notification;
36944
36947
  x_ite_Namespace.set ("x_ite/Browser/Core/Notification", Notification_default_);
36945
36948
  /* harmony default export */ const Core_Notification = (Notification_default_);
36946
36949
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
36947
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(221);
36948
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(505);
36950
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(54);
36951
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(586);
36949
36952
  /*******************************************************************************
36950
36953
  *
36951
36954
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41669,21 +41672,22 @@ for (const key of Reflect .ownKeys (X3DProtoDeclaration .prototype))
41669
41672
 
41670
41673
  Object .defineProperty (X3DProtoDeclaration .prototype, "name",
41671
41674
  {
41672
- get: function () { return this .getName (); },
41675
+ get: X3DProtoDeclaration .prototype .getName,
41673
41676
  enumerable: true,
41674
41677
  configurable: false
41675
41678
  });
41676
41679
 
41677
41680
  Object .defineProperty (X3DProtoDeclaration .prototype, "fields",
41678
41681
  {
41679
- get: function () { return this .getFieldDefinitions (); },
41682
+ get: X3DProtoDeclaration .prototype .getFieldDefinitions,
41680
41683
  enumerable: true,
41681
41684
  configurable: false
41682
41685
  });
41683
41686
 
41684
41687
  Object .defineProperty (X3DProtoDeclaration .prototype, "isExternProto",
41685
41688
  {
41686
- get: function () { return false; },
41689
+ value: false,
41690
+ writable: false,
41687
41691
  enumerable: true,
41688
41692
  configurable: false
41689
41693
  });
@@ -41976,7 +41980,7 @@ const X3DUrlObject_default_ = X3DUrlObject;
41976
41980
  x_ite_Namespace.set ("x_ite/Components/Networking/X3DUrlObject", X3DUrlObject_default_);
41977
41981
  /* harmony default export */ const Networking_X3DUrlObject = (X3DUrlObject_default_);
41978
41982
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
41979
- /* provided dependency */ var X3DParser_$ = __webpack_require__(505);
41983
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(586);
41980
41984
  /*******************************************************************************
41981
41985
  *
41982
41986
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42033,14 +42037,14 @@ function X3DParser (scene)
42033
42037
 
42034
42038
  X3DParser .prototype = {
42035
42039
  constructor: X3DParser,
42036
- getScene: function ()
42037
- {
42038
- return this .scene;
42039
- },
42040
42040
  getBrowser: function ()
42041
42041
  {
42042
42042
  return this .scene .getBrowser ();
42043
42043
  },
42044
+ getScene: function ()
42045
+ {
42046
+ return this .scene;
42047
+ },
42044
42048
  getExecutionContext: function ()
42045
42049
  {
42046
42050
  return this .executionContexts .at (-1);
@@ -45158,7 +45162,7 @@ const VRMLParser_default_ = VRMLParser;
45158
45162
  x_ite_Namespace.set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
45159
45163
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
45160
45164
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
45161
- /* provided dependency */ var XMLParser_$ = __webpack_require__(505);
45165
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(586);
45162
45166
  /*******************************************************************************
45163
45167
  *
45164
45168
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -45307,18 +45311,16 @@ XMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
45307
45311
  {
45308
45312
  if (this .success)
45309
45313
  {
45310
- this .loadComponents () .then (function ()
45314
+ this .loadComponents () .then (() =>
45311
45315
  {
45312
45316
  this .childrenElements (xmlElement);
45313
45317
  this .success (this .getScene ());
45314
- }
45315
- .bind (this))
45316
- .catch (function (error)
45318
+ })
45319
+ .catch ((error) =>
45317
45320
  {
45318
45321
  if (this .error)
45319
45322
  this .error (error);
45320
- }
45321
- .bind (this));
45323
+ });
45322
45324
  }
45323
45325
  else
45324
45326
  {
@@ -45338,18 +45340,16 @@ XMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
45338
45340
  {
45339
45341
  if (this .success)
45340
45342
  {
45341
- this .loadComponents () .then (function ()
45343
+ this .loadComponents () .then (() =>
45342
45344
  {
45343
45345
  this .sceneElement (xmlElement);
45344
45346
  this .success (this .getScene ());
45345
- }
45346
- .bind (this))
45347
- .catch (function (error)
45347
+ })
45348
+ .catch ((error) =>
45348
45349
  {
45349
45350
  if (this .error)
45350
45351
  this .error (error);
45351
- }
45352
- .bind (this));
45352
+ });
45353
45353
  }
45354
45354
  else
45355
45355
  {
@@ -45362,18 +45362,16 @@ XMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
45362
45362
  {
45363
45363
  if (this .success)
45364
45364
  {
45365
- this .loadComponents () .then (function ()
45365
+ this .loadComponents () .then (() =>
45366
45366
  {
45367
45367
  this .childrenElements (xmlElement);
45368
45368
  this .success (this .getScene ());
45369
- }
45370
- .bind (this))
45371
- .catch (function (error)
45369
+ })
45370
+ .catch ((error) =>
45372
45371
  {
45373
45372
  if (this .error)
45374
45373
  this .error (error);
45375
- }
45376
- .bind (this));
45374
+ });
45377
45375
  }
45378
45376
  else
45379
45377
  {
@@ -45996,7 +45994,7 @@ XMLParser .prototype = Object .assign (Object .create (Parser_X3DParser.prototyp
45996
45994
  {
45997
45995
  // Add elements and cdata.
45998
45996
  if (childNode .nodeType === 1 || childNode .nodeType === 4)
45999
- element .appendChild (childNode);
45997
+ element .appendChild (childNode);
46000
45998
  }
46001
45999
  },
46002
46000
  routeElement: function (xmlElement)
@@ -47201,7 +47199,7 @@ const URLs_default_ = URLs;
47201
47199
  x_ite_Namespace.set ("x_ite/Browser/Networking/URLs", URLs_default_);
47202
47200
  /* harmony default export */ const Networking_URLs = (URLs_default_);
47203
47201
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
47204
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(505);
47202
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(586);
47205
47203
  /*******************************************************************************
47206
47204
  *
47207
47205
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49667,7 +49665,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
49667
49665
  x_ite_Namespace.set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
49668
49666
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
49669
49667
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
49670
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(505);
49668
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(586);
49671
49669
  /*******************************************************************************
49672
49670
  *
49673
49671
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -49820,7 +49818,7 @@ const GLB2Parser_default_ = GLB2Parser;
49820
49818
  x_ite_Namespace.set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
49821
49819
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
49822
49820
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
49823
- /* provided dependency */ var OBJParser_$ = __webpack_require__(505);
49821
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(586);
49824
49822
  /*******************************************************************************
49825
49823
  *
49826
49824
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -51764,7 +51762,7 @@ x_ite_Namespace.set ("standard/Math/Numbers/Complex", Complex_default_);
51764
51762
 
51765
51763
 
51766
51764
 
51767
- function Box2 (size, center)
51765
+ function Box2 (/* size, center */)
51768
51766
  {
51769
51767
  this .matrix = new Numbers_Matrix3 ();
51770
51768
 
@@ -52310,8 +52308,8 @@ const MatrixStack_default_ = MatrixStack;
52310
52308
  x_ite_Namespace.set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
52311
52309
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
52312
52310
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
52313
- /* provided dependency */ var SVGParser_$ = __webpack_require__(505);
52314
- /* provided dependency */ var libtess = __webpack_require__(811);
52311
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(586);
52312
+ /* provided dependency */ var libtess = __webpack_require__(314);
52315
52313
  /*******************************************************************************
52316
52314
  *
52317
52315
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55080,7 +55078,7 @@ const SVGParser_default_ = SVGParser;
55080
55078
  x_ite_Namespace.set ("x_ite/Parser/SVGParser", SVGParser_default_);
55081
55079
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
55082
55080
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
55083
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(505);
55081
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(586);
55084
55082
  /*******************************************************************************
55085
55083
  *
55086
55084
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -55409,7 +55407,7 @@ const Plane3_default_ = Plane3;
55409
55407
  x_ite_Namespace.set ("standard/Math/Geometry/Plane3", Plane3_default_);
55410
55408
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
55411
55409
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
55412
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(811);
55410
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(314);
55413
55411
  /*******************************************************************************
55414
55412
  *
55415
55413
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -56484,26 +56482,28 @@ MergeSort .prototype =
56484
56482
  },
56485
56483
  merge: function (lo, m, hi)
56486
56484
  {
56485
+ const { array, auxiliary, compare } = this;
56486
+
56487
56487
  let i, j, k;
56488
56488
 
56489
56489
  i = 0, j = lo;
56490
56490
  // Copy first half of array a to auxiliary array b.
56491
56491
  while (j <= m)
56492
- this .auxiliary [i++] = this .array [j++];
56492
+ auxiliary [i++] = array [j++];
56493
56493
 
56494
56494
  i = 0; k = lo;
56495
56495
  // Copy back next-greatest element at each time.
56496
56496
  while (k < j && j <= hi)
56497
56497
  {
56498
- if (this .compare (this .array [j], this .auxiliary [i]))
56499
- this .array [k++] = this .array [j++];
56498
+ if (compare (array [j], auxiliary [i]))
56499
+ array [k++] = array [j++];
56500
56500
  else
56501
- this .array [k++] = this .auxiliary [i++];
56501
+ array [k++] = auxiliary [i++];
56502
56502
  }
56503
56503
 
56504
56504
  // Copy back remaining elements of first half (if any).
56505
56505
  while (k < j)
56506
- this .array [k++] = this .auxiliary [i++];
56506
+ array [k++] = auxiliary [i++];
56507
56507
  }
56508
56508
  };
56509
56509
 
@@ -56696,7 +56696,7 @@ x_ite_Namespace.set ("standard/Math/Geometry/Camera", Camera_default_);
56696
56696
 
56697
56697
 
56698
56698
 
56699
- function Box3 (size, center)
56699
+ function Box3 (/* size, center */)
56700
56700
  {
56701
56701
  this .matrix = new Numbers_Matrix4 ();
56702
56702
 
@@ -62713,7 +62713,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
62713
62713
  x_ite_Namespace.set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
62714
62714
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
62715
62715
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
62716
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(505);
62716
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(586);
62717
62717
  /*******************************************************************************
62718
62718
  *
62719
62719
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67053,7 +67053,7 @@ const X3DWorld_default_ = X3DWorld;
67053
67053
  x_ite_Namespace.set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
67054
67054
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
67055
67055
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
67056
- /* provided dependency */ var FileLoader_$ = __webpack_require__(505);
67056
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(586);
67057
67057
  /*******************************************************************************
67058
67058
  *
67059
67059
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -67111,7 +67111,7 @@ const
67111
67111
  ECMAScript = /^\s*(?:vrmlscript|javascript|ecmascript)\:(.*)$/s,
67112
67112
  dataURL = /^data:(.*?)(?:;charset=(.*?))?(?:;(base64))?,(.*)$/s;
67113
67113
 
67114
- const foreignExtensions = new RegExp ("\.(?:html|xhtml)$");
67114
+ const foreignExtensions = new RegExp ("\.(?:html|htm|xhtml)$");
67115
67115
 
67116
67116
  const foreign = {
67117
67117
  "text/html": true,
@@ -67128,11 +67128,10 @@ function FileLoader (node, external)
67128
67128
  this .browser = node .getBrowser ();
67129
67129
  this .external = external === undefined ? this .browser .isExternal () : external;
67130
67130
  this .executionContext = this .external ? node .getExecutionContext () : this .browser .currentScene;
67131
- this .userAgent = this .browser .getName () + "/" + this .browser .getVersion () + " (X3D Browser; +" + this .browser .getProviderUrl () + ")";
67132
67131
  this .target = "";
67133
67132
  this .url = [ ];
67134
67133
  this .URL = new URL (this .getReferer (), this .getReferer ());
67135
- this .fileReader = new FileReader ();
67134
+ this .controller = new AbortController ();
67136
67135
  }
67137
67136
 
67138
67137
  FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype),
@@ -67140,24 +67139,20 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67140
67139
  constructor: FileLoader,
67141
67140
  abort: function ()
67142
67141
  {
67143
- this .callback = Function .prototype;
67144
- this .bindViewpoint = Function .prototype;
67145
- this .foreign = Function .prototype;
67146
- },
67147
- isPrivate: function ()
67148
- {
67149
- return true;
67142
+ this .url .length = 0;
67143
+
67144
+ this .controller .abort ();
67150
67145
  },
67151
- getWorldURL: function ()
67146
+ getURL: function ()
67152
67147
  {
67153
67148
  return this .URL;
67154
67149
  },
67155
67150
  getReferer: function ()
67156
67151
  {
67157
- if (this .node .getTypeName () === "X3DWorld")
67152
+ if (this .node instanceof Execution_X3DWorld)
67158
67153
  {
67159
67154
  if (this .external)
67160
- return this .browser .getLocation ();
67155
+ return this .browser .getBaseURL ();
67161
67156
  }
67162
67157
 
67163
67158
  return this .executionContext .getWorldURL ();
@@ -67223,7 +67218,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67223
67218
 
67224
67219
  // Wait for instances to be created.
67225
67220
 
67226
- setTimeout (function ()
67221
+ setTimeout (() =>
67227
67222
  {
67228
67223
  try
67229
67224
  {
@@ -67236,8 +67231,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67236
67231
  else
67237
67232
  throw exception;
67238
67233
  }
67239
- },
67240
- 0);
67234
+ });
67241
67235
 
67242
67236
  if (DEBUG)
67243
67237
  {
@@ -67256,7 +67250,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67256
67250
  createX3DFromURLAsync: function (callback, data)
67257
67251
  {
67258
67252
  if (data === null)
67259
- callback (null, this .URL);
67253
+ callback (null);
67260
67254
  else
67261
67255
  this .createX3DFromString (this .URL, data, callback, this .loadDocumentError .bind (this));
67262
67256
  },
@@ -67305,7 +67299,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67305
67299
  if (result [3] === "base64")
67306
67300
  data = atob (data);
67307
67301
  else
67308
- data = unescape (data);
67302
+ data = decodeURIComponent (data);
67309
67303
 
67310
67304
  this .callback (data);
67311
67305
  return;
@@ -67345,7 +67339,7 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67345
67339
  // Load URL async
67346
67340
 
67347
67341
  const
67348
- options = { cache: this .node .getCache () ? "default" : "reload" },
67342
+ options = { cache: this .node .getCache () ? "default" : "reload", signal: this .controller .signal },
67349
67343
  response = this .handleErrors (await fetch (this .URL .href, options)),
67350
67344
  contentType = response .headers .get ("content-type") ?.replace (/;.*$/, "");
67351
67345
 
@@ -67361,10 +67355,10 @@ FileLoader .prototype = Object .assign (Object .create (Base_X3DObject.prototype
67361
67355
  },
67362
67356
  handleErrors: function (response)
67363
67357
  {
67364
- if (!response .ok)
67365
- throw Error (response .statusText || response .status);
67358
+ if (response .ok)
67359
+ return response;
67366
67360
 
67367
- return response;
67361
+ throw Error (response .statusText || response .status);
67368
67362
  },
67369
67363
  loadDocumentError: function (exception)
67370
67364
  {
@@ -67817,21 +67811,22 @@ for (const key of Reflect .ownKeys (X3DExternProtoDeclaration .prototype))
67817
67811
 
67818
67812
  Object .defineProperty (X3DExternProtoDeclaration .prototype, "name",
67819
67813
  {
67820
- get: function () { return this .getName (); },
67814
+ get: X3DExternProtoDeclaration .prototype .getName,
67821
67815
  enumerable: true,
67822
67816
  configurable: false
67823
67817
  });
67824
67818
 
67825
67819
  Object .defineProperty (X3DExternProtoDeclaration .prototype, "fields",
67826
67820
  {
67827
- get: function () { return this .getFieldDefinitions (); },
67821
+ get: X3DExternProtoDeclaration .prototype .getFieldDefinitions,
67828
67822
  enumerable: true,
67829
67823
  configurable: false
67830
67824
  });
67831
67825
 
67832
67826
  Object .defineProperty (X3DExternProtoDeclaration .prototype, "isExternProto",
67833
67827
  {
67834
- get: function () { return true; },
67828
+ value: true,
67829
+ writable: false,
67835
67830
  enumerable: true,
67836
67831
  configurable: false
67837
67832
  });
@@ -67845,7 +67840,7 @@ Object .defineProperty (X3DExternProtoDeclaration .prototype, "urls",
67845
67840
 
67846
67841
  Object .defineProperty (X3DExternProtoDeclaration .prototype, "loadState",
67847
67842
  {
67848
- get: function () { return this .checkLoadState (); },
67843
+ get: X3DExternProtoDeclaration .prototype .checkLoadState,
67849
67844
  enumerable: true,
67850
67845
  configurable: false
67851
67846
  });
@@ -69180,71 +69175,71 @@ for (const key of Reflect .ownKeys (X3DExecutionContext .prototype))
69180
69175
 
69181
69176
  Object .defineProperty (X3DExecutionContext .prototype, "specificationVersion",
69182
69177
  {
69183
- get: function () { return this .getSpecificationVersion (); },
69178
+ get: X3DExecutionContext .prototype .getSpecificationVersion,
69184
69179
  enumerable: true,
69185
69180
  configurable: false
69186
69181
  });
69187
69182
 
69188
69183
  Object .defineProperty (X3DExecutionContext .prototype, "encoding",
69189
69184
  {
69190
- get: function () { return this .getEncoding (); },
69185
+ get: X3DExecutionContext .prototype .getEncoding,
69191
69186
  enumerable: true,
69192
69187
  configurable: false
69193
69188
  });
69194
69189
 
69195
69190
  Object .defineProperty (X3DExecutionContext .prototype, "profile",
69196
69191
  {
69197
- get: function () { return this .getProfile (); },
69192
+ get: X3DExecutionContext .prototype .getProfile,
69198
69193
  enumerable: true,
69199
69194
  configurable: false
69200
69195
  });
69201
69196
 
69202
69197
  Object .defineProperty (X3DExecutionContext .prototype, "components",
69203
69198
  {
69204
- get: function () { return this .getComponents (); },
69199
+ get: X3DExecutionContext .prototype .getComponents,
69205
69200
  enumerable: true,
69206
69201
  configurable: false
69207
69202
  });
69208
69203
 
69209
69204
  Object .defineProperty (X3DExecutionContext .prototype, "worldURL",
69210
69205
  {
69211
- get: function () { return this .getWorldURL (); },
69206
+ get: X3DExecutionContext .prototype .getWorldURL,
69212
69207
  enumerable: true,
69213
69208
  configurable: false
69214
69209
  });
69215
69210
 
69216
69211
  Object .defineProperty (X3DExecutionContext .prototype, "units",
69217
69212
  {
69218
- get: function () { return this .getUnits (); },
69213
+ get: X3DExecutionContext .prototype .getUnits,
69219
69214
  enumerable: true,
69220
69215
  configurable: false
69221
69216
  });
69222
69217
 
69223
69218
  Object .defineProperty (X3DExecutionContext .prototype, "rootNodes",
69224
69219
  {
69225
- get: function () { return this .getRootNodes (); },
69226
- set: function (value) { this .setRootNodes (value); },
69220
+ get: X3DExecutionContext .prototype .getRootNodes,
69221
+ set: X3DExecutionContext .prototype .setRootNodes,
69227
69222
  enumerable: true,
69228
69223
  configurable: false
69229
69224
  });
69230
69225
 
69231
69226
  Object .defineProperty (X3DExecutionContext .prototype, "protos",
69232
69227
  {
69233
- get: function () { return this .getProtoDeclarations (); },
69228
+ get: X3DExecutionContext .prototype .getProtoDeclarations,
69234
69229
  enumerable: true,
69235
69230
  configurable: false
69236
69231
  });
69237
69232
 
69238
69233
  Object .defineProperty (X3DExecutionContext .prototype, "externprotos",
69239
69234
  {
69240
- get: function () { return this .getExternProtoDeclarations (); },
69235
+ get: X3DExecutionContext .prototype .getExternProtoDeclarations,
69241
69236
  enumerable: true,
69242
69237
  configurable: false
69243
69238
  });
69244
69239
 
69245
69240
  Object .defineProperty (X3DExecutionContext .prototype, "routes",
69246
69241
  {
69247
- get: function () { return this .getRoutes (); },
69242
+ get: X3DExecutionContext .prototype .getRoutes,
69248
69243
  enumerable: true,
69249
69244
  configurable: false
69250
69245
  });
@@ -69255,7 +69250,7 @@ const X3DExecutionContext_default_ = X3DExecutionContext;
69255
69250
  x_ite_Namespace.set ("x_ite/Execution/X3DExecutionContext", X3DExecutionContext_default_);
69256
69251
  /* harmony default export */ const Execution_X3DExecutionContext = (X3DExecutionContext_default_);
69257
69252
  ;// CONCATENATED MODULE: ./src/x_ite/Configuration/ComponentInfo.js
69258
- /* provided dependency */ var ComponentInfo_$ = __webpack_require__(505);
69253
+ /* provided dependency */ var ComponentInfo_$ = __webpack_require__(586);
69259
69254
  /*******************************************************************************
69260
69255
  *
69261
69256
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -70994,7 +70989,7 @@ x_ite_Namespace.set ("x_ite/Execution/X3DScene", X3DScene_default_);
70994
70989
 
70995
70990
 
70996
70991
  const
70997
- Scene_browser = Symbol .for ("X3DEventObject.browser"),
70992
+ Scene_browser = Symbol .for ("X_ITE.X3DEventObject.browser"),
70998
70993
  _loadingObjects = Symbol ();
70999
70994
 
71000
70995
  function Scene (browser)
@@ -71230,7 +71225,7 @@ const DataStorage_default_ = DataStorage;
71230
71225
  x_ite_Namespace.set ("standard/Utility/DataStorage", DataStorage_default_);
71231
71226
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
71232
71227
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
71233
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(505);
71228
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(586);
71234
71229
  /*******************************************************************************
71235
71230
  *
71236
71231
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -77287,8 +77282,8 @@ const OrientationChaser_default_ = OrientationChaser;
77287
77282
  x_ite_Namespace.set ("x_ite/Components/Followers/OrientationChaser", OrientationChaser_default_);
77288
77283
  /* harmony default export */ const Followers_OrientationChaser = (OrientationChaser_default_);
77289
77284
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
77290
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(59);
77291
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(505);
77285
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(729);
77286
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(586);
77292
77287
  /*******************************************************************************
77293
77288
  *
77294
77289
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -77740,7 +77735,7 @@ ExamineViewer .prototype = Object .assign (Object .create (Navigation_X3DViewer.
77740
77735
  {
77741
77736
  this .tapedTwice = true;
77742
77737
 
77743
- setTimeout (function () { this .tapedTwice = false; } .bind (this), 300);
77738
+ setTimeout (() => this .tapedTwice = false, 300);
77744
77739
  }
77745
77740
 
77746
77741
  break;
@@ -77824,6 +77819,9 @@ ExamineViewer .prototype = Object .assign (Object .create (Navigation_X3DViewer.
77824
77819
  event .deltaY = delta;
77825
77820
  event .zoomFactor = Math .abs (delta) / ExamineViewer_$(window) .width ();
77826
77821
 
77822
+ event .pageX = (touches [0] .pageX + touches [1] .pageX) / 2;
77823
+ event .pageY = (touches [0] .pageY + touches [1] .pageY) / 2;
77824
+
77827
77825
  this .mousewheel (event);
77828
77826
 
77829
77827
  break;
@@ -78149,8 +78147,8 @@ const ExamineViewer_default_ = ExamineViewer;
78149
78147
  x_ite_Namespace.set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
78150
78148
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
78151
78149
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
78152
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(59);
78153
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(505);
78150
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(729);
78151
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(586);
78154
78152
  /*******************************************************************************
78155
78153
  *
78156
78154
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79098,8 +79096,8 @@ const FlyViewer_default_ = FlyViewer;
79098
79096
  x_ite_Namespace.set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
79099
79097
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
79100
79098
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
79101
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(59);
79102
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(505);
79099
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(729);
79100
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(586);
79103
79101
  /*******************************************************************************
79104
79102
  *
79105
79103
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79408,8 +79406,8 @@ const NoneViewer_default_ = NoneViewer;
79408
79406
  x_ite_Namespace.set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
79409
79407
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
79410
79408
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
79411
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(59);
79412
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(505);
79409
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(729);
79410
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(586);
79413
79411
  /*******************************************************************************
79414
79412
  *
79415
79413
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -79782,6 +79780,9 @@ LookAtViewer .prototype = Object .assign (Object .create (Navigation_X3DViewer.p
79782
79780
 
79783
79781
  event .deltaY = delta;
79784
79782
  event .zoomFactor = Math .abs (delta) / LookAtViewer_$(window) .width ();
79783
+
79784
+ event .pageX = (touches [0] .pageX + touches [1] .pageX) / 2;
79785
+ event .pageY = (touches [0] .pageY + touches [1] .pageY) / 2;
79785
79786
 
79786
79787
  this .mousewheel (event);
79787
79788
  }
@@ -80724,7 +80725,7 @@ const
80724
80725
  _loadingTotal = Symbol (),
80725
80726
  X3DNetworkingContext_loadingObjects = Symbol (),
80726
80727
  _loading = Symbol (),
80727
- _location = Symbol (),
80728
+ _baseURL = Symbol (),
80728
80729
  _defaultScene = Symbol (),
80729
80730
  _set_loadCount = Symbol ();
80730
80731
 
@@ -80747,7 +80748,7 @@ function X3DNetworkingContext ()
80747
80748
  this [_loadingTotal] = 0;
80748
80749
  this [X3DNetworkingContext_loadingObjects] = new Set ();
80749
80750
  this [_loading] = false;
80750
- this [_location] = getBaseURI (this .getElement () [0]);
80751
+ this [_baseURL] = getBaseURI (this .getElement () [0]);
80751
80752
  }
80752
80753
 
80753
80754
  X3DNetworkingContext .prototype =
@@ -80760,9 +80761,13 @@ X3DNetworkingContext .prototype =
80760
80761
  {
80761
80762
  return Networking_URLs.getProviderUrl ();
80762
80763
  },
80763
- getLocation: function ()
80764
+ getBaseURL: function ()
80764
80765
  {
80765
- return this [_location];
80766
+ return this [_baseURL];
80767
+ },
80768
+ setBaseURL: function (value)
80769
+ {
80770
+ this [_baseURL] = String (value);
80766
80771
  },
80767
80772
  getDefaultScene: function ()
80768
80773
  {
@@ -80772,7 +80777,6 @@ X3DNetworkingContext .prototype =
80772
80777
 
80773
80778
  this [_defaultScene] .setPrivate (true);
80774
80779
  this [_defaultScene] .setLive (true);
80775
- this [_defaultScene] .setup ();
80776
80780
 
80777
80781
  this .getDefaultScene = function () { return this [_defaultScene]; };
80778
80782
 
@@ -80780,6 +80784,10 @@ X3DNetworkingContext .prototype =
80780
80784
 
80781
80785
  return this [_defaultScene];
80782
80786
  },
80787
+ getBrowserLoading: function ()
80788
+ {
80789
+ return this [_loading];
80790
+ },
80783
80791
  setBrowserLoading: function (value)
80784
80792
  {
80785
80793
  this [_loading] = value;
@@ -80807,13 +80815,9 @@ X3DNetworkingContext .prototype =
80807
80815
  }
80808
80816
  }
80809
80817
  },
80810
- getLoading: function ()
80811
- {
80812
- return this [_loading];
80813
- },
80814
- getDisplayLoadCount: function ()
80818
+ getLoadingObjects: function ()
80815
80819
  {
80816
- return [... this [X3DNetworkingContext_loadingObjects]] .reduce ((v, o) => v + !(o .isPrivate ?.() ?? true), 0);
80820
+ return this [X3DNetworkingContext_loadingObjects];
80817
80821
  },
80818
80822
  addLoadingObject: function (object)
80819
80823
  {
@@ -80837,6 +80841,10 @@ X3DNetworkingContext .prototype =
80837
80841
  this .setLoadCount (this [X3DNetworkingContext_loadingObjects] .size);
80838
80842
  this .setCursor (this .getCursor ());
80839
80843
  },
80844
+ getDisplayLoadCount: function ()
80845
+ {
80846
+ return [... this [X3DNetworkingContext_loadingObjects]] .reduce ((v, o) => v + !(o .isPrivate ?.() ?? true), 0);
80847
+ },
80840
80848
  setLoadCount: function (value)
80841
80849
  {
80842
80850
  this ._loadCount = value;
@@ -81027,8 +81035,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
81027
81035
  x_ite_Namespace.set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
81028
81036
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
81029
81037
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
81030
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(59);
81031
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(505);
81038
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(729);
81039
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(586);
81032
81040
  /*******************************************************************************
81033
81041
  *
81034
81042
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -82066,8 +82074,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
82066
82074
  x_ite_Namespace.set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
82067
82075
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
82068
82076
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
82069
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(505);
82070
- /* provided dependency */ var ResizeSensor = __webpack_require__(891);
82077
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(586);
82078
+ /* provided dependency */ var ResizeSensor = __webpack_require__(780);
82071
82079
  /*******************************************************************************
82072
82080
  *
82073
82081
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -87956,7 +87964,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
87956
87964
  x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
87957
87965
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
87958
87966
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
87959
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(505);
87967
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(586);
87960
87968
  /*******************************************************************************
87961
87969
  *
87962
87970
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -88008,7 +88016,7 @@ x_ite_Namespace.set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_def
88008
88016
 
88009
88017
 
88010
88018
 
88011
- const X3DProgrammableShaderObject_uniformLocation = Symbol .for ("X3DField.uniformLocation");
88019
+ const X3DProgrammableShaderObject_uniformLocation = Symbol .for ("X_ITE.X3DField.uniformLocation");
88012
88020
 
88013
88021
  function X3DProgrammableShaderObject (executionContext)
88014
88022
  {
@@ -90733,7 +90741,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
90733
90741
  x_ite_Namespace.set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
90734
90742
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
90735
90743
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
90736
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(505);
90744
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(586);
90737
90745
  /*******************************************************************************
90738
90746
  *
90739
90747
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -93962,8 +93970,8 @@ function X3DBrowserContext (element)
93962
93970
  {
93963
93971
  Base_X3DBaseNode.call (this, this);
93964
93972
  Routing_X3DRoutingContext.call (this);
93965
- Core_X3DCoreContext.call (this, element);
93966
93973
  Scripting_X3DScriptingContext.call (this);
93974
+ Core_X3DCoreContext.call (this, element);
93967
93975
  Networking_X3DNetworkingContext.call (this);
93968
93976
  Texturing_X3DTexturingContext.call (this);
93969
93977
  Shaders_X3DShadersContext.call (this);
@@ -94028,8 +94036,8 @@ X3DBrowserContext .prototype = Object .assign (Object .create (Base_X3DBaseNode.
94028
94036
  {
94029
94037
  Base_X3DBaseNode.prototype.initialize ?.call (this);
94030
94038
  Routing_X3DRoutingContext.prototype.initialize ?.call (this);
94031
- Core_X3DCoreContext.prototype.initialize ?.call (this);
94032
94039
  Scripting_X3DScriptingContext.prototype.initialize ?.call (this);
94040
+ Core_X3DCoreContext.prototype.initialize ?.call (this);
94033
94041
  Networking_X3DNetworkingContext.prototype.initialize ?.call (this);
94034
94042
  Texturing_X3DTexturingContext.prototype.initialize ?.call (this);
94035
94043
  Shaders_X3DShadersContext.prototype.initialize ?.call (this);
@@ -94236,8 +94244,8 @@ X3DBrowserContext .prototype = Object .assign (Object .create (Base_X3DBaseNode.
94236
94244
  Shaders_X3DShadersContext.prototype.dispose ?.call (this);
94237
94245
  Texturing_X3DTexturingContext.prototype.dispose ?.call (this);
94238
94246
  Networking_X3DNetworkingContext.prototype.dispose ?.call (this);
94239
- Scripting_X3DScriptingContext.prototype.dispose ?.call (this);
94240
94247
  Core_X3DCoreContext.prototype.dispose ?.call (this);
94248
+ Scripting_X3DScriptingContext.prototype.dispose ?.call (this);
94241
94249
  Routing_X3DRoutingContext.prototype.dispose ?.call (this);
94242
94250
  Base_X3DBaseNode.prototype.dispose ?.call (this);
94243
94251
  },
@@ -113172,7 +113180,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
113172
113180
  x_ite_Namespace.set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
113173
113181
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
113174
113182
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
113175
- /* provided dependency */ var AudioClip_$ = __webpack_require__(505);
113183
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(586);
113176
113184
  /*******************************************************************************
113177
113185
  *
113178
113186
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113340,12 +113348,12 @@ AudioClip .prototype = Object .assign (Object .create (Sound_X3DSoundSourceNode.
113340
113348
  },
113341
113349
  setTimeout: function (event)
113342
113350
  {
113343
- setTimeout (function ()
113351
+ setTimeout (() =>
113344
113352
  {
113345
113353
  if (this .checkLoadState () === Base_X3DConstants.IN_PROGRESS_STATE)
113346
113354
  this .setError (event);
113347
- }
113348
- .bind (this), 3000);
113355
+ },
113356
+ 3000);
113349
113357
  },
113350
113358
  setError: function (event)
113351
113359
  {
@@ -114523,12 +114531,12 @@ DynamicsCompressor .prototype = Object .assign (Object .create (Sound_X3DSoundPr
114523
114531
  {
114524
114532
  constructor: DynamicsCompressor,
114525
114533
  [Symbol .for ("X_ITE.X3DBaseNode.fieldDefinitions")]: new Base_FieldDefinitionArray ([
114526
- new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "metadata", new x_ite_Fields.SFNode ()),
114527
- new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "description", new x_ite_Fields.SFString ()),
114528
- new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "enabled", new x_ite_Fields.SFBool (true)),
114534
+ new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "metadata", new x_ite_Fields.SFNode ()),
114535
+ new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "description", new x_ite_Fields.SFString ()),
114536
+ new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "enabled", new x_ite_Fields.SFBool (true)),
114529
114537
 
114530
114538
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "gain", new x_ite_Fields.SFFloat (1)),
114531
- new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "attack", new x_ite_Fields.SFFloat (0.003)),
114539
+ new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "attack", new x_ite_Fields.SFFloat (0.003)), // TODO: SFTime
114532
114540
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "knee", new x_ite_Fields.SFFloat (30)),
114533
114541
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "ratio", new x_ite_Fields.SFFloat (12)),
114534
114542
  new Base_X3DFieldDefinition (Base_X3DConstants.inputOutput, "reduction", new x_ite_Fields.SFFloat ()),
@@ -116067,8 +116075,8 @@ const GIFMedia_default_ = GifMedia;
116067
116075
  x_ite_Namespace.set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
116068
116076
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
116069
116077
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
116070
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(505);
116071
- /* provided dependency */ var SuperGif = __webpack_require__(969);
116078
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(586);
116079
+ /* provided dependency */ var SuperGif = __webpack_require__(253);
116072
116080
  /*******************************************************************************
116073
116081
  *
116074
116082
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116259,12 +116267,12 @@ MovieTexture .prototype = Object .assign (Object .create (Texturing_X3DTexture2D
116259
116267
  },
116260
116268
  setTimeout: function (event)
116261
116269
  {
116262
- setTimeout (function ()
116270
+ setTimeout (() =>
116263
116271
  {
116264
116272
  if (this .checkLoadState () === Base_X3DConstants.IN_PROGRESS_STATE)
116265
116273
  this .setError (event);
116266
- }
116267
- .bind (this), 3000);
116274
+ },
116275
+ 3000);
116268
116276
  },
116269
116277
  setError: function (event)
116270
116278
  {
@@ -117031,7 +117039,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
117031
117039
  x_ite_Namespace.set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
117032
117040
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
117033
117041
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
117034
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(505);
117042
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(586);
117035
117043
  /*******************************************************************************
117036
117044
  *
117037
117045
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117742,7 +117750,7 @@ const Components_default_ = Components;
117742
117750
  x_ite_Namespace.set ("x_ite/Components", Components_default_);
117743
117751
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
117744
117752
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
117745
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(505);
117753
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(586);
117746
117754
  /*******************************************************************************
117747
117755
  * MIT License
117748
117756
  *
@@ -118979,7 +118987,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
118979
118987
  x_ite_Namespace.set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
118980
118988
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
118981
118989
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
118982
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(505);
118990
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(586);
118983
118991
  /*******************************************************************************
118984
118992
  *
118985
118993
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119455,74 +119463,56 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119455
119463
  if (!(parameter instanceof x_ite_Fields.MFString))
119456
119464
  throw new Error ("Browser.loadURL: parameter must be of type MFString.");
119457
119465
 
119458
- // Cancel any loading.
119459
-
119460
- this ._loadCount .removeInterest ("checkLoadCount", this);
119461
- this .prepareEvents () .removeInterest ("updateInitialized", this);
119462
-
119463
- this [_fileLoader] ?.abort ();
119464
-
119465
119466
  // Start loading.
119466
119467
 
119467
- const fileLoader = this [_fileLoader] = new InputOutput_FileLoader (this .getWorld ());
119468
-
119469
- this .setBrowserLoading (true);
119470
- this .addLoadingObject (fileLoader);
119468
+ const fileLoader = new InputOutput_FileLoader (this .getWorld ());
119471
119469
 
119472
119470
  fileLoader .createX3DFromURL (url, parameter, (scene) =>
119473
119471
  {
119474
- if (fileLoader !== this [_fileLoader])
119472
+ if (this [_fileLoader] !== fileLoader)
119475
119473
  {
119476
119474
  reject (new Error ("Loading of X3D file aborted."));
119477
- return;
119478
- }
119479
-
119480
- if (!this .getBrowserOption ("SplashScreen"))
119481
- this .getCanvas () .show ();
119482
-
119483
- if (scene)
119484
- {
119485
- this .addLoadingObject (this); // Prevent resetLoadCount.
119486
- this .replaceWorld (scene) .then (resolve) .catch (reject);
119487
- this .removeLoadingObject (this);
119488
- this .removeLoadingObject (fileLoader);
119489
119475
  }
119490
119476
  else
119491
119477
  {
119492
- this .callBrowserCallbacks (Base_X3DConstants.CONNECTION_ERROR);
119493
- this .callBrowserEventHandler ("error");
119478
+ if (!this .getBrowserOption ("SplashScreen"))
119479
+ this .getCanvas () .show ();
119494
119480
 
119495
- setTimeout (() =>
119481
+ if (scene)
119496
119482
  {
119497
- this .getSplashScreen ()
119498
- .find (".x_ite-private-spinner-text")
119499
- .text (locale_gettext ("Failed loading world."));
119500
- });
119483
+ this .addLoadingObject (this); // Prevent resetLoadCount.
119484
+ this .replaceWorld (scene) .then (resolve) .catch (reject);
119485
+ this .removeLoadingObject (this);
119486
+ this .removeLoadingObject (fileLoader);
119487
+ }
119488
+ else
119489
+ {
119490
+ this .callBrowserCallbacks (Base_X3DConstants.CONNECTION_ERROR);
119491
+ this .callBrowserEventHandler ("error");
119501
119492
 
119502
- reject (new Error ("Couldn't load X3D file."));
119493
+ setTimeout (() =>
119494
+ {
119495
+ this .getSplashScreen ()
119496
+ .find (".x_ite-private-spinner-text")
119497
+ .text (locale_gettext ("Failed loading world."));
119498
+ });
119499
+
119500
+ reject (new Error ("Couldn't load X3D file."));
119501
+ }
119503
119502
  }
119504
119503
  },
119505
119504
  (fragment) =>
119506
119505
  {
119507
- if (fileLoader !== this [_fileLoader])
119508
- {
119509
- reject (new Error ("Change viewpoint aborted."));
119510
- return;
119511
- }
119506
+ fileLoader .ready = true;
119512
119507
 
119513
119508
  this .changeViewpoint (fragment);
119514
119509
  this .removeLoadingObject (fileLoader);
119515
- this .setBrowserLoading (false);
119516
119510
 
119517
119511
  resolve ();
119518
119512
  },
119519
119513
  (url, target) =>
119520
119514
  {
119521
- if (fileLoader !== this [_fileLoader])
119522
- {
119523
- reject (new Error ("Loading of file aborted."));
119524
- return;
119525
- }
119515
+ fileLoader .ready = true;
119526
119516
 
119527
119517
  if (target)
119528
119518
  window .open (url, target);
@@ -119530,10 +119520,17 @@ X3DBrowser .prototype = Object .assign (Object .create (Browser_X3DBrowserContex
119530
119520
  location = url;
119531
119521
 
119532
119522
  this .removeLoadingObject (fileLoader);
119533
- this .setBrowserLoading (false);
119534
119523
 
119535
119524
  resolve ();
119536
119525
  });
119526
+
119527
+ if (!fileLoader .ready)
119528
+ {
119529
+ this [_fileLoader] ?.abort ();
119530
+
119531
+ this .setBrowserLoading (true);
119532
+ this .addLoadingObject (this [_fileLoader] = fileLoader);
119533
+ }
119537
119534
  });
119538
119535
  },
119539
119536
  addBrowserListener: function (callback, object)
@@ -119819,49 +119816,51 @@ for (const key of Reflect .ownKeys (X3DBrowser .prototype))
119819
119816
 
119820
119817
  Object .defineProperty (X3DBrowser .prototype, "name",
119821
119818
  {
119822
- get: function () { return this .getName (); },
119819
+ get: X3DBrowser .prototype .getName,
119823
119820
  enumerable: true,
119824
119821
  configurable: false
119825
119822
  });
119826
119823
 
119827
119824
  Object .defineProperty (X3DBrowser .prototype, "version",
119828
119825
  {
119829
- get: function () { return this .getVersion (); },
119826
+ get: X3DBrowser .prototype .getVersion,
119830
119827
  enumerable: true,
119831
119828
  configurable: false
119832
119829
  });
119833
119830
 
119834
119831
  Object .defineProperty (X3DBrowser .prototype, "providerUrl",
119835
119832
  {
119836
- get: function () { return this .getProviderUrl (); },
119833
+ get: X3DBrowser .prototype .getProviderUrl,
119837
119834
  enumerable: true,
119838
119835
  configurable: false
119839
119836
  });
119840
119837
 
119841
119838
  Object .defineProperty (X3DBrowser .prototype, "currentFrameRate",
119842
119839
  {
119843
- get: function () { return this .getCurrentFrameRate (); },
119840
+ get: X3DBrowser .prototype .getCurrentFrameRate,
119844
119841
  enumerable: true,
119845
119842
  configurable: false
119846
119843
  });
119847
119844
 
119848
119845
  Object .defineProperty (X3DBrowser .prototype, "currentSpeed",
119849
119846
  {
119850
- get: function () { return this .getCurrentSpeed (); },
119847
+ get: X3DBrowser .prototype .getCurrentSpeed,
119851
119848
  enumerable: true,
119852
119849
  configurable: false
119853
119850
  });
119854
119851
 
119855
119852
  Object .defineProperty (X3DBrowser .prototype, "description",
119856
119853
  {
119857
- get: function ()
119858
- {
119859
- return this .getDescription ();
119860
- },
119861
- set: function (value)
119862
- {
119863
- this .setDescription (value);
119864
- },
119854
+ get: X3DBrowser .prototype .getDescription,
119855
+ set: X3DBrowser .prototype .setDescription,
119856
+ enumerable: true,
119857
+ configurable: false
119858
+ });
119859
+
119860
+ Object .defineProperty (X3DBrowser .prototype, "baseURL",
119861
+ {
119862
+ get: X3DBrowser .prototype .getBaseURL,
119863
+ set: X3DBrowser .prototype .setBaseURL,
119865
119864
  enumerable: true,
119866
119865
  configurable: false
119867
119866
  });
@@ -119902,7 +119901,7 @@ const X3DBrowser_default_ = X3DBrowser;
119902
119901
  x_ite_Namespace.set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
119903
119902
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
119904
119903
  ;// CONCATENATED MODULE: ./src/x_ite/Fallback.js
119905
- /* provided dependency */ var Fallback_$ = __webpack_require__(505);
119904
+ /* provided dependency */ var Fallback_$ = __webpack_require__(586);
119906
119905
  /*******************************************************************************
119907
119906
  *
119908
119907
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120081,8 +120080,8 @@ const MicroTime_default_ = undefined;
120081
120080
  x_ite_Namespace.set ("standard/Time/MicroTime", MicroTime_default_);
120082
120081
  /* harmony default export */ const MicroTime = ((/* unused pure expression or super */ null && (MicroTime_default_)));
120083
120082
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
120084
- /* provided dependency */ var jquery_$ = __webpack_require__(505);
120085
- /* provided dependency */ var pako = __webpack_require__(794);
120083
+ /* provided dependency */ var jquery_$ = __webpack_require__(586);
120084
+ /* provided dependency */ var pako = __webpack_require__(928);
120086
120085
  jquery_$.decodeText = function (input)
120087
120086
  {
120088
120087
  if (typeof input === "string")
@@ -120114,14 +120113,14 @@ const jquery_default_ = jquery_$;
120114
120113
  x_ite_Namespace.set ("lib/jquery", jquery_default_);
120115
120114
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
120116
120115
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
120117
- /* provided dependency */ var libtess_libtess = __webpack_require__(811);
120116
+ /* provided dependency */ var libtess_libtess = __webpack_require__(314);
120118
120117
  const libtess_default_ = libtess_libtess;
120119
120118
  ;
120120
120119
 
120121
120120
  x_ite_Namespace.set ("lib/libtess", libtess_default_);
120122
120121
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
120123
120122
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
120124
- /* provided dependency */ var X3D_$ = __webpack_require__(505);
120123
+ /* provided dependency */ var X3D_$ = __webpack_require__(586);
120125
120124
  /*******************************************************************************
120126
120125
  *
120127
120126
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120377,7 +120376,7 @@ const X3D_default_ = X3D;
120377
120376
  x_ite_Namespace.set ("x_ite/X3D", X3D_default_);
120378
120377
  /* harmony default export */ const x_ite_X3D = (X3D_default_);
120379
120378
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120380
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(505);
120379
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(586);
120381
120380
  /*******************************************************************************
120382
120381
  *
120383
120382
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120656,7 +120655,7 @@ x_ite_Namespace.set ("shim", shim_default_);
120656
120655
 
120657
120656
  // Assign X3D to global namespace.
120658
120657
 
120659
- window [Symbol .for ("X_ITE.X3D-8.6.18")] = x_ite_X3D;
120658
+ window [Symbol .for ("X_ITE.X3D-8.6.20")] = x_ite_X3D;
120660
120659
 
120661
120660
  x_ite_X3DCanvasElement.define ();
120662
120661