x_ite 9.1.10 → 9.1.11

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 (47) 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 +14 -14
  4. package/dist/assets/components/CADGeometry.min.js +1 -1
  5. package/dist/assets/components/CubeMapTexturing.js +25 -25
  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 +27 -27
  20. package/dist/assets/components/Layout.min.js +1 -1
  21. package/dist/assets/components/NURBS.js +23 -23
  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 +38 -38
  30. package/dist/assets/components/Scripting.min.js +1 -1
  31. package/dist/assets/components/Text.js +24 -24
  32. package/dist/assets/components/Text.min.js +1 -1
  33. package/dist/assets/components/TextureProjection.js +15 -15
  34. package/dist/assets/components/TextureProjection.min.js +1 -1
  35. package/dist/assets/components/Texturing3D.js +30 -30
  36. package/dist/assets/components/Texturing3D.min.js +1 -1
  37. package/dist/assets/components/VolumeRendering.js +19 -19
  38. package/dist/assets/components/VolumeRendering.min.js +1 -1
  39. package/dist/assets/components/X_ITE.js +8 -8
  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 +638 -533
  43. package/dist/x_ite.min.js +1 -1
  44. package/dist/x_ite.min.mjs +1 -1
  45. package/dist/x_ite.mjs +638 -533
  46. package/dist/x_ite.zip +0 -0
  47. package/package.json +1 -1
package/dist/x_ite.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* X_ITE v9.1.10 */var __webpack_modules__ = ({
1
+ /* X_ITE v9.1.11 */var __webpack_modules__ = ({
2
2
 
3
- /***/ 473:
3
+ /***/ 561:
4
4
  /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
5
5
 
6
- /* provided dependency */ var jQuery = __webpack_require__(239);
6
+ /* provided dependency */ var jQuery = __webpack_require__(831);
7
7
  /**
8
8
  * @preserve jquery.fullscreen 1.1.5
9
9
  * https://github.com/code-lts/jquery-fullscreen-plugin
@@ -199,7 +199,7 @@ installFullScreenHandlers();
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 360:
202
+ /***/ 471:
203
203
  /***/ ((module, exports, __webpack_require__) => {
204
204
 
205
205
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -213,7 +213,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
213
213
  (function (factory) {
214
214
  if ( true ) {
215
215
  // AMD. Register as an anonymous module.
216
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(239)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
216
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(831)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
217
217
  __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
218
218
  (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
219
219
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
@@ -424,7 +424,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
424
424
 
425
425
  /***/ }),
426
426
 
427
- /***/ 239:
427
+ /***/ 831:
428
428
  /***/ (function(module, exports) {
429
429
 
430
430
  var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
@@ -11148,7 +11148,7 @@ return jQuery;
11148
11148
 
11149
11149
  /***/ }),
11150
11150
 
11151
- /***/ 488:
11151
+ /***/ 864:
11152
11152
  /***/ ((module) => {
11153
11153
 
11154
11154
  /**
@@ -15927,7 +15927,7 @@ if (true) {
15927
15927
 
15928
15928
  /***/ }),
15929
15929
 
15930
- /***/ 102:
15930
+ /***/ 295:
15931
15931
  /***/ (function(__unused_webpack_module, exports) {
15932
15932
 
15933
15933
 
@@ -19172,7 +19172,7 @@ if (true) {
19172
19172
 
19173
19173
  /***/ }),
19174
19174
 
19175
- /***/ 899:
19175
+ /***/ 698:
19176
19176
  /***/ (function(module, exports) {
19177
19177
 
19178
19178
  var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
@@ -20299,7 +20299,7 @@ Object .defineProperty (Namespace, "add",
20299
20299
  }
20300
20300
  else
20301
20301
  {
20302
- const X3D = window [Symbol .for ("X_ITE.X3D-9.1.10")];
20302
+ const X3D = window [Symbol .for ("X_ITE.X3D-9.1.11")];
20303
20303
 
20304
20304
  if (X3D)
20305
20305
  X3D [name] = module;
@@ -21211,27 +21211,27 @@ Object .assign (Generator .prototype,
21211
21211
  if (baseNode .hasRoutes ())
21212
21212
  return true;
21213
21213
 
21214
+ const executionContext = baseNode .getExecutionContext ();
21215
+
21216
+ if (this .importedNodesIndex .get (executionContext) ?.has (baseNode))
21217
+ return true;
21218
+
21219
+ if (this .exportedNodesIndex .get (executionContext) ?.has (baseNode))
21220
+ return true;
21221
+
21222
+ return false;
21223
+ },
21224
+ ImportedName (name)
21225
+ {
21214
21226
  const
21215
- executionContext = baseNode .getExecutionContext (),
21216
- index = this .importedNodesIndex .get (executionContext);
21227
+ names = this .names .get (this .ExecutionContext ()),
21228
+ newName = getUniqueName (names, name);
21217
21229
 
21218
- if (index)
21219
- {
21220
- if (index .has (baseNode))
21221
- return true;
21222
- }
21223
- else
21224
- {
21225
- const index = this .exportedNodesIndex .get (executionContext);
21230
+ // Add to indices.
21226
21231
 
21227
- if (index)
21228
- {
21229
- if (index .has (baseNode))
21230
- return true;
21231
- }
21232
+ names .add (newName);
21232
21233
 
21233
- return false;
21234
- }
21234
+ return newName;
21235
21235
  },
21236
21236
  LocalName (baseNode)
21237
21237
  {
@@ -34331,7 +34331,7 @@ const X3DBaseNode_default_ = X3DBaseNode;
34331
34331
  x_ite_Namespace .add ("X3DBaseNode", "x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
34332
34332
  /* harmony default export */ const Base_X3DBaseNode = (X3DBaseNode_default_);
34333
34333
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
34334
- /* provided dependency */ var $ = __webpack_require__(239);
34334
+ /* provided dependency */ var $ = __webpack_require__(831);
34335
34335
  /*******************************************************************************
34336
34336
  *
34337
34337
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -34468,7 +34468,7 @@ x_ite_Namespace .add ("Legacy", "x_ite/Browser/Legacy", Legacy_default_);
34468
34468
  *
34469
34469
  ******************************************************************************/
34470
34470
 
34471
- const BROWSER_VERSION_default_ = "9.1.10";
34471
+ const BROWSER_VERSION_default_ = "9.1.11";
34472
34472
  ;
34473
34473
 
34474
34474
  x_ite_Namespace .add ("BROWSER_VERSION", "x_ite/BROWSER_VERSION", BROWSER_VERSION_default_);
@@ -37288,31 +37288,36 @@ x_ite_Namespace .add ("NamedNodesArray", "x_ite/Execution/NamedNodesArray", Name
37288
37288
 
37289
37289
 
37290
37290
 
37291
-
37292
37291
  const
37293
- _inlineNode = Symbol (),
37294
- _exportedName = Symbol (),
37295
- _importedName = Symbol (),
37296
- _routes = Symbol ();
37292
+ X3DImportedNode_executionContext = Symbol (),
37293
+ _inlineNode = Symbol (),
37294
+ _exportedName = Symbol (),
37295
+ _importedName = Symbol (),
37296
+ _routes = Symbol (),
37297
+ _real = Symbol ();
37297
37298
 
37298
37299
  function X3DImportedNode (executionContext, inlineNode, exportedName, importedName)
37299
37300
  {
37300
- Core_X3DNode .call (this, executionContext);
37301
+ Base_X3DObject .call (this);
37301
37302
 
37302
- this [_inlineNode] = Fields_SFNodeCache .get (inlineNode);
37303
- this [_exportedName] = exportedName;
37304
- this [_importedName] = importedName;
37305
- this [_routes] = new Set ();
37303
+ this [X3DImportedNode_executionContext] = executionContext;
37304
+ this [_inlineNode] = inlineNode;
37305
+ this [_exportedName] = exportedName;
37306
+ this [_importedName] = importedName;
37307
+ this [_routes] = [ ];
37306
37308
 
37307
37309
  this .getInlineNode () ._loadState .addInterest ("set_loadState__", this);
37308
37310
  }
37309
37311
 
37310
- // Must be of type X3DNode, to get routes work.
37311
- Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode .prototype),
37312
+ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Base_X3DObject .prototype),
37312
37313
  {
37314
+ getExecutionContext ()
37315
+ {
37316
+ return this [X3DImportedNode_executionContext];
37317
+ },
37313
37318
  getInlineNode ()
37314
37319
  {
37315
- return this [_inlineNode] .getValue ();
37320
+ return this [_inlineNode];
37316
37321
  },
37317
37322
  getExportedName ()
37318
37323
  {
@@ -37328,29 +37333,21 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37328
37333
  },
37329
37334
  hasRoutes (baseNode)
37330
37335
  {
37331
- for (const route of this [_routes])
37332
- {
37333
- if (route .sourceNode === baseNode)
37334
- return true;
37335
-
37336
- if (route .destinationNode === baseNode)
37337
- return true;
37338
- }
37339
-
37340
- return false;
37336
+ return this [_routes]
37337
+ .some (route => route .sourceNode === baseNode || route .destinationNode === baseNode)
37341
37338
  },
37342
37339
  addRoute (sourceNode, sourceField, destinationNode, destinationField)
37343
37340
  {
37344
37341
  // Add route.
37345
37342
 
37346
37343
  const route = {
37347
- sourceNode: sourceNode,
37348
- sourceField: sourceField,
37349
- destinationNode: destinationNode,
37350
- destinationField: destinationField,
37344
+ sourceNode,
37345
+ sourceField,
37346
+ destinationNode,
37347
+ destinationField,
37351
37348
  };
37352
37349
 
37353
- this [_routes] .add (route);
37350
+ this [_routes] .push (route);
37354
37351
 
37355
37352
  // Try to resolve source or destination node routes.
37356
37353
 
@@ -37361,16 +37358,11 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37361
37358
  {
37362
37359
  try
37363
37360
  {
37364
- const
37365
- sourceField = route .sourceField,
37366
- destinationField = route .destinationField;
37361
+ const { sourceField, destinationField } = route;
37367
37362
 
37368
- let
37369
- sourceNode = route .sourceNode,
37370
- destinationNode = route .destinationNode;
37363
+ let { sourceNode, destinationNode } = route;
37371
37364
 
37372
- if (route .real)
37373
- route .real .dispose ();
37365
+ route [_real] ?.dispose ();
37374
37366
 
37375
37367
  if (sourceNode instanceof X3DImportedNode)
37376
37368
  sourceNode = sourceNode .getExportedNode ();
@@ -37378,7 +37370,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37378
37370
  if (destinationNode instanceof X3DImportedNode)
37379
37371
  destinationNode = destinationNode .getExportedNode ();
37380
37372
 
37381
- route .real = this .getExecutionContext () .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
37373
+ route [_real] = this .getExecutionContext () .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
37382
37374
  }
37383
37375
  catch (error)
37384
37376
  {
@@ -37387,25 +37379,38 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37387
37379
  },
37388
37380
  deleteRoute (real)
37389
37381
  {
37390
- for (const route of this [_routes])
37391
- {
37392
- if (route .real === real)
37393
- this [_routes] .delete (route);
37394
- }
37382
+ this [_routes] = this [_routes] .filter (route => route [_real] !== real);
37395
37383
  },
37396
- deleteRoutes ()
37384
+ deleteRealRoutes ()
37397
37385
  {
37398
37386
  for (const route of this [_routes])
37399
37387
  {
37400
- const real = route .real
37388
+ const real = route [_real]
37401
37389
 
37402
- if (real)
37403
- {
37404
- delete route .real;
37405
- this .getExecutionContext () .deleteSimpleRoute (real);
37406
- }
37390
+ if (!real)
37391
+ continue;
37392
+
37393
+ delete route [_real];
37394
+
37395
+ this .getExecutionContext () .deleteSimpleRoute (real);
37407
37396
  }
37408
37397
  },
37398
+ getRoutes ()
37399
+ {
37400
+ return this [_routes] .map (({ sourceNode, sourceField, destinationNode, destinationField }) =>
37401
+ {
37402
+ return {
37403
+ sourceNode: sourceNode instanceof X3DImportedNode
37404
+ ? sourceNode
37405
+ : Fields_SFNodeCache .get (sourceNode),
37406
+ sourceField,
37407
+ destinationNode: destinationNode instanceof X3DImportedNode
37408
+ ? destinationNode
37409
+ : Fields_SFNodeCache .get (destinationNode),
37410
+ destinationField,
37411
+ };
37412
+ });
37413
+ },
37409
37414
  set_loadState__ ()
37410
37415
  {
37411
37416
  switch (this .getInlineNode () .checkLoadState ())
@@ -37413,12 +37418,12 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37413
37418
  case Base_X3DConstants .NOT_STARTED_STATE:
37414
37419
  case Base_X3DConstants .FAILED_STATE:
37415
37420
  {
37416
- this .deleteRoutes ();
37421
+ this .deleteRealRoutes ();
37417
37422
  break;
37418
37423
  }
37419
37424
  case Base_X3DConstants .COMPLETE_STATE:
37420
37425
  {
37421
- this .deleteRoutes ();
37426
+ this .deleteRealRoutes ();
37422
37427
 
37423
37428
  for (const route of this [_routes])
37424
37429
  this .resolveRoute (route);
@@ -37427,14 +37432,12 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37427
37432
  }
37428
37433
  }
37429
37434
  },
37430
- toStream (generator)
37431
- {
37432
- Base_X3DObject .prototype .toStream .call (this, generator);
37433
- },
37434
37435
  toVRMLStream (generator)
37435
37436
  {
37436
37437
  if (generator .ExistsNode (this .getInlineNode ()))
37437
37438
  {
37439
+ const importedName = generator .ImportedName (this .getImportedName ());
37440
+
37438
37441
  generator .string += generator .Indent ();
37439
37442
  generator .string += "IMPORT";
37440
37443
  generator .string += generator .Space ();
@@ -37442,31 +37445,25 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37442
37445
  generator .string += ".";
37443
37446
  generator .string += this .getExportedName ();
37444
37447
 
37445
- if (this .getImportedName () !== this .getExportedName ())
37448
+ if (importedName !== this .getExportedName ())
37446
37449
  {
37447
37450
  generator .string += generator .Space ();
37448
37451
  generator .string += "AS";
37449
37452
  generator .string += generator .Space ();
37450
- generator .string += this .getImportedName ();
37453
+ generator .string += importedName;
37451
37454
  }
37452
37455
 
37453
37456
  try
37454
37457
  {
37455
37458
  generator .AddRouteNode (this);
37456
- generator .AddImportedNode (this .getExportedNode (), this .getImportedName ());
37459
+ generator .AddImportedNode (this .getExportedNode (), importedName);
37457
37460
  }
37458
37461
  catch
37459
37462
  {
37460
37463
  // Output unresolved routes.
37461
37464
 
37462
- for (const route of this [_routes])
37465
+ for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
37463
37466
  {
37464
- const
37465
- sourceNode = route .sourceNode,
37466
- sourceField = route .sourceField,
37467
- destinationNode = route .destinationNode,
37468
- destinationField = route .destinationField;
37469
-
37470
37467
  if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
37471
37468
  {
37472
37469
  const sourceNodeName = sourceNode instanceof X3DImportedNode
@@ -37503,6 +37500,8 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37503
37500
  {
37504
37501
  if (generator .ExistsNode (this .getInlineNode ()))
37505
37502
  {
37503
+ const importedName = generator .ImportedName (this .getImportedName ());
37504
+
37506
37505
  generator .string += generator .Indent ();
37507
37506
  generator .string += "<IMPORT";
37508
37507
  generator .string += generator .Space ();
@@ -37514,11 +37513,11 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37514
37513
  generator .string += generator .XMLEncode (this .getExportedName ());
37515
37514
  generator .string += "'";
37516
37515
 
37517
- if (this .getImportedName () !== this .getExportedName ())
37516
+ if (importedName !== this .getExportedName ())
37518
37517
  {
37519
37518
  generator .string += generator .Space ();
37520
37519
  generator .string += "AS='";
37521
- generator .string += generator .XMLEncode (this .getImportedName ());
37520
+ generator .string += generator .XMLEncode (importedName);
37522
37521
  generator .string += "'";
37523
37522
  }
37524
37523
 
@@ -37527,20 +37526,14 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37527
37526
  try
37528
37527
  {
37529
37528
  generator .AddRouteNode (this);
37530
- generator .AddImportedNode (this .getExportedNode (), this .getImportedName ());
37529
+ generator .AddImportedNode (this .getExportedNode (), importedName);
37531
37530
  }
37532
37531
  catch
37533
37532
  {
37534
37533
  // Output unresolved routes.
37535
37534
 
37536
- for (const route of this [_routes])
37535
+ for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
37537
37536
  {
37538
- const
37539
- sourceNode = route .sourceNode,
37540
- sourceField = route .sourceField,
37541
- destinationNode = route .destinationNode,
37542
- destinationField = route .destinationField;
37543
-
37544
37537
  if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
37545
37538
  {
37546
37539
  const sourceNodeName = sourceNode instanceof X3DImportedNode
@@ -37584,6 +37577,8 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37584
37577
  {
37585
37578
  if (generator .ExistsNode (this .getInlineNode ()))
37586
37579
  {
37580
+ const importedName = generator .ImportedName (this .getImportedName ());
37581
+
37587
37582
  generator .string += generator .Indent ();
37588
37583
  generator .string += '{';
37589
37584
  generator .string += generator .TidySpace ();
@@ -37620,7 +37615,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37620
37615
  generator .string += generator .JSONEncode (this .getExportedName ());
37621
37616
  generator .string += '"';
37622
37617
 
37623
- if (this .getImportedName () !== this .getExportedName ())
37618
+ if (importedName !== this .getExportedName ())
37624
37619
  {
37625
37620
  generator .string += ',';
37626
37621
  generator .string += generator .TidyBreak ();
@@ -37631,7 +37626,7 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37631
37626
  generator .string += ':';
37632
37627
  generator .string += generator .TidySpace ();
37633
37628
  generator .string += '"';
37634
- generator .string += generator .JSONEncode (this .getImportedName ());
37629
+ generator .string += generator .JSONEncode (importedName);
37635
37630
  generator .string += '"';
37636
37631
  generator .string += generator .TidyBreak ();
37637
37632
  }
@@ -37651,20 +37646,14 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37651
37646
  try
37652
37647
  {
37653
37648
  generator .AddRouteNode (this);
37654
- generator .AddImportedNode (this .getExportedNode (), this .getImportedName ());
37649
+ generator .AddImportedNode (this .getExportedNode (), importedName);
37655
37650
  }
37656
37651
  catch
37657
37652
  {
37658
37653
  // Output unresolved routes.
37659
37654
 
37660
- for (const route of this [_routes])
37655
+ for (const { sourceNode, sourceField, destinationNode, destinationField } of this [_routes])
37661
37656
  {
37662
- const
37663
- sourceNode = route .sourceNode,
37664
- sourceField = route .sourceField,
37665
- destinationNode = route .destinationNode,
37666
- destinationField = route .destinationField;
37667
-
37668
37657
  if (generator .ExistsRouteNode (sourceNode) && generator .ExistsRouteNode (destinationNode))
37669
37658
  {
37670
37659
  const sourceNodeName = sourceNode instanceof X3DImportedNode
@@ -37758,9 +37747,9 @@ Object .assign (Object .setPrototypeOf (X3DImportedNode .prototype, Core_X3DNode
37758
37747
  {
37759
37748
  this .getInlineNode () ._loadState .removeInterest ("set_loadState__", this);
37760
37749
 
37761
- this .deleteRoutes ();
37750
+ this .deleteRealRoutes ();
37762
37751
 
37763
- Core_X3DNode .prototype .dispose .call (this);
37752
+ Base_X3DObject .prototype .dispose .call (this);
37764
37753
  },
37765
37754
  });
37766
37755
 
@@ -37773,7 +37762,7 @@ Object .defineProperties (X3DImportedNode .prototype,
37773
37762
  {
37774
37763
  get ()
37775
37764
  {
37776
- return this [_inlineNode];
37765
+ return Fields_SFNodeCache .get (this [_inlineNode]);
37777
37766
  },
37778
37767
  enumerable: true,
37779
37768
  },
@@ -38318,254 +38307,6 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
38318
38307
 
38319
38308
  x_ite_Namespace .add ("X3DProtoDeclarationNode", "x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
38320
38309
  /* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
38321
- ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38322
- /* provided dependency */ var X3DParser_$ = __webpack_require__(239);
38323
- /*******************************************************************************
38324
- *
38325
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38326
- *
38327
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
38328
- *
38329
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
38330
- *
38331
- * The copyright notice above does not evidence any actual of intended
38332
- * publication of such source code, and is an unpublished work by create3000.
38333
- * This material contains CONFIDENTIAL INFORMATION that is the property of
38334
- * create3000.
38335
- *
38336
- * No permission is granted to copy, distribute, or create derivative works from
38337
- * the contents of this software, in whole or in part, without the prior written
38338
- * permission of create3000.
38339
- *
38340
- * NON-MILITARY USE ONLY
38341
- *
38342
- * All create3000 software are effectively free software with a non-military use
38343
- * restriction. It is free. Well commented source is provided. You may reuse the
38344
- * source in any way you please with the exception anything that uses it must be
38345
- * marked to indicate is contains 'non-military use only' components.
38346
- *
38347
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38348
- *
38349
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
38350
- *
38351
- * This file is part of the X_ITE Project.
38352
- *
38353
- * X_ITE is free software: you can redistribute it and/or modify it under the
38354
- * terms of the GNU General Public License version 3 only, as published by the
38355
- * Free Software Foundation.
38356
- *
38357
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
38358
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38359
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
38360
- * details (a copy is included in the LICENSE file that accompanied this code).
38361
- *
38362
- * You should have received a copy of the GNU General Public License version 3
38363
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
38364
- * copy of the GPLv3 License.
38365
- *
38366
- * For Silvio, Joy and Adi.
38367
- *
38368
- ******************************************************************************/
38369
-
38370
- function X3DParser (scene)
38371
- {
38372
- this .scene = scene;
38373
- this .executionContexts = [ scene ];
38374
- this .prototypes = [ ];
38375
- }
38376
-
38377
- Object .assign (X3DParser .prototype,
38378
- {
38379
- getBrowser ()
38380
- {
38381
- return this .scene .getBrowser ();
38382
- },
38383
- getScene ()
38384
- {
38385
- return this .scene;
38386
- },
38387
- getExecutionContext ()
38388
- {
38389
- return this .executionContexts .at (-1);
38390
- },
38391
- pushExecutionContext (executionContext)
38392
- {
38393
- return this .executionContexts .push (executionContext);
38394
- },
38395
- popExecutionContext ()
38396
- {
38397
- this .executionContexts .pop ();
38398
- },
38399
- getPrototype ()
38400
- {
38401
- return this .prototypes .at (-1);
38402
- },
38403
- pushPrototype (prototype)
38404
- {
38405
- return this .prototypes .push (prototype);
38406
- },
38407
- popPrototype ()
38408
- {
38409
- this .prototypes .pop ();
38410
- },
38411
- isInsideProtoDefinition ()
38412
- {
38413
- return !! this .prototypes .length;
38414
- },
38415
- loadComponents ()
38416
- {
38417
- const
38418
- browser = this .getBrowser (),
38419
- scene = this .getScene ();
38420
-
38421
- return Promise .all ([
38422
- browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
38423
- browser .loadComponents (scene .getComponents ()),
38424
- ]);
38425
- },
38426
- setUnits (units)
38427
- {
38428
- if (units)
38429
- delete this .fromUnit;
38430
- else
38431
- this .fromUnit = function (category, value) { return value; };
38432
- },
38433
- fromUnit (category, value)
38434
- {
38435
- return this .scene .fromUnit (category, value);
38436
- },
38437
- convertColor (value, defaultColor = "white")
38438
- {
38439
- const
38440
- wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
38441
- div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
38442
- rgb = window .getComputedStyle (div [0]) .color,
38443
- values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
38444
-
38445
- wrap .remove ();
38446
-
38447
- values [0] /= 255;
38448
- values [1] /= 255;
38449
- values [2] /= 255;
38450
-
38451
- if (typeof values [3] !== "number")
38452
- values [3] = 1;
38453
-
38454
- return values;
38455
- },
38456
- sanitizeName (name = "")
38457
- {
38458
- // NonIdFirstChar
38459
- name = name .replace (/^[\x30-\x39\x00-\x20\x22\x23\x27\x2b\x2c\x2d\x2e\x5b\x5c\x5d\x7b\x7d\x7f]*/, "");
38460
-
38461
- // NonIdChars
38462
- name = name .replace (/[\x00-\x20\x22\x23\x27\x2c\x2e\x5b\x5c\x5d\x7b\x7d\x7f]+/g, "-");
38463
-
38464
- // Spaces
38465
- name = name .trim () .replace (/[\s_-]+/g, "-");
38466
-
38467
- // Trim
38468
- name = name .replace (/^-+|-+$/g, "");
38469
-
38470
- return name;
38471
- },
38472
- });
38473
-
38474
- const X3DParser_default_ = X3DParser;
38475
- ;
38476
-
38477
- x_ite_Namespace .add ("X3DParser", "x_ite/Parser/X3DParser", X3DParser_default_);
38478
- /* harmony default export */ const Parser_X3DParser = (X3DParser_default_);
38479
- ;// CONCATENATED MODULE: ./src/x_ite/Parser/Expressions.js
38480
- /*******************************************************************************
38481
- *
38482
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38483
- *
38484
- * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
38485
- *
38486
- * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
38487
- *
38488
- * The copyright notice above does not evidence any actual of intended
38489
- * publication of such source code, and is an unpublished work by create3000.
38490
- * This material contains CONFIDENTIAL INFORMATION that is the property of
38491
- * create3000.
38492
- *
38493
- * No permission is granted to copy, distribute, or create derivative works from
38494
- * the contents of this software, in whole or in part, without the prior written
38495
- * permission of create3000.
38496
- *
38497
- * NON-MILITARY USE ONLY
38498
- *
38499
- * All create3000 software are effectively free software with a non-military use
38500
- * restriction. It is free. Well commented source is provided. You may reuse the
38501
- * source in any way you please with the exception anything that uses it must be
38502
- * marked to indicate is contains 'non-military use only' components.
38503
- *
38504
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38505
- *
38506
- * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
38507
- *
38508
- * This file is part of the X_ITE Project.
38509
- *
38510
- * X_ITE is free software: you can redistribute it and/or modify it under the
38511
- * terms of the GNU General Public License version 3 only, as published by the
38512
- * Free Software Foundation.
38513
- *
38514
- * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
38515
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38516
- * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
38517
- * details (a copy is included in the LICENSE file that accompanied this code).
38518
- *
38519
- * You should have received a copy of the GNU General Public License version 3
38520
- * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
38521
- * copy of the GPLv3 License.
38522
- *
38523
- * For Silvio, Joy and Adi.
38524
- *
38525
- ******************************************************************************/
38526
-
38527
- function parse (parser)
38528
- {
38529
- this .lastIndex = parser .lastIndex;
38530
-
38531
- parser .result = this .exec (parser .input);
38532
-
38533
- if (parser .result)
38534
- {
38535
- parser .lastIndex = this .lastIndex;
38536
- return true;
38537
- }
38538
-
38539
- return false;
38540
- }
38541
-
38542
- function lookahead (parser)
38543
- {
38544
- const
38545
- lastIndex = parser .lastIndex,
38546
- result = this .parse (parser);
38547
-
38548
- parser .lastIndex = lastIndex;
38549
-
38550
- return result;
38551
- }
38552
-
38553
- function Expressions (Grammar)
38554
- {
38555
- for (const value of Object .values (Grammar))
38556
- {
38557
- value .parse = parse;
38558
- value .lookahead = lookahead;
38559
- }
38560
-
38561
- return Grammar;
38562
- }
38563
-
38564
- const Expressions_default_ = Expressions;
38565
- ;
38566
-
38567
- x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
38568
- /* harmony default export */ const Parser_Expressions = (Expressions_default_);
38569
38310
  ;// CONCATENATED MODULE: ./src/x_ite/Prototype/X3DProtoDeclaration.js
38570
38311
  /*******************************************************************************
38571
38312
  *
@@ -39143,8 +38884,250 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
39143
38884
 
39144
38885
  x_ite_Namespace .add ("X3DProtoDeclaration", "x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
39145
38886
  /* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
38887
+ ;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
38888
+ /* provided dependency */ var X3DParser_$ = __webpack_require__(831);
38889
+ /*******************************************************************************
38890
+ *
38891
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38892
+ *
38893
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
38894
+ *
38895
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
38896
+ *
38897
+ * The copyright notice above does not evidence any actual of intended
38898
+ * publication of such source code, and is an unpublished work by create3000.
38899
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
38900
+ * create3000.
38901
+ *
38902
+ * No permission is granted to copy, distribute, or create derivative works from
38903
+ * the contents of this software, in whole or in part, without the prior written
38904
+ * permission of create3000.
38905
+ *
38906
+ * NON-MILITARY USE ONLY
38907
+ *
38908
+ * All create3000 software are effectively free software with a non-military use
38909
+ * restriction. It is free. Well commented source is provided. You may reuse the
38910
+ * source in any way you please with the exception anything that uses it must be
38911
+ * marked to indicate is contains 'non-military use only' components.
38912
+ *
38913
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
38914
+ *
38915
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
38916
+ *
38917
+ * This file is part of the X_ITE Project.
38918
+ *
38919
+ * X_ITE is free software: you can redistribute it and/or modify it under the
38920
+ * terms of the GNU General Public License version 3 only, as published by the
38921
+ * Free Software Foundation.
38922
+ *
38923
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
38924
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
38925
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
38926
+ * details (a copy is included in the LICENSE file that accompanied this code).
38927
+ *
38928
+ * You should have received a copy of the GNU General Public License version 3
38929
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
38930
+ * copy of the GPLv3 License.
38931
+ *
38932
+ * For Silvio, Joy and Adi.
38933
+ *
38934
+ ******************************************************************************/
38935
+
38936
+
38937
+
38938
+ function X3DParser (scene)
38939
+ {
38940
+ this .scene = scene;
38941
+ this .executionContexts = [ scene ];
38942
+ this .prototypes = [ ];
38943
+ }
38944
+
38945
+ Object .assign (X3DParser .prototype,
38946
+ {
38947
+ getBrowser ()
38948
+ {
38949
+ return this .scene .getBrowser ();
38950
+ },
38951
+ getScene ()
38952
+ {
38953
+ return this .scene;
38954
+ },
38955
+ getExecutionContext ()
38956
+ {
38957
+ return this .executionContexts .at (-1);
38958
+ },
38959
+ pushExecutionContext (executionContext)
38960
+ {
38961
+ return this .executionContexts .push (executionContext);
38962
+ },
38963
+ popExecutionContext ()
38964
+ {
38965
+ this .executionContexts .pop ();
38966
+ },
38967
+ getOuterNode ()
38968
+ {
38969
+ return this .getExecutionContext () .getOuterNode ();
38970
+ },
38971
+ isInsideProtoDeclaration ()
38972
+ {
38973
+ return this .getExecutionContext () .getOuterNode () instanceof Prototype_X3DProtoDeclaration;
38974
+ },
38975
+ loadComponents ()
38976
+ {
38977
+ const
38978
+ browser = this .getBrowser (),
38979
+ scene = this .getScene ();
38980
+
38981
+ return Promise .all ([
38982
+ browser .loadComponents (scene .getProfile () || browser .getProfile ("Full")),
38983
+ browser .loadComponents (scene .getComponents ()),
38984
+ ]);
38985
+ },
38986
+ setUnits (units)
38987
+ {
38988
+ if (units)
38989
+ delete this .fromUnit;
38990
+ else
38991
+ this .fromUnit = function (category, value) { return value; };
38992
+ },
38993
+ fromUnit (category, value)
38994
+ {
38995
+ return this .scene .fromUnit (category, value);
38996
+ },
38997
+ convertColor (value, defaultColor = "white")
38998
+ {
38999
+ const
39000
+ wrap = X3DParser_$("<div></div>") .hide () .css ("color", defaultColor) .appendTo (X3DParser_$("body")),
39001
+ div = X3DParser_$("<div></div>").css ("color", value) .appendTo (wrap),
39002
+ rgb = window .getComputedStyle (div [0]) .color,
39003
+ values = rgb .replace (/^rgba?\(|\)$/g, "") .split (/[\s,]+/) .map (s => parseFloat (s));
39004
+
39005
+ wrap .remove ();
39006
+
39007
+ values [0] /= 255;
39008
+ values [1] /= 255;
39009
+ values [2] /= 255;
39010
+
39011
+ if (typeof values [3] !== "number")
39012
+ values [3] = 1;
39013
+
39014
+ return values;
39015
+ },
39016
+ sanitizeName (name = "")
39017
+ {
39018
+ // NonIdFirstChar
39019
+ name = name .replace (/^[\x30-\x39\x00-\x20\x22\x23\x27\x2b\x2c\x2d\x2e\x5b\x5c\x5d\x7b\x7d\x7f]*/, "");
39020
+
39021
+ // NonIdChars
39022
+ name = name .replace (/[\x00-\x20\x22\x23\x27\x2c\x2e\x5b\x5c\x5d\x7b\x7d\x7f]+/g, "-");
39023
+
39024
+ // Spaces
39025
+ name = name .trim () .replace (/[\s_-]+/g, "-");
39026
+
39027
+ // Trim
39028
+ name = name .replace (/^-+|-+$/g, "");
39029
+
39030
+ return name;
39031
+ },
39032
+ });
39033
+
39034
+ const X3DParser_default_ = X3DParser;
39035
+ ;
39036
+
39037
+ x_ite_Namespace .add ("X3DParser", "x_ite/Parser/X3DParser", X3DParser_default_);
39038
+ /* harmony default export */ const Parser_X3DParser = (X3DParser_default_);
39039
+ ;// CONCATENATED MODULE: ./src/x_ite/Parser/Expressions.js
39040
+ /*******************************************************************************
39041
+ *
39042
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
39043
+ *
39044
+ * Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
39045
+ *
39046
+ * All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
39047
+ *
39048
+ * The copyright notice above does not evidence any actual of intended
39049
+ * publication of such source code, and is an unpublished work by create3000.
39050
+ * This material contains CONFIDENTIAL INFORMATION that is the property of
39051
+ * create3000.
39052
+ *
39053
+ * No permission is granted to copy, distribute, or create derivative works from
39054
+ * the contents of this software, in whole or in part, without the prior written
39055
+ * permission of create3000.
39056
+ *
39057
+ * NON-MILITARY USE ONLY
39058
+ *
39059
+ * All create3000 software are effectively free software with a non-military use
39060
+ * restriction. It is free. Well commented source is provided. You may reuse the
39061
+ * source in any way you please with the exception anything that uses it must be
39062
+ * marked to indicate is contains 'non-military use only' components.
39063
+ *
39064
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
39065
+ *
39066
+ * Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
39067
+ *
39068
+ * This file is part of the X_ITE Project.
39069
+ *
39070
+ * X_ITE is free software: you can redistribute it and/or modify it under the
39071
+ * terms of the GNU General Public License version 3 only, as published by the
39072
+ * Free Software Foundation.
39073
+ *
39074
+ * X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
39075
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
39076
+ * A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
39077
+ * details (a copy is included in the LICENSE file that accompanied this code).
39078
+ *
39079
+ * You should have received a copy of the GNU General Public License version 3
39080
+ * along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
39081
+ * copy of the GPLv3 License.
39082
+ *
39083
+ * For Silvio, Joy and Adi.
39084
+ *
39085
+ ******************************************************************************/
39086
+
39087
+ function parse (parser)
39088
+ {
39089
+ this .lastIndex = parser .lastIndex;
39090
+
39091
+ parser .result = this .exec (parser .input);
39092
+
39093
+ if (parser .result)
39094
+ {
39095
+ parser .lastIndex = this .lastIndex;
39096
+ return true;
39097
+ }
39098
+
39099
+ return false;
39100
+ }
39101
+
39102
+ function lookahead (parser)
39103
+ {
39104
+ const
39105
+ lastIndex = parser .lastIndex,
39106
+ result = this .parse (parser);
39107
+
39108
+ parser .lastIndex = lastIndex;
39109
+
39110
+ return result;
39111
+ }
39112
+
39113
+ function Expressions (Grammar)
39114
+ {
39115
+ for (const value of Object .values (Grammar))
39116
+ {
39117
+ value .parse = parse;
39118
+ value .lookahead = lookahead;
39119
+ }
39120
+
39121
+ return Grammar;
39122
+ }
39123
+
39124
+ const Expressions_default_ = Expressions;
39125
+ ;
39126
+
39127
+ x_ite_Namespace .add ("Expressions", "x_ite/Parser/Expressions", Expressions_default_);
39128
+ /* harmony default export */ const Parser_Expressions = (Expressions_default_);
39146
39129
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
39147
- /* provided dependency */ var VRMLParser_$ = __webpack_require__(239);
39130
+ /* provided dependency */ var VRMLParser_$ = __webpack_require__(831);
39148
39131
  /*******************************************************************************
39149
39132
  *
39150
39133
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -39334,6 +39317,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39334
39317
  SQRT1_2: Math .SQRT1_2,
39335
39318
  SQRT2: Math .SQRT2,
39336
39319
  },
39320
+ unknownLevel: 0,
39337
39321
  getEncoding ()
39338
39322
  {
39339
39323
  return "STRING";
@@ -39367,13 +39351,6 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39367
39351
  throw new Error (this .getError (error));
39368
39352
  }
39369
39353
  },
39370
- throwOrWarn (string)
39371
- {
39372
- if (this .getBrowser () .isStrict ())
39373
- throw new Error (string);
39374
-
39375
- console .warn (string);
39376
- },
39377
39354
  getError (error)
39378
39355
  {
39379
39356
  if (DEVELOPMENT)
@@ -39645,7 +39622,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39645
39622
  }
39646
39623
  catch (error)
39647
39624
  {
39648
- console .warn (error .message);
39625
+ console .warn (`Parser error at line ${this .lineNumber}: ${error .message}`);
39649
39626
  return true;
39650
39627
  }
39651
39628
  }
@@ -39891,13 +39868,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
39891
39868
  for (const field of interfaceDeclarations)
39892
39869
  proto .addUserDefinedField (field .getAccessType (), field .getName (), field);
39893
39870
 
39894
- this .pushPrototype (proto);
39895
39871
  this .pushExecutionContext (proto .getBody ());
39896
39872
 
39897
39873
  this .protoBody (proto .getBody () .rootNodes);
39898
39874
 
39899
39875
  this .popExecutionContext ();
39900
- this .popPrototype ();
39901
39876
 
39902
39877
  this .comments ();
39903
39878
 
@@ -40010,7 +39985,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40010
39985
  throw new Error ("Expected a name for field.");
40011
39986
  }
40012
39987
 
40013
- this .Id ()
39988
+ this .Id ();
40014
39989
 
40015
39990
  throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
40016
39991
  }
@@ -40035,7 +40010,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40035
40010
  throw new Error ("Expected a name for field.");
40036
40011
  }
40037
40012
 
40038
- this .Id ()
40013
+ this .Id ();
40039
40014
 
40040
40015
  throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
40041
40016
  }
@@ -40065,7 +40040,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40065
40040
  throw new Error ("Expected a name for field.");
40066
40041
  }
40067
40042
 
40068
- this .Id ()
40043
+ this .Id ();
40069
40044
 
40070
40045
  throw new Error (`Unknown event or field type: '${this .result [1]}'.`);
40071
40046
  }
@@ -40335,7 +40310,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40335
40310
  }
40336
40311
  catch (error)
40337
40312
  {
40338
- this .throwOrWarn (error .message);
40313
+ console .warn (`Parser error at line ${this .lineNumber}: ${error .message}`);
40339
40314
 
40340
40315
  return true;
40341
40316
  }
@@ -40374,7 +40349,32 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40374
40349
  ?? this .getExecutionContext () .createProto (nodeTypeId, false);
40375
40350
 
40376
40351
  if (!baseNode)
40377
- throw new Error (`Unknown node type or proto '${nodeTypeId}', you probably have insufficient component/profile statements, and/or an inappropriate specification version.`);
40352
+ {
40353
+ // Parse unknown node.
40354
+
40355
+ if (!this .unknownLevel)
40356
+ {
40357
+ console .warn (`Parser error at line ${this .lineNumber}: Unknown node type or proto '${nodeTypeId}', you probably have insufficient component/profile statements, and/or an inappropriate specification version.`);
40358
+ }
40359
+
40360
+ this .comments ();
40361
+
40362
+ if (Grammar .OpenBrace .parse (this))
40363
+ {
40364
+ ++ this .unknownLevel;
40365
+
40366
+ this .nodeBody (this .getExecutionContext () .createNode ("WorldInfo", false));
40367
+
40368
+ -- this .unknownLevel;
40369
+
40370
+ this .comments ();
40371
+
40372
+ if (Grammar .CloseBrace .parse (this))
40373
+ return null;
40374
+ }
40375
+
40376
+ return false;
40377
+ }
40378
40378
 
40379
40379
  if (nodeNameId .length)
40380
40380
  {
@@ -40404,7 +40404,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40404
40404
 
40405
40405
  if (Grammar .CloseBrace .parse (this))
40406
40406
  {
40407
- if (!this .isInsideProtoDefinition ())
40407
+ if (!this .isInsideProtoDeclaration ())
40408
40408
  baseNode .setup ();
40409
40409
 
40410
40410
  return baseNode;
@@ -40447,7 +40447,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40447
40447
 
40448
40448
  if (Grammar .IS .parse (this))
40449
40449
  {
40450
- if (this .isInsideProtoDefinition ())
40450
+ if (this .isInsideProtoDeclaration ())
40451
40451
  {
40452
40452
  if (this .Id ())
40453
40453
  {
@@ -40455,11 +40455,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40455
40455
 
40456
40456
  try
40457
40457
  {
40458
- var reference = this .getPrototype () .getField (isId);
40458
+ var reference = this .getOuterNode () .getField (isId);
40459
40459
  }
40460
40460
  catch
40461
40461
  {
40462
- this .throwOrWarn (`No such event or field '${isId}' inside PROTO ${this .getPrototype () .getName ()} interface declaration.`);
40462
+ console .warn (`Parser error at line ${this .lineNumber}: No such event or field '${isId}' inside PROTO ${this .getOuterNode () .getName ()} interface declaration.`);
40463
40463
 
40464
40464
  return true;
40465
40465
  }
@@ -40486,10 +40486,10 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40486
40486
  throw new Error (`Couldn't add field '${fieldId}', field already exists with different access type or data type.`);
40487
40487
  }
40488
40488
 
40489
- throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getPrototype () .getName ()}' are incompatible as an IS mapping.`);
40489
+ throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getOuterNode () .getName ()}' are incompatible as an IS mapping.`);
40490
40490
  }
40491
40491
 
40492
- throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getPrototype () .getName ()}' have different types.`);
40492
+ throw new Error (`Field '${fieldId}' and '${reference .getName ()}' in PROTO '${this .getOuterNode () .getName ()}' have different types.`);
40493
40493
  }
40494
40494
 
40495
40495
  throw new Error ("No name give after IS statement.");
@@ -40551,6 +40551,20 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40551
40551
  }
40552
40552
  catch
40553
40553
  {
40554
+ // Parse unknown field value.
40555
+
40556
+ const lineNumber = this .lineNumber;
40557
+
40558
+ if (this .unknownValue ())
40559
+ {
40560
+ if (!this .unknownLevel)
40561
+ {
40562
+ console .warn (`Parser error at line ${lineNumber}: Unknown field '${fieldId}' in class '${baseNode .getTypeName ()}'.`);
40563
+ }
40564
+
40565
+ return true;
40566
+ }
40567
+
40554
40568
  throw new Error (`Unknown field '${fieldId}' in class '${baseNode .getTypeName ()}'.`);
40555
40569
  }
40556
40570
 
@@ -40558,7 +40572,7 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40558
40572
 
40559
40573
  if (Grammar .IS .parse (this))
40560
40574
  {
40561
- if (this .isInsideProtoDefinition ())
40575
+ if (this .isInsideProtoDeclaration ())
40562
40576
  {
40563
40577
  if (this .Id ())
40564
40578
  {
@@ -40566,11 +40580,11 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40566
40580
 
40567
40581
  try
40568
40582
  {
40569
- var reference = this .getPrototype () .getField (isId);
40583
+ var reference = this .getOuterNode () .getField (isId);
40570
40584
  }
40571
40585
  catch
40572
40586
  {
40573
- this .throwOrWarn (`No such event or field '${isId}' inside PROTO ${this .getPrototype () .getName ()}`);
40587
+ console .warn (`Parser error at line ${this .lineNumber}: No such event or field '${isId}' inside PROTO ${this .getOuterNode () .getName ()}`);
40574
40588
 
40575
40589
  return true;
40576
40590
  }
@@ -40583,10 +40597,10 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40583
40597
  return true;
40584
40598
  }
40585
40599
 
40586
- throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getPrototype () .getName ()} are incompatible as an IS mapping.`);
40600
+ throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getOuterNode () .getName ()} are incompatible as an IS mapping.`);
40587
40601
  }
40588
40602
 
40589
- throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getPrototype () .getName ()} have different types.`);
40603
+ throw new Error (`Field '${field .getName ()}' and '${reference .getName ()}' in PROTO ${this .getOuterNode () .getName ()} have different types.`);
40590
40604
  }
40591
40605
 
40592
40606
  throw new Error("No name give after IS statement.");
@@ -40744,10 +40758,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40744
40758
  sfboolValues (field)
40745
40759
  {
40746
40760
  field .length = 0;
40747
- field = field .getTarget ();
40761
+
40762
+ const target = field .getTarget ();
40748
40763
 
40749
40764
  while (this .bool ())
40750
- field .push (this .value);
40765
+ target .push (this .value);
40766
+
40767
+ return field .length !== 0;
40751
40768
  },
40752
40769
  sfcolorValue (field)
40753
40770
  {
@@ -40816,12 +40833,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40816
40833
  sfcolorValues (field)
40817
40834
  {
40818
40835
  field .length = 0;
40819
- field = field .getTarget ();
40820
40836
 
40821
- const value = this .Color3;
40837
+ const
40838
+ target = field .getTarget (),
40839
+ value = this .Color3;
40822
40840
 
40823
40841
  while (this .sfcolorValue (value))
40824
- field .push (value);
40842
+ target .push (value);
40843
+
40844
+ return field .length !== 0;
40825
40845
  },
40826
40846
  sfcolorrgbaValue (field)
40827
40847
  {
@@ -40897,12 +40917,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40897
40917
  sfcolorrgbaValues (field)
40898
40918
  {
40899
40919
  field .length = 0;
40900
- field = field .getTarget ();
40901
40920
 
40902
- const value = this .Color4;
40921
+ const
40922
+ target = field .getTarget (),
40923
+ value = this .Color4;
40903
40924
 
40904
40925
  while (this .sfcolorrgbaValue (value))
40905
- field .push (value);
40926
+ target .push (value);
40927
+
40928
+ return field .length !== 0;
40906
40929
  },
40907
40930
  sfdoubleValue (field)
40908
40931
  {
@@ -40939,12 +40962,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
40939
40962
  sfdoubleValues (field)
40940
40963
  {
40941
40964
  field .length = 0;
40942
- field = field .getTarget ();
40943
40965
 
40944
- const unit = field .getUnit ();
40966
+ const
40967
+ target = field .getTarget (),
40968
+ unit = target .getUnit ();
40945
40969
 
40946
40970
  while (this .double ())
40947
- field .push (this .fromUnit (unit, this .value));
40971
+ target .push (this .fromUnit (unit, this .value));
40972
+
40973
+ return field .length !== 0;
40948
40974
  },
40949
40975
  sfimageValue (field)
40950
40976
  {
@@ -41011,12 +41037,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41011
41037
  sfimageValues (field)
41012
41038
  {
41013
41039
  field .length = 0;
41014
- field = field .getTarget ();
41015
41040
 
41016
- const value = this .SFImage;
41041
+ const
41042
+ target = field .getTarget (),
41043
+ value = this .SFImage;
41017
41044
 
41018
41045
  while (this .sfimageValue (value))
41019
- field .push (value);
41046
+ target .push (value);
41047
+
41048
+ return field .length !== 0;
41020
41049
  },
41021
41050
  sfint32Value (field)
41022
41051
  {
@@ -41053,10 +41082,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41053
41082
  sfint32Values (field)
41054
41083
  {
41055
41084
  field .length = 0;
41056
- field = field .getTarget ();
41085
+
41086
+ const target = field .getTarget ();
41057
41087
 
41058
41088
  while (this .int32 ())
41059
- field .push (this .value);
41089
+ target .push (this .value);
41090
+
41091
+ return field .length !== 0;
41060
41092
  },
41061
41093
  sfmatrix3Value (field)
41062
41094
  {
@@ -41144,12 +41176,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41144
41176
  sfmatrix3Values (field)
41145
41177
  {
41146
41178
  field .length = 0;
41147
- field = field .getTarget ();
41148
41179
 
41149
- const value = this .Matrix3;
41180
+ const
41181
+ target = field .getTarget (),
41182
+ value = this .Matrix3;
41150
41183
 
41151
41184
  while (this .sfmatrix3Value (value))
41152
- field .push (value);
41185
+ target .push (value);
41186
+
41187
+ return field .length !== 0;
41153
41188
  },
41154
41189
  sfmatrix4Value (field)
41155
41190
  {
@@ -41279,12 +41314,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41279
41314
  sfmatrix4Values (field)
41280
41315
  {
41281
41316
  field .length = 0;
41282
- field = field .getTarget ();
41283
41317
 
41284
- const value = this .Matrix4;
41318
+ const
41319
+ target = field .getTarget (),
41320
+ value = this .Matrix4;
41285
41321
 
41286
41322
  while (this .sfmatrix4Value (value))
41287
- field .push (value);
41323
+ target .push (value);
41324
+
41325
+ return field .length !== 0;
41288
41326
  },
41289
41327
  sfnodeValue (field)
41290
41328
  {
@@ -41391,12 +41429,15 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41391
41429
  sfrotationValues (field)
41392
41430
  {
41393
41431
  field .length = 0;
41394
- field = field .getTarget ();
41395
41432
 
41396
- const value = this .Rotation4;
41433
+ const
41434
+ target = field .getTarget (),
41435
+ value = this .Rotation4;
41397
41436
 
41398
41437
  while (this .sfrotationValue (value))
41399
- field .push (value);
41438
+ target .push (value);
41439
+
41440
+ return field .length !== 0;
41400
41441
  },
41401
41442
  sfstringValue (field)
41402
41443
  {
@@ -41433,10 +41474,13 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41433
41474
  sfstringValues (field)
41434
41475
  {
41435
41476
  field .length = 0;
41436
- field = field .getTarget ();
41477
+
41478
+ const target = field .getTarget ();
41437
41479
 
41438
41480
  while (this .string ())
41439
- field .push (this .value);
41481
+ target .push (this .value);
41482
+
41483
+ return field .length !== 0;
41440
41484
  },
41441
41485
  sfvec2Value (field, unit)
41442
41486
  {
@@ -41482,14 +41526,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41482
41526
  sfvec2Values (field)
41483
41527
  {
41484
41528
  field .length = 0;
41485
- field = field .getTarget ();
41486
41529
 
41487
41530
  const
41488
- value = this .Vector2,
41489
- unit = field .getUnit ();
41531
+ target = field .getTarget (),
41532
+ value = this .Vector2,
41533
+ unit = target .getUnit ();
41490
41534
 
41491
41535
  while (this .sfvec2Value (value, unit))
41492
- field .push (value);
41536
+ target .push (value);
41537
+
41538
+ return field .length !== 0;
41493
41539
  },
41494
41540
  sfvec3Value (field, unit)
41495
41541
  {
@@ -41541,14 +41587,16 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41541
41587
  sfvec3Values (field)
41542
41588
  {
41543
41589
  field .length = 0;
41544
- field = field .getTarget ();
41545
41590
 
41546
41591
  const
41547
- value = this .Vector3,
41548
- unit = field .getUnit ();
41592
+ target = field .getTarget (),
41593
+ value = this .Vector3,
41594
+ unit = target .getUnit ();
41549
41595
 
41550
41596
  while (this .sfvec3Value (value, unit))
41551
- field .push (value);
41597
+ target .push (value);
41598
+
41599
+ return field .length !== 0;
41552
41600
  },
41553
41601
  sfvec4Value (field, unit)
41554
41602
  {
@@ -41606,14 +41654,79 @@ Object .assign (Object .setPrototypeOf (VRMLParser .prototype, Parser_X3DParser
41606
41654
  sfvec4Values (field)
41607
41655
  {
41608
41656
  field .length = 0;
41609
- field = field .getTarget ();
41610
41657
 
41611
41658
  const
41612
- value = this .Vector4,
41613
- unit = field .getUnit ();
41659
+ target = field .getTarget (),
41660
+ value = this .Vector4,
41661
+ unit = target .getUnit ();
41614
41662
 
41615
41663
  while (this .sfvec4Value (value, unit))
41616
- field .push (value);
41664
+ target .push (value);
41665
+
41666
+ return field .length !== 0;
41667
+ },
41668
+ unknownValue ()
41669
+ {
41670
+ try
41671
+ {
41672
+ ++ this .unknownLevel;
41673
+
41674
+ if (Grammar .IS .parse (this))
41675
+ {
41676
+ if (this .isInsideProtoDeclaration ())
41677
+ {
41678
+ if (this .Id ())
41679
+ return true;
41680
+ }
41681
+ }
41682
+
41683
+ if (this .mfunknownValue ())
41684
+ return true;
41685
+
41686
+ return false;
41687
+ }
41688
+ finally
41689
+ {
41690
+ -- this .unknownLevel;
41691
+ }
41692
+ },
41693
+ sfunknownValue ()
41694
+ {
41695
+ if (this .sfboolValue (new x_ite_Fields .SFBool ()))
41696
+ return true;
41697
+
41698
+ if (this .sfdoubleValues (new x_ite_Fields .MFFloat ()))
41699
+ return true;
41700
+
41701
+ if (this .sfstringValue (new x_ite_Fields .SFString ()))
41702
+ return true;
41703
+
41704
+ if (this .sfnodeValue (new x_ite_Fields .SFNode ()))
41705
+ return true;
41706
+
41707
+ return false;
41708
+ },
41709
+ mfunknownValue ()
41710
+ {
41711
+ if (this .sfunknownValue ())
41712
+ return true;
41713
+
41714
+ if (Grammar .OpenBracket .parse (this))
41715
+ {
41716
+ this .sfunknownValues ();
41717
+
41718
+ if (Grammar .CloseBracket .parse (this))
41719
+ return true;
41720
+
41721
+ throw new Error ("Expected ']'.");
41722
+ }
41723
+
41724
+ return false;
41725
+ },
41726
+ sfunknownValues ()
41727
+ {
41728
+ while (this .sfunknownValue ())
41729
+ ;
41617
41730
  },
41618
41731
  accessTypeToString (accessType)
41619
41732
  {
@@ -41697,7 +41810,7 @@ const VRMLParser_default_ = VRMLParser;
41697
41810
  x_ite_Namespace .add ("VRMLParser", "x_ite/Parser/VRMLParser", VRMLParser_default_);
41698
41811
  /* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
41699
41812
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
41700
- /* provided dependency */ var XMLParser_$ = __webpack_require__(239);
41813
+ /* provided dependency */ var XMLParser_$ = __webpack_require__(831);
41701
41814
  /*******************************************************************************
41702
41815
  *
41703
41816
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -42192,13 +42305,11 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42192
42305
  case "ProtoBody":
42193
42306
  case "PROTOBODY":
42194
42307
  {
42195
- this .pushPrototype (proto);
42196
42308
  this .pushExecutionContext (proto .getBody ());
42197
42309
  this .pushParent (proto);
42198
42310
  this .protoBodyElement (childNode);
42199
42311
  this .popParent ();
42200
42312
  this .popExecutionContext ();
42201
- this .popPrototype ();
42202
42313
  break;
42203
42314
  }
42204
42315
  default:
@@ -42290,7 +42401,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42290
42401
  },
42291
42402
  isElement (xmlElement)
42292
42403
  {
42293
- if (this .isInsideProtoDefinition ())
42404
+ if (this .isInsideProtoDeclaration ())
42294
42405
  {
42295
42406
  for (const childNode of xmlElement .childNodes)
42296
42407
  this .isElementChild (childNode);
@@ -42325,7 +42436,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42325
42436
 
42326
42437
  const
42327
42438
  node = this .getParent (),
42328
- proto = this .getPrototype ();
42439
+ proto = this .getOuterNode ();
42329
42440
 
42330
42441
  if (!(node instanceof Core_X3DNode))
42331
42442
  return;
@@ -42373,7 +42484,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42373
42484
  this .pushParent (node);
42374
42485
  this .childrenElements (xmlElement);
42375
42486
 
42376
- if (!this .isInsideProtoDefinition ())
42487
+ if (!this .isInsideProtoDeclaration ())
42377
42488
  node .setup ();
42378
42489
 
42379
42490
  this .popParent ();
@@ -42453,7 +42564,7 @@ Object .assign (Object .setPrototypeOf (XMLParser .prototype, Parser_X3DParser .
42453
42564
  this .nodeAttributes (xmlElement, node);
42454
42565
  this .childrenElements (xmlElement);
42455
42566
 
42456
- if (!this .isInsideProtoDefinition ())
42567
+ if (!this .isInsideProtoDeclaration ())
42457
42568
  node .setup ();
42458
42569
 
42459
42570
  this .popParent ();
@@ -43790,7 +43901,7 @@ const URLs_default_ = URLs;
43790
43901
  x_ite_Namespace .add ("URLs", "x_ite/Browser/Networking/URLs", URLs_default_);
43791
43902
  /* harmony default export */ const Networking_URLs = (URLs_default_);
43792
43903
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
43793
- /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(239);
43904
+ /* provided dependency */ var GLTF2Parser_$ = __webpack_require__(831);
43794
43905
  /*******************************************************************************
43795
43906
  *
43796
43907
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47091,7 +47202,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
47091
47202
  x_ite_Namespace .add ("GLTF2Parser", "x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
47092
47203
  /* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
47093
47204
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
47094
- /* provided dependency */ var GLB2Parser_$ = __webpack_require__(239);
47205
+ /* provided dependency */ var GLB2Parser_$ = __webpack_require__(831);
47095
47206
  /*******************************************************************************
47096
47207
  *
47097
47208
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -47243,7 +47354,7 @@ const GLB2Parser_default_ = GLB2Parser;
47243
47354
  x_ite_Namespace .add ("GLB2Parser", "x_ite/Parser/GLB2Parser", GLB2Parser_default_);
47244
47355
  /* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
47245
47356
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
47246
- /* provided dependency */ var OBJParser_$ = __webpack_require__(239);
47357
+ /* provided dependency */ var OBJParser_$ = __webpack_require__(831);
47247
47358
  /*******************************************************************************
47248
47359
  *
47249
47360
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -50598,8 +50709,8 @@ const MatrixStack_default_ = MatrixStack;
50598
50709
  x_ite_Namespace .add ("MatrixStack", "standard/Math/Utility/MatrixStack", MatrixStack_default_);
50599
50710
  /* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
50600
50711
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
50601
- /* provided dependency */ var SVGParser_$ = __webpack_require__(239);
50602
- /* provided dependency */ var libtess = __webpack_require__(488);
50712
+ /* provided dependency */ var SVGParser_$ = __webpack_require__(831);
50713
+ /* provided dependency */ var libtess = __webpack_require__(864);
50603
50714
  /*******************************************************************************
50604
50715
  *
50605
50716
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53367,7 +53478,7 @@ const SVGParser_default_ = SVGParser;
53367
53478
  x_ite_Namespace .add ("SVGParser", "x_ite/Parser/SVGParser", SVGParser_default_);
53368
53479
  /* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
53369
53480
  ;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
53370
- /* provided dependency */ var GoldenGate_$ = __webpack_require__(239);
53481
+ /* provided dependency */ var GoldenGate_$ = __webpack_require__(831);
53371
53482
  /*******************************************************************************
53372
53483
  *
53373
53484
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -53704,7 +53815,7 @@ const Plane3_default_ = Plane3;
53704
53815
  x_ite_Namespace .add ("Plane3", "standard/Math/Geometry/Plane3", Plane3_default_);
53705
53816
  /* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
53706
53817
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
53707
- /* provided dependency */ var Triangle3_libtess = __webpack_require__(488);
53818
+ /* provided dependency */ var Triangle3_libtess = __webpack_require__(864);
53708
53819
  /*******************************************************************************
53709
53820
  *
53710
53821
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -61211,7 +61322,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
61211
61322
  x_ite_Namespace .add ("X3DTexture2DNode", "x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
61212
61323
  /* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
61213
61324
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
61214
- /* provided dependency */ var ImageTexture_$ = __webpack_require__(239);
61325
+ /* provided dependency */ var ImageTexture_$ = __webpack_require__(831);
61215
61326
  /*******************************************************************************
61216
61327
  *
61217
61328
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -65798,7 +65909,7 @@ const X3DWorld_default_ = X3DWorld;
65798
65909
  x_ite_Namespace .add ("X3DWorld", "x_ite/Execution/X3DWorld", X3DWorld_default_);
65799
65910
  /* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
65800
65911
  ;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
65801
- /* provided dependency */ var FileLoader_$ = __webpack_require__(239);
65912
+ /* provided dependency */ var FileLoader_$ = __webpack_require__(831);
65802
65913
  /*******************************************************************************
65803
65914
  *
65804
65915
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -66792,9 +66903,9 @@ function X3DRoute (executionContext, sourceNode, sourceField, destinationNode, d
66792
66903
  Base_X3DObject .call (this, executionContext);
66793
66904
 
66794
66905
  this [X3DRoute_executionContext] = executionContext;
66795
- this [_sourceNode] = Fields_SFNodeCache .get (sourceNode);
66906
+ this [_sourceNode] = sourceNode;
66796
66907
  this [_sourceField] = sourceField;
66797
- this [_destinationNode] = Fields_SFNodeCache .get (destinationNode);
66908
+ this [_destinationNode] = destinationNode;
66798
66909
  this [_destinationField] = destinationField;
66799
66910
 
66800
66911
  // Must connect in every context, to make X3DBaseNode.hasRoutes work.
@@ -66818,7 +66929,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66818
66929
  getSourceNode ()
66819
66930
  {
66820
66931
  /// SAI
66821
- return this [_sourceNode] .getValue ();
66932
+ return this [_sourceNode];
66822
66933
  },
66823
66934
  getSourceField ()
66824
66935
  {
@@ -66828,7 +66939,7 @@ Object .assign (Object .setPrototypeOf (X3DRoute .prototype, Base_X3DObject .pro
66828
66939
  getDestinationNode ()
66829
66940
  {
66830
66941
  /// SAI
66831
- return this [_destinationNode] .getValue ();
66942
+ return this [_destinationNode];
66832
66943
  },
66833
66944
  getDestinationField ()
66834
66945
  {
@@ -66997,7 +67108,7 @@ Object .defineProperties (X3DRoute .prototype,
66997
67108
  {
66998
67109
  get ()
66999
67110
  {
67000
- return this [_sourceNode];
67111
+ return Fields_SFNodeCache .get (this [_sourceNode]);
67001
67112
  },
67002
67113
  enumerable: true,
67003
67114
  },
@@ -67013,7 +67124,7 @@ Object .defineProperties (X3DRoute .prototype,
67013
67124
  {
67014
67125
  get ()
67015
67126
  {
67016
- return this [_destinationNode];
67127
+ return Fields_SFNodeCache .get (this [_destinationNode]);
67017
67128
  },
67018
67129
  enumerable: true,
67019
67130
  },
@@ -67512,6 +67623,10 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67512
67623
  {
67513
67624
  return this [_importedNodes];
67514
67625
  },
67626
+ getUniqueImportName (name)
67627
+ {
67628
+ return getUniqueName (this [_importedNodes], name);
67629
+ },
67515
67630
  getLocalNode (name)
67516
67631
  {
67517
67632
  name = String (name);
@@ -67525,7 +67640,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67525
67640
  const importedNode = this [_importedNodes] .get (name);
67526
67641
 
67527
67642
  if (importedNode)
67528
- return Fields_SFNodeCache .get (importedNode);
67643
+ return importedNode;
67529
67644
 
67530
67645
  throw new Error (`Unknown named or imported node '${name}'.`);
67531
67646
  }
@@ -67706,28 +67821,28 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67706
67821
  },
67707
67822
  addRoute (sourceNode, sourceField, destinationNode, destinationField)
67708
67823
  {
67824
+ let
67825
+ importedSourceNode = sourceNode instanceof Execution_X3DImportedNode ? sourceNode : null,
67826
+ importedDestinationNode = destinationNode instanceof Execution_X3DImportedNode ? destinationNode : null;
67827
+
67709
67828
  sourceNode = Base_X3DCast (Base_X3DConstants .X3DNode, sourceNode, false);
67710
67829
  sourceField = String (sourceField);
67711
67830
  destinationNode = Base_X3DCast (Base_X3DConstants .X3DNode, destinationNode, false);
67712
67831
  destinationField = String (destinationField);
67713
67832
 
67714
- if (!sourceNode)
67833
+ if (!(sourceNode || importedSourceNode))
67715
67834
  throw new Error ("Bad ROUTE specification: source node must be of type X3DNode.");
67716
67835
 
67717
- if (!destinationNode)
67836
+ if (!(destinationNode || importedDestinationNode))
67718
67837
  throw new Error ("Bad ROUTE specification: destination node must be of type X3DNode.");
67719
67838
 
67720
67839
  // Imported nodes handling.
67721
67840
 
67722
- let
67723
- importedSourceNode = sourceNode instanceof Execution_X3DImportedNode ? sourceNode : null,
67724
- importedDestinationNode = destinationNode instanceof Execution_X3DImportedNode ? destinationNode : null;
67725
-
67726
67841
  try
67727
67842
  {
67728
67843
  // If sourceNode is shared node try to find the corresponding X3DImportedNode.
67729
- if (sourceNode .getExecutionContext () !== this)
67730
- importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode)) .getValue ();
67844
+ if (sourceNode && sourceNode .getExecutionContext () !== this)
67845
+ importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode));
67731
67846
  }
67732
67847
  catch
67733
67848
  {
@@ -67737,8 +67852,8 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67737
67852
  try
67738
67853
  {
67739
67854
  // If destinationNode is shared node try to find the corresponding X3DImportedNode.
67740
- if (destinationNode .getExecutionContext () !== this)
67741
- importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode)) .getValue ();
67855
+ if (destinationNode && destinationNode .getExecutionContext () !== this)
67856
+ importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode));
67742
67857
  }
67743
67858
  catch
67744
67859
  {
@@ -67758,21 +67873,17 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67758
67873
  {
67759
67874
  importedDestinationNode .addRoute (sourceNode, sourceField, importedDestinationNode, destinationField);
67760
67875
  }
67761
-
67762
- // If either sourceNode or destinationNode is an X3DImportedNode return here without value.
67763
- if (importedSourceNode === sourceNode || importedDestinationNode === destinationNode)
67764
- return;
67765
-
67766
- // Create route and return.
67767
-
67768
- return this .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
67876
+ else
67877
+ {
67878
+ // Create route and return.
67879
+ return this .addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField);
67880
+ }
67769
67881
  },
67770
67882
  addSimpleRoute (sourceNode, sourceField, destinationNode, destinationField)
67771
67883
  {
67772
- // Source and dest node are here X3DBaseNode.
67773
-
67774
67884
  try
67775
67885
  {
67886
+ // Source and dest node must be here X3DNode, no check here.
67776
67887
  // Private function.
67777
67888
  // Create route and return.
67778
67889
 
@@ -67843,7 +67954,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67843
67954
  {
67844
67955
  // If sourceNode is shared node try to find the corresponding X3DImportedNode.
67845
67956
  if (sourceNode .getValue () .getExecutionContext () !== this)
67846
- importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode)) .getValue ();
67957
+ importedSourceNode = this .getLocalNode (this .getLocalName (sourceNode));
67847
67958
  }
67848
67959
  catch
67849
67960
  {
@@ -67854,7 +67965,7 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
67854
67965
  {
67855
67966
  // If destinationNode is shared node try to find the corresponding X3DImportedNode.
67856
67967
  if (destinationNode .getValue () .getExecutionContext () !== this)
67857
- importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode)) .getValue ();
67968
+ importedDestinationNode = this .getLocalNode (this .getLocalName (destinationNode));
67858
67969
  }
67859
67970
  catch
67860
67971
  {
@@ -89488,7 +89599,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
89488
89599
  x_ite_Namespace .add ("X3DShaderNode", "x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
89489
89600
  /* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
89490
89601
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
89491
- /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(239);
89602
+ /* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(831);
89492
89603
  /*******************************************************************************
89493
89604
  *
89494
89605
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95129,7 +95240,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
95129
95240
  x_ite_Namespace .add ("ShaderCompiler", "x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
95130
95241
  /* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
95131
95242
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
95132
- /* provided dependency */ var ShaderPart_$ = __webpack_require__(239);
95243
+ /* provided dependency */ var ShaderPart_$ = __webpack_require__(831);
95133
95244
  /*******************************************************************************
95134
95245
  *
95135
95246
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -95786,7 +95897,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
95786
95897
  x_ite_Namespace .add ("X3DAppearanceNode", "x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
95787
95898
  /* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
95788
95899
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
95789
- /* provided dependency */ var Appearance_$ = __webpack_require__(239);
95900
+ /* provided dependency */ var Appearance_$ = __webpack_require__(831);
95790
95901
  /*******************************************************************************
95791
95902
  *
95792
95903
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99204,7 +99315,7 @@ const Components_Shape_default_ = {
99204
99315
  x_ite_Namespace .add ("Shape", "x_ite/Components/Shape", Components_Shape_default_);
99205
99316
  /* harmony default export */ const Components_Shape = (Components_Shape_default_);
99206
99317
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundProcessingNode.js
99207
- /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(239);
99318
+ /* provided dependency */ var X3DSoundProcessingNode_$ = __webpack_require__(831);
99208
99319
  /*******************************************************************************
99209
99320
  *
99210
99321
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -99844,7 +99955,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
99844
99955
  x_ite_Namespace .add ("X3DSoundSourceNode", "x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
99845
99956
  /* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
99846
99957
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
99847
- /* provided dependency */ var AudioClip_$ = __webpack_require__(239);
99958
+ /* provided dependency */ var AudioClip_$ = __webpack_require__(831);
99848
99959
  /*******************************************************************************
99849
99960
  *
99850
99961
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -100146,7 +100257,7 @@ const X3DSoundNode_default_ = X3DSoundNode;
100146
100257
  x_ite_Namespace .add ("X3DSoundNode", "x_ite/Components/Sound/X3DSoundNode", X3DSoundNode_default_);
100147
100258
  /* harmony default export */ const Sound_X3DSoundNode = (X3DSoundNode_default_);
100148
100259
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/X3DSoundDestinationNode.js
100149
- /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(239);
100260
+ /* provided dependency */ var X3DSoundDestinationNode_$ = __webpack_require__(831);
100150
100261
  /*******************************************************************************
100151
100262
  *
100152
100263
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -101796,7 +101907,7 @@ const ListenerPointSource_default_ = ListenerPointSource;
101796
101907
  x_ite_Namespace .add ("ListenerPointSource", "x_ite/Components/Sound/ListenerPointSource", ListenerPointSource_default_);
101797
101908
  /* harmony default export */ const Sound_ListenerPointSource = (ListenerPointSource_default_);
101798
101909
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/MicrophoneSource.js
101799
- /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(239);
101910
+ /* provided dependency */ var MicrophoneSource_$ = __webpack_require__(831);
101800
101911
  /*******************************************************************************
101801
101912
  *
101802
101913
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -103465,8 +103576,8 @@ const GifMedia_default_ = GifMedia;
103465
103576
  x_ite_Namespace .add ("GifMedia", "x_ite/Browser/Texturing/GifMedia", GifMedia_default_);
103466
103577
  /* harmony default export */ const Texturing_GifMedia = (GifMedia_default_);
103467
103578
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
103468
- /* provided dependency */ var MovieTexture_$ = __webpack_require__(239);
103469
- /* provided dependency */ var SuperGif = __webpack_require__(899);
103579
+ /* provided dependency */ var MovieTexture_$ = __webpack_require__(831);
103580
+ /* provided dependency */ var SuperGif = __webpack_require__(698);
103470
103581
  /*******************************************************************************
103471
103582
  *
103472
103583
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -106741,7 +106852,7 @@ const gettext_default_ = gettext;
106741
106852
  x_ite_Namespace .add ("gettext", "locale/gettext", gettext_default_);
106742
106853
  /* harmony default export */ const locale_gettext = (gettext_default_);
106743
106854
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
106744
- /* provided dependency */ var BrowserTimings_$ = __webpack_require__(239);
106855
+ /* provided dependency */ var BrowserTimings_$ = __webpack_require__(831);
106745
106856
  /*******************************************************************************
106746
106857
  *
106747
106858
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107171,7 +107282,7 @@ const TextureQuality_default_ = TextureQuality;
107171
107282
  x_ite_Namespace .add ("TextureQuality", "x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
107172
107283
  /* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
107173
107284
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
107174
- /* provided dependency */ var BrowserOptions_$ = __webpack_require__(239);
107285
+ /* provided dependency */ var BrowserOptions_$ = __webpack_require__(831);
107175
107286
  /*******************************************************************************
107176
107287
  *
107177
107288
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107761,7 +107872,7 @@ const RenderingProperties_default_ = RenderingProperties;
107761
107872
  x_ite_Namespace .add ("RenderingProperties", "x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
107762
107873
  /* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
107763
107874
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
107764
- /* provided dependency */ var Notification_$ = __webpack_require__(239);
107875
+ /* provided dependency */ var Notification_$ = __webpack_require__(831);
107765
107876
  /*******************************************************************************
107766
107877
  *
107767
107878
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -107884,8 +107995,8 @@ const Notification_default_ = Notification;
107884
107995
  x_ite_Namespace .add ("Notification", "x_ite/Browser/Core/Notification", Notification_default_);
107885
107996
  /* harmony default export */ const Core_Notification = (Notification_default_);
107886
107997
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
107887
- /* provided dependency */ var jquery_fullscreen = __webpack_require__(473);
107888
- /* provided dependency */ var ContextMenu_$ = __webpack_require__(239);
107998
+ /* provided dependency */ var jquery_fullscreen = __webpack_require__(561);
107999
+ /* provided dependency */ var ContextMenu_$ = __webpack_require__(831);
107889
108000
  /*******************************************************************************
107890
108001
  *
107891
108002
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -109129,26 +109240,32 @@ x_ite_Namespace .add ("UnitInfoArray", "x_ite/Configuration/UnitInfoArray", Unit
109129
109240
 
109130
109241
 
109131
109242
  const
109132
- X3DExportedNode_exportedName = Symbol (),
109133
- _localNode = Symbol ();
109243
+ X3DExportedNode_executionContext = Symbol (),
109244
+ X3DExportedNode_exportedName = Symbol (),
109245
+ _localNode = Symbol ();
109134
109246
 
109135
- function X3DExportedNode (exportedName, localNode)
109247
+ function X3DExportedNode (executionContext, exportedName, localNode)
109136
109248
  {
109137
109249
  Base_X3DObject .call (this);
109138
109250
 
109139
- this [X3DExportedNode_exportedName] = exportedName;
109140
- this [_localNode] = Fields_SFNodeCache .get (localNode);
109251
+ this [X3DExportedNode_executionContext] = executionContext;
109252
+ this [X3DExportedNode_exportedName] = exportedName;
109253
+ this [_localNode] = localNode;
109141
109254
  }
109142
109255
 
109143
109256
  Object .assign (Object .setPrototypeOf (X3DExportedNode .prototype, Base_X3DObject .prototype),
109144
109257
  {
109258
+ getExecutionContext ()
109259
+ {
109260
+ return this [X3DExportedNode_executionContext];
109261
+ },
109145
109262
  getExportedName ()
109146
109263
  {
109147
109264
  return this [X3DExportedNode_exportedName];
109148
109265
  },
109149
109266
  getLocalNode ()
109150
109267
  {
109151
- return this [_localNode] .getValue ();
109268
+ return this [_localNode];
109152
109269
  },
109153
109270
  toVRMLStream (generator)
109154
109271
  {
@@ -109263,7 +109380,7 @@ Object .defineProperties (X3DExportedNode .prototype,
109263
109380
  {
109264
109381
  get ()
109265
109382
  {
109266
- return this [_localNode];
109383
+ return Fields_SFNodeCache .get (this [_localNode]);
109267
109384
  },
109268
109385
  enumerable: true,
109269
109386
  },
@@ -109717,7 +109834,7 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
109717
109834
 
109718
109835
  this .removeExportedNode (exportedName);
109719
109836
 
109720
- const exportedNode = new Execution_X3DExportedNode (exportedName, node);
109837
+ const exportedNode = new Execution_X3DExportedNode (this, exportedName, node);
109721
109838
 
109722
109839
  this [_exportedNodes] .add (exportedName, exportedNode);
109723
109840
 
@@ -110633,7 +110750,7 @@ const DataStorage_default_ = DataStorage;
110633
110750
  x_ite_Namespace .add ("DataStorage", "standard/Utility/DataStorage", DataStorage_default_);
110634
110751
  /* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
110635
110752
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
110636
- /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(239);
110753
+ /* provided dependency */ var X3DCoreContext_$ = __webpack_require__(831);
110637
110754
  /*******************************************************************************
110638
110755
  *
110639
110756
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -110844,10 +110961,6 @@ Object .assign (X3DCoreContext .prototype,
110844
110961
  {
110845
110962
  return this [_instanceId];
110846
110963
  },
110847
- isStrict ()
110848
- {
110849
- return false;
110850
- },
110851
110964
  getElement ()
110852
110965
  {
110853
110966
  return this [_element];
@@ -113160,8 +113273,8 @@ const X3DViewer_default_ = X3DViewer;
113160
113273
  x_ite_Namespace .add ("X3DViewer", "x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
113161
113274
  /* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
113162
113275
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
113163
- /* provided dependency */ var jquery_mousewheel = __webpack_require__(360);
113164
- /* provided dependency */ var ExamineViewer_$ = __webpack_require__(239);
113276
+ /* provided dependency */ var jquery_mousewheel = __webpack_require__(471);
113277
+ /* provided dependency */ var ExamineViewer_$ = __webpack_require__(831);
113165
113278
  /*******************************************************************************
113166
113279
  *
113167
113280
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -114033,8 +114146,8 @@ const ExamineViewer_default_ = ExamineViewer;
114033
114146
  x_ite_Namespace .add ("ExamineViewer", "x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
114034
114147
  /* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
114035
114148
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
114036
- /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(360);
114037
- /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(239);
114149
+ /* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(471);
114150
+ /* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(831);
114038
114151
  /*******************************************************************************
114039
114152
  *
114040
114153
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115043,8 +115156,8 @@ const FlyViewer_default_ = FlyViewer;
115043
115156
  x_ite_Namespace .add ("FlyViewer", "x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
115044
115157
  /* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
115045
115158
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
115046
- /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(360);
115047
- /* provided dependency */ var PlaneViewer_$ = __webpack_require__(239);
115159
+ /* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(471);
115160
+ /* provided dependency */ var PlaneViewer_$ = __webpack_require__(831);
115048
115161
  /*******************************************************************************
115049
115162
  *
115050
115163
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -115375,8 +115488,8 @@ const NoneViewer_default_ = NoneViewer;
115375
115488
  x_ite_Namespace .add ("NoneViewer", "x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
115376
115489
  /* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
115377
115490
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
115378
- /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(360);
115379
- /* provided dependency */ var LookAtViewer_$ = __webpack_require__(239);
115491
+ /* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(471);
115492
+ /* provided dependency */ var LookAtViewer_$ = __webpack_require__(831);
115380
115493
  /*******************************************************************************
115381
115494
  *
115382
115495
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -116515,8 +116628,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
116515
116628
  x_ite_Namespace .add ("X3DPickingContext", "x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
116516
116629
  /* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
116517
116630
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
116518
- /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(360);
116519
- /* provided dependency */ var PointingDevice_$ = __webpack_require__(239);
116631
+ /* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(471);
116632
+ /* provided dependency */ var PointingDevice_$ = __webpack_require__(831);
116520
116633
  /*******************************************************************************
116521
116634
  *
116522
116635
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -117795,7 +117908,7 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
117795
117908
  x_ite_Namespace .add ("MultiSampleFrameBuffer", "x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
117796
117909
  /* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
117797
117910
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
117798
- /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(239);
117911
+ /* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(831);
117799
117912
  /*******************************************************************************
117800
117913
  *
117801
117914
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -118698,7 +118811,7 @@ const X3DSoundContext_default_ = X3DSoundContext;
118698
118811
  x_ite_Namespace .add ("X3DSoundContext", "x_ite/Browser/Sound/X3DSoundContext", X3DSoundContext_default_);
118699
118812
  /* harmony default export */ const Sound_X3DSoundContext = (X3DSoundContext_default_);
118700
118813
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/Texturing/KTXDecoder.js
118701
- /* provided dependency */ var KTXDecoder_$ = __webpack_require__(239);
118814
+ /* provided dependency */ var KTXDecoder_$ = __webpack_require__(831);
118702
118815
  const KTXDecoder_default_ = class KTXDecoder
118703
118816
  {
118704
118817
  constructor (gl, externalKtxlib, scriptDir)
@@ -120251,7 +120364,7 @@ const Components_default_ = Components;
120251
120364
  x_ite_Namespace .add ("Components", "x_ite/Components", Components_default_);
120252
120365
  /* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
120253
120366
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
120254
- /* provided dependency */ var DOMIntegration_$ = __webpack_require__(239);
120367
+ /* provided dependency */ var DOMIntegration_$ = __webpack_require__(831);
120255
120368
  /*******************************************************************************
120256
120369
  * MIT License
120257
120370
  *
@@ -120689,13 +120802,14 @@ x_ite_Namespace .add ("DOMIntegration", "x_ite/Browser/DOMIntegration", DOMInteg
120689
120802
 
120690
120803
 
120691
120804
 
120805
+
120692
120806
  function ProfileInfo (name, title, providerURL, components)
120693
120807
  {
120694
120808
  Object .defineProperties (this,
120695
120809
  {
120696
120810
  name: { value: name, enumerable: true },
120697
120811
  title: { value: title, enumerable: true },
120698
- providerURL: { value: providerURL, enumerable: true },
120812
+ providerURL: { value: providerURL || Networking_URLs .getProviderURL (), enumerable: true },
120699
120813
  components: { value: components, enumerable: true },
120700
120814
  });
120701
120815
  }
@@ -121190,13 +121304,11 @@ x_ite_Namespace .add ("SupportedComponents", "x_ite/Configuration/SupportedCompo
121190
121304
 
121191
121305
 
121192
121306
 
121193
-
121194
121307
  const SupportedProfiles = new Configuration_ProfileInfoArray ();
121195
121308
 
121196
121309
  SupportedProfiles .add ("CADInterchange",
121197
121310
  {
121198
121311
  title: "Computer-Aided Design (CAD) interchange",
121199
- providerURL: Networking_URLs .getProviderURL (),
121200
121312
  components: [
121201
121313
  Configuration_SupportedComponents .get ("CADGeometry"),
121202
121314
  Configuration_SupportedComponents .get ("Core"),
@@ -121214,7 +121326,6 @@ SupportedProfiles .add ("CADInterchange",
121214
121326
  SupportedProfiles .add ("Core",
121215
121327
  {
121216
121328
  title: "Core",
121217
- providerURL: Networking_URLs .getProviderURL (),
121218
121329
  components: [
121219
121330
  Configuration_SupportedComponents .get ("Core"),
121220
121331
  ],
@@ -121223,7 +121334,6 @@ SupportedProfiles .add ("Core",
121223
121334
  SupportedProfiles .add ("Full",
121224
121335
  {
121225
121336
  title: "Full",
121226
- providerURL: Networking_URLs .getProviderURL (),
121227
121337
  components: [
121228
121338
  //SupportedComponents .get ("Annotation"),
121229
121339
  Configuration_SupportedComponents .get ("CADGeometry"),
@@ -121268,7 +121378,6 @@ SupportedProfiles .add ("Full",
121268
121378
  SupportedProfiles .add ("Immersive",
121269
121379
  {
121270
121380
  title: "Immersive",
121271
- providerURL: Networking_URLs .getProviderURL (),
121272
121381
  components: [
121273
121382
  Configuration_SupportedComponents .get ("Core"),
121274
121383
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121296,7 +121405,6 @@ SupportedProfiles .add ("Immersive",
121296
121405
  SupportedProfiles .add ("Interactive",
121297
121406
  {
121298
121407
  title: "Interactive",
121299
- providerURL: Networking_URLs .getProviderURL (),
121300
121408
  components: [
121301
121409
  Configuration_SupportedComponents .get ("Core"),
121302
121410
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121320,7 +121428,6 @@ SupportedProfiles .add ("Interactive",
121320
121428
  SupportedProfiles .add ("Interchange",
121321
121429
  {
121322
121430
  title: "Interchange",
121323
- providerURL: Networking_URLs .getProviderURL (),
121324
121431
  components: [
121325
121432
  Configuration_SupportedComponents .get ("Core"),
121326
121433
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121340,7 +121447,6 @@ SupportedProfiles .add ("Interchange",
121340
121447
  SupportedProfiles .add ("MedicalInterchange",
121341
121448
  {
121342
121449
  title: "Medical interchange",
121343
- providerURL: Networking_URLs .getProviderURL (),
121344
121450
  components: [
121345
121451
  Configuration_SupportedComponents .get ("Core"),
121346
121452
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121365,7 +121471,6 @@ SupportedProfiles .add ("MedicalInterchange",
121365
121471
  SupportedProfiles .add ("MPEG-4",
121366
121472
  {
121367
121473
  title: "MPEG-4 interactive",
121368
- providerURL: Networking_URLs .getProviderURL (),
121369
121474
  components: [
121370
121475
  Configuration_SupportedComponents .get ("Core"),
121371
121476
  Configuration_SupportedComponents .get ("EnvironmentalEffects"),
@@ -121390,7 +121495,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
121390
121495
  x_ite_Namespace .add ("SupportedProfiles", "x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
121391
121496
  /* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
121392
121497
  ;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
121393
- /* provided dependency */ var X3DBrowser_$ = __webpack_require__(239);
121498
+ /* provided dependency */ var X3DBrowser_$ = __webpack_require__(831);
121394
121499
  /*******************************************************************************
121395
121500
  *
121396
121501
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122471,7 +122576,7 @@ const X3DBrowser_default_ = X3DBrowser;
122471
122576
  x_ite_Namespace .add ("X3DBrowser", "x_ite/Browser/X3DBrowser", X3DBrowser_default_);
122472
122577
  /* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
122473
122578
  ;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
122474
- /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(239);
122579
+ /* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(831);
122475
122580
  /*******************************************************************************
122476
122581
  *
122477
122582
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122603,8 +122708,8 @@ const X3DCanvasElement_default_ = X3DCanvasElement;
122603
122708
  x_ite_Namespace .add ("X3DCanvasElement", "x_ite/X3DCanvasElement", X3DCanvasElement_default_);
122604
122709
  /* harmony default export */ const x_ite_X3DCanvasElement = (X3DCanvasElement_default_);
122605
122710
  ;// CONCATENATED MODULE: ./src/lib/jquery.js
122606
- /* provided dependency */ var jquery_$ = __webpack_require__(239);
122607
- /* provided dependency */ var pako = __webpack_require__(102);
122711
+ /* provided dependency */ var jquery_$ = __webpack_require__(831);
122712
+ /* provided dependency */ var pako = __webpack_require__(295);
122608
122713
  Object .assign (jquery_$,
122609
122714
  {
122610
122715
  decodeText (input)
@@ -122681,14 +122786,14 @@ const jquery_default_ = jquery_$;
122681
122786
  x_ite_Namespace .add ("jquery", "lib/jquery", jquery_default_);
122682
122787
  /* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
122683
122788
  ;// CONCATENATED MODULE: ./src/lib/libtess.js
122684
- /* provided dependency */ var libtess_libtess = __webpack_require__(488);
122789
+ /* provided dependency */ var libtess_libtess = __webpack_require__(864);
122685
122790
  const libtess_default_ = libtess_libtess;
122686
122791
  ;
122687
122792
 
122688
122793
  x_ite_Namespace .add ("libtess", "lib/libtess", libtess_default_);
122689
122794
  /* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
122690
122795
  ;// CONCATENATED MODULE: ./src/x_ite/X3D.js
122691
- /* provided dependency */ var X3D_$ = __webpack_require__(239);
122796
+ /* provided dependency */ var X3D_$ = __webpack_require__(831);
122692
122797
  /*******************************************************************************
122693
122798
  *
122694
122799
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -122996,7 +123101,7 @@ Object .assign (X3D,
122996
123101
 
122997
123102
  // Assign X3D to global namespace.
122998
123103
 
122999
- window [Symbol .for ("X_ITE.X3D-9.1.10")] = x_ite_X3D;
123104
+ window [Symbol .for ("X_ITE.X3D-9.1.11")] = x_ite_X3D;
123000
123105
 
123001
123106
  customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
123002
123107