x_ite 14.1.4 → 14.2.0

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 (55) hide show
  1. package/README.md +32 -32
  2. package/dist/X3DUOM.xml +6 -0
  3. package/dist/assets/components/AnnotationComponent.js +2 -2
  4. package/dist/assets/components/AnnotationComponent.min.js +2 -2
  5. package/dist/assets/components/CADGeometryComponent.js +2 -2
  6. package/dist/assets/components/CADGeometryComponent.min.js +2 -2
  7. package/dist/assets/components/CubeMapTexturingComponent.js +2 -2
  8. package/dist/assets/components/CubeMapTexturingComponent.min.js +2 -2
  9. package/dist/assets/components/DISComponent.js +2 -2
  10. package/dist/assets/components/DISComponent.min.js +2 -2
  11. package/dist/assets/components/EventUtilitiesComponent.js +2 -2
  12. package/dist/assets/components/EventUtilitiesComponent.min.js +2 -2
  13. package/dist/assets/components/Geometry2DComponent.js +2 -2
  14. package/dist/assets/components/Geometry2DComponent.min.js +2 -2
  15. package/dist/assets/components/Geometry3DComponent.js +2 -2
  16. package/dist/assets/components/Geometry3DComponent.min.js +2 -2
  17. package/dist/assets/components/GeospatialComponent.js +2 -2
  18. package/dist/assets/components/GeospatialComponent.min.js +2 -2
  19. package/dist/assets/components/HAnimComponent.js +2 -2
  20. package/dist/assets/components/HAnimComponent.min.js +2 -2
  21. package/dist/assets/components/KeyDeviceSensorComponent.js +2 -2
  22. package/dist/assets/components/KeyDeviceSensorComponent.min.js +2 -2
  23. package/dist/assets/components/LayoutComponent.js +8 -5
  24. package/dist/assets/components/LayoutComponent.min.js +2 -2
  25. package/dist/assets/components/NURBSComponent.js +2 -2
  26. package/dist/assets/components/NURBSComponent.min.js +2 -2
  27. package/dist/assets/components/ParticleSystemsComponent.js +2 -2
  28. package/dist/assets/components/ParticleSystemsComponent.min.js +2 -2
  29. package/dist/assets/components/PickingComponent.js +2 -2
  30. package/dist/assets/components/PickingComponent.min.js +2 -2
  31. package/dist/assets/components/RigidBodyPhysicsComponent.js +2 -2
  32. package/dist/assets/components/RigidBodyPhysicsComponent.min.js +2 -2
  33. package/dist/assets/components/ScriptingComponent.js +3 -3
  34. package/dist/assets/components/ScriptingComponent.min.js +2 -2
  35. package/dist/assets/components/TextComponent.js +48 -29
  36. package/dist/assets/components/TextComponent.min.js +2 -2
  37. package/dist/assets/components/TextureProjectionComponent.js +2 -2
  38. package/dist/assets/components/TextureProjectionComponent.min.js +2 -2
  39. package/dist/assets/components/Texturing3DComponent.js +10 -10
  40. package/dist/assets/components/Texturing3DComponent.min.js +2 -2
  41. package/dist/assets/components/VolumeRenderingComponent.js +2 -2
  42. package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
  43. package/dist/assets/components/WebXRComponent.js +2 -2
  44. package/dist/assets/components/WebXRComponent.min.js +2 -2
  45. package/dist/assets/components/X_ITEComponent.js +2 -2
  46. package/dist/assets/components/X_ITEComponent.min.js +2 -2
  47. package/dist/example.html +1 -1
  48. package/dist/x_ite.css +1 -1
  49. package/dist/x_ite.d.ts +70 -20
  50. package/dist/x_ite.js +289 -280
  51. package/dist/x_ite.min.js +2 -2
  52. package/dist/x_ite.min.mjs +2 -2
  53. package/dist/x_ite.mjs +288 -278
  54. package/dist/x_ite.zip +0 -0
  55. package/package.json +3 -3
package/dist/x_ite.js CHANGED
@@ -1,4 +1,3 @@
1
- /* X_ITE v14.1.4 */
2
1
  (function webpackUniversalModuleDefinition(root, factory) {
3
2
  if(typeof exports === 'object' && typeof module === 'object')
4
3
  module.exports = factory();
@@ -12,7 +11,41 @@
12
11
  return /******/ (() => { // webpackBootstrap
13
12
  /******/ var __webpack_modules__ = ({
14
13
 
15
- /***/ 334
14
+ /***/ 124
15
+ (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
16
+
17
+ "use strict";
18
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19
+ /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
20
+ /* harmony export */ });
21
+ const Namespace = { };
22
+
23
+ Object .defineProperty (Namespace, "add",
24
+ {
25
+ value (name, module)
26
+ {
27
+ if (Namespace .hasOwnProperty (name))
28
+ {
29
+ console .error (new Error (`Namespace: "${name}" already exists.`));
30
+ return module;
31
+ }
32
+
33
+ const X3D = window [Symbol .for ("X_ITE.X3D-14.2.0")];
34
+
35
+ if (X3D)
36
+ X3D [name] = module;
37
+
38
+ // For x_ite.js:
39
+ return Namespace [name] = module;
40
+ },
41
+ });
42
+
43
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Namespace .add ("Namespace", Namespace));
44
+
45
+
46
+ /***/ },
47
+
48
+ /***/ 868
16
49
  (module, exports) {
17
50
 
18
51
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -1017,7 +1050,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
1017
1050
 
1018
1051
  /***/ },
1019
1052
 
1020
- /***/ 652
1053
+ /***/ 494
1021
1054
  (module) {
1022
1055
 
1023
1056
  (function webpackUniversalModuleDefinition(root, factory) {
@@ -2013,7 +2046,7 @@ return /******/ (function(modules) { // webpackBootstrap
2013
2046
 
2014
2047
  /***/ },
2015
2048
 
2016
- /***/ 347
2049
+ /***/ 717
2017
2050
  (module, exports, __webpack_require__) {
2018
2051
 
2019
2052
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -2027,7 +2060,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
2027
2060
  if ( true ) {
2028
2061
 
2029
2062
  // AMD. Register as an anonymous module.
2030
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(632) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
2063
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [ __webpack_require__(484) ], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
2031
2064
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
2032
2065
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
2033
2066
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -2258,7 +2291,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
2258
2291
 
2259
2292
  /***/ },
2260
2293
 
2261
- /***/ 584
2294
+ /***/ 46
2262
2295
  (module) {
2263
2296
 
2264
2297
  /**
@@ -7037,7 +7070,7 @@ if (true) {
7037
7070
 
7038
7071
  /***/ },
7039
7072
 
7040
- /***/ 67
7073
+ /***/ 177
7041
7074
  (__unused_webpack_module, exports) {
7042
7075
 
7043
7076
 
@@ -10282,54 +10315,20 @@ if (true) {
10282
10315
 
10283
10316
  /***/ },
10284
10317
 
10285
- /***/ 562
10286
- (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
10287
-
10288
- "use strict";
10289
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10290
- /* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__)
10291
- /* harmony export */ });
10292
- const Namespace = { };
10293
-
10294
- Object .defineProperty (Namespace, "add",
10295
- {
10296
- value (name, module)
10297
- {
10298
- if (Namespace .hasOwnProperty (name))
10299
- {
10300
- console .error (new Error (`Namespace: "${name}" already exists.`));
10301
- return module;
10302
- }
10303
-
10304
- const X3D = window [Symbol .for ("X_ITE.X3D-14.1.4")];
10305
-
10306
- if (X3D)
10307
- X3D [name] = module;
10308
-
10309
- // For x_ite.js:
10310
- return Namespace [name] = module;
10311
- },
10312
- });
10313
-
10314
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Namespace .add ("Namespace", Namespace));
10315
-
10316
-
10317
- /***/ },
10318
-
10319
- /***/ 632
10318
+ /***/ 484
10320
10319
  (module, __unused_webpack_exports, __webpack_require__) {
10321
10320
 
10322
10321
  "use strict";
10323
10322
 
10324
10323
 
10325
10324
  // Bundlers are able to synchronously require an ESM module from a CommonJS one.
10326
- const { jQuery } = __webpack_require__( 768 );
10325
+ const { jQuery } = __webpack_require__( 308 );
10327
10326
  module.exports = jQuery;
10328
10327
 
10329
10328
 
10330
10329
  /***/ },
10331
10330
 
10332
- /***/ 768
10331
+ /***/ 308
10333
10332
  (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
10334
10333
 
10335
10334
  "use strict";
@@ -10338,7 +10337,7 @@ module.exports = jQuery;
10338
10337
  /* harmony export */ jQuery: () => (/* binding */ jQuery)
10339
10338
  /* harmony export */ });
10340
10339
  /* unused harmony export $ */
10341
- /* harmony import */ var _src_x_ite_Namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(562);
10340
+ /* harmony import */ var _src_x_ite_Namespace_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(124);
10342
10341
  /*!
10343
10342
  * jQuery JavaScript Library v4.0.0+slim
10344
10343
  * https://jquery.com/
@@ -17261,7 +17260,7 @@ __webpack_require__.d(__webpack_exports__, {
17261
17260
  });
17262
17261
 
17263
17262
  // EXTERNAL MODULE: ./src/x_ite/Namespace.js
17264
- var Namespace = __webpack_require__(562);
17263
+ var Namespace = __webpack_require__(124);
17265
17264
  ;// ./src/x_ite/Base/X3DConstants.js
17266
17265
  const X3DConstants =
17267
17266
  {
@@ -18467,7 +18466,7 @@ const Features_default_ = Features;
18467
18466
 
18468
18467
  /* harmony default export */ const x_ite_Features = (Namespace/* default */.A .add ("Features", Features_default_));
18469
18468
  ;// ./src/x_ite/Base/X3DObject.js
18470
- /* provided dependency */ var $ = __webpack_require__(768)["A"];
18469
+ /* provided dependency */ var $ = __webpack_require__(308)["A"];
18471
18470
 
18472
18471
 
18473
18472
 
@@ -19788,18 +19787,22 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
19788
19787
  {
19789
19788
  return this [_documentation];
19790
19789
  },
19791
- fromString (string, scene)
19790
+ fromString (value, scene)
19792
19791
  {
19793
- this .fromVRMLString (string, scene);
19792
+ this .fromVRMLString (value, scene);
19794
19793
  },
19795
- fromVRMLString (string, scene)
19794
+ fromVRMLString (value, scene)
19796
19795
  {
19797
19796
  // Function will be overridden in VRMLParser.
19798
19797
  },
19799
- fromXMLString (string, scene)
19798
+ fromXMLString (value, scene)
19800
19799
  {
19801
19800
  // Function will be overridden in XMLParser.
19802
19801
  },
19802
+ fromJSONString (value, scene)
19803
+ {
19804
+ this .fromVRMLString (value, scene);
19805
+ },
19803
19806
  dispose ()
19804
19807
  {
19805
19808
  for (const reference of this [_references] ?? X3DField_EMPTY)
@@ -19826,6 +19829,72 @@ Object .assign (Object .setPrototypeOf (X3DField .prototype, Base_X3DChildObject
19826
19829
  for (const key of Object .keys (X3DField .prototype))
19827
19830
  Object .defineProperty (X3DField .prototype, key, { enumerable: false });
19828
19831
 
19832
+ Object .defineProperties (X3DField,
19833
+ {
19834
+ getStaticProperties:
19835
+ {
19836
+ value (typeName)
19837
+ {
19838
+ return {
19839
+ type:
19840
+ {
19841
+ value: Base_X3DConstants [typeName],
19842
+ enumerable: true,
19843
+ },
19844
+ typeName:
19845
+ {
19846
+ value: typeName,
19847
+ enumerable: true,
19848
+ },
19849
+ fromString:
19850
+ {
19851
+ value (value, scene)
19852
+ {
19853
+ const field = new this ();
19854
+
19855
+ field .fromString (value, scene);
19856
+
19857
+ return field;
19858
+ },
19859
+ },
19860
+ fromVRMLString:
19861
+ {
19862
+ value (value, scene)
19863
+ {
19864
+ const field = new this ();
19865
+
19866
+ field .fromVRMLString (value, scene);
19867
+
19868
+ return field;
19869
+ },
19870
+ },
19871
+ fromXMLString:
19872
+ {
19873
+ value (value, scene)
19874
+ {
19875
+ const field = new this ();
19876
+
19877
+ field .fromXMLString (value, scene);
19878
+
19879
+ return field;
19880
+ },
19881
+ },
19882
+ fromJSONString:
19883
+ {
19884
+ value (value, scene)
19885
+ {
19886
+ const field = new this ();
19887
+
19888
+ field .fromJSONString (value, scene);
19889
+
19890
+ return field;
19891
+ },
19892
+ },
19893
+ };
19894
+ },
19895
+ },
19896
+ })
19897
+
19829
19898
  const X3DField_default_ = X3DField;
19830
19899
  ;
19831
19900
 
@@ -20015,16 +20084,7 @@ function SFScalarPrototypeTemplate (Constructor, TypeName, properties = { })
20015
20084
  {
20016
20085
  Object .defineProperties (Constructor,
20017
20086
  {
20018
- type:
20019
- {
20020
- value: Base_X3DConstants [TypeName],
20021
- enumerable: true,
20022
- },
20023
- typeName:
20024
- {
20025
- value: TypeName,
20026
- enumerable: true,
20027
- },
20087
+ ... Base_X3DField .getStaticProperties (TypeName),
20028
20088
  });
20029
20089
 
20030
20090
  Object .assign (Object .setPrototypeOf (Constructor .prototype, Base_X3DField .prototype),
@@ -20378,7 +20438,7 @@ Object .assign (Object .setPrototypeOf (SFColor .prototype, Base_X3DField .proto
20378
20438
  },
20379
20439
  setHSV (h, s, v)
20380
20440
  {
20381
- this .getValue () .setHSV (h, s, v);
20441
+ this .getValue () .setHSV (+h, +s, +v);
20382
20442
  this .addEvent ();
20383
20443
  },
20384
20444
  linearToSRGB ()
@@ -20510,16 +20570,7 @@ Object .defineProperties (SFColor .prototype,
20510
20570
 
20511
20571
  Object .defineProperties (SFColor,
20512
20572
  {
20513
- type:
20514
- {
20515
- value: Base_X3DConstants .SFColor,
20516
- enumerable: true,
20517
- },
20518
- typeName:
20519
- {
20520
- value: "SFColor",
20521
- enumerable: true,
20522
- },
20573
+ ... Base_X3DField .getStaticProperties ("SFColor"),
20523
20574
  BLACK:
20524
20575
  {
20525
20576
  value: new SFColor (),
@@ -20530,6 +20581,17 @@ Object .defineProperties (SFColor,
20530
20581
  value: new SFColor (1, 1, 1),
20531
20582
  enumerable: true,
20532
20583
  },
20584
+ fromHSV:
20585
+ {
20586
+ value (h, s, v)
20587
+ {
20588
+ const color = new this ();
20589
+
20590
+ color .setHSV (h, s, v);
20591
+
20592
+ return color;
20593
+ },
20594
+ },
20533
20595
  });
20534
20596
 
20535
20597
  const SFColor_default_ = SFColor;
@@ -20753,7 +20815,7 @@ Object .assign (Object .setPrototypeOf (SFColorRGBA .prototype, Base_X3DField .p
20753
20815
  },
20754
20816
  setHSVA (h, s, v, a)
20755
20817
  {
20756
- this .getValue () .setHSVA (h, s, v, a);
20818
+ this .getValue () .setHSVA (+h, +s, +v, +a);
20757
20819
  this .addEvent ();
20758
20820
  },
20759
20821
  linearToSRGB ()
@@ -20857,16 +20919,7 @@ Object .defineProperties (SFColorRGBA .prototype,
20857
20919
 
20858
20920
  Object .defineProperties (SFColorRGBA,
20859
20921
  {
20860
- type:
20861
- {
20862
- value: Base_X3DConstants .SFColorRGBA,
20863
- enumerable: true,
20864
- },
20865
- typeName:
20866
- {
20867
- value: "SFColorRGBA",
20868
- enumerable: true,
20869
- },
20922
+ ... Base_X3DField .getStaticProperties ("SFColorRGBA"),
20870
20923
  BLACK:
20871
20924
  {
20872
20925
  value: new SFColorRGBA (0, 0, 0, 1),
@@ -20882,6 +20935,17 @@ Object .defineProperties (SFColorRGBA,
20882
20935
  value: new SFColorRGBA (1, 1, 1, 1),
20883
20936
  enumerable: true,
20884
20937
  },
20938
+ fromHSVA:
20939
+ {
20940
+ value (h, s, v, a)
20941
+ {
20942
+ const color = new this ();
20943
+
20944
+ color .setHSVA (h, s, v, a);
20945
+
20946
+ return color;
20947
+ },
20948
+ },
20885
20949
  });
20886
20950
 
20887
20951
  const SFColorRGBA_default_ = SFColorRGBA;
@@ -20898,16 +20962,7 @@ function SFMatrixPrototypeTemplate (Constructor, TypeName, Matrix, double, prope
20898
20962
 
20899
20963
  Object .defineProperties (Constructor,
20900
20964
  {
20901
- type:
20902
- {
20903
- value: Base_X3DConstants [TypeName],
20904
- enumerable: true,
20905
- },
20906
- typeName:
20907
- {
20908
- value: TypeName,
20909
- enumerable: true,
20910
- },
20965
+ ... Base_X3DField .getStaticProperties (TypeName),
20911
20966
  });
20912
20967
 
20913
20968
  Object .assign (Object .setPrototypeOf (Constructor .prototype, Base_X3DField .prototype),
@@ -24977,26 +25032,13 @@ const SFNodeCache =
24977
25032
 
24978
25033
  this .set (baseNode, node);
24979
25034
 
24980
- // i += 2;
24981
- // console .warn (`baseNode ${i} ${baseNode .getTypeName ()}`);
24982
- // r .register (baseNode, `baseNode ${baseNode .getTypeName ()}`);
24983
- // r .register (node, `node ${baseNode .getTypeName ()}`);
24984
-
24985
25035
  return node;
24986
25036
  }
24987
25037
  },
24988
25038
  set (baseNode, node)
24989
25039
  {
24990
- Object .defineProperty (node, "dispose",
24991
- {
24992
- value: dispose,
24993
- writable: true,
24994
- configurable: true,
24995
- });
25040
+ Object .defineProperties (node, properties);
24996
25041
 
24997
- // WeakMap allows associating data to objects in a way that doesn't prevent
24998
- // the key objects from being collected, even if the values reference the keys.
24999
- // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap
25000
25042
  cache .set (baseNode, node);
25001
25043
  },
25002
25044
  delete (baseNode)
@@ -25005,12 +25047,29 @@ const SFNodeCache =
25005
25047
  },
25006
25048
  };
25007
25049
 
25008
- function dispose ()
25050
+ const disable =
25009
25051
  {
25010
- this .getValue () ?.dispose ();
25052
+ value: undefined,
25053
+ configurable: true,
25054
+ };
25011
25055
 
25012
- Fields_SFNode .prototype .dispose .call (this);
25013
- }
25056
+ const properties =
25057
+ {
25058
+ fromString: disable,
25059
+ fromVRMLString: disable,
25060
+ fromXMLString: disable,
25061
+ fromJSONString: disable,
25062
+ dispose:
25063
+ {
25064
+ value ()
25065
+ {
25066
+ this .getValue () ?.dispose ();
25067
+
25068
+ Fields_SFNode .prototype .dispose .call (this);
25069
+ },
25070
+ configurable: true,
25071
+ },
25072
+ };
25014
25073
 
25015
25074
  const SFNodeCache_default_ = SFNodeCache;
25016
25075
  ;
@@ -25434,16 +25493,7 @@ for (const key of Object .keys (SFNode .prototype))
25434
25493
 
25435
25494
  Object .defineProperties (SFNode,
25436
25495
  {
25437
- type:
25438
- {
25439
- value: Base_X3DConstants .SFNode,
25440
- enumerable: true,
25441
- },
25442
- typeName:
25443
- {
25444
- value: "SFNode",
25445
- enumerable: true,
25446
- },
25496
+ ... Base_X3DField .getStaticProperties ("SFNode"),
25447
25497
  });
25448
25498
 
25449
25499
  const SFNode_default_ = SFNode;
@@ -25460,16 +25510,7 @@ function SFVecPrototypeTemplate (Constructor, TypeName, Vector, double, properti
25460
25510
 
25461
25511
  Object .defineProperties (Constructor,
25462
25512
  {
25463
- type:
25464
- {
25465
- value: Base_X3DConstants [TypeName],
25466
- enumerable: true,
25467
- },
25468
- typeName:
25469
- {
25470
- value: TypeName,
25471
- enumerable: true,
25472
- },
25513
+ ... Base_X3DField .getStaticProperties (TypeName),
25473
25514
  });
25474
25515
 
25475
25516
  Object .assign (Object .setPrototypeOf (Constructor .prototype, Base_X3DField .prototype),
@@ -26006,16 +26047,7 @@ Object .defineProperties (SFRotation .prototype,
26006
26047
 
26007
26048
  Object .defineProperties (SFRotation,
26008
26049
  {
26009
- type:
26010
- {
26011
- value: Base_X3DConstants .SFRotation,
26012
- enumerable: true,
26013
- },
26014
- typeName:
26015
- {
26016
- value: "SFRotation",
26017
- enumerable: true,
26018
- },
26050
+ ... Base_X3DField .getStaticProperties ("SFRotation"),
26019
26051
  IDENTITY:
26020
26052
  {
26021
26053
  value: new SFRotation (),
@@ -27882,6 +27914,7 @@ const X3DTypedArrayField_default_ = X3DTypedArrayField;
27882
27914
 
27883
27915
 
27884
27916
 
27917
+
27885
27918
  const
27886
27919
  { SFBool, SFDouble, SFFloat, SFInt32, SFString, SFTime } = Fields_SFScalar,
27887
27920
  { SFMatrix3d: ArrayFields_SFMatrix3d, SFMatrix3f: ArrayFields_SFMatrix3f } = Fields_SFMatrix3,
@@ -28111,16 +28144,7 @@ for (const key of Object .keys (MFNode .prototype))
28111
28144
 
28112
28145
  Object .defineProperties (MFNode,
28113
28146
  {
28114
- type:
28115
- {
28116
- value: Base_X3DConstants .MFNode,
28117
- enumerable: true,
28118
- },
28119
- typeName:
28120
- {
28121
- value: "MFNode",
28122
- enumerable: true,
28123
- },
28147
+ ... Base_X3DField .getStaticProperties ("MFNode"),
28124
28148
  });
28125
28149
 
28126
28150
  function MFString (... args)
@@ -28165,16 +28189,7 @@ for (const key of Object .keys (MFString .prototype))
28165
28189
 
28166
28190
  Object .defineProperties (MFString,
28167
28191
  {
28168
- type:
28169
- {
28170
- value: Base_X3DConstants .MFString,
28171
- enumerable: true,
28172
- },
28173
- typeName:
28174
- {
28175
- value: "MFString",
28176
- enumerable: true,
28177
- },
28192
+ ... Base_X3DField .getStaticProperties ("MFString"),
28178
28193
  });
28179
28194
 
28180
28195
  /**
@@ -28199,16 +28214,7 @@ for (const key of Object .keys (MFImage .prototype))
28199
28214
 
28200
28215
  Object .defineProperties (MFImage,
28201
28216
  {
28202
- type:
28203
- {
28204
- value: Base_X3DConstants .MFImage,
28205
- enumerable: true,
28206
- },
28207
- typeName:
28208
- {
28209
- value: "MFImage",
28210
- enumerable: true,
28211
- },
28217
+ ... Base_X3DField .getStaticProperties ("MFImage"),
28212
28218
  });
28213
28219
 
28214
28220
  function TypedArrayTemplate (TypeName, SingleType, ValueType, ArrayType, Components, singleValue)
@@ -28247,16 +28253,7 @@ function TypedArrayTemplate (TypeName, SingleType, ValueType, ArrayType, Compone
28247
28253
 
28248
28254
  Object .defineProperties (ArrayField,
28249
28255
  {
28250
- type:
28251
- {
28252
- value: Base_X3DConstants [TypeName],
28253
- enumerable: true,
28254
- },
28255
- typeName:
28256
- {
28257
- value: TypeName,
28258
- enumerable: true,
28259
- },
28256
+ ... Base_X3DField .getStaticProperties (TypeName),
28260
28257
  });
28261
28258
 
28262
28259
  return ArrayField;
@@ -28615,16 +28612,7 @@ Object .defineProperties (SFImage .prototype,
28615
28612
 
28616
28613
  Object .defineProperties (SFImage,
28617
28614
  {
28618
- type:
28619
- {
28620
- value: Base_X3DConstants .SFImage,
28621
- enumerable: true,
28622
- },
28623
- typeName:
28624
- {
28625
- value: "SFImage",
28626
- enumerable: true,
28627
- },
28615
+ ... Base_X3DField .getStaticProperties ("SFImage"),
28628
28616
  });
28629
28617
 
28630
28618
  const SFImage_default_ = SFImage;
@@ -29334,7 +29322,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
29334
29322
 
29335
29323
  /* harmony default export */ const Base_X3DBaseNode = (Namespace/* default */.A .add ("X3DBaseNode", X3DBaseNode_default_));
29336
29324
  ;// ./src/x_ite/Browser/Legacy.js
29337
- /* provided dependency */ var Legacy_$ = __webpack_require__(768)["A"];
29325
+ /* provided dependency */ var Legacy_$ = __webpack_require__(308)["A"];
29338
29326
  const Legacy =
29339
29327
  {
29340
29328
  elements (elements, X3DBrowser)
@@ -29396,7 +29384,7 @@ const Legacy_default_ = Legacy;
29396
29384
 
29397
29385
  /* harmony default export */ const Browser_Legacy = (Namespace/* default */.A .add ("Legacy", Legacy_default_));
29398
29386
  ;// ./src/x_ite/BROWSER_VERSION.js
29399
- const BROWSER_VERSION_default_ = "14.1.4";
29387
+ const BROWSER_VERSION_default_ = "14.2.0";
29400
29388
  ;
29401
29389
 
29402
29390
  /* harmony default export */ const BROWSER_VERSION = (Namespace/* default */.A .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
@@ -29983,7 +29971,7 @@ const gettext_default_ = (string) => locale .get (string) || string;
29983
29971
 
29984
29972
  /* harmony default export */ const gettext = (Namespace/* default */.A .add ("gettext", gettext_default_));
29985
29973
  ;// ./src/x_ite/Browser/Core/BrowserTimings.js
29986
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(768)["A"];
29974
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(308)["A"];
29987
29975
 
29988
29976
 
29989
29977
 
@@ -30434,7 +30422,7 @@ const TextCompression_default_ = TextCompression;
30434
30422
 
30435
30423
  /* harmony default export */ const Core_TextCompression = (Namespace/* default */.A .add ("TextCompression", TextCompression_default_));
30436
30424
  ;// ./src/x_ite/Browser/Core/BrowserOptions.js
30437
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(768)["A"];
30425
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(308)["A"];
30438
30426
 
30439
30427
 
30440
30428
 
@@ -30913,7 +30901,7 @@ const BrowserProperties_default_ = BrowserProperties;
30913
30901
 
30914
30902
  /* harmony default export */ const Core_BrowserProperties = (Namespace/* default */.A .add ("BrowserProperties", BrowserProperties_default_));
30915
30903
  ;// ./src/x_ite/Browser/Core/RenderingProperties.js
30916
- /* provided dependency */ var RenderingProperties_$ = __webpack_require__(768)["A"];
30904
+ /* provided dependency */ var RenderingProperties_$ = __webpack_require__(308)["A"];
30917
30905
 
30918
30906
 
30919
30907
 
@@ -30997,7 +30985,7 @@ const RenderingProperties_default_ = RenderingProperties;
30997
30985
 
30998
30986
  /* harmony default export */ const Core_RenderingProperties = (Namespace/* default */.A .add ("RenderingProperties", RenderingProperties_default_));
30999
30987
  ;// ./src/x_ite/Browser/Core/Notification.js
31000
- /* provided dependency */ var Notification_$ = __webpack_require__(768)["A"];
30988
+ /* provided dependency */ var Notification_$ = __webpack_require__(308)["A"];
31001
30989
 
31002
30990
 
31003
30991
 
@@ -31083,7 +31071,7 @@ const Notification_default_ = Notification;
31083
31071
 
31084
31072
  /* harmony default export */ const Core_Notification = (Namespace/* default */.A .add ("Notification", Notification_default_));
31085
31073
  ;// ./src/x_ite/Browser/Core/ContextMenu.js
31086
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(768)["A"];
31074
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(308)["A"];
31087
31075
 
31088
31076
 
31089
31077
 
@@ -34521,7 +34509,7 @@ const NamedNodesArray_default_ = NamedNodesArray;
34521
34509
 
34522
34510
  /* harmony default export */ const Execution_NamedNodesArray = (Namespace/* default */.A .add ("NamedNodesArray", NamedNodesArray_default_));
34523
34511
  ;// ./src/x_ite/Components/Core/X3DImportedNodeProxy.js
34524
- /* provided dependency */ var X3DImportedNodeProxy_$ = __webpack_require__(768)["A"];
34512
+ /* provided dependency */ var X3DImportedNodeProxy_$ = __webpack_require__(308)["A"];
34525
34513
 
34526
34514
 
34527
34515
 
@@ -36470,7 +36458,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
36470
36458
 
36471
36459
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (Namespace/* default */.A .add ("X3DProtoDeclaration", X3DProtoDeclaration_default_));
36472
36460
  ;// ./src/x_ite/Parser/X3DParser.js
36473
- /* provided dependency */ var X3DParser_$ = __webpack_require__(768)["A"];
36461
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(308)["A"];
36474
36462
 
36475
36463
 
36476
36464
  function X3DParser (scene, name = "Parser")
@@ -36539,13 +36527,18 @@ Object .assign (X3DParser .prototype,
36539
36527
  },
36540
36528
  convertColor (value, defaultColor = "white")
36541
36529
  {
36530
+ this .body ??= X3DParser_$("body");
36531
+ this .wrap ??= X3DParser_$("<div></div>") .hide ();
36532
+ this .div ??= X3DParser_$("<div></div>") .appendTo (this .wrap);
36533
+
36534
+ this .wrap .css ("color", defaultColor) .appendTo (this .body);
36535
+ this .div .css ("color", value);
36536
+
36542
36537
  const
36543
- wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
36544
- div = X3DParser_$("<div></div>") .css ("color", value) .appendTo (wrap),
36545
- rgb = window .getComputedStyle (div [0]) .color,
36538
+ rgb = window .getComputedStyle (this .div [0]) .color,
36546
36539
  values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
36547
36540
 
36548
- wrap .remove ();
36541
+ this .wrap .detach ();
36549
36542
 
36550
36543
  values [0] /= 255;
36551
36544
  values [1] /= 255;
@@ -36788,7 +36781,7 @@ const Placeholder_default_ = Placeholder;
36788
36781
 
36789
36782
  /* harmony default export */ const Parser_Placeholder = (Namespace/* default */.A .add ("Placeholder", Placeholder_default_));
36790
36783
  ;// ./src/x_ite/Parser/VRMLParser.js
36791
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(768)["A"];
36784
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(308)["A"];
36792
36785
 
36793
36786
 
36794
36787
 
@@ -36872,7 +36865,7 @@ const Grammar = Parser_Expressions ({
36872
36865
  noDoubleQuotes: /[^"]+/y,
36873
36866
 
36874
36867
  CONSTANTS: /([+-]?)\b(NAN|INFINITY|INF|PI(?:2|1_4|2_4|3_4|4_4|5_4|6_4|7_4|8_4|1_2|2_2|3_2|4_2|1_3|2_3|3_3|4_3|5_3|6_3)?|SQRT(?:1_2|2))\b/iy,
36875
- HTMLColor: /[a-zA-Z]+|0[xX][\da-fA-F]+|rgba?\([^\)]*\)/y,
36868
+ HTMLColor: /0[xX][\da-fA-F]+|[a-zA-Z]+\([^\)]*\)|[a-zA-Z]+/y,
36876
36869
  });
36877
36870
 
36878
36871
  /*
@@ -39463,12 +39456,12 @@ Object .assign (VRMLParser .prototype,
39463
39456
  [Base_X3DConstants .MFVec4f]: VRMLParser .prototype .mfvec4Value,
39464
39457
  });
39465
39458
 
39466
- Base_X3DField .prototype .fromVRMLString = function (string, scene)
39459
+ Base_X3DField .prototype .fromVRMLString = function (value, scene)
39467
39460
  {
39468
39461
  const parser = new VRMLParser (scene);
39469
39462
 
39470
39463
  parser .setUnits (!!scene);
39471
- parser .setInput (string);
39464
+ parser .setInput (value);
39472
39465
 
39473
39466
  if (!parser .fieldValue (this))
39474
39467
  throw new Error (`Couldn't read value for field '${this .getName ()}'.`);
@@ -39481,7 +39474,7 @@ const VRMLParser_default_ = VRMLParser;
39481
39474
 
39482
39475
  /* harmony default export */ const Parser_VRMLParser = (Namespace/* default */.A .add ("VRMLParser", VRMLParser_default_));
39483
39476
  ;// ./src/x_ite/Parser/XMLParser.js
39484
- /* provided dependency */ var XMLParser_$ = __webpack_require__(768)["A"];
39477
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(308)["A"];
39485
39478
 
39486
39479
 
39487
39480
 
@@ -40752,11 +40745,11 @@ const HTMLParser =
40752
40745
  },
40753
40746
  };
40754
40747
 
40755
- Base_X3DField .prototype .fromXMLString = function (string, scene)
40748
+ Base_X3DField .prototype .fromXMLString = function (value, scene)
40756
40749
  {
40757
40750
  const parser = new XMLParser (scene);
40758
40751
 
40759
- if (!parser .fieldValue (this, string))
40752
+ if (!parser .fieldValue (this, value))
40760
40753
  throw new Error (`Couldn't read value for field '${this .getName ()}'.`);
40761
40754
 
40762
40755
  parser .setupNodes ();
@@ -40767,7 +40760,7 @@ const XMLParser_default_ = XMLParser;
40767
40760
 
40768
40761
  /* harmony default export */ const Parser_XMLParser = (Namespace/* default */.A .add ("XMLParser", XMLParser_default_));
40769
40762
  ;// ./src/x_ite/Parser/JSONParser.js
40770
- /* provided dependency */ var JSONParser_$ = __webpack_require__(768)["A"];
40763
+ /* provided dependency */ var JSONParser_$ = __webpack_require__(308)["A"];
40771
40764
 
40772
40765
 
40773
40766
 
@@ -41676,7 +41669,7 @@ const Plane3_default_ = Plane3;
41676
41669
 
41677
41670
  /* harmony default export */ const Geometry_Plane3 = (Namespace/* default */.A .add ("Plane3", Plane3_default_));
41678
41671
  ;// ./src/standard/Math/Geometry/Triangle3.js
41679
- /* provided dependency */ var libtess = __webpack_require__(584);
41672
+ /* provided dependency */ var libtess = __webpack_require__(46);
41680
41673
 
41681
41674
 
41682
41675
  const Triangle3 =
@@ -48381,7 +48374,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
48381
48374
 
48382
48375
  /* harmony default export */ const Texturing_X3DTexture2DNode = (Namespace/* default */.A .add ("X3DTexture2DNode", X3DTexture2DNode_default_));
48383
48376
  ;// ./src/x_ite/Components/Texturing/ImageTexture.js
48384
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(768)["A"];
48377
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(308)["A"];
48385
48378
 
48386
48379
 
48387
48380
 
@@ -50897,7 +50890,7 @@ const Layer_default_ = Layer;
50897
50890
 
50898
50891
  /* harmony default export */ const Layering_Layer = (Namespace/* default */.A .add ("Layer", Layer_default_));
50899
50892
  ;// ./src/x_ite/Parser/GLTF2Parser.js
50900
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(768)["A"];
50893
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(308)["A"];
50901
50894
 
50902
50895
 
50903
50896
 
@@ -55252,7 +55245,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
55252
55245
 
55253
55246
  /* harmony default export */ const Parser_GLTF2Parser = (Namespace/* default */.A .add ("GLTF2Parser", GLTF2Parser_default_));
55254
55247
  ;// ./src/x_ite/Parser/GLB2Parser.js
55255
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(768)["A"];
55248
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(308)["A"];
55256
55249
 
55257
55250
 
55258
55251
 
@@ -55358,7 +55351,7 @@ const GLB2Parser_default_ = GLB2Parser;
55358
55351
 
55359
55352
  /* harmony default export */ const Parser_GLB2Parser = (Namespace/* default */.A .add ("GLB2Parser", GLB2Parser_default_));
55360
55353
  ;// ./src/x_ite/Parser/OBJParser.js
55361
- /* provided dependency */ var OBJParser_$ = __webpack_require__(768)["A"];
55354
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(308)["A"];
55362
55355
 
55363
55356
 
55364
55357
 
@@ -56812,7 +56805,7 @@ const STLAParser_default_ = STLAParser;
56812
56805
 
56813
56806
  /* harmony default export */ const Parser_STLAParser = (Namespace/* default */.A .add ("STLAParser", STLAParser_default_));
56814
56807
  ;// ./src/x_ite/Parser/STLBParser.js
56815
- /* provided dependency */ var STLBParser_$ = __webpack_require__(768)["A"];
56808
+ /* provided dependency */ var STLBParser_$ = __webpack_require__(308)["A"];
56816
56809
 
56817
56810
 
56818
56811
 
@@ -58182,8 +58175,8 @@ const Bezier_default_ = Bezier;
58182
58175
 
58183
58176
  /* harmony default export */ const Algorithms_Bezier = (Namespace/* default */.A .add ("Bezier", Bezier_default_));
58184
58177
  ;// ./src/x_ite/Parser/SVGParser.js
58185
- /* provided dependency */ var SVGParser_$ = __webpack_require__(768)["A"];
58186
- /* provided dependency */ var SVGParser_libtess = __webpack_require__(584);
58178
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(308)["A"];
58179
+ /* provided dependency */ var SVGParser_libtess = __webpack_require__(46);
58187
58180
 
58188
58181
 
58189
58182
 
@@ -58227,7 +58220,7 @@ const SVGParser_Grammar = Parser_Expressions ({
58227
58220
  scale: /scale/y,
58228
58221
  skewX: /skewX/y,
58229
58222
  skewY: /skewY/y,
58230
- color: /[a-zA-Z]+|#[\da-fA-F]+|rgba?\([^\)]*\)/y,
58223
+ color: /#[\da-fA-F]+|[a-zA-Z]+\([^\)]*\)|[a-zA-Z]+/y,
58231
58224
  url: /url\("?(.*?)"?\)/y,
58232
58225
  path: /[mMlLhHvVqQtTcCsSaAzZ]/y,
58233
58226
  });
@@ -60917,7 +60910,7 @@ const SVGParser_default_ = SVGParser;
60917
60910
 
60918
60911
  /* harmony default export */ const Parser_SVGParser = (Namespace/* default */.A .add ("SVGParser", SVGParser_default_));
60919
60912
  ;// ./src/x_ite/Parser/GoldenGate.js
60920
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(768)["A"];
60913
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(308)["A"];
60921
60914
 
60922
60915
 
60923
60916
 
@@ -61333,7 +61326,7 @@ const X3DWorld_default_ = X3DWorld;
61333
61326
 
61334
61327
  /* harmony default export */ const Execution_X3DWorld = (Namespace/* default */.A .add ("X3DWorld", X3DWorld_default_));
61335
61328
  ;// ./src/x_ite/InputOutput/FileLoader.js
61336
- /* provided dependency */ var FileLoader_$ = __webpack_require__(768)["A"];
61329
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(308)["A"];
61337
61330
 
61338
61331
 
61339
61332
 
@@ -62040,7 +62033,7 @@ const ProtoDeclarationArray_default_ = ProtoDeclarationArray;
62040
62033
 
62041
62034
  /* harmony default export */ const Prototype_ProtoDeclarationArray = (Namespace/* default */.A .add ("ProtoDeclarationArray", ProtoDeclarationArray_default_));
62042
62035
  ;// ./src/x_ite/Routing/X3DRoute.js
62043
- /* provided dependency */ var X3DRoute_$ = __webpack_require__(768)["A"];
62036
+ /* provided dependency */ var X3DRoute_$ = __webpack_require__(308)["A"];
62044
62037
 
62045
62038
 
62046
62039
 
@@ -64697,7 +64690,7 @@ add ("PT_Sans/PTSans-Italic.woff2", false, true);
64697
64690
  // add ("PT_Sans/PTSans-BoldItalic.woff2", true, true);
64698
64691
 
64699
64692
  ;// ./src/x_ite/Browser/Core/X3DCoreContext.js
64700
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(768)["A"];
64693
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(308)["A"];
64701
64694
 
64702
64695
 
64703
64696
 
@@ -64773,7 +64766,7 @@ function X3DCoreContext (element)
64773
64766
  X3DCoreContext_$("<link/>",
64774
64767
  {
64775
64768
  on: { load: resolve },
64776
- integrity: "sha384-Ow2lf0uBA5QD+Zw4VlZpnZx09Xq18Vb5IWueL5PurlJdhDQG1uPPSiSib+1b6Lky",
64769
+ integrity: "sha384-HMfinSHXNmw3ST3I4PQT9UbB1sBddlpShOXqmJPPGD1xfB1IrBRmToHxxRFvNI5f",
64777
64770
  crossorigin: "anonymous",
64778
64771
  rel: "stylesheet",
64779
64772
  href: new URL ("x_ite.css", Networking_URLs .getScriptURL ()),
@@ -70810,8 +70803,8 @@ const OrientationChaser_default_ = OrientationChaser;
70810
70803
 
70811
70804
  /* harmony default export */ const Followers_OrientationChaser = (Namespace/* default */.A .add ("OrientationChaser", OrientationChaser_default_));
70812
70805
  ;// ./src/x_ite/Browser/Navigation/ExamineViewer.js
70813
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(347);
70814
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(768)["A"];
70806
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(717);
70807
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(308)["A"];
70815
70808
 
70816
70809
 
70817
70810
 
@@ -71886,8 +71879,8 @@ const ScreenLine_default_ = ScreenLine;
71886
71879
 
71887
71880
  /* harmony default export */ const Rendering_ScreenLine = (Namespace/* default */.A .add ("ScreenLine", ScreenLine_default_));
71888
71881
  ;// ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
71889
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(347);
71890
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(768)["A"];
71882
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(717);
71883
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(308)["A"];
71891
71884
 
71892
71885
 
71893
71886
 
@@ -72624,8 +72617,8 @@ const FlyViewer_default_ = FlyViewer;
72624
72617
 
72625
72618
  /* harmony default export */ const Navigation_FlyViewer = (Namespace/* default */.A .add ("FlyViewer", FlyViewer_default_));
72626
72619
  ;// ./src/x_ite/Browser/Navigation/PlaneViewer.js
72627
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(347);
72628
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(768)["A"];
72620
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(717);
72621
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(308)["A"];
72629
72622
 
72630
72623
 
72631
72624
 
@@ -72838,8 +72831,8 @@ const NoneViewer_default_ = NoneViewer;
72838
72831
 
72839
72832
  /* harmony default export */ const Navigation_NoneViewer = (Namespace/* default */.A .add ("NoneViewer", NoneViewer_default_));
72840
72833
  ;// ./src/x_ite/Browser/Navigation/LookAtViewer.js
72841
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(347);
72842
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(768)["A"];
72834
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(717);
72835
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(308)["A"];
72843
72836
 
72844
72837
 
72845
72838
 
@@ -74185,8 +74178,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
74185
74178
 
74186
74179
  /* harmony default export */ const Picking_X3DPickingContext = (Namespace/* default */.A .add ("X3DPickingContext", X3DPickingContext_default_));
74187
74180
  ;// ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
74188
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(347);
74189
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(768)["A"];
74181
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(717);
74182
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(308)["A"];
74190
74183
 
74191
74184
 
74192
74185
 
@@ -74264,10 +74257,6 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
74264
74257
  if (event .button !== 0)
74265
74258
  return;
74266
74259
 
74267
- // Stop event propagation.
74268
-
74269
- event .preventDefault ();
74270
-
74271
74260
  // Handle button release.
74272
74261
 
74273
74262
  const
@@ -74284,6 +74273,13 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
74284
74273
  browser .buttonReleaseEvent ();
74285
74274
  browser .setCursor (this .over ? "POINTER" : "DEFAULT");
74286
74275
  this .onverifymotion (x, y);
74276
+
74277
+ if (!this .over)
74278
+ return;
74279
+
74280
+ // Stop event propagation.
74281
+
74282
+ event .preventDefault ();
74287
74283
  },
74288
74284
  dblclick (event)
74289
74285
  {
@@ -74302,10 +74298,6 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
74302
74298
  },
74303
74299
  mousemove (event)
74304
74300
  {
74305
- // Stop event propagation.
74306
-
74307
- event .preventDefault ();
74308
-
74309
74301
  // Motion.
74310
74302
 
74311
74303
  const browser = this .getBrowser ();
@@ -74313,6 +74305,13 @@ Object .assign (Object .setPrototypeOf (PointingDevice .prototype, Base_X3DBaseN
74313
74305
  const { x, y } = browser .getPointerFromEvent (event);
74314
74306
 
74315
74307
  this .onmotion (x, y, true);
74308
+
74309
+ if (!this .over)
74310
+ return;
74311
+
74312
+ // Stop event propagation.
74313
+
74314
+ event .preventDefault ();
74316
74315
  },
74317
74316
  touchstart (event)
74318
74317
  {
@@ -75440,7 +75439,7 @@ const Lock_default_ = Lock;
75440
75439
 
75441
75440
  /* harmony default export */ const Utility_Lock = (Namespace/* default */.A .add ("Lock", Lock_default_));
75442
75441
  ;// ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
75443
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(768)["A"];
75442
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(308)["A"];
75444
75443
 
75445
75444
 
75446
75445
 
@@ -77595,7 +77594,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
77595
77594
 
77596
77595
  /* harmony default export */ const Shaders_X3DShaderNode = (Namespace/* default */.A .add ("X3DShaderNode", X3DShaderNode_default_));
77597
77596
  ;// ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
77598
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(768)["A"];
77597
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(308)["A"];
77599
77598
 
77600
77599
 
77601
77600
 
@@ -79594,7 +79593,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
79594
79593
 
79595
79594
  /* harmony default export */ const Shaders_ShaderCompiler = (Namespace/* default */.A .add ("ShaderCompiler", ShaderCompiler_default_));
79596
79595
  ;// ./src/x_ite/Components/Shaders/ShaderPart.js
79597
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(768)["A"];
79596
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(308)["A"];
79598
79597
 
79599
79598
 
79600
79599
 
@@ -80837,9 +80836,6 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
80837
80836
 
80838
80837
  this .addRenderOptions (options, renderObject, shapeNode .getAlphaMode ());
80839
80838
 
80840
- if (renderContext .shadows || renderObject .getGlobalShadows () .at (-1))
80841
- options .push ("X3D_SHADOWS", "X3D_PCF_FILTERING");
80842
-
80843
80839
  switch (fogNode ?.getFogType ())
80844
80840
  {
80845
80841
  case 1:
@@ -80871,6 +80867,9 @@ Object .assign (Object .setPrototypeOf (X3DMaterialNode .prototype, Shape_X3DApp
80871
80867
  {
80872
80868
  options .push ("X3D_LIGHTING")
80873
80869
  options .push (`X3D_NUM_LIGHTS ${Math .min (numLights, browser .getMaxLights ())}`);
80870
+
80871
+ if (renderContext .shadows || renderObject .getGlobalShadows () .at (-1))
80872
+ options .push ("X3D_SHADOWS", "X3D_PCF_FILTERING");
80874
80873
  }
80875
80874
 
80876
80875
  if (numEnvironmentLights && geometryContext .hasNormals)
@@ -81526,7 +81525,7 @@ const PeriodicWave_default_ = PeriodicWave;
81526
81525
 
81527
81526
  /* harmony default export */ const Sound_PeriodicWave = (Namespace/* default */.A .add ("PeriodicWave", PeriodicWave_default_));
81528
81527
  ;// ./src/x_ite/Browser/Sound/X3DSoundContext.js
81529
- /* provided dependency */ var X3DSoundContext_$ = __webpack_require__(768)["A"];
81528
+ /* provided dependency */ var X3DSoundContext_$ = __webpack_require__(308)["A"];
81530
81529
 
81531
81530
 
81532
81531
 
@@ -81833,7 +81832,7 @@ const TextureTransform_default_ = TextureTransform;
81833
81832
 
81834
81833
  /* harmony default export */ const Texturing_TextureTransform = (Namespace/* default */.A .add ("TextureTransform", TextureTransform_default_));
81835
81834
  ;// ./src/x_ite/Browser/Texturing/KTXDecoder.js
81836
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(768)["A"];
81835
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(308)["A"];
81837
81836
  const KTXDecoder_default_ = class KTXDecoder
81838
81837
  {
81839
81838
  constructor (gl, externalKtxlib, scriptDir)
@@ -82866,7 +82865,7 @@ const X3DBrowserContext_default_ = X3DBrowserContext;
82866
82865
 
82867
82866
  /* harmony default export */ const Browser_X3DBrowserContext = (Namespace/* default */.A .add ("X3DBrowserContext", X3DBrowserContext_default_));
82868
82867
  ;// ./src/x_ite/Browser/DOMIntegration.js
82869
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(768)["A"];
82868
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(308)["A"];
82870
82869
  /*******************************************************************************
82871
82870
  * MIT License
82872
82871
  *
@@ -93765,7 +93764,7 @@ Object .defineProperties (InlineGeometry,
93765
93764
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "url", new x_ite_Fields .MFString ()),
93766
93765
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "autoRefresh", new x_ite_Fields .SFTime (0)),
93767
93766
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "autoRefreshTimeLimit", new x_ite_Fields .SFTime (3600)),
93768
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "solid", new x_ite_Fields .SFBool (false)),
93767
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "solid", new x_ite_Fields .SFBool ()),
93769
93768
  new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "smooth", new x_ite_Fields .SFBool (true)),
93770
93769
  ]),
93771
93770
  enumerable: true,
@@ -100918,9 +100917,9 @@ const PNGMedia_default_ = PNGMedia;
100918
100917
 
100919
100918
  /* harmony default export */ const Texturing_PNGMedia = (Namespace/* default */.A .add ("PNGMedia", PNGMedia_default_));
100920
100919
  ;// ./src/x_ite/Components/Texturing/MovieTexture.js
100921
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(768)["A"];
100922
- /* provided dependency */ var SuperGif = __webpack_require__(334);
100923
- /* provided dependency */ var APNG = __webpack_require__(652);
100920
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(308)["A"];
100921
+ /* provided dependency */ var SuperGif = __webpack_require__(868);
100922
+ /* provided dependency */ var APNG = __webpack_require__(494);
100924
100923
 
100925
100924
 
100926
100925
 
@@ -102035,7 +102034,7 @@ Object .assign (Object .setPrototypeOf (RenderedTexture .prototype, Texturing_X3
102035
102034
  const dependentRenderer = new Rendering_DependentRenderer (this .getExecutionContext (), renderObject);
102036
102035
 
102037
102036
  this .dependentRenderers .set (renderObject, dependentRenderer);
102038
- dependentRenderer .setDepthClearColor (0, 0, 0, 0);
102037
+ dependentRenderer .setDepthClearColor (1, 1, 1, 1);
102039
102038
  }
102040
102039
 
102041
102040
  // Prepare.
@@ -102131,20 +102130,21 @@ Object .defineProperties (RenderedTexture,
102131
102130
  fieldDefinitions:
102132
102131
  {
102133
102132
  value: new Base_FieldDefinitionArray ([
102134
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
102135
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "description", new x_ite_Fields .SFString ()),
102136
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "enabled", new x_ite_Fields .SFBool (true)),
102137
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "replaceImage", new x_ite_Fields .SFBool (true)),
102138
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "url", new x_ite_Fields .MFString ()),
102139
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "update", new x_ite_Fields .SFString ("NONE")),
102140
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "updateInterval", new x_ite_Fields .SFTime (0.1)),
102141
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "dimensions", new x_ite_Fields .MFInt32 (128, 128, 4)),
102142
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "depthMap", new x_ite_Fields .SFBool ()),
102143
- new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "repeatS", new x_ite_Fields .SFBool (true)),
102144
- new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "repeatT", new x_ite_Fields .SFBool (true)),
102145
- new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "isActive", new x_ite_Fields .SFBool ()),
102146
- new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "textureProperties", new x_ite_Fields .SFNode ()),
102147
- new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "children", new x_ite_Fields .MFNode ()),
102133
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "metadata", new x_ite_Fields .SFNode ()),
102134
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "description", new x_ite_Fields .SFString ()),
102135
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "enabled", new x_ite_Fields .SFBool (true)),
102136
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "replaceImage", new x_ite_Fields .SFBool (true)),
102137
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "maximumNumberFrames", new x_ite_Fields .SFInt32 (1000)),
102138
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "url", new x_ite_Fields .MFString ()),
102139
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "update", new x_ite_Fields .SFString ("NONE")),
102140
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "updateInterval", new x_ite_Fields .SFTime (0.1)),
102141
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "dimensions", new x_ite_Fields .MFInt32 (128, 128, 4)),
102142
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "depthMap", new x_ite_Fields .SFBool ()),
102143
+ new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "repeatS", new x_ite_Fields .SFBool (true)),
102144
+ new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "repeatT", new x_ite_Fields .SFBool (true)),
102145
+ new Base_X3DFieldDefinition (Base_X3DConstants .outputOnly, "isActive", new x_ite_Fields .SFBool ()),
102146
+ new Base_X3DFieldDefinition (Base_X3DConstants .initializeOnly, "textureProperties", new x_ite_Fields .SFNode ()),
102147
+ new Base_X3DFieldDefinition (Base_X3DConstants .inputOutput, "children", new x_ite_Fields .MFNode ()),
102148
102148
  ]),
102149
102149
  enumerable: true,
102150
102150
  },
@@ -102279,7 +102279,7 @@ const Components_default_ = Components;
102279
102279
 
102280
102280
  /* harmony default export */ const x_ite_Components = (Namespace/* default */.A .add ("Components", Components_default_));
102281
102281
  ;// ./src/x_ite/Browser/X3DBrowser.js
102282
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(768)["A"];
102282
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(308)["A"];
102283
102283
 
102284
102284
 
102285
102285
 
@@ -102357,6 +102357,11 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
102357
102357
  {
102358
102358
  Browser_X3DBrowserContext .prototype .initialize .call (this);
102359
102359
 
102360
+ this .getCanvas () .on ("webglcontextlost", event =>
102361
+ {
102362
+ this .callBrowserCallbacks (Base_X3DConstants .CONNECTION_ERROR);
102363
+ });
102364
+
102360
102365
  const scene = new Execution_X3DScene (this);
102361
102366
 
102362
102367
  scene .setup ();
@@ -102898,7 +102903,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
102898
102903
  }
102899
102904
  else
102900
102905
  {
102901
- this .callBrowserCallbacks (Base_X3DConstants .CONNECTION_ERROR);
102906
+ this .callBrowserCallbacks (Base_X3DConstants .INITIALIZED_ERROR);
102902
102907
  this .callBrowserEventHandler ("error");
102903
102908
 
102904
102909
  setTimeout (() =>
@@ -103241,6 +103246,10 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
103241
103246
  {
103242
103247
  this .currentScene .toJSONStream (generator);
103243
103248
  },
103249
+ loseContext ()
103250
+ {
103251
+ this .getContext () .getExtension ("WEBGL_lose_context") .loseContext ();
103252
+ },
103244
103253
  dispose ()
103245
103254
  {
103246
103255
  this [_DOMIntegration] .dispose ();
@@ -103417,7 +103426,7 @@ const SUPPORTED_VERSIONS_default_ = [
103417
103426
 
103418
103427
  /* harmony default export */ const SUPPORTED_VERSIONS = (Namespace/* default */.A .add ("SUPPORTED_VERSIONS", SUPPORTED_VERSIONS_default_));
103419
103428
  ;// ./src/x_ite/X3DCanvasElement.js
103420
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(768)["A"];
103429
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(308)["A"];
103421
103430
 
103422
103431
 
103423
103432
  class X3DCanvasElement extends HTMLElement
@@ -103581,8 +103590,8 @@ const QuickSort_default_ = QuickSort;
103581
103590
 
103582
103591
  /* harmony default export */ const Algorithms_QuickSort = (Namespace/* default */.A .add ("QuickSort", QuickSort_default_));
103583
103592
  ;// ./src/lib/jquery.js
103584
- /* provided dependency */ var jquery_$ = __webpack_require__(768)["A"];
103585
- /* provided dependency */ var pako = __webpack_require__(67);
103593
+ /* provided dependency */ var jquery_$ = __webpack_require__(308)["A"];
103594
+ /* provided dependency */ var pako = __webpack_require__(177);
103586
103595
  Object .assign (jquery_$,
103587
103596
  {
103588
103597
  decodeText (input)
@@ -103646,13 +103655,13 @@ const jquery_default_ = jquery_$;
103646
103655
 
103647
103656
  /* harmony default export */ const jquery = (Namespace/* default */.A .add ("jquery", jquery_default_));
103648
103657
  ;// ./src/lib/libtess.js
103649
- /* provided dependency */ var libtess_libtess = __webpack_require__(584);
103658
+ /* provided dependency */ var libtess_libtess = __webpack_require__(46);
103650
103659
  const libtess_default_ = libtess_libtess;
103651
103660
  ;
103652
103661
 
103653
103662
  /* harmony default export */ const lib_libtess = (Namespace/* default */.A .add ("libtess", libtess_default_));
103654
103663
  ;// ./src/x_ite/X3D.js
103655
- /* provided dependency */ var X3D_$ = __webpack_require__(768)["A"];
103664
+ /* provided dependency */ var X3D_$ = __webpack_require__(308)["A"];
103656
103665
 
103657
103666
 
103658
103667
 
@@ -103818,7 +103827,7 @@ Namespace/* default */.A, Namespace/* default */.A .Fields,
103818
103827
 
103819
103828
  // Assign X3D to global namespace.
103820
103829
 
103821
- window [Symbol .for ("X_ITE.X3D-14.1.4")] = x_ite_X3D;
103830
+ window [Symbol .for ("X_ITE.X3D-14.2.0")] = x_ite_X3D;
103822
103831
 
103823
103832
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
103824
103833