x_ite 8.11.12 → 8.11.14

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 (45) hide show
  1. package/dist/assets/components/Annotation.js +13 -13
  2. package/dist/assets/components/Annotation.min.js +1 -1
  3. package/dist/assets/components/CADGeometry.js +13 -13
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +40 -47
  6. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  7. package/dist/assets/components/DIS.js +13 -13
  8. package/dist/assets/components/DIS.min.js +1 -1
  9. package/dist/assets/components/EventUtilities.js +9 -9
  10. package/dist/assets/components/EventUtilities.min.js +1 -1
  11. package/dist/assets/components/Geometry2D.js +19 -19
  12. package/dist/assets/components/Geometry2D.min.js +1 -1
  13. package/dist/assets/components/Geospatial.js +33 -33
  14. package/dist/assets/components/Geospatial.min.js +1 -1
  15. package/dist/assets/components/HAnim.js +23 -23
  16. package/dist/assets/components/HAnim.min.js +1 -1
  17. package/dist/assets/components/KeyDeviceSensor.js +8 -8
  18. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  19. package/dist/assets/components/Layout.js +26 -26
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +24 -24
  22. package/dist/assets/components/NURBS.min.js +1 -1
  23. package/dist/assets/components/ParticleSystems.js +23 -23
  24. package/dist/assets/components/ParticleSystems.min.js +1 -1
  25. package/dist/assets/components/Picking.js +18 -18
  26. package/dist/assets/components/Picking.min.js +1 -1
  27. package/dist/assets/components/RigidBodyPhysics.js +17 -17
  28. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  29. package/dist/assets/components/Scripting.js +37 -37
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +36 -43
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjector.js +14 -14
  34. package/dist/assets/components/TextureProjector.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +45 -52
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +18 -18
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +9 -9
  40. package/dist/assets/components/X_ITE.min.js +1 -1
  41. package/dist/x_ite.css +1 -1
  42. package/dist/x_ite.js +225 -176
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.zip +0 -0
  45. package/package.json +1 -1
package/dist/x_ite.js CHANGED
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.11.12 */(function webpackUniversalModuleDefinition(root, factory) {
1
+ /* X_ITE v8.11.14 */(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
- /***/ 833:
14
+ /***/ 194:
15
15
  /***/ (function(module, exports, __webpack_require__) {
16
16
 
17
17
  "use strict";
18
- /* provided dependency */ var jQuery = __webpack_require__(993);
18
+ /* provided dependency */ var jQuery = __webpack_require__(69);
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
- /***/ 464:
390
+ /***/ 117:
391
391
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
392
392
 
393
- /* provided dependency */ var jQuery = __webpack_require__(993);
393
+ /* provided dependency */ var jQuery = __webpack_require__(69);
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
- /***/ 218:
589
+ /***/ 387:
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__(993)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
603
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(69)], __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
- /***/ 993:
814
+ /***/ 69:
815
815
  /***/ (function(module, exports) {
816
816
 
817
817
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11523,7 +11523,7 @@ return jQuery;
11523
11523
 
11524
11524
  /***/ }),
11525
11525
 
11526
- /***/ 29:
11526
+ /***/ 183:
11527
11527
  /***/ ((module) => {
11528
11528
 
11529
11529
  /**
@@ -16302,7 +16302,7 @@ if (true) {
16302
16302
 
16303
16303
  /***/ }),
16304
16304
 
16305
- /***/ 737:
16305
+ /***/ 780:
16306
16306
  /***/ (function(__unused_webpack_module, exports) {
16307
16307
 
16308
16308
 
@@ -19547,7 +19547,7 @@ if (true) {
19547
19547
 
19548
19548
  /***/ }),
19549
19549
 
19550
- /***/ 435:
19550
+ /***/ 548:
19551
19551
  /***/ (function(module, exports) {
19552
19552
 
19553
19553
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -34481,7 +34481,7 @@ x_ite_Namespace .set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34481
34481
  *
34482
34482
  ******************************************************************************/
34483
34483
 
34484
- const VERSION_default_ = "8.11.12";
34484
+ const VERSION_default_ = "8.11.14";
34485
34485
  ;
34486
34486
 
34487
34487
  x_ite_Namespace .set ("x_ite/Browser/VERSION", VERSION_default_);
@@ -38271,7 +38271,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
38271
38271
  x_ite_Namespace .set ("x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
38272
38272
  /* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
38273
38273
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38274
- /* provided dependency */ var $ = __webpack_require__(993);
38274
+ /* provided dependency */ var $ = __webpack_require__(69);
38275
38275
  /*******************************************************************************
38276
38276
  *
38277
38277
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39095,7 +39095,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39095
39095
  x_ite_Namespace .set ("x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39096
39096
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
39097
39097
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39098
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(993);
39098
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(69);
39099
39099
  /*******************************************************************************
39100
39100
  *
39101
39101
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -41649,7 +41649,7 @@ const VRMLParser_default_ = VRMLParser;
41649
41649
  x_ite_Namespace .set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
41650
41650
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41651
41651
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41652
- /* provided dependency */ var XMLParser_$ = __webpack_require__(993);
41652
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(69);
41653
41653
  /*******************************************************************************
41654
41654
  *
41655
41655
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43660,7 +43660,7 @@ const URLs_default_ = URLs;
43660
43660
  x_ite_Namespace .set ("x_ite/Browser/Networking/URLs", URLs_default_);
43661
43661
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43662
43662
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43663
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(993);
43663
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(69);
43664
43664
  /*******************************************************************************
43665
43665
  *
43666
43666
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -43746,6 +43746,7 @@ function GLTF2Parser (scene)
43746
43746
  this .accessors = [ ];
43747
43747
  this .samplers = [ ];
43748
43748
  this .materials = [ ];
43749
+ this .defaultAppearance = [ ];
43749
43750
  this .textureTransformNodes = [ ];
43750
43751
  this .meshes = [ ];
43751
43752
  this .cameras = [ ];
@@ -43941,12 +43942,10 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
43941
43942
  {
43942
43943
  case "KHR_texture_transform":
43943
43944
  {
43944
- try
43945
- {
43946
- scene .addComponent (browser .getComponent ("Texturing3D", 2));
43947
- }
43948
- catch
43949
- { }
43945
+ const component = browser .getComponent ("Texturing3D", 2);
43946
+
43947
+ if (!scene .hasComponent (component))
43948
+ scene .addComponent (component);
43950
43949
 
43951
43950
  break;
43952
43951
  }
@@ -44404,10 +44403,10 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44404
44403
 
44405
44404
  this .materials = materials;
44406
44405
  },
44407
- materialObject (material)
44406
+ materialObject ({ material, mode })
44408
44407
  {
44409
44408
  if (!(material instanceof Object))
44410
- return this .getDefaultAppearance ();
44409
+ return this .getDefaultAppearance (mode);
44411
44410
 
44412
44411
  if (material .appearanceNode)
44413
44412
  return material .appearanceNode;
@@ -44422,7 +44421,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44422
44421
  const
44423
44422
  scene = this .getExecutionContext (),
44424
44423
  appearanceNode = scene .createNode ("Appearance", false),
44425
- materialNode = this .createMaterial (material),
44424
+ materialNode = this .refineMaterial (mode, this .createMaterial (material, mode)),
44426
44425
  name = this .sanitizeName (material .name);
44427
44426
 
44428
44427
  const emissiveFactor = new Numbers_Color3 (0, 0, 0);
@@ -44474,6 +44473,47 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44474
44473
 
44475
44474
  return material .appearanceNode = appearanceNode;
44476
44475
  },
44476
+ refineMaterial (mode, materialNode)
44477
+ {
44478
+ if (mode > 3)
44479
+ return materialNode
44480
+
44481
+ switch (materialNode .getTypeName ())
44482
+ {
44483
+ default:
44484
+ {
44485
+ return materialNode;
44486
+ }
44487
+ case "Material":
44488
+ {
44489
+ const
44490
+ scene = this .getExecutionContext (),
44491
+ unlitMaterialNode = scene .createNode ("UnlitMaterial", false);
44492
+
44493
+ unlitMaterialNode ._emissiveColor = materialNode ._diffuseColor;
44494
+ unlitMaterialNode ._emissiveTextureMapping = materialNode ._diffuseTextureMapping;
44495
+ unlitMaterialNode ._emissiveTexture = materialNode ._diffuseTexture;
44496
+
44497
+ materialNode .dispose ();
44498
+
44499
+ return unlitMaterialNode;
44500
+ }
44501
+ case "PhysicalMaterial":
44502
+ {
44503
+ const
44504
+ scene = this .getExecutionContext (),
44505
+ unlitMaterialNode = scene .createNode ("UnlitMaterial", false);
44506
+
44507
+ unlitMaterialNode ._emissiveColor = materialNode ._baseColor;
44508
+ unlitMaterialNode ._emissiveTextureMapping = materialNode ._baseTextureMapping;
44509
+ unlitMaterialNode ._emissiveTexture = materialNode ._baseTexture;
44510
+
44511
+ materialNode .dispose ();
44512
+
44513
+ return unlitMaterialNode;
44514
+ }
44515
+ }
44516
+ },
44477
44517
  texCoordIndices (key, object, indices = new Set ())
44478
44518
  {
44479
44519
  if (!(object instanceof Object))
@@ -44487,23 +44527,23 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
44487
44527
 
44488
44528
  return indices;
44489
44529
  },
44490
- createMaterial (material)
44530
+ createMaterial (material, mode)
44491
44531
  {
44492
44532
  const materials = [
44493
- this .pbrMetallicRoughnessObject .bind (this, material .pbrMetallicRoughness),
44533
+ this .pbrMetallicRoughnessObject .bind (this, material .pbrMetallicRoughness),
44494
44534
  this .pbrSpecularGlossinessObject .bind (this, material .extensions ?.KHR_materials_pbrSpecularGlossiness),
44495
- this .pbrMetallicRoughnessObject .bind (this, { }),
44535
+ this .pbrMetallicRoughnessObject .bind (this, { }),
44496
44536
  ];
44497
44537
 
44498
44538
  for (const material of materials)
44499
44539
  {
44500
- const materialNode = material ();
44540
+ const materialNode = material (mode);
44501
44541
 
44502
44542
  if (materialNode)
44503
44543
  return materialNode;
44504
44544
  }
44505
44545
  },
44506
- pbrMetallicRoughnessObject (pbrMetallicRoughness)
44546
+ pbrMetallicRoughnessObject (pbrMetallicRoughness, mode)
44507
44547
  {
44508
44548
  if (!(pbrMetallicRoughness instanceof Object))
44509
44549
  return null;
@@ -45563,7 +45603,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
45563
45603
  const
45564
45604
  scene = this .getExecutionContext (),
45565
45605
  shapeNode = scene .createNode ("Shape", false),
45566
- appearanceNode = this .materialObject (primitive .material),
45606
+ appearanceNode = this .materialObject (primitive),
45567
45607
  geometryNode = this .createGeometry (primitive, weights, skin);
45568
45608
 
45569
45609
  shapeNode ._appearance = appearanceNode;
@@ -45573,15 +45613,17 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
45573
45613
 
45574
45614
  return shapeNode;
45575
45615
  },
45576
- getDefaultAppearance ()
45616
+ getDefaultAppearance (mode)
45577
45617
  {
45578
- if (this .defaultAppearance)
45579
- return this .defaultAppearance;
45618
+ mode = mode > 3;
45619
+
45620
+ if (this .defaultAppearance [mode])
45621
+ return this .defaultAppearance [mode];
45580
45622
 
45581
45623
  const
45582
45624
  scene = this .getExecutionContext (),
45583
- appearanceNode = scene .createNode ("Appearance", false),
45584
- materialNode = scene .createNode ("PhysicalMaterial", false);
45625
+ appearanceNode = scene .createNode ("Appearance", false),
45626
+ materialNode = scene .createNode (mode ? "PhysicalMaterial" : "UnlitMaterial", false);
45585
45627
 
45586
45628
  appearanceNode ._alphaMode = "OPAQUE";
45587
45629
  appearanceNode ._material = materialNode;
@@ -45589,7 +45631,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
45589
45631
  materialNode .setup ();
45590
45632
  appearanceNode .setup ();
45591
45633
 
45592
- return this .defaultAppearance = appearanceNode;
45634
+ return this .defaultAppearance [mode] = appearanceNode;
45593
45635
  },
45594
45636
  createMultiTextureTransform (materialNode)
45595
45637
  {
@@ -45964,7 +46006,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
45964
46006
 
45965
46007
  const
45966
46008
  scene = this .getExecutionContext (),
45967
- appearanceNode = this .materialObject (material),
46009
+ appearanceNode = this .materialObject ({ material }),
45968
46010
  opaque = appearanceNode ._alphaMode .getValue () === "OPAQUE",
45969
46011
  colorNode = scene .createNode (opaque ? "Color" : typeName, false);
45970
46012
 
@@ -45999,7 +46041,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
45999
46041
  })(),
46000
46042
  createMultiTextureCoordinate (texCoords, material)
46001
46043
  {
46002
- const appearanceNode = this .materialObject (material);
46044
+ const appearanceNode = this .materialObject ({ material });
46003
46045
 
46004
46046
  if (!+appearanceNode ._material .getValue () .getTextureBits ())
46005
46047
  return null;
@@ -46681,7 +46723,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
46681
46723
  x_ite_Namespace .set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
46682
46724
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
46683
46725
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
46684
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(993);
46726
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(69);
46685
46727
  /*******************************************************************************
46686
46728
  *
46687
46729
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -46833,7 +46875,7 @@ const GLB2Parser_default_ = GLB2Parser;
46833
46875
  x_ite_Namespace .set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
46834
46876
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
46835
46877
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
46836
- /* provided dependency */ var OBJParser_$ = __webpack_require__(993);
46878
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(69);
46837
46879
  /*******************************************************************************
46838
46880
  *
46839
46881
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50188,8 +50230,8 @@ const MatrixStack_default_ = MatrixStack;
50188
50230
  x_ite_Namespace .set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
50189
50231
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50190
50232
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50191
- /* provided dependency */ var SVGParser_$ = __webpack_require__(993);
50192
- /* provided dependency */ var libtess = __webpack_require__(29);
50233
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(69);
50234
+ /* provided dependency */ var libtess = __webpack_require__(183);
50193
50235
  /*******************************************************************************
50194
50236
  *
50195
50237
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -52957,7 +52999,7 @@ const SVGParser_default_ = SVGParser;
52957
52999
  x_ite_Namespace .set ("x_ite/Parser/SVGParser", SVGParser_default_);
52958
53000
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
52959
53001
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
52960
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(993);
53002
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(69);
52961
53003
  /*******************************************************************************
52962
53004
  *
52963
53005
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53294,7 +53336,7 @@ const Plane3_default_ = Plane3;
53294
53336
  x_ite_Namespace .set ("standard/Math/Geometry/Plane3", Plane3_default_);
53295
53337
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53296
53338
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53297
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(29);
53339
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(183);
53298
53340
  /*******************************************************************************
53299
53341
  *
53300
53342
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60669,7 +60711,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
60669
60711
  x_ite_Namespace .set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
60670
60712
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
60671
60713
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
60672
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(993);
60714
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(69);
60673
60715
  /*******************************************************************************
60674
60716
  *
60675
60717
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60766,36 +60808,29 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
60766
60808
  },
60767
60809
  loadNext ()
60768
60810
  {
60769
- try
60811
+ if (this .urlStack .length === 0)
60770
60812
  {
60771
- if (this .urlStack .length === 0)
60772
- {
60773
- this .clearTexture ();
60774
- this .setLoadState (Base_X3DConstants .FAILED_STATE);
60775
- return;
60776
- }
60813
+ this .clearTexture ();
60814
+ this .setLoadState (Base_X3DConstants .FAILED_STATE);
60815
+ return;
60816
+ }
60777
60817
 
60778
- // Get URL.
60818
+ // Get URL.
60779
60819
 
60780
- this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
60820
+ this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
60781
60821
 
60782
- if (this .URL .protocol !== "data:")
60783
- {
60784
- if (!this .getCache ())
60785
- this .URL .searchParams .set ("_", Date .now ());
60786
- }
60787
-
60788
- this .image .attr ("src", this .URL .href);
60789
- }
60790
- catch (error)
60822
+ if (this .URL .protocol !== "data:")
60791
60823
  {
60792
- this .setError ({ type: error .message });
60824
+ if (!this .getCache ())
60825
+ this .URL .searchParams .set ("_", Date .now ());
60793
60826
  }
60827
+
60828
+ this .image .attr ("src", this .URL .href);
60794
60829
  },
60795
60830
  setError (event)
60796
60831
  {
60797
- if (this .URL ?.protocol !== "data:")
60798
- console .warn (`Error loading image '${decodeURI (this .URL ?.href)}'`, event .type);
60832
+ if (this .URL .protocol !== "data:")
60833
+ console .warn (`Error loading image '${decodeURI (this .URL .href)}'`, event .type);
60799
60834
 
60800
60835
  this .loadNext ();
60801
60836
  },
@@ -60804,7 +60839,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
60804
60839
  if (DEVELOPMENT)
60805
60840
  {
60806
60841
  if (this .URL .protocol !== "data:")
60807
- console .info (`Done loading image '${decodeURI (this .URL ?.href)}'`);
60842
+ console .info (`Done loading image '${decodeURI (this .URL .href)}'`);
60808
60843
  }
60809
60844
 
60810
60845
  try
@@ -65218,7 +65253,7 @@ const X3DWorld_default_ = X3DWorld;
65218
65253
  x_ite_Namespace .set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
65219
65254
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
65220
65255
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
65221
- /* provided dependency */ var FileLoader_$ = __webpack_require__(993);
65256
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(69);
65222
65257
  /*******************************************************************************
65223
65258
  *
65224
65259
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -65287,7 +65322,7 @@ function FileLoader (node)
65287
65322
  this .executionContext = this .external ? node .getExecutionContext () : this .browser .currentScene;
65288
65323
  this .target = "";
65289
65324
  this .url = [ ];
65290
- this .URL = new URL (this .getBaseURL (), this .getBaseURL ());
65325
+ this .URL = new URL (this .getBaseURL ());
65291
65326
  this .controller = new AbortController ();
65292
65327
  }
65293
65328
 
@@ -65392,7 +65427,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
65392
65427
  if (DEVELOPMENT)
65393
65428
  {
65394
65429
  if (this .URL .protocol !== "data:")
65395
- console .info (`Done loading scene '${decodeURI (this .URL ?.href)}'`);
65430
+ console .info (`Done loading scene '${decodeURI (this .URL .href)}'`);
65396
65431
  }
65397
65432
  },
65398
65433
  createX3DFromURL (url, parameter, callback, bindViewpoint, foreign)
@@ -65440,6 +65475,8 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
65440
65475
  }
65441
65476
  }
65442
65477
 
65478
+ this .URL = new URL (url, this .getBaseURL ());
65479
+
65443
65480
  // Data URL
65444
65481
  {
65445
65482
  const result = url .match (/^data:(.*?)(?:;charset=(.*?))?(?:;(base64))?,/s);
@@ -65458,8 +65495,6 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
65458
65495
  }
65459
65496
  }
65460
65497
 
65461
- this .URL = new URL (url, this .getBaseURL ());
65462
-
65463
65498
  if (this .URL .protocol !== "data:" && this .bindViewpoint)
65464
65499
  {
65465
65500
  const referer = new URL (this .getBaseURL ());
@@ -65535,7 +65570,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
65535
65570
  if (this .URL .protocol === "data:")
65536
65571
  console .error (`Couldn't load data URL.`, error);
65537
65572
  else
65538
- console .error (`Couldn't load URL '${decodeURI (this .URL ?.href)}'.`, error);
65573
+ console .error (`Couldn't load URL '${decodeURI (this .URL .href)}'.`, error);
65539
65574
  },
65540
65575
  });
65541
65576
 
@@ -66676,13 +66711,17 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
66676
66711
  {
66677
66712
  return this .getExecutionContext () .getWorldURL ();
66678
66713
  },
66714
+ getBaseURL ()
66715
+ {
66716
+ return this .getExecutionContext () .getBaseURL ();
66717
+ },
66679
66718
  getProfile ()
66680
66719
  {
66681
66720
  return this .getExecutionContext () .getProfile ();
66682
66721
  },
66683
- hasComponent (name)
66722
+ hasComponent (name, level)
66684
66723
  {
66685
- return this .getExecutionContext () .hasComponent (name);
66724
+ return this .getExecutionContext () .hasComponent (name, level);
66686
66725
  },
66687
66726
  getComponents ()
66688
66727
  {
@@ -67517,6 +67556,11 @@ Object .defineProperties (X3DExecutionContext .prototype,
67517
67556
  get: X3DExecutionContext .prototype .getWorldURL,
67518
67557
  enumerable: true,
67519
67558
  },
67559
+ baseURL:
67560
+ {
67561
+ get: X3DExecutionContext .prototype .getBaseURL,
67562
+ enumerable: true,
67563
+ },
67520
67564
  units:
67521
67565
  {
67522
67566
  get: X3DExecutionContext .prototype .getUnits,
@@ -88826,7 +88870,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
88826
88870
  x_ite_Namespace .set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
88827
88871
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
88828
88872
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
88829
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(993);
88873
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(69);
88830
88874
  /*******************************************************************************
88831
88875
  *
88832
88876
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -94213,7 +94257,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
94213
94257
  x_ite_Namespace .set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
94214
94258
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
94215
94259
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
94216
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(993);
94260
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(69);
94217
94261
  /*******************************************************************************
94218
94262
  *
94219
94263
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -94870,7 +94914,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
94870
94914
  x_ite_Namespace .set ("x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
94871
94915
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
94872
94916
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
94873
- /* provided dependency */ var Appearance_$ = __webpack_require__(993);
94917
+ /* provided dependency */ var Appearance_$ = __webpack_require__(69);
94874
94918
  /*******************************************************************************
94875
94919
  *
94876
94920
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98599,7 +98643,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
98599
98643
  x_ite_Namespace .set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
98600
98644
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
98601
98645
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
98602
- /* provided dependency */ var AudioClip_$ = __webpack_require__(993);
98646
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(69);
98603
98647
  /*******************************************************************************
98604
98648
  *
98605
98649
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -98707,33 +98751,26 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
98707
98751
  },
98708
98752
  loadNext ()
98709
98753
  {
98710
- try
98754
+ if (this .urlStack .length === 0)
98711
98755
  {
98712
- if (this .urlStack .length === 0)
98713
- {
98714
- this .audio .off ("canplaythrough");
98715
- this ._duration_changed = -1;
98716
- this .setLoadState (Base_X3DConstants .FAILED_STATE);
98717
- return;
98718
- }
98719
-
98720
- // Get URL.
98756
+ this .audio .off ("canplaythrough");
98757
+ this ._duration_changed = -1;
98758
+ this .setLoadState (Base_X3DConstants .FAILED_STATE);
98759
+ return;
98760
+ }
98721
98761
 
98722
- this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
98762
+ // Get URL.
98723
98763
 
98724
- if (this .URL .protocol !== "data:")
98725
- {
98726
- if (!this .getCache ())
98727
- this .URL .searchParams .set ("_", Date .now ());
98728
- }
98764
+ this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
98729
98765
 
98730
- this .audio .attr ("src", this .URL .href);
98731
- this .audio .get (0) .load ();
98732
- }
98733
- catch (error)
98766
+ if (this .URL .protocol !== "data:")
98734
98767
  {
98735
- this .setError ({ type: error .message });
98768
+ if (!this .getCache ())
98769
+ this .URL .searchParams .set ("_", Date .now ());
98736
98770
  }
98771
+
98772
+ this .audio .attr ("src", this .URL .href);
98773
+ this .audio .get (0) .load ();
98737
98774
  },
98738
98775
  setTimeout (event)
98739
98776
  {
@@ -98746,8 +98783,8 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
98746
98783
  },
98747
98784
  setError (event)
98748
98785
  {
98749
- if (this .URL ?.protocol !== "data:")
98750
- console .warn (`Error loading audio '${decodeURI (this .URL ?.href)}'`, event .type);
98786
+ if (this .URL .protocol !== "data:")
98787
+ console .warn (`Error loading audio '${decodeURI (this .URL .href)}'`, event .type);
98751
98788
 
98752
98789
  this .loadNext ();
98753
98790
  },
@@ -98756,7 +98793,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
98756
98793
  if (DEVELOPMENT)
98757
98794
  {
98758
98795
  if (this .URL .protocol !== "data:")
98759
- console .info (`Done loading audio '${decodeURI (this .URL ?.href)}'`);
98796
+ console .info (`Done loading audio '${decodeURI (this .URL .href)}'`);
98760
98797
  }
98761
98798
 
98762
98799
  this .audio .unbind ("canplaythrough");
@@ -101717,8 +101754,8 @@ const GIFMedia_default_ = GifMedia;
101717
101754
  x_ite_Namespace .set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
101718
101755
  /* harmony default export */ const GIFMedia = (GIFMedia_default_);
101719
101756
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
101720
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(993);
101721
- /* provided dependency */ var SuperGif = __webpack_require__(435);
101757
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(69);
101758
+ /* provided dependency */ var SuperGif = __webpack_require__(548);
101722
101759
  /*******************************************************************************
101723
101760
  *
101724
101761
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101831,46 +101868,39 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
101831
101868
  },
101832
101869
  loadNext ()
101833
101870
  {
101834
- try
101871
+ if (this .urlStack .length === 0)
101835
101872
  {
101836
- if (this .urlStack .length === 0)
101837
- {
101838
- this .video .off ("canplaythrough");
101839
- this ._duration_changed = -1;
101840
- this .clearTexture ();
101841
- this .setLoadState (Base_X3DConstants .FAILED_STATE);
101842
- return;
101843
- }
101873
+ this .video .off ("canplaythrough");
101874
+ this ._duration_changed = -1;
101875
+ this .clearTexture ();
101876
+ this .setLoadState (Base_X3DConstants .FAILED_STATE);
101877
+ return;
101878
+ }
101844
101879
 
101845
- // Get URL.
101880
+ // Get URL.
101846
101881
 
101847
- this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
101882
+ this .URL = new URL (this .urlStack .shift (), this .getExecutionContext () .getBaseURL ());
101848
101883
 
101849
- if (this .URL .protocol !== "data:")
101850
- {
101851
- if (!this .getCache ())
101852
- this .URL .searchParams .set ("_", Date .now ());
101853
- }
101884
+ if (this .URL .protocol !== "data:")
101885
+ {
101886
+ if (!this .getCache ())
101887
+ this .URL .searchParams .set ("_", Date .now ());
101888
+ }
101854
101889
 
101855
- if (this .URL .pathname .endsWith (".gif"))
101856
- {
101857
- const
101858
- img = MovieTexture_$("<img></img>") .appendTo (MovieTexture_$("<div></div>")),
101859
- gif = new SuperGif ({ gif: img [0], on_error: type => this .setError ({ type: type }) });
101890
+ if (this .URL .pathname .endsWith (".gif"))
101891
+ {
101892
+ const
101893
+ img = MovieTexture_$("<img></img>") .appendTo (MovieTexture_$("<div></div>")),
101894
+ gif = new SuperGif ({ gif: img [0], on_error: type => this .setError ({ type: type }) });
101860
101895
 
101861
- gif .load_url (this .URL, this .setGif .bind (this, gif));
101896
+ gif .load_url (this .URL, this .setGif .bind (this, gif));
101862
101897
 
101863
- this .setTimeout ({ type: "timeout" });
101864
- }
101865
- else
101866
- {
101867
- this .video .attr ("src", this .URL .href);
101868
- this .video .get (0) .load ();
101869
- }
101898
+ this .setTimeout ({ type: "timeout" });
101870
101899
  }
101871
- catch (error)
101900
+ else
101872
101901
  {
101873
- this .setError ({ type: error .message });
101902
+ this .video .attr ("src", this .URL .href);
101903
+ this .video .get (0) .load ();
101874
101904
  }
101875
101905
  },
101876
101906
  setTimeout (event)
@@ -101884,8 +101914,8 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
101884
101914
  },
101885
101915
  setError (event)
101886
101916
  {
101887
- if (this .URL ?.protocol !== "data:")
101888
- console .warn (`Error loading movie '${decodeURI (this .URL ?.href)}'`, event .type);
101917
+ if (this .URL .protocol !== "data:")
101918
+ console .warn (`Error loading movie '${decodeURI (this .URL .href)}'`, event .type);
101889
101919
 
101890
101920
  this .loadNext ();
101891
101921
  },
@@ -101894,7 +101924,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
101894
101924
  if (DEVELOPMENT)
101895
101925
  {
101896
101926
  if (this .URL .protocol !== "data:")
101897
- console .info (`Done loading movie '${decodeURI (this .URL ?.href)}'`);
101927
+ console .info (`Done loading movie '${decodeURI (this .URL .href)}'`);
101898
101928
  }
101899
101929
 
101900
101930
  try
@@ -102883,7 +102913,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
102883
102913
  x_ite_Namespace .set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
102884
102914
  /* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
102885
102915
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
102886
- /* provided dependency */ var PixelTexture_$ = __webpack_require__(993);
102916
+ /* provided dependency */ var PixelTexture_$ = __webpack_require__(69);
102887
102917
  /*******************************************************************************
102888
102918
  *
102889
102919
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105046,7 +105076,7 @@ const gettext_default_ = gettext;
105046
105076
  x_ite_Namespace .set ("locale/gettext", gettext_default_);
105047
105077
  /* harmony default export */ const locale_gettext = (gettext_default_);
105048
105078
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
105049
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(993);
105079
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(69);
105050
105080
  /*******************************************************************************
105051
105081
  *
105052
105082
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -105476,7 +105506,7 @@ const TextureQuality_default_ = TextureQuality;
105476
105506
  x_ite_Namespace .set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
105477
105507
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
105478
105508
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
105479
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(993);
105509
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(69);
105480
105510
  /*******************************************************************************
105481
105511
  *
105482
105512
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106068,7 +106098,7 @@ const RenderingProperties_default_ = RenderingProperties;
106068
106098
  x_ite_Namespace .set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
106069
106099
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
106070
106100
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
106071
- /* provided dependency */ var Notification_$ = __webpack_require__(993);
106101
+ /* provided dependency */ var Notification_$ = __webpack_require__(69);
106072
106102
  /*******************************************************************************
106073
106103
  *
106074
106104
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106191,8 +106221,8 @@ const Notification_default_ = Notification;
106191
106221
  x_ite_Namespace .set ("x_ite/Browser/Core/Notification", Notification_default_);
106192
106222
  /* harmony default export */ const Core_Notification = (Notification_default_);
106193
106223
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
106194
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(464);
106195
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(993);
106224
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(117);
106225
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(69);
106196
106226
  /*******************************************************************************
106197
106227
  *
106198
106228
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107725,6 +107755,7 @@ x_ite_Namespace .set ("x_ite/Execution/ExportedNodesArray", ExportedNodesArray_d
107725
107755
 
107726
107756
 
107727
107757
 
107758
+
107728
107759
  const
107729
107760
  _specificationVersion = Symbol (),
107730
107761
  _encoding = Symbol (),
@@ -107811,7 +107842,12 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
107811
107842
  getBaseURL ()
107812
107843
  {
107813
107844
  if (this [_worldURL] .match (/^(?:data|blob):/))
107814
- return this .getBrowser () .getBaseURL ();
107845
+ {
107846
+ if (this .isMainScene ())
107847
+ return this .getBrowser () .getBaseURL ();
107848
+
107849
+ return this .getExecutionContext () .getBaseURL ();
107850
+ }
107815
107851
 
107816
107852
  return this [_worldURL];
107817
107853
  },
@@ -107825,9 +107861,20 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
107825
107861
  {
107826
107862
  return this [_profile];
107827
107863
  },
107828
- hasComponent (name)
107864
+ hasComponent (name, level = 0)
107829
107865
  {
107830
- return (this [_profile] ?.components .has (name) ?? true) || this [_components] .has (name);
107866
+ if (!this [_profile])
107867
+ return true;
107868
+
107869
+ if (name instanceof Configuration_ComponentInfo)
107870
+ var { name, level } = name;
107871
+
107872
+ const component = this [_profile] .components .get (name) ?? this [_components] .get (name);
107873
+
107874
+ if (component)
107875
+ return level <= component .level;
107876
+
107877
+ return false;
107831
107878
  },
107832
107879
  addComponent (component)
107833
107880
  {
@@ -108927,7 +108974,7 @@ const DataStorage_default_ = DataStorage;
108927
108974
  x_ite_Namespace .set ("standard/Utility/DataStorage", DataStorage_default_);
108928
108975
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
108929
108976
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
108930
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(993);
108977
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(69);
108931
108978
  /*******************************************************************************
108932
108979
  *
108933
108980
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110960,8 +111007,8 @@ const X3DViewer_default_ = X3DViewer;
110960
111007
  x_ite_Namespace .set ("x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
110961
111008
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
110962
111009
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
110963
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(218);
110964
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(993);
111010
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(387);
111011
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(69);
110965
111012
  /*******************************************************************************
110966
111013
  *
110967
111014
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -111833,8 +111880,8 @@ const ExamineViewer_default_ = ExamineViewer;
111833
111880
  x_ite_Namespace .set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
111834
111881
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
111835
111882
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
111836
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(218);
111837
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(993);
111883
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(387);
111884
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(69);
111838
111885
  /*******************************************************************************
111839
111886
  *
111840
111887
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -112838,8 +112885,8 @@ const FlyViewer_default_ = FlyViewer;
112838
112885
  x_ite_Namespace .set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
112839
112886
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
112840
112887
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
112841
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(218);
112842
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(993);
112888
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(387);
112889
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(69);
112843
112890
  /*******************************************************************************
112844
112891
  *
112845
112892
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -113170,8 +113217,8 @@ const NoneViewer_default_ = NoneViewer;
113170
113217
  x_ite_Namespace .set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
113171
113218
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
113172
113219
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
113173
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(218);
113174
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(993);
113220
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(387);
113221
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(69);
113175
113222
  /*******************************************************************************
113176
113223
  *
113177
113224
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114044,7 +114091,7 @@ Object .assign (X3DNetworkingContext .prototype,
114044
114091
  base = getBaseURI (this .getElement ()),
114045
114092
  url = new URL (value, base);
114046
114093
 
114047
- this [_baseURL] = url .protocol .match (/^(?:data|blob):/) ? base : url .href;
114094
+ this [_baseURL] = url .protocol .match (/^(?:data|blob):$/) ? base : url .href;
114048
114095
  },
114049
114096
  getDefaultScene ()
114050
114097
  {
@@ -114310,8 +114357,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
114310
114357
  x_ite_Namespace .set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
114311
114358
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
114312
114359
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
114313
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(218);
114314
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(993);
114360
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(387);
114361
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(69);
114315
114362
  /*******************************************************************************
114316
114363
  *
114317
114364
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115589,8 +115636,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
115589
115636
  x_ite_Namespace .set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
115590
115637
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
115591
115638
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
115592
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(993);
115593
- /* provided dependency */ var ResizeSensor = __webpack_require__(833);
115639
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(69);
115640
+ /* provided dependency */ var ResizeSensor = __webpack_require__(194);
115594
115641
  /*******************************************************************************
115595
115642
  *
115596
115643
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117818,7 +117865,7 @@ const Components_default_ = Components;
117818
117865
  x_ite_Namespace .set ("x_ite/Components", Components_default_);
117819
117866
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
117820
117867
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
117821
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(993);
117868
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(69);
117822
117869
  /*******************************************************************************
117823
117870
  * MIT License
117824
117871
  *
@@ -118207,7 +118254,7 @@ const DOMIntegration_default_ = DOMIntegration;
118207
118254
  x_ite_Namespace .set ("x_ite/Browser/DOMIntegration", DOMIntegration_default_);
118208
118255
  /* harmony default export */ const Browser_DOMIntegration = (DOMIntegration_default_);
118209
118256
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
118210
- /* provided dependency */ var Legacy_$ = __webpack_require__(993);
118257
+ /* provided dependency */ var Legacy_$ = __webpack_require__(69);
118211
118258
  /*******************************************************************************
118212
118259
  *
118213
118260
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119046,7 +119093,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
119046
119093
  x_ite_Namespace .set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
119047
119094
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
119048
119095
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
119049
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(993);
119096
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(69);
119050
119097
  /*******************************************************************************
119051
119098
  *
119052
119099
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -119509,10 +119556,11 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
119509
119556
  createVrmlFromString (vrmlSyntax)
119510
119557
  {
119511
119558
  const
119512
- currentScene = this .currentScene,
119513
119559
  external = this .isExternal (),
119560
+ currentScene = this .currentScene,
119561
+ worldURL = external ? this .getBaseURL () : currentScene .getWorldURL (),
119514
119562
  fileLoader = new InputOutput_FileLoader (this .getWorld ()),
119515
- scene = fileLoader .createX3DFromString (currentScene .getWorldURL (), `#VRML V2.0 utf8\n\n${vrmlSyntax}`);
119563
+ scene = fileLoader .createX3DFromString (worldURL, `#VRML V2.0 utf8\n\n${vrmlSyntax}`);
119516
119564
 
119517
119565
  if (!external)
119518
119566
  {
@@ -119528,13 +119576,14 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
119528
119576
  x3dSyntax = String (x3dSyntax);
119529
119577
 
119530
119578
  const
119531
- currentScene = this .currentScene,
119532
119579
  external = this .isExternal (),
119580
+ currentScene = this .currentScene,
119581
+ worldURL = external ? this .getBaseURL () : currentScene .getWorldURL (),
119533
119582
  fileLoader = new InputOutput_FileLoader (this .getWorld ());
119534
119583
 
119535
119584
  const scene = await new Promise ((resolve, reject) =>
119536
119585
  {
119537
- fileLoader .createX3DFromString (currentScene .getWorldURL (), x3dSyntax, resolve, reject);
119586
+ fileLoader .createX3DFromString (worldURL, x3dSyntax, resolve, reject);
119538
119587
  });
119539
119588
 
119540
119589
  if (!external)
@@ -120122,8 +120171,8 @@ const X3DBrowser_default_ = X3DBrowser;
120122
120171
  x_ite_Namespace .set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
120123
120172
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
120124
120173
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
120125
- /* provided dependency */ var jquery_$ = __webpack_require__(993);
120126
- /* provided dependency */ var pako = __webpack_require__(737);
120174
+ /* provided dependency */ var jquery_$ = __webpack_require__(69);
120175
+ /* provided dependency */ var pako = __webpack_require__(780);
120127
120176
  Object .assign (jquery_$,
120128
120177
  {
120129
120178
  decodeText (input)
@@ -120188,14 +120237,14 @@ const jquery_default_ = jquery_$;
120188
120237
  x_ite_Namespace .set ("lib/jquery", jquery_default_);
120189
120238
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
120190
120239
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
120191
- /* provided dependency */ var libtess_libtess = __webpack_require__(29);
120240
+ /* provided dependency */ var libtess_libtess = __webpack_require__(183);
120192
120241
  const libtess_default_ = libtess_libtess;
120193
120242
  ;
120194
120243
 
120195
120244
  x_ite_Namespace .set ("lib/libtess", libtess_default_);
120196
120245
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
120197
120246
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
120198
- /* provided dependency */ var X3D_$ = __webpack_require__(993);
120247
+ /* provided dependency */ var X3D_$ = __webpack_require__(69);
120199
120248
  /*******************************************************************************
120200
120249
  *
120201
120250
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120451,7 +120500,7 @@ const X3D_default_ = X3D;
120451
120500
  x_ite_Namespace .set ("x_ite/X3D", X3D_default_);
120452
120501
  /* harmony default export */ const x_ite_X3D = (X3D_default_);
120453
120502
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
120454
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(993);
120503
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(69);
120455
120504
  /*******************************************************************************
120456
120505
  *
120457
120506
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -120722,7 +120771,7 @@ x_ite_Namespace .set ("shim", shim_default_);
120722
120771
 
120723
120772
  // Assign X3D to global namespace.
120724
120773
 
120725
- window [Symbol .for ("X_ITE.X3D-8.11.12")] = x_ite_X3D;
120774
+ window [Symbol .for ("X_ITE.X3D-8.11.14")] = x_ite_X3D;
120726
120775
 
120727
120776
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
120728
120777