x_ite 8.11.13 → 8.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +13 -13
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +27 -27
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +19 -19
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +23 -23
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +26 -26
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +24 -24
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +23 -23
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +17 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +37 -37
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +25 -25
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjector.js +14 -14
- package/dist/assets/components/TextureProjector.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +32 -32
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +18 -18
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +9 -9
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +168 -102
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v8.11.
|
|
1
|
+
/* X_ITE v8.11.14 */(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = factory();
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
return /******/ (() => { // webpackBootstrap
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
|
-
/***/
|
|
14
|
+
/***/ 194:
|
|
15
15
|
/***/ (function(module, exports, __webpack_require__) {
|
|
16
16
|
|
|
17
17
|
"use strict";
|
|
18
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
18
|
+
/* provided dependency */ var jQuery = __webpack_require__(69);
|
|
19
19
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
20
20
|
|
|
21
21
|
/**
|
|
@@ -387,10 +387,10 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
|
387
387
|
|
|
388
388
|
/***/ }),
|
|
389
389
|
|
|
390
|
-
/***/
|
|
390
|
+
/***/ 117:
|
|
391
391
|
/***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
|
|
392
392
|
|
|
393
|
-
/* provided dependency */ var jQuery = __webpack_require__(
|
|
393
|
+
/* provided dependency */ var jQuery = __webpack_require__(69);
|
|
394
394
|
/**
|
|
395
395
|
* @preserve jquery.fullscreen 1.1.5
|
|
396
396
|
* https://github.com/code-lts/jquery-fullscreen-plugin
|
|
@@ -586,7 +586,7 @@ installFullScreenHandlers();
|
|
|
586
586
|
|
|
587
587
|
/***/ }),
|
|
588
588
|
|
|
589
|
-
/***/
|
|
589
|
+
/***/ 387:
|
|
590
590
|
/***/ ((module, exports, __webpack_require__) => {
|
|
591
591
|
|
|
592
592
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -600,7 +600,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
600
600
|
(function (factory) {
|
|
601
601
|
if ( true ) {
|
|
602
602
|
// AMD. Register as an anonymous module.
|
|
603
|
-
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(
|
|
603
|
+
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(69)], __WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
604
604
|
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
605
605
|
(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),
|
|
606
606
|
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
@@ -811,7 +811,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
811
811
|
|
|
812
812
|
/***/ }),
|
|
813
813
|
|
|
814
|
-
/***/
|
|
814
|
+
/***/ 69:
|
|
815
815
|
/***/ (function(module, exports) {
|
|
816
816
|
|
|
817
817
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
@@ -11523,7 +11523,7 @@ return jQuery;
|
|
|
11523
11523
|
|
|
11524
11524
|
/***/ }),
|
|
11525
11525
|
|
|
11526
|
-
/***/
|
|
11526
|
+
/***/ 183:
|
|
11527
11527
|
/***/ ((module) => {
|
|
11528
11528
|
|
|
11529
11529
|
/**
|
|
@@ -16302,7 +16302,7 @@ if (true) {
|
|
|
16302
16302
|
|
|
16303
16303
|
/***/ }),
|
|
16304
16304
|
|
|
16305
|
-
/***/
|
|
16305
|
+
/***/ 780:
|
|
16306
16306
|
/***/ (function(__unused_webpack_module, exports) {
|
|
16307
16307
|
|
|
16308
16308
|
|
|
@@ -19547,7 +19547,7 @@ if (true) {
|
|
|
19547
19547
|
|
|
19548
19548
|
/***/ }),
|
|
19549
19549
|
|
|
19550
|
-
/***/
|
|
19550
|
+
/***/ 548:
|
|
19551
19551
|
/***/ (function(module, exports) {
|
|
19552
19552
|
|
|
19553
19553
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -34481,7 +34481,7 @@ x_ite_Namespace .set ("x_ite/Base/X3DBaseNode", X3DBaseNode_default_);
|
|
|
34481
34481
|
*
|
|
34482
34482
|
******************************************************************************/
|
|
34483
34483
|
|
|
34484
|
-
const VERSION_default_ = "8.11.
|
|
34484
|
+
const VERSION_default_ = "8.11.14";
|
|
34485
34485
|
;
|
|
34486
34486
|
|
|
34487
34487
|
x_ite_Namespace .set ("x_ite/Browser/VERSION", VERSION_default_);
|
|
@@ -38271,7 +38271,7 @@ const X3DProtoDeclarationNode_default_ = X3DProtoDeclarationNode;
|
|
|
38271
38271
|
x_ite_Namespace .set ("x_ite/Prototype/X3DProtoDeclarationNode", X3DProtoDeclarationNode_default_);
|
|
38272
38272
|
/* harmony default export */ const Prototype_X3DProtoDeclarationNode = (X3DProtoDeclarationNode_default_);
|
|
38273
38273
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/X3DParser.js
|
|
38274
|
-
/* provided dependency */ var $ = __webpack_require__(
|
|
38274
|
+
/* provided dependency */ var $ = __webpack_require__(69);
|
|
38275
38275
|
/*******************************************************************************
|
|
38276
38276
|
*
|
|
38277
38277
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -39095,7 +39095,7 @@ const X3DProtoDeclaration_default_ = X3DProtoDeclaration;
|
|
|
39095
39095
|
x_ite_Namespace .set ("x_ite/Prototype/X3DProtoDeclaration", X3DProtoDeclaration_default_);
|
|
39096
39096
|
/* harmony default export */ const Prototype_X3DProtoDeclaration = (X3DProtoDeclaration_default_);
|
|
39097
39097
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/VRMLParser.js
|
|
39098
|
-
/* provided dependency */ var VRMLParser_$ = __webpack_require__(
|
|
39098
|
+
/* provided dependency */ var VRMLParser_$ = __webpack_require__(69);
|
|
39099
39099
|
/*******************************************************************************
|
|
39100
39100
|
*
|
|
39101
39101
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -41649,7 +41649,7 @@ const VRMLParser_default_ = VRMLParser;
|
|
|
41649
41649
|
x_ite_Namespace .set ("x_ite/Parser/VRMLParser", VRMLParser_default_);
|
|
41650
41650
|
/* harmony default export */ const Parser_VRMLParser = (VRMLParser_default_);
|
|
41651
41651
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/XMLParser.js
|
|
41652
|
-
/* provided dependency */ var XMLParser_$ = __webpack_require__(
|
|
41652
|
+
/* provided dependency */ var XMLParser_$ = __webpack_require__(69);
|
|
41653
41653
|
/*******************************************************************************
|
|
41654
41654
|
*
|
|
41655
41655
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43660,7 +43660,7 @@ const URLs_default_ = URLs;
|
|
|
43660
43660
|
x_ite_Namespace .set ("x_ite/Browser/Networking/URLs", URLs_default_);
|
|
43661
43661
|
/* harmony default export */ const Networking_URLs = (URLs_default_);
|
|
43662
43662
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLTF2Parser.js
|
|
43663
|
-
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(
|
|
43663
|
+
/* provided dependency */ var GLTF2Parser_$ = __webpack_require__(69);
|
|
43664
43664
|
/*******************************************************************************
|
|
43665
43665
|
*
|
|
43666
43666
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -43746,6 +43746,7 @@ function GLTF2Parser (scene)
|
|
|
43746
43746
|
this .accessors = [ ];
|
|
43747
43747
|
this .samplers = [ ];
|
|
43748
43748
|
this .materials = [ ];
|
|
43749
|
+
this .defaultAppearance = [ ];
|
|
43749
43750
|
this .textureTransformNodes = [ ];
|
|
43750
43751
|
this .meshes = [ ];
|
|
43751
43752
|
this .cameras = [ ];
|
|
@@ -43941,12 +43942,10 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
43941
43942
|
{
|
|
43942
43943
|
case "KHR_texture_transform":
|
|
43943
43944
|
{
|
|
43944
|
-
|
|
43945
|
-
|
|
43946
|
-
|
|
43947
|
-
|
|
43948
|
-
catch
|
|
43949
|
-
{ }
|
|
43945
|
+
const component = browser .getComponent ("Texturing3D", 2);
|
|
43946
|
+
|
|
43947
|
+
if (!scene .hasComponent (component))
|
|
43948
|
+
scene .addComponent (component);
|
|
43950
43949
|
|
|
43951
43950
|
break;
|
|
43952
43951
|
}
|
|
@@ -44404,10 +44403,10 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44404
44403
|
|
|
44405
44404
|
this .materials = materials;
|
|
44406
44405
|
},
|
|
44407
|
-
materialObject (material)
|
|
44406
|
+
materialObject ({ material, mode })
|
|
44408
44407
|
{
|
|
44409
44408
|
if (!(material instanceof Object))
|
|
44410
|
-
return this .getDefaultAppearance ();
|
|
44409
|
+
return this .getDefaultAppearance (mode);
|
|
44411
44410
|
|
|
44412
44411
|
if (material .appearanceNode)
|
|
44413
44412
|
return material .appearanceNode;
|
|
@@ -44422,7 +44421,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44422
44421
|
const
|
|
44423
44422
|
scene = this .getExecutionContext (),
|
|
44424
44423
|
appearanceNode = scene .createNode ("Appearance", false),
|
|
44425
|
-
materialNode = this .createMaterial (material),
|
|
44424
|
+
materialNode = this .refineMaterial (mode, this .createMaterial (material, mode)),
|
|
44426
44425
|
name = this .sanitizeName (material .name);
|
|
44427
44426
|
|
|
44428
44427
|
const emissiveFactor = new Numbers_Color3 (0, 0, 0);
|
|
@@ -44474,6 +44473,47 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44474
44473
|
|
|
44475
44474
|
return material .appearanceNode = appearanceNode;
|
|
44476
44475
|
},
|
|
44476
|
+
refineMaterial (mode, materialNode)
|
|
44477
|
+
{
|
|
44478
|
+
if (mode > 3)
|
|
44479
|
+
return materialNode
|
|
44480
|
+
|
|
44481
|
+
switch (materialNode .getTypeName ())
|
|
44482
|
+
{
|
|
44483
|
+
default:
|
|
44484
|
+
{
|
|
44485
|
+
return materialNode;
|
|
44486
|
+
}
|
|
44487
|
+
case "Material":
|
|
44488
|
+
{
|
|
44489
|
+
const
|
|
44490
|
+
scene = this .getExecutionContext (),
|
|
44491
|
+
unlitMaterialNode = scene .createNode ("UnlitMaterial", false);
|
|
44492
|
+
|
|
44493
|
+
unlitMaterialNode ._emissiveColor = materialNode ._diffuseColor;
|
|
44494
|
+
unlitMaterialNode ._emissiveTextureMapping = materialNode ._diffuseTextureMapping;
|
|
44495
|
+
unlitMaterialNode ._emissiveTexture = materialNode ._diffuseTexture;
|
|
44496
|
+
|
|
44497
|
+
materialNode .dispose ();
|
|
44498
|
+
|
|
44499
|
+
return unlitMaterialNode;
|
|
44500
|
+
}
|
|
44501
|
+
case "PhysicalMaterial":
|
|
44502
|
+
{
|
|
44503
|
+
const
|
|
44504
|
+
scene = this .getExecutionContext (),
|
|
44505
|
+
unlitMaterialNode = scene .createNode ("UnlitMaterial", false);
|
|
44506
|
+
|
|
44507
|
+
unlitMaterialNode ._emissiveColor = materialNode ._baseColor;
|
|
44508
|
+
unlitMaterialNode ._emissiveTextureMapping = materialNode ._baseTextureMapping;
|
|
44509
|
+
unlitMaterialNode ._emissiveTexture = materialNode ._baseTexture;
|
|
44510
|
+
|
|
44511
|
+
materialNode .dispose ();
|
|
44512
|
+
|
|
44513
|
+
return unlitMaterialNode;
|
|
44514
|
+
}
|
|
44515
|
+
}
|
|
44516
|
+
},
|
|
44477
44517
|
texCoordIndices (key, object, indices = new Set ())
|
|
44478
44518
|
{
|
|
44479
44519
|
if (!(object instanceof Object))
|
|
@@ -44487,23 +44527,23 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
44487
44527
|
|
|
44488
44528
|
return indices;
|
|
44489
44529
|
},
|
|
44490
|
-
createMaterial (material)
|
|
44530
|
+
createMaterial (material, mode)
|
|
44491
44531
|
{
|
|
44492
44532
|
const materials = [
|
|
44493
|
-
this .pbrMetallicRoughnessObject
|
|
44533
|
+
this .pbrMetallicRoughnessObject .bind (this, material .pbrMetallicRoughness),
|
|
44494
44534
|
this .pbrSpecularGlossinessObject .bind (this, material .extensions ?.KHR_materials_pbrSpecularGlossiness),
|
|
44495
|
-
this .pbrMetallicRoughnessObject
|
|
44535
|
+
this .pbrMetallicRoughnessObject .bind (this, { }),
|
|
44496
44536
|
];
|
|
44497
44537
|
|
|
44498
44538
|
for (const material of materials)
|
|
44499
44539
|
{
|
|
44500
|
-
const materialNode = material ();
|
|
44540
|
+
const materialNode = material (mode);
|
|
44501
44541
|
|
|
44502
44542
|
if (materialNode)
|
|
44503
44543
|
return materialNode;
|
|
44504
44544
|
}
|
|
44505
44545
|
},
|
|
44506
|
-
pbrMetallicRoughnessObject (pbrMetallicRoughness)
|
|
44546
|
+
pbrMetallicRoughnessObject (pbrMetallicRoughness, mode)
|
|
44507
44547
|
{
|
|
44508
44548
|
if (!(pbrMetallicRoughness instanceof Object))
|
|
44509
44549
|
return null;
|
|
@@ -45563,7 +45603,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45563
45603
|
const
|
|
45564
45604
|
scene = this .getExecutionContext (),
|
|
45565
45605
|
shapeNode = scene .createNode ("Shape", false),
|
|
45566
|
-
appearanceNode = this .materialObject (primitive
|
|
45606
|
+
appearanceNode = this .materialObject (primitive),
|
|
45567
45607
|
geometryNode = this .createGeometry (primitive, weights, skin);
|
|
45568
45608
|
|
|
45569
45609
|
shapeNode ._appearance = appearanceNode;
|
|
@@ -45573,15 +45613,17 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45573
45613
|
|
|
45574
45614
|
return shapeNode;
|
|
45575
45615
|
},
|
|
45576
|
-
getDefaultAppearance ()
|
|
45616
|
+
getDefaultAppearance (mode)
|
|
45577
45617
|
{
|
|
45578
|
-
|
|
45579
|
-
|
|
45618
|
+
mode = mode > 3;
|
|
45619
|
+
|
|
45620
|
+
if (this .defaultAppearance [mode])
|
|
45621
|
+
return this .defaultAppearance [mode];
|
|
45580
45622
|
|
|
45581
45623
|
const
|
|
45582
45624
|
scene = this .getExecutionContext (),
|
|
45583
|
-
appearanceNode = scene .createNode ("Appearance",
|
|
45584
|
-
materialNode = scene .createNode ("PhysicalMaterial", false);
|
|
45625
|
+
appearanceNode = scene .createNode ("Appearance", false),
|
|
45626
|
+
materialNode = scene .createNode (mode ? "PhysicalMaterial" : "UnlitMaterial", false);
|
|
45585
45627
|
|
|
45586
45628
|
appearanceNode ._alphaMode = "OPAQUE";
|
|
45587
45629
|
appearanceNode ._material = materialNode;
|
|
@@ -45589,7 +45631,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45589
45631
|
materialNode .setup ();
|
|
45590
45632
|
appearanceNode .setup ();
|
|
45591
45633
|
|
|
45592
|
-
return this .defaultAppearance = appearanceNode;
|
|
45634
|
+
return this .defaultAppearance [mode] = appearanceNode;
|
|
45593
45635
|
},
|
|
45594
45636
|
createMultiTextureTransform (materialNode)
|
|
45595
45637
|
{
|
|
@@ -45964,7 +46006,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45964
46006
|
|
|
45965
46007
|
const
|
|
45966
46008
|
scene = this .getExecutionContext (),
|
|
45967
|
-
appearanceNode = this .materialObject (material),
|
|
46009
|
+
appearanceNode = this .materialObject ({ material }),
|
|
45968
46010
|
opaque = appearanceNode ._alphaMode .getValue () === "OPAQUE",
|
|
45969
46011
|
colorNode = scene .createNode (opaque ? "Color" : typeName, false);
|
|
45970
46012
|
|
|
@@ -45999,7 +46041,7 @@ Object .assign (Object .setPrototypeOf (GLTF2Parser .prototype, Parser_X3DParser
|
|
|
45999
46041
|
})(),
|
|
46000
46042
|
createMultiTextureCoordinate (texCoords, material)
|
|
46001
46043
|
{
|
|
46002
|
-
const appearanceNode = this .materialObject (material);
|
|
46044
|
+
const appearanceNode = this .materialObject ({ material });
|
|
46003
46045
|
|
|
46004
46046
|
if (!+appearanceNode ._material .getValue () .getTextureBits ())
|
|
46005
46047
|
return null;
|
|
@@ -46681,7 +46723,7 @@ const GLTF2Parser_default_ = GLTF2Parser;
|
|
|
46681
46723
|
x_ite_Namespace .set ("x_ite/Parser/GLTF2Parser", GLTF2Parser_default_);
|
|
46682
46724
|
/* harmony default export */ const Parser_GLTF2Parser = (GLTF2Parser_default_);
|
|
46683
46725
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GLB2Parser.js
|
|
46684
|
-
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(
|
|
46726
|
+
/* provided dependency */ var GLB2Parser_$ = __webpack_require__(69);
|
|
46685
46727
|
/*******************************************************************************
|
|
46686
46728
|
*
|
|
46687
46729
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -46833,7 +46875,7 @@ const GLB2Parser_default_ = GLB2Parser;
|
|
|
46833
46875
|
x_ite_Namespace .set ("x_ite/Parser/GLB2Parser", GLB2Parser_default_);
|
|
46834
46876
|
/* harmony default export */ const Parser_GLB2Parser = (GLB2Parser_default_);
|
|
46835
46877
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/OBJParser.js
|
|
46836
|
-
/* provided dependency */ var OBJParser_$ = __webpack_require__(
|
|
46878
|
+
/* provided dependency */ var OBJParser_$ = __webpack_require__(69);
|
|
46837
46879
|
/*******************************************************************************
|
|
46838
46880
|
*
|
|
46839
46881
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -50188,8 +50230,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
50188
50230
|
x_ite_Namespace .set ("standard/Math/Utility/MatrixStack", MatrixStack_default_);
|
|
50189
50231
|
/* harmony default export */ const Utility_MatrixStack = (MatrixStack_default_);
|
|
50190
50232
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/SVGParser.js
|
|
50191
|
-
/* provided dependency */ var SVGParser_$ = __webpack_require__(
|
|
50192
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
50233
|
+
/* provided dependency */ var SVGParser_$ = __webpack_require__(69);
|
|
50234
|
+
/* provided dependency */ var libtess = __webpack_require__(183);
|
|
50193
50235
|
/*******************************************************************************
|
|
50194
50236
|
*
|
|
50195
50237
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -52957,7 +52999,7 @@ const SVGParser_default_ = SVGParser;
|
|
|
52957
52999
|
x_ite_Namespace .set ("x_ite/Parser/SVGParser", SVGParser_default_);
|
|
52958
53000
|
/* harmony default export */ const Parser_SVGParser = (SVGParser_default_);
|
|
52959
53001
|
;// CONCATENATED MODULE: ./src/x_ite/Parser/GoldenGate.js
|
|
52960
|
-
/* provided dependency */ var GoldenGate_$ = __webpack_require__(
|
|
53002
|
+
/* provided dependency */ var GoldenGate_$ = __webpack_require__(69);
|
|
52961
53003
|
/*******************************************************************************
|
|
52962
53004
|
*
|
|
52963
53005
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -53294,7 +53336,7 @@ const Plane3_default_ = Plane3;
|
|
|
53294
53336
|
x_ite_Namespace .set ("standard/Math/Geometry/Plane3", Plane3_default_);
|
|
53295
53337
|
/* harmony default export */ const Geometry_Plane3 = (Plane3_default_);
|
|
53296
53338
|
;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Triangle3.js
|
|
53297
|
-
/* provided dependency */ var Triangle3_libtess = __webpack_require__(
|
|
53339
|
+
/* provided dependency */ var Triangle3_libtess = __webpack_require__(183);
|
|
53298
53340
|
/*******************************************************************************
|
|
53299
53341
|
*
|
|
53300
53342
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -60669,7 +60711,7 @@ const X3DTexture2DNode_default_ = X3DTexture2DNode;
|
|
|
60669
60711
|
x_ite_Namespace .set ("x_ite/Components/Texturing/X3DTexture2DNode", X3DTexture2DNode_default_);
|
|
60670
60712
|
/* harmony default export */ const Texturing_X3DTexture2DNode = (X3DTexture2DNode_default_);
|
|
60671
60713
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/ImageTexture.js
|
|
60672
|
-
/* provided dependency */ var ImageTexture_$ = __webpack_require__(
|
|
60714
|
+
/* provided dependency */ var ImageTexture_$ = __webpack_require__(69);
|
|
60673
60715
|
/*******************************************************************************
|
|
60674
60716
|
*
|
|
60675
60717
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -60788,7 +60830,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
60788
60830
|
setError (event)
|
|
60789
60831
|
{
|
|
60790
60832
|
if (this .URL .protocol !== "data:")
|
|
60791
|
-
console .warn (`Error loading image '${decodeURI (this .URL
|
|
60833
|
+
console .warn (`Error loading image '${decodeURI (this .URL .href)}'`, event .type);
|
|
60792
60834
|
|
|
60793
60835
|
this .loadNext ();
|
|
60794
60836
|
},
|
|
@@ -60797,7 +60839,7 @@ Object .assign (Object .setPrototypeOf (ImageTexture .prototype, Texturing_X3DTe
|
|
|
60797
60839
|
if (DEVELOPMENT)
|
|
60798
60840
|
{
|
|
60799
60841
|
if (this .URL .protocol !== "data:")
|
|
60800
|
-
console .info (`Done loading image '${decodeURI (this .URL
|
|
60842
|
+
console .info (`Done loading image '${decodeURI (this .URL .href)}'`);
|
|
60801
60843
|
}
|
|
60802
60844
|
|
|
60803
60845
|
try
|
|
@@ -65211,7 +65253,7 @@ const X3DWorld_default_ = X3DWorld;
|
|
|
65211
65253
|
x_ite_Namespace .set ("x_ite/Execution/X3DWorld", X3DWorld_default_);
|
|
65212
65254
|
/* harmony default export */ const Execution_X3DWorld = (X3DWorld_default_);
|
|
65213
65255
|
;// CONCATENATED MODULE: ./src/x_ite/InputOutput/FileLoader.js
|
|
65214
|
-
/* provided dependency */ var FileLoader_$ = __webpack_require__(
|
|
65256
|
+
/* provided dependency */ var FileLoader_$ = __webpack_require__(69);
|
|
65215
65257
|
/*******************************************************************************
|
|
65216
65258
|
*
|
|
65217
65259
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -65280,7 +65322,7 @@ function FileLoader (node)
|
|
|
65280
65322
|
this .executionContext = this .external ? node .getExecutionContext () : this .browser .currentScene;
|
|
65281
65323
|
this .target = "";
|
|
65282
65324
|
this .url = [ ];
|
|
65283
|
-
this .URL = new URL (this .getBaseURL ()
|
|
65325
|
+
this .URL = new URL (this .getBaseURL ());
|
|
65284
65326
|
this .controller = new AbortController ();
|
|
65285
65327
|
}
|
|
65286
65328
|
|
|
@@ -65385,7 +65427,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65385
65427
|
if (DEVELOPMENT)
|
|
65386
65428
|
{
|
|
65387
65429
|
if (this .URL .protocol !== "data:")
|
|
65388
|
-
console .info (`Done loading scene '${decodeURI (this .URL
|
|
65430
|
+
console .info (`Done loading scene '${decodeURI (this .URL .href)}'`);
|
|
65389
65431
|
}
|
|
65390
65432
|
},
|
|
65391
65433
|
createX3DFromURL (url, parameter, callback, bindViewpoint, foreign)
|
|
@@ -65433,6 +65475,8 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65433
65475
|
}
|
|
65434
65476
|
}
|
|
65435
65477
|
|
|
65478
|
+
this .URL = new URL (url, this .getBaseURL ());
|
|
65479
|
+
|
|
65436
65480
|
// Data URL
|
|
65437
65481
|
{
|
|
65438
65482
|
const result = url .match (/^data:(.*?)(?:;charset=(.*?))?(?:;(base64))?,/s);
|
|
@@ -65451,8 +65495,6 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65451
65495
|
}
|
|
65452
65496
|
}
|
|
65453
65497
|
|
|
65454
|
-
this .URL = new URL (url, this .getBaseURL ());
|
|
65455
|
-
|
|
65456
65498
|
if (this .URL .protocol !== "data:" && this .bindViewpoint)
|
|
65457
65499
|
{
|
|
65458
65500
|
const referer = new URL (this .getBaseURL ());
|
|
@@ -65528,7 +65570,7 @@ Object .assign (Object .setPrototypeOf (FileLoader .prototype, Base_X3DObject .p
|
|
|
65528
65570
|
if (this .URL .protocol === "data:")
|
|
65529
65571
|
console .error (`Couldn't load data URL.`, error);
|
|
65530
65572
|
else
|
|
65531
|
-
console .error (`Couldn't load URL '${decodeURI (this .URL
|
|
65573
|
+
console .error (`Couldn't load URL '${decodeURI (this .URL .href)}'.`, error);
|
|
65532
65574
|
},
|
|
65533
65575
|
});
|
|
65534
65576
|
|
|
@@ -66677,9 +66719,9 @@ Object .assign (Object .setPrototypeOf (X3DExecutionContext .prototype, Base_X3D
|
|
|
66677
66719
|
{
|
|
66678
66720
|
return this .getExecutionContext () .getProfile ();
|
|
66679
66721
|
},
|
|
66680
|
-
hasComponent (name)
|
|
66722
|
+
hasComponent (name, level)
|
|
66681
66723
|
{
|
|
66682
|
-
return this .getExecutionContext () .hasComponent (name);
|
|
66724
|
+
return this .getExecutionContext () .hasComponent (name, level);
|
|
66683
66725
|
},
|
|
66684
66726
|
getComponents ()
|
|
66685
66727
|
{
|
|
@@ -67514,6 +67556,11 @@ Object .defineProperties (X3DExecutionContext .prototype,
|
|
|
67514
67556
|
get: X3DExecutionContext .prototype .getWorldURL,
|
|
67515
67557
|
enumerable: true,
|
|
67516
67558
|
},
|
|
67559
|
+
baseURL:
|
|
67560
|
+
{
|
|
67561
|
+
get: X3DExecutionContext .prototype .getBaseURL,
|
|
67562
|
+
enumerable: true,
|
|
67563
|
+
},
|
|
67517
67564
|
units:
|
|
67518
67565
|
{
|
|
67519
67566
|
get: X3DExecutionContext .prototype .getUnits,
|
|
@@ -88823,7 +88870,7 @@ const X3DShaderNode_default_ = X3DShaderNode;
|
|
|
88823
88870
|
x_ite_Namespace .set ("x_ite/Components/Shaders/X3DShaderNode", X3DShaderNode_default_);
|
|
88824
88871
|
/* harmony default export */ const Shaders_X3DShaderNode = (X3DShaderNode_default_);
|
|
88825
88872
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js
|
|
88826
|
-
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(
|
|
88873
|
+
/* provided dependency */ var X3DProgrammableShaderObject_$ = __webpack_require__(69);
|
|
88827
88874
|
/*******************************************************************************
|
|
88828
88875
|
*
|
|
88829
88876
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94210,7 +94257,7 @@ const ShaderCompiler_default_ = ShaderCompiler;
|
|
|
94210
94257
|
x_ite_Namespace .set ("x_ite/Browser/Shaders/ShaderCompiler", ShaderCompiler_default_);
|
|
94211
94258
|
/* harmony default export */ const Shaders_ShaderCompiler = (ShaderCompiler_default_);
|
|
94212
94259
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shaders/ShaderPart.js
|
|
94213
|
-
/* provided dependency */ var ShaderPart_$ = __webpack_require__(
|
|
94260
|
+
/* provided dependency */ var ShaderPart_$ = __webpack_require__(69);
|
|
94214
94261
|
/*******************************************************************************
|
|
94215
94262
|
*
|
|
94216
94263
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -94867,7 +94914,7 @@ const X3DAppearanceNode_default_ = X3DAppearanceNode;
|
|
|
94867
94914
|
x_ite_Namespace .set ("x_ite/Components/Shape/X3DAppearanceNode", X3DAppearanceNode_default_);
|
|
94868
94915
|
/* harmony default export */ const Shape_X3DAppearanceNode = (X3DAppearanceNode_default_);
|
|
94869
94916
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Shape/Appearance.js
|
|
94870
|
-
/* provided dependency */ var Appearance_$ = __webpack_require__(
|
|
94917
|
+
/* provided dependency */ var Appearance_$ = __webpack_require__(69);
|
|
94871
94918
|
/*******************************************************************************
|
|
94872
94919
|
*
|
|
94873
94920
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -98596,7 +98643,7 @@ const X3DSoundSourceNode_default_ = X3DSoundSourceNode;
|
|
|
98596
98643
|
x_ite_Namespace .set ("x_ite/Components/Sound/X3DSoundSourceNode", X3DSoundSourceNode_default_);
|
|
98597
98644
|
/* harmony default export */ const Sound_X3DSoundSourceNode = (X3DSoundSourceNode_default_);
|
|
98598
98645
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Sound/AudioClip.js
|
|
98599
|
-
/* provided dependency */ var AudioClip_$ = __webpack_require__(
|
|
98646
|
+
/* provided dependency */ var AudioClip_$ = __webpack_require__(69);
|
|
98600
98647
|
/*******************************************************************************
|
|
98601
98648
|
*
|
|
98602
98649
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -98737,7 +98784,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
|
|
|
98737
98784
|
setError (event)
|
|
98738
98785
|
{
|
|
98739
98786
|
if (this .URL .protocol !== "data:")
|
|
98740
|
-
console .warn (`Error loading audio '${decodeURI (this .URL
|
|
98787
|
+
console .warn (`Error loading audio '${decodeURI (this .URL .href)}'`, event .type);
|
|
98741
98788
|
|
|
98742
98789
|
this .loadNext ();
|
|
98743
98790
|
},
|
|
@@ -98746,7 +98793,7 @@ Object .assign (Object .setPrototypeOf (AudioClip .prototype, Sound_X3DSoundSour
|
|
|
98746
98793
|
if (DEVELOPMENT)
|
|
98747
98794
|
{
|
|
98748
98795
|
if (this .URL .protocol !== "data:")
|
|
98749
|
-
console .info (`Done loading audio '${decodeURI (this .URL
|
|
98796
|
+
console .info (`Done loading audio '${decodeURI (this .URL .href)}'`);
|
|
98750
98797
|
}
|
|
98751
98798
|
|
|
98752
98799
|
this .audio .unbind ("canplaythrough");
|
|
@@ -101707,8 +101754,8 @@ const GIFMedia_default_ = GifMedia;
|
|
|
101707
101754
|
x_ite_Namespace .set ("x_ite/Browser/Texturing/GIFMedia", GIFMedia_default_);
|
|
101708
101755
|
/* harmony default export */ const GIFMedia = (GIFMedia_default_);
|
|
101709
101756
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
101710
|
-
/* provided dependency */ var MovieTexture_$ = __webpack_require__(
|
|
101711
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
101757
|
+
/* provided dependency */ var MovieTexture_$ = __webpack_require__(69);
|
|
101758
|
+
/* provided dependency */ var SuperGif = __webpack_require__(548);
|
|
101712
101759
|
/*******************************************************************************
|
|
101713
101760
|
*
|
|
101714
101761
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -101868,7 +101915,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
|
|
|
101868
101915
|
setError (event)
|
|
101869
101916
|
{
|
|
101870
101917
|
if (this .URL .protocol !== "data:")
|
|
101871
|
-
console .warn (`Error loading movie '${decodeURI (this .URL
|
|
101918
|
+
console .warn (`Error loading movie '${decodeURI (this .URL .href)}'`, event .type);
|
|
101872
101919
|
|
|
101873
101920
|
this .loadNext ();
|
|
101874
101921
|
},
|
|
@@ -101877,7 +101924,7 @@ Object .assign (Object .setPrototypeOf (MovieTexture .prototype, Texturing_X3DTe
|
|
|
101877
101924
|
if (DEVELOPMENT)
|
|
101878
101925
|
{
|
|
101879
101926
|
if (this .URL .protocol !== "data:")
|
|
101880
|
-
console .info (`Done loading movie '${decodeURI (this .URL
|
|
101927
|
+
console .info (`Done loading movie '${decodeURI (this .URL .href)}'`);
|
|
101881
101928
|
}
|
|
101882
101929
|
|
|
101883
101930
|
try
|
|
@@ -102866,7 +102913,7 @@ const MultiTextureTransform_default_ = MultiTextureTransform;
|
|
|
102866
102913
|
x_ite_Namespace .set ("x_ite/Components/Texturing/MultiTextureTransform", MultiTextureTransform_default_);
|
|
102867
102914
|
/* harmony default export */ const Texturing_MultiTextureTransform = (MultiTextureTransform_default_);
|
|
102868
102915
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Texturing/PixelTexture.js
|
|
102869
|
-
/* provided dependency */ var PixelTexture_$ = __webpack_require__(
|
|
102916
|
+
/* provided dependency */ var PixelTexture_$ = __webpack_require__(69);
|
|
102870
102917
|
/*******************************************************************************
|
|
102871
102918
|
*
|
|
102872
102919
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -105029,7 +105076,7 @@ const gettext_default_ = gettext;
|
|
|
105029
105076
|
x_ite_Namespace .set ("locale/gettext", gettext_default_);
|
|
105030
105077
|
/* harmony default export */ const locale_gettext = (gettext_default_);
|
|
105031
105078
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserTimings.js
|
|
105032
|
-
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(
|
|
105079
|
+
/* provided dependency */ var BrowserTimings_$ = __webpack_require__(69);
|
|
105033
105080
|
/*******************************************************************************
|
|
105034
105081
|
*
|
|
105035
105082
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -105459,7 +105506,7 @@ const TextureQuality_default_ = TextureQuality;
|
|
|
105459
105506
|
x_ite_Namespace .set ("x_ite/Browser/Core/TextureQuality", TextureQuality_default_);
|
|
105460
105507
|
/* harmony default export */ const Core_TextureQuality = (TextureQuality_default_);
|
|
105461
105508
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/BrowserOptions.js
|
|
105462
|
-
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(
|
|
105509
|
+
/* provided dependency */ var BrowserOptions_$ = __webpack_require__(69);
|
|
105463
105510
|
/*******************************************************************************
|
|
105464
105511
|
*
|
|
105465
105512
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106051,7 +106098,7 @@ const RenderingProperties_default_ = RenderingProperties;
|
|
|
106051
106098
|
x_ite_Namespace .set ("x_ite/Browser/Core/RenderingProperties", RenderingProperties_default_);
|
|
106052
106099
|
/* harmony default export */ const Core_RenderingProperties = (RenderingProperties_default_);
|
|
106053
106100
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/Notification.js
|
|
106054
|
-
/* provided dependency */ var Notification_$ = __webpack_require__(
|
|
106101
|
+
/* provided dependency */ var Notification_$ = __webpack_require__(69);
|
|
106055
106102
|
/*******************************************************************************
|
|
106056
106103
|
*
|
|
106057
106104
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -106174,8 +106221,8 @@ const Notification_default_ = Notification;
|
|
|
106174
106221
|
x_ite_Namespace .set ("x_ite/Browser/Core/Notification", Notification_default_);
|
|
106175
106222
|
/* harmony default export */ const Core_Notification = (Notification_default_);
|
|
106176
106223
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/ContextMenu.js
|
|
106177
|
-
/* provided dependency */ var jquery_fullscreen = __webpack_require__(
|
|
106178
|
-
/* provided dependency */ var ContextMenu_$ = __webpack_require__(
|
|
106224
|
+
/* provided dependency */ var jquery_fullscreen = __webpack_require__(117);
|
|
106225
|
+
/* provided dependency */ var ContextMenu_$ = __webpack_require__(69);
|
|
106179
106226
|
/*******************************************************************************
|
|
106180
106227
|
*
|
|
106181
106228
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -107708,6 +107755,7 @@ x_ite_Namespace .set ("x_ite/Execution/ExportedNodesArray", ExportedNodesArray_d
|
|
|
107708
107755
|
|
|
107709
107756
|
|
|
107710
107757
|
|
|
107758
|
+
|
|
107711
107759
|
const
|
|
107712
107760
|
_specificationVersion = Symbol (),
|
|
107713
107761
|
_encoding = Symbol (),
|
|
@@ -107794,7 +107842,12 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
107794
107842
|
getBaseURL ()
|
|
107795
107843
|
{
|
|
107796
107844
|
if (this [_worldURL] .match (/^(?:data|blob):/))
|
|
107797
|
-
|
|
107845
|
+
{
|
|
107846
|
+
if (this .isMainScene ())
|
|
107847
|
+
return this .getBrowser () .getBaseURL ();
|
|
107848
|
+
|
|
107849
|
+
return this .getExecutionContext () .getBaseURL ();
|
|
107850
|
+
}
|
|
107798
107851
|
|
|
107799
107852
|
return this [_worldURL];
|
|
107800
107853
|
},
|
|
@@ -107808,9 +107861,20 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
107808
107861
|
{
|
|
107809
107862
|
return this [_profile];
|
|
107810
107863
|
},
|
|
107811
|
-
hasComponent (name)
|
|
107864
|
+
hasComponent (name, level = 0)
|
|
107812
107865
|
{
|
|
107813
|
-
|
|
107866
|
+
if (!this [_profile])
|
|
107867
|
+
return true;
|
|
107868
|
+
|
|
107869
|
+
if (name instanceof Configuration_ComponentInfo)
|
|
107870
|
+
var { name, level } = name;
|
|
107871
|
+
|
|
107872
|
+
const component = this [_profile] .components .get (name) ?? this [_components] .get (name);
|
|
107873
|
+
|
|
107874
|
+
if (component)
|
|
107875
|
+
return level <= component .level;
|
|
107876
|
+
|
|
107877
|
+
return false;
|
|
107814
107878
|
},
|
|
107815
107879
|
addComponent (component)
|
|
107816
107880
|
{
|
|
@@ -108910,7 +108974,7 @@ const DataStorage_default_ = DataStorage;
|
|
|
108910
108974
|
x_ite_Namespace .set ("standard/Utility/DataStorage", DataStorage_default_);
|
|
108911
108975
|
/* harmony default export */ const Utility_DataStorage = (DataStorage_default_);
|
|
108912
108976
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Core/X3DCoreContext.js
|
|
108913
|
-
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(
|
|
108977
|
+
/* provided dependency */ var X3DCoreContext_$ = __webpack_require__(69);
|
|
108914
108978
|
/*******************************************************************************
|
|
108915
108979
|
*
|
|
108916
108980
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -110943,8 +111007,8 @@ const X3DViewer_default_ = X3DViewer;
|
|
|
110943
111007
|
x_ite_Namespace .set ("x_ite/Browser/Navigation/X3DViewer", X3DViewer_default_);
|
|
110944
111008
|
/* harmony default export */ const Navigation_X3DViewer = (X3DViewer_default_);
|
|
110945
111009
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/ExamineViewer.js
|
|
110946
|
-
/* provided dependency */ var jquery_mousewheel = __webpack_require__(
|
|
110947
|
-
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(
|
|
111010
|
+
/* provided dependency */ var jquery_mousewheel = __webpack_require__(387);
|
|
111011
|
+
/* provided dependency */ var ExamineViewer_$ = __webpack_require__(69);
|
|
110948
111012
|
/*******************************************************************************
|
|
110949
111013
|
*
|
|
110950
111014
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -111816,8 +111880,8 @@ const ExamineViewer_default_ = ExamineViewer;
|
|
|
111816
111880
|
x_ite_Namespace .set ("x_ite/Browser/Navigation/ExamineViewer", ExamineViewer_default_);
|
|
111817
111881
|
/* harmony default export */ const Navigation_ExamineViewer = (ExamineViewer_default_);
|
|
111818
111882
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/X3DFlyViewer.js
|
|
111819
|
-
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(
|
|
111820
|
-
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(
|
|
111883
|
+
/* provided dependency */ var X3DFlyViewer_jquery_mousewheel = __webpack_require__(387);
|
|
111884
|
+
/* provided dependency */ var X3DFlyViewer_$ = __webpack_require__(69);
|
|
111821
111885
|
/*******************************************************************************
|
|
111822
111886
|
*
|
|
111823
111887
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -112821,8 +112885,8 @@ const FlyViewer_default_ = FlyViewer;
|
|
|
112821
112885
|
x_ite_Namespace .set ("x_ite/Browser/Navigation/FlyViewer", FlyViewer_default_);
|
|
112822
112886
|
/* harmony default export */ const Navigation_FlyViewer = (FlyViewer_default_);
|
|
112823
112887
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/PlaneViewer.js
|
|
112824
|
-
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(
|
|
112825
|
-
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(
|
|
112888
|
+
/* provided dependency */ var PlaneViewer_jquery_mousewheel = __webpack_require__(387);
|
|
112889
|
+
/* provided dependency */ var PlaneViewer_$ = __webpack_require__(69);
|
|
112826
112890
|
/*******************************************************************************
|
|
112827
112891
|
*
|
|
112828
112892
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -113153,8 +113217,8 @@ const NoneViewer_default_ = NoneViewer;
|
|
|
113153
113217
|
x_ite_Namespace .set ("x_ite/Browser/Navigation/NoneViewer", NoneViewer_default_);
|
|
113154
113218
|
/* harmony default export */ const Navigation_NoneViewer = (NoneViewer_default_);
|
|
113155
113219
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Navigation/LookAtViewer.js
|
|
113156
|
-
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(
|
|
113157
|
-
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(
|
|
113220
|
+
/* provided dependency */ var LookAtViewer_jquery_mousewheel = __webpack_require__(387);
|
|
113221
|
+
/* provided dependency */ var LookAtViewer_$ = __webpack_require__(69);
|
|
113158
113222
|
/*******************************************************************************
|
|
113159
113223
|
*
|
|
113160
113224
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -114027,7 +114091,7 @@ Object .assign (X3DNetworkingContext .prototype,
|
|
|
114027
114091
|
base = getBaseURI (this .getElement ()),
|
|
114028
114092
|
url = new URL (value, base);
|
|
114029
114093
|
|
|
114030
|
-
this [_baseURL] = url .protocol .match (/^(?:data|blob)
|
|
114094
|
+
this [_baseURL] = url .protocol .match (/^(?:data|blob):$/) ? base : url .href;
|
|
114031
114095
|
},
|
|
114032
114096
|
getDefaultScene ()
|
|
114033
114097
|
{
|
|
@@ -114293,8 +114357,8 @@ const X3DPickingContext_default_ = X3DPickingContext;
|
|
|
114293
114357
|
x_ite_Namespace .set ("x_ite/Browser/Picking/X3DPickingContext", X3DPickingContext_default_);
|
|
114294
114358
|
/* harmony default export */ const Picking_X3DPickingContext = (X3DPickingContext_default_);
|
|
114295
114359
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js
|
|
114296
|
-
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(
|
|
114297
|
-
/* provided dependency */ var PointingDevice_$ = __webpack_require__(
|
|
114360
|
+
/* provided dependency */ var PointingDevice_jquery_mousewheel = __webpack_require__(387);
|
|
114361
|
+
/* provided dependency */ var PointingDevice_$ = __webpack_require__(69);
|
|
114298
114362
|
/*******************************************************************************
|
|
114299
114363
|
*
|
|
114300
114364
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -115572,8 +115636,8 @@ const MultiSampleFrameBuffer_default_ = MultiSampleFrameBuffer;
|
|
|
115572
115636
|
x_ite_Namespace .set ("x_ite/Rendering/MultiSampleFrameBuffer", MultiSampleFrameBuffer_default_);
|
|
115573
115637
|
/* harmony default export */ const Rendering_MultiSampleFrameBuffer = (MultiSampleFrameBuffer_default_);
|
|
115574
115638
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Rendering/X3DRenderingContext.js
|
|
115575
|
-
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(
|
|
115576
|
-
/* provided dependency */ var ResizeSensor = __webpack_require__(
|
|
115639
|
+
/* provided dependency */ var X3DRenderingContext_$ = __webpack_require__(69);
|
|
115640
|
+
/* provided dependency */ var ResizeSensor = __webpack_require__(194);
|
|
115577
115641
|
/*******************************************************************************
|
|
115578
115642
|
*
|
|
115579
115643
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -117801,7 +117865,7 @@ const Components_default_ = Components;
|
|
|
117801
117865
|
x_ite_Namespace .set ("x_ite/Components", Components_default_);
|
|
117802
117866
|
/* harmony default export */ const x_ite_Components = ((/* unused pure expression or super */ null && (Components_default_)));
|
|
117803
117867
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/DOMIntegration.js
|
|
117804
|
-
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(
|
|
117868
|
+
/* provided dependency */ var DOMIntegration_$ = __webpack_require__(69);
|
|
117805
117869
|
/*******************************************************************************
|
|
117806
117870
|
* MIT License
|
|
117807
117871
|
*
|
|
@@ -118190,7 +118254,7 @@ const DOMIntegration_default_ = DOMIntegration;
|
|
|
118190
118254
|
x_ite_Namespace .set ("x_ite/Browser/DOMIntegration", DOMIntegration_default_);
|
|
118191
118255
|
/* harmony default export */ const Browser_DOMIntegration = (DOMIntegration_default_);
|
|
118192
118256
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Legacy.js
|
|
118193
|
-
/* provided dependency */ var Legacy_$ = __webpack_require__(
|
|
118257
|
+
/* provided dependency */ var Legacy_$ = __webpack_require__(69);
|
|
118194
118258
|
/*******************************************************************************
|
|
118195
118259
|
*
|
|
118196
118260
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119029,7 +119093,7 @@ const SupportedProfiles_default_ = SupportedProfiles;
|
|
|
119029
119093
|
x_ite_Namespace .set ("x_ite/Configuration/SupportedProfiles", SupportedProfiles_default_);
|
|
119030
119094
|
/* harmony default export */ const Configuration_SupportedProfiles = (SupportedProfiles_default_);
|
|
119031
119095
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/X3DBrowser.js
|
|
119032
|
-
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(
|
|
119096
|
+
/* provided dependency */ var X3DBrowser_$ = __webpack_require__(69);
|
|
119033
119097
|
/*******************************************************************************
|
|
119034
119098
|
*
|
|
119035
119099
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -119492,10 +119556,11 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
119492
119556
|
createVrmlFromString (vrmlSyntax)
|
|
119493
119557
|
{
|
|
119494
119558
|
const
|
|
119495
|
-
currentScene = this .currentScene,
|
|
119496
119559
|
external = this .isExternal (),
|
|
119560
|
+
currentScene = this .currentScene,
|
|
119561
|
+
worldURL = external ? this .getBaseURL () : currentScene .getWorldURL (),
|
|
119497
119562
|
fileLoader = new InputOutput_FileLoader (this .getWorld ()),
|
|
119498
|
-
scene = fileLoader .createX3DFromString (
|
|
119563
|
+
scene = fileLoader .createX3DFromString (worldURL, `#VRML V2.0 utf8\n\n${vrmlSyntax}`);
|
|
119499
119564
|
|
|
119500
119565
|
if (!external)
|
|
119501
119566
|
{
|
|
@@ -119511,13 +119576,14 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
119511
119576
|
x3dSyntax = String (x3dSyntax);
|
|
119512
119577
|
|
|
119513
119578
|
const
|
|
119514
|
-
currentScene = this .currentScene,
|
|
119515
119579
|
external = this .isExternal (),
|
|
119580
|
+
currentScene = this .currentScene,
|
|
119581
|
+
worldURL = external ? this .getBaseURL () : currentScene .getWorldURL (),
|
|
119516
119582
|
fileLoader = new InputOutput_FileLoader (this .getWorld ());
|
|
119517
119583
|
|
|
119518
119584
|
const scene = await new Promise ((resolve, reject) =>
|
|
119519
119585
|
{
|
|
119520
|
-
fileLoader .createX3DFromString (
|
|
119586
|
+
fileLoader .createX3DFromString (worldURL, x3dSyntax, resolve, reject);
|
|
119521
119587
|
});
|
|
119522
119588
|
|
|
119523
119589
|
if (!external)
|
|
@@ -120105,8 +120171,8 @@ const X3DBrowser_default_ = X3DBrowser;
|
|
|
120105
120171
|
x_ite_Namespace .set ("x_ite/Browser/X3DBrowser", X3DBrowser_default_);
|
|
120106
120172
|
/* harmony default export */ const Browser_X3DBrowser = (X3DBrowser_default_);
|
|
120107
120173
|
;// CONCATENATED MODULE: ./src/lib/jquery.js
|
|
120108
|
-
/* provided dependency */ var jquery_$ = __webpack_require__(
|
|
120109
|
-
/* provided dependency */ var pako = __webpack_require__(
|
|
120174
|
+
/* provided dependency */ var jquery_$ = __webpack_require__(69);
|
|
120175
|
+
/* provided dependency */ var pako = __webpack_require__(780);
|
|
120110
120176
|
Object .assign (jquery_$,
|
|
120111
120177
|
{
|
|
120112
120178
|
decodeText (input)
|
|
@@ -120171,14 +120237,14 @@ const jquery_default_ = jquery_$;
|
|
|
120171
120237
|
x_ite_Namespace .set ("lib/jquery", jquery_default_);
|
|
120172
120238
|
/* harmony default export */ const jquery = ((/* unused pure expression or super */ null && (jquery_default_)));
|
|
120173
120239
|
;// CONCATENATED MODULE: ./src/lib/libtess.js
|
|
120174
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
120240
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(183);
|
|
120175
120241
|
const libtess_default_ = libtess_libtess;
|
|
120176
120242
|
;
|
|
120177
120243
|
|
|
120178
120244
|
x_ite_Namespace .set ("lib/libtess", libtess_default_);
|
|
120179
120245
|
/* harmony default export */ const lib_libtess = ((/* unused pure expression or super */ null && (libtess_default_)));
|
|
120180
120246
|
;// CONCATENATED MODULE: ./src/x_ite/X3D.js
|
|
120181
|
-
/* provided dependency */ var X3D_$ = __webpack_require__(
|
|
120247
|
+
/* provided dependency */ var X3D_$ = __webpack_require__(69);
|
|
120182
120248
|
/*******************************************************************************
|
|
120183
120249
|
*
|
|
120184
120250
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120434,7 +120500,7 @@ const X3D_default_ = X3D;
|
|
|
120434
120500
|
x_ite_Namespace .set ("x_ite/X3D", X3D_default_);
|
|
120435
120501
|
/* harmony default export */ const x_ite_X3D = (X3D_default_);
|
|
120436
120502
|
;// CONCATENATED MODULE: ./src/x_ite/X3DCanvasElement.js
|
|
120437
|
-
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(
|
|
120503
|
+
/* provided dependency */ var X3DCanvasElement_$ = __webpack_require__(69);
|
|
120438
120504
|
/*******************************************************************************
|
|
120439
120505
|
*
|
|
120440
120506
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
@@ -120705,7 +120771,7 @@ x_ite_Namespace .set ("shim", shim_default_);
|
|
|
120705
120771
|
|
|
120706
120772
|
// Assign X3D to global namespace.
|
|
120707
120773
|
|
|
120708
|
-
window [Symbol .for ("X_ITE.X3D-8.11.
|
|
120774
|
+
window [Symbol .for ("X_ITE.X3D-8.11.14")] = x_ite_X3D;
|
|
120709
120775
|
|
|
120710
120776
|
customElements .define ("x3d-canvas", x_ite_X3DCanvasElement);
|
|
120711
120777
|
|