x_ite 8.6.11 → 8.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (414) hide show
  1. package/dist/LICENSE.md +4 -4
  2. package/dist/assets/components/Annotation.js +37 -13
  3. package/dist/assets/components/Annotation.min.js +1 -1
  4. package/dist/assets/components/CADGeometry.js +45 -45
  5. package/dist/assets/components/CADGeometry.min.js +1 -1
  6. package/dist/assets/components/CubeMapTexturing.js +37 -26
  7. package/dist/assets/components/CubeMapTexturing.min.js +1 -1
  8. package/dist/assets/components/DIS.js +37 -13
  9. package/dist/assets/components/DIS.min.js +1 -1
  10. package/dist/assets/components/EventUtilities.js +37 -9
  11. package/dist/assets/components/EventUtilities.min.js +1 -1
  12. package/dist/assets/components/Geometry2D.js +51 -19
  13. package/dist/assets/components/Geometry2D.min.js +1 -1
  14. package/dist/assets/components/Geospatial.js +77 -33
  15. package/dist/assets/components/Geospatial.min.js +1 -1
  16. package/dist/assets/components/HAnim.js +42 -18
  17. package/dist/assets/components/HAnim.min.js +1 -1
  18. package/dist/assets/components/KeyDeviceSensor.js +16 -8
  19. package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
  20. package/dist/assets/components/Layout.js +68 -42
  21. package/dist/assets/components/Layout.min.js +1 -1
  22. package/dist/assets/components/NURBS.js +80 -24
  23. package/dist/assets/components/NURBS.min.js +1 -1
  24. package/dist/assets/components/ParticleSystems.js +176 -26
  25. package/dist/assets/components/ParticleSystems.min.js +1 -1
  26. package/dist/assets/components/Picking.js +152 -22
  27. package/dist/assets/components/Picking.min.js +1 -1
  28. package/dist/assets/components/RigidBodyPhysics.js +88 -76
  29. package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
  30. package/dist/assets/components/Scripting.js +32 -28
  31. package/dist/assets/components/Scripting.min.js +1 -1
  32. package/dist/assets/components/Text.js +32 -24
  33. package/dist/assets/components/Text.min.js +1 -1
  34. package/dist/assets/components/TextureProjector.js +22 -14
  35. package/dist/assets/components/TextureProjector.min.js +1 -1
  36. package/dist/assets/components/Texturing3D.js +62 -30
  37. package/dist/assets/components/Texturing3D.min.js +1 -1
  38. package/dist/assets/components/VolumeRendering.js +71 -19
  39. package/dist/assets/components/VolumeRendering.min.js +1 -1
  40. package/dist/assets/components/X_ITE.js +13 -9
  41. package/dist/assets/components/X_ITE.min.js +1 -1
  42. package/dist/x_ite.css +1 -1
  43. package/dist/x_ite.js +1450 -971
  44. package/dist/x_ite.min.js +1 -1
  45. package/dist/x_ite.zip +0 -0
  46. package/docs/_config.yml +1 -1
  47. package/docs/_posts/components/Core/WorldInfo.md +1 -1
  48. package/docs/_posts/components/EnvironmentalEffects/Background.md +1 -1
  49. package/docs/_posts/components/EnvironmentalEffects/Fog.md +1 -1
  50. package/docs/_posts/components/EnvironmentalSensor/ProximitySensor.md +1 -1
  51. package/docs/_posts/components/EnvironmentalSensor/VisibilitySensor.md +1 -1
  52. package/docs/_posts/components/Geometry3D/Box.md +1 -1
  53. package/docs/_posts/components/Geometry3D/Cone.md +1 -1
  54. package/docs/_posts/components/Geometry3D/Cylinder.md +1 -1
  55. package/docs/_posts/components/Geometry3D/ElevationGrid.md +1 -1
  56. package/docs/_posts/components/Geometry3D/Extrusion.md +1 -1
  57. package/docs/_posts/components/Geometry3D/IndexedFaceSet.md +2 -2
  58. package/docs/_posts/components/Geometry3D/Sphere.md +1 -1
  59. package/docs/_posts/components/Grouping/Group.md +1 -1
  60. package/docs/_posts/components/Grouping/Switch.md +1 -1
  61. package/docs/_posts/components/Grouping/Transform.md +1 -1
  62. package/docs/_posts/components/Interpolation/ColorInterpolator.md +1 -1
  63. package/docs/_posts/components/Interpolation/CoordinateInterpolator.md +1 -1
  64. package/docs/_posts/components/Interpolation/NormalInterpolator.md +1 -1
  65. package/docs/_posts/components/Interpolation/OrientationInterpolator.md +1 -1
  66. package/docs/_posts/components/Interpolation/PositionInterpolator.md +1 -1
  67. package/docs/_posts/components/Interpolation/ScalarInterpolator.md +1 -1
  68. package/docs/_posts/components/Lighting/DirectionalLight.md +5 -5
  69. package/docs/_posts/components/Lighting/EnvironmentLight.md +4 -4
  70. package/docs/_posts/components/Lighting/PointLight.md +5 -5
  71. package/docs/_posts/components/Lighting/SpotLight.md +5 -5
  72. package/docs/_posts/components/Navigation/Billboard.md +1 -1
  73. package/docs/_posts/components/Navigation/Collision.md +1 -1
  74. package/docs/_posts/components/Navigation/LOD.md +1 -1
  75. package/docs/_posts/components/Navigation/NavigationInfo.md +1 -1
  76. package/docs/_posts/components/Navigation/Viewpoint.md +1 -1
  77. package/docs/_posts/components/Networking/Anchor.md +1 -1
  78. package/docs/_posts/components/Networking/Inline.md +1 -1
  79. package/docs/_posts/components/PointingDeviceSensor/CylinderSensor.md +1 -1
  80. package/docs/_posts/components/PointingDeviceSensor/PlaneSensor.md +1 -1
  81. package/docs/_posts/components/PointingDeviceSensor/SphereSensor.md +1 -1
  82. package/docs/_posts/components/PointingDeviceSensor/TouchSensor.md +1 -1
  83. package/docs/_posts/components/Rendering/Color.md +1 -1
  84. package/docs/_posts/components/Rendering/Coordinate.md +1 -1
  85. package/docs/_posts/components/Rendering/IndexedLineSet.md +2 -2
  86. package/docs/_posts/components/Rendering/IndexedTriangleFanSet.md +1 -1
  87. package/docs/_posts/components/Rendering/Normal.md +1 -1
  88. package/docs/_posts/components/Rendering/PointSet.md +1 -1
  89. package/docs/_posts/components/RigidBodyPhysics/RigidBody.md +1 -1
  90. package/docs/_posts/components/RigidBodyPhysics/RigidBodyCollection.md +1 -1
  91. package/docs/_posts/components/RigidBodyPhysics/SingleAxisHingeJoint.md +1 -1
  92. package/docs/_posts/components/RigidBodyPhysics/SliderJoint.md +3 -3
  93. package/docs/_posts/components/Scripting/Script.md +1 -1
  94. package/docs/_posts/components/Shape/Appearance.md +1 -1
  95. package/docs/_posts/components/Shape/Material.md +1 -9
  96. package/docs/_posts/components/Shape/PhysicalMaterial.md +0 -8
  97. package/docs/_posts/components/Shape/Shape.md +1 -1
  98. package/docs/_posts/components/Shape/UnlitMaterial.md +0 -8
  99. package/docs/_posts/components/Sound/AudioClip.md +1 -1
  100. package/docs/_posts/components/Sound/Sound.md +1 -1
  101. package/docs/_posts/components/Text/FontStyle.md +1 -1
  102. package/docs/_posts/components/Text/Text.md +1 -1
  103. package/docs/_posts/components/Texturing/ImageTexture.md +1 -5
  104. package/docs/_posts/components/Texturing/MovieTexture.md +1 -5
  105. package/docs/_posts/components/Texturing/PixelTexture.md +1 -1
  106. package/docs/_posts/components/Texturing/TextureCoordinate.md +1 -1
  107. package/docs/_posts/components/Texturing/TextureTransform.md +1 -1
  108. package/docs/_posts/components/Time/TimeSensor.md +1 -1
  109. package/docs/_posts/components/X_ITE/BlendMode.md +1 -1
  110. package/docs/_posts/getting-started.md +8 -3
  111. package/docs/_posts/reference/browser-services.md +1 -1
  112. package/docs/_posts/reference/ecmascript-object-and-function-definitions.md +16 -99
  113. package/docs/_posts/what's-new.md +1 -1
  114. package/docs/laboratory/gltf-sample-viewer.html +1 -1
  115. package/package.json +3 -3
  116. package/src/lib/jquery.js +6 -1
  117. package/src/standard/Math/Geometry/Box3.js +2 -5
  118. package/src/tests.js +2 -0
  119. package/src/x_ite/Base/X3DBaseNode.js +8 -0
  120. package/src/x_ite/Base/X3DObject.js +14 -1
  121. package/src/x_ite/Browser/Core/BrowserOptions.js +27 -29
  122. package/src/x_ite/Browser/Core/BrowserTimings.js +2 -16
  123. package/src/x_ite/Browser/Core/X3DCoreContext.js +6 -3
  124. package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +9 -15
  125. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +3 -3
  126. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +20 -15
  127. package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +3 -3
  128. package/src/x_ite/Browser/VERSION.js +1 -1
  129. package/src/x_ite/Browser/X3DBrowser.js +2 -2
  130. package/src/x_ite/Browser/X3DBrowserContext.js +21 -12
  131. package/src/x_ite/Components/Annotation/AnnotationLayer.js +4 -0
  132. package/src/x_ite/Components/Annotation/AnnotationTarget.js +4 -0
  133. package/src/x_ite/Components/Annotation/GroupAnnotation.js +4 -0
  134. package/src/x_ite/Components/Annotation/IconAnnotation.js +4 -0
  135. package/src/x_ite/Components/Annotation/TextAnnotation.js +4 -0
  136. package/src/x_ite/Components/Annotation/URLAnnotation.js +4 -0
  137. package/src/x_ite/Components/CADGeometry/CADAssembly.js +4 -0
  138. package/src/x_ite/Components/CADGeometry/CADFace.js +12 -32
  139. package/src/x_ite/Components/CADGeometry/CADLayer.js +4 -0
  140. package/src/x_ite/Components/CADGeometry/CADPart.js +4 -0
  141. package/src/x_ite/Components/CADGeometry/IndexedQuadSet.js +4 -0
  142. package/src/x_ite/Components/CADGeometry/QuadSet.js +4 -0
  143. package/src/x_ite/Components/Core/MetadataBoolean.js +4 -0
  144. package/src/x_ite/Components/Core/MetadataDouble.js +4 -0
  145. package/src/x_ite/Components/Core/MetadataFloat.js +4 -0
  146. package/src/x_ite/Components/Core/MetadataInteger.js +4 -0
  147. package/src/x_ite/Components/Core/MetadataSet.js +4 -0
  148. package/src/x_ite/Components/Core/MetadataString.js +4 -0
  149. package/src/x_ite/Components/Core/WorldInfo.js +4 -0
  150. package/src/x_ite/Components/Core/X3DNode.js +1 -1
  151. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +1 -1
  152. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +4 -1
  153. package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +4 -0
  154. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +4 -0
  155. package/src/x_ite/Components/DIS/DISEntityManager.js +4 -0
  156. package/src/x_ite/Components/DIS/DISEntityTypeMapping.js +4 -0
  157. package/src/x_ite/Components/DIS/EspduTransform.js +4 -0
  158. package/src/x_ite/Components/DIS/ReceiverPdu.js +4 -0
  159. package/src/x_ite/Components/DIS/SignalPdu.js +4 -0
  160. package/src/x_ite/Components/DIS/TransmitterPdu.js +4 -0
  161. package/src/x_ite/Components/EnvironmentalEffects/Background.js +4 -0
  162. package/src/x_ite/Components/EnvironmentalEffects/Fog.js +4 -0
  163. package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +4 -0
  164. package/src/x_ite/Components/EnvironmentalEffects/LocalFog.js +4 -0
  165. package/src/x_ite/Components/EnvironmentalEffects/TextureBackground.js +4 -0
  166. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +4 -0
  167. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +4 -0
  168. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +4 -0
  169. package/src/x_ite/Components/EventUtilities/BooleanFilter.js +4 -0
  170. package/src/x_ite/Components/EventUtilities/BooleanSequencer.js +4 -0
  171. package/src/x_ite/Components/EventUtilities/BooleanToggle.js +4 -0
  172. package/src/x_ite/Components/EventUtilities/BooleanTrigger.js +4 -0
  173. package/src/x_ite/Components/EventUtilities/IntegerSequencer.js +4 -0
  174. package/src/x_ite/Components/EventUtilities/IntegerTrigger.js +4 -0
  175. package/src/x_ite/Components/EventUtilities/TimeTrigger.js +4 -0
  176. package/src/x_ite/Components/Followers/ColorChaser.js +4 -0
  177. package/src/x_ite/Components/Followers/ColorDamper.js +4 -0
  178. package/src/x_ite/Components/Followers/CoordinateChaser.js +4 -0
  179. package/src/x_ite/Components/Followers/CoordinateDamper.js +4 -0
  180. package/src/x_ite/Components/Followers/OrientationChaser.js +4 -0
  181. package/src/x_ite/Components/Followers/OrientationDamper.js +4 -0
  182. package/src/x_ite/Components/Followers/PositionChaser.js +4 -0
  183. package/src/x_ite/Components/Followers/PositionChaser2D.js +4 -0
  184. package/src/x_ite/Components/Followers/PositionDamper.js +4 -0
  185. package/src/x_ite/Components/Followers/PositionDamper2D.js +4 -0
  186. package/src/x_ite/Components/Followers/ScalarChaser.js +4 -0
  187. package/src/x_ite/Components/Followers/ScalarDamper.js +4 -0
  188. package/src/x_ite/Components/Followers/TexCoordChaser2D.js +4 -0
  189. package/src/x_ite/Components/Followers/TexCoordDamper2D.js +4 -0
  190. package/src/x_ite/Components/Geometry2D/Arc2D.js +4 -0
  191. package/src/x_ite/Components/Geometry2D/ArcClose2D.js +4 -0
  192. package/src/x_ite/Components/Geometry2D/Circle2D.js +4 -0
  193. package/src/x_ite/Components/Geometry2D/Disk2D.js +4 -0
  194. package/src/x_ite/Components/Geometry2D/Polyline2D.js +4 -0
  195. package/src/x_ite/Components/Geometry2D/Polypoint2D.js +4 -0
  196. package/src/x_ite/Components/Geometry2D/Rectangle2D.js +4 -0
  197. package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +4 -0
  198. package/src/x_ite/Components/Geometry3D/Box.js +4 -0
  199. package/src/x_ite/Components/Geometry3D/Cone.js +4 -0
  200. package/src/x_ite/Components/Geometry3D/Cylinder.js +4 -0
  201. package/src/x_ite/Components/Geometry3D/ElevationGrid.js +4 -0
  202. package/src/x_ite/Components/Geometry3D/Extrusion.js +4 -0
  203. package/src/x_ite/Components/Geometry3D/IndexedFaceSet.js +4 -0
  204. package/src/x_ite/Components/Geometry3D/Sphere.js +4 -0
  205. package/src/x_ite/Components/Geospatial/GeoCoordinate.js +4 -0
  206. package/src/x_ite/Components/Geospatial/GeoElevationGrid.js +4 -0
  207. package/src/x_ite/Components/Geospatial/GeoLOD.js +4 -0
  208. package/src/x_ite/Components/Geospatial/GeoLocation.js +4 -0
  209. package/src/x_ite/Components/Geospatial/GeoMetadata.js +4 -0
  210. package/src/x_ite/Components/Geospatial/GeoOrigin.js +4 -0
  211. package/src/x_ite/Components/Geospatial/GeoPositionInterpolator.js +4 -0
  212. package/src/x_ite/Components/Geospatial/GeoProximitySensor.js +4 -0
  213. package/src/x_ite/Components/Geospatial/GeoTouchSensor.js +4 -0
  214. package/src/x_ite/Components/Geospatial/GeoTransform.js +4 -0
  215. package/src/x_ite/Components/Geospatial/GeoViewpoint.js +4 -0
  216. package/src/x_ite/Components/Grouping/Group.js +4 -0
  217. package/src/x_ite/Components/Grouping/StaticGroup.js +23 -0
  218. package/src/x_ite/Components/Grouping/Switch.js +11 -25
  219. package/src/x_ite/Components/Grouping/Transform.js +4 -0
  220. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +0 -1
  221. package/src/x_ite/Components/HAnim/HAnimDisplacer.js +4 -0
  222. package/src/x_ite/Components/HAnim/HAnimHumanoid.js +4 -0
  223. package/src/x_ite/Components/HAnim/HAnimJoint.js +4 -0
  224. package/src/x_ite/Components/HAnim/HAnimMotion.js +4 -0
  225. package/src/x_ite/Components/HAnim/HAnimSegment.js +4 -0
  226. package/src/x_ite/Components/HAnim/HAnimSite.js +4 -0
  227. package/src/x_ite/Components/Interpolation/ColorInterpolator.js +4 -0
  228. package/src/x_ite/Components/Interpolation/CoordinateInterpolator.js +4 -0
  229. package/src/x_ite/Components/Interpolation/CoordinateInterpolator2D.js +4 -0
  230. package/src/x_ite/Components/Interpolation/EaseInEaseOut.js +4 -0
  231. package/src/x_ite/Components/Interpolation/NormalInterpolator.js +4 -0
  232. package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +4 -0
  233. package/src/x_ite/Components/Interpolation/PositionInterpolator.js +4 -0
  234. package/src/x_ite/Components/Interpolation/PositionInterpolator2D.js +4 -0
  235. package/src/x_ite/Components/Interpolation/ScalarInterpolator.js +4 -0
  236. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator.js +4 -0
  237. package/src/x_ite/Components/Interpolation/SplinePositionInterpolator2D.js +4 -0
  238. package/src/x_ite/Components/Interpolation/SplineScalarInterpolator.js +4 -0
  239. package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +4 -0
  240. package/src/x_ite/Components/KeyDeviceSensor/KeySensor.js +4 -0
  241. package/src/x_ite/Components/KeyDeviceSensor/StringSensor.js +4 -0
  242. package/src/x_ite/Components/Layering/Layer.js +4 -0
  243. package/src/x_ite/Components/Layering/LayerSet.js +4 -0
  244. package/src/x_ite/Components/Layering/Viewport.js +4 -0
  245. package/src/x_ite/Components/Layout/Layout.js +16 -10
  246. package/src/x_ite/Components/Layout/LayoutGroup.js +13 -5
  247. package/src/x_ite/Components/Layout/LayoutLayer.js +4 -0
  248. package/src/x_ite/Components/Layout/ScreenFontStyle.js +4 -0
  249. package/src/x_ite/Components/Layout/ScreenGroup.js +4 -0
  250. package/src/x_ite/Components/Lighting/DirectionalLight.js +4 -0
  251. package/src/x_ite/Components/Lighting/EnvironmentLight.js +4 -0
  252. package/src/x_ite/Components/Lighting/PointLight.js +4 -0
  253. package/src/x_ite/Components/Lighting/SpotLight.js +7 -9
  254. package/src/x_ite/Components/NURBS/Contour2D.js +4 -0
  255. package/src/x_ite/Components/NURBS/ContourPolyline2D.js +4 -0
  256. package/src/x_ite/Components/NURBS/CoordinateDouble.js +4 -0
  257. package/src/x_ite/Components/NURBS/NurbsCurve.js +4 -0
  258. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +4 -0
  259. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +4 -0
  260. package/src/x_ite/Components/NURBS/NurbsPatchSurface.js +4 -0
  261. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +4 -0
  262. package/src/x_ite/Components/NURBS/NurbsSet.js +4 -0
  263. package/src/x_ite/Components/NURBS/NurbsSurfaceInterpolator.js +4 -0
  264. package/src/x_ite/Components/NURBS/NurbsSweptSurface.js +4 -0
  265. package/src/x_ite/Components/NURBS/NurbsSwungSurface.js +4 -0
  266. package/src/x_ite/Components/NURBS/NurbsTextureCoordinate.js +4 -0
  267. package/src/x_ite/Components/NURBS/NurbsTrimmedSurface.js +4 -0
  268. package/src/x_ite/Components/Navigation/Billboard.js +4 -0
  269. package/src/x_ite/Components/Navigation/Collision.js +4 -0
  270. package/src/x_ite/Components/Navigation/LOD.js +11 -25
  271. package/src/x_ite/Components/Navigation/NavigationInfo.js +4 -0
  272. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +4 -0
  273. package/src/x_ite/Components/Navigation/Viewpoint.js +4 -0
  274. package/src/x_ite/Components/Navigation/ViewpointGroup.js +4 -0
  275. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +9 -1
  276. package/src/x_ite/Components/Networking/Anchor.js +4 -0
  277. package/src/x_ite/Components/Networking/Inline.js +4 -0
  278. package/src/x_ite/Components/Networking/LoadSensor.js +42 -29
  279. package/src/x_ite/Components/ParticleSystems/BoundedPhysicsModel.js +4 -0
  280. package/src/x_ite/Components/ParticleSystems/ConeEmitter.js +4 -0
  281. package/src/x_ite/Components/ParticleSystems/ExplosionEmitter.js +4 -0
  282. package/src/x_ite/Components/ParticleSystems/ForcePhysicsModel.js +4 -0
  283. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +4 -0
  284. package/src/x_ite/Components/ParticleSystems/PointEmitter.js +4 -0
  285. package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +4 -0
  286. package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +4 -0
  287. package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +4 -0
  288. package/src/x_ite/Components/ParticleSystems/WindPhysicsModel.js +4 -0
  289. package/src/x_ite/Components/Picking/LinePickSensor.js +4 -0
  290. package/src/x_ite/Components/Picking/PickableGroup.js +4 -0
  291. package/src/x_ite/Components/Picking/PointPickSensor.js +4 -0
  292. package/src/x_ite/Components/Picking/PrimitivePickSensor.js +4 -0
  293. package/src/x_ite/Components/Picking/VolumePickSensor.js +4 -0
  294. package/src/x_ite/Components/PointingDeviceSensor/CylinderSensor.js +4 -0
  295. package/src/x_ite/Components/PointingDeviceSensor/PlaneSensor.js +4 -0
  296. package/src/x_ite/Components/PointingDeviceSensor/SphereSensor.js +4 -0
  297. package/src/x_ite/Components/PointingDeviceSensor/TouchSensor.js +4 -0
  298. package/src/x_ite/Components/Rendering/ClipPlane.js +4 -0
  299. package/src/x_ite/Components/Rendering/Color.js +4 -0
  300. package/src/x_ite/Components/Rendering/ColorRGBA.js +4 -0
  301. package/src/x_ite/Components/Rendering/Coordinate.js +4 -0
  302. package/src/x_ite/Components/Rendering/IndexedLineSet.js +4 -0
  303. package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +4 -0
  304. package/src/x_ite/Components/Rendering/IndexedTriangleSet.js +4 -0
  305. package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +4 -0
  306. package/src/x_ite/Components/Rendering/LineSet.js +4 -0
  307. package/src/x_ite/Components/Rendering/Normal.js +4 -0
  308. package/src/x_ite/Components/Rendering/PointSet.js +4 -0
  309. package/src/x_ite/Components/Rendering/TriangleFanSet.js +4 -0
  310. package/src/x_ite/Components/Rendering/TriangleSet.js +4 -0
  311. package/src/x_ite/Components/Rendering/TriangleStripSet.js +4 -0
  312. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +15 -8
  313. package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +4 -0
  314. package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +11 -29
  315. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +11 -29
  316. package/src/x_ite/Components/RigidBodyPhysics/CollisionCollection.js +4 -0
  317. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +4 -0
  318. package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +4 -0
  319. package/src/x_ite/Components/RigidBodyPhysics/Contact.js +4 -0
  320. package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +4 -0
  321. package/src/x_ite/Components/RigidBodyPhysics/MotorJoint.js +4 -0
  322. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +4 -0
  323. package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +4 -0
  324. package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +4 -0
  325. package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +4 -0
  326. package/src/x_ite/Components/RigidBodyPhysics/UniversalJoint.js +4 -0
  327. package/src/x_ite/Components/Scripting/Script.js +4 -0
  328. package/src/x_ite/Components/Shaders/ComposedShader.js +7 -3
  329. package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +4 -0
  330. package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +4 -0
  331. package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +4 -0
  332. package/src/x_ite/Components/Shaders/PackagedShader.js +4 -0
  333. package/src/x_ite/Components/Shaders/ProgramShader.js +4 -0
  334. package/src/x_ite/Components/Shaders/ShaderPart.js +4 -0
  335. package/src/x_ite/Components/Shaders/ShaderProgram.js +4 -0
  336. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +3 -8
  337. package/src/x_ite/Components/Shape/AcousticProperties.js +4 -0
  338. package/src/x_ite/Components/Shape/Appearance.js +4 -0
  339. package/src/x_ite/Components/Shape/FillProperties.js +4 -0
  340. package/src/x_ite/Components/Shape/LineProperties.js +4 -0
  341. package/src/x_ite/Components/Shape/Material.js +4 -1
  342. package/src/x_ite/Components/Shape/PhysicalMaterial.js +4 -1
  343. package/src/x_ite/Components/Shape/PointProperties.js +4 -0
  344. package/src/x_ite/Components/Shape/Shape.js +4 -5
  345. package/src/x_ite/Components/Shape/TwoSidedMaterial.js +4 -0
  346. package/src/x_ite/Components/Shape/UnlitMaterial.js +4 -1
  347. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +5 -7
  348. package/src/x_ite/Components/Shape/X3DShapeNode.js +21 -17
  349. package/src/x_ite/Components/Sound/Analyser.js +4 -0
  350. package/src/x_ite/Components/Sound/AudioClip.js +4 -0
  351. package/src/x_ite/Components/Sound/AudioDestination.js +4 -0
  352. package/src/x_ite/Components/Sound/BiquadFilter.js +4 -0
  353. package/src/x_ite/Components/Sound/BufferAudioSource.js +4 -0
  354. package/src/x_ite/Components/Sound/ChannelMerger.js +4 -0
  355. package/src/x_ite/Components/Sound/ChannelSelector.js +4 -0
  356. package/src/x_ite/Components/Sound/ChannelSplitter.js +4 -0
  357. package/src/x_ite/Components/Sound/Convolver.js +4 -0
  358. package/src/x_ite/Components/Sound/Delay.js +4 -0
  359. package/src/x_ite/Components/Sound/DynamicsCompressor.js +4 -0
  360. package/src/x_ite/Components/Sound/Gain.js +4 -0
  361. package/src/x_ite/Components/Sound/ListenerPointSource.js +4 -0
  362. package/src/x_ite/Components/Sound/MicrophoneSource.js +4 -0
  363. package/src/x_ite/Components/Sound/OscillatorSource.js +4 -0
  364. package/src/x_ite/Components/Sound/PeriodicWave.js +4 -0
  365. package/src/x_ite/Components/Sound/Sound.js +4 -0
  366. package/src/x_ite/Components/Sound/SpatialSound.js +4 -0
  367. package/src/x_ite/Components/Sound/StreamAudioDestination.js +4 -0
  368. package/src/x_ite/Components/Sound/StreamAudioSource.js +4 -0
  369. package/src/x_ite/Components/Sound/WaveShaper.js +4 -0
  370. package/src/x_ite/Components/Text/FontStyle.js +4 -0
  371. package/src/x_ite/Components/Text/Text.js +4 -0
  372. package/src/x_ite/Components/TextureProjector/TextureProjector.js +4 -0
  373. package/src/x_ite/Components/TextureProjector/TextureProjectorParallel.js +4 -0
  374. package/src/x_ite/Components/Texturing/ImageTexture.js +11 -11
  375. package/src/x_ite/Components/Texturing/MovieTexture.js +8 -5
  376. package/src/x_ite/Components/Texturing/MultiTexture.js +4 -0
  377. package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +4 -0
  378. package/src/x_ite/Components/Texturing/MultiTextureTransform.js +4 -0
  379. package/src/x_ite/Components/Texturing/PixelTexture.js +4 -0
  380. package/src/x_ite/Components/Texturing/TextureCoordinate.js +4 -0
  381. package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +4 -0
  382. package/src/x_ite/Components/Texturing/TextureProperties.js +4 -0
  383. package/src/x_ite/Components/Texturing/TextureTransform.js +4 -0
  384. package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +4 -0
  385. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +4 -0
  386. package/src/x_ite/Components/Texturing3D/ImageTextureAtlas.js +4 -0
  387. package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +4 -0
  388. package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +4 -0
  389. package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +4 -0
  390. package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +4 -0
  391. package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +4 -0
  392. package/src/x_ite/Components/Time/TimeSensor.js +4 -0
  393. package/src/x_ite/Components/VolumeRendering/BlendedVolumeStyle.js +4 -0
  394. package/src/x_ite/Components/VolumeRendering/BoundaryEnhancementVolumeStyle.js +4 -0
  395. package/src/x_ite/Components/VolumeRendering/CartoonVolumeStyle.js +4 -0
  396. package/src/x_ite/Components/VolumeRendering/ComposedVolumeStyle.js +4 -0
  397. package/src/x_ite/Components/VolumeRendering/EdgeEnhancementVolumeStyle.js +4 -0
  398. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +4 -0
  399. package/src/x_ite/Components/VolumeRendering/OpacityMapVolumeStyle.js +4 -0
  400. package/src/x_ite/Components/VolumeRendering/ProjectionVolumeStyle.js +4 -0
  401. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +4 -0
  402. package/src/x_ite/Components/VolumeRendering/ShadedVolumeStyle.js +4 -0
  403. package/src/x_ite/Components/VolumeRendering/SilhouetteEnhancementVolumeStyle.js +4 -0
  404. package/src/x_ite/Components/VolumeRendering/ToneMappedVolumeStyle.js +4 -0
  405. package/src/x_ite/Components/VolumeRendering/VolumeData.js +4 -0
  406. package/src/x_ite/Components/X_ITE/BlendMode.js +4 -0
  407. package/src/x_ite/Execution/X3DExecutionContext.js +16 -0
  408. package/src/x_ite/Fields/SFNode.js +8 -0
  409. package/src/x_ite/InputOutput/FileLoader.js +1 -1
  410. package/src/x_ite/Parser/GLTF2Parser.js +26 -5
  411. package/src/x_ite/Parser/VRMLParser.js +3 -3
  412. package/src/x_ite/Parser/XMLParser.js +3 -3
  413. package/src/x_ite/{X3DCanvas.js → X3DCanvasElement.js} +23 -4
  414. package/src/x_ite.js +4 -4
@@ -1,4 +1,4 @@
1
- /* X_ITE v8.6.11 */(() => { // webpackBootstrap
1
+ /* X_ITE v8.6.13 */(() => { // webpackBootstrap
2
2
  /******/ "use strict";
3
3
  /******/ // The require scope
4
4
  /******/ var __webpack_require__ = {};
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
39
39
  // UNUSED EXPORTS: default
40
40
 
41
41
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
42
- const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components");
42
+ const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components");
43
43
  var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
44
44
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
45
- const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Fields");
45
+ const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Fields");
46
46
  var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
47
47
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
48
- const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Base/X3DFieldDefinition");
48
+ const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DFieldDefinition");
49
49
  var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
50
50
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
51
- const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Base/FieldDefinitionArray");
51
+ const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/FieldDefinitionArray");
52
52
  var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
53
53
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DCoordinateNode\")"
54
- const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
54
+ const X3DCoordinateNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Rendering/X3DCoordinateNode");
55
55
  var X3DCoordinateNode_default = /*#__PURE__*/__webpack_require__.n(X3DCoordinateNode_namespaceObject);
56
56
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
57
- const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Base/X3DConstants");
57
+ const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DConstants");
58
58
  var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
59
59
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
60
- const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Namespace");
60
+ const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Namespace");
61
61
  var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
62
62
  ;// CONCATENATED MODULE: ./src/standard/Math/Geometry/Spheroid3.js
63
63
  /*******************************************************************************
@@ -249,10 +249,10 @@ const ReferenceEllipsoids_default_ = ReferenceEllipsoids;
249
249
  Namespace_default().set ("standard/Geospatial/ReferenceEllipsoids", ReferenceEllipsoids_default_);
250
250
  /* harmony default export */ const Geospatial_ReferenceEllipsoids = (ReferenceEllipsoids_default_);
251
251
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
252
- const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Numbers/Vector3");
252
+ const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Vector3");
253
253
  var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
254
254
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
255
- const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Algorithm");
255
+ const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Algorithm");
256
256
  var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
257
257
  ;// CONCATENATED MODULE: ./src/standard/Geospatial/Geodetic.js
258
258
  /*******************************************************************************
@@ -1021,10 +1021,10 @@ const Geospatial_default_ = Geospatial;
1021
1021
  Namespace_default().set ("x_ite/Browser/Geospatial/Geospatial", Geospatial_default_);
1022
1022
  /* harmony default export */ const Geospatial_Geospatial = (Geospatial_default_);
1023
1023
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
1024
- const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Base/X3DCast");
1024
+ const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Base/X3DCast");
1025
1025
  var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
1026
1026
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
1027
- const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Numbers/Matrix4");
1027
+ const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Matrix4");
1028
1028
  var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
1029
1029
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/X3DGeospatialObject.js
1030
1030
  /*******************************************************************************
@@ -1291,7 +1291,7 @@ const X3DGeospatialObject_default_ = X3DGeospatialObject;
1291
1291
  Namespace_default().set ("x_ite/Components/Geospatial/X3DGeospatialObject", X3DGeospatialObject_default_);
1292
1292
  /* harmony default export */ const Geospatial_X3DGeospatialObject = (X3DGeospatialObject_default_);
1293
1293
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Triangle3\")"
1294
- const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Geometry/Triangle3");
1294
+ const Triangle3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Geometry/Triangle3");
1295
1295
  var Triangle3_default = /*#__PURE__*/__webpack_require__.n(Triangle3_namespaceObject);
1296
1296
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoCoordinate.js
1297
1297
  /*******************************************************************************
@@ -1380,6 +1380,10 @@ GeoCoordinate .prototype = Object .assign (Object .create ((X3DCoordinateNode_de
1380
1380
  {
1381
1381
  return "coord";
1382
1382
  },
1383
+ getSpecificationRange: function ()
1384
+ {
1385
+ return ["3.0", "Infinity"];
1386
+ },
1383
1387
  initialize: function ()
1384
1388
  {
1385
1389
  X3DCoordinateNode_default().prototype.initialize.call (this);
@@ -1522,10 +1526,10 @@ const GeoCoordinate_default_ = GeoCoordinate;
1522
1526
  Namespace_default().set ("x_ite/Components/Geospatial/GeoCoordinate", GeoCoordinate_default_);
1523
1527
  /* harmony default export */ const Geospatial_GeoCoordinate = (GeoCoordinate_default_);
1524
1528
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Rendering/X3DGeometryNode\")"
1525
- const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
1529
+ const X3DGeometryNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Rendering/X3DGeometryNode");
1526
1530
  var X3DGeometryNode_default = /*#__PURE__*/__webpack_require__.n(X3DGeometryNode_namespaceObject);
1527
1531
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector2\")"
1528
- const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Numbers/Vector2");
1532
+ const Vector2_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Vector2");
1529
1533
  var Vector2_default = /*#__PURE__*/__webpack_require__.n(Vector2_namespaceObject);
1530
1534
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoElevationGrid.js
1531
1535
  /*******************************************************************************
@@ -1637,6 +1641,10 @@ GeoElevationGrid .prototype = Object .assign (Object .create ((X3DGeometryNode_d
1637
1641
  {
1638
1642
  return "geometry";
1639
1643
  },
1644
+ getSpecificationRange: function ()
1645
+ {
1646
+ return ["3.0", "Infinity"];
1647
+ },
1640
1648
  initialize: function ()
1641
1649
  {
1642
1650
  X3DGeometryNode_default().prototype.initialize.call (this);
@@ -1947,22 +1955,22 @@ const GeoElevationGrid_default_ = GeoElevationGrid;
1947
1955
  Namespace_default().set ("x_ite/Components/Geospatial/GeoElevationGrid", GeoElevationGrid_default_);
1948
1956
  /* harmony default export */ const Geospatial_GeoElevationGrid = (GeoElevationGrid_default_);
1949
1957
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DChildNode\")"
1950
- const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Core/X3DChildNode");
1958
+ const X3DChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Core/X3DChildNode");
1951
1959
  var X3DChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DChildNode_namespaceObject);
1952
1960
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DBoundedObject\")"
1953
- const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
1961
+ const X3DBoundedObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Grouping/X3DBoundedObject");
1954
1962
  var X3DBoundedObject_default = /*#__PURE__*/__webpack_require__.n(X3DBoundedObject_namespaceObject);
1955
1963
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
1956
- const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Rendering/TraverseType");
1964
+ const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Rendering/TraverseType");
1957
1965
  var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
1958
1966
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/Group\")"
1959
- const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Grouping/Group");
1967
+ const Group_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Grouping/Group");
1960
1968
  var Group_default = /*#__PURE__*/__webpack_require__.n(Group_namespaceObject);
1961
1969
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/Inline\")"
1962
- const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Networking/Inline");
1970
+ const Inline_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Networking/Inline");
1963
1971
  var Inline_default = /*#__PURE__*/__webpack_require__.n(Inline_namespaceObject);
1964
1972
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
1965
- const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Geometry/Box3");
1973
+ const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Geometry/Box3");
1966
1974
  var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
1967
1975
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLOD.js
1968
1976
  /*******************************************************************************
@@ -2087,6 +2095,10 @@ GeoLOD .prototype = Object .assign (Object .create ((X3DChildNode_default()).pro
2087
2095
  {
2088
2096
  return "children";
2089
2097
  },
2098
+ getSpecificationRange: function ()
2099
+ {
2100
+ return ["3.0", "Infinity"];
2101
+ },
2090
2102
  initialize: function ()
2091
2103
  {
2092
2104
  X3DChildNode_default().prototype.initialize.call (this);
@@ -2421,7 +2433,7 @@ const GeoLOD_default_ = GeoLOD;
2421
2433
  Namespace_default().set ("x_ite/Components/Geospatial/GeoLOD", GeoLOD_default_);
2422
2434
  /* harmony default export */ const Geospatial_GeoLOD = (GeoLOD_default_);
2423
2435
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Grouping/X3DTransformMatrix3DNode\")"
2424
- const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
2436
+ const X3DTransformMatrix3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Grouping/X3DTransformMatrix3DNode");
2425
2437
  var X3DTransformMatrix3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DTransformMatrix3DNode_namespaceObject);
2426
2438
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoLocation.js
2427
2439
  /*******************************************************************************
@@ -2518,6 +2530,10 @@ GeoLocation .prototype = Object .assign (Object .create ((X3DTransformMatrix3DNo
2518
2530
  {
2519
2531
  return "children";
2520
2532
  },
2533
+ getSpecificationRange: function ()
2534
+ {
2535
+ return ["3.0", "Infinity"];
2536
+ },
2521
2537
  initialize: function ()
2522
2538
  {
2523
2539
  X3DTransformMatrix3DNode_default().prototype.initialize.call (this);
@@ -2544,10 +2560,10 @@ const GeoLocation_default_ = GeoLocation;
2544
2560
  Namespace_default().set ("x_ite/Components/Geospatial/GeoLocation", GeoLocation_default_);
2545
2561
  /* harmony default export */ const Geospatial_GeoLocation = (GeoLocation_default_);
2546
2562
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DInfoNode\")"
2547
- const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Core/X3DInfoNode");
2563
+ const X3DInfoNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Core/X3DInfoNode");
2548
2564
  var X3DInfoNode_default = /*#__PURE__*/__webpack_require__.n(X3DInfoNode_namespaceObject);
2549
2565
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Networking/X3DUrlObject\")"
2550
- const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Networking/X3DUrlObject");
2566
+ const X3DUrlObject_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Networking/X3DUrlObject");
2551
2567
  var X3DUrlObject_default = /*#__PURE__*/__webpack_require__.n(X3DUrlObject_namespaceObject);
2552
2568
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoMetadata.js
2553
2569
  /*******************************************************************************
@@ -2637,6 +2653,10 @@ GeoMetadata .prototype = Object .assign (Object .create ((X3DInfoNode_default())
2637
2653
  {
2638
2654
  return "children";
2639
2655
  },
2656
+ getSpecificationRange: function ()
2657
+ {
2658
+ return ["3.0", "Infinity"];
2659
+ },
2640
2660
  initialize: function ()
2641
2661
  {
2642
2662
  X3DInfoNode_default().prototype.initialize.call (this);
@@ -2663,7 +2683,7 @@ const GeoMetadata_default_ = GeoMetadata;
2663
2683
  Namespace_default().set ("x_ite/Components/Geospatial/GeoMetadata", GeoMetadata_default_);
2664
2684
  /* harmony default export */ const Geospatial_GeoMetadata = (GeoMetadata_default_);
2665
2685
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
2666
- const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Core/X3DNode");
2686
+ const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Core/X3DNode");
2667
2687
  var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
2668
2688
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoOrigin.js
2669
2689
  /*******************************************************************************
@@ -2750,6 +2770,10 @@ GeoOrigin .prototype = Object .assign (Object .create ((X3DNode_default()).proto
2750
2770
  {
2751
2771
  return "geoOrigin";
2752
2772
  },
2773
+ getSpecificationRange: function ()
2774
+ {
2775
+ return ["3.0", "Infinity"];
2776
+ },
2753
2777
  initialize: function ()
2754
2778
  {
2755
2779
  X3DNode_default().prototype.initialize.call (this);
@@ -2774,7 +2798,7 @@ const GeoOrigin_default_ = GeoOrigin;
2774
2798
  Namespace_default().set ("x_ite/Components/Geospatial/GeoOrigin", GeoOrigin_default_);
2775
2799
  /* harmony default export */ const Geospatial_GeoOrigin = (GeoOrigin_default_);
2776
2800
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Interpolation/X3DInterpolatorNode\")"
2777
- const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
2801
+ const X3DInterpolatorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Interpolation/X3DInterpolatorNode");
2778
2802
  var X3DInterpolatorNode_default = /*#__PURE__*/__webpack_require__.n(X3DInterpolatorNode_namespaceObject);
2779
2803
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoPositionInterpolator.js
2780
2804
  /*******************************************************************************
@@ -2871,6 +2895,10 @@ GeoPositionInterpolator .prototype = Object .assign (Object .create ((X3DInterpo
2871
2895
  {
2872
2896
  return "children";
2873
2897
  },
2898
+ getSpecificationRange: function ()
2899
+ {
2900
+ return ["3.0", "Infinity"];
2901
+ },
2874
2902
  setup: function ()
2875
2903
  {
2876
2904
  Geospatial_X3DGeospatialObject.prototype.initialize.call (this);
@@ -2923,10 +2951,10 @@ const GeoPositionInterpolator_default_ = GeoPositionInterpolator;
2923
2951
  Namespace_default().set ("x_ite/Components/Geospatial/GeoPositionInterpolator", GeoPositionInterpolator_default_);
2924
2952
  /* harmony default export */ const Geospatial_GeoPositionInterpolator = (GeoPositionInterpolator_default_);
2925
2953
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode\")"
2926
- const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
2954
+ const X3DEnvironmentalSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");
2927
2955
  var X3DEnvironmentalSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DEnvironmentalSensorNode_namespaceObject);
2928
2956
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/EnvironmentalSensor/ProximitySensor\")"
2929
- const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
2957
+ const ProximitySensor_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/EnvironmentalSensor/ProximitySensor");
2930
2958
  var ProximitySensor_default = /*#__PURE__*/__webpack_require__.n(ProximitySensor_namespaceObject);
2931
2959
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoProximitySensor.js
2932
2960
  /*******************************************************************************
@@ -3034,6 +3062,10 @@ GeoProximitySensor .prototype = Object .assign (Object .create ((X3DEnvironmenta
3034
3062
  {
3035
3063
  return "children";
3036
3064
  },
3065
+ getSpecificationRange: function ()
3066
+ {
3067
+ return ["3.2", "Infinity"];
3068
+ },
3037
3069
  initialize: function ()
3038
3070
  {
3039
3071
  X3DEnvironmentalSensorNode_default().prototype.initialize.call (this);
@@ -3082,7 +3114,7 @@ const GeoProximitySensor_default_ = GeoProximitySensor;
3082
3114
  Namespace_default().set ("x_ite/Components/Geospatial/GeoProximitySensor", GeoProximitySensor_default_);
3083
3115
  /* harmony default export */ const Geospatial_GeoProximitySensor = (GeoProximitySensor_default_);
3084
3116
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode\")"
3085
- const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
3117
+ const X3DTouchSensorNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");
3086
3118
  var X3DTouchSensorNode_default = /*#__PURE__*/__webpack_require__.n(X3DTouchSensorNode_namespaceObject);
3087
3119
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoTouchSensor.js
3088
3120
  /*******************************************************************************
@@ -3180,6 +3212,10 @@ GeoTouchSensor .prototype = Object .assign (Object .create ((X3DTouchSensorNode_
3180
3212
  {
3181
3213
  return "children";
3182
3214
  },
3215
+ getSpecificationRange: function ()
3216
+ {
3217
+ return ["3.0", "Infinity"];
3218
+ },
3183
3219
  initialize: function ()
3184
3220
  {
3185
3221
  X3DTouchSensorNode_default().prototype.initialize.call (this);
@@ -3312,6 +3348,10 @@ GeoTransform .prototype = Object .assign (Object .create ((X3DTransformMatrix3DN
3312
3348
  {
3313
3349
  return "children";
3314
3350
  },
3351
+ getSpecificationRange: function ()
3352
+ {
3353
+ return ["3.0", "Infinity"];
3354
+ },
3315
3355
  initialize: function ()
3316
3356
  {
3317
3357
  X3DTransformMatrix3DNode_default().prototype.initialize.call (this);
@@ -3345,16 +3385,16 @@ const GeoTransform_default_ = GeoTransform;
3345
3385
  Namespace_default().set ("x_ite/Components/Geospatial/GeoTransform", GeoTransform_default_);
3346
3386
  /* harmony default export */ const Geospatial_GeoTransform = (GeoTransform_default_);
3347
3387
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/X3DViewpointNode\")"
3348
- const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
3388
+ const X3DViewpointNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Navigation/X3DViewpointNode");
3349
3389
  var X3DViewpointNode_default = /*#__PURE__*/__webpack_require__.n(X3DViewpointNode_namespaceObject);
3350
3390
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/Viewpoint\")"
3351
- const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Navigation/Viewpoint");
3391
+ const Viewpoint_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Navigation/Viewpoint");
3352
3392
  var Viewpoint_default = /*#__PURE__*/__webpack_require__.n(Viewpoint_namespaceObject);
3353
3393
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Navigation/NavigationInfo\")"
3354
- const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("x_ite/Components/Navigation/NavigationInfo");
3394
+ const NavigationInfo_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("x_ite/Components/Navigation/NavigationInfo");
3355
3395
  var NavigationInfo_default = /*#__PURE__*/__webpack_require__.n(NavigationInfo_namespaceObject);
3356
3396
  ;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Rotation4\")"
3357
- const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.11")] .require ("standard/Math/Numbers/Rotation4");
3397
+ const Rotation4_namespaceObject = window [Symbol .for ("X_ITE.X3D-8.6.13")] .require ("standard/Math/Numbers/Rotation4");
3358
3398
  var Rotation4_default = /*#__PURE__*/__webpack_require__.n(Rotation4_namespaceObject);
3359
3399
  ;// CONCATENATED MODULE: ./src/x_ite/Components/Geospatial/GeoViewpoint.js
3360
3400
  /*******************************************************************************
@@ -3472,6 +3512,10 @@ GeoViewpoint .prototype = Object .assign (Object .create ((X3DViewpointNode_defa
3472
3512
  {
3473
3513
  return "children";
3474
3514
  },
3515
+ getSpecificationRange: function ()
3516
+ {
3517
+ return ["3.0", "Infinity"];
3518
+ },
3475
3519
  initialize: function ()
3476
3520
  {
3477
3521
  X3DViewpointNode_default().prototype.initialize.call (this);
@@ -1 +1 @@
1
- /* X_ITE v8.6.11 */(()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var n in i)e.o(i,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:i[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components");var i=e.n(t);const n=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Fields");var o=e.n(n);const s=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DFieldDefinition");var r=e.n(s);const a=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/FieldDefinitionArray");var l=e.n(a);const h=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Rendering/X3DCoordinateNode");var c=e.n(h);const d=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DConstants");var u=e.n(d);const p=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Namespace");var g=e.n(p);function _(e,t){switch(arguments.length){case 0:this.semiMajorAxis=0,this.semiMinorAxis=0;break;case 2:this.semiMajorAxis=e,this.semiMinorAxis=t;break;case 3:const i=arguments[1];this.semiMajorAxis=e,this.semiMinorAxis=e*(1-1/i)}}_.prototype={constructor:_,getSemiMajorAxis:function(){return this.semiMajorAxis},getSemiMinorAxis:function(){return this.semiMinorAxis},toString:function(){return this.semiMajorAxis+" "+this.semiMinorAxis}};const w=_;g().set("standard/Math/Geometry/Spheroid3",w);const f=w,m={AA:new f(6377563.396,299.3249646,!0),AM:new f(6377340.189,299.3249646,!0),AN:new f(6378160,298.25,!0),BN:new f(6377483.865,299.1528128,!0),BR:new f(6377397.155,299.1528128,!0),CC:new f(6378206.4,294.9786982,!0),CD:new f(6378249.145,293.465,!0),EA:new f(6377276.345,300.8017,!0),EB:new f(6377298.556,300.8017,!0),EC:new f(6377301.243,300.8017,!0),ED:new f(6377295.664,300.8017,!0),EE:new f(6377304.063,300.8017,!0),EF:new f(6377309.613,300.8017,!0),FA:new f(6378155,298.3,!0),HE:new f(6378200,298.3,!0),HO:new f(6378270,297,!0),ID:new f(6378160,298.247,!0),IN:new f(6378388,297,!0),KA:new f(6378245,298.3,!0),RF:new f(6378137,298.257222101,!0),SA:new f(6378160,298.25,!0),WD:new f(6378135,298.26,!0),WE:new f(6378137,298.257223563,!0),SUN:new f(696342e3,1/9e-6,!0),MERCURY:new f(2439700,2439700),VENUS:new f(6051800,6051800),MOON:new f(1738140,1735970),MARS:new f(3395428,3377678),JUPITER:new f(71492e3,66854e3),SATURN:new f(60268e3,54364e3),URANUS:new f(2555e3,24973e3),NEPTUNE:new f(24764e3,24341e3),PLUTO:new f(1153e3,1153e3)};g().set("standard/Geospatial/ReferenceEllipsoids",m);const y=m,O=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Vector3");var S=e.n(O);const I=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Algorithm");var b=e.n(I);function F(e,t,i){this.longitudeFirst=!t,this.degrees=!i,this.a=e.getSemiMajorAxis(),this.c=e.getSemiMinorAxis(),this.c2a2=Math.pow(e.getSemiMinorAxis()/this.a,2),this.ecc2=1-this.c2a2}F.prototype={constructor:F,convert:function(e,t){const i=e.z;if(this.longitudeFirst)var n=e.y,o=e.x;else n=e.x,o=e.y;return this.degrees&&(n*=Math.PI/180,o*=Math.PI/180),this.convertRadians(n,o,i,t)},convertRadians:function(e,t,i,n){const o=Math.sin(e),s=Math.pow(o,2),r=Math.cos(e),a=this.a/Math.sqrt(1-this.ecc2*s),l=(a+i)*r;return n.set(l*Math.cos(t),l*Math.sin(t),(a*this.c2a2+i)*o)},apply:function(e,t){if(this.applyRadians(e,t),this.degrees&&(t.x*=180/Math.PI,t.y*=180/Math.PI),this.longitudeFirst){const e=t.x;t.x=t.y,t.y=e}return t},applyRadians:function(e,t){const i=e.x,n=e.y,o=e.z,s=Math.sqrt(i*i+n*n);if(0==s)return t.set(Math.PI,0,o-this.c);let r=0,a=Math.atan2(n,i),l=0,h=this.a,c=h,d=this.ecc2;for(let e=0;e<30;++e){const e=l,t=r;r=Math.atan(o/s/(1-d*c/(c+l)));const i=Math.sin(r);if(c=h/Math.sqrt(1-d*i*i),l=s/Math.cos(r)-c,Math.abs(l-e)<.001&&Math.abs(r-t)<1e-10)break}return t.set(r,a,l)},normal:function(e,t){const i=this.applyRadians(e,t),n=i.x,o=i.y,s=Math.cos(n),r=Math.cos(o)*s,a=Math.sin(o)*s,l=Math.sin(n);return t.set(r,a,l)}};const C=F;g().set("standard/Geospatial/Geodetic",C);const v=C,x=1e7,N=5e5,M=.9996;function G(e,t,i,n){const o=e.getSemiMajorAxis(),s=1-Math.pow(e.getSemiMinorAxis()/o,2),r=s/(1-s),a=(1-Math.sqrt(1-s))/(1+Math.sqrt(1-s));this.southernHemisphere=!i,this.eastingFirst=!n,this.a=o,this.ecc2=s,this.EE=r,this.E8=8*r,this.E9=9*r,this.E252=252*r,this.e1=a,this.A=M*(o*(1-s/4-3*s*s/64-5*s*s*s/256)),this.B=3*a/2-7*a*a*a/32,this.C=21*a*a/16-55*a*a*a*a/32,this.D=151*a*a*a/96,this.E=o*(1-s),this.W=1-s/4-3*s*s/64-5*s*s*s/256,this.X=3*s/8+3*s*s/32+45*s*s*s/1024,this.Y=15*s*s/256+45*s*s*s/1024,this.Z=35*s*s*s/3072,this.longitude0=b().radians(6*t-183),this.geodeticConverter=new v(e,!0,!0)}G.prototype={constructor:G,convert:function(e,t){if(this.eastingFirst)var i=e.y,n=e.x;else i=e.x,n=e.y;let o=this.southernHemisphere;i<0&&(o=!this.southernHemisphere,i=-i),o&&(i-=x),n-=N;const s=i/this.A,r=s+this.B*Math.sin(2*s)+this.C*Math.sin(4*s)+this.D*Math.sin(6*s),a=Math.pow(Math.sin(r),2),l=Math.cos(r),h=Math.tan(r),c=this.a/Math.sqrt(1-this.ecc2*a),d=Math.pow(h,2),u=Math.pow(h,8),p=this.EE*d,g=p*p,_=this.E/Math.pow(1-this.ecc2*a,1.5),w=n/(c*M),f=(5+3*d+10*p-4*g-this.E9)*Math.pow(w,4)/24,m=(61+90*d+298*p+45*u-this.E252-3*g)*Math.pow(w,6)/720,y=(5-2*p+28*d-3*g+this.E8+24*u)*Math.pow(w,5)/120,O=r-c*h/_*(w*w/2-f+m),S=this.longitude0+(w-(1+2*d+p)*Math.pow(w,3)/6+y)/l;return this.geodeticConverter.convertRadians(O,S,e.z,t)},apply:function(e,t){const i=this.geodeticConverter.applyRadians(e,t),n=i.x,o=i.y,s=Math.tan(n),r=Math.cos(n),a=this.EE,l=this.a/Math.sqrt(1-this.ecc2*Math.pow(Math.sin(n),2)),h=s*s,c=h*h*h,d=a*r*r,u=r*(o-this.longitude0),p=this.a*(this.W*n-this.X*Math.sin(2*n)+this.Y*Math.sin(4*n)-this.Z*Math.sin(6*n)),g=M*l*(u+(1-h+d)*Math.pow(u,3)/6+(5-18*c+72*d-58*a)*Math.pow(u,5)/120)+N;let _=M*(p+l*s*(u*u/2+(5-h+9*d+4*d*d)*Math.pow(u,4)/24+(61-58*c+600*d-330*a)*Math.pow(u,6)/720));return n<0?(_+=x,this.southernHemisphere||(_=-_)):this.southernHemisphere&&(_=-_),this.eastingFirst?t.set(g,_,i.z):t.set(_,g,i.z)}};const T=G;g().set("standard/Geospatial/UniversalTransverseMercator",T);const D=T;function E(){}E.prototype={constructor:E,convert:function(e,t){return t.assign(e)},apply:function(e,t){return t.assign(e)},slerp:function(e,t,i){const n=e.magnitude(),o=t.magnitude();return e.normalize(),t.normalize(),b().simpleSlerp(e,t,i).multiply(b().lerp(n,o,i))}};const V=E;g().set("x_ite/Browser/Geospatial/Geocentric",V);const z=V;let j=0;const X=j++,P=j++,B=j++,k={GD:X,GDC:X,UTM:P,GC:B,GCC:B,GS:B},L=/^Z(\d+)$/,A={GD:X,UTM:P,GC:B,getReferenceFrame:function(e,t){switch(this.getCoordinateSystem(e)){case X:return new v(this.getEllipsoid(e),this.getLatitudeFirst(e),t);case P:return new D(this.getEllipsoid(e),this.getZone(e),this.getNorthernHemisphere(e),this.getNorthingFirst(e));case B:return new z}return new v(y.WE,!0,t)},getElevationFrame:function(e,t){return new v(this.getEllipsoid(e),!0,t)},getCoordinateSystem:function(e){for(const t of e){const e=k[t];if(void 0!==e)return e}return X},getEllipsoid:function(e){for(const t of e){const e=y[t];if(void 0!==e)return e}return y.WE},getEllipsoidString:function(e){for(const t of e){if(void 0!==y[t])return t}return"WE"},isStandardOrder:function(e){switch(this.getCoordinateSystem(e)){case X:return this.getLatitudeFirst(e);case P:return this.getNorthingFirst(e);case B:return!0}return this.getLatitudeFirst(e)},getLatitudeFirst:function(e){for(const t of e)if("longitude_first"===t)return!1;return!0},getNorthingFirst:function(e){for(const t of e)if("easting_first"===t)return!1;return!0},getZone:function(e){for(const t of e){const e=t.match(L);if(e)return parseInt(e[1])}return 1},getNorthernHemisphere:function(e){for(const t of e)if("S"===t)return!1;return!0}};g().set("x_ite/Browser/Geospatial/Geospatial",A);const R=A,U=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Base/X3DCast");var q=e.n(U);const W=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Matrix4");var H=e.n(W),Y=new(S())(0,0,0),Z=new(S())(0,0,0),K=new(S())(0,0,0),J=new(S())(0,0,0),Q=new(S())(0,0,0),$=new(S())(0,0,0);function ee(e){this.addType(u().X3DGeospatialObject),this.radians=!1,this.origin=new(S())(0,0,0),this.originMatrix=new(H()),this.invOriginMatrix=new(H())}function te(e,t){return this.invOriginMatrix.multVecMatrix(this.referenceFrame.convert(e,t))}function ie(e,t){return this.referenceFrame.apply(this.originMatrix.multVecMatrix(Y.assign(e)),t)}function ne(e,t){return this.invOriginMatrix.multDirMatrix(this.elevationFrame.normal(this.originMatrix.multVecMatrix(Y.assign(e)),t))}function oe(e,t){return se.call(this,e,t).multRight(this.invOriginMatrix)}function se(e,t){return this.referenceFrame.convert(e,K),this.elevationFrame.normal(K,Q),J.set(0,0,1).cross(Q),J.equals(S().Zero)&&J.set(1,0,0),$.assign(J).cross(Q),J.normalize(),$.normalize(),t.set(J.x,J.y,J.z,0,Q.x,Q.y,Q.z,0,$.x,$.y,$.z,0,K.x,K.y,K.z,1)}ee.prototype={constructor:ee,initialize:function(){this._geoSystem.addInterest("set_geoSystem__",this),this._geoOrigin.addInterest("set_geoOrigin__",this),this.set_geoSystem__(),this.set_geoOrigin__()},set_geoSystem__:function(){this.coordinateSystem=R.getCoordinateSystem(this._geoSystem),this.referenceFrame=R.getReferenceFrame(this._geoSystem,this.radians),this.elevationFrame=R.getElevationFrame(this._geoSystem,this.radians),this.standardOrder=R.isStandardOrder(this._geoSystem)},set_geoOrigin__:function(){this.geoOriginNode&&(this.geoOriginNode.removeInterest("set_origin__",this),this.geoOriginNode.removeInterest("set_rotateYUp__",this),this.geoOriginNode.removeInterest("addNodeEvent",this)),this.geoOriginNode=q()(u().GeoOrigin,this._geoOrigin),this.geoOriginNode&&(this.geoOriginNode.addInterest("set_origin__",this),this.geoOriginNode.addInterest("set_rotateYUp__",this),this.geoOriginNode.addInterest("addNodeEvent",this)),this.set_origin__(),this.set_rotateYUp__()},set_origin__:function(){this.geoOriginNode?this.geoOriginNode.getOrigin(this.origin):this.origin.set(0,0,0),this.set_originMatrix__()},set_originMatrix__:function(){if(this.geoOriginNode){var e=this.origin;this.elevationFrame.normal(e,Q),J.set(0,0,1).cross(Q),J.equals(S().Zero)&&J.set(1,0,0),$.assign(J).cross(Q),J.normalize(),$.normalize(),this.originMatrix.set(J.x,J.y,J.z,0,Q.x,Q.y,Q.z,0,$.x,$.y,$.z,0,e.x,e.y,e.z,1),this.invOriginMatrix.assign(this.originMatrix).inverse()}},set_rotateYUp__:function(){this.geoOriginNode&&this.geoOriginNode._rotateYUp.getValue()?(this.getCoord=te,this.getGeoCoord=ie,this.getGeoUpVector=ne,this.getLocationMatrix=oe):(delete this.getCoord,delete this.getGeoCoord,delete this.getGeoUpVector,delete this.getLocationMatrix)},getReferenceFrame:function(){return this.referenceFrame},getStandardOrder:function(){return this.standardOrder},getCoord:function(e,t){return this.referenceFrame.convert(e,t).subtract(this.origin)},getGeoCoord:function(e,t){return this.referenceFrame.apply(Y.assign(e).add(this.origin),t)},getGeoElevation:function(e){return this.getGeoCoord(e,Z).z},getGeoUpVector:function(e,t){return this.elevationFrame.normal(Y.assign(e).add(this.origin),t)},getLocationMatrix:function(e,t){var i=this.origin,n=se.call(this,e,t);return n[12]-=i.x,n[13]-=i.y,n[14]-=i.z,n},dispose:function(){}};const re=ee;g().set("x_ite/Components/Geospatial/X3DGeospatialObject",re);const ae=re,le=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Geometry/Triangle3");var he=e.n(le);function ce(e){c().call(this,e),ae.call(this,e),this.addType(u().GeoCoordinate)}ce.prototype=Object.assign(Object.create(c().prototype),ae.prototype,{constructor:ce,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"point",new(o().MFVec3d))]),getTypeName:function(){return"GeoCoordinate"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"coord"},initialize:function(){c().prototype.initialize.call(this),ae.prototype.initialize.call(this)},set1Point:function(){const e=new(S())(0,0,0);return function(t,i){this._point[t]=this.getGeoCoord(i,e)}}(),get1Point:function(){const e=new(S())(0,0,0);return function(t,i){if(t<this.length){const n=this.point;return t*=3,this.getCoord(e.set(n[t],n[t+1],n[t+2]),i)}return i.set(0,0,0)}}(),addPoint:function(){const e=new(S())(0,0,0),t=new(S())(0,0,0);return function(i,n){if(i<this.length){const o=this.point;i*=3,this.getCoord(e.set(o[i],o[i+1],o[i+2]),t),n.push(t[0],t[1],t[2],1)}else n.push(0,0,0,1)}}(),addPoints:function(){const e=new(S())(0,0,0),t=new(S())(0,0,0);return function(i,n){const o=this.point;for(let n=0,s=3*this.length;n<s;n+=3)this.getCoord(e.set(o[n],o[n+1],o[n+2]),t),i.push(t[0],t[1],t[2],1);for(let e=3*this.length,t=3*n;e<t;e+=3)i.push(0,0,0,1)}}(),getNormal:function(){const e=new(S())(0,0,0),t=new(S())(0,0,0),i=new(S())(0,0,0);return function(n,o,s){const r=this.length;return n<r&&o<r&&s<r?he().normal(this.get1Point(n,e),this.get1Point(o,t),this.get1Point(s,i),new(S())(0,0,0)):new(S())(0,0,0)}}(),getQuadNormal:function(){const e=new(S())(0,0,0),t=new(S())(0,0,0),i=new(S())(0,0,0),n=new(S())(0,0,0);return function(o,s,r,a){const l=this.length;return o<l&&s<l&&r<l&&a<l?he().quadNormal(this.get1Point(o,e),this.get1Point(s,t),this.get1Point(r,i),this.get1Point(a,n),new(S())(0,0,0)):new(S())(0,0,0)}}(),dispose:function(){ae.prototype.dispose.call(this),c().prototype.dispose.call(this)}});const de=ce;g().set("x_ite/Components/Geospatial/GeoCoordinate",de);const ue=de,pe=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Rendering/X3DGeometryNode");var ge=e.n(pe);const _e=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Vector2");var we=e.n(_e);function fe(e){ge().call(this,e),ae.call(this,e),this.addType(u().GeoElevationGrid),this._creaseAngle.setUnit("angle"),this._height.setUnit("length"),this.colorNode=null,this.texCoordNode=null,this.normalNode=null}fe.prototype=Object.assign(Object.create(ge().prototype),ae.prototype,{constructor:fe,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().initializeOnly,"geoGridOrigin",new(o().SFVec3d)),new(r())(u().initializeOnly,"xDimension",new(o().SFInt32)),new(r())(u().initializeOnly,"zDimension",new(o().SFInt32)),new(r())(u().initializeOnly,"xSpacing",new(o().SFDouble)(1)),new(r())(u().initializeOnly,"zSpacing",new(o().SFDouble)(1)),new(r())(u().inputOutput,"yScale",new(o().SFFloat)(1)),new(r())(u().initializeOnly,"solid",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"ccw",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"creaseAngle",new(o().SFDouble)),new(r())(u().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(r())(u().inputOutput,"color",new(o().SFNode)),new(r())(u().inputOutput,"texCoord",new(o().SFNode)),new(r())(u().inputOutput,"normal",new(o().SFNode)),new(r())(u().inputOutput,"height",new(o().MFDouble)(0,0))]),getTypeName:function(){return"GeoElevationGrid"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"geometry"},initialize:function(){ge().prototype.initialize.call(this),ae.prototype.initialize.call(this),this._color.addInterest("set_color__",this),this._texCoord.addInterest("set_texCoord__",this),this._normal.addInterest("set_normal__",this),this.set_color__(),this.set_texCoord__(),this.set_normal__()},set_color__:function(){this.colorNode?.removeInterest("requestRebuild",this),this.colorNode=q()(u().X3DColorNode,this._color),this.colorNode?.addInterest("requestRebuild",this),this.setTransparent(this.colorNode?.isTransparent()??!1)},set_texCoord__:function(){this.texCoordNode?.removeInterest("requestRebuild",this),this.texCoordNode=q()(u().X3DTextureCoordinateNode,this._texCoord),this.texCoordNode?.addInterest("requestRebuild",this),this.setTextureCoordinate(this.texCoordNode)},set_normal__:function(){this.normalNode?.removeInterest("requestRebuild",this),this.normalNode=q()(u().X3DNormalNode,this._normal),this.normalNode?.addInterest("requestRebuild",this)},getColor:function(){return this.colorNode},getTexCoord:function(){return this.texCoordNode},getNormal:function(){return this.normalNode},getHeight:function(e){return e<this._height.length?this._height[e]*this._yScale.getValue():0},createTexCoords:function(){for(var e=[],t=this._xDimension.getValue(),i=this._zDimension.getValue(),n=t-1,o=i-1,s=0;s<i;++s)for(var r=0;r<t;++r)e.push(new(we())(r/n,s/o));return e},createNormals:function(e,t,i){for(var n=!this._ccw.getValue(),o=[],s=[],r=0;r<e.length;++r)o[r]=[];for(var a=0;a<t.length;a+=3){var l=t[a],h=t[a+1],c=t[a+2];o[l].push(s.length),o[h].push(s.length+1),o[c].push(s.length+2);var d=he().normal(e[l],e[h],e[c],new(S())(0,0,0));n&&d.negate(),s.push(d),s.push(d),s.push(d)}return this.refineNormals(o,s,this._creaseAngle.getValue())},createCoordIndex:function(){for(var e=[],t=this._xDimension.getValue(),i=t-1,n=this._zDimension.getValue()-1,o=0;o<n;++o)for(var s=0;s<i;++s){var r=o*t+s,a=(o+1)*t+s,l=(o+1)*t+(s+1),h=o*t+(s+1);e.push(r),e.push(l),e.push(a),e.push(r),e.push(h),e.push(l)}return e},createPoints:function(){var e=[],t=this._xDimension.getValue(),i=this._zDimension.getValue(),n=this._xSpacing.getValue(),o=this._zSpacing.getValue();if(this.getStandardOrder())for(var s=0;s<i;++s)for(var r=0;r<t;++r){(a=new(S())(o*s,n*r,this.getHeight(r+s*t))).add(this._geoGridOrigin.getValue()),e.push(this.getCoord(a,a))}else for(s=0;s<i;++s)for(r=0;r<t;++r){var a;(a=new(S())(n*r,o*s,this.getHeight(r+s*t))).add(this._geoGridOrigin.getValue()),e.push(this.getCoord(a,a))}return e},build:function(){if(!(this._xDimension.getValue()<2||this._zDimension.getValue()<2)){var e=this._colorPerVertex.getValue(),t=this._normalPerVertex.getValue(),i=this.createCoordIndex(),n=this.getColor(),o=this.getTexCoord(),s=this.getNormal(),r=this.createPoints(),a=this.getColors(),l=this.getMultiTexCoords(),h=this.getNormals(),c=this.getVertices(),d=0;if(o)o.init(l);else{var u=this.createTexCoords(),p=this.getTexCoords();l.push(p)}for(var g=0;g<i.length;++d)for(var _=0;_<6;++_,++g){var w=i[g],f=r[w];if(n&&(e?n.addColor(w,a):n.addColor(d,a)),o)o.addPoint(w,l);else{var m=u[w];p.push(m.x,m.y,0,1)}s&&(t?s.addVector(w,h):s.addVector(d,h)),c.push(f.x,f.y,f.z,1)}if(!s)for(var y=this.createNormals(r,i),O=0;O<y.length;++O){var S=y[O];h.push(S.x,S.y,S.z)}this.setSolid(this._solid.getValue()),this.setCCW(this._ccw.getValue())}},dispose:function(){ae.prototype.dispose.call(this),ge().prototype.dispose.call(this)}});const me=fe;g().set("x_ite/Components/Geospatial/GeoElevationGrid",me);const ye=me,Oe=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Core/X3DChildNode");var Se=e.n(Oe);const Ie=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Grouping/X3DBoundedObject");var be=e.n(Ie);const Fe=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Rendering/TraverseType");var Ce=e.n(Fe);const ve=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Grouping/Group");var xe=e.n(ve);const Ne=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Networking/Inline");var Me=e.n(Ne);const Ge=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Geometry/Box3");var Te=e.n(Ge),De=new(S())(0,0,0);function Ee(e){Se().call(this,e),be().call(this,e),ae.call(this,e),this.addType(u().GeoLOD),this._range.setUnit("length"),this.unload=!1,this.rootGroup=new(xe())(this.getBrowser().getPrivateScene()),this.rootInline=new(Me())(e),this.child1Inline=new(Me())(e),this.child2Inline=new(Me())(e),this.child3Inline=new(Me())(e),this.child4Inline=new(Me())(e),this.childrenLoaded=!1,this.childBBox=new(Te()),this.keepCurrentLevel=!1,this.modelViewMatrix=new(H())}Ee.prototype=Object.assign(Object.create(Se().prototype),be().prototype,ae.prototype,{constructor:Ee,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().initializeOnly,"rootUrl",new(o().MFString)),new(r())(u().initializeOnly,"child1Url",new(o().MFString)),new(r())(u().initializeOnly,"child2Url",new(o().MFString)),new(r())(u().initializeOnly,"child3Url",new(o().MFString)),new(r())(u().initializeOnly,"child4Url",new(o().MFString)),new(r())(u().initializeOnly,"center",new(o().SFVec3d)),new(r())(u().initializeOnly,"range",new(o().SFFloat)(10)),new(r())(u().outputOnly,"level_changed",new(o().SFInt32)(-1)),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().initializeOnly,"rootNode",new(o().MFNode)),new(r())(u().outputOnly,"children",new(o().MFNode))]),getTypeName:function(){return"GeoLOD"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){Se().prototype.initialize.call(this),be().prototype.initialize.call(this),ae.prototype.initialize.call(this),this._rootNode.addFieldInterest(this.rootGroup._children),this.rootGroup._children=this._rootNode,this.rootGroup.setPrivate(!0),this.rootGroup.setup(),this.rootInline._loadState.addInterest("set_rootLoadState__",this),this.child1Inline._loadState.addInterest("set_childLoadState__",this),this.child2Inline._loadState.addInterest("set_childLoadState__",this),this.child3Inline._loadState.addInterest("set_childLoadState__",this),this.child4Inline._loadState.addInterest("set_childLoadState__",this),this._rootUrl.addFieldInterest(this.rootInline._url),this._child1Url.addFieldInterest(this.child1Inline._url),this._child2Url.addFieldInterest(this.child2Inline._url),this._child3Url.addFieldInterest(this.child3Inline._url),this._child4Url.addFieldInterest(this.child4Inline._url),this.rootInline._load=!0,this.child1Inline._load=!1,this.child2Inline._load=!1,this.child3Inline._load=!1,this.child4Inline._load=!1,this.rootInline._url=this._rootUrl,this.child1Inline._url=this._child1Url,this.child2Inline._url=this._child2Url,this.child3Inline._url=this._child3Url,this.child4Inline._url=this._child4Url,this.rootInline.setup(),this.child1Inline.setup(),this.child2Inline.setup(),this.child3Inline.setup(),this.child4Inline.setup()},getBBox:function(e,t){if(this._bboxSize.getValue().equals(this.getDefaultBBoxSize())){switch(this.childrenLoaded?this._level_changed.getValue():0){case 0:return this._rootNode.length?this.rootGroup.getBBox(e,t):this.rootInline.getBBox(e,t);case 1:{const i=this.childBBox;return e.set(),e.add(this.child1Inline.getBBox(i,t)),e.add(this.child2Inline.getBBox(i,t)),e.add(this.child3Inline.getBBox(i,t)),e.add(this.child4Inline.getBBox(i,t)),e}}return e.set()}return e.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_rootLoadState__:function(){0===this._level_changed.getValue()&&(this._rootNode.length||this.rootInline.checkLoadState()===u().COMPLETE_STATE&&(this._children=this.rootInline.getInternalScene().getRootNodes(),this.childrenLoaded=!1))},set_childLoadState__:function(){if(1===this._level_changed.getValue()){var e=0;if(this.child1Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child1Inline.checkLoadState()!==u().FAILED_STATE||++e,this.child2Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child2Inline.checkLoadState()!==u().FAILED_STATE||++e,this.child3Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child3Inline.checkLoadState()!==u().FAILED_STATE||++e,this.child4Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child4Inline.checkLoadState()!==u().FAILED_STATE||++e,4===e){this.childrenLoaded=!0;var t=this._children;t.length=0;for(var i=0,n=(o=this.child1Inline.getInternalScene().getRootNodes()).length;i<n;++i)t.push(o[i]);for(i=0,n=(o=this.child2Inline.getInternalScene().getRootNodes()).length;i<n;++i)t.push(o[i]);for(i=0,n=(o=this.child3Inline.getInternalScene().getRootNodes()).length;i<n;++i)t.push(o[i]);var o;for(i=0,n=(o=this.child4Inline.getInternalScene().getRootNodes()).length;i<n;++i)t.push(o[i])}}},set_childCameraObject__:function(){this.setCameraObject(this.child1Inline.isCameraObject()||this.child2Inline.isCameraObject()||this.child3Inline.isCameraObject()||this.child4Inline.isCameraObject())},set_childPickableObject__:function(){this.setPickableObject(this.child1Inline.isPickableObject()||this.child2Inline.isPickableObject()||this.child3Inline.isPickableObject()||this.child4Inline.isPickableObject())},getLevel:function(e){return this.getDistance(e)<this._range.getValue()?1:0},getDistance:function(e){return e.translate(this.getCoord(this._center.getValue(),De)),e.origin.magnitude()},traverse:function(e,t){switch(e){case Ce().PICKING:var i=this.getBrowser().getPickingHierarchy();return i.push(this),this.traverseChildren(e,t),void i.pop();case Ce().DISPLAY:var n=this.getLevel(this.modelViewMatrix.assign(t.getModelViewMatrix().get()));if(n!==this._level_changed.getValue())switch(this._level_changed=n,n){case 0:this.child1Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child2Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child3Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child4Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child1Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this.child2Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this.child3Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this.child4Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this._rootNode.length?(this.rootGroup._isCameraObject.addFieldInterest(this._isCameraObject),this.rootGroup._isPickableObject.addFieldInterest(this._isPickableObject),this.setCameraObject(this.rootGroup.isCameraObject()),this.setPickableObject(this.rootGroup.isPickableObject()),this._children=this._rootNode,this.childrenLoaded=!1):this.rootInline.checkLoadState()==u().COMPLETE_STATE&&(this.rootInline._isCameraObject.addFieldInterest(this._isCameraObject),this.rootInline._isPickableObject.addFieldInterest(this._isPickableObject),this.setCameraObject(this.rootInline.isCameraObject()),this.setPickableObject(this.rootInline.isPickableObject()),this._children=this.rootInline.getInternalScene().getRootNodes(),this.childrenLoaded=!1),this.unload&&(this.child1Inline._load=!1,this.child2Inline._load=!1,this.child3Inline._load=!1,this.child4Inline._load=!1);break;case 1:this._rootNode.length?(this.rootGroup._isCameraObject.removeFieldInterest(this._isCameraObject),this.rootGroup._isPickableObject.removeFieldInterest(this._isPickableObject)):(this.rootInline._isCameraObject.removeFieldInterest(this._isCameraObject),this.rootInline._isPickableObject.removeFieldInterest(this._isPickableObject)),this.child1Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child2Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child3Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child4Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child1Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.child2Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.child3Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.child4Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.set_childCameraObject__(),this.set_childPickableObject__(),this.child1Inline._load.getValue()?this.set_childLoadState__():(this.child1Inline._load=!0,this.child2Inline._load=!0,this.child3Inline._load=!0,this.child4Inline._load=!0)}return void this.traverseChildren(e,t);default:return void this.traverseChildren(e,t)}},traverseChildren:function(e,t){switch(this.childrenLoaded?this._level_changed.getValue():0){case 0:this._rootNode.length?this.rootGroup.traverse(e,t):this.rootInline.traverse(e,t);break;case 1:this.child1Inline.traverse(e,t),this.child2Inline.traverse(e,t),this.child3Inline.traverse(e,t),this.child4Inline.traverse(e,t)}},dispose:function(){ae.prototype.dispose.call(this),be().prototype.dispose.call(this),Se().prototype.dispose.call(this)}});const Ve=Ee;g().set("x_ite/Components/Geospatial/GeoLOD",Ve);const ze=Ve,je=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Grouping/X3DTransformMatrix3DNode");var Xe=e.n(je),Pe=new(H());function Be(e){Xe().call(this,e),ae.call(this,e),this.addType(u().GeoLocation)}Be.prototype=Object.assign(Object.create(Xe().prototype),ae.prototype,{constructor:Be,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"geoCoords",new(o().SFVec3d)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().inputOnly,"addChildren",new(o().MFNode)),new(r())(u().inputOnly,"removeChildren",new(o().MFNode)),new(r())(u().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"GeoLocation"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){Xe().prototype.initialize.call(this),ae.prototype.initialize.call(this),this.addInterest("eventsProcessed",this),this.eventsProcessed()},eventsProcessed:function(){this.setMatrix(this.getLocationMatrix(this._geoCoords.getValue(),Pe))},dispose:function(){ae.prototype.dispose.call(this),Xe().prototype.dispose.call(this)}});const ke=Be;g().set("x_ite/Components/Geospatial/GeoLocation",ke);const Le=ke,Ae=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Core/X3DInfoNode");var Re=e.n(Ae);const Ue=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Networking/X3DUrlObject");var qe=e.n(Ue);function We(e){Re().call(this,e),qe().call(this,e),this.addType(u().GeoMetadata)}We.prototype=Object.assign(Object.create(Re().prototype),qe().prototype,{constructor:We,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"load",new(o().SFBool)(!0)),new(r())(u().inputOutput,"url",new(o().MFString)),new(r())(u().inputOutput,"autoRefresh",new(o().SFTime)),new(r())(u().inputOutput,"autoRefreshTimeLimit",new(o().SFTime)(3600)),new(r())(u().inputOutput,"summary",new(o().MFString)),new(r())(u().inputOutput,"data",new(o().MFNode))]),getTypeName:function(){return"GeoMetadata"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){Re().prototype.initialize.call(this),qe().prototype.initialize.call(this)},requestImmediateLoad:function(e=!0){},requestUnload:function(){},set_load__:function(){},set_url__:function(){},dispose:function(){qe().prototype.dispose.call(this),Re().prototype.dispose.call(this)}});const He=We;g().set("x_ite/Components/Geospatial/GeoMetadata",He);const Ye=He,Ze=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Core/X3DNode");var Ke=e.n(Ze);function Je(e){Ke().call(this,e),this.addType(u().GeoOrigin),this.radians=!1}Je.prototype=Object.assign(Object.create(Ke().prototype),{constructor:Je,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"geoCoords",new(o().SFVec3d)),new(r())(u().initializeOnly,"rotateYUp",new(o().SFBool))]),getTypeName:function(){return"GeoOrigin"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"geoOrigin"},initialize:function(){Ke().prototype.initialize.call(this),this._geoSystem.addInterest("set_geoSystem__",this),this.set_geoSystem__()},set_geoSystem__:function(){this.referenceFrame=R.getReferenceFrame(this._geoSystem,this.radians)},getOrigin:function(e){return this.referenceFrame.convert(this._geoCoords.getValue(),e)}});const Qe=Je;g().set("x_ite/Components/Geospatial/GeoOrigin",Qe);const $e=Qe,et=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Interpolation/X3DInterpolatorNode");var tt=e.n(et);function it(e){tt().call(this,e),ae.call(this,e),this.addType(u().GeoPositionInterpolator),this._value_changed.setUnit("length"),this.geocentric=new z}it.prototype=Object.assign(Object.create(tt().prototype),ae.prototype,{constructor:it,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOnly,"set_fraction",new(o().SFFloat)),new(r())(u().inputOutput,"key",new(o().MFFloat)),new(r())(u().inputOutput,"keyValue",new(o().MFVec3d)),new(r())(u().outputOnly,"value_changed",new(o().SFVec3d)),new(r())(u().outputOnly,"geovalue_changed",new(o().SFVec3d))]),getTypeName:function(){return"GeoPositionInterpolator"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},setup:function(){ae.prototype.initialize.call(this),tt().prototype.setup.call(this)},initialize:function(){tt().prototype.initialize.call(this),this._keyValue.addInterest("set_keyValue__",this)},set_keyValue__:function(){const e=this._key,t=this._keyValue;t.length<e.length&&t.resize(e.length,t.length?t[t.length-1]:new(o().SFVec3f))},interpolate:function(){const e=new(S())(0,0,0),t=new(S())(0,0,0),i=new(S())(0,0,0);return function(n,o,s){this.getCoord(this._keyValue[n].getValue(),e),this.getCoord(this._keyValue[o].getValue(),t);const r=this.geocentric.slerp(e,t,s);this._geovalue_changed=this.getGeoCoord(r,i),this._value_changed=r}}(),dispose:function(){ae.prototype.dispose.call(this),tt().prototype.dispose.call(this)}});const nt=it;g().set("x_ite/Components/Geospatial/GeoPositionInterpolator",nt);const ot=nt,st=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");var rt=e.n(st);const at=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/EnvironmentalSensor/ProximitySensor");var lt=e.n(at),ht=new(S())(0,0,0);function ct(e){rt().call(this,e),ae.call(this,e),this.addType(u().GeoProximitySensor),this._position_changed.setUnit("length"),this._centerOfRotation_changed.setUnit("length"),this.proximitySensor=new(lt())(e),this.setCameraObject(this.proximitySensor.isCameraObject()),this.setPickableObject(this.proximitySensor.isPickableObject())}ct.prototype=Object.assign(Object.create(rt().prototype),ae.prototype,{constructor:ct,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"size",new(o().SFVec3f)),new(r())(u().inputOutput,"center",new(o().SFVec3f)),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"enterTime",new(o().SFTime)),new(r())(u().outputOnly,"exitTime",new(o().SFTime)),new(r())(u().outputOnly,"geoCoord_changed",new(o().SFVec3d)),new(r())(u().outputOnly,"position_changed",new(o().SFVec3f)),new(r())(u().outputOnly,"orientation_changed",new(o().SFRotation)),new(r())(u().outputOnly,"centerOfRotation_changed",new(o().SFVec3f))]),getTypeName:function(){return"GeoProximitySensor"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){rt().prototype.initialize.call(this),ae.prototype.initialize.call(this),this._enabled.addFieldInterest(this.proximitySensor._enabled),this._size.addFieldInterest(this.proximitySensor._size),this._center.addFieldInterest(this.proximitySensor._center),this.proximitySensor._isCameraObject.addFieldInterest(this._isCameraObject),this.proximitySensor._isPickableObject.addFieldInterest(this._isPickableObject),this.proximitySensor._isActive.addFieldInterest(this._isActive),this.proximitySensor._enterTime.addFieldInterest(this._enterTime),this.proximitySensor._exitTime.addFieldInterest(this._exitTime),this.proximitySensor._position_changed.addFieldInterest(this._position_changed),this.proximitySensor._orientation_changed.addFieldInterest(this._orientation_changed),this.proximitySensor._centerOfRotation_changed.addFieldInterest(this._centerOfRotation_changed),this.proximitySensor._position_changed.addInterest("set_position__",this),this.proximitySensor._enabled=this._enabled,this.proximitySensor._size=this._size,this.proximitySensor._center=this._center,this.proximitySensor.setup()},set_position__:function(e){this._geoCoord_changed=this.getGeoCoord(this.proximitySensor._position_changed.getValue(),ht)},traverse:function(e,t){this.proximitySensor.traverse(e,t)},dispose:function(){ae.prototype.dispose.call(this),rt().prototype.dispose.call(this)}});const dt=ct;g().set("x_ite/Components/Geospatial/GeoProximitySensor",dt);const ut=dt,pt=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");var gt=e.n(pt);function _t(e){gt().call(this,e),ae.call(this,e),this.addType(u().GeoTouchSensor),this._hitPoint_changed.setUnit("length")}_t.prototype=Object.assign(Object.create(gt().prototype),ae.prototype,{constructor:_t,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"description",new(o().SFString)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().outputOnly,"hitTexCoord_changed",new(o().SFVec2f)),new(r())(u().outputOnly,"hitNormal_changed",new(o().SFVec3f)),new(r())(u().outputOnly,"hitPoint_changed",new(o().SFVec3f)),new(r())(u().outputOnly,"hitGeoCoord_changed",new(o().SFVec3d)),new(r())(u().outputOnly,"isOver",new(o().SFBool)),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"touchTime",new(o().SFTime))]),getTypeName:function(){return"GeoTouchSensor"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){gt().prototype.initialize.call(this),ae.prototype.initialize.call(this)},set_over__:function(){const e=new(S())(0,0,0);return function(t,i,n,o,s){gt().prototype.set_over__.call(this,t,i,n,o,s),this._isOver.getValue()&&(this._hitGeoCoord_changed=this.getGeoCoord(this._hitPoint_changed.getValue(),e))}}(),dispose:function(){ae.prototype.dispose.call(this),gt().prototype.dispose.call(this)}});const wt=_t;g().set("x_ite/Components/Geospatial/GeoTouchSensor",wt);const ft=wt;var mt=new(H()),yt=new(H());function Ot(e){Xe().call(this,e),ae.call(this,e),this.addType(u().GeoTransform),this._translation.setUnit("length")}Ot.prototype=Object.assign(Object.create(Xe().prototype),ae.prototype,{constructor:Ot,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"translation",new(o().SFVec3f)),new(r())(u().inputOutput,"rotation",new(o().SFRotation)),new(r())(u().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(r())(u().inputOutput,"scaleOrientation",new(o().SFRotation)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"geoCenter",new(o().SFVec3d)),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().inputOnly,"addChildren",new(o().MFNode)),new(r())(u().inputOnly,"removeChildren",new(o().MFNode)),new(r())(u().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"GeoTransform"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){Xe().prototype.initialize.call(this),ae.prototype.initialize.call(this),this.addInterest("eventsProcessed",this),this.eventsProcessed()},eventsProcessed:function(){this.getLocationMatrix(this._geoCenter.getValue(),yt),mt.set(this._translation.getValue(),this._rotation.getValue(),this._scale.getValue(),this._scaleOrientation.getValue()),this.setMatrix(mt.multRight(yt).multLeft(yt.inverse()))},dispose:function(){ae.prototype.dispose.call(this),Xe().prototype.dispose.call(this)}});const St=Ot;g().set("x_ite/Components/Geospatial/GeoTransform",St);const It=St,bt=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Navigation/X3DViewpointNode");var Ft=e.n(bt);const Ct=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Navigation/Viewpoint");var vt=e.n(Ct);const xt=window[Symbol.for("X_ITE.X3D-8.6.11")].require("x_ite/Components/Navigation/NavigationInfo");var Nt=e.n(xt);const Mt=window[Symbol.for("X_ITE.X3D-8.6.11")].require("standard/Math/Numbers/Rotation4");var Gt=e.n(Mt);function Tt(e){Ft().call(this,e),ae.call(this,e),this.addType(u().GeoViewpoint),this._centerOfRotation.setUnit("length"),this._fieldOfView.setUnit("angle"),e.getSpecificationVersion()<=3.2&&(this.traverse=Dt),this.geoNavigationInfoNode=new(Nt())(e),this.projectionMatrix=new(H()),this.elevation=0}function Dt(e,t){Ft().prototype.traverse.call(this,e,t),this.geoNavigationInfoNode.traverse(e,t)}Tt.prototype=Object.assign(Object.create(Ft().prototype),ae.prototype,{constructor:Tt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOnly,"set_bind",new(o().SFBool)),new(r())(u().inputOutput,"description",new(o().SFString)),new(r())(u().inputOutput,"position",new(o().SFVec3d)(0,0,1e5)),new(r())(u().inputOutput,"orientation",new(o().SFRotation)),new(r())(u().inputOutput,"centerOfRotation",new(o().SFVec3d)),new(r())(u().inputOutput,"fieldOfView",new(o().SFFloat)(.7854)),new(r())(u().inputOutput,"nearDistance",new(o().SFFloat)(-1)),new(r())(u().inputOutput,"farDistance",new(o().SFFloat)(-1)),new(r())(u().inputOutput,"viewAll",new(o().SFBool)),new(r())(u().inputOutput,"jump",new(o().SFBool)(!0)),new(r())(u().inputOutput,"retainUserOffsets",new(o().SFBool)),new(r())(u().inputOutput,"navType",new(o().MFString)("EXAMINE","ANY")),new(r())(u().inputOutput,"headlight",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"speedFactor",new(o().SFFloat)(1)),new(r())(u().outputOnly,"isBound",new(o().SFBool)),new(r())(u().outputOnly,"bindTime",new(o().SFTime)),new(r())(u().inputOutput,"navigationInfo",new(o().SFNode))]),getTypeName:function(){return"GeoViewpoint"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},initialize:function(){Ft().prototype.initialize.call(this),ae.prototype.initialize.call(this);const e=this.getBrowser().getContext();this.logarithmicDepthBuffer=e.HAS_FEATURE_FRAG_DEPTH,this._position.addInterest("set_position__",this),this._positionOffset.addInterest("set_position__",this),this._navType.addFieldInterest(this.geoNavigationInfoNode._type),this._headlight.addFieldInterest(this.geoNavigationInfoNode._headlight),this.geoNavigationInfoNode.setup(),this.set_position__()},getRelativeTransformation:vt().prototype.getRelativeTransformation,setInterpolators:vt().prototype.setInterpolators,getFieldOfView:vt().prototype.getFieldOfView,getScreenScale:vt().prototype.getScreenScale,getViewportSize:vt().prototype.getViewportSize,getLookAtDistance:vt().prototype.getLookAtDistance,getProjectionMatrixWithLimits:vt().prototype.getProjectionMatrixWithLimits,getLogarithmicDepthBuffer:function(){return this.logarithmicDepthBuffer},setPosition:function(){const e=new(S())(0,0,0);return function(t){this._position.setValue(this.getGeoCoord(t,e))}}(),getPosition:function(){const e=new(S())(0,0,0);return function(){return this.getCoord(this._position.getValue(),e)}}(),set_position__:function(){const e=new(S())(0,0,0);return function(){this.getCoord(this._position.getValue(),e),this.elevation=this.getGeoElevation(e.add(this._positionOffset.getValue()))}}(),setOrientation:function(){const e=new(H()),t=new(Gt())(0,0,1,0);return function(i){const n=this.getLocationMatrix(this._position.getValue(),e).submatrix;t.setMatrix(n),this._orientation.setValue(t.inverse().multLeft(i))}}(),getOrientation:function(){const e=new(H()),t=new(Gt())(0,0,1,0);return function(){const i=this.getLocationMatrix(this._position.getValue(),e).submatrix;return t.setMatrix(i),t.multLeft(this._orientation.getValue())}}(),getCenterOfRotation:function(){const e=new(S())(0,0,0);return function(){return this.getCoord(this._centerOfRotation.getValue(),e)}}(),getMaxFarValue:function(){return 1e9},getUpVector:function(){const e=new(S())(0,0,0),t=new(S())(0,0,0);return function(i=!1){return!i||this.getUserPosition().magnitude()<65e5?(this.getCoord(this._position.getValue(),e),this.getGeoUpVector(e.add(this._positionOffset.getValue()),t)):t.assign(S().zAxis)}}(),getSpeedFactor:function(){return(Math.max(this.elevation,0)+10)/10*this._speedFactor.getValue()},dispose:function(){ae.prototype.dispose.call(this),Ft().prototype.dispose.call(this)}});const Et=Tt;g().set("x_ite/Components/Geospatial/GeoViewpoint",Et);const Vt=Et;i().addComponent({name:"Geospatial",types:{GeoCoordinate:ue,GeoElevationGrid:ye,GeoLOD:ze,GeoLocation:Le,GeoMetadata:Ye,GeoOrigin:$e,GeoPositionInterpolator:ot,GeoProximitySensor:ut,GeoTouchSensor:ft,GeoTransform:It,GeoViewpoint:Vt},abstractTypes:{X3DGeospatialObject:ae}});const zt=void 0;g().set("assets/components/Geospatial",zt)})();
1
+ /* X_ITE v8.6.13 */(()=>{"use strict";var t={n:e=>{var i=e&&e.__esModule?()=>e.default:()=>e;return t.d(i,{a:i}),i},d:(e,i)=>{for(var n in i)t.o(i,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const e=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components");var i=t.n(e);const n=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Fields");var o=t.n(n);const s=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DFieldDefinition");var r=t.n(s);const a=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/FieldDefinitionArray");var l=t.n(a);const h=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Rendering/X3DCoordinateNode");var c=t.n(h);const d=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DConstants");var u=t.n(d);const p=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Namespace");var g=t.n(p);function _(t,e){switch(arguments.length){case 0:this.semiMajorAxis=0,this.semiMinorAxis=0;break;case 2:this.semiMajorAxis=t,this.semiMinorAxis=e;break;case 3:const i=arguments[1];this.semiMajorAxis=t,this.semiMinorAxis=t*(1-1/i)}}_.prototype={constructor:_,getSemiMajorAxis:function(){return this.semiMajorAxis},getSemiMinorAxis:function(){return this.semiMinorAxis},toString:function(){return this.semiMajorAxis+" "+this.semiMinorAxis}};const w=_;g().set("standard/Math/Geometry/Spheroid3",w);const f=w,m={AA:new f(6377563.396,299.3249646,!0),AM:new f(6377340.189,299.3249646,!0),AN:new f(6378160,298.25,!0),BN:new f(6377483.865,299.1528128,!0),BR:new f(6377397.155,299.1528128,!0),CC:new f(6378206.4,294.9786982,!0),CD:new f(6378249.145,293.465,!0),EA:new f(6377276.345,300.8017,!0),EB:new f(6377298.556,300.8017,!0),EC:new f(6377301.243,300.8017,!0),ED:new f(6377295.664,300.8017,!0),EE:new f(6377304.063,300.8017,!0),EF:new f(6377309.613,300.8017,!0),FA:new f(6378155,298.3,!0),HE:new f(6378200,298.3,!0),HO:new f(6378270,297,!0),ID:new f(6378160,298.247,!0),IN:new f(6378388,297,!0),KA:new f(6378245,298.3,!0),RF:new f(6378137,298.257222101,!0),SA:new f(6378160,298.25,!0),WD:new f(6378135,298.26,!0),WE:new f(6378137,298.257223563,!0),SUN:new f(696342e3,1/9e-6,!0),MERCURY:new f(2439700,2439700),VENUS:new f(6051800,6051800),MOON:new f(1738140,1735970),MARS:new f(3395428,3377678),JUPITER:new f(71492e3,66854e3),SATURN:new f(60268e3,54364e3),URANUS:new f(2555e3,24973e3),NEPTUNE:new f(24764e3,24341e3),PLUTO:new f(1153e3,1153e3)};g().set("standard/Geospatial/ReferenceEllipsoids",m);const y=m,O=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Vector3");var S=t.n(O);const I=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Algorithm");var b=t.n(I);function F(t,e,i){this.longitudeFirst=!e,this.degrees=!i,this.a=t.getSemiMajorAxis(),this.c=t.getSemiMinorAxis(),this.c2a2=Math.pow(t.getSemiMinorAxis()/this.a,2),this.ecc2=1-this.c2a2}F.prototype={constructor:F,convert:function(t,e){const i=t.z;if(this.longitudeFirst)var n=t.y,o=t.x;else n=t.x,o=t.y;return this.degrees&&(n*=Math.PI/180,o*=Math.PI/180),this.convertRadians(n,o,i,e)},convertRadians:function(t,e,i,n){const o=Math.sin(t),s=Math.pow(o,2),r=Math.cos(t),a=this.a/Math.sqrt(1-this.ecc2*s),l=(a+i)*r;return n.set(l*Math.cos(e),l*Math.sin(e),(a*this.c2a2+i)*o)},apply:function(t,e){if(this.applyRadians(t,e),this.degrees&&(e.x*=180/Math.PI,e.y*=180/Math.PI),this.longitudeFirst){const t=e.x;e.x=e.y,e.y=t}return e},applyRadians:function(t,e){const i=t.x,n=t.y,o=t.z,s=Math.sqrt(i*i+n*n);if(0==s)return e.set(Math.PI,0,o-this.c);let r=0,a=Math.atan2(n,i),l=0,h=this.a,c=h,d=this.ecc2;for(let t=0;t<30;++t){const t=l,e=r;r=Math.atan(o/s/(1-d*c/(c+l)));const i=Math.sin(r);if(c=h/Math.sqrt(1-d*i*i),l=s/Math.cos(r)-c,Math.abs(l-t)<.001&&Math.abs(r-e)<1e-10)break}return e.set(r,a,l)},normal:function(t,e){const i=this.applyRadians(t,e),n=i.x,o=i.y,s=Math.cos(n),r=Math.cos(o)*s,a=Math.sin(o)*s,l=Math.sin(n);return e.set(r,a,l)}};const C=F;g().set("standard/Geospatial/Geodetic",C);const v=C,x=1e7,N=5e5,M=.9996;function G(t,e,i,n){const o=t.getSemiMajorAxis(),s=1-Math.pow(t.getSemiMinorAxis()/o,2),r=s/(1-s),a=(1-Math.sqrt(1-s))/(1+Math.sqrt(1-s));this.southernHemisphere=!i,this.eastingFirst=!n,this.a=o,this.ecc2=s,this.EE=r,this.E8=8*r,this.E9=9*r,this.E252=252*r,this.e1=a,this.A=M*(o*(1-s/4-3*s*s/64-5*s*s*s/256)),this.B=3*a/2-7*a*a*a/32,this.C=21*a*a/16-55*a*a*a*a/32,this.D=151*a*a*a/96,this.E=o*(1-s),this.W=1-s/4-3*s*s/64-5*s*s*s/256,this.X=3*s/8+3*s*s/32+45*s*s*s/1024,this.Y=15*s*s/256+45*s*s*s/1024,this.Z=35*s*s*s/3072,this.longitude0=b().radians(6*e-183),this.geodeticConverter=new v(t,!0,!0)}G.prototype={constructor:G,convert:function(t,e){if(this.eastingFirst)var i=t.y,n=t.x;else i=t.x,n=t.y;let o=this.southernHemisphere;i<0&&(o=!this.southernHemisphere,i=-i),o&&(i-=x),n-=N;const s=i/this.A,r=s+this.B*Math.sin(2*s)+this.C*Math.sin(4*s)+this.D*Math.sin(6*s),a=Math.pow(Math.sin(r),2),l=Math.cos(r),h=Math.tan(r),c=this.a/Math.sqrt(1-this.ecc2*a),d=Math.pow(h,2),u=Math.pow(h,8),p=this.EE*d,g=p*p,_=this.E/Math.pow(1-this.ecc2*a,1.5),w=n/(c*M),f=(5+3*d+10*p-4*g-this.E9)*Math.pow(w,4)/24,m=(61+90*d+298*p+45*u-this.E252-3*g)*Math.pow(w,6)/720,y=(5-2*p+28*d-3*g+this.E8+24*u)*Math.pow(w,5)/120,O=r-c*h/_*(w*w/2-f+m),S=this.longitude0+(w-(1+2*d+p)*Math.pow(w,3)/6+y)/l;return this.geodeticConverter.convertRadians(O,S,t.z,e)},apply:function(t,e){const i=this.geodeticConverter.applyRadians(t,e),n=i.x,o=i.y,s=Math.tan(n),r=Math.cos(n),a=this.EE,l=this.a/Math.sqrt(1-this.ecc2*Math.pow(Math.sin(n),2)),h=s*s,c=h*h*h,d=a*r*r,u=r*(o-this.longitude0),p=this.a*(this.W*n-this.X*Math.sin(2*n)+this.Y*Math.sin(4*n)-this.Z*Math.sin(6*n)),g=M*l*(u+(1-h+d)*Math.pow(u,3)/6+(5-18*c+72*d-58*a)*Math.pow(u,5)/120)+N;let _=M*(p+l*s*(u*u/2+(5-h+9*d+4*d*d)*Math.pow(u,4)/24+(61-58*c+600*d-330*a)*Math.pow(u,6)/720));return n<0?(_+=x,this.southernHemisphere||(_=-_)):this.southernHemisphere&&(_=-_),this.eastingFirst?e.set(g,_,i.z):e.set(_,g,i.z)}};const T=G;g().set("standard/Geospatial/UniversalTransverseMercator",T);const D=T;function E(){}E.prototype={constructor:E,convert:function(t,e){return e.assign(t)},apply:function(t,e){return e.assign(t)},slerp:function(t,e,i){const n=t.magnitude(),o=e.magnitude();return t.normalize(),e.normalize(),b().simpleSlerp(t,e,i).multiply(b().lerp(n,o,i))}};const V=E;g().set("x_ite/Browser/Geospatial/Geocentric",V);const z=V;let j=0;const X=j++,P=j++,B=j++,k={GD:X,GDC:X,UTM:P,GC:B,GCC:B,GS:B},L=/^Z(\d+)$/,R={GD:X,UTM:P,GC:B,getReferenceFrame:function(t,e){switch(this.getCoordinateSystem(t)){case X:return new v(this.getEllipsoid(t),this.getLatitudeFirst(t),e);case P:return new D(this.getEllipsoid(t),this.getZone(t),this.getNorthernHemisphere(t),this.getNorthingFirst(t));case B:return new z}return new v(y.WE,!0,e)},getElevationFrame:function(t,e){return new v(this.getEllipsoid(t),!0,e)},getCoordinateSystem:function(t){for(const e of t){const t=k[e];if(void 0!==t)return t}return X},getEllipsoid:function(t){for(const e of t){const t=y[e];if(void 0!==t)return t}return y.WE},getEllipsoidString:function(t){for(const e of t){if(void 0!==y[e])return e}return"WE"},isStandardOrder:function(t){switch(this.getCoordinateSystem(t)){case X:return this.getLatitudeFirst(t);case P:return this.getNorthingFirst(t);case B:return!0}return this.getLatitudeFirst(t)},getLatitudeFirst:function(t){for(const e of t)if("longitude_first"===e)return!1;return!0},getNorthingFirst:function(t){for(const e of t)if("easting_first"===e)return!1;return!0},getZone:function(t){for(const e of t){const t=e.match(L);if(t)return parseInt(t[1])}return 1},getNorthernHemisphere:function(t){for(const e of t)if("S"===e)return!1;return!0}};g().set("x_ite/Browser/Geospatial/Geospatial",R);const A=R,U=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Base/X3DCast");var q=t.n(U);const W=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Matrix4");var H=t.n(W),Y=new(S())(0,0,0),Z=new(S())(0,0,0),K=new(S())(0,0,0),J=new(S())(0,0,0),Q=new(S())(0,0,0),$=new(S())(0,0,0);function tt(t){this.addType(u().X3DGeospatialObject),this.radians=!1,this.origin=new(S())(0,0,0),this.originMatrix=new(H()),this.invOriginMatrix=new(H())}function et(t,e){return this.invOriginMatrix.multVecMatrix(this.referenceFrame.convert(t,e))}function it(t,e){return this.referenceFrame.apply(this.originMatrix.multVecMatrix(Y.assign(t)),e)}function nt(t,e){return this.invOriginMatrix.multDirMatrix(this.elevationFrame.normal(this.originMatrix.multVecMatrix(Y.assign(t)),e))}function ot(t,e){return st.call(this,t,e).multRight(this.invOriginMatrix)}function st(t,e){return this.referenceFrame.convert(t,K),this.elevationFrame.normal(K,Q),J.set(0,0,1).cross(Q),J.equals(S().Zero)&&J.set(1,0,0),$.assign(J).cross(Q),J.normalize(),$.normalize(),e.set(J.x,J.y,J.z,0,Q.x,Q.y,Q.z,0,$.x,$.y,$.z,0,K.x,K.y,K.z,1)}tt.prototype={constructor:tt,initialize:function(){this._geoSystem.addInterest("set_geoSystem__",this),this._geoOrigin.addInterest("set_geoOrigin__",this),this.set_geoSystem__(),this.set_geoOrigin__()},set_geoSystem__:function(){this.coordinateSystem=A.getCoordinateSystem(this._geoSystem),this.referenceFrame=A.getReferenceFrame(this._geoSystem,this.radians),this.elevationFrame=A.getElevationFrame(this._geoSystem,this.radians),this.standardOrder=A.isStandardOrder(this._geoSystem)},set_geoOrigin__:function(){this.geoOriginNode&&(this.geoOriginNode.removeInterest("set_origin__",this),this.geoOriginNode.removeInterest("set_rotateYUp__",this),this.geoOriginNode.removeInterest("addNodeEvent",this)),this.geoOriginNode=q()(u().GeoOrigin,this._geoOrigin),this.geoOriginNode&&(this.geoOriginNode.addInterest("set_origin__",this),this.geoOriginNode.addInterest("set_rotateYUp__",this),this.geoOriginNode.addInterest("addNodeEvent",this)),this.set_origin__(),this.set_rotateYUp__()},set_origin__:function(){this.geoOriginNode?this.geoOriginNode.getOrigin(this.origin):this.origin.set(0,0,0),this.set_originMatrix__()},set_originMatrix__:function(){if(this.geoOriginNode){var t=this.origin;this.elevationFrame.normal(t,Q),J.set(0,0,1).cross(Q),J.equals(S().Zero)&&J.set(1,0,0),$.assign(J).cross(Q),J.normalize(),$.normalize(),this.originMatrix.set(J.x,J.y,J.z,0,Q.x,Q.y,Q.z,0,$.x,$.y,$.z,0,t.x,t.y,t.z,1),this.invOriginMatrix.assign(this.originMatrix).inverse()}},set_rotateYUp__:function(){this.geoOriginNode&&this.geoOriginNode._rotateYUp.getValue()?(this.getCoord=et,this.getGeoCoord=it,this.getGeoUpVector=nt,this.getLocationMatrix=ot):(delete this.getCoord,delete this.getGeoCoord,delete this.getGeoUpVector,delete this.getLocationMatrix)},getReferenceFrame:function(){return this.referenceFrame},getStandardOrder:function(){return this.standardOrder},getCoord:function(t,e){return this.referenceFrame.convert(t,e).subtract(this.origin)},getGeoCoord:function(t,e){return this.referenceFrame.apply(Y.assign(t).add(this.origin),e)},getGeoElevation:function(t){return this.getGeoCoord(t,Z).z},getGeoUpVector:function(t,e){return this.elevationFrame.normal(Y.assign(t).add(this.origin),e)},getLocationMatrix:function(t,e){var i=this.origin,n=st.call(this,t,e);return n[12]-=i.x,n[13]-=i.y,n[14]-=i.z,n},dispose:function(){}};const rt=tt;g().set("x_ite/Components/Geospatial/X3DGeospatialObject",rt);const at=rt,lt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Geometry/Triangle3");var ht=t.n(lt);function ct(t){c().call(this,t),at.call(this,t),this.addType(u().GeoCoordinate)}ct.prototype=Object.assign(Object.create(c().prototype),at.prototype,{constructor:ct,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"point",new(o().MFVec3d))]),getTypeName:function(){return"GeoCoordinate"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"coord"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){c().prototype.initialize.call(this),at.prototype.initialize.call(this)},set1Point:function(){const t=new(S())(0,0,0);return function(e,i){this._point[e]=this.getGeoCoord(i,t)}}(),get1Point:function(){const t=new(S())(0,0,0);return function(e,i){if(e<this.length){const n=this.point;return e*=3,this.getCoord(t.set(n[e],n[e+1],n[e+2]),i)}return i.set(0,0,0)}}(),addPoint:function(){const t=new(S())(0,0,0),e=new(S())(0,0,0);return function(i,n){if(i<this.length){const o=this.point;i*=3,this.getCoord(t.set(o[i],o[i+1],o[i+2]),e),n.push(e[0],e[1],e[2],1)}else n.push(0,0,0,1)}}(),addPoints:function(){const t=new(S())(0,0,0),e=new(S())(0,0,0);return function(i,n){const o=this.point;for(let n=0,s=3*this.length;n<s;n+=3)this.getCoord(t.set(o[n],o[n+1],o[n+2]),e),i.push(e[0],e[1],e[2],1);for(let t=3*this.length,e=3*n;t<e;t+=3)i.push(0,0,0,1)}}(),getNormal:function(){const t=new(S())(0,0,0),e=new(S())(0,0,0),i=new(S())(0,0,0);return function(n,o,s){const r=this.length;return n<r&&o<r&&s<r?ht().normal(this.get1Point(n,t),this.get1Point(o,e),this.get1Point(s,i),new(S())(0,0,0)):new(S())(0,0,0)}}(),getQuadNormal:function(){const t=new(S())(0,0,0),e=new(S())(0,0,0),i=new(S())(0,0,0),n=new(S())(0,0,0);return function(o,s,r,a){const l=this.length;return o<l&&s<l&&r<l&&a<l?ht().quadNormal(this.get1Point(o,t),this.get1Point(s,e),this.get1Point(r,i),this.get1Point(a,n),new(S())(0,0,0)):new(S())(0,0,0)}}(),dispose:function(){at.prototype.dispose.call(this),c().prototype.dispose.call(this)}});const dt=ct;g().set("x_ite/Components/Geospatial/GeoCoordinate",dt);const ut=dt,pt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Rendering/X3DGeometryNode");var gt=t.n(pt);const _t=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Vector2");var wt=t.n(_t);function ft(t){gt().call(this,t),at.call(this,t),this.addType(u().GeoElevationGrid),this._creaseAngle.setUnit("angle"),this._height.setUnit("length"),this.colorNode=null,this.texCoordNode=null,this.normalNode=null}ft.prototype=Object.assign(Object.create(gt().prototype),at.prototype,{constructor:ft,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().initializeOnly,"geoGridOrigin",new(o().SFVec3d)),new(r())(u().initializeOnly,"xDimension",new(o().SFInt32)),new(r())(u().initializeOnly,"zDimension",new(o().SFInt32)),new(r())(u().initializeOnly,"xSpacing",new(o().SFDouble)(1)),new(r())(u().initializeOnly,"zSpacing",new(o().SFDouble)(1)),new(r())(u().inputOutput,"yScale",new(o().SFFloat)(1)),new(r())(u().initializeOnly,"solid",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"ccw",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"creaseAngle",new(o().SFDouble)),new(r())(u().initializeOnly,"colorPerVertex",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"normalPerVertex",new(o().SFBool)(!0)),new(r())(u().inputOutput,"color",new(o().SFNode)),new(r())(u().inputOutput,"texCoord",new(o().SFNode)),new(r())(u().inputOutput,"normal",new(o().SFNode)),new(r())(u().inputOutput,"height",new(o().MFDouble)(0,0))]),getTypeName:function(){return"GeoElevationGrid"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"geometry"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){gt().prototype.initialize.call(this),at.prototype.initialize.call(this),this._color.addInterest("set_color__",this),this._texCoord.addInterest("set_texCoord__",this),this._normal.addInterest("set_normal__",this),this.set_color__(),this.set_texCoord__(),this.set_normal__()},set_color__:function(){this.colorNode?.removeInterest("requestRebuild",this),this.colorNode=q()(u().X3DColorNode,this._color),this.colorNode?.addInterest("requestRebuild",this),this.setTransparent(this.colorNode?.isTransparent()??!1)},set_texCoord__:function(){this.texCoordNode?.removeInterest("requestRebuild",this),this.texCoordNode=q()(u().X3DTextureCoordinateNode,this._texCoord),this.texCoordNode?.addInterest("requestRebuild",this),this.setTextureCoordinate(this.texCoordNode)},set_normal__:function(){this.normalNode?.removeInterest("requestRebuild",this),this.normalNode=q()(u().X3DNormalNode,this._normal),this.normalNode?.addInterest("requestRebuild",this)},getColor:function(){return this.colorNode},getTexCoord:function(){return this.texCoordNode},getNormal:function(){return this.normalNode},getHeight:function(t){return t<this._height.length?this._height[t]*this._yScale.getValue():0},createTexCoords:function(){for(var t=[],e=this._xDimension.getValue(),i=this._zDimension.getValue(),n=e-1,o=i-1,s=0;s<i;++s)for(var r=0;r<e;++r)t.push(new(wt())(r/n,s/o));return t},createNormals:function(t,e,i){for(var n=!this._ccw.getValue(),o=[],s=[],r=0;r<t.length;++r)o[r]=[];for(var a=0;a<e.length;a+=3){var l=e[a],h=e[a+1],c=e[a+2];o[l].push(s.length),o[h].push(s.length+1),o[c].push(s.length+2);var d=ht().normal(t[l],t[h],t[c],new(S())(0,0,0));n&&d.negate(),s.push(d),s.push(d),s.push(d)}return this.refineNormals(o,s,this._creaseAngle.getValue())},createCoordIndex:function(){for(var t=[],e=this._xDimension.getValue(),i=e-1,n=this._zDimension.getValue()-1,o=0;o<n;++o)for(var s=0;s<i;++s){var r=o*e+s,a=(o+1)*e+s,l=(o+1)*e+(s+1),h=o*e+(s+1);t.push(r),t.push(l),t.push(a),t.push(r),t.push(h),t.push(l)}return t},createPoints:function(){var t=[],e=this._xDimension.getValue(),i=this._zDimension.getValue(),n=this._xSpacing.getValue(),o=this._zSpacing.getValue();if(this.getStandardOrder())for(var s=0;s<i;++s)for(var r=0;r<e;++r){(a=new(S())(o*s,n*r,this.getHeight(r+s*e))).add(this._geoGridOrigin.getValue()),t.push(this.getCoord(a,a))}else for(s=0;s<i;++s)for(r=0;r<e;++r){var a;(a=new(S())(n*r,o*s,this.getHeight(r+s*e))).add(this._geoGridOrigin.getValue()),t.push(this.getCoord(a,a))}return t},build:function(){if(!(this._xDimension.getValue()<2||this._zDimension.getValue()<2)){var t=this._colorPerVertex.getValue(),e=this._normalPerVertex.getValue(),i=this.createCoordIndex(),n=this.getColor(),o=this.getTexCoord(),s=this.getNormal(),r=this.createPoints(),a=this.getColors(),l=this.getMultiTexCoords(),h=this.getNormals(),c=this.getVertices(),d=0;if(o)o.init(l);else{var u=this.createTexCoords(),p=this.getTexCoords();l.push(p)}for(var g=0;g<i.length;++d)for(var _=0;_<6;++_,++g){var w=i[g],f=r[w];if(n&&(t?n.addColor(w,a):n.addColor(d,a)),o)o.addPoint(w,l);else{var m=u[w];p.push(m.x,m.y,0,1)}s&&(e?s.addVector(w,h):s.addVector(d,h)),c.push(f.x,f.y,f.z,1)}if(!s)for(var y=this.createNormals(r,i),O=0;O<y.length;++O){var S=y[O];h.push(S.x,S.y,S.z)}this.setSolid(this._solid.getValue()),this.setCCW(this._ccw.getValue())}},dispose:function(){at.prototype.dispose.call(this),gt().prototype.dispose.call(this)}});const mt=ft;g().set("x_ite/Components/Geospatial/GeoElevationGrid",mt);const yt=mt,Ot=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Core/X3DChildNode");var St=t.n(Ot);const It=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Grouping/X3DBoundedObject");var bt=t.n(It);const Ft=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Rendering/TraverseType");var Ct=t.n(Ft);const vt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Grouping/Group");var xt=t.n(vt);const Nt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Networking/Inline");var Mt=t.n(Nt);const Gt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Geometry/Box3");var Tt=t.n(Gt),Dt=new(S())(0,0,0);function Et(t){St().call(this,t),bt().call(this,t),at.call(this,t),this.addType(u().GeoLOD),this._range.setUnit("length"),this.unload=!1,this.rootGroup=new(xt())(this.getBrowser().getPrivateScene()),this.rootInline=new(Mt())(t),this.child1Inline=new(Mt())(t),this.child2Inline=new(Mt())(t),this.child3Inline=new(Mt())(t),this.child4Inline=new(Mt())(t),this.childrenLoaded=!1,this.childBBox=new(Tt()),this.keepCurrentLevel=!1,this.modelViewMatrix=new(H())}Et.prototype=Object.assign(Object.create(St().prototype),bt().prototype,at.prototype,{constructor:Et,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().initializeOnly,"rootUrl",new(o().MFString)),new(r())(u().initializeOnly,"child1Url",new(o().MFString)),new(r())(u().initializeOnly,"child2Url",new(o().MFString)),new(r())(u().initializeOnly,"child3Url",new(o().MFString)),new(r())(u().initializeOnly,"child4Url",new(o().MFString)),new(r())(u().initializeOnly,"center",new(o().SFVec3d)),new(r())(u().initializeOnly,"range",new(o().SFFloat)(10)),new(r())(u().outputOnly,"level_changed",new(o().SFInt32)(-1)),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().initializeOnly,"rootNode",new(o().MFNode)),new(r())(u().outputOnly,"children",new(o().MFNode))]),getTypeName:function(){return"GeoLOD"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){St().prototype.initialize.call(this),bt().prototype.initialize.call(this),at.prototype.initialize.call(this),this._rootNode.addFieldInterest(this.rootGroup._children),this.rootGroup._children=this._rootNode,this.rootGroup.setPrivate(!0),this.rootGroup.setup(),this.rootInline._loadState.addInterest("set_rootLoadState__",this),this.child1Inline._loadState.addInterest("set_childLoadState__",this),this.child2Inline._loadState.addInterest("set_childLoadState__",this),this.child3Inline._loadState.addInterest("set_childLoadState__",this),this.child4Inline._loadState.addInterest("set_childLoadState__",this),this._rootUrl.addFieldInterest(this.rootInline._url),this._child1Url.addFieldInterest(this.child1Inline._url),this._child2Url.addFieldInterest(this.child2Inline._url),this._child3Url.addFieldInterest(this.child3Inline._url),this._child4Url.addFieldInterest(this.child4Inline._url),this.rootInline._load=!0,this.child1Inline._load=!1,this.child2Inline._load=!1,this.child3Inline._load=!1,this.child4Inline._load=!1,this.rootInline._url=this._rootUrl,this.child1Inline._url=this._child1Url,this.child2Inline._url=this._child2Url,this.child3Inline._url=this._child3Url,this.child4Inline._url=this._child4Url,this.rootInline.setup(),this.child1Inline.setup(),this.child2Inline.setup(),this.child3Inline.setup(),this.child4Inline.setup()},getBBox:function(t,e){if(this._bboxSize.getValue().equals(this.getDefaultBBoxSize())){switch(this.childrenLoaded?this._level_changed.getValue():0){case 0:return this._rootNode.length?this.rootGroup.getBBox(t,e):this.rootInline.getBBox(t,e);case 1:{const i=this.childBBox;return t.set(),t.add(this.child1Inline.getBBox(i,e)),t.add(this.child2Inline.getBBox(i,e)),t.add(this.child3Inline.getBBox(i,e)),t.add(this.child4Inline.getBBox(i,e)),t}}return t.set()}return t.set(this._bboxSize.getValue(),this._bboxCenter.getValue())},set_rootLoadState__:function(){0===this._level_changed.getValue()&&(this._rootNode.length||this.rootInline.checkLoadState()===u().COMPLETE_STATE&&(this._children=this.rootInline.getInternalScene().getRootNodes(),this.childrenLoaded=!1))},set_childLoadState__:function(){if(1===this._level_changed.getValue()){var t=0;if(this.child1Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child1Inline.checkLoadState()!==u().FAILED_STATE||++t,this.child2Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child2Inline.checkLoadState()!==u().FAILED_STATE||++t,this.child3Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child3Inline.checkLoadState()!==u().FAILED_STATE||++t,this.child4Inline.checkLoadState()!==u().COMPLETE_STATE&&this.child4Inline.checkLoadState()!==u().FAILED_STATE||++t,4===t){this.childrenLoaded=!0;var e=this._children;e.length=0;for(var i=0,n=(o=this.child1Inline.getInternalScene().getRootNodes()).length;i<n;++i)e.push(o[i]);for(i=0,n=(o=this.child2Inline.getInternalScene().getRootNodes()).length;i<n;++i)e.push(o[i]);for(i=0,n=(o=this.child3Inline.getInternalScene().getRootNodes()).length;i<n;++i)e.push(o[i]);var o;for(i=0,n=(o=this.child4Inline.getInternalScene().getRootNodes()).length;i<n;++i)e.push(o[i])}}},set_childCameraObject__:function(){this.setCameraObject(this.child1Inline.isCameraObject()||this.child2Inline.isCameraObject()||this.child3Inline.isCameraObject()||this.child4Inline.isCameraObject())},set_childPickableObject__:function(){this.setPickableObject(this.child1Inline.isPickableObject()||this.child2Inline.isPickableObject()||this.child3Inline.isPickableObject()||this.child4Inline.isPickableObject())},getLevel:function(t){return this.getDistance(t)<this._range.getValue()?1:0},getDistance:function(t){return t.translate(this.getCoord(this._center.getValue(),Dt)),t.origin.magnitude()},traverse:function(t,e){switch(t){case Ct().PICKING:var i=this.getBrowser().getPickingHierarchy();return i.push(this),this.traverseChildren(t,e),void i.pop();case Ct().DISPLAY:var n=this.getLevel(this.modelViewMatrix.assign(e.getModelViewMatrix().get()));if(n!==this._level_changed.getValue())switch(this._level_changed=n,n){case 0:this.child1Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child2Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child3Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child4Inline._isCameraObject.removeInterest("set_childCameraObject__",this),this.child1Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this.child2Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this.child3Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this.child4Inline._isPickableObject.removeInterest("set_childPickableObject__",this),this._rootNode.length?(this.rootGroup._isCameraObject.addFieldInterest(this._isCameraObject),this.rootGroup._isPickableObject.addFieldInterest(this._isPickableObject),this.setCameraObject(this.rootGroup.isCameraObject()),this.setPickableObject(this.rootGroup.isPickableObject()),this._children=this._rootNode,this.childrenLoaded=!1):this.rootInline.checkLoadState()==u().COMPLETE_STATE&&(this.rootInline._isCameraObject.addFieldInterest(this._isCameraObject),this.rootInline._isPickableObject.addFieldInterest(this._isPickableObject),this.setCameraObject(this.rootInline.isCameraObject()),this.setPickableObject(this.rootInline.isPickableObject()),this._children=this.rootInline.getInternalScene().getRootNodes(),this.childrenLoaded=!1),this.unload&&(this.child1Inline._load=!1,this.child2Inline._load=!1,this.child3Inline._load=!1,this.child4Inline._load=!1);break;case 1:this._rootNode.length?(this.rootGroup._isCameraObject.removeFieldInterest(this._isCameraObject),this.rootGroup._isPickableObject.removeFieldInterest(this._isPickableObject)):(this.rootInline._isCameraObject.removeFieldInterest(this._isCameraObject),this.rootInline._isPickableObject.removeFieldInterest(this._isPickableObject)),this.child1Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child2Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child3Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child4Inline._isCameraObject.addInterest("set_childCameraObject__",this),this.child1Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.child2Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.child3Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.child4Inline._isPickableObject.addInterest("set_childPickableObject__",this),this.set_childCameraObject__(),this.set_childPickableObject__(),this.child1Inline._load.getValue()?this.set_childLoadState__():(this.child1Inline._load=!0,this.child2Inline._load=!0,this.child3Inline._load=!0,this.child4Inline._load=!0)}return void this.traverseChildren(t,e);default:return void this.traverseChildren(t,e)}},traverseChildren:function(t,e){switch(this.childrenLoaded?this._level_changed.getValue():0){case 0:this._rootNode.length?this.rootGroup.traverse(t,e):this.rootInline.traverse(t,e);break;case 1:this.child1Inline.traverse(t,e),this.child2Inline.traverse(t,e),this.child3Inline.traverse(t,e),this.child4Inline.traverse(t,e)}},dispose:function(){at.prototype.dispose.call(this),bt().prototype.dispose.call(this),St().prototype.dispose.call(this)}});const Vt=Et;g().set("x_ite/Components/Geospatial/GeoLOD",Vt);const zt=Vt,jt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Grouping/X3DTransformMatrix3DNode");var Xt=t.n(jt),Pt=new(H());function Bt(t){Xt().call(this,t),at.call(this,t),this.addType(u().GeoLocation)}Bt.prototype=Object.assign(Object.create(Xt().prototype),at.prototype,{constructor:Bt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"geoCoords",new(o().SFVec3d)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().inputOnly,"addChildren",new(o().MFNode)),new(r())(u().inputOnly,"removeChildren",new(o().MFNode)),new(r())(u().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"GeoLocation"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){Xt().prototype.initialize.call(this),at.prototype.initialize.call(this),this.addInterest("eventsProcessed",this),this.eventsProcessed()},eventsProcessed:function(){this.setMatrix(this.getLocationMatrix(this._geoCoords.getValue(),Pt))},dispose:function(){at.prototype.dispose.call(this),Xt().prototype.dispose.call(this)}});const kt=Bt;g().set("x_ite/Components/Geospatial/GeoLocation",kt);const Lt=kt,Rt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Core/X3DInfoNode");var At=t.n(Rt);const Ut=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Networking/X3DUrlObject");var qt=t.n(Ut);function Wt(t){At().call(this,t),qt().call(this,t),this.addType(u().GeoMetadata)}Wt.prototype=Object.assign(Object.create(At().prototype),qt().prototype,{constructor:Wt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"load",new(o().SFBool)(!0)),new(r())(u().inputOutput,"url",new(o().MFString)),new(r())(u().inputOutput,"autoRefresh",new(o().SFTime)),new(r())(u().inputOutput,"autoRefreshTimeLimit",new(o().SFTime)(3600)),new(r())(u().inputOutput,"summary",new(o().MFString)),new(r())(u().inputOutput,"data",new(o().MFNode))]),getTypeName:function(){return"GeoMetadata"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){At().prototype.initialize.call(this),qt().prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){},requestUnload:function(){},set_load__:function(){},set_url__:function(){},dispose:function(){qt().prototype.dispose.call(this),At().prototype.dispose.call(this)}});const Ht=Wt;g().set("x_ite/Components/Geospatial/GeoMetadata",Ht);const Yt=Ht,Zt=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Core/X3DNode");var Kt=t.n(Zt);function Jt(t){Kt().call(this,t),this.addType(u().GeoOrigin),this.radians=!1}Jt.prototype=Object.assign(Object.create(Kt().prototype),{constructor:Jt,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"geoCoords",new(o().SFVec3d)),new(r())(u().initializeOnly,"rotateYUp",new(o().SFBool))]),getTypeName:function(){return"GeoOrigin"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"geoOrigin"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){Kt().prototype.initialize.call(this),this._geoSystem.addInterest("set_geoSystem__",this),this.set_geoSystem__()},set_geoSystem__:function(){this.referenceFrame=A.getReferenceFrame(this._geoSystem,this.radians)},getOrigin:function(t){return this.referenceFrame.convert(this._geoCoords.getValue(),t)}});const Qt=Jt;g().set("x_ite/Components/Geospatial/GeoOrigin",Qt);const $t=Qt,te=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Interpolation/X3DInterpolatorNode");var ee=t.n(te);function ie(t){ee().call(this,t),at.call(this,t),this.addType(u().GeoPositionInterpolator),this._value_changed.setUnit("length"),this.geocentric=new z}ie.prototype=Object.assign(Object.create(ee().prototype),at.prototype,{constructor:ie,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOnly,"set_fraction",new(o().SFFloat)),new(r())(u().inputOutput,"key",new(o().MFFloat)),new(r())(u().inputOutput,"keyValue",new(o().MFVec3d)),new(r())(u().outputOnly,"value_changed",new(o().SFVec3d)),new(r())(u().outputOnly,"geovalue_changed",new(o().SFVec3d))]),getTypeName:function(){return"GeoPositionInterpolator"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},setup:function(){at.prototype.initialize.call(this),ee().prototype.setup.call(this)},initialize:function(){ee().prototype.initialize.call(this),this._keyValue.addInterest("set_keyValue__",this)},set_keyValue__:function(){const t=this._key,e=this._keyValue;e.length<t.length&&e.resize(t.length,e.length?e[e.length-1]:new(o().SFVec3f))},interpolate:function(){const t=new(S())(0,0,0),e=new(S())(0,0,0),i=new(S())(0,0,0);return function(n,o,s){this.getCoord(this._keyValue[n].getValue(),t),this.getCoord(this._keyValue[o].getValue(),e);const r=this.geocentric.slerp(t,e,s);this._geovalue_changed=this.getGeoCoord(r,i),this._value_changed=r}}(),dispose:function(){at.prototype.dispose.call(this),ee().prototype.dispose.call(this)}});const ne=ie;g().set("x_ite/Components/Geospatial/GeoPositionInterpolator",ne);const oe=ne,se=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode");var re=t.n(se);const ae=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/EnvironmentalSensor/ProximitySensor");var le=t.n(ae),he=new(S())(0,0,0);function ce(t){re().call(this,t),at.call(this,t),this.addType(u().GeoProximitySensor),this._position_changed.setUnit("length"),this._centerOfRotation_changed.setUnit("length"),this.proximitySensor=new(le())(t),this.setCameraObject(this.proximitySensor.isCameraObject()),this.setPickableObject(this.proximitySensor.isPickableObject())}ce.prototype=Object.assign(Object.create(re().prototype),at.prototype,{constructor:ce,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().inputOutput,"size",new(o().SFVec3f)),new(r())(u().inputOutput,"center",new(o().SFVec3f)),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"enterTime",new(o().SFTime)),new(r())(u().outputOnly,"exitTime",new(o().SFTime)),new(r())(u().outputOnly,"geoCoord_changed",new(o().SFVec3d)),new(r())(u().outputOnly,"position_changed",new(o().SFVec3f)),new(r())(u().outputOnly,"orientation_changed",new(o().SFRotation)),new(r())(u().outputOnly,"centerOfRotation_changed",new(o().SFVec3f))]),getTypeName:function(){return"GeoProximitySensor"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.2","Infinity"]},initialize:function(){re().prototype.initialize.call(this),at.prototype.initialize.call(this),this._enabled.addFieldInterest(this.proximitySensor._enabled),this._size.addFieldInterest(this.proximitySensor._size),this._center.addFieldInterest(this.proximitySensor._center),this.proximitySensor._isCameraObject.addFieldInterest(this._isCameraObject),this.proximitySensor._isPickableObject.addFieldInterest(this._isPickableObject),this.proximitySensor._isActive.addFieldInterest(this._isActive),this.proximitySensor._enterTime.addFieldInterest(this._enterTime),this.proximitySensor._exitTime.addFieldInterest(this._exitTime),this.proximitySensor._position_changed.addFieldInterest(this._position_changed),this.proximitySensor._orientation_changed.addFieldInterest(this._orientation_changed),this.proximitySensor._centerOfRotation_changed.addFieldInterest(this._centerOfRotation_changed),this.proximitySensor._position_changed.addInterest("set_position__",this),this.proximitySensor._enabled=this._enabled,this.proximitySensor._size=this._size,this.proximitySensor._center=this._center,this.proximitySensor.setup()},set_position__:function(t){this._geoCoord_changed=this.getGeoCoord(this.proximitySensor._position_changed.getValue(),he)},traverse:function(t,e){this.proximitySensor.traverse(t,e)},dispose:function(){at.prototype.dispose.call(this),re().prototype.dispose.call(this)}});const de=ce;g().set("x_ite/Components/Geospatial/GeoProximitySensor",de);const ue=de,pe=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/PointingDeviceSensor/X3DTouchSensorNode");var ge=t.n(pe);function _e(t){ge().call(this,t),at.call(this,t),this.addType(u().GeoTouchSensor),this._hitPoint_changed.setUnit("length")}_e.prototype=Object.assign(Object.create(ge().prototype),at.prototype,{constructor:_e,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"description",new(o().SFString)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"enabled",new(o().SFBool)(!0)),new(r())(u().outputOnly,"hitTexCoord_changed",new(o().SFVec2f)),new(r())(u().outputOnly,"hitNormal_changed",new(o().SFVec3f)),new(r())(u().outputOnly,"hitPoint_changed",new(o().SFVec3f)),new(r())(u().outputOnly,"hitGeoCoord_changed",new(o().SFVec3d)),new(r())(u().outputOnly,"isOver",new(o().SFBool)),new(r())(u().outputOnly,"isActive",new(o().SFBool)),new(r())(u().outputOnly,"touchTime",new(o().SFTime))]),getTypeName:function(){return"GeoTouchSensor"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){ge().prototype.initialize.call(this),at.prototype.initialize.call(this)},set_over__:function(){const t=new(S())(0,0,0);return function(e,i,n,o,s){ge().prototype.set_over__.call(this,e,i,n,o,s),this._isOver.getValue()&&(this._hitGeoCoord_changed=this.getGeoCoord(this._hitPoint_changed.getValue(),t))}}(),dispose:function(){at.prototype.dispose.call(this),ge().prototype.dispose.call(this)}});const we=_e;g().set("x_ite/Components/Geospatial/GeoTouchSensor",we);const fe=we;var me=new(H()),ye=new(H());function Oe(t){Xt().call(this,t),at.call(this,t),this.addType(u().GeoTransform),this._translation.setUnit("length")}Oe.prototype=Object.assign(Object.create(Xt().prototype),at.prototype,{constructor:Oe,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().inputOutput,"translation",new(o().SFVec3f)),new(r())(u().inputOutput,"rotation",new(o().SFRotation)),new(r())(u().inputOutput,"scale",new(o().SFVec3f)(1,1,1)),new(r())(u().inputOutput,"scaleOrientation",new(o().SFRotation)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOutput,"geoCenter",new(o().SFVec3d)),new(r())(u().inputOutput,"visible",new(o().SFBool)(!0)),new(r())(u().inputOutput,"bboxDisplay",new(o().SFBool)),new(r())(u().initializeOnly,"bboxSize",new(o().SFVec3f)(-1,-1,-1)),new(r())(u().initializeOnly,"bboxCenter",new(o().SFVec3f)),new(r())(u().inputOnly,"addChildren",new(o().MFNode)),new(r())(u().inputOnly,"removeChildren",new(o().MFNode)),new(r())(u().inputOutput,"children",new(o().MFNode))]),getTypeName:function(){return"GeoTransform"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){Xt().prototype.initialize.call(this),at.prototype.initialize.call(this),this.addInterest("eventsProcessed",this),this.eventsProcessed()},eventsProcessed:function(){this.getLocationMatrix(this._geoCenter.getValue(),ye),me.set(this._translation.getValue(),this._rotation.getValue(),this._scale.getValue(),this._scaleOrientation.getValue()),this.setMatrix(me.multRight(ye).multLeft(ye.inverse()))},dispose:function(){at.prototype.dispose.call(this),Xt().prototype.dispose.call(this)}});const Se=Oe;g().set("x_ite/Components/Geospatial/GeoTransform",Se);const Ie=Se,be=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Navigation/X3DViewpointNode");var Fe=t.n(be);const Ce=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Navigation/Viewpoint");var ve=t.n(Ce);const xe=window[Symbol.for("X_ITE.X3D-8.6.13")].require("x_ite/Components/Navigation/NavigationInfo");var Ne=t.n(xe);const Me=window[Symbol.for("X_ITE.X3D-8.6.13")].require("standard/Math/Numbers/Rotation4");var Ge=t.n(Me);function Te(t){Fe().call(this,t),at.call(this,t),this.addType(u().GeoViewpoint),this._centerOfRotation.setUnit("length"),this._fieldOfView.setUnit("angle"),t.getSpecificationVersion()<=3.2&&(this.traverse=De),this.geoNavigationInfoNode=new(Ne())(t),this.projectionMatrix=new(H()),this.elevation=0}function De(t,e){Fe().prototype.traverse.call(this,t,e),this.geoNavigationInfoNode.traverse(t,e)}Te.prototype=Object.assign(Object.create(Fe().prototype),at.prototype,{constructor:Te,[Symbol.for("X_ITE.X3DBaseNode.fieldDefinitions")]:new(l())([new(r())(u().inputOutput,"metadata",new(o().SFNode)),new(r())(u().initializeOnly,"geoOrigin",new(o().SFNode)),new(r())(u().initializeOnly,"geoSystem",new(o().MFString)("GD","WE")),new(r())(u().inputOnly,"set_bind",new(o().SFBool)),new(r())(u().inputOutput,"description",new(o().SFString)),new(r())(u().inputOutput,"position",new(o().SFVec3d)(0,0,1e5)),new(r())(u().inputOutput,"orientation",new(o().SFRotation)),new(r())(u().inputOutput,"centerOfRotation",new(o().SFVec3d)),new(r())(u().inputOutput,"fieldOfView",new(o().SFFloat)(.7854)),new(r())(u().inputOutput,"nearDistance",new(o().SFFloat)(-1)),new(r())(u().inputOutput,"farDistance",new(o().SFFloat)(-1)),new(r())(u().inputOutput,"viewAll",new(o().SFBool)),new(r())(u().inputOutput,"jump",new(o().SFBool)(!0)),new(r())(u().inputOutput,"retainUserOffsets",new(o().SFBool)),new(r())(u().inputOutput,"navType",new(o().MFString)("EXAMINE","ANY")),new(r())(u().inputOutput,"headlight",new(o().SFBool)(!0)),new(r())(u().initializeOnly,"speedFactor",new(o().SFFloat)(1)),new(r())(u().outputOnly,"isBound",new(o().SFBool)),new(r())(u().outputOnly,"bindTime",new(o().SFTime)),new(r())(u().inputOutput,"navigationInfo",new(o().SFNode))]),getTypeName:function(){return"GeoViewpoint"},getComponentName:function(){return"Geospatial"},getContainerField:function(){return"children"},getSpecificationRange:function(){return["3.0","Infinity"]},initialize:function(){Fe().prototype.initialize.call(this),at.prototype.initialize.call(this);const t=this.getBrowser().getContext();this.logarithmicDepthBuffer=t.HAS_FEATURE_FRAG_DEPTH,this._position.addInterest("set_position__",this),this._positionOffset.addInterest("set_position__",this),this._navType.addFieldInterest(this.geoNavigationInfoNode._type),this._headlight.addFieldInterest(this.geoNavigationInfoNode._headlight),this.geoNavigationInfoNode.setup(),this.set_position__()},getRelativeTransformation:ve().prototype.getRelativeTransformation,setInterpolators:ve().prototype.setInterpolators,getFieldOfView:ve().prototype.getFieldOfView,getScreenScale:ve().prototype.getScreenScale,getViewportSize:ve().prototype.getViewportSize,getLookAtDistance:ve().prototype.getLookAtDistance,getProjectionMatrixWithLimits:ve().prototype.getProjectionMatrixWithLimits,getLogarithmicDepthBuffer:function(){return this.logarithmicDepthBuffer},setPosition:function(){const t=new(S())(0,0,0);return function(e){this._position.setValue(this.getGeoCoord(e,t))}}(),getPosition:function(){const t=new(S())(0,0,0);return function(){return this.getCoord(this._position.getValue(),t)}}(),set_position__:function(){const t=new(S())(0,0,0);return function(){this.getCoord(this._position.getValue(),t),this.elevation=this.getGeoElevation(t.add(this._positionOffset.getValue()))}}(),setOrientation:function(){const t=new(H()),e=new(Ge())(0,0,1,0);return function(i){const n=this.getLocationMatrix(this._position.getValue(),t).submatrix;e.setMatrix(n),this._orientation.setValue(e.inverse().multLeft(i))}}(),getOrientation:function(){const t=new(H()),e=new(Ge())(0,0,1,0);return function(){const i=this.getLocationMatrix(this._position.getValue(),t).submatrix;return e.setMatrix(i),e.multLeft(this._orientation.getValue())}}(),getCenterOfRotation:function(){const t=new(S())(0,0,0);return function(){return this.getCoord(this._centerOfRotation.getValue(),t)}}(),getMaxFarValue:function(){return 1e9},getUpVector:function(){const t=new(S())(0,0,0),e=new(S())(0,0,0);return function(i=!1){return!i||this.getUserPosition().magnitude()<65e5?(this.getCoord(this._position.getValue(),t),this.getGeoUpVector(t.add(this._positionOffset.getValue()),e)):e.assign(S().zAxis)}}(),getSpeedFactor:function(){return(Math.max(this.elevation,0)+10)/10*this._speedFactor.getValue()},dispose:function(){at.prototype.dispose.call(this),Fe().prototype.dispose.call(this)}});const Ee=Te;g().set("x_ite/Components/Geospatial/GeoViewpoint",Ee);const Ve=Ee;i().addComponent({name:"Geospatial",types:{GeoCoordinate:ut,GeoElevationGrid:yt,GeoLOD:zt,GeoLocation:Lt,GeoMetadata:Yt,GeoOrigin:$t,GeoPositionInterpolator:oe,GeoProximitySensor:ue,GeoTouchSensor:fe,GeoTransform:Ie,GeoViewpoint:Ve},abstractTypes:{X3DGeospatialObject:at}});const ze=void 0;g().set("assets/components/Geospatial",ze)})();