x_ite 8.6.17 → 8.6.19
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 +28 -28
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +13 -21
- 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 -39
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +18 -18
- 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 +27 -27
- 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 -25
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +25 -26
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +20 -20
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +121 -195
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +30 -31
- 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 +174 -174
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +35 -33
- 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/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.js +512 -519
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.zip +0 -0
- package/docs/_config.yml +1 -1
- package/docs/_posts/getting-started.md +1 -1
- package/docs/_posts/reference/prototype-services.md +2 -2
- package/docs/_posts/setup-a-localhost-server.md +2 -2
- package/package.json +4 -4
- package/src/example.html +1 -1
- package/src/standard/Math/Algorithm.js +1 -1
- package/src/standard/Math/Algorithms/MergeSort.js +7 -5
- package/src/standard/Math/Algorithms/PartialSort.js +3 -1
- package/src/standard/Math/Algorithms/QuickSort.js +1 -3
- package/src/standard/Math/Geometry/Box2.js +1 -1
- package/src/standard/Math/Geometry/Box3.js +1 -1
- package/src/standard/Math/Numbers/Quaternion.js +4 -3
- package/src/standard/Math/Numbers/Rotation4.js +4 -3
- package/src/x_ite/Base/X3DBaseNode.js +9 -24
- package/src/x_ite/Base/X3DEventObject.js +4 -3
- package/src/x_ite/Base/X3DField.js +19 -20
- package/src/x_ite/Base/X3DObject.js +5 -1
- package/src/x_ite/Base/X3DObjectArrayField.js +12 -11
- package/src/x_ite/Base/X3DTypedArrayField.js +3 -3
- package/src/x_ite/Browser/Core/Context.js +1 -1
- package/src/x_ite/Browser/Navigation/ExamineViewer.js +1 -1
- package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +14 -9
- package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +2 -2
- package/src/x_ite/Browser/VERSION.js +1 -1
- package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +2 -2
- package/src/x_ite/Browser/X3DBrowser.js +44 -77
- package/src/x_ite/Browser/X3DBrowserContext.js +3 -3
- package/src/x_ite/Components/Core/X3DNode.js +2 -2
- package/src/x_ite/Components/Core/X3DPrototypeInstance.js +3 -8
- package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +3 -3
- package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +0 -8
- package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +14 -12
- package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +3 -3
- package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +1 -1
- package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +1 -1
- package/src/x_ite/Components/Geospatial/GeoMetadata.js +0 -6
- package/src/x_ite/Components/Networking/Anchor.js +36 -33
- package/src/x_ite/Components/Networking/Inline.js +3 -3
- package/src/x_ite/Components/Networking/X3DUrlObject.js +74 -23
- package/src/x_ite/Components/Picking/X3DPickSensorNode.js +6 -5
- package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +2 -2
- package/src/x_ite/Components/Scripting/Script.js +93 -167
- package/src/x_ite/Components/Shaders/ComposedShader.js +3 -18
- package/src/x_ite/Components/Shaders/PackagedShader.js +0 -2
- package/src/x_ite/Components/Shaders/ShaderPart.js +4 -4
- package/src/x_ite/Components/Shaders/ShaderProgram.js +0 -2
- package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +4 -5
- package/src/x_ite/Components/Sound/AudioClip.js +6 -6
- package/src/x_ite/Components/Sound/DynamicsCompressor.js +4 -4
- package/src/x_ite/Components/Text/Text.js +2 -3
- package/src/x_ite/Components/Text/X3DFontStyleNode.js +4 -4
- package/src/x_ite/Components/Texturing/ImageTexture.js +3 -3
- package/src/x_ite/Components/Texturing/MovieTexture.js +6 -6
- package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +3 -3
- package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +3 -3
- package/src/x_ite/Components/Time/X3DTimeDependentNode.js +31 -25
- package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/VolumeData.js +1 -1
- package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +11 -9
- package/src/x_ite/Execution/Scene.js +1 -1
- package/src/x_ite/Execution/X3DExecutionContext.js +30 -32
- package/src/x_ite/Execution/X3DScene.js +6 -6
- package/src/x_ite/Fields/ArrayFields.js +2 -1
- package/src/x_ite/Fields/SFImage.js +0 -1
- package/src/x_ite/Fields/SFNode.js +9 -8
- package/src/x_ite/Fields/SFRotation.js +2 -4
- package/src/x_ite/Fields/SFVecPrototypeTemplate.js +3 -3
- package/src/x_ite/InputOutput/FileLoader.js +3 -4
- package/src/x_ite/InputOutput/Generator.js +1 -1
- package/src/x_ite/Parser/GLTF2Parser.js +45 -45
- package/src/x_ite/Parser/VRMLParser.js +2 -2
- package/src/x_ite/Parser/X3DParser.js +4 -4
- package/src/x_ite/Parser/XMLParser.js +16 -22
- package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +2 -2
- package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +1 -1
- package/docs/_tabs/imprint.md +0 -52
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* X_ITE v8.6.
|
|
1
|
+
/* X_ITE v8.6.19 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
5
|
/***/ 355:
|
|
6
6
|
/***/ ((module) => {
|
|
7
7
|
|
|
8
|
-
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
8
|
+
module.exports = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("lib/jquery");
|
|
9
9
|
|
|
10
10
|
/***/ })
|
|
11
11
|
|
|
@@ -73,70 +73,70 @@ var __webpack_exports__ = {};
|
|
|
73
73
|
// UNUSED EXPORTS: default
|
|
74
74
|
|
|
75
75
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
76
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
76
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Components");
|
|
77
77
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
78
78
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
79
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
79
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
80
80
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
81
81
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
82
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
82
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
83
83
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
84
84
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DField\")"
|
|
85
|
-
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
85
|
+
const X3DField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Base/X3DField");
|
|
86
86
|
var X3DField_default = /*#__PURE__*/__webpack_require__.n(X3DField_namespaceObject);
|
|
87
87
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DArrayField\")"
|
|
88
|
-
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
88
|
+
const X3DArrayField_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Base/X3DArrayField");
|
|
89
89
|
var X3DArrayField_default = /*#__PURE__*/__webpack_require__.n(X3DArrayField_namespaceObject);
|
|
90
90
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
91
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
91
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Fields");
|
|
92
92
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
93
93
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Browser/X3DBrowser\")"
|
|
94
|
-
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
94
|
+
const X3DBrowser_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Browser/X3DBrowser");
|
|
95
95
|
var X3DBrowser_default = /*#__PURE__*/__webpack_require__.n(X3DBrowser_namespaceObject);
|
|
96
96
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfo\")"
|
|
97
|
-
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
97
|
+
const ComponentInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Configuration/ComponentInfo");
|
|
98
98
|
var ComponentInfo_default = /*#__PURE__*/__webpack_require__.n(ComponentInfo_namespaceObject);
|
|
99
99
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ComponentInfoArray\")"
|
|
100
|
-
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
100
|
+
const ComponentInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Configuration/ComponentInfoArray");
|
|
101
101
|
var ComponentInfoArray_default = /*#__PURE__*/__webpack_require__.n(ComponentInfoArray_namespaceObject);
|
|
102
102
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfo\")"
|
|
103
|
-
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
103
|
+
const ProfileInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Configuration/ProfileInfo");
|
|
104
104
|
var ProfileInfo_default = /*#__PURE__*/__webpack_require__.n(ProfileInfo_namespaceObject);
|
|
105
105
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/ProfileInfoArray\")"
|
|
106
|
-
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
106
|
+
const ProfileInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Configuration/ProfileInfoArray");
|
|
107
107
|
var ProfileInfoArray_default = /*#__PURE__*/__webpack_require__.n(ProfileInfoArray_namespaceObject);
|
|
108
108
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfo\")"
|
|
109
|
-
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
109
|
+
const UnitInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Configuration/UnitInfo");
|
|
110
110
|
var UnitInfo_default = /*#__PURE__*/__webpack_require__.n(UnitInfo_namespaceObject);
|
|
111
111
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Configuration/UnitInfoArray\")"
|
|
112
|
-
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
112
|
+
const UnitInfoArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Configuration/UnitInfoArray");
|
|
113
113
|
var UnitInfoArray_default = /*#__PURE__*/__webpack_require__.n(UnitInfoArray_namespaceObject);
|
|
114
114
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DExecutionContext\")"
|
|
115
|
-
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
115
|
+
const X3DExecutionContext_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Execution/X3DExecutionContext");
|
|
116
116
|
var X3DExecutionContext_default = /*#__PURE__*/__webpack_require__.n(X3DExecutionContext_namespaceObject);
|
|
117
117
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Execution/X3DScene\")"
|
|
118
|
-
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
118
|
+
const X3DScene_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Execution/X3DScene");
|
|
119
119
|
var X3DScene_default = /*#__PURE__*/__webpack_require__.n(X3DScene_namespaceObject);
|
|
120
120
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ExternProtoDeclarationArray\")"
|
|
121
|
-
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
121
|
+
const ExternProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Prototype/ExternProtoDeclarationArray");
|
|
122
122
|
var ExternProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ExternProtoDeclarationArray_namespaceObject);
|
|
123
123
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/ProtoDeclarationArray\")"
|
|
124
|
-
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
124
|
+
const ProtoDeclarationArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Prototype/ProtoDeclarationArray");
|
|
125
125
|
var ProtoDeclarationArray_default = /*#__PURE__*/__webpack_require__.n(ProtoDeclarationArray_namespaceObject);
|
|
126
126
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DExternProtoDeclaration\")"
|
|
127
|
-
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
127
|
+
const X3DExternProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Prototype/X3DExternProtoDeclaration");
|
|
128
128
|
var X3DExternProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DExternProtoDeclaration_namespaceObject);
|
|
129
129
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Prototype/X3DProtoDeclaration\")"
|
|
130
|
-
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
130
|
+
const X3DProtoDeclaration_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Prototype/X3DProtoDeclaration");
|
|
131
131
|
var X3DProtoDeclaration_default = /*#__PURE__*/__webpack_require__.n(X3DProtoDeclaration_namespaceObject);
|
|
132
132
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/RouteArray\")"
|
|
133
|
-
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
133
|
+
const RouteArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Routing/RouteArray");
|
|
134
134
|
var RouteArray_default = /*#__PURE__*/__webpack_require__.n(RouteArray_namespaceObject);
|
|
135
135
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Routing/X3DRoute\")"
|
|
136
|
-
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
136
|
+
const X3DRoute_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Routing/X3DRoute");
|
|
137
137
|
var X3DRoute_default = /*#__PURE__*/__webpack_require__.n(X3DRoute_namespaceObject);
|
|
138
138
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
139
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
139
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Namespace");
|
|
140
140
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
141
141
|
;// CONCATENATED MODULE: ./src/x_ite/Browser/Scripting/evaluate.js
|
|
142
142
|
/*******************************************************************************
|
|
@@ -203,13 +203,13 @@ const __default__ = evaluate;
|
|
|
203
203
|
Namespace_default().set ("x_ite/Browser/Scripting/evaluate", __default__);
|
|
204
204
|
/* harmony default export */ const Scripting_evaluate = (__default__);
|
|
205
205
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
|
|
206
|
-
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
206
|
+
const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Components/Core/X3DChildNode");
|
|
207
207
|
var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
|
|
208
208
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
|
|
209
|
-
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
209
|
+
const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Components/Networking/X3DUrlObject");
|
|
210
210
|
var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
|
|
211
211
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
212
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
212
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/Base/X3DConstants");
|
|
213
213
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
214
214
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/X3DScriptNode.js
|
|
215
215
|
/*******************************************************************************
|
|
@@ -293,7 +293,7 @@ const X3DScriptNode_default_ = X3DScriptNode;
|
|
|
293
293
|
Namespace_default().set ("x_ite/Components/Scripting/X3DScriptNode", X3DScriptNode_default_);
|
|
294
294
|
/* harmony default export */ const Scripting_X3DScriptNode = (X3DScriptNode_default_);
|
|
295
295
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/InputOutput/FileLoader\")"
|
|
296
|
-
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.
|
|
296
|
+
const FileLoader_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.19")] .require ("x_ite/InputOutput/FileLoader");
|
|
297
297
|
var FileLoader_default = /*#__PURE__*/__webpack_require__.n(FileLoader_namespaceObject);
|
|
298
298
|
;// CONCATENATED MODULE: ./src/x_ite/Components/Scripting/Script.js
|
|
299
299
|
/* provided dependency */ var $ = __webpack_require__(355);
|
|
@@ -374,8 +374,6 @@ function Script (executionContext)
|
|
|
374
374
|
Scripting_X3DScriptNode.call (this, executionContext);
|
|
375
375
|
|
|
376
376
|
this .addType ((X3DConstants_default()).Script);
|
|
377
|
-
|
|
378
|
-
this .pauseTime = 0;
|
|
379
377
|
}
|
|
380
378
|
|
|
381
379
|
Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prototype),
|
|
@@ -411,10 +409,7 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
411
409
|
{
|
|
412
410
|
Scripting_X3DScriptNode.prototype.initialize.call (this);
|
|
413
411
|
|
|
414
|
-
|
|
415
|
-
field .setModificationTime (0);
|
|
416
|
-
|
|
417
|
-
this .requestImmediateLoad ();
|
|
412
|
+
this .requestImmediateLoad () .catch (Function .prototype);
|
|
418
413
|
},
|
|
419
414
|
getExtendedEventHandling: function ()
|
|
420
415
|
{
|
|
@@ -428,36 +423,35 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
428
423
|
{
|
|
429
424
|
Scripting_X3DScriptNode.prototype.addUserDefinedField.call (this, accessType, name, field);
|
|
430
425
|
|
|
431
|
-
if (!
|
|
426
|
+
if (!this .isInitialized ())
|
|
432
427
|
return;
|
|
433
428
|
|
|
434
429
|
this .setLoadState ((X3DConstants_default()).NOT_STARTED_STATE);
|
|
435
|
-
this .requestImmediateLoad ();
|
|
430
|
+
this .requestImmediateLoad () .catch (Function .prototype);
|
|
436
431
|
},
|
|
437
432
|
removeUserDefinedField: function (name)
|
|
438
433
|
{
|
|
434
|
+
this .getUserDefinedFields () .get (name) ?.removeInterest ("set_field__", this);
|
|
435
|
+
|
|
439
436
|
Scripting_X3DScriptNode.prototype.removeUserDefinedField.call (this, name);
|
|
440
437
|
|
|
441
|
-
if (!
|
|
438
|
+
if (!this .isInitialized ())
|
|
442
439
|
return;
|
|
443
440
|
|
|
444
441
|
this .setLoadState ((X3DConstants_default()).NOT_STARTED_STATE);
|
|
445
|
-
this .requestImmediateLoad ();
|
|
442
|
+
this .requestImmediateLoad () .catch (Function .prototype);
|
|
446
443
|
},
|
|
447
444
|
getSourceText: function ()
|
|
448
445
|
{
|
|
449
446
|
return this ._url;
|
|
450
447
|
},
|
|
451
|
-
|
|
448
|
+
unloadData: function ()
|
|
452
449
|
{
|
|
453
450
|
this .initialize__ ("");
|
|
454
451
|
},
|
|
455
|
-
|
|
452
|
+
loadData: function ()
|
|
456
453
|
{
|
|
457
|
-
this .
|
|
458
|
-
|
|
459
|
-
new (FileLoader_default()) (this) .loadDocument (this ._url,
|
|
460
|
-
function (data)
|
|
454
|
+
new (FileLoader_default()) (this) .loadDocument (this ._url, (data) =>
|
|
461
455
|
{
|
|
462
456
|
if (data === null)
|
|
463
457
|
{
|
|
@@ -466,13 +460,12 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
466
460
|
}
|
|
467
461
|
else
|
|
468
462
|
{
|
|
469
|
-
this .setLoadState ((X3DConstants_default()).COMPLETE_STATE);
|
|
470
463
|
this .initialize__ ($.decodeText (data));
|
|
464
|
+
this .setLoadState ((X3DConstants_default()).COMPLETE_STATE);
|
|
471
465
|
}
|
|
472
|
-
}
|
|
473
|
-
.bind (this));
|
|
466
|
+
});
|
|
474
467
|
},
|
|
475
|
-
getContext: function (
|
|
468
|
+
getContext: function (sourceText)
|
|
476
469
|
{
|
|
477
470
|
try
|
|
478
471
|
{
|
|
@@ -491,20 +484,20 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
491
484
|
}
|
|
492
485
|
}
|
|
493
486
|
|
|
494
|
-
|
|
487
|
+
sourceText += "\nreturn [" + callbacks .map (function (c)
|
|
495
488
|
{
|
|
496
489
|
return `typeof ${c} !== "undefined" ? ${c} : undefined`;
|
|
497
490
|
})
|
|
498
491
|
.join (",") + "];";
|
|
499
492
|
|
|
500
|
-
this .
|
|
493
|
+
this .globalObject = this .getGlobalObject ();
|
|
501
494
|
|
|
502
495
|
const
|
|
503
|
-
result = Scripting_evaluate (this .
|
|
504
|
-
context =
|
|
496
|
+
result = Scripting_evaluate (this .globalObject, sourceText),
|
|
497
|
+
context = new Map ();
|
|
505
498
|
|
|
506
499
|
for (let i = 0; i < callbacks .length; ++ i)
|
|
507
|
-
context
|
|
500
|
+
context .set (callbacks [i], result [i]);
|
|
508
501
|
|
|
509
502
|
return context;
|
|
510
503
|
}
|
|
@@ -512,14 +505,14 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
512
505
|
{
|
|
513
506
|
this .setError ("while evaluating script source", error);
|
|
514
507
|
|
|
515
|
-
return
|
|
508
|
+
return new Map ();
|
|
516
509
|
}
|
|
517
510
|
},
|
|
518
|
-
evaluate: function (
|
|
511
|
+
evaluate: function (sourceText)
|
|
519
512
|
{
|
|
520
|
-
return Scripting_evaluate (this .
|
|
513
|
+
return Scripting_evaluate (this .globalObject, `return (${sourceText})`);
|
|
521
514
|
},
|
|
522
|
-
|
|
515
|
+
getGlobalObject: function ()
|
|
523
516
|
{
|
|
524
517
|
const
|
|
525
518
|
browser = this .getBrowser (),
|
|
@@ -548,7 +541,7 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
548
541
|
|
|
549
542
|
SFNode .prototype = (Fields_default()).SFNode.prototype;
|
|
550
543
|
|
|
551
|
-
const
|
|
544
|
+
const globalObject =
|
|
552
545
|
{
|
|
553
546
|
NULL: { value: null },
|
|
554
547
|
FALSE: { value: false },
|
|
@@ -628,9 +621,9 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
628
621
|
if (field .getAccessType () === (X3DConstants_default()).inputOnly)
|
|
629
622
|
continue;
|
|
630
623
|
|
|
631
|
-
if (!
|
|
624
|
+
if (!(name in globalObject))
|
|
632
625
|
{
|
|
633
|
-
|
|
626
|
+
globalObject [name] =
|
|
634
627
|
{
|
|
635
628
|
get: field .valueOf .bind (field),
|
|
636
629
|
set: field .setValue .bind (field),
|
|
@@ -639,7 +632,7 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
639
632
|
|
|
640
633
|
if (field .getAccessType () === (X3DConstants_default()).inputOutput)
|
|
641
634
|
{
|
|
642
|
-
|
|
635
|
+
globalObject [name + "_changed"] =
|
|
643
636
|
{
|
|
644
637
|
get: field .valueOf .bind (field),
|
|
645
638
|
set: field .setValue .bind (field),
|
|
@@ -647,138 +640,74 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
647
640
|
}
|
|
648
641
|
}
|
|
649
642
|
|
|
650
|
-
return Object .create (Object .prototype,
|
|
643
|
+
return Object .create (Object .prototype, globalObject);
|
|
651
644
|
},
|
|
652
|
-
|
|
645
|
+
initialize__: function (sourceText)
|
|
653
646
|
{
|
|
654
|
-
|
|
655
|
-
{
|
|
656
|
-
if (field .getModificationTime () <= this .pauseTime)
|
|
657
|
-
continue;
|
|
647
|
+
this .disconnect ();
|
|
658
648
|
|
|
659
|
-
|
|
660
|
-
{
|
|
661
|
-
case (X3DConstants_default()).inputOnly:
|
|
662
|
-
{
|
|
663
|
-
const callback = this .context [field .getName ()];
|
|
649
|
+
const browser = this .getBrowser ();
|
|
664
650
|
|
|
665
|
-
|
|
666
|
-
this .set_field__ (callback, field);
|
|
651
|
+
// Create context.
|
|
667
652
|
|
|
668
|
-
|
|
669
|
-
}
|
|
670
|
-
case (X3DConstants_default()).inputOutput:
|
|
671
|
-
{
|
|
672
|
-
const callback = this .context ["set_" + field .getName ()];
|
|
653
|
+
this .context = this .getContext (sourceText);
|
|
673
654
|
|
|
674
|
-
|
|
675
|
-
this .set_field__ (callback, field);
|
|
655
|
+
// Call initialize function.
|
|
676
656
|
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
initialize__: function (text)
|
|
683
|
-
{
|
|
684
|
-
this .context = this .getContext (text);
|
|
657
|
+
const initialize = this .context .get ("initialize");
|
|
685
658
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
set_live__: function ()
|
|
689
|
-
{
|
|
690
|
-
Scripting_X3DScriptNode.prototype.set_live__.call (this);
|
|
659
|
+
if (typeof initialize === "function")
|
|
660
|
+
this .call__ (initialize, "initialize");
|
|
691
661
|
|
|
692
|
-
|
|
693
|
-
return;
|
|
662
|
+
// Connect shutdown.
|
|
694
663
|
|
|
695
|
-
|
|
696
|
-
{
|
|
697
|
-
if (!this .initialized)
|
|
698
|
-
{
|
|
699
|
-
this .initialized = true;
|
|
664
|
+
const shutdown = this .context .get ("shutdown");
|
|
700
665
|
|
|
701
|
-
|
|
666
|
+
if (typeof shutdown === "function")
|
|
667
|
+
$(window) .on ("unload.Script" + this .getId (), this .call__ .bind (this, shutdown, "shutdown"));
|
|
702
668
|
|
|
703
|
-
|
|
704
|
-
{
|
|
705
|
-
const browser = this .getBrowser ();
|
|
669
|
+
// Connect prepareEvents.
|
|
706
670
|
|
|
707
|
-
|
|
671
|
+
const prepareEvents = this .context .get ("prepareEvents");
|
|
708
672
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
this .context .initialize ();
|
|
712
|
-
}
|
|
713
|
-
catch (error)
|
|
714
|
-
{
|
|
715
|
-
this .setError ("in function 'initialize'", error);
|
|
716
|
-
}
|
|
673
|
+
if (typeof prepareEvents === "function")
|
|
674
|
+
browser .prepareEvents () .addInterest ("call__", this, prepareEvents, "prepareEvents");
|
|
717
675
|
|
|
718
|
-
|
|
719
|
-
}
|
|
676
|
+
// Connect eventsProcessed.
|
|
720
677
|
|
|
721
|
-
|
|
722
|
-
$(window) .on ("unload", this .shutdown__ .bind (this));
|
|
723
|
-
}
|
|
678
|
+
const eventsProcessed = this .context .get ("eventsProcessed");
|
|
724
679
|
|
|
725
|
-
|
|
726
|
-
|
|
680
|
+
if (typeof eventsProcessed === "function")
|
|
681
|
+
this .addInterest ("call__", this, eventsProcessed, "eventsProcessed");
|
|
727
682
|
|
|
728
|
-
|
|
729
|
-
this .addInterest ("eventsProcessed__", this);
|
|
683
|
+
// Connect fields.
|
|
730
684
|
|
|
731
|
-
|
|
685
|
+
for (const field of this .getUserDefinedFields ())
|
|
686
|
+
{
|
|
687
|
+
switch (field .getAccessType ())
|
|
732
688
|
{
|
|
733
|
-
|
|
689
|
+
case (X3DConstants_default()).inputOnly:
|
|
734
690
|
{
|
|
735
|
-
|
|
736
|
-
{
|
|
737
|
-
const callback = this .context [field .getName ()];
|
|
738
|
-
|
|
739
|
-
if (typeof callback === "function")
|
|
740
|
-
field .addInterest ("set_field__", this, callback);
|
|
741
|
-
|
|
742
|
-
break;
|
|
743
|
-
}
|
|
744
|
-
case (X3DConstants_default()).inputOutput:
|
|
745
|
-
{
|
|
746
|
-
const callback = this .context ["set_" + field .getName ()];
|
|
691
|
+
const callback = this .context .get (field .getName ());
|
|
747
692
|
|
|
748
|
-
|
|
749
|
-
|
|
693
|
+
if (typeof callback === "function")
|
|
694
|
+
field .addInterest ("set_field__", this, callback);
|
|
750
695
|
|
|
751
|
-
|
|
752
|
-
}
|
|
696
|
+
break;
|
|
753
697
|
}
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
}
|
|
758
|
-
else
|
|
759
|
-
{
|
|
760
|
-
if (this .context .prepareEvents)
|
|
761
|
-
this .getBrowser () .prepareEvents () .removeInterest ("prepareEvents__", this);
|
|
698
|
+
case (X3DConstants_default()).inputOutput:
|
|
699
|
+
{
|
|
700
|
+
const callback = this .context .get ("set_" + field .getName ());
|
|
762
701
|
|
|
763
|
-
|
|
764
|
-
|
|
702
|
+
if (typeof callback === "function")
|
|
703
|
+
field .addInterest ("set_field__", this, callback);
|
|
765
704
|
|
|
766
|
-
|
|
767
|
-
{
|
|
768
|
-
switch (field .getAccessType ())
|
|
769
|
-
{
|
|
770
|
-
case (X3DConstants_default()).inputOnly:
|
|
771
|
-
case (X3DConstants_default()).inputOutput:
|
|
772
|
-
field .removeInterest ("set_field__", this);
|
|
773
|
-
break;
|
|
705
|
+
break;
|
|
774
706
|
}
|
|
775
707
|
}
|
|
776
|
-
|
|
777
|
-
if (this .initialized)
|
|
778
|
-
this .pauseTime = Date .now ();
|
|
779
708
|
}
|
|
780
709
|
},
|
|
781
|
-
|
|
710
|
+
call__: function (callback, name)
|
|
782
711
|
{
|
|
783
712
|
const browser = this .getBrowser ();
|
|
784
713
|
|
|
@@ -786,12 +715,11 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
786
715
|
|
|
787
716
|
try
|
|
788
717
|
{
|
|
789
|
-
|
|
790
|
-
browser .addBrowserEvent ();
|
|
718
|
+
callback (browser .getCurrentTime ());
|
|
791
719
|
}
|
|
792
720
|
catch (error)
|
|
793
721
|
{
|
|
794
|
-
this .setError (
|
|
722
|
+
this .setError (`in function '${name}'`, error);
|
|
795
723
|
}
|
|
796
724
|
|
|
797
725
|
browser .getScriptStack () .pop ();
|
|
@@ -815,44 +743,42 @@ Script .prototype = Object .assign (Object .create (Scripting_X3DScriptNode.prot
|
|
|
815
743
|
browser .getScriptStack () .pop ();
|
|
816
744
|
field .setTainted (false);
|
|
817
745
|
},
|
|
818
|
-
|
|
746
|
+
setError: function (reason, error)
|
|
819
747
|
{
|
|
820
|
-
|
|
748
|
+
console .error ("JavaScript Error in Script '" + this .getName () + "', " + reason + "\nworld url is '" + this .getExecutionContext () .getWorldURL () + "':");
|
|
749
|
+
console .error (error);
|
|
750
|
+
},
|
|
751
|
+
disconnect: function ()
|
|
752
|
+
{
|
|
753
|
+
// Call shutdown.
|
|
821
754
|
|
|
822
|
-
|
|
755
|
+
const shutdown = this .context ?.get ("shutdown");
|
|
823
756
|
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
this .context .eventsProcessed ();
|
|
827
|
-
}
|
|
828
|
-
catch (error)
|
|
829
|
-
{
|
|
830
|
-
this .setError ("in function 'eventsProcessed'", error);
|
|
831
|
-
}
|
|
757
|
+
if (typeof shutdown === "function")
|
|
758
|
+
this .call__ (shutdown, "shutdown");
|
|
832
759
|
|
|
833
|
-
|
|
834
|
-
},
|
|
835
|
-
shutdown__: function ()
|
|
836
|
-
{
|
|
837
|
-
const browser = this .getBrowser ();
|
|
760
|
+
// Disconnect shutdown.
|
|
838
761
|
|
|
839
|
-
|
|
762
|
+
$(window) .off (".Script" + this .getId ());
|
|
840
763
|
|
|
841
|
-
|
|
842
|
-
{
|
|
843
|
-
this .context .shutdown ();
|
|
844
|
-
}
|
|
845
|
-
catch (error)
|
|
846
|
-
{
|
|
847
|
-
this .setError ("in function 'shutdown'", error);
|
|
848
|
-
}
|
|
764
|
+
// Disconnect prepareEvents.
|
|
849
765
|
|
|
850
|
-
|
|
766
|
+
this .getBrowser () .prepareEvents () .removeInterest ("call__", this);
|
|
767
|
+
|
|
768
|
+
// Disconnect eventsProcessed.
|
|
769
|
+
|
|
770
|
+
this .removeInterest ("call__", this);
|
|
771
|
+
|
|
772
|
+
// Disconnect fields.
|
|
773
|
+
|
|
774
|
+
for (const field of this .getUserDefinedFields ())
|
|
775
|
+
field .removeInterest ("set_field__", this);
|
|
851
776
|
},
|
|
852
|
-
|
|
777
|
+
dispose: function ()
|
|
853
778
|
{
|
|
854
|
-
|
|
855
|
-
|
|
779
|
+
this .disconnect ();
|
|
780
|
+
|
|
781
|
+
Scripting_X3DScriptNode.prototype.dispose.call (this);
|
|
856
782
|
},
|
|
857
783
|
});
|
|
858
784
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v8.6.17 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.17")].require("lib/jquery")}},t={};function i(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Components");var t=i.n(e);const n=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Base/X3DFieldDefinition");var o=i.n(n);const r=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Base/FieldDefinitionArray");var s=i.n(r);const a=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Base/X3DField");var c=i.n(a);const u=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Base/X3DArrayField");var l=i.n(u);const d=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Fields");var p=i.n(d);const f=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Browser/X3DBrowser");var v=i.n(f);const h=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Configuration/ComponentInfo");var S=i.n(h);const _=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Configuration/ComponentInfoArray");var F=i.n(_);const w=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Configuration/ProfileInfo");var g=i.n(w);const y=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Configuration/ProfileInfoArray");var m=i.n(y);const x=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Configuration/UnitInfo");var D=i.n(x);const X=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Configuration/UnitInfoArray");var E=i.n(X);const T=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Execution/X3DExecutionContext");var M=i.n(T);const I=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Execution/X3DScene");var b=i.n(I);const C=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Prototype/ExternProtoDeclarationArray");var O=i.n(C);const A=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Prototype/ProtoDeclarationArray");var q=i.n(A);const N=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Prototype/X3DExternProtoDeclaration");var V=i.n(N);const B=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Prototype/X3DProtoDeclaration");var P=i.n(B);const R=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Routing/RouteArray");var z=i.n(R);const L=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Routing/X3DRoute");var U=i.n(L);const k=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Namespace");var j=i.n(k);const G=function(e,t){return Function(`with (arguments [0])\n {\n delete arguments [0];\n arguments .length = 0;\n ${t}\n }`)(e)};j().set("x_ite/Browser/Scripting/evaluate",G);const $=G,H=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Components/Core/X3DChildNode");var J=i.n(H);const W=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Components/Networking/X3DUrlObject");var K=i.n(W);const Q=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/Base/X3DConstants");var Y=i.n(Q);function Z(e){J().call(this,e),K().call(this,e),this.addType(Y().X3DScriptNode)}Z.prototype=Object.assign(Object.create(J().prototype),K().prototype,{constructor:Z,initialize:function(){J().prototype.initialize.call(this),K().prototype.initialize.call(this)},dispose:function(){K().prototype.dispose.call(this),J().prototype.dispose.call(this)}});const ee=Z;j().set("x_ite/Components/Scripting/X3DScriptNode",ee);const te=ee,ie=window[Symbol.for("X_ITE.X3D-8.6.17")].require("x_ite/InputOutput/FileLoader");var ne=i.n(ie),oe=i(355);function re(e){te.call(this,e),this.addType(Y().Script),this.pauseTime=0}re.prototype=Object.assign(Object.create(te.prototype),{constructor:re,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(s())([new(o())(Y().inputOutput,"metadata",new(p().SFNode)),new(o())(Y().inputOutput,"description",new(p().SFString)),new(o())(Y().inputOutput,"load",new(p().SFBool)(!0)),new(o())(Y().inputOutput,"url",new(p().MFString)),new(o())(Y().inputOutput,"autoRefresh",new(p().SFTime)),new(o())(Y().inputOutput,"autoRefreshTimeLimit",new(p().SFTime)(3600)),new(o())(Y().initializeOnly,"directOutput",new(p().SFBool)),new(o())(Y().initializeOnly,"mustEvaluate",new(p().SFBool))]),getTypeName:function(){return"Script"},getComponentName:function(){return"Scripting"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["2.0","Infinity"]},initialize:function(){te.prototype.initialize.call(this);for(const e of this.getUserDefinedFields())e.setModificationTime(0);this.requestImmediateLoad()},getExtendedEventHandling:function(){return!1},canUserDefinedFields:function(){return!0},addUserDefinedField:function(e,t,i){te.prototype.addUserDefinedField.call(this,e,t,i),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad())},removeUserDefinedField:function(e){te.prototype.removeUserDefinedField.call(this,e),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad())},getSourceText:function(){return this._url},unLoadNow:function(){this.initialize__("")},loadNow:function(){this.initialized=!1,new(ne())(this).loadDocument(this._url,function(e){null===e?this.setLoadState(Y().FAILED_STATE):(this.setLoadState(Y().COMPLETE_STATE),this.initialize__(oe.decodeText(e)))}.bind(this))},getContext:function(e){try{const t=["initialize","prepareEvents","eventsProcessed","shutdown"];for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:t.push(e.getName());break;case Y().inputOutput:t.push("set_"+e.getName())}e+="\nreturn ["+t.map((function(e){return`typeof ${e} !== "undefined" ? ${e} : undefined`})).join(",")+"];",this.global=this.getGlobal();const i=$(this.global,e),n={};for(let e=0;e<t.length;++e)n[t[e]]=i[e];return n}catch(e){return this.setError("while evaluating script source",e),{}}},evaluate:function(e){return $(this.global,`return (${e})`)},getGlobal:function(){const e=this.getBrowser(),t=this.getExecutionContext(),i=this.getLive();function n(n){const o=e.createX3DFromString(String(n)),r=o.getRootNodes();if(i.addFieldInterest(o.getLive()),o.setLive(i.getValue()),o.setPrivate(t.isPrivate()),o.setExecutionContext(t),r.length&&r[0])return r[0];throw new Error("SFNode.new: invalid argument, must be 'string' is 'undefined'.")}n.prototype=p().SFNode.prototype;const r={NULL:{value:null},FALSE:{value:!1},TRUE:{value:!0},print:{value:e.println.bind(e)},trace:{value:e.println.bind(e)},Browser:{value:e},X3DConstants:{value:Y()},X3DBrowser:{value:v()},X3DExecutionContext:{value:M()},X3DScene:{value:b()},ComponentInfo:{value:S()},ComponentInfoArray:{value:F()},ProfileInfo:{value:g()},ProfileInfoArray:{value:m()},UnitInfo:{value:D()},UnitInfoArray:{value:E()},ExternProtoDeclarationArray:{value:O()},ProtoDeclarationArray:{value:q()},X3DExternProtoDeclaration:{value:V()},X3DProtoDeclaration:{value:P()},RouteArray:{value:z()},X3DRoute:{value:U()},X3DFieldDefinition:{value:o()},FieldDefinitionArray:{value:s()},X3DField:{value:c()},X3DArrayField:{value:l()},SFColor:{value:p().SFColor},SFColorRGBA:{value:p().SFColorRGBA},SFImage:{value:p().SFImage},SFMatrix3d:{value:p().SFMatrix3d},SFMatrix3f:{value:p().SFMatrix3f},SFMatrix4d:{value:p().SFMatrix4d},SFMatrix4f:{value:p().SFMatrix4f},SFNode:{value:n},SFRotation:{value:p().SFRotation},SFVec2d:{value:p().SFVec2d},SFVec2f:{value:p().SFVec2f},SFVec3d:{value:p().SFVec3d},SFVec3f:{value:p().SFVec3f},SFVec4d:{value:p().SFVec4d},SFVec4f:{value:p().SFVec4f},VrmlMatrix:{value:p().VrmlMatrix},MFBool:{value:p().MFBool},MFColor:{value:p().MFColor},MFColorRGBA:{value:p().MFColorRGBA},MFDouble:{value:p().MFDouble},MFFloat:{value:p().MFFloat},MFImage:{value:p().MFImage},MFInt32:{value:p().MFInt32},MFMatrix3d:{value:p().MFMatrix3d},MFMatrix3f:{value:p().MFMatrix3f},MFMatrix4d:{value:p().MFMatrix4d},MFMatrix4f:{value:p().MFMatrix4f},MFNode:{value:p().MFNode},MFRotation:{value:p().MFRotation},MFString:{value:p().MFString},MFTime:{value:p().MFTime},MFVec2d:{value:p().MFVec2d},MFVec2f:{value:p().MFVec2f},MFVec3d:{value:p().MFVec3d},MFVec3f:{value:p().MFVec3f},MFVec4d:{value:p().MFVec4d},MFVec4f:{value:p().MFVec4f}};for(const e of this.getUserDefinedFields()){const t=e.getName();e.getAccessType()!==Y().inputOnly&&(t in r||(r[t]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}),e.getAccessType()===Y().inputOutput&&(r[t+"_changed"]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}))}return Object.create(Object.prototype,r)},processOutstandingEvents:function(){for(const e of this.getUserDefinedFields())if(!(e.getModificationTime()<=this.pauseTime))switch(e.getAccessType()){case Y().inputOnly:{const t=this.context[e.getName()];"function"==typeof t&&this.set_field__(t,e);break}case Y().inputOutput:{const t=this.context["set_"+e.getName()];"function"==typeof t&&this.set_field__(t,e);break}}},initialize__:function(e){this.context=this.getContext(e),this.set_live__()},set_live__:function(){if(te.prototype.set_live__.call(this),this.context)if(this.getLive().getValue()){if(!this.initialized){if(this.initialized=!0,"function"==typeof this.context.initialize){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.initialize()}catch(e){this.setError("in function 'initialize'",e)}e.getScriptStack().pop()}"function"==typeof this.context.shutdown&&oe(window).on("unload",this.shutdown__.bind(this))}"function"==typeof this.context.prepareEvents&&this.getBrowser().prepareEvents().addInterest("prepareEvents__",this),"function"==typeof this.context.eventsProcessed&&this.addInterest("eventsProcessed__",this);for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:{const t=this.context[e.getName()];"function"==typeof t&&e.addInterest("set_field__",this,t);break}case Y().inputOutput:{const t=this.context["set_"+e.getName()];"function"==typeof t&&e.addInterest("set_field__",this,t);break}}this.processOutstandingEvents()}else{this.context.prepareEvents&&this.getBrowser().prepareEvents().removeInterest("prepareEvents__",this),this.context.eventsProcessed&&this.removeInterest("eventsProcessed__",this);for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:case Y().inputOutput:e.removeInterest("set_field__",this)}this.initialized&&(this.pauseTime=Date.now())}},prepareEvents__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.prepareEvents(e.getCurrentTime()),e.addBrowserEvent()}catch(e){this.setError("in function 'prepareEvents'",e)}e.getScriptStack().pop()},set_field__:function(e,t){const i=this.getBrowser();t.setTainted(!0),i.getScriptStack().push(this);try{e(t.valueOf(),i.getCurrentTime())}catch(e){this.setError("in function '"+t.getName()+"'",e)}i.getScriptStack().pop(),t.setTainted(!1)},eventsProcessed__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.eventsProcessed()}catch(e){this.setError("in function 'eventsProcessed'",e)}e.getScriptStack().pop()},shutdown__:function(){const e=this.getBrowser();e.getScriptStack().push(this);try{this.context.shutdown()}catch(e){this.setError("in function 'shutdown'",e)}e.getScriptStack().pop()},setError:function(e,t){console.error("JavaScript Error in Script '"+this.getName()+"', "+e+"\nworld url is '"+this.getExecutionContext().getWorldURL()+"':"),console.error(t)}});const se=re;j().set("x_ite/Components/Scripting/Script",se);const ae=se;t().addComponent({name:"Scripting",types:{Script:ae},abstractTypes:{X3DScriptNode:te}});const ce=void 0;j().set("assets/components/Scripting",ce)})()})();
|
|
1
|
+
/* X_ITE v8.6.19 */(()=>{"use strict";var e={355:e=>{e.exports=window[Symbol.for("X_ITE.X3D-8.6.19")].require("lib/jquery")}},t={};function o(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Components");var t=o.n(e);const i=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Base/X3DFieldDefinition");var n=o.n(i);const r=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Base/FieldDefinitionArray");var a=o.n(r);const s=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Base/X3DField");var l=o.n(s);const c=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Base/X3DArrayField");var u=o.n(c);const d=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Fields");var f=o.n(d);const p=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Browser/X3DBrowser");var v=o.n(p);const F=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Configuration/ComponentInfo");var S=o.n(F);const _=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Configuration/ComponentInfoArray");var h=o.n(_);const w=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Configuration/ProfileInfo");var g=o.n(w);const y=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Configuration/ProfileInfoArray");var m=o.n(y);const D=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Configuration/UnitInfo");var X=o.n(D);const x=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Configuration/UnitInfoArray");var I=o.n(x);const M=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Execution/X3DExecutionContext");var E=o.n(M);const b=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Execution/X3DScene");var T=o.n(b);const C=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Prototype/ExternProtoDeclarationArray");var O=o.n(C);const A=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Prototype/ProtoDeclarationArray");var q=o.n(A);const V=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Prototype/X3DExternProtoDeclaration");var N=o.n(V);const B=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Prototype/X3DProtoDeclaration");var P=o.n(B);const R=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Routing/RouteArray");var L=o.n(R);const U=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Routing/X3DRoute");var j=o.n(U);const z=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Namespace");var k=o.n(z);const G=function(e,t){return Function(`with (arguments [0])\n {\n delete arguments [0];\n arguments .length = 0;\n ${t}\n }`)(e)};k().set("x_ite/Browser/Scripting/evaluate",G);const $=G,H=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Components/Core/X3DChildNode");var J=o.n(H);const W=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Components/Networking/X3DUrlObject");var K=o.n(W);const Q=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/Base/X3DConstants");var Y=o.n(Q);function Z(e){J().call(this,e),K().call(this,e),this.addType(Y().X3DScriptNode)}Z.prototype=Object.assign(Object.create(J().prototype),K().prototype,{constructor:Z,initialize:function(){J().prototype.initialize.call(this),K().prototype.initialize.call(this)},dispose:function(){K().prototype.dispose.call(this),J().prototype.dispose.call(this)}});const ee=Z;k().set("x_ite/Components/Scripting/X3DScriptNode",ee);const te=ee,oe=window[Symbol.for("X_ITE.X3D-8.6.19")].require("x_ite/InputOutput/FileLoader");var ie=o.n(oe),ne=o(355);function re(e){te.call(this,e),this.addType(Y().Script)}re.prototype=Object.assign(Object.create(te.prototype),{constructor:re,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(a())([new(n())(Y().inputOutput,"metadata",new(f().SFNode)),new(n())(Y().inputOutput,"description",new(f().SFString)),new(n())(Y().inputOutput,"load",new(f().SFBool)(!0)),new(n())(Y().inputOutput,"url",new(f().MFString)),new(n())(Y().inputOutput,"autoRefresh",new(f().SFTime)),new(n())(Y().inputOutput,"autoRefreshTimeLimit",new(f().SFTime)(3600)),new(n())(Y().initializeOnly,"directOutput",new(f().SFBool)),new(n())(Y().initializeOnly,"mustEvaluate",new(f().SFBool))]),getTypeName:function(){return"Script"},getComponentName:function(){return"Scripting"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["2.0","Infinity"]},initialize:function(){te.prototype.initialize.call(this),this.requestImmediateLoad().catch(Function.prototype)},getExtendedEventHandling:function(){return!1},canUserDefinedFields:function(){return!0},addUserDefinedField:function(e,t,o){te.prototype.addUserDefinedField.call(this,e,t,o),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad().catch(Function.prototype))},removeUserDefinedField:function(e){this.getUserDefinedFields().get(e)?.removeInterest("set_field__",this),te.prototype.removeUserDefinedField.call(this,e),this.isInitialized()&&(this.setLoadState(Y().NOT_STARTED_STATE),this.requestImmediateLoad().catch(Function.prototype))},getSourceText:function(){return this._url},unloadData:function(){this.initialize__("")},loadData:function(){new(ie())(this).loadDocument(this._url,(e=>{null===e?this.setLoadState(Y().FAILED_STATE):(this.initialize__(ne.decodeText(e)),this.setLoadState(Y().COMPLETE_STATE))}))},getContext:function(e){try{const t=["initialize","prepareEvents","eventsProcessed","shutdown"];for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:t.push(e.getName());break;case Y().inputOutput:t.push("set_"+e.getName())}e+="\nreturn ["+t.map((function(e){return`typeof ${e} !== "undefined" ? ${e} : undefined`})).join(",")+"];",this.globalObject=this.getGlobalObject();const o=$(this.globalObject,e),i=new Map;for(let e=0;e<t.length;++e)i.set(t[e],o[e]);return i}catch(e){return this.setError("while evaluating script source",e),new Map}},evaluate:function(e){return $(this.globalObject,`return (${e})`)},getGlobalObject:function(){const e=this.getBrowser(),t=this.getExecutionContext(),o=this.getLive();function i(i){const n=e.createX3DFromString(String(i)),r=n.getRootNodes();if(o.addFieldInterest(n.getLive()),n.setLive(o.getValue()),n.setPrivate(t.isPrivate()),n.setExecutionContext(t),r.length&&r[0])return r[0];throw new Error("SFNode.new: invalid argument, must be 'string' is 'undefined'.")}i.prototype=f().SFNode.prototype;const r={NULL:{value:null},FALSE:{value:!1},TRUE:{value:!0},print:{value:e.println.bind(e)},trace:{value:e.println.bind(e)},Browser:{value:e},X3DConstants:{value:Y()},X3DBrowser:{value:v()},X3DExecutionContext:{value:E()},X3DScene:{value:T()},ComponentInfo:{value:S()},ComponentInfoArray:{value:h()},ProfileInfo:{value:g()},ProfileInfoArray:{value:m()},UnitInfo:{value:X()},UnitInfoArray:{value:I()},ExternProtoDeclarationArray:{value:O()},ProtoDeclarationArray:{value:q()},X3DExternProtoDeclaration:{value:N()},X3DProtoDeclaration:{value:P()},RouteArray:{value:L()},X3DRoute:{value:j()},X3DFieldDefinition:{value:n()},FieldDefinitionArray:{value:a()},X3DField:{value:l()},X3DArrayField:{value:u()},SFColor:{value:f().SFColor},SFColorRGBA:{value:f().SFColorRGBA},SFImage:{value:f().SFImage},SFMatrix3d:{value:f().SFMatrix3d},SFMatrix3f:{value:f().SFMatrix3f},SFMatrix4d:{value:f().SFMatrix4d},SFMatrix4f:{value:f().SFMatrix4f},SFNode:{value:i},SFRotation:{value:f().SFRotation},SFVec2d:{value:f().SFVec2d},SFVec2f:{value:f().SFVec2f},SFVec3d:{value:f().SFVec3d},SFVec3f:{value:f().SFVec3f},SFVec4d:{value:f().SFVec4d},SFVec4f:{value:f().SFVec4f},VrmlMatrix:{value:f().VrmlMatrix},MFBool:{value:f().MFBool},MFColor:{value:f().MFColor},MFColorRGBA:{value:f().MFColorRGBA},MFDouble:{value:f().MFDouble},MFFloat:{value:f().MFFloat},MFImage:{value:f().MFImage},MFInt32:{value:f().MFInt32},MFMatrix3d:{value:f().MFMatrix3d},MFMatrix3f:{value:f().MFMatrix3f},MFMatrix4d:{value:f().MFMatrix4d},MFMatrix4f:{value:f().MFMatrix4f},MFNode:{value:f().MFNode},MFRotation:{value:f().MFRotation},MFString:{value:f().MFString},MFTime:{value:f().MFTime},MFVec2d:{value:f().MFVec2d},MFVec2f:{value:f().MFVec2f},MFVec3d:{value:f().MFVec3d},MFVec3f:{value:f().MFVec3f},MFVec4d:{value:f().MFVec4d},MFVec4f:{value:f().MFVec4f}};for(const e of this.getUserDefinedFields()){const t=e.getName();e.getAccessType()!==Y().inputOnly&&(t in r||(r[t]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}),e.getAccessType()===Y().inputOutput&&(r[t+"_changed"]={get:e.valueOf.bind(e),set:e.setValue.bind(e)}))}return Object.create(Object.prototype,r)},initialize__:function(e){this.disconnect();const t=this.getBrowser();this.context=this.getContext(e);const o=this.context.get("initialize");"function"==typeof o&&this.call__(o,"initialize");const i=this.context.get("shutdown");"function"==typeof i&&ne(window).on("unload.Script"+this.getId(),this.call__.bind(this,i,"shutdown"));const n=this.context.get("prepareEvents");"function"==typeof n&&t.prepareEvents().addInterest("call__",this,n,"prepareEvents");const r=this.context.get("eventsProcessed");"function"==typeof r&&this.addInterest("call__",this,r,"eventsProcessed");for(const e of this.getUserDefinedFields())switch(e.getAccessType()){case Y().inputOnly:{const t=this.context.get(e.getName());"function"==typeof t&&e.addInterest("set_field__",this,t);break}case Y().inputOutput:{const t=this.context.get("set_"+e.getName());"function"==typeof t&&e.addInterest("set_field__",this,t);break}}},call__:function(e,t){const o=this.getBrowser();o.getScriptStack().push(this);try{e(o.getCurrentTime())}catch(e){this.setError(`in function '${t}'`,e)}o.getScriptStack().pop()},set_field__:function(e,t){const o=this.getBrowser();t.setTainted(!0),o.getScriptStack().push(this);try{e(t.valueOf(),o.getCurrentTime())}catch(e){this.setError("in function '"+t.getName()+"'",e)}o.getScriptStack().pop(),t.setTainted(!1)},setError:function(e,t){console.error("JavaScript Error in Script '"+this.getName()+"', "+e+"\nworld url is '"+this.getExecutionContext().getWorldURL()+"':"),console.error(t)},disconnect:function(){const e=this.context?.get("shutdown");"function"==typeof e&&this.call__(e,"shutdown"),ne(window).off(".Script"+this.getId()),this.getBrowser().prepareEvents().removeInterest("call__",this),this.removeInterest("call__",this);for(const e of this.getUserDefinedFields())e.removeInterest("set_field__",this)},dispose:function(){this.disconnect(),te.prototype.dispose.call(this)}});const ae=re;k().set("x_ite/Components/Scripting/Script",ae);const se=ae;t().addComponent({name:"Scripting",types:{Script:se},abstractTypes:{X3DScriptNode:te}});const le=void 0;k().set("assets/components/Scripting",le)})()})();
|